]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Automatic date update in version.in
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
1773be9e
TT
12020-03-20 Tom Tromey <tromey@adacore.com>
2
3 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
4
70304be9
TT
52020-03-20 Tom Tromey <tromey@adacore.com>
6
7 * gdb.ada/sub_variant/subv.adb: New file.
8 * gdb.ada/sub_variant.exp: New file.
9
0dd7b8f7
TV
102020-03-20 Tom de Vries <tdevries@suse.de>
11
12 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
13 first break fails.
14 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
15
cada5fc9
AB
162020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
17
18 * gdb.server/exit-multiple-threads.c: New file.
19 * gdb.server/exit-multiple-threads.exp: New file.
20
6b8c53f2
AB
212020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
22
23 * gdb.fortran/mixed-lang-stack.c: New file.
24 * gdb.fortran/mixed-lang-stack.cpp: New file.
25 * gdb.fortran/mixed-lang-stack.exp: New file.
26 * gdb.fortran/mixed-lang-stack.f90: New file.
27
19a2740f
AB
282020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
29
30 * gdb.linespec/cp-completion-aliases.cc: New file.
31 * gdb.linespec/cp-completion-aliases.exp: New file.
32
d8c8b848
TV
332020-03-19 Tom de Vries <tdevries@suse.de>
34
35 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
36 more precise.
37
a9933ccf
TV
382020-03-18 Tom de Vries <tdevries@suse.de>
39
40 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
41 * gdb.dwarf2/break-inline-psymtab.c: New test.
42 * gdb.dwarf2/break-inline-psymtab.exp: New file.
43
2f89101f
TV
442020-03-16 Tom de Vries <tdevries@suse.de>
45
46 * lib/cache.exp (gdb_do_cache): Add and handle local variables
47 cache_verify and cache_verify_proc.
48
6b9374f1
TV
492020-03-15 Tom de Vries <tdevries@suse.de>
50
51 * gdb.server/solib-list.exp: Handle
52 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
53
eaeaf44c
TV
542020-03-15 Tom de Vries <tdevries@suse.de>
55
56 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
57 objfiles".
58
3293bbaf
TT
592020-03-14 Tom Tromey <tom@tromey.com>
60
61 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
62
ab44624c
TV
632020-03-14 Tom de Vries <tdevries@suse.de>
64
65 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
66
54c43825
TV
672020-03-14 Tom de Vries <tdevries@suse.de>
68
69 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
70 result in line-by-line fashion.
71
2ac70237
TV
722020-03-14 Tom de Vries <tdevries@suse.de>
73
74 * lib/gdb.exp (supports_statement_frontiers): New proc.
75 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
76
09546b56
TV
772020-03-14 Tom de Vries <tdevries@suse.de>
78
79 * gdb.base/printcmds.exp: Add missing quoting for "print
80 teststring2".
81
a1f6a07c
TT
822020-03-13 Tom Tromey <tom@tromey.com>
83
84 * gdb.base/printcmds.exp (test_print_strings): Add regression
85 test.
86 * gdb.base/printcmds.c (charptr): New typedef.
87 (teststring2): New global.
88
1b83d09c
AB
892020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
90
91 * gdb.base/break-interp.exp: Use the tail of the filename, not the
92 full path in the test name.
93 (test_ld): Add some with_test_prefix blocks to make test names
94 unique.
95
2d61316c
TV
962020-03-13 Tom de Vries <tdevries@suse.de>
97
98 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
99
2e9145ac
TV
1002020-03-13 Tom de Vries <tdevries@suse.de>
101
102 * gdb.mi/mi-sym-info.exp: Make matching more precise.
103
96c7f873
TV
1042020-03-13 Tom de Vries <tdevries@suse.de>
105
106 PR symtab/25646
107 * gdb.dwarf2/imported-unit.exp: Add test.
108
49ba92c0
TV
1092020-03-13 Tom de Vries <tdevries@suse.de>
110
111 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
112 (var1, var2): New variable.
113 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
114 matching symbols.
115
301b21e0
TV
1162020-03-13 Tom de Vries <tdevries@suse.de>
117
118 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
119 (Term::command): Use prompt prefix.
120 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
121 * gdb.tui/tui-layout-asm-short-prog.exp: Use
122 command_no_prompt_prefix instead of prefix.
123 * gdb.tui/tui-layout-asm.exp: Same.
124
3f512721
SM
1252020-03-12 Simon Marchi <simon.marchi@efficios.com>
126
127 * gdb.base/break-interp.exp: Use foreach_with_prefix.
128
40310f30
SM
1292020-03-12 Simon Marchi <simon.marchi@efficios.com>
130
131 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
132 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
133 on" while stepping over the test instruction, match printed
134 message.
135
09252140
TV
1362020-03-12 Tom de Vries <tdevries@suse.de>
137
138 * gdb.base/info-types.exp: Use exp_continue during matching of output
139 of "info types".
140
14e9c72c
TV
1412020-03-12 Tom de Vries <tdevries@suse.de>
142
143 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
144
e515d67e
TV
1452020-03-12 Tom de Vries <tdevries@suse.de>
146
147 * gdb.fortran/module.exp: Use exp_continue during matching of output
148 of "info variable -n".
149
307eafd8
TV
1502020-03-12 Tom de Vries <tdevries@suse.de>
151
152 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
153 gdb.dwarf2/dw2-ranges-base.c.
154
9a2de3fc
TV
1552020-03-12 Tom de Vries <tdevries@suse.de>
156
157 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
158 in presence of GLIBC debuginfo.
159
3217502e
TV
1602020-03-12 Tom de Vries <tdevries@suse.de>
161
162 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
163 $core.
164
1281424c
TV
1652020-03-12 Tom de Vries <tdevries@suse.de>
166
167 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
168 more precise.
169
038b97fc
SM
1702020-03-11 Simon Marchi <simon.marchi@efficios.com>
171
172 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
173 from Unix to Windows path.
174
5308d1e7
TV
1752020-03-11 Tom de Vries <tdevries@suse.de>
176
177 * gdb.ada/minsyms.exp: Set language to ada.
178
f870f78f
TV
1792020-03-11 Tom de Vries <tdevries@suse.de>
180
181 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
182
5a13315d
TV
1832020-03-11 Tom de Vries <tdevries@suse.de>
184
185 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
186
976862ed
TT
1872020-03-11 Tom Tromey <tromey@adacore.com>
188
189 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
190
7462c383
TV
1912020-03-11 Tom de Vries <tdevries@suse.de>
192
193 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
194
1c6c46a0
TV
1952020-03-11 Tom de Vries <tdevries@suse.de>
196
197 * gdb.base/break-interp.exp: Limit verbose scope.
198
44f41bb7
TV
1992020-03-11 Tom de Vries <tdevries@suse.de>
200
201 * gdb.fortran/logical.f90: Define variable with character type.
202 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
203
b76f3a42
TV
2042020-03-11 Tom de Vries <tdevries@suse.de>
205
206 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
207
1c33af77
TV
2082020-03-11 Tom de Vries <tdevries@suse.de>
209
210 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
211 symtabs.
212
8c95582d
AB
2132020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
214 Bernd Edlinger <bernd.edlinger@hotmail.de>
215
216 * gdb.cp/step-and-next-inline.cc: New file.
217 * gdb.cp/step-and-next-inline.exp: New file.
218 * gdb.cp/step-and-next-inline.h: New file.
219 * gdb.dwarf2/dw2-is-stmt.c: New file.
220 * gdb.dwarf2/dw2-is-stmt.exp: New file.
221 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
222 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
223 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
224
cecf8547
AB
2252020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
226
227 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
228 is-stmt flag in the line table.
229
0ba678c9
TV
2302020-03-09 Tom de Vries <tdevries@suse.de>
231
232 * lib/gdb.exp (cached_file): Create cache dir.
233
72fbdf83
TV
2342020-03-07 Tom de Vries <tdevries@suse.de>
235
236 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
237 * gdb.cp/rvalue-ref-params.exp: Same.
238
436b5e99
TV
2392020-03-06 Tom de Vries <tdevries@suse.de>
240
241 * lib/gdb.exp (tentative_rename, cached_file): New proc.
242 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
243
09f2921c
TV
2442020-03-06 Tom de Vries <tdevries@suse.de>
245
246 * README: Fix "the the".
247 * gdb.base/dprintf.exp: Same.
248
50a3cc5d
TV
2492020-03-05 Tom de Vries <tdevries@suse.de>
250
251 * gdb.base/maint.exp: Update "main print statistics" expected output.
252
0a709cba
AKS
2532020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
254
255 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
256 (fortran_int8): Likewise.
257 (fortran_real4): Likewise.
258 (fortran_real8): Likewise.
259 (fortran_complex4): Likewise.
260 (fortran_logical4): Likewise.
261 (fortran_character1): Likewise.
262
5e5d66b6
AB
2632020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
264
265 * gdb.fortran/logical.exp: Add tests that any non-zero value is
266 printed as true.
267
7b973adc
SDJ
2682020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
269
270 * gdb.base/printcmds.exp: Add test to verify printf of a
271 variable holding an address.
272
478e490a
TV
2732020-03-03 Tom de Vries <tdevries@suse.de>
274
275 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
276
1ef44e86
TV
2772020-03-03 Tom de Vries <tdevries@suse.de>
278
279 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
280 gdb_test_multiple call.
281
b98cc2cf
TV
2822020-03-03 Tom de Vries <tdevries@suse.de>
283
284 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
285 gdb_test_multiple calls.
286
63e163f2
AB
2872020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
288
289 * gdb.base/default.exp: Remove test of 'set history filename'.
290 * gdb.base/gdbinit-history.exp: Add tests for setting the history
291 filename to the empty string.
292 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
293 and GDBHISTSIZE.
294
24ed6739
AB
2952020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
296
297 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
298 disabled.
299
590003dc
TV
3002020-03-02 Pedro Alves <palves@redhat.com>
301 Tom de Vries <tdevries@suse.de>
302
303 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
304 -prompt prefix, before user_code argument. Add -lbl option likewise.
305 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
306 (gdb_is_target_1): Add -prompt prefix and move to before user_code
307 argument.
308 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
309 have "\r\n" at start-of-line, instead of at end-of-line.
310
f5e46084
SM
3112020-02-28 Simon Marchi <simon.marchi@efficios.com>
312
313 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
314 libinproctrace.so.
315
f7a7000d
LM
3162020-02-28 Luis Machado <luis.machado@linaro.org>
317
318 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
319 to "p/x".
320
718e0816
LM
3212020-02-28 Luis Machado <luis.machado@linaro.org>
322
323 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
324 asm/ptrace.h and error.h.
325
13c3a74a
TV
3262020-02-28 Tom de Vries <tdevries@suse.de>
327
328 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
329 (struct wrapper, do_something, mundane/symada__cS): Move ...
330 * gdb.base/c-linkage-name-2.c: ... here. New source file.
331 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
332 Update "print symada__cS before partial symtab expansion" regexp.
333 Update breakpoint location. Flush symbol cache after expansion.
334
85d2d5bb
LM
3352020-02-28 Luis Machado <luis.machado@linaro.org>
336
337 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
338
3608f86c
TV
3392020-02-27 Tom de Vries <tdevries@suse.de>
340
341 * config/sid.exp: Remove unused globals.
342 * gdb.base/attach.exp: Same.
343 * gdb.base/catch-load.exp: Same.
344 * gdb.base/dbx.exp: Same.
345 * lib/gdb.exp: Same.
346 * lib/mi-support.exp: Same.
347 * lib/prompt.exp: Same.
348
c8d4f6df
TV
3492020-02-27 Tom de Vries <tdevries@suse.de>
350
351 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
352 not set.
353
0d79cdc4
AM
3542020-02-26 Aaron Merey <amerey@redhat.com>
355
356 * gdb.debuginfod: New directory for debuginfod tests.
357 * gdb.debuginfod/main.c: New test file.
358 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
359
0dce4280
TV
3602020-02-26 Tom de Vries <tdevries@suse.de>
361
362 PR gdb/25603
363 * gdb.base/persistent-lang.cc: New test.
364 * gdb.base/persistent-lang.exp: New file.
365
9e80cfa1
AB
3662020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
367
368 * gdb.fortran/derived-type-striding.exp: Add a new test.
369 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
370 new test.
371
2078dbb2
AB
3722020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
373
374 * gdb.base/cached-source-file.exp: Avoid source file paths in test
375 names.
376
70d49700
TV
3772020-02-25 Tom de Vries <tdevries@suse.de>
378
379 PR go/18926
380 * gdb.go/methods.exp: Remove gcc/93866 xfail.
381
a88ef40d
TV
3822020-02-24 Tom de Vries <tdevries@suse.de>
383
384 PR gdb/25592
385 * gdb.base/info-locals-unused-static-var.c: New test.
386 * gdb.base/info-locals-unused-static-var.exp: New file.
387
01b1af32
TT
3882020-02-22 Tom Tromey <tom@tromey.com>
389
390 * gdb.python/tui-window.exp: New file.
391 * gdb.python/tui-window.py: New file.
392
7c043ba6
TT
3932020-02-22 Tom Tromey <tom@tromey.com>
394
395 PR tui/17850:
396 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
397 tests.
398
c22fef7e
TT
3992020-02-22 Tom Tromey <tom@tromey.com>
400
401 * gdb.tui/new-layout.exp: Add sub-layout tests.
402
ee325b61
TT
4032020-02-22 Tom Tromey <tom@tromey.com>
404
405 * gdb.tui/new-layout.exp: New file.
406
3f0cbb04
TT
4072020-02-22 Tom Tromey <tom@tromey.com>
408
409 * gdb.rust/rust-style.rs: New file.
410 * gdb.rust/rust-style.exp: New file.
411 * gdb.base/style.exp: Test structure printing.
412 * gdb.base/style.c (struct some_struct): New type.
413 (enum etype): New type.
414 (struct_value): New global.
415
75525152
TV
4162020-02-21 Tom de Vries <tdevries@suse.de>
417
418 PR go/18926
419 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
420 Remove blanket xfails. Use message argument for gdb_breakpoint.
421 Make continuing to breakpoint test conditional on setting breakpoint.
422 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
423 DW_AT_name attribute. Add xfail for GCC PR93866.
424
bd360d30
AB
4252020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
426
427 * gdb.dwarf2/cpp-linkage-name.c: New file.
428 * gdb.dwarf2/cpp-linkage-name.exp: New file.
429
c7adb09f 4302020-02-21 Shahab Vahedi <shahab@synopsys.com>
24ac169a
SV
431
432 * lib/gdb.exp (gdb_wrapper_init): Reset
433 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
434 not exist.
435
a9c79803
TV
4362020-02-20 Tom de Vries <tdevries@suse.de>
437
438 PR go/17018
439 * gdb.go/hello.exp: Copy ...
440 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
441 print of st to print value of global definition. Add xfail for GCC
442 PR93844.
443 * gdb.go/hello.exp: Remove printing of st before definition.
444 * gdb.go/hello.go: Copy ...
445 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
446 to st.
447 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
448
d7445728
TV
4492020-02-20 Tom de Vries <tdevries@suse.de>
450
451 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
452 (gdb_simple_compile): Handle compile_flags go by using .go extension
453 for source file.
454 * gdb.go/chan.exp: Use support_go_compile.
455 * gdb.go/handcall.exp: Same.
456 * gdb.go/hello.exp: Same.
457 * gdb.go/integers.exp: Same.
458 * gdb.go/max-depth.exp: Same.
459 * gdb.go/methods.exp: Same.
460 * gdb.go/package.exp: Same.
461 * gdb.go/strings.exp: Same.
462 * gdb.go/types.exp: Same.
463 * gdb.go/unsafe.exp: Same.
464
c9c41e6d
TV
4652020-02-19 Tom de Vries <tdevries@suse.de>
466
467 * gdb.python/lib-types.exp: Make xfail more strict.
468
f20ff837
TV
4692020-02-19 Tom de Vries <tdevries@suse.de>
470
471 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
472
08410482
DE
4732020-02-19 Doug Evans <dje@google.com>
474
475 PR rust/25535
476 * gdb.rust/simple.exp: Add test.
477 * gdb.rust/simple.rs: Add test.
478
623563f7
TV
4792020-02-19 Tom de Vries <tdevries@suse.de>
480
481 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
482 output line-by-line.
483
d3308cfd
TV
4842020-02-19 Tom de Vries <tdevries@suse.de>
485
486 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
487
86cbc5dc
TV
4882020-02-19 Tom de Vries <tdevries@suse.de>
489
490 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
491 prelink.
492
9db2b96b
TV
4932020-02-19 Tom de Vries <tdevries@suse.de>
494
495 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
496 (gdb_do_cache): Use gdb_do_cache_wrap.
497 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
498
89e2fdc5
TV
4992020-02-19 Tom de Vries <tdevries@suse.de>
500
501 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
502 gdb_compile option.
503
373d7ac0
SM
5042020-02-18 Simon Marchi <simon.marchi@efficios.com>
505
506 * gdb.base/printcmds.exp (test_print_enums): Update expected
507 output.
508
b29a2df0
SM
5092020-02-18 Simon Marchi <simon.marchi@efficios.com>
510
511 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
512 for "unknown".
513
6740f0cc
SM
5142020-02-18 Simon Marchi <simon.marchi@efficios.com>
515
516 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
517 enumerator.
518
edd45eb0
SM
5192020-02-18 Simon Marchi <simon.marchi@efficios.com>
520
521 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
522 FE_, add FE_NONE.
523 (three): Update.
524 (enum flag_enum_without_zero): New enum.
525 (flag_enum_without_zero): New variable.
526 (enum not_flag_enum): New enum.
527 (three_not_flag): New variable.
528 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
529 (test_print_enums): Add more tests for printing flag enums.
530
d4295de4
TV
5312020-02-18 Tom de Vries <tdevries@suse.de>
532
533 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
534 (gdb_compile_ada): ... here.
535 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
536 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
537
f251f505
TT
5382020-02-14 Tom Tromey <tom@tromey.com>
539
540 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
541 build directory.
542 * boards/gdbserver-base.exp: Update path to gdbserver.
543
8f432634
TV
5442020-02-13 Tom de Vries <tdevries@suse.de>
545
546 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
547
92b6eaf7
TV
5482020-02-13 Tom de Vries <tdevries@suse.de>
549
550 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
551 are missing.
552
f3b0f7fe
TV
5532020-02-13 Tom de Vries <tdevries@suse.de>
554
555 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
556 call.
557
f6be8713
SDJ
5582020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
559
560 PR tui/25126
561 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
562 * gdb.base/cached-source-file.c: New file.
563 * gdb.base/cached-source-file.exp: New file.
564
b2770d5e
TV
5652020-02-11 Tom de Vries <tdevries@suse.de>
566
567 PR testsuite/25488
568 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
569
44f6938e
TV
5702020-02-10 Tom de Vries <tdevries@suse.de>
571
572 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
573
5f0e2eb7
MR
5742020-02-10 Maciej W. Rozycki <macro@wdc.com>
575
576 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
577 and $after_addr are both integers before making a comparison.
578
46ce2b6f
TV
5792020-02-09 Tom de Vries <tdevries@suse.de>
580
581 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
582 command output and paste it into gdb.log. If any, paste catch message
583 to gdb.log.
584
5abbbe1d
TT
5852020-02-07 Tom Tromey <tromey@adacore.com>
586
587 PR breakpoints/24915:
588 * gdb.base/annotate-symlink.exp: Use setup_xfail.
589
1d5d29e7
SV
5902020-02-06 Shahab Vahedi <shahab@synopsys.com>
591
592 * gdb.tui/tui-missing-src.exp: Add the "missing source
593 file" test for the TUI.
594
b0999b9b
AB
5952020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
596
597 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
598 including a port number in the output.
599
c3b149eb
AKS
6002020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
601
602 * lib/fortran.exp (fortran_int4): Handle clang.
603 (fortran_int8): Likewise.
604 (fortran_real4): Likewise.
605 (fortran_real8): Likewise.
606 (fortran_complex4): Likewise.
607 (fortran_logical4): Likewise.
608 (fortran_character1): Likewise.
609
f8dcc90b
TV
6102020-02-04 Tom de Vries <tdevries@suse.de>
611
612 * README (Race detection): Add note.
613
f90ac7c2
TV
6142020-02-04 Tom de Vries <tdevries@suse.de>
615
616 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
617
780636ae
TV
6182020-02-04 Tom de Vries <tdevries@suse.de>
619
620 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
621
5d2e1193
RA
6222020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
623
624 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
625 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
626 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
627 blttar, bnetarl.
628 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
629 binary for blttar, bnetarl.
630 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
631 wait instruction. Delete ldmx test.
632 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
633
e409c542
AKS
6342020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
635
636 * gdb.fortran/array-bounds-high.exp: New file.
637 * gdb.fortran/array-bounds-high.f90: New file.
638
b0029748
LD
6392020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
640
641 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
642 Replace #include of <sys/fcntl.h> by <fcntl.h>.
643
195a8287
TV
6442020-02-01 Tom de Vries <tdevries@suse.de>
645
646 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
647
42330a68
AB
6482020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
649
650 PR tui/9765
651 * gdb.tui/tui-layout-asm-short-prog.S: New file.
652 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
653
b62a8028
LM
6542020-01-29 Luis Machado <luis.machado@linaro.org>
655
656 * gdb.arch/aarch64-brk-patterns.c: New source file.
657 * gdb.arch/aarch64-brk-patterns.exp: New test.
658
5f440116
TBA
6592020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
660
661 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
662 GCC/Clang version.
663 * gdb.cp/pass-by-ref.exp: Ditto.
664
ee2a6fc6
TV
6652020-01-29 Tom de Vries <tdevries@suse.de>
666
667 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
668 * gdb.threads/watchpoint-fork-mt.c: Same.
669 * gdb.threads/watchpoint-fork-parent.c: Same.
670 * gdb.threads/watchpoint-fork-st.c: Same.
671 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
672
16b10d6e
LM
6732020-01-27 Luis Machado <luis.machado@linaro.org>
674
675 * gdb.base/step-over-syscall.exp (setup): Check if we're already
676 sitting at a syscall instruction when we hit the syscall function's
677 breakpoint.
678 Check PC against one obtained with the x command.
679 Validate syscall number.
680 (step_over_syscall): Don't continue to the syscall instruction if
681 we're already there.
682
b1468492
PW
6832020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
684
685 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
686
7ffa82e1
AB
6872020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
688
689 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
690 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
691
3d92a3e3
AB
6922020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
693
694 * gdb.dwarf2/dw2-inline-stepping.c: New file.
695 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
696
94a72be7
AB
6972020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
698
699 * gdb.base/maint.exp: Update line table parsing test.
700 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
701
53af73bf
PA
7022020-01-24 Pedro Alves <palves@redhat.com>
703
704 PR gdb/25410
705 * gdb.multi/multi-re-run-1.c: New.
706 * gdb.multi/multi-re-run-2.c: New.
707 * gdb.multi/multi-re-run.exp: New.
708
1ba1ac88
AB
7092020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
710
711 PR gdb/23718
712 * gdb.server/server-kill-python.exp: New file.
713
f3364a6d
AB
7142020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
715
716 * gdb.server/multi-ui-errors.c: New file.
717 * gdb.server/multi-ui-errors.exp: New file.
718
733d0a67
AB
7192020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
720
721 PR tui/9765
722 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
723
4f13c1c0
TT
7242020-01-19 Tom Tromey <tom@tromey.com>
725
726 * gdb.tui/main.exp: Add check for plain "file".
727
40c94099
CB
7282020-01-16 Christian Biesinger <cbiesinger@google.com>
729
730 * lib/gdb.exp: Fix spelling error (seperatelly).
731
ff47f4f0
TT
7322020-01-14 Tom Tromey <tom@tromey.com>
733
734 PR symtab/12535:
735 * gdb.python/python.exp: Test decode_line with empty string
736 argument.
737
717c684d
BE
7382020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
739
740 * gdb.base/skip-inline.exp: Extend test.
741
44e4c775
AB
7422020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
743
744 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
745 * gdb.dwarf2/dw2-bad-elf.c: New file.
746 * gdb.dwarf2/dw2-bad-elf.exp: New file.
747
d93c6db7
AB
7482020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
749
750 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
751 _line_saw_file.
752
9a6d629c
AB
7532020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
754
755 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
756 border.
757
d9ebdab7
TBA
7582020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
759
760 * gdb.multi/multi-target.exp (setup): Factor out "info
761 connections" and "info inferiors" tests to ...
762 (test_info_inferiors): ... this new procedure.
763 (top level): Run new "info-inferiors" tests.
764
f3c469b9
PA
7652020-01-10 Pedro Alves <palves@redhat.com>
766
767 * gdb.server/bkpt-other-inferior.exp: New file.
768
121b3efd
PA
7692020-01-10 Pedro Alves <palves@redhat.com>
770
771 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
772 of "add-inferior".
773 * gdb.base/quit-live.exp: Likewise.
774 * gdb.base/remote-exec-file.exp: Likewise.
775 * gdb.guile/scm-progspace.exp: Likewise.
776 * gdb.linespec/linespec.exp: Likewise.
777 * gdb.mi/new-ui-mi-sync.exp: Likewise.
778 * gdb.mi/user-selected-context-sync.exp: Likewise.
779 * gdb.multi/multi-target.exp (setup): Add "info connection" and
780 "info inferiors" tests.
781 * gdb.multi/remove-inferiors.exp: Adjust expected output of
782 "add-inferior".
783 * gdb.multi/watchpoint-multi.exp: Likewise.
784 * gdb.python/py-inferior.exp: Likewise.
785 * gdb.server/extended-remote-restart.exp: Likewise.
786 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
787 "info inferiors".
788 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
789 * gdb.trace/report.exp: Likewise.
790
1dadb1dd
PA
7912020-01-10 Pedro Alves <palves@redhat.com>
792
793 * gdb.multi/multi-target.c: New file.
794 * gdb.multi/multi-target.exp: New file.
795 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
796 mode requested, but remote does not support non-stop".
797
78f2c40a
PA
7982020-01-10 Pedro Alves <palves@redhat.com>
799
800 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
801 disconnect before reconnecting.
802
e7af6c70
TBA
8032020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
804 Pedro Alves <palves@redhat.com>
805
806 * gdb.server/connect-without-multi-process.exp: Also test
807 continuing to end.
808
acdf84a6
PA
8092020-01-10 Pedro Alves <palves@redhat.com>
810
811 * gdb.base/remote-exec-file.exp: New file.
812
873657b9
PA
8132020-01-10 Pedro Alves <palves@redhat.com>
814
815 * gdb.base/fork-running-state.exp (do_test): Adjust expected
816 output.
817 * gdb.threads/async.c: New.
818 * gdb.threads/async.exp: New.
819 * gdb.multi/tids-gid-reset.c: New.
820 * gdb.multi/tids-gid-reset.exp: New.
821
7f0ae84c
GB
8222020-01-10 George Barrett <bob@bob131.so>
823
824 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
825 to help in finding the image relocation offset.
826 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
827 options in arguments.
828 (stap_test_no_debuginfo): Likewise.
829 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
830 test variants.
831 (stap_test): Add null semaphore relocation test.
832
47e9d49d
GB
8332020-01-10 George Barrett <bob@bob131.so>
834
835 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
836 * gdb.base/stap-probe.exp: Likewise.
837 (stap_test): Pass argument as an additional flag.
838 (stap_test_no_debuginfo): Likewise.
839 (stap_test): Check `info probes stap' output for semaphore
840 addresses if the test binary is supposed to have them.
841
f5a7c406
AB
8422020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
843
844 * gdb.tui/basic.exp: Add more scrolling tests.
845
9ae6bf64
TT
8462020-01-09 Tom Tromey <tom@tromey.com>
847
848 PR tui/18932:
849 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
850 meangingful value.
851 (Term::command, Term::resize): Update.
852 * gdb.tui/basic.exp: Add scrolling test.
853
b2efe70c
AB
8542020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
855
856 * gdb.tui/tui-layout-asm.exp: New file.
857
3804da7e
AB
8582020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
859
860 * lib/tuiterm.exp (Term::check_box_contents): New proc.
861
b40aa28f
AB
8622020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
863
864 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
865 (Term::enter_tui): Use Term::prepare_for_tui.
866
63ffd7c9
AB
8672020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
868
869 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
870 called.
871
3be966f6
AB
8722020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
873
874 * gdb.base/skip.exp: Fix race condition in test.
875
153d79c4
AB
8762020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
877
878 * gdb.base/backtrace.c: New file.
879 * gdb.base/backtrace.exp: New file.
880
f2302a34
AB
8812020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
882
883 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
884
6ec1d75e
PW
8852020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
886
887 * gdb.base/style.exp: Test that warnings are styled.
888
c296cbe6
BE
8892019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
890
891 * gdb.base/line65535.exp: New file.
892 * gdb.base/line65535.c: New file.
893
b28a729d
SM
8942019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
895
896 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
897 * lib/gnat_debug_info_test.adb: New file.
898 * gdb.ada/ptype_tagged_param.exp: Use
899 gnat_runtime_has_debug_info, expect a different output if
900 runtime does not have debug info.
901
7f2d7a0d
SM
9022019-12-20 Simon Marchi <simon.marchi@efficios.com>
903
904 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
905 (another) quote in test name.
906
f3bce483
SM
9072019-12-20 Simon Marchi <simon.marchi@efficios.com>
908
909 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
910 Add quote in test name.
911
c855a912
TBA
9122019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
913
914 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
915 directory instead.
916 * gdb.cp/pass-by-ref.exp: Extend with more cases.
917 * gdb.cp/pass-by-ref-2.cc: New file.
918 * gdb.cp/pass-by-ref-2.exp: New file.
919
fc9d2d72
TT
9202019-12-20 Tom Tromey <tom@tromey.com>
921
922 * gdb.tui/list-before.exp: New file.
923
77b97e00
TT
9242019-12-20 Tom Tromey <tom@tromey.com>
925
926 * gdb.tui/list.exp: Check for source on initial listing.
927
f69656d0
TT
9282019-12-11 Tom Tromey <tromey@adacore.com>
929
930 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
931 Add crlf test.
932
99a55965
SM
9332019-12-18 Simon Marchi <simon.marchi@efficios.com>
934
935 * gdb.base/default.exp: Update value of $_gdb_major.
936
5024637f
BE
9372019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
938
939 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
940
b63634be
BE
9412019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
942
943 * gdb.base/skip.exp: Whitespace fix.
944
45d73523
BE
9452019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
946
947 * gdb.base/skip-inline.c: New file.
948 * gdb.base/skip-inline.exp: New file.
949
d043f8c8
SM
9502019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
951
952 * gdb.base/jit-reader.exp (jit_reader_test): Rename
953 jit_function_00 to jit_function_stack_mangle.
954 * gdb.base/jithost.c (jit_function_t): Rename to...
955 (jit_function_stack_mangle_t): ... this.
956 (jit_function_add_t): New typedef.
957 (jit_function_00_code): Rename to...
958 (jit_function_stack_mangle_code): ... this, make static.
959 (jit_function_add_code): New.
960 (main): Generate "add" function and call it. Adjust to changes
961 in jithost_abi.
962 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
963 (struct jithost_abi) <begin, end>: Remove fields.
964 <object, function_stack_mangle, function_add>: New fields.
965 * gdb.base/jitreader.c (struct reader_state) <code_begin,
966 code_end>: Remove fields.
967 <func_stack_mangle>: New field.
968 (read_debug_info): Adjust to renaming, create block for "add"
969 function.
970 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
971
873de05c
TT
9722019-12-11 Tom Tromey <tom@tromey.com>
973
974 * gdb.tui/resize.exp: Fix regexp.
975 * gdb.tui/regs.exp: Fix regexps.
976 * gdb.tui/main.exp: Fix regexp.
977
3d979945
TT
9782019-12-11 Tom Tromey <tom@tromey.com>
979
980 * gdb.tui/resize.exp: Update.
981 * gdb.tui/empty.exp (layouts): Update.
982
2192a9d3
TT
9832019-12-11 Tom Tromey <tom@tromey.com>
984
985 * gdb.tui/regs.exp: Update.
986 * gdb.tui/empty.exp (layouts): Update.
987 * gdb.tui/basic.exp: Update.
988 * lib/tuiterm.exp (_check_box): Don't check bottom border.
989
d8edc8b7
PW
9902019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
991
992 * gdb.base/options.exp: Add -raw-values in the print completion list.
993 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
994
4c12d936
KB
9952019-12-10 Kevin Buettner <kevinb@redhat.com>
996
997 * gdb.threads/omp-par-scope.c: New file.
998 * gdb/threads/omp-par-scope.exp: New file.
999
26b911fb
KB
10002019-12-10 Kevin Buettner <kevinb@redhat.com>
1001
bb47f919
KB
1002 * lib/gdb.exp (support_nested_function_tests): New proc.
1003
10042019-12-10 Kevin Buettner <kevinb@redhat.com>
1005
1006 * lib/gdb.exp (gdb_compile_openmp): New proc.
1007 (build_executable_from_specs): Add an "openmp" option.
1008 (gdb_compile_pthreads): Add non-executable case.
26b911fb 1009
6c71eb7d
TT
10102019-12-10 Tom Tromey <tromey@adacore.com>
1011
1012 * gdb.ada/unchecked_union.exp: New file.
1013 * gdb.ada/unchecked_union/pck.adb: New file.
1014 * gdb.ada/unchecked_union/pck.ads: New file.
1015 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
1016 * gdb-utils.exp (string_to_regexp): Also quote "?".
1017
bac7c5cf
GB
10182019-12-10 George Barrett <bob@bob131.so>
1019
1020 Test scripted probe breakpoints.
1021 * gdb.guile/scm-breakpoint.c (main): Add probe point.
1022 * gdb.python/py-breakpoint.c (main): Likewise.
1023 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
1024 specifier test.
1025 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
1026
330f1d38
TBA
10272019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1028
1029 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
1030 an rvalue parameter.
1031 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
1032 parameter.
1033
b43315e2
AB
10342019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
1035
1036 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
1037 modules.
1038
54f73dad
AB
10392019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
1040
1041 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
1042 broken version of GCC.
1043
d57cbee9
AB
10442019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
1045
1046 * gdb.fortran/info-modules.exp: Rewrite to make use of new
1047 sym-info-cmds library.
1048 * gdb.fortran/info-types.exp: Likewise.
1049 * lib/sym-info-cmds.exp: New file.
1050
c14aab8c
TV
10512019-12-08 Tom de Vries <tdevries@suse.de>
1052
1053 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
1054
aa2d5a42
KS
10552019-12-07 Keith Seitz <keiths@redhat.com>
1056
1057 * gdb.base/corefile-buildid-shlib-shr.c: New file.
1058 * gdb.base/corefile-buildid-shlib.c: New file.
1059 * gdb.base/corefile-buildid.c: New file.
1060 * gdb.base/corefile-buildid.exp: New file.
1061
93e55f0a
TV
10622019-12-06 Tom de Vries <tdevries@suse.de>
1063
1064 * gdb.dwarf2/varval.exp: Add decl before def test.
1065
c7d12402
TBA
10662019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1067
1068 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
1069
06acc08f
TBA
10702019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1071
1072 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
1073 CV and reference conversion for overload resolution.
1074 * gdb.cp/rvalue-ref-overload.exp: Test it.
1075
e0fad1ea
PW
10762019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1077
1078 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
1079 * gdb.base/frameapply.exp: Test faas without command.
1080
8d70a9f0
AB
10812019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1082
1083 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
1084 Fortran tests.
1085 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
1086 order.
1087
36c8fb93
AB
10882019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1089
1090 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
1091 casting to type with no kind specified.
1092 (test_basic_parsing_of_type_kinds): Additional tests for types
1093 with no kind specified, and add tests for single/double
1094 precision/complex types.
1095
4139ff00
TT
10962019-12-04 Tom Tromey <tromey@adacore.com>
1097
1098 * gdb.base/endianity.c (struct other) <x>: New field.
1099 (main): Initialize it.
1100 * gdb.base/endianity.exp: Update.
1101
a05cf17a
TT
11022019-12-04 Tom Tromey <tromey@adacore.com>
1103
1104 * gdb.ada/scalar_storage/storage.adb: New file.
1105 * gdb.ada/scalar_storage/pck.adb: New file.
1106 * gdb.ada/scalar_storage/pck.ads: New file.
1107 * gdb.ada/scalar_storage.exp: New file.
1108
103a685e
TT
11092019-12-04 Tom Tromey <tromey@adacore.com>
1110
1111 * gdb.base/endianity.c (struct otherendian) <f>: New field.
1112 (main): Initialize it.
1113 * gdb.base/endianity.exp: Update.
1114
c2512106
AB
11152019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1116
1117 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
1118
293b38d6
AB
11192019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1120
1121 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
1122 -symbol-info-module-functions and -symbol-info-module-variables.
1123
216a7e6b
AB
11242019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
1125
1126 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
1127
5bbd8269
AB
11282019-12-01 Richard Bunt <richard.bunt@arm.com>
1129 Andrew Burgess <andrew.burgess@embecosm.com>
1130
1131 * gdb.fortran/derived-type-striding.exp: New file.
1132 * gdb.fortran/derived-type-striding.f90: New file.
1133 * gdb.fortran/array-slices.exp: New file.
1134 * gdb.fortran/array-slices.f90: New file.
1135
be09caf1
PW
11362019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1137
1138 * gdb.base/define.exp: Test . in command names.
1139 * gdb.base/setshow.exp: Update test, as . is now part of
1140 command name.
1141
643c0cbe
PW
11422019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1143
1144 * gdb.base/define-prefix.exp: New file.
1145
dcdec678
AB
11462019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
1147
1148 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
1149 compile.
1150 (skip_btrace_pt_tests): Likewise.
1151
640ab947
AB
11522019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
1153
1154 * gdb.fortran/info-modules.exp: Compile source files in correct
1155 order.
1156
d22670f0
KB
11572019-11-27 Kevin Buettner <kevinb@redhat.com>
1158
1159 * gdb.dwarf2/imported-unit.exp: New file.
1160 * gdb.dwarf2/imported-unit.c: New file.
1161
db5960b4
AB
11622019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
1163
1164 * gdb.mi/mi-fortran-modules-2.f90: New file.
1165 * gdb.mi/mi-fortran-modules.exp: New file.
1166 * gdb.mi/mi-fortran-modules.f90: New file.
1167
7dc42066
AB
11682019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
1169
1170 * gdb.mi/mi-sym-info-1.c: New file.
1171 * gdb.mi/mi-sym-info-2.c: New file.
1172 * gdb.mi/mi-sym-info.exp: New file.
1173
0dfeecca
TT
11742019-11-22 Tom Tromey <tromey@adacore.com>
1175
1176 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
1177 * gdb.ada/tasks/foo.adb: Add another stopping location.
1178
34877895
PJ
11792019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
1180
1181 * gdb.base/endianity.c: New test.
1182 * gdb.base/endianity.exp: New file.
1183
2e84f897
LD
11842019-11-21 Lukas Durfina <ldurfina@tachyum.com>
1185
1186 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
1187
65d1cd5f
TV
11882019-11-21 Tom de Vries <tdevries@suse.de>
1189
1190 PR gdb/24956
1191 * gdb.base/ui-redirect.exp: Test output of user-defined command.
1192
4f22c3f4
SDJ
11932019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
1194
1195 * gdb.python/py-progspace.exp: Add missing parentheses on some
1196 'print' commands.
1197
9f6ad286
TT
11982019-11-19 Tom Tromey <tom@tromey.com>
1199
1200 * gdb.tui/winheight.exp: New file.
1201
0b8dbf3f
AB
12022019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1203
1204 * gdb.base/ctf-whatis.c: Delete.
1205 * gdb.base/ctf-whatis.exp: Delete.
1206 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
1207
f833b7a7
AB
12082019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1209
1210 * gdb.base/ctf-cvexpr.exp: Delete.
1211 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
1212
30d0a636
AB
12132019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1214
1215 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
1216 the compiler. Clean up header comment a little.
1217 * gdb.base/ctf-ptype.exp: Likewise.
1218 * gdb.base/ctf-whatis.exp: Likewise.
1219 * lib/gdb.exp (skip_ctf_tests): New proc.
1220
494409bb
SDJ
12212019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
1222
1223 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
1224 * gdb.tui/corefile-run.exp: New file.
1225
55708e99
TT
12262019-11-14 Tom Tromey <tromey@adacore.com>
1227
1228 * gdb.base/gdbvars.exp (test_convenience_variables): Add
1229 regression tests.
1230
45e42163
TT
12312019-11-12 Tom Tromey <tom@tromey.com>
1232
1233 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
1234 after any command. Expect prompt after WAIT_FOR is seen.
1235 (enter_tui): Enable resize messages.
1236 (command): Expect command in output.
1237 (get_line): Avoid error when cursor appears to be off-screen.
1238 (dump_screen): Include screen size in title.
1239 (_do_resize): New proc, from "resize".
1240 (resize): Rewrite. Do resize in two steps.
1241 * gdb.tui/empty.exp (layouts): Fix entries.
1242 (check_boxes): Remove xfail.
1243 (check_text): Dump screen on failure.
1244
086baaf1
AB
12452019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
1246
1247 * gdb.python/py-symbol.exp: Add test for
1248 gdb.lookup_static_symbols.
1249
09ff83af
AB
12502019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
1251
1252 * gdb.python/py-symbol.c: Declare and call function from new
1253 py-symbol-2.c file.
1254 * gdb.python/py-symbol.exp: Compile both source files, and add new
1255 tests for gdb.lookup_static_symbol.
1256 * gdb.python/py-symbol-2.c: New file.
1257
11af934b
TV
12582019-11-02 Tom de Vries <tdevries@suse.de>
1259
1260 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
1261 * gdb.base/anon.exp: Same.
1262 * gdb.base/auto-connect-native-target.exp: Same.
1263 * gdb.base/call-ar-st.exp: Same.
1264 * gdb.base/catch-syscall.exp: Same.
1265 * gdb.base/commands.exp: Same.
1266 * gdb.base/default.exp: Same.
1267 * gdb.base/display.exp: Same.
1268 * gdb.base/float.exp: Same.
1269 * gdb.base/foll-fork.exp: Same.
1270 * gdb.base/help.exp: Same.
1271 * gdb.base/info-macros.exp: Same.
1272 * gdb.base/info-proc.exp: Same.
1273 * gdb.base/info-target.exp: Same.
1274 * gdb.base/long_long.exp: Same.
1275 * gdb.base/macscp.exp: Same.
1276 * gdb.base/memattr.exp: Same.
1277 * gdb.base/nofield.exp: Same.
1278 * gdb.base/pointers.exp: Same.
1279 * gdb.base/printcmds.exp: Same.
1280 * gdb.base/ptype.exp: Same.
1281 * gdb.base/restore.exp: Same.
1282 * gdb.base/return.exp: Same.
1283 * gdb.base/scope.exp: Same.
1284 * gdb.base/set-noassign.exp: Same.
1285 * gdb.base/setshow.exp: Same.
1286 * gdb.base/shlib-call.exp: Same.
1287 * gdb.base/signals.exp: Same.
1288 * gdb.base/sigstep.exp: Same.
1289 * gdb.base/skip.exp: Same.
1290 * gdb.base/solib-symbol.exp: Same.
1291 * gdb.base/stap-probe.exp: Same.
1292 * gdb.base/step-line.exp: Same.
1293 * gdb.base/step-test.exp: Same.
1294 * gdb.base/style.exp: Same.
1295 * gdb.base/varargs.exp: Same.
1296 * gdb.base/vla-datatypes.exp: Same.
1297 * gdb.base/vla-ptr.exp: Same.
1298 * gdb.base/vla-sideeffect.exp: Same.
1299 * gdb.base/volatile.exp: Same.
1300 * gdb.base/watch-cond-infcall.exp: Same.
1301 * gdb.base/watchpoint.exp: Same.
1302
e96ec2ba
TV
13032019-11-02 Tom de Vries <tdevries@suse.de>
1304
1305 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
1306 * gdb.cp/cpexprs.exp: Same.
1307 * gdb.cp/except-multi-location.exp: Same.
1308 * gdb.cp/exceptprint.exp: Same.
1309 * gdb.cp/gdb2384.exp: Same.
1310 * gdb.cp/inherit.exp: Same.
1311 * gdb.cp/m-static.exp: Same.
1312 * gdb.cp/meth-typedefs.exp: Same.
1313 * gdb.cp/misc.exp: Same.
1314 * gdb.cp/namespace.exp: Same.
1315 * gdb.cp/non-trivial-retval.exp: Same.
1316 * gdb.cp/overload.exp: Same.
1317 * gdb.cp/pr17132.exp: Same.
1318 * gdb.cp/re-set-overloaded.exp: Same.
1319 * gdb.cp/rvalue-ref-types.exp: Same.
1320 * gdb.cp/templates.exp: Same.
1321
bd5766ec
LM
13222019-11-01 Luis Machado <luis.machado@linaro.org>
1323
1324 PR gdb/25124
1325
1326 * gdb.arch/pr25124.S: New file.
1327 * gdb.arch/pr25124.exp: New file.
1328
165f8965
AB
13292019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1330
1331 * gdb.fortran/info-modules.exp: Update expected results, and add
1332 additional tests for 'info module functinos', and 'info module
1333 variables'.
1334 * gdb.fortran/info-types.exp: Update expected results.
1335 * gdb.fortran/info-types.f90: Extend testcase with additional
1336 module variables and functions.
1337
59c35742
AB
13382019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1339
1340 * gdb.fortran/info-modules.exp: New file.
1341 * gdb.fortran/info-types.exp: Build with new file.
1342 * gdb.fortran/info-types.f90: Include and use new module.
1343 * gdb.fortran/info-types-2.f90: New file.
1344
f3fb2519
PW
13452019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1346
1347 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
1348 * gdb.base/settings.exp: Test all settings types using
1349 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
1350 that now verifies that the value of "maint show" is the same as
1351 returned by the settings functions. Test the type of the
1352 maintenance settings.
1353 * gdb.base/default.exp: Update show_conv_list.
1354
d1e36019
TV
13552019-10-31 Tom de Vries <tdevries@suse.de>
1356
1357 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
1358 gdb_test.
1359 * gdb.arch/amd64-disp-step.exp: Same.
1360 * gdb.asm/asm-source.exp: Same.
1361 * gdb.btrace/buffer-size.exp: Same.
1362 * gdb.btrace/cpu.exp: Same.
1363 * gdb.btrace/enable.exp: Same.
1364 * gdb.dwarf2/count.exp: Same.
1365 * gdb.dwarf2/dw2-ranges-func.exp: Same.
1366 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
1367 * gdb.fortran/vla-datatypes.exp: Same.
1368 * gdb.fortran/vla-history.exp: Same.
1369 * gdb.fortran/vla-ptype.exp: Same.
1370 * gdb.fortran/vla-value.exp: Same.
1371 * gdb.fortran/whatis_type.exp: Same.
1372 * gdb.guile/guile.exp: Same.
1373 * gdb.multi/tids.exp: Same.
1374 * gdb.python/py-finish-breakpoint.exp: Same.
1375 * gdb.python/py-framefilter.exp: Same.
1376 * gdb.python/py-pp-registration.exp: Same.
1377 * gdb.python/py-xmethods.exp: Same.
1378 * gdb.python/python.exp: Same.
1379 * gdb.server/connect-with-no-symbol-file.exp: Same.
1380 * gdb.server/no-thread-db.exp: Same.
1381 * gdb.server/run-without-local-binary.exp: Same.
1382 * gdb.stabs/weird.exp: Same.
1383 * gdb.threads/attach-many-short-lived-threads.exp: Same.
1384 * gdb.threads/thread-find.exp: Same.
1385 * gdb.threads/tls-shared.exp: Same.
1386 * gdb.threads/tls.exp: Same.
1387 * gdb.threads/wp-replication.exp: Same.
1388 * gdb.trace/ax.exp: Same.
1389 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
1390
3d11e68e
TV
13912019-10-31 Tom de Vries <tdevries@suse.de>
1392
1393 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
1394 * gdb.ada/array_subscript_addr.exp: Same.
1395 * gdb.ada/arrayidx.exp: Same.
1396 * gdb.ada/arrayparam.exp: Same.
1397 * gdb.ada/arrayptr.exp: Same.
1398 * gdb.ada/boolean_expr.exp: Same.
1399 * gdb.ada/call_pn.exp: Same.
1400 * gdb.ada/complete.exp: Same.
1401 * gdb.ada/fixed_cmp.exp: Same.
1402 * gdb.ada/fun_addr.exp: Same.
1403 * gdb.ada/funcall_param.exp: Same.
1404 * gdb.ada/interface.exp: Same.
1405 * gdb.ada/mod_from_name.exp: Same.
1406 * gdb.ada/null_array.exp: Same.
1407 * gdb.ada/packed_array.exp: Same.
1408 * gdb.ada/packed_tagged.exp: Same.
1409 * gdb.ada/print_chars.exp: Same.
1410 * gdb.ada/print_pc.exp: Same.
1411 * gdb.ada/ptype_arith_binop.exp: Same.
1412 * gdb.ada/ptype_field.exp: Same.
1413 * gdb.ada/ptype_tagged_param.exp: Same.
1414 * gdb.ada/rec_return.exp: Same.
1415 * gdb.ada/ref_tick_size.exp: Same.
1416 * gdb.ada/str_ref_cmp.exp: Same.
1417 * gdb.ada/taft_type.exp: Same.
1418 * gdb.ada/tagged.exp: Same.
1419 * gdb.ada/type_coercion.exp: Same.
1420 * gdb.ada/uninitialized_vars.exp: Same.
1421
60b6ede8
TV
14222019-10-30 Tom de Vries <tdevries@suse.de>
1423
1424 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
1425
30baf67b
TV
14262019-10-26 Tom de Vries <tdevries@suse.de>
1427
1428 * gdb.base/bigcore.c: Fix typos in comments.
1429 * gdb.base/ctf-ptype.c: Same.
1430 * gdb.base/long_long.c: Same.
1431 * gdb.dwarf2/dw2-op-out-param.S: Same.
1432 * gdb.python/py-evthreads.c: Same.
1433 * gdb.reverse/i387-stack-reverse.c: Same.
1434 * gdb.trace/tfile.c: Same.
1435 * lib/compiler.c: Same.
1436 * lib/compiler.cc: Same.
1437
158da0d1
TV
14382019-10-25 Tom de Vries <tdevries@suse.de>
1439
1440 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
1441 gdb_test_multiple calls.
1442 * gdb.reverse/sigall-reverse.exp: Same.
1443 * gdb.reverse/solib-precsave.exp: Same.
1444 * gdb.reverse/solib-reverse.exp: Same.
1445 * gdb.reverse/until-precsave.exp: Same.
1446 * gdb.reverse/until-reverse.exp: Same.
1447
4ccdfbec
TV
14482019-10-24 Tom de Vries <tdevries@suse.de>
1449
1450 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
1451 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
1452 kfail using -wrap pattern flag and convenience variable
1453 gdb_test_name.
1454
33d569b7
AB
14552019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
1456
1457 * gdb.python/py-progspace.exp: Add tests for the
1458 Progspace.block_for_pc method.
1459
4d0b984b
TT
14602019-10-23 Tom Tromey <tom@tromey.com>
1461
1462 * configure: Rebuild.
1463 * aclocal.m4: Use m4_include, not sinclude.
1464
94cb3754
TV
14652019-10-21 Tom de Vries <tdevries@suse.de>
1466
1467 * gdb.base/infcall-nested-structs.c: Add
1468 __attribute__((noinline,noclone)) to all functions.
1469 (call_all): Add missing variable initialization. Simplify return value.
1470 (breakpt): Increment volatile variable, to prevent call from being
1471 optimized out.
1472 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
1473
062f1fc1
TV
14742019-10-17 Tom de Vries <tdevries@suse.de>
1475
1476 * gdb.fortran/module.exp: Allow info variables to print info for files
1477 other than module.f90.
1478
0b54364d
AB
14792019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
1480
1481 * gdb.fortran/module.exp: Extend with 'info variables' test.
1482
7ff5fae7
AB
14832019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
1484
1485 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
1486 F77_FOR_TARGET.
1487
d10eccaa
TV
14882019-10-16 Tom de Vries <tdevries@suse.de>
1489
1490 PR tdep/25096
1491 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
1492
745ff14e
TV
14932019-10-16 Tom de Vries <tdevries@suse.de>
1494
1495 PR tdep/24104
1496 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
1497 Add KFAIL for PR tdep/25096.
1498
03e1ab94
TV
14992019-10-16 Tom de Vries <tdevries@suse.de>
1500
1501 PR testsuite/25059
1502 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
1503
b17fcc10
TV
15042019-10-16 Tom de Vries <tdevries@suse.de>
1505
1506 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
1507 as signed.
1508
9223170f
SM
15092019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
1510
1511 * gdb.mi/list-thread-groups-available.exp: Read entries one by
1512 one instead of increasing timeout.
1513
d6e76313
TV
15142019-10-13 Tom de Vries <tdevries@suse.de>
1515
1516 PR record/25038
1517 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
1518 * gdb.reverse/sigall-reverse.exp: Same.
1519 * gdb.reverse/solib-precsave.exp: Same.
1520 * gdb.reverse/solib-reverse.exp: Same.
1521 * gdb.reverse/step-precsave.exp: Same.
1522 * gdb.reverse/until-precsave.exp: Same.
1523 * gdb.reverse/until-reverse.exp: Same.
1524 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
1525
6dfc0041
AA
15262019-10-10 Andreas Arnez <arnez@linux.ibm.com>
1527
1528 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
1529 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
1530 (cmp_struct_05_01, cmp_struct_static_02_01)
1531 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
1532 comparisons.
1533
abcf2cc8
TV
15342019-10-10 Tom de Vries <tdevries@suse.de>
1535
1536 PR testsuite/24888
1537 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
1538 gnatlink.
1539
a50faaf6
TV
15402019-10-09 Tom de Vries <tdevries@suse.de>
1541
1542 PR testsuite/25048
1543 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
1544
60ff3cd7
AB
15452019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
1546
1547 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
1548 exceptions due to missing debug information.
1549
dfee8566
TV
15502019-10-07 Tom de Vries <tdevries@suse.de>
1551
1552 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
1553
3d63690a
AB
15542019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
1555
1556 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
1557 * gdb.base/annota1.exp: Update to use gdb_test_name.
1558
30d1f018
WP
15592019-10-07 Weimin Pan <weimin.pan@oracle.com>
1560
1561 * gdb.base/ctf-whatis.exp: New file.
1562 * gdb.base/ctf-whatis.c: New file.
1563 * gdb.base/ctf-ptype.exp: New file.
1564 * gdb.base/ctf-ptype.c: New file.
1565 * gdb.base/ctf-constvars.exp: New file.
1566 * gdb.base/ctf-constvars.c: New file.
1567 * gdb.base/ctf-cvexpr.exp: New file.
1568
4dbbb47c
TV
15692019-10-04 Tom de Vries <tdevries@suse.de>
1570
1571 * gdb.cp/local-static.c (main): Move declaration of int i out of the
1572 for loop.
1573
77c2dba3
TT
15742019-10-03 Tom Tromey <tom@tromey.com>
1575
1576 PR rust/24976:
1577 * gdb.rust/simple.rs (Union2): New type.
1578 (main): Use Union2.
1579 * gdb.rust/simple.exp: Add test.
1580
179aed7f
AB
15812019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1582
1583 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
1584 nested function prefix.
1585
0a4b0913
AB
15862019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
1587 Richard Bunt <richard.bunt@arm.com>
1588 Andrew Burgess <andrew.burgess@embecosm.com>
1589
1590 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
1591 nested functions.
1592 * gdb.fortran/nested-funcs.f90: Update expected results.
1593 * gdb.fortran/nested-funcs-2.exp: New file.
1594 * gdb.fortran/nested-funcs-2.f90: New file.
1595
082cce05
AB
15962019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1597
1598 * gdb.python/py-parameter.exp: Make test names unique.
1599 * gdb.python/py-template.exp: Likewise.
1600 * gdb.python/py-value.exp: Likewise.
1601
2b74ba5a
AB
16022019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1603
1604 * gdb.base/break-interp.exp: Reduce test name duplication.
1605 * gdb.base/call-sc.exp: Likewise.
1606 * gdb.base/callfuncs.exp: Likewise.
1607 * gdb.base/charset.exp: Likewise.
1608 * gdb.base/dump.exp: Likewise.
1609 * gdb.base/ena-dis-br.exp: Likewise.
1610 * gdb.base/relational.exp: Likewise.
1611 * gdb.base/step-over-syscall.exp: Likewise.
1612 * gdb.base/structs.exp: Likewise.
1613
58eb20d5
AB
16142019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1615
1616 * gdb.linespec/explicit.exp: Make test names unique.
1617 * gdb.linespec/ls-errs.exp: Likewise.
1618
4d421147
AB
16192019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1620
1621 * gdb.reverse/break-precsave.exp: Make test names unique.
1622 * gdb.reverse/break-reverse.exp: Likewise.
1623 * gdb.reverse/finish-precsave.exp: Likewise.
1624 * gdb.reverse/finish-reverse.exp: Likewise.
1625 * gdb.reverse/machinestate-precsave.exp: Likewise.
1626 * gdb.reverse/machinestate.exp: Likewise.
1627 * gdb.reverse/readv-reverse.exp: Likewise.
1628 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1629 * gdb.reverse/sigall-precsave.exp: Likewise.
1630 * gdb.reverse/sigall-reverse.exp: Likewise.
1631 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
1632 * gdb.reverse/watch-precsave.exp: Likewise.
1633 * gdb.reverse/watch-reverse.exp: Likewise.
1634
d8c06f22
AB
16352019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1636
1637 * gdb.threads/stop-with-handle.c: New file.
1638 * gdb.threads/stop-with-handle.exp: New file.
1639
3a56ed86
TV
16402019-10-03 Tom de Vries <tdevries@suse.de>
1641
1642 PR testsuite/25059
1643 * gdb.base/list-missing-source.exp: Allowing the "Compilation
1644 directory" line to be missing.
1645
42275044
TV
16462019-10-03 Tom de Vries <tdevries@suse.de>
1647
1648 PR testsuite/25059
1649 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
1650 type optional.
1651
9ef62df0
AA
16522019-10-02 Andreas Arnez <arnez@linux.ibm.com>
1653
1654 * gdb.python/py-format-string.c (string.h): New include.
1655 (main): Fill a_struct_with_union.the_union.an_int with bytes of
1656 the same value, for endianness-independence.
1657 * gdb.python/py-format-string.exp (default_regexp_dict)
1658 (test_pretty_structs, test_format): Adjust expected output to the
1659 changed initialization.
1660
37f6a7f4
TT
16612019-10-02 Tom Tromey <tromey@adacore.com>
1662
1663 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
1664
1d58d6a2
PA
16652019-10-02 Pedro Alves <palves@redhat.com>
1666 Andrew Burgess <andrew.burgess@embecosm.com>
1667
1668 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
1669 "print-file-var.h".
1670 (this_version_id) Use ATTRIBUTE_VISIBILITY.
1671 (get_version_1): Print this_version_id and its address.
1672 Add extern "C" wrappers around interface functions.
1673 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
1674 "print-file-var.h".
1675 (this_version_id) Use ATTRIBUTE_VISIBILITY.
1676 (get_version_2): Print this_version_id and its address.
1677 Add extern "C" wrappers around interface functions.
1678 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
1679 <stddef.h> and "print-file-var.h".
1680 Add extern "C" wrappers around interface functions.
1681 [VERSION_ID_MAIN] (this_version_id): Define.
1682 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
1683 * gdb.base/print-file-var.h: Add some #defines to simplify setting
1684 up extern "C" blocks.
1685 * gdb.base/print-file-var.exp (test): New, factored out from top
1686 level.
1687 (top level): Test all combinations of attribute hidden or not,
1688 dlopen or not, and this_version_id symbol in main file or not.
1689 Compile tests as both C++ and C, make test names unique.
1690
d770d56f
TT
16912019-10-01 Tom Tromey <tom@tromey.com>
1692
1693 * gdb.base/style.exp: Test "show logging filename".
1694
7f6aba03
TT
16952019-10-01 Tom Tromey <tom@tromey.com>
1696
1697 * lib/gdb-utils.exp (style): Handle "metadata" argument.
1698 * gdb.base/style.exp: Add metadata style test.
1699
14309bb6
TT
17002019-10-01 Tom Tromey <tom@tromey.com>
1701
1702 * gdb.base/style.exp: Test "pwd".
1703
2a3c1174
PA
17042019-10-01 Tom Tromey <tom@tromey.com>
1705
1706 * gdb.base/style.exp: Update tests.
1707
53d666ec
AA
17082019-10-01 Andreas Arnez <arnez@linux.ibm.com>
1709
1710 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
1711 'six' to unsigned.
1712 (s1): Initialize fields 'four' and 'six' instead of 'three' and
1713 'five'. Use an all-ones bit pattern for each.
1714 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
1715 to its changed values.
1716
4a56a520
TT
17172019-09-30 Tom Tromey <tromey@adacore.com>
1718
1719 * gdb.rust/traits.rs: Disable all warnings.
1720
0df0352a
TV
17212019-09-29 Tom de Vries <tdevries@suse.de>
1722
1723 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
1724
73d9a918
TV
17252019-09-29 Tom de Vries <tdevries@suse.de>
1726
1727 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
1728
060b3ab4
TV
17292019-09-27 Tom de Vries <tdevries@suse.de>
1730
1731 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
1732
68f7d34d
TV
17332019-09-27 Tom de Vries <tdevries@suse.de>
1734
1735 PR record/23188
1736 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
1737
5d63b30a
TT
17382019-09-26 Tom Tromey <tromey@adacore.com>
1739
1740 * gdb.ada/py_taft.exp: New file.
1741 * gdb.ada/py_taft/main.adb: New file.
1742 * gdb.ada/py_taft/pkg.adb: New file.
1743 * gdb.ada/py_taft/pkg.ads: New file.
1744
3d435220
TV
17452019-09-24 Tom de Vries <tdevries@suse.de>
1746
1747 PR gdb/24598
1748 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
1749
77d03678
TV
17502019-09-22 Tom de Vries <tdevries@suse.de>
1751
1752 * gdb.base/restore.exp: Allow register variables to be optimized out at
1753 -O0.
1754
abf516c6
UW
17552019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
1756
1757 * gdb.arch/spu-info.exp: Remove file.
1758 * gdb.arch/spu-info.c: Remove file.
1759 * gdb.arch/spu-ls.exp: Remove file.
1760 * gdb.arch/spu-ls.c: Remove file.
1761
1762 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
1763 * gdb.asm/spu.inc: Remove file.
1764
1765 * gdb.base/dump.exp: Remove support for spu*-*-*.
1766 * gdb.base/stack-checking.exp: Likewise.
1767 * gdb.base/overlays.exp: Likewise.
1768 * gdb.base/ovlymgr.c: Likewise.
1769 * gdb.base/spu.ld: Remove file.
1770
1771 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
1772 * gdb.cp/cpexprs.exp: Likewise.
1773 * gdb.cp/exception.exp: Likewise.
1774 * gdb.cp/gdb2495.exp: Likewise.
1775 * gdb.cp/mb-templates.exp: Likewise.
1776 * gdb.cp/pr9167.exp: Likewise.
1777 * gdb.cp/userdef.exp: Likewise.
1778
1779 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
1780
1781 * gdb.cell: Remove directory.
1782 * lib/cell.exp: Remove file.
1783
e452e88f
TV
17842019-09-19 Tom de Vries <tdevries@suse.de>
1785
1786 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
1787
8a625130
TV
17882019-09-19 Tom de Vries <tdevries@suse.de>
1789
1790 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
1791
81dc3ab5
TV
17922019-09-19 Tom de Vries <tdevries@suse.de>
1793
1794 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
1795 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
1796 (gdb_target_cmd): ... here.
1797 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
1798 value 2.
1799
b078f3ac
AB
18002019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
1801
1802 * gdb.base/source-dir.exp: Avoid having directory names in test
1803 names.
1804
f1b620e9
MG
18052019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
1806
1807 * gdb.base/source-dir.exp: Add extra test for mapped compilation
1808 directory.
1809
67f3ed6a
AB
18102019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
1811
1812 * gdb.base/list-missing-source.exp: New file.
1813
d1b70248
TV
18142019-09-14 Tom de Vries <tdevries@suse.de>
1815
1816 PR teststuite/24599
1817 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
1818 * lib/ada.exp (gnatmake_version_at_least): New proc.
1819
5fabdcd6
AB
18202019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
1821
1822 * gdb.base/maint.exp: Use exec_has_index_section.
1823
aa17805f
AB
18242019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
1825
1826 * gdb.base/maint.exp: Add test for 'maint info sections'.
1827
25e5c209
TV
18282019-09-12 Tom de Vries <tdevries@suse.de>
1829
1830 * gdb.base/store.exp: Allow register variables to be optimized out at
1831 -O0.
1832
4993045d
PW
18332019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1834
1835 * gdb.ada/rdv_wait.exp: Update to new task names.
1836 * gdb.base/task_switch_in_core.exp: Likewise.
1837 * gdb.base/info_sources_base.c: Likewise.
1838
8a516164
TT
18392019-09-10 Tom Tromey <tromey@adacore.com>
1840
1841 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
1842
aa391654
TT
18432019-09-10 Tom Tromey <tromey@adacore.com>
1844
1845 * gdb.ada/dgopt.exp: New file.
1846 * gdb.ada/dgopt/x.adb: New file.
1847
8634b462
TT
18482019-09-08 Tom Tromey <tom@tromey.com>
1849
1850 * gdb.tui/resize.exp: Remove setup_xfail.
1851 * gdb.tui/regs.exp: Remove setup_xfail.
1852 * gdb.tui/basic.exp: Remove setup_xfail.
1853
736b0f76
DB
18542019-09-06 David Blaikie <dblaikie@gmail.com>
1855
1856 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
1857 * gdb.cp/cplabel.exp: Ditto.
1858 * gdb.linespec/ls-errs.exp: Ditto.
1859
30331a6c
TV
18602019-09-05 Tom de Vries <tdevries@suse.de>
1861
1862 * lib/gdb.exp (cmp_file_string): New proc.
1863 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
1864 runto_main. Verify save breakpoints output.
1865
98b0ebab
PW
18662019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1867
1868 * gdb.base/info-var.exp: Test info variables without running
1869 to main, to avoid expect's buffer overflow.
1870
4e962e74
TT
18712019-09-03 Tom Tromey <tromey@adacore.com>
1872
1873 * gdb.ada/bias.exp: New file.
1874 * gdb.ada/bias/bias.adb: New file.
1875 * gdb.ada/print_chars.exp: Add regression test.
1876 * gdb.ada/print_chars/foo.adb (My_Character): New type.
1877 (MC): New variable.
1878
2ea1a07a
SL
18792019-08-29 Sandra Loosemore <sandra@codesourcery.com>
1880
1881 * gdb.base/argv0-symlink.exp: Run only on native target
1882 and local host.
1883
8077c50d
TV
18842019-08-29 Tom de Vries <tdevries@suse.de>
1885
1886 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
1887 diverse debug info.
1888 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
1889
48352473
TV
18902019-08-28 Tom de Vries <tdevries@suse.de>
1891
1892 * gdb.base/info-var.exp: Allow info variables to print info for files
1893 other than info-var-f1.c and info-var-f2.c.
1894
d8f27c60
AB
18952019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
1896
1897 * gdb.fortran/info-types.exp: Add module.
1898 * gdb.fortran/info-types.f90: Update expected results.
1899
1f20c35e
AB
19002019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
1901
1902 * gdb.fortran/info-types.exp: New file.
1903 * gdb.fortran/info-types.f90: New file.
1904 * lib/fortran.exp (fortran_character1): New proc.
1905
4acfdd20
AB
19062019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
1907
1908 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
1909 functions'. Reindent as needed.
1910 * gdb.base/info-var-f1.c: New file.
1911 * gdb.base/info-var-f2.c: New file.
1912 * gdb.base/info-var.exp: New file.
1913 * gdb.base/info-var.h: New file.
1914
5c31b358
TV
19152019-08-26 Tom de Vries <tdevries@suse.de>
1916
1917 PR c++/24852
1918 * gdb.cp/no-libstdcxx-probe.exp: New test.
1919
b694989f
TV
19202019-08-26 Tom de Vries <tdevries@suse.de>
1921
1922 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
1923 * tests need to be skipped.
1924 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
1925 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
1926 mi_skip_libstdcxx_probe_tests.
1927
d9c4ba53
SDJ
19282019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
1929
1930 * gdb.python/py-xmethods.exp: Use raw strings when passing
1931 arguments to SimpleXMethodMatcher.
1932
395fad09
TV
19332019-08-22 Tom de Vries <tdevries@suse.de>
1934
1935 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
1936 more informative.
1937
26c957f1
PA
19382019-08-21 Pedro Alves <palves@redhat.com>
1939
1940 * gdb.base/with.exp: Test "with" with no arguments.
1941
61f80d5d
TV
19422019-08-21 Tom de Vries <tdevries@suse.de>
1943
1944 * gdb.base/gdb-caching-proc.exp: Sort files.
1945
d7a11d13
TV
19462019-08-20 Tom de Vries <tdevries@suse.de>
1947
1948 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
1949 compilation.
1950
34dafe9f
TV
19512019-08-16 Tom de Vries <tdevries@suse.de>
1952
1953 * gdb.base/compare-sections.exp ("after run to main"): Allow
1954 mismatched read-only sections for PIE executables.
1955
398fdd60
TT
19562019-08-16 Tom Tromey <tom@tromey.com>
1957
1958 * lib/tuiterm.exp (_csi_Z): New proc.
1959 * gdb.tui/basic.exp: Update window positions.
1960 * gdb.tui/empty.exp: Update window positions.
1961
d8f9e51c
SL
19622019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1963
1964 * gdb.base/examine-backward.exp: Correct regexp for
1965 "examine 3 bytes backward from ${address_zero}".
1966
3df505f6
TT
19672019-08-15 Tom Tromey <tom@tromey.com>
1968
1969 * gdb.tui/empty.exp: Enable resizing tests.
1970
272560b5
TT
19712019-08-15 Tom Tromey <tromey@adacore.com>
1972
1973 * gdb.ada/char_enum.exp: Add regression tests.
1974 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
1975 and '0'.
1976 (Char, Gchar): Update.
1977 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
1978
08235187
CB
19792019-08-15 Christian Biesinger <cbiesinger@google.com>
1980
1981 * gdb.python/python.exp: Expect a leading underscore on
1982 GdbOutput{,Error}File.
1983
22a2ab04
SL
19842019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1985
1986 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
1987 Windows host.
1988
835b995b
SL
19892019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1990
1991 * gdb.base/batch-preserve-term-settings.exp
1992 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
1993
97dd8e07
CB
19942019-08-15 Christian Biesinger <cbiesinger@google.com>
1995
1996 * lib/gdb.exp: When running on a mingw target, replace
1997 /x/ with x:/.
1998
75faf5c4
AH
19992019-08-14 Alan Hayward <alan.hayward@arm.com>
2000
2001 * gdb.arch/aarch64-prologue.c: New test.
2002 * gdb.arch/aarch64-prologue.exp: New file.
2003
abc6c00f
TV
20042019-08-13 Tom de Vries <tdevries@suse.de>
2005
2006 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
2007 Thread.
2008
74c2c1f4
SL
20092019-08-13 Sandra Loosemore <sandra@codesourcery.com>
2010
2011 * gdb.python/py-completion.exp: Download the .py file to the host
2012 and use its host pathname. Conditionalize tests that use
2013 tab completion and manipulate files on the build machine.
2014 * gdb.python/py-events.exp: Download the .py file to the host
2015 and use its host pathname.
2016 * gdb.python/py-evsignal.exp: Likewise.
2017 * gdb.python/py-evthreads.exp: Likewise.
2018 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
2019 pathname syntax.
2020 * gdb.python/py-framefilter.exp: Download the .py file to the right
2021 place on the host. Match Windows pathname syntax.
2022 * gdb.python/py-mi-var-info-path-expression.exp: Download the
2023 .py file to the host and use its host pathname.
2024 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
2025 * gdb.python/py-objfile.exp: Expect a host pathname, not a
2026 build pathname. Skip symlink test on Windows host. Add missing
2027 newline at end of file.
2028 * gdb.python/py-pp-maint.exp: Download the .py file to the host
2029 and use its host pathname.
2030 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
2031 * gdb.python/py-section-script.exp: Use host location of binfile
2032 on safe-path. Use correct path separator on Windows host.
2033 Reorder alternatives in gdb_test_multiple to prevent matching
2034 the wrong alternative on success.
2035 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
2036
ca2589f3
PP
20372019-08-12 Patrick Palka <patrick@parcs.ath.cx>
2038
2039 * gdb.gdb/selftest.exp (test_with_self): Update test to now
2040 expect the GDB inferior to no longer immediately stop after
2041 being resumed with "signal SIGINT".
2042
020a839d
SL
20432019-08-09 Sandra Loosemore <sandra@codesourcery.com>
2044
2045 * gdb.linespec/break-ask.exp: Generalize regexps to match
2046 Windows pathnames too.
2047
128d6509
TV
20482019-08-08 Tom de Vries <tdevries@suse.de>
2049
2050 PR testsuite/24862
2051 * lib/tuiterm.exp (_accept): Fix CSI regexp.
2052
590042fc
PW
20532019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2054
2055 * gdb.base/style.exp: Update tests for help doc new invariants.
2056 * gdb.base/help.exp: Likewise.
2057
046bebe1
TT
20582019-08-06 Tom Tromey <tom@tromey.com>
2059
2060 * gdb.base/style.exp: Add disassemble test.
2061 * gdb.base/style.c (some_called_function): New function.
2062 (main): Use it.
2063
0b27c27d
CB
20642019-08-05 Christian Biesinger <cbiesinger@google.com>
2065
2066 * gdb.python/py-block.exp: Test dictionary access on blocks.
2067
580f1034
SM
20682019-08-05 Simon Marchi <simon.marchi@efficios.com>
2069
2070 PR gdb/24863
2071 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
2072 -list-thread-groups --available test when running under
2073 check-read1.
2074
d86bd7cb
TV
20752019-08-05 Tom de Vries <tdevries@suse.de>
2076
2077 PR testsuite/24863
2078 * lib/gdb.exp (with_read1_timeout_factor): New proc.
2079 * gdb.base/help.exp: Use with_read1_timeout_factor.
2080 * gdb.base/info-macros.exp: Same.
2081 * gdb.cp/nested-types.exp: Same.
2082
a80cf5d8
TV
20832019-08-05 Tom de Vries <tdevries@suse.de>
2084
2085 * lib/gdb.exp (version_at_least): Factor out of ...
2086 (tcl_version_at_least): ... here.
2087 (gdb_compile): Fail if pie results in non-PIE executable.
2088 (readelf_version, readelf_prints_pie): New proc.
2089 (exec_is_pie): Return -1 if unknown.
2090
d0962838
TV
20912019-08-05 Tom de Vries <tdevries@suse.de>
2092
2093 * lib/gdb.exp (tcl_version_at_least): Fix typo.
2094
2252ff3d
SL
20952019-08-04 Sandra Loosemore <sandra@codesourcery.com>
2096
2097 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
2098
26655f53
SL
20992019-08-04 Sandra Loosemore <sandra@codesourcery.com>
2100
2101 * lib/completion-support.exp (test_gdb_complete_none): Skip
2102 tab completion tests if no readline support.
2103 (test_gdb_complete_unique_re): Likewise.
2104 (test_gdb_complete_multiple): Likewise.
2105
db4dc13e
PW
21062019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2107
2108 * gdb.base/info_sources.exp: New file.
2109 * gdb.base/info_sources.c: New file.
2110 * gdb.base/info_sources_base.c: New file.
2111
0eba165a
PFC
21122019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2113
2114 * gdb.base/batch-exit-status.exp: Call test_exit_status with
2115 prefix argument.
2116 (test_exit_status): Add prefix argument.
2117
59bd512b
TV
21182019-08-01 Tom de Vries <tdevries@suse.de>
2119
2120 PR testsuite/24863
2121 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
2122 calling exp_continue for new thread and thread exited messages.
2123
2a3ad588
TV
21242019-08-01 Tom de Vries <tdevries@suse.de>
2125
2126 PR testsuite/24863
2127 * gdb.base/structs.exp: Fix check-read1 timeout using
2128 gdb_test_sequence.
2129 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
2130
117eb594
TV
21312019-08-01 Tom de Vries <tdevries@suse.de>
2132
2133 PR testsuite/24863
2134 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
2135 line.
2136
ed591340
TV
21372019-08-01 Tom de Vries <tdevries@suse.de>
2138
2139 PR testsuite/24863
2140 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
2141
aa3b6533
TT
21422019-07-30 Tom Tromey <tromey@adacore.com>
2143
2144 * gdb.ada/display_nested.exp: New file.
2145 * gdb.ada/display_nested/foo.adb: New file.
2146 * gdb.ada/display_nested/pack.adb: New file.
2147 * gdb.ada/display_nested/pack.ads: New file.
2148
2906593f
CB
21492019-07-30 Christian Biesinger <cbiesinger@google.com>
2150
2151 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
2152 namespace.
2153 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
2154
0f575925
TV
21552019-07-30 Tom de Vries <tdevries@suse.de>
2156
2157 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
2158 instead.
2159
b13057d9
TV
21602019-07-30 Tom de Vries <tdevries@suse.de>
2161
2162 PR testsuite/24834
2163 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
2164 (exec_is_pie): New proc.
2165
5c4dde85
CB
21662019-07-29 Christian Biesinger <cbiesinger@google.com>
2167
2168 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
2169
c620ed88
CB
21702019-07-29 Christian Biesinger <cbiesinger@google.com>
2171
2172 * gdb.python/py-objfile.c: Add global and static vars.
2173 * gdb.python/py-objfile.exp: Test new functions Objfile.
2174 lookup_global_symbol and lookup_static_symbol.
2175
3d235706
TT
21762019-07-29 Tom Tromey <tom@tromey.com>
2177
2178 * lib/tuiterm.exp (Term::_csi_@): New proc.
2179 (Term::_csi_X): Don't move cursor.
2180
c7e4c0a6
PW
21812019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2182
2183 * gdb.base/options.exp: Update backtrace - completion to
2184 new option -frame-info.
2185 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
2186 Test new 'set print frame-info'. Test backtrace -frame-info
2187 overriding 'set print frame-info'.
2188 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
2189 Test new 'set print frame-info'.
2190 Verify consistency of backtrace with and without filters, with and
2191 without -no-filters.
2192 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
2193 default.
2194
de28a3b7
TV
21952019-07-29 Tom de Vries <tdevries@suse.de>
2196
2197 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
2198 no arguments".
2199
507dd60e
TV
22002019-07-29 Tom de Vries <tdevries@suse.de>
2201
2202 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
2203 is a substring of the first for "complete non-unique file name".
2204
5beafce9
TV
22052019-07-29 Tom de Vries <tdevries@suse.de>
2206
2207 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
2208 with ".*".
2209
2d274232
TV
22102019-07-29 Tom de Vries <tdevries@suse.de>
2211
2212 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
2213 Pass prompt_regexp parameter to gdb_test_multiple calls.
2214
9197cd8b
TV
22152019-07-29 Tom de Vries <tdevries@suse.de>
2216
2217 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
2218 print registers" regexps.
2219
b528dae0
TV
22202019-07-29 Tom de Vries <tdevries@suse.de>
2221
2222 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
2223
d17725d7
TV
22242019-07-29 Tom de Vries <tdevries@suse.de>
2225
2226 PR gdb/24855
2227 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
2228 (skip_python_tests_prompt): Add prompt_regexp argument to
2229 gdb_test_multiple calls.
2230
52b75bf1
TT
22312019-07-27 Tom Tromey <tom@tromey.com>
2232
2233 * gdb.tui/main.exp: New file.
2234
2b1d00c2
TT
22352019-07-27 Tom Tromey <tom@tromey.com>
2236
2237 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
2238 optional.
2239 * gdb.tui/empty.exp: New file.
2240
ded631d5
TT
22412019-07-27 Tom Tromey <tom@tromey.com>
2242
2243 * lib/tuiterm.exp (spawn): New proc.
2244 (Term::resize): New proc.
2245 * gdb.tui/resize.exp: New file.
2246
58ac439d
TT
22472019-07-27 Tom Tromey <tom@tromey.com>
2248
2249 * gdb.tui/list.exp: New file.
2250
fe1f56ee
TT
22512019-07-27 Tom Tromey <tom@tromey.com>
2252
2253 * gdb.tui/regs.exp: New file.
2254
f790b310
TT
22552019-07-27 Tom Tromey <tom@tromey.com>
2256
2257 * gdb.tui/basic.exp: Add "layout split" test.
2258
d95fc6ee
TT
22592019-07-27 Tom Tromey <tom@tromey.com>
2260
2261 * gdb.tui/basic.exp: Add "layout asm" test.
2262
c3786b3a
TT
22632019-07-27 Tom Tromey <tom@tromey.com>
2264
2265 * lib/tuiterm.exp: New file.
2266 * gdb.tui/basic.exp: New file.
2267
98a617f8
KB
22682019-07-27 Kevin Buettner <kevinb@redhat.com>
2269
2270 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
2271 Enable tests associated with this flag. Adjust regex
2272 referencing "foo_low" to now refer to "foo_cold" instead.
2273
5c076da4
KB
22742019-07-27 Kevin Buettner <kevinb@redhat.com>
2275
2276 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
2277 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
2278 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
2279 foo_cold. Revise comments to match.
2280 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
2281 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
2282 were wrapped into this proc; Call do_test in loop from outermost
2283 level.
2284 (foo_low): Rename all occurrences to "foo_cold".
2285 (backtrace from baz): New test.
2286 (x2/i foo_cold): New test.
2287 (info line *foo_cold): New test.
2288
1512d3b7
TV
22892019-07-26 Tom de Vries <tdevries@suse.de>
2290
2291 * gdb.arch/i386-pkru.exp: Fix unterminated string.
2292
297989a1
TV
22932019-07-25 Tom de Vries <tdevries@suse.de>
2294
2295 PR testsuite/24830
2296 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
2297 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
2298 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
2299 (skip_libstdcxx_probe_tests): ... here.
2300 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
2301
b3b965fb
TV
23022019-07-24 Tom de Vries <tdevries@suse.de>
2303
2304 PR testsuite/24807
2305 * gdb.objc/basicclass.m: Include stdio.h.
2306 * gdb.objc/nondebug.m: Same.
2307 * gdb.objc/objcdecode.m: Same.
2308
4625b4d0
TV
23092019-07-24 Tom de Vries <tdevries@suse.de>
2310
2311 PR testsuite/24612
2312 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
2313 additional_flags.
2314
024a5840
TV
23152019-07-24 Tom de Vries <tdevries@suse.de>
2316
2317 PR testsuite/24831
2318 * gdb.multi/tids.exp: Update error messages for info threads.
2319
c76ddaa3
TV
23202019-07-24 Tom de Vries <tdevries@suse.de>
2321
2322 * gdb.base/info-types.exp: Allow info types to print info for more than
2323 one file.
2324
9a618ef6
TV
23252019-07-23 Tom de Vries <tdevries@suse.de>
2326
2327 PR testsuite/24842
2328 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
2329 gdb_spawn_with_cmdline_opts.
2330
40eadf04
SP
23312019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
2332
2333 * gdb.arch/arm-cmse-sgstubs.c: New test.
2334 * gdb.arch/arm-cmse-sgstubs.exp: New file.
2335
5ba29434
TV
23362019-07-23 Tom de Vries <tdevries@suse.de>
2337
2338 PR testsuite/24711
2339 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
2340 issuing next command.
2341
a8e9d247
AB
23422019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
2343
2344 * gdb.ada/info_auto_lang.exp: Update expected results.
2345 * gdb.base/info-types.c: Add additional types to check.
2346 * gdb.base/info-types.exp: Update expected results.
2347
eb86c5e2
AB
23482019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
2349
2350 * gdb.base/info-types.c: New file.
2351 * gdb.base/info-types.exp: New file.
2352
01e175fe
AB
23532019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
2354
2355 * gdb.arch/riscv-bp-infcall.c: New file.
2356 * gdb.arch/riscv-bp-infcall.exp: New file.
2357
6b78c3f8
AB
23582019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
2359
2360 PR breakpoints/24541
2361 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
2362
da738167
TV
23632019-07-14 Tom de Vries <tdevries@suse.de>
2364
2365 PR testsuite/24760
2366 * gdb.objc/basicclass.exp: Fix unterminated string.
2367
0d4e84ed
AB
23682019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
2369 Andrew Burgess <andrew.burgess@embecosm.com>
2370
2371 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
2372 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
2373 negative bounds.
2374 * gdb.fortran/vla-value.exp: Print elements of an array with
2375 negative bounds.
2376 * gdb.fortran/vla.f90: Setup an array with negative bounds for
2377 testing.
2378
021d8588
AB
23792019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
2380
2381 * gdb.base/options.exp (expect_string): Dequote strings in
2382 results.
2383 (test-string): Test strings with different quoting and reindent.
2384
f06f1252
TT
23852019-07-10 Tom Tromey <tromey@adacore.com>
2386
2387 * gdb.ada/mi_ex_cond.exp: Update expected results.
2388 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
2389 * gdb.ada/mi_catch_ex.exp: Update expected results.
2390 * gdb.ada/mi_catch_assert.exp: Update expected results.
2391 * gdb.ada/catch_ex.exp (catch_exception_info)
2392 (catch_exception_entry, catch_assert_entry)
2393 (catch_unhandled_entry): Update.
2394 * gdb.ada/catch_assert_if.exp: Update expected results.
2395
b863685d
RB
23962019-07-10 Richard Bunt <richard.bunt@arm.com>
2397 Stephen Roberts <stephen.roberts@arm.com>
2398
2399 * gdb.base/define.exp: Restore original prompt.
2400
cb1e4e32
PA
24012019-07-09 Pedro Alves <palves@redhat.com>
2402
2403 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
2404 breakpoints" output.
2405 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
2406 * gdb.python/py-breakpoint.exp: No longer expect that "catch
2407 throw" creates breakpoint.
2408 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
2409 'type="catchpoint"'.
2410
b58a68fe
PA
24112019-07-09 Pedro Alves <palves@redhat.com>
2412
2413 PR c++/15468
2414 * gdb.cp/except-multi-location-lib.cc: New.
2415 * gdb.cp/except-multi-location-main.cc: New.
2416 * gdb.cp/except-multi-location.exp: New.
2417
0826779b
PW
24182019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
2419
2420 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
2421 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
2422 argument and update callers.
2423
5b0e2db4
AB
24242019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2425
2426 * gdb.arch/amd64-break-on-asm-line.S: New file.
2427 * gdb.arch/amd64-break-on-asm-line.exp: New file.
2428
1f6f6e21
PW
24292019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2430
2431 * gdb.base/printcmds.exp: Test printing C string and
2432 C wide string convenience vars without transiting via the inferior.
2433 Also make test names unique.
2434
ea142fbf
AH
24352019-07-08 Alan Hayward <alan.hayward@arm.com>
2436
5862c886 2437 PR breakpoints/25011
ea142fbf
AH
2438 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
2439
213fd9fa
PA
24402019-07-04 Pedro Alves <palves@redhat.com>
2441
2442 * lib/gdb.exp (foreach_with_prefix): Don't return early if
2443 body returned ok(0), break(3) or continue(4).
2444 * gdb.testsuite/foreach_with_prefix.exp: New file.
2445
2b40fda7
AH
24462019-07-04 Alan Hayward <alan.hayward@arm.com>
2447
2448 * gdb.server/unittest.exp: Allow 0 unit tests to run.
2449
a26c8de0
PA
24502019-07-03 Pedro Alves <palves@redhat.com>
2451
2452 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
2453 "return -code".
2454
5f4ba3e7
PA
24552019-07-03 Pedro Alves <palves@redhat.com>
2456
2457 PR cli/24732
2458 * gdb.base/shell.exp: Load completion-support.exp.
2459 Adjust expected error output. Add completion tests.
2460
a994424f
PA
24612019-07-03 Pedro Alves <palves@redhat.com>
2462
2463 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
2464 string_to_regexp.
2465
3d9be6f5
PA
24662019-07-03 Pedro Alves <palves@redhat.com>
2467
2468 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
2469 (expect_integer): Adjust to expect "-string".
2470 (expect_string): New.
2471 (all_options): Expect "-string".
2472 (test-flag, test-boolean): Adjust to expect "-string".
2473 (test-string): New proc.
2474 (top level): Call it.
2475
41fc454c
PA
24762019-07-03 Pedro Alves <palves@redhat.com>
2477
2478 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
2479 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
2480 the expected output in the success.
2481
b2b2a215
PA
24822019-07-03 Pedro Alves <palves@redhat.com>
2483
2484 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
2485 Split one gdb_test_multiple call in two to avoid a race.
2486
fdbc9870
PA
24872019-07-03 Pedro Alves <palves@redhat.com>
2488
2489 * gdb.base/with.c: New file.
2490 * gdb.base/with.exp: New file.
2491
c6ac8931
PA
24922019-07-03 Pedro Alves <palves@redhat.com>
2493
2494 * gdb.base/settings.exp: Replace all references to "maint
2495 test-settings set" with references to "maint set test-settings",
2496 and all references to "maint test-settings show" with references
2497 to "maint show test-settings".
2498
970f9d09
PA
24992019-07-03 Pedro Alves <palves@redhat.com>
2500
2501 * gdb.base/settings.exp (test-string): Adjust expected out when
2502 testing "maint test-settings show filename"
2503
54d66006
PA
25042019-07-02 Pedro Alves <palves@redhat.com>
2505
2506 * gdb.base/options.exp (test-info-threads): New procedure.
2507 (top level): Call it.
2508
10d06d82
TT
25092019-06-28 Tom Tromey <tromey@adacore.com>
2510
2511 * gdb.dwarf2/ada-linkage-name.c: New file.
2512 * gdb.dwarf2/ada-linkage-name.exp: New file.
2513
3d507ff2
TT
25142019-06-27 Tom Tromey <tromey@adacore.com>
2515
d039f014 2516 PR c++/20020:
3d507ff2
TT
2517 * gdb.cp/constexpr-field.exp: Use setup_xfail.
2518
8af58ffe
TV
25192019-06-26 Tom de Vries <tdevries@suse.de>
2520
2521 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
2522
22e21752
TV
25232019-06-26 Tom de Vries <tdevries@suse.de>
2524
2525 * gdb.base/index-cache.exp: Add back missing debug option.
2526
b65b566c
PW
25272019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2528
2529 * gdb.base/alias.exp: Test non matching/non existing prefixes.
2530
5c2c8c69
TV
25312019-06-25 Tom de Vries <tdevries@suse.de>
2532
2533 PR testsuite/24727
2534 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
2535
164e3873
TV
25362019-06-24 Tom de Vries <tdevries@suse.de>
2537
2538 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
2539
824eacee
TV
25402019-06-24 Tom de Vries <tdevries@suse.de>
2541
2542 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
2543 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
2544 * gdb.trace/unavailable-dwarf-piece.exp: Same.
2545
385b97d3
TV
25462019-06-24 Tom de Vries <tdevries@suse.de>
2547
2548 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
2549
c596f180
TV
25502019-06-21 Tom de Vries <tdevries@suse.de>
2551
2552 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
2553
b13a7d03
TV
25542019-06-21 Tom de Vries <tdevries@suse.de>
2555
2556 PR testsuite/24518
2557 PR ada/24713
2558 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
2559 index.
2560
899277ae
TT
25612019-06-19 Tom Tromey <tromey@adacore.com>
2562
2563 * gdb.ada/length_cond.exp: Add intro comment.
2564
680e1bee
TT
25652019-06-19 Tom Tromey <tromey@adacore.com>
2566
2567 * gdb.ada/length_cond.exp: New file.
2568 * gdb.ada/length_cond/length_cond.adb: New file.
2569 * gdb.ada/length_cond/pck.adb: New file.
2570 * gdb.ada/length_cond/pck.ads: New file.
2571
0ed4690a
TV
25722019-06-18 Tom de Vries <tdevries@suse.de>
2573
2574 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
2575
d20ed5fd
TT
25762019-06-18 Tom Tromey <tromey@adacore.com>
2577
2578 * gdb.base/list0.h: Add comment explaining control character.
2579
86e04673
TV
25802019-06-18 Tom de Vries <tdevries@suse.de>
2581
2582 * boards/fission.exp: Break up long debug_flags line.
2583
c4973306
SM
25842019-06-16 Tom de Vries <tdevries@suse.de>
2585
2586 PR gdb/24445
2587 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
2588 generated index.
2589
93cb9841
AB
25902019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
2591
2592 PR gdb/24686
2593 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
2594 improve detection of bug gdb/24541.
2595
399aaebd
SM
25962019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
2597
2598 PR gdb/24669
2599 * gdb.base/index-cache.exp (uses_readnow,
2600 expecting_index_cache_use): Define global variable.
2601 (test_cache_enabled_miss, test_cache_enabled_hit): Use
2602 expecting_index_cache_use.
2603
584a927c
AB
26042019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
2605 Andrew Burgess <andrew.burgess@embecosm.com>
2606
2607 * gdb.fortran/pointers.f90: New file.
2608 * gdb.fortran/print_type.exp: New file.
2609 * gdb.fortran/vla-ptype.exp: Adapt expected results.
2610 * gdb.fortran/vla-type.exp: Likewise.
2611 * gdb.fortran/vla-value.exp: Likewise.
2612 * gdb.mi/mi-vla-fortran.exp: Likewise.
2613
30056ea0
AB
26142019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2615
2616 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
2617 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
2618 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
2619 as a stop reason.
2620
ec8e2b6d
AB
26212019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2622
2623 * gdb.base/annota1.exp: Update expected results.
2624 * gdb.cp/annota2.exp: Likewise.
2625 * gdb.cp/annota3.exp: Likewise.
2626
09e4c4e1
AB
26272019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2628
2629 * gdb.base/style-logging.exp: Remove path from test name.
2630
0735b091
TT
26312019-06-14 Tom Tromey <tromey@adacore.com>
2632
2633 PR gdb/24502:
2634 * gdb.base/style-logging.exp: New file.
2635
f5686554
TT
26362019-06-14 Tom Tromey <tromey@adacore.com>
2637
2638 * gdb.base/symfile-warn.exp: New file.
2639 * gdb.base/symfile-warn.c: New file.
2640
a0c1ffed
TT
26412019-06-14 Tom Tromey <tromey@adacore.com>
2642
2643 * gdb.base/annotate-symlink.exp: New file.
2644
f411722c
TT
26452019-06-14 Tom Tromey <tromey@adacore.com>
2646
2647 * gdb.ada/set_wstr.exp: Add reassignment test.
2648
4268ec18
TT
26492019-06-14 Tom Tromey <tromey@adacore.com>
2650
2651 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
2652 'unchecked_access and 'unrestricted_access as well.
2653
9a9e394b
TT
26542019-06-14 Tom Tromey <tromey@adacore.com>
2655
2656 PR ada/24539:
2657 * gdb.ada/vla.exp: Update tests.
2658 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
2659 pragma.
2660
4c048731
PA
26612019-06-13 Pedro Alves <palves@redhat.com>
2662
2663 * gdb.base/settings.exp (test-integer): Test junk after
2664 "unlimited".
2665
6665660a
PA
26662019-06-13 Pedro Alves <palves@redhat.com>
2667
2668 * gdb.base/options.exp (test-thread-apply): New.
2669 (top level): Call it.
2670
5d707134
PA
26712019-06-13 Pedro Alves <palves@redhat.com>
2672
2673 * gdb.base/options.exp (test-frame-apply): New.
2674 (top level): Test print commands with different "frame apply"
2675 prefixes.
2676
e2a689da
PA
26772019-06-13 Pedro Alves <palves@redhat.com>
2678
e79be6e5 2679 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
2680 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
2681 'max_completions' parameter and handle it.
2682 (test_gdb_completion_offers_commands): New.
2683
90a1ef87
PA
26842019-06-13 Pedro Alves <palves@redhat.com>
2685
2686 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
2687
d4c16835
PA
26882019-06-13 Pedro Alves <palves@redhat.com>
2689
2690 * gdb.base/options.exp (test-backtrace): New.
2691 (top level): Call it.
2692
2daf894e
PA
26932019-06-13 Pedro Alves <palves@redhat.com>
2694
2695 * gdb.guile/scm-frame-args.exp: Use "set print
2696 raw-frame-arguments" instead of "set print raw frame-arguments".
2697 * gdb.python/py-frame-args.exp: Likewise.
2698
e6ed716c
PA
26992019-06-13 Pedro Alves <palves@redhat.com>
2700
2701 * gdb.compile/compile.exp: Adjust expected output to option
2702 processing changes.
2703
7d8062de
PA
27042019-06-13 Pedro Alves <palves@redhat.com>
2705
2706 * gdb.base/options.exp: Build executable.
2707 (test-print): New procedure.
2708 (top level): Call it, once for "print" and another for "compile
2709 print".
2710
9d0faba9
PA
27112019-06-13 Pedro Alves <palves@redhat.com>
2712
2713 * gdb.base/options.c: New file.
2714 * gdb.base/options.exp: New file.
2715
dee7b4c8
PA
27162019-06-13 Pedro Alves <palves@redhat.com>
2717
2718 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
2719 that "o" is ambiguous.
2720
dca0f6c0
PA
27212019-06-13 Pedro Alves <palves@redhat.com>
2722
2723 * gdb.base/settings.c: New file.
2724 * gdb.base/settings.exp: New file.
2725
ccf46844
PA
27262019-06-13 Pedro Alves <palves@redhat.com>
2727
2728 * gdb.base/completion.exp: Fix comment typo.
2729
b9a3f842
PA
27302019-06-13 Pedro Alves <palves@redhat.com>
2731
2732 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
2733 foo --1" test.
2734
d106773e
PA
27352019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
2736
2737 * gdb.fortran/block-data.f: New.
2738 * gdb.fortran/block-data.exp: New.
2739
fea82da0
TV
27402019-06-11 Tom de Vries <tdevries@suse.de>
2741
2742 PR testsuite/24521
2743 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
2744 message.
2745
8c2e74f1
TV
27462019-06-11 Tom de Vries <tdevries@suse.de>
2747
2748 PR testsuite/24521
2749 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
2750
b49851c8
TV
27512019-06-11 Tom de Vries <tdevries@suse.de>
2752
2753 * boards/readnow.exp: New file.
2754
a7067863
AB
27552019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
2756
2757 * gdb.fortran/vla-sizeof.exp: Update expected results.
2758
1a3da2cd
AB
27592019-06-06 Amos Bird <amosbird@gmail.com>
2760
2761 * gdb.base/annota1.exp (thread_switch): Add test for
2762 thread-exited annotation.
2763
3847a7bf
TT
27642019-06-06 Tom Tromey <tromey@adacore.com>
2765
2766 * gdb.base/maint.exp: Expect command started/finished output.
2767
0088ba59
AB
27682019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
2769
2770 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
2771 comment.
2772 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
2773
312617a3
AB
27742019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
2775
2776 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
2777 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
2778 * gdb.arch/riscv-unwind-long-insn.c: New file.
2779 * gdb.arch/riscv-unwind-long-insn.exp: New file.
2780
e1f2e1a2
CB
27812019-06-04 Christian Biesinger <cbiesinger@google.com>
2782
d3238f7d 2783 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 2784
206584bd
PW
27852019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2786
2787 * lib/gdb.exp (help_list_trailer): New regexp variable
2788 factorizing the help trailer message.
2789 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
2790 arg to allow to better factorize various tests.
2791 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
2792 (test_prefix_command_help): Use help_list_trailer.
2793 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
2794 * gdb.guile/scm-cmd.exp: Likewise.
2795 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
2796 * gdb.base/help.exp: Use test_user_defined_class_help.
2797 * gdb.base/style.exp: Add tests for styling of help and apropos.
2798 * lib/gdb-utils.exp (style): Add title and highlight styles.
2799
708dc93e
PW
28002019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2801
2802 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
2803 $_shell_exitsignal.
2804 * gdb.base/default.exp: Update for new convenience variables.
2805
f49055a5
TT
28062019-05-29 Tom Tromey <tromey@adacore.com>
2807
2808 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
2809 to "break complete ada" test case's regexp.
2810
4330d61d
TT
28112019-05-29 Tom Tromey <tromey@adacore.com>
2812
2813 PR c++/20020:
2814 * gdb.cp/constexpr-field.exp: New file.
2815 * gdb.cp/constexpr-field.cc: New file.
2816
000439d5
TT
28172019-05-29 Tom Tromey <tromey@adacore.com>
2818
2819 * gdb.base/finish.exp (finish_no_print): New proc.
2820 (finish_tests): Call it.
2821
5a01c34c
TV
28222019-05-24 Tom de Vries <tdevries@suse.de>
2823
2824 * gdb.dwarf2/gdb-add-index.exp: New file.
2825
18125b16
TT
28262019-05-22 Tom Tromey <tromey@adacore.com>
2827
2828 * gdb.base/info-shared.exp (check_info_shared): Use "style".
2829 * gdb.base/style.exp: Use "style".
2830 * lib/gdb-utils.exp (style): New proc.
2831
af1a8d03
TV
28322019-05-22 Tom de Vries <tdevries@suse.de>
2833
2834 * gdb.base/align.exp: Require c++11.
2835
e7fe496b
TV
28362019-05-22 Tom de Vries <tdevries@suse.de>
2837
2838 PR testsuite/24586
2839 * gdb.python/py-mi-var-info-path-expression.exp: Call
2840 mi_skip_python_tests to check if python is supported.
2841
8fca4da0
AH
28422019-05-22 Alan Hayward <alan.hayward@arm.com>
2843
2844 * gdb.arch/aarch64-pauth.c: New test.
2845 * gdb.arch/aarch64-pauth.exp: New file.
2846
b7060614
AH
28472019-05-22 Alan Hayward <alan.hayward@arm.com>
2848
2849 * README (Re-running Tests Outside The Testsuite): New section.
2850
669d0468
TV
28512019-05-21 Tom de Vries <tdevries@suse.de>
2852
2853 * gdb.arch/amd64-eval.exp: Require c++11.
2854 * gdb.base/max-depth.exp: Same.
2855 * gdb.compile/compile-cplus-array-decay.exp: Same.
2856 * gdb.cp/meth-typedefs.exp: Same.
2857 * gdb.cp/subtypes.exp: Same.
2858 * gdb.cp/temargs.exp: Same.
2859
ce3ebcaa
AH
28602019-05-21 Alan Hayward <alan.hayward@arm.com>
2861
2862 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
2863
34d11c68
AB
28642019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2865
2866 PR gdb/18644
2867 * gdb.fortran/complex.exp: Remove setup_kfail calls.
2868 * gdb.fortran/printing-types.exp: Add new test.
2869 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
2870 testing.
2871 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
2872 setup_kfail call.
2873
87781e84
AH
28742019-05-17 Alan Hayward <alan.hayward@arm.com>
2875
2876 * README (Running the Testsuite): Change example.
2877 (Testsuite Parameters): Remove TRANSCRIPT.
2878 * lib/gdb.exp: Remove TRANSCRIPT check.
2879
b420b89e
AH
28802019-05-17 Alan Hayward <alan.hayward@arm.com>
2881
2882 * README (Testsuite Parameters): Add replay logging to
2883 GDBSERVER_DEBUG.
2884 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
2885 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
2886 as a comma separated list.
2887 (gdb_debug_init): Override procedure.
2888
408e9b8b
AH
28892019-05-17 Alan Hayward <alan.hayward@arm.com>
2890
2891 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
2892 (gdb_write_cmd_file): New procedure.
2893 * lib/gdbserver-support.exp (gdbserver_start): Call
2894 gdbserver_write_cmd_file.
2895 (gdbserver_write_cmd_file): New procedure.
2896
f9e2e39d
AH
28972019-05-17 Alan Hayward <alan.hayward@arm.com>
2898
2899 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
2900 (delete_breakpoints): Likewise.
2901 (gdb_run_cmd): Likewise.
2902 (gdb_start_cmd): Likewise.
2903 (gdb_starti_cmd): Likewise.
2904 (gdb_internal_error_resync): Likewise.
2905 (gdb_test_multiple): Likewise.
2906 (gdb_reinitialize_dir): Likewise.
2907 (default_gdb_exit): Likewise.
2908 (gdb_file_cmd): Mark kill as optional.
2909 (default_gdb_start): Call gdb_stdin_log_init.
2910 (send_gdb): Call gdb_stdin_log_write.
2911 (rerun_to_main): Mark Y as an answer.
2912 (gdb_stdin_log_init): New function.
2913 (gdb_stdin_log_write): Likewise.
2914
81f47ac2
AH
29152019-05-17 Alan Hayward <alan.hayward@arm.com>
2916
2917 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
2918 * gdb.base/debug-expr.exp: Likewise.
2919 * gdb.base/foll-fork.exp: Likewise.
2920 * gdb.base/foll-vfork.exp: Likewise.
2921 * gdb.base/fork-print-inferior-events.exp: Likewise.
2922 * gdb.base/gdb-sigterm.exp: Likewise.
2923 * gdb.base/gdbinit-history.exp: Likewise.
2924 * gdb.base/osabi.exp: Likewise.
2925 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
2926 * gdb.base/ui-redirect.exp: Likewise.
2927 * gdb.gdb/unittest.exp: Likewise.
2928 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
2929 * gdb.mi/mi-watch.exp: Likewise.
2930 * gdb.mi/new-ui-mi-sync.exp: Likewise.
2931 * gdb.mi/user-selected-context-sync.exp: Likewise.
2932 * gdb.python/python.exp: Disable debug test when debugging.
2933 * gdb.threads/check-libthread-db.exp: Disable when debugging.
2934 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2935 Likewise.
2936 * gdb.threads/stepi-random-signal.exp: Likewise.
2937
29b52314
AH
29382019-05-17 Alan Hayward <alan.hayward@arm.com>
2939
2940 * Makefile.in: Pass through GDB_DEBUG.
2941 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
2942 (gdb,debug): Add board setting.
2943 * lib/gdb.exp (default_gdb_start): Start debugging.
2944 (gdb_debug_enabled): New procedure.
2945 (gdb_debug_init): Likewise.
29b52314
AH
2946
29472019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 2948
29b52314
AH
2949 * Makefile.in: Pass through GDB_DEBUG.
2950 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
2951 (gdb,debug): Add board setting.
2952 * lib/gdb.exp (default_gdb_start): Start debugging.
2953 (gdb_debug_enabled): New procedure.
2954 (gdb_debug_init): Likewise.
29b52314 2955
ca1285d1
AH
29562019-05-17 Alan Hayward <alan.hayward@arm.com>
2957
2958 * gdb.base/ui-redirect.exp: Add debug redirect tests.
2959
f3a09c80
AH
29602019-05-17 Alan Hayward <alan.hayward@arm.com>
2961
2962 * gdb.base/ui-redirect.exp: Test redirection.
2963
26648588
JV
29642019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
2965
2966 * gdb.mi/mi-complete.exp: New file.
2967 * gdb.mi/mi-complete.cc: Likewise.
2968
14237686
AB
29692019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
2970
2971 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
2972 indexed and sliced arrays, and pointers to arrays.
2973
e7bd7fba
TT
29742019-05-14 Tom Tromey <tromey@adacore.com>
2975
2976 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
2977 styling test.
2978
2764128d
TV
29792019-05-14 Tom de Vries <tdevries@suse.de>
2980
2981 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
2982 selection entry encoding.
2983
71bed2db
TT
29842019-05-10 Tom Tromey <tromey@adacore.com>
2985
2986 * gdb.ada/info_exc.exp: Add "complete" test.
2987
63b667ad
TV
29882019-05-09 Tom de Vries <tdevries@suse.de>
2989
2990 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
2991 CU-relative.
2992
9cfd2b89
TV
29932019-05-09 Tom de Vries <tdevries@suse.de>
2994
2995 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
2996 CU-relative.
2997
2228ef77
XR
29982019-05-08 Joel Brobecker <brobecker@adacore.com>
2999
3000 * gdb.ada/frame_arg_lang.exp: New testcase.
3001 * gdb.ada/frame_arg_lang/bla.adb: New file.
3002 * gdb.ada/frame_arg_lang/pck.ads: New file.
3003 * gdb.ada/frame_arg_lang/pck.adb: New file.
3004 * gdb.ada/frame_arg_lang/foo.c: New file.
3005
80e55b13
TT
30062019-05-08 Tom Tromey <tromey@adacore.com>
3007
3008 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
3009
9d3421af
TT
30102019-05-08 Tom Tromey <tromey@adacore.com>
3011
3012 * gdb.base/ptype-offsets.exp: Update tests.
3013
844333e2
TT
30142019-05-08 Tom Tromey <tromey@adacore.com>
3015
3016 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
3017 cases.
3018 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
3019 "short".
3020
988915ee
TT
30212019-05-08 Tom Tromey <tromey@adacore.com>
3022
3023 * gdb.ada/vla.exp: New file.
3024 * gdb.ada/vla/vla.adb: New file.
3025
7bd55dac
TV
30262019-05-07 Tom de Vries <tdevries@suse.de>
3027
3028 * gdb.base/index-cache.exp (ls_host): Fix return statement.
3029
75f06e9d
TV
30302019-05-07 Tom de Vries <tdevries@suse.de>
3031
3032 PR testsuite/24522
3033 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
3034 section.
3035
77e7aaa4
TV
30362019-05-07 Tom de Vries <tdevries@suse.de>
3037
3038 PR testsuite/24522
3039 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
3040 .debug_aranges section.
3041
456ba0fa
TV
30422019-05-07 Tom de Vries <tdevries@suse.de>
3043
3044 PR testsuite/24159
3045 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
3046
5a56d6a6
TV
30472019-05-06 Tom de Vries <tdevries@suse.de>
3048
3049 * lib/gdb.exp (exec_has_index_section): New proc.
3050 * gdb.base/index-cache.exp: Handle case that binfile contains an index
3051 section.
3052
9d6d4be8
TV
30532019-05-04 Tom de Vries <tdevries@suse.de>
3054
3055 * boards/cc-with-debug-names.exp: New file.
3056
222a8d25
TT
30572019-05-03 Tom Tromey <tromey@adacore.com>
3058
3059 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
3060 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
3061 * gdb.ada/char_enum.exp: Add test.
3062
0fdfd794
TV
30632019-05-03 Tom de Vries <tdevries@suse.de>
3064
3065 * boards/cc-with-gdb-index.exp: New file.
3066
80062eb9
AB
30672019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
3068
3069 * gdb.rust/simple.exp: Add new test case.
3070 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
3071 (main): Initialise an instance of the new struct.
3072
4504bbde
TT
30732019-05-01 Tom Tromey <tromey@adacore.com>
3074
3075 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
3076 record.
3077 (NPR): New variable.
3078 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
3079 test.
3080
d48e62f4
TT
30812019-05-01 Tom Tromey <tromey@adacore.com>
3082
3083 * gdb.ada/packed_array_assign.exp: Add packed assignment
3084 regression test.
3085
f59f30f5
TV
30862019-05-01 Tom de Vries <tdevries@suse.de>
3087
3088 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
3089
b70bfc54
TV
30902019-05-01 Tom de Vries <tdevries@suse.de>
3091
3092 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
3093
15f18d14
AT
30942019-04-30 Ali Tamur <tamur@google.com>
3095
3096 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
3097
2ff0a947
TT
30982019-04-30 Tom Tromey <tromey@adacore.com>
3099
3100 * lib/ada.exp (find_ada_tool): New proc.
3101 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
3102 * gdb.ada/catch_ex_std.exp: New file.
3103 * gdb.ada/catch_ex_std/foo.adb: New file.
3104 * gdb.ada/catch_ex_std/some_package.adb: New file.
3105 * gdb.ada/catch_ex_std/some_package.ads: New file.
3106
a776957c
TT
31072019-04-30 Tom Tromey <tromey@adacore.com>
3108
3109 PR c++/24470:
3110 * gdb.cp/temargs.cc: Add test code from PR.
3111
bc68014d
AB
31122019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3113
3114 * gdb.fortran/vla-datatypes.exp: Update expected results.
3115 * gdb.fortran/vla-ptype.exp: Likewise.
3116 * gdb.fortran/vla-type.exp: Likewise.
3117 * gdb.fortran/vla-value.exp: Likewise.
3118
f1fdc960
AB
31192019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3120
3121 * gdb.fortran/ptr-indentation.exp: Update expected results.
3122 * gdb.fortran/ptype-on-functions.exp: Likewise.
3123 * gdb.fortran/vla-ptr-info.exp: Likewise.
3124 * gdb.fortran/vla-value.exp: Likewise.
3125
bf7a4de1
AB
31262019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3127
3128 * gdb.fortran/ptype-on-functions.exp: New file.
3129 * gdb.fortran/ptype-on-functions.f90: New file.
3130
bbe75b9d
AB
31312019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3132
3133 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
3134 case void string.
3135
1db455a7
AB
31362019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3137
3138 * gdb.fortran/complex.exp: Expand.
3139 * gdb.fortran/complex.f: Renamed to...
3140 * gdb.fortran/complex.f90: ...this, and extended to add more
3141 complex values.
3142
b6d03bb2
AB
31432019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3144
3145 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
3146 MODULO, CMPLX.
3147
2e62ab40
AB
31482019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
3149 Richard Bunt <richard.bunt@arm.com>
3150
3151 * gdb.base/max-depth.c: New file.
3152 * gdb.base/max-depth.exp: New file.
3153 * gdb.python/py-nested-maps.c: New file.
3154 * gdb.python/py-nested-maps.exp: New file.
3155 * gdb.python/py-nested-maps.py: New file.
3156 * gdb.python/py-format-string.exp (test_max_depth): New proc.
3157 (test_all_common): Call test_max_depth.
3158 * gdb.fortran/max-depth.exp: New file.
3159 * gdb.fortran/max-depth.f90: New file.
3160 * gdb.go/max-depth.exp: New file.
3161 * gdb.go/max-depth.go: New file.
3162 * gdb.modula2/max-depth.exp: New file.
3163 * gdb.modula2/max-depth.c: New file.
3164 * lib/gdb.exp (get_print_expr_at_depths): New proc.
3165
d2b584a5
TV
31662019-04-29 Tom de Vries <tdevries@suse.de>
3167
3168 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
3169
136afab8
PW
31702019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3171
3172 * gdb.base/callexit.exp: Test may-call-functions off.
3173
725cbb63
KS
31742019-04-25 Keith Seitz <keiths@redhat.com>
3175
3176 PR c++/24367
3177 * gdb.cp/meth-typedefs.cc (incomplete_struct)
3178 (another_incomplete_struct, test_incomplete): New definitions.
3179 (main): Use new definitions.
3180 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
3181 functions.
3182
701adfb0
PA
31832019-04-25 Ali Tamur <tamur@google.com>
3184
3185 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
3186
82433e3e
SDJ
31872019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
3188
3189 PR corefiles/11608
3190 PR corefiles/18187
3191 * gdb.base/coredump-filter-build-id.exp: New file.
3192
dd06d4d6
AH
31932019-04-25 Alan Hayward <alan.hayward@arm.com>
3194
e79be6e5
SM
3195 * Makefile.in: Pass through GDBSERVER_DEBUG.
3196 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
3197 (gdbserver,debug): Add board setting.
3198 * gdb.trace/tspeed.exp: Skip when debugging.
3199 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
3200 * lib/gdbserver-support.exp: Likewise
dd06d4d6 3201
1670072e
TT
32022019-04-24 Tom Tromey <tromey@adacore.com>
3203
3204 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
3205 Rust.
3206
a59240a4
TT
32072019-04-24 Tom Tromey <tromey@adacore.com>
3208
3209 * gdb.arch/amd64-eval.exp: Test bitfield return.
3210 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
3211 (class Foo) <return_bitfields>: New method.
3212 (main): Call it.
3213
b907456c
AB
32142019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
3215
3216 * gdb.cp/many-args.cc: New file.
3217 * gdb.cp/many-args.exp: New file.
3218
5c565afd
TV
32192019-04-23 Tom de Vries <tdevries@suse.de>
3220
3221 PR gdb/24433
3222 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
3223
ba22ff86
AH
32242019-04-23 Alan Hayward <alan.hayward@arm.com>
3225
3226 * gdb.trace/backtrace.exp: Use nopie flag.
3227 * gdb.trace/circ.exp: Likewise.
3228 * gdb.trace/collection.exp: Likewise.
3229 * gdb.trace/ftrace.exp: Likewise.
3230 * gdb.trace/mi-trace-unavailable.exp: Likewise.
3231 * gdb.trace/mi-traceframe-changed.exp: Likewise.
3232 * gdb.trace/qtro.exp: Likewise.
3233 * gdb.trace/read-memory.exp: Likewise.
3234 * gdb.trace/report.exp: Likewise.
3235 * gdb.trace/tfile.exp: Likewise.
3236 * gdb.trace/tfind.exp: Likewise.
3237 * gdb.trace/unavailable.exp: Likewise.
3238
7905fc35
PA
32392019-04-22 Pedro Alves <palves@redhat.com>
3240
3241 * gdb.base/solib-probes-nosharedlibrary.c,
3242 gdb.base/solib-probes-nosharedlibrary.exp: New files.
3243
8ecb59f8
TT
32442019-04-19 Tom Tromey <tromey@adacore.com>
3245
3246 * gdb.ada/ptype_union.c: New file.
3247 * gdb.ada/ptype_union.exp: New file.
3248
62160ec9
TT
32492019-04-19 Tom Tromey <tromey@adacore.com>
3250
3251 PR symtab/24423:
3252 * gdb.base/list0.h (foo): Add a control-l character.
3253
36cd4ba5
TV
32542019-04-18 Tom de Vries <tdevries@suse.de>
3255
3256 PR gdb/24433
3257 * boards/local-board.exp: Set sysroot to "".
3258
b73715df
TV
32592019-04-18 Tom de Vries <tdevries@suse.de>
3260 Pedro Alves <palves@redhat.com>
3261
3262 PR gdb/24454
3263 * gdb.threads/vfork-follow-child-exec.c: New file.
3264 * gdb.threads/vfork-follow-child-exec.exp: New file.
3265 * gdb.threads/vfork-follow-child-exit.c: New file.
3266 * gdb.threads/vfork-follow-child-exit.exp: New file.
3267
4aa866af
LS
32682019-04-15 Leszek Swirski <leszeks@google.com>
3269
3270 * gdb.arch/amd64-eval.cc: New file.
3271 * gdb.arch/amd64-eval.exp: New file.
3272
e5a1a79a
AH
32732019-04-11 Alan Hayward <alan.hayward@arm.com>
3274
3275 * gdb.server/sysroot.c: New test.
3276 * gdb.server/sysroot.exp: New file.
3277 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
3278 matching param.
3279
41077b66
AB
32802019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
3281
3282 * gdb.base/align.exp: Extend test to cover structures containing
3283 only static fields.
3284
c30391f8
TV
32852019-04-11 Tom de Vries <tdevries@suse.de>
3286
3287 * boards/cc-with-dwz-m.exp: New file.
3288 * boards/cc-with-dwz.exp: New file.
3289 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
3290
e242fd12
SM
32912019-04-09 Simon Marchi <simon.marchi@efficios.com>
3292
3293 * gdb.base/start-cpp.exp: New file.
3294 * gdb.base/start-cpp.cc: New file.
3295
2b0c8b01
KB
32962019-04-08 Kevin Buettner <kevinb@redhat.com>
3297
3298 * gdb.python/py-thrhandle.exp: Adjust tests to call
3299 thread_from_handle instead of thread_from_thread_handle.
3300
947210e5
KB
33012019-04-08 Kevin Buettner <kevinb@redhat.com>
3302
3303 * gdb.python/py-thrhandle.exp: Add tests for
3304 gdb.InferiorThread.handle.
3305
d7df6549
AB
33062019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
3307
3308 * gdb.python/py-function.exp: Check calling helper function from
3309 all languages.
3310 * lib/gdb.exp (gdb_supported_languages): New proc.
3311
8bdc1658
AB
33122019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
3313
3314 * gdb.base/complex-parts.c: New file.
3315 * gdb.base/complex-parts.exp: New file.
3316
05caa1d2
TT
33172019-04-01 Tom Tromey <tromey@adacore.com>
3318
3319 PR symtab/23331:
3320 * gdb.dwarf2/dw2-ranges-main.c: New file.
3321 * gdb.dwarf2/dw2-ranges-psym.c: New file.
3322 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
3323
7734102d
EZ
33242019-03-30 Simon Marchi <simark@simark.ca>
3325
3326 * gdb.base/default.exp: Add values for $_gdb_major and
3327 $_gdb_minor.
3328
188e1fa9
TT
33292019-03-29 Tom Tromey <tromey@adacore.com>
3330
3331 * gdb.base/help.exp: Tighten apropos regexp.
3332
2880242d
KS
33332019-03-29 Keith Seitz <keiths@redhat.com>
3334
3335 * gdb.fortran/array-bounds.exp: New file.
3336 * gdb.fortran/array-bounds.f90: New file.
3337
077cad8e
PW
33382019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3339
3340 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
3341
80047cfc
PW
33422019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3343
3344 * gdb.multi/hello.c (main): Increase alarm timer.
3345
f489207e
SL
33462019-03-28 Sandra Loosemore <sandra@codesourcery.com>
3347
3348 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
3349 factor when no hardware watchpoint support.
3350
c92df149
AH
33512019-03-28 Alan Hayward <alan.hayward@arm.com>
3352 Pedro Alves <palves@redhat.com>
3353
3354 * boards/local-board.exp: set sysroot to /.
3355
933aebfa
AH
33562019-03-27 Alan Hayward <alan.hayward@arm.com>
3357
3358 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
3359 in child.
3360
9f9aa852
AB
33612019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
3362
3363 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
3364 field.
3365 (make_container): Initialise new field.
3366 * gdb.python/py-prettyprint.exp: Add new tests.
3367 * gdb.python/py-prettyprint.py (class ContainerPrinter)
3368 <display_hint>: New method.
3369
3714a195
AB
33702019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
3371
3372 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
3373 gdb_continue_to_breakpoint more throughout this test.
3374 (run_lang_tests) Supply unique test names, and use
3375 gdb_test_no_output.
3376
18c77628
AB
33772019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
3378
3379 * gdb.base/finish-pretty.exp: Update expected results.
3380 * gdb.base/pretty-print.c: New file.
3381 * gdb.base/pretty-print.exp: New file.
3382
9a93502f
PA
33832019-03-25 Pedro Alves <palves@redhat.com>
3384
3385 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
3386 move comments outside list. Append '-i "" eof' section.
3387
968aa7ae
AH
33882019-03-22 Alan Hayward <alan.hayward@arm.com>
3389
34a7f2a4 3390 PR testsuite/25016
968aa7ae
AH
3391 * README: Add pie options.
3392 * gdb.base/break-interp.exp: Ensure pie is disabled.
3393 * gdb.base/dump.exp: Likewise.
3394 * lib/gdb.exp (gdb_compile): Add pie option.
3395
4c7d57e7
TT
33962019-03-19 Tom Tromey <tromey@adacore.com>
3397
3398 * gdb.mi/mi2-cli-display.c: New file.
3399 * gdb.mi/mi2-cli-display.exp: New file.
3400
bff8c71f
TT
34012019-03-18 Joel Brobecker <brobecker@adacore.com>
3402 Tom Tromey <tromey@adacore.com>
3403
3404 * gdb.ada/ptype_array/pck.adb: New file.
3405 * gdb.ada/ptype_array/pck.ads: New file.
3406 * gdb.ada/ptype_array/foo.adb: New file.
3407 * gdb.ada/ptype_array.exp: New file.
3408
d085f989
TT
34092019-03-14 Tom Tromey <tromey@adacore.com>
3410
3411 * gdb.base/style.exp: Add "set style sources" test.
3412
b4be1b06
SM
34132019-03-13 Simon Marchi <simon.marchi@ericsson.com>
3414
3415 * mi-breakpoint-location-ena-dis.exp: Rename to ...
3416 * mi-breakpoint-multiple-locations.exp: ... this.
3417 (make_breakpoints_pattern): New proc.
3418 (do_test): Add mi_version parameter, test -break-insert,
3419 -break-info and =breakpoint-created.
3420
7cde5fc2
AB
34212019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
3422
3423 * config/default.exp: Remove 'load_lib gdb.exp'.
3424 * config/monitor.exp: Likewise.
3425 * config/sid.exp: Likewise.
3426 * config/sim.exp: Likewise.
3427 * config/slite.exp: Likewise.
3428 * config/unix.exp: Likewise.
3429 * gdb.base/default.exp: Remove unhelpful comment.
3430
efbecbc1
AB
34312019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3432
3433 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
3434
0841c79a
AB
34352019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3436
3437 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
3438
4a270568
AB
34392019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3440
3441 * gdb.fortran/type-kinds.exp: Update expected results.
3442
067630bd
AB
34432019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3444
3445 * gdb.fortran/type-kinds.exp: Test new integer type kind.
3446
3be47f7a
AB
34472019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3448
3449 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
3450 function.
3451 (test_basic_parsing_of_type_kinds): Expand types tested.
3452 (test_parsing_invalid_type_kinds): New function.
3453
4d00f5d8
AB
34542019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3455
3456 * gdb.fortran/intrinsics.exp: New file.
3457 * gdb.fortran/intrinsics.f90: New file.
3458 * gdb.fortran/type-kinds.exp: New file.
3459
c8f91604
AB
34602019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3461
3462 * gdb.fortran/dot-ops.exp: New file.
3463
dd9f2c76
AB
34642019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3465
3466 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
3467 Check upper and lower case logical literals.
3468
84ec9724
AB
34692019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3470
3471 * gdb.fortran/types.exp (test_float_literal_types_accepted):
3472 Remove duplicate tests.
3473
c3734e09
AH
34742019-03-06 Alan Hayward <alan.hayward@arm.com>
3475
3476 * lib/gdb.exp (builtin_cd): rename of cd.
3477 (cd): Override builtin.
3478
aa3cfbda
RB
34792019-03-06 Richard Bunt <richard.bunt@arm.com>
3480
3481 * gdb.fortran/function-calls.exp: New file.
3482 * gdb.fortran/function-calls.f90: New test.
3483
7b63ad86
RB
34842019-03-04 Richard Bunt <richard.bunt@arm.com>
3485
3486 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
3487 on user program standard output.
3488 * gdb.fortran/short-circuit-argument-list.f90: Record function
3489 calls.
3490
01abb042
AH
34912019-02-28 Alan Hayward <alan.hayward@arm.com>
3492
c3734e09
AH
3493 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
3494 failure.
01abb042 3495
92137da0
RO
34962019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3497
3498 PR gdb/8527
3499 * gdb.base/interrupt-daemon-attach.c,
3500 gdb.base/interrupt-daemon-attach.exp: New test.
3501
5862844d
PA
35022019-02-27 Pedro Alves <palves@redhat.com>
3503
3504 * gdb.base/page.exp: Add tests for "set width/height -1".
3505
8ed25214
PA
35062019-02-27 Pedro Alves <palves@redhat.com>
3507
3508 * gdb.base/page.exp: Add tests for "set/show width/height" with
3509 "infinite" values.
3510
6c28e44a
TT
35112019-02-27 Tom Tromey <tromey@adacore.com>
3512
3513 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
3514 2.4.
3515 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
3516 workaround.
3517
bf9a735e
AB
35182019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
3519
3520 * gdb.base/align.exp: Extend to compile in both C and C++, and add
3521 tests for structs with static members.
3522
8791793c
TT
35232019-02-26 Tom Tromey <tromey@adacore.com>
3524
3525 * gdb.python/py-value.exp (test_value_from_buffer): Check for
3526 ValueError, not TypeError.
3527
bc2a507e
KB
35282019-02-26 Kevin Buettner <kevinb@redhat.com>
3529
3530 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
3531 call from main program.
3532
e0e7d3bd
JB
35332019-02-23 Joel Brobecker <brobecker@adacore.com>
3534
3535 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
3536 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
3537 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
3538 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
3539 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
3540
9600246d
KS
35412019-02-22 Keith Seitz <keiths@redhat.com>
3542
3543 PR symtab/23853
3544 * gdb.base/symlink-sourcefile.c: New file.
3545 * gdb.base/symlink-sourcefile.exp: New file.
3546
0c95f9ed
TT
35472019-02-20 Tom Tromey <tom@tromey.com>
3548
3549 * gdb.base/info_qt.exp: Update.
3550
6caa91b6
SM
35512019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
3552
3553 * gdb.base/source.exp: Move "error in sourced script" code to
3554 the end.
3555 * gdb.base/source-error.gdb: Move contents to
3556 source-error-1.gdb. Add new code to source source-error-1.gdb.
3557 * gdb.base/source-error-1.gdb: New file, from previous
3558 source-error.gdb.
3559
6506371f
TT
35602019-02-17 Tom Tromey <tom@tromey.com>
3561
3562 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
3563 for macro styling.
3564 * gdb.base/style.c (SOME_MACRO): New macro.
3565
a0087920
TT
35662019-02-17 Tom Tromey <tom@tromey.com>
3567
3568 * gdb.base/style.exp: Add line-wrapping tests.
3569 * gdb.base/page.exp: Add test for quitting during pagination.
3570
a2cd4f14
JB
35712019-02-17 Joel Brobecker <brobecker@adacore.com>
3572
3573 * gdb.ada/big_packed_array: New testcase.
3574 * gdb.ada/homonym.exp: Fix incorrect expected output for
3575 "break <homonym__get_value>" test.
3576
9d70ffbc
WP
35772019-02-13 Weimin Pan <weimin.pan@oracle.com>
3578
3579 PR breakpoints/21870
3580 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
3581 and prepare_for_testing. Add comment.
3582 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
3583 redundant cleanup call. Clean up comment.
3584
01c7ae81
WP
35852019-02-12 Weimin Pan <weimin.pan@oracle.com>
3586
3587 PR breakpoints/21870
3588 * gdb.arch/aarch64-dbreg-contents.exp: New file.
3589 * gdb.arch/aarch64-dbreg-contents.c: New file.
3590
aff29d1c
JB
35912019-02-10 Joel Brobecker <brobecker@adacore.com>
3592
3593 * gdb.ada/mi_ref_changeable: New testcase.
3594
df0da8a2
AH
35952019-02-07 Alan Hayward <alan.hayward@arm.com>
3596
3597 * gdb.base/attach.exp: Add double attach test.
3598
bd447abb
SM
35992019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
3600
3601 * lib/gdb.exp (default_gdb_start): Don't match pagination
3602 prompt.
3603 (gdb_init): Set stty_init.
3604
1dbc40b9
TT
36052019-01-27 Tom Tromey <tom@tromey.com>
3606
3607 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
3608 skip_python_tests.
3609
353229bf
AH
36102019-01-24 Alan Hayward <alan.hayward@arm.com>
3611
3612 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
3613 New structure.
3614 (struct struct_static_02_02): Likewise.
3615 (struct struct_static_02_03): Likewise.
3616 (struct struct_static_02_04): Likewise.
3617 (struct struct_static_04_01): Likewise.
3618 (struct struct_static_04_02): Likewise.
3619 (struct struct_static_04_03): Likewise.
3620 (struct struct_static_04_04): Likewise.
3621 (struct struct_static_06_01): Likewise.
3622 (struct struct_static_06_02): Likewise.
3623 (struct struct_static_06_03): Likewise.
3624 (struct struct_static_06_04): Likewise.
3625 (cmp_struct_static_02_01): Likewise.
3626 (cmp_struct_static_02_02): Likewise.
3627 (cmp_struct_static_02_03): Likewise.
3628 (cmp_struct_static_02_04): Likewise.
3629 (cmp_struct_static_04_01): Likewise.
3630 (cmp_struct_static_04_02): Likewise.
3631 (cmp_struct_static_04_03): Likewise.
3632 (cmp_struct_static_04_04): Likewise.
3633 (cmp_struct_static_06_01): Likewise.
3634 (cmp_struct_static_06_02): Likewise.
3635 (cmp_struct_static_06_03): Likewise.
3636 (cmp_struct_static_06_04): Likewise.
3637 (call_all): Test new structs.
3638 * gdb.base/infcall-nested-structs.exp: Likewise.
3639
73021deb
AH
36402019-01-21 Alan Hayward <alan.hayward@arm.com>
3641 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
3642
fc65c7db
AH
36432019-01-21 Alan Hayward <alan.hayward@arm.com>
3644 * gdb.base/stack-protector.c: New test.
3645 * gdb.base/stack-protector.exp: New file.
3646 * gdb.cp/ovldbreak.exp: Only allow a single break line.
3647 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
3648 option.
3649 (gdb_compile): Remove stack protector for GCC and prevent
3650 recursion.
3651
c24bdb02
KS
36522019-01-16 Keith Seitz <keiths@redhat.com>
3653
3654 PR gdb/23773
3655 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
3656
6f072a10
PFC
36572019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3658
3659 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
3660 aliases.
3661 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
3662 tests.
3663 * gdb.arch/powerpc-vector-regs.c: New file.
3664 * gdb.arch/powerpc-vector-regs.exp: New file.
3665
a7b8d682
PFC
36662019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3667
3668 * gdb.arch/altivec-regs.exp: Fix the list passed to
3669 gdb_expect_list when testing "info vector".
3670
6eb6fb67
AB
36712019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
3672
3673 * gdb.base/style.exp: Don't include path in testname.
3674
b56f80d8
KS
36752019-01-10 Keith Seitz <keiths@redhat.com>
3676
3677 PR gdb/23712
3678 PR symtab/23010
3679 * gdb.dwarf2/multidictionary.exp: New file.
3680
041be526
SM
36812019-01-09 Simon Marchi <simon.marchi@ericsson.com>
3682
3683 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
3684 (test_gnuv3_style_demangling): ... this.
3685 (test_lucid_style_demangling): Remove.
3686 (test_arm_style_demangling): Remove.
3687 (test_hp_style_demangling): Remove.
3688 (do_tests): Remove calls to the above.
3689
d820d0c3
AB
36902019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3691
3692 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
3693 case.
3694
f097f5ad
TT
36952019-01-06 Tom Tromey <tom@tromey.com>
3696
3697 PR gdb/28155:
3698 * gdb.dwarf2/typedef-void-finish.exp: New file.
3699
2cd8cc0b
TT
37002018-12-28 Tom Tromey <tom@tromey.com>
3701 Simon Marchi <simark@simark.ca>
3702
3703 * gdb.base/jit-exec.exp: New file.
3704 * gdb.base/jit-exec.c: New file.
3705 * gdb.base/jit-execd.c: New file.
3706
35fb8261
TT
37072018-12-28 Tom Tromey <tom@tromey.com>
3708
3709 * gdb.base/style.exp: Update test to check for address styling.
3710
47fd17cd
TT
37112018-12-28 Tom Tromey <tom@tromey.com>
3712
3713 * gdb.base/style.exp: Add test for styling of "Reading symbols"
3714 message.
3715
d47032b7
TT
37162018-12-28 Tom Tromey <tom@tromey.com>
3717
3718 * gdb.base/style.exp: Add test for version number styling.
3719
af79b68d
TT
37202018-12-28 Tom Tromey <tom@tromey.com>
3721
3722 * gdb.base/style.exp: Add test for print_address_symbolic.
3723
0bb296cb
TT
37242018-12-28 Tom Tromey <tom@tromey.com>
3725
3726 * gdb.base/style.exp: Add test for breakpoint setting.
3727
80ae2043
TT
37282018-12-28 Tom Tromey <tom@tromey.com>
3729
3730 * gdb.base/style.exp: Add test for variable names.
3731
cbe56571
TT
37322018-12-28 Tom Tromey <tom@tromey.com>
3733
3734 * gdb.base/style.exp: New file.
3735 * gdb.base/style.c: New file.
3736
9162a27c
TT
37372018-12-28 Tom Tromey <tom@tromey.com>
3738
3739 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
3740 "dumb".
3741 * gdb.base/readline.exp (operate_and_get_next): Save and restore
3742 the TERM environment variable.
3743
bc543c90
TT
37442018-12-27 Tom Tromey <tom@tromey.com>
3745
3746 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
3747 pagination test.
3748
6f0ffe50
AB
37492018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
3750
3751 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
3752 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
3753
b5a1e557
PW
37542018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3755
3756 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
3757 Filename a.adb changed to bp_fun_addr.adb.
3758 gdb.ada/bp_fun_addr.exp: Update test accordingly.
3759
6e8b1ab2
JV
37602018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
3761
3762 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
3763 non-PIE executables.
3764 * README: Mention the gdb,nopie_flag board setting.
3765 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
3766 non-PIE executable.
3767 * gdb.arch/amd64-entry-value.exp: Likewise.
3768 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
3769 * gdb.arch/i386-float.exp: Likewise.
3770 * gdb.arch/i386-signal.exp: Likewise.
3771 * gdb.mi/mi-reg-undefined.exp: Likewise.
3772
d00a27c5
PM
37732018-12-21 Paul Marechal <paul.marechal@ericsson.com>
3774
3775 PR gdb/23974
3776 * gdb.base/info-os.exp: Check return for unknown "info os" type.
3777
161d081c
PW
37782018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3779
3780 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
3781 Update order of results accordingly.
3782
b001de23
AB
37832018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
3784
3785 * gdb.base/annota1.exp: Update a test regexp.
3786
99e1a184
AB
37872018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
3788
3789 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
3790
7a81c1e2
PW
37912018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3792
3793 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
3794 (reuse_time): Initialize to REUSE_TIME_CAP.
3795 (check_rc): New function.
3796 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
3797 Check pthread_create rc.
3798 (spawner_thread_func): Check pthread_create and pthread_join rc.
3799
73e8dc90
PA
38002018-12-08 Pedro Alves <palves@redhat.com>
3801
3802 * gdb.base/list.exp (test_forward_search): Rename to ...
3803 (test_forward_reverse_search): ... this. Also test reverse-search
3804 and the forward-search alias.
3805
13f2ed32
AB
38062018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
3807
3808 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
3809 local timeout variable before return, and remove all local timeout
3810 variable entirely.
3811 (gdb_load): Likewise.
3812
64d27cfc
TV
38132018-12-01 Tom de Vries <tdevries@suse.de>
3814
3815 * gdb.base/gdb-caching-proc.exp: New file.
3816
f63c03b4
SDJ
38172018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
3818
3819 * Makefile.in (TIMESTAMP): New variable.
3820 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
3821 command.
3822 (check-single-racy): Likewise.
3823 (check/%.exp): Likewise.
3824 (check-racy/%.exp): Likewise.
3825 (workers/%.worker): Likewise.
3826 (build-perf): Likewise.
3827 (check-perf): Likewise.
3828 * README: Describe new "TS" and "TS_FORMAT" variables.
3829 * print-ts.py: New file.
3830
1c97054b
BF
38312018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
3832
3833 PR python/23714
3834 * gdb.python/python.exp: Test command repetition after
3835 gdb.execute.
3836
1871a62d
AB
38372018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
3838
3839 * gdb.opt/inline-break.exp: Add test that info breakpoint output
3840 is correctly aligned.
3841
fb5e1ed9
PW
38422018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3843
3844 * gdb.ada/info_auto_lang.exp: New testcase.
3845 * gdb.ada/info_auto_lang/global_pack.ads: New file.
3846 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
3847 * gdb.ada/info_auto_lang/some_c.c: New file.
3848
43d397ca
PW
38492018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3850
3851 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
3852 FUNC_lang language syntax.
3853
beddd671
PW
38542018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3855
3856 * gdb.base/info_minsym.c: New file.
3857 * gdb.base/info_minsym.exp: New file.
3858
73fc52c4
TT
38592018-11-19 Tom Tromey <tom@tromey.com>
3860
3861 PR rust/23625:
3862 * gdb.rust/simple.exp: Add ptype test. Update expected output.
3863 * gdb.rust/expr.exp: Update expected output. Change one test.
3864
994b876a
TT
38652018-11-19 Tom Tromey <tom@tromey.com>
3866
3867 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
3868
6769f276
PA
38692018-11-19 Pedro Alves <palves@redhat.com>
3870
3871 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
3872 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
3873 see the expected warning.
3874
38a72da0
AH
38752018-11-16 Alan Hayward <alan.hayward@arm.com>
3876
3877 PR gdb/22736:
3878 * gdb.cp/infcall-nodebug-lib.c: New test.
3879 * gdb.cp/infcall-nodebug-main.c: New test.
3880 * gdb.cp/infcall-nodebug.exp: New file.
3881
53a89d6e
SM
38822018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
3883
3884 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
3885 completer tests.
3886
9325300d
TV
38872018-11-09 Tom de Vries <tdevries@suse.de>
3888
3889 * gdb.base/msym-lang.c: New test.
3890 * gdb.base/msym-lang.exp: New file.
3891 * gdb.base/msym-lang-main.c: New test.
3892
20f0d60d
TT
38932018-11-08 Tom Tromey <tom@tromey.com>
3894
3895 PR gdb/23555:
3896 PR gdb/23838:
3897 * gdb.base/warning.exp: New file.
3898
b5420128
JB
38992018-11-08 Jan Beulich <jbeulich@suse.com>
3900
3901 * testsuite/gdb.arch/i386-avx512.c,
3902 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
3903
cd115d61
AB
39042018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
3905
3906 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
3907 point hardware.
3908
35ee2dc2
AB
39092018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
3910
3911 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
3912 * gdb.dwarf2/missing-type-name.exp: New file.
3913
31aceee8
TV
39142018-11-06 Tom de Vries <tdevries@suse.de>
3915
3916 * gdb.base/many-headers.c: New test.
3917 * gdb.base/many-headers.exp: New file.
3918
109be305
JW
39192018-11-06 Jim Wilson <jimw@sifive.com>
3920
3921 * gdb.base/code_elim.exp: For riscv, set additional_flags
3922 to include -msmall-data-limit=0.
3923
e2b7af72
JB
39242018-11-01 Joel Brobecker <brobecker@adacore.com>
3925
3926 * gdb.ada/watch_minus_l: New testcase.
3927
cdcda965
SM
39282018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
3929
3930 * gdb.arch/aix-sighandle.c: New file.
3931 * gdb.arch/aix-sighandle.exp: New file.
3932
92dcebf3
AB
39332018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3934
3935 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
3936 registers being unions.
3937
68b9ac18
TV
39382018-10-31 Tom de Vries <tdevries@suse.de>
3939
3940 * lib/valgrind.exp: New file.
3941 (vgdb_start, vgdb_stop): New procs, factored out of ...
3942 * gdb.base/valgrind-bt.exp: ... here, ...
3943 * gdb.base/valgrind-disp-step.exp: ... here and ...
3944 * gdb.base/valgrind-infcall.exp: ... here.
3945
1443936e
TV
39462018-10-31 Tom de Vries <tdevries@suse.de>
3947
3948 * lib/gdb.exp (get_valueof): Don't output read value in test name.
3949
eb77c9df
AB
39502018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3951
3952 * gdb.dwarf2/void-type.c: New file.
3953 * gdb.dwarf2/void-type.exp: New file.
3954
82b5e646
PW
39552018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3956
3957 * gdb.base/info_qt.c: New file.
3958 * gdb.base/info_qt.exp: New file.
3959
8d619c01
EBM
39602018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3961
3962 * gdb.arch/powerpc-htm-regs.c: New file.
3963 * gdb.arch/powerpc-htm-regs.exp: New file.
3964
f2cf6173
EBM
39652018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3966
3967 * gdb.arch/powerpc-tar.c: New file.
3968 * gdb.arch/powerpc-tar.exp: New file.
3969
7ca18ed6
EBM
39702018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3971
3972 * gdb.arch/powerpc-ppr-dscr.c: New file.
3973 * gdb.arch/powerpc-ppr-dscr.exp: New file.
3974
bfcc0eba
TV
39752018-10-25 Tom de Vries <tdevries@suse.de>
3976
3977 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
3978
fe1a5cad
TV
39792018-10-24 Tom de Vries <tdevries@suse.de>
3980
3981 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
3982 longer exists error.
3983
a76dc3b7
TV
39842018-10-24 Tom de Vries <tdevries@suse.de>
3985
3986 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
3987
4df46df7
TV
39882018-10-24 Tom de Vries <tdevries@suse.de>
3989
3990 * gdb.base/valgrind-db-attach.exp: Handle removed support for
3991 --db-attach in valgrind.
3992
0dbfcfff
AB
39932018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
3994
3995 * gdb.arch/riscv-reg-aliases.c: New file.
3996 * gdb.arch/riscv-reg-aliases.exp: New file.
3997
b04480b1
AH
39982018-10-19 Alan Hayward <alan.hayward@arm.com>
3999
4000 * gdb.python/py-cmd.exp: Check for gdb_prompt.
4001
2c6ac8d7
AH
40022018-10-19 Alan Hayward <alan.hayward@arm.com>
4003
4004 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
4005
2bc69f25
AH
40062018-10-19 Alan Hayward <alan.hayward@arm.com>
4007
4008 * gdb.cp/ovldbreak.exp: Fix regexps.
4009
1f1ae3a3
AH
40102018-10-19 Alan Hayward <alan.hayward@arm.com>
4011
4012 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
4013
94c18618
SDJ
40142018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
4015
4016 PR cli/23785
4017 * gdb.base/restore.exp: New test to check if "restore" with an
4018 invalid file doesn't segfault.
4019
812cd6eb
TV
40202018-10-18 Tom de Vries <tdevries@suse.de>
4021
4022 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
4023 * gdb.ada/excep_handle.exp: Same.
4024 * gdb.ada/mi_string_access.exp: Same.
4025 * gdb.ada/mi_var_union.exp: Same.
4026 * gdb.arch/arc-analyze-prologue.exp: Same.
4027 * gdb.arch/arc-decode-insn.exp: Same.
4028 * gdb.base/readnever.exp: Same.
4029 * gdb.fortran/printing-types.exp: Same.
4030 * gdb.guile/scm-lazy-string.exp: Same.
4031
c4b90788
TV
40322018-10-16 Tom de Vries <tdevries@suse.de>
4033
4034 PR gdb/23730
4035 * gdb.base/catch-follow-exec.c: Add copyright notice.
4036 * gdb.base/catch-follow-exec.exp: Rewrite to use
4037 gdb_spawn_with_cmdline_opts. Require gdb-native.
4038
8bca2978
SL
40392018-10-12 Sandra Loosemore <sandra@codesourcery.com>
4040
4041 * gdb.trace/actions-changed.exp: Check for arch support.
4042 * gdb.trace/actions.exp: Likewise.
4043 * gdb.trace/ax.exp: Likewise.
4044 * gdb.trace/backtrace.exp: Likewise.
4045 * gdb.trace/change-loc.exp: Likewise.
4046 * gdb.trace/deltrace.exp: Likewise.
4047 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
4048 * gdb.trace/ftrace.exp: Likewise.
4049 * gdb.trace/infotrace.exp: Check for arch support.
4050 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
4051 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
4052 * gdb.trace/mi-tsv-changed.exp: Likewise.
4053 * gdb.trace/packetlen.exp: Likewise.
4054 * gdb.trace/passc-dyn.exp: Likewise.
4055 * gdb.trace/passcount.exp: Likewise.
4056 * gdb.trace/pending.exp: Likewise.
4057 * gdb.trace/range-stepping.exp: Check for shlib support.
4058 * gdb.trace/report.exp: Check for arch support.
4059 * gdb.trace/save-trace.exp: Likewise.
4060 * gdb.trace/signal.exp: Check for signal support.
4061 * gdb.trace/tfind.exp: Check for arch support.
4062 * gdb.trace/trace-break.exp: Check for arch and shlib support.
4063 * gdb.trace/trace-common.h: Add comment.
4064 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
4065 * gdb.trace/trace-enable-disable.exp: Likewise.
4066 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
4067 * gdb.trace/tracecmd.exp: Check for arch support.
4068 * gdb.trace/tspeed.exp: Check for shlib and target support.
4069 * gdb.trace/tstatus.exp: Check for arch support.
4070 * gdb.trace/tsv.exp: Likewise.
4071 * gdb.trace/while-dyn.exp: Likewise.
4072 * gdb.trace/while-stepping.exp: Likewise.
4073 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
4074
f9c49bff
SM
40752018-10-12 Simon Marchi <simon.marchi@ericsson.com>
4076
4077 * gdb.trace/tspeed.exp: Remove nowarnings.
4078 (prepare_for_trace_test): Declare "global ipalib".
4079 * gdb.trace/tspeed.c: Include unistd.h.
4080 (main): Remove superfluous printf argument.
4081
d4330bde
SL
40822018-10-11 Sandra Loosemore <sandra@codesourcery.com>
4083
4084 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
4085 directory prefix on the filename.
4086
8ecfd7bd
SDJ
40872018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
4088
4089 * gdb.gdb/unittest.exp: Update expected message informing that
4090 selftests have been disabled.
4091 * gdb.server/unittest.exp: Likewise.
4092
58bbcd02
TV
40932018-10-09 Tom de Vries <tdevries@suse.de>
4094
4095 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
4096 with runto_main.
4097
9f6b697b
WP
40982018-10-08 Weimin Pan <weimin.pan@oracle.com>
4099
4100 PR c++/16841
4101 * gdb.cp/virtbase2.cc: New file.
4102 * gdb.cp/virtbase2.exp: New file.
4103
add5ded5
TT
41042018-10-06 Tom Tromey <tom@tromey.com>
4105
4106 PR python/19399:
4107 * gdb.python/py-inferior.exp: Add architecture test.
4108
f9e48344
TT
41092018-10-06 Tom Tromey <tom@tromey.com>
4110
4111 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
4112 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
4113
2a8be203
TT
41142018-10-06 Tom Tromey <tom@tromey.com>
4115
4116 * gdb.python/py-breakpoint.exp (check_last_event): Check location
4117 of a "throw" catchpoint.
4118
e04caa70
SDJ
41192018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
4120
4121 * gdb.base/info-proc.exp: Update string expected from "help info
4122 proc".
4123
5ca8c39f
TT
41242018-10-04 Tom Tromey <tom@tromey.com>
4125
4126 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
4127 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
4128 (test_initial_complaints, test_empty_complaints): Update.
4129 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
4130
3453e7e4
TT
41312018-10-04 Tom Tromey <tom@tromey.com>
4132
4133 PR cli/19551:
4134 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
4135 * lib/gdb.exp (gdb_file_cmd): Update.
4136 * gdb.stabs/weird.exp (print_weird_var): Update.
4137 * gdb.server/solib-list.exp: Update.
4138 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
4139 * gdb.mi/mi-cli.exp: Update.
4140 * gdb.linespec/linespec.exp: Update.
4141 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
4142 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
4143 * gdb.cp/cp-relocate.exp: Update.
4144 * gdb.base/sym-file.exp: Update.
4145 * gdb.base/relocate.exp: Update.
4146 * gdb.base/readnever.exp: Update.
4147 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
4148 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
4149 * gdb.base/dbx.exp (gdb_file_cmd): Update.
4150 * gdb.base/code_elim.exp: Update.
4151 * gdb.base/break-unload-file.exp (test_break): Update.
4152 * gdb.base/break-interp.exp (test_attach_gdb): Update.
4153 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
4154 Update.
4155 * gdb.base/attach.exp (do_attach_tests): Update.
4156 * gdb.base/sepdebug.exp: Update.
4157 * gdb.python/py-section-script.exp: Update.
4158
6afcf761
TT
41592018-10-04 Tom Tromey <tom@tromey.com>
4160
4161 PR cli/22234:
4162 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
4163 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
4164 output.
4165
fef1b293
TT
41662018-10-04 Tom Tromey <tom@tromey.com>
4167
4168 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
4169 set width and height to 0.
4170 (test_command_line_attach_run): Use -quiet.
4171
ca98345e
SL
41722018-10-03 Sandra Loosemore <sandra@codesourcery.com>
4173
4174 * lib/gdb.exp (skip_ifunc_tests): New.
4175 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
4176 other compile failures.
4177 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
4178
ff34e6ae
SM
41792018-10-01 Simon Marchi <simon.marchi@ericsson.com>
4180
4181 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
4182 is_amd64_regs_target.
4183
6bb8890e
AH
41842018-10-01 Alan Hayward <alan.hayward@arm.com>
4185
4186 * gdb.arch/aarch64-sighandler-regs.c: New test.
4187 * gdb.arch/aarch64-sighandler-regs.exp: New file.
4188 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
4189
224d30d3
MM
41902018-10-01 Markus Metzger <markus.t.metzger@intel.com>
4191
4192 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
4193 assembly.
4194
f67ffa6a
AB
41952018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
4196
4197 * gdb.base/frame-selection.exp: New file.
4198 * gdb.base/frame-selection.c: New file.
4199
9fc3183f
AH
42002018-09-27 Alan Hayward <alan.hayward@arm.com>
4201
4202 * gdb.threads/check-libthread-db.c (thread_routine): Use a
4203 pthread barrier.
4204 (main): Likewise.
4205
d354055e
AB
42062018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
4207
4208 * gdb.base/large-frame-1.c: New file.
4209 * gdb.base/large-frame-2.c: New file.
4210 * gdb.base/large-frame.exp: New file.
4211 * gdb.base/large-frame.h: New file.
4212
db727370
JL
42132018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
4214
4215 PR gdb/20948
4216 * gdb.base/write_mem.exp: New test.
4217 * gdb.base/write_mem.c: Likewise.
4218
ae778caf
TT
42192018-09-23 Tom Tromey <tom@tromey.com>
4220
4221 PR python/18852:
4222 * gdb.python/py-parameter.exp: Add test for parameter that throws
4223 on "set".
4224
fd3ba736
TT
42252018-09-23 Tom Tromey <tom@tromey.com>
4226
4227 PR python/17284:
4228 * gdb.python/py-template.exp (test_template_arg): Add test for
4229 negative template argument number.
4230
39a24317
TT
42312018-09-23 Tom Tromey <tom@tromey.com>
4232
4233 PR python/14062:
4234 * gdb.python/python.exp: Add test for post_event error.
4235
f5769a2c
TT
42362018-09-23 Tom Tromey <tom@tromey.com>
4237
4238 PR python/18170:
4239 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
4240 convert pointers to int and long.
4241
1c1e54f6
TT
42422018-09-23 Tom Tromey <tom@tromey.com>
4243
4244 PR python/20126:
4245 * gdb.python/py-value.exp (test_value_numeric_ops): Add
4246 signed-ness conversion tests.
4247
fb4fa946
TT
42482018-09-23 Tom Tromey <tom@tromey.com>
4249
4250 PR python/18352;
4251 * gdb.python/py-value.exp (test_float_conversion): New proc.
4252 Use it.
4253
a466edac
HAQ
42542018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
4255
4256 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
4257
4ee9b0c5
SL
42582018-09-18 Sandra Loosemore <sandra@codesourcery.com>
4259
4260 * gdb.base/complete-empty.exp: Skip tab-completion tests if
4261 no readline.
4262 * gdb.base/utf8-identifiers.exp: Likewise.
4263 * gdb.cp/cpcompletion.exp: Likewise.
4264 * gdb.linespec/cpcompletion.exp: Likewise.
4265 * gdb.linespec/cpls-abi-tag.exp: Likewise.
4266 * gdb.linespec/cpls-ops.exp: Likewise.
4267
23be8da7
RB
42682018-09-19 Richard Bunt <richard.bunt@arm.com>
4269 Chris January <chris.january@arm.com>
4270
4271 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
4272 * gdb.fortran/short-circuit-argument-list.exp: New file.
4273 * gdb.fortran/short-circuit-argument-list.f90: New test.
4274
5031d0ae
SDJ
42752018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4276
4277 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
4278 "arch=" keyword when executing "-stack-list-frames".
4279
b4c0d1a4
SDJ
42802018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4281
4282 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
4283 "arch=" keyword when executing "-stack-list-frames".
4284
7a6d2b45
SDJ
42852018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4286
4287 * gdb.ada/complete.exp: Expect for "@" when doing "complete
4288 break ada".
4289
8588b356
SM
42902018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
4291
4292 PR python/23669
4293 * gdb.python/python.exp: Test gdb.execute("show commands").
4294
65e65158
TT
42952018-09-16 Tom Tromey <tom@tromey.com>
4296
4297 * gdb.base/new-ui.exp (do_execution_tests): Update.
4298 * gdb.base/dbx.exp (test_breakpoints): Update.
4299
bf326452
AH
43002018-09-14 Alan Hayward <alan.hayward@arm.com>
4301
4302 * lib/gdb.exp (gdb_simple_compile): Add proc.
4303 (is_elf_target): Use gdb_simple_compile.
4304 (skip_altivec_tests): Likewise.
4305 (skip_vsx_tests): Likewise.
4306 (skip_tsx_tests): Likewise.
4307 (skip_btrace_tests): Likewise.
4308 (skip_btrace_pt_tests): Likewise.
4309 (gdb_can_simple_compile): Likewise.
4310 (gdb_has_argv0): Likewise.
4311 (gdb_target_symbol_prefix): Likewise.
4312 (target_supports_scheduler_locking): Likewise.
4313
2361b0fb
TT
43142018-09-13 Tom Tromey <tom@tromey.com>
4315
4316 * Makefile.in (TAGS): Recognize proc_with_prefix and
4317 gdb_caching_proc.
4318
0ae1a321
SM
43192018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4320
4321 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
4322 method.
4323
a40bf0c2
SM
43242018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4325
4326 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
4327 and a few other Inferior properties when the Inferior is no
4328 longer valid.
4329
4a3fe98f
TT
43302018-09-13 Tom Tromey <tom@tromey.com>
4331
4332 PR rust/23650:
4333 * gdb.rust/simple.exp: Add test for enum field access error.
4334
098b2108
TT
43352018-09-13 Tom Tromey <tom@tromey.com>
4336
4337 PR rust/23626:
4338 * gdb.rust/simple.rs (EmptyEnum): New type.
4339 (main): Use it.
4340 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
4341
1256af7d
SM
43422018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4343
4344 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
4345 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
4346 * gdb.python/py-symtab.exp: Update test printing an objfile.
4347
4aa8e6c2
SM
43482018-09-12 Simon Marchi <simon.marchi@ericsson.com>
4349
4350 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
4351 object.
4352
c221b2f7
AH
43532018-09-12 Alan Hayward <alan.hayward@arm.com>
4354
4355 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
4356 (support_complex_tests): Use gdb_can_simple_compile.
4357 (is_ilp32_target): Likewise.
4358 (is_lp64_target): Likewise.
4359 (is_64_target): Likewise.
4360 (is_amd64_regs_target): Likewise.
4361 (is_aarch32_target): Likewise.
4362 (gdb_int128_helper): Likewise.
4363
6f1107b5
JK
43642018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4365
4366 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
4367
1f5d1570
JG
43682018-09-10 Jerome Guitton <guitton@adacore.com>
4369
4370 * gdb.ada/same_component_name: Add test for case of tagged record
4371 with variable-length fields.
4372
cc330e39
XR
43732018-09-10 Xavier Roirand <roirand@adacore.com>
4374
4375 * gdb.ada/access_to_unbounded_array.exp: New testcase.
4376 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
4377 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
4378 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
4379
b9c50e9a
XR
43802018-09-10 Xavier Roirand <roirand@adacore.com>
4381
4382 * gdb.ada/mi_string_access.exp: New testcase.
4383 * gdb.ada/mi_string_access/bar.adb: New file.
4384 * gdb.ada/mi_string_access/pck.adb: New file.
4385 * gdb.ada/mi_string_access/pck.asd: New file.
4386
2963898f
XR
43872018-09-10 Xavier Roirand <roirand@adacore.com>
4388
4389 * gdb.ada/mi_var_union.exp: New testcase.
4390 * gdb.ada/mi_var_union/bar.adb: New file.
4391 * gdb.ada/mi_var_union/pck.adb: New file.
4392 * gdb.ada/mi_var_union/pck.asd: New file.
4393
1aac008f
TT
43942018-09-08 Tom Tromey <tom@tromey.com>
4395
4396 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
4397
332cf4c9
TT
43982018-09-08 Tom Tromey <tom@tromey.com>
4399
4400 PR python/16047:
4401 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
4402 (register_pretty_printers): Register new printer.
4403 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
4404 test.
4405 * gdb.python/py-prettyprint.c (int_type3): New typedef.
4406 (an_int_type3): New global.
4407
424da6cf
JB
44082018-09-08 Joel Brobecker <brobecker@adacore.com>
4409
4410 * gdb.ada/expr_with_funcall: New testcase.
4411
2a62dfa9
JB
44122018-09-08 Joel Brobecker <brobecker@adacore.com>
4413
4414 * gdb.ada/packed_array_assign: New testcase.
4415
96b6697f
AB
44162018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
4417
4418 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
4419 names, and add test prefixes to make test names unique.
4420
e4a62c65
TV
44212018-09-05 Tom de Vries <tdevries@suse.de>
4422
4423 * gdb.dwarf2/varval.exp: Add test.
4424
dd083ee2
GB
44252018-09-04 Gary Benson <gbenson@redhat.com>
4426
4427 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
4428 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
4429
aef9346c
TT
44302018-08-31 Tom Tromey <tom@tromey.com>
4431
4432 * gdb.rust/simple.rs: Rename second variable "v".
4433
c67f2e15
AB
44342018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
4435
4436 * gdb.base/funcargs.c (use_a): New function.
4437 (recurse): Call use_a.
4438
078a0207
KS
44392018-08-29 Keith Seitz <keiths@redhat.com>
4440
4441 * gdb.compile/compile-cplus-anonymous.cc: New file.
4442 * gdb.compile/compile-cplus-anonymous.exp: New file.
4443 * gdb.compile/compile-cplus-array-decay.cc: New file.
4444 * gdb.compile/compile-cplus-array-decay.exp: New file.
4445 * gdb.compile/compile-cplus-inherit.cc: New file.
4446 * gdb.compile/compile-cplus-inherit.exp: New file.
4447 * gdb.compile/compile-cplus-member.cc: New file.
4448 * gdb.compile/compile-cplus-member.exp: New file.
4449 * gdb.compile/compile-cplus-method.cc: New file.
4450 * gdb.compile/compile-cplus-method.exp: New file.
4451 * gdb.compile/compile-cplus-mod.c: "New" file.
4452 * gdb.compile/compile-cplus-namespace.cc: New file.
4453 * gdb.compile/compile-cplus-namespace.exp: New file.
4454 * gdb.compile/compile-cplus-nested.cc: New file.
4455 * gdb.compile/compile-cplus-nested.exp: New file.
4456 * gdb.compile/compile-cplus-print.c: "New" file.
4457 * gdb.compile/compile-cplus-print.exp: "New" file.
4458 * gdb.compile/compile-cplus-virtual.cc: New file.
4459 * gdb.compile/compile-cplus-virtual.exp: New file.
4460 * gdb.compile/compile-cplus.c: "New" file.
4461 * gdb.compile/compile-cplus.exp: "New" file.
4462 * lib/compile-support.exp: New file.
4463
b0f492b9
GB
44642018-08-16 Gary Benson <gbenson@redhat.com>
4465
4466 PR gdb/13000:
4467 * gdb.base/batch-exit-status.exp: New file.
4468 * gdb.base/batch-exit-status.good-commands: Likewise.
4469 * gdb.base/batch-exit-status.bad-commands: Likewise.
4470
36eb4c5f
AH
44712018-08-29 Alan Hayward <alan.hayward@arm.com>
4472
4473 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
4474 (struct struct02): Likewise.
4475 (struct struct03): Likewise.
4476 (struct struct04): Likewise.
4477 (struct struct_01_01): New struct.
4478 (struct struct_01_02): Likewise.
4479 (struct struct_01_03): Likewise.
4480 (struct struct_01_04): Likewise.
4481 (struct struct_02_01): Likewise.
4482 (struct struct_02_02): Likewise.
4483 (struct struct_02_03): Likewise.
4484 (struct struct_02_04): Likewise.
4485 (struct struct_04_01): Likewise.
4486 (struct struct_04_02): Likewise.
4487 (struct struct_04_03): Likewise.
4488 (struct struct_04_04): Likewise.
4489 (struct struct_05_01): Likewise.
4490 (struct struct_05_02): Likewise.
4491 (struct struct_05_03): Likewise.
4492 (struct struct_05_04): Likewise.
4493 (cmp_struct01): Remove function.
4494 (cmp_struct02): Likewise.
4495 (cmp_struct03): Likewise.
4496 (cmp_struct04): Likewise.
4497 (cmp_struct_01_01): Add Function.
4498 (cmp_struct_01_02): Likewise.
4499 (cmp_struct_01_03): Likewise.
4500 (cmp_struct_01_04): Likewise.
4501 (cmp_struct_02_01): Likewise.
4502 (cmp_struct_02_02): Likewise.
4503 (cmp_struct_02_03): Likewise.
4504 (cmp_struct_02_04): Likewise.
4505 (cmp_struct_04_01): Likewise.
4506 (cmp_struct_04_02): Likewise.
4507 (cmp_struct_04_03): Likewise.
4508 (cmp_struct_04_04): Likewise.
4509 (cmp_struct_05_01): Likewise.
4510 (cmp_struct_05_02): Likewise.
4511 (cmp_struct_05_03): Likewise.
4512 (cmp_struct_05_04): Likewise.
4513 (call_all): Add new structs.
4514 * gdb.base/infcall-nested-structs.exp: Likewise.
4515
3bf9c013
JV
45162018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
4517
4518 * gdb.python/py-framefilter-mi.exp: Update regexp to
4519 check for "arch" field in frame output.
4520
450d1e88
KB
45212018-08-23 Kevin Buettner <kevinb@redhat.com>
4522
4523 * gdb.dwarf2/dw2-ranges-func.c: New file.
4524 * gdb.dwarf2/dw2-ranges-func.exp: New file.
4525
ae739fe7
SM
45262018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
4527
4528 * gdb.base/term.exp: Compare terminal settings with values from
4529 the inferior.
4530 * gdb.base/term.c: Get and set terminal settings.
4531
6d52907e
JV
45322018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
4533
4534 * lib/mi-support.exp (mi_expect_stop): Update regexp to
4535 accommodate new "arch" field in frame output.
4536 * gdb.mi/mi-return.exp: Likewise.
4537 * gdb.mi/mi-stack.exp: Likewise.
4538 * gdb.mi/mi-syn-frame.exp: Likewise.
4539 * gdb.mi/user-selected-context-sync.exp: Likewise.
4540
be2d111a
MS
45412018-08-19 Michael Spang <spang@google.com>
4542
4543 PR gdb/11786
4544 * gdb.base/gcore-tls-pie.c: New file.
4545 * gdb.base/gcore-tls-pie.exp: New file.
4546
ae3a7c47
KB
45472018-08-18 Kevin Buettner <kevinb@redhat.com>
4548
4549 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
4550 * gdb.dwarf2/varval.c: New file.
4551 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 4552
2ecae92e
AH
45532018-08-17 Alan Hayward <alan.hayward@arm.com>
4554
4555 PR gdb/18931
4556 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
4557
c1854f1d
KS
45582018-08-16 Keith Seitz <keiths@redhat.com>
4559
4560 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
4561 tests expected to pass.
4562
26fb3983
JV
45632018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
4564
4565 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
4566 -data-disassemble -a.
4567 (test_disassembly_bogus_args): Likewise.
4568
67943c00
AB
45692018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
4570
4571 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
4572
5ff2bbae
AB
45732018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
4574
4575 * gdb.base/vla-optimized-out.exp: Add new test.
4576
e5bbcd0f
AB
45772018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
4578
4579 * gdb.base/vla-optimized-out-o3.exp: Delete.
4580 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
4581 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
4582 deleted tests.
4583
9d4a934c
AB
45842018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
4585
4586 PR gdb/18050:
4587 * gdb.server/extended-remote-restart.c: New file.
4588 * gdb.server/extended-remote-restart.exp: New file.
4589
045cf012
SM
45902018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
4591
4592 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
4593 "set variable index = 42".
4594
87d6a7aa
SM
45952018-08-07 Simon Marchi <simon.marchi@ericsson.com>
4596
4597 * boards/index-cache-gdb.exp: New file.
4598 * gdb.dwarf2/index-cache.exp: New file.
4599 * gdb.dwarf2/index-cache.c: New file.
4600 * gdb.base/maint.exp: Check if we are using the index cache.
4601
96d68bd4
RO
46022018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4603
4604 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
4605 MAKEFLAGS.
4606
5a699617
RO
46072018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4608
4609 * dg-extract-results.sh: Move to toplevel contrib.
4610 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
4611 * Makefile.in (check-parallel-racy): Likewise.
4612
5bd18990
AB
46132018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
4614
4615 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
4616 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
4617 tests if the target supports scheduler locking.
4618
3fbbcf47
TV
46192018-08-04 Tom de Vries <tdevries@suse.de>
4620
4621 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
4622
3e1d3d8c
TT
46232018-08-02 Tom Tromey <tom@tromey.com>
4624
4625 PR symtab/16842.
4626 * gdb.cp/temargs.exp: Test "info address" of a template
4627 parameter.
4628
5abe0f0c
JV
46292018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
4630
4631 * gdb.python/py-mi-var-info-path-expression.c: New file.
4632 * gdb.python/py-mi-var-info-path-expression.py: New file.
4633 * gdb.python/py-mi-var-info-path-expression.exp: New file.
4634
fb66cde8
SDJ
46352018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
4636
4637 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
4638 error after "cannot resolve name" string.
4639
c708f4d2
AB
46402018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
4641
4642 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
4643 started.
4644 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
4645
37cc0cae
TV
46462018-07-28 Tom de Vries <tdevries@suse.de>
4647
4648 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
4649
63b4ecf7
TV
46502018-07-26 Tom de Vries <tdevries@suse.de>
4651
4652 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
4653
3c3bb058
AB
46542018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
4655
4656 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
4657 is visible.
4658
9e7f3bbb
TV
46592018-07-26 Tom de Vries <tdevries@suse.de>
4660
4661 PR breakpoints/23366
4662 * gdb.base/catch-follow-exec.c: New test.
4663 * gdb.base/catch-follow-exec.exp: New file.
4664
16f808ec
TV
46652018-07-25 Tom de Vries <tdevries@suse.de>
4666
4667 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
4668 vla-optimized-out.c.
4669
d7154a8d
JV
46702018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
4671
4672 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
4673 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
4674
232a0032
TV
46752018-07-20 Tom de Vries <tdevries@suse.de>
4676
4677 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
4678 NOCLONE macro.
4679 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
4680
fbb1d502
TV
46812018-07-19 Tom de Vries <tdevries@suse.de>
4682
4683 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
4684 regular expression.
4685
42dc7699
TV
46862018-07-18 Tom de Vries <tdevries@suse.de>
4687
4688 * gdb.base/vla-optimized-out.c: New test.
4689 * gdb.base/vla-optimized-out.exp: New file.
4690
7f1f7e23
SDJ
46912018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
4692
4693 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
4694 message "No address associated with hostname" when gdbserver
4695 cannot resolve the hostname.
4696
5759ebb3
PW
46972018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4698
4699 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
4700 Add some test prefixes to make tests unique.
4701
3606ccab
PW
47022018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4703
4704 * gdb.base/frameapply.c: New file.
4705 * gdb.base/frameapply.exp: New file.
4706
529c08b2
PW
47072018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4708
4709 * gdb.base/skip.exp: Update expected error message.
4710
c7ab0aef
SDJ
47112018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
4712 Jan Kratochvil <jan.kratochvil@redhat.com>
4713 Paul Fertser <fercerpav@gmail.com>
4714 Tsutomu Seki <sekiriki@gmail.com>
4715
4716 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
4717 parameter.
4718 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
4719 by default.
4720 * boards/native-gdbserver.exp: Likewise.
4721 * gdb.server/run-without-local-binary.exp: Improve regexp used
4722 for detecting when a remote debugging connection succeeds.
4723 * gdb.server/server-connect.exp: New file.
4724 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
4725 Do not prefix the port number with ":".
4726 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
4727 support for detecting and using it. Add '$debughost_gdbserver'
4728 to the list of arguments used to start gdbserver. Handle case
4729 when gdbserver cannot resolve a network name.
4730
16ff70dd
SDJ
47312018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
4732
4733 PR c++/23373
4734 * gdb.base/ptype-offsets.cc (struct static_member): New
4735 struct.
4736 (main) <stmember>: New variable.
4737 * gdb.base/ptype-offsets.exp: Add test for printing a struct
4738 with a static member in it.
4739
3541979f
AB
47402018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
4741
4742 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
4743 watchpoints enabled and disabled.
4744
c8ad9b9a
AB
47452018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4746
4747 * gdb.base/examine-backward.exp: Still run tests around address
4748 0x0, even if address 0x0 is not readable. Update the pattern for
4749 matching address 0x0 in expected output.
4750
e0e5e971
AB
47512018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
4752
4753 * gdb.base/share-env-with-gdbserver.c (main): Add call to
4754 malloc/free.
4755
1ea5da02
TV
47562018-07-04 Tom de Vries <tdevries@suse.de>
4757
4758 * gdb.dwarf2/dw2-error.exp: Update expected error message.
4759
471b9d15
MR
47602018-07-02 Maciej W. Rozycki <macro@mips.com>
4761
4762 PR tdep/8282
4763 * gdb.arch/mips-disassembler-options.exp: New test.
4764 * gdb.arch/mips-disassembler-options.s: New test source.
4765
75acb486
PA
47662018-06-29 Pedro Alves <palves@redhat.com>
4767
4768 * gdb.threads/names.exp: Adjust expected "info threads" output.
4769
cd2bb709
PA
47702018-06-29 Pedro Alves <palves@redhat.com>
4771
4772 * gdb.opt/inline-break.exp (line number, address): Add "info
4773 break" tests.
4774
991ff292
PA
47752018-06-29 Pedro Alves <palves@redhat.com>
4776
4777 * gdb.opt/inline-break.c (func1): Add "break here" marker.
4778 * gdb.opt/inline-break.exp: Test setting breakpoints by line
4779 number and address and running to them.
4780
356819b6 47812018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
4782
4783 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
4784
2512d7ef
JK
47852018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4786
4787 * lib/compiler.c: Remove executable permission flag.
4788
be1b6474
RB
47892018-06-28 Richard Bunt <richard.bunt@arm.com>
4790
4791 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
4792 code.
4793 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
4794
291f9a96
PT
47952018-06-28 Petr Tesarik <ptesarik@suse.cz>
4796
4797 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
4798
ed6dfe51
PT
47992018-06-28 Petr Tesarik <ptesarik@suse.cz>
4800
4801 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
4802 address argument is omitted.
4803
d4d429d5
PT
48042018-06-28 Petr Tesarik <ptesarik@suse.cz>
4805
4806 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
4807
7ab6656f
OJ
48082018-06-27 Omair Javaid <omair.javaid@linaro.org>
4809
4810 PR gdb/21695
4811 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
4812 * gdb.base/infoline-reloc-main-from-zero.c: New file.
4813
a33ccfc7
TT
48142018-06-26 Tom Tromey <tom@tromey.com>
4815
4816 PR rust/22574:
4817 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
4818 * gdb.rust/simple.rs (struct SimpleLayout): New.
4819
6d72d289
SM
48202018-06-22 Simon Marchi <simon.marchi@ericsson.com>
4821
4822 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
4823 "info registers" output.
4824
8363f9d5
RB
48252018-06-21 Richard Bunt <richard.bunt@arm.com>
4826
4827 * gdb.base/watchpoint-hw-attach.c: New test.
4828 * gdb.base/watchpoint-hw-attach.exp: New file.
4829
f00674fe
SM
48302018-06-20 Simon Marchi <simon.marchi@ericsson.com>
4831
4832 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
4833 through /bin/sh.
4834 * boards/dwarf4-gdb-index.exp: Likewise.
4835 * boards/fission-dwp.exp: Likewise.
4836
1d554008
UW
48372018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
4838
4839 * gdb.base/float128.exp: Add comment and improved fail message
4840 to the failure case of "print large128" test.
4841
d0ac1c44
SM
48422018-06-19 Simon Marchi <simon.marchi@ericsson.com>
4843
4844 * configure.ac: Remove AC_PREREQ.
4845 * configure: Re-generate.
4846
61b04dd0
PA
48472018-06-19 Pedro Alves <palves@redhat.com>
4848
4849 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
4850 (func_extern_caller): New.
4851 (main): Call func_extern_caller.
4852 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
4853 logic change.
4854
f63b508a
SM
48552018-06-18 Weimin Pan <weimin.pan@oracle.com>
4856
4857 PR gdb/16841
4858 * gdb.cp/typedef-base.cc: New file.
4859 * gdb.cp/typedef-base.exp: New file.
4860
0fe3a558
TV
48612018-06-18 Tom de Vries <tdevries@suse.de>
4862
4863 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
4864
7010835a
AB
48652018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
4866 Richard Bunt <Richard.Bunt@arm.com>
4867
4868 * gdb.threads/attach-slow-waitpid.c: New file.
4869 * gdb.threads/attach-slow-waitpid.exp: New file.
4870 * gdb.threads/slow-waitpid.c: New file.
4871
14897d65
PA
48722018-06-14 Pedro Alves <palves@redhat.com>
4873
4874 * gdb.base/fork-running-state.c: Include <errno.h>.
4875 (exit_if_relative_exits): New.
4876 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
4877 exits.
4878 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
4879 child exits.
4880
5d9a0608
TV
48812018-06-14 Tom de Vries <tdevries@suse.de>
4882
4883 PR cli/22573
4884 * gdb.base/finish-pretty.c: New test.
4885 * gdb.base/finish-pretty.exp: New file.
4886
11ae5818
PA
48872018-06-14 Pedro Alves <palves@redhat.com>
4888
4889 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
4890 gdb's expected startup output.
4891
1d39de44
PA
48922018-06-14 Pedro Alves <palves@redhat.com>
4893
4894 * lib/selftest-support.exp (selftest_setup): Remove inlined
4895 function handling.
4896
70ee0000
TV
48972018-06-14 Tom de Vries <tdevries@suse.de>
4898
4899 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
4900 matching of breakpoint printing.
4901
11f4b608
TV
49022018-06-13 Tom de Vries <tdevries@suse.de>
4903
4904 PR testsuite/23269
4905 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
4906 (fork_child): ... here, and ...
4907 (fork_parent): ... here.
4908
49092018-06-12 Tom de Vries <tdevries@suse.de>
4910
4911 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
4912
9516f85a
AB
49132018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
4914 Stephen Roberts <stephen.roberts@arm.com>
4915
4916 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
4917 rewrite test to describe action performed, rather than possible
4918 failure.
4919
5045b3d7
GB
49202018-06-08 Gary Benson <gbenson@redhat.com>
4921
4922 * gdb.threads/check-libthread-db.exp: New file.
4923 * gdb.threads/check-libthread-db.c: Likewise.
4924
c61b06a1
TT
49252018-06-05 Tom Tromey <tom@tromey.com>
4926
4927 * gdb.base/default.exp: Update expected "show version" output.
4928
eb6af809
TT
49292018-06-05 Tom Tromey <tom@tromey.com>
4930
4931 PR cli/12326:
4932 * gdb.cp/static-print-quit.exp: Update.
4933 * lib/gdb.exp (pagination_prompt): Update.
4934 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
4935 * gdb.python/python.exp: Update.
4936
178d6a63
JB
49372018-06-04 Joel Brobecker <brobecker@adacore.com>
4938
4939 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
4940
8e817061
JB
49412018-06-01 Joel Brobecker <brobecker@adacore.com>
4942
4943 * gdb.ada/bp_fun_addr: New testcase.
4944
e86ca25f
TT
49452018-06-01 Tom Tromey <tom@tromey.com>
4946
4947 * gdb.xml/tdesc-regs.exp (load_description): Update expected
4948 results.
4949 * gdb.dwarf2/method-ptr.exp: Set language to C++.
4950 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
4951 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
4952 * gdb.base/maint.exp (maint_pass_if): Update.
4953
4b2dfa9d
MR
49542018-05-31 Maciej W. Rozycki <macro@mips.com>
4955
4956 * gdb.base/endian.exp: New test.
4957 * gdb.base/endian.c: New test source.
4958
45f25d6c
AB
49592018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
4960
4961 PR gdb/23203
4962 * gdb.base/bt-selected-frame.c: New file.
4963 * gdb.base/bt-selected-frame.exp: New file.
4964 * lib/gdb.exp (get_current_frame_number): New function.
4965
d9f6d7f8
MR
49662018-05-24 Maciej W. Rozycki <macro@mips.com>
4967 Pedro Alves <palves@redhat.com>
4968
4969 * gdb.threads/tls-core.c: Include <stdlib.h>
4970 (thread_proc): Call `abort'.
4971 * gdb.threads/tls-core.exp: Generate a core with core_find too.
4972 (tls_core_test): New procedure, bits factored out from ...
4973 (top level): ... here. Test both native cores and gcore cores.
4974
ff1cf532
TT
49752018-05-23 Tom Tromey <tom@tromey.com>
4976
4977 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
4978
b98664d3
TT
49792018-05-23 Tom Tromey <tom@tromey.com>
4980
4981 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
4982 symfile_complaints.
4983 (test_short_complaints): Likewise.
4984 (test_empty_complaints): Likewise.
4985 (test_initial_complaints): Update.
4986
4e9668d0
TT
49872018-05-23 Tom Tromey <tom@tromey.com>
4988
4989 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
4990
43ba33c7
TT
49912018-05-23 Tom Tromey <tom@tromey.com>
4992
4993 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
4994 (test_short_complaints): Update.
4995
035522c0
PA
49962018-05-22 Pedro Alves <palves@redhat.com>
4997
4998 * gdb.base/remote.exp: Only gdb_start after compiling the
4999 testcase. Issue "disconnect" before testing "set remote" command
5000 defaults. Issue clean_restart before running to main.
5001
cc0be08f
PA
50022018-05-22 Pedro Alves <palves@redhat.com>
5003
5004 * gdb.base/remote.exp: Adjust expected output of "show remote
5005 memory-write-packet-size". Add tests for "set remote
5006 memory-write-packet-size 0" and "set remote
5007 memory-write-packet-size fixed/limit".
5008
b1b60145
PA
50092018-05-22 Pedro Alves <palves@redhat.com>
5010
5011 PR gdb/22973
5012 * gdb.base/utf8-identifiers.c: New file.
5013 * gdb.base/utf8-identifiers.exp: New file.
5014
0ec848ad
PFC
50152018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
5016
5017 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
5018
2c3305f6
PFC
50192018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
5020
5021 * gdb.arch/powerpc-vsx-gcore.exp: New file.
5022
ce1e8424
TT
50232018-05-18 Tom Tromey <tom@tromey.com>
5024
5025 * gdb.base/ptype-offsets.exp: Update.
5026
ddfe970e
KS
50272018-05-17 Keith Seitz <keiths@redhat.com>
5028
5029 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
5030 in expected breakpoint stop locations.
5031 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
5032 move to proper scope to test variable values.
5033 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
5034 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
5035 New functions.
5036 (main): Call not_inline_func3.
5037 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
5038 inline_func1, inline_func2, and inline_func3. Test that when each
5039 breakpoint is hit, GDB properly reports both the stop location
5040 and the backtrace. Repeat tests for temporary breakpoints.
5041
0726fcc6
MR
50422018-05-15 Maciej W. Rozycki <macro@mips.com>
5043
5044 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
5045 rather then trying to access it in determining whether the PID
5046 of `gdbserver' could have been retrieved.
5047
8ee22052
AB
50482018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
5049
5050 * gdb.arch/amd64-init-x87-values.S: New file.
5051 * gdb.arch/amd64-init-x87-values.exp: New file.
5052
7785df48
JK
50532018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5054
5055 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
5056
56bcdbea
TT
50572018-05-04 Tom Tromey <tom@tromey.com>
5058
5059 PR python/22730:
5060 * gdb.python/python.exp: Test multi-line execute.
5061
a913fffb
TT
50622018-05-04 Tom Tromey <tom@tromey.com>
5063
5064 PR python/22731:
5065 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
5066
7a2c85f2
TT
50672018-05-04 Tom Tromey <tom@tromey.com>
5068
5069 PR gdb/11750:
5070 * gdb.base/define.exp: Test defining a user command inside a user
5071 command.
5072 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
5073
a3b60e45
JK
50742018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
5075 Pedro Alves <palves@redhat.com>
5076
5077 PR breakpoints/19806 and support for PR external/20207.
5078 * gdb.base/watchpoint-unaligned.c: New file.
5079 * gdb.base/watchpoint-unaligned.exp: New file.
5080
45fe4a03
AB
50812018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
5082
5083 * gdb.base/maint.exp: Make test names unique, use
5084 test_prefix_command_help to test 'help maint info', and remove
5085 repeated test of 'help maint'.
5086
9be2ae8f
TT
50872018-05-04 Tom Tromey <tom@tromey.com>
5088
5089 PR gdb/22619:
5090 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
5091 behavior.
5092
11859c31
AB
50932018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
5094
5095 * gdb.base/maint.exp: Process output from 'maint print registers'
5096 line at a time.
5097
089a9490
AB
50982018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
5099
5100 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
5101 timeout.
5102
9b0797e2
AB
51032018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
5104
5105 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
5106 filter pattern.
5107
f6ac5f3d
PA
51082018-05-02 Pedro Alves <palves@redhat.com>
5109
5110 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
5111 to_log_command renames.
5112 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
5113
77d3c63b
TT
51142018-05-02 Tom Tromey <tom@tromey.com>
5115
5116 * gdb.python/py-parameter.exp: Set test message.
5117
0489430a
TT
51182018-05-02 Tom Tromey <tom@tromey.com>
5119
5120 PR python/20084:
5121 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
5122 PARAM_ZUINTEGER_UNLIMITED tests.
5123
1632f8ba
DR
51242018-04-28 Dan Robertson <danlrobertson89@gmail.com>
5125
5126 PR rust/23124
5127 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
5128 when casting.
5129
6d7bb824
TT
51302018-04-30 Tom Tromey <tom@tromey.com>
5131
5132 * gdb.python/py-type.exp: Check align attribute.
5133 * gdb.python/py-type.c: New "aligncheck" global.
5134
007e1530
TT
51352018-04-30 Tom Tromey <tom@tromey.com>
5136
5137 PR exp/17095:
5138 * gdb.dwarf2/dw2-align.exp: New file.
5139 * gdb.cp/align.exp: New file.
5140 * gdb.base/align.exp: New file.
5141 * lib/gdb.exp (gdb_int128_helper): New proc.
5142 (has_int128_c, has_int128_cxx): New caching procs.
5143
6873858b
TT
51442018-04-27 Tom Tromey <tom@tromey.com>
5145
5146 PR rust/22545:
5147 * gdb.rust/simple.exp: Add inclusive range tests.
5148
79188d8d
PA
51492018-04-26 Pedro Alves <palves@redhat.com>
5150
5151 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
5152 ifunc breakpoint locations correctly of ifunc breakpoints set
5153 while the program resolves the ifunc.
5154
c7075ad5
PA
51552018-04-26 Pedro Alves <palves@redhat.com>
5156
5157 * gdb.base/gnu-ifunc-final.c: New file.
5158 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
5159 * gdb.base/gnu-ifunc.exp (executable): Delete.
5160 (staticexecutable): Adjust.
5161 (lib_opts, exec_opts): Delete.
5162 (make_binsuffix, build, set-break): New procedures.
5163 (misc_tests): New, with tests factored out from the top level.
5164 (top level): Test different combinations of ifunc resolver name,
5165 resolver with and with debug info, and ifunc target with and
5166 without debug info. Wrap static tests with with_target_prefix.
5167
8388016d
PA
51682018-04-26 Pedro Alves <palves@redhat.com>
5169
5170 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
5171 return type" warnings.
5172
249b5733
PA
51732018-04-25 Pedro Alves <palves@redhat.com>
5174
5175 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
5176 killed".
5177 * gdb.base/kill-after-signal.exp: Likewise.
5178 * gdb.threads/kill.exp: Likewise.
5179
f67c0c91
SDJ
51802018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5181 Sergio Durigan Junior <sergiodj@redhat.com>
5182 Pedro Alves <palves@redhat.com>
5183
5184 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
5185 regexps to expect for '[Inferior ... detached]' as well.
5186 * gdb.base/attach.exp: Likewise.
5187 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
5188 "gdb_continue_to_end".
5189 (test_catch_syscall_with_wrong_args): Likewise.
5190 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
5191 ']'. Don't set 'verbose' on.
5192 * gdb.base/foll-vfork.exp: Likewise.
5193 * gdb.base/fork-print-inferior-events.c: New file.
5194 * gdb.base/fork-print-inferior-events.exp: New file.
5195 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
5196 '[Inferior ... has been killed]' message.
5197 * gdb.base/kill-after-signal.exp: Likewise.
5198 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
5199 detach message.
5200 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
5201 message.
5202 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
5203 regexps to expect for '[Inferior ... detached]' as well.
5204 * gdb.threads/process-dies-while-detaching.exp: Likewise.
5205
0a8ddac4
SM
52062018-04-24 Simon Marchi <simon.marchi@ericsson.com>
5207
5208 PR gdb/23104
5209 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
5210
701adfb0
PA
52112018-04-22 Rajendra SY <rajendra.sy@gmail.com>
5212
5213 PR gdb/23095
5214 * gdb.base/break-probes.exp: Pass shlib_load to
5215 prepare_for_testing. Set normal_bp to r_debug_state if target is
5216 bsd.
5217
d27d16bf
RB
52182018-04-19 Richard Bunt <richard.bunt@arm.com>
5219
5220 * gdb.threads/multiple-successive-infcall.c: New test.
5221 * gdb.threads/multiple-successive-infcall.exp: New file.
5222
a037790e
TT
52232018-04-17 Tom Tromey <tom@tromey.com>
5224
5225 * gdb.rust/simple.rs (Union): New type.
5226 (main): New local "u".
5227 * gdb.rust/simple.exp (test_one_slice): Add new test case.
5228
e3a91079
AA
52292018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5230
5231 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
5232 number information in output of "whereis" command.
5233 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
5234
b744723f
AA
52352018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5236
5237 * gdb.ada/info_types.exp: Adjust expected output to the line
5238 numbers now printed by "info var/func/type".
5239 * gdb.base/completion.exp: Likewise.
5240 * gdb.base/included.exp: Likewise.
5241 * gdb.cp/cp-relocate.exp: Likewise.
5242 * gdb.cp/cplusfuncs.exp: Likewise.
5243 * gdb.cp/namespace.exp: Likewise.
5244 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
5245
4a4495d6
MM
52462018-04-13 Markus Metzger <markus.t.metzger@intel.com>
5247
5248 * gdb.btrace/cpu.exp: New.
5249
1d509aa6
MM
52502018-04-13 Markus Metzger <markus.t.metzger@intel.com>
5251
5252 * gdb.base/step-indirect-call-thunk.exp: New.
5253 * gdb.base/step-indirect-call-thunk.c: New.
5254 * gdb.reverse/step-indirect-call-thunk.exp: New.
5255 * gdb.reverse/step-indirect-call-thunk.c: New.
5256
6295b6da
SM
52572018-04-11 Simon Marchi <simon.marchi@ericsson.com>
5258
5259 * gdb.base/pie-fork.c: New file.
5260 * gdb.base/pie-fork.exp: New file.
5261
50146e70
TT
52622018-04-11 Tom Tromey <tom@tromey.com>
5263
5264 * gdb.rust/simple.exp: Add test for ".." struct initializer.
5265
f50d8a2e
PA
52662018-04-10 Pedro Alves <palves@redhat.com>
5267
5268 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
5269 exits. Instead loop running forever.
5270 (fork_parent): Run forever too.
5271
a0be7a36
SM
52722018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
5273
5274 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
5275 mi_continue_to_line.
5276 * gdb.mi/mi-stack.c (callee4): Add comment.
5277
9b73db36
SM
52782018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
5279
5280 * gdb.mi/mi-stack.exp: Fix indentation.
5281
c912f608
SM
52822018-04-07 Simon Marchi <simon.marchi@ericsson.com>
5283
5284 PR gdb/22979
5285 * gdb.arch/amd64-osabi.exp: New file.
5286
26540402
SM
52872018-04-07 Simon Marchi <simon.marchi@ericsson.com>
5288
5289 PR gdb/22980
5290 * gdb.base/osabi.exp: New file.
5291
121ad66c 52922018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
5293
5294 * gdb.cp/static-typedef-print.exp: New file.
5295 * gdb.cp/static-typedef-print.cc: New file.
5296
3fcded8f
JB
52972018-03-27 Joel Brobecker <brobecker@adacore.com>
5298
5299 * gdb.ada/varsize_limit: New testcase.
5300
59cc4834
JB
53012018-03-27 Joel Brobecker <brobecker@adacore.com>
5302
5303 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
5304
5305 * gdb.ada/notcplusplus: New testcase.
5306
5307 * gdb.base/c-linkage-name.c: New file.
5308 * gdb.base/c-linkage-name.exp: New testcase.
5309
4ca59a9f
TT
53102018-03-26 Tom Tromey <tom@tromey.com>
5311
5312 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
5313 * gdb.python/py-framefilter.py (name_error): New global.
5314 (ErrorInName.function): Use name_error.
5315
978d6c75
TT
53162018-03-26 Tom Tromey <tom@tromey.com>
5317
5318 PR backtrace/15582:
5319 * gdb.python/py-framefilter.exp: Add "bt hide" test.
5320
b7fee5a3
KS
53212018-03-23 Keith Seitz <keiths@redhat.com>
5322
5323 PR c++/22968
5324 * gdb.cp/subtypes.exp: New file.
5325 * gdb.cp/subtypes.h: New file.
5326 * gdb.cp/subtypes.cc: New file.
5327 * gdb.cp/subtypes-2.cc: New file.
5328
376be529
AB
53292018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
5330
5331 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
5332 (done): Call '_exit' not 'exit' to avoid atexit handlers.
5333 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
5334 -nostartfiles when compiling the test. Confirm that all registers
5335 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
5336
066cfa98
AB
53372018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
5338
5339 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
5340 option, syntax was wrong anyway.
5341 * gdb.arch/arm-disp-step.exp: Likewise.
5342 * gdb.arch/sparc64-regs.exp: Likewise.
5343 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
5344 option, syntax was wrong anyway, switch to use
5345 prepare_for_testing.
5346 * gdb.arch/i386-disp-step.exp: Likewise.
5347
079670b9
AA
53482018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
5349
5350 * gdb.ada/exec_changed.exp: Replace "target_info exists
5351 use_gdb_stub" by "use_gdb_stub".
5352 * gdb.ada/start.exp: Likewise.
5353 * gdb.base/async-shell.exp: Likewise.
5354 * gdb.base/attach-pie-misread.exp: Likewise.
5355 * gdb.base/attach-wait-input.exp: Likewise.
5356 * gdb.base/break-entry.exp: Likewise.
5357 * gdb.base/break-interp.exp: Likewise.
5358 * gdb.base/dprintf-detach.exp: Likewise.
5359 * gdb.base/nostdlib.exp: Likewise.
5360 * gdb.base/solib-nodir.exp: Likewise.
5361 * gdb.base/statistics.exp: Likewise.
5362 * gdb.base/testenv.exp: Likewise.
5363 * gdb.mi/mi-exec-run.exp: Likewise.
5364 * gdb.mi/mi-start.exp: Likewise.
5365 * gdb.multi/dummy-frame-restore.exp: Likewise.
5366 * gdb.multi/multi-arch-exec.exp: Likewise.
5367 * gdb.multi/multi-arch.exp: Likewise.
5368 * gdb.multi/tids.exp: Likewise.
5369 * gdb.multi/watchpoint-multi.exp: Likewise.
5370 * gdb.python/py-events.exp: Likewise.
5371 * gdb.threads/attach-into-signal.exp: Likewise.
5372 * gdb.threads/attach-stopped.exp: Likewise.
5373 * gdb.threads/threadapply.exp: Likewise.
5374 * lib/selftest-support.exp: Likewise.
5375
26d6cec4
AA
53762018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
5377
5378 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
5379
4ee89e90
SR
53802018-03-20 Stephen Roberts <stephen.roberts@arm.com>
5381
5382 * gdb.perf/template-breakpoints.cc: New file.
5383 * gdb.perf/template-breakpoints.exp: New file.
5384 * gdb.perf/template-breakpoints.py: New file.
5385
92630041
TT
53862018-03-19 Tom Tromey <tom@tromey.com>
5387
5388 * gdb.rust/simple.rs (main): Add local variables field1, field2,
5389 y0.
5390 * gdb.rust/simple.exp: Test bare identifier form of struct
5391 initializer.
5392
76727919
TT
53932018-03-19 Tom Tromey <tom@tromey.com>
5394
5395 * gdb.gdb/observer.exp: Remove.
5396
194ed413
AA
53972018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5398
5399 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
5400 "qualified" option when setting breakpoints.
5401 * gdb.trace/backtrace.exp: Likewise.
5402 * gdb.trace/circ.exp: Likewise.
5403 * gdb.trace/collection.exp: Likewise.
5404 * gdb.trace/disconnected-tracing.exp: Likewise.
5405 * gdb.trace/ftrace-lock.exp: Likewise.
5406 * gdb.trace/ftrace.exp: Likewise.
5407 * gdb.trace/infotrace.exp: Likewise.
5408 * gdb.trace/packetlen.exp: Likewise.
5409 * gdb.trace/passc-dyn.exp: Likewise.
5410 * gdb.trace/qtro.exp: Likewise.
5411 * gdb.trace/read-memory.exp: Likewise.
5412 * gdb.trace/report.exp: Likewise.
5413 * gdb.trace/signal.exp: Likewise.
5414 * gdb.trace/status-stop.exp: Likewise.
5415 * gdb.trace/strace.exp: Likewise.
5416 * gdb.trace/tfind.exp: Likewise.
5417 * gdb.trace/trace-break.exp: Likewise.
5418 * gdb.trace/trace-condition.exp: Likewise.
5419 * gdb.trace/trace-mt.exp: Likewise.
5420 * gdb.trace/tstatus.exp: Likewise.
5421 * gdb.trace/tsv.exp: Likewise.
5422 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
5423 * gdb.trace/unavailable.exp: Likewise.
5424 * gdb.trace/while-dyn.exp: Likewise.
5425
8b067d2c
AA
54262018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5427
5428 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
5429 that libinproctrace is copied to the target.
5430
3ae9ce5d
TT
54312018-03-14 Tom Tromey <tom@tromey.com>
5432
5433 PR cli/14977:
5434 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
5435 a null pointer.
5436 * gdb.base/wchar.exp: Likewise.
5437
b8c2339b
TT
54382018-03-14 Tom Tromey <tom@tromey.com>
5439
5440 PR cli/19918:
5441 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
5442 flag.
5443
4872dc46
SM
54442018-03-08 Simon Marchi <simon.marchi@ericsson.com>
5445
5446 PR gdb/22841
5447 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
5448 "target" to remote_exec.
5449
e4fe3756
SM
54502018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
5451
5452 PR gdb/22841
5453 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
5454 ${board}_upload): Remove.
5455
e95a97d4
AA
54562018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
5457
5458 * gdb.cp/watch-cp.cc: New test.
5459 * gdb.cp/watch-cp.exp: New file.
5460
dbbb1059
AB
54612018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5462
5463 * gdb.base/infcall-nested-structs.exp: New file.
5464 * gdb.base/infcall-nested-structs.c: New file.
5465 * gdb.base/float.exp: Add riscv support.
5466
ecc054c0
TP
54672018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
5468
5469 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
5470 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
5471
25e3c82c
SDJ
54722018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
5473
5474 * gdb.server/abspath.exp: New file.
5475 * lib/gdb.exp (with_cwd): New procedure.
5476
3083294d
SM
54772018-02-28 Simon Marchi <simon.marchi@ericsson.com>
5478
5479 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
5480 use it.
5481 (gdb_is_target_remote_prompt): New proc.
5482 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
5483 (gdb_is_target_native): Pass prompt parameter to
5484 gdb_is_target_1.
5485
3275ef47
SM
54862018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
5487
5488 * gdb.base/load-command.c: New file.
5489 * gdb.base/load-command.exp: New file.
5490 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
5491 (gdb_is_target_1): ...this, and generalize for other targets
5492 than just remote.
5493 (gdb_is_target_remote): Use gdb_is_target_1.
5494 (gdb_is_target_native): use gdb_is_target_1.
5495
6893c19a
TT
54962018-02-26 Tom Tromey <tom@tromey.com>
5497
5498 PR python/16497:
5499 * gdb.python/py-framefilter.exp: Update test.
5500
2ddeaf8a
TT
55012018-02-26 Tom Tromey <tom@tromey.com>
5502
5503 * gdb.dwarf2/variant.c: New file.
5504 * gdb.dwarf2/variant.exp: New file.
5505
c9317f21
TT
55062018-02-26 Tom Tromey <tom@tromey.com>
5507
5508 * gdb.rust/simple.exp: Accept more possible results in enum test.
5509
6f6d0c26
SM
55102018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
5511
5512 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
5513 parentheses.
5514
11b03145
MR
55152018-02-23 Maciej W. Rozycki <macro@mips.com>
5516
5517 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
5518 name of a variable: $actual_linejj -> $actual_line.
5519
54a27fe5
JB
55202018-02-21 John Baldwin <jhb@FreeBSD.org>
5521
5522 * gdb.arch/amd64-i386-address.exp: Fix a typo.
5523
de65820c
MM
55242018-02-20 Markus Metzger <markus.t.metzger@intel.com>
5525
5526 * gdb.btrace/buffer-size.exp: Do not force BTS.
5527
980548fd
PA
55282018-02-14 Pedro Alves <palves@redhat.com>
5529
5530 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
5531 getting a "Quit".
5532
c4e12631
MM
55332018-02-09 Markus Metzger <markus.t.metzger@intel.com>
5534
5535 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
5536 Fix test name.
5537
c2e0e465
SM
55382018-02-07 Simon Marchi <simon.marchi@ericsson.com>
5539
5540 * gdb.cp/m-static.exp: Check type of optimized out static
5541 member.
5542
f7216783
AB
55432018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
5544
5545 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
5546 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
5547
0625771b
LS
55482018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
5549 Leszek Swirski <leszeks@google.com>
5550
5551 * gdb.python/py-prettyprint.c
5552 (struct to_string_returns_value_inner,
5553 struct to_string_returns_value_wrapper): New.
5554 (main): Add tsrvw variable.
5555 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
5556 ToStringReturnsValueWrapper): New classes.
5557 (register_pretty_printers): Register new pretty-printers.
5558 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
5559 recursive pretty printer.
5560 * gdb.python/py-mi.exp: Likewise.
5561
59498c30
LS
55622018-02-01 Leszek Swirski <leszeks@google.com>
5563
5564 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
5565 functions with the same name as an include file are parsed
5566 correctly.
5567
d4d38844
YQ
55682018-02-01 Yao Qi <yao.qi@linaro.org>
5569
5570 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
5571 "\[^\r\n\]*".
5572
07e5f5cf
NP
55732018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
5574
5575 * gdb.arch/powerpc-prologue-frame.s: New file.
5576 * gdb.arch/powerpc-prologue-frame.c: Likewise.
5577 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
5578
929b5ad4
JB
55792018-01-31 Joel Brobecker <brobecker@adacore.com>
5580
5581 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
5582
e671cd59
PA
55832018-01-30 Pedro Alves <palves@redhat.com>
5584
5585 PR gdb/13211
5586 * gdb.base/interrupt-daemon.c: New.
5587 * gdb.base/interrupt-daemon.exp: New.
5588 * gdb.multi/multi-term-settings.c: New.
5589 * gdb.multi/multi-term-settings.exp: New.
5590
fc413dc4
JB
55912018-01-30 Joel Brobecker <brobecker@adacore.com>
5592
5593 * gdb.base/break.exp: Save the location where the breakpoint
5594 on break.c:47 was actually inserted when debugging the version
5595 compiled at -O2 and use it in the expected output of the "info
5596 break" test performed soon after.
5597
5c319bb2
PA
55982018-01-22 Pedro Alves <palves@redhat.com>
5599 Sergio Durigan Junior <sergiodj@redhat.com>
5600
5601 * gdb.base/whatis.exp: Add tests for 'set print object on' +
5602 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
5603
a9e40818
JB
56042018-01-22 Joel Brobecker <brobecker@adacore.com>
5605
5606 * gdb.base/break-include.c, gdb.base/break-include.inc,
5607 gdb.base/break-include.exp: New files.
5608 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
5609 line number now being the actual line number where the breakpoint
5610 was inserted.
5611 * gdb.mi/mi-break.exp: Likewise.
5612 * gdb.mi/mi-reverse.exp: Likewise.
5613 * gdb.mi/mi-simplerun.exp: Ditto.
5614
e707fc44
AB
56152018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
5616
5617 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
5618 varobj.
5619 * gdb.mi/mi-var-create-rtti.exp: Likewise.
5620
ae451627
AB
56212018-01-21 Don Breazeal <donb@codesourcery.com>
5622 Andrew Burgess <andrew.burgess@embecosm.com>
5623
5624 * gdb.mi/basics.c: Add new global.
5625 * gdb.mi/mi-frame-regs.exp: New file.
5626 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
5627 case.
5628
b1b189e0
AB
56292018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
5630
5631 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
5632 non-parameter, and on an unknown symbol.
5633
fcfcc376
TT
56342018-01-19 Tom Tromey <tom@tromey.com>
5635
5636 * gdb.rust/modules.rs (TWENTY_THREE): New global.
5637 * gdb.rust/modules.exp: Add ::-qualified lookup test.
5638
634c1c31
AA
56392018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5640
5641 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
5642 setrlimit and chdir to int.
5643
d6ad07fd
AA
56442018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5645
5646 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
5647 function.
5648 (my_tend): Likewise.
5649 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
5650 rationale of avoiding FP- and vector instructions.
5651
adf8243b
RK
56522018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
5653
5654 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
5655 "info reg" with "\[ \t\]*".
5656 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
5657 "\[ \t\]+".
5658 * gdb.arch/s390-multiarch.exp: Ditto.
5659 * gdb.base/pc-fp.exp: Ditto.
5660 * gdb.reverse/i386-precsave.exp: Ditto.
5661 * gdb.reverse/i386-reverse.exp: Ditto.
5662 * gdb.reverse/i387-env-reverse.exp: Ditto.
5663 * gdb.reverse/i387-stack-reverse.exp: Ditto.
5664
dcc06925
AA
56652018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
5666
5667 * lib/gdb.exp (gdb_compile): Re-enable use of
5668 universal_compile_options for languages other than Rust.
5669
25d4fd80
AA
56702018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
5671
5672 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
5673
ee7f689e 56742018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
5675
5676 PR gdb/16577
5677 * gdb.base/solib-vanish.exp: New.
5678 * gdb.base/solib-vanish-main.c: New.
5679 * gdb.base/solib-vanish-lib1.c: New.
5680 * gdb.base/solib-vanish-lib2.c: New.
5681
d8447b6b
YQ
56822018-01-17 Yao Qi <yao.qi@linaro.org>
5683
5684 * gdb.compile/compile.exp: Match the address printed for
5685 frame in the output of command "bt".
5686
86d6a90c
TT
56872018-01-15 Tom Tromey <tom@tromey.com>
5688
5689 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
5690 compute sp_reg.
5691
cbcdb1aa
AB
56922018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
5693
5694 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
5695 to prepare.
5696 (prepare): Return 0 on error, 1 on success.
5697
eea61984
PA
56982018-01-12 Pedro Alves <palves@redhat.com>
5699
5700 * gdb.base/continue-after-aborted-step-over.c: New.
5701 * gdb.base/continue-after-aborted-step-over.exp: New.
5702
6181e9c2
SM
57032018-01-11 Simon Marchi <simon.marchi@ericsson.com>
5704
5705 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
5706 options when not creating an executable.
5707
3cada740
PA
57082018-01-11 Pedro Alves <palves@redhat.com>
5709
5710 PR remote/22597
5711 * gdb.server/stop-reply-no-thread.c: New file.
5712 * gdb.server/stop-reply-no-thread.exp: New file.
5713
c63d3e8d
PA
57142018-01-10 Pedro Alves <palves@redhat.com>
5715
5716 PR gdb/22670
5717 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
5718 functions too. Test setting breakpoints and printing C functions
5719 with no debug info too.
5720 * gdb.ada/bp_c_mixed_case/qux.c: New file.
5721
d4c2a405
PA
57222018-01-10 Pedro Alves <palves@redhat.com>
5723
5724 PR gdb/22670
5725 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
5726 a fail.
5727
8825213e
PA
57282018-01-10 Pedro Alves <palves@redhat.com>
5729
5730 PR gdb/22670
5731 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
5732
605fd3c6
YQ
57332018-01-08 Simon Marchi <simon.marchi@ericsson.com>
5734
5735 * gdb.server/unittest.exp: Match the output in non-development
5736 mode.
5737
1e5ded6c
YQ
57382018-01-08 Simon Marchi <simon.marchi@ericsson.com>
5739
5740 * gdb.gdb/unittest.exp: Match output in non-development mode.
5741
30066b0b
JB
57422018-01-08 Joel Brobecker <brobecker@adacore.com>
5743
5744 * gdb.ada/access_tagged_param.exp: Relax expected output
5745 for value of "ObjL" in "continue" to pck.inspect breakpoint
5746 test.
5747
04bafb1e
XR
57482018-01-08 Joel Brobecker <brobecker@adacore.com>
5749
9f86398b
JB
5750 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
5751 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 5752
e379cee6
PA
57532018-01-05 Pedro Alves <palves@redhat.com>
5754
5755 PR gdb/18653
5756 * gdb.base/libsegfault.exp: New.
5757
de63c46b
PA
57582018-01-05 Joel Brobecker <brobecker@adacore.com>
5759
5760 PR gdb/22670
5761 * gdb.ada/access_tagged_param.exp: New file.
5762 * gdb.ada/access_tagged_param/foo.adb: New file.
5763
f98fc17b
PA
57642018-01-05 Pedro Alves <palves@redhat.com>
5765
5766 PR gdb/22670
5767 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
5768 exercise lower case too, and to exercise both full matching and
5769 wild matching.
5770
342f8240
JB
57712018-01-05 Joel Brobecker <brobecker@adacore.com>
5772
5773 * gdb.ada/rename_subscript_param: New testcase.
5774
7150d33c
JG
57752018-01-05 Jerome Guitton <guitton@adacore.com>
5776
5777 * gdb.ada/arr_acc_idx_w_gap: New testcase.
5778
cc0e770c
JB
57792018-01-05 Joel Brobecker <brobecker@adacore.com>
5780
5781 * gdb.ada/convvar_comp: New testcase.
5782
672a41aa 57832018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
5784
5785 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
5786 (My_Table): New global variable.
5787 * testsuite/gdb.ada/array_char_idx.exp: Add test.
5788
7365ec2f
JB
57892018-01-04 Joel Brobecker <brobecker@adacore.com>
5790
5791 PR gdb/22670
5792 * gdb.ada/maint_with_ada: New testcase.
5793
289483b6
JB
57942018-01-04 Joel Brobecker <brobecker@adacore.com>
5795
5796 PR gdb/22670
5797 * gdb.ada/bp_c_mixed_case: New testcase.
5798
344420da
JB
57992018-01-04 Joel Brobecker <brobecker@adacore.com>
5800
5801 PR gdb/22670
5802 * gdb.ada/complete.exp: Add "complete break ada" test.
5803
66fc87a0
JB
58042018-01-04 Joel Brobecker <brobecker@adacore.com>
5805
5806 PR gdb/22670
5807 * gdb.ada/info_addr_mixed_case: New testcase.
5808
9f757bf7
XR
58092018-01-03 Xavier Roirand <roirand@adacore.com>
5810
5811 * gdb.ada/excep_handle.exp: New testcase.
5812 * gdb.ada/excep_handle/foo.adb: New file.
5813 * gdb.ada/excep_handle/pck.ads: New file.
5814
bd570f80
JB
58152018-01-03 Joel Brobecker <brobecker@adacore.com>
5816
5817 * gdb.base/step-line.c: Add extra empty line in copyright header.
5818 * gdb.base/step-line.inp: Likewise.
5819
9fe561ab
JB
58202018-01-02 Joel Brobecker <brobecker@adacore.com>
5821
5822 * gdb.ada/dyn_stride.exp: Add slice test.
5823
a405673c
JB
58242018-01-02 Joel Brobecker <brobecker@adacore.com>
5825
5826 * gdb.ada/dyn_stride: New testcase.
5827
cef0f868
SH
58282017-12-27 Stafford Horne <shorne@gmail.com>
5829
5830 * gdb.xml/extra-regs.xml: Add example foo reggroup.
5831 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
5832
b67d92b0
SH
58332017-12-27 Stafford Horne <shorne@gmail.com>
5834
5835 * gdb.base/reggroups.c: New file.
5836 * gdb.base/reggroups.exp: New file.
5837
eccab96d
JB
58382017-12-18 Joel Brobecker <brobecker@adacore.com>
5839
5840 * gdb.dwarf2/ada-valprint-error.c: New file.
5841 * gdb.dwarf2/ada-valprint-error.exp: New file.
5842
0e2da9f0
JB
58432017-12-18 Joel Brobecker <brobecker@adacore.com>
5844
5845 * gdb.ada/assign_arr: New testcase.
5846
cb923fcc
XR
58472017-12-18 Xavier Roirand <roirand@adacore.com>
5848
5849 * gdb.ada/funcall_ptr: New testcase.
5850
7c161838
SDJ
58512017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5852
5853 PR cli/16224
5854 * gdb.base/ptype-offsets.cc: New file.
5855 * gdb.base/ptype-offsets.exp: New file.
5856
1af17fd9
YQ
58572017-12-15 Yao Qi <yao.qi@linaro.org>
5858
5859 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
5860 if XML is disabled.
5861
828d5846
XR
58622017-12-15 Xavier Roirand <roirand@adacore.com>
5863
5864 * gdb.ada/same_component_name: New testcase.
5865
79e8fcaa
JB
58662017-12-14 Joel Brobecker <brobecker@adacore.com>
5867
5868 * gdb.ada/str_binop_equal: New testcase.
5869
e05fa6f9
JB
58702017-12-14 Joel Brobecker <brobecker@adacore.com>
5871
5872 * gdb.ada/task_switch_in_core: New testcase.
5873
b89641ba
SM
58742017-12-13 Simon Marchi <simon.marchi@ericsson.com>
5875
5876 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
5877 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
5878 call test_bkpt_qualified.
5879 (test_bkpt_qualified): New proc.
5880
6892d2e4
PA
58812017-12-13 Pedro Alves <palves@redhat.com>
5882
5883 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
5884 Tighten regexp by matching with an anchor.
5885
a22ecf70
PA
58862017-12-13 Pedro Alves <palves@redhat.com>
5887
5888 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
5889 ("expression with namespace"): New set of tests.
5890 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
5891 (Nested::Test_NS::qux): New.
5892 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
5893 defaults to 'start_quote_char' and 'end_quote_char' parameters.
5894
9937536c
JB
58952017-12-13 Joel Brobecker <brobecker@adacore.com>
5896
5897 * gdb.base/server-del-break.c: New file.
5898 * gdb.base/server-del-break.exp: New file.
5899
fe49c6f5
SH
59002017-12-12 Stafford Horne <shorne@gmail.com>
5901
5902 * gdb.xml/tdesc-regs.exp: Add or1k support.
5903
c3d18620
SH
59042017-12-12 Stafford Horne <shorne@gmail.com>
5905
5906 * gdb.base/bp-permanent.c: Define nop of or1k.
5907
c5f9cfc8
JB
59082017-12-11 Joel Brobecker <brobecker@adacore.com>
5909
5910 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
5911 output with components being reordered.
5912
a9c135fc
JB
59132017-12-11 Joel Brobecker <brobecker@adacore.com>
5914
5915 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
5916 output with components being reordered.
5917
927aa2e7
JK
59182017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5919 Pedro Alves <palves@redhat.com>
5920
5921 * gdb.base/maint.exp (check for .gdb_index): Check also for
5922 .debug_names.
5923 * gdb.dlang/watch-loc.c (.debug_aranges): New.
5924 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
5925 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
5926 (.gdb_index used after symbol reloading): Support also .debug_names.
5927 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
5928
f17d9474
YQ
59292017-12-08 Yao Qi <yao.qi@linaro.org>
5930
5931 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
5932 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
5933
a0de8c21
YQ
59342017-12-08 Yao Qi <yao.qi@linaro.org>
5935
5936 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
5937 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
5938
a738ea1d
YQ
59392017-12-08 Yao Qi <yao.qi@linaro.org>
5940
5941 * gdb.arch/aarch64-tagged-pointer.c: New file.
5942 * gdb.arch/aarch64-tagged-pointer.exp: New file.
5943
1cd9a73b
SDJ
59442017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
5945
5946 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
5947 "int".
5948
fa6eb693
KS
59492017-12-07 Keith Seitz <keiths@redhat.com>
5950
5951 PR breakpoints/22569
5952 * gdb.linespec/ls-errs.exp: Change expected result of "break
5953 -source this file has spaces.c -line 3".
5954 Check that an explicit source file followed by whitespace is
5955 identified as an invalid explicit location.
5956
883fd55a
KS
59572017-12-07 Keith Seitz <keiths@redhat.com>
5958
5959 * gdb.cp/nested-types.cc: New file.
5960 * gdb.cp/nested-types.exp: New file.
5961 * lib/cp-support.exp: Load data-structures.exp library.
5962 (debug_cp_test_ptype_class): New global.
5963 (cp_ptype_class_verbose, next_line): New procedures.
5964 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
5965 Add and document new return value.
5966 Switch the list of lines to a queue.
5967 Add support for new `type' key for nested type definitions.
5968 Add debugging/troubleshooting messages.
5969 * lib/data-structures.exp: New file.
5970
ec72db3e
SM
59712017-12-07 Simon Marchi <simon.marchi@ericsson.com>
5972
5973 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
5974 with proc_with_prefix, don't use with_test_prefix.
5975
99598d71
TT
59762017-12-07 Tom Tromey <tom@tromey.com>
5977
5978 * gdb.base/break.exp: Add test for empty "commands".
5979
a8806230
YQ
59802017-12-07 Yao Qi <yao.qi@linaro.org>
5981
5982 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
5983 malloc and catch syscall.
5984
824cc835
PM
59852017-12-07 Phil Muldoon <pmuldoon@redhat.com>
5986
e79be6e5 5987 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
5988 tests for explicit locations.
5989
7cc244de
PA
59902017-12-06 Pedro Alves <palves@redhat.com>
5991
5992 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
5993 force-disabling XML descriptions.
5994
50a1fdd5
PA
59952017-12-04 Pedro Alves <palves@redhat.com>
5996
5997 PR gdb/22499
5998 * gdb.arch/amd64-disp-step-avx.S: New file.
5999 * gdb.arch/amd64-disp-step-avx.exp: New file.
6000
f0fb2488
PA
60012017-12-03 Pedro Alves <palves@redhat.com>
6002
6003 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
6004 and <string.h>.
6005 (parent_function): Print distinct messages when waitpid fails, or
6006 the child exits with a signal, or the child exits for an unhandled
6007 reason.
6008 * gdb.threads/process-dies-while-detaching.exp
6009 (detach_and_expect_exit): New 'inf_output_re' parameter and use
6010 it. Wait for both inferior output and GDB's prompt. Use an
6011 indirect spawn id list.
6012 (do_detach): New parameter 'child_exit'. Use it to compute
6013 expected inferior output.
6014 (test_detach, test_detach_watch, test_detach_killed_outside):
6015 Adjust to pass down the expected child exit kind.
6016
97cbe998
SDJ
60172017-12-01 Joel Brobecker <brobecker@adacore.com>
6018 Sergio Durigan Junior <sergiodj@redhat.com>
6019 Pedro Alves <palves@redhat.com>
6020
6021 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
6022
40fc416f
SDJ
60232017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
6024
6025 * gdb.base/relocate.exp: Add tests to guarantee that arguments
6026 to 'symbol-file' and 'add-symbol-file' can be
6027 position-independent.
6028
1cc75e92
YQ
60292017-12-01 Yao Qi <yao.qi@linaro.org>
6030
6031 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
6032 the URL in copyright header.
6033 * gdb.arch/aarch64-fp.exp: Likewise.
6034 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
6035 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
6036 * gdb.base/expand-psymtabs.exp: Likewise.
6037 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
6038 * gdb.fortran/common-block.exp: Likewise.
6039 * gdb.fortran/common-block.f90: Likewise.
6040 * gdb.fortran/logical.exp: Likewise.
6041 * gdb.fortran/vla-datatypes.f90: Likewise.
6042 * gdb.fortran/vla-sub.f90: Likewise.
6043
875fb7a7
JB
60442017-11-30 Joel Brobecker <brobecker@adacore.com>
6045
6046 * gdb.ada/repeat_dyn: New testcase.
6047
6f14765f
UW
60482017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
6049
6050 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
6051 Update for changed thread numbering.
6052 * gdb.cell/bt.exp: Update for changed GDB output.
6053
f1af7b94
SM
60542017-11-30 Simon Marchi <simon.marchi@ericsson.com>
6055
6056 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
6057 setting isremote by hand.
6058 * boards/dwarf4-gdb-index.exp: Likewise.
6059 * boards/fission.exp: Likewise.
6060 * boards/stabs.exp: Likewise.
6061
e3919f3e
PA
60622017-11-30 Pedro Alves <palves@redhat.com>
6063
6064 * gdb.linespec/cpls-ops.exp
6065 (check_explicit_skips_function_argument): Extract the underlying
6066 type of size_t instead of hardcoding it.
6067
bd69330d
PA
60682017-11-29 Pedro Alves <palves@redhat.com>
6069
6070 PR c++/19436
6071 * gdb.linespec/cpls-abi-tag.cc: New file.
6072 * gdb.linespec/cpls-abi-tag.exp: New file.
6073
a20714ff
PA
60742017-11-29 Pedro Alves <palves@redhat.com>
6075
6076 * gdb.base/langs.exp: Use -qualified.
6077 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
6078 it.
6079 * gdb.cp/namespace.exp: Use -qualified.
6080 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
6081 (overload-3, template-overload, template-ret-type, const-overload)
6082 (const-overload-quoted, anon-ns, ambiguous-prefix): New
6083 procedures.
6084 (test_driver): Call them.
6085 * gdb.cp/save-bp-qualified.cc: New.
6086 * gdb.cp/save-bp-qualified.exp: New.
6087 * gdb.linespec/explicit.exp: Test -qualified.
6088 * lib/completion-support.exp (completion::explicit_opts_list): Add
6089 "-qualified".
6090 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
6091
f6f1d339
PM
60922017-11-29 Phil Muldoon <pmuldoon@redhat.com>
6093
6094 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
6095
02ca603a
TT
60962017-11-29 Tom Tromey <tom@tromey.com>
6097
6098 * gdb.base/relocate.exp: Update invalid argument test.
6099 Add new tests for invalid arguments.
6100
ed6c0bfb
TP
61012017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
6102
6103 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
6104 Return 0 as a long.
6105 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
6106
f106e10e
TP
61072017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
6108
6109 * gdb.cp/breakpoint.cc (bar): Set return type to void.
6110 * gdb.cp/psymtab-parameter.cc (func): Likewise.
6111 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
6112 func ().
6113 * gdb.cp/shadow.cc (B.func): Return 0.
6114
10329bb2
JB
61152017-11-27 Joel Brobecker <brobecker@adacore.com>
6116
6117 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
6118 expected output in gdb_expect call to allow the exception
6119 message to be present as well. Fix syntax confusion to avoid
6120 TCL thinking that exception_name is an array.
6121
617cd4bc
UW
61222017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
6123
6124 * gdb.arch/spu-info.c: Include <unistd.h>.
6125 (do_signal_test): Fix broken calls to write.
6126 * gdb.arch/spu-info.exp: Use prepare_for_testing.
6127 Fix checks for empty mailboxes. Update signal tests for corrected
6128 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
6129 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
6130 * gdb.cell/arch.exp: Use standard_output_file.
6131 * gdb.cell/break.exp: Likewise.
6132 * gdb.cell/bt.exp: Likewise.
6133 * gdb.cell/core.exp: Likewise.
6134 * gdb.cell/dwarfaddr.exp: Likewise.
6135 * gdb.cell/ea-cache.exp: Likewise.
6136 * gdb.cell/ea-standalone.exp: Likewise.
6137 * gdb.cell/f-regs.exp: Likewise.
6138 * gdb.cell/fork.exp: Likewise.
6139 * gdb.cell/gcore.exp: Likewise.
6140 * gdb.cell/mem-access.exp: Likewise.
6141 * gdb.cell/ptype.exp: Likewise.
6142 * gdb.cell/registers.exp: Likewise.
6143 * gdb.cell/sizeof.exp: Likewise.
6144 * gdb.cell/solib-symbol.exp: Likewise.
6145 * gdb.cell/solib.exp: Likewise.
617cd4bc 6146
a81aaca0
PA
61472017-11-25 Pedro Alves <palves@redhat.com>
6148
6149 * gdb.base/complete-empty.exp: New file.
6150 * gdb.base/completion.exp: Adjust.
6151
6a3c6ee4
PA
61522017-11-25 Pedro Alves <palves@redhat.com>
6153
6154 * gdb.linespec/cpls-ops.cc: New file.
6155 * gdb.linespec/cpls-ops.exp: New file.
6156 * lib/completion-support.exp (test_complete_prefix_range_re): New,
6157 factored out from ...
6158 (test_complete_prefix_range): ... this.
6159
8955eb2d
PA
61602017-11-24 Pedro Alves <palves@redhat.com>
6161
6162 * gdb.linespec/cpcompletion.exp: New file.
6163 * gdb.linespec/cpls-hyphen.cc: New file.
6164 * gdb.linespec/cpls.cc: New file.
6165 * gdb.linespec/cpls2.cc: New file.
6166 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
6167 test to use test_gdb_complete_unique. Add label completion,
6168 keyword completion and explicit location completion tests.
6169 * lib/completion-support.exp: New file.
6170
e547c119
JB
61712017-11-24 Joel Brobecker <brobecker@adacore.com>
6172
6173 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
6174 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
6175 when hitting an exception catchpoint.
6176
7c3c1aa8
YQ
61772017-11-22 Yao Qi <yao.qi@linaro.org>
6178
6179 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
6180
41bd68f5
SM
61812017-11-22 Simon Marchi <simon.marchi@ericsson.com>
6182
6183 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
6184 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
6185 * gdb.dwarf2/info-locals-optimized-out.c: New file.
6186
1daad298
YQ
61872017-11-22 Yao Qi <yao.qi@linaro.org>
6188
6189 * gdb.base/info-os.exp: Pass pthreads.
6190 * gdb.multi/multi-attach.exp: Likewise.
6191
88465e87
YQ
61922017-11-22 Yao Qi <yao.qi@linaro.org>
6193
6194 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
6195 compiler.
6196
dc196b23
YQ
61972017-11-22 Yao Qi <yao.qi@linaro.org>
6198
6199 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
6200 * gdb.base/break-interp.exp: Likewise.
6201 * gdb.base/jit-attach-pie.exp: Likewise.
6202
2400729e
UW
62032017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
6204
6205 * gdb.base/float128.c (large128): New variable.
6206 * gdb.base/float128.exp: Add test to print largest __float128 value.
6207
7a26362d
UW
62082017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
6209
6210 * gdb.arch/vsx-regs.exp: Update register content checks.
6211
ed0f4273
UW
62122017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
6213
6214 * gdb.arch/ppc-longdouble.exp: New file.
6215 * gdb.arch/ppc-longdouble.c: Likewise.
6216
a25d69c6
PA
62172017-11-21 Pedro Alves <palves@redhat.com>
6218
6219 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
6220
73fcf641
PA
62212017-11-20 Pedro Alves <palves@redhat.com>
6222
6223 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
6224 (long_double_typedef): New typedefs.
6225 Use DEF on double and long double.
6226 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
6227 cases.
6228 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
6229 and 'long_double_ptr_same_size' locals. Use them to decide
6230 whether cast from array/function to float is valid/invalid.
6231
71a3c369
TT
62322017-11-17 Tom Tromey <tom@tromey.com>
6233
6234 * gdb.rust/traits.rs: New file.
6235 * gdb.rust/traits.exp: New file.
6236
ced9779b
JB
62372017-11-17 Joel Brobecker <brobecker@adacore.com>
6238
6239 * gdb.ada/minsyms: New testcase.
6240
a0922d80
PA
62412017-11-16 Pedro Alves <palves@redhat.com>
6242
6243 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
6244 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
6245
ea04e54c
PA
62462017-11-16 Pedro Alves <palves@redhat.com>
6247
6248 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
6249 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
6250
e849ea89
PA
62512017-11-16 Pedro Alves <palves@redhat.com>
6252
6253 * gdb.server/reconnect-ctrl-c.c: New file.
6254 * gdb.server/reconnect-ctrl-c.exp: New file.
6255
d8ae99a7
PM
62562017-11-16 Phil Muldoon <pmuldoon@redhat.com>
6257
6258 * gdb.python/py-rbreak.exp: New file.
6259 * gdb.python/py-rbreak.c: New file.
6260 * gdb.python/py-rbreak-func2.c: New file.
6261
968a13f8
PA
62622017-11-16 Pedro Alves <palves@redhat.com>
6263
6264 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
6265 pattern.
6266 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
6267 GDB.
6268
71774bc9
SM
62692017-11-15 Simon Marchi <simon.marchi@ericsson.com>
6270
6271 * gdb.tui/completionn.exp (test_tab_completion): Add space in
6272 regex.
6273
ddbb44cf
SM
62742017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
6275
6276 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
6277 test names.
6278
584a564f
PA
62792017-11-09 Pedro Alves <palves@redhat.com>
6280
6281 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
6282 factored out from ...
6283 (top level): ... here, and adjusted to avoid expecting beyond the
6284 prompt in a single gdb_test_multiple.
6285
5ed7a928
PA
62862017-11-09 Pedro Alves <palves@redhat.com>
6287
6288 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
6289 output.
6290 * gdb.server/ext-attach.exp ("kill" test): Likewise.
6291 * gdb.server/ext-restart.exp ("kill" test): Likewise.
6292 * gdb.server/ext-run.exp ("kill" test): Likewise.
6293 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
6294
a60e0738
PA
62952017-11-09 Pedro Alves <palves@redhat.com>
6296
6297 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
6298 match till end of line.
6299
2c88253f
PA
63002017-11-09 Pedro Alves <palves@redhat.com>
6301
6302 * gdb.base/memattr.exp: Tighten regexes to match the end line.
6303
c7a38517
PA
63042017-11-09 Pedro Alves <palves@redhat.com>
6305
6306 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
6307 New procedures, factored out from ...
6308 (top level): ... here, and adjusted to avoid expecting beyond the
6309 prompt in one go.
6310
f29f4b6b
PA
63112017-11-09 Pedro Alves <palves@redhat.com>
6312
6313 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
6314 output. Fix '?' match.
6315
286acbb5
JB
63162017-11-08 Joel Brobecker <brobecker@adacore.com>
6317
6318 * gdb.ada/scoped_watch: New testcase.
6319 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
6320 which is actually correct.
6321 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
6322 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
6323
62d7ae92
PA
63242017-11-08 Pedro Alves <palves@redhat.com>
6325
6326 * gdb.gdb/complaints.exp (test_initial_complaints)
6327 (test_serial_complaints, test_short_complaints): Call
6328 complaint_internal instead of complaint.
6329
280ca31f
DT
63302017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
6331
6332 * gdb.threads/tls-core.c: New file.
6333 * gdb.threads/tls-core.exp: Likewise.
6334
b5ec771e
PA
63352017-11-08 Pedro Alves <palves@redhat.com>
6336
6337 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
6338 (p Exported_Capitalized): New test.
6339 (p exported_capitalized): New test.
6340
a02b41a7
PA
63412017-11-07 Pedro Alves <palves@redhat.com>
6342
6343 * gdb.cp/ena-dis-br-range.exp: Add more tests.
6344
95e95a6d
PA
63452017-11-07 Pedro Alves <palves@redhat.com>
6346
6347 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
6348 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
6349 (disable_invalid, disable_inverted, disable_negative): New
6350 procedures.
6351 ("bad numbers"): New set of tests.
6352
cee62dbd
PA
63532017-11-07 Pedro Alves <palves@redhat.com>
6354
6355 * gdb.cp/ena-dis-br-range.exp: Add tests.
6356
cc638e86
PA
63572017-11-07 Pedro Alves <palves@redhat.com>
6358
6359 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
6360
d0fe4701
XR
63612017-11-07 Xavier Roirand <roirand@adacore.com>
6362 Pedro Alves <palves@redhat.com>
6363
6364 * gdb.base/ena-dis-br.exp: Add reference to
6365 gdb.cp/ena-dis-br-range.exp.
6366 * gdb.cp/ena-dis-br-range.exp: New file.
6367 * gdb.cp/ena-dis-br-range.cc: New file.
6368
46f67f80
PA
63692017-11-06 Pedro Alves <palves@redhat.com>
6370
6371 * gdb.base/attach-non-pgrp-leader.c: New.
6372 * gdb.base/attach-non-pgrp-leader.exp: New.
6373
726e1356
PA
63742017-11-06 Pedro Alves <palves@redhat.com>
6375
6376 * configure.ac: No longer check for termio.h and sgtty.h.
6377 * configure: Regenerate.
6378 * remote-utils.c: Include termios.h instead of gdb_termios.h.
6379 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
6380 Remove termio and sgtty code.
6381
50ab6ace
YQ
63822017-11-03 Yao Qi <yao.qi@linaro.org>
6383
6384 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
6385 in GDB is disabled.
6386
8e68731c
YQ
63872017-11-03 Yao Qi <yao.qi@linaro.org>
6388
6389 * gdb.python/py-thrhandle.exp: Skip it if python is not
6390 enabled.
6391
3a87ae65
SM
63922017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
6393
6394 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
6395 as a breakpoint command.
6396
484d8d36
MD
63972017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
6398
6399 PR python/21213
6400 * gdb.python/py-infthread.exp: Test calling
6401 InferiorThread.inferior () multiple times in a row.
6402
4a27f119
KS
64032017-10-27 Keith Seitz <keiths@redhat.com>
6404
6405 * gdb.opt/inline-break.exp (break_info_1): New procedure.
6406 Test "info break" for every inlined function breakpoint.
6407
bb11dd58
YQ
64082017-10-27 Yao Qi <yao.qi@linaro.org>
6409
6410 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
6411
a43f3893
PF
64122017-10-26 Patrick Frants <osscontribute@gmail.com>
6413
6414 * gdb.cp/classes.exp (test_static_members): Test printing
6415 Outer::instance.
6416 * gdb.cp/classes.c (struct Inner, struct Outer): New.
6417 (Inner::instance, Outer::instance): New.
6418
792ccf00
PA
64192017-10-24 Pedro Alves <palves@redhat.com>
6420
6421 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
6422 extra console" test in two stages.
6423
eb2bfbad
PA
64242017-10-24 Pedro Alves <palves@redhat.com>
6425
6426 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
6427
1f75a651
PA
64282017-10-24 Pedro Alves <palves@redhat.com>
6429
6430 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
6431 loop.
6432
779990d9
PA
64332017-10-24 Pedro Alves <palves@redhat.com>
6434
6435 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
6436 $attempt" and "stoppedtry $stoppedtry" test prefixes.
6437
ad9b8f5d
PA
64382017-10-24 Pedro Alves <palves@redhat.com>
6439
6440 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
6441 parameter and handle it. Don't output read value in test name.
6442
fee6da6e
PA
64432017-10-24 Pedro Alves <palves@redhat.com>
6444
6445 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
6446 custom test name.
6447
10389c2c
PA
64482017-10-24 Pedro Alves <palves@redhat.com>
6449
6450 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
6451 include the unstable output directory name in the test's name.
6452 (initial_setup_simple) <'set args'>: Use custom test name.
6453
a80e65a9
PA
64542017-10-24 Pedro Alves <palves@redhat.com>
6455
6456 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
6457 with explicit test name.
6458
15763a09
PA
64592017-10-20 Pedro Alves <palves@redhat.com>
6460
6461 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
6462 'wait -i'. Use gdb_assert and remote_close.
6463
49a4ce2e
AB
64642017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
6465
6466 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
6467 number from variable rather than hard-coded.
6468
a75868f5
PA
64692017-10-19 Pedro Alves <palves@redhat.com>
6470
6471 * gdb.base/long-inferior-output.c: New file.
6472 * gdb.base/long-inferior-output.exp: New file.
6473
c8ba13ad
KS
64742017-11-18 Keith Seitz <keiths@redhat.com>
6475
6476 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
6477 method.
6478 (main): Call it.
6479 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
6480 Add additional user-defined conversion operator tests.
6481
b27de576
PA
64822017-10-17 Pedro Alves <palves@redhat.com>
6483
6484 * boards/native-stdio-gdbserver.exp: Load "local-board".
6485
8484c955
PA
64862017-10-17 Pedro Alves <palves@redhat.com>
6487
6488 * gdb.base/quit-live.c: New file.
6489 * gdb.base/quit-live.exp: New file.
6490
83d5a34d
KS
64912017-10-16 Keith Seitz <keiths@redhat.com>
6492
6493 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
6494 (class_with_protected_typedef, class_with_private_typedef)
6495 (struct_with_public_typedef, struct_with_protected_typedef)
6496 (struct_with_private_typedef): New classes/structs.
6497 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
6498 typedefs and access specifiers.
6499
739b3f1d
PA
65002017-10-16 Pedro Alves <palves@redhat.com>
6501 Simon Marchi <simon.marchi@polymtl.ca>
6502
6503 * README (Local vs Remote vs Native): New section.
6504 * boards/local-board.exp: New file, with bits factored out from
6505 ...
6506 * boards/native-extended-gdbserver.exp: ... here. Load
6507 "local-board".
6508 * boards/native-gdbserver.exp: Load "local-board".
6509 (${board}_spawn, ${board}_exec): Delete.
6510 * boards/native-stdio-gdbserver.exp: Most contents factored out to
6511 ...
6512 * boards/stdio-gdbserver-base.exp: ... this new file.
6513 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
6514 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
6515 procedure.
6516 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
6517 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
6518 stdio_gdbserver_command.
6519 (${board}_get_remote_address, ${board}_get_comm_port)
6520 (${board}_download, ${board}_upload): Delete.
6521 (get_target_remote_pipe_cmd): New.
6522
fe68b953
SM
65232017-10-16 Simon Marchi <simon.marchi@ericsson.com>
6524
6525 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
6526 test_bkpt_deletion, test_bkpt_cond_and_cmds,
6527 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
6528 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
6529 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
6530 remove with_test_prefix.
6531
300b6685
PA
65322017-10-13 Pedro Alves <palves@redhat.com>
6533
6534 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
6535 * gdb.base/annota1.exp: Use it instead of is_remote.
6536 * gdb.base/annota3.exp: Use it instead of is_remote.
6537 * gdb.cp/annota2.exp: Use it instead of is_remote.
6538 * gdb.cp/annota3.exp: Use it instead of is_remote.
6539 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
6540
50500caf
PA
65412017-10-13 Pedro Alves <palves@redhat.com>
6542
6543 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
6544 (test_num_test_vars, run_and_count_vars, find_env)
6545 (test_set_unset_env, test_inherit_env_var): New procedures.
6546 (top level): Use them.
6547
dad0c6d2
PA
65482017-10-13 Pedro Alves <palves@redhat.com>
6549
6550 * lib/selftest-support.exp (selftest_setup): Extend comments, and
6551 also skip on stub-like targets.
6552
8b0553c1
PA
65532017-10-13 Pedro Alves <palves@redhat.com>
6554
6555 PR gdb/22293
6556 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
6557 (top level): Move some tests to ...
6558 (test_not_found): ... this new procedure.
6559 (top level): Call it.
6560
7594f623
PA
65612017-10-13 Pedro Alves <palves@redhat.com>
6562
6563 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
6564 expect different "info terminal" output if testing with a
6565 non-native target.
6566
ebe3b402
PA
65672017-10-13 Pedro Alves <palves@redhat.com>
6568 Simon Marchi <simon.marchi@polymtl.ca>
6569
6570 PR python/12966
6571 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
6572
42f1b161
PA
65732017-10-13 Pedro Alves <palves@redhat.com>
6574
6575 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
6576 already.
6577
8d6ef72b
PA
65782017-10-13 Pedro Alves <palves@redhat.com>
6579
6580 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
6581 is_remote.
6582
d7bcd5b8
PA
65832017-10-13 Pedro Alves <palves@redhat.com>
6584
6585 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
6586 is_remote.
6587
df479dc6
PA
65882017-10-13 Pedro Alves <palves@redhat.com>
6589
6590 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
6591 is set.
6592 (corefile_test_attach): Likewise. Check can_spawn_for_attach
6593 instead of is_remote.
6594
23fb630a
PA
65952017-10-13 Pedro Alves <palves@redhat.com>
6596
6597 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
6598 (top level): Add comment.
6599
cc77b1dc
PA
66002017-10-13 Pedro Alves <palves@redhat.com>
6601
6602 * gdb.base/remote.exp (top level): Fix comment typo and add
6603 missing return.
6604
27c9e813
PA
66052017-10-13 Pedro Alves <palves@redhat.com>
6606 Simon Marchi <simon.marchi@polymtl.ca>
6607
6608 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
6609 calls and add comments. Skip test if use_gdb_stub is set.
6610 (top level): Use "set cwd" command instead of "cd" command.
6611
5e830d98
PA
66122017-10-13 Pedro Alves <palves@redhat.com>
6613
6614 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
6615 is_remote target check.
6616
f5ca0032
PA
66172017-10-13 Pedro Alves <palves@redhat.com>
6618
6619 * gdb.base/scope.exp: Use build_executable + clean_restart +
6620 gdb_file_cmd instead of prepare_for_testing and no longer skip
6621 "before run" tests on is_remote target boards. Update comments.
6622 * boards/native-extended-gdbserver.exp
6623 (extended_gdbserver_load_last_file): New, factored out from ...
6624 (gdb_load): ... this. Move further below and add comment.
6625 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
6626
8aed1c0d
PA
66272017-10-12 Pedro Alves <palves@redhat.com>
6628
6629 * gdb.base/attach.exp: Remove references to gdb64.
6630 * gdb.base/dbx.exp: Remove references to gdb64.
6631
cfa34c87
SM
66322017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
6633 Pedro Alves <palves@redhat.com>
6634
6635 * gdb.base/label.exp: Remove is_remote target check.
6636
9192b7de
PA
66372017-10-12 Pedro Alves <palves@redhat.com>
6638
6639 * gdb.base/auvx.exp (coredir): Update comment.
6640 (top level) <core_works>: Use "set cwd" command instead of "cd"
6641 command.
6642
6bf0052d
PA
66432017-10-12 Pedro Alves <palves@redhat.com>
6644 Simon Marchi <simon.marchi@polymtl.ca>
6645
6646 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
6647 target boards.
6648
e48ef82d
PA
66492017-10-12 Pedro Alves <palves@redhat.com>
6650 Simon Marchi <simon.marchi@polymtl.ca>
6651
6652 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
6653 Instead skip if there's any gdb_protocol set.
6654
8d7aea57
SM
66552017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
6656 Pedro Alves <palves@redhat.com>
6657
6658 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
6659
30440677
PA
66602017-10-12 Pedro Alves <palves@redhat.com>
6661 Simon Marchi <simon.marchi@polymtl.ca>
6662
6663 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
6664 instead of on dejagnu remote boards.
6665
4e04f045 66662017-10-12 Pedro Alves <palves@redhat.com>
175654b9 6667 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
6668
6669 * gdb.base/inferior-died.exp: Remove is_remote and isnative
6670 checks. Use build_executable + clean_restart instead of
6671 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
6672 of enabling non-stop after starting gdb.
6673
871a186e
PA
66742017-10-12 Pedro Alves <palves@redhat.com>
6675
6676 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
6677 * gdb.threads/non-ldr-exc-2.exp: Ditto.
6678 * gdb.threads/non-ldr-exc-3.exp: Ditto.
6679 * gdb.threads/non-ldr-exc-4.exp: Ditto.
6680
56d704da
AK
66812017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
6682
6683 * gdb.arch/arc-tdesc-cpu.exp: New file.
6684 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
6685
2f20e312
SM
66862017-10-10 Simon Marchi <simon.marchi@ericsson.com>
6687
6688 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
6689
65630365
PA
66902017-10-10 Pedro Alves <palves@redhat.com>
6691
6692 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
6693 expect CLI output.
6694
bf469271
PA
66952017-10-10 Pedro Alves <palves@redhat.com>
6696
6697 * lib/selftest-support.exp (selftest_setup): Update for
6698 captured_command_loop's prototype change.
6699
777a42f1
PA
67002017-10-09 Pedro Alves <palves@redhat.com>
6701
6702 Test both arch1=>arch2 and arch2=>arch1.
6703
6704 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
6705 (srcfile2, binfile2, march1, march2): Remove globals. Largely
6706 factored out to...
6707 (append_arch1_options, append_arch2_options, append_arch_options)
6708 (build_executables): New procedures.
6709 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
6710 local.
6711 (top level): Add new 'first_arch' testing axis.
6712
cbd2b4e3
PA
67132017-10-09 Pedro Alves <palves@redhat.com>
6714
6715 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
6716 (barrier): New.
6717 (thread_start, all_started): New functions.
6718 (main): Spawn new thread and wait until it is scheduled.
6719 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
6720 option.
6721 (do_test): Add 'selected_thread' parameter. Run to all_started
6722 instead of main. Explicitly set the breakpoint at main. Switch
6723 to the SELECTED_THREAD thread.
6724 (top level): Test handling the exec event with either the main
6725 thread or the second thread selected.
6726
5c9e4427
PA
67272017-10-09 Pedro Alves <palves@redhat.com>
6728
6729 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
6730 logic. Move STOP marker after the value checks.
6731 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
6732 regexp.
6733
b3b7c423
SL
67342017-10-06 Sandra Loosemore <sandra@codesourcery.com>
6735
6736 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
6737
3b4b2f16
UW
67382017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
6739
6740 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
6741 integer-to-dfp conversion.
6742 * gdb.base/dfp-test.exp: Likewise.
6743
5cd63fda
PA
67442017-10-04 Pedro Alves <palves@redhat.com>
6745
6746 * gdb.multi/hangout.c: Include <unistd.h>.
6747 (hangout_loop): New function.
6748 (main): Call alarm. Call hangout_loop in a loop.
6749 * gdb.multi/hello.c: Include <unistd.h>.
6750 (hello_loop): New function.
6751 (main): Call alarm. Call hangout_loop in a loop.
6752 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
6753 inferior with the other selected.
6754
4c71c105
SM
67552017-10-04 Simon Marchi <simon.marchi@ericsson.com>
6756
6757 * gdb.mi/list-thread-groups-available.exp: New file.
6758 * gdb.mi/list-thread-groups-available.c: New file.
6759
bc3b087d
SDJ
67602017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
6761
6762 * gdb.base/set-cwd.exp: Make it available on
6763 native-extended-gdbserver.
6764
d092c5a2
SDJ
67652017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
6766
6767 * gdb.base/set-cwd.c: New file.
6768 * gdb.base/set-cwd.exp: Likewise.
6769
45320ffa
TT
67702017-10-02 Tom Tromey <tom@tromey.com>
6771
6772 PR rust/22236:
6773 * gdb.rust/simple.rs (main): New variable "fslice".
6774 * gdb.rust/simple.exp: Add slice tests. Update string tests.
6775
b3e3859b
TT
67762017-10-02 Tom Tromey <tom@tromey.com>
6777
6778 * gdb.rust/simple.exp: Test ptype of a slice.
6779
01af5e0d
TT
67802017-10-02 Tom Tromey <tom@tromey.com>
6781
6782 * gdb.rust/simple.exp: Test index of slice.
6783
a9bbfbd8
TT
67842017-09-27 Tom Tromey <tom@tromey.com>
6785
6786 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
6787
df8899e5
TP
67882017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
6789 Pedro Alves <palves@redhat.com>
6790
6791 * gdb.base/compare-sections.exp (get value of read-only section): Read
6792 as unsigned value.
6793 (corrupt read-only section): Likewise and don't set written if patching
6794 failed.
6795
757bf54b
KB
67962017-09-21 Kevin Buettner <kevinb@redhat.com>
6797
6798 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
6799 files.
6800
06871ae8
PA
68012017-09-20 Pedro Alves <palves@redhat.com>
6802
6803 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
6804 symbol names in gdb's output.
6805 * gdb.cp/overload.exp ("list all overloads"): Likewise.
6806
e5f25bc5
PA
68072017-09-20 Pedro Alves <palves@redhat.com>
6808
6809 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
6810 Rename to ...
6811 (test_list_ambiguous_symbol): ... this and add a symbol name
6812 parameter. Adjust.
6813 (test_list_ambiguous_function): Reimplement on top of
6814 test_list_ambiguous_symbol and also test listing ambiguous
6815 variables.
6816 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
6817 (ambiguous_fun): ... this.
6818 (ambiguous_var): New.
6819 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
6820 (ambiguous_fun): ... this.
6821 (ambiguous_var): New.
6822
4e5a4f58
JB
68232017-09-19 John Baldwin <jhb@FreeBSD.org>
6824
6825 * gdb.base/starti.c: New file.
6826 * gdb.base/starti.exp: New file.
6827 * lib/gdb.exp (gdb_starti_cmd): New procedure.
6828
26e53f3e
PA
68292017-09-14 Pedro Alves <palves@redhat.com>
6830
6831 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
6832 (top level): Use it instead of runto.
6833
cb791d59
TT
68342017-09-11 Tom Tromey <tom@tromey.com>
6835
6836 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
6837
7c96f8c1
TT
68382017-09-11 Tom Tromey <tom@tromey.com>
6839
6840 * gdb.python/py-infthread.exp: Add tests for new_thread event.
6841 * gdb.python/py-inferior.exp: Add tests for new inferior events.
6842
469412dd
CW
68432017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
6844
6845 * gdb.fortran/printing-types.exp: New file.
6846 * gdb.fortran/printing-types.exp: New file.
6847
e0f86435
BH
68482017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
6849
6850 * gdb.fortran/vla-ptype.exp: Fix typos.
6851 * gdb.fortran/vla-value.exp: Same.
6852
9e9af4be
BH
68532017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
6854
6855 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
6856 * gdb.mi/mi-var-child-f.exp: Likewise.
6857 * gdb.mi/mi-vla-fortran.exp: Likewise.
6858
a5ad232b 68592017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
6860 Christoph Weinmann <christoph.t.weinmann@intel.com>
6861 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
6862
6863 * gdb.fortran/ptr-indentation.f90: New file.
6864 * gdb.fortran/ptr-indentation.exp: New file.
6865
5aec60eb
TT
68662017-09-05 Tom Tromey <tom@tromey.com>
6867
6868 PR gdb/22010:
6869 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
6870
8f8f8152
TP
68712017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
6872
6873 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
6874
fbd1b771
JK
68752017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6876
6877 * gdb.threads/tls-nodebug-pie.c: New file.
6878 * gdb.threads/tls-nodebug-pie.exp: New file.
6879
5eb5f850
TT
68802017-09-05 Tom Tromey <tom@tromey.com>
6881
6882 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
6883 for rust.
6884
ae780a21
SM
68852017-09-05 Simon Marchi <simon.marchi@ericsson.com>
6886
6887 * gdb.multi/multi-arch-exec.exp: Test with different
6888 "follow-exec-mode" settings.
6889 (do_test): New procedure.
6890
3693fdb3
PA
68912017-09-04 Pedro Alves <palves@redhat.com>
6892
6893 * gdb.base/func-static.c (S::method const, S::method volatile)
6894 (S::method volatile const): New methods.
6895 (c_s, v_s, cv_s): New instances.
6896 (main): Call method() on them.
6897 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
6898 (cannot_resolve): New procedure.
6899 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
6900 print-quote-unquoted columns.
6901 (do_test): Test printing each scope too.
6902
e68cb8e0
PA
69032017-09-04 Pedro Alves <palves@redhat.com>
6904
6905 * gdb.base/local-static.exp: Also test with
6906 class::method::variable wholly quoted.
6907 * gdb.cp/m-static.exp (class::method::variable): Remove test.
6908
858be34c
PA
69092017-09-04 Pedro Alves <palves@redhat.com>
6910
6911 * gdb.base/local-static.c: New.
6912 * gdb.base/local-static.cc: New.
6913 * gdb.base/local-static.exp: New.
6914
46a4882b
PA
69152017-09-04 Pedro Alves <palves@redhat.com>
6916
6917 * gdb.asm/asm-source.exp: Add casts to int.
6918 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
6919 (dataglobal64_1, dataglobal64_2): New globals.
6920 * gdb.base/nodebug.exp: Test different expressions involving the
6921 new globals, with print, whatis and ptype. Add casts to int.
6922 * gdb.base/solib-display.exp: Add casts to int.
6923 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
6924 * gdb.cp/m-static.exp: Add cast to int.
6925 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
6926 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
6927 tls variable with no debug info without a cast. Test with a cast
6928 to int too.
6929 * gdb.trace/entry-values.exp: Add casts.
6930
2c5a2be1
PA
69312017-09-04 Pedro Alves <palves@redhat.com>
6932
6933 * gdb.base/nodebug.exp: Test that ptype's error about functions
6934 with unknown return type includes the function name too.
6935
7022349d
PA
69362017-09-04 Pedro Alves <palves@redhat.com>
6937
6938 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
6939 return type of munmap in infcall.
6940 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
6941 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
6942 type of ftell in infcall.
6943 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
6944 type of getpid in infcall.
6945 * gdb.base/infcall-exec.exp: Cast return type of execlp in
6946 infcall.
6947 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
6948 Bail on failure to extract the pid.
6949 * gdb.base/nodebug.c: #include <stdint.h>.
6950 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
6951 New functions.
6952 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
6953 Change expected output of print/whatis/ptype with functions with
6954 no debug info. Test all supported languages. Call
6955 test_call_promotion.
6956 * gdb.compile/compile.exp: Adjust expected output to expect
6957 warning.
6958 * gdb.threads/siginfo-threads.exp: Likewise.
6959
54990598
PA
69602017-09-04 Pedro Alves <palves@redhat.com>
6961
6962 * gdb.base/callfuncs.exp (do_function_calls): New parameter
6963 "prototypes". Test calling float functions via prototyped and
6964 unprototyped function pointers.
6965 (perform_all_tests): New parameter "prototypes". Pass it down.
6966 (top level): Pass down "prototypes" parameter to
6967 perform_all_tests.
6968
34d16ea2
SM
69692017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6970
6971 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
6972 Test with nested loops.
6973
9521ecda
SM
69742017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6975
6976 * gdb.base/commands.exp: Call the new procedures.
6977 (loop_break_test, loop_continue_test): New procedures.
6978
80a65e9b
SM
69792017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6980
6981 * gdb.base/commands.exp: Call new procedure.
6982 (define_if_without_arg_test): New procedure.
6983
e439fa14
PA
69842017-09-04 Pedro Alves <palves@redhat.com>
6985
6986 * gdb.base/list-ambiguous.exp: New file.
6987 * gdb.base/list-ambiguous0.c: New file.
6988 * gdb.base/list-ambiguous1.c: New file.
6989 * gdb.base/list.exp (test_list_range): Adjust expected output.
6990
0a2dde4a
SDJ
69912017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
6992
6993 * gdb.base/share-env-with-gdbserver.c: New file.
6994 * gdb.base/share-env-with-gdbserver.exp: Likewise.
6995
5e89eb3a
SM
69962017-08-28 Simon Marchi <simon.marchi@ericsson.com>
6997
6998 * gdb.base/commands.exp (gdbvar_simple_if_test,
6999 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
7000 progvar_simple_if_test, progvar_simple_while_test,
7001 progvar_complex_if_while_test, user_defined_command_test,
7002 user_defined_command_args_eval,
7003 user_defined_command_args_stack_test,
7004 user_defined_command_manyargs_test, bp_deleted_in_command_test,
7005 temporary_breakpoint_commands,
7006 gdb_test_no_prompt, redefine_hook_test,
7007 redefine_backtrace_test): Remove "global gdb_prompt".
7008
fd437cbc
SM
70092017-08-28 Simon Marchi <simon.marchi@ericsson.com>
7010
7011 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
7012 New proc, call it from toplevel.
7013
87215ad1
SDJ
70142017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
7015
7016 PR remote/21852
7017 * gdb.server/normal.c: New file, copied from gdb.base.
7018 * gdb.server/run-without-local-binary.exp: New file.
7019
58afddc6
WP
70202017-08-07 Weimin Pan <weimin.pan@oracle.com>
7021
7022 * gdb.arch/sparc64-adi.exp: New file.
7023 * gdb.arch/sparc64-adi.c: New file.
7024
5277199a
PA
70252017-08-22 Pedro Alves <palves@redhat.com>
7026
7027 * gdb.cp/overload.exp (line_range_pattern): New procedure.
7028 (top level): Add "list all overloads" tests.
7029
14278e1f
TT
70302017-08-22 Tom Tromey <tom@tromey.com>
7031
7032 * gdb.gdb/xfullpath.exp: Remove.
7033
bf223d3e
PA
70342017-08-21 Pedro Alves <palves@redhat.com>
7035
7036 PR gdb/19487
7037 * gdb.base/symbol-alias.c: New.
7038 * gdb.base/symbol-alias2.c: New.
7039 * gdb.base/symbol-alias.exp: New.
7040
c973d0aa
PA
70412017-08-21 Pedro Alves <palves@redhat.com>
7042
7043 * gdb.base/dfp-test.c
7044 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
7045 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
7046 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
7047 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
7048 * gdb.base/whatis-ptype-typedefs.c: New.
7049 * gdb.base/whatis-ptype-typedefs.exp: New.
7050 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
7051 (an_int, an_int_type, an_int_type2): New globals.
7052 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
7053 involving typedefs and cast expressions.
7054 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
7055 (lookup_typedefs_function): New.
7056 (typedefs_pretty_printers_dict): New.
7057 (top level): Register lookup_typedefs_function in
7058 gdb.pretty_printers.
7059
6d580b63
YQ
70602017-08-18 Yao Qi <yao.qi@linaro.org>
7061
7062 * gdb.server/unittest.exp: New.
7063
206726fb
SDJ
70642017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
7065
7066 PR gdb/21954
7067 * gdb.base/environ.exp: Add test to check if 'unset environment'
7068 works.
7069
bf0ec4c2
AA
70702017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7071
7072 * lib/gdb.exp (universal_compile_options): New caching proc.
7073 (gdb_compile): Suppress GCC's coloring of messages.
7074
d6382fff
TT
70752017-08-14 Tom Tromey <tom@tromey.com>
7076
7077 PR gdb/21675:
7078 * gdb.base/printcmds.exp (test_radices): New function.
7079 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
7080 * gdb.base/sizeof.exp (check_valueof): Use p/d.
7081 * lib/gdb.exp (get_integer_valueof): Use p/d.
7082
c2c2dd9f
SM
70832017-08-12 Simon Marchi <simon.marchi@ericsson.com>
7084
7085 * lib/gdb.exp (get_valueof): Don't capture end-of-line
7086 characters.
7087
fdffd6f4
TT
70882017-08-05 Tom Tromey <tom@tromey.com>
7089
7090 * gdb.rust/simple.exp: Allow String to appear in a different
7091 namespace.
7092
27d41eac
YQ
70932017-07-26 Yao Qi <yao.qi@linaro.org>
7094
7095 * gdb.gdb/unittest.exp: Invoke command
7096 "maintenance check xml-descriptions".
7097
031ed05d
AA
70982017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
7099
7100 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
7101 calling context.
7102 (hex128): Drop erroneous calculation of parameters.
7103
dcd27ddf
SM
71042017-07-22 Simon Marchi <simon.marchi@ericsson.com>
7105
7106 * gdb.python/py-unwind.exp: Disable stack protection when
7107 building test file.
7108
47e77640
PA
71092017-07-20 Pedro Alves <palves@redhat.com>
7110
7111 * gdb.base/default.exp (set language): Adjust expected output.
7112
62d2a18a
PA
71132017-07-20 Pedro Alves <palves@redhat.com>
7114
7115 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
7116 (test_minsym): ... this, and make static.
7117 (get_pck__foo__bar__minsym): Rename to ...
7118 (get_test_minsym): ... this.
7119 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
7120 symbol names and comments.
7121 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
7122 (get_test_minsym): ... this.
7123 (pck__foo__bar__minsym__2): Rename to ...
7124 (test_minsym): ... this.
7125 (main): Adjust.
7126
c45ec17c
PA
71272017-07-17 Pedro Alves <palves@redhat.com>
7128
7129 * gdb.base/completion.exp: Adjust expected output.
7130 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
7131 the completer works.
7132
c6756f62
PA
71332017-07-17 Pedro Alves <palves@redhat.com>
7134
7135 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
7136
5bd68487
AB
71372017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
7138
7139 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
7140
8880f2a9
TT
71412017-07-14 Tom Tromey <tom@tromey.com>
7142
7143 PR rust/21764:
7144 * gdb.rust/simple.exp: Add tests.
7145
65547233
TT
71462017-07-14 Tom Tromey <tom@tromey.com>
7147
7148 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
7149
8f14146e
PA
71502017-07-14 Pedro Alves <palves@redhat.com>
7151
7152 * gdb.linespec/base/one/thefile.cc (z1): New function.
7153 * gdb.linespec/base/two/thefile.cc (z2): New function.
7154 * gdb.linespec/linespec.exp: Add tests.
7155
b4365d02
AB
71562017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
7157
7158 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
7159 to mi_create_breakpoint.
7160
5d2cbaa5
AB
71612017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
7162
7163 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
7164 mi_create_breakpoint.
7165
11cb5716
IB
71662017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
7167
7168 * gdb.dlang/demangle.exp: Update for demangling changes.
7169
03278692
TT
71702017-07-09 Tom Tromey <tom@tromey.com>
7171
7172 * gdb.dwarf2/shortpiece.exp: New file.
7173
33c5cd75
DB
71742017-07-06 David Blaikie <dblaikie@gmail.com>
7175
7176 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
7177 built from fissiont-multi-cu{1,2}.c.
7178 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
7179 except putting 'main' and 'func' in separate CUs in the same DWO file.
7180 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
7181 test.
7182 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
7183 test.
7184
8455d262
PA
71852017-07-06 Pedro Alves <palves@redhat.com>
7186
7187 * gdb.python/py-unwind.exp: Test flushregs.
7188
dc4bde35
SDJ
71892017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
7190
7191 PR cli/21688
7192 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
7193 tests for alias commands and trailing whitespace.
7194
51ed89aa
SDJ
71952017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
7196
7197 PR cli/21688
7198 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
7199 procedure. Call it.
7200
eb17d413
PA
72012017-06-29 Pedro Alves <palves@redhat.com>
7202
7203 * gdb.base/printcmds.exp: Add tests.
7204
41664b45
DG
72052017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
7206
7207 PR gdb/21337
7208 * gdb.base/reread-readsym.exp: New file.
7209 * gdb.base/reread-readsym.c: New file.
7210
75312ae3
KB
72112017-06-21 Kevin Buettner <kevinb@redhat.com>
7212
7213 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
7214 subpattern.
7215
66953522
PB
72162017-06-19 Peter Bergner <bergner@vnet.ibm.com>
7217
7218 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
7219 extended mnemonic.
7220 * gdb.arch/powerpc-power9.s: Likewise.
7221
5524b525
AA
72222017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7223
7224 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
7225 on 32-bit x86 targets. Exploit is_*_target macros where
7226 appropriate.
7227
03c8af18
AA
72282017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7229
7230 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
7231 register pieces.
7232
3bf31011
AA
72332017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7234
7235 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
7236 located in one or more DWARF pieces.
7237
805acca0
AA
72382017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7239
7240 * lib/gdb.exp (get_endianness): New proc.
7241 * gdb.arch/aarch64-fp.exp: Use it.
7242 * gdb.arch/altivec-regs.exp: Likewise.
7243 * gdb.arch/e500-regs.exp: Likewise.
7244 * gdb.arch/vsx-regs.exp: Likewise.
7245 * gdb.base/dump.exp: Likewise.
7246 * gdb.base/funcargs.exp: Likewise.
7247 * gdb.base/gnu_vector.exp: Likewise.
7248 * gdb.dwarf2/formdata16.exp: Likewise.
7249 * gdb.dwarf2/implptrpiece.exp: Likewise.
7250 * gdb.dwarf2/nonvar-access.exp: Likewise.
7251 * gdb.python/py-inferior.exp: Likewise.
7252 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
7253
e9352324
AA
72542017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7255
7256 PR gdb/21226
7257 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
7258 stack value pieces are taken from the LSB end.
7259
d5d1163e
AA
72602017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7261
7262 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
7263 variable at nonzero offset.
7264
0567c986
AA
72652017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7266
7267 * gdb.dwarf2/var-access.c: New file.
7268 * gdb.dwarf2/var-access.exp: New test.
7269 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
7270
973e9aab
TT
72712017-06-12 Tom Tromey <tom@tromey.com>
7272
7273 * gdb.dwarf2/formdata16.exp: Add tests.
7274
d9109c80
TT
72752017-06-12 Tom Tromey <tom@tromey.com>
7276
7277 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
7278
30a25466
TT
72792017-06-12 Tom Tromey <tom@tromey.com>
7280
7281 PR exp/16225:
7282 * gdb.reverse/i386-sse-reverse.exp: Update tests.
7283 * gdb.arch/vsx-regs.exp: Update tests.
7284 * gdb.arch/s390-vregs.exp (hex128): New proc.
7285 Update test.
7286 * gdb.arch/altivec-regs.exp: Update tests.
7287
aefd8b33
SDJ
72882017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
7289
7290 * gdb.base/startup-with-shell.c: New file.
7291 * gdb.base/startup-with-shell.exp: Likewise.
7292
2090129c
SDJ
72932017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
7294
7295 * gdb.server/non-existing-program.exp: Update regex in order to
7296 reflect the fact that gdbserver is now using fork_inferior (with a
7297 shell) to startup the inferior.
7298
8e86a419
SM
72992017-05-30 Simon Marchi <simon.marchi@ericsson.com>
7300
7301 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
7302 support function calls from GDB.
7303
e6cf65f2
TT
73042017-05-21 Tom Tromey <tom@tromey.com>
7305
7306 PR rust/21466:
7307 * gdb.rust/unsized.exp: New file.
7308 * gdb.rust/unsized.rs: New file.
7309
43cc5389
TT
73102017-05-19 Tom Tromey <tom@tromey.com>
7311
7312 PR rust/21484:
7313 * gdb.rust/watch.exp: New file.
7314 * gdb.rust/watch.rs: New file.
7315
ec8df234
TT
73162017-05-18 Tom Tromey <tom@tromey.com>
7317
7318 * gdb.rust/simple.exp: Allow Box to be qualified.
7319
3e3e7fae
TP
73202017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
7321
7322 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
7323
59cc050d
PA
73242017-05-18 Pedro Alves <palves@redhat.com>
7325
7326 * gdb.base/fileio.c (test_write, test_read, test_close)
7327 (test_fstat): Don't print 'ret' in the fail path.
7328
c8f6abd1
PA
73292017-05-18 Pedro Alves <palves@redhat.com>
7330
7331 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
7332 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
7333 (test_system, test_rename, test_unlink, test_time): Change
7334 prototypes.
7335 * gdb.base/fileio.exp (stop_msg): Adjust.
7336
d2a03b77
PA
73372017-05-18 Pedro Alves <palves@redhat.com>
7338
7339 * gdb.base/fileio.c (null_str): New global.
7340 (test_stat): Use it.
7341 * gdb.base/fileio.exp: Remove nowarnings.
7342
0d5c6999
YQ
73432017-05-17 Yao Qi <yao.qi@linaro.org>
7344
7345 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
7346
21873064
YQ
73472017-05-17 Simon Marchi <simon.marchi@ericsson.com>
7348
7349 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
7350 argument command.
7351 (top-level): Invoke test_set_inferior_tty.
7352
d512d31c
PA
73532017-05-04 Pedro Alves <palves@redhat.com>
7354
7355 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
7356 Add parens to print call for Python 3.
7357
90cef2ed
KS
73582017-05-03 Keith Seitz <keiths@redhat.com>
7359
7360 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
7361 (main): Call it.
7362
14f819c8
TW
73632017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7364
7365 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
7366 to prev and next.
7367
913aeadd
TW
73682017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7369
7370 * gdb.python/py-record-btrace.exp: Remove test for
7371 gdb.BtraceInstruction.error.
7372
a3be24ad
TW
73732017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7374
7375 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
7376
ae20e79a
TW
73772017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7378
7379 * gdb.python/py-record-btrace-threads.c: New file.
7380 * gdb.python/py-record-btrace-threads.exp: New file.
7381
45ce1b47
SDJ
73822017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
7383
7384 PR testsuite/8595
7385 * gdb.base/environ.exp: Make test available in all architectures.
7386 Move bits related to "info program" testing to
7387 gdb.base/info-program.exp. Rewrite tests to use the two new
7388 procedures mentione below.
7389 (test_set_show_env_var) New procedure.
7390 (test_set_show_env_var_equal): Likewise.
7391 * gdb.base/info-program.exp: New file.
7392
e15c3eb4
KS
73932017-04-27 Keith Seitz <keiths@redhat.com>
7394
7395 * gdb.cp/oranking.cc (test15): New function.
7396 (main): Call test15 and declare additional variables for testing.
7397 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
7398 "p foo101('abc')" tests.
7399 Add tests for cv qualifier overloads.
7400 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
7401 "lvalue reference overload" test.
7402 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
7403 "print value of f1 on Child&& in f2" test.
7404
3a3fd0fd
PA
74052017-04-19 Pedro Alves <palves@redhat.com>
7406
7407 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
7408 procedure.
7409 (top level): Call it.
7410 * lib/gdb.exp (gdb_define_cmd): New procedure.
7411
53375380
PA
74122017-04-12 Pedro Alves <palves@redhat.com>
7413
7414 PR gdb/21323
7415 * gdb.cp/wide_char_types.c: Include <wchar.h>.
7416 (wchar): New global.
7417 * gdb.cp/wide_char_types.exp (wide_char_types_program)
7418 (do_test_wide_char, wide_char_types_no_program, top level): Add
7419 wchar_t testing.
7420
53e710ac
PA
74212017-04-12 Pedro Alves <palves@redhat.com>
7422
7423 PR c++/21323
7424 * gdb.cp/wide_char_types.c: New file.
7425 * gdb.cp/wide_char_types.exp: New file.
7426
0ad9d8c7
SDJ
74272017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
7428
7429 PR gdb/21352
7430 * gdb.trace/tsv.exp: Add test for "tsave -r".
7431
b1b45502
IB
74322017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
7433
7434 * gdb.dlang/watch-loc.c: New file.
7435 * gdb.dlang/watch-loc.exp: New file.
7436
ec13808e
JK
74372017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7438
7439 * gdb.python/py-section-script.exp (sepdebug): New testcases.
7440
fe5f7374
AK
74412017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
7442
7443 * gdb.arch/arc-analyze-prologue.S: New file.
7444 * gdb.arch/arc-analyze-prologue.exp: Likewise.
7445
eea78757
AK
74462017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
7447
7448 * gdb.arch/arc-decode-insn.S: New file.
7449 * gdb.arch/arc-decode-insn.exp: Likewise.
7450
5badf10a
IR
74512017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
7452
7453 PR tdep/20928
7454 * gdb.arch/sparc64-regs.exp: New file.
7455 * gdb.arch/sparc64-regs.S: Likewise.
7456
cee59b3f
TW
74572017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
7458
7459 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
7460 and memory view on Python 3.
7461
c0f55cc6
AV
74622017-03-20 Artemiy Volkov <artemiyv@acm.org>
7463 Keith Seitz <keiths@redhat.com>
7464
7465 PR gdb/14441
7466 * gdb.cp/demangle.exp: Add rvalue reference tests.
7467 * gdb.cp/rvalue-ref-casts.cc: New file.
7468 * gdb.cp/rvalue-ref-casts.exp: New file.
7469 * gdb.cp/rvalue-ref-overload.cc: New file.
7470 * gdb.cp/rvalue-ref-overload.exp: New file.
7471 * gdb.cp/rvalue-ref-params.cc: New file.
7472 * gdb.cp/rvalue-ref-params.exp: New file.
7473 * gdb.cp/rvalue-ref-sizeof.cc: New file.
7474 * gdb.cp/rvalue-ref-sizeof.exp: New file.
7475 * gdb.cp/rvalue-ref-types.cc: New file.
7476 * gdb.cp/rvalue-ref-types.exp: New file.
7477 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
7478 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
7479
51457a05
MAL
74802017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
7481
7482 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
7483 New procedure.
7484
5b291c04
MAL
74852017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
7486
7487 * lib/mi-support.exp (mi_gdb_test): Add additional message
7488 for unexpected output.
7489
59a56148
AA
74902017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
7491
7492 * gdb.base/examine-backward.c (Barrier): New character array
7493 constant, to ensure that TestStrings is preceded by a string
7494 terminator.
7495
7942e96e
AA
74962017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7497
7498 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
7499 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
7500 and implicit pointer into such a location.
7501
6ebac3fb
DE
75022017-03-16 Doug Evans <dje@google.com>
7503
7504 * gdb.python/py-lazy-string (pointer): Really add new typedef.
7505
ec3b243d
TP
75062017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
7507
7508 * gdb.cp/m-static.exp: Fix expectation for prototype of
7509 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
7510
75112017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
7512
7513 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
7514 * gdb.guile/scm-lazy-string.c: New file.
7515 * gdb.guile/scm-value.exp: Move lazy string tests to ...
7516 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
7517 for pointer, array, typedef lazy strings.
7518
2cc36e25 75192017-03-16 Doug Evans <dje@google.com>
34b43320
DE
7520
7521 PR python/17728, python/18439, python/18779
7522 * gdb.python/py-value.c (main) Delete locals sptr, sn.
7523 * gdb.python/py-lazy-string.c (pointer): New typedef.
7524 (main): New locals ptr, array, typedef_ptr.
7525 * gdb.python/py-value.exp: Move lazy string tests to ...
7526 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
7527 array, typedef lazy strings.
ec3b243d 7528
0efcde63
AK
75292017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
7530
7531 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
7532 Add optional 'test' parameter.
7533
7978d7c3
SM
75342017-03-13 Simon Marchi <simon.marchi@ericsson.com>
7535
7536 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
7537 Skip for versions of DejaGnu < 1.5.
7538
896c0c1e
SM
75392017-03-13 Simon Marchi <simon.marchi@ericsson.com>
7540
7541 * lib/gdb.exp (dejagnu_version): New proc.
7542 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
7543 Use dejagnu_version.
7544
5f4d1085
KS
75452017-03-10 Keith Seitz <keiths@redhat.com>
7546
7547 PR c++/8128
7548 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
7549 type from destructor regexps.
7550 Add a branch which actually passes the test.
7551 Adjust "ptype t5i" test names.
7552
1de05205
PA
75532017-03-08 Pedro Alves <palves@redhat.com>
7554
7555 * gdb.base/step-over-exit.exp: Add explicit test message.
7556
c65d6b55
PA
75572017-03-08 Pedro Alves <palves@redhat.com>
7558
7559 PR gdb/18360
7560 * gdb.threads/interrupt-while-step-over.c: New file.
7561 * gdb.threads/interrupt-while-step-over.exp: New file.
7562
2e86a283
PA
75632017-03-08 Pedro Alves <palves@redhat.com>
7564
7565 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
7566 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
7567
25dcbff6
PA
75682017-03-08 Pedro Alves <palves@redhat.com>
7569
7570 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
7571 PKRU as not supported as a PASS.
7572
dc9366eb
PA
75732017-03-08 Pedro Alves <palves@redhat.com>
7574
7575 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
7576 prefix instead of $binfile1/$binfile2.
7577 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
7578 in test message.
7579 * gdb.python/py-completion.exp: Use "load python file" as test
7580 messages instead of unstable path names.
7581
6e5d74e7
PA
75822017-03-08 Pedro Alves <palves@redhat.com>
7583 Jan Kratochvil <jan.kratochvil@redhat.com>
7584
7585 PR cli/21218
7586 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
7587 New proc.
7588 (top level): Call it.
7589
9753a2f6
PA
75902017-03-08 Pedro Alves <palves@redhat.com>
7591
7592 PR tui/21216
7593 * gdb.tui/tui-nl-filtered-output.exp: New file.
7594
1a4dd9dd
PA
75952017-03-08 Pedro Alves <palves@redhat.com>
7596
7597 * gdb.base/completion.exp: Move TUI completion tests to ...
7598 * gdb.tui/completion.exp: ... this new file.
7599
7cbbff33
PA
76002017-03-08 Pedro Alves <palves@redhat.com>
7601
7602 * gdb.base/tui-disasm-long-lines.c,
7603 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
7604 gdb.base/tui-layout.exp: Move to ...
7605 * gdb.tui/: ... this new directory.
7606
5f6fd321
PA
76072017-03-07 Pedro Alves <palves@redhat.com>
7608
7609 * gdb.base/tui-layout.c: New file.
7610 * gdb.base/tui-layout.exp: New file.
7611
44959fa8
PA
76122017-03-07 Pedro Alves <palves@redhat.com>
7613
7614 * gdb.base/tui-layout.c: Rename to ...
7615 * gdb.base/tui-disasm-long-lines.c: ... this.
7616 * gdb.base/tui-layout.exp: Rename to ...
7617 * gdb.base/tui-disasm-long-lines.exp: ... this.
7618
f8c4e718
PA
76192017-03-07 Pedro Alves <palves@redhat.com>
7620
7621 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
7622
6dbb839a 76232017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
7624
7625 * i386-mpx-call.c: New file.
7626 * i386-mpx-call.exp: New file.
7627
65b48a81
PB
76282017-02-28 Peter Bergner <bergner@vnet.ibm.com>
7629
7630 * gdb.arch/powerpc-power.exp: Delete test.
7631 * gdb.arch/powerpc-power.s: Likewise.
7632 * gdb.disasm/disassembler-options.exp: New test.
7633 * gdb.arch/powerpc-altivec.exp: Likewise.
7634 * gdb.arch/powerpc-altivec.s: Likewise.
7635 * gdb.arch/powerpc-altivec2.exp: Likewise.
7636 * gdb.arch/powerpc-altivec2.s: Likewise.
7637 * gdb.arch/powerpc-altivec3.exp: Likewise.
7638 * gdb.arch/powerpc-altivec3.s: Likewise.
7639 * gdb.arch/powerpc-power7.exp: Likewise.
7640 * gdb.arch/powerpc-power7.s: Likewise.
7641 * gdb.arch/powerpc-power8.exp: Likewise.
7642 * gdb.arch/powerpc-power8.s: Likewise.
7643 * gdb.arch/powerpc-power9.exp: Likewise.
7644 * gdb.arch/powerpc-power9.s: Likewise.
7645 * gdb.arch/powerpc-vsx.exp: Likewise.
7646 * gdb.arch/powerpc-vsx.s: Likewise.
7647 * gdb.arch/powerpc-vsx2.exp: Likewise.
7648 * gdb.arch/powerpc-vsx2.s: Likewise.
7649 * gdb.arch/powerpc-vsx3.exp: Likewise.
7650 * gdb.arch/powerpc-vsx3.s: Likewise.
7651 * gdb.arch/arm-disassembler-options.exp: Likewise.
7652 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
7653 * gdb.arch/s390-disassembler-options.exp: Likewise.
7654
17cd4947
LM
76552017-02-23 Luis Machado <lgustavo@codesourcery.com>
7656
7657 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
7658 (check_supported_features): ... this. Changed return type to void.
7659 (supports_rdseed): New static global.
7660 (rdseed): Check supports_rdseed.
7661 (initialize): Call check_supported_features.
7662
2039d74e
EBM
76632017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7664
7665 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
7666 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
7667 and lqarx/stqcx.
7668 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
7669 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
7670
a51d7ecf
EBM
76712017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7672
7673 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
7674 uppercase.
7675
0224619f
JK
76762017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7677
7678 * gdb.dwarf2/formdata16.c: New file.
7679 * gdb.dwarf2/formdata16.exp: New file.
7680 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
7681
216f72a1
JK
76822017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7683
7684 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
7685 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
7686 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
7687 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
7688 DW_AT_GNU_*.
7689
43988095
JK
76902017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7691
7692 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
7693
99e8a4f9
SDJ
76942017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
7695
7696 PR gdb/21164
7697 * gdb.base/maint.exp: Add testcases for when the commands do
7698 not have arguments.
7699
b58a8c0c
TP
77002017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
7701
7702 * gdb.cp/chained-calls.exp: Use p instead of P.
7703
4e746bb6
TW
77042017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
7705
7706 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
7707 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
7708
3f77c769
TT
77092017-02-14 Tom Tromey <tom@tromey.com>
7710
7711 PR python/13598:
7712 * gdb.python/py-events.exp: Add before_prompt event tests.
7713
075beec0
AA
77142017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7715
7716 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
7717
bf5f525c
LM
77182017-02-13 Luis Machado <lgustavo@codesourcery.com>
7719
7720 * gdb.linespec/explicit.c (my_unique_function_name): New function.
7721 (main): Call my_unique_function_name.
7722 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
7723 completion of patterns with a single match.
7724 Add missing -re switches to gdb_test_multiple calls.
7725
13a66184
LM
77262017-02-13 Luis Machado <lgustavo@codesourcery.com>
7727
7728 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
7729 return if core file is not recognized.
7730
26a06916
SM
77312017-02-10 Simon Marchi <simon.marchi@ericsson.com>
7732
7733 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
7734 and extra UIs.
7735
b761ca9e
SM
77362017-02-10 Simon Marchi <simon.marchi@ericsson.com>
7737
7738 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
7739 proc_with_prefix.
7740
b964bee0
TT
77412017-02-10 Tom Tromey <tom@tromey.com>
7742
7743 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
7744
18da0c51
MG
77452017-02-10 Martin Galvan <martingalvan@sourceware.org>
7746
7747 PR gdb/21122
7748 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
7749
604c4576
JG
77502017-02-08 Jerome Guitton <guitton@adacore.com>
7751
7752 * gdb.base/define.exp: Add test for command abbreviations
7753 in define.
7754
20b477a7
LM
77552017-02-06 Luis Machado <lgustavo@codesourcery.com>
7756
7757 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
7758 * gdb.reverse/insn-reverse-x86.c: New file.
7759
3f7b46f2
IR
77602017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
7761
7762 PR tdep/20936
7763 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
7764
f0fd41c1
TT
77652017-02-03 Tom Tromey <tom@tromey.com>
7766
7767 PR rust/21097:
7768 * gdb.rust/simple.exp: Add new tests.
7769
5be5dbf0
PA
77702017-02-02 Pedro Alves <palves@redhat.com>
7771
7772 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
7773 tests.
7774
7346ef59
AA
77752017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
7776
7777 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
7778 taking a 2-byte value out of a 4-byte DWARF implicit value on
7779 big-endian targets.
7780 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
7781 logic. Add test cases for DW_OP_implicit.
7782
787f0025
MM
77832017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7784
7785 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
7786
68777c29
MM
77872017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7788
7789 * gdb.btrace/enable.exp: Call gdb_exit before
7790 skip_gdbserver_tests.
7791
0a1c7e28
MM
77922017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7793
7794 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
7795 GDBFLAGS.
7796
b5ac99b0
MM
77972017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7798
7799 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
7800 the test is skipped.
7801 * gdb.btrace/data.exp: Likewise.
7802 * gdb.btrace/delta.exp: Likewise.
7803 * gdb.btrace/dlopen.exp: Likewise.
7804 * gdb.btrace/enable-running.exp: Likewise.
7805 * gdb.btrace/enable.exp: Likewise.
7806 * gdb.btrace/exception.exp: Likewise.
7807 * gdb.btrace/function_call_history.exp: Likewise.
7808 * gdb.btrace/gcore.exp: Likewise.
7809 * gdb.btrace/instruction_history.exp: Likewise.
7810 * gdb.btrace/multi-thread-step.exp: Likewise.
7811 * gdb.btrace/nohist.exp: Likewise.
7812 * gdb.btrace/non-stop.exp: Likewise.
7813 * gdb.btrace/reconnect.exp: Likewise.
7814 * gdb.btrace/record_goto-step.exp: Likewise.
7815 * gdb.btrace/record_goto.exp: Likewise.
7816 * gdb.btrace/rn-dl-bind.exp: Likewise.
7817 * gdb.btrace/segv.exp: Likewise.
7818 * gdb.btrace/step.exp: Likewise.
7819 * gdb.btrace/stepi.exp: Likewise.
7820 * gdb.btrace/tailcall-only.exp: Likewise.
7821 * gdb.btrace/tailcall.exp: Likewise.
7822 * gdb.btrace/tsx.exp: Likewise.
7823 * gdb.btrace/unknown_functions.exp: Likewise.
7824 * gdb.btrace/vdso.exp: Likewise.
7825
cd4007e4
MM
78262017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7827
7828 * gdb.btrace/enable-running.c: New.
7829 * gdb.btrace/enable-running.exp: New.
7830
2735833d
WT
78312017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
7832
7833 * gdb.arch/amd64-gs_base.c: New file.
7834 * gdb.arch/amd64-gs_base.exp: New file.
7835
b51e1e94
LM
78362017-01-26 Luis Machado <lgustavo@codesourcery.com>
7837
7838 * lib/memory.exp: Remove spurious empty newlines.
7839
72ca0410
SM
78402017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
7841
7842 * gdb.python/py-bad-printers.exp: Load python file using "source".
7843 * gdb.python/py-events.exp: Likewise.
7844 * gdb.python/py-evsignal.exp: Likewise.
7845 * gdb.python/py-evthreads.exp: Likewise.
7846 * gdb.python/py-frame-args.exp: Likewise.
7847 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
7848 * gdb.python/py-framefilter-mi.exp: Likewise.
7849 * gdb.python/py-framefilter.exp: Likewise.
7850 * gdb.python/py-mi.exp: Likewise.
7851 * gdb.python/py-pp-maint.exp: Likewise.
7852 * gdb.python/py-pp-registration.exp: Likewise.
7853 * gdb.python/py-prettyprint.exp: Likewise.
7854 (run_lang_tests): Likewise.
7855 * gdb.python/py-typeprint.exp: Likewise.
7856
e309aa65
LM
78572017-01-26 Luis Machado <lgustavo@codesourcery.com>
7858
7859 * lib/memory.exp: New file.
7860 * lib/gdb.exp: Load memory.exp.
7861 * gdb.base/memattr.exp (delete_memory): Move proc to
7862 lib/memory.exp and rename to delete_memory_regions.
7863 Replace delete_memory with delete_memory_regions.
7864 Cleanup memory regions before tests.
7865 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
7866 before tests.
7867
515aff23
LM
78682017-01-26 Luis Machado <lgustavo@codesourcery.com>
7869
7870 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
7871 files.
7872 (initialize): New function conditionally defined.
7873 (testcases): Move within conditional block.
7874 (main): Call initialize.
7875 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
7876 of gdb.reverse/insn-reverse.c.
7877 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
7878 gdb.reverse/insn-reverse.c.
7879
d8b49cf0
YQ
78802017-01-26 Yao Qi <yao.qi@linaro.org>
7881
7882 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
7883 disassemble on address 0.
7884
f13a9a0c
YQ
78852017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
7886 Yao Qi <yao.qi@linaro.org>
7887
7888 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
7889 * gdb.dwarf2/implptr-64bit.S: Remove.
7890 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
7891 variables in caller's context. Add DW_OP_implicit_value.
7892
5ac95241
YQ
78932017-01-25 Yao Qi <yao.qi@linaro.org>
7894
7895 * lib/dwarf.exp (Dwarf::_location): Handle
7896 DW_OP_GNU_implicit_pointer with proper size.
7897
23e82930
LM
78982017-01-20 Luis Machado <lgustavo@codesourcery.com>
7899
7900 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
7901 and add untested calls.
7902
d334ae25
LM
79032017-01-20 Luis Machado <lgustavo@codesourcery.com>
7904
7905 * gdb.python/python.exp: Check line number against what GDB thinks
7906 the line number is for func1.
7907
f5e6296e
IB
79082017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
7909
7910 * gdb.dlang/debug-expr.exp: New file.
7911
5b362f04
LM
79122016-12-23 Luis Machado <lgustavo@codesourcery.com>
7913
7914 Fix test names for the following files:
7915
7916 * gdb.ada/exec_changed.exp
7917 * gdb.ada/info_types.exp
7918 * gdb.arch/aarch64-atomic-inst.exp
7919 * gdb.arch/aarch64-fp.exp
7920 * gdb.arch/altivec-abi.exp
7921 * gdb.arch/altivec-regs.exp
7922 * gdb.arch/amd64-byte.exp
7923 * gdb.arch/amd64-disp-step.exp
7924 * gdb.arch/amd64-dword.exp
7925 * gdb.arch/amd64-entry-value-inline.exp
7926 * gdb.arch/amd64-entry-value-param.exp
7927 * gdb.arch/amd64-entry-value-paramref.exp
7928 * gdb.arch/amd64-entry-value.exp
7929 * gdb.arch/amd64-i386-address.exp
7930 * gdb.arch/amd64-invalid-stack-middle.exp
7931 * gdb.arch/amd64-invalid-stack-top.exp
7932 * gdb.arch/amd64-optimout-repeat.exp
7933 * gdb.arch/amd64-prologue-skip.exp
7934 * gdb.arch/amd64-prologue-xmm.exp
7935 * gdb.arch/amd64-stap-special-operands.exp
7936 * gdb.arch/amd64-stap-wrong-subexp.exp
7937 * gdb.arch/amd64-tailcall-cxx.exp
7938 * gdb.arch/amd64-tailcall-noret.exp
7939 * gdb.arch/amd64-tailcall-ret.exp
7940 * gdb.arch/amd64-tailcall-self.exp
7941 * gdb.arch/amd64-word.exp
7942 * gdb.arch/arm-bl-branch-dest.exp
7943 * gdb.arch/arm-disp-step.exp
7944 * gdb.arch/arm-neon.exp
7945 * gdb.arch/arm-single-step-kernel-helper.exp
7946 * gdb.arch/avr-flash-qualifier.exp
7947 * gdb.arch/disp-step-insn-reloc.exp
7948 * gdb.arch/e500-abi.exp
7949 * gdb.arch/e500-regs.exp
7950 * gdb.arch/ftrace-insn-reloc.exp
7951 * gdb.arch/i386-avx512.exp
7952 * gdb.arch/i386-bp_permanent.exp
7953 * gdb.arch/i386-byte.exp
7954 * gdb.arch/i386-cfi-notcurrent.exp
7955 * gdb.arch/i386-disp-step.exp
7956 * gdb.arch/i386-dr3-watch.exp
7957 * gdb.arch/i386-float.exp
7958 * gdb.arch/i386-gnu-cfi.exp
7959 * gdb.arch/i386-mpx-map.exp
7960 * gdb.arch/i386-mpx-sigsegv.exp
7961 * gdb.arch/i386-mpx-simple_segv.exp
7962 * gdb.arch/i386-mpx.exp
7963 * gdb.arch/i386-permbkpt.exp
7964 * gdb.arch/i386-prologue.exp
7965 * gdb.arch/i386-signal.exp
7966 * gdb.arch/i386-size-overlap.exp
7967 * gdb.arch/i386-unwind.exp
7968 * gdb.arch/i386-word.exp
7969 * gdb.arch/mips-fcr.exp
7970 * gdb.arch/powerpc-d128-regs.exp
7971 * gdb.arch/powerpc-stackless.exp
7972 * gdb.arch/ppc64-atomic-inst.exp
7973 * gdb.arch/s390-stackless.exp
7974 * gdb.arch/s390-tdbregs.exp
7975 * gdb.arch/s390-vregs.exp
7976 * gdb.arch/sparc-sysstep.exp
7977 * gdb.arch/thumb-bx-pc.exp
7978 * gdb.arch/thumb-singlestep.exp
7979 * gdb.arch/thumb2-it.exp
7980 * gdb.arch/vsx-regs.exp
7981 * gdb.asm/asm-source.exp
7982 * gdb.base/a2-run.exp
7983 * gdb.base/advance.exp
7984 * gdb.base/all-bin.exp
7985 * gdb.base/anon.exp
7986 * gdb.base/args.exp
7987 * gdb.base/arithmet.exp
7988 * gdb.base/async-shell.exp
7989 * gdb.base/async.exp
7990 * gdb.base/attach-pie-noexec.exp
7991 * gdb.base/attach-twice.exp
7992 * gdb.base/auto-load.exp
7993 * gdb.base/bang.exp
7994 * gdb.base/bitfields.exp
7995 * gdb.base/break-always.exp
7996 * gdb.base/break-caller-line.exp
7997 * gdb.base/break-entry.exp
7998 * gdb.base/break-inline.exp
7999 * gdb.base/break-on-linker-gcd-function.exp
8000 * gdb.base/break-probes.exp
8001 * gdb.base/break.exp
8002 * gdb.base/breakpoint-shadow.exp
8003 * gdb.base/call-ar-st.exp
8004 * gdb.base/call-sc.exp
8005 * gdb.base/call-signal-resume.exp
8006 * gdb.base/call-strs.exp
8007 * gdb.base/callfuncs.exp
8008 * gdb.base/catch-fork-static.exp
8009 * gdb.base/catch-gdb-caused-signals.exp
8010 * gdb.base/catch-load.exp
8011 * gdb.base/catch-signal-fork.exp
8012 * gdb.base/catch-signal.exp
8013 * gdb.base/catch-syscall.exp
8014 * gdb.base/charset.exp
8015 * gdb.base/checkpoint.exp
8016 * gdb.base/chng-syms.exp
8017 * gdb.base/code-expr.exp
8018 * gdb.base/code_elim.exp
8019 * gdb.base/commands.exp
8020 * gdb.base/completion.exp
8021 * gdb.base/complex.exp
8022 * gdb.base/cond-expr.exp
8023 * gdb.base/condbreak.exp
8024 * gdb.base/consecutive.exp
8025 * gdb.base/continue-all-already-running.exp
8026 * gdb.base/coredump-filter.exp
8027 * gdb.base/corefile.exp
8028 * gdb.base/dbx.exp
8029 * gdb.base/debug-expr.exp
8030 * gdb.base/define.exp
8031 * gdb.base/del.exp
8032 * gdb.base/disabled-location.exp
8033 * gdb.base/disasm-end-cu.exp
8034 * gdb.base/disasm-optim.exp
8035 * gdb.base/display.exp
8036 * gdb.base/duplicate-bp.exp
8037 * gdb.base/ena-dis-br.exp
8038 * gdb.base/ending-run.exp
8039 * gdb.base/enumval.exp
8040 * gdb.base/environ.exp
8041 * gdb.base/eu-strip-infcall.exp
8042 * gdb.base/eval-avoid-side-effects.exp
8043 * gdb.base/eval-skip.exp
8044 * gdb.base/exitsignal.exp
8045 * gdb.base/expand-psymtabs.exp
8046 * gdb.base/filesym.exp
8047 * gdb.base/find-unmapped.exp
8048 * gdb.base/finish.exp
8049 * gdb.base/float.exp
8050 * gdb.base/foll-exec-mode.exp
8051 * gdb.base/foll-exec.exp
8052 * gdb.base/foll-fork.exp
8053 * gdb.base/fortran-sym-case.exp
8054 * gdb.base/freebpcmd.exp
8055 * gdb.base/func-ptr.exp
8056 * gdb.base/func-ptrs.exp
8057 * gdb.base/funcargs.exp
8058 * gdb.base/gcore-buffer-overflow.exp
8059 * gdb.base/gcore-relro-pie.exp
8060 * gdb.base/gcore-relro.exp
8061 * gdb.base/gcore.exp
8062 * gdb.base/gdb1090.exp
8063 * gdb.base/gdb11530.exp
8064 * gdb.base/gdb11531.exp
8065 * gdb.base/gdb1821.exp
8066 * gdb.base/gdbindex-stabs.exp
8067 * gdb.base/gdbvars.exp
8068 * gdb.base/hbreak.exp
8069 * gdb.base/hbreak2.exp
8070 * gdb.base/included.exp
8071 * gdb.base/infcall-input.exp
8072 * gdb.base/inferior-died.exp
8073 * gdb.base/infnan.exp
8074 * gdb.base/info-macros.exp
8075 * gdb.base/info-os.exp
8076 * gdb.base/info-proc.exp
8077 * gdb.base/info-shared.exp
8078 * gdb.base/info-target.exp
8079 * gdb.base/infoline.exp
8080 * gdb.base/interp.exp
8081 * gdb.base/interrupt.exp
8082 * gdb.base/jit-reader.exp
8083 * gdb.base/jit-simple.exp
8084 * gdb.base/kill-after-signal.exp
8085 * gdb.base/kill-detach-inferiors-cmd.exp
8086 * gdb.base/label.exp
8087 * gdb.base/langs.exp
8088 * gdb.base/ldbl_e308.exp
8089 * gdb.base/line-symtabs.exp
8090 * gdb.base/linespecs.exp
8091 * gdb.base/list.exp
8092 * gdb.base/long_long.exp
8093 * gdb.base/longest-types.exp
8094 * gdb.base/maint.exp
8095 * gdb.base/max-value-size.exp
8096 * gdb.base/memattr.exp
8097 * gdb.base/mips_pro.exp
8098 * gdb.base/morestack.exp
8099 * gdb.base/moribund-step.exp
8100 * gdb.base/multi-forks.exp
8101 * gdb.base/nested-addr.exp
8102 * gdb.base/nextoverexit.exp
8103 * gdb.base/noreturn-finish.exp
8104 * gdb.base/noreturn-return.exp
8105 * gdb.base/nostdlib.exp
8106 * gdb.base/offsets.exp
8107 * gdb.base/opaque.exp
8108 * gdb.base/pc-fp.exp
8109 * gdb.base/permissions.exp
8110 * gdb.base/print-symbol-loading.exp
8111 * gdb.base/prologue-include.exp
8112 * gdb.base/psymtab.exp
8113 * gdb.base/ptype.exp
8114 * gdb.base/random-signal.exp
8115 * gdb.base/randomize.exp
8116 * gdb.base/range-stepping.exp
8117 * gdb.base/readline-ask.exp
8118 * gdb.base/recpar.exp
8119 * gdb.base/recurse.exp
8120 * gdb.base/relational.exp
8121 * gdb.base/restore.exp
8122 * gdb.base/return-nodebug.exp
8123 * gdb.base/return.exp
8124 * gdb.base/run-after-attach.exp
8125 * gdb.base/save-bp.exp
8126 * gdb.base/scope.exp
8127 * gdb.base/sect-cmd.exp
8128 * gdb.base/set-lang-auto.exp
8129 * gdb.base/set-noassign.exp
8130 * gdb.base/setvar.exp
8131 * gdb.base/sigall.exp
8132 * gdb.base/sigbpt.exp
8133 * gdb.base/siginfo-addr.exp
8134 * gdb.base/siginfo-infcall.exp
8135 * gdb.base/siginfo-obj.exp
8136 * gdb.base/siginfo.exp
8137 * gdb.base/signals-state-child.exp
8138 * gdb.base/signest.exp
8139 * gdb.base/sigstep.exp
8140 * gdb.base/sizeof.exp
8141 * gdb.base/skip.exp
8142 * gdb.base/solib-corrupted.exp
8143 * gdb.base/solib-nodir.exp
8144 * gdb.base/solib-search.exp
8145 * gdb.base/stack-checking.exp
8146 * gdb.base/stale-infcall.exp
8147 * gdb.base/stap-probe.exp
8148 * gdb.base/start.exp
8149 * gdb.base/step-break.exp
8150 * gdb.base/step-bt.exp
8151 * gdb.base/step-line.exp
8152 * gdb.base/step-over-exit.exp
8153 * gdb.base/step-over-syscall.exp
8154 * gdb.base/step-resume-infcall.exp
8155 * gdb.base/step-test.exp
8156 * gdb.base/store.exp
8157 * gdb.base/structs3.exp
8158 * gdb.base/sym-file.exp
8159 * gdb.base/symbol-without-target_section.exp
8160 * gdb.base/term.exp
8161 * gdb.base/testenv.exp
8162 * gdb.base/ui-redirect.exp
8163 * gdb.base/until.exp
8164 * gdb.base/unwindonsignal.exp
8165 * gdb.base/value-double-free.exp
8166 * gdb.base/vla-datatypes.exp
8167 * gdb.base/vla-ptr.exp
8168 * gdb.base/vla-sideeffect.exp
8169 * gdb.base/volatile.exp
8170 * gdb.base/watch-cond-infcall.exp
8171 * gdb.base/watch-cond.exp
8172 * gdb.base/watch-non-mem.exp
8173 * gdb.base/watch-read.exp
8174 * gdb.base/watch-vfork.exp
8175 * gdb.base/watchpoint-cond-gone.exp
8176 * gdb.base/watchpoint-delete.exp
8177 * gdb.base/watchpoint-hw-hit-once.exp
8178 * gdb.base/watchpoint-hw.exp
8179 * gdb.base/watchpoint-stops-at-right-insn.exp
8180 * gdb.base/watchpoints.exp
8181 * gdb.base/wchar.exp
8182 * gdb.base/whatis-exp.exp
8183 * gdb.btrace/buffer-size.exp
8184 * gdb.btrace/data.exp
8185 * gdb.btrace/delta.exp
8186 * gdb.btrace/dlopen.exp
8187 * gdb.btrace/enable.exp
8188 * gdb.btrace/exception.exp
8189 * gdb.btrace/function_call_history.exp
8190 * gdb.btrace/gcore.exp
8191 * gdb.btrace/instruction_history.exp
8192 * gdb.btrace/nohist.exp
8193 * gdb.btrace/reconnect.exp
8194 * gdb.btrace/record_goto-step.exp
8195 * gdb.btrace/record_goto.exp
8196 * gdb.btrace/rn-dl-bind.exp
8197 * gdb.btrace/segv.exp
8198 * gdb.btrace/step.exp
8199 * gdb.btrace/stepi.exp
8200 * gdb.btrace/tailcall-only.exp
8201 * gdb.btrace/tailcall.exp
8202 * gdb.btrace/tsx.exp
8203 * gdb.btrace/unknown_functions.exp
8204 * gdb.btrace/vdso.exp
8205 * gdb.compile/compile-ifunc.exp
8206 * gdb.compile/compile-ops.exp
8207 * gdb.compile/compile-print.exp
8208 * gdb.compile/compile-setjmp.exp
8209 * gdb.cp/abstract-origin.exp
8210 * gdb.cp/ambiguous.exp
8211 * gdb.cp/annota2.exp
8212 * gdb.cp/annota3.exp
8213 * gdb.cp/anon-ns.exp
8214 * gdb.cp/anon-struct.exp
8215 * gdb.cp/anon-union.exp
8216 * gdb.cp/arg-reference.exp
8217 * gdb.cp/baseenum.exp
8218 * gdb.cp/bool.exp
8219 * gdb.cp/breakpoint.exp
8220 * gdb.cp/bs15503.exp
8221 * gdb.cp/call-c.exp
8222 * gdb.cp/casts.exp
8223 * gdb.cp/chained-calls.exp
8224 * gdb.cp/class2.exp
8225 * gdb.cp/classes.exp
8226 * gdb.cp/cmpd-minsyms.exp
8227 * gdb.cp/converts.exp
8228 * gdb.cp/cp-relocate.exp
8229 * gdb.cp/cpcompletion.exp
8230 * gdb.cp/cpexprs.exp
8231 * gdb.cp/cplabel.exp
8232 * gdb.cp/cplusfuncs.exp
8233 * gdb.cp/cpsizeof.exp
8234 * gdb.cp/ctti.exp
8235 * gdb.cp/derivation.exp
8236 * gdb.cp/destrprint.exp
8237 * gdb.cp/dispcxx.exp
8238 * gdb.cp/enum-class.exp
8239 * gdb.cp/exception.exp
8240 * gdb.cp/exceptprint.exp
8241 * gdb.cp/expand-psymtabs-cxx.exp
8242 * gdb.cp/expand-sals.exp
8243 * gdb.cp/extern-c.exp
8244 * gdb.cp/filename.exp
8245 * gdb.cp/formatted-ref.exp
8246 * gdb.cp/fpointer.exp
8247 * gdb.cp/gdb1355.exp
8248 * gdb.cp/gdb2495.exp
8249 * gdb.cp/hang.exp
8250 * gdb.cp/impl-this.exp
8251 * gdb.cp/infcall-dlopen.exp
8252 * gdb.cp/inherit.exp
8253 * gdb.cp/iostream.exp
8254 * gdb.cp/koenig.exp
8255 * gdb.cp/local.exp
8256 * gdb.cp/m-data.exp
8257 * gdb.cp/m-static.exp
8258 * gdb.cp/mb-ctor.exp
8259 * gdb.cp/mb-inline.exp
8260 * gdb.cp/mb-templates.exp
8261 * gdb.cp/member-name.exp
8262 * gdb.cp/member-ptr.exp
8263 * gdb.cp/meth-typedefs.exp
8264 * gdb.cp/method.exp
8265 * gdb.cp/method2.exp
8266 * gdb.cp/minsym-fallback.exp
8267 * gdb.cp/misc.exp
8268 * gdb.cp/namelessclass.exp
8269 * gdb.cp/namespace-enum.exp
8270 * gdb.cp/namespace-nested-import.exp
8271 * gdb.cp/namespace.exp
8272 * gdb.cp/nextoverthrow.exp
8273 * gdb.cp/no-dmgl-verbose.exp
8274 * gdb.cp/non-trivial-retval.exp
8275 * gdb.cp/noparam.exp
8276 * gdb.cp/nsdecl.exp
8277 * gdb.cp/nsimport.exp
8278 * gdb.cp/nsnested.exp
8279 * gdb.cp/nsnoimports.exp
8280 * gdb.cp/nsrecurs.exp
8281 * gdb.cp/nsstress.exp
8282 * gdb.cp/nsusing.exp
8283 * gdb.cp/operator.exp
8284 * gdb.cp/oranking.exp
8285 * gdb.cp/overload-const.exp
8286 * gdb.cp/overload.exp
8287 * gdb.cp/ovldbreak.exp
8288 * gdb.cp/ovsrch.exp
8289 * gdb.cp/paren-type.exp
8290 * gdb.cp/parse-lang.exp
8291 * gdb.cp/pass-by-ref.exp
8292 * gdb.cp/pr-1023.exp
8293 * gdb.cp/pr-1210.exp
8294 * gdb.cp/pr-574.exp
8295 * gdb.cp/pr10687.exp
8296 * gdb.cp/pr12028.exp
8297 * gdb.cp/pr17132.exp
8298 * gdb.cp/pr17494.exp
8299 * gdb.cp/pr9067.exp
8300 * gdb.cp/pr9167.exp
8301 * gdb.cp/pr9631.exp
8302 * gdb.cp/printmethod.exp
8303 * gdb.cp/psmang.exp
8304 * gdb.cp/psymtab-parameter.exp
8305 * gdb.cp/ptype-cv-cp.exp
8306 * gdb.cp/ptype-flags.exp
8307 * gdb.cp/re-set-overloaded.exp
8308 * gdb.cp/ref-types.exp
8309 * gdb.cp/rtti.exp
8310 * gdb.cp/scope-err.exp
8311 * gdb.cp/shadow.exp
8312 * gdb.cp/smartp.exp
8313 * gdb.cp/static-method.exp
8314 * gdb.cp/static-print-quit.exp
8315 * gdb.cp/temargs.exp
8316 * gdb.cp/templates.exp
8317 * gdb.cp/try_catch.exp
8318 * gdb.cp/typedef-operator.exp
8319 * gdb.cp/typeid.exp
8320 * gdb.cp/userdef.exp
8321 * gdb.cp/using-crash.exp
8322 * gdb.cp/var-tag.exp
8323 * gdb.cp/virtbase.exp
8324 * gdb.cp/virtfunc.exp
8325 * gdb.cp/virtfunc2.exp
8326 * gdb.cp/vla-cxx.exp
8327 * gdb.disasm/t01_mov.exp
8328 * gdb.disasm/t02_mova.exp
8329 * gdb.disasm/t03_add.exp
8330 * gdb.disasm/t04_sub.exp
8331 * gdb.disasm/t05_cmp.exp
8332 * gdb.disasm/t06_ari2.exp
8333 * gdb.disasm/t07_ari3.exp
8334 * gdb.disasm/t08_or.exp
8335 * gdb.disasm/t09_xor.exp
8336 * gdb.disasm/t10_and.exp
8337 * gdb.disasm/t11_logs.exp
8338 * gdb.disasm/t12_bit.exp
8339 * gdb.disasm/t13_otr.exp
8340 * gdb.dlang/circular.exp
8341 * gdb.dwarf2/arr-stride.exp
8342 * gdb.dwarf2/arr-subrange.exp
8343 * gdb.dwarf2/atomic-type.exp
8344 * gdb.dwarf2/bad-regnum.exp
8345 * gdb.dwarf2/bitfield-parent-optimized-out.exp
8346 * gdb.dwarf2/callframecfa.exp
8347 * gdb.dwarf2/clztest.exp
8348 * gdb.dwarf2/corrupt.exp
8349 * gdb.dwarf2/data-loc.exp
8350 * gdb.dwarf2/dup-psym.exp
8351 * gdb.dwarf2/dw2-anon-mptr.exp
8352 * gdb.dwarf2/dw2-anonymous-func.exp
8353 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
8354 * gdb.dwarf2/dw2-bad-unresolved.exp
8355 * gdb.dwarf2/dw2-basic.exp
8356 * gdb.dwarf2/dw2-canonicalize-type.exp
8357 * gdb.dwarf2/dw2-case-insensitive.exp
8358 * gdb.dwarf2/dw2-common-block.exp
8359 * gdb.dwarf2/dw2-compdir-oldgcc.exp
8360 * gdb.dwarf2/dw2-compressed.exp
8361 * gdb.dwarf2/dw2-const.exp
8362 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
8363 * gdb.dwarf2/dw2-cu-size.exp
8364 * gdb.dwarf2/dw2-dup-frame.exp
8365 * gdb.dwarf2/dw2-entry-value.exp
8366 * gdb.dwarf2/dw2-icycle.exp
8367 * gdb.dwarf2/dw2-ifort-parameter.exp
8368 * gdb.dwarf2/dw2-inline-break.exp
8369 * gdb.dwarf2/dw2-inline-param.exp
8370 * gdb.dwarf2/dw2-intercu.exp
8371 * gdb.dwarf2/dw2-intermix.exp
8372 * gdb.dwarf2/dw2-lexical-block-bare.exp
8373 * gdb.dwarf2/dw2-linkage-name-trust.exp
8374 * gdb.dwarf2/dw2-minsym-in-cu.exp
8375 * gdb.dwarf2/dw2-noloc.exp
8376 * gdb.dwarf2/dw2-op-call.exp
8377 * gdb.dwarf2/dw2-op-out-param.exp
8378 * gdb.dwarf2/dw2-opt-structptr.exp
8379 * gdb.dwarf2/dw2-param-error.exp
8380 * gdb.dwarf2/dw2-producer.exp
8381 * gdb.dwarf2/dw2-ranges-base.exp
8382 * gdb.dwarf2/dw2-ref-missing-frame.exp
8383 * gdb.dwarf2/dw2-reg-undefined.exp
8384 * gdb.dwarf2/dw2-regno-invalid.exp
8385 * gdb.dwarf2/dw2-restore.exp
8386 * gdb.dwarf2/dw2-restrict.exp
8387 * gdb.dwarf2/dw2-single-line-discriminators.exp
8388 * gdb.dwarf2/dw2-strp.exp
8389 * gdb.dwarf2/dw2-undefined-ret-addr.exp
8390 * gdb.dwarf2/dw2-unresolved.exp
8391 * gdb.dwarf2/dw2-var-zero-addr.exp
8392 * gdb.dwarf2/dw4-sig-types.exp
8393 * gdb.dwarf2/dwz.exp
8394 * gdb.dwarf2/dynarr-ptr.exp
8395 * gdb.dwarf2/enum-type.exp
8396 * gdb.dwarf2/gdb-index.exp
8397 * gdb.dwarf2/implptr-64bit.exp
8398 * gdb.dwarf2/implptr-optimized-out.exp
8399 * gdb.dwarf2/implptr.exp
8400 * gdb.dwarf2/implref-array.exp
8401 * gdb.dwarf2/implref-const.exp
8402 * gdb.dwarf2/implref-global.exp
8403 * gdb.dwarf2/implref-struct.exp
8404 * gdb.dwarf2/mac-fileno.exp
8405 * gdb.dwarf2/main-subprogram.exp
8406 * gdb.dwarf2/member-ptr-forwardref.exp
8407 * gdb.dwarf2/method-ptr.exp
8408 * gdb.dwarf2/missing-sig-type.exp
8409 * gdb.dwarf2/nonvar-access.exp
8410 * gdb.dwarf2/opaque-type-lookup.exp
8411 * gdb.dwarf2/pieces-optimized-out.exp
8412 * gdb.dwarf2/pieces.exp
8413 * gdb.dwarf2/pr10770.exp
8414 * gdb.dwarf2/pr13961.exp
8415 * gdb.dwarf2/staticvirtual.exp
8416 * gdb.dwarf2/subrange.exp
8417 * gdb.dwarf2/symtab-producer.exp
8418 * gdb.dwarf2/trace-crash.exp
8419 * gdb.dwarf2/typeddwarf.exp
8420 * gdb.dwarf2/valop.exp
8421 * gdb.dwarf2/watch-notconst.exp
8422 * gdb.fortran/array-element.exp
8423 * gdb.fortran/charset.exp
8424 * gdb.fortran/common-block.exp
8425 * gdb.fortran/complex.exp
8426 * gdb.fortran/derived-type-function.exp
8427 * gdb.fortran/derived-type.exp
8428 * gdb.fortran/logical.exp
8429 * gdb.fortran/module.exp
8430 * gdb.fortran/multi-dim.exp
8431 * gdb.fortran/nested-funcs.exp
8432 * gdb.fortran/print-formatted.exp
8433 * gdb.fortran/subarray.exp
8434 * gdb.fortran/vla-alloc-assoc.exp
8435 * gdb.fortran/vla-datatypes.exp
8436 * gdb.fortran/vla-history.exp
8437 * gdb.fortran/vla-ptr-info.exp
8438 * gdb.fortran/vla-ptype-sub.exp
8439 * gdb.fortran/vla-ptype.exp
8440 * gdb.fortran/vla-sizeof.exp
8441 * gdb.fortran/vla-type.exp
8442 * gdb.fortran/vla-value-sub-arbitrary.exp
8443 * gdb.fortran/vla-value-sub-finish.exp
8444 * gdb.fortran/vla-value-sub.exp
8445 * gdb.fortran/vla-value.exp
8446 * gdb.fortran/whatis_type.exp
8447 * gdb.go/chan.exp
8448 * gdb.go/handcall.exp
8449 * gdb.go/hello.exp
8450 * gdb.go/integers.exp
8451 * gdb.go/methods.exp
8452 * gdb.go/package.exp
8453 * gdb.go/strings.exp
8454 * gdb.go/types.exp
8455 * gdb.go/unsafe.exp
8456 * gdb.guile/scm-arch.exp
8457 * gdb.guile/scm-block.exp
8458 * gdb.guile/scm-breakpoint.exp
8459 * gdb.guile/scm-cmd.exp
8460 * gdb.guile/scm-disasm.exp
8461 * gdb.guile/scm-equal.exp
8462 * gdb.guile/scm-frame-args.exp
8463 * gdb.guile/scm-frame-inline.exp
8464 * gdb.guile/scm-frame.exp
8465 * gdb.guile/scm-iterator.exp
8466 * gdb.guile/scm-math.exp
8467 * gdb.guile/scm-objfile.exp
8468 * gdb.guile/scm-ports.exp
8469 * gdb.guile/scm-symbol.exp
8470 * gdb.guile/scm-symtab.exp
8471 * gdb.guile/scm-value-cc.exp
8472 * gdb.guile/types-module.exp
8473 * gdb.linespec/break-ask.exp
8474 * gdb.linespec/cpexplicit.exp
8475 * gdb.linespec/explicit.exp
8476 * gdb.linespec/keywords.exp
8477 * gdb.linespec/linespec.exp
8478 * gdb.linespec/ls-dollar.exp
8479 * gdb.linespec/ls-errs.exp
8480 * gdb.linespec/skip-two.exp
8481 * gdb.linespec/thread.exp
8482 * gdb.mi/mi-async.exp
8483 * gdb.mi/mi-basics.exp
8484 * gdb.mi/mi-break.exp
8485 * gdb.mi/mi-catch-load.exp
8486 * gdb.mi/mi-cli.exp
8487 * gdb.mi/mi-cmd-param-changed.exp
8488 * gdb.mi/mi-console.exp
8489 * gdb.mi/mi-detach.exp
8490 * gdb.mi/mi-disassemble.exp
8491 * gdb.mi/mi-eval.exp
8492 * gdb.mi/mi-file-transfer.exp
8493 * gdb.mi/mi-file.exp
8494 * gdb.mi/mi-fill-memory.exp
8495 * gdb.mi/mi-inheritance-syntax-error.exp
8496 * gdb.mi/mi-linespec-err-cp.exp
8497 * gdb.mi/mi-logging.exp
8498 * gdb.mi/mi-memory-changed.exp
8499 * gdb.mi/mi-read-memory.exp
8500 * gdb.mi/mi-record-changed.exp
8501 * gdb.mi/mi-reg-undefined.exp
8502 * gdb.mi/mi-regs.exp
8503 * gdb.mi/mi-return.exp
8504 * gdb.mi/mi-reverse.exp
8505 * gdb.mi/mi-simplerun.exp
8506 * gdb.mi/mi-solib.exp
8507 * gdb.mi/mi-stack.exp
8508 * gdb.mi/mi-stepi.exp
8509 * gdb.mi/mi-syn-frame.exp
8510 * gdb.mi/mi-until.exp
8511 * gdb.mi/mi-var-block.exp
8512 * gdb.mi/mi-var-child.exp
8513 * gdb.mi/mi-var-cmd.exp
8514 * gdb.mi/mi-var-cp.exp
8515 * gdb.mi/mi-var-display.exp
8516 * gdb.mi/mi-var-invalidate.exp
8517 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
8518 * gdb.mi/mi-vla-fortran.exp
8519 * gdb.mi/mi-watch.exp
8520 * gdb.mi/mi2-var-child.exp
8521 * gdb.mi/user-selected-context-sync.exp
8522 * gdb.modula2/unbounded-array.exp
8523 * gdb.multi/dummy-frame-restore.exp
8524 * gdb.multi/multi-arch-exec.exp
8525 * gdb.multi/multi-arch.exp
8526 * gdb.multi/tids.exp
8527 * gdb.multi/watchpoint-multi.exp
8528 * gdb.opencl/callfuncs.exp
8529 * gdb.opencl/convs_casts.exp
8530 * gdb.opencl/datatypes.exp
8531 * gdb.opencl/operators.exp
8532 * gdb.opencl/vec_comps.exp
8533 * gdb.opt/clobbered-registers-O2.exp
8534 * gdb.opt/inline-break.exp
8535 * gdb.opt/inline-bt.exp
8536 * gdb.opt/inline-cmds.exp
8537 * gdb.opt/inline-locals.exp
8538 * gdb.pascal/case-insensitive-symbols.exp
8539 * gdb.pascal/floats.exp
8540 * gdb.pascal/gdb11492.exp
8541 * gdb.python/lib-types.exp
8542 * gdb.python/py-arch.exp
8543 * gdb.python/py-as-string.exp
8544 * gdb.python/py-bad-printers.exp
8545 * gdb.python/py-block.exp
8546 * gdb.python/py-breakpoint-create-fail.exp
8547 * gdb.python/py-breakpoint.exp
8548 * gdb.python/py-caller-is.exp
8549 * gdb.python/py-cmd.exp
8550 * gdb.python/py-explore-cc.exp
8551 * gdb.python/py-explore.exp
8552 * gdb.python/py-finish-breakpoint.exp
8553 * gdb.python/py-finish-breakpoint2.exp
8554 * gdb.python/py-frame-args.exp
8555 * gdb.python/py-frame-inline.exp
8556 * gdb.python/py-frame.exp
8557 * gdb.python/py-framefilter-mi.exp
8558 * gdb.python/py-infthread.exp
8559 * gdb.python/py-lazy-string.exp
8560 * gdb.python/py-linetable.exp
8561 * gdb.python/py-mi-events.exp
8562 * gdb.python/py-mi-objfile.exp
8563 * gdb.python/py-mi.exp
8564 * gdb.python/py-objfile.exp
8565 * gdb.python/py-pp-integral.exp
8566 * gdb.python/py-pp-maint.exp
8567 * gdb.python/py-pp-re-notag.exp
8568 * gdb.python/py-pp-registration.exp
8569 * gdb.python/py-recurse-unwind.exp
8570 * gdb.python/py-strfns.exp
8571 * gdb.python/py-symbol.exp
8572 * gdb.python/py-symtab.exp
8573 * gdb.python/py-sync-interp.exp
8574 * gdb.python/py-typeprint.exp
8575 * gdb.python/py-unwind-maint.exp
8576 * gdb.python/py-unwind.exp
8577 * gdb.python/py-value-cc.exp
8578 * gdb.python/py-xmethods.exp
8579 * gdb.reverse/amd64-tailcall-reverse.exp
8580 * gdb.reverse/break-precsave.exp
8581 * gdb.reverse/break-reverse.exp
8582 * gdb.reverse/consecutive-precsave.exp
8583 * gdb.reverse/consecutive-reverse.exp
8584 * gdb.reverse/finish-precsave.exp
8585 * gdb.reverse/finish-reverse-bkpt.exp
8586 * gdb.reverse/finish-reverse.exp
8587 * gdb.reverse/fstatat-reverse.exp
8588 * gdb.reverse/getresuid-reverse.exp
8589 * gdb.reverse/i386-precsave.exp
8590 * gdb.reverse/i386-reverse.exp
8591 * gdb.reverse/i386-sse-reverse.exp
8592 * gdb.reverse/i387-env-reverse.exp
8593 * gdb.reverse/i387-stack-reverse.exp
8594 * gdb.reverse/insn-reverse.exp
8595 * gdb.reverse/machinestate-precsave.exp
8596 * gdb.reverse/machinestate.exp
8597 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8598 * gdb.reverse/pipe-reverse.exp
8599 * gdb.reverse/readv-reverse.exp
8600 * gdb.reverse/recvmsg-reverse.exp
8601 * gdb.reverse/rerun-prec.exp
8602 * gdb.reverse/s390-mvcle.exp
8603 * gdb.reverse/step-precsave.exp
8604 * gdb.reverse/step-reverse.exp
8605 * gdb.reverse/time-reverse.exp
8606 * gdb.reverse/until-precsave.exp
8607 * gdb.reverse/until-reverse.exp
8608 * gdb.reverse/waitpid-reverse.exp
8609 * gdb.reverse/watch-precsave.exp
8610 * gdb.reverse/watch-reverse.exp
8611 * gdb.rust/generics.exp
8612 * gdb.rust/methods.exp
8613 * gdb.rust/modules.exp
8614 * gdb.rust/simple.exp
8615 * gdb.server/connect-with-no-symbol-file.exp
8616 * gdb.server/ext-attach.exp
8617 * gdb.server/ext-restart.exp
8618 * gdb.server/ext-wrapper.exp
8619 * gdb.server/file-transfer.exp
8620 * gdb.server/server-exec-info.exp
8621 * gdb.server/server-kill.exp
8622 * gdb.server/server-mon.exp
8623 * gdb.server/wrapper.exp
8624 * gdb.stabs/exclfwd.exp
8625 * gdb.stabs/gdb11479.exp
8626 * gdb.threads/clone-new-thread-event.exp
8627 * gdb.threads/corethreads.exp
8628 * gdb.threads/current-lwp-dead.exp
8629 * gdb.threads/dlopen-libpthread.exp
8630 * gdb.threads/gcore-thread.exp
8631 * gdb.threads/sigstep-threads.exp
8632 * gdb.threads/watchpoint-fork.exp
8633 * gdb.trace/actions-changed.exp
8634 * gdb.trace/backtrace.exp
8635 * gdb.trace/change-loc.exp
8636 * gdb.trace/circ.exp
8637 * gdb.trace/collection.exp
8638 * gdb.trace/disconnected-tracing.exp
8639 * gdb.trace/ftrace.exp
8640 * gdb.trace/mi-trace-frame-collected.exp
8641 * gdb.trace/mi-trace-unavailable.exp
8642 * gdb.trace/mi-traceframe-changed.exp
8643 * gdb.trace/mi-tsv-changed.exp
8644 * gdb.trace/no-attach-trace.exp
8645 * gdb.trace/passc-dyn.exp
8646 * gdb.trace/qtro.exp
8647 * gdb.trace/range-stepping.exp
8648 * gdb.trace/read-memory.exp
8649 * gdb.trace/save-trace.exp
8650 * gdb.trace/signal.exp
8651 * gdb.trace/status-stop.exp
8652 * gdb.trace/tfile.exp
8653 * gdb.trace/trace-break.exp
8654 * gdb.trace/trace-buffer-size.exp
8655 * gdb.trace/trace-condition.exp
8656 * gdb.trace/tracefile-pseudo-reg.exp
8657 * gdb.trace/tstatus.exp
8658 * gdb.trace/unavailable.exp
8659 * gdb.trace/while-dyn.exp
8660 * gdb.trace/while-stepping.exp
8661
34c41c68
DE
86622016-12-22 Doug Evans <xdje42@gmail.com>
8663
8664 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
8665 and msymbols.
8666
16e69324
YQ
86672016-12-19 Yao Qi <yao.qi@linaro.org>
8668
8669 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
8670 (test_with_self): Don't call do_steps_and_nexts, and remove
8671 code about stepping into xmalloc.
8672
f94f411b
YQ
86732016-12-09 Yao Qi <yao.qi@linaro.org>
8674
8675 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
8676
86772016-12-09 Yao Qi <yao.qi@linaro.org>
8678
8679 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
8680
f1b5deee
PA
86812016-12-09 Pedro Alves <palves@redhat.com>
8682
8683 * gdb.base/all-architectures-0.exp: New file.
8684 * gdb.base/all-architectures-1.exp: New file.
8685 * gdb.base/all-architectures-2.exp: New file.
8686 * gdb.base/all-architectures-3.exp: New file.
8687 * gdb.base/all-architectures-4.exp: New file.
8688 * gdb.base/all-architectures-5.exp: New file.
8689 * gdb.base/all-architectures-6.exp: New file.
8690 * gdb.base/all-architectures-7.exp: New file.
8691 * gdb.base/all-architectures.exp.in: New file.
8692
364ca42e
YQ
86932016-12-09 Yao Qi <yao.qi@linaro.org>
8694
8695 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
8696
107c2d62
LM
86972016-12-02 Luis Machado <lgustavo@codesourcery.com>
8698
8699 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
8700 possible.
8701 Remove useless pattern-matching code.
8702
df3ee9ca
PA
87032016-12-02 Pedro Alves <palves@redhat.com>
8704
8705 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
8706 procedure.
8707 (top level): Call it.
8708
ec835369
PA
87092016-12-02 Pedro Alves <palves@redhat.com>
8710
8711 * gdb.base/commands.exp (user_defined_command_args_stack_test):
8712 New procedure.
8713 (top level): Call it.
8714
01770bbd
PA
87152016-12-02 Pedro Alves <palves@redhat.com>
8716
8717 PR cli/20559
8718 * gdb.base/commands.exp (user_defined_command_args_eval): New
8719 procedure.
8720 (top level): Call it.
8721
008459ea
LM
87222016-12-02 Luis Machado <lgustavo@codesourcery.com>
8723
8724 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
8725 timeout handling.
8726
0c1b455e
TT
87272016-12-02 Tom Tromey <tom@tromey.com>
8728
8729 * gdb.dwarf2/main-subprogram.c: New file.
8730 * gdb.dwarf2/main-subprogram.exp: New file.
8731
018572b8
LM
87322016-12-01 Luis Machado <lgustavo@codesourcery.com>
8733
8734 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
8735 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
8736 gdb_test_no_output for a couple of cases.
8737 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
8738
84c93cd5
LM
87392016-12-01 Luis Machado <lgustavo@codesourcery.com>
8740
8741 Fix test names and standardize compilation error messages throughout
8742 the following files:
8743
8744 * gdb.ada/start.exp
8745 * gdb.arch/alpha-step.exp
8746 * gdb.arch/e500-prologue.exp
8747 * gdb.arch/ftrace-insn-reloc.exp
8748 * gdb.arch/gdb1291.exp
8749 * gdb.arch/gdb1431.exp
8750 * gdb.arch/gdb1558.exp
8751 * gdb.arch/i386-dr3-watch.exp
8752 * gdb.arch/i386-sse-stack-align.exp
8753 * gdb.arch/ia64-breakpoint-shadow.exp
8754 * gdb.arch/pa-nullify.exp
8755 * gdb.arch/powerpc-aix-prologue.exp
8756 * gdb.arch/thumb-bx-pc.exp
8757 * gdb.base/annota1.exp
8758 * gdb.base/annota3.exp
8759 * gdb.base/arrayidx.exp
8760 * gdb.base/assign.exp
8761 * gdb.base/attach.exp
8762 * gdb.base/auxv.exp
8763 * gdb.base/bang.exp
8764 * gdb.base/bfp-test.exp
8765 * gdb.base/bigcore.exp
8766 * gdb.base/bitfields2.exp
8767 * gdb.base/break-fun-addr.exp
8768 * gdb.base/break-probes.exp
8769 * gdb.base/call-rt-st.exp
8770 * gdb.base/callexit.exp
8771 * gdb.base/catch-fork-kill.exp
8772 * gdb.base/charset.exp
8773 * gdb.base/checkpoint.exp
8774 * gdb.base/comprdebug.exp
8775 * gdb.base/constvars.exp
8776 * gdb.base/coredump-filter.exp
8777 * gdb.base/cursal.exp
8778 * gdb.base/cvexpr.exp
8779 * gdb.base/detach.exp
8780 * gdb.base/display.exp
8781 * gdb.base/dmsym.exp
8782 * gdb.base/dprintf-pending.exp
8783 * gdb.base/dso2dso.exp
8784 * gdb.base/dtrace-probe.exp
8785 * gdb.base/dump.exp
8786 * gdb.base/enum_cond.exp
8787 * gdb.base/exe-lock.exp
8788 * gdb.base/exec-invalid-sysroot.exp
8789 * gdb.base/execl-update-breakpoints.exp
8790 * gdb.base/exprs.exp
8791 * gdb.base/fileio.exp
8792 * gdb.base/find.exp
8793 * gdb.base/finish.exp
8794 * gdb.base/fixsection.exp
8795 * gdb.base/foll-vfork.exp
8796 * gdb.base/frame-args.exp
8797 * gdb.base/gcore.exp
8798 * gdb.base/gdb1250.exp
8799 * gdb.base/global-var-nested-by-dso.exp
8800 * gdb.base/gnu-ifunc.exp
8801 * gdb.base/hashline1.exp
8802 * gdb.base/hashline2.exp
8803 * gdb.base/hashline3.exp
8804 * gdb.base/hbreak-in-shr-unsupported.exp
8805 * gdb.base/huge.exp
8806 * gdb.base/infcall-input.exp
8807 * gdb.base/info-fun.exp
8808 * gdb.base/info-shared.exp
8809 * gdb.base/jit-simple.exp
8810 * gdb.base/jit-so.exp
8811 * gdb.base/jit.exp
8812 * gdb.base/jump.exp
8813 * gdb.base/label.exp
8814 * gdb.base/lineinc.exp
8815 * gdb.base/logical.exp
8816 * gdb.base/longjmp.exp
8817 * gdb.base/macscp.exp
8818 * gdb.base/miscexprs.exp
8819 * gdb.base/new-ui-echo.exp
8820 * gdb.base/new-ui-pending-input.exp
8821 * gdb.base/new-ui.exp
8822 * gdb.base/nodebug.exp
8823 * gdb.base/nofield.exp
8824 * gdb.base/offsets.exp
8825 * gdb.base/overlays.exp
8826 * gdb.base/pending.exp
8827 * gdb.base/pointers.exp
8828 * gdb.base/pr11022.exp
8829 * gdb.base/printcmds.exp
8830 * gdb.base/prologue.exp
8831 * gdb.base/ptr-typedef.exp
8832 * gdb.base/realname-expand.exp
8833 * gdb.base/relativedebug.exp
8834 * gdb.base/relocate.exp
8835 * gdb.base/remote.exp
8836 * gdb.base/reread.exp
8837 * gdb.base/return2.exp
8838 * gdb.base/savedregs.exp
8839 * gdb.base/sep.exp
8840 * gdb.base/sepdebug.exp
8841 * gdb.base/sepsymtab.exp
8842 * gdb.base/set-inferior-tty.exp
8843 * gdb.base/setshow.exp
8844 * gdb.base/shlib-call.exp
8845 * gdb.base/sigaltstack.exp
8846 * gdb.base/siginfo-addr.exp
8847 * gdb.base/signals.exp
8848 * gdb.base/signull.exp
8849 * gdb.base/sigrepeat.exp
8850 * gdb.base/so-impl-ld.exp
8851 * gdb.base/solib-display.exp
8852 * gdb.base/solib-overlap.exp
8853 * gdb.base/solib-search.exp
8854 * gdb.base/solib-symbol.exp
8855 * gdb.base/structs.exp
8856 * gdb.base/structs2.exp
8857 * gdb.base/symtab-search-order.exp
8858 * gdb.base/twice.exp
8859 * gdb.base/unload.exp
8860 * gdb.base/varargs.exp
8861 * gdb.base/watchpoint-solib.exp
8862 * gdb.base/watchpoint.exp
8863 * gdb.base/whatis.exp
8864 * gdb.base/wrong_frame_bt_full.exp
8865 * gdb.btrace/dlopen.exp
8866 * gdb.cell/ea-standalone.exp
8867 * gdb.cell/ea-test.exp
8868 * gdb.cp/dispcxx.exp
8869 * gdb.cp/gdb2384.exp
8870 * gdb.cp/method2.exp
8871 * gdb.cp/nextoverthrow.exp
8872 * gdb.cp/pr10728.exp
8873 * gdb.disasm/am33.exp
8874 * gdb.disasm/h8300s.exp
8875 * gdb.disasm/mn10300.exp
8876 * gdb.disasm/sh3.exp
8877 * gdb.dwarf2/dw2-dir-file-name.exp
8878 * gdb.fortran/complex.exp
8879 * gdb.fortran/library-module.exp
8880 * gdb.guile/scm-pretty-print.exp
8881 * gdb.guile/scm-symbol.exp
8882 * gdb.guile/scm-type.exp
8883 * gdb.guile/scm-value.exp
8884 * gdb.linespec/linespec.exp
8885 * gdb.mi/gdb701.exp
8886 * gdb.mi/gdb792.exp
8887 * gdb.mi/mi-breakpoint-changed.exp
8888 * gdb.mi/mi-dprintf-pending.exp
8889 * gdb.mi/mi-dprintf.exp
8890 * gdb.mi/mi-exit-code.exp
8891 * gdb.mi/mi-pending.exp
8892 * gdb.mi/mi-solib.exp
8893 * gdb.mi/new-ui-mi-sync.exp
8894 * gdb.mi/pr11022.exp
8895 * gdb.mi/user-selected-context-sync.exp
8896 * gdb.opt/solib-intra-step.exp
8897 * gdb.python/py-events.exp
8898 * gdb.python/py-finish-breakpoint.exp
8899 * gdb.python/py-mi.exp
8900 * gdb.python/py-prettyprint.exp
8901 * gdb.python/py-shared.exp
8902 * gdb.python/py-symbol.exp
8903 * gdb.python/py-template.exp
8904 * gdb.python/py-type.exp
8905 * gdb.python/py-value.exp
8906 * gdb.reverse/solib-precsave.exp
8907 * gdb.reverse/solib-reverse.exp
8908 * gdb.server/solib-list.exp
8909 * gdb.stabs/weird.exp
8910 * gdb.threads/reconnect-signal.exp
8911 * gdb.threads/stepi-random-signal.exp
8912 * gdb.trace/actions.exp
8913 * gdb.trace/ax.exp
8914 * gdb.trace/backtrace.exp
8915 * gdb.trace/change-loc.exp
8916 * gdb.trace/deltrace.exp
8917 * gdb.trace/ftrace-lock.exp
8918 * gdb.trace/ftrace.exp
8919 * gdb.trace/infotrace.exp
8920 * gdb.trace/mi-tracepoint-changed.exp
8921 * gdb.trace/packetlen.exp
8922 * gdb.trace/passcount.exp
8923 * gdb.trace/pending.exp
8924 * gdb.trace/range-stepping.exp
8925 * gdb.trace/report.exp
8926 * gdb.trace/stap-trace.exp
8927 * gdb.trace/tfind.exp
8928 * gdb.trace/trace-break.exp
8929 * gdb.trace/trace-condition.exp
8930 * gdb.trace/trace-enable-disable.exp
8931 * gdb.trace/trace-mt.exp
8932 * gdb.trace/tracecmd.exp
8933 * gdb.trace/tspeed.exp
8934 * gdb.trace/tsv.exp
8935 * lib/perftest.exp
8936
fb9feb35
LM
89372016-12-01 Luis Machado <lgustavo@codesourcery.com>
8938
8939 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
8940 with gdb_test_no_output.
8941 Use command as test name.
8942
cd2ddb6c
LM
89432016-12-01 Luis Machado <lgustavo@codesourcery.com>
8944
8945 Fix test names starting with uppercase throughout the files.
8946
8947 * gdb.ada/assign_1.exp
8948 * gdb.ada/boolean_expr.exp
8949 * gdb.base/arrayidx.exp
8950 * gdb.base/del.exp
8951 * gdb.base/gcore-buffer-overflow.exp
8952 * gdb.base/testenv.exp
8953 * gdb.compile/compile.exp
8954 * gdb.python/py-framefilter-invalidarg.exp
8955 * gdb.python/py-framefilter.exp
8956
bb95117e
LM
89572016-12-01 Luis Machado <lgustavo@codesourcery.com>
8958
8959 Fix test names starting with uppercase throughout the files.
8960
8961 * gdb.ada/array_return.exp
8962 * gdb.ada/expr_delims.exp
8963 * gdb.ada/mi_dyn_arr.exp
8964 * gdb.ada/mi_interface.exp
8965 * gdb.ada/mi_var_array.exp
8966 * gdb.ada/watch_arg.exp
8967 * gdb.arch/alpha-step.exp
8968 * gdb.arch/altivec-regs.exp
8969 * gdb.arch/e500-regs.exp
8970 * gdb.arch/powerpc-d128-regs.exp
8971 * gdb.base/arrayidx.exp
8972 * gdb.base/break.exp
8973 * gdb.base/checkpoint.exp
8974 * gdb.base/debug-expr.exp
8975 * gdb.base/dmsym.exp
8976 * gdb.base/radix.exp
8977 * gdb.base/sepdebug.exp
8978 * gdb.base/testenv.exp
8979 * gdb.base/watch_thread_num.exp
8980 * gdb.base/watchpoint-cond-gone.exp
8981 * gdb.cell/break.exp
8982 * gdb.cell/ea-cache.exp
8983 * gdb.compile/compile.exp
8984 * gdb.cp/gdb2495.exp
8985 * gdb.gdb/selftest.exp
8986 * gdb.gdb/xfullpath.exp
8987 * gdb.go/hello.exp
8988 * gdb.go/integers.exp
8989 * gdb.objc/basicclass.exp
8990 * gdb.pascal/hello.exp
8991 * gdb.pascal/integers.exp
8992 * gdb.python/py-breakpoint.exp
8993 * gdb.python/py-cmd.exp
8994 * gdb.python/py-linetable.exp
8995 * gdb.python/py-xmethods.exp
8996 * gdb.python/python.exp
8997 * gdb.reverse/consecutive-precsave.exp
8998 * gdb.reverse/finish-precsave.exp
8999 * gdb.reverse/i386-precsave.exp
9000 * gdb.reverse/machinestate-precsave.exp
9001 * gdb.reverse/sigall-precsave.exp
9002 * gdb.reverse/solib-precsave.exp
9003 * gdb.reverse/step-precsave.exp
9004 * gdb.reverse/until-precsave.exp
9005 * gdb.reverse/watch-precsave.exp
9006 * gdb.threads/leader-exit.exp
9007 * gdb.threads/pthreads.exp
9008 * gdb.threads/wp-replication.exp
9009 * gdb.trace/actions.exp
9010 * gdb.trace/mi-tsv-changed.exp
9011 * gdb.trace/tsv.exp
9012
de97fdd4
LM
90132016-12-01 Luis Machado <lgustavo@codesourcery.com>
9014
9015 Fix test names starting with uppercase throughout the files.
9016
9017 * gdb.arch/i386-bp_permanent.exp
9018 * gdb.arch/i386-gnu-cfi.exp
9019 * gdb.base/disasm-end-cu.exp
9020 * gdb.base/macscp.exp
9021 * gdb.base/pending.exp
9022 * gdb.base/watch_thread_num.exp
9023 * gdb.cp/exception.exp
9024 * gdb.cp/gdb2495.exp
9025 * gdb.cp/local.exp
9026 * gdb.python/py-evsignal.exp
9027 * gdb.python/python.exp
9028 * gdb.trace/tracecmd.exp
9029
9f058c10
LM
90302016-12-01 Luis Machado <lgustavo@codesourcery.com>
9031
9032 Fix test names starting with uppercase throughout the files.
9033
9034 * gdb.base/charset.exp
9035 * gdb.base/eval.exp
9036 * gdb.base/multi-forks.exp
9037 * gdb.guile/scm-progspace.exp
9038 * gdb.opencl/datatypes.exp
9039 * gdb.python/py-block.exp
9040 * gdb.python/py-function.exp
9041 * gdb.python/py-symbol.exp
9042 * gdb.python/py-symtab.exp
9043 * gdb.python/py-xmethods.exp
9044 * gdb.reverse/break-precsave.exp
9045 * gdb.reverse/break-reverse.exp
9046 * gdb.reverse/consecutive-precsave.exp
9047 * gdb.reverse/consecutive-reverse.exp
9048 * gdb.reverse/finish-precsave.exp
9049 * gdb.reverse/finish-reverse-bkpt.exp
9050 * gdb.reverse/finish-reverse.exp
9051 * gdb.reverse/fstatat-reverse.exp
9052 * gdb.reverse/getresuid-reverse.exp
9053 * gdb.reverse/i386-precsave.exp
9054 * gdb.reverse/i386-reverse.exp
9055 * gdb.reverse/i386-sse-reverse.exp
9056 * gdb.reverse/i387-stack-reverse.exp
9057 * gdb.reverse/insn-reverse.exp
9058 * gdb.reverse/machinestate-precsave.exp
9059 * gdb.reverse/machinestate.exp
9060 * gdb.reverse/next-reverse-bkpt-over-sr.exp
9061 * gdb.reverse/pipe-reverse.exp
9062 * gdb.reverse/readv-reverse.exp
9063 * gdb.reverse/recvmsg-reverse.exp
9064 * gdb.reverse/rerun-prec.exp
9065 * gdb.reverse/s390-mvcle.exp
9066 * gdb.reverse/sigall-precsave.exp
9067 * gdb.reverse/sigall-reverse.exp
9068 * gdb.reverse/solib-precsave.exp
9069 * gdb.reverse/solib-reverse.exp
9070 * gdb.reverse/step-precsave.exp
9071 * gdb.reverse/step-reverse.exp
9072 * gdb.reverse/time-reverse.exp
9073 * gdb.reverse/until-precsave.exp
9074 * gdb.reverse/until-reverse.exp
9075 * gdb.reverse/waitpid-reverse.exp
9076 * gdb.reverse/watch-precsave.exp
9077 * gdb.reverse/watch-reverse.exp
9078
cdc7edd7
LM
90792016-12-01 Luis Machado <lgustavo@codesourcery.com>
9080
9081 Fix test names starting with uppercase throughout the files.
9082
9083 * gdb.arch/i386-mpx-simple_segv.exp
9084 * gdb.arch/i386-mpx.exp
9085 * gdb.arch/i386-permbkpt.exp
9086 * gdb.arch/pa-nullify.exp
9087 * gdb.arch/powerpc-d128-regs.exp
9088 * gdb.arch/vsx-regs.exp
9089 * gdb.base/bfp-test.exp
9090 * gdb.base/break.exp
9091 * gdb.base/breakpoint-shadow.exp
9092 * gdb.base/callfuncs.exp
9093 * gdb.base/charset.exp
9094 * gdb.base/commands.exp
9095 * gdb.base/completion.exp
9096 * gdb.base/dfp-test.exp
9097 * gdb.base/echo.exp
9098 * gdb.base/ending-run.exp
9099 * gdb.base/eval.exp
9100 * gdb.base/expand-psymtabs.exp
9101 * gdb.base/float128.exp
9102 * gdb.base/floatn.exp
9103 * gdb.base/foll-exec-mode.exp
9104 * gdb.base/gdb1056.exp
9105 * gdb.base/gdb11531.exp
9106 * gdb.base/kill-after-signal.exp
9107 * gdb.base/multi-forks.exp
9108 * gdb.base/overlays.exp
9109 * gdb.base/pending.exp
9110 * gdb.base/sepdebug.exp
9111 * gdb.base/testenv.exp
9112 * gdb.base/valgrind-db-attach.exp
9113 * gdb.base/watch_thread_num.exp
9114 * gdb.base/watchpoint-cond-gone.exp
9115 * gdb.base/watchpoint.exp
9116 * gdb.base/watchpoints.exp
9117 * gdb.cp/arg-reference.exp
9118 * gdb.cp/baseenum.exp
9119 * gdb.cp/operator.exp
9120 * gdb.cp/shadow.exp
9121 * gdb.dwarf2/dw2-op-out-param.exp
9122 * gdb.dwarf2/dw2-reg-undefined.exp
9123 * gdb.go/chan.exp
9124 * gdb.go/hello.exp
9125 * gdb.go/integers.exp
9126 * gdb.go/methods.exp
9127 * gdb.go/package.exp
9128 * gdb.guile/scm-parameter.exp
9129 * gdb.guile/scm-progspace.exp
9130 * gdb.guile/scm-value.exp
9131 * gdb.mi/mi-pending.exp
9132 * gdb.mi/user-selected-context-sync.exp
9133 * gdb.multi/multi-attach.exp
9134 * gdb.multi/tids.exp
9135 * gdb.opt/clobbered-registers-O2.exp
9136 * gdb.pascal/floats.exp
9137 * gdb.pascal/integers.exp
9138 * gdb.python/py-block.exp
9139 * gdb.python/py-events.exp
9140 * gdb.python/py-parameter.exp
9141 * gdb.python/py-symbol.exp
9142 * gdb.python/py-symtab.exp
9143 * gdb.python/py-type.exp
9144 * gdb.python/py-value.exp
9145 * gdb.python/py-xmethods.exp
9146 * gdb.python/python.exp
9147 * gdb.reverse/break-precsave.exp
9148 * gdb.reverse/consecutive-precsave.exp
9149 * gdb.reverse/finish-precsave.exp
9150 * gdb.reverse/i386-precsave.exp
9151 * gdb.reverse/machinestate-precsave.exp
9152 * gdb.reverse/sigall-precsave.exp
9153 * gdb.reverse/solib-precsave.exp
9154 * gdb.reverse/step-precsave.exp
9155 * gdb.reverse/until-precsave.exp
9156 * gdb.reverse/watch-precsave.exp
9157 * gdb.server/ext-attach.exp
9158 * gdb.server/ext-restart.exp
9159 * gdb.server/ext-run.exp
9160 * gdb.server/ext-wrapper.exp
9161 * gdb.stabs/gdb11479.exp
9162 * gdb.stabs/weird.exp
9163 * gdb.threads/attach-many-short-lived-threads.exp
9164 * gdb.threads/kill.exp
9165 * gdb.threads/watchpoint-fork.exp
9166
bc6c7af4
LM
91672016-12-01 Luis Machado <lgustavo@codesourcery.com>
9168
9169 Fix test names starting with uppercase throughout all the files below.
9170
9171 * gdb.ada/array_return.exp
9172 * gdb.ada/catch_ex.exp
9173 * gdb.ada/info_exc.exp
9174 * gdb.ada/mi_catch_ex.exp
9175 * gdb.ada/mi_dyn_arr.exp
9176 * gdb.ada/mi_ex_cond.exp
9177 * gdb.ada/mi_exc_info.exp
9178 * gdb.ada/mi_interface.exp
9179 * gdb.ada/mi_task_arg.exp
9180 * gdb.ada/mi_task_info.exp
9181 * gdb.ada/mi_var_array.exp
9182 * gdb.arch/alpha-step.exp
9183 * gdb.arch/amd64-disp-step.exp
9184 * gdb.arch/arm-disp-step.exp
9185 * gdb.arch/disp-step-insn-reloc.exp
9186 * gdb.arch/e500-prologue.exp
9187 * gdb.arch/ftrace-insn-reloc.exp
9188 * gdb.arch/gdb1558.exp
9189 * gdb.arch/i386-bp_permanent.exp
9190 * gdb.arch/i386-disp-step.exp
9191 * gdb.arch/i386-float.exp
9192 * gdb.arch/i386-gnu-cfi.exp
9193 * gdb.arch/ia64-breakpoint-shadow.exp
9194 * gdb.arch/mips16-thunks.exp
9195 * gdb.arch/pa-nullify.exp
9196 * gdb.arch/powerpc-aix-prologue.exp
9197 * gdb.arch/powerpc-power.exp
9198 * gdb.arch/ppc-dfp.exp
9199 * gdb.arch/s390-tdbregs.exp
9200 * gdb.arch/spu-info.exp
9201 * gdb.arch/spu-ls.exp
9202 * gdb.arch/thumb-bx-pc.exp
9203 * gdb.base/advance.exp
9204 * gdb.base/annota-input-while-running.exp
9205 * gdb.base/arrayidx.exp
9206 * gdb.base/asmlabel.exp
9207 * gdb.base/async.exp
9208 * gdb.base/attach-wait-input.exp
9209 * gdb.base/auto-connect-native-target.exp
9210 * gdb.base/batch-preserve-term-settings.exp
9211 * gdb.base/bfp-test.exp
9212 * gdb.base/bigcore.exp
9213 * gdb.base/bp-permanent.exp
9214 * gdb.base/break-always.exp
9215 * gdb.base/break-fun-addr.exp
9216 * gdb.base/break-idempotent.exp
9217 * gdb.base/break-main-file-remove-fail.exp
9218 * gdb.base/break-probes.exp
9219 * gdb.base/break-unload-file.exp
9220 * gdb.base/break.exp
9221 * gdb.base/call-ar-st.exp
9222 * gdb.base/call-rt-st.exp
9223 * gdb.base/call-sc.exp
9224 * gdb.base/call-signal-resume.exp
9225 * gdb.base/call-strs.exp
9226 * gdb.base/callexit.exp
9227 * gdb.base/callfuncs.exp
9228 * gdb.base/catch-gdb-caused-signals.exp
9229 * gdb.base/catch-signal-siginfo-cond.exp
9230 * gdb.base/catch-syscall.exp
9231 * gdb.base/compare-sections.exp
9232 * gdb.base/cond-eval-mode.exp
9233 * gdb.base/condbreak-call-false.exp
9234 * gdb.base/consecutive-step-over.exp
9235 * gdb.base/cursal.exp
9236 * gdb.base/disabled-location.exp
9237 * gdb.base/disasm-end-cu.exp
9238 * gdb.base/display.exp
9239 * gdb.base/double-prompt-target-event-error.exp
9240 * gdb.base/dprintf-bp-same-addr.exp
9241 * gdb.base/dprintf-detach.exp
9242 * gdb.base/dprintf-next.exp
9243 * gdb.base/dprintf-non-stop.exp
9244 * gdb.base/dprintf-pending.exp
9245 * gdb.base/dso2dso.exp
9246 * gdb.base/ending-run.exp
9247 * gdb.base/enum_cond.exp
9248 * gdb.base/examine-backward.exp
9249 * gdb.base/exe-lock.exp
9250 * gdb.base/exec-invalid-sysroot.exp
9251 * gdb.base/execl-update-breakpoints.exp
9252 * gdb.base/execution-termios.exp
9253 * gdb.base/fileio.exp
9254 * gdb.base/fixsection.exp
9255 * gdb.base/foll-exec-mode.exp
9256 * gdb.base/foll-exec.exp
9257 * gdb.base/fork-running-state.exp
9258 * gdb.base/frame-args.exp
9259 * gdb.base/fullpath-expand.exp
9260 * gdb.base/func-ptr.exp
9261 * gdb.base/gcore-relro-pie.exp
9262 * gdb.base/gdb1090.exp
9263 * gdb.base/gdb1555.exp
9264 * gdb.base/global-var-nested-by-dso.exp
9265 * gdb.base/gnu-ifunc.exp
9266 * gdb.base/hbreak-in-shr-unsupported.exp
9267 * gdb.base/hbreak-unmapped.exp
9268 * gdb.base/hook-stop.exp
9269 * gdb.base/infcall-input.exp
9270 * gdb.base/info-fun.exp
9271 * gdb.base/info-shared.exp
9272 * gdb.base/interrupt-noterm.exp
9273 * gdb.base/jit-so.exp
9274 * gdb.base/jit.exp
9275 * gdb.base/line-symtabs.exp
9276 * gdb.base/list.exp
9277 * gdb.base/longjmp.exp
9278 * gdb.base/macscp.exp
9279 * gdb.base/max-value-size.exp
9280 * gdb.base/nodebug.exp
9281 * gdb.base/nofield.exp
9282 * gdb.base/overlays.exp
9283 * gdb.base/paginate-after-ctrl-c-running.exp
9284 * gdb.base/paginate-bg-execution.exp
9285 * gdb.base/paginate-inferior-exit.exp
9286 * gdb.base/pending.exp
9287 * gdb.base/pr11022.exp
9288 * gdb.base/printcmds.exp
9289 * gdb.base/ptr-typedef.exp
9290 * gdb.base/ptype.exp
9291 * gdb.base/randomize.exp
9292 * gdb.base/range-stepping.exp
9293 * gdb.base/realname-expand.exp
9294 * gdb.base/relativedebug.exp
9295 * gdb.base/remote.exp
9296 * gdb.base/savedregs.exp
9297 * gdb.base/sepdebug.exp
9298 * gdb.base/set-noassign.exp
9299 * gdb.base/shlib-call.exp
9300 * gdb.base/shreloc.exp
9301 * gdb.base/sigaltstack.exp
9302 * gdb.base/sigbpt.exp
9303 * gdb.base/siginfo-addr.exp
9304 * gdb.base/siginfo-obj.exp
9305 * gdb.base/siginfo-thread.exp
9306 * gdb.base/signest.exp
9307 * gdb.base/signull.exp
9308 * gdb.base/sigrepeat.exp
9309 * gdb.base/skip.exp
9310 * gdb.base/so-impl-ld.exp
9311 * gdb.base/solib-corrupted.exp
9312 * gdb.base/solib-disc.exp
9313 * gdb.base/solib-display.exp
9314 * gdb.base/solib-overlap.exp
9315 * gdb.base/solib-search.exp
9316 * gdb.base/solib-symbol.exp
9317 * gdb.base/source-execution.exp
9318 * gdb.base/sss-bp-on-user-bp-2.exp
9319 * gdb.base/sss-bp-on-user-bp.exp
9320 * gdb.base/stack-checking.exp
9321 * gdb.base/stale-infcall.exp
9322 * gdb.base/step-break.exp
9323 * gdb.base/step-line.exp
9324 * gdb.base/step-over-exit.exp
9325 * gdb.base/step-test.exp
9326 * gdb.base/structs.exp
9327 * gdb.base/sym-file.exp
9328 * gdb.base/symtab-search-order.exp
9329 * gdb.base/term.exp
9330 * gdb.base/type-opaque.exp
9331 * gdb.base/unload.exp
9332 * gdb.base/until-nodebug.exp
9333 * gdb.base/until.exp
9334 * gdb.base/unwindonsignal.exp
9335 * gdb.base/watch-cond.exp
9336 * gdb.base/watch-non-mem.exp
9337 * gdb.base/watch_thread_num.exp
9338 * gdb.base/watchpoint-reuse-slot.exp
9339 * gdb.base/watchpoint-solib.exp
9340 * gdb.base/watchpoint.exp
9341 * gdb.btrace/dlopen.exp
9342 * gdb.cell/arch.exp
9343 * gdb.cell/break.exp
9344 * gdb.cell/bt.exp
9345 * gdb.cell/core.exp
9346 * gdb.cell/data.exp
9347 * gdb.cell/dwarfaddr.exp
9348 * gdb.cell/ea-cache.exp
9349 * gdb.cell/ea-standalone.exp
9350 * gdb.cell/ea-test.exp
9351 * gdb.cell/f-regs.exp
9352 * gdb.cell/fork.exp
9353 * gdb.cell/gcore.exp
9354 * gdb.cell/mem-access.exp
9355 * gdb.cell/ptype.exp
9356 * gdb.cell/registers.exp
9357 * gdb.cell/sizeof.exp
9358 * gdb.cell/solib-symbol.exp
9359 * gdb.cell/solib.exp
9360 * gdb.compile/compile-tls.exp
9361 * gdb.cp/exception.exp
9362 * gdb.cp/gdb2495.exp
9363 * gdb.cp/local.exp
9364 * gdb.cp/mb-inline.exp
9365 * gdb.cp/mb-templates.exp
9366 * gdb.cp/pr10687.exp
9367 * gdb.cp/pr9167.exp
9368 * gdb.cp/scope-err.exp
9369 * gdb.cp/templates.exp
9370 * gdb.cp/virtfunc.exp
9371 * gdb.dwarf2/dw2-dir-file-name.exp
9372 * gdb.dwarf2/dw2-single-line-discriminators.exp
9373 * gdb.fortran/complex.exp
9374 * gdb.fortran/library-module.exp
9375 * gdb.guile/guile.exp
9376 * gdb.guile/scm-cmd.exp
9377 * gdb.guile/scm-frame-inline.exp
9378 * gdb.guile/scm-objfile.exp
9379 * gdb.guile/scm-pretty-print.exp
9380 * gdb.guile/scm-symbol.exp
9381 * gdb.guile/scm-type.exp
9382 * gdb.guile/scm-value.exp
9383 * gdb.linespec/keywords.exp
9384 * gdb.linespec/ls-errs.exp
9385 * gdb.linespec/macro-relative.exp
9386 * gdb.linespec/thread.exp
9387 * gdb.mi/mi-breakpoint-changed.exp
9388 * gdb.mi/mi-dprintf-pending.exp
9389 * gdb.mi/mi-fullname-deleted.exp
9390 * gdb.mi/mi-logging.exp
9391 * gdb.mi/mi-pending.exp
9392 * gdb.mi/mi-solib.exp
9393 * gdb.mi/new-ui-mi-sync.exp
9394 * gdb.mi/user-selected-context-sync.exp
9395 * gdb.multi/dummy-frame-restore.exp
9396 * gdb.multi/multi-arch-exec.exp
9397 * gdb.multi/remove-inferiors.exp
9398 * gdb.multi/watchpoint-multi-exit.exp
9399 * gdb.opt/solib-intra-step.exp
9400 * gdb.perf/backtrace.exp
9401 * gdb.perf/single-step.exp
9402 * gdb.perf/skip-command.exp
9403 * gdb.perf/skip-prologue.exp
9404 * gdb.perf/solib.exp
9405 * gdb.python/lib-types.exp
9406 * gdb.python/py-as-string.exp
9407 * gdb.python/py-bad-printers.exp
9408 * gdb.python/py-block.exp
9409 * gdb.python/py-breakpoint.exp
9410 * gdb.python/py-cmd.exp
9411 * gdb.python/py-events.exp
9412 * gdb.python/py-evthreads.exp
9413 * gdb.python/py-finish-breakpoint.exp
9414 * gdb.python/py-finish-breakpoint2.exp
9415 * gdb.python/py-frame-inline.exp
9416 * gdb.python/py-frame.exp
9417 * gdb.python/py-inferior.exp
9418 * gdb.python/py-infthread.exp
9419 * gdb.python/py-mi.exp
9420 * gdb.python/py-objfile.exp
9421 * gdb.python/py-pp-maint.exp
9422 * gdb.python/py-pp-registration.exp
9423 * gdb.python/py-prettyprint.exp
9424 * gdb.python/py-recurse-unwind.exp
9425 * gdb.python/py-shared.exp
9426 * gdb.python/py-symbol.exp
9427 * gdb.python/py-symtab.exp
9428 * gdb.python/py-template.exp
9429 * gdb.python/py-type.exp
9430 * gdb.python/py-unwind-maint.exp
9431 * gdb.python/py-unwind.exp
9432 * gdb.python/py-value.exp
9433 * gdb.python/python.exp
9434 * gdb.reverse/finish-reverse-bkpt.exp
9435 * gdb.reverse/insn-reverse.exp
9436 * gdb.reverse/next-reverse-bkpt-over-sr.exp
9437 * gdb.reverse/solib-precsave.exp
9438 * gdb.reverse/solib-reverse.exp
9439 * gdb.stabs/gdb11479.exp
9440 * gdb.stabs/weird.exp
9441 * gdb.threads/fork-child-threads.exp
9442 * gdb.threads/fork-plus-threads.exp
9443 * gdb.threads/fork-thread-pending.exp
9444 * gdb.threads/forking-threads-plus-breakpoint.exp
9445 * gdb.threads/hand-call-in-threads.exp
9446 * gdb.threads/interrupted-hand-call.exp
9447 * gdb.threads/linux-dp.exp
9448 * gdb.threads/local-watch-wrong-thread.exp
9449 * gdb.threads/next-while-other-thread-longjmps.exp
9450 * gdb.threads/non-ldr-exit.exp
9451 * gdb.threads/pending-step.exp
9452 * gdb.threads/print-threads.exp
9453 * gdb.threads/process-dies-while-detaching.exp
9454 * gdb.threads/process-dies-while-handling-bp.exp
9455 * gdb.threads/pthreads.exp
9456 * gdb.threads/queue-signal.exp
9457 * gdb.threads/reconnect-signal.exp
9458 * gdb.threads/signal-command-handle-nopass.exp
9459 * gdb.threads/signal-command-multiple-signals-pending.exp
9460 * gdb.threads/signal-delivered-right-thread.exp
9461 * gdb.threads/signal-sigtrap.exp
9462 * gdb.threads/sigthread.exp
9463 * gdb.threads/staticthreads.exp
9464 * gdb.threads/stepi-random-signal.exp
9465 * gdb.threads/thread-unwindonsignal.exp
9466 * gdb.threads/thread_check.exp
9467 * gdb.threads/thread_events.exp
9468 * gdb.threads/tid-reuse.exp
9469 * gdb.threads/tls-nodebug.exp
9470 * gdb.threads/tls-shared.exp
9471 * gdb.threads/tls-so_extern.exp
9472 * gdb.threads/tls.exp
9473 * gdb.threads/wp-replication.exp
9474 * gdb.trace/actions-changed.exp
9475 * gdb.trace/actions.exp
9476 * gdb.trace/backtrace.exp
9477 * gdb.trace/change-loc.exp
9478 * gdb.trace/collection.exp
9479 * gdb.trace/deltrace.exp
9480 * gdb.trace/disconnected-tracing.exp
9481 * gdb.trace/entry-values.exp
9482 * gdb.trace/ftrace-lock.exp
9483 * gdb.trace/ftrace.exp
9484 * gdb.trace/infotrace.exp
9485 * gdb.trace/mi-trace-frame-collected.exp
9486 * gdb.trace/mi-trace-unavailable.exp
9487 * gdb.trace/mi-traceframe-changed.exp
9488 * gdb.trace/mi-tracepoint-changed.exp
9489 * gdb.trace/mi-tsv-changed.exp
9490 * gdb.trace/no-attach-trace.exp
9491 * gdb.trace/packetlen.exp
9492 * gdb.trace/passc-dyn.exp
9493 * gdb.trace/passcount.exp
9494 * gdb.trace/pending.exp
9495 * gdb.trace/pr16508.exp
9496 * gdb.trace/qtro.exp
9497 * gdb.trace/range-stepping.exp
9498 * gdb.trace/read-memory.exp
9499 * gdb.trace/report.exp
9500 * gdb.trace/save-trace.exp
9501 * gdb.trace/signal.exp
9502 * gdb.trace/stap-trace.exp
9503 * gdb.trace/status-stop.exp
9504 * gdb.trace/strace.exp
9505 * gdb.trace/tfile.exp
9506 * gdb.trace/tfind.exp
9507 * gdb.trace/trace-break.exp
9508 * gdb.trace/trace-condition.exp
9509 * gdb.trace/trace-enable-disable.exp
9510 * gdb.trace/trace-mt.exp
9511 * gdb.trace/tracecmd.exp
9512 * gdb.trace/tracefile-pseudo-reg.exp
9513 * gdb.trace/tspeed.exp
9514 * gdb.trace/tstatus.exp
9515 * gdb.trace/tsv.exp
9516 * gdb.trace/unavailable.exp
9517 * gdb.trace/while-dyn.exp
9518 * gdb.trace/while-stepping.exp
9519 * lib/gdb-guile.exp
9520 * lib/gdb.exp
9521 * lib/mi-support.exp
9522 * lib/pascal.exp
9523 * lib/perftest.exp
9524 * lib/prelink-support.exp
9525 * lib/selftest-support.exp
9526
ad02e4fe
SM
95272016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
9528
9529 * Makefile.in: Include disable-implicit-rules.mk.
9530
22347e55
AA
95312016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9532
9533 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
9534 non-byte-aligned bit fields.
9535
da5b30da
AA
95362016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9537
9538 PR gdb/12616
9539 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
9540 respects the DW_AT_data_bit_offset attribute.
9541
b593ecca
SM
95422016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
9543
9544 * gdb.base/default.exp: Fix output of "set language".
9545
3b165252
SM
95462016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
9547
9548 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
9549 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
9550 make.
9551 * configure.ac: Remove checks for the make program.
9552 * configure: Re-generate.
9553
1a2f3d7f
KB
95542016-11-16 Kevin Buettner <kevinb@redhat.com>
9555
9556 * gdb.python/py-recurse-unwind.c (main): Add loop.
9557 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
9558 to read_register() and gdb.parse_and_eval(). Make each code
9559 call a separate case that can be individually tested.
9560 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
9561 proc. Call cont_and_backtrace for each of the code paths that
9562 we want to test in the unwinder.
9563
b7f38fda
AA
95642016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
9565
9566 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
9567 the definition of struct S.
9568
1f8db343
CM
95692016-11-11 Catherine Moore <clm@codesourcery.com>
9570
9571 * gdb.base/dump.exp: Identify verilog format dump tests as such.
9572
fad0c9fb
PA
95732016-11-09 Pedro Alves <palves@redhat.com>
9574
9575 * gdb.base/commands.exp (runto_or_return): New procedure.
9576 (gdbvar_simple_if_test, gdbvar_simple_while_test)
9577 (gdbvar_complex_if_while_test, progvar_simple_if_test)
9578 (progvar_simple_while_test, progvar_complex_if_while_test)
9579 (if_while_breakpoint_command_test)
9580 (infrun_breakpoint_command_test, breakpoint_command_test)
9581 (user_defined_command_test, watchpoint_command_test)
9582 (test_command_prompt_position, redefine_hook_test)
9583 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
9584 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
9585 multi_line_input and multi_line. Remove gdb_expect and
9586 gdb_stop_suppressing_tests uses.
9587 * lib/gdb.exp (valnum_re): New global.
9588 (multi_line_input): New procedure.
9589
8354c62c
SM
95902016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
9591
9592 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
9593 Remove.
9594 (test_setup): Define with proc_with_prefix.
9595 (test_cli_inferior): Likewise.
9596 (test_cli_thread): Likewise.
9597 (test_cli_frame): Likewise.
9598 (test_cli_select_frame): Likewise.
9599 (test_cli_up_down): Likewise.
9600 (test_mi_thread_select): Likewise.
9601 (test_mi_stack_select_frame): Likewise.
9602 (test_cli_in_mi_inferior): Likewise.
9603 (test_cli_in_mi_thread): Likewise.
9604 (test_cli_in_mi_frame): Likewise.
9605 (top level): Do not use with_test_prefix_procname.
9606
64f367a2
PA
96072016-11-09 Pedro Alves <palves@redhat.com>
9608
9609 * gdb.base/commands.exp (gdbvar_simple_if_test)
9610 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
9611 (progvar_simple_if_test, progvar_simple_while_test)
9612 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
9613 (infrun_breakpoint_command_test, breakpoint_command_test)
9614 (user_defined_command_test, watchpoint_command_test)
9615 (test_command_prompt_position, deprecated_command_test)
9616 (bp_deleted_in_command, temporary_breakpoint_commands)
9617 (stray_arg0_test, source_file_with_indented_comment)
9618 (recursive_source_test, if_commands_test)
9619 (error_clears_commands_left, redefine_hook_test)
9620 (redefine_backtrace_test): Use proc_with_prefix.
9621 * lib/gdb.exp (proc_with_prefix): New proc.
9622
0bb65f1e
AA
96232016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
9624
9625 * gdb.base/tui-layout.c: New file.
9626 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
9627 disassembly window contains very long lines.
9628
7353f247
TT
96292016-11-08 Tom Tromey <tom@tromey.com>
9630
9631 * gdb.python/py-value.exp (test_value_creation): Make "long" test
9632 depend on Python 2.
9633
30a7bb83
TT
96342016-11-08 Tom Tromey <tom@tromey.com>
9635
9636 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
9637 New method.
9638
cdf5a07c
MG
96392016-10-29 Manish Goregaokar <manish@mozilla.com>
9640
2806dc7e 9641 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 9642
51a789c3
MG
96432016-10-27 Manish Goregaokar <manish@mozilla.com>
9644
2806dc7e
PA
9645 * gdb.rust/simple.rs: Add test for univariant enums without
9646 discriminants and for encoded struct-like enums.
51a789c3 9647
f610ab6d
PA
96482016-10-28 Pedro Alves <palves@redhat.com>
9649
9650 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
9651 gdb_test_multiple, tighten regexps and match symtabs and line
9652 tables incrementally.
9653
b129b0ca
LM
96542016-10-28 Luis Machado <lgustavo@codesourcery.com>
9655
9656 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
9657 general.
9658
ecf45d2c
SL
96592016-10-25 Luis Machado <lgustavo@codesourcery.com>
9660
9661 * gdb.base/exec-invalid-sysroot.exp: New file.
9662
b8d38ee4
JK
96632016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9664
9665 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
9666
f90fd8c2
JK
96672016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9668
9669 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
9670
2d2476aa
MR
96712016-10-19 Maciej W. Rozycki <macro@imgtec.com>
9672
2806dc7e
PA
9673 * gdb.base/killed-outside.exp: Remove $options from a call to
9674 `prepare_for_testing'.
2d2476aa 9675
e42b25a0
SM
96762016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9677
9678 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
9679 Change test message.
9680
3ccdb432
SM
96812016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9682
9683 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
9684 Update comment.
9685
5bad3170
SM
96862016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9687
9688 * gdb.trace/mi-trace-save.exp: New file.
9689
5ad9dba7
YQ
96902016-10-13 Yao Qi <yao.qi@linaro.org>
9691
9692 * gdb.base/code_elim.exp (get_var_address): Remove.
9693 * gdb.base/relocate.exp: Likewise.
9694 * gdb.base/shreloc.exp: Likewise.
9695 * lib/gdb.exp (get_var_address): New.
9696
62df7e21
YQ
96972016-10-13 Yao Qi <yao.qi@linaro.org>
9698
9699 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
9700 floating point tests if $skip_float_test is false.
9701
4dac951e
LM
97022016-10-12 Luis Machado <lgustavo@codesourcery.com>
9703
9704 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
9705 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
9706 argc values.
9707 Add 1 to argc so we guarantee distinct initial/modified argc values.
9708
8f1a8fc4
JK
97092016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9710
9711 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
9712
16c85b5d
JK
97132016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9714
9715 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
9716 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
9717 * gdb.arch/vsx-regs.exp: Likewise.
9718
1d0e042a
YQ
97192016-10-07 Yao Qi <yao.qi@linaro.org>
9720
9721 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
9722
68dadef5
MM
97232016-10-07 Markus Metzger <markus.t.metzger@intel.com>
9724
9725 * gdb.python/python.exp: Test decode_line("*0").
9726
33fa2c6e
DE
97272016-10-06 Doug Evans <dje@google.com>
9728
9729 * gdb.python/py-value.exp (test_value_creation): Add test for large
9730 unsigned 64-bit value.
9731
9c37b5ae
TT
97322016-10-06 Tom Tromey <tom@tromey.com>
9733
9734 * gdb.compile/compile.exp: Change java tests to rust.
9735 * gdb.base/setshow.exp: Change java tests to rust.
9736 * gdb.base/default.exp: Remove java from language list.
9737 * README (Examples): Update language example.
9738 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
9739 test.
9740 * lib/gdb.exp (skip_java_tests): Remove.
9741 * lib/java.exp: Remove.
9742 * gdb.java: Remove.
9743
78b86327
MR
97442016-10-06 Maciej W. Rozycki <macro@imgtec.com>
9745
9746 * gdb.arch/mips-fcr.exp: New test.
9747 * gdb.arch/mips-fcr.c: Source for the new test.
9748
7470adbb
MR
97492016-10-06 Maciej W. Rozycki <macro@imgtec.com>
9750
9751 * gdb.base/solib-disc.exp: Use `standard_output_file'
9752 throughout.
9753
4a556533
PA
97542016-10-06 Pedro Alves <palves@redhat.com>
9755
9756 * gdb.base/jit-simple-dl.c: New file.
9757 * gdb.base/jit-simple-jit.c: New file, factored out from ...
9758 * gdb.base/jit-simple.c: ... this.
9759 * gdb.base/jit-simple.exp (jit_run): Delete.
9760 (build_jit): New proc.
9761 (jit_test_reread): Recompile either the main program or the shared
9762 library, depending on what is being tested. Skip changing address
9763 if caller wants to. Compare before/after addresses. If testing
9764 standalone, explicitly load the binary. Test "maint info
9765 breakpoints".
9766 (top level): Add "standalone vs shared lib" and "change address"
9767 vs "same address" axes.
9768
5a122fbc
PA
97692016-10-06 Pedro Alves <palves@redhat.com>
9770
9771 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
9772 call.
9773 (jit_run): Delete.
9774 (jit_test_reread): Use with_test_prefix. Reload the main binary
9775 explicitly. Compare the before/after addresses of the JIT
9776 descriptor.
9777
ee8da4b8
DE
97782016-08-15 Doug Evans <dje@google.com>
9779
9780 * gdb.xml/extra-regs.xml: Update, end field now required, default type
9781 for single bitfields is bool.
9782 * gdb.xml/tdesc-regs.exp: Ditto.
9783
f389f6fe
JK
97842016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9785
9786 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
9787
fdebf1a4
YQ
97882016-10-05 Yao Qi <yao.qi@linaro.org>
9789
9790 * lib/gdb.exp (support_complex_tests): Return zero if
9791 gdb_skip_float_test return true.
9792
9c36d954 97932016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 9794 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
9795
9796 PR gdb/20487
9797 * gdb.mi/user-selected-context-sync.exp: New file.
9798 * gdb.mi/user-selected-context-sync.c: New file.
9799
4034d0ff 98002016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 9801 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
9802
9803 PR gdb/20487
9804 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
9805 =thread-select-event check.
9806
a4297203
PB
98072016-09-29 Peter Bergner <bergner@vnet.ibm.com>
9808
9809 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
9810 the compulsory L operand changes.
9811 * gdb.arch/powerpc-power.s: Likewise.
9812
bb805577
JK
98132016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9814
9815 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
9816 * gdb.base/jit-attach-pie.c: New file.
9817 * gdb.base/jit-attach-pie.exp: New file.
9818
6d61dee5
PA
98192016-09-28 Pedro Alves <palves@redhat.com>
9820
9821 * gdb.base/infcall-input.c: New file.
9822 * gdb.base/infcall-input.exp: New file.
9823
f73842fc
YQ
98242016-09-22 Yao Qi <yao.qi@linaro.org>
9825
9826 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
9827 (gdb_exit): Rename it to ...
9828 (gdbserver_gdb_exit): ... Close GDBserver.
9829 (gdb_exit): New proc, call gdbserver_gdb_exit.
9830 (mi_gdb_exit): Likewise.
9831
90681dab
YQ
98322016-09-22 Yao Qi <yao.qi@linaro.org>
9833
9834 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
9835 path.
9836 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
9837 Remove duplication.
9838
9c211fd8
YQ
98392016-09-22 Yao Qi <yao.qi@linaro.org>
9840
9841 * lib/gdbserver-support.exp: Check the existence of
9842 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
9843
ad0a504f
AK
98442016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
9845
9846 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
9847
36cf1806
TT
98482016-09-21 Tom Tromey <tom@tromey.com>
9849
9850 PR gdb/20604:
9851 * gdb.base/quit.exp: New file.
9852
74172ecf
SM
98532016-09-21 Simon Marchi <simon.marchi@ericsson.com>
9854
9855 * .gitignore: New file.
9856
3d0ec882
MR
98572016-09-21 Maciej W. Rozycki <macro@imgtec.com>
9858
9859 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
9860 throughout.
9861
8193adea
AA
98622016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9863
9864 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
9865
d41a5c09
JK
98662016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9867
9868 * gdb.cp/casts.cc (decltype): Move it ...
9869 (main): ... with its call to ...
9870 * gdb.cp/casts03.cc: ... a new file.
9871 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
9872
d2dfe700
JK
98732016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9874
9875 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
9876
e2a92b16
PB
98772016-09-15 Peter Bergner <bergner@vnet.ibm.com>
9878
9879 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
9880 and sync up the test with tests in gas/testsuite/gas/ppc.
9881 * gdb.arch/powerpc-power.exp: Likewise.
9882
49b4de64
JK
98832016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9884
9885 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
9886
2c29df25
SDJ
98872016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
9888 Jan Kratochvil <jan.kratochvil@redhat.com>
9889
9890 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
9891 make m1's definition to be different from m2's. Use 'dummy' as an
9892 argument for probe 'two'.
9893
cc3c2846
JB
98942016-09-10 Jon Beniston <jon@beniston.com>
9895
9896 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
9897 for sim target.
9898
e1b2624a
AA
98992016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
9900
9901 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
9902 variable declaration.
9903 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
9904 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
9905 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
9906 received HWCAP as its argument.
9907
4295e285
PA
99082016-09-06 Pedro Alves <palves@redhat.com>
9909
9910 * gdb.base/new-ui-pending-input.c: New file.
9911 * gdb.base/new-ui-pending-input.exp: New file.
9912 * gdb.exp (clear_gdb_spawn_id): New procedure.
9913 (with_spawn_id): Check whether gdb_spawn_id exists before
9914 referencing it. If gdb_spawn_id didn't exist on entry, clear it
9915 on exit.
9916
00d5215e
UW
99172016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
9918
9919 * gdb.base/float128.c: New file.
9920 * gdb.base/float128.exp: Likewise.
9921 * gdb.base/floatn.c: Likewise.
9922 * gdb.base/floatn.exp: Likewise.
9923
a9ff5f12
UW
99242016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
9925
9926 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
9927
f245535c
PA
99282016-09-05 Pedro Alves <palves@redhat.com>
9929
9930 PR backtrace/19927
9931 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
9932 unwinders are immediately called as side effect of "source" or
9933 "disable unwinder" commands.
9934 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
9935
ae9cf263
YQ
99362016-09-02 Yao Qi <yao.qi@linaro.org>
9937
9938 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
9939 is true and $type is "float" or "double".
9940
27aba047
YQ
99412016-09-02 Yao Qi <yao.qi@linaro.org>
9942
9943 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
9944 true.
9945 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
9946 * gdb.base/call-rt-st.exp: Likewise.
9947 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
9948 return value instead of gdb,skip_float_test.
9949 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
9950 (do_function_calls): Use its return value instead of
9951 gdb,skip_float_test.
9952 * gdb.base/finish.exp: Likewise.
9953 * gdb.base/funcargs.exp: Likewise.
9954 * gdb.base/return.exp: Likewise.
9955 * gdb.base/return2.exp: Likewise.
9956 * gdb.base/varargs.exp: Likewise.
9957 * lib/gdb.exp (gdb_skip_float_test): Change it to
9958 gdb_caching_proc. Detect the broken ptrace on arm-linux.
9959
5af962df
AA
99602016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
9961
9962 * gdb.multi/tids.exp: Test "thread apply all".
9963
7fac6910
JK
99642016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9965
9966 * gdb.base/default.exp (tty): Remove.
9967
bb1fe4ac
KB
99682016-08-24 Kevin Buettner <kevinb@redhat.com>
9969
2806dc7e
PA
9970 * gdb.python/py-recurse-unwind.c: New file.
9971 * gdb.python/py-recurse-unwind.py: New file.
9972 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 9973
0a1ddfa6
SM
99742016-08-24 Simon Marchi <simon.marchi@ericsson.com>
9975
9976 * gdb.base/set-inferior-tty.exp: New file.
9977 * gdb.base/set-inferior-tty.c: New file.
9978
d9de1fe3
PA
99792016-08-23 Pedro Alves <palves@redhat.com>
9980
9981 PR gdb/20494
9982 * gdb.base/new-ui-echo.c: New file.
9983 * gdb.base/new-ui-echo.exp: New file.
9984
e9d9abd7
YQ
99852016-08-23 Yao Qi <yao.qi@linaro.org>
9986
9987 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
9988 gdbserver_spawn.
9989 * gdb.server/connect-without-multi-process.exp (do_test):
9990 Likewise.
9991
3589529e
YQ
99922016-08-23 Yao Qi <yao.qi@linaro.org>
9993
9994 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
9995 standalone_txt. Delete gdb_txt and standalone_txt on host
9996 and target. Spawn the binary on target. Copy files from
9997 target to host.
9998
6bb90213
PA
99992016-08-22 Pedro Alves <palves@redhat.com>
10000
10001 PR gdb/20505
10002 * gdb.base/vdso-warning.exp: Test core dumps too. Use
10003 with_test_prefix. Factor out bits to ...
10004 (test_no_vdso): ... this new procedure.
10005
20c2c024
CL
100062016-08-19 Carl Love <cel@us.ibm.com>
10007
10008 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
10009 maintaining separate logic for constructing the output path.
10010 * gdb.arch/powerpc-d128-regs.exp: Likewise.
10011 * gdb.arch/ppc-dfp.exp: Likewise.
10012 * gdb.arch/ppc-fp.exp: Likewise.
10013 * gdb.arch/vsx-regs.exp: Likewise.
10014 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
10015 binprefix for generating the additional binary files.
10016
0646e07d
PA
100172016-08-19 Pedro Alves <palves@redhat.com>
10018
10019 * gdb.trace/mi-trace-frame-collected.exp
10020 (test_trace_frame_collected): On x32, expect two registers.
10021
46da9242
CL
100222016-08-18 Carl Love <cel@us.ibm.com>
10023
10024 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
10025 and sync up the test with tests in gas/testsuite/gas/ppc.
10026 * gdb.arch/powerpc-power.exp: Likewise.
10027
eb2332d7
SM
100282016-08-17 Simon Marchi <simon.marchi@ericsson.com>
10029
10030 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
10031 expected error message.
10032
63c61e04
SM
100332016-08-17 Simon Marchi <simon.marchi@ericsson.com>
10034
10035 * gdb.multi/remove-inferiors.exp: New file.
10036 * gdb.multi/remove-inferiors.c: New file.
10037
7b17065f
YQ
100382016-08-12 Yao Qi <yao.qi@linaro.org>
10039
10040 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
10041 argument list.
10042
01d3dedf
PA
100432016-08-10 Pedro Alves <palves@redhat.com>
10044
10045 PR gdb/19187
10046 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
10047 setup_kfails.
10048
3eb7562a
PA
100492016-08-09 Pedro Alves <palves@redhat.com>
10050 Simon Marchi <simon.marchi@ericsson.com>
10051
10052 PR gdb/20418
10053 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
10054 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
10055
80614914
PA
100562016-08-09 Pedro Alves <palves@redhat.com>
10057
10058 PR mi/20431
10059 * gdb.mi/mi-cmd-error.exp: New file.
10060
f348d89a
PA
100612016-08-09 Pedro Alves <palves@redhat.com>
10062
10063 PR gdb/18653
10064 * gdb.base/signals-state-child.c: New file.
10065 * gdb.base/signals-state-child.exp: New file.
10066 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
10067
e5ca03b4
PA
100682016-08-09 Pedro Alves <palves@redhat.com>
10069
10070 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
10071
282a0691
TT
100722016-08-03 Tom Tromey <tom@tromey.com>
10073
10074 PR python/18565:
10075 * gdb.python/py-frame-inline.exp: Add Frame.function test.
10076
41bfcd63
YQ
100772016-08-01 Yao Qi <yao.qi@linaro.org>
10078
10079 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
10080 variable mode to "multi-process" if $multi_process is 1, otherwise
10081 set it to "single-process".
10082
e3465b24
YQ
100832016-08-01 Yao Qi <yao.qi@linaro.org>
10084
10085 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
10086 * gdb.cp/cpexprs.exp: Likewise.
10087 * gdb.cp/m-static.exp: Likewise.
10088
0b31a4bc
TT
100892016-07-26 Tom Tromey <tom@tromey.com>
10090
10091 PR python/20190:
10092 * gdb.threads/tls.exp (check_thread_local): Add python symbol
10093 test.
10094
e0461dbb
MM
100952016-07-26 Markus Metzger <markus.t.metzger@intel.com>
10096
10097 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
10098 selecting assembly source files.
10099 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
10100 assembly source files.
10101 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
10102 assembly source files.
10103 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
10104 selecting assembly source files.
10105
8194e927
SM
101062016-07-25 Simon Marchi <simon.marchi@ericsson.com>
10107
10108 * gdb.base/new-ui.exp (do_test_invalid_args): New
10109 procedure.
10110
c0272db5
TW
101112016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
10112
10113 * gdb.btrace/reconnect.c: New file.
10114 * gdb.btrace/reconnect.exp: New file.
10115
e3487908
GKB
101162016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
10117
10118 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
10119 to test_catch_syscall_group.
10120 (test_catch_syscall_group): New.
10121
12df5c00
TT
101222016-07-21 Tom Tromey <tom@tromey.com>
10123
10124 * gdb.rust/simple.rs (main): Use empty struct expression.
10125 * gdb.rust/simple.exp: Add tests for empty struct expression.
10126
bae62ee2
YQ
101272016-07-21 Yao Qi <yao.qi@linaro.org>
10128
10129 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
10130 if gdb_skip_xml_test is true on some targets.
10131
b1b53fb3
YQ
101322016-07-21 Yao Qi <yao.qi@linaro.org>
10133
10134 * gdb.server/solib-list.exp: Unset last_loaded_file.
10135
027d97f8
JK
101362016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10137
10138 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
10139 "step into captured_main (args)".
10140
7674d381
JK
101412016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10142
10143 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
10144
72b5d099
JK
101452016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10146
10147 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
10148
1f960ced
PA
101492016-07-19 Pedro Alves <palves@redhat.com>
10150
10151 * gdb.opt/inline-break.exp: Remove optimize=-O2.
10152 * gdb.opt/inline-bt.exp: Likewise.
10153 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
10154 additional_flags=-Winline.
10155 * gdb.opt/inline-locals.exp: Likewise.
10156 * gdb.opt/inline-markers.c (ATTR): Define.
10157 (inlined_fn): Use it.
10158
f25827c1
YQ
101592016-07-19 Yao Qi <yao.qi@linaro.org>
10160
10161 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
10162 (test_with_self): Remove some code. Remove argument executable.
10163 (top-level): Use do_self_tests.
10164
37539ebe
DB
101652016-07-15 Zachary Welch <zwelch@codesourcery.com>
10166 Don Breazeal <donb@codesourcery.com>
10167
10168 * gdb.base/maint.exp: Escape paths used in regular expressions.
10169 * gdb.stabs/weird.exp: Likewise.
10170
dac790e1
TT
101712016-07-13 Tom Tromey <tom@tromey.com>
10172
10173 PR python/15620, PR python/18620:
10174 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
10175 (test_bkpt_events): New procs.
10176
93daf339
TT
101772016-07-13 Tom Tromey <tom@tromey.com>
10178
10179 PR python/17698:
10180 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
10181 test.
10182 (test_watchpoints): Likewise.
10183 (test_bkpt_pending): New proc.
10184
6571a381
TT
101852016-07-13 Tom Tromey <tom@tromey.com>
10186
10187 PR cli/18053:
10188 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
10189 completion test.
10190
e8732474
JK
101912016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10192
10193 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
10194 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
10195 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
10196 f_label.
10197 (g): Rename g_end_lbl to g_label.
10198 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
10199 low_pc and high_pc.
10200 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
10201
e0f3fd7c
TT
102022016-07-12 Tom Tromey <tom@tromey.com>
10203
10204 PR python/19293:
10205 * gdb.python/py-unwind-maint.exp: Update tests.
10206
3cfe46b6
YQ
102072016-07-12 Yao Qi <yao.qi@linaro.org>
10208
10209 * lib/selftest-support.exp (selftest_setup): Match the output
10210 when captured_main is inlined.
10211
4f19a0e6
WT
102122016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
10213
10214 * gdb.fortran/derived-types.exp (result_line, result_line_2):
10215 New variables.
10216 (print this%a, print this%b, print this): New tests.
10217 * gdb.fortran/derived-types.f90 (this): New object and
10218 initialization.
10219
986cf455
SM
102202016-07-06 Simon Marchi <simon.marchi@ericsson.com>
10221
10222 * gdb.ada/arraydim.exp: Remove extra directory level in build
10223 directory.
10224
f0464b23
SM
102252016-07-06 Simon Marchi <simon.marchi@ericsson.com>
10226
10227 * lib/ada.exp: Remove extra directory level in build directory.
10228 * gdb.ada/cond_lang.exp: Likewise.
10229 * gdb.ada/exec_changed.exp: Likewise.
10230 * gdb.ada/lang_switch.exp: Likewise.
10231
42d94011
MG
102322016-07-06 Manish Goregaokar <manish@mozilla.com>
10233
2806dc7e
PA
10234 * simple.rs: Add test for raw pointer subscripting.
10235 * simple.exp: Add test expectations.
42d94011 10236
647c264c
YQ
102372016-07-05 Yao Qi <yao.qi@linaro.org>
10238
10239 * gdb.mi/mi-reverse.exp: Match =record-started output.
10240
20aa2c60
PA
102412016-07-01 Pedro Alves <palves@redhat.com>
10242
10243 * gdb.base/jit-reader.exp (info_registers_current_frame): New
10244 procedure.
10245 (jit_reader_test): Test the jit reader's unwinder.
10246 * gdb.base/jithost.c (jit_function_00_code): New global.
10247 (main): Use memcpy to fill in the mmapped code, instead of poking
10248 bytes manually here.
10249 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
10250 value.
10251 (read_debug_info): Save the function's range.
10252 (read_sp): New function.
10253 (unwind_frame): Use it. Also unwind RBP.
10254 (get_frame_id): Use read_sp.
10255 (gdb_init_reader): Use calloc instead of malloc.
10256 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
10257 parameter. Use gdb_test_multiple.
10258
ced2dffb
PA
102592016-07-01 Pedro Alves <palves@redhat.com>
10260 Antoine Tremblay <antoine.tremblay@ericsson.com>
10261
10262 * gdb.threads/process-dies-while-detaching.c: New file.
10263 * gdb.threads/process-dies-while-detaching.exp: New file.
10264
63000888
PA
102652016-07-01 Pedro Alves <palves@redhat.com>
10266
10267 * gdb.multi/watchpoint-multi-exit.c: New file.
10268 * gdb.multi/watchpoint-multi-exit.exp: New file.
10269
038d4868
PA
102702016-06-30 Pedro Alves <palves@redhat.com>
10271
10272 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
10273 unset inferior_spawn_id.
10274
994e9c83
PA
102752016-06-30 Pedro Alves <palves@redhat.com>
10276
10277 * lib/mi-support.exp (default_mi_gdb_start): Declare global
10278 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
10279
e5653468
YQ
102802016-06-29 Yao Qi <yao.qi@linaro.org>
10281
10282 * gdb.base/return.c: Add copyright header.
10283
803b47e5
TT
102842016-06-29 Tom Tromey <tom@tromey.com>
10285
10286 PR python/20129:
10287 * gdb.python/py-framefilter.exp: Add tests for setting priority
10288 and disabling of non-existent frame filter.
10289
28244707
YQ
102902016-06-29 Yao Qi <yao.qi@linaro.org>
10291
10292 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
10293 0x0f07ff.
10294
a31d2f06
YQ
102952016-06-28 Yao Qi <yao.qi@linaro.org>
10296
10297 * gdb.base/catch-syscall.exp: Remove check on isnative and target
10298 triplets. Start gdb, execute catch syscall, and continue. Check
10299 gdb's output to determine catch syscall is supported.
10300
921d8f54
MG
103012016-06-27 Manish Goregaokar <manish@mozilla.com>
10302
25d49b86
PA
10303 * gdb.rust/simple.rs: Add test for returning unit in a function.
10304 * gdb.rust/simple.exp: Add expectation for functions returning
10305 unit.
921d8f54 10306
f4952523
PMR
103072016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
10308
10309 * gdb.python/py-breakpoint-create-fail.c,
10310 gdb.python/py-breakpoint-create-fail.exp,
10311 gdb.python/py-breakpoint-create-fail.py: New testcase.
10312
fccb08f8
MG
103132016-06-25 Manish Goregaokar <manish@mozilla.com>
10314
10315 PR gdb/20239
10316 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
10317 * gdb.rust/simple.exp: Add test expectations for new NonZero
10318 tests.
fccb08f8 10319
6b850546
DT
103202016-06-24 David Taylor <dtaylor@emc.com>
10321
10322 * gdb.base/offsets.exp: New file.
10323 * gdb.base/offsets.c: New file.
10324
17621150
TT
103252016-06-23 Tom Tromey <tom@tromey.com>
10326
10327 PR gdb/16483:
10328 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
10329 before any filters are loaded.
10330
04d59df6
WT
103312016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
10332
10333 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
10334 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
10335 structs.
10336 * gdb.fortran/derived-type-function.exp: New file.
10337 * gdb.fortran/derived-type-function.f90: New file.
10338
10339
ac69f786
PA
103402016-06-21 Pedro Alves <palves@redhat.com>
10341
10342 * gdb.base/new-ui.exp: New file.
10343 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
10344 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
10345 (with_spawn_id): New procedure.
10346
49940788
PA
103472016-06-21 Pedro Alves <palves@redhat.com>
10348
10349 * gdb.mi/mi-exec-run.exp: New file.
10350
ef274d26
PA
103512016-06-21 Pedro Alves <palves@redhat.com>
10352
10353 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
10354 breakpoint command's output on the main UI.
10355 (test_break): New procedure, factored out from calls in the top
10356 level.
10357 (top level): Use foreach_with_prefix to test MI as main UI and as
10358 separate UI.
10359
468afe6c
PA
103602016-06-21 Pedro Alves <palves@redhat.com>
10361
10362 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
10363 (test_awatch_creation_and_listing)
10364 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
10365 Remove 'type' parameter.
10366 (test_watchpoint_all): New parameter mi_mode. Remove
10367 with_test_prefix.
10368 (top level): Use foreach_with_prefix, and add main/separate UI MI
10369 testing axis.
10370
51f77c37
PA
103712016-06-21 Pedro Alves <palves@redhat.com>
10372
10373 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
10374 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
10375 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
10376 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
10377 (gdb_main_spawn_id, mi_spawn_id): Declare and
10378 comment.
10379 (mi_create_inferior_pty): New procedure,
10380 factored out from default_mi_gdb_start.
10381 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
10382 procedures.
10383 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
10384 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
10385 Use mi_create_inferior_pty.
10386 (mi_gdb_start): Use eval to pass down args list.
10387
8980e177
PA
103882016-06-21 Pedro Alves <palves@redhat.com>
10389
10390 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
10391 * gdb.opt/inline-cmds.exp: Add MI tests.
10392
f38d3ad1
PA
103932016-06-21 Pedro Alves <palves@redhat.com>
10394
10395 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
10396
45db7c09
PA
103972016-06-21 Pedro Alves <palves@redhat.com>
10398
10399 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
10400 (top level): Use it instead of mi_execute_to.
10401
5a069ab3
PA
104022016-06-21 Pedro Alves <palves@redhat.com>
10403
10404 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
10405 (cont_handler_str): New.
10406 (signal_stop_handler): Set stop_handler_str instead of printing to
10407 stdout.
10408 (continue_handler): Set cont_handler_str instead of printing to
10409 stdout.
10410 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
10411 mi_send_resuming_command. Print stop_handler_str and
10412 cont_handler_str instead of expecting the python events print
10413 directly.
10414
2838cc1d
SD
104152016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
10416
10417 * gdb.base/jit-reader.exp: New file.
10418 * gdb.base/jithost.c: New file.
10419 * gdb.base/jithost.h: New file.
10420 * gdb.base/jitreader.c : New file.
10421 * gdb.base/jit-protocol.h: New file.
10422
21a77091
YQ
104232016-06-17 Yao Qi <yao.qi@linaro.org>
10424
10425 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
10426 parameters follow_fork and detach_on_fork. Set follow-fork-mode
10427 and detach-on-fork. Adjust tests.
10428 (top level): Invoke break_cond_on_syscall with combinations of
10429 syscall, follow-fork-mode and detach-on-fork.
10430
f50bf8e5
YQ
104312016-06-17 Yao Qi <yao.qi@linaro.org>
10432
10433 * gdb.base/step-over-exit.c: New.
10434 * gdb.base/step-over-exit.exp: New.
10435
a28d8e50
YTL
104362016-06-17 Yan-Ting Lin <currygt52@gmail.com>
10437
10438 * gdb.base/float.exp: Add target check for nds32*-*-*.
10439 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
10440
cad8e26d
AB
104412016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
10442
10443 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
10444 for unsupported target features.
10445 * gdb.base/call-rt-st.exp: Likewise.
10446 * gdb.base/call-sc.exp: Likewise.
10447 * gdb.base/call-signal-resume.exp: Likewise.
10448 * gdb.base/call-strs.exp: Likewise.
10449 * gdb.base/callexit.exp: Likewise.
10450 * gdb.base/callfuncs.exp: Likewise.
10451 * gdb.base/nodebug.exp: Likewise.
10452 * gdb.base/printcmds.exp: Likewise.
10453 * gdb.base/ptype.exp: Likewise.
10454 * gdb.base/structs.exp: Likewise.
10455 * gdb.base/unwindonsignal.exp: Likewise.
10456 * gdb.cp/gdb2495.exp: Likewise.
10457 * gdb.cp/templates.exp: Likewise.
10458 * gdb.cp/virtfunc.exp: Likewise.
10459 * gdb.threads/hand-call-in-threads.exp: Likewise.
10460 * gdb.threads/interrupted-hand-call.exp: Likewise.
10461 * gdb.threads/thread-unwindonsignal.exp: Likewise.
10462
347dc102
TT
104632016-06-10 Tom Tromey <tom@tromey.com>
10464
10465 PR rust/20110:
10466 * gdb.rust/expr.exp: Add test for integer constant larger than
10467 i32.
10468
5e13cf25
BH
104692016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
10470
10471 * gdb.fortran/nested-funcs.exp: New.
10472 * gdb.fortran/nested-funcs.f90: New.
10473
bb556f1f
TK
104742016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
10475
10476 * gdb.base/examine-backward.c: New file.
10477 * gdb.base/examine-backward.exp: New file.
10478
38b022b4
SM
104792016-06-06 Simon Marchi <simon.marchi@ericsson.com>
10480
10481 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
10482 matching.
10483
1b40ec05
TT
104842016-06-02 Tom Tromey <tom@tromey.com>
10485
10486 PR python/18984:
10487 * gdb.python/py-shared.exp: Add solib_name test.
10488
193bd378
SM
104892016-06-02 Simon Marchi <simon.marchi@ericsson.com>
10490
10491 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
10492
3326303b
MG
104932016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
10494
10495 PR c++/19893
10496 * gdb.dwarf2/implref.exp: Rename to...
10497 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
10498 * gdb.dwarf2/implref-array.c: New file.
10499 * gdb.dwarf2/implref-array.exp: Likewise.
10500 * gdb.dwarf2/implref-global.c: Likewise.
10501 * gdb.dwarf2/implref-global.exp: Likewise.
10502 * gdb.dwarf2/implref-struct.c: Likewise.
10503 * gdb.dwarf2/implref-struct.exp: Likewise.
10504
825c8ef2
AT
105052016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10506
10507 * gdb.trace/trace-condition.exp: Add 64bit tests.
10508
2320162a
AT
105092016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10510
10511 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
10512 bits types.
10513 (main): Adapt to 8 to 64 bits types.
10514 * gdb.trace/trace-condition.exp: Add new tests.
10515
a7818233
AT
105162016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10517
10518 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
10519
0d336466
AT
105202016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10521
10522 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
10523 Move condition tests...
10524 * gdb.trace/trace-condition.exp: Here.
10525
7faeb45a
AT
105262016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10527
10528 * gdb.trace/trace-condition.exp: Add counter-case tests.
10529
e385593e
JK
105302016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10531
10532 PR c++/15231
10533 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
10534 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
10535
744608cc
PA
105362016-05-27 Pedro Alves <palves@redhat.com>
10537
10538 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
10539 New procedure.
10540 (top level): Call it, and bail out of DejaGnu is known to be bad.
10541
ac775bf4
AB
105422016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
10543
10544 * gdb.base/whatis.c: Extend the test case.
10545 * gdb.base/whatis.exp: Add additional tests.
10546
2bbad2ea
BH
105472016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10548
10549* gdb.fortran/type.f90: Add pointer variable.
10550* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
10551
8b70175d
BH
105522016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10553
10554 * gdb.fortran/vla-type.exp: Fix testcase name.
10555
86d8a848
BH
105562016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10557
10558 * gdb.fortran/vla-type.exp: Access elements in nested structs.
10559
e188eb36
BH
105602016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10561
10562 * gdb.fortran/type.f90: Add nested structures.
10563 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
10564 * gdb.fortran/derived-type.exp: Adapt expected output.
10565 * gdb.fortran/vla-type.exp: Adapt expected output.
10566
9b2db1fd
BH
105672016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10568
10569 * gdb.fortran/whatis_type.exp: Adapt expected output.
10570
72b17055
BH
105712016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10572
10573 * gdb.fortran/print_type.exp: Fix expected output.
10574 * gdb.fortran/whatis_type.exp: Fix expected output.
10575
3cd81d8d
BH
105762016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10577
10578 * gdb.fortran/whatis_type.exp: Use multi_line.
10579
ddae9462
TT
105802016-05-24 Tom Tromey <tom@tromey.com>
10581
10582 PR python/17386:
10583 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
10584 use value as an index.
10585
1957f6b8
TT
105862016-05-23 Tom Tromey <tom@tromey.com>
10587
10588 PR python/17981:
10589 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
10590 no-breakpoint case.
10591
026a9174
PA
105922016-05-24 Pedro Alves <palves@redhat.com>
10593
10594 PR gdb/19828
10595 * gdb.threads/clone-attach-detach.c: New file.
10596 * gdb.threads/clone-attach-detach.exp: New file.
10597
e70a7231
FR
105982016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
10599
10600 * gdb.base/annota-input-while-running.exp: Fix syntax error.
10601
0f6ed0e0
TT
106022016-05-23 Tom Tromey <tom@tromey.com>
10603
10604 PR python/19438, PR python/18393:
10605 * gdb.python/py-progspace.exp: Add "dir" test.
10606 * gdb.python/py-objfile.exp: Add "dir" test.
10607
ffd19d61
YQ
106082016-05-23 Yao Qi <yao.qi@linaro.org>
10609
10610 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
10611 * gdb.arch/thumb2-it.exp: Likewise.
10612
9e8f9b05
SM
106132016-05-18 Simon Marchi <simon.marchi@ericsson.com>
10614
10615 * gdb.mi/mi-threads-interrupt.c: New file.
10616 * gdb.mi/mi-threads-interrupt.exp: New file.
10617
61c6156d
SM
106182016-05-17 Simon Marchi <simon.marchi@ericsson.com>
10619
10620 PR gdb/18077
10621 * gdb.mi/mi-async-run.exp: New file.
10622 * gdb.mi/mi-async-run.c: New file.
10623
67218854
TT
106242016-05-17 Tom Tromey <tom@tromey.com>
10625 Manish Goregaokar <manishsmail@gmail.com>
10626
10627 * lib/rust-support.exp: New file.
10628 * lib/gdb.exp (skip_rust_tests): New proc.
10629 (build_executable_from_specs): Handle rust.
10630 * lib/future.exp (gdb_find_rustc): New proc.
10631 (gdb_default_target_compile): Handle rust.
10632 * gdb.rust/expr.exp: New file.
10633 * gdb.rust/generics.exp: New file.
10634 * gdb.rust/generics.rs: New file.
10635 * gdb.rust/methods.exp: New file.
10636 * gdb.rust/methods.rs: New file.
10637 * gdb.rust/modules.exp: New file.
10638 * gdb.rust/modules.rs: New file.
10639 * gdb.rust/simple.exp: New file.
10640 * gdb.rust/simple.rs: New file.
10641
c44af4eb
TT
106422016-05-17 Tom Tromey <tom@tromey.com>
10643
10644 * gdb.base/default.exp (set language): Add rust.
10645
dcd1f979
TT
106462016-05-17 Tom Tromey <tom@tromey.com>
10647
10648 * gdb.gdb/unittest.exp: New file.
10649
155b7f57
YQ
106502016-05-16 Yao Qi <yao.qi@linaro.org>
10651
10652 * gdb.base/batch-preserve-term-settings.exp: Remove variable
10653 shell_prompt. Update shell_prompt_re.
10654
8ddd5a6c
DE
106552016-05-12 Doug Evans <dje@google.com>
10656
10657 PR symtab/19999
10658 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
10659 $options when building executable.
10660 * gdb.dwarf2/fission-loclists-pie.S: New file.
10661 * gdb.dwarf2/fission-loclists-pie.exp: New file.
10662
02e370d9
SM
106632016-05-04 Simon Marchi <simon.marchi@ericsson.com>
10664
10665 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
10666 of [is_remote target],
10667
8929ad8b
SM
106682016-05-04 Simon Marchi <simon.marchi@ericsson.com>
10669
10670 * lib/gdb.exp (use_gdb_stub): New procedure.
10671
6c447423
DE
106722016-05-03 Yunlian Jiang <yunlian@google.com>
10673 Doug Evans <dje@google.com>
10674
10675 PR symtab/19914
10676 * gdb.dwarf2/dwp-sepdebug.c: New file.
10677 * gdb.dwarf2/dwp-sepdebug.exp: New file.
10678
444e826c
SM
106792016-05-02 Simon Marchi <simon.marchi@ericsson.com>
10680
10681 * gdb.base/detach.exp: Remove is_remote check.
10682
740feeaa
SM
106832016-05-02 Simon Marchi <simon.marchi@ericsson.com>
10684
10685 * gdb.base/annota-input-while-running.exp: Don't check for
10686 [is_remote target]. Enable annotations after running to main.
10687 Remove unused "set test..." line.
10688
9080ac9d
SM
106892016-04-28 Simon Marchi <simon.marchi@ericsson.com>
10690
10691 * gdb.trace/trace-enable-disable.exp: New file.
10692 * gdb.trace/trace-enable-disable.c: New file.
10693
952ebca5
SM
106942016-04-28 Simon Marchi <simon.marchi@ericsson.com>
10695
10696 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
10697 use it in info sharedlibrary test.
10698 * gdb.trace/ftrace-lock.exp: Likewise.
10699 * gdb.trace/ftrace.exp: Likewise.
10700 * gdb.trace/range-stepping.exp: Likewise.
10701 * gdb.trace/trace-break.exp: Likewise.
10702 * gdb.trace/trace-condition.exp: Likewise.
10703 * gdb.trace/trace-mt.exp: Likewise.
10704
d9019901
SM
107052016-04-27 Simon Marchi <simon.marchi@ericsson.com>
10706
10707 * lib/gdb.exp (gdb_load_shlibs): Rename to...
10708 (gdb_load_shlib): ... this.
10709 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
10710 gdb_load_shlib.
10711 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
10712 * gdb.base/ctxobj.exp: Likewise.
10713 * gdb.base/dprintf-pending.exp: Likewise.
10714 * gdb.base/dso2dso.exp: Likewise.
10715 * gdb.base/fixsection.exp: Likewise.
10716 * gdb.base/gcore-relro.exp: Likewise.
10717 * gdb.base/gdb1555.exp: Likewise.
10718 * gdb.base/global-var-nested-by-dso.exp: Likewise.
10719 * gdb.base/gnu-ifunc.exp: Likewise.
10720 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
10721 * gdb.base/jit-so.exp (one_jit_test): Likewise.
10722 * gdb.base/pending.exp: Likewise.
10723 * gdb.base/print-file-var.exp: Likewise.
10724 * gdb.base/print-symbol-loading.exp: Likewise.
10725 * gdb.base/shlib-call.exp: Likewise.
10726 * gdb.base/shreloc.exp: Likewise.
10727 * gdb.base/so-impl-ld.exp: Likewise.
10728 * gdb.base/solib-disc.exp: Likewise.
10729 * gdb.base/solib-nodir.exp: Likewise.
10730 * gdb.base/solib-overlap.exp: Likewise.
10731 * gdb.base/solib-symbol.exp: Likewise.
10732 * gdb.base/solib-weak.exp (do_test): Likewise.
10733 * gdb.base/sym-file.exp: Likewise.
10734 * gdb.base/symtab-search-order.exp: Likewise.
10735 * gdb.base/type-opaque.exp: Likewise.
10736 * gdb.base/unload.exp: Likewise.
10737 * gdb.base/watchpoint-solib.exp: Likewise.
10738 * gdb.compile/compile.exp: Likewise.
10739 * gdb.cp/gdb2384.exp: Likewise.
10740 * gdb.cp/infcall-dlopen.exp: Likewise.
10741 * gdb.cp/re-set-overloaded.exp: Likewise.
10742 * gdb.fortran/library-module.exp: Likewise.
10743 * gdb.opt/solib-intra-step.exp: Likewise.
10744 * gdb.python/py-finish-breakpoint.exp: Likewise.
10745 * gdb.python/py-shared.exp: Likewise.
10746 * gdb.reverse/solib-precsave.exp: Likewise.
10747 * gdb.reverse/solib-reverse.exp: Likewise.
10748 * gdb.server/solib-list.exp: Likewise.
10749 * gdb.threads/dlopen-libpthread.exp: Likewise.
10750 * gdb.threads/tls-shared.exp: Likewise.
10751 * gdb.threads/tls-so_extern.exp: Likewise.
10752 * gdb.trace/change-loc.exp: Likewise.
10753 * gdb.trace/ftrace-lock.exp: Likewise.
10754 * gdb.trace/ftrace.exp: Likewise.
10755 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
10756 * gdb.trace/pending.exp: Likewise.
10757 * gdb.trace/range-stepping.exp: Likewise.
10758 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
10759 (strace_info_marker): Likewise.
10760 (strace_probe_marker): Likewise.
10761 (strace_trace_on_same_addr): Likewise.
10762 (strace_trace_on_diff_addr): Likewise.
10763 * gdb.trace/trace-break.exp: Likewise.
10764 * gdb.trace/trace-condition.exp: Likewise.
10765 * gdb.trace/trace-mt.exp: Likewise.
10766
fca4cfd9
SM
107672016-04-27 Simon Marchi <simon.marchi@ericsson.com>
10768
10769 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
10770 result of gdb_remote_download.
10771 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
10772 * gdb.base/dso2dso.exp: Likewise.
10773 * gdb.base/global-var-nested-by-dso.exp: Likewise.
10774 * gdb.base/print-file-var.exp: Likewise.
10775 * gdb.base/shlib-call.exp: Likewise.
10776 * gdb.base/shreloc.exp: Likewise.
10777 * gdb.base/solib-overlap.exp: Likewise.
10778 * gdb.base/solib-weak.exp (do_test): Likewise.
10779 * gdb.base/unload.exp: Likewise.
10780
11cf4ffb
YQ
107812016-04-27 Yao Qi <yao.qi@linaro.org>
10782
10783 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
10784 exists.
10785
3e2e34f8
KB
107862016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10787
10788 * vla-type.exp: Print structure from toplevel.
10789
8f07e298
BH
107902016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10791
10792 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
10793 of dynamic types.
10794 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
10795 of dynamic types.
10796
9920b434
BH
107972016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10798
10799 * gdb.fortran/vla-type.f90: New file.
10800 * gdb.fortran/vla-type.exp: New file.
10801
f3abeff5
YQ
108022016-04-25 Yao Qi <yao.qi@linaro.org>
10803
10804 * gdb.base/branch-to-self.c: New file.
10805 * gdb.base/branch-to-self.exp: New file.
10806
0a5d52f0
YQ
108072016-04-22 Yao Qi <yao.qi@linaro.org>
10808
10809 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
10810 more after $hex.
10811
495346f6
YQ
108122016-04-22 Yao Qi <yao.qi@linaro.org>
10813
10814 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
10815 * gdb.base/annota3.exp: Likewise.
10816
4a7e075c
YQ
108172016-04-22 Yao Qi <yao.qi@linaro.org>
10818
10819 * gdb.reverse/step-precsave.exp: Do one step and test program
10820 stops in "callee" and do multiple steps until program goes out
10821 of "callee".
10822 * gdb.reverse/step-reverse.exp: Likewise.
10823
5b061e98
YQ
108242016-04-22 Yao Qi <yao.qi@linaro.org>
10825
10826 * gdb.trace/signal.exp: Also pass if
10827 $tracepoint_hits($i) > $iterations.
10828
5c5dc57f
YQ
108292016-04-22 Yao Qi <yao.qi@linaro.org>
10830
10831 * gdb.trace/signal.c: New file.
10832 * gdb.trace/signal.exp: New file.
10833
a55411b9
DE
108342016-04-19 Doug Evans <xdje42@gmail.com>
10835
10836 * gdb.base/bad-file.exp: New file.
10837
a22df60a
MG
108382016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
10839
10840 * gdb.dwarf2/implref.exp: New file.
10841
0c13f7e5
BH
108422016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
10843
10844 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
10845 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
10846 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
10847 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
10848 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
10849 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
10850 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
10851 * lib/fortran.exp (fortran_int4): New procedure.
10852 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
10853 (fortran_logical4): Likewise.
10854
9b9b09e9
BH
108552016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
10856
10857 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
10858
a14d1f4d
BH
108592016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
10860
10861 * lib/compiler.c: Add Intel specific preprocessor macros.
10862 * lib/compiler.cc: Likewise.
25d49b86 10863
7d49b1d0
LM
108642016-04-13 Luis Machado <lgustavo@codesourcery.com>
10865
10866 * gdb.server/connect-with-no-symbol-file.c: New file.
10867 * gdb.server/connect-with-no-symbol-file.exp: New file.
10868
8392fa22
SM
108692016-04-13 Simon Marchi <simon.marchi@ericsson.com>
10870
10871 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
10872
8c4c4aeb
SM
108732016-04-13 Simon Marchi <simon.marchi@ericsson.com>
10874
10875 * boards/gdbserver-base.exp (${board}_download): Copy source file to
10876 standard output directory.
10877
45e3745e
AT
108782016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
10879
10880 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
10881
e26b7e41
MM
108822016-04-13 Markus Metzger <markus.t.metzger@intel.com>
10883
10884 * gdb.btrace/instruction_history.c (loop): Add declaration.
10885
8ce09462
AT
108862016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
10887
10888 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
10889
2e88a1ea
SM
108902016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
10891
10892 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
10893 parentheses to print.
10894 (continue_handler): Likewise.
10895
f48e22e3
SM
108962016-04-08 Simon Marchi <simon.marchi@ericsson.com>
10897
10898 * gdb.server/solib-list.exp: Remove is_remote check.
10899 Pass shlib= to gdb_compile. Don't link shared library with
10900 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
10901 Run binary filename through "readlink -f" on the target.
10902
096be756
PA
109032016-04-08 Pedro Alves <palves@redhat.com>
10904
10905 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
10906 interpreter filename as argument to gdbserver_spawn.
10907 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
10908 Return empty if $last_loaded_file does not exist.
10909
06500533
JK
109102016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10911
10912 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
10913 * gdb.base/jit-main.c: Use exit after usage.
10914
2d35e871
JK
109152016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10916
10917 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
10918 GDBHISTSIZE prior to the tests.
10919 * gdb.base/gdbinit-history.exp: Likewise.
10920
109212016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
10922
10923 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
10924 instead of build_executable. Use gdb_load_shlibs.
10925
c8064e7e
YQ
109262016-04-07 Yao Qi <yao.qi@linaro.org>
10927
10928 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
10929 Execute "si" command.
10930
bde47561
YQ
109312016-04-07 Yao Qi <yao.qi@linaro.org>
10932
10933 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
10934 number instead of the comments on some line.
10935
b16f8a3b
DB
109362016-04-06 Don Breazeal <donb@codesourcery.com>
10937
10938 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
10939 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
10940
c2f901df
SM
109412016-04-06 Simon Marchi <simon.marchi@ericsson.com>
10942
10943 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
10944 standard_output_file. Remove unused binfile variable.
10945
ac17fda0
CU
109462016-04-05 Catalin Udma <catalin.udma@freescale.com>
10947
10948 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
10949 * gdb.python/py-mi-objfile.exp: Match "list main" output
10950 in console format.
10951
03a8c4df
SM
109522016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
10953
10954 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
10955 absolute.
10956
6e774b13
SM
109572016-04-05 Simon Marchi <simon.marchi@ericsson.com>
10958
10959 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
10960 absolute.
10961 * gdb.trace/ftrace.exp: Likewise.
10962 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
10963 targets as well.
10964 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
10965 (gdb_load_shlibs): Copy libraries to test directory when testing
10966 natively. Only set solib-search-path if testing remotely.
10967 * lib/mi-support.exp (mi_load_shlibs): Likewise.
10968
7817ea46
SM
109692016-04-05 Simon Marchi <simon.marchi@ericsson.com>
10970
10971 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
10972 gdb_download. Use it even if the target is not remote.
10973 * gdb.base/jit.exp (compile_jit_test): Likewise.
10974 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
10975 output directory if the destination board is local, otherwise use
10976 the standard remote_download from DejaGnu.
10977 (gdb_download): Remove.
10978 (gdb_load_shlibs): Use gdb_remote_download instead of
10979 gdb_download.
10980 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
10981 Use gdb_remote_download instead of gdb_download. Use it even if
10982 the target is not remote.
10983 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
10984 instead of gdb_download.
10985
7beb7f68
SM
109862016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
10987
10988 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
10989 (test_insert_delete_modify): Call mi_load_shlibs before trying to
10990 run.
10991
cc63428a
AV
109922016-04-01 Artemiy Volkov <artemiyv@acm.org>
10993
10994 PR gdb/19820
10995 * gdb.base/printcmds.exp: Add artificial arrays tests.
10996
64cdf930
PA
109972016-03-31 Pedro Alves <palves@redhat.com>
10998
10999 PR gdb/19858
11000 * gdb.base/jit-main.c: Include unistd.h.
11001 (ATTACH): Define to 0 if not already defined.
11002 (wait_for_gdb, mypid): New globals.
11003 (WAIT_FOR_GDB): New macro.
11004 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
11005 some breakpoint locations.
11006 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
11007 New procedures.
11008 (one_jit_test): Add REATTACH parameter, and handle it. Use
11009 continue_to_test_location.
11010 (top level): Test attach, and adjusts calls to one_jit_test.
11011
40dea8cb
PA
110122016-03-31 Pedro Alves <palves@redhat.com>
11013
11014 PR gdb/19858
11015 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
11016 BINSUFFIX parameter, and handle it.
11017 (top level): Adjust calls compile_jit_test.
11018
e7ea3ec7
CU
110192016-03-31 Catalin Udma <catalin.udma@freescale.com>
11020
11021 PR python/19743
11022 * gdb.python/py-mi-events-gdb.py: New file.
11023 * gdb.python/py-mi-events.c: New file.
11024 * gdb.python/py-mi-events.exp: New file.
11025
e6359af3
YQ
110262016-03-30 Yao Qi <yao.qi@linaro.org>
11027
11028 * gdb.reverse/until-precsave.exp: Match function name only.
11029 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
11030 Move malloc to a condition block.
11031 * gdb.reverse/until-reverse.exp: Match function name only.
11032
a4105d04
MK
110332016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
11034
11035 * gdb.trace/ftrace.exp: Set arg0exp for s390.
11036 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
11037 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
11038 variable for GPR 0 instead of assuming it is register 0.
11039 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
11040 * lib/trace-support.exp: Add s390 registers.
11041
bfa6adb9
YQ
110422016-03-29 Yao Qi <yao.qi@linaro.org>
11043
11044 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
11045
1e6697ea
YQ
110462016-03-24 Yao Qi <yao.qi@linaro.org>
11047
11048 * gdb.reverse/break-reverse.exp: Add quotation mark in the
11049 test message.
11050
64bcd522
AA
110512016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11052
11053 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
11054 maintaining separate logic for constructing the output path.
11055
7868401b
DB
110562016-03-16 Don Breazeal <donb@codesourcery.com>
11057
11058 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
11059 Retry fork and waitpid on interrupted system call errors.
11060 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
11061 Use with_timeout_factor to increase timeout by factor of 10.
11062
1cafadb4
DB
110632016-03-15 Don Breazeal <donb@codesourcery.com>
11064
11065 * gdb.cp/scope-err.cc: New test program.
11066 * gdb.cp/scope-err.exp: New test script.
11067 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
11068 lines and "set breakpoint here" comment.
11069 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
11070 Fixed some whitespace and format issues.
11071 * gdb.mi/mi-linespec-err-cp.cc: New test program.
11072 * gdb.mi/mi-linespec-err-cp.exp: New test script.
11073
81516450
DE
110742016-03-15 Doug Evans <dje@google.com>
11075
11076 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
11077 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
11078 All callers updated. Add tests for enums, mixed flags register.
11079
aa52b601
DE
110802016-03-15 Doug Evans <dje@google.com>
11081
11082 * gdb.base/skip.c (main): Call test_skip_file_and_function.
11083 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
11084
fa4ff313
SM
110852016-03-14 Simon Marchi <simon.marchi@ericsson.com>
11086
11087 * gdb.base/default.exp: Add $_as_string to the list of expected
11088 convenience functions.
11089
f2403c39
AB
110902016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
11091
11092 * gdb.base/maint.exp: New tests for 'maint info line-table'.
11093
f2f3ccb9
SM
110942016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
11095
11096 * gdb.python/py-as-string.exp: New file.
11097 * gdb.python/py-as-string.c: New file.
11098
00dbd492
PA
110992016-03-09 Pedro Alves <palves@redhat.com>
11100
11101 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
11102 signal" -> "Thread NN received signal" output change.
11103 * gdb.threads/ia64-sigill.exp: Likewise.
11104 * gdb.threads/linux-dp.exp: Likewise.
11105 * gdb.threads/manythreads.exp: Likewise.
11106 * gdb.threads/pending-step.exp: Likewise.
11107 * gdb.threads/print-threads.exp: Likewise.
11108 * gdb.threads/sigstep-threads.exp: Likewise.
11109 * gdb.threads/staticthreads.exp: Likewise.
11110 * gdb.threads/tls.exp: Likewise.
11111
1e6697ea
YQ
111122016-03-09 Pedro Alves <palves@redhat.com>
11113
11114 * gdb.base/command-line-input.exp: New file.
11115
b04fd3be
MK
111162016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11117
11118 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
11119 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
11120 * gdb.trace/pending.exp: Accept leading dot before function name.
11121 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
11122 * lib/trace-support.exp: Set registers for ppc.
11123
98fa59e9
MK
111242016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11125
11126 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
11127 use it for disassembly; accept .main in addition to main in backtrace.
11128
f77198c8
MK
111292016-03-09 Wei-cheng Wang <cole945@gmail.com>
11130 Marcin Kościelnicki <koriakin@0x04.net>
11131
11132 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
11133 (gdb_recursion_test_ptr): New global variable.
11134 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
11135 gdb_recursion_test.
11136 (gdb_c_test): Ditto.
11137
ba84e0da
MK
111382016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11139
11140 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
11141 ordering.
11142
4366d36e
MK
111432016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11144
11145 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
11146 (bar): Add bar_start_lbl label.
11147 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
11148 of foo/bar for emitting DWARF and tracing.
11149
5eb264df
SDJ
111502016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
11151
11152 * analyze-racy-logs.py: Set executable bit.
11153
fb6a751f
SDJ
111542016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
11155
11156 * Makefile.in (DEFAULT_RACY_ITER): New variable.
11157 (CHECK_TARGET_TMP): Likewise.
11158 (check-single-racy): New rule.
11159 (check-parallel-racy): Likewise.
11160 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
11161 (do-check-parallel-racy): New rule.
11162 (check-racy/%.exp): Likewise.
11163 * README (Racy testcases): New section.
11164 * analyze-racy-logs.py: New file.
11165
bdf7e230
DE
111662016-03-03 Doug Evans <dje@google.com>
11167
11168 * gdb.base/skip.exp: Use with_test_prefix.
11169
4719d415
YQ
111702016-03-03 Yao Qi <yao.qi@linaro.org>
11171
11172 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
11173 Invoke step_over_syscall "clone" and break_cond_on_syscall
11174 "clone".
11175 * gdb.base/step-over-clone.c: New file.
11176
ea507862
YQ
111772016-03-03 Yao Qi <yao.qi@linaro.org>
11178
11179 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
11180 code format.
11181
8fc8cbda
YQ
111822016-03-03 Yao Qi <yao.qi@linaro.org>
11183
11184 * gdb.base/disp-step-fork.c: Rename to ...
11185 * gdb.base/step-over-fork.c: ... it. New file.
11186 * gdb.base/disp-step-vfork.c: Rename to ...
11187 * gdb.base/step-over-vfork.c: ... it. New file.
11188 * gdb.base/disp-step-syscall.exp: Rename to ...
11189 * gdb.base/step-over-syscall.exp: ... it. New file.
11190 (disp_step_cross_syscall): Rename to ...
11191 (step_over_syscall): ... it.
11192
92fa70b0
YQ
111932016-03-03 Yao Qi <yao.qi@linaro.org>
11194
11195 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
11196 If target supports condition evaluation on target, invoke
11197 break_cond_on_syscall for fork and vfork.
11198
e197ad3c
YQ
111992016-03-03 Yao Qi <yao.qi@linaro.org>
11200
11201 * gdb.base/disp-step-syscall.exp: Don't invoke
11202 support_displaced_stepping.
11203 (disp_step_cross_syscall): Test with displaced stepping off and
11204 on if supported.
11205
0b47da9f
YQ
112062016-03-03 Yao Qi <yao.qi@linaro.org>
11207
11208 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
11209 proc.
11210 (setup): New proc.
11211 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
11212 and setup.
11213
065ab6dc
BH
112142016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11215
11216 * gdb.fortran/vla-history.exp: Remove breakpoint.
11217
07e448ad 112182016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11219
25d49b86
PA
11220 * gdb.fortran/vla-history.exp: Lookup array elements and printing
11221 exceeds timeout.
07e448ad 11222
9ac2d526 112232016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11224
25d49b86
PA
11225 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
11226 breakpoint.
9ac2d526 11227
17807369
BH
112282016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11229
11230 * gdb.mi/vla.f90: Nullify pointer after declaration.
11231
86e501af
PA
112322016-03-01 Pedro Alves <palves@redhat.com>
11233
11234 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
11235
1e903e32
PA
112362016-03-01 Pedro Alves <palves@redhat.com>
11237
11238 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
11239 before anything else.
11240 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
11241 _GNU_SOURCE here.
11242 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
11243 before anything else.
11244 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
11245
6ccb54e2
PA
112462016-03-01 Pedro Alves <palves@redhat.com>
11247
11248 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
11249
30ca9da1
YQ
112502016-03-01 Yao Qi <yao.qi@linaro.org>
11251
11252 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
11253 prepare_for_testing.
11254
dc856b38
YQ
112552016-03-01 Yao Qi <yao.qi@linaro.org>
11256
11257 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
11258
4a932159
AA
112592016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
11260
11261 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
11262 manually constructing the output path.
11263
f2489477
AA
112642016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
11265
11266 * gdb.arch/s390-stackless.S: New.
11267 * gdb.arch/s390-stackless.exp: New.
11268
38899f16
IB
112692016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
11270
11271 * gdb.dlang/circular.c: New file.
11272 * gdb.dlang/circular.exp: New file.
11273
9fde51ed
YQ
112742016-02-26 Yao Qi <yao.qi@linaro.org>
11275
11276 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
11277 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
11278 (testcases): Update.
11279
ce90fefe
YQ
112802016-02-26 Yao Qi <yao.qi@linaro.org>
11281
11282 * gdb.reverse/aarch64.c: Rename to ...
11283 * gdb.reverse/insn-reverse.c: ... it.
11284 * gdb.reverse/aarch64.exp: Rename to ...
11285 * gdb.reverse/insn-reverse.exp: ... it.
11286
3263bceb
YQ
112872016-02-26 Yao Qi <yao.qi@linaro.org>
11288
11289 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
11290 (testcase_ftype): New.
11291 (testcases): New array.
11292 (n_testcases): New.
11293 (main): Call each element in testcases.
11294 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
11295 (read_testcase): New.
11296 Do the tests in a loop.
11297
6cb59ff1
YQ
112982016-02-25 Yao Qi <yao.qi@linaro.org>
11299
11300 * gdb.base/branches.c: Remove.
11301
ae91f625
MK
113022016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11303
11304 PR gdb/13808
11305 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
11306
678b48b7
MK
113072016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11308
11309 * gdb.trace/ftrace.exp: Remove unnecessary target check.
11310
7337a6f2
MK
113112016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11312
11313 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
11314 change x86_64 call_insn to 'callq'.
11315
861ca91f
AT
113162016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
11317
11318 * gdb.trace/tfile-avx.c: Move to...
11319 * gdb.trace/tracefile-pseudo-reg.c: Here.
11320 * gdb.trace/tfile-avx.exp: Move to...
11321 * gdb.trace/tracefile-pseudo-reg.exp: Here.
11322
bf74e428
GB
113232016-02-24 Gary Benson <gbenson@redhat.com>
11324
11325 * gdb.base/attach-pie-noexec.exp: Do not expect an error
11326 message on attach.
11327
cce0e923
DE
113282016-02-23 Doug Evans <dje@google.com>
11329
11330 * gdb.base/skip.c (test_skip): New function.
11331 (end_test_skip_file_and_function): New function.
11332 (test_skip_file_and_function): New function.
11333 * gdb.base/skip1.c (test_skip): New function.
11334 (skip1_test_skip_file_and_function): New function.
11335 * gdb.base/skip.exp: Add tests for new skip options.
11336 * gdb.base/skip-solib.exp: Update expected output.
11337 * gdb.perf/skip-command.cc: New file.
11338 * gdb.perf/skip-command.exp: New file.
11339 * gdb.perf/skip-command.py: New file.
11340
4000e47e
MK
113412016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
11342
11343 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
11344 info registers pattern.
11345
24f75ead
IB
113462016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
11347
11348 * lib/future.exp: Add D support.
11349 (gdb_find_gdc): New proc.
11350 (gdb_default_target_compile): Add D support.
11351
fbb7bcbe
WW
113522016-02-18 Wei-cheng Wang <cole945@gmail.com>
11353
11354 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
11355 user+system time.
11356 (trace_speed_test): Determine the iteration count for a time
11357 between 15..30 seconds.
11358
012b3a21
WT
113592016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
11360
11361 * gdb.arch/i386-mpx-sigsegv.c: New file.
11362 * gdb.arch/i386-mpx-sigsegv.exp: New file.
11363 * gdb.arch/i386-mpx-simple_segv.c: New file.
11364 * gdb.arch/i386-mpx-simple_segv.exp: New file.
11365
2d5189bd
YQ
113662016-02-18 Yao Qi <yao.qi@linaro.org>
11367
11368 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
11369 Don't call setup_kfail.
11370
40fb20d0
YQ
113712016-02-18 Yao Qi <yao.qi@linaro.org>
11372
11373 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
11374 Set "set breakpoint condition-evaluation" per $cond_bp_target.
11375
21b1f8d2
DE
113762016-02-16 Doug Evans <dje@google.com>
11377
11378 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
11379 * gdb.base/skip1.c: Ditto.
11380 * gdb.base/skip.exp: Whitespace cleanup.
11381
4041ed77
DB
113822016-02-16 Don Breazeal <donb@codesourcery.com>
11383
11384 PR remote/19496
11385 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
11386 Remove kfail for PR remote/19496.
11387
c4ef31bf
SM
113882016-02-16 Simon Marchi <simon.marchi@ericsson.com>
11389
11390 * lib/gdb.exp (standard_temp_file): Return a path specific to
11391 the runtest invocation.
11392
266b65b3
SM
113932016-02-16 Simon Marchi <simon.marchi@ericsson.com>
11394
11395 * gdb.trace/save-trace.exp: Change relative path to be in the
11396 standard output directory.
11397
a7a0a6a9
JK
113982016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11399
11400 * gdb.arch/i386-prologue.c: Add missing prototypes.
11401
c99dbb42
JK
114022016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11403
11404 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
11405 * gdb.arch/i386-prologue.exp: Likewise.
11406 * gdb.arch/i386-size.exp: Likewise.
11407
aa480355
SM
114082016-02-15 Simon Marchi <simon.marchi@ericsson.com>
11409
11410 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
11411 define object file path.
11412 * gdb.btrace/gcore.exp: Use standard_output_file to define core
11413 file path.
11414 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
11415 standard_output_file to define binfile.
11416
ba881f50
JK
114172016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11418
11419 Fix compatibility with recent gfortran-5.3.1.
11420 * gdb.fortran/vla-history.exp (print vla1 allocated)
11421 (print vla2 allocated, print $2, print $3): Remove
11422 (print $4): Rename to ...
11423 (print $2): ... here.
11424 (print $9): Rename to ...
11425 (print $5): ... here.
11426 (print $10): Rename to ...
11427 (print $6): ... here.
11428 * gdb.fortran/vla.f90: Add pvla initialization.
11429
e9fb005c
JK
114302016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11431
11432 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
11433 New test.
11434 * gdb.fortran/vla-value-sub.exp: Likewise.
11435
e44e00ff
MK
114362016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
11437
11438 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
11439
97e94151
SM
114402016-02-12 Simon Marchi <simon.marchi@ericsson.com>
11441
11442 * i386-biarch-core.exp: Define corefile using
11443 standard_output_file.
11444
01113bc1
YQ
114452016-02-12 Yao Qi <yao.qi@linaro.org>
11446
11447 * gdb.arch/arm-single-step-kernel-helper.c: New.
11448 * gdb.arch/arm-single-step-kernel-helper.exp: New.
11449
33b4777c
MM
114502016-02-12 Markus Metzger <markus.t.metzger@intel.com>
11451
11452 * gdb.btrace/tailcall-only.exp: New.
11453 * gdb.btrace/tailcall-only.c: New.
11454 * gdb.btrace/x86_64-tailcall-only.S: New.
11455 * gdb.btrace/i686-tailcall-only.S: New.
11456
acc23c11
PA
114572016-02-11 Pedro Alves <palves@redhat.com>
11458
11459 * README (Parallel testing): Add missing double quotes.
11460
e352bf0a
PA
114612016-02-11 Pedro Alves <palves@redhat.com>
11462
11463 * README (Parallel testing): New section.
11464 (GDB_PARALLEL): Rewrite.
11465 (FORCE_PARALLEL): Document.
11466
9f5fed78
MK
114672016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
11468
11469 * gdb.trace/tfile-avx.c: New test.
11470 * gdb.trace/tfile-avx.exp: New test.
11471
9ef9e6a6
KS
114722016-02-09 Keith Seitz <keiths@redhat.com>
11473
11474 PR breakpoints/19546
11475 * gdb.base/infcall-exec.c: New file.
11476 * gdb.base/infcall-exec2.c: New file.
11477 * gdb.base/infcall-exec.exp: New file.
11478
a96e36da
KS
114792016-02-09 Keith Seitz <keiths@redhat.com>
11480
11481 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
11482 (toplevel): Call test_bkpt_address.
11483
9f61929f
KS
114842016-02-09 Keith Seitz <keiths@redhat.com>
11485
11486 PR python/19506
11487 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
11488 (toplevel): Call test_bkpt_address.
11489
1e94266c
SM
114902016-02-09 Simon Marchi <simon.marchi@ericsson.com>
11491
11492 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
11493 to AC_OUTPUT.
11494 * configure: Regenerate.
11495
2a7f3dff
PA
114962016-02-09 Pedro Alves <palves@redhat.com>
11497
11498 PR breakpoints/19548
11499 * gdb.base/execl-update-breakpoints.c (some_function): New
11500 function.
11501 (main): Call it.
11502 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
11503 Tighten expected GDB output.
11504
2151ccc5
SM
115052016-02-08 Simon Marchi <simon.marchi@ericsson.com>
11506
11507 * Makefile.in (ALL_SUBDIRS): Remove.
11508 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
11509 (distclean maintainer-clean realclean): Likewise.
11510 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
11511 * configure: Regenerate.
11512 * gdb.ada/Makefile.in: Delete.
11513 * gdb.arch/Makefile.in: Likewise.
11514 * gdb.asm/Makefile.in: Likewise.
11515 * gdb.base/Makefile.in: Likewise.
11516 * gdb.btrace/Makefile.in: Likewise.
11517 * gdb.cell/Makefile.in: Likewise.
11518 * gdb.compile/Makefile.in: Likewise.
11519 * gdb.cp/Makefile.in: Likewise.
11520 * gdb.disasm/Makefile.in: Likewise.
11521 * gdb.dlang/Makefile.in: Likewise.
11522 * gdb.dwarf2/Makefile.in: Likewise.
11523 * gdb.fortran/Makefile.in: Likewise.
11524 * gdb.gdb/Makefile.in: Likewise.
11525 * gdb.go/Makefile.in: Likewise.
11526 * gdb.guile/Makefile.in: Likewise.
11527 * gdb.java/Makefile.in: Likewise.
11528 * gdb.linespec/Makefile.in: Likewise.
11529 * gdb.mi/Makefile.in: Likewise.
11530 * gdb.modula2/Makefile.in: Likewise.
11531 * gdb.multi/Makefile.in: Likewise.
11532 * gdb.objc/Makefile.in: Likewise.
11533 * gdb.opencl/Makefile.in: Likewise.
11534 * gdb.opt/Makefile.in: Likewise.
11535 * gdb.pascal/Makefile.in: Likewise.
11536 * gdb.perf/Makefile.in: Likewise.
11537 * gdb.python/Makefile.in: Likewise.
11538 * gdb.reverse/Makefile.in: Likewise.
11539 * gdb.server/Makefile.in: Likewise.
11540 * gdb.stabs/Makefile.in: Likewise.
11541 * gdb.threads/Makefile.in: Likewise.
11542 * gdb.trace/Makefile.in: Likewise.
11543 * gdb.xml/Makefile.in: Likewise.
11544 * lib/gdb.exp (make_gdb_parallel_path): Add check for
11545 GDB_PARALLEL.
11546 (standard_output_file): Remove check for GDB_PARALLEL, always
11547 return path in outputs/$subdir/$testname.
11548
437277d4
SM
115492016-02-08 Simon Marchi <simon.marchi@ericsson.com>
11550
11551 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
11552 (site.exp): Assign abs_srcdir to tcl's srcdir.
11553
31d913c7
YQ
115542016-02-04 Yao Qi <yao.qi@linaro.org>
11555
11556 * gdb.base/foll-exec-mode.c: Include limits.h.
11557 (main): Add parameters argc and argv. Get directory from
11558 argv[0].
11559 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
11560 compilation.
11561 * gdb.base/foll-exec.c: Include limits.h.
11562 (main): Add parameters argc and argv.
11563 Get directory from argv[0].
11564 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
11565 Adjust tests on the number of lines as source code changed.
11566 * gdb.base/foll-vfork-exit.c: Include limits.h.
11567 (main): Add one line of statement before vfork.
11568 * gdb.base/foll-vfork.c: Include limits.h and string.h.
11569 (main): Add parameters argc and argv. Get directory from
11570 argv[0].
11571 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
11572 (setup_gdb): Set tbreak to skip some source lines.
11573 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
11574 (main): Add parameters argc and argv. Get directory from
11575 argv[0].
11576 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
11577 compilation.
11578 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
11579 (main): Add parameters argc and argv. Get directory from
11580 argv[0].
11581 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
11582 compilation.
11583
9482b9fb
DE
115842016-02-01 Doug Evans <dje@google.com>
11585
11586 * gdb.base/skip.exp: Clean up multiple references to same test name.
11587
6b2e4f10
PA
115882016-02-01 Pedro Alves <palves@redhat.com>
11589
ccb6afd6 11590 PR remote/19496
6b2e4f10
PA
11591 * gdb.threads/forking-threads-plus-breakpoint.exp
11592 (displaced_stepping_supported): New global.
11593 (probe_displaced_stepping_support): New procedure.
11594 (do_test): Add 'displaced' parameter, and use it.
11595 (top level): Check for displaced stepping support. Add displaced
11596 stepping on/off testing axis.
11597
37a8db1a
AB
115982016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
11599
11600 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
11601 pointer. Don't perform further tests on the unassociated pointer
11602 if the first test fails.
11603
5fdf6324
AB
116042016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
11605
11606 * gdb.base/max-value-size.c: New file.
11607 * gdb.base/max-value-size.exp: New file.
11608 * gdb.base/huge.exp: Disable max-value-size for this test.
11609
935c6144
IB
116102016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
11611
11612 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
11613
7fe8399d
YQ
116142016-01-28 Yao Qi <yao.qi@linaro.org>
11615
11616 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
11617
a2077e25
PA
116182016-01-25 Pedro Alves <palves@redhat.com>
11619
11620 PR threads/19461
11621 * gdb.base/fork-running-state.c: New file.
11622 * gdb.base/fork-running-state.exp: New file.
11623
1d2736d4
PA
116242016-01-25 Pedro Alves <palves@redhat.com>
11625
11626 PR gdb/19494
11627 * gdb.base/catch-fork-kill.c: New file.
11628 * gdb.base/catch-fork-kill.exp: New file.
11629
f1da4b11
PA
116302016-01-25 Pedro Alves <palves@redhat.com>
11631
11632 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
11633 Delete, moved to lib/gdb.exp.
11634 * gdb.threads/forking-threads-plus-breakpoint.exp
11635 (foreach_with_prefix): Likewise.
11636 * gdb.threads/process-dies-while-handling-bp.exp
11637 (foreach_with_prefix): Likewise.
11638 * lib/gdb.exp (foreach_with_prefix): New procedure.
11639
45f38546
MK
116402016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
11641
11642 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
11643 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
11644
dc29a1ce
MK
116452016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
11646
11647 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
11648 endian targets.
11649
092127d7
JK
116502016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11651 Pedro Alves <palves@redhat.com>
11652
11653 Fix testsuite compatibility with Guile.
11654 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
11655 number.
11656
31d765d3
JK
116572016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11658
11659 Fix testsuite compatibility with Guile.
11660 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
11661 (thread 1): New test for backtrace through signal handler.
11662
1ac78c04
YQ
116632016-01-22 Yao Qi <yao.qi@linaro.org>
11664
11665 PR testsuite/19491
11666 * gdb.base/multi-forks.c: Include
11667 ../lib/unbuffer_output.c
11668 (main): Call gdb_unbuffer_output.
11669
4f5946a8
DE
116702016-01-21 Doug Evans <dje@google.com>
11671
11672 * lib/ada.exp (gdb_compile_ada): Fix typo.
11673
305e13e6
JB
116742016-01-21 Joel Brobecker <brobecker@adacore.com>
11675
11676 * gdb.base/break-fun-addr.exp: New file.
11677 * gdb.base/break-fun-addr1.c: New file.
11678 * gdb.base/break-fun-addr2.c: New file.
11679
5f5dfff6
SM
116802016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
11681
11682 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
11683 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
11684 enum flag values.
11685
fd356fa2
AA
116862016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11687
11688 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
11689 when GDB can not set the vector return value. Add more comments
11690 for clarification.
11691
9df22175
AT
116922016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
11693
11694 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
11695 command.
11696
41d1845e
SM
116972016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11698
11699 * Makefile.in (DO_RUNTEST): Add --status and update usages.
11700
01ac6840
SM
117012016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11702
11703 * Makefile.in (check-single): Pass --status to runtest.
11704 (check/%.exp): Likewise.
11705
117062016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11707
11708 * Makefile.in (check-parallel): Propagate return code from make
11709 do-check-parallel.
11710
bd0a71fa
MK
117112016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
11712
11713 * gdb.trace/ftrace.exp: Fix expected message on continue.
11714 * gdb.trace/pending.exp: Fix expected message on continue.
11715 * gdb.trace/trace-break.exp: Fix expected message on continue.
11716
8bcbad33
SM
117172016-01-18 Simon Marchi <simon.marchi@ericsson.com>
11718
11719 * lib/gdb.exp (gdb_test): Remove unused global references.
11720
f303dbd6
PA
117212016-01-18 Pedro Alves <palves@redhat.com>
11722
11723 * gdb.base/async-shell.exp: Adjust expected output.
11724 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
11725 * gdb.base/siginfo-thread.exp: Adjust expected output.
11726 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
11727 * gdb.java/jnpe.exp: Adjust expected output.
11728 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
11729 * gdb.threads/continue-pending-status.exp: Adjust expected output.
11730 * gdb.threads/leader-exit.exp: Adjust expected output.
11731 * gdb.threads/manythreads.exp: Adjust expected output.
11732 * gdb.threads/pthreads.exp: Adjust expected output.
11733 * gdb.threads/schedlock.exp: Adjust expected output.
11734 * gdb.threads/siginfo-threads.exp: Adjust expected output.
11735 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
11736 expected output.
11737 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
11738 output.
11739 * gdb.threads/sigthread.exp: Adjust expected output.
11740 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
11741
b2789696
YQ
117422016-01-18 Yao Qi <yao.qi@linaro.org>
11743
11744 * gdb.guile/scm-section-script.c: Replace @progbits with
11745 %progbits.
11746 * gdb.python/py-section-script.c: Likewise.
11747
71ef29a8
PA
117482016-01-15 Pedro Alves <palves@redhat.com>
11749
11750 * gdb.multi/tids.exp: Test star wildcard ranges.
11751
3f5b7598
PA
117522016-01-15 Pedro Alves <palves@redhat.com>
11753
11754 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
11755 command from "thread apply" invocation.
11756 (thr_apply_info_thr_invalid): Default the expected output to the
11757 input tid list.
11758 (top level): Add tests that use convenience variables. Add tests
11759 for "thread apply" with a valid TID list, but missing the command.
11760
663f6d42
PA
117612016-01-13 Pedro Alves <palves@redhat.com>
11762
11763 * gdb.base/default.exp: Expect $_gthread as well.
11764 * gdb.multi/tids.exp: Test $_gthread.
11765 * gdb.threads/thread-specific.exp: Test $_gthread.
11766
c84f6bbf
PA
117672016-01-13 Pedro Alves <palves@redhat.com>
11768
11769 * gdb.multi/tids.exp: Test "info threads -gid".
11770
22a02324
PA
117712016-01-13 Pedro Alves <palves@redhat.com>
11772
11773 * gdb.multi/tids.exp: Test InferiorThread.global_num and
11774 Breakpoint.thread.
11775 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
11776
5d5658a1
PA
117772016-01-07 Pedro Alves <palves@redhat.com>
11778
11779 * gdb.base/break.exp: Adjust to output changes.
11780 * gdb.base/hbreak2.exp: Likewise.
11781 * gdb.base/sepdebug.exp: Likewise.
11782 * gdb.base/watch_thread_num.exp: Likewise.
11783 * gdb.linespec/keywords.exp: Likewise.
11784 * gdb.multi/info-threads.exp: Likewise.
11785 * gdb.threads/thread-find.exp: Likewise.
11786 * gdb.multi/tids.c: New file.
11787 * gdb.multi/tids.exp: New file.
11788
84654457
PA
117892016-01-13 Pedro Alves <palves@redhat.com>
11790
11791 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
11792
e3940304
PA
117932016-01-13 Pedro Alves <palves@redhat.com>
11794
11795 * gdb.base/default.exp: Expect $_inferior as well.
11796 * gdb.multi/base.exp: Test $_inferior.
11797
a911d87a
PA
117982016-01-13 Pedro Alves <palves@redhat.com>
11799
11800 PR breakpoints/19388
11801 * gdb.base/catch-signal-siginfo-cond.c: New file.
11802 * gdb.base/catch-signal-siginfo-cond.exp: New file.
11803
82075af2
JS
118042016-01-12 Josh Stone <jistone@redhat.com>
11805 Philippe Waroquiers <philippe.waroquiers@skynet.be>
11806
11807 * gdb.base/catch-syscall.c (do_execve): New variable.
11808 (main): Conditionally trigger an execve.
11809 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
11810 (test_catch_syscall_execve): New, check entry/return across execve.
11811 (do_syscall_tests): Call test_catch_syscall_execve.
11812
e46eeedd
PA
118132016-01-12 Pedro Alves <palves@redhat.com>
11814
11815 * gdb.base/random-signal.exp (do_test): New procedure, with body
11816 of testcase moved in.
11817
01d8c27e
JK
118182016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11819 Pedro Alves <palves@redhat.com>
11820
11821 * gdb.base/funcargs.exp (finish from indirectly called function):
11822 Reintroduce the case for 'First'.
11823
9a706302
JK
118242016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11825 Pedro Alves <palves@redhat.com>
11826
11827 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
11828 (tcatch_vfork_then_child_follow_exec)
11829 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
11830 identification.
11831
c0ecb95f
JK
118322016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11833
11834 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
11835 and repeats to unlimited.
11836 * gdb.python/py-value.exp: Likewise.
11837 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
11838 and repeats to unlimited.
11839
6cfc1fcb
JK
118402016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11841
11842 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
11843 and reordering the functions.
11844 * gdb.multi/hangout.c: Likewise.
11845 * gdb.multi/hello.c: Likewise.
11846
582a1b00
SM
118472016-01-08 Simon Marchi <simon.marchi@ericsson.com>
11848
11849 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
11850 absolute.
11851 (SingleStatisticTestResult.report): Use dict.keys instead of
11852 dict.iterkeys.
11853
79bc59cb
PA
118542016-01-06 Pedro Alves <palves@redhat.com>
11855
11856 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
11857
43368e1d
MM
118582016-01-04 Markus Metzger <markus.t.metzger@intel.com>
11859
11860 * gdb.btrace/dlopen.exp: New.
11861 * gdb.btrace/dlopen.c: New.
11862 * gdb.btrace/dlopen-dso.c: New.
11863
79fad5b8
SL
118642015-12-25 Sandra Loosemore <sandra@codesourcery.com>
11865
11866 * lib/gdb.exp (gdb_test): Update comments to clarify that the
11867 PATTERN argument is optional.
11868
ab8314b3
JB
118692015-12-24 Joel Brobecker <brobecker@adacore.com>
11870
11871 * lib/ada.exp (target_compile_ada_from_dir): New function.
11872 (gdb_compile_ada): Reimplement avoiding the use of project files.
11873 * gdb.ada/gnat_ada.gpr: Delete.
11874 * gdb.ada/cond_lang.exp: Adjust test to make path before
11875 filename optional.
11876 * gdb.ada/small_reg_param.exp: Likewise.
11877
fe33faff
SM
118782015-12-22 Simon Marchi <simon.marchi@ericsson.com>
11879
11880 * gdb.base/foll-vork.exp: Remove HP-UX special case.
11881
6d265cb4
TP
118822015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
11883
11884 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
11885 case.
11886
10125099
SM
118872015-12-21 Simon Marchi <simon.marchi@ericsson.com>
11888
11889 * gdb.base/break.exp: Remove dead code.
11890 * gdb.base/sepdebug.exp: Likewise.
11891
3ca22649
SM
118922015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
11893
11894 * gdb.asm/asm-source.exp: Remove HP-UX references.
11895 * gdb.base/annota1.exp: Likewise.
11896 * gdb.base/annota3.exp: Likewise.
11897 * gdb.base/attach.exp: Likewise.
11898 * gdb.base/bigcore.exp: Likewise.
11899 * gdb.base/break.exp: Likewise.
11900 * gdb.base/call-ar-st.exp: Likewise.
11901 * gdb.base/callfuncs.exp: Likewise.
11902 * gdb.base/catch-fork-static.exp: Likewise.
11903 * gdb.base/display.exp: Likewise.
11904 * gdb.base/foll-exec-mode.exp: Likewise.
11905 * gdb.base/foll-exec.exp: Likewise.
11906 * gdb.base/foll-fork.exp: Likewise.
11907 * gdb.base/foll-vfork.exp: Likewise.
11908 * gdb.base/funcargs.exp: Likewise.
11909 * gdb.base/hbreak2.exp: Likewise.
11910 * gdb.base/inferior-died.exp: Likewise.
11911 * gdb.base/interrupt.exp: Likewise.
11912 * gdb.base/multi-forks.exp: Likewise.
11913 * gdb.base/nodebug.exp: Likewise.
11914 * gdb.base/sepdebug.exp: Likewise.
11915 * gdb.base/solib1.c: Likewise.
11916 * gdb.base/step-test.exp: Likewise.
11917 * gdb.mi/non-stop.c: Likewise.
11918 * gdb.mi/pthreads.c: Likewise.
11919 * gdb.multi/bkpt-multi-exec.ex: Likewise.
11920 * gdb.threads/pthreads.c: Likewise.
11921 * gdb.threads/staticthreads.exp: Likewise.
11922 * lib/future.exp: Likewise.
11923 * lib/gdb.exp: Likewise.
11924 * gdb.base/so-indr-cl.c: Remove.
11925 * gdb.base/so-indr-cl.exp: Likewise.
11926 * gdb.base/solib.c: Likewise.
11927 * gdb.base/solib.exp: Likewise.
11928 * gdb.base/solib2.c: Likewise.
11929
b6304613
SM
119302015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
11931
11932 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
11933 * gdb.base/call-ar-st.exp: Likewise.
11934 * gdb.base/callfuncs.exp: Likewise.
11935 * gdb.base/condbreak.exp: Likewise.
11936 * gdb.base/constvars.exp: Likewise.
11937 * gdb.base/hbreak2.exp: Likewise.
11938 * gdb.base/langs.exp: Likewise.
11939 * gdb.base/list.exp: Likewise.
11940 * gdb.base/long_long.exp: Likewise.
11941 * gdb.base/ptype.exp: Likewise.
11942 * gdb.base/scope.exp: Likewise.
11943 * gdb.base/signals.exp: Likewise.
11944 * gdb.base/so-impl-ld.exp: Likewise.
11945 * gdb.base/varargs.exp: Likewise.
11946 * gdb.base/volatile.exp: Likewise.
11947 * gdb.base/whatis.exp: Likewise.
11948 * gdb.cp/cplusfuncs.exp: Likewise.
11949 * gdb.cp/inherit.exp: Likewise.
11950 * gdb.cp/local.exp: Likewise.
11951 * gdb.cp/member-ptr.exp: Likewise.
11952 * gdb.cp/method.exp: Likewise.
11953 * gdb.cp/overload.exp: Likewise.
11954 * gdb.cp/templates.exp: Likewise.
11955 * gdb.stabs/weird.exp: Likewise.
11956 * lib/compiler.c: Likewise.
11957 * lib/compiler.cc: Likewise.
11958 * lib/cp-support.exp: Likewise.
11959 * lib/gdb.exp: Likewise.
11960
bf401b07
SM
119612015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
11962
11963 * configure.ac: Remove HP-UX case.
11964 * configure: Regenerate.
11965
aff9c0f8
SM
119662015-12-18 Simon Marchi <simon.marchi@ericsson.com>
11967
11968 * lib/gdb.exp (gdb_compile): Add function doc.
11969
a6904d5a
PA
119702015-12-17 Pedro Alves <palves@redhat.com>
11971
11972 PR threads/19354
11973 * gdb.multi/info-threads.exp: New file.
11974
a22279dd
YQ
119752015-12-15 Yao Qi <yao.qi@linaro.org>
11976
11977 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
11978 is aarch64*-*-*.
11979
0588c796
SL
119802015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11981
11982 * gdb.base/history-duplicates.exp: Skip if no readline support.
11983
5d978e17
SL
119842015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11985
11986 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
11987
7e763b86
SL
119882015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11989
11990 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
11991
87a3a92c
SL
119922015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11993
11994 * gdb.base/completion.exp: Skip tests that interrupt GDB with
11995 ctrl-C if nointerrupts target property is set.
11996 * gdb.base/double-prompt-target-event-error.exp: Likewise.
11997 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
11998 * gdb.base/paginate-bg-execution.exp: Likewise.
11999 * gdb.base/paginate-execution-startup.exp: Likewise.
12000 * gdb.base/random-signal.exp: Likewise.
12001 * gdb.base/range-stepping.exp: Likewise.
12002 * gdb.cp/annota2.exp: Likewise.
12003 * gdb.cp/annota3.exp: Likewise.
12004 * gdb.gdb/selftest.exp: Likewise.
12005 * gdb.threads/continue-pending-status.exp: Likewise.
12006 * gdb.threads/leader-exit.exp: Likewise.
12007 * gdb.threads/manythreads.exp: Likewise.
12008 * gdb.threads/pthreads.exp: Likewise.
12009 * gdb.threads/schedlock.exp: Likewise.
12010 * gdb.threads/sigthread.exp: Likewise.
12011
a8f077dc
DB
120122015-12-11 Don Breazeal <donb@codesourcery.com>
12013
12014 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
12015 remote.
12016 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
12017 * gdb.base/foll-exec.exp (main): Enable for target remote.
12018 * gdb.base/foll-fork.exp (main): Likewise.
12019 * gdb.base/foll-vfork.exp (main): Likewise.
12020 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
12021 (proc continue_to_exit_bp_loc): Use clean_restart.
12022 * gdb.base/pie-execl.exp (main): Disable for target remote.
12023 * gdb.base/watch-vfork.exp (main): Enable for target remote.
12024 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
12025 * gdb.threads/execl.exp (main): Likewise.
12026 * gdb.threads/fork-child-threads.exp (main): Likewise.
12027 * gdb.threads/fork-plus-threads.exp (main): Disable for target
12028 remote.
12029 * gdb.threads/fork-thread-pending.exp (main): Enable for target
12030 remote.
12031 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
12032 pid.tid style ptids, instead of just tid.
12033 * gdb.threads/thread-execl.exp (main): Enable for target remote.
12034 * gdb.threads/watchpoint-fork.exp (main): Likewise.
12035 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
12036 ptids, instead of just tid.
12037
3b2464a8
AB
120382015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
12039
12040 * gdb.base/list.exp (test_list_forward): Add end of file error
12041 test.
12042 (test_repeat_list_command): Add end of file error test.
12043 (test_list_backwards): Add beginning of file error test.
12044
a0def019
AB
120452015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
12046
12047 * gdb.base/list.exp (test_list_invalid_args): New function,
12048 defined, and called.
12049
5c000dff
AB
120502015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
12051
12052 * gdb.base/list.exp (test_list): Make test names unique.
12053
f1637ebe
YQ
120542015-12-11 Yao Qi <yao.qi@linaro.org>
12055
12056 * gdb.base/coremaker2.c: Remove.
12057
36d6fc0a
PA
120582015-12-10 Pedro Alves <palves@redhat.com>
12059
12060 * gdb.multi/base.exp: Remove stale "spaces" references.
12061
762f7747
PA
120622015-12-10 Pedro Alves <palves@redhat.com>
12063
12064 * gdb.multi/base.exp: Don't use nowarnings.
12065 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
12066 * gdb.multi/hangout.c: Include stdio.h.
12067 * gdb.multi/hello.c: Include stdlib.h.
12068 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
12069 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
12070 * gdb.multi/multi-arch.exp: Don't use nowarnings.
12071
28d2bfb9
AB
120722015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
12073
12074 * gdb.dwarf2/dw2-ranges-base.c: New file.
12075 * gdb.dwarf2/dw2-ranges-base.exp: New file.
12076 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
12077 support additional line table, and debug ranges generation.
12078 (Dwarf::ranges): New function, generate .debug_ranges.
12079 (Dwarf::lines): Support generating simple line table programs.
12080 (Dwarf::assemble): Initialise new namespace variables.
12081
5fc2beac
KB
120822015-12-09 Kevin Buettner <kevinb@redhat.com>
12083
12084 * gdb.base/async.exp (proc test_background): Add case for
12085 asynchronous execution not supported.
12086
1c35a88f
LM
120872015-12-09 Luis Machado <lgustavo@codesourcery.com>
12088
12089 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
12090 format and change test names to make them unique.
12091
b593e3d9
RK
120922015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
12093 Pedro Alves <pedro@redhat.com>
12094
12095 PR gdb/18702
12096 Add checking of floatformats setup on x86_64 hosts.
12097 * gdb.arch/i386-float.S (main): Load bigval and smallval.
12098 (smallval, bigval): New labels/constants.
12099 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
12100 float" after loading bigval and smallval.
12101
d72413e6
PMR
121022015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
12103
12104 * gdb.ada/fun_overload_menu.exp: New testcase.
12105 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
12106
ece66d65
JS
121072015-12-04 Josh Stone <jistone@redhat.com>
12108
12109 * gdb.base/catch-fork-static.exp: New.
12110
41d0efca
YQ
121112015-12-03 Yao Qi <yao.qi@linaro.org>
12112
12113 * gdb.base/sizeof.c: Don't include stdio.h and
12114 ../lib/unbuffer_output.c.
12115 (main): New variable 'size' and 'value'. Remove printf and
12116 gdb_unbuffer_output. Assign return value to size and value.
12117 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
12118 at the beginning.
12119 (check_sizeof): Check the result by printing variable 'size'.
12120 (check_valueof): Check the result by printing variable 'value'.
12121
99fd02d9
YQ
121222015-12-01 Yao Qi <yao.qi@linaro.org>
12123
12124 * gdb.base/disp-step-syscall.exp: Define syscall instruction
12125 for aarch64*-*-linux* target.
12126
f2faf941
PA
121272015-11-30 Pedro Alves <palves@redhat.com>
12128
12129 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
12130
04bf20c5
PA
121312015-11-30 Pedro Alves <palves@redhat.com>
12132
12133 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
12134 Handle non-stop mode vCont replies.
12135
09df4675
PA
121362015-11-30 Pedro Alves <palves@redhat.com>
12137
12138 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
12139 prepare_for_testing. Start gdb with "set non-stop on" appended to
12140 GDBFLAGS. Lax expected stop output.
12141
58b584af
YQ
121422015-11-27 Yao Qi <yao.qi@linaro.org>
12143
12144 * gdb.arch/arm-neon.exp: New.
12145 * gdb.arch/arm-neon.c: New.
12146
dfcb77a8
YQ
121472015-11-27 Yao Qi <yao.qi@linaro.org>
12148
12149 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
12150
88e8ec1b
YQ
121512015-11-27 Yao Qi <yao.qi@linaro.org>
12152
12153 * gdb.cp/annota2.exp: Allow multiple occurrences of the
12154 frames-invalid annotation.
12155
bfde72c2
YQ
121562015-11-27 Yao Qi <yao.qi@linaro.org>
12157
12158 * gdb.cp/annota2.exp: Use ${frames_invalid}.
12159
f6512a69
SM
121602015-11-26 Simon Marchi <simon.marchi@ericsson.com>
12161
12162 * gdb.threads/names.exp: New file.
12163 * gdb.threads/names.c: New file.
12164 * README: Mention gdb,no_thread_names.
12165
46a3515b
MM
121662015-11-26 Markus Metzger <markus.t.metzger@intel.com>
12167
12168 PR 19297
12169 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
12170 support" error.
12171
62147a22
PA
121722015-11-24 Pedro Alves <palves@redhat.com>
12173
12174 PR 17539
12175 * gdb.base/display.exp: Expect displays to be sorted in ascending
12176 order. Use multi_line.
12177 * gdb.base/solib-display.exp: Likewise.
12178
2f341b6e
PA
121792015-11-24 Pedro Alves <palves@redhat.com>
12180
12181 PR 17539
25d49b86
PA
12182 * gdb.base/display.exp: Expect displays to be sorted in ascending
12183 order. Use multi_line.
12184 * gdb.base/solib-display.exp: Likewise.
2f341b6e 12185
7e0aa6aa
PA
121862015-11-24 Pedro Alves <palves@redhat.com>
12187
12188 PR 17539
12189 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
12190 threads in ascending order.
12191 * gdb.base/foll-fork.exp: Likewise.
12192 * gdb.base/foll-vfork.exp: Likewise.
12193 * gdb.base/multi-forks.exp: Likewise.
12194 * gdb.mi/mi-nonstop.exp: Likewise.
12195 * gdb.mi/mi-nsintrall.exp: Likewise.
12196 * gdb.multi/base.exp: Likewise.
12197 * gdb.multi/multi-arch.exp: Likewise.
12198 * gdb.python/py-inferior.exp: Likewise.
12199 * gdb.threads/break-while-running.exp: Likewise.
12200 * gdb.threads/execl.exp: Likewise.
12201 * gdb.threads/gcore-thread.exp: Likewise.
12202 * gdb.threads/info-threads-cur-sal.exp: Likewise.
12203 * gdb.threads/kill.exp: Likewise.
12204 * gdb.threads/linux-dp.exp: Likewise.
12205 * gdb.threads/multiple-step-overs.exp: Likewise.
12206 * gdb.threads/next-bp-other-thread.exp: Likewise.
12207 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
12208 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
12209 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
12210 * gdb.threads/thread-find.exp: Likewise.
12211 * gdb.threads/tls.exp: Likewise.
12212 * lib/mi-support.exp (mi_reverse_list): Delete.
12213 (mi_check_thread_states): No longer reverse list.
12214
2cc57ad8
PA
122152015-11-24 Pedro Alves <palves@redhat.com>
12216
12217 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
12218 use lowercase.
12219
c93e8391
SM
122202015-11-23 Simon Marchi <simon.marchi@ericsson.com>
12221
12222 * gdb.trace/actions.c: Include trace-common.h.
12223 (main): Add a location for a fast tracepoint.
12224 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
12225 the normal tracepoints.
12226 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
12227
045ccf91
SM
122282015-11-23 Simon Marchi <simon.marchi@ericsson.com>
12229
12230 * save-trace.exp: Factor out code to these...
12231 (gdb_save_tracepoints): New.
12232 (gdb_load_tracepoints): New.
12233 (do_save_load_test): New.
12234
5506f9f6
KB
122352015-11-23 Kevin Buettner <kevinb@redhat.com>
12236
12237 * gdb.base/asmlabel.exp: New test.
12238 * gdb.base/asmlabel.c: New test case.
12239
16c3b12f
JB
122402015-11-23 Joel Brobecker <brobecker@adacore.com>
12241
12242 * gdb.base/wrong_frame_bt_full-main.c: New file.
12243 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
12244 * gdb.base/wrong_frame_bt_full.exp: New file.
12245
155bfbd3
JB
122462015-11-23 Joel Brobecker <brobecker@adacore.com>
12247
12248 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
12249
bb097445
JM
122502015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
12251
206853a0 12252 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
12253 pstate register when comparing registers values in
12254 sparc64-*-linux-gnu targets to avoid spurious differences.
12255
9c88ed8f
JM
122562015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
12257
206853a0 12258 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 12259
96161e25
SL
122602015-11-19 Sandra Loosemore <sandra@codesourcery.com>
12261
12262 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
12263 as type argument to gdb_compile.
12264 * gdb.base/nested-subp2.exp: Likewise.
12265 * gdb.base/nested-subp3.exp: Likewise.
12266
340c2830
DV
122672015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
12268
12269 * lib/dwarf.exp (_note): Fix left shift of negative value.
12270 * gdb.trace/trace-condition.exp: Likewise.
12271
c1862d0f
YQ
122722015-11-13 Yao Qi <yao.qi@linaro.org>
12273
12274 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
12275 comments about d10v.
12276 (test_scalar_returns): Likewise.
12277 * gdb.base/d10v.ld: Remove.
12278 * gdb.base/overlays.exp: Remove the target triplet checking for
12279 d10v-*-*.
12280 * gdb.base/structs.exp (test_struct_returns): Remove the
12281 comments about d10v.
12282 (test_struct_calls): Likewise.
12283
77ae9c19
YQ
122842015-11-13 Yao Qi <yao.qi@linaro.org>
12285
12286 * gdb.base/gnu_vector.exp: Check the return value by "p res".
12287 * gdb.base/gnu_vector.c: Don't include stdio.h.
12288 (main): Don't print res and call add_some_intvecs.
12289
430e004e
MK
122902015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
12291
12292 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
12293 macro.
12294 (func5): Removed.
12295 (func4): Use FAST_TRACEPOINT_LABEL.
12296 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
12297 macro.
12298 (func): Removed.
12299 (thread_function): Use FAST_TRACEPOINT_LABEL.
12300 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
12301 (func): Remove.
12302 (marker): Use FAST_TRACEPOINT_LABEL.
12303 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
12304 (pendfunc1): Remove.
12305 (pendfunc): Use FAST_TRACEPOINT_LABEL.
12306 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
12307 (foo): Remove.
12308 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
12309 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
12310 macro.
12311 (func): Remove.
12312 (marker): Use FAST_TRACEPOINT_LABEL.
12313 * gdb.trace/trace-common.h: New header.
12314 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
12315 macro.
12316 (func): Remove.
12317 (marker): Use FAST_TRACEPOINT_LABEL.
12318 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
12319 (func): Remove.
12320 (thread_function): Use FAST_TRACEPOINT_LABEL.
12321
6e7675a7
MK
123222015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
12323
12324 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
12325 in front.
12326 * gdb.trace/change-loc.exp: Use global pcreg definition.
12327 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
12328 * gdb.trace/entry-values.exp: Use global spreg definition, add $
12329 in front.
12330 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
12331 * gdb.trace/pending.exp: Likewise.
12332 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
12333 * gdb.trace/trace-break.exp: Likewise.
12334 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
12335 in front.
12336 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
12337 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
12338 in front.
12339 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
12340
dddc0e16
JB
123412015-11-09 Joel Brobecker <brobecker@adacore.com>
12342
12343 * gdb.ada/fin_fun_out: New testcase.
12344
c6f0b406
KB
123452015-11-07 Kevin Buettner <kevinb@redhat.com>
12346
12347 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
12348 value associated with DW_AT_byte_size.
12349 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
12350 constants for DW_AT_byte_size, DW_AT_lower_bound, and
12351 DW_AT_upper_bound.
12352
f01dcfd9
KB
123532015-11-07 Kevin Buettner <kevinb@redhat.com>
12354
12355 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
12356 (gdb_target_symbol_prefix_flags): Define in terms of _asm
12357 version.
12358 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
12359 gdb.dwarf2/dw2-canonicalize-type.exp,
12360 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
12361 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
12362 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
12363 provided by gdb_target_symbol_prefix_flags_asm.
12364 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
12365 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
12366 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
12367 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
12368 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
12369 macros where needed). Use this macro for symbols which require
12370 the prefix provided by SYMBOL_PREFIX.
12371
2223449a
KB
123722015-11-05 Kevin Buettner <kevinb@redhat.com>
12373
12374 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
12375 New procs.
12376 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
12377 representing expressions, of more than one list element.
12378 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
12379 to prepend linker symbol prefix to f.
12380 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
12381 table_1 and table_2.
12382 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
12383 Likewise, for f and g.
12384 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
12385 for ptr.
12386 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
12387 for main.
12388 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
12389 table_1_ptr and table_2_ptr.
12390
6f2f1a3a
JK
123912015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12392 Joel Brobecker <brobecker@adacore.com>
12393
12394 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
12395
566c56c9
MK
123962015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
12397
12398 * gdb.reverse/s390-mvcle.c: New test.
12399 * gdb.reverse/s390-mvcle.exp: New file.
12400 * lib/gdb.exp: Enable reverse tests on s390*-linux.
12401
d5f0636b
MK
124022015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
12403
12404 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
12405
7ad8b86c
MK
124062015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
12407
12408 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
12409 reaching marker2.
12410 * gdb.reverse/getresuid-reverse.exp: Likewise.
12411 * gdb.reverse/pipe-reverse.exp: Likewise.
12412 * gdb.reverse/readv-reverse.exp: Likewise.
12413 * gdb.reverse/recvmsg-reverse.exp: Likewise.
12414 * gdb.reverse/time-reverse.exp: Likewise.
12415 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
12416
4081c0f1
YQ
124172015-10-30 Yao Qi <yao.qi@linaro.org>
12418
12419 * gdb.threads/wp-replication.c (watch_count_done): Remove.
12420 (empty_cycle): Remove.
12421 (main): Don't call empty_cycle. Don't use watch_count_done.
12422 * gdb.threads/wp-replication.exp: Don't set breakpoint on
12423 empty_cycle. Rewrite the code counting HW watchpoints.
12424
452b4ba5
MK
124252015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
12426
12427 * gdb.reverse/fstatat-reverse.c: New test.
12428 * gdb.reverse/fstatat-reverse.exp: New file.
12429 * gdb.reverse/getresuid-reverse.c: New test.
12430 * gdb.reverse/getresuid-reverse.exp: New file.
12431 * gdb.reverse/pipe-reverse.c: New test.
12432 * gdb.reverse/pipe-reverse.exp: New file.
12433 * gdb.reverse/readv-reverse.c: New test.
12434 * gdb.reverse/readv-reverse.exp: New file.
12435 * gdb.reverse/recvmsg-reverse.c: New test.
12436 * gdb.reverse/recvmsg-reverse.exp: New file.
12437 * gdb.reverse/time-reverse.c: New test.
12438 * gdb.reverse/time-reverse.exp: New file.
12439 * gdb.reverse/waitpid-reverse.c: New test.
12440 * gdb.reverse/waitpid-reverse.exp: New file.
12441
5e2e7507
JK
124422015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
12443
12444 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
12445
0fde2c53
DE
124462015-10-26 Doug Evans <dje@google.com>
12447
12448 PR symtab/17391
12449 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
12450 * gdb.dwarf2/bad-regnum.c: New file.
12451 * gdb.dwarf2/bad-regnum.exp: New file.
12452
1a70ae97
DE
124532015-10-26 Doug Evans <dje@google.com>
12454
12455 PR python/18938
12456 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
12457 file.
12458
27dc26ab
JK
124592015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12460
12461 * gdb.compile/compile.exp (compile code globalvar): Update expectation
12462 for a change by "Mention language in compile error message".
12463
bed91f4d
SM
124642015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
12465
12466 PR python/18073
12467 * gdb.python/py-type.c (C::a_method): New.
12468 (C::a_const_method): New.
12469 (C::a_static_method): New.
12470 (a_function): New.
12471 * gdb.python/py-type.exp (test_fields): Test getting fields
12472 from function and method.
12473
3f2f83dd
KB
124742015-10-21 Keven Boell <keven.boell@intel.com>
12475
12476 * gdb.fortran/vla-alloc-assoc.exp: New file.
12477 * gdb.fortran/vla-datatypes.exp: New file.
12478 * gdb.fortran/vla-datatypes.f90: New file.
12479 * gdb.fortran/vla-history.exp: New file.
12480 * gdb.fortran/vla-ptype-sub.exp: New file.
12481 * gdb.fortran/vla-ptype.exp: New file.
12482 * gdb.fortran/vla-sizeof.exp: New file.
12483 * gdb.fortran/vla-sub.f90: New file.
12484 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
12485 * gdb.fortran/vla-value-sub-finish.exp: New file.
12486 * gdb.fortran/vla-value-sub.exp: New file.
12487 * gdb.fortran/vla-value.exp: New file.
12488 * gdb.fortran/vla-ptr-info.exp: New file.
12489 * gdb.mi/mi-vla-fortran.exp: New file.
12490 * gdb.mi/vla.f90: New file.
12491
27145d50
SL
124922015-10-21 Sandra Loosemore <sandra@codesourcery.com>
12493
12494 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
12495 of hardwired timeout value.
12496
5f3ff4f8
JK
124972015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12498 Pedro Alves <palves@redhat.com>
12499
12500 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
12501 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
12502
bfd09d20
JS
125032015-10-19 Josh Stone <jistone@redhat.com>
12504
12505 * gdb.base/catch-syscall.c: Include <sched.h>.
12506 (unknown_syscall): New variable.
12507 (main): Trigger a vfork and an unknown syscall.
12508 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
12509 (unknown_syscall_number): Likewise.
12510 (check_call_to_syscall): Accept an optional syscall pattern.
12511 (check_return_from_syscall): Likewise.
12512 (check_continue): Likewise.
12513 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
12514 (test_catch_syscall_skipping_return): New test toggling off 'catch
12515 syscall' to step over the syscall return, then toggling back on.
12516 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
12517 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
12518 (do_syscall_tests): Call test_catch_syscall_without_args and
12519 test_catch_syscall_mid_vfork.
12520 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
12521 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
12522
b32b93c6
AS
125232015-10-19 Andrew Stubbs <ams@codesourcery.com>
12524
12525 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
12526 print g_vE): Add new pass patterns.
12527 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
12528 print various symbol names for vptr fields.
12529
9d622bda
AB
125302015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
12531
12532 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
12533 results.
12534
0fd8ac1c
YQ
125352015-10-12 Yao Qi <yao.qi@linaro.org>
12536
12537 * gdb.arch/disp-step-insn-reloc.exp: New test case.
12538
34240514
YQ
125392015-10-12 Yao Qi <yao.qi@linaro.org>
12540
12541 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
12542 is aarch64*-*-linux*.
12543
8240f442
YQ
125442015-10-12 Yao Qi <yao.qi@linaro.org>
12545
12546 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
12547 (can_relocate_bcond_true): ... it.
12548 (can_relocate_bcond_false): New function.
12549 (foo): Likewise.
12550 (can_relocate_bl): Likewise.
12551 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
12552 can_relocate_bl.
12553
2520f728
PMR
125542015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
12555
12556 * gdb.base/nested-addr.c: New file.
12557 * gdb.base/nested-addr.exp: New testcase.
12558
abcef95a
MM
125592015-10-09 Markus Metzger <markus.t.metzger@intel.com>
12560
12561 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
12562 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
12563 its output. Ignore the output of "record goto begin" and instead
12564 check that GDB is replaying.
12565
145e3ddb
PA
125662015-10-09 Pedro Alves <palves@redhat.com>
12567
12568 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
12569 (top level): Use it in the run with no args test.
12570
d5d8c4e1
IB
125712015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
12572
12573 * gdb.dlang/properties.exp: New file.
12574
06e635ef
SL
125752015-10-02 Sandra Loosemore <sandra@codesourcery.com>
12576
12577 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
12578 whether or not address 0x1000 is mapped on the target.
12579
e019fd1d
SM
125802015-09-30 Simon Marchi <simon.marchi@ericsson.com>
12581
12582 * gdb.python/py-type.exp: Do not run tests if binaries fail to
12583 build.
12584
77ba2a67
MM
125852015-09-30 Markus Metzger <markus.t.metzger@intel.com>
12586
12587 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
12588 instruction-history test.
12589
c60eb31f
DE
125902015-09-28 Doug Evans <dje@google.com>
12591
12592 * gdb.base/gcore.c (array_func): Add reference to static_array.
12593
9a3c8263
SM
125942015-09-25 Simon Marchi <simon.marchi@ericsson.com>
12595
12596 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
12597 source line.
12598
9720e656
SL
125992015-09-24 Sandra Loosemore <sandra@codesourcery.com>
12600
12601 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
12602 short or char as base type.
12603
938d3bf2
SL
126042015-09-23 Sandra Loosemore <sandra@codesourcery.com>
12605
12606 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
12607 to allow any size enum.
12608
e6c2c623
PMR
126092015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
12610
12611 * gdb.ada/array_ptr_renaming.exp: New testcase.
12612 * gdb.ada/array_ptr_renaming/foo.adb: New file.
12613 * gdb.ada/array_ptr_renaming/pack.ads: New file.
12614
06da0f77
PL
126152015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12616
12617 * gdb.trace/ftrace-lock.c: New file.
12618 * gdb.trace/ftrace-lock.exp: New file.
12619
4f51c22a
PL
126202015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12621
12622 * gdb.arch/insn-reloc.c: New file.
12623 * gdb.arch/ftrace-insn-reloc.exp: New file.
12624
7041adf4
PL
126252015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12626
12627 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
12628 instruction.
12629 * gdb.trace/pendshr1.c (pendfunc): Likewise.
12630 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
12631 * gdb.trace/range-stepping.c: Likewise.
12632 * gdb.trace/trace-break.c: Likewise.
12633 * gdb.trace/trace-mt.c (thread_function): Likewise.
12634 * gdb.trace/ftrace.c (marker): Likewise.
12635 * gdb.trace/trace-condition.c (marker): Likewise.
12636 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
12637 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
12638 is_aarch64_target.
12639
015d2e7e
DE
126402015-09-18 Doug Evans <xdje42@gmail.com>
12641
12642 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
12643 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
12644
26b188a2
SL
126452015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12646
12647 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
12648 the breakpoint.
12649
79dc332b
SL
126502015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12651
12652 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
12653 the pending breakpoint. Remove timeout override for "Run till
12654 MI pending breakpoint on pendfunc3 on thread 2" test.
12655
f57929f2
SL
126562015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12657
12658 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
12659 filename pattern.
12660
3f469b17
SL
126612015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12662
12663 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
12664 in breakpoint filename pattern.
12665
515b89b3
SL
126662015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12667
7800dbe4
SL
12668 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
12669
126702015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12671
515b89b3
SL
12672 * gdb.linespec/explicit.exp: Check for readline support for
12673 tab-completion tests. Fix obvious typo.
12674
d2939ba2
MM
126752015-09-18 Markus Metzger <markus.t.metzger@intel.com>
12676
12677 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
12678 and replay.
12679
cbb55fa7
MM
126802015-09-18 Markus Metzger <markus.t.metzger@intel.com>
12681
12682 * gdb.btrace/non-stop.c: New.
12683 * gdb.btrace/non-stop.exp: New.
12684
43691ca1
PL
126852015-09-17 Pierre Langlois <pierre.langlois@arm.com>
12686 Yao Qi <yao.qi@linaro.org>
12687
12688 * gdb.trace/trace-condition.c: New file.
12689 * gdb.trace/trace-condition.exp: New file.
12690
d78908cf
WW
126912015-09-16 Wei-cheng Wang <cole945@gmail.com>
12692
12693 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
12694 for testing bytecode compilation.
12695
1ed415e2
PA
126962015-09-16 Pedro Alves <palves@redhat.com>
12697 Sandra Loosemore <sandra@codesourcery.com>
12698
12699 * gdb.threads/non-stop-fair-events.c (timeout): New global.
12700 (SECONDS): Redefine.
12701 (main): Call pthread_kill and alarm early.
12702 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
12703 support.
12704 (test): If the target can't hardware step and doesn't support
12705 displaced stepping, increase the timeout.
12706
d136eff5
PA
127072015-09-16 Pedro Alves <palves@redhat.com>
12708
12709 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
12710 (enable_debug): New procedures.
12711 (test): Use them. Bail out if waiting for threads fails.
12712 (top level): Bail out if a test fails.
12713
991f019c
YQ
127142015-09-16 Yao Qi <yao.qi@linaro.org>
12715
12716 * gdb.asm/asm-source.exp: Set asm-arch for
12717 aarch64*-*-* target.
12718 * gdb.asm/aarch64.inc: New file.
12719
bfca584f
PMR
127202015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
12721
12722 * gdb.ada/array_of_variable_length.exp: New testcase.
12723 * gdb.ada/array_of_variable_length/foo.adb: New file.
12724 * gdb.ada/array_of_variable_length/pck.adb: New file.
12725 * gdb.ada/array_of_variable_length/pck.ads: New file.
12726
b326e587
DE
127272015-09-15 Doug Evans <dje@google.com>
12728
12729 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
12730 of function static local variable.
12731
5382cfab
PW
127322015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
12733
12734 * gdb.threads/tls-so_extern.exp: New test file.
12735 * gdb.threads/tls-so_extern.c: New test file.
12736 * gdb.threads/tls-so_extern_main.c: New test file.
12737
141c5cc4
JK
127382015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12739
12740 * gdb.opt/solib-intra-step-lib.c: New file.
12741 * gdb.opt/solib-intra-step-main.c: New file.
12742 * gdb.opt/solib-intra-step.exp: New file.
12743
d15dcecd
PA
127442015-09-15 Pedro Alves <palves@redhat.com>
12745
12746 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
12747 gdb_continue_to_breakpoint instead of gdb_test_multiple.
12748
4c2f2a79
PA
127492015-09-14 Pedro Alves <palves@redhat.com>
12750
12751 * gdb.base/hook-stop-continue.c: Delete.
12752 * gdb.base/hook-stop-continue.exp: Delete.
12753 * gdb.base/hook-stop-frame.c: Delete.
12754 * gdb.base/hook-stop-frame.exp: Delete.
12755 * gdb.base/hook-stop.c: New file.
12756 * gdb.base/hook-stop.exp: New file.
12757
919e6dbe
PMR
127582015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
12759
12760 * gdb.ada/access_to_packed_array.exp: New testcase.
12761 * gdb.ada/access_to_packed_array/foo.adb: New file.
12762 * gdb.ada/access_to_packed_array/pack.adb: New file.
12763 * gdb.ada/access_to_packed_array/pack.ads: New file.
12764
157280a4
MM
127652015-09-14 Markus Metzger <markus.t.metzger@intel.com>
12766
12767 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
12768 buffer size test.
12769
2fd33e94
DB
127702015-09-11 Don Breazeal <donb@codesourcery.com>
12771
12772 * gdb.base/foll-exec.c: Add copyright header. Fix
12773 formatting issues.
12774 * gdb.base/foll-exec.exp (zap_session): Delete proc.
12775 (do_exec_tests): Use clean_restart in place of zap_session,
12776 and for test initialization. Fix formatting issues. Use
12777 fail in place of perror.
12778 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
12779 an expect statement to match an expression with output from
12780 the program under debug.
12781 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
12782 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
12783 * gdb.threads/non-ldr-exc-2.exp: Likewise.
12784 * gdb.threads/non-ldr-exc-3.exp: Likewise.
12785 * gdb.threads/non-ldr-exc-4.exp: Likewise.
12786
e70b6e8e
DE
127872015-09-09 Doug Evans <dje@google.com>
12788
12789 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
12790
7a551a51
DE
127912015-09-09 Doug Evans <dje@google.com>
12792
12793 * gdb.base/pie-execl.exp: Fix result test of build_executable.
12794
4c666f84
DE
127952015-09-09 Doug Evans <dje@google.com>
12796
12797 * gdb.base/savedregs.exp: Fix typo.
12798
243a9253
PA
127992015-09-09 Pedro Alves <palves@redhat.com>
12800
12801 * gdb.mi/mi-cli.exp: Add CLI finish tests.
12802
c0fa8fbd
SL
128032015-09-08 Sandra Loosemore <sandra@codesourcery.com>
12804
12805 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
12806 command actually switches threads. Give up on remaining
12807 tests if target fails to stop at breakpoint.
12808
cd7c1778
PMR
128092015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
12810
12811 * gdb.ada/funcall_char.exp: New testcase.
12812 * gdb.ada/funcall_char/foo.adb: New file.
12813
dc5c8746
PMR
128142015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
12815
12816 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
12817 expected outputs. Add two testcases for completing ambiguous
12818 functions.
12819 * gdb.ada/complete/aux_pck.adb: New file.
12820 * gdb.ada/complete/aux_pck.ads: New file.
12821 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
12822 Ambiguous_Func functions.
12823 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
12824 * gdb.ada/complete/pck.adb: Likewise.
12825
4e83a1e7
UW
128262015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
12827
12828 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
12829 failures to run the test program under GDB.
12830
8ce74153
LM
128312015-08-26 Luis Machado <lgustavo@codesourcery.com>
12832
12833 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
12834 to C.
12835
e9756d52
PP
128362015-08-26 Patrick Palka <patrick@parcs.ath.cx>
12837
12838 * gdb.base/run-after-attach.exp: New test file.
12839 * gdb.base/run-after-attach.c: New test file.
12840
8d37573b
DB
128412015-08-26 Don Breazeal <donb@codesourcery.com>
12842
12843 * gdb.base/foll-exec-2.c: New test program.
12844 * gdb.base/foll-exec-2.exp: New test.
12845
63e43d3a
PMR
128462015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
12847
12848 * gdb.base/nested-subp1.exp: New file.
12849 * gdb.base/nested-subp1.c: New file.
12850 * gdb.base/nested-subp2.exp: New file.
12851 * gdb.base/nested-subp2.c: New file.
12852 * gdb.base/nested-subp3.exp: New file.
12853 * gdb.base/nested-subp3.c: New file.
12854
3d40fbb5
PA
128552015-08-24 Pedro Alves <palves@redhat.com>
12856
12857 * gdb.server/connect-without-multi-process.c: New file.
12858 * gdb.server/connect-without-multi-process.exp: New file.
12859
4422ac93
LM
128602015-08-24 Luis Machado <lgustavo@codesourcery.com>
12861
12862 * gdb.opt/inline-markers.c: Make z int.
12863
91dddb86
LM
128642015-08-24 Luis Machado <lgustavo@codesourcery.com>
12865
12866 * gdb.opt/inline-markers.c: Make z volatile.
12867
a48847ee
LM
128682015-08-24 Luis Machado <lgustavo@codesourcery.com>
12869
12870 * gdb.opt/inline-bt.c: New volatile global z.
12871 * gdb.opt/inline-cmds.c: Likewise.
12872 * gdb.opt/inline-locals.c: Likewise.
12873 * gdb.opt/inline-markers.c: New extern global z.
12874 (marker): Use z.
12875 (inline_fn): Likewise.
12876
0ebbc52b
PA
128772015-08-24 Pedro Alves <palves@redhat.com>
12878
12879 * config/m32r-stub.exp: Remove file.
12880 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
12881 * gdb.base/call-rt-st.exp: Likewise.
12882 * gdb.base/call-strs.exp: Likewise.
12883 * gdb.base/default.exp: Remove references to h8300-*-hms and
12884 *-*-udi*.
12885 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
12886
77c365df
AA
128872015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12888
12889 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
12890 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
12891 and "return" use KFAIL when GDB can not read/write the vector
12892 return value.
12893
4313b8c0
GB
128942015-08-21 Gary Benson <gbenson@redhat.com>
12895
12896 * gdb.trace/pending.exp: Cope with remote transfer warnings.
12897
0e433b32
PA
128982015-08-20 Pedro Alves <palves@redhat.com>
12899
12900 * gdb.server/solib-list.exp: No longer expect an interior stop in
12901 non-stop mode.
12902
221e1a37
PA
129032015-08-20 Pedro Alves <palves@redhat.com>
12904
12905 * gdb.server/connect-stopped-target.c: New file.
12906 * gdb.server/connect-stopped-target.exp: New file.
12907
40e3ad0e
PA
129082015-08-20 Pedro Alves <palves@redhat.com>
12909
12910 * gdb.dwarf2/comp-unit-lang.exp: New file.
12911 * gdb.dwarf2/comp-unit-lang.c: New file.
12912
af39b327
PMR
129132015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
12914
12915 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
12916 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
12917
7d45c7c3 129182015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 12919
7d45c7c3
KB
12920 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
12921 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
12922
4d6cceb4
DE
129232015-08-18 Doug Evans <dje@google.com>
12924 Adrian Sendroiu <adrian.sendroiu@freescale.com>
12925
12926 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
12927 skip_python_tests. New arg prompt_regexp.
12928 (skip_python_tests): New function.
12929 * lib/mi-support.exp (mi_skip_python_tests): New function.
12930 * gdb.python/py-mi-objfile-gdb.py: New file.
12931 * gdb.python/py-mi-objfile.c: New file.
12932 * gdb.python/py-mi-objfile.exp: New file.
12933
ad89c2aa
KS
129342015-08-17 Keith Seitz <keiths@redhat.com>
12935
12936 * gdb.linespec/explicit.exp: Move strace test from here ...
12937 * gdb.trace/strace.exp: ... to here.
12938
e3ae3c43
PP
129392015-08-15 Patrick Palka <patrick@parcs.ath.cx>
12940
12941 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
12942 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
12943
604b2636
DE
129442015-08-14 Doug Evans <xdje42@gmail.com>
12945
12946 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
12947 inferior before selecting a new file.
12948
6ff0ba5f
DE
129492015-08-14 Doug Evans <xdje42@gmail.com>
12950
12951 * gdb.mi/mi-disassemble.exp: Update.
12952 * gdb.base/disasm-optim.S: New file.
12953 * gdb.base/disasm-optim.c: New file.
12954 * gdb.base/disasm-optim.h: New file.
12955 * gdb.base/disasm-optim.exp: New file.
12956
9ca98f92
KS
129572015-08-14 Keith Seitz <keiths@redhat.com>
12958
12959 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
12960 "evaluated-by".
12961
52bbc560
JB
129622015-08-13 Joel Brobecker <brobecker@adacore.com>
12963
12964 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
12965
5d8c3ed3
PMR
129662015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
12967
12968 * gdb.ada/fun_renaming.exp: New testcase.
12969 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
12970 * gdb.ada/fun_renaming/pack.adb: New file.
12971 * gdb.ada/fun_renaming/pack.ads: New file.
12972
ea8812bc
KS
129732015-08-12 Keith Seitz <keiths@redhat.com>
12974
12975 * gdb.base/dso2dso.exp: Pass basename of source file in call to
12976 gdb_get_line_number.
12977
4dafcdeb
JB
129782015-08-12 Joel Brobecker <brobecker@adacore.com>
12979
12980 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
12981 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
12982 gdb.base/dso2dso.exp: New files.
12983
5ba32597
SDJ
129842015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
12985 Pedro Alves <palves@redhat.com>
12986 Keith Seitz <keiths@redhat.com>
12987
12988 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
12989 GDBFLAGS.
12990
b6dafabf
PP
129912015-08-12 Patrick Palka <patrick@parcs.ath.cx>
12992
12993 * gdb.base/gdbhistsize-history.exp
12994 (test_histsize_history_setting): Use save_vars.
12995 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12996 Use save_vars.
12997 (test_no_truncation_of_unlimited_history_file): Use save_vars.
12998 * gdb.base/readline.exp: Use save_vars.
12999
abe8e607
PP
130002015-08-12 Patrick Palka <patrick@parcs.ath.cx>
13001
13002 * lib/gdb.exp (save_vars): New proc.
13003
629500fa
KS
130042015-08-11 Keith Seitz <keiths@redhat.com>
13005
13006 * gdb.base/help.exp: Update help_breakpoint_text.
13007
eb8c4e2e
KS
130082015-08-11 Keith Seitz <keiths@redhat.com>
13009
13010 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
13011 (at toplevel): Call test_explicit_breakpoints.
13012 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
13013 breakpoints.
13014 * lib/mi-support.exp (mi_make_breakpoint): Add support for
13015 breakpoint conditions, "-cond".
13016
87f0e720
KS
130172015-08-11 Keith Seitz <keiths@redhat.com>
13018
13019 * gdb.linespec/3explicit.c: New file.
13020 * gdb.linespec/cpexplicit.cc: New file.
13021 * gdb.linespec/cpexplicit.exp: New file.
13022 * gdb.linespec/explicit.c: New file.
13023 * gdb.linespec/explicit.exp: New file.
13024 * gdb.linespec/explicit2.c: New file.
13025 * gdb.linespec/ls-errs.exp: Add explicit location tests.
13026 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
13027 before using in the matching pattern.
13028 Clarify that `prefix' is a regular expression.
13029
f00aae0f
KS
130302015-08-11 Keith Seitz <keiths@redhat.com>
13031
13032 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
13033 test.
13034 Add tests for missing ",FMT" and ",".
13035
e27852be
DE
130362015-08-10 Doug Evans <dje@google.com>
13037 Keith Seitz <keiths@redhat.com>
13038
13039 PR gdb/17960
13040 * gdb.base/completion.exp: Add location completer tests.
13041
7f03bd92
PA
130422015-08-07 Pedro Alves <palves@redhat.com>
13043
13044 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
13045 tests here.
13046 (top level): Run do_test with and without displaced stepping.
13047
3fc8eb30
PA
130482015-08-07 Pedro Alves <palves@redhat.com>
13049
13050 * gdb.base/valgrind-disp-step.c: New file.
13051 * gdb.base/valgrind-disp-step.exp: New file.
13052
d4569d7b
PA
130532015-08-07 Pedro Alves <palves@redhat.com>
13054
13055 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
13056 Delete function.
13057 (main): Add alarm. Run an infinite loop instead of calling
13058 wait_threads.
13059 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
13060 comment.
13061 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
13062 Delete function.
13063 (main): Add alarm. Run an infinite loop instead of calling
13064 wait_threads.
13065 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
13066 comment.
13067
e1316e60
PA
130682015-08-07 Pedro Alves <palves@redhat.com>
13069
13070 * gdb.base/checkpoint-ns.exp: New file.
13071 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
13072 standard_testfile.
13073
da8c46d2
MM
130742015-08-07 Markus Metzger <markus.t.metzger@intel.com>
13075
13076 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
13077 * gdb.btrace/instruction_history.exp: Update.
13078 * gdb.btrace/tsx.exp: New.
13079 * gdb.btrace/tsx.c: New.
13080
de1c2c52
PA
130812015-08-06 Pedro Alves <palves@redhat.com>
13082
13083 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
13084 increase timeout.
13085 * gdb.reverse/until-precsave.exp: Bump timeouts.
13086
782e0bf4
PA
130872015-08-06 Pedro Alves <palves@redhat.com>
13088
13089 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
13090
83e97ed0
PA
130912015-08-06 Pedro Alves <palves@redhat.com>
13092
13093 PR gdb/18749
13094 * gdb.threads/process-dies-while-handling-bp.c: New file.
13095 * gdb.threads/process-dies-while-handling-bp.exp: New file.
13096
863d01bd
PA
130972015-08-06 Pedro Alves <palves@redhat.com>
13098
13099 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
13100 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
13101
0a39bb32
PA
131022015-08-05 Pedro Alves <palves@redhat.com>
13103
13104 * gdb.threads/next-while-other-thread-longjmps.c: New file.
13105 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
13106
ee2d2b10
SL
131072015-08-03 Sandra Loosemore <sandra@codesourcery.com>
13108
13109 * gdb.base/bp-permanent.exp: Report test as unsupported if
13110 the target cannot stop at the permanent breakpoint.
13111
4e1bdb00
DE
131122015-08-03 Doug Evans <dje@google.com>
13113
13114 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
13115 10000.
13116
3d338901
DE
131172015-08-03 Doug Evans <dje@google.com>
13118
13119 * Makefile.in (workers/%.worker, build-perf): New rule.
13120 (GDB_PERFTEST_MODE): New variable.
13121 (check-perf): Use it.
13122 (clean): Clean up gdb.perf parallel build subdirs.
13123 * lib/build-piece.exp: New file.
13124 * lib/gdb.exp (make_gdb_parallel_path): New function
13125 (standard_output_file, standard_temp_file): Call it.
13126 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13127 of $GDB_PARALLEL.
13128 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
13129
af061d3e
DE
131302015-08-03 Doug Evans <dje@google.com>
13131
8e1afc81 13132 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
13133 (LOG_FILE_NAME): New global.
13134 (TextReporter.__init__): Initialize self.txt_sum.
13135 (TextReporter.report): Add support for multiple data-points.
13136 Move report to perftest.sum, put raw data in perftest.log.
13137 (TextReporter.start): Open sum and log files.
13138 (TextReporter.end): Close sum and log files.
8e1afc81
DE
13139 * gdb.perf/lib/perftest/testresult.py
13140 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 13141
2c8c5d37
PA
131422015-07-31 Pedro Alves <palves@redhat.com>
13143
13144 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
13145 Use spawn_id_get_pid. Wait for spawn id after eof. Use
13146 kill_wait_spawned_process instead of explicit "kill -9".
13147 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
13148 returning a spawn id instead of a pid. Use spawn_id_get_pid and
13149 kill_wait_spawned_process.
13150 * gdb.base/attach-twice.exp: Likewise.
13151 * gdb.base/attach.exp: Likewise.
13152 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
13153 gdb_test_multiple.
13154 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
13155 returning a spawn id instead of a pid. Use spawn_id_get_pid and
13156 kill_wait_spawned_process.
13157 * gdb.base/valgrind-infcall.exp: Likewise.
13158 * gdb.multi/multi-attach.exp: Likewise.
13159 * gdb.python/py-prompt.exp: Likewise.
13160 * gdb.python/py-sync-interp.exp: Likewise.
13161 * gdb.server/ext-attach.exp: Likewise.
13162 * gdb.threads/attach-into-signal.exp (corefunc): Use
13163 spawn_wait_for_attach, spawn_id_get_pid and
13164 kill_wait_spawned_process.
13165 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
13166 spawn_wait_for_attach returning a spawn id instead of a pid. Use
13167 spawn_id_get_pid and kill_wait_spawned_process.
13168 * gdb.threads/attach-stopped.exp (corefunc): Use
13169 spawn_wait_for_attach, spawn_id_get_pid and
13170 kill_wait_spawned_process.
13171 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
13172 Use spawn_id_get_pid. Wait for spawn id after eof. Use
13173 kill_wait_spawned_process instead of explicit "kill -9".
13174 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
13175 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
13176 (spawn_wait_for_attach): Use spawn instead of exec to spawn
13177 processes. Don't map cygwin/windows pids here. Now returns a
13178 spawn id list.
13179
032a0fca
SL
131802015-07-30 Sandra Loosemore <sandra@codesourcery.com>
13181
13182 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
13183 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
13184 correct patch.
13185
61a934ca
SL
131862015-07-30 Sandra Loosemore <sandra@codesourcery.com>
13187
13188 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
13189
4bc4d428
SL
131902015-07-30 Sandra Loosemore <sandra@codesourcery.com>
13191
13192 Reapply:
13193 2014-05-21 Mark Wielaard <mjw@redhat.com>
13194
13195 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
13196
998d452a
PA
131972015-07-30 Pedro Alves <palves@redhat.com>
13198
13199 * linux-low.c (handle_extended_wait): Set the child's last
13200 reported status to TARGET_WAITKIND_STOPPED.
13201
69dde7dc
PA
132022015-07-30 Pedro Alves <palves@redhat.com>
13203
13204 PR threads/18600
13205 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
13206 only shows inferior 1.
13207
4dd63d48
PA
132082015-07-30 Simon Marchi <simon.marchi@ericsson.com>
13209 Pedro Alves <palves@redhat.com>
13210
13211 PR threads/18600
13212 * gdb.threads/fork-plus-threads.c: New file.
13213 * gdb.threads/fork-plus-threads.exp: New file.
13214
d618e4c5
PP
132152015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13216
13217 * gdb.base/batch-preserve-term-settings.exp
13218 (test_terminal_settings_preserved_after_cli_exit): Use
13219 send_quit_command.
13220
1eef6428
PA
132212015-07-29 Pedro Alves <palves@redhat.com>
13222 Don Breazeal <donb@codesourcery.com>
13223
13224 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
13225 output from both inferior_spawn_id and gdb_spawn_id.
13226
7da5b897
SDJ
132272015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
13228
13229 * gdb.threads/attach-into-signal.exp (corefunc): Use
13230 with_test_prefix on nested loops, uniquefying the test messages.
13231
dac804df
SDJ
132322015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
13233
13234 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
13235 commit.
13236
06265e53
PP
132372015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13238
13239 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
13240 New proc.
13241 (test_terminal_settings_preserved_after_sigterm): New test.
13242
18206ca3
PP
132432015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13244
13245 * gdb.base/batch-preserve-term-settings.exp
13246 (test_terminal_settings_preserved_after_cli_exit): New test.
13247
90074d11
PP
132482015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13249
13250 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
13251 manipulation of saved_gdbflags.
13252 (test_terminal_settings_preserved): Remove global declaration of
13253 the unused variable pagination_prompt. Remove manipulation of
13254 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
13255 GDBFLAGS.
13256
eb1a7902
PA
132572015-07-29 Pedro Alves <palves@redhat.com>
13258
13259 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
13260
8b75dd3b
PA
132612015-07-29 Pedro Alves <palves@redhat.com>
13262
13263 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
13264 at the top.
13265
dedad4e3
PA
132662015-07-29 Pedro Alves <palves@redhat.com>
13267
13268 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
13269 (main): Call gdb_unbuffer_output.
13270 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
13271 (main): Call gdb_unbuffer_output.
13272 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
13273 (main): Call gdb_unbuffer_output.
13274 * gdb.base/call-strs.exp: Adjust to step over the
13275 gdb_unbuffer_output call.
13276 * gdb.base/catch-gdb-caused-signals.c: Include
13277 "../lib/unbuffer_output.c".
13278 (main): Call gdb_unbuffer_output.
13279 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
13280 (main): Call gdb_unbuffer_output.
13281 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
13282 (main): Call gdb_unbuffer_output.
13283 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
13284 (main): Call gdb_unbuffer_output.
13285 * gdb.base/shlib-call.exp: Adjust to step over the
13286 gdb_unbuffer_output call.
13287 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
13288 (main): Call gdb_unbuffer_output.
13289 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
13290 (main): Call gdb_unbuffer_output.
13291 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
13292 (main): Rename to ...
13293 (test): ... this.
13294 (main): Reimplement.
13295 * gdb.base/varargs.exp: Run to test instead of to main.
13296 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
13297 (main): Call gdb_unbuffer_output.
13298
58789a91
PA
132992015-07-29 Pedro Alves <palves@redhat.com>
13300
13301 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
13302 factore out from mi_continue_dprintf. For call-style dprintfs,
13303 expect dprintf output out of $inferior_spawn_id.
13304 (mi_continue_dprintf): Use mi_expect_dprintf.
13305 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
13306 (main): Call gdb_unbuffer_output.
13307
e8376742
PA
133082015-07-29 Pedro Alves <palves@redhat.com>
13309
13310 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
13311 (default_mi_gdb_start): Set inferior_spawn_id instead of
13312 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
13313 gdb_spawn_id.
13314 (mi_gdb_test): Always expect inferior output from both
13315 $inferior_spawn_id and $gdb_spawn_id.
13316
08280010
PA
133172015-07-29 Pedro Alves <palves@redhat.com>
13318
13319 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
13320 send_inferior and $inferior_spawn_id.
13321
4d30e432
PA
133222015-07-29 Pedro Alves <palves@redhat.com>
13323
13324 * gdb.gdb/complaints.exp (test_initial_complaints)
13325 (test_serial_complaints, test_short_complaints): Use
13326 gdb_test_stdio.
13327 (test_empty_complaint): Handle $inferior_spawn_id !=
13328 $gdb_spawn_id.
13329
0d30a335
PA
133302015-07-29 Pedro Alves <palves@redhat.com>
13331
13332 * gdb.base/varargs.exp: Use gdb_test_stdio.
13333
39413b29
PA
133342015-07-29 Pedro Alves <palves@redhat.com>
13335
13336 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
13337
7cb000a9
PA
133382015-07-29 Pedro Alves <palves@redhat.com>
13339
13340 * gdb.base/ending-run.exp: Use gdb_test_stdio.
13341
d7b8ac82
PA
133422015-07-29 Pedro Alves <palves@redhat.com>
13343
13344 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
13345 parameter into two new parameters, "inf_result" and "gdb_result".
13346 Expect inferior output and gdb output from $inferior_spawn_id and
13347 $gdb_spawn_id, respectively. Adjust all callers.
13348
789c3a0c
PA
133492015-07-29 Pedro Alves <palves@redhat.com>
13350
13351 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
13352 of gdb_test_sequence.
13353
77e760c3
PA
133542015-07-29 Pedro Alves <palves@redhat.com>
13355
13356 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
13357 (saw_spurious_output): Expect inferior output from
13358 $inferior_spawn_id. Use gdb_test_stdio.
13359
8396d2cd
PA
133602015-07-29 Pedro Alves <palves@redhat.com>
13361
13362 * gdb.base/dprintf.exp: Use standard_testfile. Change
13363 prepare_for_testing call.
13364 (srcfile): Don't set.
13365 (restart): New procedure.
13366 (test_dprintf): New procecure, use to continue over dprintfs.
13367 (test_call, test_agent): New procedures, tests moved here.
13368 Restart gdb and recreate dprintfs. Adjust expected output.
13369
2051d61f
PA
133702015-07-29 Pedro Alves <palves@redhat.com>
13371
13372 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
13373
452397af
PA
133742015-07-29 Pedro Alves <palves@redhat.com>
13375
13376 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
13377
8aed9555
PA
133782015-07-29 Pedro Alves <palves@redhat.com>
13379
13380 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
13381 gdb_test_stdio.
13382
188a61b4
PA
133832015-07-29 Pedro Alves <palves@redhat.com>
13384
13385 * lib/gdb.exp (gdb_test_stdio): New procedure.
13386
12264a45
PA
133872015-07-29 Pedro Alves <palves@redhat.com>
13388
13389 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
13390
23ffc893
PA
133912015-07-29 Pedro Alves <palves@redhat.com>
13392
13393 * gdb.base/call-signal-resume.exp: Remove check for
13394 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
13395 * gdb.base/unwindonsignal.exp: Likewise.
13396 * gdb.base/call-signals.c (gen_signal): Remove printf call.
13397 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
13398
65566918
PA
133992015-07-29 Pedro Alves <palves@redhat.com>
13400
13401 * gdb.base/siginfo-addr.c (pass): New function.
13402 (handler): Call it iff si_addr is correct.
13403 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
13404 Set a breakpoint at "pass" and continue to it.
13405
d60a9221
SDJ
134062015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
13407
13408 * gdb.python/py-objfile.exp: Make some tests have unique names.
13409 * gdb.python/py-pp-registration.exp: Likewise.
13410
bde40b8f
PA
134112015-07-28 Pedro Alves <palves@redhat.com>
13412
13413 * gdb.server/server-exec-info.exp: Issue a "disconnect".
13414
13e1dec8
SM
134152015-07-27 Simon Marchi <simon.marchi@ericsson.com>
13416
13417 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
13418
da33c9a7
SM
134192015-07-27 Simon Marchi <simon.marchi@ericsson.com>
13420
13421 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
13422
077836f7
PP
134232015-07-27 Patrick Palka <patrick@parcs.ath.cx>
13424
13425 * gdb.base/gdb-sigterm-2.exp: New test.
13426
b8cc7b2e
DE
134272015-07-25 Doug Evans <xdje42@gmail.com>
13428
13429 Revert:
13430 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
13431 (workers/%.worker, build-perf): New rule.
13432 (GDB_PERFTEST_MODE): New variable.
13433 (check-perf): Use it.
13434 (clean): Clean up gdb.perf parallel build subdirs.
13435 * lib/build-piece.exp: New file.
13436 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
13437 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
13438 name.
13439 (standard_temp_file): Ditto.
13440 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13441 of $GDB_PARALLEL.
13442
c8bd4544
DE
134432015-07-24 Doug Evans <dje@google.com>
13444
13445 * gdb.perf/lib/perftest/utils.py: New file.
13446 * gdb.perf/gm-hello.cc: New file.
13447 * gdb.perf/gm-pervasive-typedef.cc: New file.
13448 * gdb.perf/gm-pervasive-typedef.h: New file.
13449 * gdb.perf/gm-std.cc: New file.
13450 * gdb.perf/gm-std.h: New file.
13451 * gdb.perf/gm-use-cerr.cc: New file.
13452 * gdb.perf/gm-utils.h: New file.
13453 * gdb.perf/gmonster-null-lookup.py: New file.
13454 * gdb.perf/gmonster-pervasive-typedef.py: New file.
13455 * gdb.perf/gmonster-print-cerr.py: New file.
13456 * gdb.perf/gmonster-ptype-string.py: New file.
13457 * gdb.perf/gmonster-runto-main.py: New file.
13458 * gdb.perf/gmonster-select-file.py: New file.
13459 * gdb.perf/gmonster1-null-lookup.exp: New file.
13460 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
13461 * gdb.perf/gmonster1-print-cerr.exp: New file.
13462 * gdb.perf/gmonster1-ptype-string.exp: New file.
13463 * gdb.perf/gmonster1-runto-main.exp: New file.
13464 * gdb.perf/gmonster1-select-file.exp: New file.
13465 * gdb.perf/gmonster1.cc: New file.
13466 * gdb.perf/gmonster1.exp: New file.
13467 * gdb.perf/gmonster2-null-lookup.exp: New file.
13468 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
13469 * gdb.perf/gmonster2-print-cerr.exp: New file.
13470 * gdb.perf/gmonster2-ptype-string.exp: New file.
13471 * gdb.perf/gmonster2-runto-main.exp: New file.
13472 * gdb.perf/gmonster2-select-file.exp: New file.
13473 * gdb.perf/gmonster2.cc: New file.
13474 * gdb.perf/gmonster2.exp: New file.
13475
6eab34f3
DE
134762015-07-24 Doug Evans <dje@google.com>
13477
13478 * gdb.perf/README: New file.
13479 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
13480 * lib/gen-perf-test.exp: New file.
13481
63738bfd
DE
134822015-07-24 Doug Evans <dje@google.com>
13483
13484 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
13485 (PerfTest::startup): New function.
13486 (PerfTest::run): Return result of calling body.
13487 (PerfTest::assemble): Rewrite.
13488 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
13489 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
13490 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
13491 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
13492 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
13493
7b606f95
DE
134942015-07-24 Doug Evans <dje@google.com>
13495
13496 * lib/gdb.exp (clean_restart): Make executable optional.
13497
a97b16b8
DE
134982015-07-24 Doug Evans <dje@google.com>
13499
13500 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
13501 compiler_info references.
13502 * gdb.cp/temargs.exp: Ditto.
13503 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
13504 (get_compiler_info): Early exit if already computed. Set compiler_info
13505 to "unknown" if there was a problem.
13506 (test_compiler_info): Add function comment. Call get_compiler_info.
13507
35baa57f
DE
135082015-07-24 Doug Evans <dje@google.com>
13509
13510 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
13511 (workers/%.worker, build-perf): New rule.
13512 (GDB_PERFTEST_MODE): New variable.
13513 (check-perf): Use it.
13514 (clean): Clean up gdb.perf parallel build subdirs.
13515 * lib/build-piece.exp: New file.
13516 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
13517 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
13518 name.
13519 (standard_temp_file): Ditto.
13520 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13521 of $GDB_PARALLEL.
13522
6ebea266
DE
135232015-07-24 Doug Evans <dje@google.com>
13524
13525 * lib/future.exp (gdb_default_target_compile): New option
13526 "early_flags".
13527 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
13528 --as-needed.
13529
1e76a7e9
SDJ
135302015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
13531
13532 * gdb.base/catch-syscall.exp: Call gdb_exit before
13533 gdb_skip_xml_test.
13534
5068630a
PA
135352015-07-24 Pedro Alves <palves@redhat.com>
13536
13537 * gdb.python/py-events.exp: Accept output between the stop event
13538 and the prompt.
13539 * gdb.python/py-evsignal.exp: Likewise.
13540 * gdb.python/py-evthreads.exp: Likewise.
13541
77598427
PA
135422015-07-24 Pedro Alves <palves@redhat.com>
13543
13544 PR gdb/18717
13545 * gdb.threads/non-ldr-exit.c: New file.
13546 * gdb.threads/non-ldr-exit.exp: New file.
13547
11e6c98f
YQ
135482015-07-24 Yao Qi <yao.qi@linaro.org>
13549
13550 * gdb.server/ext-wrapper.exp: Test --wrapper option when
13551 restarting process.
13552
51aee833
YQ
135532015-07-24 Yao Qi <yao.qi@linaro.org>
13554
13555 * gdb.server/ext-restart.exp: New file.
13556
8cfe207c
YQ
135572015-07-24 Yao Qi <yao.qi@linaro.org>
13558
13559 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
13560 argument options.
13561 * gdb.server/ext-wrapper.exp: New file.
13562
cc12ce38
DE
135632015-07-23 Doug Evans <dje@google.com>
13564
13565 * gdb.dwarf2/dw2-dummy-cu.S: New file.
13566 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
13567
d0d84780
PMR
135682015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
13569
13570 * gdb.ada/var_arr_typedef.exp: New testcase.
13571 * gdb.ada/var_arr_typedef/pack.adb: New file.
13572 * gdb.ada/var_arr_typedef/pack.ads: New file.
13573 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
13574
8b558f79
JB
135752015-07-20 Joel Brobecker <brobecker@adacore.com>
13576
13577 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
13578
775a3298
JK
135792015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13580
13581 * gdb.arch/i386-biarch-core.exp: Replace istarget
13582 by "complete set gnutarget". Remove expectation for the "core-file"
13583 command.
13584
db1ff28b
JK
135852015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13586
13587 Revert the previous commit:
13588 Tests for validate symbol file using build-id.
13589
0a94970d
JK
135902015-07-15 Aleksandar Ristovski <aristovski@qnx.com
13591
13592 Tests for validate symbol file using build-id.
13593 * gdb.base/solib-mismatch-lib.c: New file.
13594 * gdb.base/solib-mismatch-libmod.c: New file.
13595 * gdb.base/solib-mismatch.c: New file.
13596 * gdb.base/solib-mismatch.exp: New file.
13597
03346981
SL
135982015-07-15 Sandra Loosemore <sandra@codesourcery.com>
13599
13600 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
13601 nios2-*-linux*.
13602 * gdb.base/sigbpt.exp (stepi_out): Likewise.
13603 * gdb.base/siginfo.exp: Likewise.
13604 * gdb.base/sigstep.exp (advance, advancei): Likewise.
13605
42422cc7
PL
136062015-07-15 Pierre Langlois <pierre.langlois@arm.com>
13607
13608 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
13609 Move it to ...
13610 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
13611 ... here.
13612 * gdb.trace/range-stepping.exp: Check that the target supports
13613 range stepping.
13614
cfa68bae
JK
136152015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13616
13617 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
13618
8ffdba26
PA
136192015-07-14 Pedro Alves <palves@redhat.com>
13620
13621 * gdb.base/killed-outside.exp: New file.
13622 * gdb.base/killed-outside.c: New file.
13623
218a5a11
JK
136242015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
13625
13626 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
13627 (n at main): New.
13628 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
13629
e03ed3c6
AA
136302015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
13631
13632 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
13633 infcall tests instead of setting up for KFAIL.
13634
485668e5
MM
136352015-07-10 Markus Metzger <markus.t.metzger@intel.com>
13636
13637 * gdb.btrace/record_goto-step.exp: New.
13638
08464196
JK
136392015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13640
13641 PR compile/18484
13642 * gdb.compile/compile.c (struct struct_type): Add volatile to
13643 selffield's type.
13644 * gdb.compile/compile.exp
13645 (compile code struct_object.selffield = &struct_object): Skip further
13646 struct_object tests if this one xfails.
13647
bcf5c1d9
RC
136482015-07-08 Robert O'Callahan <robert@ocallahan.org>
13649
13650 PR exp/18617
13651 * gdb.trace/ax.exp: Add test.
13652
4931af25
YQ
136532015-07-07 Yao Qi <yao.qi@linaro.org>
13654
13655 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
13656 instead of istarget "aarch64*-*-*".
13657 * gdb.arch/aarch64-fp.exp: Likewise.
13658 * gdb.base/float.exp: Likewise.
13659 * gdb.reverse/aarch64.exp: Likewise.
13660 * lib/gdb.exp (is_aarch64_target): New proc.
13661
9fcf688e
YQ
136622015-07-07 Yao Qi <yao.qi@linaro.org>
13663
13664 * lib/gdb.exp (is_aarch32_target): New proc.
13665 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
13666 instead of "istarget "arm*-*-*"".
13667 * gdb.arch/arm-disp-step.exp: Likewise.
13668 * gdb.arch/thumb-bx-pc.exp: Likewise.
13669 * gdb.arch/thumb-prologue.exp: Likewise.
13670 * gdb.arch/thumb-singlestep.exp: Likewise.
13671 * gdb.base/disp-step-syscall.exp: Likewise.
13672 * gdb.base/float.exp: Likewise.
13673
fbd8d50d
YQ
136742015-07-07 Yao Qi <yao.qi@linaro.org>
13675
13676 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
13677 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
13678
71be1fdc
YQ
136792015-07-07 Yao Qi <yao.qi@linaro.org>
13680
13681 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
13682 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
13683 if it exists.
13684 * gdb.multi/multi-arch.exp: Likewise.
13685
3e221d36
SM
136862015-07-07 Simon Marchi <simon.marchi@ericsson.com>
13687
13688 * gdb.python/py-lazy-string.exp: Add missing parentheses to
13689 print.
13690
d441430b
YQ
136912015-07-07 Yao Qi <yao.qi@linaro.org>
13692
13693 * gdb.arch/thumb-singlestep.exp: Do one more single step.
13694
06f810bd
MG
136952015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
13696
13697 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
13698 '[' and ']' characters.
13699
5e61e7c0
IB
137002015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
13701
13702 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
13703
28bf096c
PA
137042015-06-29 Pedro Alves <palves@redhat.com>
13705
13706 PR threads/18127
13707 * gdb.threads/hand-call-new-thread.c: New file.
13708 * gdb.threads/hand-call-new-thread.c: New file.
13709
ee93cd5e
KS
137102015-06-26 Keith Seitz <keiths@redhat.com>
13711 Doug Evans <dje@google.com>
13712
13713 PR 16253
13714 * gdb.cp/var-tag-2.cc: New file.
13715 * gdb.cp/var-tag-3.cc: New file.
13716 * gdb.cp/var-tag-4.cc: New file.
13717 * gdb.cp/var-tag.cc: New file.
13718 * gdb.cp/var-tag.exp: New file.
13719
fc637f04
PP
137202015-06-26 Patrick Palka <patrick@parcs.ath.cx>
13721
13722 * gdb.base/history-duplicates.exp: New test.
13723
2e52ae68
PP
137242015-06-26 Patrick Palka <patrick@parcs.ath.cx>
13725
13726 * gdb.base/completion.exp: Test the completion of the "focus"
13727 command.
13728
6e22494e
JK
137292015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13730
13731 * gdb.arch/amd64-prologue-skip.S: New file.
13732 * gdb.arch/amd64-prologue-skip.exp: New file.
13733
bf7b9cd9
SM
137342015-06-25 Simon Marchi <simon.marchi@ericsson.com>
13735
13736 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
13737 is_address_zero_readable check.
13738
201e8dfd
PB
137392015-06-24 Peter Bergner <bergner@vnet.ibm.com>
13740
13741 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
13742 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
13743
5cd867b4
YQ
137442015-06-24 Yao Qi <yao.qi@linaro.org>
13745
13746 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
13747 linux targets.
13748
4d7be007
YQ
137492015-06-24 Yao Qi <yao.qi@linaro.org>
13750
13751 * lib/gdb.exp (supports_get_siginfo_type): New proc.
13752 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
13753 * gdb.base/siginfo-thread.exp: Likewise.
13754
07fcd301
YQ
137552015-06-22 Yao Qi <yao.qi@linaro.org>
13756
13757 * boards/remote-gdbserver-on-localhost.exp: Add comments.
13758
52042a00
YQ
137592015-06-22 Yao Qi <yao.qi@linaro.org>
13760
13761 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
13762 aarch64*-*-*.
13763 (skip_hw_watchpoint_tests): Likewise.
13764
74bd41ce
PP
137652015-06-18 Patrick Palka <patrick@parcs.ath.cx>
13766
13767 * gdb.base/gdbinit-history.exp: Test the interaction between
13768 setting GDBHISTSIZE and setting the history size via .gdbinit.
13769
bc460514
PP
137702015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13771
13772 PR gdb/16999
13773 * gdb.base/gdbhistsize-history.exp: New test.
13774
b58c513b
PP
137752015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13776
13777 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
13778 with GDBHISTSIZE.
13779 * gdb.base/readline.exp: Likewise.
13780
92046791
YQ
137812015-06-17 Yao Qi <yao.qi@linaro.org>
13782
13783 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
13784 line.
13785
2093d2d3
PP
137862015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13787
13788 * gdb.base/gdbinit-history.exp: Add test case to check that
13789 an unlimited history file does not get truncated on exit.
13790
e6c693af
AA
137912015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13792
13793 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
13794 (VECTOR): New macro. Use it...
13795 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
13796 ...for these typedefs.
13797 (int8, char1, int1, double1): New typedefs.
13798 (struct just_int2, struct two_int2): New structures.
13799 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
13800 (add_structvecs, add_singlevecs): New functions.
13801 (main): Call add_some_intvecs twice.
13802 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
13803 the compile and exit upon failure. Try compiling for the "native"
13804 architecture. Test inferior function calls with vector arguments
13805 and vector return value handling with "finish" and "return".
13806
c74f7d1c
JT
138072015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
13808
13809 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
13810 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
13811 PE file.
13812 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
13813
98aa42ee
AT
138142015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
13815
13816 PR breakpoints/16465
13817 * gdb.mi/mi-dprintf-pending.c: New file.
13818 * gdb.mi/mi-dprintf-pending.exp: New test.
13819 * gdb.mi/mi-dprintf-pendshr.c: New file.
13820
7d73c23c 138212015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 13822 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
13823
13824 * gdb.arch/i386-mpx-map.c: New file.
13825 * gdb.arch/i386-mpx-map.exp: New File.
13826
138272015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13828
13829 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
13830 * gdb.arch/i386-mpx.exp: Indentation fixed.
13831
138322015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13833
13834 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
13835 function and improved indentation.
13836 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
13837 gdb_test_multiple. Added additional tests to skip the test.
13838
138392015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13840
13841 * gdb.arch/i386-avx512.c: Change path in include file.
13842 * gdb.arch/i386-avx512.exp: Change include dir path
13843 compilation flag.
13844 * gdb.arch/i386-mpx.c: Change path in include file.
13845 * gdb.arch/i386-mpx.exp: Change include dir path compilation
13846 flag.
13847
d5eba19a
JK
138482015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
13849
13850 * gdb.compile/compile-print.exp (compile print *vararray@3)
13851 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
13852
7f361056
JK
138532015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13854
13855 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
13856 (do not keep jit in memory): ... this.
13857 (expect 5): Change it to ...
13858 (expect no 5): ... this.
13859
3b462ec2
SM
138602015-06-02 Simon Marchi <simon.marchi@ericsson.com>
13861
13862 PR gdb/15564
13863 * gdb.mi/mi-detach.exp: New file.
13864
e0619de6
JK
138652015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13866
13867 PR symtab/18392
13868 * gdb.arch/amd64-tailcall-self.S: New file.
13869 * gdb.arch/amd64-tailcall-self.c: New file.
13870 * gdb.arch/amd64-tailcall-self.exp: New file.
13871
e970cb34
DB
138722015-05-28 Don Breazeal <donb@codesourcery.com>
13873
13874 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
13875 tests for remote targets by checking is_target_gdbserver.
13876
b2e2f908
DE
138772015-05-27 Doug Evans <dje@google.com>
13878
13879 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
13880 * gdb.dwarf2/opaque-type-lookup.c: New file.
13881 * gdb.dwarf2/opaque-type-lookup.exp: New file.
13882
82c7be31
DE
138832015-05-26 Doug Evans <dje@google.com>
13884
13885 * gdb.cp/iostream.cc: New file.
13886 * gdb.cp/iostream.exp: New file.
13887
b4f54984
DE
138882015-05-26 Doug Evans <dje@google.com>
13889
13890 * gdb.dwarf2/dw2-op-call.exp: Update.
13891 * gdb.dwarf2/dw4-sig-types.exp: Update.
13892 * gdb.dwarf2/implptr.exp: Update.
13893 * gdb.mi/mi-cmd-param-changed.exp: Update.
13894
4ea6efe9
DE
138952015-05-26 Doug Evans <dje@google.com>
13896
13897 * gdb.python/py-lazy-string.c: New file.
13898 * gdb.python/py-lazy-string.exp: New file.
13899 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
13900 (main): Update. Add estring3.
13901 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
13902 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
13903
f6bb7db3
YQ
139042015-05-26 Omair Javaid <omair.javaid@linaro.org>
13905 Yao Qi <yao.qi@linaro.org>
13906
13907 * gdb.reverse/aarch64.c: New.
13908 * gdb.reverse/aarch64.exp: New.
13909
a81bfbd0
OJ
139102015-05-26 Omair Javaid <omair.javaid@linaro.org>
13911
25d49b86
PA
13912 * lib/gdb.exp (supports_process_record): Return true for
13913 aarch64*-linux*.
a81bfbd0
OJ
13914 (supports_reverse): Likewise.
13915
158bf1b4
PP
139162015-05-22 Patrick Palka <patrick@parcs.ath.cx>
13917
13918 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13919 Use with_test_prefix.
13920
a0145030
AB
139212015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
13922
13923 * gdb.base/completion.exp: Add test for completion of layout
13924 names.
13925
ebe3b578
AB
139262015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
13927
13928 * lib/gdb.exp (skip_tui_tests): New proc.
13929 * gdb.base/tui-layout.exp: Check skip_tui_tests.
13930
84204ed7
PA
139312015-05-19 Pedro Alves <palves@redhat.com>
13932
13933 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13934 Save the whole env array instead of just HOME. Unset HISTSIZE in
13935 the environment while testing. Restore whole environment
13936 afterwards.
13937
37442ce1
DE
139382015-05-16 Doug Evans <xdje42@gmail.com>
13939
13940 * gdb.guile/scm-ports.c: New file.
13941 * gdb.guile/scm-ports.exp: Add memory port tests.
13942
36de76f9
JK
139432015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13944
13945 * gdb.compile/compile-print.c: New file.
13946 * gdb.compile/compile-print.exp: New file.
13947
3a9558c4
JK
139482015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13949
13950 * gdb.compile/compile-ops.exp: Cast param to void.
13951 * gdb.compile/compile.exp: Complete type for _gdb_expr.
13952 (compile code struct_object.selffield = &struct_object): Add xfail.
13953
aa715135
JG
139542015-05-15 Joel Brobecker <brobecker@adacore.com>
13955
13956 * gdb.ada/arr_enum_with_gap: New testcase.
13957
931e5bc3
JG
139582015-05-15 Joel Brobecker <brobecker@adacore.com>
13959
13960 * gdb.ada/byte_packed_arr: New testcase.
13961
9cd4d857
JB
139622015-05-15 Joel Brobecker <brobecker@adacore.com>
13963
13964 * gdb.ada/pckd_neg: New testcase.
13965
ebfd00d2
PP
139662015-05-13 Patrick Palka <patrick@parcs.ath.cx>
13967
13968 PR gdb/17820
13969 * gdb.base/gdbinit-history.exp: New test.
13970 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
13971 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
13972
4c082a81
SC
139732015-05-09 Siva Chandra Reddy <sivachandra@google.com>
13974
13975 * gdb.python/py-xmethods.cc: Enhance test case.
13976 * gdb.python/py-xmethods.exp: New tests.
13977 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
13978 function.
13979 (B_indexoper): Likewise.
13980 (global_dm_list) : Add new xmethod worker functions.
13981
f7797074
SDJ
139822015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
13983
13984 * gdb.base/coredump-filter.exp: Correctly unset
13985 "coredump_var_addr" array.
13986
a4674e4e
PA
139872015-05-08 Pedro Alves <palves@redhat.com>
13988
13989 * gdb.server/non-existing-program.exp: Unset spawn_id.
13990
df2eb078
SC
139912015-05-08 Siva Chandra Reddy <sivachandra@google.com>
13992
13993 PR python/18291
13994 * gdb.python/py-xmethods.exp: Add tests.
13995
422349a3
YQ
139962015-05-08 Yao Qi <yao.qi@linaro.org>
13997
13998 PR gdb/18208
13999 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
14000 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
14001 function set_coredump_filter, and remove remote_exec call.
14002 Remove argument ipid. Callers update.
14003 (top level): Don't get inferior's PID.
14004
63fc80ce
AA
140052015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
14006
14007 * gdb.base/watch_thread_num.exp: Skip test on targets without
14008 access watchpoints.
14009
80ad801e
PA
140102015-05-06 Pedro Alves <palves@redhat.com>
14011
14012 PR server/18081
14013 * gdb.server/non-existing-program.exp: New file.
14014
0fa7fe50
JB
140152015-05-05 Joel Brobecker <brobecker@adacore.com>
14016
14017 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
14018
3ea89b92
PMR
140192015-05-05 Joel Brobecker <brobecker@adacore.com>
14020
14021 * gdb.ada/out_of_line_in_inlined: New testcase.
14022
87b8eff0
JB
140232015-05-05 Joel Brobecker <brobecker@adacore.com>
14024
14025 * gdb.ada/var_rec_arr: New testcase.
14026
5fccc635
YQ
140272015-04-30 Yao Qi <yao.qi@linaro.org>
14028
14029 * gdb.base/break-idempotent.exp: If
14030 skip_hw_watchpoint_multi_tests returns true, skip the tests
14031 on "rwatch" and "awatch".
14032
42d38f42
YQ
140332015-04-30 Yao Qi <yao.qi@linaro.org>
14034
14035 * gdb.base/relativedebug.exp: Invoke gdb command
14036 "info sharedlibrary", and if libc.so doesn't have debug info,
14037 skip the test.
14038
2ce1cdbf
DE
140392015-04-29 Doug Evans <dje@google.com>
14040
14041 * gdb.python/py-xmethods.exp: Add ptype tests.
14042 * gdb.python/py-xmethods.py (E_method_char_worker): Add
14043 get_result_type method.
14044
f24a38c5
LM
140452015-04-29 Luis Machado <lgustavo@codesourcery.com>
14046
14047 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
14048 the target does not support hardware watchpoints.
14049
ecbf2b3c
LM
140502015-04-29 Luis Machado <lgustavo@codesourcery.com>
14051
14052 * gdb.base/break-always.exp: Abort testing if writing to memory
14053 causes an error.
14054
34f5f757
DE
140552015-04-28 Doug Evans <dje@google.com>
14056
14057 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
14058 * gdb.python/py-pp-registration.exp: ... here. New file.
14059 * gdb.python/py-pp-registration.c: New file.
14060 * gdb.python/py-pp-registration.py: New file.
14061
69b4374a
DE
140622015-04-28 Doug Evans <dje@google.com>
14063
14064 * gdb.python/py-bad-printers.c: New file.
14065 * gdb.python/py-bad-printers.py: New file.
14066 * gdb.python/py-bad-printers.exp: New file.
14067
59fb7612
SS
140682015-04-28 Sasha Smundak <asmundak@google.com>
14069
14070 * gdb.python/py-type.exp: New test.
14071
2631b16a
AW
140722015-04-28 Andy Wingo <wingo@igalia.com>
14073
14074 * gdb.python/py-parameter.exp:
14075 * gdb.guile/scm-parameter.exp: Escape the path that we are
14076 matching against, as it might contain characters that are special
14077 to regular expressions.
14078
460efde1
JB
140792015-04-27 Joel Brobecker <brobecker@adacore.com>
14080
14081 * gdb.ada/rec_comp: New testcase.
14082
2d369d8e
SDJ
140832015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
14084
14085 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
14086 before using it.
14087
cf75d6c3
AB
140882015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
14089
14090 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
14091 new tests for verilog output.
14092
8dbe7ca5
YQ
140932015-04-24 Yao Qi <yao.qi@linaro.org>
14094
14095 * boards/remote-gdbserver-on-localhost.exp: New file.
14096
4ef9fb2f
PA
140972015-04-23 Pedro Alves <palves@redhat.com>
14098
14099 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
14100 $inferior_spawn_id instead of $inferior_spawn_id directly. On
14101 "end of file", remove $inferior_spawn_id from the indirect list.
14102
0a803169
PA
141032015-04-23 Pedro Alves <palves@redhat.com>
14104
14105 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
14106
749ef8f8
PA
141072015-04-23 Pedro Alves <palves@redhat.com>
14108
14109 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
14110 on $any_spawn_id instead of only on $gdb_spawn_id.
14111
8aae4344
PM
141122015-04-21 Pierre Muller <muller@sourceware.org>
14113
14114 PR pascal/17815
14115 * lib/pascal.exp (gpc_compile): Add new option "class".
14116 (fpc_compile): Likewise.
14117 * gdb.pascal/case-insensitive-symbols.pas: New file.
14118 * gdb.pascal/case-insensitive-symbols.exp: New file.
14119
1586c8fb
GB
141202015-04-20 Gary Benson <gbenson@redhat.com>
14121
14122 * gdb.base/attach.exp: Fix three extended remote failures.
14123
1b6e6f5c
GB
141242015-04-17 Gary Benson <gbenson@redhat.com>
14125
14126 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
14127 the main executable over the remote protocol.
14128
e797481d
PA
141292015-04-16 Pedro Alves <palves@redhat.com>
14130
14131 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
14132 a new gdbserver if gdbserver_reconnect_p is set.
14133
1ca99c42
PA
141342015-04-16 Pedro Alves <palves@redhat.com>
14135
14136 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
14137 is set, don't exit gdbserver.
14138
af9fd6f8
AA
141392015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
14140
14141 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
14142 appropriate .insn, such that an older assembler can be used.
14143 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
14144 the z/Architecture instruction set on 31-bit targets as well.
14145
04ff1e61
AA
141462015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
14147
14148 * gdb.go/handcall.exp: Remove all logic related to the first
14149 breakpoint and rely on go_runto_main instead.
14150 * gdb.go/strings.exp: Likewise.
14151 * gdb.go/unsafe.exp: Likewise.
14152 * gdb.go/hello.exp: Likewise. Also rename the remaining
14153 breakpoint marker to "breakpoint 1".
14154 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
14155 * gdb.go/strings.go: Likewise.
14156 * gdb.go/unsafe.go: Likewise.
14157 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
14158 "set breakpoint 2 here" and rename the remaining breakpoint marker
14159 to "breakpoint 1".
14160
40d2f8d6
SM
141612015-04-15 Simon Marchi <simon.marchi@ericsson.com>
14162
14163 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
14164 if itertools.imap is not present.
14165 * gdb.python/py-objfile.exp: Add parentheses.
14166 * gdb.python/py-type.exp: Same.
14167 * gdb.python/py-unwind-maint.py: Same.
14168
8cbc97c6
YQ
141692015-04-15 Yao Qi <yao.qi@linaro.org>
14170
14171 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
14172 of ":$ptr_size" and set its form explicitly.
14173
45fd756c
YQ
141742015-04-15 Pedro Alves <palves@redhat.com>
14175 Yao Qi <yao.qi@linaro.org>
14176
14177 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
14178 timeout by factor of 4.
14179 (test_regular_watch): Likewise.
14180 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
14181 * gdb.reverse/sigall-reverse.exp: Likewise.
14182 * gdb.reverse/until-precsave.exp: Likewise.
14183 * lib/gdb.exp (with_timeout_factor): New proc.
14184 (gdb_expect): Move some code to ...
14185 (get_largest_timeout): ... here. New procedure.
14186
9e811bc3
LM
141872015-04-14 Luis Machado <lgustavo@codesourcery.com>
14188
14189 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
14190
0ff6fcb2
LM
141912015-04-13 Luis Machado <lgustavo@codesourcery.com>
14192
14193 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
14194 to write to the .text section.
14195
7578d5f7
LM
141962015-04-13 Luis Machado <lgustavo@codesourcery.com>
14197
14198 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
14199 Handle the case of targets that do not provide PID information.
14200
2efe15c4
YQ
142012015-04-13 Yao Qi <yao.qi@linaro.org>
14202
14203 * lib/gdbserver-support.exp (gdb_exit): Catch exception
14204 and use expect instead of gdb_expect.
14205
8cd8f2f8
SDJ
142062015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
14207
14208 * gdb.base/coredump-filter.exp: Rename variable "addr" to
14209 "coredump_var_addr" to avoid naming conflict with other testcases.
14210
9ee41772
PA
142112015-04-10 Pedro Alves <palves@redhat.com>
14212
14213 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
14214 gdb_test_sequence and gdb_assert.
14215
07473109
PA
142162015-04-10 Pedro Alves <palves@redhat.com>
14217
14218 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
14219 test messages that don't include the breakpoint address.
14220
de3db44c
YQ
142212015-04-10 Yao Qi <yao.qi@linaro.org>
14222
14223 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
14224 false for some offset and width combinations which aren't
14225 supported by linux kernel.
14226
c79d856c
PA
142272015-04-10 Pedro Alves <palves@redhat.com>
14228
14229 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
14230 procedure, factored out from ...
14231 (top level): ... here. Add "set displaced-stepping" testing axis.
14232 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
14233 parameter "displaced". Use it.
14234 (top level): Use foreach and add "set displaced-stepping" testing
14235 axis.
14236
ebc90b50
PA
142372015-04-10 Pedro Alves <palves@redhat.com>
14238
14239 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
14240 Remove comment.
14241 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
14242 both the address of the instruction that triggers the watchpoint
14243 and the address of the instruction immediately after, and use
14244 those addresses for the test. Fix comment.
14245
8f572e5c
PA
142462015-04-10 Pedro Alves <palves@redhat.com>
14247
14248 * gdb.base/sigstep.exp (breakpoint_to_handler)
14249 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
14250 Test "backtrace" in handler.
14251 (breakpoint_over_handler): New parameter 'displaced'. Use it.
14252 (top level): Add new "displaced" test axis to
14253 breakpoint_to_handler, breakpoint_to_handler_entry and
14254 breakpoint_over_handler.
14255
8d707a12
PA
142562015-04-10 Pedro Alves <palves@redhat.com>
14257
14258 PR gdb/18216
14259 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
14260
ef713951
YQ
142612015-04-10 Yao Qi <yao.qi@linaro.org>
14262
14263 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
14264 (test_add_rn_pc): New function.
14265 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
14266 (top level): Invoke test_add_rn_pc.
14267
906d60cf
PA
142682015-04-10 Pedro Alves <palves@redhat.com>
14269
14270 PR gdb/13858
14271 * gdb.base/step-over-no-symbols.exp: New file.
14272
f2983cc3
AW
142732015-04-09 Andy Wingo <wingo@igalia.com>
14274
14275 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
14276 after the Python tests.
14277
6d62641c
SDJ
142782015-04-08 Keith Seitz <keiths@redhat.com>
14279
14280 PR python/16699
14281 * gdb.python/py-completion.exp: New tests for completion.
14282 * gdb.python/py-completion.py (CompleteLimit1): New class.
14283 (CompleteLimit2): Likewise.
14284 (CompleteLimit3): Likewise.
14285 (CompleteLimit4): Likewise.
14286 (CompleteLimit5): Likewise.
14287 (CompleteLimit6): Likewise.
14288 (CompleteLimit7): Likewise.
14289
f3770638
PA
142902015-04-08 Pedro Alves <palves@redhat.com>
14291
14292 PR gdb/18214
14293 PR gdb/18216
14294 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
14295 function.
14296 (main): Install it as SIGUSR1 handler.
14297 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
14298 parameter. Always use "setup" as prefix. Toggle "set
14299 displaced-stepping" off/on depending on global. Don't switch to
14300 thread 1 here.
14301 (top level): Add displaced stepping "off/on" test axis. Update
14302 "setup" calls. Wrap each subtest with with_test_prefix. Test
14303 continuing with a queued signal in each thread.
14304
4496bed7
PA
143052015-04-08 Pedro Alves <palves@redhat.com>
14306
14307 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
14308 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
14309 gdb_breakpoint instead of gdb_test that doesn't expect anything.
14310 Return early if running to main fails.
14311 * gdb.trace/while-stepping.exp: Likewise.
14312
b97fde92
PA
143132015-04-07 Pedro Alves <palves@redhat.com>
14314
14315 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
14316 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
14317 interact with inferior program.
14318
f71c18e7
PA
143192015-04-07 Pedro Alves <palves@redhat.com>
14320
14321 * lib/gdb.exp (inferior_spawn_id): New global.
14322 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
14323 spawn id after processing the user code.
14324 (default_gdb_start): Set inferior_spawn_id.
14325 (send_inferior): New procedure.
14326 * lib/gdbserver-support.exp (gdbserver_start): Set
14327 inferior_spawn_id.
14328 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
14329
6423214f
PA
143302015-04-07 Pedro Alves <palves@redhat.com>
14331
14332 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
14333 * lib/gdbserver-support.exp (gdbserver_start): Make
14334 $server_spawn_id global.
14335 (gdbserver_start): Don't wait for gdbserver's spawn id with
14336 expect_background.
14337 (close_gdbserver): New procedure.
14338 (gdb_exit): Rename the default version and reimplement.
14339
71c0ee8c
PA
143402015-04-07 Pedro Alves <palves@redhat.com>
14341
72f4393d 14342 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
14343 append the substituted item, not the original item.
14344
203bc29b
PA
143452015-04-07 Pedro Alves <palves@redhat.com>
14346
14347 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
14348 gdb_expect.
14349
508a3ddf
PA
143502015-04-07 Pedro Alves <palves@redhat.com>
14351
14352 * gdb.base/interrupt.exp: Don't handle the case of the inferior
14353 output appearing once only.
14354
9f6dbe2b
PA
143552015-04-07 Pedro Alves <palves@redhat.com>
14356
14357 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
14358 that doesn't expect anything. Return early if running to main
14359 fails.
14360
337532fa
YQ
143612015-04-07 Yao Qi <yao.qi@linaro.org>
14362
14363 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
14364 (child_function): Call alarm.
14365 (main): Move call to alarm into the loop.
14366 * gdb.threads/non-stop-fair-events.exp: Build program with
14367 -DTIMEOUT=$timeout.
14368
01b622d4
DE
143692015-04-06 Doug Evans <xdje42@gmail.com>
14370
14371 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
14372 Fix dest parameter to board_info.
14373 (fpc_compile): Ditto.
14374 (gdb_compile_pascal): Rename dest arg to destfile.
14375
961f4160
PMR
143762015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
14377
14378 * gdb.ada/funcall_ref.exp: New file.
14379 * gdb.ada/funcall_ref/foo.adb: New file.
14380
cafda597
YQ
143812015-04-02 Yao Qi <yao.qi@linaro.org>
14382
14383 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
14384 is remote.
14385
fed040c6
GB
143862015-04-02 Gary Benson <gbenson@redhat.com>
14387
14388 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
14389
d11916aa
SS
143902015-04-01 Sasha Smundak <asmundak@google.com>
14391
14392 * gdb.python/py-unwind-maint.c: New file.
14393 * gdb.python/py-unwind-maint.exp: New test.
14394 * gdb.python/py-unwind-maint.py: New file.
14395 * gdb.python/py-unwind.c: New file.
14396 * gdb.python/py-unwind.exp: New test.
14397 * gdb.python/py-unwind.py: New test.
14398
a1471180
PA
143992015-04-01 Pedro Alves <palves@redhat.com>
14400
14401 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
14402 to fail instead of non-existent $test.
14403
0bbeccb1
PA
144042015-04-01 Pedro Alves <palves@redhat.com>
14405
14406 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
14407 GDBFLAGS if not empty.
14408
3c724c8c
PMR
144092015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
14410
14411 * gdb.ada/complete.exp: Remove "multi_line".
14412 * gdb.ada/info_exc.exp: Remove "multi_line".
14413 * gdb.ada/packed_tagged.exp: Remove "multi_line".
14414 * gdb.ada/ptype_field.exp: Remove "multi_line".
14415 * gdb.ada/sym_print_name.exp: Remove "multi_line".
14416 * gdb.ada/tagged.exp: Remove "multi_line".
14417 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
14418 [multi_line ...]
14419 * gdb.btrace/delta.exp: Likewise.
14420 * gdb.btrace/exception.exp: Likewise.
14421 * gdb.btrace/function_call_history.exp: Likewise.
14422 * gdb.btrace/instruction_history.exp: Likewise.
14423 * gdb.btrace/nohist.exp: Likewise.
14424 * gdb.btrace/record_goto.exp: Likewise.
14425 * gdb.btrace/segv.exp: Likewise.
14426 * gdb.btrace/stepi.exp: Likewise.
14427 * gdb.btrace/tailcall.exp: Likewise.
14428 * gdb.btrace/unknown_functions.exp: Likewise.
14429 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
14430 * lib/gdb.exp: Add the "multi_line" helper.
14431
4eec2deb
PA
144322015-04-01 Pedro Alves <palves@redhat.com>
14433
14434 * gdb.threads/tid-reuse.c: New file.
14435 * gdb.threads/tid-reuse.exp: New file.
14436
df8411da
SDJ
144372015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
14438
14439 PR corefiles/16092
14440 * gdb.base/coredump-filter.c: New file.
14441 * gdb.base/coredump-filter.exp: Likewise.
14442
6ef37366
PM
144432015-03-27 Petr Machata <pmachata@redhat.com>
14444
14445 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
14446 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
14447 (Dwarf::assemble): Initialize them.
14448 (Dwarf::lines): New function.
14449
7ec911b0
JT
144502015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
14451
14452 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
14453 SYMBOL_PREFIX for x86_64-*-cygwin.
14454
ff908ebf
AW
144552015-03-26 Andy Wingo <wingo@igalia.com>
14456
14457 PR symtab/18148
14458 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
14459 const_value but not a location.
14460 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
14461 location defined in non-main CUs are visible.
14462
6d5f0679
YQ
144632015-03-26 Yao Qi <yao.qi@linaro.org>
14464
14465 PR testsuite/18139
14466 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
14467 Add a line number entry for the same line.
14468 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
14469 Add a line number entry for the same line.
14470
2898689b
YQ
144712015-03-26 Yao Qi <yao.qi@linaro.org>
14472
14473 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
14474 .int 0.
14475 (func): Likewise. Add .Lfunc_1 label.
14476 Use .Lfunc_1 label.
14477 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
14478 .int 0.
14479 (func): Likewise.
14480 Use .Lfunc_1 label.
14481
85180498
YQ
144822015-03-26 Yao Qi <yao.qi@linaro.org>
14483
14484 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
14485 Call gdb_compile instead to compile each .s files without debug
14486 information.
14487
8aa08a8d
YQ
144882015-03-26 Yao Qi <yao.qi@linaro.org>
14489
14490 * gdb.base/savedregs.exp (process_saved_regs): Make
14491 "Saved registers:" optional in the pattern.
14492
66849923
MM
144932015-03-25 Markus Metzger <markus.t.metzger@intel.com>
14494
14495 * gdb.btrace/next.exp: Merged into step.exp.
14496 * gdb.btrace/finish.exp: Merged into step.exp.
14497 * gdb.btrace/nexti.exp: Merged into stepi.exp.
14498 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
14499 "record goto" and checking the exact replay position.
14500 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
14501 check for "Recording format" in "info record" output.
14502 * gdb.btrace/record_goto.exp: Choose test file based on target.
14503 * gdb.btrace/x86-record_goto.S: Renamed into ...
14504 * gdb.btrace/x86_64-record_goto.S: ... this.
14505 * gdb.btrace/i686-record_goto.S: New.
14506 * gdb.btrace/x86-tailcall.S: Renamed into ...
14507 * gdb.btrace/x86_64-tailcall.S: ... this.
14508 * gdb.btrace/i686-tailcall.S: New.
14509 * gdb.btrace/x86-tailcall.c: Renamed into ...
14510 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
14511 separate statements. Update test.
14512 * gdb.btrace/delta.exp: Use record_goto.c as test file.
14513 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
14514 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
14515 * gdb.btrace/tailcall.exp: Choose test file based on target.
14516 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
14517
11cc1b74
MM
145182015-03-25 Markus Metzger <markus.t.metzger@intel.com>
14519
14520 * gdb.btrace/exception.exp: Increase BTS buffer size.
14521
a25d8bf9
PA
145222015-03-24 Pedro Alves <palves@redhat.com>
14523
14524 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
14525
856e7dd6
PA
145262015-03-24 Pedro Alves <palves@redhat.com>
14527
14528 * gdb.threads/schedlock.exp (test_step): No longer expect that
14529 "set scheduler-locking step" with "next" over a function call runs
14530 threads unlocked.
14531
ad235a41
AT
145322015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
14533
14534 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
14535
15630549
AT
145362015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
14537
14538 PR breakpoints/16466
14539 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
14540 * gdb.mi/mi-pending.c (thread_func): New function.
14541 (int main): Add threading support required.
14542 * gdb.mi/mi-pending.exp: Add tests for this issue.
14543 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
14544 (pendfunc2): Remove stdio dependency.
14545 * gdb.mi/mi-pendshr2.c: New file.
14546
693dca06
KS
145472015-03-23 Keith Seitz <keiths@redhat.com>
14548
14549 * gdb.linespec/keywords.c: New file.
14550 * gdb.linespec/keywords.exp: New file.
14551
7e993ebf
KS
145522015-03-23 Keith Seitz <keiths@redhat.com>
14553
14554 PR gdb/18021
14555 * gdb.dwarf2/staticvirtual.exp: New test.
14556
bc23328c
JK
145572015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14558
14559 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
14560 * README: Remove HP-UX and gdb.hp.
14561 (configuration):
14562 * configure: Regenerate.
14563 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
14564 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
14565 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
14566 gdb.hp/gdb.defects/Makefile.
14567 * gdb.hp/Makefile.in: File deleted.
14568 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
14569 * gdb.hp/gdb.aCC/optimize.c: File deleted.
14570 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
14571 * gdb.hp/gdb.aCC/run.c: File deleted.
14572 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
14573 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
14574 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
14575 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
14576 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
14577 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
14578 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
14579 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
14580 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
14581 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
14582 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
14583 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
14584 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
14585 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
14586 * gdb.hp/gdb.base-hp/reg.s: File deleted.
14587 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
14588 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
14589 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
14590 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
14591 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
14592 * gdb.hp/gdb.compat/Makefile.in: File deleted.
14593 * gdb.hp/gdb.compat/average.c: File deleted.
14594 * gdb.hp/gdb.compat/sum.c: File deleted.
14595 * gdb.hp/gdb.compat/xdb.c: File deleted.
14596 * gdb.hp/gdb.compat/xdb0.c: File deleted.
14597 * gdb.hp/gdb.compat/xdb0.h: File deleted.
14598 * gdb.hp/gdb.compat/xdb1.c: File deleted.
14599 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
14600 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
14601 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
14602 * gdb.hp/gdb.defects/Makefile.in: File deleted.
14603 * gdb.hp/gdb.defects/bs14602.c: File deleted.
14604 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
14605 * gdb.hp/gdb.defects/solib-d.c: File deleted.
14606 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
14607 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
14608 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
14609 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
14610 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
14611 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
14612 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
14613 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
14614 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
14615 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
14616 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
14617 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
14618 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
14619 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
14620 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
14621 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
14622 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
14623 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
14624 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
14625 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
14626 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
14627 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
14628 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
14629 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
14630 * gdb.hp/tools/odump: File deleted.
14631
8bf3b159
PA
146322015-03-19 Pedro Alves <palves@redhat.com>
14633
14634 * gdb.threads/continue-pending-status.exp (saw_thread_2)
14635 (saw_thread_3): New globals.
14636 (top level): Increment them when an event for the corresponding
14637 thread is seen.
14638 (no thread starvation): New test.
14639
eb54c8bf
PA
146402015-03-19 Pedro Alves <palves@redhat.com>
14641
14642 * gdb.threads/continue-pending-status.c: New file.
14643 * gdb.threads/continue-pending-status.exp: New file.
14644
32d2e5d6
PA
146452015-03-18 Pedro Alves <palves@redhat.com>
14646
14647 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
14648 Use gdb_is_target_remote instead of is_remote. Use
14649 gdb_test_multiple instead of gdb_expect. Exit early if
14650 gdb_test_multiple hits its internal matches. Tighten stepi tests
14651 expected output. Fail on exit with any signal, instead of just
14652 SIGILL.
14653
f68f11b7
YQ
146542015-03-18 Yao Qi <yao.qi@linaro.org>
14655
14656 PR tdep/18107
14657 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
14658 variable.
14659 * gdb.base/catch-syscall.exp: Don't skip it on
14660 aarch64*-*-linux* target. Remove elements in all_syscalls.
14661 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
14662 target.
14663 (setup_all_syscalls): New proc.
14664
ca5fd19b
YQ
146652015-03-16 Yao Qi <yao.qi@linaro.org>
14666
14667 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
14668 (top level): Skip tests if valid_addr_p returns false for
14669 $cmd1 or $cmd2.
14670
85642ba0
AW
146712015-03-11 Andy Wingo <wingo@igalia.com>
14672
14673 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
14674
e03f9645
YQ
146752015-03-11 Yao Qi <yao.qi@linaro.org>
14676
14677 * gdb.base/catch-syscall.exp: Fix typo in comments.
14678
5d0962b2
YQ
146792015-03-11 Yao Qi <yao.qi@linaro.org>
14680
14681 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
14682
b2df3cef
PA
146832015-03-09 Pedro Alves <palves@redhat.com>
14684
14685 * dg-extract-results.py: Delete.
14686
ef878e53
PA
146872015-03-09 Pedro Alves <palves@redhat.com>
14688
14689 Merge dg-extract-results.sh from GCC upstream (r218843).
14690
14691 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
14692 * dg-extract-results.sh: Use --text with grep to avoid issues with
14693 binary files. Fall back to cat -v, if that doesn't work.
14694
9494d219
PA
146952015-03-05 Pedro Alves <palves@redhat.com>
14696
14697 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
14698
a8d9763a
SM
146992015-03-04 Simon Marchi <simon.marchi@ericsson.com>
14700
14701 * lib/mi-support.exp (mi_expect_interrupt): Accept
14702 alternative event for when in all-stop mode.
14703
be9957b8
PA
147042015-03-04 Pedro Alves <palves@redhat.com>
14705
14706 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
14707
d57be0f4 147082015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
14709
14710 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
14711
c214c7cf
AA
147122015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
14713
14714 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
14715 regexps for GDB's current line display, accept a hex address
14716 preceding the line number.
14717
6d74a497
AA
147182015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
14719
14720 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
14721 the 'arch1' variable for "s390*-linux*" targets.
14722
511aee7c
PA
147232015-03-04 Pedro Alves <palves@redhat.com>
14724
14725 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
14726 (main): Pass missing retval argument to pthread_join call.
14727
95e50b27
PA
147282015-03-02 Pedro Alves <palves@redhat.com>
14729
14730 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
14731 (top level): Call do_test with non-stop as well.
14732
28054d69
PA
147332015-03-02 Pedro Alves <palves@redhat.com>
14734
14735 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
14736 -1.
14737
4fa5d7b4
AA
147382015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
14739
14740 * gdb.arch/s390-vregs.exp: New test.
14741 * gdb.arch/s390-vregs.S: New file.
14742
97c18565
PA
147432015-02-27 Pedro Alves <palves@redhat.com>
14744
14745 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
14746 call to catch_command_errors.
14747 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
14748 catch_command_errors.
14749
a37bfa30
PA
147502015-02-27 Pedro Alves <palves@redhat.com>
14751
14752 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
14753 "true" for boolean result.
14754 * gdb.gdb/selftest.exp (test_with_self): Also accept full
14755 prototype of main.
14756
6f98576f
PA
147572015-02-27 Pedro Alves <palves@redhat.com>
14758
14759 * lib/unbuffer_output.c: New file.
14760 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
14761 (main): Call gdb_unbuffer_output.
14762
eba5ab56
YQ
147632015-02-27 Yao Qi <yao.qi@linaro.org>
14764
14765 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
14766 target.
14767
0def5aaa
DE
147682015-02-26 Doug Evans <dje@google.com>
14769
14770 * gdb.cp/class2.cc (Dbase, D): New classes.
14771 (main): New local delta.
14772 * gdb.cp/class2.exp: Test printing delta.
14773 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
14774 (dynbar): New global.
14775 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
14776
081a1c2c
JK
147772015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14778
14779 * gdb.compile/compile-ifunc.c: New file.
14780 * gdb.compile/compile-ifunc.exp: New file.
14781
2f41223f
AT
147822015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
14783
14784 * gdb.base/structs.exp: Check for correct struct on finish.
14785
03eddd80
YQ
147862015-02-26 Yao Qi <yao.qi@linaro.org>
14787
14788 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
14789 is zero.
14790
80c57053
JK
147912015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14792
14793 * gdb.arch/cordic.ko.bz2: New file.
14794 * gdb.arch/cordic.ko.debug.bz2: New file.
14795 * gdb.arch/ppc64-symtab-cordic.exp: New file.
14796
21613c12
YQ
147972015-02-25 Yao Qi <yao.qi@linaro.org>
14798
14799 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
14800 aarch64*-*-* target.
14801
d8b901ed
PA
148022015-02-23 Pedro Alves <palves@redhat.com>
14803
14804 * lib/gdb.exp (delete_breakpoints): Rewrite using
14805 gdb_test_multiple.
14806
e5b85ead
PA
148072015-02-23 Pedro Alves <palves@redhat.com>
14808
14809 * gdb.base/info-os.c: Include stdlib.h.
14810
85c3a371
DE
148112015-02-22 Doug Evans <xdje42@gmail.com>
14812
14813 PR symtab/17855
14814 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
14815 is read after symbols have been re-read.
14816 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
14817 * gdb.ada/exec_changed/second.adb (Second): Ditto.
14818
96553a0c
DE
148192015-02-21 Doug Evans <dje@google.com>
14820
14821 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
14822
97a0c697
JK
148232015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14824
14825 PR corefiles/17808
14826 * gdb.arch/i386-biarch-core.core.bz2: New file.
14827 * gdb.arch/i386-biarch-core.exp: New file.
14828
a47cd6e9
PA
148292015-02-21 Pedro Alves <palves@redhat.com>
14830
14831 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
14832 runto_main fails.
14833
c5facdc4
PA
148342015-02-20 Pedro Alves <palves@redhat.com>
14835
14836 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
14837 info probes.
14838
2db9a427
PA
148392015-02-20 Pedro Alves <palves@redhat.com>
14840
14841 * gdb.threads/multi-create-ns-info-thr.exp: New file.
14842
60fb7e9e
PA
148432015-02-20 Pedro Alves <palves@redhat.com>
14844
14845 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
14846 clean_restart before gdb_target_supports_trace.
14847
5c5019c2
PA
148482015-02-20 Pedro Alves <palves@redhat.com>
14849
14850 PR threads/18006
14851 * gdb.threads/clone-thread_db.c: New file.
14852 * gdb.threads/clone-thread_db.exp: New file.
14853
c9587f88
AT
148542015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
14855
14856 PR breakpoints/16812
14857 * gdb.base/catch-gdb-caused-signals.c: New file.
14858 * gdb.base/catch-gdb-caused-signals.exp: New file.
14859
f6a88844
JM
148602015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
14861
14862 * configure: Regenerated.
14863 * configure.ac: Use GDB_AC_TRANSFORM.
14864 * aclocal.m4: sinclude ../transform.m4.
14865
497c491b
JM
148662015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
14867
14868 * lib/dtrace.exp: New file.
14869 * gdb.base/dtrace-probe.exp: Likewise.
14870 * gdb.base/dtrace-probe.d: Likewise.
14871 * gdb.base/dtrace-probe.c: Likewise.
14872 * lib/pdtrace.in: Likewise.
14873 * configure.ac: Output variables with the transformed names of
14874 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
14875 * configure: Regenerated.
14876
03e98035
JM
148772015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
14878
14879 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
14880 expected message when trying to access $_probe_* convenience
14881 variables while not on a probe.
14882
63cc30e9
JK
148832015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14884
14885 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
14886
0703599a
PA
148872015-02-11 Pedro Alves <pedro@codesourcery.com>
14888
14889 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
14890 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
14891
7e60a48e
DE
148922015-02-10 Doug Evans <xdje42@gmail.com>
14893
14894 * lib/gdb.exp (gdb_load): Always return a result.
14895
01b088bc
PA
148962015-02-10 Pedro Alves <palves@redhat.com>
14897
14898 * gdb.threads/signal-sigtrap.c: New file.
14899 * gdb.threads/signal-sigtrap.exp: New file.
14900
b05ec7a5
AT
149012015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
14902
14903 * gdb.trace/no-attach-trace.c: New file.
14904 * gdb.trace/no-attach-trace.exp: New file.
14905
a2c2acaf
MW
149062015-02-09 Mark Wielaard <mjw@redhat.com>
14907
14908 * gdb.dwarf2/atomic.c: New file.
14909 * gdb.dwarf2/atomic-type.exp: Likewise.
14910
31fd9caa
MM
149112015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14912
14913 * gdb.btrace/buffer-size.exp: Update "info record" output.
14914 * gdb.btrace/delta.exp: Update "info record" output.
14915 * gdb.btrace/enable.exp: Update "info record" output.
14916 * gdb.btrace/finish.exp: Update "info record" output.
14917 * gdb.btrace/instruction_history.exp: Update "info record" output.
14918 * gdb.btrace/next.exp: Update "info record" output.
14919 * gdb.btrace/nexti.exp: Update "info record" output.
14920 * gdb.btrace/step.exp: Update "info record" output.
14921 * gdb.btrace/stepi.exp: Update "info record" output.
14922 * gdb.btrace/nohist.exp: Update "info record" output.
14923
d33501a5
MM
149242015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14925
14926 * gdb.btrace/buffer-size: New.
14927
f4abbc16
MM
149282015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14929
14930 * gdb.btrace/delta.exp: Update "info record" output.
14931 * gdb.btrace/enable.exp: Update "info record" output.
14932 * gdb.btrace/finish.exp: Update "info record" output.
14933 * gdb.btrace/instruction_history.exp: Update "info record" output.
14934 * gdb.btrace/next.exp: Update "info record" output.
14935 * gdb.btrace/nexti.exp: Update "info record" output.
14936 * gdb.btrace/step.exp: Update "info record" output.
14937 * gdb.btrace/stepi.exp: Update "info record" output.
14938 * gdb.btrace/nohist.exp: Update "info record" output.
14939
b9d61307
SM
149402015-02-06 Simon Marchi <simon.marchi@ericsson.com>
14941
14942 PR gdb/15678
14943 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
14944
e584fdbc
PA
149452015-02-06 Pedro Alves <palves@redhat.com>
14946
14947 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
14948 macro.
14949 (seconds_left, again): New globals.
14950 (main): Wait seconds_left in a 1-second sleep loop instead of
14951 sleeping 180 seconds. If 'again' is set, reset the seconds
14952 counter.
14953 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
14954 'again' in the inferior before detaching. Print the seconds left.
14955 (options): New global.
14956 (top level): Build program with -DTIMEOUT=$timeout.
14957
77f41761
PA
149582015-02-06 Pedro Alves <palves@redhat.com>
14959
14960 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
14961 determine how many seconds to pass to 'alarm'.
14962 * gdb.base/gdb-sigterm.exp (top level): Build program with
14963 -DTIMEOUT=$timeout.
14964 (do_test): Return success/failure indication. Add more verbose
14965 logging. Don't fail if 200 single steps are seen. Instead, fail
14966 when the test times out.
14967 (passes): New global.
14968 (top level): Break the testing loop if testing fails on any
14969 iteration. Use gdb_assert.
14970
b9394193
DB
149712015-02-04 Don Breazeal <donb@codesourcery.com>
14972
14973 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
14974 and initialize them.
14975 (ipc_cleanup): New function.
14976 (main): Don't declare shmid, semid, and msqid. Add a call to
14977 atexit so that we call ipc_cleanup on exit.
14978
42d9e528
PA
149792015-02-04 Pedro Alves <palves@redhat.com>
14980
14981 * boards/native-extended-gdbserver.exp: Remove any target variant
14982 specifications from the board name before clearing the isremote
14983 flag from board_info.
14984
ae6ae975
DE
149852015-01-31 Doug Evans <xdje42@gmail.com>
14986
14987 * gdb.base/maint.exp <maint print type argc>: Update expected output.
14988
cfb069a8
GB
149892015-01-31 Gary Benson <gbenson@redhat.com>
14990
14991 * gdb.base/completion.exp: Disable completion limiting for
14992 existing tests. Add new tests to check completion limiting.
14993 * gdb.linespec/ls-errs.exp: Disable completion limiting.
14994
5dd31d79
DE
149952015-01-31 Doug Evans <xdje42@gmail.com>
14996
14997 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
14998
9f050062
DE
149992015-01-31 Doug Evans <xdje42@gmail.com>
15000
15001 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
15002 entries. Duplicate file section script entries.
15003 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
15004 inlined entries. Add test for safe-path rejection.
15005 * gdb.python/py-section-script.c: Add duplicate inlined section script
15006 entries. Duplicate file section script entries.
15007 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
15008 inlined entries. Add test for safe-path rejection.
15009
df25ebbd
JB
150102015-01-29 Joel Brobecker <brobecker@adacore.com>
15011
15012 * gdb.ada/disc_arr_bound: New testcase.
15013
4a0ca9ec
JB
150142015-01-29 Joel Brobecker <brobecker@adacore.com>
15015
15016 * gdb.ada/mi_var_array: New testcase.
15017
3a8b707a
DE
150182015-01-27 Doug Evans <dje@google.com>
15019
15020 * gdb.python/py-objfile.exp: Add tests for objfile.username.
15021 Add test for objfile.filename, objfile.username after objfile
15022 has been unloaded.
15023
f8313f6e
JB
150242015-01-26 Joel Brobecker <brobecker@adacore.com>
15025
15026 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
15027 the second test to print the name attribute of value
15028 returned by the call to gdb.lookup_type, and adjust
15029 the expected output accordingly.
15030
37bc665e
MW
150312015-01-25 Mark Wielaard <mjw@redhat.com>
15032
15033 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
15034 * gdb.base/disp-step-fork.c: Include unistd.h.
15035 * gdb.base/siginfo-obj.c: Include stdio.h.
15036 * gdb.base/siginfo-thread.c: Likewise.
15037 * gdb.mi/non-stop.c: Include unistd.h.
15038 * gdb.mi/nsthrexec.c: Include stdio.h.
15039 * gdb.mi/pthreads.c: Include unistd.h.
15040 * gdb.modula2/unbounded1.c (main): Declare returns int.
15041 * gdb.reverse/consecutive-reverse.c: Likewise.
15042 * gdb.threads/create-fail.c: Include unistd.h.
15043 * gdb.threads/killed.c: Likewise.
15044 * gdb.threads/linux-dp.c: Likewise.
15045 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
15046 * gdb.threads/non-ldr-exc-2.c: Likewise.
15047 * gdb.threads/non-ldr-exc-3.c: Likewise.
15048 * gdb.threads/non-ldr-exc-4.c: Likewise.
15049 * gdb.threads/pthreads.c: Include unistd.h.
15050 (main): Declare returns int.
15051 * gdb.threads/tls-main.c (foo): New declaration.
15052 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
15053
f7e5394d
SM
150542015-01-23 Simon Marchi <simon.marchi@ericsson.com>
15055
15056 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
15057 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
15058
743649fd
MW
150592015-01-15 Mark Wielaard <mjw@redhat.com>
15060
15061 * gdb.base/noreturn-return.c: New file.
15062 * gdb.base/noreturn-return.exp: New file.
15063 * gdb.base/noreturn-finish.c: New file.
15064 * gdb.base/noreturn-finish.exp: New file.
15065
198297aa
PA
150662015-01-23 Pedro Alves <palves@redhat.com>
15067
15068 * gdb.threads/continue-pending-after-query.c: New file.
15069 * gdb.threads/continue-pending-after-query.exp: New file.
15070
717cf30c
AG
150712015-01-22 Anders Granlund <anders.granlund@ericsson.com>
15072 Simon Marchi <simon.marchi@ericsson.com>
15073
15074 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
15075 * gdb.base/valgrind-db-attach.exp: Same.
15076 * gdb.base/valgrind-infcall.exp: Same.
15077 * lib/mi-support.exp (default_mi_gdb_start): Same.
15078 * lib/prompt.exp (default_prompt_gdb_start): Same.
15079 * lib/gdb.exp (default_gdb_spawn): Same.
15080 (gdb_interact): New.
15081
15082
4b62a76e
JK
150832015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15084
15085 * gdb.compile/compile.exp (pointer to jit function): New test.
15086
b4cdae6f
WW
150872015-01-17 Wei-cheng Wang <cole945@gmail.com>
15088
15089 * lib/gdb.exp (supports_process_record): Return true for
15090 powerpc*-*-linux*.
15091 (supports_reverse): Likewise.
15092
d221e7ef
DB
150932015-01-15 Don Breazeal <donb@codesourcery.com>
15094
15095 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
15096 instead of checking whether the target board is remote and
15097 use spawn_wait_for_attach instead of exec/sleep.
15098 * gdb.base/attach-twice.exp: Likewise.
15099
bafffb51
JB
151002015-01-15 Joel Brobecker <brobecker@adacore.com>
15101
15102 * gdb.ada/var_arr_attrs: New testcase.
15103
5589af0e
PA
151042015-01-14 Pedro Alves <palves@redhat.com>
15105 Joel Brobecker <brobecker@adacore.com>
15106
15107 PR gdb/17525
15108 * gdb.base/bp-cmds-execution-x-script.c: New file.
15109 * gdb.base/bp-cmds-execution-x-script.exp: New file.
15110 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
15111
6c400b59
PA
151122015-01-14 Pedro Alves <palves@redhat.com>
15113
15114 PR cli/17828
15115 * gdb.base/batch-preserve-term-settings.c: New file.
15116 * gdb.base/batch-preserve-term-settings.exp: New file.
15117
e02c96a7
DE
151182015-01-13 Doug Evans <dje@google.com>
15119
15120 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
15121 binary.
15122
576fd14c
JB
151232015-01-13 Joel Brobecker <brobecker@adacore.com>
15124
15125 * Makefile.in (clean mostlyclean): Do not delete *.py.
15126
04dccad0
JB
151272015-01-13 Joel Brobecker <brobecker@adacore.com>
15128
15129 * gdb.python/py-lookup-type.exp: New file.
15130
3d230f71
PA
151312015-01-12 Pedro Alves <palves@redhat.com>
15132
15133 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
15134 restore GDBFLAGS before returning.
15135
7e67715d
JK
151362015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15137
15138 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
15139 is_amd64_regs_target and is_x86_like_target.
15140
f2e0d4b4
DE
151412015-01-11 Doug Evans <xdje42@gmail.com>
15142
15143 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
15144 is given without an explicit form.
15145 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
15146 attributes.
15147 * gdb.dwarf/corrupt.exp: Ditto.
15148 * gdb.dwarf2/enum-type.exp: Ditto.
15149 * gdb.trace/entry-values.exp: Ditto.
15150 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
15151
439250fb
DE
151522015-01-11 Doug Evans <xdje42@gmail.com>
15153
15154 PR gdb/15830
15155 * gdb.base/maint.exp: Remove references to "maint demangle".
15156 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
15157 Add tests for explicitly specifying language to demangle.
15158 * gdb.dlang/demangle.exp: Ditto.
15159
ede9f622
PA
151602015-01-09 Pedro Alves <palves@redhat.com>
15161
15162 * gdb.threads/non-stop-fair-events.c: New file.
15163 * gdb.threads/non-stop-fair-events.exp: New file.
15164
a7b796db
PA
151652015-01-09 Pedro Alves <palves@redhat.com>
15166
15167 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
15168 the global scope. Set a breakpoint after all threads are started
15169 rather than stepping over two source lines. Expect the prompt.
15170 * gdb.base/watch_thread_num.c (threads_started_barrier): New
15171 global.
15172 (NUM): Now 15.
15173 (main): Use threads_started_barrier to wait for all threads to
15174 start. Main thread no longer calls thread_function. Exit after
15175 180 seconds.
15176 (loop): New function.
15177 (thread_function): Wait on threads_started_barrier barrier. Call
15178 'loop' at each iteration.
15179 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
15180 threads have started, instead of hardcoding number of "next"
15181 steps. Use an access watchpoint instead of a write watchpoint.
15182
9665ffdd
PA
151832015-01-09 Pedro Alves <palves@redhat.com>
15184
15185 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
15186 (thread_func): Wait on barrier.
15187 (main): Wait for all threads to start before stopping GDB.
15188 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
15189 global.
15190 (thread1_func, thread2_func): Wait on barrier.
15191 (main): Wait for all threads to start before stopping GDB.
15192 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
15193 New global.
15194 (thread1_func, thread2_func): Wait on barrier.
15195 (main): Wait for all threads to start before stopping GDB.
15196
c945a99f
PA
151972015-01-09 Pedro Alves <palves@redhat.com>
15198
15199 * gdb.threads/attach-many-short-lived-threads.c: New file.
15200 * gdb.threads/attach-many-short-lived-threads.exp: New file.
15201
c1a747c1
PA
152022014-01-09 Pedro Alves <palves@redhat.com>
15203
15204 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
15205 instead of to thread 2.
15206 * gdb.threads/signal-command-multiple-signals-pending.c (main):
15207 Add barrier around each pthread_create call instead of around all
15208 calls.
15209 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
15210 Set a break on thread_function and have the child threads hit it
15211 one at at a time.
15212
60b3033e
PA
152132015-01-09 Pedro Alves <palves@redhat.com>
15214
15215 * lib/gdb.exp (can_spawn_for_attach): New procedure.
15216 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
15217 false.
15218 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
15219 checking whether the target board is remote.
15220 * gdb.multi/multi-attach.exp: Likewise.
15221 * gdb.python/py-sync-interp.exp: Likewise.
15222 * gdb.server/ext-attach.exp: Likewise.
15223 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
15224 tests that need to attach, instead of checking whether the target
15225 board is remote at the top of the file.
15226
acc018ac
YQ
152272015-01-08 Yao Qi <yao@codesourcery.com>
15228
15229 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
15230
50a18af8
JK
152312015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15232
15233 Fix testcase compilation.
15234 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
15235
8503d6e1
JB
152362015-01-06 Joel Brobecker <brobecker@adacore.com>
15237
15238 * gdb.python/py-type.exp: Add a couple test about empty
15239 array creation, and negative-length array creation.
15240
cc73dbcc
DE
152412015-01-02 Doug Evans <xdje42@gmail.com>
15242
15243 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
15244
0300bbc7
DE
152452015-01-02 Doug Evans <dje@google.com>
15246
15247 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
15248
9d85a0ec
YQ
152492014-12-29 Yao Qi <yao@codesourcery.com>
15250
15251 * gdb.trace/entry-values.exp: Update comments. Rename variable
15252 bar_call_foo to returned_from_foo.
15253
87186c6a
MMN
152542014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
15255
15256 PR gdb/17394
15257 * gdb.linespec/break-asm-file.c: New file.
15258 * gdb.linespec/break-asm-file.exp: New file.
15259 * gdb.linespec/break-asm-file0.s: New file.
15260 * gdb.linespec/break-asm-file1.s: New file.
15261
1bab7383
YQ
152622014-12-18 Nigel Stephens <nigel@mips.com>
15263 Maciej W. Rozycki <macro@codesourcery.com>
15264
15265 * gdb.base/float.exp: Handle the new output from "info float" on
15266 MIPS targets.
15267
1bc1068a
JK
152682014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
15269
15270 Fix MinGW compilation.
15271 * gdb.compile/compile-ops.exp: Update untested message if
15272 !skip_compile_feature_tests.
15273 * gdb.compile/compile-setjmp.exp: Likewise.
15274 * gdb.compile/compile-tls.exp: Likewise.
15275 * gdb.compile/compile.exp: Likewise.
15276 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
15277 supported on this host".
15278
b6615d10
DE
152792014-12-16 Doug Evans <xdje42@gmail.com>
15280
15281 * boards/stabs.exp: New file.
15282
25dda427
AA
152832014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
15284
15285 * gdb.base/completion.exp: Adjust to format changes of "maint
15286 print user-registers".
15287
bf330350
CU
152882014-12-16 Catalin Udma <catalin.udma@freescale.com>
15289
15290 PR server/17457
15291 * gdb.arch/aarch64-fp.c: New file.
15292 * gdb.arch/aarch64-fp.exp: New file.
15293
395cf596
SDJ
152942014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
15295
15296 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
15297 r210637, r210913, r211666, r215400, r215817).
15298
15299 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
15300 * dg-extract-results.py: New file.
15301 * dg-extract-results.sh: Use it if the environment seems
15302 suitable.
15303
15304 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
15305
15306 * dg-extract-results.py (parse_run): Handle warnings that
15307 are printed before a test harness is run.
15308
15309 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
15310
15311 * dg-extract-results.py (Named): Remove __cmp__ method.
15312 (output_variation): Use a key to sort variation.harnesses.
15313
15314 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
15315
15316 * dg-extract-results.py: For Python 3, force sys.stdout to
15317 handle surrogate escape sequences.
15318 (safe_open): New function.
15319 (output_segment, main): Use it.
15320
15321 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
15322
15323 * dg-extract-results.py (Prog.result_re): Include options
15324 in test name.
15325
15326 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
15327
15328 * dg-extract-results.py (output_variation): Always sort if
15329 do_sum.
15330
e882ef3c
SM
153312014-12-15 Simon Marchi <simon.marchi@ericsson.com>
15332
15333 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
15334 as long as we get pagination notifications.
15335
4992aa20
JM
153362014-12-15 Jason Merrill <jason@redhat.com>
15337
15338 * Makefile.in (check-gdb.%): Restore.
15339 * README: Mention it.
15340
c1b5a1a6
JB
153412014-12-13 Joel Brobecker <brobecker@adacore.com>
15342
15343 * gdb.ada/str_uninit: New testcase.
15344
5537b577
JK
153452014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15346
15347 PR symtab/17642
15348 * gdb.base/vla-stub-define.c: New file.
15349 * gdb.base/vla-stub.c: New file.
15350 * gdb.base/vla-stub.exp: New file.
15351
bb2ec1b3
TT
153522014-12-12 Phil Muldoon <pmuldoon@redhat.com>
15353 Jan Kratochvil <jan.kratochvil@redhat.com>
15354 Tom Tromey <tromey@redhat.com>
15355
15356 * configure.ac: Add gdb.compile/.
15357 * configure: Regenerate.
15358 * gdb.compile/Makefile.in: New file.
15359 * gdb.compile/compile-ops.exp: New file.
15360 * gdb.compile/compile-ops.c: New file.
15361 * gdb.compile/compile-tls.c: New file.
15362 * gdb.compile/compile-tls.exp: New file.
15363 * gdb.compile/compile-constvar.S: New file.
15364 * gdb.compile/compile-constvar.c: New file.
15365 * gdb.compile/compile-mod.c: New file.
15366 * gdb.compile/compile-nodebug.c: New file.
15367 * gdb.compile/compile-setjmp-mod.c: New file.
15368 * gdb.compile/compile-setjmp.c: New file.
15369 * gdb.compile/compile-setjmp.exp: New file.
15370 * gdb.compile/compile-shlib.c: New file.
15371 * gdb.compile/compile.c: New file.
15372 * gdb.compile/compile.exp: New file.
15373 * lib/gdb.exp (skip_compile_feature_tests): New proc.
15374
4ff709eb
TT
153752014-12-12 Tom Tromey <tromey@redhat.com>
15376
15377 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
15378 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
15379
6dddd6a5
DE
153802014-12-12 Doug Evans <dje@google.com>
15381
15382 * lib/gdb-python.exp (get_python_valueof): New function.
15383 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
15384
71c24708
AA
153852014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
15386
15387 * gdb.base/completion.exp: Add test for completion of "info
15388 registers ".
15389
3e29f34a
MR
153902014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
15391
15392 * gdb.base/func-ptrs.c: New file.
15393 * gdb.base/func-ptrs.exp: New file.
15394
fc126975
SM
153952014-12-10 Simon Marchi <simon.marchi@ericsson.com>
15396
15397 PR breakpoints/17012
15398 * gdb.base/dprintf-detach.c: New file.
15399 * gdb.base/dprintf-detach.exp: New file.
15400
0a46d518
SM
154012014-12-10 Simon Marchi <simon.marchi@ericsson.com>
15402
15403 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
15404 * lib/gdb.exp (target_is_gdbserver): New procedure.
15405
a0be3e44
DE
154062014-12-08 Doug Evans <dje@google.com>
15407
15408 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
15409
df1b803a
YQ
154102014-12-05 Yao Qi <yao@codesourcery.com>
15411
15412 * gdb.guile/scm-error.exp: Remove the third argument to
15413 gdb_remote_download.
15414 * gdb.guile/scm-frame-args.exp: Likewise.
15415 * gdb.guile/scm-section-script.exp: Likewise.
15416
ddb9f679
YQ
154172014-12-05 Yao Qi <yao@codesourcery.com>
15418
15419 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
15420
86e4ed39
DE
154212014-12-04 Doug Evans <dje@google.com>
15422
15423 * gdb.python/py-objfile.exp: Add tests for
15424 objfile.add_separate_debug_file.
15425
7c50a931
DE
154262014-12-04 Doug Evans <dje@google.com>
15427
15428 * lib/gdb.exp (get_build_id): New function.
15429 (build_id_debug_filename_get): Rewrite to use it.
15430 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
15431
621661e3
MR
154322014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
15433
15434 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
15435 `method(long)', not just 0x0.
15436 * gdb.cp/nsalias.exp: Align code labels to 4.
15437 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
15438 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
15439 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
15440 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
15441 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
15442 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
15443
29f0c3b7
DE
154442014-12-02 Doug Evans <dje@google.com>
15445
e1e061e7 15446 PR symtab/17602
29f0c3b7 15447 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 15448 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
15449 * gdb.cp/anon-ns.exp: Update.
15450
162078c8
NB
154512014-12-02 Nick Bull <nicholaspbull@gmail.com>
15452
15453 * gdb.python/py-events.py (inferior_call_handler): New.
15454 (register_changed_handler, memory_changed_handler): New.
15455 (test_events.invoke): Register new handlers.
15456 * gdb.python/py-events.exp: Add tests for inferior call,
15457 memory_changed and register_changed events.
15458
fdb09caf
AA
154592014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
15460
15461 * gdb.base/execl-update-breakpoints.exp: Specify the link address
15462 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
15463 if the linker doesn't understand this.
15464
55cfb2c4
SM
154652014-12-01 Simon Marchi <simon.marchi@ericsson.com>
15466
15467 * gdb.python/python.exp: Change expected reply to help().
15468
9e8cd6df
YQ
154692014-12-01 Yao Qi <yao@codesourcery.com>
15470
15471 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
15472 AC_CONFIG_SUBDIRS(gdb.gdbtk).
15473 * configure: Re-generated.
15474
6c659fc2
SC
154752014-11-28 Siva Chandra Reddy <sivachandra@google.com>
15476
15477 * gdb.cp/chained-calls.cc: New file.
15478 * gdb.cp/chained-calls.exp: New file.
15479 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
15480
d7fc3181
SM
154812014-11-28 Simon Marchi <simon.marchi@ericsson.com>
15482
15483 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
15484 * gdb.dwarf2/symtab-producer.exp: Same.
15485 * gdb.gdb/python-interrupts.exp: Same.
15486 * gdb.gdb/python-selftest.exp: Same.
15487 * gdb.python/py-linetable.exp: Same.
15488 * gdb.python/py-type.exp: Same.
15489 * gdb.python/py-value-cc.exp: Same.
15490 * gdb.python/py-value.exp: Same.
15491
10e79639
YQ
154922014-11-28 Yao Qi <yao@codesourcery.com>
15493
15494 * gdb.base/break-probes.exp: Match library name prefixed with
15495 sysroot.
15496
f28a0564
SM
154972014-11-27 Simon Marchi <simon.marchi@ericsson.com>
15498
15499 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
15500 test expected output. Add parentheses for the call to print.
15501 Remove L suffix from integers.
15502
3fe1ce1d
DE
155032014-11-26 Doug Evans <dje@google.com>
15504
15505 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
15506
84429e27
YQ
155072014-11-22 Yao Qi <yao@codesourcery.com>
15508
15509 * gdb.trace/entry-values.c: Remove asms.
15510 (foo): Add foo_label.
15511 (bar): Add bar_label.
15512 * gdb.trace/entry-values.exp: Remove code computing foo's
15513 length and bar's length.
15514 (Dwarf::assemble): Invoke function_range for bar and use
15515 MACRO_AT_func for foo.
15516
26741859
YQ
155172014-11-22 Yao Qi <yao@codesourcery.com>
15518
15519 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
15520 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
15521 Use .Lgcc43_procstart instead of gcc43.
15522
45e44d27
JB
155232014-11-21 Joel Brobecker <brobecker@adacore.com>
15524
15525 * gdb.ada/n_arr_bound: New testcase.
15526
458c8db8
SDJ
155272014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
15528
15529 PR breakpoints/10737
15530 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
15531 test_catch_syscall_multi_arch.
15532 (test_catch_syscall_multi_arch): New function.
15533
43f3e411
DE
155342014-11-20 Doug Evans <xdje42@gmail.com>
15535
15536 * gdb.base/maint.exp: Update expected output.
15537
0d7b2549
AA
155382014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
15539
15540 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
15541 4-byte instruction on S390.
15542
8908fca5
JB
155432014-11-19 Joel Brobecker <brobecker@adacore.com>
15544
15545 * gdb.ada/arr_arr: New testcase.
15546
4a46959e
JB
155472014-11-19 Joel Brobecker <brobecker@adacore.com>
15548
15549 * gdb.ada/pkd_arr_elem: New Testcase.
15550
470e2f4e
LM
155512014-11-18 Luis Machado <lgustavo@codesourcery.com>
15552
15553 * gdb.reverse/break-precsave: Expect completion message for
15554 core file reads.
15555 * gdb.reverse/consecutive-precsave.exp: Likewise.
15556 * gdb.reverse/finish-precsave.exp: Likewise.
15557 * gdb.reverse/i386-precsave.exp: Likewise.
15558 * gdb.reverse/machinestate-precsave.exp: Likewise.
15559 * gdb.reverse/sigall-precsave.exp: Likewise.
15560 * gdb.reverse/solib-precsave.exp: Likewise.
15561 * gdb.reverse/step-precsave.exp: Likewise.
15562 * gdb.reverse/until-precsave.exp: Likewise.
15563 * gdb.reverse/watch-precsave.exp: Likewise.
15564
a267f3ad
AA
155652014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15566
15567 * gdb.base/bp-permanent.c: Include unistd.h.
15568 * gdb.python/py-framefilter-mi.c (main): Add return type.
15569 * gdb.python/py-framefilter.c (main): Likewise.
15570 * gdb.trace/actions-changed.c (main): Likewise.
15571
12084a9a
AA
155722014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15573
15574 * gdb.mi/until.c: Add eye-catchers.
15575 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
15576 line numbers.
15577
dc7e1a77
AA
155782014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15579
15580 * gdb.base/condbreak.exp: Drop references to removed non-prototype
15581 function header variants in break1.c.
15582 * gdb.base/ena-dis-br.exp: Likewise.
15583 * gdb.base/hbreak2.exp: Likewise.
15584 * gdb.reverse/until-precsave.exp: Drop references to removed
15585 non-prototype function header variants in ur1.c.
15586 * gdb.reverse/until-reverse.exp: Likewise.
15587
41c77605
PM
155882014-11-17 Petr Machata <pmachata@redhat.com>
15589
15590 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
15591 ${_cu_offset_size} bytes abbrev offset.
15592
34248c3a
DE
155932014-11-15 Doug Evans <xdje42@gmail.com>
15594
15595 PR symtab/17559
15596 * gdb.base/line-symtabs.exp: New file.
15597 * gdb.base/line-symtabs.c: New file.
15598 * gdb.base/line-symtabs.h: New file.
15599
646da059
YQ
156002014-11-14 Yao Qi <yao@codesourcery.com>
15601
15602 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
15603 (func): Add label func_label.
15604 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
15605 Replace low_pc and high_pc with MACRO_AT_range.
15606 Replace name, low_pc and high_pc with MACRO_AT_func.
15607
9301ebe6
YQ
156082014-11-14 Yao Qi <yao@codesourcery.com>
15609
15610 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
15611 Replace name, low_pc and high_pc with MACRO_AT_func.
15612
f166b542
YQ
156132014-11-14 Yao Qi <yao@codesourcery.com>
15614
15615 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
15616 produce debug information.
15617 * gdb.dwarf2/implptr-optimized-out.S: Removed.
15618
0f6e71e3
YQ
156192014-11-14 Yao Qi <yao@codesourcery.com>
15620
15621 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
15622 object and get function length.
15623 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
15624 with MACRO_AT_func.
15625 (top-level): Replace gdb_compile and clean_restart with
15626 prepare_for_testing.
15627 * gdb.dwarf2/main.c (main): Add label main_label.
15628
876c4df9
YQ
156292014-11-14 Yao Qi <yao@codesourcery.com>
15630
15631 * lib/dwarf.exp (function_range): New procedure.
15632 (Dwarf::_handle_macro_at_func): New procedure.
15633 (Dwarf::_handle_macro_at_range): New procedure.
15634 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
15635
02ad9cf1
YQ
156362014-11-14 Yao Qi <yao@codesourcery.com>
15637
15638 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
15639 (_handle_attribute): New procedure.
15640
a59add0c
AA
156412014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15642
15643 * gdb.ada/cond_lang/foo.c (callme): Add return type.
15644 * gdb.base/call-sc.c (zed): Likewise.
15645 * gdb.base/checkpoint.c (main): Likewise.
15646 * gdb.base/dump.c (main): Likewise.
15647 * gdb.base/gcore.c (main): Likewise.
15648 * gdb.base/huge.c (main): Likewise.
15649 * gdb.base/multi-forks.c (main): Likewise.
15650 * gdb.base/pr10179-a.c (main): Likewise.
15651 * gdb.base/savedregs.c (main): Likewise.
15652 * gdb.base/sigaltstack.c (main): Likewise.
15653 * gdb.base/siginfo.c (main): Likewise.
15654 * gdb.base/structs.c (zed): Likewise.
15655 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
15656 * gdb.mi/mi-syn-frame.c (main): Likewise.
15657 * gdb.mi/until.c (foo, main): Likewise.
15658 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
15659 * gdb.base/solib-weak.c (foo): Declare.
15660 * gdb.base/attach-twice.c: Include stdio.h.
15661 * gdb.base/weaklib1.c: Likewise.
15662 * gdb.base/weaklib2.c: Likewise.
15663 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
15664 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
15665 unistd.h.
15666 * gdb.base/attach-pie-misread.c: Include stdlib.h.
15667 * gdb.mi/mi-exit-code.c: Likewise.
15668 * gdb.base/break-interp-lib.c: Include string.h.
15669 * gdb.base/coremaker.c: Likewise.
15670 * gdb.base/testenv.c: Likewise.
15671 * gdb.python/py-finish-breakpoint.c: Likewise.
15672 * gdb.base/inferior-died.c: Include sys/wait.h.
15673 * gdb.base/fileio.c: Include time.h.
15674 * gdb.base/async-shell.c: Include unistd.h.
15675 * gdb.base/dprintf-non-stop.c: Likewise.
15676 * gdb.base/info-os.c: Likewise.
15677 * gdb.mi/mi-console.c: Likewise.
15678 * gdb.mi/watch-nonstop.c: Likewise.
15679 * gdb.python/py-events.c: Likewise.
15680 * gdb.base/async.c (baz): Move up before its invocation.
15681 * gdb.base/code_elim2.c (my_global_func): Likewise.
15682 * gdb.base/skip-solib-lib.c (multiply): Likewise.
15683 * gdb.base/advance.c (func2): Likewise.
15684
3b5d5997
AA
156852014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15686
15687 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
15688 variant.
15689 * gdb.base/annota3.c: Likewise.
15690 * gdb.base/async.c: Likewise.
15691 * gdb.base/average.c: Likewise.
15692 * gdb.base/call-ar-st.c: Likewise.
15693 * gdb.base/call-rt-st.c: Likewise.
15694 * gdb.base/call-sc.c: Likewise.
15695 * gdb.base/call-strs.c: Likewise.
15696 * gdb.base/ending-run.c: Likewise.
15697 * gdb.base/execd-prog.c: Likewise.
15698 * gdb.base/exprs.c: Likewise.
15699 * gdb.base/foll-exec.c: Likewise.
15700 * gdb.base/foll-fork.c: Likewise.
15701 * gdb.base/foll-vfork.c: Likewise.
15702 * gdb.base/funcargs.c: Likewise.
15703 * gdb.base/gcore.c: Likewise.
15704 * gdb.base/jump.c: Likewise.
15705 * gdb.base/langs0.c: Likewise.
15706 * gdb.base/langs1.c: Likewise.
15707 * gdb.base/langs2.c: Likewise.
15708 * gdb.base/mips_pro.c: Likewise.
15709 * gdb.base/nodebug.c: Likewise.
15710 * gdb.base/opaque0.c: Likewise.
15711 * gdb.base/opaque1.c: Likewise.
15712 * gdb.base/recurse.c: Likewise.
15713 * gdb.base/run.c: Likewise.
15714 * gdb.base/scope0.c: Likewise.
15715 * gdb.base/scope1.c: Likewise.
15716 * gdb.base/setshow.c: Likewise.
15717 * gdb.base/setvar.c: Likewise.
15718 * gdb.base/shmain.c: Likewise.
15719 * gdb.base/shr1.c: Likewise.
15720 * gdb.base/shr2.c: Likewise.
15721 * gdb.base/sigall.c: Likewise.
15722 * gdb.base/signals.c: Likewise.
15723 * gdb.base/so-indr-cl.c: Likewise.
15724 * gdb.base/solib2.c: Likewise.
15725 * gdb.base/structs.c: Likewise.
15726 * gdb.base/sum.c: Likewise.
15727 * gdb.base/vforked-prog.c: Likewise.
15728 * gdb.base/watchpoint.c: Likewise.
15729 * gdb.reverse/shr2.c: Likewise.
15730 * gdb.reverse/until-reverse.c: Likewise.
15731 * gdb.reverse/ur1.c: Likewise.
15732 * gdb.reverse/watch-reverse.c: Likewise.
15733
066a77c5
AA
157342014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15735
15736 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
15737 variant.
15738 * gdb.base/sepdebug.exp: Drop references to removed code.
15739
4f204ea5
AA
157402014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15741
15742 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
15743 variant. Preserve original line numbering.
15744 * gdb.base/list1.c: Likewise.
15745
3b377a3a
AA
157462014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15747
15748 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
15749 variant.
15750 * gdb.base/break1.c: Likewise.
15751 * gdb.base/break.exp: Drop references to removed code.
15752
e444df73
AA
157532014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15754
15755 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
15756 variant.
15757
8008f2a7
AA
157582014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15759
15760 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
15761
a5a06887
AA
157622014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15763
15764 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
15765 logic into perform_all_tests() and invoke it with and without
15766 function header prototypes.
15767 (do_function_calls): Remove conditional XFAIL for PR 5318.
15768 (rerun_and_prepare): Remove duplicate code.
15769 (perform_all_tests): New. Main logic moved here.
15770
44dba9b9
AA
157712014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15772
15773 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
15774 code guarded by #ifdef NO_PROTOTYPES.
15775 (t_double_many_args): Likewise.
15776 (DEF_FUNC_MANY_ARGS_1): Likewise.
15777 (DEF_FUNC_VALUES_1): Likewise.
15778 (t_structs_ldc): Renamed from t_structs_fc in conditional code
15779 guarded by #ifdef PROTOTYPES.
15780
d1fbcd56
AA
157812014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15782
15783 * gdb.mi/mi-console.c: Add eye-catcher.
15784 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
15785 instead of literal line number.
15786
b0e59b8f
AA
157872014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15788
15789 * gdb.base/shr2.c: Add eye-catcher.
15790 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
15791 line number.
15792
78f98cca
AA
157932014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15794
15795 * gdb.base/jump.c: Add eye-catchers.
15796 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
15797 numbers.
15798
58fa2af0
AA
157992014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15800
15801 * gdb.base/execd-prog.c: Add eye-catchers.
15802 * gdb.base/foll-exec.c: Likewise.
15803 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
15804 line numbers.
15805
04e5059b
AA
158062014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15807
15808 * gdb.base/ending-run.c: Add eye-catchers.
15809 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
15810 literal line numbers.
15811
dbfdb174
AA
158122014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15813
15814 * gdb.base/call-rt-st.c: Add eye-catchers.
15815 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
15816 literal line numbers.
15817
888a2ade
AA
158182014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15819
15820 * gdb.base/call-ar-st.c: Add eye-catchers.
15821 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
15822 literal line numbers.
15823
6acc2dde
AA
158242014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15825
15826 * gdb.base/average.c: Add eye-catchers.
15827 * gdb.base/sum.c: Likewise.
15828 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
15829 regexps dynamically.
15830
9ecfcd1d
AA
158312014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15832
15833 * gdb.base/solib1.c: Add eye-catchers.
15834 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
15835 literal line numbers.
15836
78708b7c
PA
158372014-11-12 Pedro Alves <palves@redhat.com>
15838
15839 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
15840 leader has exited.
15841
af48d08f
PA
158422014-11-12 Pedro Alves <palves@redhat.com>
15843
15844 * gdb.arch/i386-bp_permanent.c: New file.
15845 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
15846 (srcfile): Set to i386-bp_permanent.c.
15847 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
15848 that stepi does not execute the 'leave' instruction, instead of
15849 testing it does execute.
15850 * gdb.base/bp-permanent.c: New file.
15851 * gdb.base/bp-permanent.exp: New file.
15852
af3768e9
DE
158532014-11-10 Doug Evans <xdje42@gmail.com>
15854
15855 PR symtab/17564
15856 * gdb.base/symtab-search-order.exp: New file.
15857 * gdb.base/symtab-search-order.c: New file.
15858 * gdb.base/symtab-search-order-1.c: New file.
15859 * gdb.base/symtab-search-order-shlib-1.c: New file.
15860
9de00a4a
PA
158612014-11-07 Pedro Alves <palves@redhat.com>
15862
15863 PR gdb/17511
15864 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
15865 i?86-*-linux*.
15866
e0f52461
SC
158672014-11-03 Siva Chandra Reddy <sivachandra@google.com>
15868
15869 PR c++/17494
15870 * gdb.cp/pr17494.cc: New file.
15871 * gdb.cp/pr17494.exp: New file.
15872
6ce8c980
YQ
158732014-11-02 Yao Qi <yao@codesourcery.com>
15874
15875 * gdb.python/python.exp: Get working directory and match the
15876 output of "set extended-prompt \\w " with it.
15877
02be9a71
DE
158782014-10-30 Doug Evans <dje@google.com>
15879
15880 * gdb.python/py-objfile.exp: Add tests for setting random attributes
15881 in objfiles.
15882 * gdb.python/py-progspace.exp: Add tests for setting random attributes
15883 in progspaces.
15884
3bdff46b
LM
158852014-10-30 Janis Johnson <janisjo@codesourcery.com>
15886
15887 * gdb.base/fullpath-expand.exp: Skip for a remote host.
15888 * gdb.base/realname-expand.exp: Likewise.
15889 * gdb.linespec/macro-relative.exp: Likewise.
15890
ab917dfb
PA
158912014-10-29 Pedro Alves <palves@redhat.com>
15892
15893 PR gdb/17408
15894 * gdb.threads/schedlock.c (some_function): New function.
15895 (call_function): New global.
15896 (MAYBE_CALL_SOME_FUNCTION): New macro.
15897 (thread_function): Call it.
15898 * gdb.threads/schedlock.exp (get_args): Add description parameter,
15899 and use it instead of a global counter. Adjust all callers.
15900 (get_current_thread): Use "find current thread" for test message
15901 here rather than having all callers pass down the same string.
15902 (goto_loop): New procedure, factored out from ...
15903 (my_continue): ... this.
15904 (step_ten_loops): Change parameter from test message to command to
15905 use. Adjust.
15906 (list_count): Delete global.
15907 (check_result): New procedure, factored out from duplicate top
15908 level code.
15909 (continue tests): Wrap in with_test_prefix.
15910 (test_step): New procedure, factored out from duplicate top level
15911 code.
15912 (top level): Test "step" in combination with all scheduler-locking
15913 modes. Test "next" in combination with all scheduler-locking
15914 modes, and in combination with stepping over a function call or
15915 not.
15916 * gdb.threads/next-bp-other-thread.c: New file.
15917 * gdb.threads/next-bp-other-thread.exp: New file.
15918
d3d4baed
PA
159192014-10-29 Pedro Alves <palves@redhat.com>
15920
15921 PR python/17372
15922 * gdb.python/python.exp: Test a multi-line command that spawns
15923 interactive Python.
15924 * gdb.base/multi-line-starts-subshell.exp: New file.
15925
563e8d85
YQ
159262014-10-29 Yao Qi <yao@codesourcery.com>
15927
15928 * gdb.base/fileio.exp: Make directories on host.
15929
0ea4d52e
YQ
159302014-10-29 Yao Qi <yao@codesourcery.com>
15931
15932 * gdb.base/fileio.c (test_write): Close the file.
15933
7f5ef605
PA
159342014-10-28 Pedro Alves <palves@redhat.com>
15935
15936 PR gdb/12623
15937 * gdb.base/sigstep.c (no_handler): New global.
15938 (main): If 'no_handler is true, set the signal handlers to
15939 SIG_IGN.
15940 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
15941 with_sw_watch and no_handler parameters. Handle them.
15942 (top level) <stepping over handler when stopped at a breakpoint
15943 test>: Add a test axis for testing with a software watchpoint, and
15944 another for testing with the signal handler set to SIG_IGN.
15945 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
15946 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
15947
abbdbd03
PA
159482014-10-28 Pedro Alves <palves@redhat.com>
15949
15950 PR gdb/17511
15951 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
15952 * gdb.base/sigstep.exp (other_handler_location): New global.
15953 (advance): Support stepping into the signal handler, and running
15954 commands while in the handler.
15955 (in_handler_map): New global.
15956 (top level): In the advance test, add combinations for getting
15957 into the handler with stepping commands, and for running commands
15958 in the handler. Add comment descripting the advancei tests.
15959
1df4399f
PA
159602014-10-28 Pedro Alves <palves@redhat.com>
15961
15962 * gdb.base/sigstep.exp: Use build_executable instead of
15963 prepare_for_testing.
15964 (top level): Move code that starts GDB, runs to main and creates a
15965 display to ...
15966 (restart): ... this new procedure.
15967 (top level): Move backtrace from signal handler test to ...
15968 (validate_backtrace): ... this new procedure.
15969 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
15970 with_test_prefix. Always restart GDB.
15971 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
15972 with_test_prefix. Always restart GDB. No need to delete
15973 breakpoints after the test.
15974 (test_skip_handler): Remove prefix parameter.
15975 (skip_over_handler, breakpoint_to_handler)
15976 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
15977 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
15978 restart GDB. No need to delete breakpoints after the test.
15979 (top level): Use foreach to call the test procedures with
15980 different commands.
15981
a5b6e449
PA
159822014-10-28 Pedro Alves <palves@redhat.com>
15983
15984 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
15985 instead of GNATS numbers.
15986 * gdb.base/sigbpt.exp: Likewise.
15987 * gdb.base/siginfo.exp: Likewise.
15988 * gdb.base/sigstep.exp: Likewise.
15989
e5f8a7cc
PA
159902014-10-27 Pedro Alves <palves@redhat.com>
15991
15992 * gdb.base/sigstep.c (dummy): New global.
15993 (main): Issue a couple writes to the new global.
15994 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
15995 procedures.
15996 (skip_over_handler): Use test_skip_handler.
15997 (top level): Call skip_over_handler for stepi and nexti too.
15998 (breakpoint_over_handler): Use test_skip_handler.
15999 (top level): Call breakpoint_over_handler for stepi and nexti too.
16000
763905a3
YQ
160012014-10-27 Yao Qi <yao@codesourcery.com>
16002
16003 * gdb.trace/tfile.c (adjust_function_address)
16004 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
16005 function descriptor.
16006
6f259a23
DB
160072014-10-24 Don Breazeal <donb@codesourcery.com>
16008
16009 * gdb.base/foll-fork.exp (test_follow_fork,
16010 catch_fork_child_follow): Check for updated fork messages emitted
16011 from infrun.c.
16012 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
16013 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
16014 vfork_and_exec_child_follow_through_step): Check for updated vfork
16015 messages emitted from infrun.c.
16016
09dd9a69
PA
160172014-10-24 Pedro Alves <palves@redhat.com>
16018
16019 * gdb.base/corefile.exp: Remove references to ultrix.
16020 * gdb.base/interrupt.exp: Likewise.
16021 * gdb.base/whatis.exp: Likewise.
16022 * gdb.gdb/selftest.exp: Likewise.
16023 * gdb.threads/manythreads.exp: Likewise.
16024 * gdb.threads/print-threads.exp: Likewise.
16025 * gdb.threads/pthreads.exp:: Likewise.
16026 * gdb.threads/schedlock.exp: Likewise.
16027
3433cfa5
SC
160282014-10-24 Siva Chandra Reddy <sivachandra@google.com>
16029
16030 * gdb.cp/non-trivial-retval.cc: Add a test case.
16031 * gdb.cp/non-trivial-retval.exp: Add a test.
16032
092f880b
YQ
160332014-10-20 Yao Qi <yao@codesourcery.com>
16034
16035 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
16036 * gdb.python/py-objfile-script-gdb.py: New file.
16037 * gdb.python/py-objfile-script.exp: Update reference to
16038 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
16039 of remote_download. Remove the dest file.
16040
acbdb7f3
YQ
160412014-10-20 Yao Qi <yao@codesourcery.com>
16042
16043 * gdb.base/checkpoint.exp: Don't remove file copied on host.
16044 * gdb.base/step-line.exp: Likewise.
16045 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
16046 * gdb.dwarf2/dw2-basic.exp: Likewise.
16047 * gdb.dwarf2/dw2-compressed.exp: Likewise.
16048 * gdb.dwarf2/dw2-filename.exp: Likewise.
16049 * gdb.dwarf2/dw2-intercu.exp: Likewise.
16050 * gdb.dwarf2/dw2-intermix.exp: Likewise.
16051 * gdb.dwarf2/dw2-producer.exp: Likewise.
16052 * gdb.dwarf2/mac-fileno.exp: Likewise.
16053 * gdb.python/py-frame-args.exp: Likewise.
16054 * gdb.python/py-framefilter.exp: Likewise.
16055 * gdb.python/py-mi.exp: Likewise.
16056 * gdb.python/py-objfile-script.exp: Likewise
16057 * gdb.python/py-pp-integral.exp: Likewise.
16058 * gdb.python/py-pp-re-notag.exp: Likewise.
16059 * gdb.python/py-prettyprint.exp: Likewise.
16060 * gdb.python/py-section-script.exp: Likewise.
16061 * gdb.python/py-typeprint.exp: Likewise.
16062 * gdb.python/py-xmethods.exp: Likewise.
16063 * gdb.stabs/weird.exp: Likewise.
16064 * gdb.xml/tdesc-regs.exp: Likewise.
16065
bd286a29
KCY
160662014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
16067
16068 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
16069 (out_cu): Use addr_len for the size of addresses.
16070 (out_line): Likewise. Size DW_LNE_set_address instruction
16071 according to addr_len.
16072 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
16073 (FUNC): Add START_INSNS to definition.
16074
673dc4a0
YQ
160752014-10-18 Yao Qi <yao@codesourcery.com>
16076
16077 * gdb.base/argv0-symlink.exp: Check argv[0] value if
16078 gdb_has_argv0 return true.
16079 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
16080 check [target_info exists noargs], check [gdb_has_argv0]
16081 instead.
16082 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
16083 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
16084 procedures.
16085
4ffbba72
DE
160862014-10-17 Doug Evans <dje@google.com>
16087
16088 * gdb.python/py-events.exp: Update expected output for clear_objfiles
16089 event.
16090 * gdb.python/py-events.py: Add clear_objfiles event.
16091
d096d8c1
DE
160922014-10-17 Doug Evans <dje@google.com>
16093
16094 * gdb.python/py-objfile.exp: Test progspace attribute.
16095
a80db015
LM
160962014-10-17 Luis Machado <lgustavo@codesourcery.com>
16097
16098 * gdb.guile/scm-breakpoint.exp: Do not assume any
16099 directory separators when matching source file paths.
16100 * gdb.python/py-breakpoint.exp: Likewise.
16101 * gdb.reverse/break-precsave.exp: Likewise.
16102 * gdb.reverse/break-reverse.exp: Likewise.
16103 * gdb.reverse/consecutive-precsave.exp: Likewise.
16104 * gdb.reverse/finish-precsave.exp: Likewise.
16105 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
16106 * gdb.reverse/finish-reverse.exp: Likewise.
16107 * gdb.reverse/i386-precsave.exp: Likewise.
16108 * gdb.reverse/i387-env-reverse.exp: Likewise.
16109 * gdb.reverse/i387-stack-reverse.exp: Likewise.
16110 * gdb.reverse/machinestate-precsave.exp: Likewise.
16111 * gdb.reverse/machinestate.exp: Likewise.
16112 * gdb.reverse/sigall-precsave.exp: Likewise.
16113 * gdb.reverse/solib-precsave.exp: Likewise.
16114 * gdb.reverse/step-precsave.exp: Likewise.
16115 * gdb.reverse/until-precsave.exp: Likewise.
16116 * gdb.reverse/watch-precsave.exp: Likewise.
16117 * gdb.reverse/watch-reverse.exp: Likewise.
16118
b22089ab
YQ
161192014-10-17 Yao Qi <yao@codesourcery.com>
16120
16121 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
16122 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
16123
6c4486e6
PA
161242014-10-17 Pedro Alves <palves@redhat.com>
16125
16126 PR gdb/17471
16127 * gdb.base/bg-execution-repeat.c: New file.
16128 * gdb.base/bg-execution-repeat.exp: New file.
16129
0ff33695
PA
161302014-10-17 Pedro Alves <palves@redhat.com>
16131
16132 PR gdb/17300
16133 * gdb.base/continue-all-already-running.c: New file.
16134 * gdb.base/continue-all-already-running.exp: New file.
16135
6fdebc3d
PA
161362014-10-17 Pedro Alves <palves@redhat.com>
16137
16138 PR gdb/17472
16139 * gdb.base/annota-input-while-running.c: New file.
16140 * gdb.base/annota-input-while-running.exp: New file.
16141
32a8097b
PA
161422014-10-17 Pedro Alves <palves@redhat.com>
16143
16144 * gdb.base/callfuncs.exp: emove references to osf.
16145 * gdb.base/sigall.exp: Likewise.
16146 * gdb.gdb/selftest.exp: Likewise.
16147 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
16148 * gdb.mi/non-stop.c: Likewise.
16149 * gdb.mi/pthreads.c: Likewise.
16150 * gdb.reverse/sigall-precsave.exp: Likewise.
16151 * gdb.reverse/sigall-reverse.exp: Likewise.
16152 * gdb.threads/pthreads.c: Likewise.
16153 * gdb.threads/pthreads.exp: Likewise.
16154
7a3517ff
YQ
161552014-10-17 Yao Qi <yao@codesourcery.com>
16156
16157 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
16158 check 'target_info exists noargs'.
16159 (test_command_prompt_position): Likewise.
16160 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
16161 Remove "set args".
16162 (progvar_simple_while_test): Likewise.
16163 (progvar_complex_if_while_test): Likewise.
16164 (if_while_breakpoint_command_test): Likewise.
16165 (infrun_breakpoint_command_test): Likewise.
16166 (breakpoint_command_test): Likewise.
16167 (watchpoint_command_test): Likewise.
16168 (bp_deleted_in_command_test): Likewise.
16169 (temporary_breakpoint_commands): Likewise.
16170
bb99c472
YQ
161712014-10-16 Yao Qi <yao@codesourcery.com>
16172
16173 * gdb.base/remotetimeout.exp: Remove noargs checking.
16174
7c16b83e
PA
161752014-10-15 Pedro Alves <palves@redhat.com>
16176
16177 PR breakpoints/9649
16178 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
16179 * gdb.base/breakpoint-in-ro-region.exp
16180 (probe_target_hardware_step): New procedure.
16181 (top level): Probe hardware stepping and hardware breakpoint
16182 support. Test stepping through a read-only region, with both
16183 "breakpoint auto-hw" on and off and both "always-inserted" on and
16184 off.
16185
35a49624
IB
161862014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
16187
16188 * gdb.dlang/demangle.exp: Update for demangling changes.
16189
2d1c107c
SC
161902014-10-15 Siva Chandra Reddy <sivachandra@google.com>
16191
16192 * gdb.cp/non-trivial-retval.cc: Add new test cases.
16193 * gdb.cp/non-trivial-retval.exp: Add new tests.
16194
778811d5
SC
161952014-10-15 Siva Chandra Reddy <sivachandra@google.com>
16196
16197 PR c++/13403
16198 PR c++/15154
16199 * gdb.cp/non-trivial-retval.cc: New file.
16200 * gdb.cp/non-trivial-retval.exp: New file.
16201
10c5f0a8
YQ
162022014-10-15 Yao Qi <yao@codesourcery.com>
16203
16204 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
16205 remote host.
16206
65d7b369
YQ
162072014-10-15 Yao Qi <yao@codesourcery.com>
16208
16209 * gdb.python/py-symbol.exp: Match file base name if host is
16210 remote, otherwise match file name with dir name.
16211 * gdb.python/py-symtab.exp: Likewise.
16212 * gdb.python/python.exp: Likewise.
16213
46dc1394
YQ
162142014-10-15 Yao Qi <yao@codesourcery.com>
16215
16216 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
16217 pattern.
16218 * gdb.python/py-symtab.exp: Likewise.
16219 * gdb.python/python.exp: Remove trailing ".*". Fix typo
16220 locationn.
16221
c40cc657
JB
162222014-10-14 Joel Brobecker <brobecker@adacore.com>
16223
16224 * gdb.ada/addr_arith: New testcase.
16225
2abf49e1
MR
162262014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
16227
16228 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
16229 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
16230 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
16231 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
16232
f7088df3
SDJ
162332014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
16234
16235 * gdb.arch/stap-eval-lang-ada.S: Likewise.
16236 * gdb.arch/stap-eval-lang-ada.c: Likewise.
16237 * gdb.arch/stap-eval-lang-ada.exp: New file.
16238
4dc06805
YQ
162392014-10-14 Yao Qi <yao@codesourcery.com>
16240
16241 * gdb.mi/mi-var-child.c (nothing1): New function.
16242 (nothing2): New function.
16243 (do_children_tests): Set function pointers by nothing1 and
16244 nothing2.
16245 * gdb.mi/mi-var-child.exp: Step over new added statements.
16246 Update test to match the new output.
16247 * gdb.mi/var-cmd.c (nothing1): New function.
16248 (nothing2): New function.
16249 (do_children_tests): Set function pointers by nothing1 and
16250 nothing2.
16251 * gdb.mi/mi-var-display.exp: Update test to match output.
16252 Step to the line specified by $line_dct_nothing.
16253 Increase the number of lines to step.
16254
46a93de2
YQ
162552014-10-14 Yao Qi <yao@codesourcery.com>
16256
16257 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
16258 tests.
16259 * gdb.mi/mi2-var-child.exp: Likewise.
16260
14ea52ee
DE
162612014-10-13 Doug Evans <dje@google.com>
16262
16263 * gdb.python/py-objfile.exp: Change name of file name test.
16264
e5c6e92b
DE
162652014-10-13 Doug Evans <dje@google.com>
16266
16267 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
16268 from the start of the CU.
16269
c780cc2f
JK
162702014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
16271 Yao Qi <yao@codesourcery.com>
16272
16273 Fix "save breakpoints" for "catch" command.
16274 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
16275 Remove -nonewline. Match also the added "main" line.
16276
99894e11
JK
162772014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16278
16279 Fix "save breakpoints" for "disable $bpnum" command.
16280 * gdb.base/save-bp.c (main): Add label.
16281 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
16282
6e1ac5a3
JK
162832014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16284
16285 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
16286
754dd2b0
YQ
162872014-10-11 Yao Qi <yao@codesourcery.com>
16288
16289 * gdb.server/server-kill.exp: Execute command
16290 "set remote trace-status-packet on" before "tstatus".
16291
f90183d7
YQ
162922014-10-11 Yao Qi <yao@codesourcery.com>
16293
16294 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
16295 (main): Call getppid.
16296 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
16297 and continue to it. Read variable "server_pid".
16298
bf40a607
YQ
162992014-10-11 Yao Qi <yao@codesourcery.com>
16300
16301 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
16302
052ca370
YQ
163032014-10-11 Yao Qi <yao@codesourcery.com>
16304
16305 * gdb.threads/thread-find.exp: Don't execute command
16306 "info threads".
16307 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
16308 * gdb.threads/linux-dp.exp: Don't check the condition
16309 $threads_created equals to zero.
16310
3831839c
PA
163112014-10-10 Pedro Alves <palves@redhat.com>
16312
16313 * gdb.base/bigcore.exp: Remove references to IRIX.
16314 * gdb.base/funcargs.exp: Likewise.
16315 * gdb.base/interrupt.exp: Likewise.
16316 * gdb.base/mips_pro.exp: Likewise.
16317 * gdb.base/nodebug.exp: Likewise.
16318 * gdb.base/setvar.exp: Likewise.
16319 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
16320
8b9a549d
PA
163212014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
16322 Pedro Alves <palves@redhat.com>
16323
16324 PR symtab/14466
16325 * gdb.base/vdso-warning.c: New file.
16326 * gdb.base/vdso-warning.exp: New file.
16327
d48ba5e8
DE
163282014-10-02 Doug Evans <dje@google.com>
16329
16330 * gdb.base/structs.c (main): Don't run forever.
16331
2278c276
PA
163322014-10-02 Pedro Alves <palves@redhat.com>
16333
16334 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
16335 (top level) <stop threads 1, stop threads 2>: Use it.
16336
b57bacec
PA
163372014-10-02 Pedro Alves <palves@redhat.com>
16338
16339 * gdb.threads/break-while-running.exp (test): Add new
16340 'update_thread_list' argument. Skip "info threads" if false.
16341 (top level): Add new 'update_thread_list' axis.
16342
13fd3ff3
PA
163432014-10-02 Pedro Alves <palves@redhat.com>
16344
16345 PR breakpoints/17431
16346 * gdb.base/execl-update-breakpoints.c: New file.
16347 * gdb.base/execl-update-breakpoints.exp: New file.
16348
0fec99e8
PA
163492014-10-01 Pedro Alves <palves@redhat.com>
16350
16351 * gdb.base/breakpoint-in-ro-region.c: New file.
16352 * gdb.base/breakpoint-in-ro-region.exp: New file.
16353
2ddf4301
SM
163542014-10-01 Simon Marchi <simon.marchi@ericsson.com>
16355
16356 * gdb.mi/mi-exit-code.exp: New file.
16357 * gdb.mi/mi-exit-code.c: New file.
16358
6a5f3f43
YQ
163592014-09-30 Yao Qi <yao@codesourcery.com>
16360
16361 * lib/prelink-support.exp (build_executable_own_libs): Error if
16362 the target isn't native.
16363
345bcc73
YQ
163642014-09-30 Yao Qi <yao@codesourcery.com>
16365
16366 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
16367 false.
16368
a25a5a45
PA
163692014-09-22 Pedro Alves <palves@redhat.com>
16370
16371 * gdb.threads/break-while-running.exp: New file.
16372 * gdb.threads/break-while-running.c: New file.
16373
00ba3162
YQ
163742014-09-19 Yao Qi <yao@codesourcery.com>
16375
16376 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
16377 Invoke test. Restart GDB with --readnow and invoke test again.
16378
c3b7b696
YQ
163792014-09-19 Yao Qi <yao@codesourcery.com>
16380
16381 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
16382 proc set_breakpoint_on_gcd_function. Invoke
16383 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
16384 invoke set_breakpoint_on_gcd_function again.
16385
2b4fd423
DE
163862014-09-18 Doug Evans <dje@google.com>
16387
16388 * gdb.dwarf2/symtab-producer.exp: New file.
16389
a5947601
SDJ
163902014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
16391
16392 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
16393 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
16394 * gdb.base/global-var-nested-by-dso.c: Likewise.
16395 * gdb.base/global-var-nested-by-dso.exp: Likewise.
16396
91c19059
SDJ
163972014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
16398 Pedro Alves <palves@redhat.com>
16399
16400 * gdb.base/watch-bitfields.exp: Pass string other than test file
16401 name to prepare_for_testing.
16402 (watch): New procedure.
16403 (expect_watchpoint): Use with_test_prefix.
16404 (top level): Factor out tests to ...
16405 (test_watch_location, test_regular_watch): ... these new
16406 procedures, and use with_test_prefix and gdb_continue_to_end.
16407
bb9d5f81
PP
164082014-09-16 Patrick Palka <patrick@parcs.ath.cx>
16409
16410 PR breakpoints/12526
16411 * gdb.base/watch-bitfields.exp: New file.
16412 * gdb.base/watch-bitfields.c: New file.
16413
635856f5
PA
164142014-09-16 Pedro Alves <palves@redhat.com>
16415
16416 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
16417 software and hardware addresses, not software address against
16418 itself.
16419
7280ceea
PA
164202014-09-16 Pedro Alves <palves@redhat.com>
16421
16422 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
16423 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
16424
428b16bd
PA
164252014-09-16 Pedro Alves <palves@redhat.com>
16426
16427 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
16428 files.
16429 * gdb.base/a2-run.exp: Remove all code guarded by istarget
16430 "*-*-vxworks*" throughout.
16431 * gdb.base/break.exp: Likewise.
16432 * gdb.base/default.exp: Likewise.
16433 * gdb.base/scope.exp: Likewise.
16434 * gdb.base/sepdebug.exp: Likewise.
16435 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
16436 throughout.
16437 * gdb.base/run.c: Likewise.
16438 * gdb.base/sepdebug.c: Likewise.
16439 * gdb.hp/gdb.aCC/run.c: Likewise.
16440 * gdb.reverse/until-reverse.c: Likewise.
16441 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
16442
666d413c
YQ
164432014-09-16 Yao Qi <yao@codesourcery.com>
16444
16445 * boards/local-remote-host-native.exp: New file.
16446
57cbd724
DE
164472014-09-14 Doug Evans <xdje42@gmail.com>
16448
16449 * gdb.threads/queue-signal.c (thread_count): New variable.
16450 (thread_count_mutex, thread_count_condvar): New variables.
16451 (incr_thread_count, wait_all_threads_running): New functions.
16452 (main): Wait for all threads to be in their thread functions.
16453
81219e53
DE
164542014-09-13 Doug Evans <xdje42@gmail.com>
16455
16456 * gdb.threads/queue-signal.c: New file.
16457 * gdb.threads/queue-signal.exp: New file.
16458
3714cea7
DE
164592014-09-13 Doug Evans <xdje42@gmail.com>
16460
16461 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
16462 be consistent with what default_gdb_init uses.
16463 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
16464 the plain text of the prompt. Add some logging printfs.
16465 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
16466
fa43b1d7
PA
164672014-09-12 Pedro Alves <palves@redhat.com>
16468
16469 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
16470 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
16471 * gdb.arch/i386-size-overlap.exp: Likewise.
16472 * gdb.arch/i386-size.exp: Likewise.
16473 * gdb.arch/i386-unwind.exp: Likewise.
16474 * gdb.base/a2-run.exp: Likewise.
16475 * gdb.base/break.exp: Likewise.
16476 * gdb.base/charset.exp: Likewise.
16477 * gdb.base/chng-syms.exp: Likewise.
16478 * gdb.base/commands.exp: Likewise.
16479 * gdb.base/dbx.exp: Likewise.
16480 * gdb.base/find.exp: Likewise.
16481 * gdb.base/funcargs.exp: Likewise.
16482 * gdb.base/jit-simple.exp: Likewise.
16483 * gdb.base/reread.exp: Likewise.
16484 * gdb.base/sepdebug.exp: Likewise.
16485 * gdb.base/step-bt.exp: Likewise.
16486 * gdb.cp/mb-inline.exp: Likewise.
16487 * gdb.cp/mb-templates.exp: Likewise.
16488 * gdb.objc/basicclass.exp: Likewise.
16489 * gdb.threads/killed.exp: Likewise.
16490
9d9bf2df
EBM
164912014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16492
16493 PR tdep/17379
16494 * gdb.arch/powerpc-stackless.S: New file.
16495 * gdb.arch/powerpc-stackless.exp: New file.
16496
1cf2f1b0
JK
164972014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16498
16499 * gdb.base/attach.c: Include unistd.h.
16500 (main): Call alarm. Add label postloop.
16501 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
16502 gdb_breakpoint, gdb_continue_to_breakpoint.
16503 (test_command_line_attach_run): Kill ${testpid} in one exit path.
16504
98880d46
PA
165052014-09-11 Pedro Alves <palves@redhat.com>
16506
16507 PR gdb/17347
16508 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
16509 * gdb.base/attach.exp (test_command_line_attach_run): New
16510 procedure.
16511 (top level): Call it.
16512
4c92ff2c
PA
165132014-09-11 Pedro Alves <palves@redhat.com>
16514
16515 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
16516 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
16517 (do_command_attach_tests): Use spawn_wait_for_attach.
16518 * gdb.base/solib-overlap.exp: Likewise.
16519 * gdb.multi/multi-attach.exp: Likewise.
16520 * gdb.python/py-prompt.exp: Likewise.
16521 * gdb.python/py-sync-interp.exp: Likewise.
16522 * gdb.server/ext-attach.exp: Likewise.
16523
3adc1a7d
GKB
165242014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
16525
16526 * gdb.fortran/array-element.exp: Remove unexpected "continue"
16527 command in testcase. Simplify testcase.
16528
96334934
JB
165292014-09-10 Joel Brobecker <brobecker@adacore.com>
16530
16531 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
16532
eb479039
JB
165332014-09-10 Joel Brobecker <brobecker@adacore.com>
16534
16535 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
16536
deede10c
JB
165372014-09-10 Joel Brobecker <brobecker@adacore.com>
16538
16539 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
16540
7828a5f5
JB
165412014-09-10 Joel Brobecker <brobecker@adacore.com>
16542
16543 * gdb.dwarf2/dynarr-ptr.c: New file.
16544 * gdb.dwarf2/dynarr-ptr.exp: New file.
16545
33aeebcf
MR
165462014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16547
16548 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
16549 of 30 rather than hardcoding 120 for a slow test case. Take the
16550 `gdb,timeout' target setting into account for this calculation.
16551 Don't extend the timeout for the test cases that don't need it.
16552
7b415901
MR
165532014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16554
16555 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
16556 a factor of 2 for a slow test case. Take the `gdb,timeout'
16557 target setting into account for this calculation.
16558 * gdb.reverse/until-precsave.exp: Increase the timeout by
16559 a factor of 15 and 3 respectively rather than adding 120
16560 for a pair of slow test cases. Take the `gdb,timeout'
16561 target setting into account for this calculation.
16562
4a40f85a
MR
165632014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16564
16565 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
16566 timeout, don't pass one down to gdb_expect.
16567 (gdb_expect): Rework timeout selection.
16568
09635af7
MR
165692014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16570
16571 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
16572 exception on timeout.
16573 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
16574 (gdbserver_start_extended): Catch any `gdbserver_start' error
16575 exceptions.
16576 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
16577 * lib/mi-support.exp (mi_gdb_target_load): Catch any
16578 `gdbserver_gdb_load' error exceptions.
16579
2bdd10b7
MR
165802014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16581
16582 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
16583 120 on waiting for the TCP socket to open.
16584
316935f0
DE
165852014-09-09 Doug Evans <xdje42@gmail.com>
16586
16587 * gdb.base/default.exp (show_conv_list): Add _caller_is,
16588 _caller_matches, _any_caller_is, _any_caller_matches.
16589
83740597
DE
165902014-09-09 Doug Evans <xdje42@gmail.com>
16591
16592 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
16593
4c122fc3
YQ
165942014-09-09 Yao Qi <yao@codesourcery.com>
16595
16596 * gdb.mi/mi-var-display.exp: Set print symbol off.
16597
a9f116cb
GKB
165982014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
16599
16600 PR gdb/17035
16601 * gdb.base/commands.exp: Add tests to verify user-defined
16602 commands with empty bodies.
16603 * gdb.python/py-cmd.exp: Test that we don't show user-defined
16604 python commands in `show user command`.
16605 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
16606 scheme commands in `show user command`.
16607
c75bd3a2
JK
166082014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16609
16610 PR python/17355
16611 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
16612 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
16613 * gdb.python/py-framefilter-invalidarg.exp: New file.
16614 * gdb.python/py-framefilter-invalidarg.py: New file.
16615
faa42425
DE
166162014-09-06 Doug Evans <xdje42@gmail.com>
16617
16618 PR 15276
16619 * gdb.python/py-caller-is.c: New file.
16620 * gdb.python/py-caller-is.exp: New file.
16621
474ca4f6
SDJ
166222014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
16623
16624 PR gdb/17235
16625 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
16626 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
16627
eb0b0463
SDJ
166282014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
16629
16630 PR fortran/17237
16631 * gdb.fortran/print-formatted.exp: New file.
16632 * gdb.fortran/print-formatted.f90: Likewise.
16633
5f3b99cf
SS
166342014-09-03 Sasha Smundak <asmundak@google.com>
16635
16636 * gdb.python/py-frame.exp: Test Frame.read_register.
16637
7d793aa9
SDJ
166382014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
16639
16640 PR python/16699
16641 * gdb.python/py-completion.exp: New file.
16642 * gdb.python/py-completion.py: Likewise.
16643
fb0576e9
DE
166442014-08-28 Doug Evans <dje@google.com>
16645
16646 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
16647 eax,etc. are live with values set by gdb and thus the compiler can't
16648 use them.
16649 * gdb.arch/i386-pseudo.c (main): Ditto.
16650
ee92b0dd
DE
166512014-08-27 Doug Evans <dje@google.com>
16652
16653 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
16654
6649db35
DE
166552014-08-25 Doug Evans <dje@google.com>
16656
16657 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
16658 (main): Ditto.
16659
564b7600
DE
166602014-08-25 Doug Evans <dje@google.com>
16661
16662 * gdb.threads/thread-execl.exp: #include <stdio.h>.
16663
3881fb67
YQ
166642014-08-24 Yao Qi <yao@codesourcery.com>
16665
16666 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
16667 symbol off.
16668 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
16669
a05a36a5
DE
166702014-08-22 Doug Evans <dje@google.com>
16671
16672 PR 17276
16673 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
16674 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
16675 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
16676
7c343b48
YQ
166772014-08-22 Yao Qi <yao@codesourcery.com>
16678
16679 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
16680 * gdb.python/py-finish-breakpoint2.exp: Likewise.
16681 * gdb.python/python.exp: Likewise. Use .py file on the host
16682 instead of the build.
16683
22fd09ae
JK
166842014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16685
16686 * gdb.threads/gcore-stale-thread.c: New file.
16687 * gdb.threads/gcore-stale-thread.exp: New file.
16688
a8454a7c
PA
166892014-08-21 Pedro Alves <palves@redhat.com>
16690
16691 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
16692 * gdb.base/gcore-relro-pie.exp: Likewise.
16693 * gdb.base/gcore-relro.exp: Likewise.
16694 * gdb.base/gcore.exp: Likewise.
16695 * gdb.base/print-symbol-loading.exp: Likewise.
16696 * gdb.threads/gcore-thread.exp: Likewise.
16697 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
16698
2a31c623
PA
166992014-08-20 Pedro Alves <palves@redhat.com>
16700 Jan Kratochvil <jan.kratochvil@redhat.com>
16701
16702 * Makefile.in (EXTRA_RULES, CC): New variables, get from
16703 configure.
16704 (EXPECT): Handle READ1 being set.
16705 (all): Depend on EXTRA_RULES.
16706 (check-read1, expect-read1, read1.so, read1): New rules.
16707 * README (Testsuite Parameters): Document the READ1 make variable.
16708 (Race detection): New section.
16709 * configure: Regenerate.
16710 * configure.ac: If build==host==target, and running under a
16711 GNU/glibc system, add read1 to the extra Makefile rules.
16712 (EXTRA_RULES): AC_SUBST it.
16713 * lib/read1.c: New file.
16714
d36430db
JB
167152014-08-20 Joel Brobecker <brobecker@adacore.com>
16716
16717 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
16718 the handling of variables declared as a typedef to an array
16719 which a DW_AT_data_location attribute.
16720
9a0dc9e3
PA
167212014-08-19 Andrew Burgess <aburgess@broadcom.com>
16722 Pedro Alves <palves@redhat.com>
16723
16724 PR symtab/14604
16725 PR symtab/14605
16726 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
16727 gdb_test.
16728
0718a8da
PA
167292014-08-19 Pedro Alves <palves@redhat.com>
16730
16731 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
16732
13b448cd
YQ
167332014-08-19 Yao Qi <yao@codesourcery.com>
16734
16735 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
16736 right line.
16737
1cbf5077
DB
167382014-08-18 David Blaikie <dblaikie@gmail.com>
16739
16740 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
16741
bf0fae19
JB
167422014-08-18 Joel Brobecker <brobecker@adacore.com>
16743
16744 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
16745 attribute in array range.
16746
3c8c5dcc
JB
167472014-08-18 Joel Brobecker <brobecker@adacore.com>
16748
16749 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
16750
e66d4446
SC
167512014-08-15 Siva Chandra Reddy <sivachandra@google.com>
16752
16753 PR c++/17132
16754 * gdb.cp/pr17132.cc: New file.
16755 * gdb.cp/pr17132.exp: New file.
16756
940df408
SC
167572014-08-15 Siva Chandra Reddy <sivachandra@google.com>
16758
16759 * gdb.python/py-xmethods.py (A_getarrayind)
16760 (E_method_char_worker.__call__, E_method_int_worker.__call__):
16761 Use 'print' with function call syntax.
16762 (E_method_matcher.match): Fix tab vs space indentation mixup.
16763
ebcc6c3a
YQ
167642014-08-15 Yao Qi <yao@codesourcery.com>
16765
16766 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
16767 false.
16768
775e0f04
YQ
167692014-08-15 Yao Qi <yao@codesourcery.com>
16770
16771 * gdb.cp/casts.exp: Set print symbol off.
16772 * gdb.cp/class2.exp: Likewise.
16773 * gdb.cp/overload.exp: Likewise.
16774 * gdb.cp/templates.exp: Likewise.
16775
d769e349
DE
167762014-08-11 Doug Evans <dje@google.com>
16777
16778 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
16779 (test_load_shlib): Update.
16780
20c6f1e1
YQ
167812014-08-09 Yao Qi <yao@codesourcery.com>
16782
16783 * gdb.base/display.exp: Invoke is_address_zero_readable.
16784 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
16785 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
16786 * gdb.base/hbreak-unmapped.exp: Return if
16787 is_address_zero_readable returns true.
16788 * gdb.base/signest.exp: Likewise.
16789 * gdb.base/signull.exp: Likewise.
16790 * gdb.base/sigbpt.exp: Likewise.
16791 * gdb.guile/scm-disasm.exp: Do the test if
16792 is_address_zero_readable returns false.
16793 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
16794 * gdb.python/py-arch.exp: Likewise.
16795 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
16796 * lib/gdb.exp (is_address_zero_readable): New proc.
16797
5792e8e3
YQ
167982014-08-09 Yao Qi <yao@codesourcery.com>
16799
16800 PR testsuite/13443
16801 * gdb.mi/mi-var-display.exp: Make test messages unique.
16802
3cecbbbe
TT
168032014-08-04 Tom Tromey <tromey@redhat.com>
16804
16805 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
16806 target 0".
16807
00b51ff5
TT
168082014-08-04 Tom Tromey <tromey@redhat.com>
16809
16810 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
16811 "target_resume".
16812
6908c509
JB
168132014-08-01 Joel Brobecker <brobecker@adacore.com>
16814
16815 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
16816 inner_vla_struct_object_size.
16817 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
16818 as xfail.
16819
cc6563d2
PA
168202014-07-30 Pedro Alves <palves@redhat.com>
16821
16822 * gdb.threads/signal-command-handle-nopass.exp (test): Add
16823 comment.
16824
7e09a223
YQ
168252014-07-29 Yao Qi <yao@codesourcery.com>
16826
16827 PR gdb/17206
16828 * gdb.base/until-nodebug.exp: New.
16829
7ebdbe92
DE
168302014-07-28 Doug Evans <xdje42@gmail.com>
16831
16832 PR guile/17203
16833 * gdb.guile/scm-parameter.exp: Add tests for trying to create
16834 previously existing parameter, and previously ambiguously spelled
16835 parameter.
16836
fdb1adc6
WN
168372014-07-28 Will Newton <will.newton@linaro.org>
16838
16839 * gdb.base/varargs.exp: Remove KFAILs for ARM.
16840
186fcde0
DE
168412014-07-26 Ludovic Courtès <ludo@gnu.org>
16842 Doug Evans <xdje42@gmail.com>
16843
16844 PR guile/17146
16845 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
16846
70509625
PA
168472014-07-25 Pedro Alves <palves@redhat.com>
16848
16849 * gdb.threads/signal-command-handle-nopass.c: New file.
16850 * gdb.threads/signal-command-handle-nopass.exp: New file.
16851 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
16852 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
16853 * gdb.threads/signal-delivered-right-thread.c: New file.
16854 * gdb.threads/signal-delivered-right-thread.exp: New file.
16855
c3f814a1
PA
168562014-07-25 Pedro Alves <palves@redhat.com>
16857
16858 * gdb.base/double-prompt-target-event-error.exp
16859 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
16860 match.
16861 (cancel_pagination_in_target_event): Rework double prompt
16862 detection.
16863 * gdb.base/paginate-after-ctrl-c-running.exp
16864 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
16865 <return>' match.
16866 * gdb.base/paginate-bg-execution.exp
16867 (test_bg_execution_pagination_return)
16868 (test_bg_execution_pagination_cancel): Remove '-notransfer
16869 <return>' matches.
16870 * gdb.base/paginate-execution-startup.exp
16871 (test_fg_execution_pagination_return)
16872 (test_fg_execution_pagination_cancel): Remove '-notransfer
16873 <return>' matches.
16874 * gdb.base/paginate-inferior-exit.exp
16875 (test_paginate_inferior_exited): Remove '-notransfer <return>'
16876 match.
16877 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
16878 * lib/gdb.exp (pagination_prompt): Run text through
16879 string_to_regexp.
16880 (gdb_test_multiple): Match $pagination_prompt instead of
16881 "<return>".
16882 (string_to_regexp): Move to lib/gdb-utils.exp.
16883
e214cf6c
JK
168842014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16885
16886 * gdb.arch/amd64-entry-value-paramref.S: New file.
16887 * gdb.arch/amd64-entry-value-paramref.cc: New file.
16888 * gdb.arch/amd64-entry-value-paramref.exp: New file.
16889 * gdb.arch/amd64-optimout-repeat.S: New file.
16890 * gdb.arch/amd64-optimout-repeat.c: New file.
16891 * gdb.arch/amd64-optimout-repeat.exp: New file.
16892
17d0c5c8
JK
168932014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
16894
16895 PR gdb/17170
16896 * gdb.base/statistics.exp: New file.
16897
b8b8facf
DE
168982014-07-17 Doug Evans <dje@google.com>
16899
74b49205 16900 PR gdb/17170
b8b8facf
DE
16901 * gdb.base/maint.exp: Update testing of per-command stats.
16902
1b5d0ab3
PA
169032014-07-16 Pedro Alves <palves@redhat.com>
16904
16905 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
16906 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
16907 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
16908 (tfile_write_buf): New functions.
16909 (add_memory_block): Rewrite using the above.
16910 (adjust_function_address): New function.
16911 (FUNCTION_ADDRESS): New macro.
16912 (write_basic_trace_file): Remove short_x local, and use
16913 tfile_write_16. Change type of func_addr local to unsigned long
16914 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
16915 here. Cast argument of add_memory_block to char pointer.
16916 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
16917 (main): Remove parameters.
16918 * gdb.trace/tfile.exp: Remove nowarnings.
16919
4d974e88
SM
169202014-07-15 Simon Marchi <simon.marchi@ericsson.com>
16921
16922 * gdb.base/debug-expr.exp: Test string evaluation with
16923 "debug expression" on.
16924
41e99568
PA
169252014-07-15 Pedro Alves <palves@redhat.com>
16926
16927 * gdb.base/reread.exp: Use clean_restart.
16928
487d9753
PL
169292014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
16930
16931 * gdb.arch/avr-flash-qualifer.c: New.
16932 * gdb.arch/avr-flash-qualifer.exp: New.
16933
cc1c52ad
PA
169342014-07-14 Pedro Alves <palves@redhat.com>
16935
16936 * gdb.base/paginate-after-ctrl-c-running.c: New file.
16937 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
16938
1e973570
PA
169392014-07-14 Pedro Alves <palves@redhat.com>
16940
16941 * gdb.base/double-prompt-target-event-error.c: New file.
16942 * gdb.base/double-prompt-target-event-error.exp: New file.
16943
93d6eb10
PA
169442014-07-14 Pedro Alves <palves@redhat.com>
16945
16946 PR gdb/17072
16947 * gdb.base/paginate-inferior-exit.c: New file.
16948 * gdb.base/paginate-inferior-exit.exp: New file.
16949
0017922d
PA
169502014-07-14 Pedro Alves <palves@redhat.com>
16951
16952 PR gdb/17072
16953 * gdb.base/paginate-bg-execution.c: New file.
16954 * gdb.base/paginate-bg-execution.exp: New file.
16955
94696ad3
PA
169562014-07-14 Pedro Alves <palves@redhat.com>
16957
16958 PR gdb/17072
16959 * gdb.base/paginate-execution-startup.c: New file.
16960 * gdb.base/paginate-execution-startup.exp: New file.
16961 * lib/gdb.exp (pagination_prompt): New global.
16962 (default_gdb_spawn): New procedure, factored out from
16963 default_gdb_spawn.
16964 (default_gdb_start): Adjust to call default_gdb_spawn.
16965 (gdb_spawn): New procedure.
16966
bd293940
PA
169672014-07-14 Pedro Alves <palves@redhat.com>
16968
16969 * lib/gdb.exp (gdb_assert): New procedure.
16970 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
16971
c933f875
PA
169722014-07-14 Pedro Alves <palves@redhat.com>
16973
16974 * gdb.base/execution-termios.c: New file.
16975 * gdb.base/execution-termios.exp: New file.
16976
d98b7a16
TT
169772014-07-14 Tom Tromey <tromey@redhat.com>
16978
16979 * gdb.cp/vla-cxx.cc: New file.
16980 * gdb.cp/vla-cxx.exp: New file.
16981
548740d6
TT
169822014-07-14 Tom Tromey <tromey@redhat.com>
16983
16984 * gdb.reverse/rerun-prec.c: New file.
16985 * gdb.reverse/rerun-prec.exp: New file.
16986
a25eb028
MR
169872014-07-12 Maciej W. Rozycki <macro@mips.com>
16988 Maciej W. Rozycki <macro@codesourcery.com>
16989
16990 * lib/gdb-utils.exp: New file.
16991 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
16992 inline `gdb_init_command' processing.
16993 (gdb_start_cmd): Likewise.
16994 * lib/mi-support.exp (mi_run_cmd): Likewise.
16995 * README: Document `gdb_init_command' and `gdb_init_commands'.
16996
218c2655
JK
169972014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16998
16999 Fix false FAIL running under a very long directory name.
17000 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
17001 and "set print elements 10000". Twice.
17002
5401fde3
YQ
170032014-07-11 Yao Qi <yao@codesourcery.com>
17004
17005 * gdb.base/exprs.exp: "set print symbol off".
17006
e76126e8
PA
170072014-07-11 Pedro Alves <palves@redhat.com>
17008
17009 * gdb.threads/kill.c: New file.
17010 * gdb.threads/kill.exp: New file.
17011
2d6f0de6
YQ
170122014-07-10 Yao Qi <yao@codesourcery.com>
17013
17014 * gdb.trace/tfile.c (write_basic_trace_file)
17015 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
17016 address written to trace file.
17017
7180e04a
PA
170182014-07-09 Pedro Alves <palves@redhat.com>
17019
17020 * gdb.base/attach-wait-input.exp: New file.
17021 * gdb.base/attach-wait-input.c: New file.
17022
9a9a7608
AB
170232014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
17024
17025 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
17026 setting up test structures.
17027 (main): Call new test function.
17028 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
17029 test function, continue into test function and walk test
17030 structures.
17031
161ac41e
YQ
170322014-07-02 Yao Qi <yao@codesourcery.com>
17033
17034 * gdb.trace/entry-values.c: Define labels 'foo_start' and
17035 'bar_start' at the beginning of functions 'foo' and 'bar'
17036 respectively.
17037 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
17038 instead of 'foo' and 'bar'.
17039
1f267ae3
MM
170402014-07-08 Markus Metzger <markus.t.metzger@intel.com>
17041
17042 * gdb.btrace/segv.exp: New.
17043 * gdb.btrace/segv.c: New.
17044
2b239efb
LM
170452014-07-02 Luis Machado <lgustavo@codesourcery.com>
17046
17047 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
17048 instruction.
17049
cf363f18
MW
170502014-06-30 Mark Wielaard <mjw@redhat.com>
17051
17052 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
17053 vulture, vilify, villar): New volatile array constants.
17054 (vindictive, vegetation): New const volatile array constants.
17055 * gdb.base/volatile.exp: Test volatile and const volatile array
17056 types.
17057
aebf9d24
AA
170582014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
17059
17060 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
17061 target lacks support for awatch, rwatch, or hbreak.
17062
b67a2c6f
YQ
170632014-06-27 Yao Qi <yao@codesourcery.com>
17064
17065 * gdb.multi/dummy-frame-restore.exp: New.
17066 * gdb.multi/dummy-frame-restore.c: New.
17067
aef92902
MM
170682014-06-25 Markus Metzger <markus.t.metzger@intel.com>
17069
17070 * gdb.btrace/gcore.exp: New.
17071
8e9db26e
PA
170722014-06-23 Pedro Alves <palves@redhat.com>
17073
17074 * gdb.base/watchpoint-reuse-slot.c: New file.
17075 * gdb.base/watchpoint-reuse-slot.exp: New file.
17076
70afc5b7
SC
170772014-06-23 Siva Chandra Reddy <sivachandra@google.com>
17078
17079 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
17080 progspace's filename in 'info', 'enable' and 'disable' command
17081 tests.
17082
b972bd9c
JK
170832014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
17084
17085 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
17086 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
17087 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
17088
125f8a3d
GB
170892014-06-20 Gary Benson <gbenson@redhat.com>
17090
17091 * gdb.arch/i386-avx.exp: Fix include file location.
17092 * gdb.arch/i386-sse.exp: Likewise.
17093
3ed9baed
IB
170942014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
17095
17096 * gdb.dlang/expression.exp: New file.
17097
034f788c
PA
170982014-06-19 Pedro Alves <palves@redhat.com>
17099
17100 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
17101 out from ...
17102 (top level): ... here. Iterate running tests under different
17103 scheduler-locking settings.
17104
45371d0c
LM
171052014-06-18 Luis Machado <lgustavo@codesourcery.com>
17106
17107 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
17108 to DW_FORM_addr and use non-zero addresses.
17109
5d376983
SC
171102014-06-18 Siva Chandra Reddy <sivachandra@google.com>
17111
17112 PR gdb/17017
17113 * gdb.python/py-xmethods.cc: Add global function call counters and
17114 increment them in their respective functions. Remove "cout"
17115 statements.
17116 * gdb.python/py-xmethods.exp: Make tests check the global function
17117 call counters instead of depending on inferior IO.
17118
a1aa2221
LM
171192014-06-18 Don Breazeal <donb@codesourcery.com>
17120
17121 * gdb.base/foll-fork.exp (default_fork_parent_follow):
17122 Deleted procedure.
17123 (explicit_fork_parent_follow): Deleted procedure.
17124 (explicit_fork_child_follow): Deleted procedure.
17125 (test_follow_fork): New procedure.
17126 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 17127 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
17128 procedure calls.
17129
0fc05997
YQ
171302014-06-17 Yao Qi <yao@codesourcery.com>
17131
17132 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
17133 CP1252.
17134
70795c52
LM
171352014-06-17 Luis Machado <lgustavo@codesourcery.com>
17136
17137 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
17138 Initialize ptr and S explicitly.
17139 (skip_type_update_when_not_use_rtti_test): Likewise.
17140
6be47f0c
KS
171412014-06-16 Keith Seitz <keiths@redhat.com>
17142
17143 PR mi/15863
17144 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
17145 the inferior is started.
17146
d03de421
PA
171472014-06-16 Pedro Alves <palves@redhat.com>
17148
17149 * gdb.base/break-main-file-remove-fail.c: New file.
17150 * gdb.base/break-main-file-remove-fail.exp: New file.
17151 * gdb.base/break-unload-file.exp: Use build_executable instead of
17152 prepare_for_testing.
17153 (test_break): New parameter "initial_load". Handle it.
17154 (top level): Add initial_load cmdline/file axis.
17155
f9579b99
TT
171562014-06-12 Tom Tromey <tromey@redhat.com>
17157
17158 * gdb.base/completion.exp: Don't use directory name in test.
17159
3657956b
GB
171602014-06-09 Gary Benson <gbenson@redhat.com>
17161
17162 * gdb.base/sigall.c [Functions to send signals]: Reorder to
17163 separate the always-available ANSI-standard signals from the
17164 signals that require checking.
17165 (main): Likewise.
17166 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
17167 Likewise.
17168 (main): Likewise.
17169
4186eb54
KS
171702014-06-07 Keith Seitz <keiths@redhat.com>
17171
17172 Revert:
17173 PR c++/16253
17174 * gdb.cp/var-tag.cc: New file.
17175 * gdb.cp/var-tag.exp: New file.
17176 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
17177 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
17178 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
17179 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
17180
25326a28 171812014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
17182
17183 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
17184
829155c9
PA
171852014-06-06 Pedro Alves <palves@redhat.com>
17186
17187 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
17188 in target debug output instead of looking at RSP packets,
17189 disabling the test on any target that uses hardware stepping.
17190 Update comments.
17191
61c8d22e
PA
171922014-06-06 Pedro Alves <palves@redhat.com>
17193
17194 * gdb.base/break-unload-file.exp: Fix typo.
17195
d9a47287
YQ
171962014-06-06 Yao Qi <yao@codesourcery.com>
17197
17198 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
17199 from "jit_function" to "^jit_function".
17200
e5e01dbf
YQ
172012014-06-06 Yao Qi <yao@codesourcery.com>
17202
17203 * gdb.base/async.c (foo): Add one statement.
17204 * gdb.base/async.exp: Get the next instruction address and
17205 match the output of "nexti" by instruction address. Match
17206 the hex address in the output of "finish".
17207
73ba372c
GB
172082014-06-06 Gary Benson <gbenson@redhat.com>
17209
17210 * gdb.base/call-signals.c: Remove preprocessor conditionals
17211 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
17212 SIGSEGV and SIGTERM.
17213 * gdb.base/sigall.c: Likewise.
17214 * gdb.base/unwindonsignal.c: Likewise.
17215 * gdb.reverse/sigall-reverse.c: Likewise.
17216
831517df
YQ
172172014-06-06 Yao Qi <yao@codesourcery.com>
17218
17219 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
17220 readable, skip the test.
17221
b8b91e98
YQ
172222014-06-06 Yao Qi <yao@codesourcery.com>
17223
17224 * gdb.threads/staticthreads.c (thread_function): Move the line
17225 setting breakpoint on forward.
17226 * gdb.threads/staticthreads.exp: Update comments.
17227
fb934770
LC
172282014-06-05 Ludovic Courtès <ludo@gnu.org>
17229
17230 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
17231 "history-append! type error".
17232
6ef284bd
SM
172332014-06-05 Simon Marchi <simon.marchi@ericsson.com>
17234
17235 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
17236 erroneous dprintf expected input.
17237
a872e241
DE
172382014-06-04 Doug Evans <xdje42@gmail.com>
17239
17240 * gdb.guile/scm-generics.exp: Delete.
17241
16f691fb
DE
172422014-06-04 Doug Evans <xdje42@gmail.com>
17243
17244 * gdb.guile/scm-breakpoint.exp: Update.
17245 Add tests for breakpoint registration.
17246
012370f6
TT
172472014-06-04 Tom Tromey <tromey@redhat.com>
17248
17249 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
17250 VLA-in-union.
17251 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
17252 inner_vla_struct, vla_union types. Initialize objects of those
17253 types and compute their sizes.
17254
9f5a4cef
HZ
172552014-06-04 Nathan Sidwell <nathan@codesourcery.com>
17256 Hui Zhu <hui@codesourcery.com>
17257
17258 * gdb.base/fileio.exp: Add test for shell not available as well as
17259 available.
17260 * gdb.base/fileio.c (test_system): Check for shell twice.
17261
90a45c4d
YQ
172622014-06-04 Yao Qi <yao@codesourcery.com>
17263
17264 * gdb.base/auto-connect-native-target.exp: Remove redundant
17265 space from the regexp pattern.
17266
70017e41
YQ
172672014-06-04 Yao Qi <yao@codesourcery.com>
17268
17269 * gdb.base/default.exp: Replace "child" with "native" in
17270 regexp pattern.
17271
883964a7
SC
172722014-06-03 Siva Chandra Reddy <sivachandra@google.com>
17273
17274 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
17275 * gdb.python/py-xmethods.exp: New tests to test xmethods.
17276 * gdb.python/py-xmethods.py: Python script supporting the
17277 new testcase and tests.
17278
ef370185
JB
172792014-06-03 Joel Brobecker <brobecker@adacore.com>
17280 Pedro Alves <palves@redhat.com>
17281
17282 PR breakpoints/17000
17283 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
17284 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
17285
1e2ccb61
BM
172862014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
17287
17288 * gdb.base/subst.exp: Add tests to verify partial path matching
17289 output.
17290
c6ec5ab2
PA
172912014-06-03 Pedro Alves <palves@redhat.com>
17292
17293 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
17294 target that doesn't use software single-stepping.
17295
835c559f
PA
172962014-06-03 Pedro Alves <palves@redhat.com>
17297
17298 PR breakpoints/17000
17299 * gdb.base/sss-bp-on-user-bp-2.c: New file.
17300 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
17301
06eb1586
DE
173022014-06-02 Doug Evans <xdje42@gmail.com>
17303
17304 * gdb.guile/scm-parameter.exp: New file.
17305
e698b8c4
DE
173062014-06-02 Doug Evans <xdje42@gmail.com>
17307
17308 * gdb.guile/scm-cmd.c: New file.
17309 * gdb.guile/scm-cmd.exp: New file.
17310
ded03782
DE
173112014-06-02 Doug Evans <xdje42@gmail.com>
17312
17313 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
17314 pretty-printer lookup.
17315 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
17316 (make-pp_s-printer): Call it.
17317 (make-pretty-printer-from-dict): New function.
17318 (lookup-pretty-printer-maker-from-dict): New function.
17319 (*pretty-printer*): Simplify.
17320 (make-objfile-pp_s-printer): New function.
17321 (install-objfile-pretty-printers!): New function.
17322 (make-progspace-pp_s-printer): New function.
17323 (install-progspace-pretty-printers!): New function.
17324 * gdb.guile/scm-progspace.c: New file.
17325 * gdb.guile/scm-progspace.exp: New file.
17326
41fac0cf
PA
173272014-06-02 Pedro Alves <palves@redhat.com>
17328
17329 * gdb.base/dprintf-bp-same-addr.c: New file.
17330 * gdb.base/dprintf-bp-same-addr.exp: New file.
17331
96ae5695
EBM
173322014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17333
17334 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
17335 * gdb.arch/powerpc-power.s: Likewise.
17336
da02b3a8
JB
173372014-06-02 Joel Brobecker <brobecker@adacore.com>
17338
17339 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
17340
c72b2e7b
YQ
173412014-06-01 Yao Qi <yao@codesourcery.com>
17342
17343 * gdb.base/watchpoint.exp (test_watch_location): Check null
17344 pointer can be dereferenced. If not, do the test, otherwise
17345 skip it.
17346
53e8a631
AB
173472014-05-30 Andrew Burgess <aburgess@broadcom.com>
17348
17349 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
17350 results.
17351 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
17352
938f0e2f
AB
173532014-05-30 Andrew Burgess <aburgess@broadcom.com>
17354
17355 * gdb.arch/amd64-invalid-stack-middle.S: New file.
17356 * gdb.arch/amd64-invalid-stack-middle.c: New file.
17357 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
17358 * gdb.arch/amd64-invalid-stack-top.c: New file.
17359 * gdb.arch/amd64-invalid-stack-top.exp: New file.
17360
9ba6657a
PA
173612014-05-30 Pedro Alves <palves@redhat.com>
17362
17363 PR breakpoints/17000
17364 * gdb.base/sss-bp-on-user-bp.c: New file.
17365 * gdb.base/sss-bp-on-user-bp.exp: New file.
17366
522c09bf
DB
173672014-05-30 David Blaikie <dblaikie@gmail.com>
17368
17369 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
17370 gnu_inline semantics via attribute.
17371 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
17372 source explicitly specifies the required semantics.
17373
bf4ef81e
MR
173742014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
17375
17376 * gdb.reverse/sigall-reverse.exp: Fix a typo.
17377
329ea579
PA
173782014-05-29 Pedro Alves <palves@redhat.com>
17379 Tom Tromey <tromey@redhat.com>
17380
17381 * gdb.base/async-shell.exp: Don't enable target-async.
17382 * gdb.base/async.exp
17383 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
17384 parameter. Adjust.
17385 (top level): Don't test with "target-async".
17386 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
17387 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
17388 * gdb.base/inferior-died.exp: Don't enable target-async.
17389 * gdb.base/interrupt-noterm.exp: Likewise.
17390 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
17391 * gdb.mi/mi-nonstop-exit.exp: Likewise.
17392 * gdb.mi/mi-nonstop.exp: Likewise.
17393 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
17394 * gdb.mi/mi-nsintrall.exp: Likewise.
17395 * gdb.mi/mi-nsmoribund.exp: Likewise.
17396 * gdb.mi/mi-nsthrexec.exp: Likewise.
17397 * gdb.mi/mi-watch-nonstop.exp: Likewise.
17398 * gdb.multi/watchpoint-multi.exp: Adjust comment.
17399 * gdb.python/py-evsignal.exp: Don't enable target-async.
17400 * gdb.python/py-evthreads.exp: Likewise.
17401 * gdb.python/py-prompt.exp: Likewise.
17402 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
17403 * gdb.server/solib-list.exp: Don't enable target-async.
17404 * gdb.threads/thread-specific-bp.exp: Likewise.
17405 * lib/mi-support.exp: Adjust to use mi-async.
17406
fd664c91
PA
174072014-05-29 Pedro Alves <palves@redhat.com>
17408
17409 PR gdb/13860
17410 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
17411 reason, even in sync mode.
17412
251bde03
PA
174132014-05-29 Pedro Alves <palves@redhat.com>
17414 Hui Zhu <hui@codesourcery.com>
17415
17416 PR PR15693
17417 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
17418 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
17419 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
17420 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
17421
7f3c0343
JB
174222014-05-28 Joel Brobecker <brobecker@adacore.com>
17423
17424 * config/monitor.exp (gdb_target_monitor): Replace use of
17425 "set remotebaud" by "set serial baud".
17426
b2715b27
AW
174272014-05-26 Andy Wingo <wingo@igalia.com>
17428
17429 * gdb.guile/scm-breakpoint.exp:
17430 * gdb.guile/scm-gsmob.exp: Update to use plain old object
17431 properties instead of gdb-object-properties.
17432
498a4489
YQ
174332014-05-26 Yao Qi <yao@codesourcery.com>
17434
17435 * gdb.server/no-thread-db.exp: Specify source file name
17436 explicitly when setting a breakpoint.
17437
589fdceb
MM
174382014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17439
17440 * gdb.btrace/vdso.c: New.
17441 * gdb.btrace/vdso.exp: New.
17442
e9089e05
MM
174432014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17444
17445 * gdb.base/gcore.exp (capture_command_output): Move ...
17446 * lib/gdb.exp (capture_command_output): ... here.
17447
67b5c0c1
MM
174482014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17449
17450 * gdb.btrace/data.exp: Test memory access during btrace replay.
17451
a2199296
SM
174522014-05-22 Simon Marchi <simon.marchi@ericsson.com>
17453
17454 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
17455
17b2616c
PA
174562014-05-21 Pedro Alves <palves@redhat.com>
17457
17458 PR gdb/13860
17459 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
17460 (top level): Test that output related to execution commands is
17461 sent to the console with CLI commands, but not with MI commands.
17462 Test that breakpoint events are always mirrored to the console.
17463 Also expect the new source line to be output after a "next" in
17464 async mode too. Make it a pass/fail test.
17465 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
17466 output.
17467 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
17468
5166082f
PA
174692014-05-21 Pedro Alves <palves@redhat.com>
17470
17471 * gdb.base/list.exp (build_pattern, test_list): New procedures.
17472 Use them to test variations of "list" after reaching a breakpoint.
17473 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
17474 Test "list" with listsize 10 after reaching a breakpoint.
17475 * gdb.python/python.exp (decode_line current location line
17476 number): Adjust expected line number.
17477
2f25d70f
SM
174782014-05-21 Simon Marchi <simon.marchi@ericsson.com>
17479
17480 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
17481 behavior for $args, pass it directly to "run".
17482
ff604a67
MR
174832014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
17484
17485 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
17486 30000 to 65536.
17487
6a3cb8e8
PA
174882014-05-21 Pedro Alves <palves@redhat.com>
17489
17490 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
17491 auto-connect-native-target off".
17492 * gdb.base/auto-connect-native-target.c: New file.
17493 * gdb.base/auto-connect-native-target.exp: New file.
17494
4ebfc96e
PA
174952014-05-21 Pedro Alves <palves@redhat.com>
17496
17497 * gdb.base/default.exp: Test "target native" instead of "target
17498 child".
17499
36d46afb
MW
175002014-05-21 Mark Wielaard <mjw@redhat.com>
17501
17502 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
17503
5876f503
JK
175042014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17505
17506 Fix TLS access for -static -pthread.
17507 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
17508 <HAVE_TLS> (thread_function, main): Initialize it.
17509 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
17510 Add clean_restart.
17511 <$have_tls != "">: Check TLSVAR.
17512
0256a6ac
PA
175132014-05-21 Pedro Alves <palves@redhat.com>
17514
17515 * gdb.base/dcache-line-read-error.c: New.
17516 * gdb.base/dcache-line-read-error.exp: New.
17517
936d2992
PA
175182014-05-20 Pedro Alves <palves@redhat.com>
17519
17520 * gdb.base/compare-sections.c: New file.
17521 * gdb.base/compare-sections.exp: New file.
17522
802e8e6d
PA
175232014-05-20 Pedro Alves <palves@redhat.com>
17524
17525 * gdb.base/break-idempotent.c: New file.
17526 * gdb.base/break-idempotent.exp: New file.
17527
e59fa00f
MM
175282014-05-20 Markus Metzger <markus.t.metzger@intel.com>
17529
17530 * gdb.btrace/nohist.exp: New.
17531
8b696e31
YQ
175322014-05-20 Yao Qi <yao@codesourcery.com>
17533
17534 * lib/gdb.exp (gdb_init): Set timeout if test file is under
17535 gdb.reverse directory and gdb_reverse_timeout exists in board
17536 setting.
17537 * README: Document gdb_reverse_timeout.
17538
73c9764f
YQ
175392014-05-20 Yao Qi <yao@codesourcery.com>
17540
17541 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
17542 'test_file_name'. Treat args as a string instead of a list.
17543 (gdb_init): Rename argument 'args' by 'test_file_name'.
17544
f1f4348a
JK
175452014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
17546
17547 * gdb.arch/powerpc-power.exp: New file.
17548 * gdb.arch/powerpc-power.s: New file.
17549
0dbe70ce
DE
175502014-05-16 Doug Evans <dje@google.com>
17551
17552 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
17553 * gdb.base/completion.exp: Check that all expected files exist
17554 before doing file completion.
0dbe70ce 17555
8d551b02
DE
175562014-05-16 Doug Evans <dje@google.com>
17557
17558 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
17559 Update.
17560 (do_syscall_tests_without_xml): Update.
17561
73eb7709
PA
175622014-05-16 Pedro Alves <palves@redhat.com>
17563
17564 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
17565 instead of "unknown output after running".
17566
3fae92fc
YQ
175672014-05-16 Yao Qi <yao@codesourcery.com>
17568
17569 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
17570 file1.txt from host at the end.
17571 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
17572
c2b2ccc5
DE
175732014-05-15 Doug Evans <dje@google.com>
17574
17575 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
17576 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
17577 loading file. Add test for TU lookup.
17578
8c217a4b
SM
175792014-05-15 Simon Marchi <simon.marchi@ericsson.com>
17580
17581 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
17582 calling "-exec-arguments" or "set args" before running the
17583 inferior.
17584
3deb39c6
SM
175852014-05-15 Simon Marchi <simon.marchi@ericsson.com>
17586
17587 * lib/mi-support.exp (mi_expect_stop): Expect message for
17588 inferiors that exit with non-zero exit code.
17589
71a79f8c
YQ
175902014-05-14 Yao Qi <yao@codesourcery.com>
17591
17592 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
17593 match absolute path on remote host.
17594 (test_file_list_exec_source_files): Remove "/" from the
17595 pattern.
17596
f23fcd46
YQ
175972014-05-14 Yao Qi <yao@codesourcery.com>
17598
17599 * boards/local-remote-host-notty.exp (${board}_file): New
17600 proc.
17601
9404b58f
KM
176022014-05-07 Kyle McMartin <kyle@redhat.com>
17603
17604 Pushed by Joel Brobecker <brobecker@adacore.com>.
17605 * gdb.arch/aarch64-atomic-inst.c: New file.
17606 * gdb.arch/aarch64-atomic-inst.exp: New file.
17607
5e45f04c
YQ
176082014-05-07 Yao Qi <yao@codesourcery.com>
17609
17610 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
17611 in current context" too.
17612
c888a17d
KS
176132014-05-05 Keith Seitz <keiths@redhat.com>
17614
17615 * gdb.linespec/ls-dollar.exp: Add test for linespec
17616 file:convenience_variable.
17617
290a839c
YQ
176182014-05-05 Yao Qi <yao@codesourcery.com>
17619
17620 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
17621 traceframes into tfile and ctf trace files. Read data from
17622 trace file and test collected data.
17623 (gdb_collect_locals_test): Likewise.
17624 (gdb_unavailable_registers_test): Likewise.
17625 (gdb_unavailable_floats): Likewise.
17626 (gdb_collect_globals_test): Likewise.
17627 (top-level): Append "ctf" to trace_file_targets if GDB
17628 supports.
17629
b5262cd0
YQ
176302014-05-05 Yao Qi <yao@codesourcery.com>
17631
17632 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
17633 code to ...
17634 (gdb_collect_args_test_1): ... it. New proc.
17635 (gdb_collect_locals_test): Move some code to ...
17636 (gdb_collect_locals_test_1): ... it. New proc.
17637 (gdb_unavailable_registers_test): Move some code to ...
17638 (gdb_unavailable_registers_test_1): ... it. New proc.
17639 (gdb_unavailable_floats): Move some code to ...
17640 (gdb_unavailable_floats_1): ... it. New proc.
17641
30a1e6cc
SDJ
176422014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
17643
17644 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
17645 probes to test for bitness recognition.
17646 * gdb.arch/amd64-stap-optional-prefix.exp
17647 (test_probe_value_without_reg): New procedure.
17648 Add code to test for different kinds of bitness.
17649
f33da99a
SDJ
176502014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
17651
17652 PR breakpoints/16889
17653 * gdb.arch/amd64-stap-optional-prefix.S: New file.
17654 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
17655
5b80f00d
PA
176562014-05-01 Pedro Alves <palves@redhat.com>
17657
17658 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
17659 gdb_file_cmd if no file is specified.
17660 * boards/native-extended-gdbserver.exp (gdb_load): Use the
17661 last_loaded_file to set the remote exec-file.
17662
f8c2a73c
PA
176632014-05-01 Pedro Alves <palves@redhat.com>
17664
17665 * boards/local-remote-host.exp: New file.
17666
be6e8ac7
PA
176672014-05-01 Pedro Alves <palves@redhat.com>
17668
17669 * boards/local-remote-host.exp: Rename to ...
17670 * boards/local-remote-host-notty.exp: ... this.
17671
cac0dc8f
JB
176722014-04-28 Joel Brobecker <brobecker@adacore.com>
17673
17674 * gdb.ada/dyn_arrayidx: New testcase.
17675
9730e6cc
YQ
176762014-04-26 Yao Qi <yao@codesourcery.com>
17677
17678 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
17679 and compute the length of function main. Save it in
17680 $main_length.
17681 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
17682 (top-level): Use gdb_compile to compile objects into
17683 executable and restart GDB. Remove invocation to
17684 prepare_for_testing.
17685
7ae1a6a6
PA
176862014-04-25 Simon Marchi <simon.marchi@ericsson.com>
17687 Pedro Alves <palves@redhat.com>
17688
17689 PR server/16255
17690 * gdb.multi/multi-attach.c: New file.
17691 * gdb.multi/multi-attach.exp: New file.
17692
4082afcc
PA
176932014-04-25 Pedro Alves <palves@redhat.com>
17694
17695 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
17696 user.
17697 (top level): Test that "set remote conditional-breakpoints-packet
17698 off" works as intended.
17699 * gdb.base/dprintf.exp: Test that "set remote
17700 breakpoint-commands-packet off" works as intended.
17701 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
17702 New function.
17703 (top level): Call it.
17704 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
17705 remote fast-tracepoints-packet off" works as intended.
17706 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
17707 * lib/gdb.exp (gdb_is_target_remote): ... here.
17708
2abc3f8d
DB
177092014-04-24 David Blaikie <dblaikie@gmail.com>
17710
17711 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
17712 ensure clang would not discard them.
17713 * gdb.base/gdbvars.c: Ditto.
17714 * gdb.base/memattr.c: Ditto.
17715 * gdb.base/whatis.c: Ditto.
17716 * gdb.python/py-prettyprint.c: Ditto.
17717 * gdb.trace/actions.c: Ditto.
17718 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
17719 ensure clang would not discard it.
17720
bfd39632
DB
177212014-04-24 David Blaikie <dblaikie@gmail.com>
17722
17723 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
17724 clang to emit the full definition of type required by the test
17725 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
17726
22842ff6
DB
177272014-04-24 David Blaikie <dblaikie@gmail.com>
17728
17729 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
17730 coax Clang into emitting the definition of the type.
17731 * gdb.cp/pr10728-x.h (y): Ditto.
17732 * gdb.cp/pr10728-y.cc (y): Ditto.
17733
c2e827ad
DB
177342014-04-24 David Blaikie <dblaikie@gmail.com>
17735
17736 * gdb.base/label.exp: XFAIL label related tests under Clang.
17737 * gdb.cp/cplabel.exp: Ditto.
17738 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
17739 under Clang those using labels.
17740
4c2d33e7
YQ
177412014-04-25 Yao Qi <yao@codesourcery.com>
17742
17743 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
17744 double_label.
17745 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
17746 partial_label and double_label.
17747
56083b99
DB
177482014-04-24 David Blaikie <dblaikie@gmail.com>
17749
17750 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
17751
25d4e99d
DB
177522014-04-24 David Blaikie <dblaikie@gmail.com>
17753
17754 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
17755 of the function to work across GCC and Clang.
17756 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
17757 pointer types (const void ** const V void **).
17758
01f9f808
MS
177592014-04-24 Michael Sturm <michael.sturm@mintel.com>
17760 Walfred Tedeschi <walfred.tedeschi@intel.com>
17761
17762 * Makefile.in (EXECUTABLES): Added i386-avx512.
17763 * gdb.arch/i386-avx512.c: New file.
17764 * gdb.arch/i386-avx512.exp: Likewise.
17765
4b48d439
KS
177662014-04-23 Keith Seitz <keiths@redhat.com>
17767
17768 * lib/mi-support.exp (mi_list_breakpoints): Delete.
17769 (mi_make_breakpoint_table): New procedure.
17770 (mi_create_breakpoint): Use mi_make_breakpoint
17771 and return the result.
17772 (mi_make_breakpoint): New procedure.
17773 (mi_build_kv_pairs): New procedure.
17774
17775 * gdb.mi/mi-break.exp: Remove unused globals,
17776 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
17777 All callers updated.
17778 * gdb.mi/mi-dprintf.exp: Use variable to track command
17779 number.
17780 Update all callers of mi_create_breakpoint and use
17781 mi_make_breakpoint_table.
17782 Remove any unused global variables.
17783 * gdb.mi/mi-nonstop.exp: Likewise.
17784 * gdb.mi/mi-nsintrall.exp: Likewise.
17785 * gdb.mi/mi-nsmoribund.exp: Likewise.
17786 * gdb.mi/mi-nsthrexec.exp: Likewise.
17787 * gdb.mi/mi-reverse.exp: Likewise.
17788 * gdb.mi/mi-simplerun.exp: Likewise.
17789 * gdb.mi/mi-stepn.exp: Likewise.
17790 * gdb.mi/mi-syn-frame.exp: Likewise.
17791 * gdb.mi/mi-until.exp: Likewise.
17792 * gdb.mi/mi-var-cp.exp: Likewise.
17793 * gdb.mi/mi-var-display.exp: Likewise.
17794 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
17795 * gdb.mi/mi2-var-child.exp: Likewise.
17796 * gdb.mi/mi-vla-c99.exp: Likewise.
17797 * lib/mi-support.exp: Likewise.
17798
17799 From Ian Lance Taylor <iant@cygnus.com>:
17800 * lib/gdb.exp (parse_args): New procedure.
17801
08351840
PA
178022014-04-23 Pedro Alves <palves@redhat.com>
17803
17804 * gdb.base/break-unload-file.c: New file.
17805 * gdb.base/break-unload-file.exp: New file.
17806 * gdb.base/sym-file-lib.c (baz): New function.
17807 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
17808 field.
17809 (load): Store the segment's mapped size.
17810 (unload): New function.
17811 (unload_shlib): New function.
17812 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
17813 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
17814 set a breakpoint at baz, and call it.
17815 * gdb.base/sym-file.exp: New tests for stale breakpoint
17816 instructions.
17817
076855f9
PA
178182014-04-23 Pedro Alves <palves@redhat.com>
17819
17820 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
17821 * gdb.base/hbreak-in-shr-unsupported.c: New file.
17822 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
17823 * gdb.base/hbreak-unmapped.c: New file.
17824 * gdb.base/hbreak-unmapped.exp: New file.
17825 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
17826 * lib/gdb.exp (gdb_is_target_remote): ... here.
17827
483805cf
PA
178282014-04-22 Pedro Alves <palves@redhat.com>
17829
17830 * gdb.base/consecutive-step-over.c: New file.
17831 * gdb.base/consecutive-step-over.exp: New file.
17832
06d97543
PA
178332014-04-22 Pedro Alves <palves@redhat.com>
17834
17835 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
17836 instead of send_gdb/gdb_expect.
17837
b4429ea2
YQ
178382014-04-22 Yao Qi <yao@codesourcery.com>
17839
17840 * lib/trace-support.exp (generate_tracefile): New procedure.
17841 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
17842 return 0.
17843 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
17844 if generate_tracefile returns 1.
17845
51d48146
PA
178462014-04-18 Tom Tromey <palves@redhat.com>
17847 Pedro alves <tromey@redhat.com>
17848
17849 PR backtrace/15558
17850 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
17851 with a backtrace limit.
17852 * gdb.python/py-frame-inline.exp: Test running to an inline
17853 function with a backtrace limit, and printing the newest frame.
17854 * gdb.python/py-frame-inline.c (main): Call f.
17855
bd1dce5f
MS
178562014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
17857
17858 * gdb.java/jnpe.exp: Drop srcdir from untested path.
17859
40d1a503
MS
178602014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
17861
17862 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
17863 Drop prefix from unsupported source file path.
17864
389b98f7
YQ
178652014-04-17 Yao Qi <yao@codesourcery.com>
17866
17867 * lib/gdb.exp (with_target_charset): New proc.
17868 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
17869 with_target_charset.
17870 (test_print_strings): Likewise.
17871 (test_repeat_bytes): Likewise.
17872 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
17873 for some tests.
17874
22869d73
KS
178752014-04-16 Keith Seitz <keiths@redhat.com>
17876
17877 PR gdb/15827
17878 * gdb.dwarf2/corrupt.c: New file.
17879 * gdb.dwarf2/corrupt.exp: New file.
17880
c4f87ca6
KS
178812014-04-16 Keith Seitz <keiths@redhat.com>
17882
17883 PR c++/16597
17884 * gdb.cp/namelessclass.cc: New file.
17885 * gdb.cp/namelessclass.exp: New file.
17886 * gdb.cp/namelessclass.S: New file.
17887
ab19de87
DE
178882014-04-16 Doug Evans <dje@google.com>
17889
17890 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
17891 Add comment.
17892 (gdbserver_default_get_comm_port): New function.
17893 (gdbserver_start): Check if board file provided
17894 "gdbserver,get_comm_port" and use it if so.
17895 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
17896 (gdb,socketport): Set to "stdio".
17897 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
17898 (stdio_gdbserver_template): Delete.
17899 (${board}_get_remote_address): Update.
17900 (${board}_build_remote_cmd): Delete.
17901 (${board}_get_comm_port): New function.
17902 (${board}_spawn): Update.
17903 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
17904 Delete.
17905 (${board}_get_remote_address): Update.
17906 (${board}_get_comm_port): New function.
17907
fc98a809
AB
179082014-04-16 Andrew Burgess <aburgess@broadcom.com>
17909
17910 * gdb.base/memattr.exp: Improve regexps to handle memory regions
17911 appearing in any order.
17912
87fd9e6e
DE
179132014-04-15 Doug Evans <dje@google.com>
17914
17915 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
17916 uninitialized value of "description".
17917
099fc3ea
KS
179182014-04-15 Keith Seitz <keiths@redhat.com>
17919
17920 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
17921 Remove unused globals.
17922 (test_running_the_program): Likewise.
17923 (test_controlled_execution): Likewise.
17924 (test_controlling_breakpoints): Likewise.
17925 (test_program_termination): Likewise.
17926
5da151d4
KS
179272014-04-15 Keith Seitz <keiths@redhat.com>
17928
17929 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
17930 unused globals.
17931 (test_rbreak_creation_and_listing): Likewise.
17932 (test_ignore_count): Likewise.
17933 (test_error): Likewise.
17934
35e5d2f0
PA
179352014-04-15 Pedro Alves <palves@redhat.com>
17936
17937 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
17938 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
17939 sym-file-loader.c.
17940 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
17941 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
17942 to sym-file-loader.c.
17943 (struct library): Forward declare.
17944 (load_shlib, lookup_function): Change prototypes.
17945 (find_shstrtab, find_strtab, find_shdr, find_symtab)
17946 (translate_offset): Remove declarations.
17947 (get_text_addr): New declaration.
17948 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
17949 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
17950 sym-file-loader.h.
17951 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
17952 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
17953 here from sym-file-loader.h.
17954 (struct library): New structure.
17955 (load_shlib, lookup_function): Change prototypes and adjust to
17956 work with a struct library.
17957 (find_shstrtab, find_strtab, find_shdr, find_symtab)
17958 (translate_offset): Make static.
17959 (get_text_addr): New function.
17960 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
17961
eb4c1710
PA
179622014-04-15 Pedro Alves <palves@redhat.com>
17963
17964 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
17965
2d1baf52
PA
179662014-04-15 Pedro Alves <palves@redhat.com>
17967
17968 * gdb.base/sym-file-loader.c: Include <limits.h>.
17969 (SELF_LINK): New define.
17970 (get_origin): New function.
17971 (load_shlib): Use it.
17972 * gdb.base/sym-file.exp: Don't early return if the target is
17973 remote. Use runto_main, and issue fail is that fails. Use
17974 gdb_load_shlibs.
17975 (shlib_name): Delete.
17976 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
17977
7dd6df01
PA
179782014-04-15 Pedro Alves <palves@redhat.com>
17979
17980 * gdb.base/sym-file.exp: Remove regex characters from test
17981 message. Don't refer to breakpoint numbers in test messages.
17982
b50c8614
KS
179832014-04-14 Keith Seitz <keiths@redhat.com>
17984
17985 PR c++/16253
17986 * gdb.cp/var-tag.cc: New file.
17987 * gdb.cp/var-tag.exp: New file.
17988 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
17989 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
17990 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
17991 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
17992
3d567982
TT
179932014-04-14 Tom Tromey <tromey@redhat.com>
17994
17995 * gdb.cp/classes.exp (test_enums): Handle underlying type.
17996 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
17997 type.
17998 * gdb.cp/enum-class.exp: New file.
17999 * gdb.cp/enum-class.cc: New file.
18000
0626fc76
TT
180012014-04-14 Tom Tromey <tromey@redhat.com>
18002
18003 * gdb.dwarf2/enum-type.exp: New file.
18004
dca325b3
SA
180052014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18006
18007 * gdb.mi/mi-vla-c99.exp: New file.
18008 * gdb.mi/vla.c: New file.
18009
5854b38a
SA
180102014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18011
18012 * gdb.base/vla-datatypes.c: New file.
18013 * gdb.base/vla-datatypes.exp: New file.
18014
463bb957
SA
180152014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18016
18017 * gdb.base/vla-ptr.c: New file.
18018 * gdb.base/vla-ptr.exp: New file.
18019
3dd170be
SA
180202014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18021
18022 * gdb.dwarf2/count.exp: New file.
18023
5ecaaa66
SA
180242014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18025
18026 * gdb.base/vla-sideeffect.c: New file.
18027 * gdb.base/vla-sideeffect.exp: New file.
18028
41f1ada5
DB
180292014-04-14 David Blaikie <dblaikie@gmail.com>
18030
18031 * gdb.mi/non-stop.c: Add return value for non-void function return
18032 statement.
18033 * gdb.threads/staticthreads.c: Ditto.
18034
0be03e84
DE
180352014-04-12 Siva Chandra Reddy <sivachandra@google.com>
18036 Doug Evans <xdje42@gmail.com>
18037
18038 * gdb.guile/scm-value.c: Improve test case.
18039 * gdb.guile/scm-value.exp: Add new test.
18040
f180a1fb
DB
180412014-04-11 David Blaikie <dblaikie@gmail.com>
18042
18043 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
18044 override Clang's default.
18045
6b662e19
JB
180462014-04-11 Joel Brobecker <brobecker@adacore.com>
18047
18048 Revert the following changes (regressions):
18049
18050 * gdb.base/vla-sideeffect.c: New file.
18051 * gdb.base/vla-sideeffect.exp: New file.
18052
18053 * gdb.dwarf2/count.exp: New file.
18054
18055 * gdb.base/vla-multi.c: New file.
18056 * gdb.base/vla-multi.exp: New file.
18057
18058 * gdb.base/vla-ptr.c: New file.
18059 * gdb.base/vla-ptr.exp: New file.
18060
18061 * gdb.base/vla-datatypes.c: New file.
18062 * gdb.base/vla-datatypes.exp: New file.
18063
18064 * gdb.mi/mi-vla-c99.exp: New file.
18065 * gdb.mi/vla.c: New file.
18066
245a5f0b
KS
180672014-04-11 Keith Seitz <keiths@redhat.com>
18068
18069 PR c++/16675
18070 * gdb.cp/cpsizeof.exp: New file.
18071 * gdb.cp/cpsizeof.cc: New file.
18072
58a84dcf
SA
180732014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18074
191a8a90
JB
18075 * gdb.mi/mi-vla-c99.exp: New file.
18076 * gdb.mi/vla.c: New file.
58a84dcf 18077
c8655f75
SA
180782014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18079
18080 * gdb.base/vla-datatypes.c: New file.
18081 * gdb.base/vla-datatypes.exp: New file.
18082
024e13b4
SA
180832014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18084
18085 * gdb.base/vla-ptr.c: New file.
18086 * gdb.base/vla-ptr.exp: New file.
18087
1a237e0e
SA
180882014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18089
18090 * gdb.base/vla-multi.c: New file.
18091 * gdb.base/vla-multi.exp: New file.
18092
504f3432
SA
180932014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18094
18095 * gdb.dwarf2/count.exp: New file.
18096
3bce8237
SA
180972014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18098
191a8a90
JB
18099 * gdb.base/vla-sideeffect.c: New file.
18100 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 18101
322f9c21
YQ
181022014-04-11 Yao Qi <yao@codesourcery.com>
18103
18104 * gdb.base/completion.exp: Check file exists before running tests
18105 on file completion.
18106
d708bcd1
PA
181072014-04-10 Pedro Alves <palves@redhat.com>
18108
18109 * gdb.base/cond-eval-mode.c: New file.
18110 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
18111 prepare_for_testing to build the new file. Check result of
18112 runto_main.
18113 (test_break, test_watch): New procedures.
18114 (top level): Use them.
18115
ae1d2761
PM
181162014-04-08 Pierre Muller <muller@sourceware.org>
18117
18118 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
18119 Ctrl-V use for mingw hosts.
18120
7af389b8
SC
181212014-04-07 Siva Chandra Reddy <sivachandra@google.com>
18122
18123 * gdb.python/py-value.c: Improve test case.
18124 * gdb.python/py-value.exp: Add new test.
18125
5e703181
DE
181262014-04-07 David Blaikie <dblaikie@gmail.com>
18127
18128 * lib/compiler.c: Identify the clang compiler.
18129 * lib/compiler.cc: Ditto.
18130
9810b410
YQ
181312014-04-03 Yao Qi <yao@codesourcery.com>
18132
18133 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
18134
98d1b8dc
AB
181352014-04-01 Anton Blanchard <anton@samba.org>
18136
18137 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
18138 messages unique.
18139
3114cea1
AB
181402014-04-01 Anton Blanchard <anton@samba.org>
18141
18142 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
18143 prepare_for_testing.
18144
62f7182c
AB
181452014-04-01 Anton Blanchard <anton@samba.org>
18146
18147 * gdb.arch/ppc64-atomic-inst.c: Remove.
18148 * gdb.arch/ppc64-atomic-inst.S: New file.
18149 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
18150
770e7fc7
DE
181512014-03-31 Doug Evans <dje@google.com>
18152
18153 * gdb.base/print-symbol-loading-lib.c: New file.
18154 * gdb.base/print-symbol-loading-main.c: New file.
18155 * gdb.base/print-symbol-loading.exp: New file.
18156
46e2bafa
YQ
181572014-03-31 Yao Qi <yao@codesourcery.com>
18158
18159 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
18160
8776cfe9
JB
181612014-03-28 Joel Brobecker <brobecker@adacore.com>
18162
18163 * gdb.ada/mi_dyn_arr: New testcase.
18164
5d1ef361
DE
181652014-03-27 Doug Evans <dje@google.com>
18166
18167 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
18168
b5bee914
YQ
181692014-03-27 Yao Qi <yao@codesourcery.com>
18170
18171 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
18172 if target is nios2-*-*.
18173
0d4d0e77
YQ
181742014-03-26 Yao Qi <yao@codesourcery.com>
18175
18176 * lib/gdb.exp (readline_is_used): New proc.
18177 * gdb.base/completion.exp: Move tests on command complete up.
18178 Skip the rest of tests if readline is not used.
18179 * gdb.ada/complete.exp: Skp the test if readline is not
18180 used.
18181 * gdb.base/filesym.exp: Likewise.
18182 * gdb.base/macscp.exp: Likewise.
18183 * gdb.base/readline-ask.exp: Likewise.
18184 * gdb.base/readline.exp: Likewise.
18185 * gdb.python/py-cmd.exp: Likewise.
18186 * gdb.trace/tfile.exp: Likewise.
18187
29361eee
YQ
181882014-03-26 Yao Qi <yao@codesourcery.com>
18189
18190 * gdb.base/macscp.exp: Fix code format issues.
18191
bc9a5525
UW
181922014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
18193
18194 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
18195 * gdb.asm/powerpc64le.inc: New file.
18196
d3839ede
PA
181972014-03-25 Pedro Alves <palves@redhat.com>
18198 Doug Evans <dje@google.com>
18199
18200 * gdb.base/source-execution.c: New file.
18201 * gdb.base/source-execution.exp: New file.
18202 * gdb.base/source-execution.gdb: New file.
18203
01672a57
DE
182042014-03-24 Doug Evans <dje@google.com>
18205
18206 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
18207 using fission.
18208
88bbeca9
HZ
182092014-03-24 Hui Zhu <hui@codesourcery.com>
18210 Pedro Alves <palves@redhat.com>
18211
18212 PR breakpoints/16101
18213 * gdb.base/dprintf.exp: Use unsupported rather than changing the
18214 test pass/fail messages. Detect missing support for dprintf when
18215 breakpoints are actually inserted.
18216 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
18217 breakpoints are actually inserted.
18218 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
18219 fails.
18220
d2348791
JK
182212014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
18222
18223 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
18224
feef67ab
DE
182252014-03-22 Doug Evans <xdje42@gmail.com>
18226
18227 * gdb.python/python.exp (python not supported): Verify multi-line
18228 python command issues an error.
25d743f9 18229 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 18230 guile command issues an error.
feef67ab 18231
ecebef6a
MR
182322014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
18233
18234 * gdb.threads/thread-specific.exp: Handle the lack of usable
18235 $this_breakpoint and $this_thread.
18236
ccdd1909
HZ
182372014-03-21 Hui Zhu <hui@codesourcery.com>
18238
18239 * gdb.base/attach.exp (do_command_attach_tests): New.
18240
beb460e8
PA
182412014-03-20 Tom Tromey <tromey@redhat.com>
18242 Pedro Alves <palves@redhat.com>
18243
18244 PR cli/15718
18245 * gdb.base/condbreak-call-false.c: New file.
18246 * gdb.base/condbreak-call-false.exp: New file.
18247
40acf43a
PA
182482014-03-20 Pedro Alves <palves@redhat.com>
18249
18250 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
18251 Delete.
18252 (block_signals, unblock_signals): Delete.
18253 (child_function_2, main): Remove references to deleted variable
18254 and functions.
18255
9f5e1e02
PA
182562014-03-20 Pedro Alves <palves@redhat.com>
18257
18258 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
18259 Use pthread_kill to signal thread 2.
18260 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18261 Adjust to make the test send itself a signal rather than using the
18262 host's "kill" command.
18263
99619bea
PA
182642014-03-20 Pedro Alves <palves@redhat.com>
18265
18266 * gdb.threads/multiple-step-overs.c: New file.
18267 * gdb.threads/multiple-step-overs.exp: New file.
18268 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18269 Adjust expected infrun debug output.
18270
2adfaa28
PA
182712014-03-20 Pedro Alves <palves@redhat.com>
18272
18273 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
18274 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
18275
31e77af2
PA
182762014-03-20 Pedro Alves <palves@redhat.com>
18277
18278 PR breakpoints/7143
18279 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
18280 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
18281 of gdb_test_multiple.
18282 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
18283 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
18284
b9f437de
PA
182852014-03-20 Pedro Alves <palves@redhat.com>
18286
18287 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
18288 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
18289
05adc73e
PA
182902014-03-19 Pedro Alves <palves@redhat.com>
18291
18292 * gdb.base/async.exp: Remove early return.
18293
6048b950
PA
182942014-03-19 Pedro Alves <palves@redhat.com>
18295
18296 * gdb.base/async.exp (step& tests): Pass explicit test messages.
18297
8bcfb00a
PA
182982014-03-19 Pedro Alves <palves@redhat.com>
18299
18300 * gdb.base/async.exp (test_background): Expect \r\n after
18301 "completed." in the fail pattern.
18302
884e37dc
PA
183032014-03-19 Pedro Alves <palves@redhat.com>
18304
18305 * gdb.base/async.exp (test_background): New procedure.
18306 Use it for all background execution command tests.
18307
148e57e2
PA
183082014-03-19 Pedro Alves <palves@redhat.com>
18309
18310 * gdb.base/async.exp: Use prepare_for_testing.
18311
f48088c7
PA
183122014-03-19 Pedro Alves <palves@redhat.com>
18313
18314 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
18315 the same line.
18316
e2f6c966
PA
183172014-03-19 Pedro Alves <palves@redhat.com>
18318
18319 * gdb.base/async.c (main): Add "jump here" and "until here" line
18320 marker comments.
18321 * gdb.base/async.exp (jump_here): New global.
18322 (jump& test): Use it.
18323 (until_here): New global.
18324 (until& test): Use it.
18325
c30568d4
PA
183262014-03-19 Pedro Alves <palves@redhat.com>
18327
18328 * gdb.base/async.exp: Don't frob gdb_protocol.
18329
0172b6a7
DE
183302014-03-18 Doug Evans <xdje42@gmail.com>
18331
18332 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
18333 Fix spelling of exec-done-display.
18334
06c868a8
JK
183352014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
18336
18337 PR gdb/15358
18338 * gdb.base/gdb-sigterm.c: New file.
18339 * gdb.base/gdb-sigterm.exp: New file.
18340
0c7e1a46
PA
183412014-03-18 Pedro Alves <palves@redhat.com>
18342
18343 PR gdb/13860
18344 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
18345 * lib/mi-support.exp (mi_expect_stop): Add special handling for
18346 solib-event.
18347
f7c77d93
JB
183482014-03-17 Joel Brobecker <brobecker@adacore.com>
18349
18350 * gdb.ada/pckd_arr_ren: New testcase.
18351
5a1e8c7a
DE
183522014-03-13 Doug Evans <xdje42@gmail.com>
18353
18354 PR guile/16612
18355 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
18356 collect after discarding symbols.
18357
350e1a76
DE
183582014-03-13 Ludovic Courtès <ludo@gnu.org>
18359 Doug Evans <xdje42@gmail.com>
18360
18361 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
18362 to history survives a gc.
18363
a69900ae
PA
183642014-03-13 Pedro Alves <palves@redhat.com>
18365
18366 * gdb.base/default.exp: Don't test "target procfs".
18367
5db9f0bd
PA
183682014-03-13 Pedro Alves <palves@redhat.com>
18369
18370 * gdb.base/default.exp: Update "target child" and "target procfs"
18371 tests to not expect "Unix".
18372
b3ccfe11
TT
183732014-03-12 Tom Tromey <tromey@redhat.com>
18374
18375 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
18376 New procs. Add target-async tests.
18377 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
18378 Add target-async tests.
18379
646f4417
AA
183802014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18381
18382 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
18383 'func_start' and 'func_end' for the beginning and end of the
18384 function code, respectively.
18385 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
18386 'func_end' instead of 'func' and 'main'.
18387
288c211f
AA
183882014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18389
18390 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
18391 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
18392 generate the debug info assembler source.
18393
e0c0f156
AA
183942014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18395
18396 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
18397 * gdb.dwarf2/arr-subrange.exp: Likewise.
18398 * gdb.dwarf2/dwz.exp: Likewise.
18399 * gdb.dwarf2/method-ptr.exp: Likewise.
18400 * gdb.dwarf2/missing-sig-type.exp: Likewise.
18401 * gdb.dwarf2/subrange.exp: Likewise.
18402 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
18403 * gdb.dwarf2/implptrpiece.exp: Likewise.
18404 * gdb.dwarf2/nostaticblock.exp: Likewise.
18405
0e5c4555
AA
184062014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18407
18408 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
18409 directory to absolute path name arguments.
18410
5ec18f2b
JG
184112014-03-10 Joel Brobecker <brobecker@adacore.com>
18412
18413 * gdb.ada/tagged_access: New testcase.
18414
847fc4f2
MM
184152014-03-07 Markus Metzger <markus.t.metzger@intel.com>
18416
18417 * gdb.btrace/data.exp: Update expected output.
18418
cc3da688
YQ
184192014-03-06 Yao Qi <yao@codesourcery.com>
18420
18421 * gdb.trace/pr16508.exp: New file.
18422
0f26cec1
PA
184232014-03-05 Pedro Alves <palves@redhat.com>
18424
18425 PR gdb/16575
18426 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
18427 procedure.
18428 (top level): Adjust to use it. Add tests that exercise breakpoint
18429 interaction with the code-cache.
18430
7a5a839f
LC
184312014-02-26 Ludovic Courtès <ludo@gnu.org>
18432
18433 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
18434 test for 'history-append!'.
18435
31aa7e4e
JB
184362014-02-26 Joel Brobecker <brobecker@adacore.com>
18437
18438 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
18439 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
18440 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
18441 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
18442 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
18443 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
18444
1b588015
JB
184452014-02-26 Joel Brobecker <brobecker@adacore.com>
18446
18447 * testsuite/gdb.python/py-pp-re-notag.c: New file.
18448 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
18449 * testsuite/gdb.python/py-pp-re-notag.p: New file.
18450
55426c9d
JB
184512014-02-26 Joel Brobecker <brobecker@adacore.com>
18452
18453 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
18454
dc53a7ad
JB
184552014-02-26 Joel Brobecker <brobecker@adacore.com>
18456
18457 * gdb.dwarf2/arr-stride.c: New file.
18458 * gdb.dwarf2/arr-stride.exp: New file.
18459
12ab52e9
PA
184602014-02-26 Pedro Alves <palves@redhat.com>
18461
18462 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
18463 that won't ever trigger. Make sure that GDB reports the correct
18464 breakpoint that caused the stop.
18465
849c862e
JK
184662014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18467
18468 PR gdb/16626
18469 * gdb.base/auto-load-script: New file.
18470 * gdb.base/auto-load.c: New file.
18471 * gdb.base/auto-load.exp: New file.
18472
71b7d793
JK
18473 PR gdb/16626
18474 * gdb.base/auto-load.exp: Fix out-of-srctree run.
18475
e2f0d509
JK
184762014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18477
18478 Fix dw2-icycle.exp -fsanitize=address GDB crash.
18479 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
18480
50cc37c8
DE
184812014-02-24 Doug Evans <dje@google.com>
18482
18483 * lib/gdb.exp (run_on_host): Log error output if program fails.
18484
ea4758f2
PA
184852014-02-21 Pedro Alves <palves@redhat.com>
18486
18487 * gdb.threads/step-after-sr-lock.c: Rename to ...
18488 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
18489 * gdb.threads/step-after-sr-lock.exp: Rename to ...
18490 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18491 ... this.
18492
d7b30f67
SDJ
184932014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
18494
18495 PR tdep/16397
18496 * gdb.arch/amd64-stap-special-operands.exp: New file.
18497 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
18498 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
18499 * gdb.arch/amd64-stap-triplet.S: Likewise.
18500 * gdb.arch/amd64-stap-triplet.c: Likewise.
18501
83deb43f
JB
185022014-02-20 Joel Brobecker <brobecker@adacore.com>
18503
18504 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
18505 in .section pseudo-op.
18506
adde2bff
DE
185072014-02-20 lin zuojian <manjian2006@gmail.com>
18508 Joel Brobecker <brobecker@adacore.com>
18509 Doug Evans <xdje42@gmail.com>
18510
18511 PR symtab/16581
18512 * gdb.dwarf2/dw2-icycle.S: New file.
18513 * gdb.dwarf2/dw2-icycle.c: New file.
18514 * gdb.dwarf2/dw2-icycle.exp: New file.
18515
f7bd0f78
SC
185162014-02-19 Siva Chandra Reddy <sivachandra@google.com>
18517
18518 * gdb.python/py-value-cc.cc: Improve test case to enable testing
18519 operations on gdb.Value objects.
18520 * gdb.python/py-value-cc.exp: Add new test to test operations on
18521 gdb.Value objects.
18522
c17ef0d5
DE
185232014-02-18 Doug Evans <dje@google.com>
18524
18525 * Makefile.in (TESTS): New variable.
18526 (expanded_tests, expanded_tests_or_none): New variables
18527 (check-single): Pass $(expanded_tests_or_none) to runtest.
18528 (check-parallel): Only run tests in $(TESTS) if non-empty.
18529 (check/no-matching-tests-found): New rule.
18530 * README: Document TESTS makefile variable.
18531
5dd3176f
DE
185322014-02-18 Doug Evans <dje@google.com>
18533
18534 * Makefile.in (check-parallel): rm -rf outputs temp.
18535
0b10be4f
JK
185362014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18537
18538 Fix "ERROR: no fileid for" in the testsuite.
18539 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
18540
85f224e7
DE
185412014-02-12 Doug Evans <dje@google.com>
18542
18543 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
18544 (MISCELLANEOUS): New variable.
18545 (clean): rm -rf $(MISCELLANEOUS).
18546 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
18547 dwp live in the same directory as symlinks, with each symlink pointed
18548 to a differently named file in a different directory.
18549
149b30ff
DE
185502014-02-11 Doug Evans <dje@google.com>
18551
18552 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
18553 of Tcl file commands.
18554
1dfdac32
MK
185552014-02-10 Mark Kettenis <kettenis@gnu.org>
18556
18557 * gdb.threads/step-after-sr-lock.exp: Avoid executing
18558 "kill -SIGUSR1 -1".
18559
aa4fb036
JB
185602014-02-10 Joel Brobecker <brobecker@adacore.com>
18561
18562 * gdb.ada/tick_length_array_enum_idx: New testcase.
18563
ed3ef339
DE
185642014-02-10 Doug Evans <xdje42@gmail.com>
18565
18566 * configure.ac (AC_OUTPUT): Add gdb.guile.
18567 * configure: Regenerate.
18568 * lib/gdb-guile.exp: New file.
18569 * lib/gdb.exp (get_target_charset): New function.
18570 * gdb.base/help.exp: Update expected output from "apropos apropos".
18571 * gdb.guile/Makefile.in: New file.
18572 * gdb.guile/guile.exp: New file.
18573 * gdb.guile/scm-arch.c: New file.
18574 * gdb.guile/scm-arch.exp: New file.
18575 * gdb.guile/scm-block.c: New file.
18576 * gdb.guile/scm-block.exp: New file.
18577 * gdb.guile/scm-breakpoint.c: New file.
18578 * gdb.guile/scm-breakpoint.exp: New file.
18579 * gdb.guile/scm-disasm.c: New file.
18580 * gdb.guile/scm-disasm.exp: New file.
18581 * gdb.guile/scm-equal.c: New file.
18582 * gdb.guile/scm-equal.exp: New file.
18583 * gdb.guile/scm-error.exp: New file.
18584 * gdb.guile/scm-error.scm: New file.
18585 * gdb.guile/scm-frame-args.c: New file.
18586 * gdb.guile/scm-frame-args.exp: New file.
18587 * gdb.guile/scm-frame-args.scm: New file.
18588 * gdb.guile/scm-frame-inline.c: New file.
18589 * gdb.guile/scm-frame-inline.exp: New file.
18590 * gdb.guile/scm-frame.c: New file.
18591 * gdb.guile/scm-frame.exp: New file.
18592 * gdb.guile/scm-generics.exp: New file.
18593 * gdb.guile/scm-gsmob.exp: New file.
18594 * gdb.guile/scm-iterator.c: New file.
18595 * gdb.guile/scm-iterator.exp: New file.
18596 * gdb.guile/scm-math.c: New file.
18597 * gdb.guile/scm-math.exp: New file.
18598 * gdb.guile/scm-objfile-script-gdb.in: New file.
18599 * gdb.guile/scm-objfile-script.c: New file.
18600 * gdb.guile/scm-objfile-script.exp: New file.
18601 * gdb.guile/scm-objfile.c: New file.
18602 * gdb.guile/scm-objfile.exp: New file.
18603 * gdb.guile/scm-ports.exp: New file.
18604 * gdb.guile/scm-pretty-print.c: New file.
18605 * gdb.guile/scm-pretty-print.exp: New file.
18606 * gdb.guile/scm-pretty-print.scm: New file.
18607 * gdb.guile/scm-section-script.c: New file.
18608 * gdb.guile/scm-section-script.exp: New file.
18609 * gdb.guile/scm-section-script.scm: New file.
18610 * gdb.guile/scm-symbol.c: New file.
18611 * gdb.guile/scm-symbol.exp: New file.
18612 * gdb.guile/scm-symtab-2.c: New file.
18613 * gdb.guile/scm-symtab.c: New file.
18614 * gdb.guile/scm-symtab.exp: New file.
18615 * gdb.guile/scm-type.c: New file.
18616 * gdb.guile/scm-type.exp: New file.
18617 * gdb.guile/scm-value-cc.cc: New file.
18618 * gdb.guile/scm-value-cc.exp: New file.
18619 * gdb.guile/scm-value.c: New file.
18620 * gdb.guile/scm-value.exp: New file.
18621 * gdb.guile/source2.scm: New file.
18622 * gdb.guile/types-module.cc: New file.
18623 * gdb.guile/types-module.exp: New file.
18624
7026a7c1
YQ
186252014-02-10 Yao Qi <yao@codesourcery.com>
18626
18627 PR testsuite/16543
18628 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
18629 * configure: Regenerated.
18630 * Makefile.in: New file.
18631
6c466447
AS
186322014-02-08 Andreas Schwab <schwab@linux-m68k.org>
18633
18634 * gdb.python/py-framefilter.exp: Fix typo.
18635
6e854735
YQ
186362014-02-08 Yao Qi <yao@codesourcery.com>
18637
18638 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
18639 that no =breakpoint-modified is emitted when breakpoints are
18640 modified through MI commands.
18641
d137e6dc
PA
186422014-02-07 Pedro Alves <pedro@codesourcery.com>
18643 Pedro Alves <palves@redhat.com>
18644
18645 * gdb.threads/step-after-sr-lock.c: New file.
18646 * gdb.threads/step-after-sr-lock.exp: New file.
18647
b5ee5a50
PA
186482014-02-07 Pedro Alves <palves@redhat.com>
18649
18650 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
18651
3c77faf3
JK
186522014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
18653
18654 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
18655 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
18656
6dddc817
DE
186572014-02-06 Doug Evans <xdje42@gmail.com>
18658
18659 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
18660 output.
18661
18662 * gdb.gdb/python-interrupts.exp: New file.
18663
de7b2893
YQ
186642014-02-05 Yao Qi <yao@codesourcery.com>
18665
18666 * gdb.trace/report.exp (use_collected_data): Test the output
18667 of "info threads" and "info inferiors".
18668
66d032ac
YQ
186692014-02-05 Yao Qi <yao@codesourcery.com>
18670
18671 Revert this patch:
18672
18673 2013-05-24 Yao Qi <yao@codesourcery.com>
18674
18675 * gdb.trace/tfile.exp: Test inferior and thread.
18676
591a12a1
UW
186772014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18678
18679 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
18680 on a function.
18681 * gdb.base/step-bt.c: Call hello via function pointer to make
18682 sure its first instruction is executed on powerpc64le-linux.
18683
0ff3e01f
UW
186842014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18685
18686 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
18687
084ee545
UW
186882014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18689
18690 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
18691 of the test patterns for use on little-endian systems.
18692
6ed14ff3
UW
186932014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18694
18695 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
18696 (decimal_vector): Fix for little-endian.
18697
401e27fd
JM
186982014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
18699
18700 * gdb.arch/sparc-sysstep.exp: New file.
18701 * gdb.arch/sparc-sysstep.c: Likewise.
18702
18703 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
18704
8b924729
EBM
187052014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18706
18707 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
18708
fb151210
JB
187092014-01-23 Tom Tromey <tromey@redhat.com>
18710
18711 * gdb.ada/array_char_idx: New testcase.
18712
0740f8d8
TT
187132014-01-23 Tom Tromey <tromey@redhat.com>
18714
18715 PR python/16487:
18716 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
18717 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
18718 classes.
18719
21909fa1
TT
187202014-01-23 Tom Tromey <tromey@redhat.com>
18721
18722 PR python/16491:
18723 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
18724 string from an inferior frame.
18725 * gdb.python/py-framefilter-mi.exp: Update.
18726
87ce2a04
DE
187272014-01-22 Doug Evans <dje@google.com>
18728
18729 * gdb.server/server-mon.exp: Add tests for "set debug-format".
18730
237b092b
AA
187312014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18732
18733 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
18734
d674a709
AA
187352014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18736
18737 * gdb.trace/entry-values.exp: Remove excess space character from
18738 regex patterns. Handle s390 call instruction.
18739
20fa3390
AA
187402014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18741
18742 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
18743 define "*_start" label. Make "name" static.
18744 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
18745 ${name} by references to ${name}_start.
18746
78466714
AA
187472014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18748
18749 * gdb.base/info-macros.exp: Remove "debug" from the compile
18750 options.
18751
ec9f644a
IB
187522014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18753
18754 * gdb.dlang/demangle.exp: New file.
18755
94b1b47e
IB
187562014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18757
18758 * gdb.dlang/primitive-types.exp: New file.
18759
7f420862
IB
187602014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18761
18762 * configure.ac: Create gdb.dlang/Makefile.
18763 * configure: Regenerate.
18764 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
18765 * gdb.dlang/Makefile.in: New file.
18766 * lib/d-support.exp: New file.
18767 * lib/gdb.exp (skip_d_tests): New proc.
18768
52834460
MM
187692014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18770
18771 * gdb.btrace/delta.exp: Check reverse stepi.
18772 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
18773 * gdb.btrace/finish.exp: New.
18774 * gdb.btrace/next.exp: New.
18775 * gdb.btrace/nexti.exp: New.
18776 * gdb.btrace/record_goto.c: Add comments.
18777 * gdb.btrace/step.exp: New.
18778 * gdb.btrace/stepi.exp: New.
18779 * gdb.btrace/multi-thread-step.c: New.
18780 * gdb.btrace/multi-thread-step.exp: New.
18781 * gdb.btrace/rn-dl-bind.c: New.
18782 * gdb.btrace/rn-dl-bind.exp: New.
18783 * gdb.btrace/data.c: New.
18784 * gdb.btrace/data.exp: New.
18785 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
18786
6e07b1d2
MM
187872014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18788
18789 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
18790 * gdb.btrace/exception.exp: Update.
18791 * gdb.btrace/instruction_history.exp: Update.
18792 * gdb.btrace/record_goto.exp: Update.
18793 * gdb.btrace/tailcall.exp: Update.
18794 * gdb.btrace/unknown_functions.exp: Update.
18795 * gdb.btrace/delta.exp: New.
18796
0b722aec
MM
187972014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18798
18799 * gdb.btrace/record_goto.exp: Add backtrace test.
18800 * gdb.btrace/tailcall.exp: Add backtrace test.
18801
066ce621
MM
188022014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18803
18804 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
18805 * gdb.btrace/record_goto.c: New.
18806 * gdb.btrace/record_goto.exp: New.
18807 * gdb.btrace/x86-record_goto.S: New.
18808
0688d04e
MM
188092014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18810
18811 * gdb.btrace/function_call_history.exp: Update tests.
18812 * gdb.btrace/instruction_history.exp: Update tests.
18813
8710b709
MM
188142014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18815
18816 * gdb.btrace/function_call_history.exp: Fix expected field
18817 order for "record function-call-history".
18818 Add new tests for "record function-call-history /c".
18819 * gdb.btrace/exception.cc: New.
18820 * gdb.btrace/exception.exp: New.
18821 * gdb.btrace/tailcall.exp: New.
18822 * gdb.btrace/x86-tailcall.S: New.
18823 * gdb.btrace/x86-tailcall.c: New.
18824 * gdb.btrace/unknown_functions.c: New.
18825 * gdb.btrace/unknown_functions.exp: New.
18826 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
18827
5de9129b
MM
188282014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18829
18830 * gdb.btrace/instruction_history.exp: Update.
18831 * gdb.btrace/function_call_history.exp: Update.
18832
23a7fe75
MM
188332014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18834
18835 * gdb.btrace/function_call_history.exp: Fix expected function
18836 trace.
18837 * gdb.btrace/instruction_history.exp: Initialize traced.
18838 Remove traced_functions.
18839
724c7dd8
MM
188402014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18841
18842 * gdb.btrace/function_call_history.exp: Update
18843 * gdb.btrace/instruction_history.exp: Update.
18844
6d78d93b
MM
188452014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18846
18847 * gdb.btrace/enable.exp: Update expected text.
18848
93a360cc
OJ
188492014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
18850
18851 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
18852 bytes.
18853
3772b53f
MR
188542014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
18855
18856 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
18857
596662fa
OJ
188582014-01-15 Omair Javaid <omair.javaid@linaro.org>
18859
18860 * lib/gdb.exp (supports_process_record): Return true for
18861 arm*-linux*. (supports_reverse): Likewise.
18862
b5b08fb4
SC
188632014-01-13 Siva Chandra Reddy <sivachandra@google.com>
18864
18865 PR python/15464
18866 PR python/16113
18867 * gdb.python/py-type.c: Enhance test case.
18868 * gdb.python/py-value-cc.cc: Likewise
18869 * gdb.python/py-type.exp: Add new tests.
18870 * gdb.python/py-value-cc.exp: Likewise
18871
52d7fb13
AA
188722014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
18873 Pedro Alves <palves@redhat.com>
18874
18875 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
18876 Make "name" extern.
18877 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
18878 references to ${name}_start by references to ${name}.
18879
a2cd8cfe
JB
188802014-01-10 Joel Brobecker <brobecker@adacore.com>
18881
18882 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
18883
4e23fced
JB
188842014-01-10 Joel Brobecker <brobecker@adacore.com>
18885
18886 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
18887
c6a9e42c
PA
188882014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
18889 Pedro Alves <palves@redhat.com>
18890
18891 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 18892 mi_gdb_target_load.
c6a9e42c 18893
b7ea362b
PA
188942014-01-08 Pedro Alves <palves@redhat.com>
18895
18896 * gdb.threads/reconnect-signal.c: New file.
18897 * gdb.threads/reconnect-signal.exp: New file.
18898
5e3f4fab
EBM
188992014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
18900
18901 * gdb.base/source-dir.exp: New file.
18902
79301218
JB
189032014-01-07 Joel Brobecker <brobecker@adacore.com>
18904
18905 * gdb.ada/mi_interface: New testcase.
18906
8e355c5d
JB
189072014-01-07 Joel Brobecker <brobecker@adacore.com>
18908
18909 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
18910 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
18911 gdb.ada/pp-rec-component/pck.ads: New files.
18912
c0d48811
JB
189132014-01-07 Joel Brobecker <brobecker@adacore.com>
18914
18915 * gdb.python/py-pp-integral.c: New file.
18916 * gdb.python/py-pp-integral.py: New file.
18917 * gdb.python/py-pp-integral.exp: New file.
18918
17b609c3 18919For older changes see ChangeLog-1993-2013.
c906108c 18920\f
8d8cb839
EZ
18921;; Local Variables:
18922;; mode: change-log
18923;; left-margin: 8
18924;; fill-column: 74
18925;; version-control: never
18926;; End:
902f2ccb 18927
b811d2c2 18928 Copyright 2014-2020 Free Software Foundation, Inc.
902f2ccb
MC
18929 Copying and distribution of this file, with or without modification,
18930 are permitted provided the copyright notice and this notice are preserved.