]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
gdb: Restructure the completion_tracker class
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
d8c8b848
TV
12020-03-19 Tom de Vries <tdevries@suse.de>
2
3 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
4 more precise.
5
a9933ccf
TV
62020-03-18 Tom de Vries <tdevries@suse.de>
7
8 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
9 * gdb.dwarf2/break-inline-psymtab.c: New test.
10 * gdb.dwarf2/break-inline-psymtab.exp: New file.
11
2f89101f
TV
122020-03-16 Tom de Vries <tdevries@suse.de>
13
14 * lib/cache.exp (gdb_do_cache): Add and handle local variables
15 cache_verify and cache_verify_proc.
16
6b9374f1
TV
172020-03-15 Tom de Vries <tdevries@suse.de>
18
19 * gdb.server/solib-list.exp: Handle
20 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
21
eaeaf44c
TV
222020-03-15 Tom de Vries <tdevries@suse.de>
23
24 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
25 objfiles".
26
3293bbaf
TT
272020-03-14 Tom Tromey <tom@tromey.com>
28
29 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
30
ab44624c
TV
312020-03-14 Tom de Vries <tdevries@suse.de>
32
33 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
34
54c43825
TV
352020-03-14 Tom de Vries <tdevries@suse.de>
36
37 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
38 result in line-by-line fashion.
39
2ac70237
TV
402020-03-14 Tom de Vries <tdevries@suse.de>
41
42 * lib/gdb.exp (supports_statement_frontiers): New proc.
43 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
44
09546b56
TV
452020-03-14 Tom de Vries <tdevries@suse.de>
46
47 * gdb.base/printcmds.exp: Add missing quoting for "print
48 teststring2".
49
a1f6a07c
TT
502020-03-13 Tom Tromey <tom@tromey.com>
51
52 * gdb.base/printcmds.exp (test_print_strings): Add regression
53 test.
54 * gdb.base/printcmds.c (charptr): New typedef.
55 (teststring2): New global.
56
1b83d09c
AB
572020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
58
59 * gdb.base/break-interp.exp: Use the tail of the filename, not the
60 full path in the test name.
61 (test_ld): Add some with_test_prefix blocks to make test names
62 unique.
63
2d61316c
TV
642020-03-13 Tom de Vries <tdevries@suse.de>
65
66 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
67
2e9145ac
TV
682020-03-13 Tom de Vries <tdevries@suse.de>
69
70 * gdb.mi/mi-sym-info.exp: Make matching more precise.
71
96c7f873
TV
722020-03-13 Tom de Vries <tdevries@suse.de>
73
74 PR symtab/25646
75 * gdb.dwarf2/imported-unit.exp: Add test.
76
49ba92c0
TV
772020-03-13 Tom de Vries <tdevries@suse.de>
78
79 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
80 (var1, var2): New variable.
81 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
82 matching symbols.
83
301b21e0
TV
842020-03-13 Tom de Vries <tdevries@suse.de>
85
86 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
87 (Term::command): Use prompt prefix.
88 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
89 * gdb.tui/tui-layout-asm-short-prog.exp: Use
90 command_no_prompt_prefix instead of prefix.
91 * gdb.tui/tui-layout-asm.exp: Same.
92
3f512721
SM
932020-03-12 Simon Marchi <simon.marchi@efficios.com>
94
95 * gdb.base/break-interp.exp: Use foreach_with_prefix.
96
40310f30
SM
972020-03-12 Simon Marchi <simon.marchi@efficios.com>
98
99 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
100 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
101 on" while stepping over the test instruction, match printed
102 message.
103
09252140
TV
1042020-03-12 Tom de Vries <tdevries@suse.de>
105
106 * gdb.base/info-types.exp: Use exp_continue during matching of output
107 of "info types".
108
14e9c72c
TV
1092020-03-12 Tom de Vries <tdevries@suse.de>
110
111 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
112
e515d67e
TV
1132020-03-12 Tom de Vries <tdevries@suse.de>
114
115 * gdb.fortran/module.exp: Use exp_continue during matching of output
116 of "info variable -n".
117
307eafd8
TV
1182020-03-12 Tom de Vries <tdevries@suse.de>
119
120 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
121 gdb.dwarf2/dw2-ranges-base.c.
122
9a2de3fc
TV
1232020-03-12 Tom de Vries <tdevries@suse.de>
124
125 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
126 in presence of GLIBC debuginfo.
127
3217502e
TV
1282020-03-12 Tom de Vries <tdevries@suse.de>
129
130 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
131 $core.
132
1281424c
TV
1332020-03-12 Tom de Vries <tdevries@suse.de>
134
135 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
136 more precise.
137
038b97fc
SM
1382020-03-11 Simon Marchi <simon.marchi@efficios.com>
139
140 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
141 from Unix to Windows path.
142
5308d1e7
TV
1432020-03-11 Tom de Vries <tdevries@suse.de>
144
145 * gdb.ada/minsyms.exp: Set language to ada.
146
f870f78f
TV
1472020-03-11 Tom de Vries <tdevries@suse.de>
148
149 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
150
5a13315d
TV
1512020-03-11 Tom de Vries <tdevries@suse.de>
152
153 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
154
976862ed
TT
1552020-03-11 Tom Tromey <tromey@adacore.com>
156
157 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
158
7462c383
TV
1592020-03-11 Tom de Vries <tdevries@suse.de>
160
161 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
162
1c6c46a0
TV
1632020-03-11 Tom de Vries <tdevries@suse.de>
164
165 * gdb.base/break-interp.exp: Limit verbose scope.
166
44f41bb7
TV
1672020-03-11 Tom de Vries <tdevries@suse.de>
168
169 * gdb.fortran/logical.f90: Define variable with character type.
170 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
171
b76f3a42
TV
1722020-03-11 Tom de Vries <tdevries@suse.de>
173
174 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
175
1c33af77
TV
1762020-03-11 Tom de Vries <tdevries@suse.de>
177
178 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
179 symtabs.
180
8c95582d
AB
1812020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
182 Bernd Edlinger <bernd.edlinger@hotmail.de>
183
184 * gdb.cp/step-and-next-inline.cc: New file.
185 * gdb.cp/step-and-next-inline.exp: New file.
186 * gdb.cp/step-and-next-inline.h: New file.
187 * gdb.dwarf2/dw2-is-stmt.c: New file.
188 * gdb.dwarf2/dw2-is-stmt.exp: New file.
189 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
190 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
191 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
192
cecf8547
AB
1932020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
194
195 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
196 is-stmt flag in the line table.
197
0ba678c9
TV
1982020-03-09 Tom de Vries <tdevries@suse.de>
199
200 * lib/gdb.exp (cached_file): Create cache dir.
201
72fbdf83
TV
2022020-03-07 Tom de Vries <tdevries@suse.de>
203
204 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
205 * gdb.cp/rvalue-ref-params.exp: Same.
206
436b5e99
TV
2072020-03-06 Tom de Vries <tdevries@suse.de>
208
209 * lib/gdb.exp (tentative_rename, cached_file): New proc.
210 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
211
09f2921c
TV
2122020-03-06 Tom de Vries <tdevries@suse.de>
213
214 * README: Fix "the the".
215 * gdb.base/dprintf.exp: Same.
216
50a3cc5d
TV
2172020-03-05 Tom de Vries <tdevries@suse.de>
218
219 * gdb.base/maint.exp: Update "main print statistics" expected output.
220
0a709cba
AKS
2212020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
222
223 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
224 (fortran_int8): Likewise.
225 (fortran_real4): Likewise.
226 (fortran_real8): Likewise.
227 (fortran_complex4): Likewise.
228 (fortran_logical4): Likewise.
229 (fortran_character1): Likewise.
230
5e5d66b6
AB
2312020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
232
233 * gdb.fortran/logical.exp: Add tests that any non-zero value is
234 printed as true.
235
7b973adc
SDJ
2362020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
237
238 * gdb.base/printcmds.exp: Add test to verify printf of a
239 variable holding an address.
240
478e490a
TV
2412020-03-03 Tom de Vries <tdevries@suse.de>
242
243 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
244
1ef44e86
TV
2452020-03-03 Tom de Vries <tdevries@suse.de>
246
247 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
248 gdb_test_multiple call.
249
b98cc2cf
TV
2502020-03-03 Tom de Vries <tdevries@suse.de>
251
252 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
253 gdb_test_multiple calls.
254
63e163f2
AB
2552020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
256
257 * gdb.base/default.exp: Remove test of 'set history filename'.
258 * gdb.base/gdbinit-history.exp: Add tests for setting the history
259 filename to the empty string.
260 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
261 and GDBHISTSIZE.
262
24ed6739
AB
2632020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
264
265 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
266 disabled.
267
590003dc
TV
2682020-03-02 Pedro Alves <palves@redhat.com>
269 Tom de Vries <tdevries@suse.de>
270
271 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
272 -prompt prefix, before user_code argument. Add -lbl option likewise.
273 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
274 (gdb_is_target_1): Add -prompt prefix and move to before user_code
275 argument.
276 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
277 have "\r\n" at start-of-line, instead of at end-of-line.
278
f5e46084
SM
2792020-02-28 Simon Marchi <simon.marchi@efficios.com>
280
281 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
282 libinproctrace.so.
283
f7a7000d
LM
2842020-02-28 Luis Machado <luis.machado@linaro.org>
285
286 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
287 to "p/x".
288
718e0816
LM
2892020-02-28 Luis Machado <luis.machado@linaro.org>
290
291 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
292 asm/ptrace.h and error.h.
293
13c3a74a
TV
2942020-02-28 Tom de Vries <tdevries@suse.de>
295
296 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
297 (struct wrapper, do_something, mundane/symada__cS): Move ...
298 * gdb.base/c-linkage-name-2.c: ... here. New source file.
299 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
300 Update "print symada__cS before partial symtab expansion" regexp.
301 Update breakpoint location. Flush symbol cache after expansion.
302
85d2d5bb
LM
3032020-02-28 Luis Machado <luis.machado@linaro.org>
304
305 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
306
3608f86c
TV
3072020-02-27 Tom de Vries <tdevries@suse.de>
308
309 * config/sid.exp: Remove unused globals.
310 * gdb.base/attach.exp: Same.
311 * gdb.base/catch-load.exp: Same.
312 * gdb.base/dbx.exp: Same.
313 * lib/gdb.exp: Same.
314 * lib/mi-support.exp: Same.
315 * lib/prompt.exp: Same.
316
c8d4f6df
TV
3172020-02-27 Tom de Vries <tdevries@suse.de>
318
319 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
320 not set.
321
0d79cdc4
AM
3222020-02-26 Aaron Merey <amerey@redhat.com>
323
324 * gdb.debuginfod: New directory for debuginfod tests.
325 * gdb.debuginfod/main.c: New test file.
326 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
327
0dce4280
TV
3282020-02-26 Tom de Vries <tdevries@suse.de>
329
330 PR gdb/25603
331 * gdb.base/persistent-lang.cc: New test.
332 * gdb.base/persistent-lang.exp: New file.
333
9e80cfa1
AB
3342020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
335
336 * gdb.fortran/derived-type-striding.exp: Add a new test.
337 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
338 new test.
339
2078dbb2
AB
3402020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
341
342 * gdb.base/cached-source-file.exp: Avoid source file paths in test
343 names.
344
70d49700
TV
3452020-02-25 Tom de Vries <tdevries@suse.de>
346
347 PR go/18926
348 * gdb.go/methods.exp: Remove gcc/93866 xfail.
349
a88ef40d
TV
3502020-02-24 Tom de Vries <tdevries@suse.de>
351
352 PR gdb/25592
353 * gdb.base/info-locals-unused-static-var.c: New test.
354 * gdb.base/info-locals-unused-static-var.exp: New file.
355
01b1af32
TT
3562020-02-22 Tom Tromey <tom@tromey.com>
357
358 * gdb.python/tui-window.exp: New file.
359 * gdb.python/tui-window.py: New file.
360
7c043ba6
TT
3612020-02-22 Tom Tromey <tom@tromey.com>
362
363 PR tui/17850:
364 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
365 tests.
366
c22fef7e
TT
3672020-02-22 Tom Tromey <tom@tromey.com>
368
369 * gdb.tui/new-layout.exp: Add sub-layout tests.
370
ee325b61
TT
3712020-02-22 Tom Tromey <tom@tromey.com>
372
373 * gdb.tui/new-layout.exp: New file.
374
3f0cbb04
TT
3752020-02-22 Tom Tromey <tom@tromey.com>
376
377 * gdb.rust/rust-style.rs: New file.
378 * gdb.rust/rust-style.exp: New file.
379 * gdb.base/style.exp: Test structure printing.
380 * gdb.base/style.c (struct some_struct): New type.
381 (enum etype): New type.
382 (struct_value): New global.
383
75525152
TV
3842020-02-21 Tom de Vries <tdevries@suse.de>
385
386 PR go/18926
387 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
388 Remove blanket xfails. Use message argument for gdb_breakpoint.
389 Make continuing to breakpoint test conditional on setting breakpoint.
390 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
391 DW_AT_name attribute. Add xfail for GCC PR93866.
392
bd360d30
AB
3932020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
394
395 * gdb.dwarf2/cpp-linkage-name.c: New file.
396 * gdb.dwarf2/cpp-linkage-name.exp: New file.
397
c7adb09f 3982020-02-21 Shahab Vahedi <shahab@synopsys.com>
24ac169a
SV
399
400 * lib/gdb.exp (gdb_wrapper_init): Reset
401 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
402 not exist.
403
a9c79803
TV
4042020-02-20 Tom de Vries <tdevries@suse.de>
405
406 PR go/17018
407 * gdb.go/hello.exp: Copy ...
408 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
409 print of st to print value of global definition. Add xfail for GCC
410 PR93844.
411 * gdb.go/hello.exp: Remove printing of st before definition.
412 * gdb.go/hello.go: Copy ...
413 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
414 to st.
415 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
416
d7445728
TV
4172020-02-20 Tom de Vries <tdevries@suse.de>
418
419 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
420 (gdb_simple_compile): Handle compile_flags go by using .go extension
421 for source file.
422 * gdb.go/chan.exp: Use support_go_compile.
423 * gdb.go/handcall.exp: Same.
424 * gdb.go/hello.exp: Same.
425 * gdb.go/integers.exp: Same.
426 * gdb.go/max-depth.exp: Same.
427 * gdb.go/methods.exp: Same.
428 * gdb.go/package.exp: Same.
429 * gdb.go/strings.exp: Same.
430 * gdb.go/types.exp: Same.
431 * gdb.go/unsafe.exp: Same.
432
c9c41e6d
TV
4332020-02-19 Tom de Vries <tdevries@suse.de>
434
435 * gdb.python/lib-types.exp: Make xfail more strict.
436
f20ff837
TV
4372020-02-19 Tom de Vries <tdevries@suse.de>
438
439 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
440
08410482
DE
4412020-02-19 Doug Evans <dje@google.com>
442
443 PR rust/25535
444 * gdb.rust/simple.exp: Add test.
445 * gdb.rust/simple.rs: Add test.
446
623563f7
TV
4472020-02-19 Tom de Vries <tdevries@suse.de>
448
449 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
450 output line-by-line.
451
d3308cfd
TV
4522020-02-19 Tom de Vries <tdevries@suse.de>
453
454 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
455
86cbc5dc
TV
4562020-02-19 Tom de Vries <tdevries@suse.de>
457
458 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
459 prelink.
460
9db2b96b
TV
4612020-02-19 Tom de Vries <tdevries@suse.de>
462
463 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
464 (gdb_do_cache): Use gdb_do_cache_wrap.
465 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
466
89e2fdc5
TV
4672020-02-19 Tom de Vries <tdevries@suse.de>
468
469 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
470 gdb_compile option.
471
373d7ac0
SM
4722020-02-18 Simon Marchi <simon.marchi@efficios.com>
473
474 * gdb.base/printcmds.exp (test_print_enums): Update expected
475 output.
476
b29a2df0
SM
4772020-02-18 Simon Marchi <simon.marchi@efficios.com>
478
479 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
480 for "unknown".
481
6740f0cc
SM
4822020-02-18 Simon Marchi <simon.marchi@efficios.com>
483
484 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
485 enumerator.
486
edd45eb0
SM
4872020-02-18 Simon Marchi <simon.marchi@efficios.com>
488
489 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
490 FE_, add FE_NONE.
491 (three): Update.
492 (enum flag_enum_without_zero): New enum.
493 (flag_enum_without_zero): New variable.
494 (enum not_flag_enum): New enum.
495 (three_not_flag): New variable.
496 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
497 (test_print_enums): Add more tests for printing flag enums.
498
d4295de4
TV
4992020-02-18 Tom de Vries <tdevries@suse.de>
500
501 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
502 (gdb_compile_ada): ... here.
503 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
504 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
505
f251f505
TT
5062020-02-14 Tom Tromey <tom@tromey.com>
507
508 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
509 build directory.
510 * boards/gdbserver-base.exp: Update path to gdbserver.
511
8f432634
TV
5122020-02-13 Tom de Vries <tdevries@suse.de>
513
514 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
515
92b6eaf7
TV
5162020-02-13 Tom de Vries <tdevries@suse.de>
517
518 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
519 are missing.
520
f3b0f7fe
TV
5212020-02-13 Tom de Vries <tdevries@suse.de>
522
523 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
524 call.
525
f6be8713
SDJ
5262020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
527
528 PR tui/25126
529 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
530 * gdb.base/cached-source-file.c: New file.
531 * gdb.base/cached-source-file.exp: New file.
532
b2770d5e
TV
5332020-02-11 Tom de Vries <tdevries@suse.de>
534
535 PR testsuite/25488
536 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
537
44f6938e
TV
5382020-02-10 Tom de Vries <tdevries@suse.de>
539
540 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
541
5f0e2eb7
MR
5422020-02-10 Maciej W. Rozycki <macro@wdc.com>
543
544 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
545 and $after_addr are both integers before making a comparison.
546
46ce2b6f
TV
5472020-02-09 Tom de Vries <tdevries@suse.de>
548
549 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
550 command output and paste it into gdb.log. If any, paste catch message
551 to gdb.log.
552
5abbbe1d
TT
5532020-02-07 Tom Tromey <tromey@adacore.com>
554
555 PR breakpoints/24915:
556 * gdb.base/annotate-symlink.exp: Use setup_xfail.
557
1d5d29e7
SV
5582020-02-06 Shahab Vahedi <shahab@synopsys.com>
559
560 * gdb.tui/tui-missing-src.exp: Add the "missing source
561 file" test for the TUI.
562
b0999b9b
AB
5632020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
564
565 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
566 including a port number in the output.
567
c3b149eb
AKS
5682020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
569
570 * lib/fortran.exp (fortran_int4): Handle clang.
571 (fortran_int8): Likewise.
572 (fortran_real4): Likewise.
573 (fortran_real8): Likewise.
574 (fortran_complex4): Likewise.
575 (fortran_logical4): Likewise.
576 (fortran_character1): Likewise.
577
f8dcc90b
TV
5782020-02-04 Tom de Vries <tdevries@suse.de>
579
580 * README (Race detection): Add note.
581
f90ac7c2
TV
5822020-02-04 Tom de Vries <tdevries@suse.de>
583
584 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
585
780636ae
TV
5862020-02-04 Tom de Vries <tdevries@suse.de>
587
588 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
589
5d2e1193
RA
5902020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
591
592 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
593 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
594 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
595 blttar, bnetarl.
596 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
597 binary for blttar, bnetarl.
598 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
599 wait instruction. Delete ldmx test.
600 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
601
e409c542
AKS
6022020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
603
604 * gdb.fortran/array-bounds-high.exp: New file.
605 * gdb.fortran/array-bounds-high.f90: New file.
606
b0029748
LD
6072020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
608
609 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
610 Replace #include of <sys/fcntl.h> by <fcntl.h>.
611
195a8287
TV
6122020-02-01 Tom de Vries <tdevries@suse.de>
613
614 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
615
42330a68
AB
6162020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
617
618 PR tui/9765
619 * gdb.tui/tui-layout-asm-short-prog.S: New file.
620 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
621
b62a8028
LM
6222020-01-29 Luis Machado <luis.machado@linaro.org>
623
624 * gdb.arch/aarch64-brk-patterns.c: New source file.
625 * gdb.arch/aarch64-brk-patterns.exp: New test.
626
5f440116
TBA
6272020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
628
629 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
630 GCC/Clang version.
631 * gdb.cp/pass-by-ref.exp: Ditto.
632
ee2a6fc6
TV
6332020-01-29 Tom de Vries <tdevries@suse.de>
634
635 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
636 * gdb.threads/watchpoint-fork-mt.c: Same.
637 * gdb.threads/watchpoint-fork-parent.c: Same.
638 * gdb.threads/watchpoint-fork-st.c: Same.
639 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
640
16b10d6e
LM
6412020-01-27 Luis Machado <luis.machado@linaro.org>
642
643 * gdb.base/step-over-syscall.exp (setup): Check if we're already
644 sitting at a syscall instruction when we hit the syscall function's
645 breakpoint.
646 Check PC against one obtained with the x command.
647 Validate syscall number.
648 (step_over_syscall): Don't continue to the syscall instruction if
649 we're already there.
650
b1468492
PW
6512020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
652
653 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
654
7ffa82e1
AB
6552020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
656
657 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
658 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
659
3d92a3e3
AB
6602020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
661
662 * gdb.dwarf2/dw2-inline-stepping.c: New file.
663 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
664
94a72be7
AB
6652020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
666
667 * gdb.base/maint.exp: Update line table parsing test.
668 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
669
53af73bf
PA
6702020-01-24 Pedro Alves <palves@redhat.com>
671
672 PR gdb/25410
673 * gdb.multi/multi-re-run-1.c: New.
674 * gdb.multi/multi-re-run-2.c: New.
675 * gdb.multi/multi-re-run.exp: New.
676
1ba1ac88
AB
6772020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
678
679 PR gdb/23718
680 * gdb.server/server-kill-python.exp: New file.
681
f3364a6d
AB
6822020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
683
684 * gdb.server/multi-ui-errors.c: New file.
685 * gdb.server/multi-ui-errors.exp: New file.
686
733d0a67
AB
6872020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
688
689 PR tui/9765
690 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
691
4f13c1c0
TT
6922020-01-19 Tom Tromey <tom@tromey.com>
693
694 * gdb.tui/main.exp: Add check for plain "file".
695
40c94099
CB
6962020-01-16 Christian Biesinger <cbiesinger@google.com>
697
698 * lib/gdb.exp: Fix spelling error (seperatelly).
699
ff47f4f0
TT
7002020-01-14 Tom Tromey <tom@tromey.com>
701
702 PR symtab/12535:
703 * gdb.python/python.exp: Test decode_line with empty string
704 argument.
705
717c684d
BE
7062020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
707
708 * gdb.base/skip-inline.exp: Extend test.
709
44e4c775
AB
7102020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
711
712 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
713 * gdb.dwarf2/dw2-bad-elf.c: New file.
714 * gdb.dwarf2/dw2-bad-elf.exp: New file.
715
d93c6db7
AB
7162020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
717
718 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
719 _line_saw_file.
720
9a6d629c
AB
7212020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
722
723 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
724 border.
725
d9ebdab7
TBA
7262020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
727
728 * gdb.multi/multi-target.exp (setup): Factor out "info
729 connections" and "info inferiors" tests to ...
730 (test_info_inferiors): ... this new procedure.
731 (top level): Run new "info-inferiors" tests.
732
f3c469b9
PA
7332020-01-10 Pedro Alves <palves@redhat.com>
734
735 * gdb.server/bkpt-other-inferior.exp: New file.
736
121b3efd
PA
7372020-01-10 Pedro Alves <palves@redhat.com>
738
739 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
740 of "add-inferior".
741 * gdb.base/quit-live.exp: Likewise.
742 * gdb.base/remote-exec-file.exp: Likewise.
743 * gdb.guile/scm-progspace.exp: Likewise.
744 * gdb.linespec/linespec.exp: Likewise.
745 * gdb.mi/new-ui-mi-sync.exp: Likewise.
746 * gdb.mi/user-selected-context-sync.exp: Likewise.
747 * gdb.multi/multi-target.exp (setup): Add "info connection" and
748 "info inferiors" tests.
749 * gdb.multi/remove-inferiors.exp: Adjust expected output of
750 "add-inferior".
751 * gdb.multi/watchpoint-multi.exp: Likewise.
752 * gdb.python/py-inferior.exp: Likewise.
753 * gdb.server/extended-remote-restart.exp: Likewise.
754 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
755 "info inferiors".
756 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
757 * gdb.trace/report.exp: Likewise.
758
1dadb1dd
PA
7592020-01-10 Pedro Alves <palves@redhat.com>
760
761 * gdb.multi/multi-target.c: New file.
762 * gdb.multi/multi-target.exp: New file.
763 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
764 mode requested, but remote does not support non-stop".
765
78f2c40a
PA
7662020-01-10 Pedro Alves <palves@redhat.com>
767
768 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
769 disconnect before reconnecting.
770
e7af6c70
TBA
7712020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
772 Pedro Alves <palves@redhat.com>
773
774 * gdb.server/connect-without-multi-process.exp: Also test
775 continuing to end.
776
acdf84a6
PA
7772020-01-10 Pedro Alves <palves@redhat.com>
778
779 * gdb.base/remote-exec-file.exp: New file.
780
873657b9
PA
7812020-01-10 Pedro Alves <palves@redhat.com>
782
783 * gdb.base/fork-running-state.exp (do_test): Adjust expected
784 output.
785 * gdb.threads/async.c: New.
786 * gdb.threads/async.exp: New.
787 * gdb.multi/tids-gid-reset.c: New.
788 * gdb.multi/tids-gid-reset.exp: New.
789
7f0ae84c
GB
7902020-01-10 George Barrett <bob@bob131.so>
791
792 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
793 to help in finding the image relocation offset.
794 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
795 options in arguments.
796 (stap_test_no_debuginfo): Likewise.
797 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
798 test variants.
799 (stap_test): Add null semaphore relocation test.
800
47e9d49d
GB
8012020-01-10 George Barrett <bob@bob131.so>
802
803 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
804 * gdb.base/stap-probe.exp: Likewise.
805 (stap_test): Pass argument as an additional flag.
806 (stap_test_no_debuginfo): Likewise.
807 (stap_test): Check `info probes stap' output for semaphore
808 addresses if the test binary is supposed to have them.
809
f5a7c406
AB
8102020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
811
812 * gdb.tui/basic.exp: Add more scrolling tests.
813
9ae6bf64
TT
8142020-01-09 Tom Tromey <tom@tromey.com>
815
816 PR tui/18932:
817 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
818 meangingful value.
819 (Term::command, Term::resize): Update.
820 * gdb.tui/basic.exp: Add scrolling test.
821
b2efe70c
AB
8222020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
823
824 * gdb.tui/tui-layout-asm.exp: New file.
825
3804da7e
AB
8262020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
827
828 * lib/tuiterm.exp (Term::check_box_contents): New proc.
829
b40aa28f
AB
8302020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
831
832 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
833 (Term::enter_tui): Use Term::prepare_for_tui.
834
63ffd7c9
AB
8352020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
836
837 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
838 called.
839
3be966f6
AB
8402020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
841
842 * gdb.base/skip.exp: Fix race condition in test.
843
153d79c4
AB
8442020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
845
846 * gdb.base/backtrace.c: New file.
847 * gdb.base/backtrace.exp: New file.
848
f2302a34
AB
8492020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
850
851 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
852
6ec1d75e
PW
8532020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
854
855 * gdb.base/style.exp: Test that warnings are styled.
856
c296cbe6
BE
8572019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
858
859 * gdb.base/line65535.exp: New file.
860 * gdb.base/line65535.c: New file.
861
b28a729d
SM
8622019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
863
864 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
865 * lib/gnat_debug_info_test.adb: New file.
866 * gdb.ada/ptype_tagged_param.exp: Use
867 gnat_runtime_has_debug_info, expect a different output if
868 runtime does not have debug info.
869
7f2d7a0d
SM
8702019-12-20 Simon Marchi <simon.marchi@efficios.com>
871
872 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
873 (another) quote in test name.
874
f3bce483
SM
8752019-12-20 Simon Marchi <simon.marchi@efficios.com>
876
877 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
878 Add quote in test name.
879
c855a912
TBA
8802019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
881
882 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
883 directory instead.
884 * gdb.cp/pass-by-ref.exp: Extend with more cases.
885 * gdb.cp/pass-by-ref-2.cc: New file.
886 * gdb.cp/pass-by-ref-2.exp: New file.
887
fc9d2d72
TT
8882019-12-20 Tom Tromey <tom@tromey.com>
889
890 * gdb.tui/list-before.exp: New file.
891
77b97e00
TT
8922019-12-20 Tom Tromey <tom@tromey.com>
893
894 * gdb.tui/list.exp: Check for source on initial listing.
895
f69656d0
TT
8962019-12-11 Tom Tromey <tromey@adacore.com>
897
898 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
899 Add crlf test.
900
99a55965
SM
9012019-12-18 Simon Marchi <simon.marchi@efficios.com>
902
903 * gdb.base/default.exp: Update value of $_gdb_major.
904
5024637f
BE
9052019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
906
907 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
908
b63634be
BE
9092019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
910
911 * gdb.base/skip.exp: Whitespace fix.
912
45d73523
BE
9132019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
914
915 * gdb.base/skip-inline.c: New file.
916 * gdb.base/skip-inline.exp: New file.
917
d043f8c8
SM
9182019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
919
920 * gdb.base/jit-reader.exp (jit_reader_test): Rename
921 jit_function_00 to jit_function_stack_mangle.
922 * gdb.base/jithost.c (jit_function_t): Rename to...
923 (jit_function_stack_mangle_t): ... this.
924 (jit_function_add_t): New typedef.
925 (jit_function_00_code): Rename to...
926 (jit_function_stack_mangle_code): ... this, make static.
927 (jit_function_add_code): New.
928 (main): Generate "add" function and call it. Adjust to changes
929 in jithost_abi.
930 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
931 (struct jithost_abi) <begin, end>: Remove fields.
932 <object, function_stack_mangle, function_add>: New fields.
933 * gdb.base/jitreader.c (struct reader_state) <code_begin,
934 code_end>: Remove fields.
935 <func_stack_mangle>: New field.
936 (read_debug_info): Adjust to renaming, create block for "add"
937 function.
938 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
939
873de05c
TT
9402019-12-11 Tom Tromey <tom@tromey.com>
941
942 * gdb.tui/resize.exp: Fix regexp.
943 * gdb.tui/regs.exp: Fix regexps.
944 * gdb.tui/main.exp: Fix regexp.
945
3d979945
TT
9462019-12-11 Tom Tromey <tom@tromey.com>
947
948 * gdb.tui/resize.exp: Update.
949 * gdb.tui/empty.exp (layouts): Update.
950
2192a9d3
TT
9512019-12-11 Tom Tromey <tom@tromey.com>
952
953 * gdb.tui/regs.exp: Update.
954 * gdb.tui/empty.exp (layouts): Update.
955 * gdb.tui/basic.exp: Update.
956 * lib/tuiterm.exp (_check_box): Don't check bottom border.
957
d8edc8b7
PW
9582019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
959
960 * gdb.base/options.exp: Add -raw-values in the print completion list.
961 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
962
4c12d936
KB
9632019-12-10 Kevin Buettner <kevinb@redhat.com>
964
965 * gdb.threads/omp-par-scope.c: New file.
966 * gdb/threads/omp-par-scope.exp: New file.
967
26b911fb
KB
9682019-12-10 Kevin Buettner <kevinb@redhat.com>
969
bb47f919
KB
970 * lib/gdb.exp (support_nested_function_tests): New proc.
971
9722019-12-10 Kevin Buettner <kevinb@redhat.com>
973
974 * lib/gdb.exp (gdb_compile_openmp): New proc.
975 (build_executable_from_specs): Add an "openmp" option.
976 (gdb_compile_pthreads): Add non-executable case.
26b911fb 977
6c71eb7d
TT
9782019-12-10 Tom Tromey <tromey@adacore.com>
979
980 * gdb.ada/unchecked_union.exp: New file.
981 * gdb.ada/unchecked_union/pck.adb: New file.
982 * gdb.ada/unchecked_union/pck.ads: New file.
983 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
984 * gdb-utils.exp (string_to_regexp): Also quote "?".
985
bac7c5cf
GB
9862019-12-10 George Barrett <bob@bob131.so>
987
988 Test scripted probe breakpoints.
989 * gdb.guile/scm-breakpoint.c (main): Add probe point.
990 * gdb.python/py-breakpoint.c (main): Likewise.
991 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
992 specifier test.
993 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
994
330f1d38
TBA
9952019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
996
997 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
998 an rvalue parameter.
999 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
1000 parameter.
1001
b43315e2
AB
10022019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
1003
1004 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
1005 modules.
1006
54f73dad
AB
10072019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
1008
1009 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
1010 broken version of GCC.
1011
d57cbee9
AB
10122019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
1013
1014 * gdb.fortran/info-modules.exp: Rewrite to make use of new
1015 sym-info-cmds library.
1016 * gdb.fortran/info-types.exp: Likewise.
1017 * lib/sym-info-cmds.exp: New file.
1018
c14aab8c
TV
10192019-12-08 Tom de Vries <tdevries@suse.de>
1020
1021 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
1022
aa2d5a42
KS
10232019-12-07 Keith Seitz <keiths@redhat.com>
1024
1025 * gdb.base/corefile-buildid-shlib-shr.c: New file.
1026 * gdb.base/corefile-buildid-shlib.c: New file.
1027 * gdb.base/corefile-buildid.c: New file.
1028 * gdb.base/corefile-buildid.exp: New file.
1029
93e55f0a
TV
10302019-12-06 Tom de Vries <tdevries@suse.de>
1031
1032 * gdb.dwarf2/varval.exp: Add decl before def test.
1033
c7d12402
TBA
10342019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1035
1036 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
1037
06acc08f
TBA
10382019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1039
1040 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
1041 CV and reference conversion for overload resolution.
1042 * gdb.cp/rvalue-ref-overload.exp: Test it.
1043
e0fad1ea
PW
10442019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1045
1046 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
1047 * gdb.base/frameapply.exp: Test faas without command.
1048
8d70a9f0
AB
10492019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1050
1051 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
1052 Fortran tests.
1053 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
1054 order.
1055
36c8fb93
AB
10562019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1057
1058 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
1059 casting to type with no kind specified.
1060 (test_basic_parsing_of_type_kinds): Additional tests for types
1061 with no kind specified, and add tests for single/double
1062 precision/complex types.
1063
4139ff00
TT
10642019-12-04 Tom Tromey <tromey@adacore.com>
1065
1066 * gdb.base/endianity.c (struct other) <x>: New field.
1067 (main): Initialize it.
1068 * gdb.base/endianity.exp: Update.
1069
a05cf17a
TT
10702019-12-04 Tom Tromey <tromey@adacore.com>
1071
1072 * gdb.ada/scalar_storage/storage.adb: New file.
1073 * gdb.ada/scalar_storage/pck.adb: New file.
1074 * gdb.ada/scalar_storage/pck.ads: New file.
1075 * gdb.ada/scalar_storage.exp: New file.
1076
103a685e
TT
10772019-12-04 Tom Tromey <tromey@adacore.com>
1078
1079 * gdb.base/endianity.c (struct otherendian) <f>: New field.
1080 (main): Initialize it.
1081 * gdb.base/endianity.exp: Update.
1082
c2512106
AB
10832019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1084
1085 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
1086
293b38d6
AB
10872019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1088
1089 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
1090 -symbol-info-module-functions and -symbol-info-module-variables.
1091
216a7e6b
AB
10922019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
1093
1094 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
1095
5bbd8269
AB
10962019-12-01 Richard Bunt <richard.bunt@arm.com>
1097 Andrew Burgess <andrew.burgess@embecosm.com>
1098
1099 * gdb.fortran/derived-type-striding.exp: New file.
1100 * gdb.fortran/derived-type-striding.f90: New file.
1101 * gdb.fortran/array-slices.exp: New file.
1102 * gdb.fortran/array-slices.f90: New file.
1103
be09caf1
PW
11042019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1105
1106 * gdb.base/define.exp: Test . in command names.
1107 * gdb.base/setshow.exp: Update test, as . is now part of
1108 command name.
1109
643c0cbe
PW
11102019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1111
1112 * gdb.base/define-prefix.exp: New file.
1113
dcdec678
AB
11142019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
1115
1116 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
1117 compile.
1118 (skip_btrace_pt_tests): Likewise.
1119
640ab947
AB
11202019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
1121
1122 * gdb.fortran/info-modules.exp: Compile source files in correct
1123 order.
1124
d22670f0
KB
11252019-11-27 Kevin Buettner <kevinb@redhat.com>
1126
1127 * gdb.dwarf2/imported-unit.exp: New file.
1128 * gdb.dwarf2/imported-unit.c: New file.
1129
db5960b4
AB
11302019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
1131
1132 * gdb.mi/mi-fortran-modules-2.f90: New file.
1133 * gdb.mi/mi-fortran-modules.exp: New file.
1134 * gdb.mi/mi-fortran-modules.f90: New file.
1135
7dc42066
AB
11362019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
1137
1138 * gdb.mi/mi-sym-info-1.c: New file.
1139 * gdb.mi/mi-sym-info-2.c: New file.
1140 * gdb.mi/mi-sym-info.exp: New file.
1141
0dfeecca
TT
11422019-11-22 Tom Tromey <tromey@adacore.com>
1143
1144 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
1145 * gdb.ada/tasks/foo.adb: Add another stopping location.
1146
34877895
PJ
11472019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
1148
1149 * gdb.base/endianity.c: New test.
1150 * gdb.base/endianity.exp: New file.
1151
2e84f897
LD
11522019-11-21 Lukas Durfina <ldurfina@tachyum.com>
1153
1154 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
1155
65d1cd5f
TV
11562019-11-21 Tom de Vries <tdevries@suse.de>
1157
1158 PR gdb/24956
1159 * gdb.base/ui-redirect.exp: Test output of user-defined command.
1160
4f22c3f4
SDJ
11612019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
1162
1163 * gdb.python/py-progspace.exp: Add missing parentheses on some
1164 'print' commands.
1165
9f6ad286
TT
11662019-11-19 Tom Tromey <tom@tromey.com>
1167
1168 * gdb.tui/winheight.exp: New file.
1169
0b8dbf3f
AB
11702019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1171
1172 * gdb.base/ctf-whatis.c: Delete.
1173 * gdb.base/ctf-whatis.exp: Delete.
1174 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
1175
f833b7a7
AB
11762019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1177
1178 * gdb.base/ctf-cvexpr.exp: Delete.
1179 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
1180
30d0a636
AB
11812019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1182
1183 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
1184 the compiler. Clean up header comment a little.
1185 * gdb.base/ctf-ptype.exp: Likewise.
1186 * gdb.base/ctf-whatis.exp: Likewise.
1187 * lib/gdb.exp (skip_ctf_tests): New proc.
1188
494409bb
SDJ
11892019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
1190
1191 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
1192 * gdb.tui/corefile-run.exp: New file.
1193
55708e99
TT
11942019-11-14 Tom Tromey <tromey@adacore.com>
1195
1196 * gdb.base/gdbvars.exp (test_convenience_variables): Add
1197 regression tests.
1198
45e42163
TT
11992019-11-12 Tom Tromey <tom@tromey.com>
1200
1201 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
1202 after any command. Expect prompt after WAIT_FOR is seen.
1203 (enter_tui): Enable resize messages.
1204 (command): Expect command in output.
1205 (get_line): Avoid error when cursor appears to be off-screen.
1206 (dump_screen): Include screen size in title.
1207 (_do_resize): New proc, from "resize".
1208 (resize): Rewrite. Do resize in two steps.
1209 * gdb.tui/empty.exp (layouts): Fix entries.
1210 (check_boxes): Remove xfail.
1211 (check_text): Dump screen on failure.
1212
086baaf1
AB
12132019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
1214
1215 * gdb.python/py-symbol.exp: Add test for
1216 gdb.lookup_static_symbols.
1217
09ff83af
AB
12182019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
1219
1220 * gdb.python/py-symbol.c: Declare and call function from new
1221 py-symbol-2.c file.
1222 * gdb.python/py-symbol.exp: Compile both source files, and add new
1223 tests for gdb.lookup_static_symbol.
1224 * gdb.python/py-symbol-2.c: New file.
1225
11af934b
TV
12262019-11-02 Tom de Vries <tdevries@suse.de>
1227
1228 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
1229 * gdb.base/anon.exp: Same.
1230 * gdb.base/auto-connect-native-target.exp: Same.
1231 * gdb.base/call-ar-st.exp: Same.
1232 * gdb.base/catch-syscall.exp: Same.
1233 * gdb.base/commands.exp: Same.
1234 * gdb.base/default.exp: Same.
1235 * gdb.base/display.exp: Same.
1236 * gdb.base/float.exp: Same.
1237 * gdb.base/foll-fork.exp: Same.
1238 * gdb.base/help.exp: Same.
1239 * gdb.base/info-macros.exp: Same.
1240 * gdb.base/info-proc.exp: Same.
1241 * gdb.base/info-target.exp: Same.
1242 * gdb.base/long_long.exp: Same.
1243 * gdb.base/macscp.exp: Same.
1244 * gdb.base/memattr.exp: Same.
1245 * gdb.base/nofield.exp: Same.
1246 * gdb.base/pointers.exp: Same.
1247 * gdb.base/printcmds.exp: Same.
1248 * gdb.base/ptype.exp: Same.
1249 * gdb.base/restore.exp: Same.
1250 * gdb.base/return.exp: Same.
1251 * gdb.base/scope.exp: Same.
1252 * gdb.base/set-noassign.exp: Same.
1253 * gdb.base/setshow.exp: Same.
1254 * gdb.base/shlib-call.exp: Same.
1255 * gdb.base/signals.exp: Same.
1256 * gdb.base/sigstep.exp: Same.
1257 * gdb.base/skip.exp: Same.
1258 * gdb.base/solib-symbol.exp: Same.
1259 * gdb.base/stap-probe.exp: Same.
1260 * gdb.base/step-line.exp: Same.
1261 * gdb.base/step-test.exp: Same.
1262 * gdb.base/style.exp: Same.
1263 * gdb.base/varargs.exp: Same.
1264 * gdb.base/vla-datatypes.exp: Same.
1265 * gdb.base/vla-ptr.exp: Same.
1266 * gdb.base/vla-sideeffect.exp: Same.
1267 * gdb.base/volatile.exp: Same.
1268 * gdb.base/watch-cond-infcall.exp: Same.
1269 * gdb.base/watchpoint.exp: Same.
1270
e96ec2ba
TV
12712019-11-02 Tom de Vries <tdevries@suse.de>
1272
1273 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
1274 * gdb.cp/cpexprs.exp: Same.
1275 * gdb.cp/except-multi-location.exp: Same.
1276 * gdb.cp/exceptprint.exp: Same.
1277 * gdb.cp/gdb2384.exp: Same.
1278 * gdb.cp/inherit.exp: Same.
1279 * gdb.cp/m-static.exp: Same.
1280 * gdb.cp/meth-typedefs.exp: Same.
1281 * gdb.cp/misc.exp: Same.
1282 * gdb.cp/namespace.exp: Same.
1283 * gdb.cp/non-trivial-retval.exp: Same.
1284 * gdb.cp/overload.exp: Same.
1285 * gdb.cp/pr17132.exp: Same.
1286 * gdb.cp/re-set-overloaded.exp: Same.
1287 * gdb.cp/rvalue-ref-types.exp: Same.
1288 * gdb.cp/templates.exp: Same.
1289
bd5766ec
LM
12902019-11-01 Luis Machado <luis.machado@linaro.org>
1291
1292 PR gdb/25124
1293
1294 * gdb.arch/pr25124.S: New file.
1295 * gdb.arch/pr25124.exp: New file.
1296
165f8965
AB
12972019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1298
1299 * gdb.fortran/info-modules.exp: Update expected results, and add
1300 additional tests for 'info module functinos', and 'info module
1301 variables'.
1302 * gdb.fortran/info-types.exp: Update expected results.
1303 * gdb.fortran/info-types.f90: Extend testcase with additional
1304 module variables and functions.
1305
59c35742
AB
13062019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1307
1308 * gdb.fortran/info-modules.exp: New file.
1309 * gdb.fortran/info-types.exp: Build with new file.
1310 * gdb.fortran/info-types.f90: Include and use new module.
1311 * gdb.fortran/info-types-2.f90: New file.
1312
f3fb2519
PW
13132019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1314
1315 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
1316 * gdb.base/settings.exp: Test all settings types using
1317 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
1318 that now verifies that the value of "maint show" is the same as
1319 returned by the settings functions. Test the type of the
1320 maintenance settings.
1321 * gdb.base/default.exp: Update show_conv_list.
1322
d1e36019
TV
13232019-10-31 Tom de Vries <tdevries@suse.de>
1324
1325 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
1326 gdb_test.
1327 * gdb.arch/amd64-disp-step.exp: Same.
1328 * gdb.asm/asm-source.exp: Same.
1329 * gdb.btrace/buffer-size.exp: Same.
1330 * gdb.btrace/cpu.exp: Same.
1331 * gdb.btrace/enable.exp: Same.
1332 * gdb.dwarf2/count.exp: Same.
1333 * gdb.dwarf2/dw2-ranges-func.exp: Same.
1334 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
1335 * gdb.fortran/vla-datatypes.exp: Same.
1336 * gdb.fortran/vla-history.exp: Same.
1337 * gdb.fortran/vla-ptype.exp: Same.
1338 * gdb.fortran/vla-value.exp: Same.
1339 * gdb.fortran/whatis_type.exp: Same.
1340 * gdb.guile/guile.exp: Same.
1341 * gdb.multi/tids.exp: Same.
1342 * gdb.python/py-finish-breakpoint.exp: Same.
1343 * gdb.python/py-framefilter.exp: Same.
1344 * gdb.python/py-pp-registration.exp: Same.
1345 * gdb.python/py-xmethods.exp: Same.
1346 * gdb.python/python.exp: Same.
1347 * gdb.server/connect-with-no-symbol-file.exp: Same.
1348 * gdb.server/no-thread-db.exp: Same.
1349 * gdb.server/run-without-local-binary.exp: Same.
1350 * gdb.stabs/weird.exp: Same.
1351 * gdb.threads/attach-many-short-lived-threads.exp: Same.
1352 * gdb.threads/thread-find.exp: Same.
1353 * gdb.threads/tls-shared.exp: Same.
1354 * gdb.threads/tls.exp: Same.
1355 * gdb.threads/wp-replication.exp: Same.
1356 * gdb.trace/ax.exp: Same.
1357 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
1358
3d11e68e
TV
13592019-10-31 Tom de Vries <tdevries@suse.de>
1360
1361 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
1362 * gdb.ada/array_subscript_addr.exp: Same.
1363 * gdb.ada/arrayidx.exp: Same.
1364 * gdb.ada/arrayparam.exp: Same.
1365 * gdb.ada/arrayptr.exp: Same.
1366 * gdb.ada/boolean_expr.exp: Same.
1367 * gdb.ada/call_pn.exp: Same.
1368 * gdb.ada/complete.exp: Same.
1369 * gdb.ada/fixed_cmp.exp: Same.
1370 * gdb.ada/fun_addr.exp: Same.
1371 * gdb.ada/funcall_param.exp: Same.
1372 * gdb.ada/interface.exp: Same.
1373 * gdb.ada/mod_from_name.exp: Same.
1374 * gdb.ada/null_array.exp: Same.
1375 * gdb.ada/packed_array.exp: Same.
1376 * gdb.ada/packed_tagged.exp: Same.
1377 * gdb.ada/print_chars.exp: Same.
1378 * gdb.ada/print_pc.exp: Same.
1379 * gdb.ada/ptype_arith_binop.exp: Same.
1380 * gdb.ada/ptype_field.exp: Same.
1381 * gdb.ada/ptype_tagged_param.exp: Same.
1382 * gdb.ada/rec_return.exp: Same.
1383 * gdb.ada/ref_tick_size.exp: Same.
1384 * gdb.ada/str_ref_cmp.exp: Same.
1385 * gdb.ada/taft_type.exp: Same.
1386 * gdb.ada/tagged.exp: Same.
1387 * gdb.ada/type_coercion.exp: Same.
1388 * gdb.ada/uninitialized_vars.exp: Same.
1389
60b6ede8
TV
13902019-10-30 Tom de Vries <tdevries@suse.de>
1391
1392 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
1393
30baf67b
TV
13942019-10-26 Tom de Vries <tdevries@suse.de>
1395
1396 * gdb.base/bigcore.c: Fix typos in comments.
1397 * gdb.base/ctf-ptype.c: Same.
1398 * gdb.base/long_long.c: Same.
1399 * gdb.dwarf2/dw2-op-out-param.S: Same.
1400 * gdb.python/py-evthreads.c: Same.
1401 * gdb.reverse/i387-stack-reverse.c: Same.
1402 * gdb.trace/tfile.c: Same.
1403 * lib/compiler.c: Same.
1404 * lib/compiler.cc: Same.
1405
158da0d1
TV
14062019-10-25 Tom de Vries <tdevries@suse.de>
1407
1408 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
1409 gdb_test_multiple calls.
1410 * gdb.reverse/sigall-reverse.exp: Same.
1411 * gdb.reverse/solib-precsave.exp: Same.
1412 * gdb.reverse/solib-reverse.exp: Same.
1413 * gdb.reverse/until-precsave.exp: Same.
1414 * gdb.reverse/until-reverse.exp: Same.
1415
4ccdfbec
TV
14162019-10-24 Tom de Vries <tdevries@suse.de>
1417
1418 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
1419 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
1420 kfail using -wrap pattern flag and convenience variable
1421 gdb_test_name.
1422
33d569b7
AB
14232019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
1424
1425 * gdb.python/py-progspace.exp: Add tests for the
1426 Progspace.block_for_pc method.
1427
4d0b984b
TT
14282019-10-23 Tom Tromey <tom@tromey.com>
1429
1430 * configure: Rebuild.
1431 * aclocal.m4: Use m4_include, not sinclude.
1432
94cb3754
TV
14332019-10-21 Tom de Vries <tdevries@suse.de>
1434
1435 * gdb.base/infcall-nested-structs.c: Add
1436 __attribute__((noinline,noclone)) to all functions.
1437 (call_all): Add missing variable initialization. Simplify return value.
1438 (breakpt): Increment volatile variable, to prevent call from being
1439 optimized out.
1440 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
1441
062f1fc1
TV
14422019-10-17 Tom de Vries <tdevries@suse.de>
1443
1444 * gdb.fortran/module.exp: Allow info variables to print info for files
1445 other than module.f90.
1446
0b54364d
AB
14472019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
1448
1449 * gdb.fortran/module.exp: Extend with 'info variables' test.
1450
7ff5fae7
AB
14512019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
1452
1453 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
1454 F77_FOR_TARGET.
1455
d10eccaa
TV
14562019-10-16 Tom de Vries <tdevries@suse.de>
1457
1458 PR tdep/25096
1459 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
1460
745ff14e
TV
14612019-10-16 Tom de Vries <tdevries@suse.de>
1462
1463 PR tdep/24104
1464 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
1465 Add KFAIL for PR tdep/25096.
1466
03e1ab94
TV
14672019-10-16 Tom de Vries <tdevries@suse.de>
1468
1469 PR testsuite/25059
1470 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
1471
b17fcc10
TV
14722019-10-16 Tom de Vries <tdevries@suse.de>
1473
1474 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
1475 as signed.
1476
9223170f
SM
14772019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
1478
1479 * gdb.mi/list-thread-groups-available.exp: Read entries one by
1480 one instead of increasing timeout.
1481
d6e76313
TV
14822019-10-13 Tom de Vries <tdevries@suse.de>
1483
1484 PR record/25038
1485 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
1486 * gdb.reverse/sigall-reverse.exp: Same.
1487 * gdb.reverse/solib-precsave.exp: Same.
1488 * gdb.reverse/solib-reverse.exp: Same.
1489 * gdb.reverse/step-precsave.exp: Same.
1490 * gdb.reverse/until-precsave.exp: Same.
1491 * gdb.reverse/until-reverse.exp: Same.
1492 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
1493
6dfc0041
AA
14942019-10-10 Andreas Arnez <arnez@linux.ibm.com>
1495
1496 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
1497 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
1498 (cmp_struct_05_01, cmp_struct_static_02_01)
1499 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
1500 comparisons.
1501
abcf2cc8
TV
15022019-10-10 Tom de Vries <tdevries@suse.de>
1503
1504 PR testsuite/24888
1505 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
1506 gnatlink.
1507
a50faaf6
TV
15082019-10-09 Tom de Vries <tdevries@suse.de>
1509
1510 PR testsuite/25048
1511 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
1512
60ff3cd7
AB
15132019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
1514
1515 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
1516 exceptions due to missing debug information.
1517
dfee8566
TV
15182019-10-07 Tom de Vries <tdevries@suse.de>
1519
1520 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
1521
3d63690a
AB
15222019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
1523
1524 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
1525 * gdb.base/annota1.exp: Update to use gdb_test_name.
1526
30d1f018
WP
15272019-10-07 Weimin Pan <weimin.pan@oracle.com>
1528
1529 * gdb.base/ctf-whatis.exp: New file.
1530 * gdb.base/ctf-whatis.c: New file.
1531 * gdb.base/ctf-ptype.exp: New file.
1532 * gdb.base/ctf-ptype.c: New file.
1533 * gdb.base/ctf-constvars.exp: New file.
1534 * gdb.base/ctf-constvars.c: New file.
1535 * gdb.base/ctf-cvexpr.exp: New file.
1536
4dbbb47c
TV
15372019-10-04 Tom de Vries <tdevries@suse.de>
1538
1539 * gdb.cp/local-static.c (main): Move declaration of int i out of the
1540 for loop.
1541
77c2dba3
TT
15422019-10-03 Tom Tromey <tom@tromey.com>
1543
1544 PR rust/24976:
1545 * gdb.rust/simple.rs (Union2): New type.
1546 (main): Use Union2.
1547 * gdb.rust/simple.exp: Add test.
1548
179aed7f
AB
15492019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1550
1551 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
1552 nested function prefix.
1553
0a4b0913
AB
15542019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
1555 Richard Bunt <richard.bunt@arm.com>
1556 Andrew Burgess <andrew.burgess@embecosm.com>
1557
1558 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
1559 nested functions.
1560 * gdb.fortran/nested-funcs.f90: Update expected results.
1561 * gdb.fortran/nested-funcs-2.exp: New file.
1562 * gdb.fortran/nested-funcs-2.f90: New file.
1563
082cce05
AB
15642019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1565
1566 * gdb.python/py-parameter.exp: Make test names unique.
1567 * gdb.python/py-template.exp: Likewise.
1568 * gdb.python/py-value.exp: Likewise.
1569
2b74ba5a
AB
15702019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1571
1572 * gdb.base/break-interp.exp: Reduce test name duplication.
1573 * gdb.base/call-sc.exp: Likewise.
1574 * gdb.base/callfuncs.exp: Likewise.
1575 * gdb.base/charset.exp: Likewise.
1576 * gdb.base/dump.exp: Likewise.
1577 * gdb.base/ena-dis-br.exp: Likewise.
1578 * gdb.base/relational.exp: Likewise.
1579 * gdb.base/step-over-syscall.exp: Likewise.
1580 * gdb.base/structs.exp: Likewise.
1581
58eb20d5
AB
15822019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1583
1584 * gdb.linespec/explicit.exp: Make test names unique.
1585 * gdb.linespec/ls-errs.exp: Likewise.
1586
4d421147
AB
15872019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1588
1589 * gdb.reverse/break-precsave.exp: Make test names unique.
1590 * gdb.reverse/break-reverse.exp: Likewise.
1591 * gdb.reverse/finish-precsave.exp: Likewise.
1592 * gdb.reverse/finish-reverse.exp: Likewise.
1593 * gdb.reverse/machinestate-precsave.exp: Likewise.
1594 * gdb.reverse/machinestate.exp: Likewise.
1595 * gdb.reverse/readv-reverse.exp: Likewise.
1596 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1597 * gdb.reverse/sigall-precsave.exp: Likewise.
1598 * gdb.reverse/sigall-reverse.exp: Likewise.
1599 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
1600 * gdb.reverse/watch-precsave.exp: Likewise.
1601 * gdb.reverse/watch-reverse.exp: Likewise.
1602
d8c06f22
AB
16032019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1604
1605 * gdb.threads/stop-with-handle.c: New file.
1606 * gdb.threads/stop-with-handle.exp: New file.
1607
3a56ed86
TV
16082019-10-03 Tom de Vries <tdevries@suse.de>
1609
1610 PR testsuite/25059
1611 * gdb.base/list-missing-source.exp: Allowing the "Compilation
1612 directory" line to be missing.
1613
42275044
TV
16142019-10-03 Tom de Vries <tdevries@suse.de>
1615
1616 PR testsuite/25059
1617 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
1618 type optional.
1619
9ef62df0
AA
16202019-10-02 Andreas Arnez <arnez@linux.ibm.com>
1621
1622 * gdb.python/py-format-string.c (string.h): New include.
1623 (main): Fill a_struct_with_union.the_union.an_int with bytes of
1624 the same value, for endianness-independence.
1625 * gdb.python/py-format-string.exp (default_regexp_dict)
1626 (test_pretty_structs, test_format): Adjust expected output to the
1627 changed initialization.
1628
37f6a7f4
TT
16292019-10-02 Tom Tromey <tromey@adacore.com>
1630
1631 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
1632
1d58d6a2
PA
16332019-10-02 Pedro Alves <palves@redhat.com>
1634 Andrew Burgess <andrew.burgess@embecosm.com>
1635
1636 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
1637 "print-file-var.h".
1638 (this_version_id) Use ATTRIBUTE_VISIBILITY.
1639 (get_version_1): Print this_version_id and its address.
1640 Add extern "C" wrappers around interface functions.
1641 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
1642 "print-file-var.h".
1643 (this_version_id) Use ATTRIBUTE_VISIBILITY.
1644 (get_version_2): Print this_version_id and its address.
1645 Add extern "C" wrappers around interface functions.
1646 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
1647 <stddef.h> and "print-file-var.h".
1648 Add extern "C" wrappers around interface functions.
1649 [VERSION_ID_MAIN] (this_version_id): Define.
1650 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
1651 * gdb.base/print-file-var.h: Add some #defines to simplify setting
1652 up extern "C" blocks.
1653 * gdb.base/print-file-var.exp (test): New, factored out from top
1654 level.
1655 (top level): Test all combinations of attribute hidden or not,
1656 dlopen or not, and this_version_id symbol in main file or not.
1657 Compile tests as both C++ and C, make test names unique.
1658
d770d56f
TT
16592019-10-01 Tom Tromey <tom@tromey.com>
1660
1661 * gdb.base/style.exp: Test "show logging filename".
1662
7f6aba03
TT
16632019-10-01 Tom Tromey <tom@tromey.com>
1664
1665 * lib/gdb-utils.exp (style): Handle "metadata" argument.
1666 * gdb.base/style.exp: Add metadata style test.
1667
14309bb6
TT
16682019-10-01 Tom Tromey <tom@tromey.com>
1669
1670 * gdb.base/style.exp: Test "pwd".
1671
2a3c1174
PA
16722019-10-01 Tom Tromey <tom@tromey.com>
1673
1674 * gdb.base/style.exp: Update tests.
1675
53d666ec
AA
16762019-10-01 Andreas Arnez <arnez@linux.ibm.com>
1677
1678 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
1679 'six' to unsigned.
1680 (s1): Initialize fields 'four' and 'six' instead of 'three' and
1681 'five'. Use an all-ones bit pattern for each.
1682 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
1683 to its changed values.
1684
4a56a520
TT
16852019-09-30 Tom Tromey <tromey@adacore.com>
1686
1687 * gdb.rust/traits.rs: Disable all warnings.
1688
0df0352a
TV
16892019-09-29 Tom de Vries <tdevries@suse.de>
1690
1691 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
1692
73d9a918
TV
16932019-09-29 Tom de Vries <tdevries@suse.de>
1694
1695 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
1696
060b3ab4
TV
16972019-09-27 Tom de Vries <tdevries@suse.de>
1698
1699 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
1700
68f7d34d
TV
17012019-09-27 Tom de Vries <tdevries@suse.de>
1702
1703 PR record/23188
1704 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
1705
5d63b30a
TT
17062019-09-26 Tom Tromey <tromey@adacore.com>
1707
1708 * gdb.ada/py_taft.exp: New file.
1709 * gdb.ada/py_taft/main.adb: New file.
1710 * gdb.ada/py_taft/pkg.adb: New file.
1711 * gdb.ada/py_taft/pkg.ads: New file.
1712
3d435220
TV
17132019-09-24 Tom de Vries <tdevries@suse.de>
1714
1715 PR gdb/24598
1716 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
1717
77d03678
TV
17182019-09-22 Tom de Vries <tdevries@suse.de>
1719
1720 * gdb.base/restore.exp: Allow register variables to be optimized out at
1721 -O0.
1722
abf516c6
UW
17232019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
1724
1725 * gdb.arch/spu-info.exp: Remove file.
1726 * gdb.arch/spu-info.c: Remove file.
1727 * gdb.arch/spu-ls.exp: Remove file.
1728 * gdb.arch/spu-ls.c: Remove file.
1729
1730 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
1731 * gdb.asm/spu.inc: Remove file.
1732
1733 * gdb.base/dump.exp: Remove support for spu*-*-*.
1734 * gdb.base/stack-checking.exp: Likewise.
1735 * gdb.base/overlays.exp: Likewise.
1736 * gdb.base/ovlymgr.c: Likewise.
1737 * gdb.base/spu.ld: Remove file.
1738
1739 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
1740 * gdb.cp/cpexprs.exp: Likewise.
1741 * gdb.cp/exception.exp: Likewise.
1742 * gdb.cp/gdb2495.exp: Likewise.
1743 * gdb.cp/mb-templates.exp: Likewise.
1744 * gdb.cp/pr9167.exp: Likewise.
1745 * gdb.cp/userdef.exp: Likewise.
1746
1747 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
1748
1749 * gdb.cell: Remove directory.
1750 * lib/cell.exp: Remove file.
1751
e452e88f
TV
17522019-09-19 Tom de Vries <tdevries@suse.de>
1753
1754 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
1755
8a625130
TV
17562019-09-19 Tom de Vries <tdevries@suse.de>
1757
1758 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
1759
81dc3ab5
TV
17602019-09-19 Tom de Vries <tdevries@suse.de>
1761
1762 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
1763 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
1764 (gdb_target_cmd): ... here.
1765 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
1766 value 2.
1767
b078f3ac
AB
17682019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
1769
1770 * gdb.base/source-dir.exp: Avoid having directory names in test
1771 names.
1772
f1b620e9
MG
17732019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
1774
1775 * gdb.base/source-dir.exp: Add extra test for mapped compilation
1776 directory.
1777
67f3ed6a
AB
17782019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
1779
1780 * gdb.base/list-missing-source.exp: New file.
1781
d1b70248
TV
17822019-09-14 Tom de Vries <tdevries@suse.de>
1783
1784 PR teststuite/24599
1785 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
1786 * lib/ada.exp (gnatmake_version_at_least): New proc.
1787
5fabdcd6
AB
17882019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
1789
1790 * gdb.base/maint.exp: Use exec_has_index_section.
1791
aa17805f
AB
17922019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
1793
1794 * gdb.base/maint.exp: Add test for 'maint info sections'.
1795
25e5c209
TV
17962019-09-12 Tom de Vries <tdevries@suse.de>
1797
1798 * gdb.base/store.exp: Allow register variables to be optimized out at
1799 -O0.
1800
4993045d
PW
18012019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1802
1803 * gdb.ada/rdv_wait.exp: Update to new task names.
1804 * gdb.base/task_switch_in_core.exp: Likewise.
1805 * gdb.base/info_sources_base.c: Likewise.
1806
8a516164
TT
18072019-09-10 Tom Tromey <tromey@adacore.com>
1808
1809 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
1810
aa391654
TT
18112019-09-10 Tom Tromey <tromey@adacore.com>
1812
1813 * gdb.ada/dgopt.exp: New file.
1814 * gdb.ada/dgopt/x.adb: New file.
1815
8634b462
TT
18162019-09-08 Tom Tromey <tom@tromey.com>
1817
1818 * gdb.tui/resize.exp: Remove setup_xfail.
1819 * gdb.tui/regs.exp: Remove setup_xfail.
1820 * gdb.tui/basic.exp: Remove setup_xfail.
1821
736b0f76
DB
18222019-09-06 David Blaikie <dblaikie@gmail.com>
1823
1824 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
1825 * gdb.cp/cplabel.exp: Ditto.
1826 * gdb.linespec/ls-errs.exp: Ditto.
1827
30331a6c
TV
18282019-09-05 Tom de Vries <tdevries@suse.de>
1829
1830 * lib/gdb.exp (cmp_file_string): New proc.
1831 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
1832 runto_main. Verify save breakpoints output.
1833
98b0ebab
PW
18342019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1835
1836 * gdb.base/info-var.exp: Test info variables without running
1837 to main, to avoid expect's buffer overflow.
1838
4e962e74
TT
18392019-09-03 Tom Tromey <tromey@adacore.com>
1840
1841 * gdb.ada/bias.exp: New file.
1842 * gdb.ada/bias/bias.adb: New file.
1843 * gdb.ada/print_chars.exp: Add regression test.
1844 * gdb.ada/print_chars/foo.adb (My_Character): New type.
1845 (MC): New variable.
1846
2ea1a07a
SL
18472019-08-29 Sandra Loosemore <sandra@codesourcery.com>
1848
1849 * gdb.base/argv0-symlink.exp: Run only on native target
1850 and local host.
1851
8077c50d
TV
18522019-08-29 Tom de Vries <tdevries@suse.de>
1853
1854 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
1855 diverse debug info.
1856 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
1857
48352473
TV
18582019-08-28 Tom de Vries <tdevries@suse.de>
1859
1860 * gdb.base/info-var.exp: Allow info variables to print info for files
1861 other than info-var-f1.c and info-var-f2.c.
1862
d8f27c60
AB
18632019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
1864
1865 * gdb.fortran/info-types.exp: Add module.
1866 * gdb.fortran/info-types.f90: Update expected results.
1867
1f20c35e
AB
18682019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
1869
1870 * gdb.fortran/info-types.exp: New file.
1871 * gdb.fortran/info-types.f90: New file.
1872 * lib/fortran.exp (fortran_character1): New proc.
1873
4acfdd20
AB
18742019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
1875
1876 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
1877 functions'. Reindent as needed.
1878 * gdb.base/info-var-f1.c: New file.
1879 * gdb.base/info-var-f2.c: New file.
1880 * gdb.base/info-var.exp: New file.
1881 * gdb.base/info-var.h: New file.
1882
5c31b358
TV
18832019-08-26 Tom de Vries <tdevries@suse.de>
1884
1885 PR c++/24852
1886 * gdb.cp/no-libstdcxx-probe.exp: New test.
1887
b694989f
TV
18882019-08-26 Tom de Vries <tdevries@suse.de>
1889
1890 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
1891 * tests need to be skipped.
1892 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
1893 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
1894 mi_skip_libstdcxx_probe_tests.
1895
d9c4ba53
SDJ
18962019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
1897
1898 * gdb.python/py-xmethods.exp: Use raw strings when passing
1899 arguments to SimpleXMethodMatcher.
1900
395fad09
TV
19012019-08-22 Tom de Vries <tdevries@suse.de>
1902
1903 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
1904 more informative.
1905
26c957f1
PA
19062019-08-21 Pedro Alves <palves@redhat.com>
1907
1908 * gdb.base/with.exp: Test "with" with no arguments.
1909
61f80d5d
TV
19102019-08-21 Tom de Vries <tdevries@suse.de>
1911
1912 * gdb.base/gdb-caching-proc.exp: Sort files.
1913
d7a11d13
TV
19142019-08-20 Tom de Vries <tdevries@suse.de>
1915
1916 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
1917 compilation.
1918
34dafe9f
TV
19192019-08-16 Tom de Vries <tdevries@suse.de>
1920
1921 * gdb.base/compare-sections.exp ("after run to main"): Allow
1922 mismatched read-only sections for PIE executables.
1923
398fdd60
TT
19242019-08-16 Tom Tromey <tom@tromey.com>
1925
1926 * lib/tuiterm.exp (_csi_Z): New proc.
1927 * gdb.tui/basic.exp: Update window positions.
1928 * gdb.tui/empty.exp: Update window positions.
1929
d8f9e51c
SL
19302019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1931
1932 * gdb.base/examine-backward.exp: Correct regexp for
1933 "examine 3 bytes backward from ${address_zero}".
1934
3df505f6
TT
19352019-08-15 Tom Tromey <tom@tromey.com>
1936
1937 * gdb.tui/empty.exp: Enable resizing tests.
1938
272560b5
TT
19392019-08-15 Tom Tromey <tromey@adacore.com>
1940
1941 * gdb.ada/char_enum.exp: Add regression tests.
1942 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
1943 and '0'.
1944 (Char, Gchar): Update.
1945 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
1946
08235187
CB
19472019-08-15 Christian Biesinger <cbiesinger@google.com>
1948
1949 * gdb.python/python.exp: Expect a leading underscore on
1950 GdbOutput{,Error}File.
1951
22a2ab04
SL
19522019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1953
1954 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
1955 Windows host.
1956
835b995b
SL
19572019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1958
1959 * gdb.base/batch-preserve-term-settings.exp
1960 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
1961
97dd8e07
CB
19622019-08-15 Christian Biesinger <cbiesinger@google.com>
1963
1964 * lib/gdb.exp: When running on a mingw target, replace
1965 /x/ with x:/.
1966
75faf5c4
AH
19672019-08-14 Alan Hayward <alan.hayward@arm.com>
1968
1969 * gdb.arch/aarch64-prologue.c: New test.
1970 * gdb.arch/aarch64-prologue.exp: New file.
1971
abc6c00f
TV
19722019-08-13 Tom de Vries <tdevries@suse.de>
1973
1974 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
1975 Thread.
1976
74c2c1f4
SL
19772019-08-13 Sandra Loosemore <sandra@codesourcery.com>
1978
1979 * gdb.python/py-completion.exp: Download the .py file to the host
1980 and use its host pathname. Conditionalize tests that use
1981 tab completion and manipulate files on the build machine.
1982 * gdb.python/py-events.exp: Download the .py file to the host
1983 and use its host pathname.
1984 * gdb.python/py-evsignal.exp: Likewise.
1985 * gdb.python/py-evthreads.exp: Likewise.
1986 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
1987 pathname syntax.
1988 * gdb.python/py-framefilter.exp: Download the .py file to the right
1989 place on the host. Match Windows pathname syntax.
1990 * gdb.python/py-mi-var-info-path-expression.exp: Download the
1991 .py file to the host and use its host pathname.
1992 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
1993 * gdb.python/py-objfile.exp: Expect a host pathname, not a
1994 build pathname. Skip symlink test on Windows host. Add missing
1995 newline at end of file.
1996 * gdb.python/py-pp-maint.exp: Download the .py file to the host
1997 and use its host pathname.
1998 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
1999 * gdb.python/py-section-script.exp: Use host location of binfile
2000 on safe-path. Use correct path separator on Windows host.
2001 Reorder alternatives in gdb_test_multiple to prevent matching
2002 the wrong alternative on success.
2003 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
2004
ca2589f3
PP
20052019-08-12 Patrick Palka <patrick@parcs.ath.cx>
2006
2007 * gdb.gdb/selftest.exp (test_with_self): Update test to now
2008 expect the GDB inferior to no longer immediately stop after
2009 being resumed with "signal SIGINT".
2010
020a839d
SL
20112019-08-09 Sandra Loosemore <sandra@codesourcery.com>
2012
2013 * gdb.linespec/break-ask.exp: Generalize regexps to match
2014 Windows pathnames too.
2015
128d6509
TV
20162019-08-08 Tom de Vries <tdevries@suse.de>
2017
2018 PR testsuite/24862
2019 * lib/tuiterm.exp (_accept): Fix CSI regexp.
2020
590042fc
PW
20212019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2022
2023 * gdb.base/style.exp: Update tests for help doc new invariants.
2024 * gdb.base/help.exp: Likewise.
2025
046bebe1
TT
20262019-08-06 Tom Tromey <tom@tromey.com>
2027
2028 * gdb.base/style.exp: Add disassemble test.
2029 * gdb.base/style.c (some_called_function): New function.
2030 (main): Use it.
2031
0b27c27d
CB
20322019-08-05 Christian Biesinger <cbiesinger@google.com>
2033
2034 * gdb.python/py-block.exp: Test dictionary access on blocks.
2035
580f1034
SM
20362019-08-05 Simon Marchi <simon.marchi@efficios.com>
2037
2038 PR gdb/24863
2039 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
2040 -list-thread-groups --available test when running under
2041 check-read1.
2042
d86bd7cb
TV
20432019-08-05 Tom de Vries <tdevries@suse.de>
2044
2045 PR testsuite/24863
2046 * lib/gdb.exp (with_read1_timeout_factor): New proc.
2047 * gdb.base/help.exp: Use with_read1_timeout_factor.
2048 * gdb.base/info-macros.exp: Same.
2049 * gdb.cp/nested-types.exp: Same.
2050
a80cf5d8
TV
20512019-08-05 Tom de Vries <tdevries@suse.de>
2052
2053 * lib/gdb.exp (version_at_least): Factor out of ...
2054 (tcl_version_at_least): ... here.
2055 (gdb_compile): Fail if pie results in non-PIE executable.
2056 (readelf_version, readelf_prints_pie): New proc.
2057 (exec_is_pie): Return -1 if unknown.
2058
d0962838
TV
20592019-08-05 Tom de Vries <tdevries@suse.de>
2060
2061 * lib/gdb.exp (tcl_version_at_least): Fix typo.
2062
2252ff3d
SL
20632019-08-04 Sandra Loosemore <sandra@codesourcery.com>
2064
2065 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
2066
26655f53
SL
20672019-08-04 Sandra Loosemore <sandra@codesourcery.com>
2068
2069 * lib/completion-support.exp (test_gdb_complete_none): Skip
2070 tab completion tests if no readline support.
2071 (test_gdb_complete_unique_re): Likewise.
2072 (test_gdb_complete_multiple): Likewise.
2073
db4dc13e
PW
20742019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2075
2076 * gdb.base/info_sources.exp: New file.
2077 * gdb.base/info_sources.c: New file.
2078 * gdb.base/info_sources_base.c: New file.
2079
0eba165a
PFC
20802019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2081
2082 * gdb.base/batch-exit-status.exp: Call test_exit_status with
2083 prefix argument.
2084 (test_exit_status): Add prefix argument.
2085
59bd512b
TV
20862019-08-01 Tom de Vries <tdevries@suse.de>
2087
2088 PR testsuite/24863
2089 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
2090 calling exp_continue for new thread and thread exited messages.
2091
2a3ad588
TV
20922019-08-01 Tom de Vries <tdevries@suse.de>
2093
2094 PR testsuite/24863
2095 * gdb.base/structs.exp: Fix check-read1 timeout using
2096 gdb_test_sequence.
2097 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
2098
117eb594
TV
20992019-08-01 Tom de Vries <tdevries@suse.de>
2100
2101 PR testsuite/24863
2102 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
2103 line.
2104
ed591340
TV
21052019-08-01 Tom de Vries <tdevries@suse.de>
2106
2107 PR testsuite/24863
2108 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
2109
aa3b6533
TT
21102019-07-30 Tom Tromey <tromey@adacore.com>
2111
2112 * gdb.ada/display_nested.exp: New file.
2113 * gdb.ada/display_nested/foo.adb: New file.
2114 * gdb.ada/display_nested/pack.adb: New file.
2115 * gdb.ada/display_nested/pack.ads: New file.
2116
2906593f
CB
21172019-07-30 Christian Biesinger <cbiesinger@google.com>
2118
2119 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
2120 namespace.
2121 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
2122
0f575925
TV
21232019-07-30 Tom de Vries <tdevries@suse.de>
2124
2125 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
2126 instead.
2127
b13057d9
TV
21282019-07-30 Tom de Vries <tdevries@suse.de>
2129
2130 PR testsuite/24834
2131 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
2132 (exec_is_pie): New proc.
2133
5c4dde85
CB
21342019-07-29 Christian Biesinger <cbiesinger@google.com>
2135
2136 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
2137
c620ed88
CB
21382019-07-29 Christian Biesinger <cbiesinger@google.com>
2139
2140 * gdb.python/py-objfile.c: Add global and static vars.
2141 * gdb.python/py-objfile.exp: Test new functions Objfile.
2142 lookup_global_symbol and lookup_static_symbol.
2143
3d235706
TT
21442019-07-29 Tom Tromey <tom@tromey.com>
2145
2146 * lib/tuiterm.exp (Term::_csi_@): New proc.
2147 (Term::_csi_X): Don't move cursor.
2148
c7e4c0a6
PW
21492019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2150
2151 * gdb.base/options.exp: Update backtrace - completion to
2152 new option -frame-info.
2153 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
2154 Test new 'set print frame-info'. Test backtrace -frame-info
2155 overriding 'set print frame-info'.
2156 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
2157 Test new 'set print frame-info'.
2158 Verify consistency of backtrace with and without filters, with and
2159 without -no-filters.
2160 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
2161 default.
2162
de28a3b7
TV
21632019-07-29 Tom de Vries <tdevries@suse.de>
2164
2165 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
2166 no arguments".
2167
507dd60e
TV
21682019-07-29 Tom de Vries <tdevries@suse.de>
2169
2170 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
2171 is a substring of the first for "complete non-unique file name".
2172
5beafce9
TV
21732019-07-29 Tom de Vries <tdevries@suse.de>
2174
2175 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
2176 with ".*".
2177
2d274232
TV
21782019-07-29 Tom de Vries <tdevries@suse.de>
2179
2180 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
2181 Pass prompt_regexp parameter to gdb_test_multiple calls.
2182
9197cd8b
TV
21832019-07-29 Tom de Vries <tdevries@suse.de>
2184
2185 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
2186 print registers" regexps.
2187
b528dae0
TV
21882019-07-29 Tom de Vries <tdevries@suse.de>
2189
2190 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
2191
d17725d7
TV
21922019-07-29 Tom de Vries <tdevries@suse.de>
2193
2194 PR gdb/24855
2195 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
2196 (skip_python_tests_prompt): Add prompt_regexp argument to
2197 gdb_test_multiple calls.
2198
52b75bf1
TT
21992019-07-27 Tom Tromey <tom@tromey.com>
2200
2201 * gdb.tui/main.exp: New file.
2202
2b1d00c2
TT
22032019-07-27 Tom Tromey <tom@tromey.com>
2204
2205 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
2206 optional.
2207 * gdb.tui/empty.exp: New file.
2208
ded631d5
TT
22092019-07-27 Tom Tromey <tom@tromey.com>
2210
2211 * lib/tuiterm.exp (spawn): New proc.
2212 (Term::resize): New proc.
2213 * gdb.tui/resize.exp: New file.
2214
58ac439d
TT
22152019-07-27 Tom Tromey <tom@tromey.com>
2216
2217 * gdb.tui/list.exp: New file.
2218
fe1f56ee
TT
22192019-07-27 Tom Tromey <tom@tromey.com>
2220
2221 * gdb.tui/regs.exp: New file.
2222
f790b310
TT
22232019-07-27 Tom Tromey <tom@tromey.com>
2224
2225 * gdb.tui/basic.exp: Add "layout split" test.
2226
d95fc6ee
TT
22272019-07-27 Tom Tromey <tom@tromey.com>
2228
2229 * gdb.tui/basic.exp: Add "layout asm" test.
2230
c3786b3a
TT
22312019-07-27 Tom Tromey <tom@tromey.com>
2232
2233 * lib/tuiterm.exp: New file.
2234 * gdb.tui/basic.exp: New file.
2235
98a617f8
KB
22362019-07-27 Kevin Buettner <kevinb@redhat.com>
2237
2238 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
2239 Enable tests associated with this flag. Adjust regex
2240 referencing "foo_low" to now refer to "foo_cold" instead.
2241
5c076da4
KB
22422019-07-27 Kevin Buettner <kevinb@redhat.com>
2243
2244 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
2245 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
2246 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
2247 foo_cold. Revise comments to match.
2248 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
2249 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
2250 were wrapped into this proc; Call do_test in loop from outermost
2251 level.
2252 (foo_low): Rename all occurrences to "foo_cold".
2253 (backtrace from baz): New test.
2254 (x2/i foo_cold): New test.
2255 (info line *foo_cold): New test.
2256
1512d3b7
TV
22572019-07-26 Tom de Vries <tdevries@suse.de>
2258
2259 * gdb.arch/i386-pkru.exp: Fix unterminated string.
2260
297989a1
TV
22612019-07-25 Tom de Vries <tdevries@suse.de>
2262
2263 PR testsuite/24830
2264 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
2265 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
2266 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
2267 (skip_libstdcxx_probe_tests): ... here.
2268 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
2269
b3b965fb
TV
22702019-07-24 Tom de Vries <tdevries@suse.de>
2271
2272 PR testsuite/24807
2273 * gdb.objc/basicclass.m: Include stdio.h.
2274 * gdb.objc/nondebug.m: Same.
2275 * gdb.objc/objcdecode.m: Same.
2276
4625b4d0
TV
22772019-07-24 Tom de Vries <tdevries@suse.de>
2278
2279 PR testsuite/24612
2280 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
2281 additional_flags.
2282
024a5840
TV
22832019-07-24 Tom de Vries <tdevries@suse.de>
2284
2285 PR testsuite/24831
2286 * gdb.multi/tids.exp: Update error messages for info threads.
2287
c76ddaa3
TV
22882019-07-24 Tom de Vries <tdevries@suse.de>
2289
2290 * gdb.base/info-types.exp: Allow info types to print info for more than
2291 one file.
2292
9a618ef6
TV
22932019-07-23 Tom de Vries <tdevries@suse.de>
2294
2295 PR testsuite/24842
2296 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
2297 gdb_spawn_with_cmdline_opts.
2298
40eadf04
SP
22992019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
2300
2301 * gdb.arch/arm-cmse-sgstubs.c: New test.
2302 * gdb.arch/arm-cmse-sgstubs.exp: New file.
2303
5ba29434
TV
23042019-07-23 Tom de Vries <tdevries@suse.de>
2305
2306 PR testsuite/24711
2307 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
2308 issuing next command.
2309
a8e9d247
AB
23102019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
2311
2312 * gdb.ada/info_auto_lang.exp: Update expected results.
2313 * gdb.base/info-types.c: Add additional types to check.
2314 * gdb.base/info-types.exp: Update expected results.
2315
eb86c5e2
AB
23162019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
2317
2318 * gdb.base/info-types.c: New file.
2319 * gdb.base/info-types.exp: New file.
2320
01e175fe
AB
23212019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
2322
2323 * gdb.arch/riscv-bp-infcall.c: New file.
2324 * gdb.arch/riscv-bp-infcall.exp: New file.
2325
6b78c3f8
AB
23262019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
2327
2328 PR breakpoints/24541
2329 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
2330
da738167
TV
23312019-07-14 Tom de Vries <tdevries@suse.de>
2332
2333 PR testsuite/24760
2334 * gdb.objc/basicclass.exp: Fix unterminated string.
2335
0d4e84ed
AB
23362019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
2337 Andrew Burgess <andrew.burgess@embecosm.com>
2338
2339 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
2340 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
2341 negative bounds.
2342 * gdb.fortran/vla-value.exp: Print elements of an array with
2343 negative bounds.
2344 * gdb.fortran/vla.f90: Setup an array with negative bounds for
2345 testing.
2346
021d8588
AB
23472019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
2348
2349 * gdb.base/options.exp (expect_string): Dequote strings in
2350 results.
2351 (test-string): Test strings with different quoting and reindent.
2352
f06f1252
TT
23532019-07-10 Tom Tromey <tromey@adacore.com>
2354
2355 * gdb.ada/mi_ex_cond.exp: Update expected results.
2356 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
2357 * gdb.ada/mi_catch_ex.exp: Update expected results.
2358 * gdb.ada/mi_catch_assert.exp: Update expected results.
2359 * gdb.ada/catch_ex.exp (catch_exception_info)
2360 (catch_exception_entry, catch_assert_entry)
2361 (catch_unhandled_entry): Update.
2362 * gdb.ada/catch_assert_if.exp: Update expected results.
2363
b863685d
RB
23642019-07-10 Richard Bunt <richard.bunt@arm.com>
2365 Stephen Roberts <stephen.roberts@arm.com>
2366
2367 * gdb.base/define.exp: Restore original prompt.
2368
cb1e4e32
PA
23692019-07-09 Pedro Alves <palves@redhat.com>
2370
2371 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
2372 breakpoints" output.
2373 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
2374 * gdb.python/py-breakpoint.exp: No longer expect that "catch
2375 throw" creates breakpoint.
2376 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
2377 'type="catchpoint"'.
2378
b58a68fe
PA
23792019-07-09 Pedro Alves <palves@redhat.com>
2380
2381 PR c++/15468
2382 * gdb.cp/except-multi-location-lib.cc: New.
2383 * gdb.cp/except-multi-location-main.cc: New.
2384 * gdb.cp/except-multi-location.exp: New.
2385
0826779b
PW
23862019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
2387
2388 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
2389 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
2390 argument and update callers.
2391
5b0e2db4
AB
23922019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2393
2394 * gdb.arch/amd64-break-on-asm-line.S: New file.
2395 * gdb.arch/amd64-break-on-asm-line.exp: New file.
2396
1f6f6e21
PW
23972019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2398
2399 * gdb.base/printcmds.exp: Test printing C string and
2400 C wide string convenience vars without transiting via the inferior.
2401 Also make test names unique.
2402
ea142fbf
AH
24032019-07-08 Alan Hayward <alan.hayward@arm.com>
2404
5862c886 2405 PR breakpoints/25011
ea142fbf
AH
2406 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
2407
213fd9fa
PA
24082019-07-04 Pedro Alves <palves@redhat.com>
2409
2410 * lib/gdb.exp (foreach_with_prefix): Don't return early if
2411 body returned ok(0), break(3) or continue(4).
2412 * gdb.testsuite/foreach_with_prefix.exp: New file.
2413
2b40fda7
AH
24142019-07-04 Alan Hayward <alan.hayward@arm.com>
2415
2416 * gdb.server/unittest.exp: Allow 0 unit tests to run.
2417
a26c8de0
PA
24182019-07-03 Pedro Alves <palves@redhat.com>
2419
2420 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
2421 "return -code".
2422
5f4ba3e7
PA
24232019-07-03 Pedro Alves <palves@redhat.com>
2424
2425 PR cli/24732
2426 * gdb.base/shell.exp: Load completion-support.exp.
2427 Adjust expected error output. Add completion tests.
2428
a994424f
PA
24292019-07-03 Pedro Alves <palves@redhat.com>
2430
2431 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
2432 string_to_regexp.
2433
3d9be6f5
PA
24342019-07-03 Pedro Alves <palves@redhat.com>
2435
2436 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
2437 (expect_integer): Adjust to expect "-string".
2438 (expect_string): New.
2439 (all_options): Expect "-string".
2440 (test-flag, test-boolean): Adjust to expect "-string".
2441 (test-string): New proc.
2442 (top level): Call it.
2443
41fc454c
PA
24442019-07-03 Pedro Alves <palves@redhat.com>
2445
2446 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
2447 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
2448 the expected output in the success.
2449
b2b2a215
PA
24502019-07-03 Pedro Alves <palves@redhat.com>
2451
2452 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
2453 Split one gdb_test_multiple call in two to avoid a race.
2454
fdbc9870
PA
24552019-07-03 Pedro Alves <palves@redhat.com>
2456
2457 * gdb.base/with.c: New file.
2458 * gdb.base/with.exp: New file.
2459
c6ac8931
PA
24602019-07-03 Pedro Alves <palves@redhat.com>
2461
2462 * gdb.base/settings.exp: Replace all references to "maint
2463 test-settings set" with references to "maint set test-settings",
2464 and all references to "maint test-settings show" with references
2465 to "maint show test-settings".
2466
970f9d09
PA
24672019-07-03 Pedro Alves <palves@redhat.com>
2468
2469 * gdb.base/settings.exp (test-string): Adjust expected out when
2470 testing "maint test-settings show filename"
2471
54d66006
PA
24722019-07-02 Pedro Alves <palves@redhat.com>
2473
2474 * gdb.base/options.exp (test-info-threads): New procedure.
2475 (top level): Call it.
2476
10d06d82
TT
24772019-06-28 Tom Tromey <tromey@adacore.com>
2478
2479 * gdb.dwarf2/ada-linkage-name.c: New file.
2480 * gdb.dwarf2/ada-linkage-name.exp: New file.
2481
3d507ff2
TT
24822019-06-27 Tom Tromey <tromey@adacore.com>
2483
d039f014 2484 PR c++/20020:
3d507ff2
TT
2485 * gdb.cp/constexpr-field.exp: Use setup_xfail.
2486
8af58ffe
TV
24872019-06-26 Tom de Vries <tdevries@suse.de>
2488
2489 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
2490
22e21752
TV
24912019-06-26 Tom de Vries <tdevries@suse.de>
2492
2493 * gdb.base/index-cache.exp: Add back missing debug option.
2494
b65b566c
PW
24952019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2496
2497 * gdb.base/alias.exp: Test non matching/non existing prefixes.
2498
5c2c8c69
TV
24992019-06-25 Tom de Vries <tdevries@suse.de>
2500
2501 PR testsuite/24727
2502 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
2503
164e3873
TV
25042019-06-24 Tom de Vries <tdevries@suse.de>
2505
2506 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
2507
824eacee
TV
25082019-06-24 Tom de Vries <tdevries@suse.de>
2509
2510 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
2511 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
2512 * gdb.trace/unavailable-dwarf-piece.exp: Same.
2513
385b97d3
TV
25142019-06-24 Tom de Vries <tdevries@suse.de>
2515
2516 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
2517
c596f180
TV
25182019-06-21 Tom de Vries <tdevries@suse.de>
2519
2520 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
2521
b13a7d03
TV
25222019-06-21 Tom de Vries <tdevries@suse.de>
2523
2524 PR testsuite/24518
2525 PR ada/24713
2526 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
2527 index.
2528
899277ae
TT
25292019-06-19 Tom Tromey <tromey@adacore.com>
2530
2531 * gdb.ada/length_cond.exp: Add intro comment.
2532
680e1bee
TT
25332019-06-19 Tom Tromey <tromey@adacore.com>
2534
2535 * gdb.ada/length_cond.exp: New file.
2536 * gdb.ada/length_cond/length_cond.adb: New file.
2537 * gdb.ada/length_cond/pck.adb: New file.
2538 * gdb.ada/length_cond/pck.ads: New file.
2539
0ed4690a
TV
25402019-06-18 Tom de Vries <tdevries@suse.de>
2541
2542 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
2543
d20ed5fd
TT
25442019-06-18 Tom Tromey <tromey@adacore.com>
2545
2546 * gdb.base/list0.h: Add comment explaining control character.
2547
86e04673
TV
25482019-06-18 Tom de Vries <tdevries@suse.de>
2549
2550 * boards/fission.exp: Break up long debug_flags line.
2551
c4973306
SM
25522019-06-16 Tom de Vries <tdevries@suse.de>
2553
2554 PR gdb/24445
2555 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
2556 generated index.
2557
93cb9841
AB
25582019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
2559
2560 PR gdb/24686
2561 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
2562 improve detection of bug gdb/24541.
2563
399aaebd
SM
25642019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
2565
2566 PR gdb/24669
2567 * gdb.base/index-cache.exp (uses_readnow,
2568 expecting_index_cache_use): Define global variable.
2569 (test_cache_enabled_miss, test_cache_enabled_hit): Use
2570 expecting_index_cache_use.
2571
584a927c
AB
25722019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
2573 Andrew Burgess <andrew.burgess@embecosm.com>
2574
2575 * gdb.fortran/pointers.f90: New file.
2576 * gdb.fortran/print_type.exp: New file.
2577 * gdb.fortran/vla-ptype.exp: Adapt expected results.
2578 * gdb.fortran/vla-type.exp: Likewise.
2579 * gdb.fortran/vla-value.exp: Likewise.
2580 * gdb.mi/mi-vla-fortran.exp: Likewise.
2581
30056ea0
AB
25822019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2583
2584 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
2585 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
2586 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
2587 as a stop reason.
2588
ec8e2b6d
AB
25892019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2590
2591 * gdb.base/annota1.exp: Update expected results.
2592 * gdb.cp/annota2.exp: Likewise.
2593 * gdb.cp/annota3.exp: Likewise.
2594
09e4c4e1
AB
25952019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2596
2597 * gdb.base/style-logging.exp: Remove path from test name.
2598
0735b091
TT
25992019-06-14 Tom Tromey <tromey@adacore.com>
2600
2601 PR gdb/24502:
2602 * gdb.base/style-logging.exp: New file.
2603
f5686554
TT
26042019-06-14 Tom Tromey <tromey@adacore.com>
2605
2606 * gdb.base/symfile-warn.exp: New file.
2607 * gdb.base/symfile-warn.c: New file.
2608
a0c1ffed
TT
26092019-06-14 Tom Tromey <tromey@adacore.com>
2610
2611 * gdb.base/annotate-symlink.exp: New file.
2612
f411722c
TT
26132019-06-14 Tom Tromey <tromey@adacore.com>
2614
2615 * gdb.ada/set_wstr.exp: Add reassignment test.
2616
4268ec18
TT
26172019-06-14 Tom Tromey <tromey@adacore.com>
2618
2619 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
2620 'unchecked_access and 'unrestricted_access as well.
2621
9a9e394b
TT
26222019-06-14 Tom Tromey <tromey@adacore.com>
2623
2624 PR ada/24539:
2625 * gdb.ada/vla.exp: Update tests.
2626 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
2627 pragma.
2628
4c048731
PA
26292019-06-13 Pedro Alves <palves@redhat.com>
2630
2631 * gdb.base/settings.exp (test-integer): Test junk after
2632 "unlimited".
2633
6665660a
PA
26342019-06-13 Pedro Alves <palves@redhat.com>
2635
2636 * gdb.base/options.exp (test-thread-apply): New.
2637 (top level): Call it.
2638
5d707134
PA
26392019-06-13 Pedro Alves <palves@redhat.com>
2640
2641 * gdb.base/options.exp (test-frame-apply): New.
2642 (top level): Test print commands with different "frame apply"
2643 prefixes.
2644
e2a689da
PA
26452019-06-13 Pedro Alves <palves@redhat.com>
2646
e79be6e5 2647 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
2648 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
2649 'max_completions' parameter and handle it.
2650 (test_gdb_completion_offers_commands): New.
2651
90a1ef87
PA
26522019-06-13 Pedro Alves <palves@redhat.com>
2653
2654 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
2655
d4c16835
PA
26562019-06-13 Pedro Alves <palves@redhat.com>
2657
2658 * gdb.base/options.exp (test-backtrace): New.
2659 (top level): Call it.
2660
2daf894e
PA
26612019-06-13 Pedro Alves <palves@redhat.com>
2662
2663 * gdb.guile/scm-frame-args.exp: Use "set print
2664 raw-frame-arguments" instead of "set print raw frame-arguments".
2665 * gdb.python/py-frame-args.exp: Likewise.
2666
e6ed716c
PA
26672019-06-13 Pedro Alves <palves@redhat.com>
2668
2669 * gdb.compile/compile.exp: Adjust expected output to option
2670 processing changes.
2671
7d8062de
PA
26722019-06-13 Pedro Alves <palves@redhat.com>
2673
2674 * gdb.base/options.exp: Build executable.
2675 (test-print): New procedure.
2676 (top level): Call it, once for "print" and another for "compile
2677 print".
2678
9d0faba9
PA
26792019-06-13 Pedro Alves <palves@redhat.com>
2680
2681 * gdb.base/options.c: New file.
2682 * gdb.base/options.exp: New file.
2683
dee7b4c8
PA
26842019-06-13 Pedro Alves <palves@redhat.com>
2685
2686 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
2687 that "o" is ambiguous.
2688
dca0f6c0
PA
26892019-06-13 Pedro Alves <palves@redhat.com>
2690
2691 * gdb.base/settings.c: New file.
2692 * gdb.base/settings.exp: New file.
2693
ccf46844
PA
26942019-06-13 Pedro Alves <palves@redhat.com>
2695
2696 * gdb.base/completion.exp: Fix comment typo.
2697
b9a3f842
PA
26982019-06-13 Pedro Alves <palves@redhat.com>
2699
2700 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
2701 foo --1" test.
2702
d106773e
PA
27032019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
2704
2705 * gdb.fortran/block-data.f: New.
2706 * gdb.fortran/block-data.exp: New.
2707
fea82da0
TV
27082019-06-11 Tom de Vries <tdevries@suse.de>
2709
2710 PR testsuite/24521
2711 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
2712 message.
2713
8c2e74f1
TV
27142019-06-11 Tom de Vries <tdevries@suse.de>
2715
2716 PR testsuite/24521
2717 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
2718
b49851c8
TV
27192019-06-11 Tom de Vries <tdevries@suse.de>
2720
2721 * boards/readnow.exp: New file.
2722
a7067863
AB
27232019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
2724
2725 * gdb.fortran/vla-sizeof.exp: Update expected results.
2726
1a3da2cd
AB
27272019-06-06 Amos Bird <amosbird@gmail.com>
2728
2729 * gdb.base/annota1.exp (thread_switch): Add test for
2730 thread-exited annotation.
2731
3847a7bf
TT
27322019-06-06 Tom Tromey <tromey@adacore.com>
2733
2734 * gdb.base/maint.exp: Expect command started/finished output.
2735
0088ba59
AB
27362019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
2737
2738 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
2739 comment.
2740 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
2741
312617a3
AB
27422019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
2743
2744 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
2745 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
2746 * gdb.arch/riscv-unwind-long-insn.c: New file.
2747 * gdb.arch/riscv-unwind-long-insn.exp: New file.
2748
e1f2e1a2
CB
27492019-06-04 Christian Biesinger <cbiesinger@google.com>
2750
d3238f7d 2751 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 2752
206584bd
PW
27532019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2754
2755 * lib/gdb.exp (help_list_trailer): New regexp variable
2756 factorizing the help trailer message.
2757 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
2758 arg to allow to better factorize various tests.
2759 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
2760 (test_prefix_command_help): Use help_list_trailer.
2761 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
2762 * gdb.guile/scm-cmd.exp: Likewise.
2763 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
2764 * gdb.base/help.exp: Use test_user_defined_class_help.
2765 * gdb.base/style.exp: Add tests for styling of help and apropos.
2766 * lib/gdb-utils.exp (style): Add title and highlight styles.
2767
708dc93e
PW
27682019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2769
2770 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
2771 $_shell_exitsignal.
2772 * gdb.base/default.exp: Update for new convenience variables.
2773
f49055a5
TT
27742019-05-29 Tom Tromey <tromey@adacore.com>
2775
2776 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
2777 to "break complete ada" test case's regexp.
2778
4330d61d
TT
27792019-05-29 Tom Tromey <tromey@adacore.com>
2780
2781 PR c++/20020:
2782 * gdb.cp/constexpr-field.exp: New file.
2783 * gdb.cp/constexpr-field.cc: New file.
2784
000439d5
TT
27852019-05-29 Tom Tromey <tromey@adacore.com>
2786
2787 * gdb.base/finish.exp (finish_no_print): New proc.
2788 (finish_tests): Call it.
2789
5a01c34c
TV
27902019-05-24 Tom de Vries <tdevries@suse.de>
2791
2792 * gdb.dwarf2/gdb-add-index.exp: New file.
2793
18125b16
TT
27942019-05-22 Tom Tromey <tromey@adacore.com>
2795
2796 * gdb.base/info-shared.exp (check_info_shared): Use "style".
2797 * gdb.base/style.exp: Use "style".
2798 * lib/gdb-utils.exp (style): New proc.
2799
af1a8d03
TV
28002019-05-22 Tom de Vries <tdevries@suse.de>
2801
2802 * gdb.base/align.exp: Require c++11.
2803
e7fe496b
TV
28042019-05-22 Tom de Vries <tdevries@suse.de>
2805
2806 PR testsuite/24586
2807 * gdb.python/py-mi-var-info-path-expression.exp: Call
2808 mi_skip_python_tests to check if python is supported.
2809
8fca4da0
AH
28102019-05-22 Alan Hayward <alan.hayward@arm.com>
2811
2812 * gdb.arch/aarch64-pauth.c: New test.
2813 * gdb.arch/aarch64-pauth.exp: New file.
2814
b7060614
AH
28152019-05-22 Alan Hayward <alan.hayward@arm.com>
2816
2817 * README (Re-running Tests Outside The Testsuite): New section.
2818
669d0468
TV
28192019-05-21 Tom de Vries <tdevries@suse.de>
2820
2821 * gdb.arch/amd64-eval.exp: Require c++11.
2822 * gdb.base/max-depth.exp: Same.
2823 * gdb.compile/compile-cplus-array-decay.exp: Same.
2824 * gdb.cp/meth-typedefs.exp: Same.
2825 * gdb.cp/subtypes.exp: Same.
2826 * gdb.cp/temargs.exp: Same.
2827
ce3ebcaa
AH
28282019-05-21 Alan Hayward <alan.hayward@arm.com>
2829
2830 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
2831
34d11c68
AB
28322019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2833
2834 PR gdb/18644
2835 * gdb.fortran/complex.exp: Remove setup_kfail calls.
2836 * gdb.fortran/printing-types.exp: Add new test.
2837 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
2838 testing.
2839 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
2840 setup_kfail call.
2841
87781e84
AH
28422019-05-17 Alan Hayward <alan.hayward@arm.com>
2843
2844 * README (Running the Testsuite): Change example.
2845 (Testsuite Parameters): Remove TRANSCRIPT.
2846 * lib/gdb.exp: Remove TRANSCRIPT check.
2847
b420b89e
AH
28482019-05-17 Alan Hayward <alan.hayward@arm.com>
2849
2850 * README (Testsuite Parameters): Add replay logging to
2851 GDBSERVER_DEBUG.
2852 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
2853 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
2854 as a comma separated list.
2855 (gdb_debug_init): Override procedure.
2856
408e9b8b
AH
28572019-05-17 Alan Hayward <alan.hayward@arm.com>
2858
2859 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
2860 (gdb_write_cmd_file): New procedure.
2861 * lib/gdbserver-support.exp (gdbserver_start): Call
2862 gdbserver_write_cmd_file.
2863 (gdbserver_write_cmd_file): New procedure.
2864
f9e2e39d
AH
28652019-05-17 Alan Hayward <alan.hayward@arm.com>
2866
2867 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
2868 (delete_breakpoints): Likewise.
2869 (gdb_run_cmd): Likewise.
2870 (gdb_start_cmd): Likewise.
2871 (gdb_starti_cmd): Likewise.
2872 (gdb_internal_error_resync): Likewise.
2873 (gdb_test_multiple): Likewise.
2874 (gdb_reinitialize_dir): Likewise.
2875 (default_gdb_exit): Likewise.
2876 (gdb_file_cmd): Mark kill as optional.
2877 (default_gdb_start): Call gdb_stdin_log_init.
2878 (send_gdb): Call gdb_stdin_log_write.
2879 (rerun_to_main): Mark Y as an answer.
2880 (gdb_stdin_log_init): New function.
2881 (gdb_stdin_log_write): Likewise.
2882
81f47ac2
AH
28832019-05-17 Alan Hayward <alan.hayward@arm.com>
2884
2885 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
2886 * gdb.base/debug-expr.exp: Likewise.
2887 * gdb.base/foll-fork.exp: Likewise.
2888 * gdb.base/foll-vfork.exp: Likewise.
2889 * gdb.base/fork-print-inferior-events.exp: Likewise.
2890 * gdb.base/gdb-sigterm.exp: Likewise.
2891 * gdb.base/gdbinit-history.exp: Likewise.
2892 * gdb.base/osabi.exp: Likewise.
2893 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
2894 * gdb.base/ui-redirect.exp: Likewise.
2895 * gdb.gdb/unittest.exp: Likewise.
2896 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
2897 * gdb.mi/mi-watch.exp: Likewise.
2898 * gdb.mi/new-ui-mi-sync.exp: Likewise.
2899 * gdb.mi/user-selected-context-sync.exp: Likewise.
2900 * gdb.python/python.exp: Disable debug test when debugging.
2901 * gdb.threads/check-libthread-db.exp: Disable when debugging.
2902 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2903 Likewise.
2904 * gdb.threads/stepi-random-signal.exp: Likewise.
2905
29b52314
AH
29062019-05-17 Alan Hayward <alan.hayward@arm.com>
2907
2908 * Makefile.in: Pass through GDB_DEBUG.
2909 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
2910 (gdb,debug): Add board setting.
2911 * lib/gdb.exp (default_gdb_start): Start debugging.
2912 (gdb_debug_enabled): New procedure.
2913 (gdb_debug_init): Likewise.
29b52314
AH
2914
29152019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 2916
29b52314
AH
2917 * Makefile.in: Pass through GDB_DEBUG.
2918 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
2919 (gdb,debug): Add board setting.
2920 * lib/gdb.exp (default_gdb_start): Start debugging.
2921 (gdb_debug_enabled): New procedure.
2922 (gdb_debug_init): Likewise.
29b52314 2923
ca1285d1
AH
29242019-05-17 Alan Hayward <alan.hayward@arm.com>
2925
2926 * gdb.base/ui-redirect.exp: Add debug redirect tests.
2927
f3a09c80
AH
29282019-05-17 Alan Hayward <alan.hayward@arm.com>
2929
2930 * gdb.base/ui-redirect.exp: Test redirection.
2931
26648588
JV
29322019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
2933
2934 * gdb.mi/mi-complete.exp: New file.
2935 * gdb.mi/mi-complete.cc: Likewise.
2936
14237686
AB
29372019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
2938
2939 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
2940 indexed and sliced arrays, and pointers to arrays.
2941
e7bd7fba
TT
29422019-05-14 Tom Tromey <tromey@adacore.com>
2943
2944 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
2945 styling test.
2946
2764128d
TV
29472019-05-14 Tom de Vries <tdevries@suse.de>
2948
2949 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
2950 selection entry encoding.
2951
71bed2db
TT
29522019-05-10 Tom Tromey <tromey@adacore.com>
2953
2954 * gdb.ada/info_exc.exp: Add "complete" test.
2955
63b667ad
TV
29562019-05-09 Tom de Vries <tdevries@suse.de>
2957
2958 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
2959 CU-relative.
2960
9cfd2b89
TV
29612019-05-09 Tom de Vries <tdevries@suse.de>
2962
2963 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
2964 CU-relative.
2965
2228ef77
XR
29662019-05-08 Joel Brobecker <brobecker@adacore.com>
2967
2968 * gdb.ada/frame_arg_lang.exp: New testcase.
2969 * gdb.ada/frame_arg_lang/bla.adb: New file.
2970 * gdb.ada/frame_arg_lang/pck.ads: New file.
2971 * gdb.ada/frame_arg_lang/pck.adb: New file.
2972 * gdb.ada/frame_arg_lang/foo.c: New file.
2973
80e55b13
TT
29742019-05-08 Tom Tromey <tromey@adacore.com>
2975
2976 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
2977
9d3421af
TT
29782019-05-08 Tom Tromey <tromey@adacore.com>
2979
2980 * gdb.base/ptype-offsets.exp: Update tests.
2981
844333e2
TT
29822019-05-08 Tom Tromey <tromey@adacore.com>
2983
2984 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
2985 cases.
2986 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
2987 "short".
2988
988915ee
TT
29892019-05-08 Tom Tromey <tromey@adacore.com>
2990
2991 * gdb.ada/vla.exp: New file.
2992 * gdb.ada/vla/vla.adb: New file.
2993
7bd55dac
TV
29942019-05-07 Tom de Vries <tdevries@suse.de>
2995
2996 * gdb.base/index-cache.exp (ls_host): Fix return statement.
2997
75f06e9d
TV
29982019-05-07 Tom de Vries <tdevries@suse.de>
2999
3000 PR testsuite/24522
3001 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
3002 section.
3003
77e7aaa4
TV
30042019-05-07 Tom de Vries <tdevries@suse.de>
3005
3006 PR testsuite/24522
3007 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
3008 .debug_aranges section.
3009
456ba0fa
TV
30102019-05-07 Tom de Vries <tdevries@suse.de>
3011
3012 PR testsuite/24159
3013 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
3014
5a56d6a6
TV
30152019-05-06 Tom de Vries <tdevries@suse.de>
3016
3017 * lib/gdb.exp (exec_has_index_section): New proc.
3018 * gdb.base/index-cache.exp: Handle case that binfile contains an index
3019 section.
3020
9d6d4be8
TV
30212019-05-04 Tom de Vries <tdevries@suse.de>
3022
3023 * boards/cc-with-debug-names.exp: New file.
3024
222a8d25
TT
30252019-05-03 Tom Tromey <tromey@adacore.com>
3026
3027 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
3028 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
3029 * gdb.ada/char_enum.exp: Add test.
3030
0fdfd794
TV
30312019-05-03 Tom de Vries <tdevries@suse.de>
3032
3033 * boards/cc-with-gdb-index.exp: New file.
3034
80062eb9
AB
30352019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
3036
3037 * gdb.rust/simple.exp: Add new test case.
3038 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
3039 (main): Initialise an instance of the new struct.
3040
4504bbde
TT
30412019-05-01 Tom Tromey <tromey@adacore.com>
3042
3043 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
3044 record.
3045 (NPR): New variable.
3046 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
3047 test.
3048
d48e62f4
TT
30492019-05-01 Tom Tromey <tromey@adacore.com>
3050
3051 * gdb.ada/packed_array_assign.exp: Add packed assignment
3052 regression test.
3053
f59f30f5
TV
30542019-05-01 Tom de Vries <tdevries@suse.de>
3055
3056 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
3057
b70bfc54
TV
30582019-05-01 Tom de Vries <tdevries@suse.de>
3059
3060 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
3061
15f18d14
AT
30622019-04-30 Ali Tamur <tamur@google.com>
3063
3064 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
3065
2ff0a947
TT
30662019-04-30 Tom Tromey <tromey@adacore.com>
3067
3068 * lib/ada.exp (find_ada_tool): New proc.
3069 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
3070 * gdb.ada/catch_ex_std.exp: New file.
3071 * gdb.ada/catch_ex_std/foo.adb: New file.
3072 * gdb.ada/catch_ex_std/some_package.adb: New file.
3073 * gdb.ada/catch_ex_std/some_package.ads: New file.
3074
a776957c
TT
30752019-04-30 Tom Tromey <tromey@adacore.com>
3076
3077 PR c++/24470:
3078 * gdb.cp/temargs.cc: Add test code from PR.
3079
bc68014d
AB
30802019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3081
3082 * gdb.fortran/vla-datatypes.exp: Update expected results.
3083 * gdb.fortran/vla-ptype.exp: Likewise.
3084 * gdb.fortran/vla-type.exp: Likewise.
3085 * gdb.fortran/vla-value.exp: Likewise.
3086
f1fdc960
AB
30872019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3088
3089 * gdb.fortran/ptr-indentation.exp: Update expected results.
3090 * gdb.fortran/ptype-on-functions.exp: Likewise.
3091 * gdb.fortran/vla-ptr-info.exp: Likewise.
3092 * gdb.fortran/vla-value.exp: Likewise.
3093
bf7a4de1
AB
30942019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3095
3096 * gdb.fortran/ptype-on-functions.exp: New file.
3097 * gdb.fortran/ptype-on-functions.f90: New file.
3098
bbe75b9d
AB
30992019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3100
3101 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
3102 case void string.
3103
1db455a7
AB
31042019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3105
3106 * gdb.fortran/complex.exp: Expand.
3107 * gdb.fortran/complex.f: Renamed to...
3108 * gdb.fortran/complex.f90: ...this, and extended to add more
3109 complex values.
3110
b6d03bb2
AB
31112019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3112
3113 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
3114 MODULO, CMPLX.
3115
2e62ab40
AB
31162019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
3117 Richard Bunt <richard.bunt@arm.com>
3118
3119 * gdb.base/max-depth.c: New file.
3120 * gdb.base/max-depth.exp: New file.
3121 * gdb.python/py-nested-maps.c: New file.
3122 * gdb.python/py-nested-maps.exp: New file.
3123 * gdb.python/py-nested-maps.py: New file.
3124 * gdb.python/py-format-string.exp (test_max_depth): New proc.
3125 (test_all_common): Call test_max_depth.
3126 * gdb.fortran/max-depth.exp: New file.
3127 * gdb.fortran/max-depth.f90: New file.
3128 * gdb.go/max-depth.exp: New file.
3129 * gdb.go/max-depth.go: New file.
3130 * gdb.modula2/max-depth.exp: New file.
3131 * gdb.modula2/max-depth.c: New file.
3132 * lib/gdb.exp (get_print_expr_at_depths): New proc.
3133
d2b584a5
TV
31342019-04-29 Tom de Vries <tdevries@suse.de>
3135
3136 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
3137
136afab8
PW
31382019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3139
3140 * gdb.base/callexit.exp: Test may-call-functions off.
3141
725cbb63
KS
31422019-04-25 Keith Seitz <keiths@redhat.com>
3143
3144 PR c++/24367
3145 * gdb.cp/meth-typedefs.cc (incomplete_struct)
3146 (another_incomplete_struct, test_incomplete): New definitions.
3147 (main): Use new definitions.
3148 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
3149 functions.
3150
701adfb0
PA
31512019-04-25 Ali Tamur <tamur@google.com>
3152
3153 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
3154
82433e3e
SDJ
31552019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
3156
3157 PR corefiles/11608
3158 PR corefiles/18187
3159 * gdb.base/coredump-filter-build-id.exp: New file.
3160
dd06d4d6
AH
31612019-04-25 Alan Hayward <alan.hayward@arm.com>
3162
e79be6e5
SM
3163 * Makefile.in: Pass through GDBSERVER_DEBUG.
3164 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
3165 (gdbserver,debug): Add board setting.
3166 * gdb.trace/tspeed.exp: Skip when debugging.
3167 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
3168 * lib/gdbserver-support.exp: Likewise
dd06d4d6 3169
1670072e
TT
31702019-04-24 Tom Tromey <tromey@adacore.com>
3171
3172 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
3173 Rust.
3174
a59240a4
TT
31752019-04-24 Tom Tromey <tromey@adacore.com>
3176
3177 * gdb.arch/amd64-eval.exp: Test bitfield return.
3178 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
3179 (class Foo) <return_bitfields>: New method.
3180 (main): Call it.
3181
b907456c
AB
31822019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
3183
3184 * gdb.cp/many-args.cc: New file.
3185 * gdb.cp/many-args.exp: New file.
3186
5c565afd
TV
31872019-04-23 Tom de Vries <tdevries@suse.de>
3188
3189 PR gdb/24433
3190 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
3191
ba22ff86
AH
31922019-04-23 Alan Hayward <alan.hayward@arm.com>
3193
3194 * gdb.trace/backtrace.exp: Use nopie flag.
3195 * gdb.trace/circ.exp: Likewise.
3196 * gdb.trace/collection.exp: Likewise.
3197 * gdb.trace/ftrace.exp: Likewise.
3198 * gdb.trace/mi-trace-unavailable.exp: Likewise.
3199 * gdb.trace/mi-traceframe-changed.exp: Likewise.
3200 * gdb.trace/qtro.exp: Likewise.
3201 * gdb.trace/read-memory.exp: Likewise.
3202 * gdb.trace/report.exp: Likewise.
3203 * gdb.trace/tfile.exp: Likewise.
3204 * gdb.trace/tfind.exp: Likewise.
3205 * gdb.trace/unavailable.exp: Likewise.
3206
7905fc35
PA
32072019-04-22 Pedro Alves <palves@redhat.com>
3208
3209 * gdb.base/solib-probes-nosharedlibrary.c,
3210 gdb.base/solib-probes-nosharedlibrary.exp: New files.
3211
8ecb59f8
TT
32122019-04-19 Tom Tromey <tromey@adacore.com>
3213
3214 * gdb.ada/ptype_union.c: New file.
3215 * gdb.ada/ptype_union.exp: New file.
3216
62160ec9
TT
32172019-04-19 Tom Tromey <tromey@adacore.com>
3218
3219 PR symtab/24423:
3220 * gdb.base/list0.h (foo): Add a control-l character.
3221
36cd4ba5
TV
32222019-04-18 Tom de Vries <tdevries@suse.de>
3223
3224 PR gdb/24433
3225 * boards/local-board.exp: Set sysroot to "".
3226
b73715df
TV
32272019-04-18 Tom de Vries <tdevries@suse.de>
3228 Pedro Alves <palves@redhat.com>
3229
3230 PR gdb/24454
3231 * gdb.threads/vfork-follow-child-exec.c: New file.
3232 * gdb.threads/vfork-follow-child-exec.exp: New file.
3233 * gdb.threads/vfork-follow-child-exit.c: New file.
3234 * gdb.threads/vfork-follow-child-exit.exp: New file.
3235
4aa866af
LS
32362019-04-15 Leszek Swirski <leszeks@google.com>
3237
3238 * gdb.arch/amd64-eval.cc: New file.
3239 * gdb.arch/amd64-eval.exp: New file.
3240
e5a1a79a
AH
32412019-04-11 Alan Hayward <alan.hayward@arm.com>
3242
3243 * gdb.server/sysroot.c: New test.
3244 * gdb.server/sysroot.exp: New file.
3245 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
3246 matching param.
3247
41077b66
AB
32482019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
3249
3250 * gdb.base/align.exp: Extend test to cover structures containing
3251 only static fields.
3252
c30391f8
TV
32532019-04-11 Tom de Vries <tdevries@suse.de>
3254
3255 * boards/cc-with-dwz-m.exp: New file.
3256 * boards/cc-with-dwz.exp: New file.
3257 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
3258
e242fd12
SM
32592019-04-09 Simon Marchi <simon.marchi@efficios.com>
3260
3261 * gdb.base/start-cpp.exp: New file.
3262 * gdb.base/start-cpp.cc: New file.
3263
2b0c8b01
KB
32642019-04-08 Kevin Buettner <kevinb@redhat.com>
3265
3266 * gdb.python/py-thrhandle.exp: Adjust tests to call
3267 thread_from_handle instead of thread_from_thread_handle.
3268
947210e5
KB
32692019-04-08 Kevin Buettner <kevinb@redhat.com>
3270
3271 * gdb.python/py-thrhandle.exp: Add tests for
3272 gdb.InferiorThread.handle.
3273
d7df6549
AB
32742019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
3275
3276 * gdb.python/py-function.exp: Check calling helper function from
3277 all languages.
3278 * lib/gdb.exp (gdb_supported_languages): New proc.
3279
8bdc1658
AB
32802019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
3281
3282 * gdb.base/complex-parts.c: New file.
3283 * gdb.base/complex-parts.exp: New file.
3284
05caa1d2
TT
32852019-04-01 Tom Tromey <tromey@adacore.com>
3286
3287 PR symtab/23331:
3288 * gdb.dwarf2/dw2-ranges-main.c: New file.
3289 * gdb.dwarf2/dw2-ranges-psym.c: New file.
3290 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
3291
7734102d
EZ
32922019-03-30 Simon Marchi <simark@simark.ca>
3293
3294 * gdb.base/default.exp: Add values for $_gdb_major and
3295 $_gdb_minor.
3296
188e1fa9
TT
32972019-03-29 Tom Tromey <tromey@adacore.com>
3298
3299 * gdb.base/help.exp: Tighten apropos regexp.
3300
2880242d
KS
33012019-03-29 Keith Seitz <keiths@redhat.com>
3302
3303 * gdb.fortran/array-bounds.exp: New file.
3304 * gdb.fortran/array-bounds.f90: New file.
3305
077cad8e
PW
33062019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3307
3308 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
3309
80047cfc
PW
33102019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3311
3312 * gdb.multi/hello.c (main): Increase alarm timer.
3313
f489207e
SL
33142019-03-28 Sandra Loosemore <sandra@codesourcery.com>
3315
3316 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
3317 factor when no hardware watchpoint support.
3318
c92df149
AH
33192019-03-28 Alan Hayward <alan.hayward@arm.com>
3320 Pedro Alves <palves@redhat.com>
3321
3322 * boards/local-board.exp: set sysroot to /.
3323
933aebfa
AH
33242019-03-27 Alan Hayward <alan.hayward@arm.com>
3325
3326 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
3327 in child.
3328
9f9aa852
AB
33292019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
3330
3331 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
3332 field.
3333 (make_container): Initialise new field.
3334 * gdb.python/py-prettyprint.exp: Add new tests.
3335 * gdb.python/py-prettyprint.py (class ContainerPrinter)
3336 <display_hint>: New method.
3337
3714a195
AB
33382019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
3339
3340 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
3341 gdb_continue_to_breakpoint more throughout this test.
3342 (run_lang_tests) Supply unique test names, and use
3343 gdb_test_no_output.
3344
18c77628
AB
33452019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
3346
3347 * gdb.base/finish-pretty.exp: Update expected results.
3348 * gdb.base/pretty-print.c: New file.
3349 * gdb.base/pretty-print.exp: New file.
3350
9a93502f
PA
33512019-03-25 Pedro Alves <palves@redhat.com>
3352
3353 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
3354 move comments outside list. Append '-i "" eof' section.
3355
968aa7ae
AH
33562019-03-22 Alan Hayward <alan.hayward@arm.com>
3357
34a7f2a4 3358 PR testsuite/25016
968aa7ae
AH
3359 * README: Add pie options.
3360 * gdb.base/break-interp.exp: Ensure pie is disabled.
3361 * gdb.base/dump.exp: Likewise.
3362 * lib/gdb.exp (gdb_compile): Add pie option.
3363
4c7d57e7
TT
33642019-03-19 Tom Tromey <tromey@adacore.com>
3365
3366 * gdb.mi/mi2-cli-display.c: New file.
3367 * gdb.mi/mi2-cli-display.exp: New file.
3368
bff8c71f
TT
33692019-03-18 Joel Brobecker <brobecker@adacore.com>
3370 Tom Tromey <tromey@adacore.com>
3371
3372 * gdb.ada/ptype_array/pck.adb: New file.
3373 * gdb.ada/ptype_array/pck.ads: New file.
3374 * gdb.ada/ptype_array/foo.adb: New file.
3375 * gdb.ada/ptype_array.exp: New file.
3376
d085f989
TT
33772019-03-14 Tom Tromey <tromey@adacore.com>
3378
3379 * gdb.base/style.exp: Add "set style sources" test.
3380
b4be1b06
SM
33812019-03-13 Simon Marchi <simon.marchi@ericsson.com>
3382
3383 * mi-breakpoint-location-ena-dis.exp: Rename to ...
3384 * mi-breakpoint-multiple-locations.exp: ... this.
3385 (make_breakpoints_pattern): New proc.
3386 (do_test): Add mi_version parameter, test -break-insert,
3387 -break-info and =breakpoint-created.
3388
7cde5fc2
AB
33892019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
3390
3391 * config/default.exp: Remove 'load_lib gdb.exp'.
3392 * config/monitor.exp: Likewise.
3393 * config/sid.exp: Likewise.
3394 * config/sim.exp: Likewise.
3395 * config/slite.exp: Likewise.
3396 * config/unix.exp: Likewise.
3397 * gdb.base/default.exp: Remove unhelpful comment.
3398
efbecbc1
AB
33992019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3400
3401 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
3402
0841c79a
AB
34032019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3404
3405 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
3406
4a270568
AB
34072019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3408
3409 * gdb.fortran/type-kinds.exp: Update expected results.
3410
067630bd
AB
34112019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3412
3413 * gdb.fortran/type-kinds.exp: Test new integer type kind.
3414
3be47f7a
AB
34152019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3416
3417 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
3418 function.
3419 (test_basic_parsing_of_type_kinds): Expand types tested.
3420 (test_parsing_invalid_type_kinds): New function.
3421
4d00f5d8
AB
34222019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3423
3424 * gdb.fortran/intrinsics.exp: New file.
3425 * gdb.fortran/intrinsics.f90: New file.
3426 * gdb.fortran/type-kinds.exp: New file.
3427
c8f91604
AB
34282019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3429
3430 * gdb.fortran/dot-ops.exp: New file.
3431
dd9f2c76
AB
34322019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3433
3434 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
3435 Check upper and lower case logical literals.
3436
84ec9724
AB
34372019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3438
3439 * gdb.fortran/types.exp (test_float_literal_types_accepted):
3440 Remove duplicate tests.
3441
c3734e09
AH
34422019-03-06 Alan Hayward <alan.hayward@arm.com>
3443
3444 * lib/gdb.exp (builtin_cd): rename of cd.
3445 (cd): Override builtin.
3446
aa3cfbda
RB
34472019-03-06 Richard Bunt <richard.bunt@arm.com>
3448
3449 * gdb.fortran/function-calls.exp: New file.
3450 * gdb.fortran/function-calls.f90: New test.
3451
7b63ad86
RB
34522019-03-04 Richard Bunt <richard.bunt@arm.com>
3453
3454 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
3455 on user program standard output.
3456 * gdb.fortran/short-circuit-argument-list.f90: Record function
3457 calls.
3458
01abb042
AH
34592019-02-28 Alan Hayward <alan.hayward@arm.com>
3460
c3734e09
AH
3461 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
3462 failure.
01abb042 3463
92137da0
RO
34642019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3465
3466 PR gdb/8527
3467 * gdb.base/interrupt-daemon-attach.c,
3468 gdb.base/interrupt-daemon-attach.exp: New test.
3469
5862844d
PA
34702019-02-27 Pedro Alves <palves@redhat.com>
3471
3472 * gdb.base/page.exp: Add tests for "set width/height -1".
3473
8ed25214
PA
34742019-02-27 Pedro Alves <palves@redhat.com>
3475
3476 * gdb.base/page.exp: Add tests for "set/show width/height" with
3477 "infinite" values.
3478
6c28e44a
TT
34792019-02-27 Tom Tromey <tromey@adacore.com>
3480
3481 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
3482 2.4.
3483 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
3484 workaround.
3485
bf9a735e
AB
34862019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
3487
3488 * gdb.base/align.exp: Extend to compile in both C and C++, and add
3489 tests for structs with static members.
3490
8791793c
TT
34912019-02-26 Tom Tromey <tromey@adacore.com>
3492
3493 * gdb.python/py-value.exp (test_value_from_buffer): Check for
3494 ValueError, not TypeError.
3495
bc2a507e
KB
34962019-02-26 Kevin Buettner <kevinb@redhat.com>
3497
3498 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
3499 call from main program.
3500
e0e7d3bd
JB
35012019-02-23 Joel Brobecker <brobecker@adacore.com>
3502
3503 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
3504 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
3505 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
3506 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
3507 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
3508
9600246d
KS
35092019-02-22 Keith Seitz <keiths@redhat.com>
3510
3511 PR symtab/23853
3512 * gdb.base/symlink-sourcefile.c: New file.
3513 * gdb.base/symlink-sourcefile.exp: New file.
3514
0c95f9ed
TT
35152019-02-20 Tom Tromey <tom@tromey.com>
3516
3517 * gdb.base/info_qt.exp: Update.
3518
6caa91b6
SM
35192019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
3520
3521 * gdb.base/source.exp: Move "error in sourced script" code to
3522 the end.
3523 * gdb.base/source-error.gdb: Move contents to
3524 source-error-1.gdb. Add new code to source source-error-1.gdb.
3525 * gdb.base/source-error-1.gdb: New file, from previous
3526 source-error.gdb.
3527
6506371f
TT
35282019-02-17 Tom Tromey <tom@tromey.com>
3529
3530 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
3531 for macro styling.
3532 * gdb.base/style.c (SOME_MACRO): New macro.
3533
a0087920
TT
35342019-02-17 Tom Tromey <tom@tromey.com>
3535
3536 * gdb.base/style.exp: Add line-wrapping tests.
3537 * gdb.base/page.exp: Add test for quitting during pagination.
3538
a2cd4f14
JB
35392019-02-17 Joel Brobecker <brobecker@adacore.com>
3540
3541 * gdb.ada/big_packed_array: New testcase.
3542 * gdb.ada/homonym.exp: Fix incorrect expected output for
3543 "break <homonym__get_value>" test.
3544
9d70ffbc
WP
35452019-02-13 Weimin Pan <weimin.pan@oracle.com>
3546
3547 PR breakpoints/21870
3548 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
3549 and prepare_for_testing. Add comment.
3550 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
3551 redundant cleanup call. Clean up comment.
3552
01c7ae81
WP
35532019-02-12 Weimin Pan <weimin.pan@oracle.com>
3554
3555 PR breakpoints/21870
3556 * gdb.arch/aarch64-dbreg-contents.exp: New file.
3557 * gdb.arch/aarch64-dbreg-contents.c: New file.
3558
aff29d1c
JB
35592019-02-10 Joel Brobecker <brobecker@adacore.com>
3560
3561 * gdb.ada/mi_ref_changeable: New testcase.
3562
df0da8a2
AH
35632019-02-07 Alan Hayward <alan.hayward@arm.com>
3564
3565 * gdb.base/attach.exp: Add double attach test.
3566
bd447abb
SM
35672019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
3568
3569 * lib/gdb.exp (default_gdb_start): Don't match pagination
3570 prompt.
3571 (gdb_init): Set stty_init.
3572
1dbc40b9
TT
35732019-01-27 Tom Tromey <tom@tromey.com>
3574
3575 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
3576 skip_python_tests.
3577
353229bf
AH
35782019-01-24 Alan Hayward <alan.hayward@arm.com>
3579
3580 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
3581 New structure.
3582 (struct struct_static_02_02): Likewise.
3583 (struct struct_static_02_03): Likewise.
3584 (struct struct_static_02_04): Likewise.
3585 (struct struct_static_04_01): Likewise.
3586 (struct struct_static_04_02): Likewise.
3587 (struct struct_static_04_03): Likewise.
3588 (struct struct_static_04_04): Likewise.
3589 (struct struct_static_06_01): Likewise.
3590 (struct struct_static_06_02): Likewise.
3591 (struct struct_static_06_03): Likewise.
3592 (struct struct_static_06_04): Likewise.
3593 (cmp_struct_static_02_01): Likewise.
3594 (cmp_struct_static_02_02): Likewise.
3595 (cmp_struct_static_02_03): Likewise.
3596 (cmp_struct_static_02_04): Likewise.
3597 (cmp_struct_static_04_01): Likewise.
3598 (cmp_struct_static_04_02): Likewise.
3599 (cmp_struct_static_04_03): Likewise.
3600 (cmp_struct_static_04_04): Likewise.
3601 (cmp_struct_static_06_01): Likewise.
3602 (cmp_struct_static_06_02): Likewise.
3603 (cmp_struct_static_06_03): Likewise.
3604 (cmp_struct_static_06_04): Likewise.
3605 (call_all): Test new structs.
3606 * gdb.base/infcall-nested-structs.exp: Likewise.
3607
73021deb
AH
36082019-01-21 Alan Hayward <alan.hayward@arm.com>
3609 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
3610
fc65c7db
AH
36112019-01-21 Alan Hayward <alan.hayward@arm.com>
3612 * gdb.base/stack-protector.c: New test.
3613 * gdb.base/stack-protector.exp: New file.
3614 * gdb.cp/ovldbreak.exp: Only allow a single break line.
3615 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
3616 option.
3617 (gdb_compile): Remove stack protector for GCC and prevent
3618 recursion.
3619
c24bdb02
KS
36202019-01-16 Keith Seitz <keiths@redhat.com>
3621
3622 PR gdb/23773
3623 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
3624
6f072a10
PFC
36252019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3626
3627 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
3628 aliases.
3629 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
3630 tests.
3631 * gdb.arch/powerpc-vector-regs.c: New file.
3632 * gdb.arch/powerpc-vector-regs.exp: New file.
3633
a7b8d682
PFC
36342019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3635
3636 * gdb.arch/altivec-regs.exp: Fix the list passed to
3637 gdb_expect_list when testing "info vector".
3638
6eb6fb67
AB
36392019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
3640
3641 * gdb.base/style.exp: Don't include path in testname.
3642
b56f80d8
KS
36432019-01-10 Keith Seitz <keiths@redhat.com>
3644
3645 PR gdb/23712
3646 PR symtab/23010
3647 * gdb.dwarf2/multidictionary.exp: New file.
3648
041be526
SM
36492019-01-09 Simon Marchi <simon.marchi@ericsson.com>
3650
3651 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
3652 (test_gnuv3_style_demangling): ... this.
3653 (test_lucid_style_demangling): Remove.
3654 (test_arm_style_demangling): Remove.
3655 (test_hp_style_demangling): Remove.
3656 (do_tests): Remove calls to the above.
3657
d820d0c3
AB
36582019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3659
3660 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
3661 case.
3662
f097f5ad
TT
36632019-01-06 Tom Tromey <tom@tromey.com>
3664
3665 PR gdb/28155:
3666 * gdb.dwarf2/typedef-void-finish.exp: New file.
3667
2cd8cc0b
TT
36682018-12-28 Tom Tromey <tom@tromey.com>
3669 Simon Marchi <simark@simark.ca>
3670
3671 * gdb.base/jit-exec.exp: New file.
3672 * gdb.base/jit-exec.c: New file.
3673 * gdb.base/jit-execd.c: New file.
3674
35fb8261
TT
36752018-12-28 Tom Tromey <tom@tromey.com>
3676
3677 * gdb.base/style.exp: Update test to check for address styling.
3678
47fd17cd
TT
36792018-12-28 Tom Tromey <tom@tromey.com>
3680
3681 * gdb.base/style.exp: Add test for styling of "Reading symbols"
3682 message.
3683
d47032b7
TT
36842018-12-28 Tom Tromey <tom@tromey.com>
3685
3686 * gdb.base/style.exp: Add test for version number styling.
3687
af79b68d
TT
36882018-12-28 Tom Tromey <tom@tromey.com>
3689
3690 * gdb.base/style.exp: Add test for print_address_symbolic.
3691
0bb296cb
TT
36922018-12-28 Tom Tromey <tom@tromey.com>
3693
3694 * gdb.base/style.exp: Add test for breakpoint setting.
3695
80ae2043
TT
36962018-12-28 Tom Tromey <tom@tromey.com>
3697
3698 * gdb.base/style.exp: Add test for variable names.
3699
cbe56571
TT
37002018-12-28 Tom Tromey <tom@tromey.com>
3701
3702 * gdb.base/style.exp: New file.
3703 * gdb.base/style.c: New file.
3704
9162a27c
TT
37052018-12-28 Tom Tromey <tom@tromey.com>
3706
3707 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
3708 "dumb".
3709 * gdb.base/readline.exp (operate_and_get_next): Save and restore
3710 the TERM environment variable.
3711
bc543c90
TT
37122018-12-27 Tom Tromey <tom@tromey.com>
3713
3714 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
3715 pagination test.
3716
6f0ffe50
AB
37172018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
3718
3719 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
3720 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
3721
b5a1e557
PW
37222018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3723
3724 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
3725 Filename a.adb changed to bp_fun_addr.adb.
3726 gdb.ada/bp_fun_addr.exp: Update test accordingly.
3727
6e8b1ab2
JV
37282018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
3729
3730 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
3731 non-PIE executables.
3732 * README: Mention the gdb,nopie_flag board setting.
3733 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
3734 non-PIE executable.
3735 * gdb.arch/amd64-entry-value.exp: Likewise.
3736 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
3737 * gdb.arch/i386-float.exp: Likewise.
3738 * gdb.arch/i386-signal.exp: Likewise.
3739 * gdb.mi/mi-reg-undefined.exp: Likewise.
3740
d00a27c5
PM
37412018-12-21 Paul Marechal <paul.marechal@ericsson.com>
3742
3743 PR gdb/23974
3744 * gdb.base/info-os.exp: Check return for unknown "info os" type.
3745
161d081c
PW
37462018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3747
3748 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
3749 Update order of results accordingly.
3750
b001de23
AB
37512018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
3752
3753 * gdb.base/annota1.exp: Update a test regexp.
3754
99e1a184
AB
37552018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
3756
3757 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
3758
7a81c1e2
PW
37592018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3760
3761 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
3762 (reuse_time): Initialize to REUSE_TIME_CAP.
3763 (check_rc): New function.
3764 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
3765 Check pthread_create rc.
3766 (spawner_thread_func): Check pthread_create and pthread_join rc.
3767
73e8dc90
PA
37682018-12-08 Pedro Alves <palves@redhat.com>
3769
3770 * gdb.base/list.exp (test_forward_search): Rename to ...
3771 (test_forward_reverse_search): ... this. Also test reverse-search
3772 and the forward-search alias.
3773
13f2ed32
AB
37742018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
3775
3776 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
3777 local timeout variable before return, and remove all local timeout
3778 variable entirely.
3779 (gdb_load): Likewise.
3780
64d27cfc
TV
37812018-12-01 Tom de Vries <tdevries@suse.de>
3782
3783 * gdb.base/gdb-caching-proc.exp: New file.
3784
f63c03b4
SDJ
37852018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
3786
3787 * Makefile.in (TIMESTAMP): New variable.
3788 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
3789 command.
3790 (check-single-racy): Likewise.
3791 (check/%.exp): Likewise.
3792 (check-racy/%.exp): Likewise.
3793 (workers/%.worker): Likewise.
3794 (build-perf): Likewise.
3795 (check-perf): Likewise.
3796 * README: Describe new "TS" and "TS_FORMAT" variables.
3797 * print-ts.py: New file.
3798
1c97054b
BF
37992018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
3800
3801 PR python/23714
3802 * gdb.python/python.exp: Test command repetition after
3803 gdb.execute.
3804
1871a62d
AB
38052018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
3806
3807 * gdb.opt/inline-break.exp: Add test that info breakpoint output
3808 is correctly aligned.
3809
fb5e1ed9
PW
38102018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3811
3812 * gdb.ada/info_auto_lang.exp: New testcase.
3813 * gdb.ada/info_auto_lang/global_pack.ads: New file.
3814 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
3815 * gdb.ada/info_auto_lang/some_c.c: New file.
3816
43d397ca
PW
38172018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3818
3819 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
3820 FUNC_lang language syntax.
3821
beddd671
PW
38222018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3823
3824 * gdb.base/info_minsym.c: New file.
3825 * gdb.base/info_minsym.exp: New file.
3826
73fc52c4
TT
38272018-11-19 Tom Tromey <tom@tromey.com>
3828
3829 PR rust/23625:
3830 * gdb.rust/simple.exp: Add ptype test. Update expected output.
3831 * gdb.rust/expr.exp: Update expected output. Change one test.
3832
994b876a
TT
38332018-11-19 Tom Tromey <tom@tromey.com>
3834
3835 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
3836
6769f276
PA
38372018-11-19 Pedro Alves <palves@redhat.com>
3838
3839 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
3840 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
3841 see the expected warning.
3842
38a72da0
AH
38432018-11-16 Alan Hayward <alan.hayward@arm.com>
3844
3845 PR gdb/22736:
3846 * gdb.cp/infcall-nodebug-lib.c: New test.
3847 * gdb.cp/infcall-nodebug-main.c: New test.
3848 * gdb.cp/infcall-nodebug.exp: New file.
3849
53a89d6e
SM
38502018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
3851
3852 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
3853 completer tests.
3854
9325300d
TV
38552018-11-09 Tom de Vries <tdevries@suse.de>
3856
3857 * gdb.base/msym-lang.c: New test.
3858 * gdb.base/msym-lang.exp: New file.
3859 * gdb.base/msym-lang-main.c: New test.
3860
20f0d60d
TT
38612018-11-08 Tom Tromey <tom@tromey.com>
3862
3863 PR gdb/23555:
3864 PR gdb/23838:
3865 * gdb.base/warning.exp: New file.
3866
b5420128
JB
38672018-11-08 Jan Beulich <jbeulich@suse.com>
3868
3869 * testsuite/gdb.arch/i386-avx512.c,
3870 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
3871
cd115d61
AB
38722018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
3873
3874 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
3875 point hardware.
3876
35ee2dc2
AB
38772018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
3878
3879 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
3880 * gdb.dwarf2/missing-type-name.exp: New file.
3881
31aceee8
TV
38822018-11-06 Tom de Vries <tdevries@suse.de>
3883
3884 * gdb.base/many-headers.c: New test.
3885 * gdb.base/many-headers.exp: New file.
3886
109be305
JW
38872018-11-06 Jim Wilson <jimw@sifive.com>
3888
3889 * gdb.base/code_elim.exp: For riscv, set additional_flags
3890 to include -msmall-data-limit=0.
3891
e2b7af72
JB
38922018-11-01 Joel Brobecker <brobecker@adacore.com>
3893
3894 * gdb.ada/watch_minus_l: New testcase.
3895
cdcda965
SM
38962018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
3897
3898 * gdb.arch/aix-sighandle.c: New file.
3899 * gdb.arch/aix-sighandle.exp: New file.
3900
92dcebf3
AB
39012018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3902
3903 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
3904 registers being unions.
3905
68b9ac18
TV
39062018-10-31 Tom de Vries <tdevries@suse.de>
3907
3908 * lib/valgrind.exp: New file.
3909 (vgdb_start, vgdb_stop): New procs, factored out of ...
3910 * gdb.base/valgrind-bt.exp: ... here, ...
3911 * gdb.base/valgrind-disp-step.exp: ... here and ...
3912 * gdb.base/valgrind-infcall.exp: ... here.
3913
1443936e
TV
39142018-10-31 Tom de Vries <tdevries@suse.de>
3915
3916 * lib/gdb.exp (get_valueof): Don't output read value in test name.
3917
eb77c9df
AB
39182018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3919
3920 * gdb.dwarf2/void-type.c: New file.
3921 * gdb.dwarf2/void-type.exp: New file.
3922
82b5e646
PW
39232018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3924
3925 * gdb.base/info_qt.c: New file.
3926 * gdb.base/info_qt.exp: New file.
3927
8d619c01
EBM
39282018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3929
3930 * gdb.arch/powerpc-htm-regs.c: New file.
3931 * gdb.arch/powerpc-htm-regs.exp: New file.
3932
f2cf6173
EBM
39332018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3934
3935 * gdb.arch/powerpc-tar.c: New file.
3936 * gdb.arch/powerpc-tar.exp: New file.
3937
7ca18ed6
EBM
39382018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3939
3940 * gdb.arch/powerpc-ppr-dscr.c: New file.
3941 * gdb.arch/powerpc-ppr-dscr.exp: New file.
3942
bfcc0eba
TV
39432018-10-25 Tom de Vries <tdevries@suse.de>
3944
3945 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
3946
fe1a5cad
TV
39472018-10-24 Tom de Vries <tdevries@suse.de>
3948
3949 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
3950 longer exists error.
3951
a76dc3b7
TV
39522018-10-24 Tom de Vries <tdevries@suse.de>
3953
3954 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
3955
4df46df7
TV
39562018-10-24 Tom de Vries <tdevries@suse.de>
3957
3958 * gdb.base/valgrind-db-attach.exp: Handle removed support for
3959 --db-attach in valgrind.
3960
0dbfcfff
AB
39612018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
3962
3963 * gdb.arch/riscv-reg-aliases.c: New file.
3964 * gdb.arch/riscv-reg-aliases.exp: New file.
3965
b04480b1
AH
39662018-10-19 Alan Hayward <alan.hayward@arm.com>
3967
3968 * gdb.python/py-cmd.exp: Check for gdb_prompt.
3969
2c6ac8d7
AH
39702018-10-19 Alan Hayward <alan.hayward@arm.com>
3971
3972 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
3973
2bc69f25
AH
39742018-10-19 Alan Hayward <alan.hayward@arm.com>
3975
3976 * gdb.cp/ovldbreak.exp: Fix regexps.
3977
1f1ae3a3
AH
39782018-10-19 Alan Hayward <alan.hayward@arm.com>
3979
3980 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
3981
94c18618
SDJ
39822018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
3983
3984 PR cli/23785
3985 * gdb.base/restore.exp: New test to check if "restore" with an
3986 invalid file doesn't segfault.
3987
812cd6eb
TV
39882018-10-18 Tom de Vries <tdevries@suse.de>
3989
3990 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
3991 * gdb.ada/excep_handle.exp: Same.
3992 * gdb.ada/mi_string_access.exp: Same.
3993 * gdb.ada/mi_var_union.exp: Same.
3994 * gdb.arch/arc-analyze-prologue.exp: Same.
3995 * gdb.arch/arc-decode-insn.exp: Same.
3996 * gdb.base/readnever.exp: Same.
3997 * gdb.fortran/printing-types.exp: Same.
3998 * gdb.guile/scm-lazy-string.exp: Same.
3999
c4b90788
TV
40002018-10-16 Tom de Vries <tdevries@suse.de>
4001
4002 PR gdb/23730
4003 * gdb.base/catch-follow-exec.c: Add copyright notice.
4004 * gdb.base/catch-follow-exec.exp: Rewrite to use
4005 gdb_spawn_with_cmdline_opts. Require gdb-native.
4006
8bca2978
SL
40072018-10-12 Sandra Loosemore <sandra@codesourcery.com>
4008
4009 * gdb.trace/actions-changed.exp: Check for arch support.
4010 * gdb.trace/actions.exp: Likewise.
4011 * gdb.trace/ax.exp: Likewise.
4012 * gdb.trace/backtrace.exp: Likewise.
4013 * gdb.trace/change-loc.exp: Likewise.
4014 * gdb.trace/deltrace.exp: Likewise.
4015 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
4016 * gdb.trace/ftrace.exp: Likewise.
4017 * gdb.trace/infotrace.exp: Check for arch support.
4018 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
4019 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
4020 * gdb.trace/mi-tsv-changed.exp: Likewise.
4021 * gdb.trace/packetlen.exp: Likewise.
4022 * gdb.trace/passc-dyn.exp: Likewise.
4023 * gdb.trace/passcount.exp: Likewise.
4024 * gdb.trace/pending.exp: Likewise.
4025 * gdb.trace/range-stepping.exp: Check for shlib support.
4026 * gdb.trace/report.exp: Check for arch support.
4027 * gdb.trace/save-trace.exp: Likewise.
4028 * gdb.trace/signal.exp: Check for signal support.
4029 * gdb.trace/tfind.exp: Check for arch support.
4030 * gdb.trace/trace-break.exp: Check for arch and shlib support.
4031 * gdb.trace/trace-common.h: Add comment.
4032 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
4033 * gdb.trace/trace-enable-disable.exp: Likewise.
4034 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
4035 * gdb.trace/tracecmd.exp: Check for arch support.
4036 * gdb.trace/tspeed.exp: Check for shlib and target support.
4037 * gdb.trace/tstatus.exp: Check for arch support.
4038 * gdb.trace/tsv.exp: Likewise.
4039 * gdb.trace/while-dyn.exp: Likewise.
4040 * gdb.trace/while-stepping.exp: Likewise.
4041 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
4042
f9c49bff
SM
40432018-10-12 Simon Marchi <simon.marchi@ericsson.com>
4044
4045 * gdb.trace/tspeed.exp: Remove nowarnings.
4046 (prepare_for_trace_test): Declare "global ipalib".
4047 * gdb.trace/tspeed.c: Include unistd.h.
4048 (main): Remove superfluous printf argument.
4049
d4330bde
SL
40502018-10-11 Sandra Loosemore <sandra@codesourcery.com>
4051
4052 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
4053 directory prefix on the filename.
4054
8ecfd7bd
SDJ
40552018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
4056
4057 * gdb.gdb/unittest.exp: Update expected message informing that
4058 selftests have been disabled.
4059 * gdb.server/unittest.exp: Likewise.
4060
58bbcd02
TV
40612018-10-09 Tom de Vries <tdevries@suse.de>
4062
4063 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
4064 with runto_main.
4065
9f6b697b
WP
40662018-10-08 Weimin Pan <weimin.pan@oracle.com>
4067
4068 PR c++/16841
4069 * gdb.cp/virtbase2.cc: New file.
4070 * gdb.cp/virtbase2.exp: New file.
4071
add5ded5
TT
40722018-10-06 Tom Tromey <tom@tromey.com>
4073
4074 PR python/19399:
4075 * gdb.python/py-inferior.exp: Add architecture test.
4076
f9e48344
TT
40772018-10-06 Tom Tromey <tom@tromey.com>
4078
4079 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
4080 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
4081
2a8be203
TT
40822018-10-06 Tom Tromey <tom@tromey.com>
4083
4084 * gdb.python/py-breakpoint.exp (check_last_event): Check location
4085 of a "throw" catchpoint.
4086
e04caa70
SDJ
40872018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
4088
4089 * gdb.base/info-proc.exp: Update string expected from "help info
4090 proc".
4091
5ca8c39f
TT
40922018-10-04 Tom Tromey <tom@tromey.com>
4093
4094 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
4095 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
4096 (test_initial_complaints, test_empty_complaints): Update.
4097 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
4098
3453e7e4
TT
40992018-10-04 Tom Tromey <tom@tromey.com>
4100
4101 PR cli/19551:
4102 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
4103 * lib/gdb.exp (gdb_file_cmd): Update.
4104 * gdb.stabs/weird.exp (print_weird_var): Update.
4105 * gdb.server/solib-list.exp: Update.
4106 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
4107 * gdb.mi/mi-cli.exp: Update.
4108 * gdb.linespec/linespec.exp: Update.
4109 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
4110 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
4111 * gdb.cp/cp-relocate.exp: Update.
4112 * gdb.base/sym-file.exp: Update.
4113 * gdb.base/relocate.exp: Update.
4114 * gdb.base/readnever.exp: Update.
4115 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
4116 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
4117 * gdb.base/dbx.exp (gdb_file_cmd): Update.
4118 * gdb.base/code_elim.exp: Update.
4119 * gdb.base/break-unload-file.exp (test_break): Update.
4120 * gdb.base/break-interp.exp (test_attach_gdb): Update.
4121 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
4122 Update.
4123 * gdb.base/attach.exp (do_attach_tests): Update.
4124 * gdb.base/sepdebug.exp: Update.
4125 * gdb.python/py-section-script.exp: Update.
4126
6afcf761
TT
41272018-10-04 Tom Tromey <tom@tromey.com>
4128
4129 PR cli/22234:
4130 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
4131 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
4132 output.
4133
fef1b293
TT
41342018-10-04 Tom Tromey <tom@tromey.com>
4135
4136 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
4137 set width and height to 0.
4138 (test_command_line_attach_run): Use -quiet.
4139
ca98345e
SL
41402018-10-03 Sandra Loosemore <sandra@codesourcery.com>
4141
4142 * lib/gdb.exp (skip_ifunc_tests): New.
4143 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
4144 other compile failures.
4145 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
4146
ff34e6ae
SM
41472018-10-01 Simon Marchi <simon.marchi@ericsson.com>
4148
4149 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
4150 is_amd64_regs_target.
4151
6bb8890e
AH
41522018-10-01 Alan Hayward <alan.hayward@arm.com>
4153
4154 * gdb.arch/aarch64-sighandler-regs.c: New test.
4155 * gdb.arch/aarch64-sighandler-regs.exp: New file.
4156 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
4157
224d30d3
MM
41582018-10-01 Markus Metzger <markus.t.metzger@intel.com>
4159
4160 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
4161 assembly.
4162
f67ffa6a
AB
41632018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
4164
4165 * gdb.base/frame-selection.exp: New file.
4166 * gdb.base/frame-selection.c: New file.
4167
9fc3183f
AH
41682018-09-27 Alan Hayward <alan.hayward@arm.com>
4169
4170 * gdb.threads/check-libthread-db.c (thread_routine): Use a
4171 pthread barrier.
4172 (main): Likewise.
4173
d354055e
AB
41742018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
4175
4176 * gdb.base/large-frame-1.c: New file.
4177 * gdb.base/large-frame-2.c: New file.
4178 * gdb.base/large-frame.exp: New file.
4179 * gdb.base/large-frame.h: New file.
4180
db727370
JL
41812018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
4182
4183 PR gdb/20948
4184 * gdb.base/write_mem.exp: New test.
4185 * gdb.base/write_mem.c: Likewise.
4186
ae778caf
TT
41872018-09-23 Tom Tromey <tom@tromey.com>
4188
4189 PR python/18852:
4190 * gdb.python/py-parameter.exp: Add test for parameter that throws
4191 on "set".
4192
fd3ba736
TT
41932018-09-23 Tom Tromey <tom@tromey.com>
4194
4195 PR python/17284:
4196 * gdb.python/py-template.exp (test_template_arg): Add test for
4197 negative template argument number.
4198
39a24317
TT
41992018-09-23 Tom Tromey <tom@tromey.com>
4200
4201 PR python/14062:
4202 * gdb.python/python.exp: Add test for post_event error.
4203
f5769a2c
TT
42042018-09-23 Tom Tromey <tom@tromey.com>
4205
4206 PR python/18170:
4207 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
4208 convert pointers to int and long.
4209
1c1e54f6
TT
42102018-09-23 Tom Tromey <tom@tromey.com>
4211
4212 PR python/20126:
4213 * gdb.python/py-value.exp (test_value_numeric_ops): Add
4214 signed-ness conversion tests.
4215
fb4fa946
TT
42162018-09-23 Tom Tromey <tom@tromey.com>
4217
4218 PR python/18352;
4219 * gdb.python/py-value.exp (test_float_conversion): New proc.
4220 Use it.
4221
a466edac
HAQ
42222018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
4223
4224 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
4225
4ee9b0c5
SL
42262018-09-18 Sandra Loosemore <sandra@codesourcery.com>
4227
4228 * gdb.base/complete-empty.exp: Skip tab-completion tests if
4229 no readline.
4230 * gdb.base/utf8-identifiers.exp: Likewise.
4231 * gdb.cp/cpcompletion.exp: Likewise.
4232 * gdb.linespec/cpcompletion.exp: Likewise.
4233 * gdb.linespec/cpls-abi-tag.exp: Likewise.
4234 * gdb.linespec/cpls-ops.exp: Likewise.
4235
23be8da7
RB
42362018-09-19 Richard Bunt <richard.bunt@arm.com>
4237 Chris January <chris.january@arm.com>
4238
4239 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
4240 * gdb.fortran/short-circuit-argument-list.exp: New file.
4241 * gdb.fortran/short-circuit-argument-list.f90: New test.
4242
5031d0ae
SDJ
42432018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4244
4245 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
4246 "arch=" keyword when executing "-stack-list-frames".
4247
b4c0d1a4
SDJ
42482018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4249
4250 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
4251 "arch=" keyword when executing "-stack-list-frames".
4252
7a6d2b45
SDJ
42532018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4254
4255 * gdb.ada/complete.exp: Expect for "@" when doing "complete
4256 break ada".
4257
8588b356
SM
42582018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
4259
4260 PR python/23669
4261 * gdb.python/python.exp: Test gdb.execute("show commands").
4262
65e65158
TT
42632018-09-16 Tom Tromey <tom@tromey.com>
4264
4265 * gdb.base/new-ui.exp (do_execution_tests): Update.
4266 * gdb.base/dbx.exp (test_breakpoints): Update.
4267
bf326452
AH
42682018-09-14 Alan Hayward <alan.hayward@arm.com>
4269
4270 * lib/gdb.exp (gdb_simple_compile): Add proc.
4271 (is_elf_target): Use gdb_simple_compile.
4272 (skip_altivec_tests): Likewise.
4273 (skip_vsx_tests): Likewise.
4274 (skip_tsx_tests): Likewise.
4275 (skip_btrace_tests): Likewise.
4276 (skip_btrace_pt_tests): Likewise.
4277 (gdb_can_simple_compile): Likewise.
4278 (gdb_has_argv0): Likewise.
4279 (gdb_target_symbol_prefix): Likewise.
4280 (target_supports_scheduler_locking): Likewise.
4281
2361b0fb
TT
42822018-09-13 Tom Tromey <tom@tromey.com>
4283
4284 * Makefile.in (TAGS): Recognize proc_with_prefix and
4285 gdb_caching_proc.
4286
0ae1a321
SM
42872018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4288
4289 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
4290 method.
4291
a40bf0c2
SM
42922018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4293
4294 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
4295 and a few other Inferior properties when the Inferior is no
4296 longer valid.
4297
4a3fe98f
TT
42982018-09-13 Tom Tromey <tom@tromey.com>
4299
4300 PR rust/23650:
4301 * gdb.rust/simple.exp: Add test for enum field access error.
4302
098b2108
TT
43032018-09-13 Tom Tromey <tom@tromey.com>
4304
4305 PR rust/23626:
4306 * gdb.rust/simple.rs (EmptyEnum): New type.
4307 (main): Use it.
4308 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
4309
1256af7d
SM
43102018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4311
4312 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
4313 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
4314 * gdb.python/py-symtab.exp: Update test printing an objfile.
4315
4aa8e6c2
SM
43162018-09-12 Simon Marchi <simon.marchi@ericsson.com>
4317
4318 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
4319 object.
4320
c221b2f7
AH
43212018-09-12 Alan Hayward <alan.hayward@arm.com>
4322
4323 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
4324 (support_complex_tests): Use gdb_can_simple_compile.
4325 (is_ilp32_target): Likewise.
4326 (is_lp64_target): Likewise.
4327 (is_64_target): Likewise.
4328 (is_amd64_regs_target): Likewise.
4329 (is_aarch32_target): Likewise.
4330 (gdb_int128_helper): Likewise.
4331
6f1107b5
JK
43322018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4333
4334 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
4335
1f5d1570
JG
43362018-09-10 Jerome Guitton <guitton@adacore.com>
4337
4338 * gdb.ada/same_component_name: Add test for case of tagged record
4339 with variable-length fields.
4340
cc330e39
XR
43412018-09-10 Xavier Roirand <roirand@adacore.com>
4342
4343 * gdb.ada/access_to_unbounded_array.exp: New testcase.
4344 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
4345 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
4346 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
4347
b9c50e9a
XR
43482018-09-10 Xavier Roirand <roirand@adacore.com>
4349
4350 * gdb.ada/mi_string_access.exp: New testcase.
4351 * gdb.ada/mi_string_access/bar.adb: New file.
4352 * gdb.ada/mi_string_access/pck.adb: New file.
4353 * gdb.ada/mi_string_access/pck.asd: New file.
4354
2963898f
XR
43552018-09-10 Xavier Roirand <roirand@adacore.com>
4356
4357 * gdb.ada/mi_var_union.exp: New testcase.
4358 * gdb.ada/mi_var_union/bar.adb: New file.
4359 * gdb.ada/mi_var_union/pck.adb: New file.
4360 * gdb.ada/mi_var_union/pck.asd: New file.
4361
1aac008f
TT
43622018-09-08 Tom Tromey <tom@tromey.com>
4363
4364 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
4365
332cf4c9
TT
43662018-09-08 Tom Tromey <tom@tromey.com>
4367
4368 PR python/16047:
4369 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
4370 (register_pretty_printers): Register new printer.
4371 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
4372 test.
4373 * gdb.python/py-prettyprint.c (int_type3): New typedef.
4374 (an_int_type3): New global.
4375
424da6cf
JB
43762018-09-08 Joel Brobecker <brobecker@adacore.com>
4377
4378 * gdb.ada/expr_with_funcall: New testcase.
4379
2a62dfa9
JB
43802018-09-08 Joel Brobecker <brobecker@adacore.com>
4381
4382 * gdb.ada/packed_array_assign: New testcase.
4383
96b6697f
AB
43842018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
4385
4386 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
4387 names, and add test prefixes to make test names unique.
4388
e4a62c65
TV
43892018-09-05 Tom de Vries <tdevries@suse.de>
4390
4391 * gdb.dwarf2/varval.exp: Add test.
4392
dd083ee2
GB
43932018-09-04 Gary Benson <gbenson@redhat.com>
4394
4395 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
4396 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
4397
aef9346c
TT
43982018-08-31 Tom Tromey <tom@tromey.com>
4399
4400 * gdb.rust/simple.rs: Rename second variable "v".
4401
c67f2e15
AB
44022018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
4403
4404 * gdb.base/funcargs.c (use_a): New function.
4405 (recurse): Call use_a.
4406
078a0207
KS
44072018-08-29 Keith Seitz <keiths@redhat.com>
4408
4409 * gdb.compile/compile-cplus-anonymous.cc: New file.
4410 * gdb.compile/compile-cplus-anonymous.exp: New file.
4411 * gdb.compile/compile-cplus-array-decay.cc: New file.
4412 * gdb.compile/compile-cplus-array-decay.exp: New file.
4413 * gdb.compile/compile-cplus-inherit.cc: New file.
4414 * gdb.compile/compile-cplus-inherit.exp: New file.
4415 * gdb.compile/compile-cplus-member.cc: New file.
4416 * gdb.compile/compile-cplus-member.exp: New file.
4417 * gdb.compile/compile-cplus-method.cc: New file.
4418 * gdb.compile/compile-cplus-method.exp: New file.
4419 * gdb.compile/compile-cplus-mod.c: "New" file.
4420 * gdb.compile/compile-cplus-namespace.cc: New file.
4421 * gdb.compile/compile-cplus-namespace.exp: New file.
4422 * gdb.compile/compile-cplus-nested.cc: New file.
4423 * gdb.compile/compile-cplus-nested.exp: New file.
4424 * gdb.compile/compile-cplus-print.c: "New" file.
4425 * gdb.compile/compile-cplus-print.exp: "New" file.
4426 * gdb.compile/compile-cplus-virtual.cc: New file.
4427 * gdb.compile/compile-cplus-virtual.exp: New file.
4428 * gdb.compile/compile-cplus.c: "New" file.
4429 * gdb.compile/compile-cplus.exp: "New" file.
4430 * lib/compile-support.exp: New file.
4431
b0f492b9
GB
44322018-08-16 Gary Benson <gbenson@redhat.com>
4433
4434 PR gdb/13000:
4435 * gdb.base/batch-exit-status.exp: New file.
4436 * gdb.base/batch-exit-status.good-commands: Likewise.
4437 * gdb.base/batch-exit-status.bad-commands: Likewise.
4438
36eb4c5f
AH
44392018-08-29 Alan Hayward <alan.hayward@arm.com>
4440
4441 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
4442 (struct struct02): Likewise.
4443 (struct struct03): Likewise.
4444 (struct struct04): Likewise.
4445 (struct struct_01_01): New struct.
4446 (struct struct_01_02): Likewise.
4447 (struct struct_01_03): Likewise.
4448 (struct struct_01_04): Likewise.
4449 (struct struct_02_01): Likewise.
4450 (struct struct_02_02): Likewise.
4451 (struct struct_02_03): Likewise.
4452 (struct struct_02_04): Likewise.
4453 (struct struct_04_01): Likewise.
4454 (struct struct_04_02): Likewise.
4455 (struct struct_04_03): Likewise.
4456 (struct struct_04_04): Likewise.
4457 (struct struct_05_01): Likewise.
4458 (struct struct_05_02): Likewise.
4459 (struct struct_05_03): Likewise.
4460 (struct struct_05_04): Likewise.
4461 (cmp_struct01): Remove function.
4462 (cmp_struct02): Likewise.
4463 (cmp_struct03): Likewise.
4464 (cmp_struct04): Likewise.
4465 (cmp_struct_01_01): Add Function.
4466 (cmp_struct_01_02): Likewise.
4467 (cmp_struct_01_03): Likewise.
4468 (cmp_struct_01_04): Likewise.
4469 (cmp_struct_02_01): Likewise.
4470 (cmp_struct_02_02): Likewise.
4471 (cmp_struct_02_03): Likewise.
4472 (cmp_struct_02_04): Likewise.
4473 (cmp_struct_04_01): Likewise.
4474 (cmp_struct_04_02): Likewise.
4475 (cmp_struct_04_03): Likewise.
4476 (cmp_struct_04_04): Likewise.
4477 (cmp_struct_05_01): Likewise.
4478 (cmp_struct_05_02): Likewise.
4479 (cmp_struct_05_03): Likewise.
4480 (cmp_struct_05_04): Likewise.
4481 (call_all): Add new structs.
4482 * gdb.base/infcall-nested-structs.exp: Likewise.
4483
3bf9c013
JV
44842018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
4485
4486 * gdb.python/py-framefilter-mi.exp: Update regexp to
4487 check for "arch" field in frame output.
4488
450d1e88
KB
44892018-08-23 Kevin Buettner <kevinb@redhat.com>
4490
4491 * gdb.dwarf2/dw2-ranges-func.c: New file.
4492 * gdb.dwarf2/dw2-ranges-func.exp: New file.
4493
ae739fe7
SM
44942018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
4495
4496 * gdb.base/term.exp: Compare terminal settings with values from
4497 the inferior.
4498 * gdb.base/term.c: Get and set terminal settings.
4499
6d52907e
JV
45002018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
4501
4502 * lib/mi-support.exp (mi_expect_stop): Update regexp to
4503 accommodate new "arch" field in frame output.
4504 * gdb.mi/mi-return.exp: Likewise.
4505 * gdb.mi/mi-stack.exp: Likewise.
4506 * gdb.mi/mi-syn-frame.exp: Likewise.
4507 * gdb.mi/user-selected-context-sync.exp: Likewise.
4508
be2d111a
MS
45092018-08-19 Michael Spang <spang@google.com>
4510
4511 PR gdb/11786
4512 * gdb.base/gcore-tls-pie.c: New file.
4513 * gdb.base/gcore-tls-pie.exp: New file.
4514
ae3a7c47
KB
45152018-08-18 Kevin Buettner <kevinb@redhat.com>
4516
4517 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
4518 * gdb.dwarf2/varval.c: New file.
4519 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 4520
2ecae92e
AH
45212018-08-17 Alan Hayward <alan.hayward@arm.com>
4522
4523 PR gdb/18931
4524 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
4525
c1854f1d
KS
45262018-08-16 Keith Seitz <keiths@redhat.com>
4527
4528 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
4529 tests expected to pass.
4530
26fb3983
JV
45312018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
4532
4533 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
4534 -data-disassemble -a.
4535 (test_disassembly_bogus_args): Likewise.
4536
67943c00
AB
45372018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
4538
4539 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
4540
5ff2bbae
AB
45412018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
4542
4543 * gdb.base/vla-optimized-out.exp: Add new test.
4544
e5bbcd0f
AB
45452018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
4546
4547 * gdb.base/vla-optimized-out-o3.exp: Delete.
4548 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
4549 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
4550 deleted tests.
4551
9d4a934c
AB
45522018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
4553
4554 PR gdb/18050:
4555 * gdb.server/extended-remote-restart.c: New file.
4556 * gdb.server/extended-remote-restart.exp: New file.
4557
045cf012
SM
45582018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
4559
4560 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
4561 "set variable index = 42".
4562
87d6a7aa
SM
45632018-08-07 Simon Marchi <simon.marchi@ericsson.com>
4564
4565 * boards/index-cache-gdb.exp: New file.
4566 * gdb.dwarf2/index-cache.exp: New file.
4567 * gdb.dwarf2/index-cache.c: New file.
4568 * gdb.base/maint.exp: Check if we are using the index cache.
4569
96d68bd4
RO
45702018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4571
4572 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
4573 MAKEFLAGS.
4574
5a699617
RO
45752018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4576
4577 * dg-extract-results.sh: Move to toplevel contrib.
4578 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
4579 * Makefile.in (check-parallel-racy): Likewise.
4580
5bd18990
AB
45812018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
4582
4583 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
4584 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
4585 tests if the target supports scheduler locking.
4586
3fbbcf47
TV
45872018-08-04 Tom de Vries <tdevries@suse.de>
4588
4589 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
4590
3e1d3d8c
TT
45912018-08-02 Tom Tromey <tom@tromey.com>
4592
4593 PR symtab/16842.
4594 * gdb.cp/temargs.exp: Test "info address" of a template
4595 parameter.
4596
5abe0f0c
JV
45972018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
4598
4599 * gdb.python/py-mi-var-info-path-expression.c: New file.
4600 * gdb.python/py-mi-var-info-path-expression.py: New file.
4601 * gdb.python/py-mi-var-info-path-expression.exp: New file.
4602
fb66cde8
SDJ
46032018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
4604
4605 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
4606 error after "cannot resolve name" string.
4607
c708f4d2
AB
46082018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
4609
4610 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
4611 started.
4612 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
4613
37cc0cae
TV
46142018-07-28 Tom de Vries <tdevries@suse.de>
4615
4616 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
4617
63b4ecf7
TV
46182018-07-26 Tom de Vries <tdevries@suse.de>
4619
4620 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
4621
3c3bb058
AB
46222018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
4623
4624 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
4625 is visible.
4626
9e7f3bbb
TV
46272018-07-26 Tom de Vries <tdevries@suse.de>
4628
4629 PR breakpoints/23366
4630 * gdb.base/catch-follow-exec.c: New test.
4631 * gdb.base/catch-follow-exec.exp: New file.
4632
16f808ec
TV
46332018-07-25 Tom de Vries <tdevries@suse.de>
4634
4635 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
4636 vla-optimized-out.c.
4637
d7154a8d
JV
46382018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
4639
4640 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
4641 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
4642
232a0032
TV
46432018-07-20 Tom de Vries <tdevries@suse.de>
4644
4645 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
4646 NOCLONE macro.
4647 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
4648
fbb1d502
TV
46492018-07-19 Tom de Vries <tdevries@suse.de>
4650
4651 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
4652 regular expression.
4653
42dc7699
TV
46542018-07-18 Tom de Vries <tdevries@suse.de>
4655
4656 * gdb.base/vla-optimized-out.c: New test.
4657 * gdb.base/vla-optimized-out.exp: New file.
4658
7f1f7e23
SDJ
46592018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
4660
4661 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
4662 message "No address associated with hostname" when gdbserver
4663 cannot resolve the hostname.
4664
5759ebb3
PW
46652018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4666
4667 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
4668 Add some test prefixes to make tests unique.
4669
3606ccab
PW
46702018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4671
4672 * gdb.base/frameapply.c: New file.
4673 * gdb.base/frameapply.exp: New file.
4674
529c08b2
PW
46752018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4676
4677 * gdb.base/skip.exp: Update expected error message.
4678
c7ab0aef
SDJ
46792018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
4680 Jan Kratochvil <jan.kratochvil@redhat.com>
4681 Paul Fertser <fercerpav@gmail.com>
4682 Tsutomu Seki <sekiriki@gmail.com>
4683
4684 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
4685 parameter.
4686 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
4687 by default.
4688 * boards/native-gdbserver.exp: Likewise.
4689 * gdb.server/run-without-local-binary.exp: Improve regexp used
4690 for detecting when a remote debugging connection succeeds.
4691 * gdb.server/server-connect.exp: New file.
4692 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
4693 Do not prefix the port number with ":".
4694 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
4695 support for detecting and using it. Add '$debughost_gdbserver'
4696 to the list of arguments used to start gdbserver. Handle case
4697 when gdbserver cannot resolve a network name.
4698
16ff70dd
SDJ
46992018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
4700
4701 PR c++/23373
4702 * gdb.base/ptype-offsets.cc (struct static_member): New
4703 struct.
4704 (main) <stmember>: New variable.
4705 * gdb.base/ptype-offsets.exp: Add test for printing a struct
4706 with a static member in it.
4707
3541979f
AB
47082018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
4709
4710 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
4711 watchpoints enabled and disabled.
4712
c8ad9b9a
AB
47132018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4714
4715 * gdb.base/examine-backward.exp: Still run tests around address
4716 0x0, even if address 0x0 is not readable. Update the pattern for
4717 matching address 0x0 in expected output.
4718
e0e5e971
AB
47192018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
4720
4721 * gdb.base/share-env-with-gdbserver.c (main): Add call to
4722 malloc/free.
4723
1ea5da02
TV
47242018-07-04 Tom de Vries <tdevries@suse.de>
4725
4726 * gdb.dwarf2/dw2-error.exp: Update expected error message.
4727
471b9d15
MR
47282018-07-02 Maciej W. Rozycki <macro@mips.com>
4729
4730 PR tdep/8282
4731 * gdb.arch/mips-disassembler-options.exp: New test.
4732 * gdb.arch/mips-disassembler-options.s: New test source.
4733
75acb486
PA
47342018-06-29 Pedro Alves <palves@redhat.com>
4735
4736 * gdb.threads/names.exp: Adjust expected "info threads" output.
4737
cd2bb709
PA
47382018-06-29 Pedro Alves <palves@redhat.com>
4739
4740 * gdb.opt/inline-break.exp (line number, address): Add "info
4741 break" tests.
4742
991ff292
PA
47432018-06-29 Pedro Alves <palves@redhat.com>
4744
4745 * gdb.opt/inline-break.c (func1): Add "break here" marker.
4746 * gdb.opt/inline-break.exp: Test setting breakpoints by line
4747 number and address and running to them.
4748
356819b6 47492018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
4750
4751 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
4752
2512d7ef
JK
47532018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4754
4755 * lib/compiler.c: Remove executable permission flag.
4756
be1b6474
RB
47572018-06-28 Richard Bunt <richard.bunt@arm.com>
4758
4759 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
4760 code.
4761 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
4762
291f9a96
PT
47632018-06-28 Petr Tesarik <ptesarik@suse.cz>
4764
4765 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
4766
ed6dfe51
PT
47672018-06-28 Petr Tesarik <ptesarik@suse.cz>
4768
4769 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
4770 address argument is omitted.
4771
d4d429d5
PT
47722018-06-28 Petr Tesarik <ptesarik@suse.cz>
4773
4774 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
4775
7ab6656f
OJ
47762018-06-27 Omair Javaid <omair.javaid@linaro.org>
4777
4778 PR gdb/21695
4779 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
4780 * gdb.base/infoline-reloc-main-from-zero.c: New file.
4781
a33ccfc7
TT
47822018-06-26 Tom Tromey <tom@tromey.com>
4783
4784 PR rust/22574:
4785 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
4786 * gdb.rust/simple.rs (struct SimpleLayout): New.
4787
6d72d289
SM
47882018-06-22 Simon Marchi <simon.marchi@ericsson.com>
4789
4790 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
4791 "info registers" output.
4792
8363f9d5
RB
47932018-06-21 Richard Bunt <richard.bunt@arm.com>
4794
4795 * gdb.base/watchpoint-hw-attach.c: New test.
4796 * gdb.base/watchpoint-hw-attach.exp: New file.
4797
f00674fe
SM
47982018-06-20 Simon Marchi <simon.marchi@ericsson.com>
4799
4800 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
4801 through /bin/sh.
4802 * boards/dwarf4-gdb-index.exp: Likewise.
4803 * boards/fission-dwp.exp: Likewise.
4804
1d554008
UW
48052018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
4806
4807 * gdb.base/float128.exp: Add comment and improved fail message
4808 to the failure case of "print large128" test.
4809
d0ac1c44
SM
48102018-06-19 Simon Marchi <simon.marchi@ericsson.com>
4811
4812 * configure.ac: Remove AC_PREREQ.
4813 * configure: Re-generate.
4814
61b04dd0
PA
48152018-06-19 Pedro Alves <palves@redhat.com>
4816
4817 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
4818 (func_extern_caller): New.
4819 (main): Call func_extern_caller.
4820 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
4821 logic change.
4822
f63b508a
SM
48232018-06-18 Weimin Pan <weimin.pan@oracle.com>
4824
4825 PR gdb/16841
4826 * gdb.cp/typedef-base.cc: New file.
4827 * gdb.cp/typedef-base.exp: New file.
4828
0fe3a558
TV
48292018-06-18 Tom de Vries <tdevries@suse.de>
4830
4831 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
4832
7010835a
AB
48332018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
4834 Richard Bunt <Richard.Bunt@arm.com>
4835
4836 * gdb.threads/attach-slow-waitpid.c: New file.
4837 * gdb.threads/attach-slow-waitpid.exp: New file.
4838 * gdb.threads/slow-waitpid.c: New file.
4839
14897d65
PA
48402018-06-14 Pedro Alves <palves@redhat.com>
4841
4842 * gdb.base/fork-running-state.c: Include <errno.h>.
4843 (exit_if_relative_exits): New.
4844 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
4845 exits.
4846 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
4847 child exits.
4848
5d9a0608
TV
48492018-06-14 Tom de Vries <tdevries@suse.de>
4850
4851 PR cli/22573
4852 * gdb.base/finish-pretty.c: New test.
4853 * gdb.base/finish-pretty.exp: New file.
4854
11ae5818
PA
48552018-06-14 Pedro Alves <palves@redhat.com>
4856
4857 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
4858 gdb's expected startup output.
4859
1d39de44
PA
48602018-06-14 Pedro Alves <palves@redhat.com>
4861
4862 * lib/selftest-support.exp (selftest_setup): Remove inlined
4863 function handling.
4864
70ee0000
TV
48652018-06-14 Tom de Vries <tdevries@suse.de>
4866
4867 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
4868 matching of breakpoint printing.
4869
11f4b608
TV
48702018-06-13 Tom de Vries <tdevries@suse.de>
4871
4872 PR testsuite/23269
4873 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
4874 (fork_child): ... here, and ...
4875 (fork_parent): ... here.
4876
48772018-06-12 Tom de Vries <tdevries@suse.de>
4878
4879 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
4880
9516f85a
AB
48812018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
4882 Stephen Roberts <stephen.roberts@arm.com>
4883
4884 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
4885 rewrite test to describe action performed, rather than possible
4886 failure.
4887
5045b3d7
GB
48882018-06-08 Gary Benson <gbenson@redhat.com>
4889
4890 * gdb.threads/check-libthread-db.exp: New file.
4891 * gdb.threads/check-libthread-db.c: Likewise.
4892
c61b06a1
TT
48932018-06-05 Tom Tromey <tom@tromey.com>
4894
4895 * gdb.base/default.exp: Update expected "show version" output.
4896
eb6af809
TT
48972018-06-05 Tom Tromey <tom@tromey.com>
4898
4899 PR cli/12326:
4900 * gdb.cp/static-print-quit.exp: Update.
4901 * lib/gdb.exp (pagination_prompt): Update.
4902 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
4903 * gdb.python/python.exp: Update.
4904
178d6a63
JB
49052018-06-04 Joel Brobecker <brobecker@adacore.com>
4906
4907 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
4908
8e817061
JB
49092018-06-01 Joel Brobecker <brobecker@adacore.com>
4910
4911 * gdb.ada/bp_fun_addr: New testcase.
4912
e86ca25f
TT
49132018-06-01 Tom Tromey <tom@tromey.com>
4914
4915 * gdb.xml/tdesc-regs.exp (load_description): Update expected
4916 results.
4917 * gdb.dwarf2/method-ptr.exp: Set language to C++.
4918 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
4919 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
4920 * gdb.base/maint.exp (maint_pass_if): Update.
4921
4b2dfa9d
MR
49222018-05-31 Maciej W. Rozycki <macro@mips.com>
4923
4924 * gdb.base/endian.exp: New test.
4925 * gdb.base/endian.c: New test source.
4926
45f25d6c
AB
49272018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
4928
4929 PR gdb/23203
4930 * gdb.base/bt-selected-frame.c: New file.
4931 * gdb.base/bt-selected-frame.exp: New file.
4932 * lib/gdb.exp (get_current_frame_number): New function.
4933
d9f6d7f8
MR
49342018-05-24 Maciej W. Rozycki <macro@mips.com>
4935 Pedro Alves <palves@redhat.com>
4936
4937 * gdb.threads/tls-core.c: Include <stdlib.h>
4938 (thread_proc): Call `abort'.
4939 * gdb.threads/tls-core.exp: Generate a core with core_find too.
4940 (tls_core_test): New procedure, bits factored out from ...
4941 (top level): ... here. Test both native cores and gcore cores.
4942
ff1cf532
TT
49432018-05-23 Tom Tromey <tom@tromey.com>
4944
4945 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
4946
b98664d3
TT
49472018-05-23 Tom Tromey <tom@tromey.com>
4948
4949 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
4950 symfile_complaints.
4951 (test_short_complaints): Likewise.
4952 (test_empty_complaints): Likewise.
4953 (test_initial_complaints): Update.
4954
4e9668d0
TT
49552018-05-23 Tom Tromey <tom@tromey.com>
4956
4957 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
4958
43ba33c7
TT
49592018-05-23 Tom Tromey <tom@tromey.com>
4960
4961 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
4962 (test_short_complaints): Update.
4963
035522c0
PA
49642018-05-22 Pedro Alves <palves@redhat.com>
4965
4966 * gdb.base/remote.exp: Only gdb_start after compiling the
4967 testcase. Issue "disconnect" before testing "set remote" command
4968 defaults. Issue clean_restart before running to main.
4969
cc0be08f
PA
49702018-05-22 Pedro Alves <palves@redhat.com>
4971
4972 * gdb.base/remote.exp: Adjust expected output of "show remote
4973 memory-write-packet-size". Add tests for "set remote
4974 memory-write-packet-size 0" and "set remote
4975 memory-write-packet-size fixed/limit".
4976
b1b60145
PA
49772018-05-22 Pedro Alves <palves@redhat.com>
4978
4979 PR gdb/22973
4980 * gdb.base/utf8-identifiers.c: New file.
4981 * gdb.base/utf8-identifiers.exp: New file.
4982
0ec848ad
PFC
49832018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
4984
4985 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
4986
2c3305f6
PFC
49872018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
4988
4989 * gdb.arch/powerpc-vsx-gcore.exp: New file.
4990
ce1e8424
TT
49912018-05-18 Tom Tromey <tom@tromey.com>
4992
4993 * gdb.base/ptype-offsets.exp: Update.
4994
ddfe970e
KS
49952018-05-17 Keith Seitz <keiths@redhat.com>
4996
4997 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
4998 in expected breakpoint stop locations.
4999 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
5000 move to proper scope to test variable values.
5001 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
5002 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
5003 New functions.
5004 (main): Call not_inline_func3.
5005 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
5006 inline_func1, inline_func2, and inline_func3. Test that when each
5007 breakpoint is hit, GDB properly reports both the stop location
5008 and the backtrace. Repeat tests for temporary breakpoints.
5009
0726fcc6
MR
50102018-05-15 Maciej W. Rozycki <macro@mips.com>
5011
5012 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
5013 rather then trying to access it in determining whether the PID
5014 of `gdbserver' could have been retrieved.
5015
8ee22052
AB
50162018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
5017
5018 * gdb.arch/amd64-init-x87-values.S: New file.
5019 * gdb.arch/amd64-init-x87-values.exp: New file.
5020
7785df48
JK
50212018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5022
5023 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
5024
56bcdbea
TT
50252018-05-04 Tom Tromey <tom@tromey.com>
5026
5027 PR python/22730:
5028 * gdb.python/python.exp: Test multi-line execute.
5029
a913fffb
TT
50302018-05-04 Tom Tromey <tom@tromey.com>
5031
5032 PR python/22731:
5033 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
5034
7a2c85f2
TT
50352018-05-04 Tom Tromey <tom@tromey.com>
5036
5037 PR gdb/11750:
5038 * gdb.base/define.exp: Test defining a user command inside a user
5039 command.
5040 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
5041
a3b60e45
JK
50422018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
5043 Pedro Alves <palves@redhat.com>
5044
5045 PR breakpoints/19806 and support for PR external/20207.
5046 * gdb.base/watchpoint-unaligned.c: New file.
5047 * gdb.base/watchpoint-unaligned.exp: New file.
5048
45fe4a03
AB
50492018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
5050
5051 * gdb.base/maint.exp: Make test names unique, use
5052 test_prefix_command_help to test 'help maint info', and remove
5053 repeated test of 'help maint'.
5054
9be2ae8f
TT
50552018-05-04 Tom Tromey <tom@tromey.com>
5056
5057 PR gdb/22619:
5058 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
5059 behavior.
5060
11859c31
AB
50612018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
5062
5063 * gdb.base/maint.exp: Process output from 'maint print registers'
5064 line at a time.
5065
089a9490
AB
50662018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
5067
5068 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
5069 timeout.
5070
9b0797e2
AB
50712018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
5072
5073 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
5074 filter pattern.
5075
f6ac5f3d
PA
50762018-05-02 Pedro Alves <palves@redhat.com>
5077
5078 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
5079 to_log_command renames.
5080 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
5081
77d3c63b
TT
50822018-05-02 Tom Tromey <tom@tromey.com>
5083
5084 * gdb.python/py-parameter.exp: Set test message.
5085
0489430a
TT
50862018-05-02 Tom Tromey <tom@tromey.com>
5087
5088 PR python/20084:
5089 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
5090 PARAM_ZUINTEGER_UNLIMITED tests.
5091
1632f8ba
DR
50922018-04-28 Dan Robertson <danlrobertson89@gmail.com>
5093
5094 PR rust/23124
5095 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
5096 when casting.
5097
6d7bb824
TT
50982018-04-30 Tom Tromey <tom@tromey.com>
5099
5100 * gdb.python/py-type.exp: Check align attribute.
5101 * gdb.python/py-type.c: New "aligncheck" global.
5102
007e1530
TT
51032018-04-30 Tom Tromey <tom@tromey.com>
5104
5105 PR exp/17095:
5106 * gdb.dwarf2/dw2-align.exp: New file.
5107 * gdb.cp/align.exp: New file.
5108 * gdb.base/align.exp: New file.
5109 * lib/gdb.exp (gdb_int128_helper): New proc.
5110 (has_int128_c, has_int128_cxx): New caching procs.
5111
6873858b
TT
51122018-04-27 Tom Tromey <tom@tromey.com>
5113
5114 PR rust/22545:
5115 * gdb.rust/simple.exp: Add inclusive range tests.
5116
79188d8d
PA
51172018-04-26 Pedro Alves <palves@redhat.com>
5118
5119 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
5120 ifunc breakpoint locations correctly of ifunc breakpoints set
5121 while the program resolves the ifunc.
5122
c7075ad5
PA
51232018-04-26 Pedro Alves <palves@redhat.com>
5124
5125 * gdb.base/gnu-ifunc-final.c: New file.
5126 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
5127 * gdb.base/gnu-ifunc.exp (executable): Delete.
5128 (staticexecutable): Adjust.
5129 (lib_opts, exec_opts): Delete.
5130 (make_binsuffix, build, set-break): New procedures.
5131 (misc_tests): New, with tests factored out from the top level.
5132 (top level): Test different combinations of ifunc resolver name,
5133 resolver with and with debug info, and ifunc target with and
5134 without debug info. Wrap static tests with with_target_prefix.
5135
8388016d
PA
51362018-04-26 Pedro Alves <palves@redhat.com>
5137
5138 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
5139 return type" warnings.
5140
249b5733
PA
51412018-04-25 Pedro Alves <palves@redhat.com>
5142
5143 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
5144 killed".
5145 * gdb.base/kill-after-signal.exp: Likewise.
5146 * gdb.threads/kill.exp: Likewise.
5147
f67c0c91
SDJ
51482018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5149 Sergio Durigan Junior <sergiodj@redhat.com>
5150 Pedro Alves <palves@redhat.com>
5151
5152 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
5153 regexps to expect for '[Inferior ... detached]' as well.
5154 * gdb.base/attach.exp: Likewise.
5155 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
5156 "gdb_continue_to_end".
5157 (test_catch_syscall_with_wrong_args): Likewise.
5158 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
5159 ']'. Don't set 'verbose' on.
5160 * gdb.base/foll-vfork.exp: Likewise.
5161 * gdb.base/fork-print-inferior-events.c: New file.
5162 * gdb.base/fork-print-inferior-events.exp: New file.
5163 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
5164 '[Inferior ... has been killed]' message.
5165 * gdb.base/kill-after-signal.exp: Likewise.
5166 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
5167 detach message.
5168 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
5169 message.
5170 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
5171 regexps to expect for '[Inferior ... detached]' as well.
5172 * gdb.threads/process-dies-while-detaching.exp: Likewise.
5173
0a8ddac4
SM
51742018-04-24 Simon Marchi <simon.marchi@ericsson.com>
5175
5176 PR gdb/23104
5177 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
5178
701adfb0
PA
51792018-04-22 Rajendra SY <rajendra.sy@gmail.com>
5180
5181 PR gdb/23095
5182 * gdb.base/break-probes.exp: Pass shlib_load to
5183 prepare_for_testing. Set normal_bp to r_debug_state if target is
5184 bsd.
5185
d27d16bf
RB
51862018-04-19 Richard Bunt <richard.bunt@arm.com>
5187
5188 * gdb.threads/multiple-successive-infcall.c: New test.
5189 * gdb.threads/multiple-successive-infcall.exp: New file.
5190
a037790e
TT
51912018-04-17 Tom Tromey <tom@tromey.com>
5192
5193 * gdb.rust/simple.rs (Union): New type.
5194 (main): New local "u".
5195 * gdb.rust/simple.exp (test_one_slice): Add new test case.
5196
e3a91079
AA
51972018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5198
5199 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
5200 number information in output of "whereis" command.
5201 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
5202
b744723f
AA
52032018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5204
5205 * gdb.ada/info_types.exp: Adjust expected output to the line
5206 numbers now printed by "info var/func/type".
5207 * gdb.base/completion.exp: Likewise.
5208 * gdb.base/included.exp: Likewise.
5209 * gdb.cp/cp-relocate.exp: Likewise.
5210 * gdb.cp/cplusfuncs.exp: Likewise.
5211 * gdb.cp/namespace.exp: Likewise.
5212 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
5213
4a4495d6
MM
52142018-04-13 Markus Metzger <markus.t.metzger@intel.com>
5215
5216 * gdb.btrace/cpu.exp: New.
5217
1d509aa6
MM
52182018-04-13 Markus Metzger <markus.t.metzger@intel.com>
5219
5220 * gdb.base/step-indirect-call-thunk.exp: New.
5221 * gdb.base/step-indirect-call-thunk.c: New.
5222 * gdb.reverse/step-indirect-call-thunk.exp: New.
5223 * gdb.reverse/step-indirect-call-thunk.c: New.
5224
6295b6da
SM
52252018-04-11 Simon Marchi <simon.marchi@ericsson.com>
5226
5227 * gdb.base/pie-fork.c: New file.
5228 * gdb.base/pie-fork.exp: New file.
5229
50146e70
TT
52302018-04-11 Tom Tromey <tom@tromey.com>
5231
5232 * gdb.rust/simple.exp: Add test for ".." struct initializer.
5233
f50d8a2e
PA
52342018-04-10 Pedro Alves <palves@redhat.com>
5235
5236 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
5237 exits. Instead loop running forever.
5238 (fork_parent): Run forever too.
5239
a0be7a36
SM
52402018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
5241
5242 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
5243 mi_continue_to_line.
5244 * gdb.mi/mi-stack.c (callee4): Add comment.
5245
9b73db36
SM
52462018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
5247
5248 * gdb.mi/mi-stack.exp: Fix indentation.
5249
c912f608
SM
52502018-04-07 Simon Marchi <simon.marchi@ericsson.com>
5251
5252 PR gdb/22979
5253 * gdb.arch/amd64-osabi.exp: New file.
5254
26540402
SM
52552018-04-07 Simon Marchi <simon.marchi@ericsson.com>
5256
5257 PR gdb/22980
5258 * gdb.base/osabi.exp: New file.
5259
121ad66c 52602018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
5261
5262 * gdb.cp/static-typedef-print.exp: New file.
5263 * gdb.cp/static-typedef-print.cc: New file.
5264
3fcded8f
JB
52652018-03-27 Joel Brobecker <brobecker@adacore.com>
5266
5267 * gdb.ada/varsize_limit: New testcase.
5268
59cc4834
JB
52692018-03-27 Joel Brobecker <brobecker@adacore.com>
5270
5271 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
5272
5273 * gdb.ada/notcplusplus: New testcase.
5274
5275 * gdb.base/c-linkage-name.c: New file.
5276 * gdb.base/c-linkage-name.exp: New testcase.
5277
4ca59a9f
TT
52782018-03-26 Tom Tromey <tom@tromey.com>
5279
5280 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
5281 * gdb.python/py-framefilter.py (name_error): New global.
5282 (ErrorInName.function): Use name_error.
5283
978d6c75
TT
52842018-03-26 Tom Tromey <tom@tromey.com>
5285
5286 PR backtrace/15582:
5287 * gdb.python/py-framefilter.exp: Add "bt hide" test.
5288
b7fee5a3
KS
52892018-03-23 Keith Seitz <keiths@redhat.com>
5290
5291 PR c++/22968
5292 * gdb.cp/subtypes.exp: New file.
5293 * gdb.cp/subtypes.h: New file.
5294 * gdb.cp/subtypes.cc: New file.
5295 * gdb.cp/subtypes-2.cc: New file.
5296
376be529
AB
52972018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
5298
5299 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
5300 (done): Call '_exit' not 'exit' to avoid atexit handlers.
5301 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
5302 -nostartfiles when compiling the test. Confirm that all registers
5303 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
5304
066cfa98
AB
53052018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
5306
5307 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
5308 option, syntax was wrong anyway.
5309 * gdb.arch/arm-disp-step.exp: Likewise.
5310 * gdb.arch/sparc64-regs.exp: Likewise.
5311 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
5312 option, syntax was wrong anyway, switch to use
5313 prepare_for_testing.
5314 * gdb.arch/i386-disp-step.exp: Likewise.
5315
079670b9
AA
53162018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
5317
5318 * gdb.ada/exec_changed.exp: Replace "target_info exists
5319 use_gdb_stub" by "use_gdb_stub".
5320 * gdb.ada/start.exp: Likewise.
5321 * gdb.base/async-shell.exp: Likewise.
5322 * gdb.base/attach-pie-misread.exp: Likewise.
5323 * gdb.base/attach-wait-input.exp: Likewise.
5324 * gdb.base/break-entry.exp: Likewise.
5325 * gdb.base/break-interp.exp: Likewise.
5326 * gdb.base/dprintf-detach.exp: Likewise.
5327 * gdb.base/nostdlib.exp: Likewise.
5328 * gdb.base/solib-nodir.exp: Likewise.
5329 * gdb.base/statistics.exp: Likewise.
5330 * gdb.base/testenv.exp: Likewise.
5331 * gdb.mi/mi-exec-run.exp: Likewise.
5332 * gdb.mi/mi-start.exp: Likewise.
5333 * gdb.multi/dummy-frame-restore.exp: Likewise.
5334 * gdb.multi/multi-arch-exec.exp: Likewise.
5335 * gdb.multi/multi-arch.exp: Likewise.
5336 * gdb.multi/tids.exp: Likewise.
5337 * gdb.multi/watchpoint-multi.exp: Likewise.
5338 * gdb.python/py-events.exp: Likewise.
5339 * gdb.threads/attach-into-signal.exp: Likewise.
5340 * gdb.threads/attach-stopped.exp: Likewise.
5341 * gdb.threads/threadapply.exp: Likewise.
5342 * lib/selftest-support.exp: Likewise.
5343
26d6cec4
AA
53442018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
5345
5346 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
5347
4ee89e90
SR
53482018-03-20 Stephen Roberts <stephen.roberts@arm.com>
5349
5350 * gdb.perf/template-breakpoints.cc: New file.
5351 * gdb.perf/template-breakpoints.exp: New file.
5352 * gdb.perf/template-breakpoints.py: New file.
5353
92630041
TT
53542018-03-19 Tom Tromey <tom@tromey.com>
5355
5356 * gdb.rust/simple.rs (main): Add local variables field1, field2,
5357 y0.
5358 * gdb.rust/simple.exp: Test bare identifier form of struct
5359 initializer.
5360
76727919
TT
53612018-03-19 Tom Tromey <tom@tromey.com>
5362
5363 * gdb.gdb/observer.exp: Remove.
5364
194ed413
AA
53652018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5366
5367 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
5368 "qualified" option when setting breakpoints.
5369 * gdb.trace/backtrace.exp: Likewise.
5370 * gdb.trace/circ.exp: Likewise.
5371 * gdb.trace/collection.exp: Likewise.
5372 * gdb.trace/disconnected-tracing.exp: Likewise.
5373 * gdb.trace/ftrace-lock.exp: Likewise.
5374 * gdb.trace/ftrace.exp: Likewise.
5375 * gdb.trace/infotrace.exp: Likewise.
5376 * gdb.trace/packetlen.exp: Likewise.
5377 * gdb.trace/passc-dyn.exp: Likewise.
5378 * gdb.trace/qtro.exp: Likewise.
5379 * gdb.trace/read-memory.exp: Likewise.
5380 * gdb.trace/report.exp: Likewise.
5381 * gdb.trace/signal.exp: Likewise.
5382 * gdb.trace/status-stop.exp: Likewise.
5383 * gdb.trace/strace.exp: Likewise.
5384 * gdb.trace/tfind.exp: Likewise.
5385 * gdb.trace/trace-break.exp: Likewise.
5386 * gdb.trace/trace-condition.exp: Likewise.
5387 * gdb.trace/trace-mt.exp: Likewise.
5388 * gdb.trace/tstatus.exp: Likewise.
5389 * gdb.trace/tsv.exp: Likewise.
5390 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
5391 * gdb.trace/unavailable.exp: Likewise.
5392 * gdb.trace/while-dyn.exp: Likewise.
5393
8b067d2c
AA
53942018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5395
5396 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
5397 that libinproctrace is copied to the target.
5398
3ae9ce5d
TT
53992018-03-14 Tom Tromey <tom@tromey.com>
5400
5401 PR cli/14977:
5402 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
5403 a null pointer.
5404 * gdb.base/wchar.exp: Likewise.
5405
b8c2339b
TT
54062018-03-14 Tom Tromey <tom@tromey.com>
5407
5408 PR cli/19918:
5409 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
5410 flag.
5411
4872dc46
SM
54122018-03-08 Simon Marchi <simon.marchi@ericsson.com>
5413
5414 PR gdb/22841
5415 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
5416 "target" to remote_exec.
5417
e4fe3756
SM
54182018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
5419
5420 PR gdb/22841
5421 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
5422 ${board}_upload): Remove.
5423
e95a97d4
AA
54242018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
5425
5426 * gdb.cp/watch-cp.cc: New test.
5427 * gdb.cp/watch-cp.exp: New file.
5428
dbbb1059
AB
54292018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5430
5431 * gdb.base/infcall-nested-structs.exp: New file.
5432 * gdb.base/infcall-nested-structs.c: New file.
5433 * gdb.base/float.exp: Add riscv support.
5434
ecc054c0
TP
54352018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
5436
5437 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
5438 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
5439
25e3c82c
SDJ
54402018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
5441
5442 * gdb.server/abspath.exp: New file.
5443 * lib/gdb.exp (with_cwd): New procedure.
5444
3083294d
SM
54452018-02-28 Simon Marchi <simon.marchi@ericsson.com>
5446
5447 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
5448 use it.
5449 (gdb_is_target_remote_prompt): New proc.
5450 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
5451 (gdb_is_target_native): Pass prompt parameter to
5452 gdb_is_target_1.
5453
3275ef47
SM
54542018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
5455
5456 * gdb.base/load-command.c: New file.
5457 * gdb.base/load-command.exp: New file.
5458 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
5459 (gdb_is_target_1): ...this, and generalize for other targets
5460 than just remote.
5461 (gdb_is_target_remote): Use gdb_is_target_1.
5462 (gdb_is_target_native): use gdb_is_target_1.
5463
6893c19a
TT
54642018-02-26 Tom Tromey <tom@tromey.com>
5465
5466 PR python/16497:
5467 * gdb.python/py-framefilter.exp: Update test.
5468
2ddeaf8a
TT
54692018-02-26 Tom Tromey <tom@tromey.com>
5470
5471 * gdb.dwarf2/variant.c: New file.
5472 * gdb.dwarf2/variant.exp: New file.
5473
c9317f21
TT
54742018-02-26 Tom Tromey <tom@tromey.com>
5475
5476 * gdb.rust/simple.exp: Accept more possible results in enum test.
5477
6f6d0c26
SM
54782018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
5479
5480 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
5481 parentheses.
5482
11b03145
MR
54832018-02-23 Maciej W. Rozycki <macro@mips.com>
5484
5485 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
5486 name of a variable: $actual_linejj -> $actual_line.
5487
54a27fe5
JB
54882018-02-21 John Baldwin <jhb@FreeBSD.org>
5489
5490 * gdb.arch/amd64-i386-address.exp: Fix a typo.
5491
de65820c
MM
54922018-02-20 Markus Metzger <markus.t.metzger@intel.com>
5493
5494 * gdb.btrace/buffer-size.exp: Do not force BTS.
5495
980548fd
PA
54962018-02-14 Pedro Alves <palves@redhat.com>
5497
5498 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
5499 getting a "Quit".
5500
c4e12631
MM
55012018-02-09 Markus Metzger <markus.t.metzger@intel.com>
5502
5503 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
5504 Fix test name.
5505
c2e0e465
SM
55062018-02-07 Simon Marchi <simon.marchi@ericsson.com>
5507
5508 * gdb.cp/m-static.exp: Check type of optimized out static
5509 member.
5510
f7216783
AB
55112018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
5512
5513 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
5514 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
5515
0625771b
LS
55162018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
5517 Leszek Swirski <leszeks@google.com>
5518
5519 * gdb.python/py-prettyprint.c
5520 (struct to_string_returns_value_inner,
5521 struct to_string_returns_value_wrapper): New.
5522 (main): Add tsrvw variable.
5523 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
5524 ToStringReturnsValueWrapper): New classes.
5525 (register_pretty_printers): Register new pretty-printers.
5526 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
5527 recursive pretty printer.
5528 * gdb.python/py-mi.exp: Likewise.
5529
59498c30
LS
55302018-02-01 Leszek Swirski <leszeks@google.com>
5531
5532 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
5533 functions with the same name as an include file are parsed
5534 correctly.
5535
d4d38844
YQ
55362018-02-01 Yao Qi <yao.qi@linaro.org>
5537
5538 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
5539 "\[^\r\n\]*".
5540
07e5f5cf
NP
55412018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
5542
5543 * gdb.arch/powerpc-prologue-frame.s: New file.
5544 * gdb.arch/powerpc-prologue-frame.c: Likewise.
5545 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
5546
929b5ad4
JB
55472018-01-31 Joel Brobecker <brobecker@adacore.com>
5548
5549 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
5550
e671cd59
PA
55512018-01-30 Pedro Alves <palves@redhat.com>
5552
5553 PR gdb/13211
5554 * gdb.base/interrupt-daemon.c: New.
5555 * gdb.base/interrupt-daemon.exp: New.
5556 * gdb.multi/multi-term-settings.c: New.
5557 * gdb.multi/multi-term-settings.exp: New.
5558
fc413dc4
JB
55592018-01-30 Joel Brobecker <brobecker@adacore.com>
5560
5561 * gdb.base/break.exp: Save the location where the breakpoint
5562 on break.c:47 was actually inserted when debugging the version
5563 compiled at -O2 and use it in the expected output of the "info
5564 break" test performed soon after.
5565
5c319bb2
PA
55662018-01-22 Pedro Alves <palves@redhat.com>
5567 Sergio Durigan Junior <sergiodj@redhat.com>
5568
5569 * gdb.base/whatis.exp: Add tests for 'set print object on' +
5570 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
5571
a9e40818
JB
55722018-01-22 Joel Brobecker <brobecker@adacore.com>
5573
5574 * gdb.base/break-include.c, gdb.base/break-include.inc,
5575 gdb.base/break-include.exp: New files.
5576 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
5577 line number now being the actual line number where the breakpoint
5578 was inserted.
5579 * gdb.mi/mi-break.exp: Likewise.
5580 * gdb.mi/mi-reverse.exp: Likewise.
5581 * gdb.mi/mi-simplerun.exp: Ditto.
5582
e707fc44
AB
55832018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
5584
5585 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
5586 varobj.
5587 * gdb.mi/mi-var-create-rtti.exp: Likewise.
5588
ae451627
AB
55892018-01-21 Don Breazeal <donb@codesourcery.com>
5590 Andrew Burgess <andrew.burgess@embecosm.com>
5591
5592 * gdb.mi/basics.c: Add new global.
5593 * gdb.mi/mi-frame-regs.exp: New file.
5594 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
5595 case.
5596
b1b189e0
AB
55972018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
5598
5599 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
5600 non-parameter, and on an unknown symbol.
5601
fcfcc376
TT
56022018-01-19 Tom Tromey <tom@tromey.com>
5603
5604 * gdb.rust/modules.rs (TWENTY_THREE): New global.
5605 * gdb.rust/modules.exp: Add ::-qualified lookup test.
5606
634c1c31
AA
56072018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5608
5609 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
5610 setrlimit and chdir to int.
5611
d6ad07fd
AA
56122018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5613
5614 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
5615 function.
5616 (my_tend): Likewise.
5617 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
5618 rationale of avoiding FP- and vector instructions.
5619
adf8243b
RK
56202018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
5621
5622 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
5623 "info reg" with "\[ \t\]*".
5624 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
5625 "\[ \t\]+".
5626 * gdb.arch/s390-multiarch.exp: Ditto.
5627 * gdb.base/pc-fp.exp: Ditto.
5628 * gdb.reverse/i386-precsave.exp: Ditto.
5629 * gdb.reverse/i386-reverse.exp: Ditto.
5630 * gdb.reverse/i387-env-reverse.exp: Ditto.
5631 * gdb.reverse/i387-stack-reverse.exp: Ditto.
5632
dcc06925
AA
56332018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
5634
5635 * lib/gdb.exp (gdb_compile): Re-enable use of
5636 universal_compile_options for languages other than Rust.
5637
25d4fd80
AA
56382018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
5639
5640 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
5641
ee7f689e 56422018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
5643
5644 PR gdb/16577
5645 * gdb.base/solib-vanish.exp: New.
5646 * gdb.base/solib-vanish-main.c: New.
5647 * gdb.base/solib-vanish-lib1.c: New.
5648 * gdb.base/solib-vanish-lib2.c: New.
5649
d8447b6b
YQ
56502018-01-17 Yao Qi <yao.qi@linaro.org>
5651
5652 * gdb.compile/compile.exp: Match the address printed for
5653 frame in the output of command "bt".
5654
86d6a90c
TT
56552018-01-15 Tom Tromey <tom@tromey.com>
5656
5657 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
5658 compute sp_reg.
5659
cbcdb1aa
AB
56602018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
5661
5662 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
5663 to prepare.
5664 (prepare): Return 0 on error, 1 on success.
5665
eea61984
PA
56662018-01-12 Pedro Alves <palves@redhat.com>
5667
5668 * gdb.base/continue-after-aborted-step-over.c: New.
5669 * gdb.base/continue-after-aborted-step-over.exp: New.
5670
6181e9c2
SM
56712018-01-11 Simon Marchi <simon.marchi@ericsson.com>
5672
5673 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
5674 options when not creating an executable.
5675
3cada740
PA
56762018-01-11 Pedro Alves <palves@redhat.com>
5677
5678 PR remote/22597
5679 * gdb.server/stop-reply-no-thread.c: New file.
5680 * gdb.server/stop-reply-no-thread.exp: New file.
5681
c63d3e8d
PA
56822018-01-10 Pedro Alves <palves@redhat.com>
5683
5684 PR gdb/22670
5685 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
5686 functions too. Test setting breakpoints and printing C functions
5687 with no debug info too.
5688 * gdb.ada/bp_c_mixed_case/qux.c: New file.
5689
d4c2a405
PA
56902018-01-10 Pedro Alves <palves@redhat.com>
5691
5692 PR gdb/22670
5693 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
5694 a fail.
5695
8825213e
PA
56962018-01-10 Pedro Alves <palves@redhat.com>
5697
5698 PR gdb/22670
5699 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
5700
605fd3c6
YQ
57012018-01-08 Simon Marchi <simon.marchi@ericsson.com>
5702
5703 * gdb.server/unittest.exp: Match the output in non-development
5704 mode.
5705
1e5ded6c
YQ
57062018-01-08 Simon Marchi <simon.marchi@ericsson.com>
5707
5708 * gdb.gdb/unittest.exp: Match output in non-development mode.
5709
30066b0b
JB
57102018-01-08 Joel Brobecker <brobecker@adacore.com>
5711
5712 * gdb.ada/access_tagged_param.exp: Relax expected output
5713 for value of "ObjL" in "continue" to pck.inspect breakpoint
5714 test.
5715
04bafb1e
XR
57162018-01-08 Joel Brobecker <brobecker@adacore.com>
5717
9f86398b
JB
5718 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
5719 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 5720
e379cee6
PA
57212018-01-05 Pedro Alves <palves@redhat.com>
5722
5723 PR gdb/18653
5724 * gdb.base/libsegfault.exp: New.
5725
de63c46b
PA
57262018-01-05 Joel Brobecker <brobecker@adacore.com>
5727
5728 PR gdb/22670
5729 * gdb.ada/access_tagged_param.exp: New file.
5730 * gdb.ada/access_tagged_param/foo.adb: New file.
5731
f98fc17b
PA
57322018-01-05 Pedro Alves <palves@redhat.com>
5733
5734 PR gdb/22670
5735 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
5736 exercise lower case too, and to exercise both full matching and
5737 wild matching.
5738
342f8240
JB
57392018-01-05 Joel Brobecker <brobecker@adacore.com>
5740
5741 * gdb.ada/rename_subscript_param: New testcase.
5742
7150d33c
JG
57432018-01-05 Jerome Guitton <guitton@adacore.com>
5744
5745 * gdb.ada/arr_acc_idx_w_gap: New testcase.
5746
cc0e770c
JB
57472018-01-05 Joel Brobecker <brobecker@adacore.com>
5748
5749 * gdb.ada/convvar_comp: New testcase.
5750
672a41aa 57512018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
5752
5753 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
5754 (My_Table): New global variable.
5755 * testsuite/gdb.ada/array_char_idx.exp: Add test.
5756
7365ec2f
JB
57572018-01-04 Joel Brobecker <brobecker@adacore.com>
5758
5759 PR gdb/22670
5760 * gdb.ada/maint_with_ada: New testcase.
5761
289483b6
JB
57622018-01-04 Joel Brobecker <brobecker@adacore.com>
5763
5764 PR gdb/22670
5765 * gdb.ada/bp_c_mixed_case: New testcase.
5766
344420da
JB
57672018-01-04 Joel Brobecker <brobecker@adacore.com>
5768
5769 PR gdb/22670
5770 * gdb.ada/complete.exp: Add "complete break ada" test.
5771
66fc87a0
JB
57722018-01-04 Joel Brobecker <brobecker@adacore.com>
5773
5774 PR gdb/22670
5775 * gdb.ada/info_addr_mixed_case: New testcase.
5776
9f757bf7
XR
57772018-01-03 Xavier Roirand <roirand@adacore.com>
5778
5779 * gdb.ada/excep_handle.exp: New testcase.
5780 * gdb.ada/excep_handle/foo.adb: New file.
5781 * gdb.ada/excep_handle/pck.ads: New file.
5782
bd570f80
JB
57832018-01-03 Joel Brobecker <brobecker@adacore.com>
5784
5785 * gdb.base/step-line.c: Add extra empty line in copyright header.
5786 * gdb.base/step-line.inp: Likewise.
5787
9fe561ab
JB
57882018-01-02 Joel Brobecker <brobecker@adacore.com>
5789
5790 * gdb.ada/dyn_stride.exp: Add slice test.
5791
a405673c
JB
57922018-01-02 Joel Brobecker <brobecker@adacore.com>
5793
5794 * gdb.ada/dyn_stride: New testcase.
5795
cef0f868
SH
57962017-12-27 Stafford Horne <shorne@gmail.com>
5797
5798 * gdb.xml/extra-regs.xml: Add example foo reggroup.
5799 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
5800
b67d92b0
SH
58012017-12-27 Stafford Horne <shorne@gmail.com>
5802
5803 * gdb.base/reggroups.c: New file.
5804 * gdb.base/reggroups.exp: New file.
5805
eccab96d
JB
58062017-12-18 Joel Brobecker <brobecker@adacore.com>
5807
5808 * gdb.dwarf2/ada-valprint-error.c: New file.
5809 * gdb.dwarf2/ada-valprint-error.exp: New file.
5810
0e2da9f0
JB
58112017-12-18 Joel Brobecker <brobecker@adacore.com>
5812
5813 * gdb.ada/assign_arr: New testcase.
5814
cb923fcc
XR
58152017-12-18 Xavier Roirand <roirand@adacore.com>
5816
5817 * gdb.ada/funcall_ptr: New testcase.
5818
7c161838
SDJ
58192017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5820
5821 PR cli/16224
5822 * gdb.base/ptype-offsets.cc: New file.
5823 * gdb.base/ptype-offsets.exp: New file.
5824
1af17fd9
YQ
58252017-12-15 Yao Qi <yao.qi@linaro.org>
5826
5827 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
5828 if XML is disabled.
5829
828d5846
XR
58302017-12-15 Xavier Roirand <roirand@adacore.com>
5831
5832 * gdb.ada/same_component_name: New testcase.
5833
79e8fcaa
JB
58342017-12-14 Joel Brobecker <brobecker@adacore.com>
5835
5836 * gdb.ada/str_binop_equal: New testcase.
5837
e05fa6f9
JB
58382017-12-14 Joel Brobecker <brobecker@adacore.com>
5839
5840 * gdb.ada/task_switch_in_core: New testcase.
5841
b89641ba
SM
58422017-12-13 Simon Marchi <simon.marchi@ericsson.com>
5843
5844 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
5845 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
5846 call test_bkpt_qualified.
5847 (test_bkpt_qualified): New proc.
5848
6892d2e4
PA
58492017-12-13 Pedro Alves <palves@redhat.com>
5850
5851 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
5852 Tighten regexp by matching with an anchor.
5853
a22ecf70
PA
58542017-12-13 Pedro Alves <palves@redhat.com>
5855
5856 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
5857 ("expression with namespace"): New set of tests.
5858 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
5859 (Nested::Test_NS::qux): New.
5860 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
5861 defaults to 'start_quote_char' and 'end_quote_char' parameters.
5862
9937536c
JB
58632017-12-13 Joel Brobecker <brobecker@adacore.com>
5864
5865 * gdb.base/server-del-break.c: New file.
5866 * gdb.base/server-del-break.exp: New file.
5867
fe49c6f5
SH
58682017-12-12 Stafford Horne <shorne@gmail.com>
5869
5870 * gdb.xml/tdesc-regs.exp: Add or1k support.
5871
c3d18620
SH
58722017-12-12 Stafford Horne <shorne@gmail.com>
5873
5874 * gdb.base/bp-permanent.c: Define nop of or1k.
5875
c5f9cfc8
JB
58762017-12-11 Joel Brobecker <brobecker@adacore.com>
5877
5878 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
5879 output with components being reordered.
5880
a9c135fc
JB
58812017-12-11 Joel Brobecker <brobecker@adacore.com>
5882
5883 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
5884 output with components being reordered.
5885
927aa2e7
JK
58862017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5887 Pedro Alves <palves@redhat.com>
5888
5889 * gdb.base/maint.exp (check for .gdb_index): Check also for
5890 .debug_names.
5891 * gdb.dlang/watch-loc.c (.debug_aranges): New.
5892 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
5893 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
5894 (.gdb_index used after symbol reloading): Support also .debug_names.
5895 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
5896
f17d9474
YQ
58972017-12-08 Yao Qi <yao.qi@linaro.org>
5898
5899 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
5900 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
5901
a0de8c21
YQ
59022017-12-08 Yao Qi <yao.qi@linaro.org>
5903
5904 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
5905 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
5906
a738ea1d
YQ
59072017-12-08 Yao Qi <yao.qi@linaro.org>
5908
5909 * gdb.arch/aarch64-tagged-pointer.c: New file.
5910 * gdb.arch/aarch64-tagged-pointer.exp: New file.
5911
1cd9a73b
SDJ
59122017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
5913
5914 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
5915 "int".
5916
fa6eb693
KS
59172017-12-07 Keith Seitz <keiths@redhat.com>
5918
5919 PR breakpoints/22569
5920 * gdb.linespec/ls-errs.exp: Change expected result of "break
5921 -source this file has spaces.c -line 3".
5922 Check that an explicit source file followed by whitespace is
5923 identified as an invalid explicit location.
5924
883fd55a
KS
59252017-12-07 Keith Seitz <keiths@redhat.com>
5926
5927 * gdb.cp/nested-types.cc: New file.
5928 * gdb.cp/nested-types.exp: New file.
5929 * lib/cp-support.exp: Load data-structures.exp library.
5930 (debug_cp_test_ptype_class): New global.
5931 (cp_ptype_class_verbose, next_line): New procedures.
5932 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
5933 Add and document new return value.
5934 Switch the list of lines to a queue.
5935 Add support for new `type' key for nested type definitions.
5936 Add debugging/troubleshooting messages.
5937 * lib/data-structures.exp: New file.
5938
ec72db3e
SM
59392017-12-07 Simon Marchi <simon.marchi@ericsson.com>
5940
5941 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
5942 with proc_with_prefix, don't use with_test_prefix.
5943
99598d71
TT
59442017-12-07 Tom Tromey <tom@tromey.com>
5945
5946 * gdb.base/break.exp: Add test for empty "commands".
5947
a8806230
YQ
59482017-12-07 Yao Qi <yao.qi@linaro.org>
5949
5950 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
5951 malloc and catch syscall.
5952
824cc835
PM
59532017-12-07 Phil Muldoon <pmuldoon@redhat.com>
5954
e79be6e5 5955 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
5956 tests for explicit locations.
5957
7cc244de
PA
59582017-12-06 Pedro Alves <palves@redhat.com>
5959
5960 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
5961 force-disabling XML descriptions.
5962
50a1fdd5
PA
59632017-12-04 Pedro Alves <palves@redhat.com>
5964
5965 PR gdb/22499
5966 * gdb.arch/amd64-disp-step-avx.S: New file.
5967 * gdb.arch/amd64-disp-step-avx.exp: New file.
5968
f0fb2488
PA
59692017-12-03 Pedro Alves <palves@redhat.com>
5970
5971 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
5972 and <string.h>.
5973 (parent_function): Print distinct messages when waitpid fails, or
5974 the child exits with a signal, or the child exits for an unhandled
5975 reason.
5976 * gdb.threads/process-dies-while-detaching.exp
5977 (detach_and_expect_exit): New 'inf_output_re' parameter and use
5978 it. Wait for both inferior output and GDB's prompt. Use an
5979 indirect spawn id list.
5980 (do_detach): New parameter 'child_exit'. Use it to compute
5981 expected inferior output.
5982 (test_detach, test_detach_watch, test_detach_killed_outside):
5983 Adjust to pass down the expected child exit kind.
5984
97cbe998
SDJ
59852017-12-01 Joel Brobecker <brobecker@adacore.com>
5986 Sergio Durigan Junior <sergiodj@redhat.com>
5987 Pedro Alves <palves@redhat.com>
5988
5989 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
5990
40fc416f
SDJ
59912017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
5992
5993 * gdb.base/relocate.exp: Add tests to guarantee that arguments
5994 to 'symbol-file' and 'add-symbol-file' can be
5995 position-independent.
5996
1cc75e92
YQ
59972017-12-01 Yao Qi <yao.qi@linaro.org>
5998
5999 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
6000 the URL in copyright header.
6001 * gdb.arch/aarch64-fp.exp: Likewise.
6002 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
6003 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
6004 * gdb.base/expand-psymtabs.exp: Likewise.
6005 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
6006 * gdb.fortran/common-block.exp: Likewise.
6007 * gdb.fortran/common-block.f90: Likewise.
6008 * gdb.fortran/logical.exp: Likewise.
6009 * gdb.fortran/vla-datatypes.f90: Likewise.
6010 * gdb.fortran/vla-sub.f90: Likewise.
6011
875fb7a7
JB
60122017-11-30 Joel Brobecker <brobecker@adacore.com>
6013
6014 * gdb.ada/repeat_dyn: New testcase.
6015
6f14765f
UW
60162017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
6017
6018 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
6019 Update for changed thread numbering.
6020 * gdb.cell/bt.exp: Update for changed GDB output.
6021
f1af7b94
SM
60222017-11-30 Simon Marchi <simon.marchi@ericsson.com>
6023
6024 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
6025 setting isremote by hand.
6026 * boards/dwarf4-gdb-index.exp: Likewise.
6027 * boards/fission.exp: Likewise.
6028 * boards/stabs.exp: Likewise.
6029
e3919f3e
PA
60302017-11-30 Pedro Alves <palves@redhat.com>
6031
6032 * gdb.linespec/cpls-ops.exp
6033 (check_explicit_skips_function_argument): Extract the underlying
6034 type of size_t instead of hardcoding it.
6035
bd69330d
PA
60362017-11-29 Pedro Alves <palves@redhat.com>
6037
6038 PR c++/19436
6039 * gdb.linespec/cpls-abi-tag.cc: New file.
6040 * gdb.linespec/cpls-abi-tag.exp: New file.
6041
a20714ff
PA
60422017-11-29 Pedro Alves <palves@redhat.com>
6043
6044 * gdb.base/langs.exp: Use -qualified.
6045 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
6046 it.
6047 * gdb.cp/namespace.exp: Use -qualified.
6048 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
6049 (overload-3, template-overload, template-ret-type, const-overload)
6050 (const-overload-quoted, anon-ns, ambiguous-prefix): New
6051 procedures.
6052 (test_driver): Call them.
6053 * gdb.cp/save-bp-qualified.cc: New.
6054 * gdb.cp/save-bp-qualified.exp: New.
6055 * gdb.linespec/explicit.exp: Test -qualified.
6056 * lib/completion-support.exp (completion::explicit_opts_list): Add
6057 "-qualified".
6058 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
6059
f6f1d339
PM
60602017-11-29 Phil Muldoon <pmuldoon@redhat.com>
6061
6062 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
6063
02ca603a
TT
60642017-11-29 Tom Tromey <tom@tromey.com>
6065
6066 * gdb.base/relocate.exp: Update invalid argument test.
6067 Add new tests for invalid arguments.
6068
ed6c0bfb
TP
60692017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
6070
6071 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
6072 Return 0 as a long.
6073 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
6074
f106e10e
TP
60752017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
6076
6077 * gdb.cp/breakpoint.cc (bar): Set return type to void.
6078 * gdb.cp/psymtab-parameter.cc (func): Likewise.
6079 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
6080 func ().
6081 * gdb.cp/shadow.cc (B.func): Return 0.
6082
10329bb2
JB
60832017-11-27 Joel Brobecker <brobecker@adacore.com>
6084
6085 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
6086 expected output in gdb_expect call to allow the exception
6087 message to be present as well. Fix syntax confusion to avoid
6088 TCL thinking that exception_name is an array.
6089
617cd4bc
UW
60902017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
6091
6092 * gdb.arch/spu-info.c: Include <unistd.h>.
6093 (do_signal_test): Fix broken calls to write.
6094 * gdb.arch/spu-info.exp: Use prepare_for_testing.
6095 Fix checks for empty mailboxes. Update signal tests for corrected
6096 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
6097 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
6098 * gdb.cell/arch.exp: Use standard_output_file.
6099 * gdb.cell/break.exp: Likewise.
6100 * gdb.cell/bt.exp: Likewise.
6101 * gdb.cell/core.exp: Likewise.
6102 * gdb.cell/dwarfaddr.exp: Likewise.
6103 * gdb.cell/ea-cache.exp: Likewise.
6104 * gdb.cell/ea-standalone.exp: Likewise.
6105 * gdb.cell/f-regs.exp: Likewise.
6106 * gdb.cell/fork.exp: Likewise.
6107 * gdb.cell/gcore.exp: Likewise.
6108 * gdb.cell/mem-access.exp: Likewise.
6109 * gdb.cell/ptype.exp: Likewise.
6110 * gdb.cell/registers.exp: Likewise.
6111 * gdb.cell/sizeof.exp: Likewise.
6112 * gdb.cell/solib-symbol.exp: Likewise.
6113 * gdb.cell/solib.exp: Likewise.
617cd4bc 6114
a81aaca0
PA
61152017-11-25 Pedro Alves <palves@redhat.com>
6116
6117 * gdb.base/complete-empty.exp: New file.
6118 * gdb.base/completion.exp: Adjust.
6119
6a3c6ee4
PA
61202017-11-25 Pedro Alves <palves@redhat.com>
6121
6122 * gdb.linespec/cpls-ops.cc: New file.
6123 * gdb.linespec/cpls-ops.exp: New file.
6124 * lib/completion-support.exp (test_complete_prefix_range_re): New,
6125 factored out from ...
6126 (test_complete_prefix_range): ... this.
6127
8955eb2d
PA
61282017-11-24 Pedro Alves <palves@redhat.com>
6129
6130 * gdb.linespec/cpcompletion.exp: New file.
6131 * gdb.linespec/cpls-hyphen.cc: New file.
6132 * gdb.linespec/cpls.cc: New file.
6133 * gdb.linespec/cpls2.cc: New file.
6134 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
6135 test to use test_gdb_complete_unique. Add label completion,
6136 keyword completion and explicit location completion tests.
6137 * lib/completion-support.exp: New file.
6138
e547c119
JB
61392017-11-24 Joel Brobecker <brobecker@adacore.com>
6140
6141 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
6142 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
6143 when hitting an exception catchpoint.
6144
7c3c1aa8
YQ
61452017-11-22 Yao Qi <yao.qi@linaro.org>
6146
6147 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
6148
41bd68f5
SM
61492017-11-22 Simon Marchi <simon.marchi@ericsson.com>
6150
6151 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
6152 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
6153 * gdb.dwarf2/info-locals-optimized-out.c: New file.
6154
1daad298
YQ
61552017-11-22 Yao Qi <yao.qi@linaro.org>
6156
6157 * gdb.base/info-os.exp: Pass pthreads.
6158 * gdb.multi/multi-attach.exp: Likewise.
6159
88465e87
YQ
61602017-11-22 Yao Qi <yao.qi@linaro.org>
6161
6162 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
6163 compiler.
6164
dc196b23
YQ
61652017-11-22 Yao Qi <yao.qi@linaro.org>
6166
6167 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
6168 * gdb.base/break-interp.exp: Likewise.
6169 * gdb.base/jit-attach-pie.exp: Likewise.
6170
2400729e
UW
61712017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
6172
6173 * gdb.base/float128.c (large128): New variable.
6174 * gdb.base/float128.exp: Add test to print largest __float128 value.
6175
7a26362d
UW
61762017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
6177
6178 * gdb.arch/vsx-regs.exp: Update register content checks.
6179
ed0f4273
UW
61802017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
6181
6182 * gdb.arch/ppc-longdouble.exp: New file.
6183 * gdb.arch/ppc-longdouble.c: Likewise.
6184
a25d69c6
PA
61852017-11-21 Pedro Alves <palves@redhat.com>
6186
6187 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
6188
73fcf641
PA
61892017-11-20 Pedro Alves <palves@redhat.com>
6190
6191 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
6192 (long_double_typedef): New typedefs.
6193 Use DEF on double and long double.
6194 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
6195 cases.
6196 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
6197 and 'long_double_ptr_same_size' locals. Use them to decide
6198 whether cast from array/function to float is valid/invalid.
6199
71a3c369
TT
62002017-11-17 Tom Tromey <tom@tromey.com>
6201
6202 * gdb.rust/traits.rs: New file.
6203 * gdb.rust/traits.exp: New file.
6204
ced9779b
JB
62052017-11-17 Joel Brobecker <brobecker@adacore.com>
6206
6207 * gdb.ada/minsyms: New testcase.
6208
a0922d80
PA
62092017-11-16 Pedro Alves <palves@redhat.com>
6210
6211 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
6212 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
6213
ea04e54c
PA
62142017-11-16 Pedro Alves <palves@redhat.com>
6215
6216 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
6217 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
6218
e849ea89
PA
62192017-11-16 Pedro Alves <palves@redhat.com>
6220
6221 * gdb.server/reconnect-ctrl-c.c: New file.
6222 * gdb.server/reconnect-ctrl-c.exp: New file.
6223
d8ae99a7
PM
62242017-11-16 Phil Muldoon <pmuldoon@redhat.com>
6225
6226 * gdb.python/py-rbreak.exp: New file.
6227 * gdb.python/py-rbreak.c: New file.
6228 * gdb.python/py-rbreak-func2.c: New file.
6229
968a13f8
PA
62302017-11-16 Pedro Alves <palves@redhat.com>
6231
6232 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
6233 pattern.
6234 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
6235 GDB.
6236
71774bc9
SM
62372017-11-15 Simon Marchi <simon.marchi@ericsson.com>
6238
6239 * gdb.tui/completionn.exp (test_tab_completion): Add space in
6240 regex.
6241
ddbb44cf
SM
62422017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
6243
6244 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
6245 test names.
6246
584a564f
PA
62472017-11-09 Pedro Alves <palves@redhat.com>
6248
6249 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
6250 factored out from ...
6251 (top level): ... here, and adjusted to avoid expecting beyond the
6252 prompt in a single gdb_test_multiple.
6253
5ed7a928
PA
62542017-11-09 Pedro Alves <palves@redhat.com>
6255
6256 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
6257 output.
6258 * gdb.server/ext-attach.exp ("kill" test): Likewise.
6259 * gdb.server/ext-restart.exp ("kill" test): Likewise.
6260 * gdb.server/ext-run.exp ("kill" test): Likewise.
6261 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
6262
a60e0738
PA
62632017-11-09 Pedro Alves <palves@redhat.com>
6264
6265 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
6266 match till end of line.
6267
2c88253f
PA
62682017-11-09 Pedro Alves <palves@redhat.com>
6269
6270 * gdb.base/memattr.exp: Tighten regexes to match the end line.
6271
c7a38517
PA
62722017-11-09 Pedro Alves <palves@redhat.com>
6273
6274 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
6275 New procedures, factored out from ...
6276 (top level): ... here, and adjusted to avoid expecting beyond the
6277 prompt in one go.
6278
f29f4b6b
PA
62792017-11-09 Pedro Alves <palves@redhat.com>
6280
6281 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
6282 output. Fix '?' match.
6283
286acbb5
JB
62842017-11-08 Joel Brobecker <brobecker@adacore.com>
6285
6286 * gdb.ada/scoped_watch: New testcase.
6287 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
6288 which is actually correct.
6289 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
6290 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
6291
62d7ae92
PA
62922017-11-08 Pedro Alves <palves@redhat.com>
6293
6294 * gdb.gdb/complaints.exp (test_initial_complaints)
6295 (test_serial_complaints, test_short_complaints): Call
6296 complaint_internal instead of complaint.
6297
280ca31f
DT
62982017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
6299
6300 * gdb.threads/tls-core.c: New file.
6301 * gdb.threads/tls-core.exp: Likewise.
6302
b5ec771e
PA
63032017-11-08 Pedro Alves <palves@redhat.com>
6304
6305 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
6306 (p Exported_Capitalized): New test.
6307 (p exported_capitalized): New test.
6308
a02b41a7
PA
63092017-11-07 Pedro Alves <palves@redhat.com>
6310
6311 * gdb.cp/ena-dis-br-range.exp: Add more tests.
6312
95e95a6d
PA
63132017-11-07 Pedro Alves <palves@redhat.com>
6314
6315 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
6316 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
6317 (disable_invalid, disable_inverted, disable_negative): New
6318 procedures.
6319 ("bad numbers"): New set of tests.
6320
cee62dbd
PA
63212017-11-07 Pedro Alves <palves@redhat.com>
6322
6323 * gdb.cp/ena-dis-br-range.exp: Add tests.
6324
cc638e86
PA
63252017-11-07 Pedro Alves <palves@redhat.com>
6326
6327 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
6328
d0fe4701
XR
63292017-11-07 Xavier Roirand <roirand@adacore.com>
6330 Pedro Alves <palves@redhat.com>
6331
6332 * gdb.base/ena-dis-br.exp: Add reference to
6333 gdb.cp/ena-dis-br-range.exp.
6334 * gdb.cp/ena-dis-br-range.exp: New file.
6335 * gdb.cp/ena-dis-br-range.cc: New file.
6336
46f67f80
PA
63372017-11-06 Pedro Alves <palves@redhat.com>
6338
6339 * gdb.base/attach-non-pgrp-leader.c: New.
6340 * gdb.base/attach-non-pgrp-leader.exp: New.
6341
726e1356
PA
63422017-11-06 Pedro Alves <palves@redhat.com>
6343
6344 * configure.ac: No longer check for termio.h and sgtty.h.
6345 * configure: Regenerate.
6346 * remote-utils.c: Include termios.h instead of gdb_termios.h.
6347 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
6348 Remove termio and sgtty code.
6349
50ab6ace
YQ
63502017-11-03 Yao Qi <yao.qi@linaro.org>
6351
6352 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
6353 in GDB is disabled.
6354
8e68731c
YQ
63552017-11-03 Yao Qi <yao.qi@linaro.org>
6356
6357 * gdb.python/py-thrhandle.exp: Skip it if python is not
6358 enabled.
6359
3a87ae65
SM
63602017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
6361
6362 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
6363 as a breakpoint command.
6364
484d8d36
MD
63652017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
6366
6367 PR python/21213
6368 * gdb.python/py-infthread.exp: Test calling
6369 InferiorThread.inferior () multiple times in a row.
6370
4a27f119
KS
63712017-10-27 Keith Seitz <keiths@redhat.com>
6372
6373 * gdb.opt/inline-break.exp (break_info_1): New procedure.
6374 Test "info break" for every inlined function breakpoint.
6375
bb11dd58
YQ
63762017-10-27 Yao Qi <yao.qi@linaro.org>
6377
6378 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
6379
a43f3893
PF
63802017-10-26 Patrick Frants <osscontribute@gmail.com>
6381
6382 * gdb.cp/classes.exp (test_static_members): Test printing
6383 Outer::instance.
6384 * gdb.cp/classes.c (struct Inner, struct Outer): New.
6385 (Inner::instance, Outer::instance): New.
6386
792ccf00
PA
63872017-10-24 Pedro Alves <palves@redhat.com>
6388
6389 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
6390 extra console" test in two stages.
6391
eb2bfbad
PA
63922017-10-24 Pedro Alves <palves@redhat.com>
6393
6394 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
6395
1f75a651
PA
63962017-10-24 Pedro Alves <palves@redhat.com>
6397
6398 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
6399 loop.
6400
779990d9
PA
64012017-10-24 Pedro Alves <palves@redhat.com>
6402
6403 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
6404 $attempt" and "stoppedtry $stoppedtry" test prefixes.
6405
ad9b8f5d
PA
64062017-10-24 Pedro Alves <palves@redhat.com>
6407
6408 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
6409 parameter and handle it. Don't output read value in test name.
6410
fee6da6e
PA
64112017-10-24 Pedro Alves <palves@redhat.com>
6412
6413 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
6414 custom test name.
6415
10389c2c
PA
64162017-10-24 Pedro Alves <palves@redhat.com>
6417
6418 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
6419 include the unstable output directory name in the test's name.
6420 (initial_setup_simple) <'set args'>: Use custom test name.
6421
a80e65a9
PA
64222017-10-24 Pedro Alves <palves@redhat.com>
6423
6424 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
6425 with explicit test name.
6426
15763a09
PA
64272017-10-20 Pedro Alves <palves@redhat.com>
6428
6429 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
6430 'wait -i'. Use gdb_assert and remote_close.
6431
49a4ce2e
AB
64322017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
6433
6434 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
6435 number from variable rather than hard-coded.
6436
a75868f5
PA
64372017-10-19 Pedro Alves <palves@redhat.com>
6438
6439 * gdb.base/long-inferior-output.c: New file.
6440 * gdb.base/long-inferior-output.exp: New file.
6441
c8ba13ad
KS
64422017-11-18 Keith Seitz <keiths@redhat.com>
6443
6444 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
6445 method.
6446 (main): Call it.
6447 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
6448 Add additional user-defined conversion operator tests.
6449
b27de576
PA
64502017-10-17 Pedro Alves <palves@redhat.com>
6451
6452 * boards/native-stdio-gdbserver.exp: Load "local-board".
6453
8484c955
PA
64542017-10-17 Pedro Alves <palves@redhat.com>
6455
6456 * gdb.base/quit-live.c: New file.
6457 * gdb.base/quit-live.exp: New file.
6458
83d5a34d
KS
64592017-10-16 Keith Seitz <keiths@redhat.com>
6460
6461 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
6462 (class_with_protected_typedef, class_with_private_typedef)
6463 (struct_with_public_typedef, struct_with_protected_typedef)
6464 (struct_with_private_typedef): New classes/structs.
6465 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
6466 typedefs and access specifiers.
6467
739b3f1d
PA
64682017-10-16 Pedro Alves <palves@redhat.com>
6469 Simon Marchi <simon.marchi@polymtl.ca>
6470
6471 * README (Local vs Remote vs Native): New section.
6472 * boards/local-board.exp: New file, with bits factored out from
6473 ...
6474 * boards/native-extended-gdbserver.exp: ... here. Load
6475 "local-board".
6476 * boards/native-gdbserver.exp: Load "local-board".
6477 (${board}_spawn, ${board}_exec): Delete.
6478 * boards/native-stdio-gdbserver.exp: Most contents factored out to
6479 ...
6480 * boards/stdio-gdbserver-base.exp: ... this new file.
6481 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
6482 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
6483 procedure.
6484 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
6485 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
6486 stdio_gdbserver_command.
6487 (${board}_get_remote_address, ${board}_get_comm_port)
6488 (${board}_download, ${board}_upload): Delete.
6489 (get_target_remote_pipe_cmd): New.
6490
fe68b953
SM
64912017-10-16 Simon Marchi <simon.marchi@ericsson.com>
6492
6493 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
6494 test_bkpt_deletion, test_bkpt_cond_and_cmds,
6495 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
6496 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
6497 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
6498 remove with_test_prefix.
6499
300b6685
PA
65002017-10-13 Pedro Alves <palves@redhat.com>
6501
6502 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
6503 * gdb.base/annota1.exp: Use it instead of is_remote.
6504 * gdb.base/annota3.exp: Use it instead of is_remote.
6505 * gdb.cp/annota2.exp: Use it instead of is_remote.
6506 * gdb.cp/annota3.exp: Use it instead of is_remote.
6507 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
6508
50500caf
PA
65092017-10-13 Pedro Alves <palves@redhat.com>
6510
6511 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
6512 (test_num_test_vars, run_and_count_vars, find_env)
6513 (test_set_unset_env, test_inherit_env_var): New procedures.
6514 (top level): Use them.
6515
dad0c6d2
PA
65162017-10-13 Pedro Alves <palves@redhat.com>
6517
6518 * lib/selftest-support.exp (selftest_setup): Extend comments, and
6519 also skip on stub-like targets.
6520
8b0553c1
PA
65212017-10-13 Pedro Alves <palves@redhat.com>
6522
6523 PR gdb/22293
6524 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
6525 (top level): Move some tests to ...
6526 (test_not_found): ... this new procedure.
6527 (top level): Call it.
6528
7594f623
PA
65292017-10-13 Pedro Alves <palves@redhat.com>
6530
6531 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
6532 expect different "info terminal" output if testing with a
6533 non-native target.
6534
ebe3b402
PA
65352017-10-13 Pedro Alves <palves@redhat.com>
6536 Simon Marchi <simon.marchi@polymtl.ca>
6537
6538 PR python/12966
6539 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
6540
42f1b161
PA
65412017-10-13 Pedro Alves <palves@redhat.com>
6542
6543 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
6544 already.
6545
8d6ef72b
PA
65462017-10-13 Pedro Alves <palves@redhat.com>
6547
6548 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
6549 is_remote.
6550
d7bcd5b8
PA
65512017-10-13 Pedro Alves <palves@redhat.com>
6552
6553 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
6554 is_remote.
6555
df479dc6
PA
65562017-10-13 Pedro Alves <palves@redhat.com>
6557
6558 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
6559 is set.
6560 (corefile_test_attach): Likewise. Check can_spawn_for_attach
6561 instead of is_remote.
6562
23fb630a
PA
65632017-10-13 Pedro Alves <palves@redhat.com>
6564
6565 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
6566 (top level): Add comment.
6567
cc77b1dc
PA
65682017-10-13 Pedro Alves <palves@redhat.com>
6569
6570 * gdb.base/remote.exp (top level): Fix comment typo and add
6571 missing return.
6572
27c9e813
PA
65732017-10-13 Pedro Alves <palves@redhat.com>
6574 Simon Marchi <simon.marchi@polymtl.ca>
6575
6576 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
6577 calls and add comments. Skip test if use_gdb_stub is set.
6578 (top level): Use "set cwd" command instead of "cd" command.
6579
5e830d98
PA
65802017-10-13 Pedro Alves <palves@redhat.com>
6581
6582 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
6583 is_remote target check.
6584
f5ca0032
PA
65852017-10-13 Pedro Alves <palves@redhat.com>
6586
6587 * gdb.base/scope.exp: Use build_executable + clean_restart +
6588 gdb_file_cmd instead of prepare_for_testing and no longer skip
6589 "before run" tests on is_remote target boards. Update comments.
6590 * boards/native-extended-gdbserver.exp
6591 (extended_gdbserver_load_last_file): New, factored out from ...
6592 (gdb_load): ... this. Move further below and add comment.
6593 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
6594
8aed1c0d
PA
65952017-10-12 Pedro Alves <palves@redhat.com>
6596
6597 * gdb.base/attach.exp: Remove references to gdb64.
6598 * gdb.base/dbx.exp: Remove references to gdb64.
6599
cfa34c87
SM
66002017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
6601 Pedro Alves <palves@redhat.com>
6602
6603 * gdb.base/label.exp: Remove is_remote target check.
6604
9192b7de
PA
66052017-10-12 Pedro Alves <palves@redhat.com>
6606
6607 * gdb.base/auvx.exp (coredir): Update comment.
6608 (top level) <core_works>: Use "set cwd" command instead of "cd"
6609 command.
6610
6bf0052d
PA
66112017-10-12 Pedro Alves <palves@redhat.com>
6612 Simon Marchi <simon.marchi@polymtl.ca>
6613
6614 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
6615 target boards.
6616
e48ef82d
PA
66172017-10-12 Pedro Alves <palves@redhat.com>
6618 Simon Marchi <simon.marchi@polymtl.ca>
6619
6620 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
6621 Instead skip if there's any gdb_protocol set.
6622
8d7aea57
SM
66232017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
6624 Pedro Alves <palves@redhat.com>
6625
6626 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
6627
30440677
PA
66282017-10-12 Pedro Alves <palves@redhat.com>
6629 Simon Marchi <simon.marchi@polymtl.ca>
6630
6631 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
6632 instead of on dejagnu remote boards.
6633
4e04f045 66342017-10-12 Pedro Alves <palves@redhat.com>
175654b9 6635 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
6636
6637 * gdb.base/inferior-died.exp: Remove is_remote and isnative
6638 checks. Use build_executable + clean_restart instead of
6639 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
6640 of enabling non-stop after starting gdb.
6641
871a186e
PA
66422017-10-12 Pedro Alves <palves@redhat.com>
6643
6644 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
6645 * gdb.threads/non-ldr-exc-2.exp: Ditto.
6646 * gdb.threads/non-ldr-exc-3.exp: Ditto.
6647 * gdb.threads/non-ldr-exc-4.exp: Ditto.
6648
56d704da
AK
66492017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
6650
6651 * gdb.arch/arc-tdesc-cpu.exp: New file.
6652 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
6653
2f20e312
SM
66542017-10-10 Simon Marchi <simon.marchi@ericsson.com>
6655
6656 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
6657
65630365
PA
66582017-10-10 Pedro Alves <palves@redhat.com>
6659
6660 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
6661 expect CLI output.
6662
bf469271
PA
66632017-10-10 Pedro Alves <palves@redhat.com>
6664
6665 * lib/selftest-support.exp (selftest_setup): Update for
6666 captured_command_loop's prototype change.
6667
777a42f1
PA
66682017-10-09 Pedro Alves <palves@redhat.com>
6669
6670 Test both arch1=>arch2 and arch2=>arch1.
6671
6672 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
6673 (srcfile2, binfile2, march1, march2): Remove globals. Largely
6674 factored out to...
6675 (append_arch1_options, append_arch2_options, append_arch_options)
6676 (build_executables): New procedures.
6677 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
6678 local.
6679 (top level): Add new 'first_arch' testing axis.
6680
cbd2b4e3
PA
66812017-10-09 Pedro Alves <palves@redhat.com>
6682
6683 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
6684 (barrier): New.
6685 (thread_start, all_started): New functions.
6686 (main): Spawn new thread and wait until it is scheduled.
6687 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
6688 option.
6689 (do_test): Add 'selected_thread' parameter. Run to all_started
6690 instead of main. Explicitly set the breakpoint at main. Switch
6691 to the SELECTED_THREAD thread.
6692 (top level): Test handling the exec event with either the main
6693 thread or the second thread selected.
6694
5c9e4427
PA
66952017-10-09 Pedro Alves <palves@redhat.com>
6696
6697 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
6698 logic. Move STOP marker after the value checks.
6699 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
6700 regexp.
6701
b3b7c423
SL
67022017-10-06 Sandra Loosemore <sandra@codesourcery.com>
6703
6704 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
6705
3b4b2f16
UW
67062017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
6707
6708 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
6709 integer-to-dfp conversion.
6710 * gdb.base/dfp-test.exp: Likewise.
6711
5cd63fda
PA
67122017-10-04 Pedro Alves <palves@redhat.com>
6713
6714 * gdb.multi/hangout.c: Include <unistd.h>.
6715 (hangout_loop): New function.
6716 (main): Call alarm. Call hangout_loop in a loop.
6717 * gdb.multi/hello.c: Include <unistd.h>.
6718 (hello_loop): New function.
6719 (main): Call alarm. Call hangout_loop in a loop.
6720 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
6721 inferior with the other selected.
6722
4c71c105
SM
67232017-10-04 Simon Marchi <simon.marchi@ericsson.com>
6724
6725 * gdb.mi/list-thread-groups-available.exp: New file.
6726 * gdb.mi/list-thread-groups-available.c: New file.
6727
bc3b087d
SDJ
67282017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
6729
6730 * gdb.base/set-cwd.exp: Make it available on
6731 native-extended-gdbserver.
6732
d092c5a2
SDJ
67332017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
6734
6735 * gdb.base/set-cwd.c: New file.
6736 * gdb.base/set-cwd.exp: Likewise.
6737
45320ffa
TT
67382017-10-02 Tom Tromey <tom@tromey.com>
6739
6740 PR rust/22236:
6741 * gdb.rust/simple.rs (main): New variable "fslice".
6742 * gdb.rust/simple.exp: Add slice tests. Update string tests.
6743
b3e3859b
TT
67442017-10-02 Tom Tromey <tom@tromey.com>
6745
6746 * gdb.rust/simple.exp: Test ptype of a slice.
6747
01af5e0d
TT
67482017-10-02 Tom Tromey <tom@tromey.com>
6749
6750 * gdb.rust/simple.exp: Test index of slice.
6751
a9bbfbd8
TT
67522017-09-27 Tom Tromey <tom@tromey.com>
6753
6754 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
6755
df8899e5
TP
67562017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
6757 Pedro Alves <palves@redhat.com>
6758
6759 * gdb.base/compare-sections.exp (get value of read-only section): Read
6760 as unsigned value.
6761 (corrupt read-only section): Likewise and don't set written if patching
6762 failed.
6763
757bf54b
KB
67642017-09-21 Kevin Buettner <kevinb@redhat.com>
6765
6766 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
6767 files.
6768
06871ae8
PA
67692017-09-20 Pedro Alves <palves@redhat.com>
6770
6771 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
6772 symbol names in gdb's output.
6773 * gdb.cp/overload.exp ("list all overloads"): Likewise.
6774
e5f25bc5
PA
67752017-09-20 Pedro Alves <palves@redhat.com>
6776
6777 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
6778 Rename to ...
6779 (test_list_ambiguous_symbol): ... this and add a symbol name
6780 parameter. Adjust.
6781 (test_list_ambiguous_function): Reimplement on top of
6782 test_list_ambiguous_symbol and also test listing ambiguous
6783 variables.
6784 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
6785 (ambiguous_fun): ... this.
6786 (ambiguous_var): New.
6787 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
6788 (ambiguous_fun): ... this.
6789 (ambiguous_var): New.
6790
4e5a4f58
JB
67912017-09-19 John Baldwin <jhb@FreeBSD.org>
6792
6793 * gdb.base/starti.c: New file.
6794 * gdb.base/starti.exp: New file.
6795 * lib/gdb.exp (gdb_starti_cmd): New procedure.
6796
26e53f3e
PA
67972017-09-14 Pedro Alves <palves@redhat.com>
6798
6799 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
6800 (top level): Use it instead of runto.
6801
cb791d59
TT
68022017-09-11 Tom Tromey <tom@tromey.com>
6803
6804 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
6805
7c96f8c1
TT
68062017-09-11 Tom Tromey <tom@tromey.com>
6807
6808 * gdb.python/py-infthread.exp: Add tests for new_thread event.
6809 * gdb.python/py-inferior.exp: Add tests for new inferior events.
6810
469412dd
CW
68112017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
6812
6813 * gdb.fortran/printing-types.exp: New file.
6814 * gdb.fortran/printing-types.exp: New file.
6815
e0f86435
BH
68162017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
6817
6818 * gdb.fortran/vla-ptype.exp: Fix typos.
6819 * gdb.fortran/vla-value.exp: Same.
6820
9e9af4be
BH
68212017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
6822
6823 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
6824 * gdb.mi/mi-var-child-f.exp: Likewise.
6825 * gdb.mi/mi-vla-fortran.exp: Likewise.
6826
a5ad232b 68272017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
6828 Christoph Weinmann <christoph.t.weinmann@intel.com>
6829 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
6830
6831 * gdb.fortran/ptr-indentation.f90: New file.
6832 * gdb.fortran/ptr-indentation.exp: New file.
6833
5aec60eb
TT
68342017-09-05 Tom Tromey <tom@tromey.com>
6835
6836 PR gdb/22010:
6837 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
6838
8f8f8152
TP
68392017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
6840
6841 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
6842
fbd1b771
JK
68432017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6844
6845 * gdb.threads/tls-nodebug-pie.c: New file.
6846 * gdb.threads/tls-nodebug-pie.exp: New file.
6847
5eb5f850
TT
68482017-09-05 Tom Tromey <tom@tromey.com>
6849
6850 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
6851 for rust.
6852
ae780a21
SM
68532017-09-05 Simon Marchi <simon.marchi@ericsson.com>
6854
6855 * gdb.multi/multi-arch-exec.exp: Test with different
6856 "follow-exec-mode" settings.
6857 (do_test): New procedure.
6858
3693fdb3
PA
68592017-09-04 Pedro Alves <palves@redhat.com>
6860
6861 * gdb.base/func-static.c (S::method const, S::method volatile)
6862 (S::method volatile const): New methods.
6863 (c_s, v_s, cv_s): New instances.
6864 (main): Call method() on them.
6865 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
6866 (cannot_resolve): New procedure.
6867 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
6868 print-quote-unquoted columns.
6869 (do_test): Test printing each scope too.
6870
e68cb8e0
PA
68712017-09-04 Pedro Alves <palves@redhat.com>
6872
6873 * gdb.base/local-static.exp: Also test with
6874 class::method::variable wholly quoted.
6875 * gdb.cp/m-static.exp (class::method::variable): Remove test.
6876
858be34c
PA
68772017-09-04 Pedro Alves <palves@redhat.com>
6878
6879 * gdb.base/local-static.c: New.
6880 * gdb.base/local-static.cc: New.
6881 * gdb.base/local-static.exp: New.
6882
46a4882b
PA
68832017-09-04 Pedro Alves <palves@redhat.com>
6884
6885 * gdb.asm/asm-source.exp: Add casts to int.
6886 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
6887 (dataglobal64_1, dataglobal64_2): New globals.
6888 * gdb.base/nodebug.exp: Test different expressions involving the
6889 new globals, with print, whatis and ptype. Add casts to int.
6890 * gdb.base/solib-display.exp: Add casts to int.
6891 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
6892 * gdb.cp/m-static.exp: Add cast to int.
6893 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
6894 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
6895 tls variable with no debug info without a cast. Test with a cast
6896 to int too.
6897 * gdb.trace/entry-values.exp: Add casts.
6898
2c5a2be1
PA
68992017-09-04 Pedro Alves <palves@redhat.com>
6900
6901 * gdb.base/nodebug.exp: Test that ptype's error about functions
6902 with unknown return type includes the function name too.
6903
7022349d
PA
69042017-09-04 Pedro Alves <palves@redhat.com>
6905
6906 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
6907 return type of munmap in infcall.
6908 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
6909 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
6910 type of ftell in infcall.
6911 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
6912 type of getpid in infcall.
6913 * gdb.base/infcall-exec.exp: Cast return type of execlp in
6914 infcall.
6915 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
6916 Bail on failure to extract the pid.
6917 * gdb.base/nodebug.c: #include <stdint.h>.
6918 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
6919 New functions.
6920 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
6921 Change expected output of print/whatis/ptype with functions with
6922 no debug info. Test all supported languages. Call
6923 test_call_promotion.
6924 * gdb.compile/compile.exp: Adjust expected output to expect
6925 warning.
6926 * gdb.threads/siginfo-threads.exp: Likewise.
6927
54990598
PA
69282017-09-04 Pedro Alves <palves@redhat.com>
6929
6930 * gdb.base/callfuncs.exp (do_function_calls): New parameter
6931 "prototypes". Test calling float functions via prototyped and
6932 unprototyped function pointers.
6933 (perform_all_tests): New parameter "prototypes". Pass it down.
6934 (top level): Pass down "prototypes" parameter to
6935 perform_all_tests.
6936
34d16ea2
SM
69372017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6938
6939 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
6940 Test with nested loops.
6941
9521ecda
SM
69422017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6943
6944 * gdb.base/commands.exp: Call the new procedures.
6945 (loop_break_test, loop_continue_test): New procedures.
6946
80a65e9b
SM
69472017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6948
6949 * gdb.base/commands.exp: Call new procedure.
6950 (define_if_without_arg_test): New procedure.
6951
e439fa14
PA
69522017-09-04 Pedro Alves <palves@redhat.com>
6953
6954 * gdb.base/list-ambiguous.exp: New file.
6955 * gdb.base/list-ambiguous0.c: New file.
6956 * gdb.base/list-ambiguous1.c: New file.
6957 * gdb.base/list.exp (test_list_range): Adjust expected output.
6958
0a2dde4a
SDJ
69592017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
6960
6961 * gdb.base/share-env-with-gdbserver.c: New file.
6962 * gdb.base/share-env-with-gdbserver.exp: Likewise.
6963
5e89eb3a
SM
69642017-08-28 Simon Marchi <simon.marchi@ericsson.com>
6965
6966 * gdb.base/commands.exp (gdbvar_simple_if_test,
6967 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
6968 progvar_simple_if_test, progvar_simple_while_test,
6969 progvar_complex_if_while_test, user_defined_command_test,
6970 user_defined_command_args_eval,
6971 user_defined_command_args_stack_test,
6972 user_defined_command_manyargs_test, bp_deleted_in_command_test,
6973 temporary_breakpoint_commands,
6974 gdb_test_no_prompt, redefine_hook_test,
6975 redefine_backtrace_test): Remove "global gdb_prompt".
6976
fd437cbc
SM
69772017-08-28 Simon Marchi <simon.marchi@ericsson.com>
6978
6979 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
6980 New proc, call it from toplevel.
6981
87215ad1
SDJ
69822017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
6983
6984 PR remote/21852
6985 * gdb.server/normal.c: New file, copied from gdb.base.
6986 * gdb.server/run-without-local-binary.exp: New file.
6987
58afddc6
WP
69882017-08-07 Weimin Pan <weimin.pan@oracle.com>
6989
6990 * gdb.arch/sparc64-adi.exp: New file.
6991 * gdb.arch/sparc64-adi.c: New file.
6992
5277199a
PA
69932017-08-22 Pedro Alves <palves@redhat.com>
6994
6995 * gdb.cp/overload.exp (line_range_pattern): New procedure.
6996 (top level): Add "list all overloads" tests.
6997
14278e1f
TT
69982017-08-22 Tom Tromey <tom@tromey.com>
6999
7000 * gdb.gdb/xfullpath.exp: Remove.
7001
bf223d3e
PA
70022017-08-21 Pedro Alves <palves@redhat.com>
7003
7004 PR gdb/19487
7005 * gdb.base/symbol-alias.c: New.
7006 * gdb.base/symbol-alias2.c: New.
7007 * gdb.base/symbol-alias.exp: New.
7008
c973d0aa
PA
70092017-08-21 Pedro Alves <palves@redhat.com>
7010
7011 * gdb.base/dfp-test.c
7012 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
7013 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
7014 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
7015 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
7016 * gdb.base/whatis-ptype-typedefs.c: New.
7017 * gdb.base/whatis-ptype-typedefs.exp: New.
7018 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
7019 (an_int, an_int_type, an_int_type2): New globals.
7020 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
7021 involving typedefs and cast expressions.
7022 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
7023 (lookup_typedefs_function): New.
7024 (typedefs_pretty_printers_dict): New.
7025 (top level): Register lookup_typedefs_function in
7026 gdb.pretty_printers.
7027
6d580b63
YQ
70282017-08-18 Yao Qi <yao.qi@linaro.org>
7029
7030 * gdb.server/unittest.exp: New.
7031
206726fb
SDJ
70322017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
7033
7034 PR gdb/21954
7035 * gdb.base/environ.exp: Add test to check if 'unset environment'
7036 works.
7037
bf0ec4c2
AA
70382017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7039
7040 * lib/gdb.exp (universal_compile_options): New caching proc.
7041 (gdb_compile): Suppress GCC's coloring of messages.
7042
d6382fff
TT
70432017-08-14 Tom Tromey <tom@tromey.com>
7044
7045 PR gdb/21675:
7046 * gdb.base/printcmds.exp (test_radices): New function.
7047 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
7048 * gdb.base/sizeof.exp (check_valueof): Use p/d.
7049 * lib/gdb.exp (get_integer_valueof): Use p/d.
7050
c2c2dd9f
SM
70512017-08-12 Simon Marchi <simon.marchi@ericsson.com>
7052
7053 * lib/gdb.exp (get_valueof): Don't capture end-of-line
7054 characters.
7055
fdffd6f4
TT
70562017-08-05 Tom Tromey <tom@tromey.com>
7057
7058 * gdb.rust/simple.exp: Allow String to appear in a different
7059 namespace.
7060
27d41eac
YQ
70612017-07-26 Yao Qi <yao.qi@linaro.org>
7062
7063 * gdb.gdb/unittest.exp: Invoke command
7064 "maintenance check xml-descriptions".
7065
031ed05d
AA
70662017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
7067
7068 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
7069 calling context.
7070 (hex128): Drop erroneous calculation of parameters.
7071
dcd27ddf
SM
70722017-07-22 Simon Marchi <simon.marchi@ericsson.com>
7073
7074 * gdb.python/py-unwind.exp: Disable stack protection when
7075 building test file.
7076
47e77640
PA
70772017-07-20 Pedro Alves <palves@redhat.com>
7078
7079 * gdb.base/default.exp (set language): Adjust expected output.
7080
62d2a18a
PA
70812017-07-20 Pedro Alves <palves@redhat.com>
7082
7083 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
7084 (test_minsym): ... this, and make static.
7085 (get_pck__foo__bar__minsym): Rename to ...
7086 (get_test_minsym): ... this.
7087 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
7088 symbol names and comments.
7089 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
7090 (get_test_minsym): ... this.
7091 (pck__foo__bar__minsym__2): Rename to ...
7092 (test_minsym): ... this.
7093 (main): Adjust.
7094
c45ec17c
PA
70952017-07-17 Pedro Alves <palves@redhat.com>
7096
7097 * gdb.base/completion.exp: Adjust expected output.
7098 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
7099 the completer works.
7100
c6756f62
PA
71012017-07-17 Pedro Alves <palves@redhat.com>
7102
7103 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
7104
5bd68487
AB
71052017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
7106
7107 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
7108
8880f2a9
TT
71092017-07-14 Tom Tromey <tom@tromey.com>
7110
7111 PR rust/21764:
7112 * gdb.rust/simple.exp: Add tests.
7113
65547233
TT
71142017-07-14 Tom Tromey <tom@tromey.com>
7115
7116 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
7117
8f14146e
PA
71182017-07-14 Pedro Alves <palves@redhat.com>
7119
7120 * gdb.linespec/base/one/thefile.cc (z1): New function.
7121 * gdb.linespec/base/two/thefile.cc (z2): New function.
7122 * gdb.linespec/linespec.exp: Add tests.
7123
b4365d02
AB
71242017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
7125
7126 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
7127 to mi_create_breakpoint.
7128
5d2cbaa5
AB
71292017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
7130
7131 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
7132 mi_create_breakpoint.
7133
11cb5716
IB
71342017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
7135
7136 * gdb.dlang/demangle.exp: Update for demangling changes.
7137
03278692
TT
71382017-07-09 Tom Tromey <tom@tromey.com>
7139
7140 * gdb.dwarf2/shortpiece.exp: New file.
7141
33c5cd75
DB
71422017-07-06 David Blaikie <dblaikie@gmail.com>
7143
7144 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
7145 built from fissiont-multi-cu{1,2}.c.
7146 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
7147 except putting 'main' and 'func' in separate CUs in the same DWO file.
7148 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
7149 test.
7150 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
7151 test.
7152
8455d262
PA
71532017-07-06 Pedro Alves <palves@redhat.com>
7154
7155 * gdb.python/py-unwind.exp: Test flushregs.
7156
dc4bde35
SDJ
71572017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
7158
7159 PR cli/21688
7160 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
7161 tests for alias commands and trailing whitespace.
7162
51ed89aa
SDJ
71632017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
7164
7165 PR cli/21688
7166 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
7167 procedure. Call it.
7168
eb17d413
PA
71692017-06-29 Pedro Alves <palves@redhat.com>
7170
7171 * gdb.base/printcmds.exp: Add tests.
7172
41664b45
DG
71732017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
7174
7175 PR gdb/21337
7176 * gdb.base/reread-readsym.exp: New file.
7177 * gdb.base/reread-readsym.c: New file.
7178
75312ae3
KB
71792017-06-21 Kevin Buettner <kevinb@redhat.com>
7180
7181 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
7182 subpattern.
7183
66953522
PB
71842017-06-19 Peter Bergner <bergner@vnet.ibm.com>
7185
7186 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
7187 extended mnemonic.
7188 * gdb.arch/powerpc-power9.s: Likewise.
7189
5524b525
AA
71902017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7191
7192 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
7193 on 32-bit x86 targets. Exploit is_*_target macros where
7194 appropriate.
7195
03c8af18
AA
71962017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7197
7198 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
7199 register pieces.
7200
3bf31011
AA
72012017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7202
7203 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
7204 located in one or more DWARF pieces.
7205
805acca0
AA
72062017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7207
7208 * lib/gdb.exp (get_endianness): New proc.
7209 * gdb.arch/aarch64-fp.exp: Use it.
7210 * gdb.arch/altivec-regs.exp: Likewise.
7211 * gdb.arch/e500-regs.exp: Likewise.
7212 * gdb.arch/vsx-regs.exp: Likewise.
7213 * gdb.base/dump.exp: Likewise.
7214 * gdb.base/funcargs.exp: Likewise.
7215 * gdb.base/gnu_vector.exp: Likewise.
7216 * gdb.dwarf2/formdata16.exp: Likewise.
7217 * gdb.dwarf2/implptrpiece.exp: Likewise.
7218 * gdb.dwarf2/nonvar-access.exp: Likewise.
7219 * gdb.python/py-inferior.exp: Likewise.
7220 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
7221
e9352324
AA
72222017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7223
7224 PR gdb/21226
7225 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
7226 stack value pieces are taken from the LSB end.
7227
d5d1163e
AA
72282017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7229
7230 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
7231 variable at nonzero offset.
7232
0567c986
AA
72332017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7234
7235 * gdb.dwarf2/var-access.c: New file.
7236 * gdb.dwarf2/var-access.exp: New test.
7237 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
7238
973e9aab
TT
72392017-06-12 Tom Tromey <tom@tromey.com>
7240
7241 * gdb.dwarf2/formdata16.exp: Add tests.
7242
d9109c80
TT
72432017-06-12 Tom Tromey <tom@tromey.com>
7244
7245 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
7246
30a25466
TT
72472017-06-12 Tom Tromey <tom@tromey.com>
7248
7249 PR exp/16225:
7250 * gdb.reverse/i386-sse-reverse.exp: Update tests.
7251 * gdb.arch/vsx-regs.exp: Update tests.
7252 * gdb.arch/s390-vregs.exp (hex128): New proc.
7253 Update test.
7254 * gdb.arch/altivec-regs.exp: Update tests.
7255
aefd8b33
SDJ
72562017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
7257
7258 * gdb.base/startup-with-shell.c: New file.
7259 * gdb.base/startup-with-shell.exp: Likewise.
7260
2090129c
SDJ
72612017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
7262
7263 * gdb.server/non-existing-program.exp: Update regex in order to
7264 reflect the fact that gdbserver is now using fork_inferior (with a
7265 shell) to startup the inferior.
7266
8e86a419
SM
72672017-05-30 Simon Marchi <simon.marchi@ericsson.com>
7268
7269 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
7270 support function calls from GDB.
7271
e6cf65f2
TT
72722017-05-21 Tom Tromey <tom@tromey.com>
7273
7274 PR rust/21466:
7275 * gdb.rust/unsized.exp: New file.
7276 * gdb.rust/unsized.rs: New file.
7277
43cc5389
TT
72782017-05-19 Tom Tromey <tom@tromey.com>
7279
7280 PR rust/21484:
7281 * gdb.rust/watch.exp: New file.
7282 * gdb.rust/watch.rs: New file.
7283
ec8df234
TT
72842017-05-18 Tom Tromey <tom@tromey.com>
7285
7286 * gdb.rust/simple.exp: Allow Box to be qualified.
7287
3e3e7fae
TP
72882017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
7289
7290 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
7291
59cc050d
PA
72922017-05-18 Pedro Alves <palves@redhat.com>
7293
7294 * gdb.base/fileio.c (test_write, test_read, test_close)
7295 (test_fstat): Don't print 'ret' in the fail path.
7296
c8f6abd1
PA
72972017-05-18 Pedro Alves <palves@redhat.com>
7298
7299 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
7300 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
7301 (test_system, test_rename, test_unlink, test_time): Change
7302 prototypes.
7303 * gdb.base/fileio.exp (stop_msg): Adjust.
7304
d2a03b77
PA
73052017-05-18 Pedro Alves <palves@redhat.com>
7306
7307 * gdb.base/fileio.c (null_str): New global.
7308 (test_stat): Use it.
7309 * gdb.base/fileio.exp: Remove nowarnings.
7310
0d5c6999
YQ
73112017-05-17 Yao Qi <yao.qi@linaro.org>
7312
7313 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
7314
21873064
YQ
73152017-05-17 Simon Marchi <simon.marchi@ericsson.com>
7316
7317 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
7318 argument command.
7319 (top-level): Invoke test_set_inferior_tty.
7320
d512d31c
PA
73212017-05-04 Pedro Alves <palves@redhat.com>
7322
7323 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
7324 Add parens to print call for Python 3.
7325
90cef2ed
KS
73262017-05-03 Keith Seitz <keiths@redhat.com>
7327
7328 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
7329 (main): Call it.
7330
14f819c8
TW
73312017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7332
7333 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
7334 to prev and next.
7335
913aeadd
TW
73362017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7337
7338 * gdb.python/py-record-btrace.exp: Remove test for
7339 gdb.BtraceInstruction.error.
7340
a3be24ad
TW
73412017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7342
7343 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
7344
ae20e79a
TW
73452017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7346
7347 * gdb.python/py-record-btrace-threads.c: New file.
7348 * gdb.python/py-record-btrace-threads.exp: New file.
7349
45ce1b47
SDJ
73502017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
7351
7352 PR testsuite/8595
7353 * gdb.base/environ.exp: Make test available in all architectures.
7354 Move bits related to "info program" testing to
7355 gdb.base/info-program.exp. Rewrite tests to use the two new
7356 procedures mentione below.
7357 (test_set_show_env_var) New procedure.
7358 (test_set_show_env_var_equal): Likewise.
7359 * gdb.base/info-program.exp: New file.
7360
e15c3eb4
KS
73612017-04-27 Keith Seitz <keiths@redhat.com>
7362
7363 * gdb.cp/oranking.cc (test15): New function.
7364 (main): Call test15 and declare additional variables for testing.
7365 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
7366 "p foo101('abc')" tests.
7367 Add tests for cv qualifier overloads.
7368 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
7369 "lvalue reference overload" test.
7370 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
7371 "print value of f1 on Child&& in f2" test.
7372
3a3fd0fd
PA
73732017-04-19 Pedro Alves <palves@redhat.com>
7374
7375 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
7376 procedure.
7377 (top level): Call it.
7378 * lib/gdb.exp (gdb_define_cmd): New procedure.
7379
53375380
PA
73802017-04-12 Pedro Alves <palves@redhat.com>
7381
7382 PR gdb/21323
7383 * gdb.cp/wide_char_types.c: Include <wchar.h>.
7384 (wchar): New global.
7385 * gdb.cp/wide_char_types.exp (wide_char_types_program)
7386 (do_test_wide_char, wide_char_types_no_program, top level): Add
7387 wchar_t testing.
7388
53e710ac
PA
73892017-04-12 Pedro Alves <palves@redhat.com>
7390
7391 PR c++/21323
7392 * gdb.cp/wide_char_types.c: New file.
7393 * gdb.cp/wide_char_types.exp: New file.
7394
0ad9d8c7
SDJ
73952017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
7396
7397 PR gdb/21352
7398 * gdb.trace/tsv.exp: Add test for "tsave -r".
7399
b1b45502
IB
74002017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
7401
7402 * gdb.dlang/watch-loc.c: New file.
7403 * gdb.dlang/watch-loc.exp: New file.
7404
ec13808e
JK
74052017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7406
7407 * gdb.python/py-section-script.exp (sepdebug): New testcases.
7408
fe5f7374
AK
74092017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
7410
7411 * gdb.arch/arc-analyze-prologue.S: New file.
7412 * gdb.arch/arc-analyze-prologue.exp: Likewise.
7413
eea78757
AK
74142017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
7415
7416 * gdb.arch/arc-decode-insn.S: New file.
7417 * gdb.arch/arc-decode-insn.exp: Likewise.
7418
5badf10a
IR
74192017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
7420
7421 PR tdep/20928
7422 * gdb.arch/sparc64-regs.exp: New file.
7423 * gdb.arch/sparc64-regs.S: Likewise.
7424
cee59b3f
TW
74252017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
7426
7427 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
7428 and memory view on Python 3.
7429
c0f55cc6
AV
74302017-03-20 Artemiy Volkov <artemiyv@acm.org>
7431 Keith Seitz <keiths@redhat.com>
7432
7433 PR gdb/14441
7434 * gdb.cp/demangle.exp: Add rvalue reference tests.
7435 * gdb.cp/rvalue-ref-casts.cc: New file.
7436 * gdb.cp/rvalue-ref-casts.exp: New file.
7437 * gdb.cp/rvalue-ref-overload.cc: New file.
7438 * gdb.cp/rvalue-ref-overload.exp: New file.
7439 * gdb.cp/rvalue-ref-params.cc: New file.
7440 * gdb.cp/rvalue-ref-params.exp: New file.
7441 * gdb.cp/rvalue-ref-sizeof.cc: New file.
7442 * gdb.cp/rvalue-ref-sizeof.exp: New file.
7443 * gdb.cp/rvalue-ref-types.cc: New file.
7444 * gdb.cp/rvalue-ref-types.exp: New file.
7445 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
7446 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
7447
51457a05
MAL
74482017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
7449
7450 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
7451 New procedure.
7452
5b291c04
MAL
74532017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
7454
7455 * lib/mi-support.exp (mi_gdb_test): Add additional message
7456 for unexpected output.
7457
59a56148
AA
74582017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
7459
7460 * gdb.base/examine-backward.c (Barrier): New character array
7461 constant, to ensure that TestStrings is preceded by a string
7462 terminator.
7463
7942e96e
AA
74642017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7465
7466 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
7467 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
7468 and implicit pointer into such a location.
7469
6ebac3fb
DE
74702017-03-16 Doug Evans <dje@google.com>
7471
7472 * gdb.python/py-lazy-string (pointer): Really add new typedef.
7473
ec3b243d
TP
74742017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
7475
7476 * gdb.cp/m-static.exp: Fix expectation for prototype of
7477 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
7478
74792017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
7480
7481 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
7482 * gdb.guile/scm-lazy-string.c: New file.
7483 * gdb.guile/scm-value.exp: Move lazy string tests to ...
7484 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
7485 for pointer, array, typedef lazy strings.
7486
2cc36e25 74872017-03-16 Doug Evans <dje@google.com>
34b43320
DE
7488
7489 PR python/17728, python/18439, python/18779
7490 * gdb.python/py-value.c (main) Delete locals sptr, sn.
7491 * gdb.python/py-lazy-string.c (pointer): New typedef.
7492 (main): New locals ptr, array, typedef_ptr.
7493 * gdb.python/py-value.exp: Move lazy string tests to ...
7494 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
7495 array, typedef lazy strings.
ec3b243d 7496
0efcde63
AK
74972017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
7498
7499 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
7500 Add optional 'test' parameter.
7501
7978d7c3
SM
75022017-03-13 Simon Marchi <simon.marchi@ericsson.com>
7503
7504 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
7505 Skip for versions of DejaGnu < 1.5.
7506
896c0c1e
SM
75072017-03-13 Simon Marchi <simon.marchi@ericsson.com>
7508
7509 * lib/gdb.exp (dejagnu_version): New proc.
7510 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
7511 Use dejagnu_version.
7512
5f4d1085
KS
75132017-03-10 Keith Seitz <keiths@redhat.com>
7514
7515 PR c++/8128
7516 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
7517 type from destructor regexps.
7518 Add a branch which actually passes the test.
7519 Adjust "ptype t5i" test names.
7520
1de05205
PA
75212017-03-08 Pedro Alves <palves@redhat.com>
7522
7523 * gdb.base/step-over-exit.exp: Add explicit test message.
7524
c65d6b55
PA
75252017-03-08 Pedro Alves <palves@redhat.com>
7526
7527 PR gdb/18360
7528 * gdb.threads/interrupt-while-step-over.c: New file.
7529 * gdb.threads/interrupt-while-step-over.exp: New file.
7530
2e86a283
PA
75312017-03-08 Pedro Alves <palves@redhat.com>
7532
7533 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
7534 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
7535
25dcbff6
PA
75362017-03-08 Pedro Alves <palves@redhat.com>
7537
7538 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
7539 PKRU as not supported as a PASS.
7540
dc9366eb
PA
75412017-03-08 Pedro Alves <palves@redhat.com>
7542
7543 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
7544 prefix instead of $binfile1/$binfile2.
7545 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
7546 in test message.
7547 * gdb.python/py-completion.exp: Use "load python file" as test
7548 messages instead of unstable path names.
7549
6e5d74e7
PA
75502017-03-08 Pedro Alves <palves@redhat.com>
7551 Jan Kratochvil <jan.kratochvil@redhat.com>
7552
7553 PR cli/21218
7554 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
7555 New proc.
7556 (top level): Call it.
7557
9753a2f6
PA
75582017-03-08 Pedro Alves <palves@redhat.com>
7559
7560 PR tui/21216
7561 * gdb.tui/tui-nl-filtered-output.exp: New file.
7562
1a4dd9dd
PA
75632017-03-08 Pedro Alves <palves@redhat.com>
7564
7565 * gdb.base/completion.exp: Move TUI completion tests to ...
7566 * gdb.tui/completion.exp: ... this new file.
7567
7cbbff33
PA
75682017-03-08 Pedro Alves <palves@redhat.com>
7569
7570 * gdb.base/tui-disasm-long-lines.c,
7571 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
7572 gdb.base/tui-layout.exp: Move to ...
7573 * gdb.tui/: ... this new directory.
7574
5f6fd321
PA
75752017-03-07 Pedro Alves <palves@redhat.com>
7576
7577 * gdb.base/tui-layout.c: New file.
7578 * gdb.base/tui-layout.exp: New file.
7579
44959fa8
PA
75802017-03-07 Pedro Alves <palves@redhat.com>
7581
7582 * gdb.base/tui-layout.c: Rename to ...
7583 * gdb.base/tui-disasm-long-lines.c: ... this.
7584 * gdb.base/tui-layout.exp: Rename to ...
7585 * gdb.base/tui-disasm-long-lines.exp: ... this.
7586
f8c4e718
PA
75872017-03-07 Pedro Alves <palves@redhat.com>
7588
7589 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
7590
6dbb839a 75912017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
7592
7593 * i386-mpx-call.c: New file.
7594 * i386-mpx-call.exp: New file.
7595
65b48a81
PB
75962017-02-28 Peter Bergner <bergner@vnet.ibm.com>
7597
7598 * gdb.arch/powerpc-power.exp: Delete test.
7599 * gdb.arch/powerpc-power.s: Likewise.
7600 * gdb.disasm/disassembler-options.exp: New test.
7601 * gdb.arch/powerpc-altivec.exp: Likewise.
7602 * gdb.arch/powerpc-altivec.s: Likewise.
7603 * gdb.arch/powerpc-altivec2.exp: Likewise.
7604 * gdb.arch/powerpc-altivec2.s: Likewise.
7605 * gdb.arch/powerpc-altivec3.exp: Likewise.
7606 * gdb.arch/powerpc-altivec3.s: Likewise.
7607 * gdb.arch/powerpc-power7.exp: Likewise.
7608 * gdb.arch/powerpc-power7.s: Likewise.
7609 * gdb.arch/powerpc-power8.exp: Likewise.
7610 * gdb.arch/powerpc-power8.s: Likewise.
7611 * gdb.arch/powerpc-power9.exp: Likewise.
7612 * gdb.arch/powerpc-power9.s: Likewise.
7613 * gdb.arch/powerpc-vsx.exp: Likewise.
7614 * gdb.arch/powerpc-vsx.s: Likewise.
7615 * gdb.arch/powerpc-vsx2.exp: Likewise.
7616 * gdb.arch/powerpc-vsx2.s: Likewise.
7617 * gdb.arch/powerpc-vsx3.exp: Likewise.
7618 * gdb.arch/powerpc-vsx3.s: Likewise.
7619 * gdb.arch/arm-disassembler-options.exp: Likewise.
7620 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
7621 * gdb.arch/s390-disassembler-options.exp: Likewise.
7622
17cd4947
LM
76232017-02-23 Luis Machado <lgustavo@codesourcery.com>
7624
7625 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
7626 (check_supported_features): ... this. Changed return type to void.
7627 (supports_rdseed): New static global.
7628 (rdseed): Check supports_rdseed.
7629 (initialize): Call check_supported_features.
7630
2039d74e
EBM
76312017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7632
7633 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
7634 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
7635 and lqarx/stqcx.
7636 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
7637 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
7638
a51d7ecf
EBM
76392017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7640
7641 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
7642 uppercase.
7643
0224619f
JK
76442017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7645
7646 * gdb.dwarf2/formdata16.c: New file.
7647 * gdb.dwarf2/formdata16.exp: New file.
7648 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
7649
216f72a1
JK
76502017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7651
7652 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
7653 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
7654 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
7655 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
7656 DW_AT_GNU_*.
7657
43988095
JK
76582017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7659
7660 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
7661
99e8a4f9
SDJ
76622017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
7663
7664 PR gdb/21164
7665 * gdb.base/maint.exp: Add testcases for when the commands do
7666 not have arguments.
7667
b58a8c0c
TP
76682017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
7669
7670 * gdb.cp/chained-calls.exp: Use p instead of P.
7671
4e746bb6
TW
76722017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
7673
7674 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
7675 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
7676
3f77c769
TT
76772017-02-14 Tom Tromey <tom@tromey.com>
7678
7679 PR python/13598:
7680 * gdb.python/py-events.exp: Add before_prompt event tests.
7681
075beec0
AA
76822017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7683
7684 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
7685
bf5f525c
LM
76862017-02-13 Luis Machado <lgustavo@codesourcery.com>
7687
7688 * gdb.linespec/explicit.c (my_unique_function_name): New function.
7689 (main): Call my_unique_function_name.
7690 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
7691 completion of patterns with a single match.
7692 Add missing -re switches to gdb_test_multiple calls.
7693
13a66184
LM
76942017-02-13 Luis Machado <lgustavo@codesourcery.com>
7695
7696 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
7697 return if core file is not recognized.
7698
26a06916
SM
76992017-02-10 Simon Marchi <simon.marchi@ericsson.com>
7700
7701 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
7702 and extra UIs.
7703
b761ca9e
SM
77042017-02-10 Simon Marchi <simon.marchi@ericsson.com>
7705
7706 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
7707 proc_with_prefix.
7708
b964bee0
TT
77092017-02-10 Tom Tromey <tom@tromey.com>
7710
7711 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
7712
18da0c51
MG
77132017-02-10 Martin Galvan <martingalvan@sourceware.org>
7714
7715 PR gdb/21122
7716 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
7717
604c4576
JG
77182017-02-08 Jerome Guitton <guitton@adacore.com>
7719
7720 * gdb.base/define.exp: Add test for command abbreviations
7721 in define.
7722
20b477a7
LM
77232017-02-06 Luis Machado <lgustavo@codesourcery.com>
7724
7725 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
7726 * gdb.reverse/insn-reverse-x86.c: New file.
7727
3f7b46f2
IR
77282017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
7729
7730 PR tdep/20936
7731 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
7732
f0fd41c1
TT
77332017-02-03 Tom Tromey <tom@tromey.com>
7734
7735 PR rust/21097:
7736 * gdb.rust/simple.exp: Add new tests.
7737
5be5dbf0
PA
77382017-02-02 Pedro Alves <palves@redhat.com>
7739
7740 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
7741 tests.
7742
7346ef59
AA
77432017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
7744
7745 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
7746 taking a 2-byte value out of a 4-byte DWARF implicit value on
7747 big-endian targets.
7748 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
7749 logic. Add test cases for DW_OP_implicit.
7750
787f0025
MM
77512017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7752
7753 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
7754
68777c29
MM
77552017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7756
7757 * gdb.btrace/enable.exp: Call gdb_exit before
7758 skip_gdbserver_tests.
7759
0a1c7e28
MM
77602017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7761
7762 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
7763 GDBFLAGS.
7764
b5ac99b0
MM
77652017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7766
7767 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
7768 the test is skipped.
7769 * gdb.btrace/data.exp: Likewise.
7770 * gdb.btrace/delta.exp: Likewise.
7771 * gdb.btrace/dlopen.exp: Likewise.
7772 * gdb.btrace/enable-running.exp: Likewise.
7773 * gdb.btrace/enable.exp: Likewise.
7774 * gdb.btrace/exception.exp: Likewise.
7775 * gdb.btrace/function_call_history.exp: Likewise.
7776 * gdb.btrace/gcore.exp: Likewise.
7777 * gdb.btrace/instruction_history.exp: Likewise.
7778 * gdb.btrace/multi-thread-step.exp: Likewise.
7779 * gdb.btrace/nohist.exp: Likewise.
7780 * gdb.btrace/non-stop.exp: Likewise.
7781 * gdb.btrace/reconnect.exp: Likewise.
7782 * gdb.btrace/record_goto-step.exp: Likewise.
7783 * gdb.btrace/record_goto.exp: Likewise.
7784 * gdb.btrace/rn-dl-bind.exp: Likewise.
7785 * gdb.btrace/segv.exp: Likewise.
7786 * gdb.btrace/step.exp: Likewise.
7787 * gdb.btrace/stepi.exp: Likewise.
7788 * gdb.btrace/tailcall-only.exp: Likewise.
7789 * gdb.btrace/tailcall.exp: Likewise.
7790 * gdb.btrace/tsx.exp: Likewise.
7791 * gdb.btrace/unknown_functions.exp: Likewise.
7792 * gdb.btrace/vdso.exp: Likewise.
7793
cd4007e4
MM
77942017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7795
7796 * gdb.btrace/enable-running.c: New.
7797 * gdb.btrace/enable-running.exp: New.
7798
2735833d
WT
77992017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
7800
7801 * gdb.arch/amd64-gs_base.c: New file.
7802 * gdb.arch/amd64-gs_base.exp: New file.
7803
b51e1e94
LM
78042017-01-26 Luis Machado <lgustavo@codesourcery.com>
7805
7806 * lib/memory.exp: Remove spurious empty newlines.
7807
72ca0410
SM
78082017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
7809
7810 * gdb.python/py-bad-printers.exp: Load python file using "source".
7811 * gdb.python/py-events.exp: Likewise.
7812 * gdb.python/py-evsignal.exp: Likewise.
7813 * gdb.python/py-evthreads.exp: Likewise.
7814 * gdb.python/py-frame-args.exp: Likewise.
7815 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
7816 * gdb.python/py-framefilter-mi.exp: Likewise.
7817 * gdb.python/py-framefilter.exp: Likewise.
7818 * gdb.python/py-mi.exp: Likewise.
7819 * gdb.python/py-pp-maint.exp: Likewise.
7820 * gdb.python/py-pp-registration.exp: Likewise.
7821 * gdb.python/py-prettyprint.exp: Likewise.
7822 (run_lang_tests): Likewise.
7823 * gdb.python/py-typeprint.exp: Likewise.
7824
e309aa65
LM
78252017-01-26 Luis Machado <lgustavo@codesourcery.com>
7826
7827 * lib/memory.exp: New file.
7828 * lib/gdb.exp: Load memory.exp.
7829 * gdb.base/memattr.exp (delete_memory): Move proc to
7830 lib/memory.exp and rename to delete_memory_regions.
7831 Replace delete_memory with delete_memory_regions.
7832 Cleanup memory regions before tests.
7833 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
7834 before tests.
7835
515aff23
LM
78362017-01-26 Luis Machado <lgustavo@codesourcery.com>
7837
7838 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
7839 files.
7840 (initialize): New function conditionally defined.
7841 (testcases): Move within conditional block.
7842 (main): Call initialize.
7843 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
7844 of gdb.reverse/insn-reverse.c.
7845 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
7846 gdb.reverse/insn-reverse.c.
7847
d8b49cf0
YQ
78482017-01-26 Yao Qi <yao.qi@linaro.org>
7849
7850 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
7851 disassemble on address 0.
7852
f13a9a0c
YQ
78532017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
7854 Yao Qi <yao.qi@linaro.org>
7855
7856 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
7857 * gdb.dwarf2/implptr-64bit.S: Remove.
7858 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
7859 variables in caller's context. Add DW_OP_implicit_value.
7860
5ac95241
YQ
78612017-01-25 Yao Qi <yao.qi@linaro.org>
7862
7863 * lib/dwarf.exp (Dwarf::_location): Handle
7864 DW_OP_GNU_implicit_pointer with proper size.
7865
23e82930
LM
78662017-01-20 Luis Machado <lgustavo@codesourcery.com>
7867
7868 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
7869 and add untested calls.
7870
d334ae25
LM
78712017-01-20 Luis Machado <lgustavo@codesourcery.com>
7872
7873 * gdb.python/python.exp: Check line number against what GDB thinks
7874 the line number is for func1.
7875
f5e6296e
IB
78762017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
7877
7878 * gdb.dlang/debug-expr.exp: New file.
7879
5b362f04
LM
78802016-12-23 Luis Machado <lgustavo@codesourcery.com>
7881
7882 Fix test names for the following files:
7883
7884 * gdb.ada/exec_changed.exp
7885 * gdb.ada/info_types.exp
7886 * gdb.arch/aarch64-atomic-inst.exp
7887 * gdb.arch/aarch64-fp.exp
7888 * gdb.arch/altivec-abi.exp
7889 * gdb.arch/altivec-regs.exp
7890 * gdb.arch/amd64-byte.exp
7891 * gdb.arch/amd64-disp-step.exp
7892 * gdb.arch/amd64-dword.exp
7893 * gdb.arch/amd64-entry-value-inline.exp
7894 * gdb.arch/amd64-entry-value-param.exp
7895 * gdb.arch/amd64-entry-value-paramref.exp
7896 * gdb.arch/amd64-entry-value.exp
7897 * gdb.arch/amd64-i386-address.exp
7898 * gdb.arch/amd64-invalid-stack-middle.exp
7899 * gdb.arch/amd64-invalid-stack-top.exp
7900 * gdb.arch/amd64-optimout-repeat.exp
7901 * gdb.arch/amd64-prologue-skip.exp
7902 * gdb.arch/amd64-prologue-xmm.exp
7903 * gdb.arch/amd64-stap-special-operands.exp
7904 * gdb.arch/amd64-stap-wrong-subexp.exp
7905 * gdb.arch/amd64-tailcall-cxx.exp
7906 * gdb.arch/amd64-tailcall-noret.exp
7907 * gdb.arch/amd64-tailcall-ret.exp
7908 * gdb.arch/amd64-tailcall-self.exp
7909 * gdb.arch/amd64-word.exp
7910 * gdb.arch/arm-bl-branch-dest.exp
7911 * gdb.arch/arm-disp-step.exp
7912 * gdb.arch/arm-neon.exp
7913 * gdb.arch/arm-single-step-kernel-helper.exp
7914 * gdb.arch/avr-flash-qualifier.exp
7915 * gdb.arch/disp-step-insn-reloc.exp
7916 * gdb.arch/e500-abi.exp
7917 * gdb.arch/e500-regs.exp
7918 * gdb.arch/ftrace-insn-reloc.exp
7919 * gdb.arch/i386-avx512.exp
7920 * gdb.arch/i386-bp_permanent.exp
7921 * gdb.arch/i386-byte.exp
7922 * gdb.arch/i386-cfi-notcurrent.exp
7923 * gdb.arch/i386-disp-step.exp
7924 * gdb.arch/i386-dr3-watch.exp
7925 * gdb.arch/i386-float.exp
7926 * gdb.arch/i386-gnu-cfi.exp
7927 * gdb.arch/i386-mpx-map.exp
7928 * gdb.arch/i386-mpx-sigsegv.exp
7929 * gdb.arch/i386-mpx-simple_segv.exp
7930 * gdb.arch/i386-mpx.exp
7931 * gdb.arch/i386-permbkpt.exp
7932 * gdb.arch/i386-prologue.exp
7933 * gdb.arch/i386-signal.exp
7934 * gdb.arch/i386-size-overlap.exp
7935 * gdb.arch/i386-unwind.exp
7936 * gdb.arch/i386-word.exp
7937 * gdb.arch/mips-fcr.exp
7938 * gdb.arch/powerpc-d128-regs.exp
7939 * gdb.arch/powerpc-stackless.exp
7940 * gdb.arch/ppc64-atomic-inst.exp
7941 * gdb.arch/s390-stackless.exp
7942 * gdb.arch/s390-tdbregs.exp
7943 * gdb.arch/s390-vregs.exp
7944 * gdb.arch/sparc-sysstep.exp
7945 * gdb.arch/thumb-bx-pc.exp
7946 * gdb.arch/thumb-singlestep.exp
7947 * gdb.arch/thumb2-it.exp
7948 * gdb.arch/vsx-regs.exp
7949 * gdb.asm/asm-source.exp
7950 * gdb.base/a2-run.exp
7951 * gdb.base/advance.exp
7952 * gdb.base/all-bin.exp
7953 * gdb.base/anon.exp
7954 * gdb.base/args.exp
7955 * gdb.base/arithmet.exp
7956 * gdb.base/async-shell.exp
7957 * gdb.base/async.exp
7958 * gdb.base/attach-pie-noexec.exp
7959 * gdb.base/attach-twice.exp
7960 * gdb.base/auto-load.exp
7961 * gdb.base/bang.exp
7962 * gdb.base/bitfields.exp
7963 * gdb.base/break-always.exp
7964 * gdb.base/break-caller-line.exp
7965 * gdb.base/break-entry.exp
7966 * gdb.base/break-inline.exp
7967 * gdb.base/break-on-linker-gcd-function.exp
7968 * gdb.base/break-probes.exp
7969 * gdb.base/break.exp
7970 * gdb.base/breakpoint-shadow.exp
7971 * gdb.base/call-ar-st.exp
7972 * gdb.base/call-sc.exp
7973 * gdb.base/call-signal-resume.exp
7974 * gdb.base/call-strs.exp
7975 * gdb.base/callfuncs.exp
7976 * gdb.base/catch-fork-static.exp
7977 * gdb.base/catch-gdb-caused-signals.exp
7978 * gdb.base/catch-load.exp
7979 * gdb.base/catch-signal-fork.exp
7980 * gdb.base/catch-signal.exp
7981 * gdb.base/catch-syscall.exp
7982 * gdb.base/charset.exp
7983 * gdb.base/checkpoint.exp
7984 * gdb.base/chng-syms.exp
7985 * gdb.base/code-expr.exp
7986 * gdb.base/code_elim.exp
7987 * gdb.base/commands.exp
7988 * gdb.base/completion.exp
7989 * gdb.base/complex.exp
7990 * gdb.base/cond-expr.exp
7991 * gdb.base/condbreak.exp
7992 * gdb.base/consecutive.exp
7993 * gdb.base/continue-all-already-running.exp
7994 * gdb.base/coredump-filter.exp
7995 * gdb.base/corefile.exp
7996 * gdb.base/dbx.exp
7997 * gdb.base/debug-expr.exp
7998 * gdb.base/define.exp
7999 * gdb.base/del.exp
8000 * gdb.base/disabled-location.exp
8001 * gdb.base/disasm-end-cu.exp
8002 * gdb.base/disasm-optim.exp
8003 * gdb.base/display.exp
8004 * gdb.base/duplicate-bp.exp
8005 * gdb.base/ena-dis-br.exp
8006 * gdb.base/ending-run.exp
8007 * gdb.base/enumval.exp
8008 * gdb.base/environ.exp
8009 * gdb.base/eu-strip-infcall.exp
8010 * gdb.base/eval-avoid-side-effects.exp
8011 * gdb.base/eval-skip.exp
8012 * gdb.base/exitsignal.exp
8013 * gdb.base/expand-psymtabs.exp
8014 * gdb.base/filesym.exp
8015 * gdb.base/find-unmapped.exp
8016 * gdb.base/finish.exp
8017 * gdb.base/float.exp
8018 * gdb.base/foll-exec-mode.exp
8019 * gdb.base/foll-exec.exp
8020 * gdb.base/foll-fork.exp
8021 * gdb.base/fortran-sym-case.exp
8022 * gdb.base/freebpcmd.exp
8023 * gdb.base/func-ptr.exp
8024 * gdb.base/func-ptrs.exp
8025 * gdb.base/funcargs.exp
8026 * gdb.base/gcore-buffer-overflow.exp
8027 * gdb.base/gcore-relro-pie.exp
8028 * gdb.base/gcore-relro.exp
8029 * gdb.base/gcore.exp
8030 * gdb.base/gdb1090.exp
8031 * gdb.base/gdb11530.exp
8032 * gdb.base/gdb11531.exp
8033 * gdb.base/gdb1821.exp
8034 * gdb.base/gdbindex-stabs.exp
8035 * gdb.base/gdbvars.exp
8036 * gdb.base/hbreak.exp
8037 * gdb.base/hbreak2.exp
8038 * gdb.base/included.exp
8039 * gdb.base/infcall-input.exp
8040 * gdb.base/inferior-died.exp
8041 * gdb.base/infnan.exp
8042 * gdb.base/info-macros.exp
8043 * gdb.base/info-os.exp
8044 * gdb.base/info-proc.exp
8045 * gdb.base/info-shared.exp
8046 * gdb.base/info-target.exp
8047 * gdb.base/infoline.exp
8048 * gdb.base/interp.exp
8049 * gdb.base/interrupt.exp
8050 * gdb.base/jit-reader.exp
8051 * gdb.base/jit-simple.exp
8052 * gdb.base/kill-after-signal.exp
8053 * gdb.base/kill-detach-inferiors-cmd.exp
8054 * gdb.base/label.exp
8055 * gdb.base/langs.exp
8056 * gdb.base/ldbl_e308.exp
8057 * gdb.base/line-symtabs.exp
8058 * gdb.base/linespecs.exp
8059 * gdb.base/list.exp
8060 * gdb.base/long_long.exp
8061 * gdb.base/longest-types.exp
8062 * gdb.base/maint.exp
8063 * gdb.base/max-value-size.exp
8064 * gdb.base/memattr.exp
8065 * gdb.base/mips_pro.exp
8066 * gdb.base/morestack.exp
8067 * gdb.base/moribund-step.exp
8068 * gdb.base/multi-forks.exp
8069 * gdb.base/nested-addr.exp
8070 * gdb.base/nextoverexit.exp
8071 * gdb.base/noreturn-finish.exp
8072 * gdb.base/noreturn-return.exp
8073 * gdb.base/nostdlib.exp
8074 * gdb.base/offsets.exp
8075 * gdb.base/opaque.exp
8076 * gdb.base/pc-fp.exp
8077 * gdb.base/permissions.exp
8078 * gdb.base/print-symbol-loading.exp
8079 * gdb.base/prologue-include.exp
8080 * gdb.base/psymtab.exp
8081 * gdb.base/ptype.exp
8082 * gdb.base/random-signal.exp
8083 * gdb.base/randomize.exp
8084 * gdb.base/range-stepping.exp
8085 * gdb.base/readline-ask.exp
8086 * gdb.base/recpar.exp
8087 * gdb.base/recurse.exp
8088 * gdb.base/relational.exp
8089 * gdb.base/restore.exp
8090 * gdb.base/return-nodebug.exp
8091 * gdb.base/return.exp
8092 * gdb.base/run-after-attach.exp
8093 * gdb.base/save-bp.exp
8094 * gdb.base/scope.exp
8095 * gdb.base/sect-cmd.exp
8096 * gdb.base/set-lang-auto.exp
8097 * gdb.base/set-noassign.exp
8098 * gdb.base/setvar.exp
8099 * gdb.base/sigall.exp
8100 * gdb.base/sigbpt.exp
8101 * gdb.base/siginfo-addr.exp
8102 * gdb.base/siginfo-infcall.exp
8103 * gdb.base/siginfo-obj.exp
8104 * gdb.base/siginfo.exp
8105 * gdb.base/signals-state-child.exp
8106 * gdb.base/signest.exp
8107 * gdb.base/sigstep.exp
8108 * gdb.base/sizeof.exp
8109 * gdb.base/skip.exp
8110 * gdb.base/solib-corrupted.exp
8111 * gdb.base/solib-nodir.exp
8112 * gdb.base/solib-search.exp
8113 * gdb.base/stack-checking.exp
8114 * gdb.base/stale-infcall.exp
8115 * gdb.base/stap-probe.exp
8116 * gdb.base/start.exp
8117 * gdb.base/step-break.exp
8118 * gdb.base/step-bt.exp
8119 * gdb.base/step-line.exp
8120 * gdb.base/step-over-exit.exp
8121 * gdb.base/step-over-syscall.exp
8122 * gdb.base/step-resume-infcall.exp
8123 * gdb.base/step-test.exp
8124 * gdb.base/store.exp
8125 * gdb.base/structs3.exp
8126 * gdb.base/sym-file.exp
8127 * gdb.base/symbol-without-target_section.exp
8128 * gdb.base/term.exp
8129 * gdb.base/testenv.exp
8130 * gdb.base/ui-redirect.exp
8131 * gdb.base/until.exp
8132 * gdb.base/unwindonsignal.exp
8133 * gdb.base/value-double-free.exp
8134 * gdb.base/vla-datatypes.exp
8135 * gdb.base/vla-ptr.exp
8136 * gdb.base/vla-sideeffect.exp
8137 * gdb.base/volatile.exp
8138 * gdb.base/watch-cond-infcall.exp
8139 * gdb.base/watch-cond.exp
8140 * gdb.base/watch-non-mem.exp
8141 * gdb.base/watch-read.exp
8142 * gdb.base/watch-vfork.exp
8143 * gdb.base/watchpoint-cond-gone.exp
8144 * gdb.base/watchpoint-delete.exp
8145 * gdb.base/watchpoint-hw-hit-once.exp
8146 * gdb.base/watchpoint-hw.exp
8147 * gdb.base/watchpoint-stops-at-right-insn.exp
8148 * gdb.base/watchpoints.exp
8149 * gdb.base/wchar.exp
8150 * gdb.base/whatis-exp.exp
8151 * gdb.btrace/buffer-size.exp
8152 * gdb.btrace/data.exp
8153 * gdb.btrace/delta.exp
8154 * gdb.btrace/dlopen.exp
8155 * gdb.btrace/enable.exp
8156 * gdb.btrace/exception.exp
8157 * gdb.btrace/function_call_history.exp
8158 * gdb.btrace/gcore.exp
8159 * gdb.btrace/instruction_history.exp
8160 * gdb.btrace/nohist.exp
8161 * gdb.btrace/reconnect.exp
8162 * gdb.btrace/record_goto-step.exp
8163 * gdb.btrace/record_goto.exp
8164 * gdb.btrace/rn-dl-bind.exp
8165 * gdb.btrace/segv.exp
8166 * gdb.btrace/step.exp
8167 * gdb.btrace/stepi.exp
8168 * gdb.btrace/tailcall-only.exp
8169 * gdb.btrace/tailcall.exp
8170 * gdb.btrace/tsx.exp
8171 * gdb.btrace/unknown_functions.exp
8172 * gdb.btrace/vdso.exp
8173 * gdb.compile/compile-ifunc.exp
8174 * gdb.compile/compile-ops.exp
8175 * gdb.compile/compile-print.exp
8176 * gdb.compile/compile-setjmp.exp
8177 * gdb.cp/abstract-origin.exp
8178 * gdb.cp/ambiguous.exp
8179 * gdb.cp/annota2.exp
8180 * gdb.cp/annota3.exp
8181 * gdb.cp/anon-ns.exp
8182 * gdb.cp/anon-struct.exp
8183 * gdb.cp/anon-union.exp
8184 * gdb.cp/arg-reference.exp
8185 * gdb.cp/baseenum.exp
8186 * gdb.cp/bool.exp
8187 * gdb.cp/breakpoint.exp
8188 * gdb.cp/bs15503.exp
8189 * gdb.cp/call-c.exp
8190 * gdb.cp/casts.exp
8191 * gdb.cp/chained-calls.exp
8192 * gdb.cp/class2.exp
8193 * gdb.cp/classes.exp
8194 * gdb.cp/cmpd-minsyms.exp
8195 * gdb.cp/converts.exp
8196 * gdb.cp/cp-relocate.exp
8197 * gdb.cp/cpcompletion.exp
8198 * gdb.cp/cpexprs.exp
8199 * gdb.cp/cplabel.exp
8200 * gdb.cp/cplusfuncs.exp
8201 * gdb.cp/cpsizeof.exp
8202 * gdb.cp/ctti.exp
8203 * gdb.cp/derivation.exp
8204 * gdb.cp/destrprint.exp
8205 * gdb.cp/dispcxx.exp
8206 * gdb.cp/enum-class.exp
8207 * gdb.cp/exception.exp
8208 * gdb.cp/exceptprint.exp
8209 * gdb.cp/expand-psymtabs-cxx.exp
8210 * gdb.cp/expand-sals.exp
8211 * gdb.cp/extern-c.exp
8212 * gdb.cp/filename.exp
8213 * gdb.cp/formatted-ref.exp
8214 * gdb.cp/fpointer.exp
8215 * gdb.cp/gdb1355.exp
8216 * gdb.cp/gdb2495.exp
8217 * gdb.cp/hang.exp
8218 * gdb.cp/impl-this.exp
8219 * gdb.cp/infcall-dlopen.exp
8220 * gdb.cp/inherit.exp
8221 * gdb.cp/iostream.exp
8222 * gdb.cp/koenig.exp
8223 * gdb.cp/local.exp
8224 * gdb.cp/m-data.exp
8225 * gdb.cp/m-static.exp
8226 * gdb.cp/mb-ctor.exp
8227 * gdb.cp/mb-inline.exp
8228 * gdb.cp/mb-templates.exp
8229 * gdb.cp/member-name.exp
8230 * gdb.cp/member-ptr.exp
8231 * gdb.cp/meth-typedefs.exp
8232 * gdb.cp/method.exp
8233 * gdb.cp/method2.exp
8234 * gdb.cp/minsym-fallback.exp
8235 * gdb.cp/misc.exp
8236 * gdb.cp/namelessclass.exp
8237 * gdb.cp/namespace-enum.exp
8238 * gdb.cp/namespace-nested-import.exp
8239 * gdb.cp/namespace.exp
8240 * gdb.cp/nextoverthrow.exp
8241 * gdb.cp/no-dmgl-verbose.exp
8242 * gdb.cp/non-trivial-retval.exp
8243 * gdb.cp/noparam.exp
8244 * gdb.cp/nsdecl.exp
8245 * gdb.cp/nsimport.exp
8246 * gdb.cp/nsnested.exp
8247 * gdb.cp/nsnoimports.exp
8248 * gdb.cp/nsrecurs.exp
8249 * gdb.cp/nsstress.exp
8250 * gdb.cp/nsusing.exp
8251 * gdb.cp/operator.exp
8252 * gdb.cp/oranking.exp
8253 * gdb.cp/overload-const.exp
8254 * gdb.cp/overload.exp
8255 * gdb.cp/ovldbreak.exp
8256 * gdb.cp/ovsrch.exp
8257 * gdb.cp/paren-type.exp
8258 * gdb.cp/parse-lang.exp
8259 * gdb.cp/pass-by-ref.exp
8260 * gdb.cp/pr-1023.exp
8261 * gdb.cp/pr-1210.exp
8262 * gdb.cp/pr-574.exp
8263 * gdb.cp/pr10687.exp
8264 * gdb.cp/pr12028.exp
8265 * gdb.cp/pr17132.exp
8266 * gdb.cp/pr17494.exp
8267 * gdb.cp/pr9067.exp
8268 * gdb.cp/pr9167.exp
8269 * gdb.cp/pr9631.exp
8270 * gdb.cp/printmethod.exp
8271 * gdb.cp/psmang.exp
8272 * gdb.cp/psymtab-parameter.exp
8273 * gdb.cp/ptype-cv-cp.exp
8274 * gdb.cp/ptype-flags.exp
8275 * gdb.cp/re-set-overloaded.exp
8276 * gdb.cp/ref-types.exp
8277 * gdb.cp/rtti.exp
8278 * gdb.cp/scope-err.exp
8279 * gdb.cp/shadow.exp
8280 * gdb.cp/smartp.exp
8281 * gdb.cp/static-method.exp
8282 * gdb.cp/static-print-quit.exp
8283 * gdb.cp/temargs.exp
8284 * gdb.cp/templates.exp
8285 * gdb.cp/try_catch.exp
8286 * gdb.cp/typedef-operator.exp
8287 * gdb.cp/typeid.exp
8288 * gdb.cp/userdef.exp
8289 * gdb.cp/using-crash.exp
8290 * gdb.cp/var-tag.exp
8291 * gdb.cp/virtbase.exp
8292 * gdb.cp/virtfunc.exp
8293 * gdb.cp/virtfunc2.exp
8294 * gdb.cp/vla-cxx.exp
8295 * gdb.disasm/t01_mov.exp
8296 * gdb.disasm/t02_mova.exp
8297 * gdb.disasm/t03_add.exp
8298 * gdb.disasm/t04_sub.exp
8299 * gdb.disasm/t05_cmp.exp
8300 * gdb.disasm/t06_ari2.exp
8301 * gdb.disasm/t07_ari3.exp
8302 * gdb.disasm/t08_or.exp
8303 * gdb.disasm/t09_xor.exp
8304 * gdb.disasm/t10_and.exp
8305 * gdb.disasm/t11_logs.exp
8306 * gdb.disasm/t12_bit.exp
8307 * gdb.disasm/t13_otr.exp
8308 * gdb.dlang/circular.exp
8309 * gdb.dwarf2/arr-stride.exp
8310 * gdb.dwarf2/arr-subrange.exp
8311 * gdb.dwarf2/atomic-type.exp
8312 * gdb.dwarf2/bad-regnum.exp
8313 * gdb.dwarf2/bitfield-parent-optimized-out.exp
8314 * gdb.dwarf2/callframecfa.exp
8315 * gdb.dwarf2/clztest.exp
8316 * gdb.dwarf2/corrupt.exp
8317 * gdb.dwarf2/data-loc.exp
8318 * gdb.dwarf2/dup-psym.exp
8319 * gdb.dwarf2/dw2-anon-mptr.exp
8320 * gdb.dwarf2/dw2-anonymous-func.exp
8321 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
8322 * gdb.dwarf2/dw2-bad-unresolved.exp
8323 * gdb.dwarf2/dw2-basic.exp
8324 * gdb.dwarf2/dw2-canonicalize-type.exp
8325 * gdb.dwarf2/dw2-case-insensitive.exp
8326 * gdb.dwarf2/dw2-common-block.exp
8327 * gdb.dwarf2/dw2-compdir-oldgcc.exp
8328 * gdb.dwarf2/dw2-compressed.exp
8329 * gdb.dwarf2/dw2-const.exp
8330 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
8331 * gdb.dwarf2/dw2-cu-size.exp
8332 * gdb.dwarf2/dw2-dup-frame.exp
8333 * gdb.dwarf2/dw2-entry-value.exp
8334 * gdb.dwarf2/dw2-icycle.exp
8335 * gdb.dwarf2/dw2-ifort-parameter.exp
8336 * gdb.dwarf2/dw2-inline-break.exp
8337 * gdb.dwarf2/dw2-inline-param.exp
8338 * gdb.dwarf2/dw2-intercu.exp
8339 * gdb.dwarf2/dw2-intermix.exp
8340 * gdb.dwarf2/dw2-lexical-block-bare.exp
8341 * gdb.dwarf2/dw2-linkage-name-trust.exp
8342 * gdb.dwarf2/dw2-minsym-in-cu.exp
8343 * gdb.dwarf2/dw2-noloc.exp
8344 * gdb.dwarf2/dw2-op-call.exp
8345 * gdb.dwarf2/dw2-op-out-param.exp
8346 * gdb.dwarf2/dw2-opt-structptr.exp
8347 * gdb.dwarf2/dw2-param-error.exp
8348 * gdb.dwarf2/dw2-producer.exp
8349 * gdb.dwarf2/dw2-ranges-base.exp
8350 * gdb.dwarf2/dw2-ref-missing-frame.exp
8351 * gdb.dwarf2/dw2-reg-undefined.exp
8352 * gdb.dwarf2/dw2-regno-invalid.exp
8353 * gdb.dwarf2/dw2-restore.exp
8354 * gdb.dwarf2/dw2-restrict.exp
8355 * gdb.dwarf2/dw2-single-line-discriminators.exp
8356 * gdb.dwarf2/dw2-strp.exp
8357 * gdb.dwarf2/dw2-undefined-ret-addr.exp
8358 * gdb.dwarf2/dw2-unresolved.exp
8359 * gdb.dwarf2/dw2-var-zero-addr.exp
8360 * gdb.dwarf2/dw4-sig-types.exp
8361 * gdb.dwarf2/dwz.exp
8362 * gdb.dwarf2/dynarr-ptr.exp
8363 * gdb.dwarf2/enum-type.exp
8364 * gdb.dwarf2/gdb-index.exp
8365 * gdb.dwarf2/implptr-64bit.exp
8366 * gdb.dwarf2/implptr-optimized-out.exp
8367 * gdb.dwarf2/implptr.exp
8368 * gdb.dwarf2/implref-array.exp
8369 * gdb.dwarf2/implref-const.exp
8370 * gdb.dwarf2/implref-global.exp
8371 * gdb.dwarf2/implref-struct.exp
8372 * gdb.dwarf2/mac-fileno.exp
8373 * gdb.dwarf2/main-subprogram.exp
8374 * gdb.dwarf2/member-ptr-forwardref.exp
8375 * gdb.dwarf2/method-ptr.exp
8376 * gdb.dwarf2/missing-sig-type.exp
8377 * gdb.dwarf2/nonvar-access.exp
8378 * gdb.dwarf2/opaque-type-lookup.exp
8379 * gdb.dwarf2/pieces-optimized-out.exp
8380 * gdb.dwarf2/pieces.exp
8381 * gdb.dwarf2/pr10770.exp
8382 * gdb.dwarf2/pr13961.exp
8383 * gdb.dwarf2/staticvirtual.exp
8384 * gdb.dwarf2/subrange.exp
8385 * gdb.dwarf2/symtab-producer.exp
8386 * gdb.dwarf2/trace-crash.exp
8387 * gdb.dwarf2/typeddwarf.exp
8388 * gdb.dwarf2/valop.exp
8389 * gdb.dwarf2/watch-notconst.exp
8390 * gdb.fortran/array-element.exp
8391 * gdb.fortran/charset.exp
8392 * gdb.fortran/common-block.exp
8393 * gdb.fortran/complex.exp
8394 * gdb.fortran/derived-type-function.exp
8395 * gdb.fortran/derived-type.exp
8396 * gdb.fortran/logical.exp
8397 * gdb.fortran/module.exp
8398 * gdb.fortran/multi-dim.exp
8399 * gdb.fortran/nested-funcs.exp
8400 * gdb.fortran/print-formatted.exp
8401 * gdb.fortran/subarray.exp
8402 * gdb.fortran/vla-alloc-assoc.exp
8403 * gdb.fortran/vla-datatypes.exp
8404 * gdb.fortran/vla-history.exp
8405 * gdb.fortran/vla-ptr-info.exp
8406 * gdb.fortran/vla-ptype-sub.exp
8407 * gdb.fortran/vla-ptype.exp
8408 * gdb.fortran/vla-sizeof.exp
8409 * gdb.fortran/vla-type.exp
8410 * gdb.fortran/vla-value-sub-arbitrary.exp
8411 * gdb.fortran/vla-value-sub-finish.exp
8412 * gdb.fortran/vla-value-sub.exp
8413 * gdb.fortran/vla-value.exp
8414 * gdb.fortran/whatis_type.exp
8415 * gdb.go/chan.exp
8416 * gdb.go/handcall.exp
8417 * gdb.go/hello.exp
8418 * gdb.go/integers.exp
8419 * gdb.go/methods.exp
8420 * gdb.go/package.exp
8421 * gdb.go/strings.exp
8422 * gdb.go/types.exp
8423 * gdb.go/unsafe.exp
8424 * gdb.guile/scm-arch.exp
8425 * gdb.guile/scm-block.exp
8426 * gdb.guile/scm-breakpoint.exp
8427 * gdb.guile/scm-cmd.exp
8428 * gdb.guile/scm-disasm.exp
8429 * gdb.guile/scm-equal.exp
8430 * gdb.guile/scm-frame-args.exp
8431 * gdb.guile/scm-frame-inline.exp
8432 * gdb.guile/scm-frame.exp
8433 * gdb.guile/scm-iterator.exp
8434 * gdb.guile/scm-math.exp
8435 * gdb.guile/scm-objfile.exp
8436 * gdb.guile/scm-ports.exp
8437 * gdb.guile/scm-symbol.exp
8438 * gdb.guile/scm-symtab.exp
8439 * gdb.guile/scm-value-cc.exp
8440 * gdb.guile/types-module.exp
8441 * gdb.linespec/break-ask.exp
8442 * gdb.linespec/cpexplicit.exp
8443 * gdb.linespec/explicit.exp
8444 * gdb.linespec/keywords.exp
8445 * gdb.linespec/linespec.exp
8446 * gdb.linespec/ls-dollar.exp
8447 * gdb.linespec/ls-errs.exp
8448 * gdb.linespec/skip-two.exp
8449 * gdb.linespec/thread.exp
8450 * gdb.mi/mi-async.exp
8451 * gdb.mi/mi-basics.exp
8452 * gdb.mi/mi-break.exp
8453 * gdb.mi/mi-catch-load.exp
8454 * gdb.mi/mi-cli.exp
8455 * gdb.mi/mi-cmd-param-changed.exp
8456 * gdb.mi/mi-console.exp
8457 * gdb.mi/mi-detach.exp
8458 * gdb.mi/mi-disassemble.exp
8459 * gdb.mi/mi-eval.exp
8460 * gdb.mi/mi-file-transfer.exp
8461 * gdb.mi/mi-file.exp
8462 * gdb.mi/mi-fill-memory.exp
8463 * gdb.mi/mi-inheritance-syntax-error.exp
8464 * gdb.mi/mi-linespec-err-cp.exp
8465 * gdb.mi/mi-logging.exp
8466 * gdb.mi/mi-memory-changed.exp
8467 * gdb.mi/mi-read-memory.exp
8468 * gdb.mi/mi-record-changed.exp
8469 * gdb.mi/mi-reg-undefined.exp
8470 * gdb.mi/mi-regs.exp
8471 * gdb.mi/mi-return.exp
8472 * gdb.mi/mi-reverse.exp
8473 * gdb.mi/mi-simplerun.exp
8474 * gdb.mi/mi-solib.exp
8475 * gdb.mi/mi-stack.exp
8476 * gdb.mi/mi-stepi.exp
8477 * gdb.mi/mi-syn-frame.exp
8478 * gdb.mi/mi-until.exp
8479 * gdb.mi/mi-var-block.exp
8480 * gdb.mi/mi-var-child.exp
8481 * gdb.mi/mi-var-cmd.exp
8482 * gdb.mi/mi-var-cp.exp
8483 * gdb.mi/mi-var-display.exp
8484 * gdb.mi/mi-var-invalidate.exp
8485 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
8486 * gdb.mi/mi-vla-fortran.exp
8487 * gdb.mi/mi-watch.exp
8488 * gdb.mi/mi2-var-child.exp
8489 * gdb.mi/user-selected-context-sync.exp
8490 * gdb.modula2/unbounded-array.exp
8491 * gdb.multi/dummy-frame-restore.exp
8492 * gdb.multi/multi-arch-exec.exp
8493 * gdb.multi/multi-arch.exp
8494 * gdb.multi/tids.exp
8495 * gdb.multi/watchpoint-multi.exp
8496 * gdb.opencl/callfuncs.exp
8497 * gdb.opencl/convs_casts.exp
8498 * gdb.opencl/datatypes.exp
8499 * gdb.opencl/operators.exp
8500 * gdb.opencl/vec_comps.exp
8501 * gdb.opt/clobbered-registers-O2.exp
8502 * gdb.opt/inline-break.exp
8503 * gdb.opt/inline-bt.exp
8504 * gdb.opt/inline-cmds.exp
8505 * gdb.opt/inline-locals.exp
8506 * gdb.pascal/case-insensitive-symbols.exp
8507 * gdb.pascal/floats.exp
8508 * gdb.pascal/gdb11492.exp
8509 * gdb.python/lib-types.exp
8510 * gdb.python/py-arch.exp
8511 * gdb.python/py-as-string.exp
8512 * gdb.python/py-bad-printers.exp
8513 * gdb.python/py-block.exp
8514 * gdb.python/py-breakpoint-create-fail.exp
8515 * gdb.python/py-breakpoint.exp
8516 * gdb.python/py-caller-is.exp
8517 * gdb.python/py-cmd.exp
8518 * gdb.python/py-explore-cc.exp
8519 * gdb.python/py-explore.exp
8520 * gdb.python/py-finish-breakpoint.exp
8521 * gdb.python/py-finish-breakpoint2.exp
8522 * gdb.python/py-frame-args.exp
8523 * gdb.python/py-frame-inline.exp
8524 * gdb.python/py-frame.exp
8525 * gdb.python/py-framefilter-mi.exp
8526 * gdb.python/py-infthread.exp
8527 * gdb.python/py-lazy-string.exp
8528 * gdb.python/py-linetable.exp
8529 * gdb.python/py-mi-events.exp
8530 * gdb.python/py-mi-objfile.exp
8531 * gdb.python/py-mi.exp
8532 * gdb.python/py-objfile.exp
8533 * gdb.python/py-pp-integral.exp
8534 * gdb.python/py-pp-maint.exp
8535 * gdb.python/py-pp-re-notag.exp
8536 * gdb.python/py-pp-registration.exp
8537 * gdb.python/py-recurse-unwind.exp
8538 * gdb.python/py-strfns.exp
8539 * gdb.python/py-symbol.exp
8540 * gdb.python/py-symtab.exp
8541 * gdb.python/py-sync-interp.exp
8542 * gdb.python/py-typeprint.exp
8543 * gdb.python/py-unwind-maint.exp
8544 * gdb.python/py-unwind.exp
8545 * gdb.python/py-value-cc.exp
8546 * gdb.python/py-xmethods.exp
8547 * gdb.reverse/amd64-tailcall-reverse.exp
8548 * gdb.reverse/break-precsave.exp
8549 * gdb.reverse/break-reverse.exp
8550 * gdb.reverse/consecutive-precsave.exp
8551 * gdb.reverse/consecutive-reverse.exp
8552 * gdb.reverse/finish-precsave.exp
8553 * gdb.reverse/finish-reverse-bkpt.exp
8554 * gdb.reverse/finish-reverse.exp
8555 * gdb.reverse/fstatat-reverse.exp
8556 * gdb.reverse/getresuid-reverse.exp
8557 * gdb.reverse/i386-precsave.exp
8558 * gdb.reverse/i386-reverse.exp
8559 * gdb.reverse/i386-sse-reverse.exp
8560 * gdb.reverse/i387-env-reverse.exp
8561 * gdb.reverse/i387-stack-reverse.exp
8562 * gdb.reverse/insn-reverse.exp
8563 * gdb.reverse/machinestate-precsave.exp
8564 * gdb.reverse/machinestate.exp
8565 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8566 * gdb.reverse/pipe-reverse.exp
8567 * gdb.reverse/readv-reverse.exp
8568 * gdb.reverse/recvmsg-reverse.exp
8569 * gdb.reverse/rerun-prec.exp
8570 * gdb.reverse/s390-mvcle.exp
8571 * gdb.reverse/step-precsave.exp
8572 * gdb.reverse/step-reverse.exp
8573 * gdb.reverse/time-reverse.exp
8574 * gdb.reverse/until-precsave.exp
8575 * gdb.reverse/until-reverse.exp
8576 * gdb.reverse/waitpid-reverse.exp
8577 * gdb.reverse/watch-precsave.exp
8578 * gdb.reverse/watch-reverse.exp
8579 * gdb.rust/generics.exp
8580 * gdb.rust/methods.exp
8581 * gdb.rust/modules.exp
8582 * gdb.rust/simple.exp
8583 * gdb.server/connect-with-no-symbol-file.exp
8584 * gdb.server/ext-attach.exp
8585 * gdb.server/ext-restart.exp
8586 * gdb.server/ext-wrapper.exp
8587 * gdb.server/file-transfer.exp
8588 * gdb.server/server-exec-info.exp
8589 * gdb.server/server-kill.exp
8590 * gdb.server/server-mon.exp
8591 * gdb.server/wrapper.exp
8592 * gdb.stabs/exclfwd.exp
8593 * gdb.stabs/gdb11479.exp
8594 * gdb.threads/clone-new-thread-event.exp
8595 * gdb.threads/corethreads.exp
8596 * gdb.threads/current-lwp-dead.exp
8597 * gdb.threads/dlopen-libpthread.exp
8598 * gdb.threads/gcore-thread.exp
8599 * gdb.threads/sigstep-threads.exp
8600 * gdb.threads/watchpoint-fork.exp
8601 * gdb.trace/actions-changed.exp
8602 * gdb.trace/backtrace.exp
8603 * gdb.trace/change-loc.exp
8604 * gdb.trace/circ.exp
8605 * gdb.trace/collection.exp
8606 * gdb.trace/disconnected-tracing.exp
8607 * gdb.trace/ftrace.exp
8608 * gdb.trace/mi-trace-frame-collected.exp
8609 * gdb.trace/mi-trace-unavailable.exp
8610 * gdb.trace/mi-traceframe-changed.exp
8611 * gdb.trace/mi-tsv-changed.exp
8612 * gdb.trace/no-attach-trace.exp
8613 * gdb.trace/passc-dyn.exp
8614 * gdb.trace/qtro.exp
8615 * gdb.trace/range-stepping.exp
8616 * gdb.trace/read-memory.exp
8617 * gdb.trace/save-trace.exp
8618 * gdb.trace/signal.exp
8619 * gdb.trace/status-stop.exp
8620 * gdb.trace/tfile.exp
8621 * gdb.trace/trace-break.exp
8622 * gdb.trace/trace-buffer-size.exp
8623 * gdb.trace/trace-condition.exp
8624 * gdb.trace/tracefile-pseudo-reg.exp
8625 * gdb.trace/tstatus.exp
8626 * gdb.trace/unavailable.exp
8627 * gdb.trace/while-dyn.exp
8628 * gdb.trace/while-stepping.exp
8629
34c41c68
DE
86302016-12-22 Doug Evans <xdje42@gmail.com>
8631
8632 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
8633 and msymbols.
8634
16e69324
YQ
86352016-12-19 Yao Qi <yao.qi@linaro.org>
8636
8637 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
8638 (test_with_self): Don't call do_steps_and_nexts, and remove
8639 code about stepping into xmalloc.
8640
f94f411b
YQ
86412016-12-09 Yao Qi <yao.qi@linaro.org>
8642
8643 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
8644
86452016-12-09 Yao Qi <yao.qi@linaro.org>
8646
8647 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
8648
f1b5deee
PA
86492016-12-09 Pedro Alves <palves@redhat.com>
8650
8651 * gdb.base/all-architectures-0.exp: New file.
8652 * gdb.base/all-architectures-1.exp: New file.
8653 * gdb.base/all-architectures-2.exp: New file.
8654 * gdb.base/all-architectures-3.exp: New file.
8655 * gdb.base/all-architectures-4.exp: New file.
8656 * gdb.base/all-architectures-5.exp: New file.
8657 * gdb.base/all-architectures-6.exp: New file.
8658 * gdb.base/all-architectures-7.exp: New file.
8659 * gdb.base/all-architectures.exp.in: New file.
8660
364ca42e
YQ
86612016-12-09 Yao Qi <yao.qi@linaro.org>
8662
8663 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
8664
107c2d62
LM
86652016-12-02 Luis Machado <lgustavo@codesourcery.com>
8666
8667 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
8668 possible.
8669 Remove useless pattern-matching code.
8670
df3ee9ca
PA
86712016-12-02 Pedro Alves <palves@redhat.com>
8672
8673 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
8674 procedure.
8675 (top level): Call it.
8676
ec835369
PA
86772016-12-02 Pedro Alves <palves@redhat.com>
8678
8679 * gdb.base/commands.exp (user_defined_command_args_stack_test):
8680 New procedure.
8681 (top level): Call it.
8682
01770bbd
PA
86832016-12-02 Pedro Alves <palves@redhat.com>
8684
8685 PR cli/20559
8686 * gdb.base/commands.exp (user_defined_command_args_eval): New
8687 procedure.
8688 (top level): Call it.
8689
008459ea
LM
86902016-12-02 Luis Machado <lgustavo@codesourcery.com>
8691
8692 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
8693 timeout handling.
8694
0c1b455e
TT
86952016-12-02 Tom Tromey <tom@tromey.com>
8696
8697 * gdb.dwarf2/main-subprogram.c: New file.
8698 * gdb.dwarf2/main-subprogram.exp: New file.
8699
018572b8
LM
87002016-12-01 Luis Machado <lgustavo@codesourcery.com>
8701
8702 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
8703 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
8704 gdb_test_no_output for a couple of cases.
8705 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
8706
84c93cd5
LM
87072016-12-01 Luis Machado <lgustavo@codesourcery.com>
8708
8709 Fix test names and standardize compilation error messages throughout
8710 the following files:
8711
8712 * gdb.ada/start.exp
8713 * gdb.arch/alpha-step.exp
8714 * gdb.arch/e500-prologue.exp
8715 * gdb.arch/ftrace-insn-reloc.exp
8716 * gdb.arch/gdb1291.exp
8717 * gdb.arch/gdb1431.exp
8718 * gdb.arch/gdb1558.exp
8719 * gdb.arch/i386-dr3-watch.exp
8720 * gdb.arch/i386-sse-stack-align.exp
8721 * gdb.arch/ia64-breakpoint-shadow.exp
8722 * gdb.arch/pa-nullify.exp
8723 * gdb.arch/powerpc-aix-prologue.exp
8724 * gdb.arch/thumb-bx-pc.exp
8725 * gdb.base/annota1.exp
8726 * gdb.base/annota3.exp
8727 * gdb.base/arrayidx.exp
8728 * gdb.base/assign.exp
8729 * gdb.base/attach.exp
8730 * gdb.base/auxv.exp
8731 * gdb.base/bang.exp
8732 * gdb.base/bfp-test.exp
8733 * gdb.base/bigcore.exp
8734 * gdb.base/bitfields2.exp
8735 * gdb.base/break-fun-addr.exp
8736 * gdb.base/break-probes.exp
8737 * gdb.base/call-rt-st.exp
8738 * gdb.base/callexit.exp
8739 * gdb.base/catch-fork-kill.exp
8740 * gdb.base/charset.exp
8741 * gdb.base/checkpoint.exp
8742 * gdb.base/comprdebug.exp
8743 * gdb.base/constvars.exp
8744 * gdb.base/coredump-filter.exp
8745 * gdb.base/cursal.exp
8746 * gdb.base/cvexpr.exp
8747 * gdb.base/detach.exp
8748 * gdb.base/display.exp
8749 * gdb.base/dmsym.exp
8750 * gdb.base/dprintf-pending.exp
8751 * gdb.base/dso2dso.exp
8752 * gdb.base/dtrace-probe.exp
8753 * gdb.base/dump.exp
8754 * gdb.base/enum_cond.exp
8755 * gdb.base/exe-lock.exp
8756 * gdb.base/exec-invalid-sysroot.exp
8757 * gdb.base/execl-update-breakpoints.exp
8758 * gdb.base/exprs.exp
8759 * gdb.base/fileio.exp
8760 * gdb.base/find.exp
8761 * gdb.base/finish.exp
8762 * gdb.base/fixsection.exp
8763 * gdb.base/foll-vfork.exp
8764 * gdb.base/frame-args.exp
8765 * gdb.base/gcore.exp
8766 * gdb.base/gdb1250.exp
8767 * gdb.base/global-var-nested-by-dso.exp
8768 * gdb.base/gnu-ifunc.exp
8769 * gdb.base/hashline1.exp
8770 * gdb.base/hashline2.exp
8771 * gdb.base/hashline3.exp
8772 * gdb.base/hbreak-in-shr-unsupported.exp
8773 * gdb.base/huge.exp
8774 * gdb.base/infcall-input.exp
8775 * gdb.base/info-fun.exp
8776 * gdb.base/info-shared.exp
8777 * gdb.base/jit-simple.exp
8778 * gdb.base/jit-so.exp
8779 * gdb.base/jit.exp
8780 * gdb.base/jump.exp
8781 * gdb.base/label.exp
8782 * gdb.base/lineinc.exp
8783 * gdb.base/logical.exp
8784 * gdb.base/longjmp.exp
8785 * gdb.base/macscp.exp
8786 * gdb.base/miscexprs.exp
8787 * gdb.base/new-ui-echo.exp
8788 * gdb.base/new-ui-pending-input.exp
8789 * gdb.base/new-ui.exp
8790 * gdb.base/nodebug.exp
8791 * gdb.base/nofield.exp
8792 * gdb.base/offsets.exp
8793 * gdb.base/overlays.exp
8794 * gdb.base/pending.exp
8795 * gdb.base/pointers.exp
8796 * gdb.base/pr11022.exp
8797 * gdb.base/printcmds.exp
8798 * gdb.base/prologue.exp
8799 * gdb.base/ptr-typedef.exp
8800 * gdb.base/realname-expand.exp
8801 * gdb.base/relativedebug.exp
8802 * gdb.base/relocate.exp
8803 * gdb.base/remote.exp
8804 * gdb.base/reread.exp
8805 * gdb.base/return2.exp
8806 * gdb.base/savedregs.exp
8807 * gdb.base/sep.exp
8808 * gdb.base/sepdebug.exp
8809 * gdb.base/sepsymtab.exp
8810 * gdb.base/set-inferior-tty.exp
8811 * gdb.base/setshow.exp
8812 * gdb.base/shlib-call.exp
8813 * gdb.base/sigaltstack.exp
8814 * gdb.base/siginfo-addr.exp
8815 * gdb.base/signals.exp
8816 * gdb.base/signull.exp
8817 * gdb.base/sigrepeat.exp
8818 * gdb.base/so-impl-ld.exp
8819 * gdb.base/solib-display.exp
8820 * gdb.base/solib-overlap.exp
8821 * gdb.base/solib-search.exp
8822 * gdb.base/solib-symbol.exp
8823 * gdb.base/structs.exp
8824 * gdb.base/structs2.exp
8825 * gdb.base/symtab-search-order.exp
8826 * gdb.base/twice.exp
8827 * gdb.base/unload.exp
8828 * gdb.base/varargs.exp
8829 * gdb.base/watchpoint-solib.exp
8830 * gdb.base/watchpoint.exp
8831 * gdb.base/whatis.exp
8832 * gdb.base/wrong_frame_bt_full.exp
8833 * gdb.btrace/dlopen.exp
8834 * gdb.cell/ea-standalone.exp
8835 * gdb.cell/ea-test.exp
8836 * gdb.cp/dispcxx.exp
8837 * gdb.cp/gdb2384.exp
8838 * gdb.cp/method2.exp
8839 * gdb.cp/nextoverthrow.exp
8840 * gdb.cp/pr10728.exp
8841 * gdb.disasm/am33.exp
8842 * gdb.disasm/h8300s.exp
8843 * gdb.disasm/mn10300.exp
8844 * gdb.disasm/sh3.exp
8845 * gdb.dwarf2/dw2-dir-file-name.exp
8846 * gdb.fortran/complex.exp
8847 * gdb.fortran/library-module.exp
8848 * gdb.guile/scm-pretty-print.exp
8849 * gdb.guile/scm-symbol.exp
8850 * gdb.guile/scm-type.exp
8851 * gdb.guile/scm-value.exp
8852 * gdb.linespec/linespec.exp
8853 * gdb.mi/gdb701.exp
8854 * gdb.mi/gdb792.exp
8855 * gdb.mi/mi-breakpoint-changed.exp
8856 * gdb.mi/mi-dprintf-pending.exp
8857 * gdb.mi/mi-dprintf.exp
8858 * gdb.mi/mi-exit-code.exp
8859 * gdb.mi/mi-pending.exp
8860 * gdb.mi/mi-solib.exp
8861 * gdb.mi/new-ui-mi-sync.exp
8862 * gdb.mi/pr11022.exp
8863 * gdb.mi/user-selected-context-sync.exp
8864 * gdb.opt/solib-intra-step.exp
8865 * gdb.python/py-events.exp
8866 * gdb.python/py-finish-breakpoint.exp
8867 * gdb.python/py-mi.exp
8868 * gdb.python/py-prettyprint.exp
8869 * gdb.python/py-shared.exp
8870 * gdb.python/py-symbol.exp
8871 * gdb.python/py-template.exp
8872 * gdb.python/py-type.exp
8873 * gdb.python/py-value.exp
8874 * gdb.reverse/solib-precsave.exp
8875 * gdb.reverse/solib-reverse.exp
8876 * gdb.server/solib-list.exp
8877 * gdb.stabs/weird.exp
8878 * gdb.threads/reconnect-signal.exp
8879 * gdb.threads/stepi-random-signal.exp
8880 * gdb.trace/actions.exp
8881 * gdb.trace/ax.exp
8882 * gdb.trace/backtrace.exp
8883 * gdb.trace/change-loc.exp
8884 * gdb.trace/deltrace.exp
8885 * gdb.trace/ftrace-lock.exp
8886 * gdb.trace/ftrace.exp
8887 * gdb.trace/infotrace.exp
8888 * gdb.trace/mi-tracepoint-changed.exp
8889 * gdb.trace/packetlen.exp
8890 * gdb.trace/passcount.exp
8891 * gdb.trace/pending.exp
8892 * gdb.trace/range-stepping.exp
8893 * gdb.trace/report.exp
8894 * gdb.trace/stap-trace.exp
8895 * gdb.trace/tfind.exp
8896 * gdb.trace/trace-break.exp
8897 * gdb.trace/trace-condition.exp
8898 * gdb.trace/trace-enable-disable.exp
8899 * gdb.trace/trace-mt.exp
8900 * gdb.trace/tracecmd.exp
8901 * gdb.trace/tspeed.exp
8902 * gdb.trace/tsv.exp
8903 * lib/perftest.exp
8904
fb9feb35
LM
89052016-12-01 Luis Machado <lgustavo@codesourcery.com>
8906
8907 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
8908 with gdb_test_no_output.
8909 Use command as test name.
8910
cd2ddb6c
LM
89112016-12-01 Luis Machado <lgustavo@codesourcery.com>
8912
8913 Fix test names starting with uppercase throughout the files.
8914
8915 * gdb.ada/assign_1.exp
8916 * gdb.ada/boolean_expr.exp
8917 * gdb.base/arrayidx.exp
8918 * gdb.base/del.exp
8919 * gdb.base/gcore-buffer-overflow.exp
8920 * gdb.base/testenv.exp
8921 * gdb.compile/compile.exp
8922 * gdb.python/py-framefilter-invalidarg.exp
8923 * gdb.python/py-framefilter.exp
8924
bb95117e
LM
89252016-12-01 Luis Machado <lgustavo@codesourcery.com>
8926
8927 Fix test names starting with uppercase throughout the files.
8928
8929 * gdb.ada/array_return.exp
8930 * gdb.ada/expr_delims.exp
8931 * gdb.ada/mi_dyn_arr.exp
8932 * gdb.ada/mi_interface.exp
8933 * gdb.ada/mi_var_array.exp
8934 * gdb.ada/watch_arg.exp
8935 * gdb.arch/alpha-step.exp
8936 * gdb.arch/altivec-regs.exp
8937 * gdb.arch/e500-regs.exp
8938 * gdb.arch/powerpc-d128-regs.exp
8939 * gdb.base/arrayidx.exp
8940 * gdb.base/break.exp
8941 * gdb.base/checkpoint.exp
8942 * gdb.base/debug-expr.exp
8943 * gdb.base/dmsym.exp
8944 * gdb.base/radix.exp
8945 * gdb.base/sepdebug.exp
8946 * gdb.base/testenv.exp
8947 * gdb.base/watch_thread_num.exp
8948 * gdb.base/watchpoint-cond-gone.exp
8949 * gdb.cell/break.exp
8950 * gdb.cell/ea-cache.exp
8951 * gdb.compile/compile.exp
8952 * gdb.cp/gdb2495.exp
8953 * gdb.gdb/selftest.exp
8954 * gdb.gdb/xfullpath.exp
8955 * gdb.go/hello.exp
8956 * gdb.go/integers.exp
8957 * gdb.objc/basicclass.exp
8958 * gdb.pascal/hello.exp
8959 * gdb.pascal/integers.exp
8960 * gdb.python/py-breakpoint.exp
8961 * gdb.python/py-cmd.exp
8962 * gdb.python/py-linetable.exp
8963 * gdb.python/py-xmethods.exp
8964 * gdb.python/python.exp
8965 * gdb.reverse/consecutive-precsave.exp
8966 * gdb.reverse/finish-precsave.exp
8967 * gdb.reverse/i386-precsave.exp
8968 * gdb.reverse/machinestate-precsave.exp
8969 * gdb.reverse/sigall-precsave.exp
8970 * gdb.reverse/solib-precsave.exp
8971 * gdb.reverse/step-precsave.exp
8972 * gdb.reverse/until-precsave.exp
8973 * gdb.reverse/watch-precsave.exp
8974 * gdb.threads/leader-exit.exp
8975 * gdb.threads/pthreads.exp
8976 * gdb.threads/wp-replication.exp
8977 * gdb.trace/actions.exp
8978 * gdb.trace/mi-tsv-changed.exp
8979 * gdb.trace/tsv.exp
8980
de97fdd4
LM
89812016-12-01 Luis Machado <lgustavo@codesourcery.com>
8982
8983 Fix test names starting with uppercase throughout the files.
8984
8985 * gdb.arch/i386-bp_permanent.exp
8986 * gdb.arch/i386-gnu-cfi.exp
8987 * gdb.base/disasm-end-cu.exp
8988 * gdb.base/macscp.exp
8989 * gdb.base/pending.exp
8990 * gdb.base/watch_thread_num.exp
8991 * gdb.cp/exception.exp
8992 * gdb.cp/gdb2495.exp
8993 * gdb.cp/local.exp
8994 * gdb.python/py-evsignal.exp
8995 * gdb.python/python.exp
8996 * gdb.trace/tracecmd.exp
8997
9f058c10
LM
89982016-12-01 Luis Machado <lgustavo@codesourcery.com>
8999
9000 Fix test names starting with uppercase throughout the files.
9001
9002 * gdb.base/charset.exp
9003 * gdb.base/eval.exp
9004 * gdb.base/multi-forks.exp
9005 * gdb.guile/scm-progspace.exp
9006 * gdb.opencl/datatypes.exp
9007 * gdb.python/py-block.exp
9008 * gdb.python/py-function.exp
9009 * gdb.python/py-symbol.exp
9010 * gdb.python/py-symtab.exp
9011 * gdb.python/py-xmethods.exp
9012 * gdb.reverse/break-precsave.exp
9013 * gdb.reverse/break-reverse.exp
9014 * gdb.reverse/consecutive-precsave.exp
9015 * gdb.reverse/consecutive-reverse.exp
9016 * gdb.reverse/finish-precsave.exp
9017 * gdb.reverse/finish-reverse-bkpt.exp
9018 * gdb.reverse/finish-reverse.exp
9019 * gdb.reverse/fstatat-reverse.exp
9020 * gdb.reverse/getresuid-reverse.exp
9021 * gdb.reverse/i386-precsave.exp
9022 * gdb.reverse/i386-reverse.exp
9023 * gdb.reverse/i386-sse-reverse.exp
9024 * gdb.reverse/i387-stack-reverse.exp
9025 * gdb.reverse/insn-reverse.exp
9026 * gdb.reverse/machinestate-precsave.exp
9027 * gdb.reverse/machinestate.exp
9028 * gdb.reverse/next-reverse-bkpt-over-sr.exp
9029 * gdb.reverse/pipe-reverse.exp
9030 * gdb.reverse/readv-reverse.exp
9031 * gdb.reverse/recvmsg-reverse.exp
9032 * gdb.reverse/rerun-prec.exp
9033 * gdb.reverse/s390-mvcle.exp
9034 * gdb.reverse/sigall-precsave.exp
9035 * gdb.reverse/sigall-reverse.exp
9036 * gdb.reverse/solib-precsave.exp
9037 * gdb.reverse/solib-reverse.exp
9038 * gdb.reverse/step-precsave.exp
9039 * gdb.reverse/step-reverse.exp
9040 * gdb.reverse/time-reverse.exp
9041 * gdb.reverse/until-precsave.exp
9042 * gdb.reverse/until-reverse.exp
9043 * gdb.reverse/waitpid-reverse.exp
9044 * gdb.reverse/watch-precsave.exp
9045 * gdb.reverse/watch-reverse.exp
9046
cdc7edd7
LM
90472016-12-01 Luis Machado <lgustavo@codesourcery.com>
9048
9049 Fix test names starting with uppercase throughout the files.
9050
9051 * gdb.arch/i386-mpx-simple_segv.exp
9052 * gdb.arch/i386-mpx.exp
9053 * gdb.arch/i386-permbkpt.exp
9054 * gdb.arch/pa-nullify.exp
9055 * gdb.arch/powerpc-d128-regs.exp
9056 * gdb.arch/vsx-regs.exp
9057 * gdb.base/bfp-test.exp
9058 * gdb.base/break.exp
9059 * gdb.base/breakpoint-shadow.exp
9060 * gdb.base/callfuncs.exp
9061 * gdb.base/charset.exp
9062 * gdb.base/commands.exp
9063 * gdb.base/completion.exp
9064 * gdb.base/dfp-test.exp
9065 * gdb.base/echo.exp
9066 * gdb.base/ending-run.exp
9067 * gdb.base/eval.exp
9068 * gdb.base/expand-psymtabs.exp
9069 * gdb.base/float128.exp
9070 * gdb.base/floatn.exp
9071 * gdb.base/foll-exec-mode.exp
9072 * gdb.base/gdb1056.exp
9073 * gdb.base/gdb11531.exp
9074 * gdb.base/kill-after-signal.exp
9075 * gdb.base/multi-forks.exp
9076 * gdb.base/overlays.exp
9077 * gdb.base/pending.exp
9078 * gdb.base/sepdebug.exp
9079 * gdb.base/testenv.exp
9080 * gdb.base/valgrind-db-attach.exp
9081 * gdb.base/watch_thread_num.exp
9082 * gdb.base/watchpoint-cond-gone.exp
9083 * gdb.base/watchpoint.exp
9084 * gdb.base/watchpoints.exp
9085 * gdb.cp/arg-reference.exp
9086 * gdb.cp/baseenum.exp
9087 * gdb.cp/operator.exp
9088 * gdb.cp/shadow.exp
9089 * gdb.dwarf2/dw2-op-out-param.exp
9090 * gdb.dwarf2/dw2-reg-undefined.exp
9091 * gdb.go/chan.exp
9092 * gdb.go/hello.exp
9093 * gdb.go/integers.exp
9094 * gdb.go/methods.exp
9095 * gdb.go/package.exp
9096 * gdb.guile/scm-parameter.exp
9097 * gdb.guile/scm-progspace.exp
9098 * gdb.guile/scm-value.exp
9099 * gdb.mi/mi-pending.exp
9100 * gdb.mi/user-selected-context-sync.exp
9101 * gdb.multi/multi-attach.exp
9102 * gdb.multi/tids.exp
9103 * gdb.opt/clobbered-registers-O2.exp
9104 * gdb.pascal/floats.exp
9105 * gdb.pascal/integers.exp
9106 * gdb.python/py-block.exp
9107 * gdb.python/py-events.exp
9108 * gdb.python/py-parameter.exp
9109 * gdb.python/py-symbol.exp
9110 * gdb.python/py-symtab.exp
9111 * gdb.python/py-type.exp
9112 * gdb.python/py-value.exp
9113 * gdb.python/py-xmethods.exp
9114 * gdb.python/python.exp
9115 * gdb.reverse/break-precsave.exp
9116 * gdb.reverse/consecutive-precsave.exp
9117 * gdb.reverse/finish-precsave.exp
9118 * gdb.reverse/i386-precsave.exp
9119 * gdb.reverse/machinestate-precsave.exp
9120 * gdb.reverse/sigall-precsave.exp
9121 * gdb.reverse/solib-precsave.exp
9122 * gdb.reverse/step-precsave.exp
9123 * gdb.reverse/until-precsave.exp
9124 * gdb.reverse/watch-precsave.exp
9125 * gdb.server/ext-attach.exp
9126 * gdb.server/ext-restart.exp
9127 * gdb.server/ext-run.exp
9128 * gdb.server/ext-wrapper.exp
9129 * gdb.stabs/gdb11479.exp
9130 * gdb.stabs/weird.exp
9131 * gdb.threads/attach-many-short-lived-threads.exp
9132 * gdb.threads/kill.exp
9133 * gdb.threads/watchpoint-fork.exp
9134
bc6c7af4
LM
91352016-12-01 Luis Machado <lgustavo@codesourcery.com>
9136
9137 Fix test names starting with uppercase throughout all the files below.
9138
9139 * gdb.ada/array_return.exp
9140 * gdb.ada/catch_ex.exp
9141 * gdb.ada/info_exc.exp
9142 * gdb.ada/mi_catch_ex.exp
9143 * gdb.ada/mi_dyn_arr.exp
9144 * gdb.ada/mi_ex_cond.exp
9145 * gdb.ada/mi_exc_info.exp
9146 * gdb.ada/mi_interface.exp
9147 * gdb.ada/mi_task_arg.exp
9148 * gdb.ada/mi_task_info.exp
9149 * gdb.ada/mi_var_array.exp
9150 * gdb.arch/alpha-step.exp
9151 * gdb.arch/amd64-disp-step.exp
9152 * gdb.arch/arm-disp-step.exp
9153 * gdb.arch/disp-step-insn-reloc.exp
9154 * gdb.arch/e500-prologue.exp
9155 * gdb.arch/ftrace-insn-reloc.exp
9156 * gdb.arch/gdb1558.exp
9157 * gdb.arch/i386-bp_permanent.exp
9158 * gdb.arch/i386-disp-step.exp
9159 * gdb.arch/i386-float.exp
9160 * gdb.arch/i386-gnu-cfi.exp
9161 * gdb.arch/ia64-breakpoint-shadow.exp
9162 * gdb.arch/mips16-thunks.exp
9163 * gdb.arch/pa-nullify.exp
9164 * gdb.arch/powerpc-aix-prologue.exp
9165 * gdb.arch/powerpc-power.exp
9166 * gdb.arch/ppc-dfp.exp
9167 * gdb.arch/s390-tdbregs.exp
9168 * gdb.arch/spu-info.exp
9169 * gdb.arch/spu-ls.exp
9170 * gdb.arch/thumb-bx-pc.exp
9171 * gdb.base/advance.exp
9172 * gdb.base/annota-input-while-running.exp
9173 * gdb.base/arrayidx.exp
9174 * gdb.base/asmlabel.exp
9175 * gdb.base/async.exp
9176 * gdb.base/attach-wait-input.exp
9177 * gdb.base/auto-connect-native-target.exp
9178 * gdb.base/batch-preserve-term-settings.exp
9179 * gdb.base/bfp-test.exp
9180 * gdb.base/bigcore.exp
9181 * gdb.base/bp-permanent.exp
9182 * gdb.base/break-always.exp
9183 * gdb.base/break-fun-addr.exp
9184 * gdb.base/break-idempotent.exp
9185 * gdb.base/break-main-file-remove-fail.exp
9186 * gdb.base/break-probes.exp
9187 * gdb.base/break-unload-file.exp
9188 * gdb.base/break.exp
9189 * gdb.base/call-ar-st.exp
9190 * gdb.base/call-rt-st.exp
9191 * gdb.base/call-sc.exp
9192 * gdb.base/call-signal-resume.exp
9193 * gdb.base/call-strs.exp
9194 * gdb.base/callexit.exp
9195 * gdb.base/callfuncs.exp
9196 * gdb.base/catch-gdb-caused-signals.exp
9197 * gdb.base/catch-signal-siginfo-cond.exp
9198 * gdb.base/catch-syscall.exp
9199 * gdb.base/compare-sections.exp
9200 * gdb.base/cond-eval-mode.exp
9201 * gdb.base/condbreak-call-false.exp
9202 * gdb.base/consecutive-step-over.exp
9203 * gdb.base/cursal.exp
9204 * gdb.base/disabled-location.exp
9205 * gdb.base/disasm-end-cu.exp
9206 * gdb.base/display.exp
9207 * gdb.base/double-prompt-target-event-error.exp
9208 * gdb.base/dprintf-bp-same-addr.exp
9209 * gdb.base/dprintf-detach.exp
9210 * gdb.base/dprintf-next.exp
9211 * gdb.base/dprintf-non-stop.exp
9212 * gdb.base/dprintf-pending.exp
9213 * gdb.base/dso2dso.exp
9214 * gdb.base/ending-run.exp
9215 * gdb.base/enum_cond.exp
9216 * gdb.base/examine-backward.exp
9217 * gdb.base/exe-lock.exp
9218 * gdb.base/exec-invalid-sysroot.exp
9219 * gdb.base/execl-update-breakpoints.exp
9220 * gdb.base/execution-termios.exp
9221 * gdb.base/fileio.exp
9222 * gdb.base/fixsection.exp
9223 * gdb.base/foll-exec-mode.exp
9224 * gdb.base/foll-exec.exp
9225 * gdb.base/fork-running-state.exp
9226 * gdb.base/frame-args.exp
9227 * gdb.base/fullpath-expand.exp
9228 * gdb.base/func-ptr.exp
9229 * gdb.base/gcore-relro-pie.exp
9230 * gdb.base/gdb1090.exp
9231 * gdb.base/gdb1555.exp
9232 * gdb.base/global-var-nested-by-dso.exp
9233 * gdb.base/gnu-ifunc.exp
9234 * gdb.base/hbreak-in-shr-unsupported.exp
9235 * gdb.base/hbreak-unmapped.exp
9236 * gdb.base/hook-stop.exp
9237 * gdb.base/infcall-input.exp
9238 * gdb.base/info-fun.exp
9239 * gdb.base/info-shared.exp
9240 * gdb.base/interrupt-noterm.exp
9241 * gdb.base/jit-so.exp
9242 * gdb.base/jit.exp
9243 * gdb.base/line-symtabs.exp
9244 * gdb.base/list.exp
9245 * gdb.base/longjmp.exp
9246 * gdb.base/macscp.exp
9247 * gdb.base/max-value-size.exp
9248 * gdb.base/nodebug.exp
9249 * gdb.base/nofield.exp
9250 * gdb.base/overlays.exp
9251 * gdb.base/paginate-after-ctrl-c-running.exp
9252 * gdb.base/paginate-bg-execution.exp
9253 * gdb.base/paginate-inferior-exit.exp
9254 * gdb.base/pending.exp
9255 * gdb.base/pr11022.exp
9256 * gdb.base/printcmds.exp
9257 * gdb.base/ptr-typedef.exp
9258 * gdb.base/ptype.exp
9259 * gdb.base/randomize.exp
9260 * gdb.base/range-stepping.exp
9261 * gdb.base/realname-expand.exp
9262 * gdb.base/relativedebug.exp
9263 * gdb.base/remote.exp
9264 * gdb.base/savedregs.exp
9265 * gdb.base/sepdebug.exp
9266 * gdb.base/set-noassign.exp
9267 * gdb.base/shlib-call.exp
9268 * gdb.base/shreloc.exp
9269 * gdb.base/sigaltstack.exp
9270 * gdb.base/sigbpt.exp
9271 * gdb.base/siginfo-addr.exp
9272 * gdb.base/siginfo-obj.exp
9273 * gdb.base/siginfo-thread.exp
9274 * gdb.base/signest.exp
9275 * gdb.base/signull.exp
9276 * gdb.base/sigrepeat.exp
9277 * gdb.base/skip.exp
9278 * gdb.base/so-impl-ld.exp
9279 * gdb.base/solib-corrupted.exp
9280 * gdb.base/solib-disc.exp
9281 * gdb.base/solib-display.exp
9282 * gdb.base/solib-overlap.exp
9283 * gdb.base/solib-search.exp
9284 * gdb.base/solib-symbol.exp
9285 * gdb.base/source-execution.exp
9286 * gdb.base/sss-bp-on-user-bp-2.exp
9287 * gdb.base/sss-bp-on-user-bp.exp
9288 * gdb.base/stack-checking.exp
9289 * gdb.base/stale-infcall.exp
9290 * gdb.base/step-break.exp
9291 * gdb.base/step-line.exp
9292 * gdb.base/step-over-exit.exp
9293 * gdb.base/step-test.exp
9294 * gdb.base/structs.exp
9295 * gdb.base/sym-file.exp
9296 * gdb.base/symtab-search-order.exp
9297 * gdb.base/term.exp
9298 * gdb.base/type-opaque.exp
9299 * gdb.base/unload.exp
9300 * gdb.base/until-nodebug.exp
9301 * gdb.base/until.exp
9302 * gdb.base/unwindonsignal.exp
9303 * gdb.base/watch-cond.exp
9304 * gdb.base/watch-non-mem.exp
9305 * gdb.base/watch_thread_num.exp
9306 * gdb.base/watchpoint-reuse-slot.exp
9307 * gdb.base/watchpoint-solib.exp
9308 * gdb.base/watchpoint.exp
9309 * gdb.btrace/dlopen.exp
9310 * gdb.cell/arch.exp
9311 * gdb.cell/break.exp
9312 * gdb.cell/bt.exp
9313 * gdb.cell/core.exp
9314 * gdb.cell/data.exp
9315 * gdb.cell/dwarfaddr.exp
9316 * gdb.cell/ea-cache.exp
9317 * gdb.cell/ea-standalone.exp
9318 * gdb.cell/ea-test.exp
9319 * gdb.cell/f-regs.exp
9320 * gdb.cell/fork.exp
9321 * gdb.cell/gcore.exp
9322 * gdb.cell/mem-access.exp
9323 * gdb.cell/ptype.exp
9324 * gdb.cell/registers.exp
9325 * gdb.cell/sizeof.exp
9326 * gdb.cell/solib-symbol.exp
9327 * gdb.cell/solib.exp
9328 * gdb.compile/compile-tls.exp
9329 * gdb.cp/exception.exp
9330 * gdb.cp/gdb2495.exp
9331 * gdb.cp/local.exp
9332 * gdb.cp/mb-inline.exp
9333 * gdb.cp/mb-templates.exp
9334 * gdb.cp/pr10687.exp
9335 * gdb.cp/pr9167.exp
9336 * gdb.cp/scope-err.exp
9337 * gdb.cp/templates.exp
9338 * gdb.cp/virtfunc.exp
9339 * gdb.dwarf2/dw2-dir-file-name.exp
9340 * gdb.dwarf2/dw2-single-line-discriminators.exp
9341 * gdb.fortran/complex.exp
9342 * gdb.fortran/library-module.exp
9343 * gdb.guile/guile.exp
9344 * gdb.guile/scm-cmd.exp
9345 * gdb.guile/scm-frame-inline.exp
9346 * gdb.guile/scm-objfile.exp
9347 * gdb.guile/scm-pretty-print.exp
9348 * gdb.guile/scm-symbol.exp
9349 * gdb.guile/scm-type.exp
9350 * gdb.guile/scm-value.exp
9351 * gdb.linespec/keywords.exp
9352 * gdb.linespec/ls-errs.exp
9353 * gdb.linespec/macro-relative.exp
9354 * gdb.linespec/thread.exp
9355 * gdb.mi/mi-breakpoint-changed.exp
9356 * gdb.mi/mi-dprintf-pending.exp
9357 * gdb.mi/mi-fullname-deleted.exp
9358 * gdb.mi/mi-logging.exp
9359 * gdb.mi/mi-pending.exp
9360 * gdb.mi/mi-solib.exp
9361 * gdb.mi/new-ui-mi-sync.exp
9362 * gdb.mi/user-selected-context-sync.exp
9363 * gdb.multi/dummy-frame-restore.exp
9364 * gdb.multi/multi-arch-exec.exp
9365 * gdb.multi/remove-inferiors.exp
9366 * gdb.multi/watchpoint-multi-exit.exp
9367 * gdb.opt/solib-intra-step.exp
9368 * gdb.perf/backtrace.exp
9369 * gdb.perf/single-step.exp
9370 * gdb.perf/skip-command.exp
9371 * gdb.perf/skip-prologue.exp
9372 * gdb.perf/solib.exp
9373 * gdb.python/lib-types.exp
9374 * gdb.python/py-as-string.exp
9375 * gdb.python/py-bad-printers.exp
9376 * gdb.python/py-block.exp
9377 * gdb.python/py-breakpoint.exp
9378 * gdb.python/py-cmd.exp
9379 * gdb.python/py-events.exp
9380 * gdb.python/py-evthreads.exp
9381 * gdb.python/py-finish-breakpoint.exp
9382 * gdb.python/py-finish-breakpoint2.exp
9383 * gdb.python/py-frame-inline.exp
9384 * gdb.python/py-frame.exp
9385 * gdb.python/py-inferior.exp
9386 * gdb.python/py-infthread.exp
9387 * gdb.python/py-mi.exp
9388 * gdb.python/py-objfile.exp
9389 * gdb.python/py-pp-maint.exp
9390 * gdb.python/py-pp-registration.exp
9391 * gdb.python/py-prettyprint.exp
9392 * gdb.python/py-recurse-unwind.exp
9393 * gdb.python/py-shared.exp
9394 * gdb.python/py-symbol.exp
9395 * gdb.python/py-symtab.exp
9396 * gdb.python/py-template.exp
9397 * gdb.python/py-type.exp
9398 * gdb.python/py-unwind-maint.exp
9399 * gdb.python/py-unwind.exp
9400 * gdb.python/py-value.exp
9401 * gdb.python/python.exp
9402 * gdb.reverse/finish-reverse-bkpt.exp
9403 * gdb.reverse/insn-reverse.exp
9404 * gdb.reverse/next-reverse-bkpt-over-sr.exp
9405 * gdb.reverse/solib-precsave.exp
9406 * gdb.reverse/solib-reverse.exp
9407 * gdb.stabs/gdb11479.exp
9408 * gdb.stabs/weird.exp
9409 * gdb.threads/fork-child-threads.exp
9410 * gdb.threads/fork-plus-threads.exp
9411 * gdb.threads/fork-thread-pending.exp
9412 * gdb.threads/forking-threads-plus-breakpoint.exp
9413 * gdb.threads/hand-call-in-threads.exp
9414 * gdb.threads/interrupted-hand-call.exp
9415 * gdb.threads/linux-dp.exp
9416 * gdb.threads/local-watch-wrong-thread.exp
9417 * gdb.threads/next-while-other-thread-longjmps.exp
9418 * gdb.threads/non-ldr-exit.exp
9419 * gdb.threads/pending-step.exp
9420 * gdb.threads/print-threads.exp
9421 * gdb.threads/process-dies-while-detaching.exp
9422 * gdb.threads/process-dies-while-handling-bp.exp
9423 * gdb.threads/pthreads.exp
9424 * gdb.threads/queue-signal.exp
9425 * gdb.threads/reconnect-signal.exp
9426 * gdb.threads/signal-command-handle-nopass.exp
9427 * gdb.threads/signal-command-multiple-signals-pending.exp
9428 * gdb.threads/signal-delivered-right-thread.exp
9429 * gdb.threads/signal-sigtrap.exp
9430 * gdb.threads/sigthread.exp
9431 * gdb.threads/staticthreads.exp
9432 * gdb.threads/stepi-random-signal.exp
9433 * gdb.threads/thread-unwindonsignal.exp
9434 * gdb.threads/thread_check.exp
9435 * gdb.threads/thread_events.exp
9436 * gdb.threads/tid-reuse.exp
9437 * gdb.threads/tls-nodebug.exp
9438 * gdb.threads/tls-shared.exp
9439 * gdb.threads/tls-so_extern.exp
9440 * gdb.threads/tls.exp
9441 * gdb.threads/wp-replication.exp
9442 * gdb.trace/actions-changed.exp
9443 * gdb.trace/actions.exp
9444 * gdb.trace/backtrace.exp
9445 * gdb.trace/change-loc.exp
9446 * gdb.trace/collection.exp
9447 * gdb.trace/deltrace.exp
9448 * gdb.trace/disconnected-tracing.exp
9449 * gdb.trace/entry-values.exp
9450 * gdb.trace/ftrace-lock.exp
9451 * gdb.trace/ftrace.exp
9452 * gdb.trace/infotrace.exp
9453 * gdb.trace/mi-trace-frame-collected.exp
9454 * gdb.trace/mi-trace-unavailable.exp
9455 * gdb.trace/mi-traceframe-changed.exp
9456 * gdb.trace/mi-tracepoint-changed.exp
9457 * gdb.trace/mi-tsv-changed.exp
9458 * gdb.trace/no-attach-trace.exp
9459 * gdb.trace/packetlen.exp
9460 * gdb.trace/passc-dyn.exp
9461 * gdb.trace/passcount.exp
9462 * gdb.trace/pending.exp
9463 * gdb.trace/pr16508.exp
9464 * gdb.trace/qtro.exp
9465 * gdb.trace/range-stepping.exp
9466 * gdb.trace/read-memory.exp
9467 * gdb.trace/report.exp
9468 * gdb.trace/save-trace.exp
9469 * gdb.trace/signal.exp
9470 * gdb.trace/stap-trace.exp
9471 * gdb.trace/status-stop.exp
9472 * gdb.trace/strace.exp
9473 * gdb.trace/tfile.exp
9474 * gdb.trace/tfind.exp
9475 * gdb.trace/trace-break.exp
9476 * gdb.trace/trace-condition.exp
9477 * gdb.trace/trace-enable-disable.exp
9478 * gdb.trace/trace-mt.exp
9479 * gdb.trace/tracecmd.exp
9480 * gdb.trace/tracefile-pseudo-reg.exp
9481 * gdb.trace/tspeed.exp
9482 * gdb.trace/tstatus.exp
9483 * gdb.trace/tsv.exp
9484 * gdb.trace/unavailable.exp
9485 * gdb.trace/while-dyn.exp
9486 * gdb.trace/while-stepping.exp
9487 * lib/gdb-guile.exp
9488 * lib/gdb.exp
9489 * lib/mi-support.exp
9490 * lib/pascal.exp
9491 * lib/perftest.exp
9492 * lib/prelink-support.exp
9493 * lib/selftest-support.exp
9494
ad02e4fe
SM
94952016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
9496
9497 * Makefile.in: Include disable-implicit-rules.mk.
9498
22347e55
AA
94992016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9500
9501 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
9502 non-byte-aligned bit fields.
9503
da5b30da
AA
95042016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9505
9506 PR gdb/12616
9507 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
9508 respects the DW_AT_data_bit_offset attribute.
9509
b593ecca
SM
95102016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
9511
9512 * gdb.base/default.exp: Fix output of "set language".
9513
3b165252
SM
95142016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
9515
9516 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
9517 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
9518 make.
9519 * configure.ac: Remove checks for the make program.
9520 * configure: Re-generate.
9521
1a2f3d7f
KB
95222016-11-16 Kevin Buettner <kevinb@redhat.com>
9523
9524 * gdb.python/py-recurse-unwind.c (main): Add loop.
9525 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
9526 to read_register() and gdb.parse_and_eval(). Make each code
9527 call a separate case that can be individually tested.
9528 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
9529 proc. Call cont_and_backtrace for each of the code paths that
9530 we want to test in the unwinder.
9531
b7f38fda
AA
95322016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
9533
9534 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
9535 the definition of struct S.
9536
1f8db343
CM
95372016-11-11 Catherine Moore <clm@codesourcery.com>
9538
9539 * gdb.base/dump.exp: Identify verilog format dump tests as such.
9540
fad0c9fb
PA
95412016-11-09 Pedro Alves <palves@redhat.com>
9542
9543 * gdb.base/commands.exp (runto_or_return): New procedure.
9544 (gdbvar_simple_if_test, gdbvar_simple_while_test)
9545 (gdbvar_complex_if_while_test, progvar_simple_if_test)
9546 (progvar_simple_while_test, progvar_complex_if_while_test)
9547 (if_while_breakpoint_command_test)
9548 (infrun_breakpoint_command_test, breakpoint_command_test)
9549 (user_defined_command_test, watchpoint_command_test)
9550 (test_command_prompt_position, redefine_hook_test)
9551 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
9552 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
9553 multi_line_input and multi_line. Remove gdb_expect and
9554 gdb_stop_suppressing_tests uses.
9555 * lib/gdb.exp (valnum_re): New global.
9556 (multi_line_input): New procedure.
9557
8354c62c
SM
95582016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
9559
9560 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
9561 Remove.
9562 (test_setup): Define with proc_with_prefix.
9563 (test_cli_inferior): Likewise.
9564 (test_cli_thread): Likewise.
9565 (test_cli_frame): Likewise.
9566 (test_cli_select_frame): Likewise.
9567 (test_cli_up_down): Likewise.
9568 (test_mi_thread_select): Likewise.
9569 (test_mi_stack_select_frame): Likewise.
9570 (test_cli_in_mi_inferior): Likewise.
9571 (test_cli_in_mi_thread): Likewise.
9572 (test_cli_in_mi_frame): Likewise.
9573 (top level): Do not use with_test_prefix_procname.
9574
64f367a2
PA
95752016-11-09 Pedro Alves <palves@redhat.com>
9576
9577 * gdb.base/commands.exp (gdbvar_simple_if_test)
9578 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
9579 (progvar_simple_if_test, progvar_simple_while_test)
9580 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
9581 (infrun_breakpoint_command_test, breakpoint_command_test)
9582 (user_defined_command_test, watchpoint_command_test)
9583 (test_command_prompt_position, deprecated_command_test)
9584 (bp_deleted_in_command, temporary_breakpoint_commands)
9585 (stray_arg0_test, source_file_with_indented_comment)
9586 (recursive_source_test, if_commands_test)
9587 (error_clears_commands_left, redefine_hook_test)
9588 (redefine_backtrace_test): Use proc_with_prefix.
9589 * lib/gdb.exp (proc_with_prefix): New proc.
9590
0bb65f1e
AA
95912016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
9592
9593 * gdb.base/tui-layout.c: New file.
9594 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
9595 disassembly window contains very long lines.
9596
7353f247
TT
95972016-11-08 Tom Tromey <tom@tromey.com>
9598
9599 * gdb.python/py-value.exp (test_value_creation): Make "long" test
9600 depend on Python 2.
9601
30a7bb83
TT
96022016-11-08 Tom Tromey <tom@tromey.com>
9603
9604 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
9605 New method.
9606
cdf5a07c
MG
96072016-10-29 Manish Goregaokar <manish@mozilla.com>
9608
2806dc7e 9609 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 9610
51a789c3
MG
96112016-10-27 Manish Goregaokar <manish@mozilla.com>
9612
2806dc7e
PA
9613 * gdb.rust/simple.rs: Add test for univariant enums without
9614 discriminants and for encoded struct-like enums.
51a789c3 9615
f610ab6d
PA
96162016-10-28 Pedro Alves <palves@redhat.com>
9617
9618 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
9619 gdb_test_multiple, tighten regexps and match symtabs and line
9620 tables incrementally.
9621
b129b0ca
LM
96222016-10-28 Luis Machado <lgustavo@codesourcery.com>
9623
9624 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
9625 general.
9626
ecf45d2c
SL
96272016-10-25 Luis Machado <lgustavo@codesourcery.com>
9628
9629 * gdb.base/exec-invalid-sysroot.exp: New file.
9630
b8d38ee4
JK
96312016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9632
9633 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
9634
f90fd8c2
JK
96352016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9636
9637 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
9638
2d2476aa
MR
96392016-10-19 Maciej W. Rozycki <macro@imgtec.com>
9640
2806dc7e
PA
9641 * gdb.base/killed-outside.exp: Remove $options from a call to
9642 `prepare_for_testing'.
2d2476aa 9643
e42b25a0
SM
96442016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9645
9646 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
9647 Change test message.
9648
3ccdb432
SM
96492016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9650
9651 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
9652 Update comment.
9653
5bad3170
SM
96542016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9655
9656 * gdb.trace/mi-trace-save.exp: New file.
9657
5ad9dba7
YQ
96582016-10-13 Yao Qi <yao.qi@linaro.org>
9659
9660 * gdb.base/code_elim.exp (get_var_address): Remove.
9661 * gdb.base/relocate.exp: Likewise.
9662 * gdb.base/shreloc.exp: Likewise.
9663 * lib/gdb.exp (get_var_address): New.
9664
62df7e21
YQ
96652016-10-13 Yao Qi <yao.qi@linaro.org>
9666
9667 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
9668 floating point tests if $skip_float_test is false.
9669
4dac951e
LM
96702016-10-12 Luis Machado <lgustavo@codesourcery.com>
9671
9672 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
9673 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
9674 argc values.
9675 Add 1 to argc so we guarantee distinct initial/modified argc values.
9676
8f1a8fc4
JK
96772016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9678
9679 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
9680
16c85b5d
JK
96812016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9682
9683 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
9684 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
9685 * gdb.arch/vsx-regs.exp: Likewise.
9686
1d0e042a
YQ
96872016-10-07 Yao Qi <yao.qi@linaro.org>
9688
9689 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
9690
68dadef5
MM
96912016-10-07 Markus Metzger <markus.t.metzger@intel.com>
9692
9693 * gdb.python/python.exp: Test decode_line("*0").
9694
33fa2c6e
DE
96952016-10-06 Doug Evans <dje@google.com>
9696
9697 * gdb.python/py-value.exp (test_value_creation): Add test for large
9698 unsigned 64-bit value.
9699
9c37b5ae
TT
97002016-10-06 Tom Tromey <tom@tromey.com>
9701
9702 * gdb.compile/compile.exp: Change java tests to rust.
9703 * gdb.base/setshow.exp: Change java tests to rust.
9704 * gdb.base/default.exp: Remove java from language list.
9705 * README (Examples): Update language example.
9706 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
9707 test.
9708 * lib/gdb.exp (skip_java_tests): Remove.
9709 * lib/java.exp: Remove.
9710 * gdb.java: Remove.
9711
78b86327
MR
97122016-10-06 Maciej W. Rozycki <macro@imgtec.com>
9713
9714 * gdb.arch/mips-fcr.exp: New test.
9715 * gdb.arch/mips-fcr.c: Source for the new test.
9716
7470adbb
MR
97172016-10-06 Maciej W. Rozycki <macro@imgtec.com>
9718
9719 * gdb.base/solib-disc.exp: Use `standard_output_file'
9720 throughout.
9721
4a556533
PA
97222016-10-06 Pedro Alves <palves@redhat.com>
9723
9724 * gdb.base/jit-simple-dl.c: New file.
9725 * gdb.base/jit-simple-jit.c: New file, factored out from ...
9726 * gdb.base/jit-simple.c: ... this.
9727 * gdb.base/jit-simple.exp (jit_run): Delete.
9728 (build_jit): New proc.
9729 (jit_test_reread): Recompile either the main program or the shared
9730 library, depending on what is being tested. Skip changing address
9731 if caller wants to. Compare before/after addresses. If testing
9732 standalone, explicitly load the binary. Test "maint info
9733 breakpoints".
9734 (top level): Add "standalone vs shared lib" and "change address"
9735 vs "same address" axes.
9736
5a122fbc
PA
97372016-10-06 Pedro Alves <palves@redhat.com>
9738
9739 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
9740 call.
9741 (jit_run): Delete.
9742 (jit_test_reread): Use with_test_prefix. Reload the main binary
9743 explicitly. Compare the before/after addresses of the JIT
9744 descriptor.
9745
ee8da4b8
DE
97462016-08-15 Doug Evans <dje@google.com>
9747
9748 * gdb.xml/extra-regs.xml: Update, end field now required, default type
9749 for single bitfields is bool.
9750 * gdb.xml/tdesc-regs.exp: Ditto.
9751
f389f6fe
JK
97522016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9753
9754 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
9755
fdebf1a4
YQ
97562016-10-05 Yao Qi <yao.qi@linaro.org>
9757
9758 * lib/gdb.exp (support_complex_tests): Return zero if
9759 gdb_skip_float_test return true.
9760
9c36d954 97612016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 9762 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
9763
9764 PR gdb/20487
9765 * gdb.mi/user-selected-context-sync.exp: New file.
9766 * gdb.mi/user-selected-context-sync.c: New file.
9767
4034d0ff 97682016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 9769 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
9770
9771 PR gdb/20487
9772 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
9773 =thread-select-event check.
9774
a4297203
PB
97752016-09-29 Peter Bergner <bergner@vnet.ibm.com>
9776
9777 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
9778 the compulsory L operand changes.
9779 * gdb.arch/powerpc-power.s: Likewise.
9780
bb805577
JK
97812016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9782
9783 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
9784 * gdb.base/jit-attach-pie.c: New file.
9785 * gdb.base/jit-attach-pie.exp: New file.
9786
6d61dee5
PA
97872016-09-28 Pedro Alves <palves@redhat.com>
9788
9789 * gdb.base/infcall-input.c: New file.
9790 * gdb.base/infcall-input.exp: New file.
9791
f73842fc
YQ
97922016-09-22 Yao Qi <yao.qi@linaro.org>
9793
9794 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
9795 (gdb_exit): Rename it to ...
9796 (gdbserver_gdb_exit): ... Close GDBserver.
9797 (gdb_exit): New proc, call gdbserver_gdb_exit.
9798 (mi_gdb_exit): Likewise.
9799
90681dab
YQ
98002016-09-22 Yao Qi <yao.qi@linaro.org>
9801
9802 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
9803 path.
9804 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
9805 Remove duplication.
9806
9c211fd8
YQ
98072016-09-22 Yao Qi <yao.qi@linaro.org>
9808
9809 * lib/gdbserver-support.exp: Check the existence of
9810 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
9811
ad0a504f
AK
98122016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
9813
9814 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
9815
36cf1806
TT
98162016-09-21 Tom Tromey <tom@tromey.com>
9817
9818 PR gdb/20604:
9819 * gdb.base/quit.exp: New file.
9820
74172ecf
SM
98212016-09-21 Simon Marchi <simon.marchi@ericsson.com>
9822
9823 * .gitignore: New file.
9824
3d0ec882
MR
98252016-09-21 Maciej W. Rozycki <macro@imgtec.com>
9826
9827 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
9828 throughout.
9829
8193adea
AA
98302016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9831
9832 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
9833
d41a5c09
JK
98342016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9835
9836 * gdb.cp/casts.cc (decltype): Move it ...
9837 (main): ... with its call to ...
9838 * gdb.cp/casts03.cc: ... a new file.
9839 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
9840
d2dfe700
JK
98412016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9842
9843 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
9844
e2a92b16
PB
98452016-09-15 Peter Bergner <bergner@vnet.ibm.com>
9846
9847 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
9848 and sync up the test with tests in gas/testsuite/gas/ppc.
9849 * gdb.arch/powerpc-power.exp: Likewise.
9850
49b4de64
JK
98512016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9852
9853 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
9854
2c29df25
SDJ
98552016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
9856 Jan Kratochvil <jan.kratochvil@redhat.com>
9857
9858 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
9859 make m1's definition to be different from m2's. Use 'dummy' as an
9860 argument for probe 'two'.
9861
cc3c2846
JB
98622016-09-10 Jon Beniston <jon@beniston.com>
9863
9864 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
9865 for sim target.
9866
e1b2624a
AA
98672016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
9868
9869 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
9870 variable declaration.
9871 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
9872 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
9873 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
9874 received HWCAP as its argument.
9875
4295e285
PA
98762016-09-06 Pedro Alves <palves@redhat.com>
9877
9878 * gdb.base/new-ui-pending-input.c: New file.
9879 * gdb.base/new-ui-pending-input.exp: New file.
9880 * gdb.exp (clear_gdb_spawn_id): New procedure.
9881 (with_spawn_id): Check whether gdb_spawn_id exists before
9882 referencing it. If gdb_spawn_id didn't exist on entry, clear it
9883 on exit.
9884
00d5215e
UW
98852016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
9886
9887 * gdb.base/float128.c: New file.
9888 * gdb.base/float128.exp: Likewise.
9889 * gdb.base/floatn.c: Likewise.
9890 * gdb.base/floatn.exp: Likewise.
9891
a9ff5f12
UW
98922016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
9893
9894 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
9895
f245535c
PA
98962016-09-05 Pedro Alves <palves@redhat.com>
9897
9898 PR backtrace/19927
9899 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
9900 unwinders are immediately called as side effect of "source" or
9901 "disable unwinder" commands.
9902 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
9903
ae9cf263
YQ
99042016-09-02 Yao Qi <yao.qi@linaro.org>
9905
9906 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
9907 is true and $type is "float" or "double".
9908
27aba047
YQ
99092016-09-02 Yao Qi <yao.qi@linaro.org>
9910
9911 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
9912 true.
9913 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
9914 * gdb.base/call-rt-st.exp: Likewise.
9915 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
9916 return value instead of gdb,skip_float_test.
9917 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
9918 (do_function_calls): Use its return value instead of
9919 gdb,skip_float_test.
9920 * gdb.base/finish.exp: Likewise.
9921 * gdb.base/funcargs.exp: Likewise.
9922 * gdb.base/return.exp: Likewise.
9923 * gdb.base/return2.exp: Likewise.
9924 * gdb.base/varargs.exp: Likewise.
9925 * lib/gdb.exp (gdb_skip_float_test): Change it to
9926 gdb_caching_proc. Detect the broken ptrace on arm-linux.
9927
5af962df
AA
99282016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
9929
9930 * gdb.multi/tids.exp: Test "thread apply all".
9931
7fac6910
JK
99322016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9933
9934 * gdb.base/default.exp (tty): Remove.
9935
bb1fe4ac
KB
99362016-08-24 Kevin Buettner <kevinb@redhat.com>
9937
2806dc7e
PA
9938 * gdb.python/py-recurse-unwind.c: New file.
9939 * gdb.python/py-recurse-unwind.py: New file.
9940 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 9941
0a1ddfa6
SM
99422016-08-24 Simon Marchi <simon.marchi@ericsson.com>
9943
9944 * gdb.base/set-inferior-tty.exp: New file.
9945 * gdb.base/set-inferior-tty.c: New file.
9946
d9de1fe3
PA
99472016-08-23 Pedro Alves <palves@redhat.com>
9948
9949 PR gdb/20494
9950 * gdb.base/new-ui-echo.c: New file.
9951 * gdb.base/new-ui-echo.exp: New file.
9952
e9d9abd7
YQ
99532016-08-23 Yao Qi <yao.qi@linaro.org>
9954
9955 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
9956 gdbserver_spawn.
9957 * gdb.server/connect-without-multi-process.exp (do_test):
9958 Likewise.
9959
3589529e
YQ
99602016-08-23 Yao Qi <yao.qi@linaro.org>
9961
9962 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
9963 standalone_txt. Delete gdb_txt and standalone_txt on host
9964 and target. Spawn the binary on target. Copy files from
9965 target to host.
9966
6bb90213
PA
99672016-08-22 Pedro Alves <palves@redhat.com>
9968
9969 PR gdb/20505
9970 * gdb.base/vdso-warning.exp: Test core dumps too. Use
9971 with_test_prefix. Factor out bits to ...
9972 (test_no_vdso): ... this new procedure.
9973
20c2c024
CL
99742016-08-19 Carl Love <cel@us.ibm.com>
9975
9976 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
9977 maintaining separate logic for constructing the output path.
9978 * gdb.arch/powerpc-d128-regs.exp: Likewise.
9979 * gdb.arch/ppc-dfp.exp: Likewise.
9980 * gdb.arch/ppc-fp.exp: Likewise.
9981 * gdb.arch/vsx-regs.exp: Likewise.
9982 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
9983 binprefix for generating the additional binary files.
9984
0646e07d
PA
99852016-08-19 Pedro Alves <palves@redhat.com>
9986
9987 * gdb.trace/mi-trace-frame-collected.exp
9988 (test_trace_frame_collected): On x32, expect two registers.
9989
46da9242
CL
99902016-08-18 Carl Love <cel@us.ibm.com>
9991
9992 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
9993 and sync up the test with tests in gas/testsuite/gas/ppc.
9994 * gdb.arch/powerpc-power.exp: Likewise.
9995
eb2332d7
SM
99962016-08-17 Simon Marchi <simon.marchi@ericsson.com>
9997
9998 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
9999 expected error message.
10000
63c61e04
SM
100012016-08-17 Simon Marchi <simon.marchi@ericsson.com>
10002
10003 * gdb.multi/remove-inferiors.exp: New file.
10004 * gdb.multi/remove-inferiors.c: New file.
10005
7b17065f
YQ
100062016-08-12 Yao Qi <yao.qi@linaro.org>
10007
10008 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
10009 argument list.
10010
01d3dedf
PA
100112016-08-10 Pedro Alves <palves@redhat.com>
10012
10013 PR gdb/19187
10014 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
10015 setup_kfails.
10016
3eb7562a
PA
100172016-08-09 Pedro Alves <palves@redhat.com>
10018 Simon Marchi <simon.marchi@ericsson.com>
10019
10020 PR gdb/20418
10021 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
10022 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
10023
80614914
PA
100242016-08-09 Pedro Alves <palves@redhat.com>
10025
10026 PR mi/20431
10027 * gdb.mi/mi-cmd-error.exp: New file.
10028
f348d89a
PA
100292016-08-09 Pedro Alves <palves@redhat.com>
10030
10031 PR gdb/18653
10032 * gdb.base/signals-state-child.c: New file.
10033 * gdb.base/signals-state-child.exp: New file.
10034 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
10035
e5ca03b4
PA
100362016-08-09 Pedro Alves <palves@redhat.com>
10037
10038 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
10039
282a0691
TT
100402016-08-03 Tom Tromey <tom@tromey.com>
10041
10042 PR python/18565:
10043 * gdb.python/py-frame-inline.exp: Add Frame.function test.
10044
41bfcd63
YQ
100452016-08-01 Yao Qi <yao.qi@linaro.org>
10046
10047 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
10048 variable mode to "multi-process" if $multi_process is 1, otherwise
10049 set it to "single-process".
10050
e3465b24
YQ
100512016-08-01 Yao Qi <yao.qi@linaro.org>
10052
10053 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
10054 * gdb.cp/cpexprs.exp: Likewise.
10055 * gdb.cp/m-static.exp: Likewise.
10056
0b31a4bc
TT
100572016-07-26 Tom Tromey <tom@tromey.com>
10058
10059 PR python/20190:
10060 * gdb.threads/tls.exp (check_thread_local): Add python symbol
10061 test.
10062
e0461dbb
MM
100632016-07-26 Markus Metzger <markus.t.metzger@intel.com>
10064
10065 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
10066 selecting assembly source files.
10067 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
10068 assembly source files.
10069 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
10070 assembly source files.
10071 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
10072 selecting assembly source files.
10073
8194e927
SM
100742016-07-25 Simon Marchi <simon.marchi@ericsson.com>
10075
10076 * gdb.base/new-ui.exp (do_test_invalid_args): New
10077 procedure.
10078
c0272db5
TW
100792016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
10080
10081 * gdb.btrace/reconnect.c: New file.
10082 * gdb.btrace/reconnect.exp: New file.
10083
e3487908
GKB
100842016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
10085
10086 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
10087 to test_catch_syscall_group.
10088 (test_catch_syscall_group): New.
10089
12df5c00
TT
100902016-07-21 Tom Tromey <tom@tromey.com>
10091
10092 * gdb.rust/simple.rs (main): Use empty struct expression.
10093 * gdb.rust/simple.exp: Add tests for empty struct expression.
10094
bae62ee2
YQ
100952016-07-21 Yao Qi <yao.qi@linaro.org>
10096
10097 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
10098 if gdb_skip_xml_test is true on some targets.
10099
b1b53fb3
YQ
101002016-07-21 Yao Qi <yao.qi@linaro.org>
10101
10102 * gdb.server/solib-list.exp: Unset last_loaded_file.
10103
027d97f8
JK
101042016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10105
10106 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
10107 "step into captured_main (args)".
10108
7674d381
JK
101092016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10110
10111 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
10112
72b5d099
JK
101132016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10114
10115 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
10116
1f960ced
PA
101172016-07-19 Pedro Alves <palves@redhat.com>
10118
10119 * gdb.opt/inline-break.exp: Remove optimize=-O2.
10120 * gdb.opt/inline-bt.exp: Likewise.
10121 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
10122 additional_flags=-Winline.
10123 * gdb.opt/inline-locals.exp: Likewise.
10124 * gdb.opt/inline-markers.c (ATTR): Define.
10125 (inlined_fn): Use it.
10126
f25827c1
YQ
101272016-07-19 Yao Qi <yao.qi@linaro.org>
10128
10129 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
10130 (test_with_self): Remove some code. Remove argument executable.
10131 (top-level): Use do_self_tests.
10132
37539ebe
DB
101332016-07-15 Zachary Welch <zwelch@codesourcery.com>
10134 Don Breazeal <donb@codesourcery.com>
10135
10136 * gdb.base/maint.exp: Escape paths used in regular expressions.
10137 * gdb.stabs/weird.exp: Likewise.
10138
dac790e1
TT
101392016-07-13 Tom Tromey <tom@tromey.com>
10140
10141 PR python/15620, PR python/18620:
10142 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
10143 (test_bkpt_events): New procs.
10144
93daf339
TT
101452016-07-13 Tom Tromey <tom@tromey.com>
10146
10147 PR python/17698:
10148 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
10149 test.
10150 (test_watchpoints): Likewise.
10151 (test_bkpt_pending): New proc.
10152
6571a381
TT
101532016-07-13 Tom Tromey <tom@tromey.com>
10154
10155 PR cli/18053:
10156 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
10157 completion test.
10158
e8732474
JK
101592016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10160
10161 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
10162 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
10163 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
10164 f_label.
10165 (g): Rename g_end_lbl to g_label.
10166 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
10167 low_pc and high_pc.
10168 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
10169
e0f3fd7c
TT
101702016-07-12 Tom Tromey <tom@tromey.com>
10171
10172 PR python/19293:
10173 * gdb.python/py-unwind-maint.exp: Update tests.
10174
3cfe46b6
YQ
101752016-07-12 Yao Qi <yao.qi@linaro.org>
10176
10177 * lib/selftest-support.exp (selftest_setup): Match the output
10178 when captured_main is inlined.
10179
4f19a0e6
WT
101802016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
10181
10182 * gdb.fortran/derived-types.exp (result_line, result_line_2):
10183 New variables.
10184 (print this%a, print this%b, print this): New tests.
10185 * gdb.fortran/derived-types.f90 (this): New object and
10186 initialization.
10187
986cf455
SM
101882016-07-06 Simon Marchi <simon.marchi@ericsson.com>
10189
10190 * gdb.ada/arraydim.exp: Remove extra directory level in build
10191 directory.
10192
f0464b23
SM
101932016-07-06 Simon Marchi <simon.marchi@ericsson.com>
10194
10195 * lib/ada.exp: Remove extra directory level in build directory.
10196 * gdb.ada/cond_lang.exp: Likewise.
10197 * gdb.ada/exec_changed.exp: Likewise.
10198 * gdb.ada/lang_switch.exp: Likewise.
10199
42d94011
MG
102002016-07-06 Manish Goregaokar <manish@mozilla.com>
10201
2806dc7e
PA
10202 * simple.rs: Add test for raw pointer subscripting.
10203 * simple.exp: Add test expectations.
42d94011 10204
647c264c
YQ
102052016-07-05 Yao Qi <yao.qi@linaro.org>
10206
10207 * gdb.mi/mi-reverse.exp: Match =record-started output.
10208
20aa2c60
PA
102092016-07-01 Pedro Alves <palves@redhat.com>
10210
10211 * gdb.base/jit-reader.exp (info_registers_current_frame): New
10212 procedure.
10213 (jit_reader_test): Test the jit reader's unwinder.
10214 * gdb.base/jithost.c (jit_function_00_code): New global.
10215 (main): Use memcpy to fill in the mmapped code, instead of poking
10216 bytes manually here.
10217 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
10218 value.
10219 (read_debug_info): Save the function's range.
10220 (read_sp): New function.
10221 (unwind_frame): Use it. Also unwind RBP.
10222 (get_frame_id): Use read_sp.
10223 (gdb_init_reader): Use calloc instead of malloc.
10224 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
10225 parameter. Use gdb_test_multiple.
10226
ced2dffb
PA
102272016-07-01 Pedro Alves <palves@redhat.com>
10228 Antoine Tremblay <antoine.tremblay@ericsson.com>
10229
10230 * gdb.threads/process-dies-while-detaching.c: New file.
10231 * gdb.threads/process-dies-while-detaching.exp: New file.
10232
63000888
PA
102332016-07-01 Pedro Alves <palves@redhat.com>
10234
10235 * gdb.multi/watchpoint-multi-exit.c: New file.
10236 * gdb.multi/watchpoint-multi-exit.exp: New file.
10237
038d4868
PA
102382016-06-30 Pedro Alves <palves@redhat.com>
10239
10240 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
10241 unset inferior_spawn_id.
10242
994e9c83
PA
102432016-06-30 Pedro Alves <palves@redhat.com>
10244
10245 * lib/mi-support.exp (default_mi_gdb_start): Declare global
10246 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
10247
e5653468
YQ
102482016-06-29 Yao Qi <yao.qi@linaro.org>
10249
10250 * gdb.base/return.c: Add copyright header.
10251
803b47e5
TT
102522016-06-29 Tom Tromey <tom@tromey.com>
10253
10254 PR python/20129:
10255 * gdb.python/py-framefilter.exp: Add tests for setting priority
10256 and disabling of non-existent frame filter.
10257
28244707
YQ
102582016-06-29 Yao Qi <yao.qi@linaro.org>
10259
10260 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
10261 0x0f07ff.
10262
a31d2f06
YQ
102632016-06-28 Yao Qi <yao.qi@linaro.org>
10264
10265 * gdb.base/catch-syscall.exp: Remove check on isnative and target
10266 triplets. Start gdb, execute catch syscall, and continue. Check
10267 gdb's output to determine catch syscall is supported.
10268
921d8f54
MG
102692016-06-27 Manish Goregaokar <manish@mozilla.com>
10270
25d49b86
PA
10271 * gdb.rust/simple.rs: Add test for returning unit in a function.
10272 * gdb.rust/simple.exp: Add expectation for functions returning
10273 unit.
921d8f54 10274
f4952523
PMR
102752016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
10276
10277 * gdb.python/py-breakpoint-create-fail.c,
10278 gdb.python/py-breakpoint-create-fail.exp,
10279 gdb.python/py-breakpoint-create-fail.py: New testcase.
10280
fccb08f8
MG
102812016-06-25 Manish Goregaokar <manish@mozilla.com>
10282
10283 PR gdb/20239
10284 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
10285 * gdb.rust/simple.exp: Add test expectations for new NonZero
10286 tests.
fccb08f8 10287
6b850546
DT
102882016-06-24 David Taylor <dtaylor@emc.com>
10289
10290 * gdb.base/offsets.exp: New file.
10291 * gdb.base/offsets.c: New file.
10292
17621150
TT
102932016-06-23 Tom Tromey <tom@tromey.com>
10294
10295 PR gdb/16483:
10296 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
10297 before any filters are loaded.
10298
04d59df6
WT
102992016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
10300
10301 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
10302 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
10303 structs.
10304 * gdb.fortran/derived-type-function.exp: New file.
10305 * gdb.fortran/derived-type-function.f90: New file.
10306
10307
ac69f786
PA
103082016-06-21 Pedro Alves <palves@redhat.com>
10309
10310 * gdb.base/new-ui.exp: New file.
10311 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
10312 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
10313 (with_spawn_id): New procedure.
10314
49940788
PA
103152016-06-21 Pedro Alves <palves@redhat.com>
10316
10317 * gdb.mi/mi-exec-run.exp: New file.
10318
ef274d26
PA
103192016-06-21 Pedro Alves <palves@redhat.com>
10320
10321 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
10322 breakpoint command's output on the main UI.
10323 (test_break): New procedure, factored out from calls in the top
10324 level.
10325 (top level): Use foreach_with_prefix to test MI as main UI and as
10326 separate UI.
10327
468afe6c
PA
103282016-06-21 Pedro Alves <palves@redhat.com>
10329
10330 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
10331 (test_awatch_creation_and_listing)
10332 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
10333 Remove 'type' parameter.
10334 (test_watchpoint_all): New parameter mi_mode. Remove
10335 with_test_prefix.
10336 (top level): Use foreach_with_prefix, and add main/separate UI MI
10337 testing axis.
10338
51f77c37
PA
103392016-06-21 Pedro Alves <palves@redhat.com>
10340
10341 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
10342 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
10343 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
10344 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
10345 (gdb_main_spawn_id, mi_spawn_id): Declare and
10346 comment.
10347 (mi_create_inferior_pty): New procedure,
10348 factored out from default_mi_gdb_start.
10349 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
10350 procedures.
10351 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
10352 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
10353 Use mi_create_inferior_pty.
10354 (mi_gdb_start): Use eval to pass down args list.
10355
8980e177
PA
103562016-06-21 Pedro Alves <palves@redhat.com>
10357
10358 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
10359 * gdb.opt/inline-cmds.exp: Add MI tests.
10360
f38d3ad1
PA
103612016-06-21 Pedro Alves <palves@redhat.com>
10362
10363 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
10364
45db7c09
PA
103652016-06-21 Pedro Alves <palves@redhat.com>
10366
10367 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
10368 (top level): Use it instead of mi_execute_to.
10369
5a069ab3
PA
103702016-06-21 Pedro Alves <palves@redhat.com>
10371
10372 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
10373 (cont_handler_str): New.
10374 (signal_stop_handler): Set stop_handler_str instead of printing to
10375 stdout.
10376 (continue_handler): Set cont_handler_str instead of printing to
10377 stdout.
10378 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
10379 mi_send_resuming_command. Print stop_handler_str and
10380 cont_handler_str instead of expecting the python events print
10381 directly.
10382
2838cc1d
SD
103832016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
10384
10385 * gdb.base/jit-reader.exp: New file.
10386 * gdb.base/jithost.c: New file.
10387 * gdb.base/jithost.h: New file.
10388 * gdb.base/jitreader.c : New file.
10389 * gdb.base/jit-protocol.h: New file.
10390
21a77091
YQ
103912016-06-17 Yao Qi <yao.qi@linaro.org>
10392
10393 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
10394 parameters follow_fork and detach_on_fork. Set follow-fork-mode
10395 and detach-on-fork. Adjust tests.
10396 (top level): Invoke break_cond_on_syscall with combinations of
10397 syscall, follow-fork-mode and detach-on-fork.
10398
f50bf8e5
YQ
103992016-06-17 Yao Qi <yao.qi@linaro.org>
10400
10401 * gdb.base/step-over-exit.c: New.
10402 * gdb.base/step-over-exit.exp: New.
10403
a28d8e50
YTL
104042016-06-17 Yan-Ting Lin <currygt52@gmail.com>
10405
10406 * gdb.base/float.exp: Add target check for nds32*-*-*.
10407 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
10408
cad8e26d
AB
104092016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
10410
10411 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
10412 for unsupported target features.
10413 * gdb.base/call-rt-st.exp: Likewise.
10414 * gdb.base/call-sc.exp: Likewise.
10415 * gdb.base/call-signal-resume.exp: Likewise.
10416 * gdb.base/call-strs.exp: Likewise.
10417 * gdb.base/callexit.exp: Likewise.
10418 * gdb.base/callfuncs.exp: Likewise.
10419 * gdb.base/nodebug.exp: Likewise.
10420 * gdb.base/printcmds.exp: Likewise.
10421 * gdb.base/ptype.exp: Likewise.
10422 * gdb.base/structs.exp: Likewise.
10423 * gdb.base/unwindonsignal.exp: Likewise.
10424 * gdb.cp/gdb2495.exp: Likewise.
10425 * gdb.cp/templates.exp: Likewise.
10426 * gdb.cp/virtfunc.exp: Likewise.
10427 * gdb.threads/hand-call-in-threads.exp: Likewise.
10428 * gdb.threads/interrupted-hand-call.exp: Likewise.
10429 * gdb.threads/thread-unwindonsignal.exp: Likewise.
10430
347dc102
TT
104312016-06-10 Tom Tromey <tom@tromey.com>
10432
10433 PR rust/20110:
10434 * gdb.rust/expr.exp: Add test for integer constant larger than
10435 i32.
10436
5e13cf25
BH
104372016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
10438
10439 * gdb.fortran/nested-funcs.exp: New.
10440 * gdb.fortran/nested-funcs.f90: New.
10441
bb556f1f
TK
104422016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
10443
10444 * gdb.base/examine-backward.c: New file.
10445 * gdb.base/examine-backward.exp: New file.
10446
38b022b4
SM
104472016-06-06 Simon Marchi <simon.marchi@ericsson.com>
10448
10449 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
10450 matching.
10451
1b40ec05
TT
104522016-06-02 Tom Tromey <tom@tromey.com>
10453
10454 PR python/18984:
10455 * gdb.python/py-shared.exp: Add solib_name test.
10456
193bd378
SM
104572016-06-02 Simon Marchi <simon.marchi@ericsson.com>
10458
10459 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
10460
3326303b
MG
104612016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
10462
10463 PR c++/19893
10464 * gdb.dwarf2/implref.exp: Rename to...
10465 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
10466 * gdb.dwarf2/implref-array.c: New file.
10467 * gdb.dwarf2/implref-array.exp: Likewise.
10468 * gdb.dwarf2/implref-global.c: Likewise.
10469 * gdb.dwarf2/implref-global.exp: Likewise.
10470 * gdb.dwarf2/implref-struct.c: Likewise.
10471 * gdb.dwarf2/implref-struct.exp: Likewise.
10472
825c8ef2
AT
104732016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10474
10475 * gdb.trace/trace-condition.exp: Add 64bit tests.
10476
2320162a
AT
104772016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10478
10479 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
10480 bits types.
10481 (main): Adapt to 8 to 64 bits types.
10482 * gdb.trace/trace-condition.exp: Add new tests.
10483
a7818233
AT
104842016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10485
10486 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
10487
0d336466
AT
104882016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10489
10490 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
10491 Move condition tests...
10492 * gdb.trace/trace-condition.exp: Here.
10493
7faeb45a
AT
104942016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10495
10496 * gdb.trace/trace-condition.exp: Add counter-case tests.
10497
e385593e
JK
104982016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10499
10500 PR c++/15231
10501 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
10502 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
10503
744608cc
PA
105042016-05-27 Pedro Alves <palves@redhat.com>
10505
10506 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
10507 New procedure.
10508 (top level): Call it, and bail out of DejaGnu is known to be bad.
10509
ac775bf4
AB
105102016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
10511
10512 * gdb.base/whatis.c: Extend the test case.
10513 * gdb.base/whatis.exp: Add additional tests.
10514
2bbad2ea
BH
105152016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10516
10517* gdb.fortran/type.f90: Add pointer variable.
10518* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
10519
8b70175d
BH
105202016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10521
10522 * gdb.fortran/vla-type.exp: Fix testcase name.
10523
86d8a848
BH
105242016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10525
10526 * gdb.fortran/vla-type.exp: Access elements in nested structs.
10527
e188eb36
BH
105282016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10529
10530 * gdb.fortran/type.f90: Add nested structures.
10531 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
10532 * gdb.fortran/derived-type.exp: Adapt expected output.
10533 * gdb.fortran/vla-type.exp: Adapt expected output.
10534
9b2db1fd
BH
105352016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10536
10537 * gdb.fortran/whatis_type.exp: Adapt expected output.
10538
72b17055
BH
105392016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10540
10541 * gdb.fortran/print_type.exp: Fix expected output.
10542 * gdb.fortran/whatis_type.exp: Fix expected output.
10543
3cd81d8d
BH
105442016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10545
10546 * gdb.fortran/whatis_type.exp: Use multi_line.
10547
ddae9462
TT
105482016-05-24 Tom Tromey <tom@tromey.com>
10549
10550 PR python/17386:
10551 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
10552 use value as an index.
10553
1957f6b8
TT
105542016-05-23 Tom Tromey <tom@tromey.com>
10555
10556 PR python/17981:
10557 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
10558 no-breakpoint case.
10559
026a9174
PA
105602016-05-24 Pedro Alves <palves@redhat.com>
10561
10562 PR gdb/19828
10563 * gdb.threads/clone-attach-detach.c: New file.
10564 * gdb.threads/clone-attach-detach.exp: New file.
10565
e70a7231
FR
105662016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
10567
10568 * gdb.base/annota-input-while-running.exp: Fix syntax error.
10569
0f6ed0e0
TT
105702016-05-23 Tom Tromey <tom@tromey.com>
10571
10572 PR python/19438, PR python/18393:
10573 * gdb.python/py-progspace.exp: Add "dir" test.
10574 * gdb.python/py-objfile.exp: Add "dir" test.
10575
ffd19d61
YQ
105762016-05-23 Yao Qi <yao.qi@linaro.org>
10577
10578 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
10579 * gdb.arch/thumb2-it.exp: Likewise.
10580
9e8f9b05
SM
105812016-05-18 Simon Marchi <simon.marchi@ericsson.com>
10582
10583 * gdb.mi/mi-threads-interrupt.c: New file.
10584 * gdb.mi/mi-threads-interrupt.exp: New file.
10585
61c6156d
SM
105862016-05-17 Simon Marchi <simon.marchi@ericsson.com>
10587
10588 PR gdb/18077
10589 * gdb.mi/mi-async-run.exp: New file.
10590 * gdb.mi/mi-async-run.c: New file.
10591
67218854
TT
105922016-05-17 Tom Tromey <tom@tromey.com>
10593 Manish Goregaokar <manishsmail@gmail.com>
10594
10595 * lib/rust-support.exp: New file.
10596 * lib/gdb.exp (skip_rust_tests): New proc.
10597 (build_executable_from_specs): Handle rust.
10598 * lib/future.exp (gdb_find_rustc): New proc.
10599 (gdb_default_target_compile): Handle rust.
10600 * gdb.rust/expr.exp: New file.
10601 * gdb.rust/generics.exp: New file.
10602 * gdb.rust/generics.rs: New file.
10603 * gdb.rust/methods.exp: New file.
10604 * gdb.rust/methods.rs: New file.
10605 * gdb.rust/modules.exp: New file.
10606 * gdb.rust/modules.rs: New file.
10607 * gdb.rust/simple.exp: New file.
10608 * gdb.rust/simple.rs: New file.
10609
c44af4eb
TT
106102016-05-17 Tom Tromey <tom@tromey.com>
10611
10612 * gdb.base/default.exp (set language): Add rust.
10613
dcd1f979
TT
106142016-05-17 Tom Tromey <tom@tromey.com>
10615
10616 * gdb.gdb/unittest.exp: New file.
10617
155b7f57
YQ
106182016-05-16 Yao Qi <yao.qi@linaro.org>
10619
10620 * gdb.base/batch-preserve-term-settings.exp: Remove variable
10621 shell_prompt. Update shell_prompt_re.
10622
8ddd5a6c
DE
106232016-05-12 Doug Evans <dje@google.com>
10624
10625 PR symtab/19999
10626 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
10627 $options when building executable.
10628 * gdb.dwarf2/fission-loclists-pie.S: New file.
10629 * gdb.dwarf2/fission-loclists-pie.exp: New file.
10630
02e370d9
SM
106312016-05-04 Simon Marchi <simon.marchi@ericsson.com>
10632
10633 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
10634 of [is_remote target],
10635
8929ad8b
SM
106362016-05-04 Simon Marchi <simon.marchi@ericsson.com>
10637
10638 * lib/gdb.exp (use_gdb_stub): New procedure.
10639
6c447423
DE
106402016-05-03 Yunlian Jiang <yunlian@google.com>
10641 Doug Evans <dje@google.com>
10642
10643 PR symtab/19914
10644 * gdb.dwarf2/dwp-sepdebug.c: New file.
10645 * gdb.dwarf2/dwp-sepdebug.exp: New file.
10646
444e826c
SM
106472016-05-02 Simon Marchi <simon.marchi@ericsson.com>
10648
10649 * gdb.base/detach.exp: Remove is_remote check.
10650
740feeaa
SM
106512016-05-02 Simon Marchi <simon.marchi@ericsson.com>
10652
10653 * gdb.base/annota-input-while-running.exp: Don't check for
10654 [is_remote target]. Enable annotations after running to main.
10655 Remove unused "set test..." line.
10656
9080ac9d
SM
106572016-04-28 Simon Marchi <simon.marchi@ericsson.com>
10658
10659 * gdb.trace/trace-enable-disable.exp: New file.
10660 * gdb.trace/trace-enable-disable.c: New file.
10661
952ebca5
SM
106622016-04-28 Simon Marchi <simon.marchi@ericsson.com>
10663
10664 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
10665 use it in info sharedlibrary test.
10666 * gdb.trace/ftrace-lock.exp: Likewise.
10667 * gdb.trace/ftrace.exp: Likewise.
10668 * gdb.trace/range-stepping.exp: Likewise.
10669 * gdb.trace/trace-break.exp: Likewise.
10670 * gdb.trace/trace-condition.exp: Likewise.
10671 * gdb.trace/trace-mt.exp: Likewise.
10672
d9019901
SM
106732016-04-27 Simon Marchi <simon.marchi@ericsson.com>
10674
10675 * lib/gdb.exp (gdb_load_shlibs): Rename to...
10676 (gdb_load_shlib): ... this.
10677 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
10678 gdb_load_shlib.
10679 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
10680 * gdb.base/ctxobj.exp: Likewise.
10681 * gdb.base/dprintf-pending.exp: Likewise.
10682 * gdb.base/dso2dso.exp: Likewise.
10683 * gdb.base/fixsection.exp: Likewise.
10684 * gdb.base/gcore-relro.exp: Likewise.
10685 * gdb.base/gdb1555.exp: Likewise.
10686 * gdb.base/global-var-nested-by-dso.exp: Likewise.
10687 * gdb.base/gnu-ifunc.exp: Likewise.
10688 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
10689 * gdb.base/jit-so.exp (one_jit_test): Likewise.
10690 * gdb.base/pending.exp: Likewise.
10691 * gdb.base/print-file-var.exp: Likewise.
10692 * gdb.base/print-symbol-loading.exp: Likewise.
10693 * gdb.base/shlib-call.exp: Likewise.
10694 * gdb.base/shreloc.exp: Likewise.
10695 * gdb.base/so-impl-ld.exp: Likewise.
10696 * gdb.base/solib-disc.exp: Likewise.
10697 * gdb.base/solib-nodir.exp: Likewise.
10698 * gdb.base/solib-overlap.exp: Likewise.
10699 * gdb.base/solib-symbol.exp: Likewise.
10700 * gdb.base/solib-weak.exp (do_test): Likewise.
10701 * gdb.base/sym-file.exp: Likewise.
10702 * gdb.base/symtab-search-order.exp: Likewise.
10703 * gdb.base/type-opaque.exp: Likewise.
10704 * gdb.base/unload.exp: Likewise.
10705 * gdb.base/watchpoint-solib.exp: Likewise.
10706 * gdb.compile/compile.exp: Likewise.
10707 * gdb.cp/gdb2384.exp: Likewise.
10708 * gdb.cp/infcall-dlopen.exp: Likewise.
10709 * gdb.cp/re-set-overloaded.exp: Likewise.
10710 * gdb.fortran/library-module.exp: Likewise.
10711 * gdb.opt/solib-intra-step.exp: Likewise.
10712 * gdb.python/py-finish-breakpoint.exp: Likewise.
10713 * gdb.python/py-shared.exp: Likewise.
10714 * gdb.reverse/solib-precsave.exp: Likewise.
10715 * gdb.reverse/solib-reverse.exp: Likewise.
10716 * gdb.server/solib-list.exp: Likewise.
10717 * gdb.threads/dlopen-libpthread.exp: Likewise.
10718 * gdb.threads/tls-shared.exp: Likewise.
10719 * gdb.threads/tls-so_extern.exp: Likewise.
10720 * gdb.trace/change-loc.exp: Likewise.
10721 * gdb.trace/ftrace-lock.exp: Likewise.
10722 * gdb.trace/ftrace.exp: Likewise.
10723 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
10724 * gdb.trace/pending.exp: Likewise.
10725 * gdb.trace/range-stepping.exp: Likewise.
10726 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
10727 (strace_info_marker): Likewise.
10728 (strace_probe_marker): Likewise.
10729 (strace_trace_on_same_addr): Likewise.
10730 (strace_trace_on_diff_addr): Likewise.
10731 * gdb.trace/trace-break.exp: Likewise.
10732 * gdb.trace/trace-condition.exp: Likewise.
10733 * gdb.trace/trace-mt.exp: Likewise.
10734
fca4cfd9
SM
107352016-04-27 Simon Marchi <simon.marchi@ericsson.com>
10736
10737 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
10738 result of gdb_remote_download.
10739 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
10740 * gdb.base/dso2dso.exp: Likewise.
10741 * gdb.base/global-var-nested-by-dso.exp: Likewise.
10742 * gdb.base/print-file-var.exp: Likewise.
10743 * gdb.base/shlib-call.exp: Likewise.
10744 * gdb.base/shreloc.exp: Likewise.
10745 * gdb.base/solib-overlap.exp: Likewise.
10746 * gdb.base/solib-weak.exp (do_test): Likewise.
10747 * gdb.base/unload.exp: Likewise.
10748
11cf4ffb
YQ
107492016-04-27 Yao Qi <yao.qi@linaro.org>
10750
10751 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
10752 exists.
10753
3e2e34f8
KB
107542016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10755
10756 * vla-type.exp: Print structure from toplevel.
10757
8f07e298
BH
107582016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10759
10760 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
10761 of dynamic types.
10762 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
10763 of dynamic types.
10764
9920b434
BH
107652016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10766
10767 * gdb.fortran/vla-type.f90: New file.
10768 * gdb.fortran/vla-type.exp: New file.
10769
f3abeff5
YQ
107702016-04-25 Yao Qi <yao.qi@linaro.org>
10771
10772 * gdb.base/branch-to-self.c: New file.
10773 * gdb.base/branch-to-self.exp: New file.
10774
0a5d52f0
YQ
107752016-04-22 Yao Qi <yao.qi@linaro.org>
10776
10777 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
10778 more after $hex.
10779
495346f6
YQ
107802016-04-22 Yao Qi <yao.qi@linaro.org>
10781
10782 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
10783 * gdb.base/annota3.exp: Likewise.
10784
4a7e075c
YQ
107852016-04-22 Yao Qi <yao.qi@linaro.org>
10786
10787 * gdb.reverse/step-precsave.exp: Do one step and test program
10788 stops in "callee" and do multiple steps until program goes out
10789 of "callee".
10790 * gdb.reverse/step-reverse.exp: Likewise.
10791
5b061e98
YQ
107922016-04-22 Yao Qi <yao.qi@linaro.org>
10793
10794 * gdb.trace/signal.exp: Also pass if
10795 $tracepoint_hits($i) > $iterations.
10796
5c5dc57f
YQ
107972016-04-22 Yao Qi <yao.qi@linaro.org>
10798
10799 * gdb.trace/signal.c: New file.
10800 * gdb.trace/signal.exp: New file.
10801
a55411b9
DE
108022016-04-19 Doug Evans <xdje42@gmail.com>
10803
10804 * gdb.base/bad-file.exp: New file.
10805
a22df60a
MG
108062016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
10807
10808 * gdb.dwarf2/implref.exp: New file.
10809
0c13f7e5
BH
108102016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
10811
10812 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
10813 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
10814 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
10815 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
10816 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
10817 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
10818 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
10819 * lib/fortran.exp (fortran_int4): New procedure.
10820 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
10821 (fortran_logical4): Likewise.
10822
9b9b09e9
BH
108232016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
10824
10825 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
10826
a14d1f4d
BH
108272016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
10828
10829 * lib/compiler.c: Add Intel specific preprocessor macros.
10830 * lib/compiler.cc: Likewise.
25d49b86 10831
7d49b1d0
LM
108322016-04-13 Luis Machado <lgustavo@codesourcery.com>
10833
10834 * gdb.server/connect-with-no-symbol-file.c: New file.
10835 * gdb.server/connect-with-no-symbol-file.exp: New file.
10836
8392fa22
SM
108372016-04-13 Simon Marchi <simon.marchi@ericsson.com>
10838
10839 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
10840
8c4c4aeb
SM
108412016-04-13 Simon Marchi <simon.marchi@ericsson.com>
10842
10843 * boards/gdbserver-base.exp (${board}_download): Copy source file to
10844 standard output directory.
10845
45e3745e
AT
108462016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
10847
10848 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
10849
e26b7e41
MM
108502016-04-13 Markus Metzger <markus.t.metzger@intel.com>
10851
10852 * gdb.btrace/instruction_history.c (loop): Add declaration.
10853
8ce09462
AT
108542016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
10855
10856 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
10857
2e88a1ea
SM
108582016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
10859
10860 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
10861 parentheses to print.
10862 (continue_handler): Likewise.
10863
f48e22e3
SM
108642016-04-08 Simon Marchi <simon.marchi@ericsson.com>
10865
10866 * gdb.server/solib-list.exp: Remove is_remote check.
10867 Pass shlib= to gdb_compile. Don't link shared library with
10868 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
10869 Run binary filename through "readlink -f" on the target.
10870
096be756
PA
108712016-04-08 Pedro Alves <palves@redhat.com>
10872
10873 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
10874 interpreter filename as argument to gdbserver_spawn.
10875 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
10876 Return empty if $last_loaded_file does not exist.
10877
06500533
JK
108782016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10879
10880 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
10881 * gdb.base/jit-main.c: Use exit after usage.
10882
2d35e871
JK
108832016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10884
10885 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
10886 GDBHISTSIZE prior to the tests.
10887 * gdb.base/gdbinit-history.exp: Likewise.
10888
108892016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
10890
10891 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
10892 instead of build_executable. Use gdb_load_shlibs.
10893
c8064e7e
YQ
108942016-04-07 Yao Qi <yao.qi@linaro.org>
10895
10896 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
10897 Execute "si" command.
10898
bde47561
YQ
108992016-04-07 Yao Qi <yao.qi@linaro.org>
10900
10901 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
10902 number instead of the comments on some line.
10903
b16f8a3b
DB
109042016-04-06 Don Breazeal <donb@codesourcery.com>
10905
10906 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
10907 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
10908
c2f901df
SM
109092016-04-06 Simon Marchi <simon.marchi@ericsson.com>
10910
10911 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
10912 standard_output_file. Remove unused binfile variable.
10913
ac17fda0
CU
109142016-04-05 Catalin Udma <catalin.udma@freescale.com>
10915
10916 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
10917 * gdb.python/py-mi-objfile.exp: Match "list main" output
10918 in console format.
10919
03a8c4df
SM
109202016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
10921
10922 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
10923 absolute.
10924
6e774b13
SM
109252016-04-05 Simon Marchi <simon.marchi@ericsson.com>
10926
10927 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
10928 absolute.
10929 * gdb.trace/ftrace.exp: Likewise.
10930 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
10931 targets as well.
10932 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
10933 (gdb_load_shlibs): Copy libraries to test directory when testing
10934 natively. Only set solib-search-path if testing remotely.
10935 * lib/mi-support.exp (mi_load_shlibs): Likewise.
10936
7817ea46
SM
109372016-04-05 Simon Marchi <simon.marchi@ericsson.com>
10938
10939 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
10940 gdb_download. Use it even if the target is not remote.
10941 * gdb.base/jit.exp (compile_jit_test): Likewise.
10942 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
10943 output directory if the destination board is local, otherwise use
10944 the standard remote_download from DejaGnu.
10945 (gdb_download): Remove.
10946 (gdb_load_shlibs): Use gdb_remote_download instead of
10947 gdb_download.
10948 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
10949 Use gdb_remote_download instead of gdb_download. Use it even if
10950 the target is not remote.
10951 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
10952 instead of gdb_download.
10953
7beb7f68
SM
109542016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
10955
10956 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
10957 (test_insert_delete_modify): Call mi_load_shlibs before trying to
10958 run.
10959
cc63428a
AV
109602016-04-01 Artemiy Volkov <artemiyv@acm.org>
10961
10962 PR gdb/19820
10963 * gdb.base/printcmds.exp: Add artificial arrays tests.
10964
64cdf930
PA
109652016-03-31 Pedro Alves <palves@redhat.com>
10966
10967 PR gdb/19858
10968 * gdb.base/jit-main.c: Include unistd.h.
10969 (ATTACH): Define to 0 if not already defined.
10970 (wait_for_gdb, mypid): New globals.
10971 (WAIT_FOR_GDB): New macro.
10972 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
10973 some breakpoint locations.
10974 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
10975 New procedures.
10976 (one_jit_test): Add REATTACH parameter, and handle it. Use
10977 continue_to_test_location.
10978 (top level): Test attach, and adjusts calls to one_jit_test.
10979
40dea8cb
PA
109802016-03-31 Pedro Alves <palves@redhat.com>
10981
10982 PR gdb/19858
10983 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
10984 BINSUFFIX parameter, and handle it.
10985 (top level): Adjust calls compile_jit_test.
10986
e7ea3ec7
CU
109872016-03-31 Catalin Udma <catalin.udma@freescale.com>
10988
10989 PR python/19743
10990 * gdb.python/py-mi-events-gdb.py: New file.
10991 * gdb.python/py-mi-events.c: New file.
10992 * gdb.python/py-mi-events.exp: New file.
10993
e6359af3
YQ
109942016-03-30 Yao Qi <yao.qi@linaro.org>
10995
10996 * gdb.reverse/until-precsave.exp: Match function name only.
10997 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
10998 Move malloc to a condition block.
10999 * gdb.reverse/until-reverse.exp: Match function name only.
11000
a4105d04
MK
110012016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
11002
11003 * gdb.trace/ftrace.exp: Set arg0exp for s390.
11004 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
11005 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
11006 variable for GPR 0 instead of assuming it is register 0.
11007 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
11008 * lib/trace-support.exp: Add s390 registers.
11009
bfa6adb9
YQ
110102016-03-29 Yao Qi <yao.qi@linaro.org>
11011
11012 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
11013
1e6697ea
YQ
110142016-03-24 Yao Qi <yao.qi@linaro.org>
11015
11016 * gdb.reverse/break-reverse.exp: Add quotation mark in the
11017 test message.
11018
64bcd522
AA
110192016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11020
11021 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
11022 maintaining separate logic for constructing the output path.
11023
7868401b
DB
110242016-03-16 Don Breazeal <donb@codesourcery.com>
11025
11026 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
11027 Retry fork and waitpid on interrupted system call errors.
11028 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
11029 Use with_timeout_factor to increase timeout by factor of 10.
11030
1cafadb4
DB
110312016-03-15 Don Breazeal <donb@codesourcery.com>
11032
11033 * gdb.cp/scope-err.cc: New test program.
11034 * gdb.cp/scope-err.exp: New test script.
11035 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
11036 lines and "set breakpoint here" comment.
11037 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
11038 Fixed some whitespace and format issues.
11039 * gdb.mi/mi-linespec-err-cp.cc: New test program.
11040 * gdb.mi/mi-linespec-err-cp.exp: New test script.
11041
81516450
DE
110422016-03-15 Doug Evans <dje@google.com>
11043
11044 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
11045 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
11046 All callers updated. Add tests for enums, mixed flags register.
11047
aa52b601
DE
110482016-03-15 Doug Evans <dje@google.com>
11049
11050 * gdb.base/skip.c (main): Call test_skip_file_and_function.
11051 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
11052
fa4ff313
SM
110532016-03-14 Simon Marchi <simon.marchi@ericsson.com>
11054
11055 * gdb.base/default.exp: Add $_as_string to the list of expected
11056 convenience functions.
11057
f2403c39
AB
110582016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
11059
11060 * gdb.base/maint.exp: New tests for 'maint info line-table'.
11061
f2f3ccb9
SM
110622016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
11063
11064 * gdb.python/py-as-string.exp: New file.
11065 * gdb.python/py-as-string.c: New file.
11066
00dbd492
PA
110672016-03-09 Pedro Alves <palves@redhat.com>
11068
11069 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
11070 signal" -> "Thread NN received signal" output change.
11071 * gdb.threads/ia64-sigill.exp: Likewise.
11072 * gdb.threads/linux-dp.exp: Likewise.
11073 * gdb.threads/manythreads.exp: Likewise.
11074 * gdb.threads/pending-step.exp: Likewise.
11075 * gdb.threads/print-threads.exp: Likewise.
11076 * gdb.threads/sigstep-threads.exp: Likewise.
11077 * gdb.threads/staticthreads.exp: Likewise.
11078 * gdb.threads/tls.exp: Likewise.
11079
1e6697ea
YQ
110802016-03-09 Pedro Alves <palves@redhat.com>
11081
11082 * gdb.base/command-line-input.exp: New file.
11083
b04fd3be
MK
110842016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11085
11086 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
11087 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
11088 * gdb.trace/pending.exp: Accept leading dot before function name.
11089 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
11090 * lib/trace-support.exp: Set registers for ppc.
11091
98fa59e9
MK
110922016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11093
11094 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
11095 use it for disassembly; accept .main in addition to main in backtrace.
11096
f77198c8
MK
110972016-03-09 Wei-cheng Wang <cole945@gmail.com>
11098 Marcin Kościelnicki <koriakin@0x04.net>
11099
11100 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
11101 (gdb_recursion_test_ptr): New global variable.
11102 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
11103 gdb_recursion_test.
11104 (gdb_c_test): Ditto.
11105
ba84e0da
MK
111062016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11107
11108 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
11109 ordering.
11110
4366d36e
MK
111112016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11112
11113 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
11114 (bar): Add bar_start_lbl label.
11115 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
11116 of foo/bar for emitting DWARF and tracing.
11117
5eb264df
SDJ
111182016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
11119
11120 * analyze-racy-logs.py: Set executable bit.
11121
fb6a751f
SDJ
111222016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
11123
11124 * Makefile.in (DEFAULT_RACY_ITER): New variable.
11125 (CHECK_TARGET_TMP): Likewise.
11126 (check-single-racy): New rule.
11127 (check-parallel-racy): Likewise.
11128 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
11129 (do-check-parallel-racy): New rule.
11130 (check-racy/%.exp): Likewise.
11131 * README (Racy testcases): New section.
11132 * analyze-racy-logs.py: New file.
11133
bdf7e230
DE
111342016-03-03 Doug Evans <dje@google.com>
11135
11136 * gdb.base/skip.exp: Use with_test_prefix.
11137
4719d415
YQ
111382016-03-03 Yao Qi <yao.qi@linaro.org>
11139
11140 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
11141 Invoke step_over_syscall "clone" and break_cond_on_syscall
11142 "clone".
11143 * gdb.base/step-over-clone.c: New file.
11144
ea507862
YQ
111452016-03-03 Yao Qi <yao.qi@linaro.org>
11146
11147 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
11148 code format.
11149
8fc8cbda
YQ
111502016-03-03 Yao Qi <yao.qi@linaro.org>
11151
11152 * gdb.base/disp-step-fork.c: Rename to ...
11153 * gdb.base/step-over-fork.c: ... it. New file.
11154 * gdb.base/disp-step-vfork.c: Rename to ...
11155 * gdb.base/step-over-vfork.c: ... it. New file.
11156 * gdb.base/disp-step-syscall.exp: Rename to ...
11157 * gdb.base/step-over-syscall.exp: ... it. New file.
11158 (disp_step_cross_syscall): Rename to ...
11159 (step_over_syscall): ... it.
11160
92fa70b0
YQ
111612016-03-03 Yao Qi <yao.qi@linaro.org>
11162
11163 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
11164 If target supports condition evaluation on target, invoke
11165 break_cond_on_syscall for fork and vfork.
11166
e197ad3c
YQ
111672016-03-03 Yao Qi <yao.qi@linaro.org>
11168
11169 * gdb.base/disp-step-syscall.exp: Don't invoke
11170 support_displaced_stepping.
11171 (disp_step_cross_syscall): Test with displaced stepping off and
11172 on if supported.
11173
0b47da9f
YQ
111742016-03-03 Yao Qi <yao.qi@linaro.org>
11175
11176 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
11177 proc.
11178 (setup): New proc.
11179 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
11180 and setup.
11181
065ab6dc
BH
111822016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11183
11184 * gdb.fortran/vla-history.exp: Remove breakpoint.
11185
07e448ad 111862016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11187
25d49b86
PA
11188 * gdb.fortran/vla-history.exp: Lookup array elements and printing
11189 exceeds timeout.
07e448ad 11190
9ac2d526 111912016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11192
25d49b86
PA
11193 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
11194 breakpoint.
9ac2d526 11195
17807369
BH
111962016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11197
11198 * gdb.mi/vla.f90: Nullify pointer after declaration.
11199
86e501af
PA
112002016-03-01 Pedro Alves <palves@redhat.com>
11201
11202 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
11203
1e903e32
PA
112042016-03-01 Pedro Alves <palves@redhat.com>
11205
11206 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
11207 before anything else.
11208 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
11209 _GNU_SOURCE here.
11210 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
11211 before anything else.
11212 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
11213
6ccb54e2
PA
112142016-03-01 Pedro Alves <palves@redhat.com>
11215
11216 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
11217
30ca9da1
YQ
112182016-03-01 Yao Qi <yao.qi@linaro.org>
11219
11220 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
11221 prepare_for_testing.
11222
dc856b38
YQ
112232016-03-01 Yao Qi <yao.qi@linaro.org>
11224
11225 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
11226
4a932159
AA
112272016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
11228
11229 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
11230 manually constructing the output path.
11231
f2489477
AA
112322016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
11233
11234 * gdb.arch/s390-stackless.S: New.
11235 * gdb.arch/s390-stackless.exp: New.
11236
38899f16
IB
112372016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
11238
11239 * gdb.dlang/circular.c: New file.
11240 * gdb.dlang/circular.exp: New file.
11241
9fde51ed
YQ
112422016-02-26 Yao Qi <yao.qi@linaro.org>
11243
11244 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
11245 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
11246 (testcases): Update.
11247
ce90fefe
YQ
112482016-02-26 Yao Qi <yao.qi@linaro.org>
11249
11250 * gdb.reverse/aarch64.c: Rename to ...
11251 * gdb.reverse/insn-reverse.c: ... it.
11252 * gdb.reverse/aarch64.exp: Rename to ...
11253 * gdb.reverse/insn-reverse.exp: ... it.
11254
3263bceb
YQ
112552016-02-26 Yao Qi <yao.qi@linaro.org>
11256
11257 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
11258 (testcase_ftype): New.
11259 (testcases): New array.
11260 (n_testcases): New.
11261 (main): Call each element in testcases.
11262 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
11263 (read_testcase): New.
11264 Do the tests in a loop.
11265
6cb59ff1
YQ
112662016-02-25 Yao Qi <yao.qi@linaro.org>
11267
11268 * gdb.base/branches.c: Remove.
11269
ae91f625
MK
112702016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11271
11272 PR gdb/13808
11273 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
11274
678b48b7
MK
112752016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11276
11277 * gdb.trace/ftrace.exp: Remove unnecessary target check.
11278
7337a6f2
MK
112792016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11280
11281 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
11282 change x86_64 call_insn to 'callq'.
11283
861ca91f
AT
112842016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
11285
11286 * gdb.trace/tfile-avx.c: Move to...
11287 * gdb.trace/tracefile-pseudo-reg.c: Here.
11288 * gdb.trace/tfile-avx.exp: Move to...
11289 * gdb.trace/tracefile-pseudo-reg.exp: Here.
11290
bf74e428
GB
112912016-02-24 Gary Benson <gbenson@redhat.com>
11292
11293 * gdb.base/attach-pie-noexec.exp: Do not expect an error
11294 message on attach.
11295
cce0e923
DE
112962016-02-23 Doug Evans <dje@google.com>
11297
11298 * gdb.base/skip.c (test_skip): New function.
11299 (end_test_skip_file_and_function): New function.
11300 (test_skip_file_and_function): New function.
11301 * gdb.base/skip1.c (test_skip): New function.
11302 (skip1_test_skip_file_and_function): New function.
11303 * gdb.base/skip.exp: Add tests for new skip options.
11304 * gdb.base/skip-solib.exp: Update expected output.
11305 * gdb.perf/skip-command.cc: New file.
11306 * gdb.perf/skip-command.exp: New file.
11307 * gdb.perf/skip-command.py: New file.
11308
4000e47e
MK
113092016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
11310
11311 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
11312 info registers pattern.
11313
24f75ead
IB
113142016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
11315
11316 * lib/future.exp: Add D support.
11317 (gdb_find_gdc): New proc.
11318 (gdb_default_target_compile): Add D support.
11319
fbb7bcbe
WW
113202016-02-18 Wei-cheng Wang <cole945@gmail.com>
11321
11322 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
11323 user+system time.
11324 (trace_speed_test): Determine the iteration count for a time
11325 between 15..30 seconds.
11326
012b3a21
WT
113272016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
11328
11329 * gdb.arch/i386-mpx-sigsegv.c: New file.
11330 * gdb.arch/i386-mpx-sigsegv.exp: New file.
11331 * gdb.arch/i386-mpx-simple_segv.c: New file.
11332 * gdb.arch/i386-mpx-simple_segv.exp: New file.
11333
2d5189bd
YQ
113342016-02-18 Yao Qi <yao.qi@linaro.org>
11335
11336 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
11337 Don't call setup_kfail.
11338
40fb20d0
YQ
113392016-02-18 Yao Qi <yao.qi@linaro.org>
11340
11341 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
11342 Set "set breakpoint condition-evaluation" per $cond_bp_target.
11343
21b1f8d2
DE
113442016-02-16 Doug Evans <dje@google.com>
11345
11346 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
11347 * gdb.base/skip1.c: Ditto.
11348 * gdb.base/skip.exp: Whitespace cleanup.
11349
4041ed77
DB
113502016-02-16 Don Breazeal <donb@codesourcery.com>
11351
11352 PR remote/19496
11353 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
11354 Remove kfail for PR remote/19496.
11355
c4ef31bf
SM
113562016-02-16 Simon Marchi <simon.marchi@ericsson.com>
11357
11358 * lib/gdb.exp (standard_temp_file): Return a path specific to
11359 the runtest invocation.
11360
266b65b3
SM
113612016-02-16 Simon Marchi <simon.marchi@ericsson.com>
11362
11363 * gdb.trace/save-trace.exp: Change relative path to be in the
11364 standard output directory.
11365
a7a0a6a9
JK
113662016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11367
11368 * gdb.arch/i386-prologue.c: Add missing prototypes.
11369
c99dbb42
JK
113702016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11371
11372 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
11373 * gdb.arch/i386-prologue.exp: Likewise.
11374 * gdb.arch/i386-size.exp: Likewise.
11375
aa480355
SM
113762016-02-15 Simon Marchi <simon.marchi@ericsson.com>
11377
11378 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
11379 define object file path.
11380 * gdb.btrace/gcore.exp: Use standard_output_file to define core
11381 file path.
11382 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
11383 standard_output_file to define binfile.
11384
ba881f50
JK
113852016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11386
11387 Fix compatibility with recent gfortran-5.3.1.
11388 * gdb.fortran/vla-history.exp (print vla1 allocated)
11389 (print vla2 allocated, print $2, print $3): Remove
11390 (print $4): Rename to ...
11391 (print $2): ... here.
11392 (print $9): Rename to ...
11393 (print $5): ... here.
11394 (print $10): Rename to ...
11395 (print $6): ... here.
11396 * gdb.fortran/vla.f90: Add pvla initialization.
11397
e9fb005c
JK
113982016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11399
11400 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
11401 New test.
11402 * gdb.fortran/vla-value-sub.exp: Likewise.
11403
e44e00ff
MK
114042016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
11405
11406 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
11407
97e94151
SM
114082016-02-12 Simon Marchi <simon.marchi@ericsson.com>
11409
11410 * i386-biarch-core.exp: Define corefile using
11411 standard_output_file.
11412
01113bc1
YQ
114132016-02-12 Yao Qi <yao.qi@linaro.org>
11414
11415 * gdb.arch/arm-single-step-kernel-helper.c: New.
11416 * gdb.arch/arm-single-step-kernel-helper.exp: New.
11417
33b4777c
MM
114182016-02-12 Markus Metzger <markus.t.metzger@intel.com>
11419
11420 * gdb.btrace/tailcall-only.exp: New.
11421 * gdb.btrace/tailcall-only.c: New.
11422 * gdb.btrace/x86_64-tailcall-only.S: New.
11423 * gdb.btrace/i686-tailcall-only.S: New.
11424
acc23c11
PA
114252016-02-11 Pedro Alves <palves@redhat.com>
11426
11427 * README (Parallel testing): Add missing double quotes.
11428
e352bf0a
PA
114292016-02-11 Pedro Alves <palves@redhat.com>
11430
11431 * README (Parallel testing): New section.
11432 (GDB_PARALLEL): Rewrite.
11433 (FORCE_PARALLEL): Document.
11434
9f5fed78
MK
114352016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
11436
11437 * gdb.trace/tfile-avx.c: New test.
11438 * gdb.trace/tfile-avx.exp: New test.
11439
9ef9e6a6
KS
114402016-02-09 Keith Seitz <keiths@redhat.com>
11441
11442 PR breakpoints/19546
11443 * gdb.base/infcall-exec.c: New file.
11444 * gdb.base/infcall-exec2.c: New file.
11445 * gdb.base/infcall-exec.exp: New file.
11446
a96e36da
KS
114472016-02-09 Keith Seitz <keiths@redhat.com>
11448
11449 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
11450 (toplevel): Call test_bkpt_address.
11451
9f61929f
KS
114522016-02-09 Keith Seitz <keiths@redhat.com>
11453
11454 PR python/19506
11455 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
11456 (toplevel): Call test_bkpt_address.
11457
1e94266c
SM
114582016-02-09 Simon Marchi <simon.marchi@ericsson.com>
11459
11460 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
11461 to AC_OUTPUT.
11462 * configure: Regenerate.
11463
2a7f3dff
PA
114642016-02-09 Pedro Alves <palves@redhat.com>
11465
11466 PR breakpoints/19548
11467 * gdb.base/execl-update-breakpoints.c (some_function): New
11468 function.
11469 (main): Call it.
11470 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
11471 Tighten expected GDB output.
11472
2151ccc5
SM
114732016-02-08 Simon Marchi <simon.marchi@ericsson.com>
11474
11475 * Makefile.in (ALL_SUBDIRS): Remove.
11476 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
11477 (distclean maintainer-clean realclean): Likewise.
11478 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
11479 * configure: Regenerate.
11480 * gdb.ada/Makefile.in: Delete.
11481 * gdb.arch/Makefile.in: Likewise.
11482 * gdb.asm/Makefile.in: Likewise.
11483 * gdb.base/Makefile.in: Likewise.
11484 * gdb.btrace/Makefile.in: Likewise.
11485 * gdb.cell/Makefile.in: Likewise.
11486 * gdb.compile/Makefile.in: Likewise.
11487 * gdb.cp/Makefile.in: Likewise.
11488 * gdb.disasm/Makefile.in: Likewise.
11489 * gdb.dlang/Makefile.in: Likewise.
11490 * gdb.dwarf2/Makefile.in: Likewise.
11491 * gdb.fortran/Makefile.in: Likewise.
11492 * gdb.gdb/Makefile.in: Likewise.
11493 * gdb.go/Makefile.in: Likewise.
11494 * gdb.guile/Makefile.in: Likewise.
11495 * gdb.java/Makefile.in: Likewise.
11496 * gdb.linespec/Makefile.in: Likewise.
11497 * gdb.mi/Makefile.in: Likewise.
11498 * gdb.modula2/Makefile.in: Likewise.
11499 * gdb.multi/Makefile.in: Likewise.
11500 * gdb.objc/Makefile.in: Likewise.
11501 * gdb.opencl/Makefile.in: Likewise.
11502 * gdb.opt/Makefile.in: Likewise.
11503 * gdb.pascal/Makefile.in: Likewise.
11504 * gdb.perf/Makefile.in: Likewise.
11505 * gdb.python/Makefile.in: Likewise.
11506 * gdb.reverse/Makefile.in: Likewise.
11507 * gdb.server/Makefile.in: Likewise.
11508 * gdb.stabs/Makefile.in: Likewise.
11509 * gdb.threads/Makefile.in: Likewise.
11510 * gdb.trace/Makefile.in: Likewise.
11511 * gdb.xml/Makefile.in: Likewise.
11512 * lib/gdb.exp (make_gdb_parallel_path): Add check for
11513 GDB_PARALLEL.
11514 (standard_output_file): Remove check for GDB_PARALLEL, always
11515 return path in outputs/$subdir/$testname.
11516
437277d4
SM
115172016-02-08 Simon Marchi <simon.marchi@ericsson.com>
11518
11519 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
11520 (site.exp): Assign abs_srcdir to tcl's srcdir.
11521
31d913c7
YQ
115222016-02-04 Yao Qi <yao.qi@linaro.org>
11523
11524 * gdb.base/foll-exec-mode.c: Include limits.h.
11525 (main): Add parameters argc and argv. Get directory from
11526 argv[0].
11527 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
11528 compilation.
11529 * gdb.base/foll-exec.c: Include limits.h.
11530 (main): Add parameters argc and argv.
11531 Get directory from argv[0].
11532 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
11533 Adjust tests on the number of lines as source code changed.
11534 * gdb.base/foll-vfork-exit.c: Include limits.h.
11535 (main): Add one line of statement before vfork.
11536 * gdb.base/foll-vfork.c: Include limits.h and string.h.
11537 (main): Add parameters argc and argv. Get directory from
11538 argv[0].
11539 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
11540 (setup_gdb): Set tbreak to skip some source lines.
11541 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
11542 (main): Add parameters argc and argv. Get directory from
11543 argv[0].
11544 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
11545 compilation.
11546 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
11547 (main): Add parameters argc and argv. Get directory from
11548 argv[0].
11549 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
11550 compilation.
11551
9482b9fb
DE
115522016-02-01 Doug Evans <dje@google.com>
11553
11554 * gdb.base/skip.exp: Clean up multiple references to same test name.
11555
6b2e4f10
PA
115562016-02-01 Pedro Alves <palves@redhat.com>
11557
ccb6afd6 11558 PR remote/19496
6b2e4f10
PA
11559 * gdb.threads/forking-threads-plus-breakpoint.exp
11560 (displaced_stepping_supported): New global.
11561 (probe_displaced_stepping_support): New procedure.
11562 (do_test): Add 'displaced' parameter, and use it.
11563 (top level): Check for displaced stepping support. Add displaced
11564 stepping on/off testing axis.
11565
37a8db1a
AB
115662016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
11567
11568 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
11569 pointer. Don't perform further tests on the unassociated pointer
11570 if the first test fails.
11571
5fdf6324
AB
115722016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
11573
11574 * gdb.base/max-value-size.c: New file.
11575 * gdb.base/max-value-size.exp: New file.
11576 * gdb.base/huge.exp: Disable max-value-size for this test.
11577
935c6144
IB
115782016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
11579
11580 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
11581
7fe8399d
YQ
115822016-01-28 Yao Qi <yao.qi@linaro.org>
11583
11584 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
11585
a2077e25
PA
115862016-01-25 Pedro Alves <palves@redhat.com>
11587
11588 PR threads/19461
11589 * gdb.base/fork-running-state.c: New file.
11590 * gdb.base/fork-running-state.exp: New file.
11591
1d2736d4
PA
115922016-01-25 Pedro Alves <palves@redhat.com>
11593
11594 PR gdb/19494
11595 * gdb.base/catch-fork-kill.c: New file.
11596 * gdb.base/catch-fork-kill.exp: New file.
11597
f1da4b11
PA
115982016-01-25 Pedro Alves <palves@redhat.com>
11599
11600 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
11601 Delete, moved to lib/gdb.exp.
11602 * gdb.threads/forking-threads-plus-breakpoint.exp
11603 (foreach_with_prefix): Likewise.
11604 * gdb.threads/process-dies-while-handling-bp.exp
11605 (foreach_with_prefix): Likewise.
11606 * lib/gdb.exp (foreach_with_prefix): New procedure.
11607
45f38546
MK
116082016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
11609
11610 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
11611 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
11612
dc29a1ce
MK
116132016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
11614
11615 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
11616 endian targets.
11617
092127d7
JK
116182016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11619 Pedro Alves <palves@redhat.com>
11620
11621 Fix testsuite compatibility with Guile.
11622 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
11623 number.
11624
31d765d3
JK
116252016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11626
11627 Fix testsuite compatibility with Guile.
11628 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
11629 (thread 1): New test for backtrace through signal handler.
11630
1ac78c04
YQ
116312016-01-22 Yao Qi <yao.qi@linaro.org>
11632
11633 PR testsuite/19491
11634 * gdb.base/multi-forks.c: Include
11635 ../lib/unbuffer_output.c
11636 (main): Call gdb_unbuffer_output.
11637
4f5946a8
DE
116382016-01-21 Doug Evans <dje@google.com>
11639
11640 * lib/ada.exp (gdb_compile_ada): Fix typo.
11641
305e13e6
JB
116422016-01-21 Joel Brobecker <brobecker@adacore.com>
11643
11644 * gdb.base/break-fun-addr.exp: New file.
11645 * gdb.base/break-fun-addr1.c: New file.
11646 * gdb.base/break-fun-addr2.c: New file.
11647
5f5dfff6
SM
116482016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
11649
11650 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
11651 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
11652 enum flag values.
11653
fd356fa2
AA
116542016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11655
11656 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
11657 when GDB can not set the vector return value. Add more comments
11658 for clarification.
11659
9df22175
AT
116602016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
11661
11662 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
11663 command.
11664
41d1845e
SM
116652016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11666
11667 * Makefile.in (DO_RUNTEST): Add --status and update usages.
11668
01ac6840
SM
116692016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11670
11671 * Makefile.in (check-single): Pass --status to runtest.
11672 (check/%.exp): Likewise.
11673
116742016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11675
11676 * Makefile.in (check-parallel): Propagate return code from make
11677 do-check-parallel.
11678
bd0a71fa
MK
116792016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
11680
11681 * gdb.trace/ftrace.exp: Fix expected message on continue.
11682 * gdb.trace/pending.exp: Fix expected message on continue.
11683 * gdb.trace/trace-break.exp: Fix expected message on continue.
11684
8bcbad33
SM
116852016-01-18 Simon Marchi <simon.marchi@ericsson.com>
11686
11687 * lib/gdb.exp (gdb_test): Remove unused global references.
11688
f303dbd6
PA
116892016-01-18 Pedro Alves <palves@redhat.com>
11690
11691 * gdb.base/async-shell.exp: Adjust expected output.
11692 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
11693 * gdb.base/siginfo-thread.exp: Adjust expected output.
11694 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
11695 * gdb.java/jnpe.exp: Adjust expected output.
11696 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
11697 * gdb.threads/continue-pending-status.exp: Adjust expected output.
11698 * gdb.threads/leader-exit.exp: Adjust expected output.
11699 * gdb.threads/manythreads.exp: Adjust expected output.
11700 * gdb.threads/pthreads.exp: Adjust expected output.
11701 * gdb.threads/schedlock.exp: Adjust expected output.
11702 * gdb.threads/siginfo-threads.exp: Adjust expected output.
11703 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
11704 expected output.
11705 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
11706 output.
11707 * gdb.threads/sigthread.exp: Adjust expected output.
11708 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
11709
b2789696
YQ
117102016-01-18 Yao Qi <yao.qi@linaro.org>
11711
11712 * gdb.guile/scm-section-script.c: Replace @progbits with
11713 %progbits.
11714 * gdb.python/py-section-script.c: Likewise.
11715
71ef29a8
PA
117162016-01-15 Pedro Alves <palves@redhat.com>
11717
11718 * gdb.multi/tids.exp: Test star wildcard ranges.
11719
3f5b7598
PA
117202016-01-15 Pedro Alves <palves@redhat.com>
11721
11722 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
11723 command from "thread apply" invocation.
11724 (thr_apply_info_thr_invalid): Default the expected output to the
11725 input tid list.
11726 (top level): Add tests that use convenience variables. Add tests
11727 for "thread apply" with a valid TID list, but missing the command.
11728
663f6d42
PA
117292016-01-13 Pedro Alves <palves@redhat.com>
11730
11731 * gdb.base/default.exp: Expect $_gthread as well.
11732 * gdb.multi/tids.exp: Test $_gthread.
11733 * gdb.threads/thread-specific.exp: Test $_gthread.
11734
c84f6bbf
PA
117352016-01-13 Pedro Alves <palves@redhat.com>
11736
11737 * gdb.multi/tids.exp: Test "info threads -gid".
11738
22a02324
PA
117392016-01-13 Pedro Alves <palves@redhat.com>
11740
11741 * gdb.multi/tids.exp: Test InferiorThread.global_num and
11742 Breakpoint.thread.
11743 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
11744
5d5658a1
PA
117452016-01-07 Pedro Alves <palves@redhat.com>
11746
11747 * gdb.base/break.exp: Adjust to output changes.
11748 * gdb.base/hbreak2.exp: Likewise.
11749 * gdb.base/sepdebug.exp: Likewise.
11750 * gdb.base/watch_thread_num.exp: Likewise.
11751 * gdb.linespec/keywords.exp: Likewise.
11752 * gdb.multi/info-threads.exp: Likewise.
11753 * gdb.threads/thread-find.exp: Likewise.
11754 * gdb.multi/tids.c: New file.
11755 * gdb.multi/tids.exp: New file.
11756
84654457
PA
117572016-01-13 Pedro Alves <palves@redhat.com>
11758
11759 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
11760
e3940304
PA
117612016-01-13 Pedro Alves <palves@redhat.com>
11762
11763 * gdb.base/default.exp: Expect $_inferior as well.
11764 * gdb.multi/base.exp: Test $_inferior.
11765
a911d87a
PA
117662016-01-13 Pedro Alves <palves@redhat.com>
11767
11768 PR breakpoints/19388
11769 * gdb.base/catch-signal-siginfo-cond.c: New file.
11770 * gdb.base/catch-signal-siginfo-cond.exp: New file.
11771
82075af2
JS
117722016-01-12 Josh Stone <jistone@redhat.com>
11773 Philippe Waroquiers <philippe.waroquiers@skynet.be>
11774
11775 * gdb.base/catch-syscall.c (do_execve): New variable.
11776 (main): Conditionally trigger an execve.
11777 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
11778 (test_catch_syscall_execve): New, check entry/return across execve.
11779 (do_syscall_tests): Call test_catch_syscall_execve.
11780
e46eeedd
PA
117812016-01-12 Pedro Alves <palves@redhat.com>
11782
11783 * gdb.base/random-signal.exp (do_test): New procedure, with body
11784 of testcase moved in.
11785
01d8c27e
JK
117862016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11787 Pedro Alves <palves@redhat.com>
11788
11789 * gdb.base/funcargs.exp (finish from indirectly called function):
11790 Reintroduce the case for 'First'.
11791
9a706302
JK
117922016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11793 Pedro Alves <palves@redhat.com>
11794
11795 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
11796 (tcatch_vfork_then_child_follow_exec)
11797 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
11798 identification.
11799
c0ecb95f
JK
118002016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11801
11802 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
11803 and repeats to unlimited.
11804 * gdb.python/py-value.exp: Likewise.
11805 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
11806 and repeats to unlimited.
11807
6cfc1fcb
JK
118082016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11809
11810 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
11811 and reordering the functions.
11812 * gdb.multi/hangout.c: Likewise.
11813 * gdb.multi/hello.c: Likewise.
11814
582a1b00
SM
118152016-01-08 Simon Marchi <simon.marchi@ericsson.com>
11816
11817 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
11818 absolute.
11819 (SingleStatisticTestResult.report): Use dict.keys instead of
11820 dict.iterkeys.
11821
79bc59cb
PA
118222016-01-06 Pedro Alves <palves@redhat.com>
11823
11824 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
11825
43368e1d
MM
118262016-01-04 Markus Metzger <markus.t.metzger@intel.com>
11827
11828 * gdb.btrace/dlopen.exp: New.
11829 * gdb.btrace/dlopen.c: New.
11830 * gdb.btrace/dlopen-dso.c: New.
11831
79fad5b8
SL
118322015-12-25 Sandra Loosemore <sandra@codesourcery.com>
11833
11834 * lib/gdb.exp (gdb_test): Update comments to clarify that the
11835 PATTERN argument is optional.
11836
ab8314b3
JB
118372015-12-24 Joel Brobecker <brobecker@adacore.com>
11838
11839 * lib/ada.exp (target_compile_ada_from_dir): New function.
11840 (gdb_compile_ada): Reimplement avoiding the use of project files.
11841 * gdb.ada/gnat_ada.gpr: Delete.
11842 * gdb.ada/cond_lang.exp: Adjust test to make path before
11843 filename optional.
11844 * gdb.ada/small_reg_param.exp: Likewise.
11845
fe33faff
SM
118462015-12-22 Simon Marchi <simon.marchi@ericsson.com>
11847
11848 * gdb.base/foll-vork.exp: Remove HP-UX special case.
11849
6d265cb4
TP
118502015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
11851
11852 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
11853 case.
11854
10125099
SM
118552015-12-21 Simon Marchi <simon.marchi@ericsson.com>
11856
11857 * gdb.base/break.exp: Remove dead code.
11858 * gdb.base/sepdebug.exp: Likewise.
11859
3ca22649
SM
118602015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
11861
11862 * gdb.asm/asm-source.exp: Remove HP-UX references.
11863 * gdb.base/annota1.exp: Likewise.
11864 * gdb.base/annota3.exp: Likewise.
11865 * gdb.base/attach.exp: Likewise.
11866 * gdb.base/bigcore.exp: Likewise.
11867 * gdb.base/break.exp: Likewise.
11868 * gdb.base/call-ar-st.exp: Likewise.
11869 * gdb.base/callfuncs.exp: Likewise.
11870 * gdb.base/catch-fork-static.exp: Likewise.
11871 * gdb.base/display.exp: Likewise.
11872 * gdb.base/foll-exec-mode.exp: Likewise.
11873 * gdb.base/foll-exec.exp: Likewise.
11874 * gdb.base/foll-fork.exp: Likewise.
11875 * gdb.base/foll-vfork.exp: Likewise.
11876 * gdb.base/funcargs.exp: Likewise.
11877 * gdb.base/hbreak2.exp: Likewise.
11878 * gdb.base/inferior-died.exp: Likewise.
11879 * gdb.base/interrupt.exp: Likewise.
11880 * gdb.base/multi-forks.exp: Likewise.
11881 * gdb.base/nodebug.exp: Likewise.
11882 * gdb.base/sepdebug.exp: Likewise.
11883 * gdb.base/solib1.c: Likewise.
11884 * gdb.base/step-test.exp: Likewise.
11885 * gdb.mi/non-stop.c: Likewise.
11886 * gdb.mi/pthreads.c: Likewise.
11887 * gdb.multi/bkpt-multi-exec.ex: Likewise.
11888 * gdb.threads/pthreads.c: Likewise.
11889 * gdb.threads/staticthreads.exp: Likewise.
11890 * lib/future.exp: Likewise.
11891 * lib/gdb.exp: Likewise.
11892 * gdb.base/so-indr-cl.c: Remove.
11893 * gdb.base/so-indr-cl.exp: Likewise.
11894 * gdb.base/solib.c: Likewise.
11895 * gdb.base/solib.exp: Likewise.
11896 * gdb.base/solib2.c: Likewise.
11897
b6304613
SM
118982015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
11899
11900 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
11901 * gdb.base/call-ar-st.exp: Likewise.
11902 * gdb.base/callfuncs.exp: Likewise.
11903 * gdb.base/condbreak.exp: Likewise.
11904 * gdb.base/constvars.exp: Likewise.
11905 * gdb.base/hbreak2.exp: Likewise.
11906 * gdb.base/langs.exp: Likewise.
11907 * gdb.base/list.exp: Likewise.
11908 * gdb.base/long_long.exp: Likewise.
11909 * gdb.base/ptype.exp: Likewise.
11910 * gdb.base/scope.exp: Likewise.
11911 * gdb.base/signals.exp: Likewise.
11912 * gdb.base/so-impl-ld.exp: Likewise.
11913 * gdb.base/varargs.exp: Likewise.
11914 * gdb.base/volatile.exp: Likewise.
11915 * gdb.base/whatis.exp: Likewise.
11916 * gdb.cp/cplusfuncs.exp: Likewise.
11917 * gdb.cp/inherit.exp: Likewise.
11918 * gdb.cp/local.exp: Likewise.
11919 * gdb.cp/member-ptr.exp: Likewise.
11920 * gdb.cp/method.exp: Likewise.
11921 * gdb.cp/overload.exp: Likewise.
11922 * gdb.cp/templates.exp: Likewise.
11923 * gdb.stabs/weird.exp: Likewise.
11924 * lib/compiler.c: Likewise.
11925 * lib/compiler.cc: Likewise.
11926 * lib/cp-support.exp: Likewise.
11927 * lib/gdb.exp: Likewise.
11928
bf401b07
SM
119292015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
11930
11931 * configure.ac: Remove HP-UX case.
11932 * configure: Regenerate.
11933
aff9c0f8
SM
119342015-12-18 Simon Marchi <simon.marchi@ericsson.com>
11935
11936 * lib/gdb.exp (gdb_compile): Add function doc.
11937
a6904d5a
PA
119382015-12-17 Pedro Alves <palves@redhat.com>
11939
11940 PR threads/19354
11941 * gdb.multi/info-threads.exp: New file.
11942
a22279dd
YQ
119432015-12-15 Yao Qi <yao.qi@linaro.org>
11944
11945 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
11946 is aarch64*-*-*.
11947
0588c796
SL
119482015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11949
11950 * gdb.base/history-duplicates.exp: Skip if no readline support.
11951
5d978e17
SL
119522015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11953
11954 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
11955
7e763b86
SL
119562015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11957
11958 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
11959
87a3a92c
SL
119602015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11961
11962 * gdb.base/completion.exp: Skip tests that interrupt GDB with
11963 ctrl-C if nointerrupts target property is set.
11964 * gdb.base/double-prompt-target-event-error.exp: Likewise.
11965 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
11966 * gdb.base/paginate-bg-execution.exp: Likewise.
11967 * gdb.base/paginate-execution-startup.exp: Likewise.
11968 * gdb.base/random-signal.exp: Likewise.
11969 * gdb.base/range-stepping.exp: Likewise.
11970 * gdb.cp/annota2.exp: Likewise.
11971 * gdb.cp/annota3.exp: Likewise.
11972 * gdb.gdb/selftest.exp: Likewise.
11973 * gdb.threads/continue-pending-status.exp: Likewise.
11974 * gdb.threads/leader-exit.exp: Likewise.
11975 * gdb.threads/manythreads.exp: Likewise.
11976 * gdb.threads/pthreads.exp: Likewise.
11977 * gdb.threads/schedlock.exp: Likewise.
11978 * gdb.threads/sigthread.exp: Likewise.
11979
a8f077dc
DB
119802015-12-11 Don Breazeal <donb@codesourcery.com>
11981
11982 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
11983 remote.
11984 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
11985 * gdb.base/foll-exec.exp (main): Enable for target remote.
11986 * gdb.base/foll-fork.exp (main): Likewise.
11987 * gdb.base/foll-vfork.exp (main): Likewise.
11988 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
11989 (proc continue_to_exit_bp_loc): Use clean_restart.
11990 * gdb.base/pie-execl.exp (main): Disable for target remote.
11991 * gdb.base/watch-vfork.exp (main): Enable for target remote.
11992 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
11993 * gdb.threads/execl.exp (main): Likewise.
11994 * gdb.threads/fork-child-threads.exp (main): Likewise.
11995 * gdb.threads/fork-plus-threads.exp (main): Disable for target
11996 remote.
11997 * gdb.threads/fork-thread-pending.exp (main): Enable for target
11998 remote.
11999 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
12000 pid.tid style ptids, instead of just tid.
12001 * gdb.threads/thread-execl.exp (main): Enable for target remote.
12002 * gdb.threads/watchpoint-fork.exp (main): Likewise.
12003 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
12004 ptids, instead of just tid.
12005
3b2464a8
AB
120062015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
12007
12008 * gdb.base/list.exp (test_list_forward): Add end of file error
12009 test.
12010 (test_repeat_list_command): Add end of file error test.
12011 (test_list_backwards): Add beginning of file error test.
12012
a0def019
AB
120132015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
12014
12015 * gdb.base/list.exp (test_list_invalid_args): New function,
12016 defined, and called.
12017
5c000dff
AB
120182015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
12019
12020 * gdb.base/list.exp (test_list): Make test names unique.
12021
f1637ebe
YQ
120222015-12-11 Yao Qi <yao.qi@linaro.org>
12023
12024 * gdb.base/coremaker2.c: Remove.
12025
36d6fc0a
PA
120262015-12-10 Pedro Alves <palves@redhat.com>
12027
12028 * gdb.multi/base.exp: Remove stale "spaces" references.
12029
762f7747
PA
120302015-12-10 Pedro Alves <palves@redhat.com>
12031
12032 * gdb.multi/base.exp: Don't use nowarnings.
12033 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
12034 * gdb.multi/hangout.c: Include stdio.h.
12035 * gdb.multi/hello.c: Include stdlib.h.
12036 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
12037 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
12038 * gdb.multi/multi-arch.exp: Don't use nowarnings.
12039
28d2bfb9
AB
120402015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
12041
12042 * gdb.dwarf2/dw2-ranges-base.c: New file.
12043 * gdb.dwarf2/dw2-ranges-base.exp: New file.
12044 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
12045 support additional line table, and debug ranges generation.
12046 (Dwarf::ranges): New function, generate .debug_ranges.
12047 (Dwarf::lines): Support generating simple line table programs.
12048 (Dwarf::assemble): Initialise new namespace variables.
12049
5fc2beac
KB
120502015-12-09 Kevin Buettner <kevinb@redhat.com>
12051
12052 * gdb.base/async.exp (proc test_background): Add case for
12053 asynchronous execution not supported.
12054
1c35a88f
LM
120552015-12-09 Luis Machado <lgustavo@codesourcery.com>
12056
12057 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
12058 format and change test names to make them unique.
12059
b593e3d9
RK
120602015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
12061 Pedro Alves <pedro@redhat.com>
12062
12063 PR gdb/18702
12064 Add checking of floatformats setup on x86_64 hosts.
12065 * gdb.arch/i386-float.S (main): Load bigval and smallval.
12066 (smallval, bigval): New labels/constants.
12067 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
12068 float" after loading bigval and smallval.
12069
d72413e6
PMR
120702015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
12071
12072 * gdb.ada/fun_overload_menu.exp: New testcase.
12073 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
12074
ece66d65
JS
120752015-12-04 Josh Stone <jistone@redhat.com>
12076
12077 * gdb.base/catch-fork-static.exp: New.
12078
41d0efca
YQ
120792015-12-03 Yao Qi <yao.qi@linaro.org>
12080
12081 * gdb.base/sizeof.c: Don't include stdio.h and
12082 ../lib/unbuffer_output.c.
12083 (main): New variable 'size' and 'value'. Remove printf and
12084 gdb_unbuffer_output. Assign return value to size and value.
12085 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
12086 at the beginning.
12087 (check_sizeof): Check the result by printing variable 'size'.
12088 (check_valueof): Check the result by printing variable 'value'.
12089
99fd02d9
YQ
120902015-12-01 Yao Qi <yao.qi@linaro.org>
12091
12092 * gdb.base/disp-step-syscall.exp: Define syscall instruction
12093 for aarch64*-*-linux* target.
12094
f2faf941
PA
120952015-11-30 Pedro Alves <palves@redhat.com>
12096
12097 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
12098
04bf20c5
PA
120992015-11-30 Pedro Alves <palves@redhat.com>
12100
12101 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
12102 Handle non-stop mode vCont replies.
12103
09df4675
PA
121042015-11-30 Pedro Alves <palves@redhat.com>
12105
12106 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
12107 prepare_for_testing. Start gdb with "set non-stop on" appended to
12108 GDBFLAGS. Lax expected stop output.
12109
58b584af
YQ
121102015-11-27 Yao Qi <yao.qi@linaro.org>
12111
12112 * gdb.arch/arm-neon.exp: New.
12113 * gdb.arch/arm-neon.c: New.
12114
dfcb77a8
YQ
121152015-11-27 Yao Qi <yao.qi@linaro.org>
12116
12117 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
12118
88e8ec1b
YQ
121192015-11-27 Yao Qi <yao.qi@linaro.org>
12120
12121 * gdb.cp/annota2.exp: Allow multiple occurrences of the
12122 frames-invalid annotation.
12123
bfde72c2
YQ
121242015-11-27 Yao Qi <yao.qi@linaro.org>
12125
12126 * gdb.cp/annota2.exp: Use ${frames_invalid}.
12127
f6512a69
SM
121282015-11-26 Simon Marchi <simon.marchi@ericsson.com>
12129
12130 * gdb.threads/names.exp: New file.
12131 * gdb.threads/names.c: New file.
12132 * README: Mention gdb,no_thread_names.
12133
46a3515b
MM
121342015-11-26 Markus Metzger <markus.t.metzger@intel.com>
12135
12136 PR 19297
12137 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
12138 support" error.
12139
62147a22
PA
121402015-11-24 Pedro Alves <palves@redhat.com>
12141
12142 PR 17539
12143 * gdb.base/display.exp: Expect displays to be sorted in ascending
12144 order. Use multi_line.
12145 * gdb.base/solib-display.exp: Likewise.
12146
2f341b6e
PA
121472015-11-24 Pedro Alves <palves@redhat.com>
12148
12149 PR 17539
25d49b86
PA
12150 * gdb.base/display.exp: Expect displays to be sorted in ascending
12151 order. Use multi_line.
12152 * gdb.base/solib-display.exp: Likewise.
2f341b6e 12153
7e0aa6aa
PA
121542015-11-24 Pedro Alves <palves@redhat.com>
12155
12156 PR 17539
12157 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
12158 threads in ascending order.
12159 * gdb.base/foll-fork.exp: Likewise.
12160 * gdb.base/foll-vfork.exp: Likewise.
12161 * gdb.base/multi-forks.exp: Likewise.
12162 * gdb.mi/mi-nonstop.exp: Likewise.
12163 * gdb.mi/mi-nsintrall.exp: Likewise.
12164 * gdb.multi/base.exp: Likewise.
12165 * gdb.multi/multi-arch.exp: Likewise.
12166 * gdb.python/py-inferior.exp: Likewise.
12167 * gdb.threads/break-while-running.exp: Likewise.
12168 * gdb.threads/execl.exp: Likewise.
12169 * gdb.threads/gcore-thread.exp: Likewise.
12170 * gdb.threads/info-threads-cur-sal.exp: Likewise.
12171 * gdb.threads/kill.exp: Likewise.
12172 * gdb.threads/linux-dp.exp: Likewise.
12173 * gdb.threads/multiple-step-overs.exp: Likewise.
12174 * gdb.threads/next-bp-other-thread.exp: Likewise.
12175 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
12176 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
12177 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
12178 * gdb.threads/thread-find.exp: Likewise.
12179 * gdb.threads/tls.exp: Likewise.
12180 * lib/mi-support.exp (mi_reverse_list): Delete.
12181 (mi_check_thread_states): No longer reverse list.
12182
2cc57ad8
PA
121832015-11-24 Pedro Alves <palves@redhat.com>
12184
12185 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
12186 use lowercase.
12187
c93e8391
SM
121882015-11-23 Simon Marchi <simon.marchi@ericsson.com>
12189
12190 * gdb.trace/actions.c: Include trace-common.h.
12191 (main): Add a location for a fast tracepoint.
12192 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
12193 the normal tracepoints.
12194 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
12195
045ccf91
SM
121962015-11-23 Simon Marchi <simon.marchi@ericsson.com>
12197
12198 * save-trace.exp: Factor out code to these...
12199 (gdb_save_tracepoints): New.
12200 (gdb_load_tracepoints): New.
12201 (do_save_load_test): New.
12202
5506f9f6
KB
122032015-11-23 Kevin Buettner <kevinb@redhat.com>
12204
12205 * gdb.base/asmlabel.exp: New test.
12206 * gdb.base/asmlabel.c: New test case.
12207
16c3b12f
JB
122082015-11-23 Joel Brobecker <brobecker@adacore.com>
12209
12210 * gdb.base/wrong_frame_bt_full-main.c: New file.
12211 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
12212 * gdb.base/wrong_frame_bt_full.exp: New file.
12213
155bfbd3
JB
122142015-11-23 Joel Brobecker <brobecker@adacore.com>
12215
12216 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
12217
bb097445
JM
122182015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
12219
206853a0 12220 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
12221 pstate register when comparing registers values in
12222 sparc64-*-linux-gnu targets to avoid spurious differences.
12223
9c88ed8f
JM
122242015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
12225
206853a0 12226 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 12227
96161e25
SL
122282015-11-19 Sandra Loosemore <sandra@codesourcery.com>
12229
12230 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
12231 as type argument to gdb_compile.
12232 * gdb.base/nested-subp2.exp: Likewise.
12233 * gdb.base/nested-subp3.exp: Likewise.
12234
340c2830
DV
122352015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
12236
12237 * lib/dwarf.exp (_note): Fix left shift of negative value.
12238 * gdb.trace/trace-condition.exp: Likewise.
12239
c1862d0f
YQ
122402015-11-13 Yao Qi <yao.qi@linaro.org>
12241
12242 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
12243 comments about d10v.
12244 (test_scalar_returns): Likewise.
12245 * gdb.base/d10v.ld: Remove.
12246 * gdb.base/overlays.exp: Remove the target triplet checking for
12247 d10v-*-*.
12248 * gdb.base/structs.exp (test_struct_returns): Remove the
12249 comments about d10v.
12250 (test_struct_calls): Likewise.
12251
77ae9c19
YQ
122522015-11-13 Yao Qi <yao.qi@linaro.org>
12253
12254 * gdb.base/gnu_vector.exp: Check the return value by "p res".
12255 * gdb.base/gnu_vector.c: Don't include stdio.h.
12256 (main): Don't print res and call add_some_intvecs.
12257
430e004e
MK
122582015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
12259
12260 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
12261 macro.
12262 (func5): Removed.
12263 (func4): Use FAST_TRACEPOINT_LABEL.
12264 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
12265 macro.
12266 (func): Removed.
12267 (thread_function): Use FAST_TRACEPOINT_LABEL.
12268 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
12269 (func): Remove.
12270 (marker): Use FAST_TRACEPOINT_LABEL.
12271 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
12272 (pendfunc1): Remove.
12273 (pendfunc): Use FAST_TRACEPOINT_LABEL.
12274 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
12275 (foo): Remove.
12276 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
12277 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
12278 macro.
12279 (func): Remove.
12280 (marker): Use FAST_TRACEPOINT_LABEL.
12281 * gdb.trace/trace-common.h: New header.
12282 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
12283 macro.
12284 (func): Remove.
12285 (marker): Use FAST_TRACEPOINT_LABEL.
12286 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
12287 (func): Remove.
12288 (thread_function): Use FAST_TRACEPOINT_LABEL.
12289
6e7675a7
MK
122902015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
12291
12292 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
12293 in front.
12294 * gdb.trace/change-loc.exp: Use global pcreg definition.
12295 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
12296 * gdb.trace/entry-values.exp: Use global spreg definition, add $
12297 in front.
12298 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
12299 * gdb.trace/pending.exp: Likewise.
12300 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
12301 * gdb.trace/trace-break.exp: Likewise.
12302 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
12303 in front.
12304 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
12305 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
12306 in front.
12307 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
12308
dddc0e16
JB
123092015-11-09 Joel Brobecker <brobecker@adacore.com>
12310
12311 * gdb.ada/fin_fun_out: New testcase.
12312
c6f0b406
KB
123132015-11-07 Kevin Buettner <kevinb@redhat.com>
12314
12315 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
12316 value associated with DW_AT_byte_size.
12317 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
12318 constants for DW_AT_byte_size, DW_AT_lower_bound, and
12319 DW_AT_upper_bound.
12320
f01dcfd9
KB
123212015-11-07 Kevin Buettner <kevinb@redhat.com>
12322
12323 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
12324 (gdb_target_symbol_prefix_flags): Define in terms of _asm
12325 version.
12326 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
12327 gdb.dwarf2/dw2-canonicalize-type.exp,
12328 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
12329 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
12330 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
12331 provided by gdb_target_symbol_prefix_flags_asm.
12332 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
12333 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
12334 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
12335 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
12336 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
12337 macros where needed). Use this macro for symbols which require
12338 the prefix provided by SYMBOL_PREFIX.
12339
2223449a
KB
123402015-11-05 Kevin Buettner <kevinb@redhat.com>
12341
12342 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
12343 New procs.
12344 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
12345 representing expressions, of more than one list element.
12346 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
12347 to prepend linker symbol prefix to f.
12348 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
12349 table_1 and table_2.
12350 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
12351 Likewise, for f and g.
12352 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
12353 for ptr.
12354 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
12355 for main.
12356 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
12357 table_1_ptr and table_2_ptr.
12358
6f2f1a3a
JK
123592015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12360 Joel Brobecker <brobecker@adacore.com>
12361
12362 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
12363
566c56c9
MK
123642015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
12365
12366 * gdb.reverse/s390-mvcle.c: New test.
12367 * gdb.reverse/s390-mvcle.exp: New file.
12368 * lib/gdb.exp: Enable reverse tests on s390*-linux.
12369
d5f0636b
MK
123702015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
12371
12372 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
12373
7ad8b86c
MK
123742015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
12375
12376 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
12377 reaching marker2.
12378 * gdb.reverse/getresuid-reverse.exp: Likewise.
12379 * gdb.reverse/pipe-reverse.exp: Likewise.
12380 * gdb.reverse/readv-reverse.exp: Likewise.
12381 * gdb.reverse/recvmsg-reverse.exp: Likewise.
12382 * gdb.reverse/time-reverse.exp: Likewise.
12383 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
12384
4081c0f1
YQ
123852015-10-30 Yao Qi <yao.qi@linaro.org>
12386
12387 * gdb.threads/wp-replication.c (watch_count_done): Remove.
12388 (empty_cycle): Remove.
12389 (main): Don't call empty_cycle. Don't use watch_count_done.
12390 * gdb.threads/wp-replication.exp: Don't set breakpoint on
12391 empty_cycle. Rewrite the code counting HW watchpoints.
12392
452b4ba5
MK
123932015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
12394
12395 * gdb.reverse/fstatat-reverse.c: New test.
12396 * gdb.reverse/fstatat-reverse.exp: New file.
12397 * gdb.reverse/getresuid-reverse.c: New test.
12398 * gdb.reverse/getresuid-reverse.exp: New file.
12399 * gdb.reverse/pipe-reverse.c: New test.
12400 * gdb.reverse/pipe-reverse.exp: New file.
12401 * gdb.reverse/readv-reverse.c: New test.
12402 * gdb.reverse/readv-reverse.exp: New file.
12403 * gdb.reverse/recvmsg-reverse.c: New test.
12404 * gdb.reverse/recvmsg-reverse.exp: New file.
12405 * gdb.reverse/time-reverse.c: New test.
12406 * gdb.reverse/time-reverse.exp: New file.
12407 * gdb.reverse/waitpid-reverse.c: New test.
12408 * gdb.reverse/waitpid-reverse.exp: New file.
12409
5e2e7507
JK
124102015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
12411
12412 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
12413
0fde2c53
DE
124142015-10-26 Doug Evans <dje@google.com>
12415
12416 PR symtab/17391
12417 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
12418 * gdb.dwarf2/bad-regnum.c: New file.
12419 * gdb.dwarf2/bad-regnum.exp: New file.
12420
1a70ae97
DE
124212015-10-26 Doug Evans <dje@google.com>
12422
12423 PR python/18938
12424 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
12425 file.
12426
27dc26ab
JK
124272015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12428
12429 * gdb.compile/compile.exp (compile code globalvar): Update expectation
12430 for a change by "Mention language in compile error message".
12431
bed91f4d
SM
124322015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
12433
12434 PR python/18073
12435 * gdb.python/py-type.c (C::a_method): New.
12436 (C::a_const_method): New.
12437 (C::a_static_method): New.
12438 (a_function): New.
12439 * gdb.python/py-type.exp (test_fields): Test getting fields
12440 from function and method.
12441
3f2f83dd
KB
124422015-10-21 Keven Boell <keven.boell@intel.com>
12443
12444 * gdb.fortran/vla-alloc-assoc.exp: New file.
12445 * gdb.fortran/vla-datatypes.exp: New file.
12446 * gdb.fortran/vla-datatypes.f90: New file.
12447 * gdb.fortran/vla-history.exp: New file.
12448 * gdb.fortran/vla-ptype-sub.exp: New file.
12449 * gdb.fortran/vla-ptype.exp: New file.
12450 * gdb.fortran/vla-sizeof.exp: New file.
12451 * gdb.fortran/vla-sub.f90: New file.
12452 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
12453 * gdb.fortran/vla-value-sub-finish.exp: New file.
12454 * gdb.fortran/vla-value-sub.exp: New file.
12455 * gdb.fortran/vla-value.exp: New file.
12456 * gdb.fortran/vla-ptr-info.exp: New file.
12457 * gdb.mi/mi-vla-fortran.exp: New file.
12458 * gdb.mi/vla.f90: New file.
12459
27145d50
SL
124602015-10-21 Sandra Loosemore <sandra@codesourcery.com>
12461
12462 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
12463 of hardwired timeout value.
12464
5f3ff4f8
JK
124652015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12466 Pedro Alves <palves@redhat.com>
12467
12468 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
12469 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
12470
bfd09d20
JS
124712015-10-19 Josh Stone <jistone@redhat.com>
12472
12473 * gdb.base/catch-syscall.c: Include <sched.h>.
12474 (unknown_syscall): New variable.
12475 (main): Trigger a vfork and an unknown syscall.
12476 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
12477 (unknown_syscall_number): Likewise.
12478 (check_call_to_syscall): Accept an optional syscall pattern.
12479 (check_return_from_syscall): Likewise.
12480 (check_continue): Likewise.
12481 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
12482 (test_catch_syscall_skipping_return): New test toggling off 'catch
12483 syscall' to step over the syscall return, then toggling back on.
12484 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
12485 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
12486 (do_syscall_tests): Call test_catch_syscall_without_args and
12487 test_catch_syscall_mid_vfork.
12488 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
12489 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
12490
b32b93c6
AS
124912015-10-19 Andrew Stubbs <ams@codesourcery.com>
12492
12493 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
12494 print g_vE): Add new pass patterns.
12495 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
12496 print various symbol names for vptr fields.
12497
9d622bda
AB
124982015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
12499
12500 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
12501 results.
12502
0fd8ac1c
YQ
125032015-10-12 Yao Qi <yao.qi@linaro.org>
12504
12505 * gdb.arch/disp-step-insn-reloc.exp: New test case.
12506
34240514
YQ
125072015-10-12 Yao Qi <yao.qi@linaro.org>
12508
12509 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
12510 is aarch64*-*-linux*.
12511
8240f442
YQ
125122015-10-12 Yao Qi <yao.qi@linaro.org>
12513
12514 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
12515 (can_relocate_bcond_true): ... it.
12516 (can_relocate_bcond_false): New function.
12517 (foo): Likewise.
12518 (can_relocate_bl): Likewise.
12519 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
12520 can_relocate_bl.
12521
2520f728
PMR
125222015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
12523
12524 * gdb.base/nested-addr.c: New file.
12525 * gdb.base/nested-addr.exp: New testcase.
12526
abcef95a
MM
125272015-10-09 Markus Metzger <markus.t.metzger@intel.com>
12528
12529 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
12530 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
12531 its output. Ignore the output of "record goto begin" and instead
12532 check that GDB is replaying.
12533
145e3ddb
PA
125342015-10-09 Pedro Alves <palves@redhat.com>
12535
12536 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
12537 (top level): Use it in the run with no args test.
12538
d5d8c4e1
IB
125392015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
12540
12541 * gdb.dlang/properties.exp: New file.
12542
06e635ef
SL
125432015-10-02 Sandra Loosemore <sandra@codesourcery.com>
12544
12545 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
12546 whether or not address 0x1000 is mapped on the target.
12547
e019fd1d
SM
125482015-09-30 Simon Marchi <simon.marchi@ericsson.com>
12549
12550 * gdb.python/py-type.exp: Do not run tests if binaries fail to
12551 build.
12552
77ba2a67
MM
125532015-09-30 Markus Metzger <markus.t.metzger@intel.com>
12554
12555 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
12556 instruction-history test.
12557
c60eb31f
DE
125582015-09-28 Doug Evans <dje@google.com>
12559
12560 * gdb.base/gcore.c (array_func): Add reference to static_array.
12561
9a3c8263
SM
125622015-09-25 Simon Marchi <simon.marchi@ericsson.com>
12563
12564 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
12565 source line.
12566
9720e656
SL
125672015-09-24 Sandra Loosemore <sandra@codesourcery.com>
12568
12569 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
12570 short or char as base type.
12571
938d3bf2
SL
125722015-09-23 Sandra Loosemore <sandra@codesourcery.com>
12573
12574 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
12575 to allow any size enum.
12576
e6c2c623
PMR
125772015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
12578
12579 * gdb.ada/array_ptr_renaming.exp: New testcase.
12580 * gdb.ada/array_ptr_renaming/foo.adb: New file.
12581 * gdb.ada/array_ptr_renaming/pack.ads: New file.
12582
06da0f77
PL
125832015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12584
12585 * gdb.trace/ftrace-lock.c: New file.
12586 * gdb.trace/ftrace-lock.exp: New file.
12587
4f51c22a
PL
125882015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12589
12590 * gdb.arch/insn-reloc.c: New file.
12591 * gdb.arch/ftrace-insn-reloc.exp: New file.
12592
7041adf4
PL
125932015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12594
12595 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
12596 instruction.
12597 * gdb.trace/pendshr1.c (pendfunc): Likewise.
12598 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
12599 * gdb.trace/range-stepping.c: Likewise.
12600 * gdb.trace/trace-break.c: Likewise.
12601 * gdb.trace/trace-mt.c (thread_function): Likewise.
12602 * gdb.trace/ftrace.c (marker): Likewise.
12603 * gdb.trace/trace-condition.c (marker): Likewise.
12604 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
12605 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
12606 is_aarch64_target.
12607
015d2e7e
DE
126082015-09-18 Doug Evans <xdje42@gmail.com>
12609
12610 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
12611 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
12612
26b188a2
SL
126132015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12614
12615 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
12616 the breakpoint.
12617
79dc332b
SL
126182015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12619
12620 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
12621 the pending breakpoint. Remove timeout override for "Run till
12622 MI pending breakpoint on pendfunc3 on thread 2" test.
12623
f57929f2
SL
126242015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12625
12626 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
12627 filename pattern.
12628
3f469b17
SL
126292015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12630
12631 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
12632 in breakpoint filename pattern.
12633
515b89b3
SL
126342015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12635
7800dbe4
SL
12636 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
12637
126382015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12639
515b89b3
SL
12640 * gdb.linespec/explicit.exp: Check for readline support for
12641 tab-completion tests. Fix obvious typo.
12642
d2939ba2
MM
126432015-09-18 Markus Metzger <markus.t.metzger@intel.com>
12644
12645 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
12646 and replay.
12647
cbb55fa7
MM
126482015-09-18 Markus Metzger <markus.t.metzger@intel.com>
12649
12650 * gdb.btrace/non-stop.c: New.
12651 * gdb.btrace/non-stop.exp: New.
12652
43691ca1
PL
126532015-09-17 Pierre Langlois <pierre.langlois@arm.com>
12654 Yao Qi <yao.qi@linaro.org>
12655
12656 * gdb.trace/trace-condition.c: New file.
12657 * gdb.trace/trace-condition.exp: New file.
12658
d78908cf
WW
126592015-09-16 Wei-cheng Wang <cole945@gmail.com>
12660
12661 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
12662 for testing bytecode compilation.
12663
1ed415e2
PA
126642015-09-16 Pedro Alves <palves@redhat.com>
12665 Sandra Loosemore <sandra@codesourcery.com>
12666
12667 * gdb.threads/non-stop-fair-events.c (timeout): New global.
12668 (SECONDS): Redefine.
12669 (main): Call pthread_kill and alarm early.
12670 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
12671 support.
12672 (test): If the target can't hardware step and doesn't support
12673 displaced stepping, increase the timeout.
12674
d136eff5
PA
126752015-09-16 Pedro Alves <palves@redhat.com>
12676
12677 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
12678 (enable_debug): New procedures.
12679 (test): Use them. Bail out if waiting for threads fails.
12680 (top level): Bail out if a test fails.
12681
991f019c
YQ
126822015-09-16 Yao Qi <yao.qi@linaro.org>
12683
12684 * gdb.asm/asm-source.exp: Set asm-arch for
12685 aarch64*-*-* target.
12686 * gdb.asm/aarch64.inc: New file.
12687
bfca584f
PMR
126882015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
12689
12690 * gdb.ada/array_of_variable_length.exp: New testcase.
12691 * gdb.ada/array_of_variable_length/foo.adb: New file.
12692 * gdb.ada/array_of_variable_length/pck.adb: New file.
12693 * gdb.ada/array_of_variable_length/pck.ads: New file.
12694
b326e587
DE
126952015-09-15 Doug Evans <dje@google.com>
12696
12697 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
12698 of function static local variable.
12699
5382cfab
PW
127002015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
12701
12702 * gdb.threads/tls-so_extern.exp: New test file.
12703 * gdb.threads/tls-so_extern.c: New test file.
12704 * gdb.threads/tls-so_extern_main.c: New test file.
12705
141c5cc4
JK
127062015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12707
12708 * gdb.opt/solib-intra-step-lib.c: New file.
12709 * gdb.opt/solib-intra-step-main.c: New file.
12710 * gdb.opt/solib-intra-step.exp: New file.
12711
d15dcecd
PA
127122015-09-15 Pedro Alves <palves@redhat.com>
12713
12714 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
12715 gdb_continue_to_breakpoint instead of gdb_test_multiple.
12716
4c2f2a79
PA
127172015-09-14 Pedro Alves <palves@redhat.com>
12718
12719 * gdb.base/hook-stop-continue.c: Delete.
12720 * gdb.base/hook-stop-continue.exp: Delete.
12721 * gdb.base/hook-stop-frame.c: Delete.
12722 * gdb.base/hook-stop-frame.exp: Delete.
12723 * gdb.base/hook-stop.c: New file.
12724 * gdb.base/hook-stop.exp: New file.
12725
919e6dbe
PMR
127262015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
12727
12728 * gdb.ada/access_to_packed_array.exp: New testcase.
12729 * gdb.ada/access_to_packed_array/foo.adb: New file.
12730 * gdb.ada/access_to_packed_array/pack.adb: New file.
12731 * gdb.ada/access_to_packed_array/pack.ads: New file.
12732
157280a4
MM
127332015-09-14 Markus Metzger <markus.t.metzger@intel.com>
12734
12735 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
12736 buffer size test.
12737
2fd33e94
DB
127382015-09-11 Don Breazeal <donb@codesourcery.com>
12739
12740 * gdb.base/foll-exec.c: Add copyright header. Fix
12741 formatting issues.
12742 * gdb.base/foll-exec.exp (zap_session): Delete proc.
12743 (do_exec_tests): Use clean_restart in place of zap_session,
12744 and for test initialization. Fix formatting issues. Use
12745 fail in place of perror.
12746 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
12747 an expect statement to match an expression with output from
12748 the program under debug.
12749 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
12750 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
12751 * gdb.threads/non-ldr-exc-2.exp: Likewise.
12752 * gdb.threads/non-ldr-exc-3.exp: Likewise.
12753 * gdb.threads/non-ldr-exc-4.exp: Likewise.
12754
e70b6e8e
DE
127552015-09-09 Doug Evans <dje@google.com>
12756
12757 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
12758
7a551a51
DE
127592015-09-09 Doug Evans <dje@google.com>
12760
12761 * gdb.base/pie-execl.exp: Fix result test of build_executable.
12762
4c666f84
DE
127632015-09-09 Doug Evans <dje@google.com>
12764
12765 * gdb.base/savedregs.exp: Fix typo.
12766
243a9253
PA
127672015-09-09 Pedro Alves <palves@redhat.com>
12768
12769 * gdb.mi/mi-cli.exp: Add CLI finish tests.
12770
c0fa8fbd
SL
127712015-09-08 Sandra Loosemore <sandra@codesourcery.com>
12772
12773 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
12774 command actually switches threads. Give up on remaining
12775 tests if target fails to stop at breakpoint.
12776
cd7c1778
PMR
127772015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
12778
12779 * gdb.ada/funcall_char.exp: New testcase.
12780 * gdb.ada/funcall_char/foo.adb: New file.
12781
dc5c8746
PMR
127822015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
12783
12784 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
12785 expected outputs. Add two testcases for completing ambiguous
12786 functions.
12787 * gdb.ada/complete/aux_pck.adb: New file.
12788 * gdb.ada/complete/aux_pck.ads: New file.
12789 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
12790 Ambiguous_Func functions.
12791 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
12792 * gdb.ada/complete/pck.adb: Likewise.
12793
4e83a1e7
UW
127942015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
12795
12796 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
12797 failures to run the test program under GDB.
12798
8ce74153
LM
127992015-08-26 Luis Machado <lgustavo@codesourcery.com>
12800
12801 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
12802 to C.
12803
e9756d52
PP
128042015-08-26 Patrick Palka <patrick@parcs.ath.cx>
12805
12806 * gdb.base/run-after-attach.exp: New test file.
12807 * gdb.base/run-after-attach.c: New test file.
12808
8d37573b
DB
128092015-08-26 Don Breazeal <donb@codesourcery.com>
12810
12811 * gdb.base/foll-exec-2.c: New test program.
12812 * gdb.base/foll-exec-2.exp: New test.
12813
63e43d3a
PMR
128142015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
12815
12816 * gdb.base/nested-subp1.exp: New file.
12817 * gdb.base/nested-subp1.c: New file.
12818 * gdb.base/nested-subp2.exp: New file.
12819 * gdb.base/nested-subp2.c: New file.
12820 * gdb.base/nested-subp3.exp: New file.
12821 * gdb.base/nested-subp3.c: New file.
12822
3d40fbb5
PA
128232015-08-24 Pedro Alves <palves@redhat.com>
12824
12825 * gdb.server/connect-without-multi-process.c: New file.
12826 * gdb.server/connect-without-multi-process.exp: New file.
12827
4422ac93
LM
128282015-08-24 Luis Machado <lgustavo@codesourcery.com>
12829
12830 * gdb.opt/inline-markers.c: Make z int.
12831
91dddb86
LM
128322015-08-24 Luis Machado <lgustavo@codesourcery.com>
12833
12834 * gdb.opt/inline-markers.c: Make z volatile.
12835
a48847ee
LM
128362015-08-24 Luis Machado <lgustavo@codesourcery.com>
12837
12838 * gdb.opt/inline-bt.c: New volatile global z.
12839 * gdb.opt/inline-cmds.c: Likewise.
12840 * gdb.opt/inline-locals.c: Likewise.
12841 * gdb.opt/inline-markers.c: New extern global z.
12842 (marker): Use z.
12843 (inline_fn): Likewise.
12844
0ebbc52b
PA
128452015-08-24 Pedro Alves <palves@redhat.com>
12846
12847 * config/m32r-stub.exp: Remove file.
12848 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
12849 * gdb.base/call-rt-st.exp: Likewise.
12850 * gdb.base/call-strs.exp: Likewise.
12851 * gdb.base/default.exp: Remove references to h8300-*-hms and
12852 *-*-udi*.
12853 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
12854
77c365df
AA
128552015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12856
12857 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
12858 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
12859 and "return" use KFAIL when GDB can not read/write the vector
12860 return value.
12861
4313b8c0
GB
128622015-08-21 Gary Benson <gbenson@redhat.com>
12863
12864 * gdb.trace/pending.exp: Cope with remote transfer warnings.
12865
0e433b32
PA
128662015-08-20 Pedro Alves <palves@redhat.com>
12867
12868 * gdb.server/solib-list.exp: No longer expect an interior stop in
12869 non-stop mode.
12870
221e1a37
PA
128712015-08-20 Pedro Alves <palves@redhat.com>
12872
12873 * gdb.server/connect-stopped-target.c: New file.
12874 * gdb.server/connect-stopped-target.exp: New file.
12875
40e3ad0e
PA
128762015-08-20 Pedro Alves <palves@redhat.com>
12877
12878 * gdb.dwarf2/comp-unit-lang.exp: New file.
12879 * gdb.dwarf2/comp-unit-lang.c: New file.
12880
af39b327
PMR
128812015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
12882
12883 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
12884 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
12885
7d45c7c3 128862015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 12887
7d45c7c3
KB
12888 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
12889 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
12890
4d6cceb4
DE
128912015-08-18 Doug Evans <dje@google.com>
12892 Adrian Sendroiu <adrian.sendroiu@freescale.com>
12893
12894 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
12895 skip_python_tests. New arg prompt_regexp.
12896 (skip_python_tests): New function.
12897 * lib/mi-support.exp (mi_skip_python_tests): New function.
12898 * gdb.python/py-mi-objfile-gdb.py: New file.
12899 * gdb.python/py-mi-objfile.c: New file.
12900 * gdb.python/py-mi-objfile.exp: New file.
12901
ad89c2aa
KS
129022015-08-17 Keith Seitz <keiths@redhat.com>
12903
12904 * gdb.linespec/explicit.exp: Move strace test from here ...
12905 * gdb.trace/strace.exp: ... to here.
12906
e3ae3c43
PP
129072015-08-15 Patrick Palka <patrick@parcs.ath.cx>
12908
12909 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
12910 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
12911
604b2636
DE
129122015-08-14 Doug Evans <xdje42@gmail.com>
12913
12914 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
12915 inferior before selecting a new file.
12916
6ff0ba5f
DE
129172015-08-14 Doug Evans <xdje42@gmail.com>
12918
12919 * gdb.mi/mi-disassemble.exp: Update.
12920 * gdb.base/disasm-optim.S: New file.
12921 * gdb.base/disasm-optim.c: New file.
12922 * gdb.base/disasm-optim.h: New file.
12923 * gdb.base/disasm-optim.exp: New file.
12924
9ca98f92
KS
129252015-08-14 Keith Seitz <keiths@redhat.com>
12926
12927 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
12928 "evaluated-by".
12929
52bbc560
JB
129302015-08-13 Joel Brobecker <brobecker@adacore.com>
12931
12932 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
12933
5d8c3ed3
PMR
129342015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
12935
12936 * gdb.ada/fun_renaming.exp: New testcase.
12937 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
12938 * gdb.ada/fun_renaming/pack.adb: New file.
12939 * gdb.ada/fun_renaming/pack.ads: New file.
12940
ea8812bc
KS
129412015-08-12 Keith Seitz <keiths@redhat.com>
12942
12943 * gdb.base/dso2dso.exp: Pass basename of source file in call to
12944 gdb_get_line_number.
12945
4dafcdeb
JB
129462015-08-12 Joel Brobecker <brobecker@adacore.com>
12947
12948 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
12949 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
12950 gdb.base/dso2dso.exp: New files.
12951
5ba32597
SDJ
129522015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
12953 Pedro Alves <palves@redhat.com>
12954 Keith Seitz <keiths@redhat.com>
12955
12956 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
12957 GDBFLAGS.
12958
b6dafabf
PP
129592015-08-12 Patrick Palka <patrick@parcs.ath.cx>
12960
12961 * gdb.base/gdbhistsize-history.exp
12962 (test_histsize_history_setting): Use save_vars.
12963 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12964 Use save_vars.
12965 (test_no_truncation_of_unlimited_history_file): Use save_vars.
12966 * gdb.base/readline.exp: Use save_vars.
12967
abe8e607
PP
129682015-08-12 Patrick Palka <patrick@parcs.ath.cx>
12969
12970 * lib/gdb.exp (save_vars): New proc.
12971
629500fa
KS
129722015-08-11 Keith Seitz <keiths@redhat.com>
12973
12974 * gdb.base/help.exp: Update help_breakpoint_text.
12975
eb8c4e2e
KS
129762015-08-11 Keith Seitz <keiths@redhat.com>
12977
12978 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
12979 (at toplevel): Call test_explicit_breakpoints.
12980 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
12981 breakpoints.
12982 * lib/mi-support.exp (mi_make_breakpoint): Add support for
12983 breakpoint conditions, "-cond".
12984
87f0e720
KS
129852015-08-11 Keith Seitz <keiths@redhat.com>
12986
12987 * gdb.linespec/3explicit.c: New file.
12988 * gdb.linespec/cpexplicit.cc: New file.
12989 * gdb.linespec/cpexplicit.exp: New file.
12990 * gdb.linespec/explicit.c: New file.
12991 * gdb.linespec/explicit.exp: New file.
12992 * gdb.linespec/explicit2.c: New file.
12993 * gdb.linespec/ls-errs.exp: Add explicit location tests.
12994 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
12995 before using in the matching pattern.
12996 Clarify that `prefix' is a regular expression.
12997
f00aae0f
KS
129982015-08-11 Keith Seitz <keiths@redhat.com>
12999
13000 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
13001 test.
13002 Add tests for missing ",FMT" and ",".
13003
e27852be
DE
130042015-08-10 Doug Evans <dje@google.com>
13005 Keith Seitz <keiths@redhat.com>
13006
13007 PR gdb/17960
13008 * gdb.base/completion.exp: Add location completer tests.
13009
7f03bd92
PA
130102015-08-07 Pedro Alves <palves@redhat.com>
13011
13012 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
13013 tests here.
13014 (top level): Run do_test with and without displaced stepping.
13015
3fc8eb30
PA
130162015-08-07 Pedro Alves <palves@redhat.com>
13017
13018 * gdb.base/valgrind-disp-step.c: New file.
13019 * gdb.base/valgrind-disp-step.exp: New file.
13020
d4569d7b
PA
130212015-08-07 Pedro Alves <palves@redhat.com>
13022
13023 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
13024 Delete function.
13025 (main): Add alarm. Run an infinite loop instead of calling
13026 wait_threads.
13027 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
13028 comment.
13029 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
13030 Delete function.
13031 (main): Add alarm. Run an infinite loop instead of calling
13032 wait_threads.
13033 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
13034 comment.
13035
e1316e60
PA
130362015-08-07 Pedro Alves <palves@redhat.com>
13037
13038 * gdb.base/checkpoint-ns.exp: New file.
13039 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
13040 standard_testfile.
13041
da8c46d2
MM
130422015-08-07 Markus Metzger <markus.t.metzger@intel.com>
13043
13044 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
13045 * gdb.btrace/instruction_history.exp: Update.
13046 * gdb.btrace/tsx.exp: New.
13047 * gdb.btrace/tsx.c: New.
13048
de1c2c52
PA
130492015-08-06 Pedro Alves <palves@redhat.com>
13050
13051 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
13052 increase timeout.
13053 * gdb.reverse/until-precsave.exp: Bump timeouts.
13054
782e0bf4
PA
130552015-08-06 Pedro Alves <palves@redhat.com>
13056
13057 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
13058
83e97ed0
PA
130592015-08-06 Pedro Alves <palves@redhat.com>
13060
13061 PR gdb/18749
13062 * gdb.threads/process-dies-while-handling-bp.c: New file.
13063 * gdb.threads/process-dies-while-handling-bp.exp: New file.
13064
863d01bd
PA
130652015-08-06 Pedro Alves <palves@redhat.com>
13066
13067 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
13068 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
13069
0a39bb32
PA
130702015-08-05 Pedro Alves <palves@redhat.com>
13071
13072 * gdb.threads/next-while-other-thread-longjmps.c: New file.
13073 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
13074
ee2d2b10
SL
130752015-08-03 Sandra Loosemore <sandra@codesourcery.com>
13076
13077 * gdb.base/bp-permanent.exp: Report test as unsupported if
13078 the target cannot stop at the permanent breakpoint.
13079
4e1bdb00
DE
130802015-08-03 Doug Evans <dje@google.com>
13081
13082 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
13083 10000.
13084
3d338901
DE
130852015-08-03 Doug Evans <dje@google.com>
13086
13087 * Makefile.in (workers/%.worker, build-perf): New rule.
13088 (GDB_PERFTEST_MODE): New variable.
13089 (check-perf): Use it.
13090 (clean): Clean up gdb.perf parallel build subdirs.
13091 * lib/build-piece.exp: New file.
13092 * lib/gdb.exp (make_gdb_parallel_path): New function
13093 (standard_output_file, standard_temp_file): Call it.
13094 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13095 of $GDB_PARALLEL.
13096 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
13097
af061d3e
DE
130982015-08-03 Doug Evans <dje@google.com>
13099
8e1afc81 13100 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
13101 (LOG_FILE_NAME): New global.
13102 (TextReporter.__init__): Initialize self.txt_sum.
13103 (TextReporter.report): Add support for multiple data-points.
13104 Move report to perftest.sum, put raw data in perftest.log.
13105 (TextReporter.start): Open sum and log files.
13106 (TextReporter.end): Close sum and log files.
8e1afc81
DE
13107 * gdb.perf/lib/perftest/testresult.py
13108 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 13109
2c8c5d37
PA
131102015-07-31 Pedro Alves <palves@redhat.com>
13111
13112 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
13113 Use spawn_id_get_pid. Wait for spawn id after eof. Use
13114 kill_wait_spawned_process instead of explicit "kill -9".
13115 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
13116 returning a spawn id instead of a pid. Use spawn_id_get_pid and
13117 kill_wait_spawned_process.
13118 * gdb.base/attach-twice.exp: Likewise.
13119 * gdb.base/attach.exp: Likewise.
13120 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
13121 gdb_test_multiple.
13122 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
13123 returning a spawn id instead of a pid. Use spawn_id_get_pid and
13124 kill_wait_spawned_process.
13125 * gdb.base/valgrind-infcall.exp: Likewise.
13126 * gdb.multi/multi-attach.exp: Likewise.
13127 * gdb.python/py-prompt.exp: Likewise.
13128 * gdb.python/py-sync-interp.exp: Likewise.
13129 * gdb.server/ext-attach.exp: Likewise.
13130 * gdb.threads/attach-into-signal.exp (corefunc): Use
13131 spawn_wait_for_attach, spawn_id_get_pid and
13132 kill_wait_spawned_process.
13133 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
13134 spawn_wait_for_attach returning a spawn id instead of a pid. Use
13135 spawn_id_get_pid and kill_wait_spawned_process.
13136 * gdb.threads/attach-stopped.exp (corefunc): Use
13137 spawn_wait_for_attach, spawn_id_get_pid and
13138 kill_wait_spawned_process.
13139 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
13140 Use spawn_id_get_pid. Wait for spawn id after eof. Use
13141 kill_wait_spawned_process instead of explicit "kill -9".
13142 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
13143 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
13144 (spawn_wait_for_attach): Use spawn instead of exec to spawn
13145 processes. Don't map cygwin/windows pids here. Now returns a
13146 spawn id list.
13147
032a0fca
SL
131482015-07-30 Sandra Loosemore <sandra@codesourcery.com>
13149
13150 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
13151 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
13152 correct patch.
13153
61a934ca
SL
131542015-07-30 Sandra Loosemore <sandra@codesourcery.com>
13155
13156 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
13157
4bc4d428
SL
131582015-07-30 Sandra Loosemore <sandra@codesourcery.com>
13159
13160 Reapply:
13161 2014-05-21 Mark Wielaard <mjw@redhat.com>
13162
13163 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
13164
998d452a
PA
131652015-07-30 Pedro Alves <palves@redhat.com>
13166
13167 * linux-low.c (handle_extended_wait): Set the child's last
13168 reported status to TARGET_WAITKIND_STOPPED.
13169
69dde7dc
PA
131702015-07-30 Pedro Alves <palves@redhat.com>
13171
13172 PR threads/18600
13173 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
13174 only shows inferior 1.
13175
4dd63d48
PA
131762015-07-30 Simon Marchi <simon.marchi@ericsson.com>
13177 Pedro Alves <palves@redhat.com>
13178
13179 PR threads/18600
13180 * gdb.threads/fork-plus-threads.c: New file.
13181 * gdb.threads/fork-plus-threads.exp: New file.
13182
d618e4c5
PP
131832015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13184
13185 * gdb.base/batch-preserve-term-settings.exp
13186 (test_terminal_settings_preserved_after_cli_exit): Use
13187 send_quit_command.
13188
1eef6428
PA
131892015-07-29 Pedro Alves <palves@redhat.com>
13190 Don Breazeal <donb@codesourcery.com>
13191
13192 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
13193 output from both inferior_spawn_id and gdb_spawn_id.
13194
7da5b897
SDJ
131952015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
13196
13197 * gdb.threads/attach-into-signal.exp (corefunc): Use
13198 with_test_prefix on nested loops, uniquefying the test messages.
13199
dac804df
SDJ
132002015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
13201
13202 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
13203 commit.
13204
06265e53
PP
132052015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13206
13207 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
13208 New proc.
13209 (test_terminal_settings_preserved_after_sigterm): New test.
13210
18206ca3
PP
132112015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13212
13213 * gdb.base/batch-preserve-term-settings.exp
13214 (test_terminal_settings_preserved_after_cli_exit): New test.
13215
90074d11
PP
132162015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13217
13218 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
13219 manipulation of saved_gdbflags.
13220 (test_terminal_settings_preserved): Remove global declaration of
13221 the unused variable pagination_prompt. Remove manipulation of
13222 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
13223 GDBFLAGS.
13224
eb1a7902
PA
132252015-07-29 Pedro Alves <palves@redhat.com>
13226
13227 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
13228
8b75dd3b
PA
132292015-07-29 Pedro Alves <palves@redhat.com>
13230
13231 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
13232 at the top.
13233
dedad4e3
PA
132342015-07-29 Pedro Alves <palves@redhat.com>
13235
13236 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
13237 (main): Call gdb_unbuffer_output.
13238 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
13239 (main): Call gdb_unbuffer_output.
13240 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
13241 (main): Call gdb_unbuffer_output.
13242 * gdb.base/call-strs.exp: Adjust to step over the
13243 gdb_unbuffer_output call.
13244 * gdb.base/catch-gdb-caused-signals.c: Include
13245 "../lib/unbuffer_output.c".
13246 (main): Call gdb_unbuffer_output.
13247 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
13248 (main): Call gdb_unbuffer_output.
13249 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
13250 (main): Call gdb_unbuffer_output.
13251 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
13252 (main): Call gdb_unbuffer_output.
13253 * gdb.base/shlib-call.exp: Adjust to step over the
13254 gdb_unbuffer_output call.
13255 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
13256 (main): Call gdb_unbuffer_output.
13257 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
13258 (main): Call gdb_unbuffer_output.
13259 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
13260 (main): Rename to ...
13261 (test): ... this.
13262 (main): Reimplement.
13263 * gdb.base/varargs.exp: Run to test instead of to main.
13264 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
13265 (main): Call gdb_unbuffer_output.
13266
58789a91
PA
132672015-07-29 Pedro Alves <palves@redhat.com>
13268
13269 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
13270 factore out from mi_continue_dprintf. For call-style dprintfs,
13271 expect dprintf output out of $inferior_spawn_id.
13272 (mi_continue_dprintf): Use mi_expect_dprintf.
13273 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
13274 (main): Call gdb_unbuffer_output.
13275
e8376742
PA
132762015-07-29 Pedro Alves <palves@redhat.com>
13277
13278 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
13279 (default_mi_gdb_start): Set inferior_spawn_id instead of
13280 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
13281 gdb_spawn_id.
13282 (mi_gdb_test): Always expect inferior output from both
13283 $inferior_spawn_id and $gdb_spawn_id.
13284
08280010
PA
132852015-07-29 Pedro Alves <palves@redhat.com>
13286
13287 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
13288 send_inferior and $inferior_spawn_id.
13289
4d30e432
PA
132902015-07-29 Pedro Alves <palves@redhat.com>
13291
13292 * gdb.gdb/complaints.exp (test_initial_complaints)
13293 (test_serial_complaints, test_short_complaints): Use
13294 gdb_test_stdio.
13295 (test_empty_complaint): Handle $inferior_spawn_id !=
13296 $gdb_spawn_id.
13297
0d30a335
PA
132982015-07-29 Pedro Alves <palves@redhat.com>
13299
13300 * gdb.base/varargs.exp: Use gdb_test_stdio.
13301
39413b29
PA
133022015-07-29 Pedro Alves <palves@redhat.com>
13303
13304 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
13305
7cb000a9
PA
133062015-07-29 Pedro Alves <palves@redhat.com>
13307
13308 * gdb.base/ending-run.exp: Use gdb_test_stdio.
13309
d7b8ac82
PA
133102015-07-29 Pedro Alves <palves@redhat.com>
13311
13312 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
13313 parameter into two new parameters, "inf_result" and "gdb_result".
13314 Expect inferior output and gdb output from $inferior_spawn_id and
13315 $gdb_spawn_id, respectively. Adjust all callers.
13316
789c3a0c
PA
133172015-07-29 Pedro Alves <palves@redhat.com>
13318
13319 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
13320 of gdb_test_sequence.
13321
77e760c3
PA
133222015-07-29 Pedro Alves <palves@redhat.com>
13323
13324 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
13325 (saw_spurious_output): Expect inferior output from
13326 $inferior_spawn_id. Use gdb_test_stdio.
13327
8396d2cd
PA
133282015-07-29 Pedro Alves <palves@redhat.com>
13329
13330 * gdb.base/dprintf.exp: Use standard_testfile. Change
13331 prepare_for_testing call.
13332 (srcfile): Don't set.
13333 (restart): New procedure.
13334 (test_dprintf): New procecure, use to continue over dprintfs.
13335 (test_call, test_agent): New procedures, tests moved here.
13336 Restart gdb and recreate dprintfs. Adjust expected output.
13337
2051d61f
PA
133382015-07-29 Pedro Alves <palves@redhat.com>
13339
13340 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
13341
452397af
PA
133422015-07-29 Pedro Alves <palves@redhat.com>
13343
13344 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
13345
8aed9555
PA
133462015-07-29 Pedro Alves <palves@redhat.com>
13347
13348 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
13349 gdb_test_stdio.
13350
188a61b4
PA
133512015-07-29 Pedro Alves <palves@redhat.com>
13352
13353 * lib/gdb.exp (gdb_test_stdio): New procedure.
13354
12264a45
PA
133552015-07-29 Pedro Alves <palves@redhat.com>
13356
13357 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
13358
23ffc893
PA
133592015-07-29 Pedro Alves <palves@redhat.com>
13360
13361 * gdb.base/call-signal-resume.exp: Remove check for
13362 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
13363 * gdb.base/unwindonsignal.exp: Likewise.
13364 * gdb.base/call-signals.c (gen_signal): Remove printf call.
13365 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
13366
65566918
PA
133672015-07-29 Pedro Alves <palves@redhat.com>
13368
13369 * gdb.base/siginfo-addr.c (pass): New function.
13370 (handler): Call it iff si_addr is correct.
13371 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
13372 Set a breakpoint at "pass" and continue to it.
13373
d60a9221
SDJ
133742015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
13375
13376 * gdb.python/py-objfile.exp: Make some tests have unique names.
13377 * gdb.python/py-pp-registration.exp: Likewise.
13378
bde40b8f
PA
133792015-07-28 Pedro Alves <palves@redhat.com>
13380
13381 * gdb.server/server-exec-info.exp: Issue a "disconnect".
13382
13e1dec8
SM
133832015-07-27 Simon Marchi <simon.marchi@ericsson.com>
13384
13385 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
13386
da33c9a7
SM
133872015-07-27 Simon Marchi <simon.marchi@ericsson.com>
13388
13389 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
13390
077836f7
PP
133912015-07-27 Patrick Palka <patrick@parcs.ath.cx>
13392
13393 * gdb.base/gdb-sigterm-2.exp: New test.
13394
b8cc7b2e
DE
133952015-07-25 Doug Evans <xdje42@gmail.com>
13396
13397 Revert:
13398 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
13399 (workers/%.worker, build-perf): New rule.
13400 (GDB_PERFTEST_MODE): New variable.
13401 (check-perf): Use it.
13402 (clean): Clean up gdb.perf parallel build subdirs.
13403 * lib/build-piece.exp: New file.
13404 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
13405 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
13406 name.
13407 (standard_temp_file): Ditto.
13408 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13409 of $GDB_PARALLEL.
13410
c8bd4544
DE
134112015-07-24 Doug Evans <dje@google.com>
13412
13413 * gdb.perf/lib/perftest/utils.py: New file.
13414 * gdb.perf/gm-hello.cc: New file.
13415 * gdb.perf/gm-pervasive-typedef.cc: New file.
13416 * gdb.perf/gm-pervasive-typedef.h: New file.
13417 * gdb.perf/gm-std.cc: New file.
13418 * gdb.perf/gm-std.h: New file.
13419 * gdb.perf/gm-use-cerr.cc: New file.
13420 * gdb.perf/gm-utils.h: New file.
13421 * gdb.perf/gmonster-null-lookup.py: New file.
13422 * gdb.perf/gmonster-pervasive-typedef.py: New file.
13423 * gdb.perf/gmonster-print-cerr.py: New file.
13424 * gdb.perf/gmonster-ptype-string.py: New file.
13425 * gdb.perf/gmonster-runto-main.py: New file.
13426 * gdb.perf/gmonster-select-file.py: New file.
13427 * gdb.perf/gmonster1-null-lookup.exp: New file.
13428 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
13429 * gdb.perf/gmonster1-print-cerr.exp: New file.
13430 * gdb.perf/gmonster1-ptype-string.exp: New file.
13431 * gdb.perf/gmonster1-runto-main.exp: New file.
13432 * gdb.perf/gmonster1-select-file.exp: New file.
13433 * gdb.perf/gmonster1.cc: New file.
13434 * gdb.perf/gmonster1.exp: New file.
13435 * gdb.perf/gmonster2-null-lookup.exp: New file.
13436 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
13437 * gdb.perf/gmonster2-print-cerr.exp: New file.
13438 * gdb.perf/gmonster2-ptype-string.exp: New file.
13439 * gdb.perf/gmonster2-runto-main.exp: New file.
13440 * gdb.perf/gmonster2-select-file.exp: New file.
13441 * gdb.perf/gmonster2.cc: New file.
13442 * gdb.perf/gmonster2.exp: New file.
13443
6eab34f3
DE
134442015-07-24 Doug Evans <dje@google.com>
13445
13446 * gdb.perf/README: New file.
13447 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
13448 * lib/gen-perf-test.exp: New file.
13449
63738bfd
DE
134502015-07-24 Doug Evans <dje@google.com>
13451
13452 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
13453 (PerfTest::startup): New function.
13454 (PerfTest::run): Return result of calling body.
13455 (PerfTest::assemble): Rewrite.
13456 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
13457 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
13458 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
13459 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
13460 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
13461
7b606f95
DE
134622015-07-24 Doug Evans <dje@google.com>
13463
13464 * lib/gdb.exp (clean_restart): Make executable optional.
13465
a97b16b8
DE
134662015-07-24 Doug Evans <dje@google.com>
13467
13468 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
13469 compiler_info references.
13470 * gdb.cp/temargs.exp: Ditto.
13471 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
13472 (get_compiler_info): Early exit if already computed. Set compiler_info
13473 to "unknown" if there was a problem.
13474 (test_compiler_info): Add function comment. Call get_compiler_info.
13475
35baa57f
DE
134762015-07-24 Doug Evans <dje@google.com>
13477
13478 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
13479 (workers/%.worker, build-perf): New rule.
13480 (GDB_PERFTEST_MODE): New variable.
13481 (check-perf): Use it.
13482 (clean): Clean up gdb.perf parallel build subdirs.
13483 * lib/build-piece.exp: New file.
13484 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
13485 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
13486 name.
13487 (standard_temp_file): Ditto.
13488 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13489 of $GDB_PARALLEL.
13490
6ebea266
DE
134912015-07-24 Doug Evans <dje@google.com>
13492
13493 * lib/future.exp (gdb_default_target_compile): New option
13494 "early_flags".
13495 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
13496 --as-needed.
13497
1e76a7e9
SDJ
134982015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
13499
13500 * gdb.base/catch-syscall.exp: Call gdb_exit before
13501 gdb_skip_xml_test.
13502
5068630a
PA
135032015-07-24 Pedro Alves <palves@redhat.com>
13504
13505 * gdb.python/py-events.exp: Accept output between the stop event
13506 and the prompt.
13507 * gdb.python/py-evsignal.exp: Likewise.
13508 * gdb.python/py-evthreads.exp: Likewise.
13509
77598427
PA
135102015-07-24 Pedro Alves <palves@redhat.com>
13511
13512 PR gdb/18717
13513 * gdb.threads/non-ldr-exit.c: New file.
13514 * gdb.threads/non-ldr-exit.exp: New file.
13515
11e6c98f
YQ
135162015-07-24 Yao Qi <yao.qi@linaro.org>
13517
13518 * gdb.server/ext-wrapper.exp: Test --wrapper option when
13519 restarting process.
13520
51aee833
YQ
135212015-07-24 Yao Qi <yao.qi@linaro.org>
13522
13523 * gdb.server/ext-restart.exp: New file.
13524
8cfe207c
YQ
135252015-07-24 Yao Qi <yao.qi@linaro.org>
13526
13527 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
13528 argument options.
13529 * gdb.server/ext-wrapper.exp: New file.
13530
cc12ce38
DE
135312015-07-23 Doug Evans <dje@google.com>
13532
13533 * gdb.dwarf2/dw2-dummy-cu.S: New file.
13534 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
13535
d0d84780
PMR
135362015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
13537
13538 * gdb.ada/var_arr_typedef.exp: New testcase.
13539 * gdb.ada/var_arr_typedef/pack.adb: New file.
13540 * gdb.ada/var_arr_typedef/pack.ads: New file.
13541 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
13542
8b558f79
JB
135432015-07-20 Joel Brobecker <brobecker@adacore.com>
13544
13545 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
13546
775a3298
JK
135472015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13548
13549 * gdb.arch/i386-biarch-core.exp: Replace istarget
13550 by "complete set gnutarget". Remove expectation for the "core-file"
13551 command.
13552
db1ff28b
JK
135532015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13554
13555 Revert the previous commit:
13556 Tests for validate symbol file using build-id.
13557
0a94970d
JK
135582015-07-15 Aleksandar Ristovski <aristovski@qnx.com
13559
13560 Tests for validate symbol file using build-id.
13561 * gdb.base/solib-mismatch-lib.c: New file.
13562 * gdb.base/solib-mismatch-libmod.c: New file.
13563 * gdb.base/solib-mismatch.c: New file.
13564 * gdb.base/solib-mismatch.exp: New file.
13565
03346981
SL
135662015-07-15 Sandra Loosemore <sandra@codesourcery.com>
13567
13568 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
13569 nios2-*-linux*.
13570 * gdb.base/sigbpt.exp (stepi_out): Likewise.
13571 * gdb.base/siginfo.exp: Likewise.
13572 * gdb.base/sigstep.exp (advance, advancei): Likewise.
13573
42422cc7
PL
135742015-07-15 Pierre Langlois <pierre.langlois@arm.com>
13575
13576 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
13577 Move it to ...
13578 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
13579 ... here.
13580 * gdb.trace/range-stepping.exp: Check that the target supports
13581 range stepping.
13582
cfa68bae
JK
135832015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13584
13585 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
13586
8ffdba26
PA
135872015-07-14 Pedro Alves <palves@redhat.com>
13588
13589 * gdb.base/killed-outside.exp: New file.
13590 * gdb.base/killed-outside.c: New file.
13591
218a5a11
JK
135922015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
13593
13594 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
13595 (n at main): New.
13596 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
13597
e03ed3c6
AA
135982015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
13599
13600 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
13601 infcall tests instead of setting up for KFAIL.
13602
485668e5
MM
136032015-07-10 Markus Metzger <markus.t.metzger@intel.com>
13604
13605 * gdb.btrace/record_goto-step.exp: New.
13606
08464196
JK
136072015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13608
13609 PR compile/18484
13610 * gdb.compile/compile.c (struct struct_type): Add volatile to
13611 selffield's type.
13612 * gdb.compile/compile.exp
13613 (compile code struct_object.selffield = &struct_object): Skip further
13614 struct_object tests if this one xfails.
13615
bcf5c1d9
RC
136162015-07-08 Robert O'Callahan <robert@ocallahan.org>
13617
13618 PR exp/18617
13619 * gdb.trace/ax.exp: Add test.
13620
4931af25
YQ
136212015-07-07 Yao Qi <yao.qi@linaro.org>
13622
13623 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
13624 instead of istarget "aarch64*-*-*".
13625 * gdb.arch/aarch64-fp.exp: Likewise.
13626 * gdb.base/float.exp: Likewise.
13627 * gdb.reverse/aarch64.exp: Likewise.
13628 * lib/gdb.exp (is_aarch64_target): New proc.
13629
9fcf688e
YQ
136302015-07-07 Yao Qi <yao.qi@linaro.org>
13631
13632 * lib/gdb.exp (is_aarch32_target): New proc.
13633 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
13634 instead of "istarget "arm*-*-*"".
13635 * gdb.arch/arm-disp-step.exp: Likewise.
13636 * gdb.arch/thumb-bx-pc.exp: Likewise.
13637 * gdb.arch/thumb-prologue.exp: Likewise.
13638 * gdb.arch/thumb-singlestep.exp: Likewise.
13639 * gdb.base/disp-step-syscall.exp: Likewise.
13640 * gdb.base/float.exp: Likewise.
13641
fbd8d50d
YQ
136422015-07-07 Yao Qi <yao.qi@linaro.org>
13643
13644 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
13645 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
13646
71be1fdc
YQ
136472015-07-07 Yao Qi <yao.qi@linaro.org>
13648
13649 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
13650 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
13651 if it exists.
13652 * gdb.multi/multi-arch.exp: Likewise.
13653
3e221d36
SM
136542015-07-07 Simon Marchi <simon.marchi@ericsson.com>
13655
13656 * gdb.python/py-lazy-string.exp: Add missing parentheses to
13657 print.
13658
d441430b
YQ
136592015-07-07 Yao Qi <yao.qi@linaro.org>
13660
13661 * gdb.arch/thumb-singlestep.exp: Do one more single step.
13662
06f810bd
MG
136632015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
13664
13665 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
13666 '[' and ']' characters.
13667
5e61e7c0
IB
136682015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
13669
13670 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
13671
28bf096c
PA
136722015-06-29 Pedro Alves <palves@redhat.com>
13673
13674 PR threads/18127
13675 * gdb.threads/hand-call-new-thread.c: New file.
13676 * gdb.threads/hand-call-new-thread.c: New file.
13677
ee93cd5e
KS
136782015-06-26 Keith Seitz <keiths@redhat.com>
13679 Doug Evans <dje@google.com>
13680
13681 PR 16253
13682 * gdb.cp/var-tag-2.cc: New file.
13683 * gdb.cp/var-tag-3.cc: New file.
13684 * gdb.cp/var-tag-4.cc: New file.
13685 * gdb.cp/var-tag.cc: New file.
13686 * gdb.cp/var-tag.exp: New file.
13687
fc637f04
PP
136882015-06-26 Patrick Palka <patrick@parcs.ath.cx>
13689
13690 * gdb.base/history-duplicates.exp: New test.
13691
2e52ae68
PP
136922015-06-26 Patrick Palka <patrick@parcs.ath.cx>
13693
13694 * gdb.base/completion.exp: Test the completion of the "focus"
13695 command.
13696
6e22494e
JK
136972015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13698
13699 * gdb.arch/amd64-prologue-skip.S: New file.
13700 * gdb.arch/amd64-prologue-skip.exp: New file.
13701
bf7b9cd9
SM
137022015-06-25 Simon Marchi <simon.marchi@ericsson.com>
13703
13704 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
13705 is_address_zero_readable check.
13706
201e8dfd
PB
137072015-06-24 Peter Bergner <bergner@vnet.ibm.com>
13708
13709 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
13710 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
13711
5cd867b4
YQ
137122015-06-24 Yao Qi <yao.qi@linaro.org>
13713
13714 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
13715 linux targets.
13716
4d7be007
YQ
137172015-06-24 Yao Qi <yao.qi@linaro.org>
13718
13719 * lib/gdb.exp (supports_get_siginfo_type): New proc.
13720 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
13721 * gdb.base/siginfo-thread.exp: Likewise.
13722
07fcd301
YQ
137232015-06-22 Yao Qi <yao.qi@linaro.org>
13724
13725 * boards/remote-gdbserver-on-localhost.exp: Add comments.
13726
52042a00
YQ
137272015-06-22 Yao Qi <yao.qi@linaro.org>
13728
13729 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
13730 aarch64*-*-*.
13731 (skip_hw_watchpoint_tests): Likewise.
13732
74bd41ce
PP
137332015-06-18 Patrick Palka <patrick@parcs.ath.cx>
13734
13735 * gdb.base/gdbinit-history.exp: Test the interaction between
13736 setting GDBHISTSIZE and setting the history size via .gdbinit.
13737
bc460514
PP
137382015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13739
13740 PR gdb/16999
13741 * gdb.base/gdbhistsize-history.exp: New test.
13742
b58c513b
PP
137432015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13744
13745 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
13746 with GDBHISTSIZE.
13747 * gdb.base/readline.exp: Likewise.
13748
92046791
YQ
137492015-06-17 Yao Qi <yao.qi@linaro.org>
13750
13751 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
13752 line.
13753
2093d2d3
PP
137542015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13755
13756 * gdb.base/gdbinit-history.exp: Add test case to check that
13757 an unlimited history file does not get truncated on exit.
13758
e6c693af
AA
137592015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13760
13761 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
13762 (VECTOR): New macro. Use it...
13763 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
13764 ...for these typedefs.
13765 (int8, char1, int1, double1): New typedefs.
13766 (struct just_int2, struct two_int2): New structures.
13767 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
13768 (add_structvecs, add_singlevecs): New functions.
13769 (main): Call add_some_intvecs twice.
13770 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
13771 the compile and exit upon failure. Try compiling for the "native"
13772 architecture. Test inferior function calls with vector arguments
13773 and vector return value handling with "finish" and "return".
13774
c74f7d1c
JT
137752015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
13776
13777 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
13778 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
13779 PE file.
13780 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
13781
98aa42ee
AT
137822015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
13783
13784 PR breakpoints/16465
13785 * gdb.mi/mi-dprintf-pending.c: New file.
13786 * gdb.mi/mi-dprintf-pending.exp: New test.
13787 * gdb.mi/mi-dprintf-pendshr.c: New file.
13788
7d73c23c 137892015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 13790 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
13791
13792 * gdb.arch/i386-mpx-map.c: New file.
13793 * gdb.arch/i386-mpx-map.exp: New File.
13794
137952015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13796
13797 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
13798 * gdb.arch/i386-mpx.exp: Indentation fixed.
13799
138002015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13801
13802 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
13803 function and improved indentation.
13804 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
13805 gdb_test_multiple. Added additional tests to skip the test.
13806
138072015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13808
13809 * gdb.arch/i386-avx512.c: Change path in include file.
13810 * gdb.arch/i386-avx512.exp: Change include dir path
13811 compilation flag.
13812 * gdb.arch/i386-mpx.c: Change path in include file.
13813 * gdb.arch/i386-mpx.exp: Change include dir path compilation
13814 flag.
13815
d5eba19a
JK
138162015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
13817
13818 * gdb.compile/compile-print.exp (compile print *vararray@3)
13819 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
13820
7f361056
JK
138212015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13822
13823 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
13824 (do not keep jit in memory): ... this.
13825 (expect 5): Change it to ...
13826 (expect no 5): ... this.
13827
3b462ec2
SM
138282015-06-02 Simon Marchi <simon.marchi@ericsson.com>
13829
13830 PR gdb/15564
13831 * gdb.mi/mi-detach.exp: New file.
13832
e0619de6
JK
138332015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13834
13835 PR symtab/18392
13836 * gdb.arch/amd64-tailcall-self.S: New file.
13837 * gdb.arch/amd64-tailcall-self.c: New file.
13838 * gdb.arch/amd64-tailcall-self.exp: New file.
13839
e970cb34
DB
138402015-05-28 Don Breazeal <donb@codesourcery.com>
13841
13842 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
13843 tests for remote targets by checking is_target_gdbserver.
13844
b2e2f908
DE
138452015-05-27 Doug Evans <dje@google.com>
13846
13847 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
13848 * gdb.dwarf2/opaque-type-lookup.c: New file.
13849 * gdb.dwarf2/opaque-type-lookup.exp: New file.
13850
82c7be31
DE
138512015-05-26 Doug Evans <dje@google.com>
13852
13853 * gdb.cp/iostream.cc: New file.
13854 * gdb.cp/iostream.exp: New file.
13855
b4f54984
DE
138562015-05-26 Doug Evans <dje@google.com>
13857
13858 * gdb.dwarf2/dw2-op-call.exp: Update.
13859 * gdb.dwarf2/dw4-sig-types.exp: Update.
13860 * gdb.dwarf2/implptr.exp: Update.
13861 * gdb.mi/mi-cmd-param-changed.exp: Update.
13862
4ea6efe9
DE
138632015-05-26 Doug Evans <dje@google.com>
13864
13865 * gdb.python/py-lazy-string.c: New file.
13866 * gdb.python/py-lazy-string.exp: New file.
13867 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
13868 (main): Update. Add estring3.
13869 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
13870 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
13871
f6bb7db3
YQ
138722015-05-26 Omair Javaid <omair.javaid@linaro.org>
13873 Yao Qi <yao.qi@linaro.org>
13874
13875 * gdb.reverse/aarch64.c: New.
13876 * gdb.reverse/aarch64.exp: New.
13877
a81bfbd0
OJ
138782015-05-26 Omair Javaid <omair.javaid@linaro.org>
13879
25d49b86
PA
13880 * lib/gdb.exp (supports_process_record): Return true for
13881 aarch64*-linux*.
a81bfbd0
OJ
13882 (supports_reverse): Likewise.
13883
158bf1b4
PP
138842015-05-22 Patrick Palka <patrick@parcs.ath.cx>
13885
13886 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13887 Use with_test_prefix.
13888
a0145030
AB
138892015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
13890
13891 * gdb.base/completion.exp: Add test for completion of layout
13892 names.
13893
ebe3b578
AB
138942015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
13895
13896 * lib/gdb.exp (skip_tui_tests): New proc.
13897 * gdb.base/tui-layout.exp: Check skip_tui_tests.
13898
84204ed7
PA
138992015-05-19 Pedro Alves <palves@redhat.com>
13900
13901 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13902 Save the whole env array instead of just HOME. Unset HISTSIZE in
13903 the environment while testing. Restore whole environment
13904 afterwards.
13905
37442ce1
DE
139062015-05-16 Doug Evans <xdje42@gmail.com>
13907
13908 * gdb.guile/scm-ports.c: New file.
13909 * gdb.guile/scm-ports.exp: Add memory port tests.
13910
36de76f9
JK
139112015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13912
13913 * gdb.compile/compile-print.c: New file.
13914 * gdb.compile/compile-print.exp: New file.
13915
3a9558c4
JK
139162015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13917
13918 * gdb.compile/compile-ops.exp: Cast param to void.
13919 * gdb.compile/compile.exp: Complete type for _gdb_expr.
13920 (compile code struct_object.selffield = &struct_object): Add xfail.
13921
aa715135
JG
139222015-05-15 Joel Brobecker <brobecker@adacore.com>
13923
13924 * gdb.ada/arr_enum_with_gap: New testcase.
13925
931e5bc3
JG
139262015-05-15 Joel Brobecker <brobecker@adacore.com>
13927
13928 * gdb.ada/byte_packed_arr: New testcase.
13929
9cd4d857
JB
139302015-05-15 Joel Brobecker <brobecker@adacore.com>
13931
13932 * gdb.ada/pckd_neg: New testcase.
13933
ebfd00d2
PP
139342015-05-13 Patrick Palka <patrick@parcs.ath.cx>
13935
13936 PR gdb/17820
13937 * gdb.base/gdbinit-history.exp: New test.
13938 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
13939 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
13940
4c082a81
SC
139412015-05-09 Siva Chandra Reddy <sivachandra@google.com>
13942
13943 * gdb.python/py-xmethods.cc: Enhance test case.
13944 * gdb.python/py-xmethods.exp: New tests.
13945 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
13946 function.
13947 (B_indexoper): Likewise.
13948 (global_dm_list) : Add new xmethod worker functions.
13949
f7797074
SDJ
139502015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
13951
13952 * gdb.base/coredump-filter.exp: Correctly unset
13953 "coredump_var_addr" array.
13954
a4674e4e
PA
139552015-05-08 Pedro Alves <palves@redhat.com>
13956
13957 * gdb.server/non-existing-program.exp: Unset spawn_id.
13958
df2eb078
SC
139592015-05-08 Siva Chandra Reddy <sivachandra@google.com>
13960
13961 PR python/18291
13962 * gdb.python/py-xmethods.exp: Add tests.
13963
422349a3
YQ
139642015-05-08 Yao Qi <yao.qi@linaro.org>
13965
13966 PR gdb/18208
13967 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
13968 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
13969 function set_coredump_filter, and remove remote_exec call.
13970 Remove argument ipid. Callers update.
13971 (top level): Don't get inferior's PID.
13972
63fc80ce
AA
139732015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
13974
13975 * gdb.base/watch_thread_num.exp: Skip test on targets without
13976 access watchpoints.
13977
80ad801e
PA
139782015-05-06 Pedro Alves <palves@redhat.com>
13979
13980 PR server/18081
13981 * gdb.server/non-existing-program.exp: New file.
13982
0fa7fe50
JB
139832015-05-05 Joel Brobecker <brobecker@adacore.com>
13984
13985 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
13986
3ea89b92
PMR
139872015-05-05 Joel Brobecker <brobecker@adacore.com>
13988
13989 * gdb.ada/out_of_line_in_inlined: New testcase.
13990
87b8eff0
JB
139912015-05-05 Joel Brobecker <brobecker@adacore.com>
13992
13993 * gdb.ada/var_rec_arr: New testcase.
13994
5fccc635
YQ
139952015-04-30 Yao Qi <yao.qi@linaro.org>
13996
13997 * gdb.base/break-idempotent.exp: If
13998 skip_hw_watchpoint_multi_tests returns true, skip the tests
13999 on "rwatch" and "awatch".
14000
42d38f42
YQ
140012015-04-30 Yao Qi <yao.qi@linaro.org>
14002
14003 * gdb.base/relativedebug.exp: Invoke gdb command
14004 "info sharedlibrary", and if libc.so doesn't have debug info,
14005 skip the test.
14006
2ce1cdbf
DE
140072015-04-29 Doug Evans <dje@google.com>
14008
14009 * gdb.python/py-xmethods.exp: Add ptype tests.
14010 * gdb.python/py-xmethods.py (E_method_char_worker): Add
14011 get_result_type method.
14012
f24a38c5
LM
140132015-04-29 Luis Machado <lgustavo@codesourcery.com>
14014
14015 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
14016 the target does not support hardware watchpoints.
14017
ecbf2b3c
LM
140182015-04-29 Luis Machado <lgustavo@codesourcery.com>
14019
14020 * gdb.base/break-always.exp: Abort testing if writing to memory
14021 causes an error.
14022
34f5f757
DE
140232015-04-28 Doug Evans <dje@google.com>
14024
14025 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
14026 * gdb.python/py-pp-registration.exp: ... here. New file.
14027 * gdb.python/py-pp-registration.c: New file.
14028 * gdb.python/py-pp-registration.py: New file.
14029
69b4374a
DE
140302015-04-28 Doug Evans <dje@google.com>
14031
14032 * gdb.python/py-bad-printers.c: New file.
14033 * gdb.python/py-bad-printers.py: New file.
14034 * gdb.python/py-bad-printers.exp: New file.
14035
59fb7612
SS
140362015-04-28 Sasha Smundak <asmundak@google.com>
14037
14038 * gdb.python/py-type.exp: New test.
14039
2631b16a
AW
140402015-04-28 Andy Wingo <wingo@igalia.com>
14041
14042 * gdb.python/py-parameter.exp:
14043 * gdb.guile/scm-parameter.exp: Escape the path that we are
14044 matching against, as it might contain characters that are special
14045 to regular expressions.
14046
460efde1
JB
140472015-04-27 Joel Brobecker <brobecker@adacore.com>
14048
14049 * gdb.ada/rec_comp: New testcase.
14050
2d369d8e
SDJ
140512015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
14052
14053 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
14054 before using it.
14055
cf75d6c3
AB
140562015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
14057
14058 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
14059 new tests for verilog output.
14060
8dbe7ca5
YQ
140612015-04-24 Yao Qi <yao.qi@linaro.org>
14062
14063 * boards/remote-gdbserver-on-localhost.exp: New file.
14064
4ef9fb2f
PA
140652015-04-23 Pedro Alves <palves@redhat.com>
14066
14067 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
14068 $inferior_spawn_id instead of $inferior_spawn_id directly. On
14069 "end of file", remove $inferior_spawn_id from the indirect list.
14070
0a803169
PA
140712015-04-23 Pedro Alves <palves@redhat.com>
14072
14073 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
14074
749ef8f8
PA
140752015-04-23 Pedro Alves <palves@redhat.com>
14076
14077 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
14078 on $any_spawn_id instead of only on $gdb_spawn_id.
14079
8aae4344
PM
140802015-04-21 Pierre Muller <muller@sourceware.org>
14081
14082 PR pascal/17815
14083 * lib/pascal.exp (gpc_compile): Add new option "class".
14084 (fpc_compile): Likewise.
14085 * gdb.pascal/case-insensitive-symbols.pas: New file.
14086 * gdb.pascal/case-insensitive-symbols.exp: New file.
14087
1586c8fb
GB
140882015-04-20 Gary Benson <gbenson@redhat.com>
14089
14090 * gdb.base/attach.exp: Fix three extended remote failures.
14091
1b6e6f5c
GB
140922015-04-17 Gary Benson <gbenson@redhat.com>
14093
14094 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
14095 the main executable over the remote protocol.
14096
e797481d
PA
140972015-04-16 Pedro Alves <palves@redhat.com>
14098
14099 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
14100 a new gdbserver if gdbserver_reconnect_p is set.
14101
1ca99c42
PA
141022015-04-16 Pedro Alves <palves@redhat.com>
14103
14104 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
14105 is set, don't exit gdbserver.
14106
af9fd6f8
AA
141072015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
14108
14109 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
14110 appropriate .insn, such that an older assembler can be used.
14111 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
14112 the z/Architecture instruction set on 31-bit targets as well.
14113
04ff1e61
AA
141142015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
14115
14116 * gdb.go/handcall.exp: Remove all logic related to the first
14117 breakpoint and rely on go_runto_main instead.
14118 * gdb.go/strings.exp: Likewise.
14119 * gdb.go/unsafe.exp: Likewise.
14120 * gdb.go/hello.exp: Likewise. Also rename the remaining
14121 breakpoint marker to "breakpoint 1".
14122 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
14123 * gdb.go/strings.go: Likewise.
14124 * gdb.go/unsafe.go: Likewise.
14125 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
14126 "set breakpoint 2 here" and rename the remaining breakpoint marker
14127 to "breakpoint 1".
14128
40d2f8d6
SM
141292015-04-15 Simon Marchi <simon.marchi@ericsson.com>
14130
14131 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
14132 if itertools.imap is not present.
14133 * gdb.python/py-objfile.exp: Add parentheses.
14134 * gdb.python/py-type.exp: Same.
14135 * gdb.python/py-unwind-maint.py: Same.
14136
8cbc97c6
YQ
141372015-04-15 Yao Qi <yao.qi@linaro.org>
14138
14139 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
14140 of ":$ptr_size" and set its form explicitly.
14141
45fd756c
YQ
141422015-04-15 Pedro Alves <palves@redhat.com>
14143 Yao Qi <yao.qi@linaro.org>
14144
14145 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
14146 timeout by factor of 4.
14147 (test_regular_watch): Likewise.
14148 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
14149 * gdb.reverse/sigall-reverse.exp: Likewise.
14150 * gdb.reverse/until-precsave.exp: Likewise.
14151 * lib/gdb.exp (with_timeout_factor): New proc.
14152 (gdb_expect): Move some code to ...
14153 (get_largest_timeout): ... here. New procedure.
14154
9e811bc3
LM
141552015-04-14 Luis Machado <lgustavo@codesourcery.com>
14156
14157 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
14158
0ff6fcb2
LM
141592015-04-13 Luis Machado <lgustavo@codesourcery.com>
14160
14161 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
14162 to write to the .text section.
14163
7578d5f7
LM
141642015-04-13 Luis Machado <lgustavo@codesourcery.com>
14165
14166 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
14167 Handle the case of targets that do not provide PID information.
14168
2efe15c4
YQ
141692015-04-13 Yao Qi <yao.qi@linaro.org>
14170
14171 * lib/gdbserver-support.exp (gdb_exit): Catch exception
14172 and use expect instead of gdb_expect.
14173
8cd8f2f8
SDJ
141742015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
14175
14176 * gdb.base/coredump-filter.exp: Rename variable "addr" to
14177 "coredump_var_addr" to avoid naming conflict with other testcases.
14178
9ee41772
PA
141792015-04-10 Pedro Alves <palves@redhat.com>
14180
14181 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
14182 gdb_test_sequence and gdb_assert.
14183
07473109
PA
141842015-04-10 Pedro Alves <palves@redhat.com>
14185
14186 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
14187 test messages that don't include the breakpoint address.
14188
de3db44c
YQ
141892015-04-10 Yao Qi <yao.qi@linaro.org>
14190
14191 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
14192 false for some offset and width combinations which aren't
14193 supported by linux kernel.
14194
c79d856c
PA
141952015-04-10 Pedro Alves <palves@redhat.com>
14196
14197 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
14198 procedure, factored out from ...
14199 (top level): ... here. Add "set displaced-stepping" testing axis.
14200 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
14201 parameter "displaced". Use it.
14202 (top level): Use foreach and add "set displaced-stepping" testing
14203 axis.
14204
ebc90b50
PA
142052015-04-10 Pedro Alves <palves@redhat.com>
14206
14207 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
14208 Remove comment.
14209 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
14210 both the address of the instruction that triggers the watchpoint
14211 and the address of the instruction immediately after, and use
14212 those addresses for the test. Fix comment.
14213
8f572e5c
PA
142142015-04-10 Pedro Alves <palves@redhat.com>
14215
14216 * gdb.base/sigstep.exp (breakpoint_to_handler)
14217 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
14218 Test "backtrace" in handler.
14219 (breakpoint_over_handler): New parameter 'displaced'. Use it.
14220 (top level): Add new "displaced" test axis to
14221 breakpoint_to_handler, breakpoint_to_handler_entry and
14222 breakpoint_over_handler.
14223
8d707a12
PA
142242015-04-10 Pedro Alves <palves@redhat.com>
14225
14226 PR gdb/18216
14227 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
14228
ef713951
YQ
142292015-04-10 Yao Qi <yao.qi@linaro.org>
14230
14231 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
14232 (test_add_rn_pc): New function.
14233 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
14234 (top level): Invoke test_add_rn_pc.
14235
906d60cf
PA
142362015-04-10 Pedro Alves <palves@redhat.com>
14237
14238 PR gdb/13858
14239 * gdb.base/step-over-no-symbols.exp: New file.
14240
f2983cc3
AW
142412015-04-09 Andy Wingo <wingo@igalia.com>
14242
14243 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
14244 after the Python tests.
14245
6d62641c
SDJ
142462015-04-08 Keith Seitz <keiths@redhat.com>
14247
14248 PR python/16699
14249 * gdb.python/py-completion.exp: New tests for completion.
14250 * gdb.python/py-completion.py (CompleteLimit1): New class.
14251 (CompleteLimit2): Likewise.
14252 (CompleteLimit3): Likewise.
14253 (CompleteLimit4): Likewise.
14254 (CompleteLimit5): Likewise.
14255 (CompleteLimit6): Likewise.
14256 (CompleteLimit7): Likewise.
14257
f3770638
PA
142582015-04-08 Pedro Alves <palves@redhat.com>
14259
14260 PR gdb/18214
14261 PR gdb/18216
14262 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
14263 function.
14264 (main): Install it as SIGUSR1 handler.
14265 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
14266 parameter. Always use "setup" as prefix. Toggle "set
14267 displaced-stepping" off/on depending on global. Don't switch to
14268 thread 1 here.
14269 (top level): Add displaced stepping "off/on" test axis. Update
14270 "setup" calls. Wrap each subtest with with_test_prefix. Test
14271 continuing with a queued signal in each thread.
14272
4496bed7
PA
142732015-04-08 Pedro Alves <palves@redhat.com>
14274
14275 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
14276 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
14277 gdb_breakpoint instead of gdb_test that doesn't expect anything.
14278 Return early if running to main fails.
14279 * gdb.trace/while-stepping.exp: Likewise.
14280
b97fde92
PA
142812015-04-07 Pedro Alves <palves@redhat.com>
14282
14283 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
14284 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
14285 interact with inferior program.
14286
f71c18e7
PA
142872015-04-07 Pedro Alves <palves@redhat.com>
14288
14289 * lib/gdb.exp (inferior_spawn_id): New global.
14290 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
14291 spawn id after processing the user code.
14292 (default_gdb_start): Set inferior_spawn_id.
14293 (send_inferior): New procedure.
14294 * lib/gdbserver-support.exp (gdbserver_start): Set
14295 inferior_spawn_id.
14296 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
14297
6423214f
PA
142982015-04-07 Pedro Alves <palves@redhat.com>
14299
14300 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
14301 * lib/gdbserver-support.exp (gdbserver_start): Make
14302 $server_spawn_id global.
14303 (gdbserver_start): Don't wait for gdbserver's spawn id with
14304 expect_background.
14305 (close_gdbserver): New procedure.
14306 (gdb_exit): Rename the default version and reimplement.
14307
71c0ee8c
PA
143082015-04-07 Pedro Alves <palves@redhat.com>
14309
72f4393d 14310 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
14311 append the substituted item, not the original item.
14312
203bc29b
PA
143132015-04-07 Pedro Alves <palves@redhat.com>
14314
14315 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
14316 gdb_expect.
14317
508a3ddf
PA
143182015-04-07 Pedro Alves <palves@redhat.com>
14319
14320 * gdb.base/interrupt.exp: Don't handle the case of the inferior
14321 output appearing once only.
14322
9f6dbe2b
PA
143232015-04-07 Pedro Alves <palves@redhat.com>
14324
14325 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
14326 that doesn't expect anything. Return early if running to main
14327 fails.
14328
337532fa
YQ
143292015-04-07 Yao Qi <yao.qi@linaro.org>
14330
14331 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
14332 (child_function): Call alarm.
14333 (main): Move call to alarm into the loop.
14334 * gdb.threads/non-stop-fair-events.exp: Build program with
14335 -DTIMEOUT=$timeout.
14336
01b622d4
DE
143372015-04-06 Doug Evans <xdje42@gmail.com>
14338
14339 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
14340 Fix dest parameter to board_info.
14341 (fpc_compile): Ditto.
14342 (gdb_compile_pascal): Rename dest arg to destfile.
14343
961f4160
PMR
143442015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
14345
14346 * gdb.ada/funcall_ref.exp: New file.
14347 * gdb.ada/funcall_ref/foo.adb: New file.
14348
cafda597
YQ
143492015-04-02 Yao Qi <yao.qi@linaro.org>
14350
14351 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
14352 is remote.
14353
fed040c6
GB
143542015-04-02 Gary Benson <gbenson@redhat.com>
14355
14356 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
14357
d11916aa
SS
143582015-04-01 Sasha Smundak <asmundak@google.com>
14359
14360 * gdb.python/py-unwind-maint.c: New file.
14361 * gdb.python/py-unwind-maint.exp: New test.
14362 * gdb.python/py-unwind-maint.py: New file.
14363 * gdb.python/py-unwind.c: New file.
14364 * gdb.python/py-unwind.exp: New test.
14365 * gdb.python/py-unwind.py: New test.
14366
a1471180
PA
143672015-04-01 Pedro Alves <palves@redhat.com>
14368
14369 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
14370 to fail instead of non-existent $test.
14371
0bbeccb1
PA
143722015-04-01 Pedro Alves <palves@redhat.com>
14373
14374 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
14375 GDBFLAGS if not empty.
14376
3c724c8c
PMR
143772015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
14378
14379 * gdb.ada/complete.exp: Remove "multi_line".
14380 * gdb.ada/info_exc.exp: Remove "multi_line".
14381 * gdb.ada/packed_tagged.exp: Remove "multi_line".
14382 * gdb.ada/ptype_field.exp: Remove "multi_line".
14383 * gdb.ada/sym_print_name.exp: Remove "multi_line".
14384 * gdb.ada/tagged.exp: Remove "multi_line".
14385 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
14386 [multi_line ...]
14387 * gdb.btrace/delta.exp: Likewise.
14388 * gdb.btrace/exception.exp: Likewise.
14389 * gdb.btrace/function_call_history.exp: Likewise.
14390 * gdb.btrace/instruction_history.exp: Likewise.
14391 * gdb.btrace/nohist.exp: Likewise.
14392 * gdb.btrace/record_goto.exp: Likewise.
14393 * gdb.btrace/segv.exp: Likewise.
14394 * gdb.btrace/stepi.exp: Likewise.
14395 * gdb.btrace/tailcall.exp: Likewise.
14396 * gdb.btrace/unknown_functions.exp: Likewise.
14397 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
14398 * lib/gdb.exp: Add the "multi_line" helper.
14399
4eec2deb
PA
144002015-04-01 Pedro Alves <palves@redhat.com>
14401
14402 * gdb.threads/tid-reuse.c: New file.
14403 * gdb.threads/tid-reuse.exp: New file.
14404
df8411da
SDJ
144052015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
14406
14407 PR corefiles/16092
14408 * gdb.base/coredump-filter.c: New file.
14409 * gdb.base/coredump-filter.exp: Likewise.
14410
6ef37366
PM
144112015-03-27 Petr Machata <pmachata@redhat.com>
14412
14413 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
14414 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
14415 (Dwarf::assemble): Initialize them.
14416 (Dwarf::lines): New function.
14417
7ec911b0
JT
144182015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
14419
14420 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
14421 SYMBOL_PREFIX for x86_64-*-cygwin.
14422
ff908ebf
AW
144232015-03-26 Andy Wingo <wingo@igalia.com>
14424
14425 PR symtab/18148
14426 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
14427 const_value but not a location.
14428 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
14429 location defined in non-main CUs are visible.
14430
6d5f0679
YQ
144312015-03-26 Yao Qi <yao.qi@linaro.org>
14432
14433 PR testsuite/18139
14434 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
14435 Add a line number entry for the same line.
14436 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
14437 Add a line number entry for the same line.
14438
2898689b
YQ
144392015-03-26 Yao Qi <yao.qi@linaro.org>
14440
14441 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
14442 .int 0.
14443 (func): Likewise. Add .Lfunc_1 label.
14444 Use .Lfunc_1 label.
14445 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
14446 .int 0.
14447 (func): Likewise.
14448 Use .Lfunc_1 label.
14449
85180498
YQ
144502015-03-26 Yao Qi <yao.qi@linaro.org>
14451
14452 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
14453 Call gdb_compile instead to compile each .s files without debug
14454 information.
14455
8aa08a8d
YQ
144562015-03-26 Yao Qi <yao.qi@linaro.org>
14457
14458 * gdb.base/savedregs.exp (process_saved_regs): Make
14459 "Saved registers:" optional in the pattern.
14460
66849923
MM
144612015-03-25 Markus Metzger <markus.t.metzger@intel.com>
14462
14463 * gdb.btrace/next.exp: Merged into step.exp.
14464 * gdb.btrace/finish.exp: Merged into step.exp.
14465 * gdb.btrace/nexti.exp: Merged into stepi.exp.
14466 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
14467 "record goto" and checking the exact replay position.
14468 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
14469 check for "Recording format" in "info record" output.
14470 * gdb.btrace/record_goto.exp: Choose test file based on target.
14471 * gdb.btrace/x86-record_goto.S: Renamed into ...
14472 * gdb.btrace/x86_64-record_goto.S: ... this.
14473 * gdb.btrace/i686-record_goto.S: New.
14474 * gdb.btrace/x86-tailcall.S: Renamed into ...
14475 * gdb.btrace/x86_64-tailcall.S: ... this.
14476 * gdb.btrace/i686-tailcall.S: New.
14477 * gdb.btrace/x86-tailcall.c: Renamed into ...
14478 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
14479 separate statements. Update test.
14480 * gdb.btrace/delta.exp: Use record_goto.c as test file.
14481 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
14482 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
14483 * gdb.btrace/tailcall.exp: Choose test file based on target.
14484 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
14485
11cc1b74
MM
144862015-03-25 Markus Metzger <markus.t.metzger@intel.com>
14487
14488 * gdb.btrace/exception.exp: Increase BTS buffer size.
14489
a25d8bf9
PA
144902015-03-24 Pedro Alves <palves@redhat.com>
14491
14492 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
14493
856e7dd6
PA
144942015-03-24 Pedro Alves <palves@redhat.com>
14495
14496 * gdb.threads/schedlock.exp (test_step): No longer expect that
14497 "set scheduler-locking step" with "next" over a function call runs
14498 threads unlocked.
14499
ad235a41
AT
145002015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
14501
14502 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
14503
15630549
AT
145042015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
14505
14506 PR breakpoints/16466
14507 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
14508 * gdb.mi/mi-pending.c (thread_func): New function.
14509 (int main): Add threading support required.
14510 * gdb.mi/mi-pending.exp: Add tests for this issue.
14511 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
14512 (pendfunc2): Remove stdio dependency.
14513 * gdb.mi/mi-pendshr2.c: New file.
14514
693dca06
KS
145152015-03-23 Keith Seitz <keiths@redhat.com>
14516
14517 * gdb.linespec/keywords.c: New file.
14518 * gdb.linespec/keywords.exp: New file.
14519
7e993ebf
KS
145202015-03-23 Keith Seitz <keiths@redhat.com>
14521
14522 PR gdb/18021
14523 * gdb.dwarf2/staticvirtual.exp: New test.
14524
bc23328c
JK
145252015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14526
14527 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
14528 * README: Remove HP-UX and gdb.hp.
14529 (configuration):
14530 * configure: Regenerate.
14531 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
14532 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
14533 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
14534 gdb.hp/gdb.defects/Makefile.
14535 * gdb.hp/Makefile.in: File deleted.
14536 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
14537 * gdb.hp/gdb.aCC/optimize.c: File deleted.
14538 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
14539 * gdb.hp/gdb.aCC/run.c: File deleted.
14540 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
14541 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
14542 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
14543 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
14544 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
14545 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
14546 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
14547 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
14548 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
14549 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
14550 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
14551 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
14552 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
14553 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
14554 * gdb.hp/gdb.base-hp/reg.s: File deleted.
14555 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
14556 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
14557 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
14558 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
14559 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
14560 * gdb.hp/gdb.compat/Makefile.in: File deleted.
14561 * gdb.hp/gdb.compat/average.c: File deleted.
14562 * gdb.hp/gdb.compat/sum.c: File deleted.
14563 * gdb.hp/gdb.compat/xdb.c: File deleted.
14564 * gdb.hp/gdb.compat/xdb0.c: File deleted.
14565 * gdb.hp/gdb.compat/xdb0.h: File deleted.
14566 * gdb.hp/gdb.compat/xdb1.c: File deleted.
14567 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
14568 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
14569 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
14570 * gdb.hp/gdb.defects/Makefile.in: File deleted.
14571 * gdb.hp/gdb.defects/bs14602.c: File deleted.
14572 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
14573 * gdb.hp/gdb.defects/solib-d.c: File deleted.
14574 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
14575 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
14576 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
14577 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
14578 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
14579 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
14580 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
14581 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
14582 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
14583 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
14584 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
14585 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
14586 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
14587 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
14588 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
14589 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
14590 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
14591 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
14592 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
14593 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
14594 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
14595 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
14596 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
14597 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
14598 * gdb.hp/tools/odump: File deleted.
14599
8bf3b159
PA
146002015-03-19 Pedro Alves <palves@redhat.com>
14601
14602 * gdb.threads/continue-pending-status.exp (saw_thread_2)
14603 (saw_thread_3): New globals.
14604 (top level): Increment them when an event for the corresponding
14605 thread is seen.
14606 (no thread starvation): New test.
14607
eb54c8bf
PA
146082015-03-19 Pedro Alves <palves@redhat.com>
14609
14610 * gdb.threads/continue-pending-status.c: New file.
14611 * gdb.threads/continue-pending-status.exp: New file.
14612
32d2e5d6
PA
146132015-03-18 Pedro Alves <palves@redhat.com>
14614
14615 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
14616 Use gdb_is_target_remote instead of is_remote. Use
14617 gdb_test_multiple instead of gdb_expect. Exit early if
14618 gdb_test_multiple hits its internal matches. Tighten stepi tests
14619 expected output. Fail on exit with any signal, instead of just
14620 SIGILL.
14621
f68f11b7
YQ
146222015-03-18 Yao Qi <yao.qi@linaro.org>
14623
14624 PR tdep/18107
14625 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
14626 variable.
14627 * gdb.base/catch-syscall.exp: Don't skip it on
14628 aarch64*-*-linux* target. Remove elements in all_syscalls.
14629 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
14630 target.
14631 (setup_all_syscalls): New proc.
14632
ca5fd19b
YQ
146332015-03-16 Yao Qi <yao.qi@linaro.org>
14634
14635 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
14636 (top level): Skip tests if valid_addr_p returns false for
14637 $cmd1 or $cmd2.
14638
85642ba0
AW
146392015-03-11 Andy Wingo <wingo@igalia.com>
14640
14641 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
14642
e03f9645
YQ
146432015-03-11 Yao Qi <yao.qi@linaro.org>
14644
14645 * gdb.base/catch-syscall.exp: Fix typo in comments.
14646
5d0962b2
YQ
146472015-03-11 Yao Qi <yao.qi@linaro.org>
14648
14649 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
14650
b2df3cef
PA
146512015-03-09 Pedro Alves <palves@redhat.com>
14652
14653 * dg-extract-results.py: Delete.
14654
ef878e53
PA
146552015-03-09 Pedro Alves <palves@redhat.com>
14656
14657 Merge dg-extract-results.sh from GCC upstream (r218843).
14658
14659 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
14660 * dg-extract-results.sh: Use --text with grep to avoid issues with
14661 binary files. Fall back to cat -v, if that doesn't work.
14662
9494d219
PA
146632015-03-05 Pedro Alves <palves@redhat.com>
14664
14665 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
14666
a8d9763a
SM
146672015-03-04 Simon Marchi <simon.marchi@ericsson.com>
14668
14669 * lib/mi-support.exp (mi_expect_interrupt): Accept
14670 alternative event for when in all-stop mode.
14671
be9957b8
PA
146722015-03-04 Pedro Alves <palves@redhat.com>
14673
14674 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
14675
d57be0f4 146762015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
14677
14678 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
14679
c214c7cf
AA
146802015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
14681
14682 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
14683 regexps for GDB's current line display, accept a hex address
14684 preceding the line number.
14685
6d74a497
AA
146862015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
14687
14688 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
14689 the 'arch1' variable for "s390*-linux*" targets.
14690
511aee7c
PA
146912015-03-04 Pedro Alves <palves@redhat.com>
14692
14693 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
14694 (main): Pass missing retval argument to pthread_join call.
14695
95e50b27
PA
146962015-03-02 Pedro Alves <palves@redhat.com>
14697
14698 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
14699 (top level): Call do_test with non-stop as well.
14700
28054d69
PA
147012015-03-02 Pedro Alves <palves@redhat.com>
14702
14703 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
14704 -1.
14705
4fa5d7b4
AA
147062015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
14707
14708 * gdb.arch/s390-vregs.exp: New test.
14709 * gdb.arch/s390-vregs.S: New file.
14710
97c18565
PA
147112015-02-27 Pedro Alves <palves@redhat.com>
14712
14713 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
14714 call to catch_command_errors.
14715 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
14716 catch_command_errors.
14717
a37bfa30
PA
147182015-02-27 Pedro Alves <palves@redhat.com>
14719
14720 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
14721 "true" for boolean result.
14722 * gdb.gdb/selftest.exp (test_with_self): Also accept full
14723 prototype of main.
14724
6f98576f
PA
147252015-02-27 Pedro Alves <palves@redhat.com>
14726
14727 * lib/unbuffer_output.c: New file.
14728 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
14729 (main): Call gdb_unbuffer_output.
14730
eba5ab56
YQ
147312015-02-27 Yao Qi <yao.qi@linaro.org>
14732
14733 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
14734 target.
14735
0def5aaa
DE
147362015-02-26 Doug Evans <dje@google.com>
14737
14738 * gdb.cp/class2.cc (Dbase, D): New classes.
14739 (main): New local delta.
14740 * gdb.cp/class2.exp: Test printing delta.
14741 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
14742 (dynbar): New global.
14743 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
14744
081a1c2c
JK
147452015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14746
14747 * gdb.compile/compile-ifunc.c: New file.
14748 * gdb.compile/compile-ifunc.exp: New file.
14749
2f41223f
AT
147502015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
14751
14752 * gdb.base/structs.exp: Check for correct struct on finish.
14753
03eddd80
YQ
147542015-02-26 Yao Qi <yao.qi@linaro.org>
14755
14756 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
14757 is zero.
14758
80c57053
JK
147592015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14760
14761 * gdb.arch/cordic.ko.bz2: New file.
14762 * gdb.arch/cordic.ko.debug.bz2: New file.
14763 * gdb.arch/ppc64-symtab-cordic.exp: New file.
14764
21613c12
YQ
147652015-02-25 Yao Qi <yao.qi@linaro.org>
14766
14767 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
14768 aarch64*-*-* target.
14769
d8b901ed
PA
147702015-02-23 Pedro Alves <palves@redhat.com>
14771
14772 * lib/gdb.exp (delete_breakpoints): Rewrite using
14773 gdb_test_multiple.
14774
e5b85ead
PA
147752015-02-23 Pedro Alves <palves@redhat.com>
14776
14777 * gdb.base/info-os.c: Include stdlib.h.
14778
85c3a371
DE
147792015-02-22 Doug Evans <xdje42@gmail.com>
14780
14781 PR symtab/17855
14782 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
14783 is read after symbols have been re-read.
14784 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
14785 * gdb.ada/exec_changed/second.adb (Second): Ditto.
14786
96553a0c
DE
147872015-02-21 Doug Evans <dje@google.com>
14788
14789 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
14790
97a0c697
JK
147912015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14792
14793 PR corefiles/17808
14794 * gdb.arch/i386-biarch-core.core.bz2: New file.
14795 * gdb.arch/i386-biarch-core.exp: New file.
14796
a47cd6e9
PA
147972015-02-21 Pedro Alves <palves@redhat.com>
14798
14799 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
14800 runto_main fails.
14801
c5facdc4
PA
148022015-02-20 Pedro Alves <palves@redhat.com>
14803
14804 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
14805 info probes.
14806
2db9a427
PA
148072015-02-20 Pedro Alves <palves@redhat.com>
14808
14809 * gdb.threads/multi-create-ns-info-thr.exp: New file.
14810
60fb7e9e
PA
148112015-02-20 Pedro Alves <palves@redhat.com>
14812
14813 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
14814 clean_restart before gdb_target_supports_trace.
14815
5c5019c2
PA
148162015-02-20 Pedro Alves <palves@redhat.com>
14817
14818 PR threads/18006
14819 * gdb.threads/clone-thread_db.c: New file.
14820 * gdb.threads/clone-thread_db.exp: New file.
14821
c9587f88
AT
148222015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
14823
14824 PR breakpoints/16812
14825 * gdb.base/catch-gdb-caused-signals.c: New file.
14826 * gdb.base/catch-gdb-caused-signals.exp: New file.
14827
f6a88844
JM
148282015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
14829
14830 * configure: Regenerated.
14831 * configure.ac: Use GDB_AC_TRANSFORM.
14832 * aclocal.m4: sinclude ../transform.m4.
14833
497c491b
JM
148342015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
14835
14836 * lib/dtrace.exp: New file.
14837 * gdb.base/dtrace-probe.exp: Likewise.
14838 * gdb.base/dtrace-probe.d: Likewise.
14839 * gdb.base/dtrace-probe.c: Likewise.
14840 * lib/pdtrace.in: Likewise.
14841 * configure.ac: Output variables with the transformed names of
14842 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
14843 * configure: Regenerated.
14844
03e98035
JM
148452015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
14846
14847 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
14848 expected message when trying to access $_probe_* convenience
14849 variables while not on a probe.
14850
63cc30e9
JK
148512015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14852
14853 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
14854
0703599a
PA
148552015-02-11 Pedro Alves <pedro@codesourcery.com>
14856
14857 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
14858 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
14859
7e60a48e
DE
148602015-02-10 Doug Evans <xdje42@gmail.com>
14861
14862 * lib/gdb.exp (gdb_load): Always return a result.
14863
01b088bc
PA
148642015-02-10 Pedro Alves <palves@redhat.com>
14865
14866 * gdb.threads/signal-sigtrap.c: New file.
14867 * gdb.threads/signal-sigtrap.exp: New file.
14868
b05ec7a5
AT
148692015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
14870
14871 * gdb.trace/no-attach-trace.c: New file.
14872 * gdb.trace/no-attach-trace.exp: New file.
14873
a2c2acaf
MW
148742015-02-09 Mark Wielaard <mjw@redhat.com>
14875
14876 * gdb.dwarf2/atomic.c: New file.
14877 * gdb.dwarf2/atomic-type.exp: Likewise.
14878
31fd9caa
MM
148792015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14880
14881 * gdb.btrace/buffer-size.exp: Update "info record" output.
14882 * gdb.btrace/delta.exp: Update "info record" output.
14883 * gdb.btrace/enable.exp: Update "info record" output.
14884 * gdb.btrace/finish.exp: Update "info record" output.
14885 * gdb.btrace/instruction_history.exp: Update "info record" output.
14886 * gdb.btrace/next.exp: Update "info record" output.
14887 * gdb.btrace/nexti.exp: Update "info record" output.
14888 * gdb.btrace/step.exp: Update "info record" output.
14889 * gdb.btrace/stepi.exp: Update "info record" output.
14890 * gdb.btrace/nohist.exp: Update "info record" output.
14891
d33501a5
MM
148922015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14893
14894 * gdb.btrace/buffer-size: New.
14895
f4abbc16
MM
148962015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14897
14898 * gdb.btrace/delta.exp: Update "info record" output.
14899 * gdb.btrace/enable.exp: Update "info record" output.
14900 * gdb.btrace/finish.exp: Update "info record" output.
14901 * gdb.btrace/instruction_history.exp: Update "info record" output.
14902 * gdb.btrace/next.exp: Update "info record" output.
14903 * gdb.btrace/nexti.exp: Update "info record" output.
14904 * gdb.btrace/step.exp: Update "info record" output.
14905 * gdb.btrace/stepi.exp: Update "info record" output.
14906 * gdb.btrace/nohist.exp: Update "info record" output.
14907
b9d61307
SM
149082015-02-06 Simon Marchi <simon.marchi@ericsson.com>
14909
14910 PR gdb/15678
14911 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
14912
e584fdbc
PA
149132015-02-06 Pedro Alves <palves@redhat.com>
14914
14915 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
14916 macro.
14917 (seconds_left, again): New globals.
14918 (main): Wait seconds_left in a 1-second sleep loop instead of
14919 sleeping 180 seconds. If 'again' is set, reset the seconds
14920 counter.
14921 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
14922 'again' in the inferior before detaching. Print the seconds left.
14923 (options): New global.
14924 (top level): Build program with -DTIMEOUT=$timeout.
14925
77f41761
PA
149262015-02-06 Pedro Alves <palves@redhat.com>
14927
14928 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
14929 determine how many seconds to pass to 'alarm'.
14930 * gdb.base/gdb-sigterm.exp (top level): Build program with
14931 -DTIMEOUT=$timeout.
14932 (do_test): Return success/failure indication. Add more verbose
14933 logging. Don't fail if 200 single steps are seen. Instead, fail
14934 when the test times out.
14935 (passes): New global.
14936 (top level): Break the testing loop if testing fails on any
14937 iteration. Use gdb_assert.
14938
b9394193
DB
149392015-02-04 Don Breazeal <donb@codesourcery.com>
14940
14941 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
14942 and initialize them.
14943 (ipc_cleanup): New function.
14944 (main): Don't declare shmid, semid, and msqid. Add a call to
14945 atexit so that we call ipc_cleanup on exit.
14946
42d9e528
PA
149472015-02-04 Pedro Alves <palves@redhat.com>
14948
14949 * boards/native-extended-gdbserver.exp: Remove any target variant
14950 specifications from the board name before clearing the isremote
14951 flag from board_info.
14952
ae6ae975
DE
149532015-01-31 Doug Evans <xdje42@gmail.com>
14954
14955 * gdb.base/maint.exp <maint print type argc>: Update expected output.
14956
cfb069a8
GB
149572015-01-31 Gary Benson <gbenson@redhat.com>
14958
14959 * gdb.base/completion.exp: Disable completion limiting for
14960 existing tests. Add new tests to check completion limiting.
14961 * gdb.linespec/ls-errs.exp: Disable completion limiting.
14962
5dd31d79
DE
149632015-01-31 Doug Evans <xdje42@gmail.com>
14964
14965 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
14966
9f050062
DE
149672015-01-31 Doug Evans <xdje42@gmail.com>
14968
14969 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
14970 entries. Duplicate file section script entries.
14971 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
14972 inlined entries. Add test for safe-path rejection.
14973 * gdb.python/py-section-script.c: Add duplicate inlined section script
14974 entries. Duplicate file section script entries.
14975 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
14976 inlined entries. Add test for safe-path rejection.
14977
df25ebbd
JB
149782015-01-29 Joel Brobecker <brobecker@adacore.com>
14979
14980 * gdb.ada/disc_arr_bound: New testcase.
14981
4a0ca9ec
JB
149822015-01-29 Joel Brobecker <brobecker@adacore.com>
14983
14984 * gdb.ada/mi_var_array: New testcase.
14985
3a8b707a
DE
149862015-01-27 Doug Evans <dje@google.com>
14987
14988 * gdb.python/py-objfile.exp: Add tests for objfile.username.
14989 Add test for objfile.filename, objfile.username after objfile
14990 has been unloaded.
14991
f8313f6e
JB
149922015-01-26 Joel Brobecker <brobecker@adacore.com>
14993
14994 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
14995 the second test to print the name attribute of value
14996 returned by the call to gdb.lookup_type, and adjust
14997 the expected output accordingly.
14998
37bc665e
MW
149992015-01-25 Mark Wielaard <mjw@redhat.com>
15000
15001 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
15002 * gdb.base/disp-step-fork.c: Include unistd.h.
15003 * gdb.base/siginfo-obj.c: Include stdio.h.
15004 * gdb.base/siginfo-thread.c: Likewise.
15005 * gdb.mi/non-stop.c: Include unistd.h.
15006 * gdb.mi/nsthrexec.c: Include stdio.h.
15007 * gdb.mi/pthreads.c: Include unistd.h.
15008 * gdb.modula2/unbounded1.c (main): Declare returns int.
15009 * gdb.reverse/consecutive-reverse.c: Likewise.
15010 * gdb.threads/create-fail.c: Include unistd.h.
15011 * gdb.threads/killed.c: Likewise.
15012 * gdb.threads/linux-dp.c: Likewise.
15013 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
15014 * gdb.threads/non-ldr-exc-2.c: Likewise.
15015 * gdb.threads/non-ldr-exc-3.c: Likewise.
15016 * gdb.threads/non-ldr-exc-4.c: Likewise.
15017 * gdb.threads/pthreads.c: Include unistd.h.
15018 (main): Declare returns int.
15019 * gdb.threads/tls-main.c (foo): New declaration.
15020 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
15021
f7e5394d
SM
150222015-01-23 Simon Marchi <simon.marchi@ericsson.com>
15023
15024 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
15025 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
15026
743649fd
MW
150272015-01-15 Mark Wielaard <mjw@redhat.com>
15028
15029 * gdb.base/noreturn-return.c: New file.
15030 * gdb.base/noreturn-return.exp: New file.
15031 * gdb.base/noreturn-finish.c: New file.
15032 * gdb.base/noreturn-finish.exp: New file.
15033
198297aa
PA
150342015-01-23 Pedro Alves <palves@redhat.com>
15035
15036 * gdb.threads/continue-pending-after-query.c: New file.
15037 * gdb.threads/continue-pending-after-query.exp: New file.
15038
717cf30c
AG
150392015-01-22 Anders Granlund <anders.granlund@ericsson.com>
15040 Simon Marchi <simon.marchi@ericsson.com>
15041
15042 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
15043 * gdb.base/valgrind-db-attach.exp: Same.
15044 * gdb.base/valgrind-infcall.exp: Same.
15045 * lib/mi-support.exp (default_mi_gdb_start): Same.
15046 * lib/prompt.exp (default_prompt_gdb_start): Same.
15047 * lib/gdb.exp (default_gdb_spawn): Same.
15048 (gdb_interact): New.
15049
15050
4b62a76e
JK
150512015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15052
15053 * gdb.compile/compile.exp (pointer to jit function): New test.
15054
b4cdae6f
WW
150552015-01-17 Wei-cheng Wang <cole945@gmail.com>
15056
15057 * lib/gdb.exp (supports_process_record): Return true for
15058 powerpc*-*-linux*.
15059 (supports_reverse): Likewise.
15060
d221e7ef
DB
150612015-01-15 Don Breazeal <donb@codesourcery.com>
15062
15063 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
15064 instead of checking whether the target board is remote and
15065 use spawn_wait_for_attach instead of exec/sleep.
15066 * gdb.base/attach-twice.exp: Likewise.
15067
bafffb51
JB
150682015-01-15 Joel Brobecker <brobecker@adacore.com>
15069
15070 * gdb.ada/var_arr_attrs: New testcase.
15071
5589af0e
PA
150722015-01-14 Pedro Alves <palves@redhat.com>
15073 Joel Brobecker <brobecker@adacore.com>
15074
15075 PR gdb/17525
15076 * gdb.base/bp-cmds-execution-x-script.c: New file.
15077 * gdb.base/bp-cmds-execution-x-script.exp: New file.
15078 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
15079
6c400b59
PA
150802015-01-14 Pedro Alves <palves@redhat.com>
15081
15082 PR cli/17828
15083 * gdb.base/batch-preserve-term-settings.c: New file.
15084 * gdb.base/batch-preserve-term-settings.exp: New file.
15085
e02c96a7
DE
150862015-01-13 Doug Evans <dje@google.com>
15087
15088 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
15089 binary.
15090
576fd14c
JB
150912015-01-13 Joel Brobecker <brobecker@adacore.com>
15092
15093 * Makefile.in (clean mostlyclean): Do not delete *.py.
15094
04dccad0
JB
150952015-01-13 Joel Brobecker <brobecker@adacore.com>
15096
15097 * gdb.python/py-lookup-type.exp: New file.
15098
3d230f71
PA
150992015-01-12 Pedro Alves <palves@redhat.com>
15100
15101 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
15102 restore GDBFLAGS before returning.
15103
7e67715d
JK
151042015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15105
15106 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
15107 is_amd64_regs_target and is_x86_like_target.
15108
f2e0d4b4
DE
151092015-01-11 Doug Evans <xdje42@gmail.com>
15110
15111 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
15112 is given without an explicit form.
15113 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
15114 attributes.
15115 * gdb.dwarf/corrupt.exp: Ditto.
15116 * gdb.dwarf2/enum-type.exp: Ditto.
15117 * gdb.trace/entry-values.exp: Ditto.
15118 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
15119
439250fb
DE
151202015-01-11 Doug Evans <xdje42@gmail.com>
15121
15122 PR gdb/15830
15123 * gdb.base/maint.exp: Remove references to "maint demangle".
15124 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
15125 Add tests for explicitly specifying language to demangle.
15126 * gdb.dlang/demangle.exp: Ditto.
15127
ede9f622
PA
151282015-01-09 Pedro Alves <palves@redhat.com>
15129
15130 * gdb.threads/non-stop-fair-events.c: New file.
15131 * gdb.threads/non-stop-fair-events.exp: New file.
15132
a7b796db
PA
151332015-01-09 Pedro Alves <palves@redhat.com>
15134
15135 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
15136 the global scope. Set a breakpoint after all threads are started
15137 rather than stepping over two source lines. Expect the prompt.
15138 * gdb.base/watch_thread_num.c (threads_started_barrier): New
15139 global.
15140 (NUM): Now 15.
15141 (main): Use threads_started_barrier to wait for all threads to
15142 start. Main thread no longer calls thread_function. Exit after
15143 180 seconds.
15144 (loop): New function.
15145 (thread_function): Wait on threads_started_barrier barrier. Call
15146 'loop' at each iteration.
15147 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
15148 threads have started, instead of hardcoding number of "next"
15149 steps. Use an access watchpoint instead of a write watchpoint.
15150
9665ffdd
PA
151512015-01-09 Pedro Alves <palves@redhat.com>
15152
15153 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
15154 (thread_func): Wait on barrier.
15155 (main): Wait for all threads to start before stopping GDB.
15156 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
15157 global.
15158 (thread1_func, thread2_func): Wait on barrier.
15159 (main): Wait for all threads to start before stopping GDB.
15160 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
15161 New global.
15162 (thread1_func, thread2_func): Wait on barrier.
15163 (main): Wait for all threads to start before stopping GDB.
15164
c945a99f
PA
151652015-01-09 Pedro Alves <palves@redhat.com>
15166
15167 * gdb.threads/attach-many-short-lived-threads.c: New file.
15168 * gdb.threads/attach-many-short-lived-threads.exp: New file.
15169
c1a747c1
PA
151702014-01-09 Pedro Alves <palves@redhat.com>
15171
15172 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
15173 instead of to thread 2.
15174 * gdb.threads/signal-command-multiple-signals-pending.c (main):
15175 Add barrier around each pthread_create call instead of around all
15176 calls.
15177 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
15178 Set a break on thread_function and have the child threads hit it
15179 one at at a time.
15180
60b3033e
PA
151812015-01-09 Pedro Alves <palves@redhat.com>
15182
15183 * lib/gdb.exp (can_spawn_for_attach): New procedure.
15184 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
15185 false.
15186 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
15187 checking whether the target board is remote.
15188 * gdb.multi/multi-attach.exp: Likewise.
15189 * gdb.python/py-sync-interp.exp: Likewise.
15190 * gdb.server/ext-attach.exp: Likewise.
15191 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
15192 tests that need to attach, instead of checking whether the target
15193 board is remote at the top of the file.
15194
acc018ac
YQ
151952015-01-08 Yao Qi <yao@codesourcery.com>
15196
15197 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
15198
50a18af8
JK
151992015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15200
15201 Fix testcase compilation.
15202 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
15203
8503d6e1
JB
152042015-01-06 Joel Brobecker <brobecker@adacore.com>
15205
15206 * gdb.python/py-type.exp: Add a couple test about empty
15207 array creation, and negative-length array creation.
15208
cc73dbcc
DE
152092015-01-02 Doug Evans <xdje42@gmail.com>
15210
15211 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
15212
0300bbc7
DE
152132015-01-02 Doug Evans <dje@google.com>
15214
15215 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
15216
9d85a0ec
YQ
152172014-12-29 Yao Qi <yao@codesourcery.com>
15218
15219 * gdb.trace/entry-values.exp: Update comments. Rename variable
15220 bar_call_foo to returned_from_foo.
15221
87186c6a
MMN
152222014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
15223
15224 PR gdb/17394
15225 * gdb.linespec/break-asm-file.c: New file.
15226 * gdb.linespec/break-asm-file.exp: New file.
15227 * gdb.linespec/break-asm-file0.s: New file.
15228 * gdb.linespec/break-asm-file1.s: New file.
15229
1bab7383
YQ
152302014-12-18 Nigel Stephens <nigel@mips.com>
15231 Maciej W. Rozycki <macro@codesourcery.com>
15232
15233 * gdb.base/float.exp: Handle the new output from "info float" on
15234 MIPS targets.
15235
1bc1068a
JK
152362014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
15237
15238 Fix MinGW compilation.
15239 * gdb.compile/compile-ops.exp: Update untested message if
15240 !skip_compile_feature_tests.
15241 * gdb.compile/compile-setjmp.exp: Likewise.
15242 * gdb.compile/compile-tls.exp: Likewise.
15243 * gdb.compile/compile.exp: Likewise.
15244 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
15245 supported on this host".
15246
b6615d10
DE
152472014-12-16 Doug Evans <xdje42@gmail.com>
15248
15249 * boards/stabs.exp: New file.
15250
25dda427
AA
152512014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
15252
15253 * gdb.base/completion.exp: Adjust to format changes of "maint
15254 print user-registers".
15255
bf330350
CU
152562014-12-16 Catalin Udma <catalin.udma@freescale.com>
15257
15258 PR server/17457
15259 * gdb.arch/aarch64-fp.c: New file.
15260 * gdb.arch/aarch64-fp.exp: New file.
15261
395cf596
SDJ
152622014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
15263
15264 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
15265 r210637, r210913, r211666, r215400, r215817).
15266
15267 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
15268 * dg-extract-results.py: New file.
15269 * dg-extract-results.sh: Use it if the environment seems
15270 suitable.
15271
15272 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
15273
15274 * dg-extract-results.py (parse_run): Handle warnings that
15275 are printed before a test harness is run.
15276
15277 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
15278
15279 * dg-extract-results.py (Named): Remove __cmp__ method.
15280 (output_variation): Use a key to sort variation.harnesses.
15281
15282 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
15283
15284 * dg-extract-results.py: For Python 3, force sys.stdout to
15285 handle surrogate escape sequences.
15286 (safe_open): New function.
15287 (output_segment, main): Use it.
15288
15289 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
15290
15291 * dg-extract-results.py (Prog.result_re): Include options
15292 in test name.
15293
15294 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
15295
15296 * dg-extract-results.py (output_variation): Always sort if
15297 do_sum.
15298
e882ef3c
SM
152992014-12-15 Simon Marchi <simon.marchi@ericsson.com>
15300
15301 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
15302 as long as we get pagination notifications.
15303
4992aa20
JM
153042014-12-15 Jason Merrill <jason@redhat.com>
15305
15306 * Makefile.in (check-gdb.%): Restore.
15307 * README: Mention it.
15308
c1b5a1a6
JB
153092014-12-13 Joel Brobecker <brobecker@adacore.com>
15310
15311 * gdb.ada/str_uninit: New testcase.
15312
5537b577
JK
153132014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15314
15315 PR symtab/17642
15316 * gdb.base/vla-stub-define.c: New file.
15317 * gdb.base/vla-stub.c: New file.
15318 * gdb.base/vla-stub.exp: New file.
15319
bb2ec1b3
TT
153202014-12-12 Phil Muldoon <pmuldoon@redhat.com>
15321 Jan Kratochvil <jan.kratochvil@redhat.com>
15322 Tom Tromey <tromey@redhat.com>
15323
15324 * configure.ac: Add gdb.compile/.
15325 * configure: Regenerate.
15326 * gdb.compile/Makefile.in: New file.
15327 * gdb.compile/compile-ops.exp: New file.
15328 * gdb.compile/compile-ops.c: New file.
15329 * gdb.compile/compile-tls.c: New file.
15330 * gdb.compile/compile-tls.exp: New file.
15331 * gdb.compile/compile-constvar.S: New file.
15332 * gdb.compile/compile-constvar.c: New file.
15333 * gdb.compile/compile-mod.c: New file.
15334 * gdb.compile/compile-nodebug.c: New file.
15335 * gdb.compile/compile-setjmp-mod.c: New file.
15336 * gdb.compile/compile-setjmp.c: New file.
15337 * gdb.compile/compile-setjmp.exp: New file.
15338 * gdb.compile/compile-shlib.c: New file.
15339 * gdb.compile/compile.c: New file.
15340 * gdb.compile/compile.exp: New file.
15341 * lib/gdb.exp (skip_compile_feature_tests): New proc.
15342
4ff709eb
TT
153432014-12-12 Tom Tromey <tromey@redhat.com>
15344
15345 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
15346 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
15347
6dddd6a5
DE
153482014-12-12 Doug Evans <dje@google.com>
15349
15350 * lib/gdb-python.exp (get_python_valueof): New function.
15351 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
15352
71c24708
AA
153532014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
15354
15355 * gdb.base/completion.exp: Add test for completion of "info
15356 registers ".
15357
3e29f34a
MR
153582014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
15359
15360 * gdb.base/func-ptrs.c: New file.
15361 * gdb.base/func-ptrs.exp: New file.
15362
fc126975
SM
153632014-12-10 Simon Marchi <simon.marchi@ericsson.com>
15364
15365 PR breakpoints/17012
15366 * gdb.base/dprintf-detach.c: New file.
15367 * gdb.base/dprintf-detach.exp: New file.
15368
0a46d518
SM
153692014-12-10 Simon Marchi <simon.marchi@ericsson.com>
15370
15371 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
15372 * lib/gdb.exp (target_is_gdbserver): New procedure.
15373
a0be3e44
DE
153742014-12-08 Doug Evans <dje@google.com>
15375
15376 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
15377
df1b803a
YQ
153782014-12-05 Yao Qi <yao@codesourcery.com>
15379
15380 * gdb.guile/scm-error.exp: Remove the third argument to
15381 gdb_remote_download.
15382 * gdb.guile/scm-frame-args.exp: Likewise.
15383 * gdb.guile/scm-section-script.exp: Likewise.
15384
ddb9f679
YQ
153852014-12-05 Yao Qi <yao@codesourcery.com>
15386
15387 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
15388
86e4ed39
DE
153892014-12-04 Doug Evans <dje@google.com>
15390
15391 * gdb.python/py-objfile.exp: Add tests for
15392 objfile.add_separate_debug_file.
15393
7c50a931
DE
153942014-12-04 Doug Evans <dje@google.com>
15395
15396 * lib/gdb.exp (get_build_id): New function.
15397 (build_id_debug_filename_get): Rewrite to use it.
15398 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
15399
621661e3
MR
154002014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
15401
15402 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
15403 `method(long)', not just 0x0.
15404 * gdb.cp/nsalias.exp: Align code labels to 4.
15405 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
15406 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
15407 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
15408 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
15409 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
15410 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
15411
29f0c3b7
DE
154122014-12-02 Doug Evans <dje@google.com>
15413
e1e061e7 15414 PR symtab/17602
29f0c3b7 15415 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 15416 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
15417 * gdb.cp/anon-ns.exp: Update.
15418
162078c8
NB
154192014-12-02 Nick Bull <nicholaspbull@gmail.com>
15420
15421 * gdb.python/py-events.py (inferior_call_handler): New.
15422 (register_changed_handler, memory_changed_handler): New.
15423 (test_events.invoke): Register new handlers.
15424 * gdb.python/py-events.exp: Add tests for inferior call,
15425 memory_changed and register_changed events.
15426
fdb09caf
AA
154272014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
15428
15429 * gdb.base/execl-update-breakpoints.exp: Specify the link address
15430 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
15431 if the linker doesn't understand this.
15432
55cfb2c4
SM
154332014-12-01 Simon Marchi <simon.marchi@ericsson.com>
15434
15435 * gdb.python/python.exp: Change expected reply to help().
15436
9e8cd6df
YQ
154372014-12-01 Yao Qi <yao@codesourcery.com>
15438
15439 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
15440 AC_CONFIG_SUBDIRS(gdb.gdbtk).
15441 * configure: Re-generated.
15442
6c659fc2
SC
154432014-11-28 Siva Chandra Reddy <sivachandra@google.com>
15444
15445 * gdb.cp/chained-calls.cc: New file.
15446 * gdb.cp/chained-calls.exp: New file.
15447 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
15448
d7fc3181
SM
154492014-11-28 Simon Marchi <simon.marchi@ericsson.com>
15450
15451 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
15452 * gdb.dwarf2/symtab-producer.exp: Same.
15453 * gdb.gdb/python-interrupts.exp: Same.
15454 * gdb.gdb/python-selftest.exp: Same.
15455 * gdb.python/py-linetable.exp: Same.
15456 * gdb.python/py-type.exp: Same.
15457 * gdb.python/py-value-cc.exp: Same.
15458 * gdb.python/py-value.exp: Same.
15459
10e79639
YQ
154602014-11-28 Yao Qi <yao@codesourcery.com>
15461
15462 * gdb.base/break-probes.exp: Match library name prefixed with
15463 sysroot.
15464
f28a0564
SM
154652014-11-27 Simon Marchi <simon.marchi@ericsson.com>
15466
15467 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
15468 test expected output. Add parentheses for the call to print.
15469 Remove L suffix from integers.
15470
3fe1ce1d
DE
154712014-11-26 Doug Evans <dje@google.com>
15472
15473 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
15474
84429e27
YQ
154752014-11-22 Yao Qi <yao@codesourcery.com>
15476
15477 * gdb.trace/entry-values.c: Remove asms.
15478 (foo): Add foo_label.
15479 (bar): Add bar_label.
15480 * gdb.trace/entry-values.exp: Remove code computing foo's
15481 length and bar's length.
15482 (Dwarf::assemble): Invoke function_range for bar and use
15483 MACRO_AT_func for foo.
15484
26741859
YQ
154852014-11-22 Yao Qi <yao@codesourcery.com>
15486
15487 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
15488 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
15489 Use .Lgcc43_procstart instead of gcc43.
15490
45e44d27
JB
154912014-11-21 Joel Brobecker <brobecker@adacore.com>
15492
15493 * gdb.ada/n_arr_bound: New testcase.
15494
458c8db8
SDJ
154952014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
15496
15497 PR breakpoints/10737
15498 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
15499 test_catch_syscall_multi_arch.
15500 (test_catch_syscall_multi_arch): New function.
15501
43f3e411
DE
155022014-11-20 Doug Evans <xdje42@gmail.com>
15503
15504 * gdb.base/maint.exp: Update expected output.
15505
0d7b2549
AA
155062014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
15507
15508 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
15509 4-byte instruction on S390.
15510
8908fca5
JB
155112014-11-19 Joel Brobecker <brobecker@adacore.com>
15512
15513 * gdb.ada/arr_arr: New testcase.
15514
4a46959e
JB
155152014-11-19 Joel Brobecker <brobecker@adacore.com>
15516
15517 * gdb.ada/pkd_arr_elem: New Testcase.
15518
470e2f4e
LM
155192014-11-18 Luis Machado <lgustavo@codesourcery.com>
15520
15521 * gdb.reverse/break-precsave: Expect completion message for
15522 core file reads.
15523 * gdb.reverse/consecutive-precsave.exp: Likewise.
15524 * gdb.reverse/finish-precsave.exp: Likewise.
15525 * gdb.reverse/i386-precsave.exp: Likewise.
15526 * gdb.reverse/machinestate-precsave.exp: Likewise.
15527 * gdb.reverse/sigall-precsave.exp: Likewise.
15528 * gdb.reverse/solib-precsave.exp: Likewise.
15529 * gdb.reverse/step-precsave.exp: Likewise.
15530 * gdb.reverse/until-precsave.exp: Likewise.
15531 * gdb.reverse/watch-precsave.exp: Likewise.
15532
a267f3ad
AA
155332014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15534
15535 * gdb.base/bp-permanent.c: Include unistd.h.
15536 * gdb.python/py-framefilter-mi.c (main): Add return type.
15537 * gdb.python/py-framefilter.c (main): Likewise.
15538 * gdb.trace/actions-changed.c (main): Likewise.
15539
12084a9a
AA
155402014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15541
15542 * gdb.mi/until.c: Add eye-catchers.
15543 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
15544 line numbers.
15545
dc7e1a77
AA
155462014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15547
15548 * gdb.base/condbreak.exp: Drop references to removed non-prototype
15549 function header variants in break1.c.
15550 * gdb.base/ena-dis-br.exp: Likewise.
15551 * gdb.base/hbreak2.exp: Likewise.
15552 * gdb.reverse/until-precsave.exp: Drop references to removed
15553 non-prototype function header variants in ur1.c.
15554 * gdb.reverse/until-reverse.exp: Likewise.
15555
41c77605
PM
155562014-11-17 Petr Machata <pmachata@redhat.com>
15557
15558 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
15559 ${_cu_offset_size} bytes abbrev offset.
15560
34248c3a
DE
155612014-11-15 Doug Evans <xdje42@gmail.com>
15562
15563 PR symtab/17559
15564 * gdb.base/line-symtabs.exp: New file.
15565 * gdb.base/line-symtabs.c: New file.
15566 * gdb.base/line-symtabs.h: New file.
15567
646da059
YQ
155682014-11-14 Yao Qi <yao@codesourcery.com>
15569
15570 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
15571 (func): Add label func_label.
15572 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
15573 Replace low_pc and high_pc with MACRO_AT_range.
15574 Replace name, low_pc and high_pc with MACRO_AT_func.
15575
9301ebe6
YQ
155762014-11-14 Yao Qi <yao@codesourcery.com>
15577
15578 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
15579 Replace name, low_pc and high_pc with MACRO_AT_func.
15580
f166b542
YQ
155812014-11-14 Yao Qi <yao@codesourcery.com>
15582
15583 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
15584 produce debug information.
15585 * gdb.dwarf2/implptr-optimized-out.S: Removed.
15586
0f6e71e3
YQ
155872014-11-14 Yao Qi <yao@codesourcery.com>
15588
15589 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
15590 object and get function length.
15591 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
15592 with MACRO_AT_func.
15593 (top-level): Replace gdb_compile and clean_restart with
15594 prepare_for_testing.
15595 * gdb.dwarf2/main.c (main): Add label main_label.
15596
876c4df9
YQ
155972014-11-14 Yao Qi <yao@codesourcery.com>
15598
15599 * lib/dwarf.exp (function_range): New procedure.
15600 (Dwarf::_handle_macro_at_func): New procedure.
15601 (Dwarf::_handle_macro_at_range): New procedure.
15602 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
15603
02ad9cf1
YQ
156042014-11-14 Yao Qi <yao@codesourcery.com>
15605
15606 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
15607 (_handle_attribute): New procedure.
15608
a59add0c
AA
156092014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15610
15611 * gdb.ada/cond_lang/foo.c (callme): Add return type.
15612 * gdb.base/call-sc.c (zed): Likewise.
15613 * gdb.base/checkpoint.c (main): Likewise.
15614 * gdb.base/dump.c (main): Likewise.
15615 * gdb.base/gcore.c (main): Likewise.
15616 * gdb.base/huge.c (main): Likewise.
15617 * gdb.base/multi-forks.c (main): Likewise.
15618 * gdb.base/pr10179-a.c (main): Likewise.
15619 * gdb.base/savedregs.c (main): Likewise.
15620 * gdb.base/sigaltstack.c (main): Likewise.
15621 * gdb.base/siginfo.c (main): Likewise.
15622 * gdb.base/structs.c (zed): Likewise.
15623 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
15624 * gdb.mi/mi-syn-frame.c (main): Likewise.
15625 * gdb.mi/until.c (foo, main): Likewise.
15626 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
15627 * gdb.base/solib-weak.c (foo): Declare.
15628 * gdb.base/attach-twice.c: Include stdio.h.
15629 * gdb.base/weaklib1.c: Likewise.
15630 * gdb.base/weaklib2.c: Likewise.
15631 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
15632 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
15633 unistd.h.
15634 * gdb.base/attach-pie-misread.c: Include stdlib.h.
15635 * gdb.mi/mi-exit-code.c: Likewise.
15636 * gdb.base/break-interp-lib.c: Include string.h.
15637 * gdb.base/coremaker.c: Likewise.
15638 * gdb.base/testenv.c: Likewise.
15639 * gdb.python/py-finish-breakpoint.c: Likewise.
15640 * gdb.base/inferior-died.c: Include sys/wait.h.
15641 * gdb.base/fileio.c: Include time.h.
15642 * gdb.base/async-shell.c: Include unistd.h.
15643 * gdb.base/dprintf-non-stop.c: Likewise.
15644 * gdb.base/info-os.c: Likewise.
15645 * gdb.mi/mi-console.c: Likewise.
15646 * gdb.mi/watch-nonstop.c: Likewise.
15647 * gdb.python/py-events.c: Likewise.
15648 * gdb.base/async.c (baz): Move up before its invocation.
15649 * gdb.base/code_elim2.c (my_global_func): Likewise.
15650 * gdb.base/skip-solib-lib.c (multiply): Likewise.
15651 * gdb.base/advance.c (func2): Likewise.
15652
3b5d5997
AA
156532014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15654
15655 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
15656 variant.
15657 * gdb.base/annota3.c: Likewise.
15658 * gdb.base/async.c: Likewise.
15659 * gdb.base/average.c: Likewise.
15660 * gdb.base/call-ar-st.c: Likewise.
15661 * gdb.base/call-rt-st.c: Likewise.
15662 * gdb.base/call-sc.c: Likewise.
15663 * gdb.base/call-strs.c: Likewise.
15664 * gdb.base/ending-run.c: Likewise.
15665 * gdb.base/execd-prog.c: Likewise.
15666 * gdb.base/exprs.c: Likewise.
15667 * gdb.base/foll-exec.c: Likewise.
15668 * gdb.base/foll-fork.c: Likewise.
15669 * gdb.base/foll-vfork.c: Likewise.
15670 * gdb.base/funcargs.c: Likewise.
15671 * gdb.base/gcore.c: Likewise.
15672 * gdb.base/jump.c: Likewise.
15673 * gdb.base/langs0.c: Likewise.
15674 * gdb.base/langs1.c: Likewise.
15675 * gdb.base/langs2.c: Likewise.
15676 * gdb.base/mips_pro.c: Likewise.
15677 * gdb.base/nodebug.c: Likewise.
15678 * gdb.base/opaque0.c: Likewise.
15679 * gdb.base/opaque1.c: Likewise.
15680 * gdb.base/recurse.c: Likewise.
15681 * gdb.base/run.c: Likewise.
15682 * gdb.base/scope0.c: Likewise.
15683 * gdb.base/scope1.c: Likewise.
15684 * gdb.base/setshow.c: Likewise.
15685 * gdb.base/setvar.c: Likewise.
15686 * gdb.base/shmain.c: Likewise.
15687 * gdb.base/shr1.c: Likewise.
15688 * gdb.base/shr2.c: Likewise.
15689 * gdb.base/sigall.c: Likewise.
15690 * gdb.base/signals.c: Likewise.
15691 * gdb.base/so-indr-cl.c: Likewise.
15692 * gdb.base/solib2.c: Likewise.
15693 * gdb.base/structs.c: Likewise.
15694 * gdb.base/sum.c: Likewise.
15695 * gdb.base/vforked-prog.c: Likewise.
15696 * gdb.base/watchpoint.c: Likewise.
15697 * gdb.reverse/shr2.c: Likewise.
15698 * gdb.reverse/until-reverse.c: Likewise.
15699 * gdb.reverse/ur1.c: Likewise.
15700 * gdb.reverse/watch-reverse.c: Likewise.
15701
066a77c5
AA
157022014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15703
15704 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
15705 variant.
15706 * gdb.base/sepdebug.exp: Drop references to removed code.
15707
4f204ea5
AA
157082014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15709
15710 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
15711 variant. Preserve original line numbering.
15712 * gdb.base/list1.c: Likewise.
15713
3b377a3a
AA
157142014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15715
15716 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
15717 variant.
15718 * gdb.base/break1.c: Likewise.
15719 * gdb.base/break.exp: Drop references to removed code.
15720
e444df73
AA
157212014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15722
15723 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
15724 variant.
15725
8008f2a7
AA
157262014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15727
15728 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
15729
a5a06887
AA
157302014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15731
15732 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
15733 logic into perform_all_tests() and invoke it with and without
15734 function header prototypes.
15735 (do_function_calls): Remove conditional XFAIL for PR 5318.
15736 (rerun_and_prepare): Remove duplicate code.
15737 (perform_all_tests): New. Main logic moved here.
15738
44dba9b9
AA
157392014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15740
15741 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
15742 code guarded by #ifdef NO_PROTOTYPES.
15743 (t_double_many_args): Likewise.
15744 (DEF_FUNC_MANY_ARGS_1): Likewise.
15745 (DEF_FUNC_VALUES_1): Likewise.
15746 (t_structs_ldc): Renamed from t_structs_fc in conditional code
15747 guarded by #ifdef PROTOTYPES.
15748
d1fbcd56
AA
157492014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15750
15751 * gdb.mi/mi-console.c: Add eye-catcher.
15752 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
15753 instead of literal line number.
15754
b0e59b8f
AA
157552014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15756
15757 * gdb.base/shr2.c: Add eye-catcher.
15758 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
15759 line number.
15760
78f98cca
AA
157612014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15762
15763 * gdb.base/jump.c: Add eye-catchers.
15764 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
15765 numbers.
15766
58fa2af0
AA
157672014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15768
15769 * gdb.base/execd-prog.c: Add eye-catchers.
15770 * gdb.base/foll-exec.c: Likewise.
15771 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
15772 line numbers.
15773
04e5059b
AA
157742014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15775
15776 * gdb.base/ending-run.c: Add eye-catchers.
15777 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
15778 literal line numbers.
15779
dbfdb174
AA
157802014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15781
15782 * gdb.base/call-rt-st.c: Add eye-catchers.
15783 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
15784 literal line numbers.
15785
888a2ade
AA
157862014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15787
15788 * gdb.base/call-ar-st.c: Add eye-catchers.
15789 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
15790 literal line numbers.
15791
6acc2dde
AA
157922014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15793
15794 * gdb.base/average.c: Add eye-catchers.
15795 * gdb.base/sum.c: Likewise.
15796 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
15797 regexps dynamically.
15798
9ecfcd1d
AA
157992014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15800
15801 * gdb.base/solib1.c: Add eye-catchers.
15802 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
15803 literal line numbers.
15804
78708b7c
PA
158052014-11-12 Pedro Alves <palves@redhat.com>
15806
15807 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
15808 leader has exited.
15809
af48d08f
PA
158102014-11-12 Pedro Alves <palves@redhat.com>
15811
15812 * gdb.arch/i386-bp_permanent.c: New file.
15813 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
15814 (srcfile): Set to i386-bp_permanent.c.
15815 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
15816 that stepi does not execute the 'leave' instruction, instead of
15817 testing it does execute.
15818 * gdb.base/bp-permanent.c: New file.
15819 * gdb.base/bp-permanent.exp: New file.
15820
af3768e9
DE
158212014-11-10 Doug Evans <xdje42@gmail.com>
15822
15823 PR symtab/17564
15824 * gdb.base/symtab-search-order.exp: New file.
15825 * gdb.base/symtab-search-order.c: New file.
15826 * gdb.base/symtab-search-order-1.c: New file.
15827 * gdb.base/symtab-search-order-shlib-1.c: New file.
15828
9de00a4a
PA
158292014-11-07 Pedro Alves <palves@redhat.com>
15830
15831 PR gdb/17511
15832 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
15833 i?86-*-linux*.
15834
e0f52461
SC
158352014-11-03 Siva Chandra Reddy <sivachandra@google.com>
15836
15837 PR c++/17494
15838 * gdb.cp/pr17494.cc: New file.
15839 * gdb.cp/pr17494.exp: New file.
15840
6ce8c980
YQ
158412014-11-02 Yao Qi <yao@codesourcery.com>
15842
15843 * gdb.python/python.exp: Get working directory and match the
15844 output of "set extended-prompt \\w " with it.
15845
02be9a71
DE
158462014-10-30 Doug Evans <dje@google.com>
15847
15848 * gdb.python/py-objfile.exp: Add tests for setting random attributes
15849 in objfiles.
15850 * gdb.python/py-progspace.exp: Add tests for setting random attributes
15851 in progspaces.
15852
3bdff46b
LM
158532014-10-30 Janis Johnson <janisjo@codesourcery.com>
15854
15855 * gdb.base/fullpath-expand.exp: Skip for a remote host.
15856 * gdb.base/realname-expand.exp: Likewise.
15857 * gdb.linespec/macro-relative.exp: Likewise.
15858
ab917dfb
PA
158592014-10-29 Pedro Alves <palves@redhat.com>
15860
15861 PR gdb/17408
15862 * gdb.threads/schedlock.c (some_function): New function.
15863 (call_function): New global.
15864 (MAYBE_CALL_SOME_FUNCTION): New macro.
15865 (thread_function): Call it.
15866 * gdb.threads/schedlock.exp (get_args): Add description parameter,
15867 and use it instead of a global counter. Adjust all callers.
15868 (get_current_thread): Use "find current thread" for test message
15869 here rather than having all callers pass down the same string.
15870 (goto_loop): New procedure, factored out from ...
15871 (my_continue): ... this.
15872 (step_ten_loops): Change parameter from test message to command to
15873 use. Adjust.
15874 (list_count): Delete global.
15875 (check_result): New procedure, factored out from duplicate top
15876 level code.
15877 (continue tests): Wrap in with_test_prefix.
15878 (test_step): New procedure, factored out from duplicate top level
15879 code.
15880 (top level): Test "step" in combination with all scheduler-locking
15881 modes. Test "next" in combination with all scheduler-locking
15882 modes, and in combination with stepping over a function call or
15883 not.
15884 * gdb.threads/next-bp-other-thread.c: New file.
15885 * gdb.threads/next-bp-other-thread.exp: New file.
15886
d3d4baed
PA
158872014-10-29 Pedro Alves <palves@redhat.com>
15888
15889 PR python/17372
15890 * gdb.python/python.exp: Test a multi-line command that spawns
15891 interactive Python.
15892 * gdb.base/multi-line-starts-subshell.exp: New file.
15893
563e8d85
YQ
158942014-10-29 Yao Qi <yao@codesourcery.com>
15895
15896 * gdb.base/fileio.exp: Make directories on host.
15897
0ea4d52e
YQ
158982014-10-29 Yao Qi <yao@codesourcery.com>
15899
15900 * gdb.base/fileio.c (test_write): Close the file.
15901
7f5ef605
PA
159022014-10-28 Pedro Alves <palves@redhat.com>
15903
15904 PR gdb/12623
15905 * gdb.base/sigstep.c (no_handler): New global.
15906 (main): If 'no_handler is true, set the signal handlers to
15907 SIG_IGN.
15908 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
15909 with_sw_watch and no_handler parameters. Handle them.
15910 (top level) <stepping over handler when stopped at a breakpoint
15911 test>: Add a test axis for testing with a software watchpoint, and
15912 another for testing with the signal handler set to SIG_IGN.
15913 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
15914 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
15915
abbdbd03
PA
159162014-10-28 Pedro Alves <palves@redhat.com>
15917
15918 PR gdb/17511
15919 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
15920 * gdb.base/sigstep.exp (other_handler_location): New global.
15921 (advance): Support stepping into the signal handler, and running
15922 commands while in the handler.
15923 (in_handler_map): New global.
15924 (top level): In the advance test, add combinations for getting
15925 into the handler with stepping commands, and for running commands
15926 in the handler. Add comment descripting the advancei tests.
15927
1df4399f
PA
159282014-10-28 Pedro Alves <palves@redhat.com>
15929
15930 * gdb.base/sigstep.exp: Use build_executable instead of
15931 prepare_for_testing.
15932 (top level): Move code that starts GDB, runs to main and creates a
15933 display to ...
15934 (restart): ... this new procedure.
15935 (top level): Move backtrace from signal handler test to ...
15936 (validate_backtrace): ... this new procedure.
15937 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
15938 with_test_prefix. Always restart GDB.
15939 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
15940 with_test_prefix. Always restart GDB. No need to delete
15941 breakpoints after the test.
15942 (test_skip_handler): Remove prefix parameter.
15943 (skip_over_handler, breakpoint_to_handler)
15944 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
15945 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
15946 restart GDB. No need to delete breakpoints after the test.
15947 (top level): Use foreach to call the test procedures with
15948 different commands.
15949
a5b6e449
PA
159502014-10-28 Pedro Alves <palves@redhat.com>
15951
15952 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
15953 instead of GNATS numbers.
15954 * gdb.base/sigbpt.exp: Likewise.
15955 * gdb.base/siginfo.exp: Likewise.
15956 * gdb.base/sigstep.exp: Likewise.
15957
e5f8a7cc
PA
159582014-10-27 Pedro Alves <palves@redhat.com>
15959
15960 * gdb.base/sigstep.c (dummy): New global.
15961 (main): Issue a couple writes to the new global.
15962 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
15963 procedures.
15964 (skip_over_handler): Use test_skip_handler.
15965 (top level): Call skip_over_handler for stepi and nexti too.
15966 (breakpoint_over_handler): Use test_skip_handler.
15967 (top level): Call breakpoint_over_handler for stepi and nexti too.
15968
763905a3
YQ
159692014-10-27 Yao Qi <yao@codesourcery.com>
15970
15971 * gdb.trace/tfile.c (adjust_function_address)
15972 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
15973 function descriptor.
15974
6f259a23
DB
159752014-10-24 Don Breazeal <donb@codesourcery.com>
15976
15977 * gdb.base/foll-fork.exp (test_follow_fork,
15978 catch_fork_child_follow): Check for updated fork messages emitted
15979 from infrun.c.
15980 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
15981 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
15982 vfork_and_exec_child_follow_through_step): Check for updated vfork
15983 messages emitted from infrun.c.
15984
09dd9a69
PA
159852014-10-24 Pedro Alves <palves@redhat.com>
15986
15987 * gdb.base/corefile.exp: Remove references to ultrix.
15988 * gdb.base/interrupt.exp: Likewise.
15989 * gdb.base/whatis.exp: Likewise.
15990 * gdb.gdb/selftest.exp: Likewise.
15991 * gdb.threads/manythreads.exp: Likewise.
15992 * gdb.threads/print-threads.exp: Likewise.
15993 * gdb.threads/pthreads.exp:: Likewise.
15994 * gdb.threads/schedlock.exp: Likewise.
15995
3433cfa5
SC
159962014-10-24 Siva Chandra Reddy <sivachandra@google.com>
15997
15998 * gdb.cp/non-trivial-retval.cc: Add a test case.
15999 * gdb.cp/non-trivial-retval.exp: Add a test.
16000
092f880b
YQ
160012014-10-20 Yao Qi <yao@codesourcery.com>
16002
16003 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
16004 * gdb.python/py-objfile-script-gdb.py: New file.
16005 * gdb.python/py-objfile-script.exp: Update reference to
16006 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
16007 of remote_download. Remove the dest file.
16008
acbdb7f3
YQ
160092014-10-20 Yao Qi <yao@codesourcery.com>
16010
16011 * gdb.base/checkpoint.exp: Don't remove file copied on host.
16012 * gdb.base/step-line.exp: Likewise.
16013 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
16014 * gdb.dwarf2/dw2-basic.exp: Likewise.
16015 * gdb.dwarf2/dw2-compressed.exp: Likewise.
16016 * gdb.dwarf2/dw2-filename.exp: Likewise.
16017 * gdb.dwarf2/dw2-intercu.exp: Likewise.
16018 * gdb.dwarf2/dw2-intermix.exp: Likewise.
16019 * gdb.dwarf2/dw2-producer.exp: Likewise.
16020 * gdb.dwarf2/mac-fileno.exp: Likewise.
16021 * gdb.python/py-frame-args.exp: Likewise.
16022 * gdb.python/py-framefilter.exp: Likewise.
16023 * gdb.python/py-mi.exp: Likewise.
16024 * gdb.python/py-objfile-script.exp: Likewise
16025 * gdb.python/py-pp-integral.exp: Likewise.
16026 * gdb.python/py-pp-re-notag.exp: Likewise.
16027 * gdb.python/py-prettyprint.exp: Likewise.
16028 * gdb.python/py-section-script.exp: Likewise.
16029 * gdb.python/py-typeprint.exp: Likewise.
16030 * gdb.python/py-xmethods.exp: Likewise.
16031 * gdb.stabs/weird.exp: Likewise.
16032 * gdb.xml/tdesc-regs.exp: Likewise.
16033
bd286a29
KCY
160342014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
16035
16036 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
16037 (out_cu): Use addr_len for the size of addresses.
16038 (out_line): Likewise. Size DW_LNE_set_address instruction
16039 according to addr_len.
16040 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
16041 (FUNC): Add START_INSNS to definition.
16042
673dc4a0
YQ
160432014-10-18 Yao Qi <yao@codesourcery.com>
16044
16045 * gdb.base/argv0-symlink.exp: Check argv[0] value if
16046 gdb_has_argv0 return true.
16047 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
16048 check [target_info exists noargs], check [gdb_has_argv0]
16049 instead.
16050 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
16051 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
16052 procedures.
16053
4ffbba72
DE
160542014-10-17 Doug Evans <dje@google.com>
16055
16056 * gdb.python/py-events.exp: Update expected output for clear_objfiles
16057 event.
16058 * gdb.python/py-events.py: Add clear_objfiles event.
16059
d096d8c1
DE
160602014-10-17 Doug Evans <dje@google.com>
16061
16062 * gdb.python/py-objfile.exp: Test progspace attribute.
16063
a80db015
LM
160642014-10-17 Luis Machado <lgustavo@codesourcery.com>
16065
16066 * gdb.guile/scm-breakpoint.exp: Do not assume any
16067 directory separators when matching source file paths.
16068 * gdb.python/py-breakpoint.exp: Likewise.
16069 * gdb.reverse/break-precsave.exp: Likewise.
16070 * gdb.reverse/break-reverse.exp: Likewise.
16071 * gdb.reverse/consecutive-precsave.exp: Likewise.
16072 * gdb.reverse/finish-precsave.exp: Likewise.
16073 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
16074 * gdb.reverse/finish-reverse.exp: Likewise.
16075 * gdb.reverse/i386-precsave.exp: Likewise.
16076 * gdb.reverse/i387-env-reverse.exp: Likewise.
16077 * gdb.reverse/i387-stack-reverse.exp: Likewise.
16078 * gdb.reverse/machinestate-precsave.exp: Likewise.
16079 * gdb.reverse/machinestate.exp: Likewise.
16080 * gdb.reverse/sigall-precsave.exp: Likewise.
16081 * gdb.reverse/solib-precsave.exp: Likewise.
16082 * gdb.reverse/step-precsave.exp: Likewise.
16083 * gdb.reverse/until-precsave.exp: Likewise.
16084 * gdb.reverse/watch-precsave.exp: Likewise.
16085 * gdb.reverse/watch-reverse.exp: Likewise.
16086
b22089ab
YQ
160872014-10-17 Yao Qi <yao@codesourcery.com>
16088
16089 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
16090 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
16091
6c4486e6
PA
160922014-10-17 Pedro Alves <palves@redhat.com>
16093
16094 PR gdb/17471
16095 * gdb.base/bg-execution-repeat.c: New file.
16096 * gdb.base/bg-execution-repeat.exp: New file.
16097
0ff33695
PA
160982014-10-17 Pedro Alves <palves@redhat.com>
16099
16100 PR gdb/17300
16101 * gdb.base/continue-all-already-running.c: New file.
16102 * gdb.base/continue-all-already-running.exp: New file.
16103
6fdebc3d
PA
161042014-10-17 Pedro Alves <palves@redhat.com>
16105
16106 PR gdb/17472
16107 * gdb.base/annota-input-while-running.c: New file.
16108 * gdb.base/annota-input-while-running.exp: New file.
16109
32a8097b
PA
161102014-10-17 Pedro Alves <palves@redhat.com>
16111
16112 * gdb.base/callfuncs.exp: emove references to osf.
16113 * gdb.base/sigall.exp: Likewise.
16114 * gdb.gdb/selftest.exp: Likewise.
16115 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
16116 * gdb.mi/non-stop.c: Likewise.
16117 * gdb.mi/pthreads.c: Likewise.
16118 * gdb.reverse/sigall-precsave.exp: Likewise.
16119 * gdb.reverse/sigall-reverse.exp: Likewise.
16120 * gdb.threads/pthreads.c: Likewise.
16121 * gdb.threads/pthreads.exp: Likewise.
16122
7a3517ff
YQ
161232014-10-17 Yao Qi <yao@codesourcery.com>
16124
16125 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
16126 check 'target_info exists noargs'.
16127 (test_command_prompt_position): Likewise.
16128 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
16129 Remove "set args".
16130 (progvar_simple_while_test): Likewise.
16131 (progvar_complex_if_while_test): Likewise.
16132 (if_while_breakpoint_command_test): Likewise.
16133 (infrun_breakpoint_command_test): Likewise.
16134 (breakpoint_command_test): Likewise.
16135 (watchpoint_command_test): Likewise.
16136 (bp_deleted_in_command_test): Likewise.
16137 (temporary_breakpoint_commands): Likewise.
16138
bb99c472
YQ
161392014-10-16 Yao Qi <yao@codesourcery.com>
16140
16141 * gdb.base/remotetimeout.exp: Remove noargs checking.
16142
7c16b83e
PA
161432014-10-15 Pedro Alves <palves@redhat.com>
16144
16145 PR breakpoints/9649
16146 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
16147 * gdb.base/breakpoint-in-ro-region.exp
16148 (probe_target_hardware_step): New procedure.
16149 (top level): Probe hardware stepping and hardware breakpoint
16150 support. Test stepping through a read-only region, with both
16151 "breakpoint auto-hw" on and off and both "always-inserted" on and
16152 off.
16153
35a49624
IB
161542014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
16155
16156 * gdb.dlang/demangle.exp: Update for demangling changes.
16157
2d1c107c
SC
161582014-10-15 Siva Chandra Reddy <sivachandra@google.com>
16159
16160 * gdb.cp/non-trivial-retval.cc: Add new test cases.
16161 * gdb.cp/non-trivial-retval.exp: Add new tests.
16162
778811d5
SC
161632014-10-15 Siva Chandra Reddy <sivachandra@google.com>
16164
16165 PR c++/13403
16166 PR c++/15154
16167 * gdb.cp/non-trivial-retval.cc: New file.
16168 * gdb.cp/non-trivial-retval.exp: New file.
16169
10c5f0a8
YQ
161702014-10-15 Yao Qi <yao@codesourcery.com>
16171
16172 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
16173 remote host.
16174
65d7b369
YQ
161752014-10-15 Yao Qi <yao@codesourcery.com>
16176
16177 * gdb.python/py-symbol.exp: Match file base name if host is
16178 remote, otherwise match file name with dir name.
16179 * gdb.python/py-symtab.exp: Likewise.
16180 * gdb.python/python.exp: Likewise.
16181
46dc1394
YQ
161822014-10-15 Yao Qi <yao@codesourcery.com>
16183
16184 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
16185 pattern.
16186 * gdb.python/py-symtab.exp: Likewise.
16187 * gdb.python/python.exp: Remove trailing ".*". Fix typo
16188 locationn.
16189
c40cc657
JB
161902014-10-14 Joel Brobecker <brobecker@adacore.com>
16191
16192 * gdb.ada/addr_arith: New testcase.
16193
2abf49e1
MR
161942014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
16195
16196 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
16197 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
16198 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
16199 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
16200
f7088df3
SDJ
162012014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
16202
16203 * gdb.arch/stap-eval-lang-ada.S: Likewise.
16204 * gdb.arch/stap-eval-lang-ada.c: Likewise.
16205 * gdb.arch/stap-eval-lang-ada.exp: New file.
16206
4dc06805
YQ
162072014-10-14 Yao Qi <yao@codesourcery.com>
16208
16209 * gdb.mi/mi-var-child.c (nothing1): New function.
16210 (nothing2): New function.
16211 (do_children_tests): Set function pointers by nothing1 and
16212 nothing2.
16213 * gdb.mi/mi-var-child.exp: Step over new added statements.
16214 Update test to match the new output.
16215 * gdb.mi/var-cmd.c (nothing1): New function.
16216 (nothing2): New function.
16217 (do_children_tests): Set function pointers by nothing1 and
16218 nothing2.
16219 * gdb.mi/mi-var-display.exp: Update test to match output.
16220 Step to the line specified by $line_dct_nothing.
16221 Increase the number of lines to step.
16222
46a93de2
YQ
162232014-10-14 Yao Qi <yao@codesourcery.com>
16224
16225 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
16226 tests.
16227 * gdb.mi/mi2-var-child.exp: Likewise.
16228
14ea52ee
DE
162292014-10-13 Doug Evans <dje@google.com>
16230
16231 * gdb.python/py-objfile.exp: Change name of file name test.
16232
e5c6e92b
DE
162332014-10-13 Doug Evans <dje@google.com>
16234
16235 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
16236 from the start of the CU.
16237
c780cc2f
JK
162382014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
16239 Yao Qi <yao@codesourcery.com>
16240
16241 Fix "save breakpoints" for "catch" command.
16242 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
16243 Remove -nonewline. Match also the added "main" line.
16244
99894e11
JK
162452014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16246
16247 Fix "save breakpoints" for "disable $bpnum" command.
16248 * gdb.base/save-bp.c (main): Add label.
16249 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
16250
6e1ac5a3
JK
162512014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16252
16253 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
16254
754dd2b0
YQ
162552014-10-11 Yao Qi <yao@codesourcery.com>
16256
16257 * gdb.server/server-kill.exp: Execute command
16258 "set remote trace-status-packet on" before "tstatus".
16259
f90183d7
YQ
162602014-10-11 Yao Qi <yao@codesourcery.com>
16261
16262 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
16263 (main): Call getppid.
16264 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
16265 and continue to it. Read variable "server_pid".
16266
bf40a607
YQ
162672014-10-11 Yao Qi <yao@codesourcery.com>
16268
16269 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
16270
052ca370
YQ
162712014-10-11 Yao Qi <yao@codesourcery.com>
16272
16273 * gdb.threads/thread-find.exp: Don't execute command
16274 "info threads".
16275 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
16276 * gdb.threads/linux-dp.exp: Don't check the condition
16277 $threads_created equals to zero.
16278
3831839c
PA
162792014-10-10 Pedro Alves <palves@redhat.com>
16280
16281 * gdb.base/bigcore.exp: Remove references to IRIX.
16282 * gdb.base/funcargs.exp: Likewise.
16283 * gdb.base/interrupt.exp: Likewise.
16284 * gdb.base/mips_pro.exp: Likewise.
16285 * gdb.base/nodebug.exp: Likewise.
16286 * gdb.base/setvar.exp: Likewise.
16287 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
16288
8b9a549d
PA
162892014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
16290 Pedro Alves <palves@redhat.com>
16291
16292 PR symtab/14466
16293 * gdb.base/vdso-warning.c: New file.
16294 * gdb.base/vdso-warning.exp: New file.
16295
d48ba5e8
DE
162962014-10-02 Doug Evans <dje@google.com>
16297
16298 * gdb.base/structs.c (main): Don't run forever.
16299
2278c276
PA
163002014-10-02 Pedro Alves <palves@redhat.com>
16301
16302 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
16303 (top level) <stop threads 1, stop threads 2>: Use it.
16304
b57bacec
PA
163052014-10-02 Pedro Alves <palves@redhat.com>
16306
16307 * gdb.threads/break-while-running.exp (test): Add new
16308 'update_thread_list' argument. Skip "info threads" if false.
16309 (top level): Add new 'update_thread_list' axis.
16310
13fd3ff3
PA
163112014-10-02 Pedro Alves <palves@redhat.com>
16312
16313 PR breakpoints/17431
16314 * gdb.base/execl-update-breakpoints.c: New file.
16315 * gdb.base/execl-update-breakpoints.exp: New file.
16316
0fec99e8
PA
163172014-10-01 Pedro Alves <palves@redhat.com>
16318
16319 * gdb.base/breakpoint-in-ro-region.c: New file.
16320 * gdb.base/breakpoint-in-ro-region.exp: New file.
16321
2ddf4301
SM
163222014-10-01 Simon Marchi <simon.marchi@ericsson.com>
16323
16324 * gdb.mi/mi-exit-code.exp: New file.
16325 * gdb.mi/mi-exit-code.c: New file.
16326
6a5f3f43
YQ
163272014-09-30 Yao Qi <yao@codesourcery.com>
16328
16329 * lib/prelink-support.exp (build_executable_own_libs): Error if
16330 the target isn't native.
16331
345bcc73
YQ
163322014-09-30 Yao Qi <yao@codesourcery.com>
16333
16334 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
16335 false.
16336
a25a5a45
PA
163372014-09-22 Pedro Alves <palves@redhat.com>
16338
16339 * gdb.threads/break-while-running.exp: New file.
16340 * gdb.threads/break-while-running.c: New file.
16341
00ba3162
YQ
163422014-09-19 Yao Qi <yao@codesourcery.com>
16343
16344 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
16345 Invoke test. Restart GDB with --readnow and invoke test again.
16346
c3b7b696
YQ
163472014-09-19 Yao Qi <yao@codesourcery.com>
16348
16349 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
16350 proc set_breakpoint_on_gcd_function. Invoke
16351 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
16352 invoke set_breakpoint_on_gcd_function again.
16353
2b4fd423
DE
163542014-09-18 Doug Evans <dje@google.com>
16355
16356 * gdb.dwarf2/symtab-producer.exp: New file.
16357
a5947601
SDJ
163582014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
16359
16360 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
16361 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
16362 * gdb.base/global-var-nested-by-dso.c: Likewise.
16363 * gdb.base/global-var-nested-by-dso.exp: Likewise.
16364
91c19059
SDJ
163652014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
16366 Pedro Alves <palves@redhat.com>
16367
16368 * gdb.base/watch-bitfields.exp: Pass string other than test file
16369 name to prepare_for_testing.
16370 (watch): New procedure.
16371 (expect_watchpoint): Use with_test_prefix.
16372 (top level): Factor out tests to ...
16373 (test_watch_location, test_regular_watch): ... these new
16374 procedures, and use with_test_prefix and gdb_continue_to_end.
16375
bb9d5f81
PP
163762014-09-16 Patrick Palka <patrick@parcs.ath.cx>
16377
16378 PR breakpoints/12526
16379 * gdb.base/watch-bitfields.exp: New file.
16380 * gdb.base/watch-bitfields.c: New file.
16381
635856f5
PA
163822014-09-16 Pedro Alves <palves@redhat.com>
16383
16384 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
16385 software and hardware addresses, not software address against
16386 itself.
16387
7280ceea
PA
163882014-09-16 Pedro Alves <palves@redhat.com>
16389
16390 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
16391 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
16392
428b16bd
PA
163932014-09-16 Pedro Alves <palves@redhat.com>
16394
16395 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
16396 files.
16397 * gdb.base/a2-run.exp: Remove all code guarded by istarget
16398 "*-*-vxworks*" throughout.
16399 * gdb.base/break.exp: Likewise.
16400 * gdb.base/default.exp: Likewise.
16401 * gdb.base/scope.exp: Likewise.
16402 * gdb.base/sepdebug.exp: Likewise.
16403 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
16404 throughout.
16405 * gdb.base/run.c: Likewise.
16406 * gdb.base/sepdebug.c: Likewise.
16407 * gdb.hp/gdb.aCC/run.c: Likewise.
16408 * gdb.reverse/until-reverse.c: Likewise.
16409 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
16410
666d413c
YQ
164112014-09-16 Yao Qi <yao@codesourcery.com>
16412
16413 * boards/local-remote-host-native.exp: New file.
16414
57cbd724
DE
164152014-09-14 Doug Evans <xdje42@gmail.com>
16416
16417 * gdb.threads/queue-signal.c (thread_count): New variable.
16418 (thread_count_mutex, thread_count_condvar): New variables.
16419 (incr_thread_count, wait_all_threads_running): New functions.
16420 (main): Wait for all threads to be in their thread functions.
16421
81219e53
DE
164222014-09-13 Doug Evans <xdje42@gmail.com>
16423
16424 * gdb.threads/queue-signal.c: New file.
16425 * gdb.threads/queue-signal.exp: New file.
16426
3714cea7
DE
164272014-09-13 Doug Evans <xdje42@gmail.com>
16428
16429 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
16430 be consistent with what default_gdb_init uses.
16431 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
16432 the plain text of the prompt. Add some logging printfs.
16433 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
16434
fa43b1d7
PA
164352014-09-12 Pedro Alves <palves@redhat.com>
16436
16437 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
16438 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
16439 * gdb.arch/i386-size-overlap.exp: Likewise.
16440 * gdb.arch/i386-size.exp: Likewise.
16441 * gdb.arch/i386-unwind.exp: Likewise.
16442 * gdb.base/a2-run.exp: Likewise.
16443 * gdb.base/break.exp: Likewise.
16444 * gdb.base/charset.exp: Likewise.
16445 * gdb.base/chng-syms.exp: Likewise.
16446 * gdb.base/commands.exp: Likewise.
16447 * gdb.base/dbx.exp: Likewise.
16448 * gdb.base/find.exp: Likewise.
16449 * gdb.base/funcargs.exp: Likewise.
16450 * gdb.base/jit-simple.exp: Likewise.
16451 * gdb.base/reread.exp: Likewise.
16452 * gdb.base/sepdebug.exp: Likewise.
16453 * gdb.base/step-bt.exp: Likewise.
16454 * gdb.cp/mb-inline.exp: Likewise.
16455 * gdb.cp/mb-templates.exp: Likewise.
16456 * gdb.objc/basicclass.exp: Likewise.
16457 * gdb.threads/killed.exp: Likewise.
16458
9d9bf2df
EBM
164592014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16460
16461 PR tdep/17379
16462 * gdb.arch/powerpc-stackless.S: New file.
16463 * gdb.arch/powerpc-stackless.exp: New file.
16464
1cf2f1b0
JK
164652014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16466
16467 * gdb.base/attach.c: Include unistd.h.
16468 (main): Call alarm. Add label postloop.
16469 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
16470 gdb_breakpoint, gdb_continue_to_breakpoint.
16471 (test_command_line_attach_run): Kill ${testpid} in one exit path.
16472
98880d46
PA
164732014-09-11 Pedro Alves <palves@redhat.com>
16474
16475 PR gdb/17347
16476 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
16477 * gdb.base/attach.exp (test_command_line_attach_run): New
16478 procedure.
16479 (top level): Call it.
16480
4c92ff2c
PA
164812014-09-11 Pedro Alves <palves@redhat.com>
16482
16483 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
16484 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
16485 (do_command_attach_tests): Use spawn_wait_for_attach.
16486 * gdb.base/solib-overlap.exp: Likewise.
16487 * gdb.multi/multi-attach.exp: Likewise.
16488 * gdb.python/py-prompt.exp: Likewise.
16489 * gdb.python/py-sync-interp.exp: Likewise.
16490 * gdb.server/ext-attach.exp: Likewise.
16491
3adc1a7d
GKB
164922014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
16493
16494 * gdb.fortran/array-element.exp: Remove unexpected "continue"
16495 command in testcase. Simplify testcase.
16496
96334934
JB
164972014-09-10 Joel Brobecker <brobecker@adacore.com>
16498
16499 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
16500
eb479039
JB
165012014-09-10 Joel Brobecker <brobecker@adacore.com>
16502
16503 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
16504
deede10c
JB
165052014-09-10 Joel Brobecker <brobecker@adacore.com>
16506
16507 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
16508
7828a5f5
JB
165092014-09-10 Joel Brobecker <brobecker@adacore.com>
16510
16511 * gdb.dwarf2/dynarr-ptr.c: New file.
16512 * gdb.dwarf2/dynarr-ptr.exp: New file.
16513
33aeebcf
MR
165142014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16515
16516 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
16517 of 30 rather than hardcoding 120 for a slow test case. Take the
16518 `gdb,timeout' target setting into account for this calculation.
16519 Don't extend the timeout for the test cases that don't need it.
16520
7b415901
MR
165212014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16522
16523 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
16524 a factor of 2 for a slow test case. Take the `gdb,timeout'
16525 target setting into account for this calculation.
16526 * gdb.reverse/until-precsave.exp: Increase the timeout by
16527 a factor of 15 and 3 respectively rather than adding 120
16528 for a pair of slow test cases. Take the `gdb,timeout'
16529 target setting into account for this calculation.
16530
4a40f85a
MR
165312014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16532
16533 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
16534 timeout, don't pass one down to gdb_expect.
16535 (gdb_expect): Rework timeout selection.
16536
09635af7
MR
165372014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16538
16539 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
16540 exception on timeout.
16541 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
16542 (gdbserver_start_extended): Catch any `gdbserver_start' error
16543 exceptions.
16544 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
16545 * lib/mi-support.exp (mi_gdb_target_load): Catch any
16546 `gdbserver_gdb_load' error exceptions.
16547
2bdd10b7
MR
165482014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16549
16550 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
16551 120 on waiting for the TCP socket to open.
16552
316935f0
DE
165532014-09-09 Doug Evans <xdje42@gmail.com>
16554
16555 * gdb.base/default.exp (show_conv_list): Add _caller_is,
16556 _caller_matches, _any_caller_is, _any_caller_matches.
16557
83740597
DE
165582014-09-09 Doug Evans <xdje42@gmail.com>
16559
16560 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
16561
4c122fc3
YQ
165622014-09-09 Yao Qi <yao@codesourcery.com>
16563
16564 * gdb.mi/mi-var-display.exp: Set print symbol off.
16565
a9f116cb
GKB
165662014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
16567
16568 PR gdb/17035
16569 * gdb.base/commands.exp: Add tests to verify user-defined
16570 commands with empty bodies.
16571 * gdb.python/py-cmd.exp: Test that we don't show user-defined
16572 python commands in `show user command`.
16573 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
16574 scheme commands in `show user command`.
16575
c75bd3a2
JK
165762014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16577
16578 PR python/17355
16579 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
16580 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
16581 * gdb.python/py-framefilter-invalidarg.exp: New file.
16582 * gdb.python/py-framefilter-invalidarg.py: New file.
16583
faa42425
DE
165842014-09-06 Doug Evans <xdje42@gmail.com>
16585
16586 PR 15276
16587 * gdb.python/py-caller-is.c: New file.
16588 * gdb.python/py-caller-is.exp: New file.
16589
474ca4f6
SDJ
165902014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
16591
16592 PR gdb/17235
16593 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
16594 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
16595
eb0b0463
SDJ
165962014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
16597
16598 PR fortran/17237
16599 * gdb.fortran/print-formatted.exp: New file.
16600 * gdb.fortran/print-formatted.f90: Likewise.
16601
5f3b99cf
SS
166022014-09-03 Sasha Smundak <asmundak@google.com>
16603
16604 * gdb.python/py-frame.exp: Test Frame.read_register.
16605
7d793aa9
SDJ
166062014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
16607
16608 PR python/16699
16609 * gdb.python/py-completion.exp: New file.
16610 * gdb.python/py-completion.py: Likewise.
16611
fb0576e9
DE
166122014-08-28 Doug Evans <dje@google.com>
16613
16614 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
16615 eax,etc. are live with values set by gdb and thus the compiler can't
16616 use them.
16617 * gdb.arch/i386-pseudo.c (main): Ditto.
16618
ee92b0dd
DE
166192014-08-27 Doug Evans <dje@google.com>
16620
16621 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
16622
6649db35
DE
166232014-08-25 Doug Evans <dje@google.com>
16624
16625 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
16626 (main): Ditto.
16627
564b7600
DE
166282014-08-25 Doug Evans <dje@google.com>
16629
16630 * gdb.threads/thread-execl.exp: #include <stdio.h>.
16631
3881fb67
YQ
166322014-08-24 Yao Qi <yao@codesourcery.com>
16633
16634 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
16635 symbol off.
16636 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
16637
a05a36a5
DE
166382014-08-22 Doug Evans <dje@google.com>
16639
16640 PR 17276
16641 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
16642 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
16643 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
16644
7c343b48
YQ
166452014-08-22 Yao Qi <yao@codesourcery.com>
16646
16647 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
16648 * gdb.python/py-finish-breakpoint2.exp: Likewise.
16649 * gdb.python/python.exp: Likewise. Use .py file on the host
16650 instead of the build.
16651
22fd09ae
JK
166522014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16653
16654 * gdb.threads/gcore-stale-thread.c: New file.
16655 * gdb.threads/gcore-stale-thread.exp: New file.
16656
a8454a7c
PA
166572014-08-21 Pedro Alves <palves@redhat.com>
16658
16659 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
16660 * gdb.base/gcore-relro-pie.exp: Likewise.
16661 * gdb.base/gcore-relro.exp: Likewise.
16662 * gdb.base/gcore.exp: Likewise.
16663 * gdb.base/print-symbol-loading.exp: Likewise.
16664 * gdb.threads/gcore-thread.exp: Likewise.
16665 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
16666
2a31c623
PA
166672014-08-20 Pedro Alves <palves@redhat.com>
16668 Jan Kratochvil <jan.kratochvil@redhat.com>
16669
16670 * Makefile.in (EXTRA_RULES, CC): New variables, get from
16671 configure.
16672 (EXPECT): Handle READ1 being set.
16673 (all): Depend on EXTRA_RULES.
16674 (check-read1, expect-read1, read1.so, read1): New rules.
16675 * README (Testsuite Parameters): Document the READ1 make variable.
16676 (Race detection): New section.
16677 * configure: Regenerate.
16678 * configure.ac: If build==host==target, and running under a
16679 GNU/glibc system, add read1 to the extra Makefile rules.
16680 (EXTRA_RULES): AC_SUBST it.
16681 * lib/read1.c: New file.
16682
d36430db
JB
166832014-08-20 Joel Brobecker <brobecker@adacore.com>
16684
16685 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
16686 the handling of variables declared as a typedef to an array
16687 which a DW_AT_data_location attribute.
16688
9a0dc9e3
PA
166892014-08-19 Andrew Burgess <aburgess@broadcom.com>
16690 Pedro Alves <palves@redhat.com>
16691
16692 PR symtab/14604
16693 PR symtab/14605
16694 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
16695 gdb_test.
16696
0718a8da
PA
166972014-08-19 Pedro Alves <palves@redhat.com>
16698
16699 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
16700
13b448cd
YQ
167012014-08-19 Yao Qi <yao@codesourcery.com>
16702
16703 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
16704 right line.
16705
1cbf5077
DB
167062014-08-18 David Blaikie <dblaikie@gmail.com>
16707
16708 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
16709
bf0fae19
JB
167102014-08-18 Joel Brobecker <brobecker@adacore.com>
16711
16712 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
16713 attribute in array range.
16714
3c8c5dcc
JB
167152014-08-18 Joel Brobecker <brobecker@adacore.com>
16716
16717 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
16718
e66d4446
SC
167192014-08-15 Siva Chandra Reddy <sivachandra@google.com>
16720
16721 PR c++/17132
16722 * gdb.cp/pr17132.cc: New file.
16723 * gdb.cp/pr17132.exp: New file.
16724
940df408
SC
167252014-08-15 Siva Chandra Reddy <sivachandra@google.com>
16726
16727 * gdb.python/py-xmethods.py (A_getarrayind)
16728 (E_method_char_worker.__call__, E_method_int_worker.__call__):
16729 Use 'print' with function call syntax.
16730 (E_method_matcher.match): Fix tab vs space indentation mixup.
16731
ebcc6c3a
YQ
167322014-08-15 Yao Qi <yao@codesourcery.com>
16733
16734 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
16735 false.
16736
775e0f04
YQ
167372014-08-15 Yao Qi <yao@codesourcery.com>
16738
16739 * gdb.cp/casts.exp: Set print symbol off.
16740 * gdb.cp/class2.exp: Likewise.
16741 * gdb.cp/overload.exp: Likewise.
16742 * gdb.cp/templates.exp: Likewise.
16743
d769e349
DE
167442014-08-11 Doug Evans <dje@google.com>
16745
16746 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
16747 (test_load_shlib): Update.
16748
20c6f1e1
YQ
167492014-08-09 Yao Qi <yao@codesourcery.com>
16750
16751 * gdb.base/display.exp: Invoke is_address_zero_readable.
16752 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
16753 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
16754 * gdb.base/hbreak-unmapped.exp: Return if
16755 is_address_zero_readable returns true.
16756 * gdb.base/signest.exp: Likewise.
16757 * gdb.base/signull.exp: Likewise.
16758 * gdb.base/sigbpt.exp: Likewise.
16759 * gdb.guile/scm-disasm.exp: Do the test if
16760 is_address_zero_readable returns false.
16761 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
16762 * gdb.python/py-arch.exp: Likewise.
16763 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
16764 * lib/gdb.exp (is_address_zero_readable): New proc.
16765
5792e8e3
YQ
167662014-08-09 Yao Qi <yao@codesourcery.com>
16767
16768 PR testsuite/13443
16769 * gdb.mi/mi-var-display.exp: Make test messages unique.
16770
3cecbbbe
TT
167712014-08-04 Tom Tromey <tromey@redhat.com>
16772
16773 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
16774 target 0".
16775
00b51ff5
TT
167762014-08-04 Tom Tromey <tromey@redhat.com>
16777
16778 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
16779 "target_resume".
16780
6908c509
JB
167812014-08-01 Joel Brobecker <brobecker@adacore.com>
16782
16783 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
16784 inner_vla_struct_object_size.
16785 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
16786 as xfail.
16787
cc6563d2
PA
167882014-07-30 Pedro Alves <palves@redhat.com>
16789
16790 * gdb.threads/signal-command-handle-nopass.exp (test): Add
16791 comment.
16792
7e09a223
YQ
167932014-07-29 Yao Qi <yao@codesourcery.com>
16794
16795 PR gdb/17206
16796 * gdb.base/until-nodebug.exp: New.
16797
7ebdbe92
DE
167982014-07-28 Doug Evans <xdje42@gmail.com>
16799
16800 PR guile/17203
16801 * gdb.guile/scm-parameter.exp: Add tests for trying to create
16802 previously existing parameter, and previously ambiguously spelled
16803 parameter.
16804
fdb1adc6
WN
168052014-07-28 Will Newton <will.newton@linaro.org>
16806
16807 * gdb.base/varargs.exp: Remove KFAILs for ARM.
16808
186fcde0
DE
168092014-07-26 Ludovic Courtès <ludo@gnu.org>
16810 Doug Evans <xdje42@gmail.com>
16811
16812 PR guile/17146
16813 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
16814
70509625
PA
168152014-07-25 Pedro Alves <palves@redhat.com>
16816
16817 * gdb.threads/signal-command-handle-nopass.c: New file.
16818 * gdb.threads/signal-command-handle-nopass.exp: New file.
16819 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
16820 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
16821 * gdb.threads/signal-delivered-right-thread.c: New file.
16822 * gdb.threads/signal-delivered-right-thread.exp: New file.
16823
c3f814a1
PA
168242014-07-25 Pedro Alves <palves@redhat.com>
16825
16826 * gdb.base/double-prompt-target-event-error.exp
16827 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
16828 match.
16829 (cancel_pagination_in_target_event): Rework double prompt
16830 detection.
16831 * gdb.base/paginate-after-ctrl-c-running.exp
16832 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
16833 <return>' match.
16834 * gdb.base/paginate-bg-execution.exp
16835 (test_bg_execution_pagination_return)
16836 (test_bg_execution_pagination_cancel): Remove '-notransfer
16837 <return>' matches.
16838 * gdb.base/paginate-execution-startup.exp
16839 (test_fg_execution_pagination_return)
16840 (test_fg_execution_pagination_cancel): Remove '-notransfer
16841 <return>' matches.
16842 * gdb.base/paginate-inferior-exit.exp
16843 (test_paginate_inferior_exited): Remove '-notransfer <return>'
16844 match.
16845 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
16846 * lib/gdb.exp (pagination_prompt): Run text through
16847 string_to_regexp.
16848 (gdb_test_multiple): Match $pagination_prompt instead of
16849 "<return>".
16850 (string_to_regexp): Move to lib/gdb-utils.exp.
16851
e214cf6c
JK
168522014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16853
16854 * gdb.arch/amd64-entry-value-paramref.S: New file.
16855 * gdb.arch/amd64-entry-value-paramref.cc: New file.
16856 * gdb.arch/amd64-entry-value-paramref.exp: New file.
16857 * gdb.arch/amd64-optimout-repeat.S: New file.
16858 * gdb.arch/amd64-optimout-repeat.c: New file.
16859 * gdb.arch/amd64-optimout-repeat.exp: New file.
16860
17d0c5c8
JK
168612014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
16862
16863 PR gdb/17170
16864 * gdb.base/statistics.exp: New file.
16865
b8b8facf
DE
168662014-07-17 Doug Evans <dje@google.com>
16867
74b49205 16868 PR gdb/17170
b8b8facf
DE
16869 * gdb.base/maint.exp: Update testing of per-command stats.
16870
1b5d0ab3
PA
168712014-07-16 Pedro Alves <palves@redhat.com>
16872
16873 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
16874 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
16875 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
16876 (tfile_write_buf): New functions.
16877 (add_memory_block): Rewrite using the above.
16878 (adjust_function_address): New function.
16879 (FUNCTION_ADDRESS): New macro.
16880 (write_basic_trace_file): Remove short_x local, and use
16881 tfile_write_16. Change type of func_addr local to unsigned long
16882 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
16883 here. Cast argument of add_memory_block to char pointer.
16884 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
16885 (main): Remove parameters.
16886 * gdb.trace/tfile.exp: Remove nowarnings.
16887
4d974e88
SM
168882014-07-15 Simon Marchi <simon.marchi@ericsson.com>
16889
16890 * gdb.base/debug-expr.exp: Test string evaluation with
16891 "debug expression" on.
16892
41e99568
PA
168932014-07-15 Pedro Alves <palves@redhat.com>
16894
16895 * gdb.base/reread.exp: Use clean_restart.
16896
487d9753
PL
168972014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
16898
16899 * gdb.arch/avr-flash-qualifer.c: New.
16900 * gdb.arch/avr-flash-qualifer.exp: New.
16901
cc1c52ad
PA
169022014-07-14 Pedro Alves <palves@redhat.com>
16903
16904 * gdb.base/paginate-after-ctrl-c-running.c: New file.
16905 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
16906
1e973570
PA
169072014-07-14 Pedro Alves <palves@redhat.com>
16908
16909 * gdb.base/double-prompt-target-event-error.c: New file.
16910 * gdb.base/double-prompt-target-event-error.exp: New file.
16911
93d6eb10
PA
169122014-07-14 Pedro Alves <palves@redhat.com>
16913
16914 PR gdb/17072
16915 * gdb.base/paginate-inferior-exit.c: New file.
16916 * gdb.base/paginate-inferior-exit.exp: New file.
16917
0017922d
PA
169182014-07-14 Pedro Alves <palves@redhat.com>
16919
16920 PR gdb/17072
16921 * gdb.base/paginate-bg-execution.c: New file.
16922 * gdb.base/paginate-bg-execution.exp: New file.
16923
94696ad3
PA
169242014-07-14 Pedro Alves <palves@redhat.com>
16925
16926 PR gdb/17072
16927 * gdb.base/paginate-execution-startup.c: New file.
16928 * gdb.base/paginate-execution-startup.exp: New file.
16929 * lib/gdb.exp (pagination_prompt): New global.
16930 (default_gdb_spawn): New procedure, factored out from
16931 default_gdb_spawn.
16932 (default_gdb_start): Adjust to call default_gdb_spawn.
16933 (gdb_spawn): New procedure.
16934
bd293940
PA
169352014-07-14 Pedro Alves <palves@redhat.com>
16936
16937 * lib/gdb.exp (gdb_assert): New procedure.
16938 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
16939
c933f875
PA
169402014-07-14 Pedro Alves <palves@redhat.com>
16941
16942 * gdb.base/execution-termios.c: New file.
16943 * gdb.base/execution-termios.exp: New file.
16944
d98b7a16
TT
169452014-07-14 Tom Tromey <tromey@redhat.com>
16946
16947 * gdb.cp/vla-cxx.cc: New file.
16948 * gdb.cp/vla-cxx.exp: New file.
16949
548740d6
TT
169502014-07-14 Tom Tromey <tromey@redhat.com>
16951
16952 * gdb.reverse/rerun-prec.c: New file.
16953 * gdb.reverse/rerun-prec.exp: New file.
16954
a25eb028
MR
169552014-07-12 Maciej W. Rozycki <macro@mips.com>
16956 Maciej W. Rozycki <macro@codesourcery.com>
16957
16958 * lib/gdb-utils.exp: New file.
16959 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
16960 inline `gdb_init_command' processing.
16961 (gdb_start_cmd): Likewise.
16962 * lib/mi-support.exp (mi_run_cmd): Likewise.
16963 * README: Document `gdb_init_command' and `gdb_init_commands'.
16964
218c2655
JK
169652014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16966
16967 Fix false FAIL running under a very long directory name.
16968 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
16969 and "set print elements 10000". Twice.
16970
5401fde3
YQ
169712014-07-11 Yao Qi <yao@codesourcery.com>
16972
16973 * gdb.base/exprs.exp: "set print symbol off".
16974
e76126e8
PA
169752014-07-11 Pedro Alves <palves@redhat.com>
16976
16977 * gdb.threads/kill.c: New file.
16978 * gdb.threads/kill.exp: New file.
16979
2d6f0de6
YQ
169802014-07-10 Yao Qi <yao@codesourcery.com>
16981
16982 * gdb.trace/tfile.c (write_basic_trace_file)
16983 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
16984 address written to trace file.
16985
7180e04a
PA
169862014-07-09 Pedro Alves <palves@redhat.com>
16987
16988 * gdb.base/attach-wait-input.exp: New file.
16989 * gdb.base/attach-wait-input.c: New file.
16990
9a9a7608
AB
169912014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
16992
16993 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
16994 setting up test structures.
16995 (main): Call new test function.
16996 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
16997 test function, continue into test function and walk test
16998 structures.
16999
161ac41e
YQ
170002014-07-02 Yao Qi <yao@codesourcery.com>
17001
17002 * gdb.trace/entry-values.c: Define labels 'foo_start' and
17003 'bar_start' at the beginning of functions 'foo' and 'bar'
17004 respectively.
17005 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
17006 instead of 'foo' and 'bar'.
17007
1f267ae3
MM
170082014-07-08 Markus Metzger <markus.t.metzger@intel.com>
17009
17010 * gdb.btrace/segv.exp: New.
17011 * gdb.btrace/segv.c: New.
17012
2b239efb
LM
170132014-07-02 Luis Machado <lgustavo@codesourcery.com>
17014
17015 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
17016 instruction.
17017
cf363f18
MW
170182014-06-30 Mark Wielaard <mjw@redhat.com>
17019
17020 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
17021 vulture, vilify, villar): New volatile array constants.
17022 (vindictive, vegetation): New const volatile array constants.
17023 * gdb.base/volatile.exp: Test volatile and const volatile array
17024 types.
17025
aebf9d24
AA
170262014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
17027
17028 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
17029 target lacks support for awatch, rwatch, or hbreak.
17030
b67a2c6f
YQ
170312014-06-27 Yao Qi <yao@codesourcery.com>
17032
17033 * gdb.multi/dummy-frame-restore.exp: New.
17034 * gdb.multi/dummy-frame-restore.c: New.
17035
aef92902
MM
170362014-06-25 Markus Metzger <markus.t.metzger@intel.com>
17037
17038 * gdb.btrace/gcore.exp: New.
17039
8e9db26e
PA
170402014-06-23 Pedro Alves <palves@redhat.com>
17041
17042 * gdb.base/watchpoint-reuse-slot.c: New file.
17043 * gdb.base/watchpoint-reuse-slot.exp: New file.
17044
70afc5b7
SC
170452014-06-23 Siva Chandra Reddy <sivachandra@google.com>
17046
17047 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
17048 progspace's filename in 'info', 'enable' and 'disable' command
17049 tests.
17050
b972bd9c
JK
170512014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
17052
17053 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
17054 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
17055 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
17056
125f8a3d
GB
170572014-06-20 Gary Benson <gbenson@redhat.com>
17058
17059 * gdb.arch/i386-avx.exp: Fix include file location.
17060 * gdb.arch/i386-sse.exp: Likewise.
17061
3ed9baed
IB
170622014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
17063
17064 * gdb.dlang/expression.exp: New file.
17065
034f788c
PA
170662014-06-19 Pedro Alves <palves@redhat.com>
17067
17068 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
17069 out from ...
17070 (top level): ... here. Iterate running tests under different
17071 scheduler-locking settings.
17072
45371d0c
LM
170732014-06-18 Luis Machado <lgustavo@codesourcery.com>
17074
17075 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
17076 to DW_FORM_addr and use non-zero addresses.
17077
5d376983
SC
170782014-06-18 Siva Chandra Reddy <sivachandra@google.com>
17079
17080 PR gdb/17017
17081 * gdb.python/py-xmethods.cc: Add global function call counters and
17082 increment them in their respective functions. Remove "cout"
17083 statements.
17084 * gdb.python/py-xmethods.exp: Make tests check the global function
17085 call counters instead of depending on inferior IO.
17086
a1aa2221
LM
170872014-06-18 Don Breazeal <donb@codesourcery.com>
17088
17089 * gdb.base/foll-fork.exp (default_fork_parent_follow):
17090 Deleted procedure.
17091 (explicit_fork_parent_follow): Deleted procedure.
17092 (explicit_fork_child_follow): Deleted procedure.
17093 (test_follow_fork): New procedure.
17094 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 17095 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
17096 procedure calls.
17097
0fc05997
YQ
170982014-06-17 Yao Qi <yao@codesourcery.com>
17099
17100 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
17101 CP1252.
17102
70795c52
LM
171032014-06-17 Luis Machado <lgustavo@codesourcery.com>
17104
17105 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
17106 Initialize ptr and S explicitly.
17107 (skip_type_update_when_not_use_rtti_test): Likewise.
17108
6be47f0c
KS
171092014-06-16 Keith Seitz <keiths@redhat.com>
17110
17111 PR mi/15863
17112 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
17113 the inferior is started.
17114
d03de421
PA
171152014-06-16 Pedro Alves <palves@redhat.com>
17116
17117 * gdb.base/break-main-file-remove-fail.c: New file.
17118 * gdb.base/break-main-file-remove-fail.exp: New file.
17119 * gdb.base/break-unload-file.exp: Use build_executable instead of
17120 prepare_for_testing.
17121 (test_break): New parameter "initial_load". Handle it.
17122 (top level): Add initial_load cmdline/file axis.
17123
f9579b99
TT
171242014-06-12 Tom Tromey <tromey@redhat.com>
17125
17126 * gdb.base/completion.exp: Don't use directory name in test.
17127
3657956b
GB
171282014-06-09 Gary Benson <gbenson@redhat.com>
17129
17130 * gdb.base/sigall.c [Functions to send signals]: Reorder to
17131 separate the always-available ANSI-standard signals from the
17132 signals that require checking.
17133 (main): Likewise.
17134 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
17135 Likewise.
17136 (main): Likewise.
17137
4186eb54
KS
171382014-06-07 Keith Seitz <keiths@redhat.com>
17139
17140 Revert:
17141 PR c++/16253
17142 * gdb.cp/var-tag.cc: New file.
17143 * gdb.cp/var-tag.exp: New file.
17144 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
17145 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
17146 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
17147 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
17148
25326a28 171492014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
17150
17151 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
17152
829155c9
PA
171532014-06-06 Pedro Alves <palves@redhat.com>
17154
17155 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
17156 in target debug output instead of looking at RSP packets,
17157 disabling the test on any target that uses hardware stepping.
17158 Update comments.
17159
61c8d22e
PA
171602014-06-06 Pedro Alves <palves@redhat.com>
17161
17162 * gdb.base/break-unload-file.exp: Fix typo.
17163
d9a47287
YQ
171642014-06-06 Yao Qi <yao@codesourcery.com>
17165
17166 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
17167 from "jit_function" to "^jit_function".
17168
e5e01dbf
YQ
171692014-06-06 Yao Qi <yao@codesourcery.com>
17170
17171 * gdb.base/async.c (foo): Add one statement.
17172 * gdb.base/async.exp: Get the next instruction address and
17173 match the output of "nexti" by instruction address. Match
17174 the hex address in the output of "finish".
17175
73ba372c
GB
171762014-06-06 Gary Benson <gbenson@redhat.com>
17177
17178 * gdb.base/call-signals.c: Remove preprocessor conditionals
17179 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
17180 SIGSEGV and SIGTERM.
17181 * gdb.base/sigall.c: Likewise.
17182 * gdb.base/unwindonsignal.c: Likewise.
17183 * gdb.reverse/sigall-reverse.c: Likewise.
17184
831517df
YQ
171852014-06-06 Yao Qi <yao@codesourcery.com>
17186
17187 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
17188 readable, skip the test.
17189
b8b91e98
YQ
171902014-06-06 Yao Qi <yao@codesourcery.com>
17191
17192 * gdb.threads/staticthreads.c (thread_function): Move the line
17193 setting breakpoint on forward.
17194 * gdb.threads/staticthreads.exp: Update comments.
17195
fb934770
LC
171962014-06-05 Ludovic Courtès <ludo@gnu.org>
17197
17198 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
17199 "history-append! type error".
17200
6ef284bd
SM
172012014-06-05 Simon Marchi <simon.marchi@ericsson.com>
17202
17203 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
17204 erroneous dprintf expected input.
17205
a872e241
DE
172062014-06-04 Doug Evans <xdje42@gmail.com>
17207
17208 * gdb.guile/scm-generics.exp: Delete.
17209
16f691fb
DE
172102014-06-04 Doug Evans <xdje42@gmail.com>
17211
17212 * gdb.guile/scm-breakpoint.exp: Update.
17213 Add tests for breakpoint registration.
17214
012370f6
TT
172152014-06-04 Tom Tromey <tromey@redhat.com>
17216
17217 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
17218 VLA-in-union.
17219 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
17220 inner_vla_struct, vla_union types. Initialize objects of those
17221 types and compute their sizes.
17222
9f5a4cef
HZ
172232014-06-04 Nathan Sidwell <nathan@codesourcery.com>
17224 Hui Zhu <hui@codesourcery.com>
17225
17226 * gdb.base/fileio.exp: Add test for shell not available as well as
17227 available.
17228 * gdb.base/fileio.c (test_system): Check for shell twice.
17229
90a45c4d
YQ
172302014-06-04 Yao Qi <yao@codesourcery.com>
17231
17232 * gdb.base/auto-connect-native-target.exp: Remove redundant
17233 space from the regexp pattern.
17234
70017e41
YQ
172352014-06-04 Yao Qi <yao@codesourcery.com>
17236
17237 * gdb.base/default.exp: Replace "child" with "native" in
17238 regexp pattern.
17239
883964a7
SC
172402014-06-03 Siva Chandra Reddy <sivachandra@google.com>
17241
17242 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
17243 * gdb.python/py-xmethods.exp: New tests to test xmethods.
17244 * gdb.python/py-xmethods.py: Python script supporting the
17245 new testcase and tests.
17246
ef370185
JB
172472014-06-03 Joel Brobecker <brobecker@adacore.com>
17248 Pedro Alves <palves@redhat.com>
17249
17250 PR breakpoints/17000
17251 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
17252 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
17253
1e2ccb61
BM
172542014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
17255
17256 * gdb.base/subst.exp: Add tests to verify partial path matching
17257 output.
17258
c6ec5ab2
PA
172592014-06-03 Pedro Alves <palves@redhat.com>
17260
17261 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
17262 target that doesn't use software single-stepping.
17263
835c559f
PA
172642014-06-03 Pedro Alves <palves@redhat.com>
17265
17266 PR breakpoints/17000
17267 * gdb.base/sss-bp-on-user-bp-2.c: New file.
17268 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
17269
06eb1586
DE
172702014-06-02 Doug Evans <xdje42@gmail.com>
17271
17272 * gdb.guile/scm-parameter.exp: New file.
17273
e698b8c4
DE
172742014-06-02 Doug Evans <xdje42@gmail.com>
17275
17276 * gdb.guile/scm-cmd.c: New file.
17277 * gdb.guile/scm-cmd.exp: New file.
17278
ded03782
DE
172792014-06-02 Doug Evans <xdje42@gmail.com>
17280
17281 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
17282 pretty-printer lookup.
17283 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
17284 (make-pp_s-printer): Call it.
17285 (make-pretty-printer-from-dict): New function.
17286 (lookup-pretty-printer-maker-from-dict): New function.
17287 (*pretty-printer*): Simplify.
17288 (make-objfile-pp_s-printer): New function.
17289 (install-objfile-pretty-printers!): New function.
17290 (make-progspace-pp_s-printer): New function.
17291 (install-progspace-pretty-printers!): New function.
17292 * gdb.guile/scm-progspace.c: New file.
17293 * gdb.guile/scm-progspace.exp: New file.
17294
41fac0cf
PA
172952014-06-02 Pedro Alves <palves@redhat.com>
17296
17297 * gdb.base/dprintf-bp-same-addr.c: New file.
17298 * gdb.base/dprintf-bp-same-addr.exp: New file.
17299
96ae5695
EBM
173002014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17301
17302 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
17303 * gdb.arch/powerpc-power.s: Likewise.
17304
da02b3a8
JB
173052014-06-02 Joel Brobecker <brobecker@adacore.com>
17306
17307 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
17308
c72b2e7b
YQ
173092014-06-01 Yao Qi <yao@codesourcery.com>
17310
17311 * gdb.base/watchpoint.exp (test_watch_location): Check null
17312 pointer can be dereferenced. If not, do the test, otherwise
17313 skip it.
17314
53e8a631
AB
173152014-05-30 Andrew Burgess <aburgess@broadcom.com>
17316
17317 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
17318 results.
17319 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
17320
938f0e2f
AB
173212014-05-30 Andrew Burgess <aburgess@broadcom.com>
17322
17323 * gdb.arch/amd64-invalid-stack-middle.S: New file.
17324 * gdb.arch/amd64-invalid-stack-middle.c: New file.
17325 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
17326 * gdb.arch/amd64-invalid-stack-top.c: New file.
17327 * gdb.arch/amd64-invalid-stack-top.exp: New file.
17328
9ba6657a
PA
173292014-05-30 Pedro Alves <palves@redhat.com>
17330
17331 PR breakpoints/17000
17332 * gdb.base/sss-bp-on-user-bp.c: New file.
17333 * gdb.base/sss-bp-on-user-bp.exp: New file.
17334
522c09bf
DB
173352014-05-30 David Blaikie <dblaikie@gmail.com>
17336
17337 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
17338 gnu_inline semantics via attribute.
17339 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
17340 source explicitly specifies the required semantics.
17341
bf4ef81e
MR
173422014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
17343
17344 * gdb.reverse/sigall-reverse.exp: Fix a typo.
17345
329ea579
PA
173462014-05-29 Pedro Alves <palves@redhat.com>
17347 Tom Tromey <tromey@redhat.com>
17348
17349 * gdb.base/async-shell.exp: Don't enable target-async.
17350 * gdb.base/async.exp
17351 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
17352 parameter. Adjust.
17353 (top level): Don't test with "target-async".
17354 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
17355 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
17356 * gdb.base/inferior-died.exp: Don't enable target-async.
17357 * gdb.base/interrupt-noterm.exp: Likewise.
17358 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
17359 * gdb.mi/mi-nonstop-exit.exp: Likewise.
17360 * gdb.mi/mi-nonstop.exp: Likewise.
17361 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
17362 * gdb.mi/mi-nsintrall.exp: Likewise.
17363 * gdb.mi/mi-nsmoribund.exp: Likewise.
17364 * gdb.mi/mi-nsthrexec.exp: Likewise.
17365 * gdb.mi/mi-watch-nonstop.exp: Likewise.
17366 * gdb.multi/watchpoint-multi.exp: Adjust comment.
17367 * gdb.python/py-evsignal.exp: Don't enable target-async.
17368 * gdb.python/py-evthreads.exp: Likewise.
17369 * gdb.python/py-prompt.exp: Likewise.
17370 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
17371 * gdb.server/solib-list.exp: Don't enable target-async.
17372 * gdb.threads/thread-specific-bp.exp: Likewise.
17373 * lib/mi-support.exp: Adjust to use mi-async.
17374
fd664c91
PA
173752014-05-29 Pedro Alves <palves@redhat.com>
17376
17377 PR gdb/13860
17378 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
17379 reason, even in sync mode.
17380
251bde03
PA
173812014-05-29 Pedro Alves <palves@redhat.com>
17382 Hui Zhu <hui@codesourcery.com>
17383
17384 PR PR15693
17385 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
17386 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
17387 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
17388 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
17389
7f3c0343
JB
173902014-05-28 Joel Brobecker <brobecker@adacore.com>
17391
17392 * config/monitor.exp (gdb_target_monitor): Replace use of
17393 "set remotebaud" by "set serial baud".
17394
b2715b27
AW
173952014-05-26 Andy Wingo <wingo@igalia.com>
17396
17397 * gdb.guile/scm-breakpoint.exp:
17398 * gdb.guile/scm-gsmob.exp: Update to use plain old object
17399 properties instead of gdb-object-properties.
17400
498a4489
YQ
174012014-05-26 Yao Qi <yao@codesourcery.com>
17402
17403 * gdb.server/no-thread-db.exp: Specify source file name
17404 explicitly when setting a breakpoint.
17405
589fdceb
MM
174062014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17407
17408 * gdb.btrace/vdso.c: New.
17409 * gdb.btrace/vdso.exp: New.
17410
e9089e05
MM
174112014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17412
17413 * gdb.base/gcore.exp (capture_command_output): Move ...
17414 * lib/gdb.exp (capture_command_output): ... here.
17415
67b5c0c1
MM
174162014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17417
17418 * gdb.btrace/data.exp: Test memory access during btrace replay.
17419
a2199296
SM
174202014-05-22 Simon Marchi <simon.marchi@ericsson.com>
17421
17422 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
17423
17b2616c
PA
174242014-05-21 Pedro Alves <palves@redhat.com>
17425
17426 PR gdb/13860
17427 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
17428 (top level): Test that output related to execution commands is
17429 sent to the console with CLI commands, but not with MI commands.
17430 Test that breakpoint events are always mirrored to the console.
17431 Also expect the new source line to be output after a "next" in
17432 async mode too. Make it a pass/fail test.
17433 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
17434 output.
17435 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
17436
5166082f
PA
174372014-05-21 Pedro Alves <palves@redhat.com>
17438
17439 * gdb.base/list.exp (build_pattern, test_list): New procedures.
17440 Use them to test variations of "list" after reaching a breakpoint.
17441 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
17442 Test "list" with listsize 10 after reaching a breakpoint.
17443 * gdb.python/python.exp (decode_line current location line
17444 number): Adjust expected line number.
17445
2f25d70f
SM
174462014-05-21 Simon Marchi <simon.marchi@ericsson.com>
17447
17448 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
17449 behavior for $args, pass it directly to "run".
17450
ff604a67
MR
174512014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
17452
17453 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
17454 30000 to 65536.
17455
6a3cb8e8
PA
174562014-05-21 Pedro Alves <palves@redhat.com>
17457
17458 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
17459 auto-connect-native-target off".
17460 * gdb.base/auto-connect-native-target.c: New file.
17461 * gdb.base/auto-connect-native-target.exp: New file.
17462
4ebfc96e
PA
174632014-05-21 Pedro Alves <palves@redhat.com>
17464
17465 * gdb.base/default.exp: Test "target native" instead of "target
17466 child".
17467
36d46afb
MW
174682014-05-21 Mark Wielaard <mjw@redhat.com>
17469
17470 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
17471
5876f503
JK
174722014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17473
17474 Fix TLS access for -static -pthread.
17475 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
17476 <HAVE_TLS> (thread_function, main): Initialize it.
17477 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
17478 Add clean_restart.
17479 <$have_tls != "">: Check TLSVAR.
17480
0256a6ac
PA
174812014-05-21 Pedro Alves <palves@redhat.com>
17482
17483 * gdb.base/dcache-line-read-error.c: New.
17484 * gdb.base/dcache-line-read-error.exp: New.
17485
936d2992
PA
174862014-05-20 Pedro Alves <palves@redhat.com>
17487
17488 * gdb.base/compare-sections.c: New file.
17489 * gdb.base/compare-sections.exp: New file.
17490
802e8e6d
PA
174912014-05-20 Pedro Alves <palves@redhat.com>
17492
17493 * gdb.base/break-idempotent.c: New file.
17494 * gdb.base/break-idempotent.exp: New file.
17495
e59fa00f
MM
174962014-05-20 Markus Metzger <markus.t.metzger@intel.com>
17497
17498 * gdb.btrace/nohist.exp: New.
17499
8b696e31
YQ
175002014-05-20 Yao Qi <yao@codesourcery.com>
17501
17502 * lib/gdb.exp (gdb_init): Set timeout if test file is under
17503 gdb.reverse directory and gdb_reverse_timeout exists in board
17504 setting.
17505 * README: Document gdb_reverse_timeout.
17506
73c9764f
YQ
175072014-05-20 Yao Qi <yao@codesourcery.com>
17508
17509 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
17510 'test_file_name'. Treat args as a string instead of a list.
17511 (gdb_init): Rename argument 'args' by 'test_file_name'.
17512
f1f4348a
JK
175132014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
17514
17515 * gdb.arch/powerpc-power.exp: New file.
17516 * gdb.arch/powerpc-power.s: New file.
17517
0dbe70ce
DE
175182014-05-16 Doug Evans <dje@google.com>
17519
17520 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
17521 * gdb.base/completion.exp: Check that all expected files exist
17522 before doing file completion.
0dbe70ce 17523
8d551b02
DE
175242014-05-16 Doug Evans <dje@google.com>
17525
17526 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
17527 Update.
17528 (do_syscall_tests_without_xml): Update.
17529
73eb7709
PA
175302014-05-16 Pedro Alves <palves@redhat.com>
17531
17532 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
17533 instead of "unknown output after running".
17534
3fae92fc
YQ
175352014-05-16 Yao Qi <yao@codesourcery.com>
17536
17537 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
17538 file1.txt from host at the end.
17539 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
17540
c2b2ccc5
DE
175412014-05-15 Doug Evans <dje@google.com>
17542
17543 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
17544 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
17545 loading file. Add test for TU lookup.
17546
8c217a4b
SM
175472014-05-15 Simon Marchi <simon.marchi@ericsson.com>
17548
17549 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
17550 calling "-exec-arguments" or "set args" before running the
17551 inferior.
17552
3deb39c6
SM
175532014-05-15 Simon Marchi <simon.marchi@ericsson.com>
17554
17555 * lib/mi-support.exp (mi_expect_stop): Expect message for
17556 inferiors that exit with non-zero exit code.
17557
71a79f8c
YQ
175582014-05-14 Yao Qi <yao@codesourcery.com>
17559
17560 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
17561 match absolute path on remote host.
17562 (test_file_list_exec_source_files): Remove "/" from the
17563 pattern.
17564
f23fcd46
YQ
175652014-05-14 Yao Qi <yao@codesourcery.com>
17566
17567 * boards/local-remote-host-notty.exp (${board}_file): New
17568 proc.
17569
9404b58f
KM
175702014-05-07 Kyle McMartin <kyle@redhat.com>
17571
17572 Pushed by Joel Brobecker <brobecker@adacore.com>.
17573 * gdb.arch/aarch64-atomic-inst.c: New file.
17574 * gdb.arch/aarch64-atomic-inst.exp: New file.
17575
5e45f04c
YQ
175762014-05-07 Yao Qi <yao@codesourcery.com>
17577
17578 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
17579 in current context" too.
17580
c888a17d
KS
175812014-05-05 Keith Seitz <keiths@redhat.com>
17582
17583 * gdb.linespec/ls-dollar.exp: Add test for linespec
17584 file:convenience_variable.
17585
290a839c
YQ
175862014-05-05 Yao Qi <yao@codesourcery.com>
17587
17588 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
17589 traceframes into tfile and ctf trace files. Read data from
17590 trace file and test collected data.
17591 (gdb_collect_locals_test): Likewise.
17592 (gdb_unavailable_registers_test): Likewise.
17593 (gdb_unavailable_floats): Likewise.
17594 (gdb_collect_globals_test): Likewise.
17595 (top-level): Append "ctf" to trace_file_targets if GDB
17596 supports.
17597
b5262cd0
YQ
175982014-05-05 Yao Qi <yao@codesourcery.com>
17599
17600 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
17601 code to ...
17602 (gdb_collect_args_test_1): ... it. New proc.
17603 (gdb_collect_locals_test): Move some code to ...
17604 (gdb_collect_locals_test_1): ... it. New proc.
17605 (gdb_unavailable_registers_test): Move some code to ...
17606 (gdb_unavailable_registers_test_1): ... it. New proc.
17607 (gdb_unavailable_floats): Move some code to ...
17608 (gdb_unavailable_floats_1): ... it. New proc.
17609
30a1e6cc
SDJ
176102014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
17611
17612 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
17613 probes to test for bitness recognition.
17614 * gdb.arch/amd64-stap-optional-prefix.exp
17615 (test_probe_value_without_reg): New procedure.
17616 Add code to test for different kinds of bitness.
17617
f33da99a
SDJ
176182014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
17619
17620 PR breakpoints/16889
17621 * gdb.arch/amd64-stap-optional-prefix.S: New file.
17622 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
17623
5b80f00d
PA
176242014-05-01 Pedro Alves <palves@redhat.com>
17625
17626 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
17627 gdb_file_cmd if no file is specified.
17628 * boards/native-extended-gdbserver.exp (gdb_load): Use the
17629 last_loaded_file to set the remote exec-file.
17630
f8c2a73c
PA
176312014-05-01 Pedro Alves <palves@redhat.com>
17632
17633 * boards/local-remote-host.exp: New file.
17634
be6e8ac7
PA
176352014-05-01 Pedro Alves <palves@redhat.com>
17636
17637 * boards/local-remote-host.exp: Rename to ...
17638 * boards/local-remote-host-notty.exp: ... this.
17639
cac0dc8f
JB
176402014-04-28 Joel Brobecker <brobecker@adacore.com>
17641
17642 * gdb.ada/dyn_arrayidx: New testcase.
17643
9730e6cc
YQ
176442014-04-26 Yao Qi <yao@codesourcery.com>
17645
17646 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
17647 and compute the length of function main. Save it in
17648 $main_length.
17649 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
17650 (top-level): Use gdb_compile to compile objects into
17651 executable and restart GDB. Remove invocation to
17652 prepare_for_testing.
17653
7ae1a6a6
PA
176542014-04-25 Simon Marchi <simon.marchi@ericsson.com>
17655 Pedro Alves <palves@redhat.com>
17656
17657 PR server/16255
17658 * gdb.multi/multi-attach.c: New file.
17659 * gdb.multi/multi-attach.exp: New file.
17660
4082afcc
PA
176612014-04-25 Pedro Alves <palves@redhat.com>
17662
17663 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
17664 user.
17665 (top level): Test that "set remote conditional-breakpoints-packet
17666 off" works as intended.
17667 * gdb.base/dprintf.exp: Test that "set remote
17668 breakpoint-commands-packet off" works as intended.
17669 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
17670 New function.
17671 (top level): Call it.
17672 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
17673 remote fast-tracepoints-packet off" works as intended.
17674 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
17675 * lib/gdb.exp (gdb_is_target_remote): ... here.
17676
2abc3f8d
DB
176772014-04-24 David Blaikie <dblaikie@gmail.com>
17678
17679 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
17680 ensure clang would not discard them.
17681 * gdb.base/gdbvars.c: Ditto.
17682 * gdb.base/memattr.c: Ditto.
17683 * gdb.base/whatis.c: Ditto.
17684 * gdb.python/py-prettyprint.c: Ditto.
17685 * gdb.trace/actions.c: Ditto.
17686 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
17687 ensure clang would not discard it.
17688
bfd39632
DB
176892014-04-24 David Blaikie <dblaikie@gmail.com>
17690
17691 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
17692 clang to emit the full definition of type required by the test
17693 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
17694
22842ff6
DB
176952014-04-24 David Blaikie <dblaikie@gmail.com>
17696
17697 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
17698 coax Clang into emitting the definition of the type.
17699 * gdb.cp/pr10728-x.h (y): Ditto.
17700 * gdb.cp/pr10728-y.cc (y): Ditto.
17701
c2e827ad
DB
177022014-04-24 David Blaikie <dblaikie@gmail.com>
17703
17704 * gdb.base/label.exp: XFAIL label related tests under Clang.
17705 * gdb.cp/cplabel.exp: Ditto.
17706 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
17707 under Clang those using labels.
17708
4c2d33e7
YQ
177092014-04-25 Yao Qi <yao@codesourcery.com>
17710
17711 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
17712 double_label.
17713 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
17714 partial_label and double_label.
17715
56083b99
DB
177162014-04-24 David Blaikie <dblaikie@gmail.com>
17717
17718 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
17719
25d4e99d
DB
177202014-04-24 David Blaikie <dblaikie@gmail.com>
17721
17722 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
17723 of the function to work across GCC and Clang.
17724 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
17725 pointer types (const void ** const V void **).
17726
01f9f808
MS
177272014-04-24 Michael Sturm <michael.sturm@mintel.com>
17728 Walfred Tedeschi <walfred.tedeschi@intel.com>
17729
17730 * Makefile.in (EXECUTABLES): Added i386-avx512.
17731 * gdb.arch/i386-avx512.c: New file.
17732 * gdb.arch/i386-avx512.exp: Likewise.
17733
4b48d439
KS
177342014-04-23 Keith Seitz <keiths@redhat.com>
17735
17736 * lib/mi-support.exp (mi_list_breakpoints): Delete.
17737 (mi_make_breakpoint_table): New procedure.
17738 (mi_create_breakpoint): Use mi_make_breakpoint
17739 and return the result.
17740 (mi_make_breakpoint): New procedure.
17741 (mi_build_kv_pairs): New procedure.
17742
17743 * gdb.mi/mi-break.exp: Remove unused globals,
17744 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
17745 All callers updated.
17746 * gdb.mi/mi-dprintf.exp: Use variable to track command
17747 number.
17748 Update all callers of mi_create_breakpoint and use
17749 mi_make_breakpoint_table.
17750 Remove any unused global variables.
17751 * gdb.mi/mi-nonstop.exp: Likewise.
17752 * gdb.mi/mi-nsintrall.exp: Likewise.
17753 * gdb.mi/mi-nsmoribund.exp: Likewise.
17754 * gdb.mi/mi-nsthrexec.exp: Likewise.
17755 * gdb.mi/mi-reverse.exp: Likewise.
17756 * gdb.mi/mi-simplerun.exp: Likewise.
17757 * gdb.mi/mi-stepn.exp: Likewise.
17758 * gdb.mi/mi-syn-frame.exp: Likewise.
17759 * gdb.mi/mi-until.exp: Likewise.
17760 * gdb.mi/mi-var-cp.exp: Likewise.
17761 * gdb.mi/mi-var-display.exp: Likewise.
17762 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
17763 * gdb.mi/mi2-var-child.exp: Likewise.
17764 * gdb.mi/mi-vla-c99.exp: Likewise.
17765 * lib/mi-support.exp: Likewise.
17766
17767 From Ian Lance Taylor <iant@cygnus.com>:
17768 * lib/gdb.exp (parse_args): New procedure.
17769
08351840
PA
177702014-04-23 Pedro Alves <palves@redhat.com>
17771
17772 * gdb.base/break-unload-file.c: New file.
17773 * gdb.base/break-unload-file.exp: New file.
17774 * gdb.base/sym-file-lib.c (baz): New function.
17775 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
17776 field.
17777 (load): Store the segment's mapped size.
17778 (unload): New function.
17779 (unload_shlib): New function.
17780 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
17781 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
17782 set a breakpoint at baz, and call it.
17783 * gdb.base/sym-file.exp: New tests for stale breakpoint
17784 instructions.
17785
076855f9
PA
177862014-04-23 Pedro Alves <palves@redhat.com>
17787
17788 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
17789 * gdb.base/hbreak-in-shr-unsupported.c: New file.
17790 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
17791 * gdb.base/hbreak-unmapped.c: New file.
17792 * gdb.base/hbreak-unmapped.exp: New file.
17793 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
17794 * lib/gdb.exp (gdb_is_target_remote): ... here.
17795
483805cf
PA
177962014-04-22 Pedro Alves <palves@redhat.com>
17797
17798 * gdb.base/consecutive-step-over.c: New file.
17799 * gdb.base/consecutive-step-over.exp: New file.
17800
06d97543
PA
178012014-04-22 Pedro Alves <palves@redhat.com>
17802
17803 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
17804 instead of send_gdb/gdb_expect.
17805
b4429ea2
YQ
178062014-04-22 Yao Qi <yao@codesourcery.com>
17807
17808 * lib/trace-support.exp (generate_tracefile): New procedure.
17809 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
17810 return 0.
17811 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
17812 if generate_tracefile returns 1.
17813
51d48146
PA
178142014-04-18 Tom Tromey <palves@redhat.com>
17815 Pedro alves <tromey@redhat.com>
17816
17817 PR backtrace/15558
17818 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
17819 with a backtrace limit.
17820 * gdb.python/py-frame-inline.exp: Test running to an inline
17821 function with a backtrace limit, and printing the newest frame.
17822 * gdb.python/py-frame-inline.c (main): Call f.
17823
bd1dce5f
MS
178242014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
17825
17826 * gdb.java/jnpe.exp: Drop srcdir from untested path.
17827
40d1a503
MS
178282014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
17829
17830 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
17831 Drop prefix from unsupported source file path.
17832
389b98f7
YQ
178332014-04-17 Yao Qi <yao@codesourcery.com>
17834
17835 * lib/gdb.exp (with_target_charset): New proc.
17836 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
17837 with_target_charset.
17838 (test_print_strings): Likewise.
17839 (test_repeat_bytes): Likewise.
17840 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
17841 for some tests.
17842
22869d73
KS
178432014-04-16 Keith Seitz <keiths@redhat.com>
17844
17845 PR gdb/15827
17846 * gdb.dwarf2/corrupt.c: New file.
17847 * gdb.dwarf2/corrupt.exp: New file.
17848
c4f87ca6
KS
178492014-04-16 Keith Seitz <keiths@redhat.com>
17850
17851 PR c++/16597
17852 * gdb.cp/namelessclass.cc: New file.
17853 * gdb.cp/namelessclass.exp: New file.
17854 * gdb.cp/namelessclass.S: New file.
17855
ab19de87
DE
178562014-04-16 Doug Evans <dje@google.com>
17857
17858 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
17859 Add comment.
17860 (gdbserver_default_get_comm_port): New function.
17861 (gdbserver_start): Check if board file provided
17862 "gdbserver,get_comm_port" and use it if so.
17863 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
17864 (gdb,socketport): Set to "stdio".
17865 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
17866 (stdio_gdbserver_template): Delete.
17867 (${board}_get_remote_address): Update.
17868 (${board}_build_remote_cmd): Delete.
17869 (${board}_get_comm_port): New function.
17870 (${board}_spawn): Update.
17871 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
17872 Delete.
17873 (${board}_get_remote_address): Update.
17874 (${board}_get_comm_port): New function.
17875
fc98a809
AB
178762014-04-16 Andrew Burgess <aburgess@broadcom.com>
17877
17878 * gdb.base/memattr.exp: Improve regexps to handle memory regions
17879 appearing in any order.
17880
87fd9e6e
DE
178812014-04-15 Doug Evans <dje@google.com>
17882
17883 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
17884 uninitialized value of "description".
17885
099fc3ea
KS
178862014-04-15 Keith Seitz <keiths@redhat.com>
17887
17888 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
17889 Remove unused globals.
17890 (test_running_the_program): Likewise.
17891 (test_controlled_execution): Likewise.
17892 (test_controlling_breakpoints): Likewise.
17893 (test_program_termination): Likewise.
17894
5da151d4
KS
178952014-04-15 Keith Seitz <keiths@redhat.com>
17896
17897 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
17898 unused globals.
17899 (test_rbreak_creation_and_listing): Likewise.
17900 (test_ignore_count): Likewise.
17901 (test_error): Likewise.
17902
35e5d2f0
PA
179032014-04-15 Pedro Alves <palves@redhat.com>
17904
17905 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
17906 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
17907 sym-file-loader.c.
17908 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
17909 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
17910 to sym-file-loader.c.
17911 (struct library): Forward declare.
17912 (load_shlib, lookup_function): Change prototypes.
17913 (find_shstrtab, find_strtab, find_shdr, find_symtab)
17914 (translate_offset): Remove declarations.
17915 (get_text_addr): New declaration.
17916 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
17917 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
17918 sym-file-loader.h.
17919 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
17920 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
17921 here from sym-file-loader.h.
17922 (struct library): New structure.
17923 (load_shlib, lookup_function): Change prototypes and adjust to
17924 work with a struct library.
17925 (find_shstrtab, find_strtab, find_shdr, find_symtab)
17926 (translate_offset): Make static.
17927 (get_text_addr): New function.
17928 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
17929
eb4c1710
PA
179302014-04-15 Pedro Alves <palves@redhat.com>
17931
17932 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
17933
2d1baf52
PA
179342014-04-15 Pedro Alves <palves@redhat.com>
17935
17936 * gdb.base/sym-file-loader.c: Include <limits.h>.
17937 (SELF_LINK): New define.
17938 (get_origin): New function.
17939 (load_shlib): Use it.
17940 * gdb.base/sym-file.exp: Don't early return if the target is
17941 remote. Use runto_main, and issue fail is that fails. Use
17942 gdb_load_shlibs.
17943 (shlib_name): Delete.
17944 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
17945
7dd6df01
PA
179462014-04-15 Pedro Alves <palves@redhat.com>
17947
17948 * gdb.base/sym-file.exp: Remove regex characters from test
17949 message. Don't refer to breakpoint numbers in test messages.
17950
b50c8614
KS
179512014-04-14 Keith Seitz <keiths@redhat.com>
17952
17953 PR c++/16253
17954 * gdb.cp/var-tag.cc: New file.
17955 * gdb.cp/var-tag.exp: New file.
17956 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
17957 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
17958 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
17959 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
17960
3d567982
TT
179612014-04-14 Tom Tromey <tromey@redhat.com>
17962
17963 * gdb.cp/classes.exp (test_enums): Handle underlying type.
17964 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
17965 type.
17966 * gdb.cp/enum-class.exp: New file.
17967 * gdb.cp/enum-class.cc: New file.
17968
0626fc76
TT
179692014-04-14 Tom Tromey <tromey@redhat.com>
17970
17971 * gdb.dwarf2/enum-type.exp: New file.
17972
dca325b3
SA
179732014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17974
17975 * gdb.mi/mi-vla-c99.exp: New file.
17976 * gdb.mi/vla.c: New file.
17977
5854b38a
SA
179782014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17979
17980 * gdb.base/vla-datatypes.c: New file.
17981 * gdb.base/vla-datatypes.exp: New file.
17982
463bb957
SA
179832014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17984
17985 * gdb.base/vla-ptr.c: New file.
17986 * gdb.base/vla-ptr.exp: New file.
17987
3dd170be
SA
179882014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17989
17990 * gdb.dwarf2/count.exp: New file.
17991
5ecaaa66
SA
179922014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17993
17994 * gdb.base/vla-sideeffect.c: New file.
17995 * gdb.base/vla-sideeffect.exp: New file.
17996
41f1ada5
DB
179972014-04-14 David Blaikie <dblaikie@gmail.com>
17998
17999 * gdb.mi/non-stop.c: Add return value for non-void function return
18000 statement.
18001 * gdb.threads/staticthreads.c: Ditto.
18002
0be03e84
DE
180032014-04-12 Siva Chandra Reddy <sivachandra@google.com>
18004 Doug Evans <xdje42@gmail.com>
18005
18006 * gdb.guile/scm-value.c: Improve test case.
18007 * gdb.guile/scm-value.exp: Add new test.
18008
f180a1fb
DB
180092014-04-11 David Blaikie <dblaikie@gmail.com>
18010
18011 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
18012 override Clang's default.
18013
6b662e19
JB
180142014-04-11 Joel Brobecker <brobecker@adacore.com>
18015
18016 Revert the following changes (regressions):
18017
18018 * gdb.base/vla-sideeffect.c: New file.
18019 * gdb.base/vla-sideeffect.exp: New file.
18020
18021 * gdb.dwarf2/count.exp: New file.
18022
18023 * gdb.base/vla-multi.c: New file.
18024 * gdb.base/vla-multi.exp: New file.
18025
18026 * gdb.base/vla-ptr.c: New file.
18027 * gdb.base/vla-ptr.exp: New file.
18028
18029 * gdb.base/vla-datatypes.c: New file.
18030 * gdb.base/vla-datatypes.exp: New file.
18031
18032 * gdb.mi/mi-vla-c99.exp: New file.
18033 * gdb.mi/vla.c: New file.
18034
245a5f0b
KS
180352014-04-11 Keith Seitz <keiths@redhat.com>
18036
18037 PR c++/16675
18038 * gdb.cp/cpsizeof.exp: New file.
18039 * gdb.cp/cpsizeof.cc: New file.
18040
58a84dcf
SA
180412014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18042
191a8a90
JB
18043 * gdb.mi/mi-vla-c99.exp: New file.
18044 * gdb.mi/vla.c: New file.
58a84dcf 18045
c8655f75
SA
180462014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18047
18048 * gdb.base/vla-datatypes.c: New file.
18049 * gdb.base/vla-datatypes.exp: New file.
18050
024e13b4
SA
180512014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18052
18053 * gdb.base/vla-ptr.c: New file.
18054 * gdb.base/vla-ptr.exp: New file.
18055
1a237e0e
SA
180562014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18057
18058 * gdb.base/vla-multi.c: New file.
18059 * gdb.base/vla-multi.exp: New file.
18060
504f3432
SA
180612014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18062
18063 * gdb.dwarf2/count.exp: New file.
18064
3bce8237
SA
180652014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18066
191a8a90
JB
18067 * gdb.base/vla-sideeffect.c: New file.
18068 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 18069
322f9c21
YQ
180702014-04-11 Yao Qi <yao@codesourcery.com>
18071
18072 * gdb.base/completion.exp: Check file exists before running tests
18073 on file completion.
18074
d708bcd1
PA
180752014-04-10 Pedro Alves <palves@redhat.com>
18076
18077 * gdb.base/cond-eval-mode.c: New file.
18078 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
18079 prepare_for_testing to build the new file. Check result of
18080 runto_main.
18081 (test_break, test_watch): New procedures.
18082 (top level): Use them.
18083
ae1d2761
PM
180842014-04-08 Pierre Muller <muller@sourceware.org>
18085
18086 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
18087 Ctrl-V use for mingw hosts.
18088
7af389b8
SC
180892014-04-07 Siva Chandra Reddy <sivachandra@google.com>
18090
18091 * gdb.python/py-value.c: Improve test case.
18092 * gdb.python/py-value.exp: Add new test.
18093
5e703181
DE
180942014-04-07 David Blaikie <dblaikie@gmail.com>
18095
18096 * lib/compiler.c: Identify the clang compiler.
18097 * lib/compiler.cc: Ditto.
18098
9810b410
YQ
180992014-04-03 Yao Qi <yao@codesourcery.com>
18100
18101 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
18102
98d1b8dc
AB
181032014-04-01 Anton Blanchard <anton@samba.org>
18104
18105 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
18106 messages unique.
18107
3114cea1
AB
181082014-04-01 Anton Blanchard <anton@samba.org>
18109
18110 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
18111 prepare_for_testing.
18112
62f7182c
AB
181132014-04-01 Anton Blanchard <anton@samba.org>
18114
18115 * gdb.arch/ppc64-atomic-inst.c: Remove.
18116 * gdb.arch/ppc64-atomic-inst.S: New file.
18117 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
18118
770e7fc7
DE
181192014-03-31 Doug Evans <dje@google.com>
18120
18121 * gdb.base/print-symbol-loading-lib.c: New file.
18122 * gdb.base/print-symbol-loading-main.c: New file.
18123 * gdb.base/print-symbol-loading.exp: New file.
18124
46e2bafa
YQ
181252014-03-31 Yao Qi <yao@codesourcery.com>
18126
18127 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
18128
8776cfe9
JB
181292014-03-28 Joel Brobecker <brobecker@adacore.com>
18130
18131 * gdb.ada/mi_dyn_arr: New testcase.
18132
5d1ef361
DE
181332014-03-27 Doug Evans <dje@google.com>
18134
18135 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
18136
b5bee914
YQ
181372014-03-27 Yao Qi <yao@codesourcery.com>
18138
18139 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
18140 if target is nios2-*-*.
18141
0d4d0e77
YQ
181422014-03-26 Yao Qi <yao@codesourcery.com>
18143
18144 * lib/gdb.exp (readline_is_used): New proc.
18145 * gdb.base/completion.exp: Move tests on command complete up.
18146 Skip the rest of tests if readline is not used.
18147 * gdb.ada/complete.exp: Skp the test if readline is not
18148 used.
18149 * gdb.base/filesym.exp: Likewise.
18150 * gdb.base/macscp.exp: Likewise.
18151 * gdb.base/readline-ask.exp: Likewise.
18152 * gdb.base/readline.exp: Likewise.
18153 * gdb.python/py-cmd.exp: Likewise.
18154 * gdb.trace/tfile.exp: Likewise.
18155
29361eee
YQ
181562014-03-26 Yao Qi <yao@codesourcery.com>
18157
18158 * gdb.base/macscp.exp: Fix code format issues.
18159
bc9a5525
UW
181602014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
18161
18162 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
18163 * gdb.asm/powerpc64le.inc: New file.
18164
d3839ede
PA
181652014-03-25 Pedro Alves <palves@redhat.com>
18166 Doug Evans <dje@google.com>
18167
18168 * gdb.base/source-execution.c: New file.
18169 * gdb.base/source-execution.exp: New file.
18170 * gdb.base/source-execution.gdb: New file.
18171
01672a57
DE
181722014-03-24 Doug Evans <dje@google.com>
18173
18174 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
18175 using fission.
18176
88bbeca9
HZ
181772014-03-24 Hui Zhu <hui@codesourcery.com>
18178 Pedro Alves <palves@redhat.com>
18179
18180 PR breakpoints/16101
18181 * gdb.base/dprintf.exp: Use unsupported rather than changing the
18182 test pass/fail messages. Detect missing support for dprintf when
18183 breakpoints are actually inserted.
18184 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
18185 breakpoints are actually inserted.
18186 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
18187 fails.
18188
d2348791
JK
181892014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
18190
18191 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
18192
feef67ab
DE
181932014-03-22 Doug Evans <xdje42@gmail.com>
18194
18195 * gdb.python/python.exp (python not supported): Verify multi-line
18196 python command issues an error.
25d743f9 18197 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 18198 guile command issues an error.
feef67ab 18199
ecebef6a
MR
182002014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
18201
18202 * gdb.threads/thread-specific.exp: Handle the lack of usable
18203 $this_breakpoint and $this_thread.
18204
ccdd1909
HZ
182052014-03-21 Hui Zhu <hui@codesourcery.com>
18206
18207 * gdb.base/attach.exp (do_command_attach_tests): New.
18208
beb460e8
PA
182092014-03-20 Tom Tromey <tromey@redhat.com>
18210 Pedro Alves <palves@redhat.com>
18211
18212 PR cli/15718
18213 * gdb.base/condbreak-call-false.c: New file.
18214 * gdb.base/condbreak-call-false.exp: New file.
18215
40acf43a
PA
182162014-03-20 Pedro Alves <palves@redhat.com>
18217
18218 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
18219 Delete.
18220 (block_signals, unblock_signals): Delete.
18221 (child_function_2, main): Remove references to deleted variable
18222 and functions.
18223
9f5e1e02
PA
182242014-03-20 Pedro Alves <palves@redhat.com>
18225
18226 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
18227 Use pthread_kill to signal thread 2.
18228 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18229 Adjust to make the test send itself a signal rather than using the
18230 host's "kill" command.
18231
99619bea
PA
182322014-03-20 Pedro Alves <palves@redhat.com>
18233
18234 * gdb.threads/multiple-step-overs.c: New file.
18235 * gdb.threads/multiple-step-overs.exp: New file.
18236 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18237 Adjust expected infrun debug output.
18238
2adfaa28
PA
182392014-03-20 Pedro Alves <palves@redhat.com>
18240
18241 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
18242 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
18243
31e77af2
PA
182442014-03-20 Pedro Alves <palves@redhat.com>
18245
18246 PR breakpoints/7143
18247 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
18248 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
18249 of gdb_test_multiple.
18250 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
18251 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
18252
b9f437de
PA
182532014-03-20 Pedro Alves <palves@redhat.com>
18254
18255 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
18256 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
18257
05adc73e
PA
182582014-03-19 Pedro Alves <palves@redhat.com>
18259
18260 * gdb.base/async.exp: Remove early return.
18261
6048b950
PA
182622014-03-19 Pedro Alves <palves@redhat.com>
18263
18264 * gdb.base/async.exp (step& tests): Pass explicit test messages.
18265
8bcfb00a
PA
182662014-03-19 Pedro Alves <palves@redhat.com>
18267
18268 * gdb.base/async.exp (test_background): Expect \r\n after
18269 "completed." in the fail pattern.
18270
884e37dc
PA
182712014-03-19 Pedro Alves <palves@redhat.com>
18272
18273 * gdb.base/async.exp (test_background): New procedure.
18274 Use it for all background execution command tests.
18275
148e57e2
PA
182762014-03-19 Pedro Alves <palves@redhat.com>
18277
18278 * gdb.base/async.exp: Use prepare_for_testing.
18279
f48088c7
PA
182802014-03-19 Pedro Alves <palves@redhat.com>
18281
18282 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
18283 the same line.
18284
e2f6c966
PA
182852014-03-19 Pedro Alves <palves@redhat.com>
18286
18287 * gdb.base/async.c (main): Add "jump here" and "until here" line
18288 marker comments.
18289 * gdb.base/async.exp (jump_here): New global.
18290 (jump& test): Use it.
18291 (until_here): New global.
18292 (until& test): Use it.
18293
c30568d4
PA
182942014-03-19 Pedro Alves <palves@redhat.com>
18295
18296 * gdb.base/async.exp: Don't frob gdb_protocol.
18297
0172b6a7
DE
182982014-03-18 Doug Evans <xdje42@gmail.com>
18299
18300 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
18301 Fix spelling of exec-done-display.
18302
06c868a8
JK
183032014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
18304
18305 PR gdb/15358
18306 * gdb.base/gdb-sigterm.c: New file.
18307 * gdb.base/gdb-sigterm.exp: New file.
18308
0c7e1a46
PA
183092014-03-18 Pedro Alves <palves@redhat.com>
18310
18311 PR gdb/13860
18312 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
18313 * lib/mi-support.exp (mi_expect_stop): Add special handling for
18314 solib-event.
18315
f7c77d93
JB
183162014-03-17 Joel Brobecker <brobecker@adacore.com>
18317
18318 * gdb.ada/pckd_arr_ren: New testcase.
18319
5a1e8c7a
DE
183202014-03-13 Doug Evans <xdje42@gmail.com>
18321
18322 PR guile/16612
18323 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
18324 collect after discarding symbols.
18325
350e1a76
DE
183262014-03-13 Ludovic Courtès <ludo@gnu.org>
18327 Doug Evans <xdje42@gmail.com>
18328
18329 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
18330 to history survives a gc.
18331
a69900ae
PA
183322014-03-13 Pedro Alves <palves@redhat.com>
18333
18334 * gdb.base/default.exp: Don't test "target procfs".
18335
5db9f0bd
PA
183362014-03-13 Pedro Alves <palves@redhat.com>
18337
18338 * gdb.base/default.exp: Update "target child" and "target procfs"
18339 tests to not expect "Unix".
18340
b3ccfe11
TT
183412014-03-12 Tom Tromey <tromey@redhat.com>
18342
18343 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
18344 New procs. Add target-async tests.
18345 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
18346 Add target-async tests.
18347
646f4417
AA
183482014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18349
18350 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
18351 'func_start' and 'func_end' for the beginning and end of the
18352 function code, respectively.
18353 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
18354 'func_end' instead of 'func' and 'main'.
18355
288c211f
AA
183562014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18357
18358 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
18359 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
18360 generate the debug info assembler source.
18361
e0c0f156
AA
183622014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18363
18364 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
18365 * gdb.dwarf2/arr-subrange.exp: Likewise.
18366 * gdb.dwarf2/dwz.exp: Likewise.
18367 * gdb.dwarf2/method-ptr.exp: Likewise.
18368 * gdb.dwarf2/missing-sig-type.exp: Likewise.
18369 * gdb.dwarf2/subrange.exp: Likewise.
18370 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
18371 * gdb.dwarf2/implptrpiece.exp: Likewise.
18372 * gdb.dwarf2/nostaticblock.exp: Likewise.
18373
0e5c4555
AA
183742014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18375
18376 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
18377 directory to absolute path name arguments.
18378
5ec18f2b
JG
183792014-03-10 Joel Brobecker <brobecker@adacore.com>
18380
18381 * gdb.ada/tagged_access: New testcase.
18382
847fc4f2
MM
183832014-03-07 Markus Metzger <markus.t.metzger@intel.com>
18384
18385 * gdb.btrace/data.exp: Update expected output.
18386
cc3da688
YQ
183872014-03-06 Yao Qi <yao@codesourcery.com>
18388
18389 * gdb.trace/pr16508.exp: New file.
18390
0f26cec1
PA
183912014-03-05 Pedro Alves <palves@redhat.com>
18392
18393 PR gdb/16575
18394 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
18395 procedure.
18396 (top level): Adjust to use it. Add tests that exercise breakpoint
18397 interaction with the code-cache.
18398
7a5a839f
LC
183992014-02-26 Ludovic Courtès <ludo@gnu.org>
18400
18401 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
18402 test for 'history-append!'.
18403
31aa7e4e
JB
184042014-02-26 Joel Brobecker <brobecker@adacore.com>
18405
18406 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
18407 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
18408 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
18409 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
18410 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
18411 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
18412
1b588015
JB
184132014-02-26 Joel Brobecker <brobecker@adacore.com>
18414
18415 * testsuite/gdb.python/py-pp-re-notag.c: New file.
18416 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
18417 * testsuite/gdb.python/py-pp-re-notag.p: New file.
18418
55426c9d
JB
184192014-02-26 Joel Brobecker <brobecker@adacore.com>
18420
18421 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
18422
dc53a7ad
JB
184232014-02-26 Joel Brobecker <brobecker@adacore.com>
18424
18425 * gdb.dwarf2/arr-stride.c: New file.
18426 * gdb.dwarf2/arr-stride.exp: New file.
18427
12ab52e9
PA
184282014-02-26 Pedro Alves <palves@redhat.com>
18429
18430 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
18431 that won't ever trigger. Make sure that GDB reports the correct
18432 breakpoint that caused the stop.
18433
849c862e
JK
184342014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18435
18436 PR gdb/16626
18437 * gdb.base/auto-load-script: New file.
18438 * gdb.base/auto-load.c: New file.
18439 * gdb.base/auto-load.exp: New file.
18440
71b7d793
JK
18441 PR gdb/16626
18442 * gdb.base/auto-load.exp: Fix out-of-srctree run.
18443
e2f0d509
JK
184442014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18445
18446 Fix dw2-icycle.exp -fsanitize=address GDB crash.
18447 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
18448
50cc37c8
DE
184492014-02-24 Doug Evans <dje@google.com>
18450
18451 * lib/gdb.exp (run_on_host): Log error output if program fails.
18452
ea4758f2
PA
184532014-02-21 Pedro Alves <palves@redhat.com>
18454
18455 * gdb.threads/step-after-sr-lock.c: Rename to ...
18456 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
18457 * gdb.threads/step-after-sr-lock.exp: Rename to ...
18458 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18459 ... this.
18460
d7b30f67
SDJ
184612014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
18462
18463 PR tdep/16397
18464 * gdb.arch/amd64-stap-special-operands.exp: New file.
18465 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
18466 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
18467 * gdb.arch/amd64-stap-triplet.S: Likewise.
18468 * gdb.arch/amd64-stap-triplet.c: Likewise.
18469
83deb43f
JB
184702014-02-20 Joel Brobecker <brobecker@adacore.com>
18471
18472 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
18473 in .section pseudo-op.
18474
adde2bff
DE
184752014-02-20 lin zuojian <manjian2006@gmail.com>
18476 Joel Brobecker <brobecker@adacore.com>
18477 Doug Evans <xdje42@gmail.com>
18478
18479 PR symtab/16581
18480 * gdb.dwarf2/dw2-icycle.S: New file.
18481 * gdb.dwarf2/dw2-icycle.c: New file.
18482 * gdb.dwarf2/dw2-icycle.exp: New file.
18483
f7bd0f78
SC
184842014-02-19 Siva Chandra Reddy <sivachandra@google.com>
18485
18486 * gdb.python/py-value-cc.cc: Improve test case to enable testing
18487 operations on gdb.Value objects.
18488 * gdb.python/py-value-cc.exp: Add new test to test operations on
18489 gdb.Value objects.
18490
c17ef0d5
DE
184912014-02-18 Doug Evans <dje@google.com>
18492
18493 * Makefile.in (TESTS): New variable.
18494 (expanded_tests, expanded_tests_or_none): New variables
18495 (check-single): Pass $(expanded_tests_or_none) to runtest.
18496 (check-parallel): Only run tests in $(TESTS) if non-empty.
18497 (check/no-matching-tests-found): New rule.
18498 * README: Document TESTS makefile variable.
18499
5dd3176f
DE
185002014-02-18 Doug Evans <dje@google.com>
18501
18502 * Makefile.in (check-parallel): rm -rf outputs temp.
18503
0b10be4f
JK
185042014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18505
18506 Fix "ERROR: no fileid for" in the testsuite.
18507 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
18508
85f224e7
DE
185092014-02-12 Doug Evans <dje@google.com>
18510
18511 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
18512 (MISCELLANEOUS): New variable.
18513 (clean): rm -rf $(MISCELLANEOUS).
18514 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
18515 dwp live in the same directory as symlinks, with each symlink pointed
18516 to a differently named file in a different directory.
18517
149b30ff
DE
185182014-02-11 Doug Evans <dje@google.com>
18519
18520 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
18521 of Tcl file commands.
18522
1dfdac32
MK
185232014-02-10 Mark Kettenis <kettenis@gnu.org>
18524
18525 * gdb.threads/step-after-sr-lock.exp: Avoid executing
18526 "kill -SIGUSR1 -1".
18527
aa4fb036
JB
185282014-02-10 Joel Brobecker <brobecker@adacore.com>
18529
18530 * gdb.ada/tick_length_array_enum_idx: New testcase.
18531
ed3ef339
DE
185322014-02-10 Doug Evans <xdje42@gmail.com>
18533
18534 * configure.ac (AC_OUTPUT): Add gdb.guile.
18535 * configure: Regenerate.
18536 * lib/gdb-guile.exp: New file.
18537 * lib/gdb.exp (get_target_charset): New function.
18538 * gdb.base/help.exp: Update expected output from "apropos apropos".
18539 * gdb.guile/Makefile.in: New file.
18540 * gdb.guile/guile.exp: New file.
18541 * gdb.guile/scm-arch.c: New file.
18542 * gdb.guile/scm-arch.exp: New file.
18543 * gdb.guile/scm-block.c: New file.
18544 * gdb.guile/scm-block.exp: New file.
18545 * gdb.guile/scm-breakpoint.c: New file.
18546 * gdb.guile/scm-breakpoint.exp: New file.
18547 * gdb.guile/scm-disasm.c: New file.
18548 * gdb.guile/scm-disasm.exp: New file.
18549 * gdb.guile/scm-equal.c: New file.
18550 * gdb.guile/scm-equal.exp: New file.
18551 * gdb.guile/scm-error.exp: New file.
18552 * gdb.guile/scm-error.scm: New file.
18553 * gdb.guile/scm-frame-args.c: New file.
18554 * gdb.guile/scm-frame-args.exp: New file.
18555 * gdb.guile/scm-frame-args.scm: New file.
18556 * gdb.guile/scm-frame-inline.c: New file.
18557 * gdb.guile/scm-frame-inline.exp: New file.
18558 * gdb.guile/scm-frame.c: New file.
18559 * gdb.guile/scm-frame.exp: New file.
18560 * gdb.guile/scm-generics.exp: New file.
18561 * gdb.guile/scm-gsmob.exp: New file.
18562 * gdb.guile/scm-iterator.c: New file.
18563 * gdb.guile/scm-iterator.exp: New file.
18564 * gdb.guile/scm-math.c: New file.
18565 * gdb.guile/scm-math.exp: New file.
18566 * gdb.guile/scm-objfile-script-gdb.in: New file.
18567 * gdb.guile/scm-objfile-script.c: New file.
18568 * gdb.guile/scm-objfile-script.exp: New file.
18569 * gdb.guile/scm-objfile.c: New file.
18570 * gdb.guile/scm-objfile.exp: New file.
18571 * gdb.guile/scm-ports.exp: New file.
18572 * gdb.guile/scm-pretty-print.c: New file.
18573 * gdb.guile/scm-pretty-print.exp: New file.
18574 * gdb.guile/scm-pretty-print.scm: New file.
18575 * gdb.guile/scm-section-script.c: New file.
18576 * gdb.guile/scm-section-script.exp: New file.
18577 * gdb.guile/scm-section-script.scm: New file.
18578 * gdb.guile/scm-symbol.c: New file.
18579 * gdb.guile/scm-symbol.exp: New file.
18580 * gdb.guile/scm-symtab-2.c: New file.
18581 * gdb.guile/scm-symtab.c: New file.
18582 * gdb.guile/scm-symtab.exp: New file.
18583 * gdb.guile/scm-type.c: New file.
18584 * gdb.guile/scm-type.exp: New file.
18585 * gdb.guile/scm-value-cc.cc: New file.
18586 * gdb.guile/scm-value-cc.exp: New file.
18587 * gdb.guile/scm-value.c: New file.
18588 * gdb.guile/scm-value.exp: New file.
18589 * gdb.guile/source2.scm: New file.
18590 * gdb.guile/types-module.cc: New file.
18591 * gdb.guile/types-module.exp: New file.
18592
7026a7c1
YQ
185932014-02-10 Yao Qi <yao@codesourcery.com>
18594
18595 PR testsuite/16543
18596 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
18597 * configure: Regenerated.
18598 * Makefile.in: New file.
18599
6c466447
AS
186002014-02-08 Andreas Schwab <schwab@linux-m68k.org>
18601
18602 * gdb.python/py-framefilter.exp: Fix typo.
18603
6e854735
YQ
186042014-02-08 Yao Qi <yao@codesourcery.com>
18605
18606 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
18607 that no =breakpoint-modified is emitted when breakpoints are
18608 modified through MI commands.
18609
d137e6dc
PA
186102014-02-07 Pedro Alves <pedro@codesourcery.com>
18611 Pedro Alves <palves@redhat.com>
18612
18613 * gdb.threads/step-after-sr-lock.c: New file.
18614 * gdb.threads/step-after-sr-lock.exp: New file.
18615
b5ee5a50
PA
186162014-02-07 Pedro Alves <palves@redhat.com>
18617
18618 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
18619
3c77faf3
JK
186202014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
18621
18622 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
18623 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
18624
6dddc817
DE
186252014-02-06 Doug Evans <xdje42@gmail.com>
18626
18627 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
18628 output.
18629
18630 * gdb.gdb/python-interrupts.exp: New file.
18631
de7b2893
YQ
186322014-02-05 Yao Qi <yao@codesourcery.com>
18633
18634 * gdb.trace/report.exp (use_collected_data): Test the output
18635 of "info threads" and "info inferiors".
18636
66d032ac
YQ
186372014-02-05 Yao Qi <yao@codesourcery.com>
18638
18639 Revert this patch:
18640
18641 2013-05-24 Yao Qi <yao@codesourcery.com>
18642
18643 * gdb.trace/tfile.exp: Test inferior and thread.
18644
591a12a1
UW
186452014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18646
18647 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
18648 on a function.
18649 * gdb.base/step-bt.c: Call hello via function pointer to make
18650 sure its first instruction is executed on powerpc64le-linux.
18651
0ff3e01f
UW
186522014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18653
18654 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
18655
084ee545
UW
186562014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18657
18658 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
18659 of the test patterns for use on little-endian systems.
18660
6ed14ff3
UW
186612014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18662
18663 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
18664 (decimal_vector): Fix for little-endian.
18665
401e27fd
JM
186662014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
18667
18668 * gdb.arch/sparc-sysstep.exp: New file.
18669 * gdb.arch/sparc-sysstep.c: Likewise.
18670
18671 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
18672
8b924729
EBM
186732014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18674
18675 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
18676
fb151210
JB
186772014-01-23 Tom Tromey <tromey@redhat.com>
18678
18679 * gdb.ada/array_char_idx: New testcase.
18680
0740f8d8
TT
186812014-01-23 Tom Tromey <tromey@redhat.com>
18682
18683 PR python/16487:
18684 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
18685 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
18686 classes.
18687
21909fa1
TT
186882014-01-23 Tom Tromey <tromey@redhat.com>
18689
18690 PR python/16491:
18691 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
18692 string from an inferior frame.
18693 * gdb.python/py-framefilter-mi.exp: Update.
18694
87ce2a04
DE
186952014-01-22 Doug Evans <dje@google.com>
18696
18697 * gdb.server/server-mon.exp: Add tests for "set debug-format".
18698
237b092b
AA
186992014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18700
18701 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
18702
d674a709
AA
187032014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18704
18705 * gdb.trace/entry-values.exp: Remove excess space character from
18706 regex patterns. Handle s390 call instruction.
18707
20fa3390
AA
187082014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18709
18710 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
18711 define "*_start" label. Make "name" static.
18712 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
18713 ${name} by references to ${name}_start.
18714
78466714
AA
187152014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18716
18717 * gdb.base/info-macros.exp: Remove "debug" from the compile
18718 options.
18719
ec9f644a
IB
187202014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18721
18722 * gdb.dlang/demangle.exp: New file.
18723
94b1b47e
IB
187242014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18725
18726 * gdb.dlang/primitive-types.exp: New file.
18727
7f420862
IB
187282014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18729
18730 * configure.ac: Create gdb.dlang/Makefile.
18731 * configure: Regenerate.
18732 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
18733 * gdb.dlang/Makefile.in: New file.
18734 * lib/d-support.exp: New file.
18735 * lib/gdb.exp (skip_d_tests): New proc.
18736
52834460
MM
187372014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18738
18739 * gdb.btrace/delta.exp: Check reverse stepi.
18740 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
18741 * gdb.btrace/finish.exp: New.
18742 * gdb.btrace/next.exp: New.
18743 * gdb.btrace/nexti.exp: New.
18744 * gdb.btrace/record_goto.c: Add comments.
18745 * gdb.btrace/step.exp: New.
18746 * gdb.btrace/stepi.exp: New.
18747 * gdb.btrace/multi-thread-step.c: New.
18748 * gdb.btrace/multi-thread-step.exp: New.
18749 * gdb.btrace/rn-dl-bind.c: New.
18750 * gdb.btrace/rn-dl-bind.exp: New.
18751 * gdb.btrace/data.c: New.
18752 * gdb.btrace/data.exp: New.
18753 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
18754
6e07b1d2
MM
187552014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18756
18757 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
18758 * gdb.btrace/exception.exp: Update.
18759 * gdb.btrace/instruction_history.exp: Update.
18760 * gdb.btrace/record_goto.exp: Update.
18761 * gdb.btrace/tailcall.exp: Update.
18762 * gdb.btrace/unknown_functions.exp: Update.
18763 * gdb.btrace/delta.exp: New.
18764
0b722aec
MM
187652014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18766
18767 * gdb.btrace/record_goto.exp: Add backtrace test.
18768 * gdb.btrace/tailcall.exp: Add backtrace test.
18769
066ce621
MM
187702014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18771
18772 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
18773 * gdb.btrace/record_goto.c: New.
18774 * gdb.btrace/record_goto.exp: New.
18775 * gdb.btrace/x86-record_goto.S: New.
18776
0688d04e
MM
187772014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18778
18779 * gdb.btrace/function_call_history.exp: Update tests.
18780 * gdb.btrace/instruction_history.exp: Update tests.
18781
8710b709
MM
187822014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18783
18784 * gdb.btrace/function_call_history.exp: Fix expected field
18785 order for "record function-call-history".
18786 Add new tests for "record function-call-history /c".
18787 * gdb.btrace/exception.cc: New.
18788 * gdb.btrace/exception.exp: New.
18789 * gdb.btrace/tailcall.exp: New.
18790 * gdb.btrace/x86-tailcall.S: New.
18791 * gdb.btrace/x86-tailcall.c: New.
18792 * gdb.btrace/unknown_functions.c: New.
18793 * gdb.btrace/unknown_functions.exp: New.
18794 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
18795
5de9129b
MM
187962014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18797
18798 * gdb.btrace/instruction_history.exp: Update.
18799 * gdb.btrace/function_call_history.exp: Update.
18800
23a7fe75
MM
188012014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18802
18803 * gdb.btrace/function_call_history.exp: Fix expected function
18804 trace.
18805 * gdb.btrace/instruction_history.exp: Initialize traced.
18806 Remove traced_functions.
18807
724c7dd8
MM
188082014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18809
18810 * gdb.btrace/function_call_history.exp: Update
18811 * gdb.btrace/instruction_history.exp: Update.
18812
6d78d93b
MM
188132014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18814
18815 * gdb.btrace/enable.exp: Update expected text.
18816
93a360cc
OJ
188172014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
18818
18819 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
18820 bytes.
18821
3772b53f
MR
188222014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
18823
18824 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
18825
596662fa
OJ
188262014-01-15 Omair Javaid <omair.javaid@linaro.org>
18827
18828 * lib/gdb.exp (supports_process_record): Return true for
18829 arm*-linux*. (supports_reverse): Likewise.
18830
b5b08fb4
SC
188312014-01-13 Siva Chandra Reddy <sivachandra@google.com>
18832
18833 PR python/15464
18834 PR python/16113
18835 * gdb.python/py-type.c: Enhance test case.
18836 * gdb.python/py-value-cc.cc: Likewise
18837 * gdb.python/py-type.exp: Add new tests.
18838 * gdb.python/py-value-cc.exp: Likewise
18839
52d7fb13
AA
188402014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
18841 Pedro Alves <palves@redhat.com>
18842
18843 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
18844 Make "name" extern.
18845 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
18846 references to ${name}_start by references to ${name}.
18847
a2cd8cfe
JB
188482014-01-10 Joel Brobecker <brobecker@adacore.com>
18849
18850 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
18851
4e23fced
JB
188522014-01-10 Joel Brobecker <brobecker@adacore.com>
18853
18854 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
18855
c6a9e42c
PA
188562014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
18857 Pedro Alves <palves@redhat.com>
18858
18859 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 18860 mi_gdb_target_load.
c6a9e42c 18861
b7ea362b
PA
188622014-01-08 Pedro Alves <palves@redhat.com>
18863
18864 * gdb.threads/reconnect-signal.c: New file.
18865 * gdb.threads/reconnect-signal.exp: New file.
18866
5e3f4fab
EBM
188672014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
18868
18869 * gdb.base/source-dir.exp: New file.
18870
79301218
JB
188712014-01-07 Joel Brobecker <brobecker@adacore.com>
18872
18873 * gdb.ada/mi_interface: New testcase.
18874
8e355c5d
JB
188752014-01-07 Joel Brobecker <brobecker@adacore.com>
18876
18877 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
18878 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
18879 gdb.ada/pp-rec-component/pck.ads: New files.
18880
c0d48811
JB
188812014-01-07 Joel Brobecker <brobecker@adacore.com>
18882
18883 * gdb.python/py-pp-integral.c: New file.
18884 * gdb.python/py-pp-integral.py: New file.
18885 * gdb.python/py-pp-integral.exp: New file.
18886
17b609c3 18887For older changes see ChangeLog-1993-2013.
c906108c 18888\f
8d8cb839
EZ
18889;; Local Variables:
18890;; mode: change-log
18891;; left-margin: 8
18892;; fill-column: 74
18893;; version-control: never
18894;; End:
902f2ccb 18895
b811d2c2 18896 Copyright 2014-2020 Free Software Foundation, Inc.
902f2ccb
MC
18897 Copying and distribution of this file, with or without modification,
18898 are permitted provided the copyright notice and this notice are preserved.