]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Fix Ada val_print removal regression
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
70304be9
TT
12020-03-20 Tom Tromey <tromey@adacore.com>
2
3 * gdb.ada/sub_variant/subv.adb: New file.
4 * gdb.ada/sub_variant.exp: New file.
5
0dd7b8f7
TV
62020-03-20 Tom de Vries <tdevries@suse.de>
7
8 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
9 first break fails.
10 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
11
cada5fc9
AB
122020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
13
14 * gdb.server/exit-multiple-threads.c: New file.
15 * gdb.server/exit-multiple-threads.exp: New file.
16
6b8c53f2
AB
172020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
18
19 * gdb.fortran/mixed-lang-stack.c: New file.
20 * gdb.fortran/mixed-lang-stack.cpp: New file.
21 * gdb.fortran/mixed-lang-stack.exp: New file.
22 * gdb.fortran/mixed-lang-stack.f90: New file.
23
19a2740f
AB
242020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
25
26 * gdb.linespec/cp-completion-aliases.cc: New file.
27 * gdb.linespec/cp-completion-aliases.exp: New file.
28
d8c8b848
TV
292020-03-19 Tom de Vries <tdevries@suse.de>
30
31 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
32 more precise.
33
a9933ccf
TV
342020-03-18 Tom de Vries <tdevries@suse.de>
35
36 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
37 * gdb.dwarf2/break-inline-psymtab.c: New test.
38 * gdb.dwarf2/break-inline-psymtab.exp: New file.
39
2f89101f
TV
402020-03-16 Tom de Vries <tdevries@suse.de>
41
42 * lib/cache.exp (gdb_do_cache): Add and handle local variables
43 cache_verify and cache_verify_proc.
44
6b9374f1
TV
452020-03-15 Tom de Vries <tdevries@suse.de>
46
47 * gdb.server/solib-list.exp: Handle
48 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
49
eaeaf44c
TV
502020-03-15 Tom de Vries <tdevries@suse.de>
51
52 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
53 objfiles".
54
3293bbaf
TT
552020-03-14 Tom Tromey <tom@tromey.com>
56
57 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
58
ab44624c
TV
592020-03-14 Tom de Vries <tdevries@suse.de>
60
61 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
62
54c43825
TV
632020-03-14 Tom de Vries <tdevries@suse.de>
64
65 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
66 result in line-by-line fashion.
67
2ac70237
TV
682020-03-14 Tom de Vries <tdevries@suse.de>
69
70 * lib/gdb.exp (supports_statement_frontiers): New proc.
71 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
72
09546b56
TV
732020-03-14 Tom de Vries <tdevries@suse.de>
74
75 * gdb.base/printcmds.exp: Add missing quoting for "print
76 teststring2".
77
a1f6a07c
TT
782020-03-13 Tom Tromey <tom@tromey.com>
79
80 * gdb.base/printcmds.exp (test_print_strings): Add regression
81 test.
82 * gdb.base/printcmds.c (charptr): New typedef.
83 (teststring2): New global.
84
1b83d09c
AB
852020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
86
87 * gdb.base/break-interp.exp: Use the tail of the filename, not the
88 full path in the test name.
89 (test_ld): Add some with_test_prefix blocks to make test names
90 unique.
91
2d61316c
TV
922020-03-13 Tom de Vries <tdevries@suse.de>
93
94 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
95
2e9145ac
TV
962020-03-13 Tom de Vries <tdevries@suse.de>
97
98 * gdb.mi/mi-sym-info.exp: Make matching more precise.
99
96c7f873
TV
1002020-03-13 Tom de Vries <tdevries@suse.de>
101
102 PR symtab/25646
103 * gdb.dwarf2/imported-unit.exp: Add test.
104
49ba92c0
TV
1052020-03-13 Tom de Vries <tdevries@suse.de>
106
107 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
108 (var1, var2): New variable.
109 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
110 matching symbols.
111
301b21e0
TV
1122020-03-13 Tom de Vries <tdevries@suse.de>
113
114 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
115 (Term::command): Use prompt prefix.
116 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
117 * gdb.tui/tui-layout-asm-short-prog.exp: Use
118 command_no_prompt_prefix instead of prefix.
119 * gdb.tui/tui-layout-asm.exp: Same.
120
3f512721
SM
1212020-03-12 Simon Marchi <simon.marchi@efficios.com>
122
123 * gdb.base/break-interp.exp: Use foreach_with_prefix.
124
40310f30
SM
1252020-03-12 Simon Marchi <simon.marchi@efficios.com>
126
127 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
128 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
129 on" while stepping over the test instruction, match printed
130 message.
131
09252140
TV
1322020-03-12 Tom de Vries <tdevries@suse.de>
133
134 * gdb.base/info-types.exp: Use exp_continue during matching of output
135 of "info types".
136
14e9c72c
TV
1372020-03-12 Tom de Vries <tdevries@suse.de>
138
139 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
140
e515d67e
TV
1412020-03-12 Tom de Vries <tdevries@suse.de>
142
143 * gdb.fortran/module.exp: Use exp_continue during matching of output
144 of "info variable -n".
145
307eafd8
TV
1462020-03-12 Tom de Vries <tdevries@suse.de>
147
148 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
149 gdb.dwarf2/dw2-ranges-base.c.
150
9a2de3fc
TV
1512020-03-12 Tom de Vries <tdevries@suse.de>
152
153 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
154 in presence of GLIBC debuginfo.
155
3217502e
TV
1562020-03-12 Tom de Vries <tdevries@suse.de>
157
158 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
159 $core.
160
1281424c
TV
1612020-03-12 Tom de Vries <tdevries@suse.de>
162
163 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
164 more precise.
165
038b97fc
SM
1662020-03-11 Simon Marchi <simon.marchi@efficios.com>
167
168 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
169 from Unix to Windows path.
170
5308d1e7
TV
1712020-03-11 Tom de Vries <tdevries@suse.de>
172
173 * gdb.ada/minsyms.exp: Set language to ada.
174
f870f78f
TV
1752020-03-11 Tom de Vries <tdevries@suse.de>
176
177 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
178
5a13315d
TV
1792020-03-11 Tom de Vries <tdevries@suse.de>
180
181 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
182
976862ed
TT
1832020-03-11 Tom Tromey <tromey@adacore.com>
184
185 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
186
7462c383
TV
1872020-03-11 Tom de Vries <tdevries@suse.de>
188
189 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
190
1c6c46a0
TV
1912020-03-11 Tom de Vries <tdevries@suse.de>
192
193 * gdb.base/break-interp.exp: Limit verbose scope.
194
44f41bb7
TV
1952020-03-11 Tom de Vries <tdevries@suse.de>
196
197 * gdb.fortran/logical.f90: Define variable with character type.
198 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
199
b76f3a42
TV
2002020-03-11 Tom de Vries <tdevries@suse.de>
201
202 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
203
1c33af77
TV
2042020-03-11 Tom de Vries <tdevries@suse.de>
205
206 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
207 symtabs.
208
8c95582d
AB
2092020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
210 Bernd Edlinger <bernd.edlinger@hotmail.de>
211
212 * gdb.cp/step-and-next-inline.cc: New file.
213 * gdb.cp/step-and-next-inline.exp: New file.
214 * gdb.cp/step-and-next-inline.h: New file.
215 * gdb.dwarf2/dw2-is-stmt.c: New file.
216 * gdb.dwarf2/dw2-is-stmt.exp: New file.
217 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
218 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
219 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
220
cecf8547
AB
2212020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
222
223 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
224 is-stmt flag in the line table.
225
0ba678c9
TV
2262020-03-09 Tom de Vries <tdevries@suse.de>
227
228 * lib/gdb.exp (cached_file): Create cache dir.
229
72fbdf83
TV
2302020-03-07 Tom de Vries <tdevries@suse.de>
231
232 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
233 * gdb.cp/rvalue-ref-params.exp: Same.
234
436b5e99
TV
2352020-03-06 Tom de Vries <tdevries@suse.de>
236
237 * lib/gdb.exp (tentative_rename, cached_file): New proc.
238 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
239
09f2921c
TV
2402020-03-06 Tom de Vries <tdevries@suse.de>
241
242 * README: Fix "the the".
243 * gdb.base/dprintf.exp: Same.
244
50a3cc5d
TV
2452020-03-05 Tom de Vries <tdevries@suse.de>
246
247 * gdb.base/maint.exp: Update "main print statistics" expected output.
248
0a709cba
AKS
2492020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
250
251 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
252 (fortran_int8): Likewise.
253 (fortran_real4): Likewise.
254 (fortran_real8): Likewise.
255 (fortran_complex4): Likewise.
256 (fortran_logical4): Likewise.
257 (fortran_character1): Likewise.
258
5e5d66b6
AB
2592020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
260
261 * gdb.fortran/logical.exp: Add tests that any non-zero value is
262 printed as true.
263
7b973adc
SDJ
2642020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
265
266 * gdb.base/printcmds.exp: Add test to verify printf of a
267 variable holding an address.
268
478e490a
TV
2692020-03-03 Tom de Vries <tdevries@suse.de>
270
271 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
272
1ef44e86
TV
2732020-03-03 Tom de Vries <tdevries@suse.de>
274
275 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
276 gdb_test_multiple call.
277
b98cc2cf
TV
2782020-03-03 Tom de Vries <tdevries@suse.de>
279
280 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
281 gdb_test_multiple calls.
282
63e163f2
AB
2832020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
284
285 * gdb.base/default.exp: Remove test of 'set history filename'.
286 * gdb.base/gdbinit-history.exp: Add tests for setting the history
287 filename to the empty string.
288 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
289 and GDBHISTSIZE.
290
24ed6739
AB
2912020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
292
293 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
294 disabled.
295
590003dc
TV
2962020-03-02 Pedro Alves <palves@redhat.com>
297 Tom de Vries <tdevries@suse.de>
298
299 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
300 -prompt prefix, before user_code argument. Add -lbl option likewise.
301 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
302 (gdb_is_target_1): Add -prompt prefix and move to before user_code
303 argument.
304 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
305 have "\r\n" at start-of-line, instead of at end-of-line.
306
f5e46084
SM
3072020-02-28 Simon Marchi <simon.marchi@efficios.com>
308
309 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
310 libinproctrace.so.
311
f7a7000d
LM
3122020-02-28 Luis Machado <luis.machado@linaro.org>
313
314 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
315 to "p/x".
316
718e0816
LM
3172020-02-28 Luis Machado <luis.machado@linaro.org>
318
319 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
320 asm/ptrace.h and error.h.
321
13c3a74a
TV
3222020-02-28 Tom de Vries <tdevries@suse.de>
323
324 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
325 (struct wrapper, do_something, mundane/symada__cS): Move ...
326 * gdb.base/c-linkage-name-2.c: ... here. New source file.
327 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
328 Update "print symada__cS before partial symtab expansion" regexp.
329 Update breakpoint location. Flush symbol cache after expansion.
330
85d2d5bb
LM
3312020-02-28 Luis Machado <luis.machado@linaro.org>
332
333 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
334
3608f86c
TV
3352020-02-27 Tom de Vries <tdevries@suse.de>
336
337 * config/sid.exp: Remove unused globals.
338 * gdb.base/attach.exp: Same.
339 * gdb.base/catch-load.exp: Same.
340 * gdb.base/dbx.exp: Same.
341 * lib/gdb.exp: Same.
342 * lib/mi-support.exp: Same.
343 * lib/prompt.exp: Same.
344
c8d4f6df
TV
3452020-02-27 Tom de Vries <tdevries@suse.de>
346
347 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
348 not set.
349
0d79cdc4
AM
3502020-02-26 Aaron Merey <amerey@redhat.com>
351
352 * gdb.debuginfod: New directory for debuginfod tests.
353 * gdb.debuginfod/main.c: New test file.
354 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
355
0dce4280
TV
3562020-02-26 Tom de Vries <tdevries@suse.de>
357
358 PR gdb/25603
359 * gdb.base/persistent-lang.cc: New test.
360 * gdb.base/persistent-lang.exp: New file.
361
9e80cfa1
AB
3622020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
363
364 * gdb.fortran/derived-type-striding.exp: Add a new test.
365 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
366 new test.
367
2078dbb2
AB
3682020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
369
370 * gdb.base/cached-source-file.exp: Avoid source file paths in test
371 names.
372
70d49700
TV
3732020-02-25 Tom de Vries <tdevries@suse.de>
374
375 PR go/18926
376 * gdb.go/methods.exp: Remove gcc/93866 xfail.
377
a88ef40d
TV
3782020-02-24 Tom de Vries <tdevries@suse.de>
379
380 PR gdb/25592
381 * gdb.base/info-locals-unused-static-var.c: New test.
382 * gdb.base/info-locals-unused-static-var.exp: New file.
383
01b1af32
TT
3842020-02-22 Tom Tromey <tom@tromey.com>
385
386 * gdb.python/tui-window.exp: New file.
387 * gdb.python/tui-window.py: New file.
388
7c043ba6
TT
3892020-02-22 Tom Tromey <tom@tromey.com>
390
391 PR tui/17850:
392 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
393 tests.
394
c22fef7e
TT
3952020-02-22 Tom Tromey <tom@tromey.com>
396
397 * gdb.tui/new-layout.exp: Add sub-layout tests.
398
ee325b61
TT
3992020-02-22 Tom Tromey <tom@tromey.com>
400
401 * gdb.tui/new-layout.exp: New file.
402
3f0cbb04
TT
4032020-02-22 Tom Tromey <tom@tromey.com>
404
405 * gdb.rust/rust-style.rs: New file.
406 * gdb.rust/rust-style.exp: New file.
407 * gdb.base/style.exp: Test structure printing.
408 * gdb.base/style.c (struct some_struct): New type.
409 (enum etype): New type.
410 (struct_value): New global.
411
75525152
TV
4122020-02-21 Tom de Vries <tdevries@suse.de>
413
414 PR go/18926
415 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
416 Remove blanket xfails. Use message argument for gdb_breakpoint.
417 Make continuing to breakpoint test conditional on setting breakpoint.
418 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
419 DW_AT_name attribute. Add xfail for GCC PR93866.
420
bd360d30
AB
4212020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
422
423 * gdb.dwarf2/cpp-linkage-name.c: New file.
424 * gdb.dwarf2/cpp-linkage-name.exp: New file.
425
c7adb09f 4262020-02-21 Shahab Vahedi <shahab@synopsys.com>
24ac169a
SV
427
428 * lib/gdb.exp (gdb_wrapper_init): Reset
429 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
430 not exist.
431
a9c79803
TV
4322020-02-20 Tom de Vries <tdevries@suse.de>
433
434 PR go/17018
435 * gdb.go/hello.exp: Copy ...
436 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
437 print of st to print value of global definition. Add xfail for GCC
438 PR93844.
439 * gdb.go/hello.exp: Remove printing of st before definition.
440 * gdb.go/hello.go: Copy ...
441 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
442 to st.
443 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
444
d7445728
TV
4452020-02-20 Tom de Vries <tdevries@suse.de>
446
447 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
448 (gdb_simple_compile): Handle compile_flags go by using .go extension
449 for source file.
450 * gdb.go/chan.exp: Use support_go_compile.
451 * gdb.go/handcall.exp: Same.
452 * gdb.go/hello.exp: Same.
453 * gdb.go/integers.exp: Same.
454 * gdb.go/max-depth.exp: Same.
455 * gdb.go/methods.exp: Same.
456 * gdb.go/package.exp: Same.
457 * gdb.go/strings.exp: Same.
458 * gdb.go/types.exp: Same.
459 * gdb.go/unsafe.exp: Same.
460
c9c41e6d
TV
4612020-02-19 Tom de Vries <tdevries@suse.de>
462
463 * gdb.python/lib-types.exp: Make xfail more strict.
464
f20ff837
TV
4652020-02-19 Tom de Vries <tdevries@suse.de>
466
467 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
468
08410482
DE
4692020-02-19 Doug Evans <dje@google.com>
470
471 PR rust/25535
472 * gdb.rust/simple.exp: Add test.
473 * gdb.rust/simple.rs: Add test.
474
623563f7
TV
4752020-02-19 Tom de Vries <tdevries@suse.de>
476
477 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
478 output line-by-line.
479
d3308cfd
TV
4802020-02-19 Tom de Vries <tdevries@suse.de>
481
482 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
483
86cbc5dc
TV
4842020-02-19 Tom de Vries <tdevries@suse.de>
485
486 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
487 prelink.
488
9db2b96b
TV
4892020-02-19 Tom de Vries <tdevries@suse.de>
490
491 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
492 (gdb_do_cache): Use gdb_do_cache_wrap.
493 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
494
89e2fdc5
TV
4952020-02-19 Tom de Vries <tdevries@suse.de>
496
497 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
498 gdb_compile option.
499
373d7ac0
SM
5002020-02-18 Simon Marchi <simon.marchi@efficios.com>
501
502 * gdb.base/printcmds.exp (test_print_enums): Update expected
503 output.
504
b29a2df0
SM
5052020-02-18 Simon Marchi <simon.marchi@efficios.com>
506
507 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
508 for "unknown".
509
6740f0cc
SM
5102020-02-18 Simon Marchi <simon.marchi@efficios.com>
511
512 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
513 enumerator.
514
edd45eb0
SM
5152020-02-18 Simon Marchi <simon.marchi@efficios.com>
516
517 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
518 FE_, add FE_NONE.
519 (three): Update.
520 (enum flag_enum_without_zero): New enum.
521 (flag_enum_without_zero): New variable.
522 (enum not_flag_enum): New enum.
523 (three_not_flag): New variable.
524 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
525 (test_print_enums): Add more tests for printing flag enums.
526
d4295de4
TV
5272020-02-18 Tom de Vries <tdevries@suse.de>
528
529 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
530 (gdb_compile_ada): ... here.
531 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
532 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
533
f251f505
TT
5342020-02-14 Tom Tromey <tom@tromey.com>
535
536 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
537 build directory.
538 * boards/gdbserver-base.exp: Update path to gdbserver.
539
8f432634
TV
5402020-02-13 Tom de Vries <tdevries@suse.de>
541
542 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
543
92b6eaf7
TV
5442020-02-13 Tom de Vries <tdevries@suse.de>
545
546 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
547 are missing.
548
f3b0f7fe
TV
5492020-02-13 Tom de Vries <tdevries@suse.de>
550
551 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
552 call.
553
f6be8713
SDJ
5542020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
555
556 PR tui/25126
557 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
558 * gdb.base/cached-source-file.c: New file.
559 * gdb.base/cached-source-file.exp: New file.
560
b2770d5e
TV
5612020-02-11 Tom de Vries <tdevries@suse.de>
562
563 PR testsuite/25488
564 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
565
44f6938e
TV
5662020-02-10 Tom de Vries <tdevries@suse.de>
567
568 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
569
5f0e2eb7
MR
5702020-02-10 Maciej W. Rozycki <macro@wdc.com>
571
572 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
573 and $after_addr are both integers before making a comparison.
574
46ce2b6f
TV
5752020-02-09 Tom de Vries <tdevries@suse.de>
576
577 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
578 command output and paste it into gdb.log. If any, paste catch message
579 to gdb.log.
580
5abbbe1d
TT
5812020-02-07 Tom Tromey <tromey@adacore.com>
582
583 PR breakpoints/24915:
584 * gdb.base/annotate-symlink.exp: Use setup_xfail.
585
1d5d29e7
SV
5862020-02-06 Shahab Vahedi <shahab@synopsys.com>
587
588 * gdb.tui/tui-missing-src.exp: Add the "missing source
589 file" test for the TUI.
590
b0999b9b
AB
5912020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
592
593 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
594 including a port number in the output.
595
c3b149eb
AKS
5962020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
597
598 * lib/fortran.exp (fortran_int4): Handle clang.
599 (fortran_int8): Likewise.
600 (fortran_real4): Likewise.
601 (fortran_real8): Likewise.
602 (fortran_complex4): Likewise.
603 (fortran_logical4): Likewise.
604 (fortran_character1): Likewise.
605
f8dcc90b
TV
6062020-02-04 Tom de Vries <tdevries@suse.de>
607
608 * README (Race detection): Add note.
609
f90ac7c2
TV
6102020-02-04 Tom de Vries <tdevries@suse.de>
611
612 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
613
780636ae
TV
6142020-02-04 Tom de Vries <tdevries@suse.de>
615
616 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
617
5d2e1193
RA
6182020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
619
620 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
621 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
622 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
623 blttar, bnetarl.
624 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
625 binary for blttar, bnetarl.
626 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
627 wait instruction. Delete ldmx test.
628 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
629
e409c542
AKS
6302020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
631
632 * gdb.fortran/array-bounds-high.exp: New file.
633 * gdb.fortran/array-bounds-high.f90: New file.
634
b0029748
LD
6352020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
636
637 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
638 Replace #include of <sys/fcntl.h> by <fcntl.h>.
639
195a8287
TV
6402020-02-01 Tom de Vries <tdevries@suse.de>
641
642 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
643
42330a68
AB
6442020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
645
646 PR tui/9765
647 * gdb.tui/tui-layout-asm-short-prog.S: New file.
648 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
649
b62a8028
LM
6502020-01-29 Luis Machado <luis.machado@linaro.org>
651
652 * gdb.arch/aarch64-brk-patterns.c: New source file.
653 * gdb.arch/aarch64-brk-patterns.exp: New test.
654
5f440116
TBA
6552020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
656
657 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
658 GCC/Clang version.
659 * gdb.cp/pass-by-ref.exp: Ditto.
660
ee2a6fc6
TV
6612020-01-29 Tom de Vries <tdevries@suse.de>
662
663 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
664 * gdb.threads/watchpoint-fork-mt.c: Same.
665 * gdb.threads/watchpoint-fork-parent.c: Same.
666 * gdb.threads/watchpoint-fork-st.c: Same.
667 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
668
16b10d6e
LM
6692020-01-27 Luis Machado <luis.machado@linaro.org>
670
671 * gdb.base/step-over-syscall.exp (setup): Check if we're already
672 sitting at a syscall instruction when we hit the syscall function's
673 breakpoint.
674 Check PC against one obtained with the x command.
675 Validate syscall number.
676 (step_over_syscall): Don't continue to the syscall instruction if
677 we're already there.
678
b1468492
PW
6792020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
680
681 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
682
7ffa82e1
AB
6832020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
684
685 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
686 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
687
3d92a3e3
AB
6882020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
689
690 * gdb.dwarf2/dw2-inline-stepping.c: New file.
691 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
692
94a72be7
AB
6932020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
694
695 * gdb.base/maint.exp: Update line table parsing test.
696 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
697
53af73bf
PA
6982020-01-24 Pedro Alves <palves@redhat.com>
699
700 PR gdb/25410
701 * gdb.multi/multi-re-run-1.c: New.
702 * gdb.multi/multi-re-run-2.c: New.
703 * gdb.multi/multi-re-run.exp: New.
704
1ba1ac88
AB
7052020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
706
707 PR gdb/23718
708 * gdb.server/server-kill-python.exp: New file.
709
f3364a6d
AB
7102020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
711
712 * gdb.server/multi-ui-errors.c: New file.
713 * gdb.server/multi-ui-errors.exp: New file.
714
733d0a67
AB
7152020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
716
717 PR tui/9765
718 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
719
4f13c1c0
TT
7202020-01-19 Tom Tromey <tom@tromey.com>
721
722 * gdb.tui/main.exp: Add check for plain "file".
723
40c94099
CB
7242020-01-16 Christian Biesinger <cbiesinger@google.com>
725
726 * lib/gdb.exp: Fix spelling error (seperatelly).
727
ff47f4f0
TT
7282020-01-14 Tom Tromey <tom@tromey.com>
729
730 PR symtab/12535:
731 * gdb.python/python.exp: Test decode_line with empty string
732 argument.
733
717c684d
BE
7342020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
735
736 * gdb.base/skip-inline.exp: Extend test.
737
44e4c775
AB
7382020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
739
740 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
741 * gdb.dwarf2/dw2-bad-elf.c: New file.
742 * gdb.dwarf2/dw2-bad-elf.exp: New file.
743
d93c6db7
AB
7442020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
745
746 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
747 _line_saw_file.
748
9a6d629c
AB
7492020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
750
751 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
752 border.
753
d9ebdab7
TBA
7542020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
755
756 * gdb.multi/multi-target.exp (setup): Factor out "info
757 connections" and "info inferiors" tests to ...
758 (test_info_inferiors): ... this new procedure.
759 (top level): Run new "info-inferiors" tests.
760
f3c469b9
PA
7612020-01-10 Pedro Alves <palves@redhat.com>
762
763 * gdb.server/bkpt-other-inferior.exp: New file.
764
121b3efd
PA
7652020-01-10 Pedro Alves <palves@redhat.com>
766
767 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
768 of "add-inferior".
769 * gdb.base/quit-live.exp: Likewise.
770 * gdb.base/remote-exec-file.exp: Likewise.
771 * gdb.guile/scm-progspace.exp: Likewise.
772 * gdb.linespec/linespec.exp: Likewise.
773 * gdb.mi/new-ui-mi-sync.exp: Likewise.
774 * gdb.mi/user-selected-context-sync.exp: Likewise.
775 * gdb.multi/multi-target.exp (setup): Add "info connection" and
776 "info inferiors" tests.
777 * gdb.multi/remove-inferiors.exp: Adjust expected output of
778 "add-inferior".
779 * gdb.multi/watchpoint-multi.exp: Likewise.
780 * gdb.python/py-inferior.exp: Likewise.
781 * gdb.server/extended-remote-restart.exp: Likewise.
782 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
783 "info inferiors".
784 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
785 * gdb.trace/report.exp: Likewise.
786
1dadb1dd
PA
7872020-01-10 Pedro Alves <palves@redhat.com>
788
789 * gdb.multi/multi-target.c: New file.
790 * gdb.multi/multi-target.exp: New file.
791 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
792 mode requested, but remote does not support non-stop".
793
78f2c40a
PA
7942020-01-10 Pedro Alves <palves@redhat.com>
795
796 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
797 disconnect before reconnecting.
798
e7af6c70
TBA
7992020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
800 Pedro Alves <palves@redhat.com>
801
802 * gdb.server/connect-without-multi-process.exp: Also test
803 continuing to end.
804
acdf84a6
PA
8052020-01-10 Pedro Alves <palves@redhat.com>
806
807 * gdb.base/remote-exec-file.exp: New file.
808
873657b9
PA
8092020-01-10 Pedro Alves <palves@redhat.com>
810
811 * gdb.base/fork-running-state.exp (do_test): Adjust expected
812 output.
813 * gdb.threads/async.c: New.
814 * gdb.threads/async.exp: New.
815 * gdb.multi/tids-gid-reset.c: New.
816 * gdb.multi/tids-gid-reset.exp: New.
817
7f0ae84c
GB
8182020-01-10 George Barrett <bob@bob131.so>
819
820 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
821 to help in finding the image relocation offset.
822 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
823 options in arguments.
824 (stap_test_no_debuginfo): Likewise.
825 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
826 test variants.
827 (stap_test): Add null semaphore relocation test.
828
47e9d49d
GB
8292020-01-10 George Barrett <bob@bob131.so>
830
831 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
832 * gdb.base/stap-probe.exp: Likewise.
833 (stap_test): Pass argument as an additional flag.
834 (stap_test_no_debuginfo): Likewise.
835 (stap_test): Check `info probes stap' output for semaphore
836 addresses if the test binary is supposed to have them.
837
f5a7c406
AB
8382020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
839
840 * gdb.tui/basic.exp: Add more scrolling tests.
841
9ae6bf64
TT
8422020-01-09 Tom Tromey <tom@tromey.com>
843
844 PR tui/18932:
845 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
846 meangingful value.
847 (Term::command, Term::resize): Update.
848 * gdb.tui/basic.exp: Add scrolling test.
849
b2efe70c
AB
8502020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
851
852 * gdb.tui/tui-layout-asm.exp: New file.
853
3804da7e
AB
8542020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
855
856 * lib/tuiterm.exp (Term::check_box_contents): New proc.
857
b40aa28f
AB
8582020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
859
860 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
861 (Term::enter_tui): Use Term::prepare_for_tui.
862
63ffd7c9
AB
8632020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
864
865 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
866 called.
867
3be966f6
AB
8682020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
869
870 * gdb.base/skip.exp: Fix race condition in test.
871
153d79c4
AB
8722020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
873
874 * gdb.base/backtrace.c: New file.
875 * gdb.base/backtrace.exp: New file.
876
f2302a34
AB
8772020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
878
879 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
880
6ec1d75e
PW
8812020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
882
883 * gdb.base/style.exp: Test that warnings are styled.
884
c296cbe6
BE
8852019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
886
887 * gdb.base/line65535.exp: New file.
888 * gdb.base/line65535.c: New file.
889
b28a729d
SM
8902019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
891
892 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
893 * lib/gnat_debug_info_test.adb: New file.
894 * gdb.ada/ptype_tagged_param.exp: Use
895 gnat_runtime_has_debug_info, expect a different output if
896 runtime does not have debug info.
897
7f2d7a0d
SM
8982019-12-20 Simon Marchi <simon.marchi@efficios.com>
899
900 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
901 (another) quote in test name.
902
f3bce483
SM
9032019-12-20 Simon Marchi <simon.marchi@efficios.com>
904
905 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
906 Add quote in test name.
907
c855a912
TBA
9082019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
909
910 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
911 directory instead.
912 * gdb.cp/pass-by-ref.exp: Extend with more cases.
913 * gdb.cp/pass-by-ref-2.cc: New file.
914 * gdb.cp/pass-by-ref-2.exp: New file.
915
fc9d2d72
TT
9162019-12-20 Tom Tromey <tom@tromey.com>
917
918 * gdb.tui/list-before.exp: New file.
919
77b97e00
TT
9202019-12-20 Tom Tromey <tom@tromey.com>
921
922 * gdb.tui/list.exp: Check for source on initial listing.
923
f69656d0
TT
9242019-12-11 Tom Tromey <tromey@adacore.com>
925
926 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
927 Add crlf test.
928
99a55965
SM
9292019-12-18 Simon Marchi <simon.marchi@efficios.com>
930
931 * gdb.base/default.exp: Update value of $_gdb_major.
932
5024637f
BE
9332019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
934
935 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
936
b63634be
BE
9372019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
938
939 * gdb.base/skip.exp: Whitespace fix.
940
45d73523
BE
9412019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
942
943 * gdb.base/skip-inline.c: New file.
944 * gdb.base/skip-inline.exp: New file.
945
d043f8c8
SM
9462019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
947
948 * gdb.base/jit-reader.exp (jit_reader_test): Rename
949 jit_function_00 to jit_function_stack_mangle.
950 * gdb.base/jithost.c (jit_function_t): Rename to...
951 (jit_function_stack_mangle_t): ... this.
952 (jit_function_add_t): New typedef.
953 (jit_function_00_code): Rename to...
954 (jit_function_stack_mangle_code): ... this, make static.
955 (jit_function_add_code): New.
956 (main): Generate "add" function and call it. Adjust to changes
957 in jithost_abi.
958 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
959 (struct jithost_abi) <begin, end>: Remove fields.
960 <object, function_stack_mangle, function_add>: New fields.
961 * gdb.base/jitreader.c (struct reader_state) <code_begin,
962 code_end>: Remove fields.
963 <func_stack_mangle>: New field.
964 (read_debug_info): Adjust to renaming, create block for "add"
965 function.
966 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
967
873de05c
TT
9682019-12-11 Tom Tromey <tom@tromey.com>
969
970 * gdb.tui/resize.exp: Fix regexp.
971 * gdb.tui/regs.exp: Fix regexps.
972 * gdb.tui/main.exp: Fix regexp.
973
3d979945
TT
9742019-12-11 Tom Tromey <tom@tromey.com>
975
976 * gdb.tui/resize.exp: Update.
977 * gdb.tui/empty.exp (layouts): Update.
978
2192a9d3
TT
9792019-12-11 Tom Tromey <tom@tromey.com>
980
981 * gdb.tui/regs.exp: Update.
982 * gdb.tui/empty.exp (layouts): Update.
983 * gdb.tui/basic.exp: Update.
984 * lib/tuiterm.exp (_check_box): Don't check bottom border.
985
d8edc8b7
PW
9862019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
987
988 * gdb.base/options.exp: Add -raw-values in the print completion list.
989 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
990
4c12d936
KB
9912019-12-10 Kevin Buettner <kevinb@redhat.com>
992
993 * gdb.threads/omp-par-scope.c: New file.
994 * gdb/threads/omp-par-scope.exp: New file.
995
26b911fb
KB
9962019-12-10 Kevin Buettner <kevinb@redhat.com>
997
bb47f919
KB
998 * lib/gdb.exp (support_nested_function_tests): New proc.
999
10002019-12-10 Kevin Buettner <kevinb@redhat.com>
1001
1002 * lib/gdb.exp (gdb_compile_openmp): New proc.
1003 (build_executable_from_specs): Add an "openmp" option.
1004 (gdb_compile_pthreads): Add non-executable case.
26b911fb 1005
6c71eb7d
TT
10062019-12-10 Tom Tromey <tromey@adacore.com>
1007
1008 * gdb.ada/unchecked_union.exp: New file.
1009 * gdb.ada/unchecked_union/pck.adb: New file.
1010 * gdb.ada/unchecked_union/pck.ads: New file.
1011 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
1012 * gdb-utils.exp (string_to_regexp): Also quote "?".
1013
bac7c5cf
GB
10142019-12-10 George Barrett <bob@bob131.so>
1015
1016 Test scripted probe breakpoints.
1017 * gdb.guile/scm-breakpoint.c (main): Add probe point.
1018 * gdb.python/py-breakpoint.c (main): Likewise.
1019 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
1020 specifier test.
1021 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
1022
330f1d38
TBA
10232019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1024
1025 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
1026 an rvalue parameter.
1027 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
1028 parameter.
1029
b43315e2
AB
10302019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
1031
1032 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
1033 modules.
1034
54f73dad
AB
10352019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
1036
1037 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
1038 broken version of GCC.
1039
d57cbee9
AB
10402019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
1041
1042 * gdb.fortran/info-modules.exp: Rewrite to make use of new
1043 sym-info-cmds library.
1044 * gdb.fortran/info-types.exp: Likewise.
1045 * lib/sym-info-cmds.exp: New file.
1046
c14aab8c
TV
10472019-12-08 Tom de Vries <tdevries@suse.de>
1048
1049 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
1050
aa2d5a42
KS
10512019-12-07 Keith Seitz <keiths@redhat.com>
1052
1053 * gdb.base/corefile-buildid-shlib-shr.c: New file.
1054 * gdb.base/corefile-buildid-shlib.c: New file.
1055 * gdb.base/corefile-buildid.c: New file.
1056 * gdb.base/corefile-buildid.exp: New file.
1057
93e55f0a
TV
10582019-12-06 Tom de Vries <tdevries@suse.de>
1059
1060 * gdb.dwarf2/varval.exp: Add decl before def test.
1061
c7d12402
TBA
10622019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1063
1064 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
1065
06acc08f
TBA
10662019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1067
1068 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
1069 CV and reference conversion for overload resolution.
1070 * gdb.cp/rvalue-ref-overload.exp: Test it.
1071
e0fad1ea
PW
10722019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1073
1074 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
1075 * gdb.base/frameapply.exp: Test faas without command.
1076
8d70a9f0
AB
10772019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1078
1079 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
1080 Fortran tests.
1081 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
1082 order.
1083
36c8fb93
AB
10842019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1085
1086 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
1087 casting to type with no kind specified.
1088 (test_basic_parsing_of_type_kinds): Additional tests for types
1089 with no kind specified, and add tests for single/double
1090 precision/complex types.
1091
4139ff00
TT
10922019-12-04 Tom Tromey <tromey@adacore.com>
1093
1094 * gdb.base/endianity.c (struct other) <x>: New field.
1095 (main): Initialize it.
1096 * gdb.base/endianity.exp: Update.
1097
a05cf17a
TT
10982019-12-04 Tom Tromey <tromey@adacore.com>
1099
1100 * gdb.ada/scalar_storage/storage.adb: New file.
1101 * gdb.ada/scalar_storage/pck.adb: New file.
1102 * gdb.ada/scalar_storage/pck.ads: New file.
1103 * gdb.ada/scalar_storage.exp: New file.
1104
103a685e
TT
11052019-12-04 Tom Tromey <tromey@adacore.com>
1106
1107 * gdb.base/endianity.c (struct otherendian) <f>: New field.
1108 (main): Initialize it.
1109 * gdb.base/endianity.exp: Update.
1110
c2512106
AB
11112019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1112
1113 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
1114
293b38d6
AB
11152019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1116
1117 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
1118 -symbol-info-module-functions and -symbol-info-module-variables.
1119
216a7e6b
AB
11202019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
1121
1122 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
1123
5bbd8269
AB
11242019-12-01 Richard Bunt <richard.bunt@arm.com>
1125 Andrew Burgess <andrew.burgess@embecosm.com>
1126
1127 * gdb.fortran/derived-type-striding.exp: New file.
1128 * gdb.fortran/derived-type-striding.f90: New file.
1129 * gdb.fortran/array-slices.exp: New file.
1130 * gdb.fortran/array-slices.f90: New file.
1131
be09caf1
PW
11322019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1133
1134 * gdb.base/define.exp: Test . in command names.
1135 * gdb.base/setshow.exp: Update test, as . is now part of
1136 command name.
1137
643c0cbe
PW
11382019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1139
1140 * gdb.base/define-prefix.exp: New file.
1141
dcdec678
AB
11422019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
1143
1144 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
1145 compile.
1146 (skip_btrace_pt_tests): Likewise.
1147
640ab947
AB
11482019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
1149
1150 * gdb.fortran/info-modules.exp: Compile source files in correct
1151 order.
1152
d22670f0
KB
11532019-11-27 Kevin Buettner <kevinb@redhat.com>
1154
1155 * gdb.dwarf2/imported-unit.exp: New file.
1156 * gdb.dwarf2/imported-unit.c: New file.
1157
db5960b4
AB
11582019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
1159
1160 * gdb.mi/mi-fortran-modules-2.f90: New file.
1161 * gdb.mi/mi-fortran-modules.exp: New file.
1162 * gdb.mi/mi-fortran-modules.f90: New file.
1163
7dc42066
AB
11642019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
1165
1166 * gdb.mi/mi-sym-info-1.c: New file.
1167 * gdb.mi/mi-sym-info-2.c: New file.
1168 * gdb.mi/mi-sym-info.exp: New file.
1169
0dfeecca
TT
11702019-11-22 Tom Tromey <tromey@adacore.com>
1171
1172 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
1173 * gdb.ada/tasks/foo.adb: Add another stopping location.
1174
34877895
PJ
11752019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
1176
1177 * gdb.base/endianity.c: New test.
1178 * gdb.base/endianity.exp: New file.
1179
2e84f897
LD
11802019-11-21 Lukas Durfina <ldurfina@tachyum.com>
1181
1182 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
1183
65d1cd5f
TV
11842019-11-21 Tom de Vries <tdevries@suse.de>
1185
1186 PR gdb/24956
1187 * gdb.base/ui-redirect.exp: Test output of user-defined command.
1188
4f22c3f4
SDJ
11892019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
1190
1191 * gdb.python/py-progspace.exp: Add missing parentheses on some
1192 'print' commands.
1193
9f6ad286
TT
11942019-11-19 Tom Tromey <tom@tromey.com>
1195
1196 * gdb.tui/winheight.exp: New file.
1197
0b8dbf3f
AB
11982019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1199
1200 * gdb.base/ctf-whatis.c: Delete.
1201 * gdb.base/ctf-whatis.exp: Delete.
1202 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
1203
f833b7a7
AB
12042019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1205
1206 * gdb.base/ctf-cvexpr.exp: Delete.
1207 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
1208
30d0a636
AB
12092019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1210
1211 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
1212 the compiler. Clean up header comment a little.
1213 * gdb.base/ctf-ptype.exp: Likewise.
1214 * gdb.base/ctf-whatis.exp: Likewise.
1215 * lib/gdb.exp (skip_ctf_tests): New proc.
1216
494409bb
SDJ
12172019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
1218
1219 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
1220 * gdb.tui/corefile-run.exp: New file.
1221
55708e99
TT
12222019-11-14 Tom Tromey <tromey@adacore.com>
1223
1224 * gdb.base/gdbvars.exp (test_convenience_variables): Add
1225 regression tests.
1226
45e42163
TT
12272019-11-12 Tom Tromey <tom@tromey.com>
1228
1229 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
1230 after any command. Expect prompt after WAIT_FOR is seen.
1231 (enter_tui): Enable resize messages.
1232 (command): Expect command in output.
1233 (get_line): Avoid error when cursor appears to be off-screen.
1234 (dump_screen): Include screen size in title.
1235 (_do_resize): New proc, from "resize".
1236 (resize): Rewrite. Do resize in two steps.
1237 * gdb.tui/empty.exp (layouts): Fix entries.
1238 (check_boxes): Remove xfail.
1239 (check_text): Dump screen on failure.
1240
086baaf1
AB
12412019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
1242
1243 * gdb.python/py-symbol.exp: Add test for
1244 gdb.lookup_static_symbols.
1245
09ff83af
AB
12462019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
1247
1248 * gdb.python/py-symbol.c: Declare and call function from new
1249 py-symbol-2.c file.
1250 * gdb.python/py-symbol.exp: Compile both source files, and add new
1251 tests for gdb.lookup_static_symbol.
1252 * gdb.python/py-symbol-2.c: New file.
1253
11af934b
TV
12542019-11-02 Tom de Vries <tdevries@suse.de>
1255
1256 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
1257 * gdb.base/anon.exp: Same.
1258 * gdb.base/auto-connect-native-target.exp: Same.
1259 * gdb.base/call-ar-st.exp: Same.
1260 * gdb.base/catch-syscall.exp: Same.
1261 * gdb.base/commands.exp: Same.
1262 * gdb.base/default.exp: Same.
1263 * gdb.base/display.exp: Same.
1264 * gdb.base/float.exp: Same.
1265 * gdb.base/foll-fork.exp: Same.
1266 * gdb.base/help.exp: Same.
1267 * gdb.base/info-macros.exp: Same.
1268 * gdb.base/info-proc.exp: Same.
1269 * gdb.base/info-target.exp: Same.
1270 * gdb.base/long_long.exp: Same.
1271 * gdb.base/macscp.exp: Same.
1272 * gdb.base/memattr.exp: Same.
1273 * gdb.base/nofield.exp: Same.
1274 * gdb.base/pointers.exp: Same.
1275 * gdb.base/printcmds.exp: Same.
1276 * gdb.base/ptype.exp: Same.
1277 * gdb.base/restore.exp: Same.
1278 * gdb.base/return.exp: Same.
1279 * gdb.base/scope.exp: Same.
1280 * gdb.base/set-noassign.exp: Same.
1281 * gdb.base/setshow.exp: Same.
1282 * gdb.base/shlib-call.exp: Same.
1283 * gdb.base/signals.exp: Same.
1284 * gdb.base/sigstep.exp: Same.
1285 * gdb.base/skip.exp: Same.
1286 * gdb.base/solib-symbol.exp: Same.
1287 * gdb.base/stap-probe.exp: Same.
1288 * gdb.base/step-line.exp: Same.
1289 * gdb.base/step-test.exp: Same.
1290 * gdb.base/style.exp: Same.
1291 * gdb.base/varargs.exp: Same.
1292 * gdb.base/vla-datatypes.exp: Same.
1293 * gdb.base/vla-ptr.exp: Same.
1294 * gdb.base/vla-sideeffect.exp: Same.
1295 * gdb.base/volatile.exp: Same.
1296 * gdb.base/watch-cond-infcall.exp: Same.
1297 * gdb.base/watchpoint.exp: Same.
1298
e96ec2ba
TV
12992019-11-02 Tom de Vries <tdevries@suse.de>
1300
1301 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
1302 * gdb.cp/cpexprs.exp: Same.
1303 * gdb.cp/except-multi-location.exp: Same.
1304 * gdb.cp/exceptprint.exp: Same.
1305 * gdb.cp/gdb2384.exp: Same.
1306 * gdb.cp/inherit.exp: Same.
1307 * gdb.cp/m-static.exp: Same.
1308 * gdb.cp/meth-typedefs.exp: Same.
1309 * gdb.cp/misc.exp: Same.
1310 * gdb.cp/namespace.exp: Same.
1311 * gdb.cp/non-trivial-retval.exp: Same.
1312 * gdb.cp/overload.exp: Same.
1313 * gdb.cp/pr17132.exp: Same.
1314 * gdb.cp/re-set-overloaded.exp: Same.
1315 * gdb.cp/rvalue-ref-types.exp: Same.
1316 * gdb.cp/templates.exp: Same.
1317
bd5766ec
LM
13182019-11-01 Luis Machado <luis.machado@linaro.org>
1319
1320 PR gdb/25124
1321
1322 * gdb.arch/pr25124.S: New file.
1323 * gdb.arch/pr25124.exp: New file.
1324
165f8965
AB
13252019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1326
1327 * gdb.fortran/info-modules.exp: Update expected results, and add
1328 additional tests for 'info module functinos', and 'info module
1329 variables'.
1330 * gdb.fortran/info-types.exp: Update expected results.
1331 * gdb.fortran/info-types.f90: Extend testcase with additional
1332 module variables and functions.
1333
59c35742
AB
13342019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1335
1336 * gdb.fortran/info-modules.exp: New file.
1337 * gdb.fortran/info-types.exp: Build with new file.
1338 * gdb.fortran/info-types.f90: Include and use new module.
1339 * gdb.fortran/info-types-2.f90: New file.
1340
f3fb2519
PW
13412019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1342
1343 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
1344 * gdb.base/settings.exp: Test all settings types using
1345 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
1346 that now verifies that the value of "maint show" is the same as
1347 returned by the settings functions. Test the type of the
1348 maintenance settings.
1349 * gdb.base/default.exp: Update show_conv_list.
1350
d1e36019
TV
13512019-10-31 Tom de Vries <tdevries@suse.de>
1352
1353 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
1354 gdb_test.
1355 * gdb.arch/amd64-disp-step.exp: Same.
1356 * gdb.asm/asm-source.exp: Same.
1357 * gdb.btrace/buffer-size.exp: Same.
1358 * gdb.btrace/cpu.exp: Same.
1359 * gdb.btrace/enable.exp: Same.
1360 * gdb.dwarf2/count.exp: Same.
1361 * gdb.dwarf2/dw2-ranges-func.exp: Same.
1362 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
1363 * gdb.fortran/vla-datatypes.exp: Same.
1364 * gdb.fortran/vla-history.exp: Same.
1365 * gdb.fortran/vla-ptype.exp: Same.
1366 * gdb.fortran/vla-value.exp: Same.
1367 * gdb.fortran/whatis_type.exp: Same.
1368 * gdb.guile/guile.exp: Same.
1369 * gdb.multi/tids.exp: Same.
1370 * gdb.python/py-finish-breakpoint.exp: Same.
1371 * gdb.python/py-framefilter.exp: Same.
1372 * gdb.python/py-pp-registration.exp: Same.
1373 * gdb.python/py-xmethods.exp: Same.
1374 * gdb.python/python.exp: Same.
1375 * gdb.server/connect-with-no-symbol-file.exp: Same.
1376 * gdb.server/no-thread-db.exp: Same.
1377 * gdb.server/run-without-local-binary.exp: Same.
1378 * gdb.stabs/weird.exp: Same.
1379 * gdb.threads/attach-many-short-lived-threads.exp: Same.
1380 * gdb.threads/thread-find.exp: Same.
1381 * gdb.threads/tls-shared.exp: Same.
1382 * gdb.threads/tls.exp: Same.
1383 * gdb.threads/wp-replication.exp: Same.
1384 * gdb.trace/ax.exp: Same.
1385 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
1386
3d11e68e
TV
13872019-10-31 Tom de Vries <tdevries@suse.de>
1388
1389 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
1390 * gdb.ada/array_subscript_addr.exp: Same.
1391 * gdb.ada/arrayidx.exp: Same.
1392 * gdb.ada/arrayparam.exp: Same.
1393 * gdb.ada/arrayptr.exp: Same.
1394 * gdb.ada/boolean_expr.exp: Same.
1395 * gdb.ada/call_pn.exp: Same.
1396 * gdb.ada/complete.exp: Same.
1397 * gdb.ada/fixed_cmp.exp: Same.
1398 * gdb.ada/fun_addr.exp: Same.
1399 * gdb.ada/funcall_param.exp: Same.
1400 * gdb.ada/interface.exp: Same.
1401 * gdb.ada/mod_from_name.exp: Same.
1402 * gdb.ada/null_array.exp: Same.
1403 * gdb.ada/packed_array.exp: Same.
1404 * gdb.ada/packed_tagged.exp: Same.
1405 * gdb.ada/print_chars.exp: Same.
1406 * gdb.ada/print_pc.exp: Same.
1407 * gdb.ada/ptype_arith_binop.exp: Same.
1408 * gdb.ada/ptype_field.exp: Same.
1409 * gdb.ada/ptype_tagged_param.exp: Same.
1410 * gdb.ada/rec_return.exp: Same.
1411 * gdb.ada/ref_tick_size.exp: Same.
1412 * gdb.ada/str_ref_cmp.exp: Same.
1413 * gdb.ada/taft_type.exp: Same.
1414 * gdb.ada/tagged.exp: Same.
1415 * gdb.ada/type_coercion.exp: Same.
1416 * gdb.ada/uninitialized_vars.exp: Same.
1417
60b6ede8
TV
14182019-10-30 Tom de Vries <tdevries@suse.de>
1419
1420 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
1421
30baf67b
TV
14222019-10-26 Tom de Vries <tdevries@suse.de>
1423
1424 * gdb.base/bigcore.c: Fix typos in comments.
1425 * gdb.base/ctf-ptype.c: Same.
1426 * gdb.base/long_long.c: Same.
1427 * gdb.dwarf2/dw2-op-out-param.S: Same.
1428 * gdb.python/py-evthreads.c: Same.
1429 * gdb.reverse/i387-stack-reverse.c: Same.
1430 * gdb.trace/tfile.c: Same.
1431 * lib/compiler.c: Same.
1432 * lib/compiler.cc: Same.
1433
158da0d1
TV
14342019-10-25 Tom de Vries <tdevries@suse.de>
1435
1436 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
1437 gdb_test_multiple calls.
1438 * gdb.reverse/sigall-reverse.exp: Same.
1439 * gdb.reverse/solib-precsave.exp: Same.
1440 * gdb.reverse/solib-reverse.exp: Same.
1441 * gdb.reverse/until-precsave.exp: Same.
1442 * gdb.reverse/until-reverse.exp: Same.
1443
4ccdfbec
TV
14442019-10-24 Tom de Vries <tdevries@suse.de>
1445
1446 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
1447 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
1448 kfail using -wrap pattern flag and convenience variable
1449 gdb_test_name.
1450
33d569b7
AB
14512019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
1452
1453 * gdb.python/py-progspace.exp: Add tests for the
1454 Progspace.block_for_pc method.
1455
4d0b984b
TT
14562019-10-23 Tom Tromey <tom@tromey.com>
1457
1458 * configure: Rebuild.
1459 * aclocal.m4: Use m4_include, not sinclude.
1460
94cb3754
TV
14612019-10-21 Tom de Vries <tdevries@suse.de>
1462
1463 * gdb.base/infcall-nested-structs.c: Add
1464 __attribute__((noinline,noclone)) to all functions.
1465 (call_all): Add missing variable initialization. Simplify return value.
1466 (breakpt): Increment volatile variable, to prevent call from being
1467 optimized out.
1468 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
1469
062f1fc1
TV
14702019-10-17 Tom de Vries <tdevries@suse.de>
1471
1472 * gdb.fortran/module.exp: Allow info variables to print info for files
1473 other than module.f90.
1474
0b54364d
AB
14752019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
1476
1477 * gdb.fortran/module.exp: Extend with 'info variables' test.
1478
7ff5fae7
AB
14792019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
1480
1481 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
1482 F77_FOR_TARGET.
1483
d10eccaa
TV
14842019-10-16 Tom de Vries <tdevries@suse.de>
1485
1486 PR tdep/25096
1487 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
1488
745ff14e
TV
14892019-10-16 Tom de Vries <tdevries@suse.de>
1490
1491 PR tdep/24104
1492 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
1493 Add KFAIL for PR tdep/25096.
1494
03e1ab94
TV
14952019-10-16 Tom de Vries <tdevries@suse.de>
1496
1497 PR testsuite/25059
1498 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
1499
b17fcc10
TV
15002019-10-16 Tom de Vries <tdevries@suse.de>
1501
1502 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
1503 as signed.
1504
9223170f
SM
15052019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
1506
1507 * gdb.mi/list-thread-groups-available.exp: Read entries one by
1508 one instead of increasing timeout.
1509
d6e76313
TV
15102019-10-13 Tom de Vries <tdevries@suse.de>
1511
1512 PR record/25038
1513 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
1514 * gdb.reverse/sigall-reverse.exp: Same.
1515 * gdb.reverse/solib-precsave.exp: Same.
1516 * gdb.reverse/solib-reverse.exp: Same.
1517 * gdb.reverse/step-precsave.exp: Same.
1518 * gdb.reverse/until-precsave.exp: Same.
1519 * gdb.reverse/until-reverse.exp: Same.
1520 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
1521
6dfc0041
AA
15222019-10-10 Andreas Arnez <arnez@linux.ibm.com>
1523
1524 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
1525 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
1526 (cmp_struct_05_01, cmp_struct_static_02_01)
1527 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
1528 comparisons.
1529
abcf2cc8
TV
15302019-10-10 Tom de Vries <tdevries@suse.de>
1531
1532 PR testsuite/24888
1533 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
1534 gnatlink.
1535
a50faaf6
TV
15362019-10-09 Tom de Vries <tdevries@suse.de>
1537
1538 PR testsuite/25048
1539 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
1540
60ff3cd7
AB
15412019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
1542
1543 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
1544 exceptions due to missing debug information.
1545
dfee8566
TV
15462019-10-07 Tom de Vries <tdevries@suse.de>
1547
1548 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
1549
3d63690a
AB
15502019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
1551
1552 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
1553 * gdb.base/annota1.exp: Update to use gdb_test_name.
1554
30d1f018
WP
15552019-10-07 Weimin Pan <weimin.pan@oracle.com>
1556
1557 * gdb.base/ctf-whatis.exp: New file.
1558 * gdb.base/ctf-whatis.c: New file.
1559 * gdb.base/ctf-ptype.exp: New file.
1560 * gdb.base/ctf-ptype.c: New file.
1561 * gdb.base/ctf-constvars.exp: New file.
1562 * gdb.base/ctf-constvars.c: New file.
1563 * gdb.base/ctf-cvexpr.exp: New file.
1564
4dbbb47c
TV
15652019-10-04 Tom de Vries <tdevries@suse.de>
1566
1567 * gdb.cp/local-static.c (main): Move declaration of int i out of the
1568 for loop.
1569
77c2dba3
TT
15702019-10-03 Tom Tromey <tom@tromey.com>
1571
1572 PR rust/24976:
1573 * gdb.rust/simple.rs (Union2): New type.
1574 (main): Use Union2.
1575 * gdb.rust/simple.exp: Add test.
1576
179aed7f
AB
15772019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1578
1579 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
1580 nested function prefix.
1581
0a4b0913
AB
15822019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
1583 Richard Bunt <richard.bunt@arm.com>
1584 Andrew Burgess <andrew.burgess@embecosm.com>
1585
1586 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
1587 nested functions.
1588 * gdb.fortran/nested-funcs.f90: Update expected results.
1589 * gdb.fortran/nested-funcs-2.exp: New file.
1590 * gdb.fortran/nested-funcs-2.f90: New file.
1591
082cce05
AB
15922019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1593
1594 * gdb.python/py-parameter.exp: Make test names unique.
1595 * gdb.python/py-template.exp: Likewise.
1596 * gdb.python/py-value.exp: Likewise.
1597
2b74ba5a
AB
15982019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1599
1600 * gdb.base/break-interp.exp: Reduce test name duplication.
1601 * gdb.base/call-sc.exp: Likewise.
1602 * gdb.base/callfuncs.exp: Likewise.
1603 * gdb.base/charset.exp: Likewise.
1604 * gdb.base/dump.exp: Likewise.
1605 * gdb.base/ena-dis-br.exp: Likewise.
1606 * gdb.base/relational.exp: Likewise.
1607 * gdb.base/step-over-syscall.exp: Likewise.
1608 * gdb.base/structs.exp: Likewise.
1609
58eb20d5
AB
16102019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1611
1612 * gdb.linespec/explicit.exp: Make test names unique.
1613 * gdb.linespec/ls-errs.exp: Likewise.
1614
4d421147
AB
16152019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1616
1617 * gdb.reverse/break-precsave.exp: Make test names unique.
1618 * gdb.reverse/break-reverse.exp: Likewise.
1619 * gdb.reverse/finish-precsave.exp: Likewise.
1620 * gdb.reverse/finish-reverse.exp: Likewise.
1621 * gdb.reverse/machinestate-precsave.exp: Likewise.
1622 * gdb.reverse/machinestate.exp: Likewise.
1623 * gdb.reverse/readv-reverse.exp: Likewise.
1624 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1625 * gdb.reverse/sigall-precsave.exp: Likewise.
1626 * gdb.reverse/sigall-reverse.exp: Likewise.
1627 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
1628 * gdb.reverse/watch-precsave.exp: Likewise.
1629 * gdb.reverse/watch-reverse.exp: Likewise.
1630
d8c06f22
AB
16312019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1632
1633 * gdb.threads/stop-with-handle.c: New file.
1634 * gdb.threads/stop-with-handle.exp: New file.
1635
3a56ed86
TV
16362019-10-03 Tom de Vries <tdevries@suse.de>
1637
1638 PR testsuite/25059
1639 * gdb.base/list-missing-source.exp: Allowing the "Compilation
1640 directory" line to be missing.
1641
42275044
TV
16422019-10-03 Tom de Vries <tdevries@suse.de>
1643
1644 PR testsuite/25059
1645 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
1646 type optional.
1647
9ef62df0
AA
16482019-10-02 Andreas Arnez <arnez@linux.ibm.com>
1649
1650 * gdb.python/py-format-string.c (string.h): New include.
1651 (main): Fill a_struct_with_union.the_union.an_int with bytes of
1652 the same value, for endianness-independence.
1653 * gdb.python/py-format-string.exp (default_regexp_dict)
1654 (test_pretty_structs, test_format): Adjust expected output to the
1655 changed initialization.
1656
37f6a7f4
TT
16572019-10-02 Tom Tromey <tromey@adacore.com>
1658
1659 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
1660
1d58d6a2
PA
16612019-10-02 Pedro Alves <palves@redhat.com>
1662 Andrew Burgess <andrew.burgess@embecosm.com>
1663
1664 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
1665 "print-file-var.h".
1666 (this_version_id) Use ATTRIBUTE_VISIBILITY.
1667 (get_version_1): Print this_version_id and its address.
1668 Add extern "C" wrappers around interface functions.
1669 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
1670 "print-file-var.h".
1671 (this_version_id) Use ATTRIBUTE_VISIBILITY.
1672 (get_version_2): Print this_version_id and its address.
1673 Add extern "C" wrappers around interface functions.
1674 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
1675 <stddef.h> and "print-file-var.h".
1676 Add extern "C" wrappers around interface functions.
1677 [VERSION_ID_MAIN] (this_version_id): Define.
1678 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
1679 * gdb.base/print-file-var.h: Add some #defines to simplify setting
1680 up extern "C" blocks.
1681 * gdb.base/print-file-var.exp (test): New, factored out from top
1682 level.
1683 (top level): Test all combinations of attribute hidden or not,
1684 dlopen or not, and this_version_id symbol in main file or not.
1685 Compile tests as both C++ and C, make test names unique.
1686
d770d56f
TT
16872019-10-01 Tom Tromey <tom@tromey.com>
1688
1689 * gdb.base/style.exp: Test "show logging filename".
1690
7f6aba03
TT
16912019-10-01 Tom Tromey <tom@tromey.com>
1692
1693 * lib/gdb-utils.exp (style): Handle "metadata" argument.
1694 * gdb.base/style.exp: Add metadata style test.
1695
14309bb6
TT
16962019-10-01 Tom Tromey <tom@tromey.com>
1697
1698 * gdb.base/style.exp: Test "pwd".
1699
2a3c1174
PA
17002019-10-01 Tom Tromey <tom@tromey.com>
1701
1702 * gdb.base/style.exp: Update tests.
1703
53d666ec
AA
17042019-10-01 Andreas Arnez <arnez@linux.ibm.com>
1705
1706 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
1707 'six' to unsigned.
1708 (s1): Initialize fields 'four' and 'six' instead of 'three' and
1709 'five'. Use an all-ones bit pattern for each.
1710 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
1711 to its changed values.
1712
4a56a520
TT
17132019-09-30 Tom Tromey <tromey@adacore.com>
1714
1715 * gdb.rust/traits.rs: Disable all warnings.
1716
0df0352a
TV
17172019-09-29 Tom de Vries <tdevries@suse.de>
1718
1719 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
1720
73d9a918
TV
17212019-09-29 Tom de Vries <tdevries@suse.de>
1722
1723 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
1724
060b3ab4
TV
17252019-09-27 Tom de Vries <tdevries@suse.de>
1726
1727 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
1728
68f7d34d
TV
17292019-09-27 Tom de Vries <tdevries@suse.de>
1730
1731 PR record/23188
1732 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
1733
5d63b30a
TT
17342019-09-26 Tom Tromey <tromey@adacore.com>
1735
1736 * gdb.ada/py_taft.exp: New file.
1737 * gdb.ada/py_taft/main.adb: New file.
1738 * gdb.ada/py_taft/pkg.adb: New file.
1739 * gdb.ada/py_taft/pkg.ads: New file.
1740
3d435220
TV
17412019-09-24 Tom de Vries <tdevries@suse.de>
1742
1743 PR gdb/24598
1744 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
1745
77d03678
TV
17462019-09-22 Tom de Vries <tdevries@suse.de>
1747
1748 * gdb.base/restore.exp: Allow register variables to be optimized out at
1749 -O0.
1750
abf516c6
UW
17512019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
1752
1753 * gdb.arch/spu-info.exp: Remove file.
1754 * gdb.arch/spu-info.c: Remove file.
1755 * gdb.arch/spu-ls.exp: Remove file.
1756 * gdb.arch/spu-ls.c: Remove file.
1757
1758 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
1759 * gdb.asm/spu.inc: Remove file.
1760
1761 * gdb.base/dump.exp: Remove support for spu*-*-*.
1762 * gdb.base/stack-checking.exp: Likewise.
1763 * gdb.base/overlays.exp: Likewise.
1764 * gdb.base/ovlymgr.c: Likewise.
1765 * gdb.base/spu.ld: Remove file.
1766
1767 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
1768 * gdb.cp/cpexprs.exp: Likewise.
1769 * gdb.cp/exception.exp: Likewise.
1770 * gdb.cp/gdb2495.exp: Likewise.
1771 * gdb.cp/mb-templates.exp: Likewise.
1772 * gdb.cp/pr9167.exp: Likewise.
1773 * gdb.cp/userdef.exp: Likewise.
1774
1775 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
1776
1777 * gdb.cell: Remove directory.
1778 * lib/cell.exp: Remove file.
1779
e452e88f
TV
17802019-09-19 Tom de Vries <tdevries@suse.de>
1781
1782 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
1783
8a625130
TV
17842019-09-19 Tom de Vries <tdevries@suse.de>
1785
1786 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
1787
81dc3ab5
TV
17882019-09-19 Tom de Vries <tdevries@suse.de>
1789
1790 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
1791 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
1792 (gdb_target_cmd): ... here.
1793 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
1794 value 2.
1795
b078f3ac
AB
17962019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
1797
1798 * gdb.base/source-dir.exp: Avoid having directory names in test
1799 names.
1800
f1b620e9
MG
18012019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
1802
1803 * gdb.base/source-dir.exp: Add extra test for mapped compilation
1804 directory.
1805
67f3ed6a
AB
18062019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
1807
1808 * gdb.base/list-missing-source.exp: New file.
1809
d1b70248
TV
18102019-09-14 Tom de Vries <tdevries@suse.de>
1811
1812 PR teststuite/24599
1813 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
1814 * lib/ada.exp (gnatmake_version_at_least): New proc.
1815
5fabdcd6
AB
18162019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
1817
1818 * gdb.base/maint.exp: Use exec_has_index_section.
1819
aa17805f
AB
18202019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
1821
1822 * gdb.base/maint.exp: Add test for 'maint info sections'.
1823
25e5c209
TV
18242019-09-12 Tom de Vries <tdevries@suse.de>
1825
1826 * gdb.base/store.exp: Allow register variables to be optimized out at
1827 -O0.
1828
4993045d
PW
18292019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1830
1831 * gdb.ada/rdv_wait.exp: Update to new task names.
1832 * gdb.base/task_switch_in_core.exp: Likewise.
1833 * gdb.base/info_sources_base.c: Likewise.
1834
8a516164
TT
18352019-09-10 Tom Tromey <tromey@adacore.com>
1836
1837 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
1838
aa391654
TT
18392019-09-10 Tom Tromey <tromey@adacore.com>
1840
1841 * gdb.ada/dgopt.exp: New file.
1842 * gdb.ada/dgopt/x.adb: New file.
1843
8634b462
TT
18442019-09-08 Tom Tromey <tom@tromey.com>
1845
1846 * gdb.tui/resize.exp: Remove setup_xfail.
1847 * gdb.tui/regs.exp: Remove setup_xfail.
1848 * gdb.tui/basic.exp: Remove setup_xfail.
1849
736b0f76
DB
18502019-09-06 David Blaikie <dblaikie@gmail.com>
1851
1852 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
1853 * gdb.cp/cplabel.exp: Ditto.
1854 * gdb.linespec/ls-errs.exp: Ditto.
1855
30331a6c
TV
18562019-09-05 Tom de Vries <tdevries@suse.de>
1857
1858 * lib/gdb.exp (cmp_file_string): New proc.
1859 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
1860 runto_main. Verify save breakpoints output.
1861
98b0ebab
PW
18622019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1863
1864 * gdb.base/info-var.exp: Test info variables without running
1865 to main, to avoid expect's buffer overflow.
1866
4e962e74
TT
18672019-09-03 Tom Tromey <tromey@adacore.com>
1868
1869 * gdb.ada/bias.exp: New file.
1870 * gdb.ada/bias/bias.adb: New file.
1871 * gdb.ada/print_chars.exp: Add regression test.
1872 * gdb.ada/print_chars/foo.adb (My_Character): New type.
1873 (MC): New variable.
1874
2ea1a07a
SL
18752019-08-29 Sandra Loosemore <sandra@codesourcery.com>
1876
1877 * gdb.base/argv0-symlink.exp: Run only on native target
1878 and local host.
1879
8077c50d
TV
18802019-08-29 Tom de Vries <tdevries@suse.de>
1881
1882 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
1883 diverse debug info.
1884 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
1885
48352473
TV
18862019-08-28 Tom de Vries <tdevries@suse.de>
1887
1888 * gdb.base/info-var.exp: Allow info variables to print info for files
1889 other than info-var-f1.c and info-var-f2.c.
1890
d8f27c60
AB
18912019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
1892
1893 * gdb.fortran/info-types.exp: Add module.
1894 * gdb.fortran/info-types.f90: Update expected results.
1895
1f20c35e
AB
18962019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
1897
1898 * gdb.fortran/info-types.exp: New file.
1899 * gdb.fortran/info-types.f90: New file.
1900 * lib/fortran.exp (fortran_character1): New proc.
1901
4acfdd20
AB
19022019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
1903
1904 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
1905 functions'. Reindent as needed.
1906 * gdb.base/info-var-f1.c: New file.
1907 * gdb.base/info-var-f2.c: New file.
1908 * gdb.base/info-var.exp: New file.
1909 * gdb.base/info-var.h: New file.
1910
5c31b358
TV
19112019-08-26 Tom de Vries <tdevries@suse.de>
1912
1913 PR c++/24852
1914 * gdb.cp/no-libstdcxx-probe.exp: New test.
1915
b694989f
TV
19162019-08-26 Tom de Vries <tdevries@suse.de>
1917
1918 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
1919 * tests need to be skipped.
1920 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
1921 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
1922 mi_skip_libstdcxx_probe_tests.
1923
d9c4ba53
SDJ
19242019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
1925
1926 * gdb.python/py-xmethods.exp: Use raw strings when passing
1927 arguments to SimpleXMethodMatcher.
1928
395fad09
TV
19292019-08-22 Tom de Vries <tdevries@suse.de>
1930
1931 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
1932 more informative.
1933
26c957f1
PA
19342019-08-21 Pedro Alves <palves@redhat.com>
1935
1936 * gdb.base/with.exp: Test "with" with no arguments.
1937
61f80d5d
TV
19382019-08-21 Tom de Vries <tdevries@suse.de>
1939
1940 * gdb.base/gdb-caching-proc.exp: Sort files.
1941
d7a11d13
TV
19422019-08-20 Tom de Vries <tdevries@suse.de>
1943
1944 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
1945 compilation.
1946
34dafe9f
TV
19472019-08-16 Tom de Vries <tdevries@suse.de>
1948
1949 * gdb.base/compare-sections.exp ("after run to main"): Allow
1950 mismatched read-only sections for PIE executables.
1951
398fdd60
TT
19522019-08-16 Tom Tromey <tom@tromey.com>
1953
1954 * lib/tuiterm.exp (_csi_Z): New proc.
1955 * gdb.tui/basic.exp: Update window positions.
1956 * gdb.tui/empty.exp: Update window positions.
1957
d8f9e51c
SL
19582019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1959
1960 * gdb.base/examine-backward.exp: Correct regexp for
1961 "examine 3 bytes backward from ${address_zero}".
1962
3df505f6
TT
19632019-08-15 Tom Tromey <tom@tromey.com>
1964
1965 * gdb.tui/empty.exp: Enable resizing tests.
1966
272560b5
TT
19672019-08-15 Tom Tromey <tromey@adacore.com>
1968
1969 * gdb.ada/char_enum.exp: Add regression tests.
1970 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
1971 and '0'.
1972 (Char, Gchar): Update.
1973 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
1974
08235187
CB
19752019-08-15 Christian Biesinger <cbiesinger@google.com>
1976
1977 * gdb.python/python.exp: Expect a leading underscore on
1978 GdbOutput{,Error}File.
1979
22a2ab04
SL
19802019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1981
1982 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
1983 Windows host.
1984
835b995b
SL
19852019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1986
1987 * gdb.base/batch-preserve-term-settings.exp
1988 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
1989
97dd8e07
CB
19902019-08-15 Christian Biesinger <cbiesinger@google.com>
1991
1992 * lib/gdb.exp: When running on a mingw target, replace
1993 /x/ with x:/.
1994
75faf5c4
AH
19952019-08-14 Alan Hayward <alan.hayward@arm.com>
1996
1997 * gdb.arch/aarch64-prologue.c: New test.
1998 * gdb.arch/aarch64-prologue.exp: New file.
1999
abc6c00f
TV
20002019-08-13 Tom de Vries <tdevries@suse.de>
2001
2002 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
2003 Thread.
2004
74c2c1f4
SL
20052019-08-13 Sandra Loosemore <sandra@codesourcery.com>
2006
2007 * gdb.python/py-completion.exp: Download the .py file to the host
2008 and use its host pathname. Conditionalize tests that use
2009 tab completion and manipulate files on the build machine.
2010 * gdb.python/py-events.exp: Download the .py file to the host
2011 and use its host pathname.
2012 * gdb.python/py-evsignal.exp: Likewise.
2013 * gdb.python/py-evthreads.exp: Likewise.
2014 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
2015 pathname syntax.
2016 * gdb.python/py-framefilter.exp: Download the .py file to the right
2017 place on the host. Match Windows pathname syntax.
2018 * gdb.python/py-mi-var-info-path-expression.exp: Download the
2019 .py file to the host and use its host pathname.
2020 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
2021 * gdb.python/py-objfile.exp: Expect a host pathname, not a
2022 build pathname. Skip symlink test on Windows host. Add missing
2023 newline at end of file.
2024 * gdb.python/py-pp-maint.exp: Download the .py file to the host
2025 and use its host pathname.
2026 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
2027 * gdb.python/py-section-script.exp: Use host location of binfile
2028 on safe-path. Use correct path separator on Windows host.
2029 Reorder alternatives in gdb_test_multiple to prevent matching
2030 the wrong alternative on success.
2031 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
2032
ca2589f3
PP
20332019-08-12 Patrick Palka <patrick@parcs.ath.cx>
2034
2035 * gdb.gdb/selftest.exp (test_with_self): Update test to now
2036 expect the GDB inferior to no longer immediately stop after
2037 being resumed with "signal SIGINT".
2038
020a839d
SL
20392019-08-09 Sandra Loosemore <sandra@codesourcery.com>
2040
2041 * gdb.linespec/break-ask.exp: Generalize regexps to match
2042 Windows pathnames too.
2043
128d6509
TV
20442019-08-08 Tom de Vries <tdevries@suse.de>
2045
2046 PR testsuite/24862
2047 * lib/tuiterm.exp (_accept): Fix CSI regexp.
2048
590042fc
PW
20492019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2050
2051 * gdb.base/style.exp: Update tests for help doc new invariants.
2052 * gdb.base/help.exp: Likewise.
2053
046bebe1
TT
20542019-08-06 Tom Tromey <tom@tromey.com>
2055
2056 * gdb.base/style.exp: Add disassemble test.
2057 * gdb.base/style.c (some_called_function): New function.
2058 (main): Use it.
2059
0b27c27d
CB
20602019-08-05 Christian Biesinger <cbiesinger@google.com>
2061
2062 * gdb.python/py-block.exp: Test dictionary access on blocks.
2063
580f1034
SM
20642019-08-05 Simon Marchi <simon.marchi@efficios.com>
2065
2066 PR gdb/24863
2067 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
2068 -list-thread-groups --available test when running under
2069 check-read1.
2070
d86bd7cb
TV
20712019-08-05 Tom de Vries <tdevries@suse.de>
2072
2073 PR testsuite/24863
2074 * lib/gdb.exp (with_read1_timeout_factor): New proc.
2075 * gdb.base/help.exp: Use with_read1_timeout_factor.
2076 * gdb.base/info-macros.exp: Same.
2077 * gdb.cp/nested-types.exp: Same.
2078
a80cf5d8
TV
20792019-08-05 Tom de Vries <tdevries@suse.de>
2080
2081 * lib/gdb.exp (version_at_least): Factor out of ...
2082 (tcl_version_at_least): ... here.
2083 (gdb_compile): Fail if pie results in non-PIE executable.
2084 (readelf_version, readelf_prints_pie): New proc.
2085 (exec_is_pie): Return -1 if unknown.
2086
d0962838
TV
20872019-08-05 Tom de Vries <tdevries@suse.de>
2088
2089 * lib/gdb.exp (tcl_version_at_least): Fix typo.
2090
2252ff3d
SL
20912019-08-04 Sandra Loosemore <sandra@codesourcery.com>
2092
2093 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
2094
26655f53
SL
20952019-08-04 Sandra Loosemore <sandra@codesourcery.com>
2096
2097 * lib/completion-support.exp (test_gdb_complete_none): Skip
2098 tab completion tests if no readline support.
2099 (test_gdb_complete_unique_re): Likewise.
2100 (test_gdb_complete_multiple): Likewise.
2101
db4dc13e
PW
21022019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2103
2104 * gdb.base/info_sources.exp: New file.
2105 * gdb.base/info_sources.c: New file.
2106 * gdb.base/info_sources_base.c: New file.
2107
0eba165a
PFC
21082019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2109
2110 * gdb.base/batch-exit-status.exp: Call test_exit_status with
2111 prefix argument.
2112 (test_exit_status): Add prefix argument.
2113
59bd512b
TV
21142019-08-01 Tom de Vries <tdevries@suse.de>
2115
2116 PR testsuite/24863
2117 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
2118 calling exp_continue for new thread and thread exited messages.
2119
2a3ad588
TV
21202019-08-01 Tom de Vries <tdevries@suse.de>
2121
2122 PR testsuite/24863
2123 * gdb.base/structs.exp: Fix check-read1 timeout using
2124 gdb_test_sequence.
2125 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
2126
117eb594
TV
21272019-08-01 Tom de Vries <tdevries@suse.de>
2128
2129 PR testsuite/24863
2130 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
2131 line.
2132
ed591340
TV
21332019-08-01 Tom de Vries <tdevries@suse.de>
2134
2135 PR testsuite/24863
2136 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
2137
aa3b6533
TT
21382019-07-30 Tom Tromey <tromey@adacore.com>
2139
2140 * gdb.ada/display_nested.exp: New file.
2141 * gdb.ada/display_nested/foo.adb: New file.
2142 * gdb.ada/display_nested/pack.adb: New file.
2143 * gdb.ada/display_nested/pack.ads: New file.
2144
2906593f
CB
21452019-07-30 Christian Biesinger <cbiesinger@google.com>
2146
2147 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
2148 namespace.
2149 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
2150
0f575925
TV
21512019-07-30 Tom de Vries <tdevries@suse.de>
2152
2153 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
2154 instead.
2155
b13057d9
TV
21562019-07-30 Tom de Vries <tdevries@suse.de>
2157
2158 PR testsuite/24834
2159 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
2160 (exec_is_pie): New proc.
2161
5c4dde85
CB
21622019-07-29 Christian Biesinger <cbiesinger@google.com>
2163
2164 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
2165
c620ed88
CB
21662019-07-29 Christian Biesinger <cbiesinger@google.com>
2167
2168 * gdb.python/py-objfile.c: Add global and static vars.
2169 * gdb.python/py-objfile.exp: Test new functions Objfile.
2170 lookup_global_symbol and lookup_static_symbol.
2171
3d235706
TT
21722019-07-29 Tom Tromey <tom@tromey.com>
2173
2174 * lib/tuiterm.exp (Term::_csi_@): New proc.
2175 (Term::_csi_X): Don't move cursor.
2176
c7e4c0a6
PW
21772019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2178
2179 * gdb.base/options.exp: Update backtrace - completion to
2180 new option -frame-info.
2181 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
2182 Test new 'set print frame-info'. Test backtrace -frame-info
2183 overriding 'set print frame-info'.
2184 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
2185 Test new 'set print frame-info'.
2186 Verify consistency of backtrace with and without filters, with and
2187 without -no-filters.
2188 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
2189 default.
2190
de28a3b7
TV
21912019-07-29 Tom de Vries <tdevries@suse.de>
2192
2193 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
2194 no arguments".
2195
507dd60e
TV
21962019-07-29 Tom de Vries <tdevries@suse.de>
2197
2198 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
2199 is a substring of the first for "complete non-unique file name".
2200
5beafce9
TV
22012019-07-29 Tom de Vries <tdevries@suse.de>
2202
2203 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
2204 with ".*".
2205
2d274232
TV
22062019-07-29 Tom de Vries <tdevries@suse.de>
2207
2208 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
2209 Pass prompt_regexp parameter to gdb_test_multiple calls.
2210
9197cd8b
TV
22112019-07-29 Tom de Vries <tdevries@suse.de>
2212
2213 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
2214 print registers" regexps.
2215
b528dae0
TV
22162019-07-29 Tom de Vries <tdevries@suse.de>
2217
2218 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
2219
d17725d7
TV
22202019-07-29 Tom de Vries <tdevries@suse.de>
2221
2222 PR gdb/24855
2223 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
2224 (skip_python_tests_prompt): Add prompt_regexp argument to
2225 gdb_test_multiple calls.
2226
52b75bf1
TT
22272019-07-27 Tom Tromey <tom@tromey.com>
2228
2229 * gdb.tui/main.exp: New file.
2230
2b1d00c2
TT
22312019-07-27 Tom Tromey <tom@tromey.com>
2232
2233 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
2234 optional.
2235 * gdb.tui/empty.exp: New file.
2236
ded631d5
TT
22372019-07-27 Tom Tromey <tom@tromey.com>
2238
2239 * lib/tuiterm.exp (spawn): New proc.
2240 (Term::resize): New proc.
2241 * gdb.tui/resize.exp: New file.
2242
58ac439d
TT
22432019-07-27 Tom Tromey <tom@tromey.com>
2244
2245 * gdb.tui/list.exp: New file.
2246
fe1f56ee
TT
22472019-07-27 Tom Tromey <tom@tromey.com>
2248
2249 * gdb.tui/regs.exp: New file.
2250
f790b310
TT
22512019-07-27 Tom Tromey <tom@tromey.com>
2252
2253 * gdb.tui/basic.exp: Add "layout split" test.
2254
d95fc6ee
TT
22552019-07-27 Tom Tromey <tom@tromey.com>
2256
2257 * gdb.tui/basic.exp: Add "layout asm" test.
2258
c3786b3a
TT
22592019-07-27 Tom Tromey <tom@tromey.com>
2260
2261 * lib/tuiterm.exp: New file.
2262 * gdb.tui/basic.exp: New file.
2263
98a617f8
KB
22642019-07-27 Kevin Buettner <kevinb@redhat.com>
2265
2266 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
2267 Enable tests associated with this flag. Adjust regex
2268 referencing "foo_low" to now refer to "foo_cold" instead.
2269
5c076da4
KB
22702019-07-27 Kevin Buettner <kevinb@redhat.com>
2271
2272 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
2273 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
2274 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
2275 foo_cold. Revise comments to match.
2276 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
2277 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
2278 were wrapped into this proc; Call do_test in loop from outermost
2279 level.
2280 (foo_low): Rename all occurrences to "foo_cold".
2281 (backtrace from baz): New test.
2282 (x2/i foo_cold): New test.
2283 (info line *foo_cold): New test.
2284
1512d3b7
TV
22852019-07-26 Tom de Vries <tdevries@suse.de>
2286
2287 * gdb.arch/i386-pkru.exp: Fix unterminated string.
2288
297989a1
TV
22892019-07-25 Tom de Vries <tdevries@suse.de>
2290
2291 PR testsuite/24830
2292 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
2293 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
2294 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
2295 (skip_libstdcxx_probe_tests): ... here.
2296 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
2297
b3b965fb
TV
22982019-07-24 Tom de Vries <tdevries@suse.de>
2299
2300 PR testsuite/24807
2301 * gdb.objc/basicclass.m: Include stdio.h.
2302 * gdb.objc/nondebug.m: Same.
2303 * gdb.objc/objcdecode.m: Same.
2304
4625b4d0
TV
23052019-07-24 Tom de Vries <tdevries@suse.de>
2306
2307 PR testsuite/24612
2308 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
2309 additional_flags.
2310
024a5840
TV
23112019-07-24 Tom de Vries <tdevries@suse.de>
2312
2313 PR testsuite/24831
2314 * gdb.multi/tids.exp: Update error messages for info threads.
2315
c76ddaa3
TV
23162019-07-24 Tom de Vries <tdevries@suse.de>
2317
2318 * gdb.base/info-types.exp: Allow info types to print info for more than
2319 one file.
2320
9a618ef6
TV
23212019-07-23 Tom de Vries <tdevries@suse.de>
2322
2323 PR testsuite/24842
2324 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
2325 gdb_spawn_with_cmdline_opts.
2326
40eadf04
SP
23272019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
2328
2329 * gdb.arch/arm-cmse-sgstubs.c: New test.
2330 * gdb.arch/arm-cmse-sgstubs.exp: New file.
2331
5ba29434
TV
23322019-07-23 Tom de Vries <tdevries@suse.de>
2333
2334 PR testsuite/24711
2335 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
2336 issuing next command.
2337
a8e9d247
AB
23382019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
2339
2340 * gdb.ada/info_auto_lang.exp: Update expected results.
2341 * gdb.base/info-types.c: Add additional types to check.
2342 * gdb.base/info-types.exp: Update expected results.
2343
eb86c5e2
AB
23442019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
2345
2346 * gdb.base/info-types.c: New file.
2347 * gdb.base/info-types.exp: New file.
2348
01e175fe
AB
23492019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
2350
2351 * gdb.arch/riscv-bp-infcall.c: New file.
2352 * gdb.arch/riscv-bp-infcall.exp: New file.
2353
6b78c3f8
AB
23542019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
2355
2356 PR breakpoints/24541
2357 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
2358
da738167
TV
23592019-07-14 Tom de Vries <tdevries@suse.de>
2360
2361 PR testsuite/24760
2362 * gdb.objc/basicclass.exp: Fix unterminated string.
2363
0d4e84ed
AB
23642019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
2365 Andrew Burgess <andrew.burgess@embecosm.com>
2366
2367 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
2368 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
2369 negative bounds.
2370 * gdb.fortran/vla-value.exp: Print elements of an array with
2371 negative bounds.
2372 * gdb.fortran/vla.f90: Setup an array with negative bounds for
2373 testing.
2374
021d8588
AB
23752019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
2376
2377 * gdb.base/options.exp (expect_string): Dequote strings in
2378 results.
2379 (test-string): Test strings with different quoting and reindent.
2380
f06f1252
TT
23812019-07-10 Tom Tromey <tromey@adacore.com>
2382
2383 * gdb.ada/mi_ex_cond.exp: Update expected results.
2384 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
2385 * gdb.ada/mi_catch_ex.exp: Update expected results.
2386 * gdb.ada/mi_catch_assert.exp: Update expected results.
2387 * gdb.ada/catch_ex.exp (catch_exception_info)
2388 (catch_exception_entry, catch_assert_entry)
2389 (catch_unhandled_entry): Update.
2390 * gdb.ada/catch_assert_if.exp: Update expected results.
2391
b863685d
RB
23922019-07-10 Richard Bunt <richard.bunt@arm.com>
2393 Stephen Roberts <stephen.roberts@arm.com>
2394
2395 * gdb.base/define.exp: Restore original prompt.
2396
cb1e4e32
PA
23972019-07-09 Pedro Alves <palves@redhat.com>
2398
2399 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
2400 breakpoints" output.
2401 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
2402 * gdb.python/py-breakpoint.exp: No longer expect that "catch
2403 throw" creates breakpoint.
2404 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
2405 'type="catchpoint"'.
2406
b58a68fe
PA
24072019-07-09 Pedro Alves <palves@redhat.com>
2408
2409 PR c++/15468
2410 * gdb.cp/except-multi-location-lib.cc: New.
2411 * gdb.cp/except-multi-location-main.cc: New.
2412 * gdb.cp/except-multi-location.exp: New.
2413
0826779b
PW
24142019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
2415
2416 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
2417 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
2418 argument and update callers.
2419
5b0e2db4
AB
24202019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2421
2422 * gdb.arch/amd64-break-on-asm-line.S: New file.
2423 * gdb.arch/amd64-break-on-asm-line.exp: New file.
2424
1f6f6e21
PW
24252019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2426
2427 * gdb.base/printcmds.exp: Test printing C string and
2428 C wide string convenience vars without transiting via the inferior.
2429 Also make test names unique.
2430
ea142fbf
AH
24312019-07-08 Alan Hayward <alan.hayward@arm.com>
2432
5862c886 2433 PR breakpoints/25011
ea142fbf
AH
2434 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
2435
213fd9fa
PA
24362019-07-04 Pedro Alves <palves@redhat.com>
2437
2438 * lib/gdb.exp (foreach_with_prefix): Don't return early if
2439 body returned ok(0), break(3) or continue(4).
2440 * gdb.testsuite/foreach_with_prefix.exp: New file.
2441
2b40fda7
AH
24422019-07-04 Alan Hayward <alan.hayward@arm.com>
2443
2444 * gdb.server/unittest.exp: Allow 0 unit tests to run.
2445
a26c8de0
PA
24462019-07-03 Pedro Alves <palves@redhat.com>
2447
2448 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
2449 "return -code".
2450
5f4ba3e7
PA
24512019-07-03 Pedro Alves <palves@redhat.com>
2452
2453 PR cli/24732
2454 * gdb.base/shell.exp: Load completion-support.exp.
2455 Adjust expected error output. Add completion tests.
2456
a994424f
PA
24572019-07-03 Pedro Alves <palves@redhat.com>
2458
2459 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
2460 string_to_regexp.
2461
3d9be6f5
PA
24622019-07-03 Pedro Alves <palves@redhat.com>
2463
2464 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
2465 (expect_integer): Adjust to expect "-string".
2466 (expect_string): New.
2467 (all_options): Expect "-string".
2468 (test-flag, test-boolean): Adjust to expect "-string".
2469 (test-string): New proc.
2470 (top level): Call it.
2471
41fc454c
PA
24722019-07-03 Pedro Alves <palves@redhat.com>
2473
2474 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
2475 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
2476 the expected output in the success.
2477
b2b2a215
PA
24782019-07-03 Pedro Alves <palves@redhat.com>
2479
2480 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
2481 Split one gdb_test_multiple call in two to avoid a race.
2482
fdbc9870
PA
24832019-07-03 Pedro Alves <palves@redhat.com>
2484
2485 * gdb.base/with.c: New file.
2486 * gdb.base/with.exp: New file.
2487
c6ac8931
PA
24882019-07-03 Pedro Alves <palves@redhat.com>
2489
2490 * gdb.base/settings.exp: Replace all references to "maint
2491 test-settings set" with references to "maint set test-settings",
2492 and all references to "maint test-settings show" with references
2493 to "maint show test-settings".
2494
970f9d09
PA
24952019-07-03 Pedro Alves <palves@redhat.com>
2496
2497 * gdb.base/settings.exp (test-string): Adjust expected out when
2498 testing "maint test-settings show filename"
2499
54d66006
PA
25002019-07-02 Pedro Alves <palves@redhat.com>
2501
2502 * gdb.base/options.exp (test-info-threads): New procedure.
2503 (top level): Call it.
2504
10d06d82
TT
25052019-06-28 Tom Tromey <tromey@adacore.com>
2506
2507 * gdb.dwarf2/ada-linkage-name.c: New file.
2508 * gdb.dwarf2/ada-linkage-name.exp: New file.
2509
3d507ff2
TT
25102019-06-27 Tom Tromey <tromey@adacore.com>
2511
d039f014 2512 PR c++/20020:
3d507ff2
TT
2513 * gdb.cp/constexpr-field.exp: Use setup_xfail.
2514
8af58ffe
TV
25152019-06-26 Tom de Vries <tdevries@suse.de>
2516
2517 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
2518
22e21752
TV
25192019-06-26 Tom de Vries <tdevries@suse.de>
2520
2521 * gdb.base/index-cache.exp: Add back missing debug option.
2522
b65b566c
PW
25232019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2524
2525 * gdb.base/alias.exp: Test non matching/non existing prefixes.
2526
5c2c8c69
TV
25272019-06-25 Tom de Vries <tdevries@suse.de>
2528
2529 PR testsuite/24727
2530 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
2531
164e3873
TV
25322019-06-24 Tom de Vries <tdevries@suse.de>
2533
2534 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
2535
824eacee
TV
25362019-06-24 Tom de Vries <tdevries@suse.de>
2537
2538 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
2539 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
2540 * gdb.trace/unavailable-dwarf-piece.exp: Same.
2541
385b97d3
TV
25422019-06-24 Tom de Vries <tdevries@suse.de>
2543
2544 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
2545
c596f180
TV
25462019-06-21 Tom de Vries <tdevries@suse.de>
2547
2548 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
2549
b13a7d03
TV
25502019-06-21 Tom de Vries <tdevries@suse.de>
2551
2552 PR testsuite/24518
2553 PR ada/24713
2554 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
2555 index.
2556
899277ae
TT
25572019-06-19 Tom Tromey <tromey@adacore.com>
2558
2559 * gdb.ada/length_cond.exp: Add intro comment.
2560
680e1bee
TT
25612019-06-19 Tom Tromey <tromey@adacore.com>
2562
2563 * gdb.ada/length_cond.exp: New file.
2564 * gdb.ada/length_cond/length_cond.adb: New file.
2565 * gdb.ada/length_cond/pck.adb: New file.
2566 * gdb.ada/length_cond/pck.ads: New file.
2567
0ed4690a
TV
25682019-06-18 Tom de Vries <tdevries@suse.de>
2569
2570 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
2571
d20ed5fd
TT
25722019-06-18 Tom Tromey <tromey@adacore.com>
2573
2574 * gdb.base/list0.h: Add comment explaining control character.
2575
86e04673
TV
25762019-06-18 Tom de Vries <tdevries@suse.de>
2577
2578 * boards/fission.exp: Break up long debug_flags line.
2579
c4973306
SM
25802019-06-16 Tom de Vries <tdevries@suse.de>
2581
2582 PR gdb/24445
2583 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
2584 generated index.
2585
93cb9841
AB
25862019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
2587
2588 PR gdb/24686
2589 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
2590 improve detection of bug gdb/24541.
2591
399aaebd
SM
25922019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
2593
2594 PR gdb/24669
2595 * gdb.base/index-cache.exp (uses_readnow,
2596 expecting_index_cache_use): Define global variable.
2597 (test_cache_enabled_miss, test_cache_enabled_hit): Use
2598 expecting_index_cache_use.
2599
584a927c
AB
26002019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
2601 Andrew Burgess <andrew.burgess@embecosm.com>
2602
2603 * gdb.fortran/pointers.f90: New file.
2604 * gdb.fortran/print_type.exp: New file.
2605 * gdb.fortran/vla-ptype.exp: Adapt expected results.
2606 * gdb.fortran/vla-type.exp: Likewise.
2607 * gdb.fortran/vla-value.exp: Likewise.
2608 * gdb.mi/mi-vla-fortran.exp: Likewise.
2609
30056ea0
AB
26102019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2611
2612 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
2613 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
2614 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
2615 as a stop reason.
2616
ec8e2b6d
AB
26172019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2618
2619 * gdb.base/annota1.exp: Update expected results.
2620 * gdb.cp/annota2.exp: Likewise.
2621 * gdb.cp/annota3.exp: Likewise.
2622
09e4c4e1
AB
26232019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2624
2625 * gdb.base/style-logging.exp: Remove path from test name.
2626
0735b091
TT
26272019-06-14 Tom Tromey <tromey@adacore.com>
2628
2629 PR gdb/24502:
2630 * gdb.base/style-logging.exp: New file.
2631
f5686554
TT
26322019-06-14 Tom Tromey <tromey@adacore.com>
2633
2634 * gdb.base/symfile-warn.exp: New file.
2635 * gdb.base/symfile-warn.c: New file.
2636
a0c1ffed
TT
26372019-06-14 Tom Tromey <tromey@adacore.com>
2638
2639 * gdb.base/annotate-symlink.exp: New file.
2640
f411722c
TT
26412019-06-14 Tom Tromey <tromey@adacore.com>
2642
2643 * gdb.ada/set_wstr.exp: Add reassignment test.
2644
4268ec18
TT
26452019-06-14 Tom Tromey <tromey@adacore.com>
2646
2647 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
2648 'unchecked_access and 'unrestricted_access as well.
2649
9a9e394b
TT
26502019-06-14 Tom Tromey <tromey@adacore.com>
2651
2652 PR ada/24539:
2653 * gdb.ada/vla.exp: Update tests.
2654 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
2655 pragma.
2656
4c048731
PA
26572019-06-13 Pedro Alves <palves@redhat.com>
2658
2659 * gdb.base/settings.exp (test-integer): Test junk after
2660 "unlimited".
2661
6665660a
PA
26622019-06-13 Pedro Alves <palves@redhat.com>
2663
2664 * gdb.base/options.exp (test-thread-apply): New.
2665 (top level): Call it.
2666
5d707134
PA
26672019-06-13 Pedro Alves <palves@redhat.com>
2668
2669 * gdb.base/options.exp (test-frame-apply): New.
2670 (top level): Test print commands with different "frame apply"
2671 prefixes.
2672
e2a689da
PA
26732019-06-13 Pedro Alves <palves@redhat.com>
2674
e79be6e5 2675 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
2676 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
2677 'max_completions' parameter and handle it.
2678 (test_gdb_completion_offers_commands): New.
2679
90a1ef87
PA
26802019-06-13 Pedro Alves <palves@redhat.com>
2681
2682 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
2683
d4c16835
PA
26842019-06-13 Pedro Alves <palves@redhat.com>
2685
2686 * gdb.base/options.exp (test-backtrace): New.
2687 (top level): Call it.
2688
2daf894e
PA
26892019-06-13 Pedro Alves <palves@redhat.com>
2690
2691 * gdb.guile/scm-frame-args.exp: Use "set print
2692 raw-frame-arguments" instead of "set print raw frame-arguments".
2693 * gdb.python/py-frame-args.exp: Likewise.
2694
e6ed716c
PA
26952019-06-13 Pedro Alves <palves@redhat.com>
2696
2697 * gdb.compile/compile.exp: Adjust expected output to option
2698 processing changes.
2699
7d8062de
PA
27002019-06-13 Pedro Alves <palves@redhat.com>
2701
2702 * gdb.base/options.exp: Build executable.
2703 (test-print): New procedure.
2704 (top level): Call it, once for "print" and another for "compile
2705 print".
2706
9d0faba9
PA
27072019-06-13 Pedro Alves <palves@redhat.com>
2708
2709 * gdb.base/options.c: New file.
2710 * gdb.base/options.exp: New file.
2711
dee7b4c8
PA
27122019-06-13 Pedro Alves <palves@redhat.com>
2713
2714 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
2715 that "o" is ambiguous.
2716
dca0f6c0
PA
27172019-06-13 Pedro Alves <palves@redhat.com>
2718
2719 * gdb.base/settings.c: New file.
2720 * gdb.base/settings.exp: New file.
2721
ccf46844
PA
27222019-06-13 Pedro Alves <palves@redhat.com>
2723
2724 * gdb.base/completion.exp: Fix comment typo.
2725
b9a3f842
PA
27262019-06-13 Pedro Alves <palves@redhat.com>
2727
2728 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
2729 foo --1" test.
2730
d106773e
PA
27312019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
2732
2733 * gdb.fortran/block-data.f: New.
2734 * gdb.fortran/block-data.exp: New.
2735
fea82da0
TV
27362019-06-11 Tom de Vries <tdevries@suse.de>
2737
2738 PR testsuite/24521
2739 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
2740 message.
2741
8c2e74f1
TV
27422019-06-11 Tom de Vries <tdevries@suse.de>
2743
2744 PR testsuite/24521
2745 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
2746
b49851c8
TV
27472019-06-11 Tom de Vries <tdevries@suse.de>
2748
2749 * boards/readnow.exp: New file.
2750
a7067863
AB
27512019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
2752
2753 * gdb.fortran/vla-sizeof.exp: Update expected results.
2754
1a3da2cd
AB
27552019-06-06 Amos Bird <amosbird@gmail.com>
2756
2757 * gdb.base/annota1.exp (thread_switch): Add test for
2758 thread-exited annotation.
2759
3847a7bf
TT
27602019-06-06 Tom Tromey <tromey@adacore.com>
2761
2762 * gdb.base/maint.exp: Expect command started/finished output.
2763
0088ba59
AB
27642019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
2765
2766 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
2767 comment.
2768 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
2769
312617a3
AB
27702019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
2771
2772 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
2773 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
2774 * gdb.arch/riscv-unwind-long-insn.c: New file.
2775 * gdb.arch/riscv-unwind-long-insn.exp: New file.
2776
e1f2e1a2
CB
27772019-06-04 Christian Biesinger <cbiesinger@google.com>
2778
d3238f7d 2779 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 2780
206584bd
PW
27812019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2782
2783 * lib/gdb.exp (help_list_trailer): New regexp variable
2784 factorizing the help trailer message.
2785 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
2786 arg to allow to better factorize various tests.
2787 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
2788 (test_prefix_command_help): Use help_list_trailer.
2789 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
2790 * gdb.guile/scm-cmd.exp: Likewise.
2791 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
2792 * gdb.base/help.exp: Use test_user_defined_class_help.
2793 * gdb.base/style.exp: Add tests for styling of help and apropos.
2794 * lib/gdb-utils.exp (style): Add title and highlight styles.
2795
708dc93e
PW
27962019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2797
2798 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
2799 $_shell_exitsignal.
2800 * gdb.base/default.exp: Update for new convenience variables.
2801
f49055a5
TT
28022019-05-29 Tom Tromey <tromey@adacore.com>
2803
2804 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
2805 to "break complete ada" test case's regexp.
2806
4330d61d
TT
28072019-05-29 Tom Tromey <tromey@adacore.com>
2808
2809 PR c++/20020:
2810 * gdb.cp/constexpr-field.exp: New file.
2811 * gdb.cp/constexpr-field.cc: New file.
2812
000439d5
TT
28132019-05-29 Tom Tromey <tromey@adacore.com>
2814
2815 * gdb.base/finish.exp (finish_no_print): New proc.
2816 (finish_tests): Call it.
2817
5a01c34c
TV
28182019-05-24 Tom de Vries <tdevries@suse.de>
2819
2820 * gdb.dwarf2/gdb-add-index.exp: New file.
2821
18125b16
TT
28222019-05-22 Tom Tromey <tromey@adacore.com>
2823
2824 * gdb.base/info-shared.exp (check_info_shared): Use "style".
2825 * gdb.base/style.exp: Use "style".
2826 * lib/gdb-utils.exp (style): New proc.
2827
af1a8d03
TV
28282019-05-22 Tom de Vries <tdevries@suse.de>
2829
2830 * gdb.base/align.exp: Require c++11.
2831
e7fe496b
TV
28322019-05-22 Tom de Vries <tdevries@suse.de>
2833
2834 PR testsuite/24586
2835 * gdb.python/py-mi-var-info-path-expression.exp: Call
2836 mi_skip_python_tests to check if python is supported.
2837
8fca4da0
AH
28382019-05-22 Alan Hayward <alan.hayward@arm.com>
2839
2840 * gdb.arch/aarch64-pauth.c: New test.
2841 * gdb.arch/aarch64-pauth.exp: New file.
2842
b7060614
AH
28432019-05-22 Alan Hayward <alan.hayward@arm.com>
2844
2845 * README (Re-running Tests Outside The Testsuite): New section.
2846
669d0468
TV
28472019-05-21 Tom de Vries <tdevries@suse.de>
2848
2849 * gdb.arch/amd64-eval.exp: Require c++11.
2850 * gdb.base/max-depth.exp: Same.
2851 * gdb.compile/compile-cplus-array-decay.exp: Same.
2852 * gdb.cp/meth-typedefs.exp: Same.
2853 * gdb.cp/subtypes.exp: Same.
2854 * gdb.cp/temargs.exp: Same.
2855
ce3ebcaa
AH
28562019-05-21 Alan Hayward <alan.hayward@arm.com>
2857
2858 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
2859
34d11c68
AB
28602019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2861
2862 PR gdb/18644
2863 * gdb.fortran/complex.exp: Remove setup_kfail calls.
2864 * gdb.fortran/printing-types.exp: Add new test.
2865 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
2866 testing.
2867 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
2868 setup_kfail call.
2869
87781e84
AH
28702019-05-17 Alan Hayward <alan.hayward@arm.com>
2871
2872 * README (Running the Testsuite): Change example.
2873 (Testsuite Parameters): Remove TRANSCRIPT.
2874 * lib/gdb.exp: Remove TRANSCRIPT check.
2875
b420b89e
AH
28762019-05-17 Alan Hayward <alan.hayward@arm.com>
2877
2878 * README (Testsuite Parameters): Add replay logging to
2879 GDBSERVER_DEBUG.
2880 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
2881 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
2882 as a comma separated list.
2883 (gdb_debug_init): Override procedure.
2884
408e9b8b
AH
28852019-05-17 Alan Hayward <alan.hayward@arm.com>
2886
2887 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
2888 (gdb_write_cmd_file): New procedure.
2889 * lib/gdbserver-support.exp (gdbserver_start): Call
2890 gdbserver_write_cmd_file.
2891 (gdbserver_write_cmd_file): New procedure.
2892
f9e2e39d
AH
28932019-05-17 Alan Hayward <alan.hayward@arm.com>
2894
2895 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
2896 (delete_breakpoints): Likewise.
2897 (gdb_run_cmd): Likewise.
2898 (gdb_start_cmd): Likewise.
2899 (gdb_starti_cmd): Likewise.
2900 (gdb_internal_error_resync): Likewise.
2901 (gdb_test_multiple): Likewise.
2902 (gdb_reinitialize_dir): Likewise.
2903 (default_gdb_exit): Likewise.
2904 (gdb_file_cmd): Mark kill as optional.
2905 (default_gdb_start): Call gdb_stdin_log_init.
2906 (send_gdb): Call gdb_stdin_log_write.
2907 (rerun_to_main): Mark Y as an answer.
2908 (gdb_stdin_log_init): New function.
2909 (gdb_stdin_log_write): Likewise.
2910
81f47ac2
AH
29112019-05-17 Alan Hayward <alan.hayward@arm.com>
2912
2913 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
2914 * gdb.base/debug-expr.exp: Likewise.
2915 * gdb.base/foll-fork.exp: Likewise.
2916 * gdb.base/foll-vfork.exp: Likewise.
2917 * gdb.base/fork-print-inferior-events.exp: Likewise.
2918 * gdb.base/gdb-sigterm.exp: Likewise.
2919 * gdb.base/gdbinit-history.exp: Likewise.
2920 * gdb.base/osabi.exp: Likewise.
2921 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
2922 * gdb.base/ui-redirect.exp: Likewise.
2923 * gdb.gdb/unittest.exp: Likewise.
2924 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
2925 * gdb.mi/mi-watch.exp: Likewise.
2926 * gdb.mi/new-ui-mi-sync.exp: Likewise.
2927 * gdb.mi/user-selected-context-sync.exp: Likewise.
2928 * gdb.python/python.exp: Disable debug test when debugging.
2929 * gdb.threads/check-libthread-db.exp: Disable when debugging.
2930 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2931 Likewise.
2932 * gdb.threads/stepi-random-signal.exp: Likewise.
2933
29b52314
AH
29342019-05-17 Alan Hayward <alan.hayward@arm.com>
2935
2936 * Makefile.in: Pass through GDB_DEBUG.
2937 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
2938 (gdb,debug): Add board setting.
2939 * lib/gdb.exp (default_gdb_start): Start debugging.
2940 (gdb_debug_enabled): New procedure.
2941 (gdb_debug_init): Likewise.
29b52314
AH
2942
29432019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 2944
29b52314
AH
2945 * Makefile.in: Pass through GDB_DEBUG.
2946 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
2947 (gdb,debug): Add board setting.
2948 * lib/gdb.exp (default_gdb_start): Start debugging.
2949 (gdb_debug_enabled): New procedure.
2950 (gdb_debug_init): Likewise.
29b52314 2951
ca1285d1
AH
29522019-05-17 Alan Hayward <alan.hayward@arm.com>
2953
2954 * gdb.base/ui-redirect.exp: Add debug redirect tests.
2955
f3a09c80
AH
29562019-05-17 Alan Hayward <alan.hayward@arm.com>
2957
2958 * gdb.base/ui-redirect.exp: Test redirection.
2959
26648588
JV
29602019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
2961
2962 * gdb.mi/mi-complete.exp: New file.
2963 * gdb.mi/mi-complete.cc: Likewise.
2964
14237686
AB
29652019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
2966
2967 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
2968 indexed and sliced arrays, and pointers to arrays.
2969
e7bd7fba
TT
29702019-05-14 Tom Tromey <tromey@adacore.com>
2971
2972 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
2973 styling test.
2974
2764128d
TV
29752019-05-14 Tom de Vries <tdevries@suse.de>
2976
2977 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
2978 selection entry encoding.
2979
71bed2db
TT
29802019-05-10 Tom Tromey <tromey@adacore.com>
2981
2982 * gdb.ada/info_exc.exp: Add "complete" test.
2983
63b667ad
TV
29842019-05-09 Tom de Vries <tdevries@suse.de>
2985
2986 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
2987 CU-relative.
2988
9cfd2b89
TV
29892019-05-09 Tom de Vries <tdevries@suse.de>
2990
2991 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
2992 CU-relative.
2993
2228ef77
XR
29942019-05-08 Joel Brobecker <brobecker@adacore.com>
2995
2996 * gdb.ada/frame_arg_lang.exp: New testcase.
2997 * gdb.ada/frame_arg_lang/bla.adb: New file.
2998 * gdb.ada/frame_arg_lang/pck.ads: New file.
2999 * gdb.ada/frame_arg_lang/pck.adb: New file.
3000 * gdb.ada/frame_arg_lang/foo.c: New file.
3001
80e55b13
TT
30022019-05-08 Tom Tromey <tromey@adacore.com>
3003
3004 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
3005
9d3421af
TT
30062019-05-08 Tom Tromey <tromey@adacore.com>
3007
3008 * gdb.base/ptype-offsets.exp: Update tests.
3009
844333e2
TT
30102019-05-08 Tom Tromey <tromey@adacore.com>
3011
3012 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
3013 cases.
3014 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
3015 "short".
3016
988915ee
TT
30172019-05-08 Tom Tromey <tromey@adacore.com>
3018
3019 * gdb.ada/vla.exp: New file.
3020 * gdb.ada/vla/vla.adb: New file.
3021
7bd55dac
TV
30222019-05-07 Tom de Vries <tdevries@suse.de>
3023
3024 * gdb.base/index-cache.exp (ls_host): Fix return statement.
3025
75f06e9d
TV
30262019-05-07 Tom de Vries <tdevries@suse.de>
3027
3028 PR testsuite/24522
3029 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
3030 section.
3031
77e7aaa4
TV
30322019-05-07 Tom de Vries <tdevries@suse.de>
3033
3034 PR testsuite/24522
3035 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
3036 .debug_aranges section.
3037
456ba0fa
TV
30382019-05-07 Tom de Vries <tdevries@suse.de>
3039
3040 PR testsuite/24159
3041 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
3042
5a56d6a6
TV
30432019-05-06 Tom de Vries <tdevries@suse.de>
3044
3045 * lib/gdb.exp (exec_has_index_section): New proc.
3046 * gdb.base/index-cache.exp: Handle case that binfile contains an index
3047 section.
3048
9d6d4be8
TV
30492019-05-04 Tom de Vries <tdevries@suse.de>
3050
3051 * boards/cc-with-debug-names.exp: New file.
3052
222a8d25
TT
30532019-05-03 Tom Tromey <tromey@adacore.com>
3054
3055 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
3056 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
3057 * gdb.ada/char_enum.exp: Add test.
3058
0fdfd794
TV
30592019-05-03 Tom de Vries <tdevries@suse.de>
3060
3061 * boards/cc-with-gdb-index.exp: New file.
3062
80062eb9
AB
30632019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
3064
3065 * gdb.rust/simple.exp: Add new test case.
3066 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
3067 (main): Initialise an instance of the new struct.
3068
4504bbde
TT
30692019-05-01 Tom Tromey <tromey@adacore.com>
3070
3071 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
3072 record.
3073 (NPR): New variable.
3074 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
3075 test.
3076
d48e62f4
TT
30772019-05-01 Tom Tromey <tromey@adacore.com>
3078
3079 * gdb.ada/packed_array_assign.exp: Add packed assignment
3080 regression test.
3081
f59f30f5
TV
30822019-05-01 Tom de Vries <tdevries@suse.de>
3083
3084 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
3085
b70bfc54
TV
30862019-05-01 Tom de Vries <tdevries@suse.de>
3087
3088 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
3089
15f18d14
AT
30902019-04-30 Ali Tamur <tamur@google.com>
3091
3092 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
3093
2ff0a947
TT
30942019-04-30 Tom Tromey <tromey@adacore.com>
3095
3096 * lib/ada.exp (find_ada_tool): New proc.
3097 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
3098 * gdb.ada/catch_ex_std.exp: New file.
3099 * gdb.ada/catch_ex_std/foo.adb: New file.
3100 * gdb.ada/catch_ex_std/some_package.adb: New file.
3101 * gdb.ada/catch_ex_std/some_package.ads: New file.
3102
a776957c
TT
31032019-04-30 Tom Tromey <tromey@adacore.com>
3104
3105 PR c++/24470:
3106 * gdb.cp/temargs.cc: Add test code from PR.
3107
bc68014d
AB
31082019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3109
3110 * gdb.fortran/vla-datatypes.exp: Update expected results.
3111 * gdb.fortran/vla-ptype.exp: Likewise.
3112 * gdb.fortran/vla-type.exp: Likewise.
3113 * gdb.fortran/vla-value.exp: Likewise.
3114
f1fdc960
AB
31152019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3116
3117 * gdb.fortran/ptr-indentation.exp: Update expected results.
3118 * gdb.fortran/ptype-on-functions.exp: Likewise.
3119 * gdb.fortran/vla-ptr-info.exp: Likewise.
3120 * gdb.fortran/vla-value.exp: Likewise.
3121
bf7a4de1
AB
31222019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3123
3124 * gdb.fortran/ptype-on-functions.exp: New file.
3125 * gdb.fortran/ptype-on-functions.f90: New file.
3126
bbe75b9d
AB
31272019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3128
3129 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
3130 case void string.
3131
1db455a7
AB
31322019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3133
3134 * gdb.fortran/complex.exp: Expand.
3135 * gdb.fortran/complex.f: Renamed to...
3136 * gdb.fortran/complex.f90: ...this, and extended to add more
3137 complex values.
3138
b6d03bb2
AB
31392019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3140
3141 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
3142 MODULO, CMPLX.
3143
2e62ab40
AB
31442019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
3145 Richard Bunt <richard.bunt@arm.com>
3146
3147 * gdb.base/max-depth.c: New file.
3148 * gdb.base/max-depth.exp: New file.
3149 * gdb.python/py-nested-maps.c: New file.
3150 * gdb.python/py-nested-maps.exp: New file.
3151 * gdb.python/py-nested-maps.py: New file.
3152 * gdb.python/py-format-string.exp (test_max_depth): New proc.
3153 (test_all_common): Call test_max_depth.
3154 * gdb.fortran/max-depth.exp: New file.
3155 * gdb.fortran/max-depth.f90: New file.
3156 * gdb.go/max-depth.exp: New file.
3157 * gdb.go/max-depth.go: New file.
3158 * gdb.modula2/max-depth.exp: New file.
3159 * gdb.modula2/max-depth.c: New file.
3160 * lib/gdb.exp (get_print_expr_at_depths): New proc.
3161
d2b584a5
TV
31622019-04-29 Tom de Vries <tdevries@suse.de>
3163
3164 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
3165
136afab8
PW
31662019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3167
3168 * gdb.base/callexit.exp: Test may-call-functions off.
3169
725cbb63
KS
31702019-04-25 Keith Seitz <keiths@redhat.com>
3171
3172 PR c++/24367
3173 * gdb.cp/meth-typedefs.cc (incomplete_struct)
3174 (another_incomplete_struct, test_incomplete): New definitions.
3175 (main): Use new definitions.
3176 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
3177 functions.
3178
701adfb0
PA
31792019-04-25 Ali Tamur <tamur@google.com>
3180
3181 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
3182
82433e3e
SDJ
31832019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
3184
3185 PR corefiles/11608
3186 PR corefiles/18187
3187 * gdb.base/coredump-filter-build-id.exp: New file.
3188
dd06d4d6
AH
31892019-04-25 Alan Hayward <alan.hayward@arm.com>
3190
e79be6e5
SM
3191 * Makefile.in: Pass through GDBSERVER_DEBUG.
3192 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
3193 (gdbserver,debug): Add board setting.
3194 * gdb.trace/tspeed.exp: Skip when debugging.
3195 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
3196 * lib/gdbserver-support.exp: Likewise
dd06d4d6 3197
1670072e
TT
31982019-04-24 Tom Tromey <tromey@adacore.com>
3199
3200 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
3201 Rust.
3202
a59240a4
TT
32032019-04-24 Tom Tromey <tromey@adacore.com>
3204
3205 * gdb.arch/amd64-eval.exp: Test bitfield return.
3206 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
3207 (class Foo) <return_bitfields>: New method.
3208 (main): Call it.
3209
b907456c
AB
32102019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
3211
3212 * gdb.cp/many-args.cc: New file.
3213 * gdb.cp/many-args.exp: New file.
3214
5c565afd
TV
32152019-04-23 Tom de Vries <tdevries@suse.de>
3216
3217 PR gdb/24433
3218 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
3219
ba22ff86
AH
32202019-04-23 Alan Hayward <alan.hayward@arm.com>
3221
3222 * gdb.trace/backtrace.exp: Use nopie flag.
3223 * gdb.trace/circ.exp: Likewise.
3224 * gdb.trace/collection.exp: Likewise.
3225 * gdb.trace/ftrace.exp: Likewise.
3226 * gdb.trace/mi-trace-unavailable.exp: Likewise.
3227 * gdb.trace/mi-traceframe-changed.exp: Likewise.
3228 * gdb.trace/qtro.exp: Likewise.
3229 * gdb.trace/read-memory.exp: Likewise.
3230 * gdb.trace/report.exp: Likewise.
3231 * gdb.trace/tfile.exp: Likewise.
3232 * gdb.trace/tfind.exp: Likewise.
3233 * gdb.trace/unavailable.exp: Likewise.
3234
7905fc35
PA
32352019-04-22 Pedro Alves <palves@redhat.com>
3236
3237 * gdb.base/solib-probes-nosharedlibrary.c,
3238 gdb.base/solib-probes-nosharedlibrary.exp: New files.
3239
8ecb59f8
TT
32402019-04-19 Tom Tromey <tromey@adacore.com>
3241
3242 * gdb.ada/ptype_union.c: New file.
3243 * gdb.ada/ptype_union.exp: New file.
3244
62160ec9
TT
32452019-04-19 Tom Tromey <tromey@adacore.com>
3246
3247 PR symtab/24423:
3248 * gdb.base/list0.h (foo): Add a control-l character.
3249
36cd4ba5
TV
32502019-04-18 Tom de Vries <tdevries@suse.de>
3251
3252 PR gdb/24433
3253 * boards/local-board.exp: Set sysroot to "".
3254
b73715df
TV
32552019-04-18 Tom de Vries <tdevries@suse.de>
3256 Pedro Alves <palves@redhat.com>
3257
3258 PR gdb/24454
3259 * gdb.threads/vfork-follow-child-exec.c: New file.
3260 * gdb.threads/vfork-follow-child-exec.exp: New file.
3261 * gdb.threads/vfork-follow-child-exit.c: New file.
3262 * gdb.threads/vfork-follow-child-exit.exp: New file.
3263
4aa866af
LS
32642019-04-15 Leszek Swirski <leszeks@google.com>
3265
3266 * gdb.arch/amd64-eval.cc: New file.
3267 * gdb.arch/amd64-eval.exp: New file.
3268
e5a1a79a
AH
32692019-04-11 Alan Hayward <alan.hayward@arm.com>
3270
3271 * gdb.server/sysroot.c: New test.
3272 * gdb.server/sysroot.exp: New file.
3273 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
3274 matching param.
3275
41077b66
AB
32762019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
3277
3278 * gdb.base/align.exp: Extend test to cover structures containing
3279 only static fields.
3280
c30391f8
TV
32812019-04-11 Tom de Vries <tdevries@suse.de>
3282
3283 * boards/cc-with-dwz-m.exp: New file.
3284 * boards/cc-with-dwz.exp: New file.
3285 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
3286
e242fd12
SM
32872019-04-09 Simon Marchi <simon.marchi@efficios.com>
3288
3289 * gdb.base/start-cpp.exp: New file.
3290 * gdb.base/start-cpp.cc: New file.
3291
2b0c8b01
KB
32922019-04-08 Kevin Buettner <kevinb@redhat.com>
3293
3294 * gdb.python/py-thrhandle.exp: Adjust tests to call
3295 thread_from_handle instead of thread_from_thread_handle.
3296
947210e5
KB
32972019-04-08 Kevin Buettner <kevinb@redhat.com>
3298
3299 * gdb.python/py-thrhandle.exp: Add tests for
3300 gdb.InferiorThread.handle.
3301
d7df6549
AB
33022019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
3303
3304 * gdb.python/py-function.exp: Check calling helper function from
3305 all languages.
3306 * lib/gdb.exp (gdb_supported_languages): New proc.
3307
8bdc1658
AB
33082019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
3309
3310 * gdb.base/complex-parts.c: New file.
3311 * gdb.base/complex-parts.exp: New file.
3312
05caa1d2
TT
33132019-04-01 Tom Tromey <tromey@adacore.com>
3314
3315 PR symtab/23331:
3316 * gdb.dwarf2/dw2-ranges-main.c: New file.
3317 * gdb.dwarf2/dw2-ranges-psym.c: New file.
3318 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
3319
7734102d
EZ
33202019-03-30 Simon Marchi <simark@simark.ca>
3321
3322 * gdb.base/default.exp: Add values for $_gdb_major and
3323 $_gdb_minor.
3324
188e1fa9
TT
33252019-03-29 Tom Tromey <tromey@adacore.com>
3326
3327 * gdb.base/help.exp: Tighten apropos regexp.
3328
2880242d
KS
33292019-03-29 Keith Seitz <keiths@redhat.com>
3330
3331 * gdb.fortran/array-bounds.exp: New file.
3332 * gdb.fortran/array-bounds.f90: New file.
3333
077cad8e
PW
33342019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3335
3336 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
3337
80047cfc
PW
33382019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3339
3340 * gdb.multi/hello.c (main): Increase alarm timer.
3341
f489207e
SL
33422019-03-28 Sandra Loosemore <sandra@codesourcery.com>
3343
3344 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
3345 factor when no hardware watchpoint support.
3346
c92df149
AH
33472019-03-28 Alan Hayward <alan.hayward@arm.com>
3348 Pedro Alves <palves@redhat.com>
3349
3350 * boards/local-board.exp: set sysroot to /.
3351
933aebfa
AH
33522019-03-27 Alan Hayward <alan.hayward@arm.com>
3353
3354 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
3355 in child.
3356
9f9aa852
AB
33572019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
3358
3359 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
3360 field.
3361 (make_container): Initialise new field.
3362 * gdb.python/py-prettyprint.exp: Add new tests.
3363 * gdb.python/py-prettyprint.py (class ContainerPrinter)
3364 <display_hint>: New method.
3365
3714a195
AB
33662019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
3367
3368 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
3369 gdb_continue_to_breakpoint more throughout this test.
3370 (run_lang_tests) Supply unique test names, and use
3371 gdb_test_no_output.
3372
18c77628
AB
33732019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
3374
3375 * gdb.base/finish-pretty.exp: Update expected results.
3376 * gdb.base/pretty-print.c: New file.
3377 * gdb.base/pretty-print.exp: New file.
3378
9a93502f
PA
33792019-03-25 Pedro Alves <palves@redhat.com>
3380
3381 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
3382 move comments outside list. Append '-i "" eof' section.
3383
968aa7ae
AH
33842019-03-22 Alan Hayward <alan.hayward@arm.com>
3385
34a7f2a4 3386 PR testsuite/25016
968aa7ae
AH
3387 * README: Add pie options.
3388 * gdb.base/break-interp.exp: Ensure pie is disabled.
3389 * gdb.base/dump.exp: Likewise.
3390 * lib/gdb.exp (gdb_compile): Add pie option.
3391
4c7d57e7
TT
33922019-03-19 Tom Tromey <tromey@adacore.com>
3393
3394 * gdb.mi/mi2-cli-display.c: New file.
3395 * gdb.mi/mi2-cli-display.exp: New file.
3396
bff8c71f
TT
33972019-03-18 Joel Brobecker <brobecker@adacore.com>
3398 Tom Tromey <tromey@adacore.com>
3399
3400 * gdb.ada/ptype_array/pck.adb: New file.
3401 * gdb.ada/ptype_array/pck.ads: New file.
3402 * gdb.ada/ptype_array/foo.adb: New file.
3403 * gdb.ada/ptype_array.exp: New file.
3404
d085f989
TT
34052019-03-14 Tom Tromey <tromey@adacore.com>
3406
3407 * gdb.base/style.exp: Add "set style sources" test.
3408
b4be1b06
SM
34092019-03-13 Simon Marchi <simon.marchi@ericsson.com>
3410
3411 * mi-breakpoint-location-ena-dis.exp: Rename to ...
3412 * mi-breakpoint-multiple-locations.exp: ... this.
3413 (make_breakpoints_pattern): New proc.
3414 (do_test): Add mi_version parameter, test -break-insert,
3415 -break-info and =breakpoint-created.
3416
7cde5fc2
AB
34172019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
3418
3419 * config/default.exp: Remove 'load_lib gdb.exp'.
3420 * config/monitor.exp: Likewise.
3421 * config/sid.exp: Likewise.
3422 * config/sim.exp: Likewise.
3423 * config/slite.exp: Likewise.
3424 * config/unix.exp: Likewise.
3425 * gdb.base/default.exp: Remove unhelpful comment.
3426
efbecbc1
AB
34272019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3428
3429 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
3430
0841c79a
AB
34312019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3432
3433 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
3434
4a270568
AB
34352019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3436
3437 * gdb.fortran/type-kinds.exp: Update expected results.
3438
067630bd
AB
34392019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3440
3441 * gdb.fortran/type-kinds.exp: Test new integer type kind.
3442
3be47f7a
AB
34432019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3444
3445 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
3446 function.
3447 (test_basic_parsing_of_type_kinds): Expand types tested.
3448 (test_parsing_invalid_type_kinds): New function.
3449
4d00f5d8
AB
34502019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3451
3452 * gdb.fortran/intrinsics.exp: New file.
3453 * gdb.fortran/intrinsics.f90: New file.
3454 * gdb.fortran/type-kinds.exp: New file.
3455
c8f91604
AB
34562019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3457
3458 * gdb.fortran/dot-ops.exp: New file.
3459
dd9f2c76
AB
34602019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3461
3462 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
3463 Check upper and lower case logical literals.
3464
84ec9724
AB
34652019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3466
3467 * gdb.fortran/types.exp (test_float_literal_types_accepted):
3468 Remove duplicate tests.
3469
c3734e09
AH
34702019-03-06 Alan Hayward <alan.hayward@arm.com>
3471
3472 * lib/gdb.exp (builtin_cd): rename of cd.
3473 (cd): Override builtin.
3474
aa3cfbda
RB
34752019-03-06 Richard Bunt <richard.bunt@arm.com>
3476
3477 * gdb.fortran/function-calls.exp: New file.
3478 * gdb.fortran/function-calls.f90: New test.
3479
7b63ad86
RB
34802019-03-04 Richard Bunt <richard.bunt@arm.com>
3481
3482 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
3483 on user program standard output.
3484 * gdb.fortran/short-circuit-argument-list.f90: Record function
3485 calls.
3486
01abb042
AH
34872019-02-28 Alan Hayward <alan.hayward@arm.com>
3488
c3734e09
AH
3489 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
3490 failure.
01abb042 3491
92137da0
RO
34922019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3493
3494 PR gdb/8527
3495 * gdb.base/interrupt-daemon-attach.c,
3496 gdb.base/interrupt-daemon-attach.exp: New test.
3497
5862844d
PA
34982019-02-27 Pedro Alves <palves@redhat.com>
3499
3500 * gdb.base/page.exp: Add tests for "set width/height -1".
3501
8ed25214
PA
35022019-02-27 Pedro Alves <palves@redhat.com>
3503
3504 * gdb.base/page.exp: Add tests for "set/show width/height" with
3505 "infinite" values.
3506
6c28e44a
TT
35072019-02-27 Tom Tromey <tromey@adacore.com>
3508
3509 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
3510 2.4.
3511 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
3512 workaround.
3513
bf9a735e
AB
35142019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
3515
3516 * gdb.base/align.exp: Extend to compile in both C and C++, and add
3517 tests for structs with static members.
3518
8791793c
TT
35192019-02-26 Tom Tromey <tromey@adacore.com>
3520
3521 * gdb.python/py-value.exp (test_value_from_buffer): Check for
3522 ValueError, not TypeError.
3523
bc2a507e
KB
35242019-02-26 Kevin Buettner <kevinb@redhat.com>
3525
3526 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
3527 call from main program.
3528
e0e7d3bd
JB
35292019-02-23 Joel Brobecker <brobecker@adacore.com>
3530
3531 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
3532 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
3533 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
3534 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
3535 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
3536
9600246d
KS
35372019-02-22 Keith Seitz <keiths@redhat.com>
3538
3539 PR symtab/23853
3540 * gdb.base/symlink-sourcefile.c: New file.
3541 * gdb.base/symlink-sourcefile.exp: New file.
3542
0c95f9ed
TT
35432019-02-20 Tom Tromey <tom@tromey.com>
3544
3545 * gdb.base/info_qt.exp: Update.
3546
6caa91b6
SM
35472019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
3548
3549 * gdb.base/source.exp: Move "error in sourced script" code to
3550 the end.
3551 * gdb.base/source-error.gdb: Move contents to
3552 source-error-1.gdb. Add new code to source source-error-1.gdb.
3553 * gdb.base/source-error-1.gdb: New file, from previous
3554 source-error.gdb.
3555
6506371f
TT
35562019-02-17 Tom Tromey <tom@tromey.com>
3557
3558 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
3559 for macro styling.
3560 * gdb.base/style.c (SOME_MACRO): New macro.
3561
a0087920
TT
35622019-02-17 Tom Tromey <tom@tromey.com>
3563
3564 * gdb.base/style.exp: Add line-wrapping tests.
3565 * gdb.base/page.exp: Add test for quitting during pagination.
3566
a2cd4f14
JB
35672019-02-17 Joel Brobecker <brobecker@adacore.com>
3568
3569 * gdb.ada/big_packed_array: New testcase.
3570 * gdb.ada/homonym.exp: Fix incorrect expected output for
3571 "break <homonym__get_value>" test.
3572
9d70ffbc
WP
35732019-02-13 Weimin Pan <weimin.pan@oracle.com>
3574
3575 PR breakpoints/21870
3576 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
3577 and prepare_for_testing. Add comment.
3578 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
3579 redundant cleanup call. Clean up comment.
3580
01c7ae81
WP
35812019-02-12 Weimin Pan <weimin.pan@oracle.com>
3582
3583 PR breakpoints/21870
3584 * gdb.arch/aarch64-dbreg-contents.exp: New file.
3585 * gdb.arch/aarch64-dbreg-contents.c: New file.
3586
aff29d1c
JB
35872019-02-10 Joel Brobecker <brobecker@adacore.com>
3588
3589 * gdb.ada/mi_ref_changeable: New testcase.
3590
df0da8a2
AH
35912019-02-07 Alan Hayward <alan.hayward@arm.com>
3592
3593 * gdb.base/attach.exp: Add double attach test.
3594
bd447abb
SM
35952019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
3596
3597 * lib/gdb.exp (default_gdb_start): Don't match pagination
3598 prompt.
3599 (gdb_init): Set stty_init.
3600
1dbc40b9
TT
36012019-01-27 Tom Tromey <tom@tromey.com>
3602
3603 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
3604 skip_python_tests.
3605
353229bf
AH
36062019-01-24 Alan Hayward <alan.hayward@arm.com>
3607
3608 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
3609 New structure.
3610 (struct struct_static_02_02): Likewise.
3611 (struct struct_static_02_03): Likewise.
3612 (struct struct_static_02_04): Likewise.
3613 (struct struct_static_04_01): Likewise.
3614 (struct struct_static_04_02): Likewise.
3615 (struct struct_static_04_03): Likewise.
3616 (struct struct_static_04_04): Likewise.
3617 (struct struct_static_06_01): Likewise.
3618 (struct struct_static_06_02): Likewise.
3619 (struct struct_static_06_03): Likewise.
3620 (struct struct_static_06_04): Likewise.
3621 (cmp_struct_static_02_01): Likewise.
3622 (cmp_struct_static_02_02): Likewise.
3623 (cmp_struct_static_02_03): Likewise.
3624 (cmp_struct_static_02_04): Likewise.
3625 (cmp_struct_static_04_01): Likewise.
3626 (cmp_struct_static_04_02): Likewise.
3627 (cmp_struct_static_04_03): Likewise.
3628 (cmp_struct_static_04_04): Likewise.
3629 (cmp_struct_static_06_01): Likewise.
3630 (cmp_struct_static_06_02): Likewise.
3631 (cmp_struct_static_06_03): Likewise.
3632 (cmp_struct_static_06_04): Likewise.
3633 (call_all): Test new structs.
3634 * gdb.base/infcall-nested-structs.exp: Likewise.
3635
73021deb
AH
36362019-01-21 Alan Hayward <alan.hayward@arm.com>
3637 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
3638
fc65c7db
AH
36392019-01-21 Alan Hayward <alan.hayward@arm.com>
3640 * gdb.base/stack-protector.c: New test.
3641 * gdb.base/stack-protector.exp: New file.
3642 * gdb.cp/ovldbreak.exp: Only allow a single break line.
3643 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
3644 option.
3645 (gdb_compile): Remove stack protector for GCC and prevent
3646 recursion.
3647
c24bdb02
KS
36482019-01-16 Keith Seitz <keiths@redhat.com>
3649
3650 PR gdb/23773
3651 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
3652
6f072a10
PFC
36532019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3654
3655 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
3656 aliases.
3657 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
3658 tests.
3659 * gdb.arch/powerpc-vector-regs.c: New file.
3660 * gdb.arch/powerpc-vector-regs.exp: New file.
3661
a7b8d682
PFC
36622019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3663
3664 * gdb.arch/altivec-regs.exp: Fix the list passed to
3665 gdb_expect_list when testing "info vector".
3666
6eb6fb67
AB
36672019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
3668
3669 * gdb.base/style.exp: Don't include path in testname.
3670
b56f80d8
KS
36712019-01-10 Keith Seitz <keiths@redhat.com>
3672
3673 PR gdb/23712
3674 PR symtab/23010
3675 * gdb.dwarf2/multidictionary.exp: New file.
3676
041be526
SM
36772019-01-09 Simon Marchi <simon.marchi@ericsson.com>
3678
3679 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
3680 (test_gnuv3_style_demangling): ... this.
3681 (test_lucid_style_demangling): Remove.
3682 (test_arm_style_demangling): Remove.
3683 (test_hp_style_demangling): Remove.
3684 (do_tests): Remove calls to the above.
3685
d820d0c3
AB
36862019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3687
3688 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
3689 case.
3690
f097f5ad
TT
36912019-01-06 Tom Tromey <tom@tromey.com>
3692
3693 PR gdb/28155:
3694 * gdb.dwarf2/typedef-void-finish.exp: New file.
3695
2cd8cc0b
TT
36962018-12-28 Tom Tromey <tom@tromey.com>
3697 Simon Marchi <simark@simark.ca>
3698
3699 * gdb.base/jit-exec.exp: New file.
3700 * gdb.base/jit-exec.c: New file.
3701 * gdb.base/jit-execd.c: New file.
3702
35fb8261
TT
37032018-12-28 Tom Tromey <tom@tromey.com>
3704
3705 * gdb.base/style.exp: Update test to check for address styling.
3706
47fd17cd
TT
37072018-12-28 Tom Tromey <tom@tromey.com>
3708
3709 * gdb.base/style.exp: Add test for styling of "Reading symbols"
3710 message.
3711
d47032b7
TT
37122018-12-28 Tom Tromey <tom@tromey.com>
3713
3714 * gdb.base/style.exp: Add test for version number styling.
3715
af79b68d
TT
37162018-12-28 Tom Tromey <tom@tromey.com>
3717
3718 * gdb.base/style.exp: Add test for print_address_symbolic.
3719
0bb296cb
TT
37202018-12-28 Tom Tromey <tom@tromey.com>
3721
3722 * gdb.base/style.exp: Add test for breakpoint setting.
3723
80ae2043
TT
37242018-12-28 Tom Tromey <tom@tromey.com>
3725
3726 * gdb.base/style.exp: Add test for variable names.
3727
cbe56571
TT
37282018-12-28 Tom Tromey <tom@tromey.com>
3729
3730 * gdb.base/style.exp: New file.
3731 * gdb.base/style.c: New file.
3732
9162a27c
TT
37332018-12-28 Tom Tromey <tom@tromey.com>
3734
3735 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
3736 "dumb".
3737 * gdb.base/readline.exp (operate_and_get_next): Save and restore
3738 the TERM environment variable.
3739
bc543c90
TT
37402018-12-27 Tom Tromey <tom@tromey.com>
3741
3742 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
3743 pagination test.
3744
6f0ffe50
AB
37452018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
3746
3747 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
3748 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
3749
b5a1e557
PW
37502018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3751
3752 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
3753 Filename a.adb changed to bp_fun_addr.adb.
3754 gdb.ada/bp_fun_addr.exp: Update test accordingly.
3755
6e8b1ab2
JV
37562018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
3757
3758 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
3759 non-PIE executables.
3760 * README: Mention the gdb,nopie_flag board setting.
3761 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
3762 non-PIE executable.
3763 * gdb.arch/amd64-entry-value.exp: Likewise.
3764 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
3765 * gdb.arch/i386-float.exp: Likewise.
3766 * gdb.arch/i386-signal.exp: Likewise.
3767 * gdb.mi/mi-reg-undefined.exp: Likewise.
3768
d00a27c5
PM
37692018-12-21 Paul Marechal <paul.marechal@ericsson.com>
3770
3771 PR gdb/23974
3772 * gdb.base/info-os.exp: Check return for unknown "info os" type.
3773
161d081c
PW
37742018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3775
3776 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
3777 Update order of results accordingly.
3778
b001de23
AB
37792018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
3780
3781 * gdb.base/annota1.exp: Update a test regexp.
3782
99e1a184
AB
37832018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
3784
3785 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
3786
7a81c1e2
PW
37872018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3788
3789 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
3790 (reuse_time): Initialize to REUSE_TIME_CAP.
3791 (check_rc): New function.
3792 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
3793 Check pthread_create rc.
3794 (spawner_thread_func): Check pthread_create and pthread_join rc.
3795
73e8dc90
PA
37962018-12-08 Pedro Alves <palves@redhat.com>
3797
3798 * gdb.base/list.exp (test_forward_search): Rename to ...
3799 (test_forward_reverse_search): ... this. Also test reverse-search
3800 and the forward-search alias.
3801
13f2ed32
AB
38022018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
3803
3804 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
3805 local timeout variable before return, and remove all local timeout
3806 variable entirely.
3807 (gdb_load): Likewise.
3808
64d27cfc
TV
38092018-12-01 Tom de Vries <tdevries@suse.de>
3810
3811 * gdb.base/gdb-caching-proc.exp: New file.
3812
f63c03b4
SDJ
38132018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
3814
3815 * Makefile.in (TIMESTAMP): New variable.
3816 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
3817 command.
3818 (check-single-racy): Likewise.
3819 (check/%.exp): Likewise.
3820 (check-racy/%.exp): Likewise.
3821 (workers/%.worker): Likewise.
3822 (build-perf): Likewise.
3823 (check-perf): Likewise.
3824 * README: Describe new "TS" and "TS_FORMAT" variables.
3825 * print-ts.py: New file.
3826
1c97054b
BF
38272018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
3828
3829 PR python/23714
3830 * gdb.python/python.exp: Test command repetition after
3831 gdb.execute.
3832
1871a62d
AB
38332018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
3834
3835 * gdb.opt/inline-break.exp: Add test that info breakpoint output
3836 is correctly aligned.
3837
fb5e1ed9
PW
38382018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3839
3840 * gdb.ada/info_auto_lang.exp: New testcase.
3841 * gdb.ada/info_auto_lang/global_pack.ads: New file.
3842 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
3843 * gdb.ada/info_auto_lang/some_c.c: New file.
3844
43d397ca
PW
38452018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3846
3847 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
3848 FUNC_lang language syntax.
3849
beddd671
PW
38502018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3851
3852 * gdb.base/info_minsym.c: New file.
3853 * gdb.base/info_minsym.exp: New file.
3854
73fc52c4
TT
38552018-11-19 Tom Tromey <tom@tromey.com>
3856
3857 PR rust/23625:
3858 * gdb.rust/simple.exp: Add ptype test. Update expected output.
3859 * gdb.rust/expr.exp: Update expected output. Change one test.
3860
994b876a
TT
38612018-11-19 Tom Tromey <tom@tromey.com>
3862
3863 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
3864
6769f276
PA
38652018-11-19 Pedro Alves <palves@redhat.com>
3866
3867 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
3868 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
3869 see the expected warning.
3870
38a72da0
AH
38712018-11-16 Alan Hayward <alan.hayward@arm.com>
3872
3873 PR gdb/22736:
3874 * gdb.cp/infcall-nodebug-lib.c: New test.
3875 * gdb.cp/infcall-nodebug-main.c: New test.
3876 * gdb.cp/infcall-nodebug.exp: New file.
3877
53a89d6e
SM
38782018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
3879
3880 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
3881 completer tests.
3882
9325300d
TV
38832018-11-09 Tom de Vries <tdevries@suse.de>
3884
3885 * gdb.base/msym-lang.c: New test.
3886 * gdb.base/msym-lang.exp: New file.
3887 * gdb.base/msym-lang-main.c: New test.
3888
20f0d60d
TT
38892018-11-08 Tom Tromey <tom@tromey.com>
3890
3891 PR gdb/23555:
3892 PR gdb/23838:
3893 * gdb.base/warning.exp: New file.
3894
b5420128
JB
38952018-11-08 Jan Beulich <jbeulich@suse.com>
3896
3897 * testsuite/gdb.arch/i386-avx512.c,
3898 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
3899
cd115d61
AB
39002018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
3901
3902 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
3903 point hardware.
3904
35ee2dc2
AB
39052018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
3906
3907 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
3908 * gdb.dwarf2/missing-type-name.exp: New file.
3909
31aceee8
TV
39102018-11-06 Tom de Vries <tdevries@suse.de>
3911
3912 * gdb.base/many-headers.c: New test.
3913 * gdb.base/many-headers.exp: New file.
3914
109be305
JW
39152018-11-06 Jim Wilson <jimw@sifive.com>
3916
3917 * gdb.base/code_elim.exp: For riscv, set additional_flags
3918 to include -msmall-data-limit=0.
3919
e2b7af72
JB
39202018-11-01 Joel Brobecker <brobecker@adacore.com>
3921
3922 * gdb.ada/watch_minus_l: New testcase.
3923
cdcda965
SM
39242018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
3925
3926 * gdb.arch/aix-sighandle.c: New file.
3927 * gdb.arch/aix-sighandle.exp: New file.
3928
92dcebf3
AB
39292018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3930
3931 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
3932 registers being unions.
3933
68b9ac18
TV
39342018-10-31 Tom de Vries <tdevries@suse.de>
3935
3936 * lib/valgrind.exp: New file.
3937 (vgdb_start, vgdb_stop): New procs, factored out of ...
3938 * gdb.base/valgrind-bt.exp: ... here, ...
3939 * gdb.base/valgrind-disp-step.exp: ... here and ...
3940 * gdb.base/valgrind-infcall.exp: ... here.
3941
1443936e
TV
39422018-10-31 Tom de Vries <tdevries@suse.de>
3943
3944 * lib/gdb.exp (get_valueof): Don't output read value in test name.
3945
eb77c9df
AB
39462018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3947
3948 * gdb.dwarf2/void-type.c: New file.
3949 * gdb.dwarf2/void-type.exp: New file.
3950
82b5e646
PW
39512018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3952
3953 * gdb.base/info_qt.c: New file.
3954 * gdb.base/info_qt.exp: New file.
3955
8d619c01
EBM
39562018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3957
3958 * gdb.arch/powerpc-htm-regs.c: New file.
3959 * gdb.arch/powerpc-htm-regs.exp: New file.
3960
f2cf6173
EBM
39612018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3962
3963 * gdb.arch/powerpc-tar.c: New file.
3964 * gdb.arch/powerpc-tar.exp: New file.
3965
7ca18ed6
EBM
39662018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3967
3968 * gdb.arch/powerpc-ppr-dscr.c: New file.
3969 * gdb.arch/powerpc-ppr-dscr.exp: New file.
3970
bfcc0eba
TV
39712018-10-25 Tom de Vries <tdevries@suse.de>
3972
3973 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
3974
fe1a5cad
TV
39752018-10-24 Tom de Vries <tdevries@suse.de>
3976
3977 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
3978 longer exists error.
3979
a76dc3b7
TV
39802018-10-24 Tom de Vries <tdevries@suse.de>
3981
3982 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
3983
4df46df7
TV
39842018-10-24 Tom de Vries <tdevries@suse.de>
3985
3986 * gdb.base/valgrind-db-attach.exp: Handle removed support for
3987 --db-attach in valgrind.
3988
0dbfcfff
AB
39892018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
3990
3991 * gdb.arch/riscv-reg-aliases.c: New file.
3992 * gdb.arch/riscv-reg-aliases.exp: New file.
3993
b04480b1
AH
39942018-10-19 Alan Hayward <alan.hayward@arm.com>
3995
3996 * gdb.python/py-cmd.exp: Check for gdb_prompt.
3997
2c6ac8d7
AH
39982018-10-19 Alan Hayward <alan.hayward@arm.com>
3999
4000 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
4001
2bc69f25
AH
40022018-10-19 Alan Hayward <alan.hayward@arm.com>
4003
4004 * gdb.cp/ovldbreak.exp: Fix regexps.
4005
1f1ae3a3
AH
40062018-10-19 Alan Hayward <alan.hayward@arm.com>
4007
4008 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
4009
94c18618
SDJ
40102018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
4011
4012 PR cli/23785
4013 * gdb.base/restore.exp: New test to check if "restore" with an
4014 invalid file doesn't segfault.
4015
812cd6eb
TV
40162018-10-18 Tom de Vries <tdevries@suse.de>
4017
4018 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
4019 * gdb.ada/excep_handle.exp: Same.
4020 * gdb.ada/mi_string_access.exp: Same.
4021 * gdb.ada/mi_var_union.exp: Same.
4022 * gdb.arch/arc-analyze-prologue.exp: Same.
4023 * gdb.arch/arc-decode-insn.exp: Same.
4024 * gdb.base/readnever.exp: Same.
4025 * gdb.fortran/printing-types.exp: Same.
4026 * gdb.guile/scm-lazy-string.exp: Same.
4027
c4b90788
TV
40282018-10-16 Tom de Vries <tdevries@suse.de>
4029
4030 PR gdb/23730
4031 * gdb.base/catch-follow-exec.c: Add copyright notice.
4032 * gdb.base/catch-follow-exec.exp: Rewrite to use
4033 gdb_spawn_with_cmdline_opts. Require gdb-native.
4034
8bca2978
SL
40352018-10-12 Sandra Loosemore <sandra@codesourcery.com>
4036
4037 * gdb.trace/actions-changed.exp: Check for arch support.
4038 * gdb.trace/actions.exp: Likewise.
4039 * gdb.trace/ax.exp: Likewise.
4040 * gdb.trace/backtrace.exp: Likewise.
4041 * gdb.trace/change-loc.exp: Likewise.
4042 * gdb.trace/deltrace.exp: Likewise.
4043 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
4044 * gdb.trace/ftrace.exp: Likewise.
4045 * gdb.trace/infotrace.exp: Check for arch support.
4046 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
4047 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
4048 * gdb.trace/mi-tsv-changed.exp: Likewise.
4049 * gdb.trace/packetlen.exp: Likewise.
4050 * gdb.trace/passc-dyn.exp: Likewise.
4051 * gdb.trace/passcount.exp: Likewise.
4052 * gdb.trace/pending.exp: Likewise.
4053 * gdb.trace/range-stepping.exp: Check for shlib support.
4054 * gdb.trace/report.exp: Check for arch support.
4055 * gdb.trace/save-trace.exp: Likewise.
4056 * gdb.trace/signal.exp: Check for signal support.
4057 * gdb.trace/tfind.exp: Check for arch support.
4058 * gdb.trace/trace-break.exp: Check for arch and shlib support.
4059 * gdb.trace/trace-common.h: Add comment.
4060 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
4061 * gdb.trace/trace-enable-disable.exp: Likewise.
4062 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
4063 * gdb.trace/tracecmd.exp: Check for arch support.
4064 * gdb.trace/tspeed.exp: Check for shlib and target support.
4065 * gdb.trace/tstatus.exp: Check for arch support.
4066 * gdb.trace/tsv.exp: Likewise.
4067 * gdb.trace/while-dyn.exp: Likewise.
4068 * gdb.trace/while-stepping.exp: Likewise.
4069 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
4070
f9c49bff
SM
40712018-10-12 Simon Marchi <simon.marchi@ericsson.com>
4072
4073 * gdb.trace/tspeed.exp: Remove nowarnings.
4074 (prepare_for_trace_test): Declare "global ipalib".
4075 * gdb.trace/tspeed.c: Include unistd.h.
4076 (main): Remove superfluous printf argument.
4077
d4330bde
SL
40782018-10-11 Sandra Loosemore <sandra@codesourcery.com>
4079
4080 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
4081 directory prefix on the filename.
4082
8ecfd7bd
SDJ
40832018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
4084
4085 * gdb.gdb/unittest.exp: Update expected message informing that
4086 selftests have been disabled.
4087 * gdb.server/unittest.exp: Likewise.
4088
58bbcd02
TV
40892018-10-09 Tom de Vries <tdevries@suse.de>
4090
4091 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
4092 with runto_main.
4093
9f6b697b
WP
40942018-10-08 Weimin Pan <weimin.pan@oracle.com>
4095
4096 PR c++/16841
4097 * gdb.cp/virtbase2.cc: New file.
4098 * gdb.cp/virtbase2.exp: New file.
4099
add5ded5
TT
41002018-10-06 Tom Tromey <tom@tromey.com>
4101
4102 PR python/19399:
4103 * gdb.python/py-inferior.exp: Add architecture test.
4104
f9e48344
TT
41052018-10-06 Tom Tromey <tom@tromey.com>
4106
4107 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
4108 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
4109
2a8be203
TT
41102018-10-06 Tom Tromey <tom@tromey.com>
4111
4112 * gdb.python/py-breakpoint.exp (check_last_event): Check location
4113 of a "throw" catchpoint.
4114
e04caa70
SDJ
41152018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
4116
4117 * gdb.base/info-proc.exp: Update string expected from "help info
4118 proc".
4119
5ca8c39f
TT
41202018-10-04 Tom Tromey <tom@tromey.com>
4121
4122 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
4123 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
4124 (test_initial_complaints, test_empty_complaints): Update.
4125 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
4126
3453e7e4
TT
41272018-10-04 Tom Tromey <tom@tromey.com>
4128
4129 PR cli/19551:
4130 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
4131 * lib/gdb.exp (gdb_file_cmd): Update.
4132 * gdb.stabs/weird.exp (print_weird_var): Update.
4133 * gdb.server/solib-list.exp: Update.
4134 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
4135 * gdb.mi/mi-cli.exp: Update.
4136 * gdb.linespec/linespec.exp: Update.
4137 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
4138 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
4139 * gdb.cp/cp-relocate.exp: Update.
4140 * gdb.base/sym-file.exp: Update.
4141 * gdb.base/relocate.exp: Update.
4142 * gdb.base/readnever.exp: Update.
4143 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
4144 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
4145 * gdb.base/dbx.exp (gdb_file_cmd): Update.
4146 * gdb.base/code_elim.exp: Update.
4147 * gdb.base/break-unload-file.exp (test_break): Update.
4148 * gdb.base/break-interp.exp (test_attach_gdb): Update.
4149 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
4150 Update.
4151 * gdb.base/attach.exp (do_attach_tests): Update.
4152 * gdb.base/sepdebug.exp: Update.
4153 * gdb.python/py-section-script.exp: Update.
4154
6afcf761
TT
41552018-10-04 Tom Tromey <tom@tromey.com>
4156
4157 PR cli/22234:
4158 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
4159 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
4160 output.
4161
fef1b293
TT
41622018-10-04 Tom Tromey <tom@tromey.com>
4163
4164 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
4165 set width and height to 0.
4166 (test_command_line_attach_run): Use -quiet.
4167
ca98345e
SL
41682018-10-03 Sandra Loosemore <sandra@codesourcery.com>
4169
4170 * lib/gdb.exp (skip_ifunc_tests): New.
4171 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
4172 other compile failures.
4173 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
4174
ff34e6ae
SM
41752018-10-01 Simon Marchi <simon.marchi@ericsson.com>
4176
4177 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
4178 is_amd64_regs_target.
4179
6bb8890e
AH
41802018-10-01 Alan Hayward <alan.hayward@arm.com>
4181
4182 * gdb.arch/aarch64-sighandler-regs.c: New test.
4183 * gdb.arch/aarch64-sighandler-regs.exp: New file.
4184 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
4185
224d30d3
MM
41862018-10-01 Markus Metzger <markus.t.metzger@intel.com>
4187
4188 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
4189 assembly.
4190
f67ffa6a
AB
41912018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
4192
4193 * gdb.base/frame-selection.exp: New file.
4194 * gdb.base/frame-selection.c: New file.
4195
9fc3183f
AH
41962018-09-27 Alan Hayward <alan.hayward@arm.com>
4197
4198 * gdb.threads/check-libthread-db.c (thread_routine): Use a
4199 pthread barrier.
4200 (main): Likewise.
4201
d354055e
AB
42022018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
4203
4204 * gdb.base/large-frame-1.c: New file.
4205 * gdb.base/large-frame-2.c: New file.
4206 * gdb.base/large-frame.exp: New file.
4207 * gdb.base/large-frame.h: New file.
4208
db727370
JL
42092018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
4210
4211 PR gdb/20948
4212 * gdb.base/write_mem.exp: New test.
4213 * gdb.base/write_mem.c: Likewise.
4214
ae778caf
TT
42152018-09-23 Tom Tromey <tom@tromey.com>
4216
4217 PR python/18852:
4218 * gdb.python/py-parameter.exp: Add test for parameter that throws
4219 on "set".
4220
fd3ba736
TT
42212018-09-23 Tom Tromey <tom@tromey.com>
4222
4223 PR python/17284:
4224 * gdb.python/py-template.exp (test_template_arg): Add test for
4225 negative template argument number.
4226
39a24317
TT
42272018-09-23 Tom Tromey <tom@tromey.com>
4228
4229 PR python/14062:
4230 * gdb.python/python.exp: Add test for post_event error.
4231
f5769a2c
TT
42322018-09-23 Tom Tromey <tom@tromey.com>
4233
4234 PR python/18170:
4235 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
4236 convert pointers to int and long.
4237
1c1e54f6
TT
42382018-09-23 Tom Tromey <tom@tromey.com>
4239
4240 PR python/20126:
4241 * gdb.python/py-value.exp (test_value_numeric_ops): Add
4242 signed-ness conversion tests.
4243
fb4fa946
TT
42442018-09-23 Tom Tromey <tom@tromey.com>
4245
4246 PR python/18352;
4247 * gdb.python/py-value.exp (test_float_conversion): New proc.
4248 Use it.
4249
a466edac
HAQ
42502018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
4251
4252 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
4253
4ee9b0c5
SL
42542018-09-18 Sandra Loosemore <sandra@codesourcery.com>
4255
4256 * gdb.base/complete-empty.exp: Skip tab-completion tests if
4257 no readline.
4258 * gdb.base/utf8-identifiers.exp: Likewise.
4259 * gdb.cp/cpcompletion.exp: Likewise.
4260 * gdb.linespec/cpcompletion.exp: Likewise.
4261 * gdb.linespec/cpls-abi-tag.exp: Likewise.
4262 * gdb.linespec/cpls-ops.exp: Likewise.
4263
23be8da7
RB
42642018-09-19 Richard Bunt <richard.bunt@arm.com>
4265 Chris January <chris.january@arm.com>
4266
4267 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
4268 * gdb.fortran/short-circuit-argument-list.exp: New file.
4269 * gdb.fortran/short-circuit-argument-list.f90: New test.
4270
5031d0ae
SDJ
42712018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4272
4273 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
4274 "arch=" keyword when executing "-stack-list-frames".
4275
b4c0d1a4
SDJ
42762018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4277
4278 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
4279 "arch=" keyword when executing "-stack-list-frames".
4280
7a6d2b45
SDJ
42812018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4282
4283 * gdb.ada/complete.exp: Expect for "@" when doing "complete
4284 break ada".
4285
8588b356
SM
42862018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
4287
4288 PR python/23669
4289 * gdb.python/python.exp: Test gdb.execute("show commands").
4290
65e65158
TT
42912018-09-16 Tom Tromey <tom@tromey.com>
4292
4293 * gdb.base/new-ui.exp (do_execution_tests): Update.
4294 * gdb.base/dbx.exp (test_breakpoints): Update.
4295
bf326452
AH
42962018-09-14 Alan Hayward <alan.hayward@arm.com>
4297
4298 * lib/gdb.exp (gdb_simple_compile): Add proc.
4299 (is_elf_target): Use gdb_simple_compile.
4300 (skip_altivec_tests): Likewise.
4301 (skip_vsx_tests): Likewise.
4302 (skip_tsx_tests): Likewise.
4303 (skip_btrace_tests): Likewise.
4304 (skip_btrace_pt_tests): Likewise.
4305 (gdb_can_simple_compile): Likewise.
4306 (gdb_has_argv0): Likewise.
4307 (gdb_target_symbol_prefix): Likewise.
4308 (target_supports_scheduler_locking): Likewise.
4309
2361b0fb
TT
43102018-09-13 Tom Tromey <tom@tromey.com>
4311
4312 * Makefile.in (TAGS): Recognize proc_with_prefix and
4313 gdb_caching_proc.
4314
0ae1a321
SM
43152018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4316
4317 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
4318 method.
4319
a40bf0c2
SM
43202018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4321
4322 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
4323 and a few other Inferior properties when the Inferior is no
4324 longer valid.
4325
4a3fe98f
TT
43262018-09-13 Tom Tromey <tom@tromey.com>
4327
4328 PR rust/23650:
4329 * gdb.rust/simple.exp: Add test for enum field access error.
4330
098b2108
TT
43312018-09-13 Tom Tromey <tom@tromey.com>
4332
4333 PR rust/23626:
4334 * gdb.rust/simple.rs (EmptyEnum): New type.
4335 (main): Use it.
4336 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
4337
1256af7d
SM
43382018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4339
4340 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
4341 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
4342 * gdb.python/py-symtab.exp: Update test printing an objfile.
4343
4aa8e6c2
SM
43442018-09-12 Simon Marchi <simon.marchi@ericsson.com>
4345
4346 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
4347 object.
4348
c221b2f7
AH
43492018-09-12 Alan Hayward <alan.hayward@arm.com>
4350
4351 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
4352 (support_complex_tests): Use gdb_can_simple_compile.
4353 (is_ilp32_target): Likewise.
4354 (is_lp64_target): Likewise.
4355 (is_64_target): Likewise.
4356 (is_amd64_regs_target): Likewise.
4357 (is_aarch32_target): Likewise.
4358 (gdb_int128_helper): Likewise.
4359
6f1107b5
JK
43602018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4361
4362 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
4363
1f5d1570
JG
43642018-09-10 Jerome Guitton <guitton@adacore.com>
4365
4366 * gdb.ada/same_component_name: Add test for case of tagged record
4367 with variable-length fields.
4368
cc330e39
XR
43692018-09-10 Xavier Roirand <roirand@adacore.com>
4370
4371 * gdb.ada/access_to_unbounded_array.exp: New testcase.
4372 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
4373 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
4374 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
4375
b9c50e9a
XR
43762018-09-10 Xavier Roirand <roirand@adacore.com>
4377
4378 * gdb.ada/mi_string_access.exp: New testcase.
4379 * gdb.ada/mi_string_access/bar.adb: New file.
4380 * gdb.ada/mi_string_access/pck.adb: New file.
4381 * gdb.ada/mi_string_access/pck.asd: New file.
4382
2963898f
XR
43832018-09-10 Xavier Roirand <roirand@adacore.com>
4384
4385 * gdb.ada/mi_var_union.exp: New testcase.
4386 * gdb.ada/mi_var_union/bar.adb: New file.
4387 * gdb.ada/mi_var_union/pck.adb: New file.
4388 * gdb.ada/mi_var_union/pck.asd: New file.
4389
1aac008f
TT
43902018-09-08 Tom Tromey <tom@tromey.com>
4391
4392 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
4393
332cf4c9
TT
43942018-09-08 Tom Tromey <tom@tromey.com>
4395
4396 PR python/16047:
4397 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
4398 (register_pretty_printers): Register new printer.
4399 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
4400 test.
4401 * gdb.python/py-prettyprint.c (int_type3): New typedef.
4402 (an_int_type3): New global.
4403
424da6cf
JB
44042018-09-08 Joel Brobecker <brobecker@adacore.com>
4405
4406 * gdb.ada/expr_with_funcall: New testcase.
4407
2a62dfa9
JB
44082018-09-08 Joel Brobecker <brobecker@adacore.com>
4409
4410 * gdb.ada/packed_array_assign: New testcase.
4411
96b6697f
AB
44122018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
4413
4414 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
4415 names, and add test prefixes to make test names unique.
4416
e4a62c65
TV
44172018-09-05 Tom de Vries <tdevries@suse.de>
4418
4419 * gdb.dwarf2/varval.exp: Add test.
4420
dd083ee2
GB
44212018-09-04 Gary Benson <gbenson@redhat.com>
4422
4423 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
4424 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
4425
aef9346c
TT
44262018-08-31 Tom Tromey <tom@tromey.com>
4427
4428 * gdb.rust/simple.rs: Rename second variable "v".
4429
c67f2e15
AB
44302018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
4431
4432 * gdb.base/funcargs.c (use_a): New function.
4433 (recurse): Call use_a.
4434
078a0207
KS
44352018-08-29 Keith Seitz <keiths@redhat.com>
4436
4437 * gdb.compile/compile-cplus-anonymous.cc: New file.
4438 * gdb.compile/compile-cplus-anonymous.exp: New file.
4439 * gdb.compile/compile-cplus-array-decay.cc: New file.
4440 * gdb.compile/compile-cplus-array-decay.exp: New file.
4441 * gdb.compile/compile-cplus-inherit.cc: New file.
4442 * gdb.compile/compile-cplus-inherit.exp: New file.
4443 * gdb.compile/compile-cplus-member.cc: New file.
4444 * gdb.compile/compile-cplus-member.exp: New file.
4445 * gdb.compile/compile-cplus-method.cc: New file.
4446 * gdb.compile/compile-cplus-method.exp: New file.
4447 * gdb.compile/compile-cplus-mod.c: "New" file.
4448 * gdb.compile/compile-cplus-namespace.cc: New file.
4449 * gdb.compile/compile-cplus-namespace.exp: New file.
4450 * gdb.compile/compile-cplus-nested.cc: New file.
4451 * gdb.compile/compile-cplus-nested.exp: New file.
4452 * gdb.compile/compile-cplus-print.c: "New" file.
4453 * gdb.compile/compile-cplus-print.exp: "New" file.
4454 * gdb.compile/compile-cplus-virtual.cc: New file.
4455 * gdb.compile/compile-cplus-virtual.exp: New file.
4456 * gdb.compile/compile-cplus.c: "New" file.
4457 * gdb.compile/compile-cplus.exp: "New" file.
4458 * lib/compile-support.exp: New file.
4459
b0f492b9
GB
44602018-08-16 Gary Benson <gbenson@redhat.com>
4461
4462 PR gdb/13000:
4463 * gdb.base/batch-exit-status.exp: New file.
4464 * gdb.base/batch-exit-status.good-commands: Likewise.
4465 * gdb.base/batch-exit-status.bad-commands: Likewise.
4466
36eb4c5f
AH
44672018-08-29 Alan Hayward <alan.hayward@arm.com>
4468
4469 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
4470 (struct struct02): Likewise.
4471 (struct struct03): Likewise.
4472 (struct struct04): Likewise.
4473 (struct struct_01_01): New struct.
4474 (struct struct_01_02): Likewise.
4475 (struct struct_01_03): Likewise.
4476 (struct struct_01_04): Likewise.
4477 (struct struct_02_01): Likewise.
4478 (struct struct_02_02): Likewise.
4479 (struct struct_02_03): Likewise.
4480 (struct struct_02_04): Likewise.
4481 (struct struct_04_01): Likewise.
4482 (struct struct_04_02): Likewise.
4483 (struct struct_04_03): Likewise.
4484 (struct struct_04_04): Likewise.
4485 (struct struct_05_01): Likewise.
4486 (struct struct_05_02): Likewise.
4487 (struct struct_05_03): Likewise.
4488 (struct struct_05_04): Likewise.
4489 (cmp_struct01): Remove function.
4490 (cmp_struct02): Likewise.
4491 (cmp_struct03): Likewise.
4492 (cmp_struct04): Likewise.
4493 (cmp_struct_01_01): Add Function.
4494 (cmp_struct_01_02): Likewise.
4495 (cmp_struct_01_03): Likewise.
4496 (cmp_struct_01_04): Likewise.
4497 (cmp_struct_02_01): Likewise.
4498 (cmp_struct_02_02): Likewise.
4499 (cmp_struct_02_03): Likewise.
4500 (cmp_struct_02_04): Likewise.
4501 (cmp_struct_04_01): Likewise.
4502 (cmp_struct_04_02): Likewise.
4503 (cmp_struct_04_03): Likewise.
4504 (cmp_struct_04_04): Likewise.
4505 (cmp_struct_05_01): Likewise.
4506 (cmp_struct_05_02): Likewise.
4507 (cmp_struct_05_03): Likewise.
4508 (cmp_struct_05_04): Likewise.
4509 (call_all): Add new structs.
4510 * gdb.base/infcall-nested-structs.exp: Likewise.
4511
3bf9c013
JV
45122018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
4513
4514 * gdb.python/py-framefilter-mi.exp: Update regexp to
4515 check for "arch" field in frame output.
4516
450d1e88
KB
45172018-08-23 Kevin Buettner <kevinb@redhat.com>
4518
4519 * gdb.dwarf2/dw2-ranges-func.c: New file.
4520 * gdb.dwarf2/dw2-ranges-func.exp: New file.
4521
ae739fe7
SM
45222018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
4523
4524 * gdb.base/term.exp: Compare terminal settings with values from
4525 the inferior.
4526 * gdb.base/term.c: Get and set terminal settings.
4527
6d52907e
JV
45282018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
4529
4530 * lib/mi-support.exp (mi_expect_stop): Update regexp to
4531 accommodate new "arch" field in frame output.
4532 * gdb.mi/mi-return.exp: Likewise.
4533 * gdb.mi/mi-stack.exp: Likewise.
4534 * gdb.mi/mi-syn-frame.exp: Likewise.
4535 * gdb.mi/user-selected-context-sync.exp: Likewise.
4536
be2d111a
MS
45372018-08-19 Michael Spang <spang@google.com>
4538
4539 PR gdb/11786
4540 * gdb.base/gcore-tls-pie.c: New file.
4541 * gdb.base/gcore-tls-pie.exp: New file.
4542
ae3a7c47
KB
45432018-08-18 Kevin Buettner <kevinb@redhat.com>
4544
4545 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
4546 * gdb.dwarf2/varval.c: New file.
4547 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 4548
2ecae92e
AH
45492018-08-17 Alan Hayward <alan.hayward@arm.com>
4550
4551 PR gdb/18931
4552 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
4553
c1854f1d
KS
45542018-08-16 Keith Seitz <keiths@redhat.com>
4555
4556 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
4557 tests expected to pass.
4558
26fb3983
JV
45592018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
4560
4561 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
4562 -data-disassemble -a.
4563 (test_disassembly_bogus_args): Likewise.
4564
67943c00
AB
45652018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
4566
4567 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
4568
5ff2bbae
AB
45692018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
4570
4571 * gdb.base/vla-optimized-out.exp: Add new test.
4572
e5bbcd0f
AB
45732018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
4574
4575 * gdb.base/vla-optimized-out-o3.exp: Delete.
4576 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
4577 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
4578 deleted tests.
4579
9d4a934c
AB
45802018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
4581
4582 PR gdb/18050:
4583 * gdb.server/extended-remote-restart.c: New file.
4584 * gdb.server/extended-remote-restart.exp: New file.
4585
045cf012
SM
45862018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
4587
4588 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
4589 "set variable index = 42".
4590
87d6a7aa
SM
45912018-08-07 Simon Marchi <simon.marchi@ericsson.com>
4592
4593 * boards/index-cache-gdb.exp: New file.
4594 * gdb.dwarf2/index-cache.exp: New file.
4595 * gdb.dwarf2/index-cache.c: New file.
4596 * gdb.base/maint.exp: Check if we are using the index cache.
4597
96d68bd4
RO
45982018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4599
4600 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
4601 MAKEFLAGS.
4602
5a699617
RO
46032018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4604
4605 * dg-extract-results.sh: Move to toplevel contrib.
4606 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
4607 * Makefile.in (check-parallel-racy): Likewise.
4608
5bd18990
AB
46092018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
4610
4611 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
4612 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
4613 tests if the target supports scheduler locking.
4614
3fbbcf47
TV
46152018-08-04 Tom de Vries <tdevries@suse.de>
4616
4617 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
4618
3e1d3d8c
TT
46192018-08-02 Tom Tromey <tom@tromey.com>
4620
4621 PR symtab/16842.
4622 * gdb.cp/temargs.exp: Test "info address" of a template
4623 parameter.
4624
5abe0f0c
JV
46252018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
4626
4627 * gdb.python/py-mi-var-info-path-expression.c: New file.
4628 * gdb.python/py-mi-var-info-path-expression.py: New file.
4629 * gdb.python/py-mi-var-info-path-expression.exp: New file.
4630
fb66cde8
SDJ
46312018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
4632
4633 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
4634 error after "cannot resolve name" string.
4635
c708f4d2
AB
46362018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
4637
4638 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
4639 started.
4640 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
4641
37cc0cae
TV
46422018-07-28 Tom de Vries <tdevries@suse.de>
4643
4644 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
4645
63b4ecf7
TV
46462018-07-26 Tom de Vries <tdevries@suse.de>
4647
4648 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
4649
3c3bb058
AB
46502018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
4651
4652 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
4653 is visible.
4654
9e7f3bbb
TV
46552018-07-26 Tom de Vries <tdevries@suse.de>
4656
4657 PR breakpoints/23366
4658 * gdb.base/catch-follow-exec.c: New test.
4659 * gdb.base/catch-follow-exec.exp: New file.
4660
16f808ec
TV
46612018-07-25 Tom de Vries <tdevries@suse.de>
4662
4663 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
4664 vla-optimized-out.c.
4665
d7154a8d
JV
46662018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
4667
4668 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
4669 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
4670
232a0032
TV
46712018-07-20 Tom de Vries <tdevries@suse.de>
4672
4673 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
4674 NOCLONE macro.
4675 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
4676
fbb1d502
TV
46772018-07-19 Tom de Vries <tdevries@suse.de>
4678
4679 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
4680 regular expression.
4681
42dc7699
TV
46822018-07-18 Tom de Vries <tdevries@suse.de>
4683
4684 * gdb.base/vla-optimized-out.c: New test.
4685 * gdb.base/vla-optimized-out.exp: New file.
4686
7f1f7e23
SDJ
46872018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
4688
4689 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
4690 message "No address associated with hostname" when gdbserver
4691 cannot resolve the hostname.
4692
5759ebb3
PW
46932018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4694
4695 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
4696 Add some test prefixes to make tests unique.
4697
3606ccab
PW
46982018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4699
4700 * gdb.base/frameapply.c: New file.
4701 * gdb.base/frameapply.exp: New file.
4702
529c08b2
PW
47032018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4704
4705 * gdb.base/skip.exp: Update expected error message.
4706
c7ab0aef
SDJ
47072018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
4708 Jan Kratochvil <jan.kratochvil@redhat.com>
4709 Paul Fertser <fercerpav@gmail.com>
4710 Tsutomu Seki <sekiriki@gmail.com>
4711
4712 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
4713 parameter.
4714 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
4715 by default.
4716 * boards/native-gdbserver.exp: Likewise.
4717 * gdb.server/run-without-local-binary.exp: Improve regexp used
4718 for detecting when a remote debugging connection succeeds.
4719 * gdb.server/server-connect.exp: New file.
4720 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
4721 Do not prefix the port number with ":".
4722 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
4723 support for detecting and using it. Add '$debughost_gdbserver'
4724 to the list of arguments used to start gdbserver. Handle case
4725 when gdbserver cannot resolve a network name.
4726
16ff70dd
SDJ
47272018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
4728
4729 PR c++/23373
4730 * gdb.base/ptype-offsets.cc (struct static_member): New
4731 struct.
4732 (main) <stmember>: New variable.
4733 * gdb.base/ptype-offsets.exp: Add test for printing a struct
4734 with a static member in it.
4735
3541979f
AB
47362018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
4737
4738 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
4739 watchpoints enabled and disabled.
4740
c8ad9b9a
AB
47412018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4742
4743 * gdb.base/examine-backward.exp: Still run tests around address
4744 0x0, even if address 0x0 is not readable. Update the pattern for
4745 matching address 0x0 in expected output.
4746
e0e5e971
AB
47472018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
4748
4749 * gdb.base/share-env-with-gdbserver.c (main): Add call to
4750 malloc/free.
4751
1ea5da02
TV
47522018-07-04 Tom de Vries <tdevries@suse.de>
4753
4754 * gdb.dwarf2/dw2-error.exp: Update expected error message.
4755
471b9d15
MR
47562018-07-02 Maciej W. Rozycki <macro@mips.com>
4757
4758 PR tdep/8282
4759 * gdb.arch/mips-disassembler-options.exp: New test.
4760 * gdb.arch/mips-disassembler-options.s: New test source.
4761
75acb486
PA
47622018-06-29 Pedro Alves <palves@redhat.com>
4763
4764 * gdb.threads/names.exp: Adjust expected "info threads" output.
4765
cd2bb709
PA
47662018-06-29 Pedro Alves <palves@redhat.com>
4767
4768 * gdb.opt/inline-break.exp (line number, address): Add "info
4769 break" tests.
4770
991ff292
PA
47712018-06-29 Pedro Alves <palves@redhat.com>
4772
4773 * gdb.opt/inline-break.c (func1): Add "break here" marker.
4774 * gdb.opt/inline-break.exp: Test setting breakpoints by line
4775 number and address and running to them.
4776
356819b6 47772018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
4778
4779 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
4780
2512d7ef
JK
47812018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4782
4783 * lib/compiler.c: Remove executable permission flag.
4784
be1b6474
RB
47852018-06-28 Richard Bunt <richard.bunt@arm.com>
4786
4787 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
4788 code.
4789 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
4790
291f9a96
PT
47912018-06-28 Petr Tesarik <ptesarik@suse.cz>
4792
4793 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
4794
ed6dfe51
PT
47952018-06-28 Petr Tesarik <ptesarik@suse.cz>
4796
4797 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
4798 address argument is omitted.
4799
d4d429d5
PT
48002018-06-28 Petr Tesarik <ptesarik@suse.cz>
4801
4802 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
4803
7ab6656f
OJ
48042018-06-27 Omair Javaid <omair.javaid@linaro.org>
4805
4806 PR gdb/21695
4807 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
4808 * gdb.base/infoline-reloc-main-from-zero.c: New file.
4809
a33ccfc7
TT
48102018-06-26 Tom Tromey <tom@tromey.com>
4811
4812 PR rust/22574:
4813 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
4814 * gdb.rust/simple.rs (struct SimpleLayout): New.
4815
6d72d289
SM
48162018-06-22 Simon Marchi <simon.marchi@ericsson.com>
4817
4818 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
4819 "info registers" output.
4820
8363f9d5
RB
48212018-06-21 Richard Bunt <richard.bunt@arm.com>
4822
4823 * gdb.base/watchpoint-hw-attach.c: New test.
4824 * gdb.base/watchpoint-hw-attach.exp: New file.
4825
f00674fe
SM
48262018-06-20 Simon Marchi <simon.marchi@ericsson.com>
4827
4828 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
4829 through /bin/sh.
4830 * boards/dwarf4-gdb-index.exp: Likewise.
4831 * boards/fission-dwp.exp: Likewise.
4832
1d554008
UW
48332018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
4834
4835 * gdb.base/float128.exp: Add comment and improved fail message
4836 to the failure case of "print large128" test.
4837
d0ac1c44
SM
48382018-06-19 Simon Marchi <simon.marchi@ericsson.com>
4839
4840 * configure.ac: Remove AC_PREREQ.
4841 * configure: Re-generate.
4842
61b04dd0
PA
48432018-06-19 Pedro Alves <palves@redhat.com>
4844
4845 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
4846 (func_extern_caller): New.
4847 (main): Call func_extern_caller.
4848 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
4849 logic change.
4850
f63b508a
SM
48512018-06-18 Weimin Pan <weimin.pan@oracle.com>
4852
4853 PR gdb/16841
4854 * gdb.cp/typedef-base.cc: New file.
4855 * gdb.cp/typedef-base.exp: New file.
4856
0fe3a558
TV
48572018-06-18 Tom de Vries <tdevries@suse.de>
4858
4859 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
4860
7010835a
AB
48612018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
4862 Richard Bunt <Richard.Bunt@arm.com>
4863
4864 * gdb.threads/attach-slow-waitpid.c: New file.
4865 * gdb.threads/attach-slow-waitpid.exp: New file.
4866 * gdb.threads/slow-waitpid.c: New file.
4867
14897d65
PA
48682018-06-14 Pedro Alves <palves@redhat.com>
4869
4870 * gdb.base/fork-running-state.c: Include <errno.h>.
4871 (exit_if_relative_exits): New.
4872 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
4873 exits.
4874 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
4875 child exits.
4876
5d9a0608
TV
48772018-06-14 Tom de Vries <tdevries@suse.de>
4878
4879 PR cli/22573
4880 * gdb.base/finish-pretty.c: New test.
4881 * gdb.base/finish-pretty.exp: New file.
4882
11ae5818
PA
48832018-06-14 Pedro Alves <palves@redhat.com>
4884
4885 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
4886 gdb's expected startup output.
4887
1d39de44
PA
48882018-06-14 Pedro Alves <palves@redhat.com>
4889
4890 * lib/selftest-support.exp (selftest_setup): Remove inlined
4891 function handling.
4892
70ee0000
TV
48932018-06-14 Tom de Vries <tdevries@suse.de>
4894
4895 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
4896 matching of breakpoint printing.
4897
11f4b608
TV
48982018-06-13 Tom de Vries <tdevries@suse.de>
4899
4900 PR testsuite/23269
4901 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
4902 (fork_child): ... here, and ...
4903 (fork_parent): ... here.
4904
49052018-06-12 Tom de Vries <tdevries@suse.de>
4906
4907 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
4908
9516f85a
AB
49092018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
4910 Stephen Roberts <stephen.roberts@arm.com>
4911
4912 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
4913 rewrite test to describe action performed, rather than possible
4914 failure.
4915
5045b3d7
GB
49162018-06-08 Gary Benson <gbenson@redhat.com>
4917
4918 * gdb.threads/check-libthread-db.exp: New file.
4919 * gdb.threads/check-libthread-db.c: Likewise.
4920
c61b06a1
TT
49212018-06-05 Tom Tromey <tom@tromey.com>
4922
4923 * gdb.base/default.exp: Update expected "show version" output.
4924
eb6af809
TT
49252018-06-05 Tom Tromey <tom@tromey.com>
4926
4927 PR cli/12326:
4928 * gdb.cp/static-print-quit.exp: Update.
4929 * lib/gdb.exp (pagination_prompt): Update.
4930 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
4931 * gdb.python/python.exp: Update.
4932
178d6a63
JB
49332018-06-04 Joel Brobecker <brobecker@adacore.com>
4934
4935 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
4936
8e817061
JB
49372018-06-01 Joel Brobecker <brobecker@adacore.com>
4938
4939 * gdb.ada/bp_fun_addr: New testcase.
4940
e86ca25f
TT
49412018-06-01 Tom Tromey <tom@tromey.com>
4942
4943 * gdb.xml/tdesc-regs.exp (load_description): Update expected
4944 results.
4945 * gdb.dwarf2/method-ptr.exp: Set language to C++.
4946 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
4947 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
4948 * gdb.base/maint.exp (maint_pass_if): Update.
4949
4b2dfa9d
MR
49502018-05-31 Maciej W. Rozycki <macro@mips.com>
4951
4952 * gdb.base/endian.exp: New test.
4953 * gdb.base/endian.c: New test source.
4954
45f25d6c
AB
49552018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
4956
4957 PR gdb/23203
4958 * gdb.base/bt-selected-frame.c: New file.
4959 * gdb.base/bt-selected-frame.exp: New file.
4960 * lib/gdb.exp (get_current_frame_number): New function.
4961
d9f6d7f8
MR
49622018-05-24 Maciej W. Rozycki <macro@mips.com>
4963 Pedro Alves <palves@redhat.com>
4964
4965 * gdb.threads/tls-core.c: Include <stdlib.h>
4966 (thread_proc): Call `abort'.
4967 * gdb.threads/tls-core.exp: Generate a core with core_find too.
4968 (tls_core_test): New procedure, bits factored out from ...
4969 (top level): ... here. Test both native cores and gcore cores.
4970
ff1cf532
TT
49712018-05-23 Tom Tromey <tom@tromey.com>
4972
4973 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
4974
b98664d3
TT
49752018-05-23 Tom Tromey <tom@tromey.com>
4976
4977 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
4978 symfile_complaints.
4979 (test_short_complaints): Likewise.
4980 (test_empty_complaints): Likewise.
4981 (test_initial_complaints): Update.
4982
4e9668d0
TT
49832018-05-23 Tom Tromey <tom@tromey.com>
4984
4985 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
4986
43ba33c7
TT
49872018-05-23 Tom Tromey <tom@tromey.com>
4988
4989 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
4990 (test_short_complaints): Update.
4991
035522c0
PA
49922018-05-22 Pedro Alves <palves@redhat.com>
4993
4994 * gdb.base/remote.exp: Only gdb_start after compiling the
4995 testcase. Issue "disconnect" before testing "set remote" command
4996 defaults. Issue clean_restart before running to main.
4997
cc0be08f
PA
49982018-05-22 Pedro Alves <palves@redhat.com>
4999
5000 * gdb.base/remote.exp: Adjust expected output of "show remote
5001 memory-write-packet-size". Add tests for "set remote
5002 memory-write-packet-size 0" and "set remote
5003 memory-write-packet-size fixed/limit".
5004
b1b60145
PA
50052018-05-22 Pedro Alves <palves@redhat.com>
5006
5007 PR gdb/22973
5008 * gdb.base/utf8-identifiers.c: New file.
5009 * gdb.base/utf8-identifiers.exp: New file.
5010
0ec848ad
PFC
50112018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
5012
5013 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
5014
2c3305f6
PFC
50152018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
5016
5017 * gdb.arch/powerpc-vsx-gcore.exp: New file.
5018
ce1e8424
TT
50192018-05-18 Tom Tromey <tom@tromey.com>
5020
5021 * gdb.base/ptype-offsets.exp: Update.
5022
ddfe970e
KS
50232018-05-17 Keith Seitz <keiths@redhat.com>
5024
5025 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
5026 in expected breakpoint stop locations.
5027 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
5028 move to proper scope to test variable values.
5029 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
5030 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
5031 New functions.
5032 (main): Call not_inline_func3.
5033 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
5034 inline_func1, inline_func2, and inline_func3. Test that when each
5035 breakpoint is hit, GDB properly reports both the stop location
5036 and the backtrace. Repeat tests for temporary breakpoints.
5037
0726fcc6
MR
50382018-05-15 Maciej W. Rozycki <macro@mips.com>
5039
5040 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
5041 rather then trying to access it in determining whether the PID
5042 of `gdbserver' could have been retrieved.
5043
8ee22052
AB
50442018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
5045
5046 * gdb.arch/amd64-init-x87-values.S: New file.
5047 * gdb.arch/amd64-init-x87-values.exp: New file.
5048
7785df48
JK
50492018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5050
5051 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
5052
56bcdbea
TT
50532018-05-04 Tom Tromey <tom@tromey.com>
5054
5055 PR python/22730:
5056 * gdb.python/python.exp: Test multi-line execute.
5057
a913fffb
TT
50582018-05-04 Tom Tromey <tom@tromey.com>
5059
5060 PR python/22731:
5061 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
5062
7a2c85f2
TT
50632018-05-04 Tom Tromey <tom@tromey.com>
5064
5065 PR gdb/11750:
5066 * gdb.base/define.exp: Test defining a user command inside a user
5067 command.
5068 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
5069
a3b60e45
JK
50702018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
5071 Pedro Alves <palves@redhat.com>
5072
5073 PR breakpoints/19806 and support for PR external/20207.
5074 * gdb.base/watchpoint-unaligned.c: New file.
5075 * gdb.base/watchpoint-unaligned.exp: New file.
5076
45fe4a03
AB
50772018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
5078
5079 * gdb.base/maint.exp: Make test names unique, use
5080 test_prefix_command_help to test 'help maint info', and remove
5081 repeated test of 'help maint'.
5082
9be2ae8f
TT
50832018-05-04 Tom Tromey <tom@tromey.com>
5084
5085 PR gdb/22619:
5086 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
5087 behavior.
5088
11859c31
AB
50892018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
5090
5091 * gdb.base/maint.exp: Process output from 'maint print registers'
5092 line at a time.
5093
089a9490
AB
50942018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
5095
5096 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
5097 timeout.
5098
9b0797e2
AB
50992018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
5100
5101 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
5102 filter pattern.
5103
f6ac5f3d
PA
51042018-05-02 Pedro Alves <palves@redhat.com>
5105
5106 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
5107 to_log_command renames.
5108 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
5109
77d3c63b
TT
51102018-05-02 Tom Tromey <tom@tromey.com>
5111
5112 * gdb.python/py-parameter.exp: Set test message.
5113
0489430a
TT
51142018-05-02 Tom Tromey <tom@tromey.com>
5115
5116 PR python/20084:
5117 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
5118 PARAM_ZUINTEGER_UNLIMITED tests.
5119
1632f8ba
DR
51202018-04-28 Dan Robertson <danlrobertson89@gmail.com>
5121
5122 PR rust/23124
5123 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
5124 when casting.
5125
6d7bb824
TT
51262018-04-30 Tom Tromey <tom@tromey.com>
5127
5128 * gdb.python/py-type.exp: Check align attribute.
5129 * gdb.python/py-type.c: New "aligncheck" global.
5130
007e1530
TT
51312018-04-30 Tom Tromey <tom@tromey.com>
5132
5133 PR exp/17095:
5134 * gdb.dwarf2/dw2-align.exp: New file.
5135 * gdb.cp/align.exp: New file.
5136 * gdb.base/align.exp: New file.
5137 * lib/gdb.exp (gdb_int128_helper): New proc.
5138 (has_int128_c, has_int128_cxx): New caching procs.
5139
6873858b
TT
51402018-04-27 Tom Tromey <tom@tromey.com>
5141
5142 PR rust/22545:
5143 * gdb.rust/simple.exp: Add inclusive range tests.
5144
79188d8d
PA
51452018-04-26 Pedro Alves <palves@redhat.com>
5146
5147 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
5148 ifunc breakpoint locations correctly of ifunc breakpoints set
5149 while the program resolves the ifunc.
5150
c7075ad5
PA
51512018-04-26 Pedro Alves <palves@redhat.com>
5152
5153 * gdb.base/gnu-ifunc-final.c: New file.
5154 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
5155 * gdb.base/gnu-ifunc.exp (executable): Delete.
5156 (staticexecutable): Adjust.
5157 (lib_opts, exec_opts): Delete.
5158 (make_binsuffix, build, set-break): New procedures.
5159 (misc_tests): New, with tests factored out from the top level.
5160 (top level): Test different combinations of ifunc resolver name,
5161 resolver with and with debug info, and ifunc target with and
5162 without debug info. Wrap static tests with with_target_prefix.
5163
8388016d
PA
51642018-04-26 Pedro Alves <palves@redhat.com>
5165
5166 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
5167 return type" warnings.
5168
249b5733
PA
51692018-04-25 Pedro Alves <palves@redhat.com>
5170
5171 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
5172 killed".
5173 * gdb.base/kill-after-signal.exp: Likewise.
5174 * gdb.threads/kill.exp: Likewise.
5175
f67c0c91
SDJ
51762018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5177 Sergio Durigan Junior <sergiodj@redhat.com>
5178 Pedro Alves <palves@redhat.com>
5179
5180 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
5181 regexps to expect for '[Inferior ... detached]' as well.
5182 * gdb.base/attach.exp: Likewise.
5183 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
5184 "gdb_continue_to_end".
5185 (test_catch_syscall_with_wrong_args): Likewise.
5186 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
5187 ']'. Don't set 'verbose' on.
5188 * gdb.base/foll-vfork.exp: Likewise.
5189 * gdb.base/fork-print-inferior-events.c: New file.
5190 * gdb.base/fork-print-inferior-events.exp: New file.
5191 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
5192 '[Inferior ... has been killed]' message.
5193 * gdb.base/kill-after-signal.exp: Likewise.
5194 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
5195 detach message.
5196 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
5197 message.
5198 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
5199 regexps to expect for '[Inferior ... detached]' as well.
5200 * gdb.threads/process-dies-while-detaching.exp: Likewise.
5201
0a8ddac4
SM
52022018-04-24 Simon Marchi <simon.marchi@ericsson.com>
5203
5204 PR gdb/23104
5205 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
5206
701adfb0
PA
52072018-04-22 Rajendra SY <rajendra.sy@gmail.com>
5208
5209 PR gdb/23095
5210 * gdb.base/break-probes.exp: Pass shlib_load to
5211 prepare_for_testing. Set normal_bp to r_debug_state if target is
5212 bsd.
5213
d27d16bf
RB
52142018-04-19 Richard Bunt <richard.bunt@arm.com>
5215
5216 * gdb.threads/multiple-successive-infcall.c: New test.
5217 * gdb.threads/multiple-successive-infcall.exp: New file.
5218
a037790e
TT
52192018-04-17 Tom Tromey <tom@tromey.com>
5220
5221 * gdb.rust/simple.rs (Union): New type.
5222 (main): New local "u".
5223 * gdb.rust/simple.exp (test_one_slice): Add new test case.
5224
e3a91079
AA
52252018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5226
5227 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
5228 number information in output of "whereis" command.
5229 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
5230
b744723f
AA
52312018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5232
5233 * gdb.ada/info_types.exp: Adjust expected output to the line
5234 numbers now printed by "info var/func/type".
5235 * gdb.base/completion.exp: Likewise.
5236 * gdb.base/included.exp: Likewise.
5237 * gdb.cp/cp-relocate.exp: Likewise.
5238 * gdb.cp/cplusfuncs.exp: Likewise.
5239 * gdb.cp/namespace.exp: Likewise.
5240 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
5241
4a4495d6
MM
52422018-04-13 Markus Metzger <markus.t.metzger@intel.com>
5243
5244 * gdb.btrace/cpu.exp: New.
5245
1d509aa6
MM
52462018-04-13 Markus Metzger <markus.t.metzger@intel.com>
5247
5248 * gdb.base/step-indirect-call-thunk.exp: New.
5249 * gdb.base/step-indirect-call-thunk.c: New.
5250 * gdb.reverse/step-indirect-call-thunk.exp: New.
5251 * gdb.reverse/step-indirect-call-thunk.c: New.
5252
6295b6da
SM
52532018-04-11 Simon Marchi <simon.marchi@ericsson.com>
5254
5255 * gdb.base/pie-fork.c: New file.
5256 * gdb.base/pie-fork.exp: New file.
5257
50146e70
TT
52582018-04-11 Tom Tromey <tom@tromey.com>
5259
5260 * gdb.rust/simple.exp: Add test for ".." struct initializer.
5261
f50d8a2e
PA
52622018-04-10 Pedro Alves <palves@redhat.com>
5263
5264 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
5265 exits. Instead loop running forever.
5266 (fork_parent): Run forever too.
5267
a0be7a36
SM
52682018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
5269
5270 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
5271 mi_continue_to_line.
5272 * gdb.mi/mi-stack.c (callee4): Add comment.
5273
9b73db36
SM
52742018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
5275
5276 * gdb.mi/mi-stack.exp: Fix indentation.
5277
c912f608
SM
52782018-04-07 Simon Marchi <simon.marchi@ericsson.com>
5279
5280 PR gdb/22979
5281 * gdb.arch/amd64-osabi.exp: New file.
5282
26540402
SM
52832018-04-07 Simon Marchi <simon.marchi@ericsson.com>
5284
5285 PR gdb/22980
5286 * gdb.base/osabi.exp: New file.
5287
121ad66c 52882018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
5289
5290 * gdb.cp/static-typedef-print.exp: New file.
5291 * gdb.cp/static-typedef-print.cc: New file.
5292
3fcded8f
JB
52932018-03-27 Joel Brobecker <brobecker@adacore.com>
5294
5295 * gdb.ada/varsize_limit: New testcase.
5296
59cc4834
JB
52972018-03-27 Joel Brobecker <brobecker@adacore.com>
5298
5299 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
5300
5301 * gdb.ada/notcplusplus: New testcase.
5302
5303 * gdb.base/c-linkage-name.c: New file.
5304 * gdb.base/c-linkage-name.exp: New testcase.
5305
4ca59a9f
TT
53062018-03-26 Tom Tromey <tom@tromey.com>
5307
5308 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
5309 * gdb.python/py-framefilter.py (name_error): New global.
5310 (ErrorInName.function): Use name_error.
5311
978d6c75
TT
53122018-03-26 Tom Tromey <tom@tromey.com>
5313
5314 PR backtrace/15582:
5315 * gdb.python/py-framefilter.exp: Add "bt hide" test.
5316
b7fee5a3
KS
53172018-03-23 Keith Seitz <keiths@redhat.com>
5318
5319 PR c++/22968
5320 * gdb.cp/subtypes.exp: New file.
5321 * gdb.cp/subtypes.h: New file.
5322 * gdb.cp/subtypes.cc: New file.
5323 * gdb.cp/subtypes-2.cc: New file.
5324
376be529
AB
53252018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
5326
5327 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
5328 (done): Call '_exit' not 'exit' to avoid atexit handlers.
5329 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
5330 -nostartfiles when compiling the test. Confirm that all registers
5331 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
5332
066cfa98
AB
53332018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
5334
5335 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
5336 option, syntax was wrong anyway.
5337 * gdb.arch/arm-disp-step.exp: Likewise.
5338 * gdb.arch/sparc64-regs.exp: Likewise.
5339 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
5340 option, syntax was wrong anyway, switch to use
5341 prepare_for_testing.
5342 * gdb.arch/i386-disp-step.exp: Likewise.
5343
079670b9
AA
53442018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
5345
5346 * gdb.ada/exec_changed.exp: Replace "target_info exists
5347 use_gdb_stub" by "use_gdb_stub".
5348 * gdb.ada/start.exp: Likewise.
5349 * gdb.base/async-shell.exp: Likewise.
5350 * gdb.base/attach-pie-misread.exp: Likewise.
5351 * gdb.base/attach-wait-input.exp: Likewise.
5352 * gdb.base/break-entry.exp: Likewise.
5353 * gdb.base/break-interp.exp: Likewise.
5354 * gdb.base/dprintf-detach.exp: Likewise.
5355 * gdb.base/nostdlib.exp: Likewise.
5356 * gdb.base/solib-nodir.exp: Likewise.
5357 * gdb.base/statistics.exp: Likewise.
5358 * gdb.base/testenv.exp: Likewise.
5359 * gdb.mi/mi-exec-run.exp: Likewise.
5360 * gdb.mi/mi-start.exp: Likewise.
5361 * gdb.multi/dummy-frame-restore.exp: Likewise.
5362 * gdb.multi/multi-arch-exec.exp: Likewise.
5363 * gdb.multi/multi-arch.exp: Likewise.
5364 * gdb.multi/tids.exp: Likewise.
5365 * gdb.multi/watchpoint-multi.exp: Likewise.
5366 * gdb.python/py-events.exp: Likewise.
5367 * gdb.threads/attach-into-signal.exp: Likewise.
5368 * gdb.threads/attach-stopped.exp: Likewise.
5369 * gdb.threads/threadapply.exp: Likewise.
5370 * lib/selftest-support.exp: Likewise.
5371
26d6cec4
AA
53722018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
5373
5374 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
5375
4ee89e90
SR
53762018-03-20 Stephen Roberts <stephen.roberts@arm.com>
5377
5378 * gdb.perf/template-breakpoints.cc: New file.
5379 * gdb.perf/template-breakpoints.exp: New file.
5380 * gdb.perf/template-breakpoints.py: New file.
5381
92630041
TT
53822018-03-19 Tom Tromey <tom@tromey.com>
5383
5384 * gdb.rust/simple.rs (main): Add local variables field1, field2,
5385 y0.
5386 * gdb.rust/simple.exp: Test bare identifier form of struct
5387 initializer.
5388
76727919
TT
53892018-03-19 Tom Tromey <tom@tromey.com>
5390
5391 * gdb.gdb/observer.exp: Remove.
5392
194ed413
AA
53932018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5394
5395 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
5396 "qualified" option when setting breakpoints.
5397 * gdb.trace/backtrace.exp: Likewise.
5398 * gdb.trace/circ.exp: Likewise.
5399 * gdb.trace/collection.exp: Likewise.
5400 * gdb.trace/disconnected-tracing.exp: Likewise.
5401 * gdb.trace/ftrace-lock.exp: Likewise.
5402 * gdb.trace/ftrace.exp: Likewise.
5403 * gdb.trace/infotrace.exp: Likewise.
5404 * gdb.trace/packetlen.exp: Likewise.
5405 * gdb.trace/passc-dyn.exp: Likewise.
5406 * gdb.trace/qtro.exp: Likewise.
5407 * gdb.trace/read-memory.exp: Likewise.
5408 * gdb.trace/report.exp: Likewise.
5409 * gdb.trace/signal.exp: Likewise.
5410 * gdb.trace/status-stop.exp: Likewise.
5411 * gdb.trace/strace.exp: Likewise.
5412 * gdb.trace/tfind.exp: Likewise.
5413 * gdb.trace/trace-break.exp: Likewise.
5414 * gdb.trace/trace-condition.exp: Likewise.
5415 * gdb.trace/trace-mt.exp: Likewise.
5416 * gdb.trace/tstatus.exp: Likewise.
5417 * gdb.trace/tsv.exp: Likewise.
5418 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
5419 * gdb.trace/unavailable.exp: Likewise.
5420 * gdb.trace/while-dyn.exp: Likewise.
5421
8b067d2c
AA
54222018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5423
5424 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
5425 that libinproctrace is copied to the target.
5426
3ae9ce5d
TT
54272018-03-14 Tom Tromey <tom@tromey.com>
5428
5429 PR cli/14977:
5430 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
5431 a null pointer.
5432 * gdb.base/wchar.exp: Likewise.
5433
b8c2339b
TT
54342018-03-14 Tom Tromey <tom@tromey.com>
5435
5436 PR cli/19918:
5437 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
5438 flag.
5439
4872dc46
SM
54402018-03-08 Simon Marchi <simon.marchi@ericsson.com>
5441
5442 PR gdb/22841
5443 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
5444 "target" to remote_exec.
5445
e4fe3756
SM
54462018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
5447
5448 PR gdb/22841
5449 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
5450 ${board}_upload): Remove.
5451
e95a97d4
AA
54522018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
5453
5454 * gdb.cp/watch-cp.cc: New test.
5455 * gdb.cp/watch-cp.exp: New file.
5456
dbbb1059
AB
54572018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5458
5459 * gdb.base/infcall-nested-structs.exp: New file.
5460 * gdb.base/infcall-nested-structs.c: New file.
5461 * gdb.base/float.exp: Add riscv support.
5462
ecc054c0
TP
54632018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
5464
5465 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
5466 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
5467
25e3c82c
SDJ
54682018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
5469
5470 * gdb.server/abspath.exp: New file.
5471 * lib/gdb.exp (with_cwd): New procedure.
5472
3083294d
SM
54732018-02-28 Simon Marchi <simon.marchi@ericsson.com>
5474
5475 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
5476 use it.
5477 (gdb_is_target_remote_prompt): New proc.
5478 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
5479 (gdb_is_target_native): Pass prompt parameter to
5480 gdb_is_target_1.
5481
3275ef47
SM
54822018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
5483
5484 * gdb.base/load-command.c: New file.
5485 * gdb.base/load-command.exp: New file.
5486 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
5487 (gdb_is_target_1): ...this, and generalize for other targets
5488 than just remote.
5489 (gdb_is_target_remote): Use gdb_is_target_1.
5490 (gdb_is_target_native): use gdb_is_target_1.
5491
6893c19a
TT
54922018-02-26 Tom Tromey <tom@tromey.com>
5493
5494 PR python/16497:
5495 * gdb.python/py-framefilter.exp: Update test.
5496
2ddeaf8a
TT
54972018-02-26 Tom Tromey <tom@tromey.com>
5498
5499 * gdb.dwarf2/variant.c: New file.
5500 * gdb.dwarf2/variant.exp: New file.
5501
c9317f21
TT
55022018-02-26 Tom Tromey <tom@tromey.com>
5503
5504 * gdb.rust/simple.exp: Accept more possible results in enum test.
5505
6f6d0c26
SM
55062018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
5507
5508 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
5509 parentheses.
5510
11b03145
MR
55112018-02-23 Maciej W. Rozycki <macro@mips.com>
5512
5513 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
5514 name of a variable: $actual_linejj -> $actual_line.
5515
54a27fe5
JB
55162018-02-21 John Baldwin <jhb@FreeBSD.org>
5517
5518 * gdb.arch/amd64-i386-address.exp: Fix a typo.
5519
de65820c
MM
55202018-02-20 Markus Metzger <markus.t.metzger@intel.com>
5521
5522 * gdb.btrace/buffer-size.exp: Do not force BTS.
5523
980548fd
PA
55242018-02-14 Pedro Alves <palves@redhat.com>
5525
5526 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
5527 getting a "Quit".
5528
c4e12631
MM
55292018-02-09 Markus Metzger <markus.t.metzger@intel.com>
5530
5531 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
5532 Fix test name.
5533
c2e0e465
SM
55342018-02-07 Simon Marchi <simon.marchi@ericsson.com>
5535
5536 * gdb.cp/m-static.exp: Check type of optimized out static
5537 member.
5538
f7216783
AB
55392018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
5540
5541 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
5542 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
5543
0625771b
LS
55442018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
5545 Leszek Swirski <leszeks@google.com>
5546
5547 * gdb.python/py-prettyprint.c
5548 (struct to_string_returns_value_inner,
5549 struct to_string_returns_value_wrapper): New.
5550 (main): Add tsrvw variable.
5551 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
5552 ToStringReturnsValueWrapper): New classes.
5553 (register_pretty_printers): Register new pretty-printers.
5554 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
5555 recursive pretty printer.
5556 * gdb.python/py-mi.exp: Likewise.
5557
59498c30
LS
55582018-02-01 Leszek Swirski <leszeks@google.com>
5559
5560 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
5561 functions with the same name as an include file are parsed
5562 correctly.
5563
d4d38844
YQ
55642018-02-01 Yao Qi <yao.qi@linaro.org>
5565
5566 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
5567 "\[^\r\n\]*".
5568
07e5f5cf
NP
55692018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
5570
5571 * gdb.arch/powerpc-prologue-frame.s: New file.
5572 * gdb.arch/powerpc-prologue-frame.c: Likewise.
5573 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
5574
929b5ad4
JB
55752018-01-31 Joel Brobecker <brobecker@adacore.com>
5576
5577 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
5578
e671cd59
PA
55792018-01-30 Pedro Alves <palves@redhat.com>
5580
5581 PR gdb/13211
5582 * gdb.base/interrupt-daemon.c: New.
5583 * gdb.base/interrupt-daemon.exp: New.
5584 * gdb.multi/multi-term-settings.c: New.
5585 * gdb.multi/multi-term-settings.exp: New.
5586
fc413dc4
JB
55872018-01-30 Joel Brobecker <brobecker@adacore.com>
5588
5589 * gdb.base/break.exp: Save the location where the breakpoint
5590 on break.c:47 was actually inserted when debugging the version
5591 compiled at -O2 and use it in the expected output of the "info
5592 break" test performed soon after.
5593
5c319bb2
PA
55942018-01-22 Pedro Alves <palves@redhat.com>
5595 Sergio Durigan Junior <sergiodj@redhat.com>
5596
5597 * gdb.base/whatis.exp: Add tests for 'set print object on' +
5598 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
5599
a9e40818
JB
56002018-01-22 Joel Brobecker <brobecker@adacore.com>
5601
5602 * gdb.base/break-include.c, gdb.base/break-include.inc,
5603 gdb.base/break-include.exp: New files.
5604 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
5605 line number now being the actual line number where the breakpoint
5606 was inserted.
5607 * gdb.mi/mi-break.exp: Likewise.
5608 * gdb.mi/mi-reverse.exp: Likewise.
5609 * gdb.mi/mi-simplerun.exp: Ditto.
5610
e707fc44
AB
56112018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
5612
5613 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
5614 varobj.
5615 * gdb.mi/mi-var-create-rtti.exp: Likewise.
5616
ae451627
AB
56172018-01-21 Don Breazeal <donb@codesourcery.com>
5618 Andrew Burgess <andrew.burgess@embecosm.com>
5619
5620 * gdb.mi/basics.c: Add new global.
5621 * gdb.mi/mi-frame-regs.exp: New file.
5622 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
5623 case.
5624
b1b189e0
AB
56252018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
5626
5627 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
5628 non-parameter, and on an unknown symbol.
5629
fcfcc376
TT
56302018-01-19 Tom Tromey <tom@tromey.com>
5631
5632 * gdb.rust/modules.rs (TWENTY_THREE): New global.
5633 * gdb.rust/modules.exp: Add ::-qualified lookup test.
5634
634c1c31
AA
56352018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5636
5637 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
5638 setrlimit and chdir to int.
5639
d6ad07fd
AA
56402018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5641
5642 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
5643 function.
5644 (my_tend): Likewise.
5645 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
5646 rationale of avoiding FP- and vector instructions.
5647
adf8243b
RK
56482018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
5649
5650 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
5651 "info reg" with "\[ \t\]*".
5652 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
5653 "\[ \t\]+".
5654 * gdb.arch/s390-multiarch.exp: Ditto.
5655 * gdb.base/pc-fp.exp: Ditto.
5656 * gdb.reverse/i386-precsave.exp: Ditto.
5657 * gdb.reverse/i386-reverse.exp: Ditto.
5658 * gdb.reverse/i387-env-reverse.exp: Ditto.
5659 * gdb.reverse/i387-stack-reverse.exp: Ditto.
5660
dcc06925
AA
56612018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
5662
5663 * lib/gdb.exp (gdb_compile): Re-enable use of
5664 universal_compile_options for languages other than Rust.
5665
25d4fd80
AA
56662018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
5667
5668 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
5669
ee7f689e 56702018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
5671
5672 PR gdb/16577
5673 * gdb.base/solib-vanish.exp: New.
5674 * gdb.base/solib-vanish-main.c: New.
5675 * gdb.base/solib-vanish-lib1.c: New.
5676 * gdb.base/solib-vanish-lib2.c: New.
5677
d8447b6b
YQ
56782018-01-17 Yao Qi <yao.qi@linaro.org>
5679
5680 * gdb.compile/compile.exp: Match the address printed for
5681 frame in the output of command "bt".
5682
86d6a90c
TT
56832018-01-15 Tom Tromey <tom@tromey.com>
5684
5685 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
5686 compute sp_reg.
5687
cbcdb1aa
AB
56882018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
5689
5690 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
5691 to prepare.
5692 (prepare): Return 0 on error, 1 on success.
5693
eea61984
PA
56942018-01-12 Pedro Alves <palves@redhat.com>
5695
5696 * gdb.base/continue-after-aborted-step-over.c: New.
5697 * gdb.base/continue-after-aborted-step-over.exp: New.
5698
6181e9c2
SM
56992018-01-11 Simon Marchi <simon.marchi@ericsson.com>
5700
5701 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
5702 options when not creating an executable.
5703
3cada740
PA
57042018-01-11 Pedro Alves <palves@redhat.com>
5705
5706 PR remote/22597
5707 * gdb.server/stop-reply-no-thread.c: New file.
5708 * gdb.server/stop-reply-no-thread.exp: New file.
5709
c63d3e8d
PA
57102018-01-10 Pedro Alves <palves@redhat.com>
5711
5712 PR gdb/22670
5713 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
5714 functions too. Test setting breakpoints and printing C functions
5715 with no debug info too.
5716 * gdb.ada/bp_c_mixed_case/qux.c: New file.
5717
d4c2a405
PA
57182018-01-10 Pedro Alves <palves@redhat.com>
5719
5720 PR gdb/22670
5721 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
5722 a fail.
5723
8825213e
PA
57242018-01-10 Pedro Alves <palves@redhat.com>
5725
5726 PR gdb/22670
5727 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
5728
605fd3c6
YQ
57292018-01-08 Simon Marchi <simon.marchi@ericsson.com>
5730
5731 * gdb.server/unittest.exp: Match the output in non-development
5732 mode.
5733
1e5ded6c
YQ
57342018-01-08 Simon Marchi <simon.marchi@ericsson.com>
5735
5736 * gdb.gdb/unittest.exp: Match output in non-development mode.
5737
30066b0b
JB
57382018-01-08 Joel Brobecker <brobecker@adacore.com>
5739
5740 * gdb.ada/access_tagged_param.exp: Relax expected output
5741 for value of "ObjL" in "continue" to pck.inspect breakpoint
5742 test.
5743
04bafb1e
XR
57442018-01-08 Joel Brobecker <brobecker@adacore.com>
5745
9f86398b
JB
5746 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
5747 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 5748
e379cee6
PA
57492018-01-05 Pedro Alves <palves@redhat.com>
5750
5751 PR gdb/18653
5752 * gdb.base/libsegfault.exp: New.
5753
de63c46b
PA
57542018-01-05 Joel Brobecker <brobecker@adacore.com>
5755
5756 PR gdb/22670
5757 * gdb.ada/access_tagged_param.exp: New file.
5758 * gdb.ada/access_tagged_param/foo.adb: New file.
5759
f98fc17b
PA
57602018-01-05 Pedro Alves <palves@redhat.com>
5761
5762 PR gdb/22670
5763 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
5764 exercise lower case too, and to exercise both full matching and
5765 wild matching.
5766
342f8240
JB
57672018-01-05 Joel Brobecker <brobecker@adacore.com>
5768
5769 * gdb.ada/rename_subscript_param: New testcase.
5770
7150d33c
JG
57712018-01-05 Jerome Guitton <guitton@adacore.com>
5772
5773 * gdb.ada/arr_acc_idx_w_gap: New testcase.
5774
cc0e770c
JB
57752018-01-05 Joel Brobecker <brobecker@adacore.com>
5776
5777 * gdb.ada/convvar_comp: New testcase.
5778
672a41aa 57792018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
5780
5781 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
5782 (My_Table): New global variable.
5783 * testsuite/gdb.ada/array_char_idx.exp: Add test.
5784
7365ec2f
JB
57852018-01-04 Joel Brobecker <brobecker@adacore.com>
5786
5787 PR gdb/22670
5788 * gdb.ada/maint_with_ada: New testcase.
5789
289483b6
JB
57902018-01-04 Joel Brobecker <brobecker@adacore.com>
5791
5792 PR gdb/22670
5793 * gdb.ada/bp_c_mixed_case: New testcase.
5794
344420da
JB
57952018-01-04 Joel Brobecker <brobecker@adacore.com>
5796
5797 PR gdb/22670
5798 * gdb.ada/complete.exp: Add "complete break ada" test.
5799
66fc87a0
JB
58002018-01-04 Joel Brobecker <brobecker@adacore.com>
5801
5802 PR gdb/22670
5803 * gdb.ada/info_addr_mixed_case: New testcase.
5804
9f757bf7
XR
58052018-01-03 Xavier Roirand <roirand@adacore.com>
5806
5807 * gdb.ada/excep_handle.exp: New testcase.
5808 * gdb.ada/excep_handle/foo.adb: New file.
5809 * gdb.ada/excep_handle/pck.ads: New file.
5810
bd570f80
JB
58112018-01-03 Joel Brobecker <brobecker@adacore.com>
5812
5813 * gdb.base/step-line.c: Add extra empty line in copyright header.
5814 * gdb.base/step-line.inp: Likewise.
5815
9fe561ab
JB
58162018-01-02 Joel Brobecker <brobecker@adacore.com>
5817
5818 * gdb.ada/dyn_stride.exp: Add slice test.
5819
a405673c
JB
58202018-01-02 Joel Brobecker <brobecker@adacore.com>
5821
5822 * gdb.ada/dyn_stride: New testcase.
5823
cef0f868
SH
58242017-12-27 Stafford Horne <shorne@gmail.com>
5825
5826 * gdb.xml/extra-regs.xml: Add example foo reggroup.
5827 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
5828
b67d92b0
SH
58292017-12-27 Stafford Horne <shorne@gmail.com>
5830
5831 * gdb.base/reggroups.c: New file.
5832 * gdb.base/reggroups.exp: New file.
5833
eccab96d
JB
58342017-12-18 Joel Brobecker <brobecker@adacore.com>
5835
5836 * gdb.dwarf2/ada-valprint-error.c: New file.
5837 * gdb.dwarf2/ada-valprint-error.exp: New file.
5838
0e2da9f0
JB
58392017-12-18 Joel Brobecker <brobecker@adacore.com>
5840
5841 * gdb.ada/assign_arr: New testcase.
5842
cb923fcc
XR
58432017-12-18 Xavier Roirand <roirand@adacore.com>
5844
5845 * gdb.ada/funcall_ptr: New testcase.
5846
7c161838
SDJ
58472017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5848
5849 PR cli/16224
5850 * gdb.base/ptype-offsets.cc: New file.
5851 * gdb.base/ptype-offsets.exp: New file.
5852
1af17fd9
YQ
58532017-12-15 Yao Qi <yao.qi@linaro.org>
5854
5855 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
5856 if XML is disabled.
5857
828d5846
XR
58582017-12-15 Xavier Roirand <roirand@adacore.com>
5859
5860 * gdb.ada/same_component_name: New testcase.
5861
79e8fcaa
JB
58622017-12-14 Joel Brobecker <brobecker@adacore.com>
5863
5864 * gdb.ada/str_binop_equal: New testcase.
5865
e05fa6f9
JB
58662017-12-14 Joel Brobecker <brobecker@adacore.com>
5867
5868 * gdb.ada/task_switch_in_core: New testcase.
5869
b89641ba
SM
58702017-12-13 Simon Marchi <simon.marchi@ericsson.com>
5871
5872 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
5873 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
5874 call test_bkpt_qualified.
5875 (test_bkpt_qualified): New proc.
5876
6892d2e4
PA
58772017-12-13 Pedro Alves <palves@redhat.com>
5878
5879 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
5880 Tighten regexp by matching with an anchor.
5881
a22ecf70
PA
58822017-12-13 Pedro Alves <palves@redhat.com>
5883
5884 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
5885 ("expression with namespace"): New set of tests.
5886 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
5887 (Nested::Test_NS::qux): New.
5888 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
5889 defaults to 'start_quote_char' and 'end_quote_char' parameters.
5890
9937536c
JB
58912017-12-13 Joel Brobecker <brobecker@adacore.com>
5892
5893 * gdb.base/server-del-break.c: New file.
5894 * gdb.base/server-del-break.exp: New file.
5895
fe49c6f5
SH
58962017-12-12 Stafford Horne <shorne@gmail.com>
5897
5898 * gdb.xml/tdesc-regs.exp: Add or1k support.
5899
c3d18620
SH
59002017-12-12 Stafford Horne <shorne@gmail.com>
5901
5902 * gdb.base/bp-permanent.c: Define nop of or1k.
5903
c5f9cfc8
JB
59042017-12-11 Joel Brobecker <brobecker@adacore.com>
5905
5906 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
5907 output with components being reordered.
5908
a9c135fc
JB
59092017-12-11 Joel Brobecker <brobecker@adacore.com>
5910
5911 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
5912 output with components being reordered.
5913
927aa2e7
JK
59142017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5915 Pedro Alves <palves@redhat.com>
5916
5917 * gdb.base/maint.exp (check for .gdb_index): Check also for
5918 .debug_names.
5919 * gdb.dlang/watch-loc.c (.debug_aranges): New.
5920 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
5921 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
5922 (.gdb_index used after symbol reloading): Support also .debug_names.
5923 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
5924
f17d9474
YQ
59252017-12-08 Yao Qi <yao.qi@linaro.org>
5926
5927 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
5928 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
5929
a0de8c21
YQ
59302017-12-08 Yao Qi <yao.qi@linaro.org>
5931
5932 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
5933 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
5934
a738ea1d
YQ
59352017-12-08 Yao Qi <yao.qi@linaro.org>
5936
5937 * gdb.arch/aarch64-tagged-pointer.c: New file.
5938 * gdb.arch/aarch64-tagged-pointer.exp: New file.
5939
1cd9a73b
SDJ
59402017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
5941
5942 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
5943 "int".
5944
fa6eb693
KS
59452017-12-07 Keith Seitz <keiths@redhat.com>
5946
5947 PR breakpoints/22569
5948 * gdb.linespec/ls-errs.exp: Change expected result of "break
5949 -source this file has spaces.c -line 3".
5950 Check that an explicit source file followed by whitespace is
5951 identified as an invalid explicit location.
5952
883fd55a
KS
59532017-12-07 Keith Seitz <keiths@redhat.com>
5954
5955 * gdb.cp/nested-types.cc: New file.
5956 * gdb.cp/nested-types.exp: New file.
5957 * lib/cp-support.exp: Load data-structures.exp library.
5958 (debug_cp_test_ptype_class): New global.
5959 (cp_ptype_class_verbose, next_line): New procedures.
5960 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
5961 Add and document new return value.
5962 Switch the list of lines to a queue.
5963 Add support for new `type' key for nested type definitions.
5964 Add debugging/troubleshooting messages.
5965 * lib/data-structures.exp: New file.
5966
ec72db3e
SM
59672017-12-07 Simon Marchi <simon.marchi@ericsson.com>
5968
5969 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
5970 with proc_with_prefix, don't use with_test_prefix.
5971
99598d71
TT
59722017-12-07 Tom Tromey <tom@tromey.com>
5973
5974 * gdb.base/break.exp: Add test for empty "commands".
5975
a8806230
YQ
59762017-12-07 Yao Qi <yao.qi@linaro.org>
5977
5978 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
5979 malloc and catch syscall.
5980
824cc835
PM
59812017-12-07 Phil Muldoon <pmuldoon@redhat.com>
5982
e79be6e5 5983 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
5984 tests for explicit locations.
5985
7cc244de
PA
59862017-12-06 Pedro Alves <palves@redhat.com>
5987
5988 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
5989 force-disabling XML descriptions.
5990
50a1fdd5
PA
59912017-12-04 Pedro Alves <palves@redhat.com>
5992
5993 PR gdb/22499
5994 * gdb.arch/amd64-disp-step-avx.S: New file.
5995 * gdb.arch/amd64-disp-step-avx.exp: New file.
5996
f0fb2488
PA
59972017-12-03 Pedro Alves <palves@redhat.com>
5998
5999 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
6000 and <string.h>.
6001 (parent_function): Print distinct messages when waitpid fails, or
6002 the child exits with a signal, or the child exits for an unhandled
6003 reason.
6004 * gdb.threads/process-dies-while-detaching.exp
6005 (detach_and_expect_exit): New 'inf_output_re' parameter and use
6006 it. Wait for both inferior output and GDB's prompt. Use an
6007 indirect spawn id list.
6008 (do_detach): New parameter 'child_exit'. Use it to compute
6009 expected inferior output.
6010 (test_detach, test_detach_watch, test_detach_killed_outside):
6011 Adjust to pass down the expected child exit kind.
6012
97cbe998
SDJ
60132017-12-01 Joel Brobecker <brobecker@adacore.com>
6014 Sergio Durigan Junior <sergiodj@redhat.com>
6015 Pedro Alves <palves@redhat.com>
6016
6017 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
6018
40fc416f
SDJ
60192017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
6020
6021 * gdb.base/relocate.exp: Add tests to guarantee that arguments
6022 to 'symbol-file' and 'add-symbol-file' can be
6023 position-independent.
6024
1cc75e92
YQ
60252017-12-01 Yao Qi <yao.qi@linaro.org>
6026
6027 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
6028 the URL in copyright header.
6029 * gdb.arch/aarch64-fp.exp: Likewise.
6030 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
6031 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
6032 * gdb.base/expand-psymtabs.exp: Likewise.
6033 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
6034 * gdb.fortran/common-block.exp: Likewise.
6035 * gdb.fortran/common-block.f90: Likewise.
6036 * gdb.fortran/logical.exp: Likewise.
6037 * gdb.fortran/vla-datatypes.f90: Likewise.
6038 * gdb.fortran/vla-sub.f90: Likewise.
6039
875fb7a7
JB
60402017-11-30 Joel Brobecker <brobecker@adacore.com>
6041
6042 * gdb.ada/repeat_dyn: New testcase.
6043
6f14765f
UW
60442017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
6045
6046 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
6047 Update for changed thread numbering.
6048 * gdb.cell/bt.exp: Update for changed GDB output.
6049
f1af7b94
SM
60502017-11-30 Simon Marchi <simon.marchi@ericsson.com>
6051
6052 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
6053 setting isremote by hand.
6054 * boards/dwarf4-gdb-index.exp: Likewise.
6055 * boards/fission.exp: Likewise.
6056 * boards/stabs.exp: Likewise.
6057
e3919f3e
PA
60582017-11-30 Pedro Alves <palves@redhat.com>
6059
6060 * gdb.linespec/cpls-ops.exp
6061 (check_explicit_skips_function_argument): Extract the underlying
6062 type of size_t instead of hardcoding it.
6063
bd69330d
PA
60642017-11-29 Pedro Alves <palves@redhat.com>
6065
6066 PR c++/19436
6067 * gdb.linespec/cpls-abi-tag.cc: New file.
6068 * gdb.linespec/cpls-abi-tag.exp: New file.
6069
a20714ff
PA
60702017-11-29 Pedro Alves <palves@redhat.com>
6071
6072 * gdb.base/langs.exp: Use -qualified.
6073 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
6074 it.
6075 * gdb.cp/namespace.exp: Use -qualified.
6076 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
6077 (overload-3, template-overload, template-ret-type, const-overload)
6078 (const-overload-quoted, anon-ns, ambiguous-prefix): New
6079 procedures.
6080 (test_driver): Call them.
6081 * gdb.cp/save-bp-qualified.cc: New.
6082 * gdb.cp/save-bp-qualified.exp: New.
6083 * gdb.linespec/explicit.exp: Test -qualified.
6084 * lib/completion-support.exp (completion::explicit_opts_list): Add
6085 "-qualified".
6086 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
6087
f6f1d339
PM
60882017-11-29 Phil Muldoon <pmuldoon@redhat.com>
6089
6090 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
6091
02ca603a
TT
60922017-11-29 Tom Tromey <tom@tromey.com>
6093
6094 * gdb.base/relocate.exp: Update invalid argument test.
6095 Add new tests for invalid arguments.
6096
ed6c0bfb
TP
60972017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
6098
6099 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
6100 Return 0 as a long.
6101 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
6102
f106e10e
TP
61032017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
6104
6105 * gdb.cp/breakpoint.cc (bar): Set return type to void.
6106 * gdb.cp/psymtab-parameter.cc (func): Likewise.
6107 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
6108 func ().
6109 * gdb.cp/shadow.cc (B.func): Return 0.
6110
10329bb2
JB
61112017-11-27 Joel Brobecker <brobecker@adacore.com>
6112
6113 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
6114 expected output in gdb_expect call to allow the exception
6115 message to be present as well. Fix syntax confusion to avoid
6116 TCL thinking that exception_name is an array.
6117
617cd4bc
UW
61182017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
6119
6120 * gdb.arch/spu-info.c: Include <unistd.h>.
6121 (do_signal_test): Fix broken calls to write.
6122 * gdb.arch/spu-info.exp: Use prepare_for_testing.
6123 Fix checks for empty mailboxes. Update signal tests for corrected
6124 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
6125 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
6126 * gdb.cell/arch.exp: Use standard_output_file.
6127 * gdb.cell/break.exp: Likewise.
6128 * gdb.cell/bt.exp: Likewise.
6129 * gdb.cell/core.exp: Likewise.
6130 * gdb.cell/dwarfaddr.exp: Likewise.
6131 * gdb.cell/ea-cache.exp: Likewise.
6132 * gdb.cell/ea-standalone.exp: Likewise.
6133 * gdb.cell/f-regs.exp: Likewise.
6134 * gdb.cell/fork.exp: Likewise.
6135 * gdb.cell/gcore.exp: Likewise.
6136 * gdb.cell/mem-access.exp: Likewise.
6137 * gdb.cell/ptype.exp: Likewise.
6138 * gdb.cell/registers.exp: Likewise.
6139 * gdb.cell/sizeof.exp: Likewise.
6140 * gdb.cell/solib-symbol.exp: Likewise.
6141 * gdb.cell/solib.exp: Likewise.
617cd4bc 6142
a81aaca0
PA
61432017-11-25 Pedro Alves <palves@redhat.com>
6144
6145 * gdb.base/complete-empty.exp: New file.
6146 * gdb.base/completion.exp: Adjust.
6147
6a3c6ee4
PA
61482017-11-25 Pedro Alves <palves@redhat.com>
6149
6150 * gdb.linespec/cpls-ops.cc: New file.
6151 * gdb.linespec/cpls-ops.exp: New file.
6152 * lib/completion-support.exp (test_complete_prefix_range_re): New,
6153 factored out from ...
6154 (test_complete_prefix_range): ... this.
6155
8955eb2d
PA
61562017-11-24 Pedro Alves <palves@redhat.com>
6157
6158 * gdb.linespec/cpcompletion.exp: New file.
6159 * gdb.linespec/cpls-hyphen.cc: New file.
6160 * gdb.linespec/cpls.cc: New file.
6161 * gdb.linespec/cpls2.cc: New file.
6162 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
6163 test to use test_gdb_complete_unique. Add label completion,
6164 keyword completion and explicit location completion tests.
6165 * lib/completion-support.exp: New file.
6166
e547c119
JB
61672017-11-24 Joel Brobecker <brobecker@adacore.com>
6168
6169 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
6170 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
6171 when hitting an exception catchpoint.
6172
7c3c1aa8
YQ
61732017-11-22 Yao Qi <yao.qi@linaro.org>
6174
6175 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
6176
41bd68f5
SM
61772017-11-22 Simon Marchi <simon.marchi@ericsson.com>
6178
6179 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
6180 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
6181 * gdb.dwarf2/info-locals-optimized-out.c: New file.
6182
1daad298
YQ
61832017-11-22 Yao Qi <yao.qi@linaro.org>
6184
6185 * gdb.base/info-os.exp: Pass pthreads.
6186 * gdb.multi/multi-attach.exp: Likewise.
6187
88465e87
YQ
61882017-11-22 Yao Qi <yao.qi@linaro.org>
6189
6190 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
6191 compiler.
6192
dc196b23
YQ
61932017-11-22 Yao Qi <yao.qi@linaro.org>
6194
6195 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
6196 * gdb.base/break-interp.exp: Likewise.
6197 * gdb.base/jit-attach-pie.exp: Likewise.
6198
2400729e
UW
61992017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
6200
6201 * gdb.base/float128.c (large128): New variable.
6202 * gdb.base/float128.exp: Add test to print largest __float128 value.
6203
7a26362d
UW
62042017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
6205
6206 * gdb.arch/vsx-regs.exp: Update register content checks.
6207
ed0f4273
UW
62082017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
6209
6210 * gdb.arch/ppc-longdouble.exp: New file.
6211 * gdb.arch/ppc-longdouble.c: Likewise.
6212
a25d69c6
PA
62132017-11-21 Pedro Alves <palves@redhat.com>
6214
6215 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
6216
73fcf641
PA
62172017-11-20 Pedro Alves <palves@redhat.com>
6218
6219 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
6220 (long_double_typedef): New typedefs.
6221 Use DEF on double and long double.
6222 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
6223 cases.
6224 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
6225 and 'long_double_ptr_same_size' locals. Use them to decide
6226 whether cast from array/function to float is valid/invalid.
6227
71a3c369
TT
62282017-11-17 Tom Tromey <tom@tromey.com>
6229
6230 * gdb.rust/traits.rs: New file.
6231 * gdb.rust/traits.exp: New file.
6232
ced9779b
JB
62332017-11-17 Joel Brobecker <brobecker@adacore.com>
6234
6235 * gdb.ada/minsyms: New testcase.
6236
a0922d80
PA
62372017-11-16 Pedro Alves <palves@redhat.com>
6238
6239 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
6240 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
6241
ea04e54c
PA
62422017-11-16 Pedro Alves <palves@redhat.com>
6243
6244 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
6245 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
6246
e849ea89
PA
62472017-11-16 Pedro Alves <palves@redhat.com>
6248
6249 * gdb.server/reconnect-ctrl-c.c: New file.
6250 * gdb.server/reconnect-ctrl-c.exp: New file.
6251
d8ae99a7
PM
62522017-11-16 Phil Muldoon <pmuldoon@redhat.com>
6253
6254 * gdb.python/py-rbreak.exp: New file.
6255 * gdb.python/py-rbreak.c: New file.
6256 * gdb.python/py-rbreak-func2.c: New file.
6257
968a13f8
PA
62582017-11-16 Pedro Alves <palves@redhat.com>
6259
6260 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
6261 pattern.
6262 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
6263 GDB.
6264
71774bc9
SM
62652017-11-15 Simon Marchi <simon.marchi@ericsson.com>
6266
6267 * gdb.tui/completionn.exp (test_tab_completion): Add space in
6268 regex.
6269
ddbb44cf
SM
62702017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
6271
6272 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
6273 test names.
6274
584a564f
PA
62752017-11-09 Pedro Alves <palves@redhat.com>
6276
6277 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
6278 factored out from ...
6279 (top level): ... here, and adjusted to avoid expecting beyond the
6280 prompt in a single gdb_test_multiple.
6281
5ed7a928
PA
62822017-11-09 Pedro Alves <palves@redhat.com>
6283
6284 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
6285 output.
6286 * gdb.server/ext-attach.exp ("kill" test): Likewise.
6287 * gdb.server/ext-restart.exp ("kill" test): Likewise.
6288 * gdb.server/ext-run.exp ("kill" test): Likewise.
6289 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
6290
a60e0738
PA
62912017-11-09 Pedro Alves <palves@redhat.com>
6292
6293 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
6294 match till end of line.
6295
2c88253f
PA
62962017-11-09 Pedro Alves <palves@redhat.com>
6297
6298 * gdb.base/memattr.exp: Tighten regexes to match the end line.
6299
c7a38517
PA
63002017-11-09 Pedro Alves <palves@redhat.com>
6301
6302 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
6303 New procedures, factored out from ...
6304 (top level): ... here, and adjusted to avoid expecting beyond the
6305 prompt in one go.
6306
f29f4b6b
PA
63072017-11-09 Pedro Alves <palves@redhat.com>
6308
6309 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
6310 output. Fix '?' match.
6311
286acbb5
JB
63122017-11-08 Joel Brobecker <brobecker@adacore.com>
6313
6314 * gdb.ada/scoped_watch: New testcase.
6315 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
6316 which is actually correct.
6317 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
6318 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
6319
62d7ae92
PA
63202017-11-08 Pedro Alves <palves@redhat.com>
6321
6322 * gdb.gdb/complaints.exp (test_initial_complaints)
6323 (test_serial_complaints, test_short_complaints): Call
6324 complaint_internal instead of complaint.
6325
280ca31f
DT
63262017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
6327
6328 * gdb.threads/tls-core.c: New file.
6329 * gdb.threads/tls-core.exp: Likewise.
6330
b5ec771e
PA
63312017-11-08 Pedro Alves <palves@redhat.com>
6332
6333 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
6334 (p Exported_Capitalized): New test.
6335 (p exported_capitalized): New test.
6336
a02b41a7
PA
63372017-11-07 Pedro Alves <palves@redhat.com>
6338
6339 * gdb.cp/ena-dis-br-range.exp: Add more tests.
6340
95e95a6d
PA
63412017-11-07 Pedro Alves <palves@redhat.com>
6342
6343 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
6344 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
6345 (disable_invalid, disable_inverted, disable_negative): New
6346 procedures.
6347 ("bad numbers"): New set of tests.
6348
cee62dbd
PA
63492017-11-07 Pedro Alves <palves@redhat.com>
6350
6351 * gdb.cp/ena-dis-br-range.exp: Add tests.
6352
cc638e86
PA
63532017-11-07 Pedro Alves <palves@redhat.com>
6354
6355 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
6356
d0fe4701
XR
63572017-11-07 Xavier Roirand <roirand@adacore.com>
6358 Pedro Alves <palves@redhat.com>
6359
6360 * gdb.base/ena-dis-br.exp: Add reference to
6361 gdb.cp/ena-dis-br-range.exp.
6362 * gdb.cp/ena-dis-br-range.exp: New file.
6363 * gdb.cp/ena-dis-br-range.cc: New file.
6364
46f67f80
PA
63652017-11-06 Pedro Alves <palves@redhat.com>
6366
6367 * gdb.base/attach-non-pgrp-leader.c: New.
6368 * gdb.base/attach-non-pgrp-leader.exp: New.
6369
726e1356
PA
63702017-11-06 Pedro Alves <palves@redhat.com>
6371
6372 * configure.ac: No longer check for termio.h and sgtty.h.
6373 * configure: Regenerate.
6374 * remote-utils.c: Include termios.h instead of gdb_termios.h.
6375 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
6376 Remove termio and sgtty code.
6377
50ab6ace
YQ
63782017-11-03 Yao Qi <yao.qi@linaro.org>
6379
6380 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
6381 in GDB is disabled.
6382
8e68731c
YQ
63832017-11-03 Yao Qi <yao.qi@linaro.org>
6384
6385 * gdb.python/py-thrhandle.exp: Skip it if python is not
6386 enabled.
6387
3a87ae65
SM
63882017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
6389
6390 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
6391 as a breakpoint command.
6392
484d8d36
MD
63932017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
6394
6395 PR python/21213
6396 * gdb.python/py-infthread.exp: Test calling
6397 InferiorThread.inferior () multiple times in a row.
6398
4a27f119
KS
63992017-10-27 Keith Seitz <keiths@redhat.com>
6400
6401 * gdb.opt/inline-break.exp (break_info_1): New procedure.
6402 Test "info break" for every inlined function breakpoint.
6403
bb11dd58
YQ
64042017-10-27 Yao Qi <yao.qi@linaro.org>
6405
6406 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
6407
a43f3893
PF
64082017-10-26 Patrick Frants <osscontribute@gmail.com>
6409
6410 * gdb.cp/classes.exp (test_static_members): Test printing
6411 Outer::instance.
6412 * gdb.cp/classes.c (struct Inner, struct Outer): New.
6413 (Inner::instance, Outer::instance): New.
6414
792ccf00
PA
64152017-10-24 Pedro Alves <palves@redhat.com>
6416
6417 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
6418 extra console" test in two stages.
6419
eb2bfbad
PA
64202017-10-24 Pedro Alves <palves@redhat.com>
6421
6422 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
6423
1f75a651
PA
64242017-10-24 Pedro Alves <palves@redhat.com>
6425
6426 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
6427 loop.
6428
779990d9
PA
64292017-10-24 Pedro Alves <palves@redhat.com>
6430
6431 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
6432 $attempt" and "stoppedtry $stoppedtry" test prefixes.
6433
ad9b8f5d
PA
64342017-10-24 Pedro Alves <palves@redhat.com>
6435
6436 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
6437 parameter and handle it. Don't output read value in test name.
6438
fee6da6e
PA
64392017-10-24 Pedro Alves <palves@redhat.com>
6440
6441 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
6442 custom test name.
6443
10389c2c
PA
64442017-10-24 Pedro Alves <palves@redhat.com>
6445
6446 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
6447 include the unstable output directory name in the test's name.
6448 (initial_setup_simple) <'set args'>: Use custom test name.
6449
a80e65a9
PA
64502017-10-24 Pedro Alves <palves@redhat.com>
6451
6452 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
6453 with explicit test name.
6454
15763a09
PA
64552017-10-20 Pedro Alves <palves@redhat.com>
6456
6457 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
6458 'wait -i'. Use gdb_assert and remote_close.
6459
49a4ce2e
AB
64602017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
6461
6462 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
6463 number from variable rather than hard-coded.
6464
a75868f5
PA
64652017-10-19 Pedro Alves <palves@redhat.com>
6466
6467 * gdb.base/long-inferior-output.c: New file.
6468 * gdb.base/long-inferior-output.exp: New file.
6469
c8ba13ad
KS
64702017-11-18 Keith Seitz <keiths@redhat.com>
6471
6472 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
6473 method.
6474 (main): Call it.
6475 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
6476 Add additional user-defined conversion operator tests.
6477
b27de576
PA
64782017-10-17 Pedro Alves <palves@redhat.com>
6479
6480 * boards/native-stdio-gdbserver.exp: Load "local-board".
6481
8484c955
PA
64822017-10-17 Pedro Alves <palves@redhat.com>
6483
6484 * gdb.base/quit-live.c: New file.
6485 * gdb.base/quit-live.exp: New file.
6486
83d5a34d
KS
64872017-10-16 Keith Seitz <keiths@redhat.com>
6488
6489 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
6490 (class_with_protected_typedef, class_with_private_typedef)
6491 (struct_with_public_typedef, struct_with_protected_typedef)
6492 (struct_with_private_typedef): New classes/structs.
6493 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
6494 typedefs and access specifiers.
6495
739b3f1d
PA
64962017-10-16 Pedro Alves <palves@redhat.com>
6497 Simon Marchi <simon.marchi@polymtl.ca>
6498
6499 * README (Local vs Remote vs Native): New section.
6500 * boards/local-board.exp: New file, with bits factored out from
6501 ...
6502 * boards/native-extended-gdbserver.exp: ... here. Load
6503 "local-board".
6504 * boards/native-gdbserver.exp: Load "local-board".
6505 (${board}_spawn, ${board}_exec): Delete.
6506 * boards/native-stdio-gdbserver.exp: Most contents factored out to
6507 ...
6508 * boards/stdio-gdbserver-base.exp: ... this new file.
6509 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
6510 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
6511 procedure.
6512 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
6513 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
6514 stdio_gdbserver_command.
6515 (${board}_get_remote_address, ${board}_get_comm_port)
6516 (${board}_download, ${board}_upload): Delete.
6517 (get_target_remote_pipe_cmd): New.
6518
fe68b953
SM
65192017-10-16 Simon Marchi <simon.marchi@ericsson.com>
6520
6521 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
6522 test_bkpt_deletion, test_bkpt_cond_and_cmds,
6523 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
6524 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
6525 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
6526 remove with_test_prefix.
6527
300b6685
PA
65282017-10-13 Pedro Alves <palves@redhat.com>
6529
6530 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
6531 * gdb.base/annota1.exp: Use it instead of is_remote.
6532 * gdb.base/annota3.exp: Use it instead of is_remote.
6533 * gdb.cp/annota2.exp: Use it instead of is_remote.
6534 * gdb.cp/annota3.exp: Use it instead of is_remote.
6535 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
6536
50500caf
PA
65372017-10-13 Pedro Alves <palves@redhat.com>
6538
6539 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
6540 (test_num_test_vars, run_and_count_vars, find_env)
6541 (test_set_unset_env, test_inherit_env_var): New procedures.
6542 (top level): Use them.
6543
dad0c6d2
PA
65442017-10-13 Pedro Alves <palves@redhat.com>
6545
6546 * lib/selftest-support.exp (selftest_setup): Extend comments, and
6547 also skip on stub-like targets.
6548
8b0553c1
PA
65492017-10-13 Pedro Alves <palves@redhat.com>
6550
6551 PR gdb/22293
6552 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
6553 (top level): Move some tests to ...
6554 (test_not_found): ... this new procedure.
6555 (top level): Call it.
6556
7594f623
PA
65572017-10-13 Pedro Alves <palves@redhat.com>
6558
6559 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
6560 expect different "info terminal" output if testing with a
6561 non-native target.
6562
ebe3b402
PA
65632017-10-13 Pedro Alves <palves@redhat.com>
6564 Simon Marchi <simon.marchi@polymtl.ca>
6565
6566 PR python/12966
6567 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
6568
42f1b161
PA
65692017-10-13 Pedro Alves <palves@redhat.com>
6570
6571 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
6572 already.
6573
8d6ef72b
PA
65742017-10-13 Pedro Alves <palves@redhat.com>
6575
6576 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
6577 is_remote.
6578
d7bcd5b8
PA
65792017-10-13 Pedro Alves <palves@redhat.com>
6580
6581 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
6582 is_remote.
6583
df479dc6
PA
65842017-10-13 Pedro Alves <palves@redhat.com>
6585
6586 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
6587 is set.
6588 (corefile_test_attach): Likewise. Check can_spawn_for_attach
6589 instead of is_remote.
6590
23fb630a
PA
65912017-10-13 Pedro Alves <palves@redhat.com>
6592
6593 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
6594 (top level): Add comment.
6595
cc77b1dc
PA
65962017-10-13 Pedro Alves <palves@redhat.com>
6597
6598 * gdb.base/remote.exp (top level): Fix comment typo and add
6599 missing return.
6600
27c9e813
PA
66012017-10-13 Pedro Alves <palves@redhat.com>
6602 Simon Marchi <simon.marchi@polymtl.ca>
6603
6604 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
6605 calls and add comments. Skip test if use_gdb_stub is set.
6606 (top level): Use "set cwd" command instead of "cd" command.
6607
5e830d98
PA
66082017-10-13 Pedro Alves <palves@redhat.com>
6609
6610 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
6611 is_remote target check.
6612
f5ca0032
PA
66132017-10-13 Pedro Alves <palves@redhat.com>
6614
6615 * gdb.base/scope.exp: Use build_executable + clean_restart +
6616 gdb_file_cmd instead of prepare_for_testing and no longer skip
6617 "before run" tests on is_remote target boards. Update comments.
6618 * boards/native-extended-gdbserver.exp
6619 (extended_gdbserver_load_last_file): New, factored out from ...
6620 (gdb_load): ... this. Move further below and add comment.
6621 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
6622
8aed1c0d
PA
66232017-10-12 Pedro Alves <palves@redhat.com>
6624
6625 * gdb.base/attach.exp: Remove references to gdb64.
6626 * gdb.base/dbx.exp: Remove references to gdb64.
6627
cfa34c87
SM
66282017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
6629 Pedro Alves <palves@redhat.com>
6630
6631 * gdb.base/label.exp: Remove is_remote target check.
6632
9192b7de
PA
66332017-10-12 Pedro Alves <palves@redhat.com>
6634
6635 * gdb.base/auvx.exp (coredir): Update comment.
6636 (top level) <core_works>: Use "set cwd" command instead of "cd"
6637 command.
6638
6bf0052d
PA
66392017-10-12 Pedro Alves <palves@redhat.com>
6640 Simon Marchi <simon.marchi@polymtl.ca>
6641
6642 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
6643 target boards.
6644
e48ef82d
PA
66452017-10-12 Pedro Alves <palves@redhat.com>
6646 Simon Marchi <simon.marchi@polymtl.ca>
6647
6648 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
6649 Instead skip if there's any gdb_protocol set.
6650
8d7aea57
SM
66512017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
6652 Pedro Alves <palves@redhat.com>
6653
6654 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
6655
30440677
PA
66562017-10-12 Pedro Alves <palves@redhat.com>
6657 Simon Marchi <simon.marchi@polymtl.ca>
6658
6659 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
6660 instead of on dejagnu remote boards.
6661
4e04f045 66622017-10-12 Pedro Alves <palves@redhat.com>
175654b9 6663 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
6664
6665 * gdb.base/inferior-died.exp: Remove is_remote and isnative
6666 checks. Use build_executable + clean_restart instead of
6667 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
6668 of enabling non-stop after starting gdb.
6669
871a186e
PA
66702017-10-12 Pedro Alves <palves@redhat.com>
6671
6672 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
6673 * gdb.threads/non-ldr-exc-2.exp: Ditto.
6674 * gdb.threads/non-ldr-exc-3.exp: Ditto.
6675 * gdb.threads/non-ldr-exc-4.exp: Ditto.
6676
56d704da
AK
66772017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
6678
6679 * gdb.arch/arc-tdesc-cpu.exp: New file.
6680 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
6681
2f20e312
SM
66822017-10-10 Simon Marchi <simon.marchi@ericsson.com>
6683
6684 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
6685
65630365
PA
66862017-10-10 Pedro Alves <palves@redhat.com>
6687
6688 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
6689 expect CLI output.
6690
bf469271
PA
66912017-10-10 Pedro Alves <palves@redhat.com>
6692
6693 * lib/selftest-support.exp (selftest_setup): Update for
6694 captured_command_loop's prototype change.
6695
777a42f1
PA
66962017-10-09 Pedro Alves <palves@redhat.com>
6697
6698 Test both arch1=>arch2 and arch2=>arch1.
6699
6700 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
6701 (srcfile2, binfile2, march1, march2): Remove globals. Largely
6702 factored out to...
6703 (append_arch1_options, append_arch2_options, append_arch_options)
6704 (build_executables): New procedures.
6705 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
6706 local.
6707 (top level): Add new 'first_arch' testing axis.
6708
cbd2b4e3
PA
67092017-10-09 Pedro Alves <palves@redhat.com>
6710
6711 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
6712 (barrier): New.
6713 (thread_start, all_started): New functions.
6714 (main): Spawn new thread and wait until it is scheduled.
6715 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
6716 option.
6717 (do_test): Add 'selected_thread' parameter. Run to all_started
6718 instead of main. Explicitly set the breakpoint at main. Switch
6719 to the SELECTED_THREAD thread.
6720 (top level): Test handling the exec event with either the main
6721 thread or the second thread selected.
6722
5c9e4427
PA
67232017-10-09 Pedro Alves <palves@redhat.com>
6724
6725 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
6726 logic. Move STOP marker after the value checks.
6727 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
6728 regexp.
6729
b3b7c423
SL
67302017-10-06 Sandra Loosemore <sandra@codesourcery.com>
6731
6732 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
6733
3b4b2f16
UW
67342017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
6735
6736 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
6737 integer-to-dfp conversion.
6738 * gdb.base/dfp-test.exp: Likewise.
6739
5cd63fda
PA
67402017-10-04 Pedro Alves <palves@redhat.com>
6741
6742 * gdb.multi/hangout.c: Include <unistd.h>.
6743 (hangout_loop): New function.
6744 (main): Call alarm. Call hangout_loop in a loop.
6745 * gdb.multi/hello.c: Include <unistd.h>.
6746 (hello_loop): New function.
6747 (main): Call alarm. Call hangout_loop in a loop.
6748 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
6749 inferior with the other selected.
6750
4c71c105
SM
67512017-10-04 Simon Marchi <simon.marchi@ericsson.com>
6752
6753 * gdb.mi/list-thread-groups-available.exp: New file.
6754 * gdb.mi/list-thread-groups-available.c: New file.
6755
bc3b087d
SDJ
67562017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
6757
6758 * gdb.base/set-cwd.exp: Make it available on
6759 native-extended-gdbserver.
6760
d092c5a2
SDJ
67612017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
6762
6763 * gdb.base/set-cwd.c: New file.
6764 * gdb.base/set-cwd.exp: Likewise.
6765
45320ffa
TT
67662017-10-02 Tom Tromey <tom@tromey.com>
6767
6768 PR rust/22236:
6769 * gdb.rust/simple.rs (main): New variable "fslice".
6770 * gdb.rust/simple.exp: Add slice tests. Update string tests.
6771
b3e3859b
TT
67722017-10-02 Tom Tromey <tom@tromey.com>
6773
6774 * gdb.rust/simple.exp: Test ptype of a slice.
6775
01af5e0d
TT
67762017-10-02 Tom Tromey <tom@tromey.com>
6777
6778 * gdb.rust/simple.exp: Test index of slice.
6779
a9bbfbd8
TT
67802017-09-27 Tom Tromey <tom@tromey.com>
6781
6782 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
6783
df8899e5
TP
67842017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
6785 Pedro Alves <palves@redhat.com>
6786
6787 * gdb.base/compare-sections.exp (get value of read-only section): Read
6788 as unsigned value.
6789 (corrupt read-only section): Likewise and don't set written if patching
6790 failed.
6791
757bf54b
KB
67922017-09-21 Kevin Buettner <kevinb@redhat.com>
6793
6794 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
6795 files.
6796
06871ae8
PA
67972017-09-20 Pedro Alves <palves@redhat.com>
6798
6799 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
6800 symbol names in gdb's output.
6801 * gdb.cp/overload.exp ("list all overloads"): Likewise.
6802
e5f25bc5
PA
68032017-09-20 Pedro Alves <palves@redhat.com>
6804
6805 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
6806 Rename to ...
6807 (test_list_ambiguous_symbol): ... this and add a symbol name
6808 parameter. Adjust.
6809 (test_list_ambiguous_function): Reimplement on top of
6810 test_list_ambiguous_symbol and also test listing ambiguous
6811 variables.
6812 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
6813 (ambiguous_fun): ... this.
6814 (ambiguous_var): New.
6815 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
6816 (ambiguous_fun): ... this.
6817 (ambiguous_var): New.
6818
4e5a4f58
JB
68192017-09-19 John Baldwin <jhb@FreeBSD.org>
6820
6821 * gdb.base/starti.c: New file.
6822 * gdb.base/starti.exp: New file.
6823 * lib/gdb.exp (gdb_starti_cmd): New procedure.
6824
26e53f3e
PA
68252017-09-14 Pedro Alves <palves@redhat.com>
6826
6827 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
6828 (top level): Use it instead of runto.
6829
cb791d59
TT
68302017-09-11 Tom Tromey <tom@tromey.com>
6831
6832 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
6833
7c96f8c1
TT
68342017-09-11 Tom Tromey <tom@tromey.com>
6835
6836 * gdb.python/py-infthread.exp: Add tests for new_thread event.
6837 * gdb.python/py-inferior.exp: Add tests for new inferior events.
6838
469412dd
CW
68392017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
6840
6841 * gdb.fortran/printing-types.exp: New file.
6842 * gdb.fortran/printing-types.exp: New file.
6843
e0f86435
BH
68442017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
6845
6846 * gdb.fortran/vla-ptype.exp: Fix typos.
6847 * gdb.fortran/vla-value.exp: Same.
6848
9e9af4be
BH
68492017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
6850
6851 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
6852 * gdb.mi/mi-var-child-f.exp: Likewise.
6853 * gdb.mi/mi-vla-fortran.exp: Likewise.
6854
a5ad232b 68552017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
6856 Christoph Weinmann <christoph.t.weinmann@intel.com>
6857 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
6858
6859 * gdb.fortran/ptr-indentation.f90: New file.
6860 * gdb.fortran/ptr-indentation.exp: New file.
6861
5aec60eb
TT
68622017-09-05 Tom Tromey <tom@tromey.com>
6863
6864 PR gdb/22010:
6865 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
6866
8f8f8152
TP
68672017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
6868
6869 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
6870
fbd1b771
JK
68712017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6872
6873 * gdb.threads/tls-nodebug-pie.c: New file.
6874 * gdb.threads/tls-nodebug-pie.exp: New file.
6875
5eb5f850
TT
68762017-09-05 Tom Tromey <tom@tromey.com>
6877
6878 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
6879 for rust.
6880
ae780a21
SM
68812017-09-05 Simon Marchi <simon.marchi@ericsson.com>
6882
6883 * gdb.multi/multi-arch-exec.exp: Test with different
6884 "follow-exec-mode" settings.
6885 (do_test): New procedure.
6886
3693fdb3
PA
68872017-09-04 Pedro Alves <palves@redhat.com>
6888
6889 * gdb.base/func-static.c (S::method const, S::method volatile)
6890 (S::method volatile const): New methods.
6891 (c_s, v_s, cv_s): New instances.
6892 (main): Call method() on them.
6893 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
6894 (cannot_resolve): New procedure.
6895 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
6896 print-quote-unquoted columns.
6897 (do_test): Test printing each scope too.
6898
e68cb8e0
PA
68992017-09-04 Pedro Alves <palves@redhat.com>
6900
6901 * gdb.base/local-static.exp: Also test with
6902 class::method::variable wholly quoted.
6903 * gdb.cp/m-static.exp (class::method::variable): Remove test.
6904
858be34c
PA
69052017-09-04 Pedro Alves <palves@redhat.com>
6906
6907 * gdb.base/local-static.c: New.
6908 * gdb.base/local-static.cc: New.
6909 * gdb.base/local-static.exp: New.
6910
46a4882b
PA
69112017-09-04 Pedro Alves <palves@redhat.com>
6912
6913 * gdb.asm/asm-source.exp: Add casts to int.
6914 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
6915 (dataglobal64_1, dataglobal64_2): New globals.
6916 * gdb.base/nodebug.exp: Test different expressions involving the
6917 new globals, with print, whatis and ptype. Add casts to int.
6918 * gdb.base/solib-display.exp: Add casts to int.
6919 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
6920 * gdb.cp/m-static.exp: Add cast to int.
6921 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
6922 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
6923 tls variable with no debug info without a cast. Test with a cast
6924 to int too.
6925 * gdb.trace/entry-values.exp: Add casts.
6926
2c5a2be1
PA
69272017-09-04 Pedro Alves <palves@redhat.com>
6928
6929 * gdb.base/nodebug.exp: Test that ptype's error about functions
6930 with unknown return type includes the function name too.
6931
7022349d
PA
69322017-09-04 Pedro Alves <palves@redhat.com>
6933
6934 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
6935 return type of munmap in infcall.
6936 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
6937 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
6938 type of ftell in infcall.
6939 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
6940 type of getpid in infcall.
6941 * gdb.base/infcall-exec.exp: Cast return type of execlp in
6942 infcall.
6943 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
6944 Bail on failure to extract the pid.
6945 * gdb.base/nodebug.c: #include <stdint.h>.
6946 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
6947 New functions.
6948 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
6949 Change expected output of print/whatis/ptype with functions with
6950 no debug info. Test all supported languages. Call
6951 test_call_promotion.
6952 * gdb.compile/compile.exp: Adjust expected output to expect
6953 warning.
6954 * gdb.threads/siginfo-threads.exp: Likewise.
6955
54990598
PA
69562017-09-04 Pedro Alves <palves@redhat.com>
6957
6958 * gdb.base/callfuncs.exp (do_function_calls): New parameter
6959 "prototypes". Test calling float functions via prototyped and
6960 unprototyped function pointers.
6961 (perform_all_tests): New parameter "prototypes". Pass it down.
6962 (top level): Pass down "prototypes" parameter to
6963 perform_all_tests.
6964
34d16ea2
SM
69652017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6966
6967 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
6968 Test with nested loops.
6969
9521ecda
SM
69702017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6971
6972 * gdb.base/commands.exp: Call the new procedures.
6973 (loop_break_test, loop_continue_test): New procedures.
6974
80a65e9b
SM
69752017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6976
6977 * gdb.base/commands.exp: Call new procedure.
6978 (define_if_without_arg_test): New procedure.
6979
e439fa14
PA
69802017-09-04 Pedro Alves <palves@redhat.com>
6981
6982 * gdb.base/list-ambiguous.exp: New file.
6983 * gdb.base/list-ambiguous0.c: New file.
6984 * gdb.base/list-ambiguous1.c: New file.
6985 * gdb.base/list.exp (test_list_range): Adjust expected output.
6986
0a2dde4a
SDJ
69872017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
6988
6989 * gdb.base/share-env-with-gdbserver.c: New file.
6990 * gdb.base/share-env-with-gdbserver.exp: Likewise.
6991
5e89eb3a
SM
69922017-08-28 Simon Marchi <simon.marchi@ericsson.com>
6993
6994 * gdb.base/commands.exp (gdbvar_simple_if_test,
6995 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
6996 progvar_simple_if_test, progvar_simple_while_test,
6997 progvar_complex_if_while_test, user_defined_command_test,
6998 user_defined_command_args_eval,
6999 user_defined_command_args_stack_test,
7000 user_defined_command_manyargs_test, bp_deleted_in_command_test,
7001 temporary_breakpoint_commands,
7002 gdb_test_no_prompt, redefine_hook_test,
7003 redefine_backtrace_test): Remove "global gdb_prompt".
7004
fd437cbc
SM
70052017-08-28 Simon Marchi <simon.marchi@ericsson.com>
7006
7007 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
7008 New proc, call it from toplevel.
7009
87215ad1
SDJ
70102017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
7011
7012 PR remote/21852
7013 * gdb.server/normal.c: New file, copied from gdb.base.
7014 * gdb.server/run-without-local-binary.exp: New file.
7015
58afddc6
WP
70162017-08-07 Weimin Pan <weimin.pan@oracle.com>
7017
7018 * gdb.arch/sparc64-adi.exp: New file.
7019 * gdb.arch/sparc64-adi.c: New file.
7020
5277199a
PA
70212017-08-22 Pedro Alves <palves@redhat.com>
7022
7023 * gdb.cp/overload.exp (line_range_pattern): New procedure.
7024 (top level): Add "list all overloads" tests.
7025
14278e1f
TT
70262017-08-22 Tom Tromey <tom@tromey.com>
7027
7028 * gdb.gdb/xfullpath.exp: Remove.
7029
bf223d3e
PA
70302017-08-21 Pedro Alves <palves@redhat.com>
7031
7032 PR gdb/19487
7033 * gdb.base/symbol-alias.c: New.
7034 * gdb.base/symbol-alias2.c: New.
7035 * gdb.base/symbol-alias.exp: New.
7036
c973d0aa
PA
70372017-08-21 Pedro Alves <palves@redhat.com>
7038
7039 * gdb.base/dfp-test.c
7040 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
7041 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
7042 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
7043 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
7044 * gdb.base/whatis-ptype-typedefs.c: New.
7045 * gdb.base/whatis-ptype-typedefs.exp: New.
7046 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
7047 (an_int, an_int_type, an_int_type2): New globals.
7048 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
7049 involving typedefs and cast expressions.
7050 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
7051 (lookup_typedefs_function): New.
7052 (typedefs_pretty_printers_dict): New.
7053 (top level): Register lookup_typedefs_function in
7054 gdb.pretty_printers.
7055
6d580b63
YQ
70562017-08-18 Yao Qi <yao.qi@linaro.org>
7057
7058 * gdb.server/unittest.exp: New.
7059
206726fb
SDJ
70602017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
7061
7062 PR gdb/21954
7063 * gdb.base/environ.exp: Add test to check if 'unset environment'
7064 works.
7065
bf0ec4c2
AA
70662017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7067
7068 * lib/gdb.exp (universal_compile_options): New caching proc.
7069 (gdb_compile): Suppress GCC's coloring of messages.
7070
d6382fff
TT
70712017-08-14 Tom Tromey <tom@tromey.com>
7072
7073 PR gdb/21675:
7074 * gdb.base/printcmds.exp (test_radices): New function.
7075 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
7076 * gdb.base/sizeof.exp (check_valueof): Use p/d.
7077 * lib/gdb.exp (get_integer_valueof): Use p/d.
7078
c2c2dd9f
SM
70792017-08-12 Simon Marchi <simon.marchi@ericsson.com>
7080
7081 * lib/gdb.exp (get_valueof): Don't capture end-of-line
7082 characters.
7083
fdffd6f4
TT
70842017-08-05 Tom Tromey <tom@tromey.com>
7085
7086 * gdb.rust/simple.exp: Allow String to appear in a different
7087 namespace.
7088
27d41eac
YQ
70892017-07-26 Yao Qi <yao.qi@linaro.org>
7090
7091 * gdb.gdb/unittest.exp: Invoke command
7092 "maintenance check xml-descriptions".
7093
031ed05d
AA
70942017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
7095
7096 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
7097 calling context.
7098 (hex128): Drop erroneous calculation of parameters.
7099
dcd27ddf
SM
71002017-07-22 Simon Marchi <simon.marchi@ericsson.com>
7101
7102 * gdb.python/py-unwind.exp: Disable stack protection when
7103 building test file.
7104
47e77640
PA
71052017-07-20 Pedro Alves <palves@redhat.com>
7106
7107 * gdb.base/default.exp (set language): Adjust expected output.
7108
62d2a18a
PA
71092017-07-20 Pedro Alves <palves@redhat.com>
7110
7111 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
7112 (test_minsym): ... this, and make static.
7113 (get_pck__foo__bar__minsym): Rename to ...
7114 (get_test_minsym): ... this.
7115 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
7116 symbol names and comments.
7117 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
7118 (get_test_minsym): ... this.
7119 (pck__foo__bar__minsym__2): Rename to ...
7120 (test_minsym): ... this.
7121 (main): Adjust.
7122
c45ec17c
PA
71232017-07-17 Pedro Alves <palves@redhat.com>
7124
7125 * gdb.base/completion.exp: Adjust expected output.
7126 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
7127 the completer works.
7128
c6756f62
PA
71292017-07-17 Pedro Alves <palves@redhat.com>
7130
7131 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
7132
5bd68487
AB
71332017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
7134
7135 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
7136
8880f2a9
TT
71372017-07-14 Tom Tromey <tom@tromey.com>
7138
7139 PR rust/21764:
7140 * gdb.rust/simple.exp: Add tests.
7141
65547233
TT
71422017-07-14 Tom Tromey <tom@tromey.com>
7143
7144 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
7145
8f14146e
PA
71462017-07-14 Pedro Alves <palves@redhat.com>
7147
7148 * gdb.linespec/base/one/thefile.cc (z1): New function.
7149 * gdb.linespec/base/two/thefile.cc (z2): New function.
7150 * gdb.linespec/linespec.exp: Add tests.
7151
b4365d02
AB
71522017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
7153
7154 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
7155 to mi_create_breakpoint.
7156
5d2cbaa5
AB
71572017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
7158
7159 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
7160 mi_create_breakpoint.
7161
11cb5716
IB
71622017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
7163
7164 * gdb.dlang/demangle.exp: Update for demangling changes.
7165
03278692
TT
71662017-07-09 Tom Tromey <tom@tromey.com>
7167
7168 * gdb.dwarf2/shortpiece.exp: New file.
7169
33c5cd75
DB
71702017-07-06 David Blaikie <dblaikie@gmail.com>
7171
7172 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
7173 built from fissiont-multi-cu{1,2}.c.
7174 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
7175 except putting 'main' and 'func' in separate CUs in the same DWO file.
7176 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
7177 test.
7178 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
7179 test.
7180
8455d262
PA
71812017-07-06 Pedro Alves <palves@redhat.com>
7182
7183 * gdb.python/py-unwind.exp: Test flushregs.
7184
dc4bde35
SDJ
71852017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
7186
7187 PR cli/21688
7188 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
7189 tests for alias commands and trailing whitespace.
7190
51ed89aa
SDJ
71912017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
7192
7193 PR cli/21688
7194 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
7195 procedure. Call it.
7196
eb17d413
PA
71972017-06-29 Pedro Alves <palves@redhat.com>
7198
7199 * gdb.base/printcmds.exp: Add tests.
7200
41664b45
DG
72012017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
7202
7203 PR gdb/21337
7204 * gdb.base/reread-readsym.exp: New file.
7205 * gdb.base/reread-readsym.c: New file.
7206
75312ae3
KB
72072017-06-21 Kevin Buettner <kevinb@redhat.com>
7208
7209 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
7210 subpattern.
7211
66953522
PB
72122017-06-19 Peter Bergner <bergner@vnet.ibm.com>
7213
7214 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
7215 extended mnemonic.
7216 * gdb.arch/powerpc-power9.s: Likewise.
7217
5524b525
AA
72182017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7219
7220 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
7221 on 32-bit x86 targets. Exploit is_*_target macros where
7222 appropriate.
7223
03c8af18
AA
72242017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7225
7226 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
7227 register pieces.
7228
3bf31011
AA
72292017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7230
7231 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
7232 located in one or more DWARF pieces.
7233
805acca0
AA
72342017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7235
7236 * lib/gdb.exp (get_endianness): New proc.
7237 * gdb.arch/aarch64-fp.exp: Use it.
7238 * gdb.arch/altivec-regs.exp: Likewise.
7239 * gdb.arch/e500-regs.exp: Likewise.
7240 * gdb.arch/vsx-regs.exp: Likewise.
7241 * gdb.base/dump.exp: Likewise.
7242 * gdb.base/funcargs.exp: Likewise.
7243 * gdb.base/gnu_vector.exp: Likewise.
7244 * gdb.dwarf2/formdata16.exp: Likewise.
7245 * gdb.dwarf2/implptrpiece.exp: Likewise.
7246 * gdb.dwarf2/nonvar-access.exp: Likewise.
7247 * gdb.python/py-inferior.exp: Likewise.
7248 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
7249
e9352324
AA
72502017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7251
7252 PR gdb/21226
7253 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
7254 stack value pieces are taken from the LSB end.
7255
d5d1163e
AA
72562017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7257
7258 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
7259 variable at nonzero offset.
7260
0567c986
AA
72612017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7262
7263 * gdb.dwarf2/var-access.c: New file.
7264 * gdb.dwarf2/var-access.exp: New test.
7265 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
7266
973e9aab
TT
72672017-06-12 Tom Tromey <tom@tromey.com>
7268
7269 * gdb.dwarf2/formdata16.exp: Add tests.
7270
d9109c80
TT
72712017-06-12 Tom Tromey <tom@tromey.com>
7272
7273 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
7274
30a25466
TT
72752017-06-12 Tom Tromey <tom@tromey.com>
7276
7277 PR exp/16225:
7278 * gdb.reverse/i386-sse-reverse.exp: Update tests.
7279 * gdb.arch/vsx-regs.exp: Update tests.
7280 * gdb.arch/s390-vregs.exp (hex128): New proc.
7281 Update test.
7282 * gdb.arch/altivec-regs.exp: Update tests.
7283
aefd8b33
SDJ
72842017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
7285
7286 * gdb.base/startup-with-shell.c: New file.
7287 * gdb.base/startup-with-shell.exp: Likewise.
7288
2090129c
SDJ
72892017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
7290
7291 * gdb.server/non-existing-program.exp: Update regex in order to
7292 reflect the fact that gdbserver is now using fork_inferior (with a
7293 shell) to startup the inferior.
7294
8e86a419
SM
72952017-05-30 Simon Marchi <simon.marchi@ericsson.com>
7296
7297 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
7298 support function calls from GDB.
7299
e6cf65f2
TT
73002017-05-21 Tom Tromey <tom@tromey.com>
7301
7302 PR rust/21466:
7303 * gdb.rust/unsized.exp: New file.
7304 * gdb.rust/unsized.rs: New file.
7305
43cc5389
TT
73062017-05-19 Tom Tromey <tom@tromey.com>
7307
7308 PR rust/21484:
7309 * gdb.rust/watch.exp: New file.
7310 * gdb.rust/watch.rs: New file.
7311
ec8df234
TT
73122017-05-18 Tom Tromey <tom@tromey.com>
7313
7314 * gdb.rust/simple.exp: Allow Box to be qualified.
7315
3e3e7fae
TP
73162017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
7317
7318 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
7319
59cc050d
PA
73202017-05-18 Pedro Alves <palves@redhat.com>
7321
7322 * gdb.base/fileio.c (test_write, test_read, test_close)
7323 (test_fstat): Don't print 'ret' in the fail path.
7324
c8f6abd1
PA
73252017-05-18 Pedro Alves <palves@redhat.com>
7326
7327 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
7328 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
7329 (test_system, test_rename, test_unlink, test_time): Change
7330 prototypes.
7331 * gdb.base/fileio.exp (stop_msg): Adjust.
7332
d2a03b77
PA
73332017-05-18 Pedro Alves <palves@redhat.com>
7334
7335 * gdb.base/fileio.c (null_str): New global.
7336 (test_stat): Use it.
7337 * gdb.base/fileio.exp: Remove nowarnings.
7338
0d5c6999
YQ
73392017-05-17 Yao Qi <yao.qi@linaro.org>
7340
7341 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
7342
21873064
YQ
73432017-05-17 Simon Marchi <simon.marchi@ericsson.com>
7344
7345 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
7346 argument command.
7347 (top-level): Invoke test_set_inferior_tty.
7348
d512d31c
PA
73492017-05-04 Pedro Alves <palves@redhat.com>
7350
7351 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
7352 Add parens to print call for Python 3.
7353
90cef2ed
KS
73542017-05-03 Keith Seitz <keiths@redhat.com>
7355
7356 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
7357 (main): Call it.
7358
14f819c8
TW
73592017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7360
7361 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
7362 to prev and next.
7363
913aeadd
TW
73642017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7365
7366 * gdb.python/py-record-btrace.exp: Remove test for
7367 gdb.BtraceInstruction.error.
7368
a3be24ad
TW
73692017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7370
7371 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
7372
ae20e79a
TW
73732017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7374
7375 * gdb.python/py-record-btrace-threads.c: New file.
7376 * gdb.python/py-record-btrace-threads.exp: New file.
7377
45ce1b47
SDJ
73782017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
7379
7380 PR testsuite/8595
7381 * gdb.base/environ.exp: Make test available in all architectures.
7382 Move bits related to "info program" testing to
7383 gdb.base/info-program.exp. Rewrite tests to use the two new
7384 procedures mentione below.
7385 (test_set_show_env_var) New procedure.
7386 (test_set_show_env_var_equal): Likewise.
7387 * gdb.base/info-program.exp: New file.
7388
e15c3eb4
KS
73892017-04-27 Keith Seitz <keiths@redhat.com>
7390
7391 * gdb.cp/oranking.cc (test15): New function.
7392 (main): Call test15 and declare additional variables for testing.
7393 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
7394 "p foo101('abc')" tests.
7395 Add tests for cv qualifier overloads.
7396 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
7397 "lvalue reference overload" test.
7398 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
7399 "print value of f1 on Child&& in f2" test.
7400
3a3fd0fd
PA
74012017-04-19 Pedro Alves <palves@redhat.com>
7402
7403 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
7404 procedure.
7405 (top level): Call it.
7406 * lib/gdb.exp (gdb_define_cmd): New procedure.
7407
53375380
PA
74082017-04-12 Pedro Alves <palves@redhat.com>
7409
7410 PR gdb/21323
7411 * gdb.cp/wide_char_types.c: Include <wchar.h>.
7412 (wchar): New global.
7413 * gdb.cp/wide_char_types.exp (wide_char_types_program)
7414 (do_test_wide_char, wide_char_types_no_program, top level): Add
7415 wchar_t testing.
7416
53e710ac
PA
74172017-04-12 Pedro Alves <palves@redhat.com>
7418
7419 PR c++/21323
7420 * gdb.cp/wide_char_types.c: New file.
7421 * gdb.cp/wide_char_types.exp: New file.
7422
0ad9d8c7
SDJ
74232017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
7424
7425 PR gdb/21352
7426 * gdb.trace/tsv.exp: Add test for "tsave -r".
7427
b1b45502
IB
74282017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
7429
7430 * gdb.dlang/watch-loc.c: New file.
7431 * gdb.dlang/watch-loc.exp: New file.
7432
ec13808e
JK
74332017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7434
7435 * gdb.python/py-section-script.exp (sepdebug): New testcases.
7436
fe5f7374
AK
74372017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
7438
7439 * gdb.arch/arc-analyze-prologue.S: New file.
7440 * gdb.arch/arc-analyze-prologue.exp: Likewise.
7441
eea78757
AK
74422017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
7443
7444 * gdb.arch/arc-decode-insn.S: New file.
7445 * gdb.arch/arc-decode-insn.exp: Likewise.
7446
5badf10a
IR
74472017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
7448
7449 PR tdep/20928
7450 * gdb.arch/sparc64-regs.exp: New file.
7451 * gdb.arch/sparc64-regs.S: Likewise.
7452
cee59b3f
TW
74532017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
7454
7455 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
7456 and memory view on Python 3.
7457
c0f55cc6
AV
74582017-03-20 Artemiy Volkov <artemiyv@acm.org>
7459 Keith Seitz <keiths@redhat.com>
7460
7461 PR gdb/14441
7462 * gdb.cp/demangle.exp: Add rvalue reference tests.
7463 * gdb.cp/rvalue-ref-casts.cc: New file.
7464 * gdb.cp/rvalue-ref-casts.exp: New file.
7465 * gdb.cp/rvalue-ref-overload.cc: New file.
7466 * gdb.cp/rvalue-ref-overload.exp: New file.
7467 * gdb.cp/rvalue-ref-params.cc: New file.
7468 * gdb.cp/rvalue-ref-params.exp: New file.
7469 * gdb.cp/rvalue-ref-sizeof.cc: New file.
7470 * gdb.cp/rvalue-ref-sizeof.exp: New file.
7471 * gdb.cp/rvalue-ref-types.cc: New file.
7472 * gdb.cp/rvalue-ref-types.exp: New file.
7473 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
7474 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
7475
51457a05
MAL
74762017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
7477
7478 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
7479 New procedure.
7480
5b291c04
MAL
74812017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
7482
7483 * lib/mi-support.exp (mi_gdb_test): Add additional message
7484 for unexpected output.
7485
59a56148
AA
74862017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
7487
7488 * gdb.base/examine-backward.c (Barrier): New character array
7489 constant, to ensure that TestStrings is preceded by a string
7490 terminator.
7491
7942e96e
AA
74922017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7493
7494 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
7495 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
7496 and implicit pointer into such a location.
7497
6ebac3fb
DE
74982017-03-16 Doug Evans <dje@google.com>
7499
7500 * gdb.python/py-lazy-string (pointer): Really add new typedef.
7501
ec3b243d
TP
75022017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
7503
7504 * gdb.cp/m-static.exp: Fix expectation for prototype of
7505 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
7506
75072017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
7508
7509 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
7510 * gdb.guile/scm-lazy-string.c: New file.
7511 * gdb.guile/scm-value.exp: Move lazy string tests to ...
7512 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
7513 for pointer, array, typedef lazy strings.
7514
2cc36e25 75152017-03-16 Doug Evans <dje@google.com>
34b43320
DE
7516
7517 PR python/17728, python/18439, python/18779
7518 * gdb.python/py-value.c (main) Delete locals sptr, sn.
7519 * gdb.python/py-lazy-string.c (pointer): New typedef.
7520 (main): New locals ptr, array, typedef_ptr.
7521 * gdb.python/py-value.exp: Move lazy string tests to ...
7522 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
7523 array, typedef lazy strings.
ec3b243d 7524
0efcde63
AK
75252017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
7526
7527 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
7528 Add optional 'test' parameter.
7529
7978d7c3
SM
75302017-03-13 Simon Marchi <simon.marchi@ericsson.com>
7531
7532 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
7533 Skip for versions of DejaGnu < 1.5.
7534
896c0c1e
SM
75352017-03-13 Simon Marchi <simon.marchi@ericsson.com>
7536
7537 * lib/gdb.exp (dejagnu_version): New proc.
7538 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
7539 Use dejagnu_version.
7540
5f4d1085
KS
75412017-03-10 Keith Seitz <keiths@redhat.com>
7542
7543 PR c++/8128
7544 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
7545 type from destructor regexps.
7546 Add a branch which actually passes the test.
7547 Adjust "ptype t5i" test names.
7548
1de05205
PA
75492017-03-08 Pedro Alves <palves@redhat.com>
7550
7551 * gdb.base/step-over-exit.exp: Add explicit test message.
7552
c65d6b55
PA
75532017-03-08 Pedro Alves <palves@redhat.com>
7554
7555 PR gdb/18360
7556 * gdb.threads/interrupt-while-step-over.c: New file.
7557 * gdb.threads/interrupt-while-step-over.exp: New file.
7558
2e86a283
PA
75592017-03-08 Pedro Alves <palves@redhat.com>
7560
7561 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
7562 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
7563
25dcbff6
PA
75642017-03-08 Pedro Alves <palves@redhat.com>
7565
7566 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
7567 PKRU as not supported as a PASS.
7568
dc9366eb
PA
75692017-03-08 Pedro Alves <palves@redhat.com>
7570
7571 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
7572 prefix instead of $binfile1/$binfile2.
7573 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
7574 in test message.
7575 * gdb.python/py-completion.exp: Use "load python file" as test
7576 messages instead of unstable path names.
7577
6e5d74e7
PA
75782017-03-08 Pedro Alves <palves@redhat.com>
7579 Jan Kratochvil <jan.kratochvil@redhat.com>
7580
7581 PR cli/21218
7582 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
7583 New proc.
7584 (top level): Call it.
7585
9753a2f6
PA
75862017-03-08 Pedro Alves <palves@redhat.com>
7587
7588 PR tui/21216
7589 * gdb.tui/tui-nl-filtered-output.exp: New file.
7590
1a4dd9dd
PA
75912017-03-08 Pedro Alves <palves@redhat.com>
7592
7593 * gdb.base/completion.exp: Move TUI completion tests to ...
7594 * gdb.tui/completion.exp: ... this new file.
7595
7cbbff33
PA
75962017-03-08 Pedro Alves <palves@redhat.com>
7597
7598 * gdb.base/tui-disasm-long-lines.c,
7599 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
7600 gdb.base/tui-layout.exp: Move to ...
7601 * gdb.tui/: ... this new directory.
7602
5f6fd321
PA
76032017-03-07 Pedro Alves <palves@redhat.com>
7604
7605 * gdb.base/tui-layout.c: New file.
7606 * gdb.base/tui-layout.exp: New file.
7607
44959fa8
PA
76082017-03-07 Pedro Alves <palves@redhat.com>
7609
7610 * gdb.base/tui-layout.c: Rename to ...
7611 * gdb.base/tui-disasm-long-lines.c: ... this.
7612 * gdb.base/tui-layout.exp: Rename to ...
7613 * gdb.base/tui-disasm-long-lines.exp: ... this.
7614
f8c4e718
PA
76152017-03-07 Pedro Alves <palves@redhat.com>
7616
7617 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
7618
6dbb839a 76192017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
7620
7621 * i386-mpx-call.c: New file.
7622 * i386-mpx-call.exp: New file.
7623
65b48a81
PB
76242017-02-28 Peter Bergner <bergner@vnet.ibm.com>
7625
7626 * gdb.arch/powerpc-power.exp: Delete test.
7627 * gdb.arch/powerpc-power.s: Likewise.
7628 * gdb.disasm/disassembler-options.exp: New test.
7629 * gdb.arch/powerpc-altivec.exp: Likewise.
7630 * gdb.arch/powerpc-altivec.s: Likewise.
7631 * gdb.arch/powerpc-altivec2.exp: Likewise.
7632 * gdb.arch/powerpc-altivec2.s: Likewise.
7633 * gdb.arch/powerpc-altivec3.exp: Likewise.
7634 * gdb.arch/powerpc-altivec3.s: Likewise.
7635 * gdb.arch/powerpc-power7.exp: Likewise.
7636 * gdb.arch/powerpc-power7.s: Likewise.
7637 * gdb.arch/powerpc-power8.exp: Likewise.
7638 * gdb.arch/powerpc-power8.s: Likewise.
7639 * gdb.arch/powerpc-power9.exp: Likewise.
7640 * gdb.arch/powerpc-power9.s: Likewise.
7641 * gdb.arch/powerpc-vsx.exp: Likewise.
7642 * gdb.arch/powerpc-vsx.s: Likewise.
7643 * gdb.arch/powerpc-vsx2.exp: Likewise.
7644 * gdb.arch/powerpc-vsx2.s: Likewise.
7645 * gdb.arch/powerpc-vsx3.exp: Likewise.
7646 * gdb.arch/powerpc-vsx3.s: Likewise.
7647 * gdb.arch/arm-disassembler-options.exp: Likewise.
7648 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
7649 * gdb.arch/s390-disassembler-options.exp: Likewise.
7650
17cd4947
LM
76512017-02-23 Luis Machado <lgustavo@codesourcery.com>
7652
7653 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
7654 (check_supported_features): ... this. Changed return type to void.
7655 (supports_rdseed): New static global.
7656 (rdseed): Check supports_rdseed.
7657 (initialize): Call check_supported_features.
7658
2039d74e
EBM
76592017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7660
7661 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
7662 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
7663 and lqarx/stqcx.
7664 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
7665 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
7666
a51d7ecf
EBM
76672017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7668
7669 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
7670 uppercase.
7671
0224619f
JK
76722017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7673
7674 * gdb.dwarf2/formdata16.c: New file.
7675 * gdb.dwarf2/formdata16.exp: New file.
7676 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
7677
216f72a1
JK
76782017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7679
7680 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
7681 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
7682 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
7683 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
7684 DW_AT_GNU_*.
7685
43988095
JK
76862017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7687
7688 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
7689
99e8a4f9
SDJ
76902017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
7691
7692 PR gdb/21164
7693 * gdb.base/maint.exp: Add testcases for when the commands do
7694 not have arguments.
7695
b58a8c0c
TP
76962017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
7697
7698 * gdb.cp/chained-calls.exp: Use p instead of P.
7699
4e746bb6
TW
77002017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
7701
7702 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
7703 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
7704
3f77c769
TT
77052017-02-14 Tom Tromey <tom@tromey.com>
7706
7707 PR python/13598:
7708 * gdb.python/py-events.exp: Add before_prompt event tests.
7709
075beec0
AA
77102017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7711
7712 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
7713
bf5f525c
LM
77142017-02-13 Luis Machado <lgustavo@codesourcery.com>
7715
7716 * gdb.linespec/explicit.c (my_unique_function_name): New function.
7717 (main): Call my_unique_function_name.
7718 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
7719 completion of patterns with a single match.
7720 Add missing -re switches to gdb_test_multiple calls.
7721
13a66184
LM
77222017-02-13 Luis Machado <lgustavo@codesourcery.com>
7723
7724 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
7725 return if core file is not recognized.
7726
26a06916
SM
77272017-02-10 Simon Marchi <simon.marchi@ericsson.com>
7728
7729 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
7730 and extra UIs.
7731
b761ca9e
SM
77322017-02-10 Simon Marchi <simon.marchi@ericsson.com>
7733
7734 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
7735 proc_with_prefix.
7736
b964bee0
TT
77372017-02-10 Tom Tromey <tom@tromey.com>
7738
7739 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
7740
18da0c51
MG
77412017-02-10 Martin Galvan <martingalvan@sourceware.org>
7742
7743 PR gdb/21122
7744 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
7745
604c4576
JG
77462017-02-08 Jerome Guitton <guitton@adacore.com>
7747
7748 * gdb.base/define.exp: Add test for command abbreviations
7749 in define.
7750
20b477a7
LM
77512017-02-06 Luis Machado <lgustavo@codesourcery.com>
7752
7753 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
7754 * gdb.reverse/insn-reverse-x86.c: New file.
7755
3f7b46f2
IR
77562017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
7757
7758 PR tdep/20936
7759 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
7760
f0fd41c1
TT
77612017-02-03 Tom Tromey <tom@tromey.com>
7762
7763 PR rust/21097:
7764 * gdb.rust/simple.exp: Add new tests.
7765
5be5dbf0
PA
77662017-02-02 Pedro Alves <palves@redhat.com>
7767
7768 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
7769 tests.
7770
7346ef59
AA
77712017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
7772
7773 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
7774 taking a 2-byte value out of a 4-byte DWARF implicit value on
7775 big-endian targets.
7776 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
7777 logic. Add test cases for DW_OP_implicit.
7778
787f0025
MM
77792017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7780
7781 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
7782
68777c29
MM
77832017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7784
7785 * gdb.btrace/enable.exp: Call gdb_exit before
7786 skip_gdbserver_tests.
7787
0a1c7e28
MM
77882017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7789
7790 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
7791 GDBFLAGS.
7792
b5ac99b0
MM
77932017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7794
7795 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
7796 the test is skipped.
7797 * gdb.btrace/data.exp: Likewise.
7798 * gdb.btrace/delta.exp: Likewise.
7799 * gdb.btrace/dlopen.exp: Likewise.
7800 * gdb.btrace/enable-running.exp: Likewise.
7801 * gdb.btrace/enable.exp: Likewise.
7802 * gdb.btrace/exception.exp: Likewise.
7803 * gdb.btrace/function_call_history.exp: Likewise.
7804 * gdb.btrace/gcore.exp: Likewise.
7805 * gdb.btrace/instruction_history.exp: Likewise.
7806 * gdb.btrace/multi-thread-step.exp: Likewise.
7807 * gdb.btrace/nohist.exp: Likewise.
7808 * gdb.btrace/non-stop.exp: Likewise.
7809 * gdb.btrace/reconnect.exp: Likewise.
7810 * gdb.btrace/record_goto-step.exp: Likewise.
7811 * gdb.btrace/record_goto.exp: Likewise.
7812 * gdb.btrace/rn-dl-bind.exp: Likewise.
7813 * gdb.btrace/segv.exp: Likewise.
7814 * gdb.btrace/step.exp: Likewise.
7815 * gdb.btrace/stepi.exp: Likewise.
7816 * gdb.btrace/tailcall-only.exp: Likewise.
7817 * gdb.btrace/tailcall.exp: Likewise.
7818 * gdb.btrace/tsx.exp: Likewise.
7819 * gdb.btrace/unknown_functions.exp: Likewise.
7820 * gdb.btrace/vdso.exp: Likewise.
7821
cd4007e4
MM
78222017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7823
7824 * gdb.btrace/enable-running.c: New.
7825 * gdb.btrace/enable-running.exp: New.
7826
2735833d
WT
78272017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
7828
7829 * gdb.arch/amd64-gs_base.c: New file.
7830 * gdb.arch/amd64-gs_base.exp: New file.
7831
b51e1e94
LM
78322017-01-26 Luis Machado <lgustavo@codesourcery.com>
7833
7834 * lib/memory.exp: Remove spurious empty newlines.
7835
72ca0410
SM
78362017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
7837
7838 * gdb.python/py-bad-printers.exp: Load python file using "source".
7839 * gdb.python/py-events.exp: Likewise.
7840 * gdb.python/py-evsignal.exp: Likewise.
7841 * gdb.python/py-evthreads.exp: Likewise.
7842 * gdb.python/py-frame-args.exp: Likewise.
7843 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
7844 * gdb.python/py-framefilter-mi.exp: Likewise.
7845 * gdb.python/py-framefilter.exp: Likewise.
7846 * gdb.python/py-mi.exp: Likewise.
7847 * gdb.python/py-pp-maint.exp: Likewise.
7848 * gdb.python/py-pp-registration.exp: Likewise.
7849 * gdb.python/py-prettyprint.exp: Likewise.
7850 (run_lang_tests): Likewise.
7851 * gdb.python/py-typeprint.exp: Likewise.
7852
e309aa65
LM
78532017-01-26 Luis Machado <lgustavo@codesourcery.com>
7854
7855 * lib/memory.exp: New file.
7856 * lib/gdb.exp: Load memory.exp.
7857 * gdb.base/memattr.exp (delete_memory): Move proc to
7858 lib/memory.exp and rename to delete_memory_regions.
7859 Replace delete_memory with delete_memory_regions.
7860 Cleanup memory regions before tests.
7861 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
7862 before tests.
7863
515aff23
LM
78642017-01-26 Luis Machado <lgustavo@codesourcery.com>
7865
7866 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
7867 files.
7868 (initialize): New function conditionally defined.
7869 (testcases): Move within conditional block.
7870 (main): Call initialize.
7871 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
7872 of gdb.reverse/insn-reverse.c.
7873 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
7874 gdb.reverse/insn-reverse.c.
7875
d8b49cf0
YQ
78762017-01-26 Yao Qi <yao.qi@linaro.org>
7877
7878 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
7879 disassemble on address 0.
7880
f13a9a0c
YQ
78812017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
7882 Yao Qi <yao.qi@linaro.org>
7883
7884 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
7885 * gdb.dwarf2/implptr-64bit.S: Remove.
7886 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
7887 variables in caller's context. Add DW_OP_implicit_value.
7888
5ac95241
YQ
78892017-01-25 Yao Qi <yao.qi@linaro.org>
7890
7891 * lib/dwarf.exp (Dwarf::_location): Handle
7892 DW_OP_GNU_implicit_pointer with proper size.
7893
23e82930
LM
78942017-01-20 Luis Machado <lgustavo@codesourcery.com>
7895
7896 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
7897 and add untested calls.
7898
d334ae25
LM
78992017-01-20 Luis Machado <lgustavo@codesourcery.com>
7900
7901 * gdb.python/python.exp: Check line number against what GDB thinks
7902 the line number is for func1.
7903
f5e6296e
IB
79042017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
7905
7906 * gdb.dlang/debug-expr.exp: New file.
7907
5b362f04
LM
79082016-12-23 Luis Machado <lgustavo@codesourcery.com>
7909
7910 Fix test names for the following files:
7911
7912 * gdb.ada/exec_changed.exp
7913 * gdb.ada/info_types.exp
7914 * gdb.arch/aarch64-atomic-inst.exp
7915 * gdb.arch/aarch64-fp.exp
7916 * gdb.arch/altivec-abi.exp
7917 * gdb.arch/altivec-regs.exp
7918 * gdb.arch/amd64-byte.exp
7919 * gdb.arch/amd64-disp-step.exp
7920 * gdb.arch/amd64-dword.exp
7921 * gdb.arch/amd64-entry-value-inline.exp
7922 * gdb.arch/amd64-entry-value-param.exp
7923 * gdb.arch/amd64-entry-value-paramref.exp
7924 * gdb.arch/amd64-entry-value.exp
7925 * gdb.arch/amd64-i386-address.exp
7926 * gdb.arch/amd64-invalid-stack-middle.exp
7927 * gdb.arch/amd64-invalid-stack-top.exp
7928 * gdb.arch/amd64-optimout-repeat.exp
7929 * gdb.arch/amd64-prologue-skip.exp
7930 * gdb.arch/amd64-prologue-xmm.exp
7931 * gdb.arch/amd64-stap-special-operands.exp
7932 * gdb.arch/amd64-stap-wrong-subexp.exp
7933 * gdb.arch/amd64-tailcall-cxx.exp
7934 * gdb.arch/amd64-tailcall-noret.exp
7935 * gdb.arch/amd64-tailcall-ret.exp
7936 * gdb.arch/amd64-tailcall-self.exp
7937 * gdb.arch/amd64-word.exp
7938 * gdb.arch/arm-bl-branch-dest.exp
7939 * gdb.arch/arm-disp-step.exp
7940 * gdb.arch/arm-neon.exp
7941 * gdb.arch/arm-single-step-kernel-helper.exp
7942 * gdb.arch/avr-flash-qualifier.exp
7943 * gdb.arch/disp-step-insn-reloc.exp
7944 * gdb.arch/e500-abi.exp
7945 * gdb.arch/e500-regs.exp
7946 * gdb.arch/ftrace-insn-reloc.exp
7947 * gdb.arch/i386-avx512.exp
7948 * gdb.arch/i386-bp_permanent.exp
7949 * gdb.arch/i386-byte.exp
7950 * gdb.arch/i386-cfi-notcurrent.exp
7951 * gdb.arch/i386-disp-step.exp
7952 * gdb.arch/i386-dr3-watch.exp
7953 * gdb.arch/i386-float.exp
7954 * gdb.arch/i386-gnu-cfi.exp
7955 * gdb.arch/i386-mpx-map.exp
7956 * gdb.arch/i386-mpx-sigsegv.exp
7957 * gdb.arch/i386-mpx-simple_segv.exp
7958 * gdb.arch/i386-mpx.exp
7959 * gdb.arch/i386-permbkpt.exp
7960 * gdb.arch/i386-prologue.exp
7961 * gdb.arch/i386-signal.exp
7962 * gdb.arch/i386-size-overlap.exp
7963 * gdb.arch/i386-unwind.exp
7964 * gdb.arch/i386-word.exp
7965 * gdb.arch/mips-fcr.exp
7966 * gdb.arch/powerpc-d128-regs.exp
7967 * gdb.arch/powerpc-stackless.exp
7968 * gdb.arch/ppc64-atomic-inst.exp
7969 * gdb.arch/s390-stackless.exp
7970 * gdb.arch/s390-tdbregs.exp
7971 * gdb.arch/s390-vregs.exp
7972 * gdb.arch/sparc-sysstep.exp
7973 * gdb.arch/thumb-bx-pc.exp
7974 * gdb.arch/thumb-singlestep.exp
7975 * gdb.arch/thumb2-it.exp
7976 * gdb.arch/vsx-regs.exp
7977 * gdb.asm/asm-source.exp
7978 * gdb.base/a2-run.exp
7979 * gdb.base/advance.exp
7980 * gdb.base/all-bin.exp
7981 * gdb.base/anon.exp
7982 * gdb.base/args.exp
7983 * gdb.base/arithmet.exp
7984 * gdb.base/async-shell.exp
7985 * gdb.base/async.exp
7986 * gdb.base/attach-pie-noexec.exp
7987 * gdb.base/attach-twice.exp
7988 * gdb.base/auto-load.exp
7989 * gdb.base/bang.exp
7990 * gdb.base/bitfields.exp
7991 * gdb.base/break-always.exp
7992 * gdb.base/break-caller-line.exp
7993 * gdb.base/break-entry.exp
7994 * gdb.base/break-inline.exp
7995 * gdb.base/break-on-linker-gcd-function.exp
7996 * gdb.base/break-probes.exp
7997 * gdb.base/break.exp
7998 * gdb.base/breakpoint-shadow.exp
7999 * gdb.base/call-ar-st.exp
8000 * gdb.base/call-sc.exp
8001 * gdb.base/call-signal-resume.exp
8002 * gdb.base/call-strs.exp
8003 * gdb.base/callfuncs.exp
8004 * gdb.base/catch-fork-static.exp
8005 * gdb.base/catch-gdb-caused-signals.exp
8006 * gdb.base/catch-load.exp
8007 * gdb.base/catch-signal-fork.exp
8008 * gdb.base/catch-signal.exp
8009 * gdb.base/catch-syscall.exp
8010 * gdb.base/charset.exp
8011 * gdb.base/checkpoint.exp
8012 * gdb.base/chng-syms.exp
8013 * gdb.base/code-expr.exp
8014 * gdb.base/code_elim.exp
8015 * gdb.base/commands.exp
8016 * gdb.base/completion.exp
8017 * gdb.base/complex.exp
8018 * gdb.base/cond-expr.exp
8019 * gdb.base/condbreak.exp
8020 * gdb.base/consecutive.exp
8021 * gdb.base/continue-all-already-running.exp
8022 * gdb.base/coredump-filter.exp
8023 * gdb.base/corefile.exp
8024 * gdb.base/dbx.exp
8025 * gdb.base/debug-expr.exp
8026 * gdb.base/define.exp
8027 * gdb.base/del.exp
8028 * gdb.base/disabled-location.exp
8029 * gdb.base/disasm-end-cu.exp
8030 * gdb.base/disasm-optim.exp
8031 * gdb.base/display.exp
8032 * gdb.base/duplicate-bp.exp
8033 * gdb.base/ena-dis-br.exp
8034 * gdb.base/ending-run.exp
8035 * gdb.base/enumval.exp
8036 * gdb.base/environ.exp
8037 * gdb.base/eu-strip-infcall.exp
8038 * gdb.base/eval-avoid-side-effects.exp
8039 * gdb.base/eval-skip.exp
8040 * gdb.base/exitsignal.exp
8041 * gdb.base/expand-psymtabs.exp
8042 * gdb.base/filesym.exp
8043 * gdb.base/find-unmapped.exp
8044 * gdb.base/finish.exp
8045 * gdb.base/float.exp
8046 * gdb.base/foll-exec-mode.exp
8047 * gdb.base/foll-exec.exp
8048 * gdb.base/foll-fork.exp
8049 * gdb.base/fortran-sym-case.exp
8050 * gdb.base/freebpcmd.exp
8051 * gdb.base/func-ptr.exp
8052 * gdb.base/func-ptrs.exp
8053 * gdb.base/funcargs.exp
8054 * gdb.base/gcore-buffer-overflow.exp
8055 * gdb.base/gcore-relro-pie.exp
8056 * gdb.base/gcore-relro.exp
8057 * gdb.base/gcore.exp
8058 * gdb.base/gdb1090.exp
8059 * gdb.base/gdb11530.exp
8060 * gdb.base/gdb11531.exp
8061 * gdb.base/gdb1821.exp
8062 * gdb.base/gdbindex-stabs.exp
8063 * gdb.base/gdbvars.exp
8064 * gdb.base/hbreak.exp
8065 * gdb.base/hbreak2.exp
8066 * gdb.base/included.exp
8067 * gdb.base/infcall-input.exp
8068 * gdb.base/inferior-died.exp
8069 * gdb.base/infnan.exp
8070 * gdb.base/info-macros.exp
8071 * gdb.base/info-os.exp
8072 * gdb.base/info-proc.exp
8073 * gdb.base/info-shared.exp
8074 * gdb.base/info-target.exp
8075 * gdb.base/infoline.exp
8076 * gdb.base/interp.exp
8077 * gdb.base/interrupt.exp
8078 * gdb.base/jit-reader.exp
8079 * gdb.base/jit-simple.exp
8080 * gdb.base/kill-after-signal.exp
8081 * gdb.base/kill-detach-inferiors-cmd.exp
8082 * gdb.base/label.exp
8083 * gdb.base/langs.exp
8084 * gdb.base/ldbl_e308.exp
8085 * gdb.base/line-symtabs.exp
8086 * gdb.base/linespecs.exp
8087 * gdb.base/list.exp
8088 * gdb.base/long_long.exp
8089 * gdb.base/longest-types.exp
8090 * gdb.base/maint.exp
8091 * gdb.base/max-value-size.exp
8092 * gdb.base/memattr.exp
8093 * gdb.base/mips_pro.exp
8094 * gdb.base/morestack.exp
8095 * gdb.base/moribund-step.exp
8096 * gdb.base/multi-forks.exp
8097 * gdb.base/nested-addr.exp
8098 * gdb.base/nextoverexit.exp
8099 * gdb.base/noreturn-finish.exp
8100 * gdb.base/noreturn-return.exp
8101 * gdb.base/nostdlib.exp
8102 * gdb.base/offsets.exp
8103 * gdb.base/opaque.exp
8104 * gdb.base/pc-fp.exp
8105 * gdb.base/permissions.exp
8106 * gdb.base/print-symbol-loading.exp
8107 * gdb.base/prologue-include.exp
8108 * gdb.base/psymtab.exp
8109 * gdb.base/ptype.exp
8110 * gdb.base/random-signal.exp
8111 * gdb.base/randomize.exp
8112 * gdb.base/range-stepping.exp
8113 * gdb.base/readline-ask.exp
8114 * gdb.base/recpar.exp
8115 * gdb.base/recurse.exp
8116 * gdb.base/relational.exp
8117 * gdb.base/restore.exp
8118 * gdb.base/return-nodebug.exp
8119 * gdb.base/return.exp
8120 * gdb.base/run-after-attach.exp
8121 * gdb.base/save-bp.exp
8122 * gdb.base/scope.exp
8123 * gdb.base/sect-cmd.exp
8124 * gdb.base/set-lang-auto.exp
8125 * gdb.base/set-noassign.exp
8126 * gdb.base/setvar.exp
8127 * gdb.base/sigall.exp
8128 * gdb.base/sigbpt.exp
8129 * gdb.base/siginfo-addr.exp
8130 * gdb.base/siginfo-infcall.exp
8131 * gdb.base/siginfo-obj.exp
8132 * gdb.base/siginfo.exp
8133 * gdb.base/signals-state-child.exp
8134 * gdb.base/signest.exp
8135 * gdb.base/sigstep.exp
8136 * gdb.base/sizeof.exp
8137 * gdb.base/skip.exp
8138 * gdb.base/solib-corrupted.exp
8139 * gdb.base/solib-nodir.exp
8140 * gdb.base/solib-search.exp
8141 * gdb.base/stack-checking.exp
8142 * gdb.base/stale-infcall.exp
8143 * gdb.base/stap-probe.exp
8144 * gdb.base/start.exp
8145 * gdb.base/step-break.exp
8146 * gdb.base/step-bt.exp
8147 * gdb.base/step-line.exp
8148 * gdb.base/step-over-exit.exp
8149 * gdb.base/step-over-syscall.exp
8150 * gdb.base/step-resume-infcall.exp
8151 * gdb.base/step-test.exp
8152 * gdb.base/store.exp
8153 * gdb.base/structs3.exp
8154 * gdb.base/sym-file.exp
8155 * gdb.base/symbol-without-target_section.exp
8156 * gdb.base/term.exp
8157 * gdb.base/testenv.exp
8158 * gdb.base/ui-redirect.exp
8159 * gdb.base/until.exp
8160 * gdb.base/unwindonsignal.exp
8161 * gdb.base/value-double-free.exp
8162 * gdb.base/vla-datatypes.exp
8163 * gdb.base/vla-ptr.exp
8164 * gdb.base/vla-sideeffect.exp
8165 * gdb.base/volatile.exp
8166 * gdb.base/watch-cond-infcall.exp
8167 * gdb.base/watch-cond.exp
8168 * gdb.base/watch-non-mem.exp
8169 * gdb.base/watch-read.exp
8170 * gdb.base/watch-vfork.exp
8171 * gdb.base/watchpoint-cond-gone.exp
8172 * gdb.base/watchpoint-delete.exp
8173 * gdb.base/watchpoint-hw-hit-once.exp
8174 * gdb.base/watchpoint-hw.exp
8175 * gdb.base/watchpoint-stops-at-right-insn.exp
8176 * gdb.base/watchpoints.exp
8177 * gdb.base/wchar.exp
8178 * gdb.base/whatis-exp.exp
8179 * gdb.btrace/buffer-size.exp
8180 * gdb.btrace/data.exp
8181 * gdb.btrace/delta.exp
8182 * gdb.btrace/dlopen.exp
8183 * gdb.btrace/enable.exp
8184 * gdb.btrace/exception.exp
8185 * gdb.btrace/function_call_history.exp
8186 * gdb.btrace/gcore.exp
8187 * gdb.btrace/instruction_history.exp
8188 * gdb.btrace/nohist.exp
8189 * gdb.btrace/reconnect.exp
8190 * gdb.btrace/record_goto-step.exp
8191 * gdb.btrace/record_goto.exp
8192 * gdb.btrace/rn-dl-bind.exp
8193 * gdb.btrace/segv.exp
8194 * gdb.btrace/step.exp
8195 * gdb.btrace/stepi.exp
8196 * gdb.btrace/tailcall-only.exp
8197 * gdb.btrace/tailcall.exp
8198 * gdb.btrace/tsx.exp
8199 * gdb.btrace/unknown_functions.exp
8200 * gdb.btrace/vdso.exp
8201 * gdb.compile/compile-ifunc.exp
8202 * gdb.compile/compile-ops.exp
8203 * gdb.compile/compile-print.exp
8204 * gdb.compile/compile-setjmp.exp
8205 * gdb.cp/abstract-origin.exp
8206 * gdb.cp/ambiguous.exp
8207 * gdb.cp/annota2.exp
8208 * gdb.cp/annota3.exp
8209 * gdb.cp/anon-ns.exp
8210 * gdb.cp/anon-struct.exp
8211 * gdb.cp/anon-union.exp
8212 * gdb.cp/arg-reference.exp
8213 * gdb.cp/baseenum.exp
8214 * gdb.cp/bool.exp
8215 * gdb.cp/breakpoint.exp
8216 * gdb.cp/bs15503.exp
8217 * gdb.cp/call-c.exp
8218 * gdb.cp/casts.exp
8219 * gdb.cp/chained-calls.exp
8220 * gdb.cp/class2.exp
8221 * gdb.cp/classes.exp
8222 * gdb.cp/cmpd-minsyms.exp
8223 * gdb.cp/converts.exp
8224 * gdb.cp/cp-relocate.exp
8225 * gdb.cp/cpcompletion.exp
8226 * gdb.cp/cpexprs.exp
8227 * gdb.cp/cplabel.exp
8228 * gdb.cp/cplusfuncs.exp
8229 * gdb.cp/cpsizeof.exp
8230 * gdb.cp/ctti.exp
8231 * gdb.cp/derivation.exp
8232 * gdb.cp/destrprint.exp
8233 * gdb.cp/dispcxx.exp
8234 * gdb.cp/enum-class.exp
8235 * gdb.cp/exception.exp
8236 * gdb.cp/exceptprint.exp
8237 * gdb.cp/expand-psymtabs-cxx.exp
8238 * gdb.cp/expand-sals.exp
8239 * gdb.cp/extern-c.exp
8240 * gdb.cp/filename.exp
8241 * gdb.cp/formatted-ref.exp
8242 * gdb.cp/fpointer.exp
8243 * gdb.cp/gdb1355.exp
8244 * gdb.cp/gdb2495.exp
8245 * gdb.cp/hang.exp
8246 * gdb.cp/impl-this.exp
8247 * gdb.cp/infcall-dlopen.exp
8248 * gdb.cp/inherit.exp
8249 * gdb.cp/iostream.exp
8250 * gdb.cp/koenig.exp
8251 * gdb.cp/local.exp
8252 * gdb.cp/m-data.exp
8253 * gdb.cp/m-static.exp
8254 * gdb.cp/mb-ctor.exp
8255 * gdb.cp/mb-inline.exp
8256 * gdb.cp/mb-templates.exp
8257 * gdb.cp/member-name.exp
8258 * gdb.cp/member-ptr.exp
8259 * gdb.cp/meth-typedefs.exp
8260 * gdb.cp/method.exp
8261 * gdb.cp/method2.exp
8262 * gdb.cp/minsym-fallback.exp
8263 * gdb.cp/misc.exp
8264 * gdb.cp/namelessclass.exp
8265 * gdb.cp/namespace-enum.exp
8266 * gdb.cp/namespace-nested-import.exp
8267 * gdb.cp/namespace.exp
8268 * gdb.cp/nextoverthrow.exp
8269 * gdb.cp/no-dmgl-verbose.exp
8270 * gdb.cp/non-trivial-retval.exp
8271 * gdb.cp/noparam.exp
8272 * gdb.cp/nsdecl.exp
8273 * gdb.cp/nsimport.exp
8274 * gdb.cp/nsnested.exp
8275 * gdb.cp/nsnoimports.exp
8276 * gdb.cp/nsrecurs.exp
8277 * gdb.cp/nsstress.exp
8278 * gdb.cp/nsusing.exp
8279 * gdb.cp/operator.exp
8280 * gdb.cp/oranking.exp
8281 * gdb.cp/overload-const.exp
8282 * gdb.cp/overload.exp
8283 * gdb.cp/ovldbreak.exp
8284 * gdb.cp/ovsrch.exp
8285 * gdb.cp/paren-type.exp
8286 * gdb.cp/parse-lang.exp
8287 * gdb.cp/pass-by-ref.exp
8288 * gdb.cp/pr-1023.exp
8289 * gdb.cp/pr-1210.exp
8290 * gdb.cp/pr-574.exp
8291 * gdb.cp/pr10687.exp
8292 * gdb.cp/pr12028.exp
8293 * gdb.cp/pr17132.exp
8294 * gdb.cp/pr17494.exp
8295 * gdb.cp/pr9067.exp
8296 * gdb.cp/pr9167.exp
8297 * gdb.cp/pr9631.exp
8298 * gdb.cp/printmethod.exp
8299 * gdb.cp/psmang.exp
8300 * gdb.cp/psymtab-parameter.exp
8301 * gdb.cp/ptype-cv-cp.exp
8302 * gdb.cp/ptype-flags.exp
8303 * gdb.cp/re-set-overloaded.exp
8304 * gdb.cp/ref-types.exp
8305 * gdb.cp/rtti.exp
8306 * gdb.cp/scope-err.exp
8307 * gdb.cp/shadow.exp
8308 * gdb.cp/smartp.exp
8309 * gdb.cp/static-method.exp
8310 * gdb.cp/static-print-quit.exp
8311 * gdb.cp/temargs.exp
8312 * gdb.cp/templates.exp
8313 * gdb.cp/try_catch.exp
8314 * gdb.cp/typedef-operator.exp
8315 * gdb.cp/typeid.exp
8316 * gdb.cp/userdef.exp
8317 * gdb.cp/using-crash.exp
8318 * gdb.cp/var-tag.exp
8319 * gdb.cp/virtbase.exp
8320 * gdb.cp/virtfunc.exp
8321 * gdb.cp/virtfunc2.exp
8322 * gdb.cp/vla-cxx.exp
8323 * gdb.disasm/t01_mov.exp
8324 * gdb.disasm/t02_mova.exp
8325 * gdb.disasm/t03_add.exp
8326 * gdb.disasm/t04_sub.exp
8327 * gdb.disasm/t05_cmp.exp
8328 * gdb.disasm/t06_ari2.exp
8329 * gdb.disasm/t07_ari3.exp
8330 * gdb.disasm/t08_or.exp
8331 * gdb.disasm/t09_xor.exp
8332 * gdb.disasm/t10_and.exp
8333 * gdb.disasm/t11_logs.exp
8334 * gdb.disasm/t12_bit.exp
8335 * gdb.disasm/t13_otr.exp
8336 * gdb.dlang/circular.exp
8337 * gdb.dwarf2/arr-stride.exp
8338 * gdb.dwarf2/arr-subrange.exp
8339 * gdb.dwarf2/atomic-type.exp
8340 * gdb.dwarf2/bad-regnum.exp
8341 * gdb.dwarf2/bitfield-parent-optimized-out.exp
8342 * gdb.dwarf2/callframecfa.exp
8343 * gdb.dwarf2/clztest.exp
8344 * gdb.dwarf2/corrupt.exp
8345 * gdb.dwarf2/data-loc.exp
8346 * gdb.dwarf2/dup-psym.exp
8347 * gdb.dwarf2/dw2-anon-mptr.exp
8348 * gdb.dwarf2/dw2-anonymous-func.exp
8349 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
8350 * gdb.dwarf2/dw2-bad-unresolved.exp
8351 * gdb.dwarf2/dw2-basic.exp
8352 * gdb.dwarf2/dw2-canonicalize-type.exp
8353 * gdb.dwarf2/dw2-case-insensitive.exp
8354 * gdb.dwarf2/dw2-common-block.exp
8355 * gdb.dwarf2/dw2-compdir-oldgcc.exp
8356 * gdb.dwarf2/dw2-compressed.exp
8357 * gdb.dwarf2/dw2-const.exp
8358 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
8359 * gdb.dwarf2/dw2-cu-size.exp
8360 * gdb.dwarf2/dw2-dup-frame.exp
8361 * gdb.dwarf2/dw2-entry-value.exp
8362 * gdb.dwarf2/dw2-icycle.exp
8363 * gdb.dwarf2/dw2-ifort-parameter.exp
8364 * gdb.dwarf2/dw2-inline-break.exp
8365 * gdb.dwarf2/dw2-inline-param.exp
8366 * gdb.dwarf2/dw2-intercu.exp
8367 * gdb.dwarf2/dw2-intermix.exp
8368 * gdb.dwarf2/dw2-lexical-block-bare.exp
8369 * gdb.dwarf2/dw2-linkage-name-trust.exp
8370 * gdb.dwarf2/dw2-minsym-in-cu.exp
8371 * gdb.dwarf2/dw2-noloc.exp
8372 * gdb.dwarf2/dw2-op-call.exp
8373 * gdb.dwarf2/dw2-op-out-param.exp
8374 * gdb.dwarf2/dw2-opt-structptr.exp
8375 * gdb.dwarf2/dw2-param-error.exp
8376 * gdb.dwarf2/dw2-producer.exp
8377 * gdb.dwarf2/dw2-ranges-base.exp
8378 * gdb.dwarf2/dw2-ref-missing-frame.exp
8379 * gdb.dwarf2/dw2-reg-undefined.exp
8380 * gdb.dwarf2/dw2-regno-invalid.exp
8381 * gdb.dwarf2/dw2-restore.exp
8382 * gdb.dwarf2/dw2-restrict.exp
8383 * gdb.dwarf2/dw2-single-line-discriminators.exp
8384 * gdb.dwarf2/dw2-strp.exp
8385 * gdb.dwarf2/dw2-undefined-ret-addr.exp
8386 * gdb.dwarf2/dw2-unresolved.exp
8387 * gdb.dwarf2/dw2-var-zero-addr.exp
8388 * gdb.dwarf2/dw4-sig-types.exp
8389 * gdb.dwarf2/dwz.exp
8390 * gdb.dwarf2/dynarr-ptr.exp
8391 * gdb.dwarf2/enum-type.exp
8392 * gdb.dwarf2/gdb-index.exp
8393 * gdb.dwarf2/implptr-64bit.exp
8394 * gdb.dwarf2/implptr-optimized-out.exp
8395 * gdb.dwarf2/implptr.exp
8396 * gdb.dwarf2/implref-array.exp
8397 * gdb.dwarf2/implref-const.exp
8398 * gdb.dwarf2/implref-global.exp
8399 * gdb.dwarf2/implref-struct.exp
8400 * gdb.dwarf2/mac-fileno.exp
8401 * gdb.dwarf2/main-subprogram.exp
8402 * gdb.dwarf2/member-ptr-forwardref.exp
8403 * gdb.dwarf2/method-ptr.exp
8404 * gdb.dwarf2/missing-sig-type.exp
8405 * gdb.dwarf2/nonvar-access.exp
8406 * gdb.dwarf2/opaque-type-lookup.exp
8407 * gdb.dwarf2/pieces-optimized-out.exp
8408 * gdb.dwarf2/pieces.exp
8409 * gdb.dwarf2/pr10770.exp
8410 * gdb.dwarf2/pr13961.exp
8411 * gdb.dwarf2/staticvirtual.exp
8412 * gdb.dwarf2/subrange.exp
8413 * gdb.dwarf2/symtab-producer.exp
8414 * gdb.dwarf2/trace-crash.exp
8415 * gdb.dwarf2/typeddwarf.exp
8416 * gdb.dwarf2/valop.exp
8417 * gdb.dwarf2/watch-notconst.exp
8418 * gdb.fortran/array-element.exp
8419 * gdb.fortran/charset.exp
8420 * gdb.fortran/common-block.exp
8421 * gdb.fortran/complex.exp
8422 * gdb.fortran/derived-type-function.exp
8423 * gdb.fortran/derived-type.exp
8424 * gdb.fortran/logical.exp
8425 * gdb.fortran/module.exp
8426 * gdb.fortran/multi-dim.exp
8427 * gdb.fortran/nested-funcs.exp
8428 * gdb.fortran/print-formatted.exp
8429 * gdb.fortran/subarray.exp
8430 * gdb.fortran/vla-alloc-assoc.exp
8431 * gdb.fortran/vla-datatypes.exp
8432 * gdb.fortran/vla-history.exp
8433 * gdb.fortran/vla-ptr-info.exp
8434 * gdb.fortran/vla-ptype-sub.exp
8435 * gdb.fortran/vla-ptype.exp
8436 * gdb.fortran/vla-sizeof.exp
8437 * gdb.fortran/vla-type.exp
8438 * gdb.fortran/vla-value-sub-arbitrary.exp
8439 * gdb.fortran/vla-value-sub-finish.exp
8440 * gdb.fortran/vla-value-sub.exp
8441 * gdb.fortran/vla-value.exp
8442 * gdb.fortran/whatis_type.exp
8443 * gdb.go/chan.exp
8444 * gdb.go/handcall.exp
8445 * gdb.go/hello.exp
8446 * gdb.go/integers.exp
8447 * gdb.go/methods.exp
8448 * gdb.go/package.exp
8449 * gdb.go/strings.exp
8450 * gdb.go/types.exp
8451 * gdb.go/unsafe.exp
8452 * gdb.guile/scm-arch.exp
8453 * gdb.guile/scm-block.exp
8454 * gdb.guile/scm-breakpoint.exp
8455 * gdb.guile/scm-cmd.exp
8456 * gdb.guile/scm-disasm.exp
8457 * gdb.guile/scm-equal.exp
8458 * gdb.guile/scm-frame-args.exp
8459 * gdb.guile/scm-frame-inline.exp
8460 * gdb.guile/scm-frame.exp
8461 * gdb.guile/scm-iterator.exp
8462 * gdb.guile/scm-math.exp
8463 * gdb.guile/scm-objfile.exp
8464 * gdb.guile/scm-ports.exp
8465 * gdb.guile/scm-symbol.exp
8466 * gdb.guile/scm-symtab.exp
8467 * gdb.guile/scm-value-cc.exp
8468 * gdb.guile/types-module.exp
8469 * gdb.linespec/break-ask.exp
8470 * gdb.linespec/cpexplicit.exp
8471 * gdb.linespec/explicit.exp
8472 * gdb.linespec/keywords.exp
8473 * gdb.linespec/linespec.exp
8474 * gdb.linespec/ls-dollar.exp
8475 * gdb.linespec/ls-errs.exp
8476 * gdb.linespec/skip-two.exp
8477 * gdb.linespec/thread.exp
8478 * gdb.mi/mi-async.exp
8479 * gdb.mi/mi-basics.exp
8480 * gdb.mi/mi-break.exp
8481 * gdb.mi/mi-catch-load.exp
8482 * gdb.mi/mi-cli.exp
8483 * gdb.mi/mi-cmd-param-changed.exp
8484 * gdb.mi/mi-console.exp
8485 * gdb.mi/mi-detach.exp
8486 * gdb.mi/mi-disassemble.exp
8487 * gdb.mi/mi-eval.exp
8488 * gdb.mi/mi-file-transfer.exp
8489 * gdb.mi/mi-file.exp
8490 * gdb.mi/mi-fill-memory.exp
8491 * gdb.mi/mi-inheritance-syntax-error.exp
8492 * gdb.mi/mi-linespec-err-cp.exp
8493 * gdb.mi/mi-logging.exp
8494 * gdb.mi/mi-memory-changed.exp
8495 * gdb.mi/mi-read-memory.exp
8496 * gdb.mi/mi-record-changed.exp
8497 * gdb.mi/mi-reg-undefined.exp
8498 * gdb.mi/mi-regs.exp
8499 * gdb.mi/mi-return.exp
8500 * gdb.mi/mi-reverse.exp
8501 * gdb.mi/mi-simplerun.exp
8502 * gdb.mi/mi-solib.exp
8503 * gdb.mi/mi-stack.exp
8504 * gdb.mi/mi-stepi.exp
8505 * gdb.mi/mi-syn-frame.exp
8506 * gdb.mi/mi-until.exp
8507 * gdb.mi/mi-var-block.exp
8508 * gdb.mi/mi-var-child.exp
8509 * gdb.mi/mi-var-cmd.exp
8510 * gdb.mi/mi-var-cp.exp
8511 * gdb.mi/mi-var-display.exp
8512 * gdb.mi/mi-var-invalidate.exp
8513 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
8514 * gdb.mi/mi-vla-fortran.exp
8515 * gdb.mi/mi-watch.exp
8516 * gdb.mi/mi2-var-child.exp
8517 * gdb.mi/user-selected-context-sync.exp
8518 * gdb.modula2/unbounded-array.exp
8519 * gdb.multi/dummy-frame-restore.exp
8520 * gdb.multi/multi-arch-exec.exp
8521 * gdb.multi/multi-arch.exp
8522 * gdb.multi/tids.exp
8523 * gdb.multi/watchpoint-multi.exp
8524 * gdb.opencl/callfuncs.exp
8525 * gdb.opencl/convs_casts.exp
8526 * gdb.opencl/datatypes.exp
8527 * gdb.opencl/operators.exp
8528 * gdb.opencl/vec_comps.exp
8529 * gdb.opt/clobbered-registers-O2.exp
8530 * gdb.opt/inline-break.exp
8531 * gdb.opt/inline-bt.exp
8532 * gdb.opt/inline-cmds.exp
8533 * gdb.opt/inline-locals.exp
8534 * gdb.pascal/case-insensitive-symbols.exp
8535 * gdb.pascal/floats.exp
8536 * gdb.pascal/gdb11492.exp
8537 * gdb.python/lib-types.exp
8538 * gdb.python/py-arch.exp
8539 * gdb.python/py-as-string.exp
8540 * gdb.python/py-bad-printers.exp
8541 * gdb.python/py-block.exp
8542 * gdb.python/py-breakpoint-create-fail.exp
8543 * gdb.python/py-breakpoint.exp
8544 * gdb.python/py-caller-is.exp
8545 * gdb.python/py-cmd.exp
8546 * gdb.python/py-explore-cc.exp
8547 * gdb.python/py-explore.exp
8548 * gdb.python/py-finish-breakpoint.exp
8549 * gdb.python/py-finish-breakpoint2.exp
8550 * gdb.python/py-frame-args.exp
8551 * gdb.python/py-frame-inline.exp
8552 * gdb.python/py-frame.exp
8553 * gdb.python/py-framefilter-mi.exp
8554 * gdb.python/py-infthread.exp
8555 * gdb.python/py-lazy-string.exp
8556 * gdb.python/py-linetable.exp
8557 * gdb.python/py-mi-events.exp
8558 * gdb.python/py-mi-objfile.exp
8559 * gdb.python/py-mi.exp
8560 * gdb.python/py-objfile.exp
8561 * gdb.python/py-pp-integral.exp
8562 * gdb.python/py-pp-maint.exp
8563 * gdb.python/py-pp-re-notag.exp
8564 * gdb.python/py-pp-registration.exp
8565 * gdb.python/py-recurse-unwind.exp
8566 * gdb.python/py-strfns.exp
8567 * gdb.python/py-symbol.exp
8568 * gdb.python/py-symtab.exp
8569 * gdb.python/py-sync-interp.exp
8570 * gdb.python/py-typeprint.exp
8571 * gdb.python/py-unwind-maint.exp
8572 * gdb.python/py-unwind.exp
8573 * gdb.python/py-value-cc.exp
8574 * gdb.python/py-xmethods.exp
8575 * gdb.reverse/amd64-tailcall-reverse.exp
8576 * gdb.reverse/break-precsave.exp
8577 * gdb.reverse/break-reverse.exp
8578 * gdb.reverse/consecutive-precsave.exp
8579 * gdb.reverse/consecutive-reverse.exp
8580 * gdb.reverse/finish-precsave.exp
8581 * gdb.reverse/finish-reverse-bkpt.exp
8582 * gdb.reverse/finish-reverse.exp
8583 * gdb.reverse/fstatat-reverse.exp
8584 * gdb.reverse/getresuid-reverse.exp
8585 * gdb.reverse/i386-precsave.exp
8586 * gdb.reverse/i386-reverse.exp
8587 * gdb.reverse/i386-sse-reverse.exp
8588 * gdb.reverse/i387-env-reverse.exp
8589 * gdb.reverse/i387-stack-reverse.exp
8590 * gdb.reverse/insn-reverse.exp
8591 * gdb.reverse/machinestate-precsave.exp
8592 * gdb.reverse/machinestate.exp
8593 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8594 * gdb.reverse/pipe-reverse.exp
8595 * gdb.reverse/readv-reverse.exp
8596 * gdb.reverse/recvmsg-reverse.exp
8597 * gdb.reverse/rerun-prec.exp
8598 * gdb.reverse/s390-mvcle.exp
8599 * gdb.reverse/step-precsave.exp
8600 * gdb.reverse/step-reverse.exp
8601 * gdb.reverse/time-reverse.exp
8602 * gdb.reverse/until-precsave.exp
8603 * gdb.reverse/until-reverse.exp
8604 * gdb.reverse/waitpid-reverse.exp
8605 * gdb.reverse/watch-precsave.exp
8606 * gdb.reverse/watch-reverse.exp
8607 * gdb.rust/generics.exp
8608 * gdb.rust/methods.exp
8609 * gdb.rust/modules.exp
8610 * gdb.rust/simple.exp
8611 * gdb.server/connect-with-no-symbol-file.exp
8612 * gdb.server/ext-attach.exp
8613 * gdb.server/ext-restart.exp
8614 * gdb.server/ext-wrapper.exp
8615 * gdb.server/file-transfer.exp
8616 * gdb.server/server-exec-info.exp
8617 * gdb.server/server-kill.exp
8618 * gdb.server/server-mon.exp
8619 * gdb.server/wrapper.exp
8620 * gdb.stabs/exclfwd.exp
8621 * gdb.stabs/gdb11479.exp
8622 * gdb.threads/clone-new-thread-event.exp
8623 * gdb.threads/corethreads.exp
8624 * gdb.threads/current-lwp-dead.exp
8625 * gdb.threads/dlopen-libpthread.exp
8626 * gdb.threads/gcore-thread.exp
8627 * gdb.threads/sigstep-threads.exp
8628 * gdb.threads/watchpoint-fork.exp
8629 * gdb.trace/actions-changed.exp
8630 * gdb.trace/backtrace.exp
8631 * gdb.trace/change-loc.exp
8632 * gdb.trace/circ.exp
8633 * gdb.trace/collection.exp
8634 * gdb.trace/disconnected-tracing.exp
8635 * gdb.trace/ftrace.exp
8636 * gdb.trace/mi-trace-frame-collected.exp
8637 * gdb.trace/mi-trace-unavailable.exp
8638 * gdb.trace/mi-traceframe-changed.exp
8639 * gdb.trace/mi-tsv-changed.exp
8640 * gdb.trace/no-attach-trace.exp
8641 * gdb.trace/passc-dyn.exp
8642 * gdb.trace/qtro.exp
8643 * gdb.trace/range-stepping.exp
8644 * gdb.trace/read-memory.exp
8645 * gdb.trace/save-trace.exp
8646 * gdb.trace/signal.exp
8647 * gdb.trace/status-stop.exp
8648 * gdb.trace/tfile.exp
8649 * gdb.trace/trace-break.exp
8650 * gdb.trace/trace-buffer-size.exp
8651 * gdb.trace/trace-condition.exp
8652 * gdb.trace/tracefile-pseudo-reg.exp
8653 * gdb.trace/tstatus.exp
8654 * gdb.trace/unavailable.exp
8655 * gdb.trace/while-dyn.exp
8656 * gdb.trace/while-stepping.exp
8657
34c41c68
DE
86582016-12-22 Doug Evans <xdje42@gmail.com>
8659
8660 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
8661 and msymbols.
8662
16e69324
YQ
86632016-12-19 Yao Qi <yao.qi@linaro.org>
8664
8665 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
8666 (test_with_self): Don't call do_steps_and_nexts, and remove
8667 code about stepping into xmalloc.
8668
f94f411b
YQ
86692016-12-09 Yao Qi <yao.qi@linaro.org>
8670
8671 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
8672
86732016-12-09 Yao Qi <yao.qi@linaro.org>
8674
8675 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
8676
f1b5deee
PA
86772016-12-09 Pedro Alves <palves@redhat.com>
8678
8679 * gdb.base/all-architectures-0.exp: New file.
8680 * gdb.base/all-architectures-1.exp: New file.
8681 * gdb.base/all-architectures-2.exp: New file.
8682 * gdb.base/all-architectures-3.exp: New file.
8683 * gdb.base/all-architectures-4.exp: New file.
8684 * gdb.base/all-architectures-5.exp: New file.
8685 * gdb.base/all-architectures-6.exp: New file.
8686 * gdb.base/all-architectures-7.exp: New file.
8687 * gdb.base/all-architectures.exp.in: New file.
8688
364ca42e
YQ
86892016-12-09 Yao Qi <yao.qi@linaro.org>
8690
8691 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
8692
107c2d62
LM
86932016-12-02 Luis Machado <lgustavo@codesourcery.com>
8694
8695 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
8696 possible.
8697 Remove useless pattern-matching code.
8698
df3ee9ca
PA
86992016-12-02 Pedro Alves <palves@redhat.com>
8700
8701 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
8702 procedure.
8703 (top level): Call it.
8704
ec835369
PA
87052016-12-02 Pedro Alves <palves@redhat.com>
8706
8707 * gdb.base/commands.exp (user_defined_command_args_stack_test):
8708 New procedure.
8709 (top level): Call it.
8710
01770bbd
PA
87112016-12-02 Pedro Alves <palves@redhat.com>
8712
8713 PR cli/20559
8714 * gdb.base/commands.exp (user_defined_command_args_eval): New
8715 procedure.
8716 (top level): Call it.
8717
008459ea
LM
87182016-12-02 Luis Machado <lgustavo@codesourcery.com>
8719
8720 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
8721 timeout handling.
8722
0c1b455e
TT
87232016-12-02 Tom Tromey <tom@tromey.com>
8724
8725 * gdb.dwarf2/main-subprogram.c: New file.
8726 * gdb.dwarf2/main-subprogram.exp: New file.
8727
018572b8
LM
87282016-12-01 Luis Machado <lgustavo@codesourcery.com>
8729
8730 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
8731 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
8732 gdb_test_no_output for a couple of cases.
8733 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
8734
84c93cd5
LM
87352016-12-01 Luis Machado <lgustavo@codesourcery.com>
8736
8737 Fix test names and standardize compilation error messages throughout
8738 the following files:
8739
8740 * gdb.ada/start.exp
8741 * gdb.arch/alpha-step.exp
8742 * gdb.arch/e500-prologue.exp
8743 * gdb.arch/ftrace-insn-reloc.exp
8744 * gdb.arch/gdb1291.exp
8745 * gdb.arch/gdb1431.exp
8746 * gdb.arch/gdb1558.exp
8747 * gdb.arch/i386-dr3-watch.exp
8748 * gdb.arch/i386-sse-stack-align.exp
8749 * gdb.arch/ia64-breakpoint-shadow.exp
8750 * gdb.arch/pa-nullify.exp
8751 * gdb.arch/powerpc-aix-prologue.exp
8752 * gdb.arch/thumb-bx-pc.exp
8753 * gdb.base/annota1.exp
8754 * gdb.base/annota3.exp
8755 * gdb.base/arrayidx.exp
8756 * gdb.base/assign.exp
8757 * gdb.base/attach.exp
8758 * gdb.base/auxv.exp
8759 * gdb.base/bang.exp
8760 * gdb.base/bfp-test.exp
8761 * gdb.base/bigcore.exp
8762 * gdb.base/bitfields2.exp
8763 * gdb.base/break-fun-addr.exp
8764 * gdb.base/break-probes.exp
8765 * gdb.base/call-rt-st.exp
8766 * gdb.base/callexit.exp
8767 * gdb.base/catch-fork-kill.exp
8768 * gdb.base/charset.exp
8769 * gdb.base/checkpoint.exp
8770 * gdb.base/comprdebug.exp
8771 * gdb.base/constvars.exp
8772 * gdb.base/coredump-filter.exp
8773 * gdb.base/cursal.exp
8774 * gdb.base/cvexpr.exp
8775 * gdb.base/detach.exp
8776 * gdb.base/display.exp
8777 * gdb.base/dmsym.exp
8778 * gdb.base/dprintf-pending.exp
8779 * gdb.base/dso2dso.exp
8780 * gdb.base/dtrace-probe.exp
8781 * gdb.base/dump.exp
8782 * gdb.base/enum_cond.exp
8783 * gdb.base/exe-lock.exp
8784 * gdb.base/exec-invalid-sysroot.exp
8785 * gdb.base/execl-update-breakpoints.exp
8786 * gdb.base/exprs.exp
8787 * gdb.base/fileio.exp
8788 * gdb.base/find.exp
8789 * gdb.base/finish.exp
8790 * gdb.base/fixsection.exp
8791 * gdb.base/foll-vfork.exp
8792 * gdb.base/frame-args.exp
8793 * gdb.base/gcore.exp
8794 * gdb.base/gdb1250.exp
8795 * gdb.base/global-var-nested-by-dso.exp
8796 * gdb.base/gnu-ifunc.exp
8797 * gdb.base/hashline1.exp
8798 * gdb.base/hashline2.exp
8799 * gdb.base/hashline3.exp
8800 * gdb.base/hbreak-in-shr-unsupported.exp
8801 * gdb.base/huge.exp
8802 * gdb.base/infcall-input.exp
8803 * gdb.base/info-fun.exp
8804 * gdb.base/info-shared.exp
8805 * gdb.base/jit-simple.exp
8806 * gdb.base/jit-so.exp
8807 * gdb.base/jit.exp
8808 * gdb.base/jump.exp
8809 * gdb.base/label.exp
8810 * gdb.base/lineinc.exp
8811 * gdb.base/logical.exp
8812 * gdb.base/longjmp.exp
8813 * gdb.base/macscp.exp
8814 * gdb.base/miscexprs.exp
8815 * gdb.base/new-ui-echo.exp
8816 * gdb.base/new-ui-pending-input.exp
8817 * gdb.base/new-ui.exp
8818 * gdb.base/nodebug.exp
8819 * gdb.base/nofield.exp
8820 * gdb.base/offsets.exp
8821 * gdb.base/overlays.exp
8822 * gdb.base/pending.exp
8823 * gdb.base/pointers.exp
8824 * gdb.base/pr11022.exp
8825 * gdb.base/printcmds.exp
8826 * gdb.base/prologue.exp
8827 * gdb.base/ptr-typedef.exp
8828 * gdb.base/realname-expand.exp
8829 * gdb.base/relativedebug.exp
8830 * gdb.base/relocate.exp
8831 * gdb.base/remote.exp
8832 * gdb.base/reread.exp
8833 * gdb.base/return2.exp
8834 * gdb.base/savedregs.exp
8835 * gdb.base/sep.exp
8836 * gdb.base/sepdebug.exp
8837 * gdb.base/sepsymtab.exp
8838 * gdb.base/set-inferior-tty.exp
8839 * gdb.base/setshow.exp
8840 * gdb.base/shlib-call.exp
8841 * gdb.base/sigaltstack.exp
8842 * gdb.base/siginfo-addr.exp
8843 * gdb.base/signals.exp
8844 * gdb.base/signull.exp
8845 * gdb.base/sigrepeat.exp
8846 * gdb.base/so-impl-ld.exp
8847 * gdb.base/solib-display.exp
8848 * gdb.base/solib-overlap.exp
8849 * gdb.base/solib-search.exp
8850 * gdb.base/solib-symbol.exp
8851 * gdb.base/structs.exp
8852 * gdb.base/structs2.exp
8853 * gdb.base/symtab-search-order.exp
8854 * gdb.base/twice.exp
8855 * gdb.base/unload.exp
8856 * gdb.base/varargs.exp
8857 * gdb.base/watchpoint-solib.exp
8858 * gdb.base/watchpoint.exp
8859 * gdb.base/whatis.exp
8860 * gdb.base/wrong_frame_bt_full.exp
8861 * gdb.btrace/dlopen.exp
8862 * gdb.cell/ea-standalone.exp
8863 * gdb.cell/ea-test.exp
8864 * gdb.cp/dispcxx.exp
8865 * gdb.cp/gdb2384.exp
8866 * gdb.cp/method2.exp
8867 * gdb.cp/nextoverthrow.exp
8868 * gdb.cp/pr10728.exp
8869 * gdb.disasm/am33.exp
8870 * gdb.disasm/h8300s.exp
8871 * gdb.disasm/mn10300.exp
8872 * gdb.disasm/sh3.exp
8873 * gdb.dwarf2/dw2-dir-file-name.exp
8874 * gdb.fortran/complex.exp
8875 * gdb.fortran/library-module.exp
8876 * gdb.guile/scm-pretty-print.exp
8877 * gdb.guile/scm-symbol.exp
8878 * gdb.guile/scm-type.exp
8879 * gdb.guile/scm-value.exp
8880 * gdb.linespec/linespec.exp
8881 * gdb.mi/gdb701.exp
8882 * gdb.mi/gdb792.exp
8883 * gdb.mi/mi-breakpoint-changed.exp
8884 * gdb.mi/mi-dprintf-pending.exp
8885 * gdb.mi/mi-dprintf.exp
8886 * gdb.mi/mi-exit-code.exp
8887 * gdb.mi/mi-pending.exp
8888 * gdb.mi/mi-solib.exp
8889 * gdb.mi/new-ui-mi-sync.exp
8890 * gdb.mi/pr11022.exp
8891 * gdb.mi/user-selected-context-sync.exp
8892 * gdb.opt/solib-intra-step.exp
8893 * gdb.python/py-events.exp
8894 * gdb.python/py-finish-breakpoint.exp
8895 * gdb.python/py-mi.exp
8896 * gdb.python/py-prettyprint.exp
8897 * gdb.python/py-shared.exp
8898 * gdb.python/py-symbol.exp
8899 * gdb.python/py-template.exp
8900 * gdb.python/py-type.exp
8901 * gdb.python/py-value.exp
8902 * gdb.reverse/solib-precsave.exp
8903 * gdb.reverse/solib-reverse.exp
8904 * gdb.server/solib-list.exp
8905 * gdb.stabs/weird.exp
8906 * gdb.threads/reconnect-signal.exp
8907 * gdb.threads/stepi-random-signal.exp
8908 * gdb.trace/actions.exp
8909 * gdb.trace/ax.exp
8910 * gdb.trace/backtrace.exp
8911 * gdb.trace/change-loc.exp
8912 * gdb.trace/deltrace.exp
8913 * gdb.trace/ftrace-lock.exp
8914 * gdb.trace/ftrace.exp
8915 * gdb.trace/infotrace.exp
8916 * gdb.trace/mi-tracepoint-changed.exp
8917 * gdb.trace/packetlen.exp
8918 * gdb.trace/passcount.exp
8919 * gdb.trace/pending.exp
8920 * gdb.trace/range-stepping.exp
8921 * gdb.trace/report.exp
8922 * gdb.trace/stap-trace.exp
8923 * gdb.trace/tfind.exp
8924 * gdb.trace/trace-break.exp
8925 * gdb.trace/trace-condition.exp
8926 * gdb.trace/trace-enable-disable.exp
8927 * gdb.trace/trace-mt.exp
8928 * gdb.trace/tracecmd.exp
8929 * gdb.trace/tspeed.exp
8930 * gdb.trace/tsv.exp
8931 * lib/perftest.exp
8932
fb9feb35
LM
89332016-12-01 Luis Machado <lgustavo@codesourcery.com>
8934
8935 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
8936 with gdb_test_no_output.
8937 Use command as test name.
8938
cd2ddb6c
LM
89392016-12-01 Luis Machado <lgustavo@codesourcery.com>
8940
8941 Fix test names starting with uppercase throughout the files.
8942
8943 * gdb.ada/assign_1.exp
8944 * gdb.ada/boolean_expr.exp
8945 * gdb.base/arrayidx.exp
8946 * gdb.base/del.exp
8947 * gdb.base/gcore-buffer-overflow.exp
8948 * gdb.base/testenv.exp
8949 * gdb.compile/compile.exp
8950 * gdb.python/py-framefilter-invalidarg.exp
8951 * gdb.python/py-framefilter.exp
8952
bb95117e
LM
89532016-12-01 Luis Machado <lgustavo@codesourcery.com>
8954
8955 Fix test names starting with uppercase throughout the files.
8956
8957 * gdb.ada/array_return.exp
8958 * gdb.ada/expr_delims.exp
8959 * gdb.ada/mi_dyn_arr.exp
8960 * gdb.ada/mi_interface.exp
8961 * gdb.ada/mi_var_array.exp
8962 * gdb.ada/watch_arg.exp
8963 * gdb.arch/alpha-step.exp
8964 * gdb.arch/altivec-regs.exp
8965 * gdb.arch/e500-regs.exp
8966 * gdb.arch/powerpc-d128-regs.exp
8967 * gdb.base/arrayidx.exp
8968 * gdb.base/break.exp
8969 * gdb.base/checkpoint.exp
8970 * gdb.base/debug-expr.exp
8971 * gdb.base/dmsym.exp
8972 * gdb.base/radix.exp
8973 * gdb.base/sepdebug.exp
8974 * gdb.base/testenv.exp
8975 * gdb.base/watch_thread_num.exp
8976 * gdb.base/watchpoint-cond-gone.exp
8977 * gdb.cell/break.exp
8978 * gdb.cell/ea-cache.exp
8979 * gdb.compile/compile.exp
8980 * gdb.cp/gdb2495.exp
8981 * gdb.gdb/selftest.exp
8982 * gdb.gdb/xfullpath.exp
8983 * gdb.go/hello.exp
8984 * gdb.go/integers.exp
8985 * gdb.objc/basicclass.exp
8986 * gdb.pascal/hello.exp
8987 * gdb.pascal/integers.exp
8988 * gdb.python/py-breakpoint.exp
8989 * gdb.python/py-cmd.exp
8990 * gdb.python/py-linetable.exp
8991 * gdb.python/py-xmethods.exp
8992 * gdb.python/python.exp
8993 * gdb.reverse/consecutive-precsave.exp
8994 * gdb.reverse/finish-precsave.exp
8995 * gdb.reverse/i386-precsave.exp
8996 * gdb.reverse/machinestate-precsave.exp
8997 * gdb.reverse/sigall-precsave.exp
8998 * gdb.reverse/solib-precsave.exp
8999 * gdb.reverse/step-precsave.exp
9000 * gdb.reverse/until-precsave.exp
9001 * gdb.reverse/watch-precsave.exp
9002 * gdb.threads/leader-exit.exp
9003 * gdb.threads/pthreads.exp
9004 * gdb.threads/wp-replication.exp
9005 * gdb.trace/actions.exp
9006 * gdb.trace/mi-tsv-changed.exp
9007 * gdb.trace/tsv.exp
9008
de97fdd4
LM
90092016-12-01 Luis Machado <lgustavo@codesourcery.com>
9010
9011 Fix test names starting with uppercase throughout the files.
9012
9013 * gdb.arch/i386-bp_permanent.exp
9014 * gdb.arch/i386-gnu-cfi.exp
9015 * gdb.base/disasm-end-cu.exp
9016 * gdb.base/macscp.exp
9017 * gdb.base/pending.exp
9018 * gdb.base/watch_thread_num.exp
9019 * gdb.cp/exception.exp
9020 * gdb.cp/gdb2495.exp
9021 * gdb.cp/local.exp
9022 * gdb.python/py-evsignal.exp
9023 * gdb.python/python.exp
9024 * gdb.trace/tracecmd.exp
9025
9f058c10
LM
90262016-12-01 Luis Machado <lgustavo@codesourcery.com>
9027
9028 Fix test names starting with uppercase throughout the files.
9029
9030 * gdb.base/charset.exp
9031 * gdb.base/eval.exp
9032 * gdb.base/multi-forks.exp
9033 * gdb.guile/scm-progspace.exp
9034 * gdb.opencl/datatypes.exp
9035 * gdb.python/py-block.exp
9036 * gdb.python/py-function.exp
9037 * gdb.python/py-symbol.exp
9038 * gdb.python/py-symtab.exp
9039 * gdb.python/py-xmethods.exp
9040 * gdb.reverse/break-precsave.exp
9041 * gdb.reverse/break-reverse.exp
9042 * gdb.reverse/consecutive-precsave.exp
9043 * gdb.reverse/consecutive-reverse.exp
9044 * gdb.reverse/finish-precsave.exp
9045 * gdb.reverse/finish-reverse-bkpt.exp
9046 * gdb.reverse/finish-reverse.exp
9047 * gdb.reverse/fstatat-reverse.exp
9048 * gdb.reverse/getresuid-reverse.exp
9049 * gdb.reverse/i386-precsave.exp
9050 * gdb.reverse/i386-reverse.exp
9051 * gdb.reverse/i386-sse-reverse.exp
9052 * gdb.reverse/i387-stack-reverse.exp
9053 * gdb.reverse/insn-reverse.exp
9054 * gdb.reverse/machinestate-precsave.exp
9055 * gdb.reverse/machinestate.exp
9056 * gdb.reverse/next-reverse-bkpt-over-sr.exp
9057 * gdb.reverse/pipe-reverse.exp
9058 * gdb.reverse/readv-reverse.exp
9059 * gdb.reverse/recvmsg-reverse.exp
9060 * gdb.reverse/rerun-prec.exp
9061 * gdb.reverse/s390-mvcle.exp
9062 * gdb.reverse/sigall-precsave.exp
9063 * gdb.reverse/sigall-reverse.exp
9064 * gdb.reverse/solib-precsave.exp
9065 * gdb.reverse/solib-reverse.exp
9066 * gdb.reverse/step-precsave.exp
9067 * gdb.reverse/step-reverse.exp
9068 * gdb.reverse/time-reverse.exp
9069 * gdb.reverse/until-precsave.exp
9070 * gdb.reverse/until-reverse.exp
9071 * gdb.reverse/waitpid-reverse.exp
9072 * gdb.reverse/watch-precsave.exp
9073 * gdb.reverse/watch-reverse.exp
9074
cdc7edd7
LM
90752016-12-01 Luis Machado <lgustavo@codesourcery.com>
9076
9077 Fix test names starting with uppercase throughout the files.
9078
9079 * gdb.arch/i386-mpx-simple_segv.exp
9080 * gdb.arch/i386-mpx.exp
9081 * gdb.arch/i386-permbkpt.exp
9082 * gdb.arch/pa-nullify.exp
9083 * gdb.arch/powerpc-d128-regs.exp
9084 * gdb.arch/vsx-regs.exp
9085 * gdb.base/bfp-test.exp
9086 * gdb.base/break.exp
9087 * gdb.base/breakpoint-shadow.exp
9088 * gdb.base/callfuncs.exp
9089 * gdb.base/charset.exp
9090 * gdb.base/commands.exp
9091 * gdb.base/completion.exp
9092 * gdb.base/dfp-test.exp
9093 * gdb.base/echo.exp
9094 * gdb.base/ending-run.exp
9095 * gdb.base/eval.exp
9096 * gdb.base/expand-psymtabs.exp
9097 * gdb.base/float128.exp
9098 * gdb.base/floatn.exp
9099 * gdb.base/foll-exec-mode.exp
9100 * gdb.base/gdb1056.exp
9101 * gdb.base/gdb11531.exp
9102 * gdb.base/kill-after-signal.exp
9103 * gdb.base/multi-forks.exp
9104 * gdb.base/overlays.exp
9105 * gdb.base/pending.exp
9106 * gdb.base/sepdebug.exp
9107 * gdb.base/testenv.exp
9108 * gdb.base/valgrind-db-attach.exp
9109 * gdb.base/watch_thread_num.exp
9110 * gdb.base/watchpoint-cond-gone.exp
9111 * gdb.base/watchpoint.exp
9112 * gdb.base/watchpoints.exp
9113 * gdb.cp/arg-reference.exp
9114 * gdb.cp/baseenum.exp
9115 * gdb.cp/operator.exp
9116 * gdb.cp/shadow.exp
9117 * gdb.dwarf2/dw2-op-out-param.exp
9118 * gdb.dwarf2/dw2-reg-undefined.exp
9119 * gdb.go/chan.exp
9120 * gdb.go/hello.exp
9121 * gdb.go/integers.exp
9122 * gdb.go/methods.exp
9123 * gdb.go/package.exp
9124 * gdb.guile/scm-parameter.exp
9125 * gdb.guile/scm-progspace.exp
9126 * gdb.guile/scm-value.exp
9127 * gdb.mi/mi-pending.exp
9128 * gdb.mi/user-selected-context-sync.exp
9129 * gdb.multi/multi-attach.exp
9130 * gdb.multi/tids.exp
9131 * gdb.opt/clobbered-registers-O2.exp
9132 * gdb.pascal/floats.exp
9133 * gdb.pascal/integers.exp
9134 * gdb.python/py-block.exp
9135 * gdb.python/py-events.exp
9136 * gdb.python/py-parameter.exp
9137 * gdb.python/py-symbol.exp
9138 * gdb.python/py-symtab.exp
9139 * gdb.python/py-type.exp
9140 * gdb.python/py-value.exp
9141 * gdb.python/py-xmethods.exp
9142 * gdb.python/python.exp
9143 * gdb.reverse/break-precsave.exp
9144 * gdb.reverse/consecutive-precsave.exp
9145 * gdb.reverse/finish-precsave.exp
9146 * gdb.reverse/i386-precsave.exp
9147 * gdb.reverse/machinestate-precsave.exp
9148 * gdb.reverse/sigall-precsave.exp
9149 * gdb.reverse/solib-precsave.exp
9150 * gdb.reverse/step-precsave.exp
9151 * gdb.reverse/until-precsave.exp
9152 * gdb.reverse/watch-precsave.exp
9153 * gdb.server/ext-attach.exp
9154 * gdb.server/ext-restart.exp
9155 * gdb.server/ext-run.exp
9156 * gdb.server/ext-wrapper.exp
9157 * gdb.stabs/gdb11479.exp
9158 * gdb.stabs/weird.exp
9159 * gdb.threads/attach-many-short-lived-threads.exp
9160 * gdb.threads/kill.exp
9161 * gdb.threads/watchpoint-fork.exp
9162
bc6c7af4
LM
91632016-12-01 Luis Machado <lgustavo@codesourcery.com>
9164
9165 Fix test names starting with uppercase throughout all the files below.
9166
9167 * gdb.ada/array_return.exp
9168 * gdb.ada/catch_ex.exp
9169 * gdb.ada/info_exc.exp
9170 * gdb.ada/mi_catch_ex.exp
9171 * gdb.ada/mi_dyn_arr.exp
9172 * gdb.ada/mi_ex_cond.exp
9173 * gdb.ada/mi_exc_info.exp
9174 * gdb.ada/mi_interface.exp
9175 * gdb.ada/mi_task_arg.exp
9176 * gdb.ada/mi_task_info.exp
9177 * gdb.ada/mi_var_array.exp
9178 * gdb.arch/alpha-step.exp
9179 * gdb.arch/amd64-disp-step.exp
9180 * gdb.arch/arm-disp-step.exp
9181 * gdb.arch/disp-step-insn-reloc.exp
9182 * gdb.arch/e500-prologue.exp
9183 * gdb.arch/ftrace-insn-reloc.exp
9184 * gdb.arch/gdb1558.exp
9185 * gdb.arch/i386-bp_permanent.exp
9186 * gdb.arch/i386-disp-step.exp
9187 * gdb.arch/i386-float.exp
9188 * gdb.arch/i386-gnu-cfi.exp
9189 * gdb.arch/ia64-breakpoint-shadow.exp
9190 * gdb.arch/mips16-thunks.exp
9191 * gdb.arch/pa-nullify.exp
9192 * gdb.arch/powerpc-aix-prologue.exp
9193 * gdb.arch/powerpc-power.exp
9194 * gdb.arch/ppc-dfp.exp
9195 * gdb.arch/s390-tdbregs.exp
9196 * gdb.arch/spu-info.exp
9197 * gdb.arch/spu-ls.exp
9198 * gdb.arch/thumb-bx-pc.exp
9199 * gdb.base/advance.exp
9200 * gdb.base/annota-input-while-running.exp
9201 * gdb.base/arrayidx.exp
9202 * gdb.base/asmlabel.exp
9203 * gdb.base/async.exp
9204 * gdb.base/attach-wait-input.exp
9205 * gdb.base/auto-connect-native-target.exp
9206 * gdb.base/batch-preserve-term-settings.exp
9207 * gdb.base/bfp-test.exp
9208 * gdb.base/bigcore.exp
9209 * gdb.base/bp-permanent.exp
9210 * gdb.base/break-always.exp
9211 * gdb.base/break-fun-addr.exp
9212 * gdb.base/break-idempotent.exp
9213 * gdb.base/break-main-file-remove-fail.exp
9214 * gdb.base/break-probes.exp
9215 * gdb.base/break-unload-file.exp
9216 * gdb.base/break.exp
9217 * gdb.base/call-ar-st.exp
9218 * gdb.base/call-rt-st.exp
9219 * gdb.base/call-sc.exp
9220 * gdb.base/call-signal-resume.exp
9221 * gdb.base/call-strs.exp
9222 * gdb.base/callexit.exp
9223 * gdb.base/callfuncs.exp
9224 * gdb.base/catch-gdb-caused-signals.exp
9225 * gdb.base/catch-signal-siginfo-cond.exp
9226 * gdb.base/catch-syscall.exp
9227 * gdb.base/compare-sections.exp
9228 * gdb.base/cond-eval-mode.exp
9229 * gdb.base/condbreak-call-false.exp
9230 * gdb.base/consecutive-step-over.exp
9231 * gdb.base/cursal.exp
9232 * gdb.base/disabled-location.exp
9233 * gdb.base/disasm-end-cu.exp
9234 * gdb.base/display.exp
9235 * gdb.base/double-prompt-target-event-error.exp
9236 * gdb.base/dprintf-bp-same-addr.exp
9237 * gdb.base/dprintf-detach.exp
9238 * gdb.base/dprintf-next.exp
9239 * gdb.base/dprintf-non-stop.exp
9240 * gdb.base/dprintf-pending.exp
9241 * gdb.base/dso2dso.exp
9242 * gdb.base/ending-run.exp
9243 * gdb.base/enum_cond.exp
9244 * gdb.base/examine-backward.exp
9245 * gdb.base/exe-lock.exp
9246 * gdb.base/exec-invalid-sysroot.exp
9247 * gdb.base/execl-update-breakpoints.exp
9248 * gdb.base/execution-termios.exp
9249 * gdb.base/fileio.exp
9250 * gdb.base/fixsection.exp
9251 * gdb.base/foll-exec-mode.exp
9252 * gdb.base/foll-exec.exp
9253 * gdb.base/fork-running-state.exp
9254 * gdb.base/frame-args.exp
9255 * gdb.base/fullpath-expand.exp
9256 * gdb.base/func-ptr.exp
9257 * gdb.base/gcore-relro-pie.exp
9258 * gdb.base/gdb1090.exp
9259 * gdb.base/gdb1555.exp
9260 * gdb.base/global-var-nested-by-dso.exp
9261 * gdb.base/gnu-ifunc.exp
9262 * gdb.base/hbreak-in-shr-unsupported.exp
9263 * gdb.base/hbreak-unmapped.exp
9264 * gdb.base/hook-stop.exp
9265 * gdb.base/infcall-input.exp
9266 * gdb.base/info-fun.exp
9267 * gdb.base/info-shared.exp
9268 * gdb.base/interrupt-noterm.exp
9269 * gdb.base/jit-so.exp
9270 * gdb.base/jit.exp
9271 * gdb.base/line-symtabs.exp
9272 * gdb.base/list.exp
9273 * gdb.base/longjmp.exp
9274 * gdb.base/macscp.exp
9275 * gdb.base/max-value-size.exp
9276 * gdb.base/nodebug.exp
9277 * gdb.base/nofield.exp
9278 * gdb.base/overlays.exp
9279 * gdb.base/paginate-after-ctrl-c-running.exp
9280 * gdb.base/paginate-bg-execution.exp
9281 * gdb.base/paginate-inferior-exit.exp
9282 * gdb.base/pending.exp
9283 * gdb.base/pr11022.exp
9284 * gdb.base/printcmds.exp
9285 * gdb.base/ptr-typedef.exp
9286 * gdb.base/ptype.exp
9287 * gdb.base/randomize.exp
9288 * gdb.base/range-stepping.exp
9289 * gdb.base/realname-expand.exp
9290 * gdb.base/relativedebug.exp
9291 * gdb.base/remote.exp
9292 * gdb.base/savedregs.exp
9293 * gdb.base/sepdebug.exp
9294 * gdb.base/set-noassign.exp
9295 * gdb.base/shlib-call.exp
9296 * gdb.base/shreloc.exp
9297 * gdb.base/sigaltstack.exp
9298 * gdb.base/sigbpt.exp
9299 * gdb.base/siginfo-addr.exp
9300 * gdb.base/siginfo-obj.exp
9301 * gdb.base/siginfo-thread.exp
9302 * gdb.base/signest.exp
9303 * gdb.base/signull.exp
9304 * gdb.base/sigrepeat.exp
9305 * gdb.base/skip.exp
9306 * gdb.base/so-impl-ld.exp
9307 * gdb.base/solib-corrupted.exp
9308 * gdb.base/solib-disc.exp
9309 * gdb.base/solib-display.exp
9310 * gdb.base/solib-overlap.exp
9311 * gdb.base/solib-search.exp
9312 * gdb.base/solib-symbol.exp
9313 * gdb.base/source-execution.exp
9314 * gdb.base/sss-bp-on-user-bp-2.exp
9315 * gdb.base/sss-bp-on-user-bp.exp
9316 * gdb.base/stack-checking.exp
9317 * gdb.base/stale-infcall.exp
9318 * gdb.base/step-break.exp
9319 * gdb.base/step-line.exp
9320 * gdb.base/step-over-exit.exp
9321 * gdb.base/step-test.exp
9322 * gdb.base/structs.exp
9323 * gdb.base/sym-file.exp
9324 * gdb.base/symtab-search-order.exp
9325 * gdb.base/term.exp
9326 * gdb.base/type-opaque.exp
9327 * gdb.base/unload.exp
9328 * gdb.base/until-nodebug.exp
9329 * gdb.base/until.exp
9330 * gdb.base/unwindonsignal.exp
9331 * gdb.base/watch-cond.exp
9332 * gdb.base/watch-non-mem.exp
9333 * gdb.base/watch_thread_num.exp
9334 * gdb.base/watchpoint-reuse-slot.exp
9335 * gdb.base/watchpoint-solib.exp
9336 * gdb.base/watchpoint.exp
9337 * gdb.btrace/dlopen.exp
9338 * gdb.cell/arch.exp
9339 * gdb.cell/break.exp
9340 * gdb.cell/bt.exp
9341 * gdb.cell/core.exp
9342 * gdb.cell/data.exp
9343 * gdb.cell/dwarfaddr.exp
9344 * gdb.cell/ea-cache.exp
9345 * gdb.cell/ea-standalone.exp
9346 * gdb.cell/ea-test.exp
9347 * gdb.cell/f-regs.exp
9348 * gdb.cell/fork.exp
9349 * gdb.cell/gcore.exp
9350 * gdb.cell/mem-access.exp
9351 * gdb.cell/ptype.exp
9352 * gdb.cell/registers.exp
9353 * gdb.cell/sizeof.exp
9354 * gdb.cell/solib-symbol.exp
9355 * gdb.cell/solib.exp
9356 * gdb.compile/compile-tls.exp
9357 * gdb.cp/exception.exp
9358 * gdb.cp/gdb2495.exp
9359 * gdb.cp/local.exp
9360 * gdb.cp/mb-inline.exp
9361 * gdb.cp/mb-templates.exp
9362 * gdb.cp/pr10687.exp
9363 * gdb.cp/pr9167.exp
9364 * gdb.cp/scope-err.exp
9365 * gdb.cp/templates.exp
9366 * gdb.cp/virtfunc.exp
9367 * gdb.dwarf2/dw2-dir-file-name.exp
9368 * gdb.dwarf2/dw2-single-line-discriminators.exp
9369 * gdb.fortran/complex.exp
9370 * gdb.fortran/library-module.exp
9371 * gdb.guile/guile.exp
9372 * gdb.guile/scm-cmd.exp
9373 * gdb.guile/scm-frame-inline.exp
9374 * gdb.guile/scm-objfile.exp
9375 * gdb.guile/scm-pretty-print.exp
9376 * gdb.guile/scm-symbol.exp
9377 * gdb.guile/scm-type.exp
9378 * gdb.guile/scm-value.exp
9379 * gdb.linespec/keywords.exp
9380 * gdb.linespec/ls-errs.exp
9381 * gdb.linespec/macro-relative.exp
9382 * gdb.linespec/thread.exp
9383 * gdb.mi/mi-breakpoint-changed.exp
9384 * gdb.mi/mi-dprintf-pending.exp
9385 * gdb.mi/mi-fullname-deleted.exp
9386 * gdb.mi/mi-logging.exp
9387 * gdb.mi/mi-pending.exp
9388 * gdb.mi/mi-solib.exp
9389 * gdb.mi/new-ui-mi-sync.exp
9390 * gdb.mi/user-selected-context-sync.exp
9391 * gdb.multi/dummy-frame-restore.exp
9392 * gdb.multi/multi-arch-exec.exp
9393 * gdb.multi/remove-inferiors.exp
9394 * gdb.multi/watchpoint-multi-exit.exp
9395 * gdb.opt/solib-intra-step.exp
9396 * gdb.perf/backtrace.exp
9397 * gdb.perf/single-step.exp
9398 * gdb.perf/skip-command.exp
9399 * gdb.perf/skip-prologue.exp
9400 * gdb.perf/solib.exp
9401 * gdb.python/lib-types.exp
9402 * gdb.python/py-as-string.exp
9403 * gdb.python/py-bad-printers.exp
9404 * gdb.python/py-block.exp
9405 * gdb.python/py-breakpoint.exp
9406 * gdb.python/py-cmd.exp
9407 * gdb.python/py-events.exp
9408 * gdb.python/py-evthreads.exp
9409 * gdb.python/py-finish-breakpoint.exp
9410 * gdb.python/py-finish-breakpoint2.exp
9411 * gdb.python/py-frame-inline.exp
9412 * gdb.python/py-frame.exp
9413 * gdb.python/py-inferior.exp
9414 * gdb.python/py-infthread.exp
9415 * gdb.python/py-mi.exp
9416 * gdb.python/py-objfile.exp
9417 * gdb.python/py-pp-maint.exp
9418 * gdb.python/py-pp-registration.exp
9419 * gdb.python/py-prettyprint.exp
9420 * gdb.python/py-recurse-unwind.exp
9421 * gdb.python/py-shared.exp
9422 * gdb.python/py-symbol.exp
9423 * gdb.python/py-symtab.exp
9424 * gdb.python/py-template.exp
9425 * gdb.python/py-type.exp
9426 * gdb.python/py-unwind-maint.exp
9427 * gdb.python/py-unwind.exp
9428 * gdb.python/py-value.exp
9429 * gdb.python/python.exp
9430 * gdb.reverse/finish-reverse-bkpt.exp
9431 * gdb.reverse/insn-reverse.exp
9432 * gdb.reverse/next-reverse-bkpt-over-sr.exp
9433 * gdb.reverse/solib-precsave.exp
9434 * gdb.reverse/solib-reverse.exp
9435 * gdb.stabs/gdb11479.exp
9436 * gdb.stabs/weird.exp
9437 * gdb.threads/fork-child-threads.exp
9438 * gdb.threads/fork-plus-threads.exp
9439 * gdb.threads/fork-thread-pending.exp
9440 * gdb.threads/forking-threads-plus-breakpoint.exp
9441 * gdb.threads/hand-call-in-threads.exp
9442 * gdb.threads/interrupted-hand-call.exp
9443 * gdb.threads/linux-dp.exp
9444 * gdb.threads/local-watch-wrong-thread.exp
9445 * gdb.threads/next-while-other-thread-longjmps.exp
9446 * gdb.threads/non-ldr-exit.exp
9447 * gdb.threads/pending-step.exp
9448 * gdb.threads/print-threads.exp
9449 * gdb.threads/process-dies-while-detaching.exp
9450 * gdb.threads/process-dies-while-handling-bp.exp
9451 * gdb.threads/pthreads.exp
9452 * gdb.threads/queue-signal.exp
9453 * gdb.threads/reconnect-signal.exp
9454 * gdb.threads/signal-command-handle-nopass.exp
9455 * gdb.threads/signal-command-multiple-signals-pending.exp
9456 * gdb.threads/signal-delivered-right-thread.exp
9457 * gdb.threads/signal-sigtrap.exp
9458 * gdb.threads/sigthread.exp
9459 * gdb.threads/staticthreads.exp
9460 * gdb.threads/stepi-random-signal.exp
9461 * gdb.threads/thread-unwindonsignal.exp
9462 * gdb.threads/thread_check.exp
9463 * gdb.threads/thread_events.exp
9464 * gdb.threads/tid-reuse.exp
9465 * gdb.threads/tls-nodebug.exp
9466 * gdb.threads/tls-shared.exp
9467 * gdb.threads/tls-so_extern.exp
9468 * gdb.threads/tls.exp
9469 * gdb.threads/wp-replication.exp
9470 * gdb.trace/actions-changed.exp
9471 * gdb.trace/actions.exp
9472 * gdb.trace/backtrace.exp
9473 * gdb.trace/change-loc.exp
9474 * gdb.trace/collection.exp
9475 * gdb.trace/deltrace.exp
9476 * gdb.trace/disconnected-tracing.exp
9477 * gdb.trace/entry-values.exp
9478 * gdb.trace/ftrace-lock.exp
9479 * gdb.trace/ftrace.exp
9480 * gdb.trace/infotrace.exp
9481 * gdb.trace/mi-trace-frame-collected.exp
9482 * gdb.trace/mi-trace-unavailable.exp
9483 * gdb.trace/mi-traceframe-changed.exp
9484 * gdb.trace/mi-tracepoint-changed.exp
9485 * gdb.trace/mi-tsv-changed.exp
9486 * gdb.trace/no-attach-trace.exp
9487 * gdb.trace/packetlen.exp
9488 * gdb.trace/passc-dyn.exp
9489 * gdb.trace/passcount.exp
9490 * gdb.trace/pending.exp
9491 * gdb.trace/pr16508.exp
9492 * gdb.trace/qtro.exp
9493 * gdb.trace/range-stepping.exp
9494 * gdb.trace/read-memory.exp
9495 * gdb.trace/report.exp
9496 * gdb.trace/save-trace.exp
9497 * gdb.trace/signal.exp
9498 * gdb.trace/stap-trace.exp
9499 * gdb.trace/status-stop.exp
9500 * gdb.trace/strace.exp
9501 * gdb.trace/tfile.exp
9502 * gdb.trace/tfind.exp
9503 * gdb.trace/trace-break.exp
9504 * gdb.trace/trace-condition.exp
9505 * gdb.trace/trace-enable-disable.exp
9506 * gdb.trace/trace-mt.exp
9507 * gdb.trace/tracecmd.exp
9508 * gdb.trace/tracefile-pseudo-reg.exp
9509 * gdb.trace/tspeed.exp
9510 * gdb.trace/tstatus.exp
9511 * gdb.trace/tsv.exp
9512 * gdb.trace/unavailable.exp
9513 * gdb.trace/while-dyn.exp
9514 * gdb.trace/while-stepping.exp
9515 * lib/gdb-guile.exp
9516 * lib/gdb.exp
9517 * lib/mi-support.exp
9518 * lib/pascal.exp
9519 * lib/perftest.exp
9520 * lib/prelink-support.exp
9521 * lib/selftest-support.exp
9522
ad02e4fe
SM
95232016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
9524
9525 * Makefile.in: Include disable-implicit-rules.mk.
9526
22347e55
AA
95272016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9528
9529 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
9530 non-byte-aligned bit fields.
9531
da5b30da
AA
95322016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9533
9534 PR gdb/12616
9535 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
9536 respects the DW_AT_data_bit_offset attribute.
9537
b593ecca
SM
95382016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
9539
9540 * gdb.base/default.exp: Fix output of "set language".
9541
3b165252
SM
95422016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
9543
9544 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
9545 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
9546 make.
9547 * configure.ac: Remove checks for the make program.
9548 * configure: Re-generate.
9549
1a2f3d7f
KB
95502016-11-16 Kevin Buettner <kevinb@redhat.com>
9551
9552 * gdb.python/py-recurse-unwind.c (main): Add loop.
9553 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
9554 to read_register() and gdb.parse_and_eval(). Make each code
9555 call a separate case that can be individually tested.
9556 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
9557 proc. Call cont_and_backtrace for each of the code paths that
9558 we want to test in the unwinder.
9559
b7f38fda
AA
95602016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
9561
9562 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
9563 the definition of struct S.
9564
1f8db343
CM
95652016-11-11 Catherine Moore <clm@codesourcery.com>
9566
9567 * gdb.base/dump.exp: Identify verilog format dump tests as such.
9568
fad0c9fb
PA
95692016-11-09 Pedro Alves <palves@redhat.com>
9570
9571 * gdb.base/commands.exp (runto_or_return): New procedure.
9572 (gdbvar_simple_if_test, gdbvar_simple_while_test)
9573 (gdbvar_complex_if_while_test, progvar_simple_if_test)
9574 (progvar_simple_while_test, progvar_complex_if_while_test)
9575 (if_while_breakpoint_command_test)
9576 (infrun_breakpoint_command_test, breakpoint_command_test)
9577 (user_defined_command_test, watchpoint_command_test)
9578 (test_command_prompt_position, redefine_hook_test)
9579 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
9580 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
9581 multi_line_input and multi_line. Remove gdb_expect and
9582 gdb_stop_suppressing_tests uses.
9583 * lib/gdb.exp (valnum_re): New global.
9584 (multi_line_input): New procedure.
9585
8354c62c
SM
95862016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
9587
9588 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
9589 Remove.
9590 (test_setup): Define with proc_with_prefix.
9591 (test_cli_inferior): Likewise.
9592 (test_cli_thread): Likewise.
9593 (test_cli_frame): Likewise.
9594 (test_cli_select_frame): Likewise.
9595 (test_cli_up_down): Likewise.
9596 (test_mi_thread_select): Likewise.
9597 (test_mi_stack_select_frame): Likewise.
9598 (test_cli_in_mi_inferior): Likewise.
9599 (test_cli_in_mi_thread): Likewise.
9600 (test_cli_in_mi_frame): Likewise.
9601 (top level): Do not use with_test_prefix_procname.
9602
64f367a2
PA
96032016-11-09 Pedro Alves <palves@redhat.com>
9604
9605 * gdb.base/commands.exp (gdbvar_simple_if_test)
9606 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
9607 (progvar_simple_if_test, progvar_simple_while_test)
9608 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
9609 (infrun_breakpoint_command_test, breakpoint_command_test)
9610 (user_defined_command_test, watchpoint_command_test)
9611 (test_command_prompt_position, deprecated_command_test)
9612 (bp_deleted_in_command, temporary_breakpoint_commands)
9613 (stray_arg0_test, source_file_with_indented_comment)
9614 (recursive_source_test, if_commands_test)
9615 (error_clears_commands_left, redefine_hook_test)
9616 (redefine_backtrace_test): Use proc_with_prefix.
9617 * lib/gdb.exp (proc_with_prefix): New proc.
9618
0bb65f1e
AA
96192016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
9620
9621 * gdb.base/tui-layout.c: New file.
9622 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
9623 disassembly window contains very long lines.
9624
7353f247
TT
96252016-11-08 Tom Tromey <tom@tromey.com>
9626
9627 * gdb.python/py-value.exp (test_value_creation): Make "long" test
9628 depend on Python 2.
9629
30a7bb83
TT
96302016-11-08 Tom Tromey <tom@tromey.com>
9631
9632 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
9633 New method.
9634
cdf5a07c
MG
96352016-10-29 Manish Goregaokar <manish@mozilla.com>
9636
2806dc7e 9637 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 9638
51a789c3
MG
96392016-10-27 Manish Goregaokar <manish@mozilla.com>
9640
2806dc7e
PA
9641 * gdb.rust/simple.rs: Add test for univariant enums without
9642 discriminants and for encoded struct-like enums.
51a789c3 9643
f610ab6d
PA
96442016-10-28 Pedro Alves <palves@redhat.com>
9645
9646 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
9647 gdb_test_multiple, tighten regexps and match symtabs and line
9648 tables incrementally.
9649
b129b0ca
LM
96502016-10-28 Luis Machado <lgustavo@codesourcery.com>
9651
9652 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
9653 general.
9654
ecf45d2c
SL
96552016-10-25 Luis Machado <lgustavo@codesourcery.com>
9656
9657 * gdb.base/exec-invalid-sysroot.exp: New file.
9658
b8d38ee4
JK
96592016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9660
9661 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
9662
f90fd8c2
JK
96632016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9664
9665 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
9666
2d2476aa
MR
96672016-10-19 Maciej W. Rozycki <macro@imgtec.com>
9668
2806dc7e
PA
9669 * gdb.base/killed-outside.exp: Remove $options from a call to
9670 `prepare_for_testing'.
2d2476aa 9671
e42b25a0
SM
96722016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9673
9674 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
9675 Change test message.
9676
3ccdb432
SM
96772016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9678
9679 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
9680 Update comment.
9681
5bad3170
SM
96822016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9683
9684 * gdb.trace/mi-trace-save.exp: New file.
9685
5ad9dba7
YQ
96862016-10-13 Yao Qi <yao.qi@linaro.org>
9687
9688 * gdb.base/code_elim.exp (get_var_address): Remove.
9689 * gdb.base/relocate.exp: Likewise.
9690 * gdb.base/shreloc.exp: Likewise.
9691 * lib/gdb.exp (get_var_address): New.
9692
62df7e21
YQ
96932016-10-13 Yao Qi <yao.qi@linaro.org>
9694
9695 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
9696 floating point tests if $skip_float_test is false.
9697
4dac951e
LM
96982016-10-12 Luis Machado <lgustavo@codesourcery.com>
9699
9700 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
9701 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
9702 argc values.
9703 Add 1 to argc so we guarantee distinct initial/modified argc values.
9704
8f1a8fc4
JK
97052016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9706
9707 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
9708
16c85b5d
JK
97092016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9710
9711 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
9712 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
9713 * gdb.arch/vsx-regs.exp: Likewise.
9714
1d0e042a
YQ
97152016-10-07 Yao Qi <yao.qi@linaro.org>
9716
9717 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
9718
68dadef5
MM
97192016-10-07 Markus Metzger <markus.t.metzger@intel.com>
9720
9721 * gdb.python/python.exp: Test decode_line("*0").
9722
33fa2c6e
DE
97232016-10-06 Doug Evans <dje@google.com>
9724
9725 * gdb.python/py-value.exp (test_value_creation): Add test for large
9726 unsigned 64-bit value.
9727
9c37b5ae
TT
97282016-10-06 Tom Tromey <tom@tromey.com>
9729
9730 * gdb.compile/compile.exp: Change java tests to rust.
9731 * gdb.base/setshow.exp: Change java tests to rust.
9732 * gdb.base/default.exp: Remove java from language list.
9733 * README (Examples): Update language example.
9734 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
9735 test.
9736 * lib/gdb.exp (skip_java_tests): Remove.
9737 * lib/java.exp: Remove.
9738 * gdb.java: Remove.
9739
78b86327
MR
97402016-10-06 Maciej W. Rozycki <macro@imgtec.com>
9741
9742 * gdb.arch/mips-fcr.exp: New test.
9743 * gdb.arch/mips-fcr.c: Source for the new test.
9744
7470adbb
MR
97452016-10-06 Maciej W. Rozycki <macro@imgtec.com>
9746
9747 * gdb.base/solib-disc.exp: Use `standard_output_file'
9748 throughout.
9749
4a556533
PA
97502016-10-06 Pedro Alves <palves@redhat.com>
9751
9752 * gdb.base/jit-simple-dl.c: New file.
9753 * gdb.base/jit-simple-jit.c: New file, factored out from ...
9754 * gdb.base/jit-simple.c: ... this.
9755 * gdb.base/jit-simple.exp (jit_run): Delete.
9756 (build_jit): New proc.
9757 (jit_test_reread): Recompile either the main program or the shared
9758 library, depending on what is being tested. Skip changing address
9759 if caller wants to. Compare before/after addresses. If testing
9760 standalone, explicitly load the binary. Test "maint info
9761 breakpoints".
9762 (top level): Add "standalone vs shared lib" and "change address"
9763 vs "same address" axes.
9764
5a122fbc
PA
97652016-10-06 Pedro Alves <palves@redhat.com>
9766
9767 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
9768 call.
9769 (jit_run): Delete.
9770 (jit_test_reread): Use with_test_prefix. Reload the main binary
9771 explicitly. Compare the before/after addresses of the JIT
9772 descriptor.
9773
ee8da4b8
DE
97742016-08-15 Doug Evans <dje@google.com>
9775
9776 * gdb.xml/extra-regs.xml: Update, end field now required, default type
9777 for single bitfields is bool.
9778 * gdb.xml/tdesc-regs.exp: Ditto.
9779
f389f6fe
JK
97802016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9781
9782 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
9783
fdebf1a4
YQ
97842016-10-05 Yao Qi <yao.qi@linaro.org>
9785
9786 * lib/gdb.exp (support_complex_tests): Return zero if
9787 gdb_skip_float_test return true.
9788
9c36d954 97892016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 9790 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
9791
9792 PR gdb/20487
9793 * gdb.mi/user-selected-context-sync.exp: New file.
9794 * gdb.mi/user-selected-context-sync.c: New file.
9795
4034d0ff 97962016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 9797 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
9798
9799 PR gdb/20487
9800 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
9801 =thread-select-event check.
9802
a4297203
PB
98032016-09-29 Peter Bergner <bergner@vnet.ibm.com>
9804
9805 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
9806 the compulsory L operand changes.
9807 * gdb.arch/powerpc-power.s: Likewise.
9808
bb805577
JK
98092016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9810
9811 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
9812 * gdb.base/jit-attach-pie.c: New file.
9813 * gdb.base/jit-attach-pie.exp: New file.
9814
6d61dee5
PA
98152016-09-28 Pedro Alves <palves@redhat.com>
9816
9817 * gdb.base/infcall-input.c: New file.
9818 * gdb.base/infcall-input.exp: New file.
9819
f73842fc
YQ
98202016-09-22 Yao Qi <yao.qi@linaro.org>
9821
9822 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
9823 (gdb_exit): Rename it to ...
9824 (gdbserver_gdb_exit): ... Close GDBserver.
9825 (gdb_exit): New proc, call gdbserver_gdb_exit.
9826 (mi_gdb_exit): Likewise.
9827
90681dab
YQ
98282016-09-22 Yao Qi <yao.qi@linaro.org>
9829
9830 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
9831 path.
9832 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
9833 Remove duplication.
9834
9c211fd8
YQ
98352016-09-22 Yao Qi <yao.qi@linaro.org>
9836
9837 * lib/gdbserver-support.exp: Check the existence of
9838 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
9839
ad0a504f
AK
98402016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
9841
9842 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
9843
36cf1806
TT
98442016-09-21 Tom Tromey <tom@tromey.com>
9845
9846 PR gdb/20604:
9847 * gdb.base/quit.exp: New file.
9848
74172ecf
SM
98492016-09-21 Simon Marchi <simon.marchi@ericsson.com>
9850
9851 * .gitignore: New file.
9852
3d0ec882
MR
98532016-09-21 Maciej W. Rozycki <macro@imgtec.com>
9854
9855 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
9856 throughout.
9857
8193adea
AA
98582016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9859
9860 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
9861
d41a5c09
JK
98622016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9863
9864 * gdb.cp/casts.cc (decltype): Move it ...
9865 (main): ... with its call to ...
9866 * gdb.cp/casts03.cc: ... a new file.
9867 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
9868
d2dfe700
JK
98692016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9870
9871 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
9872
e2a92b16
PB
98732016-09-15 Peter Bergner <bergner@vnet.ibm.com>
9874
9875 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
9876 and sync up the test with tests in gas/testsuite/gas/ppc.
9877 * gdb.arch/powerpc-power.exp: Likewise.
9878
49b4de64
JK
98792016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9880
9881 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
9882
2c29df25
SDJ
98832016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
9884 Jan Kratochvil <jan.kratochvil@redhat.com>
9885
9886 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
9887 make m1's definition to be different from m2's. Use 'dummy' as an
9888 argument for probe 'two'.
9889
cc3c2846
JB
98902016-09-10 Jon Beniston <jon@beniston.com>
9891
9892 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
9893 for sim target.
9894
e1b2624a
AA
98952016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
9896
9897 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
9898 variable declaration.
9899 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
9900 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
9901 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
9902 received HWCAP as its argument.
9903
4295e285
PA
99042016-09-06 Pedro Alves <palves@redhat.com>
9905
9906 * gdb.base/new-ui-pending-input.c: New file.
9907 * gdb.base/new-ui-pending-input.exp: New file.
9908 * gdb.exp (clear_gdb_spawn_id): New procedure.
9909 (with_spawn_id): Check whether gdb_spawn_id exists before
9910 referencing it. If gdb_spawn_id didn't exist on entry, clear it
9911 on exit.
9912
00d5215e
UW
99132016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
9914
9915 * gdb.base/float128.c: New file.
9916 * gdb.base/float128.exp: Likewise.
9917 * gdb.base/floatn.c: Likewise.
9918 * gdb.base/floatn.exp: Likewise.
9919
a9ff5f12
UW
99202016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
9921
9922 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
9923
f245535c
PA
99242016-09-05 Pedro Alves <palves@redhat.com>
9925
9926 PR backtrace/19927
9927 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
9928 unwinders are immediately called as side effect of "source" or
9929 "disable unwinder" commands.
9930 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
9931
ae9cf263
YQ
99322016-09-02 Yao Qi <yao.qi@linaro.org>
9933
9934 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
9935 is true and $type is "float" or "double".
9936
27aba047
YQ
99372016-09-02 Yao Qi <yao.qi@linaro.org>
9938
9939 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
9940 true.
9941 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
9942 * gdb.base/call-rt-st.exp: Likewise.
9943 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
9944 return value instead of gdb,skip_float_test.
9945 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
9946 (do_function_calls): Use its return value instead of
9947 gdb,skip_float_test.
9948 * gdb.base/finish.exp: Likewise.
9949 * gdb.base/funcargs.exp: Likewise.
9950 * gdb.base/return.exp: Likewise.
9951 * gdb.base/return2.exp: Likewise.
9952 * gdb.base/varargs.exp: Likewise.
9953 * lib/gdb.exp (gdb_skip_float_test): Change it to
9954 gdb_caching_proc. Detect the broken ptrace on arm-linux.
9955
5af962df
AA
99562016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
9957
9958 * gdb.multi/tids.exp: Test "thread apply all".
9959
7fac6910
JK
99602016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9961
9962 * gdb.base/default.exp (tty): Remove.
9963
bb1fe4ac
KB
99642016-08-24 Kevin Buettner <kevinb@redhat.com>
9965
2806dc7e
PA
9966 * gdb.python/py-recurse-unwind.c: New file.
9967 * gdb.python/py-recurse-unwind.py: New file.
9968 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 9969
0a1ddfa6
SM
99702016-08-24 Simon Marchi <simon.marchi@ericsson.com>
9971
9972 * gdb.base/set-inferior-tty.exp: New file.
9973 * gdb.base/set-inferior-tty.c: New file.
9974
d9de1fe3
PA
99752016-08-23 Pedro Alves <palves@redhat.com>
9976
9977 PR gdb/20494
9978 * gdb.base/new-ui-echo.c: New file.
9979 * gdb.base/new-ui-echo.exp: New file.
9980
e9d9abd7
YQ
99812016-08-23 Yao Qi <yao.qi@linaro.org>
9982
9983 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
9984 gdbserver_spawn.
9985 * gdb.server/connect-without-multi-process.exp (do_test):
9986 Likewise.
9987
3589529e
YQ
99882016-08-23 Yao Qi <yao.qi@linaro.org>
9989
9990 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
9991 standalone_txt. Delete gdb_txt and standalone_txt on host
9992 and target. Spawn the binary on target. Copy files from
9993 target to host.
9994
6bb90213
PA
99952016-08-22 Pedro Alves <palves@redhat.com>
9996
9997 PR gdb/20505
9998 * gdb.base/vdso-warning.exp: Test core dumps too. Use
9999 with_test_prefix. Factor out bits to ...
10000 (test_no_vdso): ... this new procedure.
10001
20c2c024
CL
100022016-08-19 Carl Love <cel@us.ibm.com>
10003
10004 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
10005 maintaining separate logic for constructing the output path.
10006 * gdb.arch/powerpc-d128-regs.exp: Likewise.
10007 * gdb.arch/ppc-dfp.exp: Likewise.
10008 * gdb.arch/ppc-fp.exp: Likewise.
10009 * gdb.arch/vsx-regs.exp: Likewise.
10010 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
10011 binprefix for generating the additional binary files.
10012
0646e07d
PA
100132016-08-19 Pedro Alves <palves@redhat.com>
10014
10015 * gdb.trace/mi-trace-frame-collected.exp
10016 (test_trace_frame_collected): On x32, expect two registers.
10017
46da9242
CL
100182016-08-18 Carl Love <cel@us.ibm.com>
10019
10020 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
10021 and sync up the test with tests in gas/testsuite/gas/ppc.
10022 * gdb.arch/powerpc-power.exp: Likewise.
10023
eb2332d7
SM
100242016-08-17 Simon Marchi <simon.marchi@ericsson.com>
10025
10026 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
10027 expected error message.
10028
63c61e04
SM
100292016-08-17 Simon Marchi <simon.marchi@ericsson.com>
10030
10031 * gdb.multi/remove-inferiors.exp: New file.
10032 * gdb.multi/remove-inferiors.c: New file.
10033
7b17065f
YQ
100342016-08-12 Yao Qi <yao.qi@linaro.org>
10035
10036 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
10037 argument list.
10038
01d3dedf
PA
100392016-08-10 Pedro Alves <palves@redhat.com>
10040
10041 PR gdb/19187
10042 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
10043 setup_kfails.
10044
3eb7562a
PA
100452016-08-09 Pedro Alves <palves@redhat.com>
10046 Simon Marchi <simon.marchi@ericsson.com>
10047
10048 PR gdb/20418
10049 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
10050 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
10051
80614914
PA
100522016-08-09 Pedro Alves <palves@redhat.com>
10053
10054 PR mi/20431
10055 * gdb.mi/mi-cmd-error.exp: New file.
10056
f348d89a
PA
100572016-08-09 Pedro Alves <palves@redhat.com>
10058
10059 PR gdb/18653
10060 * gdb.base/signals-state-child.c: New file.
10061 * gdb.base/signals-state-child.exp: New file.
10062 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
10063
e5ca03b4
PA
100642016-08-09 Pedro Alves <palves@redhat.com>
10065
10066 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
10067
282a0691
TT
100682016-08-03 Tom Tromey <tom@tromey.com>
10069
10070 PR python/18565:
10071 * gdb.python/py-frame-inline.exp: Add Frame.function test.
10072
41bfcd63
YQ
100732016-08-01 Yao Qi <yao.qi@linaro.org>
10074
10075 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
10076 variable mode to "multi-process" if $multi_process is 1, otherwise
10077 set it to "single-process".
10078
e3465b24
YQ
100792016-08-01 Yao Qi <yao.qi@linaro.org>
10080
10081 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
10082 * gdb.cp/cpexprs.exp: Likewise.
10083 * gdb.cp/m-static.exp: Likewise.
10084
0b31a4bc
TT
100852016-07-26 Tom Tromey <tom@tromey.com>
10086
10087 PR python/20190:
10088 * gdb.threads/tls.exp (check_thread_local): Add python symbol
10089 test.
10090
e0461dbb
MM
100912016-07-26 Markus Metzger <markus.t.metzger@intel.com>
10092
10093 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
10094 selecting assembly source files.
10095 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
10096 assembly source files.
10097 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
10098 assembly source files.
10099 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
10100 selecting assembly source files.
10101
8194e927
SM
101022016-07-25 Simon Marchi <simon.marchi@ericsson.com>
10103
10104 * gdb.base/new-ui.exp (do_test_invalid_args): New
10105 procedure.
10106
c0272db5
TW
101072016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
10108
10109 * gdb.btrace/reconnect.c: New file.
10110 * gdb.btrace/reconnect.exp: New file.
10111
e3487908
GKB
101122016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
10113
10114 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
10115 to test_catch_syscall_group.
10116 (test_catch_syscall_group): New.
10117
12df5c00
TT
101182016-07-21 Tom Tromey <tom@tromey.com>
10119
10120 * gdb.rust/simple.rs (main): Use empty struct expression.
10121 * gdb.rust/simple.exp: Add tests for empty struct expression.
10122
bae62ee2
YQ
101232016-07-21 Yao Qi <yao.qi@linaro.org>
10124
10125 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
10126 if gdb_skip_xml_test is true on some targets.
10127
b1b53fb3
YQ
101282016-07-21 Yao Qi <yao.qi@linaro.org>
10129
10130 * gdb.server/solib-list.exp: Unset last_loaded_file.
10131
027d97f8
JK
101322016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10133
10134 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
10135 "step into captured_main (args)".
10136
7674d381
JK
101372016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10138
10139 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
10140
72b5d099
JK
101412016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10142
10143 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
10144
1f960ced
PA
101452016-07-19 Pedro Alves <palves@redhat.com>
10146
10147 * gdb.opt/inline-break.exp: Remove optimize=-O2.
10148 * gdb.opt/inline-bt.exp: Likewise.
10149 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
10150 additional_flags=-Winline.
10151 * gdb.opt/inline-locals.exp: Likewise.
10152 * gdb.opt/inline-markers.c (ATTR): Define.
10153 (inlined_fn): Use it.
10154
f25827c1
YQ
101552016-07-19 Yao Qi <yao.qi@linaro.org>
10156
10157 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
10158 (test_with_self): Remove some code. Remove argument executable.
10159 (top-level): Use do_self_tests.
10160
37539ebe
DB
101612016-07-15 Zachary Welch <zwelch@codesourcery.com>
10162 Don Breazeal <donb@codesourcery.com>
10163
10164 * gdb.base/maint.exp: Escape paths used in regular expressions.
10165 * gdb.stabs/weird.exp: Likewise.
10166
dac790e1
TT
101672016-07-13 Tom Tromey <tom@tromey.com>
10168
10169 PR python/15620, PR python/18620:
10170 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
10171 (test_bkpt_events): New procs.
10172
93daf339
TT
101732016-07-13 Tom Tromey <tom@tromey.com>
10174
10175 PR python/17698:
10176 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
10177 test.
10178 (test_watchpoints): Likewise.
10179 (test_bkpt_pending): New proc.
10180
6571a381
TT
101812016-07-13 Tom Tromey <tom@tromey.com>
10182
10183 PR cli/18053:
10184 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
10185 completion test.
10186
e8732474
JK
101872016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10188
10189 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
10190 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
10191 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
10192 f_label.
10193 (g): Rename g_end_lbl to g_label.
10194 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
10195 low_pc and high_pc.
10196 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
10197
e0f3fd7c
TT
101982016-07-12 Tom Tromey <tom@tromey.com>
10199
10200 PR python/19293:
10201 * gdb.python/py-unwind-maint.exp: Update tests.
10202
3cfe46b6
YQ
102032016-07-12 Yao Qi <yao.qi@linaro.org>
10204
10205 * lib/selftest-support.exp (selftest_setup): Match the output
10206 when captured_main is inlined.
10207
4f19a0e6
WT
102082016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
10209
10210 * gdb.fortran/derived-types.exp (result_line, result_line_2):
10211 New variables.
10212 (print this%a, print this%b, print this): New tests.
10213 * gdb.fortran/derived-types.f90 (this): New object and
10214 initialization.
10215
986cf455
SM
102162016-07-06 Simon Marchi <simon.marchi@ericsson.com>
10217
10218 * gdb.ada/arraydim.exp: Remove extra directory level in build
10219 directory.
10220
f0464b23
SM
102212016-07-06 Simon Marchi <simon.marchi@ericsson.com>
10222
10223 * lib/ada.exp: Remove extra directory level in build directory.
10224 * gdb.ada/cond_lang.exp: Likewise.
10225 * gdb.ada/exec_changed.exp: Likewise.
10226 * gdb.ada/lang_switch.exp: Likewise.
10227
42d94011
MG
102282016-07-06 Manish Goregaokar <manish@mozilla.com>
10229
2806dc7e
PA
10230 * simple.rs: Add test for raw pointer subscripting.
10231 * simple.exp: Add test expectations.
42d94011 10232
647c264c
YQ
102332016-07-05 Yao Qi <yao.qi@linaro.org>
10234
10235 * gdb.mi/mi-reverse.exp: Match =record-started output.
10236
20aa2c60
PA
102372016-07-01 Pedro Alves <palves@redhat.com>
10238
10239 * gdb.base/jit-reader.exp (info_registers_current_frame): New
10240 procedure.
10241 (jit_reader_test): Test the jit reader's unwinder.
10242 * gdb.base/jithost.c (jit_function_00_code): New global.
10243 (main): Use memcpy to fill in the mmapped code, instead of poking
10244 bytes manually here.
10245 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
10246 value.
10247 (read_debug_info): Save the function's range.
10248 (read_sp): New function.
10249 (unwind_frame): Use it. Also unwind RBP.
10250 (get_frame_id): Use read_sp.
10251 (gdb_init_reader): Use calloc instead of malloc.
10252 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
10253 parameter. Use gdb_test_multiple.
10254
ced2dffb
PA
102552016-07-01 Pedro Alves <palves@redhat.com>
10256 Antoine Tremblay <antoine.tremblay@ericsson.com>
10257
10258 * gdb.threads/process-dies-while-detaching.c: New file.
10259 * gdb.threads/process-dies-while-detaching.exp: New file.
10260
63000888
PA
102612016-07-01 Pedro Alves <palves@redhat.com>
10262
10263 * gdb.multi/watchpoint-multi-exit.c: New file.
10264 * gdb.multi/watchpoint-multi-exit.exp: New file.
10265
038d4868
PA
102662016-06-30 Pedro Alves <palves@redhat.com>
10267
10268 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
10269 unset inferior_spawn_id.
10270
994e9c83
PA
102712016-06-30 Pedro Alves <palves@redhat.com>
10272
10273 * lib/mi-support.exp (default_mi_gdb_start): Declare global
10274 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
10275
e5653468
YQ
102762016-06-29 Yao Qi <yao.qi@linaro.org>
10277
10278 * gdb.base/return.c: Add copyright header.
10279
803b47e5
TT
102802016-06-29 Tom Tromey <tom@tromey.com>
10281
10282 PR python/20129:
10283 * gdb.python/py-framefilter.exp: Add tests for setting priority
10284 and disabling of non-existent frame filter.
10285
28244707
YQ
102862016-06-29 Yao Qi <yao.qi@linaro.org>
10287
10288 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
10289 0x0f07ff.
10290
a31d2f06
YQ
102912016-06-28 Yao Qi <yao.qi@linaro.org>
10292
10293 * gdb.base/catch-syscall.exp: Remove check on isnative and target
10294 triplets. Start gdb, execute catch syscall, and continue. Check
10295 gdb's output to determine catch syscall is supported.
10296
921d8f54
MG
102972016-06-27 Manish Goregaokar <manish@mozilla.com>
10298
25d49b86
PA
10299 * gdb.rust/simple.rs: Add test for returning unit in a function.
10300 * gdb.rust/simple.exp: Add expectation for functions returning
10301 unit.
921d8f54 10302
f4952523
PMR
103032016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
10304
10305 * gdb.python/py-breakpoint-create-fail.c,
10306 gdb.python/py-breakpoint-create-fail.exp,
10307 gdb.python/py-breakpoint-create-fail.py: New testcase.
10308
fccb08f8
MG
103092016-06-25 Manish Goregaokar <manish@mozilla.com>
10310
10311 PR gdb/20239
10312 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
10313 * gdb.rust/simple.exp: Add test expectations for new NonZero
10314 tests.
fccb08f8 10315
6b850546
DT
103162016-06-24 David Taylor <dtaylor@emc.com>
10317
10318 * gdb.base/offsets.exp: New file.
10319 * gdb.base/offsets.c: New file.
10320
17621150
TT
103212016-06-23 Tom Tromey <tom@tromey.com>
10322
10323 PR gdb/16483:
10324 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
10325 before any filters are loaded.
10326
04d59df6
WT
103272016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
10328
10329 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
10330 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
10331 structs.
10332 * gdb.fortran/derived-type-function.exp: New file.
10333 * gdb.fortran/derived-type-function.f90: New file.
10334
10335
ac69f786
PA
103362016-06-21 Pedro Alves <palves@redhat.com>
10337
10338 * gdb.base/new-ui.exp: New file.
10339 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
10340 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
10341 (with_spawn_id): New procedure.
10342
49940788
PA
103432016-06-21 Pedro Alves <palves@redhat.com>
10344
10345 * gdb.mi/mi-exec-run.exp: New file.
10346
ef274d26
PA
103472016-06-21 Pedro Alves <palves@redhat.com>
10348
10349 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
10350 breakpoint command's output on the main UI.
10351 (test_break): New procedure, factored out from calls in the top
10352 level.
10353 (top level): Use foreach_with_prefix to test MI as main UI and as
10354 separate UI.
10355
468afe6c
PA
103562016-06-21 Pedro Alves <palves@redhat.com>
10357
10358 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
10359 (test_awatch_creation_and_listing)
10360 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
10361 Remove 'type' parameter.
10362 (test_watchpoint_all): New parameter mi_mode. Remove
10363 with_test_prefix.
10364 (top level): Use foreach_with_prefix, and add main/separate UI MI
10365 testing axis.
10366
51f77c37
PA
103672016-06-21 Pedro Alves <palves@redhat.com>
10368
10369 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
10370 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
10371 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
10372 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
10373 (gdb_main_spawn_id, mi_spawn_id): Declare and
10374 comment.
10375 (mi_create_inferior_pty): New procedure,
10376 factored out from default_mi_gdb_start.
10377 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
10378 procedures.
10379 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
10380 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
10381 Use mi_create_inferior_pty.
10382 (mi_gdb_start): Use eval to pass down args list.
10383
8980e177
PA
103842016-06-21 Pedro Alves <palves@redhat.com>
10385
10386 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
10387 * gdb.opt/inline-cmds.exp: Add MI tests.
10388
f38d3ad1
PA
103892016-06-21 Pedro Alves <palves@redhat.com>
10390
10391 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
10392
45db7c09
PA
103932016-06-21 Pedro Alves <palves@redhat.com>
10394
10395 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
10396 (top level): Use it instead of mi_execute_to.
10397
5a069ab3
PA
103982016-06-21 Pedro Alves <palves@redhat.com>
10399
10400 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
10401 (cont_handler_str): New.
10402 (signal_stop_handler): Set stop_handler_str instead of printing to
10403 stdout.
10404 (continue_handler): Set cont_handler_str instead of printing to
10405 stdout.
10406 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
10407 mi_send_resuming_command. Print stop_handler_str and
10408 cont_handler_str instead of expecting the python events print
10409 directly.
10410
2838cc1d
SD
104112016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
10412
10413 * gdb.base/jit-reader.exp: New file.
10414 * gdb.base/jithost.c: New file.
10415 * gdb.base/jithost.h: New file.
10416 * gdb.base/jitreader.c : New file.
10417 * gdb.base/jit-protocol.h: New file.
10418
21a77091
YQ
104192016-06-17 Yao Qi <yao.qi@linaro.org>
10420
10421 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
10422 parameters follow_fork and detach_on_fork. Set follow-fork-mode
10423 and detach-on-fork. Adjust tests.
10424 (top level): Invoke break_cond_on_syscall with combinations of
10425 syscall, follow-fork-mode and detach-on-fork.
10426
f50bf8e5
YQ
104272016-06-17 Yao Qi <yao.qi@linaro.org>
10428
10429 * gdb.base/step-over-exit.c: New.
10430 * gdb.base/step-over-exit.exp: New.
10431
a28d8e50
YTL
104322016-06-17 Yan-Ting Lin <currygt52@gmail.com>
10433
10434 * gdb.base/float.exp: Add target check for nds32*-*-*.
10435 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
10436
cad8e26d
AB
104372016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
10438
10439 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
10440 for unsupported target features.
10441 * gdb.base/call-rt-st.exp: Likewise.
10442 * gdb.base/call-sc.exp: Likewise.
10443 * gdb.base/call-signal-resume.exp: Likewise.
10444 * gdb.base/call-strs.exp: Likewise.
10445 * gdb.base/callexit.exp: Likewise.
10446 * gdb.base/callfuncs.exp: Likewise.
10447 * gdb.base/nodebug.exp: Likewise.
10448 * gdb.base/printcmds.exp: Likewise.
10449 * gdb.base/ptype.exp: Likewise.
10450 * gdb.base/structs.exp: Likewise.
10451 * gdb.base/unwindonsignal.exp: Likewise.
10452 * gdb.cp/gdb2495.exp: Likewise.
10453 * gdb.cp/templates.exp: Likewise.
10454 * gdb.cp/virtfunc.exp: Likewise.
10455 * gdb.threads/hand-call-in-threads.exp: Likewise.
10456 * gdb.threads/interrupted-hand-call.exp: Likewise.
10457 * gdb.threads/thread-unwindonsignal.exp: Likewise.
10458
347dc102
TT
104592016-06-10 Tom Tromey <tom@tromey.com>
10460
10461 PR rust/20110:
10462 * gdb.rust/expr.exp: Add test for integer constant larger than
10463 i32.
10464
5e13cf25
BH
104652016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
10466
10467 * gdb.fortran/nested-funcs.exp: New.
10468 * gdb.fortran/nested-funcs.f90: New.
10469
bb556f1f
TK
104702016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
10471
10472 * gdb.base/examine-backward.c: New file.
10473 * gdb.base/examine-backward.exp: New file.
10474
38b022b4
SM
104752016-06-06 Simon Marchi <simon.marchi@ericsson.com>
10476
10477 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
10478 matching.
10479
1b40ec05
TT
104802016-06-02 Tom Tromey <tom@tromey.com>
10481
10482 PR python/18984:
10483 * gdb.python/py-shared.exp: Add solib_name test.
10484
193bd378
SM
104852016-06-02 Simon Marchi <simon.marchi@ericsson.com>
10486
10487 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
10488
3326303b
MG
104892016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
10490
10491 PR c++/19893
10492 * gdb.dwarf2/implref.exp: Rename to...
10493 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
10494 * gdb.dwarf2/implref-array.c: New file.
10495 * gdb.dwarf2/implref-array.exp: Likewise.
10496 * gdb.dwarf2/implref-global.c: Likewise.
10497 * gdb.dwarf2/implref-global.exp: Likewise.
10498 * gdb.dwarf2/implref-struct.c: Likewise.
10499 * gdb.dwarf2/implref-struct.exp: Likewise.
10500
825c8ef2
AT
105012016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10502
10503 * gdb.trace/trace-condition.exp: Add 64bit tests.
10504
2320162a
AT
105052016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10506
10507 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
10508 bits types.
10509 (main): Adapt to 8 to 64 bits types.
10510 * gdb.trace/trace-condition.exp: Add new tests.
10511
a7818233
AT
105122016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10513
10514 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
10515
0d336466
AT
105162016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10517
10518 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
10519 Move condition tests...
10520 * gdb.trace/trace-condition.exp: Here.
10521
7faeb45a
AT
105222016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10523
10524 * gdb.trace/trace-condition.exp: Add counter-case tests.
10525
e385593e
JK
105262016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10527
10528 PR c++/15231
10529 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
10530 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
10531
744608cc
PA
105322016-05-27 Pedro Alves <palves@redhat.com>
10533
10534 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
10535 New procedure.
10536 (top level): Call it, and bail out of DejaGnu is known to be bad.
10537
ac775bf4
AB
105382016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
10539
10540 * gdb.base/whatis.c: Extend the test case.
10541 * gdb.base/whatis.exp: Add additional tests.
10542
2bbad2ea
BH
105432016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10544
10545* gdb.fortran/type.f90: Add pointer variable.
10546* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
10547
8b70175d
BH
105482016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10549
10550 * gdb.fortran/vla-type.exp: Fix testcase name.
10551
86d8a848
BH
105522016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10553
10554 * gdb.fortran/vla-type.exp: Access elements in nested structs.
10555
e188eb36
BH
105562016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10557
10558 * gdb.fortran/type.f90: Add nested structures.
10559 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
10560 * gdb.fortran/derived-type.exp: Adapt expected output.
10561 * gdb.fortran/vla-type.exp: Adapt expected output.
10562
9b2db1fd
BH
105632016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10564
10565 * gdb.fortran/whatis_type.exp: Adapt expected output.
10566
72b17055
BH
105672016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10568
10569 * gdb.fortran/print_type.exp: Fix expected output.
10570 * gdb.fortran/whatis_type.exp: Fix expected output.
10571
3cd81d8d
BH
105722016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10573
10574 * gdb.fortran/whatis_type.exp: Use multi_line.
10575
ddae9462
TT
105762016-05-24 Tom Tromey <tom@tromey.com>
10577
10578 PR python/17386:
10579 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
10580 use value as an index.
10581
1957f6b8
TT
105822016-05-23 Tom Tromey <tom@tromey.com>
10583
10584 PR python/17981:
10585 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
10586 no-breakpoint case.
10587
026a9174
PA
105882016-05-24 Pedro Alves <palves@redhat.com>
10589
10590 PR gdb/19828
10591 * gdb.threads/clone-attach-detach.c: New file.
10592 * gdb.threads/clone-attach-detach.exp: New file.
10593
e70a7231
FR
105942016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
10595
10596 * gdb.base/annota-input-while-running.exp: Fix syntax error.
10597
0f6ed0e0
TT
105982016-05-23 Tom Tromey <tom@tromey.com>
10599
10600 PR python/19438, PR python/18393:
10601 * gdb.python/py-progspace.exp: Add "dir" test.
10602 * gdb.python/py-objfile.exp: Add "dir" test.
10603
ffd19d61
YQ
106042016-05-23 Yao Qi <yao.qi@linaro.org>
10605
10606 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
10607 * gdb.arch/thumb2-it.exp: Likewise.
10608
9e8f9b05
SM
106092016-05-18 Simon Marchi <simon.marchi@ericsson.com>
10610
10611 * gdb.mi/mi-threads-interrupt.c: New file.
10612 * gdb.mi/mi-threads-interrupt.exp: New file.
10613
61c6156d
SM
106142016-05-17 Simon Marchi <simon.marchi@ericsson.com>
10615
10616 PR gdb/18077
10617 * gdb.mi/mi-async-run.exp: New file.
10618 * gdb.mi/mi-async-run.c: New file.
10619
67218854
TT
106202016-05-17 Tom Tromey <tom@tromey.com>
10621 Manish Goregaokar <manishsmail@gmail.com>
10622
10623 * lib/rust-support.exp: New file.
10624 * lib/gdb.exp (skip_rust_tests): New proc.
10625 (build_executable_from_specs): Handle rust.
10626 * lib/future.exp (gdb_find_rustc): New proc.
10627 (gdb_default_target_compile): Handle rust.
10628 * gdb.rust/expr.exp: New file.
10629 * gdb.rust/generics.exp: New file.
10630 * gdb.rust/generics.rs: New file.
10631 * gdb.rust/methods.exp: New file.
10632 * gdb.rust/methods.rs: New file.
10633 * gdb.rust/modules.exp: New file.
10634 * gdb.rust/modules.rs: New file.
10635 * gdb.rust/simple.exp: New file.
10636 * gdb.rust/simple.rs: New file.
10637
c44af4eb
TT
106382016-05-17 Tom Tromey <tom@tromey.com>
10639
10640 * gdb.base/default.exp (set language): Add rust.
10641
dcd1f979
TT
106422016-05-17 Tom Tromey <tom@tromey.com>
10643
10644 * gdb.gdb/unittest.exp: New file.
10645
155b7f57
YQ
106462016-05-16 Yao Qi <yao.qi@linaro.org>
10647
10648 * gdb.base/batch-preserve-term-settings.exp: Remove variable
10649 shell_prompt. Update shell_prompt_re.
10650
8ddd5a6c
DE
106512016-05-12 Doug Evans <dje@google.com>
10652
10653 PR symtab/19999
10654 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
10655 $options when building executable.
10656 * gdb.dwarf2/fission-loclists-pie.S: New file.
10657 * gdb.dwarf2/fission-loclists-pie.exp: New file.
10658
02e370d9
SM
106592016-05-04 Simon Marchi <simon.marchi@ericsson.com>
10660
10661 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
10662 of [is_remote target],
10663
8929ad8b
SM
106642016-05-04 Simon Marchi <simon.marchi@ericsson.com>
10665
10666 * lib/gdb.exp (use_gdb_stub): New procedure.
10667
6c447423
DE
106682016-05-03 Yunlian Jiang <yunlian@google.com>
10669 Doug Evans <dje@google.com>
10670
10671 PR symtab/19914
10672 * gdb.dwarf2/dwp-sepdebug.c: New file.
10673 * gdb.dwarf2/dwp-sepdebug.exp: New file.
10674
444e826c
SM
106752016-05-02 Simon Marchi <simon.marchi@ericsson.com>
10676
10677 * gdb.base/detach.exp: Remove is_remote check.
10678
740feeaa
SM
106792016-05-02 Simon Marchi <simon.marchi@ericsson.com>
10680
10681 * gdb.base/annota-input-while-running.exp: Don't check for
10682 [is_remote target]. Enable annotations after running to main.
10683 Remove unused "set test..." line.
10684
9080ac9d
SM
106852016-04-28 Simon Marchi <simon.marchi@ericsson.com>
10686
10687 * gdb.trace/trace-enable-disable.exp: New file.
10688 * gdb.trace/trace-enable-disable.c: New file.
10689
952ebca5
SM
106902016-04-28 Simon Marchi <simon.marchi@ericsson.com>
10691
10692 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
10693 use it in info sharedlibrary test.
10694 * gdb.trace/ftrace-lock.exp: Likewise.
10695 * gdb.trace/ftrace.exp: Likewise.
10696 * gdb.trace/range-stepping.exp: Likewise.
10697 * gdb.trace/trace-break.exp: Likewise.
10698 * gdb.trace/trace-condition.exp: Likewise.
10699 * gdb.trace/trace-mt.exp: Likewise.
10700
d9019901
SM
107012016-04-27 Simon Marchi <simon.marchi@ericsson.com>
10702
10703 * lib/gdb.exp (gdb_load_shlibs): Rename to...
10704 (gdb_load_shlib): ... this.
10705 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
10706 gdb_load_shlib.
10707 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
10708 * gdb.base/ctxobj.exp: Likewise.
10709 * gdb.base/dprintf-pending.exp: Likewise.
10710 * gdb.base/dso2dso.exp: Likewise.
10711 * gdb.base/fixsection.exp: Likewise.
10712 * gdb.base/gcore-relro.exp: Likewise.
10713 * gdb.base/gdb1555.exp: Likewise.
10714 * gdb.base/global-var-nested-by-dso.exp: Likewise.
10715 * gdb.base/gnu-ifunc.exp: Likewise.
10716 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
10717 * gdb.base/jit-so.exp (one_jit_test): Likewise.
10718 * gdb.base/pending.exp: Likewise.
10719 * gdb.base/print-file-var.exp: Likewise.
10720 * gdb.base/print-symbol-loading.exp: Likewise.
10721 * gdb.base/shlib-call.exp: Likewise.
10722 * gdb.base/shreloc.exp: Likewise.
10723 * gdb.base/so-impl-ld.exp: Likewise.
10724 * gdb.base/solib-disc.exp: Likewise.
10725 * gdb.base/solib-nodir.exp: Likewise.
10726 * gdb.base/solib-overlap.exp: Likewise.
10727 * gdb.base/solib-symbol.exp: Likewise.
10728 * gdb.base/solib-weak.exp (do_test): Likewise.
10729 * gdb.base/sym-file.exp: Likewise.
10730 * gdb.base/symtab-search-order.exp: Likewise.
10731 * gdb.base/type-opaque.exp: Likewise.
10732 * gdb.base/unload.exp: Likewise.
10733 * gdb.base/watchpoint-solib.exp: Likewise.
10734 * gdb.compile/compile.exp: Likewise.
10735 * gdb.cp/gdb2384.exp: Likewise.
10736 * gdb.cp/infcall-dlopen.exp: Likewise.
10737 * gdb.cp/re-set-overloaded.exp: Likewise.
10738 * gdb.fortran/library-module.exp: Likewise.
10739 * gdb.opt/solib-intra-step.exp: Likewise.
10740 * gdb.python/py-finish-breakpoint.exp: Likewise.
10741 * gdb.python/py-shared.exp: Likewise.
10742 * gdb.reverse/solib-precsave.exp: Likewise.
10743 * gdb.reverse/solib-reverse.exp: Likewise.
10744 * gdb.server/solib-list.exp: Likewise.
10745 * gdb.threads/dlopen-libpthread.exp: Likewise.
10746 * gdb.threads/tls-shared.exp: Likewise.
10747 * gdb.threads/tls-so_extern.exp: Likewise.
10748 * gdb.trace/change-loc.exp: Likewise.
10749 * gdb.trace/ftrace-lock.exp: Likewise.
10750 * gdb.trace/ftrace.exp: Likewise.
10751 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
10752 * gdb.trace/pending.exp: Likewise.
10753 * gdb.trace/range-stepping.exp: Likewise.
10754 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
10755 (strace_info_marker): Likewise.
10756 (strace_probe_marker): Likewise.
10757 (strace_trace_on_same_addr): Likewise.
10758 (strace_trace_on_diff_addr): Likewise.
10759 * gdb.trace/trace-break.exp: Likewise.
10760 * gdb.trace/trace-condition.exp: Likewise.
10761 * gdb.trace/trace-mt.exp: Likewise.
10762
fca4cfd9
SM
107632016-04-27 Simon Marchi <simon.marchi@ericsson.com>
10764
10765 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
10766 result of gdb_remote_download.
10767 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
10768 * gdb.base/dso2dso.exp: Likewise.
10769 * gdb.base/global-var-nested-by-dso.exp: Likewise.
10770 * gdb.base/print-file-var.exp: Likewise.
10771 * gdb.base/shlib-call.exp: Likewise.
10772 * gdb.base/shreloc.exp: Likewise.
10773 * gdb.base/solib-overlap.exp: Likewise.
10774 * gdb.base/solib-weak.exp (do_test): Likewise.
10775 * gdb.base/unload.exp: Likewise.
10776
11cf4ffb
YQ
107772016-04-27 Yao Qi <yao.qi@linaro.org>
10778
10779 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
10780 exists.
10781
3e2e34f8
KB
107822016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10783
10784 * vla-type.exp: Print structure from toplevel.
10785
8f07e298
BH
107862016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10787
10788 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
10789 of dynamic types.
10790 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
10791 of dynamic types.
10792
9920b434
BH
107932016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10794
10795 * gdb.fortran/vla-type.f90: New file.
10796 * gdb.fortran/vla-type.exp: New file.
10797
f3abeff5
YQ
107982016-04-25 Yao Qi <yao.qi@linaro.org>
10799
10800 * gdb.base/branch-to-self.c: New file.
10801 * gdb.base/branch-to-self.exp: New file.
10802
0a5d52f0
YQ
108032016-04-22 Yao Qi <yao.qi@linaro.org>
10804
10805 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
10806 more after $hex.
10807
495346f6
YQ
108082016-04-22 Yao Qi <yao.qi@linaro.org>
10809
10810 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
10811 * gdb.base/annota3.exp: Likewise.
10812
4a7e075c
YQ
108132016-04-22 Yao Qi <yao.qi@linaro.org>
10814
10815 * gdb.reverse/step-precsave.exp: Do one step and test program
10816 stops in "callee" and do multiple steps until program goes out
10817 of "callee".
10818 * gdb.reverse/step-reverse.exp: Likewise.
10819
5b061e98
YQ
108202016-04-22 Yao Qi <yao.qi@linaro.org>
10821
10822 * gdb.trace/signal.exp: Also pass if
10823 $tracepoint_hits($i) > $iterations.
10824
5c5dc57f
YQ
108252016-04-22 Yao Qi <yao.qi@linaro.org>
10826
10827 * gdb.trace/signal.c: New file.
10828 * gdb.trace/signal.exp: New file.
10829
a55411b9
DE
108302016-04-19 Doug Evans <xdje42@gmail.com>
10831
10832 * gdb.base/bad-file.exp: New file.
10833
a22df60a
MG
108342016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
10835
10836 * gdb.dwarf2/implref.exp: New file.
10837
0c13f7e5
BH
108382016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
10839
10840 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
10841 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
10842 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
10843 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
10844 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
10845 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
10846 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
10847 * lib/fortran.exp (fortran_int4): New procedure.
10848 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
10849 (fortran_logical4): Likewise.
10850
9b9b09e9
BH
108512016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
10852
10853 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
10854
a14d1f4d
BH
108552016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
10856
10857 * lib/compiler.c: Add Intel specific preprocessor macros.
10858 * lib/compiler.cc: Likewise.
25d49b86 10859
7d49b1d0
LM
108602016-04-13 Luis Machado <lgustavo@codesourcery.com>
10861
10862 * gdb.server/connect-with-no-symbol-file.c: New file.
10863 * gdb.server/connect-with-no-symbol-file.exp: New file.
10864
8392fa22
SM
108652016-04-13 Simon Marchi <simon.marchi@ericsson.com>
10866
10867 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
10868
8c4c4aeb
SM
108692016-04-13 Simon Marchi <simon.marchi@ericsson.com>
10870
10871 * boards/gdbserver-base.exp (${board}_download): Copy source file to
10872 standard output directory.
10873
45e3745e
AT
108742016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
10875
10876 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
10877
e26b7e41
MM
108782016-04-13 Markus Metzger <markus.t.metzger@intel.com>
10879
10880 * gdb.btrace/instruction_history.c (loop): Add declaration.
10881
8ce09462
AT
108822016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
10883
10884 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
10885
2e88a1ea
SM
108862016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
10887
10888 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
10889 parentheses to print.
10890 (continue_handler): Likewise.
10891
f48e22e3
SM
108922016-04-08 Simon Marchi <simon.marchi@ericsson.com>
10893
10894 * gdb.server/solib-list.exp: Remove is_remote check.
10895 Pass shlib= to gdb_compile. Don't link shared library with
10896 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
10897 Run binary filename through "readlink -f" on the target.
10898
096be756
PA
108992016-04-08 Pedro Alves <palves@redhat.com>
10900
10901 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
10902 interpreter filename as argument to gdbserver_spawn.
10903 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
10904 Return empty if $last_loaded_file does not exist.
10905
06500533
JK
109062016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10907
10908 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
10909 * gdb.base/jit-main.c: Use exit after usage.
10910
2d35e871
JK
109112016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10912
10913 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
10914 GDBHISTSIZE prior to the tests.
10915 * gdb.base/gdbinit-history.exp: Likewise.
10916
109172016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
10918
10919 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
10920 instead of build_executable. Use gdb_load_shlibs.
10921
c8064e7e
YQ
109222016-04-07 Yao Qi <yao.qi@linaro.org>
10923
10924 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
10925 Execute "si" command.
10926
bde47561
YQ
109272016-04-07 Yao Qi <yao.qi@linaro.org>
10928
10929 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
10930 number instead of the comments on some line.
10931
b16f8a3b
DB
109322016-04-06 Don Breazeal <donb@codesourcery.com>
10933
10934 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
10935 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
10936
c2f901df
SM
109372016-04-06 Simon Marchi <simon.marchi@ericsson.com>
10938
10939 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
10940 standard_output_file. Remove unused binfile variable.
10941
ac17fda0
CU
109422016-04-05 Catalin Udma <catalin.udma@freescale.com>
10943
10944 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
10945 * gdb.python/py-mi-objfile.exp: Match "list main" output
10946 in console format.
10947
03a8c4df
SM
109482016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
10949
10950 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
10951 absolute.
10952
6e774b13
SM
109532016-04-05 Simon Marchi <simon.marchi@ericsson.com>
10954
10955 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
10956 absolute.
10957 * gdb.trace/ftrace.exp: Likewise.
10958 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
10959 targets as well.
10960 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
10961 (gdb_load_shlibs): Copy libraries to test directory when testing
10962 natively. Only set solib-search-path if testing remotely.
10963 * lib/mi-support.exp (mi_load_shlibs): Likewise.
10964
7817ea46
SM
109652016-04-05 Simon Marchi <simon.marchi@ericsson.com>
10966
10967 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
10968 gdb_download. Use it even if the target is not remote.
10969 * gdb.base/jit.exp (compile_jit_test): Likewise.
10970 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
10971 output directory if the destination board is local, otherwise use
10972 the standard remote_download from DejaGnu.
10973 (gdb_download): Remove.
10974 (gdb_load_shlibs): Use gdb_remote_download instead of
10975 gdb_download.
10976 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
10977 Use gdb_remote_download instead of gdb_download. Use it even if
10978 the target is not remote.
10979 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
10980 instead of gdb_download.
10981
7beb7f68
SM
109822016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
10983
10984 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
10985 (test_insert_delete_modify): Call mi_load_shlibs before trying to
10986 run.
10987
cc63428a
AV
109882016-04-01 Artemiy Volkov <artemiyv@acm.org>
10989
10990 PR gdb/19820
10991 * gdb.base/printcmds.exp: Add artificial arrays tests.
10992
64cdf930
PA
109932016-03-31 Pedro Alves <palves@redhat.com>
10994
10995 PR gdb/19858
10996 * gdb.base/jit-main.c: Include unistd.h.
10997 (ATTACH): Define to 0 if not already defined.
10998 (wait_for_gdb, mypid): New globals.
10999 (WAIT_FOR_GDB): New macro.
11000 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
11001 some breakpoint locations.
11002 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
11003 New procedures.
11004 (one_jit_test): Add REATTACH parameter, and handle it. Use
11005 continue_to_test_location.
11006 (top level): Test attach, and adjusts calls to one_jit_test.
11007
40dea8cb
PA
110082016-03-31 Pedro Alves <palves@redhat.com>
11009
11010 PR gdb/19858
11011 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
11012 BINSUFFIX parameter, and handle it.
11013 (top level): Adjust calls compile_jit_test.
11014
e7ea3ec7
CU
110152016-03-31 Catalin Udma <catalin.udma@freescale.com>
11016
11017 PR python/19743
11018 * gdb.python/py-mi-events-gdb.py: New file.
11019 * gdb.python/py-mi-events.c: New file.
11020 * gdb.python/py-mi-events.exp: New file.
11021
e6359af3
YQ
110222016-03-30 Yao Qi <yao.qi@linaro.org>
11023
11024 * gdb.reverse/until-precsave.exp: Match function name only.
11025 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
11026 Move malloc to a condition block.
11027 * gdb.reverse/until-reverse.exp: Match function name only.
11028
a4105d04
MK
110292016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
11030
11031 * gdb.trace/ftrace.exp: Set arg0exp for s390.
11032 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
11033 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
11034 variable for GPR 0 instead of assuming it is register 0.
11035 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
11036 * lib/trace-support.exp: Add s390 registers.
11037
bfa6adb9
YQ
110382016-03-29 Yao Qi <yao.qi@linaro.org>
11039
11040 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
11041
1e6697ea
YQ
110422016-03-24 Yao Qi <yao.qi@linaro.org>
11043
11044 * gdb.reverse/break-reverse.exp: Add quotation mark in the
11045 test message.
11046
64bcd522
AA
110472016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11048
11049 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
11050 maintaining separate logic for constructing the output path.
11051
7868401b
DB
110522016-03-16 Don Breazeal <donb@codesourcery.com>
11053
11054 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
11055 Retry fork and waitpid on interrupted system call errors.
11056 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
11057 Use with_timeout_factor to increase timeout by factor of 10.
11058
1cafadb4
DB
110592016-03-15 Don Breazeal <donb@codesourcery.com>
11060
11061 * gdb.cp/scope-err.cc: New test program.
11062 * gdb.cp/scope-err.exp: New test script.
11063 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
11064 lines and "set breakpoint here" comment.
11065 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
11066 Fixed some whitespace and format issues.
11067 * gdb.mi/mi-linespec-err-cp.cc: New test program.
11068 * gdb.mi/mi-linespec-err-cp.exp: New test script.
11069
81516450
DE
110702016-03-15 Doug Evans <dje@google.com>
11071
11072 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
11073 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
11074 All callers updated. Add tests for enums, mixed flags register.
11075
aa52b601
DE
110762016-03-15 Doug Evans <dje@google.com>
11077
11078 * gdb.base/skip.c (main): Call test_skip_file_and_function.
11079 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
11080
fa4ff313
SM
110812016-03-14 Simon Marchi <simon.marchi@ericsson.com>
11082
11083 * gdb.base/default.exp: Add $_as_string to the list of expected
11084 convenience functions.
11085
f2403c39
AB
110862016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
11087
11088 * gdb.base/maint.exp: New tests for 'maint info line-table'.
11089
f2f3ccb9
SM
110902016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
11091
11092 * gdb.python/py-as-string.exp: New file.
11093 * gdb.python/py-as-string.c: New file.
11094
00dbd492
PA
110952016-03-09 Pedro Alves <palves@redhat.com>
11096
11097 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
11098 signal" -> "Thread NN received signal" output change.
11099 * gdb.threads/ia64-sigill.exp: Likewise.
11100 * gdb.threads/linux-dp.exp: Likewise.
11101 * gdb.threads/manythreads.exp: Likewise.
11102 * gdb.threads/pending-step.exp: Likewise.
11103 * gdb.threads/print-threads.exp: Likewise.
11104 * gdb.threads/sigstep-threads.exp: Likewise.
11105 * gdb.threads/staticthreads.exp: Likewise.
11106 * gdb.threads/tls.exp: Likewise.
11107
1e6697ea
YQ
111082016-03-09 Pedro Alves <palves@redhat.com>
11109
11110 * gdb.base/command-line-input.exp: New file.
11111
b04fd3be
MK
111122016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11113
11114 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
11115 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
11116 * gdb.trace/pending.exp: Accept leading dot before function name.
11117 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
11118 * lib/trace-support.exp: Set registers for ppc.
11119
98fa59e9
MK
111202016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11121
11122 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
11123 use it for disassembly; accept .main in addition to main in backtrace.
11124
f77198c8
MK
111252016-03-09 Wei-cheng Wang <cole945@gmail.com>
11126 Marcin Kościelnicki <koriakin@0x04.net>
11127
11128 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
11129 (gdb_recursion_test_ptr): New global variable.
11130 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
11131 gdb_recursion_test.
11132 (gdb_c_test): Ditto.
11133
ba84e0da
MK
111342016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11135
11136 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
11137 ordering.
11138
4366d36e
MK
111392016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11140
11141 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
11142 (bar): Add bar_start_lbl label.
11143 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
11144 of foo/bar for emitting DWARF and tracing.
11145
5eb264df
SDJ
111462016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
11147
11148 * analyze-racy-logs.py: Set executable bit.
11149
fb6a751f
SDJ
111502016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
11151
11152 * Makefile.in (DEFAULT_RACY_ITER): New variable.
11153 (CHECK_TARGET_TMP): Likewise.
11154 (check-single-racy): New rule.
11155 (check-parallel-racy): Likewise.
11156 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
11157 (do-check-parallel-racy): New rule.
11158 (check-racy/%.exp): Likewise.
11159 * README (Racy testcases): New section.
11160 * analyze-racy-logs.py: New file.
11161
bdf7e230
DE
111622016-03-03 Doug Evans <dje@google.com>
11163
11164 * gdb.base/skip.exp: Use with_test_prefix.
11165
4719d415
YQ
111662016-03-03 Yao Qi <yao.qi@linaro.org>
11167
11168 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
11169 Invoke step_over_syscall "clone" and break_cond_on_syscall
11170 "clone".
11171 * gdb.base/step-over-clone.c: New file.
11172
ea507862
YQ
111732016-03-03 Yao Qi <yao.qi@linaro.org>
11174
11175 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
11176 code format.
11177
8fc8cbda
YQ
111782016-03-03 Yao Qi <yao.qi@linaro.org>
11179
11180 * gdb.base/disp-step-fork.c: Rename to ...
11181 * gdb.base/step-over-fork.c: ... it. New file.
11182 * gdb.base/disp-step-vfork.c: Rename to ...
11183 * gdb.base/step-over-vfork.c: ... it. New file.
11184 * gdb.base/disp-step-syscall.exp: Rename to ...
11185 * gdb.base/step-over-syscall.exp: ... it. New file.
11186 (disp_step_cross_syscall): Rename to ...
11187 (step_over_syscall): ... it.
11188
92fa70b0
YQ
111892016-03-03 Yao Qi <yao.qi@linaro.org>
11190
11191 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
11192 If target supports condition evaluation on target, invoke
11193 break_cond_on_syscall for fork and vfork.
11194
e197ad3c
YQ
111952016-03-03 Yao Qi <yao.qi@linaro.org>
11196
11197 * gdb.base/disp-step-syscall.exp: Don't invoke
11198 support_displaced_stepping.
11199 (disp_step_cross_syscall): Test with displaced stepping off and
11200 on if supported.
11201
0b47da9f
YQ
112022016-03-03 Yao Qi <yao.qi@linaro.org>
11203
11204 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
11205 proc.
11206 (setup): New proc.
11207 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
11208 and setup.
11209
065ab6dc
BH
112102016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11211
11212 * gdb.fortran/vla-history.exp: Remove breakpoint.
11213
07e448ad 112142016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11215
25d49b86
PA
11216 * gdb.fortran/vla-history.exp: Lookup array elements and printing
11217 exceeds timeout.
07e448ad 11218
9ac2d526 112192016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11220
25d49b86
PA
11221 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
11222 breakpoint.
9ac2d526 11223
17807369
BH
112242016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11225
11226 * gdb.mi/vla.f90: Nullify pointer after declaration.
11227
86e501af
PA
112282016-03-01 Pedro Alves <palves@redhat.com>
11229
11230 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
11231
1e903e32
PA
112322016-03-01 Pedro Alves <palves@redhat.com>
11233
11234 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
11235 before anything else.
11236 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
11237 _GNU_SOURCE here.
11238 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
11239 before anything else.
11240 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
11241
6ccb54e2
PA
112422016-03-01 Pedro Alves <palves@redhat.com>
11243
11244 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
11245
30ca9da1
YQ
112462016-03-01 Yao Qi <yao.qi@linaro.org>
11247
11248 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
11249 prepare_for_testing.
11250
dc856b38
YQ
112512016-03-01 Yao Qi <yao.qi@linaro.org>
11252
11253 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
11254
4a932159
AA
112552016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
11256
11257 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
11258 manually constructing the output path.
11259
f2489477
AA
112602016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
11261
11262 * gdb.arch/s390-stackless.S: New.
11263 * gdb.arch/s390-stackless.exp: New.
11264
38899f16
IB
112652016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
11266
11267 * gdb.dlang/circular.c: New file.
11268 * gdb.dlang/circular.exp: New file.
11269
9fde51ed
YQ
112702016-02-26 Yao Qi <yao.qi@linaro.org>
11271
11272 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
11273 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
11274 (testcases): Update.
11275
ce90fefe
YQ
112762016-02-26 Yao Qi <yao.qi@linaro.org>
11277
11278 * gdb.reverse/aarch64.c: Rename to ...
11279 * gdb.reverse/insn-reverse.c: ... it.
11280 * gdb.reverse/aarch64.exp: Rename to ...
11281 * gdb.reverse/insn-reverse.exp: ... it.
11282
3263bceb
YQ
112832016-02-26 Yao Qi <yao.qi@linaro.org>
11284
11285 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
11286 (testcase_ftype): New.
11287 (testcases): New array.
11288 (n_testcases): New.
11289 (main): Call each element in testcases.
11290 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
11291 (read_testcase): New.
11292 Do the tests in a loop.
11293
6cb59ff1
YQ
112942016-02-25 Yao Qi <yao.qi@linaro.org>
11295
11296 * gdb.base/branches.c: Remove.
11297
ae91f625
MK
112982016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11299
11300 PR gdb/13808
11301 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
11302
678b48b7
MK
113032016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11304
11305 * gdb.trace/ftrace.exp: Remove unnecessary target check.
11306
7337a6f2
MK
113072016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11308
11309 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
11310 change x86_64 call_insn to 'callq'.
11311
861ca91f
AT
113122016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
11313
11314 * gdb.trace/tfile-avx.c: Move to...
11315 * gdb.trace/tracefile-pseudo-reg.c: Here.
11316 * gdb.trace/tfile-avx.exp: Move to...
11317 * gdb.trace/tracefile-pseudo-reg.exp: Here.
11318
bf74e428
GB
113192016-02-24 Gary Benson <gbenson@redhat.com>
11320
11321 * gdb.base/attach-pie-noexec.exp: Do not expect an error
11322 message on attach.
11323
cce0e923
DE
113242016-02-23 Doug Evans <dje@google.com>
11325
11326 * gdb.base/skip.c (test_skip): New function.
11327 (end_test_skip_file_and_function): New function.
11328 (test_skip_file_and_function): New function.
11329 * gdb.base/skip1.c (test_skip): New function.
11330 (skip1_test_skip_file_and_function): New function.
11331 * gdb.base/skip.exp: Add tests for new skip options.
11332 * gdb.base/skip-solib.exp: Update expected output.
11333 * gdb.perf/skip-command.cc: New file.
11334 * gdb.perf/skip-command.exp: New file.
11335 * gdb.perf/skip-command.py: New file.
11336
4000e47e
MK
113372016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
11338
11339 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
11340 info registers pattern.
11341
24f75ead
IB
113422016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
11343
11344 * lib/future.exp: Add D support.
11345 (gdb_find_gdc): New proc.
11346 (gdb_default_target_compile): Add D support.
11347
fbb7bcbe
WW
113482016-02-18 Wei-cheng Wang <cole945@gmail.com>
11349
11350 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
11351 user+system time.
11352 (trace_speed_test): Determine the iteration count for a time
11353 between 15..30 seconds.
11354
012b3a21
WT
113552016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
11356
11357 * gdb.arch/i386-mpx-sigsegv.c: New file.
11358 * gdb.arch/i386-mpx-sigsegv.exp: New file.
11359 * gdb.arch/i386-mpx-simple_segv.c: New file.
11360 * gdb.arch/i386-mpx-simple_segv.exp: New file.
11361
2d5189bd
YQ
113622016-02-18 Yao Qi <yao.qi@linaro.org>
11363
11364 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
11365 Don't call setup_kfail.
11366
40fb20d0
YQ
113672016-02-18 Yao Qi <yao.qi@linaro.org>
11368
11369 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
11370 Set "set breakpoint condition-evaluation" per $cond_bp_target.
11371
21b1f8d2
DE
113722016-02-16 Doug Evans <dje@google.com>
11373
11374 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
11375 * gdb.base/skip1.c: Ditto.
11376 * gdb.base/skip.exp: Whitespace cleanup.
11377
4041ed77
DB
113782016-02-16 Don Breazeal <donb@codesourcery.com>
11379
11380 PR remote/19496
11381 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
11382 Remove kfail for PR remote/19496.
11383
c4ef31bf
SM
113842016-02-16 Simon Marchi <simon.marchi@ericsson.com>
11385
11386 * lib/gdb.exp (standard_temp_file): Return a path specific to
11387 the runtest invocation.
11388
266b65b3
SM
113892016-02-16 Simon Marchi <simon.marchi@ericsson.com>
11390
11391 * gdb.trace/save-trace.exp: Change relative path to be in the
11392 standard output directory.
11393
a7a0a6a9
JK
113942016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11395
11396 * gdb.arch/i386-prologue.c: Add missing prototypes.
11397
c99dbb42
JK
113982016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11399
11400 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
11401 * gdb.arch/i386-prologue.exp: Likewise.
11402 * gdb.arch/i386-size.exp: Likewise.
11403
aa480355
SM
114042016-02-15 Simon Marchi <simon.marchi@ericsson.com>
11405
11406 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
11407 define object file path.
11408 * gdb.btrace/gcore.exp: Use standard_output_file to define core
11409 file path.
11410 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
11411 standard_output_file to define binfile.
11412
ba881f50
JK
114132016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11414
11415 Fix compatibility with recent gfortran-5.3.1.
11416 * gdb.fortran/vla-history.exp (print vla1 allocated)
11417 (print vla2 allocated, print $2, print $3): Remove
11418 (print $4): Rename to ...
11419 (print $2): ... here.
11420 (print $9): Rename to ...
11421 (print $5): ... here.
11422 (print $10): Rename to ...
11423 (print $6): ... here.
11424 * gdb.fortran/vla.f90: Add pvla initialization.
11425
e9fb005c
JK
114262016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11427
11428 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
11429 New test.
11430 * gdb.fortran/vla-value-sub.exp: Likewise.
11431
e44e00ff
MK
114322016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
11433
11434 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
11435
97e94151
SM
114362016-02-12 Simon Marchi <simon.marchi@ericsson.com>
11437
11438 * i386-biarch-core.exp: Define corefile using
11439 standard_output_file.
11440
01113bc1
YQ
114412016-02-12 Yao Qi <yao.qi@linaro.org>
11442
11443 * gdb.arch/arm-single-step-kernel-helper.c: New.
11444 * gdb.arch/arm-single-step-kernel-helper.exp: New.
11445
33b4777c
MM
114462016-02-12 Markus Metzger <markus.t.metzger@intel.com>
11447
11448 * gdb.btrace/tailcall-only.exp: New.
11449 * gdb.btrace/tailcall-only.c: New.
11450 * gdb.btrace/x86_64-tailcall-only.S: New.
11451 * gdb.btrace/i686-tailcall-only.S: New.
11452
acc23c11
PA
114532016-02-11 Pedro Alves <palves@redhat.com>
11454
11455 * README (Parallel testing): Add missing double quotes.
11456
e352bf0a
PA
114572016-02-11 Pedro Alves <palves@redhat.com>
11458
11459 * README (Parallel testing): New section.
11460 (GDB_PARALLEL): Rewrite.
11461 (FORCE_PARALLEL): Document.
11462
9f5fed78
MK
114632016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
11464
11465 * gdb.trace/tfile-avx.c: New test.
11466 * gdb.trace/tfile-avx.exp: New test.
11467
9ef9e6a6
KS
114682016-02-09 Keith Seitz <keiths@redhat.com>
11469
11470 PR breakpoints/19546
11471 * gdb.base/infcall-exec.c: New file.
11472 * gdb.base/infcall-exec2.c: New file.
11473 * gdb.base/infcall-exec.exp: New file.
11474
a96e36da
KS
114752016-02-09 Keith Seitz <keiths@redhat.com>
11476
11477 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
11478 (toplevel): Call test_bkpt_address.
11479
9f61929f
KS
114802016-02-09 Keith Seitz <keiths@redhat.com>
11481
11482 PR python/19506
11483 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
11484 (toplevel): Call test_bkpt_address.
11485
1e94266c
SM
114862016-02-09 Simon Marchi <simon.marchi@ericsson.com>
11487
11488 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
11489 to AC_OUTPUT.
11490 * configure: Regenerate.
11491
2a7f3dff
PA
114922016-02-09 Pedro Alves <palves@redhat.com>
11493
11494 PR breakpoints/19548
11495 * gdb.base/execl-update-breakpoints.c (some_function): New
11496 function.
11497 (main): Call it.
11498 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
11499 Tighten expected GDB output.
11500
2151ccc5
SM
115012016-02-08 Simon Marchi <simon.marchi@ericsson.com>
11502
11503 * Makefile.in (ALL_SUBDIRS): Remove.
11504 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
11505 (distclean maintainer-clean realclean): Likewise.
11506 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
11507 * configure: Regenerate.
11508 * gdb.ada/Makefile.in: Delete.
11509 * gdb.arch/Makefile.in: Likewise.
11510 * gdb.asm/Makefile.in: Likewise.
11511 * gdb.base/Makefile.in: Likewise.
11512 * gdb.btrace/Makefile.in: Likewise.
11513 * gdb.cell/Makefile.in: Likewise.
11514 * gdb.compile/Makefile.in: Likewise.
11515 * gdb.cp/Makefile.in: Likewise.
11516 * gdb.disasm/Makefile.in: Likewise.
11517 * gdb.dlang/Makefile.in: Likewise.
11518 * gdb.dwarf2/Makefile.in: Likewise.
11519 * gdb.fortran/Makefile.in: Likewise.
11520 * gdb.gdb/Makefile.in: Likewise.
11521 * gdb.go/Makefile.in: Likewise.
11522 * gdb.guile/Makefile.in: Likewise.
11523 * gdb.java/Makefile.in: Likewise.
11524 * gdb.linespec/Makefile.in: Likewise.
11525 * gdb.mi/Makefile.in: Likewise.
11526 * gdb.modula2/Makefile.in: Likewise.
11527 * gdb.multi/Makefile.in: Likewise.
11528 * gdb.objc/Makefile.in: Likewise.
11529 * gdb.opencl/Makefile.in: Likewise.
11530 * gdb.opt/Makefile.in: Likewise.
11531 * gdb.pascal/Makefile.in: Likewise.
11532 * gdb.perf/Makefile.in: Likewise.
11533 * gdb.python/Makefile.in: Likewise.
11534 * gdb.reverse/Makefile.in: Likewise.
11535 * gdb.server/Makefile.in: Likewise.
11536 * gdb.stabs/Makefile.in: Likewise.
11537 * gdb.threads/Makefile.in: Likewise.
11538 * gdb.trace/Makefile.in: Likewise.
11539 * gdb.xml/Makefile.in: Likewise.
11540 * lib/gdb.exp (make_gdb_parallel_path): Add check for
11541 GDB_PARALLEL.
11542 (standard_output_file): Remove check for GDB_PARALLEL, always
11543 return path in outputs/$subdir/$testname.
11544
437277d4
SM
115452016-02-08 Simon Marchi <simon.marchi@ericsson.com>
11546
11547 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
11548 (site.exp): Assign abs_srcdir to tcl's srcdir.
11549
31d913c7
YQ
115502016-02-04 Yao Qi <yao.qi@linaro.org>
11551
11552 * gdb.base/foll-exec-mode.c: Include limits.h.
11553 (main): Add parameters argc and argv. Get directory from
11554 argv[0].
11555 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
11556 compilation.
11557 * gdb.base/foll-exec.c: Include limits.h.
11558 (main): Add parameters argc and argv.
11559 Get directory from argv[0].
11560 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
11561 Adjust tests on the number of lines as source code changed.
11562 * gdb.base/foll-vfork-exit.c: Include limits.h.
11563 (main): Add one line of statement before vfork.
11564 * gdb.base/foll-vfork.c: Include limits.h and string.h.
11565 (main): Add parameters argc and argv. Get directory from
11566 argv[0].
11567 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
11568 (setup_gdb): Set tbreak to skip some source lines.
11569 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
11570 (main): Add parameters argc and argv. Get directory from
11571 argv[0].
11572 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
11573 compilation.
11574 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
11575 (main): Add parameters argc and argv. Get directory from
11576 argv[0].
11577 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
11578 compilation.
11579
9482b9fb
DE
115802016-02-01 Doug Evans <dje@google.com>
11581
11582 * gdb.base/skip.exp: Clean up multiple references to same test name.
11583
6b2e4f10
PA
115842016-02-01 Pedro Alves <palves@redhat.com>
11585
ccb6afd6 11586 PR remote/19496
6b2e4f10
PA
11587 * gdb.threads/forking-threads-plus-breakpoint.exp
11588 (displaced_stepping_supported): New global.
11589 (probe_displaced_stepping_support): New procedure.
11590 (do_test): Add 'displaced' parameter, and use it.
11591 (top level): Check for displaced stepping support. Add displaced
11592 stepping on/off testing axis.
11593
37a8db1a
AB
115942016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
11595
11596 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
11597 pointer. Don't perform further tests on the unassociated pointer
11598 if the first test fails.
11599
5fdf6324
AB
116002016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
11601
11602 * gdb.base/max-value-size.c: New file.
11603 * gdb.base/max-value-size.exp: New file.
11604 * gdb.base/huge.exp: Disable max-value-size for this test.
11605
935c6144
IB
116062016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
11607
11608 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
11609
7fe8399d
YQ
116102016-01-28 Yao Qi <yao.qi@linaro.org>
11611
11612 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
11613
a2077e25
PA
116142016-01-25 Pedro Alves <palves@redhat.com>
11615
11616 PR threads/19461
11617 * gdb.base/fork-running-state.c: New file.
11618 * gdb.base/fork-running-state.exp: New file.
11619
1d2736d4
PA
116202016-01-25 Pedro Alves <palves@redhat.com>
11621
11622 PR gdb/19494
11623 * gdb.base/catch-fork-kill.c: New file.
11624 * gdb.base/catch-fork-kill.exp: New file.
11625
f1da4b11
PA
116262016-01-25 Pedro Alves <palves@redhat.com>
11627
11628 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
11629 Delete, moved to lib/gdb.exp.
11630 * gdb.threads/forking-threads-plus-breakpoint.exp
11631 (foreach_with_prefix): Likewise.
11632 * gdb.threads/process-dies-while-handling-bp.exp
11633 (foreach_with_prefix): Likewise.
11634 * lib/gdb.exp (foreach_with_prefix): New procedure.
11635
45f38546
MK
116362016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
11637
11638 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
11639 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
11640
dc29a1ce
MK
116412016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
11642
11643 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
11644 endian targets.
11645
092127d7
JK
116462016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11647 Pedro Alves <palves@redhat.com>
11648
11649 Fix testsuite compatibility with Guile.
11650 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
11651 number.
11652
31d765d3
JK
116532016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11654
11655 Fix testsuite compatibility with Guile.
11656 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
11657 (thread 1): New test for backtrace through signal handler.
11658
1ac78c04
YQ
116592016-01-22 Yao Qi <yao.qi@linaro.org>
11660
11661 PR testsuite/19491
11662 * gdb.base/multi-forks.c: Include
11663 ../lib/unbuffer_output.c
11664 (main): Call gdb_unbuffer_output.
11665
4f5946a8
DE
116662016-01-21 Doug Evans <dje@google.com>
11667
11668 * lib/ada.exp (gdb_compile_ada): Fix typo.
11669
305e13e6
JB
116702016-01-21 Joel Brobecker <brobecker@adacore.com>
11671
11672 * gdb.base/break-fun-addr.exp: New file.
11673 * gdb.base/break-fun-addr1.c: New file.
11674 * gdb.base/break-fun-addr2.c: New file.
11675
5f5dfff6
SM
116762016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
11677
11678 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
11679 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
11680 enum flag values.
11681
fd356fa2
AA
116822016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11683
11684 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
11685 when GDB can not set the vector return value. Add more comments
11686 for clarification.
11687
9df22175
AT
116882016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
11689
11690 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
11691 command.
11692
41d1845e
SM
116932016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11694
11695 * Makefile.in (DO_RUNTEST): Add --status and update usages.
11696
01ac6840
SM
116972016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11698
11699 * Makefile.in (check-single): Pass --status to runtest.
11700 (check/%.exp): Likewise.
11701
117022016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11703
11704 * Makefile.in (check-parallel): Propagate return code from make
11705 do-check-parallel.
11706
bd0a71fa
MK
117072016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
11708
11709 * gdb.trace/ftrace.exp: Fix expected message on continue.
11710 * gdb.trace/pending.exp: Fix expected message on continue.
11711 * gdb.trace/trace-break.exp: Fix expected message on continue.
11712
8bcbad33
SM
117132016-01-18 Simon Marchi <simon.marchi@ericsson.com>
11714
11715 * lib/gdb.exp (gdb_test): Remove unused global references.
11716
f303dbd6
PA
117172016-01-18 Pedro Alves <palves@redhat.com>
11718
11719 * gdb.base/async-shell.exp: Adjust expected output.
11720 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
11721 * gdb.base/siginfo-thread.exp: Adjust expected output.
11722 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
11723 * gdb.java/jnpe.exp: Adjust expected output.
11724 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
11725 * gdb.threads/continue-pending-status.exp: Adjust expected output.
11726 * gdb.threads/leader-exit.exp: Adjust expected output.
11727 * gdb.threads/manythreads.exp: Adjust expected output.
11728 * gdb.threads/pthreads.exp: Adjust expected output.
11729 * gdb.threads/schedlock.exp: Adjust expected output.
11730 * gdb.threads/siginfo-threads.exp: Adjust expected output.
11731 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
11732 expected output.
11733 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
11734 output.
11735 * gdb.threads/sigthread.exp: Adjust expected output.
11736 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
11737
b2789696
YQ
117382016-01-18 Yao Qi <yao.qi@linaro.org>
11739
11740 * gdb.guile/scm-section-script.c: Replace @progbits with
11741 %progbits.
11742 * gdb.python/py-section-script.c: Likewise.
11743
71ef29a8
PA
117442016-01-15 Pedro Alves <palves@redhat.com>
11745
11746 * gdb.multi/tids.exp: Test star wildcard ranges.
11747
3f5b7598
PA
117482016-01-15 Pedro Alves <palves@redhat.com>
11749
11750 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
11751 command from "thread apply" invocation.
11752 (thr_apply_info_thr_invalid): Default the expected output to the
11753 input tid list.
11754 (top level): Add tests that use convenience variables. Add tests
11755 for "thread apply" with a valid TID list, but missing the command.
11756
663f6d42
PA
117572016-01-13 Pedro Alves <palves@redhat.com>
11758
11759 * gdb.base/default.exp: Expect $_gthread as well.
11760 * gdb.multi/tids.exp: Test $_gthread.
11761 * gdb.threads/thread-specific.exp: Test $_gthread.
11762
c84f6bbf
PA
117632016-01-13 Pedro Alves <palves@redhat.com>
11764
11765 * gdb.multi/tids.exp: Test "info threads -gid".
11766
22a02324
PA
117672016-01-13 Pedro Alves <palves@redhat.com>
11768
11769 * gdb.multi/tids.exp: Test InferiorThread.global_num and
11770 Breakpoint.thread.
11771 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
11772
5d5658a1
PA
117732016-01-07 Pedro Alves <palves@redhat.com>
11774
11775 * gdb.base/break.exp: Adjust to output changes.
11776 * gdb.base/hbreak2.exp: Likewise.
11777 * gdb.base/sepdebug.exp: Likewise.
11778 * gdb.base/watch_thread_num.exp: Likewise.
11779 * gdb.linespec/keywords.exp: Likewise.
11780 * gdb.multi/info-threads.exp: Likewise.
11781 * gdb.threads/thread-find.exp: Likewise.
11782 * gdb.multi/tids.c: New file.
11783 * gdb.multi/tids.exp: New file.
11784
84654457
PA
117852016-01-13 Pedro Alves <palves@redhat.com>
11786
11787 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
11788
e3940304
PA
117892016-01-13 Pedro Alves <palves@redhat.com>
11790
11791 * gdb.base/default.exp: Expect $_inferior as well.
11792 * gdb.multi/base.exp: Test $_inferior.
11793
a911d87a
PA
117942016-01-13 Pedro Alves <palves@redhat.com>
11795
11796 PR breakpoints/19388
11797 * gdb.base/catch-signal-siginfo-cond.c: New file.
11798 * gdb.base/catch-signal-siginfo-cond.exp: New file.
11799
82075af2
JS
118002016-01-12 Josh Stone <jistone@redhat.com>
11801 Philippe Waroquiers <philippe.waroquiers@skynet.be>
11802
11803 * gdb.base/catch-syscall.c (do_execve): New variable.
11804 (main): Conditionally trigger an execve.
11805 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
11806 (test_catch_syscall_execve): New, check entry/return across execve.
11807 (do_syscall_tests): Call test_catch_syscall_execve.
11808
e46eeedd
PA
118092016-01-12 Pedro Alves <palves@redhat.com>
11810
11811 * gdb.base/random-signal.exp (do_test): New procedure, with body
11812 of testcase moved in.
11813
01d8c27e
JK
118142016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11815 Pedro Alves <palves@redhat.com>
11816
11817 * gdb.base/funcargs.exp (finish from indirectly called function):
11818 Reintroduce the case for 'First'.
11819
9a706302
JK
118202016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11821 Pedro Alves <palves@redhat.com>
11822
11823 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
11824 (tcatch_vfork_then_child_follow_exec)
11825 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
11826 identification.
11827
c0ecb95f
JK
118282016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11829
11830 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
11831 and repeats to unlimited.
11832 * gdb.python/py-value.exp: Likewise.
11833 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
11834 and repeats to unlimited.
11835
6cfc1fcb
JK
118362016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11837
11838 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
11839 and reordering the functions.
11840 * gdb.multi/hangout.c: Likewise.
11841 * gdb.multi/hello.c: Likewise.
11842
582a1b00
SM
118432016-01-08 Simon Marchi <simon.marchi@ericsson.com>
11844
11845 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
11846 absolute.
11847 (SingleStatisticTestResult.report): Use dict.keys instead of
11848 dict.iterkeys.
11849
79bc59cb
PA
118502016-01-06 Pedro Alves <palves@redhat.com>
11851
11852 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
11853
43368e1d
MM
118542016-01-04 Markus Metzger <markus.t.metzger@intel.com>
11855
11856 * gdb.btrace/dlopen.exp: New.
11857 * gdb.btrace/dlopen.c: New.
11858 * gdb.btrace/dlopen-dso.c: New.
11859
79fad5b8
SL
118602015-12-25 Sandra Loosemore <sandra@codesourcery.com>
11861
11862 * lib/gdb.exp (gdb_test): Update comments to clarify that the
11863 PATTERN argument is optional.
11864
ab8314b3
JB
118652015-12-24 Joel Brobecker <brobecker@adacore.com>
11866
11867 * lib/ada.exp (target_compile_ada_from_dir): New function.
11868 (gdb_compile_ada): Reimplement avoiding the use of project files.
11869 * gdb.ada/gnat_ada.gpr: Delete.
11870 * gdb.ada/cond_lang.exp: Adjust test to make path before
11871 filename optional.
11872 * gdb.ada/small_reg_param.exp: Likewise.
11873
fe33faff
SM
118742015-12-22 Simon Marchi <simon.marchi@ericsson.com>
11875
11876 * gdb.base/foll-vork.exp: Remove HP-UX special case.
11877
6d265cb4
TP
118782015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
11879
11880 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
11881 case.
11882
10125099
SM
118832015-12-21 Simon Marchi <simon.marchi@ericsson.com>
11884
11885 * gdb.base/break.exp: Remove dead code.
11886 * gdb.base/sepdebug.exp: Likewise.
11887
3ca22649
SM
118882015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
11889
11890 * gdb.asm/asm-source.exp: Remove HP-UX references.
11891 * gdb.base/annota1.exp: Likewise.
11892 * gdb.base/annota3.exp: Likewise.
11893 * gdb.base/attach.exp: Likewise.
11894 * gdb.base/bigcore.exp: Likewise.
11895 * gdb.base/break.exp: Likewise.
11896 * gdb.base/call-ar-st.exp: Likewise.
11897 * gdb.base/callfuncs.exp: Likewise.
11898 * gdb.base/catch-fork-static.exp: Likewise.
11899 * gdb.base/display.exp: Likewise.
11900 * gdb.base/foll-exec-mode.exp: Likewise.
11901 * gdb.base/foll-exec.exp: Likewise.
11902 * gdb.base/foll-fork.exp: Likewise.
11903 * gdb.base/foll-vfork.exp: Likewise.
11904 * gdb.base/funcargs.exp: Likewise.
11905 * gdb.base/hbreak2.exp: Likewise.
11906 * gdb.base/inferior-died.exp: Likewise.
11907 * gdb.base/interrupt.exp: Likewise.
11908 * gdb.base/multi-forks.exp: Likewise.
11909 * gdb.base/nodebug.exp: Likewise.
11910 * gdb.base/sepdebug.exp: Likewise.
11911 * gdb.base/solib1.c: Likewise.
11912 * gdb.base/step-test.exp: Likewise.
11913 * gdb.mi/non-stop.c: Likewise.
11914 * gdb.mi/pthreads.c: Likewise.
11915 * gdb.multi/bkpt-multi-exec.ex: Likewise.
11916 * gdb.threads/pthreads.c: Likewise.
11917 * gdb.threads/staticthreads.exp: Likewise.
11918 * lib/future.exp: Likewise.
11919 * lib/gdb.exp: Likewise.
11920 * gdb.base/so-indr-cl.c: Remove.
11921 * gdb.base/so-indr-cl.exp: Likewise.
11922 * gdb.base/solib.c: Likewise.
11923 * gdb.base/solib.exp: Likewise.
11924 * gdb.base/solib2.c: Likewise.
11925
b6304613
SM
119262015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
11927
11928 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
11929 * gdb.base/call-ar-st.exp: Likewise.
11930 * gdb.base/callfuncs.exp: Likewise.
11931 * gdb.base/condbreak.exp: Likewise.
11932 * gdb.base/constvars.exp: Likewise.
11933 * gdb.base/hbreak2.exp: Likewise.
11934 * gdb.base/langs.exp: Likewise.
11935 * gdb.base/list.exp: Likewise.
11936 * gdb.base/long_long.exp: Likewise.
11937 * gdb.base/ptype.exp: Likewise.
11938 * gdb.base/scope.exp: Likewise.
11939 * gdb.base/signals.exp: Likewise.
11940 * gdb.base/so-impl-ld.exp: Likewise.
11941 * gdb.base/varargs.exp: Likewise.
11942 * gdb.base/volatile.exp: Likewise.
11943 * gdb.base/whatis.exp: Likewise.
11944 * gdb.cp/cplusfuncs.exp: Likewise.
11945 * gdb.cp/inherit.exp: Likewise.
11946 * gdb.cp/local.exp: Likewise.
11947 * gdb.cp/member-ptr.exp: Likewise.
11948 * gdb.cp/method.exp: Likewise.
11949 * gdb.cp/overload.exp: Likewise.
11950 * gdb.cp/templates.exp: Likewise.
11951 * gdb.stabs/weird.exp: Likewise.
11952 * lib/compiler.c: Likewise.
11953 * lib/compiler.cc: Likewise.
11954 * lib/cp-support.exp: Likewise.
11955 * lib/gdb.exp: Likewise.
11956
bf401b07
SM
119572015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
11958
11959 * configure.ac: Remove HP-UX case.
11960 * configure: Regenerate.
11961
aff9c0f8
SM
119622015-12-18 Simon Marchi <simon.marchi@ericsson.com>
11963
11964 * lib/gdb.exp (gdb_compile): Add function doc.
11965
a6904d5a
PA
119662015-12-17 Pedro Alves <palves@redhat.com>
11967
11968 PR threads/19354
11969 * gdb.multi/info-threads.exp: New file.
11970
a22279dd
YQ
119712015-12-15 Yao Qi <yao.qi@linaro.org>
11972
11973 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
11974 is aarch64*-*-*.
11975
0588c796
SL
119762015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11977
11978 * gdb.base/history-duplicates.exp: Skip if no readline support.
11979
5d978e17
SL
119802015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11981
11982 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
11983
7e763b86
SL
119842015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11985
11986 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
11987
87a3a92c
SL
119882015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11989
11990 * gdb.base/completion.exp: Skip tests that interrupt GDB with
11991 ctrl-C if nointerrupts target property is set.
11992 * gdb.base/double-prompt-target-event-error.exp: Likewise.
11993 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
11994 * gdb.base/paginate-bg-execution.exp: Likewise.
11995 * gdb.base/paginate-execution-startup.exp: Likewise.
11996 * gdb.base/random-signal.exp: Likewise.
11997 * gdb.base/range-stepping.exp: Likewise.
11998 * gdb.cp/annota2.exp: Likewise.
11999 * gdb.cp/annota3.exp: Likewise.
12000 * gdb.gdb/selftest.exp: Likewise.
12001 * gdb.threads/continue-pending-status.exp: Likewise.
12002 * gdb.threads/leader-exit.exp: Likewise.
12003 * gdb.threads/manythreads.exp: Likewise.
12004 * gdb.threads/pthreads.exp: Likewise.
12005 * gdb.threads/schedlock.exp: Likewise.
12006 * gdb.threads/sigthread.exp: Likewise.
12007
a8f077dc
DB
120082015-12-11 Don Breazeal <donb@codesourcery.com>
12009
12010 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
12011 remote.
12012 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
12013 * gdb.base/foll-exec.exp (main): Enable for target remote.
12014 * gdb.base/foll-fork.exp (main): Likewise.
12015 * gdb.base/foll-vfork.exp (main): Likewise.
12016 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
12017 (proc continue_to_exit_bp_loc): Use clean_restart.
12018 * gdb.base/pie-execl.exp (main): Disable for target remote.
12019 * gdb.base/watch-vfork.exp (main): Enable for target remote.
12020 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
12021 * gdb.threads/execl.exp (main): Likewise.
12022 * gdb.threads/fork-child-threads.exp (main): Likewise.
12023 * gdb.threads/fork-plus-threads.exp (main): Disable for target
12024 remote.
12025 * gdb.threads/fork-thread-pending.exp (main): Enable for target
12026 remote.
12027 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
12028 pid.tid style ptids, instead of just tid.
12029 * gdb.threads/thread-execl.exp (main): Enable for target remote.
12030 * gdb.threads/watchpoint-fork.exp (main): Likewise.
12031 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
12032 ptids, instead of just tid.
12033
3b2464a8
AB
120342015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
12035
12036 * gdb.base/list.exp (test_list_forward): Add end of file error
12037 test.
12038 (test_repeat_list_command): Add end of file error test.
12039 (test_list_backwards): Add beginning of file error test.
12040
a0def019
AB
120412015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
12042
12043 * gdb.base/list.exp (test_list_invalid_args): New function,
12044 defined, and called.
12045
5c000dff
AB
120462015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
12047
12048 * gdb.base/list.exp (test_list): Make test names unique.
12049
f1637ebe
YQ
120502015-12-11 Yao Qi <yao.qi@linaro.org>
12051
12052 * gdb.base/coremaker2.c: Remove.
12053
36d6fc0a
PA
120542015-12-10 Pedro Alves <palves@redhat.com>
12055
12056 * gdb.multi/base.exp: Remove stale "spaces" references.
12057
762f7747
PA
120582015-12-10 Pedro Alves <palves@redhat.com>
12059
12060 * gdb.multi/base.exp: Don't use nowarnings.
12061 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
12062 * gdb.multi/hangout.c: Include stdio.h.
12063 * gdb.multi/hello.c: Include stdlib.h.
12064 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
12065 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
12066 * gdb.multi/multi-arch.exp: Don't use nowarnings.
12067
28d2bfb9
AB
120682015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
12069
12070 * gdb.dwarf2/dw2-ranges-base.c: New file.
12071 * gdb.dwarf2/dw2-ranges-base.exp: New file.
12072 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
12073 support additional line table, and debug ranges generation.
12074 (Dwarf::ranges): New function, generate .debug_ranges.
12075 (Dwarf::lines): Support generating simple line table programs.
12076 (Dwarf::assemble): Initialise new namespace variables.
12077
5fc2beac
KB
120782015-12-09 Kevin Buettner <kevinb@redhat.com>
12079
12080 * gdb.base/async.exp (proc test_background): Add case for
12081 asynchronous execution not supported.
12082
1c35a88f
LM
120832015-12-09 Luis Machado <lgustavo@codesourcery.com>
12084
12085 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
12086 format and change test names to make them unique.
12087
b593e3d9
RK
120882015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
12089 Pedro Alves <pedro@redhat.com>
12090
12091 PR gdb/18702
12092 Add checking of floatformats setup on x86_64 hosts.
12093 * gdb.arch/i386-float.S (main): Load bigval and smallval.
12094 (smallval, bigval): New labels/constants.
12095 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
12096 float" after loading bigval and smallval.
12097
d72413e6
PMR
120982015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
12099
12100 * gdb.ada/fun_overload_menu.exp: New testcase.
12101 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
12102
ece66d65
JS
121032015-12-04 Josh Stone <jistone@redhat.com>
12104
12105 * gdb.base/catch-fork-static.exp: New.
12106
41d0efca
YQ
121072015-12-03 Yao Qi <yao.qi@linaro.org>
12108
12109 * gdb.base/sizeof.c: Don't include stdio.h and
12110 ../lib/unbuffer_output.c.
12111 (main): New variable 'size' and 'value'. Remove printf and
12112 gdb_unbuffer_output. Assign return value to size and value.
12113 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
12114 at the beginning.
12115 (check_sizeof): Check the result by printing variable 'size'.
12116 (check_valueof): Check the result by printing variable 'value'.
12117
99fd02d9
YQ
121182015-12-01 Yao Qi <yao.qi@linaro.org>
12119
12120 * gdb.base/disp-step-syscall.exp: Define syscall instruction
12121 for aarch64*-*-linux* target.
12122
f2faf941
PA
121232015-11-30 Pedro Alves <palves@redhat.com>
12124
12125 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
12126
04bf20c5
PA
121272015-11-30 Pedro Alves <palves@redhat.com>
12128
12129 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
12130 Handle non-stop mode vCont replies.
12131
09df4675
PA
121322015-11-30 Pedro Alves <palves@redhat.com>
12133
12134 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
12135 prepare_for_testing. Start gdb with "set non-stop on" appended to
12136 GDBFLAGS. Lax expected stop output.
12137
58b584af
YQ
121382015-11-27 Yao Qi <yao.qi@linaro.org>
12139
12140 * gdb.arch/arm-neon.exp: New.
12141 * gdb.arch/arm-neon.c: New.
12142
dfcb77a8
YQ
121432015-11-27 Yao Qi <yao.qi@linaro.org>
12144
12145 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
12146
88e8ec1b
YQ
121472015-11-27 Yao Qi <yao.qi@linaro.org>
12148
12149 * gdb.cp/annota2.exp: Allow multiple occurrences of the
12150 frames-invalid annotation.
12151
bfde72c2
YQ
121522015-11-27 Yao Qi <yao.qi@linaro.org>
12153
12154 * gdb.cp/annota2.exp: Use ${frames_invalid}.
12155
f6512a69
SM
121562015-11-26 Simon Marchi <simon.marchi@ericsson.com>
12157
12158 * gdb.threads/names.exp: New file.
12159 * gdb.threads/names.c: New file.
12160 * README: Mention gdb,no_thread_names.
12161
46a3515b
MM
121622015-11-26 Markus Metzger <markus.t.metzger@intel.com>
12163
12164 PR 19297
12165 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
12166 support" error.
12167
62147a22
PA
121682015-11-24 Pedro Alves <palves@redhat.com>
12169
12170 PR 17539
12171 * gdb.base/display.exp: Expect displays to be sorted in ascending
12172 order. Use multi_line.
12173 * gdb.base/solib-display.exp: Likewise.
12174
2f341b6e
PA
121752015-11-24 Pedro Alves <palves@redhat.com>
12176
12177 PR 17539
25d49b86
PA
12178 * gdb.base/display.exp: Expect displays to be sorted in ascending
12179 order. Use multi_line.
12180 * gdb.base/solib-display.exp: Likewise.
2f341b6e 12181
7e0aa6aa
PA
121822015-11-24 Pedro Alves <palves@redhat.com>
12183
12184 PR 17539
12185 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
12186 threads in ascending order.
12187 * gdb.base/foll-fork.exp: Likewise.
12188 * gdb.base/foll-vfork.exp: Likewise.
12189 * gdb.base/multi-forks.exp: Likewise.
12190 * gdb.mi/mi-nonstop.exp: Likewise.
12191 * gdb.mi/mi-nsintrall.exp: Likewise.
12192 * gdb.multi/base.exp: Likewise.
12193 * gdb.multi/multi-arch.exp: Likewise.
12194 * gdb.python/py-inferior.exp: Likewise.
12195 * gdb.threads/break-while-running.exp: Likewise.
12196 * gdb.threads/execl.exp: Likewise.
12197 * gdb.threads/gcore-thread.exp: Likewise.
12198 * gdb.threads/info-threads-cur-sal.exp: Likewise.
12199 * gdb.threads/kill.exp: Likewise.
12200 * gdb.threads/linux-dp.exp: Likewise.
12201 * gdb.threads/multiple-step-overs.exp: Likewise.
12202 * gdb.threads/next-bp-other-thread.exp: Likewise.
12203 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
12204 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
12205 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
12206 * gdb.threads/thread-find.exp: Likewise.
12207 * gdb.threads/tls.exp: Likewise.
12208 * lib/mi-support.exp (mi_reverse_list): Delete.
12209 (mi_check_thread_states): No longer reverse list.
12210
2cc57ad8
PA
122112015-11-24 Pedro Alves <palves@redhat.com>
12212
12213 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
12214 use lowercase.
12215
c93e8391
SM
122162015-11-23 Simon Marchi <simon.marchi@ericsson.com>
12217
12218 * gdb.trace/actions.c: Include trace-common.h.
12219 (main): Add a location for a fast tracepoint.
12220 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
12221 the normal tracepoints.
12222 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
12223
045ccf91
SM
122242015-11-23 Simon Marchi <simon.marchi@ericsson.com>
12225
12226 * save-trace.exp: Factor out code to these...
12227 (gdb_save_tracepoints): New.
12228 (gdb_load_tracepoints): New.
12229 (do_save_load_test): New.
12230
5506f9f6
KB
122312015-11-23 Kevin Buettner <kevinb@redhat.com>
12232
12233 * gdb.base/asmlabel.exp: New test.
12234 * gdb.base/asmlabel.c: New test case.
12235
16c3b12f
JB
122362015-11-23 Joel Brobecker <brobecker@adacore.com>
12237
12238 * gdb.base/wrong_frame_bt_full-main.c: New file.
12239 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
12240 * gdb.base/wrong_frame_bt_full.exp: New file.
12241
155bfbd3
JB
122422015-11-23 Joel Brobecker <brobecker@adacore.com>
12243
12244 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
12245
bb097445
JM
122462015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
12247
206853a0 12248 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
12249 pstate register when comparing registers values in
12250 sparc64-*-linux-gnu targets to avoid spurious differences.
12251
9c88ed8f
JM
122522015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
12253
206853a0 12254 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 12255
96161e25
SL
122562015-11-19 Sandra Loosemore <sandra@codesourcery.com>
12257
12258 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
12259 as type argument to gdb_compile.
12260 * gdb.base/nested-subp2.exp: Likewise.
12261 * gdb.base/nested-subp3.exp: Likewise.
12262
340c2830
DV
122632015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
12264
12265 * lib/dwarf.exp (_note): Fix left shift of negative value.
12266 * gdb.trace/trace-condition.exp: Likewise.
12267
c1862d0f
YQ
122682015-11-13 Yao Qi <yao.qi@linaro.org>
12269
12270 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
12271 comments about d10v.
12272 (test_scalar_returns): Likewise.
12273 * gdb.base/d10v.ld: Remove.
12274 * gdb.base/overlays.exp: Remove the target triplet checking for
12275 d10v-*-*.
12276 * gdb.base/structs.exp (test_struct_returns): Remove the
12277 comments about d10v.
12278 (test_struct_calls): Likewise.
12279
77ae9c19
YQ
122802015-11-13 Yao Qi <yao.qi@linaro.org>
12281
12282 * gdb.base/gnu_vector.exp: Check the return value by "p res".
12283 * gdb.base/gnu_vector.c: Don't include stdio.h.
12284 (main): Don't print res and call add_some_intvecs.
12285
430e004e
MK
122862015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
12287
12288 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
12289 macro.
12290 (func5): Removed.
12291 (func4): Use FAST_TRACEPOINT_LABEL.
12292 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
12293 macro.
12294 (func): Removed.
12295 (thread_function): Use FAST_TRACEPOINT_LABEL.
12296 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
12297 (func): Remove.
12298 (marker): Use FAST_TRACEPOINT_LABEL.
12299 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
12300 (pendfunc1): Remove.
12301 (pendfunc): Use FAST_TRACEPOINT_LABEL.
12302 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
12303 (foo): Remove.
12304 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
12305 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
12306 macro.
12307 (func): Remove.
12308 (marker): Use FAST_TRACEPOINT_LABEL.
12309 * gdb.trace/trace-common.h: New header.
12310 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
12311 macro.
12312 (func): Remove.
12313 (marker): Use FAST_TRACEPOINT_LABEL.
12314 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
12315 (func): Remove.
12316 (thread_function): Use FAST_TRACEPOINT_LABEL.
12317
6e7675a7
MK
123182015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
12319
12320 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
12321 in front.
12322 * gdb.trace/change-loc.exp: Use global pcreg definition.
12323 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
12324 * gdb.trace/entry-values.exp: Use global spreg definition, add $
12325 in front.
12326 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
12327 * gdb.trace/pending.exp: Likewise.
12328 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
12329 * gdb.trace/trace-break.exp: Likewise.
12330 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
12331 in front.
12332 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
12333 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
12334 in front.
12335 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
12336
dddc0e16
JB
123372015-11-09 Joel Brobecker <brobecker@adacore.com>
12338
12339 * gdb.ada/fin_fun_out: New testcase.
12340
c6f0b406
KB
123412015-11-07 Kevin Buettner <kevinb@redhat.com>
12342
12343 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
12344 value associated with DW_AT_byte_size.
12345 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
12346 constants for DW_AT_byte_size, DW_AT_lower_bound, and
12347 DW_AT_upper_bound.
12348
f01dcfd9
KB
123492015-11-07 Kevin Buettner <kevinb@redhat.com>
12350
12351 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
12352 (gdb_target_symbol_prefix_flags): Define in terms of _asm
12353 version.
12354 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
12355 gdb.dwarf2/dw2-canonicalize-type.exp,
12356 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
12357 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
12358 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
12359 provided by gdb_target_symbol_prefix_flags_asm.
12360 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
12361 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
12362 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
12363 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
12364 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
12365 macros where needed). Use this macro for symbols which require
12366 the prefix provided by SYMBOL_PREFIX.
12367
2223449a
KB
123682015-11-05 Kevin Buettner <kevinb@redhat.com>
12369
12370 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
12371 New procs.
12372 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
12373 representing expressions, of more than one list element.
12374 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
12375 to prepend linker symbol prefix to f.
12376 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
12377 table_1 and table_2.
12378 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
12379 Likewise, for f and g.
12380 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
12381 for ptr.
12382 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
12383 for main.
12384 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
12385 table_1_ptr and table_2_ptr.
12386
6f2f1a3a
JK
123872015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12388 Joel Brobecker <brobecker@adacore.com>
12389
12390 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
12391
566c56c9
MK
123922015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
12393
12394 * gdb.reverse/s390-mvcle.c: New test.
12395 * gdb.reverse/s390-mvcle.exp: New file.
12396 * lib/gdb.exp: Enable reverse tests on s390*-linux.
12397
d5f0636b
MK
123982015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
12399
12400 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
12401
7ad8b86c
MK
124022015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
12403
12404 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
12405 reaching marker2.
12406 * gdb.reverse/getresuid-reverse.exp: Likewise.
12407 * gdb.reverse/pipe-reverse.exp: Likewise.
12408 * gdb.reverse/readv-reverse.exp: Likewise.
12409 * gdb.reverse/recvmsg-reverse.exp: Likewise.
12410 * gdb.reverse/time-reverse.exp: Likewise.
12411 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
12412
4081c0f1
YQ
124132015-10-30 Yao Qi <yao.qi@linaro.org>
12414
12415 * gdb.threads/wp-replication.c (watch_count_done): Remove.
12416 (empty_cycle): Remove.
12417 (main): Don't call empty_cycle. Don't use watch_count_done.
12418 * gdb.threads/wp-replication.exp: Don't set breakpoint on
12419 empty_cycle. Rewrite the code counting HW watchpoints.
12420
452b4ba5
MK
124212015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
12422
12423 * gdb.reverse/fstatat-reverse.c: New test.
12424 * gdb.reverse/fstatat-reverse.exp: New file.
12425 * gdb.reverse/getresuid-reverse.c: New test.
12426 * gdb.reverse/getresuid-reverse.exp: New file.
12427 * gdb.reverse/pipe-reverse.c: New test.
12428 * gdb.reverse/pipe-reverse.exp: New file.
12429 * gdb.reverse/readv-reverse.c: New test.
12430 * gdb.reverse/readv-reverse.exp: New file.
12431 * gdb.reverse/recvmsg-reverse.c: New test.
12432 * gdb.reverse/recvmsg-reverse.exp: New file.
12433 * gdb.reverse/time-reverse.c: New test.
12434 * gdb.reverse/time-reverse.exp: New file.
12435 * gdb.reverse/waitpid-reverse.c: New test.
12436 * gdb.reverse/waitpid-reverse.exp: New file.
12437
5e2e7507
JK
124382015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
12439
12440 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
12441
0fde2c53
DE
124422015-10-26 Doug Evans <dje@google.com>
12443
12444 PR symtab/17391
12445 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
12446 * gdb.dwarf2/bad-regnum.c: New file.
12447 * gdb.dwarf2/bad-regnum.exp: New file.
12448
1a70ae97
DE
124492015-10-26 Doug Evans <dje@google.com>
12450
12451 PR python/18938
12452 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
12453 file.
12454
27dc26ab
JK
124552015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12456
12457 * gdb.compile/compile.exp (compile code globalvar): Update expectation
12458 for a change by "Mention language in compile error message".
12459
bed91f4d
SM
124602015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
12461
12462 PR python/18073
12463 * gdb.python/py-type.c (C::a_method): New.
12464 (C::a_const_method): New.
12465 (C::a_static_method): New.
12466 (a_function): New.
12467 * gdb.python/py-type.exp (test_fields): Test getting fields
12468 from function and method.
12469
3f2f83dd
KB
124702015-10-21 Keven Boell <keven.boell@intel.com>
12471
12472 * gdb.fortran/vla-alloc-assoc.exp: New file.
12473 * gdb.fortran/vla-datatypes.exp: New file.
12474 * gdb.fortran/vla-datatypes.f90: New file.
12475 * gdb.fortran/vla-history.exp: New file.
12476 * gdb.fortran/vla-ptype-sub.exp: New file.
12477 * gdb.fortran/vla-ptype.exp: New file.
12478 * gdb.fortran/vla-sizeof.exp: New file.
12479 * gdb.fortran/vla-sub.f90: New file.
12480 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
12481 * gdb.fortran/vla-value-sub-finish.exp: New file.
12482 * gdb.fortran/vla-value-sub.exp: New file.
12483 * gdb.fortran/vla-value.exp: New file.
12484 * gdb.fortran/vla-ptr-info.exp: New file.
12485 * gdb.mi/mi-vla-fortran.exp: New file.
12486 * gdb.mi/vla.f90: New file.
12487
27145d50
SL
124882015-10-21 Sandra Loosemore <sandra@codesourcery.com>
12489
12490 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
12491 of hardwired timeout value.
12492
5f3ff4f8
JK
124932015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12494 Pedro Alves <palves@redhat.com>
12495
12496 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
12497 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
12498
bfd09d20
JS
124992015-10-19 Josh Stone <jistone@redhat.com>
12500
12501 * gdb.base/catch-syscall.c: Include <sched.h>.
12502 (unknown_syscall): New variable.
12503 (main): Trigger a vfork and an unknown syscall.
12504 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
12505 (unknown_syscall_number): Likewise.
12506 (check_call_to_syscall): Accept an optional syscall pattern.
12507 (check_return_from_syscall): Likewise.
12508 (check_continue): Likewise.
12509 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
12510 (test_catch_syscall_skipping_return): New test toggling off 'catch
12511 syscall' to step over the syscall return, then toggling back on.
12512 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
12513 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
12514 (do_syscall_tests): Call test_catch_syscall_without_args and
12515 test_catch_syscall_mid_vfork.
12516 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
12517 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
12518
b32b93c6
AS
125192015-10-19 Andrew Stubbs <ams@codesourcery.com>
12520
12521 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
12522 print g_vE): Add new pass patterns.
12523 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
12524 print various symbol names for vptr fields.
12525
9d622bda
AB
125262015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
12527
12528 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
12529 results.
12530
0fd8ac1c
YQ
125312015-10-12 Yao Qi <yao.qi@linaro.org>
12532
12533 * gdb.arch/disp-step-insn-reloc.exp: New test case.
12534
34240514
YQ
125352015-10-12 Yao Qi <yao.qi@linaro.org>
12536
12537 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
12538 is aarch64*-*-linux*.
12539
8240f442
YQ
125402015-10-12 Yao Qi <yao.qi@linaro.org>
12541
12542 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
12543 (can_relocate_bcond_true): ... it.
12544 (can_relocate_bcond_false): New function.
12545 (foo): Likewise.
12546 (can_relocate_bl): Likewise.
12547 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
12548 can_relocate_bl.
12549
2520f728
PMR
125502015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
12551
12552 * gdb.base/nested-addr.c: New file.
12553 * gdb.base/nested-addr.exp: New testcase.
12554
abcef95a
MM
125552015-10-09 Markus Metzger <markus.t.metzger@intel.com>
12556
12557 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
12558 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
12559 its output. Ignore the output of "record goto begin" and instead
12560 check that GDB is replaying.
12561
145e3ddb
PA
125622015-10-09 Pedro Alves <palves@redhat.com>
12563
12564 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
12565 (top level): Use it in the run with no args test.
12566
d5d8c4e1
IB
125672015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
12568
12569 * gdb.dlang/properties.exp: New file.
12570
06e635ef
SL
125712015-10-02 Sandra Loosemore <sandra@codesourcery.com>
12572
12573 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
12574 whether or not address 0x1000 is mapped on the target.
12575
e019fd1d
SM
125762015-09-30 Simon Marchi <simon.marchi@ericsson.com>
12577
12578 * gdb.python/py-type.exp: Do not run tests if binaries fail to
12579 build.
12580
77ba2a67
MM
125812015-09-30 Markus Metzger <markus.t.metzger@intel.com>
12582
12583 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
12584 instruction-history test.
12585
c60eb31f
DE
125862015-09-28 Doug Evans <dje@google.com>
12587
12588 * gdb.base/gcore.c (array_func): Add reference to static_array.
12589
9a3c8263
SM
125902015-09-25 Simon Marchi <simon.marchi@ericsson.com>
12591
12592 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
12593 source line.
12594
9720e656
SL
125952015-09-24 Sandra Loosemore <sandra@codesourcery.com>
12596
12597 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
12598 short or char as base type.
12599
938d3bf2
SL
126002015-09-23 Sandra Loosemore <sandra@codesourcery.com>
12601
12602 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
12603 to allow any size enum.
12604
e6c2c623
PMR
126052015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
12606
12607 * gdb.ada/array_ptr_renaming.exp: New testcase.
12608 * gdb.ada/array_ptr_renaming/foo.adb: New file.
12609 * gdb.ada/array_ptr_renaming/pack.ads: New file.
12610
06da0f77
PL
126112015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12612
12613 * gdb.trace/ftrace-lock.c: New file.
12614 * gdb.trace/ftrace-lock.exp: New file.
12615
4f51c22a
PL
126162015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12617
12618 * gdb.arch/insn-reloc.c: New file.
12619 * gdb.arch/ftrace-insn-reloc.exp: New file.
12620
7041adf4
PL
126212015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12622
12623 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
12624 instruction.
12625 * gdb.trace/pendshr1.c (pendfunc): Likewise.
12626 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
12627 * gdb.trace/range-stepping.c: Likewise.
12628 * gdb.trace/trace-break.c: Likewise.
12629 * gdb.trace/trace-mt.c (thread_function): Likewise.
12630 * gdb.trace/ftrace.c (marker): Likewise.
12631 * gdb.trace/trace-condition.c (marker): Likewise.
12632 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
12633 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
12634 is_aarch64_target.
12635
015d2e7e
DE
126362015-09-18 Doug Evans <xdje42@gmail.com>
12637
12638 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
12639 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
12640
26b188a2
SL
126412015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12642
12643 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
12644 the breakpoint.
12645
79dc332b
SL
126462015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12647
12648 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
12649 the pending breakpoint. Remove timeout override for "Run till
12650 MI pending breakpoint on pendfunc3 on thread 2" test.
12651
f57929f2
SL
126522015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12653
12654 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
12655 filename pattern.
12656
3f469b17
SL
126572015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12658
12659 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
12660 in breakpoint filename pattern.
12661
515b89b3
SL
126622015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12663
7800dbe4
SL
12664 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
12665
126662015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12667
515b89b3
SL
12668 * gdb.linespec/explicit.exp: Check for readline support for
12669 tab-completion tests. Fix obvious typo.
12670
d2939ba2
MM
126712015-09-18 Markus Metzger <markus.t.metzger@intel.com>
12672
12673 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
12674 and replay.
12675
cbb55fa7
MM
126762015-09-18 Markus Metzger <markus.t.metzger@intel.com>
12677
12678 * gdb.btrace/non-stop.c: New.
12679 * gdb.btrace/non-stop.exp: New.
12680
43691ca1
PL
126812015-09-17 Pierre Langlois <pierre.langlois@arm.com>
12682 Yao Qi <yao.qi@linaro.org>
12683
12684 * gdb.trace/trace-condition.c: New file.
12685 * gdb.trace/trace-condition.exp: New file.
12686
d78908cf
WW
126872015-09-16 Wei-cheng Wang <cole945@gmail.com>
12688
12689 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
12690 for testing bytecode compilation.
12691
1ed415e2
PA
126922015-09-16 Pedro Alves <palves@redhat.com>
12693 Sandra Loosemore <sandra@codesourcery.com>
12694
12695 * gdb.threads/non-stop-fair-events.c (timeout): New global.
12696 (SECONDS): Redefine.
12697 (main): Call pthread_kill and alarm early.
12698 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
12699 support.
12700 (test): If the target can't hardware step and doesn't support
12701 displaced stepping, increase the timeout.
12702
d136eff5
PA
127032015-09-16 Pedro Alves <palves@redhat.com>
12704
12705 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
12706 (enable_debug): New procedures.
12707 (test): Use them. Bail out if waiting for threads fails.
12708 (top level): Bail out if a test fails.
12709
991f019c
YQ
127102015-09-16 Yao Qi <yao.qi@linaro.org>
12711
12712 * gdb.asm/asm-source.exp: Set asm-arch for
12713 aarch64*-*-* target.
12714 * gdb.asm/aarch64.inc: New file.
12715
bfca584f
PMR
127162015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
12717
12718 * gdb.ada/array_of_variable_length.exp: New testcase.
12719 * gdb.ada/array_of_variable_length/foo.adb: New file.
12720 * gdb.ada/array_of_variable_length/pck.adb: New file.
12721 * gdb.ada/array_of_variable_length/pck.ads: New file.
12722
b326e587
DE
127232015-09-15 Doug Evans <dje@google.com>
12724
12725 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
12726 of function static local variable.
12727
5382cfab
PW
127282015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
12729
12730 * gdb.threads/tls-so_extern.exp: New test file.
12731 * gdb.threads/tls-so_extern.c: New test file.
12732 * gdb.threads/tls-so_extern_main.c: New test file.
12733
141c5cc4
JK
127342015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12735
12736 * gdb.opt/solib-intra-step-lib.c: New file.
12737 * gdb.opt/solib-intra-step-main.c: New file.
12738 * gdb.opt/solib-intra-step.exp: New file.
12739
d15dcecd
PA
127402015-09-15 Pedro Alves <palves@redhat.com>
12741
12742 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
12743 gdb_continue_to_breakpoint instead of gdb_test_multiple.
12744
4c2f2a79
PA
127452015-09-14 Pedro Alves <palves@redhat.com>
12746
12747 * gdb.base/hook-stop-continue.c: Delete.
12748 * gdb.base/hook-stop-continue.exp: Delete.
12749 * gdb.base/hook-stop-frame.c: Delete.
12750 * gdb.base/hook-stop-frame.exp: Delete.
12751 * gdb.base/hook-stop.c: New file.
12752 * gdb.base/hook-stop.exp: New file.
12753
919e6dbe
PMR
127542015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
12755
12756 * gdb.ada/access_to_packed_array.exp: New testcase.
12757 * gdb.ada/access_to_packed_array/foo.adb: New file.
12758 * gdb.ada/access_to_packed_array/pack.adb: New file.
12759 * gdb.ada/access_to_packed_array/pack.ads: New file.
12760
157280a4
MM
127612015-09-14 Markus Metzger <markus.t.metzger@intel.com>
12762
12763 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
12764 buffer size test.
12765
2fd33e94
DB
127662015-09-11 Don Breazeal <donb@codesourcery.com>
12767
12768 * gdb.base/foll-exec.c: Add copyright header. Fix
12769 formatting issues.
12770 * gdb.base/foll-exec.exp (zap_session): Delete proc.
12771 (do_exec_tests): Use clean_restart in place of zap_session,
12772 and for test initialization. Fix formatting issues. Use
12773 fail in place of perror.
12774 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
12775 an expect statement to match an expression with output from
12776 the program under debug.
12777 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
12778 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
12779 * gdb.threads/non-ldr-exc-2.exp: Likewise.
12780 * gdb.threads/non-ldr-exc-3.exp: Likewise.
12781 * gdb.threads/non-ldr-exc-4.exp: Likewise.
12782
e70b6e8e
DE
127832015-09-09 Doug Evans <dje@google.com>
12784
12785 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
12786
7a551a51
DE
127872015-09-09 Doug Evans <dje@google.com>
12788
12789 * gdb.base/pie-execl.exp: Fix result test of build_executable.
12790
4c666f84
DE
127912015-09-09 Doug Evans <dje@google.com>
12792
12793 * gdb.base/savedregs.exp: Fix typo.
12794
243a9253
PA
127952015-09-09 Pedro Alves <palves@redhat.com>
12796
12797 * gdb.mi/mi-cli.exp: Add CLI finish tests.
12798
c0fa8fbd
SL
127992015-09-08 Sandra Loosemore <sandra@codesourcery.com>
12800
12801 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
12802 command actually switches threads. Give up on remaining
12803 tests if target fails to stop at breakpoint.
12804
cd7c1778
PMR
128052015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
12806
12807 * gdb.ada/funcall_char.exp: New testcase.
12808 * gdb.ada/funcall_char/foo.adb: New file.
12809
dc5c8746
PMR
128102015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
12811
12812 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
12813 expected outputs. Add two testcases for completing ambiguous
12814 functions.
12815 * gdb.ada/complete/aux_pck.adb: New file.
12816 * gdb.ada/complete/aux_pck.ads: New file.
12817 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
12818 Ambiguous_Func functions.
12819 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
12820 * gdb.ada/complete/pck.adb: Likewise.
12821
4e83a1e7
UW
128222015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
12823
12824 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
12825 failures to run the test program under GDB.
12826
8ce74153
LM
128272015-08-26 Luis Machado <lgustavo@codesourcery.com>
12828
12829 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
12830 to C.
12831
e9756d52
PP
128322015-08-26 Patrick Palka <patrick@parcs.ath.cx>
12833
12834 * gdb.base/run-after-attach.exp: New test file.
12835 * gdb.base/run-after-attach.c: New test file.
12836
8d37573b
DB
128372015-08-26 Don Breazeal <donb@codesourcery.com>
12838
12839 * gdb.base/foll-exec-2.c: New test program.
12840 * gdb.base/foll-exec-2.exp: New test.
12841
63e43d3a
PMR
128422015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
12843
12844 * gdb.base/nested-subp1.exp: New file.
12845 * gdb.base/nested-subp1.c: New file.
12846 * gdb.base/nested-subp2.exp: New file.
12847 * gdb.base/nested-subp2.c: New file.
12848 * gdb.base/nested-subp3.exp: New file.
12849 * gdb.base/nested-subp3.c: New file.
12850
3d40fbb5
PA
128512015-08-24 Pedro Alves <palves@redhat.com>
12852
12853 * gdb.server/connect-without-multi-process.c: New file.
12854 * gdb.server/connect-without-multi-process.exp: New file.
12855
4422ac93
LM
128562015-08-24 Luis Machado <lgustavo@codesourcery.com>
12857
12858 * gdb.opt/inline-markers.c: Make z int.
12859
91dddb86
LM
128602015-08-24 Luis Machado <lgustavo@codesourcery.com>
12861
12862 * gdb.opt/inline-markers.c: Make z volatile.
12863
a48847ee
LM
128642015-08-24 Luis Machado <lgustavo@codesourcery.com>
12865
12866 * gdb.opt/inline-bt.c: New volatile global z.
12867 * gdb.opt/inline-cmds.c: Likewise.
12868 * gdb.opt/inline-locals.c: Likewise.
12869 * gdb.opt/inline-markers.c: New extern global z.
12870 (marker): Use z.
12871 (inline_fn): Likewise.
12872
0ebbc52b
PA
128732015-08-24 Pedro Alves <palves@redhat.com>
12874
12875 * config/m32r-stub.exp: Remove file.
12876 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
12877 * gdb.base/call-rt-st.exp: Likewise.
12878 * gdb.base/call-strs.exp: Likewise.
12879 * gdb.base/default.exp: Remove references to h8300-*-hms and
12880 *-*-udi*.
12881 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
12882
77c365df
AA
128832015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12884
12885 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
12886 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
12887 and "return" use KFAIL when GDB can not read/write the vector
12888 return value.
12889
4313b8c0
GB
128902015-08-21 Gary Benson <gbenson@redhat.com>
12891
12892 * gdb.trace/pending.exp: Cope with remote transfer warnings.
12893
0e433b32
PA
128942015-08-20 Pedro Alves <palves@redhat.com>
12895
12896 * gdb.server/solib-list.exp: No longer expect an interior stop in
12897 non-stop mode.
12898
221e1a37
PA
128992015-08-20 Pedro Alves <palves@redhat.com>
12900
12901 * gdb.server/connect-stopped-target.c: New file.
12902 * gdb.server/connect-stopped-target.exp: New file.
12903
40e3ad0e
PA
129042015-08-20 Pedro Alves <palves@redhat.com>
12905
12906 * gdb.dwarf2/comp-unit-lang.exp: New file.
12907 * gdb.dwarf2/comp-unit-lang.c: New file.
12908
af39b327
PMR
129092015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
12910
12911 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
12912 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
12913
7d45c7c3 129142015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 12915
7d45c7c3
KB
12916 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
12917 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
12918
4d6cceb4
DE
129192015-08-18 Doug Evans <dje@google.com>
12920 Adrian Sendroiu <adrian.sendroiu@freescale.com>
12921
12922 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
12923 skip_python_tests. New arg prompt_regexp.
12924 (skip_python_tests): New function.
12925 * lib/mi-support.exp (mi_skip_python_tests): New function.
12926 * gdb.python/py-mi-objfile-gdb.py: New file.
12927 * gdb.python/py-mi-objfile.c: New file.
12928 * gdb.python/py-mi-objfile.exp: New file.
12929
ad89c2aa
KS
129302015-08-17 Keith Seitz <keiths@redhat.com>
12931
12932 * gdb.linespec/explicit.exp: Move strace test from here ...
12933 * gdb.trace/strace.exp: ... to here.
12934
e3ae3c43
PP
129352015-08-15 Patrick Palka <patrick@parcs.ath.cx>
12936
12937 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
12938 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
12939
604b2636
DE
129402015-08-14 Doug Evans <xdje42@gmail.com>
12941
12942 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
12943 inferior before selecting a new file.
12944
6ff0ba5f
DE
129452015-08-14 Doug Evans <xdje42@gmail.com>
12946
12947 * gdb.mi/mi-disassemble.exp: Update.
12948 * gdb.base/disasm-optim.S: New file.
12949 * gdb.base/disasm-optim.c: New file.
12950 * gdb.base/disasm-optim.h: New file.
12951 * gdb.base/disasm-optim.exp: New file.
12952
9ca98f92
KS
129532015-08-14 Keith Seitz <keiths@redhat.com>
12954
12955 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
12956 "evaluated-by".
12957
52bbc560
JB
129582015-08-13 Joel Brobecker <brobecker@adacore.com>
12959
12960 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
12961
5d8c3ed3
PMR
129622015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
12963
12964 * gdb.ada/fun_renaming.exp: New testcase.
12965 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
12966 * gdb.ada/fun_renaming/pack.adb: New file.
12967 * gdb.ada/fun_renaming/pack.ads: New file.
12968
ea8812bc
KS
129692015-08-12 Keith Seitz <keiths@redhat.com>
12970
12971 * gdb.base/dso2dso.exp: Pass basename of source file in call to
12972 gdb_get_line_number.
12973
4dafcdeb
JB
129742015-08-12 Joel Brobecker <brobecker@adacore.com>
12975
12976 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
12977 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
12978 gdb.base/dso2dso.exp: New files.
12979
5ba32597
SDJ
129802015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
12981 Pedro Alves <palves@redhat.com>
12982 Keith Seitz <keiths@redhat.com>
12983
12984 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
12985 GDBFLAGS.
12986
b6dafabf
PP
129872015-08-12 Patrick Palka <patrick@parcs.ath.cx>
12988
12989 * gdb.base/gdbhistsize-history.exp
12990 (test_histsize_history_setting): Use save_vars.
12991 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12992 Use save_vars.
12993 (test_no_truncation_of_unlimited_history_file): Use save_vars.
12994 * gdb.base/readline.exp: Use save_vars.
12995
abe8e607
PP
129962015-08-12 Patrick Palka <patrick@parcs.ath.cx>
12997
12998 * lib/gdb.exp (save_vars): New proc.
12999
629500fa
KS
130002015-08-11 Keith Seitz <keiths@redhat.com>
13001
13002 * gdb.base/help.exp: Update help_breakpoint_text.
13003
eb8c4e2e
KS
130042015-08-11 Keith Seitz <keiths@redhat.com>
13005
13006 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
13007 (at toplevel): Call test_explicit_breakpoints.
13008 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
13009 breakpoints.
13010 * lib/mi-support.exp (mi_make_breakpoint): Add support for
13011 breakpoint conditions, "-cond".
13012
87f0e720
KS
130132015-08-11 Keith Seitz <keiths@redhat.com>
13014
13015 * gdb.linespec/3explicit.c: New file.
13016 * gdb.linespec/cpexplicit.cc: New file.
13017 * gdb.linespec/cpexplicit.exp: New file.
13018 * gdb.linespec/explicit.c: New file.
13019 * gdb.linespec/explicit.exp: New file.
13020 * gdb.linespec/explicit2.c: New file.
13021 * gdb.linespec/ls-errs.exp: Add explicit location tests.
13022 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
13023 before using in the matching pattern.
13024 Clarify that `prefix' is a regular expression.
13025
f00aae0f
KS
130262015-08-11 Keith Seitz <keiths@redhat.com>
13027
13028 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
13029 test.
13030 Add tests for missing ",FMT" and ",".
13031
e27852be
DE
130322015-08-10 Doug Evans <dje@google.com>
13033 Keith Seitz <keiths@redhat.com>
13034
13035 PR gdb/17960
13036 * gdb.base/completion.exp: Add location completer tests.
13037
7f03bd92
PA
130382015-08-07 Pedro Alves <palves@redhat.com>
13039
13040 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
13041 tests here.
13042 (top level): Run do_test with and without displaced stepping.
13043
3fc8eb30
PA
130442015-08-07 Pedro Alves <palves@redhat.com>
13045
13046 * gdb.base/valgrind-disp-step.c: New file.
13047 * gdb.base/valgrind-disp-step.exp: New file.
13048
d4569d7b
PA
130492015-08-07 Pedro Alves <palves@redhat.com>
13050
13051 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
13052 Delete function.
13053 (main): Add alarm. Run an infinite loop instead of calling
13054 wait_threads.
13055 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
13056 comment.
13057 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
13058 Delete function.
13059 (main): Add alarm. Run an infinite loop instead of calling
13060 wait_threads.
13061 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
13062 comment.
13063
e1316e60
PA
130642015-08-07 Pedro Alves <palves@redhat.com>
13065
13066 * gdb.base/checkpoint-ns.exp: New file.
13067 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
13068 standard_testfile.
13069
da8c46d2
MM
130702015-08-07 Markus Metzger <markus.t.metzger@intel.com>
13071
13072 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
13073 * gdb.btrace/instruction_history.exp: Update.
13074 * gdb.btrace/tsx.exp: New.
13075 * gdb.btrace/tsx.c: New.
13076
de1c2c52
PA
130772015-08-06 Pedro Alves <palves@redhat.com>
13078
13079 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
13080 increase timeout.
13081 * gdb.reverse/until-precsave.exp: Bump timeouts.
13082
782e0bf4
PA
130832015-08-06 Pedro Alves <palves@redhat.com>
13084
13085 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
13086
83e97ed0
PA
130872015-08-06 Pedro Alves <palves@redhat.com>
13088
13089 PR gdb/18749
13090 * gdb.threads/process-dies-while-handling-bp.c: New file.
13091 * gdb.threads/process-dies-while-handling-bp.exp: New file.
13092
863d01bd
PA
130932015-08-06 Pedro Alves <palves@redhat.com>
13094
13095 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
13096 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
13097
0a39bb32
PA
130982015-08-05 Pedro Alves <palves@redhat.com>
13099
13100 * gdb.threads/next-while-other-thread-longjmps.c: New file.
13101 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
13102
ee2d2b10
SL
131032015-08-03 Sandra Loosemore <sandra@codesourcery.com>
13104
13105 * gdb.base/bp-permanent.exp: Report test as unsupported if
13106 the target cannot stop at the permanent breakpoint.
13107
4e1bdb00
DE
131082015-08-03 Doug Evans <dje@google.com>
13109
13110 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
13111 10000.
13112
3d338901
DE
131132015-08-03 Doug Evans <dje@google.com>
13114
13115 * Makefile.in (workers/%.worker, build-perf): New rule.
13116 (GDB_PERFTEST_MODE): New variable.
13117 (check-perf): Use it.
13118 (clean): Clean up gdb.perf parallel build subdirs.
13119 * lib/build-piece.exp: New file.
13120 * lib/gdb.exp (make_gdb_parallel_path): New function
13121 (standard_output_file, standard_temp_file): Call it.
13122 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13123 of $GDB_PARALLEL.
13124 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
13125
af061d3e
DE
131262015-08-03 Doug Evans <dje@google.com>
13127
8e1afc81 13128 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
13129 (LOG_FILE_NAME): New global.
13130 (TextReporter.__init__): Initialize self.txt_sum.
13131 (TextReporter.report): Add support for multiple data-points.
13132 Move report to perftest.sum, put raw data in perftest.log.
13133 (TextReporter.start): Open sum and log files.
13134 (TextReporter.end): Close sum and log files.
8e1afc81
DE
13135 * gdb.perf/lib/perftest/testresult.py
13136 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 13137
2c8c5d37
PA
131382015-07-31 Pedro Alves <palves@redhat.com>
13139
13140 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
13141 Use spawn_id_get_pid. Wait for spawn id after eof. Use
13142 kill_wait_spawned_process instead of explicit "kill -9".
13143 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
13144 returning a spawn id instead of a pid. Use spawn_id_get_pid and
13145 kill_wait_spawned_process.
13146 * gdb.base/attach-twice.exp: Likewise.
13147 * gdb.base/attach.exp: Likewise.
13148 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
13149 gdb_test_multiple.
13150 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
13151 returning a spawn id instead of a pid. Use spawn_id_get_pid and
13152 kill_wait_spawned_process.
13153 * gdb.base/valgrind-infcall.exp: Likewise.
13154 * gdb.multi/multi-attach.exp: Likewise.
13155 * gdb.python/py-prompt.exp: Likewise.
13156 * gdb.python/py-sync-interp.exp: Likewise.
13157 * gdb.server/ext-attach.exp: Likewise.
13158 * gdb.threads/attach-into-signal.exp (corefunc): Use
13159 spawn_wait_for_attach, spawn_id_get_pid and
13160 kill_wait_spawned_process.
13161 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
13162 spawn_wait_for_attach returning a spawn id instead of a pid. Use
13163 spawn_id_get_pid and kill_wait_spawned_process.
13164 * gdb.threads/attach-stopped.exp (corefunc): Use
13165 spawn_wait_for_attach, spawn_id_get_pid and
13166 kill_wait_spawned_process.
13167 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
13168 Use spawn_id_get_pid. Wait for spawn id after eof. Use
13169 kill_wait_spawned_process instead of explicit "kill -9".
13170 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
13171 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
13172 (spawn_wait_for_attach): Use spawn instead of exec to spawn
13173 processes. Don't map cygwin/windows pids here. Now returns a
13174 spawn id list.
13175
032a0fca
SL
131762015-07-30 Sandra Loosemore <sandra@codesourcery.com>
13177
13178 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
13179 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
13180 correct patch.
13181
61a934ca
SL
131822015-07-30 Sandra Loosemore <sandra@codesourcery.com>
13183
13184 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
13185
4bc4d428
SL
131862015-07-30 Sandra Loosemore <sandra@codesourcery.com>
13187
13188 Reapply:
13189 2014-05-21 Mark Wielaard <mjw@redhat.com>
13190
13191 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
13192
998d452a
PA
131932015-07-30 Pedro Alves <palves@redhat.com>
13194
13195 * linux-low.c (handle_extended_wait): Set the child's last
13196 reported status to TARGET_WAITKIND_STOPPED.
13197
69dde7dc
PA
131982015-07-30 Pedro Alves <palves@redhat.com>
13199
13200 PR threads/18600
13201 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
13202 only shows inferior 1.
13203
4dd63d48
PA
132042015-07-30 Simon Marchi <simon.marchi@ericsson.com>
13205 Pedro Alves <palves@redhat.com>
13206
13207 PR threads/18600
13208 * gdb.threads/fork-plus-threads.c: New file.
13209 * gdb.threads/fork-plus-threads.exp: New file.
13210
d618e4c5
PP
132112015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13212
13213 * gdb.base/batch-preserve-term-settings.exp
13214 (test_terminal_settings_preserved_after_cli_exit): Use
13215 send_quit_command.
13216
1eef6428
PA
132172015-07-29 Pedro Alves <palves@redhat.com>
13218 Don Breazeal <donb@codesourcery.com>
13219
13220 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
13221 output from both inferior_spawn_id and gdb_spawn_id.
13222
7da5b897
SDJ
132232015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
13224
13225 * gdb.threads/attach-into-signal.exp (corefunc): Use
13226 with_test_prefix on nested loops, uniquefying the test messages.
13227
dac804df
SDJ
132282015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
13229
13230 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
13231 commit.
13232
06265e53
PP
132332015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13234
13235 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
13236 New proc.
13237 (test_terminal_settings_preserved_after_sigterm): New test.
13238
18206ca3
PP
132392015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13240
13241 * gdb.base/batch-preserve-term-settings.exp
13242 (test_terminal_settings_preserved_after_cli_exit): New test.
13243
90074d11
PP
132442015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13245
13246 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
13247 manipulation of saved_gdbflags.
13248 (test_terminal_settings_preserved): Remove global declaration of
13249 the unused variable pagination_prompt. Remove manipulation of
13250 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
13251 GDBFLAGS.
13252
eb1a7902
PA
132532015-07-29 Pedro Alves <palves@redhat.com>
13254
13255 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
13256
8b75dd3b
PA
132572015-07-29 Pedro Alves <palves@redhat.com>
13258
13259 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
13260 at the top.
13261
dedad4e3
PA
132622015-07-29 Pedro Alves <palves@redhat.com>
13263
13264 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
13265 (main): Call gdb_unbuffer_output.
13266 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
13267 (main): Call gdb_unbuffer_output.
13268 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
13269 (main): Call gdb_unbuffer_output.
13270 * gdb.base/call-strs.exp: Adjust to step over the
13271 gdb_unbuffer_output call.
13272 * gdb.base/catch-gdb-caused-signals.c: Include
13273 "../lib/unbuffer_output.c".
13274 (main): Call gdb_unbuffer_output.
13275 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
13276 (main): Call gdb_unbuffer_output.
13277 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
13278 (main): Call gdb_unbuffer_output.
13279 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
13280 (main): Call gdb_unbuffer_output.
13281 * gdb.base/shlib-call.exp: Adjust to step over the
13282 gdb_unbuffer_output call.
13283 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
13284 (main): Call gdb_unbuffer_output.
13285 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
13286 (main): Call gdb_unbuffer_output.
13287 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
13288 (main): Rename to ...
13289 (test): ... this.
13290 (main): Reimplement.
13291 * gdb.base/varargs.exp: Run to test instead of to main.
13292 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
13293 (main): Call gdb_unbuffer_output.
13294
58789a91
PA
132952015-07-29 Pedro Alves <palves@redhat.com>
13296
13297 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
13298 factore out from mi_continue_dprintf. For call-style dprintfs,
13299 expect dprintf output out of $inferior_spawn_id.
13300 (mi_continue_dprintf): Use mi_expect_dprintf.
13301 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
13302 (main): Call gdb_unbuffer_output.
13303
e8376742
PA
133042015-07-29 Pedro Alves <palves@redhat.com>
13305
13306 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
13307 (default_mi_gdb_start): Set inferior_spawn_id instead of
13308 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
13309 gdb_spawn_id.
13310 (mi_gdb_test): Always expect inferior output from both
13311 $inferior_spawn_id and $gdb_spawn_id.
13312
08280010
PA
133132015-07-29 Pedro Alves <palves@redhat.com>
13314
13315 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
13316 send_inferior and $inferior_spawn_id.
13317
4d30e432
PA
133182015-07-29 Pedro Alves <palves@redhat.com>
13319
13320 * gdb.gdb/complaints.exp (test_initial_complaints)
13321 (test_serial_complaints, test_short_complaints): Use
13322 gdb_test_stdio.
13323 (test_empty_complaint): Handle $inferior_spawn_id !=
13324 $gdb_spawn_id.
13325
0d30a335
PA
133262015-07-29 Pedro Alves <palves@redhat.com>
13327
13328 * gdb.base/varargs.exp: Use gdb_test_stdio.
13329
39413b29
PA
133302015-07-29 Pedro Alves <palves@redhat.com>
13331
13332 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
13333
7cb000a9
PA
133342015-07-29 Pedro Alves <palves@redhat.com>
13335
13336 * gdb.base/ending-run.exp: Use gdb_test_stdio.
13337
d7b8ac82
PA
133382015-07-29 Pedro Alves <palves@redhat.com>
13339
13340 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
13341 parameter into two new parameters, "inf_result" and "gdb_result".
13342 Expect inferior output and gdb output from $inferior_spawn_id and
13343 $gdb_spawn_id, respectively. Adjust all callers.
13344
789c3a0c
PA
133452015-07-29 Pedro Alves <palves@redhat.com>
13346
13347 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
13348 of gdb_test_sequence.
13349
77e760c3
PA
133502015-07-29 Pedro Alves <palves@redhat.com>
13351
13352 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
13353 (saw_spurious_output): Expect inferior output from
13354 $inferior_spawn_id. Use gdb_test_stdio.
13355
8396d2cd
PA
133562015-07-29 Pedro Alves <palves@redhat.com>
13357
13358 * gdb.base/dprintf.exp: Use standard_testfile. Change
13359 prepare_for_testing call.
13360 (srcfile): Don't set.
13361 (restart): New procedure.
13362 (test_dprintf): New procecure, use to continue over dprintfs.
13363 (test_call, test_agent): New procedures, tests moved here.
13364 Restart gdb and recreate dprintfs. Adjust expected output.
13365
2051d61f
PA
133662015-07-29 Pedro Alves <palves@redhat.com>
13367
13368 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
13369
452397af
PA
133702015-07-29 Pedro Alves <palves@redhat.com>
13371
13372 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
13373
8aed9555
PA
133742015-07-29 Pedro Alves <palves@redhat.com>
13375
13376 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
13377 gdb_test_stdio.
13378
188a61b4
PA
133792015-07-29 Pedro Alves <palves@redhat.com>
13380
13381 * lib/gdb.exp (gdb_test_stdio): New procedure.
13382
12264a45
PA
133832015-07-29 Pedro Alves <palves@redhat.com>
13384
13385 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
13386
23ffc893
PA
133872015-07-29 Pedro Alves <palves@redhat.com>
13388
13389 * gdb.base/call-signal-resume.exp: Remove check for
13390 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
13391 * gdb.base/unwindonsignal.exp: Likewise.
13392 * gdb.base/call-signals.c (gen_signal): Remove printf call.
13393 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
13394
65566918
PA
133952015-07-29 Pedro Alves <palves@redhat.com>
13396
13397 * gdb.base/siginfo-addr.c (pass): New function.
13398 (handler): Call it iff si_addr is correct.
13399 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
13400 Set a breakpoint at "pass" and continue to it.
13401
d60a9221
SDJ
134022015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
13403
13404 * gdb.python/py-objfile.exp: Make some tests have unique names.
13405 * gdb.python/py-pp-registration.exp: Likewise.
13406
bde40b8f
PA
134072015-07-28 Pedro Alves <palves@redhat.com>
13408
13409 * gdb.server/server-exec-info.exp: Issue a "disconnect".
13410
13e1dec8
SM
134112015-07-27 Simon Marchi <simon.marchi@ericsson.com>
13412
13413 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
13414
da33c9a7
SM
134152015-07-27 Simon Marchi <simon.marchi@ericsson.com>
13416
13417 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
13418
077836f7
PP
134192015-07-27 Patrick Palka <patrick@parcs.ath.cx>
13420
13421 * gdb.base/gdb-sigterm-2.exp: New test.
13422
b8cc7b2e
DE
134232015-07-25 Doug Evans <xdje42@gmail.com>
13424
13425 Revert:
13426 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
13427 (workers/%.worker, build-perf): New rule.
13428 (GDB_PERFTEST_MODE): New variable.
13429 (check-perf): Use it.
13430 (clean): Clean up gdb.perf parallel build subdirs.
13431 * lib/build-piece.exp: New file.
13432 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
13433 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
13434 name.
13435 (standard_temp_file): Ditto.
13436 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13437 of $GDB_PARALLEL.
13438
c8bd4544
DE
134392015-07-24 Doug Evans <dje@google.com>
13440
13441 * gdb.perf/lib/perftest/utils.py: New file.
13442 * gdb.perf/gm-hello.cc: New file.
13443 * gdb.perf/gm-pervasive-typedef.cc: New file.
13444 * gdb.perf/gm-pervasive-typedef.h: New file.
13445 * gdb.perf/gm-std.cc: New file.
13446 * gdb.perf/gm-std.h: New file.
13447 * gdb.perf/gm-use-cerr.cc: New file.
13448 * gdb.perf/gm-utils.h: New file.
13449 * gdb.perf/gmonster-null-lookup.py: New file.
13450 * gdb.perf/gmonster-pervasive-typedef.py: New file.
13451 * gdb.perf/gmonster-print-cerr.py: New file.
13452 * gdb.perf/gmonster-ptype-string.py: New file.
13453 * gdb.perf/gmonster-runto-main.py: New file.
13454 * gdb.perf/gmonster-select-file.py: New file.
13455 * gdb.perf/gmonster1-null-lookup.exp: New file.
13456 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
13457 * gdb.perf/gmonster1-print-cerr.exp: New file.
13458 * gdb.perf/gmonster1-ptype-string.exp: New file.
13459 * gdb.perf/gmonster1-runto-main.exp: New file.
13460 * gdb.perf/gmonster1-select-file.exp: New file.
13461 * gdb.perf/gmonster1.cc: New file.
13462 * gdb.perf/gmonster1.exp: New file.
13463 * gdb.perf/gmonster2-null-lookup.exp: New file.
13464 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
13465 * gdb.perf/gmonster2-print-cerr.exp: New file.
13466 * gdb.perf/gmonster2-ptype-string.exp: New file.
13467 * gdb.perf/gmonster2-runto-main.exp: New file.
13468 * gdb.perf/gmonster2-select-file.exp: New file.
13469 * gdb.perf/gmonster2.cc: New file.
13470 * gdb.perf/gmonster2.exp: New file.
13471
6eab34f3
DE
134722015-07-24 Doug Evans <dje@google.com>
13473
13474 * gdb.perf/README: New file.
13475 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
13476 * lib/gen-perf-test.exp: New file.
13477
63738bfd
DE
134782015-07-24 Doug Evans <dje@google.com>
13479
13480 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
13481 (PerfTest::startup): New function.
13482 (PerfTest::run): Return result of calling body.
13483 (PerfTest::assemble): Rewrite.
13484 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
13485 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
13486 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
13487 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
13488 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
13489
7b606f95
DE
134902015-07-24 Doug Evans <dje@google.com>
13491
13492 * lib/gdb.exp (clean_restart): Make executable optional.
13493
a97b16b8
DE
134942015-07-24 Doug Evans <dje@google.com>
13495
13496 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
13497 compiler_info references.
13498 * gdb.cp/temargs.exp: Ditto.
13499 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
13500 (get_compiler_info): Early exit if already computed. Set compiler_info
13501 to "unknown" if there was a problem.
13502 (test_compiler_info): Add function comment. Call get_compiler_info.
13503
35baa57f
DE
135042015-07-24 Doug Evans <dje@google.com>
13505
13506 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
13507 (workers/%.worker, build-perf): New rule.
13508 (GDB_PERFTEST_MODE): New variable.
13509 (check-perf): Use it.
13510 (clean): Clean up gdb.perf parallel build subdirs.
13511 * lib/build-piece.exp: New file.
13512 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
13513 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
13514 name.
13515 (standard_temp_file): Ditto.
13516 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13517 of $GDB_PARALLEL.
13518
6ebea266
DE
135192015-07-24 Doug Evans <dje@google.com>
13520
13521 * lib/future.exp (gdb_default_target_compile): New option
13522 "early_flags".
13523 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
13524 --as-needed.
13525
1e76a7e9
SDJ
135262015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
13527
13528 * gdb.base/catch-syscall.exp: Call gdb_exit before
13529 gdb_skip_xml_test.
13530
5068630a
PA
135312015-07-24 Pedro Alves <palves@redhat.com>
13532
13533 * gdb.python/py-events.exp: Accept output between the stop event
13534 and the prompt.
13535 * gdb.python/py-evsignal.exp: Likewise.
13536 * gdb.python/py-evthreads.exp: Likewise.
13537
77598427
PA
135382015-07-24 Pedro Alves <palves@redhat.com>
13539
13540 PR gdb/18717
13541 * gdb.threads/non-ldr-exit.c: New file.
13542 * gdb.threads/non-ldr-exit.exp: New file.
13543
11e6c98f
YQ
135442015-07-24 Yao Qi <yao.qi@linaro.org>
13545
13546 * gdb.server/ext-wrapper.exp: Test --wrapper option when
13547 restarting process.
13548
51aee833
YQ
135492015-07-24 Yao Qi <yao.qi@linaro.org>
13550
13551 * gdb.server/ext-restart.exp: New file.
13552
8cfe207c
YQ
135532015-07-24 Yao Qi <yao.qi@linaro.org>
13554
13555 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
13556 argument options.
13557 * gdb.server/ext-wrapper.exp: New file.
13558
cc12ce38
DE
135592015-07-23 Doug Evans <dje@google.com>
13560
13561 * gdb.dwarf2/dw2-dummy-cu.S: New file.
13562 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
13563
d0d84780
PMR
135642015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
13565
13566 * gdb.ada/var_arr_typedef.exp: New testcase.
13567 * gdb.ada/var_arr_typedef/pack.adb: New file.
13568 * gdb.ada/var_arr_typedef/pack.ads: New file.
13569 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
13570
8b558f79
JB
135712015-07-20 Joel Brobecker <brobecker@adacore.com>
13572
13573 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
13574
775a3298
JK
135752015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13576
13577 * gdb.arch/i386-biarch-core.exp: Replace istarget
13578 by "complete set gnutarget". Remove expectation for the "core-file"
13579 command.
13580
db1ff28b
JK
135812015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13582
13583 Revert the previous commit:
13584 Tests for validate symbol file using build-id.
13585
0a94970d
JK
135862015-07-15 Aleksandar Ristovski <aristovski@qnx.com
13587
13588 Tests for validate symbol file using build-id.
13589 * gdb.base/solib-mismatch-lib.c: New file.
13590 * gdb.base/solib-mismatch-libmod.c: New file.
13591 * gdb.base/solib-mismatch.c: New file.
13592 * gdb.base/solib-mismatch.exp: New file.
13593
03346981
SL
135942015-07-15 Sandra Loosemore <sandra@codesourcery.com>
13595
13596 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
13597 nios2-*-linux*.
13598 * gdb.base/sigbpt.exp (stepi_out): Likewise.
13599 * gdb.base/siginfo.exp: Likewise.
13600 * gdb.base/sigstep.exp (advance, advancei): Likewise.
13601
42422cc7
PL
136022015-07-15 Pierre Langlois <pierre.langlois@arm.com>
13603
13604 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
13605 Move it to ...
13606 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
13607 ... here.
13608 * gdb.trace/range-stepping.exp: Check that the target supports
13609 range stepping.
13610
cfa68bae
JK
136112015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13612
13613 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
13614
8ffdba26
PA
136152015-07-14 Pedro Alves <palves@redhat.com>
13616
13617 * gdb.base/killed-outside.exp: New file.
13618 * gdb.base/killed-outside.c: New file.
13619
218a5a11
JK
136202015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
13621
13622 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
13623 (n at main): New.
13624 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
13625
e03ed3c6
AA
136262015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
13627
13628 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
13629 infcall tests instead of setting up for KFAIL.
13630
485668e5
MM
136312015-07-10 Markus Metzger <markus.t.metzger@intel.com>
13632
13633 * gdb.btrace/record_goto-step.exp: New.
13634
08464196
JK
136352015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13636
13637 PR compile/18484
13638 * gdb.compile/compile.c (struct struct_type): Add volatile to
13639 selffield's type.
13640 * gdb.compile/compile.exp
13641 (compile code struct_object.selffield = &struct_object): Skip further
13642 struct_object tests if this one xfails.
13643
bcf5c1d9
RC
136442015-07-08 Robert O'Callahan <robert@ocallahan.org>
13645
13646 PR exp/18617
13647 * gdb.trace/ax.exp: Add test.
13648
4931af25
YQ
136492015-07-07 Yao Qi <yao.qi@linaro.org>
13650
13651 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
13652 instead of istarget "aarch64*-*-*".
13653 * gdb.arch/aarch64-fp.exp: Likewise.
13654 * gdb.base/float.exp: Likewise.
13655 * gdb.reverse/aarch64.exp: Likewise.
13656 * lib/gdb.exp (is_aarch64_target): New proc.
13657
9fcf688e
YQ
136582015-07-07 Yao Qi <yao.qi@linaro.org>
13659
13660 * lib/gdb.exp (is_aarch32_target): New proc.
13661 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
13662 instead of "istarget "arm*-*-*"".
13663 * gdb.arch/arm-disp-step.exp: Likewise.
13664 * gdb.arch/thumb-bx-pc.exp: Likewise.
13665 * gdb.arch/thumb-prologue.exp: Likewise.
13666 * gdb.arch/thumb-singlestep.exp: Likewise.
13667 * gdb.base/disp-step-syscall.exp: Likewise.
13668 * gdb.base/float.exp: Likewise.
13669
fbd8d50d
YQ
136702015-07-07 Yao Qi <yao.qi@linaro.org>
13671
13672 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
13673 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
13674
71be1fdc
YQ
136752015-07-07 Yao Qi <yao.qi@linaro.org>
13676
13677 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
13678 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
13679 if it exists.
13680 * gdb.multi/multi-arch.exp: Likewise.
13681
3e221d36
SM
136822015-07-07 Simon Marchi <simon.marchi@ericsson.com>
13683
13684 * gdb.python/py-lazy-string.exp: Add missing parentheses to
13685 print.
13686
d441430b
YQ
136872015-07-07 Yao Qi <yao.qi@linaro.org>
13688
13689 * gdb.arch/thumb-singlestep.exp: Do one more single step.
13690
06f810bd
MG
136912015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
13692
13693 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
13694 '[' and ']' characters.
13695
5e61e7c0
IB
136962015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
13697
13698 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
13699
28bf096c
PA
137002015-06-29 Pedro Alves <palves@redhat.com>
13701
13702 PR threads/18127
13703 * gdb.threads/hand-call-new-thread.c: New file.
13704 * gdb.threads/hand-call-new-thread.c: New file.
13705
ee93cd5e
KS
137062015-06-26 Keith Seitz <keiths@redhat.com>
13707 Doug Evans <dje@google.com>
13708
13709 PR 16253
13710 * gdb.cp/var-tag-2.cc: New file.
13711 * gdb.cp/var-tag-3.cc: New file.
13712 * gdb.cp/var-tag-4.cc: New file.
13713 * gdb.cp/var-tag.cc: New file.
13714 * gdb.cp/var-tag.exp: New file.
13715
fc637f04
PP
137162015-06-26 Patrick Palka <patrick@parcs.ath.cx>
13717
13718 * gdb.base/history-duplicates.exp: New test.
13719
2e52ae68
PP
137202015-06-26 Patrick Palka <patrick@parcs.ath.cx>
13721
13722 * gdb.base/completion.exp: Test the completion of the "focus"
13723 command.
13724
6e22494e
JK
137252015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13726
13727 * gdb.arch/amd64-prologue-skip.S: New file.
13728 * gdb.arch/amd64-prologue-skip.exp: New file.
13729
bf7b9cd9
SM
137302015-06-25 Simon Marchi <simon.marchi@ericsson.com>
13731
13732 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
13733 is_address_zero_readable check.
13734
201e8dfd
PB
137352015-06-24 Peter Bergner <bergner@vnet.ibm.com>
13736
13737 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
13738 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
13739
5cd867b4
YQ
137402015-06-24 Yao Qi <yao.qi@linaro.org>
13741
13742 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
13743 linux targets.
13744
4d7be007
YQ
137452015-06-24 Yao Qi <yao.qi@linaro.org>
13746
13747 * lib/gdb.exp (supports_get_siginfo_type): New proc.
13748 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
13749 * gdb.base/siginfo-thread.exp: Likewise.
13750
07fcd301
YQ
137512015-06-22 Yao Qi <yao.qi@linaro.org>
13752
13753 * boards/remote-gdbserver-on-localhost.exp: Add comments.
13754
52042a00
YQ
137552015-06-22 Yao Qi <yao.qi@linaro.org>
13756
13757 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
13758 aarch64*-*-*.
13759 (skip_hw_watchpoint_tests): Likewise.
13760
74bd41ce
PP
137612015-06-18 Patrick Palka <patrick@parcs.ath.cx>
13762
13763 * gdb.base/gdbinit-history.exp: Test the interaction between
13764 setting GDBHISTSIZE and setting the history size via .gdbinit.
13765
bc460514
PP
137662015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13767
13768 PR gdb/16999
13769 * gdb.base/gdbhistsize-history.exp: New test.
13770
b58c513b
PP
137712015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13772
13773 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
13774 with GDBHISTSIZE.
13775 * gdb.base/readline.exp: Likewise.
13776
92046791
YQ
137772015-06-17 Yao Qi <yao.qi@linaro.org>
13778
13779 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
13780 line.
13781
2093d2d3
PP
137822015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13783
13784 * gdb.base/gdbinit-history.exp: Add test case to check that
13785 an unlimited history file does not get truncated on exit.
13786
e6c693af
AA
137872015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13788
13789 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
13790 (VECTOR): New macro. Use it...
13791 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
13792 ...for these typedefs.
13793 (int8, char1, int1, double1): New typedefs.
13794 (struct just_int2, struct two_int2): New structures.
13795 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
13796 (add_structvecs, add_singlevecs): New functions.
13797 (main): Call add_some_intvecs twice.
13798 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
13799 the compile and exit upon failure. Try compiling for the "native"
13800 architecture. Test inferior function calls with vector arguments
13801 and vector return value handling with "finish" and "return".
13802
c74f7d1c
JT
138032015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
13804
13805 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
13806 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
13807 PE file.
13808 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
13809
98aa42ee
AT
138102015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
13811
13812 PR breakpoints/16465
13813 * gdb.mi/mi-dprintf-pending.c: New file.
13814 * gdb.mi/mi-dprintf-pending.exp: New test.
13815 * gdb.mi/mi-dprintf-pendshr.c: New file.
13816
7d73c23c 138172015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 13818 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
13819
13820 * gdb.arch/i386-mpx-map.c: New file.
13821 * gdb.arch/i386-mpx-map.exp: New File.
13822
138232015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13824
13825 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
13826 * gdb.arch/i386-mpx.exp: Indentation fixed.
13827
138282015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13829
13830 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
13831 function and improved indentation.
13832 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
13833 gdb_test_multiple. Added additional tests to skip the test.
13834
138352015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13836
13837 * gdb.arch/i386-avx512.c: Change path in include file.
13838 * gdb.arch/i386-avx512.exp: Change include dir path
13839 compilation flag.
13840 * gdb.arch/i386-mpx.c: Change path in include file.
13841 * gdb.arch/i386-mpx.exp: Change include dir path compilation
13842 flag.
13843
d5eba19a
JK
138442015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
13845
13846 * gdb.compile/compile-print.exp (compile print *vararray@3)
13847 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
13848
7f361056
JK
138492015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13850
13851 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
13852 (do not keep jit in memory): ... this.
13853 (expect 5): Change it to ...
13854 (expect no 5): ... this.
13855
3b462ec2
SM
138562015-06-02 Simon Marchi <simon.marchi@ericsson.com>
13857
13858 PR gdb/15564
13859 * gdb.mi/mi-detach.exp: New file.
13860
e0619de6
JK
138612015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13862
13863 PR symtab/18392
13864 * gdb.arch/amd64-tailcall-self.S: New file.
13865 * gdb.arch/amd64-tailcall-self.c: New file.
13866 * gdb.arch/amd64-tailcall-self.exp: New file.
13867
e970cb34
DB
138682015-05-28 Don Breazeal <donb@codesourcery.com>
13869
13870 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
13871 tests for remote targets by checking is_target_gdbserver.
13872
b2e2f908
DE
138732015-05-27 Doug Evans <dje@google.com>
13874
13875 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
13876 * gdb.dwarf2/opaque-type-lookup.c: New file.
13877 * gdb.dwarf2/opaque-type-lookup.exp: New file.
13878
82c7be31
DE
138792015-05-26 Doug Evans <dje@google.com>
13880
13881 * gdb.cp/iostream.cc: New file.
13882 * gdb.cp/iostream.exp: New file.
13883
b4f54984
DE
138842015-05-26 Doug Evans <dje@google.com>
13885
13886 * gdb.dwarf2/dw2-op-call.exp: Update.
13887 * gdb.dwarf2/dw4-sig-types.exp: Update.
13888 * gdb.dwarf2/implptr.exp: Update.
13889 * gdb.mi/mi-cmd-param-changed.exp: Update.
13890
4ea6efe9
DE
138912015-05-26 Doug Evans <dje@google.com>
13892
13893 * gdb.python/py-lazy-string.c: New file.
13894 * gdb.python/py-lazy-string.exp: New file.
13895 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
13896 (main): Update. Add estring3.
13897 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
13898 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
13899
f6bb7db3
YQ
139002015-05-26 Omair Javaid <omair.javaid@linaro.org>
13901 Yao Qi <yao.qi@linaro.org>
13902
13903 * gdb.reverse/aarch64.c: New.
13904 * gdb.reverse/aarch64.exp: New.
13905
a81bfbd0
OJ
139062015-05-26 Omair Javaid <omair.javaid@linaro.org>
13907
25d49b86
PA
13908 * lib/gdb.exp (supports_process_record): Return true for
13909 aarch64*-linux*.
a81bfbd0
OJ
13910 (supports_reverse): Likewise.
13911
158bf1b4
PP
139122015-05-22 Patrick Palka <patrick@parcs.ath.cx>
13913
13914 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13915 Use with_test_prefix.
13916
a0145030
AB
139172015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
13918
13919 * gdb.base/completion.exp: Add test for completion of layout
13920 names.
13921
ebe3b578
AB
139222015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
13923
13924 * lib/gdb.exp (skip_tui_tests): New proc.
13925 * gdb.base/tui-layout.exp: Check skip_tui_tests.
13926
84204ed7
PA
139272015-05-19 Pedro Alves <palves@redhat.com>
13928
13929 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13930 Save the whole env array instead of just HOME. Unset HISTSIZE in
13931 the environment while testing. Restore whole environment
13932 afterwards.
13933
37442ce1
DE
139342015-05-16 Doug Evans <xdje42@gmail.com>
13935
13936 * gdb.guile/scm-ports.c: New file.
13937 * gdb.guile/scm-ports.exp: Add memory port tests.
13938
36de76f9
JK
139392015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13940
13941 * gdb.compile/compile-print.c: New file.
13942 * gdb.compile/compile-print.exp: New file.
13943
3a9558c4
JK
139442015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13945
13946 * gdb.compile/compile-ops.exp: Cast param to void.
13947 * gdb.compile/compile.exp: Complete type for _gdb_expr.
13948 (compile code struct_object.selffield = &struct_object): Add xfail.
13949
aa715135
JG
139502015-05-15 Joel Brobecker <brobecker@adacore.com>
13951
13952 * gdb.ada/arr_enum_with_gap: New testcase.
13953
931e5bc3
JG
139542015-05-15 Joel Brobecker <brobecker@adacore.com>
13955
13956 * gdb.ada/byte_packed_arr: New testcase.
13957
9cd4d857
JB
139582015-05-15 Joel Brobecker <brobecker@adacore.com>
13959
13960 * gdb.ada/pckd_neg: New testcase.
13961
ebfd00d2
PP
139622015-05-13 Patrick Palka <patrick@parcs.ath.cx>
13963
13964 PR gdb/17820
13965 * gdb.base/gdbinit-history.exp: New test.
13966 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
13967 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
13968
4c082a81
SC
139692015-05-09 Siva Chandra Reddy <sivachandra@google.com>
13970
13971 * gdb.python/py-xmethods.cc: Enhance test case.
13972 * gdb.python/py-xmethods.exp: New tests.
13973 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
13974 function.
13975 (B_indexoper): Likewise.
13976 (global_dm_list) : Add new xmethod worker functions.
13977
f7797074
SDJ
139782015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
13979
13980 * gdb.base/coredump-filter.exp: Correctly unset
13981 "coredump_var_addr" array.
13982
a4674e4e
PA
139832015-05-08 Pedro Alves <palves@redhat.com>
13984
13985 * gdb.server/non-existing-program.exp: Unset spawn_id.
13986
df2eb078
SC
139872015-05-08 Siva Chandra Reddy <sivachandra@google.com>
13988
13989 PR python/18291
13990 * gdb.python/py-xmethods.exp: Add tests.
13991
422349a3
YQ
139922015-05-08 Yao Qi <yao.qi@linaro.org>
13993
13994 PR gdb/18208
13995 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
13996 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
13997 function set_coredump_filter, and remove remote_exec call.
13998 Remove argument ipid. Callers update.
13999 (top level): Don't get inferior's PID.
14000
63fc80ce
AA
140012015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
14002
14003 * gdb.base/watch_thread_num.exp: Skip test on targets without
14004 access watchpoints.
14005
80ad801e
PA
140062015-05-06 Pedro Alves <palves@redhat.com>
14007
14008 PR server/18081
14009 * gdb.server/non-existing-program.exp: New file.
14010
0fa7fe50
JB
140112015-05-05 Joel Brobecker <brobecker@adacore.com>
14012
14013 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
14014
3ea89b92
PMR
140152015-05-05 Joel Brobecker <brobecker@adacore.com>
14016
14017 * gdb.ada/out_of_line_in_inlined: New testcase.
14018
87b8eff0
JB
140192015-05-05 Joel Brobecker <brobecker@adacore.com>
14020
14021 * gdb.ada/var_rec_arr: New testcase.
14022
5fccc635
YQ
140232015-04-30 Yao Qi <yao.qi@linaro.org>
14024
14025 * gdb.base/break-idempotent.exp: If
14026 skip_hw_watchpoint_multi_tests returns true, skip the tests
14027 on "rwatch" and "awatch".
14028
42d38f42
YQ
140292015-04-30 Yao Qi <yao.qi@linaro.org>
14030
14031 * gdb.base/relativedebug.exp: Invoke gdb command
14032 "info sharedlibrary", and if libc.so doesn't have debug info,
14033 skip the test.
14034
2ce1cdbf
DE
140352015-04-29 Doug Evans <dje@google.com>
14036
14037 * gdb.python/py-xmethods.exp: Add ptype tests.
14038 * gdb.python/py-xmethods.py (E_method_char_worker): Add
14039 get_result_type method.
14040
f24a38c5
LM
140412015-04-29 Luis Machado <lgustavo@codesourcery.com>
14042
14043 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
14044 the target does not support hardware watchpoints.
14045
ecbf2b3c
LM
140462015-04-29 Luis Machado <lgustavo@codesourcery.com>
14047
14048 * gdb.base/break-always.exp: Abort testing if writing to memory
14049 causes an error.
14050
34f5f757
DE
140512015-04-28 Doug Evans <dje@google.com>
14052
14053 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
14054 * gdb.python/py-pp-registration.exp: ... here. New file.
14055 * gdb.python/py-pp-registration.c: New file.
14056 * gdb.python/py-pp-registration.py: New file.
14057
69b4374a
DE
140582015-04-28 Doug Evans <dje@google.com>
14059
14060 * gdb.python/py-bad-printers.c: New file.
14061 * gdb.python/py-bad-printers.py: New file.
14062 * gdb.python/py-bad-printers.exp: New file.
14063
59fb7612
SS
140642015-04-28 Sasha Smundak <asmundak@google.com>
14065
14066 * gdb.python/py-type.exp: New test.
14067
2631b16a
AW
140682015-04-28 Andy Wingo <wingo@igalia.com>
14069
14070 * gdb.python/py-parameter.exp:
14071 * gdb.guile/scm-parameter.exp: Escape the path that we are
14072 matching against, as it might contain characters that are special
14073 to regular expressions.
14074
460efde1
JB
140752015-04-27 Joel Brobecker <brobecker@adacore.com>
14076
14077 * gdb.ada/rec_comp: New testcase.
14078
2d369d8e
SDJ
140792015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
14080
14081 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
14082 before using it.
14083
cf75d6c3
AB
140842015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
14085
14086 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
14087 new tests for verilog output.
14088
8dbe7ca5
YQ
140892015-04-24 Yao Qi <yao.qi@linaro.org>
14090
14091 * boards/remote-gdbserver-on-localhost.exp: New file.
14092
4ef9fb2f
PA
140932015-04-23 Pedro Alves <palves@redhat.com>
14094
14095 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
14096 $inferior_spawn_id instead of $inferior_spawn_id directly. On
14097 "end of file", remove $inferior_spawn_id from the indirect list.
14098
0a803169
PA
140992015-04-23 Pedro Alves <palves@redhat.com>
14100
14101 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
14102
749ef8f8
PA
141032015-04-23 Pedro Alves <palves@redhat.com>
14104
14105 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
14106 on $any_spawn_id instead of only on $gdb_spawn_id.
14107
8aae4344
PM
141082015-04-21 Pierre Muller <muller@sourceware.org>
14109
14110 PR pascal/17815
14111 * lib/pascal.exp (gpc_compile): Add new option "class".
14112 (fpc_compile): Likewise.
14113 * gdb.pascal/case-insensitive-symbols.pas: New file.
14114 * gdb.pascal/case-insensitive-symbols.exp: New file.
14115
1586c8fb
GB
141162015-04-20 Gary Benson <gbenson@redhat.com>
14117
14118 * gdb.base/attach.exp: Fix three extended remote failures.
14119
1b6e6f5c
GB
141202015-04-17 Gary Benson <gbenson@redhat.com>
14121
14122 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
14123 the main executable over the remote protocol.
14124
e797481d
PA
141252015-04-16 Pedro Alves <palves@redhat.com>
14126
14127 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
14128 a new gdbserver if gdbserver_reconnect_p is set.
14129
1ca99c42
PA
141302015-04-16 Pedro Alves <palves@redhat.com>
14131
14132 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
14133 is set, don't exit gdbserver.
14134
af9fd6f8
AA
141352015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
14136
14137 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
14138 appropriate .insn, such that an older assembler can be used.
14139 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
14140 the z/Architecture instruction set on 31-bit targets as well.
14141
04ff1e61
AA
141422015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
14143
14144 * gdb.go/handcall.exp: Remove all logic related to the first
14145 breakpoint and rely on go_runto_main instead.
14146 * gdb.go/strings.exp: Likewise.
14147 * gdb.go/unsafe.exp: Likewise.
14148 * gdb.go/hello.exp: Likewise. Also rename the remaining
14149 breakpoint marker to "breakpoint 1".
14150 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
14151 * gdb.go/strings.go: Likewise.
14152 * gdb.go/unsafe.go: Likewise.
14153 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
14154 "set breakpoint 2 here" and rename the remaining breakpoint marker
14155 to "breakpoint 1".
14156
40d2f8d6
SM
141572015-04-15 Simon Marchi <simon.marchi@ericsson.com>
14158
14159 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
14160 if itertools.imap is not present.
14161 * gdb.python/py-objfile.exp: Add parentheses.
14162 * gdb.python/py-type.exp: Same.
14163 * gdb.python/py-unwind-maint.py: Same.
14164
8cbc97c6
YQ
141652015-04-15 Yao Qi <yao.qi@linaro.org>
14166
14167 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
14168 of ":$ptr_size" and set its form explicitly.
14169
45fd756c
YQ
141702015-04-15 Pedro Alves <palves@redhat.com>
14171 Yao Qi <yao.qi@linaro.org>
14172
14173 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
14174 timeout by factor of 4.
14175 (test_regular_watch): Likewise.
14176 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
14177 * gdb.reverse/sigall-reverse.exp: Likewise.
14178 * gdb.reverse/until-precsave.exp: Likewise.
14179 * lib/gdb.exp (with_timeout_factor): New proc.
14180 (gdb_expect): Move some code to ...
14181 (get_largest_timeout): ... here. New procedure.
14182
9e811bc3
LM
141832015-04-14 Luis Machado <lgustavo@codesourcery.com>
14184
14185 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
14186
0ff6fcb2
LM
141872015-04-13 Luis Machado <lgustavo@codesourcery.com>
14188
14189 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
14190 to write to the .text section.
14191
7578d5f7
LM
141922015-04-13 Luis Machado <lgustavo@codesourcery.com>
14193
14194 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
14195 Handle the case of targets that do not provide PID information.
14196
2efe15c4
YQ
141972015-04-13 Yao Qi <yao.qi@linaro.org>
14198
14199 * lib/gdbserver-support.exp (gdb_exit): Catch exception
14200 and use expect instead of gdb_expect.
14201
8cd8f2f8
SDJ
142022015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
14203
14204 * gdb.base/coredump-filter.exp: Rename variable "addr" to
14205 "coredump_var_addr" to avoid naming conflict with other testcases.
14206
9ee41772
PA
142072015-04-10 Pedro Alves <palves@redhat.com>
14208
14209 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
14210 gdb_test_sequence and gdb_assert.
14211
07473109
PA
142122015-04-10 Pedro Alves <palves@redhat.com>
14213
14214 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
14215 test messages that don't include the breakpoint address.
14216
de3db44c
YQ
142172015-04-10 Yao Qi <yao.qi@linaro.org>
14218
14219 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
14220 false for some offset and width combinations which aren't
14221 supported by linux kernel.
14222
c79d856c
PA
142232015-04-10 Pedro Alves <palves@redhat.com>
14224
14225 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
14226 procedure, factored out from ...
14227 (top level): ... here. Add "set displaced-stepping" testing axis.
14228 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
14229 parameter "displaced". Use it.
14230 (top level): Use foreach and add "set displaced-stepping" testing
14231 axis.
14232
ebc90b50
PA
142332015-04-10 Pedro Alves <palves@redhat.com>
14234
14235 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
14236 Remove comment.
14237 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
14238 both the address of the instruction that triggers the watchpoint
14239 and the address of the instruction immediately after, and use
14240 those addresses for the test. Fix comment.
14241
8f572e5c
PA
142422015-04-10 Pedro Alves <palves@redhat.com>
14243
14244 * gdb.base/sigstep.exp (breakpoint_to_handler)
14245 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
14246 Test "backtrace" in handler.
14247 (breakpoint_over_handler): New parameter 'displaced'. Use it.
14248 (top level): Add new "displaced" test axis to
14249 breakpoint_to_handler, breakpoint_to_handler_entry and
14250 breakpoint_over_handler.
14251
8d707a12
PA
142522015-04-10 Pedro Alves <palves@redhat.com>
14253
14254 PR gdb/18216
14255 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
14256
ef713951
YQ
142572015-04-10 Yao Qi <yao.qi@linaro.org>
14258
14259 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
14260 (test_add_rn_pc): New function.
14261 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
14262 (top level): Invoke test_add_rn_pc.
14263
906d60cf
PA
142642015-04-10 Pedro Alves <palves@redhat.com>
14265
14266 PR gdb/13858
14267 * gdb.base/step-over-no-symbols.exp: New file.
14268
f2983cc3
AW
142692015-04-09 Andy Wingo <wingo@igalia.com>
14270
14271 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
14272 after the Python tests.
14273
6d62641c
SDJ
142742015-04-08 Keith Seitz <keiths@redhat.com>
14275
14276 PR python/16699
14277 * gdb.python/py-completion.exp: New tests for completion.
14278 * gdb.python/py-completion.py (CompleteLimit1): New class.
14279 (CompleteLimit2): Likewise.
14280 (CompleteLimit3): Likewise.
14281 (CompleteLimit4): Likewise.
14282 (CompleteLimit5): Likewise.
14283 (CompleteLimit6): Likewise.
14284 (CompleteLimit7): Likewise.
14285
f3770638
PA
142862015-04-08 Pedro Alves <palves@redhat.com>
14287
14288 PR gdb/18214
14289 PR gdb/18216
14290 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
14291 function.
14292 (main): Install it as SIGUSR1 handler.
14293 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
14294 parameter. Always use "setup" as prefix. Toggle "set
14295 displaced-stepping" off/on depending on global. Don't switch to
14296 thread 1 here.
14297 (top level): Add displaced stepping "off/on" test axis. Update
14298 "setup" calls. Wrap each subtest with with_test_prefix. Test
14299 continuing with a queued signal in each thread.
14300
4496bed7
PA
143012015-04-08 Pedro Alves <palves@redhat.com>
14302
14303 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
14304 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
14305 gdb_breakpoint instead of gdb_test that doesn't expect anything.
14306 Return early if running to main fails.
14307 * gdb.trace/while-stepping.exp: Likewise.
14308
b97fde92
PA
143092015-04-07 Pedro Alves <palves@redhat.com>
14310
14311 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
14312 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
14313 interact with inferior program.
14314
f71c18e7
PA
143152015-04-07 Pedro Alves <palves@redhat.com>
14316
14317 * lib/gdb.exp (inferior_spawn_id): New global.
14318 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
14319 spawn id after processing the user code.
14320 (default_gdb_start): Set inferior_spawn_id.
14321 (send_inferior): New procedure.
14322 * lib/gdbserver-support.exp (gdbserver_start): Set
14323 inferior_spawn_id.
14324 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
14325
6423214f
PA
143262015-04-07 Pedro Alves <palves@redhat.com>
14327
14328 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
14329 * lib/gdbserver-support.exp (gdbserver_start): Make
14330 $server_spawn_id global.
14331 (gdbserver_start): Don't wait for gdbserver's spawn id with
14332 expect_background.
14333 (close_gdbserver): New procedure.
14334 (gdb_exit): Rename the default version and reimplement.
14335
71c0ee8c
PA
143362015-04-07 Pedro Alves <palves@redhat.com>
14337
72f4393d 14338 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
14339 append the substituted item, not the original item.
14340
203bc29b
PA
143412015-04-07 Pedro Alves <palves@redhat.com>
14342
14343 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
14344 gdb_expect.
14345
508a3ddf
PA
143462015-04-07 Pedro Alves <palves@redhat.com>
14347
14348 * gdb.base/interrupt.exp: Don't handle the case of the inferior
14349 output appearing once only.
14350
9f6dbe2b
PA
143512015-04-07 Pedro Alves <palves@redhat.com>
14352
14353 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
14354 that doesn't expect anything. Return early if running to main
14355 fails.
14356
337532fa
YQ
143572015-04-07 Yao Qi <yao.qi@linaro.org>
14358
14359 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
14360 (child_function): Call alarm.
14361 (main): Move call to alarm into the loop.
14362 * gdb.threads/non-stop-fair-events.exp: Build program with
14363 -DTIMEOUT=$timeout.
14364
01b622d4
DE
143652015-04-06 Doug Evans <xdje42@gmail.com>
14366
14367 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
14368 Fix dest parameter to board_info.
14369 (fpc_compile): Ditto.
14370 (gdb_compile_pascal): Rename dest arg to destfile.
14371
961f4160
PMR
143722015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
14373
14374 * gdb.ada/funcall_ref.exp: New file.
14375 * gdb.ada/funcall_ref/foo.adb: New file.
14376
cafda597
YQ
143772015-04-02 Yao Qi <yao.qi@linaro.org>
14378
14379 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
14380 is remote.
14381
fed040c6
GB
143822015-04-02 Gary Benson <gbenson@redhat.com>
14383
14384 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
14385
d11916aa
SS
143862015-04-01 Sasha Smundak <asmundak@google.com>
14387
14388 * gdb.python/py-unwind-maint.c: New file.
14389 * gdb.python/py-unwind-maint.exp: New test.
14390 * gdb.python/py-unwind-maint.py: New file.
14391 * gdb.python/py-unwind.c: New file.
14392 * gdb.python/py-unwind.exp: New test.
14393 * gdb.python/py-unwind.py: New test.
14394
a1471180
PA
143952015-04-01 Pedro Alves <palves@redhat.com>
14396
14397 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
14398 to fail instead of non-existent $test.
14399
0bbeccb1
PA
144002015-04-01 Pedro Alves <palves@redhat.com>
14401
14402 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
14403 GDBFLAGS if not empty.
14404
3c724c8c
PMR
144052015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
14406
14407 * gdb.ada/complete.exp: Remove "multi_line".
14408 * gdb.ada/info_exc.exp: Remove "multi_line".
14409 * gdb.ada/packed_tagged.exp: Remove "multi_line".
14410 * gdb.ada/ptype_field.exp: Remove "multi_line".
14411 * gdb.ada/sym_print_name.exp: Remove "multi_line".
14412 * gdb.ada/tagged.exp: Remove "multi_line".
14413 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
14414 [multi_line ...]
14415 * gdb.btrace/delta.exp: Likewise.
14416 * gdb.btrace/exception.exp: Likewise.
14417 * gdb.btrace/function_call_history.exp: Likewise.
14418 * gdb.btrace/instruction_history.exp: Likewise.
14419 * gdb.btrace/nohist.exp: Likewise.
14420 * gdb.btrace/record_goto.exp: Likewise.
14421 * gdb.btrace/segv.exp: Likewise.
14422 * gdb.btrace/stepi.exp: Likewise.
14423 * gdb.btrace/tailcall.exp: Likewise.
14424 * gdb.btrace/unknown_functions.exp: Likewise.
14425 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
14426 * lib/gdb.exp: Add the "multi_line" helper.
14427
4eec2deb
PA
144282015-04-01 Pedro Alves <palves@redhat.com>
14429
14430 * gdb.threads/tid-reuse.c: New file.
14431 * gdb.threads/tid-reuse.exp: New file.
14432
df8411da
SDJ
144332015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
14434
14435 PR corefiles/16092
14436 * gdb.base/coredump-filter.c: New file.
14437 * gdb.base/coredump-filter.exp: Likewise.
14438
6ef37366
PM
144392015-03-27 Petr Machata <pmachata@redhat.com>
14440
14441 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
14442 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
14443 (Dwarf::assemble): Initialize them.
14444 (Dwarf::lines): New function.
14445
7ec911b0
JT
144462015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
14447
14448 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
14449 SYMBOL_PREFIX for x86_64-*-cygwin.
14450
ff908ebf
AW
144512015-03-26 Andy Wingo <wingo@igalia.com>
14452
14453 PR symtab/18148
14454 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
14455 const_value but not a location.
14456 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
14457 location defined in non-main CUs are visible.
14458
6d5f0679
YQ
144592015-03-26 Yao Qi <yao.qi@linaro.org>
14460
14461 PR testsuite/18139
14462 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
14463 Add a line number entry for the same line.
14464 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
14465 Add a line number entry for the same line.
14466
2898689b
YQ
144672015-03-26 Yao Qi <yao.qi@linaro.org>
14468
14469 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
14470 .int 0.
14471 (func): Likewise. Add .Lfunc_1 label.
14472 Use .Lfunc_1 label.
14473 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
14474 .int 0.
14475 (func): Likewise.
14476 Use .Lfunc_1 label.
14477
85180498
YQ
144782015-03-26 Yao Qi <yao.qi@linaro.org>
14479
14480 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
14481 Call gdb_compile instead to compile each .s files without debug
14482 information.
14483
8aa08a8d
YQ
144842015-03-26 Yao Qi <yao.qi@linaro.org>
14485
14486 * gdb.base/savedregs.exp (process_saved_regs): Make
14487 "Saved registers:" optional in the pattern.
14488
66849923
MM
144892015-03-25 Markus Metzger <markus.t.metzger@intel.com>
14490
14491 * gdb.btrace/next.exp: Merged into step.exp.
14492 * gdb.btrace/finish.exp: Merged into step.exp.
14493 * gdb.btrace/nexti.exp: Merged into stepi.exp.
14494 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
14495 "record goto" and checking the exact replay position.
14496 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
14497 check for "Recording format" in "info record" output.
14498 * gdb.btrace/record_goto.exp: Choose test file based on target.
14499 * gdb.btrace/x86-record_goto.S: Renamed into ...
14500 * gdb.btrace/x86_64-record_goto.S: ... this.
14501 * gdb.btrace/i686-record_goto.S: New.
14502 * gdb.btrace/x86-tailcall.S: Renamed into ...
14503 * gdb.btrace/x86_64-tailcall.S: ... this.
14504 * gdb.btrace/i686-tailcall.S: New.
14505 * gdb.btrace/x86-tailcall.c: Renamed into ...
14506 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
14507 separate statements. Update test.
14508 * gdb.btrace/delta.exp: Use record_goto.c as test file.
14509 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
14510 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
14511 * gdb.btrace/tailcall.exp: Choose test file based on target.
14512 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
14513
11cc1b74
MM
145142015-03-25 Markus Metzger <markus.t.metzger@intel.com>
14515
14516 * gdb.btrace/exception.exp: Increase BTS buffer size.
14517
a25d8bf9
PA
145182015-03-24 Pedro Alves <palves@redhat.com>
14519
14520 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
14521
856e7dd6
PA
145222015-03-24 Pedro Alves <palves@redhat.com>
14523
14524 * gdb.threads/schedlock.exp (test_step): No longer expect that
14525 "set scheduler-locking step" with "next" over a function call runs
14526 threads unlocked.
14527
ad235a41
AT
145282015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
14529
14530 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
14531
15630549
AT
145322015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
14533
14534 PR breakpoints/16466
14535 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
14536 * gdb.mi/mi-pending.c (thread_func): New function.
14537 (int main): Add threading support required.
14538 * gdb.mi/mi-pending.exp: Add tests for this issue.
14539 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
14540 (pendfunc2): Remove stdio dependency.
14541 * gdb.mi/mi-pendshr2.c: New file.
14542
693dca06
KS
145432015-03-23 Keith Seitz <keiths@redhat.com>
14544
14545 * gdb.linespec/keywords.c: New file.
14546 * gdb.linespec/keywords.exp: New file.
14547
7e993ebf
KS
145482015-03-23 Keith Seitz <keiths@redhat.com>
14549
14550 PR gdb/18021
14551 * gdb.dwarf2/staticvirtual.exp: New test.
14552
bc23328c
JK
145532015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14554
14555 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
14556 * README: Remove HP-UX and gdb.hp.
14557 (configuration):
14558 * configure: Regenerate.
14559 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
14560 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
14561 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
14562 gdb.hp/gdb.defects/Makefile.
14563 * gdb.hp/Makefile.in: File deleted.
14564 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
14565 * gdb.hp/gdb.aCC/optimize.c: File deleted.
14566 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
14567 * gdb.hp/gdb.aCC/run.c: File deleted.
14568 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
14569 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
14570 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
14571 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
14572 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
14573 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
14574 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
14575 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
14576 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
14577 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
14578 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
14579 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
14580 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
14581 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
14582 * gdb.hp/gdb.base-hp/reg.s: File deleted.
14583 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
14584 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
14585 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
14586 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
14587 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
14588 * gdb.hp/gdb.compat/Makefile.in: File deleted.
14589 * gdb.hp/gdb.compat/average.c: File deleted.
14590 * gdb.hp/gdb.compat/sum.c: File deleted.
14591 * gdb.hp/gdb.compat/xdb.c: File deleted.
14592 * gdb.hp/gdb.compat/xdb0.c: File deleted.
14593 * gdb.hp/gdb.compat/xdb0.h: File deleted.
14594 * gdb.hp/gdb.compat/xdb1.c: File deleted.
14595 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
14596 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
14597 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
14598 * gdb.hp/gdb.defects/Makefile.in: File deleted.
14599 * gdb.hp/gdb.defects/bs14602.c: File deleted.
14600 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
14601 * gdb.hp/gdb.defects/solib-d.c: File deleted.
14602 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
14603 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
14604 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
14605 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
14606 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
14607 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
14608 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
14609 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
14610 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
14611 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
14612 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
14613 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
14614 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
14615 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
14616 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
14617 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
14618 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
14619 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
14620 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
14621 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
14622 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
14623 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
14624 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
14625 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
14626 * gdb.hp/tools/odump: File deleted.
14627
8bf3b159
PA
146282015-03-19 Pedro Alves <palves@redhat.com>
14629
14630 * gdb.threads/continue-pending-status.exp (saw_thread_2)
14631 (saw_thread_3): New globals.
14632 (top level): Increment them when an event for the corresponding
14633 thread is seen.
14634 (no thread starvation): New test.
14635
eb54c8bf
PA
146362015-03-19 Pedro Alves <palves@redhat.com>
14637
14638 * gdb.threads/continue-pending-status.c: New file.
14639 * gdb.threads/continue-pending-status.exp: New file.
14640
32d2e5d6
PA
146412015-03-18 Pedro Alves <palves@redhat.com>
14642
14643 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
14644 Use gdb_is_target_remote instead of is_remote. Use
14645 gdb_test_multiple instead of gdb_expect. Exit early if
14646 gdb_test_multiple hits its internal matches. Tighten stepi tests
14647 expected output. Fail on exit with any signal, instead of just
14648 SIGILL.
14649
f68f11b7
YQ
146502015-03-18 Yao Qi <yao.qi@linaro.org>
14651
14652 PR tdep/18107
14653 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
14654 variable.
14655 * gdb.base/catch-syscall.exp: Don't skip it on
14656 aarch64*-*-linux* target. Remove elements in all_syscalls.
14657 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
14658 target.
14659 (setup_all_syscalls): New proc.
14660
ca5fd19b
YQ
146612015-03-16 Yao Qi <yao.qi@linaro.org>
14662
14663 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
14664 (top level): Skip tests if valid_addr_p returns false for
14665 $cmd1 or $cmd2.
14666
85642ba0
AW
146672015-03-11 Andy Wingo <wingo@igalia.com>
14668
14669 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
14670
e03f9645
YQ
146712015-03-11 Yao Qi <yao.qi@linaro.org>
14672
14673 * gdb.base/catch-syscall.exp: Fix typo in comments.
14674
5d0962b2
YQ
146752015-03-11 Yao Qi <yao.qi@linaro.org>
14676
14677 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
14678
b2df3cef
PA
146792015-03-09 Pedro Alves <palves@redhat.com>
14680
14681 * dg-extract-results.py: Delete.
14682
ef878e53
PA
146832015-03-09 Pedro Alves <palves@redhat.com>
14684
14685 Merge dg-extract-results.sh from GCC upstream (r218843).
14686
14687 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
14688 * dg-extract-results.sh: Use --text with grep to avoid issues with
14689 binary files. Fall back to cat -v, if that doesn't work.
14690
9494d219
PA
146912015-03-05 Pedro Alves <palves@redhat.com>
14692
14693 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
14694
a8d9763a
SM
146952015-03-04 Simon Marchi <simon.marchi@ericsson.com>
14696
14697 * lib/mi-support.exp (mi_expect_interrupt): Accept
14698 alternative event for when in all-stop mode.
14699
be9957b8
PA
147002015-03-04 Pedro Alves <palves@redhat.com>
14701
14702 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
14703
d57be0f4 147042015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
14705
14706 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
14707
c214c7cf
AA
147082015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
14709
14710 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
14711 regexps for GDB's current line display, accept a hex address
14712 preceding the line number.
14713
6d74a497
AA
147142015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
14715
14716 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
14717 the 'arch1' variable for "s390*-linux*" targets.
14718
511aee7c
PA
147192015-03-04 Pedro Alves <palves@redhat.com>
14720
14721 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
14722 (main): Pass missing retval argument to pthread_join call.
14723
95e50b27
PA
147242015-03-02 Pedro Alves <palves@redhat.com>
14725
14726 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
14727 (top level): Call do_test with non-stop as well.
14728
28054d69
PA
147292015-03-02 Pedro Alves <palves@redhat.com>
14730
14731 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
14732 -1.
14733
4fa5d7b4
AA
147342015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
14735
14736 * gdb.arch/s390-vregs.exp: New test.
14737 * gdb.arch/s390-vregs.S: New file.
14738
97c18565
PA
147392015-02-27 Pedro Alves <palves@redhat.com>
14740
14741 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
14742 call to catch_command_errors.
14743 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
14744 catch_command_errors.
14745
a37bfa30
PA
147462015-02-27 Pedro Alves <palves@redhat.com>
14747
14748 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
14749 "true" for boolean result.
14750 * gdb.gdb/selftest.exp (test_with_self): Also accept full
14751 prototype of main.
14752
6f98576f
PA
147532015-02-27 Pedro Alves <palves@redhat.com>
14754
14755 * lib/unbuffer_output.c: New file.
14756 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
14757 (main): Call gdb_unbuffer_output.
14758
eba5ab56
YQ
147592015-02-27 Yao Qi <yao.qi@linaro.org>
14760
14761 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
14762 target.
14763
0def5aaa
DE
147642015-02-26 Doug Evans <dje@google.com>
14765
14766 * gdb.cp/class2.cc (Dbase, D): New classes.
14767 (main): New local delta.
14768 * gdb.cp/class2.exp: Test printing delta.
14769 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
14770 (dynbar): New global.
14771 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
14772
081a1c2c
JK
147732015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14774
14775 * gdb.compile/compile-ifunc.c: New file.
14776 * gdb.compile/compile-ifunc.exp: New file.
14777
2f41223f
AT
147782015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
14779
14780 * gdb.base/structs.exp: Check for correct struct on finish.
14781
03eddd80
YQ
147822015-02-26 Yao Qi <yao.qi@linaro.org>
14783
14784 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
14785 is zero.
14786
80c57053
JK
147872015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14788
14789 * gdb.arch/cordic.ko.bz2: New file.
14790 * gdb.arch/cordic.ko.debug.bz2: New file.
14791 * gdb.arch/ppc64-symtab-cordic.exp: New file.
14792
21613c12
YQ
147932015-02-25 Yao Qi <yao.qi@linaro.org>
14794
14795 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
14796 aarch64*-*-* target.
14797
d8b901ed
PA
147982015-02-23 Pedro Alves <palves@redhat.com>
14799
14800 * lib/gdb.exp (delete_breakpoints): Rewrite using
14801 gdb_test_multiple.
14802
e5b85ead
PA
148032015-02-23 Pedro Alves <palves@redhat.com>
14804
14805 * gdb.base/info-os.c: Include stdlib.h.
14806
85c3a371
DE
148072015-02-22 Doug Evans <xdje42@gmail.com>
14808
14809 PR symtab/17855
14810 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
14811 is read after symbols have been re-read.
14812 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
14813 * gdb.ada/exec_changed/second.adb (Second): Ditto.
14814
96553a0c
DE
148152015-02-21 Doug Evans <dje@google.com>
14816
14817 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
14818
97a0c697
JK
148192015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14820
14821 PR corefiles/17808
14822 * gdb.arch/i386-biarch-core.core.bz2: New file.
14823 * gdb.arch/i386-biarch-core.exp: New file.
14824
a47cd6e9
PA
148252015-02-21 Pedro Alves <palves@redhat.com>
14826
14827 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
14828 runto_main fails.
14829
c5facdc4
PA
148302015-02-20 Pedro Alves <palves@redhat.com>
14831
14832 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
14833 info probes.
14834
2db9a427
PA
148352015-02-20 Pedro Alves <palves@redhat.com>
14836
14837 * gdb.threads/multi-create-ns-info-thr.exp: New file.
14838
60fb7e9e
PA
148392015-02-20 Pedro Alves <palves@redhat.com>
14840
14841 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
14842 clean_restart before gdb_target_supports_trace.
14843
5c5019c2
PA
148442015-02-20 Pedro Alves <palves@redhat.com>
14845
14846 PR threads/18006
14847 * gdb.threads/clone-thread_db.c: New file.
14848 * gdb.threads/clone-thread_db.exp: New file.
14849
c9587f88
AT
148502015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
14851
14852 PR breakpoints/16812
14853 * gdb.base/catch-gdb-caused-signals.c: New file.
14854 * gdb.base/catch-gdb-caused-signals.exp: New file.
14855
f6a88844
JM
148562015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
14857
14858 * configure: Regenerated.
14859 * configure.ac: Use GDB_AC_TRANSFORM.
14860 * aclocal.m4: sinclude ../transform.m4.
14861
497c491b
JM
148622015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
14863
14864 * lib/dtrace.exp: New file.
14865 * gdb.base/dtrace-probe.exp: Likewise.
14866 * gdb.base/dtrace-probe.d: Likewise.
14867 * gdb.base/dtrace-probe.c: Likewise.
14868 * lib/pdtrace.in: Likewise.
14869 * configure.ac: Output variables with the transformed names of
14870 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
14871 * configure: Regenerated.
14872
03e98035
JM
148732015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
14874
14875 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
14876 expected message when trying to access $_probe_* convenience
14877 variables while not on a probe.
14878
63cc30e9
JK
148792015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14880
14881 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
14882
0703599a
PA
148832015-02-11 Pedro Alves <pedro@codesourcery.com>
14884
14885 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
14886 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
14887
7e60a48e
DE
148882015-02-10 Doug Evans <xdje42@gmail.com>
14889
14890 * lib/gdb.exp (gdb_load): Always return a result.
14891
01b088bc
PA
148922015-02-10 Pedro Alves <palves@redhat.com>
14893
14894 * gdb.threads/signal-sigtrap.c: New file.
14895 * gdb.threads/signal-sigtrap.exp: New file.
14896
b05ec7a5
AT
148972015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
14898
14899 * gdb.trace/no-attach-trace.c: New file.
14900 * gdb.trace/no-attach-trace.exp: New file.
14901
a2c2acaf
MW
149022015-02-09 Mark Wielaard <mjw@redhat.com>
14903
14904 * gdb.dwarf2/atomic.c: New file.
14905 * gdb.dwarf2/atomic-type.exp: Likewise.
14906
31fd9caa
MM
149072015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14908
14909 * gdb.btrace/buffer-size.exp: Update "info record" output.
14910 * gdb.btrace/delta.exp: Update "info record" output.
14911 * gdb.btrace/enable.exp: Update "info record" output.
14912 * gdb.btrace/finish.exp: Update "info record" output.
14913 * gdb.btrace/instruction_history.exp: Update "info record" output.
14914 * gdb.btrace/next.exp: Update "info record" output.
14915 * gdb.btrace/nexti.exp: Update "info record" output.
14916 * gdb.btrace/step.exp: Update "info record" output.
14917 * gdb.btrace/stepi.exp: Update "info record" output.
14918 * gdb.btrace/nohist.exp: Update "info record" output.
14919
d33501a5
MM
149202015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14921
14922 * gdb.btrace/buffer-size: New.
14923
f4abbc16
MM
149242015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14925
14926 * gdb.btrace/delta.exp: Update "info record" output.
14927 * gdb.btrace/enable.exp: Update "info record" output.
14928 * gdb.btrace/finish.exp: Update "info record" output.
14929 * gdb.btrace/instruction_history.exp: Update "info record" output.
14930 * gdb.btrace/next.exp: Update "info record" output.
14931 * gdb.btrace/nexti.exp: Update "info record" output.
14932 * gdb.btrace/step.exp: Update "info record" output.
14933 * gdb.btrace/stepi.exp: Update "info record" output.
14934 * gdb.btrace/nohist.exp: Update "info record" output.
14935
b9d61307
SM
149362015-02-06 Simon Marchi <simon.marchi@ericsson.com>
14937
14938 PR gdb/15678
14939 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
14940
e584fdbc
PA
149412015-02-06 Pedro Alves <palves@redhat.com>
14942
14943 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
14944 macro.
14945 (seconds_left, again): New globals.
14946 (main): Wait seconds_left in a 1-second sleep loop instead of
14947 sleeping 180 seconds. If 'again' is set, reset the seconds
14948 counter.
14949 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
14950 'again' in the inferior before detaching. Print the seconds left.
14951 (options): New global.
14952 (top level): Build program with -DTIMEOUT=$timeout.
14953
77f41761
PA
149542015-02-06 Pedro Alves <palves@redhat.com>
14955
14956 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
14957 determine how many seconds to pass to 'alarm'.
14958 * gdb.base/gdb-sigterm.exp (top level): Build program with
14959 -DTIMEOUT=$timeout.
14960 (do_test): Return success/failure indication. Add more verbose
14961 logging. Don't fail if 200 single steps are seen. Instead, fail
14962 when the test times out.
14963 (passes): New global.
14964 (top level): Break the testing loop if testing fails on any
14965 iteration. Use gdb_assert.
14966
b9394193
DB
149672015-02-04 Don Breazeal <donb@codesourcery.com>
14968
14969 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
14970 and initialize them.
14971 (ipc_cleanup): New function.
14972 (main): Don't declare shmid, semid, and msqid. Add a call to
14973 atexit so that we call ipc_cleanup on exit.
14974
42d9e528
PA
149752015-02-04 Pedro Alves <palves@redhat.com>
14976
14977 * boards/native-extended-gdbserver.exp: Remove any target variant
14978 specifications from the board name before clearing the isremote
14979 flag from board_info.
14980
ae6ae975
DE
149812015-01-31 Doug Evans <xdje42@gmail.com>
14982
14983 * gdb.base/maint.exp <maint print type argc>: Update expected output.
14984
cfb069a8
GB
149852015-01-31 Gary Benson <gbenson@redhat.com>
14986
14987 * gdb.base/completion.exp: Disable completion limiting for
14988 existing tests. Add new tests to check completion limiting.
14989 * gdb.linespec/ls-errs.exp: Disable completion limiting.
14990
5dd31d79
DE
149912015-01-31 Doug Evans <xdje42@gmail.com>
14992
14993 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
14994
9f050062
DE
149952015-01-31 Doug Evans <xdje42@gmail.com>
14996
14997 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
14998 entries. Duplicate file section script entries.
14999 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
15000 inlined entries. Add test for safe-path rejection.
15001 * gdb.python/py-section-script.c: Add duplicate inlined section script
15002 entries. Duplicate file section script entries.
15003 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
15004 inlined entries. Add test for safe-path rejection.
15005
df25ebbd
JB
150062015-01-29 Joel Brobecker <brobecker@adacore.com>
15007
15008 * gdb.ada/disc_arr_bound: New testcase.
15009
4a0ca9ec
JB
150102015-01-29 Joel Brobecker <brobecker@adacore.com>
15011
15012 * gdb.ada/mi_var_array: New testcase.
15013
3a8b707a
DE
150142015-01-27 Doug Evans <dje@google.com>
15015
15016 * gdb.python/py-objfile.exp: Add tests for objfile.username.
15017 Add test for objfile.filename, objfile.username after objfile
15018 has been unloaded.
15019
f8313f6e
JB
150202015-01-26 Joel Brobecker <brobecker@adacore.com>
15021
15022 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
15023 the second test to print the name attribute of value
15024 returned by the call to gdb.lookup_type, and adjust
15025 the expected output accordingly.
15026
37bc665e
MW
150272015-01-25 Mark Wielaard <mjw@redhat.com>
15028
15029 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
15030 * gdb.base/disp-step-fork.c: Include unistd.h.
15031 * gdb.base/siginfo-obj.c: Include stdio.h.
15032 * gdb.base/siginfo-thread.c: Likewise.
15033 * gdb.mi/non-stop.c: Include unistd.h.
15034 * gdb.mi/nsthrexec.c: Include stdio.h.
15035 * gdb.mi/pthreads.c: Include unistd.h.
15036 * gdb.modula2/unbounded1.c (main): Declare returns int.
15037 * gdb.reverse/consecutive-reverse.c: Likewise.
15038 * gdb.threads/create-fail.c: Include unistd.h.
15039 * gdb.threads/killed.c: Likewise.
15040 * gdb.threads/linux-dp.c: Likewise.
15041 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
15042 * gdb.threads/non-ldr-exc-2.c: Likewise.
15043 * gdb.threads/non-ldr-exc-3.c: Likewise.
15044 * gdb.threads/non-ldr-exc-4.c: Likewise.
15045 * gdb.threads/pthreads.c: Include unistd.h.
15046 (main): Declare returns int.
15047 * gdb.threads/tls-main.c (foo): New declaration.
15048 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
15049
f7e5394d
SM
150502015-01-23 Simon Marchi <simon.marchi@ericsson.com>
15051
15052 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
15053 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
15054
743649fd
MW
150552015-01-15 Mark Wielaard <mjw@redhat.com>
15056
15057 * gdb.base/noreturn-return.c: New file.
15058 * gdb.base/noreturn-return.exp: New file.
15059 * gdb.base/noreturn-finish.c: New file.
15060 * gdb.base/noreturn-finish.exp: New file.
15061
198297aa
PA
150622015-01-23 Pedro Alves <palves@redhat.com>
15063
15064 * gdb.threads/continue-pending-after-query.c: New file.
15065 * gdb.threads/continue-pending-after-query.exp: New file.
15066
717cf30c
AG
150672015-01-22 Anders Granlund <anders.granlund@ericsson.com>
15068 Simon Marchi <simon.marchi@ericsson.com>
15069
15070 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
15071 * gdb.base/valgrind-db-attach.exp: Same.
15072 * gdb.base/valgrind-infcall.exp: Same.
15073 * lib/mi-support.exp (default_mi_gdb_start): Same.
15074 * lib/prompt.exp (default_prompt_gdb_start): Same.
15075 * lib/gdb.exp (default_gdb_spawn): Same.
15076 (gdb_interact): New.
15077
15078
4b62a76e
JK
150792015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15080
15081 * gdb.compile/compile.exp (pointer to jit function): New test.
15082
b4cdae6f
WW
150832015-01-17 Wei-cheng Wang <cole945@gmail.com>
15084
15085 * lib/gdb.exp (supports_process_record): Return true for
15086 powerpc*-*-linux*.
15087 (supports_reverse): Likewise.
15088
d221e7ef
DB
150892015-01-15 Don Breazeal <donb@codesourcery.com>
15090
15091 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
15092 instead of checking whether the target board is remote and
15093 use spawn_wait_for_attach instead of exec/sleep.
15094 * gdb.base/attach-twice.exp: Likewise.
15095
bafffb51
JB
150962015-01-15 Joel Brobecker <brobecker@adacore.com>
15097
15098 * gdb.ada/var_arr_attrs: New testcase.
15099
5589af0e
PA
151002015-01-14 Pedro Alves <palves@redhat.com>
15101 Joel Brobecker <brobecker@adacore.com>
15102
15103 PR gdb/17525
15104 * gdb.base/bp-cmds-execution-x-script.c: New file.
15105 * gdb.base/bp-cmds-execution-x-script.exp: New file.
15106 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
15107
6c400b59
PA
151082015-01-14 Pedro Alves <palves@redhat.com>
15109
15110 PR cli/17828
15111 * gdb.base/batch-preserve-term-settings.c: New file.
15112 * gdb.base/batch-preserve-term-settings.exp: New file.
15113
e02c96a7
DE
151142015-01-13 Doug Evans <dje@google.com>
15115
15116 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
15117 binary.
15118
576fd14c
JB
151192015-01-13 Joel Brobecker <brobecker@adacore.com>
15120
15121 * Makefile.in (clean mostlyclean): Do not delete *.py.
15122
04dccad0
JB
151232015-01-13 Joel Brobecker <brobecker@adacore.com>
15124
15125 * gdb.python/py-lookup-type.exp: New file.
15126
3d230f71
PA
151272015-01-12 Pedro Alves <palves@redhat.com>
15128
15129 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
15130 restore GDBFLAGS before returning.
15131
7e67715d
JK
151322015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15133
15134 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
15135 is_amd64_regs_target and is_x86_like_target.
15136
f2e0d4b4
DE
151372015-01-11 Doug Evans <xdje42@gmail.com>
15138
15139 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
15140 is given without an explicit form.
15141 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
15142 attributes.
15143 * gdb.dwarf/corrupt.exp: Ditto.
15144 * gdb.dwarf2/enum-type.exp: Ditto.
15145 * gdb.trace/entry-values.exp: Ditto.
15146 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
15147
439250fb
DE
151482015-01-11 Doug Evans <xdje42@gmail.com>
15149
15150 PR gdb/15830
15151 * gdb.base/maint.exp: Remove references to "maint demangle".
15152 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
15153 Add tests for explicitly specifying language to demangle.
15154 * gdb.dlang/demangle.exp: Ditto.
15155
ede9f622
PA
151562015-01-09 Pedro Alves <palves@redhat.com>
15157
15158 * gdb.threads/non-stop-fair-events.c: New file.
15159 * gdb.threads/non-stop-fair-events.exp: New file.
15160
a7b796db
PA
151612015-01-09 Pedro Alves <palves@redhat.com>
15162
15163 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
15164 the global scope. Set a breakpoint after all threads are started
15165 rather than stepping over two source lines. Expect the prompt.
15166 * gdb.base/watch_thread_num.c (threads_started_barrier): New
15167 global.
15168 (NUM): Now 15.
15169 (main): Use threads_started_barrier to wait for all threads to
15170 start. Main thread no longer calls thread_function. Exit after
15171 180 seconds.
15172 (loop): New function.
15173 (thread_function): Wait on threads_started_barrier barrier. Call
15174 'loop' at each iteration.
15175 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
15176 threads have started, instead of hardcoding number of "next"
15177 steps. Use an access watchpoint instead of a write watchpoint.
15178
9665ffdd
PA
151792015-01-09 Pedro Alves <palves@redhat.com>
15180
15181 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
15182 (thread_func): Wait on barrier.
15183 (main): Wait for all threads to start before stopping GDB.
15184 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
15185 global.
15186 (thread1_func, thread2_func): Wait on barrier.
15187 (main): Wait for all threads to start before stopping GDB.
15188 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
15189 New global.
15190 (thread1_func, thread2_func): Wait on barrier.
15191 (main): Wait for all threads to start before stopping GDB.
15192
c945a99f
PA
151932015-01-09 Pedro Alves <palves@redhat.com>
15194
15195 * gdb.threads/attach-many-short-lived-threads.c: New file.
15196 * gdb.threads/attach-many-short-lived-threads.exp: New file.
15197
c1a747c1
PA
151982014-01-09 Pedro Alves <palves@redhat.com>
15199
15200 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
15201 instead of to thread 2.
15202 * gdb.threads/signal-command-multiple-signals-pending.c (main):
15203 Add barrier around each pthread_create call instead of around all
15204 calls.
15205 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
15206 Set a break on thread_function and have the child threads hit it
15207 one at at a time.
15208
60b3033e
PA
152092015-01-09 Pedro Alves <palves@redhat.com>
15210
15211 * lib/gdb.exp (can_spawn_for_attach): New procedure.
15212 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
15213 false.
15214 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
15215 checking whether the target board is remote.
15216 * gdb.multi/multi-attach.exp: Likewise.
15217 * gdb.python/py-sync-interp.exp: Likewise.
15218 * gdb.server/ext-attach.exp: Likewise.
15219 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
15220 tests that need to attach, instead of checking whether the target
15221 board is remote at the top of the file.
15222
acc018ac
YQ
152232015-01-08 Yao Qi <yao@codesourcery.com>
15224
15225 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
15226
50a18af8
JK
152272015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15228
15229 Fix testcase compilation.
15230 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
15231
8503d6e1
JB
152322015-01-06 Joel Brobecker <brobecker@adacore.com>
15233
15234 * gdb.python/py-type.exp: Add a couple test about empty
15235 array creation, and negative-length array creation.
15236
cc73dbcc
DE
152372015-01-02 Doug Evans <xdje42@gmail.com>
15238
15239 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
15240
0300bbc7
DE
152412015-01-02 Doug Evans <dje@google.com>
15242
15243 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
15244
9d85a0ec
YQ
152452014-12-29 Yao Qi <yao@codesourcery.com>
15246
15247 * gdb.trace/entry-values.exp: Update comments. Rename variable
15248 bar_call_foo to returned_from_foo.
15249
87186c6a
MMN
152502014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
15251
15252 PR gdb/17394
15253 * gdb.linespec/break-asm-file.c: New file.
15254 * gdb.linespec/break-asm-file.exp: New file.
15255 * gdb.linespec/break-asm-file0.s: New file.
15256 * gdb.linespec/break-asm-file1.s: New file.
15257
1bab7383
YQ
152582014-12-18 Nigel Stephens <nigel@mips.com>
15259 Maciej W. Rozycki <macro@codesourcery.com>
15260
15261 * gdb.base/float.exp: Handle the new output from "info float" on
15262 MIPS targets.
15263
1bc1068a
JK
152642014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
15265
15266 Fix MinGW compilation.
15267 * gdb.compile/compile-ops.exp: Update untested message if
15268 !skip_compile_feature_tests.
15269 * gdb.compile/compile-setjmp.exp: Likewise.
15270 * gdb.compile/compile-tls.exp: Likewise.
15271 * gdb.compile/compile.exp: Likewise.
15272 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
15273 supported on this host".
15274
b6615d10
DE
152752014-12-16 Doug Evans <xdje42@gmail.com>
15276
15277 * boards/stabs.exp: New file.
15278
25dda427
AA
152792014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
15280
15281 * gdb.base/completion.exp: Adjust to format changes of "maint
15282 print user-registers".
15283
bf330350
CU
152842014-12-16 Catalin Udma <catalin.udma@freescale.com>
15285
15286 PR server/17457
15287 * gdb.arch/aarch64-fp.c: New file.
15288 * gdb.arch/aarch64-fp.exp: New file.
15289
395cf596
SDJ
152902014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
15291
15292 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
15293 r210637, r210913, r211666, r215400, r215817).
15294
15295 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
15296 * dg-extract-results.py: New file.
15297 * dg-extract-results.sh: Use it if the environment seems
15298 suitable.
15299
15300 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
15301
15302 * dg-extract-results.py (parse_run): Handle warnings that
15303 are printed before a test harness is run.
15304
15305 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
15306
15307 * dg-extract-results.py (Named): Remove __cmp__ method.
15308 (output_variation): Use a key to sort variation.harnesses.
15309
15310 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
15311
15312 * dg-extract-results.py: For Python 3, force sys.stdout to
15313 handle surrogate escape sequences.
15314 (safe_open): New function.
15315 (output_segment, main): Use it.
15316
15317 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
15318
15319 * dg-extract-results.py (Prog.result_re): Include options
15320 in test name.
15321
15322 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
15323
15324 * dg-extract-results.py (output_variation): Always sort if
15325 do_sum.
15326
e882ef3c
SM
153272014-12-15 Simon Marchi <simon.marchi@ericsson.com>
15328
15329 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
15330 as long as we get pagination notifications.
15331
4992aa20
JM
153322014-12-15 Jason Merrill <jason@redhat.com>
15333
15334 * Makefile.in (check-gdb.%): Restore.
15335 * README: Mention it.
15336
c1b5a1a6
JB
153372014-12-13 Joel Brobecker <brobecker@adacore.com>
15338
15339 * gdb.ada/str_uninit: New testcase.
15340
5537b577
JK
153412014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15342
15343 PR symtab/17642
15344 * gdb.base/vla-stub-define.c: New file.
15345 * gdb.base/vla-stub.c: New file.
15346 * gdb.base/vla-stub.exp: New file.
15347
bb2ec1b3
TT
153482014-12-12 Phil Muldoon <pmuldoon@redhat.com>
15349 Jan Kratochvil <jan.kratochvil@redhat.com>
15350 Tom Tromey <tromey@redhat.com>
15351
15352 * configure.ac: Add gdb.compile/.
15353 * configure: Regenerate.
15354 * gdb.compile/Makefile.in: New file.
15355 * gdb.compile/compile-ops.exp: New file.
15356 * gdb.compile/compile-ops.c: New file.
15357 * gdb.compile/compile-tls.c: New file.
15358 * gdb.compile/compile-tls.exp: New file.
15359 * gdb.compile/compile-constvar.S: New file.
15360 * gdb.compile/compile-constvar.c: New file.
15361 * gdb.compile/compile-mod.c: New file.
15362 * gdb.compile/compile-nodebug.c: New file.
15363 * gdb.compile/compile-setjmp-mod.c: New file.
15364 * gdb.compile/compile-setjmp.c: New file.
15365 * gdb.compile/compile-setjmp.exp: New file.
15366 * gdb.compile/compile-shlib.c: New file.
15367 * gdb.compile/compile.c: New file.
15368 * gdb.compile/compile.exp: New file.
15369 * lib/gdb.exp (skip_compile_feature_tests): New proc.
15370
4ff709eb
TT
153712014-12-12 Tom Tromey <tromey@redhat.com>
15372
15373 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
15374 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
15375
6dddd6a5
DE
153762014-12-12 Doug Evans <dje@google.com>
15377
15378 * lib/gdb-python.exp (get_python_valueof): New function.
15379 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
15380
71c24708
AA
153812014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
15382
15383 * gdb.base/completion.exp: Add test for completion of "info
15384 registers ".
15385
3e29f34a
MR
153862014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
15387
15388 * gdb.base/func-ptrs.c: New file.
15389 * gdb.base/func-ptrs.exp: New file.
15390
fc126975
SM
153912014-12-10 Simon Marchi <simon.marchi@ericsson.com>
15392
15393 PR breakpoints/17012
15394 * gdb.base/dprintf-detach.c: New file.
15395 * gdb.base/dprintf-detach.exp: New file.
15396
0a46d518
SM
153972014-12-10 Simon Marchi <simon.marchi@ericsson.com>
15398
15399 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
15400 * lib/gdb.exp (target_is_gdbserver): New procedure.
15401
a0be3e44
DE
154022014-12-08 Doug Evans <dje@google.com>
15403
15404 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
15405
df1b803a
YQ
154062014-12-05 Yao Qi <yao@codesourcery.com>
15407
15408 * gdb.guile/scm-error.exp: Remove the third argument to
15409 gdb_remote_download.
15410 * gdb.guile/scm-frame-args.exp: Likewise.
15411 * gdb.guile/scm-section-script.exp: Likewise.
15412
ddb9f679
YQ
154132014-12-05 Yao Qi <yao@codesourcery.com>
15414
15415 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
15416
86e4ed39
DE
154172014-12-04 Doug Evans <dje@google.com>
15418
15419 * gdb.python/py-objfile.exp: Add tests for
15420 objfile.add_separate_debug_file.
15421
7c50a931
DE
154222014-12-04 Doug Evans <dje@google.com>
15423
15424 * lib/gdb.exp (get_build_id): New function.
15425 (build_id_debug_filename_get): Rewrite to use it.
15426 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
15427
621661e3
MR
154282014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
15429
15430 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
15431 `method(long)', not just 0x0.
15432 * gdb.cp/nsalias.exp: Align code labels to 4.
15433 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
15434 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
15435 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
15436 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
15437 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
15438 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
15439
29f0c3b7
DE
154402014-12-02 Doug Evans <dje@google.com>
15441
e1e061e7 15442 PR symtab/17602
29f0c3b7 15443 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 15444 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
15445 * gdb.cp/anon-ns.exp: Update.
15446
162078c8
NB
154472014-12-02 Nick Bull <nicholaspbull@gmail.com>
15448
15449 * gdb.python/py-events.py (inferior_call_handler): New.
15450 (register_changed_handler, memory_changed_handler): New.
15451 (test_events.invoke): Register new handlers.
15452 * gdb.python/py-events.exp: Add tests for inferior call,
15453 memory_changed and register_changed events.
15454
fdb09caf
AA
154552014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
15456
15457 * gdb.base/execl-update-breakpoints.exp: Specify the link address
15458 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
15459 if the linker doesn't understand this.
15460
55cfb2c4
SM
154612014-12-01 Simon Marchi <simon.marchi@ericsson.com>
15462
15463 * gdb.python/python.exp: Change expected reply to help().
15464
9e8cd6df
YQ
154652014-12-01 Yao Qi <yao@codesourcery.com>
15466
15467 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
15468 AC_CONFIG_SUBDIRS(gdb.gdbtk).
15469 * configure: Re-generated.
15470
6c659fc2
SC
154712014-11-28 Siva Chandra Reddy <sivachandra@google.com>
15472
15473 * gdb.cp/chained-calls.cc: New file.
15474 * gdb.cp/chained-calls.exp: New file.
15475 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
15476
d7fc3181
SM
154772014-11-28 Simon Marchi <simon.marchi@ericsson.com>
15478
15479 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
15480 * gdb.dwarf2/symtab-producer.exp: Same.
15481 * gdb.gdb/python-interrupts.exp: Same.
15482 * gdb.gdb/python-selftest.exp: Same.
15483 * gdb.python/py-linetable.exp: Same.
15484 * gdb.python/py-type.exp: Same.
15485 * gdb.python/py-value-cc.exp: Same.
15486 * gdb.python/py-value.exp: Same.
15487
10e79639
YQ
154882014-11-28 Yao Qi <yao@codesourcery.com>
15489
15490 * gdb.base/break-probes.exp: Match library name prefixed with
15491 sysroot.
15492
f28a0564
SM
154932014-11-27 Simon Marchi <simon.marchi@ericsson.com>
15494
15495 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
15496 test expected output. Add parentheses for the call to print.
15497 Remove L suffix from integers.
15498
3fe1ce1d
DE
154992014-11-26 Doug Evans <dje@google.com>
15500
15501 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
15502
84429e27
YQ
155032014-11-22 Yao Qi <yao@codesourcery.com>
15504
15505 * gdb.trace/entry-values.c: Remove asms.
15506 (foo): Add foo_label.
15507 (bar): Add bar_label.
15508 * gdb.trace/entry-values.exp: Remove code computing foo's
15509 length and bar's length.
15510 (Dwarf::assemble): Invoke function_range for bar and use
15511 MACRO_AT_func for foo.
15512
26741859
YQ
155132014-11-22 Yao Qi <yao@codesourcery.com>
15514
15515 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
15516 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
15517 Use .Lgcc43_procstart instead of gcc43.
15518
45e44d27
JB
155192014-11-21 Joel Brobecker <brobecker@adacore.com>
15520
15521 * gdb.ada/n_arr_bound: New testcase.
15522
458c8db8
SDJ
155232014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
15524
15525 PR breakpoints/10737
15526 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
15527 test_catch_syscall_multi_arch.
15528 (test_catch_syscall_multi_arch): New function.
15529
43f3e411
DE
155302014-11-20 Doug Evans <xdje42@gmail.com>
15531
15532 * gdb.base/maint.exp: Update expected output.
15533
0d7b2549
AA
155342014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
15535
15536 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
15537 4-byte instruction on S390.
15538
8908fca5
JB
155392014-11-19 Joel Brobecker <brobecker@adacore.com>
15540
15541 * gdb.ada/arr_arr: New testcase.
15542
4a46959e
JB
155432014-11-19 Joel Brobecker <brobecker@adacore.com>
15544
15545 * gdb.ada/pkd_arr_elem: New Testcase.
15546
470e2f4e
LM
155472014-11-18 Luis Machado <lgustavo@codesourcery.com>
15548
15549 * gdb.reverse/break-precsave: Expect completion message for
15550 core file reads.
15551 * gdb.reverse/consecutive-precsave.exp: Likewise.
15552 * gdb.reverse/finish-precsave.exp: Likewise.
15553 * gdb.reverse/i386-precsave.exp: Likewise.
15554 * gdb.reverse/machinestate-precsave.exp: Likewise.
15555 * gdb.reverse/sigall-precsave.exp: Likewise.
15556 * gdb.reverse/solib-precsave.exp: Likewise.
15557 * gdb.reverse/step-precsave.exp: Likewise.
15558 * gdb.reverse/until-precsave.exp: Likewise.
15559 * gdb.reverse/watch-precsave.exp: Likewise.
15560
a267f3ad
AA
155612014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15562
15563 * gdb.base/bp-permanent.c: Include unistd.h.
15564 * gdb.python/py-framefilter-mi.c (main): Add return type.
15565 * gdb.python/py-framefilter.c (main): Likewise.
15566 * gdb.trace/actions-changed.c (main): Likewise.
15567
12084a9a
AA
155682014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15569
15570 * gdb.mi/until.c: Add eye-catchers.
15571 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
15572 line numbers.
15573
dc7e1a77
AA
155742014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15575
15576 * gdb.base/condbreak.exp: Drop references to removed non-prototype
15577 function header variants in break1.c.
15578 * gdb.base/ena-dis-br.exp: Likewise.
15579 * gdb.base/hbreak2.exp: Likewise.
15580 * gdb.reverse/until-precsave.exp: Drop references to removed
15581 non-prototype function header variants in ur1.c.
15582 * gdb.reverse/until-reverse.exp: Likewise.
15583
41c77605
PM
155842014-11-17 Petr Machata <pmachata@redhat.com>
15585
15586 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
15587 ${_cu_offset_size} bytes abbrev offset.
15588
34248c3a
DE
155892014-11-15 Doug Evans <xdje42@gmail.com>
15590
15591 PR symtab/17559
15592 * gdb.base/line-symtabs.exp: New file.
15593 * gdb.base/line-symtabs.c: New file.
15594 * gdb.base/line-symtabs.h: New file.
15595
646da059
YQ
155962014-11-14 Yao Qi <yao@codesourcery.com>
15597
15598 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
15599 (func): Add label func_label.
15600 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
15601 Replace low_pc and high_pc with MACRO_AT_range.
15602 Replace name, low_pc and high_pc with MACRO_AT_func.
15603
9301ebe6
YQ
156042014-11-14 Yao Qi <yao@codesourcery.com>
15605
15606 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
15607 Replace name, low_pc and high_pc with MACRO_AT_func.
15608
f166b542
YQ
156092014-11-14 Yao Qi <yao@codesourcery.com>
15610
15611 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
15612 produce debug information.
15613 * gdb.dwarf2/implptr-optimized-out.S: Removed.
15614
0f6e71e3
YQ
156152014-11-14 Yao Qi <yao@codesourcery.com>
15616
15617 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
15618 object and get function length.
15619 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
15620 with MACRO_AT_func.
15621 (top-level): Replace gdb_compile and clean_restart with
15622 prepare_for_testing.
15623 * gdb.dwarf2/main.c (main): Add label main_label.
15624
876c4df9
YQ
156252014-11-14 Yao Qi <yao@codesourcery.com>
15626
15627 * lib/dwarf.exp (function_range): New procedure.
15628 (Dwarf::_handle_macro_at_func): New procedure.
15629 (Dwarf::_handle_macro_at_range): New procedure.
15630 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
15631
02ad9cf1
YQ
156322014-11-14 Yao Qi <yao@codesourcery.com>
15633
15634 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
15635 (_handle_attribute): New procedure.
15636
a59add0c
AA
156372014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15638
15639 * gdb.ada/cond_lang/foo.c (callme): Add return type.
15640 * gdb.base/call-sc.c (zed): Likewise.
15641 * gdb.base/checkpoint.c (main): Likewise.
15642 * gdb.base/dump.c (main): Likewise.
15643 * gdb.base/gcore.c (main): Likewise.
15644 * gdb.base/huge.c (main): Likewise.
15645 * gdb.base/multi-forks.c (main): Likewise.
15646 * gdb.base/pr10179-a.c (main): Likewise.
15647 * gdb.base/savedregs.c (main): Likewise.
15648 * gdb.base/sigaltstack.c (main): Likewise.
15649 * gdb.base/siginfo.c (main): Likewise.
15650 * gdb.base/structs.c (zed): Likewise.
15651 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
15652 * gdb.mi/mi-syn-frame.c (main): Likewise.
15653 * gdb.mi/until.c (foo, main): Likewise.
15654 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
15655 * gdb.base/solib-weak.c (foo): Declare.
15656 * gdb.base/attach-twice.c: Include stdio.h.
15657 * gdb.base/weaklib1.c: Likewise.
15658 * gdb.base/weaklib2.c: Likewise.
15659 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
15660 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
15661 unistd.h.
15662 * gdb.base/attach-pie-misread.c: Include stdlib.h.
15663 * gdb.mi/mi-exit-code.c: Likewise.
15664 * gdb.base/break-interp-lib.c: Include string.h.
15665 * gdb.base/coremaker.c: Likewise.
15666 * gdb.base/testenv.c: Likewise.
15667 * gdb.python/py-finish-breakpoint.c: Likewise.
15668 * gdb.base/inferior-died.c: Include sys/wait.h.
15669 * gdb.base/fileio.c: Include time.h.
15670 * gdb.base/async-shell.c: Include unistd.h.
15671 * gdb.base/dprintf-non-stop.c: Likewise.
15672 * gdb.base/info-os.c: Likewise.
15673 * gdb.mi/mi-console.c: Likewise.
15674 * gdb.mi/watch-nonstop.c: Likewise.
15675 * gdb.python/py-events.c: Likewise.
15676 * gdb.base/async.c (baz): Move up before its invocation.
15677 * gdb.base/code_elim2.c (my_global_func): Likewise.
15678 * gdb.base/skip-solib-lib.c (multiply): Likewise.
15679 * gdb.base/advance.c (func2): Likewise.
15680
3b5d5997
AA
156812014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15682
15683 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
15684 variant.
15685 * gdb.base/annota3.c: Likewise.
15686 * gdb.base/async.c: Likewise.
15687 * gdb.base/average.c: Likewise.
15688 * gdb.base/call-ar-st.c: Likewise.
15689 * gdb.base/call-rt-st.c: Likewise.
15690 * gdb.base/call-sc.c: Likewise.
15691 * gdb.base/call-strs.c: Likewise.
15692 * gdb.base/ending-run.c: Likewise.
15693 * gdb.base/execd-prog.c: Likewise.
15694 * gdb.base/exprs.c: Likewise.
15695 * gdb.base/foll-exec.c: Likewise.
15696 * gdb.base/foll-fork.c: Likewise.
15697 * gdb.base/foll-vfork.c: Likewise.
15698 * gdb.base/funcargs.c: Likewise.
15699 * gdb.base/gcore.c: Likewise.
15700 * gdb.base/jump.c: Likewise.
15701 * gdb.base/langs0.c: Likewise.
15702 * gdb.base/langs1.c: Likewise.
15703 * gdb.base/langs2.c: Likewise.
15704 * gdb.base/mips_pro.c: Likewise.
15705 * gdb.base/nodebug.c: Likewise.
15706 * gdb.base/opaque0.c: Likewise.
15707 * gdb.base/opaque1.c: Likewise.
15708 * gdb.base/recurse.c: Likewise.
15709 * gdb.base/run.c: Likewise.
15710 * gdb.base/scope0.c: Likewise.
15711 * gdb.base/scope1.c: Likewise.
15712 * gdb.base/setshow.c: Likewise.
15713 * gdb.base/setvar.c: Likewise.
15714 * gdb.base/shmain.c: Likewise.
15715 * gdb.base/shr1.c: Likewise.
15716 * gdb.base/shr2.c: Likewise.
15717 * gdb.base/sigall.c: Likewise.
15718 * gdb.base/signals.c: Likewise.
15719 * gdb.base/so-indr-cl.c: Likewise.
15720 * gdb.base/solib2.c: Likewise.
15721 * gdb.base/structs.c: Likewise.
15722 * gdb.base/sum.c: Likewise.
15723 * gdb.base/vforked-prog.c: Likewise.
15724 * gdb.base/watchpoint.c: Likewise.
15725 * gdb.reverse/shr2.c: Likewise.
15726 * gdb.reverse/until-reverse.c: Likewise.
15727 * gdb.reverse/ur1.c: Likewise.
15728 * gdb.reverse/watch-reverse.c: Likewise.
15729
066a77c5
AA
157302014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15731
15732 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
15733 variant.
15734 * gdb.base/sepdebug.exp: Drop references to removed code.
15735
4f204ea5
AA
157362014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15737
15738 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
15739 variant. Preserve original line numbering.
15740 * gdb.base/list1.c: Likewise.
15741
3b377a3a
AA
157422014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15743
15744 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
15745 variant.
15746 * gdb.base/break1.c: Likewise.
15747 * gdb.base/break.exp: Drop references to removed code.
15748
e444df73
AA
157492014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15750
15751 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
15752 variant.
15753
8008f2a7
AA
157542014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15755
15756 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
15757
a5a06887
AA
157582014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15759
15760 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
15761 logic into perform_all_tests() and invoke it with and without
15762 function header prototypes.
15763 (do_function_calls): Remove conditional XFAIL for PR 5318.
15764 (rerun_and_prepare): Remove duplicate code.
15765 (perform_all_tests): New. Main logic moved here.
15766
44dba9b9
AA
157672014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15768
15769 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
15770 code guarded by #ifdef NO_PROTOTYPES.
15771 (t_double_many_args): Likewise.
15772 (DEF_FUNC_MANY_ARGS_1): Likewise.
15773 (DEF_FUNC_VALUES_1): Likewise.
15774 (t_structs_ldc): Renamed from t_structs_fc in conditional code
15775 guarded by #ifdef PROTOTYPES.
15776
d1fbcd56
AA
157772014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15778
15779 * gdb.mi/mi-console.c: Add eye-catcher.
15780 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
15781 instead of literal line number.
15782
b0e59b8f
AA
157832014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15784
15785 * gdb.base/shr2.c: Add eye-catcher.
15786 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
15787 line number.
15788
78f98cca
AA
157892014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15790
15791 * gdb.base/jump.c: Add eye-catchers.
15792 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
15793 numbers.
15794
58fa2af0
AA
157952014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15796
15797 * gdb.base/execd-prog.c: Add eye-catchers.
15798 * gdb.base/foll-exec.c: Likewise.
15799 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
15800 line numbers.
15801
04e5059b
AA
158022014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15803
15804 * gdb.base/ending-run.c: Add eye-catchers.
15805 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
15806 literal line numbers.
15807
dbfdb174
AA
158082014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15809
15810 * gdb.base/call-rt-st.c: Add eye-catchers.
15811 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
15812 literal line numbers.
15813
888a2ade
AA
158142014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15815
15816 * gdb.base/call-ar-st.c: Add eye-catchers.
15817 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
15818 literal line numbers.
15819
6acc2dde
AA
158202014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15821
15822 * gdb.base/average.c: Add eye-catchers.
15823 * gdb.base/sum.c: Likewise.
15824 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
15825 regexps dynamically.
15826
9ecfcd1d
AA
158272014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15828
15829 * gdb.base/solib1.c: Add eye-catchers.
15830 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
15831 literal line numbers.
15832
78708b7c
PA
158332014-11-12 Pedro Alves <palves@redhat.com>
15834
15835 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
15836 leader has exited.
15837
af48d08f
PA
158382014-11-12 Pedro Alves <palves@redhat.com>
15839
15840 * gdb.arch/i386-bp_permanent.c: New file.
15841 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
15842 (srcfile): Set to i386-bp_permanent.c.
15843 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
15844 that stepi does not execute the 'leave' instruction, instead of
15845 testing it does execute.
15846 * gdb.base/bp-permanent.c: New file.
15847 * gdb.base/bp-permanent.exp: New file.
15848
af3768e9
DE
158492014-11-10 Doug Evans <xdje42@gmail.com>
15850
15851 PR symtab/17564
15852 * gdb.base/symtab-search-order.exp: New file.
15853 * gdb.base/symtab-search-order.c: New file.
15854 * gdb.base/symtab-search-order-1.c: New file.
15855 * gdb.base/symtab-search-order-shlib-1.c: New file.
15856
9de00a4a
PA
158572014-11-07 Pedro Alves <palves@redhat.com>
15858
15859 PR gdb/17511
15860 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
15861 i?86-*-linux*.
15862
e0f52461
SC
158632014-11-03 Siva Chandra Reddy <sivachandra@google.com>
15864
15865 PR c++/17494
15866 * gdb.cp/pr17494.cc: New file.
15867 * gdb.cp/pr17494.exp: New file.
15868
6ce8c980
YQ
158692014-11-02 Yao Qi <yao@codesourcery.com>
15870
15871 * gdb.python/python.exp: Get working directory and match the
15872 output of "set extended-prompt \\w " with it.
15873
02be9a71
DE
158742014-10-30 Doug Evans <dje@google.com>
15875
15876 * gdb.python/py-objfile.exp: Add tests for setting random attributes
15877 in objfiles.
15878 * gdb.python/py-progspace.exp: Add tests for setting random attributes
15879 in progspaces.
15880
3bdff46b
LM
158812014-10-30 Janis Johnson <janisjo@codesourcery.com>
15882
15883 * gdb.base/fullpath-expand.exp: Skip for a remote host.
15884 * gdb.base/realname-expand.exp: Likewise.
15885 * gdb.linespec/macro-relative.exp: Likewise.
15886
ab917dfb
PA
158872014-10-29 Pedro Alves <palves@redhat.com>
15888
15889 PR gdb/17408
15890 * gdb.threads/schedlock.c (some_function): New function.
15891 (call_function): New global.
15892 (MAYBE_CALL_SOME_FUNCTION): New macro.
15893 (thread_function): Call it.
15894 * gdb.threads/schedlock.exp (get_args): Add description parameter,
15895 and use it instead of a global counter. Adjust all callers.
15896 (get_current_thread): Use "find current thread" for test message
15897 here rather than having all callers pass down the same string.
15898 (goto_loop): New procedure, factored out from ...
15899 (my_continue): ... this.
15900 (step_ten_loops): Change parameter from test message to command to
15901 use. Adjust.
15902 (list_count): Delete global.
15903 (check_result): New procedure, factored out from duplicate top
15904 level code.
15905 (continue tests): Wrap in with_test_prefix.
15906 (test_step): New procedure, factored out from duplicate top level
15907 code.
15908 (top level): Test "step" in combination with all scheduler-locking
15909 modes. Test "next" in combination with all scheduler-locking
15910 modes, and in combination with stepping over a function call or
15911 not.
15912 * gdb.threads/next-bp-other-thread.c: New file.
15913 * gdb.threads/next-bp-other-thread.exp: New file.
15914
d3d4baed
PA
159152014-10-29 Pedro Alves <palves@redhat.com>
15916
15917 PR python/17372
15918 * gdb.python/python.exp: Test a multi-line command that spawns
15919 interactive Python.
15920 * gdb.base/multi-line-starts-subshell.exp: New file.
15921
563e8d85
YQ
159222014-10-29 Yao Qi <yao@codesourcery.com>
15923
15924 * gdb.base/fileio.exp: Make directories on host.
15925
0ea4d52e
YQ
159262014-10-29 Yao Qi <yao@codesourcery.com>
15927
15928 * gdb.base/fileio.c (test_write): Close the file.
15929
7f5ef605
PA
159302014-10-28 Pedro Alves <palves@redhat.com>
15931
15932 PR gdb/12623
15933 * gdb.base/sigstep.c (no_handler): New global.
15934 (main): If 'no_handler is true, set the signal handlers to
15935 SIG_IGN.
15936 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
15937 with_sw_watch and no_handler parameters. Handle them.
15938 (top level) <stepping over handler when stopped at a breakpoint
15939 test>: Add a test axis for testing with a software watchpoint, and
15940 another for testing with the signal handler set to SIG_IGN.
15941 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
15942 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
15943
abbdbd03
PA
159442014-10-28 Pedro Alves <palves@redhat.com>
15945
15946 PR gdb/17511
15947 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
15948 * gdb.base/sigstep.exp (other_handler_location): New global.
15949 (advance): Support stepping into the signal handler, and running
15950 commands while in the handler.
15951 (in_handler_map): New global.
15952 (top level): In the advance test, add combinations for getting
15953 into the handler with stepping commands, and for running commands
15954 in the handler. Add comment descripting the advancei tests.
15955
1df4399f
PA
159562014-10-28 Pedro Alves <palves@redhat.com>
15957
15958 * gdb.base/sigstep.exp: Use build_executable instead of
15959 prepare_for_testing.
15960 (top level): Move code that starts GDB, runs to main and creates a
15961 display to ...
15962 (restart): ... this new procedure.
15963 (top level): Move backtrace from signal handler test to ...
15964 (validate_backtrace): ... this new procedure.
15965 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
15966 with_test_prefix. Always restart GDB.
15967 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
15968 with_test_prefix. Always restart GDB. No need to delete
15969 breakpoints after the test.
15970 (test_skip_handler): Remove prefix parameter.
15971 (skip_over_handler, breakpoint_to_handler)
15972 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
15973 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
15974 restart GDB. No need to delete breakpoints after the test.
15975 (top level): Use foreach to call the test procedures with
15976 different commands.
15977
a5b6e449
PA
159782014-10-28 Pedro Alves <palves@redhat.com>
15979
15980 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
15981 instead of GNATS numbers.
15982 * gdb.base/sigbpt.exp: Likewise.
15983 * gdb.base/siginfo.exp: Likewise.
15984 * gdb.base/sigstep.exp: Likewise.
15985
e5f8a7cc
PA
159862014-10-27 Pedro Alves <palves@redhat.com>
15987
15988 * gdb.base/sigstep.c (dummy): New global.
15989 (main): Issue a couple writes to the new global.
15990 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
15991 procedures.
15992 (skip_over_handler): Use test_skip_handler.
15993 (top level): Call skip_over_handler for stepi and nexti too.
15994 (breakpoint_over_handler): Use test_skip_handler.
15995 (top level): Call breakpoint_over_handler for stepi and nexti too.
15996
763905a3
YQ
159972014-10-27 Yao Qi <yao@codesourcery.com>
15998
15999 * gdb.trace/tfile.c (adjust_function_address)
16000 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
16001 function descriptor.
16002
6f259a23
DB
160032014-10-24 Don Breazeal <donb@codesourcery.com>
16004
16005 * gdb.base/foll-fork.exp (test_follow_fork,
16006 catch_fork_child_follow): Check for updated fork messages emitted
16007 from infrun.c.
16008 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
16009 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
16010 vfork_and_exec_child_follow_through_step): Check for updated vfork
16011 messages emitted from infrun.c.
16012
09dd9a69
PA
160132014-10-24 Pedro Alves <palves@redhat.com>
16014
16015 * gdb.base/corefile.exp: Remove references to ultrix.
16016 * gdb.base/interrupt.exp: Likewise.
16017 * gdb.base/whatis.exp: Likewise.
16018 * gdb.gdb/selftest.exp: Likewise.
16019 * gdb.threads/manythreads.exp: Likewise.
16020 * gdb.threads/print-threads.exp: Likewise.
16021 * gdb.threads/pthreads.exp:: Likewise.
16022 * gdb.threads/schedlock.exp: Likewise.
16023
3433cfa5
SC
160242014-10-24 Siva Chandra Reddy <sivachandra@google.com>
16025
16026 * gdb.cp/non-trivial-retval.cc: Add a test case.
16027 * gdb.cp/non-trivial-retval.exp: Add a test.
16028
092f880b
YQ
160292014-10-20 Yao Qi <yao@codesourcery.com>
16030
16031 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
16032 * gdb.python/py-objfile-script-gdb.py: New file.
16033 * gdb.python/py-objfile-script.exp: Update reference to
16034 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
16035 of remote_download. Remove the dest file.
16036
acbdb7f3
YQ
160372014-10-20 Yao Qi <yao@codesourcery.com>
16038
16039 * gdb.base/checkpoint.exp: Don't remove file copied on host.
16040 * gdb.base/step-line.exp: Likewise.
16041 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
16042 * gdb.dwarf2/dw2-basic.exp: Likewise.
16043 * gdb.dwarf2/dw2-compressed.exp: Likewise.
16044 * gdb.dwarf2/dw2-filename.exp: Likewise.
16045 * gdb.dwarf2/dw2-intercu.exp: Likewise.
16046 * gdb.dwarf2/dw2-intermix.exp: Likewise.
16047 * gdb.dwarf2/dw2-producer.exp: Likewise.
16048 * gdb.dwarf2/mac-fileno.exp: Likewise.
16049 * gdb.python/py-frame-args.exp: Likewise.
16050 * gdb.python/py-framefilter.exp: Likewise.
16051 * gdb.python/py-mi.exp: Likewise.
16052 * gdb.python/py-objfile-script.exp: Likewise
16053 * gdb.python/py-pp-integral.exp: Likewise.
16054 * gdb.python/py-pp-re-notag.exp: Likewise.
16055 * gdb.python/py-prettyprint.exp: Likewise.
16056 * gdb.python/py-section-script.exp: Likewise.
16057 * gdb.python/py-typeprint.exp: Likewise.
16058 * gdb.python/py-xmethods.exp: Likewise.
16059 * gdb.stabs/weird.exp: Likewise.
16060 * gdb.xml/tdesc-regs.exp: Likewise.
16061
bd286a29
KCY
160622014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
16063
16064 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
16065 (out_cu): Use addr_len for the size of addresses.
16066 (out_line): Likewise. Size DW_LNE_set_address instruction
16067 according to addr_len.
16068 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
16069 (FUNC): Add START_INSNS to definition.
16070
673dc4a0
YQ
160712014-10-18 Yao Qi <yao@codesourcery.com>
16072
16073 * gdb.base/argv0-symlink.exp: Check argv[0] value if
16074 gdb_has_argv0 return true.
16075 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
16076 check [target_info exists noargs], check [gdb_has_argv0]
16077 instead.
16078 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
16079 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
16080 procedures.
16081
4ffbba72
DE
160822014-10-17 Doug Evans <dje@google.com>
16083
16084 * gdb.python/py-events.exp: Update expected output for clear_objfiles
16085 event.
16086 * gdb.python/py-events.py: Add clear_objfiles event.
16087
d096d8c1
DE
160882014-10-17 Doug Evans <dje@google.com>
16089
16090 * gdb.python/py-objfile.exp: Test progspace attribute.
16091
a80db015
LM
160922014-10-17 Luis Machado <lgustavo@codesourcery.com>
16093
16094 * gdb.guile/scm-breakpoint.exp: Do not assume any
16095 directory separators when matching source file paths.
16096 * gdb.python/py-breakpoint.exp: Likewise.
16097 * gdb.reverse/break-precsave.exp: Likewise.
16098 * gdb.reverse/break-reverse.exp: Likewise.
16099 * gdb.reverse/consecutive-precsave.exp: Likewise.
16100 * gdb.reverse/finish-precsave.exp: Likewise.
16101 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
16102 * gdb.reverse/finish-reverse.exp: Likewise.
16103 * gdb.reverse/i386-precsave.exp: Likewise.
16104 * gdb.reverse/i387-env-reverse.exp: Likewise.
16105 * gdb.reverse/i387-stack-reverse.exp: Likewise.
16106 * gdb.reverse/machinestate-precsave.exp: Likewise.
16107 * gdb.reverse/machinestate.exp: Likewise.
16108 * gdb.reverse/sigall-precsave.exp: Likewise.
16109 * gdb.reverse/solib-precsave.exp: Likewise.
16110 * gdb.reverse/step-precsave.exp: Likewise.
16111 * gdb.reverse/until-precsave.exp: Likewise.
16112 * gdb.reverse/watch-precsave.exp: Likewise.
16113 * gdb.reverse/watch-reverse.exp: Likewise.
16114
b22089ab
YQ
161152014-10-17 Yao Qi <yao@codesourcery.com>
16116
16117 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
16118 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
16119
6c4486e6
PA
161202014-10-17 Pedro Alves <palves@redhat.com>
16121
16122 PR gdb/17471
16123 * gdb.base/bg-execution-repeat.c: New file.
16124 * gdb.base/bg-execution-repeat.exp: New file.
16125
0ff33695
PA
161262014-10-17 Pedro Alves <palves@redhat.com>
16127
16128 PR gdb/17300
16129 * gdb.base/continue-all-already-running.c: New file.
16130 * gdb.base/continue-all-already-running.exp: New file.
16131
6fdebc3d
PA
161322014-10-17 Pedro Alves <palves@redhat.com>
16133
16134 PR gdb/17472
16135 * gdb.base/annota-input-while-running.c: New file.
16136 * gdb.base/annota-input-while-running.exp: New file.
16137
32a8097b
PA
161382014-10-17 Pedro Alves <palves@redhat.com>
16139
16140 * gdb.base/callfuncs.exp: emove references to osf.
16141 * gdb.base/sigall.exp: Likewise.
16142 * gdb.gdb/selftest.exp: Likewise.
16143 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
16144 * gdb.mi/non-stop.c: Likewise.
16145 * gdb.mi/pthreads.c: Likewise.
16146 * gdb.reverse/sigall-precsave.exp: Likewise.
16147 * gdb.reverse/sigall-reverse.exp: Likewise.
16148 * gdb.threads/pthreads.c: Likewise.
16149 * gdb.threads/pthreads.exp: Likewise.
16150
7a3517ff
YQ
161512014-10-17 Yao Qi <yao@codesourcery.com>
16152
16153 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
16154 check 'target_info exists noargs'.
16155 (test_command_prompt_position): Likewise.
16156 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
16157 Remove "set args".
16158 (progvar_simple_while_test): Likewise.
16159 (progvar_complex_if_while_test): Likewise.
16160 (if_while_breakpoint_command_test): Likewise.
16161 (infrun_breakpoint_command_test): Likewise.
16162 (breakpoint_command_test): Likewise.
16163 (watchpoint_command_test): Likewise.
16164 (bp_deleted_in_command_test): Likewise.
16165 (temporary_breakpoint_commands): Likewise.
16166
bb99c472
YQ
161672014-10-16 Yao Qi <yao@codesourcery.com>
16168
16169 * gdb.base/remotetimeout.exp: Remove noargs checking.
16170
7c16b83e
PA
161712014-10-15 Pedro Alves <palves@redhat.com>
16172
16173 PR breakpoints/9649
16174 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
16175 * gdb.base/breakpoint-in-ro-region.exp
16176 (probe_target_hardware_step): New procedure.
16177 (top level): Probe hardware stepping and hardware breakpoint
16178 support. Test stepping through a read-only region, with both
16179 "breakpoint auto-hw" on and off and both "always-inserted" on and
16180 off.
16181
35a49624
IB
161822014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
16183
16184 * gdb.dlang/demangle.exp: Update for demangling changes.
16185
2d1c107c
SC
161862014-10-15 Siva Chandra Reddy <sivachandra@google.com>
16187
16188 * gdb.cp/non-trivial-retval.cc: Add new test cases.
16189 * gdb.cp/non-trivial-retval.exp: Add new tests.
16190
778811d5
SC
161912014-10-15 Siva Chandra Reddy <sivachandra@google.com>
16192
16193 PR c++/13403
16194 PR c++/15154
16195 * gdb.cp/non-trivial-retval.cc: New file.
16196 * gdb.cp/non-trivial-retval.exp: New file.
16197
10c5f0a8
YQ
161982014-10-15 Yao Qi <yao@codesourcery.com>
16199
16200 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
16201 remote host.
16202
65d7b369
YQ
162032014-10-15 Yao Qi <yao@codesourcery.com>
16204
16205 * gdb.python/py-symbol.exp: Match file base name if host is
16206 remote, otherwise match file name with dir name.
16207 * gdb.python/py-symtab.exp: Likewise.
16208 * gdb.python/python.exp: Likewise.
16209
46dc1394
YQ
162102014-10-15 Yao Qi <yao@codesourcery.com>
16211
16212 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
16213 pattern.
16214 * gdb.python/py-symtab.exp: Likewise.
16215 * gdb.python/python.exp: Remove trailing ".*". Fix typo
16216 locationn.
16217
c40cc657
JB
162182014-10-14 Joel Brobecker <brobecker@adacore.com>
16219
16220 * gdb.ada/addr_arith: New testcase.
16221
2abf49e1
MR
162222014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
16223
16224 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
16225 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
16226 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
16227 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
16228
f7088df3
SDJ
162292014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
16230
16231 * gdb.arch/stap-eval-lang-ada.S: Likewise.
16232 * gdb.arch/stap-eval-lang-ada.c: Likewise.
16233 * gdb.arch/stap-eval-lang-ada.exp: New file.
16234
4dc06805
YQ
162352014-10-14 Yao Qi <yao@codesourcery.com>
16236
16237 * gdb.mi/mi-var-child.c (nothing1): New function.
16238 (nothing2): New function.
16239 (do_children_tests): Set function pointers by nothing1 and
16240 nothing2.
16241 * gdb.mi/mi-var-child.exp: Step over new added statements.
16242 Update test to match the new output.
16243 * gdb.mi/var-cmd.c (nothing1): New function.
16244 (nothing2): New function.
16245 (do_children_tests): Set function pointers by nothing1 and
16246 nothing2.
16247 * gdb.mi/mi-var-display.exp: Update test to match output.
16248 Step to the line specified by $line_dct_nothing.
16249 Increase the number of lines to step.
16250
46a93de2
YQ
162512014-10-14 Yao Qi <yao@codesourcery.com>
16252
16253 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
16254 tests.
16255 * gdb.mi/mi2-var-child.exp: Likewise.
16256
14ea52ee
DE
162572014-10-13 Doug Evans <dje@google.com>
16258
16259 * gdb.python/py-objfile.exp: Change name of file name test.
16260
e5c6e92b
DE
162612014-10-13 Doug Evans <dje@google.com>
16262
16263 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
16264 from the start of the CU.
16265
c780cc2f
JK
162662014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
16267 Yao Qi <yao@codesourcery.com>
16268
16269 Fix "save breakpoints" for "catch" command.
16270 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
16271 Remove -nonewline. Match also the added "main" line.
16272
99894e11
JK
162732014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16274
16275 Fix "save breakpoints" for "disable $bpnum" command.
16276 * gdb.base/save-bp.c (main): Add label.
16277 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
16278
6e1ac5a3
JK
162792014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16280
16281 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
16282
754dd2b0
YQ
162832014-10-11 Yao Qi <yao@codesourcery.com>
16284
16285 * gdb.server/server-kill.exp: Execute command
16286 "set remote trace-status-packet on" before "tstatus".
16287
f90183d7
YQ
162882014-10-11 Yao Qi <yao@codesourcery.com>
16289
16290 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
16291 (main): Call getppid.
16292 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
16293 and continue to it. Read variable "server_pid".
16294
bf40a607
YQ
162952014-10-11 Yao Qi <yao@codesourcery.com>
16296
16297 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
16298
052ca370
YQ
162992014-10-11 Yao Qi <yao@codesourcery.com>
16300
16301 * gdb.threads/thread-find.exp: Don't execute command
16302 "info threads".
16303 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
16304 * gdb.threads/linux-dp.exp: Don't check the condition
16305 $threads_created equals to zero.
16306
3831839c
PA
163072014-10-10 Pedro Alves <palves@redhat.com>
16308
16309 * gdb.base/bigcore.exp: Remove references to IRIX.
16310 * gdb.base/funcargs.exp: Likewise.
16311 * gdb.base/interrupt.exp: Likewise.
16312 * gdb.base/mips_pro.exp: Likewise.
16313 * gdb.base/nodebug.exp: Likewise.
16314 * gdb.base/setvar.exp: Likewise.
16315 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
16316
8b9a549d
PA
163172014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
16318 Pedro Alves <palves@redhat.com>
16319
16320 PR symtab/14466
16321 * gdb.base/vdso-warning.c: New file.
16322 * gdb.base/vdso-warning.exp: New file.
16323
d48ba5e8
DE
163242014-10-02 Doug Evans <dje@google.com>
16325
16326 * gdb.base/structs.c (main): Don't run forever.
16327
2278c276
PA
163282014-10-02 Pedro Alves <palves@redhat.com>
16329
16330 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
16331 (top level) <stop threads 1, stop threads 2>: Use it.
16332
b57bacec
PA
163332014-10-02 Pedro Alves <palves@redhat.com>
16334
16335 * gdb.threads/break-while-running.exp (test): Add new
16336 'update_thread_list' argument. Skip "info threads" if false.
16337 (top level): Add new 'update_thread_list' axis.
16338
13fd3ff3
PA
163392014-10-02 Pedro Alves <palves@redhat.com>
16340
16341 PR breakpoints/17431
16342 * gdb.base/execl-update-breakpoints.c: New file.
16343 * gdb.base/execl-update-breakpoints.exp: New file.
16344
0fec99e8
PA
163452014-10-01 Pedro Alves <palves@redhat.com>
16346
16347 * gdb.base/breakpoint-in-ro-region.c: New file.
16348 * gdb.base/breakpoint-in-ro-region.exp: New file.
16349
2ddf4301
SM
163502014-10-01 Simon Marchi <simon.marchi@ericsson.com>
16351
16352 * gdb.mi/mi-exit-code.exp: New file.
16353 * gdb.mi/mi-exit-code.c: New file.
16354
6a5f3f43
YQ
163552014-09-30 Yao Qi <yao@codesourcery.com>
16356
16357 * lib/prelink-support.exp (build_executable_own_libs): Error if
16358 the target isn't native.
16359
345bcc73
YQ
163602014-09-30 Yao Qi <yao@codesourcery.com>
16361
16362 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
16363 false.
16364
a25a5a45
PA
163652014-09-22 Pedro Alves <palves@redhat.com>
16366
16367 * gdb.threads/break-while-running.exp: New file.
16368 * gdb.threads/break-while-running.c: New file.
16369
00ba3162
YQ
163702014-09-19 Yao Qi <yao@codesourcery.com>
16371
16372 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
16373 Invoke test. Restart GDB with --readnow and invoke test again.
16374
c3b7b696
YQ
163752014-09-19 Yao Qi <yao@codesourcery.com>
16376
16377 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
16378 proc set_breakpoint_on_gcd_function. Invoke
16379 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
16380 invoke set_breakpoint_on_gcd_function again.
16381
2b4fd423
DE
163822014-09-18 Doug Evans <dje@google.com>
16383
16384 * gdb.dwarf2/symtab-producer.exp: New file.
16385
a5947601
SDJ
163862014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
16387
16388 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
16389 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
16390 * gdb.base/global-var-nested-by-dso.c: Likewise.
16391 * gdb.base/global-var-nested-by-dso.exp: Likewise.
16392
91c19059
SDJ
163932014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
16394 Pedro Alves <palves@redhat.com>
16395
16396 * gdb.base/watch-bitfields.exp: Pass string other than test file
16397 name to prepare_for_testing.
16398 (watch): New procedure.
16399 (expect_watchpoint): Use with_test_prefix.
16400 (top level): Factor out tests to ...
16401 (test_watch_location, test_regular_watch): ... these new
16402 procedures, and use with_test_prefix and gdb_continue_to_end.
16403
bb9d5f81
PP
164042014-09-16 Patrick Palka <patrick@parcs.ath.cx>
16405
16406 PR breakpoints/12526
16407 * gdb.base/watch-bitfields.exp: New file.
16408 * gdb.base/watch-bitfields.c: New file.
16409
635856f5
PA
164102014-09-16 Pedro Alves <palves@redhat.com>
16411
16412 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
16413 software and hardware addresses, not software address against
16414 itself.
16415
7280ceea
PA
164162014-09-16 Pedro Alves <palves@redhat.com>
16417
16418 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
16419 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
16420
428b16bd
PA
164212014-09-16 Pedro Alves <palves@redhat.com>
16422
16423 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
16424 files.
16425 * gdb.base/a2-run.exp: Remove all code guarded by istarget
16426 "*-*-vxworks*" throughout.
16427 * gdb.base/break.exp: Likewise.
16428 * gdb.base/default.exp: Likewise.
16429 * gdb.base/scope.exp: Likewise.
16430 * gdb.base/sepdebug.exp: Likewise.
16431 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
16432 throughout.
16433 * gdb.base/run.c: Likewise.
16434 * gdb.base/sepdebug.c: Likewise.
16435 * gdb.hp/gdb.aCC/run.c: Likewise.
16436 * gdb.reverse/until-reverse.c: Likewise.
16437 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
16438
666d413c
YQ
164392014-09-16 Yao Qi <yao@codesourcery.com>
16440
16441 * boards/local-remote-host-native.exp: New file.
16442
57cbd724
DE
164432014-09-14 Doug Evans <xdje42@gmail.com>
16444
16445 * gdb.threads/queue-signal.c (thread_count): New variable.
16446 (thread_count_mutex, thread_count_condvar): New variables.
16447 (incr_thread_count, wait_all_threads_running): New functions.
16448 (main): Wait for all threads to be in their thread functions.
16449
81219e53
DE
164502014-09-13 Doug Evans <xdje42@gmail.com>
16451
16452 * gdb.threads/queue-signal.c: New file.
16453 * gdb.threads/queue-signal.exp: New file.
16454
3714cea7
DE
164552014-09-13 Doug Evans <xdje42@gmail.com>
16456
16457 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
16458 be consistent with what default_gdb_init uses.
16459 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
16460 the plain text of the prompt. Add some logging printfs.
16461 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
16462
fa43b1d7
PA
164632014-09-12 Pedro Alves <palves@redhat.com>
16464
16465 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
16466 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
16467 * gdb.arch/i386-size-overlap.exp: Likewise.
16468 * gdb.arch/i386-size.exp: Likewise.
16469 * gdb.arch/i386-unwind.exp: Likewise.
16470 * gdb.base/a2-run.exp: Likewise.
16471 * gdb.base/break.exp: Likewise.
16472 * gdb.base/charset.exp: Likewise.
16473 * gdb.base/chng-syms.exp: Likewise.
16474 * gdb.base/commands.exp: Likewise.
16475 * gdb.base/dbx.exp: Likewise.
16476 * gdb.base/find.exp: Likewise.
16477 * gdb.base/funcargs.exp: Likewise.
16478 * gdb.base/jit-simple.exp: Likewise.
16479 * gdb.base/reread.exp: Likewise.
16480 * gdb.base/sepdebug.exp: Likewise.
16481 * gdb.base/step-bt.exp: Likewise.
16482 * gdb.cp/mb-inline.exp: Likewise.
16483 * gdb.cp/mb-templates.exp: Likewise.
16484 * gdb.objc/basicclass.exp: Likewise.
16485 * gdb.threads/killed.exp: Likewise.
16486
9d9bf2df
EBM
164872014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16488
16489 PR tdep/17379
16490 * gdb.arch/powerpc-stackless.S: New file.
16491 * gdb.arch/powerpc-stackless.exp: New file.
16492
1cf2f1b0
JK
164932014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16494
16495 * gdb.base/attach.c: Include unistd.h.
16496 (main): Call alarm. Add label postloop.
16497 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
16498 gdb_breakpoint, gdb_continue_to_breakpoint.
16499 (test_command_line_attach_run): Kill ${testpid} in one exit path.
16500
98880d46
PA
165012014-09-11 Pedro Alves <palves@redhat.com>
16502
16503 PR gdb/17347
16504 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
16505 * gdb.base/attach.exp (test_command_line_attach_run): New
16506 procedure.
16507 (top level): Call it.
16508
4c92ff2c
PA
165092014-09-11 Pedro Alves <palves@redhat.com>
16510
16511 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
16512 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
16513 (do_command_attach_tests): Use spawn_wait_for_attach.
16514 * gdb.base/solib-overlap.exp: Likewise.
16515 * gdb.multi/multi-attach.exp: Likewise.
16516 * gdb.python/py-prompt.exp: Likewise.
16517 * gdb.python/py-sync-interp.exp: Likewise.
16518 * gdb.server/ext-attach.exp: Likewise.
16519
3adc1a7d
GKB
165202014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
16521
16522 * gdb.fortran/array-element.exp: Remove unexpected "continue"
16523 command in testcase. Simplify testcase.
16524
96334934
JB
165252014-09-10 Joel Brobecker <brobecker@adacore.com>
16526
16527 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
16528
eb479039
JB
165292014-09-10 Joel Brobecker <brobecker@adacore.com>
16530
16531 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
16532
deede10c
JB
165332014-09-10 Joel Brobecker <brobecker@adacore.com>
16534
16535 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
16536
7828a5f5
JB
165372014-09-10 Joel Brobecker <brobecker@adacore.com>
16538
16539 * gdb.dwarf2/dynarr-ptr.c: New file.
16540 * gdb.dwarf2/dynarr-ptr.exp: New file.
16541
33aeebcf
MR
165422014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16543
16544 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
16545 of 30 rather than hardcoding 120 for a slow test case. Take the
16546 `gdb,timeout' target setting into account for this calculation.
16547 Don't extend the timeout for the test cases that don't need it.
16548
7b415901
MR
165492014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16550
16551 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
16552 a factor of 2 for a slow test case. Take the `gdb,timeout'
16553 target setting into account for this calculation.
16554 * gdb.reverse/until-precsave.exp: Increase the timeout by
16555 a factor of 15 and 3 respectively rather than adding 120
16556 for a pair of slow test cases. Take the `gdb,timeout'
16557 target setting into account for this calculation.
16558
4a40f85a
MR
165592014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16560
16561 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
16562 timeout, don't pass one down to gdb_expect.
16563 (gdb_expect): Rework timeout selection.
16564
09635af7
MR
165652014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16566
16567 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
16568 exception on timeout.
16569 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
16570 (gdbserver_start_extended): Catch any `gdbserver_start' error
16571 exceptions.
16572 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
16573 * lib/mi-support.exp (mi_gdb_target_load): Catch any
16574 `gdbserver_gdb_load' error exceptions.
16575
2bdd10b7
MR
165762014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16577
16578 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
16579 120 on waiting for the TCP socket to open.
16580
316935f0
DE
165812014-09-09 Doug Evans <xdje42@gmail.com>
16582
16583 * gdb.base/default.exp (show_conv_list): Add _caller_is,
16584 _caller_matches, _any_caller_is, _any_caller_matches.
16585
83740597
DE
165862014-09-09 Doug Evans <xdje42@gmail.com>
16587
16588 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
16589
4c122fc3
YQ
165902014-09-09 Yao Qi <yao@codesourcery.com>
16591
16592 * gdb.mi/mi-var-display.exp: Set print symbol off.
16593
a9f116cb
GKB
165942014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
16595
16596 PR gdb/17035
16597 * gdb.base/commands.exp: Add tests to verify user-defined
16598 commands with empty bodies.
16599 * gdb.python/py-cmd.exp: Test that we don't show user-defined
16600 python commands in `show user command`.
16601 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
16602 scheme commands in `show user command`.
16603
c75bd3a2
JK
166042014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16605
16606 PR python/17355
16607 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
16608 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
16609 * gdb.python/py-framefilter-invalidarg.exp: New file.
16610 * gdb.python/py-framefilter-invalidarg.py: New file.
16611
faa42425
DE
166122014-09-06 Doug Evans <xdje42@gmail.com>
16613
16614 PR 15276
16615 * gdb.python/py-caller-is.c: New file.
16616 * gdb.python/py-caller-is.exp: New file.
16617
474ca4f6
SDJ
166182014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
16619
16620 PR gdb/17235
16621 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
16622 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
16623
eb0b0463
SDJ
166242014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
16625
16626 PR fortran/17237
16627 * gdb.fortran/print-formatted.exp: New file.
16628 * gdb.fortran/print-formatted.f90: Likewise.
16629
5f3b99cf
SS
166302014-09-03 Sasha Smundak <asmundak@google.com>
16631
16632 * gdb.python/py-frame.exp: Test Frame.read_register.
16633
7d793aa9
SDJ
166342014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
16635
16636 PR python/16699
16637 * gdb.python/py-completion.exp: New file.
16638 * gdb.python/py-completion.py: Likewise.
16639
fb0576e9
DE
166402014-08-28 Doug Evans <dje@google.com>
16641
16642 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
16643 eax,etc. are live with values set by gdb and thus the compiler can't
16644 use them.
16645 * gdb.arch/i386-pseudo.c (main): Ditto.
16646
ee92b0dd
DE
166472014-08-27 Doug Evans <dje@google.com>
16648
16649 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
16650
6649db35
DE
166512014-08-25 Doug Evans <dje@google.com>
16652
16653 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
16654 (main): Ditto.
16655
564b7600
DE
166562014-08-25 Doug Evans <dje@google.com>
16657
16658 * gdb.threads/thread-execl.exp: #include <stdio.h>.
16659
3881fb67
YQ
166602014-08-24 Yao Qi <yao@codesourcery.com>
16661
16662 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
16663 symbol off.
16664 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
16665
a05a36a5
DE
166662014-08-22 Doug Evans <dje@google.com>
16667
16668 PR 17276
16669 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
16670 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
16671 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
16672
7c343b48
YQ
166732014-08-22 Yao Qi <yao@codesourcery.com>
16674
16675 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
16676 * gdb.python/py-finish-breakpoint2.exp: Likewise.
16677 * gdb.python/python.exp: Likewise. Use .py file on the host
16678 instead of the build.
16679
22fd09ae
JK
166802014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16681
16682 * gdb.threads/gcore-stale-thread.c: New file.
16683 * gdb.threads/gcore-stale-thread.exp: New file.
16684
a8454a7c
PA
166852014-08-21 Pedro Alves <palves@redhat.com>
16686
16687 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
16688 * gdb.base/gcore-relro-pie.exp: Likewise.
16689 * gdb.base/gcore-relro.exp: Likewise.
16690 * gdb.base/gcore.exp: Likewise.
16691 * gdb.base/print-symbol-loading.exp: Likewise.
16692 * gdb.threads/gcore-thread.exp: Likewise.
16693 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
16694
2a31c623
PA
166952014-08-20 Pedro Alves <palves@redhat.com>
16696 Jan Kratochvil <jan.kratochvil@redhat.com>
16697
16698 * Makefile.in (EXTRA_RULES, CC): New variables, get from
16699 configure.
16700 (EXPECT): Handle READ1 being set.
16701 (all): Depend on EXTRA_RULES.
16702 (check-read1, expect-read1, read1.so, read1): New rules.
16703 * README (Testsuite Parameters): Document the READ1 make variable.
16704 (Race detection): New section.
16705 * configure: Regenerate.
16706 * configure.ac: If build==host==target, and running under a
16707 GNU/glibc system, add read1 to the extra Makefile rules.
16708 (EXTRA_RULES): AC_SUBST it.
16709 * lib/read1.c: New file.
16710
d36430db
JB
167112014-08-20 Joel Brobecker <brobecker@adacore.com>
16712
16713 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
16714 the handling of variables declared as a typedef to an array
16715 which a DW_AT_data_location attribute.
16716
9a0dc9e3
PA
167172014-08-19 Andrew Burgess <aburgess@broadcom.com>
16718 Pedro Alves <palves@redhat.com>
16719
16720 PR symtab/14604
16721 PR symtab/14605
16722 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
16723 gdb_test.
16724
0718a8da
PA
167252014-08-19 Pedro Alves <palves@redhat.com>
16726
16727 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
16728
13b448cd
YQ
167292014-08-19 Yao Qi <yao@codesourcery.com>
16730
16731 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
16732 right line.
16733
1cbf5077
DB
167342014-08-18 David Blaikie <dblaikie@gmail.com>
16735
16736 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
16737
bf0fae19
JB
167382014-08-18 Joel Brobecker <brobecker@adacore.com>
16739
16740 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
16741 attribute in array range.
16742
3c8c5dcc
JB
167432014-08-18 Joel Brobecker <brobecker@adacore.com>
16744
16745 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
16746
e66d4446
SC
167472014-08-15 Siva Chandra Reddy <sivachandra@google.com>
16748
16749 PR c++/17132
16750 * gdb.cp/pr17132.cc: New file.
16751 * gdb.cp/pr17132.exp: New file.
16752
940df408
SC
167532014-08-15 Siva Chandra Reddy <sivachandra@google.com>
16754
16755 * gdb.python/py-xmethods.py (A_getarrayind)
16756 (E_method_char_worker.__call__, E_method_int_worker.__call__):
16757 Use 'print' with function call syntax.
16758 (E_method_matcher.match): Fix tab vs space indentation mixup.
16759
ebcc6c3a
YQ
167602014-08-15 Yao Qi <yao@codesourcery.com>
16761
16762 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
16763 false.
16764
775e0f04
YQ
167652014-08-15 Yao Qi <yao@codesourcery.com>
16766
16767 * gdb.cp/casts.exp: Set print symbol off.
16768 * gdb.cp/class2.exp: Likewise.
16769 * gdb.cp/overload.exp: Likewise.
16770 * gdb.cp/templates.exp: Likewise.
16771
d769e349
DE
167722014-08-11 Doug Evans <dje@google.com>
16773
16774 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
16775 (test_load_shlib): Update.
16776
20c6f1e1
YQ
167772014-08-09 Yao Qi <yao@codesourcery.com>
16778
16779 * gdb.base/display.exp: Invoke is_address_zero_readable.
16780 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
16781 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
16782 * gdb.base/hbreak-unmapped.exp: Return if
16783 is_address_zero_readable returns true.
16784 * gdb.base/signest.exp: Likewise.
16785 * gdb.base/signull.exp: Likewise.
16786 * gdb.base/sigbpt.exp: Likewise.
16787 * gdb.guile/scm-disasm.exp: Do the test if
16788 is_address_zero_readable returns false.
16789 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
16790 * gdb.python/py-arch.exp: Likewise.
16791 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
16792 * lib/gdb.exp (is_address_zero_readable): New proc.
16793
5792e8e3
YQ
167942014-08-09 Yao Qi <yao@codesourcery.com>
16795
16796 PR testsuite/13443
16797 * gdb.mi/mi-var-display.exp: Make test messages unique.
16798
3cecbbbe
TT
167992014-08-04 Tom Tromey <tromey@redhat.com>
16800
16801 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
16802 target 0".
16803
00b51ff5
TT
168042014-08-04 Tom Tromey <tromey@redhat.com>
16805
16806 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
16807 "target_resume".
16808
6908c509
JB
168092014-08-01 Joel Brobecker <brobecker@adacore.com>
16810
16811 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
16812 inner_vla_struct_object_size.
16813 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
16814 as xfail.
16815
cc6563d2
PA
168162014-07-30 Pedro Alves <palves@redhat.com>
16817
16818 * gdb.threads/signal-command-handle-nopass.exp (test): Add
16819 comment.
16820
7e09a223
YQ
168212014-07-29 Yao Qi <yao@codesourcery.com>
16822
16823 PR gdb/17206
16824 * gdb.base/until-nodebug.exp: New.
16825
7ebdbe92
DE
168262014-07-28 Doug Evans <xdje42@gmail.com>
16827
16828 PR guile/17203
16829 * gdb.guile/scm-parameter.exp: Add tests for trying to create
16830 previously existing parameter, and previously ambiguously spelled
16831 parameter.
16832
fdb1adc6
WN
168332014-07-28 Will Newton <will.newton@linaro.org>
16834
16835 * gdb.base/varargs.exp: Remove KFAILs for ARM.
16836
186fcde0
DE
168372014-07-26 Ludovic Courtès <ludo@gnu.org>
16838 Doug Evans <xdje42@gmail.com>
16839
16840 PR guile/17146
16841 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
16842
70509625
PA
168432014-07-25 Pedro Alves <palves@redhat.com>
16844
16845 * gdb.threads/signal-command-handle-nopass.c: New file.
16846 * gdb.threads/signal-command-handle-nopass.exp: New file.
16847 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
16848 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
16849 * gdb.threads/signal-delivered-right-thread.c: New file.
16850 * gdb.threads/signal-delivered-right-thread.exp: New file.
16851
c3f814a1
PA
168522014-07-25 Pedro Alves <palves@redhat.com>
16853
16854 * gdb.base/double-prompt-target-event-error.exp
16855 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
16856 match.
16857 (cancel_pagination_in_target_event): Rework double prompt
16858 detection.
16859 * gdb.base/paginate-after-ctrl-c-running.exp
16860 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
16861 <return>' match.
16862 * gdb.base/paginate-bg-execution.exp
16863 (test_bg_execution_pagination_return)
16864 (test_bg_execution_pagination_cancel): Remove '-notransfer
16865 <return>' matches.
16866 * gdb.base/paginate-execution-startup.exp
16867 (test_fg_execution_pagination_return)
16868 (test_fg_execution_pagination_cancel): Remove '-notransfer
16869 <return>' matches.
16870 * gdb.base/paginate-inferior-exit.exp
16871 (test_paginate_inferior_exited): Remove '-notransfer <return>'
16872 match.
16873 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
16874 * lib/gdb.exp (pagination_prompt): Run text through
16875 string_to_regexp.
16876 (gdb_test_multiple): Match $pagination_prompt instead of
16877 "<return>".
16878 (string_to_regexp): Move to lib/gdb-utils.exp.
16879
e214cf6c
JK
168802014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16881
16882 * gdb.arch/amd64-entry-value-paramref.S: New file.
16883 * gdb.arch/amd64-entry-value-paramref.cc: New file.
16884 * gdb.arch/amd64-entry-value-paramref.exp: New file.
16885 * gdb.arch/amd64-optimout-repeat.S: New file.
16886 * gdb.arch/amd64-optimout-repeat.c: New file.
16887 * gdb.arch/amd64-optimout-repeat.exp: New file.
16888
17d0c5c8
JK
168892014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
16890
16891 PR gdb/17170
16892 * gdb.base/statistics.exp: New file.
16893
b8b8facf
DE
168942014-07-17 Doug Evans <dje@google.com>
16895
74b49205 16896 PR gdb/17170
b8b8facf
DE
16897 * gdb.base/maint.exp: Update testing of per-command stats.
16898
1b5d0ab3
PA
168992014-07-16 Pedro Alves <palves@redhat.com>
16900
16901 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
16902 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
16903 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
16904 (tfile_write_buf): New functions.
16905 (add_memory_block): Rewrite using the above.
16906 (adjust_function_address): New function.
16907 (FUNCTION_ADDRESS): New macro.
16908 (write_basic_trace_file): Remove short_x local, and use
16909 tfile_write_16. Change type of func_addr local to unsigned long
16910 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
16911 here. Cast argument of add_memory_block to char pointer.
16912 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
16913 (main): Remove parameters.
16914 * gdb.trace/tfile.exp: Remove nowarnings.
16915
4d974e88
SM
169162014-07-15 Simon Marchi <simon.marchi@ericsson.com>
16917
16918 * gdb.base/debug-expr.exp: Test string evaluation with
16919 "debug expression" on.
16920
41e99568
PA
169212014-07-15 Pedro Alves <palves@redhat.com>
16922
16923 * gdb.base/reread.exp: Use clean_restart.
16924
487d9753
PL
169252014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
16926
16927 * gdb.arch/avr-flash-qualifer.c: New.
16928 * gdb.arch/avr-flash-qualifer.exp: New.
16929
cc1c52ad
PA
169302014-07-14 Pedro Alves <palves@redhat.com>
16931
16932 * gdb.base/paginate-after-ctrl-c-running.c: New file.
16933 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
16934
1e973570
PA
169352014-07-14 Pedro Alves <palves@redhat.com>
16936
16937 * gdb.base/double-prompt-target-event-error.c: New file.
16938 * gdb.base/double-prompt-target-event-error.exp: New file.
16939
93d6eb10
PA
169402014-07-14 Pedro Alves <palves@redhat.com>
16941
16942 PR gdb/17072
16943 * gdb.base/paginate-inferior-exit.c: New file.
16944 * gdb.base/paginate-inferior-exit.exp: New file.
16945
0017922d
PA
169462014-07-14 Pedro Alves <palves@redhat.com>
16947
16948 PR gdb/17072
16949 * gdb.base/paginate-bg-execution.c: New file.
16950 * gdb.base/paginate-bg-execution.exp: New file.
16951
94696ad3
PA
169522014-07-14 Pedro Alves <palves@redhat.com>
16953
16954 PR gdb/17072
16955 * gdb.base/paginate-execution-startup.c: New file.
16956 * gdb.base/paginate-execution-startup.exp: New file.
16957 * lib/gdb.exp (pagination_prompt): New global.
16958 (default_gdb_spawn): New procedure, factored out from
16959 default_gdb_spawn.
16960 (default_gdb_start): Adjust to call default_gdb_spawn.
16961 (gdb_spawn): New procedure.
16962
bd293940
PA
169632014-07-14 Pedro Alves <palves@redhat.com>
16964
16965 * lib/gdb.exp (gdb_assert): New procedure.
16966 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
16967
c933f875
PA
169682014-07-14 Pedro Alves <palves@redhat.com>
16969
16970 * gdb.base/execution-termios.c: New file.
16971 * gdb.base/execution-termios.exp: New file.
16972
d98b7a16
TT
169732014-07-14 Tom Tromey <tromey@redhat.com>
16974
16975 * gdb.cp/vla-cxx.cc: New file.
16976 * gdb.cp/vla-cxx.exp: New file.
16977
548740d6
TT
169782014-07-14 Tom Tromey <tromey@redhat.com>
16979
16980 * gdb.reverse/rerun-prec.c: New file.
16981 * gdb.reverse/rerun-prec.exp: New file.
16982
a25eb028
MR
169832014-07-12 Maciej W. Rozycki <macro@mips.com>
16984 Maciej W. Rozycki <macro@codesourcery.com>
16985
16986 * lib/gdb-utils.exp: New file.
16987 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
16988 inline `gdb_init_command' processing.
16989 (gdb_start_cmd): Likewise.
16990 * lib/mi-support.exp (mi_run_cmd): Likewise.
16991 * README: Document `gdb_init_command' and `gdb_init_commands'.
16992
218c2655
JK
169932014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16994
16995 Fix false FAIL running under a very long directory name.
16996 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
16997 and "set print elements 10000". Twice.
16998
5401fde3
YQ
169992014-07-11 Yao Qi <yao@codesourcery.com>
17000
17001 * gdb.base/exprs.exp: "set print symbol off".
17002
e76126e8
PA
170032014-07-11 Pedro Alves <palves@redhat.com>
17004
17005 * gdb.threads/kill.c: New file.
17006 * gdb.threads/kill.exp: New file.
17007
2d6f0de6
YQ
170082014-07-10 Yao Qi <yao@codesourcery.com>
17009
17010 * gdb.trace/tfile.c (write_basic_trace_file)
17011 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
17012 address written to trace file.
17013
7180e04a
PA
170142014-07-09 Pedro Alves <palves@redhat.com>
17015
17016 * gdb.base/attach-wait-input.exp: New file.
17017 * gdb.base/attach-wait-input.c: New file.
17018
9a9a7608
AB
170192014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
17020
17021 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
17022 setting up test structures.
17023 (main): Call new test function.
17024 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
17025 test function, continue into test function and walk test
17026 structures.
17027
161ac41e
YQ
170282014-07-02 Yao Qi <yao@codesourcery.com>
17029
17030 * gdb.trace/entry-values.c: Define labels 'foo_start' and
17031 'bar_start' at the beginning of functions 'foo' and 'bar'
17032 respectively.
17033 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
17034 instead of 'foo' and 'bar'.
17035
1f267ae3
MM
170362014-07-08 Markus Metzger <markus.t.metzger@intel.com>
17037
17038 * gdb.btrace/segv.exp: New.
17039 * gdb.btrace/segv.c: New.
17040
2b239efb
LM
170412014-07-02 Luis Machado <lgustavo@codesourcery.com>
17042
17043 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
17044 instruction.
17045
cf363f18
MW
170462014-06-30 Mark Wielaard <mjw@redhat.com>
17047
17048 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
17049 vulture, vilify, villar): New volatile array constants.
17050 (vindictive, vegetation): New const volatile array constants.
17051 * gdb.base/volatile.exp: Test volatile and const volatile array
17052 types.
17053
aebf9d24
AA
170542014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
17055
17056 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
17057 target lacks support for awatch, rwatch, or hbreak.
17058
b67a2c6f
YQ
170592014-06-27 Yao Qi <yao@codesourcery.com>
17060
17061 * gdb.multi/dummy-frame-restore.exp: New.
17062 * gdb.multi/dummy-frame-restore.c: New.
17063
aef92902
MM
170642014-06-25 Markus Metzger <markus.t.metzger@intel.com>
17065
17066 * gdb.btrace/gcore.exp: New.
17067
8e9db26e
PA
170682014-06-23 Pedro Alves <palves@redhat.com>
17069
17070 * gdb.base/watchpoint-reuse-slot.c: New file.
17071 * gdb.base/watchpoint-reuse-slot.exp: New file.
17072
70afc5b7
SC
170732014-06-23 Siva Chandra Reddy <sivachandra@google.com>
17074
17075 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
17076 progspace's filename in 'info', 'enable' and 'disable' command
17077 tests.
17078
b972bd9c
JK
170792014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
17080
17081 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
17082 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
17083 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
17084
125f8a3d
GB
170852014-06-20 Gary Benson <gbenson@redhat.com>
17086
17087 * gdb.arch/i386-avx.exp: Fix include file location.
17088 * gdb.arch/i386-sse.exp: Likewise.
17089
3ed9baed
IB
170902014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
17091
17092 * gdb.dlang/expression.exp: New file.
17093
034f788c
PA
170942014-06-19 Pedro Alves <palves@redhat.com>
17095
17096 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
17097 out from ...
17098 (top level): ... here. Iterate running tests under different
17099 scheduler-locking settings.
17100
45371d0c
LM
171012014-06-18 Luis Machado <lgustavo@codesourcery.com>
17102
17103 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
17104 to DW_FORM_addr and use non-zero addresses.
17105
5d376983
SC
171062014-06-18 Siva Chandra Reddy <sivachandra@google.com>
17107
17108 PR gdb/17017
17109 * gdb.python/py-xmethods.cc: Add global function call counters and
17110 increment them in their respective functions. Remove "cout"
17111 statements.
17112 * gdb.python/py-xmethods.exp: Make tests check the global function
17113 call counters instead of depending on inferior IO.
17114
a1aa2221
LM
171152014-06-18 Don Breazeal <donb@codesourcery.com>
17116
17117 * gdb.base/foll-fork.exp (default_fork_parent_follow):
17118 Deleted procedure.
17119 (explicit_fork_parent_follow): Deleted procedure.
17120 (explicit_fork_child_follow): Deleted procedure.
17121 (test_follow_fork): New procedure.
17122 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 17123 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
17124 procedure calls.
17125
0fc05997
YQ
171262014-06-17 Yao Qi <yao@codesourcery.com>
17127
17128 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
17129 CP1252.
17130
70795c52
LM
171312014-06-17 Luis Machado <lgustavo@codesourcery.com>
17132
17133 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
17134 Initialize ptr and S explicitly.
17135 (skip_type_update_when_not_use_rtti_test): Likewise.
17136
6be47f0c
KS
171372014-06-16 Keith Seitz <keiths@redhat.com>
17138
17139 PR mi/15863
17140 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
17141 the inferior is started.
17142
d03de421
PA
171432014-06-16 Pedro Alves <palves@redhat.com>
17144
17145 * gdb.base/break-main-file-remove-fail.c: New file.
17146 * gdb.base/break-main-file-remove-fail.exp: New file.
17147 * gdb.base/break-unload-file.exp: Use build_executable instead of
17148 prepare_for_testing.
17149 (test_break): New parameter "initial_load". Handle it.
17150 (top level): Add initial_load cmdline/file axis.
17151
f9579b99
TT
171522014-06-12 Tom Tromey <tromey@redhat.com>
17153
17154 * gdb.base/completion.exp: Don't use directory name in test.
17155
3657956b
GB
171562014-06-09 Gary Benson <gbenson@redhat.com>
17157
17158 * gdb.base/sigall.c [Functions to send signals]: Reorder to
17159 separate the always-available ANSI-standard signals from the
17160 signals that require checking.
17161 (main): Likewise.
17162 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
17163 Likewise.
17164 (main): Likewise.
17165
4186eb54
KS
171662014-06-07 Keith Seitz <keiths@redhat.com>
17167
17168 Revert:
17169 PR c++/16253
17170 * gdb.cp/var-tag.cc: New file.
17171 * gdb.cp/var-tag.exp: New file.
17172 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
17173 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
17174 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
17175 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
17176
25326a28 171772014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
17178
17179 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
17180
829155c9
PA
171812014-06-06 Pedro Alves <palves@redhat.com>
17182
17183 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
17184 in target debug output instead of looking at RSP packets,
17185 disabling the test on any target that uses hardware stepping.
17186 Update comments.
17187
61c8d22e
PA
171882014-06-06 Pedro Alves <palves@redhat.com>
17189
17190 * gdb.base/break-unload-file.exp: Fix typo.
17191
d9a47287
YQ
171922014-06-06 Yao Qi <yao@codesourcery.com>
17193
17194 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
17195 from "jit_function" to "^jit_function".
17196
e5e01dbf
YQ
171972014-06-06 Yao Qi <yao@codesourcery.com>
17198
17199 * gdb.base/async.c (foo): Add one statement.
17200 * gdb.base/async.exp: Get the next instruction address and
17201 match the output of "nexti" by instruction address. Match
17202 the hex address in the output of "finish".
17203
73ba372c
GB
172042014-06-06 Gary Benson <gbenson@redhat.com>
17205
17206 * gdb.base/call-signals.c: Remove preprocessor conditionals
17207 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
17208 SIGSEGV and SIGTERM.
17209 * gdb.base/sigall.c: Likewise.
17210 * gdb.base/unwindonsignal.c: Likewise.
17211 * gdb.reverse/sigall-reverse.c: Likewise.
17212
831517df
YQ
172132014-06-06 Yao Qi <yao@codesourcery.com>
17214
17215 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
17216 readable, skip the test.
17217
b8b91e98
YQ
172182014-06-06 Yao Qi <yao@codesourcery.com>
17219
17220 * gdb.threads/staticthreads.c (thread_function): Move the line
17221 setting breakpoint on forward.
17222 * gdb.threads/staticthreads.exp: Update comments.
17223
fb934770
LC
172242014-06-05 Ludovic Courtès <ludo@gnu.org>
17225
17226 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
17227 "history-append! type error".
17228
6ef284bd
SM
172292014-06-05 Simon Marchi <simon.marchi@ericsson.com>
17230
17231 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
17232 erroneous dprintf expected input.
17233
a872e241
DE
172342014-06-04 Doug Evans <xdje42@gmail.com>
17235
17236 * gdb.guile/scm-generics.exp: Delete.
17237
16f691fb
DE
172382014-06-04 Doug Evans <xdje42@gmail.com>
17239
17240 * gdb.guile/scm-breakpoint.exp: Update.
17241 Add tests for breakpoint registration.
17242
012370f6
TT
172432014-06-04 Tom Tromey <tromey@redhat.com>
17244
17245 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
17246 VLA-in-union.
17247 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
17248 inner_vla_struct, vla_union types. Initialize objects of those
17249 types and compute their sizes.
17250
9f5a4cef
HZ
172512014-06-04 Nathan Sidwell <nathan@codesourcery.com>
17252 Hui Zhu <hui@codesourcery.com>
17253
17254 * gdb.base/fileio.exp: Add test for shell not available as well as
17255 available.
17256 * gdb.base/fileio.c (test_system): Check for shell twice.
17257
90a45c4d
YQ
172582014-06-04 Yao Qi <yao@codesourcery.com>
17259
17260 * gdb.base/auto-connect-native-target.exp: Remove redundant
17261 space from the regexp pattern.
17262
70017e41
YQ
172632014-06-04 Yao Qi <yao@codesourcery.com>
17264
17265 * gdb.base/default.exp: Replace "child" with "native" in
17266 regexp pattern.
17267
883964a7
SC
172682014-06-03 Siva Chandra Reddy <sivachandra@google.com>
17269
17270 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
17271 * gdb.python/py-xmethods.exp: New tests to test xmethods.
17272 * gdb.python/py-xmethods.py: Python script supporting the
17273 new testcase and tests.
17274
ef370185
JB
172752014-06-03 Joel Brobecker <brobecker@adacore.com>
17276 Pedro Alves <palves@redhat.com>
17277
17278 PR breakpoints/17000
17279 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
17280 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
17281
1e2ccb61
BM
172822014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
17283
17284 * gdb.base/subst.exp: Add tests to verify partial path matching
17285 output.
17286
c6ec5ab2
PA
172872014-06-03 Pedro Alves <palves@redhat.com>
17288
17289 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
17290 target that doesn't use software single-stepping.
17291
835c559f
PA
172922014-06-03 Pedro Alves <palves@redhat.com>
17293
17294 PR breakpoints/17000
17295 * gdb.base/sss-bp-on-user-bp-2.c: New file.
17296 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
17297
06eb1586
DE
172982014-06-02 Doug Evans <xdje42@gmail.com>
17299
17300 * gdb.guile/scm-parameter.exp: New file.
17301
e698b8c4
DE
173022014-06-02 Doug Evans <xdje42@gmail.com>
17303
17304 * gdb.guile/scm-cmd.c: New file.
17305 * gdb.guile/scm-cmd.exp: New file.
17306
ded03782
DE
173072014-06-02 Doug Evans <xdje42@gmail.com>
17308
17309 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
17310 pretty-printer lookup.
17311 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
17312 (make-pp_s-printer): Call it.
17313 (make-pretty-printer-from-dict): New function.
17314 (lookup-pretty-printer-maker-from-dict): New function.
17315 (*pretty-printer*): Simplify.
17316 (make-objfile-pp_s-printer): New function.
17317 (install-objfile-pretty-printers!): New function.
17318 (make-progspace-pp_s-printer): New function.
17319 (install-progspace-pretty-printers!): New function.
17320 * gdb.guile/scm-progspace.c: New file.
17321 * gdb.guile/scm-progspace.exp: New file.
17322
41fac0cf
PA
173232014-06-02 Pedro Alves <palves@redhat.com>
17324
17325 * gdb.base/dprintf-bp-same-addr.c: New file.
17326 * gdb.base/dprintf-bp-same-addr.exp: New file.
17327
96ae5695
EBM
173282014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17329
17330 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
17331 * gdb.arch/powerpc-power.s: Likewise.
17332
da02b3a8
JB
173332014-06-02 Joel Brobecker <brobecker@adacore.com>
17334
17335 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
17336
c72b2e7b
YQ
173372014-06-01 Yao Qi <yao@codesourcery.com>
17338
17339 * gdb.base/watchpoint.exp (test_watch_location): Check null
17340 pointer can be dereferenced. If not, do the test, otherwise
17341 skip it.
17342
53e8a631
AB
173432014-05-30 Andrew Burgess <aburgess@broadcom.com>
17344
17345 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
17346 results.
17347 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
17348
938f0e2f
AB
173492014-05-30 Andrew Burgess <aburgess@broadcom.com>
17350
17351 * gdb.arch/amd64-invalid-stack-middle.S: New file.
17352 * gdb.arch/amd64-invalid-stack-middle.c: New file.
17353 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
17354 * gdb.arch/amd64-invalid-stack-top.c: New file.
17355 * gdb.arch/amd64-invalid-stack-top.exp: New file.
17356
9ba6657a
PA
173572014-05-30 Pedro Alves <palves@redhat.com>
17358
17359 PR breakpoints/17000
17360 * gdb.base/sss-bp-on-user-bp.c: New file.
17361 * gdb.base/sss-bp-on-user-bp.exp: New file.
17362
522c09bf
DB
173632014-05-30 David Blaikie <dblaikie@gmail.com>
17364
17365 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
17366 gnu_inline semantics via attribute.
17367 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
17368 source explicitly specifies the required semantics.
17369
bf4ef81e
MR
173702014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
17371
17372 * gdb.reverse/sigall-reverse.exp: Fix a typo.
17373
329ea579
PA
173742014-05-29 Pedro Alves <palves@redhat.com>
17375 Tom Tromey <tromey@redhat.com>
17376
17377 * gdb.base/async-shell.exp: Don't enable target-async.
17378 * gdb.base/async.exp
17379 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
17380 parameter. Adjust.
17381 (top level): Don't test with "target-async".
17382 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
17383 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
17384 * gdb.base/inferior-died.exp: Don't enable target-async.
17385 * gdb.base/interrupt-noterm.exp: Likewise.
17386 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
17387 * gdb.mi/mi-nonstop-exit.exp: Likewise.
17388 * gdb.mi/mi-nonstop.exp: Likewise.
17389 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
17390 * gdb.mi/mi-nsintrall.exp: Likewise.
17391 * gdb.mi/mi-nsmoribund.exp: Likewise.
17392 * gdb.mi/mi-nsthrexec.exp: Likewise.
17393 * gdb.mi/mi-watch-nonstop.exp: Likewise.
17394 * gdb.multi/watchpoint-multi.exp: Adjust comment.
17395 * gdb.python/py-evsignal.exp: Don't enable target-async.
17396 * gdb.python/py-evthreads.exp: Likewise.
17397 * gdb.python/py-prompt.exp: Likewise.
17398 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
17399 * gdb.server/solib-list.exp: Don't enable target-async.
17400 * gdb.threads/thread-specific-bp.exp: Likewise.
17401 * lib/mi-support.exp: Adjust to use mi-async.
17402
fd664c91
PA
174032014-05-29 Pedro Alves <palves@redhat.com>
17404
17405 PR gdb/13860
17406 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
17407 reason, even in sync mode.
17408
251bde03
PA
174092014-05-29 Pedro Alves <palves@redhat.com>
17410 Hui Zhu <hui@codesourcery.com>
17411
17412 PR PR15693
17413 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
17414 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
17415 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
17416 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
17417
7f3c0343
JB
174182014-05-28 Joel Brobecker <brobecker@adacore.com>
17419
17420 * config/monitor.exp (gdb_target_monitor): Replace use of
17421 "set remotebaud" by "set serial baud".
17422
b2715b27
AW
174232014-05-26 Andy Wingo <wingo@igalia.com>
17424
17425 * gdb.guile/scm-breakpoint.exp:
17426 * gdb.guile/scm-gsmob.exp: Update to use plain old object
17427 properties instead of gdb-object-properties.
17428
498a4489
YQ
174292014-05-26 Yao Qi <yao@codesourcery.com>
17430
17431 * gdb.server/no-thread-db.exp: Specify source file name
17432 explicitly when setting a breakpoint.
17433
589fdceb
MM
174342014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17435
17436 * gdb.btrace/vdso.c: New.
17437 * gdb.btrace/vdso.exp: New.
17438
e9089e05
MM
174392014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17440
17441 * gdb.base/gcore.exp (capture_command_output): Move ...
17442 * lib/gdb.exp (capture_command_output): ... here.
17443
67b5c0c1
MM
174442014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17445
17446 * gdb.btrace/data.exp: Test memory access during btrace replay.
17447
a2199296
SM
174482014-05-22 Simon Marchi <simon.marchi@ericsson.com>
17449
17450 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
17451
17b2616c
PA
174522014-05-21 Pedro Alves <palves@redhat.com>
17453
17454 PR gdb/13860
17455 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
17456 (top level): Test that output related to execution commands is
17457 sent to the console with CLI commands, but not with MI commands.
17458 Test that breakpoint events are always mirrored to the console.
17459 Also expect the new source line to be output after a "next" in
17460 async mode too. Make it a pass/fail test.
17461 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
17462 output.
17463 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
17464
5166082f
PA
174652014-05-21 Pedro Alves <palves@redhat.com>
17466
17467 * gdb.base/list.exp (build_pattern, test_list): New procedures.
17468 Use them to test variations of "list" after reaching a breakpoint.
17469 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
17470 Test "list" with listsize 10 after reaching a breakpoint.
17471 * gdb.python/python.exp (decode_line current location line
17472 number): Adjust expected line number.
17473
2f25d70f
SM
174742014-05-21 Simon Marchi <simon.marchi@ericsson.com>
17475
17476 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
17477 behavior for $args, pass it directly to "run".
17478
ff604a67
MR
174792014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
17480
17481 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
17482 30000 to 65536.
17483
6a3cb8e8
PA
174842014-05-21 Pedro Alves <palves@redhat.com>
17485
17486 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
17487 auto-connect-native-target off".
17488 * gdb.base/auto-connect-native-target.c: New file.
17489 * gdb.base/auto-connect-native-target.exp: New file.
17490
4ebfc96e
PA
174912014-05-21 Pedro Alves <palves@redhat.com>
17492
17493 * gdb.base/default.exp: Test "target native" instead of "target
17494 child".
17495
36d46afb
MW
174962014-05-21 Mark Wielaard <mjw@redhat.com>
17497
17498 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
17499
5876f503
JK
175002014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17501
17502 Fix TLS access for -static -pthread.
17503 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
17504 <HAVE_TLS> (thread_function, main): Initialize it.
17505 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
17506 Add clean_restart.
17507 <$have_tls != "">: Check TLSVAR.
17508
0256a6ac
PA
175092014-05-21 Pedro Alves <palves@redhat.com>
17510
17511 * gdb.base/dcache-line-read-error.c: New.
17512 * gdb.base/dcache-line-read-error.exp: New.
17513
936d2992
PA
175142014-05-20 Pedro Alves <palves@redhat.com>
17515
17516 * gdb.base/compare-sections.c: New file.
17517 * gdb.base/compare-sections.exp: New file.
17518
802e8e6d
PA
175192014-05-20 Pedro Alves <palves@redhat.com>
17520
17521 * gdb.base/break-idempotent.c: New file.
17522 * gdb.base/break-idempotent.exp: New file.
17523
e59fa00f
MM
175242014-05-20 Markus Metzger <markus.t.metzger@intel.com>
17525
17526 * gdb.btrace/nohist.exp: New.
17527
8b696e31
YQ
175282014-05-20 Yao Qi <yao@codesourcery.com>
17529
17530 * lib/gdb.exp (gdb_init): Set timeout if test file is under
17531 gdb.reverse directory and gdb_reverse_timeout exists in board
17532 setting.
17533 * README: Document gdb_reverse_timeout.
17534
73c9764f
YQ
175352014-05-20 Yao Qi <yao@codesourcery.com>
17536
17537 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
17538 'test_file_name'. Treat args as a string instead of a list.
17539 (gdb_init): Rename argument 'args' by 'test_file_name'.
17540
f1f4348a
JK
175412014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
17542
17543 * gdb.arch/powerpc-power.exp: New file.
17544 * gdb.arch/powerpc-power.s: New file.
17545
0dbe70ce
DE
175462014-05-16 Doug Evans <dje@google.com>
17547
17548 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
17549 * gdb.base/completion.exp: Check that all expected files exist
17550 before doing file completion.
0dbe70ce 17551
8d551b02
DE
175522014-05-16 Doug Evans <dje@google.com>
17553
17554 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
17555 Update.
17556 (do_syscall_tests_without_xml): Update.
17557
73eb7709
PA
175582014-05-16 Pedro Alves <palves@redhat.com>
17559
17560 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
17561 instead of "unknown output after running".
17562
3fae92fc
YQ
175632014-05-16 Yao Qi <yao@codesourcery.com>
17564
17565 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
17566 file1.txt from host at the end.
17567 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
17568
c2b2ccc5
DE
175692014-05-15 Doug Evans <dje@google.com>
17570
17571 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
17572 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
17573 loading file. Add test for TU lookup.
17574
8c217a4b
SM
175752014-05-15 Simon Marchi <simon.marchi@ericsson.com>
17576
17577 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
17578 calling "-exec-arguments" or "set args" before running the
17579 inferior.
17580
3deb39c6
SM
175812014-05-15 Simon Marchi <simon.marchi@ericsson.com>
17582
17583 * lib/mi-support.exp (mi_expect_stop): Expect message for
17584 inferiors that exit with non-zero exit code.
17585
71a79f8c
YQ
175862014-05-14 Yao Qi <yao@codesourcery.com>
17587
17588 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
17589 match absolute path on remote host.
17590 (test_file_list_exec_source_files): Remove "/" from the
17591 pattern.
17592
f23fcd46
YQ
175932014-05-14 Yao Qi <yao@codesourcery.com>
17594
17595 * boards/local-remote-host-notty.exp (${board}_file): New
17596 proc.
17597
9404b58f
KM
175982014-05-07 Kyle McMartin <kyle@redhat.com>
17599
17600 Pushed by Joel Brobecker <brobecker@adacore.com>.
17601 * gdb.arch/aarch64-atomic-inst.c: New file.
17602 * gdb.arch/aarch64-atomic-inst.exp: New file.
17603
5e45f04c
YQ
176042014-05-07 Yao Qi <yao@codesourcery.com>
17605
17606 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
17607 in current context" too.
17608
c888a17d
KS
176092014-05-05 Keith Seitz <keiths@redhat.com>
17610
17611 * gdb.linespec/ls-dollar.exp: Add test for linespec
17612 file:convenience_variable.
17613
290a839c
YQ
176142014-05-05 Yao Qi <yao@codesourcery.com>
17615
17616 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
17617 traceframes into tfile and ctf trace files. Read data from
17618 trace file and test collected data.
17619 (gdb_collect_locals_test): Likewise.
17620 (gdb_unavailable_registers_test): Likewise.
17621 (gdb_unavailable_floats): Likewise.
17622 (gdb_collect_globals_test): Likewise.
17623 (top-level): Append "ctf" to trace_file_targets if GDB
17624 supports.
17625
b5262cd0
YQ
176262014-05-05 Yao Qi <yao@codesourcery.com>
17627
17628 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
17629 code to ...
17630 (gdb_collect_args_test_1): ... it. New proc.
17631 (gdb_collect_locals_test): Move some code to ...
17632 (gdb_collect_locals_test_1): ... it. New proc.
17633 (gdb_unavailable_registers_test): Move some code to ...
17634 (gdb_unavailable_registers_test_1): ... it. New proc.
17635 (gdb_unavailable_floats): Move some code to ...
17636 (gdb_unavailable_floats_1): ... it. New proc.
17637
30a1e6cc
SDJ
176382014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
17639
17640 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
17641 probes to test for bitness recognition.
17642 * gdb.arch/amd64-stap-optional-prefix.exp
17643 (test_probe_value_without_reg): New procedure.
17644 Add code to test for different kinds of bitness.
17645
f33da99a
SDJ
176462014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
17647
17648 PR breakpoints/16889
17649 * gdb.arch/amd64-stap-optional-prefix.S: New file.
17650 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
17651
5b80f00d
PA
176522014-05-01 Pedro Alves <palves@redhat.com>
17653
17654 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
17655 gdb_file_cmd if no file is specified.
17656 * boards/native-extended-gdbserver.exp (gdb_load): Use the
17657 last_loaded_file to set the remote exec-file.
17658
f8c2a73c
PA
176592014-05-01 Pedro Alves <palves@redhat.com>
17660
17661 * boards/local-remote-host.exp: New file.
17662
be6e8ac7
PA
176632014-05-01 Pedro Alves <palves@redhat.com>
17664
17665 * boards/local-remote-host.exp: Rename to ...
17666 * boards/local-remote-host-notty.exp: ... this.
17667
cac0dc8f
JB
176682014-04-28 Joel Brobecker <brobecker@adacore.com>
17669
17670 * gdb.ada/dyn_arrayidx: New testcase.
17671
9730e6cc
YQ
176722014-04-26 Yao Qi <yao@codesourcery.com>
17673
17674 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
17675 and compute the length of function main. Save it in
17676 $main_length.
17677 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
17678 (top-level): Use gdb_compile to compile objects into
17679 executable and restart GDB. Remove invocation to
17680 prepare_for_testing.
17681
7ae1a6a6
PA
176822014-04-25 Simon Marchi <simon.marchi@ericsson.com>
17683 Pedro Alves <palves@redhat.com>
17684
17685 PR server/16255
17686 * gdb.multi/multi-attach.c: New file.
17687 * gdb.multi/multi-attach.exp: New file.
17688
4082afcc
PA
176892014-04-25 Pedro Alves <palves@redhat.com>
17690
17691 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
17692 user.
17693 (top level): Test that "set remote conditional-breakpoints-packet
17694 off" works as intended.
17695 * gdb.base/dprintf.exp: Test that "set remote
17696 breakpoint-commands-packet off" works as intended.
17697 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
17698 New function.
17699 (top level): Call it.
17700 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
17701 remote fast-tracepoints-packet off" works as intended.
17702 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
17703 * lib/gdb.exp (gdb_is_target_remote): ... here.
17704
2abc3f8d
DB
177052014-04-24 David Blaikie <dblaikie@gmail.com>
17706
17707 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
17708 ensure clang would not discard them.
17709 * gdb.base/gdbvars.c: Ditto.
17710 * gdb.base/memattr.c: Ditto.
17711 * gdb.base/whatis.c: Ditto.
17712 * gdb.python/py-prettyprint.c: Ditto.
17713 * gdb.trace/actions.c: Ditto.
17714 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
17715 ensure clang would not discard it.
17716
bfd39632
DB
177172014-04-24 David Blaikie <dblaikie@gmail.com>
17718
17719 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
17720 clang to emit the full definition of type required by the test
17721 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
17722
22842ff6
DB
177232014-04-24 David Blaikie <dblaikie@gmail.com>
17724
17725 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
17726 coax Clang into emitting the definition of the type.
17727 * gdb.cp/pr10728-x.h (y): Ditto.
17728 * gdb.cp/pr10728-y.cc (y): Ditto.
17729
c2e827ad
DB
177302014-04-24 David Blaikie <dblaikie@gmail.com>
17731
17732 * gdb.base/label.exp: XFAIL label related tests under Clang.
17733 * gdb.cp/cplabel.exp: Ditto.
17734 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
17735 under Clang those using labels.
17736
4c2d33e7
YQ
177372014-04-25 Yao Qi <yao@codesourcery.com>
17738
17739 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
17740 double_label.
17741 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
17742 partial_label and double_label.
17743
56083b99
DB
177442014-04-24 David Blaikie <dblaikie@gmail.com>
17745
17746 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
17747
25d4e99d
DB
177482014-04-24 David Blaikie <dblaikie@gmail.com>
17749
17750 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
17751 of the function to work across GCC and Clang.
17752 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
17753 pointer types (const void ** const V void **).
17754
01f9f808
MS
177552014-04-24 Michael Sturm <michael.sturm@mintel.com>
17756 Walfred Tedeschi <walfred.tedeschi@intel.com>
17757
17758 * Makefile.in (EXECUTABLES): Added i386-avx512.
17759 * gdb.arch/i386-avx512.c: New file.
17760 * gdb.arch/i386-avx512.exp: Likewise.
17761
4b48d439
KS
177622014-04-23 Keith Seitz <keiths@redhat.com>
17763
17764 * lib/mi-support.exp (mi_list_breakpoints): Delete.
17765 (mi_make_breakpoint_table): New procedure.
17766 (mi_create_breakpoint): Use mi_make_breakpoint
17767 and return the result.
17768 (mi_make_breakpoint): New procedure.
17769 (mi_build_kv_pairs): New procedure.
17770
17771 * gdb.mi/mi-break.exp: Remove unused globals,
17772 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
17773 All callers updated.
17774 * gdb.mi/mi-dprintf.exp: Use variable to track command
17775 number.
17776 Update all callers of mi_create_breakpoint and use
17777 mi_make_breakpoint_table.
17778 Remove any unused global variables.
17779 * gdb.mi/mi-nonstop.exp: Likewise.
17780 * gdb.mi/mi-nsintrall.exp: Likewise.
17781 * gdb.mi/mi-nsmoribund.exp: Likewise.
17782 * gdb.mi/mi-nsthrexec.exp: Likewise.
17783 * gdb.mi/mi-reverse.exp: Likewise.
17784 * gdb.mi/mi-simplerun.exp: Likewise.
17785 * gdb.mi/mi-stepn.exp: Likewise.
17786 * gdb.mi/mi-syn-frame.exp: Likewise.
17787 * gdb.mi/mi-until.exp: Likewise.
17788 * gdb.mi/mi-var-cp.exp: Likewise.
17789 * gdb.mi/mi-var-display.exp: Likewise.
17790 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
17791 * gdb.mi/mi2-var-child.exp: Likewise.
17792 * gdb.mi/mi-vla-c99.exp: Likewise.
17793 * lib/mi-support.exp: Likewise.
17794
17795 From Ian Lance Taylor <iant@cygnus.com>:
17796 * lib/gdb.exp (parse_args): New procedure.
17797
08351840
PA
177982014-04-23 Pedro Alves <palves@redhat.com>
17799
17800 * gdb.base/break-unload-file.c: New file.
17801 * gdb.base/break-unload-file.exp: New file.
17802 * gdb.base/sym-file-lib.c (baz): New function.
17803 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
17804 field.
17805 (load): Store the segment's mapped size.
17806 (unload): New function.
17807 (unload_shlib): New function.
17808 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
17809 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
17810 set a breakpoint at baz, and call it.
17811 * gdb.base/sym-file.exp: New tests for stale breakpoint
17812 instructions.
17813
076855f9
PA
178142014-04-23 Pedro Alves <palves@redhat.com>
17815
17816 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
17817 * gdb.base/hbreak-in-shr-unsupported.c: New file.
17818 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
17819 * gdb.base/hbreak-unmapped.c: New file.
17820 * gdb.base/hbreak-unmapped.exp: New file.
17821 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
17822 * lib/gdb.exp (gdb_is_target_remote): ... here.
17823
483805cf
PA
178242014-04-22 Pedro Alves <palves@redhat.com>
17825
17826 * gdb.base/consecutive-step-over.c: New file.
17827 * gdb.base/consecutive-step-over.exp: New file.
17828
06d97543
PA
178292014-04-22 Pedro Alves <palves@redhat.com>
17830
17831 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
17832 instead of send_gdb/gdb_expect.
17833
b4429ea2
YQ
178342014-04-22 Yao Qi <yao@codesourcery.com>
17835
17836 * lib/trace-support.exp (generate_tracefile): New procedure.
17837 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
17838 return 0.
17839 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
17840 if generate_tracefile returns 1.
17841
51d48146
PA
178422014-04-18 Tom Tromey <palves@redhat.com>
17843 Pedro alves <tromey@redhat.com>
17844
17845 PR backtrace/15558
17846 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
17847 with a backtrace limit.
17848 * gdb.python/py-frame-inline.exp: Test running to an inline
17849 function with a backtrace limit, and printing the newest frame.
17850 * gdb.python/py-frame-inline.c (main): Call f.
17851
bd1dce5f
MS
178522014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
17853
17854 * gdb.java/jnpe.exp: Drop srcdir from untested path.
17855
40d1a503
MS
178562014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
17857
17858 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
17859 Drop prefix from unsupported source file path.
17860
389b98f7
YQ
178612014-04-17 Yao Qi <yao@codesourcery.com>
17862
17863 * lib/gdb.exp (with_target_charset): New proc.
17864 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
17865 with_target_charset.
17866 (test_print_strings): Likewise.
17867 (test_repeat_bytes): Likewise.
17868 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
17869 for some tests.
17870
22869d73
KS
178712014-04-16 Keith Seitz <keiths@redhat.com>
17872
17873 PR gdb/15827
17874 * gdb.dwarf2/corrupt.c: New file.
17875 * gdb.dwarf2/corrupt.exp: New file.
17876
c4f87ca6
KS
178772014-04-16 Keith Seitz <keiths@redhat.com>
17878
17879 PR c++/16597
17880 * gdb.cp/namelessclass.cc: New file.
17881 * gdb.cp/namelessclass.exp: New file.
17882 * gdb.cp/namelessclass.S: New file.
17883
ab19de87
DE
178842014-04-16 Doug Evans <dje@google.com>
17885
17886 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
17887 Add comment.
17888 (gdbserver_default_get_comm_port): New function.
17889 (gdbserver_start): Check if board file provided
17890 "gdbserver,get_comm_port" and use it if so.
17891 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
17892 (gdb,socketport): Set to "stdio".
17893 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
17894 (stdio_gdbserver_template): Delete.
17895 (${board}_get_remote_address): Update.
17896 (${board}_build_remote_cmd): Delete.
17897 (${board}_get_comm_port): New function.
17898 (${board}_spawn): Update.
17899 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
17900 Delete.
17901 (${board}_get_remote_address): Update.
17902 (${board}_get_comm_port): New function.
17903
fc98a809
AB
179042014-04-16 Andrew Burgess <aburgess@broadcom.com>
17905
17906 * gdb.base/memattr.exp: Improve regexps to handle memory regions
17907 appearing in any order.
17908
87fd9e6e
DE
179092014-04-15 Doug Evans <dje@google.com>
17910
17911 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
17912 uninitialized value of "description".
17913
099fc3ea
KS
179142014-04-15 Keith Seitz <keiths@redhat.com>
17915
17916 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
17917 Remove unused globals.
17918 (test_running_the_program): Likewise.
17919 (test_controlled_execution): Likewise.
17920 (test_controlling_breakpoints): Likewise.
17921 (test_program_termination): Likewise.
17922
5da151d4
KS
179232014-04-15 Keith Seitz <keiths@redhat.com>
17924
17925 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
17926 unused globals.
17927 (test_rbreak_creation_and_listing): Likewise.
17928 (test_ignore_count): Likewise.
17929 (test_error): Likewise.
17930
35e5d2f0
PA
179312014-04-15 Pedro Alves <palves@redhat.com>
17932
17933 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
17934 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
17935 sym-file-loader.c.
17936 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
17937 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
17938 to sym-file-loader.c.
17939 (struct library): Forward declare.
17940 (load_shlib, lookup_function): Change prototypes.
17941 (find_shstrtab, find_strtab, find_shdr, find_symtab)
17942 (translate_offset): Remove declarations.
17943 (get_text_addr): New declaration.
17944 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
17945 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
17946 sym-file-loader.h.
17947 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
17948 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
17949 here from sym-file-loader.h.
17950 (struct library): New structure.
17951 (load_shlib, lookup_function): Change prototypes and adjust to
17952 work with a struct library.
17953 (find_shstrtab, find_strtab, find_shdr, find_symtab)
17954 (translate_offset): Make static.
17955 (get_text_addr): New function.
17956 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
17957
eb4c1710
PA
179582014-04-15 Pedro Alves <palves@redhat.com>
17959
17960 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
17961
2d1baf52
PA
179622014-04-15 Pedro Alves <palves@redhat.com>
17963
17964 * gdb.base/sym-file-loader.c: Include <limits.h>.
17965 (SELF_LINK): New define.
17966 (get_origin): New function.
17967 (load_shlib): Use it.
17968 * gdb.base/sym-file.exp: Don't early return if the target is
17969 remote. Use runto_main, and issue fail is that fails. Use
17970 gdb_load_shlibs.
17971 (shlib_name): Delete.
17972 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
17973
7dd6df01
PA
179742014-04-15 Pedro Alves <palves@redhat.com>
17975
17976 * gdb.base/sym-file.exp: Remove regex characters from test
17977 message. Don't refer to breakpoint numbers in test messages.
17978
b50c8614
KS
179792014-04-14 Keith Seitz <keiths@redhat.com>
17980
17981 PR c++/16253
17982 * gdb.cp/var-tag.cc: New file.
17983 * gdb.cp/var-tag.exp: New file.
17984 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
17985 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
17986 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
17987 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
17988
3d567982
TT
179892014-04-14 Tom Tromey <tromey@redhat.com>
17990
17991 * gdb.cp/classes.exp (test_enums): Handle underlying type.
17992 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
17993 type.
17994 * gdb.cp/enum-class.exp: New file.
17995 * gdb.cp/enum-class.cc: New file.
17996
0626fc76
TT
179972014-04-14 Tom Tromey <tromey@redhat.com>
17998
17999 * gdb.dwarf2/enum-type.exp: New file.
18000
dca325b3
SA
180012014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18002
18003 * gdb.mi/mi-vla-c99.exp: New file.
18004 * gdb.mi/vla.c: New file.
18005
5854b38a
SA
180062014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18007
18008 * gdb.base/vla-datatypes.c: New file.
18009 * gdb.base/vla-datatypes.exp: New file.
18010
463bb957
SA
180112014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18012
18013 * gdb.base/vla-ptr.c: New file.
18014 * gdb.base/vla-ptr.exp: New file.
18015
3dd170be
SA
180162014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18017
18018 * gdb.dwarf2/count.exp: New file.
18019
5ecaaa66
SA
180202014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18021
18022 * gdb.base/vla-sideeffect.c: New file.
18023 * gdb.base/vla-sideeffect.exp: New file.
18024
41f1ada5
DB
180252014-04-14 David Blaikie <dblaikie@gmail.com>
18026
18027 * gdb.mi/non-stop.c: Add return value for non-void function return
18028 statement.
18029 * gdb.threads/staticthreads.c: Ditto.
18030
0be03e84
DE
180312014-04-12 Siva Chandra Reddy <sivachandra@google.com>
18032 Doug Evans <xdje42@gmail.com>
18033
18034 * gdb.guile/scm-value.c: Improve test case.
18035 * gdb.guile/scm-value.exp: Add new test.
18036
f180a1fb
DB
180372014-04-11 David Blaikie <dblaikie@gmail.com>
18038
18039 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
18040 override Clang's default.
18041
6b662e19
JB
180422014-04-11 Joel Brobecker <brobecker@adacore.com>
18043
18044 Revert the following changes (regressions):
18045
18046 * gdb.base/vla-sideeffect.c: New file.
18047 * gdb.base/vla-sideeffect.exp: New file.
18048
18049 * gdb.dwarf2/count.exp: New file.
18050
18051 * gdb.base/vla-multi.c: New file.
18052 * gdb.base/vla-multi.exp: New file.
18053
18054 * gdb.base/vla-ptr.c: New file.
18055 * gdb.base/vla-ptr.exp: New file.
18056
18057 * gdb.base/vla-datatypes.c: New file.
18058 * gdb.base/vla-datatypes.exp: New file.
18059
18060 * gdb.mi/mi-vla-c99.exp: New file.
18061 * gdb.mi/vla.c: New file.
18062
245a5f0b
KS
180632014-04-11 Keith Seitz <keiths@redhat.com>
18064
18065 PR c++/16675
18066 * gdb.cp/cpsizeof.exp: New file.
18067 * gdb.cp/cpsizeof.cc: New file.
18068
58a84dcf
SA
180692014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18070
191a8a90
JB
18071 * gdb.mi/mi-vla-c99.exp: New file.
18072 * gdb.mi/vla.c: New file.
58a84dcf 18073
c8655f75
SA
180742014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18075
18076 * gdb.base/vla-datatypes.c: New file.
18077 * gdb.base/vla-datatypes.exp: New file.
18078
024e13b4
SA
180792014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18080
18081 * gdb.base/vla-ptr.c: New file.
18082 * gdb.base/vla-ptr.exp: New file.
18083
1a237e0e
SA
180842014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18085
18086 * gdb.base/vla-multi.c: New file.
18087 * gdb.base/vla-multi.exp: New file.
18088
504f3432
SA
180892014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18090
18091 * gdb.dwarf2/count.exp: New file.
18092
3bce8237
SA
180932014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18094
191a8a90
JB
18095 * gdb.base/vla-sideeffect.c: New file.
18096 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 18097
322f9c21
YQ
180982014-04-11 Yao Qi <yao@codesourcery.com>
18099
18100 * gdb.base/completion.exp: Check file exists before running tests
18101 on file completion.
18102
d708bcd1
PA
181032014-04-10 Pedro Alves <palves@redhat.com>
18104
18105 * gdb.base/cond-eval-mode.c: New file.
18106 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
18107 prepare_for_testing to build the new file. Check result of
18108 runto_main.
18109 (test_break, test_watch): New procedures.
18110 (top level): Use them.
18111
ae1d2761
PM
181122014-04-08 Pierre Muller <muller@sourceware.org>
18113
18114 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
18115 Ctrl-V use for mingw hosts.
18116
7af389b8
SC
181172014-04-07 Siva Chandra Reddy <sivachandra@google.com>
18118
18119 * gdb.python/py-value.c: Improve test case.
18120 * gdb.python/py-value.exp: Add new test.
18121
5e703181
DE
181222014-04-07 David Blaikie <dblaikie@gmail.com>
18123
18124 * lib/compiler.c: Identify the clang compiler.
18125 * lib/compiler.cc: Ditto.
18126
9810b410
YQ
181272014-04-03 Yao Qi <yao@codesourcery.com>
18128
18129 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
18130
98d1b8dc
AB
181312014-04-01 Anton Blanchard <anton@samba.org>
18132
18133 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
18134 messages unique.
18135
3114cea1
AB
181362014-04-01 Anton Blanchard <anton@samba.org>
18137
18138 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
18139 prepare_for_testing.
18140
62f7182c
AB
181412014-04-01 Anton Blanchard <anton@samba.org>
18142
18143 * gdb.arch/ppc64-atomic-inst.c: Remove.
18144 * gdb.arch/ppc64-atomic-inst.S: New file.
18145 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
18146
770e7fc7
DE
181472014-03-31 Doug Evans <dje@google.com>
18148
18149 * gdb.base/print-symbol-loading-lib.c: New file.
18150 * gdb.base/print-symbol-loading-main.c: New file.
18151 * gdb.base/print-symbol-loading.exp: New file.
18152
46e2bafa
YQ
181532014-03-31 Yao Qi <yao@codesourcery.com>
18154
18155 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
18156
8776cfe9
JB
181572014-03-28 Joel Brobecker <brobecker@adacore.com>
18158
18159 * gdb.ada/mi_dyn_arr: New testcase.
18160
5d1ef361
DE
181612014-03-27 Doug Evans <dje@google.com>
18162
18163 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
18164
b5bee914
YQ
181652014-03-27 Yao Qi <yao@codesourcery.com>
18166
18167 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
18168 if target is nios2-*-*.
18169
0d4d0e77
YQ
181702014-03-26 Yao Qi <yao@codesourcery.com>
18171
18172 * lib/gdb.exp (readline_is_used): New proc.
18173 * gdb.base/completion.exp: Move tests on command complete up.
18174 Skip the rest of tests if readline is not used.
18175 * gdb.ada/complete.exp: Skp the test if readline is not
18176 used.
18177 * gdb.base/filesym.exp: Likewise.
18178 * gdb.base/macscp.exp: Likewise.
18179 * gdb.base/readline-ask.exp: Likewise.
18180 * gdb.base/readline.exp: Likewise.
18181 * gdb.python/py-cmd.exp: Likewise.
18182 * gdb.trace/tfile.exp: Likewise.
18183
29361eee
YQ
181842014-03-26 Yao Qi <yao@codesourcery.com>
18185
18186 * gdb.base/macscp.exp: Fix code format issues.
18187
bc9a5525
UW
181882014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
18189
18190 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
18191 * gdb.asm/powerpc64le.inc: New file.
18192
d3839ede
PA
181932014-03-25 Pedro Alves <palves@redhat.com>
18194 Doug Evans <dje@google.com>
18195
18196 * gdb.base/source-execution.c: New file.
18197 * gdb.base/source-execution.exp: New file.
18198 * gdb.base/source-execution.gdb: New file.
18199
01672a57
DE
182002014-03-24 Doug Evans <dje@google.com>
18201
18202 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
18203 using fission.
18204
88bbeca9
HZ
182052014-03-24 Hui Zhu <hui@codesourcery.com>
18206 Pedro Alves <palves@redhat.com>
18207
18208 PR breakpoints/16101
18209 * gdb.base/dprintf.exp: Use unsupported rather than changing the
18210 test pass/fail messages. Detect missing support for dprintf when
18211 breakpoints are actually inserted.
18212 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
18213 breakpoints are actually inserted.
18214 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
18215 fails.
18216
d2348791
JK
182172014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
18218
18219 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
18220
feef67ab
DE
182212014-03-22 Doug Evans <xdje42@gmail.com>
18222
18223 * gdb.python/python.exp (python not supported): Verify multi-line
18224 python command issues an error.
25d743f9 18225 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 18226 guile command issues an error.
feef67ab 18227
ecebef6a
MR
182282014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
18229
18230 * gdb.threads/thread-specific.exp: Handle the lack of usable
18231 $this_breakpoint and $this_thread.
18232
ccdd1909
HZ
182332014-03-21 Hui Zhu <hui@codesourcery.com>
18234
18235 * gdb.base/attach.exp (do_command_attach_tests): New.
18236
beb460e8
PA
182372014-03-20 Tom Tromey <tromey@redhat.com>
18238 Pedro Alves <palves@redhat.com>
18239
18240 PR cli/15718
18241 * gdb.base/condbreak-call-false.c: New file.
18242 * gdb.base/condbreak-call-false.exp: New file.
18243
40acf43a
PA
182442014-03-20 Pedro Alves <palves@redhat.com>
18245
18246 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
18247 Delete.
18248 (block_signals, unblock_signals): Delete.
18249 (child_function_2, main): Remove references to deleted variable
18250 and functions.
18251
9f5e1e02
PA
182522014-03-20 Pedro Alves <palves@redhat.com>
18253
18254 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
18255 Use pthread_kill to signal thread 2.
18256 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18257 Adjust to make the test send itself a signal rather than using the
18258 host's "kill" command.
18259
99619bea
PA
182602014-03-20 Pedro Alves <palves@redhat.com>
18261
18262 * gdb.threads/multiple-step-overs.c: New file.
18263 * gdb.threads/multiple-step-overs.exp: New file.
18264 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18265 Adjust expected infrun debug output.
18266
2adfaa28
PA
182672014-03-20 Pedro Alves <palves@redhat.com>
18268
18269 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
18270 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
18271
31e77af2
PA
182722014-03-20 Pedro Alves <palves@redhat.com>
18273
18274 PR breakpoints/7143
18275 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
18276 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
18277 of gdb_test_multiple.
18278 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
18279 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
18280
b9f437de
PA
182812014-03-20 Pedro Alves <palves@redhat.com>
18282
18283 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
18284 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
18285
05adc73e
PA
182862014-03-19 Pedro Alves <palves@redhat.com>
18287
18288 * gdb.base/async.exp: Remove early return.
18289
6048b950
PA
182902014-03-19 Pedro Alves <palves@redhat.com>
18291
18292 * gdb.base/async.exp (step& tests): Pass explicit test messages.
18293
8bcfb00a
PA
182942014-03-19 Pedro Alves <palves@redhat.com>
18295
18296 * gdb.base/async.exp (test_background): Expect \r\n after
18297 "completed." in the fail pattern.
18298
884e37dc
PA
182992014-03-19 Pedro Alves <palves@redhat.com>
18300
18301 * gdb.base/async.exp (test_background): New procedure.
18302 Use it for all background execution command tests.
18303
148e57e2
PA
183042014-03-19 Pedro Alves <palves@redhat.com>
18305
18306 * gdb.base/async.exp: Use prepare_for_testing.
18307
f48088c7
PA
183082014-03-19 Pedro Alves <palves@redhat.com>
18309
18310 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
18311 the same line.
18312
e2f6c966
PA
183132014-03-19 Pedro Alves <palves@redhat.com>
18314
18315 * gdb.base/async.c (main): Add "jump here" and "until here" line
18316 marker comments.
18317 * gdb.base/async.exp (jump_here): New global.
18318 (jump& test): Use it.
18319 (until_here): New global.
18320 (until& test): Use it.
18321
c30568d4
PA
183222014-03-19 Pedro Alves <palves@redhat.com>
18323
18324 * gdb.base/async.exp: Don't frob gdb_protocol.
18325
0172b6a7
DE
183262014-03-18 Doug Evans <xdje42@gmail.com>
18327
18328 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
18329 Fix spelling of exec-done-display.
18330
06c868a8
JK
183312014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
18332
18333 PR gdb/15358
18334 * gdb.base/gdb-sigterm.c: New file.
18335 * gdb.base/gdb-sigterm.exp: New file.
18336
0c7e1a46
PA
183372014-03-18 Pedro Alves <palves@redhat.com>
18338
18339 PR gdb/13860
18340 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
18341 * lib/mi-support.exp (mi_expect_stop): Add special handling for
18342 solib-event.
18343
f7c77d93
JB
183442014-03-17 Joel Brobecker <brobecker@adacore.com>
18345
18346 * gdb.ada/pckd_arr_ren: New testcase.
18347
5a1e8c7a
DE
183482014-03-13 Doug Evans <xdje42@gmail.com>
18349
18350 PR guile/16612
18351 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
18352 collect after discarding symbols.
18353
350e1a76
DE
183542014-03-13 Ludovic Courtès <ludo@gnu.org>
18355 Doug Evans <xdje42@gmail.com>
18356
18357 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
18358 to history survives a gc.
18359
a69900ae
PA
183602014-03-13 Pedro Alves <palves@redhat.com>
18361
18362 * gdb.base/default.exp: Don't test "target procfs".
18363
5db9f0bd
PA
183642014-03-13 Pedro Alves <palves@redhat.com>
18365
18366 * gdb.base/default.exp: Update "target child" and "target procfs"
18367 tests to not expect "Unix".
18368
b3ccfe11
TT
183692014-03-12 Tom Tromey <tromey@redhat.com>
18370
18371 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
18372 New procs. Add target-async tests.
18373 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
18374 Add target-async tests.
18375
646f4417
AA
183762014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18377
18378 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
18379 'func_start' and 'func_end' for the beginning and end of the
18380 function code, respectively.
18381 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
18382 'func_end' instead of 'func' and 'main'.
18383
288c211f
AA
183842014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18385
18386 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
18387 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
18388 generate the debug info assembler source.
18389
e0c0f156
AA
183902014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18391
18392 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
18393 * gdb.dwarf2/arr-subrange.exp: Likewise.
18394 * gdb.dwarf2/dwz.exp: Likewise.
18395 * gdb.dwarf2/method-ptr.exp: Likewise.
18396 * gdb.dwarf2/missing-sig-type.exp: Likewise.
18397 * gdb.dwarf2/subrange.exp: Likewise.
18398 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
18399 * gdb.dwarf2/implptrpiece.exp: Likewise.
18400 * gdb.dwarf2/nostaticblock.exp: Likewise.
18401
0e5c4555
AA
184022014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18403
18404 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
18405 directory to absolute path name arguments.
18406
5ec18f2b
JG
184072014-03-10 Joel Brobecker <brobecker@adacore.com>
18408
18409 * gdb.ada/tagged_access: New testcase.
18410
847fc4f2
MM
184112014-03-07 Markus Metzger <markus.t.metzger@intel.com>
18412
18413 * gdb.btrace/data.exp: Update expected output.
18414
cc3da688
YQ
184152014-03-06 Yao Qi <yao@codesourcery.com>
18416
18417 * gdb.trace/pr16508.exp: New file.
18418
0f26cec1
PA
184192014-03-05 Pedro Alves <palves@redhat.com>
18420
18421 PR gdb/16575
18422 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
18423 procedure.
18424 (top level): Adjust to use it. Add tests that exercise breakpoint
18425 interaction with the code-cache.
18426
7a5a839f
LC
184272014-02-26 Ludovic Courtès <ludo@gnu.org>
18428
18429 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
18430 test for 'history-append!'.
18431
31aa7e4e
JB
184322014-02-26 Joel Brobecker <brobecker@adacore.com>
18433
18434 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
18435 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
18436 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
18437 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
18438 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
18439 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
18440
1b588015
JB
184412014-02-26 Joel Brobecker <brobecker@adacore.com>
18442
18443 * testsuite/gdb.python/py-pp-re-notag.c: New file.
18444 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
18445 * testsuite/gdb.python/py-pp-re-notag.p: New file.
18446
55426c9d
JB
184472014-02-26 Joel Brobecker <brobecker@adacore.com>
18448
18449 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
18450
dc53a7ad
JB
184512014-02-26 Joel Brobecker <brobecker@adacore.com>
18452
18453 * gdb.dwarf2/arr-stride.c: New file.
18454 * gdb.dwarf2/arr-stride.exp: New file.
18455
12ab52e9
PA
184562014-02-26 Pedro Alves <palves@redhat.com>
18457
18458 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
18459 that won't ever trigger. Make sure that GDB reports the correct
18460 breakpoint that caused the stop.
18461
849c862e
JK
184622014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18463
18464 PR gdb/16626
18465 * gdb.base/auto-load-script: New file.
18466 * gdb.base/auto-load.c: New file.
18467 * gdb.base/auto-load.exp: New file.
18468
71b7d793
JK
18469 PR gdb/16626
18470 * gdb.base/auto-load.exp: Fix out-of-srctree run.
18471
e2f0d509
JK
184722014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18473
18474 Fix dw2-icycle.exp -fsanitize=address GDB crash.
18475 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
18476
50cc37c8
DE
184772014-02-24 Doug Evans <dje@google.com>
18478
18479 * lib/gdb.exp (run_on_host): Log error output if program fails.
18480
ea4758f2
PA
184812014-02-21 Pedro Alves <palves@redhat.com>
18482
18483 * gdb.threads/step-after-sr-lock.c: Rename to ...
18484 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
18485 * gdb.threads/step-after-sr-lock.exp: Rename to ...
18486 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18487 ... this.
18488
d7b30f67
SDJ
184892014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
18490
18491 PR tdep/16397
18492 * gdb.arch/amd64-stap-special-operands.exp: New file.
18493 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
18494 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
18495 * gdb.arch/amd64-stap-triplet.S: Likewise.
18496 * gdb.arch/amd64-stap-triplet.c: Likewise.
18497
83deb43f
JB
184982014-02-20 Joel Brobecker <brobecker@adacore.com>
18499
18500 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
18501 in .section pseudo-op.
18502
adde2bff
DE
185032014-02-20 lin zuojian <manjian2006@gmail.com>
18504 Joel Brobecker <brobecker@adacore.com>
18505 Doug Evans <xdje42@gmail.com>
18506
18507 PR symtab/16581
18508 * gdb.dwarf2/dw2-icycle.S: New file.
18509 * gdb.dwarf2/dw2-icycle.c: New file.
18510 * gdb.dwarf2/dw2-icycle.exp: New file.
18511
f7bd0f78
SC
185122014-02-19 Siva Chandra Reddy <sivachandra@google.com>
18513
18514 * gdb.python/py-value-cc.cc: Improve test case to enable testing
18515 operations on gdb.Value objects.
18516 * gdb.python/py-value-cc.exp: Add new test to test operations on
18517 gdb.Value objects.
18518
c17ef0d5
DE
185192014-02-18 Doug Evans <dje@google.com>
18520
18521 * Makefile.in (TESTS): New variable.
18522 (expanded_tests, expanded_tests_or_none): New variables
18523 (check-single): Pass $(expanded_tests_or_none) to runtest.
18524 (check-parallel): Only run tests in $(TESTS) if non-empty.
18525 (check/no-matching-tests-found): New rule.
18526 * README: Document TESTS makefile variable.
18527
5dd3176f
DE
185282014-02-18 Doug Evans <dje@google.com>
18529
18530 * Makefile.in (check-parallel): rm -rf outputs temp.
18531
0b10be4f
JK
185322014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18533
18534 Fix "ERROR: no fileid for" in the testsuite.
18535 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
18536
85f224e7
DE
185372014-02-12 Doug Evans <dje@google.com>
18538
18539 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
18540 (MISCELLANEOUS): New variable.
18541 (clean): rm -rf $(MISCELLANEOUS).
18542 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
18543 dwp live in the same directory as symlinks, with each symlink pointed
18544 to a differently named file in a different directory.
18545
149b30ff
DE
185462014-02-11 Doug Evans <dje@google.com>
18547
18548 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
18549 of Tcl file commands.
18550
1dfdac32
MK
185512014-02-10 Mark Kettenis <kettenis@gnu.org>
18552
18553 * gdb.threads/step-after-sr-lock.exp: Avoid executing
18554 "kill -SIGUSR1 -1".
18555
aa4fb036
JB
185562014-02-10 Joel Brobecker <brobecker@adacore.com>
18557
18558 * gdb.ada/tick_length_array_enum_idx: New testcase.
18559
ed3ef339
DE
185602014-02-10 Doug Evans <xdje42@gmail.com>
18561
18562 * configure.ac (AC_OUTPUT): Add gdb.guile.
18563 * configure: Regenerate.
18564 * lib/gdb-guile.exp: New file.
18565 * lib/gdb.exp (get_target_charset): New function.
18566 * gdb.base/help.exp: Update expected output from "apropos apropos".
18567 * gdb.guile/Makefile.in: New file.
18568 * gdb.guile/guile.exp: New file.
18569 * gdb.guile/scm-arch.c: New file.
18570 * gdb.guile/scm-arch.exp: New file.
18571 * gdb.guile/scm-block.c: New file.
18572 * gdb.guile/scm-block.exp: New file.
18573 * gdb.guile/scm-breakpoint.c: New file.
18574 * gdb.guile/scm-breakpoint.exp: New file.
18575 * gdb.guile/scm-disasm.c: New file.
18576 * gdb.guile/scm-disasm.exp: New file.
18577 * gdb.guile/scm-equal.c: New file.
18578 * gdb.guile/scm-equal.exp: New file.
18579 * gdb.guile/scm-error.exp: New file.
18580 * gdb.guile/scm-error.scm: New file.
18581 * gdb.guile/scm-frame-args.c: New file.
18582 * gdb.guile/scm-frame-args.exp: New file.
18583 * gdb.guile/scm-frame-args.scm: New file.
18584 * gdb.guile/scm-frame-inline.c: New file.
18585 * gdb.guile/scm-frame-inline.exp: New file.
18586 * gdb.guile/scm-frame.c: New file.
18587 * gdb.guile/scm-frame.exp: New file.
18588 * gdb.guile/scm-generics.exp: New file.
18589 * gdb.guile/scm-gsmob.exp: New file.
18590 * gdb.guile/scm-iterator.c: New file.
18591 * gdb.guile/scm-iterator.exp: New file.
18592 * gdb.guile/scm-math.c: New file.
18593 * gdb.guile/scm-math.exp: New file.
18594 * gdb.guile/scm-objfile-script-gdb.in: New file.
18595 * gdb.guile/scm-objfile-script.c: New file.
18596 * gdb.guile/scm-objfile-script.exp: New file.
18597 * gdb.guile/scm-objfile.c: New file.
18598 * gdb.guile/scm-objfile.exp: New file.
18599 * gdb.guile/scm-ports.exp: New file.
18600 * gdb.guile/scm-pretty-print.c: New file.
18601 * gdb.guile/scm-pretty-print.exp: New file.
18602 * gdb.guile/scm-pretty-print.scm: New file.
18603 * gdb.guile/scm-section-script.c: New file.
18604 * gdb.guile/scm-section-script.exp: New file.
18605 * gdb.guile/scm-section-script.scm: New file.
18606 * gdb.guile/scm-symbol.c: New file.
18607 * gdb.guile/scm-symbol.exp: New file.
18608 * gdb.guile/scm-symtab-2.c: New file.
18609 * gdb.guile/scm-symtab.c: New file.
18610 * gdb.guile/scm-symtab.exp: New file.
18611 * gdb.guile/scm-type.c: New file.
18612 * gdb.guile/scm-type.exp: New file.
18613 * gdb.guile/scm-value-cc.cc: New file.
18614 * gdb.guile/scm-value-cc.exp: New file.
18615 * gdb.guile/scm-value.c: New file.
18616 * gdb.guile/scm-value.exp: New file.
18617 * gdb.guile/source2.scm: New file.
18618 * gdb.guile/types-module.cc: New file.
18619 * gdb.guile/types-module.exp: New file.
18620
7026a7c1
YQ
186212014-02-10 Yao Qi <yao@codesourcery.com>
18622
18623 PR testsuite/16543
18624 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
18625 * configure: Regenerated.
18626 * Makefile.in: New file.
18627
6c466447
AS
186282014-02-08 Andreas Schwab <schwab@linux-m68k.org>
18629
18630 * gdb.python/py-framefilter.exp: Fix typo.
18631
6e854735
YQ
186322014-02-08 Yao Qi <yao@codesourcery.com>
18633
18634 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
18635 that no =breakpoint-modified is emitted when breakpoints are
18636 modified through MI commands.
18637
d137e6dc
PA
186382014-02-07 Pedro Alves <pedro@codesourcery.com>
18639 Pedro Alves <palves@redhat.com>
18640
18641 * gdb.threads/step-after-sr-lock.c: New file.
18642 * gdb.threads/step-after-sr-lock.exp: New file.
18643
b5ee5a50
PA
186442014-02-07 Pedro Alves <palves@redhat.com>
18645
18646 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
18647
3c77faf3
JK
186482014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
18649
18650 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
18651 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
18652
6dddc817
DE
186532014-02-06 Doug Evans <xdje42@gmail.com>
18654
18655 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
18656 output.
18657
18658 * gdb.gdb/python-interrupts.exp: New file.
18659
de7b2893
YQ
186602014-02-05 Yao Qi <yao@codesourcery.com>
18661
18662 * gdb.trace/report.exp (use_collected_data): Test the output
18663 of "info threads" and "info inferiors".
18664
66d032ac
YQ
186652014-02-05 Yao Qi <yao@codesourcery.com>
18666
18667 Revert this patch:
18668
18669 2013-05-24 Yao Qi <yao@codesourcery.com>
18670
18671 * gdb.trace/tfile.exp: Test inferior and thread.
18672
591a12a1
UW
186732014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18674
18675 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
18676 on a function.
18677 * gdb.base/step-bt.c: Call hello via function pointer to make
18678 sure its first instruction is executed on powerpc64le-linux.
18679
0ff3e01f
UW
186802014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18681
18682 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
18683
084ee545
UW
186842014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18685
18686 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
18687 of the test patterns for use on little-endian systems.
18688
6ed14ff3
UW
186892014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18690
18691 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
18692 (decimal_vector): Fix for little-endian.
18693
401e27fd
JM
186942014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
18695
18696 * gdb.arch/sparc-sysstep.exp: New file.
18697 * gdb.arch/sparc-sysstep.c: Likewise.
18698
18699 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
18700
8b924729
EBM
187012014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18702
18703 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
18704
fb151210
JB
187052014-01-23 Tom Tromey <tromey@redhat.com>
18706
18707 * gdb.ada/array_char_idx: New testcase.
18708
0740f8d8
TT
187092014-01-23 Tom Tromey <tromey@redhat.com>
18710
18711 PR python/16487:
18712 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
18713 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
18714 classes.
18715
21909fa1
TT
187162014-01-23 Tom Tromey <tromey@redhat.com>
18717
18718 PR python/16491:
18719 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
18720 string from an inferior frame.
18721 * gdb.python/py-framefilter-mi.exp: Update.
18722
87ce2a04
DE
187232014-01-22 Doug Evans <dje@google.com>
18724
18725 * gdb.server/server-mon.exp: Add tests for "set debug-format".
18726
237b092b
AA
187272014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18728
18729 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
18730
d674a709
AA
187312014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18732
18733 * gdb.trace/entry-values.exp: Remove excess space character from
18734 regex patterns. Handle s390 call instruction.
18735
20fa3390
AA
187362014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18737
18738 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
18739 define "*_start" label. Make "name" static.
18740 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
18741 ${name} by references to ${name}_start.
18742
78466714
AA
187432014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18744
18745 * gdb.base/info-macros.exp: Remove "debug" from the compile
18746 options.
18747
ec9f644a
IB
187482014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18749
18750 * gdb.dlang/demangle.exp: New file.
18751
94b1b47e
IB
187522014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18753
18754 * gdb.dlang/primitive-types.exp: New file.
18755
7f420862
IB
187562014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18757
18758 * configure.ac: Create gdb.dlang/Makefile.
18759 * configure: Regenerate.
18760 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
18761 * gdb.dlang/Makefile.in: New file.
18762 * lib/d-support.exp: New file.
18763 * lib/gdb.exp (skip_d_tests): New proc.
18764
52834460
MM
187652014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18766
18767 * gdb.btrace/delta.exp: Check reverse stepi.
18768 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
18769 * gdb.btrace/finish.exp: New.
18770 * gdb.btrace/next.exp: New.
18771 * gdb.btrace/nexti.exp: New.
18772 * gdb.btrace/record_goto.c: Add comments.
18773 * gdb.btrace/step.exp: New.
18774 * gdb.btrace/stepi.exp: New.
18775 * gdb.btrace/multi-thread-step.c: New.
18776 * gdb.btrace/multi-thread-step.exp: New.
18777 * gdb.btrace/rn-dl-bind.c: New.
18778 * gdb.btrace/rn-dl-bind.exp: New.
18779 * gdb.btrace/data.c: New.
18780 * gdb.btrace/data.exp: New.
18781 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
18782
6e07b1d2
MM
187832014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18784
18785 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
18786 * gdb.btrace/exception.exp: Update.
18787 * gdb.btrace/instruction_history.exp: Update.
18788 * gdb.btrace/record_goto.exp: Update.
18789 * gdb.btrace/tailcall.exp: Update.
18790 * gdb.btrace/unknown_functions.exp: Update.
18791 * gdb.btrace/delta.exp: New.
18792
0b722aec
MM
187932014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18794
18795 * gdb.btrace/record_goto.exp: Add backtrace test.
18796 * gdb.btrace/tailcall.exp: Add backtrace test.
18797
066ce621
MM
187982014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18799
18800 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
18801 * gdb.btrace/record_goto.c: New.
18802 * gdb.btrace/record_goto.exp: New.
18803 * gdb.btrace/x86-record_goto.S: New.
18804
0688d04e
MM
188052014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18806
18807 * gdb.btrace/function_call_history.exp: Update tests.
18808 * gdb.btrace/instruction_history.exp: Update tests.
18809
8710b709
MM
188102014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18811
18812 * gdb.btrace/function_call_history.exp: Fix expected field
18813 order for "record function-call-history".
18814 Add new tests for "record function-call-history /c".
18815 * gdb.btrace/exception.cc: New.
18816 * gdb.btrace/exception.exp: New.
18817 * gdb.btrace/tailcall.exp: New.
18818 * gdb.btrace/x86-tailcall.S: New.
18819 * gdb.btrace/x86-tailcall.c: New.
18820 * gdb.btrace/unknown_functions.c: New.
18821 * gdb.btrace/unknown_functions.exp: New.
18822 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
18823
5de9129b
MM
188242014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18825
18826 * gdb.btrace/instruction_history.exp: Update.
18827 * gdb.btrace/function_call_history.exp: Update.
18828
23a7fe75
MM
188292014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18830
18831 * gdb.btrace/function_call_history.exp: Fix expected function
18832 trace.
18833 * gdb.btrace/instruction_history.exp: Initialize traced.
18834 Remove traced_functions.
18835
724c7dd8
MM
188362014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18837
18838 * gdb.btrace/function_call_history.exp: Update
18839 * gdb.btrace/instruction_history.exp: Update.
18840
6d78d93b
MM
188412014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18842
18843 * gdb.btrace/enable.exp: Update expected text.
18844
93a360cc
OJ
188452014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
18846
18847 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
18848 bytes.
18849
3772b53f
MR
188502014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
18851
18852 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
18853
596662fa
OJ
188542014-01-15 Omair Javaid <omair.javaid@linaro.org>
18855
18856 * lib/gdb.exp (supports_process_record): Return true for
18857 arm*-linux*. (supports_reverse): Likewise.
18858
b5b08fb4
SC
188592014-01-13 Siva Chandra Reddy <sivachandra@google.com>
18860
18861 PR python/15464
18862 PR python/16113
18863 * gdb.python/py-type.c: Enhance test case.
18864 * gdb.python/py-value-cc.cc: Likewise
18865 * gdb.python/py-type.exp: Add new tests.
18866 * gdb.python/py-value-cc.exp: Likewise
18867
52d7fb13
AA
188682014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
18869 Pedro Alves <palves@redhat.com>
18870
18871 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
18872 Make "name" extern.
18873 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
18874 references to ${name}_start by references to ${name}.
18875
a2cd8cfe
JB
188762014-01-10 Joel Brobecker <brobecker@adacore.com>
18877
18878 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
18879
4e23fced
JB
188802014-01-10 Joel Brobecker <brobecker@adacore.com>
18881
18882 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
18883
c6a9e42c
PA
188842014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
18885 Pedro Alves <palves@redhat.com>
18886
18887 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 18888 mi_gdb_target_load.
c6a9e42c 18889
b7ea362b
PA
188902014-01-08 Pedro Alves <palves@redhat.com>
18891
18892 * gdb.threads/reconnect-signal.c: New file.
18893 * gdb.threads/reconnect-signal.exp: New file.
18894
5e3f4fab
EBM
188952014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
18896
18897 * gdb.base/source-dir.exp: New file.
18898
79301218
JB
188992014-01-07 Joel Brobecker <brobecker@adacore.com>
18900
18901 * gdb.ada/mi_interface: New testcase.
18902
8e355c5d
JB
189032014-01-07 Joel Brobecker <brobecker@adacore.com>
18904
18905 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
18906 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
18907 gdb.ada/pp-rec-component/pck.ads: New files.
18908
c0d48811
JB
189092014-01-07 Joel Brobecker <brobecker@adacore.com>
18910
18911 * gdb.python/py-pp-integral.c: New file.
18912 * gdb.python/py-pp-integral.py: New file.
18913 * gdb.python/py-pp-integral.exp: New file.
18914
17b609c3 18915For older changes see ChangeLog-1993-2013.
c906108c 18916\f
8d8cb839
EZ
18917;; Local Variables:
18918;; mode: change-log
18919;; left-margin: 8
18920;; fill-column: 74
18921;; version-control: never
18922;; End:
902f2ccb 18923
b811d2c2 18924 Copyright 2014-2020 Free Software Foundation, Inc.
902f2ccb
MC
18925 Copying and distribution of this file, with or without modification,
18926 are permitted provided the copyright notice and this notice are preserved.