]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
[gdb/testsuite] Fix mi-sym-info.exp matching FAILs (2)
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
2e9145ac
TV
12020-03-13 Tom de Vries <tdevries@suse.de>
2
3 * gdb.mi/mi-sym-info.exp: Make matching more precise.
4
96c7f873
TV
52020-03-13 Tom de Vries <tdevries@suse.de>
6
7 PR symtab/25646
8 * gdb.dwarf2/imported-unit.exp: Add test.
9
49ba92c0
TV
102020-03-13 Tom de Vries <tdevries@suse.de>
11
12 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
13 (var1, var2): New variable.
14 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
15 matching symbols.
16
301b21e0
TV
172020-03-13 Tom de Vries <tdevries@suse.de>
18
19 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
20 (Term::command): Use prompt prefix.
21 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
22 * gdb.tui/tui-layout-asm-short-prog.exp: Use
23 command_no_prompt_prefix instead of prefix.
24 * gdb.tui/tui-layout-asm.exp: Same.
25
3f512721
SM
262020-03-12 Simon Marchi <simon.marchi@efficios.com>
27
28 * gdb.base/break-interp.exp: Use foreach_with_prefix.
29
40310f30
SM
302020-03-12 Simon Marchi <simon.marchi@efficios.com>
31
32 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
33 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
34 on" while stepping over the test instruction, match printed
35 message.
36
09252140
TV
372020-03-12 Tom de Vries <tdevries@suse.de>
38
39 * gdb.base/info-types.exp: Use exp_continue during matching of output
40 of "info types".
41
14e9c72c
TV
422020-03-12 Tom de Vries <tdevries@suse.de>
43
44 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
45
e515d67e
TV
462020-03-12 Tom de Vries <tdevries@suse.de>
47
48 * gdb.fortran/module.exp: Use exp_continue during matching of output
49 of "info variable -n".
50
307eafd8
TV
512020-03-12 Tom de Vries <tdevries@suse.de>
52
53 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
54 gdb.dwarf2/dw2-ranges-base.c.
55
9a2de3fc
TV
562020-03-12 Tom de Vries <tdevries@suse.de>
57
58 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
59 in presence of GLIBC debuginfo.
60
3217502e
TV
612020-03-12 Tom de Vries <tdevries@suse.de>
62
63 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
64 $core.
65
1281424c
TV
662020-03-12 Tom de Vries <tdevries@suse.de>
67
68 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
69 more precise.
70
038b97fc
SM
712020-03-11 Simon Marchi <simon.marchi@efficios.com>
72
73 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
74 from Unix to Windows path.
75
5308d1e7
TV
762020-03-11 Tom de Vries <tdevries@suse.de>
77
78 * gdb.ada/minsyms.exp: Set language to ada.
79
f870f78f
TV
802020-03-11 Tom de Vries <tdevries@suse.de>
81
82 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
83
5a13315d
TV
842020-03-11 Tom de Vries <tdevries@suse.de>
85
86 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
87
976862ed
TT
882020-03-11 Tom Tromey <tromey@adacore.com>
89
90 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
91
7462c383
TV
922020-03-11 Tom de Vries <tdevries@suse.de>
93
94 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
95
1c6c46a0
TV
962020-03-11 Tom de Vries <tdevries@suse.de>
97
98 * gdb.base/break-interp.exp: Limit verbose scope.
99
44f41bb7
TV
1002020-03-11 Tom de Vries <tdevries@suse.de>
101
102 * gdb.fortran/logical.f90: Define variable with character type.
103 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
104
b76f3a42
TV
1052020-03-11 Tom de Vries <tdevries@suse.de>
106
107 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
108
1c33af77
TV
1092020-03-11 Tom de Vries <tdevries@suse.de>
110
111 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
112 symtabs.
113
8c95582d
AB
1142020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
115 Bernd Edlinger <bernd.edlinger@hotmail.de>
116
117 * gdb.cp/step-and-next-inline.cc: New file.
118 * gdb.cp/step-and-next-inline.exp: New file.
119 * gdb.cp/step-and-next-inline.h: New file.
120 * gdb.dwarf2/dw2-is-stmt.c: New file.
121 * gdb.dwarf2/dw2-is-stmt.exp: New file.
122 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
123 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
124 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
125
cecf8547
AB
1262020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
127
128 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
129 is-stmt flag in the line table.
130
0ba678c9
TV
1312020-03-09 Tom de Vries <tdevries@suse.de>
132
133 * lib/gdb.exp (cached_file): Create cache dir.
134
72fbdf83
TV
1352020-03-07 Tom de Vries <tdevries@suse.de>
136
137 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
138 * gdb.cp/rvalue-ref-params.exp: Same.
139
436b5e99
TV
1402020-03-06 Tom de Vries <tdevries@suse.de>
141
142 * lib/gdb.exp (tentative_rename, cached_file): New proc.
143 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
144
09f2921c
TV
1452020-03-06 Tom de Vries <tdevries@suse.de>
146
147 * README: Fix "the the".
148 * gdb.base/dprintf.exp: Same.
149
50a3cc5d
TV
1502020-03-05 Tom de Vries <tdevries@suse.de>
151
152 * gdb.base/maint.exp: Update "main print statistics" expected output.
153
0a709cba
AKS
1542020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
155
156 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
157 (fortran_int8): Likewise.
158 (fortran_real4): Likewise.
159 (fortran_real8): Likewise.
160 (fortran_complex4): Likewise.
161 (fortran_logical4): Likewise.
162 (fortran_character1): Likewise.
163
5e5d66b6
AB
1642020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
165
166 * gdb.fortran/logical.exp: Add tests that any non-zero value is
167 printed as true.
168
7b973adc
SDJ
1692020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
170
171 * gdb.base/printcmds.exp: Add test to verify printf of a
172 variable holding an address.
173
478e490a
TV
1742020-03-03 Tom de Vries <tdevries@suse.de>
175
176 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
177
1ef44e86
TV
1782020-03-03 Tom de Vries <tdevries@suse.de>
179
180 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
181 gdb_test_multiple call.
182
b98cc2cf
TV
1832020-03-03 Tom de Vries <tdevries@suse.de>
184
185 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
186 gdb_test_multiple calls.
187
63e163f2
AB
1882020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
189
190 * gdb.base/default.exp: Remove test of 'set history filename'.
191 * gdb.base/gdbinit-history.exp: Add tests for setting the history
192 filename to the empty string.
193 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
194 and GDBHISTSIZE.
195
24ed6739
AB
1962020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
197
198 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
199 disabled.
200
590003dc
TV
2012020-03-02 Pedro Alves <palves@redhat.com>
202 Tom de Vries <tdevries@suse.de>
203
204 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
205 -prompt prefix, before user_code argument. Add -lbl option likewise.
206 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
207 (gdb_is_target_1): Add -prompt prefix and move to before user_code
208 argument.
209 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
210 have "\r\n" at start-of-line, instead of at end-of-line.
211
f5e46084
SM
2122020-02-28 Simon Marchi <simon.marchi@efficios.com>
213
214 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
215 libinproctrace.so.
216
f7a7000d
LM
2172020-02-28 Luis Machado <luis.machado@linaro.org>
218
219 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
220 to "p/x".
221
718e0816
LM
2222020-02-28 Luis Machado <luis.machado@linaro.org>
223
224 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
225 asm/ptrace.h and error.h.
226
13c3a74a
TV
2272020-02-28 Tom de Vries <tdevries@suse.de>
228
229 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
230 (struct wrapper, do_something, mundane/symada__cS): Move ...
231 * gdb.base/c-linkage-name-2.c: ... here. New source file.
232 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
233 Update "print symada__cS before partial symtab expansion" regexp.
234 Update breakpoint location. Flush symbol cache after expansion.
235
85d2d5bb
LM
2362020-02-28 Luis Machado <luis.machado@linaro.org>
237
238 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
239
3608f86c
TV
2402020-02-27 Tom de Vries <tdevries@suse.de>
241
242 * config/sid.exp: Remove unused globals.
243 * gdb.base/attach.exp: Same.
244 * gdb.base/catch-load.exp: Same.
245 * gdb.base/dbx.exp: Same.
246 * lib/gdb.exp: Same.
247 * lib/mi-support.exp: Same.
248 * lib/prompt.exp: Same.
249
c8d4f6df
TV
2502020-02-27 Tom de Vries <tdevries@suse.de>
251
252 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
253 not set.
254
0d79cdc4
AM
2552020-02-26 Aaron Merey <amerey@redhat.com>
256
257 * gdb.debuginfod: New directory for debuginfod tests.
258 * gdb.debuginfod/main.c: New test file.
259 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
260
0dce4280
TV
2612020-02-26 Tom de Vries <tdevries@suse.de>
262
263 PR gdb/25603
264 * gdb.base/persistent-lang.cc: New test.
265 * gdb.base/persistent-lang.exp: New file.
266
9e80cfa1
AB
2672020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
268
269 * gdb.fortran/derived-type-striding.exp: Add a new test.
270 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
271 new test.
272
2078dbb2
AB
2732020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
274
275 * gdb.base/cached-source-file.exp: Avoid source file paths in test
276 names.
277
70d49700
TV
2782020-02-25 Tom de Vries <tdevries@suse.de>
279
280 PR go/18926
281 * gdb.go/methods.exp: Remove gcc/93866 xfail.
282
a88ef40d
TV
2832020-02-24 Tom de Vries <tdevries@suse.de>
284
285 PR gdb/25592
286 * gdb.base/info-locals-unused-static-var.c: New test.
287 * gdb.base/info-locals-unused-static-var.exp: New file.
288
01b1af32
TT
2892020-02-22 Tom Tromey <tom@tromey.com>
290
291 * gdb.python/tui-window.exp: New file.
292 * gdb.python/tui-window.py: New file.
293
7c043ba6
TT
2942020-02-22 Tom Tromey <tom@tromey.com>
295
296 PR tui/17850:
297 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
298 tests.
299
c22fef7e
TT
3002020-02-22 Tom Tromey <tom@tromey.com>
301
302 * gdb.tui/new-layout.exp: Add sub-layout tests.
303
ee325b61
TT
3042020-02-22 Tom Tromey <tom@tromey.com>
305
306 * gdb.tui/new-layout.exp: New file.
307
3f0cbb04
TT
3082020-02-22 Tom Tromey <tom@tromey.com>
309
310 * gdb.rust/rust-style.rs: New file.
311 * gdb.rust/rust-style.exp: New file.
312 * gdb.base/style.exp: Test structure printing.
313 * gdb.base/style.c (struct some_struct): New type.
314 (enum etype): New type.
315 (struct_value): New global.
316
75525152
TV
3172020-02-21 Tom de Vries <tdevries@suse.de>
318
319 PR go/18926
320 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
321 Remove blanket xfails. Use message argument for gdb_breakpoint.
322 Make continuing to breakpoint test conditional on setting breakpoint.
323 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
324 DW_AT_name attribute. Add xfail for GCC PR93866.
325
bd360d30
AB
3262020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
327
328 * gdb.dwarf2/cpp-linkage-name.c: New file.
329 * gdb.dwarf2/cpp-linkage-name.exp: New file.
330
c7adb09f 3312020-02-21 Shahab Vahedi <shahab@synopsys.com>
24ac169a
SV
332
333 * lib/gdb.exp (gdb_wrapper_init): Reset
334 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
335 not exist.
336
a9c79803
TV
3372020-02-20 Tom de Vries <tdevries@suse.de>
338
339 PR go/17018
340 * gdb.go/hello.exp: Copy ...
341 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
342 print of st to print value of global definition. Add xfail for GCC
343 PR93844.
344 * gdb.go/hello.exp: Remove printing of st before definition.
345 * gdb.go/hello.go: Copy ...
346 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
347 to st.
348 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
349
d7445728
TV
3502020-02-20 Tom de Vries <tdevries@suse.de>
351
352 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
353 (gdb_simple_compile): Handle compile_flags go by using .go extension
354 for source file.
355 * gdb.go/chan.exp: Use support_go_compile.
356 * gdb.go/handcall.exp: Same.
357 * gdb.go/hello.exp: Same.
358 * gdb.go/integers.exp: Same.
359 * gdb.go/max-depth.exp: Same.
360 * gdb.go/methods.exp: Same.
361 * gdb.go/package.exp: Same.
362 * gdb.go/strings.exp: Same.
363 * gdb.go/types.exp: Same.
364 * gdb.go/unsafe.exp: Same.
365
c9c41e6d
TV
3662020-02-19 Tom de Vries <tdevries@suse.de>
367
368 * gdb.python/lib-types.exp: Make xfail more strict.
369
f20ff837
TV
3702020-02-19 Tom de Vries <tdevries@suse.de>
371
372 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
373
08410482
DE
3742020-02-19 Doug Evans <dje@google.com>
375
376 PR rust/25535
377 * gdb.rust/simple.exp: Add test.
378 * gdb.rust/simple.rs: Add test.
379
623563f7
TV
3802020-02-19 Tom de Vries <tdevries@suse.de>
381
382 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
383 output line-by-line.
384
d3308cfd
TV
3852020-02-19 Tom de Vries <tdevries@suse.de>
386
387 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
388
86cbc5dc
TV
3892020-02-19 Tom de Vries <tdevries@suse.de>
390
391 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
392 prelink.
393
9db2b96b
TV
3942020-02-19 Tom de Vries <tdevries@suse.de>
395
396 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
397 (gdb_do_cache): Use gdb_do_cache_wrap.
398 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
399
89e2fdc5
TV
4002020-02-19 Tom de Vries <tdevries@suse.de>
401
402 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
403 gdb_compile option.
404
373d7ac0
SM
4052020-02-18 Simon Marchi <simon.marchi@efficios.com>
406
407 * gdb.base/printcmds.exp (test_print_enums): Update expected
408 output.
409
b29a2df0
SM
4102020-02-18 Simon Marchi <simon.marchi@efficios.com>
411
412 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
413 for "unknown".
414
6740f0cc
SM
4152020-02-18 Simon Marchi <simon.marchi@efficios.com>
416
417 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
418 enumerator.
419
edd45eb0
SM
4202020-02-18 Simon Marchi <simon.marchi@efficios.com>
421
422 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
423 FE_, add FE_NONE.
424 (three): Update.
425 (enum flag_enum_without_zero): New enum.
426 (flag_enum_without_zero): New variable.
427 (enum not_flag_enum): New enum.
428 (three_not_flag): New variable.
429 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
430 (test_print_enums): Add more tests for printing flag enums.
431
d4295de4
TV
4322020-02-18 Tom de Vries <tdevries@suse.de>
433
434 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
435 (gdb_compile_ada): ... here.
436 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
437 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
438
f251f505
TT
4392020-02-14 Tom Tromey <tom@tromey.com>
440
441 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
442 build directory.
443 * boards/gdbserver-base.exp: Update path to gdbserver.
444
8f432634
TV
4452020-02-13 Tom de Vries <tdevries@suse.de>
446
447 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
448
92b6eaf7
TV
4492020-02-13 Tom de Vries <tdevries@suse.de>
450
451 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
452 are missing.
453
f3b0f7fe
TV
4542020-02-13 Tom de Vries <tdevries@suse.de>
455
456 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
457 call.
458
f6be8713
SDJ
4592020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
460
461 PR tui/25126
462 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
463 * gdb.base/cached-source-file.c: New file.
464 * gdb.base/cached-source-file.exp: New file.
465
b2770d5e
TV
4662020-02-11 Tom de Vries <tdevries@suse.de>
467
468 PR testsuite/25488
469 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
470
44f6938e
TV
4712020-02-10 Tom de Vries <tdevries@suse.de>
472
473 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
474
5f0e2eb7
MR
4752020-02-10 Maciej W. Rozycki <macro@wdc.com>
476
477 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
478 and $after_addr are both integers before making a comparison.
479
46ce2b6f
TV
4802020-02-09 Tom de Vries <tdevries@suse.de>
481
482 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
483 command output and paste it into gdb.log. If any, paste catch message
484 to gdb.log.
485
5abbbe1d
TT
4862020-02-07 Tom Tromey <tromey@adacore.com>
487
488 PR breakpoints/24915:
489 * gdb.base/annotate-symlink.exp: Use setup_xfail.
490
1d5d29e7
SV
4912020-02-06 Shahab Vahedi <shahab@synopsys.com>
492
493 * gdb.tui/tui-missing-src.exp: Add the "missing source
494 file" test for the TUI.
495
b0999b9b
AB
4962020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
497
498 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
499 including a port number in the output.
500
c3b149eb
AKS
5012020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
502
503 * lib/fortran.exp (fortran_int4): Handle clang.
504 (fortran_int8): Likewise.
505 (fortran_real4): Likewise.
506 (fortran_real8): Likewise.
507 (fortran_complex4): Likewise.
508 (fortran_logical4): Likewise.
509 (fortran_character1): Likewise.
510
f8dcc90b
TV
5112020-02-04 Tom de Vries <tdevries@suse.de>
512
513 * README (Race detection): Add note.
514
f90ac7c2
TV
5152020-02-04 Tom de Vries <tdevries@suse.de>
516
517 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
518
780636ae
TV
5192020-02-04 Tom de Vries <tdevries@suse.de>
520
521 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
522
5d2e1193
RA
5232020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
524
525 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
526 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
527 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
528 blttar, bnetarl.
529 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
530 binary for blttar, bnetarl.
531 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
532 wait instruction. Delete ldmx test.
533 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
534
e409c542
AKS
5352020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
536
537 * gdb.fortran/array-bounds-high.exp: New file.
538 * gdb.fortran/array-bounds-high.f90: New file.
539
b0029748
LD
5402020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
541
542 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
543 Replace #include of <sys/fcntl.h> by <fcntl.h>.
544
195a8287
TV
5452020-02-01 Tom de Vries <tdevries@suse.de>
546
547 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
548
42330a68
AB
5492020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
550
551 PR tui/9765
552 * gdb.tui/tui-layout-asm-short-prog.S: New file.
553 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
554
b62a8028
LM
5552020-01-29 Luis Machado <luis.machado@linaro.org>
556
557 * gdb.arch/aarch64-brk-patterns.c: New source file.
558 * gdb.arch/aarch64-brk-patterns.exp: New test.
559
5f440116
TBA
5602020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
561
562 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
563 GCC/Clang version.
564 * gdb.cp/pass-by-ref.exp: Ditto.
565
ee2a6fc6
TV
5662020-01-29 Tom de Vries <tdevries@suse.de>
567
568 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
569 * gdb.threads/watchpoint-fork-mt.c: Same.
570 * gdb.threads/watchpoint-fork-parent.c: Same.
571 * gdb.threads/watchpoint-fork-st.c: Same.
572 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
573
16b10d6e
LM
5742020-01-27 Luis Machado <luis.machado@linaro.org>
575
576 * gdb.base/step-over-syscall.exp (setup): Check if we're already
577 sitting at a syscall instruction when we hit the syscall function's
578 breakpoint.
579 Check PC against one obtained with the x command.
580 Validate syscall number.
581 (step_over_syscall): Don't continue to the syscall instruction if
582 we're already there.
583
b1468492
PW
5842020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
585
586 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
587
7ffa82e1
AB
5882020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
589
590 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
591 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
592
3d92a3e3
AB
5932020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
594
595 * gdb.dwarf2/dw2-inline-stepping.c: New file.
596 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
597
94a72be7
AB
5982020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
599
600 * gdb.base/maint.exp: Update line table parsing test.
601 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
602
53af73bf
PA
6032020-01-24 Pedro Alves <palves@redhat.com>
604
605 PR gdb/25410
606 * gdb.multi/multi-re-run-1.c: New.
607 * gdb.multi/multi-re-run-2.c: New.
608 * gdb.multi/multi-re-run.exp: New.
609
1ba1ac88
AB
6102020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
611
612 PR gdb/23718
613 * gdb.server/server-kill-python.exp: New file.
614
f3364a6d
AB
6152020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
616
617 * gdb.server/multi-ui-errors.c: New file.
618 * gdb.server/multi-ui-errors.exp: New file.
619
733d0a67
AB
6202020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
621
622 PR tui/9765
623 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
624
4f13c1c0
TT
6252020-01-19 Tom Tromey <tom@tromey.com>
626
627 * gdb.tui/main.exp: Add check for plain "file".
628
40c94099
CB
6292020-01-16 Christian Biesinger <cbiesinger@google.com>
630
631 * lib/gdb.exp: Fix spelling error (seperatelly).
632
ff47f4f0
TT
6332020-01-14 Tom Tromey <tom@tromey.com>
634
635 PR symtab/12535:
636 * gdb.python/python.exp: Test decode_line with empty string
637 argument.
638
717c684d
BE
6392020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
640
641 * gdb.base/skip-inline.exp: Extend test.
642
44e4c775
AB
6432020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
644
645 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
646 * gdb.dwarf2/dw2-bad-elf.c: New file.
647 * gdb.dwarf2/dw2-bad-elf.exp: New file.
648
d93c6db7
AB
6492020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
650
651 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
652 _line_saw_file.
653
9a6d629c
AB
6542020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
655
656 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
657 border.
658
d9ebdab7
TBA
6592020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
660
661 * gdb.multi/multi-target.exp (setup): Factor out "info
662 connections" and "info inferiors" tests to ...
663 (test_info_inferiors): ... this new procedure.
664 (top level): Run new "info-inferiors" tests.
665
f3c469b9
PA
6662020-01-10 Pedro Alves <palves@redhat.com>
667
668 * gdb.server/bkpt-other-inferior.exp: New file.
669
121b3efd
PA
6702020-01-10 Pedro Alves <palves@redhat.com>
671
672 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
673 of "add-inferior".
674 * gdb.base/quit-live.exp: Likewise.
675 * gdb.base/remote-exec-file.exp: Likewise.
676 * gdb.guile/scm-progspace.exp: Likewise.
677 * gdb.linespec/linespec.exp: Likewise.
678 * gdb.mi/new-ui-mi-sync.exp: Likewise.
679 * gdb.mi/user-selected-context-sync.exp: Likewise.
680 * gdb.multi/multi-target.exp (setup): Add "info connection" and
681 "info inferiors" tests.
682 * gdb.multi/remove-inferiors.exp: Adjust expected output of
683 "add-inferior".
684 * gdb.multi/watchpoint-multi.exp: Likewise.
685 * gdb.python/py-inferior.exp: Likewise.
686 * gdb.server/extended-remote-restart.exp: Likewise.
687 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
688 "info inferiors".
689 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
690 * gdb.trace/report.exp: Likewise.
691
1dadb1dd
PA
6922020-01-10 Pedro Alves <palves@redhat.com>
693
694 * gdb.multi/multi-target.c: New file.
695 * gdb.multi/multi-target.exp: New file.
696 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
697 mode requested, but remote does not support non-stop".
698
78f2c40a
PA
6992020-01-10 Pedro Alves <palves@redhat.com>
700
701 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
702 disconnect before reconnecting.
703
e7af6c70
TBA
7042020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
705 Pedro Alves <palves@redhat.com>
706
707 * gdb.server/connect-without-multi-process.exp: Also test
708 continuing to end.
709
acdf84a6
PA
7102020-01-10 Pedro Alves <palves@redhat.com>
711
712 * gdb.base/remote-exec-file.exp: New file.
713
873657b9
PA
7142020-01-10 Pedro Alves <palves@redhat.com>
715
716 * gdb.base/fork-running-state.exp (do_test): Adjust expected
717 output.
718 * gdb.threads/async.c: New.
719 * gdb.threads/async.exp: New.
720 * gdb.multi/tids-gid-reset.c: New.
721 * gdb.multi/tids-gid-reset.exp: New.
722
7f0ae84c
GB
7232020-01-10 George Barrett <bob@bob131.so>
724
725 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
726 to help in finding the image relocation offset.
727 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
728 options in arguments.
729 (stap_test_no_debuginfo): Likewise.
730 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
731 test variants.
732 (stap_test): Add null semaphore relocation test.
733
47e9d49d
GB
7342020-01-10 George Barrett <bob@bob131.so>
735
736 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
737 * gdb.base/stap-probe.exp: Likewise.
738 (stap_test): Pass argument as an additional flag.
739 (stap_test_no_debuginfo): Likewise.
740 (stap_test): Check `info probes stap' output for semaphore
741 addresses if the test binary is supposed to have them.
742
f5a7c406
AB
7432020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
744
745 * gdb.tui/basic.exp: Add more scrolling tests.
746
9ae6bf64
TT
7472020-01-09 Tom Tromey <tom@tromey.com>
748
749 PR tui/18932:
750 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
751 meangingful value.
752 (Term::command, Term::resize): Update.
753 * gdb.tui/basic.exp: Add scrolling test.
754
b2efe70c
AB
7552020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
756
757 * gdb.tui/tui-layout-asm.exp: New file.
758
3804da7e
AB
7592020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
760
761 * lib/tuiterm.exp (Term::check_box_contents): New proc.
762
b40aa28f
AB
7632020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
764
765 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
766 (Term::enter_tui): Use Term::prepare_for_tui.
767
63ffd7c9
AB
7682020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
769
770 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
771 called.
772
3be966f6
AB
7732020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
774
775 * gdb.base/skip.exp: Fix race condition in test.
776
153d79c4
AB
7772020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
778
779 * gdb.base/backtrace.c: New file.
780 * gdb.base/backtrace.exp: New file.
781
f2302a34
AB
7822020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
783
784 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
785
6ec1d75e
PW
7862020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
787
788 * gdb.base/style.exp: Test that warnings are styled.
789
c296cbe6
BE
7902019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
791
792 * gdb.base/line65535.exp: New file.
793 * gdb.base/line65535.c: New file.
794
b28a729d
SM
7952019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
796
797 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
798 * lib/gnat_debug_info_test.adb: New file.
799 * gdb.ada/ptype_tagged_param.exp: Use
800 gnat_runtime_has_debug_info, expect a different output if
801 runtime does not have debug info.
802
7f2d7a0d
SM
8032019-12-20 Simon Marchi <simon.marchi@efficios.com>
804
805 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
806 (another) quote in test name.
807
f3bce483
SM
8082019-12-20 Simon Marchi <simon.marchi@efficios.com>
809
810 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
811 Add quote in test name.
812
c855a912
TBA
8132019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
814
815 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
816 directory instead.
817 * gdb.cp/pass-by-ref.exp: Extend with more cases.
818 * gdb.cp/pass-by-ref-2.cc: New file.
819 * gdb.cp/pass-by-ref-2.exp: New file.
820
fc9d2d72
TT
8212019-12-20 Tom Tromey <tom@tromey.com>
822
823 * gdb.tui/list-before.exp: New file.
824
77b97e00
TT
8252019-12-20 Tom Tromey <tom@tromey.com>
826
827 * gdb.tui/list.exp: Check for source on initial listing.
828
f69656d0
TT
8292019-12-11 Tom Tromey <tromey@adacore.com>
830
831 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
832 Add crlf test.
833
99a55965
SM
8342019-12-18 Simon Marchi <simon.marchi@efficios.com>
835
836 * gdb.base/default.exp: Update value of $_gdb_major.
837
5024637f
BE
8382019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
839
840 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
841
b63634be
BE
8422019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
843
844 * gdb.base/skip.exp: Whitespace fix.
845
45d73523
BE
8462019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
847
848 * gdb.base/skip-inline.c: New file.
849 * gdb.base/skip-inline.exp: New file.
850
d043f8c8
SM
8512019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
852
853 * gdb.base/jit-reader.exp (jit_reader_test): Rename
854 jit_function_00 to jit_function_stack_mangle.
855 * gdb.base/jithost.c (jit_function_t): Rename to...
856 (jit_function_stack_mangle_t): ... this.
857 (jit_function_add_t): New typedef.
858 (jit_function_00_code): Rename to...
859 (jit_function_stack_mangle_code): ... this, make static.
860 (jit_function_add_code): New.
861 (main): Generate "add" function and call it. Adjust to changes
862 in jithost_abi.
863 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
864 (struct jithost_abi) <begin, end>: Remove fields.
865 <object, function_stack_mangle, function_add>: New fields.
866 * gdb.base/jitreader.c (struct reader_state) <code_begin,
867 code_end>: Remove fields.
868 <func_stack_mangle>: New field.
869 (read_debug_info): Adjust to renaming, create block for "add"
870 function.
871 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
872
873de05c
TT
8732019-12-11 Tom Tromey <tom@tromey.com>
874
875 * gdb.tui/resize.exp: Fix regexp.
876 * gdb.tui/regs.exp: Fix regexps.
877 * gdb.tui/main.exp: Fix regexp.
878
3d979945
TT
8792019-12-11 Tom Tromey <tom@tromey.com>
880
881 * gdb.tui/resize.exp: Update.
882 * gdb.tui/empty.exp (layouts): Update.
883
2192a9d3
TT
8842019-12-11 Tom Tromey <tom@tromey.com>
885
886 * gdb.tui/regs.exp: Update.
887 * gdb.tui/empty.exp (layouts): Update.
888 * gdb.tui/basic.exp: Update.
889 * lib/tuiterm.exp (_check_box): Don't check bottom border.
890
d8edc8b7
PW
8912019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
892
893 * gdb.base/options.exp: Add -raw-values in the print completion list.
894 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
895
4c12d936
KB
8962019-12-10 Kevin Buettner <kevinb@redhat.com>
897
898 * gdb.threads/omp-par-scope.c: New file.
899 * gdb/threads/omp-par-scope.exp: New file.
900
26b911fb
KB
9012019-12-10 Kevin Buettner <kevinb@redhat.com>
902
bb47f919
KB
903 * lib/gdb.exp (support_nested_function_tests): New proc.
904
9052019-12-10 Kevin Buettner <kevinb@redhat.com>
906
907 * lib/gdb.exp (gdb_compile_openmp): New proc.
908 (build_executable_from_specs): Add an "openmp" option.
909 (gdb_compile_pthreads): Add non-executable case.
26b911fb 910
6c71eb7d
TT
9112019-12-10 Tom Tromey <tromey@adacore.com>
912
913 * gdb.ada/unchecked_union.exp: New file.
914 * gdb.ada/unchecked_union/pck.adb: New file.
915 * gdb.ada/unchecked_union/pck.ads: New file.
916 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
917 * gdb-utils.exp (string_to_regexp): Also quote "?".
918
bac7c5cf
GB
9192019-12-10 George Barrett <bob@bob131.so>
920
921 Test scripted probe breakpoints.
922 * gdb.guile/scm-breakpoint.c (main): Add probe point.
923 * gdb.python/py-breakpoint.c (main): Likewise.
924 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
925 specifier test.
926 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
927
330f1d38
TBA
9282019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
929
930 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
931 an rvalue parameter.
932 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
933 parameter.
934
b43315e2
AB
9352019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
936
937 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
938 modules.
939
54f73dad
AB
9402019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
941
942 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
943 broken version of GCC.
944
d57cbee9
AB
9452019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
946
947 * gdb.fortran/info-modules.exp: Rewrite to make use of new
948 sym-info-cmds library.
949 * gdb.fortran/info-types.exp: Likewise.
950 * lib/sym-info-cmds.exp: New file.
951
c14aab8c
TV
9522019-12-08 Tom de Vries <tdevries@suse.de>
953
954 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
955
aa2d5a42
KS
9562019-12-07 Keith Seitz <keiths@redhat.com>
957
958 * gdb.base/corefile-buildid-shlib-shr.c: New file.
959 * gdb.base/corefile-buildid-shlib.c: New file.
960 * gdb.base/corefile-buildid.c: New file.
961 * gdb.base/corefile-buildid.exp: New file.
962
93e55f0a
TV
9632019-12-06 Tom de Vries <tdevries@suse.de>
964
965 * gdb.dwarf2/varval.exp: Add decl before def test.
966
c7d12402
TBA
9672019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
968
969 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
970
06acc08f
TBA
9712019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
972
973 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
974 CV and reference conversion for overload resolution.
975 * gdb.cp/rvalue-ref-overload.exp: Test it.
976
e0fad1ea
PW
9772019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
978
979 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
980 * gdb.base/frameapply.exp: Test faas without command.
981
8d70a9f0
AB
9822019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
983
984 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
985 Fortran tests.
986 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
987 order.
988
36c8fb93
AB
9892019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
990
991 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
992 casting to type with no kind specified.
993 (test_basic_parsing_of_type_kinds): Additional tests for types
994 with no kind specified, and add tests for single/double
995 precision/complex types.
996
4139ff00
TT
9972019-12-04 Tom Tromey <tromey@adacore.com>
998
999 * gdb.base/endianity.c (struct other) <x>: New field.
1000 (main): Initialize it.
1001 * gdb.base/endianity.exp: Update.
1002
a05cf17a
TT
10032019-12-04 Tom Tromey <tromey@adacore.com>
1004
1005 * gdb.ada/scalar_storage/storage.adb: New file.
1006 * gdb.ada/scalar_storage/pck.adb: New file.
1007 * gdb.ada/scalar_storage/pck.ads: New file.
1008 * gdb.ada/scalar_storage.exp: New file.
1009
103a685e
TT
10102019-12-04 Tom Tromey <tromey@adacore.com>
1011
1012 * gdb.base/endianity.c (struct otherendian) <f>: New field.
1013 (main): Initialize it.
1014 * gdb.base/endianity.exp: Update.
1015
c2512106
AB
10162019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1017
1018 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
1019
293b38d6
AB
10202019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1021
1022 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
1023 -symbol-info-module-functions and -symbol-info-module-variables.
1024
216a7e6b
AB
10252019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
1026
1027 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
1028
5bbd8269
AB
10292019-12-01 Richard Bunt <richard.bunt@arm.com>
1030 Andrew Burgess <andrew.burgess@embecosm.com>
1031
1032 * gdb.fortran/derived-type-striding.exp: New file.
1033 * gdb.fortran/derived-type-striding.f90: New file.
1034 * gdb.fortran/array-slices.exp: New file.
1035 * gdb.fortran/array-slices.f90: New file.
1036
be09caf1
PW
10372019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1038
1039 * gdb.base/define.exp: Test . in command names.
1040 * gdb.base/setshow.exp: Update test, as . is now part of
1041 command name.
1042
643c0cbe
PW
10432019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1044
1045 * gdb.base/define-prefix.exp: New file.
1046
dcdec678
AB
10472019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
1048
1049 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
1050 compile.
1051 (skip_btrace_pt_tests): Likewise.
1052
640ab947
AB
10532019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
1054
1055 * gdb.fortran/info-modules.exp: Compile source files in correct
1056 order.
1057
d22670f0
KB
10582019-11-27 Kevin Buettner <kevinb@redhat.com>
1059
1060 * gdb.dwarf2/imported-unit.exp: New file.
1061 * gdb.dwarf2/imported-unit.c: New file.
1062
db5960b4
AB
10632019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
1064
1065 * gdb.mi/mi-fortran-modules-2.f90: New file.
1066 * gdb.mi/mi-fortran-modules.exp: New file.
1067 * gdb.mi/mi-fortran-modules.f90: New file.
1068
7dc42066
AB
10692019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
1070
1071 * gdb.mi/mi-sym-info-1.c: New file.
1072 * gdb.mi/mi-sym-info-2.c: New file.
1073 * gdb.mi/mi-sym-info.exp: New file.
1074
0dfeecca
TT
10752019-11-22 Tom Tromey <tromey@adacore.com>
1076
1077 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
1078 * gdb.ada/tasks/foo.adb: Add another stopping location.
1079
34877895
PJ
10802019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
1081
1082 * gdb.base/endianity.c: New test.
1083 * gdb.base/endianity.exp: New file.
1084
2e84f897
LD
10852019-11-21 Lukas Durfina <ldurfina@tachyum.com>
1086
1087 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
1088
65d1cd5f
TV
10892019-11-21 Tom de Vries <tdevries@suse.de>
1090
1091 PR gdb/24956
1092 * gdb.base/ui-redirect.exp: Test output of user-defined command.
1093
4f22c3f4
SDJ
10942019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
1095
1096 * gdb.python/py-progspace.exp: Add missing parentheses on some
1097 'print' commands.
1098
9f6ad286
TT
10992019-11-19 Tom Tromey <tom@tromey.com>
1100
1101 * gdb.tui/winheight.exp: New file.
1102
0b8dbf3f
AB
11032019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1104
1105 * gdb.base/ctf-whatis.c: Delete.
1106 * gdb.base/ctf-whatis.exp: Delete.
1107 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
1108
f833b7a7
AB
11092019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1110
1111 * gdb.base/ctf-cvexpr.exp: Delete.
1112 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
1113
30d0a636
AB
11142019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1115
1116 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
1117 the compiler. Clean up header comment a little.
1118 * gdb.base/ctf-ptype.exp: Likewise.
1119 * gdb.base/ctf-whatis.exp: Likewise.
1120 * lib/gdb.exp (skip_ctf_tests): New proc.
1121
494409bb
SDJ
11222019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
1123
1124 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
1125 * gdb.tui/corefile-run.exp: New file.
1126
55708e99
TT
11272019-11-14 Tom Tromey <tromey@adacore.com>
1128
1129 * gdb.base/gdbvars.exp (test_convenience_variables): Add
1130 regression tests.
1131
45e42163
TT
11322019-11-12 Tom Tromey <tom@tromey.com>
1133
1134 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
1135 after any command. Expect prompt after WAIT_FOR is seen.
1136 (enter_tui): Enable resize messages.
1137 (command): Expect command in output.
1138 (get_line): Avoid error when cursor appears to be off-screen.
1139 (dump_screen): Include screen size in title.
1140 (_do_resize): New proc, from "resize".
1141 (resize): Rewrite. Do resize in two steps.
1142 * gdb.tui/empty.exp (layouts): Fix entries.
1143 (check_boxes): Remove xfail.
1144 (check_text): Dump screen on failure.
1145
086baaf1
AB
11462019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
1147
1148 * gdb.python/py-symbol.exp: Add test for
1149 gdb.lookup_static_symbols.
1150
09ff83af
AB
11512019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
1152
1153 * gdb.python/py-symbol.c: Declare and call function from new
1154 py-symbol-2.c file.
1155 * gdb.python/py-symbol.exp: Compile both source files, and add new
1156 tests for gdb.lookup_static_symbol.
1157 * gdb.python/py-symbol-2.c: New file.
1158
11af934b
TV
11592019-11-02 Tom de Vries <tdevries@suse.de>
1160
1161 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
1162 * gdb.base/anon.exp: Same.
1163 * gdb.base/auto-connect-native-target.exp: Same.
1164 * gdb.base/call-ar-st.exp: Same.
1165 * gdb.base/catch-syscall.exp: Same.
1166 * gdb.base/commands.exp: Same.
1167 * gdb.base/default.exp: Same.
1168 * gdb.base/display.exp: Same.
1169 * gdb.base/float.exp: Same.
1170 * gdb.base/foll-fork.exp: Same.
1171 * gdb.base/help.exp: Same.
1172 * gdb.base/info-macros.exp: Same.
1173 * gdb.base/info-proc.exp: Same.
1174 * gdb.base/info-target.exp: Same.
1175 * gdb.base/long_long.exp: Same.
1176 * gdb.base/macscp.exp: Same.
1177 * gdb.base/memattr.exp: Same.
1178 * gdb.base/nofield.exp: Same.
1179 * gdb.base/pointers.exp: Same.
1180 * gdb.base/printcmds.exp: Same.
1181 * gdb.base/ptype.exp: Same.
1182 * gdb.base/restore.exp: Same.
1183 * gdb.base/return.exp: Same.
1184 * gdb.base/scope.exp: Same.
1185 * gdb.base/set-noassign.exp: Same.
1186 * gdb.base/setshow.exp: Same.
1187 * gdb.base/shlib-call.exp: Same.
1188 * gdb.base/signals.exp: Same.
1189 * gdb.base/sigstep.exp: Same.
1190 * gdb.base/skip.exp: Same.
1191 * gdb.base/solib-symbol.exp: Same.
1192 * gdb.base/stap-probe.exp: Same.
1193 * gdb.base/step-line.exp: Same.
1194 * gdb.base/step-test.exp: Same.
1195 * gdb.base/style.exp: Same.
1196 * gdb.base/varargs.exp: Same.
1197 * gdb.base/vla-datatypes.exp: Same.
1198 * gdb.base/vla-ptr.exp: Same.
1199 * gdb.base/vla-sideeffect.exp: Same.
1200 * gdb.base/volatile.exp: Same.
1201 * gdb.base/watch-cond-infcall.exp: Same.
1202 * gdb.base/watchpoint.exp: Same.
1203
e96ec2ba
TV
12042019-11-02 Tom de Vries <tdevries@suse.de>
1205
1206 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
1207 * gdb.cp/cpexprs.exp: Same.
1208 * gdb.cp/except-multi-location.exp: Same.
1209 * gdb.cp/exceptprint.exp: Same.
1210 * gdb.cp/gdb2384.exp: Same.
1211 * gdb.cp/inherit.exp: Same.
1212 * gdb.cp/m-static.exp: Same.
1213 * gdb.cp/meth-typedefs.exp: Same.
1214 * gdb.cp/misc.exp: Same.
1215 * gdb.cp/namespace.exp: Same.
1216 * gdb.cp/non-trivial-retval.exp: Same.
1217 * gdb.cp/overload.exp: Same.
1218 * gdb.cp/pr17132.exp: Same.
1219 * gdb.cp/re-set-overloaded.exp: Same.
1220 * gdb.cp/rvalue-ref-types.exp: Same.
1221 * gdb.cp/templates.exp: Same.
1222
bd5766ec
LM
12232019-11-01 Luis Machado <luis.machado@linaro.org>
1224
1225 PR gdb/25124
1226
1227 * gdb.arch/pr25124.S: New file.
1228 * gdb.arch/pr25124.exp: New file.
1229
165f8965
AB
12302019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1231
1232 * gdb.fortran/info-modules.exp: Update expected results, and add
1233 additional tests for 'info module functinos', and 'info module
1234 variables'.
1235 * gdb.fortran/info-types.exp: Update expected results.
1236 * gdb.fortran/info-types.f90: Extend testcase with additional
1237 module variables and functions.
1238
59c35742
AB
12392019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1240
1241 * gdb.fortran/info-modules.exp: New file.
1242 * gdb.fortran/info-types.exp: Build with new file.
1243 * gdb.fortran/info-types.f90: Include and use new module.
1244 * gdb.fortran/info-types-2.f90: New file.
1245
f3fb2519
PW
12462019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1247
1248 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
1249 * gdb.base/settings.exp: Test all settings types using
1250 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
1251 that now verifies that the value of "maint show" is the same as
1252 returned by the settings functions. Test the type of the
1253 maintenance settings.
1254 * gdb.base/default.exp: Update show_conv_list.
1255
d1e36019
TV
12562019-10-31 Tom de Vries <tdevries@suse.de>
1257
1258 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
1259 gdb_test.
1260 * gdb.arch/amd64-disp-step.exp: Same.
1261 * gdb.asm/asm-source.exp: Same.
1262 * gdb.btrace/buffer-size.exp: Same.
1263 * gdb.btrace/cpu.exp: Same.
1264 * gdb.btrace/enable.exp: Same.
1265 * gdb.dwarf2/count.exp: Same.
1266 * gdb.dwarf2/dw2-ranges-func.exp: Same.
1267 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
1268 * gdb.fortran/vla-datatypes.exp: Same.
1269 * gdb.fortran/vla-history.exp: Same.
1270 * gdb.fortran/vla-ptype.exp: Same.
1271 * gdb.fortran/vla-value.exp: Same.
1272 * gdb.fortran/whatis_type.exp: Same.
1273 * gdb.guile/guile.exp: Same.
1274 * gdb.multi/tids.exp: Same.
1275 * gdb.python/py-finish-breakpoint.exp: Same.
1276 * gdb.python/py-framefilter.exp: Same.
1277 * gdb.python/py-pp-registration.exp: Same.
1278 * gdb.python/py-xmethods.exp: Same.
1279 * gdb.python/python.exp: Same.
1280 * gdb.server/connect-with-no-symbol-file.exp: Same.
1281 * gdb.server/no-thread-db.exp: Same.
1282 * gdb.server/run-without-local-binary.exp: Same.
1283 * gdb.stabs/weird.exp: Same.
1284 * gdb.threads/attach-many-short-lived-threads.exp: Same.
1285 * gdb.threads/thread-find.exp: Same.
1286 * gdb.threads/tls-shared.exp: Same.
1287 * gdb.threads/tls.exp: Same.
1288 * gdb.threads/wp-replication.exp: Same.
1289 * gdb.trace/ax.exp: Same.
1290 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
1291
3d11e68e
TV
12922019-10-31 Tom de Vries <tdevries@suse.de>
1293
1294 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
1295 * gdb.ada/array_subscript_addr.exp: Same.
1296 * gdb.ada/arrayidx.exp: Same.
1297 * gdb.ada/arrayparam.exp: Same.
1298 * gdb.ada/arrayptr.exp: Same.
1299 * gdb.ada/boolean_expr.exp: Same.
1300 * gdb.ada/call_pn.exp: Same.
1301 * gdb.ada/complete.exp: Same.
1302 * gdb.ada/fixed_cmp.exp: Same.
1303 * gdb.ada/fun_addr.exp: Same.
1304 * gdb.ada/funcall_param.exp: Same.
1305 * gdb.ada/interface.exp: Same.
1306 * gdb.ada/mod_from_name.exp: Same.
1307 * gdb.ada/null_array.exp: Same.
1308 * gdb.ada/packed_array.exp: Same.
1309 * gdb.ada/packed_tagged.exp: Same.
1310 * gdb.ada/print_chars.exp: Same.
1311 * gdb.ada/print_pc.exp: Same.
1312 * gdb.ada/ptype_arith_binop.exp: Same.
1313 * gdb.ada/ptype_field.exp: Same.
1314 * gdb.ada/ptype_tagged_param.exp: Same.
1315 * gdb.ada/rec_return.exp: Same.
1316 * gdb.ada/ref_tick_size.exp: Same.
1317 * gdb.ada/str_ref_cmp.exp: Same.
1318 * gdb.ada/taft_type.exp: Same.
1319 * gdb.ada/tagged.exp: Same.
1320 * gdb.ada/type_coercion.exp: Same.
1321 * gdb.ada/uninitialized_vars.exp: Same.
1322
60b6ede8
TV
13232019-10-30 Tom de Vries <tdevries@suse.de>
1324
1325 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
1326
30baf67b
TV
13272019-10-26 Tom de Vries <tdevries@suse.de>
1328
1329 * gdb.base/bigcore.c: Fix typos in comments.
1330 * gdb.base/ctf-ptype.c: Same.
1331 * gdb.base/long_long.c: Same.
1332 * gdb.dwarf2/dw2-op-out-param.S: Same.
1333 * gdb.python/py-evthreads.c: Same.
1334 * gdb.reverse/i387-stack-reverse.c: Same.
1335 * gdb.trace/tfile.c: Same.
1336 * lib/compiler.c: Same.
1337 * lib/compiler.cc: Same.
1338
158da0d1
TV
13392019-10-25 Tom de Vries <tdevries@suse.de>
1340
1341 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
1342 gdb_test_multiple calls.
1343 * gdb.reverse/sigall-reverse.exp: Same.
1344 * gdb.reverse/solib-precsave.exp: Same.
1345 * gdb.reverse/solib-reverse.exp: Same.
1346 * gdb.reverse/until-precsave.exp: Same.
1347 * gdb.reverse/until-reverse.exp: Same.
1348
4ccdfbec
TV
13492019-10-24 Tom de Vries <tdevries@suse.de>
1350
1351 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
1352 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
1353 kfail using -wrap pattern flag and convenience variable
1354 gdb_test_name.
1355
33d569b7
AB
13562019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
1357
1358 * gdb.python/py-progspace.exp: Add tests for the
1359 Progspace.block_for_pc method.
1360
4d0b984b
TT
13612019-10-23 Tom Tromey <tom@tromey.com>
1362
1363 * configure: Rebuild.
1364 * aclocal.m4: Use m4_include, not sinclude.
1365
94cb3754
TV
13662019-10-21 Tom de Vries <tdevries@suse.de>
1367
1368 * gdb.base/infcall-nested-structs.c: Add
1369 __attribute__((noinline,noclone)) to all functions.
1370 (call_all): Add missing variable initialization. Simplify return value.
1371 (breakpt): Increment volatile variable, to prevent call from being
1372 optimized out.
1373 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
1374
062f1fc1
TV
13752019-10-17 Tom de Vries <tdevries@suse.de>
1376
1377 * gdb.fortran/module.exp: Allow info variables to print info for files
1378 other than module.f90.
1379
0b54364d
AB
13802019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
1381
1382 * gdb.fortran/module.exp: Extend with 'info variables' test.
1383
7ff5fae7
AB
13842019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
1385
1386 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
1387 F77_FOR_TARGET.
1388
d10eccaa
TV
13892019-10-16 Tom de Vries <tdevries@suse.de>
1390
1391 PR tdep/25096
1392 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
1393
745ff14e
TV
13942019-10-16 Tom de Vries <tdevries@suse.de>
1395
1396 PR tdep/24104
1397 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
1398 Add KFAIL for PR tdep/25096.
1399
03e1ab94
TV
14002019-10-16 Tom de Vries <tdevries@suse.de>
1401
1402 PR testsuite/25059
1403 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
1404
b17fcc10
TV
14052019-10-16 Tom de Vries <tdevries@suse.de>
1406
1407 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
1408 as signed.
1409
9223170f
SM
14102019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
1411
1412 * gdb.mi/list-thread-groups-available.exp: Read entries one by
1413 one instead of increasing timeout.
1414
d6e76313
TV
14152019-10-13 Tom de Vries <tdevries@suse.de>
1416
1417 PR record/25038
1418 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
1419 * gdb.reverse/sigall-reverse.exp: Same.
1420 * gdb.reverse/solib-precsave.exp: Same.
1421 * gdb.reverse/solib-reverse.exp: Same.
1422 * gdb.reverse/step-precsave.exp: Same.
1423 * gdb.reverse/until-precsave.exp: Same.
1424 * gdb.reverse/until-reverse.exp: Same.
1425 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
1426
6dfc0041
AA
14272019-10-10 Andreas Arnez <arnez@linux.ibm.com>
1428
1429 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
1430 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
1431 (cmp_struct_05_01, cmp_struct_static_02_01)
1432 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
1433 comparisons.
1434
abcf2cc8
TV
14352019-10-10 Tom de Vries <tdevries@suse.de>
1436
1437 PR testsuite/24888
1438 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
1439 gnatlink.
1440
a50faaf6
TV
14412019-10-09 Tom de Vries <tdevries@suse.de>
1442
1443 PR testsuite/25048
1444 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
1445
60ff3cd7
AB
14462019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
1447
1448 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
1449 exceptions due to missing debug information.
1450
dfee8566
TV
14512019-10-07 Tom de Vries <tdevries@suse.de>
1452
1453 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
1454
3d63690a
AB
14552019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
1456
1457 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
1458 * gdb.base/annota1.exp: Update to use gdb_test_name.
1459
30d1f018
WP
14602019-10-07 Weimin Pan <weimin.pan@oracle.com>
1461
1462 * gdb.base/ctf-whatis.exp: New file.
1463 * gdb.base/ctf-whatis.c: New file.
1464 * gdb.base/ctf-ptype.exp: New file.
1465 * gdb.base/ctf-ptype.c: New file.
1466 * gdb.base/ctf-constvars.exp: New file.
1467 * gdb.base/ctf-constvars.c: New file.
1468 * gdb.base/ctf-cvexpr.exp: New file.
1469
4dbbb47c
TV
14702019-10-04 Tom de Vries <tdevries@suse.de>
1471
1472 * gdb.cp/local-static.c (main): Move declaration of int i out of the
1473 for loop.
1474
77c2dba3
TT
14752019-10-03 Tom Tromey <tom@tromey.com>
1476
1477 PR rust/24976:
1478 * gdb.rust/simple.rs (Union2): New type.
1479 (main): Use Union2.
1480 * gdb.rust/simple.exp: Add test.
1481
179aed7f
AB
14822019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1483
1484 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
1485 nested function prefix.
1486
0a4b0913
AB
14872019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
1488 Richard Bunt <richard.bunt@arm.com>
1489 Andrew Burgess <andrew.burgess@embecosm.com>
1490
1491 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
1492 nested functions.
1493 * gdb.fortran/nested-funcs.f90: Update expected results.
1494 * gdb.fortran/nested-funcs-2.exp: New file.
1495 * gdb.fortran/nested-funcs-2.f90: New file.
1496
082cce05
AB
14972019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1498
1499 * gdb.python/py-parameter.exp: Make test names unique.
1500 * gdb.python/py-template.exp: Likewise.
1501 * gdb.python/py-value.exp: Likewise.
1502
2b74ba5a
AB
15032019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1504
1505 * gdb.base/break-interp.exp: Reduce test name duplication.
1506 * gdb.base/call-sc.exp: Likewise.
1507 * gdb.base/callfuncs.exp: Likewise.
1508 * gdb.base/charset.exp: Likewise.
1509 * gdb.base/dump.exp: Likewise.
1510 * gdb.base/ena-dis-br.exp: Likewise.
1511 * gdb.base/relational.exp: Likewise.
1512 * gdb.base/step-over-syscall.exp: Likewise.
1513 * gdb.base/structs.exp: Likewise.
1514
58eb20d5
AB
15152019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1516
1517 * gdb.linespec/explicit.exp: Make test names unique.
1518 * gdb.linespec/ls-errs.exp: Likewise.
1519
4d421147
AB
15202019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1521
1522 * gdb.reverse/break-precsave.exp: Make test names unique.
1523 * gdb.reverse/break-reverse.exp: Likewise.
1524 * gdb.reverse/finish-precsave.exp: Likewise.
1525 * gdb.reverse/finish-reverse.exp: Likewise.
1526 * gdb.reverse/machinestate-precsave.exp: Likewise.
1527 * gdb.reverse/machinestate.exp: Likewise.
1528 * gdb.reverse/readv-reverse.exp: Likewise.
1529 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1530 * gdb.reverse/sigall-precsave.exp: Likewise.
1531 * gdb.reverse/sigall-reverse.exp: Likewise.
1532 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
1533 * gdb.reverse/watch-precsave.exp: Likewise.
1534 * gdb.reverse/watch-reverse.exp: Likewise.
1535
d8c06f22
AB
15362019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1537
1538 * gdb.threads/stop-with-handle.c: New file.
1539 * gdb.threads/stop-with-handle.exp: New file.
1540
3a56ed86
TV
15412019-10-03 Tom de Vries <tdevries@suse.de>
1542
1543 PR testsuite/25059
1544 * gdb.base/list-missing-source.exp: Allowing the "Compilation
1545 directory" line to be missing.
1546
42275044
TV
15472019-10-03 Tom de Vries <tdevries@suse.de>
1548
1549 PR testsuite/25059
1550 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
1551 type optional.
1552
9ef62df0
AA
15532019-10-02 Andreas Arnez <arnez@linux.ibm.com>
1554
1555 * gdb.python/py-format-string.c (string.h): New include.
1556 (main): Fill a_struct_with_union.the_union.an_int with bytes of
1557 the same value, for endianness-independence.
1558 * gdb.python/py-format-string.exp (default_regexp_dict)
1559 (test_pretty_structs, test_format): Adjust expected output to the
1560 changed initialization.
1561
37f6a7f4
TT
15622019-10-02 Tom Tromey <tromey@adacore.com>
1563
1564 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
1565
1d58d6a2
PA
15662019-10-02 Pedro Alves <palves@redhat.com>
1567 Andrew Burgess <andrew.burgess@embecosm.com>
1568
1569 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
1570 "print-file-var.h".
1571 (this_version_id) Use ATTRIBUTE_VISIBILITY.
1572 (get_version_1): Print this_version_id and its address.
1573 Add extern "C" wrappers around interface functions.
1574 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
1575 "print-file-var.h".
1576 (this_version_id) Use ATTRIBUTE_VISIBILITY.
1577 (get_version_2): Print this_version_id and its address.
1578 Add extern "C" wrappers around interface functions.
1579 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
1580 <stddef.h> and "print-file-var.h".
1581 Add extern "C" wrappers around interface functions.
1582 [VERSION_ID_MAIN] (this_version_id): Define.
1583 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
1584 * gdb.base/print-file-var.h: Add some #defines to simplify setting
1585 up extern "C" blocks.
1586 * gdb.base/print-file-var.exp (test): New, factored out from top
1587 level.
1588 (top level): Test all combinations of attribute hidden or not,
1589 dlopen or not, and this_version_id symbol in main file or not.
1590 Compile tests as both C++ and C, make test names unique.
1591
d770d56f
TT
15922019-10-01 Tom Tromey <tom@tromey.com>
1593
1594 * gdb.base/style.exp: Test "show logging filename".
1595
7f6aba03
TT
15962019-10-01 Tom Tromey <tom@tromey.com>
1597
1598 * lib/gdb-utils.exp (style): Handle "metadata" argument.
1599 * gdb.base/style.exp: Add metadata style test.
1600
14309bb6
TT
16012019-10-01 Tom Tromey <tom@tromey.com>
1602
1603 * gdb.base/style.exp: Test "pwd".
1604
2a3c1174
PA
16052019-10-01 Tom Tromey <tom@tromey.com>
1606
1607 * gdb.base/style.exp: Update tests.
1608
53d666ec
AA
16092019-10-01 Andreas Arnez <arnez@linux.ibm.com>
1610
1611 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
1612 'six' to unsigned.
1613 (s1): Initialize fields 'four' and 'six' instead of 'three' and
1614 'five'. Use an all-ones bit pattern for each.
1615 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
1616 to its changed values.
1617
4a56a520
TT
16182019-09-30 Tom Tromey <tromey@adacore.com>
1619
1620 * gdb.rust/traits.rs: Disable all warnings.
1621
0df0352a
TV
16222019-09-29 Tom de Vries <tdevries@suse.de>
1623
1624 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
1625
73d9a918
TV
16262019-09-29 Tom de Vries <tdevries@suse.de>
1627
1628 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
1629
060b3ab4
TV
16302019-09-27 Tom de Vries <tdevries@suse.de>
1631
1632 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
1633
68f7d34d
TV
16342019-09-27 Tom de Vries <tdevries@suse.de>
1635
1636 PR record/23188
1637 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
1638
5d63b30a
TT
16392019-09-26 Tom Tromey <tromey@adacore.com>
1640
1641 * gdb.ada/py_taft.exp: New file.
1642 * gdb.ada/py_taft/main.adb: New file.
1643 * gdb.ada/py_taft/pkg.adb: New file.
1644 * gdb.ada/py_taft/pkg.ads: New file.
1645
3d435220
TV
16462019-09-24 Tom de Vries <tdevries@suse.de>
1647
1648 PR gdb/24598
1649 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
1650
77d03678
TV
16512019-09-22 Tom de Vries <tdevries@suse.de>
1652
1653 * gdb.base/restore.exp: Allow register variables to be optimized out at
1654 -O0.
1655
abf516c6
UW
16562019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
1657
1658 * gdb.arch/spu-info.exp: Remove file.
1659 * gdb.arch/spu-info.c: Remove file.
1660 * gdb.arch/spu-ls.exp: Remove file.
1661 * gdb.arch/spu-ls.c: Remove file.
1662
1663 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
1664 * gdb.asm/spu.inc: Remove file.
1665
1666 * gdb.base/dump.exp: Remove support for spu*-*-*.
1667 * gdb.base/stack-checking.exp: Likewise.
1668 * gdb.base/overlays.exp: Likewise.
1669 * gdb.base/ovlymgr.c: Likewise.
1670 * gdb.base/spu.ld: Remove file.
1671
1672 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
1673 * gdb.cp/cpexprs.exp: Likewise.
1674 * gdb.cp/exception.exp: Likewise.
1675 * gdb.cp/gdb2495.exp: Likewise.
1676 * gdb.cp/mb-templates.exp: Likewise.
1677 * gdb.cp/pr9167.exp: Likewise.
1678 * gdb.cp/userdef.exp: Likewise.
1679
1680 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
1681
1682 * gdb.cell: Remove directory.
1683 * lib/cell.exp: Remove file.
1684
e452e88f
TV
16852019-09-19 Tom de Vries <tdevries@suse.de>
1686
1687 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
1688
8a625130
TV
16892019-09-19 Tom de Vries <tdevries@suse.de>
1690
1691 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
1692
81dc3ab5
TV
16932019-09-19 Tom de Vries <tdevries@suse.de>
1694
1695 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
1696 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
1697 (gdb_target_cmd): ... here.
1698 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
1699 value 2.
1700
b078f3ac
AB
17012019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
1702
1703 * gdb.base/source-dir.exp: Avoid having directory names in test
1704 names.
1705
f1b620e9
MG
17062019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
1707
1708 * gdb.base/source-dir.exp: Add extra test for mapped compilation
1709 directory.
1710
67f3ed6a
AB
17112019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
1712
1713 * gdb.base/list-missing-source.exp: New file.
1714
d1b70248
TV
17152019-09-14 Tom de Vries <tdevries@suse.de>
1716
1717 PR teststuite/24599
1718 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
1719 * lib/ada.exp (gnatmake_version_at_least): New proc.
1720
5fabdcd6
AB
17212019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
1722
1723 * gdb.base/maint.exp: Use exec_has_index_section.
1724
aa17805f
AB
17252019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
1726
1727 * gdb.base/maint.exp: Add test for 'maint info sections'.
1728
25e5c209
TV
17292019-09-12 Tom de Vries <tdevries@suse.de>
1730
1731 * gdb.base/store.exp: Allow register variables to be optimized out at
1732 -O0.
1733
4993045d
PW
17342019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1735
1736 * gdb.ada/rdv_wait.exp: Update to new task names.
1737 * gdb.base/task_switch_in_core.exp: Likewise.
1738 * gdb.base/info_sources_base.c: Likewise.
1739
8a516164
TT
17402019-09-10 Tom Tromey <tromey@adacore.com>
1741
1742 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
1743
aa391654
TT
17442019-09-10 Tom Tromey <tromey@adacore.com>
1745
1746 * gdb.ada/dgopt.exp: New file.
1747 * gdb.ada/dgopt/x.adb: New file.
1748
8634b462
TT
17492019-09-08 Tom Tromey <tom@tromey.com>
1750
1751 * gdb.tui/resize.exp: Remove setup_xfail.
1752 * gdb.tui/regs.exp: Remove setup_xfail.
1753 * gdb.tui/basic.exp: Remove setup_xfail.
1754
736b0f76
DB
17552019-09-06 David Blaikie <dblaikie@gmail.com>
1756
1757 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
1758 * gdb.cp/cplabel.exp: Ditto.
1759 * gdb.linespec/ls-errs.exp: Ditto.
1760
30331a6c
TV
17612019-09-05 Tom de Vries <tdevries@suse.de>
1762
1763 * lib/gdb.exp (cmp_file_string): New proc.
1764 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
1765 runto_main. Verify save breakpoints output.
1766
98b0ebab
PW
17672019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1768
1769 * gdb.base/info-var.exp: Test info variables without running
1770 to main, to avoid expect's buffer overflow.
1771
4e962e74
TT
17722019-09-03 Tom Tromey <tromey@adacore.com>
1773
1774 * gdb.ada/bias.exp: New file.
1775 * gdb.ada/bias/bias.adb: New file.
1776 * gdb.ada/print_chars.exp: Add regression test.
1777 * gdb.ada/print_chars/foo.adb (My_Character): New type.
1778 (MC): New variable.
1779
2ea1a07a
SL
17802019-08-29 Sandra Loosemore <sandra@codesourcery.com>
1781
1782 * gdb.base/argv0-symlink.exp: Run only on native target
1783 and local host.
1784
8077c50d
TV
17852019-08-29 Tom de Vries <tdevries@suse.de>
1786
1787 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
1788 diverse debug info.
1789 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
1790
48352473
TV
17912019-08-28 Tom de Vries <tdevries@suse.de>
1792
1793 * gdb.base/info-var.exp: Allow info variables to print info for files
1794 other than info-var-f1.c and info-var-f2.c.
1795
d8f27c60
AB
17962019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
1797
1798 * gdb.fortran/info-types.exp: Add module.
1799 * gdb.fortran/info-types.f90: Update expected results.
1800
1f20c35e
AB
18012019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
1802
1803 * gdb.fortran/info-types.exp: New file.
1804 * gdb.fortran/info-types.f90: New file.
1805 * lib/fortran.exp (fortran_character1): New proc.
1806
4acfdd20
AB
18072019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
1808
1809 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
1810 functions'. Reindent as needed.
1811 * gdb.base/info-var-f1.c: New file.
1812 * gdb.base/info-var-f2.c: New file.
1813 * gdb.base/info-var.exp: New file.
1814 * gdb.base/info-var.h: New file.
1815
5c31b358
TV
18162019-08-26 Tom de Vries <tdevries@suse.de>
1817
1818 PR c++/24852
1819 * gdb.cp/no-libstdcxx-probe.exp: New test.
1820
b694989f
TV
18212019-08-26 Tom de Vries <tdevries@suse.de>
1822
1823 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
1824 * tests need to be skipped.
1825 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
1826 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
1827 mi_skip_libstdcxx_probe_tests.
1828
d9c4ba53
SDJ
18292019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
1830
1831 * gdb.python/py-xmethods.exp: Use raw strings when passing
1832 arguments to SimpleXMethodMatcher.
1833
395fad09
TV
18342019-08-22 Tom de Vries <tdevries@suse.de>
1835
1836 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
1837 more informative.
1838
26c957f1
PA
18392019-08-21 Pedro Alves <palves@redhat.com>
1840
1841 * gdb.base/with.exp: Test "with" with no arguments.
1842
61f80d5d
TV
18432019-08-21 Tom de Vries <tdevries@suse.de>
1844
1845 * gdb.base/gdb-caching-proc.exp: Sort files.
1846
d7a11d13
TV
18472019-08-20 Tom de Vries <tdevries@suse.de>
1848
1849 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
1850 compilation.
1851
34dafe9f
TV
18522019-08-16 Tom de Vries <tdevries@suse.de>
1853
1854 * gdb.base/compare-sections.exp ("after run to main"): Allow
1855 mismatched read-only sections for PIE executables.
1856
398fdd60
TT
18572019-08-16 Tom Tromey <tom@tromey.com>
1858
1859 * lib/tuiterm.exp (_csi_Z): New proc.
1860 * gdb.tui/basic.exp: Update window positions.
1861 * gdb.tui/empty.exp: Update window positions.
1862
d8f9e51c
SL
18632019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1864
1865 * gdb.base/examine-backward.exp: Correct regexp for
1866 "examine 3 bytes backward from ${address_zero}".
1867
3df505f6
TT
18682019-08-15 Tom Tromey <tom@tromey.com>
1869
1870 * gdb.tui/empty.exp: Enable resizing tests.
1871
272560b5
TT
18722019-08-15 Tom Tromey <tromey@adacore.com>
1873
1874 * gdb.ada/char_enum.exp: Add regression tests.
1875 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
1876 and '0'.
1877 (Char, Gchar): Update.
1878 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
1879
08235187
CB
18802019-08-15 Christian Biesinger <cbiesinger@google.com>
1881
1882 * gdb.python/python.exp: Expect a leading underscore on
1883 GdbOutput{,Error}File.
1884
22a2ab04
SL
18852019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1886
1887 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
1888 Windows host.
1889
835b995b
SL
18902019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1891
1892 * gdb.base/batch-preserve-term-settings.exp
1893 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
1894
97dd8e07
CB
18952019-08-15 Christian Biesinger <cbiesinger@google.com>
1896
1897 * lib/gdb.exp: When running on a mingw target, replace
1898 /x/ with x:/.
1899
75faf5c4
AH
19002019-08-14 Alan Hayward <alan.hayward@arm.com>
1901
1902 * gdb.arch/aarch64-prologue.c: New test.
1903 * gdb.arch/aarch64-prologue.exp: New file.
1904
abc6c00f
TV
19052019-08-13 Tom de Vries <tdevries@suse.de>
1906
1907 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
1908 Thread.
1909
74c2c1f4
SL
19102019-08-13 Sandra Loosemore <sandra@codesourcery.com>
1911
1912 * gdb.python/py-completion.exp: Download the .py file to the host
1913 and use its host pathname. Conditionalize tests that use
1914 tab completion and manipulate files on the build machine.
1915 * gdb.python/py-events.exp: Download the .py file to the host
1916 and use its host pathname.
1917 * gdb.python/py-evsignal.exp: Likewise.
1918 * gdb.python/py-evthreads.exp: Likewise.
1919 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
1920 pathname syntax.
1921 * gdb.python/py-framefilter.exp: Download the .py file to the right
1922 place on the host. Match Windows pathname syntax.
1923 * gdb.python/py-mi-var-info-path-expression.exp: Download the
1924 .py file to the host and use its host pathname.
1925 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
1926 * gdb.python/py-objfile.exp: Expect a host pathname, not a
1927 build pathname. Skip symlink test on Windows host. Add missing
1928 newline at end of file.
1929 * gdb.python/py-pp-maint.exp: Download the .py file to the host
1930 and use its host pathname.
1931 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
1932 * gdb.python/py-section-script.exp: Use host location of binfile
1933 on safe-path. Use correct path separator on Windows host.
1934 Reorder alternatives in gdb_test_multiple to prevent matching
1935 the wrong alternative on success.
1936 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
1937
ca2589f3
PP
19382019-08-12 Patrick Palka <patrick@parcs.ath.cx>
1939
1940 * gdb.gdb/selftest.exp (test_with_self): Update test to now
1941 expect the GDB inferior to no longer immediately stop after
1942 being resumed with "signal SIGINT".
1943
020a839d
SL
19442019-08-09 Sandra Loosemore <sandra@codesourcery.com>
1945
1946 * gdb.linespec/break-ask.exp: Generalize regexps to match
1947 Windows pathnames too.
1948
128d6509
TV
19492019-08-08 Tom de Vries <tdevries@suse.de>
1950
1951 PR testsuite/24862
1952 * lib/tuiterm.exp (_accept): Fix CSI regexp.
1953
590042fc
PW
19542019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1955
1956 * gdb.base/style.exp: Update tests for help doc new invariants.
1957 * gdb.base/help.exp: Likewise.
1958
046bebe1
TT
19592019-08-06 Tom Tromey <tom@tromey.com>
1960
1961 * gdb.base/style.exp: Add disassemble test.
1962 * gdb.base/style.c (some_called_function): New function.
1963 (main): Use it.
1964
0b27c27d
CB
19652019-08-05 Christian Biesinger <cbiesinger@google.com>
1966
1967 * gdb.python/py-block.exp: Test dictionary access on blocks.
1968
580f1034
SM
19692019-08-05 Simon Marchi <simon.marchi@efficios.com>
1970
1971 PR gdb/24863
1972 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
1973 -list-thread-groups --available test when running under
1974 check-read1.
1975
d86bd7cb
TV
19762019-08-05 Tom de Vries <tdevries@suse.de>
1977
1978 PR testsuite/24863
1979 * lib/gdb.exp (with_read1_timeout_factor): New proc.
1980 * gdb.base/help.exp: Use with_read1_timeout_factor.
1981 * gdb.base/info-macros.exp: Same.
1982 * gdb.cp/nested-types.exp: Same.
1983
a80cf5d8
TV
19842019-08-05 Tom de Vries <tdevries@suse.de>
1985
1986 * lib/gdb.exp (version_at_least): Factor out of ...
1987 (tcl_version_at_least): ... here.
1988 (gdb_compile): Fail if pie results in non-PIE executable.
1989 (readelf_version, readelf_prints_pie): New proc.
1990 (exec_is_pie): Return -1 if unknown.
1991
d0962838
TV
19922019-08-05 Tom de Vries <tdevries@suse.de>
1993
1994 * lib/gdb.exp (tcl_version_at_least): Fix typo.
1995
2252ff3d
SL
19962019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1997
1998 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
1999
26655f53
SL
20002019-08-04 Sandra Loosemore <sandra@codesourcery.com>
2001
2002 * lib/completion-support.exp (test_gdb_complete_none): Skip
2003 tab completion tests if no readline support.
2004 (test_gdb_complete_unique_re): Likewise.
2005 (test_gdb_complete_multiple): Likewise.
2006
db4dc13e
PW
20072019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2008
2009 * gdb.base/info_sources.exp: New file.
2010 * gdb.base/info_sources.c: New file.
2011 * gdb.base/info_sources_base.c: New file.
2012
0eba165a
PFC
20132019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2014
2015 * gdb.base/batch-exit-status.exp: Call test_exit_status with
2016 prefix argument.
2017 (test_exit_status): Add prefix argument.
2018
59bd512b
TV
20192019-08-01 Tom de Vries <tdevries@suse.de>
2020
2021 PR testsuite/24863
2022 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
2023 calling exp_continue for new thread and thread exited messages.
2024
2a3ad588
TV
20252019-08-01 Tom de Vries <tdevries@suse.de>
2026
2027 PR testsuite/24863
2028 * gdb.base/structs.exp: Fix check-read1 timeout using
2029 gdb_test_sequence.
2030 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
2031
117eb594
TV
20322019-08-01 Tom de Vries <tdevries@suse.de>
2033
2034 PR testsuite/24863
2035 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
2036 line.
2037
ed591340
TV
20382019-08-01 Tom de Vries <tdevries@suse.de>
2039
2040 PR testsuite/24863
2041 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
2042
aa3b6533
TT
20432019-07-30 Tom Tromey <tromey@adacore.com>
2044
2045 * gdb.ada/display_nested.exp: New file.
2046 * gdb.ada/display_nested/foo.adb: New file.
2047 * gdb.ada/display_nested/pack.adb: New file.
2048 * gdb.ada/display_nested/pack.ads: New file.
2049
2906593f
CB
20502019-07-30 Christian Biesinger <cbiesinger@google.com>
2051
2052 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
2053 namespace.
2054 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
2055
0f575925
TV
20562019-07-30 Tom de Vries <tdevries@suse.de>
2057
2058 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
2059 instead.
2060
b13057d9
TV
20612019-07-30 Tom de Vries <tdevries@suse.de>
2062
2063 PR testsuite/24834
2064 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
2065 (exec_is_pie): New proc.
2066
5c4dde85
CB
20672019-07-29 Christian Biesinger <cbiesinger@google.com>
2068
2069 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
2070
c620ed88
CB
20712019-07-29 Christian Biesinger <cbiesinger@google.com>
2072
2073 * gdb.python/py-objfile.c: Add global and static vars.
2074 * gdb.python/py-objfile.exp: Test new functions Objfile.
2075 lookup_global_symbol and lookup_static_symbol.
2076
3d235706
TT
20772019-07-29 Tom Tromey <tom@tromey.com>
2078
2079 * lib/tuiterm.exp (Term::_csi_@): New proc.
2080 (Term::_csi_X): Don't move cursor.
2081
c7e4c0a6
PW
20822019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2083
2084 * gdb.base/options.exp: Update backtrace - completion to
2085 new option -frame-info.
2086 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
2087 Test new 'set print frame-info'. Test backtrace -frame-info
2088 overriding 'set print frame-info'.
2089 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
2090 Test new 'set print frame-info'.
2091 Verify consistency of backtrace with and without filters, with and
2092 without -no-filters.
2093 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
2094 default.
2095
de28a3b7
TV
20962019-07-29 Tom de Vries <tdevries@suse.de>
2097
2098 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
2099 no arguments".
2100
507dd60e
TV
21012019-07-29 Tom de Vries <tdevries@suse.de>
2102
2103 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
2104 is a substring of the first for "complete non-unique file name".
2105
5beafce9
TV
21062019-07-29 Tom de Vries <tdevries@suse.de>
2107
2108 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
2109 with ".*".
2110
2d274232
TV
21112019-07-29 Tom de Vries <tdevries@suse.de>
2112
2113 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
2114 Pass prompt_regexp parameter to gdb_test_multiple calls.
2115
9197cd8b
TV
21162019-07-29 Tom de Vries <tdevries@suse.de>
2117
2118 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
2119 print registers" regexps.
2120
b528dae0
TV
21212019-07-29 Tom de Vries <tdevries@suse.de>
2122
2123 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
2124
d17725d7
TV
21252019-07-29 Tom de Vries <tdevries@suse.de>
2126
2127 PR gdb/24855
2128 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
2129 (skip_python_tests_prompt): Add prompt_regexp argument to
2130 gdb_test_multiple calls.
2131
52b75bf1
TT
21322019-07-27 Tom Tromey <tom@tromey.com>
2133
2134 * gdb.tui/main.exp: New file.
2135
2b1d00c2
TT
21362019-07-27 Tom Tromey <tom@tromey.com>
2137
2138 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
2139 optional.
2140 * gdb.tui/empty.exp: New file.
2141
ded631d5
TT
21422019-07-27 Tom Tromey <tom@tromey.com>
2143
2144 * lib/tuiterm.exp (spawn): New proc.
2145 (Term::resize): New proc.
2146 * gdb.tui/resize.exp: New file.
2147
58ac439d
TT
21482019-07-27 Tom Tromey <tom@tromey.com>
2149
2150 * gdb.tui/list.exp: New file.
2151
fe1f56ee
TT
21522019-07-27 Tom Tromey <tom@tromey.com>
2153
2154 * gdb.tui/regs.exp: New file.
2155
f790b310
TT
21562019-07-27 Tom Tromey <tom@tromey.com>
2157
2158 * gdb.tui/basic.exp: Add "layout split" test.
2159
d95fc6ee
TT
21602019-07-27 Tom Tromey <tom@tromey.com>
2161
2162 * gdb.tui/basic.exp: Add "layout asm" test.
2163
c3786b3a
TT
21642019-07-27 Tom Tromey <tom@tromey.com>
2165
2166 * lib/tuiterm.exp: New file.
2167 * gdb.tui/basic.exp: New file.
2168
98a617f8
KB
21692019-07-27 Kevin Buettner <kevinb@redhat.com>
2170
2171 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
2172 Enable tests associated with this flag. Adjust regex
2173 referencing "foo_low" to now refer to "foo_cold" instead.
2174
5c076da4
KB
21752019-07-27 Kevin Buettner <kevinb@redhat.com>
2176
2177 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
2178 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
2179 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
2180 foo_cold. Revise comments to match.
2181 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
2182 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
2183 were wrapped into this proc; Call do_test in loop from outermost
2184 level.
2185 (foo_low): Rename all occurrences to "foo_cold".
2186 (backtrace from baz): New test.
2187 (x2/i foo_cold): New test.
2188 (info line *foo_cold): New test.
2189
1512d3b7
TV
21902019-07-26 Tom de Vries <tdevries@suse.de>
2191
2192 * gdb.arch/i386-pkru.exp: Fix unterminated string.
2193
297989a1
TV
21942019-07-25 Tom de Vries <tdevries@suse.de>
2195
2196 PR testsuite/24830
2197 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
2198 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
2199 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
2200 (skip_libstdcxx_probe_tests): ... here.
2201 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
2202
b3b965fb
TV
22032019-07-24 Tom de Vries <tdevries@suse.de>
2204
2205 PR testsuite/24807
2206 * gdb.objc/basicclass.m: Include stdio.h.
2207 * gdb.objc/nondebug.m: Same.
2208 * gdb.objc/objcdecode.m: Same.
2209
4625b4d0
TV
22102019-07-24 Tom de Vries <tdevries@suse.de>
2211
2212 PR testsuite/24612
2213 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
2214 additional_flags.
2215
024a5840
TV
22162019-07-24 Tom de Vries <tdevries@suse.de>
2217
2218 PR testsuite/24831
2219 * gdb.multi/tids.exp: Update error messages for info threads.
2220
c76ddaa3
TV
22212019-07-24 Tom de Vries <tdevries@suse.de>
2222
2223 * gdb.base/info-types.exp: Allow info types to print info for more than
2224 one file.
2225
9a618ef6
TV
22262019-07-23 Tom de Vries <tdevries@suse.de>
2227
2228 PR testsuite/24842
2229 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
2230 gdb_spawn_with_cmdline_opts.
2231
40eadf04
SP
22322019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
2233
2234 * gdb.arch/arm-cmse-sgstubs.c: New test.
2235 * gdb.arch/arm-cmse-sgstubs.exp: New file.
2236
5ba29434
TV
22372019-07-23 Tom de Vries <tdevries@suse.de>
2238
2239 PR testsuite/24711
2240 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
2241 issuing next command.
2242
a8e9d247
AB
22432019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
2244
2245 * gdb.ada/info_auto_lang.exp: Update expected results.
2246 * gdb.base/info-types.c: Add additional types to check.
2247 * gdb.base/info-types.exp: Update expected results.
2248
eb86c5e2
AB
22492019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
2250
2251 * gdb.base/info-types.c: New file.
2252 * gdb.base/info-types.exp: New file.
2253
01e175fe
AB
22542019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
2255
2256 * gdb.arch/riscv-bp-infcall.c: New file.
2257 * gdb.arch/riscv-bp-infcall.exp: New file.
2258
6b78c3f8
AB
22592019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
2260
2261 PR breakpoints/24541
2262 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
2263
da738167
TV
22642019-07-14 Tom de Vries <tdevries@suse.de>
2265
2266 PR testsuite/24760
2267 * gdb.objc/basicclass.exp: Fix unterminated string.
2268
0d4e84ed
AB
22692019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
2270 Andrew Burgess <andrew.burgess@embecosm.com>
2271
2272 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
2273 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
2274 negative bounds.
2275 * gdb.fortran/vla-value.exp: Print elements of an array with
2276 negative bounds.
2277 * gdb.fortran/vla.f90: Setup an array with negative bounds for
2278 testing.
2279
021d8588
AB
22802019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
2281
2282 * gdb.base/options.exp (expect_string): Dequote strings in
2283 results.
2284 (test-string): Test strings with different quoting and reindent.
2285
f06f1252
TT
22862019-07-10 Tom Tromey <tromey@adacore.com>
2287
2288 * gdb.ada/mi_ex_cond.exp: Update expected results.
2289 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
2290 * gdb.ada/mi_catch_ex.exp: Update expected results.
2291 * gdb.ada/mi_catch_assert.exp: Update expected results.
2292 * gdb.ada/catch_ex.exp (catch_exception_info)
2293 (catch_exception_entry, catch_assert_entry)
2294 (catch_unhandled_entry): Update.
2295 * gdb.ada/catch_assert_if.exp: Update expected results.
2296
b863685d
RB
22972019-07-10 Richard Bunt <richard.bunt@arm.com>
2298 Stephen Roberts <stephen.roberts@arm.com>
2299
2300 * gdb.base/define.exp: Restore original prompt.
2301
cb1e4e32
PA
23022019-07-09 Pedro Alves <palves@redhat.com>
2303
2304 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
2305 breakpoints" output.
2306 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
2307 * gdb.python/py-breakpoint.exp: No longer expect that "catch
2308 throw" creates breakpoint.
2309 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
2310 'type="catchpoint"'.
2311
b58a68fe
PA
23122019-07-09 Pedro Alves <palves@redhat.com>
2313
2314 PR c++/15468
2315 * gdb.cp/except-multi-location-lib.cc: New.
2316 * gdb.cp/except-multi-location-main.cc: New.
2317 * gdb.cp/except-multi-location.exp: New.
2318
0826779b
PW
23192019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
2320
2321 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
2322 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
2323 argument and update callers.
2324
5b0e2db4
AB
23252019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2326
2327 * gdb.arch/amd64-break-on-asm-line.S: New file.
2328 * gdb.arch/amd64-break-on-asm-line.exp: New file.
2329
1f6f6e21
PW
23302019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2331
2332 * gdb.base/printcmds.exp: Test printing C string and
2333 C wide string convenience vars without transiting via the inferior.
2334 Also make test names unique.
2335
ea142fbf
AH
23362019-07-08 Alan Hayward <alan.hayward@arm.com>
2337
5862c886 2338 PR breakpoints/25011
ea142fbf
AH
2339 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
2340
213fd9fa
PA
23412019-07-04 Pedro Alves <palves@redhat.com>
2342
2343 * lib/gdb.exp (foreach_with_prefix): Don't return early if
2344 body returned ok(0), break(3) or continue(4).
2345 * gdb.testsuite/foreach_with_prefix.exp: New file.
2346
2b40fda7
AH
23472019-07-04 Alan Hayward <alan.hayward@arm.com>
2348
2349 * gdb.server/unittest.exp: Allow 0 unit tests to run.
2350
a26c8de0
PA
23512019-07-03 Pedro Alves <palves@redhat.com>
2352
2353 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
2354 "return -code".
2355
5f4ba3e7
PA
23562019-07-03 Pedro Alves <palves@redhat.com>
2357
2358 PR cli/24732
2359 * gdb.base/shell.exp: Load completion-support.exp.
2360 Adjust expected error output. Add completion tests.
2361
a994424f
PA
23622019-07-03 Pedro Alves <palves@redhat.com>
2363
2364 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
2365 string_to_regexp.
2366
3d9be6f5
PA
23672019-07-03 Pedro Alves <palves@redhat.com>
2368
2369 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
2370 (expect_integer): Adjust to expect "-string".
2371 (expect_string): New.
2372 (all_options): Expect "-string".
2373 (test-flag, test-boolean): Adjust to expect "-string".
2374 (test-string): New proc.
2375 (top level): Call it.
2376
41fc454c
PA
23772019-07-03 Pedro Alves <palves@redhat.com>
2378
2379 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
2380 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
2381 the expected output in the success.
2382
b2b2a215
PA
23832019-07-03 Pedro Alves <palves@redhat.com>
2384
2385 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
2386 Split one gdb_test_multiple call in two to avoid a race.
2387
fdbc9870
PA
23882019-07-03 Pedro Alves <palves@redhat.com>
2389
2390 * gdb.base/with.c: New file.
2391 * gdb.base/with.exp: New file.
2392
c6ac8931
PA
23932019-07-03 Pedro Alves <palves@redhat.com>
2394
2395 * gdb.base/settings.exp: Replace all references to "maint
2396 test-settings set" with references to "maint set test-settings",
2397 and all references to "maint test-settings show" with references
2398 to "maint show test-settings".
2399
970f9d09
PA
24002019-07-03 Pedro Alves <palves@redhat.com>
2401
2402 * gdb.base/settings.exp (test-string): Adjust expected out when
2403 testing "maint test-settings show filename"
2404
54d66006
PA
24052019-07-02 Pedro Alves <palves@redhat.com>
2406
2407 * gdb.base/options.exp (test-info-threads): New procedure.
2408 (top level): Call it.
2409
10d06d82
TT
24102019-06-28 Tom Tromey <tromey@adacore.com>
2411
2412 * gdb.dwarf2/ada-linkage-name.c: New file.
2413 * gdb.dwarf2/ada-linkage-name.exp: New file.
2414
3d507ff2
TT
24152019-06-27 Tom Tromey <tromey@adacore.com>
2416
d039f014 2417 PR c++/20020:
3d507ff2
TT
2418 * gdb.cp/constexpr-field.exp: Use setup_xfail.
2419
8af58ffe
TV
24202019-06-26 Tom de Vries <tdevries@suse.de>
2421
2422 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
2423
22e21752
TV
24242019-06-26 Tom de Vries <tdevries@suse.de>
2425
2426 * gdb.base/index-cache.exp: Add back missing debug option.
2427
b65b566c
PW
24282019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2429
2430 * gdb.base/alias.exp: Test non matching/non existing prefixes.
2431
5c2c8c69
TV
24322019-06-25 Tom de Vries <tdevries@suse.de>
2433
2434 PR testsuite/24727
2435 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
2436
164e3873
TV
24372019-06-24 Tom de Vries <tdevries@suse.de>
2438
2439 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
2440
824eacee
TV
24412019-06-24 Tom de Vries <tdevries@suse.de>
2442
2443 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
2444 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
2445 * gdb.trace/unavailable-dwarf-piece.exp: Same.
2446
385b97d3
TV
24472019-06-24 Tom de Vries <tdevries@suse.de>
2448
2449 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
2450
c596f180
TV
24512019-06-21 Tom de Vries <tdevries@suse.de>
2452
2453 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
2454
b13a7d03
TV
24552019-06-21 Tom de Vries <tdevries@suse.de>
2456
2457 PR testsuite/24518
2458 PR ada/24713
2459 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
2460 index.
2461
899277ae
TT
24622019-06-19 Tom Tromey <tromey@adacore.com>
2463
2464 * gdb.ada/length_cond.exp: Add intro comment.
2465
680e1bee
TT
24662019-06-19 Tom Tromey <tromey@adacore.com>
2467
2468 * gdb.ada/length_cond.exp: New file.
2469 * gdb.ada/length_cond/length_cond.adb: New file.
2470 * gdb.ada/length_cond/pck.adb: New file.
2471 * gdb.ada/length_cond/pck.ads: New file.
2472
0ed4690a
TV
24732019-06-18 Tom de Vries <tdevries@suse.de>
2474
2475 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
2476
d20ed5fd
TT
24772019-06-18 Tom Tromey <tromey@adacore.com>
2478
2479 * gdb.base/list0.h: Add comment explaining control character.
2480
86e04673
TV
24812019-06-18 Tom de Vries <tdevries@suse.de>
2482
2483 * boards/fission.exp: Break up long debug_flags line.
2484
c4973306
SM
24852019-06-16 Tom de Vries <tdevries@suse.de>
2486
2487 PR gdb/24445
2488 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
2489 generated index.
2490
93cb9841
AB
24912019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
2492
2493 PR gdb/24686
2494 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
2495 improve detection of bug gdb/24541.
2496
399aaebd
SM
24972019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
2498
2499 PR gdb/24669
2500 * gdb.base/index-cache.exp (uses_readnow,
2501 expecting_index_cache_use): Define global variable.
2502 (test_cache_enabled_miss, test_cache_enabled_hit): Use
2503 expecting_index_cache_use.
2504
584a927c
AB
25052019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
2506 Andrew Burgess <andrew.burgess@embecosm.com>
2507
2508 * gdb.fortran/pointers.f90: New file.
2509 * gdb.fortran/print_type.exp: New file.
2510 * gdb.fortran/vla-ptype.exp: Adapt expected results.
2511 * gdb.fortran/vla-type.exp: Likewise.
2512 * gdb.fortran/vla-value.exp: Likewise.
2513 * gdb.mi/mi-vla-fortran.exp: Likewise.
2514
30056ea0
AB
25152019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2516
2517 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
2518 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
2519 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
2520 as a stop reason.
2521
ec8e2b6d
AB
25222019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2523
2524 * gdb.base/annota1.exp: Update expected results.
2525 * gdb.cp/annota2.exp: Likewise.
2526 * gdb.cp/annota3.exp: Likewise.
2527
09e4c4e1
AB
25282019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2529
2530 * gdb.base/style-logging.exp: Remove path from test name.
2531
0735b091
TT
25322019-06-14 Tom Tromey <tromey@adacore.com>
2533
2534 PR gdb/24502:
2535 * gdb.base/style-logging.exp: New file.
2536
f5686554
TT
25372019-06-14 Tom Tromey <tromey@adacore.com>
2538
2539 * gdb.base/symfile-warn.exp: New file.
2540 * gdb.base/symfile-warn.c: New file.
2541
a0c1ffed
TT
25422019-06-14 Tom Tromey <tromey@adacore.com>
2543
2544 * gdb.base/annotate-symlink.exp: New file.
2545
f411722c
TT
25462019-06-14 Tom Tromey <tromey@adacore.com>
2547
2548 * gdb.ada/set_wstr.exp: Add reassignment test.
2549
4268ec18
TT
25502019-06-14 Tom Tromey <tromey@adacore.com>
2551
2552 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
2553 'unchecked_access and 'unrestricted_access as well.
2554
9a9e394b
TT
25552019-06-14 Tom Tromey <tromey@adacore.com>
2556
2557 PR ada/24539:
2558 * gdb.ada/vla.exp: Update tests.
2559 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
2560 pragma.
2561
4c048731
PA
25622019-06-13 Pedro Alves <palves@redhat.com>
2563
2564 * gdb.base/settings.exp (test-integer): Test junk after
2565 "unlimited".
2566
6665660a
PA
25672019-06-13 Pedro Alves <palves@redhat.com>
2568
2569 * gdb.base/options.exp (test-thread-apply): New.
2570 (top level): Call it.
2571
5d707134
PA
25722019-06-13 Pedro Alves <palves@redhat.com>
2573
2574 * gdb.base/options.exp (test-frame-apply): New.
2575 (top level): Test print commands with different "frame apply"
2576 prefixes.
2577
e2a689da
PA
25782019-06-13 Pedro Alves <palves@redhat.com>
2579
e79be6e5 2580 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
2581 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
2582 'max_completions' parameter and handle it.
2583 (test_gdb_completion_offers_commands): New.
2584
90a1ef87
PA
25852019-06-13 Pedro Alves <palves@redhat.com>
2586
2587 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
2588
d4c16835
PA
25892019-06-13 Pedro Alves <palves@redhat.com>
2590
2591 * gdb.base/options.exp (test-backtrace): New.
2592 (top level): Call it.
2593
2daf894e
PA
25942019-06-13 Pedro Alves <palves@redhat.com>
2595
2596 * gdb.guile/scm-frame-args.exp: Use "set print
2597 raw-frame-arguments" instead of "set print raw frame-arguments".
2598 * gdb.python/py-frame-args.exp: Likewise.
2599
e6ed716c
PA
26002019-06-13 Pedro Alves <palves@redhat.com>
2601
2602 * gdb.compile/compile.exp: Adjust expected output to option
2603 processing changes.
2604
7d8062de
PA
26052019-06-13 Pedro Alves <palves@redhat.com>
2606
2607 * gdb.base/options.exp: Build executable.
2608 (test-print): New procedure.
2609 (top level): Call it, once for "print" and another for "compile
2610 print".
2611
9d0faba9
PA
26122019-06-13 Pedro Alves <palves@redhat.com>
2613
2614 * gdb.base/options.c: New file.
2615 * gdb.base/options.exp: New file.
2616
dee7b4c8
PA
26172019-06-13 Pedro Alves <palves@redhat.com>
2618
2619 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
2620 that "o" is ambiguous.
2621
dca0f6c0
PA
26222019-06-13 Pedro Alves <palves@redhat.com>
2623
2624 * gdb.base/settings.c: New file.
2625 * gdb.base/settings.exp: New file.
2626
ccf46844
PA
26272019-06-13 Pedro Alves <palves@redhat.com>
2628
2629 * gdb.base/completion.exp: Fix comment typo.
2630
b9a3f842
PA
26312019-06-13 Pedro Alves <palves@redhat.com>
2632
2633 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
2634 foo --1" test.
2635
d106773e
PA
26362019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
2637
2638 * gdb.fortran/block-data.f: New.
2639 * gdb.fortran/block-data.exp: New.
2640
fea82da0
TV
26412019-06-11 Tom de Vries <tdevries@suse.de>
2642
2643 PR testsuite/24521
2644 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
2645 message.
2646
8c2e74f1
TV
26472019-06-11 Tom de Vries <tdevries@suse.de>
2648
2649 PR testsuite/24521
2650 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
2651
b49851c8
TV
26522019-06-11 Tom de Vries <tdevries@suse.de>
2653
2654 * boards/readnow.exp: New file.
2655
a7067863
AB
26562019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
2657
2658 * gdb.fortran/vla-sizeof.exp: Update expected results.
2659
1a3da2cd
AB
26602019-06-06 Amos Bird <amosbird@gmail.com>
2661
2662 * gdb.base/annota1.exp (thread_switch): Add test for
2663 thread-exited annotation.
2664
3847a7bf
TT
26652019-06-06 Tom Tromey <tromey@adacore.com>
2666
2667 * gdb.base/maint.exp: Expect command started/finished output.
2668
0088ba59
AB
26692019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
2670
2671 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
2672 comment.
2673 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
2674
312617a3
AB
26752019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
2676
2677 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
2678 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
2679 * gdb.arch/riscv-unwind-long-insn.c: New file.
2680 * gdb.arch/riscv-unwind-long-insn.exp: New file.
2681
e1f2e1a2
CB
26822019-06-04 Christian Biesinger <cbiesinger@google.com>
2683
d3238f7d 2684 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 2685
206584bd
PW
26862019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2687
2688 * lib/gdb.exp (help_list_trailer): New regexp variable
2689 factorizing the help trailer message.
2690 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
2691 arg to allow to better factorize various tests.
2692 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
2693 (test_prefix_command_help): Use help_list_trailer.
2694 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
2695 * gdb.guile/scm-cmd.exp: Likewise.
2696 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
2697 * gdb.base/help.exp: Use test_user_defined_class_help.
2698 * gdb.base/style.exp: Add tests for styling of help and apropos.
2699 * lib/gdb-utils.exp (style): Add title and highlight styles.
2700
708dc93e
PW
27012019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2702
2703 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
2704 $_shell_exitsignal.
2705 * gdb.base/default.exp: Update for new convenience variables.
2706
f49055a5
TT
27072019-05-29 Tom Tromey <tromey@adacore.com>
2708
2709 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
2710 to "break complete ada" test case's regexp.
2711
4330d61d
TT
27122019-05-29 Tom Tromey <tromey@adacore.com>
2713
2714 PR c++/20020:
2715 * gdb.cp/constexpr-field.exp: New file.
2716 * gdb.cp/constexpr-field.cc: New file.
2717
000439d5
TT
27182019-05-29 Tom Tromey <tromey@adacore.com>
2719
2720 * gdb.base/finish.exp (finish_no_print): New proc.
2721 (finish_tests): Call it.
2722
5a01c34c
TV
27232019-05-24 Tom de Vries <tdevries@suse.de>
2724
2725 * gdb.dwarf2/gdb-add-index.exp: New file.
2726
18125b16
TT
27272019-05-22 Tom Tromey <tromey@adacore.com>
2728
2729 * gdb.base/info-shared.exp (check_info_shared): Use "style".
2730 * gdb.base/style.exp: Use "style".
2731 * lib/gdb-utils.exp (style): New proc.
2732
af1a8d03
TV
27332019-05-22 Tom de Vries <tdevries@suse.de>
2734
2735 * gdb.base/align.exp: Require c++11.
2736
e7fe496b
TV
27372019-05-22 Tom de Vries <tdevries@suse.de>
2738
2739 PR testsuite/24586
2740 * gdb.python/py-mi-var-info-path-expression.exp: Call
2741 mi_skip_python_tests to check if python is supported.
2742
8fca4da0
AH
27432019-05-22 Alan Hayward <alan.hayward@arm.com>
2744
2745 * gdb.arch/aarch64-pauth.c: New test.
2746 * gdb.arch/aarch64-pauth.exp: New file.
2747
b7060614
AH
27482019-05-22 Alan Hayward <alan.hayward@arm.com>
2749
2750 * README (Re-running Tests Outside The Testsuite): New section.
2751
669d0468
TV
27522019-05-21 Tom de Vries <tdevries@suse.de>
2753
2754 * gdb.arch/amd64-eval.exp: Require c++11.
2755 * gdb.base/max-depth.exp: Same.
2756 * gdb.compile/compile-cplus-array-decay.exp: Same.
2757 * gdb.cp/meth-typedefs.exp: Same.
2758 * gdb.cp/subtypes.exp: Same.
2759 * gdb.cp/temargs.exp: Same.
2760
ce3ebcaa
AH
27612019-05-21 Alan Hayward <alan.hayward@arm.com>
2762
2763 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
2764
34d11c68
AB
27652019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2766
2767 PR gdb/18644
2768 * gdb.fortran/complex.exp: Remove setup_kfail calls.
2769 * gdb.fortran/printing-types.exp: Add new test.
2770 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
2771 testing.
2772 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
2773 setup_kfail call.
2774
87781e84
AH
27752019-05-17 Alan Hayward <alan.hayward@arm.com>
2776
2777 * README (Running the Testsuite): Change example.
2778 (Testsuite Parameters): Remove TRANSCRIPT.
2779 * lib/gdb.exp: Remove TRANSCRIPT check.
2780
b420b89e
AH
27812019-05-17 Alan Hayward <alan.hayward@arm.com>
2782
2783 * README (Testsuite Parameters): Add replay logging to
2784 GDBSERVER_DEBUG.
2785 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
2786 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
2787 as a comma separated list.
2788 (gdb_debug_init): Override procedure.
2789
408e9b8b
AH
27902019-05-17 Alan Hayward <alan.hayward@arm.com>
2791
2792 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
2793 (gdb_write_cmd_file): New procedure.
2794 * lib/gdbserver-support.exp (gdbserver_start): Call
2795 gdbserver_write_cmd_file.
2796 (gdbserver_write_cmd_file): New procedure.
2797
f9e2e39d
AH
27982019-05-17 Alan Hayward <alan.hayward@arm.com>
2799
2800 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
2801 (delete_breakpoints): Likewise.
2802 (gdb_run_cmd): Likewise.
2803 (gdb_start_cmd): Likewise.
2804 (gdb_starti_cmd): Likewise.
2805 (gdb_internal_error_resync): Likewise.
2806 (gdb_test_multiple): Likewise.
2807 (gdb_reinitialize_dir): Likewise.
2808 (default_gdb_exit): Likewise.
2809 (gdb_file_cmd): Mark kill as optional.
2810 (default_gdb_start): Call gdb_stdin_log_init.
2811 (send_gdb): Call gdb_stdin_log_write.
2812 (rerun_to_main): Mark Y as an answer.
2813 (gdb_stdin_log_init): New function.
2814 (gdb_stdin_log_write): Likewise.
2815
81f47ac2
AH
28162019-05-17 Alan Hayward <alan.hayward@arm.com>
2817
2818 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
2819 * gdb.base/debug-expr.exp: Likewise.
2820 * gdb.base/foll-fork.exp: Likewise.
2821 * gdb.base/foll-vfork.exp: Likewise.
2822 * gdb.base/fork-print-inferior-events.exp: Likewise.
2823 * gdb.base/gdb-sigterm.exp: Likewise.
2824 * gdb.base/gdbinit-history.exp: Likewise.
2825 * gdb.base/osabi.exp: Likewise.
2826 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
2827 * gdb.base/ui-redirect.exp: Likewise.
2828 * gdb.gdb/unittest.exp: Likewise.
2829 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
2830 * gdb.mi/mi-watch.exp: Likewise.
2831 * gdb.mi/new-ui-mi-sync.exp: Likewise.
2832 * gdb.mi/user-selected-context-sync.exp: Likewise.
2833 * gdb.python/python.exp: Disable debug test when debugging.
2834 * gdb.threads/check-libthread-db.exp: Disable when debugging.
2835 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2836 Likewise.
2837 * gdb.threads/stepi-random-signal.exp: Likewise.
2838
29b52314
AH
28392019-05-17 Alan Hayward <alan.hayward@arm.com>
2840
2841 * Makefile.in: Pass through GDB_DEBUG.
2842 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
2843 (gdb,debug): Add board setting.
2844 * lib/gdb.exp (default_gdb_start): Start debugging.
2845 (gdb_debug_enabled): New procedure.
2846 (gdb_debug_init): Likewise.
29b52314
AH
2847
28482019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 2849
29b52314
AH
2850 * Makefile.in: Pass through GDB_DEBUG.
2851 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
2852 (gdb,debug): Add board setting.
2853 * lib/gdb.exp (default_gdb_start): Start debugging.
2854 (gdb_debug_enabled): New procedure.
2855 (gdb_debug_init): Likewise.
29b52314 2856
ca1285d1
AH
28572019-05-17 Alan Hayward <alan.hayward@arm.com>
2858
2859 * gdb.base/ui-redirect.exp: Add debug redirect tests.
2860
f3a09c80
AH
28612019-05-17 Alan Hayward <alan.hayward@arm.com>
2862
2863 * gdb.base/ui-redirect.exp: Test redirection.
2864
26648588
JV
28652019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
2866
2867 * gdb.mi/mi-complete.exp: New file.
2868 * gdb.mi/mi-complete.cc: Likewise.
2869
14237686
AB
28702019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
2871
2872 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
2873 indexed and sliced arrays, and pointers to arrays.
2874
e7bd7fba
TT
28752019-05-14 Tom Tromey <tromey@adacore.com>
2876
2877 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
2878 styling test.
2879
2764128d
TV
28802019-05-14 Tom de Vries <tdevries@suse.de>
2881
2882 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
2883 selection entry encoding.
2884
71bed2db
TT
28852019-05-10 Tom Tromey <tromey@adacore.com>
2886
2887 * gdb.ada/info_exc.exp: Add "complete" test.
2888
63b667ad
TV
28892019-05-09 Tom de Vries <tdevries@suse.de>
2890
2891 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
2892 CU-relative.
2893
9cfd2b89
TV
28942019-05-09 Tom de Vries <tdevries@suse.de>
2895
2896 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
2897 CU-relative.
2898
2228ef77
XR
28992019-05-08 Joel Brobecker <brobecker@adacore.com>
2900
2901 * gdb.ada/frame_arg_lang.exp: New testcase.
2902 * gdb.ada/frame_arg_lang/bla.adb: New file.
2903 * gdb.ada/frame_arg_lang/pck.ads: New file.
2904 * gdb.ada/frame_arg_lang/pck.adb: New file.
2905 * gdb.ada/frame_arg_lang/foo.c: New file.
2906
80e55b13
TT
29072019-05-08 Tom Tromey <tromey@adacore.com>
2908
2909 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
2910
9d3421af
TT
29112019-05-08 Tom Tromey <tromey@adacore.com>
2912
2913 * gdb.base/ptype-offsets.exp: Update tests.
2914
844333e2
TT
29152019-05-08 Tom Tromey <tromey@adacore.com>
2916
2917 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
2918 cases.
2919 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
2920 "short".
2921
988915ee
TT
29222019-05-08 Tom Tromey <tromey@adacore.com>
2923
2924 * gdb.ada/vla.exp: New file.
2925 * gdb.ada/vla/vla.adb: New file.
2926
7bd55dac
TV
29272019-05-07 Tom de Vries <tdevries@suse.de>
2928
2929 * gdb.base/index-cache.exp (ls_host): Fix return statement.
2930
75f06e9d
TV
29312019-05-07 Tom de Vries <tdevries@suse.de>
2932
2933 PR testsuite/24522
2934 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
2935 section.
2936
77e7aaa4
TV
29372019-05-07 Tom de Vries <tdevries@suse.de>
2938
2939 PR testsuite/24522
2940 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
2941 .debug_aranges section.
2942
456ba0fa
TV
29432019-05-07 Tom de Vries <tdevries@suse.de>
2944
2945 PR testsuite/24159
2946 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
2947
5a56d6a6
TV
29482019-05-06 Tom de Vries <tdevries@suse.de>
2949
2950 * lib/gdb.exp (exec_has_index_section): New proc.
2951 * gdb.base/index-cache.exp: Handle case that binfile contains an index
2952 section.
2953
9d6d4be8
TV
29542019-05-04 Tom de Vries <tdevries@suse.de>
2955
2956 * boards/cc-with-debug-names.exp: New file.
2957
222a8d25
TT
29582019-05-03 Tom Tromey <tromey@adacore.com>
2959
2960 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
2961 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
2962 * gdb.ada/char_enum.exp: Add test.
2963
0fdfd794
TV
29642019-05-03 Tom de Vries <tdevries@suse.de>
2965
2966 * boards/cc-with-gdb-index.exp: New file.
2967
80062eb9
AB
29682019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
2969
2970 * gdb.rust/simple.exp: Add new test case.
2971 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
2972 (main): Initialise an instance of the new struct.
2973
4504bbde
TT
29742019-05-01 Tom Tromey <tromey@adacore.com>
2975
2976 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
2977 record.
2978 (NPR): New variable.
2979 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
2980 test.
2981
d48e62f4
TT
29822019-05-01 Tom Tromey <tromey@adacore.com>
2983
2984 * gdb.ada/packed_array_assign.exp: Add packed assignment
2985 regression test.
2986
f59f30f5
TV
29872019-05-01 Tom de Vries <tdevries@suse.de>
2988
2989 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
2990
b70bfc54
TV
29912019-05-01 Tom de Vries <tdevries@suse.de>
2992
2993 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
2994
15f18d14
AT
29952019-04-30 Ali Tamur <tamur@google.com>
2996
2997 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
2998
2ff0a947
TT
29992019-04-30 Tom Tromey <tromey@adacore.com>
3000
3001 * lib/ada.exp (find_ada_tool): New proc.
3002 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
3003 * gdb.ada/catch_ex_std.exp: New file.
3004 * gdb.ada/catch_ex_std/foo.adb: New file.
3005 * gdb.ada/catch_ex_std/some_package.adb: New file.
3006 * gdb.ada/catch_ex_std/some_package.ads: New file.
3007
a776957c
TT
30082019-04-30 Tom Tromey <tromey@adacore.com>
3009
3010 PR c++/24470:
3011 * gdb.cp/temargs.cc: Add test code from PR.
3012
bc68014d
AB
30132019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3014
3015 * gdb.fortran/vla-datatypes.exp: Update expected results.
3016 * gdb.fortran/vla-ptype.exp: Likewise.
3017 * gdb.fortran/vla-type.exp: Likewise.
3018 * gdb.fortran/vla-value.exp: Likewise.
3019
f1fdc960
AB
30202019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3021
3022 * gdb.fortran/ptr-indentation.exp: Update expected results.
3023 * gdb.fortran/ptype-on-functions.exp: Likewise.
3024 * gdb.fortran/vla-ptr-info.exp: Likewise.
3025 * gdb.fortran/vla-value.exp: Likewise.
3026
bf7a4de1
AB
30272019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3028
3029 * gdb.fortran/ptype-on-functions.exp: New file.
3030 * gdb.fortran/ptype-on-functions.f90: New file.
3031
bbe75b9d
AB
30322019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3033
3034 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
3035 case void string.
3036
1db455a7
AB
30372019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3038
3039 * gdb.fortran/complex.exp: Expand.
3040 * gdb.fortran/complex.f: Renamed to...
3041 * gdb.fortran/complex.f90: ...this, and extended to add more
3042 complex values.
3043
b6d03bb2
AB
30442019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3045
3046 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
3047 MODULO, CMPLX.
3048
2e62ab40
AB
30492019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
3050 Richard Bunt <richard.bunt@arm.com>
3051
3052 * gdb.base/max-depth.c: New file.
3053 * gdb.base/max-depth.exp: New file.
3054 * gdb.python/py-nested-maps.c: New file.
3055 * gdb.python/py-nested-maps.exp: New file.
3056 * gdb.python/py-nested-maps.py: New file.
3057 * gdb.python/py-format-string.exp (test_max_depth): New proc.
3058 (test_all_common): Call test_max_depth.
3059 * gdb.fortran/max-depth.exp: New file.
3060 * gdb.fortran/max-depth.f90: New file.
3061 * gdb.go/max-depth.exp: New file.
3062 * gdb.go/max-depth.go: New file.
3063 * gdb.modula2/max-depth.exp: New file.
3064 * gdb.modula2/max-depth.c: New file.
3065 * lib/gdb.exp (get_print_expr_at_depths): New proc.
3066
d2b584a5
TV
30672019-04-29 Tom de Vries <tdevries@suse.de>
3068
3069 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
3070
136afab8
PW
30712019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3072
3073 * gdb.base/callexit.exp: Test may-call-functions off.
3074
725cbb63
KS
30752019-04-25 Keith Seitz <keiths@redhat.com>
3076
3077 PR c++/24367
3078 * gdb.cp/meth-typedefs.cc (incomplete_struct)
3079 (another_incomplete_struct, test_incomplete): New definitions.
3080 (main): Use new definitions.
3081 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
3082 functions.
3083
701adfb0
PA
30842019-04-25 Ali Tamur <tamur@google.com>
3085
3086 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
3087
82433e3e
SDJ
30882019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
3089
3090 PR corefiles/11608
3091 PR corefiles/18187
3092 * gdb.base/coredump-filter-build-id.exp: New file.
3093
dd06d4d6
AH
30942019-04-25 Alan Hayward <alan.hayward@arm.com>
3095
e79be6e5
SM
3096 * Makefile.in: Pass through GDBSERVER_DEBUG.
3097 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
3098 (gdbserver,debug): Add board setting.
3099 * gdb.trace/tspeed.exp: Skip when debugging.
3100 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
3101 * lib/gdbserver-support.exp: Likewise
dd06d4d6 3102
1670072e
TT
31032019-04-24 Tom Tromey <tromey@adacore.com>
3104
3105 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
3106 Rust.
3107
a59240a4
TT
31082019-04-24 Tom Tromey <tromey@adacore.com>
3109
3110 * gdb.arch/amd64-eval.exp: Test bitfield return.
3111 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
3112 (class Foo) <return_bitfields>: New method.
3113 (main): Call it.
3114
b907456c
AB
31152019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
3116
3117 * gdb.cp/many-args.cc: New file.
3118 * gdb.cp/many-args.exp: New file.
3119
5c565afd
TV
31202019-04-23 Tom de Vries <tdevries@suse.de>
3121
3122 PR gdb/24433
3123 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
3124
ba22ff86
AH
31252019-04-23 Alan Hayward <alan.hayward@arm.com>
3126
3127 * gdb.trace/backtrace.exp: Use nopie flag.
3128 * gdb.trace/circ.exp: Likewise.
3129 * gdb.trace/collection.exp: Likewise.
3130 * gdb.trace/ftrace.exp: Likewise.
3131 * gdb.trace/mi-trace-unavailable.exp: Likewise.
3132 * gdb.trace/mi-traceframe-changed.exp: Likewise.
3133 * gdb.trace/qtro.exp: Likewise.
3134 * gdb.trace/read-memory.exp: Likewise.
3135 * gdb.trace/report.exp: Likewise.
3136 * gdb.trace/tfile.exp: Likewise.
3137 * gdb.trace/tfind.exp: Likewise.
3138 * gdb.trace/unavailable.exp: Likewise.
3139
7905fc35
PA
31402019-04-22 Pedro Alves <palves@redhat.com>
3141
3142 * gdb.base/solib-probes-nosharedlibrary.c,
3143 gdb.base/solib-probes-nosharedlibrary.exp: New files.
3144
8ecb59f8
TT
31452019-04-19 Tom Tromey <tromey@adacore.com>
3146
3147 * gdb.ada/ptype_union.c: New file.
3148 * gdb.ada/ptype_union.exp: New file.
3149
62160ec9
TT
31502019-04-19 Tom Tromey <tromey@adacore.com>
3151
3152 PR symtab/24423:
3153 * gdb.base/list0.h (foo): Add a control-l character.
3154
36cd4ba5
TV
31552019-04-18 Tom de Vries <tdevries@suse.de>
3156
3157 PR gdb/24433
3158 * boards/local-board.exp: Set sysroot to "".
3159
b73715df
TV
31602019-04-18 Tom de Vries <tdevries@suse.de>
3161 Pedro Alves <palves@redhat.com>
3162
3163 PR gdb/24454
3164 * gdb.threads/vfork-follow-child-exec.c: New file.
3165 * gdb.threads/vfork-follow-child-exec.exp: New file.
3166 * gdb.threads/vfork-follow-child-exit.c: New file.
3167 * gdb.threads/vfork-follow-child-exit.exp: New file.
3168
4aa866af
LS
31692019-04-15 Leszek Swirski <leszeks@google.com>
3170
3171 * gdb.arch/amd64-eval.cc: New file.
3172 * gdb.arch/amd64-eval.exp: New file.
3173
e5a1a79a
AH
31742019-04-11 Alan Hayward <alan.hayward@arm.com>
3175
3176 * gdb.server/sysroot.c: New test.
3177 * gdb.server/sysroot.exp: New file.
3178 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
3179 matching param.
3180
41077b66
AB
31812019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
3182
3183 * gdb.base/align.exp: Extend test to cover structures containing
3184 only static fields.
3185
c30391f8
TV
31862019-04-11 Tom de Vries <tdevries@suse.de>
3187
3188 * boards/cc-with-dwz-m.exp: New file.
3189 * boards/cc-with-dwz.exp: New file.
3190 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
3191
e242fd12
SM
31922019-04-09 Simon Marchi <simon.marchi@efficios.com>
3193
3194 * gdb.base/start-cpp.exp: New file.
3195 * gdb.base/start-cpp.cc: New file.
3196
2b0c8b01
KB
31972019-04-08 Kevin Buettner <kevinb@redhat.com>
3198
3199 * gdb.python/py-thrhandle.exp: Adjust tests to call
3200 thread_from_handle instead of thread_from_thread_handle.
3201
947210e5
KB
32022019-04-08 Kevin Buettner <kevinb@redhat.com>
3203
3204 * gdb.python/py-thrhandle.exp: Add tests for
3205 gdb.InferiorThread.handle.
3206
d7df6549
AB
32072019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
3208
3209 * gdb.python/py-function.exp: Check calling helper function from
3210 all languages.
3211 * lib/gdb.exp (gdb_supported_languages): New proc.
3212
8bdc1658
AB
32132019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
3214
3215 * gdb.base/complex-parts.c: New file.
3216 * gdb.base/complex-parts.exp: New file.
3217
05caa1d2
TT
32182019-04-01 Tom Tromey <tromey@adacore.com>
3219
3220 PR symtab/23331:
3221 * gdb.dwarf2/dw2-ranges-main.c: New file.
3222 * gdb.dwarf2/dw2-ranges-psym.c: New file.
3223 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
3224
7734102d
EZ
32252019-03-30 Simon Marchi <simark@simark.ca>
3226
3227 * gdb.base/default.exp: Add values for $_gdb_major and
3228 $_gdb_minor.
3229
188e1fa9
TT
32302019-03-29 Tom Tromey <tromey@adacore.com>
3231
3232 * gdb.base/help.exp: Tighten apropos regexp.
3233
2880242d
KS
32342019-03-29 Keith Seitz <keiths@redhat.com>
3235
3236 * gdb.fortran/array-bounds.exp: New file.
3237 * gdb.fortran/array-bounds.f90: New file.
3238
077cad8e
PW
32392019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3240
3241 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
3242
80047cfc
PW
32432019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3244
3245 * gdb.multi/hello.c (main): Increase alarm timer.
3246
f489207e
SL
32472019-03-28 Sandra Loosemore <sandra@codesourcery.com>
3248
3249 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
3250 factor when no hardware watchpoint support.
3251
c92df149
AH
32522019-03-28 Alan Hayward <alan.hayward@arm.com>
3253 Pedro Alves <palves@redhat.com>
3254
3255 * boards/local-board.exp: set sysroot to /.
3256
933aebfa
AH
32572019-03-27 Alan Hayward <alan.hayward@arm.com>
3258
3259 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
3260 in child.
3261
9f9aa852
AB
32622019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
3263
3264 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
3265 field.
3266 (make_container): Initialise new field.
3267 * gdb.python/py-prettyprint.exp: Add new tests.
3268 * gdb.python/py-prettyprint.py (class ContainerPrinter)
3269 <display_hint>: New method.
3270
3714a195
AB
32712019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
3272
3273 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
3274 gdb_continue_to_breakpoint more throughout this test.
3275 (run_lang_tests) Supply unique test names, and use
3276 gdb_test_no_output.
3277
18c77628
AB
32782019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
3279
3280 * gdb.base/finish-pretty.exp: Update expected results.
3281 * gdb.base/pretty-print.c: New file.
3282 * gdb.base/pretty-print.exp: New file.
3283
9a93502f
PA
32842019-03-25 Pedro Alves <palves@redhat.com>
3285
3286 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
3287 move comments outside list. Append '-i "" eof' section.
3288
968aa7ae
AH
32892019-03-22 Alan Hayward <alan.hayward@arm.com>
3290
34a7f2a4 3291 PR testsuite/25016
968aa7ae
AH
3292 * README: Add pie options.
3293 * gdb.base/break-interp.exp: Ensure pie is disabled.
3294 * gdb.base/dump.exp: Likewise.
3295 * lib/gdb.exp (gdb_compile): Add pie option.
3296
4c7d57e7
TT
32972019-03-19 Tom Tromey <tromey@adacore.com>
3298
3299 * gdb.mi/mi2-cli-display.c: New file.
3300 * gdb.mi/mi2-cli-display.exp: New file.
3301
bff8c71f
TT
33022019-03-18 Joel Brobecker <brobecker@adacore.com>
3303 Tom Tromey <tromey@adacore.com>
3304
3305 * gdb.ada/ptype_array/pck.adb: New file.
3306 * gdb.ada/ptype_array/pck.ads: New file.
3307 * gdb.ada/ptype_array/foo.adb: New file.
3308 * gdb.ada/ptype_array.exp: New file.
3309
d085f989
TT
33102019-03-14 Tom Tromey <tromey@adacore.com>
3311
3312 * gdb.base/style.exp: Add "set style sources" test.
3313
b4be1b06
SM
33142019-03-13 Simon Marchi <simon.marchi@ericsson.com>
3315
3316 * mi-breakpoint-location-ena-dis.exp: Rename to ...
3317 * mi-breakpoint-multiple-locations.exp: ... this.
3318 (make_breakpoints_pattern): New proc.
3319 (do_test): Add mi_version parameter, test -break-insert,
3320 -break-info and =breakpoint-created.
3321
7cde5fc2
AB
33222019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
3323
3324 * config/default.exp: Remove 'load_lib gdb.exp'.
3325 * config/monitor.exp: Likewise.
3326 * config/sid.exp: Likewise.
3327 * config/sim.exp: Likewise.
3328 * config/slite.exp: Likewise.
3329 * config/unix.exp: Likewise.
3330 * gdb.base/default.exp: Remove unhelpful comment.
3331
efbecbc1
AB
33322019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3333
3334 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
3335
0841c79a
AB
33362019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3337
3338 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
3339
4a270568
AB
33402019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3341
3342 * gdb.fortran/type-kinds.exp: Update expected results.
3343
067630bd
AB
33442019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3345
3346 * gdb.fortran/type-kinds.exp: Test new integer type kind.
3347
3be47f7a
AB
33482019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3349
3350 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
3351 function.
3352 (test_basic_parsing_of_type_kinds): Expand types tested.
3353 (test_parsing_invalid_type_kinds): New function.
3354
4d00f5d8
AB
33552019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3356
3357 * gdb.fortran/intrinsics.exp: New file.
3358 * gdb.fortran/intrinsics.f90: New file.
3359 * gdb.fortran/type-kinds.exp: New file.
3360
c8f91604
AB
33612019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3362
3363 * gdb.fortran/dot-ops.exp: New file.
3364
dd9f2c76
AB
33652019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3366
3367 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
3368 Check upper and lower case logical literals.
3369
84ec9724
AB
33702019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3371
3372 * gdb.fortran/types.exp (test_float_literal_types_accepted):
3373 Remove duplicate tests.
3374
c3734e09
AH
33752019-03-06 Alan Hayward <alan.hayward@arm.com>
3376
3377 * lib/gdb.exp (builtin_cd): rename of cd.
3378 (cd): Override builtin.
3379
aa3cfbda
RB
33802019-03-06 Richard Bunt <richard.bunt@arm.com>
3381
3382 * gdb.fortran/function-calls.exp: New file.
3383 * gdb.fortran/function-calls.f90: New test.
3384
7b63ad86
RB
33852019-03-04 Richard Bunt <richard.bunt@arm.com>
3386
3387 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
3388 on user program standard output.
3389 * gdb.fortran/short-circuit-argument-list.f90: Record function
3390 calls.
3391
01abb042
AH
33922019-02-28 Alan Hayward <alan.hayward@arm.com>
3393
c3734e09
AH
3394 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
3395 failure.
01abb042 3396
92137da0
RO
33972019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3398
3399 PR gdb/8527
3400 * gdb.base/interrupt-daemon-attach.c,
3401 gdb.base/interrupt-daemon-attach.exp: New test.
3402
5862844d
PA
34032019-02-27 Pedro Alves <palves@redhat.com>
3404
3405 * gdb.base/page.exp: Add tests for "set width/height -1".
3406
8ed25214
PA
34072019-02-27 Pedro Alves <palves@redhat.com>
3408
3409 * gdb.base/page.exp: Add tests for "set/show width/height" with
3410 "infinite" values.
3411
6c28e44a
TT
34122019-02-27 Tom Tromey <tromey@adacore.com>
3413
3414 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
3415 2.4.
3416 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
3417 workaround.
3418
bf9a735e
AB
34192019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
3420
3421 * gdb.base/align.exp: Extend to compile in both C and C++, and add
3422 tests for structs with static members.
3423
8791793c
TT
34242019-02-26 Tom Tromey <tromey@adacore.com>
3425
3426 * gdb.python/py-value.exp (test_value_from_buffer): Check for
3427 ValueError, not TypeError.
3428
bc2a507e
KB
34292019-02-26 Kevin Buettner <kevinb@redhat.com>
3430
3431 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
3432 call from main program.
3433
e0e7d3bd
JB
34342019-02-23 Joel Brobecker <brobecker@adacore.com>
3435
3436 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
3437 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
3438 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
3439 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
3440 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
3441
9600246d
KS
34422019-02-22 Keith Seitz <keiths@redhat.com>
3443
3444 PR symtab/23853
3445 * gdb.base/symlink-sourcefile.c: New file.
3446 * gdb.base/symlink-sourcefile.exp: New file.
3447
0c95f9ed
TT
34482019-02-20 Tom Tromey <tom@tromey.com>
3449
3450 * gdb.base/info_qt.exp: Update.
3451
6caa91b6
SM
34522019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
3453
3454 * gdb.base/source.exp: Move "error in sourced script" code to
3455 the end.
3456 * gdb.base/source-error.gdb: Move contents to
3457 source-error-1.gdb. Add new code to source source-error-1.gdb.
3458 * gdb.base/source-error-1.gdb: New file, from previous
3459 source-error.gdb.
3460
6506371f
TT
34612019-02-17 Tom Tromey <tom@tromey.com>
3462
3463 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
3464 for macro styling.
3465 * gdb.base/style.c (SOME_MACRO): New macro.
3466
a0087920
TT
34672019-02-17 Tom Tromey <tom@tromey.com>
3468
3469 * gdb.base/style.exp: Add line-wrapping tests.
3470 * gdb.base/page.exp: Add test for quitting during pagination.
3471
a2cd4f14
JB
34722019-02-17 Joel Brobecker <brobecker@adacore.com>
3473
3474 * gdb.ada/big_packed_array: New testcase.
3475 * gdb.ada/homonym.exp: Fix incorrect expected output for
3476 "break <homonym__get_value>" test.
3477
9d70ffbc
WP
34782019-02-13 Weimin Pan <weimin.pan@oracle.com>
3479
3480 PR breakpoints/21870
3481 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
3482 and prepare_for_testing. Add comment.
3483 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
3484 redundant cleanup call. Clean up comment.
3485
01c7ae81
WP
34862019-02-12 Weimin Pan <weimin.pan@oracle.com>
3487
3488 PR breakpoints/21870
3489 * gdb.arch/aarch64-dbreg-contents.exp: New file.
3490 * gdb.arch/aarch64-dbreg-contents.c: New file.
3491
aff29d1c
JB
34922019-02-10 Joel Brobecker <brobecker@adacore.com>
3493
3494 * gdb.ada/mi_ref_changeable: New testcase.
3495
df0da8a2
AH
34962019-02-07 Alan Hayward <alan.hayward@arm.com>
3497
3498 * gdb.base/attach.exp: Add double attach test.
3499
bd447abb
SM
35002019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
3501
3502 * lib/gdb.exp (default_gdb_start): Don't match pagination
3503 prompt.
3504 (gdb_init): Set stty_init.
3505
1dbc40b9
TT
35062019-01-27 Tom Tromey <tom@tromey.com>
3507
3508 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
3509 skip_python_tests.
3510
353229bf
AH
35112019-01-24 Alan Hayward <alan.hayward@arm.com>
3512
3513 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
3514 New structure.
3515 (struct struct_static_02_02): Likewise.
3516 (struct struct_static_02_03): Likewise.
3517 (struct struct_static_02_04): Likewise.
3518 (struct struct_static_04_01): Likewise.
3519 (struct struct_static_04_02): Likewise.
3520 (struct struct_static_04_03): Likewise.
3521 (struct struct_static_04_04): Likewise.
3522 (struct struct_static_06_01): Likewise.
3523 (struct struct_static_06_02): Likewise.
3524 (struct struct_static_06_03): Likewise.
3525 (struct struct_static_06_04): Likewise.
3526 (cmp_struct_static_02_01): Likewise.
3527 (cmp_struct_static_02_02): Likewise.
3528 (cmp_struct_static_02_03): Likewise.
3529 (cmp_struct_static_02_04): Likewise.
3530 (cmp_struct_static_04_01): Likewise.
3531 (cmp_struct_static_04_02): Likewise.
3532 (cmp_struct_static_04_03): Likewise.
3533 (cmp_struct_static_04_04): Likewise.
3534 (cmp_struct_static_06_01): Likewise.
3535 (cmp_struct_static_06_02): Likewise.
3536 (cmp_struct_static_06_03): Likewise.
3537 (cmp_struct_static_06_04): Likewise.
3538 (call_all): Test new structs.
3539 * gdb.base/infcall-nested-structs.exp: Likewise.
3540
73021deb
AH
35412019-01-21 Alan Hayward <alan.hayward@arm.com>
3542 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
3543
fc65c7db
AH
35442019-01-21 Alan Hayward <alan.hayward@arm.com>
3545 * gdb.base/stack-protector.c: New test.
3546 * gdb.base/stack-protector.exp: New file.
3547 * gdb.cp/ovldbreak.exp: Only allow a single break line.
3548 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
3549 option.
3550 (gdb_compile): Remove stack protector for GCC and prevent
3551 recursion.
3552
c24bdb02
KS
35532019-01-16 Keith Seitz <keiths@redhat.com>
3554
3555 PR gdb/23773
3556 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
3557
6f072a10
PFC
35582019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3559
3560 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
3561 aliases.
3562 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
3563 tests.
3564 * gdb.arch/powerpc-vector-regs.c: New file.
3565 * gdb.arch/powerpc-vector-regs.exp: New file.
3566
a7b8d682
PFC
35672019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3568
3569 * gdb.arch/altivec-regs.exp: Fix the list passed to
3570 gdb_expect_list when testing "info vector".
3571
6eb6fb67
AB
35722019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
3573
3574 * gdb.base/style.exp: Don't include path in testname.
3575
b56f80d8
KS
35762019-01-10 Keith Seitz <keiths@redhat.com>
3577
3578 PR gdb/23712
3579 PR symtab/23010
3580 * gdb.dwarf2/multidictionary.exp: New file.
3581
041be526
SM
35822019-01-09 Simon Marchi <simon.marchi@ericsson.com>
3583
3584 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
3585 (test_gnuv3_style_demangling): ... this.
3586 (test_lucid_style_demangling): Remove.
3587 (test_arm_style_demangling): Remove.
3588 (test_hp_style_demangling): Remove.
3589 (do_tests): Remove calls to the above.
3590
d820d0c3
AB
35912019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3592
3593 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
3594 case.
3595
f097f5ad
TT
35962019-01-06 Tom Tromey <tom@tromey.com>
3597
3598 PR gdb/28155:
3599 * gdb.dwarf2/typedef-void-finish.exp: New file.
3600
2cd8cc0b
TT
36012018-12-28 Tom Tromey <tom@tromey.com>
3602 Simon Marchi <simark@simark.ca>
3603
3604 * gdb.base/jit-exec.exp: New file.
3605 * gdb.base/jit-exec.c: New file.
3606 * gdb.base/jit-execd.c: New file.
3607
35fb8261
TT
36082018-12-28 Tom Tromey <tom@tromey.com>
3609
3610 * gdb.base/style.exp: Update test to check for address styling.
3611
47fd17cd
TT
36122018-12-28 Tom Tromey <tom@tromey.com>
3613
3614 * gdb.base/style.exp: Add test for styling of "Reading symbols"
3615 message.
3616
d47032b7
TT
36172018-12-28 Tom Tromey <tom@tromey.com>
3618
3619 * gdb.base/style.exp: Add test for version number styling.
3620
af79b68d
TT
36212018-12-28 Tom Tromey <tom@tromey.com>
3622
3623 * gdb.base/style.exp: Add test for print_address_symbolic.
3624
0bb296cb
TT
36252018-12-28 Tom Tromey <tom@tromey.com>
3626
3627 * gdb.base/style.exp: Add test for breakpoint setting.
3628
80ae2043
TT
36292018-12-28 Tom Tromey <tom@tromey.com>
3630
3631 * gdb.base/style.exp: Add test for variable names.
3632
cbe56571
TT
36332018-12-28 Tom Tromey <tom@tromey.com>
3634
3635 * gdb.base/style.exp: New file.
3636 * gdb.base/style.c: New file.
3637
9162a27c
TT
36382018-12-28 Tom Tromey <tom@tromey.com>
3639
3640 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
3641 "dumb".
3642 * gdb.base/readline.exp (operate_and_get_next): Save and restore
3643 the TERM environment variable.
3644
bc543c90
TT
36452018-12-27 Tom Tromey <tom@tromey.com>
3646
3647 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
3648 pagination test.
3649
6f0ffe50
AB
36502018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
3651
3652 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
3653 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
3654
b5a1e557
PW
36552018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3656
3657 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
3658 Filename a.adb changed to bp_fun_addr.adb.
3659 gdb.ada/bp_fun_addr.exp: Update test accordingly.
3660
6e8b1ab2
JV
36612018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
3662
3663 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
3664 non-PIE executables.
3665 * README: Mention the gdb,nopie_flag board setting.
3666 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
3667 non-PIE executable.
3668 * gdb.arch/amd64-entry-value.exp: Likewise.
3669 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
3670 * gdb.arch/i386-float.exp: Likewise.
3671 * gdb.arch/i386-signal.exp: Likewise.
3672 * gdb.mi/mi-reg-undefined.exp: Likewise.
3673
d00a27c5
PM
36742018-12-21 Paul Marechal <paul.marechal@ericsson.com>
3675
3676 PR gdb/23974
3677 * gdb.base/info-os.exp: Check return for unknown "info os" type.
3678
161d081c
PW
36792018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3680
3681 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
3682 Update order of results accordingly.
3683
b001de23
AB
36842018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
3685
3686 * gdb.base/annota1.exp: Update a test regexp.
3687
99e1a184
AB
36882018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
3689
3690 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
3691
7a81c1e2
PW
36922018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3693
3694 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
3695 (reuse_time): Initialize to REUSE_TIME_CAP.
3696 (check_rc): New function.
3697 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
3698 Check pthread_create rc.
3699 (spawner_thread_func): Check pthread_create and pthread_join rc.
3700
73e8dc90
PA
37012018-12-08 Pedro Alves <palves@redhat.com>
3702
3703 * gdb.base/list.exp (test_forward_search): Rename to ...
3704 (test_forward_reverse_search): ... this. Also test reverse-search
3705 and the forward-search alias.
3706
13f2ed32
AB
37072018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
3708
3709 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
3710 local timeout variable before return, and remove all local timeout
3711 variable entirely.
3712 (gdb_load): Likewise.
3713
64d27cfc
TV
37142018-12-01 Tom de Vries <tdevries@suse.de>
3715
3716 * gdb.base/gdb-caching-proc.exp: New file.
3717
f63c03b4
SDJ
37182018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
3719
3720 * Makefile.in (TIMESTAMP): New variable.
3721 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
3722 command.
3723 (check-single-racy): Likewise.
3724 (check/%.exp): Likewise.
3725 (check-racy/%.exp): Likewise.
3726 (workers/%.worker): Likewise.
3727 (build-perf): Likewise.
3728 (check-perf): Likewise.
3729 * README: Describe new "TS" and "TS_FORMAT" variables.
3730 * print-ts.py: New file.
3731
1c97054b
BF
37322018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
3733
3734 PR python/23714
3735 * gdb.python/python.exp: Test command repetition after
3736 gdb.execute.
3737
1871a62d
AB
37382018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
3739
3740 * gdb.opt/inline-break.exp: Add test that info breakpoint output
3741 is correctly aligned.
3742
fb5e1ed9
PW
37432018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3744
3745 * gdb.ada/info_auto_lang.exp: New testcase.
3746 * gdb.ada/info_auto_lang/global_pack.ads: New file.
3747 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
3748 * gdb.ada/info_auto_lang/some_c.c: New file.
3749
43d397ca
PW
37502018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3751
3752 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
3753 FUNC_lang language syntax.
3754
beddd671
PW
37552018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3756
3757 * gdb.base/info_minsym.c: New file.
3758 * gdb.base/info_minsym.exp: New file.
3759
73fc52c4
TT
37602018-11-19 Tom Tromey <tom@tromey.com>
3761
3762 PR rust/23625:
3763 * gdb.rust/simple.exp: Add ptype test. Update expected output.
3764 * gdb.rust/expr.exp: Update expected output. Change one test.
3765
994b876a
TT
37662018-11-19 Tom Tromey <tom@tromey.com>
3767
3768 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
3769
6769f276
PA
37702018-11-19 Pedro Alves <palves@redhat.com>
3771
3772 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
3773 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
3774 see the expected warning.
3775
38a72da0
AH
37762018-11-16 Alan Hayward <alan.hayward@arm.com>
3777
3778 PR gdb/22736:
3779 * gdb.cp/infcall-nodebug-lib.c: New test.
3780 * gdb.cp/infcall-nodebug-main.c: New test.
3781 * gdb.cp/infcall-nodebug.exp: New file.
3782
53a89d6e
SM
37832018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
3784
3785 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
3786 completer tests.
3787
9325300d
TV
37882018-11-09 Tom de Vries <tdevries@suse.de>
3789
3790 * gdb.base/msym-lang.c: New test.
3791 * gdb.base/msym-lang.exp: New file.
3792 * gdb.base/msym-lang-main.c: New test.
3793
20f0d60d
TT
37942018-11-08 Tom Tromey <tom@tromey.com>
3795
3796 PR gdb/23555:
3797 PR gdb/23838:
3798 * gdb.base/warning.exp: New file.
3799
b5420128
JB
38002018-11-08 Jan Beulich <jbeulich@suse.com>
3801
3802 * testsuite/gdb.arch/i386-avx512.c,
3803 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
3804
cd115d61
AB
38052018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
3806
3807 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
3808 point hardware.
3809
35ee2dc2
AB
38102018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
3811
3812 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
3813 * gdb.dwarf2/missing-type-name.exp: New file.
3814
31aceee8
TV
38152018-11-06 Tom de Vries <tdevries@suse.de>
3816
3817 * gdb.base/many-headers.c: New test.
3818 * gdb.base/many-headers.exp: New file.
3819
109be305
JW
38202018-11-06 Jim Wilson <jimw@sifive.com>
3821
3822 * gdb.base/code_elim.exp: For riscv, set additional_flags
3823 to include -msmall-data-limit=0.
3824
e2b7af72
JB
38252018-11-01 Joel Brobecker <brobecker@adacore.com>
3826
3827 * gdb.ada/watch_minus_l: New testcase.
3828
cdcda965
SM
38292018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
3830
3831 * gdb.arch/aix-sighandle.c: New file.
3832 * gdb.arch/aix-sighandle.exp: New file.
3833
92dcebf3
AB
38342018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3835
3836 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
3837 registers being unions.
3838
68b9ac18
TV
38392018-10-31 Tom de Vries <tdevries@suse.de>
3840
3841 * lib/valgrind.exp: New file.
3842 (vgdb_start, vgdb_stop): New procs, factored out of ...
3843 * gdb.base/valgrind-bt.exp: ... here, ...
3844 * gdb.base/valgrind-disp-step.exp: ... here and ...
3845 * gdb.base/valgrind-infcall.exp: ... here.
3846
1443936e
TV
38472018-10-31 Tom de Vries <tdevries@suse.de>
3848
3849 * lib/gdb.exp (get_valueof): Don't output read value in test name.
3850
eb77c9df
AB
38512018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3852
3853 * gdb.dwarf2/void-type.c: New file.
3854 * gdb.dwarf2/void-type.exp: New file.
3855
82b5e646
PW
38562018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3857
3858 * gdb.base/info_qt.c: New file.
3859 * gdb.base/info_qt.exp: New file.
3860
8d619c01
EBM
38612018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3862
3863 * gdb.arch/powerpc-htm-regs.c: New file.
3864 * gdb.arch/powerpc-htm-regs.exp: New file.
3865
f2cf6173
EBM
38662018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3867
3868 * gdb.arch/powerpc-tar.c: New file.
3869 * gdb.arch/powerpc-tar.exp: New file.
3870
7ca18ed6
EBM
38712018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3872
3873 * gdb.arch/powerpc-ppr-dscr.c: New file.
3874 * gdb.arch/powerpc-ppr-dscr.exp: New file.
3875
bfcc0eba
TV
38762018-10-25 Tom de Vries <tdevries@suse.de>
3877
3878 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
3879
fe1a5cad
TV
38802018-10-24 Tom de Vries <tdevries@suse.de>
3881
3882 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
3883 longer exists error.
3884
a76dc3b7
TV
38852018-10-24 Tom de Vries <tdevries@suse.de>
3886
3887 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
3888
4df46df7
TV
38892018-10-24 Tom de Vries <tdevries@suse.de>
3890
3891 * gdb.base/valgrind-db-attach.exp: Handle removed support for
3892 --db-attach in valgrind.
3893
0dbfcfff
AB
38942018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
3895
3896 * gdb.arch/riscv-reg-aliases.c: New file.
3897 * gdb.arch/riscv-reg-aliases.exp: New file.
3898
b04480b1
AH
38992018-10-19 Alan Hayward <alan.hayward@arm.com>
3900
3901 * gdb.python/py-cmd.exp: Check for gdb_prompt.
3902
2c6ac8d7
AH
39032018-10-19 Alan Hayward <alan.hayward@arm.com>
3904
3905 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
3906
2bc69f25
AH
39072018-10-19 Alan Hayward <alan.hayward@arm.com>
3908
3909 * gdb.cp/ovldbreak.exp: Fix regexps.
3910
1f1ae3a3
AH
39112018-10-19 Alan Hayward <alan.hayward@arm.com>
3912
3913 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
3914
94c18618
SDJ
39152018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
3916
3917 PR cli/23785
3918 * gdb.base/restore.exp: New test to check if "restore" with an
3919 invalid file doesn't segfault.
3920
812cd6eb
TV
39212018-10-18 Tom de Vries <tdevries@suse.de>
3922
3923 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
3924 * gdb.ada/excep_handle.exp: Same.
3925 * gdb.ada/mi_string_access.exp: Same.
3926 * gdb.ada/mi_var_union.exp: Same.
3927 * gdb.arch/arc-analyze-prologue.exp: Same.
3928 * gdb.arch/arc-decode-insn.exp: Same.
3929 * gdb.base/readnever.exp: Same.
3930 * gdb.fortran/printing-types.exp: Same.
3931 * gdb.guile/scm-lazy-string.exp: Same.
3932
c4b90788
TV
39332018-10-16 Tom de Vries <tdevries@suse.de>
3934
3935 PR gdb/23730
3936 * gdb.base/catch-follow-exec.c: Add copyright notice.
3937 * gdb.base/catch-follow-exec.exp: Rewrite to use
3938 gdb_spawn_with_cmdline_opts. Require gdb-native.
3939
8bca2978
SL
39402018-10-12 Sandra Loosemore <sandra@codesourcery.com>
3941
3942 * gdb.trace/actions-changed.exp: Check for arch support.
3943 * gdb.trace/actions.exp: Likewise.
3944 * gdb.trace/ax.exp: Likewise.
3945 * gdb.trace/backtrace.exp: Likewise.
3946 * gdb.trace/change-loc.exp: Likewise.
3947 * gdb.trace/deltrace.exp: Likewise.
3948 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
3949 * gdb.trace/ftrace.exp: Likewise.
3950 * gdb.trace/infotrace.exp: Check for arch support.
3951 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
3952 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
3953 * gdb.trace/mi-tsv-changed.exp: Likewise.
3954 * gdb.trace/packetlen.exp: Likewise.
3955 * gdb.trace/passc-dyn.exp: Likewise.
3956 * gdb.trace/passcount.exp: Likewise.
3957 * gdb.trace/pending.exp: Likewise.
3958 * gdb.trace/range-stepping.exp: Check for shlib support.
3959 * gdb.trace/report.exp: Check for arch support.
3960 * gdb.trace/save-trace.exp: Likewise.
3961 * gdb.trace/signal.exp: Check for signal support.
3962 * gdb.trace/tfind.exp: Check for arch support.
3963 * gdb.trace/trace-break.exp: Check for arch and shlib support.
3964 * gdb.trace/trace-common.h: Add comment.
3965 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
3966 * gdb.trace/trace-enable-disable.exp: Likewise.
3967 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
3968 * gdb.trace/tracecmd.exp: Check for arch support.
3969 * gdb.trace/tspeed.exp: Check for shlib and target support.
3970 * gdb.trace/tstatus.exp: Check for arch support.
3971 * gdb.trace/tsv.exp: Likewise.
3972 * gdb.trace/while-dyn.exp: Likewise.
3973 * gdb.trace/while-stepping.exp: Likewise.
3974 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
3975
f9c49bff
SM
39762018-10-12 Simon Marchi <simon.marchi@ericsson.com>
3977
3978 * gdb.trace/tspeed.exp: Remove nowarnings.
3979 (prepare_for_trace_test): Declare "global ipalib".
3980 * gdb.trace/tspeed.c: Include unistd.h.
3981 (main): Remove superfluous printf argument.
3982
d4330bde
SL
39832018-10-11 Sandra Loosemore <sandra@codesourcery.com>
3984
3985 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
3986 directory prefix on the filename.
3987
8ecfd7bd
SDJ
39882018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
3989
3990 * gdb.gdb/unittest.exp: Update expected message informing that
3991 selftests have been disabled.
3992 * gdb.server/unittest.exp: Likewise.
3993
58bbcd02
TV
39942018-10-09 Tom de Vries <tdevries@suse.de>
3995
3996 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
3997 with runto_main.
3998
9f6b697b
WP
39992018-10-08 Weimin Pan <weimin.pan@oracle.com>
4000
4001 PR c++/16841
4002 * gdb.cp/virtbase2.cc: New file.
4003 * gdb.cp/virtbase2.exp: New file.
4004
add5ded5
TT
40052018-10-06 Tom Tromey <tom@tromey.com>
4006
4007 PR python/19399:
4008 * gdb.python/py-inferior.exp: Add architecture test.
4009
f9e48344
TT
40102018-10-06 Tom Tromey <tom@tromey.com>
4011
4012 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
4013 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
4014
2a8be203
TT
40152018-10-06 Tom Tromey <tom@tromey.com>
4016
4017 * gdb.python/py-breakpoint.exp (check_last_event): Check location
4018 of a "throw" catchpoint.
4019
e04caa70
SDJ
40202018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
4021
4022 * gdb.base/info-proc.exp: Update string expected from "help info
4023 proc".
4024
5ca8c39f
TT
40252018-10-04 Tom Tromey <tom@tromey.com>
4026
4027 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
4028 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
4029 (test_initial_complaints, test_empty_complaints): Update.
4030 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
4031
3453e7e4
TT
40322018-10-04 Tom Tromey <tom@tromey.com>
4033
4034 PR cli/19551:
4035 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
4036 * lib/gdb.exp (gdb_file_cmd): Update.
4037 * gdb.stabs/weird.exp (print_weird_var): Update.
4038 * gdb.server/solib-list.exp: Update.
4039 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
4040 * gdb.mi/mi-cli.exp: Update.
4041 * gdb.linespec/linespec.exp: Update.
4042 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
4043 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
4044 * gdb.cp/cp-relocate.exp: Update.
4045 * gdb.base/sym-file.exp: Update.
4046 * gdb.base/relocate.exp: Update.
4047 * gdb.base/readnever.exp: Update.
4048 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
4049 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
4050 * gdb.base/dbx.exp (gdb_file_cmd): Update.
4051 * gdb.base/code_elim.exp: Update.
4052 * gdb.base/break-unload-file.exp (test_break): Update.
4053 * gdb.base/break-interp.exp (test_attach_gdb): Update.
4054 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
4055 Update.
4056 * gdb.base/attach.exp (do_attach_tests): Update.
4057 * gdb.base/sepdebug.exp: Update.
4058 * gdb.python/py-section-script.exp: Update.
4059
6afcf761
TT
40602018-10-04 Tom Tromey <tom@tromey.com>
4061
4062 PR cli/22234:
4063 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
4064 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
4065 output.
4066
fef1b293
TT
40672018-10-04 Tom Tromey <tom@tromey.com>
4068
4069 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
4070 set width and height to 0.
4071 (test_command_line_attach_run): Use -quiet.
4072
ca98345e
SL
40732018-10-03 Sandra Loosemore <sandra@codesourcery.com>
4074
4075 * lib/gdb.exp (skip_ifunc_tests): New.
4076 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
4077 other compile failures.
4078 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
4079
ff34e6ae
SM
40802018-10-01 Simon Marchi <simon.marchi@ericsson.com>
4081
4082 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
4083 is_amd64_regs_target.
4084
6bb8890e
AH
40852018-10-01 Alan Hayward <alan.hayward@arm.com>
4086
4087 * gdb.arch/aarch64-sighandler-regs.c: New test.
4088 * gdb.arch/aarch64-sighandler-regs.exp: New file.
4089 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
4090
224d30d3
MM
40912018-10-01 Markus Metzger <markus.t.metzger@intel.com>
4092
4093 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
4094 assembly.
4095
f67ffa6a
AB
40962018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
4097
4098 * gdb.base/frame-selection.exp: New file.
4099 * gdb.base/frame-selection.c: New file.
4100
9fc3183f
AH
41012018-09-27 Alan Hayward <alan.hayward@arm.com>
4102
4103 * gdb.threads/check-libthread-db.c (thread_routine): Use a
4104 pthread barrier.
4105 (main): Likewise.
4106
d354055e
AB
41072018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
4108
4109 * gdb.base/large-frame-1.c: New file.
4110 * gdb.base/large-frame-2.c: New file.
4111 * gdb.base/large-frame.exp: New file.
4112 * gdb.base/large-frame.h: New file.
4113
db727370
JL
41142018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
4115
4116 PR gdb/20948
4117 * gdb.base/write_mem.exp: New test.
4118 * gdb.base/write_mem.c: Likewise.
4119
ae778caf
TT
41202018-09-23 Tom Tromey <tom@tromey.com>
4121
4122 PR python/18852:
4123 * gdb.python/py-parameter.exp: Add test for parameter that throws
4124 on "set".
4125
fd3ba736
TT
41262018-09-23 Tom Tromey <tom@tromey.com>
4127
4128 PR python/17284:
4129 * gdb.python/py-template.exp (test_template_arg): Add test for
4130 negative template argument number.
4131
39a24317
TT
41322018-09-23 Tom Tromey <tom@tromey.com>
4133
4134 PR python/14062:
4135 * gdb.python/python.exp: Add test for post_event error.
4136
f5769a2c
TT
41372018-09-23 Tom Tromey <tom@tromey.com>
4138
4139 PR python/18170:
4140 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
4141 convert pointers to int and long.
4142
1c1e54f6
TT
41432018-09-23 Tom Tromey <tom@tromey.com>
4144
4145 PR python/20126:
4146 * gdb.python/py-value.exp (test_value_numeric_ops): Add
4147 signed-ness conversion tests.
4148
fb4fa946
TT
41492018-09-23 Tom Tromey <tom@tromey.com>
4150
4151 PR python/18352;
4152 * gdb.python/py-value.exp (test_float_conversion): New proc.
4153 Use it.
4154
a466edac
HAQ
41552018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
4156
4157 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
4158
4ee9b0c5
SL
41592018-09-18 Sandra Loosemore <sandra@codesourcery.com>
4160
4161 * gdb.base/complete-empty.exp: Skip tab-completion tests if
4162 no readline.
4163 * gdb.base/utf8-identifiers.exp: Likewise.
4164 * gdb.cp/cpcompletion.exp: Likewise.
4165 * gdb.linespec/cpcompletion.exp: Likewise.
4166 * gdb.linespec/cpls-abi-tag.exp: Likewise.
4167 * gdb.linespec/cpls-ops.exp: Likewise.
4168
23be8da7
RB
41692018-09-19 Richard Bunt <richard.bunt@arm.com>
4170 Chris January <chris.january@arm.com>
4171
4172 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
4173 * gdb.fortran/short-circuit-argument-list.exp: New file.
4174 * gdb.fortran/short-circuit-argument-list.f90: New test.
4175
5031d0ae
SDJ
41762018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4177
4178 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
4179 "arch=" keyword when executing "-stack-list-frames".
4180
b4c0d1a4
SDJ
41812018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4182
4183 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
4184 "arch=" keyword when executing "-stack-list-frames".
4185
7a6d2b45
SDJ
41862018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4187
4188 * gdb.ada/complete.exp: Expect for "@" when doing "complete
4189 break ada".
4190
8588b356
SM
41912018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
4192
4193 PR python/23669
4194 * gdb.python/python.exp: Test gdb.execute("show commands").
4195
65e65158
TT
41962018-09-16 Tom Tromey <tom@tromey.com>
4197
4198 * gdb.base/new-ui.exp (do_execution_tests): Update.
4199 * gdb.base/dbx.exp (test_breakpoints): Update.
4200
bf326452
AH
42012018-09-14 Alan Hayward <alan.hayward@arm.com>
4202
4203 * lib/gdb.exp (gdb_simple_compile): Add proc.
4204 (is_elf_target): Use gdb_simple_compile.
4205 (skip_altivec_tests): Likewise.
4206 (skip_vsx_tests): Likewise.
4207 (skip_tsx_tests): Likewise.
4208 (skip_btrace_tests): Likewise.
4209 (skip_btrace_pt_tests): Likewise.
4210 (gdb_can_simple_compile): Likewise.
4211 (gdb_has_argv0): Likewise.
4212 (gdb_target_symbol_prefix): Likewise.
4213 (target_supports_scheduler_locking): Likewise.
4214
2361b0fb
TT
42152018-09-13 Tom Tromey <tom@tromey.com>
4216
4217 * Makefile.in (TAGS): Recognize proc_with_prefix and
4218 gdb_caching_proc.
4219
0ae1a321
SM
42202018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4221
4222 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
4223 method.
4224
a40bf0c2
SM
42252018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4226
4227 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
4228 and a few other Inferior properties when the Inferior is no
4229 longer valid.
4230
4a3fe98f
TT
42312018-09-13 Tom Tromey <tom@tromey.com>
4232
4233 PR rust/23650:
4234 * gdb.rust/simple.exp: Add test for enum field access error.
4235
098b2108
TT
42362018-09-13 Tom Tromey <tom@tromey.com>
4237
4238 PR rust/23626:
4239 * gdb.rust/simple.rs (EmptyEnum): New type.
4240 (main): Use it.
4241 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
4242
1256af7d
SM
42432018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4244
4245 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
4246 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
4247 * gdb.python/py-symtab.exp: Update test printing an objfile.
4248
4aa8e6c2
SM
42492018-09-12 Simon Marchi <simon.marchi@ericsson.com>
4250
4251 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
4252 object.
4253
c221b2f7
AH
42542018-09-12 Alan Hayward <alan.hayward@arm.com>
4255
4256 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
4257 (support_complex_tests): Use gdb_can_simple_compile.
4258 (is_ilp32_target): Likewise.
4259 (is_lp64_target): Likewise.
4260 (is_64_target): Likewise.
4261 (is_amd64_regs_target): Likewise.
4262 (is_aarch32_target): Likewise.
4263 (gdb_int128_helper): Likewise.
4264
6f1107b5
JK
42652018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4266
4267 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
4268
1f5d1570
JG
42692018-09-10 Jerome Guitton <guitton@adacore.com>
4270
4271 * gdb.ada/same_component_name: Add test for case of tagged record
4272 with variable-length fields.
4273
cc330e39
XR
42742018-09-10 Xavier Roirand <roirand@adacore.com>
4275
4276 * gdb.ada/access_to_unbounded_array.exp: New testcase.
4277 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
4278 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
4279 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
4280
b9c50e9a
XR
42812018-09-10 Xavier Roirand <roirand@adacore.com>
4282
4283 * gdb.ada/mi_string_access.exp: New testcase.
4284 * gdb.ada/mi_string_access/bar.adb: New file.
4285 * gdb.ada/mi_string_access/pck.adb: New file.
4286 * gdb.ada/mi_string_access/pck.asd: New file.
4287
2963898f
XR
42882018-09-10 Xavier Roirand <roirand@adacore.com>
4289
4290 * gdb.ada/mi_var_union.exp: New testcase.
4291 * gdb.ada/mi_var_union/bar.adb: New file.
4292 * gdb.ada/mi_var_union/pck.adb: New file.
4293 * gdb.ada/mi_var_union/pck.asd: New file.
4294
1aac008f
TT
42952018-09-08 Tom Tromey <tom@tromey.com>
4296
4297 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
4298
332cf4c9
TT
42992018-09-08 Tom Tromey <tom@tromey.com>
4300
4301 PR python/16047:
4302 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
4303 (register_pretty_printers): Register new printer.
4304 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
4305 test.
4306 * gdb.python/py-prettyprint.c (int_type3): New typedef.
4307 (an_int_type3): New global.
4308
424da6cf
JB
43092018-09-08 Joel Brobecker <brobecker@adacore.com>
4310
4311 * gdb.ada/expr_with_funcall: New testcase.
4312
2a62dfa9
JB
43132018-09-08 Joel Brobecker <brobecker@adacore.com>
4314
4315 * gdb.ada/packed_array_assign: New testcase.
4316
96b6697f
AB
43172018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
4318
4319 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
4320 names, and add test prefixes to make test names unique.
4321
e4a62c65
TV
43222018-09-05 Tom de Vries <tdevries@suse.de>
4323
4324 * gdb.dwarf2/varval.exp: Add test.
4325
dd083ee2
GB
43262018-09-04 Gary Benson <gbenson@redhat.com>
4327
4328 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
4329 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
4330
aef9346c
TT
43312018-08-31 Tom Tromey <tom@tromey.com>
4332
4333 * gdb.rust/simple.rs: Rename second variable "v".
4334
c67f2e15
AB
43352018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
4336
4337 * gdb.base/funcargs.c (use_a): New function.
4338 (recurse): Call use_a.
4339
078a0207
KS
43402018-08-29 Keith Seitz <keiths@redhat.com>
4341
4342 * gdb.compile/compile-cplus-anonymous.cc: New file.
4343 * gdb.compile/compile-cplus-anonymous.exp: New file.
4344 * gdb.compile/compile-cplus-array-decay.cc: New file.
4345 * gdb.compile/compile-cplus-array-decay.exp: New file.
4346 * gdb.compile/compile-cplus-inherit.cc: New file.
4347 * gdb.compile/compile-cplus-inherit.exp: New file.
4348 * gdb.compile/compile-cplus-member.cc: New file.
4349 * gdb.compile/compile-cplus-member.exp: New file.
4350 * gdb.compile/compile-cplus-method.cc: New file.
4351 * gdb.compile/compile-cplus-method.exp: New file.
4352 * gdb.compile/compile-cplus-mod.c: "New" file.
4353 * gdb.compile/compile-cplus-namespace.cc: New file.
4354 * gdb.compile/compile-cplus-namespace.exp: New file.
4355 * gdb.compile/compile-cplus-nested.cc: New file.
4356 * gdb.compile/compile-cplus-nested.exp: New file.
4357 * gdb.compile/compile-cplus-print.c: "New" file.
4358 * gdb.compile/compile-cplus-print.exp: "New" file.
4359 * gdb.compile/compile-cplus-virtual.cc: New file.
4360 * gdb.compile/compile-cplus-virtual.exp: New file.
4361 * gdb.compile/compile-cplus.c: "New" file.
4362 * gdb.compile/compile-cplus.exp: "New" file.
4363 * lib/compile-support.exp: New file.
4364
b0f492b9
GB
43652018-08-16 Gary Benson <gbenson@redhat.com>
4366
4367 PR gdb/13000:
4368 * gdb.base/batch-exit-status.exp: New file.
4369 * gdb.base/batch-exit-status.good-commands: Likewise.
4370 * gdb.base/batch-exit-status.bad-commands: Likewise.
4371
36eb4c5f
AH
43722018-08-29 Alan Hayward <alan.hayward@arm.com>
4373
4374 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
4375 (struct struct02): Likewise.
4376 (struct struct03): Likewise.
4377 (struct struct04): Likewise.
4378 (struct struct_01_01): New struct.
4379 (struct struct_01_02): Likewise.
4380 (struct struct_01_03): Likewise.
4381 (struct struct_01_04): Likewise.
4382 (struct struct_02_01): Likewise.
4383 (struct struct_02_02): Likewise.
4384 (struct struct_02_03): Likewise.
4385 (struct struct_02_04): Likewise.
4386 (struct struct_04_01): Likewise.
4387 (struct struct_04_02): Likewise.
4388 (struct struct_04_03): Likewise.
4389 (struct struct_04_04): Likewise.
4390 (struct struct_05_01): Likewise.
4391 (struct struct_05_02): Likewise.
4392 (struct struct_05_03): Likewise.
4393 (struct struct_05_04): Likewise.
4394 (cmp_struct01): Remove function.
4395 (cmp_struct02): Likewise.
4396 (cmp_struct03): Likewise.
4397 (cmp_struct04): Likewise.
4398 (cmp_struct_01_01): Add Function.
4399 (cmp_struct_01_02): Likewise.
4400 (cmp_struct_01_03): Likewise.
4401 (cmp_struct_01_04): Likewise.
4402 (cmp_struct_02_01): Likewise.
4403 (cmp_struct_02_02): Likewise.
4404 (cmp_struct_02_03): Likewise.
4405 (cmp_struct_02_04): Likewise.
4406 (cmp_struct_04_01): Likewise.
4407 (cmp_struct_04_02): Likewise.
4408 (cmp_struct_04_03): Likewise.
4409 (cmp_struct_04_04): Likewise.
4410 (cmp_struct_05_01): Likewise.
4411 (cmp_struct_05_02): Likewise.
4412 (cmp_struct_05_03): Likewise.
4413 (cmp_struct_05_04): Likewise.
4414 (call_all): Add new structs.
4415 * gdb.base/infcall-nested-structs.exp: Likewise.
4416
3bf9c013
JV
44172018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
4418
4419 * gdb.python/py-framefilter-mi.exp: Update regexp to
4420 check for "arch" field in frame output.
4421
450d1e88
KB
44222018-08-23 Kevin Buettner <kevinb@redhat.com>
4423
4424 * gdb.dwarf2/dw2-ranges-func.c: New file.
4425 * gdb.dwarf2/dw2-ranges-func.exp: New file.
4426
ae739fe7
SM
44272018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
4428
4429 * gdb.base/term.exp: Compare terminal settings with values from
4430 the inferior.
4431 * gdb.base/term.c: Get and set terminal settings.
4432
6d52907e
JV
44332018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
4434
4435 * lib/mi-support.exp (mi_expect_stop): Update regexp to
4436 accommodate new "arch" field in frame output.
4437 * gdb.mi/mi-return.exp: Likewise.
4438 * gdb.mi/mi-stack.exp: Likewise.
4439 * gdb.mi/mi-syn-frame.exp: Likewise.
4440 * gdb.mi/user-selected-context-sync.exp: Likewise.
4441
be2d111a
MS
44422018-08-19 Michael Spang <spang@google.com>
4443
4444 PR gdb/11786
4445 * gdb.base/gcore-tls-pie.c: New file.
4446 * gdb.base/gcore-tls-pie.exp: New file.
4447
ae3a7c47
KB
44482018-08-18 Kevin Buettner <kevinb@redhat.com>
4449
4450 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
4451 * gdb.dwarf2/varval.c: New file.
4452 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 4453
2ecae92e
AH
44542018-08-17 Alan Hayward <alan.hayward@arm.com>
4455
4456 PR gdb/18931
4457 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
4458
c1854f1d
KS
44592018-08-16 Keith Seitz <keiths@redhat.com>
4460
4461 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
4462 tests expected to pass.
4463
26fb3983
JV
44642018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
4465
4466 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
4467 -data-disassemble -a.
4468 (test_disassembly_bogus_args): Likewise.
4469
67943c00
AB
44702018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
4471
4472 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
4473
5ff2bbae
AB
44742018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
4475
4476 * gdb.base/vla-optimized-out.exp: Add new test.
4477
e5bbcd0f
AB
44782018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
4479
4480 * gdb.base/vla-optimized-out-o3.exp: Delete.
4481 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
4482 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
4483 deleted tests.
4484
9d4a934c
AB
44852018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
4486
4487 PR gdb/18050:
4488 * gdb.server/extended-remote-restart.c: New file.
4489 * gdb.server/extended-remote-restart.exp: New file.
4490
045cf012
SM
44912018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
4492
4493 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
4494 "set variable index = 42".
4495
87d6a7aa
SM
44962018-08-07 Simon Marchi <simon.marchi@ericsson.com>
4497
4498 * boards/index-cache-gdb.exp: New file.
4499 * gdb.dwarf2/index-cache.exp: New file.
4500 * gdb.dwarf2/index-cache.c: New file.
4501 * gdb.base/maint.exp: Check if we are using the index cache.
4502
96d68bd4
RO
45032018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4504
4505 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
4506 MAKEFLAGS.
4507
5a699617
RO
45082018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4509
4510 * dg-extract-results.sh: Move to toplevel contrib.
4511 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
4512 * Makefile.in (check-parallel-racy): Likewise.
4513
5bd18990
AB
45142018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
4515
4516 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
4517 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
4518 tests if the target supports scheduler locking.
4519
3fbbcf47
TV
45202018-08-04 Tom de Vries <tdevries@suse.de>
4521
4522 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
4523
3e1d3d8c
TT
45242018-08-02 Tom Tromey <tom@tromey.com>
4525
4526 PR symtab/16842.
4527 * gdb.cp/temargs.exp: Test "info address" of a template
4528 parameter.
4529
5abe0f0c
JV
45302018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
4531
4532 * gdb.python/py-mi-var-info-path-expression.c: New file.
4533 * gdb.python/py-mi-var-info-path-expression.py: New file.
4534 * gdb.python/py-mi-var-info-path-expression.exp: New file.
4535
fb66cde8
SDJ
45362018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
4537
4538 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
4539 error after "cannot resolve name" string.
4540
c708f4d2
AB
45412018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
4542
4543 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
4544 started.
4545 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
4546
37cc0cae
TV
45472018-07-28 Tom de Vries <tdevries@suse.de>
4548
4549 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
4550
63b4ecf7
TV
45512018-07-26 Tom de Vries <tdevries@suse.de>
4552
4553 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
4554
3c3bb058
AB
45552018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
4556
4557 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
4558 is visible.
4559
9e7f3bbb
TV
45602018-07-26 Tom de Vries <tdevries@suse.de>
4561
4562 PR breakpoints/23366
4563 * gdb.base/catch-follow-exec.c: New test.
4564 * gdb.base/catch-follow-exec.exp: New file.
4565
16f808ec
TV
45662018-07-25 Tom de Vries <tdevries@suse.de>
4567
4568 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
4569 vla-optimized-out.c.
4570
d7154a8d
JV
45712018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
4572
4573 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
4574 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
4575
232a0032
TV
45762018-07-20 Tom de Vries <tdevries@suse.de>
4577
4578 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
4579 NOCLONE macro.
4580 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
4581
fbb1d502
TV
45822018-07-19 Tom de Vries <tdevries@suse.de>
4583
4584 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
4585 regular expression.
4586
42dc7699
TV
45872018-07-18 Tom de Vries <tdevries@suse.de>
4588
4589 * gdb.base/vla-optimized-out.c: New test.
4590 * gdb.base/vla-optimized-out.exp: New file.
4591
7f1f7e23
SDJ
45922018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
4593
4594 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
4595 message "No address associated with hostname" when gdbserver
4596 cannot resolve the hostname.
4597
5759ebb3
PW
45982018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4599
4600 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
4601 Add some test prefixes to make tests unique.
4602
3606ccab
PW
46032018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4604
4605 * gdb.base/frameapply.c: New file.
4606 * gdb.base/frameapply.exp: New file.
4607
529c08b2
PW
46082018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4609
4610 * gdb.base/skip.exp: Update expected error message.
4611
c7ab0aef
SDJ
46122018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
4613 Jan Kratochvil <jan.kratochvil@redhat.com>
4614 Paul Fertser <fercerpav@gmail.com>
4615 Tsutomu Seki <sekiriki@gmail.com>
4616
4617 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
4618 parameter.
4619 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
4620 by default.
4621 * boards/native-gdbserver.exp: Likewise.
4622 * gdb.server/run-without-local-binary.exp: Improve regexp used
4623 for detecting when a remote debugging connection succeeds.
4624 * gdb.server/server-connect.exp: New file.
4625 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
4626 Do not prefix the port number with ":".
4627 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
4628 support for detecting and using it. Add '$debughost_gdbserver'
4629 to the list of arguments used to start gdbserver. Handle case
4630 when gdbserver cannot resolve a network name.
4631
16ff70dd
SDJ
46322018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
4633
4634 PR c++/23373
4635 * gdb.base/ptype-offsets.cc (struct static_member): New
4636 struct.
4637 (main) <stmember>: New variable.
4638 * gdb.base/ptype-offsets.exp: Add test for printing a struct
4639 with a static member in it.
4640
3541979f
AB
46412018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
4642
4643 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
4644 watchpoints enabled and disabled.
4645
c8ad9b9a
AB
46462018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4647
4648 * gdb.base/examine-backward.exp: Still run tests around address
4649 0x0, even if address 0x0 is not readable. Update the pattern for
4650 matching address 0x0 in expected output.
4651
e0e5e971
AB
46522018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
4653
4654 * gdb.base/share-env-with-gdbserver.c (main): Add call to
4655 malloc/free.
4656
1ea5da02
TV
46572018-07-04 Tom de Vries <tdevries@suse.de>
4658
4659 * gdb.dwarf2/dw2-error.exp: Update expected error message.
4660
471b9d15
MR
46612018-07-02 Maciej W. Rozycki <macro@mips.com>
4662
4663 PR tdep/8282
4664 * gdb.arch/mips-disassembler-options.exp: New test.
4665 * gdb.arch/mips-disassembler-options.s: New test source.
4666
75acb486
PA
46672018-06-29 Pedro Alves <palves@redhat.com>
4668
4669 * gdb.threads/names.exp: Adjust expected "info threads" output.
4670
cd2bb709
PA
46712018-06-29 Pedro Alves <palves@redhat.com>
4672
4673 * gdb.opt/inline-break.exp (line number, address): Add "info
4674 break" tests.
4675
991ff292
PA
46762018-06-29 Pedro Alves <palves@redhat.com>
4677
4678 * gdb.opt/inline-break.c (func1): Add "break here" marker.
4679 * gdb.opt/inline-break.exp: Test setting breakpoints by line
4680 number and address and running to them.
4681
356819b6 46822018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
4683
4684 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
4685
2512d7ef
JK
46862018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4687
4688 * lib/compiler.c: Remove executable permission flag.
4689
be1b6474
RB
46902018-06-28 Richard Bunt <richard.bunt@arm.com>
4691
4692 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
4693 code.
4694 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
4695
291f9a96
PT
46962018-06-28 Petr Tesarik <ptesarik@suse.cz>
4697
4698 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
4699
ed6dfe51
PT
47002018-06-28 Petr Tesarik <ptesarik@suse.cz>
4701
4702 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
4703 address argument is omitted.
4704
d4d429d5
PT
47052018-06-28 Petr Tesarik <ptesarik@suse.cz>
4706
4707 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
4708
7ab6656f
OJ
47092018-06-27 Omair Javaid <omair.javaid@linaro.org>
4710
4711 PR gdb/21695
4712 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
4713 * gdb.base/infoline-reloc-main-from-zero.c: New file.
4714
a33ccfc7
TT
47152018-06-26 Tom Tromey <tom@tromey.com>
4716
4717 PR rust/22574:
4718 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
4719 * gdb.rust/simple.rs (struct SimpleLayout): New.
4720
6d72d289
SM
47212018-06-22 Simon Marchi <simon.marchi@ericsson.com>
4722
4723 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
4724 "info registers" output.
4725
8363f9d5
RB
47262018-06-21 Richard Bunt <richard.bunt@arm.com>
4727
4728 * gdb.base/watchpoint-hw-attach.c: New test.
4729 * gdb.base/watchpoint-hw-attach.exp: New file.
4730
f00674fe
SM
47312018-06-20 Simon Marchi <simon.marchi@ericsson.com>
4732
4733 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
4734 through /bin/sh.
4735 * boards/dwarf4-gdb-index.exp: Likewise.
4736 * boards/fission-dwp.exp: Likewise.
4737
1d554008
UW
47382018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
4739
4740 * gdb.base/float128.exp: Add comment and improved fail message
4741 to the failure case of "print large128" test.
4742
d0ac1c44
SM
47432018-06-19 Simon Marchi <simon.marchi@ericsson.com>
4744
4745 * configure.ac: Remove AC_PREREQ.
4746 * configure: Re-generate.
4747
61b04dd0
PA
47482018-06-19 Pedro Alves <palves@redhat.com>
4749
4750 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
4751 (func_extern_caller): New.
4752 (main): Call func_extern_caller.
4753 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
4754 logic change.
4755
f63b508a
SM
47562018-06-18 Weimin Pan <weimin.pan@oracle.com>
4757
4758 PR gdb/16841
4759 * gdb.cp/typedef-base.cc: New file.
4760 * gdb.cp/typedef-base.exp: New file.
4761
0fe3a558
TV
47622018-06-18 Tom de Vries <tdevries@suse.de>
4763
4764 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
4765
7010835a
AB
47662018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
4767 Richard Bunt <Richard.Bunt@arm.com>
4768
4769 * gdb.threads/attach-slow-waitpid.c: New file.
4770 * gdb.threads/attach-slow-waitpid.exp: New file.
4771 * gdb.threads/slow-waitpid.c: New file.
4772
14897d65
PA
47732018-06-14 Pedro Alves <palves@redhat.com>
4774
4775 * gdb.base/fork-running-state.c: Include <errno.h>.
4776 (exit_if_relative_exits): New.
4777 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
4778 exits.
4779 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
4780 child exits.
4781
5d9a0608
TV
47822018-06-14 Tom de Vries <tdevries@suse.de>
4783
4784 PR cli/22573
4785 * gdb.base/finish-pretty.c: New test.
4786 * gdb.base/finish-pretty.exp: New file.
4787
11ae5818
PA
47882018-06-14 Pedro Alves <palves@redhat.com>
4789
4790 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
4791 gdb's expected startup output.
4792
1d39de44
PA
47932018-06-14 Pedro Alves <palves@redhat.com>
4794
4795 * lib/selftest-support.exp (selftest_setup): Remove inlined
4796 function handling.
4797
70ee0000
TV
47982018-06-14 Tom de Vries <tdevries@suse.de>
4799
4800 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
4801 matching of breakpoint printing.
4802
11f4b608
TV
48032018-06-13 Tom de Vries <tdevries@suse.de>
4804
4805 PR testsuite/23269
4806 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
4807 (fork_child): ... here, and ...
4808 (fork_parent): ... here.
4809
48102018-06-12 Tom de Vries <tdevries@suse.de>
4811
4812 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
4813
9516f85a
AB
48142018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
4815 Stephen Roberts <stephen.roberts@arm.com>
4816
4817 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
4818 rewrite test to describe action performed, rather than possible
4819 failure.
4820
5045b3d7
GB
48212018-06-08 Gary Benson <gbenson@redhat.com>
4822
4823 * gdb.threads/check-libthread-db.exp: New file.
4824 * gdb.threads/check-libthread-db.c: Likewise.
4825
c61b06a1
TT
48262018-06-05 Tom Tromey <tom@tromey.com>
4827
4828 * gdb.base/default.exp: Update expected "show version" output.
4829
eb6af809
TT
48302018-06-05 Tom Tromey <tom@tromey.com>
4831
4832 PR cli/12326:
4833 * gdb.cp/static-print-quit.exp: Update.
4834 * lib/gdb.exp (pagination_prompt): Update.
4835 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
4836 * gdb.python/python.exp: Update.
4837
178d6a63
JB
48382018-06-04 Joel Brobecker <brobecker@adacore.com>
4839
4840 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
4841
8e817061
JB
48422018-06-01 Joel Brobecker <brobecker@adacore.com>
4843
4844 * gdb.ada/bp_fun_addr: New testcase.
4845
e86ca25f
TT
48462018-06-01 Tom Tromey <tom@tromey.com>
4847
4848 * gdb.xml/tdesc-regs.exp (load_description): Update expected
4849 results.
4850 * gdb.dwarf2/method-ptr.exp: Set language to C++.
4851 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
4852 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
4853 * gdb.base/maint.exp (maint_pass_if): Update.
4854
4b2dfa9d
MR
48552018-05-31 Maciej W. Rozycki <macro@mips.com>
4856
4857 * gdb.base/endian.exp: New test.
4858 * gdb.base/endian.c: New test source.
4859
45f25d6c
AB
48602018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
4861
4862 PR gdb/23203
4863 * gdb.base/bt-selected-frame.c: New file.
4864 * gdb.base/bt-selected-frame.exp: New file.
4865 * lib/gdb.exp (get_current_frame_number): New function.
4866
d9f6d7f8
MR
48672018-05-24 Maciej W. Rozycki <macro@mips.com>
4868 Pedro Alves <palves@redhat.com>
4869
4870 * gdb.threads/tls-core.c: Include <stdlib.h>
4871 (thread_proc): Call `abort'.
4872 * gdb.threads/tls-core.exp: Generate a core with core_find too.
4873 (tls_core_test): New procedure, bits factored out from ...
4874 (top level): ... here. Test both native cores and gcore cores.
4875
ff1cf532
TT
48762018-05-23 Tom Tromey <tom@tromey.com>
4877
4878 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
4879
b98664d3
TT
48802018-05-23 Tom Tromey <tom@tromey.com>
4881
4882 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
4883 symfile_complaints.
4884 (test_short_complaints): Likewise.
4885 (test_empty_complaints): Likewise.
4886 (test_initial_complaints): Update.
4887
4e9668d0
TT
48882018-05-23 Tom Tromey <tom@tromey.com>
4889
4890 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
4891
43ba33c7
TT
48922018-05-23 Tom Tromey <tom@tromey.com>
4893
4894 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
4895 (test_short_complaints): Update.
4896
035522c0
PA
48972018-05-22 Pedro Alves <palves@redhat.com>
4898
4899 * gdb.base/remote.exp: Only gdb_start after compiling the
4900 testcase. Issue "disconnect" before testing "set remote" command
4901 defaults. Issue clean_restart before running to main.
4902
cc0be08f
PA
49032018-05-22 Pedro Alves <palves@redhat.com>
4904
4905 * gdb.base/remote.exp: Adjust expected output of "show remote
4906 memory-write-packet-size". Add tests for "set remote
4907 memory-write-packet-size 0" and "set remote
4908 memory-write-packet-size fixed/limit".
4909
b1b60145
PA
49102018-05-22 Pedro Alves <palves@redhat.com>
4911
4912 PR gdb/22973
4913 * gdb.base/utf8-identifiers.c: New file.
4914 * gdb.base/utf8-identifiers.exp: New file.
4915
0ec848ad
PFC
49162018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
4917
4918 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
4919
2c3305f6
PFC
49202018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
4921
4922 * gdb.arch/powerpc-vsx-gcore.exp: New file.
4923
ce1e8424
TT
49242018-05-18 Tom Tromey <tom@tromey.com>
4925
4926 * gdb.base/ptype-offsets.exp: Update.
4927
ddfe970e
KS
49282018-05-17 Keith Seitz <keiths@redhat.com>
4929
4930 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
4931 in expected breakpoint stop locations.
4932 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
4933 move to proper scope to test variable values.
4934 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
4935 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
4936 New functions.
4937 (main): Call not_inline_func3.
4938 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
4939 inline_func1, inline_func2, and inline_func3. Test that when each
4940 breakpoint is hit, GDB properly reports both the stop location
4941 and the backtrace. Repeat tests for temporary breakpoints.
4942
0726fcc6
MR
49432018-05-15 Maciej W. Rozycki <macro@mips.com>
4944
4945 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
4946 rather then trying to access it in determining whether the PID
4947 of `gdbserver' could have been retrieved.
4948
8ee22052
AB
49492018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
4950
4951 * gdb.arch/amd64-init-x87-values.S: New file.
4952 * gdb.arch/amd64-init-x87-values.exp: New file.
4953
7785df48
JK
49542018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4955
4956 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
4957
56bcdbea
TT
49582018-05-04 Tom Tromey <tom@tromey.com>
4959
4960 PR python/22730:
4961 * gdb.python/python.exp: Test multi-line execute.
4962
a913fffb
TT
49632018-05-04 Tom Tromey <tom@tromey.com>
4964
4965 PR python/22731:
4966 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
4967
7a2c85f2
TT
49682018-05-04 Tom Tromey <tom@tromey.com>
4969
4970 PR gdb/11750:
4971 * gdb.base/define.exp: Test defining a user command inside a user
4972 command.
4973 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
4974
a3b60e45
JK
49752018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4976 Pedro Alves <palves@redhat.com>
4977
4978 PR breakpoints/19806 and support for PR external/20207.
4979 * gdb.base/watchpoint-unaligned.c: New file.
4980 * gdb.base/watchpoint-unaligned.exp: New file.
4981
45fe4a03
AB
49822018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4983
4984 * gdb.base/maint.exp: Make test names unique, use
4985 test_prefix_command_help to test 'help maint info', and remove
4986 repeated test of 'help maint'.
4987
9be2ae8f
TT
49882018-05-04 Tom Tromey <tom@tromey.com>
4989
4990 PR gdb/22619:
4991 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
4992 behavior.
4993
11859c31
AB
49942018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4995
4996 * gdb.base/maint.exp: Process output from 'maint print registers'
4997 line at a time.
4998
089a9490
AB
49992018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
5000
5001 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
5002 timeout.
5003
9b0797e2
AB
50042018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
5005
5006 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
5007 filter pattern.
5008
f6ac5f3d
PA
50092018-05-02 Pedro Alves <palves@redhat.com>
5010
5011 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
5012 to_log_command renames.
5013 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
5014
77d3c63b
TT
50152018-05-02 Tom Tromey <tom@tromey.com>
5016
5017 * gdb.python/py-parameter.exp: Set test message.
5018
0489430a
TT
50192018-05-02 Tom Tromey <tom@tromey.com>
5020
5021 PR python/20084:
5022 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
5023 PARAM_ZUINTEGER_UNLIMITED tests.
5024
1632f8ba
DR
50252018-04-28 Dan Robertson <danlrobertson89@gmail.com>
5026
5027 PR rust/23124
5028 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
5029 when casting.
5030
6d7bb824
TT
50312018-04-30 Tom Tromey <tom@tromey.com>
5032
5033 * gdb.python/py-type.exp: Check align attribute.
5034 * gdb.python/py-type.c: New "aligncheck" global.
5035
007e1530
TT
50362018-04-30 Tom Tromey <tom@tromey.com>
5037
5038 PR exp/17095:
5039 * gdb.dwarf2/dw2-align.exp: New file.
5040 * gdb.cp/align.exp: New file.
5041 * gdb.base/align.exp: New file.
5042 * lib/gdb.exp (gdb_int128_helper): New proc.
5043 (has_int128_c, has_int128_cxx): New caching procs.
5044
6873858b
TT
50452018-04-27 Tom Tromey <tom@tromey.com>
5046
5047 PR rust/22545:
5048 * gdb.rust/simple.exp: Add inclusive range tests.
5049
79188d8d
PA
50502018-04-26 Pedro Alves <palves@redhat.com>
5051
5052 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
5053 ifunc breakpoint locations correctly of ifunc breakpoints set
5054 while the program resolves the ifunc.
5055
c7075ad5
PA
50562018-04-26 Pedro Alves <palves@redhat.com>
5057
5058 * gdb.base/gnu-ifunc-final.c: New file.
5059 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
5060 * gdb.base/gnu-ifunc.exp (executable): Delete.
5061 (staticexecutable): Adjust.
5062 (lib_opts, exec_opts): Delete.
5063 (make_binsuffix, build, set-break): New procedures.
5064 (misc_tests): New, with tests factored out from the top level.
5065 (top level): Test different combinations of ifunc resolver name,
5066 resolver with and with debug info, and ifunc target with and
5067 without debug info. Wrap static tests with with_target_prefix.
5068
8388016d
PA
50692018-04-26 Pedro Alves <palves@redhat.com>
5070
5071 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
5072 return type" warnings.
5073
249b5733
PA
50742018-04-25 Pedro Alves <palves@redhat.com>
5075
5076 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
5077 killed".
5078 * gdb.base/kill-after-signal.exp: Likewise.
5079 * gdb.threads/kill.exp: Likewise.
5080
f67c0c91
SDJ
50812018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5082 Sergio Durigan Junior <sergiodj@redhat.com>
5083 Pedro Alves <palves@redhat.com>
5084
5085 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
5086 regexps to expect for '[Inferior ... detached]' as well.
5087 * gdb.base/attach.exp: Likewise.
5088 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
5089 "gdb_continue_to_end".
5090 (test_catch_syscall_with_wrong_args): Likewise.
5091 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
5092 ']'. Don't set 'verbose' on.
5093 * gdb.base/foll-vfork.exp: Likewise.
5094 * gdb.base/fork-print-inferior-events.c: New file.
5095 * gdb.base/fork-print-inferior-events.exp: New file.
5096 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
5097 '[Inferior ... has been killed]' message.
5098 * gdb.base/kill-after-signal.exp: Likewise.
5099 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
5100 detach message.
5101 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
5102 message.
5103 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
5104 regexps to expect for '[Inferior ... detached]' as well.
5105 * gdb.threads/process-dies-while-detaching.exp: Likewise.
5106
0a8ddac4
SM
51072018-04-24 Simon Marchi <simon.marchi@ericsson.com>
5108
5109 PR gdb/23104
5110 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
5111
701adfb0
PA
51122018-04-22 Rajendra SY <rajendra.sy@gmail.com>
5113
5114 PR gdb/23095
5115 * gdb.base/break-probes.exp: Pass shlib_load to
5116 prepare_for_testing. Set normal_bp to r_debug_state if target is
5117 bsd.
5118
d27d16bf
RB
51192018-04-19 Richard Bunt <richard.bunt@arm.com>
5120
5121 * gdb.threads/multiple-successive-infcall.c: New test.
5122 * gdb.threads/multiple-successive-infcall.exp: New file.
5123
a037790e
TT
51242018-04-17 Tom Tromey <tom@tromey.com>
5125
5126 * gdb.rust/simple.rs (Union): New type.
5127 (main): New local "u".
5128 * gdb.rust/simple.exp (test_one_slice): Add new test case.
5129
e3a91079
AA
51302018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5131
5132 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
5133 number information in output of "whereis" command.
5134 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
5135
b744723f
AA
51362018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5137
5138 * gdb.ada/info_types.exp: Adjust expected output to the line
5139 numbers now printed by "info var/func/type".
5140 * gdb.base/completion.exp: Likewise.
5141 * gdb.base/included.exp: Likewise.
5142 * gdb.cp/cp-relocate.exp: Likewise.
5143 * gdb.cp/cplusfuncs.exp: Likewise.
5144 * gdb.cp/namespace.exp: Likewise.
5145 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
5146
4a4495d6
MM
51472018-04-13 Markus Metzger <markus.t.metzger@intel.com>
5148
5149 * gdb.btrace/cpu.exp: New.
5150
1d509aa6
MM
51512018-04-13 Markus Metzger <markus.t.metzger@intel.com>
5152
5153 * gdb.base/step-indirect-call-thunk.exp: New.
5154 * gdb.base/step-indirect-call-thunk.c: New.
5155 * gdb.reverse/step-indirect-call-thunk.exp: New.
5156 * gdb.reverse/step-indirect-call-thunk.c: New.
5157
6295b6da
SM
51582018-04-11 Simon Marchi <simon.marchi@ericsson.com>
5159
5160 * gdb.base/pie-fork.c: New file.
5161 * gdb.base/pie-fork.exp: New file.
5162
50146e70
TT
51632018-04-11 Tom Tromey <tom@tromey.com>
5164
5165 * gdb.rust/simple.exp: Add test for ".." struct initializer.
5166
f50d8a2e
PA
51672018-04-10 Pedro Alves <palves@redhat.com>
5168
5169 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
5170 exits. Instead loop running forever.
5171 (fork_parent): Run forever too.
5172
a0be7a36
SM
51732018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
5174
5175 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
5176 mi_continue_to_line.
5177 * gdb.mi/mi-stack.c (callee4): Add comment.
5178
9b73db36
SM
51792018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
5180
5181 * gdb.mi/mi-stack.exp: Fix indentation.
5182
c912f608
SM
51832018-04-07 Simon Marchi <simon.marchi@ericsson.com>
5184
5185 PR gdb/22979
5186 * gdb.arch/amd64-osabi.exp: New file.
5187
26540402
SM
51882018-04-07 Simon Marchi <simon.marchi@ericsson.com>
5189
5190 PR gdb/22980
5191 * gdb.base/osabi.exp: New file.
5192
121ad66c 51932018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
5194
5195 * gdb.cp/static-typedef-print.exp: New file.
5196 * gdb.cp/static-typedef-print.cc: New file.
5197
3fcded8f
JB
51982018-03-27 Joel Brobecker <brobecker@adacore.com>
5199
5200 * gdb.ada/varsize_limit: New testcase.
5201
59cc4834
JB
52022018-03-27 Joel Brobecker <brobecker@adacore.com>
5203
5204 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
5205
5206 * gdb.ada/notcplusplus: New testcase.
5207
5208 * gdb.base/c-linkage-name.c: New file.
5209 * gdb.base/c-linkage-name.exp: New testcase.
5210
4ca59a9f
TT
52112018-03-26 Tom Tromey <tom@tromey.com>
5212
5213 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
5214 * gdb.python/py-framefilter.py (name_error): New global.
5215 (ErrorInName.function): Use name_error.
5216
978d6c75
TT
52172018-03-26 Tom Tromey <tom@tromey.com>
5218
5219 PR backtrace/15582:
5220 * gdb.python/py-framefilter.exp: Add "bt hide" test.
5221
b7fee5a3
KS
52222018-03-23 Keith Seitz <keiths@redhat.com>
5223
5224 PR c++/22968
5225 * gdb.cp/subtypes.exp: New file.
5226 * gdb.cp/subtypes.h: New file.
5227 * gdb.cp/subtypes.cc: New file.
5228 * gdb.cp/subtypes-2.cc: New file.
5229
376be529
AB
52302018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
5231
5232 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
5233 (done): Call '_exit' not 'exit' to avoid atexit handlers.
5234 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
5235 -nostartfiles when compiling the test. Confirm that all registers
5236 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
5237
066cfa98
AB
52382018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
5239
5240 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
5241 option, syntax was wrong anyway.
5242 * gdb.arch/arm-disp-step.exp: Likewise.
5243 * gdb.arch/sparc64-regs.exp: Likewise.
5244 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
5245 option, syntax was wrong anyway, switch to use
5246 prepare_for_testing.
5247 * gdb.arch/i386-disp-step.exp: Likewise.
5248
079670b9
AA
52492018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
5250
5251 * gdb.ada/exec_changed.exp: Replace "target_info exists
5252 use_gdb_stub" by "use_gdb_stub".
5253 * gdb.ada/start.exp: Likewise.
5254 * gdb.base/async-shell.exp: Likewise.
5255 * gdb.base/attach-pie-misread.exp: Likewise.
5256 * gdb.base/attach-wait-input.exp: Likewise.
5257 * gdb.base/break-entry.exp: Likewise.
5258 * gdb.base/break-interp.exp: Likewise.
5259 * gdb.base/dprintf-detach.exp: Likewise.
5260 * gdb.base/nostdlib.exp: Likewise.
5261 * gdb.base/solib-nodir.exp: Likewise.
5262 * gdb.base/statistics.exp: Likewise.
5263 * gdb.base/testenv.exp: Likewise.
5264 * gdb.mi/mi-exec-run.exp: Likewise.
5265 * gdb.mi/mi-start.exp: Likewise.
5266 * gdb.multi/dummy-frame-restore.exp: Likewise.
5267 * gdb.multi/multi-arch-exec.exp: Likewise.
5268 * gdb.multi/multi-arch.exp: Likewise.
5269 * gdb.multi/tids.exp: Likewise.
5270 * gdb.multi/watchpoint-multi.exp: Likewise.
5271 * gdb.python/py-events.exp: Likewise.
5272 * gdb.threads/attach-into-signal.exp: Likewise.
5273 * gdb.threads/attach-stopped.exp: Likewise.
5274 * gdb.threads/threadapply.exp: Likewise.
5275 * lib/selftest-support.exp: Likewise.
5276
26d6cec4
AA
52772018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
5278
5279 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
5280
4ee89e90
SR
52812018-03-20 Stephen Roberts <stephen.roberts@arm.com>
5282
5283 * gdb.perf/template-breakpoints.cc: New file.
5284 * gdb.perf/template-breakpoints.exp: New file.
5285 * gdb.perf/template-breakpoints.py: New file.
5286
92630041
TT
52872018-03-19 Tom Tromey <tom@tromey.com>
5288
5289 * gdb.rust/simple.rs (main): Add local variables field1, field2,
5290 y0.
5291 * gdb.rust/simple.exp: Test bare identifier form of struct
5292 initializer.
5293
76727919
TT
52942018-03-19 Tom Tromey <tom@tromey.com>
5295
5296 * gdb.gdb/observer.exp: Remove.
5297
194ed413
AA
52982018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5299
5300 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
5301 "qualified" option when setting breakpoints.
5302 * gdb.trace/backtrace.exp: Likewise.
5303 * gdb.trace/circ.exp: Likewise.
5304 * gdb.trace/collection.exp: Likewise.
5305 * gdb.trace/disconnected-tracing.exp: Likewise.
5306 * gdb.trace/ftrace-lock.exp: Likewise.
5307 * gdb.trace/ftrace.exp: Likewise.
5308 * gdb.trace/infotrace.exp: Likewise.
5309 * gdb.trace/packetlen.exp: Likewise.
5310 * gdb.trace/passc-dyn.exp: Likewise.
5311 * gdb.trace/qtro.exp: Likewise.
5312 * gdb.trace/read-memory.exp: Likewise.
5313 * gdb.trace/report.exp: Likewise.
5314 * gdb.trace/signal.exp: Likewise.
5315 * gdb.trace/status-stop.exp: Likewise.
5316 * gdb.trace/strace.exp: Likewise.
5317 * gdb.trace/tfind.exp: Likewise.
5318 * gdb.trace/trace-break.exp: Likewise.
5319 * gdb.trace/trace-condition.exp: Likewise.
5320 * gdb.trace/trace-mt.exp: Likewise.
5321 * gdb.trace/tstatus.exp: Likewise.
5322 * gdb.trace/tsv.exp: Likewise.
5323 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
5324 * gdb.trace/unavailable.exp: Likewise.
5325 * gdb.trace/while-dyn.exp: Likewise.
5326
8b067d2c
AA
53272018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5328
5329 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
5330 that libinproctrace is copied to the target.
5331
3ae9ce5d
TT
53322018-03-14 Tom Tromey <tom@tromey.com>
5333
5334 PR cli/14977:
5335 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
5336 a null pointer.
5337 * gdb.base/wchar.exp: Likewise.
5338
b8c2339b
TT
53392018-03-14 Tom Tromey <tom@tromey.com>
5340
5341 PR cli/19918:
5342 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
5343 flag.
5344
4872dc46
SM
53452018-03-08 Simon Marchi <simon.marchi@ericsson.com>
5346
5347 PR gdb/22841
5348 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
5349 "target" to remote_exec.
5350
e4fe3756
SM
53512018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
5352
5353 PR gdb/22841
5354 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
5355 ${board}_upload): Remove.
5356
e95a97d4
AA
53572018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
5358
5359 * gdb.cp/watch-cp.cc: New test.
5360 * gdb.cp/watch-cp.exp: New file.
5361
dbbb1059
AB
53622018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5363
5364 * gdb.base/infcall-nested-structs.exp: New file.
5365 * gdb.base/infcall-nested-structs.c: New file.
5366 * gdb.base/float.exp: Add riscv support.
5367
ecc054c0
TP
53682018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
5369
5370 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
5371 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
5372
25e3c82c
SDJ
53732018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
5374
5375 * gdb.server/abspath.exp: New file.
5376 * lib/gdb.exp (with_cwd): New procedure.
5377
3083294d
SM
53782018-02-28 Simon Marchi <simon.marchi@ericsson.com>
5379
5380 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
5381 use it.
5382 (gdb_is_target_remote_prompt): New proc.
5383 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
5384 (gdb_is_target_native): Pass prompt parameter to
5385 gdb_is_target_1.
5386
3275ef47
SM
53872018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
5388
5389 * gdb.base/load-command.c: New file.
5390 * gdb.base/load-command.exp: New file.
5391 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
5392 (gdb_is_target_1): ...this, and generalize for other targets
5393 than just remote.
5394 (gdb_is_target_remote): Use gdb_is_target_1.
5395 (gdb_is_target_native): use gdb_is_target_1.
5396
6893c19a
TT
53972018-02-26 Tom Tromey <tom@tromey.com>
5398
5399 PR python/16497:
5400 * gdb.python/py-framefilter.exp: Update test.
5401
2ddeaf8a
TT
54022018-02-26 Tom Tromey <tom@tromey.com>
5403
5404 * gdb.dwarf2/variant.c: New file.
5405 * gdb.dwarf2/variant.exp: New file.
5406
c9317f21
TT
54072018-02-26 Tom Tromey <tom@tromey.com>
5408
5409 * gdb.rust/simple.exp: Accept more possible results in enum test.
5410
6f6d0c26
SM
54112018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
5412
5413 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
5414 parentheses.
5415
11b03145
MR
54162018-02-23 Maciej W. Rozycki <macro@mips.com>
5417
5418 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
5419 name of a variable: $actual_linejj -> $actual_line.
5420
54a27fe5
JB
54212018-02-21 John Baldwin <jhb@FreeBSD.org>
5422
5423 * gdb.arch/amd64-i386-address.exp: Fix a typo.
5424
de65820c
MM
54252018-02-20 Markus Metzger <markus.t.metzger@intel.com>
5426
5427 * gdb.btrace/buffer-size.exp: Do not force BTS.
5428
980548fd
PA
54292018-02-14 Pedro Alves <palves@redhat.com>
5430
5431 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
5432 getting a "Quit".
5433
c4e12631
MM
54342018-02-09 Markus Metzger <markus.t.metzger@intel.com>
5435
5436 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
5437 Fix test name.
5438
c2e0e465
SM
54392018-02-07 Simon Marchi <simon.marchi@ericsson.com>
5440
5441 * gdb.cp/m-static.exp: Check type of optimized out static
5442 member.
5443
f7216783
AB
54442018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
5445
5446 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
5447 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
5448
0625771b
LS
54492018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
5450 Leszek Swirski <leszeks@google.com>
5451
5452 * gdb.python/py-prettyprint.c
5453 (struct to_string_returns_value_inner,
5454 struct to_string_returns_value_wrapper): New.
5455 (main): Add tsrvw variable.
5456 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
5457 ToStringReturnsValueWrapper): New classes.
5458 (register_pretty_printers): Register new pretty-printers.
5459 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
5460 recursive pretty printer.
5461 * gdb.python/py-mi.exp: Likewise.
5462
59498c30
LS
54632018-02-01 Leszek Swirski <leszeks@google.com>
5464
5465 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
5466 functions with the same name as an include file are parsed
5467 correctly.
5468
d4d38844
YQ
54692018-02-01 Yao Qi <yao.qi@linaro.org>
5470
5471 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
5472 "\[^\r\n\]*".
5473
07e5f5cf
NP
54742018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
5475
5476 * gdb.arch/powerpc-prologue-frame.s: New file.
5477 * gdb.arch/powerpc-prologue-frame.c: Likewise.
5478 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
5479
929b5ad4
JB
54802018-01-31 Joel Brobecker <brobecker@adacore.com>
5481
5482 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
5483
e671cd59
PA
54842018-01-30 Pedro Alves <palves@redhat.com>
5485
5486 PR gdb/13211
5487 * gdb.base/interrupt-daemon.c: New.
5488 * gdb.base/interrupt-daemon.exp: New.
5489 * gdb.multi/multi-term-settings.c: New.
5490 * gdb.multi/multi-term-settings.exp: New.
5491
fc413dc4
JB
54922018-01-30 Joel Brobecker <brobecker@adacore.com>
5493
5494 * gdb.base/break.exp: Save the location where the breakpoint
5495 on break.c:47 was actually inserted when debugging the version
5496 compiled at -O2 and use it in the expected output of the "info
5497 break" test performed soon after.
5498
5c319bb2
PA
54992018-01-22 Pedro Alves <palves@redhat.com>
5500 Sergio Durigan Junior <sergiodj@redhat.com>
5501
5502 * gdb.base/whatis.exp: Add tests for 'set print object on' +
5503 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
5504
a9e40818
JB
55052018-01-22 Joel Brobecker <brobecker@adacore.com>
5506
5507 * gdb.base/break-include.c, gdb.base/break-include.inc,
5508 gdb.base/break-include.exp: New files.
5509 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
5510 line number now being the actual line number where the breakpoint
5511 was inserted.
5512 * gdb.mi/mi-break.exp: Likewise.
5513 * gdb.mi/mi-reverse.exp: Likewise.
5514 * gdb.mi/mi-simplerun.exp: Ditto.
5515
e707fc44
AB
55162018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
5517
5518 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
5519 varobj.
5520 * gdb.mi/mi-var-create-rtti.exp: Likewise.
5521
ae451627
AB
55222018-01-21 Don Breazeal <donb@codesourcery.com>
5523 Andrew Burgess <andrew.burgess@embecosm.com>
5524
5525 * gdb.mi/basics.c: Add new global.
5526 * gdb.mi/mi-frame-regs.exp: New file.
5527 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
5528 case.
5529
b1b189e0
AB
55302018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
5531
5532 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
5533 non-parameter, and on an unknown symbol.
5534
fcfcc376
TT
55352018-01-19 Tom Tromey <tom@tromey.com>
5536
5537 * gdb.rust/modules.rs (TWENTY_THREE): New global.
5538 * gdb.rust/modules.exp: Add ::-qualified lookup test.
5539
634c1c31
AA
55402018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5541
5542 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
5543 setrlimit and chdir to int.
5544
d6ad07fd
AA
55452018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5546
5547 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
5548 function.
5549 (my_tend): Likewise.
5550 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
5551 rationale of avoiding FP- and vector instructions.
5552
adf8243b
RK
55532018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
5554
5555 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
5556 "info reg" with "\[ \t\]*".
5557 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
5558 "\[ \t\]+".
5559 * gdb.arch/s390-multiarch.exp: Ditto.
5560 * gdb.base/pc-fp.exp: Ditto.
5561 * gdb.reverse/i386-precsave.exp: Ditto.
5562 * gdb.reverse/i386-reverse.exp: Ditto.
5563 * gdb.reverse/i387-env-reverse.exp: Ditto.
5564 * gdb.reverse/i387-stack-reverse.exp: Ditto.
5565
dcc06925
AA
55662018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
5567
5568 * lib/gdb.exp (gdb_compile): Re-enable use of
5569 universal_compile_options for languages other than Rust.
5570
25d4fd80
AA
55712018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
5572
5573 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
5574
ee7f689e 55752018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
5576
5577 PR gdb/16577
5578 * gdb.base/solib-vanish.exp: New.
5579 * gdb.base/solib-vanish-main.c: New.
5580 * gdb.base/solib-vanish-lib1.c: New.
5581 * gdb.base/solib-vanish-lib2.c: New.
5582
d8447b6b
YQ
55832018-01-17 Yao Qi <yao.qi@linaro.org>
5584
5585 * gdb.compile/compile.exp: Match the address printed for
5586 frame in the output of command "bt".
5587
86d6a90c
TT
55882018-01-15 Tom Tromey <tom@tromey.com>
5589
5590 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
5591 compute sp_reg.
5592
cbcdb1aa
AB
55932018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
5594
5595 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
5596 to prepare.
5597 (prepare): Return 0 on error, 1 on success.
5598
eea61984
PA
55992018-01-12 Pedro Alves <palves@redhat.com>
5600
5601 * gdb.base/continue-after-aborted-step-over.c: New.
5602 * gdb.base/continue-after-aborted-step-over.exp: New.
5603
6181e9c2
SM
56042018-01-11 Simon Marchi <simon.marchi@ericsson.com>
5605
5606 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
5607 options when not creating an executable.
5608
3cada740
PA
56092018-01-11 Pedro Alves <palves@redhat.com>
5610
5611 PR remote/22597
5612 * gdb.server/stop-reply-no-thread.c: New file.
5613 * gdb.server/stop-reply-no-thread.exp: New file.
5614
c63d3e8d
PA
56152018-01-10 Pedro Alves <palves@redhat.com>
5616
5617 PR gdb/22670
5618 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
5619 functions too. Test setting breakpoints and printing C functions
5620 with no debug info too.
5621 * gdb.ada/bp_c_mixed_case/qux.c: New file.
5622
d4c2a405
PA
56232018-01-10 Pedro Alves <palves@redhat.com>
5624
5625 PR gdb/22670
5626 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
5627 a fail.
5628
8825213e
PA
56292018-01-10 Pedro Alves <palves@redhat.com>
5630
5631 PR gdb/22670
5632 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
5633
605fd3c6
YQ
56342018-01-08 Simon Marchi <simon.marchi@ericsson.com>
5635
5636 * gdb.server/unittest.exp: Match the output in non-development
5637 mode.
5638
1e5ded6c
YQ
56392018-01-08 Simon Marchi <simon.marchi@ericsson.com>
5640
5641 * gdb.gdb/unittest.exp: Match output in non-development mode.
5642
30066b0b
JB
56432018-01-08 Joel Brobecker <brobecker@adacore.com>
5644
5645 * gdb.ada/access_tagged_param.exp: Relax expected output
5646 for value of "ObjL" in "continue" to pck.inspect breakpoint
5647 test.
5648
04bafb1e
XR
56492018-01-08 Joel Brobecker <brobecker@adacore.com>
5650
9f86398b
JB
5651 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
5652 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 5653
e379cee6
PA
56542018-01-05 Pedro Alves <palves@redhat.com>
5655
5656 PR gdb/18653
5657 * gdb.base/libsegfault.exp: New.
5658
de63c46b
PA
56592018-01-05 Joel Brobecker <brobecker@adacore.com>
5660
5661 PR gdb/22670
5662 * gdb.ada/access_tagged_param.exp: New file.
5663 * gdb.ada/access_tagged_param/foo.adb: New file.
5664
f98fc17b
PA
56652018-01-05 Pedro Alves <palves@redhat.com>
5666
5667 PR gdb/22670
5668 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
5669 exercise lower case too, and to exercise both full matching and
5670 wild matching.
5671
342f8240
JB
56722018-01-05 Joel Brobecker <brobecker@adacore.com>
5673
5674 * gdb.ada/rename_subscript_param: New testcase.
5675
7150d33c
JG
56762018-01-05 Jerome Guitton <guitton@adacore.com>
5677
5678 * gdb.ada/arr_acc_idx_w_gap: New testcase.
5679
cc0e770c
JB
56802018-01-05 Joel Brobecker <brobecker@adacore.com>
5681
5682 * gdb.ada/convvar_comp: New testcase.
5683
672a41aa 56842018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
5685
5686 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
5687 (My_Table): New global variable.
5688 * testsuite/gdb.ada/array_char_idx.exp: Add test.
5689
7365ec2f
JB
56902018-01-04 Joel Brobecker <brobecker@adacore.com>
5691
5692 PR gdb/22670
5693 * gdb.ada/maint_with_ada: New testcase.
5694
289483b6
JB
56952018-01-04 Joel Brobecker <brobecker@adacore.com>
5696
5697 PR gdb/22670
5698 * gdb.ada/bp_c_mixed_case: New testcase.
5699
344420da
JB
57002018-01-04 Joel Brobecker <brobecker@adacore.com>
5701
5702 PR gdb/22670
5703 * gdb.ada/complete.exp: Add "complete break ada" test.
5704
66fc87a0
JB
57052018-01-04 Joel Brobecker <brobecker@adacore.com>
5706
5707 PR gdb/22670
5708 * gdb.ada/info_addr_mixed_case: New testcase.
5709
9f757bf7
XR
57102018-01-03 Xavier Roirand <roirand@adacore.com>
5711
5712 * gdb.ada/excep_handle.exp: New testcase.
5713 * gdb.ada/excep_handle/foo.adb: New file.
5714 * gdb.ada/excep_handle/pck.ads: New file.
5715
bd570f80
JB
57162018-01-03 Joel Brobecker <brobecker@adacore.com>
5717
5718 * gdb.base/step-line.c: Add extra empty line in copyright header.
5719 * gdb.base/step-line.inp: Likewise.
5720
9fe561ab
JB
57212018-01-02 Joel Brobecker <brobecker@adacore.com>
5722
5723 * gdb.ada/dyn_stride.exp: Add slice test.
5724
a405673c
JB
57252018-01-02 Joel Brobecker <brobecker@adacore.com>
5726
5727 * gdb.ada/dyn_stride: New testcase.
5728
cef0f868
SH
57292017-12-27 Stafford Horne <shorne@gmail.com>
5730
5731 * gdb.xml/extra-regs.xml: Add example foo reggroup.
5732 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
5733
b67d92b0
SH
57342017-12-27 Stafford Horne <shorne@gmail.com>
5735
5736 * gdb.base/reggroups.c: New file.
5737 * gdb.base/reggroups.exp: New file.
5738
eccab96d
JB
57392017-12-18 Joel Brobecker <brobecker@adacore.com>
5740
5741 * gdb.dwarf2/ada-valprint-error.c: New file.
5742 * gdb.dwarf2/ada-valprint-error.exp: New file.
5743
0e2da9f0
JB
57442017-12-18 Joel Brobecker <brobecker@adacore.com>
5745
5746 * gdb.ada/assign_arr: New testcase.
5747
cb923fcc
XR
57482017-12-18 Xavier Roirand <roirand@adacore.com>
5749
5750 * gdb.ada/funcall_ptr: New testcase.
5751
7c161838
SDJ
57522017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5753
5754 PR cli/16224
5755 * gdb.base/ptype-offsets.cc: New file.
5756 * gdb.base/ptype-offsets.exp: New file.
5757
1af17fd9
YQ
57582017-12-15 Yao Qi <yao.qi@linaro.org>
5759
5760 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
5761 if XML is disabled.
5762
828d5846
XR
57632017-12-15 Xavier Roirand <roirand@adacore.com>
5764
5765 * gdb.ada/same_component_name: New testcase.
5766
79e8fcaa
JB
57672017-12-14 Joel Brobecker <brobecker@adacore.com>
5768
5769 * gdb.ada/str_binop_equal: New testcase.
5770
e05fa6f9
JB
57712017-12-14 Joel Brobecker <brobecker@adacore.com>
5772
5773 * gdb.ada/task_switch_in_core: New testcase.
5774
b89641ba
SM
57752017-12-13 Simon Marchi <simon.marchi@ericsson.com>
5776
5777 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
5778 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
5779 call test_bkpt_qualified.
5780 (test_bkpt_qualified): New proc.
5781
6892d2e4
PA
57822017-12-13 Pedro Alves <palves@redhat.com>
5783
5784 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
5785 Tighten regexp by matching with an anchor.
5786
a22ecf70
PA
57872017-12-13 Pedro Alves <palves@redhat.com>
5788
5789 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
5790 ("expression with namespace"): New set of tests.
5791 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
5792 (Nested::Test_NS::qux): New.
5793 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
5794 defaults to 'start_quote_char' and 'end_quote_char' parameters.
5795
9937536c
JB
57962017-12-13 Joel Brobecker <brobecker@adacore.com>
5797
5798 * gdb.base/server-del-break.c: New file.
5799 * gdb.base/server-del-break.exp: New file.
5800
fe49c6f5
SH
58012017-12-12 Stafford Horne <shorne@gmail.com>
5802
5803 * gdb.xml/tdesc-regs.exp: Add or1k support.
5804
c3d18620
SH
58052017-12-12 Stafford Horne <shorne@gmail.com>
5806
5807 * gdb.base/bp-permanent.c: Define nop of or1k.
5808
c5f9cfc8
JB
58092017-12-11 Joel Brobecker <brobecker@adacore.com>
5810
5811 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
5812 output with components being reordered.
5813
a9c135fc
JB
58142017-12-11 Joel Brobecker <brobecker@adacore.com>
5815
5816 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
5817 output with components being reordered.
5818
927aa2e7
JK
58192017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5820 Pedro Alves <palves@redhat.com>
5821
5822 * gdb.base/maint.exp (check for .gdb_index): Check also for
5823 .debug_names.
5824 * gdb.dlang/watch-loc.c (.debug_aranges): New.
5825 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
5826 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
5827 (.gdb_index used after symbol reloading): Support also .debug_names.
5828 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
5829
f17d9474
YQ
58302017-12-08 Yao Qi <yao.qi@linaro.org>
5831
5832 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
5833 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
5834
a0de8c21
YQ
58352017-12-08 Yao Qi <yao.qi@linaro.org>
5836
5837 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
5838 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
5839
a738ea1d
YQ
58402017-12-08 Yao Qi <yao.qi@linaro.org>
5841
5842 * gdb.arch/aarch64-tagged-pointer.c: New file.
5843 * gdb.arch/aarch64-tagged-pointer.exp: New file.
5844
1cd9a73b
SDJ
58452017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
5846
5847 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
5848 "int".
5849
fa6eb693
KS
58502017-12-07 Keith Seitz <keiths@redhat.com>
5851
5852 PR breakpoints/22569
5853 * gdb.linespec/ls-errs.exp: Change expected result of "break
5854 -source this file has spaces.c -line 3".
5855 Check that an explicit source file followed by whitespace is
5856 identified as an invalid explicit location.
5857
883fd55a
KS
58582017-12-07 Keith Seitz <keiths@redhat.com>
5859
5860 * gdb.cp/nested-types.cc: New file.
5861 * gdb.cp/nested-types.exp: New file.
5862 * lib/cp-support.exp: Load data-structures.exp library.
5863 (debug_cp_test_ptype_class): New global.
5864 (cp_ptype_class_verbose, next_line): New procedures.
5865 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
5866 Add and document new return value.
5867 Switch the list of lines to a queue.
5868 Add support for new `type' key for nested type definitions.
5869 Add debugging/troubleshooting messages.
5870 * lib/data-structures.exp: New file.
5871
ec72db3e
SM
58722017-12-07 Simon Marchi <simon.marchi@ericsson.com>
5873
5874 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
5875 with proc_with_prefix, don't use with_test_prefix.
5876
99598d71
TT
58772017-12-07 Tom Tromey <tom@tromey.com>
5878
5879 * gdb.base/break.exp: Add test for empty "commands".
5880
a8806230
YQ
58812017-12-07 Yao Qi <yao.qi@linaro.org>
5882
5883 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
5884 malloc and catch syscall.
5885
824cc835
PM
58862017-12-07 Phil Muldoon <pmuldoon@redhat.com>
5887
e79be6e5 5888 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
5889 tests for explicit locations.
5890
7cc244de
PA
58912017-12-06 Pedro Alves <palves@redhat.com>
5892
5893 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
5894 force-disabling XML descriptions.
5895
50a1fdd5
PA
58962017-12-04 Pedro Alves <palves@redhat.com>
5897
5898 PR gdb/22499
5899 * gdb.arch/amd64-disp-step-avx.S: New file.
5900 * gdb.arch/amd64-disp-step-avx.exp: New file.
5901
f0fb2488
PA
59022017-12-03 Pedro Alves <palves@redhat.com>
5903
5904 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
5905 and <string.h>.
5906 (parent_function): Print distinct messages when waitpid fails, or
5907 the child exits with a signal, or the child exits for an unhandled
5908 reason.
5909 * gdb.threads/process-dies-while-detaching.exp
5910 (detach_and_expect_exit): New 'inf_output_re' parameter and use
5911 it. Wait for both inferior output and GDB's prompt. Use an
5912 indirect spawn id list.
5913 (do_detach): New parameter 'child_exit'. Use it to compute
5914 expected inferior output.
5915 (test_detach, test_detach_watch, test_detach_killed_outside):
5916 Adjust to pass down the expected child exit kind.
5917
97cbe998
SDJ
59182017-12-01 Joel Brobecker <brobecker@adacore.com>
5919 Sergio Durigan Junior <sergiodj@redhat.com>
5920 Pedro Alves <palves@redhat.com>
5921
5922 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
5923
40fc416f
SDJ
59242017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
5925
5926 * gdb.base/relocate.exp: Add tests to guarantee that arguments
5927 to 'symbol-file' and 'add-symbol-file' can be
5928 position-independent.
5929
1cc75e92
YQ
59302017-12-01 Yao Qi <yao.qi@linaro.org>
5931
5932 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
5933 the URL in copyright header.
5934 * gdb.arch/aarch64-fp.exp: Likewise.
5935 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
5936 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
5937 * gdb.base/expand-psymtabs.exp: Likewise.
5938 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
5939 * gdb.fortran/common-block.exp: Likewise.
5940 * gdb.fortran/common-block.f90: Likewise.
5941 * gdb.fortran/logical.exp: Likewise.
5942 * gdb.fortran/vla-datatypes.f90: Likewise.
5943 * gdb.fortran/vla-sub.f90: Likewise.
5944
875fb7a7
JB
59452017-11-30 Joel Brobecker <brobecker@adacore.com>
5946
5947 * gdb.ada/repeat_dyn: New testcase.
5948
6f14765f
UW
59492017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
5950
5951 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
5952 Update for changed thread numbering.
5953 * gdb.cell/bt.exp: Update for changed GDB output.
5954
f1af7b94
SM
59552017-11-30 Simon Marchi <simon.marchi@ericsson.com>
5956
5957 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
5958 setting isremote by hand.
5959 * boards/dwarf4-gdb-index.exp: Likewise.
5960 * boards/fission.exp: Likewise.
5961 * boards/stabs.exp: Likewise.
5962
e3919f3e
PA
59632017-11-30 Pedro Alves <palves@redhat.com>
5964
5965 * gdb.linespec/cpls-ops.exp
5966 (check_explicit_skips_function_argument): Extract the underlying
5967 type of size_t instead of hardcoding it.
5968
bd69330d
PA
59692017-11-29 Pedro Alves <palves@redhat.com>
5970
5971 PR c++/19436
5972 * gdb.linespec/cpls-abi-tag.cc: New file.
5973 * gdb.linespec/cpls-abi-tag.exp: New file.
5974
a20714ff
PA
59752017-11-29 Pedro Alves <palves@redhat.com>
5976
5977 * gdb.base/langs.exp: Use -qualified.
5978 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
5979 it.
5980 * gdb.cp/namespace.exp: Use -qualified.
5981 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
5982 (overload-3, template-overload, template-ret-type, const-overload)
5983 (const-overload-quoted, anon-ns, ambiguous-prefix): New
5984 procedures.
5985 (test_driver): Call them.
5986 * gdb.cp/save-bp-qualified.cc: New.
5987 * gdb.cp/save-bp-qualified.exp: New.
5988 * gdb.linespec/explicit.exp: Test -qualified.
5989 * lib/completion-support.exp (completion::explicit_opts_list): Add
5990 "-qualified".
5991 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
5992
f6f1d339
PM
59932017-11-29 Phil Muldoon <pmuldoon@redhat.com>
5994
5995 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
5996
02ca603a
TT
59972017-11-29 Tom Tromey <tom@tromey.com>
5998
5999 * gdb.base/relocate.exp: Update invalid argument test.
6000 Add new tests for invalid arguments.
6001
ed6c0bfb
TP
60022017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
6003
6004 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
6005 Return 0 as a long.
6006 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
6007
f106e10e
TP
60082017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
6009
6010 * gdb.cp/breakpoint.cc (bar): Set return type to void.
6011 * gdb.cp/psymtab-parameter.cc (func): Likewise.
6012 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
6013 func ().
6014 * gdb.cp/shadow.cc (B.func): Return 0.
6015
10329bb2
JB
60162017-11-27 Joel Brobecker <brobecker@adacore.com>
6017
6018 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
6019 expected output in gdb_expect call to allow the exception
6020 message to be present as well. Fix syntax confusion to avoid
6021 TCL thinking that exception_name is an array.
6022
617cd4bc
UW
60232017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
6024
6025 * gdb.arch/spu-info.c: Include <unistd.h>.
6026 (do_signal_test): Fix broken calls to write.
6027 * gdb.arch/spu-info.exp: Use prepare_for_testing.
6028 Fix checks for empty mailboxes. Update signal tests for corrected
6029 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
6030 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
6031 * gdb.cell/arch.exp: Use standard_output_file.
6032 * gdb.cell/break.exp: Likewise.
6033 * gdb.cell/bt.exp: Likewise.
6034 * gdb.cell/core.exp: Likewise.
6035 * gdb.cell/dwarfaddr.exp: Likewise.
6036 * gdb.cell/ea-cache.exp: Likewise.
6037 * gdb.cell/ea-standalone.exp: Likewise.
6038 * gdb.cell/f-regs.exp: Likewise.
6039 * gdb.cell/fork.exp: Likewise.
6040 * gdb.cell/gcore.exp: Likewise.
6041 * gdb.cell/mem-access.exp: Likewise.
6042 * gdb.cell/ptype.exp: Likewise.
6043 * gdb.cell/registers.exp: Likewise.
6044 * gdb.cell/sizeof.exp: Likewise.
6045 * gdb.cell/solib-symbol.exp: Likewise.
6046 * gdb.cell/solib.exp: Likewise.
617cd4bc 6047
a81aaca0
PA
60482017-11-25 Pedro Alves <palves@redhat.com>
6049
6050 * gdb.base/complete-empty.exp: New file.
6051 * gdb.base/completion.exp: Adjust.
6052
6a3c6ee4
PA
60532017-11-25 Pedro Alves <palves@redhat.com>
6054
6055 * gdb.linespec/cpls-ops.cc: New file.
6056 * gdb.linespec/cpls-ops.exp: New file.
6057 * lib/completion-support.exp (test_complete_prefix_range_re): New,
6058 factored out from ...
6059 (test_complete_prefix_range): ... this.
6060
8955eb2d
PA
60612017-11-24 Pedro Alves <palves@redhat.com>
6062
6063 * gdb.linespec/cpcompletion.exp: New file.
6064 * gdb.linespec/cpls-hyphen.cc: New file.
6065 * gdb.linespec/cpls.cc: New file.
6066 * gdb.linespec/cpls2.cc: New file.
6067 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
6068 test to use test_gdb_complete_unique. Add label completion,
6069 keyword completion and explicit location completion tests.
6070 * lib/completion-support.exp: New file.
6071
e547c119
JB
60722017-11-24 Joel Brobecker <brobecker@adacore.com>
6073
6074 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
6075 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
6076 when hitting an exception catchpoint.
6077
7c3c1aa8
YQ
60782017-11-22 Yao Qi <yao.qi@linaro.org>
6079
6080 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
6081
41bd68f5
SM
60822017-11-22 Simon Marchi <simon.marchi@ericsson.com>
6083
6084 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
6085 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
6086 * gdb.dwarf2/info-locals-optimized-out.c: New file.
6087
1daad298
YQ
60882017-11-22 Yao Qi <yao.qi@linaro.org>
6089
6090 * gdb.base/info-os.exp: Pass pthreads.
6091 * gdb.multi/multi-attach.exp: Likewise.
6092
88465e87
YQ
60932017-11-22 Yao Qi <yao.qi@linaro.org>
6094
6095 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
6096 compiler.
6097
dc196b23
YQ
60982017-11-22 Yao Qi <yao.qi@linaro.org>
6099
6100 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
6101 * gdb.base/break-interp.exp: Likewise.
6102 * gdb.base/jit-attach-pie.exp: Likewise.
6103
2400729e
UW
61042017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
6105
6106 * gdb.base/float128.c (large128): New variable.
6107 * gdb.base/float128.exp: Add test to print largest __float128 value.
6108
7a26362d
UW
61092017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
6110
6111 * gdb.arch/vsx-regs.exp: Update register content checks.
6112
ed0f4273
UW
61132017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
6114
6115 * gdb.arch/ppc-longdouble.exp: New file.
6116 * gdb.arch/ppc-longdouble.c: Likewise.
6117
a25d69c6
PA
61182017-11-21 Pedro Alves <palves@redhat.com>
6119
6120 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
6121
73fcf641
PA
61222017-11-20 Pedro Alves <palves@redhat.com>
6123
6124 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
6125 (long_double_typedef): New typedefs.
6126 Use DEF on double and long double.
6127 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
6128 cases.
6129 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
6130 and 'long_double_ptr_same_size' locals. Use them to decide
6131 whether cast from array/function to float is valid/invalid.
6132
71a3c369
TT
61332017-11-17 Tom Tromey <tom@tromey.com>
6134
6135 * gdb.rust/traits.rs: New file.
6136 * gdb.rust/traits.exp: New file.
6137
ced9779b
JB
61382017-11-17 Joel Brobecker <brobecker@adacore.com>
6139
6140 * gdb.ada/minsyms: New testcase.
6141
a0922d80
PA
61422017-11-16 Pedro Alves <palves@redhat.com>
6143
6144 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
6145 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
6146
ea04e54c
PA
61472017-11-16 Pedro Alves <palves@redhat.com>
6148
6149 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
6150 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
6151
e849ea89
PA
61522017-11-16 Pedro Alves <palves@redhat.com>
6153
6154 * gdb.server/reconnect-ctrl-c.c: New file.
6155 * gdb.server/reconnect-ctrl-c.exp: New file.
6156
d8ae99a7
PM
61572017-11-16 Phil Muldoon <pmuldoon@redhat.com>
6158
6159 * gdb.python/py-rbreak.exp: New file.
6160 * gdb.python/py-rbreak.c: New file.
6161 * gdb.python/py-rbreak-func2.c: New file.
6162
968a13f8
PA
61632017-11-16 Pedro Alves <palves@redhat.com>
6164
6165 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
6166 pattern.
6167 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
6168 GDB.
6169
71774bc9
SM
61702017-11-15 Simon Marchi <simon.marchi@ericsson.com>
6171
6172 * gdb.tui/completionn.exp (test_tab_completion): Add space in
6173 regex.
6174
ddbb44cf
SM
61752017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
6176
6177 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
6178 test names.
6179
584a564f
PA
61802017-11-09 Pedro Alves <palves@redhat.com>
6181
6182 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
6183 factored out from ...
6184 (top level): ... here, and adjusted to avoid expecting beyond the
6185 prompt in a single gdb_test_multiple.
6186
5ed7a928
PA
61872017-11-09 Pedro Alves <palves@redhat.com>
6188
6189 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
6190 output.
6191 * gdb.server/ext-attach.exp ("kill" test): Likewise.
6192 * gdb.server/ext-restart.exp ("kill" test): Likewise.
6193 * gdb.server/ext-run.exp ("kill" test): Likewise.
6194 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
6195
a60e0738
PA
61962017-11-09 Pedro Alves <palves@redhat.com>
6197
6198 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
6199 match till end of line.
6200
2c88253f
PA
62012017-11-09 Pedro Alves <palves@redhat.com>
6202
6203 * gdb.base/memattr.exp: Tighten regexes to match the end line.
6204
c7a38517
PA
62052017-11-09 Pedro Alves <palves@redhat.com>
6206
6207 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
6208 New procedures, factored out from ...
6209 (top level): ... here, and adjusted to avoid expecting beyond the
6210 prompt in one go.
6211
f29f4b6b
PA
62122017-11-09 Pedro Alves <palves@redhat.com>
6213
6214 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
6215 output. Fix '?' match.
6216
286acbb5
JB
62172017-11-08 Joel Brobecker <brobecker@adacore.com>
6218
6219 * gdb.ada/scoped_watch: New testcase.
6220 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
6221 which is actually correct.
6222 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
6223 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
6224
62d7ae92
PA
62252017-11-08 Pedro Alves <palves@redhat.com>
6226
6227 * gdb.gdb/complaints.exp (test_initial_complaints)
6228 (test_serial_complaints, test_short_complaints): Call
6229 complaint_internal instead of complaint.
6230
280ca31f
DT
62312017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
6232
6233 * gdb.threads/tls-core.c: New file.
6234 * gdb.threads/tls-core.exp: Likewise.
6235
b5ec771e
PA
62362017-11-08 Pedro Alves <palves@redhat.com>
6237
6238 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
6239 (p Exported_Capitalized): New test.
6240 (p exported_capitalized): New test.
6241
a02b41a7
PA
62422017-11-07 Pedro Alves <palves@redhat.com>
6243
6244 * gdb.cp/ena-dis-br-range.exp: Add more tests.
6245
95e95a6d
PA
62462017-11-07 Pedro Alves <palves@redhat.com>
6247
6248 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
6249 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
6250 (disable_invalid, disable_inverted, disable_negative): New
6251 procedures.
6252 ("bad numbers"): New set of tests.
6253
cee62dbd
PA
62542017-11-07 Pedro Alves <palves@redhat.com>
6255
6256 * gdb.cp/ena-dis-br-range.exp: Add tests.
6257
cc638e86
PA
62582017-11-07 Pedro Alves <palves@redhat.com>
6259
6260 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
6261
d0fe4701
XR
62622017-11-07 Xavier Roirand <roirand@adacore.com>
6263 Pedro Alves <palves@redhat.com>
6264
6265 * gdb.base/ena-dis-br.exp: Add reference to
6266 gdb.cp/ena-dis-br-range.exp.
6267 * gdb.cp/ena-dis-br-range.exp: New file.
6268 * gdb.cp/ena-dis-br-range.cc: New file.
6269
46f67f80
PA
62702017-11-06 Pedro Alves <palves@redhat.com>
6271
6272 * gdb.base/attach-non-pgrp-leader.c: New.
6273 * gdb.base/attach-non-pgrp-leader.exp: New.
6274
726e1356
PA
62752017-11-06 Pedro Alves <palves@redhat.com>
6276
6277 * configure.ac: No longer check for termio.h and sgtty.h.
6278 * configure: Regenerate.
6279 * remote-utils.c: Include termios.h instead of gdb_termios.h.
6280 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
6281 Remove termio and sgtty code.
6282
50ab6ace
YQ
62832017-11-03 Yao Qi <yao.qi@linaro.org>
6284
6285 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
6286 in GDB is disabled.
6287
8e68731c
YQ
62882017-11-03 Yao Qi <yao.qi@linaro.org>
6289
6290 * gdb.python/py-thrhandle.exp: Skip it if python is not
6291 enabled.
6292
3a87ae65
SM
62932017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
6294
6295 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
6296 as a breakpoint command.
6297
484d8d36
MD
62982017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
6299
6300 PR python/21213
6301 * gdb.python/py-infthread.exp: Test calling
6302 InferiorThread.inferior () multiple times in a row.
6303
4a27f119
KS
63042017-10-27 Keith Seitz <keiths@redhat.com>
6305
6306 * gdb.opt/inline-break.exp (break_info_1): New procedure.
6307 Test "info break" for every inlined function breakpoint.
6308
bb11dd58
YQ
63092017-10-27 Yao Qi <yao.qi@linaro.org>
6310
6311 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
6312
a43f3893
PF
63132017-10-26 Patrick Frants <osscontribute@gmail.com>
6314
6315 * gdb.cp/classes.exp (test_static_members): Test printing
6316 Outer::instance.
6317 * gdb.cp/classes.c (struct Inner, struct Outer): New.
6318 (Inner::instance, Outer::instance): New.
6319
792ccf00
PA
63202017-10-24 Pedro Alves <palves@redhat.com>
6321
6322 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
6323 extra console" test in two stages.
6324
eb2bfbad
PA
63252017-10-24 Pedro Alves <palves@redhat.com>
6326
6327 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
6328
1f75a651
PA
63292017-10-24 Pedro Alves <palves@redhat.com>
6330
6331 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
6332 loop.
6333
779990d9
PA
63342017-10-24 Pedro Alves <palves@redhat.com>
6335
6336 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
6337 $attempt" and "stoppedtry $stoppedtry" test prefixes.
6338
ad9b8f5d
PA
63392017-10-24 Pedro Alves <palves@redhat.com>
6340
6341 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
6342 parameter and handle it. Don't output read value in test name.
6343
fee6da6e
PA
63442017-10-24 Pedro Alves <palves@redhat.com>
6345
6346 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
6347 custom test name.
6348
10389c2c
PA
63492017-10-24 Pedro Alves <palves@redhat.com>
6350
6351 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
6352 include the unstable output directory name in the test's name.
6353 (initial_setup_simple) <'set args'>: Use custom test name.
6354
a80e65a9
PA
63552017-10-24 Pedro Alves <palves@redhat.com>
6356
6357 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
6358 with explicit test name.
6359
15763a09
PA
63602017-10-20 Pedro Alves <palves@redhat.com>
6361
6362 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
6363 'wait -i'. Use gdb_assert and remote_close.
6364
49a4ce2e
AB
63652017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
6366
6367 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
6368 number from variable rather than hard-coded.
6369
a75868f5
PA
63702017-10-19 Pedro Alves <palves@redhat.com>
6371
6372 * gdb.base/long-inferior-output.c: New file.
6373 * gdb.base/long-inferior-output.exp: New file.
6374
c8ba13ad
KS
63752017-11-18 Keith Seitz <keiths@redhat.com>
6376
6377 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
6378 method.
6379 (main): Call it.
6380 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
6381 Add additional user-defined conversion operator tests.
6382
b27de576
PA
63832017-10-17 Pedro Alves <palves@redhat.com>
6384
6385 * boards/native-stdio-gdbserver.exp: Load "local-board".
6386
8484c955
PA
63872017-10-17 Pedro Alves <palves@redhat.com>
6388
6389 * gdb.base/quit-live.c: New file.
6390 * gdb.base/quit-live.exp: New file.
6391
83d5a34d
KS
63922017-10-16 Keith Seitz <keiths@redhat.com>
6393
6394 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
6395 (class_with_protected_typedef, class_with_private_typedef)
6396 (struct_with_public_typedef, struct_with_protected_typedef)
6397 (struct_with_private_typedef): New classes/structs.
6398 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
6399 typedefs and access specifiers.
6400
739b3f1d
PA
64012017-10-16 Pedro Alves <palves@redhat.com>
6402 Simon Marchi <simon.marchi@polymtl.ca>
6403
6404 * README (Local vs Remote vs Native): New section.
6405 * boards/local-board.exp: New file, with bits factored out from
6406 ...
6407 * boards/native-extended-gdbserver.exp: ... here. Load
6408 "local-board".
6409 * boards/native-gdbserver.exp: Load "local-board".
6410 (${board}_spawn, ${board}_exec): Delete.
6411 * boards/native-stdio-gdbserver.exp: Most contents factored out to
6412 ...
6413 * boards/stdio-gdbserver-base.exp: ... this new file.
6414 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
6415 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
6416 procedure.
6417 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
6418 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
6419 stdio_gdbserver_command.
6420 (${board}_get_remote_address, ${board}_get_comm_port)
6421 (${board}_download, ${board}_upload): Delete.
6422 (get_target_remote_pipe_cmd): New.
6423
fe68b953
SM
64242017-10-16 Simon Marchi <simon.marchi@ericsson.com>
6425
6426 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
6427 test_bkpt_deletion, test_bkpt_cond_and_cmds,
6428 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
6429 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
6430 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
6431 remove with_test_prefix.
6432
300b6685
PA
64332017-10-13 Pedro Alves <palves@redhat.com>
6434
6435 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
6436 * gdb.base/annota1.exp: Use it instead of is_remote.
6437 * gdb.base/annota3.exp: Use it instead of is_remote.
6438 * gdb.cp/annota2.exp: Use it instead of is_remote.
6439 * gdb.cp/annota3.exp: Use it instead of is_remote.
6440 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
6441
50500caf
PA
64422017-10-13 Pedro Alves <palves@redhat.com>
6443
6444 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
6445 (test_num_test_vars, run_and_count_vars, find_env)
6446 (test_set_unset_env, test_inherit_env_var): New procedures.
6447 (top level): Use them.
6448
dad0c6d2
PA
64492017-10-13 Pedro Alves <palves@redhat.com>
6450
6451 * lib/selftest-support.exp (selftest_setup): Extend comments, and
6452 also skip on stub-like targets.
6453
8b0553c1
PA
64542017-10-13 Pedro Alves <palves@redhat.com>
6455
6456 PR gdb/22293
6457 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
6458 (top level): Move some tests to ...
6459 (test_not_found): ... this new procedure.
6460 (top level): Call it.
6461
7594f623
PA
64622017-10-13 Pedro Alves <palves@redhat.com>
6463
6464 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
6465 expect different "info terminal" output if testing with a
6466 non-native target.
6467
ebe3b402
PA
64682017-10-13 Pedro Alves <palves@redhat.com>
6469 Simon Marchi <simon.marchi@polymtl.ca>
6470
6471 PR python/12966
6472 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
6473
42f1b161
PA
64742017-10-13 Pedro Alves <palves@redhat.com>
6475
6476 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
6477 already.
6478
8d6ef72b
PA
64792017-10-13 Pedro Alves <palves@redhat.com>
6480
6481 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
6482 is_remote.
6483
d7bcd5b8
PA
64842017-10-13 Pedro Alves <palves@redhat.com>
6485
6486 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
6487 is_remote.
6488
df479dc6
PA
64892017-10-13 Pedro Alves <palves@redhat.com>
6490
6491 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
6492 is set.
6493 (corefile_test_attach): Likewise. Check can_spawn_for_attach
6494 instead of is_remote.
6495
23fb630a
PA
64962017-10-13 Pedro Alves <palves@redhat.com>
6497
6498 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
6499 (top level): Add comment.
6500
cc77b1dc
PA
65012017-10-13 Pedro Alves <palves@redhat.com>
6502
6503 * gdb.base/remote.exp (top level): Fix comment typo and add
6504 missing return.
6505
27c9e813
PA
65062017-10-13 Pedro Alves <palves@redhat.com>
6507 Simon Marchi <simon.marchi@polymtl.ca>
6508
6509 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
6510 calls and add comments. Skip test if use_gdb_stub is set.
6511 (top level): Use "set cwd" command instead of "cd" command.
6512
5e830d98
PA
65132017-10-13 Pedro Alves <palves@redhat.com>
6514
6515 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
6516 is_remote target check.
6517
f5ca0032
PA
65182017-10-13 Pedro Alves <palves@redhat.com>
6519
6520 * gdb.base/scope.exp: Use build_executable + clean_restart +
6521 gdb_file_cmd instead of prepare_for_testing and no longer skip
6522 "before run" tests on is_remote target boards. Update comments.
6523 * boards/native-extended-gdbserver.exp
6524 (extended_gdbserver_load_last_file): New, factored out from ...
6525 (gdb_load): ... this. Move further below and add comment.
6526 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
6527
8aed1c0d
PA
65282017-10-12 Pedro Alves <palves@redhat.com>
6529
6530 * gdb.base/attach.exp: Remove references to gdb64.
6531 * gdb.base/dbx.exp: Remove references to gdb64.
6532
cfa34c87
SM
65332017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
6534 Pedro Alves <palves@redhat.com>
6535
6536 * gdb.base/label.exp: Remove is_remote target check.
6537
9192b7de
PA
65382017-10-12 Pedro Alves <palves@redhat.com>
6539
6540 * gdb.base/auvx.exp (coredir): Update comment.
6541 (top level) <core_works>: Use "set cwd" command instead of "cd"
6542 command.
6543
6bf0052d
PA
65442017-10-12 Pedro Alves <palves@redhat.com>
6545 Simon Marchi <simon.marchi@polymtl.ca>
6546
6547 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
6548 target boards.
6549
e48ef82d
PA
65502017-10-12 Pedro Alves <palves@redhat.com>
6551 Simon Marchi <simon.marchi@polymtl.ca>
6552
6553 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
6554 Instead skip if there's any gdb_protocol set.
6555
8d7aea57
SM
65562017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
6557 Pedro Alves <palves@redhat.com>
6558
6559 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
6560
30440677
PA
65612017-10-12 Pedro Alves <palves@redhat.com>
6562 Simon Marchi <simon.marchi@polymtl.ca>
6563
6564 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
6565 instead of on dejagnu remote boards.
6566
4e04f045 65672017-10-12 Pedro Alves <palves@redhat.com>
175654b9 6568 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
6569
6570 * gdb.base/inferior-died.exp: Remove is_remote and isnative
6571 checks. Use build_executable + clean_restart instead of
6572 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
6573 of enabling non-stop after starting gdb.
6574
871a186e
PA
65752017-10-12 Pedro Alves <palves@redhat.com>
6576
6577 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
6578 * gdb.threads/non-ldr-exc-2.exp: Ditto.
6579 * gdb.threads/non-ldr-exc-3.exp: Ditto.
6580 * gdb.threads/non-ldr-exc-4.exp: Ditto.
6581
56d704da
AK
65822017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
6583
6584 * gdb.arch/arc-tdesc-cpu.exp: New file.
6585 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
6586
2f20e312
SM
65872017-10-10 Simon Marchi <simon.marchi@ericsson.com>
6588
6589 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
6590
65630365
PA
65912017-10-10 Pedro Alves <palves@redhat.com>
6592
6593 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
6594 expect CLI output.
6595
bf469271
PA
65962017-10-10 Pedro Alves <palves@redhat.com>
6597
6598 * lib/selftest-support.exp (selftest_setup): Update for
6599 captured_command_loop's prototype change.
6600
777a42f1
PA
66012017-10-09 Pedro Alves <palves@redhat.com>
6602
6603 Test both arch1=>arch2 and arch2=>arch1.
6604
6605 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
6606 (srcfile2, binfile2, march1, march2): Remove globals. Largely
6607 factored out to...
6608 (append_arch1_options, append_arch2_options, append_arch_options)
6609 (build_executables): New procedures.
6610 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
6611 local.
6612 (top level): Add new 'first_arch' testing axis.
6613
cbd2b4e3
PA
66142017-10-09 Pedro Alves <palves@redhat.com>
6615
6616 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
6617 (barrier): New.
6618 (thread_start, all_started): New functions.
6619 (main): Spawn new thread and wait until it is scheduled.
6620 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
6621 option.
6622 (do_test): Add 'selected_thread' parameter. Run to all_started
6623 instead of main. Explicitly set the breakpoint at main. Switch
6624 to the SELECTED_THREAD thread.
6625 (top level): Test handling the exec event with either the main
6626 thread or the second thread selected.
6627
5c9e4427
PA
66282017-10-09 Pedro Alves <palves@redhat.com>
6629
6630 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
6631 logic. Move STOP marker after the value checks.
6632 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
6633 regexp.
6634
b3b7c423
SL
66352017-10-06 Sandra Loosemore <sandra@codesourcery.com>
6636
6637 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
6638
3b4b2f16
UW
66392017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
6640
6641 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
6642 integer-to-dfp conversion.
6643 * gdb.base/dfp-test.exp: Likewise.
6644
5cd63fda
PA
66452017-10-04 Pedro Alves <palves@redhat.com>
6646
6647 * gdb.multi/hangout.c: Include <unistd.h>.
6648 (hangout_loop): New function.
6649 (main): Call alarm. Call hangout_loop in a loop.
6650 * gdb.multi/hello.c: Include <unistd.h>.
6651 (hello_loop): New function.
6652 (main): Call alarm. Call hangout_loop in a loop.
6653 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
6654 inferior with the other selected.
6655
4c71c105
SM
66562017-10-04 Simon Marchi <simon.marchi@ericsson.com>
6657
6658 * gdb.mi/list-thread-groups-available.exp: New file.
6659 * gdb.mi/list-thread-groups-available.c: New file.
6660
bc3b087d
SDJ
66612017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
6662
6663 * gdb.base/set-cwd.exp: Make it available on
6664 native-extended-gdbserver.
6665
d092c5a2
SDJ
66662017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
6667
6668 * gdb.base/set-cwd.c: New file.
6669 * gdb.base/set-cwd.exp: Likewise.
6670
45320ffa
TT
66712017-10-02 Tom Tromey <tom@tromey.com>
6672
6673 PR rust/22236:
6674 * gdb.rust/simple.rs (main): New variable "fslice".
6675 * gdb.rust/simple.exp: Add slice tests. Update string tests.
6676
b3e3859b
TT
66772017-10-02 Tom Tromey <tom@tromey.com>
6678
6679 * gdb.rust/simple.exp: Test ptype of a slice.
6680
01af5e0d
TT
66812017-10-02 Tom Tromey <tom@tromey.com>
6682
6683 * gdb.rust/simple.exp: Test index of slice.
6684
a9bbfbd8
TT
66852017-09-27 Tom Tromey <tom@tromey.com>
6686
6687 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
6688
df8899e5
TP
66892017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
6690 Pedro Alves <palves@redhat.com>
6691
6692 * gdb.base/compare-sections.exp (get value of read-only section): Read
6693 as unsigned value.
6694 (corrupt read-only section): Likewise and don't set written if patching
6695 failed.
6696
757bf54b
KB
66972017-09-21 Kevin Buettner <kevinb@redhat.com>
6698
6699 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
6700 files.
6701
06871ae8
PA
67022017-09-20 Pedro Alves <palves@redhat.com>
6703
6704 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
6705 symbol names in gdb's output.
6706 * gdb.cp/overload.exp ("list all overloads"): Likewise.
6707
e5f25bc5
PA
67082017-09-20 Pedro Alves <palves@redhat.com>
6709
6710 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
6711 Rename to ...
6712 (test_list_ambiguous_symbol): ... this and add a symbol name
6713 parameter. Adjust.
6714 (test_list_ambiguous_function): Reimplement on top of
6715 test_list_ambiguous_symbol and also test listing ambiguous
6716 variables.
6717 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
6718 (ambiguous_fun): ... this.
6719 (ambiguous_var): New.
6720 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
6721 (ambiguous_fun): ... this.
6722 (ambiguous_var): New.
6723
4e5a4f58
JB
67242017-09-19 John Baldwin <jhb@FreeBSD.org>
6725
6726 * gdb.base/starti.c: New file.
6727 * gdb.base/starti.exp: New file.
6728 * lib/gdb.exp (gdb_starti_cmd): New procedure.
6729
26e53f3e
PA
67302017-09-14 Pedro Alves <palves@redhat.com>
6731
6732 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
6733 (top level): Use it instead of runto.
6734
cb791d59
TT
67352017-09-11 Tom Tromey <tom@tromey.com>
6736
6737 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
6738
7c96f8c1
TT
67392017-09-11 Tom Tromey <tom@tromey.com>
6740
6741 * gdb.python/py-infthread.exp: Add tests for new_thread event.
6742 * gdb.python/py-inferior.exp: Add tests for new inferior events.
6743
469412dd
CW
67442017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
6745
6746 * gdb.fortran/printing-types.exp: New file.
6747 * gdb.fortran/printing-types.exp: New file.
6748
e0f86435
BH
67492017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
6750
6751 * gdb.fortran/vla-ptype.exp: Fix typos.
6752 * gdb.fortran/vla-value.exp: Same.
6753
9e9af4be
BH
67542017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
6755
6756 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
6757 * gdb.mi/mi-var-child-f.exp: Likewise.
6758 * gdb.mi/mi-vla-fortran.exp: Likewise.
6759
a5ad232b 67602017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
6761 Christoph Weinmann <christoph.t.weinmann@intel.com>
6762 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
6763
6764 * gdb.fortran/ptr-indentation.f90: New file.
6765 * gdb.fortran/ptr-indentation.exp: New file.
6766
5aec60eb
TT
67672017-09-05 Tom Tromey <tom@tromey.com>
6768
6769 PR gdb/22010:
6770 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
6771
8f8f8152
TP
67722017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
6773
6774 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
6775
fbd1b771
JK
67762017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6777
6778 * gdb.threads/tls-nodebug-pie.c: New file.
6779 * gdb.threads/tls-nodebug-pie.exp: New file.
6780
5eb5f850
TT
67812017-09-05 Tom Tromey <tom@tromey.com>
6782
6783 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
6784 for rust.
6785
ae780a21
SM
67862017-09-05 Simon Marchi <simon.marchi@ericsson.com>
6787
6788 * gdb.multi/multi-arch-exec.exp: Test with different
6789 "follow-exec-mode" settings.
6790 (do_test): New procedure.
6791
3693fdb3
PA
67922017-09-04 Pedro Alves <palves@redhat.com>
6793
6794 * gdb.base/func-static.c (S::method const, S::method volatile)
6795 (S::method volatile const): New methods.
6796 (c_s, v_s, cv_s): New instances.
6797 (main): Call method() on them.
6798 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
6799 (cannot_resolve): New procedure.
6800 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
6801 print-quote-unquoted columns.
6802 (do_test): Test printing each scope too.
6803
e68cb8e0
PA
68042017-09-04 Pedro Alves <palves@redhat.com>
6805
6806 * gdb.base/local-static.exp: Also test with
6807 class::method::variable wholly quoted.
6808 * gdb.cp/m-static.exp (class::method::variable): Remove test.
6809
858be34c
PA
68102017-09-04 Pedro Alves <palves@redhat.com>
6811
6812 * gdb.base/local-static.c: New.
6813 * gdb.base/local-static.cc: New.
6814 * gdb.base/local-static.exp: New.
6815
46a4882b
PA
68162017-09-04 Pedro Alves <palves@redhat.com>
6817
6818 * gdb.asm/asm-source.exp: Add casts to int.
6819 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
6820 (dataglobal64_1, dataglobal64_2): New globals.
6821 * gdb.base/nodebug.exp: Test different expressions involving the
6822 new globals, with print, whatis and ptype. Add casts to int.
6823 * gdb.base/solib-display.exp: Add casts to int.
6824 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
6825 * gdb.cp/m-static.exp: Add cast to int.
6826 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
6827 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
6828 tls variable with no debug info without a cast. Test with a cast
6829 to int too.
6830 * gdb.trace/entry-values.exp: Add casts.
6831
2c5a2be1
PA
68322017-09-04 Pedro Alves <palves@redhat.com>
6833
6834 * gdb.base/nodebug.exp: Test that ptype's error about functions
6835 with unknown return type includes the function name too.
6836
7022349d
PA
68372017-09-04 Pedro Alves <palves@redhat.com>
6838
6839 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
6840 return type of munmap in infcall.
6841 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
6842 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
6843 type of ftell in infcall.
6844 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
6845 type of getpid in infcall.
6846 * gdb.base/infcall-exec.exp: Cast return type of execlp in
6847 infcall.
6848 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
6849 Bail on failure to extract the pid.
6850 * gdb.base/nodebug.c: #include <stdint.h>.
6851 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
6852 New functions.
6853 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
6854 Change expected output of print/whatis/ptype with functions with
6855 no debug info. Test all supported languages. Call
6856 test_call_promotion.
6857 * gdb.compile/compile.exp: Adjust expected output to expect
6858 warning.
6859 * gdb.threads/siginfo-threads.exp: Likewise.
6860
54990598
PA
68612017-09-04 Pedro Alves <palves@redhat.com>
6862
6863 * gdb.base/callfuncs.exp (do_function_calls): New parameter
6864 "prototypes". Test calling float functions via prototyped and
6865 unprototyped function pointers.
6866 (perform_all_tests): New parameter "prototypes". Pass it down.
6867 (top level): Pass down "prototypes" parameter to
6868 perform_all_tests.
6869
34d16ea2
SM
68702017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6871
6872 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
6873 Test with nested loops.
6874
9521ecda
SM
68752017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6876
6877 * gdb.base/commands.exp: Call the new procedures.
6878 (loop_break_test, loop_continue_test): New procedures.
6879
80a65e9b
SM
68802017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6881
6882 * gdb.base/commands.exp: Call new procedure.
6883 (define_if_without_arg_test): New procedure.
6884
e439fa14
PA
68852017-09-04 Pedro Alves <palves@redhat.com>
6886
6887 * gdb.base/list-ambiguous.exp: New file.
6888 * gdb.base/list-ambiguous0.c: New file.
6889 * gdb.base/list-ambiguous1.c: New file.
6890 * gdb.base/list.exp (test_list_range): Adjust expected output.
6891
0a2dde4a
SDJ
68922017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
6893
6894 * gdb.base/share-env-with-gdbserver.c: New file.
6895 * gdb.base/share-env-with-gdbserver.exp: Likewise.
6896
5e89eb3a
SM
68972017-08-28 Simon Marchi <simon.marchi@ericsson.com>
6898
6899 * gdb.base/commands.exp (gdbvar_simple_if_test,
6900 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
6901 progvar_simple_if_test, progvar_simple_while_test,
6902 progvar_complex_if_while_test, user_defined_command_test,
6903 user_defined_command_args_eval,
6904 user_defined_command_args_stack_test,
6905 user_defined_command_manyargs_test, bp_deleted_in_command_test,
6906 temporary_breakpoint_commands,
6907 gdb_test_no_prompt, redefine_hook_test,
6908 redefine_backtrace_test): Remove "global gdb_prompt".
6909
fd437cbc
SM
69102017-08-28 Simon Marchi <simon.marchi@ericsson.com>
6911
6912 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
6913 New proc, call it from toplevel.
6914
87215ad1
SDJ
69152017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
6916
6917 PR remote/21852
6918 * gdb.server/normal.c: New file, copied from gdb.base.
6919 * gdb.server/run-without-local-binary.exp: New file.
6920
58afddc6
WP
69212017-08-07 Weimin Pan <weimin.pan@oracle.com>
6922
6923 * gdb.arch/sparc64-adi.exp: New file.
6924 * gdb.arch/sparc64-adi.c: New file.
6925
5277199a
PA
69262017-08-22 Pedro Alves <palves@redhat.com>
6927
6928 * gdb.cp/overload.exp (line_range_pattern): New procedure.
6929 (top level): Add "list all overloads" tests.
6930
14278e1f
TT
69312017-08-22 Tom Tromey <tom@tromey.com>
6932
6933 * gdb.gdb/xfullpath.exp: Remove.
6934
bf223d3e
PA
69352017-08-21 Pedro Alves <palves@redhat.com>
6936
6937 PR gdb/19487
6938 * gdb.base/symbol-alias.c: New.
6939 * gdb.base/symbol-alias2.c: New.
6940 * gdb.base/symbol-alias.exp: New.
6941
c973d0aa
PA
69422017-08-21 Pedro Alves <palves@redhat.com>
6943
6944 * gdb.base/dfp-test.c
6945 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
6946 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
6947 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
6948 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
6949 * gdb.base/whatis-ptype-typedefs.c: New.
6950 * gdb.base/whatis-ptype-typedefs.exp: New.
6951 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
6952 (an_int, an_int_type, an_int_type2): New globals.
6953 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
6954 involving typedefs and cast expressions.
6955 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
6956 (lookup_typedefs_function): New.
6957 (typedefs_pretty_printers_dict): New.
6958 (top level): Register lookup_typedefs_function in
6959 gdb.pretty_printers.
6960
6d580b63
YQ
69612017-08-18 Yao Qi <yao.qi@linaro.org>
6962
6963 * gdb.server/unittest.exp: New.
6964
206726fb
SDJ
69652017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
6966
6967 PR gdb/21954
6968 * gdb.base/environ.exp: Add test to check if 'unset environment'
6969 works.
6970
bf0ec4c2
AA
69712017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6972
6973 * lib/gdb.exp (universal_compile_options): New caching proc.
6974 (gdb_compile): Suppress GCC's coloring of messages.
6975
d6382fff
TT
69762017-08-14 Tom Tromey <tom@tromey.com>
6977
6978 PR gdb/21675:
6979 * gdb.base/printcmds.exp (test_radices): New function.
6980 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
6981 * gdb.base/sizeof.exp (check_valueof): Use p/d.
6982 * lib/gdb.exp (get_integer_valueof): Use p/d.
6983
c2c2dd9f
SM
69842017-08-12 Simon Marchi <simon.marchi@ericsson.com>
6985
6986 * lib/gdb.exp (get_valueof): Don't capture end-of-line
6987 characters.
6988
fdffd6f4
TT
69892017-08-05 Tom Tromey <tom@tromey.com>
6990
6991 * gdb.rust/simple.exp: Allow String to appear in a different
6992 namespace.
6993
27d41eac
YQ
69942017-07-26 Yao Qi <yao.qi@linaro.org>
6995
6996 * gdb.gdb/unittest.exp: Invoke command
6997 "maintenance check xml-descriptions".
6998
031ed05d
AA
69992017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
7000
7001 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
7002 calling context.
7003 (hex128): Drop erroneous calculation of parameters.
7004
dcd27ddf
SM
70052017-07-22 Simon Marchi <simon.marchi@ericsson.com>
7006
7007 * gdb.python/py-unwind.exp: Disable stack protection when
7008 building test file.
7009
47e77640
PA
70102017-07-20 Pedro Alves <palves@redhat.com>
7011
7012 * gdb.base/default.exp (set language): Adjust expected output.
7013
62d2a18a
PA
70142017-07-20 Pedro Alves <palves@redhat.com>
7015
7016 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
7017 (test_minsym): ... this, and make static.
7018 (get_pck__foo__bar__minsym): Rename to ...
7019 (get_test_minsym): ... this.
7020 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
7021 symbol names and comments.
7022 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
7023 (get_test_minsym): ... this.
7024 (pck__foo__bar__minsym__2): Rename to ...
7025 (test_minsym): ... this.
7026 (main): Adjust.
7027
c45ec17c
PA
70282017-07-17 Pedro Alves <palves@redhat.com>
7029
7030 * gdb.base/completion.exp: Adjust expected output.
7031 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
7032 the completer works.
7033
c6756f62
PA
70342017-07-17 Pedro Alves <palves@redhat.com>
7035
7036 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
7037
5bd68487
AB
70382017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
7039
7040 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
7041
8880f2a9
TT
70422017-07-14 Tom Tromey <tom@tromey.com>
7043
7044 PR rust/21764:
7045 * gdb.rust/simple.exp: Add tests.
7046
65547233
TT
70472017-07-14 Tom Tromey <tom@tromey.com>
7048
7049 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
7050
8f14146e
PA
70512017-07-14 Pedro Alves <palves@redhat.com>
7052
7053 * gdb.linespec/base/one/thefile.cc (z1): New function.
7054 * gdb.linespec/base/two/thefile.cc (z2): New function.
7055 * gdb.linespec/linespec.exp: Add tests.
7056
b4365d02
AB
70572017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
7058
7059 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
7060 to mi_create_breakpoint.
7061
5d2cbaa5
AB
70622017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
7063
7064 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
7065 mi_create_breakpoint.
7066
11cb5716
IB
70672017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
7068
7069 * gdb.dlang/demangle.exp: Update for demangling changes.
7070
03278692
TT
70712017-07-09 Tom Tromey <tom@tromey.com>
7072
7073 * gdb.dwarf2/shortpiece.exp: New file.
7074
33c5cd75
DB
70752017-07-06 David Blaikie <dblaikie@gmail.com>
7076
7077 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
7078 built from fissiont-multi-cu{1,2}.c.
7079 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
7080 except putting 'main' and 'func' in separate CUs in the same DWO file.
7081 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
7082 test.
7083 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
7084 test.
7085
8455d262
PA
70862017-07-06 Pedro Alves <palves@redhat.com>
7087
7088 * gdb.python/py-unwind.exp: Test flushregs.
7089
dc4bde35
SDJ
70902017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
7091
7092 PR cli/21688
7093 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
7094 tests for alias commands and trailing whitespace.
7095
51ed89aa
SDJ
70962017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
7097
7098 PR cli/21688
7099 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
7100 procedure. Call it.
7101
eb17d413
PA
71022017-06-29 Pedro Alves <palves@redhat.com>
7103
7104 * gdb.base/printcmds.exp: Add tests.
7105
41664b45
DG
71062017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
7107
7108 PR gdb/21337
7109 * gdb.base/reread-readsym.exp: New file.
7110 * gdb.base/reread-readsym.c: New file.
7111
75312ae3
KB
71122017-06-21 Kevin Buettner <kevinb@redhat.com>
7113
7114 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
7115 subpattern.
7116
66953522
PB
71172017-06-19 Peter Bergner <bergner@vnet.ibm.com>
7118
7119 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
7120 extended mnemonic.
7121 * gdb.arch/powerpc-power9.s: Likewise.
7122
5524b525
AA
71232017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7124
7125 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
7126 on 32-bit x86 targets. Exploit is_*_target macros where
7127 appropriate.
7128
03c8af18
AA
71292017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7130
7131 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
7132 register pieces.
7133
3bf31011
AA
71342017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7135
7136 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
7137 located in one or more DWARF pieces.
7138
805acca0
AA
71392017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7140
7141 * lib/gdb.exp (get_endianness): New proc.
7142 * gdb.arch/aarch64-fp.exp: Use it.
7143 * gdb.arch/altivec-regs.exp: Likewise.
7144 * gdb.arch/e500-regs.exp: Likewise.
7145 * gdb.arch/vsx-regs.exp: Likewise.
7146 * gdb.base/dump.exp: Likewise.
7147 * gdb.base/funcargs.exp: Likewise.
7148 * gdb.base/gnu_vector.exp: Likewise.
7149 * gdb.dwarf2/formdata16.exp: Likewise.
7150 * gdb.dwarf2/implptrpiece.exp: Likewise.
7151 * gdb.dwarf2/nonvar-access.exp: Likewise.
7152 * gdb.python/py-inferior.exp: Likewise.
7153 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
7154
e9352324
AA
71552017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7156
7157 PR gdb/21226
7158 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
7159 stack value pieces are taken from the LSB end.
7160
d5d1163e
AA
71612017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7162
7163 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
7164 variable at nonzero offset.
7165
0567c986
AA
71662017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7167
7168 * gdb.dwarf2/var-access.c: New file.
7169 * gdb.dwarf2/var-access.exp: New test.
7170 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
7171
973e9aab
TT
71722017-06-12 Tom Tromey <tom@tromey.com>
7173
7174 * gdb.dwarf2/formdata16.exp: Add tests.
7175
d9109c80
TT
71762017-06-12 Tom Tromey <tom@tromey.com>
7177
7178 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
7179
30a25466
TT
71802017-06-12 Tom Tromey <tom@tromey.com>
7181
7182 PR exp/16225:
7183 * gdb.reverse/i386-sse-reverse.exp: Update tests.
7184 * gdb.arch/vsx-regs.exp: Update tests.
7185 * gdb.arch/s390-vregs.exp (hex128): New proc.
7186 Update test.
7187 * gdb.arch/altivec-regs.exp: Update tests.
7188
aefd8b33
SDJ
71892017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
7190
7191 * gdb.base/startup-with-shell.c: New file.
7192 * gdb.base/startup-with-shell.exp: Likewise.
7193
2090129c
SDJ
71942017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
7195
7196 * gdb.server/non-existing-program.exp: Update regex in order to
7197 reflect the fact that gdbserver is now using fork_inferior (with a
7198 shell) to startup the inferior.
7199
8e86a419
SM
72002017-05-30 Simon Marchi <simon.marchi@ericsson.com>
7201
7202 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
7203 support function calls from GDB.
7204
e6cf65f2
TT
72052017-05-21 Tom Tromey <tom@tromey.com>
7206
7207 PR rust/21466:
7208 * gdb.rust/unsized.exp: New file.
7209 * gdb.rust/unsized.rs: New file.
7210
43cc5389
TT
72112017-05-19 Tom Tromey <tom@tromey.com>
7212
7213 PR rust/21484:
7214 * gdb.rust/watch.exp: New file.
7215 * gdb.rust/watch.rs: New file.
7216
ec8df234
TT
72172017-05-18 Tom Tromey <tom@tromey.com>
7218
7219 * gdb.rust/simple.exp: Allow Box to be qualified.
7220
3e3e7fae
TP
72212017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
7222
7223 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
7224
59cc050d
PA
72252017-05-18 Pedro Alves <palves@redhat.com>
7226
7227 * gdb.base/fileio.c (test_write, test_read, test_close)
7228 (test_fstat): Don't print 'ret' in the fail path.
7229
c8f6abd1
PA
72302017-05-18 Pedro Alves <palves@redhat.com>
7231
7232 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
7233 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
7234 (test_system, test_rename, test_unlink, test_time): Change
7235 prototypes.
7236 * gdb.base/fileio.exp (stop_msg): Adjust.
7237
d2a03b77
PA
72382017-05-18 Pedro Alves <palves@redhat.com>
7239
7240 * gdb.base/fileio.c (null_str): New global.
7241 (test_stat): Use it.
7242 * gdb.base/fileio.exp: Remove nowarnings.
7243
0d5c6999
YQ
72442017-05-17 Yao Qi <yao.qi@linaro.org>
7245
7246 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
7247
21873064
YQ
72482017-05-17 Simon Marchi <simon.marchi@ericsson.com>
7249
7250 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
7251 argument command.
7252 (top-level): Invoke test_set_inferior_tty.
7253
d512d31c
PA
72542017-05-04 Pedro Alves <palves@redhat.com>
7255
7256 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
7257 Add parens to print call for Python 3.
7258
90cef2ed
KS
72592017-05-03 Keith Seitz <keiths@redhat.com>
7260
7261 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
7262 (main): Call it.
7263
14f819c8
TW
72642017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7265
7266 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
7267 to prev and next.
7268
913aeadd
TW
72692017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7270
7271 * gdb.python/py-record-btrace.exp: Remove test for
7272 gdb.BtraceInstruction.error.
7273
a3be24ad
TW
72742017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7275
7276 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
7277
ae20e79a
TW
72782017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7279
7280 * gdb.python/py-record-btrace-threads.c: New file.
7281 * gdb.python/py-record-btrace-threads.exp: New file.
7282
45ce1b47
SDJ
72832017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
7284
7285 PR testsuite/8595
7286 * gdb.base/environ.exp: Make test available in all architectures.
7287 Move bits related to "info program" testing to
7288 gdb.base/info-program.exp. Rewrite tests to use the two new
7289 procedures mentione below.
7290 (test_set_show_env_var) New procedure.
7291 (test_set_show_env_var_equal): Likewise.
7292 * gdb.base/info-program.exp: New file.
7293
e15c3eb4
KS
72942017-04-27 Keith Seitz <keiths@redhat.com>
7295
7296 * gdb.cp/oranking.cc (test15): New function.
7297 (main): Call test15 and declare additional variables for testing.
7298 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
7299 "p foo101('abc')" tests.
7300 Add tests for cv qualifier overloads.
7301 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
7302 "lvalue reference overload" test.
7303 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
7304 "print value of f1 on Child&& in f2" test.
7305
3a3fd0fd
PA
73062017-04-19 Pedro Alves <palves@redhat.com>
7307
7308 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
7309 procedure.
7310 (top level): Call it.
7311 * lib/gdb.exp (gdb_define_cmd): New procedure.
7312
53375380
PA
73132017-04-12 Pedro Alves <palves@redhat.com>
7314
7315 PR gdb/21323
7316 * gdb.cp/wide_char_types.c: Include <wchar.h>.
7317 (wchar): New global.
7318 * gdb.cp/wide_char_types.exp (wide_char_types_program)
7319 (do_test_wide_char, wide_char_types_no_program, top level): Add
7320 wchar_t testing.
7321
53e710ac
PA
73222017-04-12 Pedro Alves <palves@redhat.com>
7323
7324 PR c++/21323
7325 * gdb.cp/wide_char_types.c: New file.
7326 * gdb.cp/wide_char_types.exp: New file.
7327
0ad9d8c7
SDJ
73282017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
7329
7330 PR gdb/21352
7331 * gdb.trace/tsv.exp: Add test for "tsave -r".
7332
b1b45502
IB
73332017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
7334
7335 * gdb.dlang/watch-loc.c: New file.
7336 * gdb.dlang/watch-loc.exp: New file.
7337
ec13808e
JK
73382017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7339
7340 * gdb.python/py-section-script.exp (sepdebug): New testcases.
7341
fe5f7374
AK
73422017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
7343
7344 * gdb.arch/arc-analyze-prologue.S: New file.
7345 * gdb.arch/arc-analyze-prologue.exp: Likewise.
7346
eea78757
AK
73472017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
7348
7349 * gdb.arch/arc-decode-insn.S: New file.
7350 * gdb.arch/arc-decode-insn.exp: Likewise.
7351
5badf10a
IR
73522017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
7353
7354 PR tdep/20928
7355 * gdb.arch/sparc64-regs.exp: New file.
7356 * gdb.arch/sparc64-regs.S: Likewise.
7357
cee59b3f
TW
73582017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
7359
7360 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
7361 and memory view on Python 3.
7362
c0f55cc6
AV
73632017-03-20 Artemiy Volkov <artemiyv@acm.org>
7364 Keith Seitz <keiths@redhat.com>
7365
7366 PR gdb/14441
7367 * gdb.cp/demangle.exp: Add rvalue reference tests.
7368 * gdb.cp/rvalue-ref-casts.cc: New file.
7369 * gdb.cp/rvalue-ref-casts.exp: New file.
7370 * gdb.cp/rvalue-ref-overload.cc: New file.
7371 * gdb.cp/rvalue-ref-overload.exp: New file.
7372 * gdb.cp/rvalue-ref-params.cc: New file.
7373 * gdb.cp/rvalue-ref-params.exp: New file.
7374 * gdb.cp/rvalue-ref-sizeof.cc: New file.
7375 * gdb.cp/rvalue-ref-sizeof.exp: New file.
7376 * gdb.cp/rvalue-ref-types.cc: New file.
7377 * gdb.cp/rvalue-ref-types.exp: New file.
7378 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
7379 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
7380
51457a05
MAL
73812017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
7382
7383 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
7384 New procedure.
7385
5b291c04
MAL
73862017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
7387
7388 * lib/mi-support.exp (mi_gdb_test): Add additional message
7389 for unexpected output.
7390
59a56148
AA
73912017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
7392
7393 * gdb.base/examine-backward.c (Barrier): New character array
7394 constant, to ensure that TestStrings is preceded by a string
7395 terminator.
7396
7942e96e
AA
73972017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7398
7399 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
7400 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
7401 and implicit pointer into such a location.
7402
6ebac3fb
DE
74032017-03-16 Doug Evans <dje@google.com>
7404
7405 * gdb.python/py-lazy-string (pointer): Really add new typedef.
7406
ec3b243d
TP
74072017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
7408
7409 * gdb.cp/m-static.exp: Fix expectation for prototype of
7410 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
7411
74122017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
7413
7414 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
7415 * gdb.guile/scm-lazy-string.c: New file.
7416 * gdb.guile/scm-value.exp: Move lazy string tests to ...
7417 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
7418 for pointer, array, typedef lazy strings.
7419
2cc36e25 74202017-03-16 Doug Evans <dje@google.com>
34b43320
DE
7421
7422 PR python/17728, python/18439, python/18779
7423 * gdb.python/py-value.c (main) Delete locals sptr, sn.
7424 * gdb.python/py-lazy-string.c (pointer): New typedef.
7425 (main): New locals ptr, array, typedef_ptr.
7426 * gdb.python/py-value.exp: Move lazy string tests to ...
7427 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
7428 array, typedef lazy strings.
ec3b243d 7429
0efcde63
AK
74302017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
7431
7432 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
7433 Add optional 'test' parameter.
7434
7978d7c3
SM
74352017-03-13 Simon Marchi <simon.marchi@ericsson.com>
7436
7437 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
7438 Skip for versions of DejaGnu < 1.5.
7439
896c0c1e
SM
74402017-03-13 Simon Marchi <simon.marchi@ericsson.com>
7441
7442 * lib/gdb.exp (dejagnu_version): New proc.
7443 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
7444 Use dejagnu_version.
7445
5f4d1085
KS
74462017-03-10 Keith Seitz <keiths@redhat.com>
7447
7448 PR c++/8128
7449 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
7450 type from destructor regexps.
7451 Add a branch which actually passes the test.
7452 Adjust "ptype t5i" test names.
7453
1de05205
PA
74542017-03-08 Pedro Alves <palves@redhat.com>
7455
7456 * gdb.base/step-over-exit.exp: Add explicit test message.
7457
c65d6b55
PA
74582017-03-08 Pedro Alves <palves@redhat.com>
7459
7460 PR gdb/18360
7461 * gdb.threads/interrupt-while-step-over.c: New file.
7462 * gdb.threads/interrupt-while-step-over.exp: New file.
7463
2e86a283
PA
74642017-03-08 Pedro Alves <palves@redhat.com>
7465
7466 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
7467 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
7468
25dcbff6
PA
74692017-03-08 Pedro Alves <palves@redhat.com>
7470
7471 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
7472 PKRU as not supported as a PASS.
7473
dc9366eb
PA
74742017-03-08 Pedro Alves <palves@redhat.com>
7475
7476 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
7477 prefix instead of $binfile1/$binfile2.
7478 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
7479 in test message.
7480 * gdb.python/py-completion.exp: Use "load python file" as test
7481 messages instead of unstable path names.
7482
6e5d74e7
PA
74832017-03-08 Pedro Alves <palves@redhat.com>
7484 Jan Kratochvil <jan.kratochvil@redhat.com>
7485
7486 PR cli/21218
7487 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
7488 New proc.
7489 (top level): Call it.
7490
9753a2f6
PA
74912017-03-08 Pedro Alves <palves@redhat.com>
7492
7493 PR tui/21216
7494 * gdb.tui/tui-nl-filtered-output.exp: New file.
7495
1a4dd9dd
PA
74962017-03-08 Pedro Alves <palves@redhat.com>
7497
7498 * gdb.base/completion.exp: Move TUI completion tests to ...
7499 * gdb.tui/completion.exp: ... this new file.
7500
7cbbff33
PA
75012017-03-08 Pedro Alves <palves@redhat.com>
7502
7503 * gdb.base/tui-disasm-long-lines.c,
7504 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
7505 gdb.base/tui-layout.exp: Move to ...
7506 * gdb.tui/: ... this new directory.
7507
5f6fd321
PA
75082017-03-07 Pedro Alves <palves@redhat.com>
7509
7510 * gdb.base/tui-layout.c: New file.
7511 * gdb.base/tui-layout.exp: New file.
7512
44959fa8
PA
75132017-03-07 Pedro Alves <palves@redhat.com>
7514
7515 * gdb.base/tui-layout.c: Rename to ...
7516 * gdb.base/tui-disasm-long-lines.c: ... this.
7517 * gdb.base/tui-layout.exp: Rename to ...
7518 * gdb.base/tui-disasm-long-lines.exp: ... this.
7519
f8c4e718
PA
75202017-03-07 Pedro Alves <palves@redhat.com>
7521
7522 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
7523
6dbb839a 75242017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
7525
7526 * i386-mpx-call.c: New file.
7527 * i386-mpx-call.exp: New file.
7528
65b48a81
PB
75292017-02-28 Peter Bergner <bergner@vnet.ibm.com>
7530
7531 * gdb.arch/powerpc-power.exp: Delete test.
7532 * gdb.arch/powerpc-power.s: Likewise.
7533 * gdb.disasm/disassembler-options.exp: New test.
7534 * gdb.arch/powerpc-altivec.exp: Likewise.
7535 * gdb.arch/powerpc-altivec.s: Likewise.
7536 * gdb.arch/powerpc-altivec2.exp: Likewise.
7537 * gdb.arch/powerpc-altivec2.s: Likewise.
7538 * gdb.arch/powerpc-altivec3.exp: Likewise.
7539 * gdb.arch/powerpc-altivec3.s: Likewise.
7540 * gdb.arch/powerpc-power7.exp: Likewise.
7541 * gdb.arch/powerpc-power7.s: Likewise.
7542 * gdb.arch/powerpc-power8.exp: Likewise.
7543 * gdb.arch/powerpc-power8.s: Likewise.
7544 * gdb.arch/powerpc-power9.exp: Likewise.
7545 * gdb.arch/powerpc-power9.s: Likewise.
7546 * gdb.arch/powerpc-vsx.exp: Likewise.
7547 * gdb.arch/powerpc-vsx.s: Likewise.
7548 * gdb.arch/powerpc-vsx2.exp: Likewise.
7549 * gdb.arch/powerpc-vsx2.s: Likewise.
7550 * gdb.arch/powerpc-vsx3.exp: Likewise.
7551 * gdb.arch/powerpc-vsx3.s: Likewise.
7552 * gdb.arch/arm-disassembler-options.exp: Likewise.
7553 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
7554 * gdb.arch/s390-disassembler-options.exp: Likewise.
7555
17cd4947
LM
75562017-02-23 Luis Machado <lgustavo@codesourcery.com>
7557
7558 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
7559 (check_supported_features): ... this. Changed return type to void.
7560 (supports_rdseed): New static global.
7561 (rdseed): Check supports_rdseed.
7562 (initialize): Call check_supported_features.
7563
2039d74e
EBM
75642017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7565
7566 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
7567 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
7568 and lqarx/stqcx.
7569 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
7570 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
7571
a51d7ecf
EBM
75722017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7573
7574 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
7575 uppercase.
7576
0224619f
JK
75772017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7578
7579 * gdb.dwarf2/formdata16.c: New file.
7580 * gdb.dwarf2/formdata16.exp: New file.
7581 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
7582
216f72a1
JK
75832017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7584
7585 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
7586 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
7587 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
7588 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
7589 DW_AT_GNU_*.
7590
43988095
JK
75912017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7592
7593 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
7594
99e8a4f9
SDJ
75952017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
7596
7597 PR gdb/21164
7598 * gdb.base/maint.exp: Add testcases for when the commands do
7599 not have arguments.
7600
b58a8c0c
TP
76012017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
7602
7603 * gdb.cp/chained-calls.exp: Use p instead of P.
7604
4e746bb6
TW
76052017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
7606
7607 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
7608 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
7609
3f77c769
TT
76102017-02-14 Tom Tromey <tom@tromey.com>
7611
7612 PR python/13598:
7613 * gdb.python/py-events.exp: Add before_prompt event tests.
7614
075beec0
AA
76152017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7616
7617 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
7618
bf5f525c
LM
76192017-02-13 Luis Machado <lgustavo@codesourcery.com>
7620
7621 * gdb.linespec/explicit.c (my_unique_function_name): New function.
7622 (main): Call my_unique_function_name.
7623 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
7624 completion of patterns with a single match.
7625 Add missing -re switches to gdb_test_multiple calls.
7626
13a66184
LM
76272017-02-13 Luis Machado <lgustavo@codesourcery.com>
7628
7629 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
7630 return if core file is not recognized.
7631
26a06916
SM
76322017-02-10 Simon Marchi <simon.marchi@ericsson.com>
7633
7634 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
7635 and extra UIs.
7636
b761ca9e
SM
76372017-02-10 Simon Marchi <simon.marchi@ericsson.com>
7638
7639 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
7640 proc_with_prefix.
7641
b964bee0
TT
76422017-02-10 Tom Tromey <tom@tromey.com>
7643
7644 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
7645
18da0c51
MG
76462017-02-10 Martin Galvan <martingalvan@sourceware.org>
7647
7648 PR gdb/21122
7649 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
7650
604c4576
JG
76512017-02-08 Jerome Guitton <guitton@adacore.com>
7652
7653 * gdb.base/define.exp: Add test for command abbreviations
7654 in define.
7655
20b477a7
LM
76562017-02-06 Luis Machado <lgustavo@codesourcery.com>
7657
7658 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
7659 * gdb.reverse/insn-reverse-x86.c: New file.
7660
3f7b46f2
IR
76612017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
7662
7663 PR tdep/20936
7664 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
7665
f0fd41c1
TT
76662017-02-03 Tom Tromey <tom@tromey.com>
7667
7668 PR rust/21097:
7669 * gdb.rust/simple.exp: Add new tests.
7670
5be5dbf0
PA
76712017-02-02 Pedro Alves <palves@redhat.com>
7672
7673 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
7674 tests.
7675
7346ef59
AA
76762017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
7677
7678 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
7679 taking a 2-byte value out of a 4-byte DWARF implicit value on
7680 big-endian targets.
7681 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
7682 logic. Add test cases for DW_OP_implicit.
7683
787f0025
MM
76842017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7685
7686 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
7687
68777c29
MM
76882017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7689
7690 * gdb.btrace/enable.exp: Call gdb_exit before
7691 skip_gdbserver_tests.
7692
0a1c7e28
MM
76932017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7694
7695 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
7696 GDBFLAGS.
7697
b5ac99b0
MM
76982017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7699
7700 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
7701 the test is skipped.
7702 * gdb.btrace/data.exp: Likewise.
7703 * gdb.btrace/delta.exp: Likewise.
7704 * gdb.btrace/dlopen.exp: Likewise.
7705 * gdb.btrace/enable-running.exp: Likewise.
7706 * gdb.btrace/enable.exp: Likewise.
7707 * gdb.btrace/exception.exp: Likewise.
7708 * gdb.btrace/function_call_history.exp: Likewise.
7709 * gdb.btrace/gcore.exp: Likewise.
7710 * gdb.btrace/instruction_history.exp: Likewise.
7711 * gdb.btrace/multi-thread-step.exp: Likewise.
7712 * gdb.btrace/nohist.exp: Likewise.
7713 * gdb.btrace/non-stop.exp: Likewise.
7714 * gdb.btrace/reconnect.exp: Likewise.
7715 * gdb.btrace/record_goto-step.exp: Likewise.
7716 * gdb.btrace/record_goto.exp: Likewise.
7717 * gdb.btrace/rn-dl-bind.exp: Likewise.
7718 * gdb.btrace/segv.exp: Likewise.
7719 * gdb.btrace/step.exp: Likewise.
7720 * gdb.btrace/stepi.exp: Likewise.
7721 * gdb.btrace/tailcall-only.exp: Likewise.
7722 * gdb.btrace/tailcall.exp: Likewise.
7723 * gdb.btrace/tsx.exp: Likewise.
7724 * gdb.btrace/unknown_functions.exp: Likewise.
7725 * gdb.btrace/vdso.exp: Likewise.
7726
cd4007e4
MM
77272017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7728
7729 * gdb.btrace/enable-running.c: New.
7730 * gdb.btrace/enable-running.exp: New.
7731
2735833d
WT
77322017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
7733
7734 * gdb.arch/amd64-gs_base.c: New file.
7735 * gdb.arch/amd64-gs_base.exp: New file.
7736
b51e1e94
LM
77372017-01-26 Luis Machado <lgustavo@codesourcery.com>
7738
7739 * lib/memory.exp: Remove spurious empty newlines.
7740
72ca0410
SM
77412017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
7742
7743 * gdb.python/py-bad-printers.exp: Load python file using "source".
7744 * gdb.python/py-events.exp: Likewise.
7745 * gdb.python/py-evsignal.exp: Likewise.
7746 * gdb.python/py-evthreads.exp: Likewise.
7747 * gdb.python/py-frame-args.exp: Likewise.
7748 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
7749 * gdb.python/py-framefilter-mi.exp: Likewise.
7750 * gdb.python/py-framefilter.exp: Likewise.
7751 * gdb.python/py-mi.exp: Likewise.
7752 * gdb.python/py-pp-maint.exp: Likewise.
7753 * gdb.python/py-pp-registration.exp: Likewise.
7754 * gdb.python/py-prettyprint.exp: Likewise.
7755 (run_lang_tests): Likewise.
7756 * gdb.python/py-typeprint.exp: Likewise.
7757
e309aa65
LM
77582017-01-26 Luis Machado <lgustavo@codesourcery.com>
7759
7760 * lib/memory.exp: New file.
7761 * lib/gdb.exp: Load memory.exp.
7762 * gdb.base/memattr.exp (delete_memory): Move proc to
7763 lib/memory.exp and rename to delete_memory_regions.
7764 Replace delete_memory with delete_memory_regions.
7765 Cleanup memory regions before tests.
7766 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
7767 before tests.
7768
515aff23
LM
77692017-01-26 Luis Machado <lgustavo@codesourcery.com>
7770
7771 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
7772 files.
7773 (initialize): New function conditionally defined.
7774 (testcases): Move within conditional block.
7775 (main): Call initialize.
7776 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
7777 of gdb.reverse/insn-reverse.c.
7778 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
7779 gdb.reverse/insn-reverse.c.
7780
d8b49cf0
YQ
77812017-01-26 Yao Qi <yao.qi@linaro.org>
7782
7783 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
7784 disassemble on address 0.
7785
f13a9a0c
YQ
77862017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
7787 Yao Qi <yao.qi@linaro.org>
7788
7789 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
7790 * gdb.dwarf2/implptr-64bit.S: Remove.
7791 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
7792 variables in caller's context. Add DW_OP_implicit_value.
7793
5ac95241
YQ
77942017-01-25 Yao Qi <yao.qi@linaro.org>
7795
7796 * lib/dwarf.exp (Dwarf::_location): Handle
7797 DW_OP_GNU_implicit_pointer with proper size.
7798
23e82930
LM
77992017-01-20 Luis Machado <lgustavo@codesourcery.com>
7800
7801 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
7802 and add untested calls.
7803
d334ae25
LM
78042017-01-20 Luis Machado <lgustavo@codesourcery.com>
7805
7806 * gdb.python/python.exp: Check line number against what GDB thinks
7807 the line number is for func1.
7808
f5e6296e
IB
78092017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
7810
7811 * gdb.dlang/debug-expr.exp: New file.
7812
5b362f04
LM
78132016-12-23 Luis Machado <lgustavo@codesourcery.com>
7814
7815 Fix test names for the following files:
7816
7817 * gdb.ada/exec_changed.exp
7818 * gdb.ada/info_types.exp
7819 * gdb.arch/aarch64-atomic-inst.exp
7820 * gdb.arch/aarch64-fp.exp
7821 * gdb.arch/altivec-abi.exp
7822 * gdb.arch/altivec-regs.exp
7823 * gdb.arch/amd64-byte.exp
7824 * gdb.arch/amd64-disp-step.exp
7825 * gdb.arch/amd64-dword.exp
7826 * gdb.arch/amd64-entry-value-inline.exp
7827 * gdb.arch/amd64-entry-value-param.exp
7828 * gdb.arch/amd64-entry-value-paramref.exp
7829 * gdb.arch/amd64-entry-value.exp
7830 * gdb.arch/amd64-i386-address.exp
7831 * gdb.arch/amd64-invalid-stack-middle.exp
7832 * gdb.arch/amd64-invalid-stack-top.exp
7833 * gdb.arch/amd64-optimout-repeat.exp
7834 * gdb.arch/amd64-prologue-skip.exp
7835 * gdb.arch/amd64-prologue-xmm.exp
7836 * gdb.arch/amd64-stap-special-operands.exp
7837 * gdb.arch/amd64-stap-wrong-subexp.exp
7838 * gdb.arch/amd64-tailcall-cxx.exp
7839 * gdb.arch/amd64-tailcall-noret.exp
7840 * gdb.arch/amd64-tailcall-ret.exp
7841 * gdb.arch/amd64-tailcall-self.exp
7842 * gdb.arch/amd64-word.exp
7843 * gdb.arch/arm-bl-branch-dest.exp
7844 * gdb.arch/arm-disp-step.exp
7845 * gdb.arch/arm-neon.exp
7846 * gdb.arch/arm-single-step-kernel-helper.exp
7847 * gdb.arch/avr-flash-qualifier.exp
7848 * gdb.arch/disp-step-insn-reloc.exp
7849 * gdb.arch/e500-abi.exp
7850 * gdb.arch/e500-regs.exp
7851 * gdb.arch/ftrace-insn-reloc.exp
7852 * gdb.arch/i386-avx512.exp
7853 * gdb.arch/i386-bp_permanent.exp
7854 * gdb.arch/i386-byte.exp
7855 * gdb.arch/i386-cfi-notcurrent.exp
7856 * gdb.arch/i386-disp-step.exp
7857 * gdb.arch/i386-dr3-watch.exp
7858 * gdb.arch/i386-float.exp
7859 * gdb.arch/i386-gnu-cfi.exp
7860 * gdb.arch/i386-mpx-map.exp
7861 * gdb.arch/i386-mpx-sigsegv.exp
7862 * gdb.arch/i386-mpx-simple_segv.exp
7863 * gdb.arch/i386-mpx.exp
7864 * gdb.arch/i386-permbkpt.exp
7865 * gdb.arch/i386-prologue.exp
7866 * gdb.arch/i386-signal.exp
7867 * gdb.arch/i386-size-overlap.exp
7868 * gdb.arch/i386-unwind.exp
7869 * gdb.arch/i386-word.exp
7870 * gdb.arch/mips-fcr.exp
7871 * gdb.arch/powerpc-d128-regs.exp
7872 * gdb.arch/powerpc-stackless.exp
7873 * gdb.arch/ppc64-atomic-inst.exp
7874 * gdb.arch/s390-stackless.exp
7875 * gdb.arch/s390-tdbregs.exp
7876 * gdb.arch/s390-vregs.exp
7877 * gdb.arch/sparc-sysstep.exp
7878 * gdb.arch/thumb-bx-pc.exp
7879 * gdb.arch/thumb-singlestep.exp
7880 * gdb.arch/thumb2-it.exp
7881 * gdb.arch/vsx-regs.exp
7882 * gdb.asm/asm-source.exp
7883 * gdb.base/a2-run.exp
7884 * gdb.base/advance.exp
7885 * gdb.base/all-bin.exp
7886 * gdb.base/anon.exp
7887 * gdb.base/args.exp
7888 * gdb.base/arithmet.exp
7889 * gdb.base/async-shell.exp
7890 * gdb.base/async.exp
7891 * gdb.base/attach-pie-noexec.exp
7892 * gdb.base/attach-twice.exp
7893 * gdb.base/auto-load.exp
7894 * gdb.base/bang.exp
7895 * gdb.base/bitfields.exp
7896 * gdb.base/break-always.exp
7897 * gdb.base/break-caller-line.exp
7898 * gdb.base/break-entry.exp
7899 * gdb.base/break-inline.exp
7900 * gdb.base/break-on-linker-gcd-function.exp
7901 * gdb.base/break-probes.exp
7902 * gdb.base/break.exp
7903 * gdb.base/breakpoint-shadow.exp
7904 * gdb.base/call-ar-st.exp
7905 * gdb.base/call-sc.exp
7906 * gdb.base/call-signal-resume.exp
7907 * gdb.base/call-strs.exp
7908 * gdb.base/callfuncs.exp
7909 * gdb.base/catch-fork-static.exp
7910 * gdb.base/catch-gdb-caused-signals.exp
7911 * gdb.base/catch-load.exp
7912 * gdb.base/catch-signal-fork.exp
7913 * gdb.base/catch-signal.exp
7914 * gdb.base/catch-syscall.exp
7915 * gdb.base/charset.exp
7916 * gdb.base/checkpoint.exp
7917 * gdb.base/chng-syms.exp
7918 * gdb.base/code-expr.exp
7919 * gdb.base/code_elim.exp
7920 * gdb.base/commands.exp
7921 * gdb.base/completion.exp
7922 * gdb.base/complex.exp
7923 * gdb.base/cond-expr.exp
7924 * gdb.base/condbreak.exp
7925 * gdb.base/consecutive.exp
7926 * gdb.base/continue-all-already-running.exp
7927 * gdb.base/coredump-filter.exp
7928 * gdb.base/corefile.exp
7929 * gdb.base/dbx.exp
7930 * gdb.base/debug-expr.exp
7931 * gdb.base/define.exp
7932 * gdb.base/del.exp
7933 * gdb.base/disabled-location.exp
7934 * gdb.base/disasm-end-cu.exp
7935 * gdb.base/disasm-optim.exp
7936 * gdb.base/display.exp
7937 * gdb.base/duplicate-bp.exp
7938 * gdb.base/ena-dis-br.exp
7939 * gdb.base/ending-run.exp
7940 * gdb.base/enumval.exp
7941 * gdb.base/environ.exp
7942 * gdb.base/eu-strip-infcall.exp
7943 * gdb.base/eval-avoid-side-effects.exp
7944 * gdb.base/eval-skip.exp
7945 * gdb.base/exitsignal.exp
7946 * gdb.base/expand-psymtabs.exp
7947 * gdb.base/filesym.exp
7948 * gdb.base/find-unmapped.exp
7949 * gdb.base/finish.exp
7950 * gdb.base/float.exp
7951 * gdb.base/foll-exec-mode.exp
7952 * gdb.base/foll-exec.exp
7953 * gdb.base/foll-fork.exp
7954 * gdb.base/fortran-sym-case.exp
7955 * gdb.base/freebpcmd.exp
7956 * gdb.base/func-ptr.exp
7957 * gdb.base/func-ptrs.exp
7958 * gdb.base/funcargs.exp
7959 * gdb.base/gcore-buffer-overflow.exp
7960 * gdb.base/gcore-relro-pie.exp
7961 * gdb.base/gcore-relro.exp
7962 * gdb.base/gcore.exp
7963 * gdb.base/gdb1090.exp
7964 * gdb.base/gdb11530.exp
7965 * gdb.base/gdb11531.exp
7966 * gdb.base/gdb1821.exp
7967 * gdb.base/gdbindex-stabs.exp
7968 * gdb.base/gdbvars.exp
7969 * gdb.base/hbreak.exp
7970 * gdb.base/hbreak2.exp
7971 * gdb.base/included.exp
7972 * gdb.base/infcall-input.exp
7973 * gdb.base/inferior-died.exp
7974 * gdb.base/infnan.exp
7975 * gdb.base/info-macros.exp
7976 * gdb.base/info-os.exp
7977 * gdb.base/info-proc.exp
7978 * gdb.base/info-shared.exp
7979 * gdb.base/info-target.exp
7980 * gdb.base/infoline.exp
7981 * gdb.base/interp.exp
7982 * gdb.base/interrupt.exp
7983 * gdb.base/jit-reader.exp
7984 * gdb.base/jit-simple.exp
7985 * gdb.base/kill-after-signal.exp
7986 * gdb.base/kill-detach-inferiors-cmd.exp
7987 * gdb.base/label.exp
7988 * gdb.base/langs.exp
7989 * gdb.base/ldbl_e308.exp
7990 * gdb.base/line-symtabs.exp
7991 * gdb.base/linespecs.exp
7992 * gdb.base/list.exp
7993 * gdb.base/long_long.exp
7994 * gdb.base/longest-types.exp
7995 * gdb.base/maint.exp
7996 * gdb.base/max-value-size.exp
7997 * gdb.base/memattr.exp
7998 * gdb.base/mips_pro.exp
7999 * gdb.base/morestack.exp
8000 * gdb.base/moribund-step.exp
8001 * gdb.base/multi-forks.exp
8002 * gdb.base/nested-addr.exp
8003 * gdb.base/nextoverexit.exp
8004 * gdb.base/noreturn-finish.exp
8005 * gdb.base/noreturn-return.exp
8006 * gdb.base/nostdlib.exp
8007 * gdb.base/offsets.exp
8008 * gdb.base/opaque.exp
8009 * gdb.base/pc-fp.exp
8010 * gdb.base/permissions.exp
8011 * gdb.base/print-symbol-loading.exp
8012 * gdb.base/prologue-include.exp
8013 * gdb.base/psymtab.exp
8014 * gdb.base/ptype.exp
8015 * gdb.base/random-signal.exp
8016 * gdb.base/randomize.exp
8017 * gdb.base/range-stepping.exp
8018 * gdb.base/readline-ask.exp
8019 * gdb.base/recpar.exp
8020 * gdb.base/recurse.exp
8021 * gdb.base/relational.exp
8022 * gdb.base/restore.exp
8023 * gdb.base/return-nodebug.exp
8024 * gdb.base/return.exp
8025 * gdb.base/run-after-attach.exp
8026 * gdb.base/save-bp.exp
8027 * gdb.base/scope.exp
8028 * gdb.base/sect-cmd.exp
8029 * gdb.base/set-lang-auto.exp
8030 * gdb.base/set-noassign.exp
8031 * gdb.base/setvar.exp
8032 * gdb.base/sigall.exp
8033 * gdb.base/sigbpt.exp
8034 * gdb.base/siginfo-addr.exp
8035 * gdb.base/siginfo-infcall.exp
8036 * gdb.base/siginfo-obj.exp
8037 * gdb.base/siginfo.exp
8038 * gdb.base/signals-state-child.exp
8039 * gdb.base/signest.exp
8040 * gdb.base/sigstep.exp
8041 * gdb.base/sizeof.exp
8042 * gdb.base/skip.exp
8043 * gdb.base/solib-corrupted.exp
8044 * gdb.base/solib-nodir.exp
8045 * gdb.base/solib-search.exp
8046 * gdb.base/stack-checking.exp
8047 * gdb.base/stale-infcall.exp
8048 * gdb.base/stap-probe.exp
8049 * gdb.base/start.exp
8050 * gdb.base/step-break.exp
8051 * gdb.base/step-bt.exp
8052 * gdb.base/step-line.exp
8053 * gdb.base/step-over-exit.exp
8054 * gdb.base/step-over-syscall.exp
8055 * gdb.base/step-resume-infcall.exp
8056 * gdb.base/step-test.exp
8057 * gdb.base/store.exp
8058 * gdb.base/structs3.exp
8059 * gdb.base/sym-file.exp
8060 * gdb.base/symbol-without-target_section.exp
8061 * gdb.base/term.exp
8062 * gdb.base/testenv.exp
8063 * gdb.base/ui-redirect.exp
8064 * gdb.base/until.exp
8065 * gdb.base/unwindonsignal.exp
8066 * gdb.base/value-double-free.exp
8067 * gdb.base/vla-datatypes.exp
8068 * gdb.base/vla-ptr.exp
8069 * gdb.base/vla-sideeffect.exp
8070 * gdb.base/volatile.exp
8071 * gdb.base/watch-cond-infcall.exp
8072 * gdb.base/watch-cond.exp
8073 * gdb.base/watch-non-mem.exp
8074 * gdb.base/watch-read.exp
8075 * gdb.base/watch-vfork.exp
8076 * gdb.base/watchpoint-cond-gone.exp
8077 * gdb.base/watchpoint-delete.exp
8078 * gdb.base/watchpoint-hw-hit-once.exp
8079 * gdb.base/watchpoint-hw.exp
8080 * gdb.base/watchpoint-stops-at-right-insn.exp
8081 * gdb.base/watchpoints.exp
8082 * gdb.base/wchar.exp
8083 * gdb.base/whatis-exp.exp
8084 * gdb.btrace/buffer-size.exp
8085 * gdb.btrace/data.exp
8086 * gdb.btrace/delta.exp
8087 * gdb.btrace/dlopen.exp
8088 * gdb.btrace/enable.exp
8089 * gdb.btrace/exception.exp
8090 * gdb.btrace/function_call_history.exp
8091 * gdb.btrace/gcore.exp
8092 * gdb.btrace/instruction_history.exp
8093 * gdb.btrace/nohist.exp
8094 * gdb.btrace/reconnect.exp
8095 * gdb.btrace/record_goto-step.exp
8096 * gdb.btrace/record_goto.exp
8097 * gdb.btrace/rn-dl-bind.exp
8098 * gdb.btrace/segv.exp
8099 * gdb.btrace/step.exp
8100 * gdb.btrace/stepi.exp
8101 * gdb.btrace/tailcall-only.exp
8102 * gdb.btrace/tailcall.exp
8103 * gdb.btrace/tsx.exp
8104 * gdb.btrace/unknown_functions.exp
8105 * gdb.btrace/vdso.exp
8106 * gdb.compile/compile-ifunc.exp
8107 * gdb.compile/compile-ops.exp
8108 * gdb.compile/compile-print.exp
8109 * gdb.compile/compile-setjmp.exp
8110 * gdb.cp/abstract-origin.exp
8111 * gdb.cp/ambiguous.exp
8112 * gdb.cp/annota2.exp
8113 * gdb.cp/annota3.exp
8114 * gdb.cp/anon-ns.exp
8115 * gdb.cp/anon-struct.exp
8116 * gdb.cp/anon-union.exp
8117 * gdb.cp/arg-reference.exp
8118 * gdb.cp/baseenum.exp
8119 * gdb.cp/bool.exp
8120 * gdb.cp/breakpoint.exp
8121 * gdb.cp/bs15503.exp
8122 * gdb.cp/call-c.exp
8123 * gdb.cp/casts.exp
8124 * gdb.cp/chained-calls.exp
8125 * gdb.cp/class2.exp
8126 * gdb.cp/classes.exp
8127 * gdb.cp/cmpd-minsyms.exp
8128 * gdb.cp/converts.exp
8129 * gdb.cp/cp-relocate.exp
8130 * gdb.cp/cpcompletion.exp
8131 * gdb.cp/cpexprs.exp
8132 * gdb.cp/cplabel.exp
8133 * gdb.cp/cplusfuncs.exp
8134 * gdb.cp/cpsizeof.exp
8135 * gdb.cp/ctti.exp
8136 * gdb.cp/derivation.exp
8137 * gdb.cp/destrprint.exp
8138 * gdb.cp/dispcxx.exp
8139 * gdb.cp/enum-class.exp
8140 * gdb.cp/exception.exp
8141 * gdb.cp/exceptprint.exp
8142 * gdb.cp/expand-psymtabs-cxx.exp
8143 * gdb.cp/expand-sals.exp
8144 * gdb.cp/extern-c.exp
8145 * gdb.cp/filename.exp
8146 * gdb.cp/formatted-ref.exp
8147 * gdb.cp/fpointer.exp
8148 * gdb.cp/gdb1355.exp
8149 * gdb.cp/gdb2495.exp
8150 * gdb.cp/hang.exp
8151 * gdb.cp/impl-this.exp
8152 * gdb.cp/infcall-dlopen.exp
8153 * gdb.cp/inherit.exp
8154 * gdb.cp/iostream.exp
8155 * gdb.cp/koenig.exp
8156 * gdb.cp/local.exp
8157 * gdb.cp/m-data.exp
8158 * gdb.cp/m-static.exp
8159 * gdb.cp/mb-ctor.exp
8160 * gdb.cp/mb-inline.exp
8161 * gdb.cp/mb-templates.exp
8162 * gdb.cp/member-name.exp
8163 * gdb.cp/member-ptr.exp
8164 * gdb.cp/meth-typedefs.exp
8165 * gdb.cp/method.exp
8166 * gdb.cp/method2.exp
8167 * gdb.cp/minsym-fallback.exp
8168 * gdb.cp/misc.exp
8169 * gdb.cp/namelessclass.exp
8170 * gdb.cp/namespace-enum.exp
8171 * gdb.cp/namespace-nested-import.exp
8172 * gdb.cp/namespace.exp
8173 * gdb.cp/nextoverthrow.exp
8174 * gdb.cp/no-dmgl-verbose.exp
8175 * gdb.cp/non-trivial-retval.exp
8176 * gdb.cp/noparam.exp
8177 * gdb.cp/nsdecl.exp
8178 * gdb.cp/nsimport.exp
8179 * gdb.cp/nsnested.exp
8180 * gdb.cp/nsnoimports.exp
8181 * gdb.cp/nsrecurs.exp
8182 * gdb.cp/nsstress.exp
8183 * gdb.cp/nsusing.exp
8184 * gdb.cp/operator.exp
8185 * gdb.cp/oranking.exp
8186 * gdb.cp/overload-const.exp
8187 * gdb.cp/overload.exp
8188 * gdb.cp/ovldbreak.exp
8189 * gdb.cp/ovsrch.exp
8190 * gdb.cp/paren-type.exp
8191 * gdb.cp/parse-lang.exp
8192 * gdb.cp/pass-by-ref.exp
8193 * gdb.cp/pr-1023.exp
8194 * gdb.cp/pr-1210.exp
8195 * gdb.cp/pr-574.exp
8196 * gdb.cp/pr10687.exp
8197 * gdb.cp/pr12028.exp
8198 * gdb.cp/pr17132.exp
8199 * gdb.cp/pr17494.exp
8200 * gdb.cp/pr9067.exp
8201 * gdb.cp/pr9167.exp
8202 * gdb.cp/pr9631.exp
8203 * gdb.cp/printmethod.exp
8204 * gdb.cp/psmang.exp
8205 * gdb.cp/psymtab-parameter.exp
8206 * gdb.cp/ptype-cv-cp.exp
8207 * gdb.cp/ptype-flags.exp
8208 * gdb.cp/re-set-overloaded.exp
8209 * gdb.cp/ref-types.exp
8210 * gdb.cp/rtti.exp
8211 * gdb.cp/scope-err.exp
8212 * gdb.cp/shadow.exp
8213 * gdb.cp/smartp.exp
8214 * gdb.cp/static-method.exp
8215 * gdb.cp/static-print-quit.exp
8216 * gdb.cp/temargs.exp
8217 * gdb.cp/templates.exp
8218 * gdb.cp/try_catch.exp
8219 * gdb.cp/typedef-operator.exp
8220 * gdb.cp/typeid.exp
8221 * gdb.cp/userdef.exp
8222 * gdb.cp/using-crash.exp
8223 * gdb.cp/var-tag.exp
8224 * gdb.cp/virtbase.exp
8225 * gdb.cp/virtfunc.exp
8226 * gdb.cp/virtfunc2.exp
8227 * gdb.cp/vla-cxx.exp
8228 * gdb.disasm/t01_mov.exp
8229 * gdb.disasm/t02_mova.exp
8230 * gdb.disasm/t03_add.exp
8231 * gdb.disasm/t04_sub.exp
8232 * gdb.disasm/t05_cmp.exp
8233 * gdb.disasm/t06_ari2.exp
8234 * gdb.disasm/t07_ari3.exp
8235 * gdb.disasm/t08_or.exp
8236 * gdb.disasm/t09_xor.exp
8237 * gdb.disasm/t10_and.exp
8238 * gdb.disasm/t11_logs.exp
8239 * gdb.disasm/t12_bit.exp
8240 * gdb.disasm/t13_otr.exp
8241 * gdb.dlang/circular.exp
8242 * gdb.dwarf2/arr-stride.exp
8243 * gdb.dwarf2/arr-subrange.exp
8244 * gdb.dwarf2/atomic-type.exp
8245 * gdb.dwarf2/bad-regnum.exp
8246 * gdb.dwarf2/bitfield-parent-optimized-out.exp
8247 * gdb.dwarf2/callframecfa.exp
8248 * gdb.dwarf2/clztest.exp
8249 * gdb.dwarf2/corrupt.exp
8250 * gdb.dwarf2/data-loc.exp
8251 * gdb.dwarf2/dup-psym.exp
8252 * gdb.dwarf2/dw2-anon-mptr.exp
8253 * gdb.dwarf2/dw2-anonymous-func.exp
8254 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
8255 * gdb.dwarf2/dw2-bad-unresolved.exp
8256 * gdb.dwarf2/dw2-basic.exp
8257 * gdb.dwarf2/dw2-canonicalize-type.exp
8258 * gdb.dwarf2/dw2-case-insensitive.exp
8259 * gdb.dwarf2/dw2-common-block.exp
8260 * gdb.dwarf2/dw2-compdir-oldgcc.exp
8261 * gdb.dwarf2/dw2-compressed.exp
8262 * gdb.dwarf2/dw2-const.exp
8263 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
8264 * gdb.dwarf2/dw2-cu-size.exp
8265 * gdb.dwarf2/dw2-dup-frame.exp
8266 * gdb.dwarf2/dw2-entry-value.exp
8267 * gdb.dwarf2/dw2-icycle.exp
8268 * gdb.dwarf2/dw2-ifort-parameter.exp
8269 * gdb.dwarf2/dw2-inline-break.exp
8270 * gdb.dwarf2/dw2-inline-param.exp
8271 * gdb.dwarf2/dw2-intercu.exp
8272 * gdb.dwarf2/dw2-intermix.exp
8273 * gdb.dwarf2/dw2-lexical-block-bare.exp
8274 * gdb.dwarf2/dw2-linkage-name-trust.exp
8275 * gdb.dwarf2/dw2-minsym-in-cu.exp
8276 * gdb.dwarf2/dw2-noloc.exp
8277 * gdb.dwarf2/dw2-op-call.exp
8278 * gdb.dwarf2/dw2-op-out-param.exp
8279 * gdb.dwarf2/dw2-opt-structptr.exp
8280 * gdb.dwarf2/dw2-param-error.exp
8281 * gdb.dwarf2/dw2-producer.exp
8282 * gdb.dwarf2/dw2-ranges-base.exp
8283 * gdb.dwarf2/dw2-ref-missing-frame.exp
8284 * gdb.dwarf2/dw2-reg-undefined.exp
8285 * gdb.dwarf2/dw2-regno-invalid.exp
8286 * gdb.dwarf2/dw2-restore.exp
8287 * gdb.dwarf2/dw2-restrict.exp
8288 * gdb.dwarf2/dw2-single-line-discriminators.exp
8289 * gdb.dwarf2/dw2-strp.exp
8290 * gdb.dwarf2/dw2-undefined-ret-addr.exp
8291 * gdb.dwarf2/dw2-unresolved.exp
8292 * gdb.dwarf2/dw2-var-zero-addr.exp
8293 * gdb.dwarf2/dw4-sig-types.exp
8294 * gdb.dwarf2/dwz.exp
8295 * gdb.dwarf2/dynarr-ptr.exp
8296 * gdb.dwarf2/enum-type.exp
8297 * gdb.dwarf2/gdb-index.exp
8298 * gdb.dwarf2/implptr-64bit.exp
8299 * gdb.dwarf2/implptr-optimized-out.exp
8300 * gdb.dwarf2/implptr.exp
8301 * gdb.dwarf2/implref-array.exp
8302 * gdb.dwarf2/implref-const.exp
8303 * gdb.dwarf2/implref-global.exp
8304 * gdb.dwarf2/implref-struct.exp
8305 * gdb.dwarf2/mac-fileno.exp
8306 * gdb.dwarf2/main-subprogram.exp
8307 * gdb.dwarf2/member-ptr-forwardref.exp
8308 * gdb.dwarf2/method-ptr.exp
8309 * gdb.dwarf2/missing-sig-type.exp
8310 * gdb.dwarf2/nonvar-access.exp
8311 * gdb.dwarf2/opaque-type-lookup.exp
8312 * gdb.dwarf2/pieces-optimized-out.exp
8313 * gdb.dwarf2/pieces.exp
8314 * gdb.dwarf2/pr10770.exp
8315 * gdb.dwarf2/pr13961.exp
8316 * gdb.dwarf2/staticvirtual.exp
8317 * gdb.dwarf2/subrange.exp
8318 * gdb.dwarf2/symtab-producer.exp
8319 * gdb.dwarf2/trace-crash.exp
8320 * gdb.dwarf2/typeddwarf.exp
8321 * gdb.dwarf2/valop.exp
8322 * gdb.dwarf2/watch-notconst.exp
8323 * gdb.fortran/array-element.exp
8324 * gdb.fortran/charset.exp
8325 * gdb.fortran/common-block.exp
8326 * gdb.fortran/complex.exp
8327 * gdb.fortran/derived-type-function.exp
8328 * gdb.fortran/derived-type.exp
8329 * gdb.fortran/logical.exp
8330 * gdb.fortran/module.exp
8331 * gdb.fortran/multi-dim.exp
8332 * gdb.fortran/nested-funcs.exp
8333 * gdb.fortran/print-formatted.exp
8334 * gdb.fortran/subarray.exp
8335 * gdb.fortran/vla-alloc-assoc.exp
8336 * gdb.fortran/vla-datatypes.exp
8337 * gdb.fortran/vla-history.exp
8338 * gdb.fortran/vla-ptr-info.exp
8339 * gdb.fortran/vla-ptype-sub.exp
8340 * gdb.fortran/vla-ptype.exp
8341 * gdb.fortran/vla-sizeof.exp
8342 * gdb.fortran/vla-type.exp
8343 * gdb.fortran/vla-value-sub-arbitrary.exp
8344 * gdb.fortran/vla-value-sub-finish.exp
8345 * gdb.fortran/vla-value-sub.exp
8346 * gdb.fortran/vla-value.exp
8347 * gdb.fortran/whatis_type.exp
8348 * gdb.go/chan.exp
8349 * gdb.go/handcall.exp
8350 * gdb.go/hello.exp
8351 * gdb.go/integers.exp
8352 * gdb.go/methods.exp
8353 * gdb.go/package.exp
8354 * gdb.go/strings.exp
8355 * gdb.go/types.exp
8356 * gdb.go/unsafe.exp
8357 * gdb.guile/scm-arch.exp
8358 * gdb.guile/scm-block.exp
8359 * gdb.guile/scm-breakpoint.exp
8360 * gdb.guile/scm-cmd.exp
8361 * gdb.guile/scm-disasm.exp
8362 * gdb.guile/scm-equal.exp
8363 * gdb.guile/scm-frame-args.exp
8364 * gdb.guile/scm-frame-inline.exp
8365 * gdb.guile/scm-frame.exp
8366 * gdb.guile/scm-iterator.exp
8367 * gdb.guile/scm-math.exp
8368 * gdb.guile/scm-objfile.exp
8369 * gdb.guile/scm-ports.exp
8370 * gdb.guile/scm-symbol.exp
8371 * gdb.guile/scm-symtab.exp
8372 * gdb.guile/scm-value-cc.exp
8373 * gdb.guile/types-module.exp
8374 * gdb.linespec/break-ask.exp
8375 * gdb.linespec/cpexplicit.exp
8376 * gdb.linespec/explicit.exp
8377 * gdb.linespec/keywords.exp
8378 * gdb.linespec/linespec.exp
8379 * gdb.linespec/ls-dollar.exp
8380 * gdb.linespec/ls-errs.exp
8381 * gdb.linespec/skip-two.exp
8382 * gdb.linespec/thread.exp
8383 * gdb.mi/mi-async.exp
8384 * gdb.mi/mi-basics.exp
8385 * gdb.mi/mi-break.exp
8386 * gdb.mi/mi-catch-load.exp
8387 * gdb.mi/mi-cli.exp
8388 * gdb.mi/mi-cmd-param-changed.exp
8389 * gdb.mi/mi-console.exp
8390 * gdb.mi/mi-detach.exp
8391 * gdb.mi/mi-disassemble.exp
8392 * gdb.mi/mi-eval.exp
8393 * gdb.mi/mi-file-transfer.exp
8394 * gdb.mi/mi-file.exp
8395 * gdb.mi/mi-fill-memory.exp
8396 * gdb.mi/mi-inheritance-syntax-error.exp
8397 * gdb.mi/mi-linespec-err-cp.exp
8398 * gdb.mi/mi-logging.exp
8399 * gdb.mi/mi-memory-changed.exp
8400 * gdb.mi/mi-read-memory.exp
8401 * gdb.mi/mi-record-changed.exp
8402 * gdb.mi/mi-reg-undefined.exp
8403 * gdb.mi/mi-regs.exp
8404 * gdb.mi/mi-return.exp
8405 * gdb.mi/mi-reverse.exp
8406 * gdb.mi/mi-simplerun.exp
8407 * gdb.mi/mi-solib.exp
8408 * gdb.mi/mi-stack.exp
8409 * gdb.mi/mi-stepi.exp
8410 * gdb.mi/mi-syn-frame.exp
8411 * gdb.mi/mi-until.exp
8412 * gdb.mi/mi-var-block.exp
8413 * gdb.mi/mi-var-child.exp
8414 * gdb.mi/mi-var-cmd.exp
8415 * gdb.mi/mi-var-cp.exp
8416 * gdb.mi/mi-var-display.exp
8417 * gdb.mi/mi-var-invalidate.exp
8418 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
8419 * gdb.mi/mi-vla-fortran.exp
8420 * gdb.mi/mi-watch.exp
8421 * gdb.mi/mi2-var-child.exp
8422 * gdb.mi/user-selected-context-sync.exp
8423 * gdb.modula2/unbounded-array.exp
8424 * gdb.multi/dummy-frame-restore.exp
8425 * gdb.multi/multi-arch-exec.exp
8426 * gdb.multi/multi-arch.exp
8427 * gdb.multi/tids.exp
8428 * gdb.multi/watchpoint-multi.exp
8429 * gdb.opencl/callfuncs.exp
8430 * gdb.opencl/convs_casts.exp
8431 * gdb.opencl/datatypes.exp
8432 * gdb.opencl/operators.exp
8433 * gdb.opencl/vec_comps.exp
8434 * gdb.opt/clobbered-registers-O2.exp
8435 * gdb.opt/inline-break.exp
8436 * gdb.opt/inline-bt.exp
8437 * gdb.opt/inline-cmds.exp
8438 * gdb.opt/inline-locals.exp
8439 * gdb.pascal/case-insensitive-symbols.exp
8440 * gdb.pascal/floats.exp
8441 * gdb.pascal/gdb11492.exp
8442 * gdb.python/lib-types.exp
8443 * gdb.python/py-arch.exp
8444 * gdb.python/py-as-string.exp
8445 * gdb.python/py-bad-printers.exp
8446 * gdb.python/py-block.exp
8447 * gdb.python/py-breakpoint-create-fail.exp
8448 * gdb.python/py-breakpoint.exp
8449 * gdb.python/py-caller-is.exp
8450 * gdb.python/py-cmd.exp
8451 * gdb.python/py-explore-cc.exp
8452 * gdb.python/py-explore.exp
8453 * gdb.python/py-finish-breakpoint.exp
8454 * gdb.python/py-finish-breakpoint2.exp
8455 * gdb.python/py-frame-args.exp
8456 * gdb.python/py-frame-inline.exp
8457 * gdb.python/py-frame.exp
8458 * gdb.python/py-framefilter-mi.exp
8459 * gdb.python/py-infthread.exp
8460 * gdb.python/py-lazy-string.exp
8461 * gdb.python/py-linetable.exp
8462 * gdb.python/py-mi-events.exp
8463 * gdb.python/py-mi-objfile.exp
8464 * gdb.python/py-mi.exp
8465 * gdb.python/py-objfile.exp
8466 * gdb.python/py-pp-integral.exp
8467 * gdb.python/py-pp-maint.exp
8468 * gdb.python/py-pp-re-notag.exp
8469 * gdb.python/py-pp-registration.exp
8470 * gdb.python/py-recurse-unwind.exp
8471 * gdb.python/py-strfns.exp
8472 * gdb.python/py-symbol.exp
8473 * gdb.python/py-symtab.exp
8474 * gdb.python/py-sync-interp.exp
8475 * gdb.python/py-typeprint.exp
8476 * gdb.python/py-unwind-maint.exp
8477 * gdb.python/py-unwind.exp
8478 * gdb.python/py-value-cc.exp
8479 * gdb.python/py-xmethods.exp
8480 * gdb.reverse/amd64-tailcall-reverse.exp
8481 * gdb.reverse/break-precsave.exp
8482 * gdb.reverse/break-reverse.exp
8483 * gdb.reverse/consecutive-precsave.exp
8484 * gdb.reverse/consecutive-reverse.exp
8485 * gdb.reverse/finish-precsave.exp
8486 * gdb.reverse/finish-reverse-bkpt.exp
8487 * gdb.reverse/finish-reverse.exp
8488 * gdb.reverse/fstatat-reverse.exp
8489 * gdb.reverse/getresuid-reverse.exp
8490 * gdb.reverse/i386-precsave.exp
8491 * gdb.reverse/i386-reverse.exp
8492 * gdb.reverse/i386-sse-reverse.exp
8493 * gdb.reverse/i387-env-reverse.exp
8494 * gdb.reverse/i387-stack-reverse.exp
8495 * gdb.reverse/insn-reverse.exp
8496 * gdb.reverse/machinestate-precsave.exp
8497 * gdb.reverse/machinestate.exp
8498 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8499 * gdb.reverse/pipe-reverse.exp
8500 * gdb.reverse/readv-reverse.exp
8501 * gdb.reverse/recvmsg-reverse.exp
8502 * gdb.reverse/rerun-prec.exp
8503 * gdb.reverse/s390-mvcle.exp
8504 * gdb.reverse/step-precsave.exp
8505 * gdb.reverse/step-reverse.exp
8506 * gdb.reverse/time-reverse.exp
8507 * gdb.reverse/until-precsave.exp
8508 * gdb.reverse/until-reverse.exp
8509 * gdb.reverse/waitpid-reverse.exp
8510 * gdb.reverse/watch-precsave.exp
8511 * gdb.reverse/watch-reverse.exp
8512 * gdb.rust/generics.exp
8513 * gdb.rust/methods.exp
8514 * gdb.rust/modules.exp
8515 * gdb.rust/simple.exp
8516 * gdb.server/connect-with-no-symbol-file.exp
8517 * gdb.server/ext-attach.exp
8518 * gdb.server/ext-restart.exp
8519 * gdb.server/ext-wrapper.exp
8520 * gdb.server/file-transfer.exp
8521 * gdb.server/server-exec-info.exp
8522 * gdb.server/server-kill.exp
8523 * gdb.server/server-mon.exp
8524 * gdb.server/wrapper.exp
8525 * gdb.stabs/exclfwd.exp
8526 * gdb.stabs/gdb11479.exp
8527 * gdb.threads/clone-new-thread-event.exp
8528 * gdb.threads/corethreads.exp
8529 * gdb.threads/current-lwp-dead.exp
8530 * gdb.threads/dlopen-libpthread.exp
8531 * gdb.threads/gcore-thread.exp
8532 * gdb.threads/sigstep-threads.exp
8533 * gdb.threads/watchpoint-fork.exp
8534 * gdb.trace/actions-changed.exp
8535 * gdb.trace/backtrace.exp
8536 * gdb.trace/change-loc.exp
8537 * gdb.trace/circ.exp
8538 * gdb.trace/collection.exp
8539 * gdb.trace/disconnected-tracing.exp
8540 * gdb.trace/ftrace.exp
8541 * gdb.trace/mi-trace-frame-collected.exp
8542 * gdb.trace/mi-trace-unavailable.exp
8543 * gdb.trace/mi-traceframe-changed.exp
8544 * gdb.trace/mi-tsv-changed.exp
8545 * gdb.trace/no-attach-trace.exp
8546 * gdb.trace/passc-dyn.exp
8547 * gdb.trace/qtro.exp
8548 * gdb.trace/range-stepping.exp
8549 * gdb.trace/read-memory.exp
8550 * gdb.trace/save-trace.exp
8551 * gdb.trace/signal.exp
8552 * gdb.trace/status-stop.exp
8553 * gdb.trace/tfile.exp
8554 * gdb.trace/trace-break.exp
8555 * gdb.trace/trace-buffer-size.exp
8556 * gdb.trace/trace-condition.exp
8557 * gdb.trace/tracefile-pseudo-reg.exp
8558 * gdb.trace/tstatus.exp
8559 * gdb.trace/unavailable.exp
8560 * gdb.trace/while-dyn.exp
8561 * gdb.trace/while-stepping.exp
8562
34c41c68
DE
85632016-12-22 Doug Evans <xdje42@gmail.com>
8564
8565 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
8566 and msymbols.
8567
16e69324
YQ
85682016-12-19 Yao Qi <yao.qi@linaro.org>
8569
8570 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
8571 (test_with_self): Don't call do_steps_and_nexts, and remove
8572 code about stepping into xmalloc.
8573
f94f411b
YQ
85742016-12-09 Yao Qi <yao.qi@linaro.org>
8575
8576 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
8577
85782016-12-09 Yao Qi <yao.qi@linaro.org>
8579
8580 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
8581
f1b5deee
PA
85822016-12-09 Pedro Alves <palves@redhat.com>
8583
8584 * gdb.base/all-architectures-0.exp: New file.
8585 * gdb.base/all-architectures-1.exp: New file.
8586 * gdb.base/all-architectures-2.exp: New file.
8587 * gdb.base/all-architectures-3.exp: New file.
8588 * gdb.base/all-architectures-4.exp: New file.
8589 * gdb.base/all-architectures-5.exp: New file.
8590 * gdb.base/all-architectures-6.exp: New file.
8591 * gdb.base/all-architectures-7.exp: New file.
8592 * gdb.base/all-architectures.exp.in: New file.
8593
364ca42e
YQ
85942016-12-09 Yao Qi <yao.qi@linaro.org>
8595
8596 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
8597
107c2d62
LM
85982016-12-02 Luis Machado <lgustavo@codesourcery.com>
8599
8600 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
8601 possible.
8602 Remove useless pattern-matching code.
8603
df3ee9ca
PA
86042016-12-02 Pedro Alves <palves@redhat.com>
8605
8606 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
8607 procedure.
8608 (top level): Call it.
8609
ec835369
PA
86102016-12-02 Pedro Alves <palves@redhat.com>
8611
8612 * gdb.base/commands.exp (user_defined_command_args_stack_test):
8613 New procedure.
8614 (top level): Call it.
8615
01770bbd
PA
86162016-12-02 Pedro Alves <palves@redhat.com>
8617
8618 PR cli/20559
8619 * gdb.base/commands.exp (user_defined_command_args_eval): New
8620 procedure.
8621 (top level): Call it.
8622
008459ea
LM
86232016-12-02 Luis Machado <lgustavo@codesourcery.com>
8624
8625 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
8626 timeout handling.
8627
0c1b455e
TT
86282016-12-02 Tom Tromey <tom@tromey.com>
8629
8630 * gdb.dwarf2/main-subprogram.c: New file.
8631 * gdb.dwarf2/main-subprogram.exp: New file.
8632
018572b8
LM
86332016-12-01 Luis Machado <lgustavo@codesourcery.com>
8634
8635 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
8636 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
8637 gdb_test_no_output for a couple of cases.
8638 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
8639
84c93cd5
LM
86402016-12-01 Luis Machado <lgustavo@codesourcery.com>
8641
8642 Fix test names and standardize compilation error messages throughout
8643 the following files:
8644
8645 * gdb.ada/start.exp
8646 * gdb.arch/alpha-step.exp
8647 * gdb.arch/e500-prologue.exp
8648 * gdb.arch/ftrace-insn-reloc.exp
8649 * gdb.arch/gdb1291.exp
8650 * gdb.arch/gdb1431.exp
8651 * gdb.arch/gdb1558.exp
8652 * gdb.arch/i386-dr3-watch.exp
8653 * gdb.arch/i386-sse-stack-align.exp
8654 * gdb.arch/ia64-breakpoint-shadow.exp
8655 * gdb.arch/pa-nullify.exp
8656 * gdb.arch/powerpc-aix-prologue.exp
8657 * gdb.arch/thumb-bx-pc.exp
8658 * gdb.base/annota1.exp
8659 * gdb.base/annota3.exp
8660 * gdb.base/arrayidx.exp
8661 * gdb.base/assign.exp
8662 * gdb.base/attach.exp
8663 * gdb.base/auxv.exp
8664 * gdb.base/bang.exp
8665 * gdb.base/bfp-test.exp
8666 * gdb.base/bigcore.exp
8667 * gdb.base/bitfields2.exp
8668 * gdb.base/break-fun-addr.exp
8669 * gdb.base/break-probes.exp
8670 * gdb.base/call-rt-st.exp
8671 * gdb.base/callexit.exp
8672 * gdb.base/catch-fork-kill.exp
8673 * gdb.base/charset.exp
8674 * gdb.base/checkpoint.exp
8675 * gdb.base/comprdebug.exp
8676 * gdb.base/constvars.exp
8677 * gdb.base/coredump-filter.exp
8678 * gdb.base/cursal.exp
8679 * gdb.base/cvexpr.exp
8680 * gdb.base/detach.exp
8681 * gdb.base/display.exp
8682 * gdb.base/dmsym.exp
8683 * gdb.base/dprintf-pending.exp
8684 * gdb.base/dso2dso.exp
8685 * gdb.base/dtrace-probe.exp
8686 * gdb.base/dump.exp
8687 * gdb.base/enum_cond.exp
8688 * gdb.base/exe-lock.exp
8689 * gdb.base/exec-invalid-sysroot.exp
8690 * gdb.base/execl-update-breakpoints.exp
8691 * gdb.base/exprs.exp
8692 * gdb.base/fileio.exp
8693 * gdb.base/find.exp
8694 * gdb.base/finish.exp
8695 * gdb.base/fixsection.exp
8696 * gdb.base/foll-vfork.exp
8697 * gdb.base/frame-args.exp
8698 * gdb.base/gcore.exp
8699 * gdb.base/gdb1250.exp
8700 * gdb.base/global-var-nested-by-dso.exp
8701 * gdb.base/gnu-ifunc.exp
8702 * gdb.base/hashline1.exp
8703 * gdb.base/hashline2.exp
8704 * gdb.base/hashline3.exp
8705 * gdb.base/hbreak-in-shr-unsupported.exp
8706 * gdb.base/huge.exp
8707 * gdb.base/infcall-input.exp
8708 * gdb.base/info-fun.exp
8709 * gdb.base/info-shared.exp
8710 * gdb.base/jit-simple.exp
8711 * gdb.base/jit-so.exp
8712 * gdb.base/jit.exp
8713 * gdb.base/jump.exp
8714 * gdb.base/label.exp
8715 * gdb.base/lineinc.exp
8716 * gdb.base/logical.exp
8717 * gdb.base/longjmp.exp
8718 * gdb.base/macscp.exp
8719 * gdb.base/miscexprs.exp
8720 * gdb.base/new-ui-echo.exp
8721 * gdb.base/new-ui-pending-input.exp
8722 * gdb.base/new-ui.exp
8723 * gdb.base/nodebug.exp
8724 * gdb.base/nofield.exp
8725 * gdb.base/offsets.exp
8726 * gdb.base/overlays.exp
8727 * gdb.base/pending.exp
8728 * gdb.base/pointers.exp
8729 * gdb.base/pr11022.exp
8730 * gdb.base/printcmds.exp
8731 * gdb.base/prologue.exp
8732 * gdb.base/ptr-typedef.exp
8733 * gdb.base/realname-expand.exp
8734 * gdb.base/relativedebug.exp
8735 * gdb.base/relocate.exp
8736 * gdb.base/remote.exp
8737 * gdb.base/reread.exp
8738 * gdb.base/return2.exp
8739 * gdb.base/savedregs.exp
8740 * gdb.base/sep.exp
8741 * gdb.base/sepdebug.exp
8742 * gdb.base/sepsymtab.exp
8743 * gdb.base/set-inferior-tty.exp
8744 * gdb.base/setshow.exp
8745 * gdb.base/shlib-call.exp
8746 * gdb.base/sigaltstack.exp
8747 * gdb.base/siginfo-addr.exp
8748 * gdb.base/signals.exp
8749 * gdb.base/signull.exp
8750 * gdb.base/sigrepeat.exp
8751 * gdb.base/so-impl-ld.exp
8752 * gdb.base/solib-display.exp
8753 * gdb.base/solib-overlap.exp
8754 * gdb.base/solib-search.exp
8755 * gdb.base/solib-symbol.exp
8756 * gdb.base/structs.exp
8757 * gdb.base/structs2.exp
8758 * gdb.base/symtab-search-order.exp
8759 * gdb.base/twice.exp
8760 * gdb.base/unload.exp
8761 * gdb.base/varargs.exp
8762 * gdb.base/watchpoint-solib.exp
8763 * gdb.base/watchpoint.exp
8764 * gdb.base/whatis.exp
8765 * gdb.base/wrong_frame_bt_full.exp
8766 * gdb.btrace/dlopen.exp
8767 * gdb.cell/ea-standalone.exp
8768 * gdb.cell/ea-test.exp
8769 * gdb.cp/dispcxx.exp
8770 * gdb.cp/gdb2384.exp
8771 * gdb.cp/method2.exp
8772 * gdb.cp/nextoverthrow.exp
8773 * gdb.cp/pr10728.exp
8774 * gdb.disasm/am33.exp
8775 * gdb.disasm/h8300s.exp
8776 * gdb.disasm/mn10300.exp
8777 * gdb.disasm/sh3.exp
8778 * gdb.dwarf2/dw2-dir-file-name.exp
8779 * gdb.fortran/complex.exp
8780 * gdb.fortran/library-module.exp
8781 * gdb.guile/scm-pretty-print.exp
8782 * gdb.guile/scm-symbol.exp
8783 * gdb.guile/scm-type.exp
8784 * gdb.guile/scm-value.exp
8785 * gdb.linespec/linespec.exp
8786 * gdb.mi/gdb701.exp
8787 * gdb.mi/gdb792.exp
8788 * gdb.mi/mi-breakpoint-changed.exp
8789 * gdb.mi/mi-dprintf-pending.exp
8790 * gdb.mi/mi-dprintf.exp
8791 * gdb.mi/mi-exit-code.exp
8792 * gdb.mi/mi-pending.exp
8793 * gdb.mi/mi-solib.exp
8794 * gdb.mi/new-ui-mi-sync.exp
8795 * gdb.mi/pr11022.exp
8796 * gdb.mi/user-selected-context-sync.exp
8797 * gdb.opt/solib-intra-step.exp
8798 * gdb.python/py-events.exp
8799 * gdb.python/py-finish-breakpoint.exp
8800 * gdb.python/py-mi.exp
8801 * gdb.python/py-prettyprint.exp
8802 * gdb.python/py-shared.exp
8803 * gdb.python/py-symbol.exp
8804 * gdb.python/py-template.exp
8805 * gdb.python/py-type.exp
8806 * gdb.python/py-value.exp
8807 * gdb.reverse/solib-precsave.exp
8808 * gdb.reverse/solib-reverse.exp
8809 * gdb.server/solib-list.exp
8810 * gdb.stabs/weird.exp
8811 * gdb.threads/reconnect-signal.exp
8812 * gdb.threads/stepi-random-signal.exp
8813 * gdb.trace/actions.exp
8814 * gdb.trace/ax.exp
8815 * gdb.trace/backtrace.exp
8816 * gdb.trace/change-loc.exp
8817 * gdb.trace/deltrace.exp
8818 * gdb.trace/ftrace-lock.exp
8819 * gdb.trace/ftrace.exp
8820 * gdb.trace/infotrace.exp
8821 * gdb.trace/mi-tracepoint-changed.exp
8822 * gdb.trace/packetlen.exp
8823 * gdb.trace/passcount.exp
8824 * gdb.trace/pending.exp
8825 * gdb.trace/range-stepping.exp
8826 * gdb.trace/report.exp
8827 * gdb.trace/stap-trace.exp
8828 * gdb.trace/tfind.exp
8829 * gdb.trace/trace-break.exp
8830 * gdb.trace/trace-condition.exp
8831 * gdb.trace/trace-enable-disable.exp
8832 * gdb.trace/trace-mt.exp
8833 * gdb.trace/tracecmd.exp
8834 * gdb.trace/tspeed.exp
8835 * gdb.trace/tsv.exp
8836 * lib/perftest.exp
8837
fb9feb35
LM
88382016-12-01 Luis Machado <lgustavo@codesourcery.com>
8839
8840 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
8841 with gdb_test_no_output.
8842 Use command as test name.
8843
cd2ddb6c
LM
88442016-12-01 Luis Machado <lgustavo@codesourcery.com>
8845
8846 Fix test names starting with uppercase throughout the files.
8847
8848 * gdb.ada/assign_1.exp
8849 * gdb.ada/boolean_expr.exp
8850 * gdb.base/arrayidx.exp
8851 * gdb.base/del.exp
8852 * gdb.base/gcore-buffer-overflow.exp
8853 * gdb.base/testenv.exp
8854 * gdb.compile/compile.exp
8855 * gdb.python/py-framefilter-invalidarg.exp
8856 * gdb.python/py-framefilter.exp
8857
bb95117e
LM
88582016-12-01 Luis Machado <lgustavo@codesourcery.com>
8859
8860 Fix test names starting with uppercase throughout the files.
8861
8862 * gdb.ada/array_return.exp
8863 * gdb.ada/expr_delims.exp
8864 * gdb.ada/mi_dyn_arr.exp
8865 * gdb.ada/mi_interface.exp
8866 * gdb.ada/mi_var_array.exp
8867 * gdb.ada/watch_arg.exp
8868 * gdb.arch/alpha-step.exp
8869 * gdb.arch/altivec-regs.exp
8870 * gdb.arch/e500-regs.exp
8871 * gdb.arch/powerpc-d128-regs.exp
8872 * gdb.base/arrayidx.exp
8873 * gdb.base/break.exp
8874 * gdb.base/checkpoint.exp
8875 * gdb.base/debug-expr.exp
8876 * gdb.base/dmsym.exp
8877 * gdb.base/radix.exp
8878 * gdb.base/sepdebug.exp
8879 * gdb.base/testenv.exp
8880 * gdb.base/watch_thread_num.exp
8881 * gdb.base/watchpoint-cond-gone.exp
8882 * gdb.cell/break.exp
8883 * gdb.cell/ea-cache.exp
8884 * gdb.compile/compile.exp
8885 * gdb.cp/gdb2495.exp
8886 * gdb.gdb/selftest.exp
8887 * gdb.gdb/xfullpath.exp
8888 * gdb.go/hello.exp
8889 * gdb.go/integers.exp
8890 * gdb.objc/basicclass.exp
8891 * gdb.pascal/hello.exp
8892 * gdb.pascal/integers.exp
8893 * gdb.python/py-breakpoint.exp
8894 * gdb.python/py-cmd.exp
8895 * gdb.python/py-linetable.exp
8896 * gdb.python/py-xmethods.exp
8897 * gdb.python/python.exp
8898 * gdb.reverse/consecutive-precsave.exp
8899 * gdb.reverse/finish-precsave.exp
8900 * gdb.reverse/i386-precsave.exp
8901 * gdb.reverse/machinestate-precsave.exp
8902 * gdb.reverse/sigall-precsave.exp
8903 * gdb.reverse/solib-precsave.exp
8904 * gdb.reverse/step-precsave.exp
8905 * gdb.reverse/until-precsave.exp
8906 * gdb.reverse/watch-precsave.exp
8907 * gdb.threads/leader-exit.exp
8908 * gdb.threads/pthreads.exp
8909 * gdb.threads/wp-replication.exp
8910 * gdb.trace/actions.exp
8911 * gdb.trace/mi-tsv-changed.exp
8912 * gdb.trace/tsv.exp
8913
de97fdd4
LM
89142016-12-01 Luis Machado <lgustavo@codesourcery.com>
8915
8916 Fix test names starting with uppercase throughout the files.
8917
8918 * gdb.arch/i386-bp_permanent.exp
8919 * gdb.arch/i386-gnu-cfi.exp
8920 * gdb.base/disasm-end-cu.exp
8921 * gdb.base/macscp.exp
8922 * gdb.base/pending.exp
8923 * gdb.base/watch_thread_num.exp
8924 * gdb.cp/exception.exp
8925 * gdb.cp/gdb2495.exp
8926 * gdb.cp/local.exp
8927 * gdb.python/py-evsignal.exp
8928 * gdb.python/python.exp
8929 * gdb.trace/tracecmd.exp
8930
9f058c10
LM
89312016-12-01 Luis Machado <lgustavo@codesourcery.com>
8932
8933 Fix test names starting with uppercase throughout the files.
8934
8935 * gdb.base/charset.exp
8936 * gdb.base/eval.exp
8937 * gdb.base/multi-forks.exp
8938 * gdb.guile/scm-progspace.exp
8939 * gdb.opencl/datatypes.exp
8940 * gdb.python/py-block.exp
8941 * gdb.python/py-function.exp
8942 * gdb.python/py-symbol.exp
8943 * gdb.python/py-symtab.exp
8944 * gdb.python/py-xmethods.exp
8945 * gdb.reverse/break-precsave.exp
8946 * gdb.reverse/break-reverse.exp
8947 * gdb.reverse/consecutive-precsave.exp
8948 * gdb.reverse/consecutive-reverse.exp
8949 * gdb.reverse/finish-precsave.exp
8950 * gdb.reverse/finish-reverse-bkpt.exp
8951 * gdb.reverse/finish-reverse.exp
8952 * gdb.reverse/fstatat-reverse.exp
8953 * gdb.reverse/getresuid-reverse.exp
8954 * gdb.reverse/i386-precsave.exp
8955 * gdb.reverse/i386-reverse.exp
8956 * gdb.reverse/i386-sse-reverse.exp
8957 * gdb.reverse/i387-stack-reverse.exp
8958 * gdb.reverse/insn-reverse.exp
8959 * gdb.reverse/machinestate-precsave.exp
8960 * gdb.reverse/machinestate.exp
8961 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8962 * gdb.reverse/pipe-reverse.exp
8963 * gdb.reverse/readv-reverse.exp
8964 * gdb.reverse/recvmsg-reverse.exp
8965 * gdb.reverse/rerun-prec.exp
8966 * gdb.reverse/s390-mvcle.exp
8967 * gdb.reverse/sigall-precsave.exp
8968 * gdb.reverse/sigall-reverse.exp
8969 * gdb.reverse/solib-precsave.exp
8970 * gdb.reverse/solib-reverse.exp
8971 * gdb.reverse/step-precsave.exp
8972 * gdb.reverse/step-reverse.exp
8973 * gdb.reverse/time-reverse.exp
8974 * gdb.reverse/until-precsave.exp
8975 * gdb.reverse/until-reverse.exp
8976 * gdb.reverse/waitpid-reverse.exp
8977 * gdb.reverse/watch-precsave.exp
8978 * gdb.reverse/watch-reverse.exp
8979
cdc7edd7
LM
89802016-12-01 Luis Machado <lgustavo@codesourcery.com>
8981
8982 Fix test names starting with uppercase throughout the files.
8983
8984 * gdb.arch/i386-mpx-simple_segv.exp
8985 * gdb.arch/i386-mpx.exp
8986 * gdb.arch/i386-permbkpt.exp
8987 * gdb.arch/pa-nullify.exp
8988 * gdb.arch/powerpc-d128-regs.exp
8989 * gdb.arch/vsx-regs.exp
8990 * gdb.base/bfp-test.exp
8991 * gdb.base/break.exp
8992 * gdb.base/breakpoint-shadow.exp
8993 * gdb.base/callfuncs.exp
8994 * gdb.base/charset.exp
8995 * gdb.base/commands.exp
8996 * gdb.base/completion.exp
8997 * gdb.base/dfp-test.exp
8998 * gdb.base/echo.exp
8999 * gdb.base/ending-run.exp
9000 * gdb.base/eval.exp
9001 * gdb.base/expand-psymtabs.exp
9002 * gdb.base/float128.exp
9003 * gdb.base/floatn.exp
9004 * gdb.base/foll-exec-mode.exp
9005 * gdb.base/gdb1056.exp
9006 * gdb.base/gdb11531.exp
9007 * gdb.base/kill-after-signal.exp
9008 * gdb.base/multi-forks.exp
9009 * gdb.base/overlays.exp
9010 * gdb.base/pending.exp
9011 * gdb.base/sepdebug.exp
9012 * gdb.base/testenv.exp
9013 * gdb.base/valgrind-db-attach.exp
9014 * gdb.base/watch_thread_num.exp
9015 * gdb.base/watchpoint-cond-gone.exp
9016 * gdb.base/watchpoint.exp
9017 * gdb.base/watchpoints.exp
9018 * gdb.cp/arg-reference.exp
9019 * gdb.cp/baseenum.exp
9020 * gdb.cp/operator.exp
9021 * gdb.cp/shadow.exp
9022 * gdb.dwarf2/dw2-op-out-param.exp
9023 * gdb.dwarf2/dw2-reg-undefined.exp
9024 * gdb.go/chan.exp
9025 * gdb.go/hello.exp
9026 * gdb.go/integers.exp
9027 * gdb.go/methods.exp
9028 * gdb.go/package.exp
9029 * gdb.guile/scm-parameter.exp
9030 * gdb.guile/scm-progspace.exp
9031 * gdb.guile/scm-value.exp
9032 * gdb.mi/mi-pending.exp
9033 * gdb.mi/user-selected-context-sync.exp
9034 * gdb.multi/multi-attach.exp
9035 * gdb.multi/tids.exp
9036 * gdb.opt/clobbered-registers-O2.exp
9037 * gdb.pascal/floats.exp
9038 * gdb.pascal/integers.exp
9039 * gdb.python/py-block.exp
9040 * gdb.python/py-events.exp
9041 * gdb.python/py-parameter.exp
9042 * gdb.python/py-symbol.exp
9043 * gdb.python/py-symtab.exp
9044 * gdb.python/py-type.exp
9045 * gdb.python/py-value.exp
9046 * gdb.python/py-xmethods.exp
9047 * gdb.python/python.exp
9048 * gdb.reverse/break-precsave.exp
9049 * gdb.reverse/consecutive-precsave.exp
9050 * gdb.reverse/finish-precsave.exp
9051 * gdb.reverse/i386-precsave.exp
9052 * gdb.reverse/machinestate-precsave.exp
9053 * gdb.reverse/sigall-precsave.exp
9054 * gdb.reverse/solib-precsave.exp
9055 * gdb.reverse/step-precsave.exp
9056 * gdb.reverse/until-precsave.exp
9057 * gdb.reverse/watch-precsave.exp
9058 * gdb.server/ext-attach.exp
9059 * gdb.server/ext-restart.exp
9060 * gdb.server/ext-run.exp
9061 * gdb.server/ext-wrapper.exp
9062 * gdb.stabs/gdb11479.exp
9063 * gdb.stabs/weird.exp
9064 * gdb.threads/attach-many-short-lived-threads.exp
9065 * gdb.threads/kill.exp
9066 * gdb.threads/watchpoint-fork.exp
9067
bc6c7af4
LM
90682016-12-01 Luis Machado <lgustavo@codesourcery.com>
9069
9070 Fix test names starting with uppercase throughout all the files below.
9071
9072 * gdb.ada/array_return.exp
9073 * gdb.ada/catch_ex.exp
9074 * gdb.ada/info_exc.exp
9075 * gdb.ada/mi_catch_ex.exp
9076 * gdb.ada/mi_dyn_arr.exp
9077 * gdb.ada/mi_ex_cond.exp
9078 * gdb.ada/mi_exc_info.exp
9079 * gdb.ada/mi_interface.exp
9080 * gdb.ada/mi_task_arg.exp
9081 * gdb.ada/mi_task_info.exp
9082 * gdb.ada/mi_var_array.exp
9083 * gdb.arch/alpha-step.exp
9084 * gdb.arch/amd64-disp-step.exp
9085 * gdb.arch/arm-disp-step.exp
9086 * gdb.arch/disp-step-insn-reloc.exp
9087 * gdb.arch/e500-prologue.exp
9088 * gdb.arch/ftrace-insn-reloc.exp
9089 * gdb.arch/gdb1558.exp
9090 * gdb.arch/i386-bp_permanent.exp
9091 * gdb.arch/i386-disp-step.exp
9092 * gdb.arch/i386-float.exp
9093 * gdb.arch/i386-gnu-cfi.exp
9094 * gdb.arch/ia64-breakpoint-shadow.exp
9095 * gdb.arch/mips16-thunks.exp
9096 * gdb.arch/pa-nullify.exp
9097 * gdb.arch/powerpc-aix-prologue.exp
9098 * gdb.arch/powerpc-power.exp
9099 * gdb.arch/ppc-dfp.exp
9100 * gdb.arch/s390-tdbregs.exp
9101 * gdb.arch/spu-info.exp
9102 * gdb.arch/spu-ls.exp
9103 * gdb.arch/thumb-bx-pc.exp
9104 * gdb.base/advance.exp
9105 * gdb.base/annota-input-while-running.exp
9106 * gdb.base/arrayidx.exp
9107 * gdb.base/asmlabel.exp
9108 * gdb.base/async.exp
9109 * gdb.base/attach-wait-input.exp
9110 * gdb.base/auto-connect-native-target.exp
9111 * gdb.base/batch-preserve-term-settings.exp
9112 * gdb.base/bfp-test.exp
9113 * gdb.base/bigcore.exp
9114 * gdb.base/bp-permanent.exp
9115 * gdb.base/break-always.exp
9116 * gdb.base/break-fun-addr.exp
9117 * gdb.base/break-idempotent.exp
9118 * gdb.base/break-main-file-remove-fail.exp
9119 * gdb.base/break-probes.exp
9120 * gdb.base/break-unload-file.exp
9121 * gdb.base/break.exp
9122 * gdb.base/call-ar-st.exp
9123 * gdb.base/call-rt-st.exp
9124 * gdb.base/call-sc.exp
9125 * gdb.base/call-signal-resume.exp
9126 * gdb.base/call-strs.exp
9127 * gdb.base/callexit.exp
9128 * gdb.base/callfuncs.exp
9129 * gdb.base/catch-gdb-caused-signals.exp
9130 * gdb.base/catch-signal-siginfo-cond.exp
9131 * gdb.base/catch-syscall.exp
9132 * gdb.base/compare-sections.exp
9133 * gdb.base/cond-eval-mode.exp
9134 * gdb.base/condbreak-call-false.exp
9135 * gdb.base/consecutive-step-over.exp
9136 * gdb.base/cursal.exp
9137 * gdb.base/disabled-location.exp
9138 * gdb.base/disasm-end-cu.exp
9139 * gdb.base/display.exp
9140 * gdb.base/double-prompt-target-event-error.exp
9141 * gdb.base/dprintf-bp-same-addr.exp
9142 * gdb.base/dprintf-detach.exp
9143 * gdb.base/dprintf-next.exp
9144 * gdb.base/dprintf-non-stop.exp
9145 * gdb.base/dprintf-pending.exp
9146 * gdb.base/dso2dso.exp
9147 * gdb.base/ending-run.exp
9148 * gdb.base/enum_cond.exp
9149 * gdb.base/examine-backward.exp
9150 * gdb.base/exe-lock.exp
9151 * gdb.base/exec-invalid-sysroot.exp
9152 * gdb.base/execl-update-breakpoints.exp
9153 * gdb.base/execution-termios.exp
9154 * gdb.base/fileio.exp
9155 * gdb.base/fixsection.exp
9156 * gdb.base/foll-exec-mode.exp
9157 * gdb.base/foll-exec.exp
9158 * gdb.base/fork-running-state.exp
9159 * gdb.base/frame-args.exp
9160 * gdb.base/fullpath-expand.exp
9161 * gdb.base/func-ptr.exp
9162 * gdb.base/gcore-relro-pie.exp
9163 * gdb.base/gdb1090.exp
9164 * gdb.base/gdb1555.exp
9165 * gdb.base/global-var-nested-by-dso.exp
9166 * gdb.base/gnu-ifunc.exp
9167 * gdb.base/hbreak-in-shr-unsupported.exp
9168 * gdb.base/hbreak-unmapped.exp
9169 * gdb.base/hook-stop.exp
9170 * gdb.base/infcall-input.exp
9171 * gdb.base/info-fun.exp
9172 * gdb.base/info-shared.exp
9173 * gdb.base/interrupt-noterm.exp
9174 * gdb.base/jit-so.exp
9175 * gdb.base/jit.exp
9176 * gdb.base/line-symtabs.exp
9177 * gdb.base/list.exp
9178 * gdb.base/longjmp.exp
9179 * gdb.base/macscp.exp
9180 * gdb.base/max-value-size.exp
9181 * gdb.base/nodebug.exp
9182 * gdb.base/nofield.exp
9183 * gdb.base/overlays.exp
9184 * gdb.base/paginate-after-ctrl-c-running.exp
9185 * gdb.base/paginate-bg-execution.exp
9186 * gdb.base/paginate-inferior-exit.exp
9187 * gdb.base/pending.exp
9188 * gdb.base/pr11022.exp
9189 * gdb.base/printcmds.exp
9190 * gdb.base/ptr-typedef.exp
9191 * gdb.base/ptype.exp
9192 * gdb.base/randomize.exp
9193 * gdb.base/range-stepping.exp
9194 * gdb.base/realname-expand.exp
9195 * gdb.base/relativedebug.exp
9196 * gdb.base/remote.exp
9197 * gdb.base/savedregs.exp
9198 * gdb.base/sepdebug.exp
9199 * gdb.base/set-noassign.exp
9200 * gdb.base/shlib-call.exp
9201 * gdb.base/shreloc.exp
9202 * gdb.base/sigaltstack.exp
9203 * gdb.base/sigbpt.exp
9204 * gdb.base/siginfo-addr.exp
9205 * gdb.base/siginfo-obj.exp
9206 * gdb.base/siginfo-thread.exp
9207 * gdb.base/signest.exp
9208 * gdb.base/signull.exp
9209 * gdb.base/sigrepeat.exp
9210 * gdb.base/skip.exp
9211 * gdb.base/so-impl-ld.exp
9212 * gdb.base/solib-corrupted.exp
9213 * gdb.base/solib-disc.exp
9214 * gdb.base/solib-display.exp
9215 * gdb.base/solib-overlap.exp
9216 * gdb.base/solib-search.exp
9217 * gdb.base/solib-symbol.exp
9218 * gdb.base/source-execution.exp
9219 * gdb.base/sss-bp-on-user-bp-2.exp
9220 * gdb.base/sss-bp-on-user-bp.exp
9221 * gdb.base/stack-checking.exp
9222 * gdb.base/stale-infcall.exp
9223 * gdb.base/step-break.exp
9224 * gdb.base/step-line.exp
9225 * gdb.base/step-over-exit.exp
9226 * gdb.base/step-test.exp
9227 * gdb.base/structs.exp
9228 * gdb.base/sym-file.exp
9229 * gdb.base/symtab-search-order.exp
9230 * gdb.base/term.exp
9231 * gdb.base/type-opaque.exp
9232 * gdb.base/unload.exp
9233 * gdb.base/until-nodebug.exp
9234 * gdb.base/until.exp
9235 * gdb.base/unwindonsignal.exp
9236 * gdb.base/watch-cond.exp
9237 * gdb.base/watch-non-mem.exp
9238 * gdb.base/watch_thread_num.exp
9239 * gdb.base/watchpoint-reuse-slot.exp
9240 * gdb.base/watchpoint-solib.exp
9241 * gdb.base/watchpoint.exp
9242 * gdb.btrace/dlopen.exp
9243 * gdb.cell/arch.exp
9244 * gdb.cell/break.exp
9245 * gdb.cell/bt.exp
9246 * gdb.cell/core.exp
9247 * gdb.cell/data.exp
9248 * gdb.cell/dwarfaddr.exp
9249 * gdb.cell/ea-cache.exp
9250 * gdb.cell/ea-standalone.exp
9251 * gdb.cell/ea-test.exp
9252 * gdb.cell/f-regs.exp
9253 * gdb.cell/fork.exp
9254 * gdb.cell/gcore.exp
9255 * gdb.cell/mem-access.exp
9256 * gdb.cell/ptype.exp
9257 * gdb.cell/registers.exp
9258 * gdb.cell/sizeof.exp
9259 * gdb.cell/solib-symbol.exp
9260 * gdb.cell/solib.exp
9261 * gdb.compile/compile-tls.exp
9262 * gdb.cp/exception.exp
9263 * gdb.cp/gdb2495.exp
9264 * gdb.cp/local.exp
9265 * gdb.cp/mb-inline.exp
9266 * gdb.cp/mb-templates.exp
9267 * gdb.cp/pr10687.exp
9268 * gdb.cp/pr9167.exp
9269 * gdb.cp/scope-err.exp
9270 * gdb.cp/templates.exp
9271 * gdb.cp/virtfunc.exp
9272 * gdb.dwarf2/dw2-dir-file-name.exp
9273 * gdb.dwarf2/dw2-single-line-discriminators.exp
9274 * gdb.fortran/complex.exp
9275 * gdb.fortran/library-module.exp
9276 * gdb.guile/guile.exp
9277 * gdb.guile/scm-cmd.exp
9278 * gdb.guile/scm-frame-inline.exp
9279 * gdb.guile/scm-objfile.exp
9280 * gdb.guile/scm-pretty-print.exp
9281 * gdb.guile/scm-symbol.exp
9282 * gdb.guile/scm-type.exp
9283 * gdb.guile/scm-value.exp
9284 * gdb.linespec/keywords.exp
9285 * gdb.linespec/ls-errs.exp
9286 * gdb.linespec/macro-relative.exp
9287 * gdb.linespec/thread.exp
9288 * gdb.mi/mi-breakpoint-changed.exp
9289 * gdb.mi/mi-dprintf-pending.exp
9290 * gdb.mi/mi-fullname-deleted.exp
9291 * gdb.mi/mi-logging.exp
9292 * gdb.mi/mi-pending.exp
9293 * gdb.mi/mi-solib.exp
9294 * gdb.mi/new-ui-mi-sync.exp
9295 * gdb.mi/user-selected-context-sync.exp
9296 * gdb.multi/dummy-frame-restore.exp
9297 * gdb.multi/multi-arch-exec.exp
9298 * gdb.multi/remove-inferiors.exp
9299 * gdb.multi/watchpoint-multi-exit.exp
9300 * gdb.opt/solib-intra-step.exp
9301 * gdb.perf/backtrace.exp
9302 * gdb.perf/single-step.exp
9303 * gdb.perf/skip-command.exp
9304 * gdb.perf/skip-prologue.exp
9305 * gdb.perf/solib.exp
9306 * gdb.python/lib-types.exp
9307 * gdb.python/py-as-string.exp
9308 * gdb.python/py-bad-printers.exp
9309 * gdb.python/py-block.exp
9310 * gdb.python/py-breakpoint.exp
9311 * gdb.python/py-cmd.exp
9312 * gdb.python/py-events.exp
9313 * gdb.python/py-evthreads.exp
9314 * gdb.python/py-finish-breakpoint.exp
9315 * gdb.python/py-finish-breakpoint2.exp
9316 * gdb.python/py-frame-inline.exp
9317 * gdb.python/py-frame.exp
9318 * gdb.python/py-inferior.exp
9319 * gdb.python/py-infthread.exp
9320 * gdb.python/py-mi.exp
9321 * gdb.python/py-objfile.exp
9322 * gdb.python/py-pp-maint.exp
9323 * gdb.python/py-pp-registration.exp
9324 * gdb.python/py-prettyprint.exp
9325 * gdb.python/py-recurse-unwind.exp
9326 * gdb.python/py-shared.exp
9327 * gdb.python/py-symbol.exp
9328 * gdb.python/py-symtab.exp
9329 * gdb.python/py-template.exp
9330 * gdb.python/py-type.exp
9331 * gdb.python/py-unwind-maint.exp
9332 * gdb.python/py-unwind.exp
9333 * gdb.python/py-value.exp
9334 * gdb.python/python.exp
9335 * gdb.reverse/finish-reverse-bkpt.exp
9336 * gdb.reverse/insn-reverse.exp
9337 * gdb.reverse/next-reverse-bkpt-over-sr.exp
9338 * gdb.reverse/solib-precsave.exp
9339 * gdb.reverse/solib-reverse.exp
9340 * gdb.stabs/gdb11479.exp
9341 * gdb.stabs/weird.exp
9342 * gdb.threads/fork-child-threads.exp
9343 * gdb.threads/fork-plus-threads.exp
9344 * gdb.threads/fork-thread-pending.exp
9345 * gdb.threads/forking-threads-plus-breakpoint.exp
9346 * gdb.threads/hand-call-in-threads.exp
9347 * gdb.threads/interrupted-hand-call.exp
9348 * gdb.threads/linux-dp.exp
9349 * gdb.threads/local-watch-wrong-thread.exp
9350 * gdb.threads/next-while-other-thread-longjmps.exp
9351 * gdb.threads/non-ldr-exit.exp
9352 * gdb.threads/pending-step.exp
9353 * gdb.threads/print-threads.exp
9354 * gdb.threads/process-dies-while-detaching.exp
9355 * gdb.threads/process-dies-while-handling-bp.exp
9356 * gdb.threads/pthreads.exp
9357 * gdb.threads/queue-signal.exp
9358 * gdb.threads/reconnect-signal.exp
9359 * gdb.threads/signal-command-handle-nopass.exp
9360 * gdb.threads/signal-command-multiple-signals-pending.exp
9361 * gdb.threads/signal-delivered-right-thread.exp
9362 * gdb.threads/signal-sigtrap.exp
9363 * gdb.threads/sigthread.exp
9364 * gdb.threads/staticthreads.exp
9365 * gdb.threads/stepi-random-signal.exp
9366 * gdb.threads/thread-unwindonsignal.exp
9367 * gdb.threads/thread_check.exp
9368 * gdb.threads/thread_events.exp
9369 * gdb.threads/tid-reuse.exp
9370 * gdb.threads/tls-nodebug.exp
9371 * gdb.threads/tls-shared.exp
9372 * gdb.threads/tls-so_extern.exp
9373 * gdb.threads/tls.exp
9374 * gdb.threads/wp-replication.exp
9375 * gdb.trace/actions-changed.exp
9376 * gdb.trace/actions.exp
9377 * gdb.trace/backtrace.exp
9378 * gdb.trace/change-loc.exp
9379 * gdb.trace/collection.exp
9380 * gdb.trace/deltrace.exp
9381 * gdb.trace/disconnected-tracing.exp
9382 * gdb.trace/entry-values.exp
9383 * gdb.trace/ftrace-lock.exp
9384 * gdb.trace/ftrace.exp
9385 * gdb.trace/infotrace.exp
9386 * gdb.trace/mi-trace-frame-collected.exp
9387 * gdb.trace/mi-trace-unavailable.exp
9388 * gdb.trace/mi-traceframe-changed.exp
9389 * gdb.trace/mi-tracepoint-changed.exp
9390 * gdb.trace/mi-tsv-changed.exp
9391 * gdb.trace/no-attach-trace.exp
9392 * gdb.trace/packetlen.exp
9393 * gdb.trace/passc-dyn.exp
9394 * gdb.trace/passcount.exp
9395 * gdb.trace/pending.exp
9396 * gdb.trace/pr16508.exp
9397 * gdb.trace/qtro.exp
9398 * gdb.trace/range-stepping.exp
9399 * gdb.trace/read-memory.exp
9400 * gdb.trace/report.exp
9401 * gdb.trace/save-trace.exp
9402 * gdb.trace/signal.exp
9403 * gdb.trace/stap-trace.exp
9404 * gdb.trace/status-stop.exp
9405 * gdb.trace/strace.exp
9406 * gdb.trace/tfile.exp
9407 * gdb.trace/tfind.exp
9408 * gdb.trace/trace-break.exp
9409 * gdb.trace/trace-condition.exp
9410 * gdb.trace/trace-enable-disable.exp
9411 * gdb.trace/trace-mt.exp
9412 * gdb.trace/tracecmd.exp
9413 * gdb.trace/tracefile-pseudo-reg.exp
9414 * gdb.trace/tspeed.exp
9415 * gdb.trace/tstatus.exp
9416 * gdb.trace/tsv.exp
9417 * gdb.trace/unavailable.exp
9418 * gdb.trace/while-dyn.exp
9419 * gdb.trace/while-stepping.exp
9420 * lib/gdb-guile.exp
9421 * lib/gdb.exp
9422 * lib/mi-support.exp
9423 * lib/pascal.exp
9424 * lib/perftest.exp
9425 * lib/prelink-support.exp
9426 * lib/selftest-support.exp
9427
ad02e4fe
SM
94282016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
9429
9430 * Makefile.in: Include disable-implicit-rules.mk.
9431
22347e55
AA
94322016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9433
9434 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
9435 non-byte-aligned bit fields.
9436
da5b30da
AA
94372016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9438
9439 PR gdb/12616
9440 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
9441 respects the DW_AT_data_bit_offset attribute.
9442
b593ecca
SM
94432016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
9444
9445 * gdb.base/default.exp: Fix output of "set language".
9446
3b165252
SM
94472016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
9448
9449 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
9450 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
9451 make.
9452 * configure.ac: Remove checks for the make program.
9453 * configure: Re-generate.
9454
1a2f3d7f
KB
94552016-11-16 Kevin Buettner <kevinb@redhat.com>
9456
9457 * gdb.python/py-recurse-unwind.c (main): Add loop.
9458 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
9459 to read_register() and gdb.parse_and_eval(). Make each code
9460 call a separate case that can be individually tested.
9461 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
9462 proc. Call cont_and_backtrace for each of the code paths that
9463 we want to test in the unwinder.
9464
b7f38fda
AA
94652016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
9466
9467 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
9468 the definition of struct S.
9469
1f8db343
CM
94702016-11-11 Catherine Moore <clm@codesourcery.com>
9471
9472 * gdb.base/dump.exp: Identify verilog format dump tests as such.
9473
fad0c9fb
PA
94742016-11-09 Pedro Alves <palves@redhat.com>
9475
9476 * gdb.base/commands.exp (runto_or_return): New procedure.
9477 (gdbvar_simple_if_test, gdbvar_simple_while_test)
9478 (gdbvar_complex_if_while_test, progvar_simple_if_test)
9479 (progvar_simple_while_test, progvar_complex_if_while_test)
9480 (if_while_breakpoint_command_test)
9481 (infrun_breakpoint_command_test, breakpoint_command_test)
9482 (user_defined_command_test, watchpoint_command_test)
9483 (test_command_prompt_position, redefine_hook_test)
9484 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
9485 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
9486 multi_line_input and multi_line. Remove gdb_expect and
9487 gdb_stop_suppressing_tests uses.
9488 * lib/gdb.exp (valnum_re): New global.
9489 (multi_line_input): New procedure.
9490
8354c62c
SM
94912016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
9492
9493 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
9494 Remove.
9495 (test_setup): Define with proc_with_prefix.
9496 (test_cli_inferior): Likewise.
9497 (test_cli_thread): Likewise.
9498 (test_cli_frame): Likewise.
9499 (test_cli_select_frame): Likewise.
9500 (test_cli_up_down): Likewise.
9501 (test_mi_thread_select): Likewise.
9502 (test_mi_stack_select_frame): Likewise.
9503 (test_cli_in_mi_inferior): Likewise.
9504 (test_cli_in_mi_thread): Likewise.
9505 (test_cli_in_mi_frame): Likewise.
9506 (top level): Do not use with_test_prefix_procname.
9507
64f367a2
PA
95082016-11-09 Pedro Alves <palves@redhat.com>
9509
9510 * gdb.base/commands.exp (gdbvar_simple_if_test)
9511 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
9512 (progvar_simple_if_test, progvar_simple_while_test)
9513 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
9514 (infrun_breakpoint_command_test, breakpoint_command_test)
9515 (user_defined_command_test, watchpoint_command_test)
9516 (test_command_prompt_position, deprecated_command_test)
9517 (bp_deleted_in_command, temporary_breakpoint_commands)
9518 (stray_arg0_test, source_file_with_indented_comment)
9519 (recursive_source_test, if_commands_test)
9520 (error_clears_commands_left, redefine_hook_test)
9521 (redefine_backtrace_test): Use proc_with_prefix.
9522 * lib/gdb.exp (proc_with_prefix): New proc.
9523
0bb65f1e
AA
95242016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
9525
9526 * gdb.base/tui-layout.c: New file.
9527 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
9528 disassembly window contains very long lines.
9529
7353f247
TT
95302016-11-08 Tom Tromey <tom@tromey.com>
9531
9532 * gdb.python/py-value.exp (test_value_creation): Make "long" test
9533 depend on Python 2.
9534
30a7bb83
TT
95352016-11-08 Tom Tromey <tom@tromey.com>
9536
9537 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
9538 New method.
9539
cdf5a07c
MG
95402016-10-29 Manish Goregaokar <manish@mozilla.com>
9541
2806dc7e 9542 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 9543
51a789c3
MG
95442016-10-27 Manish Goregaokar <manish@mozilla.com>
9545
2806dc7e
PA
9546 * gdb.rust/simple.rs: Add test for univariant enums without
9547 discriminants and for encoded struct-like enums.
51a789c3 9548
f610ab6d
PA
95492016-10-28 Pedro Alves <palves@redhat.com>
9550
9551 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
9552 gdb_test_multiple, tighten regexps and match symtabs and line
9553 tables incrementally.
9554
b129b0ca
LM
95552016-10-28 Luis Machado <lgustavo@codesourcery.com>
9556
9557 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
9558 general.
9559
ecf45d2c
SL
95602016-10-25 Luis Machado <lgustavo@codesourcery.com>
9561
9562 * gdb.base/exec-invalid-sysroot.exp: New file.
9563
b8d38ee4
JK
95642016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9565
9566 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
9567
f90fd8c2
JK
95682016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9569
9570 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
9571
2d2476aa
MR
95722016-10-19 Maciej W. Rozycki <macro@imgtec.com>
9573
2806dc7e
PA
9574 * gdb.base/killed-outside.exp: Remove $options from a call to
9575 `prepare_for_testing'.
2d2476aa 9576
e42b25a0
SM
95772016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9578
9579 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
9580 Change test message.
9581
3ccdb432
SM
95822016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9583
9584 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
9585 Update comment.
9586
5bad3170
SM
95872016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9588
9589 * gdb.trace/mi-trace-save.exp: New file.
9590
5ad9dba7
YQ
95912016-10-13 Yao Qi <yao.qi@linaro.org>
9592
9593 * gdb.base/code_elim.exp (get_var_address): Remove.
9594 * gdb.base/relocate.exp: Likewise.
9595 * gdb.base/shreloc.exp: Likewise.
9596 * lib/gdb.exp (get_var_address): New.
9597
62df7e21
YQ
95982016-10-13 Yao Qi <yao.qi@linaro.org>
9599
9600 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
9601 floating point tests if $skip_float_test is false.
9602
4dac951e
LM
96032016-10-12 Luis Machado <lgustavo@codesourcery.com>
9604
9605 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
9606 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
9607 argc values.
9608 Add 1 to argc so we guarantee distinct initial/modified argc values.
9609
8f1a8fc4
JK
96102016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9611
9612 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
9613
16c85b5d
JK
96142016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9615
9616 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
9617 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
9618 * gdb.arch/vsx-regs.exp: Likewise.
9619
1d0e042a
YQ
96202016-10-07 Yao Qi <yao.qi@linaro.org>
9621
9622 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
9623
68dadef5
MM
96242016-10-07 Markus Metzger <markus.t.metzger@intel.com>
9625
9626 * gdb.python/python.exp: Test decode_line("*0").
9627
33fa2c6e
DE
96282016-10-06 Doug Evans <dje@google.com>
9629
9630 * gdb.python/py-value.exp (test_value_creation): Add test for large
9631 unsigned 64-bit value.
9632
9c37b5ae
TT
96332016-10-06 Tom Tromey <tom@tromey.com>
9634
9635 * gdb.compile/compile.exp: Change java tests to rust.
9636 * gdb.base/setshow.exp: Change java tests to rust.
9637 * gdb.base/default.exp: Remove java from language list.
9638 * README (Examples): Update language example.
9639 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
9640 test.
9641 * lib/gdb.exp (skip_java_tests): Remove.
9642 * lib/java.exp: Remove.
9643 * gdb.java: Remove.
9644
78b86327
MR
96452016-10-06 Maciej W. Rozycki <macro@imgtec.com>
9646
9647 * gdb.arch/mips-fcr.exp: New test.
9648 * gdb.arch/mips-fcr.c: Source for the new test.
9649
7470adbb
MR
96502016-10-06 Maciej W. Rozycki <macro@imgtec.com>
9651
9652 * gdb.base/solib-disc.exp: Use `standard_output_file'
9653 throughout.
9654
4a556533
PA
96552016-10-06 Pedro Alves <palves@redhat.com>
9656
9657 * gdb.base/jit-simple-dl.c: New file.
9658 * gdb.base/jit-simple-jit.c: New file, factored out from ...
9659 * gdb.base/jit-simple.c: ... this.
9660 * gdb.base/jit-simple.exp (jit_run): Delete.
9661 (build_jit): New proc.
9662 (jit_test_reread): Recompile either the main program or the shared
9663 library, depending on what is being tested. Skip changing address
9664 if caller wants to. Compare before/after addresses. If testing
9665 standalone, explicitly load the binary. Test "maint info
9666 breakpoints".
9667 (top level): Add "standalone vs shared lib" and "change address"
9668 vs "same address" axes.
9669
5a122fbc
PA
96702016-10-06 Pedro Alves <palves@redhat.com>
9671
9672 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
9673 call.
9674 (jit_run): Delete.
9675 (jit_test_reread): Use with_test_prefix. Reload the main binary
9676 explicitly. Compare the before/after addresses of the JIT
9677 descriptor.
9678
ee8da4b8
DE
96792016-08-15 Doug Evans <dje@google.com>
9680
9681 * gdb.xml/extra-regs.xml: Update, end field now required, default type
9682 for single bitfields is bool.
9683 * gdb.xml/tdesc-regs.exp: Ditto.
9684
f389f6fe
JK
96852016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9686
9687 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
9688
fdebf1a4
YQ
96892016-10-05 Yao Qi <yao.qi@linaro.org>
9690
9691 * lib/gdb.exp (support_complex_tests): Return zero if
9692 gdb_skip_float_test return true.
9693
9c36d954 96942016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 9695 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
9696
9697 PR gdb/20487
9698 * gdb.mi/user-selected-context-sync.exp: New file.
9699 * gdb.mi/user-selected-context-sync.c: New file.
9700
4034d0ff 97012016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 9702 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
9703
9704 PR gdb/20487
9705 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
9706 =thread-select-event check.
9707
a4297203
PB
97082016-09-29 Peter Bergner <bergner@vnet.ibm.com>
9709
9710 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
9711 the compulsory L operand changes.
9712 * gdb.arch/powerpc-power.s: Likewise.
9713
bb805577
JK
97142016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9715
9716 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
9717 * gdb.base/jit-attach-pie.c: New file.
9718 * gdb.base/jit-attach-pie.exp: New file.
9719
6d61dee5
PA
97202016-09-28 Pedro Alves <palves@redhat.com>
9721
9722 * gdb.base/infcall-input.c: New file.
9723 * gdb.base/infcall-input.exp: New file.
9724
f73842fc
YQ
97252016-09-22 Yao Qi <yao.qi@linaro.org>
9726
9727 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
9728 (gdb_exit): Rename it to ...
9729 (gdbserver_gdb_exit): ... Close GDBserver.
9730 (gdb_exit): New proc, call gdbserver_gdb_exit.
9731 (mi_gdb_exit): Likewise.
9732
90681dab
YQ
97332016-09-22 Yao Qi <yao.qi@linaro.org>
9734
9735 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
9736 path.
9737 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
9738 Remove duplication.
9739
9c211fd8
YQ
97402016-09-22 Yao Qi <yao.qi@linaro.org>
9741
9742 * lib/gdbserver-support.exp: Check the existence of
9743 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
9744
ad0a504f
AK
97452016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
9746
9747 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
9748
36cf1806
TT
97492016-09-21 Tom Tromey <tom@tromey.com>
9750
9751 PR gdb/20604:
9752 * gdb.base/quit.exp: New file.
9753
74172ecf
SM
97542016-09-21 Simon Marchi <simon.marchi@ericsson.com>
9755
9756 * .gitignore: New file.
9757
3d0ec882
MR
97582016-09-21 Maciej W. Rozycki <macro@imgtec.com>
9759
9760 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
9761 throughout.
9762
8193adea
AA
97632016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9764
9765 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
9766
d41a5c09
JK
97672016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9768
9769 * gdb.cp/casts.cc (decltype): Move it ...
9770 (main): ... with its call to ...
9771 * gdb.cp/casts03.cc: ... a new file.
9772 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
9773
d2dfe700
JK
97742016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9775
9776 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
9777
e2a92b16
PB
97782016-09-15 Peter Bergner <bergner@vnet.ibm.com>
9779
9780 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
9781 and sync up the test with tests in gas/testsuite/gas/ppc.
9782 * gdb.arch/powerpc-power.exp: Likewise.
9783
49b4de64
JK
97842016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9785
9786 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
9787
2c29df25
SDJ
97882016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
9789 Jan Kratochvil <jan.kratochvil@redhat.com>
9790
9791 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
9792 make m1's definition to be different from m2's. Use 'dummy' as an
9793 argument for probe 'two'.
9794
cc3c2846
JB
97952016-09-10 Jon Beniston <jon@beniston.com>
9796
9797 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
9798 for sim target.
9799
e1b2624a
AA
98002016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
9801
9802 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
9803 variable declaration.
9804 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
9805 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
9806 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
9807 received HWCAP as its argument.
9808
4295e285
PA
98092016-09-06 Pedro Alves <palves@redhat.com>
9810
9811 * gdb.base/new-ui-pending-input.c: New file.
9812 * gdb.base/new-ui-pending-input.exp: New file.
9813 * gdb.exp (clear_gdb_spawn_id): New procedure.
9814 (with_spawn_id): Check whether gdb_spawn_id exists before
9815 referencing it. If gdb_spawn_id didn't exist on entry, clear it
9816 on exit.
9817
00d5215e
UW
98182016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
9819
9820 * gdb.base/float128.c: New file.
9821 * gdb.base/float128.exp: Likewise.
9822 * gdb.base/floatn.c: Likewise.
9823 * gdb.base/floatn.exp: Likewise.
9824
a9ff5f12
UW
98252016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
9826
9827 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
9828
f245535c
PA
98292016-09-05 Pedro Alves <palves@redhat.com>
9830
9831 PR backtrace/19927
9832 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
9833 unwinders are immediately called as side effect of "source" or
9834 "disable unwinder" commands.
9835 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
9836
ae9cf263
YQ
98372016-09-02 Yao Qi <yao.qi@linaro.org>
9838
9839 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
9840 is true and $type is "float" or "double".
9841
27aba047
YQ
98422016-09-02 Yao Qi <yao.qi@linaro.org>
9843
9844 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
9845 true.
9846 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
9847 * gdb.base/call-rt-st.exp: Likewise.
9848 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
9849 return value instead of gdb,skip_float_test.
9850 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
9851 (do_function_calls): Use its return value instead of
9852 gdb,skip_float_test.
9853 * gdb.base/finish.exp: Likewise.
9854 * gdb.base/funcargs.exp: Likewise.
9855 * gdb.base/return.exp: Likewise.
9856 * gdb.base/return2.exp: Likewise.
9857 * gdb.base/varargs.exp: Likewise.
9858 * lib/gdb.exp (gdb_skip_float_test): Change it to
9859 gdb_caching_proc. Detect the broken ptrace on arm-linux.
9860
5af962df
AA
98612016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
9862
9863 * gdb.multi/tids.exp: Test "thread apply all".
9864
7fac6910
JK
98652016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9866
9867 * gdb.base/default.exp (tty): Remove.
9868
bb1fe4ac
KB
98692016-08-24 Kevin Buettner <kevinb@redhat.com>
9870
2806dc7e
PA
9871 * gdb.python/py-recurse-unwind.c: New file.
9872 * gdb.python/py-recurse-unwind.py: New file.
9873 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 9874
0a1ddfa6
SM
98752016-08-24 Simon Marchi <simon.marchi@ericsson.com>
9876
9877 * gdb.base/set-inferior-tty.exp: New file.
9878 * gdb.base/set-inferior-tty.c: New file.
9879
d9de1fe3
PA
98802016-08-23 Pedro Alves <palves@redhat.com>
9881
9882 PR gdb/20494
9883 * gdb.base/new-ui-echo.c: New file.
9884 * gdb.base/new-ui-echo.exp: New file.
9885
e9d9abd7
YQ
98862016-08-23 Yao Qi <yao.qi@linaro.org>
9887
9888 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
9889 gdbserver_spawn.
9890 * gdb.server/connect-without-multi-process.exp (do_test):
9891 Likewise.
9892
3589529e
YQ
98932016-08-23 Yao Qi <yao.qi@linaro.org>
9894
9895 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
9896 standalone_txt. Delete gdb_txt and standalone_txt on host
9897 and target. Spawn the binary on target. Copy files from
9898 target to host.
9899
6bb90213
PA
99002016-08-22 Pedro Alves <palves@redhat.com>
9901
9902 PR gdb/20505
9903 * gdb.base/vdso-warning.exp: Test core dumps too. Use
9904 with_test_prefix. Factor out bits to ...
9905 (test_no_vdso): ... this new procedure.
9906
20c2c024
CL
99072016-08-19 Carl Love <cel@us.ibm.com>
9908
9909 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
9910 maintaining separate logic for constructing the output path.
9911 * gdb.arch/powerpc-d128-regs.exp: Likewise.
9912 * gdb.arch/ppc-dfp.exp: Likewise.
9913 * gdb.arch/ppc-fp.exp: Likewise.
9914 * gdb.arch/vsx-regs.exp: Likewise.
9915 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
9916 binprefix for generating the additional binary files.
9917
0646e07d
PA
99182016-08-19 Pedro Alves <palves@redhat.com>
9919
9920 * gdb.trace/mi-trace-frame-collected.exp
9921 (test_trace_frame_collected): On x32, expect two registers.
9922
46da9242
CL
99232016-08-18 Carl Love <cel@us.ibm.com>
9924
9925 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
9926 and sync up the test with tests in gas/testsuite/gas/ppc.
9927 * gdb.arch/powerpc-power.exp: Likewise.
9928
eb2332d7
SM
99292016-08-17 Simon Marchi <simon.marchi@ericsson.com>
9930
9931 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
9932 expected error message.
9933
63c61e04
SM
99342016-08-17 Simon Marchi <simon.marchi@ericsson.com>
9935
9936 * gdb.multi/remove-inferiors.exp: New file.
9937 * gdb.multi/remove-inferiors.c: New file.
9938
7b17065f
YQ
99392016-08-12 Yao Qi <yao.qi@linaro.org>
9940
9941 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
9942 argument list.
9943
01d3dedf
PA
99442016-08-10 Pedro Alves <palves@redhat.com>
9945
9946 PR gdb/19187
9947 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
9948 setup_kfails.
9949
3eb7562a
PA
99502016-08-09 Pedro Alves <palves@redhat.com>
9951 Simon Marchi <simon.marchi@ericsson.com>
9952
9953 PR gdb/20418
9954 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
9955 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
9956
80614914
PA
99572016-08-09 Pedro Alves <palves@redhat.com>
9958
9959 PR mi/20431
9960 * gdb.mi/mi-cmd-error.exp: New file.
9961
f348d89a
PA
99622016-08-09 Pedro Alves <palves@redhat.com>
9963
9964 PR gdb/18653
9965 * gdb.base/signals-state-child.c: New file.
9966 * gdb.base/signals-state-child.exp: New file.
9967 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
9968
e5ca03b4
PA
99692016-08-09 Pedro Alves <palves@redhat.com>
9970
9971 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
9972
282a0691
TT
99732016-08-03 Tom Tromey <tom@tromey.com>
9974
9975 PR python/18565:
9976 * gdb.python/py-frame-inline.exp: Add Frame.function test.
9977
41bfcd63
YQ
99782016-08-01 Yao Qi <yao.qi@linaro.org>
9979
9980 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
9981 variable mode to "multi-process" if $multi_process is 1, otherwise
9982 set it to "single-process".
9983
e3465b24
YQ
99842016-08-01 Yao Qi <yao.qi@linaro.org>
9985
9986 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
9987 * gdb.cp/cpexprs.exp: Likewise.
9988 * gdb.cp/m-static.exp: Likewise.
9989
0b31a4bc
TT
99902016-07-26 Tom Tromey <tom@tromey.com>
9991
9992 PR python/20190:
9993 * gdb.threads/tls.exp (check_thread_local): Add python symbol
9994 test.
9995
e0461dbb
MM
99962016-07-26 Markus Metzger <markus.t.metzger@intel.com>
9997
9998 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
9999 selecting assembly source files.
10000 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
10001 assembly source files.
10002 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
10003 assembly source files.
10004 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
10005 selecting assembly source files.
10006
8194e927
SM
100072016-07-25 Simon Marchi <simon.marchi@ericsson.com>
10008
10009 * gdb.base/new-ui.exp (do_test_invalid_args): New
10010 procedure.
10011
c0272db5
TW
100122016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
10013
10014 * gdb.btrace/reconnect.c: New file.
10015 * gdb.btrace/reconnect.exp: New file.
10016
e3487908
GKB
100172016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
10018
10019 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
10020 to test_catch_syscall_group.
10021 (test_catch_syscall_group): New.
10022
12df5c00
TT
100232016-07-21 Tom Tromey <tom@tromey.com>
10024
10025 * gdb.rust/simple.rs (main): Use empty struct expression.
10026 * gdb.rust/simple.exp: Add tests for empty struct expression.
10027
bae62ee2
YQ
100282016-07-21 Yao Qi <yao.qi@linaro.org>
10029
10030 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
10031 if gdb_skip_xml_test is true on some targets.
10032
b1b53fb3
YQ
100332016-07-21 Yao Qi <yao.qi@linaro.org>
10034
10035 * gdb.server/solib-list.exp: Unset last_loaded_file.
10036
027d97f8
JK
100372016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10038
10039 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
10040 "step into captured_main (args)".
10041
7674d381
JK
100422016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10043
10044 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
10045
72b5d099
JK
100462016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10047
10048 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
10049
1f960ced
PA
100502016-07-19 Pedro Alves <palves@redhat.com>
10051
10052 * gdb.opt/inline-break.exp: Remove optimize=-O2.
10053 * gdb.opt/inline-bt.exp: Likewise.
10054 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
10055 additional_flags=-Winline.
10056 * gdb.opt/inline-locals.exp: Likewise.
10057 * gdb.opt/inline-markers.c (ATTR): Define.
10058 (inlined_fn): Use it.
10059
f25827c1
YQ
100602016-07-19 Yao Qi <yao.qi@linaro.org>
10061
10062 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
10063 (test_with_self): Remove some code. Remove argument executable.
10064 (top-level): Use do_self_tests.
10065
37539ebe
DB
100662016-07-15 Zachary Welch <zwelch@codesourcery.com>
10067 Don Breazeal <donb@codesourcery.com>
10068
10069 * gdb.base/maint.exp: Escape paths used in regular expressions.
10070 * gdb.stabs/weird.exp: Likewise.
10071
dac790e1
TT
100722016-07-13 Tom Tromey <tom@tromey.com>
10073
10074 PR python/15620, PR python/18620:
10075 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
10076 (test_bkpt_events): New procs.
10077
93daf339
TT
100782016-07-13 Tom Tromey <tom@tromey.com>
10079
10080 PR python/17698:
10081 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
10082 test.
10083 (test_watchpoints): Likewise.
10084 (test_bkpt_pending): New proc.
10085
6571a381
TT
100862016-07-13 Tom Tromey <tom@tromey.com>
10087
10088 PR cli/18053:
10089 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
10090 completion test.
10091
e8732474
JK
100922016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10093
10094 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
10095 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
10096 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
10097 f_label.
10098 (g): Rename g_end_lbl to g_label.
10099 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
10100 low_pc and high_pc.
10101 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
10102
e0f3fd7c
TT
101032016-07-12 Tom Tromey <tom@tromey.com>
10104
10105 PR python/19293:
10106 * gdb.python/py-unwind-maint.exp: Update tests.
10107
3cfe46b6
YQ
101082016-07-12 Yao Qi <yao.qi@linaro.org>
10109
10110 * lib/selftest-support.exp (selftest_setup): Match the output
10111 when captured_main is inlined.
10112
4f19a0e6
WT
101132016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
10114
10115 * gdb.fortran/derived-types.exp (result_line, result_line_2):
10116 New variables.
10117 (print this%a, print this%b, print this): New tests.
10118 * gdb.fortran/derived-types.f90 (this): New object and
10119 initialization.
10120
986cf455
SM
101212016-07-06 Simon Marchi <simon.marchi@ericsson.com>
10122
10123 * gdb.ada/arraydim.exp: Remove extra directory level in build
10124 directory.
10125
f0464b23
SM
101262016-07-06 Simon Marchi <simon.marchi@ericsson.com>
10127
10128 * lib/ada.exp: Remove extra directory level in build directory.
10129 * gdb.ada/cond_lang.exp: Likewise.
10130 * gdb.ada/exec_changed.exp: Likewise.
10131 * gdb.ada/lang_switch.exp: Likewise.
10132
42d94011
MG
101332016-07-06 Manish Goregaokar <manish@mozilla.com>
10134
2806dc7e
PA
10135 * simple.rs: Add test for raw pointer subscripting.
10136 * simple.exp: Add test expectations.
42d94011 10137
647c264c
YQ
101382016-07-05 Yao Qi <yao.qi@linaro.org>
10139
10140 * gdb.mi/mi-reverse.exp: Match =record-started output.
10141
20aa2c60
PA
101422016-07-01 Pedro Alves <palves@redhat.com>
10143
10144 * gdb.base/jit-reader.exp (info_registers_current_frame): New
10145 procedure.
10146 (jit_reader_test): Test the jit reader's unwinder.
10147 * gdb.base/jithost.c (jit_function_00_code): New global.
10148 (main): Use memcpy to fill in the mmapped code, instead of poking
10149 bytes manually here.
10150 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
10151 value.
10152 (read_debug_info): Save the function's range.
10153 (read_sp): New function.
10154 (unwind_frame): Use it. Also unwind RBP.
10155 (get_frame_id): Use read_sp.
10156 (gdb_init_reader): Use calloc instead of malloc.
10157 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
10158 parameter. Use gdb_test_multiple.
10159
ced2dffb
PA
101602016-07-01 Pedro Alves <palves@redhat.com>
10161 Antoine Tremblay <antoine.tremblay@ericsson.com>
10162
10163 * gdb.threads/process-dies-while-detaching.c: New file.
10164 * gdb.threads/process-dies-while-detaching.exp: New file.
10165
63000888
PA
101662016-07-01 Pedro Alves <palves@redhat.com>
10167
10168 * gdb.multi/watchpoint-multi-exit.c: New file.
10169 * gdb.multi/watchpoint-multi-exit.exp: New file.
10170
038d4868
PA
101712016-06-30 Pedro Alves <palves@redhat.com>
10172
10173 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
10174 unset inferior_spawn_id.
10175
994e9c83
PA
101762016-06-30 Pedro Alves <palves@redhat.com>
10177
10178 * lib/mi-support.exp (default_mi_gdb_start): Declare global
10179 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
10180
e5653468
YQ
101812016-06-29 Yao Qi <yao.qi@linaro.org>
10182
10183 * gdb.base/return.c: Add copyright header.
10184
803b47e5
TT
101852016-06-29 Tom Tromey <tom@tromey.com>
10186
10187 PR python/20129:
10188 * gdb.python/py-framefilter.exp: Add tests for setting priority
10189 and disabling of non-existent frame filter.
10190
28244707
YQ
101912016-06-29 Yao Qi <yao.qi@linaro.org>
10192
10193 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
10194 0x0f07ff.
10195
a31d2f06
YQ
101962016-06-28 Yao Qi <yao.qi@linaro.org>
10197
10198 * gdb.base/catch-syscall.exp: Remove check on isnative and target
10199 triplets. Start gdb, execute catch syscall, and continue. Check
10200 gdb's output to determine catch syscall is supported.
10201
921d8f54
MG
102022016-06-27 Manish Goregaokar <manish@mozilla.com>
10203
25d49b86
PA
10204 * gdb.rust/simple.rs: Add test for returning unit in a function.
10205 * gdb.rust/simple.exp: Add expectation for functions returning
10206 unit.
921d8f54 10207
f4952523
PMR
102082016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
10209
10210 * gdb.python/py-breakpoint-create-fail.c,
10211 gdb.python/py-breakpoint-create-fail.exp,
10212 gdb.python/py-breakpoint-create-fail.py: New testcase.
10213
fccb08f8
MG
102142016-06-25 Manish Goregaokar <manish@mozilla.com>
10215
10216 PR gdb/20239
10217 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
10218 * gdb.rust/simple.exp: Add test expectations for new NonZero
10219 tests.
fccb08f8 10220
6b850546
DT
102212016-06-24 David Taylor <dtaylor@emc.com>
10222
10223 * gdb.base/offsets.exp: New file.
10224 * gdb.base/offsets.c: New file.
10225
17621150
TT
102262016-06-23 Tom Tromey <tom@tromey.com>
10227
10228 PR gdb/16483:
10229 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
10230 before any filters are loaded.
10231
04d59df6
WT
102322016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
10233
10234 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
10235 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
10236 structs.
10237 * gdb.fortran/derived-type-function.exp: New file.
10238 * gdb.fortran/derived-type-function.f90: New file.
10239
10240
ac69f786
PA
102412016-06-21 Pedro Alves <palves@redhat.com>
10242
10243 * gdb.base/new-ui.exp: New file.
10244 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
10245 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
10246 (with_spawn_id): New procedure.
10247
49940788
PA
102482016-06-21 Pedro Alves <palves@redhat.com>
10249
10250 * gdb.mi/mi-exec-run.exp: New file.
10251
ef274d26
PA
102522016-06-21 Pedro Alves <palves@redhat.com>
10253
10254 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
10255 breakpoint command's output on the main UI.
10256 (test_break): New procedure, factored out from calls in the top
10257 level.
10258 (top level): Use foreach_with_prefix to test MI as main UI and as
10259 separate UI.
10260
468afe6c
PA
102612016-06-21 Pedro Alves <palves@redhat.com>
10262
10263 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
10264 (test_awatch_creation_and_listing)
10265 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
10266 Remove 'type' parameter.
10267 (test_watchpoint_all): New parameter mi_mode. Remove
10268 with_test_prefix.
10269 (top level): Use foreach_with_prefix, and add main/separate UI MI
10270 testing axis.
10271
51f77c37
PA
102722016-06-21 Pedro Alves <palves@redhat.com>
10273
10274 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
10275 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
10276 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
10277 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
10278 (gdb_main_spawn_id, mi_spawn_id): Declare and
10279 comment.
10280 (mi_create_inferior_pty): New procedure,
10281 factored out from default_mi_gdb_start.
10282 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
10283 procedures.
10284 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
10285 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
10286 Use mi_create_inferior_pty.
10287 (mi_gdb_start): Use eval to pass down args list.
10288
8980e177
PA
102892016-06-21 Pedro Alves <palves@redhat.com>
10290
10291 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
10292 * gdb.opt/inline-cmds.exp: Add MI tests.
10293
f38d3ad1
PA
102942016-06-21 Pedro Alves <palves@redhat.com>
10295
10296 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
10297
45db7c09
PA
102982016-06-21 Pedro Alves <palves@redhat.com>
10299
10300 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
10301 (top level): Use it instead of mi_execute_to.
10302
5a069ab3
PA
103032016-06-21 Pedro Alves <palves@redhat.com>
10304
10305 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
10306 (cont_handler_str): New.
10307 (signal_stop_handler): Set stop_handler_str instead of printing to
10308 stdout.
10309 (continue_handler): Set cont_handler_str instead of printing to
10310 stdout.
10311 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
10312 mi_send_resuming_command. Print stop_handler_str and
10313 cont_handler_str instead of expecting the python events print
10314 directly.
10315
2838cc1d
SD
103162016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
10317
10318 * gdb.base/jit-reader.exp: New file.
10319 * gdb.base/jithost.c: New file.
10320 * gdb.base/jithost.h: New file.
10321 * gdb.base/jitreader.c : New file.
10322 * gdb.base/jit-protocol.h: New file.
10323
21a77091
YQ
103242016-06-17 Yao Qi <yao.qi@linaro.org>
10325
10326 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
10327 parameters follow_fork and detach_on_fork. Set follow-fork-mode
10328 and detach-on-fork. Adjust tests.
10329 (top level): Invoke break_cond_on_syscall with combinations of
10330 syscall, follow-fork-mode and detach-on-fork.
10331
f50bf8e5
YQ
103322016-06-17 Yao Qi <yao.qi@linaro.org>
10333
10334 * gdb.base/step-over-exit.c: New.
10335 * gdb.base/step-over-exit.exp: New.
10336
a28d8e50
YTL
103372016-06-17 Yan-Ting Lin <currygt52@gmail.com>
10338
10339 * gdb.base/float.exp: Add target check for nds32*-*-*.
10340 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
10341
cad8e26d
AB
103422016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
10343
10344 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
10345 for unsupported target features.
10346 * gdb.base/call-rt-st.exp: Likewise.
10347 * gdb.base/call-sc.exp: Likewise.
10348 * gdb.base/call-signal-resume.exp: Likewise.
10349 * gdb.base/call-strs.exp: Likewise.
10350 * gdb.base/callexit.exp: Likewise.
10351 * gdb.base/callfuncs.exp: Likewise.
10352 * gdb.base/nodebug.exp: Likewise.
10353 * gdb.base/printcmds.exp: Likewise.
10354 * gdb.base/ptype.exp: Likewise.
10355 * gdb.base/structs.exp: Likewise.
10356 * gdb.base/unwindonsignal.exp: Likewise.
10357 * gdb.cp/gdb2495.exp: Likewise.
10358 * gdb.cp/templates.exp: Likewise.
10359 * gdb.cp/virtfunc.exp: Likewise.
10360 * gdb.threads/hand-call-in-threads.exp: Likewise.
10361 * gdb.threads/interrupted-hand-call.exp: Likewise.
10362 * gdb.threads/thread-unwindonsignal.exp: Likewise.
10363
347dc102
TT
103642016-06-10 Tom Tromey <tom@tromey.com>
10365
10366 PR rust/20110:
10367 * gdb.rust/expr.exp: Add test for integer constant larger than
10368 i32.
10369
5e13cf25
BH
103702016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
10371
10372 * gdb.fortran/nested-funcs.exp: New.
10373 * gdb.fortran/nested-funcs.f90: New.
10374
bb556f1f
TK
103752016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
10376
10377 * gdb.base/examine-backward.c: New file.
10378 * gdb.base/examine-backward.exp: New file.
10379
38b022b4
SM
103802016-06-06 Simon Marchi <simon.marchi@ericsson.com>
10381
10382 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
10383 matching.
10384
1b40ec05
TT
103852016-06-02 Tom Tromey <tom@tromey.com>
10386
10387 PR python/18984:
10388 * gdb.python/py-shared.exp: Add solib_name test.
10389
193bd378
SM
103902016-06-02 Simon Marchi <simon.marchi@ericsson.com>
10391
10392 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
10393
3326303b
MG
103942016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
10395
10396 PR c++/19893
10397 * gdb.dwarf2/implref.exp: Rename to...
10398 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
10399 * gdb.dwarf2/implref-array.c: New file.
10400 * gdb.dwarf2/implref-array.exp: Likewise.
10401 * gdb.dwarf2/implref-global.c: Likewise.
10402 * gdb.dwarf2/implref-global.exp: Likewise.
10403 * gdb.dwarf2/implref-struct.c: Likewise.
10404 * gdb.dwarf2/implref-struct.exp: Likewise.
10405
825c8ef2
AT
104062016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10407
10408 * gdb.trace/trace-condition.exp: Add 64bit tests.
10409
2320162a
AT
104102016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10411
10412 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
10413 bits types.
10414 (main): Adapt to 8 to 64 bits types.
10415 * gdb.trace/trace-condition.exp: Add new tests.
10416
a7818233
AT
104172016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10418
10419 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
10420
0d336466
AT
104212016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10422
10423 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
10424 Move condition tests...
10425 * gdb.trace/trace-condition.exp: Here.
10426
7faeb45a
AT
104272016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10428
10429 * gdb.trace/trace-condition.exp: Add counter-case tests.
10430
e385593e
JK
104312016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10432
10433 PR c++/15231
10434 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
10435 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
10436
744608cc
PA
104372016-05-27 Pedro Alves <palves@redhat.com>
10438
10439 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
10440 New procedure.
10441 (top level): Call it, and bail out of DejaGnu is known to be bad.
10442
ac775bf4
AB
104432016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
10444
10445 * gdb.base/whatis.c: Extend the test case.
10446 * gdb.base/whatis.exp: Add additional tests.
10447
2bbad2ea
BH
104482016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10449
10450* gdb.fortran/type.f90: Add pointer variable.
10451* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
10452
8b70175d
BH
104532016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10454
10455 * gdb.fortran/vla-type.exp: Fix testcase name.
10456
86d8a848
BH
104572016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10458
10459 * gdb.fortran/vla-type.exp: Access elements in nested structs.
10460
e188eb36
BH
104612016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10462
10463 * gdb.fortran/type.f90: Add nested structures.
10464 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
10465 * gdb.fortran/derived-type.exp: Adapt expected output.
10466 * gdb.fortran/vla-type.exp: Adapt expected output.
10467
9b2db1fd
BH
104682016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10469
10470 * gdb.fortran/whatis_type.exp: Adapt expected output.
10471
72b17055
BH
104722016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10473
10474 * gdb.fortran/print_type.exp: Fix expected output.
10475 * gdb.fortran/whatis_type.exp: Fix expected output.
10476
3cd81d8d
BH
104772016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10478
10479 * gdb.fortran/whatis_type.exp: Use multi_line.
10480
ddae9462
TT
104812016-05-24 Tom Tromey <tom@tromey.com>
10482
10483 PR python/17386:
10484 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
10485 use value as an index.
10486
1957f6b8
TT
104872016-05-23 Tom Tromey <tom@tromey.com>
10488
10489 PR python/17981:
10490 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
10491 no-breakpoint case.
10492
026a9174
PA
104932016-05-24 Pedro Alves <palves@redhat.com>
10494
10495 PR gdb/19828
10496 * gdb.threads/clone-attach-detach.c: New file.
10497 * gdb.threads/clone-attach-detach.exp: New file.
10498
e70a7231
FR
104992016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
10500
10501 * gdb.base/annota-input-while-running.exp: Fix syntax error.
10502
0f6ed0e0
TT
105032016-05-23 Tom Tromey <tom@tromey.com>
10504
10505 PR python/19438, PR python/18393:
10506 * gdb.python/py-progspace.exp: Add "dir" test.
10507 * gdb.python/py-objfile.exp: Add "dir" test.
10508
ffd19d61
YQ
105092016-05-23 Yao Qi <yao.qi@linaro.org>
10510
10511 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
10512 * gdb.arch/thumb2-it.exp: Likewise.
10513
9e8f9b05
SM
105142016-05-18 Simon Marchi <simon.marchi@ericsson.com>
10515
10516 * gdb.mi/mi-threads-interrupt.c: New file.
10517 * gdb.mi/mi-threads-interrupt.exp: New file.
10518
61c6156d
SM
105192016-05-17 Simon Marchi <simon.marchi@ericsson.com>
10520
10521 PR gdb/18077
10522 * gdb.mi/mi-async-run.exp: New file.
10523 * gdb.mi/mi-async-run.c: New file.
10524
67218854
TT
105252016-05-17 Tom Tromey <tom@tromey.com>
10526 Manish Goregaokar <manishsmail@gmail.com>
10527
10528 * lib/rust-support.exp: New file.
10529 * lib/gdb.exp (skip_rust_tests): New proc.
10530 (build_executable_from_specs): Handle rust.
10531 * lib/future.exp (gdb_find_rustc): New proc.
10532 (gdb_default_target_compile): Handle rust.
10533 * gdb.rust/expr.exp: New file.
10534 * gdb.rust/generics.exp: New file.
10535 * gdb.rust/generics.rs: New file.
10536 * gdb.rust/methods.exp: New file.
10537 * gdb.rust/methods.rs: New file.
10538 * gdb.rust/modules.exp: New file.
10539 * gdb.rust/modules.rs: New file.
10540 * gdb.rust/simple.exp: New file.
10541 * gdb.rust/simple.rs: New file.
10542
c44af4eb
TT
105432016-05-17 Tom Tromey <tom@tromey.com>
10544
10545 * gdb.base/default.exp (set language): Add rust.
10546
dcd1f979
TT
105472016-05-17 Tom Tromey <tom@tromey.com>
10548
10549 * gdb.gdb/unittest.exp: New file.
10550
155b7f57
YQ
105512016-05-16 Yao Qi <yao.qi@linaro.org>
10552
10553 * gdb.base/batch-preserve-term-settings.exp: Remove variable
10554 shell_prompt. Update shell_prompt_re.
10555
8ddd5a6c
DE
105562016-05-12 Doug Evans <dje@google.com>
10557
10558 PR symtab/19999
10559 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
10560 $options when building executable.
10561 * gdb.dwarf2/fission-loclists-pie.S: New file.
10562 * gdb.dwarf2/fission-loclists-pie.exp: New file.
10563
02e370d9
SM
105642016-05-04 Simon Marchi <simon.marchi@ericsson.com>
10565
10566 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
10567 of [is_remote target],
10568
8929ad8b
SM
105692016-05-04 Simon Marchi <simon.marchi@ericsson.com>
10570
10571 * lib/gdb.exp (use_gdb_stub): New procedure.
10572
6c447423
DE
105732016-05-03 Yunlian Jiang <yunlian@google.com>
10574 Doug Evans <dje@google.com>
10575
10576 PR symtab/19914
10577 * gdb.dwarf2/dwp-sepdebug.c: New file.
10578 * gdb.dwarf2/dwp-sepdebug.exp: New file.
10579
444e826c
SM
105802016-05-02 Simon Marchi <simon.marchi@ericsson.com>
10581
10582 * gdb.base/detach.exp: Remove is_remote check.
10583
740feeaa
SM
105842016-05-02 Simon Marchi <simon.marchi@ericsson.com>
10585
10586 * gdb.base/annota-input-while-running.exp: Don't check for
10587 [is_remote target]. Enable annotations after running to main.
10588 Remove unused "set test..." line.
10589
9080ac9d
SM
105902016-04-28 Simon Marchi <simon.marchi@ericsson.com>
10591
10592 * gdb.trace/trace-enable-disable.exp: New file.
10593 * gdb.trace/trace-enable-disable.c: New file.
10594
952ebca5
SM
105952016-04-28 Simon Marchi <simon.marchi@ericsson.com>
10596
10597 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
10598 use it in info sharedlibrary test.
10599 * gdb.trace/ftrace-lock.exp: Likewise.
10600 * gdb.trace/ftrace.exp: Likewise.
10601 * gdb.trace/range-stepping.exp: Likewise.
10602 * gdb.trace/trace-break.exp: Likewise.
10603 * gdb.trace/trace-condition.exp: Likewise.
10604 * gdb.trace/trace-mt.exp: Likewise.
10605
d9019901
SM
106062016-04-27 Simon Marchi <simon.marchi@ericsson.com>
10607
10608 * lib/gdb.exp (gdb_load_shlibs): Rename to...
10609 (gdb_load_shlib): ... this.
10610 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
10611 gdb_load_shlib.
10612 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
10613 * gdb.base/ctxobj.exp: Likewise.
10614 * gdb.base/dprintf-pending.exp: Likewise.
10615 * gdb.base/dso2dso.exp: Likewise.
10616 * gdb.base/fixsection.exp: Likewise.
10617 * gdb.base/gcore-relro.exp: Likewise.
10618 * gdb.base/gdb1555.exp: Likewise.
10619 * gdb.base/global-var-nested-by-dso.exp: Likewise.
10620 * gdb.base/gnu-ifunc.exp: Likewise.
10621 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
10622 * gdb.base/jit-so.exp (one_jit_test): Likewise.
10623 * gdb.base/pending.exp: Likewise.
10624 * gdb.base/print-file-var.exp: Likewise.
10625 * gdb.base/print-symbol-loading.exp: Likewise.
10626 * gdb.base/shlib-call.exp: Likewise.
10627 * gdb.base/shreloc.exp: Likewise.
10628 * gdb.base/so-impl-ld.exp: Likewise.
10629 * gdb.base/solib-disc.exp: Likewise.
10630 * gdb.base/solib-nodir.exp: Likewise.
10631 * gdb.base/solib-overlap.exp: Likewise.
10632 * gdb.base/solib-symbol.exp: Likewise.
10633 * gdb.base/solib-weak.exp (do_test): Likewise.
10634 * gdb.base/sym-file.exp: Likewise.
10635 * gdb.base/symtab-search-order.exp: Likewise.
10636 * gdb.base/type-opaque.exp: Likewise.
10637 * gdb.base/unload.exp: Likewise.
10638 * gdb.base/watchpoint-solib.exp: Likewise.
10639 * gdb.compile/compile.exp: Likewise.
10640 * gdb.cp/gdb2384.exp: Likewise.
10641 * gdb.cp/infcall-dlopen.exp: Likewise.
10642 * gdb.cp/re-set-overloaded.exp: Likewise.
10643 * gdb.fortran/library-module.exp: Likewise.
10644 * gdb.opt/solib-intra-step.exp: Likewise.
10645 * gdb.python/py-finish-breakpoint.exp: Likewise.
10646 * gdb.python/py-shared.exp: Likewise.
10647 * gdb.reverse/solib-precsave.exp: Likewise.
10648 * gdb.reverse/solib-reverse.exp: Likewise.
10649 * gdb.server/solib-list.exp: Likewise.
10650 * gdb.threads/dlopen-libpthread.exp: Likewise.
10651 * gdb.threads/tls-shared.exp: Likewise.
10652 * gdb.threads/tls-so_extern.exp: Likewise.
10653 * gdb.trace/change-loc.exp: Likewise.
10654 * gdb.trace/ftrace-lock.exp: Likewise.
10655 * gdb.trace/ftrace.exp: Likewise.
10656 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
10657 * gdb.trace/pending.exp: Likewise.
10658 * gdb.trace/range-stepping.exp: Likewise.
10659 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
10660 (strace_info_marker): Likewise.
10661 (strace_probe_marker): Likewise.
10662 (strace_trace_on_same_addr): Likewise.
10663 (strace_trace_on_diff_addr): Likewise.
10664 * gdb.trace/trace-break.exp: Likewise.
10665 * gdb.trace/trace-condition.exp: Likewise.
10666 * gdb.trace/trace-mt.exp: Likewise.
10667
fca4cfd9
SM
106682016-04-27 Simon Marchi <simon.marchi@ericsson.com>
10669
10670 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
10671 result of gdb_remote_download.
10672 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
10673 * gdb.base/dso2dso.exp: Likewise.
10674 * gdb.base/global-var-nested-by-dso.exp: Likewise.
10675 * gdb.base/print-file-var.exp: Likewise.
10676 * gdb.base/shlib-call.exp: Likewise.
10677 * gdb.base/shreloc.exp: Likewise.
10678 * gdb.base/solib-overlap.exp: Likewise.
10679 * gdb.base/solib-weak.exp (do_test): Likewise.
10680 * gdb.base/unload.exp: Likewise.
10681
11cf4ffb
YQ
106822016-04-27 Yao Qi <yao.qi@linaro.org>
10683
10684 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
10685 exists.
10686
3e2e34f8
KB
106872016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10688
10689 * vla-type.exp: Print structure from toplevel.
10690
8f07e298
BH
106912016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10692
10693 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
10694 of dynamic types.
10695 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
10696 of dynamic types.
10697
9920b434
BH
106982016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10699
10700 * gdb.fortran/vla-type.f90: New file.
10701 * gdb.fortran/vla-type.exp: New file.
10702
f3abeff5
YQ
107032016-04-25 Yao Qi <yao.qi@linaro.org>
10704
10705 * gdb.base/branch-to-self.c: New file.
10706 * gdb.base/branch-to-self.exp: New file.
10707
0a5d52f0
YQ
107082016-04-22 Yao Qi <yao.qi@linaro.org>
10709
10710 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
10711 more after $hex.
10712
495346f6
YQ
107132016-04-22 Yao Qi <yao.qi@linaro.org>
10714
10715 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
10716 * gdb.base/annota3.exp: Likewise.
10717
4a7e075c
YQ
107182016-04-22 Yao Qi <yao.qi@linaro.org>
10719
10720 * gdb.reverse/step-precsave.exp: Do one step and test program
10721 stops in "callee" and do multiple steps until program goes out
10722 of "callee".
10723 * gdb.reverse/step-reverse.exp: Likewise.
10724
5b061e98
YQ
107252016-04-22 Yao Qi <yao.qi@linaro.org>
10726
10727 * gdb.trace/signal.exp: Also pass if
10728 $tracepoint_hits($i) > $iterations.
10729
5c5dc57f
YQ
107302016-04-22 Yao Qi <yao.qi@linaro.org>
10731
10732 * gdb.trace/signal.c: New file.
10733 * gdb.trace/signal.exp: New file.
10734
a55411b9
DE
107352016-04-19 Doug Evans <xdje42@gmail.com>
10736
10737 * gdb.base/bad-file.exp: New file.
10738
a22df60a
MG
107392016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
10740
10741 * gdb.dwarf2/implref.exp: New file.
10742
0c13f7e5
BH
107432016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
10744
10745 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
10746 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
10747 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
10748 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
10749 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
10750 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
10751 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
10752 * lib/fortran.exp (fortran_int4): New procedure.
10753 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
10754 (fortran_logical4): Likewise.
10755
9b9b09e9
BH
107562016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
10757
10758 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
10759
a14d1f4d
BH
107602016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
10761
10762 * lib/compiler.c: Add Intel specific preprocessor macros.
10763 * lib/compiler.cc: Likewise.
25d49b86 10764
7d49b1d0
LM
107652016-04-13 Luis Machado <lgustavo@codesourcery.com>
10766
10767 * gdb.server/connect-with-no-symbol-file.c: New file.
10768 * gdb.server/connect-with-no-symbol-file.exp: New file.
10769
8392fa22
SM
107702016-04-13 Simon Marchi <simon.marchi@ericsson.com>
10771
10772 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
10773
8c4c4aeb
SM
107742016-04-13 Simon Marchi <simon.marchi@ericsson.com>
10775
10776 * boards/gdbserver-base.exp (${board}_download): Copy source file to
10777 standard output directory.
10778
45e3745e
AT
107792016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
10780
10781 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
10782
e26b7e41
MM
107832016-04-13 Markus Metzger <markus.t.metzger@intel.com>
10784
10785 * gdb.btrace/instruction_history.c (loop): Add declaration.
10786
8ce09462
AT
107872016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
10788
10789 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
10790
2e88a1ea
SM
107912016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
10792
10793 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
10794 parentheses to print.
10795 (continue_handler): Likewise.
10796
f48e22e3
SM
107972016-04-08 Simon Marchi <simon.marchi@ericsson.com>
10798
10799 * gdb.server/solib-list.exp: Remove is_remote check.
10800 Pass shlib= to gdb_compile. Don't link shared library with
10801 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
10802 Run binary filename through "readlink -f" on the target.
10803
096be756
PA
108042016-04-08 Pedro Alves <palves@redhat.com>
10805
10806 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
10807 interpreter filename as argument to gdbserver_spawn.
10808 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
10809 Return empty if $last_loaded_file does not exist.
10810
06500533
JK
108112016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10812
10813 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
10814 * gdb.base/jit-main.c: Use exit after usage.
10815
2d35e871
JK
108162016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10817
10818 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
10819 GDBHISTSIZE prior to the tests.
10820 * gdb.base/gdbinit-history.exp: Likewise.
10821
108222016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
10823
10824 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
10825 instead of build_executable. Use gdb_load_shlibs.
10826
c8064e7e
YQ
108272016-04-07 Yao Qi <yao.qi@linaro.org>
10828
10829 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
10830 Execute "si" command.
10831
bde47561
YQ
108322016-04-07 Yao Qi <yao.qi@linaro.org>
10833
10834 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
10835 number instead of the comments on some line.
10836
b16f8a3b
DB
108372016-04-06 Don Breazeal <donb@codesourcery.com>
10838
10839 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
10840 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
10841
c2f901df
SM
108422016-04-06 Simon Marchi <simon.marchi@ericsson.com>
10843
10844 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
10845 standard_output_file. Remove unused binfile variable.
10846
ac17fda0
CU
108472016-04-05 Catalin Udma <catalin.udma@freescale.com>
10848
10849 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
10850 * gdb.python/py-mi-objfile.exp: Match "list main" output
10851 in console format.
10852
03a8c4df
SM
108532016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
10854
10855 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
10856 absolute.
10857
6e774b13
SM
108582016-04-05 Simon Marchi <simon.marchi@ericsson.com>
10859
10860 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
10861 absolute.
10862 * gdb.trace/ftrace.exp: Likewise.
10863 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
10864 targets as well.
10865 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
10866 (gdb_load_shlibs): Copy libraries to test directory when testing
10867 natively. Only set solib-search-path if testing remotely.
10868 * lib/mi-support.exp (mi_load_shlibs): Likewise.
10869
7817ea46
SM
108702016-04-05 Simon Marchi <simon.marchi@ericsson.com>
10871
10872 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
10873 gdb_download. Use it even if the target is not remote.
10874 * gdb.base/jit.exp (compile_jit_test): Likewise.
10875 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
10876 output directory if the destination board is local, otherwise use
10877 the standard remote_download from DejaGnu.
10878 (gdb_download): Remove.
10879 (gdb_load_shlibs): Use gdb_remote_download instead of
10880 gdb_download.
10881 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
10882 Use gdb_remote_download instead of gdb_download. Use it even if
10883 the target is not remote.
10884 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
10885 instead of gdb_download.
10886
7beb7f68
SM
108872016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
10888
10889 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
10890 (test_insert_delete_modify): Call mi_load_shlibs before trying to
10891 run.
10892
cc63428a
AV
108932016-04-01 Artemiy Volkov <artemiyv@acm.org>
10894
10895 PR gdb/19820
10896 * gdb.base/printcmds.exp: Add artificial arrays tests.
10897
64cdf930
PA
108982016-03-31 Pedro Alves <palves@redhat.com>
10899
10900 PR gdb/19858
10901 * gdb.base/jit-main.c: Include unistd.h.
10902 (ATTACH): Define to 0 if not already defined.
10903 (wait_for_gdb, mypid): New globals.
10904 (WAIT_FOR_GDB): New macro.
10905 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
10906 some breakpoint locations.
10907 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
10908 New procedures.
10909 (one_jit_test): Add REATTACH parameter, and handle it. Use
10910 continue_to_test_location.
10911 (top level): Test attach, and adjusts calls to one_jit_test.
10912
40dea8cb
PA
109132016-03-31 Pedro Alves <palves@redhat.com>
10914
10915 PR gdb/19858
10916 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
10917 BINSUFFIX parameter, and handle it.
10918 (top level): Adjust calls compile_jit_test.
10919
e7ea3ec7
CU
109202016-03-31 Catalin Udma <catalin.udma@freescale.com>
10921
10922 PR python/19743
10923 * gdb.python/py-mi-events-gdb.py: New file.
10924 * gdb.python/py-mi-events.c: New file.
10925 * gdb.python/py-mi-events.exp: New file.
10926
e6359af3
YQ
109272016-03-30 Yao Qi <yao.qi@linaro.org>
10928
10929 * gdb.reverse/until-precsave.exp: Match function name only.
10930 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
10931 Move malloc to a condition block.
10932 * gdb.reverse/until-reverse.exp: Match function name only.
10933
a4105d04
MK
109342016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
10935
10936 * gdb.trace/ftrace.exp: Set arg0exp for s390.
10937 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
10938 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
10939 variable for GPR 0 instead of assuming it is register 0.
10940 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
10941 * lib/trace-support.exp: Add s390 registers.
10942
bfa6adb9
YQ
109432016-03-29 Yao Qi <yao.qi@linaro.org>
10944
10945 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
10946
1e6697ea
YQ
109472016-03-24 Yao Qi <yao.qi@linaro.org>
10948
10949 * gdb.reverse/break-reverse.exp: Add quotation mark in the
10950 test message.
10951
64bcd522
AA
109522016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10953
10954 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
10955 maintaining separate logic for constructing the output path.
10956
7868401b
DB
109572016-03-16 Don Breazeal <donb@codesourcery.com>
10958
10959 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
10960 Retry fork and waitpid on interrupted system call errors.
10961 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10962 Use with_timeout_factor to increase timeout by factor of 10.
10963
1cafadb4
DB
109642016-03-15 Don Breazeal <donb@codesourcery.com>
10965
10966 * gdb.cp/scope-err.cc: New test program.
10967 * gdb.cp/scope-err.exp: New test script.
10968 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
10969 lines and "set breakpoint here" comment.
10970 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
10971 Fixed some whitespace and format issues.
10972 * gdb.mi/mi-linespec-err-cp.cc: New test program.
10973 * gdb.mi/mi-linespec-err-cp.exp: New test script.
10974
81516450
DE
109752016-03-15 Doug Evans <dje@google.com>
10976
10977 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
10978 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
10979 All callers updated. Add tests for enums, mixed flags register.
10980
aa52b601
DE
109812016-03-15 Doug Evans <dje@google.com>
10982
10983 * gdb.base/skip.c (main): Call test_skip_file_and_function.
10984 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
10985
fa4ff313
SM
109862016-03-14 Simon Marchi <simon.marchi@ericsson.com>
10987
10988 * gdb.base/default.exp: Add $_as_string to the list of expected
10989 convenience functions.
10990
f2403c39
AB
109912016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
10992
10993 * gdb.base/maint.exp: New tests for 'maint info line-table'.
10994
f2f3ccb9
SM
109952016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
10996
10997 * gdb.python/py-as-string.exp: New file.
10998 * gdb.python/py-as-string.c: New file.
10999
00dbd492
PA
110002016-03-09 Pedro Alves <palves@redhat.com>
11001
11002 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
11003 signal" -> "Thread NN received signal" output change.
11004 * gdb.threads/ia64-sigill.exp: Likewise.
11005 * gdb.threads/linux-dp.exp: Likewise.
11006 * gdb.threads/manythreads.exp: Likewise.
11007 * gdb.threads/pending-step.exp: Likewise.
11008 * gdb.threads/print-threads.exp: Likewise.
11009 * gdb.threads/sigstep-threads.exp: Likewise.
11010 * gdb.threads/staticthreads.exp: Likewise.
11011 * gdb.threads/tls.exp: Likewise.
11012
1e6697ea
YQ
110132016-03-09 Pedro Alves <palves@redhat.com>
11014
11015 * gdb.base/command-line-input.exp: New file.
11016
b04fd3be
MK
110172016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11018
11019 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
11020 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
11021 * gdb.trace/pending.exp: Accept leading dot before function name.
11022 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
11023 * lib/trace-support.exp: Set registers for ppc.
11024
98fa59e9
MK
110252016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11026
11027 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
11028 use it for disassembly; accept .main in addition to main in backtrace.
11029
f77198c8
MK
110302016-03-09 Wei-cheng Wang <cole945@gmail.com>
11031 Marcin Kościelnicki <koriakin@0x04.net>
11032
11033 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
11034 (gdb_recursion_test_ptr): New global variable.
11035 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
11036 gdb_recursion_test.
11037 (gdb_c_test): Ditto.
11038
ba84e0da
MK
110392016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11040
11041 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
11042 ordering.
11043
4366d36e
MK
110442016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11045
11046 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
11047 (bar): Add bar_start_lbl label.
11048 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
11049 of foo/bar for emitting DWARF and tracing.
11050
5eb264df
SDJ
110512016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
11052
11053 * analyze-racy-logs.py: Set executable bit.
11054
fb6a751f
SDJ
110552016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
11056
11057 * Makefile.in (DEFAULT_RACY_ITER): New variable.
11058 (CHECK_TARGET_TMP): Likewise.
11059 (check-single-racy): New rule.
11060 (check-parallel-racy): Likewise.
11061 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
11062 (do-check-parallel-racy): New rule.
11063 (check-racy/%.exp): Likewise.
11064 * README (Racy testcases): New section.
11065 * analyze-racy-logs.py: New file.
11066
bdf7e230
DE
110672016-03-03 Doug Evans <dje@google.com>
11068
11069 * gdb.base/skip.exp: Use with_test_prefix.
11070
4719d415
YQ
110712016-03-03 Yao Qi <yao.qi@linaro.org>
11072
11073 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
11074 Invoke step_over_syscall "clone" and break_cond_on_syscall
11075 "clone".
11076 * gdb.base/step-over-clone.c: New file.
11077
ea507862
YQ
110782016-03-03 Yao Qi <yao.qi@linaro.org>
11079
11080 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
11081 code format.
11082
8fc8cbda
YQ
110832016-03-03 Yao Qi <yao.qi@linaro.org>
11084
11085 * gdb.base/disp-step-fork.c: Rename to ...
11086 * gdb.base/step-over-fork.c: ... it. New file.
11087 * gdb.base/disp-step-vfork.c: Rename to ...
11088 * gdb.base/step-over-vfork.c: ... it. New file.
11089 * gdb.base/disp-step-syscall.exp: Rename to ...
11090 * gdb.base/step-over-syscall.exp: ... it. New file.
11091 (disp_step_cross_syscall): Rename to ...
11092 (step_over_syscall): ... it.
11093
92fa70b0
YQ
110942016-03-03 Yao Qi <yao.qi@linaro.org>
11095
11096 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
11097 If target supports condition evaluation on target, invoke
11098 break_cond_on_syscall for fork and vfork.
11099
e197ad3c
YQ
111002016-03-03 Yao Qi <yao.qi@linaro.org>
11101
11102 * gdb.base/disp-step-syscall.exp: Don't invoke
11103 support_displaced_stepping.
11104 (disp_step_cross_syscall): Test with displaced stepping off and
11105 on if supported.
11106
0b47da9f
YQ
111072016-03-03 Yao Qi <yao.qi@linaro.org>
11108
11109 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
11110 proc.
11111 (setup): New proc.
11112 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
11113 and setup.
11114
065ab6dc
BH
111152016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11116
11117 * gdb.fortran/vla-history.exp: Remove breakpoint.
11118
07e448ad 111192016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11120
25d49b86
PA
11121 * gdb.fortran/vla-history.exp: Lookup array elements and printing
11122 exceeds timeout.
07e448ad 11123
9ac2d526 111242016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11125
25d49b86
PA
11126 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
11127 breakpoint.
9ac2d526 11128
17807369
BH
111292016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11130
11131 * gdb.mi/vla.f90: Nullify pointer after declaration.
11132
86e501af
PA
111332016-03-01 Pedro Alves <palves@redhat.com>
11134
11135 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
11136
1e903e32
PA
111372016-03-01 Pedro Alves <palves@redhat.com>
11138
11139 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
11140 before anything else.
11141 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
11142 _GNU_SOURCE here.
11143 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
11144 before anything else.
11145 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
11146
6ccb54e2
PA
111472016-03-01 Pedro Alves <palves@redhat.com>
11148
11149 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
11150
30ca9da1
YQ
111512016-03-01 Yao Qi <yao.qi@linaro.org>
11152
11153 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
11154 prepare_for_testing.
11155
dc856b38
YQ
111562016-03-01 Yao Qi <yao.qi@linaro.org>
11157
11158 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
11159
4a932159
AA
111602016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
11161
11162 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
11163 manually constructing the output path.
11164
f2489477
AA
111652016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
11166
11167 * gdb.arch/s390-stackless.S: New.
11168 * gdb.arch/s390-stackless.exp: New.
11169
38899f16
IB
111702016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
11171
11172 * gdb.dlang/circular.c: New file.
11173 * gdb.dlang/circular.exp: New file.
11174
9fde51ed
YQ
111752016-02-26 Yao Qi <yao.qi@linaro.org>
11176
11177 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
11178 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
11179 (testcases): Update.
11180
ce90fefe
YQ
111812016-02-26 Yao Qi <yao.qi@linaro.org>
11182
11183 * gdb.reverse/aarch64.c: Rename to ...
11184 * gdb.reverse/insn-reverse.c: ... it.
11185 * gdb.reverse/aarch64.exp: Rename to ...
11186 * gdb.reverse/insn-reverse.exp: ... it.
11187
3263bceb
YQ
111882016-02-26 Yao Qi <yao.qi@linaro.org>
11189
11190 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
11191 (testcase_ftype): New.
11192 (testcases): New array.
11193 (n_testcases): New.
11194 (main): Call each element in testcases.
11195 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
11196 (read_testcase): New.
11197 Do the tests in a loop.
11198
6cb59ff1
YQ
111992016-02-25 Yao Qi <yao.qi@linaro.org>
11200
11201 * gdb.base/branches.c: Remove.
11202
ae91f625
MK
112032016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11204
11205 PR gdb/13808
11206 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
11207
678b48b7
MK
112082016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11209
11210 * gdb.trace/ftrace.exp: Remove unnecessary target check.
11211
7337a6f2
MK
112122016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11213
11214 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
11215 change x86_64 call_insn to 'callq'.
11216
861ca91f
AT
112172016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
11218
11219 * gdb.trace/tfile-avx.c: Move to...
11220 * gdb.trace/tracefile-pseudo-reg.c: Here.
11221 * gdb.trace/tfile-avx.exp: Move to...
11222 * gdb.trace/tracefile-pseudo-reg.exp: Here.
11223
bf74e428
GB
112242016-02-24 Gary Benson <gbenson@redhat.com>
11225
11226 * gdb.base/attach-pie-noexec.exp: Do not expect an error
11227 message on attach.
11228
cce0e923
DE
112292016-02-23 Doug Evans <dje@google.com>
11230
11231 * gdb.base/skip.c (test_skip): New function.
11232 (end_test_skip_file_and_function): New function.
11233 (test_skip_file_and_function): New function.
11234 * gdb.base/skip1.c (test_skip): New function.
11235 (skip1_test_skip_file_and_function): New function.
11236 * gdb.base/skip.exp: Add tests for new skip options.
11237 * gdb.base/skip-solib.exp: Update expected output.
11238 * gdb.perf/skip-command.cc: New file.
11239 * gdb.perf/skip-command.exp: New file.
11240 * gdb.perf/skip-command.py: New file.
11241
4000e47e
MK
112422016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
11243
11244 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
11245 info registers pattern.
11246
24f75ead
IB
112472016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
11248
11249 * lib/future.exp: Add D support.
11250 (gdb_find_gdc): New proc.
11251 (gdb_default_target_compile): Add D support.
11252
fbb7bcbe
WW
112532016-02-18 Wei-cheng Wang <cole945@gmail.com>
11254
11255 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
11256 user+system time.
11257 (trace_speed_test): Determine the iteration count for a time
11258 between 15..30 seconds.
11259
012b3a21
WT
112602016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
11261
11262 * gdb.arch/i386-mpx-sigsegv.c: New file.
11263 * gdb.arch/i386-mpx-sigsegv.exp: New file.
11264 * gdb.arch/i386-mpx-simple_segv.c: New file.
11265 * gdb.arch/i386-mpx-simple_segv.exp: New file.
11266
2d5189bd
YQ
112672016-02-18 Yao Qi <yao.qi@linaro.org>
11268
11269 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
11270 Don't call setup_kfail.
11271
40fb20d0
YQ
112722016-02-18 Yao Qi <yao.qi@linaro.org>
11273
11274 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
11275 Set "set breakpoint condition-evaluation" per $cond_bp_target.
11276
21b1f8d2
DE
112772016-02-16 Doug Evans <dje@google.com>
11278
11279 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
11280 * gdb.base/skip1.c: Ditto.
11281 * gdb.base/skip.exp: Whitespace cleanup.
11282
4041ed77
DB
112832016-02-16 Don Breazeal <donb@codesourcery.com>
11284
11285 PR remote/19496
11286 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
11287 Remove kfail for PR remote/19496.
11288
c4ef31bf
SM
112892016-02-16 Simon Marchi <simon.marchi@ericsson.com>
11290
11291 * lib/gdb.exp (standard_temp_file): Return a path specific to
11292 the runtest invocation.
11293
266b65b3
SM
112942016-02-16 Simon Marchi <simon.marchi@ericsson.com>
11295
11296 * gdb.trace/save-trace.exp: Change relative path to be in the
11297 standard output directory.
11298
a7a0a6a9
JK
112992016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11300
11301 * gdb.arch/i386-prologue.c: Add missing prototypes.
11302
c99dbb42
JK
113032016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11304
11305 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
11306 * gdb.arch/i386-prologue.exp: Likewise.
11307 * gdb.arch/i386-size.exp: Likewise.
11308
aa480355
SM
113092016-02-15 Simon Marchi <simon.marchi@ericsson.com>
11310
11311 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
11312 define object file path.
11313 * gdb.btrace/gcore.exp: Use standard_output_file to define core
11314 file path.
11315 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
11316 standard_output_file to define binfile.
11317
ba881f50
JK
113182016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11319
11320 Fix compatibility with recent gfortran-5.3.1.
11321 * gdb.fortran/vla-history.exp (print vla1 allocated)
11322 (print vla2 allocated, print $2, print $3): Remove
11323 (print $4): Rename to ...
11324 (print $2): ... here.
11325 (print $9): Rename to ...
11326 (print $5): ... here.
11327 (print $10): Rename to ...
11328 (print $6): ... here.
11329 * gdb.fortran/vla.f90: Add pvla initialization.
11330
e9fb005c
JK
113312016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11332
11333 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
11334 New test.
11335 * gdb.fortran/vla-value-sub.exp: Likewise.
11336
e44e00ff
MK
113372016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
11338
11339 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
11340
97e94151
SM
113412016-02-12 Simon Marchi <simon.marchi@ericsson.com>
11342
11343 * i386-biarch-core.exp: Define corefile using
11344 standard_output_file.
11345
01113bc1
YQ
113462016-02-12 Yao Qi <yao.qi@linaro.org>
11347
11348 * gdb.arch/arm-single-step-kernel-helper.c: New.
11349 * gdb.arch/arm-single-step-kernel-helper.exp: New.
11350
33b4777c
MM
113512016-02-12 Markus Metzger <markus.t.metzger@intel.com>
11352
11353 * gdb.btrace/tailcall-only.exp: New.
11354 * gdb.btrace/tailcall-only.c: New.
11355 * gdb.btrace/x86_64-tailcall-only.S: New.
11356 * gdb.btrace/i686-tailcall-only.S: New.
11357
acc23c11
PA
113582016-02-11 Pedro Alves <palves@redhat.com>
11359
11360 * README (Parallel testing): Add missing double quotes.
11361
e352bf0a
PA
113622016-02-11 Pedro Alves <palves@redhat.com>
11363
11364 * README (Parallel testing): New section.
11365 (GDB_PARALLEL): Rewrite.
11366 (FORCE_PARALLEL): Document.
11367
9f5fed78
MK
113682016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
11369
11370 * gdb.trace/tfile-avx.c: New test.
11371 * gdb.trace/tfile-avx.exp: New test.
11372
9ef9e6a6
KS
113732016-02-09 Keith Seitz <keiths@redhat.com>
11374
11375 PR breakpoints/19546
11376 * gdb.base/infcall-exec.c: New file.
11377 * gdb.base/infcall-exec2.c: New file.
11378 * gdb.base/infcall-exec.exp: New file.
11379
a96e36da
KS
113802016-02-09 Keith Seitz <keiths@redhat.com>
11381
11382 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
11383 (toplevel): Call test_bkpt_address.
11384
9f61929f
KS
113852016-02-09 Keith Seitz <keiths@redhat.com>
11386
11387 PR python/19506
11388 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
11389 (toplevel): Call test_bkpt_address.
11390
1e94266c
SM
113912016-02-09 Simon Marchi <simon.marchi@ericsson.com>
11392
11393 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
11394 to AC_OUTPUT.
11395 * configure: Regenerate.
11396
2a7f3dff
PA
113972016-02-09 Pedro Alves <palves@redhat.com>
11398
11399 PR breakpoints/19548
11400 * gdb.base/execl-update-breakpoints.c (some_function): New
11401 function.
11402 (main): Call it.
11403 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
11404 Tighten expected GDB output.
11405
2151ccc5
SM
114062016-02-08 Simon Marchi <simon.marchi@ericsson.com>
11407
11408 * Makefile.in (ALL_SUBDIRS): Remove.
11409 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
11410 (distclean maintainer-clean realclean): Likewise.
11411 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
11412 * configure: Regenerate.
11413 * gdb.ada/Makefile.in: Delete.
11414 * gdb.arch/Makefile.in: Likewise.
11415 * gdb.asm/Makefile.in: Likewise.
11416 * gdb.base/Makefile.in: Likewise.
11417 * gdb.btrace/Makefile.in: Likewise.
11418 * gdb.cell/Makefile.in: Likewise.
11419 * gdb.compile/Makefile.in: Likewise.
11420 * gdb.cp/Makefile.in: Likewise.
11421 * gdb.disasm/Makefile.in: Likewise.
11422 * gdb.dlang/Makefile.in: Likewise.
11423 * gdb.dwarf2/Makefile.in: Likewise.
11424 * gdb.fortran/Makefile.in: Likewise.
11425 * gdb.gdb/Makefile.in: Likewise.
11426 * gdb.go/Makefile.in: Likewise.
11427 * gdb.guile/Makefile.in: Likewise.
11428 * gdb.java/Makefile.in: Likewise.
11429 * gdb.linespec/Makefile.in: Likewise.
11430 * gdb.mi/Makefile.in: Likewise.
11431 * gdb.modula2/Makefile.in: Likewise.
11432 * gdb.multi/Makefile.in: Likewise.
11433 * gdb.objc/Makefile.in: Likewise.
11434 * gdb.opencl/Makefile.in: Likewise.
11435 * gdb.opt/Makefile.in: Likewise.
11436 * gdb.pascal/Makefile.in: Likewise.
11437 * gdb.perf/Makefile.in: Likewise.
11438 * gdb.python/Makefile.in: Likewise.
11439 * gdb.reverse/Makefile.in: Likewise.
11440 * gdb.server/Makefile.in: Likewise.
11441 * gdb.stabs/Makefile.in: Likewise.
11442 * gdb.threads/Makefile.in: Likewise.
11443 * gdb.trace/Makefile.in: Likewise.
11444 * gdb.xml/Makefile.in: Likewise.
11445 * lib/gdb.exp (make_gdb_parallel_path): Add check for
11446 GDB_PARALLEL.
11447 (standard_output_file): Remove check for GDB_PARALLEL, always
11448 return path in outputs/$subdir/$testname.
11449
437277d4
SM
114502016-02-08 Simon Marchi <simon.marchi@ericsson.com>
11451
11452 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
11453 (site.exp): Assign abs_srcdir to tcl's srcdir.
11454
31d913c7
YQ
114552016-02-04 Yao Qi <yao.qi@linaro.org>
11456
11457 * gdb.base/foll-exec-mode.c: Include limits.h.
11458 (main): Add parameters argc and argv. Get directory from
11459 argv[0].
11460 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
11461 compilation.
11462 * gdb.base/foll-exec.c: Include limits.h.
11463 (main): Add parameters argc and argv.
11464 Get directory from argv[0].
11465 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
11466 Adjust tests on the number of lines as source code changed.
11467 * gdb.base/foll-vfork-exit.c: Include limits.h.
11468 (main): Add one line of statement before vfork.
11469 * gdb.base/foll-vfork.c: Include limits.h and string.h.
11470 (main): Add parameters argc and argv. Get directory from
11471 argv[0].
11472 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
11473 (setup_gdb): Set tbreak to skip some source lines.
11474 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
11475 (main): Add parameters argc and argv. Get directory from
11476 argv[0].
11477 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
11478 compilation.
11479 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
11480 (main): Add parameters argc and argv. Get directory from
11481 argv[0].
11482 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
11483 compilation.
11484
9482b9fb
DE
114852016-02-01 Doug Evans <dje@google.com>
11486
11487 * gdb.base/skip.exp: Clean up multiple references to same test name.
11488
6b2e4f10
PA
114892016-02-01 Pedro Alves <palves@redhat.com>
11490
ccb6afd6 11491 PR remote/19496
6b2e4f10
PA
11492 * gdb.threads/forking-threads-plus-breakpoint.exp
11493 (displaced_stepping_supported): New global.
11494 (probe_displaced_stepping_support): New procedure.
11495 (do_test): Add 'displaced' parameter, and use it.
11496 (top level): Check for displaced stepping support. Add displaced
11497 stepping on/off testing axis.
11498
37a8db1a
AB
114992016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
11500
11501 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
11502 pointer. Don't perform further tests on the unassociated pointer
11503 if the first test fails.
11504
5fdf6324
AB
115052016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
11506
11507 * gdb.base/max-value-size.c: New file.
11508 * gdb.base/max-value-size.exp: New file.
11509 * gdb.base/huge.exp: Disable max-value-size for this test.
11510
935c6144
IB
115112016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
11512
11513 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
11514
7fe8399d
YQ
115152016-01-28 Yao Qi <yao.qi@linaro.org>
11516
11517 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
11518
a2077e25
PA
115192016-01-25 Pedro Alves <palves@redhat.com>
11520
11521 PR threads/19461
11522 * gdb.base/fork-running-state.c: New file.
11523 * gdb.base/fork-running-state.exp: New file.
11524
1d2736d4
PA
115252016-01-25 Pedro Alves <palves@redhat.com>
11526
11527 PR gdb/19494
11528 * gdb.base/catch-fork-kill.c: New file.
11529 * gdb.base/catch-fork-kill.exp: New file.
11530
f1da4b11
PA
115312016-01-25 Pedro Alves <palves@redhat.com>
11532
11533 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
11534 Delete, moved to lib/gdb.exp.
11535 * gdb.threads/forking-threads-plus-breakpoint.exp
11536 (foreach_with_prefix): Likewise.
11537 * gdb.threads/process-dies-while-handling-bp.exp
11538 (foreach_with_prefix): Likewise.
11539 * lib/gdb.exp (foreach_with_prefix): New procedure.
11540
45f38546
MK
115412016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
11542
11543 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
11544 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
11545
dc29a1ce
MK
115462016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
11547
11548 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
11549 endian targets.
11550
092127d7
JK
115512016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11552 Pedro Alves <palves@redhat.com>
11553
11554 Fix testsuite compatibility with Guile.
11555 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
11556 number.
11557
31d765d3
JK
115582016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11559
11560 Fix testsuite compatibility with Guile.
11561 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
11562 (thread 1): New test for backtrace through signal handler.
11563
1ac78c04
YQ
115642016-01-22 Yao Qi <yao.qi@linaro.org>
11565
11566 PR testsuite/19491
11567 * gdb.base/multi-forks.c: Include
11568 ../lib/unbuffer_output.c
11569 (main): Call gdb_unbuffer_output.
11570
4f5946a8
DE
115712016-01-21 Doug Evans <dje@google.com>
11572
11573 * lib/ada.exp (gdb_compile_ada): Fix typo.
11574
305e13e6
JB
115752016-01-21 Joel Brobecker <brobecker@adacore.com>
11576
11577 * gdb.base/break-fun-addr.exp: New file.
11578 * gdb.base/break-fun-addr1.c: New file.
11579 * gdb.base/break-fun-addr2.c: New file.
11580
5f5dfff6
SM
115812016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
11582
11583 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
11584 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
11585 enum flag values.
11586
fd356fa2
AA
115872016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11588
11589 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
11590 when GDB can not set the vector return value. Add more comments
11591 for clarification.
11592
9df22175
AT
115932016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
11594
11595 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
11596 command.
11597
41d1845e
SM
115982016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11599
11600 * Makefile.in (DO_RUNTEST): Add --status and update usages.
11601
01ac6840
SM
116022016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11603
11604 * Makefile.in (check-single): Pass --status to runtest.
11605 (check/%.exp): Likewise.
11606
116072016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11608
11609 * Makefile.in (check-parallel): Propagate return code from make
11610 do-check-parallel.
11611
bd0a71fa
MK
116122016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
11613
11614 * gdb.trace/ftrace.exp: Fix expected message on continue.
11615 * gdb.trace/pending.exp: Fix expected message on continue.
11616 * gdb.trace/trace-break.exp: Fix expected message on continue.
11617
8bcbad33
SM
116182016-01-18 Simon Marchi <simon.marchi@ericsson.com>
11619
11620 * lib/gdb.exp (gdb_test): Remove unused global references.
11621
f303dbd6
PA
116222016-01-18 Pedro Alves <palves@redhat.com>
11623
11624 * gdb.base/async-shell.exp: Adjust expected output.
11625 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
11626 * gdb.base/siginfo-thread.exp: Adjust expected output.
11627 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
11628 * gdb.java/jnpe.exp: Adjust expected output.
11629 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
11630 * gdb.threads/continue-pending-status.exp: Adjust expected output.
11631 * gdb.threads/leader-exit.exp: Adjust expected output.
11632 * gdb.threads/manythreads.exp: Adjust expected output.
11633 * gdb.threads/pthreads.exp: Adjust expected output.
11634 * gdb.threads/schedlock.exp: Adjust expected output.
11635 * gdb.threads/siginfo-threads.exp: Adjust expected output.
11636 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
11637 expected output.
11638 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
11639 output.
11640 * gdb.threads/sigthread.exp: Adjust expected output.
11641 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
11642
b2789696
YQ
116432016-01-18 Yao Qi <yao.qi@linaro.org>
11644
11645 * gdb.guile/scm-section-script.c: Replace @progbits with
11646 %progbits.
11647 * gdb.python/py-section-script.c: Likewise.
11648
71ef29a8
PA
116492016-01-15 Pedro Alves <palves@redhat.com>
11650
11651 * gdb.multi/tids.exp: Test star wildcard ranges.
11652
3f5b7598
PA
116532016-01-15 Pedro Alves <palves@redhat.com>
11654
11655 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
11656 command from "thread apply" invocation.
11657 (thr_apply_info_thr_invalid): Default the expected output to the
11658 input tid list.
11659 (top level): Add tests that use convenience variables. Add tests
11660 for "thread apply" with a valid TID list, but missing the command.
11661
663f6d42
PA
116622016-01-13 Pedro Alves <palves@redhat.com>
11663
11664 * gdb.base/default.exp: Expect $_gthread as well.
11665 * gdb.multi/tids.exp: Test $_gthread.
11666 * gdb.threads/thread-specific.exp: Test $_gthread.
11667
c84f6bbf
PA
116682016-01-13 Pedro Alves <palves@redhat.com>
11669
11670 * gdb.multi/tids.exp: Test "info threads -gid".
11671
22a02324
PA
116722016-01-13 Pedro Alves <palves@redhat.com>
11673
11674 * gdb.multi/tids.exp: Test InferiorThread.global_num and
11675 Breakpoint.thread.
11676 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
11677
5d5658a1
PA
116782016-01-07 Pedro Alves <palves@redhat.com>
11679
11680 * gdb.base/break.exp: Adjust to output changes.
11681 * gdb.base/hbreak2.exp: Likewise.
11682 * gdb.base/sepdebug.exp: Likewise.
11683 * gdb.base/watch_thread_num.exp: Likewise.
11684 * gdb.linespec/keywords.exp: Likewise.
11685 * gdb.multi/info-threads.exp: Likewise.
11686 * gdb.threads/thread-find.exp: Likewise.
11687 * gdb.multi/tids.c: New file.
11688 * gdb.multi/tids.exp: New file.
11689
84654457
PA
116902016-01-13 Pedro Alves <palves@redhat.com>
11691
11692 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
11693
e3940304
PA
116942016-01-13 Pedro Alves <palves@redhat.com>
11695
11696 * gdb.base/default.exp: Expect $_inferior as well.
11697 * gdb.multi/base.exp: Test $_inferior.
11698
a911d87a
PA
116992016-01-13 Pedro Alves <palves@redhat.com>
11700
11701 PR breakpoints/19388
11702 * gdb.base/catch-signal-siginfo-cond.c: New file.
11703 * gdb.base/catch-signal-siginfo-cond.exp: New file.
11704
82075af2
JS
117052016-01-12 Josh Stone <jistone@redhat.com>
11706 Philippe Waroquiers <philippe.waroquiers@skynet.be>
11707
11708 * gdb.base/catch-syscall.c (do_execve): New variable.
11709 (main): Conditionally trigger an execve.
11710 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
11711 (test_catch_syscall_execve): New, check entry/return across execve.
11712 (do_syscall_tests): Call test_catch_syscall_execve.
11713
e46eeedd
PA
117142016-01-12 Pedro Alves <palves@redhat.com>
11715
11716 * gdb.base/random-signal.exp (do_test): New procedure, with body
11717 of testcase moved in.
11718
01d8c27e
JK
117192016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11720 Pedro Alves <palves@redhat.com>
11721
11722 * gdb.base/funcargs.exp (finish from indirectly called function):
11723 Reintroduce the case for 'First'.
11724
9a706302
JK
117252016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11726 Pedro Alves <palves@redhat.com>
11727
11728 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
11729 (tcatch_vfork_then_child_follow_exec)
11730 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
11731 identification.
11732
c0ecb95f
JK
117332016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11734
11735 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
11736 and repeats to unlimited.
11737 * gdb.python/py-value.exp: Likewise.
11738 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
11739 and repeats to unlimited.
11740
6cfc1fcb
JK
117412016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11742
11743 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
11744 and reordering the functions.
11745 * gdb.multi/hangout.c: Likewise.
11746 * gdb.multi/hello.c: Likewise.
11747
582a1b00
SM
117482016-01-08 Simon Marchi <simon.marchi@ericsson.com>
11749
11750 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
11751 absolute.
11752 (SingleStatisticTestResult.report): Use dict.keys instead of
11753 dict.iterkeys.
11754
79bc59cb
PA
117552016-01-06 Pedro Alves <palves@redhat.com>
11756
11757 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
11758
43368e1d
MM
117592016-01-04 Markus Metzger <markus.t.metzger@intel.com>
11760
11761 * gdb.btrace/dlopen.exp: New.
11762 * gdb.btrace/dlopen.c: New.
11763 * gdb.btrace/dlopen-dso.c: New.
11764
79fad5b8
SL
117652015-12-25 Sandra Loosemore <sandra@codesourcery.com>
11766
11767 * lib/gdb.exp (gdb_test): Update comments to clarify that the
11768 PATTERN argument is optional.
11769
ab8314b3
JB
117702015-12-24 Joel Brobecker <brobecker@adacore.com>
11771
11772 * lib/ada.exp (target_compile_ada_from_dir): New function.
11773 (gdb_compile_ada): Reimplement avoiding the use of project files.
11774 * gdb.ada/gnat_ada.gpr: Delete.
11775 * gdb.ada/cond_lang.exp: Adjust test to make path before
11776 filename optional.
11777 * gdb.ada/small_reg_param.exp: Likewise.
11778
fe33faff
SM
117792015-12-22 Simon Marchi <simon.marchi@ericsson.com>
11780
11781 * gdb.base/foll-vork.exp: Remove HP-UX special case.
11782
6d265cb4
TP
117832015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
11784
11785 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
11786 case.
11787
10125099
SM
117882015-12-21 Simon Marchi <simon.marchi@ericsson.com>
11789
11790 * gdb.base/break.exp: Remove dead code.
11791 * gdb.base/sepdebug.exp: Likewise.
11792
3ca22649
SM
117932015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
11794
11795 * gdb.asm/asm-source.exp: Remove HP-UX references.
11796 * gdb.base/annota1.exp: Likewise.
11797 * gdb.base/annota3.exp: Likewise.
11798 * gdb.base/attach.exp: Likewise.
11799 * gdb.base/bigcore.exp: Likewise.
11800 * gdb.base/break.exp: Likewise.
11801 * gdb.base/call-ar-st.exp: Likewise.
11802 * gdb.base/callfuncs.exp: Likewise.
11803 * gdb.base/catch-fork-static.exp: Likewise.
11804 * gdb.base/display.exp: Likewise.
11805 * gdb.base/foll-exec-mode.exp: Likewise.
11806 * gdb.base/foll-exec.exp: Likewise.
11807 * gdb.base/foll-fork.exp: Likewise.
11808 * gdb.base/foll-vfork.exp: Likewise.
11809 * gdb.base/funcargs.exp: Likewise.
11810 * gdb.base/hbreak2.exp: Likewise.
11811 * gdb.base/inferior-died.exp: Likewise.
11812 * gdb.base/interrupt.exp: Likewise.
11813 * gdb.base/multi-forks.exp: Likewise.
11814 * gdb.base/nodebug.exp: Likewise.
11815 * gdb.base/sepdebug.exp: Likewise.
11816 * gdb.base/solib1.c: Likewise.
11817 * gdb.base/step-test.exp: Likewise.
11818 * gdb.mi/non-stop.c: Likewise.
11819 * gdb.mi/pthreads.c: Likewise.
11820 * gdb.multi/bkpt-multi-exec.ex: Likewise.
11821 * gdb.threads/pthreads.c: Likewise.
11822 * gdb.threads/staticthreads.exp: Likewise.
11823 * lib/future.exp: Likewise.
11824 * lib/gdb.exp: Likewise.
11825 * gdb.base/so-indr-cl.c: Remove.
11826 * gdb.base/so-indr-cl.exp: Likewise.
11827 * gdb.base/solib.c: Likewise.
11828 * gdb.base/solib.exp: Likewise.
11829 * gdb.base/solib2.c: Likewise.
11830
b6304613
SM
118312015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
11832
11833 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
11834 * gdb.base/call-ar-st.exp: Likewise.
11835 * gdb.base/callfuncs.exp: Likewise.
11836 * gdb.base/condbreak.exp: Likewise.
11837 * gdb.base/constvars.exp: Likewise.
11838 * gdb.base/hbreak2.exp: Likewise.
11839 * gdb.base/langs.exp: Likewise.
11840 * gdb.base/list.exp: Likewise.
11841 * gdb.base/long_long.exp: Likewise.
11842 * gdb.base/ptype.exp: Likewise.
11843 * gdb.base/scope.exp: Likewise.
11844 * gdb.base/signals.exp: Likewise.
11845 * gdb.base/so-impl-ld.exp: Likewise.
11846 * gdb.base/varargs.exp: Likewise.
11847 * gdb.base/volatile.exp: Likewise.
11848 * gdb.base/whatis.exp: Likewise.
11849 * gdb.cp/cplusfuncs.exp: Likewise.
11850 * gdb.cp/inherit.exp: Likewise.
11851 * gdb.cp/local.exp: Likewise.
11852 * gdb.cp/member-ptr.exp: Likewise.
11853 * gdb.cp/method.exp: Likewise.
11854 * gdb.cp/overload.exp: Likewise.
11855 * gdb.cp/templates.exp: Likewise.
11856 * gdb.stabs/weird.exp: Likewise.
11857 * lib/compiler.c: Likewise.
11858 * lib/compiler.cc: Likewise.
11859 * lib/cp-support.exp: Likewise.
11860 * lib/gdb.exp: Likewise.
11861
bf401b07
SM
118622015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
11863
11864 * configure.ac: Remove HP-UX case.
11865 * configure: Regenerate.
11866
aff9c0f8
SM
118672015-12-18 Simon Marchi <simon.marchi@ericsson.com>
11868
11869 * lib/gdb.exp (gdb_compile): Add function doc.
11870
a6904d5a
PA
118712015-12-17 Pedro Alves <palves@redhat.com>
11872
11873 PR threads/19354
11874 * gdb.multi/info-threads.exp: New file.
11875
a22279dd
YQ
118762015-12-15 Yao Qi <yao.qi@linaro.org>
11877
11878 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
11879 is aarch64*-*-*.
11880
0588c796
SL
118812015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11882
11883 * gdb.base/history-duplicates.exp: Skip if no readline support.
11884
5d978e17
SL
118852015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11886
11887 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
11888
7e763b86
SL
118892015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11890
11891 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
11892
87a3a92c
SL
118932015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11894
11895 * gdb.base/completion.exp: Skip tests that interrupt GDB with
11896 ctrl-C if nointerrupts target property is set.
11897 * gdb.base/double-prompt-target-event-error.exp: Likewise.
11898 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
11899 * gdb.base/paginate-bg-execution.exp: Likewise.
11900 * gdb.base/paginate-execution-startup.exp: Likewise.
11901 * gdb.base/random-signal.exp: Likewise.
11902 * gdb.base/range-stepping.exp: Likewise.
11903 * gdb.cp/annota2.exp: Likewise.
11904 * gdb.cp/annota3.exp: Likewise.
11905 * gdb.gdb/selftest.exp: Likewise.
11906 * gdb.threads/continue-pending-status.exp: Likewise.
11907 * gdb.threads/leader-exit.exp: Likewise.
11908 * gdb.threads/manythreads.exp: Likewise.
11909 * gdb.threads/pthreads.exp: Likewise.
11910 * gdb.threads/schedlock.exp: Likewise.
11911 * gdb.threads/sigthread.exp: Likewise.
11912
a8f077dc
DB
119132015-12-11 Don Breazeal <donb@codesourcery.com>
11914
11915 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
11916 remote.
11917 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
11918 * gdb.base/foll-exec.exp (main): Enable for target remote.
11919 * gdb.base/foll-fork.exp (main): Likewise.
11920 * gdb.base/foll-vfork.exp (main): Likewise.
11921 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
11922 (proc continue_to_exit_bp_loc): Use clean_restart.
11923 * gdb.base/pie-execl.exp (main): Disable for target remote.
11924 * gdb.base/watch-vfork.exp (main): Enable for target remote.
11925 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
11926 * gdb.threads/execl.exp (main): Likewise.
11927 * gdb.threads/fork-child-threads.exp (main): Likewise.
11928 * gdb.threads/fork-plus-threads.exp (main): Disable for target
11929 remote.
11930 * gdb.threads/fork-thread-pending.exp (main): Enable for target
11931 remote.
11932 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
11933 pid.tid style ptids, instead of just tid.
11934 * gdb.threads/thread-execl.exp (main): Enable for target remote.
11935 * gdb.threads/watchpoint-fork.exp (main): Likewise.
11936 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
11937 ptids, instead of just tid.
11938
3b2464a8
AB
119392015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11940
11941 * gdb.base/list.exp (test_list_forward): Add end of file error
11942 test.
11943 (test_repeat_list_command): Add end of file error test.
11944 (test_list_backwards): Add beginning of file error test.
11945
a0def019
AB
119462015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11947
11948 * gdb.base/list.exp (test_list_invalid_args): New function,
11949 defined, and called.
11950
5c000dff
AB
119512015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11952
11953 * gdb.base/list.exp (test_list): Make test names unique.
11954
f1637ebe
YQ
119552015-12-11 Yao Qi <yao.qi@linaro.org>
11956
11957 * gdb.base/coremaker2.c: Remove.
11958
36d6fc0a
PA
119592015-12-10 Pedro Alves <palves@redhat.com>
11960
11961 * gdb.multi/base.exp: Remove stale "spaces" references.
11962
762f7747
PA
119632015-12-10 Pedro Alves <palves@redhat.com>
11964
11965 * gdb.multi/base.exp: Don't use nowarnings.
11966 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
11967 * gdb.multi/hangout.c: Include stdio.h.
11968 * gdb.multi/hello.c: Include stdlib.h.
11969 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
11970 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
11971 * gdb.multi/multi-arch.exp: Don't use nowarnings.
11972
28d2bfb9
AB
119732015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
11974
11975 * gdb.dwarf2/dw2-ranges-base.c: New file.
11976 * gdb.dwarf2/dw2-ranges-base.exp: New file.
11977 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
11978 support additional line table, and debug ranges generation.
11979 (Dwarf::ranges): New function, generate .debug_ranges.
11980 (Dwarf::lines): Support generating simple line table programs.
11981 (Dwarf::assemble): Initialise new namespace variables.
11982
5fc2beac
KB
119832015-12-09 Kevin Buettner <kevinb@redhat.com>
11984
11985 * gdb.base/async.exp (proc test_background): Add case for
11986 asynchronous execution not supported.
11987
1c35a88f
LM
119882015-12-09 Luis Machado <lgustavo@codesourcery.com>
11989
11990 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
11991 format and change test names to make them unique.
11992
b593e3d9
RK
119932015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
11994 Pedro Alves <pedro@redhat.com>
11995
11996 PR gdb/18702
11997 Add checking of floatformats setup on x86_64 hosts.
11998 * gdb.arch/i386-float.S (main): Load bigval and smallval.
11999 (smallval, bigval): New labels/constants.
12000 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
12001 float" after loading bigval and smallval.
12002
d72413e6
PMR
120032015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
12004
12005 * gdb.ada/fun_overload_menu.exp: New testcase.
12006 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
12007
ece66d65
JS
120082015-12-04 Josh Stone <jistone@redhat.com>
12009
12010 * gdb.base/catch-fork-static.exp: New.
12011
41d0efca
YQ
120122015-12-03 Yao Qi <yao.qi@linaro.org>
12013
12014 * gdb.base/sizeof.c: Don't include stdio.h and
12015 ../lib/unbuffer_output.c.
12016 (main): New variable 'size' and 'value'. Remove printf and
12017 gdb_unbuffer_output. Assign return value to size and value.
12018 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
12019 at the beginning.
12020 (check_sizeof): Check the result by printing variable 'size'.
12021 (check_valueof): Check the result by printing variable 'value'.
12022
99fd02d9
YQ
120232015-12-01 Yao Qi <yao.qi@linaro.org>
12024
12025 * gdb.base/disp-step-syscall.exp: Define syscall instruction
12026 for aarch64*-*-linux* target.
12027
f2faf941
PA
120282015-11-30 Pedro Alves <palves@redhat.com>
12029
12030 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
12031
04bf20c5
PA
120322015-11-30 Pedro Alves <palves@redhat.com>
12033
12034 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
12035 Handle non-stop mode vCont replies.
12036
09df4675
PA
120372015-11-30 Pedro Alves <palves@redhat.com>
12038
12039 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
12040 prepare_for_testing. Start gdb with "set non-stop on" appended to
12041 GDBFLAGS. Lax expected stop output.
12042
58b584af
YQ
120432015-11-27 Yao Qi <yao.qi@linaro.org>
12044
12045 * gdb.arch/arm-neon.exp: New.
12046 * gdb.arch/arm-neon.c: New.
12047
dfcb77a8
YQ
120482015-11-27 Yao Qi <yao.qi@linaro.org>
12049
12050 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
12051
88e8ec1b
YQ
120522015-11-27 Yao Qi <yao.qi@linaro.org>
12053
12054 * gdb.cp/annota2.exp: Allow multiple occurrences of the
12055 frames-invalid annotation.
12056
bfde72c2
YQ
120572015-11-27 Yao Qi <yao.qi@linaro.org>
12058
12059 * gdb.cp/annota2.exp: Use ${frames_invalid}.
12060
f6512a69
SM
120612015-11-26 Simon Marchi <simon.marchi@ericsson.com>
12062
12063 * gdb.threads/names.exp: New file.
12064 * gdb.threads/names.c: New file.
12065 * README: Mention gdb,no_thread_names.
12066
46a3515b
MM
120672015-11-26 Markus Metzger <markus.t.metzger@intel.com>
12068
12069 PR 19297
12070 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
12071 support" error.
12072
62147a22
PA
120732015-11-24 Pedro Alves <palves@redhat.com>
12074
12075 PR 17539
12076 * gdb.base/display.exp: Expect displays to be sorted in ascending
12077 order. Use multi_line.
12078 * gdb.base/solib-display.exp: Likewise.
12079
2f341b6e
PA
120802015-11-24 Pedro Alves <palves@redhat.com>
12081
12082 PR 17539
25d49b86
PA
12083 * gdb.base/display.exp: Expect displays to be sorted in ascending
12084 order. Use multi_line.
12085 * gdb.base/solib-display.exp: Likewise.
2f341b6e 12086
7e0aa6aa
PA
120872015-11-24 Pedro Alves <palves@redhat.com>
12088
12089 PR 17539
12090 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
12091 threads in ascending order.
12092 * gdb.base/foll-fork.exp: Likewise.
12093 * gdb.base/foll-vfork.exp: Likewise.
12094 * gdb.base/multi-forks.exp: Likewise.
12095 * gdb.mi/mi-nonstop.exp: Likewise.
12096 * gdb.mi/mi-nsintrall.exp: Likewise.
12097 * gdb.multi/base.exp: Likewise.
12098 * gdb.multi/multi-arch.exp: Likewise.
12099 * gdb.python/py-inferior.exp: Likewise.
12100 * gdb.threads/break-while-running.exp: Likewise.
12101 * gdb.threads/execl.exp: Likewise.
12102 * gdb.threads/gcore-thread.exp: Likewise.
12103 * gdb.threads/info-threads-cur-sal.exp: Likewise.
12104 * gdb.threads/kill.exp: Likewise.
12105 * gdb.threads/linux-dp.exp: Likewise.
12106 * gdb.threads/multiple-step-overs.exp: Likewise.
12107 * gdb.threads/next-bp-other-thread.exp: Likewise.
12108 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
12109 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
12110 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
12111 * gdb.threads/thread-find.exp: Likewise.
12112 * gdb.threads/tls.exp: Likewise.
12113 * lib/mi-support.exp (mi_reverse_list): Delete.
12114 (mi_check_thread_states): No longer reverse list.
12115
2cc57ad8
PA
121162015-11-24 Pedro Alves <palves@redhat.com>
12117
12118 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
12119 use lowercase.
12120
c93e8391
SM
121212015-11-23 Simon Marchi <simon.marchi@ericsson.com>
12122
12123 * gdb.trace/actions.c: Include trace-common.h.
12124 (main): Add a location for a fast tracepoint.
12125 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
12126 the normal tracepoints.
12127 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
12128
045ccf91
SM
121292015-11-23 Simon Marchi <simon.marchi@ericsson.com>
12130
12131 * save-trace.exp: Factor out code to these...
12132 (gdb_save_tracepoints): New.
12133 (gdb_load_tracepoints): New.
12134 (do_save_load_test): New.
12135
5506f9f6
KB
121362015-11-23 Kevin Buettner <kevinb@redhat.com>
12137
12138 * gdb.base/asmlabel.exp: New test.
12139 * gdb.base/asmlabel.c: New test case.
12140
16c3b12f
JB
121412015-11-23 Joel Brobecker <brobecker@adacore.com>
12142
12143 * gdb.base/wrong_frame_bt_full-main.c: New file.
12144 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
12145 * gdb.base/wrong_frame_bt_full.exp: New file.
12146
155bfbd3
JB
121472015-11-23 Joel Brobecker <brobecker@adacore.com>
12148
12149 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
12150
bb097445
JM
121512015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
12152
206853a0 12153 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
12154 pstate register when comparing registers values in
12155 sparc64-*-linux-gnu targets to avoid spurious differences.
12156
9c88ed8f
JM
121572015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
12158
206853a0 12159 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 12160
96161e25
SL
121612015-11-19 Sandra Loosemore <sandra@codesourcery.com>
12162
12163 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
12164 as type argument to gdb_compile.
12165 * gdb.base/nested-subp2.exp: Likewise.
12166 * gdb.base/nested-subp3.exp: Likewise.
12167
340c2830
DV
121682015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
12169
12170 * lib/dwarf.exp (_note): Fix left shift of negative value.
12171 * gdb.trace/trace-condition.exp: Likewise.
12172
c1862d0f
YQ
121732015-11-13 Yao Qi <yao.qi@linaro.org>
12174
12175 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
12176 comments about d10v.
12177 (test_scalar_returns): Likewise.
12178 * gdb.base/d10v.ld: Remove.
12179 * gdb.base/overlays.exp: Remove the target triplet checking for
12180 d10v-*-*.
12181 * gdb.base/structs.exp (test_struct_returns): Remove the
12182 comments about d10v.
12183 (test_struct_calls): Likewise.
12184
77ae9c19
YQ
121852015-11-13 Yao Qi <yao.qi@linaro.org>
12186
12187 * gdb.base/gnu_vector.exp: Check the return value by "p res".
12188 * gdb.base/gnu_vector.c: Don't include stdio.h.
12189 (main): Don't print res and call add_some_intvecs.
12190
430e004e
MK
121912015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
12192
12193 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
12194 macro.
12195 (func5): Removed.
12196 (func4): Use FAST_TRACEPOINT_LABEL.
12197 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
12198 macro.
12199 (func): Removed.
12200 (thread_function): Use FAST_TRACEPOINT_LABEL.
12201 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
12202 (func): Remove.
12203 (marker): Use FAST_TRACEPOINT_LABEL.
12204 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
12205 (pendfunc1): Remove.
12206 (pendfunc): Use FAST_TRACEPOINT_LABEL.
12207 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
12208 (foo): Remove.
12209 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
12210 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
12211 macro.
12212 (func): Remove.
12213 (marker): Use FAST_TRACEPOINT_LABEL.
12214 * gdb.trace/trace-common.h: New header.
12215 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
12216 macro.
12217 (func): Remove.
12218 (marker): Use FAST_TRACEPOINT_LABEL.
12219 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
12220 (func): Remove.
12221 (thread_function): Use FAST_TRACEPOINT_LABEL.
12222
6e7675a7
MK
122232015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
12224
12225 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
12226 in front.
12227 * gdb.trace/change-loc.exp: Use global pcreg definition.
12228 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
12229 * gdb.trace/entry-values.exp: Use global spreg definition, add $
12230 in front.
12231 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
12232 * gdb.trace/pending.exp: Likewise.
12233 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
12234 * gdb.trace/trace-break.exp: Likewise.
12235 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
12236 in front.
12237 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
12238 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
12239 in front.
12240 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
12241
dddc0e16
JB
122422015-11-09 Joel Brobecker <brobecker@adacore.com>
12243
12244 * gdb.ada/fin_fun_out: New testcase.
12245
c6f0b406
KB
122462015-11-07 Kevin Buettner <kevinb@redhat.com>
12247
12248 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
12249 value associated with DW_AT_byte_size.
12250 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
12251 constants for DW_AT_byte_size, DW_AT_lower_bound, and
12252 DW_AT_upper_bound.
12253
f01dcfd9
KB
122542015-11-07 Kevin Buettner <kevinb@redhat.com>
12255
12256 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
12257 (gdb_target_symbol_prefix_flags): Define in terms of _asm
12258 version.
12259 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
12260 gdb.dwarf2/dw2-canonicalize-type.exp,
12261 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
12262 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
12263 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
12264 provided by gdb_target_symbol_prefix_flags_asm.
12265 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
12266 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
12267 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
12268 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
12269 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
12270 macros where needed). Use this macro for symbols which require
12271 the prefix provided by SYMBOL_PREFIX.
12272
2223449a
KB
122732015-11-05 Kevin Buettner <kevinb@redhat.com>
12274
12275 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
12276 New procs.
12277 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
12278 representing expressions, of more than one list element.
12279 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
12280 to prepend linker symbol prefix to f.
12281 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
12282 table_1 and table_2.
12283 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
12284 Likewise, for f and g.
12285 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
12286 for ptr.
12287 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
12288 for main.
12289 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
12290 table_1_ptr and table_2_ptr.
12291
6f2f1a3a
JK
122922015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12293 Joel Brobecker <brobecker@adacore.com>
12294
12295 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
12296
566c56c9
MK
122972015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
12298
12299 * gdb.reverse/s390-mvcle.c: New test.
12300 * gdb.reverse/s390-mvcle.exp: New file.
12301 * lib/gdb.exp: Enable reverse tests on s390*-linux.
12302
d5f0636b
MK
123032015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
12304
12305 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
12306
7ad8b86c
MK
123072015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
12308
12309 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
12310 reaching marker2.
12311 * gdb.reverse/getresuid-reverse.exp: Likewise.
12312 * gdb.reverse/pipe-reverse.exp: Likewise.
12313 * gdb.reverse/readv-reverse.exp: Likewise.
12314 * gdb.reverse/recvmsg-reverse.exp: Likewise.
12315 * gdb.reverse/time-reverse.exp: Likewise.
12316 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
12317
4081c0f1
YQ
123182015-10-30 Yao Qi <yao.qi@linaro.org>
12319
12320 * gdb.threads/wp-replication.c (watch_count_done): Remove.
12321 (empty_cycle): Remove.
12322 (main): Don't call empty_cycle. Don't use watch_count_done.
12323 * gdb.threads/wp-replication.exp: Don't set breakpoint on
12324 empty_cycle. Rewrite the code counting HW watchpoints.
12325
452b4ba5
MK
123262015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
12327
12328 * gdb.reverse/fstatat-reverse.c: New test.
12329 * gdb.reverse/fstatat-reverse.exp: New file.
12330 * gdb.reverse/getresuid-reverse.c: New test.
12331 * gdb.reverse/getresuid-reverse.exp: New file.
12332 * gdb.reverse/pipe-reverse.c: New test.
12333 * gdb.reverse/pipe-reverse.exp: New file.
12334 * gdb.reverse/readv-reverse.c: New test.
12335 * gdb.reverse/readv-reverse.exp: New file.
12336 * gdb.reverse/recvmsg-reverse.c: New test.
12337 * gdb.reverse/recvmsg-reverse.exp: New file.
12338 * gdb.reverse/time-reverse.c: New test.
12339 * gdb.reverse/time-reverse.exp: New file.
12340 * gdb.reverse/waitpid-reverse.c: New test.
12341 * gdb.reverse/waitpid-reverse.exp: New file.
12342
5e2e7507
JK
123432015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
12344
12345 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
12346
0fde2c53
DE
123472015-10-26 Doug Evans <dje@google.com>
12348
12349 PR symtab/17391
12350 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
12351 * gdb.dwarf2/bad-regnum.c: New file.
12352 * gdb.dwarf2/bad-regnum.exp: New file.
12353
1a70ae97
DE
123542015-10-26 Doug Evans <dje@google.com>
12355
12356 PR python/18938
12357 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
12358 file.
12359
27dc26ab
JK
123602015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12361
12362 * gdb.compile/compile.exp (compile code globalvar): Update expectation
12363 for a change by "Mention language in compile error message".
12364
bed91f4d
SM
123652015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
12366
12367 PR python/18073
12368 * gdb.python/py-type.c (C::a_method): New.
12369 (C::a_const_method): New.
12370 (C::a_static_method): New.
12371 (a_function): New.
12372 * gdb.python/py-type.exp (test_fields): Test getting fields
12373 from function and method.
12374
3f2f83dd
KB
123752015-10-21 Keven Boell <keven.boell@intel.com>
12376
12377 * gdb.fortran/vla-alloc-assoc.exp: New file.
12378 * gdb.fortran/vla-datatypes.exp: New file.
12379 * gdb.fortran/vla-datatypes.f90: New file.
12380 * gdb.fortran/vla-history.exp: New file.
12381 * gdb.fortran/vla-ptype-sub.exp: New file.
12382 * gdb.fortran/vla-ptype.exp: New file.
12383 * gdb.fortran/vla-sizeof.exp: New file.
12384 * gdb.fortran/vla-sub.f90: New file.
12385 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
12386 * gdb.fortran/vla-value-sub-finish.exp: New file.
12387 * gdb.fortran/vla-value-sub.exp: New file.
12388 * gdb.fortran/vla-value.exp: New file.
12389 * gdb.fortran/vla-ptr-info.exp: New file.
12390 * gdb.mi/mi-vla-fortran.exp: New file.
12391 * gdb.mi/vla.f90: New file.
12392
27145d50
SL
123932015-10-21 Sandra Loosemore <sandra@codesourcery.com>
12394
12395 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
12396 of hardwired timeout value.
12397
5f3ff4f8
JK
123982015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12399 Pedro Alves <palves@redhat.com>
12400
12401 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
12402 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
12403
bfd09d20
JS
124042015-10-19 Josh Stone <jistone@redhat.com>
12405
12406 * gdb.base/catch-syscall.c: Include <sched.h>.
12407 (unknown_syscall): New variable.
12408 (main): Trigger a vfork and an unknown syscall.
12409 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
12410 (unknown_syscall_number): Likewise.
12411 (check_call_to_syscall): Accept an optional syscall pattern.
12412 (check_return_from_syscall): Likewise.
12413 (check_continue): Likewise.
12414 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
12415 (test_catch_syscall_skipping_return): New test toggling off 'catch
12416 syscall' to step over the syscall return, then toggling back on.
12417 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
12418 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
12419 (do_syscall_tests): Call test_catch_syscall_without_args and
12420 test_catch_syscall_mid_vfork.
12421 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
12422 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
12423
b32b93c6
AS
124242015-10-19 Andrew Stubbs <ams@codesourcery.com>
12425
12426 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
12427 print g_vE): Add new pass patterns.
12428 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
12429 print various symbol names for vptr fields.
12430
9d622bda
AB
124312015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
12432
12433 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
12434 results.
12435
0fd8ac1c
YQ
124362015-10-12 Yao Qi <yao.qi@linaro.org>
12437
12438 * gdb.arch/disp-step-insn-reloc.exp: New test case.
12439
34240514
YQ
124402015-10-12 Yao Qi <yao.qi@linaro.org>
12441
12442 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
12443 is aarch64*-*-linux*.
12444
8240f442
YQ
124452015-10-12 Yao Qi <yao.qi@linaro.org>
12446
12447 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
12448 (can_relocate_bcond_true): ... it.
12449 (can_relocate_bcond_false): New function.
12450 (foo): Likewise.
12451 (can_relocate_bl): Likewise.
12452 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
12453 can_relocate_bl.
12454
2520f728
PMR
124552015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
12456
12457 * gdb.base/nested-addr.c: New file.
12458 * gdb.base/nested-addr.exp: New testcase.
12459
abcef95a
MM
124602015-10-09 Markus Metzger <markus.t.metzger@intel.com>
12461
12462 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
12463 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
12464 its output. Ignore the output of "record goto begin" and instead
12465 check that GDB is replaying.
12466
145e3ddb
PA
124672015-10-09 Pedro Alves <palves@redhat.com>
12468
12469 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
12470 (top level): Use it in the run with no args test.
12471
d5d8c4e1
IB
124722015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
12473
12474 * gdb.dlang/properties.exp: New file.
12475
06e635ef
SL
124762015-10-02 Sandra Loosemore <sandra@codesourcery.com>
12477
12478 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
12479 whether or not address 0x1000 is mapped on the target.
12480
e019fd1d
SM
124812015-09-30 Simon Marchi <simon.marchi@ericsson.com>
12482
12483 * gdb.python/py-type.exp: Do not run tests if binaries fail to
12484 build.
12485
77ba2a67
MM
124862015-09-30 Markus Metzger <markus.t.metzger@intel.com>
12487
12488 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
12489 instruction-history test.
12490
c60eb31f
DE
124912015-09-28 Doug Evans <dje@google.com>
12492
12493 * gdb.base/gcore.c (array_func): Add reference to static_array.
12494
9a3c8263
SM
124952015-09-25 Simon Marchi <simon.marchi@ericsson.com>
12496
12497 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
12498 source line.
12499
9720e656
SL
125002015-09-24 Sandra Loosemore <sandra@codesourcery.com>
12501
12502 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
12503 short or char as base type.
12504
938d3bf2
SL
125052015-09-23 Sandra Loosemore <sandra@codesourcery.com>
12506
12507 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
12508 to allow any size enum.
12509
e6c2c623
PMR
125102015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
12511
12512 * gdb.ada/array_ptr_renaming.exp: New testcase.
12513 * gdb.ada/array_ptr_renaming/foo.adb: New file.
12514 * gdb.ada/array_ptr_renaming/pack.ads: New file.
12515
06da0f77
PL
125162015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12517
12518 * gdb.trace/ftrace-lock.c: New file.
12519 * gdb.trace/ftrace-lock.exp: New file.
12520
4f51c22a
PL
125212015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12522
12523 * gdb.arch/insn-reloc.c: New file.
12524 * gdb.arch/ftrace-insn-reloc.exp: New file.
12525
7041adf4
PL
125262015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12527
12528 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
12529 instruction.
12530 * gdb.trace/pendshr1.c (pendfunc): Likewise.
12531 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
12532 * gdb.trace/range-stepping.c: Likewise.
12533 * gdb.trace/trace-break.c: Likewise.
12534 * gdb.trace/trace-mt.c (thread_function): Likewise.
12535 * gdb.trace/ftrace.c (marker): Likewise.
12536 * gdb.trace/trace-condition.c (marker): Likewise.
12537 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
12538 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
12539 is_aarch64_target.
12540
015d2e7e
DE
125412015-09-18 Doug Evans <xdje42@gmail.com>
12542
12543 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
12544 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
12545
26b188a2
SL
125462015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12547
12548 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
12549 the breakpoint.
12550
79dc332b
SL
125512015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12552
12553 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
12554 the pending breakpoint. Remove timeout override for "Run till
12555 MI pending breakpoint on pendfunc3 on thread 2" test.
12556
f57929f2
SL
125572015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12558
12559 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
12560 filename pattern.
12561
3f469b17
SL
125622015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12563
12564 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
12565 in breakpoint filename pattern.
12566
515b89b3
SL
125672015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12568
7800dbe4
SL
12569 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
12570
125712015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12572
515b89b3
SL
12573 * gdb.linespec/explicit.exp: Check for readline support for
12574 tab-completion tests. Fix obvious typo.
12575
d2939ba2
MM
125762015-09-18 Markus Metzger <markus.t.metzger@intel.com>
12577
12578 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
12579 and replay.
12580
cbb55fa7
MM
125812015-09-18 Markus Metzger <markus.t.metzger@intel.com>
12582
12583 * gdb.btrace/non-stop.c: New.
12584 * gdb.btrace/non-stop.exp: New.
12585
43691ca1
PL
125862015-09-17 Pierre Langlois <pierre.langlois@arm.com>
12587 Yao Qi <yao.qi@linaro.org>
12588
12589 * gdb.trace/trace-condition.c: New file.
12590 * gdb.trace/trace-condition.exp: New file.
12591
d78908cf
WW
125922015-09-16 Wei-cheng Wang <cole945@gmail.com>
12593
12594 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
12595 for testing bytecode compilation.
12596
1ed415e2
PA
125972015-09-16 Pedro Alves <palves@redhat.com>
12598 Sandra Loosemore <sandra@codesourcery.com>
12599
12600 * gdb.threads/non-stop-fair-events.c (timeout): New global.
12601 (SECONDS): Redefine.
12602 (main): Call pthread_kill and alarm early.
12603 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
12604 support.
12605 (test): If the target can't hardware step and doesn't support
12606 displaced stepping, increase the timeout.
12607
d136eff5
PA
126082015-09-16 Pedro Alves <palves@redhat.com>
12609
12610 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
12611 (enable_debug): New procedures.
12612 (test): Use them. Bail out if waiting for threads fails.
12613 (top level): Bail out if a test fails.
12614
991f019c
YQ
126152015-09-16 Yao Qi <yao.qi@linaro.org>
12616
12617 * gdb.asm/asm-source.exp: Set asm-arch for
12618 aarch64*-*-* target.
12619 * gdb.asm/aarch64.inc: New file.
12620
bfca584f
PMR
126212015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
12622
12623 * gdb.ada/array_of_variable_length.exp: New testcase.
12624 * gdb.ada/array_of_variable_length/foo.adb: New file.
12625 * gdb.ada/array_of_variable_length/pck.adb: New file.
12626 * gdb.ada/array_of_variable_length/pck.ads: New file.
12627
b326e587
DE
126282015-09-15 Doug Evans <dje@google.com>
12629
12630 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
12631 of function static local variable.
12632
5382cfab
PW
126332015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
12634
12635 * gdb.threads/tls-so_extern.exp: New test file.
12636 * gdb.threads/tls-so_extern.c: New test file.
12637 * gdb.threads/tls-so_extern_main.c: New test file.
12638
141c5cc4
JK
126392015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12640
12641 * gdb.opt/solib-intra-step-lib.c: New file.
12642 * gdb.opt/solib-intra-step-main.c: New file.
12643 * gdb.opt/solib-intra-step.exp: New file.
12644
d15dcecd
PA
126452015-09-15 Pedro Alves <palves@redhat.com>
12646
12647 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
12648 gdb_continue_to_breakpoint instead of gdb_test_multiple.
12649
4c2f2a79
PA
126502015-09-14 Pedro Alves <palves@redhat.com>
12651
12652 * gdb.base/hook-stop-continue.c: Delete.
12653 * gdb.base/hook-stop-continue.exp: Delete.
12654 * gdb.base/hook-stop-frame.c: Delete.
12655 * gdb.base/hook-stop-frame.exp: Delete.
12656 * gdb.base/hook-stop.c: New file.
12657 * gdb.base/hook-stop.exp: New file.
12658
919e6dbe
PMR
126592015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
12660
12661 * gdb.ada/access_to_packed_array.exp: New testcase.
12662 * gdb.ada/access_to_packed_array/foo.adb: New file.
12663 * gdb.ada/access_to_packed_array/pack.adb: New file.
12664 * gdb.ada/access_to_packed_array/pack.ads: New file.
12665
157280a4
MM
126662015-09-14 Markus Metzger <markus.t.metzger@intel.com>
12667
12668 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
12669 buffer size test.
12670
2fd33e94
DB
126712015-09-11 Don Breazeal <donb@codesourcery.com>
12672
12673 * gdb.base/foll-exec.c: Add copyright header. Fix
12674 formatting issues.
12675 * gdb.base/foll-exec.exp (zap_session): Delete proc.
12676 (do_exec_tests): Use clean_restart in place of zap_session,
12677 and for test initialization. Fix formatting issues. Use
12678 fail in place of perror.
12679 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
12680 an expect statement to match an expression with output from
12681 the program under debug.
12682 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
12683 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
12684 * gdb.threads/non-ldr-exc-2.exp: Likewise.
12685 * gdb.threads/non-ldr-exc-3.exp: Likewise.
12686 * gdb.threads/non-ldr-exc-4.exp: Likewise.
12687
e70b6e8e
DE
126882015-09-09 Doug Evans <dje@google.com>
12689
12690 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
12691
7a551a51
DE
126922015-09-09 Doug Evans <dje@google.com>
12693
12694 * gdb.base/pie-execl.exp: Fix result test of build_executable.
12695
4c666f84
DE
126962015-09-09 Doug Evans <dje@google.com>
12697
12698 * gdb.base/savedregs.exp: Fix typo.
12699
243a9253
PA
127002015-09-09 Pedro Alves <palves@redhat.com>
12701
12702 * gdb.mi/mi-cli.exp: Add CLI finish tests.
12703
c0fa8fbd
SL
127042015-09-08 Sandra Loosemore <sandra@codesourcery.com>
12705
12706 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
12707 command actually switches threads. Give up on remaining
12708 tests if target fails to stop at breakpoint.
12709
cd7c1778
PMR
127102015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
12711
12712 * gdb.ada/funcall_char.exp: New testcase.
12713 * gdb.ada/funcall_char/foo.adb: New file.
12714
dc5c8746
PMR
127152015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
12716
12717 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
12718 expected outputs. Add two testcases for completing ambiguous
12719 functions.
12720 * gdb.ada/complete/aux_pck.adb: New file.
12721 * gdb.ada/complete/aux_pck.ads: New file.
12722 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
12723 Ambiguous_Func functions.
12724 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
12725 * gdb.ada/complete/pck.adb: Likewise.
12726
4e83a1e7
UW
127272015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
12728
12729 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
12730 failures to run the test program under GDB.
12731
8ce74153
LM
127322015-08-26 Luis Machado <lgustavo@codesourcery.com>
12733
12734 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
12735 to C.
12736
e9756d52
PP
127372015-08-26 Patrick Palka <patrick@parcs.ath.cx>
12738
12739 * gdb.base/run-after-attach.exp: New test file.
12740 * gdb.base/run-after-attach.c: New test file.
12741
8d37573b
DB
127422015-08-26 Don Breazeal <donb@codesourcery.com>
12743
12744 * gdb.base/foll-exec-2.c: New test program.
12745 * gdb.base/foll-exec-2.exp: New test.
12746
63e43d3a
PMR
127472015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
12748
12749 * gdb.base/nested-subp1.exp: New file.
12750 * gdb.base/nested-subp1.c: New file.
12751 * gdb.base/nested-subp2.exp: New file.
12752 * gdb.base/nested-subp2.c: New file.
12753 * gdb.base/nested-subp3.exp: New file.
12754 * gdb.base/nested-subp3.c: New file.
12755
3d40fbb5
PA
127562015-08-24 Pedro Alves <palves@redhat.com>
12757
12758 * gdb.server/connect-without-multi-process.c: New file.
12759 * gdb.server/connect-without-multi-process.exp: New file.
12760
4422ac93
LM
127612015-08-24 Luis Machado <lgustavo@codesourcery.com>
12762
12763 * gdb.opt/inline-markers.c: Make z int.
12764
91dddb86
LM
127652015-08-24 Luis Machado <lgustavo@codesourcery.com>
12766
12767 * gdb.opt/inline-markers.c: Make z volatile.
12768
a48847ee
LM
127692015-08-24 Luis Machado <lgustavo@codesourcery.com>
12770
12771 * gdb.opt/inline-bt.c: New volatile global z.
12772 * gdb.opt/inline-cmds.c: Likewise.
12773 * gdb.opt/inline-locals.c: Likewise.
12774 * gdb.opt/inline-markers.c: New extern global z.
12775 (marker): Use z.
12776 (inline_fn): Likewise.
12777
0ebbc52b
PA
127782015-08-24 Pedro Alves <palves@redhat.com>
12779
12780 * config/m32r-stub.exp: Remove file.
12781 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
12782 * gdb.base/call-rt-st.exp: Likewise.
12783 * gdb.base/call-strs.exp: Likewise.
12784 * gdb.base/default.exp: Remove references to h8300-*-hms and
12785 *-*-udi*.
12786 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
12787
77c365df
AA
127882015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12789
12790 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
12791 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
12792 and "return" use KFAIL when GDB can not read/write the vector
12793 return value.
12794
4313b8c0
GB
127952015-08-21 Gary Benson <gbenson@redhat.com>
12796
12797 * gdb.trace/pending.exp: Cope with remote transfer warnings.
12798
0e433b32
PA
127992015-08-20 Pedro Alves <palves@redhat.com>
12800
12801 * gdb.server/solib-list.exp: No longer expect an interior stop in
12802 non-stop mode.
12803
221e1a37
PA
128042015-08-20 Pedro Alves <palves@redhat.com>
12805
12806 * gdb.server/connect-stopped-target.c: New file.
12807 * gdb.server/connect-stopped-target.exp: New file.
12808
40e3ad0e
PA
128092015-08-20 Pedro Alves <palves@redhat.com>
12810
12811 * gdb.dwarf2/comp-unit-lang.exp: New file.
12812 * gdb.dwarf2/comp-unit-lang.c: New file.
12813
af39b327
PMR
128142015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
12815
12816 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
12817 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
12818
7d45c7c3 128192015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 12820
7d45c7c3
KB
12821 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
12822 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
12823
4d6cceb4
DE
128242015-08-18 Doug Evans <dje@google.com>
12825 Adrian Sendroiu <adrian.sendroiu@freescale.com>
12826
12827 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
12828 skip_python_tests. New arg prompt_regexp.
12829 (skip_python_tests): New function.
12830 * lib/mi-support.exp (mi_skip_python_tests): New function.
12831 * gdb.python/py-mi-objfile-gdb.py: New file.
12832 * gdb.python/py-mi-objfile.c: New file.
12833 * gdb.python/py-mi-objfile.exp: New file.
12834
ad89c2aa
KS
128352015-08-17 Keith Seitz <keiths@redhat.com>
12836
12837 * gdb.linespec/explicit.exp: Move strace test from here ...
12838 * gdb.trace/strace.exp: ... to here.
12839
e3ae3c43
PP
128402015-08-15 Patrick Palka <patrick@parcs.ath.cx>
12841
12842 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
12843 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
12844
604b2636
DE
128452015-08-14 Doug Evans <xdje42@gmail.com>
12846
12847 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
12848 inferior before selecting a new file.
12849
6ff0ba5f
DE
128502015-08-14 Doug Evans <xdje42@gmail.com>
12851
12852 * gdb.mi/mi-disassemble.exp: Update.
12853 * gdb.base/disasm-optim.S: New file.
12854 * gdb.base/disasm-optim.c: New file.
12855 * gdb.base/disasm-optim.h: New file.
12856 * gdb.base/disasm-optim.exp: New file.
12857
9ca98f92
KS
128582015-08-14 Keith Seitz <keiths@redhat.com>
12859
12860 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
12861 "evaluated-by".
12862
52bbc560
JB
128632015-08-13 Joel Brobecker <brobecker@adacore.com>
12864
12865 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
12866
5d8c3ed3
PMR
128672015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
12868
12869 * gdb.ada/fun_renaming.exp: New testcase.
12870 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
12871 * gdb.ada/fun_renaming/pack.adb: New file.
12872 * gdb.ada/fun_renaming/pack.ads: New file.
12873
ea8812bc
KS
128742015-08-12 Keith Seitz <keiths@redhat.com>
12875
12876 * gdb.base/dso2dso.exp: Pass basename of source file in call to
12877 gdb_get_line_number.
12878
4dafcdeb
JB
128792015-08-12 Joel Brobecker <brobecker@adacore.com>
12880
12881 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
12882 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
12883 gdb.base/dso2dso.exp: New files.
12884
5ba32597
SDJ
128852015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
12886 Pedro Alves <palves@redhat.com>
12887 Keith Seitz <keiths@redhat.com>
12888
12889 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
12890 GDBFLAGS.
12891
b6dafabf
PP
128922015-08-12 Patrick Palka <patrick@parcs.ath.cx>
12893
12894 * gdb.base/gdbhistsize-history.exp
12895 (test_histsize_history_setting): Use save_vars.
12896 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12897 Use save_vars.
12898 (test_no_truncation_of_unlimited_history_file): Use save_vars.
12899 * gdb.base/readline.exp: Use save_vars.
12900
abe8e607
PP
129012015-08-12 Patrick Palka <patrick@parcs.ath.cx>
12902
12903 * lib/gdb.exp (save_vars): New proc.
12904
629500fa
KS
129052015-08-11 Keith Seitz <keiths@redhat.com>
12906
12907 * gdb.base/help.exp: Update help_breakpoint_text.
12908
eb8c4e2e
KS
129092015-08-11 Keith Seitz <keiths@redhat.com>
12910
12911 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
12912 (at toplevel): Call test_explicit_breakpoints.
12913 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
12914 breakpoints.
12915 * lib/mi-support.exp (mi_make_breakpoint): Add support for
12916 breakpoint conditions, "-cond".
12917
87f0e720
KS
129182015-08-11 Keith Seitz <keiths@redhat.com>
12919
12920 * gdb.linespec/3explicit.c: New file.
12921 * gdb.linespec/cpexplicit.cc: New file.
12922 * gdb.linespec/cpexplicit.exp: New file.
12923 * gdb.linespec/explicit.c: New file.
12924 * gdb.linespec/explicit.exp: New file.
12925 * gdb.linespec/explicit2.c: New file.
12926 * gdb.linespec/ls-errs.exp: Add explicit location tests.
12927 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
12928 before using in the matching pattern.
12929 Clarify that `prefix' is a regular expression.
12930
f00aae0f
KS
129312015-08-11 Keith Seitz <keiths@redhat.com>
12932
12933 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
12934 test.
12935 Add tests for missing ",FMT" and ",".
12936
e27852be
DE
129372015-08-10 Doug Evans <dje@google.com>
12938 Keith Seitz <keiths@redhat.com>
12939
12940 PR gdb/17960
12941 * gdb.base/completion.exp: Add location completer tests.
12942
7f03bd92
PA
129432015-08-07 Pedro Alves <palves@redhat.com>
12944
12945 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
12946 tests here.
12947 (top level): Run do_test with and without displaced stepping.
12948
3fc8eb30
PA
129492015-08-07 Pedro Alves <palves@redhat.com>
12950
12951 * gdb.base/valgrind-disp-step.c: New file.
12952 * gdb.base/valgrind-disp-step.exp: New file.
12953
d4569d7b
PA
129542015-08-07 Pedro Alves <palves@redhat.com>
12955
12956 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
12957 Delete function.
12958 (main): Add alarm. Run an infinite loop instead of calling
12959 wait_threads.
12960 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
12961 comment.
12962 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
12963 Delete function.
12964 (main): Add alarm. Run an infinite loop instead of calling
12965 wait_threads.
12966 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
12967 comment.
12968
e1316e60
PA
129692015-08-07 Pedro Alves <palves@redhat.com>
12970
12971 * gdb.base/checkpoint-ns.exp: New file.
12972 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
12973 standard_testfile.
12974
da8c46d2
MM
129752015-08-07 Markus Metzger <markus.t.metzger@intel.com>
12976
12977 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
12978 * gdb.btrace/instruction_history.exp: Update.
12979 * gdb.btrace/tsx.exp: New.
12980 * gdb.btrace/tsx.c: New.
12981
de1c2c52
PA
129822015-08-06 Pedro Alves <palves@redhat.com>
12983
12984 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
12985 increase timeout.
12986 * gdb.reverse/until-precsave.exp: Bump timeouts.
12987
782e0bf4
PA
129882015-08-06 Pedro Alves <palves@redhat.com>
12989
12990 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
12991
83e97ed0
PA
129922015-08-06 Pedro Alves <palves@redhat.com>
12993
12994 PR gdb/18749
12995 * gdb.threads/process-dies-while-handling-bp.c: New file.
12996 * gdb.threads/process-dies-while-handling-bp.exp: New file.
12997
863d01bd
PA
129982015-08-06 Pedro Alves <palves@redhat.com>
12999
13000 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
13001 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
13002
0a39bb32
PA
130032015-08-05 Pedro Alves <palves@redhat.com>
13004
13005 * gdb.threads/next-while-other-thread-longjmps.c: New file.
13006 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
13007
ee2d2b10
SL
130082015-08-03 Sandra Loosemore <sandra@codesourcery.com>
13009
13010 * gdb.base/bp-permanent.exp: Report test as unsupported if
13011 the target cannot stop at the permanent breakpoint.
13012
4e1bdb00
DE
130132015-08-03 Doug Evans <dje@google.com>
13014
13015 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
13016 10000.
13017
3d338901
DE
130182015-08-03 Doug Evans <dje@google.com>
13019
13020 * Makefile.in (workers/%.worker, build-perf): New rule.
13021 (GDB_PERFTEST_MODE): New variable.
13022 (check-perf): Use it.
13023 (clean): Clean up gdb.perf parallel build subdirs.
13024 * lib/build-piece.exp: New file.
13025 * lib/gdb.exp (make_gdb_parallel_path): New function
13026 (standard_output_file, standard_temp_file): Call it.
13027 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13028 of $GDB_PARALLEL.
13029 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
13030
af061d3e
DE
130312015-08-03 Doug Evans <dje@google.com>
13032
8e1afc81 13033 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
13034 (LOG_FILE_NAME): New global.
13035 (TextReporter.__init__): Initialize self.txt_sum.
13036 (TextReporter.report): Add support for multiple data-points.
13037 Move report to perftest.sum, put raw data in perftest.log.
13038 (TextReporter.start): Open sum and log files.
13039 (TextReporter.end): Close sum and log files.
8e1afc81
DE
13040 * gdb.perf/lib/perftest/testresult.py
13041 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 13042
2c8c5d37
PA
130432015-07-31 Pedro Alves <palves@redhat.com>
13044
13045 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
13046 Use spawn_id_get_pid. Wait for spawn id after eof. Use
13047 kill_wait_spawned_process instead of explicit "kill -9".
13048 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
13049 returning a spawn id instead of a pid. Use spawn_id_get_pid and
13050 kill_wait_spawned_process.
13051 * gdb.base/attach-twice.exp: Likewise.
13052 * gdb.base/attach.exp: Likewise.
13053 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
13054 gdb_test_multiple.
13055 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
13056 returning a spawn id instead of a pid. Use spawn_id_get_pid and
13057 kill_wait_spawned_process.
13058 * gdb.base/valgrind-infcall.exp: Likewise.
13059 * gdb.multi/multi-attach.exp: Likewise.
13060 * gdb.python/py-prompt.exp: Likewise.
13061 * gdb.python/py-sync-interp.exp: Likewise.
13062 * gdb.server/ext-attach.exp: Likewise.
13063 * gdb.threads/attach-into-signal.exp (corefunc): Use
13064 spawn_wait_for_attach, spawn_id_get_pid and
13065 kill_wait_spawned_process.
13066 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
13067 spawn_wait_for_attach returning a spawn id instead of a pid. Use
13068 spawn_id_get_pid and kill_wait_spawned_process.
13069 * gdb.threads/attach-stopped.exp (corefunc): Use
13070 spawn_wait_for_attach, spawn_id_get_pid and
13071 kill_wait_spawned_process.
13072 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
13073 Use spawn_id_get_pid. Wait for spawn id after eof. Use
13074 kill_wait_spawned_process instead of explicit "kill -9".
13075 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
13076 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
13077 (spawn_wait_for_attach): Use spawn instead of exec to spawn
13078 processes. Don't map cygwin/windows pids here. Now returns a
13079 spawn id list.
13080
032a0fca
SL
130812015-07-30 Sandra Loosemore <sandra@codesourcery.com>
13082
13083 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
13084 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
13085 correct patch.
13086
61a934ca
SL
130872015-07-30 Sandra Loosemore <sandra@codesourcery.com>
13088
13089 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
13090
4bc4d428
SL
130912015-07-30 Sandra Loosemore <sandra@codesourcery.com>
13092
13093 Reapply:
13094 2014-05-21 Mark Wielaard <mjw@redhat.com>
13095
13096 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
13097
998d452a
PA
130982015-07-30 Pedro Alves <palves@redhat.com>
13099
13100 * linux-low.c (handle_extended_wait): Set the child's last
13101 reported status to TARGET_WAITKIND_STOPPED.
13102
69dde7dc
PA
131032015-07-30 Pedro Alves <palves@redhat.com>
13104
13105 PR threads/18600
13106 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
13107 only shows inferior 1.
13108
4dd63d48
PA
131092015-07-30 Simon Marchi <simon.marchi@ericsson.com>
13110 Pedro Alves <palves@redhat.com>
13111
13112 PR threads/18600
13113 * gdb.threads/fork-plus-threads.c: New file.
13114 * gdb.threads/fork-plus-threads.exp: New file.
13115
d618e4c5
PP
131162015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13117
13118 * gdb.base/batch-preserve-term-settings.exp
13119 (test_terminal_settings_preserved_after_cli_exit): Use
13120 send_quit_command.
13121
1eef6428
PA
131222015-07-29 Pedro Alves <palves@redhat.com>
13123 Don Breazeal <donb@codesourcery.com>
13124
13125 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
13126 output from both inferior_spawn_id and gdb_spawn_id.
13127
7da5b897
SDJ
131282015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
13129
13130 * gdb.threads/attach-into-signal.exp (corefunc): Use
13131 with_test_prefix on nested loops, uniquefying the test messages.
13132
dac804df
SDJ
131332015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
13134
13135 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
13136 commit.
13137
06265e53
PP
131382015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13139
13140 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
13141 New proc.
13142 (test_terminal_settings_preserved_after_sigterm): New test.
13143
18206ca3
PP
131442015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13145
13146 * gdb.base/batch-preserve-term-settings.exp
13147 (test_terminal_settings_preserved_after_cli_exit): New test.
13148
90074d11
PP
131492015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13150
13151 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
13152 manipulation of saved_gdbflags.
13153 (test_terminal_settings_preserved): Remove global declaration of
13154 the unused variable pagination_prompt. Remove manipulation of
13155 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
13156 GDBFLAGS.
13157
eb1a7902
PA
131582015-07-29 Pedro Alves <palves@redhat.com>
13159
13160 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
13161
8b75dd3b
PA
131622015-07-29 Pedro Alves <palves@redhat.com>
13163
13164 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
13165 at the top.
13166
dedad4e3
PA
131672015-07-29 Pedro Alves <palves@redhat.com>
13168
13169 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
13170 (main): Call gdb_unbuffer_output.
13171 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
13172 (main): Call gdb_unbuffer_output.
13173 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
13174 (main): Call gdb_unbuffer_output.
13175 * gdb.base/call-strs.exp: Adjust to step over the
13176 gdb_unbuffer_output call.
13177 * gdb.base/catch-gdb-caused-signals.c: Include
13178 "../lib/unbuffer_output.c".
13179 (main): Call gdb_unbuffer_output.
13180 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
13181 (main): Call gdb_unbuffer_output.
13182 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
13183 (main): Call gdb_unbuffer_output.
13184 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
13185 (main): Call gdb_unbuffer_output.
13186 * gdb.base/shlib-call.exp: Adjust to step over the
13187 gdb_unbuffer_output call.
13188 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
13189 (main): Call gdb_unbuffer_output.
13190 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
13191 (main): Call gdb_unbuffer_output.
13192 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
13193 (main): Rename to ...
13194 (test): ... this.
13195 (main): Reimplement.
13196 * gdb.base/varargs.exp: Run to test instead of to main.
13197 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
13198 (main): Call gdb_unbuffer_output.
13199
58789a91
PA
132002015-07-29 Pedro Alves <palves@redhat.com>
13201
13202 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
13203 factore out from mi_continue_dprintf. For call-style dprintfs,
13204 expect dprintf output out of $inferior_spawn_id.
13205 (mi_continue_dprintf): Use mi_expect_dprintf.
13206 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
13207 (main): Call gdb_unbuffer_output.
13208
e8376742
PA
132092015-07-29 Pedro Alves <palves@redhat.com>
13210
13211 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
13212 (default_mi_gdb_start): Set inferior_spawn_id instead of
13213 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
13214 gdb_spawn_id.
13215 (mi_gdb_test): Always expect inferior output from both
13216 $inferior_spawn_id and $gdb_spawn_id.
13217
08280010
PA
132182015-07-29 Pedro Alves <palves@redhat.com>
13219
13220 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
13221 send_inferior and $inferior_spawn_id.
13222
4d30e432
PA
132232015-07-29 Pedro Alves <palves@redhat.com>
13224
13225 * gdb.gdb/complaints.exp (test_initial_complaints)
13226 (test_serial_complaints, test_short_complaints): Use
13227 gdb_test_stdio.
13228 (test_empty_complaint): Handle $inferior_spawn_id !=
13229 $gdb_spawn_id.
13230
0d30a335
PA
132312015-07-29 Pedro Alves <palves@redhat.com>
13232
13233 * gdb.base/varargs.exp: Use gdb_test_stdio.
13234
39413b29
PA
132352015-07-29 Pedro Alves <palves@redhat.com>
13236
13237 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
13238
7cb000a9
PA
132392015-07-29 Pedro Alves <palves@redhat.com>
13240
13241 * gdb.base/ending-run.exp: Use gdb_test_stdio.
13242
d7b8ac82
PA
132432015-07-29 Pedro Alves <palves@redhat.com>
13244
13245 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
13246 parameter into two new parameters, "inf_result" and "gdb_result".
13247 Expect inferior output and gdb output from $inferior_spawn_id and
13248 $gdb_spawn_id, respectively. Adjust all callers.
13249
789c3a0c
PA
132502015-07-29 Pedro Alves <palves@redhat.com>
13251
13252 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
13253 of gdb_test_sequence.
13254
77e760c3
PA
132552015-07-29 Pedro Alves <palves@redhat.com>
13256
13257 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
13258 (saw_spurious_output): Expect inferior output from
13259 $inferior_spawn_id. Use gdb_test_stdio.
13260
8396d2cd
PA
132612015-07-29 Pedro Alves <palves@redhat.com>
13262
13263 * gdb.base/dprintf.exp: Use standard_testfile. Change
13264 prepare_for_testing call.
13265 (srcfile): Don't set.
13266 (restart): New procedure.
13267 (test_dprintf): New procecure, use to continue over dprintfs.
13268 (test_call, test_agent): New procedures, tests moved here.
13269 Restart gdb and recreate dprintfs. Adjust expected output.
13270
2051d61f
PA
132712015-07-29 Pedro Alves <palves@redhat.com>
13272
13273 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
13274
452397af
PA
132752015-07-29 Pedro Alves <palves@redhat.com>
13276
13277 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
13278
8aed9555
PA
132792015-07-29 Pedro Alves <palves@redhat.com>
13280
13281 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
13282 gdb_test_stdio.
13283
188a61b4
PA
132842015-07-29 Pedro Alves <palves@redhat.com>
13285
13286 * lib/gdb.exp (gdb_test_stdio): New procedure.
13287
12264a45
PA
132882015-07-29 Pedro Alves <palves@redhat.com>
13289
13290 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
13291
23ffc893
PA
132922015-07-29 Pedro Alves <palves@redhat.com>
13293
13294 * gdb.base/call-signal-resume.exp: Remove check for
13295 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
13296 * gdb.base/unwindonsignal.exp: Likewise.
13297 * gdb.base/call-signals.c (gen_signal): Remove printf call.
13298 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
13299
65566918
PA
133002015-07-29 Pedro Alves <palves@redhat.com>
13301
13302 * gdb.base/siginfo-addr.c (pass): New function.
13303 (handler): Call it iff si_addr is correct.
13304 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
13305 Set a breakpoint at "pass" and continue to it.
13306
d60a9221
SDJ
133072015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
13308
13309 * gdb.python/py-objfile.exp: Make some tests have unique names.
13310 * gdb.python/py-pp-registration.exp: Likewise.
13311
bde40b8f
PA
133122015-07-28 Pedro Alves <palves@redhat.com>
13313
13314 * gdb.server/server-exec-info.exp: Issue a "disconnect".
13315
13e1dec8
SM
133162015-07-27 Simon Marchi <simon.marchi@ericsson.com>
13317
13318 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
13319
da33c9a7
SM
133202015-07-27 Simon Marchi <simon.marchi@ericsson.com>
13321
13322 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
13323
077836f7
PP
133242015-07-27 Patrick Palka <patrick@parcs.ath.cx>
13325
13326 * gdb.base/gdb-sigterm-2.exp: New test.
13327
b8cc7b2e
DE
133282015-07-25 Doug Evans <xdje42@gmail.com>
13329
13330 Revert:
13331 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
13332 (workers/%.worker, build-perf): New rule.
13333 (GDB_PERFTEST_MODE): New variable.
13334 (check-perf): Use it.
13335 (clean): Clean up gdb.perf parallel build subdirs.
13336 * lib/build-piece.exp: New file.
13337 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
13338 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
13339 name.
13340 (standard_temp_file): Ditto.
13341 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13342 of $GDB_PARALLEL.
13343
c8bd4544
DE
133442015-07-24 Doug Evans <dje@google.com>
13345
13346 * gdb.perf/lib/perftest/utils.py: New file.
13347 * gdb.perf/gm-hello.cc: New file.
13348 * gdb.perf/gm-pervasive-typedef.cc: New file.
13349 * gdb.perf/gm-pervasive-typedef.h: New file.
13350 * gdb.perf/gm-std.cc: New file.
13351 * gdb.perf/gm-std.h: New file.
13352 * gdb.perf/gm-use-cerr.cc: New file.
13353 * gdb.perf/gm-utils.h: New file.
13354 * gdb.perf/gmonster-null-lookup.py: New file.
13355 * gdb.perf/gmonster-pervasive-typedef.py: New file.
13356 * gdb.perf/gmonster-print-cerr.py: New file.
13357 * gdb.perf/gmonster-ptype-string.py: New file.
13358 * gdb.perf/gmonster-runto-main.py: New file.
13359 * gdb.perf/gmonster-select-file.py: New file.
13360 * gdb.perf/gmonster1-null-lookup.exp: New file.
13361 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
13362 * gdb.perf/gmonster1-print-cerr.exp: New file.
13363 * gdb.perf/gmonster1-ptype-string.exp: New file.
13364 * gdb.perf/gmonster1-runto-main.exp: New file.
13365 * gdb.perf/gmonster1-select-file.exp: New file.
13366 * gdb.perf/gmonster1.cc: New file.
13367 * gdb.perf/gmonster1.exp: New file.
13368 * gdb.perf/gmonster2-null-lookup.exp: New file.
13369 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
13370 * gdb.perf/gmonster2-print-cerr.exp: New file.
13371 * gdb.perf/gmonster2-ptype-string.exp: New file.
13372 * gdb.perf/gmonster2-runto-main.exp: New file.
13373 * gdb.perf/gmonster2-select-file.exp: New file.
13374 * gdb.perf/gmonster2.cc: New file.
13375 * gdb.perf/gmonster2.exp: New file.
13376
6eab34f3
DE
133772015-07-24 Doug Evans <dje@google.com>
13378
13379 * gdb.perf/README: New file.
13380 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
13381 * lib/gen-perf-test.exp: New file.
13382
63738bfd
DE
133832015-07-24 Doug Evans <dje@google.com>
13384
13385 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
13386 (PerfTest::startup): New function.
13387 (PerfTest::run): Return result of calling body.
13388 (PerfTest::assemble): Rewrite.
13389 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
13390 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
13391 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
13392 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
13393 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
13394
7b606f95
DE
133952015-07-24 Doug Evans <dje@google.com>
13396
13397 * lib/gdb.exp (clean_restart): Make executable optional.
13398
a97b16b8
DE
133992015-07-24 Doug Evans <dje@google.com>
13400
13401 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
13402 compiler_info references.
13403 * gdb.cp/temargs.exp: Ditto.
13404 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
13405 (get_compiler_info): Early exit if already computed. Set compiler_info
13406 to "unknown" if there was a problem.
13407 (test_compiler_info): Add function comment. Call get_compiler_info.
13408
35baa57f
DE
134092015-07-24 Doug Evans <dje@google.com>
13410
13411 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
13412 (workers/%.worker, build-perf): New rule.
13413 (GDB_PERFTEST_MODE): New variable.
13414 (check-perf): Use it.
13415 (clean): Clean up gdb.perf parallel build subdirs.
13416 * lib/build-piece.exp: New file.
13417 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
13418 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
13419 name.
13420 (standard_temp_file): Ditto.
13421 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13422 of $GDB_PARALLEL.
13423
6ebea266
DE
134242015-07-24 Doug Evans <dje@google.com>
13425
13426 * lib/future.exp (gdb_default_target_compile): New option
13427 "early_flags".
13428 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
13429 --as-needed.
13430
1e76a7e9
SDJ
134312015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
13432
13433 * gdb.base/catch-syscall.exp: Call gdb_exit before
13434 gdb_skip_xml_test.
13435
5068630a
PA
134362015-07-24 Pedro Alves <palves@redhat.com>
13437
13438 * gdb.python/py-events.exp: Accept output between the stop event
13439 and the prompt.
13440 * gdb.python/py-evsignal.exp: Likewise.
13441 * gdb.python/py-evthreads.exp: Likewise.
13442
77598427
PA
134432015-07-24 Pedro Alves <palves@redhat.com>
13444
13445 PR gdb/18717
13446 * gdb.threads/non-ldr-exit.c: New file.
13447 * gdb.threads/non-ldr-exit.exp: New file.
13448
11e6c98f
YQ
134492015-07-24 Yao Qi <yao.qi@linaro.org>
13450
13451 * gdb.server/ext-wrapper.exp: Test --wrapper option when
13452 restarting process.
13453
51aee833
YQ
134542015-07-24 Yao Qi <yao.qi@linaro.org>
13455
13456 * gdb.server/ext-restart.exp: New file.
13457
8cfe207c
YQ
134582015-07-24 Yao Qi <yao.qi@linaro.org>
13459
13460 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
13461 argument options.
13462 * gdb.server/ext-wrapper.exp: New file.
13463
cc12ce38
DE
134642015-07-23 Doug Evans <dje@google.com>
13465
13466 * gdb.dwarf2/dw2-dummy-cu.S: New file.
13467 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
13468
d0d84780
PMR
134692015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
13470
13471 * gdb.ada/var_arr_typedef.exp: New testcase.
13472 * gdb.ada/var_arr_typedef/pack.adb: New file.
13473 * gdb.ada/var_arr_typedef/pack.ads: New file.
13474 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
13475
8b558f79
JB
134762015-07-20 Joel Brobecker <brobecker@adacore.com>
13477
13478 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
13479
775a3298
JK
134802015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13481
13482 * gdb.arch/i386-biarch-core.exp: Replace istarget
13483 by "complete set gnutarget". Remove expectation for the "core-file"
13484 command.
13485
db1ff28b
JK
134862015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13487
13488 Revert the previous commit:
13489 Tests for validate symbol file using build-id.
13490
0a94970d
JK
134912015-07-15 Aleksandar Ristovski <aristovski@qnx.com
13492
13493 Tests for validate symbol file using build-id.
13494 * gdb.base/solib-mismatch-lib.c: New file.
13495 * gdb.base/solib-mismatch-libmod.c: New file.
13496 * gdb.base/solib-mismatch.c: New file.
13497 * gdb.base/solib-mismatch.exp: New file.
13498
03346981
SL
134992015-07-15 Sandra Loosemore <sandra@codesourcery.com>
13500
13501 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
13502 nios2-*-linux*.
13503 * gdb.base/sigbpt.exp (stepi_out): Likewise.
13504 * gdb.base/siginfo.exp: Likewise.
13505 * gdb.base/sigstep.exp (advance, advancei): Likewise.
13506
42422cc7
PL
135072015-07-15 Pierre Langlois <pierre.langlois@arm.com>
13508
13509 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
13510 Move it to ...
13511 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
13512 ... here.
13513 * gdb.trace/range-stepping.exp: Check that the target supports
13514 range stepping.
13515
cfa68bae
JK
135162015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13517
13518 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
13519
8ffdba26
PA
135202015-07-14 Pedro Alves <palves@redhat.com>
13521
13522 * gdb.base/killed-outside.exp: New file.
13523 * gdb.base/killed-outside.c: New file.
13524
218a5a11
JK
135252015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
13526
13527 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
13528 (n at main): New.
13529 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
13530
e03ed3c6
AA
135312015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
13532
13533 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
13534 infcall tests instead of setting up for KFAIL.
13535
485668e5
MM
135362015-07-10 Markus Metzger <markus.t.metzger@intel.com>
13537
13538 * gdb.btrace/record_goto-step.exp: New.
13539
08464196
JK
135402015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13541
13542 PR compile/18484
13543 * gdb.compile/compile.c (struct struct_type): Add volatile to
13544 selffield's type.
13545 * gdb.compile/compile.exp
13546 (compile code struct_object.selffield = &struct_object): Skip further
13547 struct_object tests if this one xfails.
13548
bcf5c1d9
RC
135492015-07-08 Robert O'Callahan <robert@ocallahan.org>
13550
13551 PR exp/18617
13552 * gdb.trace/ax.exp: Add test.
13553
4931af25
YQ
135542015-07-07 Yao Qi <yao.qi@linaro.org>
13555
13556 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
13557 instead of istarget "aarch64*-*-*".
13558 * gdb.arch/aarch64-fp.exp: Likewise.
13559 * gdb.base/float.exp: Likewise.
13560 * gdb.reverse/aarch64.exp: Likewise.
13561 * lib/gdb.exp (is_aarch64_target): New proc.
13562
9fcf688e
YQ
135632015-07-07 Yao Qi <yao.qi@linaro.org>
13564
13565 * lib/gdb.exp (is_aarch32_target): New proc.
13566 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
13567 instead of "istarget "arm*-*-*"".
13568 * gdb.arch/arm-disp-step.exp: Likewise.
13569 * gdb.arch/thumb-bx-pc.exp: Likewise.
13570 * gdb.arch/thumb-prologue.exp: Likewise.
13571 * gdb.arch/thumb-singlestep.exp: Likewise.
13572 * gdb.base/disp-step-syscall.exp: Likewise.
13573 * gdb.base/float.exp: Likewise.
13574
fbd8d50d
YQ
135752015-07-07 Yao Qi <yao.qi@linaro.org>
13576
13577 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
13578 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
13579
71be1fdc
YQ
135802015-07-07 Yao Qi <yao.qi@linaro.org>
13581
13582 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
13583 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
13584 if it exists.
13585 * gdb.multi/multi-arch.exp: Likewise.
13586
3e221d36
SM
135872015-07-07 Simon Marchi <simon.marchi@ericsson.com>
13588
13589 * gdb.python/py-lazy-string.exp: Add missing parentheses to
13590 print.
13591
d441430b
YQ
135922015-07-07 Yao Qi <yao.qi@linaro.org>
13593
13594 * gdb.arch/thumb-singlestep.exp: Do one more single step.
13595
06f810bd
MG
135962015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
13597
13598 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
13599 '[' and ']' characters.
13600
5e61e7c0
IB
136012015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
13602
13603 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
13604
28bf096c
PA
136052015-06-29 Pedro Alves <palves@redhat.com>
13606
13607 PR threads/18127
13608 * gdb.threads/hand-call-new-thread.c: New file.
13609 * gdb.threads/hand-call-new-thread.c: New file.
13610
ee93cd5e
KS
136112015-06-26 Keith Seitz <keiths@redhat.com>
13612 Doug Evans <dje@google.com>
13613
13614 PR 16253
13615 * gdb.cp/var-tag-2.cc: New file.
13616 * gdb.cp/var-tag-3.cc: New file.
13617 * gdb.cp/var-tag-4.cc: New file.
13618 * gdb.cp/var-tag.cc: New file.
13619 * gdb.cp/var-tag.exp: New file.
13620
fc637f04
PP
136212015-06-26 Patrick Palka <patrick@parcs.ath.cx>
13622
13623 * gdb.base/history-duplicates.exp: New test.
13624
2e52ae68
PP
136252015-06-26 Patrick Palka <patrick@parcs.ath.cx>
13626
13627 * gdb.base/completion.exp: Test the completion of the "focus"
13628 command.
13629
6e22494e
JK
136302015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13631
13632 * gdb.arch/amd64-prologue-skip.S: New file.
13633 * gdb.arch/amd64-prologue-skip.exp: New file.
13634
bf7b9cd9
SM
136352015-06-25 Simon Marchi <simon.marchi@ericsson.com>
13636
13637 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
13638 is_address_zero_readable check.
13639
201e8dfd
PB
136402015-06-24 Peter Bergner <bergner@vnet.ibm.com>
13641
13642 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
13643 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
13644
5cd867b4
YQ
136452015-06-24 Yao Qi <yao.qi@linaro.org>
13646
13647 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
13648 linux targets.
13649
4d7be007
YQ
136502015-06-24 Yao Qi <yao.qi@linaro.org>
13651
13652 * lib/gdb.exp (supports_get_siginfo_type): New proc.
13653 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
13654 * gdb.base/siginfo-thread.exp: Likewise.
13655
07fcd301
YQ
136562015-06-22 Yao Qi <yao.qi@linaro.org>
13657
13658 * boards/remote-gdbserver-on-localhost.exp: Add comments.
13659
52042a00
YQ
136602015-06-22 Yao Qi <yao.qi@linaro.org>
13661
13662 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
13663 aarch64*-*-*.
13664 (skip_hw_watchpoint_tests): Likewise.
13665
74bd41ce
PP
136662015-06-18 Patrick Palka <patrick@parcs.ath.cx>
13667
13668 * gdb.base/gdbinit-history.exp: Test the interaction between
13669 setting GDBHISTSIZE and setting the history size via .gdbinit.
13670
bc460514
PP
136712015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13672
13673 PR gdb/16999
13674 * gdb.base/gdbhistsize-history.exp: New test.
13675
b58c513b
PP
136762015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13677
13678 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
13679 with GDBHISTSIZE.
13680 * gdb.base/readline.exp: Likewise.
13681
92046791
YQ
136822015-06-17 Yao Qi <yao.qi@linaro.org>
13683
13684 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
13685 line.
13686
2093d2d3
PP
136872015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13688
13689 * gdb.base/gdbinit-history.exp: Add test case to check that
13690 an unlimited history file does not get truncated on exit.
13691
e6c693af
AA
136922015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13693
13694 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
13695 (VECTOR): New macro. Use it...
13696 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
13697 ...for these typedefs.
13698 (int8, char1, int1, double1): New typedefs.
13699 (struct just_int2, struct two_int2): New structures.
13700 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
13701 (add_structvecs, add_singlevecs): New functions.
13702 (main): Call add_some_intvecs twice.
13703 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
13704 the compile and exit upon failure. Try compiling for the "native"
13705 architecture. Test inferior function calls with vector arguments
13706 and vector return value handling with "finish" and "return".
13707
c74f7d1c
JT
137082015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
13709
13710 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
13711 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
13712 PE file.
13713 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
13714
98aa42ee
AT
137152015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
13716
13717 PR breakpoints/16465
13718 * gdb.mi/mi-dprintf-pending.c: New file.
13719 * gdb.mi/mi-dprintf-pending.exp: New test.
13720 * gdb.mi/mi-dprintf-pendshr.c: New file.
13721
7d73c23c 137222015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 13723 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
13724
13725 * gdb.arch/i386-mpx-map.c: New file.
13726 * gdb.arch/i386-mpx-map.exp: New File.
13727
137282015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13729
13730 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
13731 * gdb.arch/i386-mpx.exp: Indentation fixed.
13732
137332015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13734
13735 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
13736 function and improved indentation.
13737 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
13738 gdb_test_multiple. Added additional tests to skip the test.
13739
137402015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13741
13742 * gdb.arch/i386-avx512.c: Change path in include file.
13743 * gdb.arch/i386-avx512.exp: Change include dir path
13744 compilation flag.
13745 * gdb.arch/i386-mpx.c: Change path in include file.
13746 * gdb.arch/i386-mpx.exp: Change include dir path compilation
13747 flag.
13748
d5eba19a
JK
137492015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
13750
13751 * gdb.compile/compile-print.exp (compile print *vararray@3)
13752 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
13753
7f361056
JK
137542015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13755
13756 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
13757 (do not keep jit in memory): ... this.
13758 (expect 5): Change it to ...
13759 (expect no 5): ... this.
13760
3b462ec2
SM
137612015-06-02 Simon Marchi <simon.marchi@ericsson.com>
13762
13763 PR gdb/15564
13764 * gdb.mi/mi-detach.exp: New file.
13765
e0619de6
JK
137662015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13767
13768 PR symtab/18392
13769 * gdb.arch/amd64-tailcall-self.S: New file.
13770 * gdb.arch/amd64-tailcall-self.c: New file.
13771 * gdb.arch/amd64-tailcall-self.exp: New file.
13772
e970cb34
DB
137732015-05-28 Don Breazeal <donb@codesourcery.com>
13774
13775 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
13776 tests for remote targets by checking is_target_gdbserver.
13777
b2e2f908
DE
137782015-05-27 Doug Evans <dje@google.com>
13779
13780 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
13781 * gdb.dwarf2/opaque-type-lookup.c: New file.
13782 * gdb.dwarf2/opaque-type-lookup.exp: New file.
13783
82c7be31
DE
137842015-05-26 Doug Evans <dje@google.com>
13785
13786 * gdb.cp/iostream.cc: New file.
13787 * gdb.cp/iostream.exp: New file.
13788
b4f54984
DE
137892015-05-26 Doug Evans <dje@google.com>
13790
13791 * gdb.dwarf2/dw2-op-call.exp: Update.
13792 * gdb.dwarf2/dw4-sig-types.exp: Update.
13793 * gdb.dwarf2/implptr.exp: Update.
13794 * gdb.mi/mi-cmd-param-changed.exp: Update.
13795
4ea6efe9
DE
137962015-05-26 Doug Evans <dje@google.com>
13797
13798 * gdb.python/py-lazy-string.c: New file.
13799 * gdb.python/py-lazy-string.exp: New file.
13800 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
13801 (main): Update. Add estring3.
13802 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
13803 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
13804
f6bb7db3
YQ
138052015-05-26 Omair Javaid <omair.javaid@linaro.org>
13806 Yao Qi <yao.qi@linaro.org>
13807
13808 * gdb.reverse/aarch64.c: New.
13809 * gdb.reverse/aarch64.exp: New.
13810
a81bfbd0
OJ
138112015-05-26 Omair Javaid <omair.javaid@linaro.org>
13812
25d49b86
PA
13813 * lib/gdb.exp (supports_process_record): Return true for
13814 aarch64*-linux*.
a81bfbd0
OJ
13815 (supports_reverse): Likewise.
13816
158bf1b4
PP
138172015-05-22 Patrick Palka <patrick@parcs.ath.cx>
13818
13819 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13820 Use with_test_prefix.
13821
a0145030
AB
138222015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
13823
13824 * gdb.base/completion.exp: Add test for completion of layout
13825 names.
13826
ebe3b578
AB
138272015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
13828
13829 * lib/gdb.exp (skip_tui_tests): New proc.
13830 * gdb.base/tui-layout.exp: Check skip_tui_tests.
13831
84204ed7
PA
138322015-05-19 Pedro Alves <palves@redhat.com>
13833
13834 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13835 Save the whole env array instead of just HOME. Unset HISTSIZE in
13836 the environment while testing. Restore whole environment
13837 afterwards.
13838
37442ce1
DE
138392015-05-16 Doug Evans <xdje42@gmail.com>
13840
13841 * gdb.guile/scm-ports.c: New file.
13842 * gdb.guile/scm-ports.exp: Add memory port tests.
13843
36de76f9
JK
138442015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13845
13846 * gdb.compile/compile-print.c: New file.
13847 * gdb.compile/compile-print.exp: New file.
13848
3a9558c4
JK
138492015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13850
13851 * gdb.compile/compile-ops.exp: Cast param to void.
13852 * gdb.compile/compile.exp: Complete type for _gdb_expr.
13853 (compile code struct_object.selffield = &struct_object): Add xfail.
13854
aa715135
JG
138552015-05-15 Joel Brobecker <brobecker@adacore.com>
13856
13857 * gdb.ada/arr_enum_with_gap: New testcase.
13858
931e5bc3
JG
138592015-05-15 Joel Brobecker <brobecker@adacore.com>
13860
13861 * gdb.ada/byte_packed_arr: New testcase.
13862
9cd4d857
JB
138632015-05-15 Joel Brobecker <brobecker@adacore.com>
13864
13865 * gdb.ada/pckd_neg: New testcase.
13866
ebfd00d2
PP
138672015-05-13 Patrick Palka <patrick@parcs.ath.cx>
13868
13869 PR gdb/17820
13870 * gdb.base/gdbinit-history.exp: New test.
13871 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
13872 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
13873
4c082a81
SC
138742015-05-09 Siva Chandra Reddy <sivachandra@google.com>
13875
13876 * gdb.python/py-xmethods.cc: Enhance test case.
13877 * gdb.python/py-xmethods.exp: New tests.
13878 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
13879 function.
13880 (B_indexoper): Likewise.
13881 (global_dm_list) : Add new xmethod worker functions.
13882
f7797074
SDJ
138832015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
13884
13885 * gdb.base/coredump-filter.exp: Correctly unset
13886 "coredump_var_addr" array.
13887
a4674e4e
PA
138882015-05-08 Pedro Alves <palves@redhat.com>
13889
13890 * gdb.server/non-existing-program.exp: Unset spawn_id.
13891
df2eb078
SC
138922015-05-08 Siva Chandra Reddy <sivachandra@google.com>
13893
13894 PR python/18291
13895 * gdb.python/py-xmethods.exp: Add tests.
13896
422349a3
YQ
138972015-05-08 Yao Qi <yao.qi@linaro.org>
13898
13899 PR gdb/18208
13900 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
13901 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
13902 function set_coredump_filter, and remove remote_exec call.
13903 Remove argument ipid. Callers update.
13904 (top level): Don't get inferior's PID.
13905
63fc80ce
AA
139062015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
13907
13908 * gdb.base/watch_thread_num.exp: Skip test on targets without
13909 access watchpoints.
13910
80ad801e
PA
139112015-05-06 Pedro Alves <palves@redhat.com>
13912
13913 PR server/18081
13914 * gdb.server/non-existing-program.exp: New file.
13915
0fa7fe50
JB
139162015-05-05 Joel Brobecker <brobecker@adacore.com>
13917
13918 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
13919
3ea89b92
PMR
139202015-05-05 Joel Brobecker <brobecker@adacore.com>
13921
13922 * gdb.ada/out_of_line_in_inlined: New testcase.
13923
87b8eff0
JB
139242015-05-05 Joel Brobecker <brobecker@adacore.com>
13925
13926 * gdb.ada/var_rec_arr: New testcase.
13927
5fccc635
YQ
139282015-04-30 Yao Qi <yao.qi@linaro.org>
13929
13930 * gdb.base/break-idempotent.exp: If
13931 skip_hw_watchpoint_multi_tests returns true, skip the tests
13932 on "rwatch" and "awatch".
13933
42d38f42
YQ
139342015-04-30 Yao Qi <yao.qi@linaro.org>
13935
13936 * gdb.base/relativedebug.exp: Invoke gdb command
13937 "info sharedlibrary", and if libc.so doesn't have debug info,
13938 skip the test.
13939
2ce1cdbf
DE
139402015-04-29 Doug Evans <dje@google.com>
13941
13942 * gdb.python/py-xmethods.exp: Add ptype tests.
13943 * gdb.python/py-xmethods.py (E_method_char_worker): Add
13944 get_result_type method.
13945
f24a38c5
LM
139462015-04-29 Luis Machado <lgustavo@codesourcery.com>
13947
13948 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
13949 the target does not support hardware watchpoints.
13950
ecbf2b3c
LM
139512015-04-29 Luis Machado <lgustavo@codesourcery.com>
13952
13953 * gdb.base/break-always.exp: Abort testing if writing to memory
13954 causes an error.
13955
34f5f757
DE
139562015-04-28 Doug Evans <dje@google.com>
13957
13958 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
13959 * gdb.python/py-pp-registration.exp: ... here. New file.
13960 * gdb.python/py-pp-registration.c: New file.
13961 * gdb.python/py-pp-registration.py: New file.
13962
69b4374a
DE
139632015-04-28 Doug Evans <dje@google.com>
13964
13965 * gdb.python/py-bad-printers.c: New file.
13966 * gdb.python/py-bad-printers.py: New file.
13967 * gdb.python/py-bad-printers.exp: New file.
13968
59fb7612
SS
139692015-04-28 Sasha Smundak <asmundak@google.com>
13970
13971 * gdb.python/py-type.exp: New test.
13972
2631b16a
AW
139732015-04-28 Andy Wingo <wingo@igalia.com>
13974
13975 * gdb.python/py-parameter.exp:
13976 * gdb.guile/scm-parameter.exp: Escape the path that we are
13977 matching against, as it might contain characters that are special
13978 to regular expressions.
13979
460efde1
JB
139802015-04-27 Joel Brobecker <brobecker@adacore.com>
13981
13982 * gdb.ada/rec_comp: New testcase.
13983
2d369d8e
SDJ
139842015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
13985
13986 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
13987 before using it.
13988
cf75d6c3
AB
139892015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
13990
13991 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
13992 new tests for verilog output.
13993
8dbe7ca5
YQ
139942015-04-24 Yao Qi <yao.qi@linaro.org>
13995
13996 * boards/remote-gdbserver-on-localhost.exp: New file.
13997
4ef9fb2f
PA
139982015-04-23 Pedro Alves <palves@redhat.com>
13999
14000 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
14001 $inferior_spawn_id instead of $inferior_spawn_id directly. On
14002 "end of file", remove $inferior_spawn_id from the indirect list.
14003
0a803169
PA
140042015-04-23 Pedro Alves <palves@redhat.com>
14005
14006 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
14007
749ef8f8
PA
140082015-04-23 Pedro Alves <palves@redhat.com>
14009
14010 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
14011 on $any_spawn_id instead of only on $gdb_spawn_id.
14012
8aae4344
PM
140132015-04-21 Pierre Muller <muller@sourceware.org>
14014
14015 PR pascal/17815
14016 * lib/pascal.exp (gpc_compile): Add new option "class".
14017 (fpc_compile): Likewise.
14018 * gdb.pascal/case-insensitive-symbols.pas: New file.
14019 * gdb.pascal/case-insensitive-symbols.exp: New file.
14020
1586c8fb
GB
140212015-04-20 Gary Benson <gbenson@redhat.com>
14022
14023 * gdb.base/attach.exp: Fix three extended remote failures.
14024
1b6e6f5c
GB
140252015-04-17 Gary Benson <gbenson@redhat.com>
14026
14027 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
14028 the main executable over the remote protocol.
14029
e797481d
PA
140302015-04-16 Pedro Alves <palves@redhat.com>
14031
14032 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
14033 a new gdbserver if gdbserver_reconnect_p is set.
14034
1ca99c42
PA
140352015-04-16 Pedro Alves <palves@redhat.com>
14036
14037 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
14038 is set, don't exit gdbserver.
14039
af9fd6f8
AA
140402015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
14041
14042 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
14043 appropriate .insn, such that an older assembler can be used.
14044 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
14045 the z/Architecture instruction set on 31-bit targets as well.
14046
04ff1e61
AA
140472015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
14048
14049 * gdb.go/handcall.exp: Remove all logic related to the first
14050 breakpoint and rely on go_runto_main instead.
14051 * gdb.go/strings.exp: Likewise.
14052 * gdb.go/unsafe.exp: Likewise.
14053 * gdb.go/hello.exp: Likewise. Also rename the remaining
14054 breakpoint marker to "breakpoint 1".
14055 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
14056 * gdb.go/strings.go: Likewise.
14057 * gdb.go/unsafe.go: Likewise.
14058 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
14059 "set breakpoint 2 here" and rename the remaining breakpoint marker
14060 to "breakpoint 1".
14061
40d2f8d6
SM
140622015-04-15 Simon Marchi <simon.marchi@ericsson.com>
14063
14064 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
14065 if itertools.imap is not present.
14066 * gdb.python/py-objfile.exp: Add parentheses.
14067 * gdb.python/py-type.exp: Same.
14068 * gdb.python/py-unwind-maint.py: Same.
14069
8cbc97c6
YQ
140702015-04-15 Yao Qi <yao.qi@linaro.org>
14071
14072 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
14073 of ":$ptr_size" and set its form explicitly.
14074
45fd756c
YQ
140752015-04-15 Pedro Alves <palves@redhat.com>
14076 Yao Qi <yao.qi@linaro.org>
14077
14078 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
14079 timeout by factor of 4.
14080 (test_regular_watch): Likewise.
14081 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
14082 * gdb.reverse/sigall-reverse.exp: Likewise.
14083 * gdb.reverse/until-precsave.exp: Likewise.
14084 * lib/gdb.exp (with_timeout_factor): New proc.
14085 (gdb_expect): Move some code to ...
14086 (get_largest_timeout): ... here. New procedure.
14087
9e811bc3
LM
140882015-04-14 Luis Machado <lgustavo@codesourcery.com>
14089
14090 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
14091
0ff6fcb2
LM
140922015-04-13 Luis Machado <lgustavo@codesourcery.com>
14093
14094 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
14095 to write to the .text section.
14096
7578d5f7
LM
140972015-04-13 Luis Machado <lgustavo@codesourcery.com>
14098
14099 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
14100 Handle the case of targets that do not provide PID information.
14101
2efe15c4
YQ
141022015-04-13 Yao Qi <yao.qi@linaro.org>
14103
14104 * lib/gdbserver-support.exp (gdb_exit): Catch exception
14105 and use expect instead of gdb_expect.
14106
8cd8f2f8
SDJ
141072015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
14108
14109 * gdb.base/coredump-filter.exp: Rename variable "addr" to
14110 "coredump_var_addr" to avoid naming conflict with other testcases.
14111
9ee41772
PA
141122015-04-10 Pedro Alves <palves@redhat.com>
14113
14114 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
14115 gdb_test_sequence and gdb_assert.
14116
07473109
PA
141172015-04-10 Pedro Alves <palves@redhat.com>
14118
14119 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
14120 test messages that don't include the breakpoint address.
14121
de3db44c
YQ
141222015-04-10 Yao Qi <yao.qi@linaro.org>
14123
14124 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
14125 false for some offset and width combinations which aren't
14126 supported by linux kernel.
14127
c79d856c
PA
141282015-04-10 Pedro Alves <palves@redhat.com>
14129
14130 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
14131 procedure, factored out from ...
14132 (top level): ... here. Add "set displaced-stepping" testing axis.
14133 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
14134 parameter "displaced". Use it.
14135 (top level): Use foreach and add "set displaced-stepping" testing
14136 axis.
14137
ebc90b50
PA
141382015-04-10 Pedro Alves <palves@redhat.com>
14139
14140 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
14141 Remove comment.
14142 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
14143 both the address of the instruction that triggers the watchpoint
14144 and the address of the instruction immediately after, and use
14145 those addresses for the test. Fix comment.
14146
8f572e5c
PA
141472015-04-10 Pedro Alves <palves@redhat.com>
14148
14149 * gdb.base/sigstep.exp (breakpoint_to_handler)
14150 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
14151 Test "backtrace" in handler.
14152 (breakpoint_over_handler): New parameter 'displaced'. Use it.
14153 (top level): Add new "displaced" test axis to
14154 breakpoint_to_handler, breakpoint_to_handler_entry and
14155 breakpoint_over_handler.
14156
8d707a12
PA
141572015-04-10 Pedro Alves <palves@redhat.com>
14158
14159 PR gdb/18216
14160 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
14161
ef713951
YQ
141622015-04-10 Yao Qi <yao.qi@linaro.org>
14163
14164 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
14165 (test_add_rn_pc): New function.
14166 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
14167 (top level): Invoke test_add_rn_pc.
14168
906d60cf
PA
141692015-04-10 Pedro Alves <palves@redhat.com>
14170
14171 PR gdb/13858
14172 * gdb.base/step-over-no-symbols.exp: New file.
14173
f2983cc3
AW
141742015-04-09 Andy Wingo <wingo@igalia.com>
14175
14176 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
14177 after the Python tests.
14178
6d62641c
SDJ
141792015-04-08 Keith Seitz <keiths@redhat.com>
14180
14181 PR python/16699
14182 * gdb.python/py-completion.exp: New tests for completion.
14183 * gdb.python/py-completion.py (CompleteLimit1): New class.
14184 (CompleteLimit2): Likewise.
14185 (CompleteLimit3): Likewise.
14186 (CompleteLimit4): Likewise.
14187 (CompleteLimit5): Likewise.
14188 (CompleteLimit6): Likewise.
14189 (CompleteLimit7): Likewise.
14190
f3770638
PA
141912015-04-08 Pedro Alves <palves@redhat.com>
14192
14193 PR gdb/18214
14194 PR gdb/18216
14195 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
14196 function.
14197 (main): Install it as SIGUSR1 handler.
14198 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
14199 parameter. Always use "setup" as prefix. Toggle "set
14200 displaced-stepping" off/on depending on global. Don't switch to
14201 thread 1 here.
14202 (top level): Add displaced stepping "off/on" test axis. Update
14203 "setup" calls. Wrap each subtest with with_test_prefix. Test
14204 continuing with a queued signal in each thread.
14205
4496bed7
PA
142062015-04-08 Pedro Alves <palves@redhat.com>
14207
14208 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
14209 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
14210 gdb_breakpoint instead of gdb_test that doesn't expect anything.
14211 Return early if running to main fails.
14212 * gdb.trace/while-stepping.exp: Likewise.
14213
b97fde92
PA
142142015-04-07 Pedro Alves <palves@redhat.com>
14215
14216 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
14217 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
14218 interact with inferior program.
14219
f71c18e7
PA
142202015-04-07 Pedro Alves <palves@redhat.com>
14221
14222 * lib/gdb.exp (inferior_spawn_id): New global.
14223 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
14224 spawn id after processing the user code.
14225 (default_gdb_start): Set inferior_spawn_id.
14226 (send_inferior): New procedure.
14227 * lib/gdbserver-support.exp (gdbserver_start): Set
14228 inferior_spawn_id.
14229 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
14230
6423214f
PA
142312015-04-07 Pedro Alves <palves@redhat.com>
14232
14233 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
14234 * lib/gdbserver-support.exp (gdbserver_start): Make
14235 $server_spawn_id global.
14236 (gdbserver_start): Don't wait for gdbserver's spawn id with
14237 expect_background.
14238 (close_gdbserver): New procedure.
14239 (gdb_exit): Rename the default version and reimplement.
14240
71c0ee8c
PA
142412015-04-07 Pedro Alves <palves@redhat.com>
14242
72f4393d 14243 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
14244 append the substituted item, not the original item.
14245
203bc29b
PA
142462015-04-07 Pedro Alves <palves@redhat.com>
14247
14248 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
14249 gdb_expect.
14250
508a3ddf
PA
142512015-04-07 Pedro Alves <palves@redhat.com>
14252
14253 * gdb.base/interrupt.exp: Don't handle the case of the inferior
14254 output appearing once only.
14255
9f6dbe2b
PA
142562015-04-07 Pedro Alves <palves@redhat.com>
14257
14258 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
14259 that doesn't expect anything. Return early if running to main
14260 fails.
14261
337532fa
YQ
142622015-04-07 Yao Qi <yao.qi@linaro.org>
14263
14264 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
14265 (child_function): Call alarm.
14266 (main): Move call to alarm into the loop.
14267 * gdb.threads/non-stop-fair-events.exp: Build program with
14268 -DTIMEOUT=$timeout.
14269
01b622d4
DE
142702015-04-06 Doug Evans <xdje42@gmail.com>
14271
14272 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
14273 Fix dest parameter to board_info.
14274 (fpc_compile): Ditto.
14275 (gdb_compile_pascal): Rename dest arg to destfile.
14276
961f4160
PMR
142772015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
14278
14279 * gdb.ada/funcall_ref.exp: New file.
14280 * gdb.ada/funcall_ref/foo.adb: New file.
14281
cafda597
YQ
142822015-04-02 Yao Qi <yao.qi@linaro.org>
14283
14284 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
14285 is remote.
14286
fed040c6
GB
142872015-04-02 Gary Benson <gbenson@redhat.com>
14288
14289 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
14290
d11916aa
SS
142912015-04-01 Sasha Smundak <asmundak@google.com>
14292
14293 * gdb.python/py-unwind-maint.c: New file.
14294 * gdb.python/py-unwind-maint.exp: New test.
14295 * gdb.python/py-unwind-maint.py: New file.
14296 * gdb.python/py-unwind.c: New file.
14297 * gdb.python/py-unwind.exp: New test.
14298 * gdb.python/py-unwind.py: New test.
14299
a1471180
PA
143002015-04-01 Pedro Alves <palves@redhat.com>
14301
14302 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
14303 to fail instead of non-existent $test.
14304
0bbeccb1
PA
143052015-04-01 Pedro Alves <palves@redhat.com>
14306
14307 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
14308 GDBFLAGS if not empty.
14309
3c724c8c
PMR
143102015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
14311
14312 * gdb.ada/complete.exp: Remove "multi_line".
14313 * gdb.ada/info_exc.exp: Remove "multi_line".
14314 * gdb.ada/packed_tagged.exp: Remove "multi_line".
14315 * gdb.ada/ptype_field.exp: Remove "multi_line".
14316 * gdb.ada/sym_print_name.exp: Remove "multi_line".
14317 * gdb.ada/tagged.exp: Remove "multi_line".
14318 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
14319 [multi_line ...]
14320 * gdb.btrace/delta.exp: Likewise.
14321 * gdb.btrace/exception.exp: Likewise.
14322 * gdb.btrace/function_call_history.exp: Likewise.
14323 * gdb.btrace/instruction_history.exp: Likewise.
14324 * gdb.btrace/nohist.exp: Likewise.
14325 * gdb.btrace/record_goto.exp: Likewise.
14326 * gdb.btrace/segv.exp: Likewise.
14327 * gdb.btrace/stepi.exp: Likewise.
14328 * gdb.btrace/tailcall.exp: Likewise.
14329 * gdb.btrace/unknown_functions.exp: Likewise.
14330 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
14331 * lib/gdb.exp: Add the "multi_line" helper.
14332
4eec2deb
PA
143332015-04-01 Pedro Alves <palves@redhat.com>
14334
14335 * gdb.threads/tid-reuse.c: New file.
14336 * gdb.threads/tid-reuse.exp: New file.
14337
df8411da
SDJ
143382015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
14339
14340 PR corefiles/16092
14341 * gdb.base/coredump-filter.c: New file.
14342 * gdb.base/coredump-filter.exp: Likewise.
14343
6ef37366
PM
143442015-03-27 Petr Machata <pmachata@redhat.com>
14345
14346 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
14347 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
14348 (Dwarf::assemble): Initialize them.
14349 (Dwarf::lines): New function.
14350
7ec911b0
JT
143512015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
14352
14353 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
14354 SYMBOL_PREFIX for x86_64-*-cygwin.
14355
ff908ebf
AW
143562015-03-26 Andy Wingo <wingo@igalia.com>
14357
14358 PR symtab/18148
14359 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
14360 const_value but not a location.
14361 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
14362 location defined in non-main CUs are visible.
14363
6d5f0679
YQ
143642015-03-26 Yao Qi <yao.qi@linaro.org>
14365
14366 PR testsuite/18139
14367 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
14368 Add a line number entry for the same line.
14369 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
14370 Add a line number entry for the same line.
14371
2898689b
YQ
143722015-03-26 Yao Qi <yao.qi@linaro.org>
14373
14374 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
14375 .int 0.
14376 (func): Likewise. Add .Lfunc_1 label.
14377 Use .Lfunc_1 label.
14378 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
14379 .int 0.
14380 (func): Likewise.
14381 Use .Lfunc_1 label.
14382
85180498
YQ
143832015-03-26 Yao Qi <yao.qi@linaro.org>
14384
14385 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
14386 Call gdb_compile instead to compile each .s files without debug
14387 information.
14388
8aa08a8d
YQ
143892015-03-26 Yao Qi <yao.qi@linaro.org>
14390
14391 * gdb.base/savedregs.exp (process_saved_regs): Make
14392 "Saved registers:" optional in the pattern.
14393
66849923
MM
143942015-03-25 Markus Metzger <markus.t.metzger@intel.com>
14395
14396 * gdb.btrace/next.exp: Merged into step.exp.
14397 * gdb.btrace/finish.exp: Merged into step.exp.
14398 * gdb.btrace/nexti.exp: Merged into stepi.exp.
14399 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
14400 "record goto" and checking the exact replay position.
14401 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
14402 check for "Recording format" in "info record" output.
14403 * gdb.btrace/record_goto.exp: Choose test file based on target.
14404 * gdb.btrace/x86-record_goto.S: Renamed into ...
14405 * gdb.btrace/x86_64-record_goto.S: ... this.
14406 * gdb.btrace/i686-record_goto.S: New.
14407 * gdb.btrace/x86-tailcall.S: Renamed into ...
14408 * gdb.btrace/x86_64-tailcall.S: ... this.
14409 * gdb.btrace/i686-tailcall.S: New.
14410 * gdb.btrace/x86-tailcall.c: Renamed into ...
14411 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
14412 separate statements. Update test.
14413 * gdb.btrace/delta.exp: Use record_goto.c as test file.
14414 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
14415 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
14416 * gdb.btrace/tailcall.exp: Choose test file based on target.
14417 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
14418
11cc1b74
MM
144192015-03-25 Markus Metzger <markus.t.metzger@intel.com>
14420
14421 * gdb.btrace/exception.exp: Increase BTS buffer size.
14422
a25d8bf9
PA
144232015-03-24 Pedro Alves <palves@redhat.com>
14424
14425 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
14426
856e7dd6
PA
144272015-03-24 Pedro Alves <palves@redhat.com>
14428
14429 * gdb.threads/schedlock.exp (test_step): No longer expect that
14430 "set scheduler-locking step" with "next" over a function call runs
14431 threads unlocked.
14432
ad235a41
AT
144332015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
14434
14435 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
14436
15630549
AT
144372015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
14438
14439 PR breakpoints/16466
14440 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
14441 * gdb.mi/mi-pending.c (thread_func): New function.
14442 (int main): Add threading support required.
14443 * gdb.mi/mi-pending.exp: Add tests for this issue.
14444 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
14445 (pendfunc2): Remove stdio dependency.
14446 * gdb.mi/mi-pendshr2.c: New file.
14447
693dca06
KS
144482015-03-23 Keith Seitz <keiths@redhat.com>
14449
14450 * gdb.linespec/keywords.c: New file.
14451 * gdb.linespec/keywords.exp: New file.
14452
7e993ebf
KS
144532015-03-23 Keith Seitz <keiths@redhat.com>
14454
14455 PR gdb/18021
14456 * gdb.dwarf2/staticvirtual.exp: New test.
14457
bc23328c
JK
144582015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14459
14460 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
14461 * README: Remove HP-UX and gdb.hp.
14462 (configuration):
14463 * configure: Regenerate.
14464 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
14465 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
14466 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
14467 gdb.hp/gdb.defects/Makefile.
14468 * gdb.hp/Makefile.in: File deleted.
14469 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
14470 * gdb.hp/gdb.aCC/optimize.c: File deleted.
14471 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
14472 * gdb.hp/gdb.aCC/run.c: File deleted.
14473 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
14474 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
14475 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
14476 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
14477 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
14478 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
14479 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
14480 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
14481 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
14482 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
14483 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
14484 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
14485 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
14486 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
14487 * gdb.hp/gdb.base-hp/reg.s: File deleted.
14488 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
14489 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
14490 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
14491 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
14492 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
14493 * gdb.hp/gdb.compat/Makefile.in: File deleted.
14494 * gdb.hp/gdb.compat/average.c: File deleted.
14495 * gdb.hp/gdb.compat/sum.c: File deleted.
14496 * gdb.hp/gdb.compat/xdb.c: File deleted.
14497 * gdb.hp/gdb.compat/xdb0.c: File deleted.
14498 * gdb.hp/gdb.compat/xdb0.h: File deleted.
14499 * gdb.hp/gdb.compat/xdb1.c: File deleted.
14500 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
14501 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
14502 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
14503 * gdb.hp/gdb.defects/Makefile.in: File deleted.
14504 * gdb.hp/gdb.defects/bs14602.c: File deleted.
14505 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
14506 * gdb.hp/gdb.defects/solib-d.c: File deleted.
14507 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
14508 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
14509 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
14510 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
14511 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
14512 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
14513 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
14514 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
14515 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
14516 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
14517 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
14518 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
14519 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
14520 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
14521 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
14522 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
14523 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
14524 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
14525 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
14526 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
14527 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
14528 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
14529 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
14530 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
14531 * gdb.hp/tools/odump: File deleted.
14532
8bf3b159
PA
145332015-03-19 Pedro Alves <palves@redhat.com>
14534
14535 * gdb.threads/continue-pending-status.exp (saw_thread_2)
14536 (saw_thread_3): New globals.
14537 (top level): Increment them when an event for the corresponding
14538 thread is seen.
14539 (no thread starvation): New test.
14540
eb54c8bf
PA
145412015-03-19 Pedro Alves <palves@redhat.com>
14542
14543 * gdb.threads/continue-pending-status.c: New file.
14544 * gdb.threads/continue-pending-status.exp: New file.
14545
32d2e5d6
PA
145462015-03-18 Pedro Alves <palves@redhat.com>
14547
14548 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
14549 Use gdb_is_target_remote instead of is_remote. Use
14550 gdb_test_multiple instead of gdb_expect. Exit early if
14551 gdb_test_multiple hits its internal matches. Tighten stepi tests
14552 expected output. Fail on exit with any signal, instead of just
14553 SIGILL.
14554
f68f11b7
YQ
145552015-03-18 Yao Qi <yao.qi@linaro.org>
14556
14557 PR tdep/18107
14558 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
14559 variable.
14560 * gdb.base/catch-syscall.exp: Don't skip it on
14561 aarch64*-*-linux* target. Remove elements in all_syscalls.
14562 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
14563 target.
14564 (setup_all_syscalls): New proc.
14565
ca5fd19b
YQ
145662015-03-16 Yao Qi <yao.qi@linaro.org>
14567
14568 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
14569 (top level): Skip tests if valid_addr_p returns false for
14570 $cmd1 or $cmd2.
14571
85642ba0
AW
145722015-03-11 Andy Wingo <wingo@igalia.com>
14573
14574 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
14575
e03f9645
YQ
145762015-03-11 Yao Qi <yao.qi@linaro.org>
14577
14578 * gdb.base/catch-syscall.exp: Fix typo in comments.
14579
5d0962b2
YQ
145802015-03-11 Yao Qi <yao.qi@linaro.org>
14581
14582 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
14583
b2df3cef
PA
145842015-03-09 Pedro Alves <palves@redhat.com>
14585
14586 * dg-extract-results.py: Delete.
14587
ef878e53
PA
145882015-03-09 Pedro Alves <palves@redhat.com>
14589
14590 Merge dg-extract-results.sh from GCC upstream (r218843).
14591
14592 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
14593 * dg-extract-results.sh: Use --text with grep to avoid issues with
14594 binary files. Fall back to cat -v, if that doesn't work.
14595
9494d219
PA
145962015-03-05 Pedro Alves <palves@redhat.com>
14597
14598 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
14599
a8d9763a
SM
146002015-03-04 Simon Marchi <simon.marchi@ericsson.com>
14601
14602 * lib/mi-support.exp (mi_expect_interrupt): Accept
14603 alternative event for when in all-stop mode.
14604
be9957b8
PA
146052015-03-04 Pedro Alves <palves@redhat.com>
14606
14607 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
14608
d57be0f4 146092015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
14610
14611 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
14612
c214c7cf
AA
146132015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
14614
14615 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
14616 regexps for GDB's current line display, accept a hex address
14617 preceding the line number.
14618
6d74a497
AA
146192015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
14620
14621 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
14622 the 'arch1' variable for "s390*-linux*" targets.
14623
511aee7c
PA
146242015-03-04 Pedro Alves <palves@redhat.com>
14625
14626 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
14627 (main): Pass missing retval argument to pthread_join call.
14628
95e50b27
PA
146292015-03-02 Pedro Alves <palves@redhat.com>
14630
14631 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
14632 (top level): Call do_test with non-stop as well.
14633
28054d69
PA
146342015-03-02 Pedro Alves <palves@redhat.com>
14635
14636 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
14637 -1.
14638
4fa5d7b4
AA
146392015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
14640
14641 * gdb.arch/s390-vregs.exp: New test.
14642 * gdb.arch/s390-vregs.S: New file.
14643
97c18565
PA
146442015-02-27 Pedro Alves <palves@redhat.com>
14645
14646 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
14647 call to catch_command_errors.
14648 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
14649 catch_command_errors.
14650
a37bfa30
PA
146512015-02-27 Pedro Alves <palves@redhat.com>
14652
14653 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
14654 "true" for boolean result.
14655 * gdb.gdb/selftest.exp (test_with_self): Also accept full
14656 prototype of main.
14657
6f98576f
PA
146582015-02-27 Pedro Alves <palves@redhat.com>
14659
14660 * lib/unbuffer_output.c: New file.
14661 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
14662 (main): Call gdb_unbuffer_output.
14663
eba5ab56
YQ
146642015-02-27 Yao Qi <yao.qi@linaro.org>
14665
14666 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
14667 target.
14668
0def5aaa
DE
146692015-02-26 Doug Evans <dje@google.com>
14670
14671 * gdb.cp/class2.cc (Dbase, D): New classes.
14672 (main): New local delta.
14673 * gdb.cp/class2.exp: Test printing delta.
14674 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
14675 (dynbar): New global.
14676 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
14677
081a1c2c
JK
146782015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14679
14680 * gdb.compile/compile-ifunc.c: New file.
14681 * gdb.compile/compile-ifunc.exp: New file.
14682
2f41223f
AT
146832015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
14684
14685 * gdb.base/structs.exp: Check for correct struct on finish.
14686
03eddd80
YQ
146872015-02-26 Yao Qi <yao.qi@linaro.org>
14688
14689 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
14690 is zero.
14691
80c57053
JK
146922015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14693
14694 * gdb.arch/cordic.ko.bz2: New file.
14695 * gdb.arch/cordic.ko.debug.bz2: New file.
14696 * gdb.arch/ppc64-symtab-cordic.exp: New file.
14697
21613c12
YQ
146982015-02-25 Yao Qi <yao.qi@linaro.org>
14699
14700 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
14701 aarch64*-*-* target.
14702
d8b901ed
PA
147032015-02-23 Pedro Alves <palves@redhat.com>
14704
14705 * lib/gdb.exp (delete_breakpoints): Rewrite using
14706 gdb_test_multiple.
14707
e5b85ead
PA
147082015-02-23 Pedro Alves <palves@redhat.com>
14709
14710 * gdb.base/info-os.c: Include stdlib.h.
14711
85c3a371
DE
147122015-02-22 Doug Evans <xdje42@gmail.com>
14713
14714 PR symtab/17855
14715 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
14716 is read after symbols have been re-read.
14717 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
14718 * gdb.ada/exec_changed/second.adb (Second): Ditto.
14719
96553a0c
DE
147202015-02-21 Doug Evans <dje@google.com>
14721
14722 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
14723
97a0c697
JK
147242015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14725
14726 PR corefiles/17808
14727 * gdb.arch/i386-biarch-core.core.bz2: New file.
14728 * gdb.arch/i386-biarch-core.exp: New file.
14729
a47cd6e9
PA
147302015-02-21 Pedro Alves <palves@redhat.com>
14731
14732 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
14733 runto_main fails.
14734
c5facdc4
PA
147352015-02-20 Pedro Alves <palves@redhat.com>
14736
14737 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
14738 info probes.
14739
2db9a427
PA
147402015-02-20 Pedro Alves <palves@redhat.com>
14741
14742 * gdb.threads/multi-create-ns-info-thr.exp: New file.
14743
60fb7e9e
PA
147442015-02-20 Pedro Alves <palves@redhat.com>
14745
14746 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
14747 clean_restart before gdb_target_supports_trace.
14748
5c5019c2
PA
147492015-02-20 Pedro Alves <palves@redhat.com>
14750
14751 PR threads/18006
14752 * gdb.threads/clone-thread_db.c: New file.
14753 * gdb.threads/clone-thread_db.exp: New file.
14754
c9587f88
AT
147552015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
14756
14757 PR breakpoints/16812
14758 * gdb.base/catch-gdb-caused-signals.c: New file.
14759 * gdb.base/catch-gdb-caused-signals.exp: New file.
14760
f6a88844
JM
147612015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
14762
14763 * configure: Regenerated.
14764 * configure.ac: Use GDB_AC_TRANSFORM.
14765 * aclocal.m4: sinclude ../transform.m4.
14766
497c491b
JM
147672015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
14768
14769 * lib/dtrace.exp: New file.
14770 * gdb.base/dtrace-probe.exp: Likewise.
14771 * gdb.base/dtrace-probe.d: Likewise.
14772 * gdb.base/dtrace-probe.c: Likewise.
14773 * lib/pdtrace.in: Likewise.
14774 * configure.ac: Output variables with the transformed names of
14775 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
14776 * configure: Regenerated.
14777
03e98035
JM
147782015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
14779
14780 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
14781 expected message when trying to access $_probe_* convenience
14782 variables while not on a probe.
14783
63cc30e9
JK
147842015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14785
14786 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
14787
0703599a
PA
147882015-02-11 Pedro Alves <pedro@codesourcery.com>
14789
14790 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
14791 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
14792
7e60a48e
DE
147932015-02-10 Doug Evans <xdje42@gmail.com>
14794
14795 * lib/gdb.exp (gdb_load): Always return a result.
14796
01b088bc
PA
147972015-02-10 Pedro Alves <palves@redhat.com>
14798
14799 * gdb.threads/signal-sigtrap.c: New file.
14800 * gdb.threads/signal-sigtrap.exp: New file.
14801
b05ec7a5
AT
148022015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
14803
14804 * gdb.trace/no-attach-trace.c: New file.
14805 * gdb.trace/no-attach-trace.exp: New file.
14806
a2c2acaf
MW
148072015-02-09 Mark Wielaard <mjw@redhat.com>
14808
14809 * gdb.dwarf2/atomic.c: New file.
14810 * gdb.dwarf2/atomic-type.exp: Likewise.
14811
31fd9caa
MM
148122015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14813
14814 * gdb.btrace/buffer-size.exp: Update "info record" output.
14815 * gdb.btrace/delta.exp: Update "info record" output.
14816 * gdb.btrace/enable.exp: Update "info record" output.
14817 * gdb.btrace/finish.exp: Update "info record" output.
14818 * gdb.btrace/instruction_history.exp: Update "info record" output.
14819 * gdb.btrace/next.exp: Update "info record" output.
14820 * gdb.btrace/nexti.exp: Update "info record" output.
14821 * gdb.btrace/step.exp: Update "info record" output.
14822 * gdb.btrace/stepi.exp: Update "info record" output.
14823 * gdb.btrace/nohist.exp: Update "info record" output.
14824
d33501a5
MM
148252015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14826
14827 * gdb.btrace/buffer-size: New.
14828
f4abbc16
MM
148292015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14830
14831 * gdb.btrace/delta.exp: Update "info record" output.
14832 * gdb.btrace/enable.exp: Update "info record" output.
14833 * gdb.btrace/finish.exp: Update "info record" output.
14834 * gdb.btrace/instruction_history.exp: Update "info record" output.
14835 * gdb.btrace/next.exp: Update "info record" output.
14836 * gdb.btrace/nexti.exp: Update "info record" output.
14837 * gdb.btrace/step.exp: Update "info record" output.
14838 * gdb.btrace/stepi.exp: Update "info record" output.
14839 * gdb.btrace/nohist.exp: Update "info record" output.
14840
b9d61307
SM
148412015-02-06 Simon Marchi <simon.marchi@ericsson.com>
14842
14843 PR gdb/15678
14844 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
14845
e584fdbc
PA
148462015-02-06 Pedro Alves <palves@redhat.com>
14847
14848 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
14849 macro.
14850 (seconds_left, again): New globals.
14851 (main): Wait seconds_left in a 1-second sleep loop instead of
14852 sleeping 180 seconds. If 'again' is set, reset the seconds
14853 counter.
14854 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
14855 'again' in the inferior before detaching. Print the seconds left.
14856 (options): New global.
14857 (top level): Build program with -DTIMEOUT=$timeout.
14858
77f41761
PA
148592015-02-06 Pedro Alves <palves@redhat.com>
14860
14861 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
14862 determine how many seconds to pass to 'alarm'.
14863 * gdb.base/gdb-sigterm.exp (top level): Build program with
14864 -DTIMEOUT=$timeout.
14865 (do_test): Return success/failure indication. Add more verbose
14866 logging. Don't fail if 200 single steps are seen. Instead, fail
14867 when the test times out.
14868 (passes): New global.
14869 (top level): Break the testing loop if testing fails on any
14870 iteration. Use gdb_assert.
14871
b9394193
DB
148722015-02-04 Don Breazeal <donb@codesourcery.com>
14873
14874 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
14875 and initialize them.
14876 (ipc_cleanup): New function.
14877 (main): Don't declare shmid, semid, and msqid. Add a call to
14878 atexit so that we call ipc_cleanup on exit.
14879
42d9e528
PA
148802015-02-04 Pedro Alves <palves@redhat.com>
14881
14882 * boards/native-extended-gdbserver.exp: Remove any target variant
14883 specifications from the board name before clearing the isremote
14884 flag from board_info.
14885
ae6ae975
DE
148862015-01-31 Doug Evans <xdje42@gmail.com>
14887
14888 * gdb.base/maint.exp <maint print type argc>: Update expected output.
14889
cfb069a8
GB
148902015-01-31 Gary Benson <gbenson@redhat.com>
14891
14892 * gdb.base/completion.exp: Disable completion limiting for
14893 existing tests. Add new tests to check completion limiting.
14894 * gdb.linespec/ls-errs.exp: Disable completion limiting.
14895
5dd31d79
DE
148962015-01-31 Doug Evans <xdje42@gmail.com>
14897
14898 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
14899
9f050062
DE
149002015-01-31 Doug Evans <xdje42@gmail.com>
14901
14902 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
14903 entries. Duplicate file section script entries.
14904 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
14905 inlined entries. Add test for safe-path rejection.
14906 * gdb.python/py-section-script.c: Add duplicate inlined section script
14907 entries. Duplicate file section script entries.
14908 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
14909 inlined entries. Add test for safe-path rejection.
14910
df25ebbd
JB
149112015-01-29 Joel Brobecker <brobecker@adacore.com>
14912
14913 * gdb.ada/disc_arr_bound: New testcase.
14914
4a0ca9ec
JB
149152015-01-29 Joel Brobecker <brobecker@adacore.com>
14916
14917 * gdb.ada/mi_var_array: New testcase.
14918
3a8b707a
DE
149192015-01-27 Doug Evans <dje@google.com>
14920
14921 * gdb.python/py-objfile.exp: Add tests for objfile.username.
14922 Add test for objfile.filename, objfile.username after objfile
14923 has been unloaded.
14924
f8313f6e
JB
149252015-01-26 Joel Brobecker <brobecker@adacore.com>
14926
14927 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
14928 the second test to print the name attribute of value
14929 returned by the call to gdb.lookup_type, and adjust
14930 the expected output accordingly.
14931
37bc665e
MW
149322015-01-25 Mark Wielaard <mjw@redhat.com>
14933
14934 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
14935 * gdb.base/disp-step-fork.c: Include unistd.h.
14936 * gdb.base/siginfo-obj.c: Include stdio.h.
14937 * gdb.base/siginfo-thread.c: Likewise.
14938 * gdb.mi/non-stop.c: Include unistd.h.
14939 * gdb.mi/nsthrexec.c: Include stdio.h.
14940 * gdb.mi/pthreads.c: Include unistd.h.
14941 * gdb.modula2/unbounded1.c (main): Declare returns int.
14942 * gdb.reverse/consecutive-reverse.c: Likewise.
14943 * gdb.threads/create-fail.c: Include unistd.h.
14944 * gdb.threads/killed.c: Likewise.
14945 * gdb.threads/linux-dp.c: Likewise.
14946 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
14947 * gdb.threads/non-ldr-exc-2.c: Likewise.
14948 * gdb.threads/non-ldr-exc-3.c: Likewise.
14949 * gdb.threads/non-ldr-exc-4.c: Likewise.
14950 * gdb.threads/pthreads.c: Include unistd.h.
14951 (main): Declare returns int.
14952 * gdb.threads/tls-main.c (foo): New declaration.
14953 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
14954
f7e5394d
SM
149552015-01-23 Simon Marchi <simon.marchi@ericsson.com>
14956
14957 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
14958 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
14959
743649fd
MW
149602015-01-15 Mark Wielaard <mjw@redhat.com>
14961
14962 * gdb.base/noreturn-return.c: New file.
14963 * gdb.base/noreturn-return.exp: New file.
14964 * gdb.base/noreturn-finish.c: New file.
14965 * gdb.base/noreturn-finish.exp: New file.
14966
198297aa
PA
149672015-01-23 Pedro Alves <palves@redhat.com>
14968
14969 * gdb.threads/continue-pending-after-query.c: New file.
14970 * gdb.threads/continue-pending-after-query.exp: New file.
14971
717cf30c
AG
149722015-01-22 Anders Granlund <anders.granlund@ericsson.com>
14973 Simon Marchi <simon.marchi@ericsson.com>
14974
14975 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
14976 * gdb.base/valgrind-db-attach.exp: Same.
14977 * gdb.base/valgrind-infcall.exp: Same.
14978 * lib/mi-support.exp (default_mi_gdb_start): Same.
14979 * lib/prompt.exp (default_prompt_gdb_start): Same.
14980 * lib/gdb.exp (default_gdb_spawn): Same.
14981 (gdb_interact): New.
14982
14983
4b62a76e
JK
149842015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14985
14986 * gdb.compile/compile.exp (pointer to jit function): New test.
14987
b4cdae6f
WW
149882015-01-17 Wei-cheng Wang <cole945@gmail.com>
14989
14990 * lib/gdb.exp (supports_process_record): Return true for
14991 powerpc*-*-linux*.
14992 (supports_reverse): Likewise.
14993
d221e7ef
DB
149942015-01-15 Don Breazeal <donb@codesourcery.com>
14995
14996 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
14997 instead of checking whether the target board is remote and
14998 use spawn_wait_for_attach instead of exec/sleep.
14999 * gdb.base/attach-twice.exp: Likewise.
15000
bafffb51
JB
150012015-01-15 Joel Brobecker <brobecker@adacore.com>
15002
15003 * gdb.ada/var_arr_attrs: New testcase.
15004
5589af0e
PA
150052015-01-14 Pedro Alves <palves@redhat.com>
15006 Joel Brobecker <brobecker@adacore.com>
15007
15008 PR gdb/17525
15009 * gdb.base/bp-cmds-execution-x-script.c: New file.
15010 * gdb.base/bp-cmds-execution-x-script.exp: New file.
15011 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
15012
6c400b59
PA
150132015-01-14 Pedro Alves <palves@redhat.com>
15014
15015 PR cli/17828
15016 * gdb.base/batch-preserve-term-settings.c: New file.
15017 * gdb.base/batch-preserve-term-settings.exp: New file.
15018
e02c96a7
DE
150192015-01-13 Doug Evans <dje@google.com>
15020
15021 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
15022 binary.
15023
576fd14c
JB
150242015-01-13 Joel Brobecker <brobecker@adacore.com>
15025
15026 * Makefile.in (clean mostlyclean): Do not delete *.py.
15027
04dccad0
JB
150282015-01-13 Joel Brobecker <brobecker@adacore.com>
15029
15030 * gdb.python/py-lookup-type.exp: New file.
15031
3d230f71
PA
150322015-01-12 Pedro Alves <palves@redhat.com>
15033
15034 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
15035 restore GDBFLAGS before returning.
15036
7e67715d
JK
150372015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15038
15039 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
15040 is_amd64_regs_target and is_x86_like_target.
15041
f2e0d4b4
DE
150422015-01-11 Doug Evans <xdje42@gmail.com>
15043
15044 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
15045 is given without an explicit form.
15046 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
15047 attributes.
15048 * gdb.dwarf/corrupt.exp: Ditto.
15049 * gdb.dwarf2/enum-type.exp: Ditto.
15050 * gdb.trace/entry-values.exp: Ditto.
15051 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
15052
439250fb
DE
150532015-01-11 Doug Evans <xdje42@gmail.com>
15054
15055 PR gdb/15830
15056 * gdb.base/maint.exp: Remove references to "maint demangle".
15057 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
15058 Add tests for explicitly specifying language to demangle.
15059 * gdb.dlang/demangle.exp: Ditto.
15060
ede9f622
PA
150612015-01-09 Pedro Alves <palves@redhat.com>
15062
15063 * gdb.threads/non-stop-fair-events.c: New file.
15064 * gdb.threads/non-stop-fair-events.exp: New file.
15065
a7b796db
PA
150662015-01-09 Pedro Alves <palves@redhat.com>
15067
15068 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
15069 the global scope. Set a breakpoint after all threads are started
15070 rather than stepping over two source lines. Expect the prompt.
15071 * gdb.base/watch_thread_num.c (threads_started_barrier): New
15072 global.
15073 (NUM): Now 15.
15074 (main): Use threads_started_barrier to wait for all threads to
15075 start. Main thread no longer calls thread_function. Exit after
15076 180 seconds.
15077 (loop): New function.
15078 (thread_function): Wait on threads_started_barrier barrier. Call
15079 'loop' at each iteration.
15080 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
15081 threads have started, instead of hardcoding number of "next"
15082 steps. Use an access watchpoint instead of a write watchpoint.
15083
9665ffdd
PA
150842015-01-09 Pedro Alves <palves@redhat.com>
15085
15086 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
15087 (thread_func): Wait on barrier.
15088 (main): Wait for all threads to start before stopping GDB.
15089 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
15090 global.
15091 (thread1_func, thread2_func): Wait on barrier.
15092 (main): Wait for all threads to start before stopping GDB.
15093 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
15094 New global.
15095 (thread1_func, thread2_func): Wait on barrier.
15096 (main): Wait for all threads to start before stopping GDB.
15097
c945a99f
PA
150982015-01-09 Pedro Alves <palves@redhat.com>
15099
15100 * gdb.threads/attach-many-short-lived-threads.c: New file.
15101 * gdb.threads/attach-many-short-lived-threads.exp: New file.
15102
c1a747c1
PA
151032014-01-09 Pedro Alves <palves@redhat.com>
15104
15105 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
15106 instead of to thread 2.
15107 * gdb.threads/signal-command-multiple-signals-pending.c (main):
15108 Add barrier around each pthread_create call instead of around all
15109 calls.
15110 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
15111 Set a break on thread_function and have the child threads hit it
15112 one at at a time.
15113
60b3033e
PA
151142015-01-09 Pedro Alves <palves@redhat.com>
15115
15116 * lib/gdb.exp (can_spawn_for_attach): New procedure.
15117 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
15118 false.
15119 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
15120 checking whether the target board is remote.
15121 * gdb.multi/multi-attach.exp: Likewise.
15122 * gdb.python/py-sync-interp.exp: Likewise.
15123 * gdb.server/ext-attach.exp: Likewise.
15124 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
15125 tests that need to attach, instead of checking whether the target
15126 board is remote at the top of the file.
15127
acc018ac
YQ
151282015-01-08 Yao Qi <yao@codesourcery.com>
15129
15130 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
15131
50a18af8
JK
151322015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15133
15134 Fix testcase compilation.
15135 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
15136
8503d6e1
JB
151372015-01-06 Joel Brobecker <brobecker@adacore.com>
15138
15139 * gdb.python/py-type.exp: Add a couple test about empty
15140 array creation, and negative-length array creation.
15141
cc73dbcc
DE
151422015-01-02 Doug Evans <xdje42@gmail.com>
15143
15144 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
15145
0300bbc7
DE
151462015-01-02 Doug Evans <dje@google.com>
15147
15148 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
15149
9d85a0ec
YQ
151502014-12-29 Yao Qi <yao@codesourcery.com>
15151
15152 * gdb.trace/entry-values.exp: Update comments. Rename variable
15153 bar_call_foo to returned_from_foo.
15154
87186c6a
MMN
151552014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
15156
15157 PR gdb/17394
15158 * gdb.linespec/break-asm-file.c: New file.
15159 * gdb.linespec/break-asm-file.exp: New file.
15160 * gdb.linespec/break-asm-file0.s: New file.
15161 * gdb.linespec/break-asm-file1.s: New file.
15162
1bab7383
YQ
151632014-12-18 Nigel Stephens <nigel@mips.com>
15164 Maciej W. Rozycki <macro@codesourcery.com>
15165
15166 * gdb.base/float.exp: Handle the new output from "info float" on
15167 MIPS targets.
15168
1bc1068a
JK
151692014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
15170
15171 Fix MinGW compilation.
15172 * gdb.compile/compile-ops.exp: Update untested message if
15173 !skip_compile_feature_tests.
15174 * gdb.compile/compile-setjmp.exp: Likewise.
15175 * gdb.compile/compile-tls.exp: Likewise.
15176 * gdb.compile/compile.exp: Likewise.
15177 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
15178 supported on this host".
15179
b6615d10
DE
151802014-12-16 Doug Evans <xdje42@gmail.com>
15181
15182 * boards/stabs.exp: New file.
15183
25dda427
AA
151842014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
15185
15186 * gdb.base/completion.exp: Adjust to format changes of "maint
15187 print user-registers".
15188
bf330350
CU
151892014-12-16 Catalin Udma <catalin.udma@freescale.com>
15190
15191 PR server/17457
15192 * gdb.arch/aarch64-fp.c: New file.
15193 * gdb.arch/aarch64-fp.exp: New file.
15194
395cf596
SDJ
151952014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
15196
15197 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
15198 r210637, r210913, r211666, r215400, r215817).
15199
15200 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
15201 * dg-extract-results.py: New file.
15202 * dg-extract-results.sh: Use it if the environment seems
15203 suitable.
15204
15205 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
15206
15207 * dg-extract-results.py (parse_run): Handle warnings that
15208 are printed before a test harness is run.
15209
15210 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
15211
15212 * dg-extract-results.py (Named): Remove __cmp__ method.
15213 (output_variation): Use a key to sort variation.harnesses.
15214
15215 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
15216
15217 * dg-extract-results.py: For Python 3, force sys.stdout to
15218 handle surrogate escape sequences.
15219 (safe_open): New function.
15220 (output_segment, main): Use it.
15221
15222 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
15223
15224 * dg-extract-results.py (Prog.result_re): Include options
15225 in test name.
15226
15227 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
15228
15229 * dg-extract-results.py (output_variation): Always sort if
15230 do_sum.
15231
e882ef3c
SM
152322014-12-15 Simon Marchi <simon.marchi@ericsson.com>
15233
15234 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
15235 as long as we get pagination notifications.
15236
4992aa20
JM
152372014-12-15 Jason Merrill <jason@redhat.com>
15238
15239 * Makefile.in (check-gdb.%): Restore.
15240 * README: Mention it.
15241
c1b5a1a6
JB
152422014-12-13 Joel Brobecker <brobecker@adacore.com>
15243
15244 * gdb.ada/str_uninit: New testcase.
15245
5537b577
JK
152462014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15247
15248 PR symtab/17642
15249 * gdb.base/vla-stub-define.c: New file.
15250 * gdb.base/vla-stub.c: New file.
15251 * gdb.base/vla-stub.exp: New file.
15252
bb2ec1b3
TT
152532014-12-12 Phil Muldoon <pmuldoon@redhat.com>
15254 Jan Kratochvil <jan.kratochvil@redhat.com>
15255 Tom Tromey <tromey@redhat.com>
15256
15257 * configure.ac: Add gdb.compile/.
15258 * configure: Regenerate.
15259 * gdb.compile/Makefile.in: New file.
15260 * gdb.compile/compile-ops.exp: New file.
15261 * gdb.compile/compile-ops.c: New file.
15262 * gdb.compile/compile-tls.c: New file.
15263 * gdb.compile/compile-tls.exp: New file.
15264 * gdb.compile/compile-constvar.S: New file.
15265 * gdb.compile/compile-constvar.c: New file.
15266 * gdb.compile/compile-mod.c: New file.
15267 * gdb.compile/compile-nodebug.c: New file.
15268 * gdb.compile/compile-setjmp-mod.c: New file.
15269 * gdb.compile/compile-setjmp.c: New file.
15270 * gdb.compile/compile-setjmp.exp: New file.
15271 * gdb.compile/compile-shlib.c: New file.
15272 * gdb.compile/compile.c: New file.
15273 * gdb.compile/compile.exp: New file.
15274 * lib/gdb.exp (skip_compile_feature_tests): New proc.
15275
4ff709eb
TT
152762014-12-12 Tom Tromey <tromey@redhat.com>
15277
15278 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
15279 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
15280
6dddd6a5
DE
152812014-12-12 Doug Evans <dje@google.com>
15282
15283 * lib/gdb-python.exp (get_python_valueof): New function.
15284 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
15285
71c24708
AA
152862014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
15287
15288 * gdb.base/completion.exp: Add test for completion of "info
15289 registers ".
15290
3e29f34a
MR
152912014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
15292
15293 * gdb.base/func-ptrs.c: New file.
15294 * gdb.base/func-ptrs.exp: New file.
15295
fc126975
SM
152962014-12-10 Simon Marchi <simon.marchi@ericsson.com>
15297
15298 PR breakpoints/17012
15299 * gdb.base/dprintf-detach.c: New file.
15300 * gdb.base/dprintf-detach.exp: New file.
15301
0a46d518
SM
153022014-12-10 Simon Marchi <simon.marchi@ericsson.com>
15303
15304 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
15305 * lib/gdb.exp (target_is_gdbserver): New procedure.
15306
a0be3e44
DE
153072014-12-08 Doug Evans <dje@google.com>
15308
15309 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
15310
df1b803a
YQ
153112014-12-05 Yao Qi <yao@codesourcery.com>
15312
15313 * gdb.guile/scm-error.exp: Remove the third argument to
15314 gdb_remote_download.
15315 * gdb.guile/scm-frame-args.exp: Likewise.
15316 * gdb.guile/scm-section-script.exp: Likewise.
15317
ddb9f679
YQ
153182014-12-05 Yao Qi <yao@codesourcery.com>
15319
15320 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
15321
86e4ed39
DE
153222014-12-04 Doug Evans <dje@google.com>
15323
15324 * gdb.python/py-objfile.exp: Add tests for
15325 objfile.add_separate_debug_file.
15326
7c50a931
DE
153272014-12-04 Doug Evans <dje@google.com>
15328
15329 * lib/gdb.exp (get_build_id): New function.
15330 (build_id_debug_filename_get): Rewrite to use it.
15331 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
15332
621661e3
MR
153332014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
15334
15335 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
15336 `method(long)', not just 0x0.
15337 * gdb.cp/nsalias.exp: Align code labels to 4.
15338 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
15339 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
15340 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
15341 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
15342 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
15343 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
15344
29f0c3b7
DE
153452014-12-02 Doug Evans <dje@google.com>
15346
e1e061e7 15347 PR symtab/17602
29f0c3b7 15348 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 15349 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
15350 * gdb.cp/anon-ns.exp: Update.
15351
162078c8
NB
153522014-12-02 Nick Bull <nicholaspbull@gmail.com>
15353
15354 * gdb.python/py-events.py (inferior_call_handler): New.
15355 (register_changed_handler, memory_changed_handler): New.
15356 (test_events.invoke): Register new handlers.
15357 * gdb.python/py-events.exp: Add tests for inferior call,
15358 memory_changed and register_changed events.
15359
fdb09caf
AA
153602014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
15361
15362 * gdb.base/execl-update-breakpoints.exp: Specify the link address
15363 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
15364 if the linker doesn't understand this.
15365
55cfb2c4
SM
153662014-12-01 Simon Marchi <simon.marchi@ericsson.com>
15367
15368 * gdb.python/python.exp: Change expected reply to help().
15369
9e8cd6df
YQ
153702014-12-01 Yao Qi <yao@codesourcery.com>
15371
15372 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
15373 AC_CONFIG_SUBDIRS(gdb.gdbtk).
15374 * configure: Re-generated.
15375
6c659fc2
SC
153762014-11-28 Siva Chandra Reddy <sivachandra@google.com>
15377
15378 * gdb.cp/chained-calls.cc: New file.
15379 * gdb.cp/chained-calls.exp: New file.
15380 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
15381
d7fc3181
SM
153822014-11-28 Simon Marchi <simon.marchi@ericsson.com>
15383
15384 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
15385 * gdb.dwarf2/symtab-producer.exp: Same.
15386 * gdb.gdb/python-interrupts.exp: Same.
15387 * gdb.gdb/python-selftest.exp: Same.
15388 * gdb.python/py-linetable.exp: Same.
15389 * gdb.python/py-type.exp: Same.
15390 * gdb.python/py-value-cc.exp: Same.
15391 * gdb.python/py-value.exp: Same.
15392
10e79639
YQ
153932014-11-28 Yao Qi <yao@codesourcery.com>
15394
15395 * gdb.base/break-probes.exp: Match library name prefixed with
15396 sysroot.
15397
f28a0564
SM
153982014-11-27 Simon Marchi <simon.marchi@ericsson.com>
15399
15400 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
15401 test expected output. Add parentheses for the call to print.
15402 Remove L suffix from integers.
15403
3fe1ce1d
DE
154042014-11-26 Doug Evans <dje@google.com>
15405
15406 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
15407
84429e27
YQ
154082014-11-22 Yao Qi <yao@codesourcery.com>
15409
15410 * gdb.trace/entry-values.c: Remove asms.
15411 (foo): Add foo_label.
15412 (bar): Add bar_label.
15413 * gdb.trace/entry-values.exp: Remove code computing foo's
15414 length and bar's length.
15415 (Dwarf::assemble): Invoke function_range for bar and use
15416 MACRO_AT_func for foo.
15417
26741859
YQ
154182014-11-22 Yao Qi <yao@codesourcery.com>
15419
15420 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
15421 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
15422 Use .Lgcc43_procstart instead of gcc43.
15423
45e44d27
JB
154242014-11-21 Joel Brobecker <brobecker@adacore.com>
15425
15426 * gdb.ada/n_arr_bound: New testcase.
15427
458c8db8
SDJ
154282014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
15429
15430 PR breakpoints/10737
15431 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
15432 test_catch_syscall_multi_arch.
15433 (test_catch_syscall_multi_arch): New function.
15434
43f3e411
DE
154352014-11-20 Doug Evans <xdje42@gmail.com>
15436
15437 * gdb.base/maint.exp: Update expected output.
15438
0d7b2549
AA
154392014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
15440
15441 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
15442 4-byte instruction on S390.
15443
8908fca5
JB
154442014-11-19 Joel Brobecker <brobecker@adacore.com>
15445
15446 * gdb.ada/arr_arr: New testcase.
15447
4a46959e
JB
154482014-11-19 Joel Brobecker <brobecker@adacore.com>
15449
15450 * gdb.ada/pkd_arr_elem: New Testcase.
15451
470e2f4e
LM
154522014-11-18 Luis Machado <lgustavo@codesourcery.com>
15453
15454 * gdb.reverse/break-precsave: Expect completion message for
15455 core file reads.
15456 * gdb.reverse/consecutive-precsave.exp: Likewise.
15457 * gdb.reverse/finish-precsave.exp: Likewise.
15458 * gdb.reverse/i386-precsave.exp: Likewise.
15459 * gdb.reverse/machinestate-precsave.exp: Likewise.
15460 * gdb.reverse/sigall-precsave.exp: Likewise.
15461 * gdb.reverse/solib-precsave.exp: Likewise.
15462 * gdb.reverse/step-precsave.exp: Likewise.
15463 * gdb.reverse/until-precsave.exp: Likewise.
15464 * gdb.reverse/watch-precsave.exp: Likewise.
15465
a267f3ad
AA
154662014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15467
15468 * gdb.base/bp-permanent.c: Include unistd.h.
15469 * gdb.python/py-framefilter-mi.c (main): Add return type.
15470 * gdb.python/py-framefilter.c (main): Likewise.
15471 * gdb.trace/actions-changed.c (main): Likewise.
15472
12084a9a
AA
154732014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15474
15475 * gdb.mi/until.c: Add eye-catchers.
15476 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
15477 line numbers.
15478
dc7e1a77
AA
154792014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15480
15481 * gdb.base/condbreak.exp: Drop references to removed non-prototype
15482 function header variants in break1.c.
15483 * gdb.base/ena-dis-br.exp: Likewise.
15484 * gdb.base/hbreak2.exp: Likewise.
15485 * gdb.reverse/until-precsave.exp: Drop references to removed
15486 non-prototype function header variants in ur1.c.
15487 * gdb.reverse/until-reverse.exp: Likewise.
15488
41c77605
PM
154892014-11-17 Petr Machata <pmachata@redhat.com>
15490
15491 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
15492 ${_cu_offset_size} bytes abbrev offset.
15493
34248c3a
DE
154942014-11-15 Doug Evans <xdje42@gmail.com>
15495
15496 PR symtab/17559
15497 * gdb.base/line-symtabs.exp: New file.
15498 * gdb.base/line-symtabs.c: New file.
15499 * gdb.base/line-symtabs.h: New file.
15500
646da059
YQ
155012014-11-14 Yao Qi <yao@codesourcery.com>
15502
15503 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
15504 (func): Add label func_label.
15505 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
15506 Replace low_pc and high_pc with MACRO_AT_range.
15507 Replace name, low_pc and high_pc with MACRO_AT_func.
15508
9301ebe6
YQ
155092014-11-14 Yao Qi <yao@codesourcery.com>
15510
15511 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
15512 Replace name, low_pc and high_pc with MACRO_AT_func.
15513
f166b542
YQ
155142014-11-14 Yao Qi <yao@codesourcery.com>
15515
15516 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
15517 produce debug information.
15518 * gdb.dwarf2/implptr-optimized-out.S: Removed.
15519
0f6e71e3
YQ
155202014-11-14 Yao Qi <yao@codesourcery.com>
15521
15522 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
15523 object and get function length.
15524 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
15525 with MACRO_AT_func.
15526 (top-level): Replace gdb_compile and clean_restart with
15527 prepare_for_testing.
15528 * gdb.dwarf2/main.c (main): Add label main_label.
15529
876c4df9
YQ
155302014-11-14 Yao Qi <yao@codesourcery.com>
15531
15532 * lib/dwarf.exp (function_range): New procedure.
15533 (Dwarf::_handle_macro_at_func): New procedure.
15534 (Dwarf::_handle_macro_at_range): New procedure.
15535 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
15536
02ad9cf1
YQ
155372014-11-14 Yao Qi <yao@codesourcery.com>
15538
15539 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
15540 (_handle_attribute): New procedure.
15541
a59add0c
AA
155422014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15543
15544 * gdb.ada/cond_lang/foo.c (callme): Add return type.
15545 * gdb.base/call-sc.c (zed): Likewise.
15546 * gdb.base/checkpoint.c (main): Likewise.
15547 * gdb.base/dump.c (main): Likewise.
15548 * gdb.base/gcore.c (main): Likewise.
15549 * gdb.base/huge.c (main): Likewise.
15550 * gdb.base/multi-forks.c (main): Likewise.
15551 * gdb.base/pr10179-a.c (main): Likewise.
15552 * gdb.base/savedregs.c (main): Likewise.
15553 * gdb.base/sigaltstack.c (main): Likewise.
15554 * gdb.base/siginfo.c (main): Likewise.
15555 * gdb.base/structs.c (zed): Likewise.
15556 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
15557 * gdb.mi/mi-syn-frame.c (main): Likewise.
15558 * gdb.mi/until.c (foo, main): Likewise.
15559 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
15560 * gdb.base/solib-weak.c (foo): Declare.
15561 * gdb.base/attach-twice.c: Include stdio.h.
15562 * gdb.base/weaklib1.c: Likewise.
15563 * gdb.base/weaklib2.c: Likewise.
15564 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
15565 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
15566 unistd.h.
15567 * gdb.base/attach-pie-misread.c: Include stdlib.h.
15568 * gdb.mi/mi-exit-code.c: Likewise.
15569 * gdb.base/break-interp-lib.c: Include string.h.
15570 * gdb.base/coremaker.c: Likewise.
15571 * gdb.base/testenv.c: Likewise.
15572 * gdb.python/py-finish-breakpoint.c: Likewise.
15573 * gdb.base/inferior-died.c: Include sys/wait.h.
15574 * gdb.base/fileio.c: Include time.h.
15575 * gdb.base/async-shell.c: Include unistd.h.
15576 * gdb.base/dprintf-non-stop.c: Likewise.
15577 * gdb.base/info-os.c: Likewise.
15578 * gdb.mi/mi-console.c: Likewise.
15579 * gdb.mi/watch-nonstop.c: Likewise.
15580 * gdb.python/py-events.c: Likewise.
15581 * gdb.base/async.c (baz): Move up before its invocation.
15582 * gdb.base/code_elim2.c (my_global_func): Likewise.
15583 * gdb.base/skip-solib-lib.c (multiply): Likewise.
15584 * gdb.base/advance.c (func2): Likewise.
15585
3b5d5997
AA
155862014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15587
15588 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
15589 variant.
15590 * gdb.base/annota3.c: Likewise.
15591 * gdb.base/async.c: Likewise.
15592 * gdb.base/average.c: Likewise.
15593 * gdb.base/call-ar-st.c: Likewise.
15594 * gdb.base/call-rt-st.c: Likewise.
15595 * gdb.base/call-sc.c: Likewise.
15596 * gdb.base/call-strs.c: Likewise.
15597 * gdb.base/ending-run.c: Likewise.
15598 * gdb.base/execd-prog.c: Likewise.
15599 * gdb.base/exprs.c: Likewise.
15600 * gdb.base/foll-exec.c: Likewise.
15601 * gdb.base/foll-fork.c: Likewise.
15602 * gdb.base/foll-vfork.c: Likewise.
15603 * gdb.base/funcargs.c: Likewise.
15604 * gdb.base/gcore.c: Likewise.
15605 * gdb.base/jump.c: Likewise.
15606 * gdb.base/langs0.c: Likewise.
15607 * gdb.base/langs1.c: Likewise.
15608 * gdb.base/langs2.c: Likewise.
15609 * gdb.base/mips_pro.c: Likewise.
15610 * gdb.base/nodebug.c: Likewise.
15611 * gdb.base/opaque0.c: Likewise.
15612 * gdb.base/opaque1.c: Likewise.
15613 * gdb.base/recurse.c: Likewise.
15614 * gdb.base/run.c: Likewise.
15615 * gdb.base/scope0.c: Likewise.
15616 * gdb.base/scope1.c: Likewise.
15617 * gdb.base/setshow.c: Likewise.
15618 * gdb.base/setvar.c: Likewise.
15619 * gdb.base/shmain.c: Likewise.
15620 * gdb.base/shr1.c: Likewise.
15621 * gdb.base/shr2.c: Likewise.
15622 * gdb.base/sigall.c: Likewise.
15623 * gdb.base/signals.c: Likewise.
15624 * gdb.base/so-indr-cl.c: Likewise.
15625 * gdb.base/solib2.c: Likewise.
15626 * gdb.base/structs.c: Likewise.
15627 * gdb.base/sum.c: Likewise.
15628 * gdb.base/vforked-prog.c: Likewise.
15629 * gdb.base/watchpoint.c: Likewise.
15630 * gdb.reverse/shr2.c: Likewise.
15631 * gdb.reverse/until-reverse.c: Likewise.
15632 * gdb.reverse/ur1.c: Likewise.
15633 * gdb.reverse/watch-reverse.c: Likewise.
15634
066a77c5
AA
156352014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15636
15637 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
15638 variant.
15639 * gdb.base/sepdebug.exp: Drop references to removed code.
15640
4f204ea5
AA
156412014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15642
15643 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
15644 variant. Preserve original line numbering.
15645 * gdb.base/list1.c: Likewise.
15646
3b377a3a
AA
156472014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15648
15649 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
15650 variant.
15651 * gdb.base/break1.c: Likewise.
15652 * gdb.base/break.exp: Drop references to removed code.
15653
e444df73
AA
156542014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15655
15656 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
15657 variant.
15658
8008f2a7
AA
156592014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15660
15661 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
15662
a5a06887
AA
156632014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15664
15665 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
15666 logic into perform_all_tests() and invoke it with and without
15667 function header prototypes.
15668 (do_function_calls): Remove conditional XFAIL for PR 5318.
15669 (rerun_and_prepare): Remove duplicate code.
15670 (perform_all_tests): New. Main logic moved here.
15671
44dba9b9
AA
156722014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15673
15674 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
15675 code guarded by #ifdef NO_PROTOTYPES.
15676 (t_double_many_args): Likewise.
15677 (DEF_FUNC_MANY_ARGS_1): Likewise.
15678 (DEF_FUNC_VALUES_1): Likewise.
15679 (t_structs_ldc): Renamed from t_structs_fc in conditional code
15680 guarded by #ifdef PROTOTYPES.
15681
d1fbcd56
AA
156822014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15683
15684 * gdb.mi/mi-console.c: Add eye-catcher.
15685 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
15686 instead of literal line number.
15687
b0e59b8f
AA
156882014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15689
15690 * gdb.base/shr2.c: Add eye-catcher.
15691 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
15692 line number.
15693
78f98cca
AA
156942014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15695
15696 * gdb.base/jump.c: Add eye-catchers.
15697 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
15698 numbers.
15699
58fa2af0
AA
157002014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15701
15702 * gdb.base/execd-prog.c: Add eye-catchers.
15703 * gdb.base/foll-exec.c: Likewise.
15704 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
15705 line numbers.
15706
04e5059b
AA
157072014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15708
15709 * gdb.base/ending-run.c: Add eye-catchers.
15710 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
15711 literal line numbers.
15712
dbfdb174
AA
157132014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15714
15715 * gdb.base/call-rt-st.c: Add eye-catchers.
15716 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
15717 literal line numbers.
15718
888a2ade
AA
157192014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15720
15721 * gdb.base/call-ar-st.c: Add eye-catchers.
15722 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
15723 literal line numbers.
15724
6acc2dde
AA
157252014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15726
15727 * gdb.base/average.c: Add eye-catchers.
15728 * gdb.base/sum.c: Likewise.
15729 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
15730 regexps dynamically.
15731
9ecfcd1d
AA
157322014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15733
15734 * gdb.base/solib1.c: Add eye-catchers.
15735 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
15736 literal line numbers.
15737
78708b7c
PA
157382014-11-12 Pedro Alves <palves@redhat.com>
15739
15740 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
15741 leader has exited.
15742
af48d08f
PA
157432014-11-12 Pedro Alves <palves@redhat.com>
15744
15745 * gdb.arch/i386-bp_permanent.c: New file.
15746 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
15747 (srcfile): Set to i386-bp_permanent.c.
15748 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
15749 that stepi does not execute the 'leave' instruction, instead of
15750 testing it does execute.
15751 * gdb.base/bp-permanent.c: New file.
15752 * gdb.base/bp-permanent.exp: New file.
15753
af3768e9
DE
157542014-11-10 Doug Evans <xdje42@gmail.com>
15755
15756 PR symtab/17564
15757 * gdb.base/symtab-search-order.exp: New file.
15758 * gdb.base/symtab-search-order.c: New file.
15759 * gdb.base/symtab-search-order-1.c: New file.
15760 * gdb.base/symtab-search-order-shlib-1.c: New file.
15761
9de00a4a
PA
157622014-11-07 Pedro Alves <palves@redhat.com>
15763
15764 PR gdb/17511
15765 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
15766 i?86-*-linux*.
15767
e0f52461
SC
157682014-11-03 Siva Chandra Reddy <sivachandra@google.com>
15769
15770 PR c++/17494
15771 * gdb.cp/pr17494.cc: New file.
15772 * gdb.cp/pr17494.exp: New file.
15773
6ce8c980
YQ
157742014-11-02 Yao Qi <yao@codesourcery.com>
15775
15776 * gdb.python/python.exp: Get working directory and match the
15777 output of "set extended-prompt \\w " with it.
15778
02be9a71
DE
157792014-10-30 Doug Evans <dje@google.com>
15780
15781 * gdb.python/py-objfile.exp: Add tests for setting random attributes
15782 in objfiles.
15783 * gdb.python/py-progspace.exp: Add tests for setting random attributes
15784 in progspaces.
15785
3bdff46b
LM
157862014-10-30 Janis Johnson <janisjo@codesourcery.com>
15787
15788 * gdb.base/fullpath-expand.exp: Skip for a remote host.
15789 * gdb.base/realname-expand.exp: Likewise.
15790 * gdb.linespec/macro-relative.exp: Likewise.
15791
ab917dfb
PA
157922014-10-29 Pedro Alves <palves@redhat.com>
15793
15794 PR gdb/17408
15795 * gdb.threads/schedlock.c (some_function): New function.
15796 (call_function): New global.
15797 (MAYBE_CALL_SOME_FUNCTION): New macro.
15798 (thread_function): Call it.
15799 * gdb.threads/schedlock.exp (get_args): Add description parameter,
15800 and use it instead of a global counter. Adjust all callers.
15801 (get_current_thread): Use "find current thread" for test message
15802 here rather than having all callers pass down the same string.
15803 (goto_loop): New procedure, factored out from ...
15804 (my_continue): ... this.
15805 (step_ten_loops): Change parameter from test message to command to
15806 use. Adjust.
15807 (list_count): Delete global.
15808 (check_result): New procedure, factored out from duplicate top
15809 level code.
15810 (continue tests): Wrap in with_test_prefix.
15811 (test_step): New procedure, factored out from duplicate top level
15812 code.
15813 (top level): Test "step" in combination with all scheduler-locking
15814 modes. Test "next" in combination with all scheduler-locking
15815 modes, and in combination with stepping over a function call or
15816 not.
15817 * gdb.threads/next-bp-other-thread.c: New file.
15818 * gdb.threads/next-bp-other-thread.exp: New file.
15819
d3d4baed
PA
158202014-10-29 Pedro Alves <palves@redhat.com>
15821
15822 PR python/17372
15823 * gdb.python/python.exp: Test a multi-line command that spawns
15824 interactive Python.
15825 * gdb.base/multi-line-starts-subshell.exp: New file.
15826
563e8d85
YQ
158272014-10-29 Yao Qi <yao@codesourcery.com>
15828
15829 * gdb.base/fileio.exp: Make directories on host.
15830
0ea4d52e
YQ
158312014-10-29 Yao Qi <yao@codesourcery.com>
15832
15833 * gdb.base/fileio.c (test_write): Close the file.
15834
7f5ef605
PA
158352014-10-28 Pedro Alves <palves@redhat.com>
15836
15837 PR gdb/12623
15838 * gdb.base/sigstep.c (no_handler): New global.
15839 (main): If 'no_handler is true, set the signal handlers to
15840 SIG_IGN.
15841 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
15842 with_sw_watch and no_handler parameters. Handle them.
15843 (top level) <stepping over handler when stopped at a breakpoint
15844 test>: Add a test axis for testing with a software watchpoint, and
15845 another for testing with the signal handler set to SIG_IGN.
15846 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
15847 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
15848
abbdbd03
PA
158492014-10-28 Pedro Alves <palves@redhat.com>
15850
15851 PR gdb/17511
15852 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
15853 * gdb.base/sigstep.exp (other_handler_location): New global.
15854 (advance): Support stepping into the signal handler, and running
15855 commands while in the handler.
15856 (in_handler_map): New global.
15857 (top level): In the advance test, add combinations for getting
15858 into the handler with stepping commands, and for running commands
15859 in the handler. Add comment descripting the advancei tests.
15860
1df4399f
PA
158612014-10-28 Pedro Alves <palves@redhat.com>
15862
15863 * gdb.base/sigstep.exp: Use build_executable instead of
15864 prepare_for_testing.
15865 (top level): Move code that starts GDB, runs to main and creates a
15866 display to ...
15867 (restart): ... this new procedure.
15868 (top level): Move backtrace from signal handler test to ...
15869 (validate_backtrace): ... this new procedure.
15870 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
15871 with_test_prefix. Always restart GDB.
15872 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
15873 with_test_prefix. Always restart GDB. No need to delete
15874 breakpoints after the test.
15875 (test_skip_handler): Remove prefix parameter.
15876 (skip_over_handler, breakpoint_to_handler)
15877 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
15878 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
15879 restart GDB. No need to delete breakpoints after the test.
15880 (top level): Use foreach to call the test procedures with
15881 different commands.
15882
a5b6e449
PA
158832014-10-28 Pedro Alves <palves@redhat.com>
15884
15885 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
15886 instead of GNATS numbers.
15887 * gdb.base/sigbpt.exp: Likewise.
15888 * gdb.base/siginfo.exp: Likewise.
15889 * gdb.base/sigstep.exp: Likewise.
15890
e5f8a7cc
PA
158912014-10-27 Pedro Alves <palves@redhat.com>
15892
15893 * gdb.base/sigstep.c (dummy): New global.
15894 (main): Issue a couple writes to the new global.
15895 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
15896 procedures.
15897 (skip_over_handler): Use test_skip_handler.
15898 (top level): Call skip_over_handler for stepi and nexti too.
15899 (breakpoint_over_handler): Use test_skip_handler.
15900 (top level): Call breakpoint_over_handler for stepi and nexti too.
15901
763905a3
YQ
159022014-10-27 Yao Qi <yao@codesourcery.com>
15903
15904 * gdb.trace/tfile.c (adjust_function_address)
15905 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
15906 function descriptor.
15907
6f259a23
DB
159082014-10-24 Don Breazeal <donb@codesourcery.com>
15909
15910 * gdb.base/foll-fork.exp (test_follow_fork,
15911 catch_fork_child_follow): Check for updated fork messages emitted
15912 from infrun.c.
15913 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
15914 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
15915 vfork_and_exec_child_follow_through_step): Check for updated vfork
15916 messages emitted from infrun.c.
15917
09dd9a69
PA
159182014-10-24 Pedro Alves <palves@redhat.com>
15919
15920 * gdb.base/corefile.exp: Remove references to ultrix.
15921 * gdb.base/interrupt.exp: Likewise.
15922 * gdb.base/whatis.exp: Likewise.
15923 * gdb.gdb/selftest.exp: Likewise.
15924 * gdb.threads/manythreads.exp: Likewise.
15925 * gdb.threads/print-threads.exp: Likewise.
15926 * gdb.threads/pthreads.exp:: Likewise.
15927 * gdb.threads/schedlock.exp: Likewise.
15928
3433cfa5
SC
159292014-10-24 Siva Chandra Reddy <sivachandra@google.com>
15930
15931 * gdb.cp/non-trivial-retval.cc: Add a test case.
15932 * gdb.cp/non-trivial-retval.exp: Add a test.
15933
092f880b
YQ
159342014-10-20 Yao Qi <yao@codesourcery.com>
15935
15936 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
15937 * gdb.python/py-objfile-script-gdb.py: New file.
15938 * gdb.python/py-objfile-script.exp: Update reference to
15939 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
15940 of remote_download. Remove the dest file.
15941
acbdb7f3
YQ
159422014-10-20 Yao Qi <yao@codesourcery.com>
15943
15944 * gdb.base/checkpoint.exp: Don't remove file copied on host.
15945 * gdb.base/step-line.exp: Likewise.
15946 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
15947 * gdb.dwarf2/dw2-basic.exp: Likewise.
15948 * gdb.dwarf2/dw2-compressed.exp: Likewise.
15949 * gdb.dwarf2/dw2-filename.exp: Likewise.
15950 * gdb.dwarf2/dw2-intercu.exp: Likewise.
15951 * gdb.dwarf2/dw2-intermix.exp: Likewise.
15952 * gdb.dwarf2/dw2-producer.exp: Likewise.
15953 * gdb.dwarf2/mac-fileno.exp: Likewise.
15954 * gdb.python/py-frame-args.exp: Likewise.
15955 * gdb.python/py-framefilter.exp: Likewise.
15956 * gdb.python/py-mi.exp: Likewise.
15957 * gdb.python/py-objfile-script.exp: Likewise
15958 * gdb.python/py-pp-integral.exp: Likewise.
15959 * gdb.python/py-pp-re-notag.exp: Likewise.
15960 * gdb.python/py-prettyprint.exp: Likewise.
15961 * gdb.python/py-section-script.exp: Likewise.
15962 * gdb.python/py-typeprint.exp: Likewise.
15963 * gdb.python/py-xmethods.exp: Likewise.
15964 * gdb.stabs/weird.exp: Likewise.
15965 * gdb.xml/tdesc-regs.exp: Likewise.
15966
bd286a29
KCY
159672014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
15968
15969 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
15970 (out_cu): Use addr_len for the size of addresses.
15971 (out_line): Likewise. Size DW_LNE_set_address instruction
15972 according to addr_len.
15973 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
15974 (FUNC): Add START_INSNS to definition.
15975
673dc4a0
YQ
159762014-10-18 Yao Qi <yao@codesourcery.com>
15977
15978 * gdb.base/argv0-symlink.exp: Check argv[0] value if
15979 gdb_has_argv0 return true.
15980 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
15981 check [target_info exists noargs], check [gdb_has_argv0]
15982 instead.
15983 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
15984 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
15985 procedures.
15986
4ffbba72
DE
159872014-10-17 Doug Evans <dje@google.com>
15988
15989 * gdb.python/py-events.exp: Update expected output for clear_objfiles
15990 event.
15991 * gdb.python/py-events.py: Add clear_objfiles event.
15992
d096d8c1
DE
159932014-10-17 Doug Evans <dje@google.com>
15994
15995 * gdb.python/py-objfile.exp: Test progspace attribute.
15996
a80db015
LM
159972014-10-17 Luis Machado <lgustavo@codesourcery.com>
15998
15999 * gdb.guile/scm-breakpoint.exp: Do not assume any
16000 directory separators when matching source file paths.
16001 * gdb.python/py-breakpoint.exp: Likewise.
16002 * gdb.reverse/break-precsave.exp: Likewise.
16003 * gdb.reverse/break-reverse.exp: Likewise.
16004 * gdb.reverse/consecutive-precsave.exp: Likewise.
16005 * gdb.reverse/finish-precsave.exp: Likewise.
16006 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
16007 * gdb.reverse/finish-reverse.exp: Likewise.
16008 * gdb.reverse/i386-precsave.exp: Likewise.
16009 * gdb.reverse/i387-env-reverse.exp: Likewise.
16010 * gdb.reverse/i387-stack-reverse.exp: Likewise.
16011 * gdb.reverse/machinestate-precsave.exp: Likewise.
16012 * gdb.reverse/machinestate.exp: Likewise.
16013 * gdb.reverse/sigall-precsave.exp: Likewise.
16014 * gdb.reverse/solib-precsave.exp: Likewise.
16015 * gdb.reverse/step-precsave.exp: Likewise.
16016 * gdb.reverse/until-precsave.exp: Likewise.
16017 * gdb.reverse/watch-precsave.exp: Likewise.
16018 * gdb.reverse/watch-reverse.exp: Likewise.
16019
b22089ab
YQ
160202014-10-17 Yao Qi <yao@codesourcery.com>
16021
16022 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
16023 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
16024
6c4486e6
PA
160252014-10-17 Pedro Alves <palves@redhat.com>
16026
16027 PR gdb/17471
16028 * gdb.base/bg-execution-repeat.c: New file.
16029 * gdb.base/bg-execution-repeat.exp: New file.
16030
0ff33695
PA
160312014-10-17 Pedro Alves <palves@redhat.com>
16032
16033 PR gdb/17300
16034 * gdb.base/continue-all-already-running.c: New file.
16035 * gdb.base/continue-all-already-running.exp: New file.
16036
6fdebc3d
PA
160372014-10-17 Pedro Alves <palves@redhat.com>
16038
16039 PR gdb/17472
16040 * gdb.base/annota-input-while-running.c: New file.
16041 * gdb.base/annota-input-while-running.exp: New file.
16042
32a8097b
PA
160432014-10-17 Pedro Alves <palves@redhat.com>
16044
16045 * gdb.base/callfuncs.exp: emove references to osf.
16046 * gdb.base/sigall.exp: Likewise.
16047 * gdb.gdb/selftest.exp: Likewise.
16048 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
16049 * gdb.mi/non-stop.c: Likewise.
16050 * gdb.mi/pthreads.c: Likewise.
16051 * gdb.reverse/sigall-precsave.exp: Likewise.
16052 * gdb.reverse/sigall-reverse.exp: Likewise.
16053 * gdb.threads/pthreads.c: Likewise.
16054 * gdb.threads/pthreads.exp: Likewise.
16055
7a3517ff
YQ
160562014-10-17 Yao Qi <yao@codesourcery.com>
16057
16058 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
16059 check 'target_info exists noargs'.
16060 (test_command_prompt_position): Likewise.
16061 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
16062 Remove "set args".
16063 (progvar_simple_while_test): Likewise.
16064 (progvar_complex_if_while_test): Likewise.
16065 (if_while_breakpoint_command_test): Likewise.
16066 (infrun_breakpoint_command_test): Likewise.
16067 (breakpoint_command_test): Likewise.
16068 (watchpoint_command_test): Likewise.
16069 (bp_deleted_in_command_test): Likewise.
16070 (temporary_breakpoint_commands): Likewise.
16071
bb99c472
YQ
160722014-10-16 Yao Qi <yao@codesourcery.com>
16073
16074 * gdb.base/remotetimeout.exp: Remove noargs checking.
16075
7c16b83e
PA
160762014-10-15 Pedro Alves <palves@redhat.com>
16077
16078 PR breakpoints/9649
16079 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
16080 * gdb.base/breakpoint-in-ro-region.exp
16081 (probe_target_hardware_step): New procedure.
16082 (top level): Probe hardware stepping and hardware breakpoint
16083 support. Test stepping through a read-only region, with both
16084 "breakpoint auto-hw" on and off and both "always-inserted" on and
16085 off.
16086
35a49624
IB
160872014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
16088
16089 * gdb.dlang/demangle.exp: Update for demangling changes.
16090
2d1c107c
SC
160912014-10-15 Siva Chandra Reddy <sivachandra@google.com>
16092
16093 * gdb.cp/non-trivial-retval.cc: Add new test cases.
16094 * gdb.cp/non-trivial-retval.exp: Add new tests.
16095
778811d5
SC
160962014-10-15 Siva Chandra Reddy <sivachandra@google.com>
16097
16098 PR c++/13403
16099 PR c++/15154
16100 * gdb.cp/non-trivial-retval.cc: New file.
16101 * gdb.cp/non-trivial-retval.exp: New file.
16102
10c5f0a8
YQ
161032014-10-15 Yao Qi <yao@codesourcery.com>
16104
16105 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
16106 remote host.
16107
65d7b369
YQ
161082014-10-15 Yao Qi <yao@codesourcery.com>
16109
16110 * gdb.python/py-symbol.exp: Match file base name if host is
16111 remote, otherwise match file name with dir name.
16112 * gdb.python/py-symtab.exp: Likewise.
16113 * gdb.python/python.exp: Likewise.
16114
46dc1394
YQ
161152014-10-15 Yao Qi <yao@codesourcery.com>
16116
16117 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
16118 pattern.
16119 * gdb.python/py-symtab.exp: Likewise.
16120 * gdb.python/python.exp: Remove trailing ".*". Fix typo
16121 locationn.
16122
c40cc657
JB
161232014-10-14 Joel Brobecker <brobecker@adacore.com>
16124
16125 * gdb.ada/addr_arith: New testcase.
16126
2abf49e1
MR
161272014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
16128
16129 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
16130 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
16131 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
16132 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
16133
f7088df3
SDJ
161342014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
16135
16136 * gdb.arch/stap-eval-lang-ada.S: Likewise.
16137 * gdb.arch/stap-eval-lang-ada.c: Likewise.
16138 * gdb.arch/stap-eval-lang-ada.exp: New file.
16139
4dc06805
YQ
161402014-10-14 Yao Qi <yao@codesourcery.com>
16141
16142 * gdb.mi/mi-var-child.c (nothing1): New function.
16143 (nothing2): New function.
16144 (do_children_tests): Set function pointers by nothing1 and
16145 nothing2.
16146 * gdb.mi/mi-var-child.exp: Step over new added statements.
16147 Update test to match the new output.
16148 * gdb.mi/var-cmd.c (nothing1): New function.
16149 (nothing2): New function.
16150 (do_children_tests): Set function pointers by nothing1 and
16151 nothing2.
16152 * gdb.mi/mi-var-display.exp: Update test to match output.
16153 Step to the line specified by $line_dct_nothing.
16154 Increase the number of lines to step.
16155
46a93de2
YQ
161562014-10-14 Yao Qi <yao@codesourcery.com>
16157
16158 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
16159 tests.
16160 * gdb.mi/mi2-var-child.exp: Likewise.
16161
14ea52ee
DE
161622014-10-13 Doug Evans <dje@google.com>
16163
16164 * gdb.python/py-objfile.exp: Change name of file name test.
16165
e5c6e92b
DE
161662014-10-13 Doug Evans <dje@google.com>
16167
16168 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
16169 from the start of the CU.
16170
c780cc2f
JK
161712014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
16172 Yao Qi <yao@codesourcery.com>
16173
16174 Fix "save breakpoints" for "catch" command.
16175 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
16176 Remove -nonewline. Match also the added "main" line.
16177
99894e11
JK
161782014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16179
16180 Fix "save breakpoints" for "disable $bpnum" command.
16181 * gdb.base/save-bp.c (main): Add label.
16182 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
16183
6e1ac5a3
JK
161842014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16185
16186 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
16187
754dd2b0
YQ
161882014-10-11 Yao Qi <yao@codesourcery.com>
16189
16190 * gdb.server/server-kill.exp: Execute command
16191 "set remote trace-status-packet on" before "tstatus".
16192
f90183d7
YQ
161932014-10-11 Yao Qi <yao@codesourcery.com>
16194
16195 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
16196 (main): Call getppid.
16197 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
16198 and continue to it. Read variable "server_pid".
16199
bf40a607
YQ
162002014-10-11 Yao Qi <yao@codesourcery.com>
16201
16202 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
16203
052ca370
YQ
162042014-10-11 Yao Qi <yao@codesourcery.com>
16205
16206 * gdb.threads/thread-find.exp: Don't execute command
16207 "info threads".
16208 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
16209 * gdb.threads/linux-dp.exp: Don't check the condition
16210 $threads_created equals to zero.
16211
3831839c
PA
162122014-10-10 Pedro Alves <palves@redhat.com>
16213
16214 * gdb.base/bigcore.exp: Remove references to IRIX.
16215 * gdb.base/funcargs.exp: Likewise.
16216 * gdb.base/interrupt.exp: Likewise.
16217 * gdb.base/mips_pro.exp: Likewise.
16218 * gdb.base/nodebug.exp: Likewise.
16219 * gdb.base/setvar.exp: Likewise.
16220 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
16221
8b9a549d
PA
162222014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
16223 Pedro Alves <palves@redhat.com>
16224
16225 PR symtab/14466
16226 * gdb.base/vdso-warning.c: New file.
16227 * gdb.base/vdso-warning.exp: New file.
16228
d48ba5e8
DE
162292014-10-02 Doug Evans <dje@google.com>
16230
16231 * gdb.base/structs.c (main): Don't run forever.
16232
2278c276
PA
162332014-10-02 Pedro Alves <palves@redhat.com>
16234
16235 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
16236 (top level) <stop threads 1, stop threads 2>: Use it.
16237
b57bacec
PA
162382014-10-02 Pedro Alves <palves@redhat.com>
16239
16240 * gdb.threads/break-while-running.exp (test): Add new
16241 'update_thread_list' argument. Skip "info threads" if false.
16242 (top level): Add new 'update_thread_list' axis.
16243
13fd3ff3
PA
162442014-10-02 Pedro Alves <palves@redhat.com>
16245
16246 PR breakpoints/17431
16247 * gdb.base/execl-update-breakpoints.c: New file.
16248 * gdb.base/execl-update-breakpoints.exp: New file.
16249
0fec99e8
PA
162502014-10-01 Pedro Alves <palves@redhat.com>
16251
16252 * gdb.base/breakpoint-in-ro-region.c: New file.
16253 * gdb.base/breakpoint-in-ro-region.exp: New file.
16254
2ddf4301
SM
162552014-10-01 Simon Marchi <simon.marchi@ericsson.com>
16256
16257 * gdb.mi/mi-exit-code.exp: New file.
16258 * gdb.mi/mi-exit-code.c: New file.
16259
6a5f3f43
YQ
162602014-09-30 Yao Qi <yao@codesourcery.com>
16261
16262 * lib/prelink-support.exp (build_executable_own_libs): Error if
16263 the target isn't native.
16264
345bcc73
YQ
162652014-09-30 Yao Qi <yao@codesourcery.com>
16266
16267 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
16268 false.
16269
a25a5a45
PA
162702014-09-22 Pedro Alves <palves@redhat.com>
16271
16272 * gdb.threads/break-while-running.exp: New file.
16273 * gdb.threads/break-while-running.c: New file.
16274
00ba3162
YQ
162752014-09-19 Yao Qi <yao@codesourcery.com>
16276
16277 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
16278 Invoke test. Restart GDB with --readnow and invoke test again.
16279
c3b7b696
YQ
162802014-09-19 Yao Qi <yao@codesourcery.com>
16281
16282 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
16283 proc set_breakpoint_on_gcd_function. Invoke
16284 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
16285 invoke set_breakpoint_on_gcd_function again.
16286
2b4fd423
DE
162872014-09-18 Doug Evans <dje@google.com>
16288
16289 * gdb.dwarf2/symtab-producer.exp: New file.
16290
a5947601
SDJ
162912014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
16292
16293 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
16294 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
16295 * gdb.base/global-var-nested-by-dso.c: Likewise.
16296 * gdb.base/global-var-nested-by-dso.exp: Likewise.
16297
91c19059
SDJ
162982014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
16299 Pedro Alves <palves@redhat.com>
16300
16301 * gdb.base/watch-bitfields.exp: Pass string other than test file
16302 name to prepare_for_testing.
16303 (watch): New procedure.
16304 (expect_watchpoint): Use with_test_prefix.
16305 (top level): Factor out tests to ...
16306 (test_watch_location, test_regular_watch): ... these new
16307 procedures, and use with_test_prefix and gdb_continue_to_end.
16308
bb9d5f81
PP
163092014-09-16 Patrick Palka <patrick@parcs.ath.cx>
16310
16311 PR breakpoints/12526
16312 * gdb.base/watch-bitfields.exp: New file.
16313 * gdb.base/watch-bitfields.c: New file.
16314
635856f5
PA
163152014-09-16 Pedro Alves <palves@redhat.com>
16316
16317 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
16318 software and hardware addresses, not software address against
16319 itself.
16320
7280ceea
PA
163212014-09-16 Pedro Alves <palves@redhat.com>
16322
16323 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
16324 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
16325
428b16bd
PA
163262014-09-16 Pedro Alves <palves@redhat.com>
16327
16328 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
16329 files.
16330 * gdb.base/a2-run.exp: Remove all code guarded by istarget
16331 "*-*-vxworks*" throughout.
16332 * gdb.base/break.exp: Likewise.
16333 * gdb.base/default.exp: Likewise.
16334 * gdb.base/scope.exp: Likewise.
16335 * gdb.base/sepdebug.exp: Likewise.
16336 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
16337 throughout.
16338 * gdb.base/run.c: Likewise.
16339 * gdb.base/sepdebug.c: Likewise.
16340 * gdb.hp/gdb.aCC/run.c: Likewise.
16341 * gdb.reverse/until-reverse.c: Likewise.
16342 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
16343
666d413c
YQ
163442014-09-16 Yao Qi <yao@codesourcery.com>
16345
16346 * boards/local-remote-host-native.exp: New file.
16347
57cbd724
DE
163482014-09-14 Doug Evans <xdje42@gmail.com>
16349
16350 * gdb.threads/queue-signal.c (thread_count): New variable.
16351 (thread_count_mutex, thread_count_condvar): New variables.
16352 (incr_thread_count, wait_all_threads_running): New functions.
16353 (main): Wait for all threads to be in their thread functions.
16354
81219e53
DE
163552014-09-13 Doug Evans <xdje42@gmail.com>
16356
16357 * gdb.threads/queue-signal.c: New file.
16358 * gdb.threads/queue-signal.exp: New file.
16359
3714cea7
DE
163602014-09-13 Doug Evans <xdje42@gmail.com>
16361
16362 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
16363 be consistent with what default_gdb_init uses.
16364 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
16365 the plain text of the prompt. Add some logging printfs.
16366 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
16367
fa43b1d7
PA
163682014-09-12 Pedro Alves <palves@redhat.com>
16369
16370 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
16371 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
16372 * gdb.arch/i386-size-overlap.exp: Likewise.
16373 * gdb.arch/i386-size.exp: Likewise.
16374 * gdb.arch/i386-unwind.exp: Likewise.
16375 * gdb.base/a2-run.exp: Likewise.
16376 * gdb.base/break.exp: Likewise.
16377 * gdb.base/charset.exp: Likewise.
16378 * gdb.base/chng-syms.exp: Likewise.
16379 * gdb.base/commands.exp: Likewise.
16380 * gdb.base/dbx.exp: Likewise.
16381 * gdb.base/find.exp: Likewise.
16382 * gdb.base/funcargs.exp: Likewise.
16383 * gdb.base/jit-simple.exp: Likewise.
16384 * gdb.base/reread.exp: Likewise.
16385 * gdb.base/sepdebug.exp: Likewise.
16386 * gdb.base/step-bt.exp: Likewise.
16387 * gdb.cp/mb-inline.exp: Likewise.
16388 * gdb.cp/mb-templates.exp: Likewise.
16389 * gdb.objc/basicclass.exp: Likewise.
16390 * gdb.threads/killed.exp: Likewise.
16391
9d9bf2df
EBM
163922014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16393
16394 PR tdep/17379
16395 * gdb.arch/powerpc-stackless.S: New file.
16396 * gdb.arch/powerpc-stackless.exp: New file.
16397
1cf2f1b0
JK
163982014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16399
16400 * gdb.base/attach.c: Include unistd.h.
16401 (main): Call alarm. Add label postloop.
16402 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
16403 gdb_breakpoint, gdb_continue_to_breakpoint.
16404 (test_command_line_attach_run): Kill ${testpid} in one exit path.
16405
98880d46
PA
164062014-09-11 Pedro Alves <palves@redhat.com>
16407
16408 PR gdb/17347
16409 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
16410 * gdb.base/attach.exp (test_command_line_attach_run): New
16411 procedure.
16412 (top level): Call it.
16413
4c92ff2c
PA
164142014-09-11 Pedro Alves <palves@redhat.com>
16415
16416 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
16417 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
16418 (do_command_attach_tests): Use spawn_wait_for_attach.
16419 * gdb.base/solib-overlap.exp: Likewise.
16420 * gdb.multi/multi-attach.exp: Likewise.
16421 * gdb.python/py-prompt.exp: Likewise.
16422 * gdb.python/py-sync-interp.exp: Likewise.
16423 * gdb.server/ext-attach.exp: Likewise.
16424
3adc1a7d
GKB
164252014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
16426
16427 * gdb.fortran/array-element.exp: Remove unexpected "continue"
16428 command in testcase. Simplify testcase.
16429
96334934
JB
164302014-09-10 Joel Brobecker <brobecker@adacore.com>
16431
16432 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
16433
eb479039
JB
164342014-09-10 Joel Brobecker <brobecker@adacore.com>
16435
16436 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
16437
deede10c
JB
164382014-09-10 Joel Brobecker <brobecker@adacore.com>
16439
16440 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
16441
7828a5f5
JB
164422014-09-10 Joel Brobecker <brobecker@adacore.com>
16443
16444 * gdb.dwarf2/dynarr-ptr.c: New file.
16445 * gdb.dwarf2/dynarr-ptr.exp: New file.
16446
33aeebcf
MR
164472014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16448
16449 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
16450 of 30 rather than hardcoding 120 for a slow test case. Take the
16451 `gdb,timeout' target setting into account for this calculation.
16452 Don't extend the timeout for the test cases that don't need it.
16453
7b415901
MR
164542014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16455
16456 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
16457 a factor of 2 for a slow test case. Take the `gdb,timeout'
16458 target setting into account for this calculation.
16459 * gdb.reverse/until-precsave.exp: Increase the timeout by
16460 a factor of 15 and 3 respectively rather than adding 120
16461 for a pair of slow test cases. Take the `gdb,timeout'
16462 target setting into account for this calculation.
16463
4a40f85a
MR
164642014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16465
16466 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
16467 timeout, don't pass one down to gdb_expect.
16468 (gdb_expect): Rework timeout selection.
16469
09635af7
MR
164702014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16471
16472 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
16473 exception on timeout.
16474 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
16475 (gdbserver_start_extended): Catch any `gdbserver_start' error
16476 exceptions.
16477 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
16478 * lib/mi-support.exp (mi_gdb_target_load): Catch any
16479 `gdbserver_gdb_load' error exceptions.
16480
2bdd10b7
MR
164812014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16482
16483 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
16484 120 on waiting for the TCP socket to open.
16485
316935f0
DE
164862014-09-09 Doug Evans <xdje42@gmail.com>
16487
16488 * gdb.base/default.exp (show_conv_list): Add _caller_is,
16489 _caller_matches, _any_caller_is, _any_caller_matches.
16490
83740597
DE
164912014-09-09 Doug Evans <xdje42@gmail.com>
16492
16493 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
16494
4c122fc3
YQ
164952014-09-09 Yao Qi <yao@codesourcery.com>
16496
16497 * gdb.mi/mi-var-display.exp: Set print symbol off.
16498
a9f116cb
GKB
164992014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
16500
16501 PR gdb/17035
16502 * gdb.base/commands.exp: Add tests to verify user-defined
16503 commands with empty bodies.
16504 * gdb.python/py-cmd.exp: Test that we don't show user-defined
16505 python commands in `show user command`.
16506 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
16507 scheme commands in `show user command`.
16508
c75bd3a2
JK
165092014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16510
16511 PR python/17355
16512 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
16513 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
16514 * gdb.python/py-framefilter-invalidarg.exp: New file.
16515 * gdb.python/py-framefilter-invalidarg.py: New file.
16516
faa42425
DE
165172014-09-06 Doug Evans <xdje42@gmail.com>
16518
16519 PR 15276
16520 * gdb.python/py-caller-is.c: New file.
16521 * gdb.python/py-caller-is.exp: New file.
16522
474ca4f6
SDJ
165232014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
16524
16525 PR gdb/17235
16526 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
16527 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
16528
eb0b0463
SDJ
165292014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
16530
16531 PR fortran/17237
16532 * gdb.fortran/print-formatted.exp: New file.
16533 * gdb.fortran/print-formatted.f90: Likewise.
16534
5f3b99cf
SS
165352014-09-03 Sasha Smundak <asmundak@google.com>
16536
16537 * gdb.python/py-frame.exp: Test Frame.read_register.
16538
7d793aa9
SDJ
165392014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
16540
16541 PR python/16699
16542 * gdb.python/py-completion.exp: New file.
16543 * gdb.python/py-completion.py: Likewise.
16544
fb0576e9
DE
165452014-08-28 Doug Evans <dje@google.com>
16546
16547 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
16548 eax,etc. are live with values set by gdb and thus the compiler can't
16549 use them.
16550 * gdb.arch/i386-pseudo.c (main): Ditto.
16551
ee92b0dd
DE
165522014-08-27 Doug Evans <dje@google.com>
16553
16554 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
16555
6649db35
DE
165562014-08-25 Doug Evans <dje@google.com>
16557
16558 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
16559 (main): Ditto.
16560
564b7600
DE
165612014-08-25 Doug Evans <dje@google.com>
16562
16563 * gdb.threads/thread-execl.exp: #include <stdio.h>.
16564
3881fb67
YQ
165652014-08-24 Yao Qi <yao@codesourcery.com>
16566
16567 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
16568 symbol off.
16569 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
16570
a05a36a5
DE
165712014-08-22 Doug Evans <dje@google.com>
16572
16573 PR 17276
16574 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
16575 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
16576 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
16577
7c343b48
YQ
165782014-08-22 Yao Qi <yao@codesourcery.com>
16579
16580 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
16581 * gdb.python/py-finish-breakpoint2.exp: Likewise.
16582 * gdb.python/python.exp: Likewise. Use .py file on the host
16583 instead of the build.
16584
22fd09ae
JK
165852014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16586
16587 * gdb.threads/gcore-stale-thread.c: New file.
16588 * gdb.threads/gcore-stale-thread.exp: New file.
16589
a8454a7c
PA
165902014-08-21 Pedro Alves <palves@redhat.com>
16591
16592 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
16593 * gdb.base/gcore-relro-pie.exp: Likewise.
16594 * gdb.base/gcore-relro.exp: Likewise.
16595 * gdb.base/gcore.exp: Likewise.
16596 * gdb.base/print-symbol-loading.exp: Likewise.
16597 * gdb.threads/gcore-thread.exp: Likewise.
16598 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
16599
2a31c623
PA
166002014-08-20 Pedro Alves <palves@redhat.com>
16601 Jan Kratochvil <jan.kratochvil@redhat.com>
16602
16603 * Makefile.in (EXTRA_RULES, CC): New variables, get from
16604 configure.
16605 (EXPECT): Handle READ1 being set.
16606 (all): Depend on EXTRA_RULES.
16607 (check-read1, expect-read1, read1.so, read1): New rules.
16608 * README (Testsuite Parameters): Document the READ1 make variable.
16609 (Race detection): New section.
16610 * configure: Regenerate.
16611 * configure.ac: If build==host==target, and running under a
16612 GNU/glibc system, add read1 to the extra Makefile rules.
16613 (EXTRA_RULES): AC_SUBST it.
16614 * lib/read1.c: New file.
16615
d36430db
JB
166162014-08-20 Joel Brobecker <brobecker@adacore.com>
16617
16618 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
16619 the handling of variables declared as a typedef to an array
16620 which a DW_AT_data_location attribute.
16621
9a0dc9e3
PA
166222014-08-19 Andrew Burgess <aburgess@broadcom.com>
16623 Pedro Alves <palves@redhat.com>
16624
16625 PR symtab/14604
16626 PR symtab/14605
16627 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
16628 gdb_test.
16629
0718a8da
PA
166302014-08-19 Pedro Alves <palves@redhat.com>
16631
16632 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
16633
13b448cd
YQ
166342014-08-19 Yao Qi <yao@codesourcery.com>
16635
16636 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
16637 right line.
16638
1cbf5077
DB
166392014-08-18 David Blaikie <dblaikie@gmail.com>
16640
16641 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
16642
bf0fae19
JB
166432014-08-18 Joel Brobecker <brobecker@adacore.com>
16644
16645 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
16646 attribute in array range.
16647
3c8c5dcc
JB
166482014-08-18 Joel Brobecker <brobecker@adacore.com>
16649
16650 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
16651
e66d4446
SC
166522014-08-15 Siva Chandra Reddy <sivachandra@google.com>
16653
16654 PR c++/17132
16655 * gdb.cp/pr17132.cc: New file.
16656 * gdb.cp/pr17132.exp: New file.
16657
940df408
SC
166582014-08-15 Siva Chandra Reddy <sivachandra@google.com>
16659
16660 * gdb.python/py-xmethods.py (A_getarrayind)
16661 (E_method_char_worker.__call__, E_method_int_worker.__call__):
16662 Use 'print' with function call syntax.
16663 (E_method_matcher.match): Fix tab vs space indentation mixup.
16664
ebcc6c3a
YQ
166652014-08-15 Yao Qi <yao@codesourcery.com>
16666
16667 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
16668 false.
16669
775e0f04
YQ
166702014-08-15 Yao Qi <yao@codesourcery.com>
16671
16672 * gdb.cp/casts.exp: Set print symbol off.
16673 * gdb.cp/class2.exp: Likewise.
16674 * gdb.cp/overload.exp: Likewise.
16675 * gdb.cp/templates.exp: Likewise.
16676
d769e349
DE
166772014-08-11 Doug Evans <dje@google.com>
16678
16679 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
16680 (test_load_shlib): Update.
16681
20c6f1e1
YQ
166822014-08-09 Yao Qi <yao@codesourcery.com>
16683
16684 * gdb.base/display.exp: Invoke is_address_zero_readable.
16685 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
16686 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
16687 * gdb.base/hbreak-unmapped.exp: Return if
16688 is_address_zero_readable returns true.
16689 * gdb.base/signest.exp: Likewise.
16690 * gdb.base/signull.exp: Likewise.
16691 * gdb.base/sigbpt.exp: Likewise.
16692 * gdb.guile/scm-disasm.exp: Do the test if
16693 is_address_zero_readable returns false.
16694 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
16695 * gdb.python/py-arch.exp: Likewise.
16696 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
16697 * lib/gdb.exp (is_address_zero_readable): New proc.
16698
5792e8e3
YQ
166992014-08-09 Yao Qi <yao@codesourcery.com>
16700
16701 PR testsuite/13443
16702 * gdb.mi/mi-var-display.exp: Make test messages unique.
16703
3cecbbbe
TT
167042014-08-04 Tom Tromey <tromey@redhat.com>
16705
16706 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
16707 target 0".
16708
00b51ff5
TT
167092014-08-04 Tom Tromey <tromey@redhat.com>
16710
16711 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
16712 "target_resume".
16713
6908c509
JB
167142014-08-01 Joel Brobecker <brobecker@adacore.com>
16715
16716 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
16717 inner_vla_struct_object_size.
16718 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
16719 as xfail.
16720
cc6563d2
PA
167212014-07-30 Pedro Alves <palves@redhat.com>
16722
16723 * gdb.threads/signal-command-handle-nopass.exp (test): Add
16724 comment.
16725
7e09a223
YQ
167262014-07-29 Yao Qi <yao@codesourcery.com>
16727
16728 PR gdb/17206
16729 * gdb.base/until-nodebug.exp: New.
16730
7ebdbe92
DE
167312014-07-28 Doug Evans <xdje42@gmail.com>
16732
16733 PR guile/17203
16734 * gdb.guile/scm-parameter.exp: Add tests for trying to create
16735 previously existing parameter, and previously ambiguously spelled
16736 parameter.
16737
fdb1adc6
WN
167382014-07-28 Will Newton <will.newton@linaro.org>
16739
16740 * gdb.base/varargs.exp: Remove KFAILs for ARM.
16741
186fcde0
DE
167422014-07-26 Ludovic Courtès <ludo@gnu.org>
16743 Doug Evans <xdje42@gmail.com>
16744
16745 PR guile/17146
16746 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
16747
70509625
PA
167482014-07-25 Pedro Alves <palves@redhat.com>
16749
16750 * gdb.threads/signal-command-handle-nopass.c: New file.
16751 * gdb.threads/signal-command-handle-nopass.exp: New file.
16752 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
16753 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
16754 * gdb.threads/signal-delivered-right-thread.c: New file.
16755 * gdb.threads/signal-delivered-right-thread.exp: New file.
16756
c3f814a1
PA
167572014-07-25 Pedro Alves <palves@redhat.com>
16758
16759 * gdb.base/double-prompt-target-event-error.exp
16760 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
16761 match.
16762 (cancel_pagination_in_target_event): Rework double prompt
16763 detection.
16764 * gdb.base/paginate-after-ctrl-c-running.exp
16765 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
16766 <return>' match.
16767 * gdb.base/paginate-bg-execution.exp
16768 (test_bg_execution_pagination_return)
16769 (test_bg_execution_pagination_cancel): Remove '-notransfer
16770 <return>' matches.
16771 * gdb.base/paginate-execution-startup.exp
16772 (test_fg_execution_pagination_return)
16773 (test_fg_execution_pagination_cancel): Remove '-notransfer
16774 <return>' matches.
16775 * gdb.base/paginate-inferior-exit.exp
16776 (test_paginate_inferior_exited): Remove '-notransfer <return>'
16777 match.
16778 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
16779 * lib/gdb.exp (pagination_prompt): Run text through
16780 string_to_regexp.
16781 (gdb_test_multiple): Match $pagination_prompt instead of
16782 "<return>".
16783 (string_to_regexp): Move to lib/gdb-utils.exp.
16784
e214cf6c
JK
167852014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16786
16787 * gdb.arch/amd64-entry-value-paramref.S: New file.
16788 * gdb.arch/amd64-entry-value-paramref.cc: New file.
16789 * gdb.arch/amd64-entry-value-paramref.exp: New file.
16790 * gdb.arch/amd64-optimout-repeat.S: New file.
16791 * gdb.arch/amd64-optimout-repeat.c: New file.
16792 * gdb.arch/amd64-optimout-repeat.exp: New file.
16793
17d0c5c8
JK
167942014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
16795
16796 PR gdb/17170
16797 * gdb.base/statistics.exp: New file.
16798
b8b8facf
DE
167992014-07-17 Doug Evans <dje@google.com>
16800
74b49205 16801 PR gdb/17170
b8b8facf
DE
16802 * gdb.base/maint.exp: Update testing of per-command stats.
16803
1b5d0ab3
PA
168042014-07-16 Pedro Alves <palves@redhat.com>
16805
16806 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
16807 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
16808 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
16809 (tfile_write_buf): New functions.
16810 (add_memory_block): Rewrite using the above.
16811 (adjust_function_address): New function.
16812 (FUNCTION_ADDRESS): New macro.
16813 (write_basic_trace_file): Remove short_x local, and use
16814 tfile_write_16. Change type of func_addr local to unsigned long
16815 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
16816 here. Cast argument of add_memory_block to char pointer.
16817 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
16818 (main): Remove parameters.
16819 * gdb.trace/tfile.exp: Remove nowarnings.
16820
4d974e88
SM
168212014-07-15 Simon Marchi <simon.marchi@ericsson.com>
16822
16823 * gdb.base/debug-expr.exp: Test string evaluation with
16824 "debug expression" on.
16825
41e99568
PA
168262014-07-15 Pedro Alves <palves@redhat.com>
16827
16828 * gdb.base/reread.exp: Use clean_restart.
16829
487d9753
PL
168302014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
16831
16832 * gdb.arch/avr-flash-qualifer.c: New.
16833 * gdb.arch/avr-flash-qualifer.exp: New.
16834
cc1c52ad
PA
168352014-07-14 Pedro Alves <palves@redhat.com>
16836
16837 * gdb.base/paginate-after-ctrl-c-running.c: New file.
16838 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
16839
1e973570
PA
168402014-07-14 Pedro Alves <palves@redhat.com>
16841
16842 * gdb.base/double-prompt-target-event-error.c: New file.
16843 * gdb.base/double-prompt-target-event-error.exp: New file.
16844
93d6eb10
PA
168452014-07-14 Pedro Alves <palves@redhat.com>
16846
16847 PR gdb/17072
16848 * gdb.base/paginate-inferior-exit.c: New file.
16849 * gdb.base/paginate-inferior-exit.exp: New file.
16850
0017922d
PA
168512014-07-14 Pedro Alves <palves@redhat.com>
16852
16853 PR gdb/17072
16854 * gdb.base/paginate-bg-execution.c: New file.
16855 * gdb.base/paginate-bg-execution.exp: New file.
16856
94696ad3
PA
168572014-07-14 Pedro Alves <palves@redhat.com>
16858
16859 PR gdb/17072
16860 * gdb.base/paginate-execution-startup.c: New file.
16861 * gdb.base/paginate-execution-startup.exp: New file.
16862 * lib/gdb.exp (pagination_prompt): New global.
16863 (default_gdb_spawn): New procedure, factored out from
16864 default_gdb_spawn.
16865 (default_gdb_start): Adjust to call default_gdb_spawn.
16866 (gdb_spawn): New procedure.
16867
bd293940
PA
168682014-07-14 Pedro Alves <palves@redhat.com>
16869
16870 * lib/gdb.exp (gdb_assert): New procedure.
16871 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
16872
c933f875
PA
168732014-07-14 Pedro Alves <palves@redhat.com>
16874
16875 * gdb.base/execution-termios.c: New file.
16876 * gdb.base/execution-termios.exp: New file.
16877
d98b7a16
TT
168782014-07-14 Tom Tromey <tromey@redhat.com>
16879
16880 * gdb.cp/vla-cxx.cc: New file.
16881 * gdb.cp/vla-cxx.exp: New file.
16882
548740d6
TT
168832014-07-14 Tom Tromey <tromey@redhat.com>
16884
16885 * gdb.reverse/rerun-prec.c: New file.
16886 * gdb.reverse/rerun-prec.exp: New file.
16887
a25eb028
MR
168882014-07-12 Maciej W. Rozycki <macro@mips.com>
16889 Maciej W. Rozycki <macro@codesourcery.com>
16890
16891 * lib/gdb-utils.exp: New file.
16892 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
16893 inline `gdb_init_command' processing.
16894 (gdb_start_cmd): Likewise.
16895 * lib/mi-support.exp (mi_run_cmd): Likewise.
16896 * README: Document `gdb_init_command' and `gdb_init_commands'.
16897
218c2655
JK
168982014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16899
16900 Fix false FAIL running under a very long directory name.
16901 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
16902 and "set print elements 10000". Twice.
16903
5401fde3
YQ
169042014-07-11 Yao Qi <yao@codesourcery.com>
16905
16906 * gdb.base/exprs.exp: "set print symbol off".
16907
e76126e8
PA
169082014-07-11 Pedro Alves <palves@redhat.com>
16909
16910 * gdb.threads/kill.c: New file.
16911 * gdb.threads/kill.exp: New file.
16912
2d6f0de6
YQ
169132014-07-10 Yao Qi <yao@codesourcery.com>
16914
16915 * gdb.trace/tfile.c (write_basic_trace_file)
16916 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
16917 address written to trace file.
16918
7180e04a
PA
169192014-07-09 Pedro Alves <palves@redhat.com>
16920
16921 * gdb.base/attach-wait-input.exp: New file.
16922 * gdb.base/attach-wait-input.c: New file.
16923
9a9a7608
AB
169242014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
16925
16926 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
16927 setting up test structures.
16928 (main): Call new test function.
16929 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
16930 test function, continue into test function and walk test
16931 structures.
16932
161ac41e
YQ
169332014-07-02 Yao Qi <yao@codesourcery.com>
16934
16935 * gdb.trace/entry-values.c: Define labels 'foo_start' and
16936 'bar_start' at the beginning of functions 'foo' and 'bar'
16937 respectively.
16938 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
16939 instead of 'foo' and 'bar'.
16940
1f267ae3
MM
169412014-07-08 Markus Metzger <markus.t.metzger@intel.com>
16942
16943 * gdb.btrace/segv.exp: New.
16944 * gdb.btrace/segv.c: New.
16945
2b239efb
LM
169462014-07-02 Luis Machado <lgustavo@codesourcery.com>
16947
16948 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
16949 instruction.
16950
cf363f18
MW
169512014-06-30 Mark Wielaard <mjw@redhat.com>
16952
16953 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
16954 vulture, vilify, villar): New volatile array constants.
16955 (vindictive, vegetation): New const volatile array constants.
16956 * gdb.base/volatile.exp: Test volatile and const volatile array
16957 types.
16958
aebf9d24
AA
169592014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
16960
16961 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
16962 target lacks support for awatch, rwatch, or hbreak.
16963
b67a2c6f
YQ
169642014-06-27 Yao Qi <yao@codesourcery.com>
16965
16966 * gdb.multi/dummy-frame-restore.exp: New.
16967 * gdb.multi/dummy-frame-restore.c: New.
16968
aef92902
MM
169692014-06-25 Markus Metzger <markus.t.metzger@intel.com>
16970
16971 * gdb.btrace/gcore.exp: New.
16972
8e9db26e
PA
169732014-06-23 Pedro Alves <palves@redhat.com>
16974
16975 * gdb.base/watchpoint-reuse-slot.c: New file.
16976 * gdb.base/watchpoint-reuse-slot.exp: New file.
16977
70afc5b7
SC
169782014-06-23 Siva Chandra Reddy <sivachandra@google.com>
16979
16980 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
16981 progspace's filename in 'info', 'enable' and 'disable' command
16982 tests.
16983
b972bd9c
JK
169842014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
16985
16986 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
16987 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
16988 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
16989
125f8a3d
GB
169902014-06-20 Gary Benson <gbenson@redhat.com>
16991
16992 * gdb.arch/i386-avx.exp: Fix include file location.
16993 * gdb.arch/i386-sse.exp: Likewise.
16994
3ed9baed
IB
169952014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
16996
16997 * gdb.dlang/expression.exp: New file.
16998
034f788c
PA
169992014-06-19 Pedro Alves <palves@redhat.com>
17000
17001 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
17002 out from ...
17003 (top level): ... here. Iterate running tests under different
17004 scheduler-locking settings.
17005
45371d0c
LM
170062014-06-18 Luis Machado <lgustavo@codesourcery.com>
17007
17008 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
17009 to DW_FORM_addr and use non-zero addresses.
17010
5d376983
SC
170112014-06-18 Siva Chandra Reddy <sivachandra@google.com>
17012
17013 PR gdb/17017
17014 * gdb.python/py-xmethods.cc: Add global function call counters and
17015 increment them in their respective functions. Remove "cout"
17016 statements.
17017 * gdb.python/py-xmethods.exp: Make tests check the global function
17018 call counters instead of depending on inferior IO.
17019
a1aa2221
LM
170202014-06-18 Don Breazeal <donb@codesourcery.com>
17021
17022 * gdb.base/foll-fork.exp (default_fork_parent_follow):
17023 Deleted procedure.
17024 (explicit_fork_parent_follow): Deleted procedure.
17025 (explicit_fork_child_follow): Deleted procedure.
17026 (test_follow_fork): New procedure.
17027 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 17028 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
17029 procedure calls.
17030
0fc05997
YQ
170312014-06-17 Yao Qi <yao@codesourcery.com>
17032
17033 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
17034 CP1252.
17035
70795c52
LM
170362014-06-17 Luis Machado <lgustavo@codesourcery.com>
17037
17038 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
17039 Initialize ptr and S explicitly.
17040 (skip_type_update_when_not_use_rtti_test): Likewise.
17041
6be47f0c
KS
170422014-06-16 Keith Seitz <keiths@redhat.com>
17043
17044 PR mi/15863
17045 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
17046 the inferior is started.
17047
d03de421
PA
170482014-06-16 Pedro Alves <palves@redhat.com>
17049
17050 * gdb.base/break-main-file-remove-fail.c: New file.
17051 * gdb.base/break-main-file-remove-fail.exp: New file.
17052 * gdb.base/break-unload-file.exp: Use build_executable instead of
17053 prepare_for_testing.
17054 (test_break): New parameter "initial_load". Handle it.
17055 (top level): Add initial_load cmdline/file axis.
17056
f9579b99
TT
170572014-06-12 Tom Tromey <tromey@redhat.com>
17058
17059 * gdb.base/completion.exp: Don't use directory name in test.
17060
3657956b
GB
170612014-06-09 Gary Benson <gbenson@redhat.com>
17062
17063 * gdb.base/sigall.c [Functions to send signals]: Reorder to
17064 separate the always-available ANSI-standard signals from the
17065 signals that require checking.
17066 (main): Likewise.
17067 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
17068 Likewise.
17069 (main): Likewise.
17070
4186eb54
KS
170712014-06-07 Keith Seitz <keiths@redhat.com>
17072
17073 Revert:
17074 PR c++/16253
17075 * gdb.cp/var-tag.cc: New file.
17076 * gdb.cp/var-tag.exp: New file.
17077 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
17078 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
17079 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
17080 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
17081
25326a28 170822014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
17083
17084 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
17085
829155c9
PA
170862014-06-06 Pedro Alves <palves@redhat.com>
17087
17088 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
17089 in target debug output instead of looking at RSP packets,
17090 disabling the test on any target that uses hardware stepping.
17091 Update comments.
17092
61c8d22e
PA
170932014-06-06 Pedro Alves <palves@redhat.com>
17094
17095 * gdb.base/break-unload-file.exp: Fix typo.
17096
d9a47287
YQ
170972014-06-06 Yao Qi <yao@codesourcery.com>
17098
17099 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
17100 from "jit_function" to "^jit_function".
17101
e5e01dbf
YQ
171022014-06-06 Yao Qi <yao@codesourcery.com>
17103
17104 * gdb.base/async.c (foo): Add one statement.
17105 * gdb.base/async.exp: Get the next instruction address and
17106 match the output of "nexti" by instruction address. Match
17107 the hex address in the output of "finish".
17108
73ba372c
GB
171092014-06-06 Gary Benson <gbenson@redhat.com>
17110
17111 * gdb.base/call-signals.c: Remove preprocessor conditionals
17112 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
17113 SIGSEGV and SIGTERM.
17114 * gdb.base/sigall.c: Likewise.
17115 * gdb.base/unwindonsignal.c: Likewise.
17116 * gdb.reverse/sigall-reverse.c: Likewise.
17117
831517df
YQ
171182014-06-06 Yao Qi <yao@codesourcery.com>
17119
17120 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
17121 readable, skip the test.
17122
b8b91e98
YQ
171232014-06-06 Yao Qi <yao@codesourcery.com>
17124
17125 * gdb.threads/staticthreads.c (thread_function): Move the line
17126 setting breakpoint on forward.
17127 * gdb.threads/staticthreads.exp: Update comments.
17128
fb934770
LC
171292014-06-05 Ludovic Courtès <ludo@gnu.org>
17130
17131 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
17132 "history-append! type error".
17133
6ef284bd
SM
171342014-06-05 Simon Marchi <simon.marchi@ericsson.com>
17135
17136 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
17137 erroneous dprintf expected input.
17138
a872e241
DE
171392014-06-04 Doug Evans <xdje42@gmail.com>
17140
17141 * gdb.guile/scm-generics.exp: Delete.
17142
16f691fb
DE
171432014-06-04 Doug Evans <xdje42@gmail.com>
17144
17145 * gdb.guile/scm-breakpoint.exp: Update.
17146 Add tests for breakpoint registration.
17147
012370f6
TT
171482014-06-04 Tom Tromey <tromey@redhat.com>
17149
17150 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
17151 VLA-in-union.
17152 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
17153 inner_vla_struct, vla_union types. Initialize objects of those
17154 types and compute their sizes.
17155
9f5a4cef
HZ
171562014-06-04 Nathan Sidwell <nathan@codesourcery.com>
17157 Hui Zhu <hui@codesourcery.com>
17158
17159 * gdb.base/fileio.exp: Add test for shell not available as well as
17160 available.
17161 * gdb.base/fileio.c (test_system): Check for shell twice.
17162
90a45c4d
YQ
171632014-06-04 Yao Qi <yao@codesourcery.com>
17164
17165 * gdb.base/auto-connect-native-target.exp: Remove redundant
17166 space from the regexp pattern.
17167
70017e41
YQ
171682014-06-04 Yao Qi <yao@codesourcery.com>
17169
17170 * gdb.base/default.exp: Replace "child" with "native" in
17171 regexp pattern.
17172
883964a7
SC
171732014-06-03 Siva Chandra Reddy <sivachandra@google.com>
17174
17175 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
17176 * gdb.python/py-xmethods.exp: New tests to test xmethods.
17177 * gdb.python/py-xmethods.py: Python script supporting the
17178 new testcase and tests.
17179
ef370185
JB
171802014-06-03 Joel Brobecker <brobecker@adacore.com>
17181 Pedro Alves <palves@redhat.com>
17182
17183 PR breakpoints/17000
17184 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
17185 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
17186
1e2ccb61
BM
171872014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
17188
17189 * gdb.base/subst.exp: Add tests to verify partial path matching
17190 output.
17191
c6ec5ab2
PA
171922014-06-03 Pedro Alves <palves@redhat.com>
17193
17194 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
17195 target that doesn't use software single-stepping.
17196
835c559f
PA
171972014-06-03 Pedro Alves <palves@redhat.com>
17198
17199 PR breakpoints/17000
17200 * gdb.base/sss-bp-on-user-bp-2.c: New file.
17201 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
17202
06eb1586
DE
172032014-06-02 Doug Evans <xdje42@gmail.com>
17204
17205 * gdb.guile/scm-parameter.exp: New file.
17206
e698b8c4
DE
172072014-06-02 Doug Evans <xdje42@gmail.com>
17208
17209 * gdb.guile/scm-cmd.c: New file.
17210 * gdb.guile/scm-cmd.exp: New file.
17211
ded03782
DE
172122014-06-02 Doug Evans <xdje42@gmail.com>
17213
17214 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
17215 pretty-printer lookup.
17216 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
17217 (make-pp_s-printer): Call it.
17218 (make-pretty-printer-from-dict): New function.
17219 (lookup-pretty-printer-maker-from-dict): New function.
17220 (*pretty-printer*): Simplify.
17221 (make-objfile-pp_s-printer): New function.
17222 (install-objfile-pretty-printers!): New function.
17223 (make-progspace-pp_s-printer): New function.
17224 (install-progspace-pretty-printers!): New function.
17225 * gdb.guile/scm-progspace.c: New file.
17226 * gdb.guile/scm-progspace.exp: New file.
17227
41fac0cf
PA
172282014-06-02 Pedro Alves <palves@redhat.com>
17229
17230 * gdb.base/dprintf-bp-same-addr.c: New file.
17231 * gdb.base/dprintf-bp-same-addr.exp: New file.
17232
96ae5695
EBM
172332014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17234
17235 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
17236 * gdb.arch/powerpc-power.s: Likewise.
17237
da02b3a8
JB
172382014-06-02 Joel Brobecker <brobecker@adacore.com>
17239
17240 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
17241
c72b2e7b
YQ
172422014-06-01 Yao Qi <yao@codesourcery.com>
17243
17244 * gdb.base/watchpoint.exp (test_watch_location): Check null
17245 pointer can be dereferenced. If not, do the test, otherwise
17246 skip it.
17247
53e8a631
AB
172482014-05-30 Andrew Burgess <aburgess@broadcom.com>
17249
17250 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
17251 results.
17252 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
17253
938f0e2f
AB
172542014-05-30 Andrew Burgess <aburgess@broadcom.com>
17255
17256 * gdb.arch/amd64-invalid-stack-middle.S: New file.
17257 * gdb.arch/amd64-invalid-stack-middle.c: New file.
17258 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
17259 * gdb.arch/amd64-invalid-stack-top.c: New file.
17260 * gdb.arch/amd64-invalid-stack-top.exp: New file.
17261
9ba6657a
PA
172622014-05-30 Pedro Alves <palves@redhat.com>
17263
17264 PR breakpoints/17000
17265 * gdb.base/sss-bp-on-user-bp.c: New file.
17266 * gdb.base/sss-bp-on-user-bp.exp: New file.
17267
522c09bf
DB
172682014-05-30 David Blaikie <dblaikie@gmail.com>
17269
17270 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
17271 gnu_inline semantics via attribute.
17272 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
17273 source explicitly specifies the required semantics.
17274
bf4ef81e
MR
172752014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
17276
17277 * gdb.reverse/sigall-reverse.exp: Fix a typo.
17278
329ea579
PA
172792014-05-29 Pedro Alves <palves@redhat.com>
17280 Tom Tromey <tromey@redhat.com>
17281
17282 * gdb.base/async-shell.exp: Don't enable target-async.
17283 * gdb.base/async.exp
17284 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
17285 parameter. Adjust.
17286 (top level): Don't test with "target-async".
17287 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
17288 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
17289 * gdb.base/inferior-died.exp: Don't enable target-async.
17290 * gdb.base/interrupt-noterm.exp: Likewise.
17291 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
17292 * gdb.mi/mi-nonstop-exit.exp: Likewise.
17293 * gdb.mi/mi-nonstop.exp: Likewise.
17294 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
17295 * gdb.mi/mi-nsintrall.exp: Likewise.
17296 * gdb.mi/mi-nsmoribund.exp: Likewise.
17297 * gdb.mi/mi-nsthrexec.exp: Likewise.
17298 * gdb.mi/mi-watch-nonstop.exp: Likewise.
17299 * gdb.multi/watchpoint-multi.exp: Adjust comment.
17300 * gdb.python/py-evsignal.exp: Don't enable target-async.
17301 * gdb.python/py-evthreads.exp: Likewise.
17302 * gdb.python/py-prompt.exp: Likewise.
17303 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
17304 * gdb.server/solib-list.exp: Don't enable target-async.
17305 * gdb.threads/thread-specific-bp.exp: Likewise.
17306 * lib/mi-support.exp: Adjust to use mi-async.
17307
fd664c91
PA
173082014-05-29 Pedro Alves <palves@redhat.com>
17309
17310 PR gdb/13860
17311 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
17312 reason, even in sync mode.
17313
251bde03
PA
173142014-05-29 Pedro Alves <palves@redhat.com>
17315 Hui Zhu <hui@codesourcery.com>
17316
17317 PR PR15693
17318 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
17319 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
17320 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
17321 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
17322
7f3c0343
JB
173232014-05-28 Joel Brobecker <brobecker@adacore.com>
17324
17325 * config/monitor.exp (gdb_target_monitor): Replace use of
17326 "set remotebaud" by "set serial baud".
17327
b2715b27
AW
173282014-05-26 Andy Wingo <wingo@igalia.com>
17329
17330 * gdb.guile/scm-breakpoint.exp:
17331 * gdb.guile/scm-gsmob.exp: Update to use plain old object
17332 properties instead of gdb-object-properties.
17333
498a4489
YQ
173342014-05-26 Yao Qi <yao@codesourcery.com>
17335
17336 * gdb.server/no-thread-db.exp: Specify source file name
17337 explicitly when setting a breakpoint.
17338
589fdceb
MM
173392014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17340
17341 * gdb.btrace/vdso.c: New.
17342 * gdb.btrace/vdso.exp: New.
17343
e9089e05
MM
173442014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17345
17346 * gdb.base/gcore.exp (capture_command_output): Move ...
17347 * lib/gdb.exp (capture_command_output): ... here.
17348
67b5c0c1
MM
173492014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17350
17351 * gdb.btrace/data.exp: Test memory access during btrace replay.
17352
a2199296
SM
173532014-05-22 Simon Marchi <simon.marchi@ericsson.com>
17354
17355 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
17356
17b2616c
PA
173572014-05-21 Pedro Alves <palves@redhat.com>
17358
17359 PR gdb/13860
17360 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
17361 (top level): Test that output related to execution commands is
17362 sent to the console with CLI commands, but not with MI commands.
17363 Test that breakpoint events are always mirrored to the console.
17364 Also expect the new source line to be output after a "next" in
17365 async mode too. Make it a pass/fail test.
17366 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
17367 output.
17368 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
17369
5166082f
PA
173702014-05-21 Pedro Alves <palves@redhat.com>
17371
17372 * gdb.base/list.exp (build_pattern, test_list): New procedures.
17373 Use them to test variations of "list" after reaching a breakpoint.
17374 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
17375 Test "list" with listsize 10 after reaching a breakpoint.
17376 * gdb.python/python.exp (decode_line current location line
17377 number): Adjust expected line number.
17378
2f25d70f
SM
173792014-05-21 Simon Marchi <simon.marchi@ericsson.com>
17380
17381 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
17382 behavior for $args, pass it directly to "run".
17383
ff604a67
MR
173842014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
17385
17386 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
17387 30000 to 65536.
17388
6a3cb8e8
PA
173892014-05-21 Pedro Alves <palves@redhat.com>
17390
17391 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
17392 auto-connect-native-target off".
17393 * gdb.base/auto-connect-native-target.c: New file.
17394 * gdb.base/auto-connect-native-target.exp: New file.
17395
4ebfc96e
PA
173962014-05-21 Pedro Alves <palves@redhat.com>
17397
17398 * gdb.base/default.exp: Test "target native" instead of "target
17399 child".
17400
36d46afb
MW
174012014-05-21 Mark Wielaard <mjw@redhat.com>
17402
17403 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
17404
5876f503
JK
174052014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17406
17407 Fix TLS access for -static -pthread.
17408 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
17409 <HAVE_TLS> (thread_function, main): Initialize it.
17410 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
17411 Add clean_restart.
17412 <$have_tls != "">: Check TLSVAR.
17413
0256a6ac
PA
174142014-05-21 Pedro Alves <palves@redhat.com>
17415
17416 * gdb.base/dcache-line-read-error.c: New.
17417 * gdb.base/dcache-line-read-error.exp: New.
17418
936d2992
PA
174192014-05-20 Pedro Alves <palves@redhat.com>
17420
17421 * gdb.base/compare-sections.c: New file.
17422 * gdb.base/compare-sections.exp: New file.
17423
802e8e6d
PA
174242014-05-20 Pedro Alves <palves@redhat.com>
17425
17426 * gdb.base/break-idempotent.c: New file.
17427 * gdb.base/break-idempotent.exp: New file.
17428
e59fa00f
MM
174292014-05-20 Markus Metzger <markus.t.metzger@intel.com>
17430
17431 * gdb.btrace/nohist.exp: New.
17432
8b696e31
YQ
174332014-05-20 Yao Qi <yao@codesourcery.com>
17434
17435 * lib/gdb.exp (gdb_init): Set timeout if test file is under
17436 gdb.reverse directory and gdb_reverse_timeout exists in board
17437 setting.
17438 * README: Document gdb_reverse_timeout.
17439
73c9764f
YQ
174402014-05-20 Yao Qi <yao@codesourcery.com>
17441
17442 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
17443 'test_file_name'. Treat args as a string instead of a list.
17444 (gdb_init): Rename argument 'args' by 'test_file_name'.
17445
f1f4348a
JK
174462014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
17447
17448 * gdb.arch/powerpc-power.exp: New file.
17449 * gdb.arch/powerpc-power.s: New file.
17450
0dbe70ce
DE
174512014-05-16 Doug Evans <dje@google.com>
17452
17453 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
17454 * gdb.base/completion.exp: Check that all expected files exist
17455 before doing file completion.
0dbe70ce 17456
8d551b02
DE
174572014-05-16 Doug Evans <dje@google.com>
17458
17459 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
17460 Update.
17461 (do_syscall_tests_without_xml): Update.
17462
73eb7709
PA
174632014-05-16 Pedro Alves <palves@redhat.com>
17464
17465 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
17466 instead of "unknown output after running".
17467
3fae92fc
YQ
174682014-05-16 Yao Qi <yao@codesourcery.com>
17469
17470 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
17471 file1.txt from host at the end.
17472 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
17473
c2b2ccc5
DE
174742014-05-15 Doug Evans <dje@google.com>
17475
17476 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
17477 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
17478 loading file. Add test for TU lookup.
17479
8c217a4b
SM
174802014-05-15 Simon Marchi <simon.marchi@ericsson.com>
17481
17482 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
17483 calling "-exec-arguments" or "set args" before running the
17484 inferior.
17485
3deb39c6
SM
174862014-05-15 Simon Marchi <simon.marchi@ericsson.com>
17487
17488 * lib/mi-support.exp (mi_expect_stop): Expect message for
17489 inferiors that exit with non-zero exit code.
17490
71a79f8c
YQ
174912014-05-14 Yao Qi <yao@codesourcery.com>
17492
17493 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
17494 match absolute path on remote host.
17495 (test_file_list_exec_source_files): Remove "/" from the
17496 pattern.
17497
f23fcd46
YQ
174982014-05-14 Yao Qi <yao@codesourcery.com>
17499
17500 * boards/local-remote-host-notty.exp (${board}_file): New
17501 proc.
17502
9404b58f
KM
175032014-05-07 Kyle McMartin <kyle@redhat.com>
17504
17505 Pushed by Joel Brobecker <brobecker@adacore.com>.
17506 * gdb.arch/aarch64-atomic-inst.c: New file.
17507 * gdb.arch/aarch64-atomic-inst.exp: New file.
17508
5e45f04c
YQ
175092014-05-07 Yao Qi <yao@codesourcery.com>
17510
17511 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
17512 in current context" too.
17513
c888a17d
KS
175142014-05-05 Keith Seitz <keiths@redhat.com>
17515
17516 * gdb.linespec/ls-dollar.exp: Add test for linespec
17517 file:convenience_variable.
17518
290a839c
YQ
175192014-05-05 Yao Qi <yao@codesourcery.com>
17520
17521 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
17522 traceframes into tfile and ctf trace files. Read data from
17523 trace file and test collected data.
17524 (gdb_collect_locals_test): Likewise.
17525 (gdb_unavailable_registers_test): Likewise.
17526 (gdb_unavailable_floats): Likewise.
17527 (gdb_collect_globals_test): Likewise.
17528 (top-level): Append "ctf" to trace_file_targets if GDB
17529 supports.
17530
b5262cd0
YQ
175312014-05-05 Yao Qi <yao@codesourcery.com>
17532
17533 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
17534 code to ...
17535 (gdb_collect_args_test_1): ... it. New proc.
17536 (gdb_collect_locals_test): Move some code to ...
17537 (gdb_collect_locals_test_1): ... it. New proc.
17538 (gdb_unavailable_registers_test): Move some code to ...
17539 (gdb_unavailable_registers_test_1): ... it. New proc.
17540 (gdb_unavailable_floats): Move some code to ...
17541 (gdb_unavailable_floats_1): ... it. New proc.
17542
30a1e6cc
SDJ
175432014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
17544
17545 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
17546 probes to test for bitness recognition.
17547 * gdb.arch/amd64-stap-optional-prefix.exp
17548 (test_probe_value_without_reg): New procedure.
17549 Add code to test for different kinds of bitness.
17550
f33da99a
SDJ
175512014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
17552
17553 PR breakpoints/16889
17554 * gdb.arch/amd64-stap-optional-prefix.S: New file.
17555 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
17556
5b80f00d
PA
175572014-05-01 Pedro Alves <palves@redhat.com>
17558
17559 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
17560 gdb_file_cmd if no file is specified.
17561 * boards/native-extended-gdbserver.exp (gdb_load): Use the
17562 last_loaded_file to set the remote exec-file.
17563
f8c2a73c
PA
175642014-05-01 Pedro Alves <palves@redhat.com>
17565
17566 * boards/local-remote-host.exp: New file.
17567
be6e8ac7
PA
175682014-05-01 Pedro Alves <palves@redhat.com>
17569
17570 * boards/local-remote-host.exp: Rename to ...
17571 * boards/local-remote-host-notty.exp: ... this.
17572
cac0dc8f
JB
175732014-04-28 Joel Brobecker <brobecker@adacore.com>
17574
17575 * gdb.ada/dyn_arrayidx: New testcase.
17576
9730e6cc
YQ
175772014-04-26 Yao Qi <yao@codesourcery.com>
17578
17579 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
17580 and compute the length of function main. Save it in
17581 $main_length.
17582 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
17583 (top-level): Use gdb_compile to compile objects into
17584 executable and restart GDB. Remove invocation to
17585 prepare_for_testing.
17586
7ae1a6a6
PA
175872014-04-25 Simon Marchi <simon.marchi@ericsson.com>
17588 Pedro Alves <palves@redhat.com>
17589
17590 PR server/16255
17591 * gdb.multi/multi-attach.c: New file.
17592 * gdb.multi/multi-attach.exp: New file.
17593
4082afcc
PA
175942014-04-25 Pedro Alves <palves@redhat.com>
17595
17596 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
17597 user.
17598 (top level): Test that "set remote conditional-breakpoints-packet
17599 off" works as intended.
17600 * gdb.base/dprintf.exp: Test that "set remote
17601 breakpoint-commands-packet off" works as intended.
17602 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
17603 New function.
17604 (top level): Call it.
17605 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
17606 remote fast-tracepoints-packet off" works as intended.
17607 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
17608 * lib/gdb.exp (gdb_is_target_remote): ... here.
17609
2abc3f8d
DB
176102014-04-24 David Blaikie <dblaikie@gmail.com>
17611
17612 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
17613 ensure clang would not discard them.
17614 * gdb.base/gdbvars.c: Ditto.
17615 * gdb.base/memattr.c: Ditto.
17616 * gdb.base/whatis.c: Ditto.
17617 * gdb.python/py-prettyprint.c: Ditto.
17618 * gdb.trace/actions.c: Ditto.
17619 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
17620 ensure clang would not discard it.
17621
bfd39632
DB
176222014-04-24 David Blaikie <dblaikie@gmail.com>
17623
17624 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
17625 clang to emit the full definition of type required by the test
17626 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
17627
22842ff6
DB
176282014-04-24 David Blaikie <dblaikie@gmail.com>
17629
17630 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
17631 coax Clang into emitting the definition of the type.
17632 * gdb.cp/pr10728-x.h (y): Ditto.
17633 * gdb.cp/pr10728-y.cc (y): Ditto.
17634
c2e827ad
DB
176352014-04-24 David Blaikie <dblaikie@gmail.com>
17636
17637 * gdb.base/label.exp: XFAIL label related tests under Clang.
17638 * gdb.cp/cplabel.exp: Ditto.
17639 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
17640 under Clang those using labels.
17641
4c2d33e7
YQ
176422014-04-25 Yao Qi <yao@codesourcery.com>
17643
17644 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
17645 double_label.
17646 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
17647 partial_label and double_label.
17648
56083b99
DB
176492014-04-24 David Blaikie <dblaikie@gmail.com>
17650
17651 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
17652
25d4e99d
DB
176532014-04-24 David Blaikie <dblaikie@gmail.com>
17654
17655 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
17656 of the function to work across GCC and Clang.
17657 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
17658 pointer types (const void ** const V void **).
17659
01f9f808
MS
176602014-04-24 Michael Sturm <michael.sturm@mintel.com>
17661 Walfred Tedeschi <walfred.tedeschi@intel.com>
17662
17663 * Makefile.in (EXECUTABLES): Added i386-avx512.
17664 * gdb.arch/i386-avx512.c: New file.
17665 * gdb.arch/i386-avx512.exp: Likewise.
17666
4b48d439
KS
176672014-04-23 Keith Seitz <keiths@redhat.com>
17668
17669 * lib/mi-support.exp (mi_list_breakpoints): Delete.
17670 (mi_make_breakpoint_table): New procedure.
17671 (mi_create_breakpoint): Use mi_make_breakpoint
17672 and return the result.
17673 (mi_make_breakpoint): New procedure.
17674 (mi_build_kv_pairs): New procedure.
17675
17676 * gdb.mi/mi-break.exp: Remove unused globals,
17677 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
17678 All callers updated.
17679 * gdb.mi/mi-dprintf.exp: Use variable to track command
17680 number.
17681 Update all callers of mi_create_breakpoint and use
17682 mi_make_breakpoint_table.
17683 Remove any unused global variables.
17684 * gdb.mi/mi-nonstop.exp: Likewise.
17685 * gdb.mi/mi-nsintrall.exp: Likewise.
17686 * gdb.mi/mi-nsmoribund.exp: Likewise.
17687 * gdb.mi/mi-nsthrexec.exp: Likewise.
17688 * gdb.mi/mi-reverse.exp: Likewise.
17689 * gdb.mi/mi-simplerun.exp: Likewise.
17690 * gdb.mi/mi-stepn.exp: Likewise.
17691 * gdb.mi/mi-syn-frame.exp: Likewise.
17692 * gdb.mi/mi-until.exp: Likewise.
17693 * gdb.mi/mi-var-cp.exp: Likewise.
17694 * gdb.mi/mi-var-display.exp: Likewise.
17695 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
17696 * gdb.mi/mi2-var-child.exp: Likewise.
17697 * gdb.mi/mi-vla-c99.exp: Likewise.
17698 * lib/mi-support.exp: Likewise.
17699
17700 From Ian Lance Taylor <iant@cygnus.com>:
17701 * lib/gdb.exp (parse_args): New procedure.
17702
08351840
PA
177032014-04-23 Pedro Alves <palves@redhat.com>
17704
17705 * gdb.base/break-unload-file.c: New file.
17706 * gdb.base/break-unload-file.exp: New file.
17707 * gdb.base/sym-file-lib.c (baz): New function.
17708 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
17709 field.
17710 (load): Store the segment's mapped size.
17711 (unload): New function.
17712 (unload_shlib): New function.
17713 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
17714 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
17715 set a breakpoint at baz, and call it.
17716 * gdb.base/sym-file.exp: New tests for stale breakpoint
17717 instructions.
17718
076855f9
PA
177192014-04-23 Pedro Alves <palves@redhat.com>
17720
17721 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
17722 * gdb.base/hbreak-in-shr-unsupported.c: New file.
17723 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
17724 * gdb.base/hbreak-unmapped.c: New file.
17725 * gdb.base/hbreak-unmapped.exp: New file.
17726 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
17727 * lib/gdb.exp (gdb_is_target_remote): ... here.
17728
483805cf
PA
177292014-04-22 Pedro Alves <palves@redhat.com>
17730
17731 * gdb.base/consecutive-step-over.c: New file.
17732 * gdb.base/consecutive-step-over.exp: New file.
17733
06d97543
PA
177342014-04-22 Pedro Alves <palves@redhat.com>
17735
17736 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
17737 instead of send_gdb/gdb_expect.
17738
b4429ea2
YQ
177392014-04-22 Yao Qi <yao@codesourcery.com>
17740
17741 * lib/trace-support.exp (generate_tracefile): New procedure.
17742 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
17743 return 0.
17744 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
17745 if generate_tracefile returns 1.
17746
51d48146
PA
177472014-04-18 Tom Tromey <palves@redhat.com>
17748 Pedro alves <tromey@redhat.com>
17749
17750 PR backtrace/15558
17751 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
17752 with a backtrace limit.
17753 * gdb.python/py-frame-inline.exp: Test running to an inline
17754 function with a backtrace limit, and printing the newest frame.
17755 * gdb.python/py-frame-inline.c (main): Call f.
17756
bd1dce5f
MS
177572014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
17758
17759 * gdb.java/jnpe.exp: Drop srcdir from untested path.
17760
40d1a503
MS
177612014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
17762
17763 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
17764 Drop prefix from unsupported source file path.
17765
389b98f7
YQ
177662014-04-17 Yao Qi <yao@codesourcery.com>
17767
17768 * lib/gdb.exp (with_target_charset): New proc.
17769 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
17770 with_target_charset.
17771 (test_print_strings): Likewise.
17772 (test_repeat_bytes): Likewise.
17773 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
17774 for some tests.
17775
22869d73
KS
177762014-04-16 Keith Seitz <keiths@redhat.com>
17777
17778 PR gdb/15827
17779 * gdb.dwarf2/corrupt.c: New file.
17780 * gdb.dwarf2/corrupt.exp: New file.
17781
c4f87ca6
KS
177822014-04-16 Keith Seitz <keiths@redhat.com>
17783
17784 PR c++/16597
17785 * gdb.cp/namelessclass.cc: New file.
17786 * gdb.cp/namelessclass.exp: New file.
17787 * gdb.cp/namelessclass.S: New file.
17788
ab19de87
DE
177892014-04-16 Doug Evans <dje@google.com>
17790
17791 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
17792 Add comment.
17793 (gdbserver_default_get_comm_port): New function.
17794 (gdbserver_start): Check if board file provided
17795 "gdbserver,get_comm_port" and use it if so.
17796 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
17797 (gdb,socketport): Set to "stdio".
17798 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
17799 (stdio_gdbserver_template): Delete.
17800 (${board}_get_remote_address): Update.
17801 (${board}_build_remote_cmd): Delete.
17802 (${board}_get_comm_port): New function.
17803 (${board}_spawn): Update.
17804 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
17805 Delete.
17806 (${board}_get_remote_address): Update.
17807 (${board}_get_comm_port): New function.
17808
fc98a809
AB
178092014-04-16 Andrew Burgess <aburgess@broadcom.com>
17810
17811 * gdb.base/memattr.exp: Improve regexps to handle memory regions
17812 appearing in any order.
17813
87fd9e6e
DE
178142014-04-15 Doug Evans <dje@google.com>
17815
17816 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
17817 uninitialized value of "description".
17818
099fc3ea
KS
178192014-04-15 Keith Seitz <keiths@redhat.com>
17820
17821 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
17822 Remove unused globals.
17823 (test_running_the_program): Likewise.
17824 (test_controlled_execution): Likewise.
17825 (test_controlling_breakpoints): Likewise.
17826 (test_program_termination): Likewise.
17827
5da151d4
KS
178282014-04-15 Keith Seitz <keiths@redhat.com>
17829
17830 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
17831 unused globals.
17832 (test_rbreak_creation_and_listing): Likewise.
17833 (test_ignore_count): Likewise.
17834 (test_error): Likewise.
17835
35e5d2f0
PA
178362014-04-15 Pedro Alves <palves@redhat.com>
17837
17838 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
17839 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
17840 sym-file-loader.c.
17841 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
17842 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
17843 to sym-file-loader.c.
17844 (struct library): Forward declare.
17845 (load_shlib, lookup_function): Change prototypes.
17846 (find_shstrtab, find_strtab, find_shdr, find_symtab)
17847 (translate_offset): Remove declarations.
17848 (get_text_addr): New declaration.
17849 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
17850 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
17851 sym-file-loader.h.
17852 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
17853 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
17854 here from sym-file-loader.h.
17855 (struct library): New structure.
17856 (load_shlib, lookup_function): Change prototypes and adjust to
17857 work with a struct library.
17858 (find_shstrtab, find_strtab, find_shdr, find_symtab)
17859 (translate_offset): Make static.
17860 (get_text_addr): New function.
17861 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
17862
eb4c1710
PA
178632014-04-15 Pedro Alves <palves@redhat.com>
17864
17865 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
17866
2d1baf52
PA
178672014-04-15 Pedro Alves <palves@redhat.com>
17868
17869 * gdb.base/sym-file-loader.c: Include <limits.h>.
17870 (SELF_LINK): New define.
17871 (get_origin): New function.
17872 (load_shlib): Use it.
17873 * gdb.base/sym-file.exp: Don't early return if the target is
17874 remote. Use runto_main, and issue fail is that fails. Use
17875 gdb_load_shlibs.
17876 (shlib_name): Delete.
17877 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
17878
7dd6df01
PA
178792014-04-15 Pedro Alves <palves@redhat.com>
17880
17881 * gdb.base/sym-file.exp: Remove regex characters from test
17882 message. Don't refer to breakpoint numbers in test messages.
17883
b50c8614
KS
178842014-04-14 Keith Seitz <keiths@redhat.com>
17885
17886 PR c++/16253
17887 * gdb.cp/var-tag.cc: New file.
17888 * gdb.cp/var-tag.exp: New file.
17889 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
17890 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
17891 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
17892 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
17893
3d567982
TT
178942014-04-14 Tom Tromey <tromey@redhat.com>
17895
17896 * gdb.cp/classes.exp (test_enums): Handle underlying type.
17897 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
17898 type.
17899 * gdb.cp/enum-class.exp: New file.
17900 * gdb.cp/enum-class.cc: New file.
17901
0626fc76
TT
179022014-04-14 Tom Tromey <tromey@redhat.com>
17903
17904 * gdb.dwarf2/enum-type.exp: New file.
17905
dca325b3
SA
179062014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17907
17908 * gdb.mi/mi-vla-c99.exp: New file.
17909 * gdb.mi/vla.c: New file.
17910
5854b38a
SA
179112014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17912
17913 * gdb.base/vla-datatypes.c: New file.
17914 * gdb.base/vla-datatypes.exp: New file.
17915
463bb957
SA
179162014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17917
17918 * gdb.base/vla-ptr.c: New file.
17919 * gdb.base/vla-ptr.exp: New file.
17920
3dd170be
SA
179212014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17922
17923 * gdb.dwarf2/count.exp: New file.
17924
5ecaaa66
SA
179252014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17926
17927 * gdb.base/vla-sideeffect.c: New file.
17928 * gdb.base/vla-sideeffect.exp: New file.
17929
41f1ada5
DB
179302014-04-14 David Blaikie <dblaikie@gmail.com>
17931
17932 * gdb.mi/non-stop.c: Add return value for non-void function return
17933 statement.
17934 * gdb.threads/staticthreads.c: Ditto.
17935
0be03e84
DE
179362014-04-12 Siva Chandra Reddy <sivachandra@google.com>
17937 Doug Evans <xdje42@gmail.com>
17938
17939 * gdb.guile/scm-value.c: Improve test case.
17940 * gdb.guile/scm-value.exp: Add new test.
17941
f180a1fb
DB
179422014-04-11 David Blaikie <dblaikie@gmail.com>
17943
17944 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
17945 override Clang's default.
17946
6b662e19
JB
179472014-04-11 Joel Brobecker <brobecker@adacore.com>
17948
17949 Revert the following changes (regressions):
17950
17951 * gdb.base/vla-sideeffect.c: New file.
17952 * gdb.base/vla-sideeffect.exp: New file.
17953
17954 * gdb.dwarf2/count.exp: New file.
17955
17956 * gdb.base/vla-multi.c: New file.
17957 * gdb.base/vla-multi.exp: New file.
17958
17959 * gdb.base/vla-ptr.c: New file.
17960 * gdb.base/vla-ptr.exp: New file.
17961
17962 * gdb.base/vla-datatypes.c: New file.
17963 * gdb.base/vla-datatypes.exp: New file.
17964
17965 * gdb.mi/mi-vla-c99.exp: New file.
17966 * gdb.mi/vla.c: New file.
17967
245a5f0b
KS
179682014-04-11 Keith Seitz <keiths@redhat.com>
17969
17970 PR c++/16675
17971 * gdb.cp/cpsizeof.exp: New file.
17972 * gdb.cp/cpsizeof.cc: New file.
17973
58a84dcf
SA
179742014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17975
191a8a90
JB
17976 * gdb.mi/mi-vla-c99.exp: New file.
17977 * gdb.mi/vla.c: New file.
58a84dcf 17978
c8655f75
SA
179792014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17980
17981 * gdb.base/vla-datatypes.c: New file.
17982 * gdb.base/vla-datatypes.exp: New file.
17983
024e13b4
SA
179842014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17985
17986 * gdb.base/vla-ptr.c: New file.
17987 * gdb.base/vla-ptr.exp: New file.
17988
1a237e0e
SA
179892014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17990
17991 * gdb.base/vla-multi.c: New file.
17992 * gdb.base/vla-multi.exp: New file.
17993
504f3432
SA
179942014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17995
17996 * gdb.dwarf2/count.exp: New file.
17997
3bce8237
SA
179982014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17999
191a8a90
JB
18000 * gdb.base/vla-sideeffect.c: New file.
18001 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 18002
322f9c21
YQ
180032014-04-11 Yao Qi <yao@codesourcery.com>
18004
18005 * gdb.base/completion.exp: Check file exists before running tests
18006 on file completion.
18007
d708bcd1
PA
180082014-04-10 Pedro Alves <palves@redhat.com>
18009
18010 * gdb.base/cond-eval-mode.c: New file.
18011 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
18012 prepare_for_testing to build the new file. Check result of
18013 runto_main.
18014 (test_break, test_watch): New procedures.
18015 (top level): Use them.
18016
ae1d2761
PM
180172014-04-08 Pierre Muller <muller@sourceware.org>
18018
18019 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
18020 Ctrl-V use for mingw hosts.
18021
7af389b8
SC
180222014-04-07 Siva Chandra Reddy <sivachandra@google.com>
18023
18024 * gdb.python/py-value.c: Improve test case.
18025 * gdb.python/py-value.exp: Add new test.
18026
5e703181
DE
180272014-04-07 David Blaikie <dblaikie@gmail.com>
18028
18029 * lib/compiler.c: Identify the clang compiler.
18030 * lib/compiler.cc: Ditto.
18031
9810b410
YQ
180322014-04-03 Yao Qi <yao@codesourcery.com>
18033
18034 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
18035
98d1b8dc
AB
180362014-04-01 Anton Blanchard <anton@samba.org>
18037
18038 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
18039 messages unique.
18040
3114cea1
AB
180412014-04-01 Anton Blanchard <anton@samba.org>
18042
18043 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
18044 prepare_for_testing.
18045
62f7182c
AB
180462014-04-01 Anton Blanchard <anton@samba.org>
18047
18048 * gdb.arch/ppc64-atomic-inst.c: Remove.
18049 * gdb.arch/ppc64-atomic-inst.S: New file.
18050 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
18051
770e7fc7
DE
180522014-03-31 Doug Evans <dje@google.com>
18053
18054 * gdb.base/print-symbol-loading-lib.c: New file.
18055 * gdb.base/print-symbol-loading-main.c: New file.
18056 * gdb.base/print-symbol-loading.exp: New file.
18057
46e2bafa
YQ
180582014-03-31 Yao Qi <yao@codesourcery.com>
18059
18060 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
18061
8776cfe9
JB
180622014-03-28 Joel Brobecker <brobecker@adacore.com>
18063
18064 * gdb.ada/mi_dyn_arr: New testcase.
18065
5d1ef361
DE
180662014-03-27 Doug Evans <dje@google.com>
18067
18068 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
18069
b5bee914
YQ
180702014-03-27 Yao Qi <yao@codesourcery.com>
18071
18072 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
18073 if target is nios2-*-*.
18074
0d4d0e77
YQ
180752014-03-26 Yao Qi <yao@codesourcery.com>
18076
18077 * lib/gdb.exp (readline_is_used): New proc.
18078 * gdb.base/completion.exp: Move tests on command complete up.
18079 Skip the rest of tests if readline is not used.
18080 * gdb.ada/complete.exp: Skp the test if readline is not
18081 used.
18082 * gdb.base/filesym.exp: Likewise.
18083 * gdb.base/macscp.exp: Likewise.
18084 * gdb.base/readline-ask.exp: Likewise.
18085 * gdb.base/readline.exp: Likewise.
18086 * gdb.python/py-cmd.exp: Likewise.
18087 * gdb.trace/tfile.exp: Likewise.
18088
29361eee
YQ
180892014-03-26 Yao Qi <yao@codesourcery.com>
18090
18091 * gdb.base/macscp.exp: Fix code format issues.
18092
bc9a5525
UW
180932014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
18094
18095 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
18096 * gdb.asm/powerpc64le.inc: New file.
18097
d3839ede
PA
180982014-03-25 Pedro Alves <palves@redhat.com>
18099 Doug Evans <dje@google.com>
18100
18101 * gdb.base/source-execution.c: New file.
18102 * gdb.base/source-execution.exp: New file.
18103 * gdb.base/source-execution.gdb: New file.
18104
01672a57
DE
181052014-03-24 Doug Evans <dje@google.com>
18106
18107 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
18108 using fission.
18109
88bbeca9
HZ
181102014-03-24 Hui Zhu <hui@codesourcery.com>
18111 Pedro Alves <palves@redhat.com>
18112
18113 PR breakpoints/16101
18114 * gdb.base/dprintf.exp: Use unsupported rather than changing the
18115 test pass/fail messages. Detect missing support for dprintf when
18116 breakpoints are actually inserted.
18117 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
18118 breakpoints are actually inserted.
18119 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
18120 fails.
18121
d2348791
JK
181222014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
18123
18124 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
18125
feef67ab
DE
181262014-03-22 Doug Evans <xdje42@gmail.com>
18127
18128 * gdb.python/python.exp (python not supported): Verify multi-line
18129 python command issues an error.
25d743f9 18130 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 18131 guile command issues an error.
feef67ab 18132
ecebef6a
MR
181332014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
18134
18135 * gdb.threads/thread-specific.exp: Handle the lack of usable
18136 $this_breakpoint and $this_thread.
18137
ccdd1909
HZ
181382014-03-21 Hui Zhu <hui@codesourcery.com>
18139
18140 * gdb.base/attach.exp (do_command_attach_tests): New.
18141
beb460e8
PA
181422014-03-20 Tom Tromey <tromey@redhat.com>
18143 Pedro Alves <palves@redhat.com>
18144
18145 PR cli/15718
18146 * gdb.base/condbreak-call-false.c: New file.
18147 * gdb.base/condbreak-call-false.exp: New file.
18148
40acf43a
PA
181492014-03-20 Pedro Alves <palves@redhat.com>
18150
18151 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
18152 Delete.
18153 (block_signals, unblock_signals): Delete.
18154 (child_function_2, main): Remove references to deleted variable
18155 and functions.
18156
9f5e1e02
PA
181572014-03-20 Pedro Alves <palves@redhat.com>
18158
18159 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
18160 Use pthread_kill to signal thread 2.
18161 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18162 Adjust to make the test send itself a signal rather than using the
18163 host's "kill" command.
18164
99619bea
PA
181652014-03-20 Pedro Alves <palves@redhat.com>
18166
18167 * gdb.threads/multiple-step-overs.c: New file.
18168 * gdb.threads/multiple-step-overs.exp: New file.
18169 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18170 Adjust expected infrun debug output.
18171
2adfaa28
PA
181722014-03-20 Pedro Alves <palves@redhat.com>
18173
18174 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
18175 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
18176
31e77af2
PA
181772014-03-20 Pedro Alves <palves@redhat.com>
18178
18179 PR breakpoints/7143
18180 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
18181 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
18182 of gdb_test_multiple.
18183 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
18184 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
18185
b9f437de
PA
181862014-03-20 Pedro Alves <palves@redhat.com>
18187
18188 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
18189 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
18190
05adc73e
PA
181912014-03-19 Pedro Alves <palves@redhat.com>
18192
18193 * gdb.base/async.exp: Remove early return.
18194
6048b950
PA
181952014-03-19 Pedro Alves <palves@redhat.com>
18196
18197 * gdb.base/async.exp (step& tests): Pass explicit test messages.
18198
8bcfb00a
PA
181992014-03-19 Pedro Alves <palves@redhat.com>
18200
18201 * gdb.base/async.exp (test_background): Expect \r\n after
18202 "completed." in the fail pattern.
18203
884e37dc
PA
182042014-03-19 Pedro Alves <palves@redhat.com>
18205
18206 * gdb.base/async.exp (test_background): New procedure.
18207 Use it for all background execution command tests.
18208
148e57e2
PA
182092014-03-19 Pedro Alves <palves@redhat.com>
18210
18211 * gdb.base/async.exp: Use prepare_for_testing.
18212
f48088c7
PA
182132014-03-19 Pedro Alves <palves@redhat.com>
18214
18215 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
18216 the same line.
18217
e2f6c966
PA
182182014-03-19 Pedro Alves <palves@redhat.com>
18219
18220 * gdb.base/async.c (main): Add "jump here" and "until here" line
18221 marker comments.
18222 * gdb.base/async.exp (jump_here): New global.
18223 (jump& test): Use it.
18224 (until_here): New global.
18225 (until& test): Use it.
18226
c30568d4
PA
182272014-03-19 Pedro Alves <palves@redhat.com>
18228
18229 * gdb.base/async.exp: Don't frob gdb_protocol.
18230
0172b6a7
DE
182312014-03-18 Doug Evans <xdje42@gmail.com>
18232
18233 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
18234 Fix spelling of exec-done-display.
18235
06c868a8
JK
182362014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
18237
18238 PR gdb/15358
18239 * gdb.base/gdb-sigterm.c: New file.
18240 * gdb.base/gdb-sigterm.exp: New file.
18241
0c7e1a46
PA
182422014-03-18 Pedro Alves <palves@redhat.com>
18243
18244 PR gdb/13860
18245 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
18246 * lib/mi-support.exp (mi_expect_stop): Add special handling for
18247 solib-event.
18248
f7c77d93
JB
182492014-03-17 Joel Brobecker <brobecker@adacore.com>
18250
18251 * gdb.ada/pckd_arr_ren: New testcase.
18252
5a1e8c7a
DE
182532014-03-13 Doug Evans <xdje42@gmail.com>
18254
18255 PR guile/16612
18256 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
18257 collect after discarding symbols.
18258
350e1a76
DE
182592014-03-13 Ludovic Courtès <ludo@gnu.org>
18260 Doug Evans <xdje42@gmail.com>
18261
18262 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
18263 to history survives a gc.
18264
a69900ae
PA
182652014-03-13 Pedro Alves <palves@redhat.com>
18266
18267 * gdb.base/default.exp: Don't test "target procfs".
18268
5db9f0bd
PA
182692014-03-13 Pedro Alves <palves@redhat.com>
18270
18271 * gdb.base/default.exp: Update "target child" and "target procfs"
18272 tests to not expect "Unix".
18273
b3ccfe11
TT
182742014-03-12 Tom Tromey <tromey@redhat.com>
18275
18276 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
18277 New procs. Add target-async tests.
18278 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
18279 Add target-async tests.
18280
646f4417
AA
182812014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18282
18283 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
18284 'func_start' and 'func_end' for the beginning and end of the
18285 function code, respectively.
18286 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
18287 'func_end' instead of 'func' and 'main'.
18288
288c211f
AA
182892014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18290
18291 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
18292 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
18293 generate the debug info assembler source.
18294
e0c0f156
AA
182952014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18296
18297 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
18298 * gdb.dwarf2/arr-subrange.exp: Likewise.
18299 * gdb.dwarf2/dwz.exp: Likewise.
18300 * gdb.dwarf2/method-ptr.exp: Likewise.
18301 * gdb.dwarf2/missing-sig-type.exp: Likewise.
18302 * gdb.dwarf2/subrange.exp: Likewise.
18303 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
18304 * gdb.dwarf2/implptrpiece.exp: Likewise.
18305 * gdb.dwarf2/nostaticblock.exp: Likewise.
18306
0e5c4555
AA
183072014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18308
18309 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
18310 directory to absolute path name arguments.
18311
5ec18f2b
JG
183122014-03-10 Joel Brobecker <brobecker@adacore.com>
18313
18314 * gdb.ada/tagged_access: New testcase.
18315
847fc4f2
MM
183162014-03-07 Markus Metzger <markus.t.metzger@intel.com>
18317
18318 * gdb.btrace/data.exp: Update expected output.
18319
cc3da688
YQ
183202014-03-06 Yao Qi <yao@codesourcery.com>
18321
18322 * gdb.trace/pr16508.exp: New file.
18323
0f26cec1
PA
183242014-03-05 Pedro Alves <palves@redhat.com>
18325
18326 PR gdb/16575
18327 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
18328 procedure.
18329 (top level): Adjust to use it. Add tests that exercise breakpoint
18330 interaction with the code-cache.
18331
7a5a839f
LC
183322014-02-26 Ludovic Courtès <ludo@gnu.org>
18333
18334 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
18335 test for 'history-append!'.
18336
31aa7e4e
JB
183372014-02-26 Joel Brobecker <brobecker@adacore.com>
18338
18339 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
18340 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
18341 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
18342 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
18343 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
18344 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
18345
1b588015
JB
183462014-02-26 Joel Brobecker <brobecker@adacore.com>
18347
18348 * testsuite/gdb.python/py-pp-re-notag.c: New file.
18349 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
18350 * testsuite/gdb.python/py-pp-re-notag.p: New file.
18351
55426c9d
JB
183522014-02-26 Joel Brobecker <brobecker@adacore.com>
18353
18354 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
18355
dc53a7ad
JB
183562014-02-26 Joel Brobecker <brobecker@adacore.com>
18357
18358 * gdb.dwarf2/arr-stride.c: New file.
18359 * gdb.dwarf2/arr-stride.exp: New file.
18360
12ab52e9
PA
183612014-02-26 Pedro Alves <palves@redhat.com>
18362
18363 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
18364 that won't ever trigger. Make sure that GDB reports the correct
18365 breakpoint that caused the stop.
18366
849c862e
JK
183672014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18368
18369 PR gdb/16626
18370 * gdb.base/auto-load-script: New file.
18371 * gdb.base/auto-load.c: New file.
18372 * gdb.base/auto-load.exp: New file.
18373
71b7d793
JK
18374 PR gdb/16626
18375 * gdb.base/auto-load.exp: Fix out-of-srctree run.
18376
e2f0d509
JK
183772014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18378
18379 Fix dw2-icycle.exp -fsanitize=address GDB crash.
18380 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
18381
50cc37c8
DE
183822014-02-24 Doug Evans <dje@google.com>
18383
18384 * lib/gdb.exp (run_on_host): Log error output if program fails.
18385
ea4758f2
PA
183862014-02-21 Pedro Alves <palves@redhat.com>
18387
18388 * gdb.threads/step-after-sr-lock.c: Rename to ...
18389 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
18390 * gdb.threads/step-after-sr-lock.exp: Rename to ...
18391 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18392 ... this.
18393
d7b30f67
SDJ
183942014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
18395
18396 PR tdep/16397
18397 * gdb.arch/amd64-stap-special-operands.exp: New file.
18398 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
18399 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
18400 * gdb.arch/amd64-stap-triplet.S: Likewise.
18401 * gdb.arch/amd64-stap-triplet.c: Likewise.
18402
83deb43f
JB
184032014-02-20 Joel Brobecker <brobecker@adacore.com>
18404
18405 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
18406 in .section pseudo-op.
18407
adde2bff
DE
184082014-02-20 lin zuojian <manjian2006@gmail.com>
18409 Joel Brobecker <brobecker@adacore.com>
18410 Doug Evans <xdje42@gmail.com>
18411
18412 PR symtab/16581
18413 * gdb.dwarf2/dw2-icycle.S: New file.
18414 * gdb.dwarf2/dw2-icycle.c: New file.
18415 * gdb.dwarf2/dw2-icycle.exp: New file.
18416
f7bd0f78
SC
184172014-02-19 Siva Chandra Reddy <sivachandra@google.com>
18418
18419 * gdb.python/py-value-cc.cc: Improve test case to enable testing
18420 operations on gdb.Value objects.
18421 * gdb.python/py-value-cc.exp: Add new test to test operations on
18422 gdb.Value objects.
18423
c17ef0d5
DE
184242014-02-18 Doug Evans <dje@google.com>
18425
18426 * Makefile.in (TESTS): New variable.
18427 (expanded_tests, expanded_tests_or_none): New variables
18428 (check-single): Pass $(expanded_tests_or_none) to runtest.
18429 (check-parallel): Only run tests in $(TESTS) if non-empty.
18430 (check/no-matching-tests-found): New rule.
18431 * README: Document TESTS makefile variable.
18432
5dd3176f
DE
184332014-02-18 Doug Evans <dje@google.com>
18434
18435 * Makefile.in (check-parallel): rm -rf outputs temp.
18436
0b10be4f
JK
184372014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18438
18439 Fix "ERROR: no fileid for" in the testsuite.
18440 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
18441
85f224e7
DE
184422014-02-12 Doug Evans <dje@google.com>
18443
18444 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
18445 (MISCELLANEOUS): New variable.
18446 (clean): rm -rf $(MISCELLANEOUS).
18447 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
18448 dwp live in the same directory as symlinks, with each symlink pointed
18449 to a differently named file in a different directory.
18450
149b30ff
DE
184512014-02-11 Doug Evans <dje@google.com>
18452
18453 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
18454 of Tcl file commands.
18455
1dfdac32
MK
184562014-02-10 Mark Kettenis <kettenis@gnu.org>
18457
18458 * gdb.threads/step-after-sr-lock.exp: Avoid executing
18459 "kill -SIGUSR1 -1".
18460
aa4fb036
JB
184612014-02-10 Joel Brobecker <brobecker@adacore.com>
18462
18463 * gdb.ada/tick_length_array_enum_idx: New testcase.
18464
ed3ef339
DE
184652014-02-10 Doug Evans <xdje42@gmail.com>
18466
18467 * configure.ac (AC_OUTPUT): Add gdb.guile.
18468 * configure: Regenerate.
18469 * lib/gdb-guile.exp: New file.
18470 * lib/gdb.exp (get_target_charset): New function.
18471 * gdb.base/help.exp: Update expected output from "apropos apropos".
18472 * gdb.guile/Makefile.in: New file.
18473 * gdb.guile/guile.exp: New file.
18474 * gdb.guile/scm-arch.c: New file.
18475 * gdb.guile/scm-arch.exp: New file.
18476 * gdb.guile/scm-block.c: New file.
18477 * gdb.guile/scm-block.exp: New file.
18478 * gdb.guile/scm-breakpoint.c: New file.
18479 * gdb.guile/scm-breakpoint.exp: New file.
18480 * gdb.guile/scm-disasm.c: New file.
18481 * gdb.guile/scm-disasm.exp: New file.
18482 * gdb.guile/scm-equal.c: New file.
18483 * gdb.guile/scm-equal.exp: New file.
18484 * gdb.guile/scm-error.exp: New file.
18485 * gdb.guile/scm-error.scm: New file.
18486 * gdb.guile/scm-frame-args.c: New file.
18487 * gdb.guile/scm-frame-args.exp: New file.
18488 * gdb.guile/scm-frame-args.scm: New file.
18489 * gdb.guile/scm-frame-inline.c: New file.
18490 * gdb.guile/scm-frame-inline.exp: New file.
18491 * gdb.guile/scm-frame.c: New file.
18492 * gdb.guile/scm-frame.exp: New file.
18493 * gdb.guile/scm-generics.exp: New file.
18494 * gdb.guile/scm-gsmob.exp: New file.
18495 * gdb.guile/scm-iterator.c: New file.
18496 * gdb.guile/scm-iterator.exp: New file.
18497 * gdb.guile/scm-math.c: New file.
18498 * gdb.guile/scm-math.exp: New file.
18499 * gdb.guile/scm-objfile-script-gdb.in: New file.
18500 * gdb.guile/scm-objfile-script.c: New file.
18501 * gdb.guile/scm-objfile-script.exp: New file.
18502 * gdb.guile/scm-objfile.c: New file.
18503 * gdb.guile/scm-objfile.exp: New file.
18504 * gdb.guile/scm-ports.exp: New file.
18505 * gdb.guile/scm-pretty-print.c: New file.
18506 * gdb.guile/scm-pretty-print.exp: New file.
18507 * gdb.guile/scm-pretty-print.scm: New file.
18508 * gdb.guile/scm-section-script.c: New file.
18509 * gdb.guile/scm-section-script.exp: New file.
18510 * gdb.guile/scm-section-script.scm: New file.
18511 * gdb.guile/scm-symbol.c: New file.
18512 * gdb.guile/scm-symbol.exp: New file.
18513 * gdb.guile/scm-symtab-2.c: New file.
18514 * gdb.guile/scm-symtab.c: New file.
18515 * gdb.guile/scm-symtab.exp: New file.
18516 * gdb.guile/scm-type.c: New file.
18517 * gdb.guile/scm-type.exp: New file.
18518 * gdb.guile/scm-value-cc.cc: New file.
18519 * gdb.guile/scm-value-cc.exp: New file.
18520 * gdb.guile/scm-value.c: New file.
18521 * gdb.guile/scm-value.exp: New file.
18522 * gdb.guile/source2.scm: New file.
18523 * gdb.guile/types-module.cc: New file.
18524 * gdb.guile/types-module.exp: New file.
18525
7026a7c1
YQ
185262014-02-10 Yao Qi <yao@codesourcery.com>
18527
18528 PR testsuite/16543
18529 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
18530 * configure: Regenerated.
18531 * Makefile.in: New file.
18532
6c466447
AS
185332014-02-08 Andreas Schwab <schwab@linux-m68k.org>
18534
18535 * gdb.python/py-framefilter.exp: Fix typo.
18536
6e854735
YQ
185372014-02-08 Yao Qi <yao@codesourcery.com>
18538
18539 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
18540 that no =breakpoint-modified is emitted when breakpoints are
18541 modified through MI commands.
18542
d137e6dc
PA
185432014-02-07 Pedro Alves <pedro@codesourcery.com>
18544 Pedro Alves <palves@redhat.com>
18545
18546 * gdb.threads/step-after-sr-lock.c: New file.
18547 * gdb.threads/step-after-sr-lock.exp: New file.
18548
b5ee5a50
PA
185492014-02-07 Pedro Alves <palves@redhat.com>
18550
18551 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
18552
3c77faf3
JK
185532014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
18554
18555 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
18556 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
18557
6dddc817
DE
185582014-02-06 Doug Evans <xdje42@gmail.com>
18559
18560 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
18561 output.
18562
18563 * gdb.gdb/python-interrupts.exp: New file.
18564
de7b2893
YQ
185652014-02-05 Yao Qi <yao@codesourcery.com>
18566
18567 * gdb.trace/report.exp (use_collected_data): Test the output
18568 of "info threads" and "info inferiors".
18569
66d032ac
YQ
185702014-02-05 Yao Qi <yao@codesourcery.com>
18571
18572 Revert this patch:
18573
18574 2013-05-24 Yao Qi <yao@codesourcery.com>
18575
18576 * gdb.trace/tfile.exp: Test inferior and thread.
18577
591a12a1
UW
185782014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18579
18580 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
18581 on a function.
18582 * gdb.base/step-bt.c: Call hello via function pointer to make
18583 sure its first instruction is executed on powerpc64le-linux.
18584
0ff3e01f
UW
185852014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18586
18587 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
18588
084ee545
UW
185892014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18590
18591 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
18592 of the test patterns for use on little-endian systems.
18593
6ed14ff3
UW
185942014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18595
18596 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
18597 (decimal_vector): Fix for little-endian.
18598
401e27fd
JM
185992014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
18600
18601 * gdb.arch/sparc-sysstep.exp: New file.
18602 * gdb.arch/sparc-sysstep.c: Likewise.
18603
18604 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
18605
8b924729
EBM
186062014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18607
18608 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
18609
fb151210
JB
186102014-01-23 Tom Tromey <tromey@redhat.com>
18611
18612 * gdb.ada/array_char_idx: New testcase.
18613
0740f8d8
TT
186142014-01-23 Tom Tromey <tromey@redhat.com>
18615
18616 PR python/16487:
18617 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
18618 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
18619 classes.
18620
21909fa1
TT
186212014-01-23 Tom Tromey <tromey@redhat.com>
18622
18623 PR python/16491:
18624 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
18625 string from an inferior frame.
18626 * gdb.python/py-framefilter-mi.exp: Update.
18627
87ce2a04
DE
186282014-01-22 Doug Evans <dje@google.com>
18629
18630 * gdb.server/server-mon.exp: Add tests for "set debug-format".
18631
237b092b
AA
186322014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18633
18634 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
18635
d674a709
AA
186362014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18637
18638 * gdb.trace/entry-values.exp: Remove excess space character from
18639 regex patterns. Handle s390 call instruction.
18640
20fa3390
AA
186412014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18642
18643 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
18644 define "*_start" label. Make "name" static.
18645 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
18646 ${name} by references to ${name}_start.
18647
78466714
AA
186482014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18649
18650 * gdb.base/info-macros.exp: Remove "debug" from the compile
18651 options.
18652
ec9f644a
IB
186532014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18654
18655 * gdb.dlang/demangle.exp: New file.
18656
94b1b47e
IB
186572014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18658
18659 * gdb.dlang/primitive-types.exp: New file.
18660
7f420862
IB
186612014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18662
18663 * configure.ac: Create gdb.dlang/Makefile.
18664 * configure: Regenerate.
18665 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
18666 * gdb.dlang/Makefile.in: New file.
18667 * lib/d-support.exp: New file.
18668 * lib/gdb.exp (skip_d_tests): New proc.
18669
52834460
MM
186702014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18671
18672 * gdb.btrace/delta.exp: Check reverse stepi.
18673 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
18674 * gdb.btrace/finish.exp: New.
18675 * gdb.btrace/next.exp: New.
18676 * gdb.btrace/nexti.exp: New.
18677 * gdb.btrace/record_goto.c: Add comments.
18678 * gdb.btrace/step.exp: New.
18679 * gdb.btrace/stepi.exp: New.
18680 * gdb.btrace/multi-thread-step.c: New.
18681 * gdb.btrace/multi-thread-step.exp: New.
18682 * gdb.btrace/rn-dl-bind.c: New.
18683 * gdb.btrace/rn-dl-bind.exp: New.
18684 * gdb.btrace/data.c: New.
18685 * gdb.btrace/data.exp: New.
18686 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
18687
6e07b1d2
MM
186882014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18689
18690 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
18691 * gdb.btrace/exception.exp: Update.
18692 * gdb.btrace/instruction_history.exp: Update.
18693 * gdb.btrace/record_goto.exp: Update.
18694 * gdb.btrace/tailcall.exp: Update.
18695 * gdb.btrace/unknown_functions.exp: Update.
18696 * gdb.btrace/delta.exp: New.
18697
0b722aec
MM
186982014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18699
18700 * gdb.btrace/record_goto.exp: Add backtrace test.
18701 * gdb.btrace/tailcall.exp: Add backtrace test.
18702
066ce621
MM
187032014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18704
18705 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
18706 * gdb.btrace/record_goto.c: New.
18707 * gdb.btrace/record_goto.exp: New.
18708 * gdb.btrace/x86-record_goto.S: New.
18709
0688d04e
MM
187102014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18711
18712 * gdb.btrace/function_call_history.exp: Update tests.
18713 * gdb.btrace/instruction_history.exp: Update tests.
18714
8710b709
MM
187152014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18716
18717 * gdb.btrace/function_call_history.exp: Fix expected field
18718 order for "record function-call-history".
18719 Add new tests for "record function-call-history /c".
18720 * gdb.btrace/exception.cc: New.
18721 * gdb.btrace/exception.exp: New.
18722 * gdb.btrace/tailcall.exp: New.
18723 * gdb.btrace/x86-tailcall.S: New.
18724 * gdb.btrace/x86-tailcall.c: New.
18725 * gdb.btrace/unknown_functions.c: New.
18726 * gdb.btrace/unknown_functions.exp: New.
18727 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
18728
5de9129b
MM
187292014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18730
18731 * gdb.btrace/instruction_history.exp: Update.
18732 * gdb.btrace/function_call_history.exp: Update.
18733
23a7fe75
MM
187342014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18735
18736 * gdb.btrace/function_call_history.exp: Fix expected function
18737 trace.
18738 * gdb.btrace/instruction_history.exp: Initialize traced.
18739 Remove traced_functions.
18740
724c7dd8
MM
187412014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18742
18743 * gdb.btrace/function_call_history.exp: Update
18744 * gdb.btrace/instruction_history.exp: Update.
18745
6d78d93b
MM
187462014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18747
18748 * gdb.btrace/enable.exp: Update expected text.
18749
93a360cc
OJ
187502014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
18751
18752 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
18753 bytes.
18754
3772b53f
MR
187552014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
18756
18757 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
18758
596662fa
OJ
187592014-01-15 Omair Javaid <omair.javaid@linaro.org>
18760
18761 * lib/gdb.exp (supports_process_record): Return true for
18762 arm*-linux*. (supports_reverse): Likewise.
18763
b5b08fb4
SC
187642014-01-13 Siva Chandra Reddy <sivachandra@google.com>
18765
18766 PR python/15464
18767 PR python/16113
18768 * gdb.python/py-type.c: Enhance test case.
18769 * gdb.python/py-value-cc.cc: Likewise
18770 * gdb.python/py-type.exp: Add new tests.
18771 * gdb.python/py-value-cc.exp: Likewise
18772
52d7fb13
AA
187732014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
18774 Pedro Alves <palves@redhat.com>
18775
18776 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
18777 Make "name" extern.
18778 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
18779 references to ${name}_start by references to ${name}.
18780
a2cd8cfe
JB
187812014-01-10 Joel Brobecker <brobecker@adacore.com>
18782
18783 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
18784
4e23fced
JB
187852014-01-10 Joel Brobecker <brobecker@adacore.com>
18786
18787 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
18788
c6a9e42c
PA
187892014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
18790 Pedro Alves <palves@redhat.com>
18791
18792 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 18793 mi_gdb_target_load.
c6a9e42c 18794
b7ea362b
PA
187952014-01-08 Pedro Alves <palves@redhat.com>
18796
18797 * gdb.threads/reconnect-signal.c: New file.
18798 * gdb.threads/reconnect-signal.exp: New file.
18799
5e3f4fab
EBM
188002014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
18801
18802 * gdb.base/source-dir.exp: New file.
18803
79301218
JB
188042014-01-07 Joel Brobecker <brobecker@adacore.com>
18805
18806 * gdb.ada/mi_interface: New testcase.
18807
8e355c5d
JB
188082014-01-07 Joel Brobecker <brobecker@adacore.com>
18809
18810 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
18811 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
18812 gdb.ada/pp-rec-component/pck.ads: New files.
18813
c0d48811
JB
188142014-01-07 Joel Brobecker <brobecker@adacore.com>
18815
18816 * gdb.python/py-pp-integral.c: New file.
18817 * gdb.python/py-pp-integral.py: New file.
18818 * gdb.python/py-pp-integral.exp: New file.
18819
17b609c3 18820For older changes see ChangeLog-1993-2013.
c906108c 18821\f
8d8cb839
EZ
18822;; Local Variables:
18823;; mode: change-log
18824;; left-margin: 8
18825;; fill-column: 74
18826;; version-control: never
18827;; End:
902f2ccb 18828
b811d2c2 18829 Copyright 2014-2020 Free Software Foundation, Inc.
902f2ccb
MC
18830 Copying and distribution of this file, with or without modification,
18831 are permitted provided the copyright notice and this notice are preserved.