gdb.base/{exprs,ptype,ptype1,setvar,whatis}.c C++ify
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
0a229804
PA
12020-09-17 Pedro Alves <pedro@palves.net>
2
3 * gdb.base/exprs.c: Replace 'this' with 'self' throughout.
4 * gdb.base/ptype.c: : Replace 'this' with 'self' throughout.
5 (charfoo, intfoo): Define full prototype.
6 * gdb.base/ptype1.c (charfoo): Define full prototype.
7 * gdb.base/setvar.c: Replace 'this' with 'self' throughout.
8 * gdb.base/whatis.c: Replace 'this' with 'self' throughout.
9
c3e5138d
PA
102020-09-17 Pedro Alves <pedro@palves.net>
11
12 * gdb.base/charset.c [__cplusplus] (wchar_t, char16_t, char32_t):
13 Don't define.
14 (utf_32_string): Compile for both C and C++.
15 * gdb.base/charset.exp: Use "print /d".
16
151fdbad
PA
172020-09-17 Pedro Alves <pedro@palves.net>
18
19 * gdb.base/watchpoint.c (buf): Make it 31 bytes.
20 (nullptr): Rename to ...
21 (null_ptr): ... this.
22 * gdb.base/watchpoint.exp: Adjust to rename.
23
18a25b64
PA
242020-09-17 Pedro Alves <pedro@palves.net>
25
26 * gdb.base/printcmds.c (three, flag_enum_without_zero)
27 (three_not_flag): Add casts.
28
11fac337
PA
292020-09-17 Pedro Alves <pedro@palves.net>
30
31 * gdb.base/examine-backward.c (Barrier, TestStrings): Now unsigned
32 char array.
33 (main): Add references to Barrier, TestStrings, TestStringsH and
34 TestStringsW.
35 * gdb.base/examine-backward.exp: Issue "set print asm-demangle on"
36 and expect a full prototype in C++.
37
52626c58
PA
382020-09-17 Pedro Alves <pedro@palves.net>
39
40 * gdb.base/nested-addr.c (main): Add cast.
41 * gdb.base/nested-addr.exp: Use "print /d".
42
52bb0902
PA
432020-09-17 Pedro Alves <pedro@palves.net>
44
45 * gdb.base/break.exp (func): New. Use it throughout when
46 expecting a function name.
47
73e18ac9
PA
482020-09-17 Pedro Alves <pedro@palves.net>
49
50 * gdb.base/display.exp: Issue "set print asm-demangle on".
51
c8b18808
PA
522020-09-17 Pedro Alves <pedro@palves.net>
53
54 * gdb.base/find.c: Include <string.h>.
55 (init_bufs): Add cast.
56 * gdb.base/find.exp: Issue "set print asm-demangle on".
57
fe830662
TT
582020-09-16 Tom Tromey <tromey@adacore.com>
59
60 PR gdb/26598:
61 * gdb.base/skipcxx.exp: New file.
62 * gdb.base/skipcxx.cc: New file.
63
945ff6e2
TV
642020-09-16 Tom de Vries <tdevries@suse.de>
65
66 PR testsuite/26617
67 * gdb.dlang/watch-loc.c: Only add .debug_aranges if
68 WITH_DEBUG_SECTIONS is defined.
69 (xstr, str): New macro.
70 (.debug_aranges): Use DMAIN_START_0/1/2 and DMAIN_LENGTH
71 to get start and size of _Dmain.
72 * gdb.dlang/watch-loc.exp: Pass DMAIN_START_0/1/2 and DMAIN_LENGTH
73 using additional_flags.
74
da1df1db
TBA
752020-09-16 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
76
77 * gdb.base/bp-cmds-sourced-script.c: New file.
78 * gdb.base/bp-cmds-sourced-script.exp: New test.
79 * gdb.base/bp-cmds-sourced-script.gdb: New file.
80
337882d4
TV
812020-09-16 Tom de Vries <tdevries@suse.de>
82
83 * lib/gdbserver-support.exp (gdbserver_exit): Make sure we
84 get the gdb prompt after issuing "monitor exit".
85
7361f908
TV
862020-09-16 Tom de Vries <tdevries@suse.de>
87
88 PR testsuite/26624
89 * lib/gdb.exp (gdb_assert): Catch errors in condition evaluation.
90
4d91ddd3
TV
912020-09-16 Tom de Vries <tdevries@suse.de>
92
93 PR testsuite/26618
94 * gdb.tui/new-layout.exp: Escape unbalanced braces.
95
08cc37dd
TT
962020-09-15 Tom Tromey <tromey@adacore.com>
97
98 PR rust/26197:
99 * lib/rust-support.exp (rust_llvm_version): New proc.
100 * gdb.rust/simple.exp: Check rust_llvm_version.
101
ee6372f2
TV
1022020-09-14 Tom de Vries <tdevries@suse.de>
103
104 * gdb.rust/traits.exp: Fix PATH warning.
105
dc3a371e
PA
1062020-09-13 Pedro Alves <pedro@palves.net>
107
108 * gdb.base/catch-follow-exec.c (main): Add explicit return
109 statement.
110 * gdb.base/catch-signal.c (main): Likewise.
111 * gdb.base/condbreak-call-false.c (main): Likewise.
112 * gdb.base/consecutive.c (main): Add explicit return
113 statement and return type.
114 * gdb.base/cursal.c (main): Add explicit return statement.
115 * gdb.base/cvexpr.c (main): Likewise.
116 * gdb.base/display.c (main): Add explicit return statement and
117 return type.
118 * gdb.base/dprintf-detach.c (main): Add explicit return statement.
119 * gdb.base/endianity.c (main): Likewise.
120 * gdb.base/execd-prog.c (main): Likewise.
121 * gdb.base/gdb1090.c (main): Likewise.
122 * gdb.base/info_qt.c (main): Likewise.
123 * gdb.base/lineinc.c (main): Likewise.
124 * gdb.base/load-command.c (main): Likewise.
125 * gdb.base/macscp1.c (main): Likewise.
126 * gdb.base/pr10179-a.c (main): Likewise.
127 * gdb.base/quit-live.c (main): Likewise.
128 * gdb.base/scope0.c (main): Likewise.
129 * gdb.base/settings.c (main): Likewise.
130 * gdb.base/stack-checking.c (main): Return int.
131 * gdb.base/varargs.c (main): Add explicit return statement.
132 * gdb.cp/ambiguous.cc (main): Likewise.
133 * gdb.cp/anon-struct.cc (main): Likewise.
134 * gdb.cp/anon-union.cc (main): Likewise.
135 * gdb.cp/bool.cc (main): Likewise.
136 * gdb.cp/bs15503.cc (main): Likewise.
137 * gdb.cp/cplusfuncs.cc (main): Likewise.
138 * gdb.cp/cttiadd.cc (main): Likewise.
139 * gdb.cp/extern-c.cc (main): Likewise.
140 * gdb.cp/filename.cc (main): Likewise.
141 * gdb.cp/formatted-ref.cc (main): Likewise.
142 * gdb.cp/mb-ctor.cc (main): Likewise.
143 * gdb.cp/member-ptr.cc (main): Likewise.
144 * gdb.cp/minsym-fallback-main.cc (main): Likewise.
145 * gdb.cp/overload-const.cc (main): Likewise.
146 * gdb.cp/paren-type.cc (main): Likewise.
147 * gdb.cp/parse-lang.cc (main): Likewise.
148 * gdb.cp/pr-1023.cc (main): Likewise.
149 * gdb.cp/psmang1.cc (main): Likewise.
150 * gdb.cp/readnow-language.cc (main): Likewise.
151 * gdb.cp/ref-params.cc (main): Likewise.
152 * gdb.cp/rvalue-ref-params.cc (main): Likewise.
153 * gdb.cp/virtbase2.cc (main): Likewise.
154 * gdb.dwarf2/dw2-abs-hi-pc.c (main): Likewise.
155 * gdb.dwarf2/dw2-namespaceless-anonymous.c (main): Likewise.
156 * gdb.dwarf2/dw4-toplevel-types.cc (main): Likewise.
157 * gdb.mi/mi-console.c (main): Likewise.
158 * gdb.mi/mi-read-memory.c (main): Likewise.
159 * gdb.modula2/multidim.c (main): Likewise.
160 * gdb.opt/inline-small-func.c (main): Likewise.
161 * gdb.python/py-rbreak.c (main): Likewise.
162 * gdb.stabs/exclfwd1.c (main): Likewise.
163 * gdb.trace/qtro.c (main): Likewise.
164
af26601c
PA
1652020-09-13 Pedro Alves <pedro@palves.net>
166
167 * gdb.base/share-env-with-gdbserver.c (main): Call my_getenv
168 instead of getenv.
169
2f4b83cd
PA
1702020-09-13 Pedro Alves <pedro@palves.net>
171
172 * gdb.base/dbx.exp (dbx_gdb_start): Adjust to use gdb_spawn
173 instead of spawning GDB with remote_spawn.
174 * lib/mi-support.exp (default_mi_gdb_start): Adjust to use
175 gdb_spawn instead of spawning GDB with remote_spawn.
176
c49da0e4
PA
1772020-09-13 Pedro Alves <pedro@palves.net>
178
179 * gdb.dwarf2/ada-linkage-name.c (main): Move to the bottom of the
180 file and add calls to first and second.
181 * gdb.dwarf2/atomic.c (main): Move to the bottom of the file and
182 add call to f.
183
6791b117
PA
1842020-09-13 Pedro Alves <pedro@palves.net>
185
186 * gdb.mi/mi-break-qualified.cc: New file.
187 * gdb.mi/mi-break-qualified.exp: New file.
188 * lib/mi-support.exp (mi_create_breakpoint_multi)
189 (mi_make_breakpoint_loc, mi_make_breakpoint_multi): New
190 procedures.
191 (mi_create_breakpoint_1): New, factored out from
192 mi_create_breakpoint.
193
3b8d4c5c
PA
1942020-09-13 Pedro Alves <pedro@palves.net>
195
196 * gdb.cp/inherit.exp: No longer pass -Wno-deprecated-register.
197 * gdb.cp/misc.exp: No longer pass -Wno-deprecated-register.
198 * gdb.cp/misc.cc (class small, small::method, marker_reg1)
199 (register_class): Delete.
200 (main): Don't call register_class.
201
d5f96005
PA
2022020-09-13 Pedro Alves <pedro@palves.net>
203
204 * gdb.cp/classes.exp: No longer pass -Wno-deprecated-register.
205 (do_tests): Remove "calling method for small class" test.
206 * gdb.cp/classes.cc (class small, small::method, marker_reg1)
207 (register_class): Delete.
208 (main): Don't call register_class.
209 * gdb.cp/call-method-register.exp: New file, based on bits removed
210 from classes.exp.
211 * gdb.cp/call-method-register.cc: New file, based on bits removed
212 from classes.cc.
213
77f2120b
PA
2142020-09-13 Pedro Alves <pedro@palves.net>
215
216 * gdb.base/msym-bp-2.c: New.
217 * gdb.base/msym-bp-shl-lib.c: New file.
218 * gdb.base/msym-bp-shl-main-2.c: New file.
219 * gdb.base/msym-bp-shl-main.c: New file.
220 * gdb.base/msym-bp-shl.exp: New file.
221 * gdb.base/msym-bp.c: New file.
222 * gdb.base/msym-bp.exp: New file.
223
32aea73e
JB
2242020-09-13 Joel Brobecker <brobecker@adacore.com>
225
226 * gdb.base/default.exp: Change $_gdb_major to 11.
227
2a67f09d
FW
2282020-09-11 Moritz Riesterer <moritz.riesterer@intel.com>
229 Felix Willgerodt <Felix.Willgerodt@intel.com>
230
231 * x86-avx512bf16.c: New file.
232 * x86-avx512bf16.exp: Likewise.
233 * lib/gdb.exp (skip_avx512bf16_tests): New function.
234
ad570dd7
TV
2352020-09-11 Tom de Vries <tdevries@suse.de>
236
237 PR exp/26602
238 * gdb.cp/ambiguous.exp: Add KFAILs for PR26602.
239
a56f7391
TBA
2402020-09-11 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
241
242 * gdb.base/bp-cmds-execution-x-script.exp: Remove a stale comment.
243
918619e5
AM
2442020-09-10 Alan Modra <amodra@gmail.com>
245
246 PR 26597
247 * gdb.dlang/demangle.exp: Update tests as per gcc commit 387d0773f3.
248
cac1e71d
TV
2492020-09-08 Tom de Vries <tdevries@suse.de>
250
251 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Consume gdb prompt
252 after gdb_starti_cmd.
253
c5cd900e
AKS
2542020-09-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
255
256 * lib/fortran.exp (fortran_complex8): New proc.
257 (fortran_complex16): New proc.
258 * gdb.fortran/complex.exp: Use routines from fortran.exp
259 * gdb.fortran/pointer-to-pointer.exp: Likewise.
260 * gdb.fortran/vla-ptr-info.exp: Likewise.
261
8f5c6526
TV
2622020-09-03 Tom de Vries <tdevries@suse.de>
263
264 PR breakpoint/26546
265 * gdb.base/label-without-address.exp: Runto main first.
266
02c6f3f1
TT
2672020-09-02 Tom Tromey <tromey@adacore.com>
268
269 * gdb.ada/mi_var_access.exp: Test children of access variable.
270 * gdb.ada/mi_var_access/mi_access.adb: Add new stop markers.
271 * gdb.ada/mi_var_array.exp: Update.
272
efe24f05
KB
2732020-08-31 Kevin Buettner <kevinb@redhat.com>
274
275 * gdb.base/corefile.exp (warning-free): XFAIL test when running
276 on docker w/ AUFS storage driver.
277
973695d6
KB
2782020-08-31 Kevin Buettner <kevinb@redhat.com>
279
280 * gdb.base/corefile2.exp (renamed binfile): New tests.
281
f3bd50f1
SM
2822020-08-31 Simon Marchi <simon.marchi@efficios.com>
283
284 * gdb.dwarf2/dw2-reg-undefined.exp: Remove spurious #.
285
22b9b4b0
SL
2862020-08-31 Simon Marchi <simon.marchi@efficios.com>
287
288 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: New file.
289 * gdb.dwarf2/frame-inlined-in-outer-frame.S: New file.
290
8efaf6b3
SM
2912020-08-31 Simon Marchi <simon.marchi@efficios.com>
292
293 * gdb.dwarf2/dw2-reg-undefined.exp: Test "set debug frame 1"
294 output, printing a "not saved" value from history and printing a
295 convenience variable created from a "not saved" value.
296
e840f2e3
TV
2972020-08-31 Tom de Vries <tdevries@suse.de>
298
299 * gdb.base/eh_return.exp: Use nopie.
300
8f57f343
PA
3012020-08-28 Pedro Alves <pedro@palves.net>
302
303 * gdb.base/advance-until-multiple-locations.exp
304 (advance_overload, until_overload): Adjust to match the
305 frame/function header instead of the source line text.
306
626d2320
TV
3072020-08-28 Tom de Vries <tdevries@suse.de>
308
309 * gdb.base/label-without-address.c: New test.
310 * gdb.base/label-without-address.exp: New file.
311
df631783
PA
3122020-08-27 Pedro Alves <pedro@palves.net>
313
314 PR gdb/26523
315 PR gdb/26524
316 * gdb.base/advance-until-multiple-locations.cc: New.
317 * gdb.base/advance-until-multiple-locations.exp: New.
318
48b076bb
SM
3192020-08-27 Simon Marchi <simon.marchi@polymtl.ca>
320
321 * gdb.dwarf2/dw2-reg-undefined.exp: Use multi_line.
322
c2015ce4
AB
3232020-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
324
325 * gdb.arch/amd64-byte.exp: Make test names unique, use
326 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
327 * gdb.arch/amd64-dword.exp: Likewise.
328 * gdb.arch/amd64-pseudo.c: Fix typo 'forth' -> 'fourth'.
329 * gdb.arch/amd64-stap-special-operands.exp: Make test names
330 unique.
331 * gdb.arch/amd64-tailcall-ret.exp: Likewise.
332 * gdb.arch/amd64-word.exp: Make test names unique, use
333 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
334 * gdb.arch/i386-byte.exp: Make test names unique, use
335 gdb_breakpoint.
336 * gdb.arch/i386-word.exp: Likewise.
337
995d3a19
SV
3382020-08-25 Shahab Vahedi <shahab@synopsys.com>
339
340 * gdb.arch/arc-tdesc-cpu.xml: Use new feature names.
341
8cac2b31
SM
3422020-08-25 Simon Marchi <simon.marchi@polymtl.ca>
343
344 PR gdb/26532
345 * gdb.threads/stepi-random-signal.exp: Update pattern.
346
2bc19622
SM
3472020-08-25 Simon Marchi <simon.marchi@efficios.com>
348
349 PR gdb/26532
350 * gdb.base/ui-redirect.exp: Update pattern.
351
b04aa1fc
GB
3522020-08-25 Gary Benson <gbenson@redhat.com>
353
354 * gdb.dwarf2/dw2-dir-file-name.exp: Use system assembler
355 when compiling with clang.
8571e9c8 356 * gdb.dwarf2/dw2-restore.exp: Likewise.
b04aa1fc 357
9f68b453
GB
3582020-08-25 Gary Benson <gbenson@redhat.com>
359
360 * gdb.cp/ambiguous.exp: Enable test when compiling with GCC.
361 Add additional_flags=-Wno-inaccessible-base when compiling
362 with GCC >= 10.1 or clang. Add additional_flags=-w when
363 compiling with GCC < 10.
364
3945d2d7
GM
3652020-08-25 Gaius Mulley <gaiusmod2@gmail.com>
366
367 PR m2/26372
fc5d6901
SM
368 * gdb.modula2/multidim.c: New file.
369 * gdb.modula2/multidim.exp: New file.
3945d2d7 370
60122dbe
SM
3712020-08-24 Simon Marchi <simon.marchi@polymtl.ca>
372
373 * lib/gdb.exp (runto): Always emit fail on internal error.
374
1eb8556f
SM
3752020-08-24 Simon Marchi <simon.marchi@efficios.com>
376
377 * gdb.base/gdb-sigterm.exp (do_test): Update expected regexp.
378 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
379 Likewise.
380 * gdb.threads/stepi-random-signal.exp: Likewise.
381
33bf4c5c
TBA
3822020-08-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
383
384 * gdb.base/print-file-var.exp: Fix typo "breapoint".
385 * gdb.trace/strace.exp: Ditto.
386
c2fd7fae
AKS
3872020-08-19 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
388
389 * gdb.fortran/vla-type.exp: Skip commands not required for
390 the Flang compiled binaries after prologue fix.
391
326afb72
TT
3922020-08-17 Tom de Vries <tdevries@suse.de>
393 Tom Tromey <tromey@adacore.com>
394
395 PR rust/26197:
396 * gdb.rust/simple.exp (xfail_pattern): Update for new failure.
397
3ae7ab99
TT
3982020-08-17 Tom Tromey <tromey@adacore.com>
399
400 * gdb.ada/mi_var_access.exp: New file.
401 * gdb.ada/mi_var_access/mi_access.adb: New file.
402 * gdb.ada/mi_var_access/pck.adb: New file.
403 * gdb.ada/mi_var_access/pck.ads: New file.
404
f569c1c5
TV
4052020-08-16 Tom de Vries <tdevries@suse.de>
406
407 PR gdb/25350
408 * gdb.base/eh_return.c: New test.
409 * gdb.base/eh_return.exp: New file.
410
3d11c30a
TV
4112020-08-15 Tom de Vries <tdevries@suse.de>
412
413 * gdb.fortran/mixed-lang-stack.c (fortran_charlen_t): New type.
414 (mixed_func_1d_): Use fortran_charlen_t in decl.
415
547ce8f0
TV
4162020-08-15 Tom de Vries <tdevries@suse.de>
417
418 PR backtrace/26390
419 * gdb.fortran/mixed-lang-stack.exp: Call bt with -frame-arguments all.
420 Update expected pattern.
421
a54a7f13
PA
4222020-08-13 Pedro Alves <pedro@palves.net>
423
424 * gdb.fortran/complex.exp: Check skip_fortran_tests.
425 * gdb.fortran/library-module.exp: Likewise.
426 * gdb.fortran/logical.exp: Likewise.
427 * gdb.fortran/module.exp: Likewise.
428 * gdb.fortran/print_type.exp: Likewise.
429 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
430 * gdb.fortran/vla-datatypes.exp: Likewise.
431 * gdb.fortran/vla-history.exp: Likewise.
432 * gdb.fortran/vla-ptr-info.exp: Likewise.
433 * gdb.fortran/vla-ptype-sub.exp: Likewise.
434 * gdb.fortran/vla-ptype.exp: Likewise.
435 * gdb.fortran/vla-sizeof.exp: Likewise.
436 * gdb.fortran/vla-type.exp: Likewise.
437 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
438 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
439 * gdb.fortran/vla-value-sub.exp: Likewise.
440 * gdb.fortran/vla-value.exp: Likewise.
441
7a82e903
PA
4422020-08-13 Pedro Alves <pedro@palves.net>
443
444 * gdb.ada/access_tagged_param.exp: Check skip_ada_tests.
445 * gdb.ada/access_to_packed_array.exp: Likewise.
446 * gdb.ada/access_to_unbounded_array.exp: Likewise.
447 * gdb.ada/addr_arith.exp: Likewise.
448 * gdb.ada/arr_acc_idx_w_gap.exp: Likewise.
449 * gdb.ada/arr_arr.exp: Likewise.
450 * gdb.ada/arr_enum_idx_w_gap.exp: Likewise.
451 * gdb.ada/array_bounds.exp: Likewise.
452 * gdb.ada/array_of_variable_length.exp: Likewise.
453 * gdb.ada/array_ptr_renaming.exp: Likewise.
454 * gdb.ada/array_subscript_addr.exp: Likewise.
455 * gdb.ada/arraydim.exp: Likewise.
456 * gdb.ada/arrayparam.exp: Likewise.
457 * gdb.ada/arrayptr.exp: Likewise.
458 * gdb.ada/assign_1.exp: Likewise.
459 * gdb.ada/assign_arr.exp: Likewise.
460 * gdb.ada/atomic_enum.exp: Likewise.
461 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
462 * gdb.ada/bad-task-bp-keyword.exp: Likewise.
463 * gdb.ada/bias.exp: Likewise.
464 * gdb.ada/boolean_expr.exp: Likewise.
465 * gdb.ada/bp_c_mixed_case.exp: Likewise.
466 * gdb.ada/bp_enum_homonym.exp: Likewise.
467 * gdb.ada/bp_inlined_func.exp: Likewise.
468 * gdb.ada/bp_on_var.exp: Likewise.
469 * gdb.ada/bp_range_type.exp: Likewise.
470 * gdb.ada/bp_reset.exp: Likewise.
471 * gdb.ada/call_pn.exp: Likewise.
472 * gdb.ada/catch_assert_if.exp: Likewise.
473 * gdb.ada/catch_ex.exp: Likewise.
474 * gdb.ada/catch_ex_std.exp: Likewise.
475 * gdb.ada/char_enum.exp: Likewise.
476 * gdb.ada/char_param.exp: Likewise.
477 * gdb.ada/complete.exp: Likewise.
478 * gdb.ada/cond_lang.exp: Likewise.
479 * gdb.ada/convvar_comp.exp: Likewise.
480 * gdb.ada/dgopt.exp: Likewise.
481 * gdb.ada/disc_arr_bound.exp: Likewise.
482 * gdb.ada/display_nested.exp: Likewise.
483 * gdb.ada/dot_all.exp: Likewise.
484 * gdb.ada/dyn_loc.exp: Likewise.
485 * gdb.ada/dyn_stride.exp: Likewise.
486 * gdb.ada/excep_handle.exp: Likewise.
487 * gdb.ada/expr_delims.exp: Likewise.
488 * gdb.ada/expr_with_funcall.exp: Likewise.
489 * gdb.ada/exprs.exp: Likewise.
490 * gdb.ada/fin_fun_out.exp: Likewise.
491 * gdb.ada/fixed_cmp.exp: Likewise.
492 * gdb.ada/formatted_ref.exp: Likewise.
493 * gdb.ada/frame_arg_lang.exp: Likewise.
494 * gdb.ada/frame_args.exp: Likewise.
495 * gdb.ada/fullname_bp.exp: Likewise.
496 * gdb.ada/fun_addr.exp: Likewise.
497 * gdb.ada/fun_in_declare.exp: Likewise.
498 * gdb.ada/fun_overload_menu.exp: Likewise.
499 * gdb.ada/fun_renaming.exp: Likewise.
500 * gdb.ada/funcall_char.exp: Likewise.
501 * gdb.ada/funcall_param.exp: Likewise.
502 * gdb.ada/funcall_ptr.exp: Likewise.
503 * gdb.ada/funcall_ref.exp: Likewise.
504 * gdb.ada/homonym.exp: Likewise.
505 * gdb.ada/info_addr_mixed_case.exp: Likewise.
506 * gdb.ada/info_auto_lang.exp: Likewise.
507 * gdb.ada/info_exc.exp: Likewise.
508 * gdb.ada/info_types.exp: Likewise.
509 * gdb.ada/int_deref.exp: Likewise.
510 * gdb.ada/interface.exp: Likewise.
511 * gdb.ada/iwide.exp: Likewise.
512 * gdb.ada/lang_switch.exp: Likewise.
513 * gdb.ada/length_cond.exp: Likewise.
514 * gdb.ada/maint_with_ada.exp: Likewise.
515 * gdb.ada/mi_catch_assert.exp: Likewise.
516 * gdb.ada/mi_catch_ex.exp: Likewise.
517 * gdb.ada/mi_catch_ex_hand.exp: Likewise.
518 * gdb.ada/mi_dyn_arr.exp: Likewise.
519 * gdb.ada/mi_ex_cond.exp: Likewise.
520 * gdb.ada/mi_exc_info.exp: Likewise.
521 * gdb.ada/mi_interface.exp: Likewise.
522 * gdb.ada/mi_prot.exp: Likewise.
523 * gdb.ada/mi_ref_changeable.exp: Likewise.
524 * gdb.ada/mi_string_access.exp: Likewise.
525 * gdb.ada/mi_task_arg.exp: Likewise.
526 * gdb.ada/mi_task_info.exp: Likewise.
527 * gdb.ada/mi_var_array.exp: Likewise.
528 * gdb.ada/mi_var_union.exp: Likewise.
529 * gdb.ada/mi_variant.exp: Likewise.
530 * gdb.ada/minsyms.exp: Likewise.
531 * gdb.ada/mod_from_name.exp: Likewise.
532 * gdb.ada/nested.exp: Likewise.
533 * gdb.ada/null_array.exp: Likewise.
534 * gdb.ada/optim_drec.exp: Likewise.
535 * gdb.ada/out_of_line_in_inlined.exp: Likewise.
536 * gdb.ada/packed_array_assign.exp: Likewise.
537 * gdb.ada/packed_tagged.exp: Likewise.
538 * gdb.ada/pp-rec-component.exp: Likewise.
539 * gdb.ada/print_chars.exp: Likewise.
540 * gdb.ada/print_pc.exp: Likewise.
541 * gdb.ada/ptr_typedef.exp: Likewise.
542 * gdb.ada/ptype_arith_binop.exp: Likewise.
543 * gdb.ada/ptype_array.exp: Likewise.
544 * gdb.ada/ptype_field.exp: Likewise.
545 * gdb.ada/ptype_tagged_param.exp: Likewise.
546 * gdb.ada/ptype_union.exp: Likewise.
547 * gdb.ada/py_range.exp: Likewise.
548 * gdb.ada/py_taft.exp: Likewise.
549 * gdb.ada/rdv_wait.exp: Likewise.
550 * gdb.ada/rec_comp.exp: Likewise.
551 * gdb.ada/rec_return.exp: Likewise.
552 * gdb.ada/ref_param.exp: Likewise.
553 * gdb.ada/ref_tick_size.exp: Likewise.
554 * gdb.ada/rename_subscript_param.exp: Likewise.
555 * gdb.ada/repeat_dyn.exp: Likewise.
556 * gdb.ada/same_component_name.exp: Likewise.
557 * gdb.ada/same_enum.exp: Likewise.
558 * gdb.ada/scalar_storage.exp: Likewise.
559 * gdb.ada/set_wstr.exp: Likewise.
560 * gdb.ada/small_reg_param.exp: Likewise.
561 * gdb.ada/str_binop_equal.exp: Likewise.
562 * gdb.ada/str_ref_cmp.exp: Likewise.
563 * gdb.ada/str_uninit.exp: Likewise.
564 * gdb.ada/sub_variant.exp: Likewise.
565 * gdb.ada/sym_print_name.exp: Likewise.
566 * gdb.ada/taft_type.exp: Likewise.
567 * gdb.ada/tagged.exp: Likewise.
568 * gdb.ada/tagged_access.exp: Likewise.
569 * gdb.ada/task_bp.exp: Likewise.
570 * gdb.ada/task_switch_in_core.exp: Likewise.
571 * gdb.ada/tasks.exp: Likewise.
572 * gdb.ada/tick_last_segv.exp: Likewise.
573 * gdb.ada/tick_length_array_enum_idx.exp: Likewise.
574 * gdb.ada/type_coercion.exp: Likewise.
575 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
576 * gdb.ada/unchecked_union.exp: Likewise.
577 * gdb.ada/uninitialized_vars.exp: Likewise.
578 * gdb.ada/var_arr_attrs.exp: Likewise.
579 * gdb.ada/var_arr_typedef.exp: Likewise.
580 * gdb.ada/var_rec_arr.exp: Likewise.
581 * gdb.ada/variant-record.exp: Likewise.
582 * gdb.ada/variant.exp: Likewise.
583 * gdb.ada/variant_record_packed_array.exp: Likewise.
584 * gdb.ada/varsize_limit.exp: Likewise.
585 * gdb.ada/whatis_array_val.exp: Likewise.
586 * gdb.ada/widewide.exp: Likewise.
587 * gdb.ada/win_fu_syms.exp: Likewise.
588
5892020-08-12 Gary Benson <gbenson@redhat.com>
c0ab14ae
GB
590
591 * gdb.dwarf2/dw2-op-out-param.S (.Ltext5): Fix duplicate label.
592
10c381b5
AB
5932020-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
594
595 * lib/check-test-names.exp (do_reset_vars): Use 'array unset' to
596 unset the array variable.
597
8f34b746
TV
5982020-08-03 Tom de Vries <tdevries@suse.de>
599
600 PR symtab/26333
601 * lib/dwarf.exp (DW_LNE_user): New proc.
602 * gdb.dwarf2/dw2-vendor-extended-opcode.c: New test.
603 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: New file.
604
0245e136
KB
6052020-07-31 Kevin Buettner <kevinb@redhat.com>
606
607 * gdb.base/coremaker2.c: Change all uses of 'unsigned long long'
608 to 'uintptr_t'
609 (inttypes.h): Include.
610
9ef1ec5d
KB
6112020-07-31 Kevin Buettner <kevinb@redhat.com>
612
613 * gdb.base/coremaker2.c (buf_rw): Increase size to 256 KiB.
614 (C5_24k): Delete.
615 (C5_8k, C5_64k, C5_256k): New macros.
616 (buf_ro): Allocate 256 KiB of initialized data.
617
4c55e970
TBA
6182020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
619
620 * gdb.base/condbreak-bad.exp: Extend the test with scenarios
621 that attempt to overwrite an existing condition with a condition
622 that fails parsing and also with a condition that parses fine
623 but contains junk at the end.
624
1e620590
TBA
6252020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
626
627 * gdb.base/condbreak-bad.c: New test.
628 * gdb.base/condbreak-bad.exp: New file.
629
e12dcc50
TV
6302020-07-30 Tom de Vries <tdevries@suse.de>
631
632 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_entry_1): Factor
633 out of ...
634 (GDBInfoModuleSymbols::check_entry): ... here.
635 (GDBInfoModuleSymbols::check_optional_entry): New proc.
636 * gdb.fortran/info-modules.exp: Use check_optional_entry for entries
637 related to __def_init_mod1_M1t1 / __vtype_mod1_M1t1 / __copy_mod1_M1t1.
638
6cc64caa
TV
6392020-07-30 Tom de Vries <tdevries@suse.de>
640
641 * gdb.fortran/ptype-on-functions.exp: Make "_t" suffix on
642 "__class_some_module_Number_t" optional.
643
90fd07fc
TV
6442020-07-29 Tom de Vries <tdevries@suse.de>
645
646 * lib/selftest-support.exp (selftest_setup): Allow breakpoint at
647 multiple locations.
648
f5c79e97
TV
6492020-07-29 Tom de Vries <tdevries@suse.de>
650
651 * gdb.dwarf2/dw2-line-number-zero.exp: Set breakpoints on lines
652 rather than function name.
653
f75a0693
AB
6542020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
655
656 PR symtab/26270:
657 * gdb.cp/disasm-func-name.cc: New file.
658 * gdb.cp/disasm-func-name.exp: New file.
659
4888741a
TT
6602020-07-28 Tom Tromey <tromey@adacore.com>
661
662 * gdb.dwarf2/varval.exp (setup_exec): Add 'or' instruction to
663 'varval' location.
664
43d5901d
AB
6652020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
666
667 * gdb.python/py-unwind.py: Update to make use of a register
668 descriptor.
669
14fa8fb3
AB
6702020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
671
672 * gdb.python/py-arch-reg-names.exp: Add additional tests.
673
e79eb02f
AB
6742020-07-25 Andrew Burgess <andrew.burgess@embecosm.com>
675
676 PR fortran/23051
677 PR fortran/26139
678 * gdb.fortran/class-allocatable-array.exp: New file.
679 * gdb.fortran/class-allocatable-array.f90: New file.
680 * gdb.fortran/pointer-to-pointer.exp: New file.
681 * gdb.fortran/pointer-to-pointer.f90: New file.
682
876518dd
TV
6832020-07-25 Tom de Vries <tdevries@suse.de>
684
685 PR symtab/26243
686 * gdb.dwarf2/dw2-line-number-zero.c: New test.
687 * gdb.dwarf2/dw2-line-number-zero.exp: New file.
688
6dcfb80a
TV
6892020-07-24 Tom de Vries <tdevries@suse.de>
690
691 PR testsuite/26293
692 * gdb.ada/mi_prot.exp: Require gnatmake-8.
693
e7bc9db8
PA
6942020-07-23 Pedro Alves <pedro@palves.net>
695
696 * gdb.server/server-kill.exp (prepare): New, factored out from the
697 top level.
698 (kill_server): New.
699 (test_tstatus, test_unwind_nosyms, test_unwind_syms): New.
700 (top level) : Call test_tstatus, test_unwind_nosyms, test_unwind_syms.
701
78344df7
AB
7022020-07-23 Andrew Burgess <andrew.burgess@embecosm.com>
703
704 * gdb.dwarf2/dw2-disasm-over-non-stmt.exp: New file.
705
25dfed24
SL
7062020-07-22 Sandra Loosemore <sandra@codesourcery.com>
707
708 * lib/gdb.exp (gdb_wrapper_file, gdb_wrapper_flags):
709 Initialize to empty string at top level.
710 (gdb_wrapper_init): Revert check for file existence on build.
711 Build the wrapper in its default place, not a build-specific
712 location. When host == build, make the pathname absolute.
713 (gdb_compile): Delete leftover declaration of
714 gdb_wrapper_initialized. Check gdb_wrapper_file being an empty
715 string instead of uninitialized.
716
7da515fd
KB
7172020-07-22 Kevin Buettner <kevinb@redhat.com>
718
719 * gdb.base/corefile2.exp: New file.
720 * gdb.base/coremaker2.exp: New file.
721
9c5ec5c2
KB
7222020-07-22 Kevin Buettner <kevinb@redhat.com>
723
724 * gdb.base/coredump-filter.exp: Add second
725 non-Private-Shared-Anon-File test.
726 (test_disasm): Rename binfile for test which is expected
727 to fail.
728
f9e233c9
KB
7292020-07-22 Kevin Buettner <kevinb@redhat.com>
730
731 * gdb.base/corefile.exp: Add test "accessing read-only mmapped
732 data in core file".
733 * gdb.base/coremaker.c (buf2ro): New global.
734 (mmapdata): Add a read-only mmap mapping.
735
94c265d7
KB
7362020-07-22 Kevin Buettner <kevinb@redhat.com>
737
738 PR corefiles/25631
739 * gdb.base/corefile.exp (accessing anonymous, unwritten-to mmap data):
740 New test.
741 * gdb.base/coremaker.c (buf3): New global.
742 (mmapdata): Add mmap call which uses MAP_ANONYMOUS and MAP_PRIVATE
743 flags.
744
7452020-07-22 Kevin Buettner <kevinb@redhat.com>
678c7a56
KB
746
747 * gdb.base/coremaker.c (filler_ro): New global constant.
748
32fa152e
TT
7492020-07-22 Tom Tromey <tromey@adacore.com>
750
751 * gdb.ada/mi_prot.exp: New file.
752 * gdb.ada/mi_prot/pkg.adb: New file.
753 * gdb.ada/mi_prot/pkg.ads: New file.
754 * gdb.ada/mi_prot/prot.adb: New file.
755
c8474dc3
TBA
7562020-07-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
757
758 * gdb.base/jit-reader-simple.exp: Add a scenario for a binary that
759 loads two JITers.
760
baf8791e
AB
7612020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
762
763 * gdb.python/py-arch-reg-groups.exp: Additional tests.
764
f7306dac
AB
7652020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
766
767 * gdb.python/py-arch-reg-names.exp: Additional tests.
768
6d3d6e4b
TV
7692020-07-21 Tom de Vries <tdevries@suse.de>
770
771 * gdb.reverse/solib-precsave.exp: Handle additional "recommended
772 breakpoint locations".
773 * gdb.reverse/solib-reverse.exp: Same.
774
803d0592
TV
7752020-07-21 Tom de Vries <tdevries@suse.de>
776
777 * gdb.reverse/step-reverse.c (callee): Merge statements.
778
e9bdc510
TV
7792020-07-21 Tom de Vries <tdevries@suse.de>
780
781 * gdb.fortran/info-modules.exp (info module variables): Allow missing
782 line numbers for some variables.
783
f0f9e75a
TV
7842020-07-21 Tom de Vries <tdevries@suse.de>
785
786 * gdb.opt/inline-locals.c (init_array): New func.
787 (func1): Use init_array.
788 * gdb.opt/inline-locals.exp: Update pattern.
789
bd460ecb
TV
7902020-07-21 Tom de Vries <tdevries@suse.de>
791
792 * gdb.debuginfod/fetch_src_and_symbols.exp: Use save_vars for env
793 vars. Fix PATH and DUPLICATE errors. Cleanup whitespace.
794
ae5369e7
LC
7952020-07-20 Ludovic Courtès <ludo@gnu.org>
796
797 * gdb.guile/source2.scm: Add #f first argument to 'format'.
798 * gdb.guile/types-module.exp: Remove "ERROR:" from
799 regexps since Guile 3.0 no longer prints that.
800
68cf161c
LC
8012020-07-20 Ludovic Courtès <ludo@gnu.org>
802
803 * gdb.guile/scm-error.exp ("source $remote_guile_file_1"): Relax
804 error regexp to match on Guile 2.2.
805
c14b4913
GB
8062020-07-20 Gary Benson <gbenson@redhat.com>
807
808 * gdb.cp/align.exp: Fix "alignof (void)" tests when compiling
809 with clang.
810
b243ba58
TV
8112020-07-20 Tom de Vries <tdevries@suse.de>
812
813 * gdb.threads/omp-par-scope.c (lock, lock2): New variable.
814 (omp_set_lock_in_order): New function.
815 (single_scope, multi_scope, nested_func, nested_parallel): Use
816 omp_set_lock_in_order and omp_unset_lock.
817 (main): Init and destroy lock and lock2.
818
c06ad8b5
TV
8192020-07-20 Tom de Vries <tdevries@suse.de>
820
821 * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type.
822
6e22f117
TV
8232020-07-20 Tom de Vries <tdevries@suse.de>
824
825 * gdb.threads/attach-slow-waitpid.exp: Bail out if gdb_start fails.
826
33176ea7
TV
8272020-07-17 Tom de Vries <tdevries@suse.de>
828
829 * gdb.base/valgrind-infcall-2.c: New test.
830 * gdb.base/valgrind-infcall-2.exp: New file.
831 * lib/valgrind.exp (vgdb_start): Add and handle active_at_startup.
832
90c3ec2d
TV
8332020-07-17 Tom de Vries <tdevries@suse.de>
834
835 * gdb.dlang/circular.c (found): Use found_label as label name.
836 * gdb.dwarf2/arr-subrange.c (main): Use main_label as label name.
837 * gdb.dwarf2/comp-unit-lang.c (func): Use func_label as label name.
838 * gdb.dlang/circular.exp: Use MACRO_AT_func and MACRO_AT_range.
839 * gdb.dwarf2/ada-linkage-name.exp: Same.
840 * gdb.dwarf2/arr-subrange.exp: Same.
841 * gdb.dwarf2/atomic-type.exp: Same.
842 * gdb.dwarf2/comp-unit-lang.exp: Same.
843 * gdb.dwarf2/cpp-linkage-name.exp: Same.
844 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
845 * gdb.dwarf2/dw2-lexical-block-bare.exp: Same.
846 * gdb.dwarf2/dw2-regno-invalid.exp: Same.
847 * gdb.dwarf2/implptr-64bit.exp: Same.
848 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
849 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
850 * gdb.dwarf2/imported-unit.exp: Same.
851 * gdb.dwarf2/main-subprogram.exp: Same.
852 * gdb.dwarf2/missing-type-name.exp: Same.
853 * gdb.dwarf2/nonvar-access.exp: Same.
854 * gdb.dwarf2/struct-with-sig.exp: Same.
855 * gdb.dwarf2/typedef-void-finish.exp: Same.
856 * gdb.dwarf2/void-type.exp: Same.
857
10da644d
TV
8582020-07-17 Tom de Vries <tdevries@suse.de>
859
860 * lib/dwarf.exp (Dwarf::MACRO_AT_func, Dwarf::MACRO_AT_range): Drop
861 src parameter.
862 * gdb.dlang/watch-loc.exp: Update MACRO_AT_{func,range} calls.
863 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Same.
864 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
865 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
866 * gdb.dwarf2/dwz.exp: Same.
867 * gdb.dwarf2/implptr-optimized-out.exp: Same.
868 * gdb.dwarf2/implref-array.exp: Same.
869 * gdb.dwarf2/implref-const.exp: Same.
870 * gdb.dwarf2/implref-global.exp: Same.
871 * gdb.dwarf2/implref-struct.exp: Same.
872 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
873 * gdb.dwarf2/opaque-type-lookup.exp: Same.
874 * gdb.dwarf2/var-access.exp: Same.
875 * gdb.dwarf2/varval.exp: Same.
876 * gdb.trace/entry-values.exp: Same.
877
315e6afc
TV
8782020-07-17 Tom de Vries <tdevries@suse.de>
879
880 * lib/dwarf.exp (Dwarf::extern): Remove.
881 * gdb.compile/compile-ops.exp: Remove use of Dwarf::extern.
882 * gdb.dlang/circular.exp: Same.
883 * gdb.dwarf2/comp-unit-lang.exp: Same.
884 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
885 * gdb.dwarf2/dw2-symtab-includes.exp: Same.
886 * gdb.dwarf2/dwz.exp: Same.
887 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
888 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
889 * gdb.dwarf2/imported-unit.exp: Same.
890 * gdb.dwarf2/opaque-type-lookup.exp: Same.
891
5597c940
SL
8922020-07-16 Sandra Loosemore <sandra@codesourcery.com>
893
894 * gdb.base/shell.exp: Skip pipe tests dependent on sh on Windows host.
895 Use double quotes instead of single quotes.
896
d0ce17d8
CT
8972020-07-16 Caroline Tice <cmtice@google.com>
898
899 * gdb.dwarf2/dw5-rnglist-test.cc: New file.
900 * gdb.dwarf2/dw5-rnglist-test.exp: New file.
901
853772cc
TV
9022020-07-16 Tom de Vries <tdevries@suse.de>
903
904 * lib/dwarf.exp (program): Initialize _line.
905 (DW_LNE_end_sequence): Reinitialize _line.
906 (DW_LNS_advance_line): Update _line.
907 (line): New proc.
908 * gdb.dwarf2/dw2-inline-many-frames.exp: Use line.
909 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
910 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
911 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
912 * gdb.dwarf2/dw2-is-stmt.exp: Same.
913 * gdb.dwarf2/dw2-ranges-func.exp: Same.
914
fe07b572
AB
9152020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
916
917 * gdb.fortran/ptype-on-functions.exp: Make the result pattern more
918 generic.
919
52781cce
TV
9202020-07-15 Tom de Vries <tdevries@suse.de>
921
922 * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if
923 is_amd64_regs_target.
924
3dcc261c
AB
9252020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
926
927 * gdb.fortran/ptype-on-functions.exp: Add more tests.
928 * gdb.fortran/ptype-on-functions.f90: Likewise.
929
054a0959
SM
9302020-07-14 Simon Marchi <simon.marchi@polymtl.ca>
931
932 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu, Dwarf::lines): Change valid
933 values in documentation for addr_size to 4 and 8.
934
ccb9eba6
AB
9352020-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
936
937 * gdb.arch/amd64-osabi.exp: Update.
938 * gdb.arch/arm-disassembler-options.exp: Update.
939 * gdb.arch/powerpc-disassembler-options.exp: Update.
940 * gdb.arch/ppc64-symtab-cordic.exp: Update.
941 * gdb.arch/s390-disassembler-options.exp: Update.
942 * gdb.base/all-architectures.exp.tcl: Update.
943 * gdb.base/attach-pie-noexec.exp: Update.
944 * gdb.base/catch-syscall.exp: Update.
945 * gdb.xml/tdesc-arch.exp: Update.
946
025a39a7
TV
9472020-07-14 Tom de Vries <tdevries@suse.de>
948
949 * gdb.threads/clone-new-thread-event.c (gettid): Rename to ...
950 (local_gettid): ... this.
951 (fn): Update.
952
74e4b667
SL
9532020-07-13 Sandra Loosemore <sandra@codesourcery.com>
954
955 * gdb.base/info_sources.exp: Skip directory match tests on
956 remote hosts.
957
f413dd74
GB
9582020-07-13 Gary Benson <gbenson@redhat.com>
959
960 * gdb.base/savedregs.exp (caller): Use parentheses to
961 make expected expression evaluation ordering explicit.
962
915771bb
GB
9632020-07-13 Gary Benson <gbenson@redhat.com>
964
965 * gdb.arch/i386-sse.c (have_sse) <edx>: Make unsigned.
966
2a122642
GB
9672020-07-13 Gary Benson <gbenson@redhat.com>
968
969 * gdb.base/bigcore.c (main): Use a volatile pointer when
970 attempting to trigger a SIGSEGV.
971 * gdb.base/gcore-relro-pie.c (break_here): Likewise.
972 * gdb.base/gcore-tls-pie.c (break_here): Likewise.
973 * gdb.base/savedregs.c (thrower): Likewise.
974 * gdb.mi/mi-syn-frame.c (bar): Likewise.
975
3f00c730
GB
9762020-07-13 Gary Benson <gbenson@redhat.com>
977
978 * gdb.base/vla-datatypes.c (vla_factory): Factor out sections
979 defining and using VLA structure fields into...
980 * gdb.base/vla-struct-fields.c: New file.
981 * gdb.base/vla-datatypes.exp: Factor out VLA structure field
982 tests into...
983 * gdb.base/vla-struct-fields.exp: New file.
984
963eeee4
TV
9852020-07-13 Tom de Vries <tdevries@suse.de>
986
987 * lib/gdb.exp (have_fuse_ld_gold): New caching proc.
988 * gdb.base/gcore-tls-pie.exp: Use have_fuse_ld_gold.
989 * gdb.base/gold-gdb-index.exp: Same.
990 * gdb.base/morestack.exp: Same.
991
0ed35c9a
DX
9922020-07-11 Daniel Xu <dxu@dxuuu.xyz>
993
994 PR rust/26121
995 * gdb.rust/modules.rs: Prevent linker from discarding test
996 symbol.
997
4fdba23d
PA
9982020-07-10 Pedro Alves <pedro@palves.net>
999
1000 PR gdb/26199
1001 * gdb.multi/multi-target.c (exit_thread): New.
1002 (thread_start): Break loop if EXIT_THREAD.
1003 * gdb.multi/multi-target.exp (test_no_unwaited_for): New proc.
1004 (top level) Call test_no_resumed.
1005
15f3b077
TT
10062020-07-08 Tom Tromey <tromey@adacore.com>
1007
1008 * gdb.ada/catch_ex/foo.adb: Pass string to raise.
1009 * gdb.ada/catch_ex.exp: Examine catchpoint text.
1010
9fc501fd
AB
10112020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
1012
1013 PR python/22748
1014 * gdb.opt/inline-frame-tailcall.c: New file.
1015 * gdb.opt/inline-frame-tailcall.exp: New file.
1016 * gdb.python/py-unwind-inline.c: New file.
1017 * gdb.python/py-unwind-inline.exp: New file.
1018 * gdb.python/py-unwind-inline.py: New file.
1019
64cb3757
AB
10202020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
1021
1022 * gdb.python/py-arch-reg-groups.exp: New file.
1023
0f767f94
AB
10242020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
1025
1026 * gdb.python/py-arch-reg-names.exp: New file.
1027
87dbc774
AB
10282020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
1029
1030 * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for
1031 gdb.PendingFrame.architecture method.
1032
d8cc8af6
TV
10332020-07-06 Tom de Vries <tdevries@suse.de>
1034
1035 * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order.
1036
3c8ea5be
PA
10372020-07-03 Pedro Alves <palves@redhat.com>
1038
1039 * gdb.base/structs2.c (main): Adjust second parem_reg call to
1040 explicitly write negative numbers.
1041 * gdb.base/structs2.exp: Adjust expected output.
1042
bf90c83a
PA
10432020-07-03 Pedro Alves <palves@redhat.com>
1044
1045 * gdb.base/charset.c (init_string): Change all char parameters to
1046 unsigned char parameters.
1047
2eb82157
PA
10482020-07-03 Pedro Alves <palves@redhat.com>
1049
1050 * gdb.base/call-sc.exp (start_scalars_test): Use
1051 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
1052 * gdb.base/overlays.c: Remove references to PARAMS.
1053 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
1054 * gdb.base/reread.exp: Don't set 'prototypes' global.
1055 * gdb.base/structs.exp (start_structs_test): Use
1056 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
1057 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
1058 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
1059 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
1060 call.
1061 * gdb.base/varargs.exp: Don't set 'prototypes' global.
1062
9adda7af
PA
10632020-07-03 Pedro Alves <palves@redhat.com>
1064
1065 * gdb.base/m32rovly.c: Delete.
1066 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
1067
2a17c803
PW
10682020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1069
1070 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
1071 of gdb_py_test_multiple.
1072 * gdb.python/py-cmd.exp: Likewise.
1073 * gdb.python/py-events.exp: Likewise.
1074 * gdb.python/py-function.exp: Likewise.
1075 * gdb.python/py-inferior.exp: Likewise.
1076 * gdb.python/py-infthread.exp: Likewise.
1077 * gdb.python/py-linetable.exp: Likewise.
1078 * gdb.python/py-parameter.exp: Likewise.
1079 * gdb.python/py-value.exp: Likewise.
1080
b011fe1a
TV
10812020-06-30 Tom de Vries <tdevries@suse.de>
1082
1083 PR testsuite/26175
1084 * lib/future.exp (gdb_default_target_compile): Detect and handle
1085 early_flags.
1086
df5b8876
SM
10872020-06-29 Simon Marchi <simon.marchi@efficios.com>
1088
1089 * boards/simavr.exp (gdb_load): Catch errors when closing
1090 previous connection. Close connection, wait for process and
1091 unset simavr_spawn_id on failure.
1092
a3ca48cd
TV
10932020-06-29 Tom de Vries <tdevries@suse.de>
1094
1095 * lib/gdb.exp (unknown): Make test-case unresolved.
1096
b0237c0e
TV
10972020-06-29 Tom de Vries <tdevries@suse.de>
1098
1099 PR gdb/25475
1100 * gdb.server/solib-list.exp: Verify that the symbol reload
1101 confirmation question is asked.
1102
c0b3b3bd
PW
11032020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1104
1105 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
1106 have a input seq nr in each pass message.
fe4c3d43 1107 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
c0b3b3bd
PW
1108 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
1109 * gdb.python/python.exp: Make test names unique,
1110 use gdb_test_multiline instead of gdb_py_test_multiple,
1111 use $gdb_test_name.
1112 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
1113
1776e3e5
NA
11142020-06-26 Nick Alcock <nick.alcock@oracle.com>
1115
1116 * configure.ac: Add --enable-libctf.
1117 * aclocal.m4: sinclude ../config/enable.m4.
1118 * Makefile.in (site.exp): Add enable_libctf to site.exp.
1119 * lib/gdb.exp (skip_ctf_tests): Use it.
1120 * gdb.base/ctf-constvars.exp: Error message tweak.
1121 * gdb.base/ctf-ptype.exp: Likewise.
1122 * configure: Regenerate.
1123
f53b3eeb
GB
11242020-06-26 Gary Benson <gbenson@redhat.com>
1125
1126 * gdb.cp/try_catch.cc: Include string.h.
1127 (main): Replace comparison against string literal with
1128 strcmp, avoiding build failure with -Wstring-compare.
1129 Add "marker test-complete".
1130 * gdb.cp/try_catch.exp: Run the test to the above marker,
1131 then verify that the value of "test" is still true.
1132
6d74da72
AB
11332020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
1134
1135 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
1136
2e52d038
AB
11372020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
1138
1139 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
1140
3b9fce96
AB
11412020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
1142
1143 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
1144 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
1145 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
1146 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
1147 * gdb.arch/riscv-tdesc-loading.exp: New file.
1148
ed69cbc8
AB
11492020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
1150
1151 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
1152
767a879e
AB
11532020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
1154
1155 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
1156 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
1157 * gdb.arch/riscv-tdesc-regs.c: New file.
1158 * gdb.arch/riscv-tdesc-regs.exp: New file.
1159
221db974
PA
11602020-06-24 Pedro Alves <palves@redhat.com>
1161
1162 * gdb.arch/amd64-entry-value-paramref.exp: Use
1163 prepare_for_testing_full and don't pass "c++" for the .S file
1164 build spec.
1165 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
1166 $options, since it's an assembly file. Remove -Wno-deprecated.
1167 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
1168 compiling C++ programs.
1169
331733cd
PA
11702020-06-24 Pedro Alves <palves@redhat.com>
1171
1172 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
1173 Clang, add "-Wno-unknown-warning-option" to the options.
1174
caa7fd04
AB
11752020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
1176
1177 * gdb.xml/tdesc-reload.c: New file.
1178 * gdb.xml/tdesc-reload.exp: New file.
1179 * gdb.xml/maint-xml-dump-01.xml: New file.
1180 * gdb.xml/maint-xml-dump-02.xml: New file.
1181 * gdb.xml/maint-xml-dump.exp: New file.
1182
bb8d1260
SL
11832020-06-23 Sandra Loosemore <sandra@codesourcery.com>
1184
1185 * lib/completion-support.exp (test_gdb_completion_offers_commands):
1186 Adjust for omitted commands when TUI is disabled.
1187
7e4b9c4c
GB
11882020-06-23 Gary Benson <gbenson@redhat.com>
1189 Pedro Alves <palves@redhat.com>
1190
1191 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
1192 * gdb.cp/nsimport.cc: Likewise.
1193 * gdb.cp/nsnested.cc: Likewise.
1194 * gdb.cp/nsnoimports.cc: Likewise.
1195 * gdb.cp/nsusing.cc: Likewise.
1196 * gdb.cp/smartp.cc: Likewise.
1197 * gdb.python/py-pp-integral.c: Likewise.
1198 * gdb.python/py-pp-re-notag.c: Likewise.
1199
2e573c0a
GB
12002020-06-23 Gary Benson <gbenson@redhat.com>
1201
1202 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
1203 * gdb.cp/nsimport.cc: Likewise.
1204 * gdb.cp/nsnested.cc: Likewise.
1205 * gdb.cp/nsnoimports.cc: Likewise.
1206 * gdb.cp/nsusing.cc: Likewise.
1207 * gdb.cp/smartp.cc: Likewise.
1208 * gdb.python/py-pp-integral.c: Likewise.
1209 * gdb.python/py-pp-re-notag.c: Likewise.
1210
746ebfe8
PW
12112020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1212
1213 * gdb.base/default-args.exp: New test.
1214 * gdb.base/default-args.c: New file.
1215 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
1216 * gdb.base/default.exp: Update to new help text.
1217 * gdb.base/help.exp: Likewise.
1218 * gdb.base/page.exp: Likewise.
1219 * gdb.base/style.exp: Likewise.
1220 * gdb.guile/guile.exp: Likewise.
1221 * gdb.python/python.exp: Likewise.
1222
e822f2cd
SL
12232020-06-22 Sandra Loosemore <sandra@codesourcery.com>
1224
1225 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
1226 remote host. Fix search path syntax on Windows host.
1227
48e9cc84
PW
12282020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1229
1230 * gdb.base/attach.exp: Test priority of 'exec-file' changed
1231 over 'exec-file-mismatch'.
1232 * gdb.base/attach.c: Mark should_exit volatile.
1233 * gdb.base/attach2.c: Likewise. Add a comment explaining
1234 why the sleep cannot be big.
1235 * gdb.base/attach3.c: New file.
1236
160f8a8f
SL
12372020-06-20 Sandra Loosemore <sandra@codesourcery.com>
1238
1239 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
1240 prefix optional.
1241
4d91c2a4
SL
12422020-06-20 Sandra Loosemore <sandra@codesourcery.com>
1243
1244 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
1245 for remote host.
1246
87f83f20
SL
12472020-06-19 Sandra Loosemore <sandra@codesourcery.com>
1248 Hafiz Abid Qadeer <abidh@codesourcery.com>
1249
1250 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
1251 file sent to remote host.
1252 (top level): Allow int32_t as type of 32-bit register.
1253
37ab8655
TV
12542020-06-19 Tom de Vries <tdevries@suse.de>
1255
1256 * lib/gdb.exp (gdb_note): New proc.
1257 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
1258 (gdb_default_target_compile): ... here. Only call
1259 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
1260 (use_gdb_compile): Change to array.
1261 (toplevel): Update sets of use_gdb_compile to specify language.
1262 Warn about default_target_compile override. Store dejagnu's version
1263 of default_target_compile in dejagnu_default_target_compile.
1264
a8a56685
TV
12652020-06-18 Tom de Vries <tdevries@suse.de>
1266
1267 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
1268 (default_gdb_init): ... here.
1269
581bea2c
SL
12702020-06-17 Sandra Loosemore <sandra@codesourcery.com>
1271
1272 Fix TUI support checks in gdb.tui tests.
1273
1274 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
1275 just say UNSUPPORTED.
1276 * gdb.tui/corefile-run.exp: Likewise.
1277 * gdb.tui/empty.exp: Likewise.
1278 * gdb.tui/list-before.exp: Likewise.
1279 * gdb.tui/list.exp: Likewise.
1280 * gdb.tui/main.exp: Likewise.
1281 * gdb.tui/regs.exp: Likewise.
1282 * gdb.tui/resize.exp: Likewise.
1283 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
1284 * gdb.tui/tui-layout-asm.exp: Likewise.
1285 * gdb.tui/tui-missing-src.exp: Likewise.
1286 * gdb.tui/winheight.exp: Likewise.
1287 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
1288
05e682e3
SL
12892020-06-17 Sandra Loosemore <sandra@codesourcery.com>
1290
1291 Fix TCL error in gdb.python/py-format-string.exp.
1292
1293 * gdb.python/py-format-string.exp: Move test for python support
1294 earlier, out of function body.
1295
efb763a5
SM
12962020-06-15 Simon Marchi <simon.marchi@efficios.com>
1297
1298 * gdb.base/index-cache-load-twice.c: New.
1299 * gdb.base/index-cache-load-twice.exp: New.
1300
43327b20
KS
13012020-06-17 Keith Seitz <keiths@redhat.com>
1302
99cf27cf 1303 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
43327b20
KS
1304 when executing "gdb --configuration".
1305
081e778c
TV
13062020-06-17 Tom de Vries <tdevries@suse.de>
1307
1308 * lib/gdb.exp (gdb_tcl_unknown): New proc.
1309 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
1310 conditional on presence of gdb_tcl_unknown.
1311 (gdb_finish): Make override undo conditional on presence of
1312 gdb_tcl_unknown.
1313
d2d1ea20
TT
13142020-06-16 Tom Tromey <tom@tromey.com>
1315
1316 * gdb.python/tui-window.py (failwin): New function. Register it
1317 as a TUI window type.
1318 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
1319
c802e8a7
GB
13202020-06-16 Gary Benson <gbenson@redhat.com>
1321
1322 * gdb.python/py-nested-maps.c (create_map): Add missing return
1323 value.
1324 (create_map_map): Likewise.
1325
ff08abb8
TBA
13262020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1327
1328 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
1329 variable.
1330 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
1331 and use the already-defined 'options' variable.
1332
a29d5112
AB
13332020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
1334 Tom de Vries <tdevries@suse.de>
1335
1336 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
1337 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
1338 (gdb_setup_known_globals): New proc.
1339 (gdb_cleanup_globals): New proc.
1340 * lib/gdb.exp (load_lib): New override proc.
1341 (gdb_stdin_log_init): Set var in_file as persistent global.
1342 * lib/pascal.exp (gdb_stdin_log_init): Set vars
1343 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
1344 fpc_compiler as persistent global.
1345
8c74a764
TV
13462020-06-12 Tom de Vries <tdevries@suse.de>
1347
1348 * lib/tuiterm.exp (spawn): Rename to ...
1349 (tui_spawn): ... this.
1350 (toplevel): Move rename of spawn ...
1351 (gdb_init_tuiterm): ... here. New proc.
1352 (gdb_finish_tuiterm): New proc.
1353 * lib/gdb.exp (gdb_finish_hooks): New global var.
1354 (gdb_finish): Handle gdb_finish_hooks.
1355 (tuiterm_env): New proc.
1356 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
1357 tuiterm_env.
1358 * gdb.tui/basic.exp: Same.
1359 * gdb.tui/corefile-run.exp: Same.
1360 * gdb.tui/empty.exp: Same.
1361 * gdb.tui/list-before.exp: Same.
1362 * gdb.tui/list.exp: Same.
1363 * gdb.tui/main.exp: Same.
1364 * gdb.tui/new-layout.exp: Same.
1365 * gdb.tui/regs.exp: Same.
1366 * gdb.tui/resize.exp: Same.
1367 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
1368 * gdb.tui/tui-layout-asm.exp: Same.
1369 * gdb.tui/tui-missing-src.exp: Same.
1370 * gdb.tui/winheight.exp: Same.
1371
26783bce
TV
13722020-06-12 Tom de Vries <tdevries@suse.de>
1373
1374 PR testsuite/26110
1375 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
1376 (gdb_finish): Reinstall dejagnu's override of ::unknown.
1377
2b4e6a3f
TT
13782020-06-11 Tom Tromey <tom@tromey.com>
1379
1380 PR gdb/18318:
1381 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
1382 floating point tests.
1383
2f33032a
KS
13842020-06-11 Keith Seitz <keiths@redhat.com>
1385
1386 PR gdb/21356
1387 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
1388 vla_struct.
1389 Add new struct vla_typedef and union vla_typedef_union and
1390 corresponding instantiation objects.
1391 Initialize new objects.
1392 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
1393 and vla_typedef_union_object.
1394 Fixup type for vla_struct_object.
1395
a8baf0a3
TV
13962020-06-11 Tom de Vries <tdevries@suse.de>
1397
1398 * lib/gdb.exp (with_override): New proc, factored out of ...
1399 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
1400
7ab96794
TV
14012020-06-10 Tom de Vries <tdevries@suse.de>
1402
1403 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
1404
cab5c3b7
SM
14052020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
1406
1407 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
1408 parameter, update callers.
1409
f8c41851
SM
14102020-06-04 Simon Marchi <simon.marchi@efficios.com>
1411
1412 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
1413 * gdb.dwarf2/share-psymtabs-bt.c: New file.
1414 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
1415
1c07a73f
TV
14162020-06-04 Tom de Vries <tdevries@suse.de>
1417
1418 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
1419
95146b5d
TV
14202020-06-04 Tom de Vries <tdevries@suse.de>
1421
1422 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
1423 exp_continue.
1424
0cfcd4f0
TV
14252020-06-04 Tom de Vries <tdevries@suse.de>
1426
1427 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
1428
f9b5d5ea
TV
14292020-06-03 Tom de Vries <tdevries@suse.de>
1430
1431 PR symtab/26046
1432 * gdb.cp/breakpoint-locs-2.cc: New test.
1433 * gdb.cp/breakpoint-locs.cc: New test.
1434 * gdb.cp/breakpoint-locs.exp: New file.
1435 * gdb.cp/breakpoint-locs.h: New test.
1436
5144dfba
TV
14372020-06-03 Tom de Vries <tdevries@suse.de>
1438
1439 PR testsuite/25609
1440 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
1441 value of global verbose.
1442 * gdb.base/jit-elf.exp: Same.
1443 * gdb.base/jit-reader.exp: Same.
1444
621eacdf
TV
14452020-06-02 Tom de Vries <tdevries@suse.de>
1446
1447 * gdb.dwarf2/multidictionary.exp: Don't use
1448 gdb_spawn_with_cmdline_opts.
1449
1313c56e
AB
14502020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
1451
1452 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
1453 use_header case.
1454 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
1455 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
1456 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
1457 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
1458 * gdb.dwarf2/dw2-inline-header.c: New file.
1459 * gdb.dwarf2/dw2-inline-header.h: New file.
1460
f68f85b5
PA
14612020-05-30 Pedro Alves <palves@redhat.com>
1462
1463 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
1464 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
1465
678048e8
GB
14662020-05-29 Gary Benson <gbenson@redhat.com>
1467
1468 * gdb.compile/compile-cplus.exp (additional_flags): Also
1469 set when building with clang.
1470 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
1471 when building with clang.
1472
9fcafd23
GB
14732020-05-29 Gary Benson <gbenson@redhat.com>
1474
1475 * gdb.arch/i386-avx.exp (additional_flags): Also set when
1476 building with clang.
1477 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
1478
735d5a07
GB
14792020-05-29 Gary Benson <gbenson@redhat.com>
1480
1481 * gdb.cp/koenig.exp (prepare_for_testing): Add
1482 additional_flags=-Wno-unused-comparison.
1483 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
1484
4ad2c6a0
GB
14852020-05-28 Gary Benson <gbenson@redhat.com>
1486
1487 * gdb.base/sigaltstack.c (catcher): Add default case to switch
1488 statement.
1489
09fe663e
GB
14902020-05-28 Gary Benson <gbenson@redhat.com>
1491
1492 * gdb.cp/classes.exp (prepare_for_testing): Add
1493 additional_flags=-Wno-deprecated-register.
1494 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
1495 * gdb.cp/misc.exp: Likewise.
1496
cee00f17
GB
14972020-05-28 Gary Benson <gbenson@redhat.com>
1498
1499 * gdb.linespec/cpls-ops.cc (dummy): New static global.
1500 (test_op_new::operator new): Add return statement.
1501 (test_op_new_array::operator new[]): Likewise.
1502
636edd00
PA
15032020-05-27 Pedro Alves <palves@redhat.com>
1504
1505 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
1506 check. Use test_gdb_complete_unique instead of
1507 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
1508 test_gdb_complete_multiple instead of
1509 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
1510
c2b75043
LM
15112020-05-27 Luis Machado <luis.machado@linaro.org>
1512
1513 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
1514 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
1515 * gdb.arch/arm-disassembler-options.exp: Likewise.
1516 * gdb.arch/arm-disp-step.exp: Likewise.
1517 * gdb.arch/thumb-prologue.exp: Likewise.
1518 * gdb.base/async.exp: Likewise.
1519 * gdb.base/auxv.exp: Likewise.
1520 * gdb.base/complex-parts.exp: Likewise.
1521 * gdb.base/ena-dis-br.exp: Likewise.
1522 * gdb.base/foll-exec.exp: Likewise.
1523 * gdb.base/permissions.exp: Likewise.
1524 * gdb.base/relocate.exp: Likewise.
1525 * gdb.base/return2.exp: Likewise.
1526 * gdb.base/sigbpt.exp: Likewise.
1527 * gdb.base/siginfo-obj.exp: Likewise.
1528 * gdb.cp/converts.exp: Likewise.
1529 * gdb.cp/exceptprint.exp: Likewise.
1530 * gdb.cp/inherit.exp: Likewise.
1531 * gdb.cp/nsnoimports.exp: Likewise.
1532 * gdb.cp/virtbase2.exp: Likewise.
1533 * gdb.mi/mi-var-cmd.exp: Likewise.
1534 * gdb.mi/var-cmd.c: Likewise.
1535
53a47a3e
TT
15362020-05-26 Tom Tromey <tromey@adacore.com>
1537
1538 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
1539
0bc2354b
TT
15402020-05-26 Tom Tromey <tromey@adacore.com>
1541
1542 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
1543 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
1544 type.
1545 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
1546 variable.
1547
0db49895
CBG
15482020-05-26 Christian Biesinger <cbiesinger@google.com>
1549
1550 * Makefile.in: Use = instead of == for the test command
1551 for portability.
1552
40d22035
TV
15532020-05-26 Tom de Vries <tdevries@suse.de>
1554
1555 * gdb.base/gold-gdb-index-2.c: New test.
1556 * gdb.base/gold-gdb-index.c: New test.
1557 * gdb.base/gold-gdb-index.exp: New file.
1558 * gdb.base/gold-gdb-index.h: New test.
1559
043e2e02
TV
15602020-05-25 Tom de Vries <tdevries@suse.de>
1561
1562 * boards/gold-gdb-index.exp: New file.
1563
462f72c5
SM
15642020-05-25 Simon Marchi <simon.marchi@efficios.com>
1565
1566 * boards/simavr.exp: New file.
1567
6cf66e76
SM
15682020-05-25 Simon Marchi <simon.marchi@efficios.com>
1569
1570 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
1571 * gdb.base/inferior-args.exp: New file.
1572 * gdb.base/inferior-args.c: New file.
1573
75d04512
SM
15742020-05-25 Simon Marchi <simon.marchi@efficios.com>
1575
1576 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
1577 inferior_args. Pass it to gdb_reload.
1578 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
1579 inferior_args.
1580 (gdb_reload): Add inferior_args argument.
1581 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
1582 pass it to gdbserver_run.
1583 * boards/native-gdbserver.exp: Do not set noargs.
1584 * boards/native-extended-gdbserver.exp (gdb_reload): Add
1585 inferior_args argument.
1586 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
1587 * gdb.base/a2-run.exp: Check for use_gdb_stub.
1588 * gdb.base/args.exp: Likewise.
1589
42cf1844
TV
15902020-05-25 Tom de Vries <tdevries@suse.de>
1591
1592 * lib/gdb.exp (exec_is_pie): Add comment.
1593
8f7d38ef
TV
15942020-05-25 Tom de Vries <tdevries@suse.de>
1595
1596 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
1597 instead of $binfile in the untested message.
1598
465e1b0f
TV
15992020-05-25 Tom de Vries <tdevries@suse.de>
1600
1601 PR testsuite/26031
1602 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
1603
3c5a0e02
TV
16042020-05-25 Tom de Vries <tdevries@suse.de>
1605
1606 * boards/gold.exp: New file.
1607
0a4f5f8c
TT
16082020-05-23 Tom Tromey <tom@tromey.com>
1609
1610 * gdb.base/style.exp: Remove completion styling test.
1611 * lib/gdb-utils.exp (style): Remove completion styles.
1612
eca1f90c
TT
16132020-05-23 Tom Tromey <tom@tromey.com>
1614
1615 * gdb.base/style.exp: Add completion styling test.
1616 * lib/gdb-utils.exp (style): Add completion styles.
1617
7c13f4e8
AB
16182020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
1619
1620 * gdb.base/annota1.exp: Update expected results.
1621 * gdb.cp/annota2.exp: Update expected results, remove duplicate
1622 test name.
1623 * gdb.cp/annota3.exp: Update expected results.
1624
41977d16
SM
16252020-05-20 Simon Marchi <simon.marchi@efficios.com>
1626
1627 PR gdb/26016
1628 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
1629 against MAP_FAILED.
1630 * gdb.base/coremaker.c (mmapdata): Likewise.
1631 * gdb.base/jit-reader-host.c (main): Likewise.
1632 * gdb.base/sym-file-loader.c (load): Likewise.
1633 (load_shlib): Likewise.
1634
b4757f2e
TT
16352020-05-20 Tom Tromey <tromey@adacore.com>
1636
1637 * gdb.ada/array_char_idx.exp: Recognize initialized array.
1638
9a0bacfb
TV
16392020-05-20 Tom de Vries <tdevries@suse.de>
1640
1641 PR symtab/25833
1642 * gdb.base/with-mf-inc.c: New test.
1643 * gdb.base/with-mf-main.c: New test.
1644 * gdb.base/with-mf.exp: New file.
1645
76571211
TT
16462020-05-19 Tom Tromey <tromey@adacore.com>
1647
1648 * gdb.rust/simple.exp: Restore missing test result.
1649
4cd9f3d5
TV
16502020-05-19 Tom de Vries <tdevries@suse.de>
1651
1652 * gdb.base/gdb-caching-proc.exp: Fix typo.
1653
7d874253
TT
16542020-05-19 Tom Tromey <tromey@adacore.com>
1655
1656 * gdb.rust/simple.exp: Add some test descriptions.
1657 (test_one_slice): Use with_test_prefix.
1658
1d727695
TV
16592020-05-18 Tom de Vries <tdevries@suse.de>
1660
1661 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
1662
7f32a4d5
PA
16632020-05-17 Pedro Alves <palves@redhat.com>
1664
1665 PR gdb/25741
1666 * gdb.base/hw-sw-break-same-address.exp: New file.
1667
7cfd74cf
PA
16682020-05-16 Pedro Alves <palves@redhat.com>
1669
1670 * gdb.multi/multi-re-run.exp (test_re_run): Switch
1671 LAST_LOADED_FILE accordingly.
1672
57b4f16e
PW
16732020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1674
1675 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
1676
7c05caf7
PW
16772020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1678
1679 * gdb.base/help.exp: Test apropos and help for commands
1680 having aliases. Fixed comments not starting with an
1681 upper-case letter or not finishing with a dot.
1682
7aa1b46f
PW
16832020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1684
3b3aaacb
PW
1685 * gdb.base/alias.exp: Update help output check.
1686
57b4f16e 16872020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3b3aaacb 1688
7aa1b46f
PW
1689 * gdb.base/default.exp: Update output following fixes.
1690
0605465f
PW
16912020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1692
1693 * gdb.base/alias.exp: Test aliases starting with a prefix of
1694 another alias.
1695
86e4e63d
GB
16962020-05-15 Gary Benson <gbenson@redhat.com>
1697
1698 * gdb.base/info-os.c (main): Add return statement.
1699 * gdb.base/info_minsym.c (minsym_fun): Likewise.
1700 * gdb.base/large-frame-2.c (func): Likewise.
1701 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
1702 * gdb.base/pr10179-b.c (foo2): Likewise.
1703 * gdb.base/valgrind-disp-step.c (foo): Likewise.
1704 * gdb.base/watch-cond.c (func): Likewise.
1705 * gdb.multi/goodbye.c (verylongfun): Likewise.
1706 * gdb.multi/hello.c (commonfun): Likewise.
1707 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
1708 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
1709 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
1710 Likewise.
1711 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
1712 * gdb.threads/interrupt-while-step-over.c (child_function):
1713 Likewise.
1714 * gdb.trace/actions-changed.c (end): Likewise.
1715
163df4df
GB
17162020-05-15 Gary Benson <gbenson@redhat.com>
1717
1718 * gdb.opencl/callfuncs.exp: Report when test skipped.
1719 * gdb.opencl/convs_casts.exp: Likewise.
1720 * gdb.opencl/datatypes.exp: Likewise.
1721 * gdb.opencl/operators.exp: Likewise.
1722 * gdb.opencl/vec_comps.exp: Likewise.
1723
6dbc505a
TV
17242020-05-15 Tom de Vries <tdevries@suse.de>
1725
1726 * gdb.base/align.exp.in: Rename to ...
1727 * gdb.base/align.exp.tcl: ... this.
1728 * gdb.base/align-c++.exp: Update.
1729 * gdb.base/align-c.exp: Update.
1730 * gdb.base/all-architectures.exp.in: Rename to ...
1731 * gdb.base/all-architectures.exp: ... this.
1732 * gdb.base/all-architectures-0.exp: Update.
1733 * gdb.base/all-architectures-1.exp: Update.
1734 * gdb.base/all-architectures-2.exp: Update.
1735 * gdb.base/all-architectures-3.exp: Update.
1736 * gdb.base/all-architectures-4.exp: Update.
1737 * gdb.base/all-architectures-5.exp: Update.
1738 * gdb.base/all-architectures-6.exp: Update.
1739 * gdb.base/all-architectures-7.exp: Update.
1740 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
1741 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
1742 * gdb.base/infcall-nested-structs-c++.exp: Update.
1743 * gdb.base/infcall-nested-structs-c.exp: Update.
1744 * gdb.base/info-types.exp.in: Rename to ...
1745 * gdb.base/info-types.exp.tcl: ... this.
1746 * gdb.base/info-types-c++.exp: Update.
1747 * gdb.base/info-types-c.exp: Update.
1748 * gdb.base/max-depth.exp.in: Rename to ...
1749 * gdb.base/max-depth.exp.tcl: ... this.
1750 * gdb.base/max-depth-c++.exp: Update.
1751 * gdb.base/max-depth-c.exp: Update.
1752 * gdb.cp/cpexprs.exp.in: Rename to ...
1753 * gdb.cp/cpexprs.exp.tcl: ... this.
1754 * gdb.cp/cpexprs-debug-types.exp: Update.
1755 * gdb.cp/cpexprs.exp: Update.
1756 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
1757 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
1758 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
1759 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
1760 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
1761 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
1762 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
1763 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
1764 * gdb.dwarf2/clang-debug-names-2.exp: Update.
1765 * gdb.dwarf2/clang-debug-names.exp: Update.
1766
d1034d78
AB
17672020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
1768
1769 * lib/check-test-names.exp: Remove code that prevents this file
1770 loading when tests are run in parallel.
1771
3c5c3649
PA
17722020-05-15 Pedro Alves <palves@redhat.com>
1773
1774 * gdb.multi/multi-kill.exp (start_inferior): Remove
1775 'testpid' parameter. Refer to namespace variable directly.
1776 (testpid): Declare as namespace variable.
1777
272c36b8
PA
17782020-05-15 Pedro Alves <palves@redhat.com>
1779
1780 * gdb.multi/multi-kill.exp: Wrap in namespace.
1781 (start_inferior): Add TESTPID parameter. Use it instead of the
1782 testpid global.
1783 (top level): Define empty TESTPID array, and pass it down to
1784 start_inferior.
1785
02eba61a
TV
17862020-05-14 Tom de Vries <tdevries@suse.de>
1787
1788 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
1789 output.
1790
971a3747
TV
17912020-05-14 Tom de Vries <tdevries@suse.de>
1792
1793 * gdb.base/align.exp: Split into ...
1794 * gdb.base/align.exp.in: ...
1795 * gdb.base/align-c++.exp: ...
1796 * gdb.base/align-c.exp: ... these.
1797 * gdb.base/infcall-nested-structs.exp: Split into ...
1798 * gdb.base/infcall-nested-structs.exp.in: ...
1799 * gdb.base/infcall-nested-structs-c++.exp: ...
1800 * gdb.base/infcall-nested-structs-c.exp: ... these.
1801 * gdb.base/info-types.exp: Split into ...
1802 * gdb.base/info-types.exp.in: ...
1803 * gdb.base/info-types-c++.exp: ...
1804 * gdb.base/info-types-c.exp: ... these.
1805 * gdb.base/max-depth.exp: Split into ...
1806 * gdb.base/max-depth.exp.in: ...
1807 * gdb.base/max-depth-c++.exp: ...
1808 * gdb.base/max-depth-c.exp: ... these.
1809 * gdb.cp/infcall-nodebug.exp: Split into ...
1810 * gdb.cp/infcall-nodebug.exp.in: ...
1811 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
1812 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
1813 * gdb.cp/infcall-nodebug-c-d0.exp: ...
1814 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
1815
a05575d3
TBA
18162020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1817 Pedro Alves <palves@redhat.com>
1818
1819 * gdb.multi/multi-exit.c: New file.
1820 * gdb.multi/multi-exit.exp: New file.
1821 * gdb.multi/multi-kill.c: New file.
1822 * gdb.multi/multi-kill.exp: New file.
1823
6ad82919
TBA
18242020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1825
1826 * gdb.base/annota1.exp: Update the expected output.
1827 * gdb.cp/annota2.exp: Ditto.
1828
843f4d93
AB
18292020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
1830
1831 * lib/check-test-names.exp: Disable when testing is being run in
1832 parallel.
1833
c7c66341
TV
18342020-05-12 Tom de Vries <tdevries@suse.de>
1835
1836 * gdb.base/jit-elf.exp: Fix string concat.
1837
1b59ca1c
TV
18382020-05-12 Tom de Vries <tdevries@suse.de>
1839
1840 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
1841 messages.
1842
b4991d29
TV
18432020-05-12 Tom de Vries <tdevries@suse.de>
1844
1845 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
1846
dbb0ab10
TV
18472020-05-12 Tom de Vries <tdevries@suse.de>
1848
1849 * gdb.ada/catch_ex.exp: Use with_test_prefix.
1850 * gdb.ada/mi_catch_ex.exp: Same.
1851 * gdb.ada/mi_catch_ex_hand.exp: Same.
1852
7549fed8
TV
18532020-05-12 Tom de Vries <tdevries@suse.de>
1854
1855 * gdb.fortran/complex.exp: Use with_test_prefix.
1856
af2d5cd8
TV
18572020-05-12 Tom de Vries <tdevries@suse.de>
1858
1859 * gdb.trace/passcount.exp: Fix test-names.
1860
7c121311
TV
18612020-05-12 Tom de Vries <tdevries@suse.de>
1862
1863 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
1864
c9f3b40e
TV
18652020-05-12 Tom de Vries <tdevries@suse.de>
1866
1867 * gdb.gdb/complaints.exp: Use with_test_prefix.
1868 * gdb.xml/tdesc-regs.exp: Same.
1869 * gdb.opt/inline-locals.exp: Fix test name.
1870
111b33f0
TV
18712020-05-12 Tom de Vries <tdevries@suse.de>
1872
1873 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
1874 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
1875 * gdb.dwarf2/implref-struct.exp: Same.
1876 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
1877 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
1878
ebf47080
SM
18792020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
1880
1881 * gdb.base/jit-so.exp (one_jit_test): Change test name.
1882
d30dcd12
AB
18832020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
1884
1885 * lib/check-test-names.exp (all_test_names): New module variable.
1886 (counts): Add 'duplicates' field.
1887 (_check_duplicates): New procedure.
1888 (check): Also check for duplicates.
1889 (do_log_summary): Print duplicates count.
1890 (do_reset_vars): Reset counter for duplicate test names, and
1891 discard all know test names.
1892
34584c09
AB
18932020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
1894
1895 * lib/gdb.exp: Include check-test-names.exp library.
1896 * lib/check-test-names.exp: New file.
1897
e0002117
TV
18982020-05-11 Tom de Vries <tdevries@suse.de>
1899
1900 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
1901
53f539a3
KS
19022020-05-11 Keith Seitz <keiths@redhat.com>
1903
1904 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
1905
113ee09a
TV
19062020-05-11 Tom de Vries <tdevries@suse.de>
1907
1908 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
1909 * gdb.cp/cpexprs.exp.in: .. here.
1910 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
1911 cpexprs.exp.
1912
ba3e70b0
KS
19132020-05-11 Keith Seitz <keiths@redhat.com>
1914
1915 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
1916 test names.
1917 * gdb.ada/arrayptr.exp: Likewise.
1918 * gdb.ada/assign_arr.exp: Likewise.
1919 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
1920 * gdb.ada/bp_on_var.exp: Likewise.
1921 * gdb.ada/call_pn.exp: Likewise.
1922 * gdb.ada/complete.exp: Likewise.
1923 * gdb.ada/fun_overload_menu.exp: Likewise.
1924 * gdb.ada/funcall_param.exp: Likewise.
1925 * gdb.ada/funcall_ref.exp: Likewise.
1926 * gdb.ada/packed_array_assign.exp: Likewise.
1927 * gdb.ada/same_component_name.exp: Likewise.
1928 * gdb.ada/type_coercion.exp: Likewise.
1929 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
1930 * gdb.ada/variant_record_packed_array.exp: Likewise.
1931
3ee6bb11
TV
19322020-05-11 Tom de Vries <tdevries@suse.de>
1933
1934 PR symtab/25941
1935 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
1936 out of ...
1937 * gdb.dwarf2/clang-debug-names.exp: ... here.
1938 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
1939 clang-debug-names.exp.in.
1940 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
1941 * gdb.dwarf2/clang-debug-names-2.c: New test.
1942
86cd6bc8
AKS
19432020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
1944
1945 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
1946 (fortran_runto_main): New Proc, fortran version of runto_main.
1947 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
1948 * gdb.fortran/array-bounds.exp: Likewise.
1949 * gdb.fortran/array-slices.exp: Likewise.
1950 * gdb.fortran/block-data.exp: Likewise.
1951 * gdb.fortran/charset.exp: Likewise.
1952 * gdb.fortran/common-block.exp: Likewise.
1953 * gdb.fortran/complex.exp: Likewise.
1954 * gdb.fortran/derived-type-function.exp: Likewise.
1955 * gdb.fortran/derived-type.exp: Likewise.
1956 * gdb.fortran/info-modules.exp: Likewise.
1957 * gdb.fortran/info-types.exp: Likewise.
1958 * gdb.fortran/intrinsics.exp: Likewise.
1959 * gdb.fortran/library-module.exp: Likewise.
1960 * gdb.fortran/logical.exp: Likewise.
1961 * gdb.fortran/max-depth.exp: Likewise.
1962 * gdb.fortran/module.exp: Likewise.
1963 * gdb.fortran/multi-dim.exp: Likewise.
1964 * gdb.fortran/nested-funcs.exp: Likewise.
1965 * gdb.fortran/print-formatted.exp: Likewise.
1966 * gdb.fortran/print_type.exp: Likewise.
1967 * gdb.fortran/printing-types.exp: Likewise.
1968 * gdb.fortran/ptr-indentation.exp: Likewise.
1969 * gdb.fortran/ptype-on-functions.exp: Likewise.
1970 * gdb.fortran/subarray.exp: Likewise.
1971 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
1972 * gdb.fortran/vla-datatypes.exp: Likewise.
1973 * gdb.fortran/vla-history.exp: Likewise.
1974 * gdb.fortran/vla-ptr-info.exp: Likewise.
1975 * gdb.fortran/vla-ptype-sub.exp: Likewise.
1976 * gdb.fortran/vla-ptype.exp: Likewise.
1977 * gdb.fortran/vla-sizeof.exp: Likewise.
1978 * gdb.fortran/vla-type.exp: Likewise.
1979 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
1980 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
1981 * gdb.fortran/vla-value-sub.exp: Likewise.
1982 * gdb.fortran/vla-value.exp: Likewise.
1983 * gdb.fortran/whatis_type.exp: Likewise.
1984 * gdb.mi/mi-var-child-f.exp: Likewise.
1985
6dc55ce9 19862020-05-09 Tom de Vries <tdevries@suse.de>
1987
1988 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
1989
283cb58c
TV
19902020-05-08 Tom de Vries <tdevries@suse.de>
1991
1992 * gdb.dwarf2/clang-debug-names.c: New test.
1993 * gdb.dwarf2/clang-debug-names.exp: New file.
1994
ac4a4f1c
SM
19952020-05-06 Simon Marchi <simon.marchi@efficios.com>
1996
1997 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
1998 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
1999
24fe640b
TV
20002020-05-06 Tom de Vries <tdevries@suse.de>
2001
2002 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
2003 breakpoint is at a "recommended breakpoint location".
2004 * gdb.reverse/consecutive-reverse.exp: Same.
2005
0d8683a3
TV
20062020-05-06 Tom de Vries <tdevries@suse.de>
2007
2008 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
2009 address.
2010
b8983c46
TV
20112020-05-06 Tom de Vries <tdevries@suse.de>
2012
2013 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
2014
abf6d805
TV
20152020-05-06 Tom de Vries <tdevries@suse.de>
2016
2017 * gdb.base/store.exp (check_set, up_set): Allowing missing location
2018 info for r.
2019
0fc2a808
TV
20202020-05-06 Tom de Vries <tdevries@suse.de>
2021
2022 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
2023 necessary.
2024
873dd427
TV
20252020-05-06 Tom de Vries <tdevries@suse.de>
2026
2027 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
2028 void.
2029
7c99e7e2
TV
20302020-05-06 Tom de Vries <tdevries@suse.de>
2031
2032 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
2033 of ...
2034 * gdb.base/async.exp: ... here.
2035 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
2036 "recommended breakpoint location".
2037
6173d6a6
TV
20382020-05-06 Tom de Vries <tdevries@suse.de>
2039
2040 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
2041
6015a067
TV
20422020-05-04 Tom de Vries <tdevries@suse.de>
2043
2044 * gdb.base/async.exp: Check whether instruction addresses are a
2045 "recommended breakpoint location".
2046
3b6acaee
TT
20472020-05-03 Tom Tromey <tom@tromey.com>
2048
2049 * gdb.base/sepdebug.exp: Remove "catch" test.
2050 * gdb.base/break.exp: Remove "catch" test.
2051 * gdb.base/default.exp: Update expected output.
2052
5beb4d17
TV
20532020-05-02 Tom de Vries <tdevries@suse.de>
2054
2055 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
2056 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
2057 * gdb.arch/i386-mpx-map.exp: Same.
2058 * gdb.arch/i386-mpx-sigsegv.exp: Same.
2059 * gdb.arch/i386-mpx-simple_segv.exp: Same.
2060 * gdb.arch/i386-mpx.exp: Same.
2061
8caf140d
TV
20622020-05-02 Tom de Vries <tdevries@suse.de>
2063
2064 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
2065
693196cb
TV
20662020-05-01 Tom de Vries <tdevries@suse.de>
2067
2068 * gdb.ada/operator_bp.exp: Allow more than required amount of
2069 breakpoint.
2070
53ae0aa9
TV
20712020-05-01 Tom de Vries <tdevries@suse.de>
2072
2073 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
2074
ee9d1e5f
HD
20752020-04-30 Hannes Domani <ssbssa@yahoo.de>
2076
2077 PR gdb/18706
2078 * gdb.cp/stub-array-size.cc: New test.
2079 * gdb.cp/stub-array-size.exp: New file.
2080 * gdb.cp/stub-array-size.h: New test.
2081 * gdb.cp/stub-array-size2.cc: New test.
2082
d5cf82c0
HD
20832020-04-30 Hannes Domani <ssbssa@yahoo.de>
2084
2085 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
2086 output to the new format.
2087
42e165c3
SM
20882020-04-29 Simon Marchi <simon.marchi@efficios.com>
2089
2090 * gdb.base/break.exp: Use with_test_prefix.
2091
6e4e3fe1
TV
20922020-04-29 Tom de Vries <tdevries@suse.de>
2093
2094 * lib/gdb.exp (debug_types): New proc.
2095 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
2096 * gdb.python/py-symtab.exp: Same.
2097
d642b692
HD
20982020-04-29 Hannes Domani <ssbssa@yahoo.de>
2099
2100 PR gdb/17320
2101 * gdb.base/pretty-array.c: New test.
2102 * gdb.base/pretty-array.exp: New file.
2103
ea90f227
TV
21042020-04-29 Tom de Vries <tdevries@suse.de>
2105
2106 PR symtab/25889
2107 * gdb.cp/cpexprs.exp: Adapt for inclusion.
2108 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
2109 and include cpexprs.exp.
2110
a65189c9
TV
21112020-04-28 Mark Williams <mark@myosotissp.com>
2112
2113 PR gdb/24480
2114 * dw4-toplevel-types.exp: Test for top level types.
2115 * dw4-toplevel-types.cc: Test for top level types.
2116
32d1f47a
TBA
21172020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2118
2119 * gdb.threads/stop-with-handle.exp: Fix typo in comment
2120 (theads -> threads).
2121
56a4f5a1
TV
21222020-04-28 Tom de Vries <tdevries@suse.de>
2123
2124 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
2125
0b2f8a3b
TV
21262020-04-28 Tom de Vries <tdevries@suse.de>
2127
2128 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
2129
5390c717
TV
21302020-04-28 Tom de Vries <tdevries@suse.de>
2131
2132 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
2133
15cd93d0
TV
21342020-04-28 Tom de Vries <tdevries@suse.de>
2135
2136 * gdb.dwarf2/main-foo.c: New test.
2137 * gdb.dwarf2/struct-with-sig.exp: New file.
2138
d472f0fb
TV
21392020-04-25 Tom de Vries <tdevries@suse.de>
2140
2141 * boards/debug-types.exp: New file.
2142
8d840e05
AB
21432020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
2144
2145 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
2146
bcfe6157
TT
21472020-04-24 Tom Tromey <tom@tromey.com>
2148
2149 PR symtab/12707:
2150 * gdb.python/py-symbol.exp: Update expected results for
2151 linkage_name test.
2152 * gdb.cp/print-demangle.exp: New file.
2153 * gdb.base/c-linkage-name.exp: Fix test.
2154 * gdb.guile/scm-symbol.exp: Update expected results for
2155 linkage_name test.
2156
f049a313
TT
21572020-04-24 Tom Tromey <tom@tromey.com>
2158
2159 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
2160 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
2161 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
2162 assembler.
2163
7cf28874
TV
21642020-04-24 Tom de Vries <tdevries@suse.de>
2165
2166 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
2167 C++.
2168
dac2fef7
TT
21692020-04-24 Tom Tromey <tromey@adacore.com>
2170
2171 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
2172 values.
2173 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
2174 values. Update test for minimal encodings.
2175 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
2176 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
2177 values. Update test for minimal encodings.
2178
1acda803
TT
21792020-04-24 Tom Tromey <tromey@adacore.com>
2180
2181 PR python/23662:
2182 * gdb.ada/variant.exp: Add Python checks.
2183 * gdb.rust/simple.exp: Add dynamic type checks.
2184
adfb9815
TT
21852020-04-24 Tom Tromey <tromey@adacore.com>
2186
2187 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
2188 Make array type matching more lax.
2189 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
2190 * gdb.ada/mi_variant.exp: New file.
2191 * gdb.ada/mi_variant/pck.ads: New file.
2192 * gdb.ada/mi_variant/pkg.adb: New file.
2193 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
2194 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
2195
7d79de9a
TT
21962020-04-24 Tom Tromey <tromey@adacore.com>
2197
2198 * gdb.ada/variant.exp: Add dynamic field offset tests.
2199 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
2200 * gdb.ada/variant/pkg.adb: Add new variables.
2201
f8e89861
TT
22022020-04-24 Tom Tromey <tromey@adacore.com>
2203
2204 * gdb.ada/variant.exp: New file
2205 * gdb.ada/variant/pkg.adb: New file
2206 * gdb.ada/variant/pck.adb: New file
2207
86e887ae
TV
22082020-04-24 Tom de Vries <tdevries@suse.de>
2209
2210 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
2211
88428775
TV
22122020-04-24 Tom de Vries <tdevries@suse.de>
2213
2214 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
2215 flags.
2216
4e86f6e7
TV
22172020-04-24 Tom de Vries <tdevries@suse.de>
2218
2219 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
2220
2016d3e6
TV
22212020-04-24 Tom de Vries <tdevries@suse.de>
2222
2223 * lib/gdb.exp (default_gdb_start): Handle eof.
2224 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
2225 failure.
2226 * gdb.base/readnever.exp: Handle clean_restart failure.
2227
70bc38f5
TV
22282020-04-23 Tom de Vries <tdevries@suse.de>
2229
2230 * gdb.base/decl-before-def.exp: Run to main and print a again.
2231
de82891c
TV
22322020-04-23 Tom de Vries <tdevries@suse.de>
2233
2234 * gdb.base/decl-before-def-decl.c: New test.
2235 * gdb.base/decl-before-def-def.c: New test.
2236 * gdb.base/decl-before-def.exp: New file.
2237
96038148
TV
22382020-04-23 Tom de Vries <tdevries@suse.de>
2239
2240 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
2241
54ac3df1
TV
22422020-04-22 Tom de Vries <tdevries@suse.de>
2243
2244 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
2245 debug_info_offset.
2246 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
2247 before $objsfile in the line line.
2248
714534e1
TV
22492020-04-22 Tom de Vries <tdevries@suse.de>
2250
2251 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
2252
16a7dbf4
MS
22532020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
2254
2255 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
2256 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
2257 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
2258 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
2259 * gdb.base/jit-protocol.h: Update definitions to match all usage
2260 contexts.
2261
22622020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
2263
2264 * gdb.base: Rename all jit related test and source files.
2265
22662020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
2267
2268 * gdb.base/jit-reader.exp: Relax register output check.
2269
317d2668
TV
22702020-04-22 Tom de Vries <tdevries@suse.de>
2271
2272 PR symtab/25764
2273 * gdb.base/psym-external-decl-2.c: New test.
2274 * gdb.base/psym-external-decl.c: New test.
2275 * gdb.base/psym-external-decl.exp: New file.
2276 * gdb.threads/tls.exp: Add PR25807 kfail.
2277
eea9e357
TV
22782020-04-22 Tom de Vries <tdevries@suse.de>
2279
2280 PR symtab/25801
2281 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
2282 in "info source" output.
2283
3d5afab3
TV
22842020-04-22 Tom de Vries <tdevries@suse.de>
2285
2286 PR symtab/25700
2287 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
2288 symtab for imported_unit.c.
2289
b32102f6
GB
22902020-04-21 Gary Benson <gbenson@redhat.com>
2291
2292 * gdb.base/advance.c (func): New argument, to match call site.
2293 (func2, func3): Add return statements.
2294
d43b7a2d
TBA
22952020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2296
2297 * gdb.multi/run-only-second-inf.c: New file.
2298 * gdb.multi/run-only-second-inf.exp: New file.
2299
d89edf9b
MM
23002020-04-21 Markus Metzger <markus.t.metzger@intel.com>
2301
2302 * gdb.btrace/multi-inferior.c: New test.
2303 * gdb.btrace/multi-inferior.exp: New file.
2304
1a476b6d
MM
23052020-04-21 Markus Metzger <markus.t.metzger@intel.com>
2306
2307 * gdb.btrace/enable-new-thread.c: New test.
2308 * gdb.btrace/enable-new-thread.exp: New file.
2309
4778a5f8
TV
23102020-04-21 Tom de Vries <tdevries@suse.de>
2311
2312 PR gdb/25471
2313 * gdb.threads/killed-outside.c: New test.
2314 * gdb.threads/killed-outside.exp: New file.
2315
9b2c992c
GB
23162020-04-20 Gary Benson <gbenson@redhat.com>
2317
2318 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
2319 * gdb.base/nested-subp2.exp: Likewise.
2320 * gdb.base/nested-subp3.exp: Likewise.
2321
b5d1d6f7
GB
23222020-04-20 Gary Benson <gbenson@redhat.com>
2323
2324 * gdb.base/nested-subp1.exp: Disable test when using clang.
2325 * gdb.base/nested-subp2.exp: Likewise.
2326 * gdb.base/nested-subp3.exp: Likewise.
2327
25230285
GB
23282020-04-20 Gary Benson <gbenson@redhat.com>
2329
2330 * gdb.cp/exception.cc: Fix compilation error with clang.
2331
fa93cc8f
GB
23322020-04-20 Gary Benson <gbenson@redhat.com>
2333
809730f3 2334 * gdb.trace/tspeed.c: Fix compilation error with clang.
fa93cc8f 2335
e0c45f30
GB
23362020-04-20 Gary Benson <gbenson@redhat.com>
2337
2338 * gdb.base/jit-main.c: Fix compilation error with clang.
2339
4ddfec93
KR
23402020-04-17 Kamil Rytarowski <n54@gmx.com>
2341
2342 * gdb.base/attach-twice.c: Include "sys/types.h".
2343 (PTRACE_ATTACH): Add fallback definition.
2344 (main): Pass `0' to the 4th argument of `ptrace'.
2345
2bed205e
KR
23462020-04-17 Kamil Rytarowski <n54@gmx.com>
2347
2348 * gdb.base/fork-running-state.c: Include "signal.h".
2349
0743fc83
TT
23502020-04-17 Tom Tromey <tromey@adacore.com>
2351
2352 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
2353 Update tests.
2354 * gdb.btrace/cpu.exp: Update tests.
2355 * gdb.base/maint.exp: Update tests.
2356 * gdb.base/default.exp: Update tests.
2357 * gdb.base/completion.exp: Update tests.
2358
efba5c23
TV
23592020-04-16 Tom de Vries <tdevries@suse.de>
2360
2361 PR symtab/25791
2362 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
2363 (ensure_gdb_index): and factor out and move ...
2364 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
2365 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
2366
d191d716
TV
23672020-04-16 Tom de Vries <tdevries@suse.de>
2368
2369 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
2370 loading exec.
2371
99f1bc6a
AB
23722020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
2373
2374 * gdb.base/many-completions.exp: New file.
2375
194d088f
TV
23762020-04-14 Tom de Vries <tdevries@suse.de>
2377
2378 PR symtab/25718
2379 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
2380
c1a66c06
TV
23812020-04-14 Tom de Vries <tdevries@suse.de>
2382
2383 PR symtab/25720
2384 * gdb.base/maint-expand-symbols-header-file.c: New test.
2385 * gdb.base/maint-expand-symbols-header-file.exp: New file.
2386 * gdb.base/maint-expand-symbols-header-file.h: New test.
2387
21b0982c
AB
23882020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2389
2390 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
2391 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
2392 get_func_info.
2393 (get_func_info): Delete.
2394 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
2395 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
2396 * lib/dwarf.exp (get_func_info): New function.
2397
dd1cab06
TV
23982020-04-13 Tom de Vries <tdevries@suse.de>
2399
2400 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
2401 to what find_gnatmake does.
2402
71ea2b6b
TV
24032020-04-10 Tom de Vries <tdevries@suse.de>
2404
2405 * gdb.base/style.exp: Expect "Expanding full symbols" message for
2406 -readnow.
2407
bdfc1e8a
TV
24082020-04-10 Tom de Vries <tdevries@suse.de>
2409
2410 PR cli/25808
2411 * gdb.base/style.c: Add leading newlines.
2412 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
2413 Check listing of main's one-line body.
2414
14ca8ecf
TV
24152020-04-08 Tom de Vries <tdevries@suse.de>
2416
2417 * lib/gdb.exp (psymtabs_p): New proc.
2418 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
2419 importing unit" unsupported if there are no partial symbols.
2420
e21d048f
TV
24212020-04-08 Tom de Vries <tdevries@suse.de>
2422
2423 PR testsuite/25760
2424 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
2425
25c11aca
TV
24262020-04-07 Tom de Vries <tdevries@suse.de>
2427
2428 PR symtab/25796
2429 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
2430
5707e24b
TV
24312020-04-07 Tom de Vries <tdevries@suse.de>
2432
2433 * gdb.base/check-psymtab.c: New test.
2434 * gdb.base/check-psymtab.exp: New file.
2435
6ee448cc
TT
24362020-04-06 Tom Tromey <tromey@adacore.com>
2437
2438 * gdb.ada/variant-record/proc.adb: New file.
2439 * gdb.ada/variant-record/value.adb: New file.
2440 * gdb.ada/variant-record/value.s: New file.
2441 * gdb.ada/variant-record.exp: New file.
2442
9e7c9a03
HD
24432020-04-03 Hannes Domani <ssbssa@yahoo.de>
2444
2445 PR gdb/25325
2446 * gdb.cp/typed-enum.cc: New test.
2447 * gdb.cp/typed-enum.exp: New file.
2448
c90d28ac
AB
24492020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
2450
2451 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
2452 * gdb.dwarf2/dw2-inline-small-func.c: New file.
2453 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
2454 * gdb.dwarf2/dw2-inline-small-func.h: New file.
2455 * gdb.opt/inline-small-func.c: New file.
2456 * gdb.opt/inline-small-func.exp: New file.
2457 * gdb.opt/inline-small-func.h: New file.
2458
34e9a9fa
AB
24592020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
2460
2461 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
2462 function.
2463
6a354911
AB
24642020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
2465
2466 * lib/dwarf.exp (function_range): Allow compiler options to be
2467 specified.
2468
880d9777
TV
24692020-04-02 Tom de Vries <tdevries@suse.de>
2470
2471 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
2472 __attribute__((always_inline)).
2473 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
2474
f32682ea
TV
24752020-04-02 Tom de Vries <tdevries@suse.de>
2476
2477 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
2478 (gdbserver_gdb_exit): ... here. Add timeout warning.
2479 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
2480 (connect_target_extended_remote): Append new server_spawn_id to
2481 server_spawn_ids.
2482 (cleanup): New proc.
2483 (setup, <toplevel>): Call cleanup.
2484
d3214198
TV
24852020-04-02 Tom de Vries <tdevries@suse.de>
2486
2487 * gdb.base/main-psymtab.exp: New file.
2488
cc77ed24
TV
24892020-04-02 Tom de Vries <tdevries@suse.de>
2490
2491 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
2492
3638a098
TT
24932020-04-01 Tom Tromey <tom@tromey.com>
2494
2495 * gdb.base/complex-parts.exp: Add type tests.
2496
c34e8714
TT
24972020-04-01 Tom Tromey <tom@tromey.com>
2498
2499 * gdb.base/complex-parts.exp: Add arithmetic tests.
2500
981c08ce
TT
25012020-04-01 Tom Tromey <tom@tromey.com>
2502
2503 * gdb.compile/compile.exp: Update.
2504 * gdb.compile/compile-cplus.exp: Update.
2505 * gdb.base/varargs.exp: Update.
2506 * gdb.base/floatn.exp: Update.
2507 * gdb.base/endianity.exp: Update.
2508 * gdb.base/callfuncs.exp (do_function_calls): Update.
2509 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
2510 (complex_float_integral_args): Update.
2511 * gdb.base/complex.exp: Update.
2512 * gdb.base/complex-parts.exp: Update.
2513
3d1cfd43
TT
25142020-04-01 Tom Tromey <tromey@adacore.com>
2515
2516 * gdb.rust/union.rs: New file.
2517 * gdb.rust/union.exp: New file.
2518 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
2519 (main): Update.
2520 * gdb.rust/simple.exp: Move union tests to union.exp.
2521
e033dfa9
TT
25222020-04-01 Tom Tromey <tromey@adacore.com>
2523
2524 * gdb.rust/simple.rs (main): Remove "y0".
2525
53cccef1
TBA
25262020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2527
2528 * gdb.multi/stop-all-on-exit.c: New test.
2529 * gdb.multi/stop-all-on-exit.exp: New file.
2530
60e22c1e
HD
25312020-04-01 Hannes Domani <ssbssa@yahoo.de>
2532
2533 PR gdb/24789
2534 * gdb.cp/misc.cc: Add integer reference variable.
2535 * gdb.cp/misc.exp: Add test.
2536
e139a727
TBA
25372020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2538
2539 * gdb.server/stop-reply-no-thread.exp: Enhance the test
2540 scenario to cover execution until the end and also the case
2541
16b0db75
TV
25422020-03-31 Tom de Vries <tdevries@suse.de>
2543
2544 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
2545 c. Use "maint info symtabs" to check symtab expansion.
2546
c0502da6
TV
25472020-03-30 Tom de Vries <tdevries@suse.de>
2548
2549 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
2550 unsupported.
2551 (verify_psymtab_expanded): Move ...
2552 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
2553 test.
2554 (readnow): New proc.
2555
5935fd15
AB
25562020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
2557
2558 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
2559 with $hex.
2560
1773be9e
TT
25612020-03-20 Tom Tromey <tromey@adacore.com>
2562
2563 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
2564
70304be9
TT
25652020-03-20 Tom Tromey <tromey@adacore.com>
2566
2567 * gdb.ada/sub_variant/subv.adb: New file.
2568 * gdb.ada/sub_variant.exp: New file.
2569
0dd7b8f7
TV
25702020-03-20 Tom de Vries <tdevries@suse.de>
2571
2572 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
2573 first break fails.
2574 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
2575
cada5fc9
AB
25762020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
2577
2578 * gdb.server/exit-multiple-threads.c: New file.
2579 * gdb.server/exit-multiple-threads.exp: New file.
2580
6b8c53f2
AB
25812020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
2582
2583 * gdb.fortran/mixed-lang-stack.c: New file.
2584 * gdb.fortran/mixed-lang-stack.cpp: New file.
2585 * gdb.fortran/mixed-lang-stack.exp: New file.
2586 * gdb.fortran/mixed-lang-stack.f90: New file.
2587
19a2740f
AB
25882020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
2589
2590 * gdb.linespec/cp-completion-aliases.cc: New file.
2591 * gdb.linespec/cp-completion-aliases.exp: New file.
2592
d8c8b848
TV
25932020-03-19 Tom de Vries <tdevries@suse.de>
2594
2595 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
2596 more precise.
2597
a9933ccf
TV
25982020-03-18 Tom de Vries <tdevries@suse.de>
2599
2600 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
2601 * gdb.dwarf2/break-inline-psymtab.c: New test.
2602 * gdb.dwarf2/break-inline-psymtab.exp: New file.
2603
2f89101f
TV
26042020-03-16 Tom de Vries <tdevries@suse.de>
2605
2606 * lib/cache.exp (gdb_do_cache): Add and handle local variables
2607 cache_verify and cache_verify_proc.
2608
6b9374f1
TV
26092020-03-15 Tom de Vries <tdevries@suse.de>
2610
2611 * gdb.server/solib-list.exp: Handle
2612 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
2613
eaeaf44c
TV
26142020-03-15 Tom de Vries <tdevries@suse.de>
2615
2616 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
2617 objfiles".
2618
3293bbaf
TT
26192020-03-14 Tom Tromey <tom@tromey.com>
2620
2621 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
2622
ab44624c
TV
26232020-03-14 Tom de Vries <tdevries@suse.de>
2624
2625 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
2626
54c43825
TV
26272020-03-14 Tom de Vries <tdevries@suse.de>
2628
2629 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
2630 result in line-by-line fashion.
2631
2ac70237
TV
26322020-03-14 Tom de Vries <tdevries@suse.de>
2633
2634 * lib/gdb.exp (supports_statement_frontiers): New proc.
2635 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
2636
09546b56
TV
26372020-03-14 Tom de Vries <tdevries@suse.de>
2638
2639 * gdb.base/printcmds.exp: Add missing quoting for "print
2640 teststring2".
2641
a1f6a07c
TT
26422020-03-13 Tom Tromey <tom@tromey.com>
2643
2644 * gdb.base/printcmds.exp (test_print_strings): Add regression
2645 test.
2646 * gdb.base/printcmds.c (charptr): New typedef.
2647 (teststring2): New global.
2648
1b83d09c
AB
26492020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
2650
2651 * gdb.base/break-interp.exp: Use the tail of the filename, not the
2652 full path in the test name.
2653 (test_ld): Add some with_test_prefix blocks to make test names
2654 unique.
2655
2d61316c
TV
26562020-03-13 Tom de Vries <tdevries@suse.de>
2657
2658 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
2659
2e9145ac
TV
26602020-03-13 Tom de Vries <tdevries@suse.de>
2661
2662 * gdb.mi/mi-sym-info.exp: Make matching more precise.
2663
96c7f873
TV
26642020-03-13 Tom de Vries <tdevries@suse.de>
2665
2666 PR symtab/25646
2667 * gdb.dwarf2/imported-unit.exp: Add test.
2668
49ba92c0
TV
26692020-03-13 Tom de Vries <tdevries@suse.de>
2670
2671 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
2672 (var1, var2): New variable.
2673 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
2674 matching symbols.
2675
301b21e0
TV
26762020-03-13 Tom de Vries <tdevries@suse.de>
2677
2678 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
2679 (Term::command): Use prompt prefix.
2680 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
2681 * gdb.tui/tui-layout-asm-short-prog.exp: Use
2682 command_no_prompt_prefix instead of prefix.
2683 * gdb.tui/tui-layout-asm.exp: Same.
2684
3f512721
SM
26852020-03-12 Simon Marchi <simon.marchi@efficios.com>
2686
2687 * gdb.base/break-interp.exp: Use foreach_with_prefix.
2688
40310f30
SM
26892020-03-12 Simon Marchi <simon.marchi@efficios.com>
2690
2691 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
2692 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
2693 on" while stepping over the test instruction, match printed
2694 message.
2695
09252140
TV
26962020-03-12 Tom de Vries <tdevries@suse.de>
2697
2698 * gdb.base/info-types.exp: Use exp_continue during matching of output
2699 of "info types".
2700
14e9c72c
TV
27012020-03-12 Tom de Vries <tdevries@suse.de>
2702
2703 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
2704
e515d67e
TV
27052020-03-12 Tom de Vries <tdevries@suse.de>
2706
2707 * gdb.fortran/module.exp: Use exp_continue during matching of output
2708 of "info variable -n".
2709
307eafd8
TV
27102020-03-12 Tom de Vries <tdevries@suse.de>
2711
2712 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
2713 gdb.dwarf2/dw2-ranges-base.c.
2714
9a2de3fc
TV
27152020-03-12 Tom de Vries <tdevries@suse.de>
2716
2717 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
2718 in presence of GLIBC debuginfo.
2719
3217502e
TV
27202020-03-12 Tom de Vries <tdevries@suse.de>
2721
2722 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
2723 $core.
2724
1281424c
TV
27252020-03-12 Tom de Vries <tdevries@suse.de>
2726
2727 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
2728 more precise.
2729
038b97fc
SM
27302020-03-11 Simon Marchi <simon.marchi@efficios.com>
2731
2732 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
2733 from Unix to Windows path.
2734
5308d1e7
TV
27352020-03-11 Tom de Vries <tdevries@suse.de>
2736
2737 * gdb.ada/minsyms.exp: Set language to ada.
2738
f870f78f
TV
27392020-03-11 Tom de Vries <tdevries@suse.de>
2740
2741 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
2742
5a13315d
TV
27432020-03-11 Tom de Vries <tdevries@suse.de>
2744
2745 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
2746
976862ed
TT
27472020-03-11 Tom Tromey <tromey@adacore.com>
2748
2749 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
2750
7462c383
TV
27512020-03-11 Tom de Vries <tdevries@suse.de>
2752
2753 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
2754
1c6c46a0
TV
27552020-03-11 Tom de Vries <tdevries@suse.de>
2756
2757 * gdb.base/break-interp.exp: Limit verbose scope.
2758
44f41bb7
TV
27592020-03-11 Tom de Vries <tdevries@suse.de>
2760
2761 * gdb.fortran/logical.f90: Define variable with character type.
2762 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
2763
b76f3a42
TV
27642020-03-11 Tom de Vries <tdevries@suse.de>
2765
2766 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
2767
1c33af77
TV
27682020-03-11 Tom de Vries <tdevries@suse.de>
2769
2770 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
2771 symtabs.
2772
8c95582d
AB
27732020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
2774 Bernd Edlinger <bernd.edlinger@hotmail.de>
2775
2776 * gdb.cp/step-and-next-inline.cc: New file.
2777 * gdb.cp/step-and-next-inline.exp: New file.
2778 * gdb.cp/step-and-next-inline.h: New file.
2779 * gdb.dwarf2/dw2-is-stmt.c: New file.
2780 * gdb.dwarf2/dw2-is-stmt.exp: New file.
2781 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
2782 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
2783 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
2784
cecf8547
AB
27852020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
2786
2787 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
2788 is-stmt flag in the line table.
2789
0ba678c9
TV
27902020-03-09 Tom de Vries <tdevries@suse.de>
2791
2792 * lib/gdb.exp (cached_file): Create cache dir.
2793
72fbdf83
TV
27942020-03-07 Tom de Vries <tdevries@suse.de>
2795
2796 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
2797 * gdb.cp/rvalue-ref-params.exp: Same.
2798
436b5e99
TV
27992020-03-06 Tom de Vries <tdevries@suse.de>
2800
2801 * lib/gdb.exp (tentative_rename, cached_file): New proc.
2802 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
2803
09f2921c
TV
28042020-03-06 Tom de Vries <tdevries@suse.de>
2805
2806 * README: Fix "the the".
2807 * gdb.base/dprintf.exp: Same.
2808
50a3cc5d
TV
28092020-03-05 Tom de Vries <tdevries@suse.de>
2810
2811 * gdb.base/maint.exp: Update "main print statistics" expected output.
2812
0a709cba
AKS
28132020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2814
2815 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
2816 (fortran_int8): Likewise.
2817 (fortran_real4): Likewise.
2818 (fortran_real8): Likewise.
2819 (fortran_complex4): Likewise.
2820 (fortran_logical4): Likewise.
2821 (fortran_character1): Likewise.
2822
5e5d66b6
AB
28232020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
2824
2825 * gdb.fortran/logical.exp: Add tests that any non-zero value is
2826 printed as true.
2827
7b973adc
SDJ
28282020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
2829
2830 * gdb.base/printcmds.exp: Add test to verify printf of a
2831 variable holding an address.
2832
478e490a
TV
28332020-03-03 Tom de Vries <tdevries@suse.de>
2834
2835 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
2836
1ef44e86
TV
28372020-03-03 Tom de Vries <tdevries@suse.de>
2838
2839 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
2840 gdb_test_multiple call.
2841
b98cc2cf
TV
28422020-03-03 Tom de Vries <tdevries@suse.de>
2843
2844 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
2845 gdb_test_multiple calls.
2846
63e163f2
AB
28472020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
2848
2849 * gdb.base/default.exp: Remove test of 'set history filename'.
2850 * gdb.base/gdbinit-history.exp: Add tests for setting the history
2851 filename to the empty string.
2852 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
2853 and GDBHISTSIZE.
2854
24ed6739
AB
28552020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
2856
2857 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
2858 disabled.
2859
590003dc 28602020-03-02 Pedro Alves <palves@redhat.com>
fc5d6901 2861 Tom de Vries <tdevries@suse.de>
590003dc
TV
2862
2863 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
2864 -prompt prefix, before user_code argument. Add -lbl option likewise.
2865 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
2866 (gdb_is_target_1): Add -prompt prefix and move to before user_code
2867 argument.
2868 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
2869 have "\r\n" at start-of-line, instead of at end-of-line.
2870
f5e46084
SM
28712020-02-28 Simon Marchi <simon.marchi@efficios.com>
2872
2873 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
2874 libinproctrace.so.
2875
f7a7000d
LM
28762020-02-28 Luis Machado <luis.machado@linaro.org>
2877
2878 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
2879 to "p/x".
2880
718e0816
LM
28812020-02-28 Luis Machado <luis.machado@linaro.org>
2882
2883 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
2884 asm/ptrace.h and error.h.
2885
13c3a74a
TV
28862020-02-28 Tom de Vries <tdevries@suse.de>
2887
2888 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
2889 (struct wrapper, do_something, mundane/symada__cS): Move ...
2890 * gdb.base/c-linkage-name-2.c: ... here. New source file.
2891 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
2892 Update "print symada__cS before partial symtab expansion" regexp.
2893 Update breakpoint location. Flush symbol cache after expansion.
2894
85d2d5bb
LM
28952020-02-28 Luis Machado <luis.machado@linaro.org>
2896
2897 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
2898
3608f86c
TV
28992020-02-27 Tom de Vries <tdevries@suse.de>
2900
2901 * config/sid.exp: Remove unused globals.
2902 * gdb.base/attach.exp: Same.
2903 * gdb.base/catch-load.exp: Same.
2904 * gdb.base/dbx.exp: Same.
2905 * lib/gdb.exp: Same.
2906 * lib/mi-support.exp: Same.
2907 * lib/prompt.exp: Same.
2908
c8d4f6df
TV
29092020-02-27 Tom de Vries <tdevries@suse.de>
2910
2911 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
2912 not set.
2913
0d79cdc4
AM
29142020-02-26 Aaron Merey <amerey@redhat.com>
2915
2916 * gdb.debuginfod: New directory for debuginfod tests.
2917 * gdb.debuginfod/main.c: New test file.
2918 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
2919
0dce4280
TV
29202020-02-26 Tom de Vries <tdevries@suse.de>
2921
2922 PR gdb/25603
2923 * gdb.base/persistent-lang.cc: New test.
2924 * gdb.base/persistent-lang.exp: New file.
2925
9e80cfa1
AB
29262020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
2927
2928 * gdb.fortran/derived-type-striding.exp: Add a new test.
2929 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
2930 new test.
2931
2078dbb2
AB
29322020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
2933
2934 * gdb.base/cached-source-file.exp: Avoid source file paths in test
2935 names.
2936
70d49700
TV
29372020-02-25 Tom de Vries <tdevries@suse.de>
2938
2939 PR go/18926
2940 * gdb.go/methods.exp: Remove gcc/93866 xfail.
2941
a88ef40d
TV
29422020-02-24 Tom de Vries <tdevries@suse.de>
2943
2944 PR gdb/25592
2945 * gdb.base/info-locals-unused-static-var.c: New test.
2946 * gdb.base/info-locals-unused-static-var.exp: New file.
2947
01b1af32
TT
29482020-02-22 Tom Tromey <tom@tromey.com>
2949
2950 * gdb.python/tui-window.exp: New file.
2951 * gdb.python/tui-window.py: New file.
2952
7c043ba6
TT
29532020-02-22 Tom Tromey <tom@tromey.com>
2954
2955 PR tui/17850:
2956 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
2957 tests.
2958
c22fef7e
TT
29592020-02-22 Tom Tromey <tom@tromey.com>
2960
2961 * gdb.tui/new-layout.exp: Add sub-layout tests.
2962
ee325b61
TT
29632020-02-22 Tom Tromey <tom@tromey.com>
2964
2965 * gdb.tui/new-layout.exp: New file.
2966
3f0cbb04
TT
29672020-02-22 Tom Tromey <tom@tromey.com>
2968
2969 * gdb.rust/rust-style.rs: New file.
2970 * gdb.rust/rust-style.exp: New file.
2971 * gdb.base/style.exp: Test structure printing.
2972 * gdb.base/style.c (struct some_struct): New type.
2973 (enum etype): New type.
2974 (struct_value): New global.
2975
75525152
TV
29762020-02-21 Tom de Vries <tdevries@suse.de>
2977
2978 PR go/18926
2979 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
2980 Remove blanket xfails. Use message argument for gdb_breakpoint.
2981 Make continuing to breakpoint test conditional on setting breakpoint.
2982 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
2983 DW_AT_name attribute. Add xfail for GCC PR93866.
2984
bd360d30
AB
29852020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
2986
2987 * gdb.dwarf2/cpp-linkage-name.c: New file.
2988 * gdb.dwarf2/cpp-linkage-name.exp: New file.
2989
c7adb09f 29902020-02-21 Shahab Vahedi <shahab@synopsys.com>
24ac169a
SV
2991
2992 * lib/gdb.exp (gdb_wrapper_init): Reset
2993 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
2994 not exist.
2995
a9c79803
TV
29962020-02-20 Tom de Vries <tdevries@suse.de>
2997
2998 PR go/17018
2999 * gdb.go/hello.exp: Copy ...
3000 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
3001 print of st to print value of global definition. Add xfail for GCC
3002 PR93844.
3003 * gdb.go/hello.exp: Remove printing of st before definition.
3004 * gdb.go/hello.go: Copy ...
3005 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
3006 to st.
3007 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
3008
d7445728
TV
30092020-02-20 Tom de Vries <tdevries@suse.de>
3010
3011 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
3012 (gdb_simple_compile): Handle compile_flags go by using .go extension
3013 for source file.
3014 * gdb.go/chan.exp: Use support_go_compile.
3015 * gdb.go/handcall.exp: Same.
3016 * gdb.go/hello.exp: Same.
3017 * gdb.go/integers.exp: Same.
3018 * gdb.go/max-depth.exp: Same.
3019 * gdb.go/methods.exp: Same.
3020 * gdb.go/package.exp: Same.
3021 * gdb.go/strings.exp: Same.
3022 * gdb.go/types.exp: Same.
3023 * gdb.go/unsafe.exp: Same.
3024
c9c41e6d
TV
30252020-02-19 Tom de Vries <tdevries@suse.de>
3026
3027 * gdb.python/lib-types.exp: Make xfail more strict.
3028
f20ff837
TV
30292020-02-19 Tom de Vries <tdevries@suse.de>
3030
3031 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
3032
08410482
DE
30332020-02-19 Doug Evans <dje@google.com>
3034
3035 PR rust/25535
3036 * gdb.rust/simple.exp: Add test.
3037 * gdb.rust/simple.rs: Add test.
3038
623563f7
TV
30392020-02-19 Tom de Vries <tdevries@suse.de>
3040
3041 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
3042 output line-by-line.
3043
d3308cfd
TV
30442020-02-19 Tom de Vries <tdevries@suse.de>
3045
3046 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
3047
86cbc5dc
TV
30482020-02-19 Tom de Vries <tdevries@suse.de>
3049
3050 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
3051 prelink.
3052
9db2b96b
TV
30532020-02-19 Tom de Vries <tdevries@suse.de>
3054
3055 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
3056 (gdb_do_cache): Use gdb_do_cache_wrap.
3057 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
3058
89e2fdc5
TV
30592020-02-19 Tom de Vries <tdevries@suse.de>
3060
3061 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
3062 gdb_compile option.
3063
373d7ac0
SM
30642020-02-18 Simon Marchi <simon.marchi@efficios.com>
3065
3066 * gdb.base/printcmds.exp (test_print_enums): Update expected
3067 output.
3068
b29a2df0
SM
30692020-02-18 Simon Marchi <simon.marchi@efficios.com>
3070
3071 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
3072 for "unknown".
3073
6740f0cc
SM
30742020-02-18 Simon Marchi <simon.marchi@efficios.com>
3075
3076 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
3077 enumerator.
3078
edd45eb0
SM
30792020-02-18 Simon Marchi <simon.marchi@efficios.com>
3080
3081 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
3082 FE_, add FE_NONE.
3083 (three): Update.
3084 (enum flag_enum_without_zero): New enum.
3085 (flag_enum_without_zero): New variable.
3086 (enum not_flag_enum): New enum.
3087 (three_not_flag): New variable.
3088 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
3089 (test_print_enums): Add more tests for printing flag enums.
3090
d4295de4
TV
30912020-02-18 Tom de Vries <tdevries@suse.de>
3092
3093 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
3094 (gdb_compile_ada): ... here.
3095 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
3096 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
3097
f251f505
TT
30982020-02-14 Tom Tromey <tom@tromey.com>
3099
3100 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
3101 build directory.
3102 * boards/gdbserver-base.exp: Update path to gdbserver.
3103
8f432634
TV
31042020-02-13 Tom de Vries <tdevries@suse.de>
3105
3106 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
3107
92b6eaf7
TV
31082020-02-13 Tom de Vries <tdevries@suse.de>
3109
3110 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
3111 are missing.
3112
f3b0f7fe
TV
31132020-02-13 Tom de Vries <tdevries@suse.de>
3114
3115 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
3116 call.
3117
f6be8713
SDJ
31182020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
3119
3120 PR tui/25126
3121 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
3122 * gdb.base/cached-source-file.c: New file.
3123 * gdb.base/cached-source-file.exp: New file.
3124
b2770d5e
TV
31252020-02-11 Tom de Vries <tdevries@suse.de>
3126
3127 PR testsuite/25488
3128 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
3129
44f6938e
TV
31302020-02-10 Tom de Vries <tdevries@suse.de>
3131
3132 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
3133
5f0e2eb7
MR
31342020-02-10 Maciej W. Rozycki <macro@wdc.com>
3135
3136 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
3137 and $after_addr are both integers before making a comparison.
3138
46ce2b6f
TV
31392020-02-09 Tom de Vries <tdevries@suse.de>
3140
3141 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
3142 command output and paste it into gdb.log. If any, paste catch message
3143 to gdb.log.
3144
5abbbe1d
TT
31452020-02-07 Tom Tromey <tromey@adacore.com>
3146
3147 PR breakpoints/24915:
3148 * gdb.base/annotate-symlink.exp: Use setup_xfail.
3149
1d5d29e7
SV
31502020-02-06 Shahab Vahedi <shahab@synopsys.com>
3151
3152 * gdb.tui/tui-missing-src.exp: Add the "missing source
3153 file" test for the TUI.
3154
b0999b9b
AB
31552020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
3156
3157 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
3158 including a port number in the output.
3159
c3b149eb
AKS
31602020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
3161
3162 * lib/fortran.exp (fortran_int4): Handle clang.
3163 (fortran_int8): Likewise.
3164 (fortran_real4): Likewise.
3165 (fortran_real8): Likewise.
3166 (fortran_complex4): Likewise.
3167 (fortran_logical4): Likewise.
3168 (fortran_character1): Likewise.
3169
f8dcc90b
TV
31702020-02-04 Tom de Vries <tdevries@suse.de>
3171
3172 * README (Race detection): Add note.
3173
f90ac7c2
TV
31742020-02-04 Tom de Vries <tdevries@suse.de>
3175
3176 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
3177
780636ae
TV
31782020-02-04 Tom de Vries <tdevries@suse.de>
3179
3180 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
3181
5d2e1193
RA
31822020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
3183
3184 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
3185 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
3186 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
3187 blttar, bnetarl.
3188 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
3189 binary for blttar, bnetarl.
3190 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
3191 wait instruction. Delete ldmx test.
3192 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
3193
e409c542
AKS
31942020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
3195
3196 * gdb.fortran/array-bounds-high.exp: New file.
3197 * gdb.fortran/array-bounds-high.f90: New file.
3198
b0029748
LD
31992020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
3200
3201 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
3202 Replace #include of <sys/fcntl.h> by <fcntl.h>.
3203
195a8287
TV
32042020-02-01 Tom de Vries <tdevries@suse.de>
3205
3206 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
3207
42330a68
AB
32082020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
3209
3210 PR tui/9765
3211 * gdb.tui/tui-layout-asm-short-prog.S: New file.
3212 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
3213
b62a8028
LM
32142020-01-29 Luis Machado <luis.machado@linaro.org>
3215
3216 * gdb.arch/aarch64-brk-patterns.c: New source file.
3217 * gdb.arch/aarch64-brk-patterns.exp: New test.
3218
5f440116
TBA
32192020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3220
3221 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
3222 GCC/Clang version.
3223 * gdb.cp/pass-by-ref.exp: Ditto.
3224
ee2a6fc6
TV
32252020-01-29 Tom de Vries <tdevries@suse.de>
3226
3227 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
3228 * gdb.threads/watchpoint-fork-mt.c: Same.
3229 * gdb.threads/watchpoint-fork-parent.c: Same.
3230 * gdb.threads/watchpoint-fork-st.c: Same.
3231 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
3232
16b10d6e
LM
32332020-01-27 Luis Machado <luis.machado@linaro.org>
3234
3235 * gdb.base/step-over-syscall.exp (setup): Check if we're already
3236 sitting at a syscall instruction when we hit the syscall function's
3237 breakpoint.
3238 Check PC against one obtained with the x command.
3239 Validate syscall number.
3240 (step_over_syscall): Don't continue to the syscall instruction if
3241 we're already there.
3242
b1468492
PW
32432020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3244
3245 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
3246
7ffa82e1
AB
32472020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3248
3249 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
3250 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
3251
3d92a3e3
AB
32522020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3253
3254 * gdb.dwarf2/dw2-inline-stepping.c: New file.
3255 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
3256
94a72be7
AB
32572020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3258
3259 * gdb.base/maint.exp: Update line table parsing test.
3260 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
3261
53af73bf
PA
32622020-01-24 Pedro Alves <palves@redhat.com>
3263
3264 PR gdb/25410
3265 * gdb.multi/multi-re-run-1.c: New.
3266 * gdb.multi/multi-re-run-2.c: New.
3267 * gdb.multi/multi-re-run.exp: New.
3268
1ba1ac88
AB
32692020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3270
3271 PR gdb/23718
3272 * gdb.server/server-kill-python.exp: New file.
3273
f3364a6d
AB
32742020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3275
3276 * gdb.server/multi-ui-errors.c: New file.
3277 * gdb.server/multi-ui-errors.exp: New file.
3278
733d0a67
AB
32792020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3280
3281 PR tui/9765
3282 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
3283
4f13c1c0
TT
32842020-01-19 Tom Tromey <tom@tromey.com>
3285
3286 * gdb.tui/main.exp: Add check for plain "file".
3287
40c94099
CB
32882020-01-16 Christian Biesinger <cbiesinger@google.com>
3289
3290 * lib/gdb.exp: Fix spelling error (seperatelly).
3291
ff47f4f0
TT
32922020-01-14 Tom Tromey <tom@tromey.com>
3293
3294 PR symtab/12535:
3295 * gdb.python/python.exp: Test decode_line with empty string
3296 argument.
3297
717c684d
BE
32982020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
3299
3300 * gdb.base/skip-inline.exp: Extend test.
3301
44e4c775
AB
33022020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
3303
3304 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
3305 * gdb.dwarf2/dw2-bad-elf.c: New file.
3306 * gdb.dwarf2/dw2-bad-elf.exp: New file.
3307
d93c6db7
AB
33082020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
3309
3310 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
3311 _line_saw_file.
3312
9a6d629c
AB
33132020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
3314
3315 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
3316 border.
3317
d9ebdab7
TBA
33182020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3319
3320 * gdb.multi/multi-target.exp (setup): Factor out "info
3321 connections" and "info inferiors" tests to ...
3322 (test_info_inferiors): ... this new procedure.
3323 (top level): Run new "info-inferiors" tests.
3324
f3c469b9
PA
33252020-01-10 Pedro Alves <palves@redhat.com>
3326
3327 * gdb.server/bkpt-other-inferior.exp: New file.
3328
121b3efd
PA
33292020-01-10 Pedro Alves <palves@redhat.com>
3330
3331 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
3332 of "add-inferior".
3333 * gdb.base/quit-live.exp: Likewise.
3334 * gdb.base/remote-exec-file.exp: Likewise.
3335 * gdb.guile/scm-progspace.exp: Likewise.
3336 * gdb.linespec/linespec.exp: Likewise.
3337 * gdb.mi/new-ui-mi-sync.exp: Likewise.
3338 * gdb.mi/user-selected-context-sync.exp: Likewise.
3339 * gdb.multi/multi-target.exp (setup): Add "info connection" and
3340 "info inferiors" tests.
3341 * gdb.multi/remove-inferiors.exp: Adjust expected output of
3342 "add-inferior".
3343 * gdb.multi/watchpoint-multi.exp: Likewise.
3344 * gdb.python/py-inferior.exp: Likewise.
3345 * gdb.server/extended-remote-restart.exp: Likewise.
3346 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
3347 "info inferiors".
3348 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
3349 * gdb.trace/report.exp: Likewise.
3350
1dadb1dd
PA
33512020-01-10 Pedro Alves <palves@redhat.com>
3352
3353 * gdb.multi/multi-target.c: New file.
3354 * gdb.multi/multi-target.exp: New file.
3355 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
3356 mode requested, but remote does not support non-stop".
3357
78f2c40a
PA
33582020-01-10 Pedro Alves <palves@redhat.com>
3359
3360 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
3361 disconnect before reconnecting.
3362
e7af6c70
TBA
33632020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3364 Pedro Alves <palves@redhat.com>
3365
3366 * gdb.server/connect-without-multi-process.exp: Also test
3367 continuing to end.
3368
acdf84a6
PA
33692020-01-10 Pedro Alves <palves@redhat.com>
3370
3371 * gdb.base/remote-exec-file.exp: New file.
3372
873657b9
PA
33732020-01-10 Pedro Alves <palves@redhat.com>
3374
3375 * gdb.base/fork-running-state.exp (do_test): Adjust expected
3376 output.
3377 * gdb.threads/async.c: New.
3378 * gdb.threads/async.exp: New.
3379 * gdb.multi/tids-gid-reset.c: New.
3380 * gdb.multi/tids-gid-reset.exp: New.
3381
7f0ae84c
GB
33822020-01-10 George Barrett <bob@bob131.so>
3383
3384 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
3385 to help in finding the image relocation offset.
3386 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
3387 options in arguments.
3388 (stap_test_no_debuginfo): Likewise.
3389 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
3390 test variants.
3391 (stap_test): Add null semaphore relocation test.
3392
47e9d49d
GB
33932020-01-10 George Barrett <bob@bob131.so>
3394
3395 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
3396 * gdb.base/stap-probe.exp: Likewise.
3397 (stap_test): Pass argument as an additional flag.
3398 (stap_test_no_debuginfo): Likewise.
3399 (stap_test): Check `info probes stap' output for semaphore
3400 addresses if the test binary is supposed to have them.
3401
f5a7c406
AB
34022020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3403
3404 * gdb.tui/basic.exp: Add more scrolling tests.
3405
9ae6bf64
TT
34062020-01-09 Tom Tromey <tom@tromey.com>
3407
3408 PR tui/18932:
3409 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
3410 meangingful value.
3411 (Term::command, Term::resize): Update.
3412 * gdb.tui/basic.exp: Add scrolling test.
3413
b2efe70c
AB
34142020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3415
3416 * gdb.tui/tui-layout-asm.exp: New file.
3417
3804da7e
AB
34182020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3419
3420 * lib/tuiterm.exp (Term::check_box_contents): New proc.
3421
b40aa28f
AB
34222020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3423
3424 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
3425 (Term::enter_tui): Use Term::prepare_for_tui.
3426
63ffd7c9
AB
34272020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3428
3429 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
3430 called.
3431
3be966f6
AB
34322020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3433
3434 * gdb.base/skip.exp: Fix race condition in test.
3435
153d79c4
AB
34362020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
3437
3438 * gdb.base/backtrace.c: New file.
3439 * gdb.base/backtrace.exp: New file.
3440
f2302a34
AB
34412020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
3442
3443 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
3444
6ec1d75e
PW
34452020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3446
3447 * gdb.base/style.exp: Test that warnings are styled.
3448
c296cbe6
BE
34492019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
3450
3451 * gdb.base/line65535.exp: New file.
3452 * gdb.base/line65535.c: New file.
3453
b28a729d
SM
34542019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
3455
3456 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
3457 * lib/gnat_debug_info_test.adb: New file.
3458 * gdb.ada/ptype_tagged_param.exp: Use
3459 gnat_runtime_has_debug_info, expect a different output if
3460 runtime does not have debug info.
3461
7f2d7a0d
SM
34622019-12-20 Simon Marchi <simon.marchi@efficios.com>
3463
3464 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
3465 (another) quote in test name.
3466
f3bce483
SM
34672019-12-20 Simon Marchi <simon.marchi@efficios.com>
3468
3469 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
3470 Add quote in test name.
3471
c855a912
TBA
34722019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3473
3474 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
3475 directory instead.
3476 * gdb.cp/pass-by-ref.exp: Extend with more cases.
3477 * gdb.cp/pass-by-ref-2.cc: New file.
3478 * gdb.cp/pass-by-ref-2.exp: New file.
3479
fc9d2d72
TT
34802019-12-20 Tom Tromey <tom@tromey.com>
3481
3482 * gdb.tui/list-before.exp: New file.
3483
77b97e00
TT
34842019-12-20 Tom Tromey <tom@tromey.com>
3485
3486 * gdb.tui/list.exp: Check for source on initial listing.
3487
f69656d0
TT
34882019-12-11 Tom Tromey <tromey@adacore.com>
3489
3490 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
3491 Add crlf test.
3492
99a55965
SM
34932019-12-18 Simon Marchi <simon.marchi@efficios.com>
3494
3495 * gdb.base/default.exp: Update value of $_gdb_major.
3496
5024637f
BE
34972019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
3498
3499 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
3500
b63634be
BE
35012019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
3502
3503 * gdb.base/skip.exp: Whitespace fix.
3504
45d73523
BE
35052019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
3506
3507 * gdb.base/skip-inline.c: New file.
3508 * gdb.base/skip-inline.exp: New file.
3509
d043f8c8
SM
35102019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
3511
3512 * gdb.base/jit-reader.exp (jit_reader_test): Rename
3513 jit_function_00 to jit_function_stack_mangle.
3514 * gdb.base/jithost.c (jit_function_t): Rename to...
3515 (jit_function_stack_mangle_t): ... this.
3516 (jit_function_add_t): New typedef.
3517 (jit_function_00_code): Rename to...
3518 (jit_function_stack_mangle_code): ... this, make static.
3519 (jit_function_add_code): New.
3520 (main): Generate "add" function and call it. Adjust to changes
3521 in jithost_abi.
3522 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
3523 (struct jithost_abi) <begin, end>: Remove fields.
3524 <object, function_stack_mangle, function_add>: New fields.
3525 * gdb.base/jitreader.c (struct reader_state) <code_begin,
3526 code_end>: Remove fields.
3527 <func_stack_mangle>: New field.
3528 (read_debug_info): Adjust to renaming, create block for "add"
3529 function.
3530 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
3531
873de05c
TT
35322019-12-11 Tom Tromey <tom@tromey.com>
3533
3534 * gdb.tui/resize.exp: Fix regexp.
3535 * gdb.tui/regs.exp: Fix regexps.
3536 * gdb.tui/main.exp: Fix regexp.
3537
3d979945
TT
35382019-12-11 Tom Tromey <tom@tromey.com>
3539
3540 * gdb.tui/resize.exp: Update.
3541 * gdb.tui/empty.exp (layouts): Update.
3542
2192a9d3
TT
35432019-12-11 Tom Tromey <tom@tromey.com>
3544
3545 * gdb.tui/regs.exp: Update.
3546 * gdb.tui/empty.exp (layouts): Update.
3547 * gdb.tui/basic.exp: Update.
3548 * lib/tuiterm.exp (_check_box): Don't check bottom border.
3549
d8edc8b7
PW
35502019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3551
3552 * gdb.base/options.exp: Add -raw-values in the print completion list.
3553 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
3554
4c12d936
KB
35552019-12-10 Kevin Buettner <kevinb@redhat.com>
3556
3557 * gdb.threads/omp-par-scope.c: New file.
3558 * gdb/threads/omp-par-scope.exp: New file.
3559
26b911fb
KB
35602019-12-10 Kevin Buettner <kevinb@redhat.com>
3561
bb47f919
KB
3562 * lib/gdb.exp (support_nested_function_tests): New proc.
3563
35642019-12-10 Kevin Buettner <kevinb@redhat.com>
3565
3566 * lib/gdb.exp (gdb_compile_openmp): New proc.
3567 (build_executable_from_specs): Add an "openmp" option.
3568 (gdb_compile_pthreads): Add non-executable case.
26b911fb 3569
6c71eb7d
TT
35702019-12-10 Tom Tromey <tromey@adacore.com>
3571
3572 * gdb.ada/unchecked_union.exp: New file.
3573 * gdb.ada/unchecked_union/pck.adb: New file.
3574 * gdb.ada/unchecked_union/pck.ads: New file.
3575 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
3576 * gdb-utils.exp (string_to_regexp): Also quote "?".
3577
bac7c5cf
GB
35782019-12-10 George Barrett <bob@bob131.so>
3579
3580 Test scripted probe breakpoints.
3581 * gdb.guile/scm-breakpoint.c (main): Add probe point.
3582 * gdb.python/py-breakpoint.c (main): Likewise.
3583 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
3584 specifier test.
3585 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
3586
330f1d38
TBA
35872019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3588
3589 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
3590 an rvalue parameter.
3591 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
3592 parameter.
3593
b43315e2
AB
35942019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
3595
3596 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
3597 modules.
3598
54f73dad
AB
35992019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
3600
3601 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
3602 broken version of GCC.
3603
d57cbee9
AB
36042019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
3605
3606 * gdb.fortran/info-modules.exp: Rewrite to make use of new
3607 sym-info-cmds library.
3608 * gdb.fortran/info-types.exp: Likewise.
3609 * lib/sym-info-cmds.exp: New file.
3610
c14aab8c
TV
36112019-12-08 Tom de Vries <tdevries@suse.de>
3612
3613 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
3614
aa2d5a42
KS
36152019-12-07 Keith Seitz <keiths@redhat.com>
3616
3617 * gdb.base/corefile-buildid-shlib-shr.c: New file.
3618 * gdb.base/corefile-buildid-shlib.c: New file.
3619 * gdb.base/corefile-buildid.c: New file.
3620 * gdb.base/corefile-buildid.exp: New file.
3621
93e55f0a
TV
36222019-12-06 Tom de Vries <tdevries@suse.de>
3623
3624 * gdb.dwarf2/varval.exp: Add decl before def test.
3625
c7d12402
TBA
36262019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3627
3628 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
3629
06acc08f
TBA
36302019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3631
3632 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
3633 CV and reference conversion for overload resolution.
3634 * gdb.cp/rvalue-ref-overload.exp: Test it.
3635
e0fad1ea
PW
36362019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3637
3638 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
3639 * gdb.base/frameapply.exp: Test faas without command.
3640
8d70a9f0
AB
36412019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
3642
3643 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
3644 Fortran tests.
3645 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
3646 order.
3647
36c8fb93
AB
36482019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
3649
3650 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
3651 casting to type with no kind specified.
3652 (test_basic_parsing_of_type_kinds): Additional tests for types
3653 with no kind specified, and add tests for single/double
3654 precision/complex types.
3655
4139ff00
TT
36562019-12-04 Tom Tromey <tromey@adacore.com>
3657
3658 * gdb.base/endianity.c (struct other) <x>: New field.
3659 (main): Initialize it.
3660 * gdb.base/endianity.exp: Update.
3661
a05cf17a
TT
36622019-12-04 Tom Tromey <tromey@adacore.com>
3663
3664 * gdb.ada/scalar_storage/storage.adb: New file.
3665 * gdb.ada/scalar_storage/pck.adb: New file.
3666 * gdb.ada/scalar_storage/pck.ads: New file.
3667 * gdb.ada/scalar_storage.exp: New file.
3668
103a685e
TT
36692019-12-04 Tom Tromey <tromey@adacore.com>
3670
3671 * gdb.base/endianity.c (struct otherendian) <f>: New field.
3672 (main): Initialize it.
3673 * gdb.base/endianity.exp: Update.
3674
c2512106
AB
36752019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
3676
3677 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
3678
293b38d6
AB
36792019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
3680
3681 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
3682 -symbol-info-module-functions and -symbol-info-module-variables.
3683
216a7e6b
AB
36842019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
3685
3686 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
3687
5bbd8269
AB
36882019-12-01 Richard Bunt <richard.bunt@arm.com>
3689 Andrew Burgess <andrew.burgess@embecosm.com>
3690
3691 * gdb.fortran/derived-type-striding.exp: New file.
3692 * gdb.fortran/derived-type-striding.f90: New file.
3693 * gdb.fortran/array-slices.exp: New file.
3694 * gdb.fortran/array-slices.f90: New file.
3695
be09caf1
PW
36962019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3697
3698 * gdb.base/define.exp: Test . in command names.
3699 * gdb.base/setshow.exp: Update test, as . is now part of
3700 command name.
3701
643c0cbe
PW
37022019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3703
3704 * gdb.base/define-prefix.exp: New file.
3705
dcdec678
AB
37062019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
3707
3708 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
3709 compile.
3710 (skip_btrace_pt_tests): Likewise.
3711
640ab947
AB
37122019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
3713
3714 * gdb.fortran/info-modules.exp: Compile source files in correct
3715 order.
3716
d22670f0
KB
37172019-11-27 Kevin Buettner <kevinb@redhat.com>
3718
3719 * gdb.dwarf2/imported-unit.exp: New file.
3720 * gdb.dwarf2/imported-unit.c: New file.
3721
db5960b4
AB
37222019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
3723
3724 * gdb.mi/mi-fortran-modules-2.f90: New file.
3725 * gdb.mi/mi-fortran-modules.exp: New file.
3726 * gdb.mi/mi-fortran-modules.f90: New file.
3727
7dc42066
AB
37282019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
3729
3730 * gdb.mi/mi-sym-info-1.c: New file.
3731 * gdb.mi/mi-sym-info-2.c: New file.
3732 * gdb.mi/mi-sym-info.exp: New file.
3733
0dfeecca
TT
37342019-11-22 Tom Tromey <tromey@adacore.com>
3735
3736 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
3737 * gdb.ada/tasks/foo.adb: Add another stopping location.
3738
34877895
PJ
37392019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
3740
3741 * gdb.base/endianity.c: New test.
3742 * gdb.base/endianity.exp: New file.
3743
2e84f897
LD
37442019-11-21 Lukas Durfina <ldurfina@tachyum.com>
3745
3746 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
3747
65d1cd5f
TV
37482019-11-21 Tom de Vries <tdevries@suse.de>
3749
3750 PR gdb/24956
3751 * gdb.base/ui-redirect.exp: Test output of user-defined command.
3752
4f22c3f4
SDJ
37532019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
3754
3755 * gdb.python/py-progspace.exp: Add missing parentheses on some
3756 'print' commands.
3757
9f6ad286
TT
37582019-11-19 Tom Tromey <tom@tromey.com>
3759
3760 * gdb.tui/winheight.exp: New file.
3761
0b8dbf3f
AB
37622019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
3763
3764 * gdb.base/ctf-whatis.c: Delete.
3765 * gdb.base/ctf-whatis.exp: Delete.
3766 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
3767
f833b7a7
AB
37682019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
3769
3770 * gdb.base/ctf-cvexpr.exp: Delete.
3771 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
3772
30d0a636
AB
37732019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
3774
3775 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
3776 the compiler. Clean up header comment a little.
3777 * gdb.base/ctf-ptype.exp: Likewise.
3778 * gdb.base/ctf-whatis.exp: Likewise.
3779 * lib/gdb.exp (skip_ctf_tests): New proc.
3780
494409bb
SDJ
37812019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
3782
3783 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
3784 * gdb.tui/corefile-run.exp: New file.
3785
55708e99
TT
37862019-11-14 Tom Tromey <tromey@adacore.com>
3787
3788 * gdb.base/gdbvars.exp (test_convenience_variables): Add
3789 regression tests.
3790
45e42163
TT
37912019-11-12 Tom Tromey <tom@tromey.com>
3792
3793 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
3794 after any command. Expect prompt after WAIT_FOR is seen.
3795 (enter_tui): Enable resize messages.
3796 (command): Expect command in output.
3797 (get_line): Avoid error when cursor appears to be off-screen.
3798 (dump_screen): Include screen size in title.
3799 (_do_resize): New proc, from "resize".
3800 (resize): Rewrite. Do resize in two steps.
3801 * gdb.tui/empty.exp (layouts): Fix entries.
3802 (check_boxes): Remove xfail.
3803 (check_text): Dump screen on failure.
3804
086baaf1
AB
38052019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
3806
3807 * gdb.python/py-symbol.exp: Add test for
3808 gdb.lookup_static_symbols.
3809
09ff83af
AB
38102019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
3811
3812 * gdb.python/py-symbol.c: Declare and call function from new
3813 py-symbol-2.c file.
3814 * gdb.python/py-symbol.exp: Compile both source files, and add new
3815 tests for gdb.lookup_static_symbol.
3816 * gdb.python/py-symbol-2.c: New file.
3817
11af934b
TV
38182019-11-02 Tom de Vries <tdevries@suse.de>
3819
3820 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
3821 * gdb.base/anon.exp: Same.
3822 * gdb.base/auto-connect-native-target.exp: Same.
3823 * gdb.base/call-ar-st.exp: Same.
3824 * gdb.base/catch-syscall.exp: Same.
3825 * gdb.base/commands.exp: Same.
3826 * gdb.base/default.exp: Same.
3827 * gdb.base/display.exp: Same.
3828 * gdb.base/float.exp: Same.
3829 * gdb.base/foll-fork.exp: Same.
3830 * gdb.base/help.exp: Same.
3831 * gdb.base/info-macros.exp: Same.
3832 * gdb.base/info-proc.exp: Same.
3833 * gdb.base/info-target.exp: Same.
3834 * gdb.base/long_long.exp: Same.
3835 * gdb.base/macscp.exp: Same.
3836 * gdb.base/memattr.exp: Same.
3837 * gdb.base/nofield.exp: Same.
3838 * gdb.base/pointers.exp: Same.
3839 * gdb.base/printcmds.exp: Same.
3840 * gdb.base/ptype.exp: Same.
3841 * gdb.base/restore.exp: Same.
3842 * gdb.base/return.exp: Same.
3843 * gdb.base/scope.exp: Same.
3844 * gdb.base/set-noassign.exp: Same.
3845 * gdb.base/setshow.exp: Same.
3846 * gdb.base/shlib-call.exp: Same.
3847 * gdb.base/signals.exp: Same.
3848 * gdb.base/sigstep.exp: Same.
3849 * gdb.base/skip.exp: Same.
3850 * gdb.base/solib-symbol.exp: Same.
3851 * gdb.base/stap-probe.exp: Same.
3852 * gdb.base/step-line.exp: Same.
3853 * gdb.base/step-test.exp: Same.
3854 * gdb.base/style.exp: Same.
3855 * gdb.base/varargs.exp: Same.
3856 * gdb.base/vla-datatypes.exp: Same.
3857 * gdb.base/vla-ptr.exp: Same.
3858 * gdb.base/vla-sideeffect.exp: Same.
3859 * gdb.base/volatile.exp: Same.
3860 * gdb.base/watch-cond-infcall.exp: Same.
3861 * gdb.base/watchpoint.exp: Same.
3862
e96ec2ba
TV
38632019-11-02 Tom de Vries <tdevries@suse.de>
3864
3865 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
3866 * gdb.cp/cpexprs.exp: Same.
3867 * gdb.cp/except-multi-location.exp: Same.
3868 * gdb.cp/exceptprint.exp: Same.
3869 * gdb.cp/gdb2384.exp: Same.
3870 * gdb.cp/inherit.exp: Same.
3871 * gdb.cp/m-static.exp: Same.
3872 * gdb.cp/meth-typedefs.exp: Same.
3873 * gdb.cp/misc.exp: Same.
3874 * gdb.cp/namespace.exp: Same.
3875 * gdb.cp/non-trivial-retval.exp: Same.
3876 * gdb.cp/overload.exp: Same.
3877 * gdb.cp/pr17132.exp: Same.
3878 * gdb.cp/re-set-overloaded.exp: Same.
3879 * gdb.cp/rvalue-ref-types.exp: Same.
3880 * gdb.cp/templates.exp: Same.
3881
bd5766ec
LM
38822019-11-01 Luis Machado <luis.machado@linaro.org>
3883
3884 PR gdb/25124
3885
3886 * gdb.arch/pr25124.S: New file.
3887 * gdb.arch/pr25124.exp: New file.
3888
165f8965
AB
38892019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3890
3891 * gdb.fortran/info-modules.exp: Update expected results, and add
3892 additional tests for 'info module functinos', and 'info module
3893 variables'.
3894 * gdb.fortran/info-types.exp: Update expected results.
3895 * gdb.fortran/info-types.f90: Extend testcase with additional
3896 module variables and functions.
3897
59c35742
AB
38982019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3899
3900 * gdb.fortran/info-modules.exp: New file.
3901 * gdb.fortran/info-types.exp: Build with new file.
3902 * gdb.fortran/info-types.f90: Include and use new module.
3903 * gdb.fortran/info-types-2.f90: New file.
3904
f3fb2519
PW
39052019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3906
3907 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
3908 * gdb.base/settings.exp: Test all settings types using
3909 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
3910 that now verifies that the value of "maint show" is the same as
3911 returned by the settings functions. Test the type of the
3912 maintenance settings.
3913 * gdb.base/default.exp: Update show_conv_list.
3914
d1e36019
TV
39152019-10-31 Tom de Vries <tdevries@suse.de>
3916
3917 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
3918 gdb_test.
3919 * gdb.arch/amd64-disp-step.exp: Same.
3920 * gdb.asm/asm-source.exp: Same.
3921 * gdb.btrace/buffer-size.exp: Same.
3922 * gdb.btrace/cpu.exp: Same.
3923 * gdb.btrace/enable.exp: Same.
3924 * gdb.dwarf2/count.exp: Same.
3925 * gdb.dwarf2/dw2-ranges-func.exp: Same.
3926 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
3927 * gdb.fortran/vla-datatypes.exp: Same.
3928 * gdb.fortran/vla-history.exp: Same.
3929 * gdb.fortran/vla-ptype.exp: Same.
3930 * gdb.fortran/vla-value.exp: Same.
3931 * gdb.fortran/whatis_type.exp: Same.
3932 * gdb.guile/guile.exp: Same.
3933 * gdb.multi/tids.exp: Same.
3934 * gdb.python/py-finish-breakpoint.exp: Same.
3935 * gdb.python/py-framefilter.exp: Same.
3936 * gdb.python/py-pp-registration.exp: Same.
3937 * gdb.python/py-xmethods.exp: Same.
3938 * gdb.python/python.exp: Same.
3939 * gdb.server/connect-with-no-symbol-file.exp: Same.
3940 * gdb.server/no-thread-db.exp: Same.
3941 * gdb.server/run-without-local-binary.exp: Same.
3942 * gdb.stabs/weird.exp: Same.
3943 * gdb.threads/attach-many-short-lived-threads.exp: Same.
3944 * gdb.threads/thread-find.exp: Same.
3945 * gdb.threads/tls-shared.exp: Same.
3946 * gdb.threads/tls.exp: Same.
3947 * gdb.threads/wp-replication.exp: Same.
3948 * gdb.trace/ax.exp: Same.
3949 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
3950
3d11e68e
TV
39512019-10-31 Tom de Vries <tdevries@suse.de>
3952
3953 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
3954 * gdb.ada/array_subscript_addr.exp: Same.
3955 * gdb.ada/arrayidx.exp: Same.
3956 * gdb.ada/arrayparam.exp: Same.
3957 * gdb.ada/arrayptr.exp: Same.
3958 * gdb.ada/boolean_expr.exp: Same.
3959 * gdb.ada/call_pn.exp: Same.
3960 * gdb.ada/complete.exp: Same.
3961 * gdb.ada/fixed_cmp.exp: Same.
3962 * gdb.ada/fun_addr.exp: Same.
3963 * gdb.ada/funcall_param.exp: Same.
3964 * gdb.ada/interface.exp: Same.
3965 * gdb.ada/mod_from_name.exp: Same.
3966 * gdb.ada/null_array.exp: Same.
3967 * gdb.ada/packed_array.exp: Same.
3968 * gdb.ada/packed_tagged.exp: Same.
3969 * gdb.ada/print_chars.exp: Same.
3970 * gdb.ada/print_pc.exp: Same.
3971 * gdb.ada/ptype_arith_binop.exp: Same.
3972 * gdb.ada/ptype_field.exp: Same.
3973 * gdb.ada/ptype_tagged_param.exp: Same.
3974 * gdb.ada/rec_return.exp: Same.
3975 * gdb.ada/ref_tick_size.exp: Same.
3976 * gdb.ada/str_ref_cmp.exp: Same.
3977 * gdb.ada/taft_type.exp: Same.
3978 * gdb.ada/tagged.exp: Same.
3979 * gdb.ada/type_coercion.exp: Same.
3980 * gdb.ada/uninitialized_vars.exp: Same.
3981
60b6ede8
TV
39822019-10-30 Tom de Vries <tdevries@suse.de>
3983
3984 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
3985
30baf67b
TV
39862019-10-26 Tom de Vries <tdevries@suse.de>
3987
3988 * gdb.base/bigcore.c: Fix typos in comments.
3989 * gdb.base/ctf-ptype.c: Same.
3990 * gdb.base/long_long.c: Same.
3991 * gdb.dwarf2/dw2-op-out-param.S: Same.
3992 * gdb.python/py-evthreads.c: Same.
3993 * gdb.reverse/i387-stack-reverse.c: Same.
3994 * gdb.trace/tfile.c: Same.
3995 * lib/compiler.c: Same.
3996 * lib/compiler.cc: Same.
3997
158da0d1
TV
39982019-10-25 Tom de Vries <tdevries@suse.de>
3999
4000 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
4001 gdb_test_multiple calls.
4002 * gdb.reverse/sigall-reverse.exp: Same.
4003 * gdb.reverse/solib-precsave.exp: Same.
4004 * gdb.reverse/solib-reverse.exp: Same.
4005 * gdb.reverse/until-precsave.exp: Same.
4006 * gdb.reverse/until-reverse.exp: Same.
4007
4ccdfbec
TV
40082019-10-24 Tom de Vries <tdevries@suse.de>
4009
4010 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
4011 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
4012 kfail using -wrap pattern flag and convenience variable
4013 gdb_test_name.
4014
33d569b7
AB
40152019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
4016
4017 * gdb.python/py-progspace.exp: Add tests for the
4018 Progspace.block_for_pc method.
4019
4d0b984b
TT
40202019-10-23 Tom Tromey <tom@tromey.com>
4021
4022 * configure: Rebuild.
4023 * aclocal.m4: Use m4_include, not sinclude.
4024
94cb3754
TV
40252019-10-21 Tom de Vries <tdevries@suse.de>
4026
4027 * gdb.base/infcall-nested-structs.c: Add
4028 __attribute__((noinline,noclone)) to all functions.
4029 (call_all): Add missing variable initialization. Simplify return value.
4030 (breakpt): Increment volatile variable, to prevent call from being
4031 optimized out.
4032 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
4033
062f1fc1
TV
40342019-10-17 Tom de Vries <tdevries@suse.de>
4035
4036 * gdb.fortran/module.exp: Allow info variables to print info for files
4037 other than module.f90.
4038
0b54364d
AB
40392019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
4040
4041 * gdb.fortran/module.exp: Extend with 'info variables' test.
4042
7ff5fae7
AB
40432019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
4044
4045 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
4046 F77_FOR_TARGET.
4047
d10eccaa
TV
40482019-10-16 Tom de Vries <tdevries@suse.de>
4049
4050 PR tdep/25096
4051 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
4052
745ff14e
TV
40532019-10-16 Tom de Vries <tdevries@suse.de>
4054
4055 PR tdep/24104
4056 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
4057 Add KFAIL for PR tdep/25096.
4058
03e1ab94
TV
40592019-10-16 Tom de Vries <tdevries@suse.de>
4060
4061 PR testsuite/25059
4062 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
4063
b17fcc10
TV
40642019-10-16 Tom de Vries <tdevries@suse.de>
4065
4066 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
4067 as signed.
4068
9223170f
SM
40692019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
4070
4071 * gdb.mi/list-thread-groups-available.exp: Read entries one by
4072 one instead of increasing timeout.
4073
d6e76313
TV
40742019-10-13 Tom de Vries <tdevries@suse.de>
4075
4076 PR record/25038
4077 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
4078 * gdb.reverse/sigall-reverse.exp: Same.
4079 * gdb.reverse/solib-precsave.exp: Same.
4080 * gdb.reverse/solib-reverse.exp: Same.
4081 * gdb.reverse/step-precsave.exp: Same.
4082 * gdb.reverse/until-precsave.exp: Same.
4083 * gdb.reverse/until-reverse.exp: Same.
4084 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
4085
6dfc0041
AA
40862019-10-10 Andreas Arnez <arnez@linux.ibm.com>
4087
4088 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
4089 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
4090 (cmp_struct_05_01, cmp_struct_static_02_01)
4091 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
4092 comparisons.
4093
abcf2cc8
TV
40942019-10-10 Tom de Vries <tdevries@suse.de>
4095
4096 PR testsuite/24888
4097 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
4098 gnatlink.
4099
a50faaf6
TV
41002019-10-09 Tom de Vries <tdevries@suse.de>
4101
4102 PR testsuite/25048
4103 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
4104
60ff3cd7
AB
41052019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
4106
4107 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
4108 exceptions due to missing debug information.
4109
dfee8566
TV
41102019-10-07 Tom de Vries <tdevries@suse.de>
4111
4112 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
4113
3d63690a
AB
41142019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
4115
4116 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
4117 * gdb.base/annota1.exp: Update to use gdb_test_name.
4118
30d1f018
WP
41192019-10-07 Weimin Pan <weimin.pan@oracle.com>
4120
4121 * gdb.base/ctf-whatis.exp: New file.
4122 * gdb.base/ctf-whatis.c: New file.
4123 * gdb.base/ctf-ptype.exp: New file.
4124 * gdb.base/ctf-ptype.c: New file.
4125 * gdb.base/ctf-constvars.exp: New file.
4126 * gdb.base/ctf-constvars.c: New file.
4127 * gdb.base/ctf-cvexpr.exp: New file.
4128
4dbbb47c
TV
41292019-10-04 Tom de Vries <tdevries@suse.de>
4130
4131 * gdb.cp/local-static.c (main): Move declaration of int i out of the
4132 for loop.
4133
77c2dba3
TT
41342019-10-03 Tom Tromey <tom@tromey.com>
4135
4136 PR rust/24976:
4137 * gdb.rust/simple.rs (Union2): New type.
4138 (main): Use Union2.
4139 * gdb.rust/simple.exp: Add test.
4140
179aed7f
AB
41412019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4142
4143 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
4144 nested function prefix.
4145
0a4b0913
AB
41462019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
4147 Richard Bunt <richard.bunt@arm.com>
4148 Andrew Burgess <andrew.burgess@embecosm.com>
4149
4150 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
4151 nested functions.
4152 * gdb.fortran/nested-funcs.f90: Update expected results.
4153 * gdb.fortran/nested-funcs-2.exp: New file.
4154 * gdb.fortran/nested-funcs-2.f90: New file.
4155
082cce05
AB
41562019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4157
4158 * gdb.python/py-parameter.exp: Make test names unique.
4159 * gdb.python/py-template.exp: Likewise.
4160 * gdb.python/py-value.exp: Likewise.
4161
2b74ba5a
AB
41622019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4163
4164 * gdb.base/break-interp.exp: Reduce test name duplication.
4165 * gdb.base/call-sc.exp: Likewise.
4166 * gdb.base/callfuncs.exp: Likewise.
4167 * gdb.base/charset.exp: Likewise.
4168 * gdb.base/dump.exp: Likewise.
4169 * gdb.base/ena-dis-br.exp: Likewise.
4170 * gdb.base/relational.exp: Likewise.
4171 * gdb.base/step-over-syscall.exp: Likewise.
4172 * gdb.base/structs.exp: Likewise.
4173
58eb20d5
AB
41742019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4175
4176 * gdb.linespec/explicit.exp: Make test names unique.
4177 * gdb.linespec/ls-errs.exp: Likewise.
4178
4d421147
AB
41792019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4180
4181 * gdb.reverse/break-precsave.exp: Make test names unique.
4182 * gdb.reverse/break-reverse.exp: Likewise.
4183 * gdb.reverse/finish-precsave.exp: Likewise.
4184 * gdb.reverse/finish-reverse.exp: Likewise.
4185 * gdb.reverse/machinestate-precsave.exp: Likewise.
4186 * gdb.reverse/machinestate.exp: Likewise.
4187 * gdb.reverse/readv-reverse.exp: Likewise.
4188 * gdb.reverse/recvmsg-reverse.exp: Likewise.
4189 * gdb.reverse/sigall-precsave.exp: Likewise.
4190 * gdb.reverse/sigall-reverse.exp: Likewise.
4191 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
4192 * gdb.reverse/watch-precsave.exp: Likewise.
4193 * gdb.reverse/watch-reverse.exp: Likewise.
4194
d8c06f22
AB
41952019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4196
4197 * gdb.threads/stop-with-handle.c: New file.
4198 * gdb.threads/stop-with-handle.exp: New file.
4199
3a56ed86
TV
42002019-10-03 Tom de Vries <tdevries@suse.de>
4201
4202 PR testsuite/25059
4203 * gdb.base/list-missing-source.exp: Allowing the "Compilation
4204 directory" line to be missing.
4205
42275044
TV
42062019-10-03 Tom de Vries <tdevries@suse.de>
4207
4208 PR testsuite/25059
4209 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
4210 type optional.
4211
9ef62df0
AA
42122019-10-02 Andreas Arnez <arnez@linux.ibm.com>
4213
4214 * gdb.python/py-format-string.c (string.h): New include.
4215 (main): Fill a_struct_with_union.the_union.an_int with bytes of
4216 the same value, for endianness-independence.
4217 * gdb.python/py-format-string.exp (default_regexp_dict)
4218 (test_pretty_structs, test_format): Adjust expected output to the
4219 changed initialization.
4220
37f6a7f4
TT
42212019-10-02 Tom Tromey <tromey@adacore.com>
4222
4223 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
4224
1d58d6a2
PA
42252019-10-02 Pedro Alves <palves@redhat.com>
4226 Andrew Burgess <andrew.burgess@embecosm.com>
4227
4228 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
4229 "print-file-var.h".
4230 (this_version_id) Use ATTRIBUTE_VISIBILITY.
4231 (get_version_1): Print this_version_id and its address.
4232 Add extern "C" wrappers around interface functions.
4233 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
4234 "print-file-var.h".
4235 (this_version_id) Use ATTRIBUTE_VISIBILITY.
4236 (get_version_2): Print this_version_id and its address.
4237 Add extern "C" wrappers around interface functions.
4238 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
4239 <stddef.h> and "print-file-var.h".
4240 Add extern "C" wrappers around interface functions.
4241 [VERSION_ID_MAIN] (this_version_id): Define.
4242 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
4243 * gdb.base/print-file-var.h: Add some #defines to simplify setting
4244 up extern "C" blocks.
4245 * gdb.base/print-file-var.exp (test): New, factored out from top
4246 level.
4247 (top level): Test all combinations of attribute hidden or not,
4248 dlopen or not, and this_version_id symbol in main file or not.
4249 Compile tests as both C++ and C, make test names unique.
4250
d770d56f
TT
42512019-10-01 Tom Tromey <tom@tromey.com>
4252
4253 * gdb.base/style.exp: Test "show logging filename".
4254
7f6aba03
TT
42552019-10-01 Tom Tromey <tom@tromey.com>
4256
4257 * lib/gdb-utils.exp (style): Handle "metadata" argument.
4258 * gdb.base/style.exp: Add metadata style test.
4259
14309bb6
TT
42602019-10-01 Tom Tromey <tom@tromey.com>
4261
4262 * gdb.base/style.exp: Test "pwd".
4263
2a3c1174
PA
42642019-10-01 Tom Tromey <tom@tromey.com>
4265
4266 * gdb.base/style.exp: Update tests.
4267
53d666ec
AA
42682019-10-01 Andreas Arnez <arnez@linux.ibm.com>
4269
4270 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
4271 'six' to unsigned.
4272 (s1): Initialize fields 'four' and 'six' instead of 'three' and
4273 'five'. Use an all-ones bit pattern for each.
4274 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
4275 to its changed values.
4276
4a56a520
TT
42772019-09-30 Tom Tromey <tromey@adacore.com>
4278
4279 * gdb.rust/traits.rs: Disable all warnings.
4280
0df0352a
TV
42812019-09-29 Tom de Vries <tdevries@suse.de>
4282
aac66a4c 4283 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
0df0352a 4284
73d9a918
TV
42852019-09-29 Tom de Vries <tdevries@suse.de>
4286
4287 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
4288
060b3ab4
TV
42892019-09-27 Tom de Vries <tdevries@suse.de>
4290
4291 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
4292
68f7d34d
TV
42932019-09-27 Tom de Vries <tdevries@suse.de>
4294
4295 PR record/23188
4296 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
4297
5d63b30a
TT
42982019-09-26 Tom Tromey <tromey@adacore.com>
4299
4300 * gdb.ada/py_taft.exp: New file.
4301 * gdb.ada/py_taft/main.adb: New file.
4302 * gdb.ada/py_taft/pkg.adb: New file.
4303 * gdb.ada/py_taft/pkg.ads: New file.
4304
3d435220
TV
43052019-09-24 Tom de Vries <tdevries@suse.de>
4306
4307 PR gdb/24598
4308 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
4309
77d03678
TV
43102019-09-22 Tom de Vries <tdevries@suse.de>
4311
4312 * gdb.base/restore.exp: Allow register variables to be optimized out at
4313 -O0.
4314
abf516c6
UW
43152019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
4316
4317 * gdb.arch/spu-info.exp: Remove file.
4318 * gdb.arch/spu-info.c: Remove file.
4319 * gdb.arch/spu-ls.exp: Remove file.
4320 * gdb.arch/spu-ls.c: Remove file.
4321
4322 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
4323 * gdb.asm/spu.inc: Remove file.
4324
4325 * gdb.base/dump.exp: Remove support for spu*-*-*.
4326 * gdb.base/stack-checking.exp: Likewise.
4327 * gdb.base/overlays.exp: Likewise.
4328 * gdb.base/ovlymgr.c: Likewise.
4329 * gdb.base/spu.ld: Remove file.
4330
4331 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
4332 * gdb.cp/cpexprs.exp: Likewise.
4333 * gdb.cp/exception.exp: Likewise.
4334 * gdb.cp/gdb2495.exp: Likewise.
4335 * gdb.cp/mb-templates.exp: Likewise.
4336 * gdb.cp/pr9167.exp: Likewise.
4337 * gdb.cp/userdef.exp: Likewise.
4338
4339 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
4340
4341 * gdb.cell: Remove directory.
4342 * lib/cell.exp: Remove file.
4343
e452e88f
TV
43442019-09-19 Tom de Vries <tdevries@suse.de>
4345
4346 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
4347
8a625130
TV
43482019-09-19 Tom de Vries <tdevries@suse.de>
4349
4350 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
4351
81dc3ab5
TV
43522019-09-19 Tom de Vries <tdevries@suse.de>
4353
4354 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
4355 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
4356 (gdb_target_cmd): ... here.
4357 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
4358 value 2.
4359
b078f3ac
AB
43602019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
4361
4362 * gdb.base/source-dir.exp: Avoid having directory names in test
4363 names.
4364
f1b620e9
MG
43652019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
4366
4367 * gdb.base/source-dir.exp: Add extra test for mapped compilation
4368 directory.
4369
67f3ed6a
AB
43702019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
4371
4372 * gdb.base/list-missing-source.exp: New file.
4373
d1b70248
TV
43742019-09-14 Tom de Vries <tdevries@suse.de>
4375
4376 PR teststuite/24599
4377 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
4378 * lib/ada.exp (gnatmake_version_at_least): New proc.
4379
5fabdcd6
AB
43802019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
4381
4382 * gdb.base/maint.exp: Use exec_has_index_section.
4383
aa17805f
AB
43842019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
4385
4386 * gdb.base/maint.exp: Add test for 'maint info sections'.
4387
25e5c209
TV
43882019-09-12 Tom de Vries <tdevries@suse.de>
4389
4390 * gdb.base/store.exp: Allow register variables to be optimized out at
4391 -O0.
4392
4993045d
PW
43932019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4394
4395 * gdb.ada/rdv_wait.exp: Update to new task names.
4396 * gdb.base/task_switch_in_core.exp: Likewise.
4397 * gdb.base/info_sources_base.c: Likewise.
4398
8a516164
TT
43992019-09-10 Tom Tromey <tromey@adacore.com>
4400
4401 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
4402
aa391654
TT
44032019-09-10 Tom Tromey <tromey@adacore.com>
4404
4405 * gdb.ada/dgopt.exp: New file.
4406 * gdb.ada/dgopt/x.adb: New file.
4407
8634b462
TT
44082019-09-08 Tom Tromey <tom@tromey.com>
4409
4410 * gdb.tui/resize.exp: Remove setup_xfail.
4411 * gdb.tui/regs.exp: Remove setup_xfail.
4412 * gdb.tui/basic.exp: Remove setup_xfail.
4413
736b0f76
DB
44142019-09-06 David Blaikie <dblaikie@gmail.com>
4415
4416 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
4417 * gdb.cp/cplabel.exp: Ditto.
4418 * gdb.linespec/ls-errs.exp: Ditto.
4419
30331a6c
TV
44202019-09-05 Tom de Vries <tdevries@suse.de>
4421
4422 * lib/gdb.exp (cmp_file_string): New proc.
4423 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
4424 runto_main. Verify save breakpoints output.
4425
98b0ebab
PW
44262019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4427
4428 * gdb.base/info-var.exp: Test info variables without running
4429 to main, to avoid expect's buffer overflow.
4430
4e962e74
TT
44312019-09-03 Tom Tromey <tromey@adacore.com>
4432
4433 * gdb.ada/bias.exp: New file.
4434 * gdb.ada/bias/bias.adb: New file.
4435 * gdb.ada/print_chars.exp: Add regression test.
4436 * gdb.ada/print_chars/foo.adb (My_Character): New type.
4437 (MC): New variable.
4438
2ea1a07a
SL
44392019-08-29 Sandra Loosemore <sandra@codesourcery.com>
4440
4441 * gdb.base/argv0-symlink.exp: Run only on native target
4442 and local host.
4443
8077c50d
TV
44442019-08-29 Tom de Vries <tdevries@suse.de>
4445
4446 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
4447 diverse debug info.
4448 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
4449
48352473
TV
44502019-08-28 Tom de Vries <tdevries@suse.de>
4451
4452 * gdb.base/info-var.exp: Allow info variables to print info for files
4453 other than info-var-f1.c and info-var-f2.c.
4454
d8f27c60
AB
44552019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
4456
4457 * gdb.fortran/info-types.exp: Add module.
4458 * gdb.fortran/info-types.f90: Update expected results.
4459
1f20c35e
AB
44602019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
4461
4462 * gdb.fortran/info-types.exp: New file.
4463 * gdb.fortran/info-types.f90: New file.
4464 * lib/fortran.exp (fortran_character1): New proc.
4465
4acfdd20
AB
44662019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
4467
4468 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
4469 functions'. Reindent as needed.
4470 * gdb.base/info-var-f1.c: New file.
4471 * gdb.base/info-var-f2.c: New file.
4472 * gdb.base/info-var.exp: New file.
4473 * gdb.base/info-var.h: New file.
4474
5c31b358
TV
44752019-08-26 Tom de Vries <tdevries@suse.de>
4476
4477 PR c++/24852
4478 * gdb.cp/no-libstdcxx-probe.exp: New test.
4479
b694989f
TV
44802019-08-26 Tom de Vries <tdevries@suse.de>
4481
4482 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
4483 * tests need to be skipped.
4484 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
4485 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
4486 mi_skip_libstdcxx_probe_tests.
4487
d9c4ba53
SDJ
44882019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
4489
4490 * gdb.python/py-xmethods.exp: Use raw strings when passing
4491 arguments to SimpleXMethodMatcher.
4492
395fad09
TV
44932019-08-22 Tom de Vries <tdevries@suse.de>
4494
4495 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
4496 more informative.
4497
26c957f1
PA
44982019-08-21 Pedro Alves <palves@redhat.com>
4499
4500 * gdb.base/with.exp: Test "with" with no arguments.
4501
61f80d5d
TV
45022019-08-21 Tom de Vries <tdevries@suse.de>
4503
4504 * gdb.base/gdb-caching-proc.exp: Sort files.
4505
d7a11d13
TV
45062019-08-20 Tom de Vries <tdevries@suse.de>
4507
4508 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
4509 compilation.
4510
34dafe9f
TV
45112019-08-16 Tom de Vries <tdevries@suse.de>
4512
4513 * gdb.base/compare-sections.exp ("after run to main"): Allow
4514 mismatched read-only sections for PIE executables.
4515
398fdd60
TT
45162019-08-16 Tom Tromey <tom@tromey.com>
4517
4518 * lib/tuiterm.exp (_csi_Z): New proc.
4519 * gdb.tui/basic.exp: Update window positions.
4520 * gdb.tui/empty.exp: Update window positions.
4521
d8f9e51c
SL
45222019-08-15 Sandra Loosemore <sandra@codesourcery.com>
4523
4524 * gdb.base/examine-backward.exp: Correct regexp for
4525 "examine 3 bytes backward from ${address_zero}".
4526
3df505f6
TT
45272019-08-15 Tom Tromey <tom@tromey.com>
4528
4529 * gdb.tui/empty.exp: Enable resizing tests.
4530
272560b5
TT
45312019-08-15 Tom Tromey <tromey@adacore.com>
4532
4533 * gdb.ada/char_enum.exp: Add regression tests.
4534 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
4535 and '0'.
4536 (Char, Gchar): Update.
4537 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
4538
08235187
CB
45392019-08-15 Christian Biesinger <cbiesinger@google.com>
4540
4541 * gdb.python/python.exp: Expect a leading underscore on
4542 GdbOutput{,Error}File.
4543
22a2ab04
SL
45442019-08-15 Sandra Loosemore <sandra@codesourcery.com>
4545
4546 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
4547 Windows host.
4548
835b995b
SL
45492019-08-15 Sandra Loosemore <sandra@codesourcery.com>
4550
4551 * gdb.base/batch-preserve-term-settings.exp
4552 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
4553
97dd8e07
CB
45542019-08-15 Christian Biesinger <cbiesinger@google.com>
4555
4556 * lib/gdb.exp: When running on a mingw target, replace
4557 /x/ with x:/.
4558
75faf5c4
AH
45592019-08-14 Alan Hayward <alan.hayward@arm.com>
4560
4561 * gdb.arch/aarch64-prologue.c: New test.
4562 * gdb.arch/aarch64-prologue.exp: New file.
4563
abc6c00f
TV
45642019-08-13 Tom de Vries <tdevries@suse.de>
4565
4566 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
4567 Thread.
4568
74c2c1f4
SL
45692019-08-13 Sandra Loosemore <sandra@codesourcery.com>
4570
4571 * gdb.python/py-completion.exp: Download the .py file to the host
4572 and use its host pathname. Conditionalize tests that use
4573 tab completion and manipulate files on the build machine.
4574 * gdb.python/py-events.exp: Download the .py file to the host
4575 and use its host pathname.
4576 * gdb.python/py-evsignal.exp: Likewise.
4577 * gdb.python/py-evthreads.exp: Likewise.
4578 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
4579 pathname syntax.
4580 * gdb.python/py-framefilter.exp: Download the .py file to the right
4581 place on the host. Match Windows pathname syntax.
4582 * gdb.python/py-mi-var-info-path-expression.exp: Download the
4583 .py file to the host and use its host pathname.
4584 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
4585 * gdb.python/py-objfile.exp: Expect a host pathname, not a
4586 build pathname. Skip symlink test on Windows host. Add missing
4587 newline at end of file.
4588 * gdb.python/py-pp-maint.exp: Download the .py file to the host
4589 and use its host pathname.
4590 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
4591 * gdb.python/py-section-script.exp: Use host location of binfile
4592 on safe-path. Use correct path separator on Windows host.
4593 Reorder alternatives in gdb_test_multiple to prevent matching
4594 the wrong alternative on success.
4595 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
4596
ca2589f3
PP
45972019-08-12 Patrick Palka <patrick@parcs.ath.cx>
4598
4599 * gdb.gdb/selftest.exp (test_with_self): Update test to now
4600 expect the GDB inferior to no longer immediately stop after
4601 being resumed with "signal SIGINT".
4602
020a839d
SL
46032019-08-09 Sandra Loosemore <sandra@codesourcery.com>
4604
4605 * gdb.linespec/break-ask.exp: Generalize regexps to match
4606 Windows pathnames too.
4607
128d6509
TV
46082019-08-08 Tom de Vries <tdevries@suse.de>
4609
4610 PR testsuite/24862
4611 * lib/tuiterm.exp (_accept): Fix CSI regexp.
4612
590042fc
PW
46132019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4614
4615 * gdb.base/style.exp: Update tests for help doc new invariants.
4616 * gdb.base/help.exp: Likewise.
4617
046bebe1
TT
46182019-08-06 Tom Tromey <tom@tromey.com>
4619
4620 * gdb.base/style.exp: Add disassemble test.
4621 * gdb.base/style.c (some_called_function): New function.
4622 (main): Use it.
4623
0b27c27d
CB
46242019-08-05 Christian Biesinger <cbiesinger@google.com>
4625
4626 * gdb.python/py-block.exp: Test dictionary access on blocks.
4627
580f1034
SM
46282019-08-05 Simon Marchi <simon.marchi@efficios.com>
4629
4630 PR gdb/24863
4631 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
4632 -list-thread-groups --available test when running under
4633 check-read1.
4634
d86bd7cb
TV
46352019-08-05 Tom de Vries <tdevries@suse.de>
4636
4637 PR testsuite/24863
4638 * lib/gdb.exp (with_read1_timeout_factor): New proc.
4639 * gdb.base/help.exp: Use with_read1_timeout_factor.
4640 * gdb.base/info-macros.exp: Same.
4641 * gdb.cp/nested-types.exp: Same.
4642
a80cf5d8
TV
46432019-08-05 Tom de Vries <tdevries@suse.de>
4644
4645 * lib/gdb.exp (version_at_least): Factor out of ...
4646 (tcl_version_at_least): ... here.
4647 (gdb_compile): Fail if pie results in non-PIE executable.
4648 (readelf_version, readelf_prints_pie): New proc.
4649 (exec_is_pie): Return -1 if unknown.
4650
d0962838
TV
46512019-08-05 Tom de Vries <tdevries@suse.de>
4652
4653 * lib/gdb.exp (tcl_version_at_least): Fix typo.
4654
2252ff3d
SL
46552019-08-04 Sandra Loosemore <sandra@codesourcery.com>
4656
4657 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
4658
26655f53
SL
46592019-08-04 Sandra Loosemore <sandra@codesourcery.com>
4660
4661 * lib/completion-support.exp (test_gdb_complete_none): Skip
4662 tab completion tests if no readline support.
4663 (test_gdb_complete_unique_re): Likewise.
4664 (test_gdb_complete_multiple): Likewise.
4665
db4dc13e
PW
46662019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4667
4668 * gdb.base/info_sources.exp: New file.
4669 * gdb.base/info_sources.c: New file.
4670 * gdb.base/info_sources_base.c: New file.
4671
0eba165a
PFC
46722019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4673
4674 * gdb.base/batch-exit-status.exp: Call test_exit_status with
4675 prefix argument.
4676 (test_exit_status): Add prefix argument.
4677
59bd512b
TV
46782019-08-01 Tom de Vries <tdevries@suse.de>
4679
4680 PR testsuite/24863
4681 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
4682 calling exp_continue for new thread and thread exited messages.
4683
2a3ad588
TV
46842019-08-01 Tom de Vries <tdevries@suse.de>
4685
4686 PR testsuite/24863
4687 * gdb.base/structs.exp: Fix check-read1 timeout using
4688 gdb_test_sequence.
4689 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
4690
117eb594
TV
46912019-08-01 Tom de Vries <tdevries@suse.de>
4692
4693 PR testsuite/24863
4694 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
4695 line.
4696
ed591340
TV
46972019-08-01 Tom de Vries <tdevries@suse.de>
4698
4699 PR testsuite/24863
4700 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
4701
aa3b6533
TT
47022019-07-30 Tom Tromey <tromey@adacore.com>
4703
4704 * gdb.ada/display_nested.exp: New file.
4705 * gdb.ada/display_nested/foo.adb: New file.
4706 * gdb.ada/display_nested/pack.adb: New file.
4707 * gdb.ada/display_nested/pack.ads: New file.
4708
2906593f
CB
47092019-07-30 Christian Biesinger <cbiesinger@google.com>
4710
4711 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
4712 namespace.
4713 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
4714
0f575925
TV
47152019-07-30 Tom de Vries <tdevries@suse.de>
4716
4717 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
4718 instead.
4719
b13057d9
TV
47202019-07-30 Tom de Vries <tdevries@suse.de>
4721
4722 PR testsuite/24834
4723 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
4724 (exec_is_pie): New proc.
4725
5c4dde85
CB
47262019-07-29 Christian Biesinger <cbiesinger@google.com>
4727
4728 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
4729
c620ed88
CB
47302019-07-29 Christian Biesinger <cbiesinger@google.com>
4731
4732 * gdb.python/py-objfile.c: Add global and static vars.
4733 * gdb.python/py-objfile.exp: Test new functions Objfile.
4734 lookup_global_symbol and lookup_static_symbol.
4735
3d235706
TT
47362019-07-29 Tom Tromey <tom@tromey.com>
4737
4738 * lib/tuiterm.exp (Term::_csi_@): New proc.
4739 (Term::_csi_X): Don't move cursor.
4740
c7e4c0a6
PW
47412019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4742
4743 * gdb.base/options.exp: Update backtrace - completion to
4744 new option -frame-info.
4745 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
4746 Test new 'set print frame-info'. Test backtrace -frame-info
4747 overriding 'set print frame-info'.
4748 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
4749 Test new 'set print frame-info'.
4750 Verify consistency of backtrace with and without filters, with and
4751 without -no-filters.
4752 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
4753 default.
4754
de28a3b7
TV
47552019-07-29 Tom de Vries <tdevries@suse.de>
4756
4757 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
4758 no arguments".
4759
507dd60e
TV
47602019-07-29 Tom de Vries <tdevries@suse.de>
4761
4762 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
4763 is a substring of the first for "complete non-unique file name".
4764
5beafce9
TV
47652019-07-29 Tom de Vries <tdevries@suse.de>
4766
4767 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
4768 with ".*".
4769
2d274232
TV
47702019-07-29 Tom de Vries <tdevries@suse.de>
4771
4772 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
4773 Pass prompt_regexp parameter to gdb_test_multiple calls.
4774
9197cd8b
TV
47752019-07-29 Tom de Vries <tdevries@suse.de>
4776
4777 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
aac66a4c 4778 print registers" regexps.
9197cd8b 4779
b528dae0
TV
47802019-07-29 Tom de Vries <tdevries@suse.de>
4781
4782 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
4783
d17725d7
TV
47842019-07-29 Tom de Vries <tdevries@suse.de>
4785
4786 PR gdb/24855
4787 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
4788 (skip_python_tests_prompt): Add prompt_regexp argument to
4789 gdb_test_multiple calls.
4790
52b75bf1
TT
47912019-07-27 Tom Tromey <tom@tromey.com>
4792
4793 * gdb.tui/main.exp: New file.
4794
2b1d00c2
TT
47952019-07-27 Tom Tromey <tom@tromey.com>
4796
4797 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
4798 optional.
4799 * gdb.tui/empty.exp: New file.
4800
ded631d5
TT
48012019-07-27 Tom Tromey <tom@tromey.com>
4802
4803 * lib/tuiterm.exp (spawn): New proc.
4804 (Term::resize): New proc.
4805 * gdb.tui/resize.exp: New file.
4806
58ac439d
TT
48072019-07-27 Tom Tromey <tom@tromey.com>
4808
4809 * gdb.tui/list.exp: New file.
4810
fe1f56ee
TT
48112019-07-27 Tom Tromey <tom@tromey.com>
4812
4813 * gdb.tui/regs.exp: New file.
4814
f790b310
TT
48152019-07-27 Tom Tromey <tom@tromey.com>
4816
4817 * gdb.tui/basic.exp: Add "layout split" test.
4818
d95fc6ee
TT
48192019-07-27 Tom Tromey <tom@tromey.com>
4820
4821 * gdb.tui/basic.exp: Add "layout asm" test.
4822
c3786b3a
TT
48232019-07-27 Tom Tromey <tom@tromey.com>
4824
4825 * lib/tuiterm.exp: New file.
4826 * gdb.tui/basic.exp: New file.
4827
98a617f8
KB
48282019-07-27 Kevin Buettner <kevinb@redhat.com>
4829
4830 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
4831 Enable tests associated with this flag. Adjust regex
4832 referencing "foo_low" to now refer to "foo_cold" instead.
4833
5c076da4
KB
48342019-07-27 Kevin Buettner <kevinb@redhat.com>
4835
4836 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
4837 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
4838 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
4839 foo_cold. Revise comments to match.
4840 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
4841 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
4842 were wrapped into this proc; Call do_test in loop from outermost
4843 level.
4844 (foo_low): Rename all occurrences to "foo_cold".
4845 (backtrace from baz): New test.
4846 (x2/i foo_cold): New test.
4847 (info line *foo_cold): New test.
4848
1512d3b7
TV
48492019-07-26 Tom de Vries <tdevries@suse.de>
4850
4851 * gdb.arch/i386-pkru.exp: Fix unterminated string.
4852
297989a1
TV
48532019-07-25 Tom de Vries <tdevries@suse.de>
4854
4855 PR testsuite/24830
4856 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
4857 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
4858 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
4859 (skip_libstdcxx_probe_tests): ... here.
4860 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
4861
b3b965fb
TV
48622019-07-24 Tom de Vries <tdevries@suse.de>
4863
4864 PR testsuite/24807
4865 * gdb.objc/basicclass.m: Include stdio.h.
4866 * gdb.objc/nondebug.m: Same.
4867 * gdb.objc/objcdecode.m: Same.
4868
4625b4d0
TV
48692019-07-24 Tom de Vries <tdevries@suse.de>
4870
4871 PR testsuite/24612
4872 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
4873 additional_flags.
4874
024a5840
TV
48752019-07-24 Tom de Vries <tdevries@suse.de>
4876
4877 PR testsuite/24831
4878 * gdb.multi/tids.exp: Update error messages for info threads.
4879
c76ddaa3
TV
48802019-07-24 Tom de Vries <tdevries@suse.de>
4881
4882 * gdb.base/info-types.exp: Allow info types to print info for more than
4883 one file.
4884
9a618ef6
TV
48852019-07-23 Tom de Vries <tdevries@suse.de>
4886
4887 PR testsuite/24842
4888 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
4889 gdb_spawn_with_cmdline_opts.
4890
40eadf04
SP
48912019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
4892
4893 * gdb.arch/arm-cmse-sgstubs.c: New test.
4894 * gdb.arch/arm-cmse-sgstubs.exp: New file.
4895
5ba29434
TV
48962019-07-23 Tom de Vries <tdevries@suse.de>
4897
4898 PR testsuite/24711
4899 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
4900 issuing next command.
4901
a8e9d247
AB
49022019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
4903
4904 * gdb.ada/info_auto_lang.exp: Update expected results.
4905 * gdb.base/info-types.c: Add additional types to check.
4906 * gdb.base/info-types.exp: Update expected results.
4907
eb86c5e2
AB
49082019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
4909
4910 * gdb.base/info-types.c: New file.
4911 * gdb.base/info-types.exp: New file.
4912
01e175fe
AB
49132019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
4914
4915 * gdb.arch/riscv-bp-infcall.c: New file.
4916 * gdb.arch/riscv-bp-infcall.exp: New file.
4917
6b78c3f8
AB
49182019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
4919
4920 PR breakpoints/24541
4921 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
4922
da738167
TV
49232019-07-14 Tom de Vries <tdevries@suse.de>
4924
4925 PR testsuite/24760
4926 * gdb.objc/basicclass.exp: Fix unterminated string.
4927
0d4e84ed
AB
49282019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
4929 Andrew Burgess <andrew.burgess@embecosm.com>
4930
4931 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
4932 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
4933 negative bounds.
4934 * gdb.fortran/vla-value.exp: Print elements of an array with
4935 negative bounds.
4936 * gdb.fortran/vla.f90: Setup an array with negative bounds for
4937 testing.
4938
021d8588
AB
49392019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
4940
4941 * gdb.base/options.exp (expect_string): Dequote strings in
4942 results.
4943 (test-string): Test strings with different quoting and reindent.
4944
f06f1252
TT
49452019-07-10 Tom Tromey <tromey@adacore.com>
4946
4947 * gdb.ada/mi_ex_cond.exp: Update expected results.
4948 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
4949 * gdb.ada/mi_catch_ex.exp: Update expected results.
4950 * gdb.ada/mi_catch_assert.exp: Update expected results.
4951 * gdb.ada/catch_ex.exp (catch_exception_info)
4952 (catch_exception_entry, catch_assert_entry)
4953 (catch_unhandled_entry): Update.
4954 * gdb.ada/catch_assert_if.exp: Update expected results.
4955
b863685d
RB
49562019-07-10 Richard Bunt <richard.bunt@arm.com>
4957 Stephen Roberts <stephen.roberts@arm.com>
4958
4959 * gdb.base/define.exp: Restore original prompt.
4960
cb1e4e32
PA
49612019-07-09 Pedro Alves <palves@redhat.com>
4962
4963 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
4964 breakpoints" output.
4965 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
4966 * gdb.python/py-breakpoint.exp: No longer expect that "catch
4967 throw" creates breakpoint.
4968 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
4969 'type="catchpoint"'.
4970
b58a68fe
PA
49712019-07-09 Pedro Alves <palves@redhat.com>
4972
4973 PR c++/15468
4974 * gdb.cp/except-multi-location-lib.cc: New.
4975 * gdb.cp/except-multi-location-main.cc: New.
4976 * gdb.cp/except-multi-location.exp: New.
4977
0826779b
PW
49782019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
4979
4980 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
4981 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
4982 argument and update callers.
4983
5b0e2db4
AB
49842019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4985
4986 * gdb.arch/amd64-break-on-asm-line.S: New file.
4987 * gdb.arch/amd64-break-on-asm-line.exp: New file.
4988
1f6f6e21
PW
49892019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4990
4991 * gdb.base/printcmds.exp: Test printing C string and
4992 C wide string convenience vars without transiting via the inferior.
4993 Also make test names unique.
4994
ea142fbf
AH
49952019-07-08 Alan Hayward <alan.hayward@arm.com>
4996
5862c886 4997 PR breakpoints/25011
ea142fbf
AH
4998 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
4999
213fd9fa
PA
50002019-07-04 Pedro Alves <palves@redhat.com>
5001
5002 * lib/gdb.exp (foreach_with_prefix): Don't return early if
5003 body returned ok(0), break(3) or continue(4).
5004 * gdb.testsuite/foreach_with_prefix.exp: New file.
5005
2b40fda7
AH
50062019-07-04 Alan Hayward <alan.hayward@arm.com>
5007
5008 * gdb.server/unittest.exp: Allow 0 unit tests to run.
5009
a26c8de0
PA
50102019-07-03 Pedro Alves <palves@redhat.com>
5011
5012 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
5013 "return -code".
5014
5f4ba3e7
PA
50152019-07-03 Pedro Alves <palves@redhat.com>
5016
5017 PR cli/24732
5018 * gdb.base/shell.exp: Load completion-support.exp.
5019 Adjust expected error output. Add completion tests.
5020
a994424f
PA
50212019-07-03 Pedro Alves <palves@redhat.com>
5022
5023 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
5024 string_to_regexp.
5025
3d9be6f5
PA
50262019-07-03 Pedro Alves <palves@redhat.com>
5027
5028 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
5029 (expect_integer): Adjust to expect "-string".
5030 (expect_string): New.
5031 (all_options): Expect "-string".
5032 (test-flag, test-boolean): Adjust to expect "-string".
5033 (test-string): New proc.
5034 (top level): Call it.
5035
41fc454c
PA
50362019-07-03 Pedro Alves <palves@redhat.com>
5037
5038 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
5039 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
5040 the expected output in the success.
5041
b2b2a215
PA
50422019-07-03 Pedro Alves <palves@redhat.com>
5043
5044 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
5045 Split one gdb_test_multiple call in two to avoid a race.
5046
fdbc9870
PA
50472019-07-03 Pedro Alves <palves@redhat.com>
5048
5049 * gdb.base/with.c: New file.
5050 * gdb.base/with.exp: New file.
5051
c6ac8931
PA
50522019-07-03 Pedro Alves <palves@redhat.com>
5053
5054 * gdb.base/settings.exp: Replace all references to "maint
5055 test-settings set" with references to "maint set test-settings",
5056 and all references to "maint test-settings show" with references
5057 to "maint show test-settings".
5058
970f9d09
PA
50592019-07-03 Pedro Alves <palves@redhat.com>
5060
5061 * gdb.base/settings.exp (test-string): Adjust expected out when
5062 testing "maint test-settings show filename"
5063
54d66006
PA
50642019-07-02 Pedro Alves <palves@redhat.com>
5065
5066 * gdb.base/options.exp (test-info-threads): New procedure.
5067 (top level): Call it.
5068
10d06d82
TT
50692019-06-28 Tom Tromey <tromey@adacore.com>
5070
5071 * gdb.dwarf2/ada-linkage-name.c: New file.
5072 * gdb.dwarf2/ada-linkage-name.exp: New file.
5073
3d507ff2
TT
50742019-06-27 Tom Tromey <tromey@adacore.com>
5075
d039f014 5076 PR c++/20020:
3d507ff2
TT
5077 * gdb.cp/constexpr-field.exp: Use setup_xfail.
5078
8af58ffe
TV
50792019-06-26 Tom de Vries <tdevries@suse.de>
5080
5081 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
5082
22e21752
TV
50832019-06-26 Tom de Vries <tdevries@suse.de>
5084
5085 * gdb.base/index-cache.exp: Add back missing debug option.
5086
b65b566c
PW
50872019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5088
5089 * gdb.base/alias.exp: Test non matching/non existing prefixes.
5090
5c2c8c69
TV
50912019-06-25 Tom de Vries <tdevries@suse.de>
5092
5093 PR testsuite/24727
5094 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
5095
164e3873
TV
50962019-06-24 Tom de Vries <tdevries@suse.de>
5097
5098 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
5099
824eacee
TV
51002019-06-24 Tom de Vries <tdevries@suse.de>
5101
5102 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
5103 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
5104 * gdb.trace/unavailable-dwarf-piece.exp: Same.
5105
385b97d3
TV
51062019-06-24 Tom de Vries <tdevries@suse.de>
5107
5108 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
5109
c596f180
TV
51102019-06-21 Tom de Vries <tdevries@suse.de>
5111
5112 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
5113
b13a7d03
TV
51142019-06-21 Tom de Vries <tdevries@suse.de>
5115
5116 PR testsuite/24518
5117 PR ada/24713
5118 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
5119 index.
5120
899277ae
TT
51212019-06-19 Tom Tromey <tromey@adacore.com>
5122
5123 * gdb.ada/length_cond.exp: Add intro comment.
5124
680e1bee
TT
51252019-06-19 Tom Tromey <tromey@adacore.com>
5126
5127 * gdb.ada/length_cond.exp: New file.
5128 * gdb.ada/length_cond/length_cond.adb: New file.
5129 * gdb.ada/length_cond/pck.adb: New file.
5130 * gdb.ada/length_cond/pck.ads: New file.
5131
0ed4690a
TV
51322019-06-18 Tom de Vries <tdevries@suse.de>
5133
5134 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
5135
d20ed5fd
TT
51362019-06-18 Tom Tromey <tromey@adacore.com>
5137
5138 * gdb.base/list0.h: Add comment explaining control character.
5139
86e04673
TV
51402019-06-18 Tom de Vries <tdevries@suse.de>
5141
5142 * boards/fission.exp: Break up long debug_flags line.
5143
c4973306
SM
51442019-06-16 Tom de Vries <tdevries@suse.de>
5145
5146 PR gdb/24445
5147 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
5148 generated index.
5149
93cb9841
AB
51502019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
5151
5152 PR gdb/24686
5153 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
5154 improve detection of bug gdb/24541.
5155
399aaebd
SM
51562019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
5157
5158 PR gdb/24669
5159 * gdb.base/index-cache.exp (uses_readnow,
5160 expecting_index_cache_use): Define global variable.
5161 (test_cache_enabled_miss, test_cache_enabled_hit): Use
5162 expecting_index_cache_use.
5163
584a927c
AB
51642019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
5165 Andrew Burgess <andrew.burgess@embecosm.com>
5166
5167 * gdb.fortran/pointers.f90: New file.
5168 * gdb.fortran/print_type.exp: New file.
5169 * gdb.fortran/vla-ptype.exp: Adapt expected results.
5170 * gdb.fortran/vla-type.exp: Likewise.
5171 * gdb.fortran/vla-value.exp: Likewise.
5172 * gdb.mi/mi-vla-fortran.exp: Likewise.
5173
30056ea0
AB
51742019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
5175
5176 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
5177 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
5178 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
5179 as a stop reason.
5180
ec8e2b6d
AB
51812019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
5182
5183 * gdb.base/annota1.exp: Update expected results.
5184 * gdb.cp/annota2.exp: Likewise.
5185 * gdb.cp/annota3.exp: Likewise.
5186
09e4c4e1
AB
51872019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
5188
5189 * gdb.base/style-logging.exp: Remove path from test name.
5190
0735b091
TT
51912019-06-14 Tom Tromey <tromey@adacore.com>
5192
5193 PR gdb/24502:
5194 * gdb.base/style-logging.exp: New file.
5195
f5686554
TT
51962019-06-14 Tom Tromey <tromey@adacore.com>
5197
5198 * gdb.base/symfile-warn.exp: New file.
5199 * gdb.base/symfile-warn.c: New file.
5200
a0c1ffed
TT
52012019-06-14 Tom Tromey <tromey@adacore.com>
5202
5203 * gdb.base/annotate-symlink.exp: New file.
5204
f411722c
TT
52052019-06-14 Tom Tromey <tromey@adacore.com>
5206
5207 * gdb.ada/set_wstr.exp: Add reassignment test.
5208
4268ec18
TT
52092019-06-14 Tom Tromey <tromey@adacore.com>
5210
5211 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
5212 'unchecked_access and 'unrestricted_access as well.
5213
9a9e394b
TT
52142019-06-14 Tom Tromey <tromey@adacore.com>
5215
5216 PR ada/24539:
5217 * gdb.ada/vla.exp: Update tests.
5218 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
5219 pragma.
5220
4c048731
PA
52212019-06-13 Pedro Alves <palves@redhat.com>
5222
5223 * gdb.base/settings.exp (test-integer): Test junk after
5224 "unlimited".
5225
6665660a
PA
52262019-06-13 Pedro Alves <palves@redhat.com>
5227
5228 * gdb.base/options.exp (test-thread-apply): New.
5229 (top level): Call it.
5230
5d707134
PA
52312019-06-13 Pedro Alves <palves@redhat.com>
5232
5233 * gdb.base/options.exp (test-frame-apply): New.
5234 (top level): Test print commands with different "frame apply"
5235 prefixes.
5236
e2a689da
PA
52372019-06-13 Pedro Alves <palves@redhat.com>
5238
e79be6e5 5239 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
5240 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
5241 'max_completions' parameter and handle it.
5242 (test_gdb_completion_offers_commands): New.
5243
90a1ef87
PA
52442019-06-13 Pedro Alves <palves@redhat.com>
5245
5246 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
5247
d4c16835
PA
52482019-06-13 Pedro Alves <palves@redhat.com>
5249
5250 * gdb.base/options.exp (test-backtrace): New.
5251 (top level): Call it.
5252
2daf894e
PA
52532019-06-13 Pedro Alves <palves@redhat.com>
5254
5255 * gdb.guile/scm-frame-args.exp: Use "set print
5256 raw-frame-arguments" instead of "set print raw frame-arguments".
5257 * gdb.python/py-frame-args.exp: Likewise.
5258
e6ed716c
PA
52592019-06-13 Pedro Alves <palves@redhat.com>
5260
5261 * gdb.compile/compile.exp: Adjust expected output to option
5262 processing changes.
5263
7d8062de
PA
52642019-06-13 Pedro Alves <palves@redhat.com>
5265
5266 * gdb.base/options.exp: Build executable.
5267 (test-print): New procedure.
5268 (top level): Call it, once for "print" and another for "compile
5269 print".
5270
9d0faba9
PA
52712019-06-13 Pedro Alves <palves@redhat.com>
5272
5273 * gdb.base/options.c: New file.
5274 * gdb.base/options.exp: New file.
5275
dee7b4c8
PA
52762019-06-13 Pedro Alves <palves@redhat.com>
5277
5278 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
5279 that "o" is ambiguous.
5280
dca0f6c0
PA
52812019-06-13 Pedro Alves <palves@redhat.com>
5282
5283 * gdb.base/settings.c: New file.
5284 * gdb.base/settings.exp: New file.
5285
ccf46844
PA
52862019-06-13 Pedro Alves <palves@redhat.com>
5287
5288 * gdb.base/completion.exp: Fix comment typo.
5289
b9a3f842
PA
52902019-06-13 Pedro Alves <palves@redhat.com>
5291
5292 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
5293 foo --1" test.
5294
d106773e
PA
52952019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
5296
5297 * gdb.fortran/block-data.f: New.
5298 * gdb.fortran/block-data.exp: New.
5299
fea82da0
TV
53002019-06-11 Tom de Vries <tdevries@suse.de>
5301
5302 PR testsuite/24521
5303 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
5304 message.
5305
8c2e74f1
TV
53062019-06-11 Tom de Vries <tdevries@suse.de>
5307
5308 PR testsuite/24521
5309 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
5310
b49851c8
TV
53112019-06-11 Tom de Vries <tdevries@suse.de>
5312
5313 * boards/readnow.exp: New file.
5314
a7067863
AB
53152019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
5316
5317 * gdb.fortran/vla-sizeof.exp: Update expected results.
5318
1a3da2cd
AB
53192019-06-06 Amos Bird <amosbird@gmail.com>
5320
5321 * gdb.base/annota1.exp (thread_switch): Add test for
5322 thread-exited annotation.
5323
3847a7bf
TT
53242019-06-06 Tom Tromey <tromey@adacore.com>
5325
5326 * gdb.base/maint.exp: Expect command started/finished output.
5327
0088ba59
AB
53282019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
5329
5330 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
5331 comment.
5332 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
5333
312617a3
AB
53342019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
5335
5336 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
5337 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
5338 * gdb.arch/riscv-unwind-long-insn.c: New file.
5339 * gdb.arch/riscv-unwind-long-insn.exp: New file.
5340
e1f2e1a2
CB
53412019-06-04 Christian Biesinger <cbiesinger@google.com>
5342
d3238f7d 5343 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 5344
206584bd
PW
53452019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5346
5347 * lib/gdb.exp (help_list_trailer): New regexp variable
5348 factorizing the help trailer message.
5349 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
5350 arg to allow to better factorize various tests.
5351 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
5352 (test_prefix_command_help): Use help_list_trailer.
5353 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
5354 * gdb.guile/scm-cmd.exp: Likewise.
5355 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
5356 * gdb.base/help.exp: Use test_user_defined_class_help.
5357 * gdb.base/style.exp: Add tests for styling of help and apropos.
5358 * lib/gdb-utils.exp (style): Add title and highlight styles.
5359
708dc93e
PW
53602019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5361
5362 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
5363 $_shell_exitsignal.
5364 * gdb.base/default.exp: Update for new convenience variables.
5365
f49055a5
TT
53662019-05-29 Tom Tromey <tromey@adacore.com>
5367
5368 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
5369 to "break complete ada" test case's regexp.
5370
4330d61d
TT
53712019-05-29 Tom Tromey <tromey@adacore.com>
5372
5373 PR c++/20020:
5374 * gdb.cp/constexpr-field.exp: New file.
5375 * gdb.cp/constexpr-field.cc: New file.
5376
000439d5
TT
53772019-05-29 Tom Tromey <tromey@adacore.com>
5378
5379 * gdb.base/finish.exp (finish_no_print): New proc.
5380 (finish_tests): Call it.
5381
5a01c34c
TV
53822019-05-24 Tom de Vries <tdevries@suse.de>
5383
5384 * gdb.dwarf2/gdb-add-index.exp: New file.
5385
18125b16
TT
53862019-05-22 Tom Tromey <tromey@adacore.com>
5387
5388 * gdb.base/info-shared.exp (check_info_shared): Use "style".
5389 * gdb.base/style.exp: Use "style".
5390 * lib/gdb-utils.exp (style): New proc.
5391
af1a8d03
TV
53922019-05-22 Tom de Vries <tdevries@suse.de>
5393
5394 * gdb.base/align.exp: Require c++11.
5395
e7fe496b
TV
53962019-05-22 Tom de Vries <tdevries@suse.de>
5397
5398 PR testsuite/24586
5399 * gdb.python/py-mi-var-info-path-expression.exp: Call
5400 mi_skip_python_tests to check if python is supported.
5401
8fca4da0
AH
54022019-05-22 Alan Hayward <alan.hayward@arm.com>
5403
5404 * gdb.arch/aarch64-pauth.c: New test.
5405 * gdb.arch/aarch64-pauth.exp: New file.
5406
b7060614
AH
54072019-05-22 Alan Hayward <alan.hayward@arm.com>
5408
5409 * README (Re-running Tests Outside The Testsuite): New section.
5410
669d0468
TV
54112019-05-21 Tom de Vries <tdevries@suse.de>
5412
5413 * gdb.arch/amd64-eval.exp: Require c++11.
5414 * gdb.base/max-depth.exp: Same.
5415 * gdb.compile/compile-cplus-array-decay.exp: Same.
5416 * gdb.cp/meth-typedefs.exp: Same.
5417 * gdb.cp/subtypes.exp: Same.
5418 * gdb.cp/temargs.exp: Same.
5419
ce3ebcaa
AH
54202019-05-21 Alan Hayward <alan.hayward@arm.com>
5421
5422 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
5423
34d11c68
AB
54242019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
5425
5426 PR gdb/18644
5427 * gdb.fortran/complex.exp: Remove setup_kfail calls.
5428 * gdb.fortran/printing-types.exp: Add new test.
5429 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
5430 testing.
5431 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
5432 setup_kfail call.
5433
87781e84
AH
54342019-05-17 Alan Hayward <alan.hayward@arm.com>
5435
5436 * README (Running the Testsuite): Change example.
5437 (Testsuite Parameters): Remove TRANSCRIPT.
5438 * lib/gdb.exp: Remove TRANSCRIPT check.
5439
b420b89e
AH
54402019-05-17 Alan Hayward <alan.hayward@arm.com>
5441
5442 * README (Testsuite Parameters): Add replay logging to
5443 GDBSERVER_DEBUG.
5444 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
5445 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
5446 as a comma separated list.
5447 (gdb_debug_init): Override procedure.
5448
408e9b8b
AH
54492019-05-17 Alan Hayward <alan.hayward@arm.com>
5450
5451 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
5452 (gdb_write_cmd_file): New procedure.
5453 * lib/gdbserver-support.exp (gdbserver_start): Call
5454 gdbserver_write_cmd_file.
5455 (gdbserver_write_cmd_file): New procedure.
5456
f9e2e39d
AH
54572019-05-17 Alan Hayward <alan.hayward@arm.com>
5458
5459 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
5460 (delete_breakpoints): Likewise.
5461 (gdb_run_cmd): Likewise.
5462 (gdb_start_cmd): Likewise.
5463 (gdb_starti_cmd): Likewise.
5464 (gdb_internal_error_resync): Likewise.
5465 (gdb_test_multiple): Likewise.
5466 (gdb_reinitialize_dir): Likewise.
5467 (default_gdb_exit): Likewise.
5468 (gdb_file_cmd): Mark kill as optional.
5469 (default_gdb_start): Call gdb_stdin_log_init.
5470 (send_gdb): Call gdb_stdin_log_write.
5471 (rerun_to_main): Mark Y as an answer.
5472 (gdb_stdin_log_init): New function.
5473 (gdb_stdin_log_write): Likewise.
5474
81f47ac2
AH
54752019-05-17 Alan Hayward <alan.hayward@arm.com>
5476
5477 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
5478 * gdb.base/debug-expr.exp: Likewise.
5479 * gdb.base/foll-fork.exp: Likewise.
5480 * gdb.base/foll-vfork.exp: Likewise.
5481 * gdb.base/fork-print-inferior-events.exp: Likewise.
5482 * gdb.base/gdb-sigterm.exp: Likewise.
5483 * gdb.base/gdbinit-history.exp: Likewise.
5484 * gdb.base/osabi.exp: Likewise.
5485 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
5486 * gdb.base/ui-redirect.exp: Likewise.
5487 * gdb.gdb/unittest.exp: Likewise.
5488 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
5489 * gdb.mi/mi-watch.exp: Likewise.
5490 * gdb.mi/new-ui-mi-sync.exp: Likewise.
5491 * gdb.mi/user-selected-context-sync.exp: Likewise.
5492 * gdb.python/python.exp: Disable debug test when debugging.
5493 * gdb.threads/check-libthread-db.exp: Disable when debugging.
5494 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5495 Likewise.
5496 * gdb.threads/stepi-random-signal.exp: Likewise.
5497
29b52314
AH
54982019-05-17 Alan Hayward <alan.hayward@arm.com>
5499
5500 * Makefile.in: Pass through GDB_DEBUG.
5501 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
5502 (gdb,debug): Add board setting.
5503 * lib/gdb.exp (default_gdb_start): Start debugging.
5504 (gdb_debug_enabled): New procedure.
5505 (gdb_debug_init): Likewise.
29b52314
AH
5506
55072019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 5508
29b52314
AH
5509 * Makefile.in: Pass through GDB_DEBUG.
5510 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
5511 (gdb,debug): Add board setting.
5512 * lib/gdb.exp (default_gdb_start): Start debugging.
5513 (gdb_debug_enabled): New procedure.
5514 (gdb_debug_init): Likewise.
29b52314 5515
ca1285d1
AH
55162019-05-17 Alan Hayward <alan.hayward@arm.com>
5517
5518 * gdb.base/ui-redirect.exp: Add debug redirect tests.
5519
f3a09c80
AH
55202019-05-17 Alan Hayward <alan.hayward@arm.com>
5521
5522 * gdb.base/ui-redirect.exp: Test redirection.
5523
26648588
JV
55242019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
5525
5526 * gdb.mi/mi-complete.exp: New file.
5527 * gdb.mi/mi-complete.cc: Likewise.
5528
14237686
AB
55292019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
5530
5531 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
5532 indexed and sliced arrays, and pointers to arrays.
5533
e7bd7fba
TT
55342019-05-14 Tom Tromey <tromey@adacore.com>
5535
5536 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
5537 styling test.
5538
2764128d
TV
55392019-05-14 Tom de Vries <tdevries@suse.de>
5540
5541 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
5542 selection entry encoding.
5543
71bed2db
TT
55442019-05-10 Tom Tromey <tromey@adacore.com>
5545
5546 * gdb.ada/info_exc.exp: Add "complete" test.
5547
63b667ad
TV
55482019-05-09 Tom de Vries <tdevries@suse.de>
5549
5550 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
5551 CU-relative.
5552
9cfd2b89
TV
55532019-05-09 Tom de Vries <tdevries@suse.de>
5554
5555 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
5556 CU-relative.
5557
2228ef77
XR
55582019-05-08 Joel Brobecker <brobecker@adacore.com>
5559
5560 * gdb.ada/frame_arg_lang.exp: New testcase.
5561 * gdb.ada/frame_arg_lang/bla.adb: New file.
5562 * gdb.ada/frame_arg_lang/pck.ads: New file.
5563 * gdb.ada/frame_arg_lang/pck.adb: New file.
5564 * gdb.ada/frame_arg_lang/foo.c: New file.
5565
80e55b13
TT
55662019-05-08 Tom Tromey <tromey@adacore.com>
5567
5568 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
5569
9d3421af
TT
55702019-05-08 Tom Tromey <tromey@adacore.com>
5571
5572 * gdb.base/ptype-offsets.exp: Update tests.
5573
844333e2
TT
55742019-05-08 Tom Tromey <tromey@adacore.com>
5575
5576 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
5577 cases.
5578 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
5579 "short".
5580
988915ee
TT
55812019-05-08 Tom Tromey <tromey@adacore.com>
5582
5583 * gdb.ada/vla.exp: New file.
5584 * gdb.ada/vla/vla.adb: New file.
5585
7bd55dac
TV
55862019-05-07 Tom de Vries <tdevries@suse.de>
5587
5588 * gdb.base/index-cache.exp (ls_host): Fix return statement.
5589
75f06e9d
TV
55902019-05-07 Tom de Vries <tdevries@suse.de>
5591
5592 PR testsuite/24522
5593 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
5594 section.
5595
77e7aaa4
TV
55962019-05-07 Tom de Vries <tdevries@suse.de>
5597
5598 PR testsuite/24522
5599 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
5600 .debug_aranges section.
5601
456ba0fa
TV
56022019-05-07 Tom de Vries <tdevries@suse.de>
5603
5604 PR testsuite/24159
5605 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
5606
5a56d6a6
TV
56072019-05-06 Tom de Vries <tdevries@suse.de>
5608
5609 * lib/gdb.exp (exec_has_index_section): New proc.
5610 * gdb.base/index-cache.exp: Handle case that binfile contains an index
5611 section.
5612
9d6d4be8
TV
56132019-05-04 Tom de Vries <tdevries@suse.de>
5614
5615 * boards/cc-with-debug-names.exp: New file.
5616
222a8d25
TT
56172019-05-03 Tom Tromey <tromey@adacore.com>
5618
5619 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
5620 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
5621 * gdb.ada/char_enum.exp: Add test.
5622
0fdfd794
TV
56232019-05-03 Tom de Vries <tdevries@suse.de>
5624
5625 * boards/cc-with-gdb-index.exp: New file.
5626
80062eb9
AB
56272019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
5628
5629 * gdb.rust/simple.exp: Add new test case.
5630 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
5631 (main): Initialise an instance of the new struct.
5632
4504bbde
TT
56332019-05-01 Tom Tromey <tromey@adacore.com>
5634
5635 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
5636 record.
5637 (NPR): New variable.
5638 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
5639 test.
5640
d48e62f4
TT
56412019-05-01 Tom Tromey <tromey@adacore.com>
5642
5643 * gdb.ada/packed_array_assign.exp: Add packed assignment
5644 regression test.
5645
f59f30f5
TV
56462019-05-01 Tom de Vries <tdevries@suse.de>
5647
5648 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
5649
b70bfc54
TV
56502019-05-01 Tom de Vries <tdevries@suse.de>
5651
5652 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
5653
15f18d14
AT
56542019-04-30 Ali Tamur <tamur@google.com>
5655
5656 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
5657
2ff0a947
TT
56582019-04-30 Tom Tromey <tromey@adacore.com>
5659
5660 * lib/ada.exp (find_ada_tool): New proc.
5661 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
5662 * gdb.ada/catch_ex_std.exp: New file.
5663 * gdb.ada/catch_ex_std/foo.adb: New file.
5664 * gdb.ada/catch_ex_std/some_package.adb: New file.
5665 * gdb.ada/catch_ex_std/some_package.ads: New file.
5666
a776957c
TT
56672019-04-30 Tom Tromey <tromey@adacore.com>
5668
5669 PR c++/24470:
5670 * gdb.cp/temargs.cc: Add test code from PR.
5671
bc68014d
AB
56722019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5673
5674 * gdb.fortran/vla-datatypes.exp: Update expected results.
5675 * gdb.fortran/vla-ptype.exp: Likewise.
5676 * gdb.fortran/vla-type.exp: Likewise.
5677 * gdb.fortran/vla-value.exp: Likewise.
5678
f1fdc960
AB
56792019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5680
5681 * gdb.fortran/ptr-indentation.exp: Update expected results.
5682 * gdb.fortran/ptype-on-functions.exp: Likewise.
5683 * gdb.fortran/vla-ptr-info.exp: Likewise.
5684 * gdb.fortran/vla-value.exp: Likewise.
5685
bf7a4de1
AB
56862019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5687
5688 * gdb.fortran/ptype-on-functions.exp: New file.
5689 * gdb.fortran/ptype-on-functions.f90: New file.
5690
bbe75b9d
AB
56912019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5692
5693 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
5694 case void string.
5695
1db455a7
AB
56962019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5697
5698 * gdb.fortran/complex.exp: Expand.
5699 * gdb.fortran/complex.f: Renamed to...
5700 * gdb.fortran/complex.f90: ...this, and extended to add more
5701 complex values.
5702
b6d03bb2
AB
57032019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5704
5705 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
5706 MODULO, CMPLX.
5707
2e62ab40
AB
57082019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
5709 Richard Bunt <richard.bunt@arm.com>
5710
5711 * gdb.base/max-depth.c: New file.
5712 * gdb.base/max-depth.exp: New file.
5713 * gdb.python/py-nested-maps.c: New file.
5714 * gdb.python/py-nested-maps.exp: New file.
5715 * gdb.python/py-nested-maps.py: New file.
5716 * gdb.python/py-format-string.exp (test_max_depth): New proc.
5717 (test_all_common): Call test_max_depth.
5718 * gdb.fortran/max-depth.exp: New file.
5719 * gdb.fortran/max-depth.f90: New file.
5720 * gdb.go/max-depth.exp: New file.
5721 * gdb.go/max-depth.go: New file.
5722 * gdb.modula2/max-depth.exp: New file.
5723 * gdb.modula2/max-depth.c: New file.
5724 * lib/gdb.exp (get_print_expr_at_depths): New proc.
5725
d2b584a5
TV
57262019-04-29 Tom de Vries <tdevries@suse.de>
5727
5728 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
5729
136afab8
PW
57302019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5731
5732 * gdb.base/callexit.exp: Test may-call-functions off.
5733
725cbb63
KS
57342019-04-25 Keith Seitz <keiths@redhat.com>
5735
5736 PR c++/24367
5737 * gdb.cp/meth-typedefs.cc (incomplete_struct)
5738 (another_incomplete_struct, test_incomplete): New definitions.
5739 (main): Use new definitions.
5740 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
5741 functions.
5742
701adfb0
PA
57432019-04-25 Ali Tamur <tamur@google.com>
5744
5745 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
5746
82433e3e
SDJ
57472019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
5748
5749 PR corefiles/11608
5750 PR corefiles/18187
5751 * gdb.base/coredump-filter-build-id.exp: New file.
5752
dd06d4d6
AH
57532019-04-25 Alan Hayward <alan.hayward@arm.com>
5754
e79be6e5
SM
5755 * Makefile.in: Pass through GDBSERVER_DEBUG.
5756 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
5757 (gdbserver,debug): Add board setting.
5758 * gdb.trace/tspeed.exp: Skip when debugging.
5759 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
5760 * lib/gdbserver-support.exp: Likewise
dd06d4d6 5761
1670072e
TT
57622019-04-24 Tom Tromey <tromey@adacore.com>
5763
5764 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
5765 Rust.
5766
a59240a4
TT
57672019-04-24 Tom Tromey <tromey@adacore.com>
5768
5769 * gdb.arch/amd64-eval.exp: Test bitfield return.
5770 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
5771 (class Foo) <return_bitfields>: New method.
5772 (main): Call it.
5773
b907456c
AB
57742019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
5775
5776 * gdb.cp/many-args.cc: New file.
5777 * gdb.cp/many-args.exp: New file.
5778
5c565afd
TV
57792019-04-23 Tom de Vries <tdevries@suse.de>
5780
5781 PR gdb/24433
5782 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
5783
ba22ff86
AH
57842019-04-23 Alan Hayward <alan.hayward@arm.com>
5785
5786 * gdb.trace/backtrace.exp: Use nopie flag.
5787 * gdb.trace/circ.exp: Likewise.
5788 * gdb.trace/collection.exp: Likewise.
5789 * gdb.trace/ftrace.exp: Likewise.
5790 * gdb.trace/mi-trace-unavailable.exp: Likewise.
5791 * gdb.trace/mi-traceframe-changed.exp: Likewise.
5792 * gdb.trace/qtro.exp: Likewise.
5793 * gdb.trace/read-memory.exp: Likewise.
5794 * gdb.trace/report.exp: Likewise.
5795 * gdb.trace/tfile.exp: Likewise.
5796 * gdb.trace/tfind.exp: Likewise.
5797 * gdb.trace/unavailable.exp: Likewise.
5798
7905fc35
PA
57992019-04-22 Pedro Alves <palves@redhat.com>
5800
5801 * gdb.base/solib-probes-nosharedlibrary.c,
5802 gdb.base/solib-probes-nosharedlibrary.exp: New files.
5803
8ecb59f8
TT
58042019-04-19 Tom Tromey <tromey@adacore.com>
5805
5806 * gdb.ada/ptype_union.c: New file.
5807 * gdb.ada/ptype_union.exp: New file.
5808
62160ec9
TT
58092019-04-19 Tom Tromey <tromey@adacore.com>
5810
5811 PR symtab/24423:
5812 * gdb.base/list0.h (foo): Add a control-l character.
5813
36cd4ba5
TV
58142019-04-18 Tom de Vries <tdevries@suse.de>
5815
5816 PR gdb/24433
5817 * boards/local-board.exp: Set sysroot to "".
5818
b73715df
TV
58192019-04-18 Tom de Vries <tdevries@suse.de>
5820 Pedro Alves <palves@redhat.com>
5821
5822 PR gdb/24454
5823 * gdb.threads/vfork-follow-child-exec.c: New file.
5824 * gdb.threads/vfork-follow-child-exec.exp: New file.
5825 * gdb.threads/vfork-follow-child-exit.c: New file.
5826 * gdb.threads/vfork-follow-child-exit.exp: New file.
5827
4aa866af
LS
58282019-04-15 Leszek Swirski <leszeks@google.com>
5829
5830 * gdb.arch/amd64-eval.cc: New file.
5831 * gdb.arch/amd64-eval.exp: New file.
5832
e5a1a79a
AH
58332019-04-11 Alan Hayward <alan.hayward@arm.com>
5834
5835 * gdb.server/sysroot.c: New test.
5836 * gdb.server/sysroot.exp: New file.
5837 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
5838 matching param.
5839
41077b66
AB
58402019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
5841
5842 * gdb.base/align.exp: Extend test to cover structures containing
5843 only static fields.
5844
c30391f8
TV
58452019-04-11 Tom de Vries <tdevries@suse.de>
5846
5847 * boards/cc-with-dwz-m.exp: New file.
5848 * boards/cc-with-dwz.exp: New file.
5849 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
5850
e242fd12
SM
58512019-04-09 Simon Marchi <simon.marchi@efficios.com>
5852
5853 * gdb.base/start-cpp.exp: New file.
5854 * gdb.base/start-cpp.cc: New file.
5855
2b0c8b01
KB
58562019-04-08 Kevin Buettner <kevinb@redhat.com>
5857
5858 * gdb.python/py-thrhandle.exp: Adjust tests to call
5859 thread_from_handle instead of thread_from_thread_handle.
5860
947210e5
KB
58612019-04-08 Kevin Buettner <kevinb@redhat.com>
5862
5863 * gdb.python/py-thrhandle.exp: Add tests for
5864 gdb.InferiorThread.handle.
5865
d7df6549
AB
58662019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
5867
5868 * gdb.python/py-function.exp: Check calling helper function from
5869 all languages.
5870 * lib/gdb.exp (gdb_supported_languages): New proc.
5871
8bdc1658
AB
58722019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
5873
5874 * gdb.base/complex-parts.c: New file.
5875 * gdb.base/complex-parts.exp: New file.
5876
05caa1d2
TT
58772019-04-01 Tom Tromey <tromey@adacore.com>
5878
5879 PR symtab/23331:
5880 * gdb.dwarf2/dw2-ranges-main.c: New file.
5881 * gdb.dwarf2/dw2-ranges-psym.c: New file.
5882 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
5883
7734102d
EZ
58842019-03-30 Simon Marchi <simark@simark.ca>
5885
5886 * gdb.base/default.exp: Add values for $_gdb_major and
5887 $_gdb_minor.
5888
188e1fa9
TT
58892019-03-29 Tom Tromey <tromey@adacore.com>
5890
5891 * gdb.base/help.exp: Tighten apropos regexp.
5892
2880242d
KS
58932019-03-29 Keith Seitz <keiths@redhat.com>
5894
5895 * gdb.fortran/array-bounds.exp: New file.
5896 * gdb.fortran/array-bounds.f90: New file.
5897
077cad8e
PW
58982019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5899
5900 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
5901
80047cfc
PW
59022019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5903
5904 * gdb.multi/hello.c (main): Increase alarm timer.
5905
f489207e
SL
59062019-03-28 Sandra Loosemore <sandra@codesourcery.com>
5907
5908 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
5909 factor when no hardware watchpoint support.
5910
c92df149
AH
59112019-03-28 Alan Hayward <alan.hayward@arm.com>
5912 Pedro Alves <palves@redhat.com>
5913
5914 * boards/local-board.exp: set sysroot to /.
5915
933aebfa
AH
59162019-03-27 Alan Hayward <alan.hayward@arm.com>
5917
5918 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
5919 in child.
5920
9f9aa852
AB
59212019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
5922
5923 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
5924 field.
5925 (make_container): Initialise new field.
5926 * gdb.python/py-prettyprint.exp: Add new tests.
5927 * gdb.python/py-prettyprint.py (class ContainerPrinter)
5928 <display_hint>: New method.
5929
3714a195
AB
59302019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
5931
5932 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
5933 gdb_continue_to_breakpoint more throughout this test.
5934 (run_lang_tests) Supply unique test names, and use
5935 gdb_test_no_output.
5936
18c77628
AB
59372019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
5938
5939 * gdb.base/finish-pretty.exp: Update expected results.
5940 * gdb.base/pretty-print.c: New file.
5941 * gdb.base/pretty-print.exp: New file.
5942
9a93502f
PA
59432019-03-25 Pedro Alves <palves@redhat.com>
5944
5945 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
5946 move comments outside list. Append '-i "" eof' section.
5947
968aa7ae
AH
59482019-03-22 Alan Hayward <alan.hayward@arm.com>
5949
34a7f2a4 5950 PR testsuite/25016
968aa7ae
AH
5951 * README: Add pie options.
5952 * gdb.base/break-interp.exp: Ensure pie is disabled.
5953 * gdb.base/dump.exp: Likewise.
5954 * lib/gdb.exp (gdb_compile): Add pie option.
5955
4c7d57e7
TT
59562019-03-19 Tom Tromey <tromey@adacore.com>
5957
5958 * gdb.mi/mi2-cli-display.c: New file.
5959 * gdb.mi/mi2-cli-display.exp: New file.
5960
bff8c71f
TT
59612019-03-18 Joel Brobecker <brobecker@adacore.com>
5962 Tom Tromey <tromey@adacore.com>
5963
5964 * gdb.ada/ptype_array/pck.adb: New file.
5965 * gdb.ada/ptype_array/pck.ads: New file.
5966 * gdb.ada/ptype_array/foo.adb: New file.
5967 * gdb.ada/ptype_array.exp: New file.
5968
d085f989
TT
59692019-03-14 Tom Tromey <tromey@adacore.com>
5970
5971 * gdb.base/style.exp: Add "set style sources" test.
5972
b4be1b06
SM
59732019-03-13 Simon Marchi <simon.marchi@ericsson.com>
5974
5975 * mi-breakpoint-location-ena-dis.exp: Rename to ...
5976 * mi-breakpoint-multiple-locations.exp: ... this.
5977 (make_breakpoints_pattern): New proc.
5978 (do_test): Add mi_version parameter, test -break-insert,
5979 -break-info and =breakpoint-created.
5980
7cde5fc2
AB
59812019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
5982
5983 * config/default.exp: Remove 'load_lib gdb.exp'.
5984 * config/monitor.exp: Likewise.
5985 * config/sid.exp: Likewise.
5986 * config/sim.exp: Likewise.
5987 * config/slite.exp: Likewise.
5988 * config/unix.exp: Likewise.
5989 * gdb.base/default.exp: Remove unhelpful comment.
5990
efbecbc1
AB
59912019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5992
5993 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
5994
0841c79a
AB
59952019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5996
5997 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
5998
4a270568
AB
59992019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6000
6001 * gdb.fortran/type-kinds.exp: Update expected results.
6002
067630bd
AB
60032019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6004
6005 * gdb.fortran/type-kinds.exp: Test new integer type kind.
6006
3be47f7a
AB
60072019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6008
6009 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
6010 function.
6011 (test_basic_parsing_of_type_kinds): Expand types tested.
6012 (test_parsing_invalid_type_kinds): New function.
6013
4d00f5d8
AB
60142019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6015
6016 * gdb.fortran/intrinsics.exp: New file.
6017 * gdb.fortran/intrinsics.f90: New file.
6018 * gdb.fortran/type-kinds.exp: New file.
6019
c8f91604
AB
60202019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6021
6022 * gdb.fortran/dot-ops.exp: New file.
6023
dd9f2c76
AB
60242019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6025
6026 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
6027 Check upper and lower case logical literals.
6028
84ec9724
AB
60292019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6030
6031 * gdb.fortran/types.exp (test_float_literal_types_accepted):
6032 Remove duplicate tests.
6033
c3734e09
AH
60342019-03-06 Alan Hayward <alan.hayward@arm.com>
6035
6036 * lib/gdb.exp (builtin_cd): rename of cd.
6037 (cd): Override builtin.
6038
aa3cfbda
RB
60392019-03-06 Richard Bunt <richard.bunt@arm.com>
6040
6041 * gdb.fortran/function-calls.exp: New file.
6042 * gdb.fortran/function-calls.f90: New test.
6043
7b63ad86
RB
60442019-03-04 Richard Bunt <richard.bunt@arm.com>
6045
6046 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
6047 on user program standard output.
6048 * gdb.fortran/short-circuit-argument-list.f90: Record function
6049 calls.
6050
01abb042
AH
60512019-02-28 Alan Hayward <alan.hayward@arm.com>
6052
c3734e09
AH
6053 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
6054 failure.
01abb042 6055
92137da0
RO
60562019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6057
6058 PR gdb/8527
6059 * gdb.base/interrupt-daemon-attach.c,
6060 gdb.base/interrupt-daemon-attach.exp: New test.
6061
5862844d
PA
60622019-02-27 Pedro Alves <palves@redhat.com>
6063
6064 * gdb.base/page.exp: Add tests for "set width/height -1".
6065
8ed25214
PA
60662019-02-27 Pedro Alves <palves@redhat.com>
6067
6068 * gdb.base/page.exp: Add tests for "set/show width/height" with
6069 "infinite" values.
6070
6c28e44a
TT
60712019-02-27 Tom Tromey <tromey@adacore.com>
6072
6073 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
6074 2.4.
6075 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
6076 workaround.
6077
bf9a735e
AB
60782019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
6079
6080 * gdb.base/align.exp: Extend to compile in both C and C++, and add
6081 tests for structs with static members.
6082
8791793c
TT
60832019-02-26 Tom Tromey <tromey@adacore.com>
6084
6085 * gdb.python/py-value.exp (test_value_from_buffer): Check for
6086 ValueError, not TypeError.
6087
bc2a507e
KB
60882019-02-26 Kevin Buettner <kevinb@redhat.com>
6089
6090 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
6091 call from main program.
6092
e0e7d3bd
JB
60932019-02-23 Joel Brobecker <brobecker@adacore.com>
6094
6095 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
6096 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
6097 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
6098 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
6099 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
6100
9600246d
KS
61012019-02-22 Keith Seitz <keiths@redhat.com>
6102
6103 PR symtab/23853
6104 * gdb.base/symlink-sourcefile.c: New file.
6105 * gdb.base/symlink-sourcefile.exp: New file.
6106
0c95f9ed
TT
61072019-02-20 Tom Tromey <tom@tromey.com>
6108
6109 * gdb.base/info_qt.exp: Update.
6110
6caa91b6
SM
61112019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
6112
6113 * gdb.base/source.exp: Move "error in sourced script" code to
6114 the end.
6115 * gdb.base/source-error.gdb: Move contents to
6116 source-error-1.gdb. Add new code to source source-error-1.gdb.
6117 * gdb.base/source-error-1.gdb: New file, from previous
6118 source-error.gdb.
6119
6506371f
TT
61202019-02-17 Tom Tromey <tom@tromey.com>
6121
6122 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
6123 for macro styling.
6124 * gdb.base/style.c (SOME_MACRO): New macro.
6125
a0087920
TT
61262019-02-17 Tom Tromey <tom@tromey.com>
6127
6128 * gdb.base/style.exp: Add line-wrapping tests.
6129 * gdb.base/page.exp: Add test for quitting during pagination.
6130
a2cd4f14
JB
61312019-02-17 Joel Brobecker <brobecker@adacore.com>
6132
6133 * gdb.ada/big_packed_array: New testcase.
6134 * gdb.ada/homonym.exp: Fix incorrect expected output for
6135 "break <homonym__get_value>" test.
6136
9d70ffbc
WP
61372019-02-13 Weimin Pan <weimin.pan@oracle.com>
6138
6139 PR breakpoints/21870
6140 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
6141 and prepare_for_testing. Add comment.
6142 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
6143 redundant cleanup call. Clean up comment.
6144
01c7ae81
WP
61452019-02-12 Weimin Pan <weimin.pan@oracle.com>
6146
6147 PR breakpoints/21870
6148 * gdb.arch/aarch64-dbreg-contents.exp: New file.
6149 * gdb.arch/aarch64-dbreg-contents.c: New file.
6150
aff29d1c
JB
61512019-02-10 Joel Brobecker <brobecker@adacore.com>
6152
6153 * gdb.ada/mi_ref_changeable: New testcase.
6154
df0da8a2
AH
61552019-02-07 Alan Hayward <alan.hayward@arm.com>
6156
6157 * gdb.base/attach.exp: Add double attach test.
6158
bd447abb
SM
61592019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
6160
6161 * lib/gdb.exp (default_gdb_start): Don't match pagination
6162 prompt.
6163 (gdb_init): Set stty_init.
6164
1dbc40b9
TT
61652019-01-27 Tom Tromey <tom@tromey.com>
6166
6167 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
6168 skip_python_tests.
6169
353229bf
AH
61702019-01-24 Alan Hayward <alan.hayward@arm.com>
6171
6172 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
6173 New structure.
6174 (struct struct_static_02_02): Likewise.
6175 (struct struct_static_02_03): Likewise.
6176 (struct struct_static_02_04): Likewise.
6177 (struct struct_static_04_01): Likewise.
6178 (struct struct_static_04_02): Likewise.
6179 (struct struct_static_04_03): Likewise.
6180 (struct struct_static_04_04): Likewise.
6181 (struct struct_static_06_01): Likewise.
6182 (struct struct_static_06_02): Likewise.
6183 (struct struct_static_06_03): Likewise.
6184 (struct struct_static_06_04): Likewise.
6185 (cmp_struct_static_02_01): Likewise.
6186 (cmp_struct_static_02_02): Likewise.
6187 (cmp_struct_static_02_03): Likewise.
6188 (cmp_struct_static_02_04): Likewise.
6189 (cmp_struct_static_04_01): Likewise.
6190 (cmp_struct_static_04_02): Likewise.
6191 (cmp_struct_static_04_03): Likewise.
6192 (cmp_struct_static_04_04): Likewise.
6193 (cmp_struct_static_06_01): Likewise.
6194 (cmp_struct_static_06_02): Likewise.
6195 (cmp_struct_static_06_03): Likewise.
6196 (cmp_struct_static_06_04): Likewise.
6197 (call_all): Test new structs.
6198 * gdb.base/infcall-nested-structs.exp: Likewise.
6199
73021deb
AH
62002019-01-21 Alan Hayward <alan.hayward@arm.com>
6201 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
6202
fc65c7db
AH
62032019-01-21 Alan Hayward <alan.hayward@arm.com>
6204 * gdb.base/stack-protector.c: New test.
6205 * gdb.base/stack-protector.exp: New file.
6206 * gdb.cp/ovldbreak.exp: Only allow a single break line.
6207 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
6208 option.
6209 (gdb_compile): Remove stack protector for GCC and prevent
6210 recursion.
6211
c24bdb02
KS
62122019-01-16 Keith Seitz <keiths@redhat.com>
6213
6214 PR gdb/23773
6215 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
6216
6f072a10
PFC
62172019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6218
6219 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
6220 aliases.
6221 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
6222 tests.
6223 * gdb.arch/powerpc-vector-regs.c: New file.
6224 * gdb.arch/powerpc-vector-regs.exp: New file.
6225
a7b8d682
PFC
62262019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6227
6228 * gdb.arch/altivec-regs.exp: Fix the list passed to
6229 gdb_expect_list when testing "info vector".
6230
6eb6fb67
AB
62312019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
6232
6233 * gdb.base/style.exp: Don't include path in testname.
6234
b56f80d8
KS
62352019-01-10 Keith Seitz <keiths@redhat.com>
6236
6237 PR gdb/23712
6238 PR symtab/23010
6239 * gdb.dwarf2/multidictionary.exp: New file.
6240
041be526
SM
62412019-01-09 Simon Marchi <simon.marchi@ericsson.com>
6242
6243 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
6244 (test_gnuv3_style_demangling): ... this.
6245 (test_lucid_style_demangling): Remove.
6246 (test_arm_style_demangling): Remove.
6247 (test_hp_style_demangling): Remove.
6248 (do_tests): Remove calls to the above.
6249
d820d0c3
AB
62502019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6251
6252 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
6253 case.
6254
f097f5ad
TT
62552019-01-06 Tom Tromey <tom@tromey.com>
6256
6257 PR gdb/28155:
6258 * gdb.dwarf2/typedef-void-finish.exp: New file.
6259
2cd8cc0b
TT
62602018-12-28 Tom Tromey <tom@tromey.com>
6261 Simon Marchi <simark@simark.ca>
6262
6263 * gdb.base/jit-exec.exp: New file.
6264 * gdb.base/jit-exec.c: New file.
6265 * gdb.base/jit-execd.c: New file.
6266
35fb8261
TT
62672018-12-28 Tom Tromey <tom@tromey.com>
6268
6269 * gdb.base/style.exp: Update test to check for address styling.
6270
47fd17cd
TT
62712018-12-28 Tom Tromey <tom@tromey.com>
6272
6273 * gdb.base/style.exp: Add test for styling of "Reading symbols"
6274 message.
6275
d47032b7
TT
62762018-12-28 Tom Tromey <tom@tromey.com>
6277
6278 * gdb.base/style.exp: Add test for version number styling.
6279
af79b68d
TT
62802018-12-28 Tom Tromey <tom@tromey.com>
6281
6282 * gdb.base/style.exp: Add test for print_address_symbolic.
6283
0bb296cb
TT
62842018-12-28 Tom Tromey <tom@tromey.com>
6285
6286 * gdb.base/style.exp: Add test for breakpoint setting.
6287
80ae2043
TT
62882018-12-28 Tom Tromey <tom@tromey.com>
6289
6290 * gdb.base/style.exp: Add test for variable names.
6291
cbe56571
TT
62922018-12-28 Tom Tromey <tom@tromey.com>
6293
6294 * gdb.base/style.exp: New file.
6295 * gdb.base/style.c: New file.
6296
9162a27c
TT
62972018-12-28 Tom Tromey <tom@tromey.com>
6298
6299 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
6300 "dumb".
6301 * gdb.base/readline.exp (operate_and_get_next): Save and restore
6302 the TERM environment variable.
6303
bc543c90
TT
63042018-12-27 Tom Tromey <tom@tromey.com>
6305
6306 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
6307 pagination test.
6308
6f0ffe50
AB
63092018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
6310
6311 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
6312 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
6313
b5a1e557
PW
63142018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6315
6316 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
6317 Filename a.adb changed to bp_fun_addr.adb.
6318 gdb.ada/bp_fun_addr.exp: Update test accordingly.
6319
6e8b1ab2
JV
63202018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
6321
6322 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
6323 non-PIE executables.
6324 * README: Mention the gdb,nopie_flag board setting.
6325 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
6326 non-PIE executable.
6327 * gdb.arch/amd64-entry-value.exp: Likewise.
6328 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
6329 * gdb.arch/i386-float.exp: Likewise.
6330 * gdb.arch/i386-signal.exp: Likewise.
6331 * gdb.mi/mi-reg-undefined.exp: Likewise.
6332
d00a27c5
PM
63332018-12-21 Paul Marechal <paul.marechal@ericsson.com>
6334
6335 PR gdb/23974
6336 * gdb.base/info-os.exp: Check return for unknown "info os" type.
6337
161d081c
PW
63382018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6339
6340 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
6341 Update order of results accordingly.
6342
b001de23
AB
63432018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
6344
6345 * gdb.base/annota1.exp: Update a test regexp.
6346
99e1a184
AB
63472018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
6348
6349 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
6350
7a81c1e2
PW
63512018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6352
6353 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
6354 (reuse_time): Initialize to REUSE_TIME_CAP.
6355 (check_rc): New function.
6356 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
6357 Check pthread_create rc.
6358 (spawner_thread_func): Check pthread_create and pthread_join rc.
6359
73e8dc90
PA
63602018-12-08 Pedro Alves <palves@redhat.com>
6361
6362 * gdb.base/list.exp (test_forward_search): Rename to ...
6363 (test_forward_reverse_search): ... this. Also test reverse-search
6364 and the forward-search alias.
6365
13f2ed32
AB
63662018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
6367
6368 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
6369 local timeout variable before return, and remove all local timeout
6370 variable entirely.
6371 (gdb_load): Likewise.
6372
64d27cfc
TV
63732018-12-01 Tom de Vries <tdevries@suse.de>
6374
6375 * gdb.base/gdb-caching-proc.exp: New file.
6376
f63c03b4
SDJ
63772018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
6378
6379 * Makefile.in (TIMESTAMP): New variable.
6380 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
6381 command.
6382 (check-single-racy): Likewise.
6383 (check/%.exp): Likewise.
6384 (check-racy/%.exp): Likewise.
6385 (workers/%.worker): Likewise.
6386 (build-perf): Likewise.
6387 (check-perf): Likewise.
6388 * README: Describe new "TS" and "TS_FORMAT" variables.
6389 * print-ts.py: New file.
6390
1c97054b
BF
63912018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
6392
6393 PR python/23714
6394 * gdb.python/python.exp: Test command repetition after
6395 gdb.execute.
6396
1871a62d
AB
63972018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
6398
6399 * gdb.opt/inline-break.exp: Add test that info breakpoint output
6400 is correctly aligned.
6401
fb5e1ed9
PW
64022018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6403
6404 * gdb.ada/info_auto_lang.exp: New testcase.
6405 * gdb.ada/info_auto_lang/global_pack.ads: New file.
6406 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
6407 * gdb.ada/info_auto_lang/some_c.c: New file.
6408
43d397ca
PW
64092018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6410
6411 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
6412 FUNC_lang language syntax.
6413
beddd671
PW
64142018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6415
6416 * gdb.base/info_minsym.c: New file.
6417 * gdb.base/info_minsym.exp: New file.
6418
73fc52c4
TT
64192018-11-19 Tom Tromey <tom@tromey.com>
6420
6421 PR rust/23625:
6422 * gdb.rust/simple.exp: Add ptype test. Update expected output.
6423 * gdb.rust/expr.exp: Update expected output. Change one test.
6424
994b876a
TT
64252018-11-19 Tom Tromey <tom@tromey.com>
6426
6427 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
6428
6769f276
PA
64292018-11-19 Pedro Alves <palves@redhat.com>
6430
6431 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
6432 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
6433 see the expected warning.
6434
38a72da0
AH
64352018-11-16 Alan Hayward <alan.hayward@arm.com>
6436
6437 PR gdb/22736:
6438 * gdb.cp/infcall-nodebug-lib.c: New test.
6439 * gdb.cp/infcall-nodebug-main.c: New test.
6440 * gdb.cp/infcall-nodebug.exp: New file.
6441
53a89d6e
SM
64422018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
6443
6444 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
6445 completer tests.
6446
9325300d
TV
64472018-11-09 Tom de Vries <tdevries@suse.de>
6448
6449 * gdb.base/msym-lang.c: New test.
6450 * gdb.base/msym-lang.exp: New file.
6451 * gdb.base/msym-lang-main.c: New test.
6452
20f0d60d
TT
64532018-11-08 Tom Tromey <tom@tromey.com>
6454
6455 PR gdb/23555:
6456 PR gdb/23838:
6457 * gdb.base/warning.exp: New file.
6458
b5420128
JB
64592018-11-08 Jan Beulich <jbeulich@suse.com>
6460
6461 * testsuite/gdb.arch/i386-avx512.c,
6462 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
6463
cd115d61
AB
64642018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
6465
6466 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
6467 point hardware.
6468
35ee2dc2
AB
64692018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
6470
6471 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
6472 * gdb.dwarf2/missing-type-name.exp: New file.
6473
31aceee8
TV
64742018-11-06 Tom de Vries <tdevries@suse.de>
6475
6476 * gdb.base/many-headers.c: New test.
6477 * gdb.base/many-headers.exp: New file.
6478
109be305
JW
64792018-11-06 Jim Wilson <jimw@sifive.com>
6480
6481 * gdb.base/code_elim.exp: For riscv, set additional_flags
6482 to include -msmall-data-limit=0.
6483
e2b7af72
JB
64842018-11-01 Joel Brobecker <brobecker@adacore.com>
6485
6486 * gdb.ada/watch_minus_l: New testcase.
6487
cdcda965
SM
64882018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
6489
6490 * gdb.arch/aix-sighandle.c: New file.
6491 * gdb.arch/aix-sighandle.exp: New file.
6492
92dcebf3
AB
64932018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6494
6495 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
6496 registers being unions.
6497
68b9ac18
TV
64982018-10-31 Tom de Vries <tdevries@suse.de>
6499
6500 * lib/valgrind.exp: New file.
6501 (vgdb_start, vgdb_stop): New procs, factored out of ...
6502 * gdb.base/valgrind-bt.exp: ... here, ...
6503 * gdb.base/valgrind-disp-step.exp: ... here and ...
6504 * gdb.base/valgrind-infcall.exp: ... here.
6505
1443936e
TV
65062018-10-31 Tom de Vries <tdevries@suse.de>
6507
6508 * lib/gdb.exp (get_valueof): Don't output read value in test name.
6509
eb77c9df
AB
65102018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6511
6512 * gdb.dwarf2/void-type.c: New file.
6513 * gdb.dwarf2/void-type.exp: New file.
6514
82b5e646
PW
65152018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6516
6517 * gdb.base/info_qt.c: New file.
6518 * gdb.base/info_qt.exp: New file.
6519
8d619c01
EBM
65202018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6521
6522 * gdb.arch/powerpc-htm-regs.c: New file.
6523 * gdb.arch/powerpc-htm-regs.exp: New file.
6524
f2cf6173
EBM
65252018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6526
6527 * gdb.arch/powerpc-tar.c: New file.
6528 * gdb.arch/powerpc-tar.exp: New file.
6529
7ca18ed6
EBM
65302018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6531
6532 * gdb.arch/powerpc-ppr-dscr.c: New file.
6533 * gdb.arch/powerpc-ppr-dscr.exp: New file.
6534
bfcc0eba
TV
65352018-10-25 Tom de Vries <tdevries@suse.de>
6536
6537 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
6538
fe1a5cad
TV
65392018-10-24 Tom de Vries <tdevries@suse.de>
6540
6541 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
6542 longer exists error.
6543
a76dc3b7
TV
65442018-10-24 Tom de Vries <tdevries@suse.de>
6545
6546 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
6547
4df46df7
TV
65482018-10-24 Tom de Vries <tdevries@suse.de>
6549
6550 * gdb.base/valgrind-db-attach.exp: Handle removed support for
6551 --db-attach in valgrind.
6552
0dbfcfff
AB
65532018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
6554
6555 * gdb.arch/riscv-reg-aliases.c: New file.
6556 * gdb.arch/riscv-reg-aliases.exp: New file.
6557
b04480b1
AH
65582018-10-19 Alan Hayward <alan.hayward@arm.com>
6559
6560 * gdb.python/py-cmd.exp: Check for gdb_prompt.
6561
2c6ac8d7
AH
65622018-10-19 Alan Hayward <alan.hayward@arm.com>
6563
6564 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
6565
2bc69f25
AH
65662018-10-19 Alan Hayward <alan.hayward@arm.com>
6567
6568 * gdb.cp/ovldbreak.exp: Fix regexps.
6569
1f1ae3a3
AH
65702018-10-19 Alan Hayward <alan.hayward@arm.com>
6571
6572 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
6573
94c18618
SDJ
65742018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
6575
6576 PR cli/23785
6577 * gdb.base/restore.exp: New test to check if "restore" with an
6578 invalid file doesn't segfault.
6579
812cd6eb
TV
65802018-10-18 Tom de Vries <tdevries@suse.de>
6581
6582 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
6583 * gdb.ada/excep_handle.exp: Same.
6584 * gdb.ada/mi_string_access.exp: Same.
6585 * gdb.ada/mi_var_union.exp: Same.
6586 * gdb.arch/arc-analyze-prologue.exp: Same.
6587 * gdb.arch/arc-decode-insn.exp: Same.
6588 * gdb.base/readnever.exp: Same.
6589 * gdb.fortran/printing-types.exp: Same.
6590 * gdb.guile/scm-lazy-string.exp: Same.
6591
c4b90788
TV
65922018-10-16 Tom de Vries <tdevries@suse.de>
6593
6594 PR gdb/23730
6595 * gdb.base/catch-follow-exec.c: Add copyright notice.
6596 * gdb.base/catch-follow-exec.exp: Rewrite to use
6597 gdb_spawn_with_cmdline_opts. Require gdb-native.
6598
8bca2978
SL
65992018-10-12 Sandra Loosemore <sandra@codesourcery.com>
6600
6601 * gdb.trace/actions-changed.exp: Check for arch support.
6602 * gdb.trace/actions.exp: Likewise.
6603 * gdb.trace/ax.exp: Likewise.
6604 * gdb.trace/backtrace.exp: Likewise.
6605 * gdb.trace/change-loc.exp: Likewise.
6606 * gdb.trace/deltrace.exp: Likewise.
6607 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
6608 * gdb.trace/ftrace.exp: Likewise.
6609 * gdb.trace/infotrace.exp: Check for arch support.
6610 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
6611 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
6612 * gdb.trace/mi-tsv-changed.exp: Likewise.
6613 * gdb.trace/packetlen.exp: Likewise.
6614 * gdb.trace/passc-dyn.exp: Likewise.
6615 * gdb.trace/passcount.exp: Likewise.
6616 * gdb.trace/pending.exp: Likewise.
6617 * gdb.trace/range-stepping.exp: Check for shlib support.
6618 * gdb.trace/report.exp: Check for arch support.
6619 * gdb.trace/save-trace.exp: Likewise.
6620 * gdb.trace/signal.exp: Check for signal support.
6621 * gdb.trace/tfind.exp: Check for arch support.
6622 * gdb.trace/trace-break.exp: Check for arch and shlib support.
6623 * gdb.trace/trace-common.h: Add comment.
6624 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
6625 * gdb.trace/trace-enable-disable.exp: Likewise.
6626 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
6627 * gdb.trace/tracecmd.exp: Check for arch support.
6628 * gdb.trace/tspeed.exp: Check for shlib and target support.
6629 * gdb.trace/tstatus.exp: Check for arch support.
6630 * gdb.trace/tsv.exp: Likewise.
6631 * gdb.trace/while-dyn.exp: Likewise.
6632 * gdb.trace/while-stepping.exp: Likewise.
6633 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
6634
f9c49bff
SM
66352018-10-12 Simon Marchi <simon.marchi@ericsson.com>
6636
6637 * gdb.trace/tspeed.exp: Remove nowarnings.
6638 (prepare_for_trace_test): Declare "global ipalib".
6639 * gdb.trace/tspeed.c: Include unistd.h.
6640 (main): Remove superfluous printf argument.
6641
d4330bde
SL
66422018-10-11 Sandra Loosemore <sandra@codesourcery.com>
6643
6644 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
6645 directory prefix on the filename.
6646
8ecfd7bd
SDJ
66472018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
6648
6649 * gdb.gdb/unittest.exp: Update expected message informing that
6650 selftests have been disabled.
6651 * gdb.server/unittest.exp: Likewise.
6652
58bbcd02
TV
66532018-10-09 Tom de Vries <tdevries@suse.de>
6654
6655 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
6656 with runto_main.
6657
9f6b697b
WP
66582018-10-08 Weimin Pan <weimin.pan@oracle.com>
6659
6660 PR c++/16841
6661 * gdb.cp/virtbase2.cc: New file.
6662 * gdb.cp/virtbase2.exp: New file.
6663
add5ded5
TT
66642018-10-06 Tom Tromey <tom@tromey.com>
6665
6666 PR python/19399:
6667 * gdb.python/py-inferior.exp: Add architecture test.
6668
f9e48344
TT
66692018-10-06 Tom Tromey <tom@tromey.com>
6670
6671 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
6672 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
6673
2a8be203
TT
66742018-10-06 Tom Tromey <tom@tromey.com>
6675
6676 * gdb.python/py-breakpoint.exp (check_last_event): Check location
6677 of a "throw" catchpoint.
6678
e04caa70
SDJ
66792018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
6680
6681 * gdb.base/info-proc.exp: Update string expected from "help info
6682 proc".
6683
5ca8c39f
TT
66842018-10-04 Tom Tromey <tom@tromey.com>
6685
6686 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
6687 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
6688 (test_initial_complaints, test_empty_complaints): Update.
6689 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
6690
3453e7e4
TT
66912018-10-04 Tom Tromey <tom@tromey.com>
6692
6693 PR cli/19551:
6694 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
6695 * lib/gdb.exp (gdb_file_cmd): Update.
6696 * gdb.stabs/weird.exp (print_weird_var): Update.
6697 * gdb.server/solib-list.exp: Update.
6698 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
6699 * gdb.mi/mi-cli.exp: Update.
6700 * gdb.linespec/linespec.exp: Update.
6701 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
6702 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
6703 * gdb.cp/cp-relocate.exp: Update.
6704 * gdb.base/sym-file.exp: Update.
6705 * gdb.base/relocate.exp: Update.
6706 * gdb.base/readnever.exp: Update.
6707 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
6708 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
6709 * gdb.base/dbx.exp (gdb_file_cmd): Update.
6710 * gdb.base/code_elim.exp: Update.
6711 * gdb.base/break-unload-file.exp (test_break): Update.
6712 * gdb.base/break-interp.exp (test_attach_gdb): Update.
6713 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
6714 Update.
6715 * gdb.base/attach.exp (do_attach_tests): Update.
6716 * gdb.base/sepdebug.exp: Update.
6717 * gdb.python/py-section-script.exp: Update.
6718
6afcf761
TT
67192018-10-04 Tom Tromey <tom@tromey.com>
6720
6721 PR cli/22234:
6722 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
6723 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
6724 output.
6725
fef1b293
TT
67262018-10-04 Tom Tromey <tom@tromey.com>
6727
6728 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
6729 set width and height to 0.
6730 (test_command_line_attach_run): Use -quiet.
6731
ca98345e
SL
67322018-10-03 Sandra Loosemore <sandra@codesourcery.com>
6733
6734 * lib/gdb.exp (skip_ifunc_tests): New.
6735 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
6736 other compile failures.
6737 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
6738
ff34e6ae
SM
67392018-10-01 Simon Marchi <simon.marchi@ericsson.com>
6740
6741 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
6742 is_amd64_regs_target.
6743
6bb8890e
AH
67442018-10-01 Alan Hayward <alan.hayward@arm.com>
6745
6746 * gdb.arch/aarch64-sighandler-regs.c: New test.
6747 * gdb.arch/aarch64-sighandler-regs.exp: New file.
6748 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
6749
224d30d3
MM
67502018-10-01 Markus Metzger <markus.t.metzger@intel.com>
6751
6752 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
6753 assembly.
6754
f67ffa6a
AB
67552018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
6756
6757 * gdb.base/frame-selection.exp: New file.
6758 * gdb.base/frame-selection.c: New file.
6759
9fc3183f
AH
67602018-09-27 Alan Hayward <alan.hayward@arm.com>
6761
6762 * gdb.threads/check-libthread-db.c (thread_routine): Use a
6763 pthread barrier.
6764 (main): Likewise.
6765
d354055e
AB
67662018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
6767
6768 * gdb.base/large-frame-1.c: New file.
6769 * gdb.base/large-frame-2.c: New file.
6770 * gdb.base/large-frame.exp: New file.
6771 * gdb.base/large-frame.h: New file.
6772
db727370
JL
67732018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
6774
6775 PR gdb/20948
6776 * gdb.base/write_mem.exp: New test.
6777 * gdb.base/write_mem.c: Likewise.
6778
ae778caf
TT
67792018-09-23 Tom Tromey <tom@tromey.com>
6780
6781 PR python/18852:
6782 * gdb.python/py-parameter.exp: Add test for parameter that throws
6783 on "set".
6784
fd3ba736
TT
67852018-09-23 Tom Tromey <tom@tromey.com>
6786
6787 PR python/17284:
6788 * gdb.python/py-template.exp (test_template_arg): Add test for
6789 negative template argument number.
6790
39a24317
TT
67912018-09-23 Tom Tromey <tom@tromey.com>
6792
6793 PR python/14062:
6794 * gdb.python/python.exp: Add test for post_event error.
6795
f5769a2c
TT
67962018-09-23 Tom Tromey <tom@tromey.com>
6797
6798 PR python/18170:
6799 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
6800 convert pointers to int and long.
6801
1c1e54f6
TT
68022018-09-23 Tom Tromey <tom@tromey.com>
6803
6804 PR python/20126:
6805 * gdb.python/py-value.exp (test_value_numeric_ops): Add
6806 signed-ness conversion tests.
6807
fb4fa946
TT
68082018-09-23 Tom Tromey <tom@tromey.com>
6809
6810 PR python/18352;
6811 * gdb.python/py-value.exp (test_float_conversion): New proc.
6812 Use it.
6813
a466edac
HAQ
68142018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
6815
6816 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
6817
4ee9b0c5
SL
68182018-09-18 Sandra Loosemore <sandra@codesourcery.com>
6819
6820 * gdb.base/complete-empty.exp: Skip tab-completion tests if
6821 no readline.
6822 * gdb.base/utf8-identifiers.exp: Likewise.
6823 * gdb.cp/cpcompletion.exp: Likewise.
6824 * gdb.linespec/cpcompletion.exp: Likewise.
6825 * gdb.linespec/cpls-abi-tag.exp: Likewise.
6826 * gdb.linespec/cpls-ops.exp: Likewise.
6827
23be8da7
RB
68282018-09-19 Richard Bunt <richard.bunt@arm.com>
6829 Chris January <chris.january@arm.com>
6830
6831 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
6832 * gdb.fortran/short-circuit-argument-list.exp: New file.
6833 * gdb.fortran/short-circuit-argument-list.f90: New test.
6834
5031d0ae
SDJ
68352018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
6836
6837 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
6838 "arch=" keyword when executing "-stack-list-frames".
6839
b4c0d1a4
SDJ
68402018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
6841
6842 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
6843 "arch=" keyword when executing "-stack-list-frames".
6844
7a6d2b45
SDJ
68452018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
6846
6847 * gdb.ada/complete.exp: Expect for "@" when doing "complete
6848 break ada".
6849
8588b356
SM
68502018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
6851
6852 PR python/23669
6853 * gdb.python/python.exp: Test gdb.execute("show commands").
6854
65e65158
TT
68552018-09-16 Tom Tromey <tom@tromey.com>
6856
6857 * gdb.base/new-ui.exp (do_execution_tests): Update.
6858 * gdb.base/dbx.exp (test_breakpoints): Update.
6859
bf326452
AH
68602018-09-14 Alan Hayward <alan.hayward@arm.com>
6861
6862 * lib/gdb.exp (gdb_simple_compile): Add proc.
6863 (is_elf_target): Use gdb_simple_compile.
6864 (skip_altivec_tests): Likewise.
6865 (skip_vsx_tests): Likewise.
6866 (skip_tsx_tests): Likewise.
6867 (skip_btrace_tests): Likewise.
6868 (skip_btrace_pt_tests): Likewise.
6869 (gdb_can_simple_compile): Likewise.
6870 (gdb_has_argv0): Likewise.
6871 (gdb_target_symbol_prefix): Likewise.
6872 (target_supports_scheduler_locking): Likewise.
6873
2361b0fb
TT
68742018-09-13 Tom Tromey <tom@tromey.com>
6875
6876 * Makefile.in (TAGS): Recognize proc_with_prefix and
6877 gdb_caching_proc.
6878
0ae1a321
SM
68792018-09-13 Simon Marchi <simon.marchi@ericsson.com>
6880
6881 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
6882 method.
6883
a40bf0c2
SM
68842018-09-13 Simon Marchi <simon.marchi@ericsson.com>
6885
6886 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
6887 and a few other Inferior properties when the Inferior is no
6888 longer valid.
6889
4a3fe98f
TT
68902018-09-13 Tom Tromey <tom@tromey.com>
6891
6892 PR rust/23650:
6893 * gdb.rust/simple.exp: Add test for enum field access error.
6894
098b2108
TT
68952018-09-13 Tom Tromey <tom@tromey.com>
6896
6897 PR rust/23626:
6898 * gdb.rust/simple.rs (EmptyEnum): New type.
6899 (main): Use it.
6900 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
6901
1256af7d
SM
69022018-09-13 Simon Marchi <simon.marchi@ericsson.com>
6903
6904 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
6905 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
6906 * gdb.python/py-symtab.exp: Update test printing an objfile.
6907
4aa8e6c2
SM
69082018-09-12 Simon Marchi <simon.marchi@ericsson.com>
6909
6910 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
6911 object.
6912
c221b2f7
AH
69132018-09-12 Alan Hayward <alan.hayward@arm.com>
6914
6915 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
6916 (support_complex_tests): Use gdb_can_simple_compile.
6917 (is_ilp32_target): Likewise.
6918 (is_lp64_target): Likewise.
6919 (is_64_target): Likewise.
6920 (is_amd64_regs_target): Likewise.
6921 (is_aarch32_target): Likewise.
6922 (gdb_int128_helper): Likewise.
6923
6f1107b5
JK
69242018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6925
6926 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
6927
1f5d1570
JG
69282018-09-10 Jerome Guitton <guitton@adacore.com>
6929
6930 * gdb.ada/same_component_name: Add test for case of tagged record
6931 with variable-length fields.
6932
cc330e39
XR
69332018-09-10 Xavier Roirand <roirand@adacore.com>
6934
6935 * gdb.ada/access_to_unbounded_array.exp: New testcase.
6936 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
6937 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
6938 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
6939
b9c50e9a
XR
69402018-09-10 Xavier Roirand <roirand@adacore.com>
6941
6942 * gdb.ada/mi_string_access.exp: New testcase.
6943 * gdb.ada/mi_string_access/bar.adb: New file.
6944 * gdb.ada/mi_string_access/pck.adb: New file.
6945 * gdb.ada/mi_string_access/pck.asd: New file.
6946
2963898f
XR
69472018-09-10 Xavier Roirand <roirand@adacore.com>
6948
6949 * gdb.ada/mi_var_union.exp: New testcase.
6950 * gdb.ada/mi_var_union/bar.adb: New file.
6951 * gdb.ada/mi_var_union/pck.adb: New file.
6952 * gdb.ada/mi_var_union/pck.asd: New file.
6953
1aac008f
TT
69542018-09-08 Tom Tromey <tom@tromey.com>
6955
6956 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
6957
332cf4c9
TT
69582018-09-08 Tom Tromey <tom@tromey.com>
6959
6960 PR python/16047:
6961 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
6962 (register_pretty_printers): Register new printer.
6963 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
6964 test.
6965 * gdb.python/py-prettyprint.c (int_type3): New typedef.
6966 (an_int_type3): New global.
6967
424da6cf
JB
69682018-09-08 Joel Brobecker <brobecker@adacore.com>
6969
6970 * gdb.ada/expr_with_funcall: New testcase.
6971
2a62dfa9
JB
69722018-09-08 Joel Brobecker <brobecker@adacore.com>
6973
6974 * gdb.ada/packed_array_assign: New testcase.
6975
96b6697f
AB
69762018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
6977
6978 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
6979 names, and add test prefixes to make test names unique.
6980
e4a62c65
TV
69812018-09-05 Tom de Vries <tdevries@suse.de>
6982
6983 * gdb.dwarf2/varval.exp: Add test.
6984
dd083ee2
GB
69852018-09-04 Gary Benson <gbenson@redhat.com>
6986
6987 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
6988 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
6989
aef9346c
TT
69902018-08-31 Tom Tromey <tom@tromey.com>
6991
6992 * gdb.rust/simple.rs: Rename second variable "v".
6993
c67f2e15
AB
69942018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
6995
6996 * gdb.base/funcargs.c (use_a): New function.
6997 (recurse): Call use_a.
6998
078a0207
KS
69992018-08-29 Keith Seitz <keiths@redhat.com>
7000
7001 * gdb.compile/compile-cplus-anonymous.cc: New file.
7002 * gdb.compile/compile-cplus-anonymous.exp: New file.
7003 * gdb.compile/compile-cplus-array-decay.cc: New file.
7004 * gdb.compile/compile-cplus-array-decay.exp: New file.
7005 * gdb.compile/compile-cplus-inherit.cc: New file.
7006 * gdb.compile/compile-cplus-inherit.exp: New file.
7007 * gdb.compile/compile-cplus-member.cc: New file.
7008 * gdb.compile/compile-cplus-member.exp: New file.
7009 * gdb.compile/compile-cplus-method.cc: New file.
7010 * gdb.compile/compile-cplus-method.exp: New file.
7011 * gdb.compile/compile-cplus-mod.c: "New" file.
7012 * gdb.compile/compile-cplus-namespace.cc: New file.
7013 * gdb.compile/compile-cplus-namespace.exp: New file.
7014 * gdb.compile/compile-cplus-nested.cc: New file.
7015 * gdb.compile/compile-cplus-nested.exp: New file.
7016 * gdb.compile/compile-cplus-print.c: "New" file.
7017 * gdb.compile/compile-cplus-print.exp: "New" file.
7018 * gdb.compile/compile-cplus-virtual.cc: New file.
7019 * gdb.compile/compile-cplus-virtual.exp: New file.
7020 * gdb.compile/compile-cplus.c: "New" file.
7021 * gdb.compile/compile-cplus.exp: "New" file.
7022 * lib/compile-support.exp: New file.
7023
b0f492b9
GB
70242018-08-16 Gary Benson <gbenson@redhat.com>
7025
7026 PR gdb/13000:
7027 * gdb.base/batch-exit-status.exp: New file.
7028 * gdb.base/batch-exit-status.good-commands: Likewise.
7029 * gdb.base/batch-exit-status.bad-commands: Likewise.
7030
36eb4c5f
AH
70312018-08-29 Alan Hayward <alan.hayward@arm.com>
7032
7033 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
7034 (struct struct02): Likewise.
7035 (struct struct03): Likewise.
7036 (struct struct04): Likewise.
7037 (struct struct_01_01): New struct.
7038 (struct struct_01_02): Likewise.
7039 (struct struct_01_03): Likewise.
7040 (struct struct_01_04): Likewise.
7041 (struct struct_02_01): Likewise.
7042 (struct struct_02_02): Likewise.
7043 (struct struct_02_03): Likewise.
7044 (struct struct_02_04): Likewise.
7045 (struct struct_04_01): Likewise.
7046 (struct struct_04_02): Likewise.
7047 (struct struct_04_03): Likewise.
7048 (struct struct_04_04): Likewise.
7049 (struct struct_05_01): Likewise.
7050 (struct struct_05_02): Likewise.
7051 (struct struct_05_03): Likewise.
7052 (struct struct_05_04): Likewise.
7053 (cmp_struct01): Remove function.
7054 (cmp_struct02): Likewise.
7055 (cmp_struct03): Likewise.
7056 (cmp_struct04): Likewise.
7057 (cmp_struct_01_01): Add Function.
7058 (cmp_struct_01_02): Likewise.
7059 (cmp_struct_01_03): Likewise.
7060 (cmp_struct_01_04): Likewise.
7061 (cmp_struct_02_01): Likewise.
7062 (cmp_struct_02_02): Likewise.
7063 (cmp_struct_02_03): Likewise.
7064 (cmp_struct_02_04): Likewise.
7065 (cmp_struct_04_01): Likewise.
7066 (cmp_struct_04_02): Likewise.
7067 (cmp_struct_04_03): Likewise.
7068 (cmp_struct_04_04): Likewise.
7069 (cmp_struct_05_01): Likewise.
7070 (cmp_struct_05_02): Likewise.
7071 (cmp_struct_05_03): Likewise.
7072 (cmp_struct_05_04): Likewise.
7073 (call_all): Add new structs.
7074 * gdb.base/infcall-nested-structs.exp: Likewise.
7075
3bf9c013
JV
70762018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
7077
7078 * gdb.python/py-framefilter-mi.exp: Update regexp to
7079 check for "arch" field in frame output.
7080
450d1e88
KB
70812018-08-23 Kevin Buettner <kevinb@redhat.com>
7082
7083 * gdb.dwarf2/dw2-ranges-func.c: New file.
7084 * gdb.dwarf2/dw2-ranges-func.exp: New file.
7085
ae739fe7
SM
70862018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
7087
7088 * gdb.base/term.exp: Compare terminal settings with values from
7089 the inferior.
7090 * gdb.base/term.c: Get and set terminal settings.
7091
6d52907e
JV
70922018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
7093
7094 * lib/mi-support.exp (mi_expect_stop): Update regexp to
7095 accommodate new "arch" field in frame output.
7096 * gdb.mi/mi-return.exp: Likewise.
7097 * gdb.mi/mi-stack.exp: Likewise.
7098 * gdb.mi/mi-syn-frame.exp: Likewise.
7099 * gdb.mi/user-selected-context-sync.exp: Likewise.
7100
be2d111a
MS
71012018-08-19 Michael Spang <spang@google.com>
7102
7103 PR gdb/11786
7104 * gdb.base/gcore-tls-pie.c: New file.
7105 * gdb.base/gcore-tls-pie.exp: New file.
7106
ae3a7c47
KB
71072018-08-18 Kevin Buettner <kevinb@redhat.com>
7108
7109 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
7110 * gdb.dwarf2/varval.c: New file.
7111 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 7112
2ecae92e
AH
71132018-08-17 Alan Hayward <alan.hayward@arm.com>
7114
7115 PR gdb/18931
7116 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
7117
c1854f1d
KS
71182018-08-16 Keith Seitz <keiths@redhat.com>
7119
7120 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
7121 tests expected to pass.
7122
26fb3983
JV
71232018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
7124
7125 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
7126 -data-disassemble -a.
7127 (test_disassembly_bogus_args): Likewise.
7128
67943c00
AB
71292018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
7130
7131 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
7132
5ff2bbae
AB
71332018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
7134
7135 * gdb.base/vla-optimized-out.exp: Add new test.
7136
e5bbcd0f
AB
71372018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
7138
7139 * gdb.base/vla-optimized-out-o3.exp: Delete.
7140 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
7141 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
7142 deleted tests.
7143
9d4a934c
AB
71442018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
7145
7146 PR gdb/18050:
7147 * gdb.server/extended-remote-restart.c: New file.
7148 * gdb.server/extended-remote-restart.exp: New file.
7149
045cf012
SM
71502018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
7151
7152 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
7153 "set variable index = 42".
7154
87d6a7aa
SM
71552018-08-07 Simon Marchi <simon.marchi@ericsson.com>
7156
7157 * boards/index-cache-gdb.exp: New file.
7158 * gdb.dwarf2/index-cache.exp: New file.
7159 * gdb.dwarf2/index-cache.c: New file.
7160 * gdb.base/maint.exp: Check if we are using the index cache.
7161
96d68bd4
RO
71622018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7163
7164 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
7165 MAKEFLAGS.
7166
5a699617
RO
71672018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7168
7169 * dg-extract-results.sh: Move to toplevel contrib.
7170 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
7171 * Makefile.in (check-parallel-racy): Likewise.
7172
5bd18990
AB
71732018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
7174
7175 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
7176 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
7177 tests if the target supports scheduler locking.
7178
3fbbcf47
TV
71792018-08-04 Tom de Vries <tdevries@suse.de>
7180
7181 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
7182
3e1d3d8c
TT
71832018-08-02 Tom Tromey <tom@tromey.com>
7184
7185 PR symtab/16842.
7186 * gdb.cp/temargs.exp: Test "info address" of a template
7187 parameter.
7188
5abe0f0c
JV
71892018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
7190
7191 * gdb.python/py-mi-var-info-path-expression.c: New file.
7192 * gdb.python/py-mi-var-info-path-expression.py: New file.
7193 * gdb.python/py-mi-var-info-path-expression.exp: New file.
7194
fb66cde8
SDJ
71952018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
7196
7197 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
7198 error after "cannot resolve name" string.
7199
c708f4d2
AB
72002018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
7201
7202 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
7203 started.
7204 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
7205
37cc0cae
TV
72062018-07-28 Tom de Vries <tdevries@suse.de>
7207
7208 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
7209
63b4ecf7
TV
72102018-07-26 Tom de Vries <tdevries@suse.de>
7211
7212 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
7213
3c3bb058
AB
72142018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
7215
7216 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
7217 is visible.
7218
9e7f3bbb
TV
72192018-07-26 Tom de Vries <tdevries@suse.de>
7220
7221 PR breakpoints/23366
7222 * gdb.base/catch-follow-exec.c: New test.
7223 * gdb.base/catch-follow-exec.exp: New file.
7224
16f808ec
TV
72252018-07-25 Tom de Vries <tdevries@suse.de>
7226
7227 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
7228 vla-optimized-out.c.
7229
d7154a8d
JV
72302018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
7231
7232 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
7233 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
7234
232a0032
TV
72352018-07-20 Tom de Vries <tdevries@suse.de>
7236
7237 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
7238 NOCLONE macro.
7239 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
7240
fbb1d502
TV
72412018-07-19 Tom de Vries <tdevries@suse.de>
7242
7243 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
7244 regular expression.
7245
42dc7699
TV
72462018-07-18 Tom de Vries <tdevries@suse.de>
7247
7248 * gdb.base/vla-optimized-out.c: New test.
7249 * gdb.base/vla-optimized-out.exp: New file.
7250
7f1f7e23
SDJ
72512018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
7252
7253 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
7254 message "No address associated with hostname" when gdbserver
7255 cannot resolve the hostname.
7256
5759ebb3
PW
72572018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7258
7259 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
7260 Add some test prefixes to make tests unique.
7261
3606ccab
PW
72622018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7263
7264 * gdb.base/frameapply.c: New file.
7265 * gdb.base/frameapply.exp: New file.
7266
529c08b2
PW
72672018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7268
7269 * gdb.base/skip.exp: Update expected error message.
7270
c7ab0aef
SDJ
72712018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
7272 Jan Kratochvil <jan.kratochvil@redhat.com>
7273 Paul Fertser <fercerpav@gmail.com>
7274 Tsutomu Seki <sekiriki@gmail.com>
7275
7276 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
7277 parameter.
7278 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
7279 by default.
7280 * boards/native-gdbserver.exp: Likewise.
7281 * gdb.server/run-without-local-binary.exp: Improve regexp used
7282 for detecting when a remote debugging connection succeeds.
7283 * gdb.server/server-connect.exp: New file.
7284 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
7285 Do not prefix the port number with ":".
7286 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
7287 support for detecting and using it. Add '$debughost_gdbserver'
7288 to the list of arguments used to start gdbserver. Handle case
7289 when gdbserver cannot resolve a network name.
7290
16ff70dd
SDJ
72912018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
7292
7293 PR c++/23373
7294 * gdb.base/ptype-offsets.cc (struct static_member): New
7295 struct.
7296 (main) <stmember>: New variable.
7297 * gdb.base/ptype-offsets.exp: Add test for printing a struct
7298 with a static member in it.
7299
3541979f
AB
73002018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
7301
7302 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
7303 watchpoints enabled and disabled.
7304
c8ad9b9a
AB
73052018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7306
7307 * gdb.base/examine-backward.exp: Still run tests around address
7308 0x0, even if address 0x0 is not readable. Update the pattern for
7309 matching address 0x0 in expected output.
7310
e0e5e971
AB
73112018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
7312
7313 * gdb.base/share-env-with-gdbserver.c (main): Add call to
7314 malloc/free.
7315
1ea5da02
TV
73162018-07-04 Tom de Vries <tdevries@suse.de>
7317
7318 * gdb.dwarf2/dw2-error.exp: Update expected error message.
7319
471b9d15
MR
73202018-07-02 Maciej W. Rozycki <macro@mips.com>
7321
7322 PR tdep/8282
7323 * gdb.arch/mips-disassembler-options.exp: New test.
7324 * gdb.arch/mips-disassembler-options.s: New test source.
7325
75acb486
PA
73262018-06-29 Pedro Alves <palves@redhat.com>
7327
7328 * gdb.threads/names.exp: Adjust expected "info threads" output.
7329
cd2bb709
PA
73302018-06-29 Pedro Alves <palves@redhat.com>
7331
7332 * gdb.opt/inline-break.exp (line number, address): Add "info
7333 break" tests.
7334
991ff292
PA
73352018-06-29 Pedro Alves <palves@redhat.com>
7336
7337 * gdb.opt/inline-break.c (func1): Add "break here" marker.
7338 * gdb.opt/inline-break.exp: Test setting breakpoints by line
7339 number and address and running to them.
7340
356819b6 73412018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
7342
7343 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
7344
2512d7ef
JK
73452018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7346
7347 * lib/compiler.c: Remove executable permission flag.
7348
be1b6474
RB
73492018-06-28 Richard Bunt <richard.bunt@arm.com>
7350
7351 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
7352 code.
7353 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
7354
291f9a96
PT
73552018-06-28 Petr Tesarik <ptesarik@suse.cz>
7356
7357 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
7358
ed6dfe51
PT
73592018-06-28 Petr Tesarik <ptesarik@suse.cz>
7360
7361 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
7362 address argument is omitted.
7363
d4d429d5
PT
73642018-06-28 Petr Tesarik <ptesarik@suse.cz>
7365
7366 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
7367
7ab6656f
OJ
73682018-06-27 Omair Javaid <omair.javaid@linaro.org>
7369
7370 PR gdb/21695
7371 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
7372 * gdb.base/infoline-reloc-main-from-zero.c: New file.
7373
a33ccfc7
TT
73742018-06-26 Tom Tromey <tom@tromey.com>
7375
7376 PR rust/22574:
7377 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
7378 * gdb.rust/simple.rs (struct SimpleLayout): New.
7379
6d72d289
SM
73802018-06-22 Simon Marchi <simon.marchi@ericsson.com>
7381
7382 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
7383 "info registers" output.
7384
8363f9d5
RB
73852018-06-21 Richard Bunt <richard.bunt@arm.com>
7386
7387 * gdb.base/watchpoint-hw-attach.c: New test.
7388 * gdb.base/watchpoint-hw-attach.exp: New file.
7389
f00674fe
SM
73902018-06-20 Simon Marchi <simon.marchi@ericsson.com>
7391
7392 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
7393 through /bin/sh.
7394 * boards/dwarf4-gdb-index.exp: Likewise.
7395 * boards/fission-dwp.exp: Likewise.
7396
1d554008
UW
73972018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
7398
7399 * gdb.base/float128.exp: Add comment and improved fail message
7400 to the failure case of "print large128" test.
7401
d0ac1c44
SM
74022018-06-19 Simon Marchi <simon.marchi@ericsson.com>
7403
7404 * configure.ac: Remove AC_PREREQ.
7405 * configure: Re-generate.
7406
61b04dd0
PA
74072018-06-19 Pedro Alves <palves@redhat.com>
7408
7409 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
7410 (func_extern_caller): New.
7411 (main): Call func_extern_caller.
7412 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
7413 logic change.
7414
f63b508a
SM
74152018-06-18 Weimin Pan <weimin.pan@oracle.com>
7416
7417 PR gdb/16841
7418 * gdb.cp/typedef-base.cc: New file.
7419 * gdb.cp/typedef-base.exp: New file.
7420
0fe3a558
TV
74212018-06-18 Tom de Vries <tdevries@suse.de>
7422
7423 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
7424
7010835a
AB
74252018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
7426 Richard Bunt <Richard.Bunt@arm.com>
7427
7428 * gdb.threads/attach-slow-waitpid.c: New file.
7429 * gdb.threads/attach-slow-waitpid.exp: New file.
7430 * gdb.threads/slow-waitpid.c: New file.
7431
14897d65
PA
74322018-06-14 Pedro Alves <palves@redhat.com>
7433
7434 * gdb.base/fork-running-state.c: Include <errno.h>.
7435 (exit_if_relative_exits): New.
7436 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
7437 exits.
7438 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
7439 child exits.
7440
5d9a0608
TV
74412018-06-14 Tom de Vries <tdevries@suse.de>
7442
7443 PR cli/22573
7444 * gdb.base/finish-pretty.c: New test.
7445 * gdb.base/finish-pretty.exp: New file.
7446
11ae5818
PA
74472018-06-14 Pedro Alves <palves@redhat.com>
7448
7449 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
7450 gdb's expected startup output.
7451
1d39de44
PA
74522018-06-14 Pedro Alves <palves@redhat.com>
7453
7454 * lib/selftest-support.exp (selftest_setup): Remove inlined
7455 function handling.
7456
70ee0000
TV
74572018-06-14 Tom de Vries <tdevries@suse.de>
7458
7459 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
7460 matching of breakpoint printing.
7461
11f4b608
TV
74622018-06-13 Tom de Vries <tdevries@suse.de>
7463
7464 PR testsuite/23269
7465 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
7466 (fork_child): ... here, and ...
7467 (fork_parent): ... here.
7468
74692018-06-12 Tom de Vries <tdevries@suse.de>
7470
7471 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
7472
9516f85a
AB
74732018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
7474 Stephen Roberts <stephen.roberts@arm.com>
7475
7476 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
7477 rewrite test to describe action performed, rather than possible
7478 failure.
7479
5045b3d7
GB
74802018-06-08 Gary Benson <gbenson@redhat.com>
7481
7482 * gdb.threads/check-libthread-db.exp: New file.
7483 * gdb.threads/check-libthread-db.c: Likewise.
7484
c61b06a1
TT
74852018-06-05 Tom Tromey <tom@tromey.com>
7486
7487 * gdb.base/default.exp: Update expected "show version" output.
7488
eb6af809
TT
74892018-06-05 Tom Tromey <tom@tromey.com>
7490
7491 PR cli/12326:
7492 * gdb.cp/static-print-quit.exp: Update.
7493 * lib/gdb.exp (pagination_prompt): Update.
7494 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
7495 * gdb.python/python.exp: Update.
7496
178d6a63
JB
74972018-06-04 Joel Brobecker <brobecker@adacore.com>
7498
7499 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
7500
8e817061
JB
75012018-06-01 Joel Brobecker <brobecker@adacore.com>
7502
7503 * gdb.ada/bp_fun_addr: New testcase.
7504
e86ca25f
TT
75052018-06-01 Tom Tromey <tom@tromey.com>
7506
7507 * gdb.xml/tdesc-regs.exp (load_description): Update expected
7508 results.
7509 * gdb.dwarf2/method-ptr.exp: Set language to C++.
7510 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
7511 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
7512 * gdb.base/maint.exp (maint_pass_if): Update.
7513
4b2dfa9d
MR
75142018-05-31 Maciej W. Rozycki <macro@mips.com>
7515
7516 * gdb.base/endian.exp: New test.
7517 * gdb.base/endian.c: New test source.
7518
45f25d6c
AB
75192018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
7520
7521 PR gdb/23203
7522 * gdb.base/bt-selected-frame.c: New file.
7523 * gdb.base/bt-selected-frame.exp: New file.
7524 * lib/gdb.exp (get_current_frame_number): New function.
7525
d9f6d7f8
MR
75262018-05-24 Maciej W. Rozycki <macro@mips.com>
7527 Pedro Alves <palves@redhat.com>
7528
7529 * gdb.threads/tls-core.c: Include <stdlib.h>
7530 (thread_proc): Call `abort'.
7531 * gdb.threads/tls-core.exp: Generate a core with core_find too.
7532 (tls_core_test): New procedure, bits factored out from ...
7533 (top level): ... here. Test both native cores and gcore cores.
7534
ff1cf532
TT
75352018-05-23 Tom Tromey <tom@tromey.com>
7536
7537 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
7538
b98664d3
TT
75392018-05-23 Tom Tromey <tom@tromey.com>
7540
7541 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
7542 symfile_complaints.
7543 (test_short_complaints): Likewise.
7544 (test_empty_complaints): Likewise.
7545 (test_initial_complaints): Update.
7546
4e9668d0
TT
75472018-05-23 Tom Tromey <tom@tromey.com>
7548
7549 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
7550
43ba33c7
TT
75512018-05-23 Tom Tromey <tom@tromey.com>
7552
7553 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
7554 (test_short_complaints): Update.
7555
035522c0
PA
75562018-05-22 Pedro Alves <palves@redhat.com>
7557
7558 * gdb.base/remote.exp: Only gdb_start after compiling the
7559 testcase. Issue "disconnect" before testing "set remote" command
7560 defaults. Issue clean_restart before running to main.
7561
cc0be08f
PA
75622018-05-22 Pedro Alves <palves@redhat.com>
7563
7564 * gdb.base/remote.exp: Adjust expected output of "show remote
7565 memory-write-packet-size". Add tests for "set remote
7566 memory-write-packet-size 0" and "set remote
7567 memory-write-packet-size fixed/limit".
7568
b1b60145
PA
75692018-05-22 Pedro Alves <palves@redhat.com>
7570
7571 PR gdb/22973
7572 * gdb.base/utf8-identifiers.c: New file.
7573 * gdb.base/utf8-identifiers.exp: New file.
7574
0ec848ad
PFC
75752018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
7576
7577 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
7578
2c3305f6
PFC
75792018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
7580
7581 * gdb.arch/powerpc-vsx-gcore.exp: New file.
7582
ce1e8424
TT
75832018-05-18 Tom Tromey <tom@tromey.com>
7584
7585 * gdb.base/ptype-offsets.exp: Update.
7586
ddfe970e
KS
75872018-05-17 Keith Seitz <keiths@redhat.com>
7588
7589 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
7590 in expected breakpoint stop locations.
7591 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
7592 move to proper scope to test variable values.
7593 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
7594 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
7595 New functions.
7596 (main): Call not_inline_func3.
7597 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
7598 inline_func1, inline_func2, and inline_func3. Test that when each
7599 breakpoint is hit, GDB properly reports both the stop location
7600 and the backtrace. Repeat tests for temporary breakpoints.
7601
0726fcc6
MR
76022018-05-15 Maciej W. Rozycki <macro@mips.com>
7603
7604 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
7605 rather then trying to access it in determining whether the PID
7606 of `gdbserver' could have been retrieved.
7607
8ee22052
AB
76082018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
7609
7610 * gdb.arch/amd64-init-x87-values.S: New file.
7611 * gdb.arch/amd64-init-x87-values.exp: New file.
7612
7785df48
JK
76132018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7614
7615 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
7616
56bcdbea
TT
76172018-05-04 Tom Tromey <tom@tromey.com>
7618
7619 PR python/22730:
7620 * gdb.python/python.exp: Test multi-line execute.
7621
a913fffb
TT
76222018-05-04 Tom Tromey <tom@tromey.com>
7623
7624 PR python/22731:
7625 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
7626
7a2c85f2
TT
76272018-05-04 Tom Tromey <tom@tromey.com>
7628
7629 PR gdb/11750:
7630 * gdb.base/define.exp: Test defining a user command inside a user
7631 command.
7632 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
7633
a3b60e45
JK
76342018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
7635 Pedro Alves <palves@redhat.com>
7636
7637 PR breakpoints/19806 and support for PR external/20207.
7638 * gdb.base/watchpoint-unaligned.c: New file.
7639 * gdb.base/watchpoint-unaligned.exp: New file.
7640
45fe4a03
AB
76412018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
7642
7643 * gdb.base/maint.exp: Make test names unique, use
7644 test_prefix_command_help to test 'help maint info', and remove
7645 repeated test of 'help maint'.
7646
9be2ae8f
TT
76472018-05-04 Tom Tromey <tom@tromey.com>
7648
7649 PR gdb/22619:
7650 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
7651 behavior.
7652
11859c31
AB
76532018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
7654
7655 * gdb.base/maint.exp: Process output from 'maint print registers'
7656 line at a time.
7657
089a9490
AB
76582018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
7659
7660 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
7661 timeout.
7662
9b0797e2
AB
76632018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
7664
7665 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
7666 filter pattern.
7667
f6ac5f3d
PA
76682018-05-02 Pedro Alves <palves@redhat.com>
7669
7670 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
7671 to_log_command renames.
7672 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
7673
77d3c63b
TT
76742018-05-02 Tom Tromey <tom@tromey.com>
7675
7676 * gdb.python/py-parameter.exp: Set test message.
7677
0489430a
TT
76782018-05-02 Tom Tromey <tom@tromey.com>
7679
7680 PR python/20084:
7681 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
7682 PARAM_ZUINTEGER_UNLIMITED tests.
7683
1632f8ba
DR
76842018-04-28 Dan Robertson <danlrobertson89@gmail.com>
7685
7686 PR rust/23124
7687 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
7688 when casting.
7689
6d7bb824
TT
76902018-04-30 Tom Tromey <tom@tromey.com>
7691
7692 * gdb.python/py-type.exp: Check align attribute.
7693 * gdb.python/py-type.c: New "aligncheck" global.
7694
007e1530
TT
76952018-04-30 Tom Tromey <tom@tromey.com>
7696
7697 PR exp/17095:
7698 * gdb.dwarf2/dw2-align.exp: New file.
7699 * gdb.cp/align.exp: New file.
7700 * gdb.base/align.exp: New file.
7701 * lib/gdb.exp (gdb_int128_helper): New proc.
7702 (has_int128_c, has_int128_cxx): New caching procs.
7703
6873858b
TT
77042018-04-27 Tom Tromey <tom@tromey.com>
7705
7706 PR rust/22545:
7707 * gdb.rust/simple.exp: Add inclusive range tests.
7708
79188d8d
PA
77092018-04-26 Pedro Alves <palves@redhat.com>
7710
7711 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
7712 ifunc breakpoint locations correctly of ifunc breakpoints set
7713 while the program resolves the ifunc.
7714
c7075ad5
PA
77152018-04-26 Pedro Alves <palves@redhat.com>
7716
7717 * gdb.base/gnu-ifunc-final.c: New file.
7718 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
7719 * gdb.base/gnu-ifunc.exp (executable): Delete.
7720 (staticexecutable): Adjust.
7721 (lib_opts, exec_opts): Delete.
7722 (make_binsuffix, build, set-break): New procedures.
7723 (misc_tests): New, with tests factored out from the top level.
7724 (top level): Test different combinations of ifunc resolver name,
7725 resolver with and with debug info, and ifunc target with and
7726 without debug info. Wrap static tests with with_target_prefix.
7727
8388016d
PA
77282018-04-26 Pedro Alves <palves@redhat.com>
7729
7730 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
7731 return type" warnings.
7732
249b5733
PA
77332018-04-25 Pedro Alves <palves@redhat.com>
7734
7735 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
7736 killed".
7737 * gdb.base/kill-after-signal.exp: Likewise.
7738 * gdb.threads/kill.exp: Likewise.
7739
f67c0c91
SDJ
77402018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7741 Sergio Durigan Junior <sergiodj@redhat.com>
7742 Pedro Alves <palves@redhat.com>
7743
7744 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
7745 regexps to expect for '[Inferior ... detached]' as well.
7746 * gdb.base/attach.exp: Likewise.
7747 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
7748 "gdb_continue_to_end".
7749 (test_catch_syscall_with_wrong_args): Likewise.
7750 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
7751 ']'. Don't set 'verbose' on.
7752 * gdb.base/foll-vfork.exp: Likewise.
7753 * gdb.base/fork-print-inferior-events.c: New file.
7754 * gdb.base/fork-print-inferior-events.exp: New file.
7755 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
7756 '[Inferior ... has been killed]' message.
7757 * gdb.base/kill-after-signal.exp: Likewise.
7758 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
7759 detach message.
7760 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
7761 message.
7762 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
7763 regexps to expect for '[Inferior ... detached]' as well.
7764 * gdb.threads/process-dies-while-detaching.exp: Likewise.
7765
0a8ddac4
SM
77662018-04-24 Simon Marchi <simon.marchi@ericsson.com>
7767
7768 PR gdb/23104
7769 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
7770
701adfb0
PA
77712018-04-22 Rajendra SY <rajendra.sy@gmail.com>
7772
7773 PR gdb/23095
7774 * gdb.base/break-probes.exp: Pass shlib_load to
7775 prepare_for_testing. Set normal_bp to r_debug_state if target is
7776 bsd.
7777
d27d16bf
RB
77782018-04-19 Richard Bunt <richard.bunt@arm.com>
7779
7780 * gdb.threads/multiple-successive-infcall.c: New test.
7781 * gdb.threads/multiple-successive-infcall.exp: New file.
7782
a037790e
TT
77832018-04-17 Tom Tromey <tom@tromey.com>
7784
7785 * gdb.rust/simple.rs (Union): New type.
7786 (main): New local "u".
7787 * gdb.rust/simple.exp (test_one_slice): Add new test case.
7788
e3a91079
AA
77892018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7790
7791 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
7792 number information in output of "whereis" command.
7793 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
7794
b744723f
AA
77952018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7796
7797 * gdb.ada/info_types.exp: Adjust expected output to the line
7798 numbers now printed by "info var/func/type".
7799 * gdb.base/completion.exp: Likewise.
7800 * gdb.base/included.exp: Likewise.
7801 * gdb.cp/cp-relocate.exp: Likewise.
7802 * gdb.cp/cplusfuncs.exp: Likewise.
7803 * gdb.cp/namespace.exp: Likewise.
7804 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
7805
4a4495d6
MM
78062018-04-13 Markus Metzger <markus.t.metzger@intel.com>
7807
7808 * gdb.btrace/cpu.exp: New.
7809
1d509aa6
MM
78102018-04-13 Markus Metzger <markus.t.metzger@intel.com>
7811
7812 * gdb.base/step-indirect-call-thunk.exp: New.
7813 * gdb.base/step-indirect-call-thunk.c: New.
7814 * gdb.reverse/step-indirect-call-thunk.exp: New.
7815 * gdb.reverse/step-indirect-call-thunk.c: New.
7816
6295b6da
SM
78172018-04-11 Simon Marchi <simon.marchi@ericsson.com>
7818
7819 * gdb.base/pie-fork.c: New file.
7820 * gdb.base/pie-fork.exp: New file.
7821
50146e70
TT
78222018-04-11 Tom Tromey <tom@tromey.com>
7823
7824 * gdb.rust/simple.exp: Add test for ".." struct initializer.
7825
f50d8a2e
PA
78262018-04-10 Pedro Alves <palves@redhat.com>
7827
7828 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
7829 exits. Instead loop running forever.
7830 (fork_parent): Run forever too.
7831
a0be7a36
SM
78322018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
7833
7834 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
7835 mi_continue_to_line.
7836 * gdb.mi/mi-stack.c (callee4): Add comment.
7837
9b73db36
SM
78382018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
7839
7840 * gdb.mi/mi-stack.exp: Fix indentation.
7841
c912f608
SM
78422018-04-07 Simon Marchi <simon.marchi@ericsson.com>
7843
7844 PR gdb/22979
7845 * gdb.arch/amd64-osabi.exp: New file.
7846
26540402
SM
78472018-04-07 Simon Marchi <simon.marchi@ericsson.com>
7848
7849 PR gdb/22980
7850 * gdb.base/osabi.exp: New file.
7851
121ad66c 78522018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
7853
7854 * gdb.cp/static-typedef-print.exp: New file.
7855 * gdb.cp/static-typedef-print.cc: New file.
7856
3fcded8f
JB
78572018-03-27 Joel Brobecker <brobecker@adacore.com>
7858
7859 * gdb.ada/varsize_limit: New testcase.
7860
59cc4834
JB
78612018-03-27 Joel Brobecker <brobecker@adacore.com>
7862
7863 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
7864
7865 * gdb.ada/notcplusplus: New testcase.
7866
7867 * gdb.base/c-linkage-name.c: New file.
7868 * gdb.base/c-linkage-name.exp: New testcase.
7869
4ca59a9f
TT
78702018-03-26 Tom Tromey <tom@tromey.com>
7871
7872 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
7873 * gdb.python/py-framefilter.py (name_error): New global.
7874 (ErrorInName.function): Use name_error.
7875
978d6c75
TT
78762018-03-26 Tom Tromey <tom@tromey.com>
7877
7878 PR backtrace/15582:
7879 * gdb.python/py-framefilter.exp: Add "bt hide" test.
7880
b7fee5a3
KS
78812018-03-23 Keith Seitz <keiths@redhat.com>
7882
7883 PR c++/22968
7884 * gdb.cp/subtypes.exp: New file.
7885 * gdb.cp/subtypes.h: New file.
7886 * gdb.cp/subtypes.cc: New file.
7887 * gdb.cp/subtypes-2.cc: New file.
7888
376be529
AB
78892018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
7890
7891 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
7892 (done): Call '_exit' not 'exit' to avoid atexit handlers.
7893 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
7894 -nostartfiles when compiling the test. Confirm that all registers
7895 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
7896
066cfa98
AB
78972018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
7898
7899 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
7900 option, syntax was wrong anyway.
7901 * gdb.arch/arm-disp-step.exp: Likewise.
7902 * gdb.arch/sparc64-regs.exp: Likewise.
7903 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
7904 option, syntax was wrong anyway, switch to use
7905 prepare_for_testing.
7906 * gdb.arch/i386-disp-step.exp: Likewise.
7907
079670b9
AA
79082018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
7909
7910 * gdb.ada/exec_changed.exp: Replace "target_info exists
7911 use_gdb_stub" by "use_gdb_stub".
7912 * gdb.ada/start.exp: Likewise.
7913 * gdb.base/async-shell.exp: Likewise.
7914 * gdb.base/attach-pie-misread.exp: Likewise.
7915 * gdb.base/attach-wait-input.exp: Likewise.
7916 * gdb.base/break-entry.exp: Likewise.
7917 * gdb.base/break-interp.exp: Likewise.
7918 * gdb.base/dprintf-detach.exp: Likewise.
7919 * gdb.base/nostdlib.exp: Likewise.
7920 * gdb.base/solib-nodir.exp: Likewise.
7921 * gdb.base/statistics.exp: Likewise.
7922 * gdb.base/testenv.exp: Likewise.
7923 * gdb.mi/mi-exec-run.exp: Likewise.
7924 * gdb.mi/mi-start.exp: Likewise.
7925 * gdb.multi/dummy-frame-restore.exp: Likewise.
7926 * gdb.multi/multi-arch-exec.exp: Likewise.
7927 * gdb.multi/multi-arch.exp: Likewise.
7928 * gdb.multi/tids.exp: Likewise.
7929 * gdb.multi/watchpoint-multi.exp: Likewise.
7930 * gdb.python/py-events.exp: Likewise.
7931 * gdb.threads/attach-into-signal.exp: Likewise.
7932 * gdb.threads/attach-stopped.exp: Likewise.
7933 * gdb.threads/threadapply.exp: Likewise.
7934 * lib/selftest-support.exp: Likewise.
7935
26d6cec4
AA
79362018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
7937
7938 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
7939
4ee89e90
SR
79402018-03-20 Stephen Roberts <stephen.roberts@arm.com>
7941
7942 * gdb.perf/template-breakpoints.cc: New file.
7943 * gdb.perf/template-breakpoints.exp: New file.
7944 * gdb.perf/template-breakpoints.py: New file.
7945
92630041
TT
79462018-03-19 Tom Tromey <tom@tromey.com>
7947
7948 * gdb.rust/simple.rs (main): Add local variables field1, field2,
7949 y0.
7950 * gdb.rust/simple.exp: Test bare identifier form of struct
7951 initializer.
7952
76727919
TT
79532018-03-19 Tom Tromey <tom@tromey.com>
7954
7955 * gdb.gdb/observer.exp: Remove.
7956
194ed413
AA
79572018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
7958
7959 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
7960 "qualified" option when setting breakpoints.
7961 * gdb.trace/backtrace.exp: Likewise.
7962 * gdb.trace/circ.exp: Likewise.
7963 * gdb.trace/collection.exp: Likewise.
7964 * gdb.trace/disconnected-tracing.exp: Likewise.
7965 * gdb.trace/ftrace-lock.exp: Likewise.
7966 * gdb.trace/ftrace.exp: Likewise.
7967 * gdb.trace/infotrace.exp: Likewise.
7968 * gdb.trace/packetlen.exp: Likewise.
7969 * gdb.trace/passc-dyn.exp: Likewise.
7970 * gdb.trace/qtro.exp: Likewise.
7971 * gdb.trace/read-memory.exp: Likewise.
7972 * gdb.trace/report.exp: Likewise.
7973 * gdb.trace/signal.exp: Likewise.
7974 * gdb.trace/status-stop.exp: Likewise.
7975 * gdb.trace/strace.exp: Likewise.
7976 * gdb.trace/tfind.exp: Likewise.
7977 * gdb.trace/trace-break.exp: Likewise.
7978 * gdb.trace/trace-condition.exp: Likewise.
7979 * gdb.trace/trace-mt.exp: Likewise.
7980 * gdb.trace/tstatus.exp: Likewise.
7981 * gdb.trace/tsv.exp: Likewise.
7982 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
7983 * gdb.trace/unavailable.exp: Likewise.
7984 * gdb.trace/while-dyn.exp: Likewise.
7985
8b067d2c
AA
79862018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7987
7988 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
7989 that libinproctrace is copied to the target.
7990
3ae9ce5d
TT
79912018-03-14 Tom Tromey <tom@tromey.com>
7992
7993 PR cli/14977:
7994 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
7995 a null pointer.
7996 * gdb.base/wchar.exp: Likewise.
7997
b8c2339b
TT
79982018-03-14 Tom Tromey <tom@tromey.com>
7999
8000 PR cli/19918:
8001 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
8002 flag.
8003
4872dc46
SM
80042018-03-08 Simon Marchi <simon.marchi@ericsson.com>
8005
8006 PR gdb/22841
8007 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
8008 "target" to remote_exec.
8009
e4fe3756
SM
80102018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
8011
8012 PR gdb/22841
8013 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
8014 ${board}_upload): Remove.
8015
e95a97d4
AA
80162018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
8017
8018 * gdb.cp/watch-cp.cc: New test.
8019 * gdb.cp/watch-cp.exp: New file.
8020
dbbb1059
AB
80212018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8022
8023 * gdb.base/infcall-nested-structs.exp: New file.
8024 * gdb.base/infcall-nested-structs.c: New file.
8025 * gdb.base/float.exp: Add riscv support.
8026
ecc054c0
TP
80272018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
8028
8029 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
8030 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
8031
25e3c82c
SDJ
80322018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
8033
8034 * gdb.server/abspath.exp: New file.
8035 * lib/gdb.exp (with_cwd): New procedure.
8036
3083294d
SM
80372018-02-28 Simon Marchi <simon.marchi@ericsson.com>
8038
8039 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
8040 use it.
8041 (gdb_is_target_remote_prompt): New proc.
8042 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
8043 (gdb_is_target_native): Pass prompt parameter to
8044 gdb_is_target_1.
8045
3275ef47
SM
80462018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
8047
8048 * gdb.base/load-command.c: New file.
8049 * gdb.base/load-command.exp: New file.
8050 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
8051 (gdb_is_target_1): ...this, and generalize for other targets
8052 than just remote.
8053 (gdb_is_target_remote): Use gdb_is_target_1.
8054 (gdb_is_target_native): use gdb_is_target_1.
8055
6893c19a
TT
80562018-02-26 Tom Tromey <tom@tromey.com>
8057
8058 PR python/16497:
8059 * gdb.python/py-framefilter.exp: Update test.
8060
2ddeaf8a
TT
80612018-02-26 Tom Tromey <tom@tromey.com>
8062
8063 * gdb.dwarf2/variant.c: New file.
8064 * gdb.dwarf2/variant.exp: New file.
8065
c9317f21
TT
80662018-02-26 Tom Tromey <tom@tromey.com>
8067
8068 * gdb.rust/simple.exp: Accept more possible results in enum test.
8069
6f6d0c26
SM
80702018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
8071
8072 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
8073 parentheses.
8074
11b03145
MR
80752018-02-23 Maciej W. Rozycki <macro@mips.com>
8076
8077 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
8078 name of a variable: $actual_linejj -> $actual_line.
8079
54a27fe5
JB
80802018-02-21 John Baldwin <jhb@FreeBSD.org>
8081
8082 * gdb.arch/amd64-i386-address.exp: Fix a typo.
8083
de65820c
MM
80842018-02-20 Markus Metzger <markus.t.metzger@intel.com>
8085
8086 * gdb.btrace/buffer-size.exp: Do not force BTS.
8087
980548fd
PA
80882018-02-14 Pedro Alves <palves@redhat.com>
8089
8090 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
8091 getting a "Quit".
8092
c4e12631
MM
80932018-02-09 Markus Metzger <markus.t.metzger@intel.com>
8094
8095 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
8096 Fix test name.
8097
c2e0e465
SM
80982018-02-07 Simon Marchi <simon.marchi@ericsson.com>
8099
8100 * gdb.cp/m-static.exp: Check type of optimized out static
8101 member.
8102
f7216783
AB
81032018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
8104
8105 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
8106 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
8107
0625771b
LS
81082018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
8109 Leszek Swirski <leszeks@google.com>
8110
8111 * gdb.python/py-prettyprint.c
8112 (struct to_string_returns_value_inner,
8113 struct to_string_returns_value_wrapper): New.
8114 (main): Add tsrvw variable.
8115 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
8116 ToStringReturnsValueWrapper): New classes.
8117 (register_pretty_printers): Register new pretty-printers.
8118 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
8119 recursive pretty printer.
8120 * gdb.python/py-mi.exp: Likewise.
8121
59498c30
LS
81222018-02-01 Leszek Swirski <leszeks@google.com>
8123
8124 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
8125 functions with the same name as an include file are parsed
8126 correctly.
8127
d4d38844
YQ
81282018-02-01 Yao Qi <yao.qi@linaro.org>
8129
8130 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
8131 "\[^\r\n\]*".
8132
07e5f5cf
NP
81332018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
8134
8135 * gdb.arch/powerpc-prologue-frame.s: New file.
8136 * gdb.arch/powerpc-prologue-frame.c: Likewise.
8137 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
8138
929b5ad4
JB
81392018-01-31 Joel Brobecker <brobecker@adacore.com>
8140
8141 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
8142
e671cd59
PA
81432018-01-30 Pedro Alves <palves@redhat.com>
8144
8145 PR gdb/13211
8146 * gdb.base/interrupt-daemon.c: New.
8147 * gdb.base/interrupt-daemon.exp: New.
8148 * gdb.multi/multi-term-settings.c: New.
8149 * gdb.multi/multi-term-settings.exp: New.
8150
fc413dc4
JB
81512018-01-30 Joel Brobecker <brobecker@adacore.com>
8152
8153 * gdb.base/break.exp: Save the location where the breakpoint
8154 on break.c:47 was actually inserted when debugging the version
8155 compiled at -O2 and use it in the expected output of the "info
8156 break" test performed soon after.
8157
5c319bb2
PA
81582018-01-22 Pedro Alves <palves@redhat.com>
8159 Sergio Durigan Junior <sergiodj@redhat.com>
8160
8161 * gdb.base/whatis.exp: Add tests for 'set print object on' +
8162 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
8163
a9e40818
JB
81642018-01-22 Joel Brobecker <brobecker@adacore.com>
8165
8166 * gdb.base/break-include.c, gdb.base/break-include.inc,
8167 gdb.base/break-include.exp: New files.
8168 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
8169 line number now being the actual line number where the breakpoint
8170 was inserted.
8171 * gdb.mi/mi-break.exp: Likewise.
8172 * gdb.mi/mi-reverse.exp: Likewise.
8173 * gdb.mi/mi-simplerun.exp: Ditto.
8174
e707fc44
AB
81752018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
8176
8177 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
8178 varobj.
8179 * gdb.mi/mi-var-create-rtti.exp: Likewise.
8180
ae451627
AB
81812018-01-21 Don Breazeal <donb@codesourcery.com>
8182 Andrew Burgess <andrew.burgess@embecosm.com>
8183
8184 * gdb.mi/basics.c: Add new global.
8185 * gdb.mi/mi-frame-regs.exp: New file.
8186 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
8187 case.
8188
b1b189e0
AB
81892018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
8190
8191 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
8192 non-parameter, and on an unknown symbol.
8193
fcfcc376
TT
81942018-01-19 Tom Tromey <tom@tromey.com>
8195
8196 * gdb.rust/modules.rs (TWENTY_THREE): New global.
8197 * gdb.rust/modules.exp: Add ::-qualified lookup test.
8198
634c1c31
AA
81992018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
8200
8201 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
8202 setrlimit and chdir to int.
8203
d6ad07fd
AA
82042018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
8205
8206 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
8207 function.
8208 (my_tend): Likewise.
8209 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
8210 rationale of avoiding FP- and vector instructions.
8211
adf8243b
RK
82122018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
8213
8214 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
8215 "info reg" with "\[ \t\]*".
8216 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
8217 "\[ \t\]+".
8218 * gdb.arch/s390-multiarch.exp: Ditto.
8219 * gdb.base/pc-fp.exp: Ditto.
8220 * gdb.reverse/i386-precsave.exp: Ditto.
8221 * gdb.reverse/i386-reverse.exp: Ditto.
8222 * gdb.reverse/i387-env-reverse.exp: Ditto.
8223 * gdb.reverse/i387-stack-reverse.exp: Ditto.
8224
dcc06925
AA
82252018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
8226
8227 * lib/gdb.exp (gdb_compile): Re-enable use of
8228 universal_compile_options for languages other than Rust.
8229
25d4fd80
AA
82302018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
8231
8232 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
8233
ee7f689e 82342018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
8235
8236 PR gdb/16577
8237 * gdb.base/solib-vanish.exp: New.
8238 * gdb.base/solib-vanish-main.c: New.
8239 * gdb.base/solib-vanish-lib1.c: New.
8240 * gdb.base/solib-vanish-lib2.c: New.
8241
d8447b6b
YQ
82422018-01-17 Yao Qi <yao.qi@linaro.org>
8243
8244 * gdb.compile/compile.exp: Match the address printed for
8245 frame in the output of command "bt".
8246
86d6a90c
TT
82472018-01-15 Tom Tromey <tom@tromey.com>
8248
8249 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
8250 compute sp_reg.
8251
cbcdb1aa
AB
82522018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
8253
8254 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
8255 to prepare.
8256 (prepare): Return 0 on error, 1 on success.
8257
eea61984
PA
82582018-01-12 Pedro Alves <palves@redhat.com>
8259
8260 * gdb.base/continue-after-aborted-step-over.c: New.
8261 * gdb.base/continue-after-aborted-step-over.exp: New.
8262
6181e9c2
SM
82632018-01-11 Simon Marchi <simon.marchi@ericsson.com>
8264
8265 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
8266 options when not creating an executable.
8267
3cada740
PA
82682018-01-11 Pedro Alves <palves@redhat.com>
8269
8270 PR remote/22597
8271 * gdb.server/stop-reply-no-thread.c: New file.
8272 * gdb.server/stop-reply-no-thread.exp: New file.
8273
c63d3e8d
PA
82742018-01-10 Pedro Alves <palves@redhat.com>
8275
8276 PR gdb/22670
8277 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
8278 functions too. Test setting breakpoints and printing C functions
8279 with no debug info too.
8280 * gdb.ada/bp_c_mixed_case/qux.c: New file.
8281
d4c2a405
PA
82822018-01-10 Pedro Alves <palves@redhat.com>
8283
8284 PR gdb/22670
8285 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
8286 a fail.
8287
8825213e
PA
82882018-01-10 Pedro Alves <palves@redhat.com>
8289
8290 PR gdb/22670
8291 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
8292
605fd3c6
YQ
82932018-01-08 Simon Marchi <simon.marchi@ericsson.com>
8294
8295 * gdb.server/unittest.exp: Match the output in non-development
8296 mode.
8297
1e5ded6c
YQ
82982018-01-08 Simon Marchi <simon.marchi@ericsson.com>
8299
8300 * gdb.gdb/unittest.exp: Match output in non-development mode.
8301
30066b0b
JB
83022018-01-08 Joel Brobecker <brobecker@adacore.com>
8303
8304 * gdb.ada/access_tagged_param.exp: Relax expected output
8305 for value of "ObjL" in "continue" to pck.inspect breakpoint
8306 test.
8307
04bafb1e
XR
83082018-01-08 Joel Brobecker <brobecker@adacore.com>
8309
9f86398b
JB
8310 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
8311 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 8312
e379cee6
PA
83132018-01-05 Pedro Alves <palves@redhat.com>
8314
8315 PR gdb/18653
8316 * gdb.base/libsegfault.exp: New.
8317
de63c46b
PA
83182018-01-05 Joel Brobecker <brobecker@adacore.com>
8319
8320 PR gdb/22670
8321 * gdb.ada/access_tagged_param.exp: New file.
8322 * gdb.ada/access_tagged_param/foo.adb: New file.
8323
f98fc17b
PA
83242018-01-05 Pedro Alves <palves@redhat.com>
8325
8326 PR gdb/22670
8327 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
8328 exercise lower case too, and to exercise both full matching and
8329 wild matching.
8330
342f8240
JB
83312018-01-05 Joel Brobecker <brobecker@adacore.com>
8332
8333 * gdb.ada/rename_subscript_param: New testcase.
8334
7150d33c
JG
83352018-01-05 Jerome Guitton <guitton@adacore.com>
8336
8337 * gdb.ada/arr_acc_idx_w_gap: New testcase.
8338
cc0e770c
JB
83392018-01-05 Joel Brobecker <brobecker@adacore.com>
8340
8341 * gdb.ada/convvar_comp: New testcase.
8342
672a41aa 83432018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
8344
8345 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
8346 (My_Table): New global variable.
8347 * testsuite/gdb.ada/array_char_idx.exp: Add test.
8348
7365ec2f
JB
83492018-01-04 Joel Brobecker <brobecker@adacore.com>
8350
8351 PR gdb/22670
8352 * gdb.ada/maint_with_ada: New testcase.
8353
289483b6
JB
83542018-01-04 Joel Brobecker <brobecker@adacore.com>
8355
8356 PR gdb/22670
8357 * gdb.ada/bp_c_mixed_case: New testcase.
8358
344420da
JB
83592018-01-04 Joel Brobecker <brobecker@adacore.com>
8360
8361 PR gdb/22670
8362 * gdb.ada/complete.exp: Add "complete break ada" test.
8363
66fc87a0
JB
83642018-01-04 Joel Brobecker <brobecker@adacore.com>
8365
8366 PR gdb/22670
8367 * gdb.ada/info_addr_mixed_case: New testcase.
8368
9f757bf7
XR
83692018-01-03 Xavier Roirand <roirand@adacore.com>
8370
8371 * gdb.ada/excep_handle.exp: New testcase.
8372 * gdb.ada/excep_handle/foo.adb: New file.
8373 * gdb.ada/excep_handle/pck.ads: New file.
8374
bd570f80
JB
83752018-01-03 Joel Brobecker <brobecker@adacore.com>
8376
8377 * gdb.base/step-line.c: Add extra empty line in copyright header.
8378 * gdb.base/step-line.inp: Likewise.
8379
9fe561ab
JB
83802018-01-02 Joel Brobecker <brobecker@adacore.com>
8381
8382 * gdb.ada/dyn_stride.exp: Add slice test.
8383
a405673c
JB
83842018-01-02 Joel Brobecker <brobecker@adacore.com>
8385
8386 * gdb.ada/dyn_stride: New testcase.
8387
cef0f868
SH
83882017-12-27 Stafford Horne <shorne@gmail.com>
8389
8390 * gdb.xml/extra-regs.xml: Add example foo reggroup.
8391 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
8392
b67d92b0
SH
83932017-12-27 Stafford Horne <shorne@gmail.com>
8394
8395 * gdb.base/reggroups.c: New file.
8396 * gdb.base/reggroups.exp: New file.
8397
eccab96d
JB
83982017-12-18 Joel Brobecker <brobecker@adacore.com>
8399
8400 * gdb.dwarf2/ada-valprint-error.c: New file.
8401 * gdb.dwarf2/ada-valprint-error.exp: New file.
8402
0e2da9f0
JB
84032017-12-18 Joel Brobecker <brobecker@adacore.com>
8404
8405 * gdb.ada/assign_arr: New testcase.
8406
cb923fcc
XR
84072017-12-18 Xavier Roirand <roirand@adacore.com>
8408
8409 * gdb.ada/funcall_ptr: New testcase.
8410
7c161838
SDJ
84112017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
8412
8413 PR cli/16224
8414 * gdb.base/ptype-offsets.cc: New file.
8415 * gdb.base/ptype-offsets.exp: New file.
8416
1af17fd9
YQ
84172017-12-15 Yao Qi <yao.qi@linaro.org>
8418
8419 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
8420 if XML is disabled.
8421
828d5846
XR
84222017-12-15 Xavier Roirand <roirand@adacore.com>
8423
8424 * gdb.ada/same_component_name: New testcase.
8425
79e8fcaa
JB
84262017-12-14 Joel Brobecker <brobecker@adacore.com>
8427
8428 * gdb.ada/str_binop_equal: New testcase.
8429
e05fa6f9
JB
84302017-12-14 Joel Brobecker <brobecker@adacore.com>
8431
8432 * gdb.ada/task_switch_in_core: New testcase.
8433
b89641ba
SM
84342017-12-13 Simon Marchi <simon.marchi@ericsson.com>
8435
8436 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
8437 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
8438 call test_bkpt_qualified.
8439 (test_bkpt_qualified): New proc.
8440
6892d2e4
PA
84412017-12-13 Pedro Alves <palves@redhat.com>
8442
8443 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
8444 Tighten regexp by matching with an anchor.
8445
a22ecf70
PA
84462017-12-13 Pedro Alves <palves@redhat.com>
8447
8448 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
8449 ("expression with namespace"): New set of tests.
8450 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
8451 (Nested::Test_NS::qux): New.
8452 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
8453 defaults to 'start_quote_char' and 'end_quote_char' parameters.
8454
9937536c
JB
84552017-12-13 Joel Brobecker <brobecker@adacore.com>
8456
8457 * gdb.base/server-del-break.c: New file.
8458 * gdb.base/server-del-break.exp: New file.
8459
fe49c6f5
SH
84602017-12-12 Stafford Horne <shorne@gmail.com>
8461
8462 * gdb.xml/tdesc-regs.exp: Add or1k support.
8463
c3d18620
SH
84642017-12-12 Stafford Horne <shorne@gmail.com>
8465
8466 * gdb.base/bp-permanent.c: Define nop of or1k.
8467
c5f9cfc8
JB
84682017-12-11 Joel Brobecker <brobecker@adacore.com>
8469
8470 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
8471 output with components being reordered.
8472
a9c135fc
JB
84732017-12-11 Joel Brobecker <brobecker@adacore.com>
8474
8475 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
8476 output with components being reordered.
8477
927aa2e7
JK
84782017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8479 Pedro Alves <palves@redhat.com>
8480
8481 * gdb.base/maint.exp (check for .gdb_index): Check also for
8482 .debug_names.
8483 * gdb.dlang/watch-loc.c (.debug_aranges): New.
8484 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
8485 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
8486 (.gdb_index used after symbol reloading): Support also .debug_names.
8487 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
8488
f17d9474
YQ
84892017-12-08 Yao Qi <yao.qi@linaro.org>
8490
8491 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
8492 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
8493
a0de8c21
YQ
84942017-12-08 Yao Qi <yao.qi@linaro.org>
8495
8496 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
8497 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
8498
a738ea1d
YQ
84992017-12-08 Yao Qi <yao.qi@linaro.org>
8500
8501 * gdb.arch/aarch64-tagged-pointer.c: New file.
8502 * gdb.arch/aarch64-tagged-pointer.exp: New file.
8503
1cd9a73b
SDJ
85042017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
8505
8506 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
8507 "int".
8508
fa6eb693
KS
85092017-12-07 Keith Seitz <keiths@redhat.com>
8510
8511 PR breakpoints/22569
8512 * gdb.linespec/ls-errs.exp: Change expected result of "break
8513 -source this file has spaces.c -line 3".
8514 Check that an explicit source file followed by whitespace is
8515 identified as an invalid explicit location.
8516
883fd55a
KS
85172017-12-07 Keith Seitz <keiths@redhat.com>
8518
8519 * gdb.cp/nested-types.cc: New file.
8520 * gdb.cp/nested-types.exp: New file.
8521 * lib/cp-support.exp: Load data-structures.exp library.
8522 (debug_cp_test_ptype_class): New global.
8523 (cp_ptype_class_verbose, next_line): New procedures.
8524 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
8525 Add and document new return value.
8526 Switch the list of lines to a queue.
8527 Add support for new `type' key for nested type definitions.
8528 Add debugging/troubleshooting messages.
8529 * lib/data-structures.exp: New file.
8530
ec72db3e
SM
85312017-12-07 Simon Marchi <simon.marchi@ericsson.com>
8532
8533 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
8534 with proc_with_prefix, don't use with_test_prefix.
8535
99598d71
TT
85362017-12-07 Tom Tromey <tom@tromey.com>
8537
8538 * gdb.base/break.exp: Add test for empty "commands".
8539
a8806230
YQ
85402017-12-07 Yao Qi <yao.qi@linaro.org>
8541
8542 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
8543 malloc and catch syscall.
8544
824cc835
PM
85452017-12-07 Phil Muldoon <pmuldoon@redhat.com>
8546
e79be6e5 8547 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
8548 tests for explicit locations.
8549
7cc244de
PA
85502017-12-06 Pedro Alves <palves@redhat.com>
8551
8552 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
8553 force-disabling XML descriptions.
8554
50a1fdd5
PA
85552017-12-04 Pedro Alves <palves@redhat.com>
8556
8557 PR gdb/22499
8558 * gdb.arch/amd64-disp-step-avx.S: New file.
8559 * gdb.arch/amd64-disp-step-avx.exp: New file.
8560
f0fb2488
PA
85612017-12-03 Pedro Alves <palves@redhat.com>
8562
8563 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
8564 and <string.h>.
8565 (parent_function): Print distinct messages when waitpid fails, or
8566 the child exits with a signal, or the child exits for an unhandled
8567 reason.
8568 * gdb.threads/process-dies-while-detaching.exp
8569 (detach_and_expect_exit): New 'inf_output_re' parameter and use
8570 it. Wait for both inferior output and GDB's prompt. Use an
8571 indirect spawn id list.
8572 (do_detach): New parameter 'child_exit'. Use it to compute
8573 expected inferior output.
8574 (test_detach, test_detach_watch, test_detach_killed_outside):
8575 Adjust to pass down the expected child exit kind.
8576
97cbe998
SDJ
85772017-12-01 Joel Brobecker <brobecker@adacore.com>
8578 Sergio Durigan Junior <sergiodj@redhat.com>
8579 Pedro Alves <palves@redhat.com>
8580
8581 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
8582
40fc416f
SDJ
85832017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
8584
8585 * gdb.base/relocate.exp: Add tests to guarantee that arguments
8586 to 'symbol-file' and 'add-symbol-file' can be
8587 position-independent.
8588
1cc75e92
YQ
85892017-12-01 Yao Qi <yao.qi@linaro.org>
8590
8591 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
8592 the URL in copyright header.
8593 * gdb.arch/aarch64-fp.exp: Likewise.
8594 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
8595 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
8596 * gdb.base/expand-psymtabs.exp: Likewise.
8597 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
8598 * gdb.fortran/common-block.exp: Likewise.
8599 * gdb.fortran/common-block.f90: Likewise.
8600 * gdb.fortran/logical.exp: Likewise.
8601 * gdb.fortran/vla-datatypes.f90: Likewise.
8602 * gdb.fortran/vla-sub.f90: Likewise.
8603
875fb7a7
JB
86042017-11-30 Joel Brobecker <brobecker@adacore.com>
8605
8606 * gdb.ada/repeat_dyn: New testcase.
8607
6f14765f
UW
86082017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
8609
8610 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
8611 Update for changed thread numbering.
8612 * gdb.cell/bt.exp: Update for changed GDB output.
8613
f1af7b94
SM
86142017-11-30 Simon Marchi <simon.marchi@ericsson.com>
8615
8616 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
8617 setting isremote by hand.
8618 * boards/dwarf4-gdb-index.exp: Likewise.
8619 * boards/fission.exp: Likewise.
8620 * boards/stabs.exp: Likewise.
8621
e3919f3e
PA
86222017-11-30 Pedro Alves <palves@redhat.com>
8623
8624 * gdb.linespec/cpls-ops.exp
8625 (check_explicit_skips_function_argument): Extract the underlying
8626 type of size_t instead of hardcoding it.
8627
bd69330d
PA
86282017-11-29 Pedro Alves <palves@redhat.com>
8629
8630 PR c++/19436
8631 * gdb.linespec/cpls-abi-tag.cc: New file.
8632 * gdb.linespec/cpls-abi-tag.exp: New file.
8633
a20714ff
PA
86342017-11-29 Pedro Alves <palves@redhat.com>
8635
8636 * gdb.base/langs.exp: Use -qualified.
8637 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
8638 it.
8639 * gdb.cp/namespace.exp: Use -qualified.
8640 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
8641 (overload-3, template-overload, template-ret-type, const-overload)
8642 (const-overload-quoted, anon-ns, ambiguous-prefix): New
8643 procedures.
8644 (test_driver): Call them.
8645 * gdb.cp/save-bp-qualified.cc: New.
8646 * gdb.cp/save-bp-qualified.exp: New.
8647 * gdb.linespec/explicit.exp: Test -qualified.
8648 * lib/completion-support.exp (completion::explicit_opts_list): Add
8649 "-qualified".
8650 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
8651
f6f1d339
PM
86522017-11-29 Phil Muldoon <pmuldoon@redhat.com>
8653
8654 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
8655
02ca603a
TT
86562017-11-29 Tom Tromey <tom@tromey.com>
8657
8658 * gdb.base/relocate.exp: Update invalid argument test.
8659 Add new tests for invalid arguments.
8660
ed6c0bfb
TP
86612017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
8662
8663 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
8664 Return 0 as a long.
8665 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
8666
f106e10e
TP
86672017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
8668
8669 * gdb.cp/breakpoint.cc (bar): Set return type to void.
8670 * gdb.cp/psymtab-parameter.cc (func): Likewise.
8671 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
8672 func ().
8673 * gdb.cp/shadow.cc (B.func): Return 0.
8674
10329bb2
JB
86752017-11-27 Joel Brobecker <brobecker@adacore.com>
8676
8677 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
8678 expected output in gdb_expect call to allow the exception
8679 message to be present as well. Fix syntax confusion to avoid
8680 TCL thinking that exception_name is an array.
8681
617cd4bc
UW
86822017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
8683
8684 * gdb.arch/spu-info.c: Include <unistd.h>.
8685 (do_signal_test): Fix broken calls to write.
8686 * gdb.arch/spu-info.exp: Use prepare_for_testing.
8687 Fix checks for empty mailboxes. Update signal tests for corrected
8688 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
8689 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
8690 * gdb.cell/arch.exp: Use standard_output_file.
8691 * gdb.cell/break.exp: Likewise.
8692 * gdb.cell/bt.exp: Likewise.
8693 * gdb.cell/core.exp: Likewise.
8694 * gdb.cell/dwarfaddr.exp: Likewise.
8695 * gdb.cell/ea-cache.exp: Likewise.
8696 * gdb.cell/ea-standalone.exp: Likewise.
8697 * gdb.cell/f-regs.exp: Likewise.
8698 * gdb.cell/fork.exp: Likewise.
8699 * gdb.cell/gcore.exp: Likewise.
8700 * gdb.cell/mem-access.exp: Likewise.
8701 * gdb.cell/ptype.exp: Likewise.
8702 * gdb.cell/registers.exp: Likewise.
8703 * gdb.cell/sizeof.exp: Likewise.
8704 * gdb.cell/solib-symbol.exp: Likewise.
8705 * gdb.cell/solib.exp: Likewise.
617cd4bc 8706
a81aaca0
PA
87072017-11-25 Pedro Alves <palves@redhat.com>
8708
8709 * gdb.base/complete-empty.exp: New file.
8710 * gdb.base/completion.exp: Adjust.
8711
6a3c6ee4
PA
87122017-11-25 Pedro Alves <palves@redhat.com>
8713
8714 * gdb.linespec/cpls-ops.cc: New file.
8715 * gdb.linespec/cpls-ops.exp: New file.
8716 * lib/completion-support.exp (test_complete_prefix_range_re): New,
8717 factored out from ...
8718 (test_complete_prefix_range): ... this.
8719
8955eb2d
PA
87202017-11-24 Pedro Alves <palves@redhat.com>
8721
8722 * gdb.linespec/cpcompletion.exp: New file.
8723 * gdb.linespec/cpls-hyphen.cc: New file.
8724 * gdb.linespec/cpls.cc: New file.
8725 * gdb.linespec/cpls2.cc: New file.
8726 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
8727 test to use test_gdb_complete_unique. Add label completion,
8728 keyword completion and explicit location completion tests.
8729 * lib/completion-support.exp: New file.
8730
e547c119
JB
87312017-11-24 Joel Brobecker <brobecker@adacore.com>
8732
8733 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
8734 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
8735 when hitting an exception catchpoint.
8736
7c3c1aa8
YQ
87372017-11-22 Yao Qi <yao.qi@linaro.org>
8738
8739 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
8740
41bd68f5
SM
87412017-11-22 Simon Marchi <simon.marchi@ericsson.com>
8742
8743 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
8744 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
8745 * gdb.dwarf2/info-locals-optimized-out.c: New file.
8746
1daad298
YQ
87472017-11-22 Yao Qi <yao.qi@linaro.org>
8748
8749 * gdb.base/info-os.exp: Pass pthreads.
8750 * gdb.multi/multi-attach.exp: Likewise.
8751
88465e87
YQ
87522017-11-22 Yao Qi <yao.qi@linaro.org>
8753
8754 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
8755 compiler.
8756
dc196b23
YQ
87572017-11-22 Yao Qi <yao.qi@linaro.org>
8758
8759 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
8760 * gdb.base/break-interp.exp: Likewise.
8761 * gdb.base/jit-attach-pie.exp: Likewise.
8762
2400729e
UW
87632017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
8764
8765 * gdb.base/float128.c (large128): New variable.
8766 * gdb.base/float128.exp: Add test to print largest __float128 value.
8767
7a26362d
UW
87682017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
8769
8770 * gdb.arch/vsx-regs.exp: Update register content checks.
8771
ed0f4273
UW
87722017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
8773
8774 * gdb.arch/ppc-longdouble.exp: New file.
8775 * gdb.arch/ppc-longdouble.c: Likewise.
8776
a25d69c6
PA
87772017-11-21 Pedro Alves <palves@redhat.com>
8778
8779 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
8780
73fcf641
PA
87812017-11-20 Pedro Alves <palves@redhat.com>
8782
8783 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
8784 (long_double_typedef): New typedefs.
8785 Use DEF on double and long double.
8786 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
8787 cases.
8788 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
8789 and 'long_double_ptr_same_size' locals. Use them to decide
8790 whether cast from array/function to float is valid/invalid.
8791
71a3c369
TT
87922017-11-17 Tom Tromey <tom@tromey.com>
8793
8794 * gdb.rust/traits.rs: New file.
8795 * gdb.rust/traits.exp: New file.
8796
ced9779b
JB
87972017-11-17 Joel Brobecker <brobecker@adacore.com>
8798
8799 * gdb.ada/minsyms: New testcase.
8800
a0922d80
PA
88012017-11-16 Pedro Alves <palves@redhat.com>
8802
8803 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
8804 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
8805
ea04e54c
PA
88062017-11-16 Pedro Alves <palves@redhat.com>
8807
8808 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
8809 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
8810
e849ea89
PA
88112017-11-16 Pedro Alves <palves@redhat.com>
8812
8813 * gdb.server/reconnect-ctrl-c.c: New file.
8814 * gdb.server/reconnect-ctrl-c.exp: New file.
8815
d8ae99a7
PM
88162017-11-16 Phil Muldoon <pmuldoon@redhat.com>
8817
8818 * gdb.python/py-rbreak.exp: New file.
8819 * gdb.python/py-rbreak.c: New file.
8820 * gdb.python/py-rbreak-func2.c: New file.
8821
968a13f8
PA
88222017-11-16 Pedro Alves <palves@redhat.com>
8823
8824 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
8825 pattern.
8826 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
8827 GDB.
8828
71774bc9
SM
88292017-11-15 Simon Marchi <simon.marchi@ericsson.com>
8830
8831 * gdb.tui/completionn.exp (test_tab_completion): Add space in
8832 regex.
8833
ddbb44cf
SM
88342017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
8835
8836 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
8837 test names.
8838
584a564f
PA
88392017-11-09 Pedro Alves <palves@redhat.com>
8840
8841 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
8842 factored out from ...
8843 (top level): ... here, and adjusted to avoid expecting beyond the
8844 prompt in a single gdb_test_multiple.
8845
5ed7a928
PA
88462017-11-09 Pedro Alves <palves@redhat.com>
8847
8848 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
8849 output.
8850 * gdb.server/ext-attach.exp ("kill" test): Likewise.
8851 * gdb.server/ext-restart.exp ("kill" test): Likewise.
8852 * gdb.server/ext-run.exp ("kill" test): Likewise.
8853 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
8854
a60e0738
PA
88552017-11-09 Pedro Alves <palves@redhat.com>
8856
8857 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
8858 match till end of line.
8859
2c88253f
PA
88602017-11-09 Pedro Alves <palves@redhat.com>
8861
8862 * gdb.base/memattr.exp: Tighten regexes to match the end line.
8863
c7a38517
PA
88642017-11-09 Pedro Alves <palves@redhat.com>
8865
8866 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
8867 New procedures, factored out from ...
8868 (top level): ... here, and adjusted to avoid expecting beyond the
8869 prompt in one go.
8870
f29f4b6b
PA
88712017-11-09 Pedro Alves <palves@redhat.com>
8872
8873 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
8874 output. Fix '?' match.
8875
286acbb5
JB
88762017-11-08 Joel Brobecker <brobecker@adacore.com>
8877
8878 * gdb.ada/scoped_watch: New testcase.
8879 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
8880 which is actually correct.
8881 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
8882 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
8883
62d7ae92
PA
88842017-11-08 Pedro Alves <palves@redhat.com>
8885
8886 * gdb.gdb/complaints.exp (test_initial_complaints)
8887 (test_serial_complaints, test_short_complaints): Call
8888 complaint_internal instead of complaint.
8889
280ca31f
DT
88902017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
8891
8892 * gdb.threads/tls-core.c: New file.
8893 * gdb.threads/tls-core.exp: Likewise.
8894
b5ec771e
PA
88952017-11-08 Pedro Alves <palves@redhat.com>
8896
8897 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
8898 (p Exported_Capitalized): New test.
8899 (p exported_capitalized): New test.
8900
a02b41a7
PA
89012017-11-07 Pedro Alves <palves@redhat.com>
8902
8903 * gdb.cp/ena-dis-br-range.exp: Add more tests.
8904
95e95a6d
PA
89052017-11-07 Pedro Alves <palves@redhat.com>
8906
8907 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
8908 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
8909 (disable_invalid, disable_inverted, disable_negative): New
8910 procedures.
8911 ("bad numbers"): New set of tests.
8912
cee62dbd
PA
89132017-11-07 Pedro Alves <palves@redhat.com>
8914
8915 * gdb.cp/ena-dis-br-range.exp: Add tests.
8916
cc638e86
PA
89172017-11-07 Pedro Alves <palves@redhat.com>
8918
8919 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
8920
d0fe4701
XR
89212017-11-07 Xavier Roirand <roirand@adacore.com>
8922 Pedro Alves <palves@redhat.com>
8923
8924 * gdb.base/ena-dis-br.exp: Add reference to
8925 gdb.cp/ena-dis-br-range.exp.
8926 * gdb.cp/ena-dis-br-range.exp: New file.
8927 * gdb.cp/ena-dis-br-range.cc: New file.
8928
46f67f80
PA
89292017-11-06 Pedro Alves <palves@redhat.com>
8930
8931 * gdb.base/attach-non-pgrp-leader.c: New.
8932 * gdb.base/attach-non-pgrp-leader.exp: New.
8933
726e1356
PA
89342017-11-06 Pedro Alves <palves@redhat.com>
8935
8936 * configure.ac: No longer check for termio.h and sgtty.h.
8937 * configure: Regenerate.
8938 * remote-utils.c: Include termios.h instead of gdb_termios.h.
8939 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
8940 Remove termio and sgtty code.
8941
50ab6ace
YQ
89422017-11-03 Yao Qi <yao.qi@linaro.org>
8943
8944 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
8945 in GDB is disabled.
8946
8e68731c
YQ
89472017-11-03 Yao Qi <yao.qi@linaro.org>
8948
8949 * gdb.python/py-thrhandle.exp: Skip it if python is not
8950 enabled.
8951
3a87ae65
SM
89522017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
8953
8954 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
8955 as a breakpoint command.
8956
484d8d36
MD
89572017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
8958
8959 PR python/21213
8960 * gdb.python/py-infthread.exp: Test calling
8961 InferiorThread.inferior () multiple times in a row.
8962
4a27f119
KS
89632017-10-27 Keith Seitz <keiths@redhat.com>
8964
8965 * gdb.opt/inline-break.exp (break_info_1): New procedure.
8966 Test "info break" for every inlined function breakpoint.
8967
bb11dd58
YQ
89682017-10-27 Yao Qi <yao.qi@linaro.org>
8969
8970 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
8971
a43f3893
PF
89722017-10-26 Patrick Frants <osscontribute@gmail.com>
8973
8974 * gdb.cp/classes.exp (test_static_members): Test printing
8975 Outer::instance.
8976 * gdb.cp/classes.c (struct Inner, struct Outer): New.
8977 (Inner::instance, Outer::instance): New.
8978
792ccf00
PA
89792017-10-24 Pedro Alves <palves@redhat.com>
8980
8981 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
8982 extra console" test in two stages.
8983
eb2bfbad
PA
89842017-10-24 Pedro Alves <palves@redhat.com>
8985
8986 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
8987
1f75a651
PA
89882017-10-24 Pedro Alves <palves@redhat.com>
8989
8990 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
8991 loop.
8992
779990d9
PA
89932017-10-24 Pedro Alves <palves@redhat.com>
8994
8995 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
8996 $attempt" and "stoppedtry $stoppedtry" test prefixes.
8997
ad9b8f5d
PA
89982017-10-24 Pedro Alves <palves@redhat.com>
8999
9000 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
9001 parameter and handle it. Don't output read value in test name.
9002
fee6da6e
PA
90032017-10-24 Pedro Alves <palves@redhat.com>
9004
9005 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
9006 custom test name.
9007
10389c2c
PA
90082017-10-24 Pedro Alves <palves@redhat.com>
9009
9010 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
9011 include the unstable output directory name in the test's name.
9012 (initial_setup_simple) <'set args'>: Use custom test name.
9013
a80e65a9
PA
90142017-10-24 Pedro Alves <palves@redhat.com>
9015
9016 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
9017 with explicit test name.
9018
15763a09
PA
90192017-10-20 Pedro Alves <palves@redhat.com>
9020
9021 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
9022 'wait -i'. Use gdb_assert and remote_close.
9023
49a4ce2e
AB
90242017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
9025
9026 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
9027 number from variable rather than hard-coded.
9028
a75868f5
PA
90292017-10-19 Pedro Alves <palves@redhat.com>
9030
9031 * gdb.base/long-inferior-output.c: New file.
9032 * gdb.base/long-inferior-output.exp: New file.
9033
c8ba13ad
KS
90342017-11-18 Keith Seitz <keiths@redhat.com>
9035
9036 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
9037 method.
9038 (main): Call it.
9039 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
9040 Add additional user-defined conversion operator tests.
9041
b27de576
PA
90422017-10-17 Pedro Alves <palves@redhat.com>
9043
9044 * boards/native-stdio-gdbserver.exp: Load "local-board".
9045
8484c955
PA
90462017-10-17 Pedro Alves <palves@redhat.com>
9047
9048 * gdb.base/quit-live.c: New file.
9049 * gdb.base/quit-live.exp: New file.
9050
83d5a34d
KS
90512017-10-16 Keith Seitz <keiths@redhat.com>
9052
9053 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
9054 (class_with_protected_typedef, class_with_private_typedef)
9055 (struct_with_public_typedef, struct_with_protected_typedef)
9056 (struct_with_private_typedef): New classes/structs.
9057 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
9058 typedefs and access specifiers.
9059
739b3f1d
PA
90602017-10-16 Pedro Alves <palves@redhat.com>
9061 Simon Marchi <simon.marchi@polymtl.ca>
9062
9063 * README (Local vs Remote vs Native): New section.
9064 * boards/local-board.exp: New file, with bits factored out from
9065 ...
9066 * boards/native-extended-gdbserver.exp: ... here. Load
9067 "local-board".
9068 * boards/native-gdbserver.exp: Load "local-board".
9069 (${board}_spawn, ${board}_exec): Delete.
9070 * boards/native-stdio-gdbserver.exp: Most contents factored out to
9071 ...
9072 * boards/stdio-gdbserver-base.exp: ... this new file.
9073 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
9074 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
9075 procedure.
9076 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
9077 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
9078 stdio_gdbserver_command.
9079 (${board}_get_remote_address, ${board}_get_comm_port)
9080 (${board}_download, ${board}_upload): Delete.
9081 (get_target_remote_pipe_cmd): New.
9082
fe68b953
SM
90832017-10-16 Simon Marchi <simon.marchi@ericsson.com>
9084
9085 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
9086 test_bkpt_deletion, test_bkpt_cond_and_cmds,
9087 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
9088 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
9089 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
9090 remove with_test_prefix.
9091
300b6685
PA
90922017-10-13 Pedro Alves <palves@redhat.com>
9093
9094 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
9095 * gdb.base/annota1.exp: Use it instead of is_remote.
9096 * gdb.base/annota3.exp: Use it instead of is_remote.
9097 * gdb.cp/annota2.exp: Use it instead of is_remote.
9098 * gdb.cp/annota3.exp: Use it instead of is_remote.
9099 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
9100
50500caf
PA
91012017-10-13 Pedro Alves <palves@redhat.com>
9102
9103 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
9104 (test_num_test_vars, run_and_count_vars, find_env)
9105 (test_set_unset_env, test_inherit_env_var): New procedures.
9106 (top level): Use them.
9107
dad0c6d2
PA
91082017-10-13 Pedro Alves <palves@redhat.com>
9109
9110 * lib/selftest-support.exp (selftest_setup): Extend comments, and
9111 also skip on stub-like targets.
9112
8b0553c1
PA
91132017-10-13 Pedro Alves <palves@redhat.com>
9114
9115 PR gdb/22293
9116 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
9117 (top level): Move some tests to ...
9118 (test_not_found): ... this new procedure.
9119 (top level): Call it.
9120
7594f623
PA
91212017-10-13 Pedro Alves <palves@redhat.com>
9122
9123 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
9124 expect different "info terminal" output if testing with a
9125 non-native target.
9126
ebe3b402
PA
91272017-10-13 Pedro Alves <palves@redhat.com>
9128 Simon Marchi <simon.marchi@polymtl.ca>
9129
9130 PR python/12966
9131 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
9132
42f1b161
PA
91332017-10-13 Pedro Alves <palves@redhat.com>
9134
9135 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
9136 already.
9137
8d6ef72b
PA
91382017-10-13 Pedro Alves <palves@redhat.com>
9139
9140 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
9141 is_remote.
9142
d7bcd5b8
PA
91432017-10-13 Pedro Alves <palves@redhat.com>
9144
9145 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
9146 is_remote.
9147
df479dc6
PA
91482017-10-13 Pedro Alves <palves@redhat.com>
9149
9150 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
9151 is set.
9152 (corefile_test_attach): Likewise. Check can_spawn_for_attach
9153 instead of is_remote.
9154
23fb630a
PA
91552017-10-13 Pedro Alves <palves@redhat.com>
9156
9157 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
9158 (top level): Add comment.
9159
cc77b1dc
PA
91602017-10-13 Pedro Alves <palves@redhat.com>
9161
9162 * gdb.base/remote.exp (top level): Fix comment typo and add
9163 missing return.
9164
27c9e813
PA
91652017-10-13 Pedro Alves <palves@redhat.com>
9166 Simon Marchi <simon.marchi@polymtl.ca>
9167
9168 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
9169 calls and add comments. Skip test if use_gdb_stub is set.
9170 (top level): Use "set cwd" command instead of "cd" command.
9171
5e830d98
PA
91722017-10-13 Pedro Alves <palves@redhat.com>
9173
9174 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
9175 is_remote target check.
9176
f5ca0032
PA
91772017-10-13 Pedro Alves <palves@redhat.com>
9178
9179 * gdb.base/scope.exp: Use build_executable + clean_restart +
9180 gdb_file_cmd instead of prepare_for_testing and no longer skip
9181 "before run" tests on is_remote target boards. Update comments.
9182 * boards/native-extended-gdbserver.exp
9183 (extended_gdbserver_load_last_file): New, factored out from ...
9184 (gdb_load): ... this. Move further below and add comment.
9185 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
9186
8aed1c0d
PA
91872017-10-12 Pedro Alves <palves@redhat.com>
9188
9189 * gdb.base/attach.exp: Remove references to gdb64.
9190 * gdb.base/dbx.exp: Remove references to gdb64.
9191
cfa34c87
SM
91922017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
9193 Pedro Alves <palves@redhat.com>
9194
9195 * gdb.base/label.exp: Remove is_remote target check.
9196
9192b7de
PA
91972017-10-12 Pedro Alves <palves@redhat.com>
9198
9199 * gdb.base/auvx.exp (coredir): Update comment.
9200 (top level) <core_works>: Use "set cwd" command instead of "cd"
9201 command.
9202
6bf0052d
PA
92032017-10-12 Pedro Alves <palves@redhat.com>
9204 Simon Marchi <simon.marchi@polymtl.ca>
9205
9206 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
9207 target boards.
9208
e48ef82d
PA
92092017-10-12 Pedro Alves <palves@redhat.com>
9210 Simon Marchi <simon.marchi@polymtl.ca>
9211
9212 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
9213 Instead skip if there's any gdb_protocol set.
9214
8d7aea57
SM
92152017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
9216 Pedro Alves <palves@redhat.com>
9217
9218 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
9219
30440677
PA
92202017-10-12 Pedro Alves <palves@redhat.com>
9221 Simon Marchi <simon.marchi@polymtl.ca>
9222
9223 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
9224 instead of on dejagnu remote boards.
9225
4e04f045 92262017-10-12 Pedro Alves <palves@redhat.com>
175654b9 9227 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
9228
9229 * gdb.base/inferior-died.exp: Remove is_remote and isnative
9230 checks. Use build_executable + clean_restart instead of
9231 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
9232 of enabling non-stop after starting gdb.
9233
871a186e
PA
92342017-10-12 Pedro Alves <palves@redhat.com>
9235
9236 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
9237 * gdb.threads/non-ldr-exc-2.exp: Ditto.
9238 * gdb.threads/non-ldr-exc-3.exp: Ditto.
9239 * gdb.threads/non-ldr-exc-4.exp: Ditto.
9240
56d704da
AK
92412017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
9242
9243 * gdb.arch/arc-tdesc-cpu.exp: New file.
9244 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
9245
2f20e312
SM
92462017-10-10 Simon Marchi <simon.marchi@ericsson.com>
9247
9248 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
9249
65630365
PA
92502017-10-10 Pedro Alves <palves@redhat.com>
9251
9252 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
9253 expect CLI output.
9254
bf469271
PA
92552017-10-10 Pedro Alves <palves@redhat.com>
9256
9257 * lib/selftest-support.exp (selftest_setup): Update for
9258 captured_command_loop's prototype change.
9259
777a42f1
PA
92602017-10-09 Pedro Alves <palves@redhat.com>
9261
9262 Test both arch1=>arch2 and arch2=>arch1.
9263
9264 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
9265 (srcfile2, binfile2, march1, march2): Remove globals. Largely
9266 factored out to...
9267 (append_arch1_options, append_arch2_options, append_arch_options)
9268 (build_executables): New procedures.
9269 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
9270 local.
9271 (top level): Add new 'first_arch' testing axis.
9272
cbd2b4e3
PA
92732017-10-09 Pedro Alves <palves@redhat.com>
9274
9275 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
9276 (barrier): New.
9277 (thread_start, all_started): New functions.
9278 (main): Spawn new thread and wait until it is scheduled.
9279 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
9280 option.
9281 (do_test): Add 'selected_thread' parameter. Run to all_started
9282 instead of main. Explicitly set the breakpoint at main. Switch
9283 to the SELECTED_THREAD thread.
9284 (top level): Test handling the exec event with either the main
9285 thread or the second thread selected.
9286
5c9e4427
PA
92872017-10-09 Pedro Alves <palves@redhat.com>
9288
9289 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
9290 logic. Move STOP marker after the value checks.
9291 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
9292 regexp.
9293
b3b7c423
SL
92942017-10-06 Sandra Loosemore <sandra@codesourcery.com>
9295
9296 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
9297
3b4b2f16
UW
92982017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
9299
9300 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
9301 integer-to-dfp conversion.
9302 * gdb.base/dfp-test.exp: Likewise.
9303
5cd63fda
PA
93042017-10-04 Pedro Alves <palves@redhat.com>
9305
9306 * gdb.multi/hangout.c: Include <unistd.h>.
9307 (hangout_loop): New function.
9308 (main): Call alarm. Call hangout_loop in a loop.
9309 * gdb.multi/hello.c: Include <unistd.h>.
9310 (hello_loop): New function.
9311 (main): Call alarm. Call hangout_loop in a loop.
9312 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
9313 inferior with the other selected.
9314
4c71c105
SM
93152017-10-04 Simon Marchi <simon.marchi@ericsson.com>
9316
9317 * gdb.mi/list-thread-groups-available.exp: New file.
9318 * gdb.mi/list-thread-groups-available.c: New file.
9319
bc3b087d
SDJ
93202017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
9321
9322 * gdb.base/set-cwd.exp: Make it available on
9323 native-extended-gdbserver.
9324
d092c5a2
SDJ
93252017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
9326
9327 * gdb.base/set-cwd.c: New file.
9328 * gdb.base/set-cwd.exp: Likewise.
9329
45320ffa
TT
93302017-10-02 Tom Tromey <tom@tromey.com>
9331
9332 PR rust/22236:
9333 * gdb.rust/simple.rs (main): New variable "fslice".
9334 * gdb.rust/simple.exp: Add slice tests. Update string tests.
9335
b3e3859b
TT
93362017-10-02 Tom Tromey <tom@tromey.com>
9337
9338 * gdb.rust/simple.exp: Test ptype of a slice.
9339
01af5e0d
TT
93402017-10-02 Tom Tromey <tom@tromey.com>
9341
9342 * gdb.rust/simple.exp: Test index of slice.
9343
a9bbfbd8
TT
93442017-09-27 Tom Tromey <tom@tromey.com>
9345
9346 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
9347
df8899e5
TP
93482017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
9349 Pedro Alves <palves@redhat.com>
9350
9351 * gdb.base/compare-sections.exp (get value of read-only section): Read
9352 as unsigned value.
9353 (corrupt read-only section): Likewise and don't set written if patching
9354 failed.
9355
757bf54b
KB
93562017-09-21 Kevin Buettner <kevinb@redhat.com>
9357
9358 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
9359 files.
9360
06871ae8
PA
93612017-09-20 Pedro Alves <palves@redhat.com>
9362
9363 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
9364 symbol names in gdb's output.
9365 * gdb.cp/overload.exp ("list all overloads"): Likewise.
9366
e5f25bc5
PA
93672017-09-20 Pedro Alves <palves@redhat.com>
9368
9369 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
9370 Rename to ...
9371 (test_list_ambiguous_symbol): ... this and add a symbol name
9372 parameter. Adjust.
9373 (test_list_ambiguous_function): Reimplement on top of
9374 test_list_ambiguous_symbol and also test listing ambiguous
9375 variables.
9376 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
9377 (ambiguous_fun): ... this.
9378 (ambiguous_var): New.
9379 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
9380 (ambiguous_fun): ... this.
9381 (ambiguous_var): New.
9382
4e5a4f58
JB
93832017-09-19 John Baldwin <jhb@FreeBSD.org>
9384
9385 * gdb.base/starti.c: New file.
9386 * gdb.base/starti.exp: New file.
9387 * lib/gdb.exp (gdb_starti_cmd): New procedure.
9388
26e53f3e
PA
93892017-09-14 Pedro Alves <palves@redhat.com>
9390
9391 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
9392 (top level): Use it instead of runto.
9393
cb791d59
TT
93942017-09-11 Tom Tromey <tom@tromey.com>
9395
9396 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
9397
7c96f8c1
TT
93982017-09-11 Tom Tromey <tom@tromey.com>
9399
9400 * gdb.python/py-infthread.exp: Add tests for new_thread event.
9401 * gdb.python/py-inferior.exp: Add tests for new inferior events.
9402
469412dd
CW
94032017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
9404
9405 * gdb.fortran/printing-types.exp: New file.
9406 * gdb.fortran/printing-types.exp: New file.
9407
e0f86435
BH
94082017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
9409
9410 * gdb.fortran/vla-ptype.exp: Fix typos.
9411 * gdb.fortran/vla-value.exp: Same.
9412
9e9af4be
BH
94132017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
9414
9415 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
9416 * gdb.mi/mi-var-child-f.exp: Likewise.
9417 * gdb.mi/mi-vla-fortran.exp: Likewise.
9418
a5ad232b 94192017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
9420 Christoph Weinmann <christoph.t.weinmann@intel.com>
9421 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
9422
9423 * gdb.fortran/ptr-indentation.f90: New file.
9424 * gdb.fortran/ptr-indentation.exp: New file.
9425
5aec60eb
TT
94262017-09-05 Tom Tromey <tom@tromey.com>
9427
9428 PR gdb/22010:
9429 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
9430
8f8f8152
TP
94312017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
9432
9433 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
9434
fbd1b771
JK
94352017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9436
9437 * gdb.threads/tls-nodebug-pie.c: New file.
9438 * gdb.threads/tls-nodebug-pie.exp: New file.
9439
5eb5f850
TT
94402017-09-05 Tom Tromey <tom@tromey.com>
9441
9442 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
9443 for rust.
9444
ae780a21
SM
94452017-09-05 Simon Marchi <simon.marchi@ericsson.com>
9446
9447 * gdb.multi/multi-arch-exec.exp: Test with different
9448 "follow-exec-mode" settings.
9449 (do_test): New procedure.
9450
3693fdb3
PA
94512017-09-04 Pedro Alves <palves@redhat.com>
9452
9453 * gdb.base/func-static.c (S::method const, S::method volatile)
9454 (S::method volatile const): New methods.
9455 (c_s, v_s, cv_s): New instances.
9456 (main): Call method() on them.
9457 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
9458 (cannot_resolve): New procedure.
9459 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
9460 print-quote-unquoted columns.
9461 (do_test): Test printing each scope too.
9462
e68cb8e0
PA
94632017-09-04 Pedro Alves <palves@redhat.com>
9464
9465 * gdb.base/local-static.exp: Also test with
9466 class::method::variable wholly quoted.
9467 * gdb.cp/m-static.exp (class::method::variable): Remove test.
9468
858be34c
PA
94692017-09-04 Pedro Alves <palves@redhat.com>
9470
9471 * gdb.base/local-static.c: New.
9472 * gdb.base/local-static.cc: New.
9473 * gdb.base/local-static.exp: New.
9474
46a4882b
PA
94752017-09-04 Pedro Alves <palves@redhat.com>
9476
9477 * gdb.asm/asm-source.exp: Add casts to int.
9478 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
9479 (dataglobal64_1, dataglobal64_2): New globals.
9480 * gdb.base/nodebug.exp: Test different expressions involving the
9481 new globals, with print, whatis and ptype. Add casts to int.
9482 * gdb.base/solib-display.exp: Add casts to int.
9483 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
9484 * gdb.cp/m-static.exp: Add cast to int.
9485 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
9486 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
9487 tls variable with no debug info without a cast. Test with a cast
9488 to int too.
9489 * gdb.trace/entry-values.exp: Add casts.
9490
2c5a2be1
PA
94912017-09-04 Pedro Alves <palves@redhat.com>
9492
9493 * gdb.base/nodebug.exp: Test that ptype's error about functions
9494 with unknown return type includes the function name too.
9495
7022349d
PA
94962017-09-04 Pedro Alves <palves@redhat.com>
9497
9498 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
9499 return type of munmap in infcall.
9500 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
9501 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
9502 type of ftell in infcall.
9503 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
9504 type of getpid in infcall.
9505 * gdb.base/infcall-exec.exp: Cast return type of execlp in
9506 infcall.
9507 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
9508 Bail on failure to extract the pid.
9509 * gdb.base/nodebug.c: #include <stdint.h>.
9510 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
9511 New functions.
9512 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
9513 Change expected output of print/whatis/ptype with functions with
9514 no debug info. Test all supported languages. Call
9515 test_call_promotion.
9516 * gdb.compile/compile.exp: Adjust expected output to expect
9517 warning.
9518 * gdb.threads/siginfo-threads.exp: Likewise.
9519
54990598
PA
95202017-09-04 Pedro Alves <palves@redhat.com>
9521
9522 * gdb.base/callfuncs.exp (do_function_calls): New parameter
9523 "prototypes". Test calling float functions via prototyped and
9524 unprototyped function pointers.
9525 (perform_all_tests): New parameter "prototypes". Pass it down.
9526 (top level): Pass down "prototypes" parameter to
9527 perform_all_tests.
9528
34d16ea2
SM
95292017-09-04 Simon Marchi <simon.marchi@ericsson.com>
9530
9531 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
9532 Test with nested loops.
9533
9521ecda
SM
95342017-09-04 Simon Marchi <simon.marchi@ericsson.com>
9535
9536 * gdb.base/commands.exp: Call the new procedures.
9537 (loop_break_test, loop_continue_test): New procedures.
9538
80a65e9b
SM
95392017-09-04 Simon Marchi <simon.marchi@ericsson.com>
9540
9541 * gdb.base/commands.exp: Call new procedure.
9542 (define_if_without_arg_test): New procedure.
9543
e439fa14
PA
95442017-09-04 Pedro Alves <palves@redhat.com>
9545
9546 * gdb.base/list-ambiguous.exp: New file.
9547 * gdb.base/list-ambiguous0.c: New file.
9548 * gdb.base/list-ambiguous1.c: New file.
9549 * gdb.base/list.exp (test_list_range): Adjust expected output.
9550
0a2dde4a
SDJ
95512017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
9552
9553 * gdb.base/share-env-with-gdbserver.c: New file.
9554 * gdb.base/share-env-with-gdbserver.exp: Likewise.
9555
5e89eb3a
SM
95562017-08-28 Simon Marchi <simon.marchi@ericsson.com>
9557
9558 * gdb.base/commands.exp (gdbvar_simple_if_test,
9559 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
9560 progvar_simple_if_test, progvar_simple_while_test,
9561 progvar_complex_if_while_test, user_defined_command_test,
9562 user_defined_command_args_eval,
9563 user_defined_command_args_stack_test,
9564 user_defined_command_manyargs_test, bp_deleted_in_command_test,
9565 temporary_breakpoint_commands,
9566 gdb_test_no_prompt, redefine_hook_test,
9567 redefine_backtrace_test): Remove "global gdb_prompt".
9568
fd437cbc
SM
95692017-08-28 Simon Marchi <simon.marchi@ericsson.com>
9570
9571 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
9572 New proc, call it from toplevel.
9573
87215ad1
SDJ
95742017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
9575
9576 PR remote/21852
9577 * gdb.server/normal.c: New file, copied from gdb.base.
9578 * gdb.server/run-without-local-binary.exp: New file.
9579
58afddc6
WP
95802017-08-07 Weimin Pan <weimin.pan@oracle.com>
9581
9582 * gdb.arch/sparc64-adi.exp: New file.
9583 * gdb.arch/sparc64-adi.c: New file.
9584
5277199a
PA
95852017-08-22 Pedro Alves <palves@redhat.com>
9586
9587 * gdb.cp/overload.exp (line_range_pattern): New procedure.
9588 (top level): Add "list all overloads" tests.
9589
14278e1f
TT
95902017-08-22 Tom Tromey <tom@tromey.com>
9591
9592 * gdb.gdb/xfullpath.exp: Remove.
9593
bf223d3e
PA
95942017-08-21 Pedro Alves <palves@redhat.com>
9595
9596 PR gdb/19487
9597 * gdb.base/symbol-alias.c: New.
9598 * gdb.base/symbol-alias2.c: New.
9599 * gdb.base/symbol-alias.exp: New.
9600
c973d0aa
PA
96012017-08-21 Pedro Alves <palves@redhat.com>
9602
9603 * gdb.base/dfp-test.c
9604 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
9605 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
9606 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
9607 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
9608 * gdb.base/whatis-ptype-typedefs.c: New.
9609 * gdb.base/whatis-ptype-typedefs.exp: New.
9610 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
9611 (an_int, an_int_type, an_int_type2): New globals.
9612 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
9613 involving typedefs and cast expressions.
9614 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
9615 (lookup_typedefs_function): New.
9616 (typedefs_pretty_printers_dict): New.
9617 (top level): Register lookup_typedefs_function in
9618 gdb.pretty_printers.
9619
6d580b63
YQ
96202017-08-18 Yao Qi <yao.qi@linaro.org>
9621
9622 * gdb.server/unittest.exp: New.
9623
206726fb
SDJ
96242017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
9625
9626 PR gdb/21954
9627 * gdb.base/environ.exp: Add test to check if 'unset environment'
9628 works.
9629
bf0ec4c2
AA
96302017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
9631
9632 * lib/gdb.exp (universal_compile_options): New caching proc.
9633 (gdb_compile): Suppress GCC's coloring of messages.
9634
d6382fff
TT
96352017-08-14 Tom Tromey <tom@tromey.com>
9636
9637 PR gdb/21675:
9638 * gdb.base/printcmds.exp (test_radices): New function.
9639 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
9640 * gdb.base/sizeof.exp (check_valueof): Use p/d.
9641 * lib/gdb.exp (get_integer_valueof): Use p/d.
9642
c2c2dd9f
SM
96432017-08-12 Simon Marchi <simon.marchi@ericsson.com>
9644
9645 * lib/gdb.exp (get_valueof): Don't capture end-of-line
9646 characters.
9647
fdffd6f4
TT
96482017-08-05 Tom Tromey <tom@tromey.com>
9649
9650 * gdb.rust/simple.exp: Allow String to appear in a different
9651 namespace.
9652
27d41eac
YQ
96532017-07-26 Yao Qi <yao.qi@linaro.org>
9654
9655 * gdb.gdb/unittest.exp: Invoke command
9656 "maintenance check xml-descriptions".
9657
031ed05d
AA
96582017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9659
9660 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
9661 calling context.
9662 (hex128): Drop erroneous calculation of parameters.
9663
dcd27ddf
SM
96642017-07-22 Simon Marchi <simon.marchi@ericsson.com>
9665
9666 * gdb.python/py-unwind.exp: Disable stack protection when
9667 building test file.
9668
47e77640
PA
96692017-07-20 Pedro Alves <palves@redhat.com>
9670
9671 * gdb.base/default.exp (set language): Adjust expected output.
9672
62d2a18a
PA
96732017-07-20 Pedro Alves <palves@redhat.com>
9674
9675 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
9676 (test_minsym): ... this, and make static.
9677 (get_pck__foo__bar__minsym): Rename to ...
9678 (get_test_minsym): ... this.
9679 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
9680 symbol names and comments.
9681 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
9682 (get_test_minsym): ... this.
9683 (pck__foo__bar__minsym__2): Rename to ...
9684 (test_minsym): ... this.
9685 (main): Adjust.
9686
c45ec17c
PA
96872017-07-17 Pedro Alves <palves@redhat.com>
9688
9689 * gdb.base/completion.exp: Adjust expected output.
9690 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
9691 the completer works.
9692
c6756f62
PA
96932017-07-17 Pedro Alves <palves@redhat.com>
9694
9695 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
9696
5bd68487
AB
96972017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
9698
9699 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
9700
8880f2a9
TT
97012017-07-14 Tom Tromey <tom@tromey.com>
9702
9703 PR rust/21764:
9704 * gdb.rust/simple.exp: Add tests.
9705
65547233
TT
97062017-07-14 Tom Tromey <tom@tromey.com>
9707
9708 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
9709
8f14146e
PA
97102017-07-14 Pedro Alves <palves@redhat.com>
9711
9712 * gdb.linespec/base/one/thefile.cc (z1): New function.
9713 * gdb.linespec/base/two/thefile.cc (z2): New function.
9714 * gdb.linespec/linespec.exp: Add tests.
9715
b4365d02
AB
97162017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
9717
9718 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
9719 to mi_create_breakpoint.
9720
5d2cbaa5
AB
97212017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
9722
9723 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
9724 mi_create_breakpoint.
9725
11cb5716
IB
97262017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
9727
9728 * gdb.dlang/demangle.exp: Update for demangling changes.
9729
03278692
TT
97302017-07-09 Tom Tromey <tom@tromey.com>
9731
9732 * gdb.dwarf2/shortpiece.exp: New file.
9733
33c5cd75
DB
97342017-07-06 David Blaikie <dblaikie@gmail.com>
9735
9736 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
9737 built from fissiont-multi-cu{1,2}.c.
9738 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
9739 except putting 'main' and 'func' in separate CUs in the same DWO file.
9740 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
9741 test.
9742 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
9743 test.
9744
8455d262
PA
97452017-07-06 Pedro Alves <palves@redhat.com>
9746
9747 * gdb.python/py-unwind.exp: Test flushregs.
9748
dc4bde35
SDJ
97492017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
9750
9751 PR cli/21688
9752 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
9753 tests for alias commands and trailing whitespace.
9754
51ed89aa
SDJ
97552017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
9756
9757 PR cli/21688
9758 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
9759 procedure. Call it.
9760
eb17d413
PA
97612017-06-29 Pedro Alves <palves@redhat.com>
9762
9763 * gdb.base/printcmds.exp: Add tests.
9764
41664b45
DG
97652017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
9766
9767 PR gdb/21337
9768 * gdb.base/reread-readsym.exp: New file.
9769 * gdb.base/reread-readsym.c: New file.
9770
75312ae3
KB
97712017-06-21 Kevin Buettner <kevinb@redhat.com>
9772
9773 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
9774 subpattern.
9775
66953522
PB
97762017-06-19 Peter Bergner <bergner@vnet.ibm.com>
9777
9778 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
9779 extended mnemonic.
9780 * gdb.arch/powerpc-power9.s: Likewise.
9781
5524b525
AA
97822017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
9783
9784 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
9785 on 32-bit x86 targets. Exploit is_*_target macros where
9786 appropriate.
9787
03c8af18
AA
97882017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9789
9790 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
9791 register pieces.
9792
3bf31011
AA
97932017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9794
9795 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
9796 located in one or more DWARF pieces.
9797
805acca0
AA
97982017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9799
9800 * lib/gdb.exp (get_endianness): New proc.
9801 * gdb.arch/aarch64-fp.exp: Use it.
9802 * gdb.arch/altivec-regs.exp: Likewise.
9803 * gdb.arch/e500-regs.exp: Likewise.
9804 * gdb.arch/vsx-regs.exp: Likewise.
9805 * gdb.base/dump.exp: Likewise.
9806 * gdb.base/funcargs.exp: Likewise.
9807 * gdb.base/gnu_vector.exp: Likewise.
9808 * gdb.dwarf2/formdata16.exp: Likewise.
9809 * gdb.dwarf2/implptrpiece.exp: Likewise.
9810 * gdb.dwarf2/nonvar-access.exp: Likewise.
9811 * gdb.python/py-inferior.exp: Likewise.
9812 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
9813
e9352324
AA
98142017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9815
9816 PR gdb/21226
9817 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
9818 stack value pieces are taken from the LSB end.
9819
d5d1163e
AA
98202017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9821
9822 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
9823 variable at nonzero offset.
9824
0567c986
AA
98252017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9826
9827 * gdb.dwarf2/var-access.c: New file.
9828 * gdb.dwarf2/var-access.exp: New test.
9829 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
9830
973e9aab
TT
98312017-06-12 Tom Tromey <tom@tromey.com>
9832
9833 * gdb.dwarf2/formdata16.exp: Add tests.
9834
d9109c80
TT
98352017-06-12 Tom Tromey <tom@tromey.com>
9836
9837 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
9838
30a25466
TT
98392017-06-12 Tom Tromey <tom@tromey.com>
9840
9841 PR exp/16225:
9842 * gdb.reverse/i386-sse-reverse.exp: Update tests.
9843 * gdb.arch/vsx-regs.exp: Update tests.
9844 * gdb.arch/s390-vregs.exp (hex128): New proc.
9845 Update test.
9846 * gdb.arch/altivec-regs.exp: Update tests.
9847
aefd8b33
SDJ
98482017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
9849
9850 * gdb.base/startup-with-shell.c: New file.
9851 * gdb.base/startup-with-shell.exp: Likewise.
9852
2090129c
SDJ
98532017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
9854
9855 * gdb.server/non-existing-program.exp: Update regex in order to
9856 reflect the fact that gdbserver is now using fork_inferior (with a
9857 shell) to startup the inferior.
9858
8e86a419
SM
98592017-05-30 Simon Marchi <simon.marchi@ericsson.com>
9860
9861 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
9862 support function calls from GDB.
9863
e6cf65f2
TT
98642017-05-21 Tom Tromey <tom@tromey.com>
9865
9866 PR rust/21466:
9867 * gdb.rust/unsized.exp: New file.
9868 * gdb.rust/unsized.rs: New file.
9869
43cc5389
TT
98702017-05-19 Tom Tromey <tom@tromey.com>
9871
9872 PR rust/21484:
9873 * gdb.rust/watch.exp: New file.
9874 * gdb.rust/watch.rs: New file.
9875
ec8df234
TT
98762017-05-18 Tom Tromey <tom@tromey.com>
9877
9878 * gdb.rust/simple.exp: Allow Box to be qualified.
9879
3e3e7fae
TP
98802017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
9881
9882 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
9883
59cc050d
PA
98842017-05-18 Pedro Alves <palves@redhat.com>
9885
9886 * gdb.base/fileio.c (test_write, test_read, test_close)
9887 (test_fstat): Don't print 'ret' in the fail path.
9888
c8f6abd1
PA
98892017-05-18 Pedro Alves <palves@redhat.com>
9890
9891 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
9892 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
9893 (test_system, test_rename, test_unlink, test_time): Change
9894 prototypes.
9895 * gdb.base/fileio.exp (stop_msg): Adjust.
9896
d2a03b77
PA
98972017-05-18 Pedro Alves <palves@redhat.com>
9898
9899 * gdb.base/fileio.c (null_str): New global.
9900 (test_stat): Use it.
9901 * gdb.base/fileio.exp: Remove nowarnings.
9902
0d5c6999
YQ
99032017-05-17 Yao Qi <yao.qi@linaro.org>
9904
9905 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
9906
21873064
YQ
99072017-05-17 Simon Marchi <simon.marchi@ericsson.com>
9908
9909 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
9910 argument command.
9911 (top-level): Invoke test_set_inferior_tty.
9912
d512d31c
PA
99132017-05-04 Pedro Alves <palves@redhat.com>
9914
9915 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
9916 Add parens to print call for Python 3.
9917
90cef2ed
KS
99182017-05-03 Keith Seitz <keiths@redhat.com>
9919
9920 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
9921 (main): Call it.
9922
14f819c8
TW
99232017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
9924
9925 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
9926 to prev and next.
9927
913aeadd
TW
99282017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
9929
9930 * gdb.python/py-record-btrace.exp: Remove test for
9931 gdb.BtraceInstruction.error.
9932
a3be24ad
TW
99332017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
9934
9935 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
9936
ae20e79a
TW
99372017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
9938
9939 * gdb.python/py-record-btrace-threads.c: New file.
9940 * gdb.python/py-record-btrace-threads.exp: New file.
9941
45ce1b47
SDJ
99422017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
9943
9944 PR testsuite/8595
9945 * gdb.base/environ.exp: Make test available in all architectures.
9946 Move bits related to "info program" testing to
9947 gdb.base/info-program.exp. Rewrite tests to use the two new
9948 procedures mentione below.
9949 (test_set_show_env_var) New procedure.
9950 (test_set_show_env_var_equal): Likewise.
9951 * gdb.base/info-program.exp: New file.
9952
e15c3eb4
KS
99532017-04-27 Keith Seitz <keiths@redhat.com>
9954
9955 * gdb.cp/oranking.cc (test15): New function.
9956 (main): Call test15 and declare additional variables for testing.
9957 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
9958 "p foo101('abc')" tests.
9959 Add tests for cv qualifier overloads.
9960 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
9961 "lvalue reference overload" test.
9962 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
9963 "print value of f1 on Child&& in f2" test.
9964
3a3fd0fd
PA
99652017-04-19 Pedro Alves <palves@redhat.com>
9966
9967 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
9968 procedure.
9969 (top level): Call it.
9970 * lib/gdb.exp (gdb_define_cmd): New procedure.
9971
53375380
PA
99722017-04-12 Pedro Alves <palves@redhat.com>
9973
9974 PR gdb/21323
9975 * gdb.cp/wide_char_types.c: Include <wchar.h>.
9976 (wchar): New global.
9977 * gdb.cp/wide_char_types.exp (wide_char_types_program)
9978 (do_test_wide_char, wide_char_types_no_program, top level): Add
9979 wchar_t testing.
9980
53e710ac
PA
99812017-04-12 Pedro Alves <palves@redhat.com>
9982
9983 PR c++/21323
9984 * gdb.cp/wide_char_types.c: New file.
9985 * gdb.cp/wide_char_types.exp: New file.
9986
0ad9d8c7
SDJ
99872017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
9988
9989 PR gdb/21352
9990 * gdb.trace/tsv.exp: Add test for "tsave -r".
9991
b1b45502
IB
99922017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
9993
9994 * gdb.dlang/watch-loc.c: New file.
9995 * gdb.dlang/watch-loc.exp: New file.
9996
ec13808e
JK
99972017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9998
9999 * gdb.python/py-section-script.exp (sepdebug): New testcases.
10000
fe5f7374
AK
100012017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
10002
10003 * gdb.arch/arc-analyze-prologue.S: New file.
10004 * gdb.arch/arc-analyze-prologue.exp: Likewise.
10005
eea78757
AK
100062017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
10007
10008 * gdb.arch/arc-decode-insn.S: New file.
10009 * gdb.arch/arc-decode-insn.exp: Likewise.
10010
5badf10a
IR
100112017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
10012
10013 PR tdep/20928
10014 * gdb.arch/sparc64-regs.exp: New file.
10015 * gdb.arch/sparc64-regs.S: Likewise.
10016
cee59b3f
TW
100172017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
10018
10019 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
10020 and memory view on Python 3.
10021
c0f55cc6
AV
100222017-03-20 Artemiy Volkov <artemiyv@acm.org>
10023 Keith Seitz <keiths@redhat.com>
10024
10025 PR gdb/14441
10026 * gdb.cp/demangle.exp: Add rvalue reference tests.
10027 * gdb.cp/rvalue-ref-casts.cc: New file.
10028 * gdb.cp/rvalue-ref-casts.exp: New file.
10029 * gdb.cp/rvalue-ref-overload.cc: New file.
10030 * gdb.cp/rvalue-ref-overload.exp: New file.
10031 * gdb.cp/rvalue-ref-params.cc: New file.
10032 * gdb.cp/rvalue-ref-params.exp: New file.
10033 * gdb.cp/rvalue-ref-sizeof.cc: New file.
10034 * gdb.cp/rvalue-ref-sizeof.exp: New file.
10035 * gdb.cp/rvalue-ref-types.cc: New file.
10036 * gdb.cp/rvalue-ref-types.exp: New file.
10037 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
10038 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
10039
51457a05
MAL
100402017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
10041
10042 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
10043 New procedure.
10044
5b291c04
MAL
100452017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
10046
10047 * lib/mi-support.exp (mi_gdb_test): Add additional message
10048 for unexpected output.
10049
59a56148
AA
100502017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10051
10052 * gdb.base/examine-backward.c (Barrier): New character array
10053 constant, to ensure that TestStrings is preceded by a string
10054 terminator.
10055
7942e96e
AA
100562017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10057
10058 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
10059 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
10060 and implicit pointer into such a location.
10061
6ebac3fb
DE
100622017-03-16 Doug Evans <dje@google.com>
10063
10064 * gdb.python/py-lazy-string (pointer): Really add new typedef.
10065
ec3b243d
TP
100662017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
10067
10068 * gdb.cp/m-static.exp: Fix expectation for prototype of
10069 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
10070
100712017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
10072
10073 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
10074 * gdb.guile/scm-lazy-string.c: New file.
10075 * gdb.guile/scm-value.exp: Move lazy string tests to ...
10076 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
10077 for pointer, array, typedef lazy strings.
10078
2cc36e25 100792017-03-16 Doug Evans <dje@google.com>
34b43320
DE
10080
10081 PR python/17728, python/18439, python/18779
10082 * gdb.python/py-value.c (main) Delete locals sptr, sn.
10083 * gdb.python/py-lazy-string.c (pointer): New typedef.
10084 (main): New locals ptr, array, typedef_ptr.
10085 * gdb.python/py-value.exp: Move lazy string tests to ...
10086 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
10087 array, typedef lazy strings.
ec3b243d 10088
0efcde63
AK
100892017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
10090
10091 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
10092 Add optional 'test' parameter.
10093
7978d7c3
SM
100942017-03-13 Simon Marchi <simon.marchi@ericsson.com>
10095
10096 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
10097 Skip for versions of DejaGnu < 1.5.
10098
896c0c1e
SM
100992017-03-13 Simon Marchi <simon.marchi@ericsson.com>
10100
10101 * lib/gdb.exp (dejagnu_version): New proc.
10102 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
10103 Use dejagnu_version.
10104
5f4d1085
KS
101052017-03-10 Keith Seitz <keiths@redhat.com>
10106
10107 PR c++/8128
10108 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
10109 type from destructor regexps.
10110 Add a branch which actually passes the test.
10111 Adjust "ptype t5i" test names.
10112
1de05205
PA
101132017-03-08 Pedro Alves <palves@redhat.com>
10114
10115 * gdb.base/step-over-exit.exp: Add explicit test message.
10116
c65d6b55
PA
101172017-03-08 Pedro Alves <palves@redhat.com>
10118
10119 PR gdb/18360
10120 * gdb.threads/interrupt-while-step-over.c: New file.
10121 * gdb.threads/interrupt-while-step-over.exp: New file.
10122
2e86a283
PA
101232017-03-08 Pedro Alves <palves@redhat.com>
10124
10125 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
10126 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
10127
25dcbff6
PA
101282017-03-08 Pedro Alves <palves@redhat.com>
10129
10130 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
10131 PKRU as not supported as a PASS.
10132
dc9366eb
PA
101332017-03-08 Pedro Alves <palves@redhat.com>
10134
10135 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
10136 prefix instead of $binfile1/$binfile2.
10137 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
10138 in test message.
10139 * gdb.python/py-completion.exp: Use "load python file" as test
10140 messages instead of unstable path names.
10141
6e5d74e7
PA
101422017-03-08 Pedro Alves <palves@redhat.com>
10143 Jan Kratochvil <jan.kratochvil@redhat.com>
10144
10145 PR cli/21218
10146 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
10147 New proc.
10148 (top level): Call it.
10149
9753a2f6
PA
101502017-03-08 Pedro Alves <palves@redhat.com>
10151
10152 PR tui/21216
10153 * gdb.tui/tui-nl-filtered-output.exp: New file.
10154
1a4dd9dd
PA
101552017-03-08 Pedro Alves <palves@redhat.com>
10156
10157 * gdb.base/completion.exp: Move TUI completion tests to ...
10158 * gdb.tui/completion.exp: ... this new file.
10159
7cbbff33
PA
101602017-03-08 Pedro Alves <palves@redhat.com>
10161
10162 * gdb.base/tui-disasm-long-lines.c,
10163 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
10164 gdb.base/tui-layout.exp: Move to ...
10165 * gdb.tui/: ... this new directory.
10166
5f6fd321
PA
101672017-03-07 Pedro Alves <palves@redhat.com>
10168
10169 * gdb.base/tui-layout.c: New file.
10170 * gdb.base/tui-layout.exp: New file.
10171
44959fa8
PA
101722017-03-07 Pedro Alves <palves@redhat.com>
10173
10174 * gdb.base/tui-layout.c: Rename to ...
10175 * gdb.base/tui-disasm-long-lines.c: ... this.
10176 * gdb.base/tui-layout.exp: Rename to ...
10177 * gdb.base/tui-disasm-long-lines.exp: ... this.
10178
f8c4e718
PA
101792017-03-07 Pedro Alves <palves@redhat.com>
10180
10181 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
10182
6dbb839a 101832017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
10184
10185 * i386-mpx-call.c: New file.
10186 * i386-mpx-call.exp: New file.
10187
65b48a81
PB
101882017-02-28 Peter Bergner <bergner@vnet.ibm.com>
10189
10190 * gdb.arch/powerpc-power.exp: Delete test.
10191 * gdb.arch/powerpc-power.s: Likewise.
10192 * gdb.disasm/disassembler-options.exp: New test.
10193 * gdb.arch/powerpc-altivec.exp: Likewise.
10194 * gdb.arch/powerpc-altivec.s: Likewise.
10195 * gdb.arch/powerpc-altivec2.exp: Likewise.
10196 * gdb.arch/powerpc-altivec2.s: Likewise.
10197 * gdb.arch/powerpc-altivec3.exp: Likewise.
10198 * gdb.arch/powerpc-altivec3.s: Likewise.
10199 * gdb.arch/powerpc-power7.exp: Likewise.
10200 * gdb.arch/powerpc-power7.s: Likewise.
10201 * gdb.arch/powerpc-power8.exp: Likewise.
10202 * gdb.arch/powerpc-power8.s: Likewise.
10203 * gdb.arch/powerpc-power9.exp: Likewise.
10204 * gdb.arch/powerpc-power9.s: Likewise.
10205 * gdb.arch/powerpc-vsx.exp: Likewise.
10206 * gdb.arch/powerpc-vsx.s: Likewise.
10207 * gdb.arch/powerpc-vsx2.exp: Likewise.
10208 * gdb.arch/powerpc-vsx2.s: Likewise.
10209 * gdb.arch/powerpc-vsx3.exp: Likewise.
10210 * gdb.arch/powerpc-vsx3.s: Likewise.
10211 * gdb.arch/arm-disassembler-options.exp: Likewise.
10212 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
10213 * gdb.arch/s390-disassembler-options.exp: Likewise.
10214
17cd4947
LM
102152017-02-23 Luis Machado <lgustavo@codesourcery.com>
10216
10217 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
10218 (check_supported_features): ... this. Changed return type to void.
10219 (supports_rdseed): New static global.
10220 (rdseed): Check supports_rdseed.
10221 (initialize): Call check_supported_features.
10222
2039d74e
EBM
102232017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10224
10225 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
10226 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
10227 and lqarx/stqcx.
10228 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
10229 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
10230
a51d7ecf
EBM
102312017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10232
10233 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
10234 uppercase.
10235
0224619f
JK
102362017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10237
10238 * gdb.dwarf2/formdata16.c: New file.
10239 * gdb.dwarf2/formdata16.exp: New file.
10240 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
10241
216f72a1
JK
102422017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10243
10244 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
10245 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
10246 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
10247 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
10248 DW_AT_GNU_*.
10249
43988095
JK
102502017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10251
10252 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
10253
99e8a4f9
SDJ
102542017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
10255
10256 PR gdb/21164
10257 * gdb.base/maint.exp: Add testcases for when the commands do
10258 not have arguments.
10259
b58a8c0c
TP
102602017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
10261
10262 * gdb.cp/chained-calls.exp: Use p instead of P.
10263
4e746bb6
TW
102642017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
10265
10266 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
10267 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
10268
3f77c769
TT
102692017-02-14 Tom Tromey <tom@tromey.com>
10270
10271 PR python/13598:
10272 * gdb.python/py-events.exp: Add before_prompt event tests.
10273
075beec0
AA
102742017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
10275
10276 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
10277
bf5f525c
LM
102782017-02-13 Luis Machado <lgustavo@codesourcery.com>
10279
10280 * gdb.linespec/explicit.c (my_unique_function_name): New function.
10281 (main): Call my_unique_function_name.
10282 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
10283 completion of patterns with a single match.
10284 Add missing -re switches to gdb_test_multiple calls.
10285
13a66184
LM
102862017-02-13 Luis Machado <lgustavo@codesourcery.com>
10287
10288 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
10289 return if core file is not recognized.
10290
26a06916
SM
102912017-02-10 Simon Marchi <simon.marchi@ericsson.com>
10292
10293 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
10294 and extra UIs.
10295
b761ca9e
SM
102962017-02-10 Simon Marchi <simon.marchi@ericsson.com>
10297
10298 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
10299 proc_with_prefix.
10300
b964bee0
TT
103012017-02-10 Tom Tromey <tom@tromey.com>
10302
10303 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
10304
18da0c51
MG
103052017-02-10 Martin Galvan <martingalvan@sourceware.org>
10306
10307 PR gdb/21122
10308 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
10309
604c4576
JG
103102017-02-08 Jerome Guitton <guitton@adacore.com>
10311
10312 * gdb.base/define.exp: Add test for command abbreviations
10313 in define.
10314
20b477a7
LM
103152017-02-06 Luis Machado <lgustavo@codesourcery.com>
10316
10317 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
10318 * gdb.reverse/insn-reverse-x86.c: New file.
10319
3f7b46f2
IR
103202017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
10321
10322 PR tdep/20936
10323 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
10324
f0fd41c1
TT
103252017-02-03 Tom Tromey <tom@tromey.com>
10326
10327 PR rust/21097:
10328 * gdb.rust/simple.exp: Add new tests.
10329
5be5dbf0
PA
103302017-02-02 Pedro Alves <palves@redhat.com>
10331
10332 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
10333 tests.
10334
7346ef59
AA
103352017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10336
10337 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
10338 taking a 2-byte value out of a 4-byte DWARF implicit value on
10339 big-endian targets.
10340 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
10341 logic. Add test cases for DW_OP_implicit.
10342
787f0025
MM
103432017-02-01 Markus Metzger <markus.t.metzger@intel.com>
10344
10345 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
10346
68777c29
MM
103472017-02-01 Markus Metzger <markus.t.metzger@intel.com>
10348
10349 * gdb.btrace/enable.exp: Call gdb_exit before
10350 skip_gdbserver_tests.
10351
0a1c7e28
MM
103522017-02-01 Markus Metzger <markus.t.metzger@intel.com>
10353
10354 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
10355 GDBFLAGS.
10356
b5ac99b0
MM
103572017-02-01 Markus Metzger <markus.t.metzger@intel.com>
10358
10359 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
10360 the test is skipped.
10361 * gdb.btrace/data.exp: Likewise.
10362 * gdb.btrace/delta.exp: Likewise.
10363 * gdb.btrace/dlopen.exp: Likewise.
10364 * gdb.btrace/enable-running.exp: Likewise.
10365 * gdb.btrace/enable.exp: Likewise.
10366 * gdb.btrace/exception.exp: Likewise.
10367 * gdb.btrace/function_call_history.exp: Likewise.
10368 * gdb.btrace/gcore.exp: Likewise.
10369 * gdb.btrace/instruction_history.exp: Likewise.
10370 * gdb.btrace/multi-thread-step.exp: Likewise.
10371 * gdb.btrace/nohist.exp: Likewise.
10372 * gdb.btrace/non-stop.exp: Likewise.
10373 * gdb.btrace/reconnect.exp: Likewise.
10374 * gdb.btrace/record_goto-step.exp: Likewise.
10375 * gdb.btrace/record_goto.exp: Likewise.
10376 * gdb.btrace/rn-dl-bind.exp: Likewise.
10377 * gdb.btrace/segv.exp: Likewise.
10378 * gdb.btrace/step.exp: Likewise.
10379 * gdb.btrace/stepi.exp: Likewise.
10380 * gdb.btrace/tailcall-only.exp: Likewise.
10381 * gdb.btrace/tailcall.exp: Likewise.
10382 * gdb.btrace/tsx.exp: Likewise.
10383 * gdb.btrace/unknown_functions.exp: Likewise.
10384 * gdb.btrace/vdso.exp: Likewise.
10385
cd4007e4
MM
103862017-02-01 Markus Metzger <markus.t.metzger@intel.com>
10387
10388 * gdb.btrace/enable-running.c: New.
10389 * gdb.btrace/enable-running.exp: New.
10390
2735833d
WT
103912017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
10392
10393 * gdb.arch/amd64-gs_base.c: New file.
10394 * gdb.arch/amd64-gs_base.exp: New file.
10395
b51e1e94
LM
103962017-01-26 Luis Machado <lgustavo@codesourcery.com>
10397
10398 * lib/memory.exp: Remove spurious empty newlines.
10399
72ca0410
SM
104002017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
10401
10402 * gdb.python/py-bad-printers.exp: Load python file using "source".
10403 * gdb.python/py-events.exp: Likewise.
10404 * gdb.python/py-evsignal.exp: Likewise.
10405 * gdb.python/py-evthreads.exp: Likewise.
10406 * gdb.python/py-frame-args.exp: Likewise.
10407 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
10408 * gdb.python/py-framefilter-mi.exp: Likewise.
10409 * gdb.python/py-framefilter.exp: Likewise.
10410 * gdb.python/py-mi.exp: Likewise.
10411 * gdb.python/py-pp-maint.exp: Likewise.
10412 * gdb.python/py-pp-registration.exp: Likewise.
10413 * gdb.python/py-prettyprint.exp: Likewise.
10414 (run_lang_tests): Likewise.
10415 * gdb.python/py-typeprint.exp: Likewise.
10416
e309aa65
LM
104172017-01-26 Luis Machado <lgustavo@codesourcery.com>
10418
10419 * lib/memory.exp: New file.
10420 * lib/gdb.exp: Load memory.exp.
10421 * gdb.base/memattr.exp (delete_memory): Move proc to
10422 lib/memory.exp and rename to delete_memory_regions.
10423 Replace delete_memory with delete_memory_regions.
10424 Cleanup memory regions before tests.
10425 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
10426 before tests.
10427
515aff23
LM
104282017-01-26 Luis Machado <lgustavo@codesourcery.com>
10429
10430 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
10431 files.
10432 (initialize): New function conditionally defined.
10433 (testcases): Move within conditional block.
10434 (main): Call initialize.
10435 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
10436 of gdb.reverse/insn-reverse.c.
10437 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
10438 gdb.reverse/insn-reverse.c.
10439
d8b49cf0
YQ
104402017-01-26 Yao Qi <yao.qi@linaro.org>
10441
10442 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
10443 disassemble on address 0.
10444
f13a9a0c
YQ
104452017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
10446 Yao Qi <yao.qi@linaro.org>
10447
10448 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
10449 * gdb.dwarf2/implptr-64bit.S: Remove.
10450 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
10451 variables in caller's context. Add DW_OP_implicit_value.
10452
5ac95241
YQ
104532017-01-25 Yao Qi <yao.qi@linaro.org>
10454
10455 * lib/dwarf.exp (Dwarf::_location): Handle
10456 DW_OP_GNU_implicit_pointer with proper size.
10457
23e82930
LM
104582017-01-20 Luis Machado <lgustavo@codesourcery.com>
10459
10460 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
10461 and add untested calls.
10462
d334ae25
LM
104632017-01-20 Luis Machado <lgustavo@codesourcery.com>
10464
10465 * gdb.python/python.exp: Check line number against what GDB thinks
10466 the line number is for func1.
10467
f5e6296e
IB
104682017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
10469
10470 * gdb.dlang/debug-expr.exp: New file.
10471
5b362f04
LM
104722016-12-23 Luis Machado <lgustavo@codesourcery.com>
10473
10474 Fix test names for the following files:
10475
10476 * gdb.ada/exec_changed.exp
10477 * gdb.ada/info_types.exp
10478 * gdb.arch/aarch64-atomic-inst.exp
10479 * gdb.arch/aarch64-fp.exp
10480 * gdb.arch/altivec-abi.exp
10481 * gdb.arch/altivec-regs.exp
10482 * gdb.arch/amd64-byte.exp
10483 * gdb.arch/amd64-disp-step.exp
10484 * gdb.arch/amd64-dword.exp
10485 * gdb.arch/amd64-entry-value-inline.exp
10486 * gdb.arch/amd64-entry-value-param.exp
10487 * gdb.arch/amd64-entry-value-paramref.exp
10488 * gdb.arch/amd64-entry-value.exp
10489 * gdb.arch/amd64-i386-address.exp
10490 * gdb.arch/amd64-invalid-stack-middle.exp
10491 * gdb.arch/amd64-invalid-stack-top.exp
10492 * gdb.arch/amd64-optimout-repeat.exp
10493 * gdb.arch/amd64-prologue-skip.exp
10494 * gdb.arch/amd64-prologue-xmm.exp
10495 * gdb.arch/amd64-stap-special-operands.exp
10496 * gdb.arch/amd64-stap-wrong-subexp.exp
10497 * gdb.arch/amd64-tailcall-cxx.exp
10498 * gdb.arch/amd64-tailcall-noret.exp
10499 * gdb.arch/amd64-tailcall-ret.exp
10500 * gdb.arch/amd64-tailcall-self.exp
10501 * gdb.arch/amd64-word.exp
10502 * gdb.arch/arm-bl-branch-dest.exp
10503 * gdb.arch/arm-disp-step.exp
10504 * gdb.arch/arm-neon.exp
10505 * gdb.arch/arm-single-step-kernel-helper.exp
10506 * gdb.arch/avr-flash-qualifier.exp
10507 * gdb.arch/disp-step-insn-reloc.exp
10508 * gdb.arch/e500-abi.exp
10509 * gdb.arch/e500-regs.exp
10510 * gdb.arch/ftrace-insn-reloc.exp
10511 * gdb.arch/i386-avx512.exp
10512 * gdb.arch/i386-bp_permanent.exp
10513 * gdb.arch/i386-byte.exp
10514 * gdb.arch/i386-cfi-notcurrent.exp
10515 * gdb.arch/i386-disp-step.exp
10516 * gdb.arch/i386-dr3-watch.exp
10517 * gdb.arch/i386-float.exp
10518 * gdb.arch/i386-gnu-cfi.exp
10519 * gdb.arch/i386-mpx-map.exp
10520 * gdb.arch/i386-mpx-sigsegv.exp
10521 * gdb.arch/i386-mpx-simple_segv.exp
10522 * gdb.arch/i386-mpx.exp
10523 * gdb.arch/i386-permbkpt.exp
10524 * gdb.arch/i386-prologue.exp
10525 * gdb.arch/i386-signal.exp
10526 * gdb.arch/i386-size-overlap.exp
10527 * gdb.arch/i386-unwind.exp
10528 * gdb.arch/i386-word.exp
10529 * gdb.arch/mips-fcr.exp
10530 * gdb.arch/powerpc-d128-regs.exp
10531 * gdb.arch/powerpc-stackless.exp
10532 * gdb.arch/ppc64-atomic-inst.exp
10533 * gdb.arch/s390-stackless.exp
10534 * gdb.arch/s390-tdbregs.exp
10535 * gdb.arch/s390-vregs.exp
10536 * gdb.arch/sparc-sysstep.exp
10537 * gdb.arch/thumb-bx-pc.exp
10538 * gdb.arch/thumb-singlestep.exp
10539 * gdb.arch/thumb2-it.exp
10540 * gdb.arch/vsx-regs.exp
10541 * gdb.asm/asm-source.exp
10542 * gdb.base/a2-run.exp
10543 * gdb.base/advance.exp
10544 * gdb.base/all-bin.exp
10545 * gdb.base/anon.exp
10546 * gdb.base/args.exp
10547 * gdb.base/arithmet.exp
10548 * gdb.base/async-shell.exp
10549 * gdb.base/async.exp
10550 * gdb.base/attach-pie-noexec.exp
10551 * gdb.base/attach-twice.exp
10552 * gdb.base/auto-load.exp
10553 * gdb.base/bang.exp
10554 * gdb.base/bitfields.exp
10555 * gdb.base/break-always.exp
10556 * gdb.base/break-caller-line.exp
10557 * gdb.base/break-entry.exp
10558 * gdb.base/break-inline.exp
10559 * gdb.base/break-on-linker-gcd-function.exp
10560 * gdb.base/break-probes.exp
10561 * gdb.base/break.exp
10562 * gdb.base/breakpoint-shadow.exp
10563 * gdb.base/call-ar-st.exp
10564 * gdb.base/call-sc.exp
10565 * gdb.base/call-signal-resume.exp
10566 * gdb.base/call-strs.exp
10567 * gdb.base/callfuncs.exp
10568 * gdb.base/catch-fork-static.exp
10569 * gdb.base/catch-gdb-caused-signals.exp
10570 * gdb.base/catch-load.exp
10571 * gdb.base/catch-signal-fork.exp
10572 * gdb.base/catch-signal.exp
10573 * gdb.base/catch-syscall.exp
10574 * gdb.base/charset.exp
10575 * gdb.base/checkpoint.exp
10576 * gdb.base/chng-syms.exp
10577 * gdb.base/code-expr.exp
10578 * gdb.base/code_elim.exp
10579 * gdb.base/commands.exp
10580 * gdb.base/completion.exp
10581 * gdb.base/complex.exp
10582 * gdb.base/cond-expr.exp
10583 * gdb.base/condbreak.exp
10584 * gdb.base/consecutive.exp
10585 * gdb.base/continue-all-already-running.exp
10586 * gdb.base/coredump-filter.exp
10587 * gdb.base/corefile.exp
10588 * gdb.base/dbx.exp
10589 * gdb.base/debug-expr.exp
10590 * gdb.base/define.exp
10591 * gdb.base/del.exp
10592 * gdb.base/disabled-location.exp
10593 * gdb.base/disasm-end-cu.exp
10594 * gdb.base/disasm-optim.exp
10595 * gdb.base/display.exp
10596 * gdb.base/duplicate-bp.exp
10597 * gdb.base/ena-dis-br.exp
10598 * gdb.base/ending-run.exp
10599 * gdb.base/enumval.exp
10600 * gdb.base/environ.exp
10601 * gdb.base/eu-strip-infcall.exp
10602 * gdb.base/eval-avoid-side-effects.exp
10603 * gdb.base/eval-skip.exp
10604 * gdb.base/exitsignal.exp
10605 * gdb.base/expand-psymtabs.exp
10606 * gdb.base/filesym.exp
10607 * gdb.base/find-unmapped.exp
10608 * gdb.base/finish.exp
10609 * gdb.base/float.exp
10610 * gdb.base/foll-exec-mode.exp
10611 * gdb.base/foll-exec.exp
10612 * gdb.base/foll-fork.exp
10613 * gdb.base/fortran-sym-case.exp
10614 * gdb.base/freebpcmd.exp
10615 * gdb.base/func-ptr.exp
10616 * gdb.base/func-ptrs.exp
10617 * gdb.base/funcargs.exp
10618 * gdb.base/gcore-buffer-overflow.exp
10619 * gdb.base/gcore-relro-pie.exp
10620 * gdb.base/gcore-relro.exp
10621 * gdb.base/gcore.exp
10622 * gdb.base/gdb1090.exp
10623 * gdb.base/gdb11530.exp
10624 * gdb.base/gdb11531.exp
10625 * gdb.base/gdb1821.exp
10626 * gdb.base/gdbindex-stabs.exp
10627 * gdb.base/gdbvars.exp
10628 * gdb.base/hbreak.exp
10629 * gdb.base/hbreak2.exp
10630 * gdb.base/included.exp
10631 * gdb.base/infcall-input.exp
10632 * gdb.base/inferior-died.exp
10633 * gdb.base/infnan.exp
10634 * gdb.base/info-macros.exp
10635 * gdb.base/info-os.exp
10636 * gdb.base/info-proc.exp
10637 * gdb.base/info-shared.exp
10638 * gdb.base/info-target.exp
10639 * gdb.base/infoline.exp
10640 * gdb.base/interp.exp
10641 * gdb.base/interrupt.exp
10642 * gdb.base/jit-reader.exp
10643 * gdb.base/jit-simple.exp
10644 * gdb.base/kill-after-signal.exp
10645 * gdb.base/kill-detach-inferiors-cmd.exp
10646 * gdb.base/label.exp
10647 * gdb.base/langs.exp
10648 * gdb.base/ldbl_e308.exp
10649 * gdb.base/line-symtabs.exp
10650 * gdb.base/linespecs.exp
10651 * gdb.base/list.exp
10652 * gdb.base/long_long.exp
10653 * gdb.base/longest-types.exp
10654 * gdb.base/maint.exp
10655 * gdb.base/max-value-size.exp
10656 * gdb.base/memattr.exp
10657 * gdb.base/mips_pro.exp
10658 * gdb.base/morestack.exp
10659 * gdb.base/moribund-step.exp
10660 * gdb.base/multi-forks.exp
10661 * gdb.base/nested-addr.exp
10662 * gdb.base/nextoverexit.exp
10663 * gdb.base/noreturn-finish.exp
10664 * gdb.base/noreturn-return.exp
10665 * gdb.base/nostdlib.exp
10666 * gdb.base/offsets.exp
10667 * gdb.base/opaque.exp
10668 * gdb.base/pc-fp.exp
10669 * gdb.base/permissions.exp
10670 * gdb.base/print-symbol-loading.exp
10671 * gdb.base/prologue-include.exp
10672 * gdb.base/psymtab.exp
10673 * gdb.base/ptype.exp
10674 * gdb.base/random-signal.exp
10675 * gdb.base/randomize.exp
10676 * gdb.base/range-stepping.exp
10677 * gdb.base/readline-ask.exp
10678 * gdb.base/recpar.exp
10679 * gdb.base/recurse.exp
10680 * gdb.base/relational.exp
10681 * gdb.base/restore.exp
10682 * gdb.base/return-nodebug.exp
10683 * gdb.base/return.exp
10684 * gdb.base/run-after-attach.exp
10685 * gdb.base/save-bp.exp
10686 * gdb.base/scope.exp
10687 * gdb.base/sect-cmd.exp
10688 * gdb.base/set-lang-auto.exp
10689 * gdb.base/set-noassign.exp
10690 * gdb.base/setvar.exp
10691 * gdb.base/sigall.exp
10692 * gdb.base/sigbpt.exp
10693 * gdb.base/siginfo-addr.exp
10694 * gdb.base/siginfo-infcall.exp
10695 * gdb.base/siginfo-obj.exp
10696 * gdb.base/siginfo.exp
10697 * gdb.base/signals-state-child.exp
10698 * gdb.base/signest.exp
10699 * gdb.base/sigstep.exp
10700 * gdb.base/sizeof.exp
10701 * gdb.base/skip.exp
10702 * gdb.base/solib-corrupted.exp
10703 * gdb.base/solib-nodir.exp
10704 * gdb.base/solib-search.exp
10705 * gdb.base/stack-checking.exp
10706 * gdb.base/stale-infcall.exp
10707 * gdb.base/stap-probe.exp
10708 * gdb.base/start.exp
10709 * gdb.base/step-break.exp
10710 * gdb.base/step-bt.exp
10711 * gdb.base/step-line.exp
10712 * gdb.base/step-over-exit.exp
10713 * gdb.base/step-over-syscall.exp
10714 * gdb.base/step-resume-infcall.exp
10715 * gdb.base/step-test.exp
10716 * gdb.base/store.exp
10717 * gdb.base/structs3.exp
10718 * gdb.base/sym-file.exp
10719 * gdb.base/symbol-without-target_section.exp
10720 * gdb.base/term.exp
10721 * gdb.base/testenv.exp
10722 * gdb.base/ui-redirect.exp
10723 * gdb.base/until.exp
10724 * gdb.base/unwindonsignal.exp
10725 * gdb.base/value-double-free.exp
10726 * gdb.base/vla-datatypes.exp
10727 * gdb.base/vla-ptr.exp
10728 * gdb.base/vla-sideeffect.exp
10729 * gdb.base/volatile.exp
10730 * gdb.base/watch-cond-infcall.exp
10731 * gdb.base/watch-cond.exp
10732 * gdb.base/watch-non-mem.exp
10733 * gdb.base/watch-read.exp
10734 * gdb.base/watch-vfork.exp
10735 * gdb.base/watchpoint-cond-gone.exp
10736 * gdb.base/watchpoint-delete.exp
10737 * gdb.base/watchpoint-hw-hit-once.exp
10738 * gdb.base/watchpoint-hw.exp
10739 * gdb.base/watchpoint-stops-at-right-insn.exp
10740 * gdb.base/watchpoints.exp
10741 * gdb.base/wchar.exp
10742 * gdb.base/whatis-exp.exp
10743 * gdb.btrace/buffer-size.exp
10744 * gdb.btrace/data.exp
10745 * gdb.btrace/delta.exp
10746 * gdb.btrace/dlopen.exp
10747 * gdb.btrace/enable.exp
10748 * gdb.btrace/exception.exp
10749 * gdb.btrace/function_call_history.exp
10750 * gdb.btrace/gcore.exp
10751 * gdb.btrace/instruction_history.exp
10752 * gdb.btrace/nohist.exp
10753 * gdb.btrace/reconnect.exp
10754 * gdb.btrace/record_goto-step.exp
10755 * gdb.btrace/record_goto.exp
10756 * gdb.btrace/rn-dl-bind.exp
10757 * gdb.btrace/segv.exp
10758 * gdb.btrace/step.exp
10759 * gdb.btrace/stepi.exp
10760 * gdb.btrace/tailcall-only.exp
10761 * gdb.btrace/tailcall.exp
10762 * gdb.btrace/tsx.exp
10763 * gdb.btrace/unknown_functions.exp
10764 * gdb.btrace/vdso.exp
10765 * gdb.compile/compile-ifunc.exp
10766 * gdb.compile/compile-ops.exp
10767 * gdb.compile/compile-print.exp
10768 * gdb.compile/compile-setjmp.exp
10769 * gdb.cp/abstract-origin.exp
10770 * gdb.cp/ambiguous.exp
10771 * gdb.cp/annota2.exp
10772 * gdb.cp/annota3.exp
10773 * gdb.cp/anon-ns.exp
10774 * gdb.cp/anon-struct.exp
10775 * gdb.cp/anon-union.exp
10776 * gdb.cp/arg-reference.exp
10777 * gdb.cp/baseenum.exp
10778 * gdb.cp/bool.exp
10779 * gdb.cp/breakpoint.exp
10780 * gdb.cp/bs15503.exp
10781 * gdb.cp/call-c.exp
10782 * gdb.cp/casts.exp
10783 * gdb.cp/chained-calls.exp
10784 * gdb.cp/class2.exp
10785 * gdb.cp/classes.exp
10786 * gdb.cp/cmpd-minsyms.exp
10787 * gdb.cp/converts.exp
10788 * gdb.cp/cp-relocate.exp
10789 * gdb.cp/cpcompletion.exp
10790 * gdb.cp/cpexprs.exp
10791 * gdb.cp/cplabel.exp
10792 * gdb.cp/cplusfuncs.exp
10793 * gdb.cp/cpsizeof.exp
10794 * gdb.cp/ctti.exp
10795 * gdb.cp/derivation.exp
10796 * gdb.cp/destrprint.exp
10797 * gdb.cp/dispcxx.exp
10798 * gdb.cp/enum-class.exp
10799 * gdb.cp/exception.exp
10800 * gdb.cp/exceptprint.exp
10801 * gdb.cp/expand-psymtabs-cxx.exp
10802 * gdb.cp/expand-sals.exp
10803 * gdb.cp/extern-c.exp
10804 * gdb.cp/filename.exp
10805 * gdb.cp/formatted-ref.exp
10806 * gdb.cp/fpointer.exp
10807 * gdb.cp/gdb1355.exp
10808 * gdb.cp/gdb2495.exp
10809 * gdb.cp/hang.exp
10810 * gdb.cp/impl-this.exp
10811 * gdb.cp/infcall-dlopen.exp
10812 * gdb.cp/inherit.exp
10813 * gdb.cp/iostream.exp
10814 * gdb.cp/koenig.exp
10815 * gdb.cp/local.exp
10816 * gdb.cp/m-data.exp
10817 * gdb.cp/m-static.exp
10818 * gdb.cp/mb-ctor.exp
10819 * gdb.cp/mb-inline.exp
10820 * gdb.cp/mb-templates.exp
10821 * gdb.cp/member-name.exp
10822 * gdb.cp/member-ptr.exp
10823 * gdb.cp/meth-typedefs.exp
10824 * gdb.cp/method.exp
10825 * gdb.cp/method2.exp
10826 * gdb.cp/minsym-fallback.exp
10827 * gdb.cp/misc.exp
10828 * gdb.cp/namelessclass.exp
10829 * gdb.cp/namespace-enum.exp
10830 * gdb.cp/namespace-nested-import.exp
10831 * gdb.cp/namespace.exp
10832 * gdb.cp/nextoverthrow.exp
10833 * gdb.cp/no-dmgl-verbose.exp
10834 * gdb.cp/non-trivial-retval.exp
10835 * gdb.cp/noparam.exp
10836 * gdb.cp/nsdecl.exp
10837 * gdb.cp/nsimport.exp
10838 * gdb.cp/nsnested.exp
10839 * gdb.cp/nsnoimports.exp
10840 * gdb.cp/nsrecurs.exp
10841 * gdb.cp/nsstress.exp
10842 * gdb.cp/nsusing.exp
10843 * gdb.cp/operator.exp
10844 * gdb.cp/oranking.exp
10845 * gdb.cp/overload-const.exp
10846 * gdb.cp/overload.exp
10847 * gdb.cp/ovldbreak.exp
10848 * gdb.cp/ovsrch.exp
10849 * gdb.cp/paren-type.exp
10850 * gdb.cp/parse-lang.exp
10851 * gdb.cp/pass-by-ref.exp
10852 * gdb.cp/pr-1023.exp
10853 * gdb.cp/pr-1210.exp
10854 * gdb.cp/pr-574.exp
10855 * gdb.cp/pr10687.exp
10856 * gdb.cp/pr12028.exp
10857 * gdb.cp/pr17132.exp
10858 * gdb.cp/pr17494.exp
10859 * gdb.cp/pr9067.exp
10860 * gdb.cp/pr9167.exp
10861 * gdb.cp/pr9631.exp
10862 * gdb.cp/printmethod.exp
10863 * gdb.cp/psmang.exp
10864 * gdb.cp/psymtab-parameter.exp
10865 * gdb.cp/ptype-cv-cp.exp
10866 * gdb.cp/ptype-flags.exp
10867 * gdb.cp/re-set-overloaded.exp
10868 * gdb.cp/ref-types.exp
10869 * gdb.cp/rtti.exp
10870 * gdb.cp/scope-err.exp
10871 * gdb.cp/shadow.exp
10872 * gdb.cp/smartp.exp
10873 * gdb.cp/static-method.exp
10874 * gdb.cp/static-print-quit.exp
10875 * gdb.cp/temargs.exp
10876 * gdb.cp/templates.exp
10877 * gdb.cp/try_catch.exp
10878 * gdb.cp/typedef-operator.exp
10879 * gdb.cp/typeid.exp
10880 * gdb.cp/userdef.exp
10881 * gdb.cp/using-crash.exp
10882 * gdb.cp/var-tag.exp
10883 * gdb.cp/virtbase.exp
10884 * gdb.cp/virtfunc.exp
10885 * gdb.cp/virtfunc2.exp
10886 * gdb.cp/vla-cxx.exp
10887 * gdb.disasm/t01_mov.exp
10888 * gdb.disasm/t02_mova.exp
10889 * gdb.disasm/t03_add.exp
10890 * gdb.disasm/t04_sub.exp
10891 * gdb.disasm/t05_cmp.exp
10892 * gdb.disasm/t06_ari2.exp
10893 * gdb.disasm/t07_ari3.exp
10894 * gdb.disasm/t08_or.exp
10895 * gdb.disasm/t09_xor.exp
10896 * gdb.disasm/t10_and.exp
10897 * gdb.disasm/t11_logs.exp
10898 * gdb.disasm/t12_bit.exp
10899 * gdb.disasm/t13_otr.exp
10900 * gdb.dlang/circular.exp
10901 * gdb.dwarf2/arr-stride.exp
10902 * gdb.dwarf2/arr-subrange.exp
10903 * gdb.dwarf2/atomic-type.exp
10904 * gdb.dwarf2/bad-regnum.exp
10905 * gdb.dwarf2/bitfield-parent-optimized-out.exp
10906 * gdb.dwarf2/callframecfa.exp
10907 * gdb.dwarf2/clztest.exp
10908 * gdb.dwarf2/corrupt.exp
10909 * gdb.dwarf2/data-loc.exp
10910 * gdb.dwarf2/dup-psym.exp
10911 * gdb.dwarf2/dw2-anon-mptr.exp
10912 * gdb.dwarf2/dw2-anonymous-func.exp
10913 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
10914 * gdb.dwarf2/dw2-bad-unresolved.exp
10915 * gdb.dwarf2/dw2-basic.exp
10916 * gdb.dwarf2/dw2-canonicalize-type.exp
10917 * gdb.dwarf2/dw2-case-insensitive.exp
10918 * gdb.dwarf2/dw2-common-block.exp
10919 * gdb.dwarf2/dw2-compdir-oldgcc.exp
10920 * gdb.dwarf2/dw2-compressed.exp
10921 * gdb.dwarf2/dw2-const.exp
10922 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
10923 * gdb.dwarf2/dw2-cu-size.exp
10924 * gdb.dwarf2/dw2-dup-frame.exp
10925 * gdb.dwarf2/dw2-entry-value.exp
10926 * gdb.dwarf2/dw2-icycle.exp
10927 * gdb.dwarf2/dw2-ifort-parameter.exp
10928 * gdb.dwarf2/dw2-inline-break.exp
10929 * gdb.dwarf2/dw2-inline-param.exp
10930 * gdb.dwarf2/dw2-intercu.exp
10931 * gdb.dwarf2/dw2-intermix.exp
10932 * gdb.dwarf2/dw2-lexical-block-bare.exp
10933 * gdb.dwarf2/dw2-linkage-name-trust.exp
10934 * gdb.dwarf2/dw2-minsym-in-cu.exp
10935 * gdb.dwarf2/dw2-noloc.exp
10936 * gdb.dwarf2/dw2-op-call.exp
10937 * gdb.dwarf2/dw2-op-out-param.exp
10938 * gdb.dwarf2/dw2-opt-structptr.exp
10939 * gdb.dwarf2/dw2-param-error.exp
10940 * gdb.dwarf2/dw2-producer.exp
10941 * gdb.dwarf2/dw2-ranges-base.exp
10942 * gdb.dwarf2/dw2-ref-missing-frame.exp
10943 * gdb.dwarf2/dw2-reg-undefined.exp
10944 * gdb.dwarf2/dw2-regno-invalid.exp
10945 * gdb.dwarf2/dw2-restore.exp
10946 * gdb.dwarf2/dw2-restrict.exp
10947 * gdb.dwarf2/dw2-single-line-discriminators.exp
10948 * gdb.dwarf2/dw2-strp.exp
10949 * gdb.dwarf2/dw2-undefined-ret-addr.exp
10950 * gdb.dwarf2/dw2-unresolved.exp
10951 * gdb.dwarf2/dw2-var-zero-addr.exp
10952 * gdb.dwarf2/dw4-sig-types.exp
10953 * gdb.dwarf2/dwz.exp
10954 * gdb.dwarf2/dynarr-ptr.exp
10955 * gdb.dwarf2/enum-type.exp
10956 * gdb.dwarf2/gdb-index.exp
10957 * gdb.dwarf2/implptr-64bit.exp
10958 * gdb.dwarf2/implptr-optimized-out.exp
10959 * gdb.dwarf2/implptr.exp
10960 * gdb.dwarf2/implref-array.exp
10961 * gdb.dwarf2/implref-const.exp
10962 * gdb.dwarf2/implref-global.exp
10963 * gdb.dwarf2/implref-struct.exp
10964 * gdb.dwarf2/mac-fileno.exp
10965 * gdb.dwarf2/main-subprogram.exp
10966 * gdb.dwarf2/member-ptr-forwardref.exp
10967 * gdb.dwarf2/method-ptr.exp
10968 * gdb.dwarf2/missing-sig-type.exp
10969 * gdb.dwarf2/nonvar-access.exp
10970 * gdb.dwarf2/opaque-type-lookup.exp
10971 * gdb.dwarf2/pieces-optimized-out.exp
10972 * gdb.dwarf2/pieces.exp
10973 * gdb.dwarf2/pr10770.exp
10974 * gdb.dwarf2/pr13961.exp
10975 * gdb.dwarf2/staticvirtual.exp
10976 * gdb.dwarf2/subrange.exp
10977 * gdb.dwarf2/symtab-producer.exp
10978 * gdb.dwarf2/trace-crash.exp
10979 * gdb.dwarf2/typeddwarf.exp
10980 * gdb.dwarf2/valop.exp
10981 * gdb.dwarf2/watch-notconst.exp
10982 * gdb.fortran/array-element.exp
10983 * gdb.fortran/charset.exp
10984 * gdb.fortran/common-block.exp
10985 * gdb.fortran/complex.exp
10986 * gdb.fortran/derived-type-function.exp
10987 * gdb.fortran/derived-type.exp
10988 * gdb.fortran/logical.exp
10989 * gdb.fortran/module.exp
10990 * gdb.fortran/multi-dim.exp
10991 * gdb.fortran/nested-funcs.exp
10992 * gdb.fortran/print-formatted.exp
10993 * gdb.fortran/subarray.exp
10994 * gdb.fortran/vla-alloc-assoc.exp
10995 * gdb.fortran/vla-datatypes.exp
10996 * gdb.fortran/vla-history.exp
10997 * gdb.fortran/vla-ptr-info.exp
10998 * gdb.fortran/vla-ptype-sub.exp
10999 * gdb.fortran/vla-ptype.exp
11000 * gdb.fortran/vla-sizeof.exp
11001 * gdb.fortran/vla-type.exp
11002 * gdb.fortran/vla-value-sub-arbitrary.exp
11003 * gdb.fortran/vla-value-sub-finish.exp
11004 * gdb.fortran/vla-value-sub.exp
11005 * gdb.fortran/vla-value.exp
11006 * gdb.fortran/whatis_type.exp
11007 * gdb.go/chan.exp
11008 * gdb.go/handcall.exp
11009 * gdb.go/hello.exp
11010 * gdb.go/integers.exp
11011 * gdb.go/methods.exp
11012 * gdb.go/package.exp
11013 * gdb.go/strings.exp
11014 * gdb.go/types.exp
11015 * gdb.go/unsafe.exp
11016 * gdb.guile/scm-arch.exp
11017 * gdb.guile/scm-block.exp
11018 * gdb.guile/scm-breakpoint.exp
11019 * gdb.guile/scm-cmd.exp
11020 * gdb.guile/scm-disasm.exp
11021 * gdb.guile/scm-equal.exp
11022 * gdb.guile/scm-frame-args.exp
11023 * gdb.guile/scm-frame-inline.exp
11024 * gdb.guile/scm-frame.exp
11025 * gdb.guile/scm-iterator.exp
11026 * gdb.guile/scm-math.exp
11027 * gdb.guile/scm-objfile.exp
11028 * gdb.guile/scm-ports.exp
11029 * gdb.guile/scm-symbol.exp
11030 * gdb.guile/scm-symtab.exp
11031 * gdb.guile/scm-value-cc.exp
11032 * gdb.guile/types-module.exp
11033 * gdb.linespec/break-ask.exp
11034 * gdb.linespec/cpexplicit.exp
11035 * gdb.linespec/explicit.exp
11036 * gdb.linespec/keywords.exp
11037 * gdb.linespec/linespec.exp
11038 * gdb.linespec/ls-dollar.exp
11039 * gdb.linespec/ls-errs.exp
11040 * gdb.linespec/skip-two.exp
11041 * gdb.linespec/thread.exp
11042 * gdb.mi/mi-async.exp
11043 * gdb.mi/mi-basics.exp
11044 * gdb.mi/mi-break.exp
11045 * gdb.mi/mi-catch-load.exp
11046 * gdb.mi/mi-cli.exp
11047 * gdb.mi/mi-cmd-param-changed.exp
11048 * gdb.mi/mi-console.exp
11049 * gdb.mi/mi-detach.exp
11050 * gdb.mi/mi-disassemble.exp
11051 * gdb.mi/mi-eval.exp
11052 * gdb.mi/mi-file-transfer.exp
11053 * gdb.mi/mi-file.exp
11054 * gdb.mi/mi-fill-memory.exp
11055 * gdb.mi/mi-inheritance-syntax-error.exp
11056 * gdb.mi/mi-linespec-err-cp.exp
11057 * gdb.mi/mi-logging.exp
11058 * gdb.mi/mi-memory-changed.exp
11059 * gdb.mi/mi-read-memory.exp
11060 * gdb.mi/mi-record-changed.exp
11061 * gdb.mi/mi-reg-undefined.exp
11062 * gdb.mi/mi-regs.exp
11063 * gdb.mi/mi-return.exp
11064 * gdb.mi/mi-reverse.exp
11065 * gdb.mi/mi-simplerun.exp
11066 * gdb.mi/mi-solib.exp
11067 * gdb.mi/mi-stack.exp
11068 * gdb.mi/mi-stepi.exp
11069 * gdb.mi/mi-syn-frame.exp
11070 * gdb.mi/mi-until.exp
11071 * gdb.mi/mi-var-block.exp
11072 * gdb.mi/mi-var-child.exp
11073 * gdb.mi/mi-var-cmd.exp
11074 * gdb.mi/mi-var-cp.exp
11075 * gdb.mi/mi-var-display.exp
11076 * gdb.mi/mi-var-invalidate.exp
11077 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
11078 * gdb.mi/mi-vla-fortran.exp
11079 * gdb.mi/mi-watch.exp
11080 * gdb.mi/mi2-var-child.exp
11081 * gdb.mi/user-selected-context-sync.exp
11082 * gdb.modula2/unbounded-array.exp
11083 * gdb.multi/dummy-frame-restore.exp
11084 * gdb.multi/multi-arch-exec.exp
11085 * gdb.multi/multi-arch.exp
11086 * gdb.multi/tids.exp
11087 * gdb.multi/watchpoint-multi.exp
11088 * gdb.opencl/callfuncs.exp
11089 * gdb.opencl/convs_casts.exp
11090 * gdb.opencl/datatypes.exp
11091 * gdb.opencl/operators.exp
11092 * gdb.opencl/vec_comps.exp
11093 * gdb.opt/clobbered-registers-O2.exp
11094 * gdb.opt/inline-break.exp
11095 * gdb.opt/inline-bt.exp
11096 * gdb.opt/inline-cmds.exp
11097 * gdb.opt/inline-locals.exp
11098 * gdb.pascal/case-insensitive-symbols.exp
11099 * gdb.pascal/floats.exp
11100 * gdb.pascal/gdb11492.exp
11101 * gdb.python/lib-types.exp
11102 * gdb.python/py-arch.exp
11103 * gdb.python/py-as-string.exp
11104 * gdb.python/py-bad-printers.exp
11105 * gdb.python/py-block.exp
11106 * gdb.python/py-breakpoint-create-fail.exp
11107 * gdb.python/py-breakpoint.exp
11108 * gdb.python/py-caller-is.exp
11109 * gdb.python/py-cmd.exp
11110 * gdb.python/py-explore-cc.exp
11111 * gdb.python/py-explore.exp
11112 * gdb.python/py-finish-breakpoint.exp
11113 * gdb.python/py-finish-breakpoint2.exp
11114 * gdb.python/py-frame-args.exp
11115 * gdb.python/py-frame-inline.exp
11116 * gdb.python/py-frame.exp
11117 * gdb.python/py-framefilter-mi.exp
11118 * gdb.python/py-infthread.exp
11119 * gdb.python/py-lazy-string.exp
11120 * gdb.python/py-linetable.exp
11121 * gdb.python/py-mi-events.exp
11122 * gdb.python/py-mi-objfile.exp
11123 * gdb.python/py-mi.exp
11124 * gdb.python/py-objfile.exp
11125 * gdb.python/py-pp-integral.exp
11126 * gdb.python/py-pp-maint.exp
11127 * gdb.python/py-pp-re-notag.exp
11128 * gdb.python/py-pp-registration.exp
11129 * gdb.python/py-recurse-unwind.exp
11130 * gdb.python/py-strfns.exp
11131 * gdb.python/py-symbol.exp
11132 * gdb.python/py-symtab.exp
11133 * gdb.python/py-sync-interp.exp
11134 * gdb.python/py-typeprint.exp
11135 * gdb.python/py-unwind-maint.exp
11136 * gdb.python/py-unwind.exp
11137 * gdb.python/py-value-cc.exp
11138 * gdb.python/py-xmethods.exp
11139 * gdb.reverse/amd64-tailcall-reverse.exp
11140 * gdb.reverse/break-precsave.exp
11141 * gdb.reverse/break-reverse.exp
11142 * gdb.reverse/consecutive-precsave.exp
11143 * gdb.reverse/consecutive-reverse.exp
11144 * gdb.reverse/finish-precsave.exp
11145 * gdb.reverse/finish-reverse-bkpt.exp
11146 * gdb.reverse/finish-reverse.exp
11147 * gdb.reverse/fstatat-reverse.exp
11148 * gdb.reverse/getresuid-reverse.exp
11149 * gdb.reverse/i386-precsave.exp
11150 * gdb.reverse/i386-reverse.exp
11151 * gdb.reverse/i386-sse-reverse.exp
11152 * gdb.reverse/i387-env-reverse.exp
11153 * gdb.reverse/i387-stack-reverse.exp
11154 * gdb.reverse/insn-reverse.exp
11155 * gdb.reverse/machinestate-precsave.exp
11156 * gdb.reverse/machinestate.exp
11157 * gdb.reverse/next-reverse-bkpt-over-sr.exp
11158 * gdb.reverse/pipe-reverse.exp
11159 * gdb.reverse/readv-reverse.exp
11160 * gdb.reverse/recvmsg-reverse.exp
11161 * gdb.reverse/rerun-prec.exp
11162 * gdb.reverse/s390-mvcle.exp
11163 * gdb.reverse/step-precsave.exp
11164 * gdb.reverse/step-reverse.exp
11165 * gdb.reverse/time-reverse.exp
11166 * gdb.reverse/until-precsave.exp
11167 * gdb.reverse/until-reverse.exp
11168 * gdb.reverse/waitpid-reverse.exp
11169 * gdb.reverse/watch-precsave.exp
11170 * gdb.reverse/watch-reverse.exp
11171 * gdb.rust/generics.exp
11172 * gdb.rust/methods.exp
11173 * gdb.rust/modules.exp
11174 * gdb.rust/simple.exp
11175 * gdb.server/connect-with-no-symbol-file.exp
11176 * gdb.server/ext-attach.exp
11177 * gdb.server/ext-restart.exp
11178 * gdb.server/ext-wrapper.exp
11179 * gdb.server/file-transfer.exp
11180 * gdb.server/server-exec-info.exp
11181 * gdb.server/server-kill.exp
11182 * gdb.server/server-mon.exp
11183 * gdb.server/wrapper.exp
11184 * gdb.stabs/exclfwd.exp
11185 * gdb.stabs/gdb11479.exp
11186 * gdb.threads/clone-new-thread-event.exp
11187 * gdb.threads/corethreads.exp
11188 * gdb.threads/current-lwp-dead.exp
11189 * gdb.threads/dlopen-libpthread.exp
11190 * gdb.threads/gcore-thread.exp
11191 * gdb.threads/sigstep-threads.exp
11192 * gdb.threads/watchpoint-fork.exp
11193 * gdb.trace/actions-changed.exp
11194 * gdb.trace/backtrace.exp
11195 * gdb.trace/change-loc.exp
11196 * gdb.trace/circ.exp
11197 * gdb.trace/collection.exp
11198 * gdb.trace/disconnected-tracing.exp
11199 * gdb.trace/ftrace.exp
11200 * gdb.trace/mi-trace-frame-collected.exp
11201 * gdb.trace/mi-trace-unavailable.exp
11202 * gdb.trace/mi-traceframe-changed.exp
11203 * gdb.trace/mi-tsv-changed.exp
11204 * gdb.trace/no-attach-trace.exp
11205 * gdb.trace/passc-dyn.exp
11206 * gdb.trace/qtro.exp
11207 * gdb.trace/range-stepping.exp
11208 * gdb.trace/read-memory.exp
11209 * gdb.trace/save-trace.exp
11210 * gdb.trace/signal.exp
11211 * gdb.trace/status-stop.exp
11212 * gdb.trace/tfile.exp
11213 * gdb.trace/trace-break.exp
11214 * gdb.trace/trace-buffer-size.exp
11215 * gdb.trace/trace-condition.exp
11216 * gdb.trace/tracefile-pseudo-reg.exp
11217 * gdb.trace/tstatus.exp
11218 * gdb.trace/unavailable.exp
11219 * gdb.trace/while-dyn.exp
11220 * gdb.trace/while-stepping.exp
11221
34c41c68
DE
112222016-12-22 Doug Evans <xdje42@gmail.com>
11223
11224 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
11225 and msymbols.
11226
16e69324
YQ
112272016-12-19 Yao Qi <yao.qi@linaro.org>
11228
11229 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
11230 (test_with_self): Don't call do_steps_and_nexts, and remove
11231 code about stepping into xmalloc.
11232
f94f411b
YQ
112332016-12-09 Yao Qi <yao.qi@linaro.org>
11234
11235 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
11236
112372016-12-09 Yao Qi <yao.qi@linaro.org>
11238
11239 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
11240
f1b5deee
PA
112412016-12-09 Pedro Alves <palves@redhat.com>
11242
11243 * gdb.base/all-architectures-0.exp: New file.
11244 * gdb.base/all-architectures-1.exp: New file.
11245 * gdb.base/all-architectures-2.exp: New file.
11246 * gdb.base/all-architectures-3.exp: New file.
11247 * gdb.base/all-architectures-4.exp: New file.
11248 * gdb.base/all-architectures-5.exp: New file.
11249 * gdb.base/all-architectures-6.exp: New file.
11250 * gdb.base/all-architectures-7.exp: New file.
11251 * gdb.base/all-architectures.exp.in: New file.
11252
364ca42e
YQ
112532016-12-09 Yao Qi <yao.qi@linaro.org>
11254
11255 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
11256
107c2d62
LM
112572016-12-02 Luis Machado <lgustavo@codesourcery.com>
11258
11259 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
11260 possible.
11261 Remove useless pattern-matching code.
11262
df3ee9ca
PA
112632016-12-02 Pedro Alves <palves@redhat.com>
11264
11265 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
11266 procedure.
11267 (top level): Call it.
11268
ec835369
PA
112692016-12-02 Pedro Alves <palves@redhat.com>
11270
11271 * gdb.base/commands.exp (user_defined_command_args_stack_test):
11272 New procedure.
11273 (top level): Call it.
11274
01770bbd
PA
112752016-12-02 Pedro Alves <palves@redhat.com>
11276
11277 PR cli/20559
11278 * gdb.base/commands.exp (user_defined_command_args_eval): New
11279 procedure.
11280 (top level): Call it.
11281
008459ea
LM
112822016-12-02 Luis Machado <lgustavo@codesourcery.com>
11283
11284 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
11285 timeout handling.
11286
0c1b455e
TT
112872016-12-02 Tom Tromey <tom@tromey.com>
11288
11289 * gdb.dwarf2/main-subprogram.c: New file.
11290 * gdb.dwarf2/main-subprogram.exp: New file.
11291
018572b8
LM
112922016-12-01 Luis Machado <lgustavo@codesourcery.com>
11293
11294 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
11295 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
11296 gdb_test_no_output for a couple of cases.
11297 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
11298
84c93cd5
LM
112992016-12-01 Luis Machado <lgustavo@codesourcery.com>
11300
11301 Fix test names and standardize compilation error messages throughout
11302 the following files:
11303
11304 * gdb.ada/start.exp
11305 * gdb.arch/alpha-step.exp
11306 * gdb.arch/e500-prologue.exp
11307 * gdb.arch/ftrace-insn-reloc.exp
11308 * gdb.arch/gdb1291.exp
11309 * gdb.arch/gdb1431.exp
11310 * gdb.arch/gdb1558.exp
11311 * gdb.arch/i386-dr3-watch.exp
11312 * gdb.arch/i386-sse-stack-align.exp
11313 * gdb.arch/ia64-breakpoint-shadow.exp
11314 * gdb.arch/pa-nullify.exp
11315 * gdb.arch/powerpc-aix-prologue.exp
11316 * gdb.arch/thumb-bx-pc.exp
11317 * gdb.base/annota1.exp
11318 * gdb.base/annota3.exp
11319 * gdb.base/arrayidx.exp
11320 * gdb.base/assign.exp
11321 * gdb.base/attach.exp
11322 * gdb.base/auxv.exp
11323 * gdb.base/bang.exp
11324 * gdb.base/bfp-test.exp
11325 * gdb.base/bigcore.exp
11326 * gdb.base/bitfields2.exp
11327 * gdb.base/break-fun-addr.exp
11328 * gdb.base/break-probes.exp
11329 * gdb.base/call-rt-st.exp
11330 * gdb.base/callexit.exp
11331 * gdb.base/catch-fork-kill.exp
11332 * gdb.base/charset.exp
11333 * gdb.base/checkpoint.exp
11334 * gdb.base/comprdebug.exp
11335 * gdb.base/constvars.exp
11336 * gdb.base/coredump-filter.exp
11337 * gdb.base/cursal.exp
11338 * gdb.base/cvexpr.exp
11339 * gdb.base/detach.exp
11340 * gdb.base/display.exp
11341 * gdb.base/dmsym.exp
11342 * gdb.base/dprintf-pending.exp
11343 * gdb.base/dso2dso.exp
11344 * gdb.base/dtrace-probe.exp
11345 * gdb.base/dump.exp
11346 * gdb.base/enum_cond.exp
11347 * gdb.base/exe-lock.exp
11348 * gdb.base/exec-invalid-sysroot.exp
11349 * gdb.base/execl-update-breakpoints.exp
11350 * gdb.base/exprs.exp
11351 * gdb.base/fileio.exp
11352 * gdb.base/find.exp
11353 * gdb.base/finish.exp
11354 * gdb.base/fixsection.exp
11355 * gdb.base/foll-vfork.exp
11356 * gdb.base/frame-args.exp
11357 * gdb.base/gcore.exp
11358 * gdb.base/gdb1250.exp
11359 * gdb.base/global-var-nested-by-dso.exp
11360 * gdb.base/gnu-ifunc.exp
11361 * gdb.base/hashline1.exp
11362 * gdb.base/hashline2.exp
11363 * gdb.base/hashline3.exp
11364 * gdb.base/hbreak-in-shr-unsupported.exp
11365 * gdb.base/huge.exp
11366 * gdb.base/infcall-input.exp
11367 * gdb.base/info-fun.exp
11368 * gdb.base/info-shared.exp
11369 * gdb.base/jit-simple.exp
11370 * gdb.base/jit-so.exp
11371 * gdb.base/jit.exp
11372 * gdb.base/jump.exp
11373 * gdb.base/label.exp
11374 * gdb.base/lineinc.exp
11375 * gdb.base/logical.exp
11376 * gdb.base/longjmp.exp
11377 * gdb.base/macscp.exp
11378 * gdb.base/miscexprs.exp
11379 * gdb.base/new-ui-echo.exp
11380 * gdb.base/new-ui-pending-input.exp
11381 * gdb.base/new-ui.exp
11382 * gdb.base/nodebug.exp
11383 * gdb.base/nofield.exp
11384 * gdb.base/offsets.exp
11385 * gdb.base/overlays.exp
11386 * gdb.base/pending.exp
11387 * gdb.base/pointers.exp
11388 * gdb.base/pr11022.exp
11389 * gdb.base/printcmds.exp
11390 * gdb.base/prologue.exp
11391 * gdb.base/ptr-typedef.exp
11392 * gdb.base/realname-expand.exp
11393 * gdb.base/relativedebug.exp
11394 * gdb.base/relocate.exp
11395 * gdb.base/remote.exp
11396 * gdb.base/reread.exp
11397 * gdb.base/return2.exp
11398 * gdb.base/savedregs.exp
11399 * gdb.base/sep.exp
11400 * gdb.base/sepdebug.exp
11401 * gdb.base/sepsymtab.exp
11402 * gdb.base/set-inferior-tty.exp
11403 * gdb.base/setshow.exp
11404 * gdb.base/shlib-call.exp
11405 * gdb.base/sigaltstack.exp
11406 * gdb.base/siginfo-addr.exp
11407 * gdb.base/signals.exp
11408 * gdb.base/signull.exp
11409 * gdb.base/sigrepeat.exp
11410 * gdb.base/so-impl-ld.exp
11411 * gdb.base/solib-display.exp
11412 * gdb.base/solib-overlap.exp
11413 * gdb.base/solib-search.exp
11414 * gdb.base/solib-symbol.exp
11415 * gdb.base/structs.exp
11416 * gdb.base/structs2.exp
11417 * gdb.base/symtab-search-order.exp
11418 * gdb.base/twice.exp
11419 * gdb.base/unload.exp
11420 * gdb.base/varargs.exp
11421 * gdb.base/watchpoint-solib.exp
11422 * gdb.base/watchpoint.exp
11423 * gdb.base/whatis.exp
11424 * gdb.base/wrong_frame_bt_full.exp
11425 * gdb.btrace/dlopen.exp
11426 * gdb.cell/ea-standalone.exp
11427 * gdb.cell/ea-test.exp
11428 * gdb.cp/dispcxx.exp
11429 * gdb.cp/gdb2384.exp
11430 * gdb.cp/method2.exp
11431 * gdb.cp/nextoverthrow.exp
11432 * gdb.cp/pr10728.exp
11433 * gdb.disasm/am33.exp
11434 * gdb.disasm/h8300s.exp
11435 * gdb.disasm/mn10300.exp
11436 * gdb.disasm/sh3.exp
11437 * gdb.dwarf2/dw2-dir-file-name.exp
11438 * gdb.fortran/complex.exp
11439 * gdb.fortran/library-module.exp
11440 * gdb.guile/scm-pretty-print.exp
11441 * gdb.guile/scm-symbol.exp
11442 * gdb.guile/scm-type.exp
11443 * gdb.guile/scm-value.exp
11444 * gdb.linespec/linespec.exp
11445 * gdb.mi/gdb701.exp
11446 * gdb.mi/gdb792.exp
11447 * gdb.mi/mi-breakpoint-changed.exp
11448 * gdb.mi/mi-dprintf-pending.exp
11449 * gdb.mi/mi-dprintf.exp
11450 * gdb.mi/mi-exit-code.exp
11451 * gdb.mi/mi-pending.exp
11452 * gdb.mi/mi-solib.exp
11453 * gdb.mi/new-ui-mi-sync.exp
11454 * gdb.mi/pr11022.exp
11455 * gdb.mi/user-selected-context-sync.exp
11456 * gdb.opt/solib-intra-step.exp
11457 * gdb.python/py-events.exp
11458 * gdb.python/py-finish-breakpoint.exp
11459 * gdb.python/py-mi.exp
11460 * gdb.python/py-prettyprint.exp
11461 * gdb.python/py-shared.exp
11462 * gdb.python/py-symbol.exp
11463 * gdb.python/py-template.exp
11464 * gdb.python/py-type.exp
11465 * gdb.python/py-value.exp
11466 * gdb.reverse/solib-precsave.exp
11467 * gdb.reverse/solib-reverse.exp
11468 * gdb.server/solib-list.exp
11469 * gdb.stabs/weird.exp
11470 * gdb.threads/reconnect-signal.exp
11471 * gdb.threads/stepi-random-signal.exp
11472 * gdb.trace/actions.exp
11473 * gdb.trace/ax.exp
11474 * gdb.trace/backtrace.exp
11475 * gdb.trace/change-loc.exp
11476 * gdb.trace/deltrace.exp
11477 * gdb.trace/ftrace-lock.exp
11478 * gdb.trace/ftrace.exp
11479 * gdb.trace/infotrace.exp
11480 * gdb.trace/mi-tracepoint-changed.exp
11481 * gdb.trace/packetlen.exp
11482 * gdb.trace/passcount.exp
11483 * gdb.trace/pending.exp
11484 * gdb.trace/range-stepping.exp
11485 * gdb.trace/report.exp
11486 * gdb.trace/stap-trace.exp
11487 * gdb.trace/tfind.exp
11488 * gdb.trace/trace-break.exp
11489 * gdb.trace/trace-condition.exp
11490 * gdb.trace/trace-enable-disable.exp
11491 * gdb.trace/trace-mt.exp
11492 * gdb.trace/tracecmd.exp
11493 * gdb.trace/tspeed.exp
11494 * gdb.trace/tsv.exp
11495 * lib/perftest.exp
11496
fb9feb35
LM
114972016-12-01 Luis Machado <lgustavo@codesourcery.com>
11498
11499 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
11500 with gdb_test_no_output.
11501 Use command as test name.
11502
cd2ddb6c
LM
115032016-12-01 Luis Machado <lgustavo@codesourcery.com>
11504
11505 Fix test names starting with uppercase throughout the files.
11506
11507 * gdb.ada/assign_1.exp
11508 * gdb.ada/boolean_expr.exp
11509 * gdb.base/arrayidx.exp
11510 * gdb.base/del.exp
11511 * gdb.base/gcore-buffer-overflow.exp
11512 * gdb.base/testenv.exp
11513 * gdb.compile/compile.exp
11514 * gdb.python/py-framefilter-invalidarg.exp
11515 * gdb.python/py-framefilter.exp
11516
bb95117e
LM
115172016-12-01 Luis Machado <lgustavo@codesourcery.com>
11518
11519 Fix test names starting with uppercase throughout the files.
11520
11521 * gdb.ada/array_return.exp
11522 * gdb.ada/expr_delims.exp
11523 * gdb.ada/mi_dyn_arr.exp
11524 * gdb.ada/mi_interface.exp
11525 * gdb.ada/mi_var_array.exp
11526 * gdb.ada/watch_arg.exp
11527 * gdb.arch/alpha-step.exp
11528 * gdb.arch/altivec-regs.exp
11529 * gdb.arch/e500-regs.exp
11530 * gdb.arch/powerpc-d128-regs.exp
11531 * gdb.base/arrayidx.exp
11532 * gdb.base/break.exp
11533 * gdb.base/checkpoint.exp
11534 * gdb.base/debug-expr.exp
11535 * gdb.base/dmsym.exp
11536 * gdb.base/radix.exp
11537 * gdb.base/sepdebug.exp
11538 * gdb.base/testenv.exp
11539 * gdb.base/watch_thread_num.exp
11540 * gdb.base/watchpoint-cond-gone.exp
11541 * gdb.cell/break.exp
11542 * gdb.cell/ea-cache.exp
11543 * gdb.compile/compile.exp
11544 * gdb.cp/gdb2495.exp
11545 * gdb.gdb/selftest.exp
11546 * gdb.gdb/xfullpath.exp
11547 * gdb.go/hello.exp
11548 * gdb.go/integers.exp
11549 * gdb.objc/basicclass.exp
11550 * gdb.pascal/hello.exp
11551 * gdb.pascal/integers.exp
11552 * gdb.python/py-breakpoint.exp
11553 * gdb.python/py-cmd.exp
11554 * gdb.python/py-linetable.exp
11555 * gdb.python/py-xmethods.exp
11556 * gdb.python/python.exp
11557 * gdb.reverse/consecutive-precsave.exp
11558 * gdb.reverse/finish-precsave.exp
11559 * gdb.reverse/i386-precsave.exp
11560 * gdb.reverse/machinestate-precsave.exp
11561 * gdb.reverse/sigall-precsave.exp
11562 * gdb.reverse/solib-precsave.exp
11563 * gdb.reverse/step-precsave.exp
11564 * gdb.reverse/until-precsave.exp
11565 * gdb.reverse/watch-precsave.exp
11566 * gdb.threads/leader-exit.exp
11567 * gdb.threads/pthreads.exp
11568 * gdb.threads/wp-replication.exp
11569 * gdb.trace/actions.exp
11570 * gdb.trace/mi-tsv-changed.exp
11571 * gdb.trace/tsv.exp
11572
de97fdd4
LM
115732016-12-01 Luis Machado <lgustavo@codesourcery.com>
11574
11575 Fix test names starting with uppercase throughout the files.
11576
11577 * gdb.arch/i386-bp_permanent.exp
11578 * gdb.arch/i386-gnu-cfi.exp
11579 * gdb.base/disasm-end-cu.exp
11580 * gdb.base/macscp.exp
11581 * gdb.base/pending.exp
11582 * gdb.base/watch_thread_num.exp
11583 * gdb.cp/exception.exp
11584 * gdb.cp/gdb2495.exp
11585 * gdb.cp/local.exp
11586 * gdb.python/py-evsignal.exp
11587 * gdb.python/python.exp
11588 * gdb.trace/tracecmd.exp
11589
9f058c10
LM
115902016-12-01 Luis Machado <lgustavo@codesourcery.com>
11591
11592 Fix test names starting with uppercase throughout the files.
11593
11594 * gdb.base/charset.exp
11595 * gdb.base/eval.exp
11596 * gdb.base/multi-forks.exp
11597 * gdb.guile/scm-progspace.exp
11598 * gdb.opencl/datatypes.exp
11599 * gdb.python/py-block.exp
11600 * gdb.python/py-function.exp
11601 * gdb.python/py-symbol.exp
11602 * gdb.python/py-symtab.exp
11603 * gdb.python/py-xmethods.exp
11604 * gdb.reverse/break-precsave.exp
11605 * gdb.reverse/break-reverse.exp
11606 * gdb.reverse/consecutive-precsave.exp
11607 * gdb.reverse/consecutive-reverse.exp
11608 * gdb.reverse/finish-precsave.exp
11609 * gdb.reverse/finish-reverse-bkpt.exp
11610 * gdb.reverse/finish-reverse.exp
11611 * gdb.reverse/fstatat-reverse.exp
11612 * gdb.reverse/getresuid-reverse.exp
11613 * gdb.reverse/i386-precsave.exp
11614 * gdb.reverse/i386-reverse.exp
11615 * gdb.reverse/i386-sse-reverse.exp
11616 * gdb.reverse/i387-stack-reverse.exp
11617 * gdb.reverse/insn-reverse.exp
11618 * gdb.reverse/machinestate-precsave.exp
11619 * gdb.reverse/machinestate.exp
11620 * gdb.reverse/next-reverse-bkpt-over-sr.exp
11621 * gdb.reverse/pipe-reverse.exp
11622 * gdb.reverse/readv-reverse.exp
11623 * gdb.reverse/recvmsg-reverse.exp
11624 * gdb.reverse/rerun-prec.exp
11625 * gdb.reverse/s390-mvcle.exp
11626 * gdb.reverse/sigall-precsave.exp
11627 * gdb.reverse/sigall-reverse.exp
11628 * gdb.reverse/solib-precsave.exp
11629 * gdb.reverse/solib-reverse.exp
11630 * gdb.reverse/step-precsave.exp
11631 * gdb.reverse/step-reverse.exp
11632 * gdb.reverse/time-reverse.exp
11633 * gdb.reverse/until-precsave.exp
11634 * gdb.reverse/until-reverse.exp
11635 * gdb.reverse/waitpid-reverse.exp
11636 * gdb.reverse/watch-precsave.exp
11637 * gdb.reverse/watch-reverse.exp
11638
cdc7edd7
LM
116392016-12-01 Luis Machado <lgustavo@codesourcery.com>
11640
11641 Fix test names starting with uppercase throughout the files.
11642
11643 * gdb.arch/i386-mpx-simple_segv.exp
11644 * gdb.arch/i386-mpx.exp
11645 * gdb.arch/i386-permbkpt.exp
11646 * gdb.arch/pa-nullify.exp
11647 * gdb.arch/powerpc-d128-regs.exp
11648 * gdb.arch/vsx-regs.exp
11649 * gdb.base/bfp-test.exp
11650 * gdb.base/break.exp
11651 * gdb.base/breakpoint-shadow.exp
11652 * gdb.base/callfuncs.exp
11653 * gdb.base/charset.exp
11654 * gdb.base/commands.exp
11655 * gdb.base/completion.exp
11656 * gdb.base/dfp-test.exp
11657 * gdb.base/echo.exp
11658 * gdb.base/ending-run.exp
11659 * gdb.base/eval.exp
11660 * gdb.base/expand-psymtabs.exp
11661 * gdb.base/float128.exp
11662 * gdb.base/floatn.exp
11663 * gdb.base/foll-exec-mode.exp
11664 * gdb.base/gdb1056.exp
11665 * gdb.base/gdb11531.exp
11666 * gdb.base/kill-after-signal.exp
11667 * gdb.base/multi-forks.exp
11668 * gdb.base/overlays.exp
11669 * gdb.base/pending.exp
11670 * gdb.base/sepdebug.exp
11671 * gdb.base/testenv.exp
11672 * gdb.base/valgrind-db-attach.exp
11673 * gdb.base/watch_thread_num.exp
11674 * gdb.base/watchpoint-cond-gone.exp
11675 * gdb.base/watchpoint.exp
11676 * gdb.base/watchpoints.exp
11677 * gdb.cp/arg-reference.exp
11678 * gdb.cp/baseenum.exp
11679 * gdb.cp/operator.exp
11680 * gdb.cp/shadow.exp
11681 * gdb.dwarf2/dw2-op-out-param.exp
11682 * gdb.dwarf2/dw2-reg-undefined.exp
11683 * gdb.go/chan.exp
11684 * gdb.go/hello.exp
11685 * gdb.go/integers.exp
11686 * gdb.go/methods.exp
11687 * gdb.go/package.exp
11688 * gdb.guile/scm-parameter.exp
11689 * gdb.guile/scm-progspace.exp
11690 * gdb.guile/scm-value.exp
11691 * gdb.mi/mi-pending.exp
11692 * gdb.mi/user-selected-context-sync.exp
11693 * gdb.multi/multi-attach.exp
11694 * gdb.multi/tids.exp
11695 * gdb.opt/clobbered-registers-O2.exp
11696 * gdb.pascal/floats.exp
11697 * gdb.pascal/integers.exp
11698 * gdb.python/py-block.exp
11699 * gdb.python/py-events.exp
11700 * gdb.python/py-parameter.exp
11701 * gdb.python/py-symbol.exp
11702 * gdb.python/py-symtab.exp
11703 * gdb.python/py-type.exp
11704 * gdb.python/py-value.exp
11705 * gdb.python/py-xmethods.exp
11706 * gdb.python/python.exp
11707 * gdb.reverse/break-precsave.exp
11708 * gdb.reverse/consecutive-precsave.exp
11709 * gdb.reverse/finish-precsave.exp
11710 * gdb.reverse/i386-precsave.exp
11711 * gdb.reverse/machinestate-precsave.exp
11712 * gdb.reverse/sigall-precsave.exp
11713 * gdb.reverse/solib-precsave.exp
11714 * gdb.reverse/step-precsave.exp
11715 * gdb.reverse/until-precsave.exp
11716 * gdb.reverse/watch-precsave.exp
11717 * gdb.server/ext-attach.exp
11718 * gdb.server/ext-restart.exp
11719 * gdb.server/ext-run.exp
11720 * gdb.server/ext-wrapper.exp
11721 * gdb.stabs/gdb11479.exp
11722 * gdb.stabs/weird.exp
11723 * gdb.threads/attach-many-short-lived-threads.exp
11724 * gdb.threads/kill.exp
11725 * gdb.threads/watchpoint-fork.exp
11726
bc6c7af4
LM
117272016-12-01 Luis Machado <lgustavo@codesourcery.com>
11728
11729 Fix test names starting with uppercase throughout all the files below.
11730
11731 * gdb.ada/array_return.exp
11732 * gdb.ada/catch_ex.exp
11733 * gdb.ada/info_exc.exp
11734 * gdb.ada/mi_catch_ex.exp
11735 * gdb.ada/mi_dyn_arr.exp
11736 * gdb.ada/mi_ex_cond.exp
11737 * gdb.ada/mi_exc_info.exp
11738 * gdb.ada/mi_interface.exp
11739 * gdb.ada/mi_task_arg.exp
11740 * gdb.ada/mi_task_info.exp
11741 * gdb.ada/mi_var_array.exp
11742 * gdb.arch/alpha-step.exp
11743 * gdb.arch/amd64-disp-step.exp
11744 * gdb.arch/arm-disp-step.exp
11745 * gdb.arch/disp-step-insn-reloc.exp
11746 * gdb.arch/e500-prologue.exp
11747 * gdb.arch/ftrace-insn-reloc.exp
11748 * gdb.arch/gdb1558.exp
11749 * gdb.arch/i386-bp_permanent.exp
11750 * gdb.arch/i386-disp-step.exp
11751 * gdb.arch/i386-float.exp
11752 * gdb.arch/i386-gnu-cfi.exp
11753 * gdb.arch/ia64-breakpoint-shadow.exp
11754 * gdb.arch/mips16-thunks.exp
11755 * gdb.arch/pa-nullify.exp
11756 * gdb.arch/powerpc-aix-prologue.exp
11757 * gdb.arch/powerpc-power.exp
11758 * gdb.arch/ppc-dfp.exp
11759 * gdb.arch/s390-tdbregs.exp
11760 * gdb.arch/spu-info.exp
11761 * gdb.arch/spu-ls.exp
11762 * gdb.arch/thumb-bx-pc.exp
11763 * gdb.base/advance.exp
11764 * gdb.base/annota-input-while-running.exp
11765 * gdb.base/arrayidx.exp
11766 * gdb.base/asmlabel.exp
11767 * gdb.base/async.exp
11768 * gdb.base/attach-wait-input.exp
11769 * gdb.base/auto-connect-native-target.exp
11770 * gdb.base/batch-preserve-term-settings.exp
11771 * gdb.base/bfp-test.exp
11772 * gdb.base/bigcore.exp
11773 * gdb.base/bp-permanent.exp
11774 * gdb.base/break-always.exp
11775 * gdb.base/break-fun-addr.exp
11776 * gdb.base/break-idempotent.exp
11777 * gdb.base/break-main-file-remove-fail.exp
11778 * gdb.base/break-probes.exp
11779 * gdb.base/break-unload-file.exp
11780 * gdb.base/break.exp
11781 * gdb.base/call-ar-st.exp
11782 * gdb.base/call-rt-st.exp
11783 * gdb.base/call-sc.exp
11784 * gdb.base/call-signal-resume.exp
11785 * gdb.base/call-strs.exp
11786 * gdb.base/callexit.exp
11787 * gdb.base/callfuncs.exp
11788 * gdb.base/catch-gdb-caused-signals.exp
11789 * gdb.base/catch-signal-siginfo-cond.exp
11790 * gdb.base/catch-syscall.exp
11791 * gdb.base/compare-sections.exp
11792 * gdb.base/cond-eval-mode.exp
11793 * gdb.base/condbreak-call-false.exp
11794 * gdb.base/consecutive-step-over.exp
11795 * gdb.base/cursal.exp
11796 * gdb.base/disabled-location.exp
11797 * gdb.base/disasm-end-cu.exp
11798 * gdb.base/display.exp
11799 * gdb.base/double-prompt-target-event-error.exp
11800 * gdb.base/dprintf-bp-same-addr.exp
11801 * gdb.base/dprintf-detach.exp
11802 * gdb.base/dprintf-next.exp
11803 * gdb.base/dprintf-non-stop.exp
11804 * gdb.base/dprintf-pending.exp
11805 * gdb.base/dso2dso.exp
11806 * gdb.base/ending-run.exp
11807 * gdb.base/enum_cond.exp
11808 * gdb.base/examine-backward.exp
11809 * gdb.base/exe-lock.exp
11810 * gdb.base/exec-invalid-sysroot.exp
11811 * gdb.base/execl-update-breakpoints.exp
11812 * gdb.base/execution-termios.exp
11813 * gdb.base/fileio.exp
11814 * gdb.base/fixsection.exp
11815 * gdb.base/foll-exec-mode.exp
11816 * gdb.base/foll-exec.exp
11817 * gdb.base/fork-running-state.exp
11818 * gdb.base/frame-args.exp
11819 * gdb.base/fullpath-expand.exp
11820 * gdb.base/func-ptr.exp
11821 * gdb.base/gcore-relro-pie.exp
11822 * gdb.base/gdb1090.exp
11823 * gdb.base/gdb1555.exp
11824 * gdb.base/global-var-nested-by-dso.exp
11825 * gdb.base/gnu-ifunc.exp
11826 * gdb.base/hbreak-in-shr-unsupported.exp
11827 * gdb.base/hbreak-unmapped.exp
11828 * gdb.base/hook-stop.exp
11829 * gdb.base/infcall-input.exp
11830 * gdb.base/info-fun.exp
11831 * gdb.base/info-shared.exp
11832 * gdb.base/interrupt-noterm.exp
11833 * gdb.base/jit-so.exp
11834 * gdb.base/jit.exp
11835 * gdb.base/line-symtabs.exp
11836 * gdb.base/list.exp
11837 * gdb.base/longjmp.exp
11838 * gdb.base/macscp.exp
11839 * gdb.base/max-value-size.exp
11840 * gdb.base/nodebug.exp
11841 * gdb.base/nofield.exp
11842 * gdb.base/overlays.exp
11843 * gdb.base/paginate-after-ctrl-c-running.exp
11844 * gdb.base/paginate-bg-execution.exp
11845 * gdb.base/paginate-inferior-exit.exp
11846 * gdb.base/pending.exp
11847 * gdb.base/pr11022.exp
11848 * gdb.base/printcmds.exp
11849 * gdb.base/ptr-typedef.exp
11850 * gdb.base/ptype.exp
11851 * gdb.base/randomize.exp
11852 * gdb.base/range-stepping.exp
11853 * gdb.base/realname-expand.exp
11854 * gdb.base/relativedebug.exp
11855 * gdb.base/remote.exp
11856 * gdb.base/savedregs.exp
11857 * gdb.base/sepdebug.exp
11858 * gdb.base/set-noassign.exp
11859 * gdb.base/shlib-call.exp
11860 * gdb.base/shreloc.exp
11861 * gdb.base/sigaltstack.exp
11862 * gdb.base/sigbpt.exp
11863 * gdb.base/siginfo-addr.exp
11864 * gdb.base/siginfo-obj.exp
11865 * gdb.base/siginfo-thread.exp
11866 * gdb.base/signest.exp
11867 * gdb.base/signull.exp
11868 * gdb.base/sigrepeat.exp
11869 * gdb.base/skip.exp
11870 * gdb.base/so-impl-ld.exp
11871 * gdb.base/solib-corrupted.exp
11872 * gdb.base/solib-disc.exp
11873 * gdb.base/solib-display.exp
11874 * gdb.base/solib-overlap.exp
11875 * gdb.base/solib-search.exp
11876 * gdb.base/solib-symbol.exp
11877 * gdb.base/source-execution.exp
11878 * gdb.base/sss-bp-on-user-bp-2.exp
11879 * gdb.base/sss-bp-on-user-bp.exp
11880 * gdb.base/stack-checking.exp
11881 * gdb.base/stale-infcall.exp
11882 * gdb.base/step-break.exp
11883 * gdb.base/step-line.exp
11884 * gdb.base/step-over-exit.exp
11885 * gdb.base/step-test.exp
11886 * gdb.base/structs.exp
11887 * gdb.base/sym-file.exp
11888 * gdb.base/symtab-search-order.exp
11889 * gdb.base/term.exp
11890 * gdb.base/type-opaque.exp
11891 * gdb.base/unload.exp
11892 * gdb.base/until-nodebug.exp
11893 * gdb.base/until.exp
11894 * gdb.base/unwindonsignal.exp
11895 * gdb.base/watch-cond.exp
11896 * gdb.base/watch-non-mem.exp
11897 * gdb.base/watch_thread_num.exp
11898 * gdb.base/watchpoint-reuse-slot.exp
11899 * gdb.base/watchpoint-solib.exp
11900 * gdb.base/watchpoint.exp
11901 * gdb.btrace/dlopen.exp
11902 * gdb.cell/arch.exp
11903 * gdb.cell/break.exp
11904 * gdb.cell/bt.exp
11905 * gdb.cell/core.exp
11906 * gdb.cell/data.exp
11907 * gdb.cell/dwarfaddr.exp
11908 * gdb.cell/ea-cache.exp
11909 * gdb.cell/ea-standalone.exp
11910 * gdb.cell/ea-test.exp
11911 * gdb.cell/f-regs.exp
11912 * gdb.cell/fork.exp
11913 * gdb.cell/gcore.exp
11914 * gdb.cell/mem-access.exp
11915 * gdb.cell/ptype.exp
11916 * gdb.cell/registers.exp
11917 * gdb.cell/sizeof.exp
11918 * gdb.cell/solib-symbol.exp
11919 * gdb.cell/solib.exp
11920 * gdb.compile/compile-tls.exp
11921 * gdb.cp/exception.exp
11922 * gdb.cp/gdb2495.exp
11923 * gdb.cp/local.exp
11924 * gdb.cp/mb-inline.exp
11925 * gdb.cp/mb-templates.exp
11926 * gdb.cp/pr10687.exp
11927 * gdb.cp/pr9167.exp
11928 * gdb.cp/scope-err.exp
11929 * gdb.cp/templates.exp
11930 * gdb.cp/virtfunc.exp
11931 * gdb.dwarf2/dw2-dir-file-name.exp
11932 * gdb.dwarf2/dw2-single-line-discriminators.exp
11933 * gdb.fortran/complex.exp
11934 * gdb.fortran/library-module.exp
11935 * gdb.guile/guile.exp
11936 * gdb.guile/scm-cmd.exp
11937 * gdb.guile/scm-frame-inline.exp
11938 * gdb.guile/scm-objfile.exp
11939 * gdb.guile/scm-pretty-print.exp
11940 * gdb.guile/scm-symbol.exp
11941 * gdb.guile/scm-type.exp
11942 * gdb.guile/scm-value.exp
11943 * gdb.linespec/keywords.exp
11944 * gdb.linespec/ls-errs.exp
11945 * gdb.linespec/macro-relative.exp
11946 * gdb.linespec/thread.exp
11947 * gdb.mi/mi-breakpoint-changed.exp
11948 * gdb.mi/mi-dprintf-pending.exp
11949 * gdb.mi/mi-fullname-deleted.exp
11950 * gdb.mi/mi-logging.exp
11951 * gdb.mi/mi-pending.exp
11952 * gdb.mi/mi-solib.exp
11953 * gdb.mi/new-ui-mi-sync.exp
11954 * gdb.mi/user-selected-context-sync.exp
11955 * gdb.multi/dummy-frame-restore.exp
11956 * gdb.multi/multi-arch-exec.exp
11957 * gdb.multi/remove-inferiors.exp
11958 * gdb.multi/watchpoint-multi-exit.exp
11959 * gdb.opt/solib-intra-step.exp
11960 * gdb.perf/backtrace.exp
11961 * gdb.perf/single-step.exp
11962 * gdb.perf/skip-command.exp
11963 * gdb.perf/skip-prologue.exp
11964 * gdb.perf/solib.exp
11965 * gdb.python/lib-types.exp
11966 * gdb.python/py-as-string.exp
11967 * gdb.python/py-bad-printers.exp
11968 * gdb.python/py-block.exp
11969 * gdb.python/py-breakpoint.exp
11970 * gdb.python/py-cmd.exp
11971 * gdb.python/py-events.exp
11972 * gdb.python/py-evthreads.exp
11973 * gdb.python/py-finish-breakpoint.exp
11974 * gdb.python/py-finish-breakpoint2.exp
11975 * gdb.python/py-frame-inline.exp
11976 * gdb.python/py-frame.exp
11977 * gdb.python/py-inferior.exp
11978 * gdb.python/py-infthread.exp
11979 * gdb.python/py-mi.exp
11980 * gdb.python/py-objfile.exp
11981 * gdb.python/py-pp-maint.exp
11982 * gdb.python/py-pp-registration.exp
11983 * gdb.python/py-prettyprint.exp
11984 * gdb.python/py-recurse-unwind.exp
11985 * gdb.python/py-shared.exp
11986 * gdb.python/py-symbol.exp
11987 * gdb.python/py-symtab.exp
11988 * gdb.python/py-template.exp
11989 * gdb.python/py-type.exp
11990 * gdb.python/py-unwind-maint.exp
11991 * gdb.python/py-unwind.exp
11992 * gdb.python/py-value.exp
11993 * gdb.python/python.exp
11994 * gdb.reverse/finish-reverse-bkpt.exp
11995 * gdb.reverse/insn-reverse.exp
11996 * gdb.reverse/next-reverse-bkpt-over-sr.exp
11997 * gdb.reverse/solib-precsave.exp
11998 * gdb.reverse/solib-reverse.exp
11999 * gdb.stabs/gdb11479.exp
12000 * gdb.stabs/weird.exp
12001 * gdb.threads/fork-child-threads.exp
12002 * gdb.threads/fork-plus-threads.exp
12003 * gdb.threads/fork-thread-pending.exp
12004 * gdb.threads/forking-threads-plus-breakpoint.exp
12005 * gdb.threads/hand-call-in-threads.exp
12006 * gdb.threads/interrupted-hand-call.exp
12007 * gdb.threads/linux-dp.exp
12008 * gdb.threads/local-watch-wrong-thread.exp
12009 * gdb.threads/next-while-other-thread-longjmps.exp
12010 * gdb.threads/non-ldr-exit.exp
12011 * gdb.threads/pending-step.exp
12012 * gdb.threads/print-threads.exp
12013 * gdb.threads/process-dies-while-detaching.exp
12014 * gdb.threads/process-dies-while-handling-bp.exp
12015 * gdb.threads/pthreads.exp
12016 * gdb.threads/queue-signal.exp
12017 * gdb.threads/reconnect-signal.exp
12018 * gdb.threads/signal-command-handle-nopass.exp
12019 * gdb.threads/signal-command-multiple-signals-pending.exp
12020 * gdb.threads/signal-delivered-right-thread.exp
12021 * gdb.threads/signal-sigtrap.exp
12022 * gdb.threads/sigthread.exp
12023 * gdb.threads/staticthreads.exp
12024 * gdb.threads/stepi-random-signal.exp
12025 * gdb.threads/thread-unwindonsignal.exp
12026 * gdb.threads/thread_check.exp
12027 * gdb.threads/thread_events.exp
12028 * gdb.threads/tid-reuse.exp
12029 * gdb.threads/tls-nodebug.exp
12030 * gdb.threads/tls-shared.exp
12031 * gdb.threads/tls-so_extern.exp
12032 * gdb.threads/tls.exp
12033 * gdb.threads/wp-replication.exp
12034 * gdb.trace/actions-changed.exp
12035 * gdb.trace/actions.exp
12036 * gdb.trace/backtrace.exp
12037 * gdb.trace/change-loc.exp
12038 * gdb.trace/collection.exp
12039 * gdb.trace/deltrace.exp
12040 * gdb.trace/disconnected-tracing.exp
12041 * gdb.trace/entry-values.exp
12042 * gdb.trace/ftrace-lock.exp
12043 * gdb.trace/ftrace.exp
12044 * gdb.trace/infotrace.exp
12045 * gdb.trace/mi-trace-frame-collected.exp
12046 * gdb.trace/mi-trace-unavailable.exp
12047 * gdb.trace/mi-traceframe-changed.exp
12048 * gdb.trace/mi-tracepoint-changed.exp
12049 * gdb.trace/mi-tsv-changed.exp
12050 * gdb.trace/no-attach-trace.exp
12051 * gdb.trace/packetlen.exp
12052 * gdb.trace/passc-dyn.exp
12053 * gdb.trace/passcount.exp
12054 * gdb.trace/pending.exp
12055 * gdb.trace/pr16508.exp
12056 * gdb.trace/qtro.exp
12057 * gdb.trace/range-stepping.exp
12058 * gdb.trace/read-memory.exp
12059 * gdb.trace/report.exp
12060 * gdb.trace/save-trace.exp
12061 * gdb.trace/signal.exp
12062 * gdb.trace/stap-trace.exp
12063 * gdb.trace/status-stop.exp
12064 * gdb.trace/strace.exp
12065 * gdb.trace/tfile.exp
12066 * gdb.trace/tfind.exp
12067 * gdb.trace/trace-break.exp
12068 * gdb.trace/trace-condition.exp
12069 * gdb.trace/trace-enable-disable.exp
12070 * gdb.trace/trace-mt.exp
12071 * gdb.trace/tracecmd.exp
12072 * gdb.trace/tracefile-pseudo-reg.exp
12073 * gdb.trace/tspeed.exp
12074 * gdb.trace/tstatus.exp
12075 * gdb.trace/tsv.exp
12076 * gdb.trace/unavailable.exp
12077 * gdb.trace/while-dyn.exp
12078 * gdb.trace/while-stepping.exp
12079 * lib/gdb-guile.exp
12080 * lib/gdb.exp
12081 * lib/mi-support.exp
12082 * lib/pascal.exp
12083 * lib/perftest.exp
12084 * lib/prelink-support.exp
12085 * lib/selftest-support.exp
12086
ad02e4fe
SM
120872016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
12088
12089 * Makefile.in: Include disable-implicit-rules.mk.
12090
22347e55
AA
120912016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12092
12093 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
12094 non-byte-aligned bit fields.
12095
da5b30da
AA
120962016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12097
12098 PR gdb/12616
12099 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
12100 respects the DW_AT_data_bit_offset attribute.
12101
b593ecca
SM
121022016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
12103
12104 * gdb.base/default.exp: Fix output of "set language".
12105
3b165252
SM
121062016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
12107
12108 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
12109 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
12110 make.
12111 * configure.ac: Remove checks for the make program.
12112 * configure: Re-generate.
12113
1a2f3d7f
KB
121142016-11-16 Kevin Buettner <kevinb@redhat.com>
12115
12116 * gdb.python/py-recurse-unwind.c (main): Add loop.
12117 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
12118 to read_register() and gdb.parse_and_eval(). Make each code
12119 call a separate case that can be individually tested.
12120 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
12121 proc. Call cont_and_backtrace for each of the code paths that
12122 we want to test in the unwinder.
12123
b7f38fda
AA
121242016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
12125
12126 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
12127 the definition of struct S.
12128
1f8db343
CM
121292016-11-11 Catherine Moore <clm@codesourcery.com>
12130
12131 * gdb.base/dump.exp: Identify verilog format dump tests as such.
12132
fad0c9fb
PA
121332016-11-09 Pedro Alves <palves@redhat.com>
12134
12135 * gdb.base/commands.exp (runto_or_return): New procedure.
12136 (gdbvar_simple_if_test, gdbvar_simple_while_test)
12137 (gdbvar_complex_if_while_test, progvar_simple_if_test)
12138 (progvar_simple_while_test, progvar_complex_if_while_test)
12139 (if_while_breakpoint_command_test)
12140 (infrun_breakpoint_command_test, breakpoint_command_test)
12141 (user_defined_command_test, watchpoint_command_test)
12142 (test_command_prompt_position, redefine_hook_test)
12143 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
12144 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
12145 multi_line_input and multi_line. Remove gdb_expect and
12146 gdb_stop_suppressing_tests uses.
12147 * lib/gdb.exp (valnum_re): New global.
12148 (multi_line_input): New procedure.
12149
8354c62c
SM
121502016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
12151
12152 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
12153 Remove.
12154 (test_setup): Define with proc_with_prefix.
12155 (test_cli_inferior): Likewise.
12156 (test_cli_thread): Likewise.
12157 (test_cli_frame): Likewise.
12158 (test_cli_select_frame): Likewise.
12159 (test_cli_up_down): Likewise.
12160 (test_mi_thread_select): Likewise.
12161 (test_mi_stack_select_frame): Likewise.
12162 (test_cli_in_mi_inferior): Likewise.
12163 (test_cli_in_mi_thread): Likewise.
12164 (test_cli_in_mi_frame): Likewise.
12165 (top level): Do not use with_test_prefix_procname.
12166
64f367a2
PA
121672016-11-09 Pedro Alves <palves@redhat.com>
12168
12169 * gdb.base/commands.exp (gdbvar_simple_if_test)
12170 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
12171 (progvar_simple_if_test, progvar_simple_while_test)
12172 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
12173 (infrun_breakpoint_command_test, breakpoint_command_test)
12174 (user_defined_command_test, watchpoint_command_test)
12175 (test_command_prompt_position, deprecated_command_test)
12176 (bp_deleted_in_command, temporary_breakpoint_commands)
12177 (stray_arg0_test, source_file_with_indented_comment)
12178 (recursive_source_test, if_commands_test)
12179 (error_clears_commands_left, redefine_hook_test)
12180 (redefine_backtrace_test): Use proc_with_prefix.
12181 * lib/gdb.exp (proc_with_prefix): New proc.
12182
0bb65f1e
AA
121832016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
12184
12185 * gdb.base/tui-layout.c: New file.
12186 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
12187 disassembly window contains very long lines.
12188
7353f247
TT
121892016-11-08 Tom Tromey <tom@tromey.com>
12190
12191 * gdb.python/py-value.exp (test_value_creation): Make "long" test
12192 depend on Python 2.
12193
30a7bb83
TT
121942016-11-08 Tom Tromey <tom@tromey.com>
12195
12196 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
12197 New method.
12198
cdf5a07c
MG
121992016-10-29 Manish Goregaokar <manish@mozilla.com>
12200
2806dc7e 12201 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 12202
51a789c3
MG
122032016-10-27 Manish Goregaokar <manish@mozilla.com>
12204
2806dc7e
PA
12205 * gdb.rust/simple.rs: Add test for univariant enums without
12206 discriminants and for encoded struct-like enums.
51a789c3 12207
f610ab6d
PA
122082016-10-28 Pedro Alves <palves@redhat.com>
12209
12210 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
12211 gdb_test_multiple, tighten regexps and match symtabs and line
12212 tables incrementally.
12213
b129b0ca
LM
122142016-10-28 Luis Machado <lgustavo@codesourcery.com>
12215
12216 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
12217 general.
12218
ecf45d2c
SL
122192016-10-25 Luis Machado <lgustavo@codesourcery.com>
12220
12221 * gdb.base/exec-invalid-sysroot.exp: New file.
12222
b8d38ee4
JK
122232016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
12224
12225 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
12226
f90fd8c2
JK
122272016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12228
12229 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
12230
2d2476aa
MR
122312016-10-19 Maciej W. Rozycki <macro@imgtec.com>
12232
2806dc7e
PA
12233 * gdb.base/killed-outside.exp: Remove $options from a call to
12234 `prepare_for_testing'.
2d2476aa 12235
e42b25a0
SM
122362016-10-17 Simon Marchi <simon.marchi@ericsson.com>
12237
12238 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
12239 Change test message.
12240
3ccdb432
SM
122412016-10-17 Simon Marchi <simon.marchi@ericsson.com>
12242
12243 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
12244 Update comment.
12245
5bad3170
SM
122462016-10-17 Simon Marchi <simon.marchi@ericsson.com>
12247
12248 * gdb.trace/mi-trace-save.exp: New file.
12249
5ad9dba7
YQ
122502016-10-13 Yao Qi <yao.qi@linaro.org>
12251
12252 * gdb.base/code_elim.exp (get_var_address): Remove.
12253 * gdb.base/relocate.exp: Likewise.
12254 * gdb.base/shreloc.exp: Likewise.
12255 * lib/gdb.exp (get_var_address): New.
12256
62df7e21
YQ
122572016-10-13 Yao Qi <yao.qi@linaro.org>
12258
12259 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
12260 floating point tests if $skip_float_test is false.
12261
4dac951e
LM
122622016-10-12 Luis Machado <lgustavo@codesourcery.com>
12263
12264 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
12265 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
12266 argc values.
12267 Add 1 to argc so we guarantee distinct initial/modified argc values.
12268
8f1a8fc4
JK
122692016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12270
12271 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
12272
16c85b5d
JK
122732016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12274
12275 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
12276 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
12277 * gdb.arch/vsx-regs.exp: Likewise.
12278
1d0e042a
YQ
122792016-10-07 Yao Qi <yao.qi@linaro.org>
12280
12281 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
12282
68dadef5
MM
122832016-10-07 Markus Metzger <markus.t.metzger@intel.com>
12284
12285 * gdb.python/python.exp: Test decode_line("*0").
12286
33fa2c6e
DE
122872016-10-06 Doug Evans <dje@google.com>
12288
12289 * gdb.python/py-value.exp (test_value_creation): Add test for large
12290 unsigned 64-bit value.
12291
9c37b5ae
TT
122922016-10-06 Tom Tromey <tom@tromey.com>
12293
12294 * gdb.compile/compile.exp: Change java tests to rust.
12295 * gdb.base/setshow.exp: Change java tests to rust.
12296 * gdb.base/default.exp: Remove java from language list.
12297 * README (Examples): Update language example.
12298 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
12299 test.
12300 * lib/gdb.exp (skip_java_tests): Remove.
12301 * lib/java.exp: Remove.
12302 * gdb.java: Remove.
12303
78b86327
MR
123042016-10-06 Maciej W. Rozycki <macro@imgtec.com>
12305
12306 * gdb.arch/mips-fcr.exp: New test.
12307 * gdb.arch/mips-fcr.c: Source for the new test.
12308
7470adbb
MR
123092016-10-06 Maciej W. Rozycki <macro@imgtec.com>
12310
12311 * gdb.base/solib-disc.exp: Use `standard_output_file'
12312 throughout.
12313
4a556533
PA
123142016-10-06 Pedro Alves <palves@redhat.com>
12315
12316 * gdb.base/jit-simple-dl.c: New file.
12317 * gdb.base/jit-simple-jit.c: New file, factored out from ...
12318 * gdb.base/jit-simple.c: ... this.
12319 * gdb.base/jit-simple.exp (jit_run): Delete.
12320 (build_jit): New proc.
12321 (jit_test_reread): Recompile either the main program or the shared
12322 library, depending on what is being tested. Skip changing address
12323 if caller wants to. Compare before/after addresses. If testing
12324 standalone, explicitly load the binary. Test "maint info
12325 breakpoints".
12326 (top level): Add "standalone vs shared lib" and "change address"
12327 vs "same address" axes.
12328
5a122fbc
PA
123292016-10-06 Pedro Alves <palves@redhat.com>
12330
12331 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
12332 call.
12333 (jit_run): Delete.
12334 (jit_test_reread): Use with_test_prefix. Reload the main binary
12335 explicitly. Compare the before/after addresses of the JIT
12336 descriptor.
12337
ee8da4b8
DE
123382016-08-15 Doug Evans <dje@google.com>
12339
12340 * gdb.xml/extra-regs.xml: Update, end field now required, default type
12341 for single bitfields is bool.
12342 * gdb.xml/tdesc-regs.exp: Ditto.
12343
f389f6fe
JK
123442016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
12345
12346 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
12347
fdebf1a4
YQ
123482016-10-05 Yao Qi <yao.qi@linaro.org>
12349
12350 * lib/gdb.exp (support_complex_tests): Return zero if
12351 gdb_skip_float_test return true.
12352
9c36d954 123532016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 12354 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
12355
12356 PR gdb/20487
12357 * gdb.mi/user-selected-context-sync.exp: New file.
12358 * gdb.mi/user-selected-context-sync.c: New file.
12359
4034d0ff 123602016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 12361 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
12362
12363 PR gdb/20487
12364 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
12365 =thread-select-event check.
12366
a4297203
PB
123672016-09-29 Peter Bergner <bergner@vnet.ibm.com>
12368
12369 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
12370 the compulsory L operand changes.
12371 * gdb.arch/powerpc-power.s: Likewise.
12372
bb805577
JK
123732016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12374
12375 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
12376 * gdb.base/jit-attach-pie.c: New file.
12377 * gdb.base/jit-attach-pie.exp: New file.
12378
6d61dee5
PA
123792016-09-28 Pedro Alves <palves@redhat.com>
12380
12381 * gdb.base/infcall-input.c: New file.
12382 * gdb.base/infcall-input.exp: New file.
12383
f73842fc
YQ
123842016-09-22 Yao Qi <yao.qi@linaro.org>
12385
12386 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
12387 (gdb_exit): Rename it to ...
12388 (gdbserver_gdb_exit): ... Close GDBserver.
12389 (gdb_exit): New proc, call gdbserver_gdb_exit.
12390 (mi_gdb_exit): Likewise.
12391
90681dab
YQ
123922016-09-22 Yao Qi <yao.qi@linaro.org>
12393
12394 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
12395 path.
12396 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
12397 Remove duplication.
12398
9c211fd8
YQ
123992016-09-22 Yao Qi <yao.qi@linaro.org>
12400
12401 * lib/gdbserver-support.exp: Check the existence of
12402 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
12403
ad0a504f
AK
124042016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
12405
12406 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
12407
36cf1806
TT
124082016-09-21 Tom Tromey <tom@tromey.com>
12409
12410 PR gdb/20604:
12411 * gdb.base/quit.exp: New file.
12412
74172ecf
SM
124132016-09-21 Simon Marchi <simon.marchi@ericsson.com>
12414
12415 * .gitignore: New file.
12416
3d0ec882
MR
124172016-09-21 Maciej W. Rozycki <macro@imgtec.com>
12418
12419 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
12420 throughout.
12421
8193adea
AA
124222016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
12423
12424 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
12425
d41a5c09
JK
124262016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12427
12428 * gdb.cp/casts.cc (decltype): Move it ...
12429 (main): ... with its call to ...
12430 * gdb.cp/casts03.cc: ... a new file.
12431 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
12432
d2dfe700
JK
124332016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12434
12435 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
12436
e2a92b16
PB
124372016-09-15 Peter Bergner <bergner@vnet.ibm.com>
12438
12439 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
12440 and sync up the test with tests in gas/testsuite/gas/ppc.
12441 * gdb.arch/powerpc-power.exp: Likewise.
12442
49b4de64
JK
124432016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12444
12445 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
12446
2c29df25
SDJ
124472016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
12448 Jan Kratochvil <jan.kratochvil@redhat.com>
12449
12450 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
12451 make m1's definition to be different from m2's. Use 'dummy' as an
12452 argument for probe 'two'.
12453
cc3c2846
JB
124542016-09-10 Jon Beniston <jon@beniston.com>
12455
12456 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
12457 for sim target.
12458
e1b2624a
AA
124592016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
12460
12461 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
12462 variable declaration.
12463 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
12464 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
12465 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
12466 received HWCAP as its argument.
12467
4295e285
PA
124682016-09-06 Pedro Alves <palves@redhat.com>
12469
12470 * gdb.base/new-ui-pending-input.c: New file.
12471 * gdb.base/new-ui-pending-input.exp: New file.
12472 * gdb.exp (clear_gdb_spawn_id): New procedure.
12473 (with_spawn_id): Check whether gdb_spawn_id exists before
12474 referencing it. If gdb_spawn_id didn't exist on entry, clear it
12475 on exit.
12476
00d5215e
UW
124772016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
12478
12479 * gdb.base/float128.c: New file.
12480 * gdb.base/float128.exp: Likewise.
12481 * gdb.base/floatn.c: Likewise.
12482 * gdb.base/floatn.exp: Likewise.
12483
a9ff5f12
UW
124842016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
12485
12486 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
12487
f245535c
PA
124882016-09-05 Pedro Alves <palves@redhat.com>
12489
12490 PR backtrace/19927
12491 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
12492 unwinders are immediately called as side effect of "source" or
12493 "disable unwinder" commands.
12494 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
12495
ae9cf263
YQ
124962016-09-02 Yao Qi <yao.qi@linaro.org>
12497
12498 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
12499 is true and $type is "float" or "double".
12500
27aba047
YQ
125012016-09-02 Yao Qi <yao.qi@linaro.org>
12502
12503 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
12504 true.
12505 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
12506 * gdb.base/call-rt-st.exp: Likewise.
12507 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
12508 return value instead of gdb,skip_float_test.
12509 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
12510 (do_function_calls): Use its return value instead of
12511 gdb,skip_float_test.
12512 * gdb.base/finish.exp: Likewise.
12513 * gdb.base/funcargs.exp: Likewise.
12514 * gdb.base/return.exp: Likewise.
12515 * gdb.base/return2.exp: Likewise.
12516 * gdb.base/varargs.exp: Likewise.
12517 * lib/gdb.exp (gdb_skip_float_test): Change it to
12518 gdb_caching_proc. Detect the broken ptrace on arm-linux.
12519
5af962df
AA
125202016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
12521
12522 * gdb.multi/tids.exp: Test "thread apply all".
12523
7fac6910
JK
125242016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12525
12526 * gdb.base/default.exp (tty): Remove.
12527
bb1fe4ac
KB
125282016-08-24 Kevin Buettner <kevinb@redhat.com>
12529
2806dc7e
PA
12530 * gdb.python/py-recurse-unwind.c: New file.
12531 * gdb.python/py-recurse-unwind.py: New file.
12532 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 12533
0a1ddfa6
SM
125342016-08-24 Simon Marchi <simon.marchi@ericsson.com>
12535
12536 * gdb.base/set-inferior-tty.exp: New file.
12537 * gdb.base/set-inferior-tty.c: New file.
12538
d9de1fe3
PA
125392016-08-23 Pedro Alves <palves@redhat.com>
12540
12541 PR gdb/20494
12542 * gdb.base/new-ui-echo.c: New file.
12543 * gdb.base/new-ui-echo.exp: New file.
12544
e9d9abd7
YQ
125452016-08-23 Yao Qi <yao.qi@linaro.org>
12546
12547 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
12548 gdbserver_spawn.
12549 * gdb.server/connect-without-multi-process.exp (do_test):
12550 Likewise.
12551
3589529e
YQ
125522016-08-23 Yao Qi <yao.qi@linaro.org>
12553
12554 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
12555 standalone_txt. Delete gdb_txt and standalone_txt on host
12556 and target. Spawn the binary on target. Copy files from
12557 target to host.
12558
6bb90213
PA
125592016-08-22 Pedro Alves <palves@redhat.com>
12560
12561 PR gdb/20505
12562 * gdb.base/vdso-warning.exp: Test core dumps too. Use
12563 with_test_prefix. Factor out bits to ...
12564 (test_no_vdso): ... this new procedure.
12565
20c2c024
CL
125662016-08-19 Carl Love <cel@us.ibm.com>
12567
12568 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
12569 maintaining separate logic for constructing the output path.
12570 * gdb.arch/powerpc-d128-regs.exp: Likewise.
12571 * gdb.arch/ppc-dfp.exp: Likewise.
12572 * gdb.arch/ppc-fp.exp: Likewise.
12573 * gdb.arch/vsx-regs.exp: Likewise.
12574 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
12575 binprefix for generating the additional binary files.
12576
0646e07d
PA
125772016-08-19 Pedro Alves <palves@redhat.com>
12578
12579 * gdb.trace/mi-trace-frame-collected.exp
12580 (test_trace_frame_collected): On x32, expect two registers.
12581
46da9242
CL
125822016-08-18 Carl Love <cel@us.ibm.com>
12583
12584 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
12585 and sync up the test with tests in gas/testsuite/gas/ppc.
12586 * gdb.arch/powerpc-power.exp: Likewise.
12587
eb2332d7
SM
125882016-08-17 Simon Marchi <simon.marchi@ericsson.com>
12589
12590 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
12591 expected error message.
12592
63c61e04
SM
125932016-08-17 Simon Marchi <simon.marchi@ericsson.com>
12594
12595 * gdb.multi/remove-inferiors.exp: New file.
12596 * gdb.multi/remove-inferiors.c: New file.
12597
7b17065f
YQ
125982016-08-12 Yao Qi <yao.qi@linaro.org>
12599
12600 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
12601 argument list.
12602
01d3dedf
PA
126032016-08-10 Pedro Alves <palves@redhat.com>
12604
12605 PR gdb/19187
12606 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
12607 setup_kfails.
12608
3eb7562a
PA
126092016-08-09 Pedro Alves <palves@redhat.com>
12610 Simon Marchi <simon.marchi@ericsson.com>
12611
12612 PR gdb/20418
12613 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
12614 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
12615
80614914
PA
126162016-08-09 Pedro Alves <palves@redhat.com>
12617
12618 PR mi/20431
12619 * gdb.mi/mi-cmd-error.exp: New file.
12620
f348d89a
PA
126212016-08-09 Pedro Alves <palves@redhat.com>
12622
12623 PR gdb/18653
12624 * gdb.base/signals-state-child.c: New file.
12625 * gdb.base/signals-state-child.exp: New file.
12626 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
12627
e5ca03b4
PA
126282016-08-09 Pedro Alves <palves@redhat.com>
12629
12630 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
12631
282a0691
TT
126322016-08-03 Tom Tromey <tom@tromey.com>
12633
12634 PR python/18565:
12635 * gdb.python/py-frame-inline.exp: Add Frame.function test.
12636
41bfcd63
YQ
126372016-08-01 Yao Qi <yao.qi@linaro.org>
12638
12639 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
12640 variable mode to "multi-process" if $multi_process is 1, otherwise
12641 set it to "single-process".
12642
e3465b24
YQ
126432016-08-01 Yao Qi <yao.qi@linaro.org>
12644
12645 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
12646 * gdb.cp/cpexprs.exp: Likewise.
12647 * gdb.cp/m-static.exp: Likewise.
12648
0b31a4bc
TT
126492016-07-26 Tom Tromey <tom@tromey.com>
12650
12651 PR python/20190:
12652 * gdb.threads/tls.exp (check_thread_local): Add python symbol
12653 test.
12654
e0461dbb
MM
126552016-07-26 Markus Metzger <markus.t.metzger@intel.com>
12656
12657 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
12658 selecting assembly source files.
12659 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
12660 assembly source files.
12661 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
12662 assembly source files.
12663 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
12664 selecting assembly source files.
12665
8194e927
SM
126662016-07-25 Simon Marchi <simon.marchi@ericsson.com>
12667
12668 * gdb.base/new-ui.exp (do_test_invalid_args): New
12669 procedure.
12670
c0272db5
TW
126712016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
12672
12673 * gdb.btrace/reconnect.c: New file.
12674 * gdb.btrace/reconnect.exp: New file.
12675
e3487908
GKB
126762016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
12677
12678 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
12679 to test_catch_syscall_group.
12680 (test_catch_syscall_group): New.
12681
12df5c00
TT
126822016-07-21 Tom Tromey <tom@tromey.com>
12683
12684 * gdb.rust/simple.rs (main): Use empty struct expression.
12685 * gdb.rust/simple.exp: Add tests for empty struct expression.
12686
bae62ee2
YQ
126872016-07-21 Yao Qi <yao.qi@linaro.org>
12688
12689 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
12690 if gdb_skip_xml_test is true on some targets.
12691
b1b53fb3
YQ
126922016-07-21 Yao Qi <yao.qi@linaro.org>
12693
12694 * gdb.server/solib-list.exp: Unset last_loaded_file.
12695
027d97f8
JK
126962016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12697
12698 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
12699 "step into captured_main (args)".
12700
7674d381
JK
127012016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12702
12703 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
12704
72b5d099
JK
127052016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12706
12707 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
12708
1f960ced
PA
127092016-07-19 Pedro Alves <palves@redhat.com>
12710
12711 * gdb.opt/inline-break.exp: Remove optimize=-O2.
12712 * gdb.opt/inline-bt.exp: Likewise.
12713 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
12714 additional_flags=-Winline.
12715 * gdb.opt/inline-locals.exp: Likewise.
12716 * gdb.opt/inline-markers.c (ATTR): Define.
12717 (inlined_fn): Use it.
12718
f25827c1
YQ
127192016-07-19 Yao Qi <yao.qi@linaro.org>
12720
12721 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
12722 (test_with_self): Remove some code. Remove argument executable.
12723 (top-level): Use do_self_tests.
12724
37539ebe
DB
127252016-07-15 Zachary Welch <zwelch@codesourcery.com>
12726 Don Breazeal <donb@codesourcery.com>
12727
12728 * gdb.base/maint.exp: Escape paths used in regular expressions.
12729 * gdb.stabs/weird.exp: Likewise.
12730
dac790e1
TT
127312016-07-13 Tom Tromey <tom@tromey.com>
12732
12733 PR python/15620, PR python/18620:
12734 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
12735 (test_bkpt_events): New procs.
12736
93daf339
TT
127372016-07-13 Tom Tromey <tom@tromey.com>
12738
12739 PR python/17698:
12740 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
12741 test.
12742 (test_watchpoints): Likewise.
12743 (test_bkpt_pending): New proc.
12744
6571a381
TT
127452016-07-13 Tom Tromey <tom@tromey.com>
12746
12747 PR cli/18053:
12748 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
12749 completion test.
12750
e8732474
JK
127512016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12752
12753 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
12754 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
12755 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
12756 f_label.
12757 (g): Rename g_end_lbl to g_label.
12758 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
12759 low_pc and high_pc.
12760 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
12761
e0f3fd7c
TT
127622016-07-12 Tom Tromey <tom@tromey.com>
12763
12764 PR python/19293:
12765 * gdb.python/py-unwind-maint.exp: Update tests.
12766
3cfe46b6
YQ
127672016-07-12 Yao Qi <yao.qi@linaro.org>
12768
12769 * lib/selftest-support.exp (selftest_setup): Match the output
12770 when captured_main is inlined.
12771
4f19a0e6
WT
127722016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
12773
12774 * gdb.fortran/derived-types.exp (result_line, result_line_2):
12775 New variables.
12776 (print this%a, print this%b, print this): New tests.
12777 * gdb.fortran/derived-types.f90 (this): New object and
12778 initialization.
12779
986cf455
SM
127802016-07-06 Simon Marchi <simon.marchi@ericsson.com>
12781
12782 * gdb.ada/arraydim.exp: Remove extra directory level in build
12783 directory.
12784
f0464b23
SM
127852016-07-06 Simon Marchi <simon.marchi@ericsson.com>
12786
12787 * lib/ada.exp: Remove extra directory level in build directory.
12788 * gdb.ada/cond_lang.exp: Likewise.
12789 * gdb.ada/exec_changed.exp: Likewise.
12790 * gdb.ada/lang_switch.exp: Likewise.
12791
42d94011
MG
127922016-07-06 Manish Goregaokar <manish@mozilla.com>
12793
2806dc7e
PA
12794 * simple.rs: Add test for raw pointer subscripting.
12795 * simple.exp: Add test expectations.
42d94011 12796
647c264c
YQ
127972016-07-05 Yao Qi <yao.qi@linaro.org>
12798
12799 * gdb.mi/mi-reverse.exp: Match =record-started output.
12800
20aa2c60
PA
128012016-07-01 Pedro Alves <palves@redhat.com>
12802
12803 * gdb.base/jit-reader.exp (info_registers_current_frame): New
12804 procedure.
12805 (jit_reader_test): Test the jit reader's unwinder.
12806 * gdb.base/jithost.c (jit_function_00_code): New global.
12807 (main): Use memcpy to fill in the mmapped code, instead of poking
12808 bytes manually here.
12809 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
12810 value.
12811 (read_debug_info): Save the function's range.
12812 (read_sp): New function.
12813 (unwind_frame): Use it. Also unwind RBP.
12814 (get_frame_id): Use read_sp.
12815 (gdb_init_reader): Use calloc instead of malloc.
12816 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
12817 parameter. Use gdb_test_multiple.
12818
ced2dffb
PA
128192016-07-01 Pedro Alves <palves@redhat.com>
12820 Antoine Tremblay <antoine.tremblay@ericsson.com>
12821
12822 * gdb.threads/process-dies-while-detaching.c: New file.
12823 * gdb.threads/process-dies-while-detaching.exp: New file.
12824
63000888
PA
128252016-07-01 Pedro Alves <palves@redhat.com>
12826
12827 * gdb.multi/watchpoint-multi-exit.c: New file.
12828 * gdb.multi/watchpoint-multi-exit.exp: New file.
12829
038d4868
PA
128302016-06-30 Pedro Alves <palves@redhat.com>
12831
12832 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
12833 unset inferior_spawn_id.
12834
994e9c83
PA
128352016-06-30 Pedro Alves <palves@redhat.com>
12836
12837 * lib/mi-support.exp (default_mi_gdb_start): Declare global
12838 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
12839
e5653468
YQ
128402016-06-29 Yao Qi <yao.qi@linaro.org>
12841
12842 * gdb.base/return.c: Add copyright header.
12843
803b47e5
TT
128442016-06-29 Tom Tromey <tom@tromey.com>
12845
12846 PR python/20129:
12847 * gdb.python/py-framefilter.exp: Add tests for setting priority
12848 and disabling of non-existent frame filter.
12849
28244707
YQ
128502016-06-29 Yao Qi <yao.qi@linaro.org>
12851
12852 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
12853 0x0f07ff.
12854
a31d2f06
YQ
128552016-06-28 Yao Qi <yao.qi@linaro.org>
12856
12857 * gdb.base/catch-syscall.exp: Remove check on isnative and target
12858 triplets. Start gdb, execute catch syscall, and continue. Check
12859 gdb's output to determine catch syscall is supported.
12860
921d8f54
MG
128612016-06-27 Manish Goregaokar <manish@mozilla.com>
12862
25d49b86
PA
12863 * gdb.rust/simple.rs: Add test for returning unit in a function.
12864 * gdb.rust/simple.exp: Add expectation for functions returning
12865 unit.
921d8f54 12866
f4952523
PMR
128672016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
12868
12869 * gdb.python/py-breakpoint-create-fail.c,
12870 gdb.python/py-breakpoint-create-fail.exp,
12871 gdb.python/py-breakpoint-create-fail.py: New testcase.
12872
fccb08f8
MG
128732016-06-25 Manish Goregaokar <manish@mozilla.com>
12874
12875 PR gdb/20239
12876 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
12877 * gdb.rust/simple.exp: Add test expectations for new NonZero
12878 tests.
fccb08f8 12879
6b850546
DT
128802016-06-24 David Taylor <dtaylor@emc.com>
12881
12882 * gdb.base/offsets.exp: New file.
12883 * gdb.base/offsets.c: New file.
12884
17621150
TT
128852016-06-23 Tom Tromey <tom@tromey.com>
12886
12887 PR gdb/16483:
12888 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
12889 before any filters are loaded.
12890
04d59df6
WT
128912016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
12892
12893 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
12894 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
12895 structs.
12896 * gdb.fortran/derived-type-function.exp: New file.
12897 * gdb.fortran/derived-type-function.f90: New file.
12898
12899
ac69f786
PA
129002016-06-21 Pedro Alves <palves@redhat.com>
12901
12902 * gdb.base/new-ui.exp: New file.
12903 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
12904 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
12905 (with_spawn_id): New procedure.
12906
49940788
PA
129072016-06-21 Pedro Alves <palves@redhat.com>
12908
12909 * gdb.mi/mi-exec-run.exp: New file.
12910
ef274d26
PA
129112016-06-21 Pedro Alves <palves@redhat.com>
12912
12913 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
12914 breakpoint command's output on the main UI.
12915 (test_break): New procedure, factored out from calls in the top
12916 level.
12917 (top level): Use foreach_with_prefix to test MI as main UI and as
12918 separate UI.
12919
468afe6c
PA
129202016-06-21 Pedro Alves <palves@redhat.com>
12921
12922 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
12923 (test_awatch_creation_and_listing)
12924 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
12925 Remove 'type' parameter.
12926 (test_watchpoint_all): New parameter mi_mode. Remove
12927 with_test_prefix.
12928 (top level): Use foreach_with_prefix, and add main/separate UI MI
12929 testing axis.
12930
51f77c37
PA
129312016-06-21 Pedro Alves <palves@redhat.com>
12932
12933 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
12934 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
12935 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
12936 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
12937 (gdb_main_spawn_id, mi_spawn_id): Declare and
12938 comment.
12939 (mi_create_inferior_pty): New procedure,
12940 factored out from default_mi_gdb_start.
12941 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
12942 procedures.
12943 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
12944 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
12945 Use mi_create_inferior_pty.
12946 (mi_gdb_start): Use eval to pass down args list.
12947
8980e177
PA
129482016-06-21 Pedro Alves <palves@redhat.com>
12949
12950 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
12951 * gdb.opt/inline-cmds.exp: Add MI tests.
12952
f38d3ad1
PA
129532016-06-21 Pedro Alves <palves@redhat.com>
12954
12955 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
12956
45db7c09
PA
129572016-06-21 Pedro Alves <palves@redhat.com>
12958
12959 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
12960 (top level): Use it instead of mi_execute_to.
12961
5a069ab3
PA
129622016-06-21 Pedro Alves <palves@redhat.com>
12963
12964 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
12965 (cont_handler_str): New.
12966 (signal_stop_handler): Set stop_handler_str instead of printing to
12967 stdout.
12968 (continue_handler): Set cont_handler_str instead of printing to
12969 stdout.
12970 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
12971 mi_send_resuming_command. Print stop_handler_str and
12972 cont_handler_str instead of expecting the python events print
12973 directly.
12974
2838cc1d
SD
129752016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
12976
12977 * gdb.base/jit-reader.exp: New file.
12978 * gdb.base/jithost.c: New file.
12979 * gdb.base/jithost.h: New file.
12980 * gdb.base/jitreader.c : New file.
12981 * gdb.base/jit-protocol.h: New file.
12982
21a77091
YQ
129832016-06-17 Yao Qi <yao.qi@linaro.org>
12984
12985 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
12986 parameters follow_fork and detach_on_fork. Set follow-fork-mode
12987 and detach-on-fork. Adjust tests.
12988 (top level): Invoke break_cond_on_syscall with combinations of
12989 syscall, follow-fork-mode and detach-on-fork.
12990
f50bf8e5
YQ
129912016-06-17 Yao Qi <yao.qi@linaro.org>
12992
12993 * gdb.base/step-over-exit.c: New.
12994 * gdb.base/step-over-exit.exp: New.
12995
a28d8e50
YTL
129962016-06-17 Yan-Ting Lin <currygt52@gmail.com>
12997
12998 * gdb.base/float.exp: Add target check for nds32*-*-*.
12999 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
13000
cad8e26d
AB
130012016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
13002
13003 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
13004 for unsupported target features.
13005 * gdb.base/call-rt-st.exp: Likewise.
13006 * gdb.base/call-sc.exp: Likewise.
13007 * gdb.base/call-signal-resume.exp: Likewise.
13008 * gdb.base/call-strs.exp: Likewise.
13009 * gdb.base/callexit.exp: Likewise.
13010 * gdb.base/callfuncs.exp: Likewise.
13011 * gdb.base/nodebug.exp: Likewise.
13012 * gdb.base/printcmds.exp: Likewise.
13013 * gdb.base/ptype.exp: Likewise.
13014 * gdb.base/structs.exp: Likewise.
13015 * gdb.base/unwindonsignal.exp: Likewise.
13016 * gdb.cp/gdb2495.exp: Likewise.
13017 * gdb.cp/templates.exp: Likewise.
13018 * gdb.cp/virtfunc.exp: Likewise.
13019 * gdb.threads/hand-call-in-threads.exp: Likewise.
13020 * gdb.threads/interrupted-hand-call.exp: Likewise.
13021 * gdb.threads/thread-unwindonsignal.exp: Likewise.
13022
347dc102
TT
130232016-06-10 Tom Tromey <tom@tromey.com>
13024
13025 PR rust/20110:
13026 * gdb.rust/expr.exp: Add test for integer constant larger than
13027 i32.
13028
5e13cf25
BH
130292016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
13030
13031 * gdb.fortran/nested-funcs.exp: New.
13032 * gdb.fortran/nested-funcs.f90: New.
13033
bb556f1f
TK
130342016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
13035
13036 * gdb.base/examine-backward.c: New file.
13037 * gdb.base/examine-backward.exp: New file.
13038
38b022b4
SM
130392016-06-06 Simon Marchi <simon.marchi@ericsson.com>
13040
13041 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
13042 matching.
13043
1b40ec05
TT
130442016-06-02 Tom Tromey <tom@tromey.com>
13045
13046 PR python/18984:
13047 * gdb.python/py-shared.exp: Add solib_name test.
13048
193bd378
SM
130492016-06-02 Simon Marchi <simon.marchi@ericsson.com>
13050
13051 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
13052
3326303b
MG
130532016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
13054
13055 PR c++/19893
13056 * gdb.dwarf2/implref.exp: Rename to...
13057 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
13058 * gdb.dwarf2/implref-array.c: New file.
13059 * gdb.dwarf2/implref-array.exp: Likewise.
13060 * gdb.dwarf2/implref-global.c: Likewise.
13061 * gdb.dwarf2/implref-global.exp: Likewise.
13062 * gdb.dwarf2/implref-struct.c: Likewise.
13063 * gdb.dwarf2/implref-struct.exp: Likewise.
13064
825c8ef2
AT
130652016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13066
13067 * gdb.trace/trace-condition.exp: Add 64bit tests.
13068
2320162a
AT
130692016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13070
13071 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
13072 bits types.
13073 (main): Adapt to 8 to 64 bits types.
13074 * gdb.trace/trace-condition.exp: Add new tests.
13075
a7818233
AT
130762016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13077
13078 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
13079
0d336466
AT
130802016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13081
13082 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
13083 Move condition tests...
13084 * gdb.trace/trace-condition.exp: Here.
13085
7faeb45a
AT
130862016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13087
13088 * gdb.trace/trace-condition.exp: Add counter-case tests.
13089
e385593e
JK
130902016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13091
13092 PR c++/15231
13093 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
13094 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
13095
744608cc
PA
130962016-05-27 Pedro Alves <palves@redhat.com>
13097
13098 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
13099 New procedure.
13100 (top level): Call it, and bail out of DejaGnu is known to be bad.
13101
ac775bf4
AB
131022016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
13103
13104 * gdb.base/whatis.c: Extend the test case.
13105 * gdb.base/whatis.exp: Add additional tests.
13106
2bbad2ea
BH
131072016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13108
13109* gdb.fortran/type.f90: Add pointer variable.
13110* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
13111
8b70175d
BH
131122016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13113
13114 * gdb.fortran/vla-type.exp: Fix testcase name.
13115
86d8a848
BH
131162016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13117
13118 * gdb.fortran/vla-type.exp: Access elements in nested structs.
13119
e188eb36
BH
131202016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13121
13122 * gdb.fortran/type.f90: Add nested structures.
13123 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
13124 * gdb.fortran/derived-type.exp: Adapt expected output.
13125 * gdb.fortran/vla-type.exp: Adapt expected output.
13126
9b2db1fd
BH
131272016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13128
13129 * gdb.fortran/whatis_type.exp: Adapt expected output.
13130
72b17055
BH
131312016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13132
13133 * gdb.fortran/print_type.exp: Fix expected output.
13134 * gdb.fortran/whatis_type.exp: Fix expected output.
13135
3cd81d8d
BH
131362016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13137
13138 * gdb.fortran/whatis_type.exp: Use multi_line.
13139
ddae9462
TT
131402016-05-24 Tom Tromey <tom@tromey.com>
13141
13142 PR python/17386:
13143 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
13144 use value as an index.
13145
1957f6b8
TT
131462016-05-23 Tom Tromey <tom@tromey.com>
13147
13148 PR python/17981:
13149 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
13150 no-breakpoint case.
13151
026a9174
PA
131522016-05-24 Pedro Alves <palves@redhat.com>
13153
13154 PR gdb/19828
13155 * gdb.threads/clone-attach-detach.c: New file.
13156 * gdb.threads/clone-attach-detach.exp: New file.
13157
e70a7231
FR
131582016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
13159
13160 * gdb.base/annota-input-while-running.exp: Fix syntax error.
13161
0f6ed0e0
TT
131622016-05-23 Tom Tromey <tom@tromey.com>
13163
13164 PR python/19438, PR python/18393:
13165 * gdb.python/py-progspace.exp: Add "dir" test.
13166 * gdb.python/py-objfile.exp: Add "dir" test.
13167
ffd19d61
YQ
131682016-05-23 Yao Qi <yao.qi@linaro.org>
13169
13170 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
13171 * gdb.arch/thumb2-it.exp: Likewise.
13172
9e8f9b05
SM
131732016-05-18 Simon Marchi <simon.marchi@ericsson.com>
13174
13175 * gdb.mi/mi-threads-interrupt.c: New file.
13176 * gdb.mi/mi-threads-interrupt.exp: New file.
13177
61c6156d
SM
131782016-05-17 Simon Marchi <simon.marchi@ericsson.com>
13179
13180 PR gdb/18077
13181 * gdb.mi/mi-async-run.exp: New file.
13182 * gdb.mi/mi-async-run.c: New file.
13183
67218854
TT
131842016-05-17 Tom Tromey <tom@tromey.com>
13185 Manish Goregaokar <manishsmail@gmail.com>
13186
13187 * lib/rust-support.exp: New file.
13188 * lib/gdb.exp (skip_rust_tests): New proc.
13189 (build_executable_from_specs): Handle rust.
13190 * lib/future.exp (gdb_find_rustc): New proc.
13191 (gdb_default_target_compile): Handle rust.
13192 * gdb.rust/expr.exp: New file.
13193 * gdb.rust/generics.exp: New file.
13194 * gdb.rust/generics.rs: New file.
13195 * gdb.rust/methods.exp: New file.
13196 * gdb.rust/methods.rs: New file.
13197 * gdb.rust/modules.exp: New file.
13198 * gdb.rust/modules.rs: New file.
13199 * gdb.rust/simple.exp: New file.
13200 * gdb.rust/simple.rs: New file.
13201
c44af4eb
TT
132022016-05-17 Tom Tromey <tom@tromey.com>
13203
13204 * gdb.base/default.exp (set language): Add rust.
13205
dcd1f979
TT
132062016-05-17 Tom Tromey <tom@tromey.com>
13207
13208 * gdb.gdb/unittest.exp: New file.
13209
155b7f57
YQ
132102016-05-16 Yao Qi <yao.qi@linaro.org>
13211
13212 * gdb.base/batch-preserve-term-settings.exp: Remove variable
13213 shell_prompt. Update shell_prompt_re.
13214
8ddd5a6c
DE
132152016-05-12 Doug Evans <dje@google.com>
13216
13217 PR symtab/19999
13218 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
13219 $options when building executable.
13220 * gdb.dwarf2/fission-loclists-pie.S: New file.
13221 * gdb.dwarf2/fission-loclists-pie.exp: New file.
13222
02e370d9
SM
132232016-05-04 Simon Marchi <simon.marchi@ericsson.com>
13224
13225 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
13226 of [is_remote target],
13227
8929ad8b
SM
132282016-05-04 Simon Marchi <simon.marchi@ericsson.com>
13229
13230 * lib/gdb.exp (use_gdb_stub): New procedure.
13231
6c447423
DE
132322016-05-03 Yunlian Jiang <yunlian@google.com>
13233 Doug Evans <dje@google.com>
13234
13235 PR symtab/19914
13236 * gdb.dwarf2/dwp-sepdebug.c: New file.
13237 * gdb.dwarf2/dwp-sepdebug.exp: New file.
13238
444e826c
SM
132392016-05-02 Simon Marchi <simon.marchi@ericsson.com>
13240
13241 * gdb.base/detach.exp: Remove is_remote check.
13242
740feeaa
SM
132432016-05-02 Simon Marchi <simon.marchi@ericsson.com>
13244
13245 * gdb.base/annota-input-while-running.exp: Don't check for
13246 [is_remote target]. Enable annotations after running to main.
13247 Remove unused "set test..." line.
13248
9080ac9d
SM
132492016-04-28 Simon Marchi <simon.marchi@ericsson.com>
13250
13251 * gdb.trace/trace-enable-disable.exp: New file.
13252 * gdb.trace/trace-enable-disable.c: New file.
13253
952ebca5
SM
132542016-04-28 Simon Marchi <simon.marchi@ericsson.com>
13255
13256 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
13257 use it in info sharedlibrary test.
13258 * gdb.trace/ftrace-lock.exp: Likewise.
13259 * gdb.trace/ftrace.exp: Likewise.
13260 * gdb.trace/range-stepping.exp: Likewise.
13261 * gdb.trace/trace-break.exp: Likewise.
13262 * gdb.trace/trace-condition.exp: Likewise.
13263 * gdb.trace/trace-mt.exp: Likewise.
13264
d9019901
SM
132652016-04-27 Simon Marchi <simon.marchi@ericsson.com>
13266
13267 * lib/gdb.exp (gdb_load_shlibs): Rename to...
13268 (gdb_load_shlib): ... this.
13269 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
13270 gdb_load_shlib.
13271 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
13272 * gdb.base/ctxobj.exp: Likewise.
13273 * gdb.base/dprintf-pending.exp: Likewise.
13274 * gdb.base/dso2dso.exp: Likewise.
13275 * gdb.base/fixsection.exp: Likewise.
13276 * gdb.base/gcore-relro.exp: Likewise.
13277 * gdb.base/gdb1555.exp: Likewise.
13278 * gdb.base/global-var-nested-by-dso.exp: Likewise.
13279 * gdb.base/gnu-ifunc.exp: Likewise.
13280 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
13281 * gdb.base/jit-so.exp (one_jit_test): Likewise.
13282 * gdb.base/pending.exp: Likewise.
13283 * gdb.base/print-file-var.exp: Likewise.
13284 * gdb.base/print-symbol-loading.exp: Likewise.
13285 * gdb.base/shlib-call.exp: Likewise.
13286 * gdb.base/shreloc.exp: Likewise.
13287 * gdb.base/so-impl-ld.exp: Likewise.
13288 * gdb.base/solib-disc.exp: Likewise.
13289 * gdb.base/solib-nodir.exp: Likewise.
13290 * gdb.base/solib-overlap.exp: Likewise.
13291 * gdb.base/solib-symbol.exp: Likewise.
13292 * gdb.base/solib-weak.exp (do_test): Likewise.
13293 * gdb.base/sym-file.exp: Likewise.
13294 * gdb.base/symtab-search-order.exp: Likewise.
13295 * gdb.base/type-opaque.exp: Likewise.
13296 * gdb.base/unload.exp: Likewise.
13297 * gdb.base/watchpoint-solib.exp: Likewise.
13298 * gdb.compile/compile.exp: Likewise.
13299 * gdb.cp/gdb2384.exp: Likewise.
13300 * gdb.cp/infcall-dlopen.exp: Likewise.
13301 * gdb.cp/re-set-overloaded.exp: Likewise.
13302 * gdb.fortran/library-module.exp: Likewise.
13303 * gdb.opt/solib-intra-step.exp: Likewise.
13304 * gdb.python/py-finish-breakpoint.exp: Likewise.
13305 * gdb.python/py-shared.exp: Likewise.
13306 * gdb.reverse/solib-precsave.exp: Likewise.
13307 * gdb.reverse/solib-reverse.exp: Likewise.
13308 * gdb.server/solib-list.exp: Likewise.
13309 * gdb.threads/dlopen-libpthread.exp: Likewise.
13310 * gdb.threads/tls-shared.exp: Likewise.
13311 * gdb.threads/tls-so_extern.exp: Likewise.
13312 * gdb.trace/change-loc.exp: Likewise.
13313 * gdb.trace/ftrace-lock.exp: Likewise.
13314 * gdb.trace/ftrace.exp: Likewise.
13315 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
13316 * gdb.trace/pending.exp: Likewise.
13317 * gdb.trace/range-stepping.exp: Likewise.
13318 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
13319 (strace_info_marker): Likewise.
13320 (strace_probe_marker): Likewise.
13321 (strace_trace_on_same_addr): Likewise.
13322 (strace_trace_on_diff_addr): Likewise.
13323 * gdb.trace/trace-break.exp: Likewise.
13324 * gdb.trace/trace-condition.exp: Likewise.
13325 * gdb.trace/trace-mt.exp: Likewise.
13326
fca4cfd9
SM
133272016-04-27 Simon Marchi <simon.marchi@ericsson.com>
13328
13329 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
13330 result of gdb_remote_download.
13331 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
13332 * gdb.base/dso2dso.exp: Likewise.
13333 * gdb.base/global-var-nested-by-dso.exp: Likewise.
13334 * gdb.base/print-file-var.exp: Likewise.
13335 * gdb.base/shlib-call.exp: Likewise.
13336 * gdb.base/shreloc.exp: Likewise.
13337 * gdb.base/solib-overlap.exp: Likewise.
13338 * gdb.base/solib-weak.exp (do_test): Likewise.
13339 * gdb.base/unload.exp: Likewise.
13340
11cf4ffb
YQ
133412016-04-27 Yao Qi <yao.qi@linaro.org>
13342
13343 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
13344 exists.
13345
3e2e34f8
KB
133462016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
13347
13348 * vla-type.exp: Print structure from toplevel.
13349
8f07e298
BH
133502016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
13351
13352 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
13353 of dynamic types.
13354 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
13355 of dynamic types.
13356
9920b434
BH
133572016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
13358
13359 * gdb.fortran/vla-type.f90: New file.
13360 * gdb.fortran/vla-type.exp: New file.
13361
f3abeff5
YQ
133622016-04-25 Yao Qi <yao.qi@linaro.org>
13363
13364 * gdb.base/branch-to-self.c: New file.
13365 * gdb.base/branch-to-self.exp: New file.
13366
0a5d52f0
YQ
133672016-04-22 Yao Qi <yao.qi@linaro.org>
13368
13369 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
13370 more after $hex.
13371
495346f6
YQ
133722016-04-22 Yao Qi <yao.qi@linaro.org>
13373
13374 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
13375 * gdb.base/annota3.exp: Likewise.
13376
4a7e075c
YQ
133772016-04-22 Yao Qi <yao.qi@linaro.org>
13378
13379 * gdb.reverse/step-precsave.exp: Do one step and test program
13380 stops in "callee" and do multiple steps until program goes out
13381 of "callee".
13382 * gdb.reverse/step-reverse.exp: Likewise.
13383
5b061e98
YQ
133842016-04-22 Yao Qi <yao.qi@linaro.org>
13385
13386 * gdb.trace/signal.exp: Also pass if
13387 $tracepoint_hits($i) > $iterations.
13388
5c5dc57f
YQ
133892016-04-22 Yao Qi <yao.qi@linaro.org>
13390
13391 * gdb.trace/signal.c: New file.
13392 * gdb.trace/signal.exp: New file.
13393
a55411b9
DE
133942016-04-19 Doug Evans <xdje42@gmail.com>
13395
13396 * gdb.base/bad-file.exp: New file.
13397
a22df60a
MG
133982016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
13399
13400 * gdb.dwarf2/implref.exp: New file.
13401
0c13f7e5
BH
134022016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
13403
13404 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
13405 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
13406 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
13407 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
13408 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
13409 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
13410 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
13411 * lib/fortran.exp (fortran_int4): New procedure.
13412 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
13413 (fortran_logical4): Likewise.
13414
9b9b09e9
BH
134152016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
13416
13417 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
13418
a14d1f4d
BH
134192016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
13420
13421 * lib/compiler.c: Add Intel specific preprocessor macros.
13422 * lib/compiler.cc: Likewise.
25d49b86 13423
7d49b1d0
LM
134242016-04-13 Luis Machado <lgustavo@codesourcery.com>
13425
13426 * gdb.server/connect-with-no-symbol-file.c: New file.
13427 * gdb.server/connect-with-no-symbol-file.exp: New file.
13428
8392fa22
SM
134292016-04-13 Simon Marchi <simon.marchi@ericsson.com>
13430
13431 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
13432
8c4c4aeb
SM
134332016-04-13 Simon Marchi <simon.marchi@ericsson.com>
13434
13435 * boards/gdbserver-base.exp (${board}_download): Copy source file to
13436 standard output directory.
13437
45e3745e
AT
134382016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
13439
13440 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
13441
e26b7e41
MM
134422016-04-13 Markus Metzger <markus.t.metzger@intel.com>
13443
13444 * gdb.btrace/instruction_history.c (loop): Add declaration.
13445
8ce09462
AT
134462016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
13447
13448 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
13449
2e88a1ea
SM
134502016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
13451
13452 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
13453 parentheses to print.
13454 (continue_handler): Likewise.
13455
f48e22e3
SM
134562016-04-08 Simon Marchi <simon.marchi@ericsson.com>
13457
13458 * gdb.server/solib-list.exp: Remove is_remote check.
13459 Pass shlib= to gdb_compile. Don't link shared library with
13460 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
13461 Run binary filename through "readlink -f" on the target.
13462
096be756
PA
134632016-04-08 Pedro Alves <palves@redhat.com>
13464
13465 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
13466 interpreter filename as argument to gdbserver_spawn.
13467 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
13468 Return empty if $last_loaded_file does not exist.
13469
06500533
JK
134702016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13471
13472 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
13473 * gdb.base/jit-main.c: Use exit after usage.
13474
2d35e871
JK
134752016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13476
13477 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
13478 GDBHISTSIZE prior to the tests.
13479 * gdb.base/gdbinit-history.exp: Likewise.
13480
134812016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
13482
13483 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
13484 instead of build_executable. Use gdb_load_shlibs.
13485
c8064e7e
YQ
134862016-04-07 Yao Qi <yao.qi@linaro.org>
13487
13488 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
13489 Execute "si" command.
13490
bde47561
YQ
134912016-04-07 Yao Qi <yao.qi@linaro.org>
13492
13493 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
13494 number instead of the comments on some line.
13495
b16f8a3b
DB
134962016-04-06 Don Breazeal <donb@codesourcery.com>
13497
13498 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
13499 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
13500
c2f901df
SM
135012016-04-06 Simon Marchi <simon.marchi@ericsson.com>
13502
13503 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
13504 standard_output_file. Remove unused binfile variable.
13505
ac17fda0
CU
135062016-04-05 Catalin Udma <catalin.udma@freescale.com>
13507
13508 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
13509 * gdb.python/py-mi-objfile.exp: Match "list main" output
13510 in console format.
13511
03a8c4df
SM
135122016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
13513
13514 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
13515 absolute.
13516
6e774b13
SM
135172016-04-05 Simon Marchi <simon.marchi@ericsson.com>
13518
13519 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
13520 absolute.
13521 * gdb.trace/ftrace.exp: Likewise.
13522 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
13523 targets as well.
13524 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
13525 (gdb_load_shlibs): Copy libraries to test directory when testing
13526 natively. Only set solib-search-path if testing remotely.
13527 * lib/mi-support.exp (mi_load_shlibs): Likewise.
13528
7817ea46
SM
135292016-04-05 Simon Marchi <simon.marchi@ericsson.com>
13530
13531 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
13532 gdb_download. Use it even if the target is not remote.
13533 * gdb.base/jit.exp (compile_jit_test): Likewise.
13534 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
13535 output directory if the destination board is local, otherwise use
13536 the standard remote_download from DejaGnu.
13537 (gdb_download): Remove.
13538 (gdb_load_shlibs): Use gdb_remote_download instead of
13539 gdb_download.
13540 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
13541 Use gdb_remote_download instead of gdb_download. Use it even if
13542 the target is not remote.
13543 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
13544 instead of gdb_download.
13545
7beb7f68
SM
135462016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
13547
13548 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
13549 (test_insert_delete_modify): Call mi_load_shlibs before trying to
13550 run.
13551
cc63428a
AV
135522016-04-01 Artemiy Volkov <artemiyv@acm.org>
13553
13554 PR gdb/19820
13555 * gdb.base/printcmds.exp: Add artificial arrays tests.
13556
64cdf930
PA
135572016-03-31 Pedro Alves <palves@redhat.com>
13558
13559 PR gdb/19858
13560 * gdb.base/jit-main.c: Include unistd.h.
13561 (ATTACH): Define to 0 if not already defined.
13562 (wait_for_gdb, mypid): New globals.
13563 (WAIT_FOR_GDB): New macro.
13564 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
13565 some breakpoint locations.
13566 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
13567 New procedures.
13568 (one_jit_test): Add REATTACH parameter, and handle it. Use
13569 continue_to_test_location.
13570 (top level): Test attach, and adjusts calls to one_jit_test.
13571
40dea8cb
PA
135722016-03-31 Pedro Alves <palves@redhat.com>
13573
13574 PR gdb/19858
13575 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
13576 BINSUFFIX parameter, and handle it.
13577 (top level): Adjust calls compile_jit_test.
13578
e7ea3ec7
CU
135792016-03-31 Catalin Udma <catalin.udma@freescale.com>
13580
13581 PR python/19743
13582 * gdb.python/py-mi-events-gdb.py: New file.
13583 * gdb.python/py-mi-events.c: New file.
13584 * gdb.python/py-mi-events.exp: New file.
13585
e6359af3
YQ
135862016-03-30 Yao Qi <yao.qi@linaro.org>
13587
13588 * gdb.reverse/until-precsave.exp: Match function name only.
13589 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
13590 Move malloc to a condition block.
13591 * gdb.reverse/until-reverse.exp: Match function name only.
13592
a4105d04
MK
135932016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
13594
13595 * gdb.trace/ftrace.exp: Set arg0exp for s390.
13596 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
13597 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
13598 variable for GPR 0 instead of assuming it is register 0.
13599 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
13600 * lib/trace-support.exp: Add s390 registers.
13601
bfa6adb9
YQ
136022016-03-29 Yao Qi <yao.qi@linaro.org>
13603
13604 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
13605
1e6697ea
YQ
136062016-03-24 Yao Qi <yao.qi@linaro.org>
13607
13608 * gdb.reverse/break-reverse.exp: Add quotation mark in the
13609 test message.
13610
64bcd522
AA
136112016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13612
13613 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
13614 maintaining separate logic for constructing the output path.
13615
7868401b
DB
136162016-03-16 Don Breazeal <donb@codesourcery.com>
13617
13618 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
13619 Retry fork and waitpid on interrupted system call errors.
13620 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
13621 Use with_timeout_factor to increase timeout by factor of 10.
13622
1cafadb4
DB
136232016-03-15 Don Breazeal <donb@codesourcery.com>
13624
13625 * gdb.cp/scope-err.cc: New test program.
13626 * gdb.cp/scope-err.exp: New test script.
13627 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
13628 lines and "set breakpoint here" comment.
13629 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
13630 Fixed some whitespace and format issues.
13631 * gdb.mi/mi-linespec-err-cp.cc: New test program.
13632 * gdb.mi/mi-linespec-err-cp.exp: New test script.
13633
81516450
DE
136342016-03-15 Doug Evans <dje@google.com>
13635
13636 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
13637 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
13638 All callers updated. Add tests for enums, mixed flags register.
13639
aa52b601
DE
136402016-03-15 Doug Evans <dje@google.com>
13641
13642 * gdb.base/skip.c (main): Call test_skip_file_and_function.
13643 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
13644
fa4ff313
SM
136452016-03-14 Simon Marchi <simon.marchi@ericsson.com>
13646
13647 * gdb.base/default.exp: Add $_as_string to the list of expected
13648 convenience functions.
13649
f2403c39
AB
136502016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
13651
13652 * gdb.base/maint.exp: New tests for 'maint info line-table'.
13653
f2f3ccb9
SM
136542016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
13655
13656 * gdb.python/py-as-string.exp: New file.
13657 * gdb.python/py-as-string.c: New file.
13658
00dbd492
PA
136592016-03-09 Pedro Alves <palves@redhat.com>
13660
13661 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
13662 signal" -> "Thread NN received signal" output change.
13663 * gdb.threads/ia64-sigill.exp: Likewise.
13664 * gdb.threads/linux-dp.exp: Likewise.
13665 * gdb.threads/manythreads.exp: Likewise.
13666 * gdb.threads/pending-step.exp: Likewise.
13667 * gdb.threads/print-threads.exp: Likewise.
13668 * gdb.threads/sigstep-threads.exp: Likewise.
13669 * gdb.threads/staticthreads.exp: Likewise.
13670 * gdb.threads/tls.exp: Likewise.
13671
1e6697ea
YQ
136722016-03-09 Pedro Alves <palves@redhat.com>
13673
13674 * gdb.base/command-line-input.exp: New file.
13675
b04fd3be
MK
136762016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
13677
13678 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
13679 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
13680 * gdb.trace/pending.exp: Accept leading dot before function name.
13681 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
13682 * lib/trace-support.exp: Set registers for ppc.
13683
98fa59e9
MK
136842016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
13685
13686 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
13687 use it for disassembly; accept .main in addition to main in backtrace.
13688
f77198c8
MK
136892016-03-09 Wei-cheng Wang <cole945@gmail.com>
13690 Marcin Kościelnicki <koriakin@0x04.net>
13691
13692 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
13693 (gdb_recursion_test_ptr): New global variable.
13694 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
13695 gdb_recursion_test.
13696 (gdb_c_test): Ditto.
13697
ba84e0da
MK
136982016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
13699
13700 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
13701 ordering.
13702
4366d36e
MK
137032016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
13704
13705 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
13706 (bar): Add bar_start_lbl label.
13707 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
13708 of foo/bar for emitting DWARF and tracing.
13709
5eb264df
SDJ
137102016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
13711
13712 * analyze-racy-logs.py: Set executable bit.
13713
fb6a751f
SDJ
137142016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
13715
13716 * Makefile.in (DEFAULT_RACY_ITER): New variable.
13717 (CHECK_TARGET_TMP): Likewise.
13718 (check-single-racy): New rule.
13719 (check-parallel-racy): Likewise.
13720 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
13721 (do-check-parallel-racy): New rule.
13722 (check-racy/%.exp): Likewise.
13723 * README (Racy testcases): New section.
13724 * analyze-racy-logs.py: New file.
13725
bdf7e230
DE
137262016-03-03 Doug Evans <dje@google.com>
13727
13728 * gdb.base/skip.exp: Use with_test_prefix.
13729
4719d415
YQ
137302016-03-03 Yao Qi <yao.qi@linaro.org>
13731
13732 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
13733 Invoke step_over_syscall "clone" and break_cond_on_syscall
13734 "clone".
13735 * gdb.base/step-over-clone.c: New file.
13736
ea507862
YQ
137372016-03-03 Yao Qi <yao.qi@linaro.org>
13738
13739 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
13740 code format.
13741
8fc8cbda
YQ
137422016-03-03 Yao Qi <yao.qi@linaro.org>
13743
13744 * gdb.base/disp-step-fork.c: Rename to ...
13745 * gdb.base/step-over-fork.c: ... it. New file.
13746 * gdb.base/disp-step-vfork.c: Rename to ...
13747 * gdb.base/step-over-vfork.c: ... it. New file.
13748 * gdb.base/disp-step-syscall.exp: Rename to ...
13749 * gdb.base/step-over-syscall.exp: ... it. New file.
13750 (disp_step_cross_syscall): Rename to ...
13751 (step_over_syscall): ... it.
13752
92fa70b0
YQ
137532016-03-03 Yao Qi <yao.qi@linaro.org>
13754
13755 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
13756 If target supports condition evaluation on target, invoke
13757 break_cond_on_syscall for fork and vfork.
13758
e197ad3c
YQ
137592016-03-03 Yao Qi <yao.qi@linaro.org>
13760
13761 * gdb.base/disp-step-syscall.exp: Don't invoke
13762 support_displaced_stepping.
13763 (disp_step_cross_syscall): Test with displaced stepping off and
13764 on if supported.
13765
0b47da9f
YQ
137662016-03-03 Yao Qi <yao.qi@linaro.org>
13767
13768 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
13769 proc.
13770 (setup): New proc.
13771 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
13772 and setup.
13773
065ab6dc
BH
137742016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
13775
13776 * gdb.fortran/vla-history.exp: Remove breakpoint.
13777
07e448ad 137782016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
13779
25d49b86
PA
13780 * gdb.fortran/vla-history.exp: Lookup array elements and printing
13781 exceeds timeout.
07e448ad 13782
9ac2d526 137832016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
13784
25d49b86
PA
13785 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
13786 breakpoint.
9ac2d526 13787
17807369
BH
137882016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
13789
13790 * gdb.mi/vla.f90: Nullify pointer after declaration.
13791
86e501af
PA
137922016-03-01 Pedro Alves <palves@redhat.com>
13793
13794 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
13795
1e903e32
PA
137962016-03-01 Pedro Alves <palves@redhat.com>
13797
13798 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
13799 before anything else.
13800 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
13801 _GNU_SOURCE here.
13802 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
13803 before anything else.
13804 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
13805
6ccb54e2
PA
138062016-03-01 Pedro Alves <palves@redhat.com>
13807
13808 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
13809
30ca9da1
YQ
138102016-03-01 Yao Qi <yao.qi@linaro.org>
13811
13812 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
13813 prepare_for_testing.
13814
dc856b38
YQ
138152016-03-01 Yao Qi <yao.qi@linaro.org>
13816
13817 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
13818
4a932159
AA
138192016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
13820
13821 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
13822 manually constructing the output path.
13823
f2489477
AA
138242016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
13825
13826 * gdb.arch/s390-stackless.S: New.
13827 * gdb.arch/s390-stackless.exp: New.
13828
38899f16
IB
138292016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
13830
13831 * gdb.dlang/circular.c: New file.
13832 * gdb.dlang/circular.exp: New file.
13833
9fde51ed
YQ
138342016-02-26 Yao Qi <yao.qi@linaro.org>
13835
13836 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
13837 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
13838 (testcases): Update.
13839
ce90fefe
YQ
138402016-02-26 Yao Qi <yao.qi@linaro.org>
13841
13842 * gdb.reverse/aarch64.c: Rename to ...
13843 * gdb.reverse/insn-reverse.c: ... it.
13844 * gdb.reverse/aarch64.exp: Rename to ...
13845 * gdb.reverse/insn-reverse.exp: ... it.
13846
3263bceb
YQ
138472016-02-26 Yao Qi <yao.qi@linaro.org>
13848
13849 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
13850 (testcase_ftype): New.
13851 (testcases): New array.
13852 (n_testcases): New.
13853 (main): Call each element in testcases.
13854 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
13855 (read_testcase): New.
13856 Do the tests in a loop.
13857
6cb59ff1
YQ
138582016-02-25 Yao Qi <yao.qi@linaro.org>
13859
13860 * gdb.base/branches.c: Remove.
13861
ae91f625
MK
138622016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
13863
13864 PR gdb/13808
13865 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
13866
678b48b7
MK
138672016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
13868
13869 * gdb.trace/ftrace.exp: Remove unnecessary target check.
13870
7337a6f2
MK
138712016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
13872
13873 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
13874 change x86_64 call_insn to 'callq'.
13875
861ca91f
AT
138762016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
13877
13878 * gdb.trace/tfile-avx.c: Move to...
13879 * gdb.trace/tracefile-pseudo-reg.c: Here.
13880 * gdb.trace/tfile-avx.exp: Move to...
13881 * gdb.trace/tracefile-pseudo-reg.exp: Here.
13882
bf74e428
GB
138832016-02-24 Gary Benson <gbenson@redhat.com>
13884
13885 * gdb.base/attach-pie-noexec.exp: Do not expect an error
13886 message on attach.
13887
cce0e923
DE
138882016-02-23 Doug Evans <dje@google.com>
13889
13890 * gdb.base/skip.c (test_skip): New function.
13891 (end_test_skip_file_and_function): New function.
13892 (test_skip_file_and_function): New function.
13893 * gdb.base/skip1.c (test_skip): New function.
13894 (skip1_test_skip_file_and_function): New function.
13895 * gdb.base/skip.exp: Add tests for new skip options.
13896 * gdb.base/skip-solib.exp: Update expected output.
13897 * gdb.perf/skip-command.cc: New file.
13898 * gdb.perf/skip-command.exp: New file.
13899 * gdb.perf/skip-command.py: New file.
13900
4000e47e
MK
139012016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
13902
13903 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
13904 info registers pattern.
13905
24f75ead
IB
139062016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
13907
13908 * lib/future.exp: Add D support.
13909 (gdb_find_gdc): New proc.
13910 (gdb_default_target_compile): Add D support.
13911
fbb7bcbe
WW
139122016-02-18 Wei-cheng Wang <cole945@gmail.com>
13913
13914 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
13915 user+system time.
13916 (trace_speed_test): Determine the iteration count for a time
13917 between 15..30 seconds.
13918
012b3a21
WT
139192016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
13920
13921 * gdb.arch/i386-mpx-sigsegv.c: New file.
13922 * gdb.arch/i386-mpx-sigsegv.exp: New file.
13923 * gdb.arch/i386-mpx-simple_segv.c: New file.
13924 * gdb.arch/i386-mpx-simple_segv.exp: New file.
13925
2d5189bd
YQ
139262016-02-18 Yao Qi <yao.qi@linaro.org>
13927
13928 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
13929 Don't call setup_kfail.
13930
40fb20d0
YQ
139312016-02-18 Yao Qi <yao.qi@linaro.org>
13932
13933 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
13934 Set "set breakpoint condition-evaluation" per $cond_bp_target.
13935
21b1f8d2
DE
139362016-02-16 Doug Evans <dje@google.com>
13937
13938 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
13939 * gdb.base/skip1.c: Ditto.
13940 * gdb.base/skip.exp: Whitespace cleanup.
13941
4041ed77
DB
139422016-02-16 Don Breazeal <donb@codesourcery.com>
13943
13944 PR remote/19496
13945 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
13946 Remove kfail for PR remote/19496.
13947
c4ef31bf
SM
139482016-02-16 Simon Marchi <simon.marchi@ericsson.com>
13949
13950 * lib/gdb.exp (standard_temp_file): Return a path specific to
13951 the runtest invocation.
13952
266b65b3
SM
139532016-02-16 Simon Marchi <simon.marchi@ericsson.com>
13954
13955 * gdb.trace/save-trace.exp: Change relative path to be in the
13956 standard output directory.
13957
a7a0a6a9
JK
139582016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13959
13960 * gdb.arch/i386-prologue.c: Add missing prototypes.
13961
c99dbb42
JK
139622016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13963
13964 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
13965 * gdb.arch/i386-prologue.exp: Likewise.
13966 * gdb.arch/i386-size.exp: Likewise.
13967
aa480355
SM
139682016-02-15 Simon Marchi <simon.marchi@ericsson.com>
13969
13970 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
13971 define object file path.
13972 * gdb.btrace/gcore.exp: Use standard_output_file to define core
13973 file path.
13974 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
13975 standard_output_file to define binfile.
13976
ba881f50
JK
139772016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13978
13979 Fix compatibility with recent gfortran-5.3.1.
13980 * gdb.fortran/vla-history.exp (print vla1 allocated)
13981 (print vla2 allocated, print $2, print $3): Remove
13982 (print $4): Rename to ...
13983 (print $2): ... here.
13984 (print $9): Rename to ...
13985 (print $5): ... here.
13986 (print $10): Rename to ...
13987 (print $6): ... here.
13988 * gdb.fortran/vla.f90: Add pvla initialization.
13989
e9fb005c
JK
139902016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13991
13992 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
13993 New test.
13994 * gdb.fortran/vla-value-sub.exp: Likewise.
13995
e44e00ff
MK
139962016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
13997
13998 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
13999
97e94151
SM
140002016-02-12 Simon Marchi <simon.marchi@ericsson.com>
14001
14002 * i386-biarch-core.exp: Define corefile using
14003 standard_output_file.
14004
01113bc1
YQ
140052016-02-12 Yao Qi <yao.qi@linaro.org>
14006
14007 * gdb.arch/arm-single-step-kernel-helper.c: New.
14008 * gdb.arch/arm-single-step-kernel-helper.exp: New.
14009
33b4777c
MM
140102016-02-12 Markus Metzger <markus.t.metzger@intel.com>
14011
14012 * gdb.btrace/tailcall-only.exp: New.
14013 * gdb.btrace/tailcall-only.c: New.
14014 * gdb.btrace/x86_64-tailcall-only.S: New.
14015 * gdb.btrace/i686-tailcall-only.S: New.
14016
acc23c11
PA
140172016-02-11 Pedro Alves <palves@redhat.com>
14018
14019 * README (Parallel testing): Add missing double quotes.
14020
e352bf0a
PA
140212016-02-11 Pedro Alves <palves@redhat.com>
14022
14023 * README (Parallel testing): New section.
14024 (GDB_PARALLEL): Rewrite.
14025 (FORCE_PARALLEL): Document.
14026
9f5fed78
MK
140272016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
14028
14029 * gdb.trace/tfile-avx.c: New test.
14030 * gdb.trace/tfile-avx.exp: New test.
14031
9ef9e6a6
KS
140322016-02-09 Keith Seitz <keiths@redhat.com>
14033
14034 PR breakpoints/19546
14035 * gdb.base/infcall-exec.c: New file.
14036 * gdb.base/infcall-exec2.c: New file.
14037 * gdb.base/infcall-exec.exp: New file.
14038
a96e36da
KS
140392016-02-09 Keith Seitz <keiths@redhat.com>
14040
14041 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
14042 (toplevel): Call test_bkpt_address.
14043
9f61929f
KS
140442016-02-09 Keith Seitz <keiths@redhat.com>
14045
14046 PR python/19506
14047 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
14048 (toplevel): Call test_bkpt_address.
14049
1e94266c
SM
140502016-02-09 Simon Marchi <simon.marchi@ericsson.com>
14051
14052 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
14053 to AC_OUTPUT.
14054 * configure: Regenerate.
14055
2a7f3dff
PA
140562016-02-09 Pedro Alves <palves@redhat.com>
14057
14058 PR breakpoints/19548
14059 * gdb.base/execl-update-breakpoints.c (some_function): New
14060 function.
14061 (main): Call it.
14062 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
14063 Tighten expected GDB output.
14064
2151ccc5
SM
140652016-02-08 Simon Marchi <simon.marchi@ericsson.com>
14066
14067 * Makefile.in (ALL_SUBDIRS): Remove.
14068 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
14069 (distclean maintainer-clean realclean): Likewise.
14070 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
14071 * configure: Regenerate.
14072 * gdb.ada/Makefile.in: Delete.
14073 * gdb.arch/Makefile.in: Likewise.
14074 * gdb.asm/Makefile.in: Likewise.
14075 * gdb.base/Makefile.in: Likewise.
14076 * gdb.btrace/Makefile.in: Likewise.
14077 * gdb.cell/Makefile.in: Likewise.
14078 * gdb.compile/Makefile.in: Likewise.
14079 * gdb.cp/Makefile.in: Likewise.
14080 * gdb.disasm/Makefile.in: Likewise.
14081 * gdb.dlang/Makefile.in: Likewise.
14082 * gdb.dwarf2/Makefile.in: Likewise.
14083 * gdb.fortran/Makefile.in: Likewise.
14084 * gdb.gdb/Makefile.in: Likewise.
14085 * gdb.go/Makefile.in: Likewise.
14086 * gdb.guile/Makefile.in: Likewise.
14087 * gdb.java/Makefile.in: Likewise.
14088 * gdb.linespec/Makefile.in: Likewise.
14089 * gdb.mi/Makefile.in: Likewise.
14090 * gdb.modula2/Makefile.in: Likewise.
14091 * gdb.multi/Makefile.in: Likewise.
14092 * gdb.objc/Makefile.in: Likewise.
14093 * gdb.opencl/Makefile.in: Likewise.
14094 * gdb.opt/Makefile.in: Likewise.
14095 * gdb.pascal/Makefile.in: Likewise.
14096 * gdb.perf/Makefile.in: Likewise.
14097 * gdb.python/Makefile.in: Likewise.
14098 * gdb.reverse/Makefile.in: Likewise.
14099 * gdb.server/Makefile.in: Likewise.
14100 * gdb.stabs/Makefile.in: Likewise.
14101 * gdb.threads/Makefile.in: Likewise.
14102 * gdb.trace/Makefile.in: Likewise.
14103 * gdb.xml/Makefile.in: Likewise.
14104 * lib/gdb.exp (make_gdb_parallel_path): Add check for
14105 GDB_PARALLEL.
14106 (standard_output_file): Remove check for GDB_PARALLEL, always
14107 return path in outputs/$subdir/$testname.
14108
437277d4
SM
141092016-02-08 Simon Marchi <simon.marchi@ericsson.com>
14110
14111 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
14112 (site.exp): Assign abs_srcdir to tcl's srcdir.
14113
31d913c7
YQ
141142016-02-04 Yao Qi <yao.qi@linaro.org>
14115
14116 * gdb.base/foll-exec-mode.c: Include limits.h.
14117 (main): Add parameters argc and argv. Get directory from
14118 argv[0].
14119 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
14120 compilation.
14121 * gdb.base/foll-exec.c: Include limits.h.
14122 (main): Add parameters argc and argv.
14123 Get directory from argv[0].
14124 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
14125 Adjust tests on the number of lines as source code changed.
14126 * gdb.base/foll-vfork-exit.c: Include limits.h.
14127 (main): Add one line of statement before vfork.
14128 * gdb.base/foll-vfork.c: Include limits.h and string.h.
14129 (main): Add parameters argc and argv. Get directory from
14130 argv[0].
14131 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
14132 (setup_gdb): Set tbreak to skip some source lines.
14133 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
14134 (main): Add parameters argc and argv. Get directory from
14135 argv[0].
14136 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
14137 compilation.
14138 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
14139 (main): Add parameters argc and argv. Get directory from
14140 argv[0].
14141 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
14142 compilation.
14143
9482b9fb
DE
141442016-02-01 Doug Evans <dje@google.com>
14145
14146 * gdb.base/skip.exp: Clean up multiple references to same test name.
14147
6b2e4f10
PA
141482016-02-01 Pedro Alves <palves@redhat.com>
14149
ccb6afd6 14150 PR remote/19496
6b2e4f10
PA
14151 * gdb.threads/forking-threads-plus-breakpoint.exp
14152 (displaced_stepping_supported): New global.
14153 (probe_displaced_stepping_support): New procedure.
14154 (do_test): Add 'displaced' parameter, and use it.
14155 (top level): Check for displaced stepping support. Add displaced
14156 stepping on/off testing axis.
14157
37a8db1a
AB
141582016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
14159
14160 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
14161 pointer. Don't perform further tests on the unassociated pointer
14162 if the first test fails.
14163
5fdf6324
AB
141642016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
14165
14166 * gdb.base/max-value-size.c: New file.
14167 * gdb.base/max-value-size.exp: New file.
14168 * gdb.base/huge.exp: Disable max-value-size for this test.
14169
935c6144
IB
141702016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
14171
14172 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
14173
7fe8399d
YQ
141742016-01-28 Yao Qi <yao.qi@linaro.org>
14175
14176 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
14177
a2077e25
PA
141782016-01-25 Pedro Alves <palves@redhat.com>
14179
14180 PR threads/19461
14181 * gdb.base/fork-running-state.c: New file.
14182 * gdb.base/fork-running-state.exp: New file.
14183
1d2736d4
PA
141842016-01-25 Pedro Alves <palves@redhat.com>
14185
14186 PR gdb/19494
14187 * gdb.base/catch-fork-kill.c: New file.
14188 * gdb.base/catch-fork-kill.exp: New file.
14189
f1da4b11
PA
141902016-01-25 Pedro Alves <palves@redhat.com>
14191
14192 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
14193 Delete, moved to lib/gdb.exp.
14194 * gdb.threads/forking-threads-plus-breakpoint.exp
14195 (foreach_with_prefix): Likewise.
14196 * gdb.threads/process-dies-while-handling-bp.exp
14197 (foreach_with_prefix): Likewise.
14198 * lib/gdb.exp (foreach_with_prefix): New procedure.
14199
45f38546
MK
142002016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
14201
14202 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
14203 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
14204
dc29a1ce
MK
142052016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
14206
14207 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
14208 endian targets.
14209
092127d7
JK
142102016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14211 Pedro Alves <palves@redhat.com>
14212
14213 Fix testsuite compatibility with Guile.
14214 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
14215 number.
14216
31d765d3
JK
142172016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14218
14219 Fix testsuite compatibility with Guile.
14220 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
14221 (thread 1): New test for backtrace through signal handler.
14222
1ac78c04
YQ
142232016-01-22 Yao Qi <yao.qi@linaro.org>
14224
14225 PR testsuite/19491
14226 * gdb.base/multi-forks.c: Include
14227 ../lib/unbuffer_output.c
14228 (main): Call gdb_unbuffer_output.
14229
4f5946a8
DE
142302016-01-21 Doug Evans <dje@google.com>
14231
14232 * lib/ada.exp (gdb_compile_ada): Fix typo.
14233
305e13e6
JB
142342016-01-21 Joel Brobecker <brobecker@adacore.com>
14235
14236 * gdb.base/break-fun-addr.exp: New file.
14237 * gdb.base/break-fun-addr1.c: New file.
14238 * gdb.base/break-fun-addr2.c: New file.
14239
5f5dfff6
SM
142402016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
14241
14242 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
14243 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
14244 enum flag values.
14245
fd356fa2
AA
142462016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
14247
14248 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
14249 when GDB can not set the vector return value. Add more comments
14250 for clarification.
14251
9df22175
AT
142522016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
14253
14254 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
14255 command.
14256
41d1845e
SM
142572016-01-19 Simon Marchi <simon.marchi@ericsson.com>
14258
14259 * Makefile.in (DO_RUNTEST): Add --status and update usages.
14260
01ac6840
SM
142612016-01-19 Simon Marchi <simon.marchi@ericsson.com>
14262
14263 * Makefile.in (check-single): Pass --status to runtest.
14264 (check/%.exp): Likewise.
14265
142662016-01-19 Simon Marchi <simon.marchi@ericsson.com>
14267
14268 * Makefile.in (check-parallel): Propagate return code from make
14269 do-check-parallel.
14270
bd0a71fa
MK
142712016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
14272
14273 * gdb.trace/ftrace.exp: Fix expected message on continue.
14274 * gdb.trace/pending.exp: Fix expected message on continue.
14275 * gdb.trace/trace-break.exp: Fix expected message on continue.
14276
8bcbad33
SM
142772016-01-18 Simon Marchi <simon.marchi@ericsson.com>
14278
14279 * lib/gdb.exp (gdb_test): Remove unused global references.
14280
f303dbd6
PA
142812016-01-18 Pedro Alves <palves@redhat.com>
14282
14283 * gdb.base/async-shell.exp: Adjust expected output.
14284 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
14285 * gdb.base/siginfo-thread.exp: Adjust expected output.
14286 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
14287 * gdb.java/jnpe.exp: Adjust expected output.
14288 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
14289 * gdb.threads/continue-pending-status.exp: Adjust expected output.
14290 * gdb.threads/leader-exit.exp: Adjust expected output.
14291 * gdb.threads/manythreads.exp: Adjust expected output.
14292 * gdb.threads/pthreads.exp: Adjust expected output.
14293 * gdb.threads/schedlock.exp: Adjust expected output.
14294 * gdb.threads/siginfo-threads.exp: Adjust expected output.
14295 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
14296 expected output.
14297 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
14298 output.
14299 * gdb.threads/sigthread.exp: Adjust expected output.
14300 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
14301
b2789696
YQ
143022016-01-18 Yao Qi <yao.qi@linaro.org>
14303
14304 * gdb.guile/scm-section-script.c: Replace @progbits with
14305 %progbits.
14306 * gdb.python/py-section-script.c: Likewise.
14307
71ef29a8
PA
143082016-01-15 Pedro Alves <palves@redhat.com>
14309
14310 * gdb.multi/tids.exp: Test star wildcard ranges.
14311
3f5b7598
PA
143122016-01-15 Pedro Alves <palves@redhat.com>
14313
14314 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
14315 command from "thread apply" invocation.
14316 (thr_apply_info_thr_invalid): Default the expected output to the
14317 input tid list.
14318 (top level): Add tests that use convenience variables. Add tests
14319 for "thread apply" with a valid TID list, but missing the command.
14320
663f6d42
PA
143212016-01-13 Pedro Alves <palves@redhat.com>
14322
14323 * gdb.base/default.exp: Expect $_gthread as well.
14324 * gdb.multi/tids.exp: Test $_gthread.
14325 * gdb.threads/thread-specific.exp: Test $_gthread.
14326
c84f6bbf
PA
143272016-01-13 Pedro Alves <palves@redhat.com>
14328
14329 * gdb.multi/tids.exp: Test "info threads -gid".
14330
22a02324
PA
143312016-01-13 Pedro Alves <palves@redhat.com>
14332
14333 * gdb.multi/tids.exp: Test InferiorThread.global_num and
14334 Breakpoint.thread.
14335 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
14336
5d5658a1
PA
143372016-01-07 Pedro Alves <palves@redhat.com>
14338
14339 * gdb.base/break.exp: Adjust to output changes.
14340 * gdb.base/hbreak2.exp: Likewise.
14341 * gdb.base/sepdebug.exp: Likewise.
14342 * gdb.base/watch_thread_num.exp: Likewise.
14343 * gdb.linespec/keywords.exp: Likewise.
14344 * gdb.multi/info-threads.exp: Likewise.
14345 * gdb.threads/thread-find.exp: Likewise.
14346 * gdb.multi/tids.c: New file.
14347 * gdb.multi/tids.exp: New file.
14348
84654457
PA
143492016-01-13 Pedro Alves <palves@redhat.com>
14350
14351 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
14352
e3940304
PA
143532016-01-13 Pedro Alves <palves@redhat.com>
14354
14355 * gdb.base/default.exp: Expect $_inferior as well.
14356 * gdb.multi/base.exp: Test $_inferior.
14357
a911d87a
PA
143582016-01-13 Pedro Alves <palves@redhat.com>
14359
14360 PR breakpoints/19388
14361 * gdb.base/catch-signal-siginfo-cond.c: New file.
14362 * gdb.base/catch-signal-siginfo-cond.exp: New file.
14363
82075af2
JS
143642016-01-12 Josh Stone <jistone@redhat.com>
14365 Philippe Waroquiers <philippe.waroquiers@skynet.be>
14366
14367 * gdb.base/catch-syscall.c (do_execve): New variable.
14368 (main): Conditionally trigger an execve.
14369 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
14370 (test_catch_syscall_execve): New, check entry/return across execve.
14371 (do_syscall_tests): Call test_catch_syscall_execve.
14372
e46eeedd
PA
143732016-01-12 Pedro Alves <palves@redhat.com>
14374
14375 * gdb.base/random-signal.exp (do_test): New procedure, with body
14376 of testcase moved in.
14377
01d8c27e
JK
143782016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14379 Pedro Alves <palves@redhat.com>
14380
14381 * gdb.base/funcargs.exp (finish from indirectly called function):
14382 Reintroduce the case for 'First'.
14383
9a706302
JK
143842016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14385 Pedro Alves <palves@redhat.com>
14386
14387 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
14388 (tcatch_vfork_then_child_follow_exec)
14389 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
14390 identification.
14391
c0ecb95f
JK
143922016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14393
14394 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
14395 and repeats to unlimited.
14396 * gdb.python/py-value.exp: Likewise.
14397 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
14398 and repeats to unlimited.
14399
6cfc1fcb
JK
144002016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
14401
14402 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
14403 and reordering the functions.
14404 * gdb.multi/hangout.c: Likewise.
14405 * gdb.multi/hello.c: Likewise.
14406
582a1b00
SM
144072016-01-08 Simon Marchi <simon.marchi@ericsson.com>
14408
14409 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
14410 absolute.
14411 (SingleStatisticTestResult.report): Use dict.keys instead of
14412 dict.iterkeys.
14413
79bc59cb
PA
144142016-01-06 Pedro Alves <palves@redhat.com>
14415
14416 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
14417
43368e1d
MM
144182016-01-04 Markus Metzger <markus.t.metzger@intel.com>
14419
14420 * gdb.btrace/dlopen.exp: New.
14421 * gdb.btrace/dlopen.c: New.
14422 * gdb.btrace/dlopen-dso.c: New.
14423
79fad5b8
SL
144242015-12-25 Sandra Loosemore <sandra@codesourcery.com>
14425
14426 * lib/gdb.exp (gdb_test): Update comments to clarify that the
14427 PATTERN argument is optional.
14428
ab8314b3
JB
144292015-12-24 Joel Brobecker <brobecker@adacore.com>
14430
14431 * lib/ada.exp (target_compile_ada_from_dir): New function.
14432 (gdb_compile_ada): Reimplement avoiding the use of project files.
14433 * gdb.ada/gnat_ada.gpr: Delete.
14434 * gdb.ada/cond_lang.exp: Adjust test to make path before
14435 filename optional.
14436 * gdb.ada/small_reg_param.exp: Likewise.
14437
fe33faff
SM
144382015-12-22 Simon Marchi <simon.marchi@ericsson.com>
14439
14440 * gdb.base/foll-vork.exp: Remove HP-UX special case.
14441
6d265cb4
TP
144422015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
14443
14444 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
14445 case.
14446
10125099
SM
144472015-12-21 Simon Marchi <simon.marchi@ericsson.com>
14448
14449 * gdb.base/break.exp: Remove dead code.
14450 * gdb.base/sepdebug.exp: Likewise.
14451
3ca22649
SM
144522015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
14453
14454 * gdb.asm/asm-source.exp: Remove HP-UX references.
14455 * gdb.base/annota1.exp: Likewise.
14456 * gdb.base/annota3.exp: Likewise.
14457 * gdb.base/attach.exp: Likewise.
14458 * gdb.base/bigcore.exp: Likewise.
14459 * gdb.base/break.exp: Likewise.
14460 * gdb.base/call-ar-st.exp: Likewise.
14461 * gdb.base/callfuncs.exp: Likewise.
14462 * gdb.base/catch-fork-static.exp: Likewise.
14463 * gdb.base/display.exp: Likewise.
14464 * gdb.base/foll-exec-mode.exp: Likewise.
14465 * gdb.base/foll-exec.exp: Likewise.
14466 * gdb.base/foll-fork.exp: Likewise.
14467 * gdb.base/foll-vfork.exp: Likewise.
14468 * gdb.base/funcargs.exp: Likewise.
14469 * gdb.base/hbreak2.exp: Likewise.
14470 * gdb.base/inferior-died.exp: Likewise.
14471 * gdb.base/interrupt.exp: Likewise.
14472 * gdb.base/multi-forks.exp: Likewise.
14473 * gdb.base/nodebug.exp: Likewise.
14474 * gdb.base/sepdebug.exp: Likewise.
14475 * gdb.base/solib1.c: Likewise.
14476 * gdb.base/step-test.exp: Likewise.
14477 * gdb.mi/non-stop.c: Likewise.
14478 * gdb.mi/pthreads.c: Likewise.
14479 * gdb.multi/bkpt-multi-exec.ex: Likewise.
14480 * gdb.threads/pthreads.c: Likewise.
14481 * gdb.threads/staticthreads.exp: Likewise.
14482 * lib/future.exp: Likewise.
14483 * lib/gdb.exp: Likewise.
14484 * gdb.base/so-indr-cl.c: Remove.
14485 * gdb.base/so-indr-cl.exp: Likewise.
14486 * gdb.base/solib.c: Likewise.
14487 * gdb.base/solib.exp: Likewise.
14488 * gdb.base/solib2.c: Likewise.
14489
b6304613
SM
144902015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
14491
14492 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
14493 * gdb.base/call-ar-st.exp: Likewise.
14494 * gdb.base/callfuncs.exp: Likewise.
14495 * gdb.base/condbreak.exp: Likewise.
14496 * gdb.base/constvars.exp: Likewise.
14497 * gdb.base/hbreak2.exp: Likewise.
14498 * gdb.base/langs.exp: Likewise.
14499 * gdb.base/list.exp: Likewise.
14500 * gdb.base/long_long.exp: Likewise.
14501 * gdb.base/ptype.exp: Likewise.
14502 * gdb.base/scope.exp: Likewise.
14503 * gdb.base/signals.exp: Likewise.
14504 * gdb.base/so-impl-ld.exp: Likewise.
14505 * gdb.base/varargs.exp: Likewise.
14506 * gdb.base/volatile.exp: Likewise.
14507 * gdb.base/whatis.exp: Likewise.
14508 * gdb.cp/cplusfuncs.exp: Likewise.
14509 * gdb.cp/inherit.exp: Likewise.
14510 * gdb.cp/local.exp: Likewise.
14511 * gdb.cp/member-ptr.exp: Likewise.
14512 * gdb.cp/method.exp: Likewise.
14513 * gdb.cp/overload.exp: Likewise.
14514 * gdb.cp/templates.exp: Likewise.
14515 * gdb.stabs/weird.exp: Likewise.
14516 * lib/compiler.c: Likewise.
14517 * lib/compiler.cc: Likewise.
14518 * lib/cp-support.exp: Likewise.
14519 * lib/gdb.exp: Likewise.
14520
bf401b07
SM
145212015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
14522
14523 * configure.ac: Remove HP-UX case.
14524 * configure: Regenerate.
14525
aff9c0f8
SM
145262015-12-18 Simon Marchi <simon.marchi@ericsson.com>
14527
14528 * lib/gdb.exp (gdb_compile): Add function doc.
14529
a6904d5a
PA
145302015-12-17 Pedro Alves <palves@redhat.com>
14531
14532 PR threads/19354
14533 * gdb.multi/info-threads.exp: New file.
14534
a22279dd
YQ
145352015-12-15 Yao Qi <yao.qi@linaro.org>
14536
14537 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
14538 is aarch64*-*-*.
14539
0588c796
SL
145402015-12-14 Sandra Loosemore <sandra@codesourcery.com>
14541
14542 * gdb.base/history-duplicates.exp: Skip if no readline support.
14543
5d978e17
SL
145442015-12-14 Sandra Loosemore <sandra@codesourcery.com>
14545
14546 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
14547
7e763b86
SL
145482015-12-14 Sandra Loosemore <sandra@codesourcery.com>
14549
14550 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
14551
87a3a92c
SL
145522015-12-14 Sandra Loosemore <sandra@codesourcery.com>
14553
14554 * gdb.base/completion.exp: Skip tests that interrupt GDB with
14555 ctrl-C if nointerrupts target property is set.
14556 * gdb.base/double-prompt-target-event-error.exp: Likewise.
14557 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
14558 * gdb.base/paginate-bg-execution.exp: Likewise.
14559 * gdb.base/paginate-execution-startup.exp: Likewise.
14560 * gdb.base/random-signal.exp: Likewise.
14561 * gdb.base/range-stepping.exp: Likewise.
14562 * gdb.cp/annota2.exp: Likewise.
14563 * gdb.cp/annota3.exp: Likewise.
14564 * gdb.gdb/selftest.exp: Likewise.
14565 * gdb.threads/continue-pending-status.exp: Likewise.
14566 * gdb.threads/leader-exit.exp: Likewise.
14567 * gdb.threads/manythreads.exp: Likewise.
14568 * gdb.threads/pthreads.exp: Likewise.
14569 * gdb.threads/schedlock.exp: Likewise.
14570 * gdb.threads/sigthread.exp: Likewise.
14571
a8f077dc
DB
145722015-12-11 Don Breazeal <donb@codesourcery.com>
14573
14574 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
14575 remote.
14576 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
14577 * gdb.base/foll-exec.exp (main): Enable for target remote.
14578 * gdb.base/foll-fork.exp (main): Likewise.
14579 * gdb.base/foll-vfork.exp (main): Likewise.
14580 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
14581 (proc continue_to_exit_bp_loc): Use clean_restart.
14582 * gdb.base/pie-execl.exp (main): Disable for target remote.
14583 * gdb.base/watch-vfork.exp (main): Enable for target remote.
14584 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
14585 * gdb.threads/execl.exp (main): Likewise.
14586 * gdb.threads/fork-child-threads.exp (main): Likewise.
14587 * gdb.threads/fork-plus-threads.exp (main): Disable for target
14588 remote.
14589 * gdb.threads/fork-thread-pending.exp (main): Enable for target
14590 remote.
14591 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
14592 pid.tid style ptids, instead of just tid.
14593 * gdb.threads/thread-execl.exp (main): Enable for target remote.
14594 * gdb.threads/watchpoint-fork.exp (main): Likewise.
14595 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
14596 ptids, instead of just tid.
14597
3b2464a8
AB
145982015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
14599
14600 * gdb.base/list.exp (test_list_forward): Add end of file error
14601 test.
14602 (test_repeat_list_command): Add end of file error test.
14603 (test_list_backwards): Add beginning of file error test.
14604
a0def019
AB
146052015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
14606
14607 * gdb.base/list.exp (test_list_invalid_args): New function,
14608 defined, and called.
14609
5c000dff
AB
146102015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
14611
14612 * gdb.base/list.exp (test_list): Make test names unique.
14613
f1637ebe
YQ
146142015-12-11 Yao Qi <yao.qi@linaro.org>
14615
14616 * gdb.base/coremaker2.c: Remove.
14617
36d6fc0a
PA
146182015-12-10 Pedro Alves <palves@redhat.com>
14619
14620 * gdb.multi/base.exp: Remove stale "spaces" references.
14621
762f7747
PA
146222015-12-10 Pedro Alves <palves@redhat.com>
14623
14624 * gdb.multi/base.exp: Don't use nowarnings.
14625 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
14626 * gdb.multi/hangout.c: Include stdio.h.
14627 * gdb.multi/hello.c: Include stdlib.h.
14628 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
14629 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
14630 * gdb.multi/multi-arch.exp: Don't use nowarnings.
14631
28d2bfb9
AB
146322015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
14633
14634 * gdb.dwarf2/dw2-ranges-base.c: New file.
14635 * gdb.dwarf2/dw2-ranges-base.exp: New file.
14636 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
14637 support additional line table, and debug ranges generation.
14638 (Dwarf::ranges): New function, generate .debug_ranges.
14639 (Dwarf::lines): Support generating simple line table programs.
14640 (Dwarf::assemble): Initialise new namespace variables.
14641
5fc2beac
KB
146422015-12-09 Kevin Buettner <kevinb@redhat.com>
14643
14644 * gdb.base/async.exp (proc test_background): Add case for
14645 asynchronous execution not supported.
14646
1c35a88f
LM
146472015-12-09 Luis Machado <lgustavo@codesourcery.com>
14648
14649 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
14650 format and change test names to make them unique.
14651
b593e3d9
RK
146522015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
14653 Pedro Alves <pedro@redhat.com>
14654
14655 PR gdb/18702
14656 Add checking of floatformats setup on x86_64 hosts.
14657 * gdb.arch/i386-float.S (main): Load bigval and smallval.
14658 (smallval, bigval): New labels/constants.
14659 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
14660 float" after loading bigval and smallval.
14661
d72413e6
PMR
146622015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
14663
14664 * gdb.ada/fun_overload_menu.exp: New testcase.
14665 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
14666
ece66d65
JS
146672015-12-04 Josh Stone <jistone@redhat.com>
14668
14669 * gdb.base/catch-fork-static.exp: New.
14670
41d0efca
YQ
146712015-12-03 Yao Qi <yao.qi@linaro.org>
14672
14673 * gdb.base/sizeof.c: Don't include stdio.h and
14674 ../lib/unbuffer_output.c.
14675 (main): New variable 'size' and 'value'. Remove printf and
14676 gdb_unbuffer_output. Assign return value to size and value.
14677 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
14678 at the beginning.
14679 (check_sizeof): Check the result by printing variable 'size'.
14680 (check_valueof): Check the result by printing variable 'value'.
14681
99fd02d9
YQ
146822015-12-01 Yao Qi <yao.qi@linaro.org>
14683
14684 * gdb.base/disp-step-syscall.exp: Define syscall instruction
14685 for aarch64*-*-linux* target.
14686
f2faf941
PA
146872015-11-30 Pedro Alves <palves@redhat.com>
14688
14689 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
14690
04bf20c5
PA
146912015-11-30 Pedro Alves <palves@redhat.com>
14692
14693 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
14694 Handle non-stop mode vCont replies.
14695
09df4675
PA
146962015-11-30 Pedro Alves <palves@redhat.com>
14697
14698 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
14699 prepare_for_testing. Start gdb with "set non-stop on" appended to
14700 GDBFLAGS. Lax expected stop output.
14701
58b584af
YQ
147022015-11-27 Yao Qi <yao.qi@linaro.org>
14703
14704 * gdb.arch/arm-neon.exp: New.
14705 * gdb.arch/arm-neon.c: New.
14706
dfcb77a8
YQ
147072015-11-27 Yao Qi <yao.qi@linaro.org>
14708
14709 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
14710
88e8ec1b
YQ
147112015-11-27 Yao Qi <yao.qi@linaro.org>
14712
14713 * gdb.cp/annota2.exp: Allow multiple occurrences of the
14714 frames-invalid annotation.
14715
bfde72c2
YQ
147162015-11-27 Yao Qi <yao.qi@linaro.org>
14717
14718 * gdb.cp/annota2.exp: Use ${frames_invalid}.
14719
f6512a69
SM
147202015-11-26 Simon Marchi <simon.marchi@ericsson.com>
14721
14722 * gdb.threads/names.exp: New file.
14723 * gdb.threads/names.c: New file.
14724 * README: Mention gdb,no_thread_names.
14725
46a3515b
MM
147262015-11-26 Markus Metzger <markus.t.metzger@intel.com>
14727
14728 PR 19297
14729 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
14730 support" error.
14731
62147a22
PA
147322015-11-24 Pedro Alves <palves@redhat.com>
14733
14734 PR 17539
14735 * gdb.base/display.exp: Expect displays to be sorted in ascending
14736 order. Use multi_line.
14737 * gdb.base/solib-display.exp: Likewise.
14738
2f341b6e
PA
147392015-11-24 Pedro Alves <palves@redhat.com>
14740
14741 PR 17539
25d49b86
PA
14742 * gdb.base/display.exp: Expect displays to be sorted in ascending
14743 order. Use multi_line.
14744 * gdb.base/solib-display.exp: Likewise.
2f341b6e 14745
7e0aa6aa
PA
147462015-11-24 Pedro Alves <palves@redhat.com>
14747
14748 PR 17539
14749 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
14750 threads in ascending order.
14751 * gdb.base/foll-fork.exp: Likewise.
14752 * gdb.base/foll-vfork.exp: Likewise.
14753 * gdb.base/multi-forks.exp: Likewise.
14754 * gdb.mi/mi-nonstop.exp: Likewise.
14755 * gdb.mi/mi-nsintrall.exp: Likewise.
14756 * gdb.multi/base.exp: Likewise.
14757 * gdb.multi/multi-arch.exp: Likewise.
14758 * gdb.python/py-inferior.exp: Likewise.
14759 * gdb.threads/break-while-running.exp: Likewise.
14760 * gdb.threads/execl.exp: Likewise.
14761 * gdb.threads/gcore-thread.exp: Likewise.
14762 * gdb.threads/info-threads-cur-sal.exp: Likewise.
14763 * gdb.threads/kill.exp: Likewise.
14764 * gdb.threads/linux-dp.exp: Likewise.
14765 * gdb.threads/multiple-step-overs.exp: Likewise.
14766 * gdb.threads/next-bp-other-thread.exp: Likewise.
14767 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
14768 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
14769 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
14770 * gdb.threads/thread-find.exp: Likewise.
14771 * gdb.threads/tls.exp: Likewise.
14772 * lib/mi-support.exp (mi_reverse_list): Delete.
14773 (mi_check_thread_states): No longer reverse list.
14774
2cc57ad8
PA
147752015-11-24 Pedro Alves <palves@redhat.com>
14776
14777 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
14778 use lowercase.
14779
c93e8391
SM
147802015-11-23 Simon Marchi <simon.marchi@ericsson.com>
14781
14782 * gdb.trace/actions.c: Include trace-common.h.
14783 (main): Add a location for a fast tracepoint.
14784 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
14785 the normal tracepoints.
14786 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
14787
045ccf91
SM
147882015-11-23 Simon Marchi <simon.marchi@ericsson.com>
14789
14790 * save-trace.exp: Factor out code to these...
14791 (gdb_save_tracepoints): New.
14792 (gdb_load_tracepoints): New.
14793 (do_save_load_test): New.
14794
5506f9f6
KB
147952015-11-23 Kevin Buettner <kevinb@redhat.com>
14796
14797 * gdb.base/asmlabel.exp: New test.
14798 * gdb.base/asmlabel.c: New test case.
14799
16c3b12f
JB
148002015-11-23 Joel Brobecker <brobecker@adacore.com>
14801
14802 * gdb.base/wrong_frame_bt_full-main.c: New file.
14803 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
14804 * gdb.base/wrong_frame_bt_full.exp: New file.
14805
155bfbd3
JB
148062015-11-23 Joel Brobecker <brobecker@adacore.com>
14807
14808 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
14809
bb097445
JM
148102015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
14811
206853a0 14812 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
14813 pstate register when comparing registers values in
14814 sparc64-*-linux-gnu targets to avoid spurious differences.
14815
9c88ed8f
JM
148162015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
14817
206853a0 14818 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 14819
96161e25
SL
148202015-11-19 Sandra Loosemore <sandra@codesourcery.com>
14821
14822 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
14823 as type argument to gdb_compile.
14824 * gdb.base/nested-subp2.exp: Likewise.
14825 * gdb.base/nested-subp3.exp: Likewise.
14826
340c2830
DV
148272015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
14828
14829 * lib/dwarf.exp (_note): Fix left shift of negative value.
14830 * gdb.trace/trace-condition.exp: Likewise.
14831
c1862d0f
YQ
148322015-11-13 Yao Qi <yao.qi@linaro.org>
14833
14834 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
14835 comments about d10v.
14836 (test_scalar_returns): Likewise.
14837 * gdb.base/d10v.ld: Remove.
14838 * gdb.base/overlays.exp: Remove the target triplet checking for
14839 d10v-*-*.
14840 * gdb.base/structs.exp (test_struct_returns): Remove the
14841 comments about d10v.
14842 (test_struct_calls): Likewise.
14843
77ae9c19
YQ
148442015-11-13 Yao Qi <yao.qi@linaro.org>
14845
14846 * gdb.base/gnu_vector.exp: Check the return value by "p res".
14847 * gdb.base/gnu_vector.c: Don't include stdio.h.
14848 (main): Don't print res and call add_some_intvecs.
14849
430e004e
MK
148502015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
14851
14852 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
14853 macro.
14854 (func5): Removed.
14855 (func4): Use FAST_TRACEPOINT_LABEL.
14856 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
14857 macro.
14858 (func): Removed.
14859 (thread_function): Use FAST_TRACEPOINT_LABEL.
14860 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
14861 (func): Remove.
14862 (marker): Use FAST_TRACEPOINT_LABEL.
14863 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
14864 (pendfunc1): Remove.
14865 (pendfunc): Use FAST_TRACEPOINT_LABEL.
14866 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
14867 (foo): Remove.
14868 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
14869 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
14870 macro.
14871 (func): Remove.
14872 (marker): Use FAST_TRACEPOINT_LABEL.
14873 * gdb.trace/trace-common.h: New header.
14874 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
14875 macro.
14876 (func): Remove.
14877 (marker): Use FAST_TRACEPOINT_LABEL.
14878 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
14879 (func): Remove.
14880 (thread_function): Use FAST_TRACEPOINT_LABEL.
14881
6e7675a7
MK
148822015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
14883
14884 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
14885 in front.
14886 * gdb.trace/change-loc.exp: Use global pcreg definition.
14887 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
14888 * gdb.trace/entry-values.exp: Use global spreg definition, add $
14889 in front.
14890 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
14891 * gdb.trace/pending.exp: Likewise.
14892 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
14893 * gdb.trace/trace-break.exp: Likewise.
14894 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
14895 in front.
14896 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
14897 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
14898 in front.
14899 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
14900
dddc0e16
JB
149012015-11-09 Joel Brobecker <brobecker@adacore.com>
14902
14903 * gdb.ada/fin_fun_out: New testcase.
14904
c6f0b406
KB
149052015-11-07 Kevin Buettner <kevinb@redhat.com>
14906
14907 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
14908 value associated with DW_AT_byte_size.
14909 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
14910 constants for DW_AT_byte_size, DW_AT_lower_bound, and
14911 DW_AT_upper_bound.
14912
f01dcfd9
KB
149132015-11-07 Kevin Buettner <kevinb@redhat.com>
14914
14915 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
14916 (gdb_target_symbol_prefix_flags): Define in terms of _asm
14917 version.
14918 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
14919 gdb.dwarf2/dw2-canonicalize-type.exp,
14920 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
14921 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
14922 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
14923 provided by gdb_target_symbol_prefix_flags_asm.
14924 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
14925 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
14926 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
14927 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
14928 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
14929 macros where needed). Use this macro for symbols which require
14930 the prefix provided by SYMBOL_PREFIX.
14931
2223449a
KB
149322015-11-05 Kevin Buettner <kevinb@redhat.com>
14933
14934 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
14935 New procs.
14936 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
14937 representing expressions, of more than one list element.
14938 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
14939 to prepend linker symbol prefix to f.
14940 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
14941 table_1 and table_2.
14942 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
14943 Likewise, for f and g.
14944 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
14945 for ptr.
14946 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
14947 for main.
14948 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
14949 table_1_ptr and table_2_ptr.
14950
6f2f1a3a
JK
149512015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
14952 Joel Brobecker <brobecker@adacore.com>
14953
14954 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
14955
566c56c9
MK
149562015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
14957
14958 * gdb.reverse/s390-mvcle.c: New test.
14959 * gdb.reverse/s390-mvcle.exp: New file.
14960 * lib/gdb.exp: Enable reverse tests on s390*-linux.
14961
d5f0636b
MK
149622015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
14963
14964 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
14965
7ad8b86c
MK
149662015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
14967
14968 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
14969 reaching marker2.
14970 * gdb.reverse/getresuid-reverse.exp: Likewise.
14971 * gdb.reverse/pipe-reverse.exp: Likewise.
14972 * gdb.reverse/readv-reverse.exp: Likewise.
14973 * gdb.reverse/recvmsg-reverse.exp: Likewise.
14974 * gdb.reverse/time-reverse.exp: Likewise.
14975 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
14976
4081c0f1
YQ
149772015-10-30 Yao Qi <yao.qi@linaro.org>
14978
14979 * gdb.threads/wp-replication.c (watch_count_done): Remove.
14980 (empty_cycle): Remove.
14981 (main): Don't call empty_cycle. Don't use watch_count_done.
14982 * gdb.threads/wp-replication.exp: Don't set breakpoint on
14983 empty_cycle. Rewrite the code counting HW watchpoints.
14984
452b4ba5
MK
149852015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
14986
14987 * gdb.reverse/fstatat-reverse.c: New test.
14988 * gdb.reverse/fstatat-reverse.exp: New file.
14989 * gdb.reverse/getresuid-reverse.c: New test.
14990 * gdb.reverse/getresuid-reverse.exp: New file.
14991 * gdb.reverse/pipe-reverse.c: New test.
14992 * gdb.reverse/pipe-reverse.exp: New file.
14993 * gdb.reverse/readv-reverse.c: New test.
14994 * gdb.reverse/readv-reverse.exp: New file.
14995 * gdb.reverse/recvmsg-reverse.c: New test.
14996 * gdb.reverse/recvmsg-reverse.exp: New file.
14997 * gdb.reverse/time-reverse.c: New test.
14998 * gdb.reverse/time-reverse.exp: New file.
14999 * gdb.reverse/waitpid-reverse.c: New test.
15000 * gdb.reverse/waitpid-reverse.exp: New file.
15001
5e2e7507
JK
150022015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
15003
15004 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
15005
0fde2c53
DE
150062015-10-26 Doug Evans <dje@google.com>
15007
15008 PR symtab/17391
15009 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
15010 * gdb.dwarf2/bad-regnum.c: New file.
15011 * gdb.dwarf2/bad-regnum.exp: New file.
15012
1a70ae97
DE
150132015-10-26 Doug Evans <dje@google.com>
15014
15015 PR python/18938
15016 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
15017 file.
15018
27dc26ab
JK
150192015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
15020
15021 * gdb.compile/compile.exp (compile code globalvar): Update expectation
15022 for a change by "Mention language in compile error message".
15023
bed91f4d
SM
150242015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
15025
15026 PR python/18073
15027 * gdb.python/py-type.c (C::a_method): New.
15028 (C::a_const_method): New.
15029 (C::a_static_method): New.
15030 (a_function): New.
15031 * gdb.python/py-type.exp (test_fields): Test getting fields
15032 from function and method.
15033
3f2f83dd
KB
150342015-10-21 Keven Boell <keven.boell@intel.com>
15035
15036 * gdb.fortran/vla-alloc-assoc.exp: New file.
15037 * gdb.fortran/vla-datatypes.exp: New file.
15038 * gdb.fortran/vla-datatypes.f90: New file.
15039 * gdb.fortran/vla-history.exp: New file.
15040 * gdb.fortran/vla-ptype-sub.exp: New file.
15041 * gdb.fortran/vla-ptype.exp: New file.
15042 * gdb.fortran/vla-sizeof.exp: New file.
15043 * gdb.fortran/vla-sub.f90: New file.
15044 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
15045 * gdb.fortran/vla-value-sub-finish.exp: New file.
15046 * gdb.fortran/vla-value-sub.exp: New file.
15047 * gdb.fortran/vla-value.exp: New file.
15048 * gdb.fortran/vla-ptr-info.exp: New file.
15049 * gdb.mi/mi-vla-fortran.exp: New file.
15050 * gdb.mi/vla.f90: New file.
15051
27145d50
SL
150522015-10-21 Sandra Loosemore <sandra@codesourcery.com>
15053
15054 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
15055 of hardwired timeout value.
15056
5f3ff4f8
JK
150572015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15058 Pedro Alves <palves@redhat.com>
15059
15060 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
15061 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
15062
bfd09d20
JS
150632015-10-19 Josh Stone <jistone@redhat.com>
15064
15065 * gdb.base/catch-syscall.c: Include <sched.h>.
15066 (unknown_syscall): New variable.
15067 (main): Trigger a vfork and an unknown syscall.
15068 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
15069 (unknown_syscall_number): Likewise.
15070 (check_call_to_syscall): Accept an optional syscall pattern.
15071 (check_return_from_syscall): Likewise.
15072 (check_continue): Likewise.
15073 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
15074 (test_catch_syscall_skipping_return): New test toggling off 'catch
15075 syscall' to step over the syscall return, then toggling back on.
15076 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
15077 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
15078 (do_syscall_tests): Call test_catch_syscall_without_args and
15079 test_catch_syscall_mid_vfork.
15080 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
15081 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
15082
b32b93c6
AS
150832015-10-19 Andrew Stubbs <ams@codesourcery.com>
15084
15085 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
15086 print g_vE): Add new pass patterns.
15087 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
15088 print various symbol names for vptr fields.
15089
9d622bda
AB
150902015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
15091
15092 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
15093 results.
15094
0fd8ac1c
YQ
150952015-10-12 Yao Qi <yao.qi@linaro.org>
15096
15097 * gdb.arch/disp-step-insn-reloc.exp: New test case.
15098
34240514
YQ
150992015-10-12 Yao Qi <yao.qi@linaro.org>
15100
15101 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
15102 is aarch64*-*-linux*.
15103
8240f442
YQ
151042015-10-12 Yao Qi <yao.qi@linaro.org>
15105
15106 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
15107 (can_relocate_bcond_true): ... it.
15108 (can_relocate_bcond_false): New function.
15109 (foo): Likewise.
15110 (can_relocate_bl): Likewise.
15111 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
15112 can_relocate_bl.
15113
2520f728
PMR
151142015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
15115
15116 * gdb.base/nested-addr.c: New file.
15117 * gdb.base/nested-addr.exp: New testcase.
15118
abcef95a
MM
151192015-10-09 Markus Metzger <markus.t.metzger@intel.com>
15120
15121 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
15122 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
15123 its output. Ignore the output of "record goto begin" and instead
15124 check that GDB is replaying.
15125
145e3ddb
PA
151262015-10-09 Pedro Alves <palves@redhat.com>
15127
15128 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
15129 (top level): Use it in the run with no args test.
15130
d5d8c4e1
IB
151312015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
15132
15133 * gdb.dlang/properties.exp: New file.
15134
06e635ef
SL
151352015-10-02 Sandra Loosemore <sandra@codesourcery.com>
15136
15137 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
15138 whether or not address 0x1000 is mapped on the target.
15139
e019fd1d
SM
151402015-09-30 Simon Marchi <simon.marchi@ericsson.com>
15141
15142 * gdb.python/py-type.exp: Do not run tests if binaries fail to
15143 build.
15144
77ba2a67
MM
151452015-09-30 Markus Metzger <markus.t.metzger@intel.com>
15146
15147 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
15148 instruction-history test.
15149
c60eb31f
DE
151502015-09-28 Doug Evans <dje@google.com>
15151
15152 * gdb.base/gcore.c (array_func): Add reference to static_array.
15153
9a3c8263
SM
151542015-09-25 Simon Marchi <simon.marchi@ericsson.com>
15155
15156 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
15157 source line.
15158
9720e656
SL
151592015-09-24 Sandra Loosemore <sandra@codesourcery.com>
15160
15161 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
15162 short or char as base type.
15163
938d3bf2
SL
151642015-09-23 Sandra Loosemore <sandra@codesourcery.com>
15165
15166 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
15167 to allow any size enum.
15168
e6c2c623
PMR
151692015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
15170
15171 * gdb.ada/array_ptr_renaming.exp: New testcase.
15172 * gdb.ada/array_ptr_renaming/foo.adb: New file.
15173 * gdb.ada/array_ptr_renaming/pack.ads: New file.
15174
06da0f77
PL
151752015-09-21 Pierre Langlois <pierre.langlois@arm.com>
15176
15177 * gdb.trace/ftrace-lock.c: New file.
15178 * gdb.trace/ftrace-lock.exp: New file.
15179
4f51c22a
PL
151802015-09-21 Pierre Langlois <pierre.langlois@arm.com>
15181
15182 * gdb.arch/insn-reloc.c: New file.
15183 * gdb.arch/ftrace-insn-reloc.exp: New file.
15184
7041adf4
PL
151852015-09-21 Pierre Langlois <pierre.langlois@arm.com>
15186
15187 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
15188 instruction.
15189 * gdb.trace/pendshr1.c (pendfunc): Likewise.
15190 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
15191 * gdb.trace/range-stepping.c: Likewise.
15192 * gdb.trace/trace-break.c: Likewise.
15193 * gdb.trace/trace-mt.c (thread_function): Likewise.
15194 * gdb.trace/ftrace.c (marker): Likewise.
15195 * gdb.trace/trace-condition.c (marker): Likewise.
15196 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
15197 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
15198 is_aarch64_target.
15199
015d2e7e
DE
152002015-09-18 Doug Evans <xdje42@gmail.com>
15201
15202 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
15203 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
15204
26b188a2
SL
152052015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15206
15207 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
15208 the breakpoint.
15209
79dc332b
SL
152102015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15211
15212 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
15213 the pending breakpoint. Remove timeout override for "Run till
15214 MI pending breakpoint on pendfunc3 on thread 2" test.
15215
f57929f2
SL
152162015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15217
15218 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
15219 filename pattern.
15220
3f469b17
SL
152212015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15222
15223 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
15224 in breakpoint filename pattern.
15225
515b89b3
SL
152262015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15227
7800dbe4
SL
15228 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
15229
152302015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15231
515b89b3
SL
15232 * gdb.linespec/explicit.exp: Check for readline support for
15233 tab-completion tests. Fix obvious typo.
15234
d2939ba2
MM
152352015-09-18 Markus Metzger <markus.t.metzger@intel.com>
15236
15237 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
15238 and replay.
15239
cbb55fa7
MM
152402015-09-18 Markus Metzger <markus.t.metzger@intel.com>
15241
15242 * gdb.btrace/non-stop.c: New.
15243 * gdb.btrace/non-stop.exp: New.
15244
43691ca1
PL
152452015-09-17 Pierre Langlois <pierre.langlois@arm.com>
15246 Yao Qi <yao.qi@linaro.org>
15247
15248 * gdb.trace/trace-condition.c: New file.
15249 * gdb.trace/trace-condition.exp: New file.
15250
d78908cf
WW
152512015-09-16 Wei-cheng Wang <cole945@gmail.com>
15252
15253 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
15254 for testing bytecode compilation.
15255
1ed415e2
PA
152562015-09-16 Pedro Alves <palves@redhat.com>
15257 Sandra Loosemore <sandra@codesourcery.com>
15258
15259 * gdb.threads/non-stop-fair-events.c (timeout): New global.
15260 (SECONDS): Redefine.
15261 (main): Call pthread_kill and alarm early.
15262 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
15263 support.
15264 (test): If the target can't hardware step and doesn't support
15265 displaced stepping, increase the timeout.
15266
d136eff5
PA
152672015-09-16 Pedro Alves <palves@redhat.com>
15268
15269 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
15270 (enable_debug): New procedures.
15271 (test): Use them. Bail out if waiting for threads fails.
15272 (top level): Bail out if a test fails.
15273
991f019c
YQ
152742015-09-16 Yao Qi <yao.qi@linaro.org>
15275
15276 * gdb.asm/asm-source.exp: Set asm-arch for
15277 aarch64*-*-* target.
15278 * gdb.asm/aarch64.inc: New file.
15279
bfca584f
PMR
152802015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
15281
15282 * gdb.ada/array_of_variable_length.exp: New testcase.
15283 * gdb.ada/array_of_variable_length/foo.adb: New file.
15284 * gdb.ada/array_of_variable_length/pck.adb: New file.
15285 * gdb.ada/array_of_variable_length/pck.ads: New file.
15286
b326e587
DE
152872015-09-15 Doug Evans <dje@google.com>
15288
15289 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
15290 of function static local variable.
15291
5382cfab
PW
152922015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
15293
15294 * gdb.threads/tls-so_extern.exp: New test file.
15295 * gdb.threads/tls-so_extern.c: New test file.
15296 * gdb.threads/tls-so_extern_main.c: New test file.
15297
141c5cc4
JK
152982015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15299
15300 * gdb.opt/solib-intra-step-lib.c: New file.
15301 * gdb.opt/solib-intra-step-main.c: New file.
15302 * gdb.opt/solib-intra-step.exp: New file.
15303
d15dcecd
PA
153042015-09-15 Pedro Alves <palves@redhat.com>
15305
15306 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
15307 gdb_continue_to_breakpoint instead of gdb_test_multiple.
15308
4c2f2a79
PA
153092015-09-14 Pedro Alves <palves@redhat.com>
15310
15311 * gdb.base/hook-stop-continue.c: Delete.
15312 * gdb.base/hook-stop-continue.exp: Delete.
15313 * gdb.base/hook-stop-frame.c: Delete.
15314 * gdb.base/hook-stop-frame.exp: Delete.
15315 * gdb.base/hook-stop.c: New file.
15316 * gdb.base/hook-stop.exp: New file.
15317
919e6dbe
PMR
153182015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
15319
15320 * gdb.ada/access_to_packed_array.exp: New testcase.
15321 * gdb.ada/access_to_packed_array/foo.adb: New file.
15322 * gdb.ada/access_to_packed_array/pack.adb: New file.
15323 * gdb.ada/access_to_packed_array/pack.ads: New file.
15324
157280a4
MM
153252015-09-14 Markus Metzger <markus.t.metzger@intel.com>
15326
15327 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
15328 buffer size test.
15329
2fd33e94
DB
153302015-09-11 Don Breazeal <donb@codesourcery.com>
15331
15332 * gdb.base/foll-exec.c: Add copyright header. Fix
15333 formatting issues.
15334 * gdb.base/foll-exec.exp (zap_session): Delete proc.
15335 (do_exec_tests): Use clean_restart in place of zap_session,
15336 and for test initialization. Fix formatting issues. Use
15337 fail in place of perror.
15338 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
15339 an expect statement to match an expression with output from
15340 the program under debug.
15341 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
15342 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
15343 * gdb.threads/non-ldr-exc-2.exp: Likewise.
15344 * gdb.threads/non-ldr-exc-3.exp: Likewise.
15345 * gdb.threads/non-ldr-exc-4.exp: Likewise.
15346
e70b6e8e
DE
153472015-09-09 Doug Evans <dje@google.com>
15348
15349 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
15350
7a551a51
DE
153512015-09-09 Doug Evans <dje@google.com>
15352
15353 * gdb.base/pie-execl.exp: Fix result test of build_executable.
15354
4c666f84
DE
153552015-09-09 Doug Evans <dje@google.com>
15356
15357 * gdb.base/savedregs.exp: Fix typo.
15358
243a9253
PA
153592015-09-09 Pedro Alves <palves@redhat.com>
15360
15361 * gdb.mi/mi-cli.exp: Add CLI finish tests.
15362
c0fa8fbd
SL
153632015-09-08 Sandra Loosemore <sandra@codesourcery.com>
15364
15365 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
15366 command actually switches threads. Give up on remaining
15367 tests if target fails to stop at breakpoint.
15368
cd7c1778
PMR
153692015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
15370
15371 * gdb.ada/funcall_char.exp: New testcase.
15372 * gdb.ada/funcall_char/foo.adb: New file.
15373
dc5c8746
PMR
153742015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
15375
15376 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
15377 expected outputs. Add two testcases for completing ambiguous
15378 functions.
15379 * gdb.ada/complete/aux_pck.adb: New file.
15380 * gdb.ada/complete/aux_pck.ads: New file.
15381 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
15382 Ambiguous_Func functions.
15383 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
15384 * gdb.ada/complete/pck.adb: Likewise.
15385
4e83a1e7
UW
153862015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
15387
15388 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
15389 failures to run the test program under GDB.
15390
8ce74153
LM
153912015-08-26 Luis Machado <lgustavo@codesourcery.com>
15392
15393 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
15394 to C.
15395
e9756d52
PP
153962015-08-26 Patrick Palka <patrick@parcs.ath.cx>
15397
15398 * gdb.base/run-after-attach.exp: New test file.
15399 * gdb.base/run-after-attach.c: New test file.
15400
8d37573b
DB
154012015-08-26 Don Breazeal <donb@codesourcery.com>
15402
15403 * gdb.base/foll-exec-2.c: New test program.
15404 * gdb.base/foll-exec-2.exp: New test.
15405
63e43d3a
PMR
154062015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
15407
15408 * gdb.base/nested-subp1.exp: New file.
15409 * gdb.base/nested-subp1.c: New file.
15410 * gdb.base/nested-subp2.exp: New file.
15411 * gdb.base/nested-subp2.c: New file.
15412 * gdb.base/nested-subp3.exp: New file.
15413 * gdb.base/nested-subp3.c: New file.
15414
3d40fbb5
PA
154152015-08-24 Pedro Alves <palves@redhat.com>
15416
15417 * gdb.server/connect-without-multi-process.c: New file.
15418 * gdb.server/connect-without-multi-process.exp: New file.
15419
4422ac93
LM
154202015-08-24 Luis Machado <lgustavo@codesourcery.com>
15421
15422 * gdb.opt/inline-markers.c: Make z int.
15423
91dddb86
LM
154242015-08-24 Luis Machado <lgustavo@codesourcery.com>
15425
15426 * gdb.opt/inline-markers.c: Make z volatile.
15427
a48847ee
LM
154282015-08-24 Luis Machado <lgustavo@codesourcery.com>
15429
15430 * gdb.opt/inline-bt.c: New volatile global z.
15431 * gdb.opt/inline-cmds.c: Likewise.
15432 * gdb.opt/inline-locals.c: Likewise.
15433 * gdb.opt/inline-markers.c: New extern global z.
15434 (marker): Use z.
15435 (inline_fn): Likewise.
15436
0ebbc52b
PA
154372015-08-24 Pedro Alves <palves@redhat.com>
15438
15439 * config/m32r-stub.exp: Remove file.
15440 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
15441 * gdb.base/call-rt-st.exp: Likewise.
15442 * gdb.base/call-strs.exp: Likewise.
15443 * gdb.base/default.exp: Remove references to h8300-*-hms and
15444 *-*-udi*.
15445 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
15446
77c365df
AA
154472015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
15448
15449 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
15450 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
15451 and "return" use KFAIL when GDB can not read/write the vector
15452 return value.
15453
4313b8c0
GB
154542015-08-21 Gary Benson <gbenson@redhat.com>
15455
15456 * gdb.trace/pending.exp: Cope with remote transfer warnings.
15457
0e433b32
PA
154582015-08-20 Pedro Alves <palves@redhat.com>
15459
15460 * gdb.server/solib-list.exp: No longer expect an interior stop in
15461 non-stop mode.
15462
221e1a37
PA
154632015-08-20 Pedro Alves <palves@redhat.com>
15464
15465 * gdb.server/connect-stopped-target.c: New file.
15466 * gdb.server/connect-stopped-target.exp: New file.
15467
40e3ad0e
PA
154682015-08-20 Pedro Alves <palves@redhat.com>
15469
15470 * gdb.dwarf2/comp-unit-lang.exp: New file.
15471 * gdb.dwarf2/comp-unit-lang.c: New file.
15472
af39b327
PMR
154732015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
15474
15475 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
15476 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
15477
7d45c7c3 154782015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 15479
7d45c7c3
KB
15480 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
15481 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
15482
4d6cceb4
DE
154832015-08-18 Doug Evans <dje@google.com>
15484 Adrian Sendroiu <adrian.sendroiu@freescale.com>
15485
15486 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
15487 skip_python_tests. New arg prompt_regexp.
15488 (skip_python_tests): New function.
15489 * lib/mi-support.exp (mi_skip_python_tests): New function.
15490 * gdb.python/py-mi-objfile-gdb.py: New file.
15491 * gdb.python/py-mi-objfile.c: New file.
15492 * gdb.python/py-mi-objfile.exp: New file.
15493
ad89c2aa
KS
154942015-08-17 Keith Seitz <keiths@redhat.com>
15495
15496 * gdb.linespec/explicit.exp: Move strace test from here ...
15497 * gdb.trace/strace.exp: ... to here.
15498
e3ae3c43
PP
154992015-08-15 Patrick Palka <patrick@parcs.ath.cx>
15500
15501 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
15502 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
15503
604b2636
DE
155042015-08-14 Doug Evans <xdje42@gmail.com>
15505
15506 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
15507 inferior before selecting a new file.
15508
6ff0ba5f
DE
155092015-08-14 Doug Evans <xdje42@gmail.com>
15510
15511 * gdb.mi/mi-disassemble.exp: Update.
15512 * gdb.base/disasm-optim.S: New file.
15513 * gdb.base/disasm-optim.c: New file.
15514 * gdb.base/disasm-optim.h: New file.
15515 * gdb.base/disasm-optim.exp: New file.
15516
9ca98f92
KS
155172015-08-14 Keith Seitz <keiths@redhat.com>
15518
15519 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
15520 "evaluated-by".
15521
52bbc560
JB
155222015-08-13 Joel Brobecker <brobecker@adacore.com>
15523
15524 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
15525
5d8c3ed3
PMR
155262015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
15527
15528 * gdb.ada/fun_renaming.exp: New testcase.
15529 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
15530 * gdb.ada/fun_renaming/pack.adb: New file.
15531 * gdb.ada/fun_renaming/pack.ads: New file.
15532
ea8812bc
KS
155332015-08-12 Keith Seitz <keiths@redhat.com>
15534
15535 * gdb.base/dso2dso.exp: Pass basename of source file in call to
15536 gdb_get_line_number.
15537
4dafcdeb
JB
155382015-08-12 Joel Brobecker <brobecker@adacore.com>
15539
15540 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
15541 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
15542 gdb.base/dso2dso.exp: New files.
15543
5ba32597
SDJ
155442015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
15545 Pedro Alves <palves@redhat.com>
15546 Keith Seitz <keiths@redhat.com>
15547
15548 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
15549 GDBFLAGS.
15550
b6dafabf
PP
155512015-08-12 Patrick Palka <patrick@parcs.ath.cx>
15552
15553 * gdb.base/gdbhistsize-history.exp
15554 (test_histsize_history_setting): Use save_vars.
15555 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
15556 Use save_vars.
15557 (test_no_truncation_of_unlimited_history_file): Use save_vars.
15558 * gdb.base/readline.exp: Use save_vars.
15559
abe8e607
PP
155602015-08-12 Patrick Palka <patrick@parcs.ath.cx>
15561
15562 * lib/gdb.exp (save_vars): New proc.
15563
629500fa
KS
155642015-08-11 Keith Seitz <keiths@redhat.com>
15565
15566 * gdb.base/help.exp: Update help_breakpoint_text.
15567
eb8c4e2e
KS
155682015-08-11 Keith Seitz <keiths@redhat.com>
15569
15570 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
15571 (at toplevel): Call test_explicit_breakpoints.
15572 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
15573 breakpoints.
15574 * lib/mi-support.exp (mi_make_breakpoint): Add support for
15575 breakpoint conditions, "-cond".
15576
87f0e720
KS
155772015-08-11 Keith Seitz <keiths@redhat.com>
15578
15579 * gdb.linespec/3explicit.c: New file.
15580 * gdb.linespec/cpexplicit.cc: New file.
15581 * gdb.linespec/cpexplicit.exp: New file.
15582 * gdb.linespec/explicit.c: New file.
15583 * gdb.linespec/explicit.exp: New file.
15584 * gdb.linespec/explicit2.c: New file.
15585 * gdb.linespec/ls-errs.exp: Add explicit location tests.
15586 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
15587 before using in the matching pattern.
15588 Clarify that `prefix' is a regular expression.
15589
f00aae0f
KS
155902015-08-11 Keith Seitz <keiths@redhat.com>
15591
15592 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
15593 test.
15594 Add tests for missing ",FMT" and ",".
15595
e27852be
DE
155962015-08-10 Doug Evans <dje@google.com>
15597 Keith Seitz <keiths@redhat.com>
15598
15599 PR gdb/17960
15600 * gdb.base/completion.exp: Add location completer tests.
15601
7f03bd92
PA
156022015-08-07 Pedro Alves <palves@redhat.com>
15603
15604 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
15605 tests here.
15606 (top level): Run do_test with and without displaced stepping.
15607
3fc8eb30
PA
156082015-08-07 Pedro Alves <palves@redhat.com>
15609
15610 * gdb.base/valgrind-disp-step.c: New file.
15611 * gdb.base/valgrind-disp-step.exp: New file.
15612
d4569d7b
PA
156132015-08-07 Pedro Alves <palves@redhat.com>
15614
15615 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
15616 Delete function.
15617 (main): Add alarm. Run an infinite loop instead of calling
15618 wait_threads.
15619 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
15620 comment.
15621 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
15622 Delete function.
15623 (main): Add alarm. Run an infinite loop instead of calling
15624 wait_threads.
15625 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
15626 comment.
15627
e1316e60
PA
156282015-08-07 Pedro Alves <palves@redhat.com>
15629
15630 * gdb.base/checkpoint-ns.exp: New file.
15631 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
15632 standard_testfile.
15633
da8c46d2
MM
156342015-08-07 Markus Metzger <markus.t.metzger@intel.com>
15635
15636 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
15637 * gdb.btrace/instruction_history.exp: Update.
15638 * gdb.btrace/tsx.exp: New.
15639 * gdb.btrace/tsx.c: New.
15640
de1c2c52
PA
156412015-08-06 Pedro Alves <palves@redhat.com>
15642
15643 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
15644 increase timeout.
15645 * gdb.reverse/until-precsave.exp: Bump timeouts.
15646
782e0bf4
PA
156472015-08-06 Pedro Alves <palves@redhat.com>
15648
15649 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
15650
83e97ed0
PA
156512015-08-06 Pedro Alves <palves@redhat.com>
15652
15653 PR gdb/18749
15654 * gdb.threads/process-dies-while-handling-bp.c: New file.
15655 * gdb.threads/process-dies-while-handling-bp.exp: New file.
15656
863d01bd
PA
156572015-08-06 Pedro Alves <palves@redhat.com>
15658
15659 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
15660 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
15661
0a39bb32
PA
156622015-08-05 Pedro Alves <palves@redhat.com>
15663
15664 * gdb.threads/next-while-other-thread-longjmps.c: New file.
15665 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
15666
ee2d2b10
SL
156672015-08-03 Sandra Loosemore <sandra@codesourcery.com>
15668
15669 * gdb.base/bp-permanent.exp: Report test as unsupported if
15670 the target cannot stop at the permanent breakpoint.
15671
4e1bdb00
DE
156722015-08-03 Doug Evans <dje@google.com>
15673
15674 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
15675 10000.
15676
3d338901
DE
156772015-08-03 Doug Evans <dje@google.com>
15678
15679 * Makefile.in (workers/%.worker, build-perf): New rule.
15680 (GDB_PERFTEST_MODE): New variable.
15681 (check-perf): Use it.
15682 (clean): Clean up gdb.perf parallel build subdirs.
15683 * lib/build-piece.exp: New file.
15684 * lib/gdb.exp (make_gdb_parallel_path): New function
15685 (standard_output_file, standard_temp_file): Call it.
15686 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
15687 of $GDB_PARALLEL.
15688 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
15689
af061d3e
DE
156902015-08-03 Doug Evans <dje@google.com>
15691
8e1afc81 15692 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
15693 (LOG_FILE_NAME): New global.
15694 (TextReporter.__init__): Initialize self.txt_sum.
15695 (TextReporter.report): Add support for multiple data-points.
15696 Move report to perftest.sum, put raw data in perftest.log.
15697 (TextReporter.start): Open sum and log files.
15698 (TextReporter.end): Close sum and log files.
8e1afc81
DE
15699 * gdb.perf/lib/perftest/testresult.py
15700 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 15701
2c8c5d37
PA
157022015-07-31 Pedro Alves <palves@redhat.com>
15703
15704 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
15705 Use spawn_id_get_pid. Wait for spawn id after eof. Use
15706 kill_wait_spawned_process instead of explicit "kill -9".
15707 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
15708 returning a spawn id instead of a pid. Use spawn_id_get_pid and
15709 kill_wait_spawned_process.
15710 * gdb.base/attach-twice.exp: Likewise.
15711 * gdb.base/attach.exp: Likewise.
15712 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
15713 gdb_test_multiple.
15714 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
15715 returning a spawn id instead of a pid. Use spawn_id_get_pid and
15716 kill_wait_spawned_process.
15717 * gdb.base/valgrind-infcall.exp: Likewise.
15718 * gdb.multi/multi-attach.exp: Likewise.
15719 * gdb.python/py-prompt.exp: Likewise.
15720 * gdb.python/py-sync-interp.exp: Likewise.
15721 * gdb.server/ext-attach.exp: Likewise.
15722 * gdb.threads/attach-into-signal.exp (corefunc): Use
15723 spawn_wait_for_attach, spawn_id_get_pid and
15724 kill_wait_spawned_process.
15725 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
15726 spawn_wait_for_attach returning a spawn id instead of a pid. Use
15727 spawn_id_get_pid and kill_wait_spawned_process.
15728 * gdb.threads/attach-stopped.exp (corefunc): Use
15729 spawn_wait_for_attach, spawn_id_get_pid and
15730 kill_wait_spawned_process.
15731 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
15732 Use spawn_id_get_pid. Wait for spawn id after eof. Use
15733 kill_wait_spawned_process instead of explicit "kill -9".
15734 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
15735 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
15736 (spawn_wait_for_attach): Use spawn instead of exec to spawn
15737 processes. Don't map cygwin/windows pids here. Now returns a
15738 spawn id list.
15739
032a0fca
SL
157402015-07-30 Sandra Loosemore <sandra@codesourcery.com>
15741
15742 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
15743 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
15744 correct patch.
15745
61a934ca
SL
157462015-07-30 Sandra Loosemore <sandra@codesourcery.com>
15747
15748 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
15749
4bc4d428
SL
157502015-07-30 Sandra Loosemore <sandra@codesourcery.com>
15751
15752 Reapply:
15753 2014-05-21 Mark Wielaard <mjw@redhat.com>
15754
15755 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
15756
998d452a
PA
157572015-07-30 Pedro Alves <palves@redhat.com>
15758
15759 * linux-low.c (handle_extended_wait): Set the child's last
15760 reported status to TARGET_WAITKIND_STOPPED.
15761
69dde7dc
PA
157622015-07-30 Pedro Alves <palves@redhat.com>
15763
15764 PR threads/18600
15765 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
15766 only shows inferior 1.
15767
4dd63d48
PA
157682015-07-30 Simon Marchi <simon.marchi@ericsson.com>
15769 Pedro Alves <palves@redhat.com>
15770
15771 PR threads/18600
15772 * gdb.threads/fork-plus-threads.c: New file.
15773 * gdb.threads/fork-plus-threads.exp: New file.
15774
d618e4c5
PP
157752015-07-29 Patrick Palka <patrick@parcs.ath.cx>
15776
15777 * gdb.base/batch-preserve-term-settings.exp
15778 (test_terminal_settings_preserved_after_cli_exit): Use
15779 send_quit_command.
15780
1eef6428
PA
157812015-07-29 Pedro Alves <palves@redhat.com>
15782 Don Breazeal <donb@codesourcery.com>
15783
15784 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
15785 output from both inferior_spawn_id and gdb_spawn_id.
15786
7da5b897
SDJ
157872015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
15788
15789 * gdb.threads/attach-into-signal.exp (corefunc): Use
15790 with_test_prefix on nested loops, uniquefying the test messages.
15791
dac804df
SDJ
157922015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
15793
15794 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
15795 commit.
15796
06265e53
PP
157972015-07-29 Patrick Palka <patrick@parcs.ath.cx>
15798
15799 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
15800 New proc.
15801 (test_terminal_settings_preserved_after_sigterm): New test.
15802
18206ca3
PP
158032015-07-29 Patrick Palka <patrick@parcs.ath.cx>
15804
15805 * gdb.base/batch-preserve-term-settings.exp
15806 (test_terminal_settings_preserved_after_cli_exit): New test.
15807
90074d11
PP
158082015-07-29 Patrick Palka <patrick@parcs.ath.cx>
15809
15810 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
15811 manipulation of saved_gdbflags.
15812 (test_terminal_settings_preserved): Remove global declaration of
15813 the unused variable pagination_prompt. Remove manipulation of
15814 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
15815 GDBFLAGS.
15816
eb1a7902
PA
158172015-07-29 Pedro Alves <palves@redhat.com>
15818
15819 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
15820
8b75dd3b
PA
158212015-07-29 Pedro Alves <palves@redhat.com>
15822
15823 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
15824 at the top.
15825
dedad4e3
PA
158262015-07-29 Pedro Alves <palves@redhat.com>
15827
15828 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
15829 (main): Call gdb_unbuffer_output.
15830 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
15831 (main): Call gdb_unbuffer_output.
15832 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
15833 (main): Call gdb_unbuffer_output.
15834 * gdb.base/call-strs.exp: Adjust to step over the
15835 gdb_unbuffer_output call.
15836 * gdb.base/catch-gdb-caused-signals.c: Include
15837 "../lib/unbuffer_output.c".
15838 (main): Call gdb_unbuffer_output.
15839 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
15840 (main): Call gdb_unbuffer_output.
15841 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
15842 (main): Call gdb_unbuffer_output.
15843 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
15844 (main): Call gdb_unbuffer_output.
15845 * gdb.base/shlib-call.exp: Adjust to step over the
15846 gdb_unbuffer_output call.
15847 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
15848 (main): Call gdb_unbuffer_output.
15849 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
15850 (main): Call gdb_unbuffer_output.
15851 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
15852 (main): Rename to ...
15853 (test): ... this.
15854 (main): Reimplement.
15855 * gdb.base/varargs.exp: Run to test instead of to main.
15856 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
15857 (main): Call gdb_unbuffer_output.
15858
58789a91
PA
158592015-07-29 Pedro Alves <palves@redhat.com>
15860
15861 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
15862 factore out from mi_continue_dprintf. For call-style dprintfs,
15863 expect dprintf output out of $inferior_spawn_id.
15864 (mi_continue_dprintf): Use mi_expect_dprintf.
15865 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
15866 (main): Call gdb_unbuffer_output.
15867
e8376742
PA
158682015-07-29 Pedro Alves <palves@redhat.com>
15869
15870 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
15871 (default_mi_gdb_start): Set inferior_spawn_id instead of
15872 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
15873 gdb_spawn_id.
15874 (mi_gdb_test): Always expect inferior output from both
15875 $inferior_spawn_id and $gdb_spawn_id.
15876
08280010
PA
158772015-07-29 Pedro Alves <palves@redhat.com>
15878
15879 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
15880 send_inferior and $inferior_spawn_id.
15881
4d30e432
PA
158822015-07-29 Pedro Alves <palves@redhat.com>
15883
15884 * gdb.gdb/complaints.exp (test_initial_complaints)
15885 (test_serial_complaints, test_short_complaints): Use
15886 gdb_test_stdio.
15887 (test_empty_complaint): Handle $inferior_spawn_id !=
15888 $gdb_spawn_id.
15889
0d30a335
PA
158902015-07-29 Pedro Alves <palves@redhat.com>
15891
15892 * gdb.base/varargs.exp: Use gdb_test_stdio.
15893
39413b29
PA
158942015-07-29 Pedro Alves <palves@redhat.com>
15895
15896 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
15897
7cb000a9
PA
158982015-07-29 Pedro Alves <palves@redhat.com>
15899
15900 * gdb.base/ending-run.exp: Use gdb_test_stdio.
15901
d7b8ac82
PA
159022015-07-29 Pedro Alves <palves@redhat.com>
15903
15904 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
15905 parameter into two new parameters, "inf_result" and "gdb_result".
15906 Expect inferior output and gdb output from $inferior_spawn_id and
15907 $gdb_spawn_id, respectively. Adjust all callers.
15908
789c3a0c
PA
159092015-07-29 Pedro Alves <palves@redhat.com>
15910
15911 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
15912 of gdb_test_sequence.
15913
77e760c3
PA
159142015-07-29 Pedro Alves <palves@redhat.com>
15915
15916 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
15917 (saw_spurious_output): Expect inferior output from
15918 $inferior_spawn_id. Use gdb_test_stdio.
15919
8396d2cd
PA
159202015-07-29 Pedro Alves <palves@redhat.com>
15921
15922 * gdb.base/dprintf.exp: Use standard_testfile. Change
15923 prepare_for_testing call.
15924 (srcfile): Don't set.
15925 (restart): New procedure.
15926 (test_dprintf): New procecure, use to continue over dprintfs.
15927 (test_call, test_agent): New procedures, tests moved here.
15928 Restart gdb and recreate dprintfs. Adjust expected output.
15929
2051d61f
PA
159302015-07-29 Pedro Alves <palves@redhat.com>
15931
15932 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
15933
452397af
PA
159342015-07-29 Pedro Alves <palves@redhat.com>
15935
15936 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
15937
8aed9555
PA
159382015-07-29 Pedro Alves <palves@redhat.com>
15939
15940 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
15941 gdb_test_stdio.
15942
188a61b4
PA
159432015-07-29 Pedro Alves <palves@redhat.com>
15944
15945 * lib/gdb.exp (gdb_test_stdio): New procedure.
15946
12264a45
PA
159472015-07-29 Pedro Alves <palves@redhat.com>
15948
15949 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
15950
23ffc893
PA
159512015-07-29 Pedro Alves <palves@redhat.com>
15952
15953 * gdb.base/call-signal-resume.exp: Remove check for
15954 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
15955 * gdb.base/unwindonsignal.exp: Likewise.
15956 * gdb.base/call-signals.c (gen_signal): Remove printf call.
15957 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
15958
65566918
PA
159592015-07-29 Pedro Alves <palves@redhat.com>
15960
15961 * gdb.base/siginfo-addr.c (pass): New function.
15962 (handler): Call it iff si_addr is correct.
15963 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
15964 Set a breakpoint at "pass" and continue to it.
15965
d60a9221
SDJ
159662015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
15967
15968 * gdb.python/py-objfile.exp: Make some tests have unique names.
15969 * gdb.python/py-pp-registration.exp: Likewise.
15970
bde40b8f
PA
159712015-07-28 Pedro Alves <palves@redhat.com>
15972
15973 * gdb.server/server-exec-info.exp: Issue a "disconnect".
15974
13e1dec8
SM
159752015-07-27 Simon Marchi <simon.marchi@ericsson.com>
15976
15977 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
15978
da33c9a7
SM
159792015-07-27 Simon Marchi <simon.marchi@ericsson.com>
15980
15981 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
15982
077836f7
PP
159832015-07-27 Patrick Palka <patrick@parcs.ath.cx>
15984
15985 * gdb.base/gdb-sigterm-2.exp: New test.
15986
b8cc7b2e
DE
159872015-07-25 Doug Evans <xdje42@gmail.com>
15988
15989 Revert:
15990 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
15991 (workers/%.worker, build-perf): New rule.
15992 (GDB_PERFTEST_MODE): New variable.
15993 (check-perf): Use it.
15994 (clean): Clean up gdb.perf parallel build subdirs.
15995 * lib/build-piece.exp: New file.
15996 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
15997 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
15998 name.
15999 (standard_temp_file): Ditto.
16000 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
16001 of $GDB_PARALLEL.
16002
c8bd4544
DE
160032015-07-24 Doug Evans <dje@google.com>
16004
16005 * gdb.perf/lib/perftest/utils.py: New file.
16006 * gdb.perf/gm-hello.cc: New file.
16007 * gdb.perf/gm-pervasive-typedef.cc: New file.
16008 * gdb.perf/gm-pervasive-typedef.h: New file.
16009 * gdb.perf/gm-std.cc: New file.
16010 * gdb.perf/gm-std.h: New file.
16011 * gdb.perf/gm-use-cerr.cc: New file.
16012 * gdb.perf/gm-utils.h: New file.
16013 * gdb.perf/gmonster-null-lookup.py: New file.
16014 * gdb.perf/gmonster-pervasive-typedef.py: New file.
16015 * gdb.perf/gmonster-print-cerr.py: New file.
16016 * gdb.perf/gmonster-ptype-string.py: New file.
16017 * gdb.perf/gmonster-runto-main.py: New file.
16018 * gdb.perf/gmonster-select-file.py: New file.
16019 * gdb.perf/gmonster1-null-lookup.exp: New file.
16020 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
16021 * gdb.perf/gmonster1-print-cerr.exp: New file.
16022 * gdb.perf/gmonster1-ptype-string.exp: New file.
16023 * gdb.perf/gmonster1-runto-main.exp: New file.
16024 * gdb.perf/gmonster1-select-file.exp: New file.
16025 * gdb.perf/gmonster1.cc: New file.
16026 * gdb.perf/gmonster1.exp: New file.
16027 * gdb.perf/gmonster2-null-lookup.exp: New file.
16028 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
16029 * gdb.perf/gmonster2-print-cerr.exp: New file.
16030 * gdb.perf/gmonster2-ptype-string.exp: New file.
16031 * gdb.perf/gmonster2-runto-main.exp: New file.
16032 * gdb.perf/gmonster2-select-file.exp: New file.
16033 * gdb.perf/gmonster2.cc: New file.
16034 * gdb.perf/gmonster2.exp: New file.
16035
6eab34f3
DE
160362015-07-24 Doug Evans <dje@google.com>
16037
16038 * gdb.perf/README: New file.
16039 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
16040 * lib/gen-perf-test.exp: New file.
16041
63738bfd
DE
160422015-07-24 Doug Evans <dje@google.com>
16043
16044 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
16045 (PerfTest::startup): New function.
16046 (PerfTest::run): Return result of calling body.
16047 (PerfTest::assemble): Rewrite.
16048 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
16049 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
16050 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
16051 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
16052 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
16053
7b606f95
DE
160542015-07-24 Doug Evans <dje@google.com>
16055
16056 * lib/gdb.exp (clean_restart): Make executable optional.
16057
a97b16b8
DE
160582015-07-24 Doug Evans <dje@google.com>
16059
16060 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
16061 compiler_info references.
16062 * gdb.cp/temargs.exp: Ditto.
16063 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
16064 (get_compiler_info): Early exit if already computed. Set compiler_info
16065 to "unknown" if there was a problem.
16066 (test_compiler_info): Add function comment. Call get_compiler_info.
16067
35baa57f
DE
160682015-07-24 Doug Evans <dje@google.com>
16069
16070 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
16071 (workers/%.worker, build-perf): New rule.
16072 (GDB_PERFTEST_MODE): New variable.
16073 (check-perf): Use it.
16074 (clean): Clean up gdb.perf parallel build subdirs.
16075 * lib/build-piece.exp: New file.
16076 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
16077 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
16078 name.
16079 (standard_temp_file): Ditto.
16080 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
16081 of $GDB_PARALLEL.
16082
6ebea266
DE
160832015-07-24 Doug Evans <dje@google.com>
16084
16085 * lib/future.exp (gdb_default_target_compile): New option
16086 "early_flags".
16087 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
16088 --as-needed.
16089
1e76a7e9
SDJ
160902015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
16091
16092 * gdb.base/catch-syscall.exp: Call gdb_exit before
16093 gdb_skip_xml_test.
16094
5068630a
PA
160952015-07-24 Pedro Alves <palves@redhat.com>
16096
16097 * gdb.python/py-events.exp: Accept output between the stop event
16098 and the prompt.
16099 * gdb.python/py-evsignal.exp: Likewise.
16100 * gdb.python/py-evthreads.exp: Likewise.
16101
77598427
PA
161022015-07-24 Pedro Alves <palves@redhat.com>
16103
16104 PR gdb/18717
16105 * gdb.threads/non-ldr-exit.c: New file.
16106 * gdb.threads/non-ldr-exit.exp: New file.
16107
11e6c98f
YQ
161082015-07-24 Yao Qi <yao.qi@linaro.org>
16109
16110 * gdb.server/ext-wrapper.exp: Test --wrapper option when
16111 restarting process.
16112
51aee833
YQ
161132015-07-24 Yao Qi <yao.qi@linaro.org>
16114
16115 * gdb.server/ext-restart.exp: New file.
16116
8cfe207c
YQ
161172015-07-24 Yao Qi <yao.qi@linaro.org>
16118
16119 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
16120 argument options.
16121 * gdb.server/ext-wrapper.exp: New file.
16122
cc12ce38
DE
161232015-07-23 Doug Evans <dje@google.com>
16124
16125 * gdb.dwarf2/dw2-dummy-cu.S: New file.
16126 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
16127
d0d84780
PMR
161282015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
16129
16130 * gdb.ada/var_arr_typedef.exp: New testcase.
16131 * gdb.ada/var_arr_typedef/pack.adb: New file.
16132 * gdb.ada/var_arr_typedef/pack.ads: New file.
16133 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
16134
8b558f79
JB
161352015-07-20 Joel Brobecker <brobecker@adacore.com>
16136
16137 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
16138
775a3298
JK
161392015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16140
16141 * gdb.arch/i386-biarch-core.exp: Replace istarget
16142 by "complete set gnutarget". Remove expectation for the "core-file"
16143 command.
16144
db1ff28b
JK
161452015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16146
16147 Revert the previous commit:
16148 Tests for validate symbol file using build-id.
16149
0a94970d
JK
161502015-07-15 Aleksandar Ristovski <aristovski@qnx.com
16151
16152 Tests for validate symbol file using build-id.
16153 * gdb.base/solib-mismatch-lib.c: New file.
16154 * gdb.base/solib-mismatch-libmod.c: New file.
16155 * gdb.base/solib-mismatch.c: New file.
16156 * gdb.base/solib-mismatch.exp: New file.
16157
03346981
SL
161582015-07-15 Sandra Loosemore <sandra@codesourcery.com>
16159
16160 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
16161 nios2-*-linux*.
16162 * gdb.base/sigbpt.exp (stepi_out): Likewise.
16163 * gdb.base/siginfo.exp: Likewise.
16164 * gdb.base/sigstep.exp (advance, advancei): Likewise.
16165
42422cc7
PL
161662015-07-15 Pierre Langlois <pierre.langlois@arm.com>
16167
16168 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
16169 Move it to ...
16170 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
16171 ... here.
16172 * gdb.trace/range-stepping.exp: Check that the target supports
16173 range stepping.
16174
cfa68bae
JK
161752015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16176
16177 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
16178
8ffdba26
PA
161792015-07-14 Pedro Alves <palves@redhat.com>
16180
16181 * gdb.base/killed-outside.exp: New file.
16182 * gdb.base/killed-outside.c: New file.
16183
218a5a11
JK
161842015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
16185
16186 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
16187 (n at main): New.
16188 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
16189
e03ed3c6
AA
161902015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
16191
16192 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
16193 infcall tests instead of setting up for KFAIL.
16194
485668e5
MM
161952015-07-10 Markus Metzger <markus.t.metzger@intel.com>
16196
16197 * gdb.btrace/record_goto-step.exp: New.
16198
08464196
JK
161992015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
16200
16201 PR compile/18484
16202 * gdb.compile/compile.c (struct struct_type): Add volatile to
16203 selffield's type.
16204 * gdb.compile/compile.exp
16205 (compile code struct_object.selffield = &struct_object): Skip further
16206 struct_object tests if this one xfails.
16207
bcf5c1d9
RC
162082015-07-08 Robert O'Callahan <robert@ocallahan.org>
16209
16210 PR exp/18617
16211 * gdb.trace/ax.exp: Add test.
16212
4931af25
YQ
162132015-07-07 Yao Qi <yao.qi@linaro.org>
16214
16215 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
16216 instead of istarget "aarch64*-*-*".
16217 * gdb.arch/aarch64-fp.exp: Likewise.
16218 * gdb.base/float.exp: Likewise.
16219 * gdb.reverse/aarch64.exp: Likewise.
16220 * lib/gdb.exp (is_aarch64_target): New proc.
16221
9fcf688e
YQ
162222015-07-07 Yao Qi <yao.qi@linaro.org>
16223
16224 * lib/gdb.exp (is_aarch32_target): New proc.
16225 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
16226 instead of "istarget "arm*-*-*"".
16227 * gdb.arch/arm-disp-step.exp: Likewise.
16228 * gdb.arch/thumb-bx-pc.exp: Likewise.
16229 * gdb.arch/thumb-prologue.exp: Likewise.
16230 * gdb.arch/thumb-singlestep.exp: Likewise.
16231 * gdb.base/disp-step-syscall.exp: Likewise.
16232 * gdb.base/float.exp: Likewise.
16233
fbd8d50d
YQ
162342015-07-07 Yao Qi <yao.qi@linaro.org>
16235
16236 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
16237 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
16238
71be1fdc
YQ
162392015-07-07 Yao Qi <yao.qi@linaro.org>
16240
16241 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
16242 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
16243 if it exists.
16244 * gdb.multi/multi-arch.exp: Likewise.
16245
3e221d36
SM
162462015-07-07 Simon Marchi <simon.marchi@ericsson.com>
16247
16248 * gdb.python/py-lazy-string.exp: Add missing parentheses to
16249 print.
16250
d441430b
YQ
162512015-07-07 Yao Qi <yao.qi@linaro.org>
16252
16253 * gdb.arch/thumb-singlestep.exp: Do one more single step.
16254
06f810bd
MG
162552015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
16256
16257 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
16258 '[' and ']' characters.
16259
5e61e7c0
IB
162602015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
16261
16262 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
16263
28bf096c
PA
162642015-06-29 Pedro Alves <palves@redhat.com>
16265
16266 PR threads/18127
16267 * gdb.threads/hand-call-new-thread.c: New file.
16268 * gdb.threads/hand-call-new-thread.c: New file.
16269
ee93cd5e
KS
162702015-06-26 Keith Seitz <keiths@redhat.com>
16271 Doug Evans <dje@google.com>
16272
16273 PR 16253
16274 * gdb.cp/var-tag-2.cc: New file.
16275 * gdb.cp/var-tag-3.cc: New file.
16276 * gdb.cp/var-tag-4.cc: New file.
16277 * gdb.cp/var-tag.cc: New file.
16278 * gdb.cp/var-tag.exp: New file.
16279
fc637f04
PP
162802015-06-26 Patrick Palka <patrick@parcs.ath.cx>
16281
16282 * gdb.base/history-duplicates.exp: New test.
16283
2e52ae68
PP
162842015-06-26 Patrick Palka <patrick@parcs.ath.cx>
16285
16286 * gdb.base/completion.exp: Test the completion of the "focus"
16287 command.
16288
6e22494e
JK
162892015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
16290
16291 * gdb.arch/amd64-prologue-skip.S: New file.
16292 * gdb.arch/amd64-prologue-skip.exp: New file.
16293
bf7b9cd9
SM
162942015-06-25 Simon Marchi <simon.marchi@ericsson.com>
16295
16296 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
16297 is_address_zero_readable check.
16298
201e8dfd
PB
162992015-06-24 Peter Bergner <bergner@vnet.ibm.com>
16300
16301 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
16302 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
16303
5cd867b4
YQ
163042015-06-24 Yao Qi <yao.qi@linaro.org>
16305
16306 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
16307 linux targets.
16308
4d7be007
YQ
163092015-06-24 Yao Qi <yao.qi@linaro.org>
16310
16311 * lib/gdb.exp (supports_get_siginfo_type): New proc.
16312 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
16313 * gdb.base/siginfo-thread.exp: Likewise.
16314
07fcd301
YQ
163152015-06-22 Yao Qi <yao.qi@linaro.org>
16316
16317 * boards/remote-gdbserver-on-localhost.exp: Add comments.
16318
52042a00
YQ
163192015-06-22 Yao Qi <yao.qi@linaro.org>
16320
16321 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
16322 aarch64*-*-*.
16323 (skip_hw_watchpoint_tests): Likewise.
16324
74bd41ce
PP
163252015-06-18 Patrick Palka <patrick@parcs.ath.cx>
16326
16327 * gdb.base/gdbinit-history.exp: Test the interaction between
16328 setting GDBHISTSIZE and setting the history size via .gdbinit.
16329
bc460514
PP
163302015-06-17 Patrick Palka <patrick@parcs.ath.cx>
16331
16332 PR gdb/16999
16333 * gdb.base/gdbhistsize-history.exp: New test.
16334
b58c513b
PP
163352015-06-17 Patrick Palka <patrick@parcs.ath.cx>
16336
16337 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
16338 with GDBHISTSIZE.
16339 * gdb.base/readline.exp: Likewise.
16340
92046791
YQ
163412015-06-17 Yao Qi <yao.qi@linaro.org>
16342
16343 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
16344 line.
16345
2093d2d3
PP
163462015-06-17 Patrick Palka <patrick@parcs.ath.cx>
16347
16348 * gdb.base/gdbinit-history.exp: Add test case to check that
16349 an unlimited history file does not get truncated on exit.
16350
e6c693af
AA
163512015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
16352
16353 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
16354 (VECTOR): New macro. Use it...
16355 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
16356 ...for these typedefs.
16357 (int8, char1, int1, double1): New typedefs.
16358 (struct just_int2, struct two_int2): New structures.
16359 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
16360 (add_structvecs, add_singlevecs): New functions.
16361 (main): Call add_some_intvecs twice.
16362 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
16363 the compile and exit upon failure. Try compiling for the "native"
16364 architecture. Test inferior function calls with vector arguments
16365 and vector return value handling with "finish" and "return".
16366
c74f7d1c
JT
163672015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
16368
16369 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
16370 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
16371 PE file.
16372 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
16373
98aa42ee
AT
163742015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
16375
16376 PR breakpoints/16465
16377 * gdb.mi/mi-dprintf-pending.c: New file.
16378 * gdb.mi/mi-dprintf-pending.exp: New test.
16379 * gdb.mi/mi-dprintf-pendshr.c: New file.
16380
7d73c23c 163812015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 16382 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
16383
16384 * gdb.arch/i386-mpx-map.c: New file.
16385 * gdb.arch/i386-mpx-map.exp: New File.
16386
163872015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
16388
16389 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
16390 * gdb.arch/i386-mpx.exp: Indentation fixed.
16391
163922015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
16393
16394 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
16395 function and improved indentation.
16396 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
16397 gdb_test_multiple. Added additional tests to skip the test.
16398
163992015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
16400
16401 * gdb.arch/i386-avx512.c: Change path in include file.
16402 * gdb.arch/i386-avx512.exp: Change include dir path
16403 compilation flag.
16404 * gdb.arch/i386-mpx.c: Change path in include file.
16405 * gdb.arch/i386-mpx.exp: Change include dir path compilation
16406 flag.
16407
d5eba19a
JK
164082015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
16409
16410 * gdb.compile/compile-print.exp (compile print *vararray@3)
16411 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
16412
7f361056
JK
164132015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
16414
16415 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
16416 (do not keep jit in memory): ... this.
16417 (expect 5): Change it to ...
16418 (expect no 5): ... this.
16419
3b462ec2
SM
164202015-06-02 Simon Marchi <simon.marchi@ericsson.com>
16421
16422 PR gdb/15564
16423 * gdb.mi/mi-detach.exp: New file.
16424
e0619de6
JK
164252015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
16426
16427 PR symtab/18392
16428 * gdb.arch/amd64-tailcall-self.S: New file.
16429 * gdb.arch/amd64-tailcall-self.c: New file.
16430 * gdb.arch/amd64-tailcall-self.exp: New file.
16431
e970cb34
DB
164322015-05-28 Don Breazeal <donb@codesourcery.com>
16433
16434 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
16435 tests for remote targets by checking is_target_gdbserver.
16436
b2e2f908
DE
164372015-05-27 Doug Evans <dje@google.com>
16438
16439 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
16440 * gdb.dwarf2/opaque-type-lookup.c: New file.
16441 * gdb.dwarf2/opaque-type-lookup.exp: New file.
16442
82c7be31
DE
164432015-05-26 Doug Evans <dje@google.com>
16444
16445 * gdb.cp/iostream.cc: New file.
16446 * gdb.cp/iostream.exp: New file.
16447
b4f54984
DE
164482015-05-26 Doug Evans <dje@google.com>
16449
16450 * gdb.dwarf2/dw2-op-call.exp: Update.
16451 * gdb.dwarf2/dw4-sig-types.exp: Update.
16452 * gdb.dwarf2/implptr.exp: Update.
16453 * gdb.mi/mi-cmd-param-changed.exp: Update.
16454
4ea6efe9
DE
164552015-05-26 Doug Evans <dje@google.com>
16456
16457 * gdb.python/py-lazy-string.c: New file.
16458 * gdb.python/py-lazy-string.exp: New file.
16459 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
16460 (main): Update. Add estring3.
16461 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
16462 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
16463
f6bb7db3
YQ
164642015-05-26 Omair Javaid <omair.javaid@linaro.org>
16465 Yao Qi <yao.qi@linaro.org>
16466
16467 * gdb.reverse/aarch64.c: New.
16468 * gdb.reverse/aarch64.exp: New.
16469
a81bfbd0
OJ
164702015-05-26 Omair Javaid <omair.javaid@linaro.org>
16471
25d49b86
PA
16472 * lib/gdb.exp (supports_process_record): Return true for
16473 aarch64*-linux*.
a81bfbd0
OJ
16474 (supports_reverse): Likewise.
16475
158bf1b4
PP
164762015-05-22 Patrick Palka <patrick@parcs.ath.cx>
16477
16478 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
16479 Use with_test_prefix.
16480
a0145030
AB
164812015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
16482
16483 * gdb.base/completion.exp: Add test for completion of layout
16484 names.
16485
ebe3b578
AB
164862015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
16487
16488 * lib/gdb.exp (skip_tui_tests): New proc.
16489 * gdb.base/tui-layout.exp: Check skip_tui_tests.
16490
84204ed7
PA
164912015-05-19 Pedro Alves <palves@redhat.com>
16492
16493 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
16494 Save the whole env array instead of just HOME. Unset HISTSIZE in
16495 the environment while testing. Restore whole environment
16496 afterwards.
16497
37442ce1
DE
164982015-05-16 Doug Evans <xdje42@gmail.com>
16499
16500 * gdb.guile/scm-ports.c: New file.
16501 * gdb.guile/scm-ports.exp: Add memory port tests.
16502
36de76f9
JK
165032015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16504
16505 * gdb.compile/compile-print.c: New file.
16506 * gdb.compile/compile-print.exp: New file.
16507
3a9558c4
JK
165082015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16509
16510 * gdb.compile/compile-ops.exp: Cast param to void.
16511 * gdb.compile/compile.exp: Complete type for _gdb_expr.
16512 (compile code struct_object.selffield = &struct_object): Add xfail.
16513
aa715135
JG
165142015-05-15 Joel Brobecker <brobecker@adacore.com>
16515
16516 * gdb.ada/arr_enum_with_gap: New testcase.
16517
931e5bc3
JG
165182015-05-15 Joel Brobecker <brobecker@adacore.com>
16519
16520 * gdb.ada/byte_packed_arr: New testcase.
16521
9cd4d857
JB
165222015-05-15 Joel Brobecker <brobecker@adacore.com>
16523
16524 * gdb.ada/pckd_neg: New testcase.
16525
ebfd00d2
PP
165262015-05-13 Patrick Palka <patrick@parcs.ath.cx>
16527
16528 PR gdb/17820
16529 * gdb.base/gdbinit-history.exp: New test.
16530 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
16531 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
16532
4c082a81
SC
165332015-05-09 Siva Chandra Reddy <sivachandra@google.com>
16534
16535 * gdb.python/py-xmethods.cc: Enhance test case.
16536 * gdb.python/py-xmethods.exp: New tests.
16537 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
16538 function.
16539 (B_indexoper): Likewise.
16540 (global_dm_list) : Add new xmethod worker functions.
16541
f7797074
SDJ
165422015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
16543
16544 * gdb.base/coredump-filter.exp: Correctly unset
16545 "coredump_var_addr" array.
16546
a4674e4e
PA
165472015-05-08 Pedro Alves <palves@redhat.com>
16548
16549 * gdb.server/non-existing-program.exp: Unset spawn_id.
16550
df2eb078
SC
165512015-05-08 Siva Chandra Reddy <sivachandra@google.com>
16552
16553 PR python/18291
16554 * gdb.python/py-xmethods.exp: Add tests.
16555
422349a3
YQ
165562015-05-08 Yao Qi <yao.qi@linaro.org>
16557
16558 PR gdb/18208
16559 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
16560 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
16561 function set_coredump_filter, and remove remote_exec call.
16562 Remove argument ipid. Callers update.
16563 (top level): Don't get inferior's PID.
16564
63fc80ce
AA
165652015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
16566
16567 * gdb.base/watch_thread_num.exp: Skip test on targets without
16568 access watchpoints.
16569
80ad801e
PA
165702015-05-06 Pedro Alves <palves@redhat.com>
16571
16572 PR server/18081
16573 * gdb.server/non-existing-program.exp: New file.
16574
0fa7fe50
JB
165752015-05-05 Joel Brobecker <brobecker@adacore.com>
16576
16577 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
16578
3ea89b92
PMR
165792015-05-05 Joel Brobecker <brobecker@adacore.com>
16580
16581 * gdb.ada/out_of_line_in_inlined: New testcase.
16582
87b8eff0
JB
165832015-05-05 Joel Brobecker <brobecker@adacore.com>
16584
16585 * gdb.ada/var_rec_arr: New testcase.
16586
5fccc635
YQ
165872015-04-30 Yao Qi <yao.qi@linaro.org>
16588
16589 * gdb.base/break-idempotent.exp: If
16590 skip_hw_watchpoint_multi_tests returns true, skip the tests
16591 on "rwatch" and "awatch".
16592
42d38f42
YQ
165932015-04-30 Yao Qi <yao.qi@linaro.org>
16594
16595 * gdb.base/relativedebug.exp: Invoke gdb command
16596 "info sharedlibrary", and if libc.so doesn't have debug info,
16597 skip the test.
16598
2ce1cdbf
DE
165992015-04-29 Doug Evans <dje@google.com>
16600
16601 * gdb.python/py-xmethods.exp: Add ptype tests.
16602 * gdb.python/py-xmethods.py (E_method_char_worker): Add
16603 get_result_type method.
16604
f24a38c5
LM
166052015-04-29 Luis Machado <lgustavo@codesourcery.com>
16606
16607 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
16608 the target does not support hardware watchpoints.
16609
ecbf2b3c
LM
166102015-04-29 Luis Machado <lgustavo@codesourcery.com>
16611
16612 * gdb.base/break-always.exp: Abort testing if writing to memory
16613 causes an error.
16614
34f5f757
DE
166152015-04-28 Doug Evans <dje@google.com>
16616
16617 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
16618 * gdb.python/py-pp-registration.exp: ... here. New file.
16619 * gdb.python/py-pp-registration.c: New file.
16620 * gdb.python/py-pp-registration.py: New file.
16621
69b4374a
DE
166222015-04-28 Doug Evans <dje@google.com>
16623
16624 * gdb.python/py-bad-printers.c: New file.
16625 * gdb.python/py-bad-printers.py: New file.
16626 * gdb.python/py-bad-printers.exp: New file.
16627
59fb7612
SS
166282015-04-28 Sasha Smundak <asmundak@google.com>
16629
16630 * gdb.python/py-type.exp: New test.
16631
2631b16a
AW
166322015-04-28 Andy Wingo <wingo@igalia.com>
16633
16634 * gdb.python/py-parameter.exp:
16635 * gdb.guile/scm-parameter.exp: Escape the path that we are
16636 matching against, as it might contain characters that are special
16637 to regular expressions.
16638
460efde1
JB
166392015-04-27 Joel Brobecker <brobecker@adacore.com>
16640
16641 * gdb.ada/rec_comp: New testcase.
16642
2d369d8e
SDJ
166432015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
16644
16645 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
16646 before using it.
16647
cf75d6c3
AB
166482015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
16649
16650 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
16651 new tests for verilog output.
16652
8dbe7ca5
YQ
166532015-04-24 Yao Qi <yao.qi@linaro.org>
16654
16655 * boards/remote-gdbserver-on-localhost.exp: New file.
16656
4ef9fb2f
PA
166572015-04-23 Pedro Alves <palves@redhat.com>
16658
16659 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
16660 $inferior_spawn_id instead of $inferior_spawn_id directly. On
16661 "end of file", remove $inferior_spawn_id from the indirect list.
16662
0a803169
PA
166632015-04-23 Pedro Alves <palves@redhat.com>
16664
16665 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
16666
749ef8f8
PA
166672015-04-23 Pedro Alves <palves@redhat.com>
16668
16669 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
16670 on $any_spawn_id instead of only on $gdb_spawn_id.
16671
8aae4344
PM
166722015-04-21 Pierre Muller <muller@sourceware.org>
16673
16674 PR pascal/17815
16675 * lib/pascal.exp (gpc_compile): Add new option "class".
16676 (fpc_compile): Likewise.
16677 * gdb.pascal/case-insensitive-symbols.pas: New file.
16678 * gdb.pascal/case-insensitive-symbols.exp: New file.
16679
1586c8fb
GB
166802015-04-20 Gary Benson <gbenson@redhat.com>
16681
16682 * gdb.base/attach.exp: Fix three extended remote failures.
16683
1b6e6f5c
GB
166842015-04-17 Gary Benson <gbenson@redhat.com>
16685
16686 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
16687 the main executable over the remote protocol.
16688
e797481d
PA
166892015-04-16 Pedro Alves <palves@redhat.com>
16690
16691 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
16692 a new gdbserver if gdbserver_reconnect_p is set.
16693
1ca99c42
PA
166942015-04-16 Pedro Alves <palves@redhat.com>
16695
16696 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
16697 is set, don't exit gdbserver.
16698
af9fd6f8
AA
166992015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
16700
16701 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
16702 appropriate .insn, such that an older assembler can be used.
16703 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
16704 the z/Architecture instruction set on 31-bit targets as well.
16705
04ff1e61
AA
167062015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
16707
16708 * gdb.go/handcall.exp: Remove all logic related to the first
16709 breakpoint and rely on go_runto_main instead.
16710 * gdb.go/strings.exp: Likewise.
16711 * gdb.go/unsafe.exp: Likewise.
16712 * gdb.go/hello.exp: Likewise. Also rename the remaining
16713 breakpoint marker to "breakpoint 1".
16714 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
16715 * gdb.go/strings.go: Likewise.
16716 * gdb.go/unsafe.go: Likewise.
16717 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
16718 "set breakpoint 2 here" and rename the remaining breakpoint marker
16719 to "breakpoint 1".
16720
40d2f8d6
SM
167212015-04-15 Simon Marchi <simon.marchi@ericsson.com>
16722
16723 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
16724 if itertools.imap is not present.
16725 * gdb.python/py-objfile.exp: Add parentheses.
16726 * gdb.python/py-type.exp: Same.
16727 * gdb.python/py-unwind-maint.py: Same.
16728
8cbc97c6
YQ
167292015-04-15 Yao Qi <yao.qi@linaro.org>
16730
16731 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
16732 of ":$ptr_size" and set its form explicitly.
16733
45fd756c
YQ
167342015-04-15 Pedro Alves <palves@redhat.com>
16735 Yao Qi <yao.qi@linaro.org>
16736
16737 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
16738 timeout by factor of 4.
16739 (test_regular_watch): Likewise.
16740 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
16741 * gdb.reverse/sigall-reverse.exp: Likewise.
16742 * gdb.reverse/until-precsave.exp: Likewise.
16743 * lib/gdb.exp (with_timeout_factor): New proc.
16744 (gdb_expect): Move some code to ...
16745 (get_largest_timeout): ... here. New procedure.
16746
9e811bc3
LM
167472015-04-14 Luis Machado <lgustavo@codesourcery.com>
16748
16749 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
16750
0ff6fcb2
LM
167512015-04-13 Luis Machado <lgustavo@codesourcery.com>
16752
16753 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
16754 to write to the .text section.
16755
7578d5f7
LM
167562015-04-13 Luis Machado <lgustavo@codesourcery.com>
16757
16758 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
16759 Handle the case of targets that do not provide PID information.
16760
2efe15c4
YQ
167612015-04-13 Yao Qi <yao.qi@linaro.org>
16762
16763 * lib/gdbserver-support.exp (gdb_exit): Catch exception
16764 and use expect instead of gdb_expect.
16765
8cd8f2f8
SDJ
167662015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
16767
16768 * gdb.base/coredump-filter.exp: Rename variable "addr" to
16769 "coredump_var_addr" to avoid naming conflict with other testcases.
16770
9ee41772
PA
167712015-04-10 Pedro Alves <palves@redhat.com>
16772
16773 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
16774 gdb_test_sequence and gdb_assert.
16775
07473109
PA
167762015-04-10 Pedro Alves <palves@redhat.com>
16777
16778 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
16779 test messages that don't include the breakpoint address.
16780
de3db44c
YQ
167812015-04-10 Yao Qi <yao.qi@linaro.org>
16782
16783 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
16784 false for some offset and width combinations which aren't
16785 supported by linux kernel.
16786
c79d856c
PA
167872015-04-10 Pedro Alves <palves@redhat.com>
16788
16789 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
16790 procedure, factored out from ...
16791 (top level): ... here. Add "set displaced-stepping" testing axis.
16792 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
16793 parameter "displaced". Use it.
16794 (top level): Use foreach and add "set displaced-stepping" testing
16795 axis.
16796
ebc90b50
PA
167972015-04-10 Pedro Alves <palves@redhat.com>
16798
16799 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
16800 Remove comment.
16801 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
16802 both the address of the instruction that triggers the watchpoint
16803 and the address of the instruction immediately after, and use
16804 those addresses for the test. Fix comment.
16805
8f572e5c
PA
168062015-04-10 Pedro Alves <palves@redhat.com>
16807
16808 * gdb.base/sigstep.exp (breakpoint_to_handler)
16809 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
16810 Test "backtrace" in handler.
16811 (breakpoint_over_handler): New parameter 'displaced'. Use it.
16812 (top level): Add new "displaced" test axis to
16813 breakpoint_to_handler, breakpoint_to_handler_entry and
16814 breakpoint_over_handler.
16815
8d707a12
PA
168162015-04-10 Pedro Alves <palves@redhat.com>
16817
16818 PR gdb/18216
16819 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
16820
ef713951
YQ
168212015-04-10 Yao Qi <yao.qi@linaro.org>
16822
16823 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
16824 (test_add_rn_pc): New function.
16825 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
16826 (top level): Invoke test_add_rn_pc.
16827
906d60cf
PA
168282015-04-10 Pedro Alves <palves@redhat.com>
16829
16830 PR gdb/13858
16831 * gdb.base/step-over-no-symbols.exp: New file.
16832
f2983cc3
AW
168332015-04-09 Andy Wingo <wingo@igalia.com>
16834
16835 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
16836 after the Python tests.
16837
6d62641c
SDJ
168382015-04-08 Keith Seitz <keiths@redhat.com>
16839
16840 PR python/16699
16841 * gdb.python/py-completion.exp: New tests for completion.
16842 * gdb.python/py-completion.py (CompleteLimit1): New class.
16843 (CompleteLimit2): Likewise.
16844 (CompleteLimit3): Likewise.
16845 (CompleteLimit4): Likewise.
16846 (CompleteLimit5): Likewise.
16847 (CompleteLimit6): Likewise.
16848 (CompleteLimit7): Likewise.
16849
f3770638
PA
168502015-04-08 Pedro Alves <palves@redhat.com>
16851
16852 PR gdb/18214
16853 PR gdb/18216
16854 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
16855 function.
16856 (main): Install it as SIGUSR1 handler.
16857 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
16858 parameter. Always use "setup" as prefix. Toggle "set
16859 displaced-stepping" off/on depending on global. Don't switch to
16860 thread 1 here.
16861 (top level): Add displaced stepping "off/on" test axis. Update
16862 "setup" calls. Wrap each subtest with with_test_prefix. Test
16863 continuing with a queued signal in each thread.
16864
4496bed7
PA
168652015-04-08 Pedro Alves <palves@redhat.com>
16866
16867 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
16868 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
16869 gdb_breakpoint instead of gdb_test that doesn't expect anything.
16870 Return early if running to main fails.
16871 * gdb.trace/while-stepping.exp: Likewise.
16872
b97fde92
PA
168732015-04-07 Pedro Alves <palves@redhat.com>
16874
16875 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
16876 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
16877 interact with inferior program.
16878
f71c18e7
PA
168792015-04-07 Pedro Alves <palves@redhat.com>
16880
16881 * lib/gdb.exp (inferior_spawn_id): New global.
16882 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
16883 spawn id after processing the user code.
16884 (default_gdb_start): Set inferior_spawn_id.
16885 (send_inferior): New procedure.
16886 * lib/gdbserver-support.exp (gdbserver_start): Set
16887 inferior_spawn_id.
16888 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
16889
6423214f
PA
168902015-04-07 Pedro Alves <palves@redhat.com>
16891
16892 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
16893 * lib/gdbserver-support.exp (gdbserver_start): Make
16894 $server_spawn_id global.
16895 (gdbserver_start): Don't wait for gdbserver's spawn id with
16896 expect_background.
16897 (close_gdbserver): New procedure.
16898 (gdb_exit): Rename the default version and reimplement.
16899
71c0ee8c
PA
169002015-04-07 Pedro Alves <palves@redhat.com>
16901
72f4393d 16902 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
16903 append the substituted item, not the original item.
16904
203bc29b
PA
169052015-04-07 Pedro Alves <palves@redhat.com>
16906
16907 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
16908 gdb_expect.
16909
508a3ddf
PA
169102015-04-07 Pedro Alves <palves@redhat.com>
16911
16912 * gdb.base/interrupt.exp: Don't handle the case of the inferior
16913 output appearing once only.
16914
9f6dbe2b
PA
169152015-04-07 Pedro Alves <palves@redhat.com>
16916
16917 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
16918 that doesn't expect anything. Return early if running to main
16919 fails.
16920
337532fa
YQ
169212015-04-07 Yao Qi <yao.qi@linaro.org>
16922
16923 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
16924 (child_function): Call alarm.
16925 (main): Move call to alarm into the loop.
16926 * gdb.threads/non-stop-fair-events.exp: Build program with
16927 -DTIMEOUT=$timeout.
16928
01b622d4
DE
169292015-04-06 Doug Evans <xdje42@gmail.com>
16930
16931 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
16932 Fix dest parameter to board_info.
16933 (fpc_compile): Ditto.
16934 (gdb_compile_pascal): Rename dest arg to destfile.
16935
961f4160
PMR
169362015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
16937
16938 * gdb.ada/funcall_ref.exp: New file.
16939 * gdb.ada/funcall_ref/foo.adb: New file.
16940
cafda597
YQ
169412015-04-02 Yao Qi <yao.qi@linaro.org>
16942
16943 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
16944 is remote.
16945
fed040c6
GB
169462015-04-02 Gary Benson <gbenson@redhat.com>
16947
16948 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
16949
d11916aa
SS
169502015-04-01 Sasha Smundak <asmundak@google.com>
16951
16952 * gdb.python/py-unwind-maint.c: New file.
16953 * gdb.python/py-unwind-maint.exp: New test.
16954 * gdb.python/py-unwind-maint.py: New file.
16955 * gdb.python/py-unwind.c: New file.
16956 * gdb.python/py-unwind.exp: New test.
16957 * gdb.python/py-unwind.py: New test.
16958
a1471180
PA
169592015-04-01 Pedro Alves <palves@redhat.com>
16960
16961 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
16962 to fail instead of non-existent $test.
16963
0bbeccb1
PA
169642015-04-01 Pedro Alves <palves@redhat.com>
16965
16966 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
16967 GDBFLAGS if not empty.
16968
3c724c8c
PMR
169692015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
16970
16971 * gdb.ada/complete.exp: Remove "multi_line".
16972 * gdb.ada/info_exc.exp: Remove "multi_line".
16973 * gdb.ada/packed_tagged.exp: Remove "multi_line".
16974 * gdb.ada/ptype_field.exp: Remove "multi_line".
16975 * gdb.ada/sym_print_name.exp: Remove "multi_line".
16976 * gdb.ada/tagged.exp: Remove "multi_line".
16977 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
16978 [multi_line ...]
16979 * gdb.btrace/delta.exp: Likewise.
16980 * gdb.btrace/exception.exp: Likewise.
16981 * gdb.btrace/function_call_history.exp: Likewise.
16982 * gdb.btrace/instruction_history.exp: Likewise.
16983 * gdb.btrace/nohist.exp: Likewise.
16984 * gdb.btrace/record_goto.exp: Likewise.
16985 * gdb.btrace/segv.exp: Likewise.
16986 * gdb.btrace/stepi.exp: Likewise.
16987 * gdb.btrace/tailcall.exp: Likewise.
16988 * gdb.btrace/unknown_functions.exp: Likewise.
16989 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
16990 * lib/gdb.exp: Add the "multi_line" helper.
16991
4eec2deb
PA
169922015-04-01 Pedro Alves <palves@redhat.com>
16993
16994 * gdb.threads/tid-reuse.c: New file.
16995 * gdb.threads/tid-reuse.exp: New file.
16996
df8411da
SDJ
169972015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
16998
16999 PR corefiles/16092
17000 * gdb.base/coredump-filter.c: New file.
17001 * gdb.base/coredump-filter.exp: Likewise.
17002
6ef37366
PM
170032015-03-27 Petr Machata <pmachata@redhat.com>
17004
17005 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
17006 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
17007 (Dwarf::assemble): Initialize them.
17008 (Dwarf::lines): New function.
17009
7ec911b0
JT
170102015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
17011
17012 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
17013 SYMBOL_PREFIX for x86_64-*-cygwin.
17014
ff908ebf
AW
170152015-03-26 Andy Wingo <wingo@igalia.com>
17016
17017 PR symtab/18148
17018 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
17019 const_value but not a location.
17020 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
17021 location defined in non-main CUs are visible.
17022
6d5f0679
YQ
170232015-03-26 Yao Qi <yao.qi@linaro.org>
17024
17025 PR testsuite/18139
17026 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
17027 Add a line number entry for the same line.
17028 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
17029 Add a line number entry for the same line.
17030
2898689b
YQ
170312015-03-26 Yao Qi <yao.qi@linaro.org>
17032
17033 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
17034 .int 0.
17035 (func): Likewise. Add .Lfunc_1 label.
17036 Use .Lfunc_1 label.
17037 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
17038 .int 0.
17039 (func): Likewise.
17040 Use .Lfunc_1 label.
17041
85180498
YQ
170422015-03-26 Yao Qi <yao.qi@linaro.org>
17043
17044 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
17045 Call gdb_compile instead to compile each .s files without debug
17046 information.
17047
8aa08a8d
YQ
170482015-03-26 Yao Qi <yao.qi@linaro.org>
17049
17050 * gdb.base/savedregs.exp (process_saved_regs): Make
17051 "Saved registers:" optional in the pattern.
17052
66849923
MM
170532015-03-25 Markus Metzger <markus.t.metzger@intel.com>
17054
17055 * gdb.btrace/next.exp: Merged into step.exp.
17056 * gdb.btrace/finish.exp: Merged into step.exp.
17057 * gdb.btrace/nexti.exp: Merged into stepi.exp.
17058 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
17059 "record goto" and checking the exact replay position.
17060 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
17061 check for "Recording format" in "info record" output.
17062 * gdb.btrace/record_goto.exp: Choose test file based on target.
17063 * gdb.btrace/x86-record_goto.S: Renamed into ...
17064 * gdb.btrace/x86_64-record_goto.S: ... this.
17065 * gdb.btrace/i686-record_goto.S: New.
17066 * gdb.btrace/x86-tailcall.S: Renamed into ...
17067 * gdb.btrace/x86_64-tailcall.S: ... this.
17068 * gdb.btrace/i686-tailcall.S: New.
17069 * gdb.btrace/x86-tailcall.c: Renamed into ...
17070 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
17071 separate statements. Update test.
17072 * gdb.btrace/delta.exp: Use record_goto.c as test file.
17073 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
17074 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
17075 * gdb.btrace/tailcall.exp: Choose test file based on target.
17076 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
17077
11cc1b74
MM
170782015-03-25 Markus Metzger <markus.t.metzger@intel.com>
17079
17080 * gdb.btrace/exception.exp: Increase BTS buffer size.
17081
a25d8bf9
PA
170822015-03-24 Pedro Alves <palves@redhat.com>
17083
17084 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
17085
856e7dd6
PA
170862015-03-24 Pedro Alves <palves@redhat.com>
17087
17088 * gdb.threads/schedlock.exp (test_step): No longer expect that
17089 "set scheduler-locking step" with "next" over a function call runs
17090 threads unlocked.
17091
ad235a41
AT
170922015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
17093
17094 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
17095
15630549
AT
170962015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
17097
17098 PR breakpoints/16466
17099 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
17100 * gdb.mi/mi-pending.c (thread_func): New function.
17101 (int main): Add threading support required.
17102 * gdb.mi/mi-pending.exp: Add tests for this issue.
17103 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
17104 (pendfunc2): Remove stdio dependency.
17105 * gdb.mi/mi-pendshr2.c: New file.
17106
693dca06
KS
171072015-03-23 Keith Seitz <keiths@redhat.com>
17108
17109 * gdb.linespec/keywords.c: New file.
17110 * gdb.linespec/keywords.exp: New file.
17111
7e993ebf
KS
171122015-03-23 Keith Seitz <keiths@redhat.com>
17113
17114 PR gdb/18021
17115 * gdb.dwarf2/staticvirtual.exp: New test.
17116
bc23328c
JK
171172015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
17118
17119 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
17120 * README: Remove HP-UX and gdb.hp.
17121 (configuration):
17122 * configure: Regenerate.
17123 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
17124 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
17125 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
17126 gdb.hp/gdb.defects/Makefile.
17127 * gdb.hp/Makefile.in: File deleted.
17128 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
17129 * gdb.hp/gdb.aCC/optimize.c: File deleted.
17130 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
17131 * gdb.hp/gdb.aCC/run.c: File deleted.
17132 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
17133 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
17134 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
17135 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
17136 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
17137 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
17138 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
17139 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
17140 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
17141 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
17142 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
17143 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
17144 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
17145 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
17146 * gdb.hp/gdb.base-hp/reg.s: File deleted.
17147 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
17148 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
17149 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
17150 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
17151 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
17152 * gdb.hp/gdb.compat/Makefile.in: File deleted.
17153 * gdb.hp/gdb.compat/average.c: File deleted.
17154 * gdb.hp/gdb.compat/sum.c: File deleted.
17155 * gdb.hp/gdb.compat/xdb.c: File deleted.
17156 * gdb.hp/gdb.compat/xdb0.c: File deleted.
17157 * gdb.hp/gdb.compat/xdb0.h: File deleted.
17158 * gdb.hp/gdb.compat/xdb1.c: File deleted.
17159 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
17160 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
17161 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
17162 * gdb.hp/gdb.defects/Makefile.in: File deleted.
17163 * gdb.hp/gdb.defects/bs14602.c: File deleted.
17164 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
17165 * gdb.hp/gdb.defects/solib-d.c: File deleted.
17166 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
17167 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
17168 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
17169 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
17170 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
17171 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
17172 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
17173 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
17174 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
17175 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
17176 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
17177 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
17178 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
17179 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
17180 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
17181 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
17182 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
17183 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
17184 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
17185 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
17186 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
17187 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
17188 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
17189 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
17190 * gdb.hp/tools/odump: File deleted.
17191
8bf3b159
PA
171922015-03-19 Pedro Alves <palves@redhat.com>
17193
17194 * gdb.threads/continue-pending-status.exp (saw_thread_2)
17195 (saw_thread_3): New globals.
17196 (top level): Increment them when an event for the corresponding
17197 thread is seen.
17198 (no thread starvation): New test.
17199
eb54c8bf
PA
172002015-03-19 Pedro Alves <palves@redhat.com>
17201
17202 * gdb.threads/continue-pending-status.c: New file.
17203 * gdb.threads/continue-pending-status.exp: New file.
17204
32d2e5d6
PA
172052015-03-18 Pedro Alves <palves@redhat.com>
17206
17207 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
17208 Use gdb_is_target_remote instead of is_remote. Use
17209 gdb_test_multiple instead of gdb_expect. Exit early if
17210 gdb_test_multiple hits its internal matches. Tighten stepi tests
17211 expected output. Fail on exit with any signal, instead of just
17212 SIGILL.
17213
f68f11b7
YQ
172142015-03-18 Yao Qi <yao.qi@linaro.org>
17215
17216 PR tdep/18107
17217 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
17218 variable.
17219 * gdb.base/catch-syscall.exp: Don't skip it on
17220 aarch64*-*-linux* target. Remove elements in all_syscalls.
17221 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
17222 target.
17223 (setup_all_syscalls): New proc.
17224
ca5fd19b
YQ
172252015-03-16 Yao Qi <yao.qi@linaro.org>
17226
17227 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
17228 (top level): Skip tests if valid_addr_p returns false for
17229 $cmd1 or $cmd2.
17230
85642ba0
AW
172312015-03-11 Andy Wingo <wingo@igalia.com>
17232
17233 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
17234
e03f9645
YQ
172352015-03-11 Yao Qi <yao.qi@linaro.org>
17236
17237 * gdb.base/catch-syscall.exp: Fix typo in comments.
17238
5d0962b2
YQ
172392015-03-11 Yao Qi <yao.qi@linaro.org>
17240
17241 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
17242
b2df3cef
PA
172432015-03-09 Pedro Alves <palves@redhat.com>
17244
17245 * dg-extract-results.py: Delete.
17246
ef878e53
PA
172472015-03-09 Pedro Alves <palves@redhat.com>
17248
17249 Merge dg-extract-results.sh from GCC upstream (r218843).
17250
17251 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
17252 * dg-extract-results.sh: Use --text with grep to avoid issues with
17253 binary files. Fall back to cat -v, if that doesn't work.
17254
9494d219
PA
172552015-03-05 Pedro Alves <palves@redhat.com>
17256
17257 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
17258
a8d9763a
SM
172592015-03-04 Simon Marchi <simon.marchi@ericsson.com>
17260
17261 * lib/mi-support.exp (mi_expect_interrupt): Accept
17262 alternative event for when in all-stop mode.
17263
be9957b8
PA
172642015-03-04 Pedro Alves <palves@redhat.com>
17265
17266 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
17267
d57be0f4 172682015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
17269
17270 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
17271
c214c7cf
AA
172722015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
17273
17274 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
17275 regexps for GDB's current line display, accept a hex address
17276 preceding the line number.
17277
6d74a497
AA
172782015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
17279
17280 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
17281 the 'arch1' variable for "s390*-linux*" targets.
17282
511aee7c
PA
172832015-03-04 Pedro Alves <palves@redhat.com>
17284
17285 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
17286 (main): Pass missing retval argument to pthread_join call.
17287
95e50b27
PA
172882015-03-02 Pedro Alves <palves@redhat.com>
17289
17290 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
17291 (top level): Call do_test with non-stop as well.
17292
28054d69
PA
172932015-03-02 Pedro Alves <palves@redhat.com>
17294
17295 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
17296 -1.
17297
4fa5d7b4
AA
172982015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
17299
17300 * gdb.arch/s390-vregs.exp: New test.
17301 * gdb.arch/s390-vregs.S: New file.
17302
97c18565
PA
173032015-02-27 Pedro Alves <palves@redhat.com>
17304
17305 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
17306 call to catch_command_errors.
17307 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
17308 catch_command_errors.
17309
a37bfa30
PA
173102015-02-27 Pedro Alves <palves@redhat.com>
17311
17312 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
17313 "true" for boolean result.
17314 * gdb.gdb/selftest.exp (test_with_self): Also accept full
17315 prototype of main.
17316
6f98576f
PA
173172015-02-27 Pedro Alves <palves@redhat.com>
17318
17319 * lib/unbuffer_output.c: New file.
17320 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
17321 (main): Call gdb_unbuffer_output.
17322
eba5ab56
YQ
173232015-02-27 Yao Qi <yao.qi@linaro.org>
17324
17325 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
17326 target.
17327
0def5aaa
DE
173282015-02-26 Doug Evans <dje@google.com>
17329
17330 * gdb.cp/class2.cc (Dbase, D): New classes.
17331 (main): New local delta.
17332 * gdb.cp/class2.exp: Test printing delta.
17333 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
17334 (dynbar): New global.
17335 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
17336
081a1c2c
JK
173372015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
17338
17339 * gdb.compile/compile-ifunc.c: New file.
17340 * gdb.compile/compile-ifunc.exp: New file.
17341
2f41223f
AT
173422015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
17343
17344 * gdb.base/structs.exp: Check for correct struct on finish.
17345
03eddd80
YQ
173462015-02-26 Yao Qi <yao.qi@linaro.org>
17347
17348 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
17349 is zero.
17350
80c57053
JK
173512015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
17352
17353 * gdb.arch/cordic.ko.bz2: New file.
17354 * gdb.arch/cordic.ko.debug.bz2: New file.
17355 * gdb.arch/ppc64-symtab-cordic.exp: New file.
17356
21613c12
YQ
173572015-02-25 Yao Qi <yao.qi@linaro.org>
17358
17359 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
17360 aarch64*-*-* target.
17361
d8b901ed
PA
173622015-02-23 Pedro Alves <palves@redhat.com>
17363
17364 * lib/gdb.exp (delete_breakpoints): Rewrite using
17365 gdb_test_multiple.
17366
e5b85ead
PA
173672015-02-23 Pedro Alves <palves@redhat.com>
17368
17369 * gdb.base/info-os.c: Include stdlib.h.
17370
85c3a371
DE
173712015-02-22 Doug Evans <xdje42@gmail.com>
17372
17373 PR symtab/17855
17374 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
17375 is read after symbols have been re-read.
17376 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
17377 * gdb.ada/exec_changed/second.adb (Second): Ditto.
17378
96553a0c
DE
173792015-02-21 Doug Evans <dje@google.com>
17380
17381 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
17382
97a0c697
JK
173832015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17384
17385 PR corefiles/17808
17386 * gdb.arch/i386-biarch-core.core.bz2: New file.
17387 * gdb.arch/i386-biarch-core.exp: New file.
17388
a47cd6e9
PA
173892015-02-21 Pedro Alves <palves@redhat.com>
17390
17391 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
17392 runto_main fails.
17393
c5facdc4
PA
173942015-02-20 Pedro Alves <palves@redhat.com>
17395
17396 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
17397 info probes.
17398
2db9a427
PA
173992015-02-20 Pedro Alves <palves@redhat.com>
17400
17401 * gdb.threads/multi-create-ns-info-thr.exp: New file.
17402
60fb7e9e
PA
174032015-02-20 Pedro Alves <palves@redhat.com>
17404
17405 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
17406 clean_restart before gdb_target_supports_trace.
17407
5c5019c2
PA
174082015-02-20 Pedro Alves <palves@redhat.com>
17409
17410 PR threads/18006
17411 * gdb.threads/clone-thread_db.c: New file.
17412 * gdb.threads/clone-thread_db.exp: New file.
17413
c9587f88
AT
174142015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
17415
17416 PR breakpoints/16812
17417 * gdb.base/catch-gdb-caused-signals.c: New file.
17418 * gdb.base/catch-gdb-caused-signals.exp: New file.
17419
f6a88844
JM
174202015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
17421
17422 * configure: Regenerated.
17423 * configure.ac: Use GDB_AC_TRANSFORM.
17424 * aclocal.m4: sinclude ../transform.m4.
17425
497c491b
JM
174262015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
17427
17428 * lib/dtrace.exp: New file.
17429 * gdb.base/dtrace-probe.exp: Likewise.
17430 * gdb.base/dtrace-probe.d: Likewise.
17431 * gdb.base/dtrace-probe.c: Likewise.
17432 * lib/pdtrace.in: Likewise.
17433 * configure.ac: Output variables with the transformed names of
17434 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
17435 * configure: Regenerated.
17436
03e98035
JM
174372015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
17438
17439 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
17440 expected message when trying to access $_probe_* convenience
17441 variables while not on a probe.
17442
63cc30e9
JK
174432015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17444
17445 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
17446
0703599a
PA
174472015-02-11 Pedro Alves <pedro@codesourcery.com>
17448
17449 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
17450 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
17451
7e60a48e
DE
174522015-02-10 Doug Evans <xdje42@gmail.com>
17453
17454 * lib/gdb.exp (gdb_load): Always return a result.
17455
01b088bc
PA
174562015-02-10 Pedro Alves <palves@redhat.com>
17457
17458 * gdb.threads/signal-sigtrap.c: New file.
17459 * gdb.threads/signal-sigtrap.exp: New file.
17460
b05ec7a5
AT
174612015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
17462
17463 * gdb.trace/no-attach-trace.c: New file.
17464 * gdb.trace/no-attach-trace.exp: New file.
17465
a2c2acaf
MW
174662015-02-09 Mark Wielaard <mjw@redhat.com>
17467
17468 * gdb.dwarf2/atomic.c: New file.
17469 * gdb.dwarf2/atomic-type.exp: Likewise.
17470
31fd9caa
MM
174712015-02-09 Markus Metzger <markus.t.metzger@intel.com>
17472
17473 * gdb.btrace/buffer-size.exp: Update "info record" output.
17474 * gdb.btrace/delta.exp: Update "info record" output.
17475 * gdb.btrace/enable.exp: Update "info record" output.
17476 * gdb.btrace/finish.exp: Update "info record" output.
17477 * gdb.btrace/instruction_history.exp: Update "info record" output.
17478 * gdb.btrace/next.exp: Update "info record" output.
17479 * gdb.btrace/nexti.exp: Update "info record" output.
17480 * gdb.btrace/step.exp: Update "info record" output.
17481 * gdb.btrace/stepi.exp: Update "info record" output.
17482 * gdb.btrace/nohist.exp: Update "info record" output.
17483
d33501a5
MM
174842015-02-09 Markus Metzger <markus.t.metzger@intel.com>
17485
17486 * gdb.btrace/buffer-size: New.
17487
f4abbc16
MM
174882015-02-09 Markus Metzger <markus.t.metzger@intel.com>
17489
17490 * gdb.btrace/delta.exp: Update "info record" output.
17491 * gdb.btrace/enable.exp: Update "info record" output.
17492 * gdb.btrace/finish.exp: Update "info record" output.
17493 * gdb.btrace/instruction_history.exp: Update "info record" output.
17494 * gdb.btrace/next.exp: Update "info record" output.
17495 * gdb.btrace/nexti.exp: Update "info record" output.
17496 * gdb.btrace/step.exp: Update "info record" output.
17497 * gdb.btrace/stepi.exp: Update "info record" output.
17498 * gdb.btrace/nohist.exp: Update "info record" output.
17499
b9d61307
SM
175002015-02-06 Simon Marchi <simon.marchi@ericsson.com>
17501
17502 PR gdb/15678
17503 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
17504
e584fdbc
PA
175052015-02-06 Pedro Alves <palves@redhat.com>
17506
17507 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
17508 macro.
17509 (seconds_left, again): New globals.
17510 (main): Wait seconds_left in a 1-second sleep loop instead of
17511 sleeping 180 seconds. If 'again' is set, reset the seconds
17512 counter.
17513 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
17514 'again' in the inferior before detaching. Print the seconds left.
17515 (options): New global.
17516 (top level): Build program with -DTIMEOUT=$timeout.
17517
77f41761
PA
175182015-02-06 Pedro Alves <palves@redhat.com>
17519
17520 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
17521 determine how many seconds to pass to 'alarm'.
17522 * gdb.base/gdb-sigterm.exp (top level): Build program with
17523 -DTIMEOUT=$timeout.
17524 (do_test): Return success/failure indication. Add more verbose
17525 logging. Don't fail if 200 single steps are seen. Instead, fail
17526 when the test times out.
17527 (passes): New global.
17528 (top level): Break the testing loop if testing fails on any
17529 iteration. Use gdb_assert.
17530
b9394193
DB
175312015-02-04 Don Breazeal <donb@codesourcery.com>
17532
17533 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
17534 and initialize them.
17535 (ipc_cleanup): New function.
17536 (main): Don't declare shmid, semid, and msqid. Add a call to
17537 atexit so that we call ipc_cleanup on exit.
17538
42d9e528
PA
175392015-02-04 Pedro Alves <palves@redhat.com>
17540
17541 * boards/native-extended-gdbserver.exp: Remove any target variant
17542 specifications from the board name before clearing the isremote
17543 flag from board_info.
17544
ae6ae975
DE
175452015-01-31 Doug Evans <xdje42@gmail.com>
17546
17547 * gdb.base/maint.exp <maint print type argc>: Update expected output.
17548
cfb069a8
GB
175492015-01-31 Gary Benson <gbenson@redhat.com>
17550
17551 * gdb.base/completion.exp: Disable completion limiting for
17552 existing tests. Add new tests to check completion limiting.
17553 * gdb.linespec/ls-errs.exp: Disable completion limiting.
17554
5dd31d79
DE
175552015-01-31 Doug Evans <xdje42@gmail.com>
17556
17557 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
17558
9f050062
DE
175592015-01-31 Doug Evans <xdje42@gmail.com>
17560
17561 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
17562 entries. Duplicate file section script entries.
17563 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
17564 inlined entries. Add test for safe-path rejection.
17565 * gdb.python/py-section-script.c: Add duplicate inlined section script
17566 entries. Duplicate file section script entries.
17567 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
17568 inlined entries. Add test for safe-path rejection.
17569
df25ebbd
JB
175702015-01-29 Joel Brobecker <brobecker@adacore.com>
17571
17572 * gdb.ada/disc_arr_bound: New testcase.
17573
4a0ca9ec
JB
175742015-01-29 Joel Brobecker <brobecker@adacore.com>
17575
17576 * gdb.ada/mi_var_array: New testcase.
17577
3a8b707a
DE
175782015-01-27 Doug Evans <dje@google.com>
17579
17580 * gdb.python/py-objfile.exp: Add tests for objfile.username.
17581 Add test for objfile.filename, objfile.username after objfile
17582 has been unloaded.
17583
f8313f6e
JB
175842015-01-26 Joel Brobecker <brobecker@adacore.com>
17585
17586 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
17587 the second test to print the name attribute of value
17588 returned by the call to gdb.lookup_type, and adjust
17589 the expected output accordingly.
17590
37bc665e
MW
175912015-01-25 Mark Wielaard <mjw@redhat.com>
17592
17593 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
17594 * gdb.base/disp-step-fork.c: Include unistd.h.
17595 * gdb.base/siginfo-obj.c: Include stdio.h.
17596 * gdb.base/siginfo-thread.c: Likewise.
17597 * gdb.mi/non-stop.c: Include unistd.h.
17598 * gdb.mi/nsthrexec.c: Include stdio.h.
17599 * gdb.mi/pthreads.c: Include unistd.h.
17600 * gdb.modula2/unbounded1.c (main): Declare returns int.
17601 * gdb.reverse/consecutive-reverse.c: Likewise.
17602 * gdb.threads/create-fail.c: Include unistd.h.
17603 * gdb.threads/killed.c: Likewise.
17604 * gdb.threads/linux-dp.c: Likewise.
17605 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
17606 * gdb.threads/non-ldr-exc-2.c: Likewise.
17607 * gdb.threads/non-ldr-exc-3.c: Likewise.
17608 * gdb.threads/non-ldr-exc-4.c: Likewise.
17609 * gdb.threads/pthreads.c: Include unistd.h.
17610 (main): Declare returns int.
17611 * gdb.threads/tls-main.c (foo): New declaration.
17612 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
17613
f7e5394d
SM
176142015-01-23 Simon Marchi <simon.marchi@ericsson.com>
17615
17616 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
17617 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
17618
743649fd
MW
176192015-01-15 Mark Wielaard <mjw@redhat.com>
17620
17621 * gdb.base/noreturn-return.c: New file.
17622 * gdb.base/noreturn-return.exp: New file.
17623 * gdb.base/noreturn-finish.c: New file.
17624 * gdb.base/noreturn-finish.exp: New file.
17625
198297aa
PA
176262015-01-23 Pedro Alves <palves@redhat.com>
17627
17628 * gdb.threads/continue-pending-after-query.c: New file.
17629 * gdb.threads/continue-pending-after-query.exp: New file.
17630
717cf30c
AG
176312015-01-22 Anders Granlund <anders.granlund@ericsson.com>
17632 Simon Marchi <simon.marchi@ericsson.com>
17633
17634 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
17635 * gdb.base/valgrind-db-attach.exp: Same.
17636 * gdb.base/valgrind-infcall.exp: Same.
17637 * lib/mi-support.exp (default_mi_gdb_start): Same.
17638 * lib/prompt.exp (default_prompt_gdb_start): Same.
17639 * lib/gdb.exp (default_gdb_spawn): Same.
17640 (gdb_interact): New.
17641
17642
4b62a76e
JK
176432015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
17644
17645 * gdb.compile/compile.exp (pointer to jit function): New test.
17646
b4cdae6f
WW
176472015-01-17 Wei-cheng Wang <cole945@gmail.com>
17648
17649 * lib/gdb.exp (supports_process_record): Return true for
17650 powerpc*-*-linux*.
17651 (supports_reverse): Likewise.
17652
d221e7ef
DB
176532015-01-15 Don Breazeal <donb@codesourcery.com>
17654
17655 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
17656 instead of checking whether the target board is remote and
17657 use spawn_wait_for_attach instead of exec/sleep.
17658 * gdb.base/attach-twice.exp: Likewise.
17659
bafffb51
JB
176602015-01-15 Joel Brobecker <brobecker@adacore.com>
17661
17662 * gdb.ada/var_arr_attrs: New testcase.
17663
5589af0e
PA
176642015-01-14 Pedro Alves <palves@redhat.com>
17665 Joel Brobecker <brobecker@adacore.com>
17666
17667 PR gdb/17525
17668 * gdb.base/bp-cmds-execution-x-script.c: New file.
17669 * gdb.base/bp-cmds-execution-x-script.exp: New file.
17670 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
17671
6c400b59
PA
176722015-01-14 Pedro Alves <palves@redhat.com>
17673
17674 PR cli/17828
17675 * gdb.base/batch-preserve-term-settings.c: New file.
17676 * gdb.base/batch-preserve-term-settings.exp: New file.
17677
e02c96a7
DE
176782015-01-13 Doug Evans <dje@google.com>
17679
17680 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
17681 binary.
17682
576fd14c
JB
176832015-01-13 Joel Brobecker <brobecker@adacore.com>
17684
17685 * Makefile.in (clean mostlyclean): Do not delete *.py.
17686
04dccad0
JB
176872015-01-13 Joel Brobecker <brobecker@adacore.com>
17688
17689 * gdb.python/py-lookup-type.exp: New file.
17690
3d230f71
PA
176912015-01-12 Pedro Alves <palves@redhat.com>
17692
17693 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
17694 restore GDBFLAGS before returning.
17695
7e67715d
JK
176962015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
17697
17698 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
17699 is_amd64_regs_target and is_x86_like_target.
17700
f2e0d4b4
DE
177012015-01-11 Doug Evans <xdje42@gmail.com>
17702
17703 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
17704 is given without an explicit form.
17705 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
17706 attributes.
17707 * gdb.dwarf/corrupt.exp: Ditto.
17708 * gdb.dwarf2/enum-type.exp: Ditto.
17709 * gdb.trace/entry-values.exp: Ditto.
17710 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
17711
439250fb
DE
177122015-01-11 Doug Evans <xdje42@gmail.com>
17713
17714 PR gdb/15830
17715 * gdb.base/maint.exp: Remove references to "maint demangle".
17716 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
17717 Add tests for explicitly specifying language to demangle.
17718 * gdb.dlang/demangle.exp: Ditto.
17719
ede9f622
PA
177202015-01-09 Pedro Alves <palves@redhat.com>
17721
17722 * gdb.threads/non-stop-fair-events.c: New file.
17723 * gdb.threads/non-stop-fair-events.exp: New file.
17724
a7b796db
PA
177252015-01-09 Pedro Alves <palves@redhat.com>
17726
17727 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
17728 the global scope. Set a breakpoint after all threads are started
17729 rather than stepping over two source lines. Expect the prompt.
17730 * gdb.base/watch_thread_num.c (threads_started_barrier): New
17731 global.
17732 (NUM): Now 15.
17733 (main): Use threads_started_barrier to wait for all threads to
17734 start. Main thread no longer calls thread_function. Exit after
17735 180 seconds.
17736 (loop): New function.
17737 (thread_function): Wait on threads_started_barrier barrier. Call
17738 'loop' at each iteration.
17739 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
17740 threads have started, instead of hardcoding number of "next"
17741 steps. Use an access watchpoint instead of a write watchpoint.
17742
9665ffdd
PA
177432015-01-09 Pedro Alves <palves@redhat.com>
17744
17745 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
17746 (thread_func): Wait on barrier.
17747 (main): Wait for all threads to start before stopping GDB.
17748 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
17749 global.
17750 (thread1_func, thread2_func): Wait on barrier.
17751 (main): Wait for all threads to start before stopping GDB.
17752 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
17753 New global.
17754 (thread1_func, thread2_func): Wait on barrier.
17755 (main): Wait for all threads to start before stopping GDB.
17756
c945a99f
PA
177572015-01-09 Pedro Alves <palves@redhat.com>
17758
17759 * gdb.threads/attach-many-short-lived-threads.c: New file.
17760 * gdb.threads/attach-many-short-lived-threads.exp: New file.
17761
c1a747c1
PA
177622014-01-09 Pedro Alves <palves@redhat.com>
17763
17764 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
17765 instead of to thread 2.
17766 * gdb.threads/signal-command-multiple-signals-pending.c (main):
17767 Add barrier around each pthread_create call instead of around all
17768 calls.
17769 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
17770 Set a break on thread_function and have the child threads hit it
17771 one at at a time.
17772
60b3033e
PA
177732015-01-09 Pedro Alves <palves@redhat.com>
17774
17775 * lib/gdb.exp (can_spawn_for_attach): New procedure.
17776 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
17777 false.
17778 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
17779 checking whether the target board is remote.
17780 * gdb.multi/multi-attach.exp: Likewise.
17781 * gdb.python/py-sync-interp.exp: Likewise.
17782 * gdb.server/ext-attach.exp: Likewise.
17783 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
17784 tests that need to attach, instead of checking whether the target
17785 board is remote at the top of the file.
17786
acc018ac
YQ
177872015-01-08 Yao Qi <yao@codesourcery.com>
17788
17789 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
17790
50a18af8
JK
177912015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
17792
17793 Fix testcase compilation.
17794 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
17795
8503d6e1
JB
177962015-01-06 Joel Brobecker <brobecker@adacore.com>
17797
17798 * gdb.python/py-type.exp: Add a couple test about empty
17799 array creation, and negative-length array creation.
17800
cc73dbcc
DE
178012015-01-02 Doug Evans <xdje42@gmail.com>
17802
17803 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
17804
0300bbc7
DE
178052015-01-02 Doug Evans <dje@google.com>
17806
17807 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
17808
9d85a0ec
YQ
178092014-12-29 Yao Qi <yao@codesourcery.com>
17810
17811 * gdb.trace/entry-values.exp: Update comments. Rename variable
17812 bar_call_foo to returned_from_foo.
17813
87186c6a
MMN
178142014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
17815
17816 PR gdb/17394
17817 * gdb.linespec/break-asm-file.c: New file.
17818 * gdb.linespec/break-asm-file.exp: New file.
17819 * gdb.linespec/break-asm-file0.s: New file.
17820 * gdb.linespec/break-asm-file1.s: New file.
17821
1bab7383
YQ
178222014-12-18 Nigel Stephens <nigel@mips.com>
17823 Maciej W. Rozycki <macro@codesourcery.com>
17824
17825 * gdb.base/float.exp: Handle the new output from "info float" on
17826 MIPS targets.
17827
1bc1068a
JK
178282014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
17829
17830 Fix MinGW compilation.
17831 * gdb.compile/compile-ops.exp: Update untested message if
17832 !skip_compile_feature_tests.
17833 * gdb.compile/compile-setjmp.exp: Likewise.
17834 * gdb.compile/compile-tls.exp: Likewise.
17835 * gdb.compile/compile.exp: Likewise.
17836 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
17837 supported on this host".
17838
b6615d10
DE
178392014-12-16 Doug Evans <xdje42@gmail.com>
17840
17841 * boards/stabs.exp: New file.
17842
25dda427
AA
178432014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
17844
17845 * gdb.base/completion.exp: Adjust to format changes of "maint
17846 print user-registers".
17847
bf330350
CU
178482014-12-16 Catalin Udma <catalin.udma@freescale.com>
17849
17850 PR server/17457
17851 * gdb.arch/aarch64-fp.c: New file.
17852 * gdb.arch/aarch64-fp.exp: New file.
17853
395cf596
SDJ
178542014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
17855
17856 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
17857 r210637, r210913, r211666, r215400, r215817).
17858
17859 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
17860 * dg-extract-results.py: New file.
17861 * dg-extract-results.sh: Use it if the environment seems
17862 suitable.
17863
17864 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
17865
17866 * dg-extract-results.py (parse_run): Handle warnings that
17867 are printed before a test harness is run.
17868
17869 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
17870
17871 * dg-extract-results.py (Named): Remove __cmp__ method.
17872 (output_variation): Use a key to sort variation.harnesses.
17873
17874 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
17875
17876 * dg-extract-results.py: For Python 3, force sys.stdout to
17877 handle surrogate escape sequences.
17878 (safe_open): New function.
17879 (output_segment, main): Use it.
17880
17881 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
17882
17883 * dg-extract-results.py (Prog.result_re): Include options
17884 in test name.
17885
17886 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
17887
17888 * dg-extract-results.py (output_variation): Always sort if
17889 do_sum.
17890
e882ef3c
SM
178912014-12-15 Simon Marchi <simon.marchi@ericsson.com>
17892
17893 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
17894 as long as we get pagination notifications.
17895
4992aa20
JM
178962014-12-15 Jason Merrill <jason@redhat.com>
17897
17898 * Makefile.in (check-gdb.%): Restore.
17899 * README: Mention it.
17900
c1b5a1a6
JB
179012014-12-13 Joel Brobecker <brobecker@adacore.com>
17902
17903 * gdb.ada/str_uninit: New testcase.
17904
5537b577
JK
179052014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
17906
17907 PR symtab/17642
17908 * gdb.base/vla-stub-define.c: New file.
17909 * gdb.base/vla-stub.c: New file.
17910 * gdb.base/vla-stub.exp: New file.
17911
bb2ec1b3
TT
179122014-12-12 Phil Muldoon <pmuldoon@redhat.com>
17913 Jan Kratochvil <jan.kratochvil@redhat.com>
17914 Tom Tromey <tromey@redhat.com>
17915
17916 * configure.ac: Add gdb.compile/.
17917 * configure: Regenerate.
17918 * gdb.compile/Makefile.in: New file.
17919 * gdb.compile/compile-ops.exp: New file.
17920 * gdb.compile/compile-ops.c: New file.
17921 * gdb.compile/compile-tls.c: New file.
17922 * gdb.compile/compile-tls.exp: New file.
17923 * gdb.compile/compile-constvar.S: New file.
17924 * gdb.compile/compile-constvar.c: New file.
17925 * gdb.compile/compile-mod.c: New file.
17926 * gdb.compile/compile-nodebug.c: New file.
17927 * gdb.compile/compile-setjmp-mod.c: New file.
17928 * gdb.compile/compile-setjmp.c: New file.
17929 * gdb.compile/compile-setjmp.exp: New file.
17930 * gdb.compile/compile-shlib.c: New file.
17931 * gdb.compile/compile.c: New file.
17932 * gdb.compile/compile.exp: New file.
17933 * lib/gdb.exp (skip_compile_feature_tests): New proc.
17934
4ff709eb
TT
179352014-12-12 Tom Tromey <tromey@redhat.com>
17936
17937 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
17938 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
17939
6dddd6a5
DE
179402014-12-12 Doug Evans <dje@google.com>
17941
17942 * lib/gdb-python.exp (get_python_valueof): New function.
17943 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
17944
71c24708
AA
179452014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17946
17947 * gdb.base/completion.exp: Add test for completion of "info
17948 registers ".
17949
3e29f34a
MR
179502014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
17951
17952 * gdb.base/func-ptrs.c: New file.
17953 * gdb.base/func-ptrs.exp: New file.
17954
fc126975
SM
179552014-12-10 Simon Marchi <simon.marchi@ericsson.com>
17956
17957 PR breakpoints/17012
17958 * gdb.base/dprintf-detach.c: New file.
17959 * gdb.base/dprintf-detach.exp: New file.
17960
0a46d518
SM
179612014-12-10 Simon Marchi <simon.marchi@ericsson.com>
17962
17963 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
17964 * lib/gdb.exp (target_is_gdbserver): New procedure.
17965
a0be3e44
DE
179662014-12-08 Doug Evans <dje@google.com>
17967
17968 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
17969
df1b803a
YQ
179702014-12-05 Yao Qi <yao@codesourcery.com>
17971
17972 * gdb.guile/scm-error.exp: Remove the third argument to
17973 gdb_remote_download.
17974 * gdb.guile/scm-frame-args.exp: Likewise.
17975 * gdb.guile/scm-section-script.exp: Likewise.
17976
ddb9f679
YQ
179772014-12-05 Yao Qi <yao@codesourcery.com>
17978
17979 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
17980
86e4ed39
DE
179812014-12-04 Doug Evans <dje@google.com>
17982
17983 * gdb.python/py-objfile.exp: Add tests for
17984 objfile.add_separate_debug_file.
17985
7c50a931
DE
179862014-12-04 Doug Evans <dje@google.com>
17987
17988 * lib/gdb.exp (get_build_id): New function.
17989 (build_id_debug_filename_get): Rewrite to use it.
17990 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
17991
621661e3
MR
179922014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
17993
17994 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
17995 `method(long)', not just 0x0.
17996 * gdb.cp/nsalias.exp: Align code labels to 4.
17997 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
17998 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
17999 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
18000 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
18001 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
18002 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
18003
29f0c3b7
DE
180042014-12-02 Doug Evans <dje@google.com>
18005
e1e061e7 18006 PR symtab/17602
29f0c3b7 18007 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 18008 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
18009 * gdb.cp/anon-ns.exp: Update.
18010
162078c8
NB
180112014-12-02 Nick Bull <nicholaspbull@gmail.com>
18012
18013 * gdb.python/py-events.py (inferior_call_handler): New.
18014 (register_changed_handler, memory_changed_handler): New.
18015 (test_events.invoke): Register new handlers.
18016 * gdb.python/py-events.exp: Add tests for inferior call,
18017 memory_changed and register_changed events.
18018
fdb09caf
AA
180192014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
18020
18021 * gdb.base/execl-update-breakpoints.exp: Specify the link address
18022 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
18023 if the linker doesn't understand this.
18024
55cfb2c4
SM
180252014-12-01 Simon Marchi <simon.marchi@ericsson.com>
18026
18027 * gdb.python/python.exp: Change expected reply to help().
18028
9e8cd6df
YQ
180292014-12-01 Yao Qi <yao@codesourcery.com>
18030
18031 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
18032 AC_CONFIG_SUBDIRS(gdb.gdbtk).
18033 * configure: Re-generated.
18034
6c659fc2
SC
180352014-11-28 Siva Chandra Reddy <sivachandra@google.com>
18036
18037 * gdb.cp/chained-calls.cc: New file.
18038 * gdb.cp/chained-calls.exp: New file.
18039 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
18040
d7fc3181
SM
180412014-11-28 Simon Marchi <simon.marchi@ericsson.com>
18042
18043 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
18044 * gdb.dwarf2/symtab-producer.exp: Same.
18045 * gdb.gdb/python-interrupts.exp: Same.
18046 * gdb.gdb/python-selftest.exp: Same.
18047 * gdb.python/py-linetable.exp: Same.
18048 * gdb.python/py-type.exp: Same.
18049 * gdb.python/py-value-cc.exp: Same.
18050 * gdb.python/py-value.exp: Same.
18051
10e79639
YQ
180522014-11-28 Yao Qi <yao@codesourcery.com>
18053
18054 * gdb.base/break-probes.exp: Match library name prefixed with
18055 sysroot.
18056
f28a0564
SM
180572014-11-27 Simon Marchi <simon.marchi@ericsson.com>
18058
18059 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
18060 test expected output. Add parentheses for the call to print.
18061 Remove L suffix from integers.
18062
3fe1ce1d
DE
180632014-11-26 Doug Evans <dje@google.com>
18064
18065 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
18066
84429e27
YQ
180672014-11-22 Yao Qi <yao@codesourcery.com>
18068
18069 * gdb.trace/entry-values.c: Remove asms.
18070 (foo): Add foo_label.
18071 (bar): Add bar_label.
18072 * gdb.trace/entry-values.exp: Remove code computing foo's
18073 length and bar's length.
18074 (Dwarf::assemble): Invoke function_range for bar and use
18075 MACRO_AT_func for foo.
18076
26741859
YQ
180772014-11-22 Yao Qi <yao@codesourcery.com>
18078
18079 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
18080 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
18081 Use .Lgcc43_procstart instead of gcc43.
18082
45e44d27
JB
180832014-11-21 Joel Brobecker <brobecker@adacore.com>
18084
18085 * gdb.ada/n_arr_bound: New testcase.
18086
458c8db8
SDJ
180872014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
18088
18089 PR breakpoints/10737
18090 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
18091 test_catch_syscall_multi_arch.
18092 (test_catch_syscall_multi_arch): New function.
18093
43f3e411
DE
180942014-11-20 Doug Evans <xdje42@gmail.com>
18095
18096 * gdb.base/maint.exp: Update expected output.
18097
0d7b2549
AA
180982014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
18099
18100 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
18101 4-byte instruction on S390.
18102
8908fca5
JB
181032014-11-19 Joel Brobecker <brobecker@adacore.com>
18104
18105 * gdb.ada/arr_arr: New testcase.
18106
4a46959e
JB
181072014-11-19 Joel Brobecker <brobecker@adacore.com>
18108
18109 * gdb.ada/pkd_arr_elem: New Testcase.
18110
470e2f4e
LM
181112014-11-18 Luis Machado <lgustavo@codesourcery.com>
18112
18113 * gdb.reverse/break-precsave: Expect completion message for
18114 core file reads.
18115 * gdb.reverse/consecutive-precsave.exp: Likewise.
18116 * gdb.reverse/finish-precsave.exp: Likewise.
18117 * gdb.reverse/i386-precsave.exp: Likewise.
18118 * gdb.reverse/machinestate-precsave.exp: Likewise.
18119 * gdb.reverse/sigall-precsave.exp: Likewise.
18120 * gdb.reverse/solib-precsave.exp: Likewise.
18121 * gdb.reverse/step-precsave.exp: Likewise.
18122 * gdb.reverse/until-precsave.exp: Likewise.
18123 * gdb.reverse/watch-precsave.exp: Likewise.
18124
a267f3ad
AA
181252014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
18126
18127 * gdb.base/bp-permanent.c: Include unistd.h.
18128 * gdb.python/py-framefilter-mi.c (main): Add return type.
18129 * gdb.python/py-framefilter.c (main): Likewise.
18130 * gdb.trace/actions-changed.c (main): Likewise.
18131
12084a9a
AA
181322014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
18133
18134 * gdb.mi/until.c: Add eye-catchers.
18135 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
18136 line numbers.
18137
dc7e1a77
AA
181382014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
18139
18140 * gdb.base/condbreak.exp: Drop references to removed non-prototype
18141 function header variants in break1.c.
18142 * gdb.base/ena-dis-br.exp: Likewise.
18143 * gdb.base/hbreak2.exp: Likewise.
18144 * gdb.reverse/until-precsave.exp: Drop references to removed
18145 non-prototype function header variants in ur1.c.
18146 * gdb.reverse/until-reverse.exp: Likewise.
18147
41c77605
PM
181482014-11-17 Petr Machata <pmachata@redhat.com>
18149
18150 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
18151 ${_cu_offset_size} bytes abbrev offset.
18152
34248c3a
DE
181532014-11-15 Doug Evans <xdje42@gmail.com>
18154
18155 PR symtab/17559
18156 * gdb.base/line-symtabs.exp: New file.
18157 * gdb.base/line-symtabs.c: New file.
18158 * gdb.base/line-symtabs.h: New file.
18159
646da059
YQ
181602014-11-14 Yao Qi <yao@codesourcery.com>
18161
18162 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
18163 (func): Add label func_label.
18164 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
18165 Replace low_pc and high_pc with MACRO_AT_range.
18166 Replace name, low_pc and high_pc with MACRO_AT_func.
18167
9301ebe6
YQ
181682014-11-14 Yao Qi <yao@codesourcery.com>
18169
18170 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
18171 Replace name, low_pc and high_pc with MACRO_AT_func.
18172
f166b542
YQ
181732014-11-14 Yao Qi <yao@codesourcery.com>
18174
18175 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
18176 produce debug information.
18177 * gdb.dwarf2/implptr-optimized-out.S: Removed.
18178
0f6e71e3
YQ
181792014-11-14 Yao Qi <yao@codesourcery.com>
18180
18181 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
18182 object and get function length.
18183 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
18184 with MACRO_AT_func.
18185 (top-level): Replace gdb_compile and clean_restart with
18186 prepare_for_testing.
18187 * gdb.dwarf2/main.c (main): Add label main_label.
18188
876c4df9
YQ
181892014-11-14 Yao Qi <yao@codesourcery.com>
18190
18191 * lib/dwarf.exp (function_range): New procedure.
18192 (Dwarf::_handle_macro_at_func): New procedure.
18193 (Dwarf::_handle_macro_at_range): New procedure.
18194 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
18195
02ad9cf1
YQ
181962014-11-14 Yao Qi <yao@codesourcery.com>
18197
18198 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
18199 (_handle_attribute): New procedure.
18200
a59add0c
AA
182012014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18202
18203 * gdb.ada/cond_lang/foo.c (callme): Add return type.
18204 * gdb.base/call-sc.c (zed): Likewise.
18205 * gdb.base/checkpoint.c (main): Likewise.
18206 * gdb.base/dump.c (main): Likewise.
18207 * gdb.base/gcore.c (main): Likewise.
18208 * gdb.base/huge.c (main): Likewise.
18209 * gdb.base/multi-forks.c (main): Likewise.
18210 * gdb.base/pr10179-a.c (main): Likewise.
18211 * gdb.base/savedregs.c (main): Likewise.
18212 * gdb.base/sigaltstack.c (main): Likewise.
18213 * gdb.base/siginfo.c (main): Likewise.
18214 * gdb.base/structs.c (zed): Likewise.
18215 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
18216 * gdb.mi/mi-syn-frame.c (main): Likewise.
18217 * gdb.mi/until.c (foo, main): Likewise.
18218 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
18219 * gdb.base/solib-weak.c (foo): Declare.
18220 * gdb.base/attach-twice.c: Include stdio.h.
18221 * gdb.base/weaklib1.c: Likewise.
18222 * gdb.base/weaklib2.c: Likewise.
18223 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
18224 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
18225 unistd.h.
18226 * gdb.base/attach-pie-misread.c: Include stdlib.h.
18227 * gdb.mi/mi-exit-code.c: Likewise.
18228 * gdb.base/break-interp-lib.c: Include string.h.
18229 * gdb.base/coremaker.c: Likewise.
18230 * gdb.base/testenv.c: Likewise.
18231 * gdb.python/py-finish-breakpoint.c: Likewise.
18232 * gdb.base/inferior-died.c: Include sys/wait.h.
18233 * gdb.base/fileio.c: Include time.h.
18234 * gdb.base/async-shell.c: Include unistd.h.
18235 * gdb.base/dprintf-non-stop.c: Likewise.
18236 * gdb.base/info-os.c: Likewise.
18237 * gdb.mi/mi-console.c: Likewise.
18238 * gdb.mi/watch-nonstop.c: Likewise.
18239 * gdb.python/py-events.c: Likewise.
18240 * gdb.base/async.c (baz): Move up before its invocation.
18241 * gdb.base/code_elim2.c (my_global_func): Likewise.
18242 * gdb.base/skip-solib-lib.c (multiply): Likewise.
18243 * gdb.base/advance.c (func2): Likewise.
18244
3b5d5997
AA
182452014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18246
18247 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
18248 variant.
18249 * gdb.base/annota3.c: Likewise.
18250 * gdb.base/async.c: Likewise.
18251 * gdb.base/average.c: Likewise.
18252 * gdb.base/call-ar-st.c: Likewise.
18253 * gdb.base/call-rt-st.c: Likewise.
18254 * gdb.base/call-sc.c: Likewise.
18255 * gdb.base/call-strs.c: Likewise.
18256 * gdb.base/ending-run.c: Likewise.
18257 * gdb.base/execd-prog.c: Likewise.
18258 * gdb.base/exprs.c: Likewise.
18259 * gdb.base/foll-exec.c: Likewise.
18260 * gdb.base/foll-fork.c: Likewise.
18261 * gdb.base/foll-vfork.c: Likewise.
18262 * gdb.base/funcargs.c: Likewise.
18263 * gdb.base/gcore.c: Likewise.
18264 * gdb.base/jump.c: Likewise.
18265 * gdb.base/langs0.c: Likewise.
18266 * gdb.base/langs1.c: Likewise.
18267 * gdb.base/langs2.c: Likewise.
18268 * gdb.base/mips_pro.c: Likewise.
18269 * gdb.base/nodebug.c: Likewise.
18270 * gdb.base/opaque0.c: Likewise.
18271 * gdb.base/opaque1.c: Likewise.
18272 * gdb.base/recurse.c: Likewise.
18273 * gdb.base/run.c: Likewise.
18274 * gdb.base/scope0.c: Likewise.
18275 * gdb.base/scope1.c: Likewise.
18276 * gdb.base/setshow.c: Likewise.
18277 * gdb.base/setvar.c: Likewise.
18278 * gdb.base/shmain.c: Likewise.
18279 * gdb.base/shr1.c: Likewise.
18280 * gdb.base/shr2.c: Likewise.
18281 * gdb.base/sigall.c: Likewise.
18282 * gdb.base/signals.c: Likewise.
18283 * gdb.base/so-indr-cl.c: Likewise.
18284 * gdb.base/solib2.c: Likewise.
18285 * gdb.base/structs.c: Likewise.
18286 * gdb.base/sum.c: Likewise.
18287 * gdb.base/vforked-prog.c: Likewise.
18288 * gdb.base/watchpoint.c: Likewise.
18289 * gdb.reverse/shr2.c: Likewise.
18290 * gdb.reverse/until-reverse.c: Likewise.
18291 * gdb.reverse/ur1.c: Likewise.
18292 * gdb.reverse/watch-reverse.c: Likewise.
18293
066a77c5
AA
182942014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18295
18296 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
18297 variant.
18298 * gdb.base/sepdebug.exp: Drop references to removed code.
18299
4f204ea5
AA
183002014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18301
18302 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
18303 variant. Preserve original line numbering.
18304 * gdb.base/list1.c: Likewise.
18305
3b377a3a
AA
183062014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18307
18308 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
18309 variant.
18310 * gdb.base/break1.c: Likewise.
18311 * gdb.base/break.exp: Drop references to removed code.
18312
e444df73
AA
183132014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18314
18315 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
18316 variant.
18317
8008f2a7
AA
183182014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18319
18320 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
18321
a5a06887
AA
183222014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18323
18324 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
18325 logic into perform_all_tests() and invoke it with and without
18326 function header prototypes.
18327 (do_function_calls): Remove conditional XFAIL for PR 5318.
18328 (rerun_and_prepare): Remove duplicate code.
18329 (perform_all_tests): New. Main logic moved here.
18330
44dba9b9
AA
183312014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18332
18333 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
18334 code guarded by #ifdef NO_PROTOTYPES.
18335 (t_double_many_args): Likewise.
18336 (DEF_FUNC_MANY_ARGS_1): Likewise.
18337 (DEF_FUNC_VALUES_1): Likewise.
18338 (t_structs_ldc): Renamed from t_structs_fc in conditional code
18339 guarded by #ifdef PROTOTYPES.
18340
d1fbcd56
AA
183412014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18342
18343 * gdb.mi/mi-console.c: Add eye-catcher.
18344 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
18345 instead of literal line number.
18346
b0e59b8f
AA
183472014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18348
18349 * gdb.base/shr2.c: Add eye-catcher.
18350 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
18351 line number.
18352
78f98cca
AA
183532014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18354
18355 * gdb.base/jump.c: Add eye-catchers.
18356 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
18357 numbers.
18358
58fa2af0
AA
183592014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18360
18361 * gdb.base/execd-prog.c: Add eye-catchers.
18362 * gdb.base/foll-exec.c: Likewise.
18363 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
18364 line numbers.
18365
04e5059b
AA
183662014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18367
18368 * gdb.base/ending-run.c: Add eye-catchers.
18369 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
18370 literal line numbers.
18371
dbfdb174
AA
183722014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18373
18374 * gdb.base/call-rt-st.c: Add eye-catchers.
18375 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
18376 literal line numbers.
18377
888a2ade
AA
183782014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18379
18380 * gdb.base/call-ar-st.c: Add eye-catchers.
18381 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
18382 literal line numbers.
18383
6acc2dde
AA
183842014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18385
18386 * gdb.base/average.c: Add eye-catchers.
18387 * gdb.base/sum.c: Likewise.
18388 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
18389 regexps dynamically.
18390
9ecfcd1d
AA
183912014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18392
18393 * gdb.base/solib1.c: Add eye-catchers.
18394 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
18395 literal line numbers.
18396
78708b7c
PA
183972014-11-12 Pedro Alves <palves@redhat.com>
18398
18399 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
18400 leader has exited.
18401
af48d08f
PA
184022014-11-12 Pedro Alves <palves@redhat.com>
18403
18404 * gdb.arch/i386-bp_permanent.c: New file.
18405 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
18406 (srcfile): Set to i386-bp_permanent.c.
18407 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
18408 that stepi does not execute the 'leave' instruction, instead of
18409 testing it does execute.
18410 * gdb.base/bp-permanent.c: New file.
18411 * gdb.base/bp-permanent.exp: New file.
18412
af3768e9
DE
184132014-11-10 Doug Evans <xdje42@gmail.com>
18414
18415 PR symtab/17564
18416 * gdb.base/symtab-search-order.exp: New file.
18417 * gdb.base/symtab-search-order.c: New file.
18418 * gdb.base/symtab-search-order-1.c: New file.
18419 * gdb.base/symtab-search-order-shlib-1.c: New file.
18420
9de00a4a
PA
184212014-11-07 Pedro Alves <palves@redhat.com>
18422
18423 PR gdb/17511
18424 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
18425 i?86-*-linux*.
18426
e0f52461
SC
184272014-11-03 Siva Chandra Reddy <sivachandra@google.com>
18428
18429 PR c++/17494
18430 * gdb.cp/pr17494.cc: New file.
18431 * gdb.cp/pr17494.exp: New file.
18432
6ce8c980
YQ
184332014-11-02 Yao Qi <yao@codesourcery.com>
18434
18435 * gdb.python/python.exp: Get working directory and match the
18436 output of "set extended-prompt \\w " with it.
18437
02be9a71
DE
184382014-10-30 Doug Evans <dje@google.com>
18439
18440 * gdb.python/py-objfile.exp: Add tests for setting random attributes
18441 in objfiles.
18442 * gdb.python/py-progspace.exp: Add tests for setting random attributes
18443 in progspaces.
18444
3bdff46b
LM
184452014-10-30 Janis Johnson <janisjo@codesourcery.com>
18446
18447 * gdb.base/fullpath-expand.exp: Skip for a remote host.
18448 * gdb.base/realname-expand.exp: Likewise.
18449 * gdb.linespec/macro-relative.exp: Likewise.
18450
ab917dfb
PA
184512014-10-29 Pedro Alves <palves@redhat.com>
18452
18453 PR gdb/17408
18454 * gdb.threads/schedlock.c (some_function): New function.
18455 (call_function): New global.
18456 (MAYBE_CALL_SOME_FUNCTION): New macro.
18457 (thread_function): Call it.
18458 * gdb.threads/schedlock.exp (get_args): Add description parameter,
18459 and use it instead of a global counter. Adjust all callers.
18460 (get_current_thread): Use "find current thread" for test message
18461 here rather than having all callers pass down the same string.
18462 (goto_loop): New procedure, factored out from ...
18463 (my_continue): ... this.
18464 (step_ten_loops): Change parameter from test message to command to
18465 use. Adjust.
18466 (list_count): Delete global.
18467 (check_result): New procedure, factored out from duplicate top
18468 level code.
18469 (continue tests): Wrap in with_test_prefix.
18470 (test_step): New procedure, factored out from duplicate top level
18471 code.
18472 (top level): Test "step" in combination with all scheduler-locking
18473 modes. Test "next" in combination with all scheduler-locking
18474 modes, and in combination with stepping over a function call or
18475 not.
18476 * gdb.threads/next-bp-other-thread.c: New file.
18477 * gdb.threads/next-bp-other-thread.exp: New file.
18478
d3d4baed
PA
184792014-10-29 Pedro Alves <palves@redhat.com>
18480
18481 PR python/17372
18482 * gdb.python/python.exp: Test a multi-line command that spawns
18483 interactive Python.
18484 * gdb.base/multi-line-starts-subshell.exp: New file.
18485
563e8d85
YQ
184862014-10-29 Yao Qi <yao@codesourcery.com>
18487
18488 * gdb.base/fileio.exp: Make directories on host.
18489
0ea4d52e
YQ
184902014-10-29 Yao Qi <yao@codesourcery.com>
18491
18492 * gdb.base/fileio.c (test_write): Close the file.
18493
7f5ef605
PA
184942014-10-28 Pedro Alves <palves@redhat.com>
18495
18496 PR gdb/12623
18497 * gdb.base/sigstep.c (no_handler): New global.
18498 (main): If 'no_handler is true, set the signal handlers to
18499 SIG_IGN.
18500 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
18501 with_sw_watch and no_handler parameters. Handle them.
18502 (top level) <stepping over handler when stopped at a breakpoint
18503 test>: Add a test axis for testing with a software watchpoint, and
18504 another for testing with the signal handler set to SIG_IGN.
18505 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
18506 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
18507
abbdbd03
PA
185082014-10-28 Pedro Alves <palves@redhat.com>
18509
18510 PR gdb/17511
18511 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
18512 * gdb.base/sigstep.exp (other_handler_location): New global.
18513 (advance): Support stepping into the signal handler, and running
18514 commands while in the handler.
18515 (in_handler_map): New global.
18516 (top level): In the advance test, add combinations for getting
18517 into the handler with stepping commands, and for running commands
18518 in the handler. Add comment descripting the advancei tests.
18519
1df4399f
PA
185202014-10-28 Pedro Alves <palves@redhat.com>
18521
18522 * gdb.base/sigstep.exp: Use build_executable instead of
18523 prepare_for_testing.
18524 (top level): Move code that starts GDB, runs to main and creates a
18525 display to ...
18526 (restart): ... this new procedure.
18527 (top level): Move backtrace from signal handler test to ...
18528 (validate_backtrace): ... this new procedure.
18529 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
18530 with_test_prefix. Always restart GDB.
18531 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
18532 with_test_prefix. Always restart GDB. No need to delete
18533 breakpoints after the test.
18534 (test_skip_handler): Remove prefix parameter.
18535 (skip_over_handler, breakpoint_to_handler)
18536 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
18537 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
18538 restart GDB. No need to delete breakpoints after the test.
18539 (top level): Use foreach to call the test procedures with
18540 different commands.
18541
a5b6e449
PA
185422014-10-28 Pedro Alves <palves@redhat.com>
18543
18544 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
18545 instead of GNATS numbers.
18546 * gdb.base/sigbpt.exp: Likewise.
18547 * gdb.base/siginfo.exp: Likewise.
18548 * gdb.base/sigstep.exp: Likewise.
18549
e5f8a7cc
PA
185502014-10-27 Pedro Alves <palves@redhat.com>
18551
18552 * gdb.base/sigstep.c (dummy): New global.
18553 (main): Issue a couple writes to the new global.
18554 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
18555 procedures.
18556 (skip_over_handler): Use test_skip_handler.
18557 (top level): Call skip_over_handler for stepi and nexti too.
18558 (breakpoint_over_handler): Use test_skip_handler.
18559 (top level): Call breakpoint_over_handler for stepi and nexti too.
18560
763905a3
YQ
185612014-10-27 Yao Qi <yao@codesourcery.com>
18562
18563 * gdb.trace/tfile.c (adjust_function_address)
18564 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
18565 function descriptor.
18566
6f259a23
DB
185672014-10-24 Don Breazeal <donb@codesourcery.com>
18568
18569 * gdb.base/foll-fork.exp (test_follow_fork,
18570 catch_fork_child_follow): Check for updated fork messages emitted
18571 from infrun.c.
18572 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
18573 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
18574 vfork_and_exec_child_follow_through_step): Check for updated vfork
18575 messages emitted from infrun.c.
18576
09dd9a69
PA
185772014-10-24 Pedro Alves <palves@redhat.com>
18578
18579 * gdb.base/corefile.exp: Remove references to ultrix.
18580 * gdb.base/interrupt.exp: Likewise.
18581 * gdb.base/whatis.exp: Likewise.
18582 * gdb.gdb/selftest.exp: Likewise.
18583 * gdb.threads/manythreads.exp: Likewise.
18584 * gdb.threads/print-threads.exp: Likewise.
18585 * gdb.threads/pthreads.exp:: Likewise.
18586 * gdb.threads/schedlock.exp: Likewise.
18587
3433cfa5
SC
185882014-10-24 Siva Chandra Reddy <sivachandra@google.com>
18589
18590 * gdb.cp/non-trivial-retval.cc: Add a test case.
18591 * gdb.cp/non-trivial-retval.exp: Add a test.
18592
092f880b
YQ
185932014-10-20 Yao Qi <yao@codesourcery.com>
18594
18595 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
18596 * gdb.python/py-objfile-script-gdb.py: New file.
18597 * gdb.python/py-objfile-script.exp: Update reference to
18598 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
18599 of remote_download. Remove the dest file.
18600
acbdb7f3
YQ
186012014-10-20 Yao Qi <yao@codesourcery.com>
18602
18603 * gdb.base/checkpoint.exp: Don't remove file copied on host.
18604 * gdb.base/step-line.exp: Likewise.
18605 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
18606 * gdb.dwarf2/dw2-basic.exp: Likewise.
18607 * gdb.dwarf2/dw2-compressed.exp: Likewise.
18608 * gdb.dwarf2/dw2-filename.exp: Likewise.
18609 * gdb.dwarf2/dw2-intercu.exp: Likewise.
18610 * gdb.dwarf2/dw2-intermix.exp: Likewise.
18611 * gdb.dwarf2/dw2-producer.exp: Likewise.
18612 * gdb.dwarf2/mac-fileno.exp: Likewise.
18613 * gdb.python/py-frame-args.exp: Likewise.
18614 * gdb.python/py-framefilter.exp: Likewise.
18615 * gdb.python/py-mi.exp: Likewise.
18616 * gdb.python/py-objfile-script.exp: Likewise
18617 * gdb.python/py-pp-integral.exp: Likewise.
18618 * gdb.python/py-pp-re-notag.exp: Likewise.
18619 * gdb.python/py-prettyprint.exp: Likewise.
18620 * gdb.python/py-section-script.exp: Likewise.
18621 * gdb.python/py-typeprint.exp: Likewise.
18622 * gdb.python/py-xmethods.exp: Likewise.
18623 * gdb.stabs/weird.exp: Likewise.
18624 * gdb.xml/tdesc-regs.exp: Likewise.
18625
bd286a29
KCY
186262014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
18627
18628 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
18629 (out_cu): Use addr_len for the size of addresses.
18630 (out_line): Likewise. Size DW_LNE_set_address instruction
18631 according to addr_len.
18632 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
18633 (FUNC): Add START_INSNS to definition.
18634
673dc4a0
YQ
186352014-10-18 Yao Qi <yao@codesourcery.com>
18636
18637 * gdb.base/argv0-symlink.exp: Check argv[0] value if
18638 gdb_has_argv0 return true.
18639 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
18640 check [target_info exists noargs], check [gdb_has_argv0]
18641 instead.
18642 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
18643 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
18644 procedures.
18645
4ffbba72
DE
186462014-10-17 Doug Evans <dje@google.com>
18647
18648 * gdb.python/py-events.exp: Update expected output for clear_objfiles
18649 event.
18650 * gdb.python/py-events.py: Add clear_objfiles event.
18651
d096d8c1
DE
186522014-10-17 Doug Evans <dje@google.com>
18653
18654 * gdb.python/py-objfile.exp: Test progspace attribute.
18655
a80db015
LM
186562014-10-17 Luis Machado <lgustavo@codesourcery.com>
18657
18658 * gdb.guile/scm-breakpoint.exp: Do not assume any
18659 directory separators when matching source file paths.
18660 * gdb.python/py-breakpoint.exp: Likewise.
18661 * gdb.reverse/break-precsave.exp: Likewise.
18662 * gdb.reverse/break-reverse.exp: Likewise.
18663 * gdb.reverse/consecutive-precsave.exp: Likewise.
18664 * gdb.reverse/finish-precsave.exp: Likewise.
18665 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
18666 * gdb.reverse/finish-reverse.exp: Likewise.
18667 * gdb.reverse/i386-precsave.exp: Likewise.
18668 * gdb.reverse/i387-env-reverse.exp: Likewise.
18669 * gdb.reverse/i387-stack-reverse.exp: Likewise.
18670 * gdb.reverse/machinestate-precsave.exp: Likewise.
18671 * gdb.reverse/machinestate.exp: Likewise.
18672 * gdb.reverse/sigall-precsave.exp: Likewise.
18673 * gdb.reverse/solib-precsave.exp: Likewise.
18674 * gdb.reverse/step-precsave.exp: Likewise.
18675 * gdb.reverse/until-precsave.exp: Likewise.
18676 * gdb.reverse/watch-precsave.exp: Likewise.
18677 * gdb.reverse/watch-reverse.exp: Likewise.
18678
b22089ab
YQ
186792014-10-17 Yao Qi <yao@codesourcery.com>
18680
18681 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
18682 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
18683
6c4486e6
PA
186842014-10-17 Pedro Alves <palves@redhat.com>
18685
18686 PR gdb/17471
18687 * gdb.base/bg-execution-repeat.c: New file.
18688 * gdb.base/bg-execution-repeat.exp: New file.
18689
0ff33695
PA
186902014-10-17 Pedro Alves <palves@redhat.com>
18691
18692 PR gdb/17300
18693 * gdb.base/continue-all-already-running.c: New file.
18694 * gdb.base/continue-all-already-running.exp: New file.
18695
6fdebc3d
PA
186962014-10-17 Pedro Alves <palves@redhat.com>
18697
18698 PR gdb/17472
18699 * gdb.base/annota-input-while-running.c: New file.
18700 * gdb.base/annota-input-while-running.exp: New file.
18701
32a8097b
PA
187022014-10-17 Pedro Alves <palves@redhat.com>
18703
18704 * gdb.base/callfuncs.exp: emove references to osf.
18705 * gdb.base/sigall.exp: Likewise.
18706 * gdb.gdb/selftest.exp: Likewise.
18707 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
18708 * gdb.mi/non-stop.c: Likewise.
18709 * gdb.mi/pthreads.c: Likewise.
18710 * gdb.reverse/sigall-precsave.exp: Likewise.
18711 * gdb.reverse/sigall-reverse.exp: Likewise.
18712 * gdb.threads/pthreads.c: Likewise.
18713 * gdb.threads/pthreads.exp: Likewise.
18714
7a3517ff
YQ
187152014-10-17 Yao Qi <yao@codesourcery.com>
18716
18717 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
18718 check 'target_info exists noargs'.
18719 (test_command_prompt_position): Likewise.
18720 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
18721 Remove "set args".
18722 (progvar_simple_while_test): Likewise.
18723 (progvar_complex_if_while_test): Likewise.
18724 (if_while_breakpoint_command_test): Likewise.
18725 (infrun_breakpoint_command_test): Likewise.
18726 (breakpoint_command_test): Likewise.
18727 (watchpoint_command_test): Likewise.
18728 (bp_deleted_in_command_test): Likewise.
18729 (temporary_breakpoint_commands): Likewise.
18730
bb99c472
YQ
187312014-10-16 Yao Qi <yao@codesourcery.com>
18732
18733 * gdb.base/remotetimeout.exp: Remove noargs checking.
18734
7c16b83e
PA
187352014-10-15 Pedro Alves <palves@redhat.com>
18736
18737 PR breakpoints/9649
18738 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
18739 * gdb.base/breakpoint-in-ro-region.exp
18740 (probe_target_hardware_step): New procedure.
18741 (top level): Probe hardware stepping and hardware breakpoint
18742 support. Test stepping through a read-only region, with both
18743 "breakpoint auto-hw" on and off and both "always-inserted" on and
18744 off.
18745
35a49624
IB
187462014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
18747
18748 * gdb.dlang/demangle.exp: Update for demangling changes.
18749
2d1c107c
SC
187502014-10-15 Siva Chandra Reddy <sivachandra@google.com>
18751
18752 * gdb.cp/non-trivial-retval.cc: Add new test cases.
18753 * gdb.cp/non-trivial-retval.exp: Add new tests.
18754
778811d5
SC
187552014-10-15 Siva Chandra Reddy <sivachandra@google.com>
18756
18757 PR c++/13403
18758 PR c++/15154
18759 * gdb.cp/non-trivial-retval.cc: New file.
18760 * gdb.cp/non-trivial-retval.exp: New file.
18761
10c5f0a8
YQ
187622014-10-15 Yao Qi <yao@codesourcery.com>
18763
18764 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
18765 remote host.
18766
65d7b369
YQ
187672014-10-15 Yao Qi <yao@codesourcery.com>
18768
18769 * gdb.python/py-symbol.exp: Match file base name if host is
18770 remote, otherwise match file name with dir name.
18771 * gdb.python/py-symtab.exp: Likewise.
18772 * gdb.python/python.exp: Likewise.
18773
46dc1394
YQ
187742014-10-15 Yao Qi <yao@codesourcery.com>
18775
18776 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
18777 pattern.
18778 * gdb.python/py-symtab.exp: Likewise.
18779 * gdb.python/python.exp: Remove trailing ".*". Fix typo
18780 locationn.
18781
c40cc657
JB
187822014-10-14 Joel Brobecker <brobecker@adacore.com>
18783
18784 * gdb.ada/addr_arith: New testcase.
18785
2abf49e1
MR
187862014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
18787
18788 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
18789 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
18790 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
18791 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
18792
f7088df3
SDJ
187932014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
18794
18795 * gdb.arch/stap-eval-lang-ada.S: Likewise.
18796 * gdb.arch/stap-eval-lang-ada.c: Likewise.
18797 * gdb.arch/stap-eval-lang-ada.exp: New file.
18798
4dc06805
YQ
187992014-10-14 Yao Qi <yao@codesourcery.com>
18800
18801 * gdb.mi/mi-var-child.c (nothing1): New function.
18802 (nothing2): New function.
18803 (do_children_tests): Set function pointers by nothing1 and
18804 nothing2.
18805 * gdb.mi/mi-var-child.exp: Step over new added statements.
18806 Update test to match the new output.
18807 * gdb.mi/var-cmd.c (nothing1): New function.
18808 (nothing2): New function.
18809 (do_children_tests): Set function pointers by nothing1 and
18810 nothing2.
18811 * gdb.mi/mi-var-display.exp: Update test to match output.
18812 Step to the line specified by $line_dct_nothing.
18813 Increase the number of lines to step.
18814
46a93de2
YQ
188152014-10-14 Yao Qi <yao@codesourcery.com>
18816
18817 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
18818 tests.
18819 * gdb.mi/mi2-var-child.exp: Likewise.
18820
14ea52ee
DE
188212014-10-13 Doug Evans <dje@google.com>
18822
18823 * gdb.python/py-objfile.exp: Change name of file name test.
18824
e5c6e92b
DE
188252014-10-13 Doug Evans <dje@google.com>
18826
18827 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
18828 from the start of the CU.
18829
c780cc2f
JK
188302014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
18831 Yao Qi <yao@codesourcery.com>
18832
18833 Fix "save breakpoints" for "catch" command.
18834 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
18835 Remove -nonewline. Match also the added "main" line.
18836
99894e11
JK
188372014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
18838
18839 Fix "save breakpoints" for "disable $bpnum" command.
18840 * gdb.base/save-bp.c (main): Add label.
18841 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
18842
6e1ac5a3
JK
188432014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
18844
18845 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
18846
754dd2b0
YQ
188472014-10-11 Yao Qi <yao@codesourcery.com>
18848
18849 * gdb.server/server-kill.exp: Execute command
18850 "set remote trace-status-packet on" before "tstatus".
18851
f90183d7
YQ
188522014-10-11 Yao Qi <yao@codesourcery.com>
18853
18854 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
18855 (main): Call getppid.
18856 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
18857 and continue to it. Read variable "server_pid".
18858
bf40a607
YQ
188592014-10-11 Yao Qi <yao@codesourcery.com>
18860
18861 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
18862
052ca370
YQ
188632014-10-11 Yao Qi <yao@codesourcery.com>
18864
18865 * gdb.threads/thread-find.exp: Don't execute command
18866 "info threads".
18867 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
18868 * gdb.threads/linux-dp.exp: Don't check the condition
18869 $threads_created equals to zero.
18870
3831839c
PA
188712014-10-10 Pedro Alves <palves@redhat.com>
18872
18873 * gdb.base/bigcore.exp: Remove references to IRIX.
18874 * gdb.base/funcargs.exp: Likewise.
18875 * gdb.base/interrupt.exp: Likewise.
18876 * gdb.base/mips_pro.exp: Likewise.
18877 * gdb.base/nodebug.exp: Likewise.
18878 * gdb.base/setvar.exp: Likewise.
18879 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
18880
8b9a549d
PA
188812014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
18882 Pedro Alves <palves@redhat.com>
18883
18884 PR symtab/14466
18885 * gdb.base/vdso-warning.c: New file.
18886 * gdb.base/vdso-warning.exp: New file.
18887
d48ba5e8
DE
188882014-10-02 Doug Evans <dje@google.com>
18889
18890 * gdb.base/structs.c (main): Don't run forever.
18891
2278c276
PA
188922014-10-02 Pedro Alves <palves@redhat.com>
18893
18894 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
18895 (top level) <stop threads 1, stop threads 2>: Use it.
18896
b57bacec
PA
188972014-10-02 Pedro Alves <palves@redhat.com>
18898
18899 * gdb.threads/break-while-running.exp (test): Add new
18900 'update_thread_list' argument. Skip "info threads" if false.
18901 (top level): Add new 'update_thread_list' axis.
18902
13fd3ff3
PA
189032014-10-02 Pedro Alves <palves@redhat.com>
18904
18905 PR breakpoints/17431
18906 * gdb.base/execl-update-breakpoints.c: New file.
18907 * gdb.base/execl-update-breakpoints.exp: New file.
18908
0fec99e8
PA
189092014-10-01 Pedro Alves <palves@redhat.com>
18910
18911 * gdb.base/breakpoint-in-ro-region.c: New file.
18912 * gdb.base/breakpoint-in-ro-region.exp: New file.
18913
2ddf4301
SM
189142014-10-01 Simon Marchi <simon.marchi@ericsson.com>
18915
18916 * gdb.mi/mi-exit-code.exp: New file.
18917 * gdb.mi/mi-exit-code.c: New file.
18918
6a5f3f43
YQ
189192014-09-30 Yao Qi <yao@codesourcery.com>
18920
18921 * lib/prelink-support.exp (build_executable_own_libs): Error if
18922 the target isn't native.
18923
345bcc73
YQ
189242014-09-30 Yao Qi <yao@codesourcery.com>
18925
18926 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
18927 false.
18928
a25a5a45
PA
189292014-09-22 Pedro Alves <palves@redhat.com>
18930
18931 * gdb.threads/break-while-running.exp: New file.
18932 * gdb.threads/break-while-running.c: New file.
18933
00ba3162
YQ
189342014-09-19 Yao Qi <yao@codesourcery.com>
18935
18936 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
18937 Invoke test. Restart GDB with --readnow and invoke test again.
18938
c3b7b696
YQ
189392014-09-19 Yao Qi <yao@codesourcery.com>
18940
18941 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
18942 proc set_breakpoint_on_gcd_function. Invoke
18943 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
18944 invoke set_breakpoint_on_gcd_function again.
18945
2b4fd423
DE
189462014-09-18 Doug Evans <dje@google.com>
18947
18948 * gdb.dwarf2/symtab-producer.exp: New file.
18949
a5947601
SDJ
189502014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
18951
18952 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
18953 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
18954 * gdb.base/global-var-nested-by-dso.c: Likewise.
18955 * gdb.base/global-var-nested-by-dso.exp: Likewise.
18956
91c19059
SDJ
189572014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
18958 Pedro Alves <palves@redhat.com>
18959
18960 * gdb.base/watch-bitfields.exp: Pass string other than test file
18961 name to prepare_for_testing.
18962 (watch): New procedure.
18963 (expect_watchpoint): Use with_test_prefix.
18964 (top level): Factor out tests to ...
18965 (test_watch_location, test_regular_watch): ... these new
18966 procedures, and use with_test_prefix and gdb_continue_to_end.
18967
bb9d5f81
PP
189682014-09-16 Patrick Palka <patrick@parcs.ath.cx>
18969
18970 PR breakpoints/12526
18971 * gdb.base/watch-bitfields.exp: New file.
18972 * gdb.base/watch-bitfields.c: New file.
18973
635856f5
PA
189742014-09-16 Pedro Alves <palves@redhat.com>
18975
18976 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
18977 software and hardware addresses, not software address against
18978 itself.
18979
7280ceea
PA
189802014-09-16 Pedro Alves <palves@redhat.com>
18981
18982 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
18983 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
18984
428b16bd
PA
189852014-09-16 Pedro Alves <palves@redhat.com>
18986
18987 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
18988 files.
18989 * gdb.base/a2-run.exp: Remove all code guarded by istarget
18990 "*-*-vxworks*" throughout.
18991 * gdb.base/break.exp: Likewise.
18992 * gdb.base/default.exp: Likewise.
18993 * gdb.base/scope.exp: Likewise.
18994 * gdb.base/sepdebug.exp: Likewise.
18995 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
18996 throughout.
18997 * gdb.base/run.c: Likewise.
18998 * gdb.base/sepdebug.c: Likewise.
18999 * gdb.hp/gdb.aCC/run.c: Likewise.
19000 * gdb.reverse/until-reverse.c: Likewise.
19001 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
19002
666d413c
YQ
190032014-09-16 Yao Qi <yao@codesourcery.com>
19004
19005 * boards/local-remote-host-native.exp: New file.
19006
57cbd724
DE
190072014-09-14 Doug Evans <xdje42@gmail.com>
19008
19009 * gdb.threads/queue-signal.c (thread_count): New variable.
19010 (thread_count_mutex, thread_count_condvar): New variables.
19011 (incr_thread_count, wait_all_threads_running): New functions.
19012 (main): Wait for all threads to be in their thread functions.
19013
81219e53
DE
190142014-09-13 Doug Evans <xdje42@gmail.com>
19015
19016 * gdb.threads/queue-signal.c: New file.
19017 * gdb.threads/queue-signal.exp: New file.
19018
3714cea7
DE
190192014-09-13 Doug Evans <xdje42@gmail.com>
19020
19021 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
19022 be consistent with what default_gdb_init uses.
19023 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
19024 the plain text of the prompt. Add some logging printfs.
19025 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
19026
fa43b1d7
PA
190272014-09-12 Pedro Alves <palves@redhat.com>
19028
19029 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
19030 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
19031 * gdb.arch/i386-size-overlap.exp: Likewise.
19032 * gdb.arch/i386-size.exp: Likewise.
19033 * gdb.arch/i386-unwind.exp: Likewise.
19034 * gdb.base/a2-run.exp: Likewise.
19035 * gdb.base/break.exp: Likewise.
19036 * gdb.base/charset.exp: Likewise.
19037 * gdb.base/chng-syms.exp: Likewise.
19038 * gdb.base/commands.exp: Likewise.
19039 * gdb.base/dbx.exp: Likewise.
19040 * gdb.base/find.exp: Likewise.
19041 * gdb.base/funcargs.exp: Likewise.
19042 * gdb.base/jit-simple.exp: Likewise.
19043 * gdb.base/reread.exp: Likewise.
19044 * gdb.base/sepdebug.exp: Likewise.
19045 * gdb.base/step-bt.exp: Likewise.
19046 * gdb.cp/mb-inline.exp: Likewise.
19047 * gdb.cp/mb-templates.exp: Likewise.
19048 * gdb.objc/basicclass.exp: Likewise.
19049 * gdb.threads/killed.exp: Likewise.
19050
9d9bf2df
EBM
190512014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19052
19053 PR tdep/17379
19054 * gdb.arch/powerpc-stackless.S: New file.
19055 * gdb.arch/powerpc-stackless.exp: New file.
19056
1cf2f1b0
JK
190572014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
19058
19059 * gdb.base/attach.c: Include unistd.h.
19060 (main): Call alarm. Add label postloop.
19061 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
19062 gdb_breakpoint, gdb_continue_to_breakpoint.
19063 (test_command_line_attach_run): Kill ${testpid} in one exit path.
19064
98880d46
PA
190652014-09-11 Pedro Alves <palves@redhat.com>
19066
19067 PR gdb/17347
19068 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
19069 * gdb.base/attach.exp (test_command_line_attach_run): New
19070 procedure.
19071 (top level): Call it.
19072
4c92ff2c
PA
190732014-09-11 Pedro Alves <palves@redhat.com>
19074
19075 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
19076 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
19077 (do_command_attach_tests): Use spawn_wait_for_attach.
19078 * gdb.base/solib-overlap.exp: Likewise.
19079 * gdb.multi/multi-attach.exp: Likewise.
19080 * gdb.python/py-prompt.exp: Likewise.
19081 * gdb.python/py-sync-interp.exp: Likewise.
19082 * gdb.server/ext-attach.exp: Likewise.
19083
3adc1a7d
GKB
190842014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
19085
19086 * gdb.fortran/array-element.exp: Remove unexpected "continue"
19087 command in testcase. Simplify testcase.
19088
96334934
JB
190892014-09-10 Joel Brobecker <brobecker@adacore.com>
19090
19091 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
19092
eb479039
JB
190932014-09-10 Joel Brobecker <brobecker@adacore.com>
19094
19095 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
19096
deede10c
JB
190972014-09-10 Joel Brobecker <brobecker@adacore.com>
19098
19099 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
19100
7828a5f5
JB
191012014-09-10 Joel Brobecker <brobecker@adacore.com>
19102
19103 * gdb.dwarf2/dynarr-ptr.c: New file.
19104 * gdb.dwarf2/dynarr-ptr.exp: New file.
19105
33aeebcf
MR
191062014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19107
19108 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
19109 of 30 rather than hardcoding 120 for a slow test case. Take the
19110 `gdb,timeout' target setting into account for this calculation.
19111 Don't extend the timeout for the test cases that don't need it.
19112
7b415901
MR
191132014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19114
19115 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
19116 a factor of 2 for a slow test case. Take the `gdb,timeout'
19117 target setting into account for this calculation.
19118 * gdb.reverse/until-precsave.exp: Increase the timeout by
19119 a factor of 15 and 3 respectively rather than adding 120
19120 for a pair of slow test cases. Take the `gdb,timeout'
19121 target setting into account for this calculation.
19122
4a40f85a
MR
191232014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19124
19125 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
19126 timeout, don't pass one down to gdb_expect.
19127 (gdb_expect): Rework timeout selection.
19128
09635af7
MR
191292014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19130
19131 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
19132 exception on timeout.
19133 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
19134 (gdbserver_start_extended): Catch any `gdbserver_start' error
19135 exceptions.
19136 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
19137 * lib/mi-support.exp (mi_gdb_target_load): Catch any
19138 `gdbserver_gdb_load' error exceptions.
19139
2bdd10b7
MR
191402014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19141
19142 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
19143 120 on waiting for the TCP socket to open.
19144
316935f0
DE
191452014-09-09 Doug Evans <xdje42@gmail.com>
19146
19147 * gdb.base/default.exp (show_conv_list): Add _caller_is,
19148 _caller_matches, _any_caller_is, _any_caller_matches.
19149
83740597
DE
191502014-09-09 Doug Evans <xdje42@gmail.com>
19151
19152 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
19153
4c122fc3
YQ
191542014-09-09 Yao Qi <yao@codesourcery.com>
19155
19156 * gdb.mi/mi-var-display.exp: Set print symbol off.
19157
a9f116cb
GKB
191582014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
19159
19160 PR gdb/17035
19161 * gdb.base/commands.exp: Add tests to verify user-defined
19162 commands with empty bodies.
19163 * gdb.python/py-cmd.exp: Test that we don't show user-defined
19164 python commands in `show user command`.
19165 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
19166 scheme commands in `show user command`.
19167
c75bd3a2
JK
191682014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
19169
19170 PR python/17355
19171 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
19172 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
19173 * gdb.python/py-framefilter-invalidarg.exp: New file.
19174 * gdb.python/py-framefilter-invalidarg.py: New file.
19175
faa42425
DE
191762014-09-06 Doug Evans <xdje42@gmail.com>
19177
19178 PR 15276
19179 * gdb.python/py-caller-is.c: New file.
19180 * gdb.python/py-caller-is.exp: New file.
19181
474ca4f6
SDJ
191822014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
19183
19184 PR gdb/17235
19185 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
19186 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
19187
eb0b0463
SDJ
191882014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
19189
19190 PR fortran/17237
19191 * gdb.fortran/print-formatted.exp: New file.
19192 * gdb.fortran/print-formatted.f90: Likewise.
19193
5f3b99cf
SS
191942014-09-03 Sasha Smundak <asmundak@google.com>
19195
19196 * gdb.python/py-frame.exp: Test Frame.read_register.
19197
7d793aa9
SDJ
191982014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
19199
19200 PR python/16699
19201 * gdb.python/py-completion.exp: New file.
19202 * gdb.python/py-completion.py: Likewise.
19203
fb0576e9
DE
192042014-08-28 Doug Evans <dje@google.com>
19205
19206 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
19207 eax,etc. are live with values set by gdb and thus the compiler can't
19208 use them.
19209 * gdb.arch/i386-pseudo.c (main): Ditto.
19210
ee92b0dd
DE
192112014-08-27 Doug Evans <dje@google.com>
19212
19213 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
19214
6649db35
DE
192152014-08-25 Doug Evans <dje@google.com>
19216
19217 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
19218 (main): Ditto.
19219
564b7600
DE
192202014-08-25 Doug Evans <dje@google.com>
19221
19222 * gdb.threads/thread-execl.exp: #include <stdio.h>.
19223
3881fb67
YQ
192242014-08-24 Yao Qi <yao@codesourcery.com>
19225
19226 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
19227 symbol off.
19228 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
19229
a05a36a5
DE
192302014-08-22 Doug Evans <dje@google.com>
19231
19232 PR 17276
19233 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
19234 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
19235 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
19236
7c343b48
YQ
192372014-08-22 Yao Qi <yao@codesourcery.com>
19238
19239 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
19240 * gdb.python/py-finish-breakpoint2.exp: Likewise.
19241 * gdb.python/python.exp: Likewise. Use .py file on the host
19242 instead of the build.
19243
22fd09ae
JK
192442014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
19245
19246 * gdb.threads/gcore-stale-thread.c: New file.
19247 * gdb.threads/gcore-stale-thread.exp: New file.
19248
a8454a7c
PA
192492014-08-21 Pedro Alves <palves@redhat.com>
19250
19251 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
19252 * gdb.base/gcore-relro-pie.exp: Likewise.
19253 * gdb.base/gcore-relro.exp: Likewise.
19254 * gdb.base/gcore.exp: Likewise.
19255 * gdb.base/print-symbol-loading.exp: Likewise.
19256 * gdb.threads/gcore-thread.exp: Likewise.
19257 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
19258
2a31c623
PA
192592014-08-20 Pedro Alves <palves@redhat.com>
19260 Jan Kratochvil <jan.kratochvil@redhat.com>
19261
19262 * Makefile.in (EXTRA_RULES, CC): New variables, get from
19263 configure.
19264 (EXPECT): Handle READ1 being set.
19265 (all): Depend on EXTRA_RULES.
19266 (check-read1, expect-read1, read1.so, read1): New rules.
19267 * README (Testsuite Parameters): Document the READ1 make variable.
19268 (Race detection): New section.
19269 * configure: Regenerate.
19270 * configure.ac: If build==host==target, and running under a
19271 GNU/glibc system, add read1 to the extra Makefile rules.
19272 (EXTRA_RULES): AC_SUBST it.
19273 * lib/read1.c: New file.
19274
d36430db
JB
192752014-08-20 Joel Brobecker <brobecker@adacore.com>
19276
19277 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
19278 the handling of variables declared as a typedef to an array
19279 which a DW_AT_data_location attribute.
19280
9a0dc9e3
PA
192812014-08-19 Andrew Burgess <aburgess@broadcom.com>
19282 Pedro Alves <palves@redhat.com>
19283
19284 PR symtab/14604
19285 PR symtab/14605
19286 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
19287 gdb_test.
19288
0718a8da
PA
192892014-08-19 Pedro Alves <palves@redhat.com>
19290
19291 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
19292
13b448cd
YQ
192932014-08-19 Yao Qi <yao@codesourcery.com>
19294
19295 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
19296 right line.
19297
1cbf5077
DB
192982014-08-18 David Blaikie <dblaikie@gmail.com>
19299
19300 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
19301
bf0fae19
JB
193022014-08-18 Joel Brobecker <brobecker@adacore.com>
19303
19304 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
19305 attribute in array range.
19306
3c8c5dcc
JB
193072014-08-18 Joel Brobecker <brobecker@adacore.com>
19308
19309 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
19310
e66d4446
SC
193112014-08-15 Siva Chandra Reddy <sivachandra@google.com>
19312
19313 PR c++/17132
19314 * gdb.cp/pr17132.cc: New file.
19315 * gdb.cp/pr17132.exp: New file.
19316
940df408
SC
193172014-08-15 Siva Chandra Reddy <sivachandra@google.com>
19318
19319 * gdb.python/py-xmethods.py (A_getarrayind)
19320 (E_method_char_worker.__call__, E_method_int_worker.__call__):
19321 Use 'print' with function call syntax.
19322 (E_method_matcher.match): Fix tab vs space indentation mixup.
19323
ebcc6c3a
YQ
193242014-08-15 Yao Qi <yao@codesourcery.com>
19325
19326 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
19327 false.
19328
775e0f04
YQ
193292014-08-15 Yao Qi <yao@codesourcery.com>
19330
19331 * gdb.cp/casts.exp: Set print symbol off.
19332 * gdb.cp/class2.exp: Likewise.
19333 * gdb.cp/overload.exp: Likewise.
19334 * gdb.cp/templates.exp: Likewise.
19335
d769e349
DE
193362014-08-11 Doug Evans <dje@google.com>
19337
19338 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
19339 (test_load_shlib): Update.
19340
20c6f1e1
YQ
193412014-08-09 Yao Qi <yao@codesourcery.com>
19342
19343 * gdb.base/display.exp: Invoke is_address_zero_readable.
19344 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
19345 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
19346 * gdb.base/hbreak-unmapped.exp: Return if
19347 is_address_zero_readable returns true.
19348 * gdb.base/signest.exp: Likewise.
19349 * gdb.base/signull.exp: Likewise.
19350 * gdb.base/sigbpt.exp: Likewise.
19351 * gdb.guile/scm-disasm.exp: Do the test if
19352 is_address_zero_readable returns false.
19353 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
19354 * gdb.python/py-arch.exp: Likewise.
19355 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
19356 * lib/gdb.exp (is_address_zero_readable): New proc.
19357
5792e8e3
YQ
193582014-08-09 Yao Qi <yao@codesourcery.com>
19359
19360 PR testsuite/13443
19361 * gdb.mi/mi-var-display.exp: Make test messages unique.
19362
3cecbbbe
TT
193632014-08-04 Tom Tromey <tromey@redhat.com>
19364
19365 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
19366 target 0".
19367
00b51ff5
TT
193682014-08-04 Tom Tromey <tromey@redhat.com>
19369
19370 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
19371 "target_resume".
19372
6908c509
JB
193732014-08-01 Joel Brobecker <brobecker@adacore.com>
19374
19375 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
19376 inner_vla_struct_object_size.
19377 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
19378 as xfail.
19379
cc6563d2
PA
193802014-07-30 Pedro Alves <palves@redhat.com>
19381
19382 * gdb.threads/signal-command-handle-nopass.exp (test): Add
19383 comment.
19384
7e09a223
YQ
193852014-07-29 Yao Qi <yao@codesourcery.com>
19386
19387 PR gdb/17206
19388 * gdb.base/until-nodebug.exp: New.
19389
7ebdbe92
DE
193902014-07-28 Doug Evans <xdje42@gmail.com>
19391
19392 PR guile/17203
19393 * gdb.guile/scm-parameter.exp: Add tests for trying to create
19394 previously existing parameter, and previously ambiguously spelled
19395 parameter.
19396
fdb1adc6
WN
193972014-07-28 Will Newton <will.newton@linaro.org>
19398
19399 * gdb.base/varargs.exp: Remove KFAILs for ARM.
19400
186fcde0
DE
194012014-07-26 Ludovic Courtès <ludo@gnu.org>
19402 Doug Evans <xdje42@gmail.com>
19403
19404 PR guile/17146
19405 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
19406
70509625
PA
194072014-07-25 Pedro Alves <palves@redhat.com>
19408
19409 * gdb.threads/signal-command-handle-nopass.c: New file.
19410 * gdb.threads/signal-command-handle-nopass.exp: New file.
19411 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
19412 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
19413 * gdb.threads/signal-delivered-right-thread.c: New file.
19414 * gdb.threads/signal-delivered-right-thread.exp: New file.
19415
c3f814a1
PA
194162014-07-25 Pedro Alves <palves@redhat.com>
19417
19418 * gdb.base/double-prompt-target-event-error.exp
19419 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
19420 match.
19421 (cancel_pagination_in_target_event): Rework double prompt
19422 detection.
19423 * gdb.base/paginate-after-ctrl-c-running.exp
19424 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
19425 <return>' match.
19426 * gdb.base/paginate-bg-execution.exp
19427 (test_bg_execution_pagination_return)
19428 (test_bg_execution_pagination_cancel): Remove '-notransfer
19429 <return>' matches.
19430 * gdb.base/paginate-execution-startup.exp
19431 (test_fg_execution_pagination_return)
19432 (test_fg_execution_pagination_cancel): Remove '-notransfer
19433 <return>' matches.
19434 * gdb.base/paginate-inferior-exit.exp
19435 (test_paginate_inferior_exited): Remove '-notransfer <return>'
19436 match.
19437 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
19438 * lib/gdb.exp (pagination_prompt): Run text through
19439 string_to_regexp.
19440 (gdb_test_multiple): Match $pagination_prompt instead of
19441 "<return>".
19442 (string_to_regexp): Move to lib/gdb-utils.exp.
19443
e214cf6c
JK
194442014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
19445
19446 * gdb.arch/amd64-entry-value-paramref.S: New file.
19447 * gdb.arch/amd64-entry-value-paramref.cc: New file.
19448 * gdb.arch/amd64-entry-value-paramref.exp: New file.
19449 * gdb.arch/amd64-optimout-repeat.S: New file.
19450 * gdb.arch/amd64-optimout-repeat.c: New file.
19451 * gdb.arch/amd64-optimout-repeat.exp: New file.
19452
17d0c5c8
JK
194532014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
19454
19455 PR gdb/17170
19456 * gdb.base/statistics.exp: New file.
19457
b8b8facf
DE
194582014-07-17 Doug Evans <dje@google.com>
19459
74b49205 19460 PR gdb/17170
b8b8facf
DE
19461 * gdb.base/maint.exp: Update testing of per-command stats.
19462
1b5d0ab3
PA
194632014-07-16 Pedro Alves <palves@redhat.com>
19464
19465 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
19466 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
19467 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
19468 (tfile_write_buf): New functions.
19469 (add_memory_block): Rewrite using the above.
19470 (adjust_function_address): New function.
19471 (FUNCTION_ADDRESS): New macro.
19472 (write_basic_trace_file): Remove short_x local, and use
19473 tfile_write_16. Change type of func_addr local to unsigned long
19474 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
19475 here. Cast argument of add_memory_block to char pointer.
19476 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
19477 (main): Remove parameters.
19478 * gdb.trace/tfile.exp: Remove nowarnings.
19479
4d974e88
SM
194802014-07-15 Simon Marchi <simon.marchi@ericsson.com>
19481
19482 * gdb.base/debug-expr.exp: Test string evaluation with
19483 "debug expression" on.
19484
41e99568
PA
194852014-07-15 Pedro Alves <palves@redhat.com>
19486
19487 * gdb.base/reread.exp: Use clean_restart.
19488
487d9753
PL
194892014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
19490
19491 * gdb.arch/avr-flash-qualifer.c: New.
19492 * gdb.arch/avr-flash-qualifer.exp: New.
19493
cc1c52ad
PA
194942014-07-14 Pedro Alves <palves@redhat.com>
19495
19496 * gdb.base/paginate-after-ctrl-c-running.c: New file.
19497 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
19498
1e973570
PA
194992014-07-14 Pedro Alves <palves@redhat.com>
19500
19501 * gdb.base/double-prompt-target-event-error.c: New file.
19502 * gdb.base/double-prompt-target-event-error.exp: New file.
19503
93d6eb10
PA
195042014-07-14 Pedro Alves <palves@redhat.com>
19505
19506 PR gdb/17072
19507 * gdb.base/paginate-inferior-exit.c: New file.
19508 * gdb.base/paginate-inferior-exit.exp: New file.
19509
0017922d
PA
195102014-07-14 Pedro Alves <palves@redhat.com>
19511
19512 PR gdb/17072
19513 * gdb.base/paginate-bg-execution.c: New file.
19514 * gdb.base/paginate-bg-execution.exp: New file.
19515
94696ad3
PA
195162014-07-14 Pedro Alves <palves@redhat.com>
19517
19518 PR gdb/17072
19519 * gdb.base/paginate-execution-startup.c: New file.
19520 * gdb.base/paginate-execution-startup.exp: New file.
19521 * lib/gdb.exp (pagination_prompt): New global.
19522 (default_gdb_spawn): New procedure, factored out from
19523 default_gdb_spawn.
19524 (default_gdb_start): Adjust to call default_gdb_spawn.
19525 (gdb_spawn): New procedure.
19526
bd293940
PA
195272014-07-14 Pedro Alves <palves@redhat.com>
19528
19529 * lib/gdb.exp (gdb_assert): New procedure.
19530 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
19531
c933f875
PA
195322014-07-14 Pedro Alves <palves@redhat.com>
19533
19534 * gdb.base/execution-termios.c: New file.
19535 * gdb.base/execution-termios.exp: New file.
19536
d98b7a16
TT
195372014-07-14 Tom Tromey <tromey@redhat.com>
19538
19539 * gdb.cp/vla-cxx.cc: New file.
19540 * gdb.cp/vla-cxx.exp: New file.
19541
548740d6
TT
195422014-07-14 Tom Tromey <tromey@redhat.com>
19543
19544 * gdb.reverse/rerun-prec.c: New file.
19545 * gdb.reverse/rerun-prec.exp: New file.
19546
a25eb028
MR
195472014-07-12 Maciej W. Rozycki <macro@mips.com>
19548 Maciej W. Rozycki <macro@codesourcery.com>
19549
19550 * lib/gdb-utils.exp: New file.
19551 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
19552 inline `gdb_init_command' processing.
19553 (gdb_start_cmd): Likewise.
19554 * lib/mi-support.exp (mi_run_cmd): Likewise.
19555 * README: Document `gdb_init_command' and `gdb_init_commands'.
19556
218c2655
JK
195572014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
19558
19559 Fix false FAIL running under a very long directory name.
19560 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
19561 and "set print elements 10000". Twice.
19562
5401fde3
YQ
195632014-07-11 Yao Qi <yao@codesourcery.com>
19564
19565 * gdb.base/exprs.exp: "set print symbol off".
19566
e76126e8
PA
195672014-07-11 Pedro Alves <palves@redhat.com>
19568
19569 * gdb.threads/kill.c: New file.
19570 * gdb.threads/kill.exp: New file.
19571
2d6f0de6
YQ
195722014-07-10 Yao Qi <yao@codesourcery.com>
19573
19574 * gdb.trace/tfile.c (write_basic_trace_file)
19575 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
19576 address written to trace file.
19577
7180e04a
PA
195782014-07-09 Pedro Alves <palves@redhat.com>
19579
19580 * gdb.base/attach-wait-input.exp: New file.
19581 * gdb.base/attach-wait-input.c: New file.
19582
9a9a7608
AB
195832014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
19584
19585 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
19586 setting up test structures.
19587 (main): Call new test function.
19588 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
19589 test function, continue into test function and walk test
19590 structures.
19591
161ac41e
YQ
195922014-07-02 Yao Qi <yao@codesourcery.com>
19593
19594 * gdb.trace/entry-values.c: Define labels 'foo_start' and
19595 'bar_start' at the beginning of functions 'foo' and 'bar'
19596 respectively.
19597 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
19598 instead of 'foo' and 'bar'.
19599
1f267ae3
MM
196002014-07-08 Markus Metzger <markus.t.metzger@intel.com>
19601
19602 * gdb.btrace/segv.exp: New.
19603 * gdb.btrace/segv.c: New.
19604
2b239efb
LM
196052014-07-02 Luis Machado <lgustavo@codesourcery.com>
19606
19607 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
19608 instruction.
19609
cf363f18
MW
196102014-06-30 Mark Wielaard <mjw@redhat.com>
19611
19612 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
19613 vulture, vilify, villar): New volatile array constants.
19614 (vindictive, vegetation): New const volatile array constants.
19615 * gdb.base/volatile.exp: Test volatile and const volatile array
19616 types.
19617
aebf9d24
AA
196182014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
19619
19620 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
19621 target lacks support for awatch, rwatch, or hbreak.
19622
b67a2c6f
YQ
196232014-06-27 Yao Qi <yao@codesourcery.com>
19624
19625 * gdb.multi/dummy-frame-restore.exp: New.
19626 * gdb.multi/dummy-frame-restore.c: New.
19627
aef92902
MM
196282014-06-25 Markus Metzger <markus.t.metzger@intel.com>
19629
19630 * gdb.btrace/gcore.exp: New.
19631
8e9db26e
PA
196322014-06-23 Pedro Alves <palves@redhat.com>
19633
19634 * gdb.base/watchpoint-reuse-slot.c: New file.
19635 * gdb.base/watchpoint-reuse-slot.exp: New file.
19636
70afc5b7
SC
196372014-06-23 Siva Chandra Reddy <sivachandra@google.com>
19638
19639 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
19640 progspace's filename in 'info', 'enable' and 'disable' command
19641 tests.
19642
b972bd9c
JK
196432014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
19644
19645 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
19646 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
19647 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
19648
125f8a3d
GB
196492014-06-20 Gary Benson <gbenson@redhat.com>
19650
19651 * gdb.arch/i386-avx.exp: Fix include file location.
19652 * gdb.arch/i386-sse.exp: Likewise.
19653
3ed9baed
IB
196542014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
19655
19656 * gdb.dlang/expression.exp: New file.
19657
034f788c
PA
196582014-06-19 Pedro Alves <palves@redhat.com>
19659
19660 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
19661 out from ...
19662 (top level): ... here. Iterate running tests under different
19663 scheduler-locking settings.
19664
45371d0c
LM
196652014-06-18 Luis Machado <lgustavo@codesourcery.com>
19666
19667 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
19668 to DW_FORM_addr and use non-zero addresses.
19669
5d376983
SC
196702014-06-18 Siva Chandra Reddy <sivachandra@google.com>
19671
19672 PR gdb/17017
19673 * gdb.python/py-xmethods.cc: Add global function call counters and
19674 increment them in their respective functions. Remove "cout"
19675 statements.
19676 * gdb.python/py-xmethods.exp: Make tests check the global function
19677 call counters instead of depending on inferior IO.
19678
a1aa2221
LM
196792014-06-18 Don Breazeal <donb@codesourcery.com>
19680
19681 * gdb.base/foll-fork.exp (default_fork_parent_follow):
19682 Deleted procedure.
19683 (explicit_fork_parent_follow): Deleted procedure.
19684 (explicit_fork_child_follow): Deleted procedure.
19685 (test_follow_fork): New procedure.
19686 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 19687 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
19688 procedure calls.
19689
0fc05997
YQ
196902014-06-17 Yao Qi <yao@codesourcery.com>
19691
19692 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
19693 CP1252.
19694
70795c52
LM
196952014-06-17 Luis Machado <lgustavo@codesourcery.com>
19696
19697 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
19698 Initialize ptr and S explicitly.
19699 (skip_type_update_when_not_use_rtti_test): Likewise.
19700
6be47f0c
KS
197012014-06-16 Keith Seitz <keiths@redhat.com>
19702
19703 PR mi/15863
19704 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
19705 the inferior is started.
19706
d03de421
PA
197072014-06-16 Pedro Alves <palves@redhat.com>
19708
19709 * gdb.base/break-main-file-remove-fail.c: New file.
19710 * gdb.base/break-main-file-remove-fail.exp: New file.
19711 * gdb.base/break-unload-file.exp: Use build_executable instead of
19712 prepare_for_testing.
19713 (test_break): New parameter "initial_load". Handle it.
19714 (top level): Add initial_load cmdline/file axis.
19715
f9579b99
TT
197162014-06-12 Tom Tromey <tromey@redhat.com>
19717
19718 * gdb.base/completion.exp: Don't use directory name in test.
19719
3657956b
GB
197202014-06-09 Gary Benson <gbenson@redhat.com>
19721
19722 * gdb.base/sigall.c [Functions to send signals]: Reorder to
19723 separate the always-available ANSI-standard signals from the
19724 signals that require checking.
19725 (main): Likewise.
19726 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
19727 Likewise.
19728 (main): Likewise.
19729
4186eb54
KS
197302014-06-07 Keith Seitz <keiths@redhat.com>
19731
19732 Revert:
19733 PR c++/16253
19734 * gdb.cp/var-tag.cc: New file.
19735 * gdb.cp/var-tag.exp: New file.
19736 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
19737 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
19738 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
19739 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
19740
25326a28 197412014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
19742
19743 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
19744
829155c9
PA
197452014-06-06 Pedro Alves <palves@redhat.com>
19746
19747 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
19748 in target debug output instead of looking at RSP packets,
19749 disabling the test on any target that uses hardware stepping.
19750 Update comments.
19751
61c8d22e
PA
197522014-06-06 Pedro Alves <palves@redhat.com>
19753
19754 * gdb.base/break-unload-file.exp: Fix typo.
19755
d9a47287
YQ
197562014-06-06 Yao Qi <yao@codesourcery.com>
19757
19758 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
19759 from "jit_function" to "^jit_function".
19760
e5e01dbf
YQ
197612014-06-06 Yao Qi <yao@codesourcery.com>
19762
19763 * gdb.base/async.c (foo): Add one statement.
19764 * gdb.base/async.exp: Get the next instruction address and
19765 match the output of "nexti" by instruction address. Match
19766 the hex address in the output of "finish".
19767
73ba372c
GB
197682014-06-06 Gary Benson <gbenson@redhat.com>
19769
19770 * gdb.base/call-signals.c: Remove preprocessor conditionals
19771 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
19772 SIGSEGV and SIGTERM.
19773 * gdb.base/sigall.c: Likewise.
19774 * gdb.base/unwindonsignal.c: Likewise.
19775 * gdb.reverse/sigall-reverse.c: Likewise.
19776
831517df
YQ
197772014-06-06 Yao Qi <yao@codesourcery.com>
19778
19779 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
19780 readable, skip the test.
19781
b8b91e98
YQ
197822014-06-06 Yao Qi <yao@codesourcery.com>
19783
19784 * gdb.threads/staticthreads.c (thread_function): Move the line
19785 setting breakpoint on forward.
19786 * gdb.threads/staticthreads.exp: Update comments.
19787
fb934770
LC
197882014-06-05 Ludovic Courtès <ludo@gnu.org>
19789
19790 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
19791 "history-append! type error".
19792
6ef284bd
SM
197932014-06-05 Simon Marchi <simon.marchi@ericsson.com>
19794
19795 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
19796 erroneous dprintf expected input.
19797
a872e241
DE
197982014-06-04 Doug Evans <xdje42@gmail.com>
19799
19800 * gdb.guile/scm-generics.exp: Delete.
19801
16f691fb
DE
198022014-06-04 Doug Evans <xdje42@gmail.com>
19803
19804 * gdb.guile/scm-breakpoint.exp: Update.
19805 Add tests for breakpoint registration.
19806
012370f6
TT
198072014-06-04 Tom Tromey <tromey@redhat.com>
19808
19809 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
19810 VLA-in-union.
19811 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
19812 inner_vla_struct, vla_union types. Initialize objects of those
19813 types and compute their sizes.
19814
9f5a4cef
HZ
198152014-06-04 Nathan Sidwell <nathan@codesourcery.com>
19816 Hui Zhu <hui@codesourcery.com>
19817
19818 * gdb.base/fileio.exp: Add test for shell not available as well as
19819 available.
19820 * gdb.base/fileio.c (test_system): Check for shell twice.
19821
90a45c4d
YQ
198222014-06-04 Yao Qi <yao@codesourcery.com>
19823
19824 * gdb.base/auto-connect-native-target.exp: Remove redundant
19825 space from the regexp pattern.
19826
70017e41
YQ
198272014-06-04 Yao Qi <yao@codesourcery.com>
19828
19829 * gdb.base/default.exp: Replace "child" with "native" in
19830 regexp pattern.
19831
883964a7
SC
198322014-06-03 Siva Chandra Reddy <sivachandra@google.com>
19833
19834 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
19835 * gdb.python/py-xmethods.exp: New tests to test xmethods.
19836 * gdb.python/py-xmethods.py: Python script supporting the
19837 new testcase and tests.
19838
ef370185
JB
198392014-06-03 Joel Brobecker <brobecker@adacore.com>
19840 Pedro Alves <palves@redhat.com>
19841
19842 PR breakpoints/17000
19843 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
19844 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
19845
1e2ccb61
BM
198462014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
19847
19848 * gdb.base/subst.exp: Add tests to verify partial path matching
19849 output.
19850
c6ec5ab2
PA
198512014-06-03 Pedro Alves <palves@redhat.com>
19852
19853 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
19854 target that doesn't use software single-stepping.
19855
835c559f
PA
198562014-06-03 Pedro Alves <palves@redhat.com>
19857
19858 PR breakpoints/17000
19859 * gdb.base/sss-bp-on-user-bp-2.c: New file.
19860 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
19861
06eb1586
DE
198622014-06-02 Doug Evans <xdje42@gmail.com>
19863
19864 * gdb.guile/scm-parameter.exp: New file.
19865
e698b8c4
DE
198662014-06-02 Doug Evans <xdje42@gmail.com>
19867
19868 * gdb.guile/scm-cmd.c: New file.
19869 * gdb.guile/scm-cmd.exp: New file.
19870
ded03782
DE
198712014-06-02 Doug Evans <xdje42@gmail.com>
19872
19873 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
19874 pretty-printer lookup.
19875 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
19876 (make-pp_s-printer): Call it.
19877 (make-pretty-printer-from-dict): New function.
19878 (lookup-pretty-printer-maker-from-dict): New function.
19879 (*pretty-printer*): Simplify.
19880 (make-objfile-pp_s-printer): New function.
19881 (install-objfile-pretty-printers!): New function.
19882 (make-progspace-pp_s-printer): New function.
19883 (install-progspace-pretty-printers!): New function.
19884 * gdb.guile/scm-progspace.c: New file.
19885 * gdb.guile/scm-progspace.exp: New file.
19886
41fac0cf
PA
198872014-06-02 Pedro Alves <palves@redhat.com>
19888
19889 * gdb.base/dprintf-bp-same-addr.c: New file.
19890 * gdb.base/dprintf-bp-same-addr.exp: New file.
19891
96ae5695
EBM
198922014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19893
19894 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
19895 * gdb.arch/powerpc-power.s: Likewise.
19896
da02b3a8
JB
198972014-06-02 Joel Brobecker <brobecker@adacore.com>
19898
19899 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
19900
c72b2e7b
YQ
199012014-06-01 Yao Qi <yao@codesourcery.com>
19902
19903 * gdb.base/watchpoint.exp (test_watch_location): Check null
19904 pointer can be dereferenced. If not, do the test, otherwise
19905 skip it.
19906
53e8a631
AB
199072014-05-30 Andrew Burgess <aburgess@broadcom.com>
19908
19909 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
19910 results.
19911 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
19912
938f0e2f
AB
199132014-05-30 Andrew Burgess <aburgess@broadcom.com>
19914
19915 * gdb.arch/amd64-invalid-stack-middle.S: New file.
19916 * gdb.arch/amd64-invalid-stack-middle.c: New file.
19917 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
19918 * gdb.arch/amd64-invalid-stack-top.c: New file.
19919 * gdb.arch/amd64-invalid-stack-top.exp: New file.
19920
9ba6657a
PA
199212014-05-30 Pedro Alves <palves@redhat.com>
19922
19923 PR breakpoints/17000
19924 * gdb.base/sss-bp-on-user-bp.c: New file.
19925 * gdb.base/sss-bp-on-user-bp.exp: New file.
19926
522c09bf
DB
199272014-05-30 David Blaikie <dblaikie@gmail.com>
19928
19929 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
19930 gnu_inline semantics via attribute.
19931 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
19932 source explicitly specifies the required semantics.
19933
bf4ef81e
MR
199342014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
19935
19936 * gdb.reverse/sigall-reverse.exp: Fix a typo.
19937
329ea579
PA
199382014-05-29 Pedro Alves <palves@redhat.com>
19939 Tom Tromey <tromey@redhat.com>
19940
19941 * gdb.base/async-shell.exp: Don't enable target-async.
19942 * gdb.base/async.exp
19943 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
19944 parameter. Adjust.
19945 (top level): Don't test with "target-async".
19946 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
19947 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
19948 * gdb.base/inferior-died.exp: Don't enable target-async.
19949 * gdb.base/interrupt-noterm.exp: Likewise.
19950 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
19951 * gdb.mi/mi-nonstop-exit.exp: Likewise.
19952 * gdb.mi/mi-nonstop.exp: Likewise.
19953 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
19954 * gdb.mi/mi-nsintrall.exp: Likewise.
19955 * gdb.mi/mi-nsmoribund.exp: Likewise.
19956 * gdb.mi/mi-nsthrexec.exp: Likewise.
19957 * gdb.mi/mi-watch-nonstop.exp: Likewise.
19958 * gdb.multi/watchpoint-multi.exp: Adjust comment.
19959 * gdb.python/py-evsignal.exp: Don't enable target-async.
19960 * gdb.python/py-evthreads.exp: Likewise.
19961 * gdb.python/py-prompt.exp: Likewise.
19962 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
19963 * gdb.server/solib-list.exp: Don't enable target-async.
19964 * gdb.threads/thread-specific-bp.exp: Likewise.
19965 * lib/mi-support.exp: Adjust to use mi-async.
19966
fd664c91
PA
199672014-05-29 Pedro Alves <palves@redhat.com>
19968
19969 PR gdb/13860
19970 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
19971 reason, even in sync mode.
19972
251bde03
PA
199732014-05-29 Pedro Alves <palves@redhat.com>
19974 Hui Zhu <hui@codesourcery.com>
19975
19976 PR PR15693
19977 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
19978 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
19979 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
19980 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
19981
7f3c0343
JB
199822014-05-28 Joel Brobecker <brobecker@adacore.com>
19983
19984 * config/monitor.exp (gdb_target_monitor): Replace use of
19985 "set remotebaud" by "set serial baud".
19986
b2715b27
AW
199872014-05-26 Andy Wingo <wingo@igalia.com>
19988
19989 * gdb.guile/scm-breakpoint.exp:
19990 * gdb.guile/scm-gsmob.exp: Update to use plain old object
19991 properties instead of gdb-object-properties.
19992
498a4489
YQ
199932014-05-26 Yao Qi <yao@codesourcery.com>
19994
19995 * gdb.server/no-thread-db.exp: Specify source file name
19996 explicitly when setting a breakpoint.
19997
589fdceb
MM
199982014-05-23 Markus Metzger <markus.t.metzger@intel.com>
19999
20000 * gdb.btrace/vdso.c: New.
20001 * gdb.btrace/vdso.exp: New.
20002
e9089e05
MM
200032014-05-23 Markus Metzger <markus.t.metzger@intel.com>
20004
20005 * gdb.base/gcore.exp (capture_command_output): Move ...
20006 * lib/gdb.exp (capture_command_output): ... here.
20007
67b5c0c1
MM
200082014-05-23 Markus Metzger <markus.t.metzger@intel.com>
20009
20010 * gdb.btrace/data.exp: Test memory access during btrace replay.
20011
a2199296
SM
200122014-05-22 Simon Marchi <simon.marchi@ericsson.com>
20013
20014 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
20015
17b2616c
PA
200162014-05-21 Pedro Alves <palves@redhat.com>
20017
20018 PR gdb/13860
20019 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
20020 (top level): Test that output related to execution commands is
20021 sent to the console with CLI commands, but not with MI commands.
20022 Test that breakpoint events are always mirrored to the console.
20023 Also expect the new source line to be output after a "next" in
20024 async mode too. Make it a pass/fail test.
20025 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
20026 output.
20027 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
20028
5166082f
PA
200292014-05-21 Pedro Alves <palves@redhat.com>
20030
20031 * gdb.base/list.exp (build_pattern, test_list): New procedures.
20032 Use them to test variations of "list" after reaching a breakpoint.
20033 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
20034 Test "list" with listsize 10 after reaching a breakpoint.
20035 * gdb.python/python.exp (decode_line current location line
20036 number): Adjust expected line number.
20037
2f25d70f
SM
200382014-05-21 Simon Marchi <simon.marchi@ericsson.com>
20039
20040 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
20041 behavior for $args, pass it directly to "run".
20042
ff604a67
MR
200432014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
20044
20045 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
20046 30000 to 65536.
20047
6a3cb8e8
PA
200482014-05-21 Pedro Alves <palves@redhat.com>
20049
20050 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
20051 auto-connect-native-target off".
20052 * gdb.base/auto-connect-native-target.c: New file.
20053 * gdb.base/auto-connect-native-target.exp: New file.
20054
4ebfc96e
PA
200552014-05-21 Pedro Alves <palves@redhat.com>
20056
20057 * gdb.base/default.exp: Test "target native" instead of "target
20058 child".
20059
36d46afb
MW
200602014-05-21 Mark Wielaard <mjw@redhat.com>
20061
20062 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
20063
5876f503
JK
200642014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
20065
20066 Fix TLS access for -static -pthread.
20067 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
20068 <HAVE_TLS> (thread_function, main): Initialize it.
20069 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
20070 Add clean_restart.
20071 <$have_tls != "">: Check TLSVAR.
20072
0256a6ac
PA
200732014-05-21 Pedro Alves <palves@redhat.com>
20074
20075 * gdb.base/dcache-line-read-error.c: New.
20076 * gdb.base/dcache-line-read-error.exp: New.
20077
936d2992
PA
200782014-05-20 Pedro Alves <palves@redhat.com>
20079
20080 * gdb.base/compare-sections.c: New file.
20081 * gdb.base/compare-sections.exp: New file.
20082
802e8e6d
PA
200832014-05-20 Pedro Alves <palves@redhat.com>
20084
20085 * gdb.base/break-idempotent.c: New file.
20086 * gdb.base/break-idempotent.exp: New file.
20087
e59fa00f
MM
200882014-05-20 Markus Metzger <markus.t.metzger@intel.com>
20089
20090 * gdb.btrace/nohist.exp: New.
20091
8b696e31
YQ
200922014-05-20 Yao Qi <yao@codesourcery.com>
20093
20094 * lib/gdb.exp (gdb_init): Set timeout if test file is under
20095 gdb.reverse directory and gdb_reverse_timeout exists in board
20096 setting.
20097 * README: Document gdb_reverse_timeout.
20098
73c9764f
YQ
200992014-05-20 Yao Qi <yao@codesourcery.com>
20100
20101 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
20102 'test_file_name'. Treat args as a string instead of a list.
20103 (gdb_init): Rename argument 'args' by 'test_file_name'.
20104
f1f4348a
JK
201052014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
20106
20107 * gdb.arch/powerpc-power.exp: New file.
20108 * gdb.arch/powerpc-power.s: New file.
20109
0dbe70ce
DE
201102014-05-16 Doug Evans <dje@google.com>
20111
20112 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
20113 * gdb.base/completion.exp: Check that all expected files exist
20114 before doing file completion.
0dbe70ce 20115
8d551b02
DE
201162014-05-16 Doug Evans <dje@google.com>
20117
20118 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
20119 Update.
20120 (do_syscall_tests_without_xml): Update.
20121
73eb7709
PA
201222014-05-16 Pedro Alves <palves@redhat.com>
20123
20124 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
20125 instead of "unknown output after running".
20126
3fae92fc
YQ
201272014-05-16 Yao Qi <yao@codesourcery.com>
20128
20129 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
20130 file1.txt from host at the end.
20131 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
20132
c2b2ccc5
DE
201332014-05-15 Doug Evans <dje@google.com>
20134
20135 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
20136 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
20137 loading file. Add test for TU lookup.
20138
8c217a4b
SM
201392014-05-15 Simon Marchi <simon.marchi@ericsson.com>
20140
20141 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
20142 calling "-exec-arguments" or "set args" before running the
20143 inferior.
20144
3deb39c6
SM
201452014-05-15 Simon Marchi <simon.marchi@ericsson.com>
20146
20147 * lib/mi-support.exp (mi_expect_stop): Expect message for
20148 inferiors that exit with non-zero exit code.
20149
71a79f8c
YQ
201502014-05-14 Yao Qi <yao@codesourcery.com>
20151
20152 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
20153 match absolute path on remote host.
20154 (test_file_list_exec_source_files): Remove "/" from the
20155 pattern.
20156
f23fcd46
YQ
201572014-05-14 Yao Qi <yao@codesourcery.com>
20158
20159 * boards/local-remote-host-notty.exp (${board}_file): New
20160 proc.
20161
9404b58f
KM
201622014-05-07 Kyle McMartin <kyle@redhat.com>
20163
20164 Pushed by Joel Brobecker <brobecker@adacore.com>.
20165 * gdb.arch/aarch64-atomic-inst.c: New file.
20166 * gdb.arch/aarch64-atomic-inst.exp: New file.
20167
5e45f04c
YQ
201682014-05-07 Yao Qi <yao@codesourcery.com>
20169
20170 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
20171 in current context" too.
20172
c888a17d
KS
201732014-05-05 Keith Seitz <keiths@redhat.com>
20174
20175 * gdb.linespec/ls-dollar.exp: Add test for linespec
20176 file:convenience_variable.
20177
290a839c
YQ
201782014-05-05 Yao Qi <yao@codesourcery.com>
20179
20180 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
20181 traceframes into tfile and ctf trace files. Read data from
20182 trace file and test collected data.
20183 (gdb_collect_locals_test): Likewise.
20184 (gdb_unavailable_registers_test): Likewise.
20185 (gdb_unavailable_floats): Likewise.
20186 (gdb_collect_globals_test): Likewise.
20187 (top-level): Append "ctf" to trace_file_targets if GDB
20188 supports.
20189
b5262cd0
YQ
201902014-05-05 Yao Qi <yao@codesourcery.com>
20191
20192 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
20193 code to ...
20194 (gdb_collect_args_test_1): ... it. New proc.
20195 (gdb_collect_locals_test): Move some code to ...
20196 (gdb_collect_locals_test_1): ... it. New proc.
20197 (gdb_unavailable_registers_test): Move some code to ...
20198 (gdb_unavailable_registers_test_1): ... it. New proc.
20199 (gdb_unavailable_floats): Move some code to ...
20200 (gdb_unavailable_floats_1): ... it. New proc.
20201
30a1e6cc
SDJ
202022014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
20203
20204 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
20205 probes to test for bitness recognition.
20206 * gdb.arch/amd64-stap-optional-prefix.exp
20207 (test_probe_value_without_reg): New procedure.
20208 Add code to test for different kinds of bitness.
20209
f33da99a
SDJ
202102014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
20211
20212 PR breakpoints/16889
20213 * gdb.arch/amd64-stap-optional-prefix.S: New file.
20214 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
20215
5b80f00d
PA
202162014-05-01 Pedro Alves <palves@redhat.com>
20217
20218 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
20219 gdb_file_cmd if no file is specified.
20220 * boards/native-extended-gdbserver.exp (gdb_load): Use the
20221 last_loaded_file to set the remote exec-file.
20222
f8c2a73c
PA
202232014-05-01 Pedro Alves <palves@redhat.com>
20224
20225 * boards/local-remote-host.exp: New file.
20226
be6e8ac7
PA
202272014-05-01 Pedro Alves <palves@redhat.com>
20228
20229 * boards/local-remote-host.exp: Rename to ...
20230 * boards/local-remote-host-notty.exp: ... this.
20231
cac0dc8f
JB
202322014-04-28 Joel Brobecker <brobecker@adacore.com>
20233
20234 * gdb.ada/dyn_arrayidx: New testcase.
20235
9730e6cc
YQ
202362014-04-26 Yao Qi <yao@codesourcery.com>
20237
20238 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
20239 and compute the length of function main. Save it in
20240 $main_length.
20241 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
20242 (top-level): Use gdb_compile to compile objects into
20243 executable and restart GDB. Remove invocation to
20244 prepare_for_testing.
20245
7ae1a6a6
PA
202462014-04-25 Simon Marchi <simon.marchi@ericsson.com>
20247 Pedro Alves <palves@redhat.com>
20248
20249 PR server/16255
20250 * gdb.multi/multi-attach.c: New file.
20251 * gdb.multi/multi-attach.exp: New file.
20252
4082afcc
PA
202532014-04-25 Pedro Alves <palves@redhat.com>
20254
20255 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
20256 user.
20257 (top level): Test that "set remote conditional-breakpoints-packet
20258 off" works as intended.
20259 * gdb.base/dprintf.exp: Test that "set remote
20260 breakpoint-commands-packet off" works as intended.
20261 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
20262 New function.
20263 (top level): Call it.
20264 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
20265 remote fast-tracepoints-packet off" works as intended.
20266 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
20267 * lib/gdb.exp (gdb_is_target_remote): ... here.
20268
2abc3f8d
DB
202692014-04-24 David Blaikie <dblaikie@gmail.com>
20270
20271 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
20272 ensure clang would not discard them.
20273 * gdb.base/gdbvars.c: Ditto.
20274 * gdb.base/memattr.c: Ditto.
20275 * gdb.base/whatis.c: Ditto.
20276 * gdb.python/py-prettyprint.c: Ditto.
20277 * gdb.trace/actions.c: Ditto.
20278 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
20279 ensure clang would not discard it.
20280
bfd39632
DB
202812014-04-24 David Blaikie <dblaikie@gmail.com>
20282
20283 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
20284 clang to emit the full definition of type required by the test
20285 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
20286
22842ff6
DB
202872014-04-24 David Blaikie <dblaikie@gmail.com>
20288
20289 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
20290 coax Clang into emitting the definition of the type.
20291 * gdb.cp/pr10728-x.h (y): Ditto.
20292 * gdb.cp/pr10728-y.cc (y): Ditto.
20293
c2e827ad
DB
202942014-04-24 David Blaikie <dblaikie@gmail.com>
20295
20296 * gdb.base/label.exp: XFAIL label related tests under Clang.
20297 * gdb.cp/cplabel.exp: Ditto.
20298 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
20299 under Clang those using labels.
20300
4c2d33e7
YQ
203012014-04-25 Yao Qi <yao@codesourcery.com>
20302
20303 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
20304 double_label.
20305 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
20306 partial_label and double_label.
20307
56083b99
DB
203082014-04-24 David Blaikie <dblaikie@gmail.com>
20309
20310 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
20311
25d4e99d
DB
203122014-04-24 David Blaikie <dblaikie@gmail.com>
20313
20314 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
20315 of the function to work across GCC and Clang.
20316 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
20317 pointer types (const void ** const V void **).
20318
01f9f808
MS
203192014-04-24 Michael Sturm <michael.sturm@mintel.com>
20320 Walfred Tedeschi <walfred.tedeschi@intel.com>
20321
20322 * Makefile.in (EXECUTABLES): Added i386-avx512.
20323 * gdb.arch/i386-avx512.c: New file.
20324 * gdb.arch/i386-avx512.exp: Likewise.
20325
4b48d439
KS
203262014-04-23 Keith Seitz <keiths@redhat.com>
20327
20328 * lib/mi-support.exp (mi_list_breakpoints): Delete.
20329 (mi_make_breakpoint_table): New procedure.
20330 (mi_create_breakpoint): Use mi_make_breakpoint
20331 and return the result.
20332 (mi_make_breakpoint): New procedure.
20333 (mi_build_kv_pairs): New procedure.
20334
20335 * gdb.mi/mi-break.exp: Remove unused globals,
20336 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
20337 All callers updated.
20338 * gdb.mi/mi-dprintf.exp: Use variable to track command
20339 number.
20340 Update all callers of mi_create_breakpoint and use
20341 mi_make_breakpoint_table.
20342 Remove any unused global variables.
20343 * gdb.mi/mi-nonstop.exp: Likewise.
20344 * gdb.mi/mi-nsintrall.exp: Likewise.
20345 * gdb.mi/mi-nsmoribund.exp: Likewise.
20346 * gdb.mi/mi-nsthrexec.exp: Likewise.
20347 * gdb.mi/mi-reverse.exp: Likewise.
20348 * gdb.mi/mi-simplerun.exp: Likewise.
20349 * gdb.mi/mi-stepn.exp: Likewise.
20350 * gdb.mi/mi-syn-frame.exp: Likewise.
20351 * gdb.mi/mi-until.exp: Likewise.
20352 * gdb.mi/mi-var-cp.exp: Likewise.
20353 * gdb.mi/mi-var-display.exp: Likewise.
20354 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
20355 * gdb.mi/mi2-var-child.exp: Likewise.
20356 * gdb.mi/mi-vla-c99.exp: Likewise.
20357 * lib/mi-support.exp: Likewise.
20358
20359 From Ian Lance Taylor <iant@cygnus.com>:
20360 * lib/gdb.exp (parse_args): New procedure.
20361
08351840
PA
203622014-04-23 Pedro Alves <palves@redhat.com>
20363
20364 * gdb.base/break-unload-file.c: New file.
20365 * gdb.base/break-unload-file.exp: New file.
20366 * gdb.base/sym-file-lib.c (baz): New function.
20367 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
20368 field.
20369 (load): Store the segment's mapped size.
20370 (unload): New function.
20371 (unload_shlib): New function.
20372 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
20373 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
20374 set a breakpoint at baz, and call it.
20375 * gdb.base/sym-file.exp: New tests for stale breakpoint
20376 instructions.
20377
076855f9
PA
203782014-04-23 Pedro Alves <palves@redhat.com>
20379
20380 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
20381 * gdb.base/hbreak-in-shr-unsupported.c: New file.
20382 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
20383 * gdb.base/hbreak-unmapped.c: New file.
20384 * gdb.base/hbreak-unmapped.exp: New file.
20385 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
20386 * lib/gdb.exp (gdb_is_target_remote): ... here.
20387
483805cf
PA
203882014-04-22 Pedro Alves <palves@redhat.com>
20389
20390 * gdb.base/consecutive-step-over.c: New file.
20391 * gdb.base/consecutive-step-over.exp: New file.
20392
06d97543
PA
203932014-04-22 Pedro Alves <palves@redhat.com>
20394
20395 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
20396 instead of send_gdb/gdb_expect.
20397
b4429ea2
YQ
203982014-04-22 Yao Qi <yao@codesourcery.com>
20399
20400 * lib/trace-support.exp (generate_tracefile): New procedure.
20401 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
20402 return 0.
20403 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
20404 if generate_tracefile returns 1.
20405
51d48146
PA
204062014-04-18 Tom Tromey <palves@redhat.com>
20407 Pedro alves <tromey@redhat.com>
20408
20409 PR backtrace/15558
20410 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
20411 with a backtrace limit.
20412 * gdb.python/py-frame-inline.exp: Test running to an inline
20413 function with a backtrace limit, and printing the newest frame.
20414 * gdb.python/py-frame-inline.c (main): Call f.
20415
bd1dce5f
MS
204162014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
20417
20418 * gdb.java/jnpe.exp: Drop srcdir from untested path.
20419
40d1a503
MS
204202014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
20421
20422 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
20423 Drop prefix from unsupported source file path.
20424
389b98f7
YQ
204252014-04-17 Yao Qi <yao@codesourcery.com>
20426
20427 * lib/gdb.exp (with_target_charset): New proc.
20428 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
20429 with_target_charset.
20430 (test_print_strings): Likewise.
20431 (test_repeat_bytes): Likewise.
20432 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
20433 for some tests.
20434
22869d73
KS
204352014-04-16 Keith Seitz <keiths@redhat.com>
20436
20437 PR gdb/15827
20438 * gdb.dwarf2/corrupt.c: New file.
20439 * gdb.dwarf2/corrupt.exp: New file.
20440
c4f87ca6
KS
204412014-04-16 Keith Seitz <keiths@redhat.com>
20442
20443 PR c++/16597
20444 * gdb.cp/namelessclass.cc: New file.
20445 * gdb.cp/namelessclass.exp: New file.
20446 * gdb.cp/namelessclass.S: New file.
20447
ab19de87
DE
204482014-04-16 Doug Evans <dje@google.com>
20449
20450 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
20451 Add comment.
20452 (gdbserver_default_get_comm_port): New function.
20453 (gdbserver_start): Check if board file provided
20454 "gdbserver,get_comm_port" and use it if so.
20455 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
20456 (gdb,socketport): Set to "stdio".
20457 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
20458 (stdio_gdbserver_template): Delete.
20459 (${board}_get_remote_address): Update.
20460 (${board}_build_remote_cmd): Delete.
20461 (${board}_get_comm_port): New function.
20462 (${board}_spawn): Update.
20463 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
20464 Delete.
20465 (${board}_get_remote_address): Update.
20466 (${board}_get_comm_port): New function.
20467
fc98a809
AB
204682014-04-16 Andrew Burgess <aburgess@broadcom.com>
20469
20470 * gdb.base/memattr.exp: Improve regexps to handle memory regions
20471 appearing in any order.
20472
87fd9e6e
DE
204732014-04-15 Doug Evans <dje@google.com>
20474
20475 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
20476 uninitialized value of "description".
20477
099fc3ea
KS
204782014-04-15 Keith Seitz <keiths@redhat.com>
20479
20480 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
20481 Remove unused globals.
20482 (test_running_the_program): Likewise.
20483 (test_controlled_execution): Likewise.
20484 (test_controlling_breakpoints): Likewise.
20485 (test_program_termination): Likewise.
20486
5da151d4
KS
204872014-04-15 Keith Seitz <keiths@redhat.com>
20488
20489 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
20490 unused globals.
20491 (test_rbreak_creation_and_listing): Likewise.
20492 (test_ignore_count): Likewise.
20493 (test_error): Likewise.
20494
35e5d2f0
PA
204952014-04-15 Pedro Alves <palves@redhat.com>
20496
20497 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
20498 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
20499 sym-file-loader.c.
20500 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
20501 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
20502 to sym-file-loader.c.
20503 (struct library): Forward declare.
20504 (load_shlib, lookup_function): Change prototypes.
20505 (find_shstrtab, find_strtab, find_shdr, find_symtab)
20506 (translate_offset): Remove declarations.
20507 (get_text_addr): New declaration.
20508 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
20509 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
20510 sym-file-loader.h.
20511 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
20512 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
20513 here from sym-file-loader.h.
20514 (struct library): New structure.
20515 (load_shlib, lookup_function): Change prototypes and adjust to
20516 work with a struct library.
20517 (find_shstrtab, find_strtab, find_shdr, find_symtab)
20518 (translate_offset): Make static.
20519 (get_text_addr): New function.
20520 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
20521
eb4c1710
PA
205222014-04-15 Pedro Alves <palves@redhat.com>
20523
20524 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
20525
2d1baf52
PA
205262014-04-15 Pedro Alves <palves@redhat.com>
20527
20528 * gdb.base/sym-file-loader.c: Include <limits.h>.
20529 (SELF_LINK): New define.
20530 (get_origin): New function.
20531 (load_shlib): Use it.
20532 * gdb.base/sym-file.exp: Don't early return if the target is
20533 remote. Use runto_main, and issue fail is that fails. Use
20534 gdb_load_shlibs.
20535 (shlib_name): Delete.
20536 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
20537
7dd6df01
PA
205382014-04-15 Pedro Alves <palves@redhat.com>
20539
20540 * gdb.base/sym-file.exp: Remove regex characters from test
20541 message. Don't refer to breakpoint numbers in test messages.
20542
b50c8614
KS
205432014-04-14 Keith Seitz <keiths@redhat.com>
20544
20545 PR c++/16253
20546 * gdb.cp/var-tag.cc: New file.
20547 * gdb.cp/var-tag.exp: New file.
20548 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
20549 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
20550 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
20551 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
20552
3d567982
TT
205532014-04-14 Tom Tromey <tromey@redhat.com>
20554
20555 * gdb.cp/classes.exp (test_enums): Handle underlying type.
20556 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
20557 type.
20558 * gdb.cp/enum-class.exp: New file.
20559 * gdb.cp/enum-class.cc: New file.
20560
0626fc76
TT
205612014-04-14 Tom Tromey <tromey@redhat.com>
20562
20563 * gdb.dwarf2/enum-type.exp: New file.
20564
dca325b3
SA
205652014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
20566
20567 * gdb.mi/mi-vla-c99.exp: New file.
20568 * gdb.mi/vla.c: New file.
20569
5854b38a
SA
205702014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
20571
20572 * gdb.base/vla-datatypes.c: New file.
20573 * gdb.base/vla-datatypes.exp: New file.
20574
463bb957
SA
205752014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
20576
20577 * gdb.base/vla-ptr.c: New file.
20578 * gdb.base/vla-ptr.exp: New file.
20579
3dd170be
SA
205802014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
20581
20582 * gdb.dwarf2/count.exp: New file.
20583
5ecaaa66
SA
205842014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
20585
20586 * gdb.base/vla-sideeffect.c: New file.
20587 * gdb.base/vla-sideeffect.exp: New file.
20588
41f1ada5
DB
205892014-04-14 David Blaikie <dblaikie@gmail.com>
20590
20591 * gdb.mi/non-stop.c: Add return value for non-void function return
20592 statement.
20593 * gdb.threads/staticthreads.c: Ditto.
20594
0be03e84
DE
205952014-04-12 Siva Chandra Reddy <sivachandra@google.com>
20596 Doug Evans <xdje42@gmail.com>
20597
20598 * gdb.guile/scm-value.c: Improve test case.
20599 * gdb.guile/scm-value.exp: Add new test.
20600
f180a1fb
DB
206012014-04-11 David Blaikie <dblaikie@gmail.com>
20602
20603 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
20604 override Clang's default.
20605
6b662e19
JB
206062014-04-11 Joel Brobecker <brobecker@adacore.com>
20607
20608 Revert the following changes (regressions):
20609
20610 * gdb.base/vla-sideeffect.c: New file.
20611 * gdb.base/vla-sideeffect.exp: New file.
20612
20613 * gdb.dwarf2/count.exp: New file.
20614
20615 * gdb.base/vla-multi.c: New file.
20616 * gdb.base/vla-multi.exp: New file.
20617
20618 * gdb.base/vla-ptr.c: New file.
20619 * gdb.base/vla-ptr.exp: New file.
20620
20621 * gdb.base/vla-datatypes.c: New file.
20622 * gdb.base/vla-datatypes.exp: New file.
20623
20624 * gdb.mi/mi-vla-c99.exp: New file.
20625 * gdb.mi/vla.c: New file.
20626
245a5f0b
KS
206272014-04-11 Keith Seitz <keiths@redhat.com>
20628
20629 PR c++/16675
20630 * gdb.cp/cpsizeof.exp: New file.
20631 * gdb.cp/cpsizeof.cc: New file.
20632
58a84dcf
SA
206332014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20634
191a8a90
JB
20635 * gdb.mi/mi-vla-c99.exp: New file.
20636 * gdb.mi/vla.c: New file.
58a84dcf 20637
c8655f75
SA
206382014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20639
20640 * gdb.base/vla-datatypes.c: New file.
20641 * gdb.base/vla-datatypes.exp: New file.
20642
024e13b4
SA
206432014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20644
20645 * gdb.base/vla-ptr.c: New file.
20646 * gdb.base/vla-ptr.exp: New file.
20647
1a237e0e
SA
206482014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20649
20650 * gdb.base/vla-multi.c: New file.
20651 * gdb.base/vla-multi.exp: New file.
20652
504f3432
SA
206532014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20654
20655 * gdb.dwarf2/count.exp: New file.
20656
3bce8237
SA
206572014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20658
191a8a90
JB
20659 * gdb.base/vla-sideeffect.c: New file.
20660 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 20661
322f9c21
YQ
206622014-04-11 Yao Qi <yao@codesourcery.com>
20663
20664 * gdb.base/completion.exp: Check file exists before running tests
20665 on file completion.
20666
d708bcd1
PA
206672014-04-10 Pedro Alves <palves@redhat.com>
20668
20669 * gdb.base/cond-eval-mode.c: New file.
20670 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
20671 prepare_for_testing to build the new file. Check result of
20672 runto_main.
20673 (test_break, test_watch): New procedures.
20674 (top level): Use them.
20675
ae1d2761
PM
206762014-04-08 Pierre Muller <muller@sourceware.org>
20677
20678 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
20679 Ctrl-V use for mingw hosts.
20680
7af389b8
SC
206812014-04-07 Siva Chandra Reddy <sivachandra@google.com>
20682
20683 * gdb.python/py-value.c: Improve test case.
20684 * gdb.python/py-value.exp: Add new test.
20685
5e703181
DE
206862014-04-07 David Blaikie <dblaikie@gmail.com>
20687
20688 * lib/compiler.c: Identify the clang compiler.
20689 * lib/compiler.cc: Ditto.
20690
9810b410
YQ
206912014-04-03 Yao Qi <yao@codesourcery.com>
20692
20693 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
20694
98d1b8dc
AB
206952014-04-01 Anton Blanchard <anton@samba.org>
20696
20697 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
20698 messages unique.
20699
3114cea1
AB
207002014-04-01 Anton Blanchard <anton@samba.org>
20701
20702 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
20703 prepare_for_testing.
20704
62f7182c
AB
207052014-04-01 Anton Blanchard <anton@samba.org>
20706
20707 * gdb.arch/ppc64-atomic-inst.c: Remove.
20708 * gdb.arch/ppc64-atomic-inst.S: New file.
20709 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
20710
770e7fc7
DE
207112014-03-31 Doug Evans <dje@google.com>
20712
20713 * gdb.base/print-symbol-loading-lib.c: New file.
20714 * gdb.base/print-symbol-loading-main.c: New file.
20715 * gdb.base/print-symbol-loading.exp: New file.
20716
46e2bafa
YQ
207172014-03-31 Yao Qi <yao@codesourcery.com>
20718
20719 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
20720
8776cfe9
JB
207212014-03-28 Joel Brobecker <brobecker@adacore.com>
20722
20723 * gdb.ada/mi_dyn_arr: New testcase.
20724
5d1ef361
DE
207252014-03-27 Doug Evans <dje@google.com>
20726
20727 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
20728
b5bee914
YQ
207292014-03-27 Yao Qi <yao@codesourcery.com>
20730
20731 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
20732 if target is nios2-*-*.
20733
0d4d0e77
YQ
207342014-03-26 Yao Qi <yao@codesourcery.com>
20735
20736 * lib/gdb.exp (readline_is_used): New proc.
20737 * gdb.base/completion.exp: Move tests on command complete up.
20738 Skip the rest of tests if readline is not used.
20739 * gdb.ada/complete.exp: Skp the test if readline is not
20740 used.
20741 * gdb.base/filesym.exp: Likewise.
20742 * gdb.base/macscp.exp: Likewise.
20743 * gdb.base/readline-ask.exp: Likewise.
20744 * gdb.base/readline.exp: Likewise.
20745 * gdb.python/py-cmd.exp: Likewise.
20746 * gdb.trace/tfile.exp: Likewise.
20747
29361eee
YQ
207482014-03-26 Yao Qi <yao@codesourcery.com>
20749
20750 * gdb.base/macscp.exp: Fix code format issues.
20751
bc9a5525
UW
207522014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
20753
20754 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
20755 * gdb.asm/powerpc64le.inc: New file.
20756
d3839ede
PA
207572014-03-25 Pedro Alves <palves@redhat.com>
20758 Doug Evans <dje@google.com>
20759
20760 * gdb.base/source-execution.c: New file.
20761 * gdb.base/source-execution.exp: New file.
20762 * gdb.base/source-execution.gdb: New file.
20763
01672a57
DE
207642014-03-24 Doug Evans <dje@google.com>
20765
20766 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
20767 using fission.
20768
88bbeca9
HZ
207692014-03-24 Hui Zhu <hui@codesourcery.com>
20770 Pedro Alves <palves@redhat.com>
20771
20772 PR breakpoints/16101
20773 * gdb.base/dprintf.exp: Use unsupported rather than changing the
20774 test pass/fail messages. Detect missing support for dprintf when
20775 breakpoints are actually inserted.
20776 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
20777 breakpoints are actually inserted.
20778 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
20779 fails.
20780
d2348791
JK
207812014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
20782
20783 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
20784
feef67ab
DE
207852014-03-22 Doug Evans <xdje42@gmail.com>
20786
20787 * gdb.python/python.exp (python not supported): Verify multi-line
20788 python command issues an error.
25d743f9 20789 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 20790 guile command issues an error.
feef67ab 20791
ecebef6a
MR
207922014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
20793
20794 * gdb.threads/thread-specific.exp: Handle the lack of usable
20795 $this_breakpoint and $this_thread.
20796
ccdd1909
HZ
207972014-03-21 Hui Zhu <hui@codesourcery.com>
20798
20799 * gdb.base/attach.exp (do_command_attach_tests): New.
20800
beb460e8
PA
208012014-03-20 Tom Tromey <tromey@redhat.com>
20802 Pedro Alves <palves@redhat.com>
20803
20804 PR cli/15718
20805 * gdb.base/condbreak-call-false.c: New file.
20806 * gdb.base/condbreak-call-false.exp: New file.
20807
40acf43a
PA
208082014-03-20 Pedro Alves <palves@redhat.com>
20809
20810 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
20811 Delete.
20812 (block_signals, unblock_signals): Delete.
20813 (child_function_2, main): Remove references to deleted variable
20814 and functions.
20815
9f5e1e02
PA
208162014-03-20 Pedro Alves <palves@redhat.com>
20817
20818 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
20819 Use pthread_kill to signal thread 2.
20820 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
20821 Adjust to make the test send itself a signal rather than using the
20822 host's "kill" command.
20823
99619bea
PA
208242014-03-20 Pedro Alves <palves@redhat.com>
20825
20826 * gdb.threads/multiple-step-overs.c: New file.
20827 * gdb.threads/multiple-step-overs.exp: New file.
20828 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
20829 Adjust expected infrun debug output.
20830
2adfaa28
PA
208312014-03-20 Pedro Alves <palves@redhat.com>
20832
20833 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
20834 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
20835
31e77af2
PA
208362014-03-20 Pedro Alves <palves@redhat.com>
20837
20838 PR breakpoints/7143
20839 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
20840 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
20841 of gdb_test_multiple.
20842 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
20843 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
20844
b9f437de
PA
208452014-03-20 Pedro Alves <palves@redhat.com>
20846
20847 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
20848 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
20849
05adc73e
PA
208502014-03-19 Pedro Alves <palves@redhat.com>
20851
20852 * gdb.base/async.exp: Remove early return.
20853
6048b950
PA
208542014-03-19 Pedro Alves <palves@redhat.com>
20855
20856 * gdb.base/async.exp (step& tests): Pass explicit test messages.
20857
8bcfb00a
PA
208582014-03-19 Pedro Alves <palves@redhat.com>
20859
20860 * gdb.base/async.exp (test_background): Expect \r\n after
20861 "completed." in the fail pattern.
20862
884e37dc
PA
208632014-03-19 Pedro Alves <palves@redhat.com>
20864
20865 * gdb.base/async.exp (test_background): New procedure.
20866 Use it for all background execution command tests.
20867
148e57e2
PA
208682014-03-19 Pedro Alves <palves@redhat.com>
20869
20870 * gdb.base/async.exp: Use prepare_for_testing.
20871
f48088c7
PA
208722014-03-19 Pedro Alves <palves@redhat.com>
20873
20874 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
20875 the same line.
20876
e2f6c966
PA
208772014-03-19 Pedro Alves <palves@redhat.com>
20878
20879 * gdb.base/async.c (main): Add "jump here" and "until here" line
20880 marker comments.
20881 * gdb.base/async.exp (jump_here): New global.
20882 (jump& test): Use it.
20883 (until_here): New global.
20884 (until& test): Use it.
20885
c30568d4
PA
208862014-03-19 Pedro Alves <palves@redhat.com>
20887
20888 * gdb.base/async.exp: Don't frob gdb_protocol.
20889
0172b6a7
DE
208902014-03-18 Doug Evans <xdje42@gmail.com>
20891
20892 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
20893 Fix spelling of exec-done-display.
20894
06c868a8
JK
208952014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
20896
20897 PR gdb/15358
20898 * gdb.base/gdb-sigterm.c: New file.
20899 * gdb.base/gdb-sigterm.exp: New file.
20900
0c7e1a46
PA
209012014-03-18 Pedro Alves <palves@redhat.com>
20902
20903 PR gdb/13860
20904 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
20905 * lib/mi-support.exp (mi_expect_stop): Add special handling for
20906 solib-event.
20907
f7c77d93
JB
209082014-03-17 Joel Brobecker <brobecker@adacore.com>
20909
20910 * gdb.ada/pckd_arr_ren: New testcase.
20911
5a1e8c7a
DE
209122014-03-13 Doug Evans <xdje42@gmail.com>
20913
20914 PR guile/16612
20915 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
20916 collect after discarding symbols.
20917
350e1a76
DE
209182014-03-13 Ludovic Courtès <ludo@gnu.org>
20919 Doug Evans <xdje42@gmail.com>
20920
20921 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
20922 to history survives a gc.
20923
a69900ae
PA
209242014-03-13 Pedro Alves <palves@redhat.com>
20925
20926 * gdb.base/default.exp: Don't test "target procfs".
20927
5db9f0bd
PA
209282014-03-13 Pedro Alves <palves@redhat.com>
20929
20930 * gdb.base/default.exp: Update "target child" and "target procfs"
20931 tests to not expect "Unix".
20932
b3ccfe11
TT
209332014-03-12 Tom Tromey <tromey@redhat.com>
20934
20935 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
20936 New procs. Add target-async tests.
20937 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
20938 Add target-async tests.
20939
646f4417
AA
209402014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20941
20942 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
20943 'func_start' and 'func_end' for the beginning and end of the
20944 function code, respectively.
20945 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
20946 'func_end' instead of 'func' and 'main'.
20947
288c211f
AA
209482014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20949
20950 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
20951 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
20952 generate the debug info assembler source.
20953
e0c0f156
AA
209542014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20955
20956 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
20957 * gdb.dwarf2/arr-subrange.exp: Likewise.
20958 * gdb.dwarf2/dwz.exp: Likewise.
20959 * gdb.dwarf2/method-ptr.exp: Likewise.
20960 * gdb.dwarf2/missing-sig-type.exp: Likewise.
20961 * gdb.dwarf2/subrange.exp: Likewise.
20962 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
20963 * gdb.dwarf2/implptrpiece.exp: Likewise.
20964 * gdb.dwarf2/nostaticblock.exp: Likewise.
20965
0e5c4555
AA
209662014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20967
20968 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
20969 directory to absolute path name arguments.
20970
5ec18f2b
JG
209712014-03-10 Joel Brobecker <brobecker@adacore.com>
20972
20973 * gdb.ada/tagged_access: New testcase.
20974
847fc4f2
MM
209752014-03-07 Markus Metzger <markus.t.metzger@intel.com>
20976
20977 * gdb.btrace/data.exp: Update expected output.
20978
cc3da688
YQ
209792014-03-06 Yao Qi <yao@codesourcery.com>
20980
20981 * gdb.trace/pr16508.exp: New file.
20982
0f26cec1
PA
209832014-03-05 Pedro Alves <palves@redhat.com>
20984
20985 PR gdb/16575
20986 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
20987 procedure.
20988 (top level): Adjust to use it. Add tests that exercise breakpoint
20989 interaction with the code-cache.
20990
7a5a839f
LC
209912014-02-26 Ludovic Courtès <ludo@gnu.org>
20992
20993 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
20994 test for 'history-append!'.
20995
31aa7e4e
JB
209962014-02-26 Joel Brobecker <brobecker@adacore.com>
20997
20998 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
20999 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
21000 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
21001 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
21002 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
21003 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
21004
1b588015
JB
210052014-02-26 Joel Brobecker <brobecker@adacore.com>
21006
21007 * testsuite/gdb.python/py-pp-re-notag.c: New file.
21008 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
21009 * testsuite/gdb.python/py-pp-re-notag.p: New file.
21010
55426c9d
JB
210112014-02-26 Joel Brobecker <brobecker@adacore.com>
21012
21013 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
21014
dc53a7ad
JB
210152014-02-26 Joel Brobecker <brobecker@adacore.com>
21016
21017 * gdb.dwarf2/arr-stride.c: New file.
21018 * gdb.dwarf2/arr-stride.exp: New file.
21019
12ab52e9
PA
210202014-02-26 Pedro Alves <palves@redhat.com>
21021
21022 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
21023 that won't ever trigger. Make sure that GDB reports the correct
21024 breakpoint that caused the stop.
21025
849c862e
JK
210262014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
21027
21028 PR gdb/16626
21029 * gdb.base/auto-load-script: New file.
21030 * gdb.base/auto-load.c: New file.
21031 * gdb.base/auto-load.exp: New file.
21032
71b7d793
JK
21033 PR gdb/16626
21034 * gdb.base/auto-load.exp: Fix out-of-srctree run.
21035
e2f0d509
JK
210362014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
21037
21038 Fix dw2-icycle.exp -fsanitize=address GDB crash.
21039 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
21040
50cc37c8
DE
210412014-02-24 Doug Evans <dje@google.com>
21042
21043 * lib/gdb.exp (run_on_host): Log error output if program fails.
21044
ea4758f2
PA
210452014-02-21 Pedro Alves <palves@redhat.com>
21046
21047 * gdb.threads/step-after-sr-lock.c: Rename to ...
21048 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
21049 * gdb.threads/step-after-sr-lock.exp: Rename to ...
21050 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
21051 ... this.
21052
d7b30f67
SDJ
210532014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
21054
21055 PR tdep/16397
21056 * gdb.arch/amd64-stap-special-operands.exp: New file.
21057 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
21058 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
21059 * gdb.arch/amd64-stap-triplet.S: Likewise.
21060 * gdb.arch/amd64-stap-triplet.c: Likewise.
21061
83deb43f
JB
210622014-02-20 Joel Brobecker <brobecker@adacore.com>
21063
21064 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
21065 in .section pseudo-op.
21066
adde2bff
DE
210672014-02-20 lin zuojian <manjian2006@gmail.com>
21068 Joel Brobecker <brobecker@adacore.com>
21069 Doug Evans <xdje42@gmail.com>
21070
21071 PR symtab/16581
21072 * gdb.dwarf2/dw2-icycle.S: New file.
21073 * gdb.dwarf2/dw2-icycle.c: New file.
21074 * gdb.dwarf2/dw2-icycle.exp: New file.
21075
f7bd0f78
SC
210762014-02-19 Siva Chandra Reddy <sivachandra@google.com>
21077
21078 * gdb.python/py-value-cc.cc: Improve test case to enable testing
21079 operations on gdb.Value objects.
21080 * gdb.python/py-value-cc.exp: Add new test to test operations on
21081 gdb.Value objects.
21082
c17ef0d5
DE
210832014-02-18 Doug Evans <dje@google.com>
21084
21085 * Makefile.in (TESTS): New variable.
21086 (expanded_tests, expanded_tests_or_none): New variables
21087 (check-single): Pass $(expanded_tests_or_none) to runtest.
21088 (check-parallel): Only run tests in $(TESTS) if non-empty.
21089 (check/no-matching-tests-found): New rule.
21090 * README: Document TESTS makefile variable.
21091
5dd3176f
DE
210922014-02-18 Doug Evans <dje@google.com>
21093
21094 * Makefile.in (check-parallel): rm -rf outputs temp.
21095
0b10be4f
JK
210962014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
21097
21098 Fix "ERROR: no fileid for" in the testsuite.
21099 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
21100
85f224e7
DE
211012014-02-12 Doug Evans <dje@google.com>
21102
21103 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
21104 (MISCELLANEOUS): New variable.
21105 (clean): rm -rf $(MISCELLANEOUS).
21106 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
21107 dwp live in the same directory as symlinks, with each symlink pointed
21108 to a differently named file in a different directory.
21109
149b30ff
DE
211102014-02-11 Doug Evans <dje@google.com>
21111
21112 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
21113 of Tcl file commands.
21114
1dfdac32
MK
211152014-02-10 Mark Kettenis <kettenis@gnu.org>
21116
21117 * gdb.threads/step-after-sr-lock.exp: Avoid executing
21118 "kill -SIGUSR1 -1".
21119
aa4fb036
JB
211202014-02-10 Joel Brobecker <brobecker@adacore.com>
21121
21122 * gdb.ada/tick_length_array_enum_idx: New testcase.
21123
ed3ef339
DE
211242014-02-10 Doug Evans <xdje42@gmail.com>
21125
21126 * configure.ac (AC_OUTPUT): Add gdb.guile.
21127 * configure: Regenerate.
21128 * lib/gdb-guile.exp: New file.
21129 * lib/gdb.exp (get_target_charset): New function.
21130 * gdb.base/help.exp: Update expected output from "apropos apropos".
21131 * gdb.guile/Makefile.in: New file.
21132 * gdb.guile/guile.exp: New file.
21133 * gdb.guile/scm-arch.c: New file.
21134 * gdb.guile/scm-arch.exp: New file.
21135 * gdb.guile/scm-block.c: New file.
21136 * gdb.guile/scm-block.exp: New file.
21137 * gdb.guile/scm-breakpoint.c: New file.
21138 * gdb.guile/scm-breakpoint.exp: New file.
21139 * gdb.guile/scm-disasm.c: New file.
21140 * gdb.guile/scm-disasm.exp: New file.
21141 * gdb.guile/scm-equal.c: New file.
21142 * gdb.guile/scm-equal.exp: New file.
21143 * gdb.guile/scm-error.exp: New file.
21144 * gdb.guile/scm-error.scm: New file.
21145 * gdb.guile/scm-frame-args.c: New file.
21146 * gdb.guile/scm-frame-args.exp: New file.
21147 * gdb.guile/scm-frame-args.scm: New file.
21148 * gdb.guile/scm-frame-inline.c: New file.
21149 * gdb.guile/scm-frame-inline.exp: New file.
21150 * gdb.guile/scm-frame.c: New file.
21151 * gdb.guile/scm-frame.exp: New file.
21152 * gdb.guile/scm-generics.exp: New file.
21153 * gdb.guile/scm-gsmob.exp: New file.
21154 * gdb.guile/scm-iterator.c: New file.
21155 * gdb.guile/scm-iterator.exp: New file.
21156 * gdb.guile/scm-math.c: New file.
21157 * gdb.guile/scm-math.exp: New file.
21158 * gdb.guile/scm-objfile-script-gdb.in: New file.
21159 * gdb.guile/scm-objfile-script.c: New file.
21160 * gdb.guile/scm-objfile-script.exp: New file.
21161 * gdb.guile/scm-objfile.c: New file.
21162 * gdb.guile/scm-objfile.exp: New file.
21163 * gdb.guile/scm-ports.exp: New file.
21164 * gdb.guile/scm-pretty-print.c: New file.
21165 * gdb.guile/scm-pretty-print.exp: New file.
21166 * gdb.guile/scm-pretty-print.scm: New file.
21167 * gdb.guile/scm-section-script.c: New file.
21168 * gdb.guile/scm-section-script.exp: New file.
21169 * gdb.guile/scm-section-script.scm: New file.
21170 * gdb.guile/scm-symbol.c: New file.
21171 * gdb.guile/scm-symbol.exp: New file.
21172 * gdb.guile/scm-symtab-2.c: New file.
21173 * gdb.guile/scm-symtab.c: New file.
21174 * gdb.guile/scm-symtab.exp: New file.
21175 * gdb.guile/scm-type.c: New file.
21176 * gdb.guile/scm-type.exp: New file.
21177 * gdb.guile/scm-value-cc.cc: New file.
21178 * gdb.guile/scm-value-cc.exp: New file.
21179 * gdb.guile/scm-value.c: New file.
21180 * gdb.guile/scm-value.exp: New file.
21181 * gdb.guile/source2.scm: New file.
21182 * gdb.guile/types-module.cc: New file.
21183 * gdb.guile/types-module.exp: New file.
21184
7026a7c1
YQ
211852014-02-10 Yao Qi <yao@codesourcery.com>
21186
21187 PR testsuite/16543
21188 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
21189 * configure: Regenerated.
21190 * Makefile.in: New file.
21191
6c466447
AS
211922014-02-08 Andreas Schwab <schwab@linux-m68k.org>
21193
21194 * gdb.python/py-framefilter.exp: Fix typo.
21195
6e854735
YQ
211962014-02-08 Yao Qi <yao@codesourcery.com>
21197
21198 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
21199 that no =breakpoint-modified is emitted when breakpoints are
21200 modified through MI commands.
21201
d137e6dc
PA
212022014-02-07 Pedro Alves <pedro@codesourcery.com>
21203 Pedro Alves <palves@redhat.com>
21204
21205 * gdb.threads/step-after-sr-lock.c: New file.
21206 * gdb.threads/step-after-sr-lock.exp: New file.
21207
b5ee5a50
PA
212082014-02-07 Pedro Alves <palves@redhat.com>
21209
21210 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
21211
3c77faf3
JK
212122014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
21213
21214 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
21215 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
21216
6dddc817
DE
212172014-02-06 Doug Evans <xdje42@gmail.com>
21218
21219 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
21220 output.
21221
21222 * gdb.gdb/python-interrupts.exp: New file.
21223
de7b2893
YQ
212242014-02-05 Yao Qi <yao@codesourcery.com>
21225
21226 * gdb.trace/report.exp (use_collected_data): Test the output
21227 of "info threads" and "info inferiors".
21228
66d032ac
YQ
212292014-02-05 Yao Qi <yao@codesourcery.com>
21230
21231 Revert this patch:
21232
21233 2013-05-24 Yao Qi <yao@codesourcery.com>
21234
21235 * gdb.trace/tfile.exp: Test inferior and thread.
21236
591a12a1
UW
212372014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
21238
21239 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
21240 on a function.
21241 * gdb.base/step-bt.c: Call hello via function pointer to make
21242 sure its first instruction is executed on powerpc64le-linux.
21243
0ff3e01f
UW
212442014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
21245
21246 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
21247
084ee545
UW
212482014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
21249
21250 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
21251 of the test patterns for use on little-endian systems.
21252
6ed14ff3
UW
212532014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
21254
21255 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
21256 (decimal_vector): Fix for little-endian.
21257
401e27fd
JM
212582014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
21259
21260 * gdb.arch/sparc-sysstep.exp: New file.
21261 * gdb.arch/sparc-sysstep.c: Likewise.
21262
21263 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
21264
8b924729
EBM
212652014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21266
21267 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
21268
fb151210
JB
212692014-01-23 Tom Tromey <tromey@redhat.com>
21270
21271 * gdb.ada/array_char_idx: New testcase.
21272
0740f8d8
TT
212732014-01-23 Tom Tromey <tromey@redhat.com>
21274
21275 PR python/16487:
21276 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
21277 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
21278 classes.
21279
21909fa1
TT
212802014-01-23 Tom Tromey <tromey@redhat.com>
21281
21282 PR python/16491:
21283 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
21284 string from an inferior frame.
21285 * gdb.python/py-framefilter-mi.exp: Update.
21286
87ce2a04
DE
212872014-01-22 Doug Evans <dje@google.com>
21288
21289 * gdb.server/server-mon.exp: Add tests for "set debug-format".
21290
237b092b
AA
212912014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
21292
21293 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
21294
d674a709
AA
212952014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
21296
21297 * gdb.trace/entry-values.exp: Remove excess space character from
21298 regex patterns. Handle s390 call instruction.
21299
20fa3390
AA
213002014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
21301
21302 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
21303 define "*_start" label. Make "name" static.
21304 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
21305 ${name} by references to ${name}_start.
21306
78466714
AA
213072014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
21308
21309 * gdb.base/info-macros.exp: Remove "debug" from the compile
21310 options.
21311
ec9f644a
IB
213122014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
21313
21314 * gdb.dlang/demangle.exp: New file.
21315
94b1b47e
IB
213162014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
21317
21318 * gdb.dlang/primitive-types.exp: New file.
21319
7f420862
IB
213202014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
21321
21322 * configure.ac: Create gdb.dlang/Makefile.
21323 * configure: Regenerate.
21324 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
21325 * gdb.dlang/Makefile.in: New file.
21326 * lib/d-support.exp: New file.
21327 * lib/gdb.exp (skip_d_tests): New proc.
21328
52834460
MM
213292014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21330
21331 * gdb.btrace/delta.exp: Check reverse stepi.
21332 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
21333 * gdb.btrace/finish.exp: New.
21334 * gdb.btrace/next.exp: New.
21335 * gdb.btrace/nexti.exp: New.
21336 * gdb.btrace/record_goto.c: Add comments.
21337 * gdb.btrace/step.exp: New.
21338 * gdb.btrace/stepi.exp: New.
21339 * gdb.btrace/multi-thread-step.c: New.
21340 * gdb.btrace/multi-thread-step.exp: New.
21341 * gdb.btrace/rn-dl-bind.c: New.
21342 * gdb.btrace/rn-dl-bind.exp: New.
21343 * gdb.btrace/data.c: New.
21344 * gdb.btrace/data.exp: New.
21345 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
21346
6e07b1d2
MM
213472014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21348
21349 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
21350 * gdb.btrace/exception.exp: Update.
21351 * gdb.btrace/instruction_history.exp: Update.
21352 * gdb.btrace/record_goto.exp: Update.
21353 * gdb.btrace/tailcall.exp: Update.
21354 * gdb.btrace/unknown_functions.exp: Update.
21355 * gdb.btrace/delta.exp: New.
21356
0b722aec
MM
213572014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21358
21359 * gdb.btrace/record_goto.exp: Add backtrace test.
21360 * gdb.btrace/tailcall.exp: Add backtrace test.
21361
066ce621
MM
213622014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21363
21364 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
21365 * gdb.btrace/record_goto.c: New.
21366 * gdb.btrace/record_goto.exp: New.
21367 * gdb.btrace/x86-record_goto.S: New.
21368
0688d04e
MM
213692014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21370
21371 * gdb.btrace/function_call_history.exp: Update tests.
21372 * gdb.btrace/instruction_history.exp: Update tests.
21373
8710b709
MM
213742014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21375
21376 * gdb.btrace/function_call_history.exp: Fix expected field
21377 order for "record function-call-history".
21378 Add new tests for "record function-call-history /c".
21379 * gdb.btrace/exception.cc: New.
21380 * gdb.btrace/exception.exp: New.
21381 * gdb.btrace/tailcall.exp: New.
21382 * gdb.btrace/x86-tailcall.S: New.
21383 * gdb.btrace/x86-tailcall.c: New.
21384 * gdb.btrace/unknown_functions.c: New.
21385 * gdb.btrace/unknown_functions.exp: New.
21386 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
21387
5de9129b
MM
213882014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21389
21390 * gdb.btrace/instruction_history.exp: Update.
21391 * gdb.btrace/function_call_history.exp: Update.
21392
23a7fe75
MM
213932014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21394
21395 * gdb.btrace/function_call_history.exp: Fix expected function
21396 trace.
21397 * gdb.btrace/instruction_history.exp: Initialize traced.
21398 Remove traced_functions.
21399
724c7dd8
MM
214002014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21401
21402 * gdb.btrace/function_call_history.exp: Update
21403 * gdb.btrace/instruction_history.exp: Update.
21404
6d78d93b
MM
214052014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21406
21407 * gdb.btrace/enable.exp: Update expected text.
21408
93a360cc
OJ
214092014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
21410
21411 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
21412 bytes.
21413
3772b53f
MR
214142014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
21415
21416 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
21417
596662fa
OJ
214182014-01-15 Omair Javaid <omair.javaid@linaro.org>
21419
21420 * lib/gdb.exp (supports_process_record): Return true for
21421 arm*-linux*. (supports_reverse): Likewise.
21422
b5b08fb4
SC
214232014-01-13 Siva Chandra Reddy <sivachandra@google.com>
21424
21425 PR python/15464
21426 PR python/16113
21427 * gdb.python/py-type.c: Enhance test case.
21428 * gdb.python/py-value-cc.cc: Likewise
21429 * gdb.python/py-type.exp: Add new tests.
21430 * gdb.python/py-value-cc.exp: Likewise
21431
52d7fb13
AA
214322014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
21433 Pedro Alves <palves@redhat.com>
21434
21435 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
21436 Make "name" extern.
21437 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
21438 references to ${name}_start by references to ${name}.
21439
a2cd8cfe
JB
214402014-01-10 Joel Brobecker <brobecker@adacore.com>
21441
21442 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
21443
4e23fced
JB
214442014-01-10 Joel Brobecker <brobecker@adacore.com>
21445
21446 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
21447
c6a9e42c
PA
214482014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
21449 Pedro Alves <palves@redhat.com>
21450
21451 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 21452 mi_gdb_target_load.
c6a9e42c 21453
b7ea362b
PA
214542014-01-08 Pedro Alves <palves@redhat.com>
21455
21456 * gdb.threads/reconnect-signal.c: New file.
21457 * gdb.threads/reconnect-signal.exp: New file.
21458
5e3f4fab
EBM
214592014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
21460
21461 * gdb.base/source-dir.exp: New file.
21462
79301218
JB
214632014-01-07 Joel Brobecker <brobecker@adacore.com>
21464
21465 * gdb.ada/mi_interface: New testcase.
21466
8e355c5d
JB
214672014-01-07 Joel Brobecker <brobecker@adacore.com>
21468
21469 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
21470 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
21471 gdb.ada/pp-rec-component/pck.ads: New files.
21472
c0d48811
JB
214732014-01-07 Joel Brobecker <brobecker@adacore.com>
21474
21475 * gdb.python/py-pp-integral.c: New file.
21476 * gdb.python/py-pp-integral.py: New file.
21477 * gdb.python/py-pp-integral.exp: New file.
21478
17b609c3 21479For older changes see ChangeLog-1993-2013.
c906108c 21480\f
8d8cb839
EZ
21481;; Local Variables:
21482;; mode: change-log
21483;; left-margin: 8
21484;; fill-column: 74
21485;; version-control: never
21486;; End:
902f2ccb 21487
b811d2c2 21488 Copyright 2014-2020 Free Software Foundation, Inc.
902f2ccb
MC
21489 Copying and distribution of this file, with or without modification,
21490 are permitted provided the copyright notice and this notice are preserved.
This page took 4.272695 seconds and 4 git commands to generate.