]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
[gdb/testsuite] Avoid breakpoint in GLIBC in gdb.threads/execl.exp
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
14e9c72c
TV
12020-03-12 Tom de Vries <tdevries@suse.de>
2
3 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
4
e515d67e
TV
52020-03-12 Tom de Vries <tdevries@suse.de>
6
7 * gdb.fortran/module.exp: Use exp_continue during matching of output
8 of "info variable -n".
9
307eafd8
TV
102020-03-12 Tom de Vries <tdevries@suse.de>
11
12 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
13 gdb.dwarf2/dw2-ranges-base.c.
14
9a2de3fc
TV
152020-03-12 Tom de Vries <tdevries@suse.de>
16
17 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
18 in presence of GLIBC debuginfo.
19
3217502e
TV
202020-03-12 Tom de Vries <tdevries@suse.de>
21
22 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
23 $core.
24
1281424c
TV
252020-03-12 Tom de Vries <tdevries@suse.de>
26
27 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
28 more precise.
29
038b97fc
SM
302020-03-11 Simon Marchi <simon.marchi@efficios.com>
31
32 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
33 from Unix to Windows path.
34
5308d1e7
TV
352020-03-11 Tom de Vries <tdevries@suse.de>
36
37 * gdb.ada/minsyms.exp: Set language to ada.
38
f870f78f
TV
392020-03-11 Tom de Vries <tdevries@suse.de>
40
41 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
42
5a13315d
TV
432020-03-11 Tom de Vries <tdevries@suse.de>
44
45 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
46
976862ed
TT
472020-03-11 Tom Tromey <tromey@adacore.com>
48
49 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
50
7462c383
TV
512020-03-11 Tom de Vries <tdevries@suse.de>
52
53 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
54
1c6c46a0
TV
552020-03-11 Tom de Vries <tdevries@suse.de>
56
57 * gdb.base/break-interp.exp: Limit verbose scope.
58
44f41bb7
TV
592020-03-11 Tom de Vries <tdevries@suse.de>
60
61 * gdb.fortran/logical.f90: Define variable with character type.
62 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
63
b76f3a42
TV
642020-03-11 Tom de Vries <tdevries@suse.de>
65
66 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
67
1c33af77
TV
682020-03-11 Tom de Vries <tdevries@suse.de>
69
70 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
71 symtabs.
72
8c95582d
AB
732020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
74 Bernd Edlinger <bernd.edlinger@hotmail.de>
75
76 * gdb.cp/step-and-next-inline.cc: New file.
77 * gdb.cp/step-and-next-inline.exp: New file.
78 * gdb.cp/step-and-next-inline.h: New file.
79 * gdb.dwarf2/dw2-is-stmt.c: New file.
80 * gdb.dwarf2/dw2-is-stmt.exp: New file.
81 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
82 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
83 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
84
cecf8547
AB
852020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
86
87 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
88 is-stmt flag in the line table.
89
0ba678c9
TV
902020-03-09 Tom de Vries <tdevries@suse.de>
91
92 * lib/gdb.exp (cached_file): Create cache dir.
93
72fbdf83
TV
942020-03-07 Tom de Vries <tdevries@suse.de>
95
96 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
97 * gdb.cp/rvalue-ref-params.exp: Same.
98
436b5e99
TV
992020-03-06 Tom de Vries <tdevries@suse.de>
100
101 * lib/gdb.exp (tentative_rename, cached_file): New proc.
102 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
103
09f2921c
TV
1042020-03-06 Tom de Vries <tdevries@suse.de>
105
106 * README: Fix "the the".
107 * gdb.base/dprintf.exp: Same.
108
50a3cc5d
TV
1092020-03-05 Tom de Vries <tdevries@suse.de>
110
111 * gdb.base/maint.exp: Update "main print statistics" expected output.
112
0a709cba
AKS
1132020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
114
115 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
116 (fortran_int8): Likewise.
117 (fortran_real4): Likewise.
118 (fortran_real8): Likewise.
119 (fortran_complex4): Likewise.
120 (fortran_logical4): Likewise.
121 (fortran_character1): Likewise.
122
5e5d66b6
AB
1232020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
124
125 * gdb.fortran/logical.exp: Add tests that any non-zero value is
126 printed as true.
127
7b973adc
SDJ
1282020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
129
130 * gdb.base/printcmds.exp: Add test to verify printf of a
131 variable holding an address.
132
478e490a
TV
1332020-03-03 Tom de Vries <tdevries@suse.de>
134
135 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
136
1ef44e86
TV
1372020-03-03 Tom de Vries <tdevries@suse.de>
138
139 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
140 gdb_test_multiple call.
141
b98cc2cf
TV
1422020-03-03 Tom de Vries <tdevries@suse.de>
143
144 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
145 gdb_test_multiple calls.
146
63e163f2
AB
1472020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
148
149 * gdb.base/default.exp: Remove test of 'set history filename'.
150 * gdb.base/gdbinit-history.exp: Add tests for setting the history
151 filename to the empty string.
152 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
153 and GDBHISTSIZE.
154
24ed6739
AB
1552020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
156
157 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
158 disabled.
159
590003dc
TV
1602020-03-02 Pedro Alves <palves@redhat.com>
161 Tom de Vries <tdevries@suse.de>
162
163 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
164 -prompt prefix, before user_code argument. Add -lbl option likewise.
165 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
166 (gdb_is_target_1): Add -prompt prefix and move to before user_code
167 argument.
168 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
169 have "\r\n" at start-of-line, instead of at end-of-line.
170
f5e46084
SM
1712020-02-28 Simon Marchi <simon.marchi@efficios.com>
172
173 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
174 libinproctrace.so.
175
f7a7000d
LM
1762020-02-28 Luis Machado <luis.machado@linaro.org>
177
178 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
179 to "p/x".
180
718e0816
LM
1812020-02-28 Luis Machado <luis.machado@linaro.org>
182
183 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
184 asm/ptrace.h and error.h.
185
13c3a74a
TV
1862020-02-28 Tom de Vries <tdevries@suse.de>
187
188 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
189 (struct wrapper, do_something, mundane/symada__cS): Move ...
190 * gdb.base/c-linkage-name-2.c: ... here. New source file.
191 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
192 Update "print symada__cS before partial symtab expansion" regexp.
193 Update breakpoint location. Flush symbol cache after expansion.
194
85d2d5bb
LM
1952020-02-28 Luis Machado <luis.machado@linaro.org>
196
197 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
198
3608f86c
TV
1992020-02-27 Tom de Vries <tdevries@suse.de>
200
201 * config/sid.exp: Remove unused globals.
202 * gdb.base/attach.exp: Same.
203 * gdb.base/catch-load.exp: Same.
204 * gdb.base/dbx.exp: Same.
205 * lib/gdb.exp: Same.
206 * lib/mi-support.exp: Same.
207 * lib/prompt.exp: Same.
208
c8d4f6df
TV
2092020-02-27 Tom de Vries <tdevries@suse.de>
210
211 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
212 not set.
213
0d79cdc4
AM
2142020-02-26 Aaron Merey <amerey@redhat.com>
215
216 * gdb.debuginfod: New directory for debuginfod tests.
217 * gdb.debuginfod/main.c: New test file.
218 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
219
0dce4280
TV
2202020-02-26 Tom de Vries <tdevries@suse.de>
221
222 PR gdb/25603
223 * gdb.base/persistent-lang.cc: New test.
224 * gdb.base/persistent-lang.exp: New file.
225
9e80cfa1
AB
2262020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
227
228 * gdb.fortran/derived-type-striding.exp: Add a new test.
229 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
230 new test.
231
2078dbb2
AB
2322020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
233
234 * gdb.base/cached-source-file.exp: Avoid source file paths in test
235 names.
236
70d49700
TV
2372020-02-25 Tom de Vries <tdevries@suse.de>
238
239 PR go/18926
240 * gdb.go/methods.exp: Remove gcc/93866 xfail.
241
a88ef40d
TV
2422020-02-24 Tom de Vries <tdevries@suse.de>
243
244 PR gdb/25592
245 * gdb.base/info-locals-unused-static-var.c: New test.
246 * gdb.base/info-locals-unused-static-var.exp: New file.
247
01b1af32
TT
2482020-02-22 Tom Tromey <tom@tromey.com>
249
250 * gdb.python/tui-window.exp: New file.
251 * gdb.python/tui-window.py: New file.
252
7c043ba6
TT
2532020-02-22 Tom Tromey <tom@tromey.com>
254
255 PR tui/17850:
256 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
257 tests.
258
c22fef7e
TT
2592020-02-22 Tom Tromey <tom@tromey.com>
260
261 * gdb.tui/new-layout.exp: Add sub-layout tests.
262
ee325b61
TT
2632020-02-22 Tom Tromey <tom@tromey.com>
264
265 * gdb.tui/new-layout.exp: New file.
266
3f0cbb04
TT
2672020-02-22 Tom Tromey <tom@tromey.com>
268
269 * gdb.rust/rust-style.rs: New file.
270 * gdb.rust/rust-style.exp: New file.
271 * gdb.base/style.exp: Test structure printing.
272 * gdb.base/style.c (struct some_struct): New type.
273 (enum etype): New type.
274 (struct_value): New global.
275
75525152
TV
2762020-02-21 Tom de Vries <tdevries@suse.de>
277
278 PR go/18926
279 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
280 Remove blanket xfails. Use message argument for gdb_breakpoint.
281 Make continuing to breakpoint test conditional on setting breakpoint.
282 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
283 DW_AT_name attribute. Add xfail for GCC PR93866.
284
bd360d30
AB
2852020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
286
287 * gdb.dwarf2/cpp-linkage-name.c: New file.
288 * gdb.dwarf2/cpp-linkage-name.exp: New file.
289
c7adb09f 2902020-02-21 Shahab Vahedi <shahab@synopsys.com>
24ac169a
SV
291
292 * lib/gdb.exp (gdb_wrapper_init): Reset
293 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
294 not exist.
295
a9c79803
TV
2962020-02-20 Tom de Vries <tdevries@suse.de>
297
298 PR go/17018
299 * gdb.go/hello.exp: Copy ...
300 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
301 print of st to print value of global definition. Add xfail for GCC
302 PR93844.
303 * gdb.go/hello.exp: Remove printing of st before definition.
304 * gdb.go/hello.go: Copy ...
305 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
306 to st.
307 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
308
d7445728
TV
3092020-02-20 Tom de Vries <tdevries@suse.de>
310
311 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
312 (gdb_simple_compile): Handle compile_flags go by using .go extension
313 for source file.
314 * gdb.go/chan.exp: Use support_go_compile.
315 * gdb.go/handcall.exp: Same.
316 * gdb.go/hello.exp: Same.
317 * gdb.go/integers.exp: Same.
318 * gdb.go/max-depth.exp: Same.
319 * gdb.go/methods.exp: Same.
320 * gdb.go/package.exp: Same.
321 * gdb.go/strings.exp: Same.
322 * gdb.go/types.exp: Same.
323 * gdb.go/unsafe.exp: Same.
324
c9c41e6d
TV
3252020-02-19 Tom de Vries <tdevries@suse.de>
326
327 * gdb.python/lib-types.exp: Make xfail more strict.
328
f20ff837
TV
3292020-02-19 Tom de Vries <tdevries@suse.de>
330
331 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
332
08410482
DE
3332020-02-19 Doug Evans <dje@google.com>
334
335 PR rust/25535
336 * gdb.rust/simple.exp: Add test.
337 * gdb.rust/simple.rs: Add test.
338
623563f7
TV
3392020-02-19 Tom de Vries <tdevries@suse.de>
340
341 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
342 output line-by-line.
343
d3308cfd
TV
3442020-02-19 Tom de Vries <tdevries@suse.de>
345
346 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
347
86cbc5dc
TV
3482020-02-19 Tom de Vries <tdevries@suse.de>
349
350 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
351 prelink.
352
9db2b96b
TV
3532020-02-19 Tom de Vries <tdevries@suse.de>
354
355 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
356 (gdb_do_cache): Use gdb_do_cache_wrap.
357 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
358
89e2fdc5
TV
3592020-02-19 Tom de Vries <tdevries@suse.de>
360
361 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
362 gdb_compile option.
363
373d7ac0
SM
3642020-02-18 Simon Marchi <simon.marchi@efficios.com>
365
366 * gdb.base/printcmds.exp (test_print_enums): Update expected
367 output.
368
b29a2df0
SM
3692020-02-18 Simon Marchi <simon.marchi@efficios.com>
370
371 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
372 for "unknown".
373
6740f0cc
SM
3742020-02-18 Simon Marchi <simon.marchi@efficios.com>
375
376 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
377 enumerator.
378
edd45eb0
SM
3792020-02-18 Simon Marchi <simon.marchi@efficios.com>
380
381 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
382 FE_, add FE_NONE.
383 (three): Update.
384 (enum flag_enum_without_zero): New enum.
385 (flag_enum_without_zero): New variable.
386 (enum not_flag_enum): New enum.
387 (three_not_flag): New variable.
388 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
389 (test_print_enums): Add more tests for printing flag enums.
390
d4295de4
TV
3912020-02-18 Tom de Vries <tdevries@suse.de>
392
393 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
394 (gdb_compile_ada): ... here.
395 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
396 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
397
f251f505
TT
3982020-02-14 Tom Tromey <tom@tromey.com>
399
400 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
401 build directory.
402 * boards/gdbserver-base.exp: Update path to gdbserver.
403
8f432634
TV
4042020-02-13 Tom de Vries <tdevries@suse.de>
405
406 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
407
92b6eaf7
TV
4082020-02-13 Tom de Vries <tdevries@suse.de>
409
410 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
411 are missing.
412
f3b0f7fe
TV
4132020-02-13 Tom de Vries <tdevries@suse.de>
414
415 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
416 call.
417
f6be8713
SDJ
4182020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
419
420 PR tui/25126
421 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
422 * gdb.base/cached-source-file.c: New file.
423 * gdb.base/cached-source-file.exp: New file.
424
b2770d5e
TV
4252020-02-11 Tom de Vries <tdevries@suse.de>
426
427 PR testsuite/25488
428 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
429
44f6938e
TV
4302020-02-10 Tom de Vries <tdevries@suse.de>
431
432 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
433
5f0e2eb7
MR
4342020-02-10 Maciej W. Rozycki <macro@wdc.com>
435
436 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
437 and $after_addr are both integers before making a comparison.
438
46ce2b6f
TV
4392020-02-09 Tom de Vries <tdevries@suse.de>
440
441 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
442 command output and paste it into gdb.log. If any, paste catch message
443 to gdb.log.
444
5abbbe1d
TT
4452020-02-07 Tom Tromey <tromey@adacore.com>
446
447 PR breakpoints/24915:
448 * gdb.base/annotate-symlink.exp: Use setup_xfail.
449
1d5d29e7
SV
4502020-02-06 Shahab Vahedi <shahab@synopsys.com>
451
452 * gdb.tui/tui-missing-src.exp: Add the "missing source
453 file" test for the TUI.
454
b0999b9b
AB
4552020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
456
457 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
458 including a port number in the output.
459
c3b149eb
AKS
4602020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
461
462 * lib/fortran.exp (fortran_int4): Handle clang.
463 (fortran_int8): Likewise.
464 (fortran_real4): Likewise.
465 (fortran_real8): Likewise.
466 (fortran_complex4): Likewise.
467 (fortran_logical4): Likewise.
468 (fortran_character1): Likewise.
469
f8dcc90b
TV
4702020-02-04 Tom de Vries <tdevries@suse.de>
471
472 * README (Race detection): Add note.
473
f90ac7c2
TV
4742020-02-04 Tom de Vries <tdevries@suse.de>
475
476 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
477
780636ae
TV
4782020-02-04 Tom de Vries <tdevries@suse.de>
479
480 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
481
5d2e1193
RA
4822020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
483
484 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
485 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
486 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
487 blttar, bnetarl.
488 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
489 binary for blttar, bnetarl.
490 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
491 wait instruction. Delete ldmx test.
492 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
493
e409c542
AKS
4942020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
495
496 * gdb.fortran/array-bounds-high.exp: New file.
497 * gdb.fortran/array-bounds-high.f90: New file.
498
b0029748
LD
4992020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
500
501 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
502 Replace #include of <sys/fcntl.h> by <fcntl.h>.
503
195a8287
TV
5042020-02-01 Tom de Vries <tdevries@suse.de>
505
506 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
507
42330a68
AB
5082020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
509
510 PR tui/9765
511 * gdb.tui/tui-layout-asm-short-prog.S: New file.
512 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
513
b62a8028
LM
5142020-01-29 Luis Machado <luis.machado@linaro.org>
515
516 * gdb.arch/aarch64-brk-patterns.c: New source file.
517 * gdb.arch/aarch64-brk-patterns.exp: New test.
518
5f440116
TBA
5192020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
520
521 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
522 GCC/Clang version.
523 * gdb.cp/pass-by-ref.exp: Ditto.
524
ee2a6fc6
TV
5252020-01-29 Tom de Vries <tdevries@suse.de>
526
527 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
528 * gdb.threads/watchpoint-fork-mt.c: Same.
529 * gdb.threads/watchpoint-fork-parent.c: Same.
530 * gdb.threads/watchpoint-fork-st.c: Same.
531 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
532
16b10d6e
LM
5332020-01-27 Luis Machado <luis.machado@linaro.org>
534
535 * gdb.base/step-over-syscall.exp (setup): Check if we're already
536 sitting at a syscall instruction when we hit the syscall function's
537 breakpoint.
538 Check PC against one obtained with the x command.
539 Validate syscall number.
540 (step_over_syscall): Don't continue to the syscall instruction if
541 we're already there.
542
b1468492
PW
5432020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
544
545 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
546
7ffa82e1
AB
5472020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
548
549 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
550 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
551
3d92a3e3
AB
5522020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
553
554 * gdb.dwarf2/dw2-inline-stepping.c: New file.
555 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
556
94a72be7
AB
5572020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
558
559 * gdb.base/maint.exp: Update line table parsing test.
560 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
561
53af73bf
PA
5622020-01-24 Pedro Alves <palves@redhat.com>
563
564 PR gdb/25410
565 * gdb.multi/multi-re-run-1.c: New.
566 * gdb.multi/multi-re-run-2.c: New.
567 * gdb.multi/multi-re-run.exp: New.
568
1ba1ac88
AB
5692020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
570
571 PR gdb/23718
572 * gdb.server/server-kill-python.exp: New file.
573
f3364a6d
AB
5742020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
575
576 * gdb.server/multi-ui-errors.c: New file.
577 * gdb.server/multi-ui-errors.exp: New file.
578
733d0a67
AB
5792020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
580
581 PR tui/9765
582 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
583
4f13c1c0
TT
5842020-01-19 Tom Tromey <tom@tromey.com>
585
586 * gdb.tui/main.exp: Add check for plain "file".
587
40c94099
CB
5882020-01-16 Christian Biesinger <cbiesinger@google.com>
589
590 * lib/gdb.exp: Fix spelling error (seperatelly).
591
ff47f4f0
TT
5922020-01-14 Tom Tromey <tom@tromey.com>
593
594 PR symtab/12535:
595 * gdb.python/python.exp: Test decode_line with empty string
596 argument.
597
717c684d
BE
5982020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
599
600 * gdb.base/skip-inline.exp: Extend test.
601
44e4c775
AB
6022020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
603
604 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
605 * gdb.dwarf2/dw2-bad-elf.c: New file.
606 * gdb.dwarf2/dw2-bad-elf.exp: New file.
607
d93c6db7
AB
6082020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
609
610 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
611 _line_saw_file.
612
9a6d629c
AB
6132020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
614
615 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
616 border.
617
d9ebdab7
TBA
6182020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
619
620 * gdb.multi/multi-target.exp (setup): Factor out "info
621 connections" and "info inferiors" tests to ...
622 (test_info_inferiors): ... this new procedure.
623 (top level): Run new "info-inferiors" tests.
624
f3c469b9
PA
6252020-01-10 Pedro Alves <palves@redhat.com>
626
627 * gdb.server/bkpt-other-inferior.exp: New file.
628
121b3efd
PA
6292020-01-10 Pedro Alves <palves@redhat.com>
630
631 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
632 of "add-inferior".
633 * gdb.base/quit-live.exp: Likewise.
634 * gdb.base/remote-exec-file.exp: Likewise.
635 * gdb.guile/scm-progspace.exp: Likewise.
636 * gdb.linespec/linespec.exp: Likewise.
637 * gdb.mi/new-ui-mi-sync.exp: Likewise.
638 * gdb.mi/user-selected-context-sync.exp: Likewise.
639 * gdb.multi/multi-target.exp (setup): Add "info connection" and
640 "info inferiors" tests.
641 * gdb.multi/remove-inferiors.exp: Adjust expected output of
642 "add-inferior".
643 * gdb.multi/watchpoint-multi.exp: Likewise.
644 * gdb.python/py-inferior.exp: Likewise.
645 * gdb.server/extended-remote-restart.exp: Likewise.
646 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
647 "info inferiors".
648 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
649 * gdb.trace/report.exp: Likewise.
650
1dadb1dd
PA
6512020-01-10 Pedro Alves <palves@redhat.com>
652
653 * gdb.multi/multi-target.c: New file.
654 * gdb.multi/multi-target.exp: New file.
655 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
656 mode requested, but remote does not support non-stop".
657
78f2c40a
PA
6582020-01-10 Pedro Alves <palves@redhat.com>
659
660 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
661 disconnect before reconnecting.
662
e7af6c70
TBA
6632020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
664 Pedro Alves <palves@redhat.com>
665
666 * gdb.server/connect-without-multi-process.exp: Also test
667 continuing to end.
668
acdf84a6
PA
6692020-01-10 Pedro Alves <palves@redhat.com>
670
671 * gdb.base/remote-exec-file.exp: New file.
672
873657b9
PA
6732020-01-10 Pedro Alves <palves@redhat.com>
674
675 * gdb.base/fork-running-state.exp (do_test): Adjust expected
676 output.
677 * gdb.threads/async.c: New.
678 * gdb.threads/async.exp: New.
679 * gdb.multi/tids-gid-reset.c: New.
680 * gdb.multi/tids-gid-reset.exp: New.
681
7f0ae84c
GB
6822020-01-10 George Barrett <bob@bob131.so>
683
684 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
685 to help in finding the image relocation offset.
686 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
687 options in arguments.
688 (stap_test_no_debuginfo): Likewise.
689 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
690 test variants.
691 (stap_test): Add null semaphore relocation test.
692
47e9d49d
GB
6932020-01-10 George Barrett <bob@bob131.so>
694
695 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
696 * gdb.base/stap-probe.exp: Likewise.
697 (stap_test): Pass argument as an additional flag.
698 (stap_test_no_debuginfo): Likewise.
699 (stap_test): Check `info probes stap' output for semaphore
700 addresses if the test binary is supposed to have them.
701
f5a7c406
AB
7022020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
703
704 * gdb.tui/basic.exp: Add more scrolling tests.
705
9ae6bf64
TT
7062020-01-09 Tom Tromey <tom@tromey.com>
707
708 PR tui/18932:
709 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
710 meangingful value.
711 (Term::command, Term::resize): Update.
712 * gdb.tui/basic.exp: Add scrolling test.
713
b2efe70c
AB
7142020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
715
716 * gdb.tui/tui-layout-asm.exp: New file.
717
3804da7e
AB
7182020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
719
720 * lib/tuiterm.exp (Term::check_box_contents): New proc.
721
b40aa28f
AB
7222020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
723
724 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
725 (Term::enter_tui): Use Term::prepare_for_tui.
726
63ffd7c9
AB
7272020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
728
729 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
730 called.
731
3be966f6
AB
7322020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
733
734 * gdb.base/skip.exp: Fix race condition in test.
735
153d79c4
AB
7362020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
737
738 * gdb.base/backtrace.c: New file.
739 * gdb.base/backtrace.exp: New file.
740
f2302a34
AB
7412020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
742
743 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
744
6ec1d75e
PW
7452020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
746
747 * gdb.base/style.exp: Test that warnings are styled.
748
c296cbe6
BE
7492019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
750
751 * gdb.base/line65535.exp: New file.
752 * gdb.base/line65535.c: New file.
753
b28a729d
SM
7542019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
755
756 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
757 * lib/gnat_debug_info_test.adb: New file.
758 * gdb.ada/ptype_tagged_param.exp: Use
759 gnat_runtime_has_debug_info, expect a different output if
760 runtime does not have debug info.
761
7f2d7a0d
SM
7622019-12-20 Simon Marchi <simon.marchi@efficios.com>
763
764 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
765 (another) quote in test name.
766
f3bce483
SM
7672019-12-20 Simon Marchi <simon.marchi@efficios.com>
768
769 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
770 Add quote in test name.
771
c855a912
TBA
7722019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
773
774 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
775 directory instead.
776 * gdb.cp/pass-by-ref.exp: Extend with more cases.
777 * gdb.cp/pass-by-ref-2.cc: New file.
778 * gdb.cp/pass-by-ref-2.exp: New file.
779
fc9d2d72
TT
7802019-12-20 Tom Tromey <tom@tromey.com>
781
782 * gdb.tui/list-before.exp: New file.
783
77b97e00
TT
7842019-12-20 Tom Tromey <tom@tromey.com>
785
786 * gdb.tui/list.exp: Check for source on initial listing.
787
f69656d0
TT
7882019-12-11 Tom Tromey <tromey@adacore.com>
789
790 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
791 Add crlf test.
792
99a55965
SM
7932019-12-18 Simon Marchi <simon.marchi@efficios.com>
794
795 * gdb.base/default.exp: Update value of $_gdb_major.
796
5024637f
BE
7972019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
798
799 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
800
b63634be
BE
8012019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
802
803 * gdb.base/skip.exp: Whitespace fix.
804
45d73523
BE
8052019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
806
807 * gdb.base/skip-inline.c: New file.
808 * gdb.base/skip-inline.exp: New file.
809
d043f8c8
SM
8102019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
811
812 * gdb.base/jit-reader.exp (jit_reader_test): Rename
813 jit_function_00 to jit_function_stack_mangle.
814 * gdb.base/jithost.c (jit_function_t): Rename to...
815 (jit_function_stack_mangle_t): ... this.
816 (jit_function_add_t): New typedef.
817 (jit_function_00_code): Rename to...
818 (jit_function_stack_mangle_code): ... this, make static.
819 (jit_function_add_code): New.
820 (main): Generate "add" function and call it. Adjust to changes
821 in jithost_abi.
822 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
823 (struct jithost_abi) <begin, end>: Remove fields.
824 <object, function_stack_mangle, function_add>: New fields.
825 * gdb.base/jitreader.c (struct reader_state) <code_begin,
826 code_end>: Remove fields.
827 <func_stack_mangle>: New field.
828 (read_debug_info): Adjust to renaming, create block for "add"
829 function.
830 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
831
873de05c
TT
8322019-12-11 Tom Tromey <tom@tromey.com>
833
834 * gdb.tui/resize.exp: Fix regexp.
835 * gdb.tui/regs.exp: Fix regexps.
836 * gdb.tui/main.exp: Fix regexp.
837
3d979945
TT
8382019-12-11 Tom Tromey <tom@tromey.com>
839
840 * gdb.tui/resize.exp: Update.
841 * gdb.tui/empty.exp (layouts): Update.
842
2192a9d3
TT
8432019-12-11 Tom Tromey <tom@tromey.com>
844
845 * gdb.tui/regs.exp: Update.
846 * gdb.tui/empty.exp (layouts): Update.
847 * gdb.tui/basic.exp: Update.
848 * lib/tuiterm.exp (_check_box): Don't check bottom border.
849
d8edc8b7
PW
8502019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
851
852 * gdb.base/options.exp: Add -raw-values in the print completion list.
853 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
854
4c12d936
KB
8552019-12-10 Kevin Buettner <kevinb@redhat.com>
856
857 * gdb.threads/omp-par-scope.c: New file.
858 * gdb/threads/omp-par-scope.exp: New file.
859
26b911fb
KB
8602019-12-10 Kevin Buettner <kevinb@redhat.com>
861
bb47f919
KB
862 * lib/gdb.exp (support_nested_function_tests): New proc.
863
8642019-12-10 Kevin Buettner <kevinb@redhat.com>
865
866 * lib/gdb.exp (gdb_compile_openmp): New proc.
867 (build_executable_from_specs): Add an "openmp" option.
868 (gdb_compile_pthreads): Add non-executable case.
26b911fb 869
6c71eb7d
TT
8702019-12-10 Tom Tromey <tromey@adacore.com>
871
872 * gdb.ada/unchecked_union.exp: New file.
873 * gdb.ada/unchecked_union/pck.adb: New file.
874 * gdb.ada/unchecked_union/pck.ads: New file.
875 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
876 * gdb-utils.exp (string_to_regexp): Also quote "?".
877
bac7c5cf
GB
8782019-12-10 George Barrett <bob@bob131.so>
879
880 Test scripted probe breakpoints.
881 * gdb.guile/scm-breakpoint.c (main): Add probe point.
882 * gdb.python/py-breakpoint.c (main): Likewise.
883 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
884 specifier test.
885 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
886
330f1d38
TBA
8872019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
888
889 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
890 an rvalue parameter.
891 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
892 parameter.
893
b43315e2
AB
8942019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
895
896 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
897 modules.
898
54f73dad
AB
8992019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
900
901 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
902 broken version of GCC.
903
d57cbee9
AB
9042019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
905
906 * gdb.fortran/info-modules.exp: Rewrite to make use of new
907 sym-info-cmds library.
908 * gdb.fortran/info-types.exp: Likewise.
909 * lib/sym-info-cmds.exp: New file.
910
c14aab8c
TV
9112019-12-08 Tom de Vries <tdevries@suse.de>
912
913 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
914
aa2d5a42
KS
9152019-12-07 Keith Seitz <keiths@redhat.com>
916
917 * gdb.base/corefile-buildid-shlib-shr.c: New file.
918 * gdb.base/corefile-buildid-shlib.c: New file.
919 * gdb.base/corefile-buildid.c: New file.
920 * gdb.base/corefile-buildid.exp: New file.
921
93e55f0a
TV
9222019-12-06 Tom de Vries <tdevries@suse.de>
923
924 * gdb.dwarf2/varval.exp: Add decl before def test.
925
c7d12402
TBA
9262019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
927
928 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
929
06acc08f
TBA
9302019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
931
932 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
933 CV and reference conversion for overload resolution.
934 * gdb.cp/rvalue-ref-overload.exp: Test it.
935
e0fad1ea
PW
9362019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
937
938 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
939 * gdb.base/frameapply.exp: Test faas without command.
940
8d70a9f0
AB
9412019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
942
943 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
944 Fortran tests.
945 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
946 order.
947
36c8fb93
AB
9482019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
949
950 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
951 casting to type with no kind specified.
952 (test_basic_parsing_of_type_kinds): Additional tests for types
953 with no kind specified, and add tests for single/double
954 precision/complex types.
955
4139ff00
TT
9562019-12-04 Tom Tromey <tromey@adacore.com>
957
958 * gdb.base/endianity.c (struct other) <x>: New field.
959 (main): Initialize it.
960 * gdb.base/endianity.exp: Update.
961
a05cf17a
TT
9622019-12-04 Tom Tromey <tromey@adacore.com>
963
964 * gdb.ada/scalar_storage/storage.adb: New file.
965 * gdb.ada/scalar_storage/pck.adb: New file.
966 * gdb.ada/scalar_storage/pck.ads: New file.
967 * gdb.ada/scalar_storage.exp: New file.
968
103a685e
TT
9692019-12-04 Tom Tromey <tromey@adacore.com>
970
971 * gdb.base/endianity.c (struct otherendian) <f>: New field.
972 (main): Initialize it.
973 * gdb.base/endianity.exp: Update.
974
c2512106
AB
9752019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
976
977 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
978
293b38d6
AB
9792019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
980
981 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
982 -symbol-info-module-functions and -symbol-info-module-variables.
983
216a7e6b
AB
9842019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
985
986 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
987
5bbd8269
AB
9882019-12-01 Richard Bunt <richard.bunt@arm.com>
989 Andrew Burgess <andrew.burgess@embecosm.com>
990
991 * gdb.fortran/derived-type-striding.exp: New file.
992 * gdb.fortran/derived-type-striding.f90: New file.
993 * gdb.fortran/array-slices.exp: New file.
994 * gdb.fortran/array-slices.f90: New file.
995
be09caf1
PW
9962019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
997
998 * gdb.base/define.exp: Test . in command names.
999 * gdb.base/setshow.exp: Update test, as . is now part of
1000 command name.
1001
643c0cbe
PW
10022019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1003
1004 * gdb.base/define-prefix.exp: New file.
1005
dcdec678
AB
10062019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
1007
1008 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
1009 compile.
1010 (skip_btrace_pt_tests): Likewise.
1011
640ab947
AB
10122019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
1013
1014 * gdb.fortran/info-modules.exp: Compile source files in correct
1015 order.
1016
d22670f0
KB
10172019-11-27 Kevin Buettner <kevinb@redhat.com>
1018
1019 * gdb.dwarf2/imported-unit.exp: New file.
1020 * gdb.dwarf2/imported-unit.c: New file.
1021
db5960b4
AB
10222019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
1023
1024 * gdb.mi/mi-fortran-modules-2.f90: New file.
1025 * gdb.mi/mi-fortran-modules.exp: New file.
1026 * gdb.mi/mi-fortran-modules.f90: New file.
1027
7dc42066
AB
10282019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
1029
1030 * gdb.mi/mi-sym-info-1.c: New file.
1031 * gdb.mi/mi-sym-info-2.c: New file.
1032 * gdb.mi/mi-sym-info.exp: New file.
1033
0dfeecca
TT
10342019-11-22 Tom Tromey <tromey@adacore.com>
1035
1036 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
1037 * gdb.ada/tasks/foo.adb: Add another stopping location.
1038
34877895
PJ
10392019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
1040
1041 * gdb.base/endianity.c: New test.
1042 * gdb.base/endianity.exp: New file.
1043
2e84f897
LD
10442019-11-21 Lukas Durfina <ldurfina@tachyum.com>
1045
1046 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
1047
65d1cd5f
TV
10482019-11-21 Tom de Vries <tdevries@suse.de>
1049
1050 PR gdb/24956
1051 * gdb.base/ui-redirect.exp: Test output of user-defined command.
1052
4f22c3f4
SDJ
10532019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
1054
1055 * gdb.python/py-progspace.exp: Add missing parentheses on some
1056 'print' commands.
1057
9f6ad286
TT
10582019-11-19 Tom Tromey <tom@tromey.com>
1059
1060 * gdb.tui/winheight.exp: New file.
1061
0b8dbf3f
AB
10622019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1063
1064 * gdb.base/ctf-whatis.c: Delete.
1065 * gdb.base/ctf-whatis.exp: Delete.
1066 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
1067
f833b7a7
AB
10682019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1069
1070 * gdb.base/ctf-cvexpr.exp: Delete.
1071 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
1072
30d0a636
AB
10732019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1074
1075 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
1076 the compiler. Clean up header comment a little.
1077 * gdb.base/ctf-ptype.exp: Likewise.
1078 * gdb.base/ctf-whatis.exp: Likewise.
1079 * lib/gdb.exp (skip_ctf_tests): New proc.
1080
494409bb
SDJ
10812019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
1082
1083 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
1084 * gdb.tui/corefile-run.exp: New file.
1085
55708e99
TT
10862019-11-14 Tom Tromey <tromey@adacore.com>
1087
1088 * gdb.base/gdbvars.exp (test_convenience_variables): Add
1089 regression tests.
1090
45e42163
TT
10912019-11-12 Tom Tromey <tom@tromey.com>
1092
1093 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
1094 after any command. Expect prompt after WAIT_FOR is seen.
1095 (enter_tui): Enable resize messages.
1096 (command): Expect command in output.
1097 (get_line): Avoid error when cursor appears to be off-screen.
1098 (dump_screen): Include screen size in title.
1099 (_do_resize): New proc, from "resize".
1100 (resize): Rewrite. Do resize in two steps.
1101 * gdb.tui/empty.exp (layouts): Fix entries.
1102 (check_boxes): Remove xfail.
1103 (check_text): Dump screen on failure.
1104
086baaf1
AB
11052019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
1106
1107 * gdb.python/py-symbol.exp: Add test for
1108 gdb.lookup_static_symbols.
1109
09ff83af
AB
11102019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
1111
1112 * gdb.python/py-symbol.c: Declare and call function from new
1113 py-symbol-2.c file.
1114 * gdb.python/py-symbol.exp: Compile both source files, and add new
1115 tests for gdb.lookup_static_symbol.
1116 * gdb.python/py-symbol-2.c: New file.
1117
11af934b
TV
11182019-11-02 Tom de Vries <tdevries@suse.de>
1119
1120 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
1121 * gdb.base/anon.exp: Same.
1122 * gdb.base/auto-connect-native-target.exp: Same.
1123 * gdb.base/call-ar-st.exp: Same.
1124 * gdb.base/catch-syscall.exp: Same.
1125 * gdb.base/commands.exp: Same.
1126 * gdb.base/default.exp: Same.
1127 * gdb.base/display.exp: Same.
1128 * gdb.base/float.exp: Same.
1129 * gdb.base/foll-fork.exp: Same.
1130 * gdb.base/help.exp: Same.
1131 * gdb.base/info-macros.exp: Same.
1132 * gdb.base/info-proc.exp: Same.
1133 * gdb.base/info-target.exp: Same.
1134 * gdb.base/long_long.exp: Same.
1135 * gdb.base/macscp.exp: Same.
1136 * gdb.base/memattr.exp: Same.
1137 * gdb.base/nofield.exp: Same.
1138 * gdb.base/pointers.exp: Same.
1139 * gdb.base/printcmds.exp: Same.
1140 * gdb.base/ptype.exp: Same.
1141 * gdb.base/restore.exp: Same.
1142 * gdb.base/return.exp: Same.
1143 * gdb.base/scope.exp: Same.
1144 * gdb.base/set-noassign.exp: Same.
1145 * gdb.base/setshow.exp: Same.
1146 * gdb.base/shlib-call.exp: Same.
1147 * gdb.base/signals.exp: Same.
1148 * gdb.base/sigstep.exp: Same.
1149 * gdb.base/skip.exp: Same.
1150 * gdb.base/solib-symbol.exp: Same.
1151 * gdb.base/stap-probe.exp: Same.
1152 * gdb.base/step-line.exp: Same.
1153 * gdb.base/step-test.exp: Same.
1154 * gdb.base/style.exp: Same.
1155 * gdb.base/varargs.exp: Same.
1156 * gdb.base/vla-datatypes.exp: Same.
1157 * gdb.base/vla-ptr.exp: Same.
1158 * gdb.base/vla-sideeffect.exp: Same.
1159 * gdb.base/volatile.exp: Same.
1160 * gdb.base/watch-cond-infcall.exp: Same.
1161 * gdb.base/watchpoint.exp: Same.
1162
e96ec2ba
TV
11632019-11-02 Tom de Vries <tdevries@suse.de>
1164
1165 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
1166 * gdb.cp/cpexprs.exp: Same.
1167 * gdb.cp/except-multi-location.exp: Same.
1168 * gdb.cp/exceptprint.exp: Same.
1169 * gdb.cp/gdb2384.exp: Same.
1170 * gdb.cp/inherit.exp: Same.
1171 * gdb.cp/m-static.exp: Same.
1172 * gdb.cp/meth-typedefs.exp: Same.
1173 * gdb.cp/misc.exp: Same.
1174 * gdb.cp/namespace.exp: Same.
1175 * gdb.cp/non-trivial-retval.exp: Same.
1176 * gdb.cp/overload.exp: Same.
1177 * gdb.cp/pr17132.exp: Same.
1178 * gdb.cp/re-set-overloaded.exp: Same.
1179 * gdb.cp/rvalue-ref-types.exp: Same.
1180 * gdb.cp/templates.exp: Same.
1181
bd5766ec
LM
11822019-11-01 Luis Machado <luis.machado@linaro.org>
1183
1184 PR gdb/25124
1185
1186 * gdb.arch/pr25124.S: New file.
1187 * gdb.arch/pr25124.exp: New file.
1188
165f8965
AB
11892019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1190
1191 * gdb.fortran/info-modules.exp: Update expected results, and add
1192 additional tests for 'info module functinos', and 'info module
1193 variables'.
1194 * gdb.fortran/info-types.exp: Update expected results.
1195 * gdb.fortran/info-types.f90: Extend testcase with additional
1196 module variables and functions.
1197
59c35742
AB
11982019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1199
1200 * gdb.fortran/info-modules.exp: New file.
1201 * gdb.fortran/info-types.exp: Build with new file.
1202 * gdb.fortran/info-types.f90: Include and use new module.
1203 * gdb.fortran/info-types-2.f90: New file.
1204
f3fb2519
PW
12052019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1206
1207 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
1208 * gdb.base/settings.exp: Test all settings types using
1209 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
1210 that now verifies that the value of "maint show" is the same as
1211 returned by the settings functions. Test the type of the
1212 maintenance settings.
1213 * gdb.base/default.exp: Update show_conv_list.
1214
d1e36019
TV
12152019-10-31 Tom de Vries <tdevries@suse.de>
1216
1217 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
1218 gdb_test.
1219 * gdb.arch/amd64-disp-step.exp: Same.
1220 * gdb.asm/asm-source.exp: Same.
1221 * gdb.btrace/buffer-size.exp: Same.
1222 * gdb.btrace/cpu.exp: Same.
1223 * gdb.btrace/enable.exp: Same.
1224 * gdb.dwarf2/count.exp: Same.
1225 * gdb.dwarf2/dw2-ranges-func.exp: Same.
1226 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
1227 * gdb.fortran/vla-datatypes.exp: Same.
1228 * gdb.fortran/vla-history.exp: Same.
1229 * gdb.fortran/vla-ptype.exp: Same.
1230 * gdb.fortran/vla-value.exp: Same.
1231 * gdb.fortran/whatis_type.exp: Same.
1232 * gdb.guile/guile.exp: Same.
1233 * gdb.multi/tids.exp: Same.
1234 * gdb.python/py-finish-breakpoint.exp: Same.
1235 * gdb.python/py-framefilter.exp: Same.
1236 * gdb.python/py-pp-registration.exp: Same.
1237 * gdb.python/py-xmethods.exp: Same.
1238 * gdb.python/python.exp: Same.
1239 * gdb.server/connect-with-no-symbol-file.exp: Same.
1240 * gdb.server/no-thread-db.exp: Same.
1241 * gdb.server/run-without-local-binary.exp: Same.
1242 * gdb.stabs/weird.exp: Same.
1243 * gdb.threads/attach-many-short-lived-threads.exp: Same.
1244 * gdb.threads/thread-find.exp: Same.
1245 * gdb.threads/tls-shared.exp: Same.
1246 * gdb.threads/tls.exp: Same.
1247 * gdb.threads/wp-replication.exp: Same.
1248 * gdb.trace/ax.exp: Same.
1249 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
1250
3d11e68e
TV
12512019-10-31 Tom de Vries <tdevries@suse.de>
1252
1253 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
1254 * gdb.ada/array_subscript_addr.exp: Same.
1255 * gdb.ada/arrayidx.exp: Same.
1256 * gdb.ada/arrayparam.exp: Same.
1257 * gdb.ada/arrayptr.exp: Same.
1258 * gdb.ada/boolean_expr.exp: Same.
1259 * gdb.ada/call_pn.exp: Same.
1260 * gdb.ada/complete.exp: Same.
1261 * gdb.ada/fixed_cmp.exp: Same.
1262 * gdb.ada/fun_addr.exp: Same.
1263 * gdb.ada/funcall_param.exp: Same.
1264 * gdb.ada/interface.exp: Same.
1265 * gdb.ada/mod_from_name.exp: Same.
1266 * gdb.ada/null_array.exp: Same.
1267 * gdb.ada/packed_array.exp: Same.
1268 * gdb.ada/packed_tagged.exp: Same.
1269 * gdb.ada/print_chars.exp: Same.
1270 * gdb.ada/print_pc.exp: Same.
1271 * gdb.ada/ptype_arith_binop.exp: Same.
1272 * gdb.ada/ptype_field.exp: Same.
1273 * gdb.ada/ptype_tagged_param.exp: Same.
1274 * gdb.ada/rec_return.exp: Same.
1275 * gdb.ada/ref_tick_size.exp: Same.
1276 * gdb.ada/str_ref_cmp.exp: Same.
1277 * gdb.ada/taft_type.exp: Same.
1278 * gdb.ada/tagged.exp: Same.
1279 * gdb.ada/type_coercion.exp: Same.
1280 * gdb.ada/uninitialized_vars.exp: Same.
1281
60b6ede8
TV
12822019-10-30 Tom de Vries <tdevries@suse.de>
1283
1284 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
1285
30baf67b
TV
12862019-10-26 Tom de Vries <tdevries@suse.de>
1287
1288 * gdb.base/bigcore.c: Fix typos in comments.
1289 * gdb.base/ctf-ptype.c: Same.
1290 * gdb.base/long_long.c: Same.
1291 * gdb.dwarf2/dw2-op-out-param.S: Same.
1292 * gdb.python/py-evthreads.c: Same.
1293 * gdb.reverse/i387-stack-reverse.c: Same.
1294 * gdb.trace/tfile.c: Same.
1295 * lib/compiler.c: Same.
1296 * lib/compiler.cc: Same.
1297
158da0d1
TV
12982019-10-25 Tom de Vries <tdevries@suse.de>
1299
1300 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
1301 gdb_test_multiple calls.
1302 * gdb.reverse/sigall-reverse.exp: Same.
1303 * gdb.reverse/solib-precsave.exp: Same.
1304 * gdb.reverse/solib-reverse.exp: Same.
1305 * gdb.reverse/until-precsave.exp: Same.
1306 * gdb.reverse/until-reverse.exp: Same.
1307
4ccdfbec
TV
13082019-10-24 Tom de Vries <tdevries@suse.de>
1309
1310 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
1311 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
1312 kfail using -wrap pattern flag and convenience variable
1313 gdb_test_name.
1314
33d569b7
AB
13152019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
1316
1317 * gdb.python/py-progspace.exp: Add tests for the
1318 Progspace.block_for_pc method.
1319
4d0b984b
TT
13202019-10-23 Tom Tromey <tom@tromey.com>
1321
1322 * configure: Rebuild.
1323 * aclocal.m4: Use m4_include, not sinclude.
1324
94cb3754
TV
13252019-10-21 Tom de Vries <tdevries@suse.de>
1326
1327 * gdb.base/infcall-nested-structs.c: Add
1328 __attribute__((noinline,noclone)) to all functions.
1329 (call_all): Add missing variable initialization. Simplify return value.
1330 (breakpt): Increment volatile variable, to prevent call from being
1331 optimized out.
1332 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
1333
062f1fc1
TV
13342019-10-17 Tom de Vries <tdevries@suse.de>
1335
1336 * gdb.fortran/module.exp: Allow info variables to print info for files
1337 other than module.f90.
1338
0b54364d
AB
13392019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
1340
1341 * gdb.fortran/module.exp: Extend with 'info variables' test.
1342
7ff5fae7
AB
13432019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
1344
1345 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
1346 F77_FOR_TARGET.
1347
d10eccaa
TV
13482019-10-16 Tom de Vries <tdevries@suse.de>
1349
1350 PR tdep/25096
1351 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
1352
745ff14e
TV
13532019-10-16 Tom de Vries <tdevries@suse.de>
1354
1355 PR tdep/24104
1356 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
1357 Add KFAIL for PR tdep/25096.
1358
03e1ab94
TV
13592019-10-16 Tom de Vries <tdevries@suse.de>
1360
1361 PR testsuite/25059
1362 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
1363
b17fcc10
TV
13642019-10-16 Tom de Vries <tdevries@suse.de>
1365
1366 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
1367 as signed.
1368
9223170f
SM
13692019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
1370
1371 * gdb.mi/list-thread-groups-available.exp: Read entries one by
1372 one instead of increasing timeout.
1373
d6e76313
TV
13742019-10-13 Tom de Vries <tdevries@suse.de>
1375
1376 PR record/25038
1377 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
1378 * gdb.reverse/sigall-reverse.exp: Same.
1379 * gdb.reverse/solib-precsave.exp: Same.
1380 * gdb.reverse/solib-reverse.exp: Same.
1381 * gdb.reverse/step-precsave.exp: Same.
1382 * gdb.reverse/until-precsave.exp: Same.
1383 * gdb.reverse/until-reverse.exp: Same.
1384 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
1385
6dfc0041
AA
13862019-10-10 Andreas Arnez <arnez@linux.ibm.com>
1387
1388 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
1389 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
1390 (cmp_struct_05_01, cmp_struct_static_02_01)
1391 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
1392 comparisons.
1393
abcf2cc8
TV
13942019-10-10 Tom de Vries <tdevries@suse.de>
1395
1396 PR testsuite/24888
1397 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
1398 gnatlink.
1399
a50faaf6
TV
14002019-10-09 Tom de Vries <tdevries@suse.de>
1401
1402 PR testsuite/25048
1403 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
1404
60ff3cd7
AB
14052019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
1406
1407 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
1408 exceptions due to missing debug information.
1409
dfee8566
TV
14102019-10-07 Tom de Vries <tdevries@suse.de>
1411
1412 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
1413
3d63690a
AB
14142019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
1415
1416 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
1417 * gdb.base/annota1.exp: Update to use gdb_test_name.
1418
30d1f018
WP
14192019-10-07 Weimin Pan <weimin.pan@oracle.com>
1420
1421 * gdb.base/ctf-whatis.exp: New file.
1422 * gdb.base/ctf-whatis.c: New file.
1423 * gdb.base/ctf-ptype.exp: New file.
1424 * gdb.base/ctf-ptype.c: New file.
1425 * gdb.base/ctf-constvars.exp: New file.
1426 * gdb.base/ctf-constvars.c: New file.
1427 * gdb.base/ctf-cvexpr.exp: New file.
1428
4dbbb47c
TV
14292019-10-04 Tom de Vries <tdevries@suse.de>
1430
1431 * gdb.cp/local-static.c (main): Move declaration of int i out of the
1432 for loop.
1433
77c2dba3
TT
14342019-10-03 Tom Tromey <tom@tromey.com>
1435
1436 PR rust/24976:
1437 * gdb.rust/simple.rs (Union2): New type.
1438 (main): Use Union2.
1439 * gdb.rust/simple.exp: Add test.
1440
179aed7f
AB
14412019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1442
1443 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
1444 nested function prefix.
1445
0a4b0913
AB
14462019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
1447 Richard Bunt <richard.bunt@arm.com>
1448 Andrew Burgess <andrew.burgess@embecosm.com>
1449
1450 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
1451 nested functions.
1452 * gdb.fortran/nested-funcs.f90: Update expected results.
1453 * gdb.fortran/nested-funcs-2.exp: New file.
1454 * gdb.fortran/nested-funcs-2.f90: New file.
1455
082cce05
AB
14562019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1457
1458 * gdb.python/py-parameter.exp: Make test names unique.
1459 * gdb.python/py-template.exp: Likewise.
1460 * gdb.python/py-value.exp: Likewise.
1461
2b74ba5a
AB
14622019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1463
1464 * gdb.base/break-interp.exp: Reduce test name duplication.
1465 * gdb.base/call-sc.exp: Likewise.
1466 * gdb.base/callfuncs.exp: Likewise.
1467 * gdb.base/charset.exp: Likewise.
1468 * gdb.base/dump.exp: Likewise.
1469 * gdb.base/ena-dis-br.exp: Likewise.
1470 * gdb.base/relational.exp: Likewise.
1471 * gdb.base/step-over-syscall.exp: Likewise.
1472 * gdb.base/structs.exp: Likewise.
1473
58eb20d5
AB
14742019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1475
1476 * gdb.linespec/explicit.exp: Make test names unique.
1477 * gdb.linespec/ls-errs.exp: Likewise.
1478
4d421147
AB
14792019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1480
1481 * gdb.reverse/break-precsave.exp: Make test names unique.
1482 * gdb.reverse/break-reverse.exp: Likewise.
1483 * gdb.reverse/finish-precsave.exp: Likewise.
1484 * gdb.reverse/finish-reverse.exp: Likewise.
1485 * gdb.reverse/machinestate-precsave.exp: Likewise.
1486 * gdb.reverse/machinestate.exp: Likewise.
1487 * gdb.reverse/readv-reverse.exp: Likewise.
1488 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1489 * gdb.reverse/sigall-precsave.exp: Likewise.
1490 * gdb.reverse/sigall-reverse.exp: Likewise.
1491 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
1492 * gdb.reverse/watch-precsave.exp: Likewise.
1493 * gdb.reverse/watch-reverse.exp: Likewise.
1494
d8c06f22
AB
14952019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1496
1497 * gdb.threads/stop-with-handle.c: New file.
1498 * gdb.threads/stop-with-handle.exp: New file.
1499
3a56ed86
TV
15002019-10-03 Tom de Vries <tdevries@suse.de>
1501
1502 PR testsuite/25059
1503 * gdb.base/list-missing-source.exp: Allowing the "Compilation
1504 directory" line to be missing.
1505
42275044
TV
15062019-10-03 Tom de Vries <tdevries@suse.de>
1507
1508 PR testsuite/25059
1509 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
1510 type optional.
1511
9ef62df0
AA
15122019-10-02 Andreas Arnez <arnez@linux.ibm.com>
1513
1514 * gdb.python/py-format-string.c (string.h): New include.
1515 (main): Fill a_struct_with_union.the_union.an_int with bytes of
1516 the same value, for endianness-independence.
1517 * gdb.python/py-format-string.exp (default_regexp_dict)
1518 (test_pretty_structs, test_format): Adjust expected output to the
1519 changed initialization.
1520
37f6a7f4
TT
15212019-10-02 Tom Tromey <tromey@adacore.com>
1522
1523 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
1524
1d58d6a2
PA
15252019-10-02 Pedro Alves <palves@redhat.com>
1526 Andrew Burgess <andrew.burgess@embecosm.com>
1527
1528 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
1529 "print-file-var.h".
1530 (this_version_id) Use ATTRIBUTE_VISIBILITY.
1531 (get_version_1): Print this_version_id and its address.
1532 Add extern "C" wrappers around interface functions.
1533 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
1534 "print-file-var.h".
1535 (this_version_id) Use ATTRIBUTE_VISIBILITY.
1536 (get_version_2): Print this_version_id and its address.
1537 Add extern "C" wrappers around interface functions.
1538 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
1539 <stddef.h> and "print-file-var.h".
1540 Add extern "C" wrappers around interface functions.
1541 [VERSION_ID_MAIN] (this_version_id): Define.
1542 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
1543 * gdb.base/print-file-var.h: Add some #defines to simplify setting
1544 up extern "C" blocks.
1545 * gdb.base/print-file-var.exp (test): New, factored out from top
1546 level.
1547 (top level): Test all combinations of attribute hidden or not,
1548 dlopen or not, and this_version_id symbol in main file or not.
1549 Compile tests as both C++ and C, make test names unique.
1550
d770d56f
TT
15512019-10-01 Tom Tromey <tom@tromey.com>
1552
1553 * gdb.base/style.exp: Test "show logging filename".
1554
7f6aba03
TT
15552019-10-01 Tom Tromey <tom@tromey.com>
1556
1557 * lib/gdb-utils.exp (style): Handle "metadata" argument.
1558 * gdb.base/style.exp: Add metadata style test.
1559
14309bb6
TT
15602019-10-01 Tom Tromey <tom@tromey.com>
1561
1562 * gdb.base/style.exp: Test "pwd".
1563
2a3c1174
PA
15642019-10-01 Tom Tromey <tom@tromey.com>
1565
1566 * gdb.base/style.exp: Update tests.
1567
53d666ec
AA
15682019-10-01 Andreas Arnez <arnez@linux.ibm.com>
1569
1570 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
1571 'six' to unsigned.
1572 (s1): Initialize fields 'four' and 'six' instead of 'three' and
1573 'five'. Use an all-ones bit pattern for each.
1574 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
1575 to its changed values.
1576
4a56a520
TT
15772019-09-30 Tom Tromey <tromey@adacore.com>
1578
1579 * gdb.rust/traits.rs: Disable all warnings.
1580
0df0352a
TV
15812019-09-29 Tom de Vries <tdevries@suse.de>
1582
1583 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
1584
73d9a918
TV
15852019-09-29 Tom de Vries <tdevries@suse.de>
1586
1587 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
1588
060b3ab4
TV
15892019-09-27 Tom de Vries <tdevries@suse.de>
1590
1591 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
1592
68f7d34d
TV
15932019-09-27 Tom de Vries <tdevries@suse.de>
1594
1595 PR record/23188
1596 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
1597
5d63b30a
TT
15982019-09-26 Tom Tromey <tromey@adacore.com>
1599
1600 * gdb.ada/py_taft.exp: New file.
1601 * gdb.ada/py_taft/main.adb: New file.
1602 * gdb.ada/py_taft/pkg.adb: New file.
1603 * gdb.ada/py_taft/pkg.ads: New file.
1604
3d435220
TV
16052019-09-24 Tom de Vries <tdevries@suse.de>
1606
1607 PR gdb/24598
1608 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
1609
77d03678
TV
16102019-09-22 Tom de Vries <tdevries@suse.de>
1611
1612 * gdb.base/restore.exp: Allow register variables to be optimized out at
1613 -O0.
1614
abf516c6
UW
16152019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
1616
1617 * gdb.arch/spu-info.exp: Remove file.
1618 * gdb.arch/spu-info.c: Remove file.
1619 * gdb.arch/spu-ls.exp: Remove file.
1620 * gdb.arch/spu-ls.c: Remove file.
1621
1622 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
1623 * gdb.asm/spu.inc: Remove file.
1624
1625 * gdb.base/dump.exp: Remove support for spu*-*-*.
1626 * gdb.base/stack-checking.exp: Likewise.
1627 * gdb.base/overlays.exp: Likewise.
1628 * gdb.base/ovlymgr.c: Likewise.
1629 * gdb.base/spu.ld: Remove file.
1630
1631 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
1632 * gdb.cp/cpexprs.exp: Likewise.
1633 * gdb.cp/exception.exp: Likewise.
1634 * gdb.cp/gdb2495.exp: Likewise.
1635 * gdb.cp/mb-templates.exp: Likewise.
1636 * gdb.cp/pr9167.exp: Likewise.
1637 * gdb.cp/userdef.exp: Likewise.
1638
1639 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
1640
1641 * gdb.cell: Remove directory.
1642 * lib/cell.exp: Remove file.
1643
e452e88f
TV
16442019-09-19 Tom de Vries <tdevries@suse.de>
1645
1646 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
1647
8a625130
TV
16482019-09-19 Tom de Vries <tdevries@suse.de>
1649
1650 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
1651
81dc3ab5
TV
16522019-09-19 Tom de Vries <tdevries@suse.de>
1653
1654 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
1655 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
1656 (gdb_target_cmd): ... here.
1657 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
1658 value 2.
1659
b078f3ac
AB
16602019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
1661
1662 * gdb.base/source-dir.exp: Avoid having directory names in test
1663 names.
1664
f1b620e9
MG
16652019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
1666
1667 * gdb.base/source-dir.exp: Add extra test for mapped compilation
1668 directory.
1669
67f3ed6a
AB
16702019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
1671
1672 * gdb.base/list-missing-source.exp: New file.
1673
d1b70248
TV
16742019-09-14 Tom de Vries <tdevries@suse.de>
1675
1676 PR teststuite/24599
1677 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
1678 * lib/ada.exp (gnatmake_version_at_least): New proc.
1679
5fabdcd6
AB
16802019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
1681
1682 * gdb.base/maint.exp: Use exec_has_index_section.
1683
aa17805f
AB
16842019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
1685
1686 * gdb.base/maint.exp: Add test for 'maint info sections'.
1687
25e5c209
TV
16882019-09-12 Tom de Vries <tdevries@suse.de>
1689
1690 * gdb.base/store.exp: Allow register variables to be optimized out at
1691 -O0.
1692
4993045d
PW
16932019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1694
1695 * gdb.ada/rdv_wait.exp: Update to new task names.
1696 * gdb.base/task_switch_in_core.exp: Likewise.
1697 * gdb.base/info_sources_base.c: Likewise.
1698
8a516164
TT
16992019-09-10 Tom Tromey <tromey@adacore.com>
1700
1701 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
1702
aa391654
TT
17032019-09-10 Tom Tromey <tromey@adacore.com>
1704
1705 * gdb.ada/dgopt.exp: New file.
1706 * gdb.ada/dgopt/x.adb: New file.
1707
8634b462
TT
17082019-09-08 Tom Tromey <tom@tromey.com>
1709
1710 * gdb.tui/resize.exp: Remove setup_xfail.
1711 * gdb.tui/regs.exp: Remove setup_xfail.
1712 * gdb.tui/basic.exp: Remove setup_xfail.
1713
736b0f76
DB
17142019-09-06 David Blaikie <dblaikie@gmail.com>
1715
1716 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
1717 * gdb.cp/cplabel.exp: Ditto.
1718 * gdb.linespec/ls-errs.exp: Ditto.
1719
30331a6c
TV
17202019-09-05 Tom de Vries <tdevries@suse.de>
1721
1722 * lib/gdb.exp (cmp_file_string): New proc.
1723 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
1724 runto_main. Verify save breakpoints output.
1725
98b0ebab
PW
17262019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1727
1728 * gdb.base/info-var.exp: Test info variables without running
1729 to main, to avoid expect's buffer overflow.
1730
4e962e74
TT
17312019-09-03 Tom Tromey <tromey@adacore.com>
1732
1733 * gdb.ada/bias.exp: New file.
1734 * gdb.ada/bias/bias.adb: New file.
1735 * gdb.ada/print_chars.exp: Add regression test.
1736 * gdb.ada/print_chars/foo.adb (My_Character): New type.
1737 (MC): New variable.
1738
2ea1a07a
SL
17392019-08-29 Sandra Loosemore <sandra@codesourcery.com>
1740
1741 * gdb.base/argv0-symlink.exp: Run only on native target
1742 and local host.
1743
8077c50d
TV
17442019-08-29 Tom de Vries <tdevries@suse.de>
1745
1746 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
1747 diverse debug info.
1748 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
1749
48352473
TV
17502019-08-28 Tom de Vries <tdevries@suse.de>
1751
1752 * gdb.base/info-var.exp: Allow info variables to print info for files
1753 other than info-var-f1.c and info-var-f2.c.
1754
d8f27c60
AB
17552019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
1756
1757 * gdb.fortran/info-types.exp: Add module.
1758 * gdb.fortran/info-types.f90: Update expected results.
1759
1f20c35e
AB
17602019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
1761
1762 * gdb.fortran/info-types.exp: New file.
1763 * gdb.fortran/info-types.f90: New file.
1764 * lib/fortran.exp (fortran_character1): New proc.
1765
4acfdd20
AB
17662019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
1767
1768 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
1769 functions'. Reindent as needed.
1770 * gdb.base/info-var-f1.c: New file.
1771 * gdb.base/info-var-f2.c: New file.
1772 * gdb.base/info-var.exp: New file.
1773 * gdb.base/info-var.h: New file.
1774
5c31b358
TV
17752019-08-26 Tom de Vries <tdevries@suse.de>
1776
1777 PR c++/24852
1778 * gdb.cp/no-libstdcxx-probe.exp: New test.
1779
b694989f
TV
17802019-08-26 Tom de Vries <tdevries@suse.de>
1781
1782 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
1783 * tests need to be skipped.
1784 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
1785 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
1786 mi_skip_libstdcxx_probe_tests.
1787
d9c4ba53
SDJ
17882019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
1789
1790 * gdb.python/py-xmethods.exp: Use raw strings when passing
1791 arguments to SimpleXMethodMatcher.
1792
395fad09
TV
17932019-08-22 Tom de Vries <tdevries@suse.de>
1794
1795 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
1796 more informative.
1797
26c957f1
PA
17982019-08-21 Pedro Alves <palves@redhat.com>
1799
1800 * gdb.base/with.exp: Test "with" with no arguments.
1801
61f80d5d
TV
18022019-08-21 Tom de Vries <tdevries@suse.de>
1803
1804 * gdb.base/gdb-caching-proc.exp: Sort files.
1805
d7a11d13
TV
18062019-08-20 Tom de Vries <tdevries@suse.de>
1807
1808 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
1809 compilation.
1810
34dafe9f
TV
18112019-08-16 Tom de Vries <tdevries@suse.de>
1812
1813 * gdb.base/compare-sections.exp ("after run to main"): Allow
1814 mismatched read-only sections for PIE executables.
1815
398fdd60
TT
18162019-08-16 Tom Tromey <tom@tromey.com>
1817
1818 * lib/tuiterm.exp (_csi_Z): New proc.
1819 * gdb.tui/basic.exp: Update window positions.
1820 * gdb.tui/empty.exp: Update window positions.
1821
d8f9e51c
SL
18222019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1823
1824 * gdb.base/examine-backward.exp: Correct regexp for
1825 "examine 3 bytes backward from ${address_zero}".
1826
3df505f6
TT
18272019-08-15 Tom Tromey <tom@tromey.com>
1828
1829 * gdb.tui/empty.exp: Enable resizing tests.
1830
272560b5
TT
18312019-08-15 Tom Tromey <tromey@adacore.com>
1832
1833 * gdb.ada/char_enum.exp: Add regression tests.
1834 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
1835 and '0'.
1836 (Char, Gchar): Update.
1837 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
1838
08235187
CB
18392019-08-15 Christian Biesinger <cbiesinger@google.com>
1840
1841 * gdb.python/python.exp: Expect a leading underscore on
1842 GdbOutput{,Error}File.
1843
22a2ab04
SL
18442019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1845
1846 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
1847 Windows host.
1848
835b995b
SL
18492019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1850
1851 * gdb.base/batch-preserve-term-settings.exp
1852 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
1853
97dd8e07
CB
18542019-08-15 Christian Biesinger <cbiesinger@google.com>
1855
1856 * lib/gdb.exp: When running on a mingw target, replace
1857 /x/ with x:/.
1858
75faf5c4
AH
18592019-08-14 Alan Hayward <alan.hayward@arm.com>
1860
1861 * gdb.arch/aarch64-prologue.c: New test.
1862 * gdb.arch/aarch64-prologue.exp: New file.
1863
abc6c00f
TV
18642019-08-13 Tom de Vries <tdevries@suse.de>
1865
1866 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
1867 Thread.
1868
74c2c1f4
SL
18692019-08-13 Sandra Loosemore <sandra@codesourcery.com>
1870
1871 * gdb.python/py-completion.exp: Download the .py file to the host
1872 and use its host pathname. Conditionalize tests that use
1873 tab completion and manipulate files on the build machine.
1874 * gdb.python/py-events.exp: Download the .py file to the host
1875 and use its host pathname.
1876 * gdb.python/py-evsignal.exp: Likewise.
1877 * gdb.python/py-evthreads.exp: Likewise.
1878 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
1879 pathname syntax.
1880 * gdb.python/py-framefilter.exp: Download the .py file to the right
1881 place on the host. Match Windows pathname syntax.
1882 * gdb.python/py-mi-var-info-path-expression.exp: Download the
1883 .py file to the host and use its host pathname.
1884 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
1885 * gdb.python/py-objfile.exp: Expect a host pathname, not a
1886 build pathname. Skip symlink test on Windows host. Add missing
1887 newline at end of file.
1888 * gdb.python/py-pp-maint.exp: Download the .py file to the host
1889 and use its host pathname.
1890 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
1891 * gdb.python/py-section-script.exp: Use host location of binfile
1892 on safe-path. Use correct path separator on Windows host.
1893 Reorder alternatives in gdb_test_multiple to prevent matching
1894 the wrong alternative on success.
1895 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
1896
ca2589f3
PP
18972019-08-12 Patrick Palka <patrick@parcs.ath.cx>
1898
1899 * gdb.gdb/selftest.exp (test_with_self): Update test to now
1900 expect the GDB inferior to no longer immediately stop after
1901 being resumed with "signal SIGINT".
1902
020a839d
SL
19032019-08-09 Sandra Loosemore <sandra@codesourcery.com>
1904
1905 * gdb.linespec/break-ask.exp: Generalize regexps to match
1906 Windows pathnames too.
1907
128d6509
TV
19082019-08-08 Tom de Vries <tdevries@suse.de>
1909
1910 PR testsuite/24862
1911 * lib/tuiterm.exp (_accept): Fix CSI regexp.
1912
590042fc
PW
19132019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1914
1915 * gdb.base/style.exp: Update tests for help doc new invariants.
1916 * gdb.base/help.exp: Likewise.
1917
046bebe1
TT
19182019-08-06 Tom Tromey <tom@tromey.com>
1919
1920 * gdb.base/style.exp: Add disassemble test.
1921 * gdb.base/style.c (some_called_function): New function.
1922 (main): Use it.
1923
0b27c27d
CB
19242019-08-05 Christian Biesinger <cbiesinger@google.com>
1925
1926 * gdb.python/py-block.exp: Test dictionary access on blocks.
1927
580f1034
SM
19282019-08-05 Simon Marchi <simon.marchi@efficios.com>
1929
1930 PR gdb/24863
1931 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
1932 -list-thread-groups --available test when running under
1933 check-read1.
1934
d86bd7cb
TV
19352019-08-05 Tom de Vries <tdevries@suse.de>
1936
1937 PR testsuite/24863
1938 * lib/gdb.exp (with_read1_timeout_factor): New proc.
1939 * gdb.base/help.exp: Use with_read1_timeout_factor.
1940 * gdb.base/info-macros.exp: Same.
1941 * gdb.cp/nested-types.exp: Same.
1942
a80cf5d8
TV
19432019-08-05 Tom de Vries <tdevries@suse.de>
1944
1945 * lib/gdb.exp (version_at_least): Factor out of ...
1946 (tcl_version_at_least): ... here.
1947 (gdb_compile): Fail if pie results in non-PIE executable.
1948 (readelf_version, readelf_prints_pie): New proc.
1949 (exec_is_pie): Return -1 if unknown.
1950
d0962838
TV
19512019-08-05 Tom de Vries <tdevries@suse.de>
1952
1953 * lib/gdb.exp (tcl_version_at_least): Fix typo.
1954
2252ff3d
SL
19552019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1956
1957 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
1958
26655f53
SL
19592019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1960
1961 * lib/completion-support.exp (test_gdb_complete_none): Skip
1962 tab completion tests if no readline support.
1963 (test_gdb_complete_unique_re): Likewise.
1964 (test_gdb_complete_multiple): Likewise.
1965
db4dc13e
PW
19662019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1967
1968 * gdb.base/info_sources.exp: New file.
1969 * gdb.base/info_sources.c: New file.
1970 * gdb.base/info_sources_base.c: New file.
1971
0eba165a
PFC
19722019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1973
1974 * gdb.base/batch-exit-status.exp: Call test_exit_status with
1975 prefix argument.
1976 (test_exit_status): Add prefix argument.
1977
59bd512b
TV
19782019-08-01 Tom de Vries <tdevries@suse.de>
1979
1980 PR testsuite/24863
1981 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
1982 calling exp_continue for new thread and thread exited messages.
1983
2a3ad588
TV
19842019-08-01 Tom de Vries <tdevries@suse.de>
1985
1986 PR testsuite/24863
1987 * gdb.base/structs.exp: Fix check-read1 timeout using
1988 gdb_test_sequence.
1989 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
1990
117eb594
TV
19912019-08-01 Tom de Vries <tdevries@suse.de>
1992
1993 PR testsuite/24863
1994 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
1995 line.
1996
ed591340
TV
19972019-08-01 Tom de Vries <tdevries@suse.de>
1998
1999 PR testsuite/24863
2000 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
2001
aa3b6533
TT
20022019-07-30 Tom Tromey <tromey@adacore.com>
2003
2004 * gdb.ada/display_nested.exp: New file.
2005 * gdb.ada/display_nested/foo.adb: New file.
2006 * gdb.ada/display_nested/pack.adb: New file.
2007 * gdb.ada/display_nested/pack.ads: New file.
2008
2906593f
CB
20092019-07-30 Christian Biesinger <cbiesinger@google.com>
2010
2011 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
2012 namespace.
2013 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
2014
0f575925
TV
20152019-07-30 Tom de Vries <tdevries@suse.de>
2016
2017 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
2018 instead.
2019
b13057d9
TV
20202019-07-30 Tom de Vries <tdevries@suse.de>
2021
2022 PR testsuite/24834
2023 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
2024 (exec_is_pie): New proc.
2025
5c4dde85
CB
20262019-07-29 Christian Biesinger <cbiesinger@google.com>
2027
2028 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
2029
c620ed88
CB
20302019-07-29 Christian Biesinger <cbiesinger@google.com>
2031
2032 * gdb.python/py-objfile.c: Add global and static vars.
2033 * gdb.python/py-objfile.exp: Test new functions Objfile.
2034 lookup_global_symbol and lookup_static_symbol.
2035
3d235706
TT
20362019-07-29 Tom Tromey <tom@tromey.com>
2037
2038 * lib/tuiterm.exp (Term::_csi_@): New proc.
2039 (Term::_csi_X): Don't move cursor.
2040
c7e4c0a6
PW
20412019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2042
2043 * gdb.base/options.exp: Update backtrace - completion to
2044 new option -frame-info.
2045 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
2046 Test new 'set print frame-info'. Test backtrace -frame-info
2047 overriding 'set print frame-info'.
2048 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
2049 Test new 'set print frame-info'.
2050 Verify consistency of backtrace with and without filters, with and
2051 without -no-filters.
2052 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
2053 default.
2054
de28a3b7
TV
20552019-07-29 Tom de Vries <tdevries@suse.de>
2056
2057 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
2058 no arguments".
2059
507dd60e
TV
20602019-07-29 Tom de Vries <tdevries@suse.de>
2061
2062 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
2063 is a substring of the first for "complete non-unique file name".
2064
5beafce9
TV
20652019-07-29 Tom de Vries <tdevries@suse.de>
2066
2067 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
2068 with ".*".
2069
2d274232
TV
20702019-07-29 Tom de Vries <tdevries@suse.de>
2071
2072 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
2073 Pass prompt_regexp parameter to gdb_test_multiple calls.
2074
9197cd8b
TV
20752019-07-29 Tom de Vries <tdevries@suse.de>
2076
2077 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
2078 print registers" regexps.
2079
b528dae0
TV
20802019-07-29 Tom de Vries <tdevries@suse.de>
2081
2082 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
2083
d17725d7
TV
20842019-07-29 Tom de Vries <tdevries@suse.de>
2085
2086 PR gdb/24855
2087 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
2088 (skip_python_tests_prompt): Add prompt_regexp argument to
2089 gdb_test_multiple calls.
2090
52b75bf1
TT
20912019-07-27 Tom Tromey <tom@tromey.com>
2092
2093 * gdb.tui/main.exp: New file.
2094
2b1d00c2
TT
20952019-07-27 Tom Tromey <tom@tromey.com>
2096
2097 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
2098 optional.
2099 * gdb.tui/empty.exp: New file.
2100
ded631d5
TT
21012019-07-27 Tom Tromey <tom@tromey.com>
2102
2103 * lib/tuiterm.exp (spawn): New proc.
2104 (Term::resize): New proc.
2105 * gdb.tui/resize.exp: New file.
2106
58ac439d
TT
21072019-07-27 Tom Tromey <tom@tromey.com>
2108
2109 * gdb.tui/list.exp: New file.
2110
fe1f56ee
TT
21112019-07-27 Tom Tromey <tom@tromey.com>
2112
2113 * gdb.tui/regs.exp: New file.
2114
f790b310
TT
21152019-07-27 Tom Tromey <tom@tromey.com>
2116
2117 * gdb.tui/basic.exp: Add "layout split" test.
2118
d95fc6ee
TT
21192019-07-27 Tom Tromey <tom@tromey.com>
2120
2121 * gdb.tui/basic.exp: Add "layout asm" test.
2122
c3786b3a
TT
21232019-07-27 Tom Tromey <tom@tromey.com>
2124
2125 * lib/tuiterm.exp: New file.
2126 * gdb.tui/basic.exp: New file.
2127
98a617f8
KB
21282019-07-27 Kevin Buettner <kevinb@redhat.com>
2129
2130 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
2131 Enable tests associated with this flag. Adjust regex
2132 referencing "foo_low" to now refer to "foo_cold" instead.
2133
5c076da4
KB
21342019-07-27 Kevin Buettner <kevinb@redhat.com>
2135
2136 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
2137 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
2138 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
2139 foo_cold. Revise comments to match.
2140 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
2141 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
2142 were wrapped into this proc; Call do_test in loop from outermost
2143 level.
2144 (foo_low): Rename all occurrences to "foo_cold".
2145 (backtrace from baz): New test.
2146 (x2/i foo_cold): New test.
2147 (info line *foo_cold): New test.
2148
1512d3b7
TV
21492019-07-26 Tom de Vries <tdevries@suse.de>
2150
2151 * gdb.arch/i386-pkru.exp: Fix unterminated string.
2152
297989a1
TV
21532019-07-25 Tom de Vries <tdevries@suse.de>
2154
2155 PR testsuite/24830
2156 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
2157 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
2158 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
2159 (skip_libstdcxx_probe_tests): ... here.
2160 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
2161
b3b965fb
TV
21622019-07-24 Tom de Vries <tdevries@suse.de>
2163
2164 PR testsuite/24807
2165 * gdb.objc/basicclass.m: Include stdio.h.
2166 * gdb.objc/nondebug.m: Same.
2167 * gdb.objc/objcdecode.m: Same.
2168
4625b4d0
TV
21692019-07-24 Tom de Vries <tdevries@suse.de>
2170
2171 PR testsuite/24612
2172 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
2173 additional_flags.
2174
024a5840
TV
21752019-07-24 Tom de Vries <tdevries@suse.de>
2176
2177 PR testsuite/24831
2178 * gdb.multi/tids.exp: Update error messages for info threads.
2179
c76ddaa3
TV
21802019-07-24 Tom de Vries <tdevries@suse.de>
2181
2182 * gdb.base/info-types.exp: Allow info types to print info for more than
2183 one file.
2184
9a618ef6
TV
21852019-07-23 Tom de Vries <tdevries@suse.de>
2186
2187 PR testsuite/24842
2188 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
2189 gdb_spawn_with_cmdline_opts.
2190
40eadf04
SP
21912019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
2192
2193 * gdb.arch/arm-cmse-sgstubs.c: New test.
2194 * gdb.arch/arm-cmse-sgstubs.exp: New file.
2195
5ba29434
TV
21962019-07-23 Tom de Vries <tdevries@suse.de>
2197
2198 PR testsuite/24711
2199 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
2200 issuing next command.
2201
a8e9d247
AB
22022019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
2203
2204 * gdb.ada/info_auto_lang.exp: Update expected results.
2205 * gdb.base/info-types.c: Add additional types to check.
2206 * gdb.base/info-types.exp: Update expected results.
2207
eb86c5e2
AB
22082019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
2209
2210 * gdb.base/info-types.c: New file.
2211 * gdb.base/info-types.exp: New file.
2212
01e175fe
AB
22132019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
2214
2215 * gdb.arch/riscv-bp-infcall.c: New file.
2216 * gdb.arch/riscv-bp-infcall.exp: New file.
2217
6b78c3f8
AB
22182019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
2219
2220 PR breakpoints/24541
2221 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
2222
da738167
TV
22232019-07-14 Tom de Vries <tdevries@suse.de>
2224
2225 PR testsuite/24760
2226 * gdb.objc/basicclass.exp: Fix unterminated string.
2227
0d4e84ed
AB
22282019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
2229 Andrew Burgess <andrew.burgess@embecosm.com>
2230
2231 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
2232 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
2233 negative bounds.
2234 * gdb.fortran/vla-value.exp: Print elements of an array with
2235 negative bounds.
2236 * gdb.fortran/vla.f90: Setup an array with negative bounds for
2237 testing.
2238
021d8588
AB
22392019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
2240
2241 * gdb.base/options.exp (expect_string): Dequote strings in
2242 results.
2243 (test-string): Test strings with different quoting and reindent.
2244
f06f1252
TT
22452019-07-10 Tom Tromey <tromey@adacore.com>
2246
2247 * gdb.ada/mi_ex_cond.exp: Update expected results.
2248 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
2249 * gdb.ada/mi_catch_ex.exp: Update expected results.
2250 * gdb.ada/mi_catch_assert.exp: Update expected results.
2251 * gdb.ada/catch_ex.exp (catch_exception_info)
2252 (catch_exception_entry, catch_assert_entry)
2253 (catch_unhandled_entry): Update.
2254 * gdb.ada/catch_assert_if.exp: Update expected results.
2255
b863685d
RB
22562019-07-10 Richard Bunt <richard.bunt@arm.com>
2257 Stephen Roberts <stephen.roberts@arm.com>
2258
2259 * gdb.base/define.exp: Restore original prompt.
2260
cb1e4e32
PA
22612019-07-09 Pedro Alves <palves@redhat.com>
2262
2263 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
2264 breakpoints" output.
2265 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
2266 * gdb.python/py-breakpoint.exp: No longer expect that "catch
2267 throw" creates breakpoint.
2268 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
2269 'type="catchpoint"'.
2270
b58a68fe
PA
22712019-07-09 Pedro Alves <palves@redhat.com>
2272
2273 PR c++/15468
2274 * gdb.cp/except-multi-location-lib.cc: New.
2275 * gdb.cp/except-multi-location-main.cc: New.
2276 * gdb.cp/except-multi-location.exp: New.
2277
0826779b
PW
22782019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
2279
2280 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
2281 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
2282 argument and update callers.
2283
5b0e2db4
AB
22842019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2285
2286 * gdb.arch/amd64-break-on-asm-line.S: New file.
2287 * gdb.arch/amd64-break-on-asm-line.exp: New file.
2288
1f6f6e21
PW
22892019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2290
2291 * gdb.base/printcmds.exp: Test printing C string and
2292 C wide string convenience vars without transiting via the inferior.
2293 Also make test names unique.
2294
ea142fbf
AH
22952019-07-08 Alan Hayward <alan.hayward@arm.com>
2296
5862c886 2297 PR breakpoints/25011
ea142fbf
AH
2298 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
2299
213fd9fa
PA
23002019-07-04 Pedro Alves <palves@redhat.com>
2301
2302 * lib/gdb.exp (foreach_with_prefix): Don't return early if
2303 body returned ok(0), break(3) or continue(4).
2304 * gdb.testsuite/foreach_with_prefix.exp: New file.
2305
2b40fda7
AH
23062019-07-04 Alan Hayward <alan.hayward@arm.com>
2307
2308 * gdb.server/unittest.exp: Allow 0 unit tests to run.
2309
a26c8de0
PA
23102019-07-03 Pedro Alves <palves@redhat.com>
2311
2312 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
2313 "return -code".
2314
5f4ba3e7
PA
23152019-07-03 Pedro Alves <palves@redhat.com>
2316
2317 PR cli/24732
2318 * gdb.base/shell.exp: Load completion-support.exp.
2319 Adjust expected error output. Add completion tests.
2320
a994424f
PA
23212019-07-03 Pedro Alves <palves@redhat.com>
2322
2323 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
2324 string_to_regexp.
2325
3d9be6f5
PA
23262019-07-03 Pedro Alves <palves@redhat.com>
2327
2328 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
2329 (expect_integer): Adjust to expect "-string".
2330 (expect_string): New.
2331 (all_options): Expect "-string".
2332 (test-flag, test-boolean): Adjust to expect "-string".
2333 (test-string): New proc.
2334 (top level): Call it.
2335
41fc454c
PA
23362019-07-03 Pedro Alves <palves@redhat.com>
2337
2338 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
2339 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
2340 the expected output in the success.
2341
b2b2a215
PA
23422019-07-03 Pedro Alves <palves@redhat.com>
2343
2344 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
2345 Split one gdb_test_multiple call in two to avoid a race.
2346
fdbc9870
PA
23472019-07-03 Pedro Alves <palves@redhat.com>
2348
2349 * gdb.base/with.c: New file.
2350 * gdb.base/with.exp: New file.
2351
c6ac8931
PA
23522019-07-03 Pedro Alves <palves@redhat.com>
2353
2354 * gdb.base/settings.exp: Replace all references to "maint
2355 test-settings set" with references to "maint set test-settings",
2356 and all references to "maint test-settings show" with references
2357 to "maint show test-settings".
2358
970f9d09
PA
23592019-07-03 Pedro Alves <palves@redhat.com>
2360
2361 * gdb.base/settings.exp (test-string): Adjust expected out when
2362 testing "maint test-settings show filename"
2363
54d66006
PA
23642019-07-02 Pedro Alves <palves@redhat.com>
2365
2366 * gdb.base/options.exp (test-info-threads): New procedure.
2367 (top level): Call it.
2368
10d06d82
TT
23692019-06-28 Tom Tromey <tromey@adacore.com>
2370
2371 * gdb.dwarf2/ada-linkage-name.c: New file.
2372 * gdb.dwarf2/ada-linkage-name.exp: New file.
2373
3d507ff2
TT
23742019-06-27 Tom Tromey <tromey@adacore.com>
2375
d039f014 2376 PR c++/20020:
3d507ff2
TT
2377 * gdb.cp/constexpr-field.exp: Use setup_xfail.
2378
8af58ffe
TV
23792019-06-26 Tom de Vries <tdevries@suse.de>
2380
2381 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
2382
22e21752
TV
23832019-06-26 Tom de Vries <tdevries@suse.de>
2384
2385 * gdb.base/index-cache.exp: Add back missing debug option.
2386
b65b566c
PW
23872019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2388
2389 * gdb.base/alias.exp: Test non matching/non existing prefixes.
2390
5c2c8c69
TV
23912019-06-25 Tom de Vries <tdevries@suse.de>
2392
2393 PR testsuite/24727
2394 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
2395
164e3873
TV
23962019-06-24 Tom de Vries <tdevries@suse.de>
2397
2398 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
2399
824eacee
TV
24002019-06-24 Tom de Vries <tdevries@suse.de>
2401
2402 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
2403 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
2404 * gdb.trace/unavailable-dwarf-piece.exp: Same.
2405
385b97d3
TV
24062019-06-24 Tom de Vries <tdevries@suse.de>
2407
2408 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
2409
c596f180
TV
24102019-06-21 Tom de Vries <tdevries@suse.de>
2411
2412 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
2413
b13a7d03
TV
24142019-06-21 Tom de Vries <tdevries@suse.de>
2415
2416 PR testsuite/24518
2417 PR ada/24713
2418 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
2419 index.
2420
899277ae
TT
24212019-06-19 Tom Tromey <tromey@adacore.com>
2422
2423 * gdb.ada/length_cond.exp: Add intro comment.
2424
680e1bee
TT
24252019-06-19 Tom Tromey <tromey@adacore.com>
2426
2427 * gdb.ada/length_cond.exp: New file.
2428 * gdb.ada/length_cond/length_cond.adb: New file.
2429 * gdb.ada/length_cond/pck.adb: New file.
2430 * gdb.ada/length_cond/pck.ads: New file.
2431
0ed4690a
TV
24322019-06-18 Tom de Vries <tdevries@suse.de>
2433
2434 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
2435
d20ed5fd
TT
24362019-06-18 Tom Tromey <tromey@adacore.com>
2437
2438 * gdb.base/list0.h: Add comment explaining control character.
2439
86e04673
TV
24402019-06-18 Tom de Vries <tdevries@suse.de>
2441
2442 * boards/fission.exp: Break up long debug_flags line.
2443
c4973306
SM
24442019-06-16 Tom de Vries <tdevries@suse.de>
2445
2446 PR gdb/24445
2447 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
2448 generated index.
2449
93cb9841
AB
24502019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
2451
2452 PR gdb/24686
2453 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
2454 improve detection of bug gdb/24541.
2455
399aaebd
SM
24562019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
2457
2458 PR gdb/24669
2459 * gdb.base/index-cache.exp (uses_readnow,
2460 expecting_index_cache_use): Define global variable.
2461 (test_cache_enabled_miss, test_cache_enabled_hit): Use
2462 expecting_index_cache_use.
2463
584a927c
AB
24642019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
2465 Andrew Burgess <andrew.burgess@embecosm.com>
2466
2467 * gdb.fortran/pointers.f90: New file.
2468 * gdb.fortran/print_type.exp: New file.
2469 * gdb.fortran/vla-ptype.exp: Adapt expected results.
2470 * gdb.fortran/vla-type.exp: Likewise.
2471 * gdb.fortran/vla-value.exp: Likewise.
2472 * gdb.mi/mi-vla-fortran.exp: Likewise.
2473
30056ea0
AB
24742019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2475
2476 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
2477 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
2478 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
2479 as a stop reason.
2480
ec8e2b6d
AB
24812019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2482
2483 * gdb.base/annota1.exp: Update expected results.
2484 * gdb.cp/annota2.exp: Likewise.
2485 * gdb.cp/annota3.exp: Likewise.
2486
09e4c4e1
AB
24872019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2488
2489 * gdb.base/style-logging.exp: Remove path from test name.
2490
0735b091
TT
24912019-06-14 Tom Tromey <tromey@adacore.com>
2492
2493 PR gdb/24502:
2494 * gdb.base/style-logging.exp: New file.
2495
f5686554
TT
24962019-06-14 Tom Tromey <tromey@adacore.com>
2497
2498 * gdb.base/symfile-warn.exp: New file.
2499 * gdb.base/symfile-warn.c: New file.
2500
a0c1ffed
TT
25012019-06-14 Tom Tromey <tromey@adacore.com>
2502
2503 * gdb.base/annotate-symlink.exp: New file.
2504
f411722c
TT
25052019-06-14 Tom Tromey <tromey@adacore.com>
2506
2507 * gdb.ada/set_wstr.exp: Add reassignment test.
2508
4268ec18
TT
25092019-06-14 Tom Tromey <tromey@adacore.com>
2510
2511 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
2512 'unchecked_access and 'unrestricted_access as well.
2513
9a9e394b
TT
25142019-06-14 Tom Tromey <tromey@adacore.com>
2515
2516 PR ada/24539:
2517 * gdb.ada/vla.exp: Update tests.
2518 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
2519 pragma.
2520
4c048731
PA
25212019-06-13 Pedro Alves <palves@redhat.com>
2522
2523 * gdb.base/settings.exp (test-integer): Test junk after
2524 "unlimited".
2525
6665660a
PA
25262019-06-13 Pedro Alves <palves@redhat.com>
2527
2528 * gdb.base/options.exp (test-thread-apply): New.
2529 (top level): Call it.
2530
5d707134
PA
25312019-06-13 Pedro Alves <palves@redhat.com>
2532
2533 * gdb.base/options.exp (test-frame-apply): New.
2534 (top level): Test print commands with different "frame apply"
2535 prefixes.
2536
e2a689da
PA
25372019-06-13 Pedro Alves <palves@redhat.com>
2538
e79be6e5 2539 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
2540 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
2541 'max_completions' parameter and handle it.
2542 (test_gdb_completion_offers_commands): New.
2543
90a1ef87
PA
25442019-06-13 Pedro Alves <palves@redhat.com>
2545
2546 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
2547
d4c16835
PA
25482019-06-13 Pedro Alves <palves@redhat.com>
2549
2550 * gdb.base/options.exp (test-backtrace): New.
2551 (top level): Call it.
2552
2daf894e
PA
25532019-06-13 Pedro Alves <palves@redhat.com>
2554
2555 * gdb.guile/scm-frame-args.exp: Use "set print
2556 raw-frame-arguments" instead of "set print raw frame-arguments".
2557 * gdb.python/py-frame-args.exp: Likewise.
2558
e6ed716c
PA
25592019-06-13 Pedro Alves <palves@redhat.com>
2560
2561 * gdb.compile/compile.exp: Adjust expected output to option
2562 processing changes.
2563
7d8062de
PA
25642019-06-13 Pedro Alves <palves@redhat.com>
2565
2566 * gdb.base/options.exp: Build executable.
2567 (test-print): New procedure.
2568 (top level): Call it, once for "print" and another for "compile
2569 print".
2570
9d0faba9
PA
25712019-06-13 Pedro Alves <palves@redhat.com>
2572
2573 * gdb.base/options.c: New file.
2574 * gdb.base/options.exp: New file.
2575
dee7b4c8
PA
25762019-06-13 Pedro Alves <palves@redhat.com>
2577
2578 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
2579 that "o" is ambiguous.
2580
dca0f6c0
PA
25812019-06-13 Pedro Alves <palves@redhat.com>
2582
2583 * gdb.base/settings.c: New file.
2584 * gdb.base/settings.exp: New file.
2585
ccf46844
PA
25862019-06-13 Pedro Alves <palves@redhat.com>
2587
2588 * gdb.base/completion.exp: Fix comment typo.
2589
b9a3f842
PA
25902019-06-13 Pedro Alves <palves@redhat.com>
2591
2592 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
2593 foo --1" test.
2594
d106773e
PA
25952019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
2596
2597 * gdb.fortran/block-data.f: New.
2598 * gdb.fortran/block-data.exp: New.
2599
fea82da0
TV
26002019-06-11 Tom de Vries <tdevries@suse.de>
2601
2602 PR testsuite/24521
2603 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
2604 message.
2605
8c2e74f1
TV
26062019-06-11 Tom de Vries <tdevries@suse.de>
2607
2608 PR testsuite/24521
2609 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
2610
b49851c8
TV
26112019-06-11 Tom de Vries <tdevries@suse.de>
2612
2613 * boards/readnow.exp: New file.
2614
a7067863
AB
26152019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
2616
2617 * gdb.fortran/vla-sizeof.exp: Update expected results.
2618
1a3da2cd
AB
26192019-06-06 Amos Bird <amosbird@gmail.com>
2620
2621 * gdb.base/annota1.exp (thread_switch): Add test for
2622 thread-exited annotation.
2623
3847a7bf
TT
26242019-06-06 Tom Tromey <tromey@adacore.com>
2625
2626 * gdb.base/maint.exp: Expect command started/finished output.
2627
0088ba59
AB
26282019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
2629
2630 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
2631 comment.
2632 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
2633
312617a3
AB
26342019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
2635
2636 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
2637 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
2638 * gdb.arch/riscv-unwind-long-insn.c: New file.
2639 * gdb.arch/riscv-unwind-long-insn.exp: New file.
2640
e1f2e1a2
CB
26412019-06-04 Christian Biesinger <cbiesinger@google.com>
2642
d3238f7d 2643 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 2644
206584bd
PW
26452019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2646
2647 * lib/gdb.exp (help_list_trailer): New regexp variable
2648 factorizing the help trailer message.
2649 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
2650 arg to allow to better factorize various tests.
2651 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
2652 (test_prefix_command_help): Use help_list_trailer.
2653 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
2654 * gdb.guile/scm-cmd.exp: Likewise.
2655 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
2656 * gdb.base/help.exp: Use test_user_defined_class_help.
2657 * gdb.base/style.exp: Add tests for styling of help and apropos.
2658 * lib/gdb-utils.exp (style): Add title and highlight styles.
2659
708dc93e
PW
26602019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2661
2662 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
2663 $_shell_exitsignal.
2664 * gdb.base/default.exp: Update for new convenience variables.
2665
f49055a5
TT
26662019-05-29 Tom Tromey <tromey@adacore.com>
2667
2668 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
2669 to "break complete ada" test case's regexp.
2670
4330d61d
TT
26712019-05-29 Tom Tromey <tromey@adacore.com>
2672
2673 PR c++/20020:
2674 * gdb.cp/constexpr-field.exp: New file.
2675 * gdb.cp/constexpr-field.cc: New file.
2676
000439d5
TT
26772019-05-29 Tom Tromey <tromey@adacore.com>
2678
2679 * gdb.base/finish.exp (finish_no_print): New proc.
2680 (finish_tests): Call it.
2681
5a01c34c
TV
26822019-05-24 Tom de Vries <tdevries@suse.de>
2683
2684 * gdb.dwarf2/gdb-add-index.exp: New file.
2685
18125b16
TT
26862019-05-22 Tom Tromey <tromey@adacore.com>
2687
2688 * gdb.base/info-shared.exp (check_info_shared): Use "style".
2689 * gdb.base/style.exp: Use "style".
2690 * lib/gdb-utils.exp (style): New proc.
2691
af1a8d03
TV
26922019-05-22 Tom de Vries <tdevries@suse.de>
2693
2694 * gdb.base/align.exp: Require c++11.
2695
e7fe496b
TV
26962019-05-22 Tom de Vries <tdevries@suse.de>
2697
2698 PR testsuite/24586
2699 * gdb.python/py-mi-var-info-path-expression.exp: Call
2700 mi_skip_python_tests to check if python is supported.
2701
8fca4da0
AH
27022019-05-22 Alan Hayward <alan.hayward@arm.com>
2703
2704 * gdb.arch/aarch64-pauth.c: New test.
2705 * gdb.arch/aarch64-pauth.exp: New file.
2706
b7060614
AH
27072019-05-22 Alan Hayward <alan.hayward@arm.com>
2708
2709 * README (Re-running Tests Outside The Testsuite): New section.
2710
669d0468
TV
27112019-05-21 Tom de Vries <tdevries@suse.de>
2712
2713 * gdb.arch/amd64-eval.exp: Require c++11.
2714 * gdb.base/max-depth.exp: Same.
2715 * gdb.compile/compile-cplus-array-decay.exp: Same.
2716 * gdb.cp/meth-typedefs.exp: Same.
2717 * gdb.cp/subtypes.exp: Same.
2718 * gdb.cp/temargs.exp: Same.
2719
ce3ebcaa
AH
27202019-05-21 Alan Hayward <alan.hayward@arm.com>
2721
2722 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
2723
34d11c68
AB
27242019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2725
2726 PR gdb/18644
2727 * gdb.fortran/complex.exp: Remove setup_kfail calls.
2728 * gdb.fortran/printing-types.exp: Add new test.
2729 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
2730 testing.
2731 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
2732 setup_kfail call.
2733
87781e84
AH
27342019-05-17 Alan Hayward <alan.hayward@arm.com>
2735
2736 * README (Running the Testsuite): Change example.
2737 (Testsuite Parameters): Remove TRANSCRIPT.
2738 * lib/gdb.exp: Remove TRANSCRIPT check.
2739
b420b89e
AH
27402019-05-17 Alan Hayward <alan.hayward@arm.com>
2741
2742 * README (Testsuite Parameters): Add replay logging to
2743 GDBSERVER_DEBUG.
2744 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
2745 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
2746 as a comma separated list.
2747 (gdb_debug_init): Override procedure.
2748
408e9b8b
AH
27492019-05-17 Alan Hayward <alan.hayward@arm.com>
2750
2751 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
2752 (gdb_write_cmd_file): New procedure.
2753 * lib/gdbserver-support.exp (gdbserver_start): Call
2754 gdbserver_write_cmd_file.
2755 (gdbserver_write_cmd_file): New procedure.
2756
f9e2e39d
AH
27572019-05-17 Alan Hayward <alan.hayward@arm.com>
2758
2759 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
2760 (delete_breakpoints): Likewise.
2761 (gdb_run_cmd): Likewise.
2762 (gdb_start_cmd): Likewise.
2763 (gdb_starti_cmd): Likewise.
2764 (gdb_internal_error_resync): Likewise.
2765 (gdb_test_multiple): Likewise.
2766 (gdb_reinitialize_dir): Likewise.
2767 (default_gdb_exit): Likewise.
2768 (gdb_file_cmd): Mark kill as optional.
2769 (default_gdb_start): Call gdb_stdin_log_init.
2770 (send_gdb): Call gdb_stdin_log_write.
2771 (rerun_to_main): Mark Y as an answer.
2772 (gdb_stdin_log_init): New function.
2773 (gdb_stdin_log_write): Likewise.
2774
81f47ac2
AH
27752019-05-17 Alan Hayward <alan.hayward@arm.com>
2776
2777 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
2778 * gdb.base/debug-expr.exp: Likewise.
2779 * gdb.base/foll-fork.exp: Likewise.
2780 * gdb.base/foll-vfork.exp: Likewise.
2781 * gdb.base/fork-print-inferior-events.exp: Likewise.
2782 * gdb.base/gdb-sigterm.exp: Likewise.
2783 * gdb.base/gdbinit-history.exp: Likewise.
2784 * gdb.base/osabi.exp: Likewise.
2785 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
2786 * gdb.base/ui-redirect.exp: Likewise.
2787 * gdb.gdb/unittest.exp: Likewise.
2788 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
2789 * gdb.mi/mi-watch.exp: Likewise.
2790 * gdb.mi/new-ui-mi-sync.exp: Likewise.
2791 * gdb.mi/user-selected-context-sync.exp: Likewise.
2792 * gdb.python/python.exp: Disable debug test when debugging.
2793 * gdb.threads/check-libthread-db.exp: Disable when debugging.
2794 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2795 Likewise.
2796 * gdb.threads/stepi-random-signal.exp: Likewise.
2797
29b52314
AH
27982019-05-17 Alan Hayward <alan.hayward@arm.com>
2799
2800 * Makefile.in: Pass through GDB_DEBUG.
2801 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
2802 (gdb,debug): Add board setting.
2803 * lib/gdb.exp (default_gdb_start): Start debugging.
2804 (gdb_debug_enabled): New procedure.
2805 (gdb_debug_init): Likewise.
29b52314
AH
2806
28072019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 2808
29b52314
AH
2809 * Makefile.in: Pass through GDB_DEBUG.
2810 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
2811 (gdb,debug): Add board setting.
2812 * lib/gdb.exp (default_gdb_start): Start debugging.
2813 (gdb_debug_enabled): New procedure.
2814 (gdb_debug_init): Likewise.
29b52314 2815
ca1285d1
AH
28162019-05-17 Alan Hayward <alan.hayward@arm.com>
2817
2818 * gdb.base/ui-redirect.exp: Add debug redirect tests.
2819
f3a09c80
AH
28202019-05-17 Alan Hayward <alan.hayward@arm.com>
2821
2822 * gdb.base/ui-redirect.exp: Test redirection.
2823
26648588
JV
28242019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
2825
2826 * gdb.mi/mi-complete.exp: New file.
2827 * gdb.mi/mi-complete.cc: Likewise.
2828
14237686
AB
28292019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
2830
2831 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
2832 indexed and sliced arrays, and pointers to arrays.
2833
e7bd7fba
TT
28342019-05-14 Tom Tromey <tromey@adacore.com>
2835
2836 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
2837 styling test.
2838
2764128d
TV
28392019-05-14 Tom de Vries <tdevries@suse.de>
2840
2841 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
2842 selection entry encoding.
2843
71bed2db
TT
28442019-05-10 Tom Tromey <tromey@adacore.com>
2845
2846 * gdb.ada/info_exc.exp: Add "complete" test.
2847
63b667ad
TV
28482019-05-09 Tom de Vries <tdevries@suse.de>
2849
2850 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
2851 CU-relative.
2852
9cfd2b89
TV
28532019-05-09 Tom de Vries <tdevries@suse.de>
2854
2855 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
2856 CU-relative.
2857
2228ef77
XR
28582019-05-08 Joel Brobecker <brobecker@adacore.com>
2859
2860 * gdb.ada/frame_arg_lang.exp: New testcase.
2861 * gdb.ada/frame_arg_lang/bla.adb: New file.
2862 * gdb.ada/frame_arg_lang/pck.ads: New file.
2863 * gdb.ada/frame_arg_lang/pck.adb: New file.
2864 * gdb.ada/frame_arg_lang/foo.c: New file.
2865
80e55b13
TT
28662019-05-08 Tom Tromey <tromey@adacore.com>
2867
2868 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
2869
9d3421af
TT
28702019-05-08 Tom Tromey <tromey@adacore.com>
2871
2872 * gdb.base/ptype-offsets.exp: Update tests.
2873
844333e2
TT
28742019-05-08 Tom Tromey <tromey@adacore.com>
2875
2876 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
2877 cases.
2878 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
2879 "short".
2880
988915ee
TT
28812019-05-08 Tom Tromey <tromey@adacore.com>
2882
2883 * gdb.ada/vla.exp: New file.
2884 * gdb.ada/vla/vla.adb: New file.
2885
7bd55dac
TV
28862019-05-07 Tom de Vries <tdevries@suse.de>
2887
2888 * gdb.base/index-cache.exp (ls_host): Fix return statement.
2889
75f06e9d
TV
28902019-05-07 Tom de Vries <tdevries@suse.de>
2891
2892 PR testsuite/24522
2893 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
2894 section.
2895
77e7aaa4
TV
28962019-05-07 Tom de Vries <tdevries@suse.de>
2897
2898 PR testsuite/24522
2899 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
2900 .debug_aranges section.
2901
456ba0fa
TV
29022019-05-07 Tom de Vries <tdevries@suse.de>
2903
2904 PR testsuite/24159
2905 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
2906
5a56d6a6
TV
29072019-05-06 Tom de Vries <tdevries@suse.de>
2908
2909 * lib/gdb.exp (exec_has_index_section): New proc.
2910 * gdb.base/index-cache.exp: Handle case that binfile contains an index
2911 section.
2912
9d6d4be8
TV
29132019-05-04 Tom de Vries <tdevries@suse.de>
2914
2915 * boards/cc-with-debug-names.exp: New file.
2916
222a8d25
TT
29172019-05-03 Tom Tromey <tromey@adacore.com>
2918
2919 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
2920 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
2921 * gdb.ada/char_enum.exp: Add test.
2922
0fdfd794
TV
29232019-05-03 Tom de Vries <tdevries@suse.de>
2924
2925 * boards/cc-with-gdb-index.exp: New file.
2926
80062eb9
AB
29272019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
2928
2929 * gdb.rust/simple.exp: Add new test case.
2930 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
2931 (main): Initialise an instance of the new struct.
2932
4504bbde
TT
29332019-05-01 Tom Tromey <tromey@adacore.com>
2934
2935 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
2936 record.
2937 (NPR): New variable.
2938 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
2939 test.
2940
d48e62f4
TT
29412019-05-01 Tom Tromey <tromey@adacore.com>
2942
2943 * gdb.ada/packed_array_assign.exp: Add packed assignment
2944 regression test.
2945
f59f30f5
TV
29462019-05-01 Tom de Vries <tdevries@suse.de>
2947
2948 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
2949
b70bfc54
TV
29502019-05-01 Tom de Vries <tdevries@suse.de>
2951
2952 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
2953
15f18d14
AT
29542019-04-30 Ali Tamur <tamur@google.com>
2955
2956 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
2957
2ff0a947
TT
29582019-04-30 Tom Tromey <tromey@adacore.com>
2959
2960 * lib/ada.exp (find_ada_tool): New proc.
2961 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
2962 * gdb.ada/catch_ex_std.exp: New file.
2963 * gdb.ada/catch_ex_std/foo.adb: New file.
2964 * gdb.ada/catch_ex_std/some_package.adb: New file.
2965 * gdb.ada/catch_ex_std/some_package.ads: New file.
2966
a776957c
TT
29672019-04-30 Tom Tromey <tromey@adacore.com>
2968
2969 PR c++/24470:
2970 * gdb.cp/temargs.cc: Add test code from PR.
2971
bc68014d
AB
29722019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2973
2974 * gdb.fortran/vla-datatypes.exp: Update expected results.
2975 * gdb.fortran/vla-ptype.exp: Likewise.
2976 * gdb.fortran/vla-type.exp: Likewise.
2977 * gdb.fortran/vla-value.exp: Likewise.
2978
f1fdc960
AB
29792019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2980
2981 * gdb.fortran/ptr-indentation.exp: Update expected results.
2982 * gdb.fortran/ptype-on-functions.exp: Likewise.
2983 * gdb.fortran/vla-ptr-info.exp: Likewise.
2984 * gdb.fortran/vla-value.exp: Likewise.
2985
bf7a4de1
AB
29862019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2987
2988 * gdb.fortran/ptype-on-functions.exp: New file.
2989 * gdb.fortran/ptype-on-functions.f90: New file.
2990
bbe75b9d
AB
29912019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2992
2993 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
2994 case void string.
2995
1db455a7
AB
29962019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2997
2998 * gdb.fortran/complex.exp: Expand.
2999 * gdb.fortran/complex.f: Renamed to...
3000 * gdb.fortran/complex.f90: ...this, and extended to add more
3001 complex values.
3002
b6d03bb2
AB
30032019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3004
3005 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
3006 MODULO, CMPLX.
3007
2e62ab40
AB
30082019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
3009 Richard Bunt <richard.bunt@arm.com>
3010
3011 * gdb.base/max-depth.c: New file.
3012 * gdb.base/max-depth.exp: New file.
3013 * gdb.python/py-nested-maps.c: New file.
3014 * gdb.python/py-nested-maps.exp: New file.
3015 * gdb.python/py-nested-maps.py: New file.
3016 * gdb.python/py-format-string.exp (test_max_depth): New proc.
3017 (test_all_common): Call test_max_depth.
3018 * gdb.fortran/max-depth.exp: New file.
3019 * gdb.fortran/max-depth.f90: New file.
3020 * gdb.go/max-depth.exp: New file.
3021 * gdb.go/max-depth.go: New file.
3022 * gdb.modula2/max-depth.exp: New file.
3023 * gdb.modula2/max-depth.c: New file.
3024 * lib/gdb.exp (get_print_expr_at_depths): New proc.
3025
d2b584a5
TV
30262019-04-29 Tom de Vries <tdevries@suse.de>
3027
3028 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
3029
136afab8
PW
30302019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3031
3032 * gdb.base/callexit.exp: Test may-call-functions off.
3033
725cbb63
KS
30342019-04-25 Keith Seitz <keiths@redhat.com>
3035
3036 PR c++/24367
3037 * gdb.cp/meth-typedefs.cc (incomplete_struct)
3038 (another_incomplete_struct, test_incomplete): New definitions.
3039 (main): Use new definitions.
3040 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
3041 functions.
3042
701adfb0
PA
30432019-04-25 Ali Tamur <tamur@google.com>
3044
3045 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
3046
82433e3e
SDJ
30472019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
3048
3049 PR corefiles/11608
3050 PR corefiles/18187
3051 * gdb.base/coredump-filter-build-id.exp: New file.
3052
dd06d4d6
AH
30532019-04-25 Alan Hayward <alan.hayward@arm.com>
3054
e79be6e5
SM
3055 * Makefile.in: Pass through GDBSERVER_DEBUG.
3056 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
3057 (gdbserver,debug): Add board setting.
3058 * gdb.trace/tspeed.exp: Skip when debugging.
3059 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
3060 * lib/gdbserver-support.exp: Likewise
dd06d4d6 3061
1670072e
TT
30622019-04-24 Tom Tromey <tromey@adacore.com>
3063
3064 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
3065 Rust.
3066
a59240a4
TT
30672019-04-24 Tom Tromey <tromey@adacore.com>
3068
3069 * gdb.arch/amd64-eval.exp: Test bitfield return.
3070 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
3071 (class Foo) <return_bitfields>: New method.
3072 (main): Call it.
3073
b907456c
AB
30742019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
3075
3076 * gdb.cp/many-args.cc: New file.
3077 * gdb.cp/many-args.exp: New file.
3078
5c565afd
TV
30792019-04-23 Tom de Vries <tdevries@suse.de>
3080
3081 PR gdb/24433
3082 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
3083
ba22ff86
AH
30842019-04-23 Alan Hayward <alan.hayward@arm.com>
3085
3086 * gdb.trace/backtrace.exp: Use nopie flag.
3087 * gdb.trace/circ.exp: Likewise.
3088 * gdb.trace/collection.exp: Likewise.
3089 * gdb.trace/ftrace.exp: Likewise.
3090 * gdb.trace/mi-trace-unavailable.exp: Likewise.
3091 * gdb.trace/mi-traceframe-changed.exp: Likewise.
3092 * gdb.trace/qtro.exp: Likewise.
3093 * gdb.trace/read-memory.exp: Likewise.
3094 * gdb.trace/report.exp: Likewise.
3095 * gdb.trace/tfile.exp: Likewise.
3096 * gdb.trace/tfind.exp: Likewise.
3097 * gdb.trace/unavailable.exp: Likewise.
3098
7905fc35
PA
30992019-04-22 Pedro Alves <palves@redhat.com>
3100
3101 * gdb.base/solib-probes-nosharedlibrary.c,
3102 gdb.base/solib-probes-nosharedlibrary.exp: New files.
3103
8ecb59f8
TT
31042019-04-19 Tom Tromey <tromey@adacore.com>
3105
3106 * gdb.ada/ptype_union.c: New file.
3107 * gdb.ada/ptype_union.exp: New file.
3108
62160ec9
TT
31092019-04-19 Tom Tromey <tromey@adacore.com>
3110
3111 PR symtab/24423:
3112 * gdb.base/list0.h (foo): Add a control-l character.
3113
36cd4ba5
TV
31142019-04-18 Tom de Vries <tdevries@suse.de>
3115
3116 PR gdb/24433
3117 * boards/local-board.exp: Set sysroot to "".
3118
b73715df
TV
31192019-04-18 Tom de Vries <tdevries@suse.de>
3120 Pedro Alves <palves@redhat.com>
3121
3122 PR gdb/24454
3123 * gdb.threads/vfork-follow-child-exec.c: New file.
3124 * gdb.threads/vfork-follow-child-exec.exp: New file.
3125 * gdb.threads/vfork-follow-child-exit.c: New file.
3126 * gdb.threads/vfork-follow-child-exit.exp: New file.
3127
4aa866af
LS
31282019-04-15 Leszek Swirski <leszeks@google.com>
3129
3130 * gdb.arch/amd64-eval.cc: New file.
3131 * gdb.arch/amd64-eval.exp: New file.
3132
e5a1a79a
AH
31332019-04-11 Alan Hayward <alan.hayward@arm.com>
3134
3135 * gdb.server/sysroot.c: New test.
3136 * gdb.server/sysroot.exp: New file.
3137 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
3138 matching param.
3139
41077b66
AB
31402019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
3141
3142 * gdb.base/align.exp: Extend test to cover structures containing
3143 only static fields.
3144
c30391f8
TV
31452019-04-11 Tom de Vries <tdevries@suse.de>
3146
3147 * boards/cc-with-dwz-m.exp: New file.
3148 * boards/cc-with-dwz.exp: New file.
3149 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
3150
e242fd12
SM
31512019-04-09 Simon Marchi <simon.marchi@efficios.com>
3152
3153 * gdb.base/start-cpp.exp: New file.
3154 * gdb.base/start-cpp.cc: New file.
3155
2b0c8b01
KB
31562019-04-08 Kevin Buettner <kevinb@redhat.com>
3157
3158 * gdb.python/py-thrhandle.exp: Adjust tests to call
3159 thread_from_handle instead of thread_from_thread_handle.
3160
947210e5
KB
31612019-04-08 Kevin Buettner <kevinb@redhat.com>
3162
3163 * gdb.python/py-thrhandle.exp: Add tests for
3164 gdb.InferiorThread.handle.
3165
d7df6549
AB
31662019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
3167
3168 * gdb.python/py-function.exp: Check calling helper function from
3169 all languages.
3170 * lib/gdb.exp (gdb_supported_languages): New proc.
3171
8bdc1658
AB
31722019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
3173
3174 * gdb.base/complex-parts.c: New file.
3175 * gdb.base/complex-parts.exp: New file.
3176
05caa1d2
TT
31772019-04-01 Tom Tromey <tromey@adacore.com>
3178
3179 PR symtab/23331:
3180 * gdb.dwarf2/dw2-ranges-main.c: New file.
3181 * gdb.dwarf2/dw2-ranges-psym.c: New file.
3182 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
3183
7734102d
EZ
31842019-03-30 Simon Marchi <simark@simark.ca>
3185
3186 * gdb.base/default.exp: Add values for $_gdb_major and
3187 $_gdb_minor.
3188
188e1fa9
TT
31892019-03-29 Tom Tromey <tromey@adacore.com>
3190
3191 * gdb.base/help.exp: Tighten apropos regexp.
3192
2880242d
KS
31932019-03-29 Keith Seitz <keiths@redhat.com>
3194
3195 * gdb.fortran/array-bounds.exp: New file.
3196 * gdb.fortran/array-bounds.f90: New file.
3197
077cad8e
PW
31982019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3199
3200 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
3201
80047cfc
PW
32022019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3203
3204 * gdb.multi/hello.c (main): Increase alarm timer.
3205
f489207e
SL
32062019-03-28 Sandra Loosemore <sandra@codesourcery.com>
3207
3208 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
3209 factor when no hardware watchpoint support.
3210
c92df149
AH
32112019-03-28 Alan Hayward <alan.hayward@arm.com>
3212 Pedro Alves <palves@redhat.com>
3213
3214 * boards/local-board.exp: set sysroot to /.
3215
933aebfa
AH
32162019-03-27 Alan Hayward <alan.hayward@arm.com>
3217
3218 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
3219 in child.
3220
9f9aa852
AB
32212019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
3222
3223 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
3224 field.
3225 (make_container): Initialise new field.
3226 * gdb.python/py-prettyprint.exp: Add new tests.
3227 * gdb.python/py-prettyprint.py (class ContainerPrinter)
3228 <display_hint>: New method.
3229
3714a195
AB
32302019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
3231
3232 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
3233 gdb_continue_to_breakpoint more throughout this test.
3234 (run_lang_tests) Supply unique test names, and use
3235 gdb_test_no_output.
3236
18c77628
AB
32372019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
3238
3239 * gdb.base/finish-pretty.exp: Update expected results.
3240 * gdb.base/pretty-print.c: New file.
3241 * gdb.base/pretty-print.exp: New file.
3242
9a93502f
PA
32432019-03-25 Pedro Alves <palves@redhat.com>
3244
3245 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
3246 move comments outside list. Append '-i "" eof' section.
3247
968aa7ae
AH
32482019-03-22 Alan Hayward <alan.hayward@arm.com>
3249
34a7f2a4 3250 PR testsuite/25016
968aa7ae
AH
3251 * README: Add pie options.
3252 * gdb.base/break-interp.exp: Ensure pie is disabled.
3253 * gdb.base/dump.exp: Likewise.
3254 * lib/gdb.exp (gdb_compile): Add pie option.
3255
4c7d57e7
TT
32562019-03-19 Tom Tromey <tromey@adacore.com>
3257
3258 * gdb.mi/mi2-cli-display.c: New file.
3259 * gdb.mi/mi2-cli-display.exp: New file.
3260
bff8c71f
TT
32612019-03-18 Joel Brobecker <brobecker@adacore.com>
3262 Tom Tromey <tromey@adacore.com>
3263
3264 * gdb.ada/ptype_array/pck.adb: New file.
3265 * gdb.ada/ptype_array/pck.ads: New file.
3266 * gdb.ada/ptype_array/foo.adb: New file.
3267 * gdb.ada/ptype_array.exp: New file.
3268
d085f989
TT
32692019-03-14 Tom Tromey <tromey@adacore.com>
3270
3271 * gdb.base/style.exp: Add "set style sources" test.
3272
b4be1b06
SM
32732019-03-13 Simon Marchi <simon.marchi@ericsson.com>
3274
3275 * mi-breakpoint-location-ena-dis.exp: Rename to ...
3276 * mi-breakpoint-multiple-locations.exp: ... this.
3277 (make_breakpoints_pattern): New proc.
3278 (do_test): Add mi_version parameter, test -break-insert,
3279 -break-info and =breakpoint-created.
3280
7cde5fc2
AB
32812019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
3282
3283 * config/default.exp: Remove 'load_lib gdb.exp'.
3284 * config/monitor.exp: Likewise.
3285 * config/sid.exp: Likewise.
3286 * config/sim.exp: Likewise.
3287 * config/slite.exp: Likewise.
3288 * config/unix.exp: Likewise.
3289 * gdb.base/default.exp: Remove unhelpful comment.
3290
efbecbc1
AB
32912019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3292
3293 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
3294
0841c79a
AB
32952019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3296
3297 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
3298
4a270568
AB
32992019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3300
3301 * gdb.fortran/type-kinds.exp: Update expected results.
3302
067630bd
AB
33032019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3304
3305 * gdb.fortran/type-kinds.exp: Test new integer type kind.
3306
3be47f7a
AB
33072019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3308
3309 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
3310 function.
3311 (test_basic_parsing_of_type_kinds): Expand types tested.
3312 (test_parsing_invalid_type_kinds): New function.
3313
4d00f5d8
AB
33142019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3315
3316 * gdb.fortran/intrinsics.exp: New file.
3317 * gdb.fortran/intrinsics.f90: New file.
3318 * gdb.fortran/type-kinds.exp: New file.
3319
c8f91604
AB
33202019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3321
3322 * gdb.fortran/dot-ops.exp: New file.
3323
dd9f2c76
AB
33242019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3325
3326 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
3327 Check upper and lower case logical literals.
3328
84ec9724
AB
33292019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3330
3331 * gdb.fortran/types.exp (test_float_literal_types_accepted):
3332 Remove duplicate tests.
3333
c3734e09
AH
33342019-03-06 Alan Hayward <alan.hayward@arm.com>
3335
3336 * lib/gdb.exp (builtin_cd): rename of cd.
3337 (cd): Override builtin.
3338
aa3cfbda
RB
33392019-03-06 Richard Bunt <richard.bunt@arm.com>
3340
3341 * gdb.fortran/function-calls.exp: New file.
3342 * gdb.fortran/function-calls.f90: New test.
3343
7b63ad86
RB
33442019-03-04 Richard Bunt <richard.bunt@arm.com>
3345
3346 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
3347 on user program standard output.
3348 * gdb.fortran/short-circuit-argument-list.f90: Record function
3349 calls.
3350
01abb042
AH
33512019-02-28 Alan Hayward <alan.hayward@arm.com>
3352
c3734e09
AH
3353 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
3354 failure.
01abb042 3355
92137da0
RO
33562019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3357
3358 PR gdb/8527
3359 * gdb.base/interrupt-daemon-attach.c,
3360 gdb.base/interrupt-daemon-attach.exp: New test.
3361
5862844d
PA
33622019-02-27 Pedro Alves <palves@redhat.com>
3363
3364 * gdb.base/page.exp: Add tests for "set width/height -1".
3365
8ed25214
PA
33662019-02-27 Pedro Alves <palves@redhat.com>
3367
3368 * gdb.base/page.exp: Add tests for "set/show width/height" with
3369 "infinite" values.
3370
6c28e44a
TT
33712019-02-27 Tom Tromey <tromey@adacore.com>
3372
3373 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
3374 2.4.
3375 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
3376 workaround.
3377
bf9a735e
AB
33782019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
3379
3380 * gdb.base/align.exp: Extend to compile in both C and C++, and add
3381 tests for structs with static members.
3382
8791793c
TT
33832019-02-26 Tom Tromey <tromey@adacore.com>
3384
3385 * gdb.python/py-value.exp (test_value_from_buffer): Check for
3386 ValueError, not TypeError.
3387
bc2a507e
KB
33882019-02-26 Kevin Buettner <kevinb@redhat.com>
3389
3390 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
3391 call from main program.
3392
e0e7d3bd
JB
33932019-02-23 Joel Brobecker <brobecker@adacore.com>
3394
3395 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
3396 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
3397 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
3398 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
3399 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
3400
9600246d
KS
34012019-02-22 Keith Seitz <keiths@redhat.com>
3402
3403 PR symtab/23853
3404 * gdb.base/symlink-sourcefile.c: New file.
3405 * gdb.base/symlink-sourcefile.exp: New file.
3406
0c95f9ed
TT
34072019-02-20 Tom Tromey <tom@tromey.com>
3408
3409 * gdb.base/info_qt.exp: Update.
3410
6caa91b6
SM
34112019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
3412
3413 * gdb.base/source.exp: Move "error in sourced script" code to
3414 the end.
3415 * gdb.base/source-error.gdb: Move contents to
3416 source-error-1.gdb. Add new code to source source-error-1.gdb.
3417 * gdb.base/source-error-1.gdb: New file, from previous
3418 source-error.gdb.
3419
6506371f
TT
34202019-02-17 Tom Tromey <tom@tromey.com>
3421
3422 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
3423 for macro styling.
3424 * gdb.base/style.c (SOME_MACRO): New macro.
3425
a0087920
TT
34262019-02-17 Tom Tromey <tom@tromey.com>
3427
3428 * gdb.base/style.exp: Add line-wrapping tests.
3429 * gdb.base/page.exp: Add test for quitting during pagination.
3430
a2cd4f14
JB
34312019-02-17 Joel Brobecker <brobecker@adacore.com>
3432
3433 * gdb.ada/big_packed_array: New testcase.
3434 * gdb.ada/homonym.exp: Fix incorrect expected output for
3435 "break <homonym__get_value>" test.
3436
9d70ffbc
WP
34372019-02-13 Weimin Pan <weimin.pan@oracle.com>
3438
3439 PR breakpoints/21870
3440 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
3441 and prepare_for_testing. Add comment.
3442 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
3443 redundant cleanup call. Clean up comment.
3444
01c7ae81
WP
34452019-02-12 Weimin Pan <weimin.pan@oracle.com>
3446
3447 PR breakpoints/21870
3448 * gdb.arch/aarch64-dbreg-contents.exp: New file.
3449 * gdb.arch/aarch64-dbreg-contents.c: New file.
3450
aff29d1c
JB
34512019-02-10 Joel Brobecker <brobecker@adacore.com>
3452
3453 * gdb.ada/mi_ref_changeable: New testcase.
3454
df0da8a2
AH
34552019-02-07 Alan Hayward <alan.hayward@arm.com>
3456
3457 * gdb.base/attach.exp: Add double attach test.
3458
bd447abb
SM
34592019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
3460
3461 * lib/gdb.exp (default_gdb_start): Don't match pagination
3462 prompt.
3463 (gdb_init): Set stty_init.
3464
1dbc40b9
TT
34652019-01-27 Tom Tromey <tom@tromey.com>
3466
3467 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
3468 skip_python_tests.
3469
353229bf
AH
34702019-01-24 Alan Hayward <alan.hayward@arm.com>
3471
3472 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
3473 New structure.
3474 (struct struct_static_02_02): Likewise.
3475 (struct struct_static_02_03): Likewise.
3476 (struct struct_static_02_04): Likewise.
3477 (struct struct_static_04_01): Likewise.
3478 (struct struct_static_04_02): Likewise.
3479 (struct struct_static_04_03): Likewise.
3480 (struct struct_static_04_04): Likewise.
3481 (struct struct_static_06_01): Likewise.
3482 (struct struct_static_06_02): Likewise.
3483 (struct struct_static_06_03): Likewise.
3484 (struct struct_static_06_04): Likewise.
3485 (cmp_struct_static_02_01): Likewise.
3486 (cmp_struct_static_02_02): Likewise.
3487 (cmp_struct_static_02_03): Likewise.
3488 (cmp_struct_static_02_04): Likewise.
3489 (cmp_struct_static_04_01): Likewise.
3490 (cmp_struct_static_04_02): Likewise.
3491 (cmp_struct_static_04_03): Likewise.
3492 (cmp_struct_static_04_04): Likewise.
3493 (cmp_struct_static_06_01): Likewise.
3494 (cmp_struct_static_06_02): Likewise.
3495 (cmp_struct_static_06_03): Likewise.
3496 (cmp_struct_static_06_04): Likewise.
3497 (call_all): Test new structs.
3498 * gdb.base/infcall-nested-structs.exp: Likewise.
3499
73021deb
AH
35002019-01-21 Alan Hayward <alan.hayward@arm.com>
3501 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
3502
fc65c7db
AH
35032019-01-21 Alan Hayward <alan.hayward@arm.com>
3504 * gdb.base/stack-protector.c: New test.
3505 * gdb.base/stack-protector.exp: New file.
3506 * gdb.cp/ovldbreak.exp: Only allow a single break line.
3507 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
3508 option.
3509 (gdb_compile): Remove stack protector for GCC and prevent
3510 recursion.
3511
c24bdb02
KS
35122019-01-16 Keith Seitz <keiths@redhat.com>
3513
3514 PR gdb/23773
3515 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
3516
6f072a10
PFC
35172019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3518
3519 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
3520 aliases.
3521 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
3522 tests.
3523 * gdb.arch/powerpc-vector-regs.c: New file.
3524 * gdb.arch/powerpc-vector-regs.exp: New file.
3525
a7b8d682
PFC
35262019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3527
3528 * gdb.arch/altivec-regs.exp: Fix the list passed to
3529 gdb_expect_list when testing "info vector".
3530
6eb6fb67
AB
35312019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
3532
3533 * gdb.base/style.exp: Don't include path in testname.
3534
b56f80d8
KS
35352019-01-10 Keith Seitz <keiths@redhat.com>
3536
3537 PR gdb/23712
3538 PR symtab/23010
3539 * gdb.dwarf2/multidictionary.exp: New file.
3540
041be526
SM
35412019-01-09 Simon Marchi <simon.marchi@ericsson.com>
3542
3543 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
3544 (test_gnuv3_style_demangling): ... this.
3545 (test_lucid_style_demangling): Remove.
3546 (test_arm_style_demangling): Remove.
3547 (test_hp_style_demangling): Remove.
3548 (do_tests): Remove calls to the above.
3549
d820d0c3
AB
35502019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3551
3552 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
3553 case.
3554
f097f5ad
TT
35552019-01-06 Tom Tromey <tom@tromey.com>
3556
3557 PR gdb/28155:
3558 * gdb.dwarf2/typedef-void-finish.exp: New file.
3559
2cd8cc0b
TT
35602018-12-28 Tom Tromey <tom@tromey.com>
3561 Simon Marchi <simark@simark.ca>
3562
3563 * gdb.base/jit-exec.exp: New file.
3564 * gdb.base/jit-exec.c: New file.
3565 * gdb.base/jit-execd.c: New file.
3566
35fb8261
TT
35672018-12-28 Tom Tromey <tom@tromey.com>
3568
3569 * gdb.base/style.exp: Update test to check for address styling.
3570
47fd17cd
TT
35712018-12-28 Tom Tromey <tom@tromey.com>
3572
3573 * gdb.base/style.exp: Add test for styling of "Reading symbols"
3574 message.
3575
d47032b7
TT
35762018-12-28 Tom Tromey <tom@tromey.com>
3577
3578 * gdb.base/style.exp: Add test for version number styling.
3579
af79b68d
TT
35802018-12-28 Tom Tromey <tom@tromey.com>
3581
3582 * gdb.base/style.exp: Add test for print_address_symbolic.
3583
0bb296cb
TT
35842018-12-28 Tom Tromey <tom@tromey.com>
3585
3586 * gdb.base/style.exp: Add test for breakpoint setting.
3587
80ae2043
TT
35882018-12-28 Tom Tromey <tom@tromey.com>
3589
3590 * gdb.base/style.exp: Add test for variable names.
3591
cbe56571
TT
35922018-12-28 Tom Tromey <tom@tromey.com>
3593
3594 * gdb.base/style.exp: New file.
3595 * gdb.base/style.c: New file.
3596
9162a27c
TT
35972018-12-28 Tom Tromey <tom@tromey.com>
3598
3599 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
3600 "dumb".
3601 * gdb.base/readline.exp (operate_and_get_next): Save and restore
3602 the TERM environment variable.
3603
bc543c90
TT
36042018-12-27 Tom Tromey <tom@tromey.com>
3605
3606 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
3607 pagination test.
3608
6f0ffe50
AB
36092018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
3610
3611 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
3612 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
3613
b5a1e557
PW
36142018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3615
3616 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
3617 Filename a.adb changed to bp_fun_addr.adb.
3618 gdb.ada/bp_fun_addr.exp: Update test accordingly.
3619
6e8b1ab2
JV
36202018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
3621
3622 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
3623 non-PIE executables.
3624 * README: Mention the gdb,nopie_flag board setting.
3625 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
3626 non-PIE executable.
3627 * gdb.arch/amd64-entry-value.exp: Likewise.
3628 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
3629 * gdb.arch/i386-float.exp: Likewise.
3630 * gdb.arch/i386-signal.exp: Likewise.
3631 * gdb.mi/mi-reg-undefined.exp: Likewise.
3632
d00a27c5
PM
36332018-12-21 Paul Marechal <paul.marechal@ericsson.com>
3634
3635 PR gdb/23974
3636 * gdb.base/info-os.exp: Check return for unknown "info os" type.
3637
161d081c
PW
36382018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3639
3640 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
3641 Update order of results accordingly.
3642
b001de23
AB
36432018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
3644
3645 * gdb.base/annota1.exp: Update a test regexp.
3646
99e1a184
AB
36472018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
3648
3649 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
3650
7a81c1e2
PW
36512018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3652
3653 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
3654 (reuse_time): Initialize to REUSE_TIME_CAP.
3655 (check_rc): New function.
3656 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
3657 Check pthread_create rc.
3658 (spawner_thread_func): Check pthread_create and pthread_join rc.
3659
73e8dc90
PA
36602018-12-08 Pedro Alves <palves@redhat.com>
3661
3662 * gdb.base/list.exp (test_forward_search): Rename to ...
3663 (test_forward_reverse_search): ... this. Also test reverse-search
3664 and the forward-search alias.
3665
13f2ed32
AB
36662018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
3667
3668 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
3669 local timeout variable before return, and remove all local timeout
3670 variable entirely.
3671 (gdb_load): Likewise.
3672
64d27cfc
TV
36732018-12-01 Tom de Vries <tdevries@suse.de>
3674
3675 * gdb.base/gdb-caching-proc.exp: New file.
3676
f63c03b4
SDJ
36772018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
3678
3679 * Makefile.in (TIMESTAMP): New variable.
3680 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
3681 command.
3682 (check-single-racy): Likewise.
3683 (check/%.exp): Likewise.
3684 (check-racy/%.exp): Likewise.
3685 (workers/%.worker): Likewise.
3686 (build-perf): Likewise.
3687 (check-perf): Likewise.
3688 * README: Describe new "TS" and "TS_FORMAT" variables.
3689 * print-ts.py: New file.
3690
1c97054b
BF
36912018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
3692
3693 PR python/23714
3694 * gdb.python/python.exp: Test command repetition after
3695 gdb.execute.
3696
1871a62d
AB
36972018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
3698
3699 * gdb.opt/inline-break.exp: Add test that info breakpoint output
3700 is correctly aligned.
3701
fb5e1ed9
PW
37022018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3703
3704 * gdb.ada/info_auto_lang.exp: New testcase.
3705 * gdb.ada/info_auto_lang/global_pack.ads: New file.
3706 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
3707 * gdb.ada/info_auto_lang/some_c.c: New file.
3708
43d397ca
PW
37092018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3710
3711 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
3712 FUNC_lang language syntax.
3713
beddd671
PW
37142018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3715
3716 * gdb.base/info_minsym.c: New file.
3717 * gdb.base/info_minsym.exp: New file.
3718
73fc52c4
TT
37192018-11-19 Tom Tromey <tom@tromey.com>
3720
3721 PR rust/23625:
3722 * gdb.rust/simple.exp: Add ptype test. Update expected output.
3723 * gdb.rust/expr.exp: Update expected output. Change one test.
3724
994b876a
TT
37252018-11-19 Tom Tromey <tom@tromey.com>
3726
3727 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
3728
6769f276
PA
37292018-11-19 Pedro Alves <palves@redhat.com>
3730
3731 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
3732 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
3733 see the expected warning.
3734
38a72da0
AH
37352018-11-16 Alan Hayward <alan.hayward@arm.com>
3736
3737 PR gdb/22736:
3738 * gdb.cp/infcall-nodebug-lib.c: New test.
3739 * gdb.cp/infcall-nodebug-main.c: New test.
3740 * gdb.cp/infcall-nodebug.exp: New file.
3741
53a89d6e
SM
37422018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
3743
3744 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
3745 completer tests.
3746
9325300d
TV
37472018-11-09 Tom de Vries <tdevries@suse.de>
3748
3749 * gdb.base/msym-lang.c: New test.
3750 * gdb.base/msym-lang.exp: New file.
3751 * gdb.base/msym-lang-main.c: New test.
3752
20f0d60d
TT
37532018-11-08 Tom Tromey <tom@tromey.com>
3754
3755 PR gdb/23555:
3756 PR gdb/23838:
3757 * gdb.base/warning.exp: New file.
3758
b5420128
JB
37592018-11-08 Jan Beulich <jbeulich@suse.com>
3760
3761 * testsuite/gdb.arch/i386-avx512.c,
3762 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
3763
cd115d61
AB
37642018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
3765
3766 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
3767 point hardware.
3768
35ee2dc2
AB
37692018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
3770
3771 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
3772 * gdb.dwarf2/missing-type-name.exp: New file.
3773
31aceee8
TV
37742018-11-06 Tom de Vries <tdevries@suse.de>
3775
3776 * gdb.base/many-headers.c: New test.
3777 * gdb.base/many-headers.exp: New file.
3778
109be305
JW
37792018-11-06 Jim Wilson <jimw@sifive.com>
3780
3781 * gdb.base/code_elim.exp: For riscv, set additional_flags
3782 to include -msmall-data-limit=0.
3783
e2b7af72
JB
37842018-11-01 Joel Brobecker <brobecker@adacore.com>
3785
3786 * gdb.ada/watch_minus_l: New testcase.
3787
cdcda965
SM
37882018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
3789
3790 * gdb.arch/aix-sighandle.c: New file.
3791 * gdb.arch/aix-sighandle.exp: New file.
3792
92dcebf3
AB
37932018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3794
3795 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
3796 registers being unions.
3797
68b9ac18
TV
37982018-10-31 Tom de Vries <tdevries@suse.de>
3799
3800 * lib/valgrind.exp: New file.
3801 (vgdb_start, vgdb_stop): New procs, factored out of ...
3802 * gdb.base/valgrind-bt.exp: ... here, ...
3803 * gdb.base/valgrind-disp-step.exp: ... here and ...
3804 * gdb.base/valgrind-infcall.exp: ... here.
3805
1443936e
TV
38062018-10-31 Tom de Vries <tdevries@suse.de>
3807
3808 * lib/gdb.exp (get_valueof): Don't output read value in test name.
3809
eb77c9df
AB
38102018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3811
3812 * gdb.dwarf2/void-type.c: New file.
3813 * gdb.dwarf2/void-type.exp: New file.
3814
82b5e646
PW
38152018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3816
3817 * gdb.base/info_qt.c: New file.
3818 * gdb.base/info_qt.exp: New file.
3819
8d619c01
EBM
38202018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3821
3822 * gdb.arch/powerpc-htm-regs.c: New file.
3823 * gdb.arch/powerpc-htm-regs.exp: New file.
3824
f2cf6173
EBM
38252018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3826
3827 * gdb.arch/powerpc-tar.c: New file.
3828 * gdb.arch/powerpc-tar.exp: New file.
3829
7ca18ed6
EBM
38302018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3831
3832 * gdb.arch/powerpc-ppr-dscr.c: New file.
3833 * gdb.arch/powerpc-ppr-dscr.exp: New file.
3834
bfcc0eba
TV
38352018-10-25 Tom de Vries <tdevries@suse.de>
3836
3837 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
3838
fe1a5cad
TV
38392018-10-24 Tom de Vries <tdevries@suse.de>
3840
3841 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
3842 longer exists error.
3843
a76dc3b7
TV
38442018-10-24 Tom de Vries <tdevries@suse.de>
3845
3846 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
3847
4df46df7
TV
38482018-10-24 Tom de Vries <tdevries@suse.de>
3849
3850 * gdb.base/valgrind-db-attach.exp: Handle removed support for
3851 --db-attach in valgrind.
3852
0dbfcfff
AB
38532018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
3854
3855 * gdb.arch/riscv-reg-aliases.c: New file.
3856 * gdb.arch/riscv-reg-aliases.exp: New file.
3857
b04480b1
AH
38582018-10-19 Alan Hayward <alan.hayward@arm.com>
3859
3860 * gdb.python/py-cmd.exp: Check for gdb_prompt.
3861
2c6ac8d7
AH
38622018-10-19 Alan Hayward <alan.hayward@arm.com>
3863
3864 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
3865
2bc69f25
AH
38662018-10-19 Alan Hayward <alan.hayward@arm.com>
3867
3868 * gdb.cp/ovldbreak.exp: Fix regexps.
3869
1f1ae3a3
AH
38702018-10-19 Alan Hayward <alan.hayward@arm.com>
3871
3872 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
3873
94c18618
SDJ
38742018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
3875
3876 PR cli/23785
3877 * gdb.base/restore.exp: New test to check if "restore" with an
3878 invalid file doesn't segfault.
3879
812cd6eb
TV
38802018-10-18 Tom de Vries <tdevries@suse.de>
3881
3882 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
3883 * gdb.ada/excep_handle.exp: Same.
3884 * gdb.ada/mi_string_access.exp: Same.
3885 * gdb.ada/mi_var_union.exp: Same.
3886 * gdb.arch/arc-analyze-prologue.exp: Same.
3887 * gdb.arch/arc-decode-insn.exp: Same.
3888 * gdb.base/readnever.exp: Same.
3889 * gdb.fortran/printing-types.exp: Same.
3890 * gdb.guile/scm-lazy-string.exp: Same.
3891
c4b90788
TV
38922018-10-16 Tom de Vries <tdevries@suse.de>
3893
3894 PR gdb/23730
3895 * gdb.base/catch-follow-exec.c: Add copyright notice.
3896 * gdb.base/catch-follow-exec.exp: Rewrite to use
3897 gdb_spawn_with_cmdline_opts. Require gdb-native.
3898
8bca2978
SL
38992018-10-12 Sandra Loosemore <sandra@codesourcery.com>
3900
3901 * gdb.trace/actions-changed.exp: Check for arch support.
3902 * gdb.trace/actions.exp: Likewise.
3903 * gdb.trace/ax.exp: Likewise.
3904 * gdb.trace/backtrace.exp: Likewise.
3905 * gdb.trace/change-loc.exp: Likewise.
3906 * gdb.trace/deltrace.exp: Likewise.
3907 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
3908 * gdb.trace/ftrace.exp: Likewise.
3909 * gdb.trace/infotrace.exp: Check for arch support.
3910 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
3911 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
3912 * gdb.trace/mi-tsv-changed.exp: Likewise.
3913 * gdb.trace/packetlen.exp: Likewise.
3914 * gdb.trace/passc-dyn.exp: Likewise.
3915 * gdb.trace/passcount.exp: Likewise.
3916 * gdb.trace/pending.exp: Likewise.
3917 * gdb.trace/range-stepping.exp: Check for shlib support.
3918 * gdb.trace/report.exp: Check for arch support.
3919 * gdb.trace/save-trace.exp: Likewise.
3920 * gdb.trace/signal.exp: Check for signal support.
3921 * gdb.trace/tfind.exp: Check for arch support.
3922 * gdb.trace/trace-break.exp: Check for arch and shlib support.
3923 * gdb.trace/trace-common.h: Add comment.
3924 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
3925 * gdb.trace/trace-enable-disable.exp: Likewise.
3926 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
3927 * gdb.trace/tracecmd.exp: Check for arch support.
3928 * gdb.trace/tspeed.exp: Check for shlib and target support.
3929 * gdb.trace/tstatus.exp: Check for arch support.
3930 * gdb.trace/tsv.exp: Likewise.
3931 * gdb.trace/while-dyn.exp: Likewise.
3932 * gdb.trace/while-stepping.exp: Likewise.
3933 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
3934
f9c49bff
SM
39352018-10-12 Simon Marchi <simon.marchi@ericsson.com>
3936
3937 * gdb.trace/tspeed.exp: Remove nowarnings.
3938 (prepare_for_trace_test): Declare "global ipalib".
3939 * gdb.trace/tspeed.c: Include unistd.h.
3940 (main): Remove superfluous printf argument.
3941
d4330bde
SL
39422018-10-11 Sandra Loosemore <sandra@codesourcery.com>
3943
3944 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
3945 directory prefix on the filename.
3946
8ecfd7bd
SDJ
39472018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
3948
3949 * gdb.gdb/unittest.exp: Update expected message informing that
3950 selftests have been disabled.
3951 * gdb.server/unittest.exp: Likewise.
3952
58bbcd02
TV
39532018-10-09 Tom de Vries <tdevries@suse.de>
3954
3955 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
3956 with runto_main.
3957
9f6b697b
WP
39582018-10-08 Weimin Pan <weimin.pan@oracle.com>
3959
3960 PR c++/16841
3961 * gdb.cp/virtbase2.cc: New file.
3962 * gdb.cp/virtbase2.exp: New file.
3963
add5ded5
TT
39642018-10-06 Tom Tromey <tom@tromey.com>
3965
3966 PR python/19399:
3967 * gdb.python/py-inferior.exp: Add architecture test.
3968
f9e48344
TT
39692018-10-06 Tom Tromey <tom@tromey.com>
3970
3971 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
3972 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
3973
2a8be203
TT
39742018-10-06 Tom Tromey <tom@tromey.com>
3975
3976 * gdb.python/py-breakpoint.exp (check_last_event): Check location
3977 of a "throw" catchpoint.
3978
e04caa70
SDJ
39792018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
3980
3981 * gdb.base/info-proc.exp: Update string expected from "help info
3982 proc".
3983
5ca8c39f
TT
39842018-10-04 Tom Tromey <tom@tromey.com>
3985
3986 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
3987 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
3988 (test_initial_complaints, test_empty_complaints): Update.
3989 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3990
3453e7e4
TT
39912018-10-04 Tom Tromey <tom@tromey.com>
3992
3993 PR cli/19551:
3994 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
3995 * lib/gdb.exp (gdb_file_cmd): Update.
3996 * gdb.stabs/weird.exp (print_weird_var): Update.
3997 * gdb.server/solib-list.exp: Update.
3998 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
3999 * gdb.mi/mi-cli.exp: Update.
4000 * gdb.linespec/linespec.exp: Update.
4001 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
4002 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
4003 * gdb.cp/cp-relocate.exp: Update.
4004 * gdb.base/sym-file.exp: Update.
4005 * gdb.base/relocate.exp: Update.
4006 * gdb.base/readnever.exp: Update.
4007 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
4008 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
4009 * gdb.base/dbx.exp (gdb_file_cmd): Update.
4010 * gdb.base/code_elim.exp: Update.
4011 * gdb.base/break-unload-file.exp (test_break): Update.
4012 * gdb.base/break-interp.exp (test_attach_gdb): Update.
4013 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
4014 Update.
4015 * gdb.base/attach.exp (do_attach_tests): Update.
4016 * gdb.base/sepdebug.exp: Update.
4017 * gdb.python/py-section-script.exp: Update.
4018
6afcf761
TT
40192018-10-04 Tom Tromey <tom@tromey.com>
4020
4021 PR cli/22234:
4022 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
4023 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
4024 output.
4025
fef1b293
TT
40262018-10-04 Tom Tromey <tom@tromey.com>
4027
4028 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
4029 set width and height to 0.
4030 (test_command_line_attach_run): Use -quiet.
4031
ca98345e
SL
40322018-10-03 Sandra Loosemore <sandra@codesourcery.com>
4033
4034 * lib/gdb.exp (skip_ifunc_tests): New.
4035 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
4036 other compile failures.
4037 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
4038
ff34e6ae
SM
40392018-10-01 Simon Marchi <simon.marchi@ericsson.com>
4040
4041 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
4042 is_amd64_regs_target.
4043
6bb8890e
AH
40442018-10-01 Alan Hayward <alan.hayward@arm.com>
4045
4046 * gdb.arch/aarch64-sighandler-regs.c: New test.
4047 * gdb.arch/aarch64-sighandler-regs.exp: New file.
4048 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
4049
224d30d3
MM
40502018-10-01 Markus Metzger <markus.t.metzger@intel.com>
4051
4052 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
4053 assembly.
4054
f67ffa6a
AB
40552018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
4056
4057 * gdb.base/frame-selection.exp: New file.
4058 * gdb.base/frame-selection.c: New file.
4059
9fc3183f
AH
40602018-09-27 Alan Hayward <alan.hayward@arm.com>
4061
4062 * gdb.threads/check-libthread-db.c (thread_routine): Use a
4063 pthread barrier.
4064 (main): Likewise.
4065
d354055e
AB
40662018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
4067
4068 * gdb.base/large-frame-1.c: New file.
4069 * gdb.base/large-frame-2.c: New file.
4070 * gdb.base/large-frame.exp: New file.
4071 * gdb.base/large-frame.h: New file.
4072
db727370
JL
40732018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
4074
4075 PR gdb/20948
4076 * gdb.base/write_mem.exp: New test.
4077 * gdb.base/write_mem.c: Likewise.
4078
ae778caf
TT
40792018-09-23 Tom Tromey <tom@tromey.com>
4080
4081 PR python/18852:
4082 * gdb.python/py-parameter.exp: Add test for parameter that throws
4083 on "set".
4084
fd3ba736
TT
40852018-09-23 Tom Tromey <tom@tromey.com>
4086
4087 PR python/17284:
4088 * gdb.python/py-template.exp (test_template_arg): Add test for
4089 negative template argument number.
4090
39a24317
TT
40912018-09-23 Tom Tromey <tom@tromey.com>
4092
4093 PR python/14062:
4094 * gdb.python/python.exp: Add test for post_event error.
4095
f5769a2c
TT
40962018-09-23 Tom Tromey <tom@tromey.com>
4097
4098 PR python/18170:
4099 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
4100 convert pointers to int and long.
4101
1c1e54f6
TT
41022018-09-23 Tom Tromey <tom@tromey.com>
4103
4104 PR python/20126:
4105 * gdb.python/py-value.exp (test_value_numeric_ops): Add
4106 signed-ness conversion tests.
4107
fb4fa946
TT
41082018-09-23 Tom Tromey <tom@tromey.com>
4109
4110 PR python/18352;
4111 * gdb.python/py-value.exp (test_float_conversion): New proc.
4112 Use it.
4113
a466edac
HAQ
41142018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
4115
4116 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
4117
4ee9b0c5
SL
41182018-09-18 Sandra Loosemore <sandra@codesourcery.com>
4119
4120 * gdb.base/complete-empty.exp: Skip tab-completion tests if
4121 no readline.
4122 * gdb.base/utf8-identifiers.exp: Likewise.
4123 * gdb.cp/cpcompletion.exp: Likewise.
4124 * gdb.linespec/cpcompletion.exp: Likewise.
4125 * gdb.linespec/cpls-abi-tag.exp: Likewise.
4126 * gdb.linespec/cpls-ops.exp: Likewise.
4127
23be8da7
RB
41282018-09-19 Richard Bunt <richard.bunt@arm.com>
4129 Chris January <chris.january@arm.com>
4130
4131 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
4132 * gdb.fortran/short-circuit-argument-list.exp: New file.
4133 * gdb.fortran/short-circuit-argument-list.f90: New test.
4134
5031d0ae
SDJ
41352018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4136
4137 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
4138 "arch=" keyword when executing "-stack-list-frames".
4139
b4c0d1a4
SDJ
41402018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4141
4142 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
4143 "arch=" keyword when executing "-stack-list-frames".
4144
7a6d2b45
SDJ
41452018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4146
4147 * gdb.ada/complete.exp: Expect for "@" when doing "complete
4148 break ada".
4149
8588b356
SM
41502018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
4151
4152 PR python/23669
4153 * gdb.python/python.exp: Test gdb.execute("show commands").
4154
65e65158
TT
41552018-09-16 Tom Tromey <tom@tromey.com>
4156
4157 * gdb.base/new-ui.exp (do_execution_tests): Update.
4158 * gdb.base/dbx.exp (test_breakpoints): Update.
4159
bf326452
AH
41602018-09-14 Alan Hayward <alan.hayward@arm.com>
4161
4162 * lib/gdb.exp (gdb_simple_compile): Add proc.
4163 (is_elf_target): Use gdb_simple_compile.
4164 (skip_altivec_tests): Likewise.
4165 (skip_vsx_tests): Likewise.
4166 (skip_tsx_tests): Likewise.
4167 (skip_btrace_tests): Likewise.
4168 (skip_btrace_pt_tests): Likewise.
4169 (gdb_can_simple_compile): Likewise.
4170 (gdb_has_argv0): Likewise.
4171 (gdb_target_symbol_prefix): Likewise.
4172 (target_supports_scheduler_locking): Likewise.
4173
2361b0fb
TT
41742018-09-13 Tom Tromey <tom@tromey.com>
4175
4176 * Makefile.in (TAGS): Recognize proc_with_prefix and
4177 gdb_caching_proc.
4178
0ae1a321
SM
41792018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4180
4181 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
4182 method.
4183
a40bf0c2
SM
41842018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4185
4186 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
4187 and a few other Inferior properties when the Inferior is no
4188 longer valid.
4189
4a3fe98f
TT
41902018-09-13 Tom Tromey <tom@tromey.com>
4191
4192 PR rust/23650:
4193 * gdb.rust/simple.exp: Add test for enum field access error.
4194
098b2108
TT
41952018-09-13 Tom Tromey <tom@tromey.com>
4196
4197 PR rust/23626:
4198 * gdb.rust/simple.rs (EmptyEnum): New type.
4199 (main): Use it.
4200 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
4201
1256af7d
SM
42022018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4203
4204 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
4205 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
4206 * gdb.python/py-symtab.exp: Update test printing an objfile.
4207
4aa8e6c2
SM
42082018-09-12 Simon Marchi <simon.marchi@ericsson.com>
4209
4210 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
4211 object.
4212
c221b2f7
AH
42132018-09-12 Alan Hayward <alan.hayward@arm.com>
4214
4215 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
4216 (support_complex_tests): Use gdb_can_simple_compile.
4217 (is_ilp32_target): Likewise.
4218 (is_lp64_target): Likewise.
4219 (is_64_target): Likewise.
4220 (is_amd64_regs_target): Likewise.
4221 (is_aarch32_target): Likewise.
4222 (gdb_int128_helper): Likewise.
4223
6f1107b5
JK
42242018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4225
4226 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
4227
1f5d1570
JG
42282018-09-10 Jerome Guitton <guitton@adacore.com>
4229
4230 * gdb.ada/same_component_name: Add test for case of tagged record
4231 with variable-length fields.
4232
cc330e39
XR
42332018-09-10 Xavier Roirand <roirand@adacore.com>
4234
4235 * gdb.ada/access_to_unbounded_array.exp: New testcase.
4236 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
4237 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
4238 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
4239
b9c50e9a
XR
42402018-09-10 Xavier Roirand <roirand@adacore.com>
4241
4242 * gdb.ada/mi_string_access.exp: New testcase.
4243 * gdb.ada/mi_string_access/bar.adb: New file.
4244 * gdb.ada/mi_string_access/pck.adb: New file.
4245 * gdb.ada/mi_string_access/pck.asd: New file.
4246
2963898f
XR
42472018-09-10 Xavier Roirand <roirand@adacore.com>
4248
4249 * gdb.ada/mi_var_union.exp: New testcase.
4250 * gdb.ada/mi_var_union/bar.adb: New file.
4251 * gdb.ada/mi_var_union/pck.adb: New file.
4252 * gdb.ada/mi_var_union/pck.asd: New file.
4253
1aac008f
TT
42542018-09-08 Tom Tromey <tom@tromey.com>
4255
4256 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
4257
332cf4c9
TT
42582018-09-08 Tom Tromey <tom@tromey.com>
4259
4260 PR python/16047:
4261 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
4262 (register_pretty_printers): Register new printer.
4263 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
4264 test.
4265 * gdb.python/py-prettyprint.c (int_type3): New typedef.
4266 (an_int_type3): New global.
4267
424da6cf
JB
42682018-09-08 Joel Brobecker <brobecker@adacore.com>
4269
4270 * gdb.ada/expr_with_funcall: New testcase.
4271
2a62dfa9
JB
42722018-09-08 Joel Brobecker <brobecker@adacore.com>
4273
4274 * gdb.ada/packed_array_assign: New testcase.
4275
96b6697f
AB
42762018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
4277
4278 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
4279 names, and add test prefixes to make test names unique.
4280
e4a62c65
TV
42812018-09-05 Tom de Vries <tdevries@suse.de>
4282
4283 * gdb.dwarf2/varval.exp: Add test.
4284
dd083ee2
GB
42852018-09-04 Gary Benson <gbenson@redhat.com>
4286
4287 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
4288 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
4289
aef9346c
TT
42902018-08-31 Tom Tromey <tom@tromey.com>
4291
4292 * gdb.rust/simple.rs: Rename second variable "v".
4293
c67f2e15
AB
42942018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
4295
4296 * gdb.base/funcargs.c (use_a): New function.
4297 (recurse): Call use_a.
4298
078a0207
KS
42992018-08-29 Keith Seitz <keiths@redhat.com>
4300
4301 * gdb.compile/compile-cplus-anonymous.cc: New file.
4302 * gdb.compile/compile-cplus-anonymous.exp: New file.
4303 * gdb.compile/compile-cplus-array-decay.cc: New file.
4304 * gdb.compile/compile-cplus-array-decay.exp: New file.
4305 * gdb.compile/compile-cplus-inherit.cc: New file.
4306 * gdb.compile/compile-cplus-inherit.exp: New file.
4307 * gdb.compile/compile-cplus-member.cc: New file.
4308 * gdb.compile/compile-cplus-member.exp: New file.
4309 * gdb.compile/compile-cplus-method.cc: New file.
4310 * gdb.compile/compile-cplus-method.exp: New file.
4311 * gdb.compile/compile-cplus-mod.c: "New" file.
4312 * gdb.compile/compile-cplus-namespace.cc: New file.
4313 * gdb.compile/compile-cplus-namespace.exp: New file.
4314 * gdb.compile/compile-cplus-nested.cc: New file.
4315 * gdb.compile/compile-cplus-nested.exp: New file.
4316 * gdb.compile/compile-cplus-print.c: "New" file.
4317 * gdb.compile/compile-cplus-print.exp: "New" file.
4318 * gdb.compile/compile-cplus-virtual.cc: New file.
4319 * gdb.compile/compile-cplus-virtual.exp: New file.
4320 * gdb.compile/compile-cplus.c: "New" file.
4321 * gdb.compile/compile-cplus.exp: "New" file.
4322 * lib/compile-support.exp: New file.
4323
b0f492b9
GB
43242018-08-16 Gary Benson <gbenson@redhat.com>
4325
4326 PR gdb/13000:
4327 * gdb.base/batch-exit-status.exp: New file.
4328 * gdb.base/batch-exit-status.good-commands: Likewise.
4329 * gdb.base/batch-exit-status.bad-commands: Likewise.
4330
36eb4c5f
AH
43312018-08-29 Alan Hayward <alan.hayward@arm.com>
4332
4333 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
4334 (struct struct02): Likewise.
4335 (struct struct03): Likewise.
4336 (struct struct04): Likewise.
4337 (struct struct_01_01): New struct.
4338 (struct struct_01_02): Likewise.
4339 (struct struct_01_03): Likewise.
4340 (struct struct_01_04): Likewise.
4341 (struct struct_02_01): Likewise.
4342 (struct struct_02_02): Likewise.
4343 (struct struct_02_03): Likewise.
4344 (struct struct_02_04): Likewise.
4345 (struct struct_04_01): Likewise.
4346 (struct struct_04_02): Likewise.
4347 (struct struct_04_03): Likewise.
4348 (struct struct_04_04): Likewise.
4349 (struct struct_05_01): Likewise.
4350 (struct struct_05_02): Likewise.
4351 (struct struct_05_03): Likewise.
4352 (struct struct_05_04): Likewise.
4353 (cmp_struct01): Remove function.
4354 (cmp_struct02): Likewise.
4355 (cmp_struct03): Likewise.
4356 (cmp_struct04): Likewise.
4357 (cmp_struct_01_01): Add Function.
4358 (cmp_struct_01_02): Likewise.
4359 (cmp_struct_01_03): Likewise.
4360 (cmp_struct_01_04): Likewise.
4361 (cmp_struct_02_01): Likewise.
4362 (cmp_struct_02_02): Likewise.
4363 (cmp_struct_02_03): Likewise.
4364 (cmp_struct_02_04): Likewise.
4365 (cmp_struct_04_01): Likewise.
4366 (cmp_struct_04_02): Likewise.
4367 (cmp_struct_04_03): Likewise.
4368 (cmp_struct_04_04): Likewise.
4369 (cmp_struct_05_01): Likewise.
4370 (cmp_struct_05_02): Likewise.
4371 (cmp_struct_05_03): Likewise.
4372 (cmp_struct_05_04): Likewise.
4373 (call_all): Add new structs.
4374 * gdb.base/infcall-nested-structs.exp: Likewise.
4375
3bf9c013
JV
43762018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
4377
4378 * gdb.python/py-framefilter-mi.exp: Update regexp to
4379 check for "arch" field in frame output.
4380
450d1e88
KB
43812018-08-23 Kevin Buettner <kevinb@redhat.com>
4382
4383 * gdb.dwarf2/dw2-ranges-func.c: New file.
4384 * gdb.dwarf2/dw2-ranges-func.exp: New file.
4385
ae739fe7
SM
43862018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
4387
4388 * gdb.base/term.exp: Compare terminal settings with values from
4389 the inferior.
4390 * gdb.base/term.c: Get and set terminal settings.
4391
6d52907e
JV
43922018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
4393
4394 * lib/mi-support.exp (mi_expect_stop): Update regexp to
4395 accommodate new "arch" field in frame output.
4396 * gdb.mi/mi-return.exp: Likewise.
4397 * gdb.mi/mi-stack.exp: Likewise.
4398 * gdb.mi/mi-syn-frame.exp: Likewise.
4399 * gdb.mi/user-selected-context-sync.exp: Likewise.
4400
be2d111a
MS
44012018-08-19 Michael Spang <spang@google.com>
4402
4403 PR gdb/11786
4404 * gdb.base/gcore-tls-pie.c: New file.
4405 * gdb.base/gcore-tls-pie.exp: New file.
4406
ae3a7c47
KB
44072018-08-18 Kevin Buettner <kevinb@redhat.com>
4408
4409 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
4410 * gdb.dwarf2/varval.c: New file.
4411 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 4412
2ecae92e
AH
44132018-08-17 Alan Hayward <alan.hayward@arm.com>
4414
4415 PR gdb/18931
4416 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
4417
c1854f1d
KS
44182018-08-16 Keith Seitz <keiths@redhat.com>
4419
4420 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
4421 tests expected to pass.
4422
26fb3983
JV
44232018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
4424
4425 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
4426 -data-disassemble -a.
4427 (test_disassembly_bogus_args): Likewise.
4428
67943c00
AB
44292018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
4430
4431 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
4432
5ff2bbae
AB
44332018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
4434
4435 * gdb.base/vla-optimized-out.exp: Add new test.
4436
e5bbcd0f
AB
44372018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
4438
4439 * gdb.base/vla-optimized-out-o3.exp: Delete.
4440 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
4441 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
4442 deleted tests.
4443
9d4a934c
AB
44442018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
4445
4446 PR gdb/18050:
4447 * gdb.server/extended-remote-restart.c: New file.
4448 * gdb.server/extended-remote-restart.exp: New file.
4449
045cf012
SM
44502018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
4451
4452 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
4453 "set variable index = 42".
4454
87d6a7aa
SM
44552018-08-07 Simon Marchi <simon.marchi@ericsson.com>
4456
4457 * boards/index-cache-gdb.exp: New file.
4458 * gdb.dwarf2/index-cache.exp: New file.
4459 * gdb.dwarf2/index-cache.c: New file.
4460 * gdb.base/maint.exp: Check if we are using the index cache.
4461
96d68bd4
RO
44622018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4463
4464 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
4465 MAKEFLAGS.
4466
5a699617
RO
44672018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4468
4469 * dg-extract-results.sh: Move to toplevel contrib.
4470 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
4471 * Makefile.in (check-parallel-racy): Likewise.
4472
5bd18990
AB
44732018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
4474
4475 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
4476 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
4477 tests if the target supports scheduler locking.
4478
3fbbcf47
TV
44792018-08-04 Tom de Vries <tdevries@suse.de>
4480
4481 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
4482
3e1d3d8c
TT
44832018-08-02 Tom Tromey <tom@tromey.com>
4484
4485 PR symtab/16842.
4486 * gdb.cp/temargs.exp: Test "info address" of a template
4487 parameter.
4488
5abe0f0c
JV
44892018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
4490
4491 * gdb.python/py-mi-var-info-path-expression.c: New file.
4492 * gdb.python/py-mi-var-info-path-expression.py: New file.
4493 * gdb.python/py-mi-var-info-path-expression.exp: New file.
4494
fb66cde8
SDJ
44952018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
4496
4497 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
4498 error after "cannot resolve name" string.
4499
c708f4d2
AB
45002018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
4501
4502 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
4503 started.
4504 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
4505
37cc0cae
TV
45062018-07-28 Tom de Vries <tdevries@suse.de>
4507
4508 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
4509
63b4ecf7
TV
45102018-07-26 Tom de Vries <tdevries@suse.de>
4511
4512 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
4513
3c3bb058
AB
45142018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
4515
4516 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
4517 is visible.
4518
9e7f3bbb
TV
45192018-07-26 Tom de Vries <tdevries@suse.de>
4520
4521 PR breakpoints/23366
4522 * gdb.base/catch-follow-exec.c: New test.
4523 * gdb.base/catch-follow-exec.exp: New file.
4524
16f808ec
TV
45252018-07-25 Tom de Vries <tdevries@suse.de>
4526
4527 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
4528 vla-optimized-out.c.
4529
d7154a8d
JV
45302018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
4531
4532 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
4533 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
4534
232a0032
TV
45352018-07-20 Tom de Vries <tdevries@suse.de>
4536
4537 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
4538 NOCLONE macro.
4539 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
4540
fbb1d502
TV
45412018-07-19 Tom de Vries <tdevries@suse.de>
4542
4543 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
4544 regular expression.
4545
42dc7699
TV
45462018-07-18 Tom de Vries <tdevries@suse.de>
4547
4548 * gdb.base/vla-optimized-out.c: New test.
4549 * gdb.base/vla-optimized-out.exp: New file.
4550
7f1f7e23
SDJ
45512018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
4552
4553 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
4554 message "No address associated with hostname" when gdbserver
4555 cannot resolve the hostname.
4556
5759ebb3
PW
45572018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4558
4559 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
4560 Add some test prefixes to make tests unique.
4561
3606ccab
PW
45622018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4563
4564 * gdb.base/frameapply.c: New file.
4565 * gdb.base/frameapply.exp: New file.
4566
529c08b2
PW
45672018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4568
4569 * gdb.base/skip.exp: Update expected error message.
4570
c7ab0aef
SDJ
45712018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
4572 Jan Kratochvil <jan.kratochvil@redhat.com>
4573 Paul Fertser <fercerpav@gmail.com>
4574 Tsutomu Seki <sekiriki@gmail.com>
4575
4576 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
4577 parameter.
4578 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
4579 by default.
4580 * boards/native-gdbserver.exp: Likewise.
4581 * gdb.server/run-without-local-binary.exp: Improve regexp used
4582 for detecting when a remote debugging connection succeeds.
4583 * gdb.server/server-connect.exp: New file.
4584 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
4585 Do not prefix the port number with ":".
4586 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
4587 support for detecting and using it. Add '$debughost_gdbserver'
4588 to the list of arguments used to start gdbserver. Handle case
4589 when gdbserver cannot resolve a network name.
4590
16ff70dd
SDJ
45912018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
4592
4593 PR c++/23373
4594 * gdb.base/ptype-offsets.cc (struct static_member): New
4595 struct.
4596 (main) <stmember>: New variable.
4597 * gdb.base/ptype-offsets.exp: Add test for printing a struct
4598 with a static member in it.
4599
3541979f
AB
46002018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
4601
4602 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
4603 watchpoints enabled and disabled.
4604
c8ad9b9a
AB
46052018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4606
4607 * gdb.base/examine-backward.exp: Still run tests around address
4608 0x0, even if address 0x0 is not readable. Update the pattern for
4609 matching address 0x0 in expected output.
4610
e0e5e971
AB
46112018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
4612
4613 * gdb.base/share-env-with-gdbserver.c (main): Add call to
4614 malloc/free.
4615
1ea5da02
TV
46162018-07-04 Tom de Vries <tdevries@suse.de>
4617
4618 * gdb.dwarf2/dw2-error.exp: Update expected error message.
4619
471b9d15
MR
46202018-07-02 Maciej W. Rozycki <macro@mips.com>
4621
4622 PR tdep/8282
4623 * gdb.arch/mips-disassembler-options.exp: New test.
4624 * gdb.arch/mips-disassembler-options.s: New test source.
4625
75acb486
PA
46262018-06-29 Pedro Alves <palves@redhat.com>
4627
4628 * gdb.threads/names.exp: Adjust expected "info threads" output.
4629
cd2bb709
PA
46302018-06-29 Pedro Alves <palves@redhat.com>
4631
4632 * gdb.opt/inline-break.exp (line number, address): Add "info
4633 break" tests.
4634
991ff292
PA
46352018-06-29 Pedro Alves <palves@redhat.com>
4636
4637 * gdb.opt/inline-break.c (func1): Add "break here" marker.
4638 * gdb.opt/inline-break.exp: Test setting breakpoints by line
4639 number and address and running to them.
4640
356819b6 46412018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
4642
4643 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
4644
2512d7ef
JK
46452018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4646
4647 * lib/compiler.c: Remove executable permission flag.
4648
be1b6474
RB
46492018-06-28 Richard Bunt <richard.bunt@arm.com>
4650
4651 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
4652 code.
4653 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
4654
291f9a96
PT
46552018-06-28 Petr Tesarik <ptesarik@suse.cz>
4656
4657 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
4658
ed6dfe51
PT
46592018-06-28 Petr Tesarik <ptesarik@suse.cz>
4660
4661 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
4662 address argument is omitted.
4663
d4d429d5
PT
46642018-06-28 Petr Tesarik <ptesarik@suse.cz>
4665
4666 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
4667
7ab6656f
OJ
46682018-06-27 Omair Javaid <omair.javaid@linaro.org>
4669
4670 PR gdb/21695
4671 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
4672 * gdb.base/infoline-reloc-main-from-zero.c: New file.
4673
a33ccfc7
TT
46742018-06-26 Tom Tromey <tom@tromey.com>
4675
4676 PR rust/22574:
4677 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
4678 * gdb.rust/simple.rs (struct SimpleLayout): New.
4679
6d72d289
SM
46802018-06-22 Simon Marchi <simon.marchi@ericsson.com>
4681
4682 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
4683 "info registers" output.
4684
8363f9d5
RB
46852018-06-21 Richard Bunt <richard.bunt@arm.com>
4686
4687 * gdb.base/watchpoint-hw-attach.c: New test.
4688 * gdb.base/watchpoint-hw-attach.exp: New file.
4689
f00674fe
SM
46902018-06-20 Simon Marchi <simon.marchi@ericsson.com>
4691
4692 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
4693 through /bin/sh.
4694 * boards/dwarf4-gdb-index.exp: Likewise.
4695 * boards/fission-dwp.exp: Likewise.
4696
1d554008
UW
46972018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
4698
4699 * gdb.base/float128.exp: Add comment and improved fail message
4700 to the failure case of "print large128" test.
4701
d0ac1c44
SM
47022018-06-19 Simon Marchi <simon.marchi@ericsson.com>
4703
4704 * configure.ac: Remove AC_PREREQ.
4705 * configure: Re-generate.
4706
61b04dd0
PA
47072018-06-19 Pedro Alves <palves@redhat.com>
4708
4709 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
4710 (func_extern_caller): New.
4711 (main): Call func_extern_caller.
4712 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
4713 logic change.
4714
f63b508a
SM
47152018-06-18 Weimin Pan <weimin.pan@oracle.com>
4716
4717 PR gdb/16841
4718 * gdb.cp/typedef-base.cc: New file.
4719 * gdb.cp/typedef-base.exp: New file.
4720
0fe3a558
TV
47212018-06-18 Tom de Vries <tdevries@suse.de>
4722
4723 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
4724
7010835a
AB
47252018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
4726 Richard Bunt <Richard.Bunt@arm.com>
4727
4728 * gdb.threads/attach-slow-waitpid.c: New file.
4729 * gdb.threads/attach-slow-waitpid.exp: New file.
4730 * gdb.threads/slow-waitpid.c: New file.
4731
14897d65
PA
47322018-06-14 Pedro Alves <palves@redhat.com>
4733
4734 * gdb.base/fork-running-state.c: Include <errno.h>.
4735 (exit_if_relative_exits): New.
4736 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
4737 exits.
4738 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
4739 child exits.
4740
5d9a0608
TV
47412018-06-14 Tom de Vries <tdevries@suse.de>
4742
4743 PR cli/22573
4744 * gdb.base/finish-pretty.c: New test.
4745 * gdb.base/finish-pretty.exp: New file.
4746
11ae5818
PA
47472018-06-14 Pedro Alves <palves@redhat.com>
4748
4749 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
4750 gdb's expected startup output.
4751
1d39de44
PA
47522018-06-14 Pedro Alves <palves@redhat.com>
4753
4754 * lib/selftest-support.exp (selftest_setup): Remove inlined
4755 function handling.
4756
70ee0000
TV
47572018-06-14 Tom de Vries <tdevries@suse.de>
4758
4759 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
4760 matching of breakpoint printing.
4761
11f4b608
TV
47622018-06-13 Tom de Vries <tdevries@suse.de>
4763
4764 PR testsuite/23269
4765 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
4766 (fork_child): ... here, and ...
4767 (fork_parent): ... here.
4768
47692018-06-12 Tom de Vries <tdevries@suse.de>
4770
4771 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
4772
9516f85a
AB
47732018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
4774 Stephen Roberts <stephen.roberts@arm.com>
4775
4776 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
4777 rewrite test to describe action performed, rather than possible
4778 failure.
4779
5045b3d7
GB
47802018-06-08 Gary Benson <gbenson@redhat.com>
4781
4782 * gdb.threads/check-libthread-db.exp: New file.
4783 * gdb.threads/check-libthread-db.c: Likewise.
4784
c61b06a1
TT
47852018-06-05 Tom Tromey <tom@tromey.com>
4786
4787 * gdb.base/default.exp: Update expected "show version" output.
4788
eb6af809
TT
47892018-06-05 Tom Tromey <tom@tromey.com>
4790
4791 PR cli/12326:
4792 * gdb.cp/static-print-quit.exp: Update.
4793 * lib/gdb.exp (pagination_prompt): Update.
4794 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
4795 * gdb.python/python.exp: Update.
4796
178d6a63
JB
47972018-06-04 Joel Brobecker <brobecker@adacore.com>
4798
4799 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
4800
8e817061
JB
48012018-06-01 Joel Brobecker <brobecker@adacore.com>
4802
4803 * gdb.ada/bp_fun_addr: New testcase.
4804
e86ca25f
TT
48052018-06-01 Tom Tromey <tom@tromey.com>
4806
4807 * gdb.xml/tdesc-regs.exp (load_description): Update expected
4808 results.
4809 * gdb.dwarf2/method-ptr.exp: Set language to C++.
4810 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
4811 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
4812 * gdb.base/maint.exp (maint_pass_if): Update.
4813
4b2dfa9d
MR
48142018-05-31 Maciej W. Rozycki <macro@mips.com>
4815
4816 * gdb.base/endian.exp: New test.
4817 * gdb.base/endian.c: New test source.
4818
45f25d6c
AB
48192018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
4820
4821 PR gdb/23203
4822 * gdb.base/bt-selected-frame.c: New file.
4823 * gdb.base/bt-selected-frame.exp: New file.
4824 * lib/gdb.exp (get_current_frame_number): New function.
4825
d9f6d7f8
MR
48262018-05-24 Maciej W. Rozycki <macro@mips.com>
4827 Pedro Alves <palves@redhat.com>
4828
4829 * gdb.threads/tls-core.c: Include <stdlib.h>
4830 (thread_proc): Call `abort'.
4831 * gdb.threads/tls-core.exp: Generate a core with core_find too.
4832 (tls_core_test): New procedure, bits factored out from ...
4833 (top level): ... here. Test both native cores and gcore cores.
4834
ff1cf532
TT
48352018-05-23 Tom Tromey <tom@tromey.com>
4836
4837 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
4838
b98664d3
TT
48392018-05-23 Tom Tromey <tom@tromey.com>
4840
4841 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
4842 symfile_complaints.
4843 (test_short_complaints): Likewise.
4844 (test_empty_complaints): Likewise.
4845 (test_initial_complaints): Update.
4846
4e9668d0
TT
48472018-05-23 Tom Tromey <tom@tromey.com>
4848
4849 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
4850
43ba33c7
TT
48512018-05-23 Tom Tromey <tom@tromey.com>
4852
4853 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
4854 (test_short_complaints): Update.
4855
035522c0
PA
48562018-05-22 Pedro Alves <palves@redhat.com>
4857
4858 * gdb.base/remote.exp: Only gdb_start after compiling the
4859 testcase. Issue "disconnect" before testing "set remote" command
4860 defaults. Issue clean_restart before running to main.
4861
cc0be08f
PA
48622018-05-22 Pedro Alves <palves@redhat.com>
4863
4864 * gdb.base/remote.exp: Adjust expected output of "show remote
4865 memory-write-packet-size". Add tests for "set remote
4866 memory-write-packet-size 0" and "set remote
4867 memory-write-packet-size fixed/limit".
4868
b1b60145
PA
48692018-05-22 Pedro Alves <palves@redhat.com>
4870
4871 PR gdb/22973
4872 * gdb.base/utf8-identifiers.c: New file.
4873 * gdb.base/utf8-identifiers.exp: New file.
4874
0ec848ad
PFC
48752018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
4876
4877 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
4878
2c3305f6
PFC
48792018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
4880
4881 * gdb.arch/powerpc-vsx-gcore.exp: New file.
4882
ce1e8424
TT
48832018-05-18 Tom Tromey <tom@tromey.com>
4884
4885 * gdb.base/ptype-offsets.exp: Update.
4886
ddfe970e
KS
48872018-05-17 Keith Seitz <keiths@redhat.com>
4888
4889 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
4890 in expected breakpoint stop locations.
4891 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
4892 move to proper scope to test variable values.
4893 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
4894 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
4895 New functions.
4896 (main): Call not_inline_func3.
4897 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
4898 inline_func1, inline_func2, and inline_func3. Test that when each
4899 breakpoint is hit, GDB properly reports both the stop location
4900 and the backtrace. Repeat tests for temporary breakpoints.
4901
0726fcc6
MR
49022018-05-15 Maciej W. Rozycki <macro@mips.com>
4903
4904 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
4905 rather then trying to access it in determining whether the PID
4906 of `gdbserver' could have been retrieved.
4907
8ee22052
AB
49082018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
4909
4910 * gdb.arch/amd64-init-x87-values.S: New file.
4911 * gdb.arch/amd64-init-x87-values.exp: New file.
4912
7785df48
JK
49132018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4914
4915 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
4916
56bcdbea
TT
49172018-05-04 Tom Tromey <tom@tromey.com>
4918
4919 PR python/22730:
4920 * gdb.python/python.exp: Test multi-line execute.
4921
a913fffb
TT
49222018-05-04 Tom Tromey <tom@tromey.com>
4923
4924 PR python/22731:
4925 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
4926
7a2c85f2
TT
49272018-05-04 Tom Tromey <tom@tromey.com>
4928
4929 PR gdb/11750:
4930 * gdb.base/define.exp: Test defining a user command inside a user
4931 command.
4932 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
4933
a3b60e45
JK
49342018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4935 Pedro Alves <palves@redhat.com>
4936
4937 PR breakpoints/19806 and support for PR external/20207.
4938 * gdb.base/watchpoint-unaligned.c: New file.
4939 * gdb.base/watchpoint-unaligned.exp: New file.
4940
45fe4a03
AB
49412018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4942
4943 * gdb.base/maint.exp: Make test names unique, use
4944 test_prefix_command_help to test 'help maint info', and remove
4945 repeated test of 'help maint'.
4946
9be2ae8f
TT
49472018-05-04 Tom Tromey <tom@tromey.com>
4948
4949 PR gdb/22619:
4950 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
4951 behavior.
4952
11859c31
AB
49532018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4954
4955 * gdb.base/maint.exp: Process output from 'maint print registers'
4956 line at a time.
4957
089a9490
AB
49582018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4959
4960 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
4961 timeout.
4962
9b0797e2
AB
49632018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
4964
4965 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
4966 filter pattern.
4967
f6ac5f3d
PA
49682018-05-02 Pedro Alves <palves@redhat.com>
4969
4970 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
4971 to_log_command renames.
4972 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
4973
77d3c63b
TT
49742018-05-02 Tom Tromey <tom@tromey.com>
4975
4976 * gdb.python/py-parameter.exp: Set test message.
4977
0489430a
TT
49782018-05-02 Tom Tromey <tom@tromey.com>
4979
4980 PR python/20084:
4981 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
4982 PARAM_ZUINTEGER_UNLIMITED tests.
4983
1632f8ba
DR
49842018-04-28 Dan Robertson <danlrobertson89@gmail.com>
4985
4986 PR rust/23124
4987 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
4988 when casting.
4989
6d7bb824
TT
49902018-04-30 Tom Tromey <tom@tromey.com>
4991
4992 * gdb.python/py-type.exp: Check align attribute.
4993 * gdb.python/py-type.c: New "aligncheck" global.
4994
007e1530
TT
49952018-04-30 Tom Tromey <tom@tromey.com>
4996
4997 PR exp/17095:
4998 * gdb.dwarf2/dw2-align.exp: New file.
4999 * gdb.cp/align.exp: New file.
5000 * gdb.base/align.exp: New file.
5001 * lib/gdb.exp (gdb_int128_helper): New proc.
5002 (has_int128_c, has_int128_cxx): New caching procs.
5003
6873858b
TT
50042018-04-27 Tom Tromey <tom@tromey.com>
5005
5006 PR rust/22545:
5007 * gdb.rust/simple.exp: Add inclusive range tests.
5008
79188d8d
PA
50092018-04-26 Pedro Alves <palves@redhat.com>
5010
5011 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
5012 ifunc breakpoint locations correctly of ifunc breakpoints set
5013 while the program resolves the ifunc.
5014
c7075ad5
PA
50152018-04-26 Pedro Alves <palves@redhat.com>
5016
5017 * gdb.base/gnu-ifunc-final.c: New file.
5018 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
5019 * gdb.base/gnu-ifunc.exp (executable): Delete.
5020 (staticexecutable): Adjust.
5021 (lib_opts, exec_opts): Delete.
5022 (make_binsuffix, build, set-break): New procedures.
5023 (misc_tests): New, with tests factored out from the top level.
5024 (top level): Test different combinations of ifunc resolver name,
5025 resolver with and with debug info, and ifunc target with and
5026 without debug info. Wrap static tests with with_target_prefix.
5027
8388016d
PA
50282018-04-26 Pedro Alves <palves@redhat.com>
5029
5030 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
5031 return type" warnings.
5032
249b5733
PA
50332018-04-25 Pedro Alves <palves@redhat.com>
5034
5035 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
5036 killed".
5037 * gdb.base/kill-after-signal.exp: Likewise.
5038 * gdb.threads/kill.exp: Likewise.
5039
f67c0c91
SDJ
50402018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5041 Sergio Durigan Junior <sergiodj@redhat.com>
5042 Pedro Alves <palves@redhat.com>
5043
5044 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
5045 regexps to expect for '[Inferior ... detached]' as well.
5046 * gdb.base/attach.exp: Likewise.
5047 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
5048 "gdb_continue_to_end".
5049 (test_catch_syscall_with_wrong_args): Likewise.
5050 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
5051 ']'. Don't set 'verbose' on.
5052 * gdb.base/foll-vfork.exp: Likewise.
5053 * gdb.base/fork-print-inferior-events.c: New file.
5054 * gdb.base/fork-print-inferior-events.exp: New file.
5055 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
5056 '[Inferior ... has been killed]' message.
5057 * gdb.base/kill-after-signal.exp: Likewise.
5058 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
5059 detach message.
5060 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
5061 message.
5062 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
5063 regexps to expect for '[Inferior ... detached]' as well.
5064 * gdb.threads/process-dies-while-detaching.exp: Likewise.
5065
0a8ddac4
SM
50662018-04-24 Simon Marchi <simon.marchi@ericsson.com>
5067
5068 PR gdb/23104
5069 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
5070
701adfb0
PA
50712018-04-22 Rajendra SY <rajendra.sy@gmail.com>
5072
5073 PR gdb/23095
5074 * gdb.base/break-probes.exp: Pass shlib_load to
5075 prepare_for_testing. Set normal_bp to r_debug_state if target is
5076 bsd.
5077
d27d16bf
RB
50782018-04-19 Richard Bunt <richard.bunt@arm.com>
5079
5080 * gdb.threads/multiple-successive-infcall.c: New test.
5081 * gdb.threads/multiple-successive-infcall.exp: New file.
5082
a037790e
TT
50832018-04-17 Tom Tromey <tom@tromey.com>
5084
5085 * gdb.rust/simple.rs (Union): New type.
5086 (main): New local "u".
5087 * gdb.rust/simple.exp (test_one_slice): Add new test case.
5088
e3a91079
AA
50892018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5090
5091 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
5092 number information in output of "whereis" command.
5093 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
5094
b744723f
AA
50952018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5096
5097 * gdb.ada/info_types.exp: Adjust expected output to the line
5098 numbers now printed by "info var/func/type".
5099 * gdb.base/completion.exp: Likewise.
5100 * gdb.base/included.exp: Likewise.
5101 * gdb.cp/cp-relocate.exp: Likewise.
5102 * gdb.cp/cplusfuncs.exp: Likewise.
5103 * gdb.cp/namespace.exp: Likewise.
5104 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
5105
4a4495d6
MM
51062018-04-13 Markus Metzger <markus.t.metzger@intel.com>
5107
5108 * gdb.btrace/cpu.exp: New.
5109
1d509aa6
MM
51102018-04-13 Markus Metzger <markus.t.metzger@intel.com>
5111
5112 * gdb.base/step-indirect-call-thunk.exp: New.
5113 * gdb.base/step-indirect-call-thunk.c: New.
5114 * gdb.reverse/step-indirect-call-thunk.exp: New.
5115 * gdb.reverse/step-indirect-call-thunk.c: New.
5116
6295b6da
SM
51172018-04-11 Simon Marchi <simon.marchi@ericsson.com>
5118
5119 * gdb.base/pie-fork.c: New file.
5120 * gdb.base/pie-fork.exp: New file.
5121
50146e70
TT
51222018-04-11 Tom Tromey <tom@tromey.com>
5123
5124 * gdb.rust/simple.exp: Add test for ".." struct initializer.
5125
f50d8a2e
PA
51262018-04-10 Pedro Alves <palves@redhat.com>
5127
5128 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
5129 exits. Instead loop running forever.
5130 (fork_parent): Run forever too.
5131
a0be7a36
SM
51322018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
5133
5134 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
5135 mi_continue_to_line.
5136 * gdb.mi/mi-stack.c (callee4): Add comment.
5137
9b73db36
SM
51382018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
5139
5140 * gdb.mi/mi-stack.exp: Fix indentation.
5141
c912f608
SM
51422018-04-07 Simon Marchi <simon.marchi@ericsson.com>
5143
5144 PR gdb/22979
5145 * gdb.arch/amd64-osabi.exp: New file.
5146
26540402
SM
51472018-04-07 Simon Marchi <simon.marchi@ericsson.com>
5148
5149 PR gdb/22980
5150 * gdb.base/osabi.exp: New file.
5151
121ad66c 51522018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
5153
5154 * gdb.cp/static-typedef-print.exp: New file.
5155 * gdb.cp/static-typedef-print.cc: New file.
5156
3fcded8f
JB
51572018-03-27 Joel Brobecker <brobecker@adacore.com>
5158
5159 * gdb.ada/varsize_limit: New testcase.
5160
59cc4834
JB
51612018-03-27 Joel Brobecker <brobecker@adacore.com>
5162
5163 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
5164
5165 * gdb.ada/notcplusplus: New testcase.
5166
5167 * gdb.base/c-linkage-name.c: New file.
5168 * gdb.base/c-linkage-name.exp: New testcase.
5169
4ca59a9f
TT
51702018-03-26 Tom Tromey <tom@tromey.com>
5171
5172 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
5173 * gdb.python/py-framefilter.py (name_error): New global.
5174 (ErrorInName.function): Use name_error.
5175
978d6c75
TT
51762018-03-26 Tom Tromey <tom@tromey.com>
5177
5178 PR backtrace/15582:
5179 * gdb.python/py-framefilter.exp: Add "bt hide" test.
5180
b7fee5a3
KS
51812018-03-23 Keith Seitz <keiths@redhat.com>
5182
5183 PR c++/22968
5184 * gdb.cp/subtypes.exp: New file.
5185 * gdb.cp/subtypes.h: New file.
5186 * gdb.cp/subtypes.cc: New file.
5187 * gdb.cp/subtypes-2.cc: New file.
5188
376be529
AB
51892018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
5190
5191 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
5192 (done): Call '_exit' not 'exit' to avoid atexit handlers.
5193 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
5194 -nostartfiles when compiling the test. Confirm that all registers
5195 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
5196
066cfa98
AB
51972018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
5198
5199 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
5200 option, syntax was wrong anyway.
5201 * gdb.arch/arm-disp-step.exp: Likewise.
5202 * gdb.arch/sparc64-regs.exp: Likewise.
5203 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
5204 option, syntax was wrong anyway, switch to use
5205 prepare_for_testing.
5206 * gdb.arch/i386-disp-step.exp: Likewise.
5207
079670b9
AA
52082018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
5209
5210 * gdb.ada/exec_changed.exp: Replace "target_info exists
5211 use_gdb_stub" by "use_gdb_stub".
5212 * gdb.ada/start.exp: Likewise.
5213 * gdb.base/async-shell.exp: Likewise.
5214 * gdb.base/attach-pie-misread.exp: Likewise.
5215 * gdb.base/attach-wait-input.exp: Likewise.
5216 * gdb.base/break-entry.exp: Likewise.
5217 * gdb.base/break-interp.exp: Likewise.
5218 * gdb.base/dprintf-detach.exp: Likewise.
5219 * gdb.base/nostdlib.exp: Likewise.
5220 * gdb.base/solib-nodir.exp: Likewise.
5221 * gdb.base/statistics.exp: Likewise.
5222 * gdb.base/testenv.exp: Likewise.
5223 * gdb.mi/mi-exec-run.exp: Likewise.
5224 * gdb.mi/mi-start.exp: Likewise.
5225 * gdb.multi/dummy-frame-restore.exp: Likewise.
5226 * gdb.multi/multi-arch-exec.exp: Likewise.
5227 * gdb.multi/multi-arch.exp: Likewise.
5228 * gdb.multi/tids.exp: Likewise.
5229 * gdb.multi/watchpoint-multi.exp: Likewise.
5230 * gdb.python/py-events.exp: Likewise.
5231 * gdb.threads/attach-into-signal.exp: Likewise.
5232 * gdb.threads/attach-stopped.exp: Likewise.
5233 * gdb.threads/threadapply.exp: Likewise.
5234 * lib/selftest-support.exp: Likewise.
5235
26d6cec4
AA
52362018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
5237
5238 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
5239
4ee89e90
SR
52402018-03-20 Stephen Roberts <stephen.roberts@arm.com>
5241
5242 * gdb.perf/template-breakpoints.cc: New file.
5243 * gdb.perf/template-breakpoints.exp: New file.
5244 * gdb.perf/template-breakpoints.py: New file.
5245
92630041
TT
52462018-03-19 Tom Tromey <tom@tromey.com>
5247
5248 * gdb.rust/simple.rs (main): Add local variables field1, field2,
5249 y0.
5250 * gdb.rust/simple.exp: Test bare identifier form of struct
5251 initializer.
5252
76727919
TT
52532018-03-19 Tom Tromey <tom@tromey.com>
5254
5255 * gdb.gdb/observer.exp: Remove.
5256
194ed413
AA
52572018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5258
5259 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
5260 "qualified" option when setting breakpoints.
5261 * gdb.trace/backtrace.exp: Likewise.
5262 * gdb.trace/circ.exp: Likewise.
5263 * gdb.trace/collection.exp: Likewise.
5264 * gdb.trace/disconnected-tracing.exp: Likewise.
5265 * gdb.trace/ftrace-lock.exp: Likewise.
5266 * gdb.trace/ftrace.exp: Likewise.
5267 * gdb.trace/infotrace.exp: Likewise.
5268 * gdb.trace/packetlen.exp: Likewise.
5269 * gdb.trace/passc-dyn.exp: Likewise.
5270 * gdb.trace/qtro.exp: Likewise.
5271 * gdb.trace/read-memory.exp: Likewise.
5272 * gdb.trace/report.exp: Likewise.
5273 * gdb.trace/signal.exp: Likewise.
5274 * gdb.trace/status-stop.exp: Likewise.
5275 * gdb.trace/strace.exp: Likewise.
5276 * gdb.trace/tfind.exp: Likewise.
5277 * gdb.trace/trace-break.exp: Likewise.
5278 * gdb.trace/trace-condition.exp: Likewise.
5279 * gdb.trace/trace-mt.exp: Likewise.
5280 * gdb.trace/tstatus.exp: Likewise.
5281 * gdb.trace/tsv.exp: Likewise.
5282 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
5283 * gdb.trace/unavailable.exp: Likewise.
5284 * gdb.trace/while-dyn.exp: Likewise.
5285
8b067d2c
AA
52862018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5287
5288 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
5289 that libinproctrace is copied to the target.
5290
3ae9ce5d
TT
52912018-03-14 Tom Tromey <tom@tromey.com>
5292
5293 PR cli/14977:
5294 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
5295 a null pointer.
5296 * gdb.base/wchar.exp: Likewise.
5297
b8c2339b
TT
52982018-03-14 Tom Tromey <tom@tromey.com>
5299
5300 PR cli/19918:
5301 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
5302 flag.
5303
4872dc46
SM
53042018-03-08 Simon Marchi <simon.marchi@ericsson.com>
5305
5306 PR gdb/22841
5307 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
5308 "target" to remote_exec.
5309
e4fe3756
SM
53102018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
5311
5312 PR gdb/22841
5313 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
5314 ${board}_upload): Remove.
5315
e95a97d4
AA
53162018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
5317
5318 * gdb.cp/watch-cp.cc: New test.
5319 * gdb.cp/watch-cp.exp: New file.
5320
dbbb1059
AB
53212018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5322
5323 * gdb.base/infcall-nested-structs.exp: New file.
5324 * gdb.base/infcall-nested-structs.c: New file.
5325 * gdb.base/float.exp: Add riscv support.
5326
ecc054c0
TP
53272018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
5328
5329 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
5330 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
5331
25e3c82c
SDJ
53322018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
5333
5334 * gdb.server/abspath.exp: New file.
5335 * lib/gdb.exp (with_cwd): New procedure.
5336
3083294d
SM
53372018-02-28 Simon Marchi <simon.marchi@ericsson.com>
5338
5339 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
5340 use it.
5341 (gdb_is_target_remote_prompt): New proc.
5342 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
5343 (gdb_is_target_native): Pass prompt parameter to
5344 gdb_is_target_1.
5345
3275ef47
SM
53462018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
5347
5348 * gdb.base/load-command.c: New file.
5349 * gdb.base/load-command.exp: New file.
5350 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
5351 (gdb_is_target_1): ...this, and generalize for other targets
5352 than just remote.
5353 (gdb_is_target_remote): Use gdb_is_target_1.
5354 (gdb_is_target_native): use gdb_is_target_1.
5355
6893c19a
TT
53562018-02-26 Tom Tromey <tom@tromey.com>
5357
5358 PR python/16497:
5359 * gdb.python/py-framefilter.exp: Update test.
5360
2ddeaf8a
TT
53612018-02-26 Tom Tromey <tom@tromey.com>
5362
5363 * gdb.dwarf2/variant.c: New file.
5364 * gdb.dwarf2/variant.exp: New file.
5365
c9317f21
TT
53662018-02-26 Tom Tromey <tom@tromey.com>
5367
5368 * gdb.rust/simple.exp: Accept more possible results in enum test.
5369
6f6d0c26
SM
53702018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
5371
5372 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
5373 parentheses.
5374
11b03145
MR
53752018-02-23 Maciej W. Rozycki <macro@mips.com>
5376
5377 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
5378 name of a variable: $actual_linejj -> $actual_line.
5379
54a27fe5
JB
53802018-02-21 John Baldwin <jhb@FreeBSD.org>
5381
5382 * gdb.arch/amd64-i386-address.exp: Fix a typo.
5383
de65820c
MM
53842018-02-20 Markus Metzger <markus.t.metzger@intel.com>
5385
5386 * gdb.btrace/buffer-size.exp: Do not force BTS.
5387
980548fd
PA
53882018-02-14 Pedro Alves <palves@redhat.com>
5389
5390 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
5391 getting a "Quit".
5392
c4e12631
MM
53932018-02-09 Markus Metzger <markus.t.metzger@intel.com>
5394
5395 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
5396 Fix test name.
5397
c2e0e465
SM
53982018-02-07 Simon Marchi <simon.marchi@ericsson.com>
5399
5400 * gdb.cp/m-static.exp: Check type of optimized out static
5401 member.
5402
f7216783
AB
54032018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
5404
5405 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
5406 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
5407
0625771b
LS
54082018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
5409 Leszek Swirski <leszeks@google.com>
5410
5411 * gdb.python/py-prettyprint.c
5412 (struct to_string_returns_value_inner,
5413 struct to_string_returns_value_wrapper): New.
5414 (main): Add tsrvw variable.
5415 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
5416 ToStringReturnsValueWrapper): New classes.
5417 (register_pretty_printers): Register new pretty-printers.
5418 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
5419 recursive pretty printer.
5420 * gdb.python/py-mi.exp: Likewise.
5421
59498c30
LS
54222018-02-01 Leszek Swirski <leszeks@google.com>
5423
5424 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
5425 functions with the same name as an include file are parsed
5426 correctly.
5427
d4d38844
YQ
54282018-02-01 Yao Qi <yao.qi@linaro.org>
5429
5430 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
5431 "\[^\r\n\]*".
5432
07e5f5cf
NP
54332018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
5434
5435 * gdb.arch/powerpc-prologue-frame.s: New file.
5436 * gdb.arch/powerpc-prologue-frame.c: Likewise.
5437 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
5438
929b5ad4
JB
54392018-01-31 Joel Brobecker <brobecker@adacore.com>
5440
5441 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
5442
e671cd59
PA
54432018-01-30 Pedro Alves <palves@redhat.com>
5444
5445 PR gdb/13211
5446 * gdb.base/interrupt-daemon.c: New.
5447 * gdb.base/interrupt-daemon.exp: New.
5448 * gdb.multi/multi-term-settings.c: New.
5449 * gdb.multi/multi-term-settings.exp: New.
5450
fc413dc4
JB
54512018-01-30 Joel Brobecker <brobecker@adacore.com>
5452
5453 * gdb.base/break.exp: Save the location where the breakpoint
5454 on break.c:47 was actually inserted when debugging the version
5455 compiled at -O2 and use it in the expected output of the "info
5456 break" test performed soon after.
5457
5c319bb2
PA
54582018-01-22 Pedro Alves <palves@redhat.com>
5459 Sergio Durigan Junior <sergiodj@redhat.com>
5460
5461 * gdb.base/whatis.exp: Add tests for 'set print object on' +
5462 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
5463
a9e40818
JB
54642018-01-22 Joel Brobecker <brobecker@adacore.com>
5465
5466 * gdb.base/break-include.c, gdb.base/break-include.inc,
5467 gdb.base/break-include.exp: New files.
5468 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
5469 line number now being the actual line number where the breakpoint
5470 was inserted.
5471 * gdb.mi/mi-break.exp: Likewise.
5472 * gdb.mi/mi-reverse.exp: Likewise.
5473 * gdb.mi/mi-simplerun.exp: Ditto.
5474
e707fc44
AB
54752018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
5476
5477 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
5478 varobj.
5479 * gdb.mi/mi-var-create-rtti.exp: Likewise.
5480
ae451627
AB
54812018-01-21 Don Breazeal <donb@codesourcery.com>
5482 Andrew Burgess <andrew.burgess@embecosm.com>
5483
5484 * gdb.mi/basics.c: Add new global.
5485 * gdb.mi/mi-frame-regs.exp: New file.
5486 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
5487 case.
5488
b1b189e0
AB
54892018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
5490
5491 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
5492 non-parameter, and on an unknown symbol.
5493
fcfcc376
TT
54942018-01-19 Tom Tromey <tom@tromey.com>
5495
5496 * gdb.rust/modules.rs (TWENTY_THREE): New global.
5497 * gdb.rust/modules.exp: Add ::-qualified lookup test.
5498
634c1c31
AA
54992018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5500
5501 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
5502 setrlimit and chdir to int.
5503
d6ad07fd
AA
55042018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5505
5506 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
5507 function.
5508 (my_tend): Likewise.
5509 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
5510 rationale of avoiding FP- and vector instructions.
5511
adf8243b
RK
55122018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
5513
5514 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
5515 "info reg" with "\[ \t\]*".
5516 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
5517 "\[ \t\]+".
5518 * gdb.arch/s390-multiarch.exp: Ditto.
5519 * gdb.base/pc-fp.exp: Ditto.
5520 * gdb.reverse/i386-precsave.exp: Ditto.
5521 * gdb.reverse/i386-reverse.exp: Ditto.
5522 * gdb.reverse/i387-env-reverse.exp: Ditto.
5523 * gdb.reverse/i387-stack-reverse.exp: Ditto.
5524
dcc06925
AA
55252018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
5526
5527 * lib/gdb.exp (gdb_compile): Re-enable use of
5528 universal_compile_options for languages other than Rust.
5529
25d4fd80
AA
55302018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
5531
5532 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
5533
ee7f689e 55342018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
5535
5536 PR gdb/16577
5537 * gdb.base/solib-vanish.exp: New.
5538 * gdb.base/solib-vanish-main.c: New.
5539 * gdb.base/solib-vanish-lib1.c: New.
5540 * gdb.base/solib-vanish-lib2.c: New.
5541
d8447b6b
YQ
55422018-01-17 Yao Qi <yao.qi@linaro.org>
5543
5544 * gdb.compile/compile.exp: Match the address printed for
5545 frame in the output of command "bt".
5546
86d6a90c
TT
55472018-01-15 Tom Tromey <tom@tromey.com>
5548
5549 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
5550 compute sp_reg.
5551
cbcdb1aa
AB
55522018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
5553
5554 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
5555 to prepare.
5556 (prepare): Return 0 on error, 1 on success.
5557
eea61984
PA
55582018-01-12 Pedro Alves <palves@redhat.com>
5559
5560 * gdb.base/continue-after-aborted-step-over.c: New.
5561 * gdb.base/continue-after-aborted-step-over.exp: New.
5562
6181e9c2
SM
55632018-01-11 Simon Marchi <simon.marchi@ericsson.com>
5564
5565 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
5566 options when not creating an executable.
5567
3cada740
PA
55682018-01-11 Pedro Alves <palves@redhat.com>
5569
5570 PR remote/22597
5571 * gdb.server/stop-reply-no-thread.c: New file.
5572 * gdb.server/stop-reply-no-thread.exp: New file.
5573
c63d3e8d
PA
55742018-01-10 Pedro Alves <palves@redhat.com>
5575
5576 PR gdb/22670
5577 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
5578 functions too. Test setting breakpoints and printing C functions
5579 with no debug info too.
5580 * gdb.ada/bp_c_mixed_case/qux.c: New file.
5581
d4c2a405
PA
55822018-01-10 Pedro Alves <palves@redhat.com>
5583
5584 PR gdb/22670
5585 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
5586 a fail.
5587
8825213e
PA
55882018-01-10 Pedro Alves <palves@redhat.com>
5589
5590 PR gdb/22670
5591 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
5592
605fd3c6
YQ
55932018-01-08 Simon Marchi <simon.marchi@ericsson.com>
5594
5595 * gdb.server/unittest.exp: Match the output in non-development
5596 mode.
5597
1e5ded6c
YQ
55982018-01-08 Simon Marchi <simon.marchi@ericsson.com>
5599
5600 * gdb.gdb/unittest.exp: Match output in non-development mode.
5601
30066b0b
JB
56022018-01-08 Joel Brobecker <brobecker@adacore.com>
5603
5604 * gdb.ada/access_tagged_param.exp: Relax expected output
5605 for value of "ObjL" in "continue" to pck.inspect breakpoint
5606 test.
5607
04bafb1e
XR
56082018-01-08 Joel Brobecker <brobecker@adacore.com>
5609
9f86398b
JB
5610 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
5611 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 5612
e379cee6
PA
56132018-01-05 Pedro Alves <palves@redhat.com>
5614
5615 PR gdb/18653
5616 * gdb.base/libsegfault.exp: New.
5617
de63c46b
PA
56182018-01-05 Joel Brobecker <brobecker@adacore.com>
5619
5620 PR gdb/22670
5621 * gdb.ada/access_tagged_param.exp: New file.
5622 * gdb.ada/access_tagged_param/foo.adb: New file.
5623
f98fc17b
PA
56242018-01-05 Pedro Alves <palves@redhat.com>
5625
5626 PR gdb/22670
5627 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
5628 exercise lower case too, and to exercise both full matching and
5629 wild matching.
5630
342f8240
JB
56312018-01-05 Joel Brobecker <brobecker@adacore.com>
5632
5633 * gdb.ada/rename_subscript_param: New testcase.
5634
7150d33c
JG
56352018-01-05 Jerome Guitton <guitton@adacore.com>
5636
5637 * gdb.ada/arr_acc_idx_w_gap: New testcase.
5638
cc0e770c
JB
56392018-01-05 Joel Brobecker <brobecker@adacore.com>
5640
5641 * gdb.ada/convvar_comp: New testcase.
5642
672a41aa 56432018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
5644
5645 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
5646 (My_Table): New global variable.
5647 * testsuite/gdb.ada/array_char_idx.exp: Add test.
5648
7365ec2f
JB
56492018-01-04 Joel Brobecker <brobecker@adacore.com>
5650
5651 PR gdb/22670
5652 * gdb.ada/maint_with_ada: New testcase.
5653
289483b6
JB
56542018-01-04 Joel Brobecker <brobecker@adacore.com>
5655
5656 PR gdb/22670
5657 * gdb.ada/bp_c_mixed_case: New testcase.
5658
344420da
JB
56592018-01-04 Joel Brobecker <brobecker@adacore.com>
5660
5661 PR gdb/22670
5662 * gdb.ada/complete.exp: Add "complete break ada" test.
5663
66fc87a0
JB
56642018-01-04 Joel Brobecker <brobecker@adacore.com>
5665
5666 PR gdb/22670
5667 * gdb.ada/info_addr_mixed_case: New testcase.
5668
9f757bf7
XR
56692018-01-03 Xavier Roirand <roirand@adacore.com>
5670
5671 * gdb.ada/excep_handle.exp: New testcase.
5672 * gdb.ada/excep_handle/foo.adb: New file.
5673 * gdb.ada/excep_handle/pck.ads: New file.
5674
bd570f80
JB
56752018-01-03 Joel Brobecker <brobecker@adacore.com>
5676
5677 * gdb.base/step-line.c: Add extra empty line in copyright header.
5678 * gdb.base/step-line.inp: Likewise.
5679
9fe561ab
JB
56802018-01-02 Joel Brobecker <brobecker@adacore.com>
5681
5682 * gdb.ada/dyn_stride.exp: Add slice test.
5683
a405673c
JB
56842018-01-02 Joel Brobecker <brobecker@adacore.com>
5685
5686 * gdb.ada/dyn_stride: New testcase.
5687
cef0f868
SH
56882017-12-27 Stafford Horne <shorne@gmail.com>
5689
5690 * gdb.xml/extra-regs.xml: Add example foo reggroup.
5691 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
5692
b67d92b0
SH
56932017-12-27 Stafford Horne <shorne@gmail.com>
5694
5695 * gdb.base/reggroups.c: New file.
5696 * gdb.base/reggroups.exp: New file.
5697
eccab96d
JB
56982017-12-18 Joel Brobecker <brobecker@adacore.com>
5699
5700 * gdb.dwarf2/ada-valprint-error.c: New file.
5701 * gdb.dwarf2/ada-valprint-error.exp: New file.
5702
0e2da9f0
JB
57032017-12-18 Joel Brobecker <brobecker@adacore.com>
5704
5705 * gdb.ada/assign_arr: New testcase.
5706
cb923fcc
XR
57072017-12-18 Xavier Roirand <roirand@adacore.com>
5708
5709 * gdb.ada/funcall_ptr: New testcase.
5710
7c161838
SDJ
57112017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5712
5713 PR cli/16224
5714 * gdb.base/ptype-offsets.cc: New file.
5715 * gdb.base/ptype-offsets.exp: New file.
5716
1af17fd9
YQ
57172017-12-15 Yao Qi <yao.qi@linaro.org>
5718
5719 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
5720 if XML is disabled.
5721
828d5846
XR
57222017-12-15 Xavier Roirand <roirand@adacore.com>
5723
5724 * gdb.ada/same_component_name: New testcase.
5725
79e8fcaa
JB
57262017-12-14 Joel Brobecker <brobecker@adacore.com>
5727
5728 * gdb.ada/str_binop_equal: New testcase.
5729
e05fa6f9
JB
57302017-12-14 Joel Brobecker <brobecker@adacore.com>
5731
5732 * gdb.ada/task_switch_in_core: New testcase.
5733
b89641ba
SM
57342017-12-13 Simon Marchi <simon.marchi@ericsson.com>
5735
5736 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
5737 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
5738 call test_bkpt_qualified.
5739 (test_bkpt_qualified): New proc.
5740
6892d2e4
PA
57412017-12-13 Pedro Alves <palves@redhat.com>
5742
5743 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
5744 Tighten regexp by matching with an anchor.
5745
a22ecf70
PA
57462017-12-13 Pedro Alves <palves@redhat.com>
5747
5748 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
5749 ("expression with namespace"): New set of tests.
5750 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
5751 (Nested::Test_NS::qux): New.
5752 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
5753 defaults to 'start_quote_char' and 'end_quote_char' parameters.
5754
9937536c
JB
57552017-12-13 Joel Brobecker <brobecker@adacore.com>
5756
5757 * gdb.base/server-del-break.c: New file.
5758 * gdb.base/server-del-break.exp: New file.
5759
fe49c6f5
SH
57602017-12-12 Stafford Horne <shorne@gmail.com>
5761
5762 * gdb.xml/tdesc-regs.exp: Add or1k support.
5763
c3d18620
SH
57642017-12-12 Stafford Horne <shorne@gmail.com>
5765
5766 * gdb.base/bp-permanent.c: Define nop of or1k.
5767
c5f9cfc8
JB
57682017-12-11 Joel Brobecker <brobecker@adacore.com>
5769
5770 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
5771 output with components being reordered.
5772
a9c135fc
JB
57732017-12-11 Joel Brobecker <brobecker@adacore.com>
5774
5775 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
5776 output with components being reordered.
5777
927aa2e7
JK
57782017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5779 Pedro Alves <palves@redhat.com>
5780
5781 * gdb.base/maint.exp (check for .gdb_index): Check also for
5782 .debug_names.
5783 * gdb.dlang/watch-loc.c (.debug_aranges): New.
5784 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
5785 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
5786 (.gdb_index used after symbol reloading): Support also .debug_names.
5787 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
5788
f17d9474
YQ
57892017-12-08 Yao Qi <yao.qi@linaro.org>
5790
5791 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
5792 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
5793
a0de8c21
YQ
57942017-12-08 Yao Qi <yao.qi@linaro.org>
5795
5796 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
5797 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
5798
a738ea1d
YQ
57992017-12-08 Yao Qi <yao.qi@linaro.org>
5800
5801 * gdb.arch/aarch64-tagged-pointer.c: New file.
5802 * gdb.arch/aarch64-tagged-pointer.exp: New file.
5803
1cd9a73b
SDJ
58042017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
5805
5806 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
5807 "int".
5808
fa6eb693
KS
58092017-12-07 Keith Seitz <keiths@redhat.com>
5810
5811 PR breakpoints/22569
5812 * gdb.linespec/ls-errs.exp: Change expected result of "break
5813 -source this file has spaces.c -line 3".
5814 Check that an explicit source file followed by whitespace is
5815 identified as an invalid explicit location.
5816
883fd55a
KS
58172017-12-07 Keith Seitz <keiths@redhat.com>
5818
5819 * gdb.cp/nested-types.cc: New file.
5820 * gdb.cp/nested-types.exp: New file.
5821 * lib/cp-support.exp: Load data-structures.exp library.
5822 (debug_cp_test_ptype_class): New global.
5823 (cp_ptype_class_verbose, next_line): New procedures.
5824 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
5825 Add and document new return value.
5826 Switch the list of lines to a queue.
5827 Add support for new `type' key for nested type definitions.
5828 Add debugging/troubleshooting messages.
5829 * lib/data-structures.exp: New file.
5830
ec72db3e
SM
58312017-12-07 Simon Marchi <simon.marchi@ericsson.com>
5832
5833 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
5834 with proc_with_prefix, don't use with_test_prefix.
5835
99598d71
TT
58362017-12-07 Tom Tromey <tom@tromey.com>
5837
5838 * gdb.base/break.exp: Add test for empty "commands".
5839
a8806230
YQ
58402017-12-07 Yao Qi <yao.qi@linaro.org>
5841
5842 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
5843 malloc and catch syscall.
5844
824cc835
PM
58452017-12-07 Phil Muldoon <pmuldoon@redhat.com>
5846
e79be6e5 5847 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
5848 tests for explicit locations.
5849
7cc244de
PA
58502017-12-06 Pedro Alves <palves@redhat.com>
5851
5852 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
5853 force-disabling XML descriptions.
5854
50a1fdd5
PA
58552017-12-04 Pedro Alves <palves@redhat.com>
5856
5857 PR gdb/22499
5858 * gdb.arch/amd64-disp-step-avx.S: New file.
5859 * gdb.arch/amd64-disp-step-avx.exp: New file.
5860
f0fb2488
PA
58612017-12-03 Pedro Alves <palves@redhat.com>
5862
5863 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
5864 and <string.h>.
5865 (parent_function): Print distinct messages when waitpid fails, or
5866 the child exits with a signal, or the child exits for an unhandled
5867 reason.
5868 * gdb.threads/process-dies-while-detaching.exp
5869 (detach_and_expect_exit): New 'inf_output_re' parameter and use
5870 it. Wait for both inferior output and GDB's prompt. Use an
5871 indirect spawn id list.
5872 (do_detach): New parameter 'child_exit'. Use it to compute
5873 expected inferior output.
5874 (test_detach, test_detach_watch, test_detach_killed_outside):
5875 Adjust to pass down the expected child exit kind.
5876
97cbe998
SDJ
58772017-12-01 Joel Brobecker <brobecker@adacore.com>
5878 Sergio Durigan Junior <sergiodj@redhat.com>
5879 Pedro Alves <palves@redhat.com>
5880
5881 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
5882
40fc416f
SDJ
58832017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
5884
5885 * gdb.base/relocate.exp: Add tests to guarantee that arguments
5886 to 'symbol-file' and 'add-symbol-file' can be
5887 position-independent.
5888
1cc75e92
YQ
58892017-12-01 Yao Qi <yao.qi@linaro.org>
5890
5891 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
5892 the URL in copyright header.
5893 * gdb.arch/aarch64-fp.exp: Likewise.
5894 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
5895 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
5896 * gdb.base/expand-psymtabs.exp: Likewise.
5897 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
5898 * gdb.fortran/common-block.exp: Likewise.
5899 * gdb.fortran/common-block.f90: Likewise.
5900 * gdb.fortran/logical.exp: Likewise.
5901 * gdb.fortran/vla-datatypes.f90: Likewise.
5902 * gdb.fortran/vla-sub.f90: Likewise.
5903
875fb7a7
JB
59042017-11-30 Joel Brobecker <brobecker@adacore.com>
5905
5906 * gdb.ada/repeat_dyn: New testcase.
5907
6f14765f
UW
59082017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
5909
5910 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
5911 Update for changed thread numbering.
5912 * gdb.cell/bt.exp: Update for changed GDB output.
5913
f1af7b94
SM
59142017-11-30 Simon Marchi <simon.marchi@ericsson.com>
5915
5916 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
5917 setting isremote by hand.
5918 * boards/dwarf4-gdb-index.exp: Likewise.
5919 * boards/fission.exp: Likewise.
5920 * boards/stabs.exp: Likewise.
5921
e3919f3e
PA
59222017-11-30 Pedro Alves <palves@redhat.com>
5923
5924 * gdb.linespec/cpls-ops.exp
5925 (check_explicit_skips_function_argument): Extract the underlying
5926 type of size_t instead of hardcoding it.
5927
bd69330d
PA
59282017-11-29 Pedro Alves <palves@redhat.com>
5929
5930 PR c++/19436
5931 * gdb.linespec/cpls-abi-tag.cc: New file.
5932 * gdb.linespec/cpls-abi-tag.exp: New file.
5933
a20714ff
PA
59342017-11-29 Pedro Alves <palves@redhat.com>
5935
5936 * gdb.base/langs.exp: Use -qualified.
5937 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
5938 it.
5939 * gdb.cp/namespace.exp: Use -qualified.
5940 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
5941 (overload-3, template-overload, template-ret-type, const-overload)
5942 (const-overload-quoted, anon-ns, ambiguous-prefix): New
5943 procedures.
5944 (test_driver): Call them.
5945 * gdb.cp/save-bp-qualified.cc: New.
5946 * gdb.cp/save-bp-qualified.exp: New.
5947 * gdb.linespec/explicit.exp: Test -qualified.
5948 * lib/completion-support.exp (completion::explicit_opts_list): Add
5949 "-qualified".
5950 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
5951
f6f1d339
PM
59522017-11-29 Phil Muldoon <pmuldoon@redhat.com>
5953
5954 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
5955
02ca603a
TT
59562017-11-29 Tom Tromey <tom@tromey.com>
5957
5958 * gdb.base/relocate.exp: Update invalid argument test.
5959 Add new tests for invalid arguments.
5960
ed6c0bfb
TP
59612017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5962
5963 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
5964 Return 0 as a long.
5965 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
5966
f106e10e
TP
59672017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5968
5969 * gdb.cp/breakpoint.cc (bar): Set return type to void.
5970 * gdb.cp/psymtab-parameter.cc (func): Likewise.
5971 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
5972 func ().
5973 * gdb.cp/shadow.cc (B.func): Return 0.
5974
10329bb2
JB
59752017-11-27 Joel Brobecker <brobecker@adacore.com>
5976
5977 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
5978 expected output in gdb_expect call to allow the exception
5979 message to be present as well. Fix syntax confusion to avoid
5980 TCL thinking that exception_name is an array.
5981
617cd4bc
UW
59822017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
5983
5984 * gdb.arch/spu-info.c: Include <unistd.h>.
5985 (do_signal_test): Fix broken calls to write.
5986 * gdb.arch/spu-info.exp: Use prepare_for_testing.
5987 Fix checks for empty mailboxes. Update signal tests for corrected
5988 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
5989 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
5990 * gdb.cell/arch.exp: Use standard_output_file.
5991 * gdb.cell/break.exp: Likewise.
5992 * gdb.cell/bt.exp: Likewise.
5993 * gdb.cell/core.exp: Likewise.
5994 * gdb.cell/dwarfaddr.exp: Likewise.
5995 * gdb.cell/ea-cache.exp: Likewise.
5996 * gdb.cell/ea-standalone.exp: Likewise.
5997 * gdb.cell/f-regs.exp: Likewise.
5998 * gdb.cell/fork.exp: Likewise.
5999 * gdb.cell/gcore.exp: Likewise.
6000 * gdb.cell/mem-access.exp: Likewise.
6001 * gdb.cell/ptype.exp: Likewise.
6002 * gdb.cell/registers.exp: Likewise.
6003 * gdb.cell/sizeof.exp: Likewise.
6004 * gdb.cell/solib-symbol.exp: Likewise.
6005 * gdb.cell/solib.exp: Likewise.
617cd4bc 6006
a81aaca0
PA
60072017-11-25 Pedro Alves <palves@redhat.com>
6008
6009 * gdb.base/complete-empty.exp: New file.
6010 * gdb.base/completion.exp: Adjust.
6011
6a3c6ee4
PA
60122017-11-25 Pedro Alves <palves@redhat.com>
6013
6014 * gdb.linespec/cpls-ops.cc: New file.
6015 * gdb.linespec/cpls-ops.exp: New file.
6016 * lib/completion-support.exp (test_complete_prefix_range_re): New,
6017 factored out from ...
6018 (test_complete_prefix_range): ... this.
6019
8955eb2d
PA
60202017-11-24 Pedro Alves <palves@redhat.com>
6021
6022 * gdb.linespec/cpcompletion.exp: New file.
6023 * gdb.linespec/cpls-hyphen.cc: New file.
6024 * gdb.linespec/cpls.cc: New file.
6025 * gdb.linespec/cpls2.cc: New file.
6026 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
6027 test to use test_gdb_complete_unique. Add label completion,
6028 keyword completion and explicit location completion tests.
6029 * lib/completion-support.exp: New file.
6030
e547c119
JB
60312017-11-24 Joel Brobecker <brobecker@adacore.com>
6032
6033 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
6034 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
6035 when hitting an exception catchpoint.
6036
7c3c1aa8
YQ
60372017-11-22 Yao Qi <yao.qi@linaro.org>
6038
6039 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
6040
41bd68f5
SM
60412017-11-22 Simon Marchi <simon.marchi@ericsson.com>
6042
6043 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
6044 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
6045 * gdb.dwarf2/info-locals-optimized-out.c: New file.
6046
1daad298
YQ
60472017-11-22 Yao Qi <yao.qi@linaro.org>
6048
6049 * gdb.base/info-os.exp: Pass pthreads.
6050 * gdb.multi/multi-attach.exp: Likewise.
6051
88465e87
YQ
60522017-11-22 Yao Qi <yao.qi@linaro.org>
6053
6054 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
6055 compiler.
6056
dc196b23
YQ
60572017-11-22 Yao Qi <yao.qi@linaro.org>
6058
6059 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
6060 * gdb.base/break-interp.exp: Likewise.
6061 * gdb.base/jit-attach-pie.exp: Likewise.
6062
2400729e
UW
60632017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
6064
6065 * gdb.base/float128.c (large128): New variable.
6066 * gdb.base/float128.exp: Add test to print largest __float128 value.
6067
7a26362d
UW
60682017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
6069
6070 * gdb.arch/vsx-regs.exp: Update register content checks.
6071
ed0f4273
UW
60722017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
6073
6074 * gdb.arch/ppc-longdouble.exp: New file.
6075 * gdb.arch/ppc-longdouble.c: Likewise.
6076
a25d69c6
PA
60772017-11-21 Pedro Alves <palves@redhat.com>
6078
6079 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
6080
73fcf641
PA
60812017-11-20 Pedro Alves <palves@redhat.com>
6082
6083 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
6084 (long_double_typedef): New typedefs.
6085 Use DEF on double and long double.
6086 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
6087 cases.
6088 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
6089 and 'long_double_ptr_same_size' locals. Use them to decide
6090 whether cast from array/function to float is valid/invalid.
6091
71a3c369
TT
60922017-11-17 Tom Tromey <tom@tromey.com>
6093
6094 * gdb.rust/traits.rs: New file.
6095 * gdb.rust/traits.exp: New file.
6096
ced9779b
JB
60972017-11-17 Joel Brobecker <brobecker@adacore.com>
6098
6099 * gdb.ada/minsyms: New testcase.
6100
a0922d80
PA
61012017-11-16 Pedro Alves <palves@redhat.com>
6102
6103 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
6104 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
6105
ea04e54c
PA
61062017-11-16 Pedro Alves <palves@redhat.com>
6107
6108 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
6109 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
6110
e849ea89
PA
61112017-11-16 Pedro Alves <palves@redhat.com>
6112
6113 * gdb.server/reconnect-ctrl-c.c: New file.
6114 * gdb.server/reconnect-ctrl-c.exp: New file.
6115
d8ae99a7
PM
61162017-11-16 Phil Muldoon <pmuldoon@redhat.com>
6117
6118 * gdb.python/py-rbreak.exp: New file.
6119 * gdb.python/py-rbreak.c: New file.
6120 * gdb.python/py-rbreak-func2.c: New file.
6121
968a13f8
PA
61222017-11-16 Pedro Alves <palves@redhat.com>
6123
6124 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
6125 pattern.
6126 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
6127 GDB.
6128
71774bc9
SM
61292017-11-15 Simon Marchi <simon.marchi@ericsson.com>
6130
6131 * gdb.tui/completionn.exp (test_tab_completion): Add space in
6132 regex.
6133
ddbb44cf
SM
61342017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
6135
6136 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
6137 test names.
6138
584a564f
PA
61392017-11-09 Pedro Alves <palves@redhat.com>
6140
6141 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
6142 factored out from ...
6143 (top level): ... here, and adjusted to avoid expecting beyond the
6144 prompt in a single gdb_test_multiple.
6145
5ed7a928
PA
61462017-11-09 Pedro Alves <palves@redhat.com>
6147
6148 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
6149 output.
6150 * gdb.server/ext-attach.exp ("kill" test): Likewise.
6151 * gdb.server/ext-restart.exp ("kill" test): Likewise.
6152 * gdb.server/ext-run.exp ("kill" test): Likewise.
6153 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
6154
a60e0738
PA
61552017-11-09 Pedro Alves <palves@redhat.com>
6156
6157 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
6158 match till end of line.
6159
2c88253f
PA
61602017-11-09 Pedro Alves <palves@redhat.com>
6161
6162 * gdb.base/memattr.exp: Tighten regexes to match the end line.
6163
c7a38517
PA
61642017-11-09 Pedro Alves <palves@redhat.com>
6165
6166 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
6167 New procedures, factored out from ...
6168 (top level): ... here, and adjusted to avoid expecting beyond the
6169 prompt in one go.
6170
f29f4b6b
PA
61712017-11-09 Pedro Alves <palves@redhat.com>
6172
6173 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
6174 output. Fix '?' match.
6175
286acbb5
JB
61762017-11-08 Joel Brobecker <brobecker@adacore.com>
6177
6178 * gdb.ada/scoped_watch: New testcase.
6179 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
6180 which is actually correct.
6181 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
6182 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
6183
62d7ae92
PA
61842017-11-08 Pedro Alves <palves@redhat.com>
6185
6186 * gdb.gdb/complaints.exp (test_initial_complaints)
6187 (test_serial_complaints, test_short_complaints): Call
6188 complaint_internal instead of complaint.
6189
280ca31f
DT
61902017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
6191
6192 * gdb.threads/tls-core.c: New file.
6193 * gdb.threads/tls-core.exp: Likewise.
6194
b5ec771e
PA
61952017-11-08 Pedro Alves <palves@redhat.com>
6196
6197 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
6198 (p Exported_Capitalized): New test.
6199 (p exported_capitalized): New test.
6200
a02b41a7
PA
62012017-11-07 Pedro Alves <palves@redhat.com>
6202
6203 * gdb.cp/ena-dis-br-range.exp: Add more tests.
6204
95e95a6d
PA
62052017-11-07 Pedro Alves <palves@redhat.com>
6206
6207 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
6208 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
6209 (disable_invalid, disable_inverted, disable_negative): New
6210 procedures.
6211 ("bad numbers"): New set of tests.
6212
cee62dbd
PA
62132017-11-07 Pedro Alves <palves@redhat.com>
6214
6215 * gdb.cp/ena-dis-br-range.exp: Add tests.
6216
cc638e86
PA
62172017-11-07 Pedro Alves <palves@redhat.com>
6218
6219 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
6220
d0fe4701
XR
62212017-11-07 Xavier Roirand <roirand@adacore.com>
6222 Pedro Alves <palves@redhat.com>
6223
6224 * gdb.base/ena-dis-br.exp: Add reference to
6225 gdb.cp/ena-dis-br-range.exp.
6226 * gdb.cp/ena-dis-br-range.exp: New file.
6227 * gdb.cp/ena-dis-br-range.cc: New file.
6228
46f67f80
PA
62292017-11-06 Pedro Alves <palves@redhat.com>
6230
6231 * gdb.base/attach-non-pgrp-leader.c: New.
6232 * gdb.base/attach-non-pgrp-leader.exp: New.
6233
726e1356
PA
62342017-11-06 Pedro Alves <palves@redhat.com>
6235
6236 * configure.ac: No longer check for termio.h and sgtty.h.
6237 * configure: Regenerate.
6238 * remote-utils.c: Include termios.h instead of gdb_termios.h.
6239 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
6240 Remove termio and sgtty code.
6241
50ab6ace
YQ
62422017-11-03 Yao Qi <yao.qi@linaro.org>
6243
6244 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
6245 in GDB is disabled.
6246
8e68731c
YQ
62472017-11-03 Yao Qi <yao.qi@linaro.org>
6248
6249 * gdb.python/py-thrhandle.exp: Skip it if python is not
6250 enabled.
6251
3a87ae65
SM
62522017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
6253
6254 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
6255 as a breakpoint command.
6256
484d8d36
MD
62572017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
6258
6259 PR python/21213
6260 * gdb.python/py-infthread.exp: Test calling
6261 InferiorThread.inferior () multiple times in a row.
6262
4a27f119
KS
62632017-10-27 Keith Seitz <keiths@redhat.com>
6264
6265 * gdb.opt/inline-break.exp (break_info_1): New procedure.
6266 Test "info break" for every inlined function breakpoint.
6267
bb11dd58
YQ
62682017-10-27 Yao Qi <yao.qi@linaro.org>
6269
6270 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
6271
a43f3893
PF
62722017-10-26 Patrick Frants <osscontribute@gmail.com>
6273
6274 * gdb.cp/classes.exp (test_static_members): Test printing
6275 Outer::instance.
6276 * gdb.cp/classes.c (struct Inner, struct Outer): New.
6277 (Inner::instance, Outer::instance): New.
6278
792ccf00
PA
62792017-10-24 Pedro Alves <palves@redhat.com>
6280
6281 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
6282 extra console" test in two stages.
6283
eb2bfbad
PA
62842017-10-24 Pedro Alves <palves@redhat.com>
6285
6286 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
6287
1f75a651
PA
62882017-10-24 Pedro Alves <palves@redhat.com>
6289
6290 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
6291 loop.
6292
779990d9
PA
62932017-10-24 Pedro Alves <palves@redhat.com>
6294
6295 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
6296 $attempt" and "stoppedtry $stoppedtry" test prefixes.
6297
ad9b8f5d
PA
62982017-10-24 Pedro Alves <palves@redhat.com>
6299
6300 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
6301 parameter and handle it. Don't output read value in test name.
6302
fee6da6e
PA
63032017-10-24 Pedro Alves <palves@redhat.com>
6304
6305 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
6306 custom test name.
6307
10389c2c
PA
63082017-10-24 Pedro Alves <palves@redhat.com>
6309
6310 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
6311 include the unstable output directory name in the test's name.
6312 (initial_setup_simple) <'set args'>: Use custom test name.
6313
a80e65a9
PA
63142017-10-24 Pedro Alves <palves@redhat.com>
6315
6316 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
6317 with explicit test name.
6318
15763a09
PA
63192017-10-20 Pedro Alves <palves@redhat.com>
6320
6321 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
6322 'wait -i'. Use gdb_assert and remote_close.
6323
49a4ce2e
AB
63242017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
6325
6326 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
6327 number from variable rather than hard-coded.
6328
a75868f5
PA
63292017-10-19 Pedro Alves <palves@redhat.com>
6330
6331 * gdb.base/long-inferior-output.c: New file.
6332 * gdb.base/long-inferior-output.exp: New file.
6333
c8ba13ad
KS
63342017-11-18 Keith Seitz <keiths@redhat.com>
6335
6336 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
6337 method.
6338 (main): Call it.
6339 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
6340 Add additional user-defined conversion operator tests.
6341
b27de576
PA
63422017-10-17 Pedro Alves <palves@redhat.com>
6343
6344 * boards/native-stdio-gdbserver.exp: Load "local-board".
6345
8484c955
PA
63462017-10-17 Pedro Alves <palves@redhat.com>
6347
6348 * gdb.base/quit-live.c: New file.
6349 * gdb.base/quit-live.exp: New file.
6350
83d5a34d
KS
63512017-10-16 Keith Seitz <keiths@redhat.com>
6352
6353 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
6354 (class_with_protected_typedef, class_with_private_typedef)
6355 (struct_with_public_typedef, struct_with_protected_typedef)
6356 (struct_with_private_typedef): New classes/structs.
6357 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
6358 typedefs and access specifiers.
6359
739b3f1d
PA
63602017-10-16 Pedro Alves <palves@redhat.com>
6361 Simon Marchi <simon.marchi@polymtl.ca>
6362
6363 * README (Local vs Remote vs Native): New section.
6364 * boards/local-board.exp: New file, with bits factored out from
6365 ...
6366 * boards/native-extended-gdbserver.exp: ... here. Load
6367 "local-board".
6368 * boards/native-gdbserver.exp: Load "local-board".
6369 (${board}_spawn, ${board}_exec): Delete.
6370 * boards/native-stdio-gdbserver.exp: Most contents factored out to
6371 ...
6372 * boards/stdio-gdbserver-base.exp: ... this new file.
6373 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
6374 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
6375 procedure.
6376 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
6377 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
6378 stdio_gdbserver_command.
6379 (${board}_get_remote_address, ${board}_get_comm_port)
6380 (${board}_download, ${board}_upload): Delete.
6381 (get_target_remote_pipe_cmd): New.
6382
fe68b953
SM
63832017-10-16 Simon Marchi <simon.marchi@ericsson.com>
6384
6385 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
6386 test_bkpt_deletion, test_bkpt_cond_and_cmds,
6387 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
6388 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
6389 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
6390 remove with_test_prefix.
6391
300b6685
PA
63922017-10-13 Pedro Alves <palves@redhat.com>
6393
6394 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
6395 * gdb.base/annota1.exp: Use it instead of is_remote.
6396 * gdb.base/annota3.exp: Use it instead of is_remote.
6397 * gdb.cp/annota2.exp: Use it instead of is_remote.
6398 * gdb.cp/annota3.exp: Use it instead of is_remote.
6399 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
6400
50500caf
PA
64012017-10-13 Pedro Alves <palves@redhat.com>
6402
6403 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
6404 (test_num_test_vars, run_and_count_vars, find_env)
6405 (test_set_unset_env, test_inherit_env_var): New procedures.
6406 (top level): Use them.
6407
dad0c6d2
PA
64082017-10-13 Pedro Alves <palves@redhat.com>
6409
6410 * lib/selftest-support.exp (selftest_setup): Extend comments, and
6411 also skip on stub-like targets.
6412
8b0553c1
PA
64132017-10-13 Pedro Alves <palves@redhat.com>
6414
6415 PR gdb/22293
6416 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
6417 (top level): Move some tests to ...
6418 (test_not_found): ... this new procedure.
6419 (top level): Call it.
6420
7594f623
PA
64212017-10-13 Pedro Alves <palves@redhat.com>
6422
6423 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
6424 expect different "info terminal" output if testing with a
6425 non-native target.
6426
ebe3b402
PA
64272017-10-13 Pedro Alves <palves@redhat.com>
6428 Simon Marchi <simon.marchi@polymtl.ca>
6429
6430 PR python/12966
6431 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
6432
42f1b161
PA
64332017-10-13 Pedro Alves <palves@redhat.com>
6434
6435 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
6436 already.
6437
8d6ef72b
PA
64382017-10-13 Pedro Alves <palves@redhat.com>
6439
6440 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
6441 is_remote.
6442
d7bcd5b8
PA
64432017-10-13 Pedro Alves <palves@redhat.com>
6444
6445 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
6446 is_remote.
6447
df479dc6
PA
64482017-10-13 Pedro Alves <palves@redhat.com>
6449
6450 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
6451 is set.
6452 (corefile_test_attach): Likewise. Check can_spawn_for_attach
6453 instead of is_remote.
6454
23fb630a
PA
64552017-10-13 Pedro Alves <palves@redhat.com>
6456
6457 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
6458 (top level): Add comment.
6459
cc77b1dc
PA
64602017-10-13 Pedro Alves <palves@redhat.com>
6461
6462 * gdb.base/remote.exp (top level): Fix comment typo and add
6463 missing return.
6464
27c9e813
PA
64652017-10-13 Pedro Alves <palves@redhat.com>
6466 Simon Marchi <simon.marchi@polymtl.ca>
6467
6468 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
6469 calls and add comments. Skip test if use_gdb_stub is set.
6470 (top level): Use "set cwd" command instead of "cd" command.
6471
5e830d98
PA
64722017-10-13 Pedro Alves <palves@redhat.com>
6473
6474 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
6475 is_remote target check.
6476
f5ca0032
PA
64772017-10-13 Pedro Alves <palves@redhat.com>
6478
6479 * gdb.base/scope.exp: Use build_executable + clean_restart +
6480 gdb_file_cmd instead of prepare_for_testing and no longer skip
6481 "before run" tests on is_remote target boards. Update comments.
6482 * boards/native-extended-gdbserver.exp
6483 (extended_gdbserver_load_last_file): New, factored out from ...
6484 (gdb_load): ... this. Move further below and add comment.
6485 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
6486
8aed1c0d
PA
64872017-10-12 Pedro Alves <palves@redhat.com>
6488
6489 * gdb.base/attach.exp: Remove references to gdb64.
6490 * gdb.base/dbx.exp: Remove references to gdb64.
6491
cfa34c87
SM
64922017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
6493 Pedro Alves <palves@redhat.com>
6494
6495 * gdb.base/label.exp: Remove is_remote target check.
6496
9192b7de
PA
64972017-10-12 Pedro Alves <palves@redhat.com>
6498
6499 * gdb.base/auvx.exp (coredir): Update comment.
6500 (top level) <core_works>: Use "set cwd" command instead of "cd"
6501 command.
6502
6bf0052d
PA
65032017-10-12 Pedro Alves <palves@redhat.com>
6504 Simon Marchi <simon.marchi@polymtl.ca>
6505
6506 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
6507 target boards.
6508
e48ef82d
PA
65092017-10-12 Pedro Alves <palves@redhat.com>
6510 Simon Marchi <simon.marchi@polymtl.ca>
6511
6512 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
6513 Instead skip if there's any gdb_protocol set.
6514
8d7aea57
SM
65152017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
6516 Pedro Alves <palves@redhat.com>
6517
6518 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
6519
30440677
PA
65202017-10-12 Pedro Alves <palves@redhat.com>
6521 Simon Marchi <simon.marchi@polymtl.ca>
6522
6523 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
6524 instead of on dejagnu remote boards.
6525
4e04f045 65262017-10-12 Pedro Alves <palves@redhat.com>
175654b9 6527 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
6528
6529 * gdb.base/inferior-died.exp: Remove is_remote and isnative
6530 checks. Use build_executable + clean_restart instead of
6531 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
6532 of enabling non-stop after starting gdb.
6533
871a186e
PA
65342017-10-12 Pedro Alves <palves@redhat.com>
6535
6536 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
6537 * gdb.threads/non-ldr-exc-2.exp: Ditto.
6538 * gdb.threads/non-ldr-exc-3.exp: Ditto.
6539 * gdb.threads/non-ldr-exc-4.exp: Ditto.
6540
56d704da
AK
65412017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
6542
6543 * gdb.arch/arc-tdesc-cpu.exp: New file.
6544 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
6545
2f20e312
SM
65462017-10-10 Simon Marchi <simon.marchi@ericsson.com>
6547
6548 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
6549
65630365
PA
65502017-10-10 Pedro Alves <palves@redhat.com>
6551
6552 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
6553 expect CLI output.
6554
bf469271
PA
65552017-10-10 Pedro Alves <palves@redhat.com>
6556
6557 * lib/selftest-support.exp (selftest_setup): Update for
6558 captured_command_loop's prototype change.
6559
777a42f1
PA
65602017-10-09 Pedro Alves <palves@redhat.com>
6561
6562 Test both arch1=>arch2 and arch2=>arch1.
6563
6564 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
6565 (srcfile2, binfile2, march1, march2): Remove globals. Largely
6566 factored out to...
6567 (append_arch1_options, append_arch2_options, append_arch_options)
6568 (build_executables): New procedures.
6569 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
6570 local.
6571 (top level): Add new 'first_arch' testing axis.
6572
cbd2b4e3
PA
65732017-10-09 Pedro Alves <palves@redhat.com>
6574
6575 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
6576 (barrier): New.
6577 (thread_start, all_started): New functions.
6578 (main): Spawn new thread and wait until it is scheduled.
6579 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
6580 option.
6581 (do_test): Add 'selected_thread' parameter. Run to all_started
6582 instead of main. Explicitly set the breakpoint at main. Switch
6583 to the SELECTED_THREAD thread.
6584 (top level): Test handling the exec event with either the main
6585 thread or the second thread selected.
6586
5c9e4427
PA
65872017-10-09 Pedro Alves <palves@redhat.com>
6588
6589 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
6590 logic. Move STOP marker after the value checks.
6591 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
6592 regexp.
6593
b3b7c423
SL
65942017-10-06 Sandra Loosemore <sandra@codesourcery.com>
6595
6596 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
6597
3b4b2f16
UW
65982017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
6599
6600 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
6601 integer-to-dfp conversion.
6602 * gdb.base/dfp-test.exp: Likewise.
6603
5cd63fda
PA
66042017-10-04 Pedro Alves <palves@redhat.com>
6605
6606 * gdb.multi/hangout.c: Include <unistd.h>.
6607 (hangout_loop): New function.
6608 (main): Call alarm. Call hangout_loop in a loop.
6609 * gdb.multi/hello.c: Include <unistd.h>.
6610 (hello_loop): New function.
6611 (main): Call alarm. Call hangout_loop in a loop.
6612 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
6613 inferior with the other selected.
6614
4c71c105
SM
66152017-10-04 Simon Marchi <simon.marchi@ericsson.com>
6616
6617 * gdb.mi/list-thread-groups-available.exp: New file.
6618 * gdb.mi/list-thread-groups-available.c: New file.
6619
bc3b087d
SDJ
66202017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
6621
6622 * gdb.base/set-cwd.exp: Make it available on
6623 native-extended-gdbserver.
6624
d092c5a2
SDJ
66252017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
6626
6627 * gdb.base/set-cwd.c: New file.
6628 * gdb.base/set-cwd.exp: Likewise.
6629
45320ffa
TT
66302017-10-02 Tom Tromey <tom@tromey.com>
6631
6632 PR rust/22236:
6633 * gdb.rust/simple.rs (main): New variable "fslice".
6634 * gdb.rust/simple.exp: Add slice tests. Update string tests.
6635
b3e3859b
TT
66362017-10-02 Tom Tromey <tom@tromey.com>
6637
6638 * gdb.rust/simple.exp: Test ptype of a slice.
6639
01af5e0d
TT
66402017-10-02 Tom Tromey <tom@tromey.com>
6641
6642 * gdb.rust/simple.exp: Test index of slice.
6643
a9bbfbd8
TT
66442017-09-27 Tom Tromey <tom@tromey.com>
6645
6646 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
6647
df8899e5
TP
66482017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
6649 Pedro Alves <palves@redhat.com>
6650
6651 * gdb.base/compare-sections.exp (get value of read-only section): Read
6652 as unsigned value.
6653 (corrupt read-only section): Likewise and don't set written if patching
6654 failed.
6655
757bf54b
KB
66562017-09-21 Kevin Buettner <kevinb@redhat.com>
6657
6658 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
6659 files.
6660
06871ae8
PA
66612017-09-20 Pedro Alves <palves@redhat.com>
6662
6663 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
6664 symbol names in gdb's output.
6665 * gdb.cp/overload.exp ("list all overloads"): Likewise.
6666
e5f25bc5
PA
66672017-09-20 Pedro Alves <palves@redhat.com>
6668
6669 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
6670 Rename to ...
6671 (test_list_ambiguous_symbol): ... this and add a symbol name
6672 parameter. Adjust.
6673 (test_list_ambiguous_function): Reimplement on top of
6674 test_list_ambiguous_symbol and also test listing ambiguous
6675 variables.
6676 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
6677 (ambiguous_fun): ... this.
6678 (ambiguous_var): New.
6679 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
6680 (ambiguous_fun): ... this.
6681 (ambiguous_var): New.
6682
4e5a4f58
JB
66832017-09-19 John Baldwin <jhb@FreeBSD.org>
6684
6685 * gdb.base/starti.c: New file.
6686 * gdb.base/starti.exp: New file.
6687 * lib/gdb.exp (gdb_starti_cmd): New procedure.
6688
26e53f3e
PA
66892017-09-14 Pedro Alves <palves@redhat.com>
6690
6691 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
6692 (top level): Use it instead of runto.
6693
cb791d59
TT
66942017-09-11 Tom Tromey <tom@tromey.com>
6695
6696 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
6697
7c96f8c1
TT
66982017-09-11 Tom Tromey <tom@tromey.com>
6699
6700 * gdb.python/py-infthread.exp: Add tests for new_thread event.
6701 * gdb.python/py-inferior.exp: Add tests for new inferior events.
6702
469412dd
CW
67032017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
6704
6705 * gdb.fortran/printing-types.exp: New file.
6706 * gdb.fortran/printing-types.exp: New file.
6707
e0f86435
BH
67082017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
6709
6710 * gdb.fortran/vla-ptype.exp: Fix typos.
6711 * gdb.fortran/vla-value.exp: Same.
6712
9e9af4be
BH
67132017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
6714
6715 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
6716 * gdb.mi/mi-var-child-f.exp: Likewise.
6717 * gdb.mi/mi-vla-fortran.exp: Likewise.
6718
a5ad232b 67192017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
6720 Christoph Weinmann <christoph.t.weinmann@intel.com>
6721 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
6722
6723 * gdb.fortran/ptr-indentation.f90: New file.
6724 * gdb.fortran/ptr-indentation.exp: New file.
6725
5aec60eb
TT
67262017-09-05 Tom Tromey <tom@tromey.com>
6727
6728 PR gdb/22010:
6729 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
6730
8f8f8152
TP
67312017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
6732
6733 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
6734
fbd1b771
JK
67352017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6736
6737 * gdb.threads/tls-nodebug-pie.c: New file.
6738 * gdb.threads/tls-nodebug-pie.exp: New file.
6739
5eb5f850
TT
67402017-09-05 Tom Tromey <tom@tromey.com>
6741
6742 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
6743 for rust.
6744
ae780a21
SM
67452017-09-05 Simon Marchi <simon.marchi@ericsson.com>
6746
6747 * gdb.multi/multi-arch-exec.exp: Test with different
6748 "follow-exec-mode" settings.
6749 (do_test): New procedure.
6750
3693fdb3
PA
67512017-09-04 Pedro Alves <palves@redhat.com>
6752
6753 * gdb.base/func-static.c (S::method const, S::method volatile)
6754 (S::method volatile const): New methods.
6755 (c_s, v_s, cv_s): New instances.
6756 (main): Call method() on them.
6757 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
6758 (cannot_resolve): New procedure.
6759 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
6760 print-quote-unquoted columns.
6761 (do_test): Test printing each scope too.
6762
e68cb8e0
PA
67632017-09-04 Pedro Alves <palves@redhat.com>
6764
6765 * gdb.base/local-static.exp: Also test with
6766 class::method::variable wholly quoted.
6767 * gdb.cp/m-static.exp (class::method::variable): Remove test.
6768
858be34c
PA
67692017-09-04 Pedro Alves <palves@redhat.com>
6770
6771 * gdb.base/local-static.c: New.
6772 * gdb.base/local-static.cc: New.
6773 * gdb.base/local-static.exp: New.
6774
46a4882b
PA
67752017-09-04 Pedro Alves <palves@redhat.com>
6776
6777 * gdb.asm/asm-source.exp: Add casts to int.
6778 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
6779 (dataglobal64_1, dataglobal64_2): New globals.
6780 * gdb.base/nodebug.exp: Test different expressions involving the
6781 new globals, with print, whatis and ptype. Add casts to int.
6782 * gdb.base/solib-display.exp: Add casts to int.
6783 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
6784 * gdb.cp/m-static.exp: Add cast to int.
6785 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
6786 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
6787 tls variable with no debug info without a cast. Test with a cast
6788 to int too.
6789 * gdb.trace/entry-values.exp: Add casts.
6790
2c5a2be1
PA
67912017-09-04 Pedro Alves <palves@redhat.com>
6792
6793 * gdb.base/nodebug.exp: Test that ptype's error about functions
6794 with unknown return type includes the function name too.
6795
7022349d
PA
67962017-09-04 Pedro Alves <palves@redhat.com>
6797
6798 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
6799 return type of munmap in infcall.
6800 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
6801 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
6802 type of ftell in infcall.
6803 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
6804 type of getpid in infcall.
6805 * gdb.base/infcall-exec.exp: Cast return type of execlp in
6806 infcall.
6807 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
6808 Bail on failure to extract the pid.
6809 * gdb.base/nodebug.c: #include <stdint.h>.
6810 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
6811 New functions.
6812 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
6813 Change expected output of print/whatis/ptype with functions with
6814 no debug info. Test all supported languages. Call
6815 test_call_promotion.
6816 * gdb.compile/compile.exp: Adjust expected output to expect
6817 warning.
6818 * gdb.threads/siginfo-threads.exp: Likewise.
6819
54990598
PA
68202017-09-04 Pedro Alves <palves@redhat.com>
6821
6822 * gdb.base/callfuncs.exp (do_function_calls): New parameter
6823 "prototypes". Test calling float functions via prototyped and
6824 unprototyped function pointers.
6825 (perform_all_tests): New parameter "prototypes". Pass it down.
6826 (top level): Pass down "prototypes" parameter to
6827 perform_all_tests.
6828
34d16ea2
SM
68292017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6830
6831 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
6832 Test with nested loops.
6833
9521ecda
SM
68342017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6835
6836 * gdb.base/commands.exp: Call the new procedures.
6837 (loop_break_test, loop_continue_test): New procedures.
6838
80a65e9b
SM
68392017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6840
6841 * gdb.base/commands.exp: Call new procedure.
6842 (define_if_without_arg_test): New procedure.
6843
e439fa14
PA
68442017-09-04 Pedro Alves <palves@redhat.com>
6845
6846 * gdb.base/list-ambiguous.exp: New file.
6847 * gdb.base/list-ambiguous0.c: New file.
6848 * gdb.base/list-ambiguous1.c: New file.
6849 * gdb.base/list.exp (test_list_range): Adjust expected output.
6850
0a2dde4a
SDJ
68512017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
6852
6853 * gdb.base/share-env-with-gdbserver.c: New file.
6854 * gdb.base/share-env-with-gdbserver.exp: Likewise.
6855
5e89eb3a
SM
68562017-08-28 Simon Marchi <simon.marchi@ericsson.com>
6857
6858 * gdb.base/commands.exp (gdbvar_simple_if_test,
6859 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
6860 progvar_simple_if_test, progvar_simple_while_test,
6861 progvar_complex_if_while_test, user_defined_command_test,
6862 user_defined_command_args_eval,
6863 user_defined_command_args_stack_test,
6864 user_defined_command_manyargs_test, bp_deleted_in_command_test,
6865 temporary_breakpoint_commands,
6866 gdb_test_no_prompt, redefine_hook_test,
6867 redefine_backtrace_test): Remove "global gdb_prompt".
6868
fd437cbc
SM
68692017-08-28 Simon Marchi <simon.marchi@ericsson.com>
6870
6871 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
6872 New proc, call it from toplevel.
6873
87215ad1
SDJ
68742017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
6875
6876 PR remote/21852
6877 * gdb.server/normal.c: New file, copied from gdb.base.
6878 * gdb.server/run-without-local-binary.exp: New file.
6879
58afddc6
WP
68802017-08-07 Weimin Pan <weimin.pan@oracle.com>
6881
6882 * gdb.arch/sparc64-adi.exp: New file.
6883 * gdb.arch/sparc64-adi.c: New file.
6884
5277199a
PA
68852017-08-22 Pedro Alves <palves@redhat.com>
6886
6887 * gdb.cp/overload.exp (line_range_pattern): New procedure.
6888 (top level): Add "list all overloads" tests.
6889
14278e1f
TT
68902017-08-22 Tom Tromey <tom@tromey.com>
6891
6892 * gdb.gdb/xfullpath.exp: Remove.
6893
bf223d3e
PA
68942017-08-21 Pedro Alves <palves@redhat.com>
6895
6896 PR gdb/19487
6897 * gdb.base/symbol-alias.c: New.
6898 * gdb.base/symbol-alias2.c: New.
6899 * gdb.base/symbol-alias.exp: New.
6900
c973d0aa
PA
69012017-08-21 Pedro Alves <palves@redhat.com>
6902
6903 * gdb.base/dfp-test.c
6904 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
6905 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
6906 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
6907 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
6908 * gdb.base/whatis-ptype-typedefs.c: New.
6909 * gdb.base/whatis-ptype-typedefs.exp: New.
6910 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
6911 (an_int, an_int_type, an_int_type2): New globals.
6912 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
6913 involving typedefs and cast expressions.
6914 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
6915 (lookup_typedefs_function): New.
6916 (typedefs_pretty_printers_dict): New.
6917 (top level): Register lookup_typedefs_function in
6918 gdb.pretty_printers.
6919
6d580b63
YQ
69202017-08-18 Yao Qi <yao.qi@linaro.org>
6921
6922 * gdb.server/unittest.exp: New.
6923
206726fb
SDJ
69242017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
6925
6926 PR gdb/21954
6927 * gdb.base/environ.exp: Add test to check if 'unset environment'
6928 works.
6929
bf0ec4c2
AA
69302017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6931
6932 * lib/gdb.exp (universal_compile_options): New caching proc.
6933 (gdb_compile): Suppress GCC's coloring of messages.
6934
d6382fff
TT
69352017-08-14 Tom Tromey <tom@tromey.com>
6936
6937 PR gdb/21675:
6938 * gdb.base/printcmds.exp (test_radices): New function.
6939 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
6940 * gdb.base/sizeof.exp (check_valueof): Use p/d.
6941 * lib/gdb.exp (get_integer_valueof): Use p/d.
6942
c2c2dd9f
SM
69432017-08-12 Simon Marchi <simon.marchi@ericsson.com>
6944
6945 * lib/gdb.exp (get_valueof): Don't capture end-of-line
6946 characters.
6947
fdffd6f4
TT
69482017-08-05 Tom Tromey <tom@tromey.com>
6949
6950 * gdb.rust/simple.exp: Allow String to appear in a different
6951 namespace.
6952
27d41eac
YQ
69532017-07-26 Yao Qi <yao.qi@linaro.org>
6954
6955 * gdb.gdb/unittest.exp: Invoke command
6956 "maintenance check xml-descriptions".
6957
031ed05d
AA
69582017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
6959
6960 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
6961 calling context.
6962 (hex128): Drop erroneous calculation of parameters.
6963
dcd27ddf
SM
69642017-07-22 Simon Marchi <simon.marchi@ericsson.com>
6965
6966 * gdb.python/py-unwind.exp: Disable stack protection when
6967 building test file.
6968
47e77640
PA
69692017-07-20 Pedro Alves <palves@redhat.com>
6970
6971 * gdb.base/default.exp (set language): Adjust expected output.
6972
62d2a18a
PA
69732017-07-20 Pedro Alves <palves@redhat.com>
6974
6975 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
6976 (test_minsym): ... this, and make static.
6977 (get_pck__foo__bar__minsym): Rename to ...
6978 (get_test_minsym): ... this.
6979 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
6980 symbol names and comments.
6981 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
6982 (get_test_minsym): ... this.
6983 (pck__foo__bar__minsym__2): Rename to ...
6984 (test_minsym): ... this.
6985 (main): Adjust.
6986
c45ec17c
PA
69872017-07-17 Pedro Alves <palves@redhat.com>
6988
6989 * gdb.base/completion.exp: Adjust expected output.
6990 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
6991 the completer works.
6992
c6756f62
PA
69932017-07-17 Pedro Alves <palves@redhat.com>
6994
6995 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
6996
5bd68487
AB
69972017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
6998
6999 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
7000
8880f2a9
TT
70012017-07-14 Tom Tromey <tom@tromey.com>
7002
7003 PR rust/21764:
7004 * gdb.rust/simple.exp: Add tests.
7005
65547233
TT
70062017-07-14 Tom Tromey <tom@tromey.com>
7007
7008 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
7009
8f14146e
PA
70102017-07-14 Pedro Alves <palves@redhat.com>
7011
7012 * gdb.linespec/base/one/thefile.cc (z1): New function.
7013 * gdb.linespec/base/two/thefile.cc (z2): New function.
7014 * gdb.linespec/linespec.exp: Add tests.
7015
b4365d02
AB
70162017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
7017
7018 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
7019 to mi_create_breakpoint.
7020
5d2cbaa5
AB
70212017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
7022
7023 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
7024 mi_create_breakpoint.
7025
11cb5716
IB
70262017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
7027
7028 * gdb.dlang/demangle.exp: Update for demangling changes.
7029
03278692
TT
70302017-07-09 Tom Tromey <tom@tromey.com>
7031
7032 * gdb.dwarf2/shortpiece.exp: New file.
7033
33c5cd75
DB
70342017-07-06 David Blaikie <dblaikie@gmail.com>
7035
7036 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
7037 built from fissiont-multi-cu{1,2}.c.
7038 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
7039 except putting 'main' and 'func' in separate CUs in the same DWO file.
7040 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
7041 test.
7042 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
7043 test.
7044
8455d262
PA
70452017-07-06 Pedro Alves <palves@redhat.com>
7046
7047 * gdb.python/py-unwind.exp: Test flushregs.
7048
dc4bde35
SDJ
70492017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
7050
7051 PR cli/21688
7052 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
7053 tests for alias commands and trailing whitespace.
7054
51ed89aa
SDJ
70552017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
7056
7057 PR cli/21688
7058 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
7059 procedure. Call it.
7060
eb17d413
PA
70612017-06-29 Pedro Alves <palves@redhat.com>
7062
7063 * gdb.base/printcmds.exp: Add tests.
7064
41664b45
DG
70652017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
7066
7067 PR gdb/21337
7068 * gdb.base/reread-readsym.exp: New file.
7069 * gdb.base/reread-readsym.c: New file.
7070
75312ae3
KB
70712017-06-21 Kevin Buettner <kevinb@redhat.com>
7072
7073 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
7074 subpattern.
7075
66953522
PB
70762017-06-19 Peter Bergner <bergner@vnet.ibm.com>
7077
7078 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
7079 extended mnemonic.
7080 * gdb.arch/powerpc-power9.s: Likewise.
7081
5524b525
AA
70822017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7083
7084 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
7085 on 32-bit x86 targets. Exploit is_*_target macros where
7086 appropriate.
7087
03c8af18
AA
70882017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7089
7090 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
7091 register pieces.
7092
3bf31011
AA
70932017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7094
7095 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
7096 located in one or more DWARF pieces.
7097
805acca0
AA
70982017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7099
7100 * lib/gdb.exp (get_endianness): New proc.
7101 * gdb.arch/aarch64-fp.exp: Use it.
7102 * gdb.arch/altivec-regs.exp: Likewise.
7103 * gdb.arch/e500-regs.exp: Likewise.
7104 * gdb.arch/vsx-regs.exp: Likewise.
7105 * gdb.base/dump.exp: Likewise.
7106 * gdb.base/funcargs.exp: Likewise.
7107 * gdb.base/gnu_vector.exp: Likewise.
7108 * gdb.dwarf2/formdata16.exp: Likewise.
7109 * gdb.dwarf2/implptrpiece.exp: Likewise.
7110 * gdb.dwarf2/nonvar-access.exp: Likewise.
7111 * gdb.python/py-inferior.exp: Likewise.
7112 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
7113
e9352324
AA
71142017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7115
7116 PR gdb/21226
7117 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
7118 stack value pieces are taken from the LSB end.
7119
d5d1163e
AA
71202017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7121
7122 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
7123 variable at nonzero offset.
7124
0567c986
AA
71252017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7126
7127 * gdb.dwarf2/var-access.c: New file.
7128 * gdb.dwarf2/var-access.exp: New test.
7129 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
7130
973e9aab
TT
71312017-06-12 Tom Tromey <tom@tromey.com>
7132
7133 * gdb.dwarf2/formdata16.exp: Add tests.
7134
d9109c80
TT
71352017-06-12 Tom Tromey <tom@tromey.com>
7136
7137 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
7138
30a25466
TT
71392017-06-12 Tom Tromey <tom@tromey.com>
7140
7141 PR exp/16225:
7142 * gdb.reverse/i386-sse-reverse.exp: Update tests.
7143 * gdb.arch/vsx-regs.exp: Update tests.
7144 * gdb.arch/s390-vregs.exp (hex128): New proc.
7145 Update test.
7146 * gdb.arch/altivec-regs.exp: Update tests.
7147
aefd8b33
SDJ
71482017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
7149
7150 * gdb.base/startup-with-shell.c: New file.
7151 * gdb.base/startup-with-shell.exp: Likewise.
7152
2090129c
SDJ
71532017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
7154
7155 * gdb.server/non-existing-program.exp: Update regex in order to
7156 reflect the fact that gdbserver is now using fork_inferior (with a
7157 shell) to startup the inferior.
7158
8e86a419
SM
71592017-05-30 Simon Marchi <simon.marchi@ericsson.com>
7160
7161 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
7162 support function calls from GDB.
7163
e6cf65f2
TT
71642017-05-21 Tom Tromey <tom@tromey.com>
7165
7166 PR rust/21466:
7167 * gdb.rust/unsized.exp: New file.
7168 * gdb.rust/unsized.rs: New file.
7169
43cc5389
TT
71702017-05-19 Tom Tromey <tom@tromey.com>
7171
7172 PR rust/21484:
7173 * gdb.rust/watch.exp: New file.
7174 * gdb.rust/watch.rs: New file.
7175
ec8df234
TT
71762017-05-18 Tom Tromey <tom@tromey.com>
7177
7178 * gdb.rust/simple.exp: Allow Box to be qualified.
7179
3e3e7fae
TP
71802017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
7181
7182 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
7183
59cc050d
PA
71842017-05-18 Pedro Alves <palves@redhat.com>
7185
7186 * gdb.base/fileio.c (test_write, test_read, test_close)
7187 (test_fstat): Don't print 'ret' in the fail path.
7188
c8f6abd1
PA
71892017-05-18 Pedro Alves <palves@redhat.com>
7190
7191 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
7192 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
7193 (test_system, test_rename, test_unlink, test_time): Change
7194 prototypes.
7195 * gdb.base/fileio.exp (stop_msg): Adjust.
7196
d2a03b77
PA
71972017-05-18 Pedro Alves <palves@redhat.com>
7198
7199 * gdb.base/fileio.c (null_str): New global.
7200 (test_stat): Use it.
7201 * gdb.base/fileio.exp: Remove nowarnings.
7202
0d5c6999
YQ
72032017-05-17 Yao Qi <yao.qi@linaro.org>
7204
7205 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
7206
21873064
YQ
72072017-05-17 Simon Marchi <simon.marchi@ericsson.com>
7208
7209 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
7210 argument command.
7211 (top-level): Invoke test_set_inferior_tty.
7212
d512d31c
PA
72132017-05-04 Pedro Alves <palves@redhat.com>
7214
7215 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
7216 Add parens to print call for Python 3.
7217
90cef2ed
KS
72182017-05-03 Keith Seitz <keiths@redhat.com>
7219
7220 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
7221 (main): Call it.
7222
14f819c8
TW
72232017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7224
7225 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
7226 to prev and next.
7227
913aeadd
TW
72282017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7229
7230 * gdb.python/py-record-btrace.exp: Remove test for
7231 gdb.BtraceInstruction.error.
7232
a3be24ad
TW
72332017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7234
7235 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
7236
ae20e79a
TW
72372017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7238
7239 * gdb.python/py-record-btrace-threads.c: New file.
7240 * gdb.python/py-record-btrace-threads.exp: New file.
7241
45ce1b47
SDJ
72422017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
7243
7244 PR testsuite/8595
7245 * gdb.base/environ.exp: Make test available in all architectures.
7246 Move bits related to "info program" testing to
7247 gdb.base/info-program.exp. Rewrite tests to use the two new
7248 procedures mentione below.
7249 (test_set_show_env_var) New procedure.
7250 (test_set_show_env_var_equal): Likewise.
7251 * gdb.base/info-program.exp: New file.
7252
e15c3eb4
KS
72532017-04-27 Keith Seitz <keiths@redhat.com>
7254
7255 * gdb.cp/oranking.cc (test15): New function.
7256 (main): Call test15 and declare additional variables for testing.
7257 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
7258 "p foo101('abc')" tests.
7259 Add tests for cv qualifier overloads.
7260 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
7261 "lvalue reference overload" test.
7262 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
7263 "print value of f1 on Child&& in f2" test.
7264
3a3fd0fd
PA
72652017-04-19 Pedro Alves <palves@redhat.com>
7266
7267 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
7268 procedure.
7269 (top level): Call it.
7270 * lib/gdb.exp (gdb_define_cmd): New procedure.
7271
53375380
PA
72722017-04-12 Pedro Alves <palves@redhat.com>
7273
7274 PR gdb/21323
7275 * gdb.cp/wide_char_types.c: Include <wchar.h>.
7276 (wchar): New global.
7277 * gdb.cp/wide_char_types.exp (wide_char_types_program)
7278 (do_test_wide_char, wide_char_types_no_program, top level): Add
7279 wchar_t testing.
7280
53e710ac
PA
72812017-04-12 Pedro Alves <palves@redhat.com>
7282
7283 PR c++/21323
7284 * gdb.cp/wide_char_types.c: New file.
7285 * gdb.cp/wide_char_types.exp: New file.
7286
0ad9d8c7
SDJ
72872017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
7288
7289 PR gdb/21352
7290 * gdb.trace/tsv.exp: Add test for "tsave -r".
7291
b1b45502
IB
72922017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
7293
7294 * gdb.dlang/watch-loc.c: New file.
7295 * gdb.dlang/watch-loc.exp: New file.
7296
ec13808e
JK
72972017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7298
7299 * gdb.python/py-section-script.exp (sepdebug): New testcases.
7300
fe5f7374
AK
73012017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
7302
7303 * gdb.arch/arc-analyze-prologue.S: New file.
7304 * gdb.arch/arc-analyze-prologue.exp: Likewise.
7305
eea78757
AK
73062017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
7307
7308 * gdb.arch/arc-decode-insn.S: New file.
7309 * gdb.arch/arc-decode-insn.exp: Likewise.
7310
5badf10a
IR
73112017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
7312
7313 PR tdep/20928
7314 * gdb.arch/sparc64-regs.exp: New file.
7315 * gdb.arch/sparc64-regs.S: Likewise.
7316
cee59b3f
TW
73172017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
7318
7319 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
7320 and memory view on Python 3.
7321
c0f55cc6
AV
73222017-03-20 Artemiy Volkov <artemiyv@acm.org>
7323 Keith Seitz <keiths@redhat.com>
7324
7325 PR gdb/14441
7326 * gdb.cp/demangle.exp: Add rvalue reference tests.
7327 * gdb.cp/rvalue-ref-casts.cc: New file.
7328 * gdb.cp/rvalue-ref-casts.exp: New file.
7329 * gdb.cp/rvalue-ref-overload.cc: New file.
7330 * gdb.cp/rvalue-ref-overload.exp: New file.
7331 * gdb.cp/rvalue-ref-params.cc: New file.
7332 * gdb.cp/rvalue-ref-params.exp: New file.
7333 * gdb.cp/rvalue-ref-sizeof.cc: New file.
7334 * gdb.cp/rvalue-ref-sizeof.exp: New file.
7335 * gdb.cp/rvalue-ref-types.cc: New file.
7336 * gdb.cp/rvalue-ref-types.exp: New file.
7337 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
7338 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
7339
51457a05
MAL
73402017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
7341
7342 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
7343 New procedure.
7344
5b291c04
MAL
73452017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
7346
7347 * lib/mi-support.exp (mi_gdb_test): Add additional message
7348 for unexpected output.
7349
59a56148
AA
73502017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
7351
7352 * gdb.base/examine-backward.c (Barrier): New character array
7353 constant, to ensure that TestStrings is preceded by a string
7354 terminator.
7355
7942e96e
AA
73562017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7357
7358 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
7359 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
7360 and implicit pointer into such a location.
7361
6ebac3fb
DE
73622017-03-16 Doug Evans <dje@google.com>
7363
7364 * gdb.python/py-lazy-string (pointer): Really add new typedef.
7365
ec3b243d
TP
73662017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
7367
7368 * gdb.cp/m-static.exp: Fix expectation for prototype of
7369 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
7370
73712017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
7372
7373 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
7374 * gdb.guile/scm-lazy-string.c: New file.
7375 * gdb.guile/scm-value.exp: Move lazy string tests to ...
7376 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
7377 for pointer, array, typedef lazy strings.
7378
2cc36e25 73792017-03-16 Doug Evans <dje@google.com>
34b43320
DE
7380
7381 PR python/17728, python/18439, python/18779
7382 * gdb.python/py-value.c (main) Delete locals sptr, sn.
7383 * gdb.python/py-lazy-string.c (pointer): New typedef.
7384 (main): New locals ptr, array, typedef_ptr.
7385 * gdb.python/py-value.exp: Move lazy string tests to ...
7386 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
7387 array, typedef lazy strings.
ec3b243d 7388
0efcde63
AK
73892017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
7390
7391 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
7392 Add optional 'test' parameter.
7393
7978d7c3
SM
73942017-03-13 Simon Marchi <simon.marchi@ericsson.com>
7395
7396 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
7397 Skip for versions of DejaGnu < 1.5.
7398
896c0c1e
SM
73992017-03-13 Simon Marchi <simon.marchi@ericsson.com>
7400
7401 * lib/gdb.exp (dejagnu_version): New proc.
7402 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
7403 Use dejagnu_version.
7404
5f4d1085
KS
74052017-03-10 Keith Seitz <keiths@redhat.com>
7406
7407 PR c++/8128
7408 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
7409 type from destructor regexps.
7410 Add a branch which actually passes the test.
7411 Adjust "ptype t5i" test names.
7412
1de05205
PA
74132017-03-08 Pedro Alves <palves@redhat.com>
7414
7415 * gdb.base/step-over-exit.exp: Add explicit test message.
7416
c65d6b55
PA
74172017-03-08 Pedro Alves <palves@redhat.com>
7418
7419 PR gdb/18360
7420 * gdb.threads/interrupt-while-step-over.c: New file.
7421 * gdb.threads/interrupt-while-step-over.exp: New file.
7422
2e86a283
PA
74232017-03-08 Pedro Alves <palves@redhat.com>
7424
7425 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
7426 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
7427
25dcbff6
PA
74282017-03-08 Pedro Alves <palves@redhat.com>
7429
7430 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
7431 PKRU as not supported as a PASS.
7432
dc9366eb
PA
74332017-03-08 Pedro Alves <palves@redhat.com>
7434
7435 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
7436 prefix instead of $binfile1/$binfile2.
7437 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
7438 in test message.
7439 * gdb.python/py-completion.exp: Use "load python file" as test
7440 messages instead of unstable path names.
7441
6e5d74e7
PA
74422017-03-08 Pedro Alves <palves@redhat.com>
7443 Jan Kratochvil <jan.kratochvil@redhat.com>
7444
7445 PR cli/21218
7446 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
7447 New proc.
7448 (top level): Call it.
7449
9753a2f6
PA
74502017-03-08 Pedro Alves <palves@redhat.com>
7451
7452 PR tui/21216
7453 * gdb.tui/tui-nl-filtered-output.exp: New file.
7454
1a4dd9dd
PA
74552017-03-08 Pedro Alves <palves@redhat.com>
7456
7457 * gdb.base/completion.exp: Move TUI completion tests to ...
7458 * gdb.tui/completion.exp: ... this new file.
7459
7cbbff33
PA
74602017-03-08 Pedro Alves <palves@redhat.com>
7461
7462 * gdb.base/tui-disasm-long-lines.c,
7463 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
7464 gdb.base/tui-layout.exp: Move to ...
7465 * gdb.tui/: ... this new directory.
7466
5f6fd321
PA
74672017-03-07 Pedro Alves <palves@redhat.com>
7468
7469 * gdb.base/tui-layout.c: New file.
7470 * gdb.base/tui-layout.exp: New file.
7471
44959fa8
PA
74722017-03-07 Pedro Alves <palves@redhat.com>
7473
7474 * gdb.base/tui-layout.c: Rename to ...
7475 * gdb.base/tui-disasm-long-lines.c: ... this.
7476 * gdb.base/tui-layout.exp: Rename to ...
7477 * gdb.base/tui-disasm-long-lines.exp: ... this.
7478
f8c4e718
PA
74792017-03-07 Pedro Alves <palves@redhat.com>
7480
7481 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
7482
6dbb839a 74832017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
7484
7485 * i386-mpx-call.c: New file.
7486 * i386-mpx-call.exp: New file.
7487
65b48a81
PB
74882017-02-28 Peter Bergner <bergner@vnet.ibm.com>
7489
7490 * gdb.arch/powerpc-power.exp: Delete test.
7491 * gdb.arch/powerpc-power.s: Likewise.
7492 * gdb.disasm/disassembler-options.exp: New test.
7493 * gdb.arch/powerpc-altivec.exp: Likewise.
7494 * gdb.arch/powerpc-altivec.s: Likewise.
7495 * gdb.arch/powerpc-altivec2.exp: Likewise.
7496 * gdb.arch/powerpc-altivec2.s: Likewise.
7497 * gdb.arch/powerpc-altivec3.exp: Likewise.
7498 * gdb.arch/powerpc-altivec3.s: Likewise.
7499 * gdb.arch/powerpc-power7.exp: Likewise.
7500 * gdb.arch/powerpc-power7.s: Likewise.
7501 * gdb.arch/powerpc-power8.exp: Likewise.
7502 * gdb.arch/powerpc-power8.s: Likewise.
7503 * gdb.arch/powerpc-power9.exp: Likewise.
7504 * gdb.arch/powerpc-power9.s: Likewise.
7505 * gdb.arch/powerpc-vsx.exp: Likewise.
7506 * gdb.arch/powerpc-vsx.s: Likewise.
7507 * gdb.arch/powerpc-vsx2.exp: Likewise.
7508 * gdb.arch/powerpc-vsx2.s: Likewise.
7509 * gdb.arch/powerpc-vsx3.exp: Likewise.
7510 * gdb.arch/powerpc-vsx3.s: Likewise.
7511 * gdb.arch/arm-disassembler-options.exp: Likewise.
7512 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
7513 * gdb.arch/s390-disassembler-options.exp: Likewise.
7514
17cd4947
LM
75152017-02-23 Luis Machado <lgustavo@codesourcery.com>
7516
7517 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
7518 (check_supported_features): ... this. Changed return type to void.
7519 (supports_rdseed): New static global.
7520 (rdseed): Check supports_rdseed.
7521 (initialize): Call check_supported_features.
7522
2039d74e
EBM
75232017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7524
7525 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
7526 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
7527 and lqarx/stqcx.
7528 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
7529 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
7530
a51d7ecf
EBM
75312017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7532
7533 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
7534 uppercase.
7535
0224619f
JK
75362017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7537
7538 * gdb.dwarf2/formdata16.c: New file.
7539 * gdb.dwarf2/formdata16.exp: New file.
7540 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
7541
216f72a1
JK
75422017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7543
7544 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
7545 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
7546 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
7547 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
7548 DW_AT_GNU_*.
7549
43988095
JK
75502017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7551
7552 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
7553
99e8a4f9
SDJ
75542017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
7555
7556 PR gdb/21164
7557 * gdb.base/maint.exp: Add testcases for when the commands do
7558 not have arguments.
7559
b58a8c0c
TP
75602017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
7561
7562 * gdb.cp/chained-calls.exp: Use p instead of P.
7563
4e746bb6
TW
75642017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
7565
7566 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
7567 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
7568
3f77c769
TT
75692017-02-14 Tom Tromey <tom@tromey.com>
7570
7571 PR python/13598:
7572 * gdb.python/py-events.exp: Add before_prompt event tests.
7573
075beec0
AA
75742017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7575
7576 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
7577
bf5f525c
LM
75782017-02-13 Luis Machado <lgustavo@codesourcery.com>
7579
7580 * gdb.linespec/explicit.c (my_unique_function_name): New function.
7581 (main): Call my_unique_function_name.
7582 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
7583 completion of patterns with a single match.
7584 Add missing -re switches to gdb_test_multiple calls.
7585
13a66184
LM
75862017-02-13 Luis Machado <lgustavo@codesourcery.com>
7587
7588 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
7589 return if core file is not recognized.
7590
26a06916
SM
75912017-02-10 Simon Marchi <simon.marchi@ericsson.com>
7592
7593 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
7594 and extra UIs.
7595
b761ca9e
SM
75962017-02-10 Simon Marchi <simon.marchi@ericsson.com>
7597
7598 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
7599 proc_with_prefix.
7600
b964bee0
TT
76012017-02-10 Tom Tromey <tom@tromey.com>
7602
7603 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
7604
18da0c51
MG
76052017-02-10 Martin Galvan <martingalvan@sourceware.org>
7606
7607 PR gdb/21122
7608 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
7609
604c4576
JG
76102017-02-08 Jerome Guitton <guitton@adacore.com>
7611
7612 * gdb.base/define.exp: Add test for command abbreviations
7613 in define.
7614
20b477a7
LM
76152017-02-06 Luis Machado <lgustavo@codesourcery.com>
7616
7617 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
7618 * gdb.reverse/insn-reverse-x86.c: New file.
7619
3f7b46f2
IR
76202017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
7621
7622 PR tdep/20936
7623 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
7624
f0fd41c1
TT
76252017-02-03 Tom Tromey <tom@tromey.com>
7626
7627 PR rust/21097:
7628 * gdb.rust/simple.exp: Add new tests.
7629
5be5dbf0
PA
76302017-02-02 Pedro Alves <palves@redhat.com>
7631
7632 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
7633 tests.
7634
7346ef59
AA
76352017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
7636
7637 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
7638 taking a 2-byte value out of a 4-byte DWARF implicit value on
7639 big-endian targets.
7640 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
7641 logic. Add test cases for DW_OP_implicit.
7642
787f0025
MM
76432017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7644
7645 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
7646
68777c29
MM
76472017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7648
7649 * gdb.btrace/enable.exp: Call gdb_exit before
7650 skip_gdbserver_tests.
7651
0a1c7e28
MM
76522017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7653
7654 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
7655 GDBFLAGS.
7656
b5ac99b0
MM
76572017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7658
7659 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
7660 the test is skipped.
7661 * gdb.btrace/data.exp: Likewise.
7662 * gdb.btrace/delta.exp: Likewise.
7663 * gdb.btrace/dlopen.exp: Likewise.
7664 * gdb.btrace/enable-running.exp: Likewise.
7665 * gdb.btrace/enable.exp: Likewise.
7666 * gdb.btrace/exception.exp: Likewise.
7667 * gdb.btrace/function_call_history.exp: Likewise.
7668 * gdb.btrace/gcore.exp: Likewise.
7669 * gdb.btrace/instruction_history.exp: Likewise.
7670 * gdb.btrace/multi-thread-step.exp: Likewise.
7671 * gdb.btrace/nohist.exp: Likewise.
7672 * gdb.btrace/non-stop.exp: Likewise.
7673 * gdb.btrace/reconnect.exp: Likewise.
7674 * gdb.btrace/record_goto-step.exp: Likewise.
7675 * gdb.btrace/record_goto.exp: Likewise.
7676 * gdb.btrace/rn-dl-bind.exp: Likewise.
7677 * gdb.btrace/segv.exp: Likewise.
7678 * gdb.btrace/step.exp: Likewise.
7679 * gdb.btrace/stepi.exp: Likewise.
7680 * gdb.btrace/tailcall-only.exp: Likewise.
7681 * gdb.btrace/tailcall.exp: Likewise.
7682 * gdb.btrace/tsx.exp: Likewise.
7683 * gdb.btrace/unknown_functions.exp: Likewise.
7684 * gdb.btrace/vdso.exp: Likewise.
7685
cd4007e4
MM
76862017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7687
7688 * gdb.btrace/enable-running.c: New.
7689 * gdb.btrace/enable-running.exp: New.
7690
2735833d
WT
76912017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
7692
7693 * gdb.arch/amd64-gs_base.c: New file.
7694 * gdb.arch/amd64-gs_base.exp: New file.
7695
b51e1e94
LM
76962017-01-26 Luis Machado <lgustavo@codesourcery.com>
7697
7698 * lib/memory.exp: Remove spurious empty newlines.
7699
72ca0410
SM
77002017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
7701
7702 * gdb.python/py-bad-printers.exp: Load python file using "source".
7703 * gdb.python/py-events.exp: Likewise.
7704 * gdb.python/py-evsignal.exp: Likewise.
7705 * gdb.python/py-evthreads.exp: Likewise.
7706 * gdb.python/py-frame-args.exp: Likewise.
7707 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
7708 * gdb.python/py-framefilter-mi.exp: Likewise.
7709 * gdb.python/py-framefilter.exp: Likewise.
7710 * gdb.python/py-mi.exp: Likewise.
7711 * gdb.python/py-pp-maint.exp: Likewise.
7712 * gdb.python/py-pp-registration.exp: Likewise.
7713 * gdb.python/py-prettyprint.exp: Likewise.
7714 (run_lang_tests): Likewise.
7715 * gdb.python/py-typeprint.exp: Likewise.
7716
e309aa65
LM
77172017-01-26 Luis Machado <lgustavo@codesourcery.com>
7718
7719 * lib/memory.exp: New file.
7720 * lib/gdb.exp: Load memory.exp.
7721 * gdb.base/memattr.exp (delete_memory): Move proc to
7722 lib/memory.exp and rename to delete_memory_regions.
7723 Replace delete_memory with delete_memory_regions.
7724 Cleanup memory regions before tests.
7725 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
7726 before tests.
7727
515aff23
LM
77282017-01-26 Luis Machado <lgustavo@codesourcery.com>
7729
7730 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
7731 files.
7732 (initialize): New function conditionally defined.
7733 (testcases): Move within conditional block.
7734 (main): Call initialize.
7735 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
7736 of gdb.reverse/insn-reverse.c.
7737 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
7738 gdb.reverse/insn-reverse.c.
7739
d8b49cf0
YQ
77402017-01-26 Yao Qi <yao.qi@linaro.org>
7741
7742 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
7743 disassemble on address 0.
7744
f13a9a0c
YQ
77452017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
7746 Yao Qi <yao.qi@linaro.org>
7747
7748 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
7749 * gdb.dwarf2/implptr-64bit.S: Remove.
7750 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
7751 variables in caller's context. Add DW_OP_implicit_value.
7752
5ac95241
YQ
77532017-01-25 Yao Qi <yao.qi@linaro.org>
7754
7755 * lib/dwarf.exp (Dwarf::_location): Handle
7756 DW_OP_GNU_implicit_pointer with proper size.
7757
23e82930
LM
77582017-01-20 Luis Machado <lgustavo@codesourcery.com>
7759
7760 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
7761 and add untested calls.
7762
d334ae25
LM
77632017-01-20 Luis Machado <lgustavo@codesourcery.com>
7764
7765 * gdb.python/python.exp: Check line number against what GDB thinks
7766 the line number is for func1.
7767
f5e6296e
IB
77682017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
7769
7770 * gdb.dlang/debug-expr.exp: New file.
7771
5b362f04
LM
77722016-12-23 Luis Machado <lgustavo@codesourcery.com>
7773
7774 Fix test names for the following files:
7775
7776 * gdb.ada/exec_changed.exp
7777 * gdb.ada/info_types.exp
7778 * gdb.arch/aarch64-atomic-inst.exp
7779 * gdb.arch/aarch64-fp.exp
7780 * gdb.arch/altivec-abi.exp
7781 * gdb.arch/altivec-regs.exp
7782 * gdb.arch/amd64-byte.exp
7783 * gdb.arch/amd64-disp-step.exp
7784 * gdb.arch/amd64-dword.exp
7785 * gdb.arch/amd64-entry-value-inline.exp
7786 * gdb.arch/amd64-entry-value-param.exp
7787 * gdb.arch/amd64-entry-value-paramref.exp
7788 * gdb.arch/amd64-entry-value.exp
7789 * gdb.arch/amd64-i386-address.exp
7790 * gdb.arch/amd64-invalid-stack-middle.exp
7791 * gdb.arch/amd64-invalid-stack-top.exp
7792 * gdb.arch/amd64-optimout-repeat.exp
7793 * gdb.arch/amd64-prologue-skip.exp
7794 * gdb.arch/amd64-prologue-xmm.exp
7795 * gdb.arch/amd64-stap-special-operands.exp
7796 * gdb.arch/amd64-stap-wrong-subexp.exp
7797 * gdb.arch/amd64-tailcall-cxx.exp
7798 * gdb.arch/amd64-tailcall-noret.exp
7799 * gdb.arch/amd64-tailcall-ret.exp
7800 * gdb.arch/amd64-tailcall-self.exp
7801 * gdb.arch/amd64-word.exp
7802 * gdb.arch/arm-bl-branch-dest.exp
7803 * gdb.arch/arm-disp-step.exp
7804 * gdb.arch/arm-neon.exp
7805 * gdb.arch/arm-single-step-kernel-helper.exp
7806 * gdb.arch/avr-flash-qualifier.exp
7807 * gdb.arch/disp-step-insn-reloc.exp
7808 * gdb.arch/e500-abi.exp
7809 * gdb.arch/e500-regs.exp
7810 * gdb.arch/ftrace-insn-reloc.exp
7811 * gdb.arch/i386-avx512.exp
7812 * gdb.arch/i386-bp_permanent.exp
7813 * gdb.arch/i386-byte.exp
7814 * gdb.arch/i386-cfi-notcurrent.exp
7815 * gdb.arch/i386-disp-step.exp
7816 * gdb.arch/i386-dr3-watch.exp
7817 * gdb.arch/i386-float.exp
7818 * gdb.arch/i386-gnu-cfi.exp
7819 * gdb.arch/i386-mpx-map.exp
7820 * gdb.arch/i386-mpx-sigsegv.exp
7821 * gdb.arch/i386-mpx-simple_segv.exp
7822 * gdb.arch/i386-mpx.exp
7823 * gdb.arch/i386-permbkpt.exp
7824 * gdb.arch/i386-prologue.exp
7825 * gdb.arch/i386-signal.exp
7826 * gdb.arch/i386-size-overlap.exp
7827 * gdb.arch/i386-unwind.exp
7828 * gdb.arch/i386-word.exp
7829 * gdb.arch/mips-fcr.exp
7830 * gdb.arch/powerpc-d128-regs.exp
7831 * gdb.arch/powerpc-stackless.exp
7832 * gdb.arch/ppc64-atomic-inst.exp
7833 * gdb.arch/s390-stackless.exp
7834 * gdb.arch/s390-tdbregs.exp
7835 * gdb.arch/s390-vregs.exp
7836 * gdb.arch/sparc-sysstep.exp
7837 * gdb.arch/thumb-bx-pc.exp
7838 * gdb.arch/thumb-singlestep.exp
7839 * gdb.arch/thumb2-it.exp
7840 * gdb.arch/vsx-regs.exp
7841 * gdb.asm/asm-source.exp
7842 * gdb.base/a2-run.exp
7843 * gdb.base/advance.exp
7844 * gdb.base/all-bin.exp
7845 * gdb.base/anon.exp
7846 * gdb.base/args.exp
7847 * gdb.base/arithmet.exp
7848 * gdb.base/async-shell.exp
7849 * gdb.base/async.exp
7850 * gdb.base/attach-pie-noexec.exp
7851 * gdb.base/attach-twice.exp
7852 * gdb.base/auto-load.exp
7853 * gdb.base/bang.exp
7854 * gdb.base/bitfields.exp
7855 * gdb.base/break-always.exp
7856 * gdb.base/break-caller-line.exp
7857 * gdb.base/break-entry.exp
7858 * gdb.base/break-inline.exp
7859 * gdb.base/break-on-linker-gcd-function.exp
7860 * gdb.base/break-probes.exp
7861 * gdb.base/break.exp
7862 * gdb.base/breakpoint-shadow.exp
7863 * gdb.base/call-ar-st.exp
7864 * gdb.base/call-sc.exp
7865 * gdb.base/call-signal-resume.exp
7866 * gdb.base/call-strs.exp
7867 * gdb.base/callfuncs.exp
7868 * gdb.base/catch-fork-static.exp
7869 * gdb.base/catch-gdb-caused-signals.exp
7870 * gdb.base/catch-load.exp
7871 * gdb.base/catch-signal-fork.exp
7872 * gdb.base/catch-signal.exp
7873 * gdb.base/catch-syscall.exp
7874 * gdb.base/charset.exp
7875 * gdb.base/checkpoint.exp
7876 * gdb.base/chng-syms.exp
7877 * gdb.base/code-expr.exp
7878 * gdb.base/code_elim.exp
7879 * gdb.base/commands.exp
7880 * gdb.base/completion.exp
7881 * gdb.base/complex.exp
7882 * gdb.base/cond-expr.exp
7883 * gdb.base/condbreak.exp
7884 * gdb.base/consecutive.exp
7885 * gdb.base/continue-all-already-running.exp
7886 * gdb.base/coredump-filter.exp
7887 * gdb.base/corefile.exp
7888 * gdb.base/dbx.exp
7889 * gdb.base/debug-expr.exp
7890 * gdb.base/define.exp
7891 * gdb.base/del.exp
7892 * gdb.base/disabled-location.exp
7893 * gdb.base/disasm-end-cu.exp
7894 * gdb.base/disasm-optim.exp
7895 * gdb.base/display.exp
7896 * gdb.base/duplicate-bp.exp
7897 * gdb.base/ena-dis-br.exp
7898 * gdb.base/ending-run.exp
7899 * gdb.base/enumval.exp
7900 * gdb.base/environ.exp
7901 * gdb.base/eu-strip-infcall.exp
7902 * gdb.base/eval-avoid-side-effects.exp
7903 * gdb.base/eval-skip.exp
7904 * gdb.base/exitsignal.exp
7905 * gdb.base/expand-psymtabs.exp
7906 * gdb.base/filesym.exp
7907 * gdb.base/find-unmapped.exp
7908 * gdb.base/finish.exp
7909 * gdb.base/float.exp
7910 * gdb.base/foll-exec-mode.exp
7911 * gdb.base/foll-exec.exp
7912 * gdb.base/foll-fork.exp
7913 * gdb.base/fortran-sym-case.exp
7914 * gdb.base/freebpcmd.exp
7915 * gdb.base/func-ptr.exp
7916 * gdb.base/func-ptrs.exp
7917 * gdb.base/funcargs.exp
7918 * gdb.base/gcore-buffer-overflow.exp
7919 * gdb.base/gcore-relro-pie.exp
7920 * gdb.base/gcore-relro.exp
7921 * gdb.base/gcore.exp
7922 * gdb.base/gdb1090.exp
7923 * gdb.base/gdb11530.exp
7924 * gdb.base/gdb11531.exp
7925 * gdb.base/gdb1821.exp
7926 * gdb.base/gdbindex-stabs.exp
7927 * gdb.base/gdbvars.exp
7928 * gdb.base/hbreak.exp
7929 * gdb.base/hbreak2.exp
7930 * gdb.base/included.exp
7931 * gdb.base/infcall-input.exp
7932 * gdb.base/inferior-died.exp
7933 * gdb.base/infnan.exp
7934 * gdb.base/info-macros.exp
7935 * gdb.base/info-os.exp
7936 * gdb.base/info-proc.exp
7937 * gdb.base/info-shared.exp
7938 * gdb.base/info-target.exp
7939 * gdb.base/infoline.exp
7940 * gdb.base/interp.exp
7941 * gdb.base/interrupt.exp
7942 * gdb.base/jit-reader.exp
7943 * gdb.base/jit-simple.exp
7944 * gdb.base/kill-after-signal.exp
7945 * gdb.base/kill-detach-inferiors-cmd.exp
7946 * gdb.base/label.exp
7947 * gdb.base/langs.exp
7948 * gdb.base/ldbl_e308.exp
7949 * gdb.base/line-symtabs.exp
7950 * gdb.base/linespecs.exp
7951 * gdb.base/list.exp
7952 * gdb.base/long_long.exp
7953 * gdb.base/longest-types.exp
7954 * gdb.base/maint.exp
7955 * gdb.base/max-value-size.exp
7956 * gdb.base/memattr.exp
7957 * gdb.base/mips_pro.exp
7958 * gdb.base/morestack.exp
7959 * gdb.base/moribund-step.exp
7960 * gdb.base/multi-forks.exp
7961 * gdb.base/nested-addr.exp
7962 * gdb.base/nextoverexit.exp
7963 * gdb.base/noreturn-finish.exp
7964 * gdb.base/noreturn-return.exp
7965 * gdb.base/nostdlib.exp
7966 * gdb.base/offsets.exp
7967 * gdb.base/opaque.exp
7968 * gdb.base/pc-fp.exp
7969 * gdb.base/permissions.exp
7970 * gdb.base/print-symbol-loading.exp
7971 * gdb.base/prologue-include.exp
7972 * gdb.base/psymtab.exp
7973 * gdb.base/ptype.exp
7974 * gdb.base/random-signal.exp
7975 * gdb.base/randomize.exp
7976 * gdb.base/range-stepping.exp
7977 * gdb.base/readline-ask.exp
7978 * gdb.base/recpar.exp
7979 * gdb.base/recurse.exp
7980 * gdb.base/relational.exp
7981 * gdb.base/restore.exp
7982 * gdb.base/return-nodebug.exp
7983 * gdb.base/return.exp
7984 * gdb.base/run-after-attach.exp
7985 * gdb.base/save-bp.exp
7986 * gdb.base/scope.exp
7987 * gdb.base/sect-cmd.exp
7988 * gdb.base/set-lang-auto.exp
7989 * gdb.base/set-noassign.exp
7990 * gdb.base/setvar.exp
7991 * gdb.base/sigall.exp
7992 * gdb.base/sigbpt.exp
7993 * gdb.base/siginfo-addr.exp
7994 * gdb.base/siginfo-infcall.exp
7995 * gdb.base/siginfo-obj.exp
7996 * gdb.base/siginfo.exp
7997 * gdb.base/signals-state-child.exp
7998 * gdb.base/signest.exp
7999 * gdb.base/sigstep.exp
8000 * gdb.base/sizeof.exp
8001 * gdb.base/skip.exp
8002 * gdb.base/solib-corrupted.exp
8003 * gdb.base/solib-nodir.exp
8004 * gdb.base/solib-search.exp
8005 * gdb.base/stack-checking.exp
8006 * gdb.base/stale-infcall.exp
8007 * gdb.base/stap-probe.exp
8008 * gdb.base/start.exp
8009 * gdb.base/step-break.exp
8010 * gdb.base/step-bt.exp
8011 * gdb.base/step-line.exp
8012 * gdb.base/step-over-exit.exp
8013 * gdb.base/step-over-syscall.exp
8014 * gdb.base/step-resume-infcall.exp
8015 * gdb.base/step-test.exp
8016 * gdb.base/store.exp
8017 * gdb.base/structs3.exp
8018 * gdb.base/sym-file.exp
8019 * gdb.base/symbol-without-target_section.exp
8020 * gdb.base/term.exp
8021 * gdb.base/testenv.exp
8022 * gdb.base/ui-redirect.exp
8023 * gdb.base/until.exp
8024 * gdb.base/unwindonsignal.exp
8025 * gdb.base/value-double-free.exp
8026 * gdb.base/vla-datatypes.exp
8027 * gdb.base/vla-ptr.exp
8028 * gdb.base/vla-sideeffect.exp
8029 * gdb.base/volatile.exp
8030 * gdb.base/watch-cond-infcall.exp
8031 * gdb.base/watch-cond.exp
8032 * gdb.base/watch-non-mem.exp
8033 * gdb.base/watch-read.exp
8034 * gdb.base/watch-vfork.exp
8035 * gdb.base/watchpoint-cond-gone.exp
8036 * gdb.base/watchpoint-delete.exp
8037 * gdb.base/watchpoint-hw-hit-once.exp
8038 * gdb.base/watchpoint-hw.exp
8039 * gdb.base/watchpoint-stops-at-right-insn.exp
8040 * gdb.base/watchpoints.exp
8041 * gdb.base/wchar.exp
8042 * gdb.base/whatis-exp.exp
8043 * gdb.btrace/buffer-size.exp
8044 * gdb.btrace/data.exp
8045 * gdb.btrace/delta.exp
8046 * gdb.btrace/dlopen.exp
8047 * gdb.btrace/enable.exp
8048 * gdb.btrace/exception.exp
8049 * gdb.btrace/function_call_history.exp
8050 * gdb.btrace/gcore.exp
8051 * gdb.btrace/instruction_history.exp
8052 * gdb.btrace/nohist.exp
8053 * gdb.btrace/reconnect.exp
8054 * gdb.btrace/record_goto-step.exp
8055 * gdb.btrace/record_goto.exp
8056 * gdb.btrace/rn-dl-bind.exp
8057 * gdb.btrace/segv.exp
8058 * gdb.btrace/step.exp
8059 * gdb.btrace/stepi.exp
8060 * gdb.btrace/tailcall-only.exp
8061 * gdb.btrace/tailcall.exp
8062 * gdb.btrace/tsx.exp
8063 * gdb.btrace/unknown_functions.exp
8064 * gdb.btrace/vdso.exp
8065 * gdb.compile/compile-ifunc.exp
8066 * gdb.compile/compile-ops.exp
8067 * gdb.compile/compile-print.exp
8068 * gdb.compile/compile-setjmp.exp
8069 * gdb.cp/abstract-origin.exp
8070 * gdb.cp/ambiguous.exp
8071 * gdb.cp/annota2.exp
8072 * gdb.cp/annota3.exp
8073 * gdb.cp/anon-ns.exp
8074 * gdb.cp/anon-struct.exp
8075 * gdb.cp/anon-union.exp
8076 * gdb.cp/arg-reference.exp
8077 * gdb.cp/baseenum.exp
8078 * gdb.cp/bool.exp
8079 * gdb.cp/breakpoint.exp
8080 * gdb.cp/bs15503.exp
8081 * gdb.cp/call-c.exp
8082 * gdb.cp/casts.exp
8083 * gdb.cp/chained-calls.exp
8084 * gdb.cp/class2.exp
8085 * gdb.cp/classes.exp
8086 * gdb.cp/cmpd-minsyms.exp
8087 * gdb.cp/converts.exp
8088 * gdb.cp/cp-relocate.exp
8089 * gdb.cp/cpcompletion.exp
8090 * gdb.cp/cpexprs.exp
8091 * gdb.cp/cplabel.exp
8092 * gdb.cp/cplusfuncs.exp
8093 * gdb.cp/cpsizeof.exp
8094 * gdb.cp/ctti.exp
8095 * gdb.cp/derivation.exp
8096 * gdb.cp/destrprint.exp
8097 * gdb.cp/dispcxx.exp
8098 * gdb.cp/enum-class.exp
8099 * gdb.cp/exception.exp
8100 * gdb.cp/exceptprint.exp
8101 * gdb.cp/expand-psymtabs-cxx.exp
8102 * gdb.cp/expand-sals.exp
8103 * gdb.cp/extern-c.exp
8104 * gdb.cp/filename.exp
8105 * gdb.cp/formatted-ref.exp
8106 * gdb.cp/fpointer.exp
8107 * gdb.cp/gdb1355.exp
8108 * gdb.cp/gdb2495.exp
8109 * gdb.cp/hang.exp
8110 * gdb.cp/impl-this.exp
8111 * gdb.cp/infcall-dlopen.exp
8112 * gdb.cp/inherit.exp
8113 * gdb.cp/iostream.exp
8114 * gdb.cp/koenig.exp
8115 * gdb.cp/local.exp
8116 * gdb.cp/m-data.exp
8117 * gdb.cp/m-static.exp
8118 * gdb.cp/mb-ctor.exp
8119 * gdb.cp/mb-inline.exp
8120 * gdb.cp/mb-templates.exp
8121 * gdb.cp/member-name.exp
8122 * gdb.cp/member-ptr.exp
8123 * gdb.cp/meth-typedefs.exp
8124 * gdb.cp/method.exp
8125 * gdb.cp/method2.exp
8126 * gdb.cp/minsym-fallback.exp
8127 * gdb.cp/misc.exp
8128 * gdb.cp/namelessclass.exp
8129 * gdb.cp/namespace-enum.exp
8130 * gdb.cp/namespace-nested-import.exp
8131 * gdb.cp/namespace.exp
8132 * gdb.cp/nextoverthrow.exp
8133 * gdb.cp/no-dmgl-verbose.exp
8134 * gdb.cp/non-trivial-retval.exp
8135 * gdb.cp/noparam.exp
8136 * gdb.cp/nsdecl.exp
8137 * gdb.cp/nsimport.exp
8138 * gdb.cp/nsnested.exp
8139 * gdb.cp/nsnoimports.exp
8140 * gdb.cp/nsrecurs.exp
8141 * gdb.cp/nsstress.exp
8142 * gdb.cp/nsusing.exp
8143 * gdb.cp/operator.exp
8144 * gdb.cp/oranking.exp
8145 * gdb.cp/overload-const.exp
8146 * gdb.cp/overload.exp
8147 * gdb.cp/ovldbreak.exp
8148 * gdb.cp/ovsrch.exp
8149 * gdb.cp/paren-type.exp
8150 * gdb.cp/parse-lang.exp
8151 * gdb.cp/pass-by-ref.exp
8152 * gdb.cp/pr-1023.exp
8153 * gdb.cp/pr-1210.exp
8154 * gdb.cp/pr-574.exp
8155 * gdb.cp/pr10687.exp
8156 * gdb.cp/pr12028.exp
8157 * gdb.cp/pr17132.exp
8158 * gdb.cp/pr17494.exp
8159 * gdb.cp/pr9067.exp
8160 * gdb.cp/pr9167.exp
8161 * gdb.cp/pr9631.exp
8162 * gdb.cp/printmethod.exp
8163 * gdb.cp/psmang.exp
8164 * gdb.cp/psymtab-parameter.exp
8165 * gdb.cp/ptype-cv-cp.exp
8166 * gdb.cp/ptype-flags.exp
8167 * gdb.cp/re-set-overloaded.exp
8168 * gdb.cp/ref-types.exp
8169 * gdb.cp/rtti.exp
8170 * gdb.cp/scope-err.exp
8171 * gdb.cp/shadow.exp
8172 * gdb.cp/smartp.exp
8173 * gdb.cp/static-method.exp
8174 * gdb.cp/static-print-quit.exp
8175 * gdb.cp/temargs.exp
8176 * gdb.cp/templates.exp
8177 * gdb.cp/try_catch.exp
8178 * gdb.cp/typedef-operator.exp
8179 * gdb.cp/typeid.exp
8180 * gdb.cp/userdef.exp
8181 * gdb.cp/using-crash.exp
8182 * gdb.cp/var-tag.exp
8183 * gdb.cp/virtbase.exp
8184 * gdb.cp/virtfunc.exp
8185 * gdb.cp/virtfunc2.exp
8186 * gdb.cp/vla-cxx.exp
8187 * gdb.disasm/t01_mov.exp
8188 * gdb.disasm/t02_mova.exp
8189 * gdb.disasm/t03_add.exp
8190 * gdb.disasm/t04_sub.exp
8191 * gdb.disasm/t05_cmp.exp
8192 * gdb.disasm/t06_ari2.exp
8193 * gdb.disasm/t07_ari3.exp
8194 * gdb.disasm/t08_or.exp
8195 * gdb.disasm/t09_xor.exp
8196 * gdb.disasm/t10_and.exp
8197 * gdb.disasm/t11_logs.exp
8198 * gdb.disasm/t12_bit.exp
8199 * gdb.disasm/t13_otr.exp
8200 * gdb.dlang/circular.exp
8201 * gdb.dwarf2/arr-stride.exp
8202 * gdb.dwarf2/arr-subrange.exp
8203 * gdb.dwarf2/atomic-type.exp
8204 * gdb.dwarf2/bad-regnum.exp
8205 * gdb.dwarf2/bitfield-parent-optimized-out.exp
8206 * gdb.dwarf2/callframecfa.exp
8207 * gdb.dwarf2/clztest.exp
8208 * gdb.dwarf2/corrupt.exp
8209 * gdb.dwarf2/data-loc.exp
8210 * gdb.dwarf2/dup-psym.exp
8211 * gdb.dwarf2/dw2-anon-mptr.exp
8212 * gdb.dwarf2/dw2-anonymous-func.exp
8213 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
8214 * gdb.dwarf2/dw2-bad-unresolved.exp
8215 * gdb.dwarf2/dw2-basic.exp
8216 * gdb.dwarf2/dw2-canonicalize-type.exp
8217 * gdb.dwarf2/dw2-case-insensitive.exp
8218 * gdb.dwarf2/dw2-common-block.exp
8219 * gdb.dwarf2/dw2-compdir-oldgcc.exp
8220 * gdb.dwarf2/dw2-compressed.exp
8221 * gdb.dwarf2/dw2-const.exp
8222 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
8223 * gdb.dwarf2/dw2-cu-size.exp
8224 * gdb.dwarf2/dw2-dup-frame.exp
8225 * gdb.dwarf2/dw2-entry-value.exp
8226 * gdb.dwarf2/dw2-icycle.exp
8227 * gdb.dwarf2/dw2-ifort-parameter.exp
8228 * gdb.dwarf2/dw2-inline-break.exp
8229 * gdb.dwarf2/dw2-inline-param.exp
8230 * gdb.dwarf2/dw2-intercu.exp
8231 * gdb.dwarf2/dw2-intermix.exp
8232 * gdb.dwarf2/dw2-lexical-block-bare.exp
8233 * gdb.dwarf2/dw2-linkage-name-trust.exp
8234 * gdb.dwarf2/dw2-minsym-in-cu.exp
8235 * gdb.dwarf2/dw2-noloc.exp
8236 * gdb.dwarf2/dw2-op-call.exp
8237 * gdb.dwarf2/dw2-op-out-param.exp
8238 * gdb.dwarf2/dw2-opt-structptr.exp
8239 * gdb.dwarf2/dw2-param-error.exp
8240 * gdb.dwarf2/dw2-producer.exp
8241 * gdb.dwarf2/dw2-ranges-base.exp
8242 * gdb.dwarf2/dw2-ref-missing-frame.exp
8243 * gdb.dwarf2/dw2-reg-undefined.exp
8244 * gdb.dwarf2/dw2-regno-invalid.exp
8245 * gdb.dwarf2/dw2-restore.exp
8246 * gdb.dwarf2/dw2-restrict.exp
8247 * gdb.dwarf2/dw2-single-line-discriminators.exp
8248 * gdb.dwarf2/dw2-strp.exp
8249 * gdb.dwarf2/dw2-undefined-ret-addr.exp
8250 * gdb.dwarf2/dw2-unresolved.exp
8251 * gdb.dwarf2/dw2-var-zero-addr.exp
8252 * gdb.dwarf2/dw4-sig-types.exp
8253 * gdb.dwarf2/dwz.exp
8254 * gdb.dwarf2/dynarr-ptr.exp
8255 * gdb.dwarf2/enum-type.exp
8256 * gdb.dwarf2/gdb-index.exp
8257 * gdb.dwarf2/implptr-64bit.exp
8258 * gdb.dwarf2/implptr-optimized-out.exp
8259 * gdb.dwarf2/implptr.exp
8260 * gdb.dwarf2/implref-array.exp
8261 * gdb.dwarf2/implref-const.exp
8262 * gdb.dwarf2/implref-global.exp
8263 * gdb.dwarf2/implref-struct.exp
8264 * gdb.dwarf2/mac-fileno.exp
8265 * gdb.dwarf2/main-subprogram.exp
8266 * gdb.dwarf2/member-ptr-forwardref.exp
8267 * gdb.dwarf2/method-ptr.exp
8268 * gdb.dwarf2/missing-sig-type.exp
8269 * gdb.dwarf2/nonvar-access.exp
8270 * gdb.dwarf2/opaque-type-lookup.exp
8271 * gdb.dwarf2/pieces-optimized-out.exp
8272 * gdb.dwarf2/pieces.exp
8273 * gdb.dwarf2/pr10770.exp
8274 * gdb.dwarf2/pr13961.exp
8275 * gdb.dwarf2/staticvirtual.exp
8276 * gdb.dwarf2/subrange.exp
8277 * gdb.dwarf2/symtab-producer.exp
8278 * gdb.dwarf2/trace-crash.exp
8279 * gdb.dwarf2/typeddwarf.exp
8280 * gdb.dwarf2/valop.exp
8281 * gdb.dwarf2/watch-notconst.exp
8282 * gdb.fortran/array-element.exp
8283 * gdb.fortran/charset.exp
8284 * gdb.fortran/common-block.exp
8285 * gdb.fortran/complex.exp
8286 * gdb.fortran/derived-type-function.exp
8287 * gdb.fortran/derived-type.exp
8288 * gdb.fortran/logical.exp
8289 * gdb.fortran/module.exp
8290 * gdb.fortran/multi-dim.exp
8291 * gdb.fortran/nested-funcs.exp
8292 * gdb.fortran/print-formatted.exp
8293 * gdb.fortran/subarray.exp
8294 * gdb.fortran/vla-alloc-assoc.exp
8295 * gdb.fortran/vla-datatypes.exp
8296 * gdb.fortran/vla-history.exp
8297 * gdb.fortran/vla-ptr-info.exp
8298 * gdb.fortran/vla-ptype-sub.exp
8299 * gdb.fortran/vla-ptype.exp
8300 * gdb.fortran/vla-sizeof.exp
8301 * gdb.fortran/vla-type.exp
8302 * gdb.fortran/vla-value-sub-arbitrary.exp
8303 * gdb.fortran/vla-value-sub-finish.exp
8304 * gdb.fortran/vla-value-sub.exp
8305 * gdb.fortran/vla-value.exp
8306 * gdb.fortran/whatis_type.exp
8307 * gdb.go/chan.exp
8308 * gdb.go/handcall.exp
8309 * gdb.go/hello.exp
8310 * gdb.go/integers.exp
8311 * gdb.go/methods.exp
8312 * gdb.go/package.exp
8313 * gdb.go/strings.exp
8314 * gdb.go/types.exp
8315 * gdb.go/unsafe.exp
8316 * gdb.guile/scm-arch.exp
8317 * gdb.guile/scm-block.exp
8318 * gdb.guile/scm-breakpoint.exp
8319 * gdb.guile/scm-cmd.exp
8320 * gdb.guile/scm-disasm.exp
8321 * gdb.guile/scm-equal.exp
8322 * gdb.guile/scm-frame-args.exp
8323 * gdb.guile/scm-frame-inline.exp
8324 * gdb.guile/scm-frame.exp
8325 * gdb.guile/scm-iterator.exp
8326 * gdb.guile/scm-math.exp
8327 * gdb.guile/scm-objfile.exp
8328 * gdb.guile/scm-ports.exp
8329 * gdb.guile/scm-symbol.exp
8330 * gdb.guile/scm-symtab.exp
8331 * gdb.guile/scm-value-cc.exp
8332 * gdb.guile/types-module.exp
8333 * gdb.linespec/break-ask.exp
8334 * gdb.linespec/cpexplicit.exp
8335 * gdb.linespec/explicit.exp
8336 * gdb.linespec/keywords.exp
8337 * gdb.linespec/linespec.exp
8338 * gdb.linespec/ls-dollar.exp
8339 * gdb.linespec/ls-errs.exp
8340 * gdb.linespec/skip-two.exp
8341 * gdb.linespec/thread.exp
8342 * gdb.mi/mi-async.exp
8343 * gdb.mi/mi-basics.exp
8344 * gdb.mi/mi-break.exp
8345 * gdb.mi/mi-catch-load.exp
8346 * gdb.mi/mi-cli.exp
8347 * gdb.mi/mi-cmd-param-changed.exp
8348 * gdb.mi/mi-console.exp
8349 * gdb.mi/mi-detach.exp
8350 * gdb.mi/mi-disassemble.exp
8351 * gdb.mi/mi-eval.exp
8352 * gdb.mi/mi-file-transfer.exp
8353 * gdb.mi/mi-file.exp
8354 * gdb.mi/mi-fill-memory.exp
8355 * gdb.mi/mi-inheritance-syntax-error.exp
8356 * gdb.mi/mi-linespec-err-cp.exp
8357 * gdb.mi/mi-logging.exp
8358 * gdb.mi/mi-memory-changed.exp
8359 * gdb.mi/mi-read-memory.exp
8360 * gdb.mi/mi-record-changed.exp
8361 * gdb.mi/mi-reg-undefined.exp
8362 * gdb.mi/mi-regs.exp
8363 * gdb.mi/mi-return.exp
8364 * gdb.mi/mi-reverse.exp
8365 * gdb.mi/mi-simplerun.exp
8366 * gdb.mi/mi-solib.exp
8367 * gdb.mi/mi-stack.exp
8368 * gdb.mi/mi-stepi.exp
8369 * gdb.mi/mi-syn-frame.exp
8370 * gdb.mi/mi-until.exp
8371 * gdb.mi/mi-var-block.exp
8372 * gdb.mi/mi-var-child.exp
8373 * gdb.mi/mi-var-cmd.exp
8374 * gdb.mi/mi-var-cp.exp
8375 * gdb.mi/mi-var-display.exp
8376 * gdb.mi/mi-var-invalidate.exp
8377 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
8378 * gdb.mi/mi-vla-fortran.exp
8379 * gdb.mi/mi-watch.exp
8380 * gdb.mi/mi2-var-child.exp
8381 * gdb.mi/user-selected-context-sync.exp
8382 * gdb.modula2/unbounded-array.exp
8383 * gdb.multi/dummy-frame-restore.exp
8384 * gdb.multi/multi-arch-exec.exp
8385 * gdb.multi/multi-arch.exp
8386 * gdb.multi/tids.exp
8387 * gdb.multi/watchpoint-multi.exp
8388 * gdb.opencl/callfuncs.exp
8389 * gdb.opencl/convs_casts.exp
8390 * gdb.opencl/datatypes.exp
8391 * gdb.opencl/operators.exp
8392 * gdb.opencl/vec_comps.exp
8393 * gdb.opt/clobbered-registers-O2.exp
8394 * gdb.opt/inline-break.exp
8395 * gdb.opt/inline-bt.exp
8396 * gdb.opt/inline-cmds.exp
8397 * gdb.opt/inline-locals.exp
8398 * gdb.pascal/case-insensitive-symbols.exp
8399 * gdb.pascal/floats.exp
8400 * gdb.pascal/gdb11492.exp
8401 * gdb.python/lib-types.exp
8402 * gdb.python/py-arch.exp
8403 * gdb.python/py-as-string.exp
8404 * gdb.python/py-bad-printers.exp
8405 * gdb.python/py-block.exp
8406 * gdb.python/py-breakpoint-create-fail.exp
8407 * gdb.python/py-breakpoint.exp
8408 * gdb.python/py-caller-is.exp
8409 * gdb.python/py-cmd.exp
8410 * gdb.python/py-explore-cc.exp
8411 * gdb.python/py-explore.exp
8412 * gdb.python/py-finish-breakpoint.exp
8413 * gdb.python/py-finish-breakpoint2.exp
8414 * gdb.python/py-frame-args.exp
8415 * gdb.python/py-frame-inline.exp
8416 * gdb.python/py-frame.exp
8417 * gdb.python/py-framefilter-mi.exp
8418 * gdb.python/py-infthread.exp
8419 * gdb.python/py-lazy-string.exp
8420 * gdb.python/py-linetable.exp
8421 * gdb.python/py-mi-events.exp
8422 * gdb.python/py-mi-objfile.exp
8423 * gdb.python/py-mi.exp
8424 * gdb.python/py-objfile.exp
8425 * gdb.python/py-pp-integral.exp
8426 * gdb.python/py-pp-maint.exp
8427 * gdb.python/py-pp-re-notag.exp
8428 * gdb.python/py-pp-registration.exp
8429 * gdb.python/py-recurse-unwind.exp
8430 * gdb.python/py-strfns.exp
8431 * gdb.python/py-symbol.exp
8432 * gdb.python/py-symtab.exp
8433 * gdb.python/py-sync-interp.exp
8434 * gdb.python/py-typeprint.exp
8435 * gdb.python/py-unwind-maint.exp
8436 * gdb.python/py-unwind.exp
8437 * gdb.python/py-value-cc.exp
8438 * gdb.python/py-xmethods.exp
8439 * gdb.reverse/amd64-tailcall-reverse.exp
8440 * gdb.reverse/break-precsave.exp
8441 * gdb.reverse/break-reverse.exp
8442 * gdb.reverse/consecutive-precsave.exp
8443 * gdb.reverse/consecutive-reverse.exp
8444 * gdb.reverse/finish-precsave.exp
8445 * gdb.reverse/finish-reverse-bkpt.exp
8446 * gdb.reverse/finish-reverse.exp
8447 * gdb.reverse/fstatat-reverse.exp
8448 * gdb.reverse/getresuid-reverse.exp
8449 * gdb.reverse/i386-precsave.exp
8450 * gdb.reverse/i386-reverse.exp
8451 * gdb.reverse/i386-sse-reverse.exp
8452 * gdb.reverse/i387-env-reverse.exp
8453 * gdb.reverse/i387-stack-reverse.exp
8454 * gdb.reverse/insn-reverse.exp
8455 * gdb.reverse/machinestate-precsave.exp
8456 * gdb.reverse/machinestate.exp
8457 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8458 * gdb.reverse/pipe-reverse.exp
8459 * gdb.reverse/readv-reverse.exp
8460 * gdb.reverse/recvmsg-reverse.exp
8461 * gdb.reverse/rerun-prec.exp
8462 * gdb.reverse/s390-mvcle.exp
8463 * gdb.reverse/step-precsave.exp
8464 * gdb.reverse/step-reverse.exp
8465 * gdb.reverse/time-reverse.exp
8466 * gdb.reverse/until-precsave.exp
8467 * gdb.reverse/until-reverse.exp
8468 * gdb.reverse/waitpid-reverse.exp
8469 * gdb.reverse/watch-precsave.exp
8470 * gdb.reverse/watch-reverse.exp
8471 * gdb.rust/generics.exp
8472 * gdb.rust/methods.exp
8473 * gdb.rust/modules.exp
8474 * gdb.rust/simple.exp
8475 * gdb.server/connect-with-no-symbol-file.exp
8476 * gdb.server/ext-attach.exp
8477 * gdb.server/ext-restart.exp
8478 * gdb.server/ext-wrapper.exp
8479 * gdb.server/file-transfer.exp
8480 * gdb.server/server-exec-info.exp
8481 * gdb.server/server-kill.exp
8482 * gdb.server/server-mon.exp
8483 * gdb.server/wrapper.exp
8484 * gdb.stabs/exclfwd.exp
8485 * gdb.stabs/gdb11479.exp
8486 * gdb.threads/clone-new-thread-event.exp
8487 * gdb.threads/corethreads.exp
8488 * gdb.threads/current-lwp-dead.exp
8489 * gdb.threads/dlopen-libpthread.exp
8490 * gdb.threads/gcore-thread.exp
8491 * gdb.threads/sigstep-threads.exp
8492 * gdb.threads/watchpoint-fork.exp
8493 * gdb.trace/actions-changed.exp
8494 * gdb.trace/backtrace.exp
8495 * gdb.trace/change-loc.exp
8496 * gdb.trace/circ.exp
8497 * gdb.trace/collection.exp
8498 * gdb.trace/disconnected-tracing.exp
8499 * gdb.trace/ftrace.exp
8500 * gdb.trace/mi-trace-frame-collected.exp
8501 * gdb.trace/mi-trace-unavailable.exp
8502 * gdb.trace/mi-traceframe-changed.exp
8503 * gdb.trace/mi-tsv-changed.exp
8504 * gdb.trace/no-attach-trace.exp
8505 * gdb.trace/passc-dyn.exp
8506 * gdb.trace/qtro.exp
8507 * gdb.trace/range-stepping.exp
8508 * gdb.trace/read-memory.exp
8509 * gdb.trace/save-trace.exp
8510 * gdb.trace/signal.exp
8511 * gdb.trace/status-stop.exp
8512 * gdb.trace/tfile.exp
8513 * gdb.trace/trace-break.exp
8514 * gdb.trace/trace-buffer-size.exp
8515 * gdb.trace/trace-condition.exp
8516 * gdb.trace/tracefile-pseudo-reg.exp
8517 * gdb.trace/tstatus.exp
8518 * gdb.trace/unavailable.exp
8519 * gdb.trace/while-dyn.exp
8520 * gdb.trace/while-stepping.exp
8521
34c41c68
DE
85222016-12-22 Doug Evans <xdje42@gmail.com>
8523
8524 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
8525 and msymbols.
8526
16e69324
YQ
85272016-12-19 Yao Qi <yao.qi@linaro.org>
8528
8529 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
8530 (test_with_self): Don't call do_steps_and_nexts, and remove
8531 code about stepping into xmalloc.
8532
f94f411b
YQ
85332016-12-09 Yao Qi <yao.qi@linaro.org>
8534
8535 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
8536
85372016-12-09 Yao Qi <yao.qi@linaro.org>
8538
8539 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
8540
f1b5deee
PA
85412016-12-09 Pedro Alves <palves@redhat.com>
8542
8543 * gdb.base/all-architectures-0.exp: New file.
8544 * gdb.base/all-architectures-1.exp: New file.
8545 * gdb.base/all-architectures-2.exp: New file.
8546 * gdb.base/all-architectures-3.exp: New file.
8547 * gdb.base/all-architectures-4.exp: New file.
8548 * gdb.base/all-architectures-5.exp: New file.
8549 * gdb.base/all-architectures-6.exp: New file.
8550 * gdb.base/all-architectures-7.exp: New file.
8551 * gdb.base/all-architectures.exp.in: New file.
8552
364ca42e
YQ
85532016-12-09 Yao Qi <yao.qi@linaro.org>
8554
8555 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
8556
107c2d62
LM
85572016-12-02 Luis Machado <lgustavo@codesourcery.com>
8558
8559 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
8560 possible.
8561 Remove useless pattern-matching code.
8562
df3ee9ca
PA
85632016-12-02 Pedro Alves <palves@redhat.com>
8564
8565 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
8566 procedure.
8567 (top level): Call it.
8568
ec835369
PA
85692016-12-02 Pedro Alves <palves@redhat.com>
8570
8571 * gdb.base/commands.exp (user_defined_command_args_stack_test):
8572 New procedure.
8573 (top level): Call it.
8574
01770bbd
PA
85752016-12-02 Pedro Alves <palves@redhat.com>
8576
8577 PR cli/20559
8578 * gdb.base/commands.exp (user_defined_command_args_eval): New
8579 procedure.
8580 (top level): Call it.
8581
008459ea
LM
85822016-12-02 Luis Machado <lgustavo@codesourcery.com>
8583
8584 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
8585 timeout handling.
8586
0c1b455e
TT
85872016-12-02 Tom Tromey <tom@tromey.com>
8588
8589 * gdb.dwarf2/main-subprogram.c: New file.
8590 * gdb.dwarf2/main-subprogram.exp: New file.
8591
018572b8
LM
85922016-12-01 Luis Machado <lgustavo@codesourcery.com>
8593
8594 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
8595 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
8596 gdb_test_no_output for a couple of cases.
8597 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
8598
84c93cd5
LM
85992016-12-01 Luis Machado <lgustavo@codesourcery.com>
8600
8601 Fix test names and standardize compilation error messages throughout
8602 the following files:
8603
8604 * gdb.ada/start.exp
8605 * gdb.arch/alpha-step.exp
8606 * gdb.arch/e500-prologue.exp
8607 * gdb.arch/ftrace-insn-reloc.exp
8608 * gdb.arch/gdb1291.exp
8609 * gdb.arch/gdb1431.exp
8610 * gdb.arch/gdb1558.exp
8611 * gdb.arch/i386-dr3-watch.exp
8612 * gdb.arch/i386-sse-stack-align.exp
8613 * gdb.arch/ia64-breakpoint-shadow.exp
8614 * gdb.arch/pa-nullify.exp
8615 * gdb.arch/powerpc-aix-prologue.exp
8616 * gdb.arch/thumb-bx-pc.exp
8617 * gdb.base/annota1.exp
8618 * gdb.base/annota3.exp
8619 * gdb.base/arrayidx.exp
8620 * gdb.base/assign.exp
8621 * gdb.base/attach.exp
8622 * gdb.base/auxv.exp
8623 * gdb.base/bang.exp
8624 * gdb.base/bfp-test.exp
8625 * gdb.base/bigcore.exp
8626 * gdb.base/bitfields2.exp
8627 * gdb.base/break-fun-addr.exp
8628 * gdb.base/break-probes.exp
8629 * gdb.base/call-rt-st.exp
8630 * gdb.base/callexit.exp
8631 * gdb.base/catch-fork-kill.exp
8632 * gdb.base/charset.exp
8633 * gdb.base/checkpoint.exp
8634 * gdb.base/comprdebug.exp
8635 * gdb.base/constvars.exp
8636 * gdb.base/coredump-filter.exp
8637 * gdb.base/cursal.exp
8638 * gdb.base/cvexpr.exp
8639 * gdb.base/detach.exp
8640 * gdb.base/display.exp
8641 * gdb.base/dmsym.exp
8642 * gdb.base/dprintf-pending.exp
8643 * gdb.base/dso2dso.exp
8644 * gdb.base/dtrace-probe.exp
8645 * gdb.base/dump.exp
8646 * gdb.base/enum_cond.exp
8647 * gdb.base/exe-lock.exp
8648 * gdb.base/exec-invalid-sysroot.exp
8649 * gdb.base/execl-update-breakpoints.exp
8650 * gdb.base/exprs.exp
8651 * gdb.base/fileio.exp
8652 * gdb.base/find.exp
8653 * gdb.base/finish.exp
8654 * gdb.base/fixsection.exp
8655 * gdb.base/foll-vfork.exp
8656 * gdb.base/frame-args.exp
8657 * gdb.base/gcore.exp
8658 * gdb.base/gdb1250.exp
8659 * gdb.base/global-var-nested-by-dso.exp
8660 * gdb.base/gnu-ifunc.exp
8661 * gdb.base/hashline1.exp
8662 * gdb.base/hashline2.exp
8663 * gdb.base/hashline3.exp
8664 * gdb.base/hbreak-in-shr-unsupported.exp
8665 * gdb.base/huge.exp
8666 * gdb.base/infcall-input.exp
8667 * gdb.base/info-fun.exp
8668 * gdb.base/info-shared.exp
8669 * gdb.base/jit-simple.exp
8670 * gdb.base/jit-so.exp
8671 * gdb.base/jit.exp
8672 * gdb.base/jump.exp
8673 * gdb.base/label.exp
8674 * gdb.base/lineinc.exp
8675 * gdb.base/logical.exp
8676 * gdb.base/longjmp.exp
8677 * gdb.base/macscp.exp
8678 * gdb.base/miscexprs.exp
8679 * gdb.base/new-ui-echo.exp
8680 * gdb.base/new-ui-pending-input.exp
8681 * gdb.base/new-ui.exp
8682 * gdb.base/nodebug.exp
8683 * gdb.base/nofield.exp
8684 * gdb.base/offsets.exp
8685 * gdb.base/overlays.exp
8686 * gdb.base/pending.exp
8687 * gdb.base/pointers.exp
8688 * gdb.base/pr11022.exp
8689 * gdb.base/printcmds.exp
8690 * gdb.base/prologue.exp
8691 * gdb.base/ptr-typedef.exp
8692 * gdb.base/realname-expand.exp
8693 * gdb.base/relativedebug.exp
8694 * gdb.base/relocate.exp
8695 * gdb.base/remote.exp
8696 * gdb.base/reread.exp
8697 * gdb.base/return2.exp
8698 * gdb.base/savedregs.exp
8699 * gdb.base/sep.exp
8700 * gdb.base/sepdebug.exp
8701 * gdb.base/sepsymtab.exp
8702 * gdb.base/set-inferior-tty.exp
8703 * gdb.base/setshow.exp
8704 * gdb.base/shlib-call.exp
8705 * gdb.base/sigaltstack.exp
8706 * gdb.base/siginfo-addr.exp
8707 * gdb.base/signals.exp
8708 * gdb.base/signull.exp
8709 * gdb.base/sigrepeat.exp
8710 * gdb.base/so-impl-ld.exp
8711 * gdb.base/solib-display.exp
8712 * gdb.base/solib-overlap.exp
8713 * gdb.base/solib-search.exp
8714 * gdb.base/solib-symbol.exp
8715 * gdb.base/structs.exp
8716 * gdb.base/structs2.exp
8717 * gdb.base/symtab-search-order.exp
8718 * gdb.base/twice.exp
8719 * gdb.base/unload.exp
8720 * gdb.base/varargs.exp
8721 * gdb.base/watchpoint-solib.exp
8722 * gdb.base/watchpoint.exp
8723 * gdb.base/whatis.exp
8724 * gdb.base/wrong_frame_bt_full.exp
8725 * gdb.btrace/dlopen.exp
8726 * gdb.cell/ea-standalone.exp
8727 * gdb.cell/ea-test.exp
8728 * gdb.cp/dispcxx.exp
8729 * gdb.cp/gdb2384.exp
8730 * gdb.cp/method2.exp
8731 * gdb.cp/nextoverthrow.exp
8732 * gdb.cp/pr10728.exp
8733 * gdb.disasm/am33.exp
8734 * gdb.disasm/h8300s.exp
8735 * gdb.disasm/mn10300.exp
8736 * gdb.disasm/sh3.exp
8737 * gdb.dwarf2/dw2-dir-file-name.exp
8738 * gdb.fortran/complex.exp
8739 * gdb.fortran/library-module.exp
8740 * gdb.guile/scm-pretty-print.exp
8741 * gdb.guile/scm-symbol.exp
8742 * gdb.guile/scm-type.exp
8743 * gdb.guile/scm-value.exp
8744 * gdb.linespec/linespec.exp
8745 * gdb.mi/gdb701.exp
8746 * gdb.mi/gdb792.exp
8747 * gdb.mi/mi-breakpoint-changed.exp
8748 * gdb.mi/mi-dprintf-pending.exp
8749 * gdb.mi/mi-dprintf.exp
8750 * gdb.mi/mi-exit-code.exp
8751 * gdb.mi/mi-pending.exp
8752 * gdb.mi/mi-solib.exp
8753 * gdb.mi/new-ui-mi-sync.exp
8754 * gdb.mi/pr11022.exp
8755 * gdb.mi/user-selected-context-sync.exp
8756 * gdb.opt/solib-intra-step.exp
8757 * gdb.python/py-events.exp
8758 * gdb.python/py-finish-breakpoint.exp
8759 * gdb.python/py-mi.exp
8760 * gdb.python/py-prettyprint.exp
8761 * gdb.python/py-shared.exp
8762 * gdb.python/py-symbol.exp
8763 * gdb.python/py-template.exp
8764 * gdb.python/py-type.exp
8765 * gdb.python/py-value.exp
8766 * gdb.reverse/solib-precsave.exp
8767 * gdb.reverse/solib-reverse.exp
8768 * gdb.server/solib-list.exp
8769 * gdb.stabs/weird.exp
8770 * gdb.threads/reconnect-signal.exp
8771 * gdb.threads/stepi-random-signal.exp
8772 * gdb.trace/actions.exp
8773 * gdb.trace/ax.exp
8774 * gdb.trace/backtrace.exp
8775 * gdb.trace/change-loc.exp
8776 * gdb.trace/deltrace.exp
8777 * gdb.trace/ftrace-lock.exp
8778 * gdb.trace/ftrace.exp
8779 * gdb.trace/infotrace.exp
8780 * gdb.trace/mi-tracepoint-changed.exp
8781 * gdb.trace/packetlen.exp
8782 * gdb.trace/passcount.exp
8783 * gdb.trace/pending.exp
8784 * gdb.trace/range-stepping.exp
8785 * gdb.trace/report.exp
8786 * gdb.trace/stap-trace.exp
8787 * gdb.trace/tfind.exp
8788 * gdb.trace/trace-break.exp
8789 * gdb.trace/trace-condition.exp
8790 * gdb.trace/trace-enable-disable.exp
8791 * gdb.trace/trace-mt.exp
8792 * gdb.trace/tracecmd.exp
8793 * gdb.trace/tspeed.exp
8794 * gdb.trace/tsv.exp
8795 * lib/perftest.exp
8796
fb9feb35
LM
87972016-12-01 Luis Machado <lgustavo@codesourcery.com>
8798
8799 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
8800 with gdb_test_no_output.
8801 Use command as test name.
8802
cd2ddb6c
LM
88032016-12-01 Luis Machado <lgustavo@codesourcery.com>
8804
8805 Fix test names starting with uppercase throughout the files.
8806
8807 * gdb.ada/assign_1.exp
8808 * gdb.ada/boolean_expr.exp
8809 * gdb.base/arrayidx.exp
8810 * gdb.base/del.exp
8811 * gdb.base/gcore-buffer-overflow.exp
8812 * gdb.base/testenv.exp
8813 * gdb.compile/compile.exp
8814 * gdb.python/py-framefilter-invalidarg.exp
8815 * gdb.python/py-framefilter.exp
8816
bb95117e
LM
88172016-12-01 Luis Machado <lgustavo@codesourcery.com>
8818
8819 Fix test names starting with uppercase throughout the files.
8820
8821 * gdb.ada/array_return.exp
8822 * gdb.ada/expr_delims.exp
8823 * gdb.ada/mi_dyn_arr.exp
8824 * gdb.ada/mi_interface.exp
8825 * gdb.ada/mi_var_array.exp
8826 * gdb.ada/watch_arg.exp
8827 * gdb.arch/alpha-step.exp
8828 * gdb.arch/altivec-regs.exp
8829 * gdb.arch/e500-regs.exp
8830 * gdb.arch/powerpc-d128-regs.exp
8831 * gdb.base/arrayidx.exp
8832 * gdb.base/break.exp
8833 * gdb.base/checkpoint.exp
8834 * gdb.base/debug-expr.exp
8835 * gdb.base/dmsym.exp
8836 * gdb.base/radix.exp
8837 * gdb.base/sepdebug.exp
8838 * gdb.base/testenv.exp
8839 * gdb.base/watch_thread_num.exp
8840 * gdb.base/watchpoint-cond-gone.exp
8841 * gdb.cell/break.exp
8842 * gdb.cell/ea-cache.exp
8843 * gdb.compile/compile.exp
8844 * gdb.cp/gdb2495.exp
8845 * gdb.gdb/selftest.exp
8846 * gdb.gdb/xfullpath.exp
8847 * gdb.go/hello.exp
8848 * gdb.go/integers.exp
8849 * gdb.objc/basicclass.exp
8850 * gdb.pascal/hello.exp
8851 * gdb.pascal/integers.exp
8852 * gdb.python/py-breakpoint.exp
8853 * gdb.python/py-cmd.exp
8854 * gdb.python/py-linetable.exp
8855 * gdb.python/py-xmethods.exp
8856 * gdb.python/python.exp
8857 * gdb.reverse/consecutive-precsave.exp
8858 * gdb.reverse/finish-precsave.exp
8859 * gdb.reverse/i386-precsave.exp
8860 * gdb.reverse/machinestate-precsave.exp
8861 * gdb.reverse/sigall-precsave.exp
8862 * gdb.reverse/solib-precsave.exp
8863 * gdb.reverse/step-precsave.exp
8864 * gdb.reverse/until-precsave.exp
8865 * gdb.reverse/watch-precsave.exp
8866 * gdb.threads/leader-exit.exp
8867 * gdb.threads/pthreads.exp
8868 * gdb.threads/wp-replication.exp
8869 * gdb.trace/actions.exp
8870 * gdb.trace/mi-tsv-changed.exp
8871 * gdb.trace/tsv.exp
8872
de97fdd4
LM
88732016-12-01 Luis Machado <lgustavo@codesourcery.com>
8874
8875 Fix test names starting with uppercase throughout the files.
8876
8877 * gdb.arch/i386-bp_permanent.exp
8878 * gdb.arch/i386-gnu-cfi.exp
8879 * gdb.base/disasm-end-cu.exp
8880 * gdb.base/macscp.exp
8881 * gdb.base/pending.exp
8882 * gdb.base/watch_thread_num.exp
8883 * gdb.cp/exception.exp
8884 * gdb.cp/gdb2495.exp
8885 * gdb.cp/local.exp
8886 * gdb.python/py-evsignal.exp
8887 * gdb.python/python.exp
8888 * gdb.trace/tracecmd.exp
8889
9f058c10
LM
88902016-12-01 Luis Machado <lgustavo@codesourcery.com>
8891
8892 Fix test names starting with uppercase throughout the files.
8893
8894 * gdb.base/charset.exp
8895 * gdb.base/eval.exp
8896 * gdb.base/multi-forks.exp
8897 * gdb.guile/scm-progspace.exp
8898 * gdb.opencl/datatypes.exp
8899 * gdb.python/py-block.exp
8900 * gdb.python/py-function.exp
8901 * gdb.python/py-symbol.exp
8902 * gdb.python/py-symtab.exp
8903 * gdb.python/py-xmethods.exp
8904 * gdb.reverse/break-precsave.exp
8905 * gdb.reverse/break-reverse.exp
8906 * gdb.reverse/consecutive-precsave.exp
8907 * gdb.reverse/consecutive-reverse.exp
8908 * gdb.reverse/finish-precsave.exp
8909 * gdb.reverse/finish-reverse-bkpt.exp
8910 * gdb.reverse/finish-reverse.exp
8911 * gdb.reverse/fstatat-reverse.exp
8912 * gdb.reverse/getresuid-reverse.exp
8913 * gdb.reverse/i386-precsave.exp
8914 * gdb.reverse/i386-reverse.exp
8915 * gdb.reverse/i386-sse-reverse.exp
8916 * gdb.reverse/i387-stack-reverse.exp
8917 * gdb.reverse/insn-reverse.exp
8918 * gdb.reverse/machinestate-precsave.exp
8919 * gdb.reverse/machinestate.exp
8920 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8921 * gdb.reverse/pipe-reverse.exp
8922 * gdb.reverse/readv-reverse.exp
8923 * gdb.reverse/recvmsg-reverse.exp
8924 * gdb.reverse/rerun-prec.exp
8925 * gdb.reverse/s390-mvcle.exp
8926 * gdb.reverse/sigall-precsave.exp
8927 * gdb.reverse/sigall-reverse.exp
8928 * gdb.reverse/solib-precsave.exp
8929 * gdb.reverse/solib-reverse.exp
8930 * gdb.reverse/step-precsave.exp
8931 * gdb.reverse/step-reverse.exp
8932 * gdb.reverse/time-reverse.exp
8933 * gdb.reverse/until-precsave.exp
8934 * gdb.reverse/until-reverse.exp
8935 * gdb.reverse/waitpid-reverse.exp
8936 * gdb.reverse/watch-precsave.exp
8937 * gdb.reverse/watch-reverse.exp
8938
cdc7edd7
LM
89392016-12-01 Luis Machado <lgustavo@codesourcery.com>
8940
8941 Fix test names starting with uppercase throughout the files.
8942
8943 * gdb.arch/i386-mpx-simple_segv.exp
8944 * gdb.arch/i386-mpx.exp
8945 * gdb.arch/i386-permbkpt.exp
8946 * gdb.arch/pa-nullify.exp
8947 * gdb.arch/powerpc-d128-regs.exp
8948 * gdb.arch/vsx-regs.exp
8949 * gdb.base/bfp-test.exp
8950 * gdb.base/break.exp
8951 * gdb.base/breakpoint-shadow.exp
8952 * gdb.base/callfuncs.exp
8953 * gdb.base/charset.exp
8954 * gdb.base/commands.exp
8955 * gdb.base/completion.exp
8956 * gdb.base/dfp-test.exp
8957 * gdb.base/echo.exp
8958 * gdb.base/ending-run.exp
8959 * gdb.base/eval.exp
8960 * gdb.base/expand-psymtabs.exp
8961 * gdb.base/float128.exp
8962 * gdb.base/floatn.exp
8963 * gdb.base/foll-exec-mode.exp
8964 * gdb.base/gdb1056.exp
8965 * gdb.base/gdb11531.exp
8966 * gdb.base/kill-after-signal.exp
8967 * gdb.base/multi-forks.exp
8968 * gdb.base/overlays.exp
8969 * gdb.base/pending.exp
8970 * gdb.base/sepdebug.exp
8971 * gdb.base/testenv.exp
8972 * gdb.base/valgrind-db-attach.exp
8973 * gdb.base/watch_thread_num.exp
8974 * gdb.base/watchpoint-cond-gone.exp
8975 * gdb.base/watchpoint.exp
8976 * gdb.base/watchpoints.exp
8977 * gdb.cp/arg-reference.exp
8978 * gdb.cp/baseenum.exp
8979 * gdb.cp/operator.exp
8980 * gdb.cp/shadow.exp
8981 * gdb.dwarf2/dw2-op-out-param.exp
8982 * gdb.dwarf2/dw2-reg-undefined.exp
8983 * gdb.go/chan.exp
8984 * gdb.go/hello.exp
8985 * gdb.go/integers.exp
8986 * gdb.go/methods.exp
8987 * gdb.go/package.exp
8988 * gdb.guile/scm-parameter.exp
8989 * gdb.guile/scm-progspace.exp
8990 * gdb.guile/scm-value.exp
8991 * gdb.mi/mi-pending.exp
8992 * gdb.mi/user-selected-context-sync.exp
8993 * gdb.multi/multi-attach.exp
8994 * gdb.multi/tids.exp
8995 * gdb.opt/clobbered-registers-O2.exp
8996 * gdb.pascal/floats.exp
8997 * gdb.pascal/integers.exp
8998 * gdb.python/py-block.exp
8999 * gdb.python/py-events.exp
9000 * gdb.python/py-parameter.exp
9001 * gdb.python/py-symbol.exp
9002 * gdb.python/py-symtab.exp
9003 * gdb.python/py-type.exp
9004 * gdb.python/py-value.exp
9005 * gdb.python/py-xmethods.exp
9006 * gdb.python/python.exp
9007 * gdb.reverse/break-precsave.exp
9008 * gdb.reverse/consecutive-precsave.exp
9009 * gdb.reverse/finish-precsave.exp
9010 * gdb.reverse/i386-precsave.exp
9011 * gdb.reverse/machinestate-precsave.exp
9012 * gdb.reverse/sigall-precsave.exp
9013 * gdb.reverse/solib-precsave.exp
9014 * gdb.reverse/step-precsave.exp
9015 * gdb.reverse/until-precsave.exp
9016 * gdb.reverse/watch-precsave.exp
9017 * gdb.server/ext-attach.exp
9018 * gdb.server/ext-restart.exp
9019 * gdb.server/ext-run.exp
9020 * gdb.server/ext-wrapper.exp
9021 * gdb.stabs/gdb11479.exp
9022 * gdb.stabs/weird.exp
9023 * gdb.threads/attach-many-short-lived-threads.exp
9024 * gdb.threads/kill.exp
9025 * gdb.threads/watchpoint-fork.exp
9026
bc6c7af4
LM
90272016-12-01 Luis Machado <lgustavo@codesourcery.com>
9028
9029 Fix test names starting with uppercase throughout all the files below.
9030
9031 * gdb.ada/array_return.exp
9032 * gdb.ada/catch_ex.exp
9033 * gdb.ada/info_exc.exp
9034 * gdb.ada/mi_catch_ex.exp
9035 * gdb.ada/mi_dyn_arr.exp
9036 * gdb.ada/mi_ex_cond.exp
9037 * gdb.ada/mi_exc_info.exp
9038 * gdb.ada/mi_interface.exp
9039 * gdb.ada/mi_task_arg.exp
9040 * gdb.ada/mi_task_info.exp
9041 * gdb.ada/mi_var_array.exp
9042 * gdb.arch/alpha-step.exp
9043 * gdb.arch/amd64-disp-step.exp
9044 * gdb.arch/arm-disp-step.exp
9045 * gdb.arch/disp-step-insn-reloc.exp
9046 * gdb.arch/e500-prologue.exp
9047 * gdb.arch/ftrace-insn-reloc.exp
9048 * gdb.arch/gdb1558.exp
9049 * gdb.arch/i386-bp_permanent.exp
9050 * gdb.arch/i386-disp-step.exp
9051 * gdb.arch/i386-float.exp
9052 * gdb.arch/i386-gnu-cfi.exp
9053 * gdb.arch/ia64-breakpoint-shadow.exp
9054 * gdb.arch/mips16-thunks.exp
9055 * gdb.arch/pa-nullify.exp
9056 * gdb.arch/powerpc-aix-prologue.exp
9057 * gdb.arch/powerpc-power.exp
9058 * gdb.arch/ppc-dfp.exp
9059 * gdb.arch/s390-tdbregs.exp
9060 * gdb.arch/spu-info.exp
9061 * gdb.arch/spu-ls.exp
9062 * gdb.arch/thumb-bx-pc.exp
9063 * gdb.base/advance.exp
9064 * gdb.base/annota-input-while-running.exp
9065 * gdb.base/arrayidx.exp
9066 * gdb.base/asmlabel.exp
9067 * gdb.base/async.exp
9068 * gdb.base/attach-wait-input.exp
9069 * gdb.base/auto-connect-native-target.exp
9070 * gdb.base/batch-preserve-term-settings.exp
9071 * gdb.base/bfp-test.exp
9072 * gdb.base/bigcore.exp
9073 * gdb.base/bp-permanent.exp
9074 * gdb.base/break-always.exp
9075 * gdb.base/break-fun-addr.exp
9076 * gdb.base/break-idempotent.exp
9077 * gdb.base/break-main-file-remove-fail.exp
9078 * gdb.base/break-probes.exp
9079 * gdb.base/break-unload-file.exp
9080 * gdb.base/break.exp
9081 * gdb.base/call-ar-st.exp
9082 * gdb.base/call-rt-st.exp
9083 * gdb.base/call-sc.exp
9084 * gdb.base/call-signal-resume.exp
9085 * gdb.base/call-strs.exp
9086 * gdb.base/callexit.exp
9087 * gdb.base/callfuncs.exp
9088 * gdb.base/catch-gdb-caused-signals.exp
9089 * gdb.base/catch-signal-siginfo-cond.exp
9090 * gdb.base/catch-syscall.exp
9091 * gdb.base/compare-sections.exp
9092 * gdb.base/cond-eval-mode.exp
9093 * gdb.base/condbreak-call-false.exp
9094 * gdb.base/consecutive-step-over.exp
9095 * gdb.base/cursal.exp
9096 * gdb.base/disabled-location.exp
9097 * gdb.base/disasm-end-cu.exp
9098 * gdb.base/display.exp
9099 * gdb.base/double-prompt-target-event-error.exp
9100 * gdb.base/dprintf-bp-same-addr.exp
9101 * gdb.base/dprintf-detach.exp
9102 * gdb.base/dprintf-next.exp
9103 * gdb.base/dprintf-non-stop.exp
9104 * gdb.base/dprintf-pending.exp
9105 * gdb.base/dso2dso.exp
9106 * gdb.base/ending-run.exp
9107 * gdb.base/enum_cond.exp
9108 * gdb.base/examine-backward.exp
9109 * gdb.base/exe-lock.exp
9110 * gdb.base/exec-invalid-sysroot.exp
9111 * gdb.base/execl-update-breakpoints.exp
9112 * gdb.base/execution-termios.exp
9113 * gdb.base/fileio.exp
9114 * gdb.base/fixsection.exp
9115 * gdb.base/foll-exec-mode.exp
9116 * gdb.base/foll-exec.exp
9117 * gdb.base/fork-running-state.exp
9118 * gdb.base/frame-args.exp
9119 * gdb.base/fullpath-expand.exp
9120 * gdb.base/func-ptr.exp
9121 * gdb.base/gcore-relro-pie.exp
9122 * gdb.base/gdb1090.exp
9123 * gdb.base/gdb1555.exp
9124 * gdb.base/global-var-nested-by-dso.exp
9125 * gdb.base/gnu-ifunc.exp
9126 * gdb.base/hbreak-in-shr-unsupported.exp
9127 * gdb.base/hbreak-unmapped.exp
9128 * gdb.base/hook-stop.exp
9129 * gdb.base/infcall-input.exp
9130 * gdb.base/info-fun.exp
9131 * gdb.base/info-shared.exp
9132 * gdb.base/interrupt-noterm.exp
9133 * gdb.base/jit-so.exp
9134 * gdb.base/jit.exp
9135 * gdb.base/line-symtabs.exp
9136 * gdb.base/list.exp
9137 * gdb.base/longjmp.exp
9138 * gdb.base/macscp.exp
9139 * gdb.base/max-value-size.exp
9140 * gdb.base/nodebug.exp
9141 * gdb.base/nofield.exp
9142 * gdb.base/overlays.exp
9143 * gdb.base/paginate-after-ctrl-c-running.exp
9144 * gdb.base/paginate-bg-execution.exp
9145 * gdb.base/paginate-inferior-exit.exp
9146 * gdb.base/pending.exp
9147 * gdb.base/pr11022.exp
9148 * gdb.base/printcmds.exp
9149 * gdb.base/ptr-typedef.exp
9150 * gdb.base/ptype.exp
9151 * gdb.base/randomize.exp
9152 * gdb.base/range-stepping.exp
9153 * gdb.base/realname-expand.exp
9154 * gdb.base/relativedebug.exp
9155 * gdb.base/remote.exp
9156 * gdb.base/savedregs.exp
9157 * gdb.base/sepdebug.exp
9158 * gdb.base/set-noassign.exp
9159 * gdb.base/shlib-call.exp
9160 * gdb.base/shreloc.exp
9161 * gdb.base/sigaltstack.exp
9162 * gdb.base/sigbpt.exp
9163 * gdb.base/siginfo-addr.exp
9164 * gdb.base/siginfo-obj.exp
9165 * gdb.base/siginfo-thread.exp
9166 * gdb.base/signest.exp
9167 * gdb.base/signull.exp
9168 * gdb.base/sigrepeat.exp
9169 * gdb.base/skip.exp
9170 * gdb.base/so-impl-ld.exp
9171 * gdb.base/solib-corrupted.exp
9172 * gdb.base/solib-disc.exp
9173 * gdb.base/solib-display.exp
9174 * gdb.base/solib-overlap.exp
9175 * gdb.base/solib-search.exp
9176 * gdb.base/solib-symbol.exp
9177 * gdb.base/source-execution.exp
9178 * gdb.base/sss-bp-on-user-bp-2.exp
9179 * gdb.base/sss-bp-on-user-bp.exp
9180 * gdb.base/stack-checking.exp
9181 * gdb.base/stale-infcall.exp
9182 * gdb.base/step-break.exp
9183 * gdb.base/step-line.exp
9184 * gdb.base/step-over-exit.exp
9185 * gdb.base/step-test.exp
9186 * gdb.base/structs.exp
9187 * gdb.base/sym-file.exp
9188 * gdb.base/symtab-search-order.exp
9189 * gdb.base/term.exp
9190 * gdb.base/type-opaque.exp
9191 * gdb.base/unload.exp
9192 * gdb.base/until-nodebug.exp
9193 * gdb.base/until.exp
9194 * gdb.base/unwindonsignal.exp
9195 * gdb.base/watch-cond.exp
9196 * gdb.base/watch-non-mem.exp
9197 * gdb.base/watch_thread_num.exp
9198 * gdb.base/watchpoint-reuse-slot.exp
9199 * gdb.base/watchpoint-solib.exp
9200 * gdb.base/watchpoint.exp
9201 * gdb.btrace/dlopen.exp
9202 * gdb.cell/arch.exp
9203 * gdb.cell/break.exp
9204 * gdb.cell/bt.exp
9205 * gdb.cell/core.exp
9206 * gdb.cell/data.exp
9207 * gdb.cell/dwarfaddr.exp
9208 * gdb.cell/ea-cache.exp
9209 * gdb.cell/ea-standalone.exp
9210 * gdb.cell/ea-test.exp
9211 * gdb.cell/f-regs.exp
9212 * gdb.cell/fork.exp
9213 * gdb.cell/gcore.exp
9214 * gdb.cell/mem-access.exp
9215 * gdb.cell/ptype.exp
9216 * gdb.cell/registers.exp
9217 * gdb.cell/sizeof.exp
9218 * gdb.cell/solib-symbol.exp
9219 * gdb.cell/solib.exp
9220 * gdb.compile/compile-tls.exp
9221 * gdb.cp/exception.exp
9222 * gdb.cp/gdb2495.exp
9223 * gdb.cp/local.exp
9224 * gdb.cp/mb-inline.exp
9225 * gdb.cp/mb-templates.exp
9226 * gdb.cp/pr10687.exp
9227 * gdb.cp/pr9167.exp
9228 * gdb.cp/scope-err.exp
9229 * gdb.cp/templates.exp
9230 * gdb.cp/virtfunc.exp
9231 * gdb.dwarf2/dw2-dir-file-name.exp
9232 * gdb.dwarf2/dw2-single-line-discriminators.exp
9233 * gdb.fortran/complex.exp
9234 * gdb.fortran/library-module.exp
9235 * gdb.guile/guile.exp
9236 * gdb.guile/scm-cmd.exp
9237 * gdb.guile/scm-frame-inline.exp
9238 * gdb.guile/scm-objfile.exp
9239 * gdb.guile/scm-pretty-print.exp
9240 * gdb.guile/scm-symbol.exp
9241 * gdb.guile/scm-type.exp
9242 * gdb.guile/scm-value.exp
9243 * gdb.linespec/keywords.exp
9244 * gdb.linespec/ls-errs.exp
9245 * gdb.linespec/macro-relative.exp
9246 * gdb.linespec/thread.exp
9247 * gdb.mi/mi-breakpoint-changed.exp
9248 * gdb.mi/mi-dprintf-pending.exp
9249 * gdb.mi/mi-fullname-deleted.exp
9250 * gdb.mi/mi-logging.exp
9251 * gdb.mi/mi-pending.exp
9252 * gdb.mi/mi-solib.exp
9253 * gdb.mi/new-ui-mi-sync.exp
9254 * gdb.mi/user-selected-context-sync.exp
9255 * gdb.multi/dummy-frame-restore.exp
9256 * gdb.multi/multi-arch-exec.exp
9257 * gdb.multi/remove-inferiors.exp
9258 * gdb.multi/watchpoint-multi-exit.exp
9259 * gdb.opt/solib-intra-step.exp
9260 * gdb.perf/backtrace.exp
9261 * gdb.perf/single-step.exp
9262 * gdb.perf/skip-command.exp
9263 * gdb.perf/skip-prologue.exp
9264 * gdb.perf/solib.exp
9265 * gdb.python/lib-types.exp
9266 * gdb.python/py-as-string.exp
9267 * gdb.python/py-bad-printers.exp
9268 * gdb.python/py-block.exp
9269 * gdb.python/py-breakpoint.exp
9270 * gdb.python/py-cmd.exp
9271 * gdb.python/py-events.exp
9272 * gdb.python/py-evthreads.exp
9273 * gdb.python/py-finish-breakpoint.exp
9274 * gdb.python/py-finish-breakpoint2.exp
9275 * gdb.python/py-frame-inline.exp
9276 * gdb.python/py-frame.exp
9277 * gdb.python/py-inferior.exp
9278 * gdb.python/py-infthread.exp
9279 * gdb.python/py-mi.exp
9280 * gdb.python/py-objfile.exp
9281 * gdb.python/py-pp-maint.exp
9282 * gdb.python/py-pp-registration.exp
9283 * gdb.python/py-prettyprint.exp
9284 * gdb.python/py-recurse-unwind.exp
9285 * gdb.python/py-shared.exp
9286 * gdb.python/py-symbol.exp
9287 * gdb.python/py-symtab.exp
9288 * gdb.python/py-template.exp
9289 * gdb.python/py-type.exp
9290 * gdb.python/py-unwind-maint.exp
9291 * gdb.python/py-unwind.exp
9292 * gdb.python/py-value.exp
9293 * gdb.python/python.exp
9294 * gdb.reverse/finish-reverse-bkpt.exp
9295 * gdb.reverse/insn-reverse.exp
9296 * gdb.reverse/next-reverse-bkpt-over-sr.exp
9297 * gdb.reverse/solib-precsave.exp
9298 * gdb.reverse/solib-reverse.exp
9299 * gdb.stabs/gdb11479.exp
9300 * gdb.stabs/weird.exp
9301 * gdb.threads/fork-child-threads.exp
9302 * gdb.threads/fork-plus-threads.exp
9303 * gdb.threads/fork-thread-pending.exp
9304 * gdb.threads/forking-threads-plus-breakpoint.exp
9305 * gdb.threads/hand-call-in-threads.exp
9306 * gdb.threads/interrupted-hand-call.exp
9307 * gdb.threads/linux-dp.exp
9308 * gdb.threads/local-watch-wrong-thread.exp
9309 * gdb.threads/next-while-other-thread-longjmps.exp
9310 * gdb.threads/non-ldr-exit.exp
9311 * gdb.threads/pending-step.exp
9312 * gdb.threads/print-threads.exp
9313 * gdb.threads/process-dies-while-detaching.exp
9314 * gdb.threads/process-dies-while-handling-bp.exp
9315 * gdb.threads/pthreads.exp
9316 * gdb.threads/queue-signal.exp
9317 * gdb.threads/reconnect-signal.exp
9318 * gdb.threads/signal-command-handle-nopass.exp
9319 * gdb.threads/signal-command-multiple-signals-pending.exp
9320 * gdb.threads/signal-delivered-right-thread.exp
9321 * gdb.threads/signal-sigtrap.exp
9322 * gdb.threads/sigthread.exp
9323 * gdb.threads/staticthreads.exp
9324 * gdb.threads/stepi-random-signal.exp
9325 * gdb.threads/thread-unwindonsignal.exp
9326 * gdb.threads/thread_check.exp
9327 * gdb.threads/thread_events.exp
9328 * gdb.threads/tid-reuse.exp
9329 * gdb.threads/tls-nodebug.exp
9330 * gdb.threads/tls-shared.exp
9331 * gdb.threads/tls-so_extern.exp
9332 * gdb.threads/tls.exp
9333 * gdb.threads/wp-replication.exp
9334 * gdb.trace/actions-changed.exp
9335 * gdb.trace/actions.exp
9336 * gdb.trace/backtrace.exp
9337 * gdb.trace/change-loc.exp
9338 * gdb.trace/collection.exp
9339 * gdb.trace/deltrace.exp
9340 * gdb.trace/disconnected-tracing.exp
9341 * gdb.trace/entry-values.exp
9342 * gdb.trace/ftrace-lock.exp
9343 * gdb.trace/ftrace.exp
9344 * gdb.trace/infotrace.exp
9345 * gdb.trace/mi-trace-frame-collected.exp
9346 * gdb.trace/mi-trace-unavailable.exp
9347 * gdb.trace/mi-traceframe-changed.exp
9348 * gdb.trace/mi-tracepoint-changed.exp
9349 * gdb.trace/mi-tsv-changed.exp
9350 * gdb.trace/no-attach-trace.exp
9351 * gdb.trace/packetlen.exp
9352 * gdb.trace/passc-dyn.exp
9353 * gdb.trace/passcount.exp
9354 * gdb.trace/pending.exp
9355 * gdb.trace/pr16508.exp
9356 * gdb.trace/qtro.exp
9357 * gdb.trace/range-stepping.exp
9358 * gdb.trace/read-memory.exp
9359 * gdb.trace/report.exp
9360 * gdb.trace/save-trace.exp
9361 * gdb.trace/signal.exp
9362 * gdb.trace/stap-trace.exp
9363 * gdb.trace/status-stop.exp
9364 * gdb.trace/strace.exp
9365 * gdb.trace/tfile.exp
9366 * gdb.trace/tfind.exp
9367 * gdb.trace/trace-break.exp
9368 * gdb.trace/trace-condition.exp
9369 * gdb.trace/trace-enable-disable.exp
9370 * gdb.trace/trace-mt.exp
9371 * gdb.trace/tracecmd.exp
9372 * gdb.trace/tracefile-pseudo-reg.exp
9373 * gdb.trace/tspeed.exp
9374 * gdb.trace/tstatus.exp
9375 * gdb.trace/tsv.exp
9376 * gdb.trace/unavailable.exp
9377 * gdb.trace/while-dyn.exp
9378 * gdb.trace/while-stepping.exp
9379 * lib/gdb-guile.exp
9380 * lib/gdb.exp
9381 * lib/mi-support.exp
9382 * lib/pascal.exp
9383 * lib/perftest.exp
9384 * lib/prelink-support.exp
9385 * lib/selftest-support.exp
9386
ad02e4fe
SM
93872016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
9388
9389 * Makefile.in: Include disable-implicit-rules.mk.
9390
22347e55
AA
93912016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9392
9393 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
9394 non-byte-aligned bit fields.
9395
da5b30da
AA
93962016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9397
9398 PR gdb/12616
9399 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
9400 respects the DW_AT_data_bit_offset attribute.
9401
b593ecca
SM
94022016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
9403
9404 * gdb.base/default.exp: Fix output of "set language".
9405
3b165252
SM
94062016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
9407
9408 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
9409 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
9410 make.
9411 * configure.ac: Remove checks for the make program.
9412 * configure: Re-generate.
9413
1a2f3d7f
KB
94142016-11-16 Kevin Buettner <kevinb@redhat.com>
9415
9416 * gdb.python/py-recurse-unwind.c (main): Add loop.
9417 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
9418 to read_register() and gdb.parse_and_eval(). Make each code
9419 call a separate case that can be individually tested.
9420 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
9421 proc. Call cont_and_backtrace for each of the code paths that
9422 we want to test in the unwinder.
9423
b7f38fda
AA
94242016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
9425
9426 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
9427 the definition of struct S.
9428
1f8db343
CM
94292016-11-11 Catherine Moore <clm@codesourcery.com>
9430
9431 * gdb.base/dump.exp: Identify verilog format dump tests as such.
9432
fad0c9fb
PA
94332016-11-09 Pedro Alves <palves@redhat.com>
9434
9435 * gdb.base/commands.exp (runto_or_return): New procedure.
9436 (gdbvar_simple_if_test, gdbvar_simple_while_test)
9437 (gdbvar_complex_if_while_test, progvar_simple_if_test)
9438 (progvar_simple_while_test, progvar_complex_if_while_test)
9439 (if_while_breakpoint_command_test)
9440 (infrun_breakpoint_command_test, breakpoint_command_test)
9441 (user_defined_command_test, watchpoint_command_test)
9442 (test_command_prompt_position, redefine_hook_test)
9443 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
9444 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
9445 multi_line_input and multi_line. Remove gdb_expect and
9446 gdb_stop_suppressing_tests uses.
9447 * lib/gdb.exp (valnum_re): New global.
9448 (multi_line_input): New procedure.
9449
8354c62c
SM
94502016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
9451
9452 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
9453 Remove.
9454 (test_setup): Define with proc_with_prefix.
9455 (test_cli_inferior): Likewise.
9456 (test_cli_thread): Likewise.
9457 (test_cli_frame): Likewise.
9458 (test_cli_select_frame): Likewise.
9459 (test_cli_up_down): Likewise.
9460 (test_mi_thread_select): Likewise.
9461 (test_mi_stack_select_frame): Likewise.
9462 (test_cli_in_mi_inferior): Likewise.
9463 (test_cli_in_mi_thread): Likewise.
9464 (test_cli_in_mi_frame): Likewise.
9465 (top level): Do not use with_test_prefix_procname.
9466
64f367a2
PA
94672016-11-09 Pedro Alves <palves@redhat.com>
9468
9469 * gdb.base/commands.exp (gdbvar_simple_if_test)
9470 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
9471 (progvar_simple_if_test, progvar_simple_while_test)
9472 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
9473 (infrun_breakpoint_command_test, breakpoint_command_test)
9474 (user_defined_command_test, watchpoint_command_test)
9475 (test_command_prompt_position, deprecated_command_test)
9476 (bp_deleted_in_command, temporary_breakpoint_commands)
9477 (stray_arg0_test, source_file_with_indented_comment)
9478 (recursive_source_test, if_commands_test)
9479 (error_clears_commands_left, redefine_hook_test)
9480 (redefine_backtrace_test): Use proc_with_prefix.
9481 * lib/gdb.exp (proc_with_prefix): New proc.
9482
0bb65f1e
AA
94832016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
9484
9485 * gdb.base/tui-layout.c: New file.
9486 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
9487 disassembly window contains very long lines.
9488
7353f247
TT
94892016-11-08 Tom Tromey <tom@tromey.com>
9490
9491 * gdb.python/py-value.exp (test_value_creation): Make "long" test
9492 depend on Python 2.
9493
30a7bb83
TT
94942016-11-08 Tom Tromey <tom@tromey.com>
9495
9496 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
9497 New method.
9498
cdf5a07c
MG
94992016-10-29 Manish Goregaokar <manish@mozilla.com>
9500
2806dc7e 9501 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 9502
51a789c3
MG
95032016-10-27 Manish Goregaokar <manish@mozilla.com>
9504
2806dc7e
PA
9505 * gdb.rust/simple.rs: Add test for univariant enums without
9506 discriminants and for encoded struct-like enums.
51a789c3 9507
f610ab6d
PA
95082016-10-28 Pedro Alves <palves@redhat.com>
9509
9510 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
9511 gdb_test_multiple, tighten regexps and match symtabs and line
9512 tables incrementally.
9513
b129b0ca
LM
95142016-10-28 Luis Machado <lgustavo@codesourcery.com>
9515
9516 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
9517 general.
9518
ecf45d2c
SL
95192016-10-25 Luis Machado <lgustavo@codesourcery.com>
9520
9521 * gdb.base/exec-invalid-sysroot.exp: New file.
9522
b8d38ee4
JK
95232016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9524
9525 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
9526
f90fd8c2
JK
95272016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9528
9529 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
9530
2d2476aa
MR
95312016-10-19 Maciej W. Rozycki <macro@imgtec.com>
9532
2806dc7e
PA
9533 * gdb.base/killed-outside.exp: Remove $options from a call to
9534 `prepare_for_testing'.
2d2476aa 9535
e42b25a0
SM
95362016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9537
9538 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
9539 Change test message.
9540
3ccdb432
SM
95412016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9542
9543 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
9544 Update comment.
9545
5bad3170
SM
95462016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9547
9548 * gdb.trace/mi-trace-save.exp: New file.
9549
5ad9dba7
YQ
95502016-10-13 Yao Qi <yao.qi@linaro.org>
9551
9552 * gdb.base/code_elim.exp (get_var_address): Remove.
9553 * gdb.base/relocate.exp: Likewise.
9554 * gdb.base/shreloc.exp: Likewise.
9555 * lib/gdb.exp (get_var_address): New.
9556
62df7e21
YQ
95572016-10-13 Yao Qi <yao.qi@linaro.org>
9558
9559 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
9560 floating point tests if $skip_float_test is false.
9561
4dac951e
LM
95622016-10-12 Luis Machado <lgustavo@codesourcery.com>
9563
9564 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
9565 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
9566 argc values.
9567 Add 1 to argc so we guarantee distinct initial/modified argc values.
9568
8f1a8fc4
JK
95692016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9570
9571 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
9572
16c85b5d
JK
95732016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9574
9575 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
9576 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
9577 * gdb.arch/vsx-regs.exp: Likewise.
9578
1d0e042a
YQ
95792016-10-07 Yao Qi <yao.qi@linaro.org>
9580
9581 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
9582
68dadef5
MM
95832016-10-07 Markus Metzger <markus.t.metzger@intel.com>
9584
9585 * gdb.python/python.exp: Test decode_line("*0").
9586
33fa2c6e
DE
95872016-10-06 Doug Evans <dje@google.com>
9588
9589 * gdb.python/py-value.exp (test_value_creation): Add test for large
9590 unsigned 64-bit value.
9591
9c37b5ae
TT
95922016-10-06 Tom Tromey <tom@tromey.com>
9593
9594 * gdb.compile/compile.exp: Change java tests to rust.
9595 * gdb.base/setshow.exp: Change java tests to rust.
9596 * gdb.base/default.exp: Remove java from language list.
9597 * README (Examples): Update language example.
9598 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
9599 test.
9600 * lib/gdb.exp (skip_java_tests): Remove.
9601 * lib/java.exp: Remove.
9602 * gdb.java: Remove.
9603
78b86327
MR
96042016-10-06 Maciej W. Rozycki <macro@imgtec.com>
9605
9606 * gdb.arch/mips-fcr.exp: New test.
9607 * gdb.arch/mips-fcr.c: Source for the new test.
9608
7470adbb
MR
96092016-10-06 Maciej W. Rozycki <macro@imgtec.com>
9610
9611 * gdb.base/solib-disc.exp: Use `standard_output_file'
9612 throughout.
9613
4a556533
PA
96142016-10-06 Pedro Alves <palves@redhat.com>
9615
9616 * gdb.base/jit-simple-dl.c: New file.
9617 * gdb.base/jit-simple-jit.c: New file, factored out from ...
9618 * gdb.base/jit-simple.c: ... this.
9619 * gdb.base/jit-simple.exp (jit_run): Delete.
9620 (build_jit): New proc.
9621 (jit_test_reread): Recompile either the main program or the shared
9622 library, depending on what is being tested. Skip changing address
9623 if caller wants to. Compare before/after addresses. If testing
9624 standalone, explicitly load the binary. Test "maint info
9625 breakpoints".
9626 (top level): Add "standalone vs shared lib" and "change address"
9627 vs "same address" axes.
9628
5a122fbc
PA
96292016-10-06 Pedro Alves <palves@redhat.com>
9630
9631 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
9632 call.
9633 (jit_run): Delete.
9634 (jit_test_reread): Use with_test_prefix. Reload the main binary
9635 explicitly. Compare the before/after addresses of the JIT
9636 descriptor.
9637
ee8da4b8
DE
96382016-08-15 Doug Evans <dje@google.com>
9639
9640 * gdb.xml/extra-regs.xml: Update, end field now required, default type
9641 for single bitfields is bool.
9642 * gdb.xml/tdesc-regs.exp: Ditto.
9643
f389f6fe
JK
96442016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9645
9646 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
9647
fdebf1a4
YQ
96482016-10-05 Yao Qi <yao.qi@linaro.org>
9649
9650 * lib/gdb.exp (support_complex_tests): Return zero if
9651 gdb_skip_float_test return true.
9652
9c36d954 96532016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 9654 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
9655
9656 PR gdb/20487
9657 * gdb.mi/user-selected-context-sync.exp: New file.
9658 * gdb.mi/user-selected-context-sync.c: New file.
9659
4034d0ff 96602016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 9661 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
9662
9663 PR gdb/20487
9664 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
9665 =thread-select-event check.
9666
a4297203
PB
96672016-09-29 Peter Bergner <bergner@vnet.ibm.com>
9668
9669 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
9670 the compulsory L operand changes.
9671 * gdb.arch/powerpc-power.s: Likewise.
9672
bb805577
JK
96732016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9674
9675 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
9676 * gdb.base/jit-attach-pie.c: New file.
9677 * gdb.base/jit-attach-pie.exp: New file.
9678
6d61dee5
PA
96792016-09-28 Pedro Alves <palves@redhat.com>
9680
9681 * gdb.base/infcall-input.c: New file.
9682 * gdb.base/infcall-input.exp: New file.
9683
f73842fc
YQ
96842016-09-22 Yao Qi <yao.qi@linaro.org>
9685
9686 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
9687 (gdb_exit): Rename it to ...
9688 (gdbserver_gdb_exit): ... Close GDBserver.
9689 (gdb_exit): New proc, call gdbserver_gdb_exit.
9690 (mi_gdb_exit): Likewise.
9691
90681dab
YQ
96922016-09-22 Yao Qi <yao.qi@linaro.org>
9693
9694 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
9695 path.
9696 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
9697 Remove duplication.
9698
9c211fd8
YQ
96992016-09-22 Yao Qi <yao.qi@linaro.org>
9700
9701 * lib/gdbserver-support.exp: Check the existence of
9702 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
9703
ad0a504f
AK
97042016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
9705
9706 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
9707
36cf1806
TT
97082016-09-21 Tom Tromey <tom@tromey.com>
9709
9710 PR gdb/20604:
9711 * gdb.base/quit.exp: New file.
9712
74172ecf
SM
97132016-09-21 Simon Marchi <simon.marchi@ericsson.com>
9714
9715 * .gitignore: New file.
9716
3d0ec882
MR
97172016-09-21 Maciej W. Rozycki <macro@imgtec.com>
9718
9719 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
9720 throughout.
9721
8193adea
AA
97222016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9723
9724 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
9725
d41a5c09
JK
97262016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9727
9728 * gdb.cp/casts.cc (decltype): Move it ...
9729 (main): ... with its call to ...
9730 * gdb.cp/casts03.cc: ... a new file.
9731 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
9732
d2dfe700
JK
97332016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9734
9735 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
9736
e2a92b16
PB
97372016-09-15 Peter Bergner <bergner@vnet.ibm.com>
9738
9739 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
9740 and sync up the test with tests in gas/testsuite/gas/ppc.
9741 * gdb.arch/powerpc-power.exp: Likewise.
9742
49b4de64
JK
97432016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9744
9745 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
9746
2c29df25
SDJ
97472016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
9748 Jan Kratochvil <jan.kratochvil@redhat.com>
9749
9750 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
9751 make m1's definition to be different from m2's. Use 'dummy' as an
9752 argument for probe 'two'.
9753
cc3c2846
JB
97542016-09-10 Jon Beniston <jon@beniston.com>
9755
9756 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
9757 for sim target.
9758
e1b2624a
AA
97592016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
9760
9761 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
9762 variable declaration.
9763 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
9764 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
9765 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
9766 received HWCAP as its argument.
9767
4295e285
PA
97682016-09-06 Pedro Alves <palves@redhat.com>
9769
9770 * gdb.base/new-ui-pending-input.c: New file.
9771 * gdb.base/new-ui-pending-input.exp: New file.
9772 * gdb.exp (clear_gdb_spawn_id): New procedure.
9773 (with_spawn_id): Check whether gdb_spawn_id exists before
9774 referencing it. If gdb_spawn_id didn't exist on entry, clear it
9775 on exit.
9776
00d5215e
UW
97772016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
9778
9779 * gdb.base/float128.c: New file.
9780 * gdb.base/float128.exp: Likewise.
9781 * gdb.base/floatn.c: Likewise.
9782 * gdb.base/floatn.exp: Likewise.
9783
a9ff5f12
UW
97842016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
9785
9786 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
9787
f245535c
PA
97882016-09-05 Pedro Alves <palves@redhat.com>
9789
9790 PR backtrace/19927
9791 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
9792 unwinders are immediately called as side effect of "source" or
9793 "disable unwinder" commands.
9794 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
9795
ae9cf263
YQ
97962016-09-02 Yao Qi <yao.qi@linaro.org>
9797
9798 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
9799 is true and $type is "float" or "double".
9800
27aba047
YQ
98012016-09-02 Yao Qi <yao.qi@linaro.org>
9802
9803 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
9804 true.
9805 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
9806 * gdb.base/call-rt-st.exp: Likewise.
9807 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
9808 return value instead of gdb,skip_float_test.
9809 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
9810 (do_function_calls): Use its return value instead of
9811 gdb,skip_float_test.
9812 * gdb.base/finish.exp: Likewise.
9813 * gdb.base/funcargs.exp: Likewise.
9814 * gdb.base/return.exp: Likewise.
9815 * gdb.base/return2.exp: Likewise.
9816 * gdb.base/varargs.exp: Likewise.
9817 * lib/gdb.exp (gdb_skip_float_test): Change it to
9818 gdb_caching_proc. Detect the broken ptrace on arm-linux.
9819
5af962df
AA
98202016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
9821
9822 * gdb.multi/tids.exp: Test "thread apply all".
9823
7fac6910
JK
98242016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9825
9826 * gdb.base/default.exp (tty): Remove.
9827
bb1fe4ac
KB
98282016-08-24 Kevin Buettner <kevinb@redhat.com>
9829
2806dc7e
PA
9830 * gdb.python/py-recurse-unwind.c: New file.
9831 * gdb.python/py-recurse-unwind.py: New file.
9832 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 9833
0a1ddfa6
SM
98342016-08-24 Simon Marchi <simon.marchi@ericsson.com>
9835
9836 * gdb.base/set-inferior-tty.exp: New file.
9837 * gdb.base/set-inferior-tty.c: New file.
9838
d9de1fe3
PA
98392016-08-23 Pedro Alves <palves@redhat.com>
9840
9841 PR gdb/20494
9842 * gdb.base/new-ui-echo.c: New file.
9843 * gdb.base/new-ui-echo.exp: New file.
9844
e9d9abd7
YQ
98452016-08-23 Yao Qi <yao.qi@linaro.org>
9846
9847 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
9848 gdbserver_spawn.
9849 * gdb.server/connect-without-multi-process.exp (do_test):
9850 Likewise.
9851
3589529e
YQ
98522016-08-23 Yao Qi <yao.qi@linaro.org>
9853
9854 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
9855 standalone_txt. Delete gdb_txt and standalone_txt on host
9856 and target. Spawn the binary on target. Copy files from
9857 target to host.
9858
6bb90213
PA
98592016-08-22 Pedro Alves <palves@redhat.com>
9860
9861 PR gdb/20505
9862 * gdb.base/vdso-warning.exp: Test core dumps too. Use
9863 with_test_prefix. Factor out bits to ...
9864 (test_no_vdso): ... this new procedure.
9865
20c2c024
CL
98662016-08-19 Carl Love <cel@us.ibm.com>
9867
9868 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
9869 maintaining separate logic for constructing the output path.
9870 * gdb.arch/powerpc-d128-regs.exp: Likewise.
9871 * gdb.arch/ppc-dfp.exp: Likewise.
9872 * gdb.arch/ppc-fp.exp: Likewise.
9873 * gdb.arch/vsx-regs.exp: Likewise.
9874 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
9875 binprefix for generating the additional binary files.
9876
0646e07d
PA
98772016-08-19 Pedro Alves <palves@redhat.com>
9878
9879 * gdb.trace/mi-trace-frame-collected.exp
9880 (test_trace_frame_collected): On x32, expect two registers.
9881
46da9242
CL
98822016-08-18 Carl Love <cel@us.ibm.com>
9883
9884 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
9885 and sync up the test with tests in gas/testsuite/gas/ppc.
9886 * gdb.arch/powerpc-power.exp: Likewise.
9887
eb2332d7
SM
98882016-08-17 Simon Marchi <simon.marchi@ericsson.com>
9889
9890 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
9891 expected error message.
9892
63c61e04
SM
98932016-08-17 Simon Marchi <simon.marchi@ericsson.com>
9894
9895 * gdb.multi/remove-inferiors.exp: New file.
9896 * gdb.multi/remove-inferiors.c: New file.
9897
7b17065f
YQ
98982016-08-12 Yao Qi <yao.qi@linaro.org>
9899
9900 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
9901 argument list.
9902
01d3dedf
PA
99032016-08-10 Pedro Alves <palves@redhat.com>
9904
9905 PR gdb/19187
9906 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
9907 setup_kfails.
9908
3eb7562a
PA
99092016-08-09 Pedro Alves <palves@redhat.com>
9910 Simon Marchi <simon.marchi@ericsson.com>
9911
9912 PR gdb/20418
9913 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
9914 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
9915
80614914
PA
99162016-08-09 Pedro Alves <palves@redhat.com>
9917
9918 PR mi/20431
9919 * gdb.mi/mi-cmd-error.exp: New file.
9920
f348d89a
PA
99212016-08-09 Pedro Alves <palves@redhat.com>
9922
9923 PR gdb/18653
9924 * gdb.base/signals-state-child.c: New file.
9925 * gdb.base/signals-state-child.exp: New file.
9926 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
9927
e5ca03b4
PA
99282016-08-09 Pedro Alves <palves@redhat.com>
9929
9930 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
9931
282a0691
TT
99322016-08-03 Tom Tromey <tom@tromey.com>
9933
9934 PR python/18565:
9935 * gdb.python/py-frame-inline.exp: Add Frame.function test.
9936
41bfcd63
YQ
99372016-08-01 Yao Qi <yao.qi@linaro.org>
9938
9939 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
9940 variable mode to "multi-process" if $multi_process is 1, otherwise
9941 set it to "single-process".
9942
e3465b24
YQ
99432016-08-01 Yao Qi <yao.qi@linaro.org>
9944
9945 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
9946 * gdb.cp/cpexprs.exp: Likewise.
9947 * gdb.cp/m-static.exp: Likewise.
9948
0b31a4bc
TT
99492016-07-26 Tom Tromey <tom@tromey.com>
9950
9951 PR python/20190:
9952 * gdb.threads/tls.exp (check_thread_local): Add python symbol
9953 test.
9954
e0461dbb
MM
99552016-07-26 Markus Metzger <markus.t.metzger@intel.com>
9956
9957 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
9958 selecting assembly source files.
9959 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
9960 assembly source files.
9961 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
9962 assembly source files.
9963 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
9964 selecting assembly source files.
9965
8194e927
SM
99662016-07-25 Simon Marchi <simon.marchi@ericsson.com>
9967
9968 * gdb.base/new-ui.exp (do_test_invalid_args): New
9969 procedure.
9970
c0272db5
TW
99712016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
9972
9973 * gdb.btrace/reconnect.c: New file.
9974 * gdb.btrace/reconnect.exp: New file.
9975
e3487908
GKB
99762016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
9977
9978 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
9979 to test_catch_syscall_group.
9980 (test_catch_syscall_group): New.
9981
12df5c00
TT
99822016-07-21 Tom Tromey <tom@tromey.com>
9983
9984 * gdb.rust/simple.rs (main): Use empty struct expression.
9985 * gdb.rust/simple.exp: Add tests for empty struct expression.
9986
bae62ee2
YQ
99872016-07-21 Yao Qi <yao.qi@linaro.org>
9988
9989 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
9990 if gdb_skip_xml_test is true on some targets.
9991
b1b53fb3
YQ
99922016-07-21 Yao Qi <yao.qi@linaro.org>
9993
9994 * gdb.server/solib-list.exp: Unset last_loaded_file.
9995
027d97f8
JK
99962016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9997
9998 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
9999 "step into captured_main (args)".
10000
7674d381
JK
100012016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10002
10003 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
10004
72b5d099
JK
100052016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10006
10007 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
10008
1f960ced
PA
100092016-07-19 Pedro Alves <palves@redhat.com>
10010
10011 * gdb.opt/inline-break.exp: Remove optimize=-O2.
10012 * gdb.opt/inline-bt.exp: Likewise.
10013 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
10014 additional_flags=-Winline.
10015 * gdb.opt/inline-locals.exp: Likewise.
10016 * gdb.opt/inline-markers.c (ATTR): Define.
10017 (inlined_fn): Use it.
10018
f25827c1
YQ
100192016-07-19 Yao Qi <yao.qi@linaro.org>
10020
10021 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
10022 (test_with_self): Remove some code. Remove argument executable.
10023 (top-level): Use do_self_tests.
10024
37539ebe
DB
100252016-07-15 Zachary Welch <zwelch@codesourcery.com>
10026 Don Breazeal <donb@codesourcery.com>
10027
10028 * gdb.base/maint.exp: Escape paths used in regular expressions.
10029 * gdb.stabs/weird.exp: Likewise.
10030
dac790e1
TT
100312016-07-13 Tom Tromey <tom@tromey.com>
10032
10033 PR python/15620, PR python/18620:
10034 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
10035 (test_bkpt_events): New procs.
10036
93daf339
TT
100372016-07-13 Tom Tromey <tom@tromey.com>
10038
10039 PR python/17698:
10040 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
10041 test.
10042 (test_watchpoints): Likewise.
10043 (test_bkpt_pending): New proc.
10044
6571a381
TT
100452016-07-13 Tom Tromey <tom@tromey.com>
10046
10047 PR cli/18053:
10048 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
10049 completion test.
10050
e8732474
JK
100512016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10052
10053 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
10054 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
10055 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
10056 f_label.
10057 (g): Rename g_end_lbl to g_label.
10058 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
10059 low_pc and high_pc.
10060 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
10061
e0f3fd7c
TT
100622016-07-12 Tom Tromey <tom@tromey.com>
10063
10064 PR python/19293:
10065 * gdb.python/py-unwind-maint.exp: Update tests.
10066
3cfe46b6
YQ
100672016-07-12 Yao Qi <yao.qi@linaro.org>
10068
10069 * lib/selftest-support.exp (selftest_setup): Match the output
10070 when captured_main is inlined.
10071
4f19a0e6
WT
100722016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
10073
10074 * gdb.fortran/derived-types.exp (result_line, result_line_2):
10075 New variables.
10076 (print this%a, print this%b, print this): New tests.
10077 * gdb.fortran/derived-types.f90 (this): New object and
10078 initialization.
10079
986cf455
SM
100802016-07-06 Simon Marchi <simon.marchi@ericsson.com>
10081
10082 * gdb.ada/arraydim.exp: Remove extra directory level in build
10083 directory.
10084
f0464b23
SM
100852016-07-06 Simon Marchi <simon.marchi@ericsson.com>
10086
10087 * lib/ada.exp: Remove extra directory level in build directory.
10088 * gdb.ada/cond_lang.exp: Likewise.
10089 * gdb.ada/exec_changed.exp: Likewise.
10090 * gdb.ada/lang_switch.exp: Likewise.
10091
42d94011
MG
100922016-07-06 Manish Goregaokar <manish@mozilla.com>
10093
2806dc7e
PA
10094 * simple.rs: Add test for raw pointer subscripting.
10095 * simple.exp: Add test expectations.
42d94011 10096
647c264c
YQ
100972016-07-05 Yao Qi <yao.qi@linaro.org>
10098
10099 * gdb.mi/mi-reverse.exp: Match =record-started output.
10100
20aa2c60
PA
101012016-07-01 Pedro Alves <palves@redhat.com>
10102
10103 * gdb.base/jit-reader.exp (info_registers_current_frame): New
10104 procedure.
10105 (jit_reader_test): Test the jit reader's unwinder.
10106 * gdb.base/jithost.c (jit_function_00_code): New global.
10107 (main): Use memcpy to fill in the mmapped code, instead of poking
10108 bytes manually here.
10109 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
10110 value.
10111 (read_debug_info): Save the function's range.
10112 (read_sp): New function.
10113 (unwind_frame): Use it. Also unwind RBP.
10114 (get_frame_id): Use read_sp.
10115 (gdb_init_reader): Use calloc instead of malloc.
10116 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
10117 parameter. Use gdb_test_multiple.
10118
ced2dffb
PA
101192016-07-01 Pedro Alves <palves@redhat.com>
10120 Antoine Tremblay <antoine.tremblay@ericsson.com>
10121
10122 * gdb.threads/process-dies-while-detaching.c: New file.
10123 * gdb.threads/process-dies-while-detaching.exp: New file.
10124
63000888
PA
101252016-07-01 Pedro Alves <palves@redhat.com>
10126
10127 * gdb.multi/watchpoint-multi-exit.c: New file.
10128 * gdb.multi/watchpoint-multi-exit.exp: New file.
10129
038d4868
PA
101302016-06-30 Pedro Alves <palves@redhat.com>
10131
10132 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
10133 unset inferior_spawn_id.
10134
994e9c83
PA
101352016-06-30 Pedro Alves <palves@redhat.com>
10136
10137 * lib/mi-support.exp (default_mi_gdb_start): Declare global
10138 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
10139
e5653468
YQ
101402016-06-29 Yao Qi <yao.qi@linaro.org>
10141
10142 * gdb.base/return.c: Add copyright header.
10143
803b47e5
TT
101442016-06-29 Tom Tromey <tom@tromey.com>
10145
10146 PR python/20129:
10147 * gdb.python/py-framefilter.exp: Add tests for setting priority
10148 and disabling of non-existent frame filter.
10149
28244707
YQ
101502016-06-29 Yao Qi <yao.qi@linaro.org>
10151
10152 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
10153 0x0f07ff.
10154
a31d2f06
YQ
101552016-06-28 Yao Qi <yao.qi@linaro.org>
10156
10157 * gdb.base/catch-syscall.exp: Remove check on isnative and target
10158 triplets. Start gdb, execute catch syscall, and continue. Check
10159 gdb's output to determine catch syscall is supported.
10160
921d8f54
MG
101612016-06-27 Manish Goregaokar <manish@mozilla.com>
10162
25d49b86
PA
10163 * gdb.rust/simple.rs: Add test for returning unit in a function.
10164 * gdb.rust/simple.exp: Add expectation for functions returning
10165 unit.
921d8f54 10166
f4952523
PMR
101672016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
10168
10169 * gdb.python/py-breakpoint-create-fail.c,
10170 gdb.python/py-breakpoint-create-fail.exp,
10171 gdb.python/py-breakpoint-create-fail.py: New testcase.
10172
fccb08f8
MG
101732016-06-25 Manish Goregaokar <manish@mozilla.com>
10174
10175 PR gdb/20239
10176 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
10177 * gdb.rust/simple.exp: Add test expectations for new NonZero
10178 tests.
fccb08f8 10179
6b850546
DT
101802016-06-24 David Taylor <dtaylor@emc.com>
10181
10182 * gdb.base/offsets.exp: New file.
10183 * gdb.base/offsets.c: New file.
10184
17621150
TT
101852016-06-23 Tom Tromey <tom@tromey.com>
10186
10187 PR gdb/16483:
10188 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
10189 before any filters are loaded.
10190
04d59df6
WT
101912016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
10192
10193 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
10194 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
10195 structs.
10196 * gdb.fortran/derived-type-function.exp: New file.
10197 * gdb.fortran/derived-type-function.f90: New file.
10198
10199
ac69f786
PA
102002016-06-21 Pedro Alves <palves@redhat.com>
10201
10202 * gdb.base/new-ui.exp: New file.
10203 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
10204 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
10205 (with_spawn_id): New procedure.
10206
49940788
PA
102072016-06-21 Pedro Alves <palves@redhat.com>
10208
10209 * gdb.mi/mi-exec-run.exp: New file.
10210
ef274d26
PA
102112016-06-21 Pedro Alves <palves@redhat.com>
10212
10213 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
10214 breakpoint command's output on the main UI.
10215 (test_break): New procedure, factored out from calls in the top
10216 level.
10217 (top level): Use foreach_with_prefix to test MI as main UI and as
10218 separate UI.
10219
468afe6c
PA
102202016-06-21 Pedro Alves <palves@redhat.com>
10221
10222 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
10223 (test_awatch_creation_and_listing)
10224 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
10225 Remove 'type' parameter.
10226 (test_watchpoint_all): New parameter mi_mode. Remove
10227 with_test_prefix.
10228 (top level): Use foreach_with_prefix, and add main/separate UI MI
10229 testing axis.
10230
51f77c37
PA
102312016-06-21 Pedro Alves <palves@redhat.com>
10232
10233 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
10234 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
10235 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
10236 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
10237 (gdb_main_spawn_id, mi_spawn_id): Declare and
10238 comment.
10239 (mi_create_inferior_pty): New procedure,
10240 factored out from default_mi_gdb_start.
10241 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
10242 procedures.
10243 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
10244 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
10245 Use mi_create_inferior_pty.
10246 (mi_gdb_start): Use eval to pass down args list.
10247
8980e177
PA
102482016-06-21 Pedro Alves <palves@redhat.com>
10249
10250 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
10251 * gdb.opt/inline-cmds.exp: Add MI tests.
10252
f38d3ad1
PA
102532016-06-21 Pedro Alves <palves@redhat.com>
10254
10255 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
10256
45db7c09
PA
102572016-06-21 Pedro Alves <palves@redhat.com>
10258
10259 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
10260 (top level): Use it instead of mi_execute_to.
10261
5a069ab3
PA
102622016-06-21 Pedro Alves <palves@redhat.com>
10263
10264 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
10265 (cont_handler_str): New.
10266 (signal_stop_handler): Set stop_handler_str instead of printing to
10267 stdout.
10268 (continue_handler): Set cont_handler_str instead of printing to
10269 stdout.
10270 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
10271 mi_send_resuming_command. Print stop_handler_str and
10272 cont_handler_str instead of expecting the python events print
10273 directly.
10274
2838cc1d
SD
102752016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
10276
10277 * gdb.base/jit-reader.exp: New file.
10278 * gdb.base/jithost.c: New file.
10279 * gdb.base/jithost.h: New file.
10280 * gdb.base/jitreader.c : New file.
10281 * gdb.base/jit-protocol.h: New file.
10282
21a77091
YQ
102832016-06-17 Yao Qi <yao.qi@linaro.org>
10284
10285 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
10286 parameters follow_fork and detach_on_fork. Set follow-fork-mode
10287 and detach-on-fork. Adjust tests.
10288 (top level): Invoke break_cond_on_syscall with combinations of
10289 syscall, follow-fork-mode and detach-on-fork.
10290
f50bf8e5
YQ
102912016-06-17 Yao Qi <yao.qi@linaro.org>
10292
10293 * gdb.base/step-over-exit.c: New.
10294 * gdb.base/step-over-exit.exp: New.
10295
a28d8e50
YTL
102962016-06-17 Yan-Ting Lin <currygt52@gmail.com>
10297
10298 * gdb.base/float.exp: Add target check for nds32*-*-*.
10299 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
10300
cad8e26d
AB
103012016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
10302
10303 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
10304 for unsupported target features.
10305 * gdb.base/call-rt-st.exp: Likewise.
10306 * gdb.base/call-sc.exp: Likewise.
10307 * gdb.base/call-signal-resume.exp: Likewise.
10308 * gdb.base/call-strs.exp: Likewise.
10309 * gdb.base/callexit.exp: Likewise.
10310 * gdb.base/callfuncs.exp: Likewise.
10311 * gdb.base/nodebug.exp: Likewise.
10312 * gdb.base/printcmds.exp: Likewise.
10313 * gdb.base/ptype.exp: Likewise.
10314 * gdb.base/structs.exp: Likewise.
10315 * gdb.base/unwindonsignal.exp: Likewise.
10316 * gdb.cp/gdb2495.exp: Likewise.
10317 * gdb.cp/templates.exp: Likewise.
10318 * gdb.cp/virtfunc.exp: Likewise.
10319 * gdb.threads/hand-call-in-threads.exp: Likewise.
10320 * gdb.threads/interrupted-hand-call.exp: Likewise.
10321 * gdb.threads/thread-unwindonsignal.exp: Likewise.
10322
347dc102
TT
103232016-06-10 Tom Tromey <tom@tromey.com>
10324
10325 PR rust/20110:
10326 * gdb.rust/expr.exp: Add test for integer constant larger than
10327 i32.
10328
5e13cf25
BH
103292016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
10330
10331 * gdb.fortran/nested-funcs.exp: New.
10332 * gdb.fortran/nested-funcs.f90: New.
10333
bb556f1f
TK
103342016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
10335
10336 * gdb.base/examine-backward.c: New file.
10337 * gdb.base/examine-backward.exp: New file.
10338
38b022b4
SM
103392016-06-06 Simon Marchi <simon.marchi@ericsson.com>
10340
10341 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
10342 matching.
10343
1b40ec05
TT
103442016-06-02 Tom Tromey <tom@tromey.com>
10345
10346 PR python/18984:
10347 * gdb.python/py-shared.exp: Add solib_name test.
10348
193bd378
SM
103492016-06-02 Simon Marchi <simon.marchi@ericsson.com>
10350
10351 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
10352
3326303b
MG
103532016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
10354
10355 PR c++/19893
10356 * gdb.dwarf2/implref.exp: Rename to...
10357 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
10358 * gdb.dwarf2/implref-array.c: New file.
10359 * gdb.dwarf2/implref-array.exp: Likewise.
10360 * gdb.dwarf2/implref-global.c: Likewise.
10361 * gdb.dwarf2/implref-global.exp: Likewise.
10362 * gdb.dwarf2/implref-struct.c: Likewise.
10363 * gdb.dwarf2/implref-struct.exp: Likewise.
10364
825c8ef2
AT
103652016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10366
10367 * gdb.trace/trace-condition.exp: Add 64bit tests.
10368
2320162a
AT
103692016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10370
10371 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
10372 bits types.
10373 (main): Adapt to 8 to 64 bits types.
10374 * gdb.trace/trace-condition.exp: Add new tests.
10375
a7818233
AT
103762016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10377
10378 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
10379
0d336466
AT
103802016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10381
10382 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
10383 Move condition tests...
10384 * gdb.trace/trace-condition.exp: Here.
10385
7faeb45a
AT
103862016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10387
10388 * gdb.trace/trace-condition.exp: Add counter-case tests.
10389
e385593e
JK
103902016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10391
10392 PR c++/15231
10393 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
10394 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
10395
744608cc
PA
103962016-05-27 Pedro Alves <palves@redhat.com>
10397
10398 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
10399 New procedure.
10400 (top level): Call it, and bail out of DejaGnu is known to be bad.
10401
ac775bf4
AB
104022016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
10403
10404 * gdb.base/whatis.c: Extend the test case.
10405 * gdb.base/whatis.exp: Add additional tests.
10406
2bbad2ea
BH
104072016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10408
10409* gdb.fortran/type.f90: Add pointer variable.
10410* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
10411
8b70175d
BH
104122016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10413
10414 * gdb.fortran/vla-type.exp: Fix testcase name.
10415
86d8a848
BH
104162016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10417
10418 * gdb.fortran/vla-type.exp: Access elements in nested structs.
10419
e188eb36
BH
104202016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10421
10422 * gdb.fortran/type.f90: Add nested structures.
10423 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
10424 * gdb.fortran/derived-type.exp: Adapt expected output.
10425 * gdb.fortran/vla-type.exp: Adapt expected output.
10426
9b2db1fd
BH
104272016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10428
10429 * gdb.fortran/whatis_type.exp: Adapt expected output.
10430
72b17055
BH
104312016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10432
10433 * gdb.fortran/print_type.exp: Fix expected output.
10434 * gdb.fortran/whatis_type.exp: Fix expected output.
10435
3cd81d8d
BH
104362016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10437
10438 * gdb.fortran/whatis_type.exp: Use multi_line.
10439
ddae9462
TT
104402016-05-24 Tom Tromey <tom@tromey.com>
10441
10442 PR python/17386:
10443 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
10444 use value as an index.
10445
1957f6b8
TT
104462016-05-23 Tom Tromey <tom@tromey.com>
10447
10448 PR python/17981:
10449 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
10450 no-breakpoint case.
10451
026a9174
PA
104522016-05-24 Pedro Alves <palves@redhat.com>
10453
10454 PR gdb/19828
10455 * gdb.threads/clone-attach-detach.c: New file.
10456 * gdb.threads/clone-attach-detach.exp: New file.
10457
e70a7231
FR
104582016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
10459
10460 * gdb.base/annota-input-while-running.exp: Fix syntax error.
10461
0f6ed0e0
TT
104622016-05-23 Tom Tromey <tom@tromey.com>
10463
10464 PR python/19438, PR python/18393:
10465 * gdb.python/py-progspace.exp: Add "dir" test.
10466 * gdb.python/py-objfile.exp: Add "dir" test.
10467
ffd19d61
YQ
104682016-05-23 Yao Qi <yao.qi@linaro.org>
10469
10470 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
10471 * gdb.arch/thumb2-it.exp: Likewise.
10472
9e8f9b05
SM
104732016-05-18 Simon Marchi <simon.marchi@ericsson.com>
10474
10475 * gdb.mi/mi-threads-interrupt.c: New file.
10476 * gdb.mi/mi-threads-interrupt.exp: New file.
10477
61c6156d
SM
104782016-05-17 Simon Marchi <simon.marchi@ericsson.com>
10479
10480 PR gdb/18077
10481 * gdb.mi/mi-async-run.exp: New file.
10482 * gdb.mi/mi-async-run.c: New file.
10483
67218854
TT
104842016-05-17 Tom Tromey <tom@tromey.com>
10485 Manish Goregaokar <manishsmail@gmail.com>
10486
10487 * lib/rust-support.exp: New file.
10488 * lib/gdb.exp (skip_rust_tests): New proc.
10489 (build_executable_from_specs): Handle rust.
10490 * lib/future.exp (gdb_find_rustc): New proc.
10491 (gdb_default_target_compile): Handle rust.
10492 * gdb.rust/expr.exp: New file.
10493 * gdb.rust/generics.exp: New file.
10494 * gdb.rust/generics.rs: New file.
10495 * gdb.rust/methods.exp: New file.
10496 * gdb.rust/methods.rs: New file.
10497 * gdb.rust/modules.exp: New file.
10498 * gdb.rust/modules.rs: New file.
10499 * gdb.rust/simple.exp: New file.
10500 * gdb.rust/simple.rs: New file.
10501
c44af4eb
TT
105022016-05-17 Tom Tromey <tom@tromey.com>
10503
10504 * gdb.base/default.exp (set language): Add rust.
10505
dcd1f979
TT
105062016-05-17 Tom Tromey <tom@tromey.com>
10507
10508 * gdb.gdb/unittest.exp: New file.
10509
155b7f57
YQ
105102016-05-16 Yao Qi <yao.qi@linaro.org>
10511
10512 * gdb.base/batch-preserve-term-settings.exp: Remove variable
10513 shell_prompt. Update shell_prompt_re.
10514
8ddd5a6c
DE
105152016-05-12 Doug Evans <dje@google.com>
10516
10517 PR symtab/19999
10518 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
10519 $options when building executable.
10520 * gdb.dwarf2/fission-loclists-pie.S: New file.
10521 * gdb.dwarf2/fission-loclists-pie.exp: New file.
10522
02e370d9
SM
105232016-05-04 Simon Marchi <simon.marchi@ericsson.com>
10524
10525 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
10526 of [is_remote target],
10527
8929ad8b
SM
105282016-05-04 Simon Marchi <simon.marchi@ericsson.com>
10529
10530 * lib/gdb.exp (use_gdb_stub): New procedure.
10531
6c447423
DE
105322016-05-03 Yunlian Jiang <yunlian@google.com>
10533 Doug Evans <dje@google.com>
10534
10535 PR symtab/19914
10536 * gdb.dwarf2/dwp-sepdebug.c: New file.
10537 * gdb.dwarf2/dwp-sepdebug.exp: New file.
10538
444e826c
SM
105392016-05-02 Simon Marchi <simon.marchi@ericsson.com>
10540
10541 * gdb.base/detach.exp: Remove is_remote check.
10542
740feeaa
SM
105432016-05-02 Simon Marchi <simon.marchi@ericsson.com>
10544
10545 * gdb.base/annota-input-while-running.exp: Don't check for
10546 [is_remote target]. Enable annotations after running to main.
10547 Remove unused "set test..." line.
10548
9080ac9d
SM
105492016-04-28 Simon Marchi <simon.marchi@ericsson.com>
10550
10551 * gdb.trace/trace-enable-disable.exp: New file.
10552 * gdb.trace/trace-enable-disable.c: New file.
10553
952ebca5
SM
105542016-04-28 Simon Marchi <simon.marchi@ericsson.com>
10555
10556 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
10557 use it in info sharedlibrary test.
10558 * gdb.trace/ftrace-lock.exp: Likewise.
10559 * gdb.trace/ftrace.exp: Likewise.
10560 * gdb.trace/range-stepping.exp: Likewise.
10561 * gdb.trace/trace-break.exp: Likewise.
10562 * gdb.trace/trace-condition.exp: Likewise.
10563 * gdb.trace/trace-mt.exp: Likewise.
10564
d9019901
SM
105652016-04-27 Simon Marchi <simon.marchi@ericsson.com>
10566
10567 * lib/gdb.exp (gdb_load_shlibs): Rename to...
10568 (gdb_load_shlib): ... this.
10569 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
10570 gdb_load_shlib.
10571 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
10572 * gdb.base/ctxobj.exp: Likewise.
10573 * gdb.base/dprintf-pending.exp: Likewise.
10574 * gdb.base/dso2dso.exp: Likewise.
10575 * gdb.base/fixsection.exp: Likewise.
10576 * gdb.base/gcore-relro.exp: Likewise.
10577 * gdb.base/gdb1555.exp: Likewise.
10578 * gdb.base/global-var-nested-by-dso.exp: Likewise.
10579 * gdb.base/gnu-ifunc.exp: Likewise.
10580 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
10581 * gdb.base/jit-so.exp (one_jit_test): Likewise.
10582 * gdb.base/pending.exp: Likewise.
10583 * gdb.base/print-file-var.exp: Likewise.
10584 * gdb.base/print-symbol-loading.exp: Likewise.
10585 * gdb.base/shlib-call.exp: Likewise.
10586 * gdb.base/shreloc.exp: Likewise.
10587 * gdb.base/so-impl-ld.exp: Likewise.
10588 * gdb.base/solib-disc.exp: Likewise.
10589 * gdb.base/solib-nodir.exp: Likewise.
10590 * gdb.base/solib-overlap.exp: Likewise.
10591 * gdb.base/solib-symbol.exp: Likewise.
10592 * gdb.base/solib-weak.exp (do_test): Likewise.
10593 * gdb.base/sym-file.exp: Likewise.
10594 * gdb.base/symtab-search-order.exp: Likewise.
10595 * gdb.base/type-opaque.exp: Likewise.
10596 * gdb.base/unload.exp: Likewise.
10597 * gdb.base/watchpoint-solib.exp: Likewise.
10598 * gdb.compile/compile.exp: Likewise.
10599 * gdb.cp/gdb2384.exp: Likewise.
10600 * gdb.cp/infcall-dlopen.exp: Likewise.
10601 * gdb.cp/re-set-overloaded.exp: Likewise.
10602 * gdb.fortran/library-module.exp: Likewise.
10603 * gdb.opt/solib-intra-step.exp: Likewise.
10604 * gdb.python/py-finish-breakpoint.exp: Likewise.
10605 * gdb.python/py-shared.exp: Likewise.
10606 * gdb.reverse/solib-precsave.exp: Likewise.
10607 * gdb.reverse/solib-reverse.exp: Likewise.
10608 * gdb.server/solib-list.exp: Likewise.
10609 * gdb.threads/dlopen-libpthread.exp: Likewise.
10610 * gdb.threads/tls-shared.exp: Likewise.
10611 * gdb.threads/tls-so_extern.exp: Likewise.
10612 * gdb.trace/change-loc.exp: Likewise.
10613 * gdb.trace/ftrace-lock.exp: Likewise.
10614 * gdb.trace/ftrace.exp: Likewise.
10615 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
10616 * gdb.trace/pending.exp: Likewise.
10617 * gdb.trace/range-stepping.exp: Likewise.
10618 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
10619 (strace_info_marker): Likewise.
10620 (strace_probe_marker): Likewise.
10621 (strace_trace_on_same_addr): Likewise.
10622 (strace_trace_on_diff_addr): Likewise.
10623 * gdb.trace/trace-break.exp: Likewise.
10624 * gdb.trace/trace-condition.exp: Likewise.
10625 * gdb.trace/trace-mt.exp: Likewise.
10626
fca4cfd9
SM
106272016-04-27 Simon Marchi <simon.marchi@ericsson.com>
10628
10629 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
10630 result of gdb_remote_download.
10631 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
10632 * gdb.base/dso2dso.exp: Likewise.
10633 * gdb.base/global-var-nested-by-dso.exp: Likewise.
10634 * gdb.base/print-file-var.exp: Likewise.
10635 * gdb.base/shlib-call.exp: Likewise.
10636 * gdb.base/shreloc.exp: Likewise.
10637 * gdb.base/solib-overlap.exp: Likewise.
10638 * gdb.base/solib-weak.exp (do_test): Likewise.
10639 * gdb.base/unload.exp: Likewise.
10640
11cf4ffb
YQ
106412016-04-27 Yao Qi <yao.qi@linaro.org>
10642
10643 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
10644 exists.
10645
3e2e34f8
KB
106462016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10647
10648 * vla-type.exp: Print structure from toplevel.
10649
8f07e298
BH
106502016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10651
10652 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
10653 of dynamic types.
10654 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
10655 of dynamic types.
10656
9920b434
BH
106572016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10658
10659 * gdb.fortran/vla-type.f90: New file.
10660 * gdb.fortran/vla-type.exp: New file.
10661
f3abeff5
YQ
106622016-04-25 Yao Qi <yao.qi@linaro.org>
10663
10664 * gdb.base/branch-to-self.c: New file.
10665 * gdb.base/branch-to-self.exp: New file.
10666
0a5d52f0
YQ
106672016-04-22 Yao Qi <yao.qi@linaro.org>
10668
10669 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
10670 more after $hex.
10671
495346f6
YQ
106722016-04-22 Yao Qi <yao.qi@linaro.org>
10673
10674 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
10675 * gdb.base/annota3.exp: Likewise.
10676
4a7e075c
YQ
106772016-04-22 Yao Qi <yao.qi@linaro.org>
10678
10679 * gdb.reverse/step-precsave.exp: Do one step and test program
10680 stops in "callee" and do multiple steps until program goes out
10681 of "callee".
10682 * gdb.reverse/step-reverse.exp: Likewise.
10683
5b061e98
YQ
106842016-04-22 Yao Qi <yao.qi@linaro.org>
10685
10686 * gdb.trace/signal.exp: Also pass if
10687 $tracepoint_hits($i) > $iterations.
10688
5c5dc57f
YQ
106892016-04-22 Yao Qi <yao.qi@linaro.org>
10690
10691 * gdb.trace/signal.c: New file.
10692 * gdb.trace/signal.exp: New file.
10693
a55411b9
DE
106942016-04-19 Doug Evans <xdje42@gmail.com>
10695
10696 * gdb.base/bad-file.exp: New file.
10697
a22df60a
MG
106982016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
10699
10700 * gdb.dwarf2/implref.exp: New file.
10701
0c13f7e5
BH
107022016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
10703
10704 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
10705 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
10706 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
10707 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
10708 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
10709 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
10710 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
10711 * lib/fortran.exp (fortran_int4): New procedure.
10712 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
10713 (fortran_logical4): Likewise.
10714
9b9b09e9
BH
107152016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
10716
10717 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
10718
a14d1f4d
BH
107192016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
10720
10721 * lib/compiler.c: Add Intel specific preprocessor macros.
10722 * lib/compiler.cc: Likewise.
25d49b86 10723
7d49b1d0
LM
107242016-04-13 Luis Machado <lgustavo@codesourcery.com>
10725
10726 * gdb.server/connect-with-no-symbol-file.c: New file.
10727 * gdb.server/connect-with-no-symbol-file.exp: New file.
10728
8392fa22
SM
107292016-04-13 Simon Marchi <simon.marchi@ericsson.com>
10730
10731 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
10732
8c4c4aeb
SM
107332016-04-13 Simon Marchi <simon.marchi@ericsson.com>
10734
10735 * boards/gdbserver-base.exp (${board}_download): Copy source file to
10736 standard output directory.
10737
45e3745e
AT
107382016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
10739
10740 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
10741
e26b7e41
MM
107422016-04-13 Markus Metzger <markus.t.metzger@intel.com>
10743
10744 * gdb.btrace/instruction_history.c (loop): Add declaration.
10745
8ce09462
AT
107462016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
10747
10748 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
10749
2e88a1ea
SM
107502016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
10751
10752 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
10753 parentheses to print.
10754 (continue_handler): Likewise.
10755
f48e22e3
SM
107562016-04-08 Simon Marchi <simon.marchi@ericsson.com>
10757
10758 * gdb.server/solib-list.exp: Remove is_remote check.
10759 Pass shlib= to gdb_compile. Don't link shared library with
10760 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
10761 Run binary filename through "readlink -f" on the target.
10762
096be756
PA
107632016-04-08 Pedro Alves <palves@redhat.com>
10764
10765 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
10766 interpreter filename as argument to gdbserver_spawn.
10767 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
10768 Return empty if $last_loaded_file does not exist.
10769
06500533
JK
107702016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10771
10772 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
10773 * gdb.base/jit-main.c: Use exit after usage.
10774
2d35e871
JK
107752016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10776
10777 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
10778 GDBHISTSIZE prior to the tests.
10779 * gdb.base/gdbinit-history.exp: Likewise.
10780
107812016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
10782
10783 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
10784 instead of build_executable. Use gdb_load_shlibs.
10785
c8064e7e
YQ
107862016-04-07 Yao Qi <yao.qi@linaro.org>
10787
10788 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
10789 Execute "si" command.
10790
bde47561
YQ
107912016-04-07 Yao Qi <yao.qi@linaro.org>
10792
10793 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
10794 number instead of the comments on some line.
10795
b16f8a3b
DB
107962016-04-06 Don Breazeal <donb@codesourcery.com>
10797
10798 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
10799 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
10800
c2f901df
SM
108012016-04-06 Simon Marchi <simon.marchi@ericsson.com>
10802
10803 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
10804 standard_output_file. Remove unused binfile variable.
10805
ac17fda0
CU
108062016-04-05 Catalin Udma <catalin.udma@freescale.com>
10807
10808 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
10809 * gdb.python/py-mi-objfile.exp: Match "list main" output
10810 in console format.
10811
03a8c4df
SM
108122016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
10813
10814 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
10815 absolute.
10816
6e774b13
SM
108172016-04-05 Simon Marchi <simon.marchi@ericsson.com>
10818
10819 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
10820 absolute.
10821 * gdb.trace/ftrace.exp: Likewise.
10822 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
10823 targets as well.
10824 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
10825 (gdb_load_shlibs): Copy libraries to test directory when testing
10826 natively. Only set solib-search-path if testing remotely.
10827 * lib/mi-support.exp (mi_load_shlibs): Likewise.
10828
7817ea46
SM
108292016-04-05 Simon Marchi <simon.marchi@ericsson.com>
10830
10831 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
10832 gdb_download. Use it even if the target is not remote.
10833 * gdb.base/jit.exp (compile_jit_test): Likewise.
10834 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
10835 output directory if the destination board is local, otherwise use
10836 the standard remote_download from DejaGnu.
10837 (gdb_download): Remove.
10838 (gdb_load_shlibs): Use gdb_remote_download instead of
10839 gdb_download.
10840 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
10841 Use gdb_remote_download instead of gdb_download. Use it even if
10842 the target is not remote.
10843 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
10844 instead of gdb_download.
10845
7beb7f68
SM
108462016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
10847
10848 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
10849 (test_insert_delete_modify): Call mi_load_shlibs before trying to
10850 run.
10851
cc63428a
AV
108522016-04-01 Artemiy Volkov <artemiyv@acm.org>
10853
10854 PR gdb/19820
10855 * gdb.base/printcmds.exp: Add artificial arrays tests.
10856
64cdf930
PA
108572016-03-31 Pedro Alves <palves@redhat.com>
10858
10859 PR gdb/19858
10860 * gdb.base/jit-main.c: Include unistd.h.
10861 (ATTACH): Define to 0 if not already defined.
10862 (wait_for_gdb, mypid): New globals.
10863 (WAIT_FOR_GDB): New macro.
10864 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
10865 some breakpoint locations.
10866 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
10867 New procedures.
10868 (one_jit_test): Add REATTACH parameter, and handle it. Use
10869 continue_to_test_location.
10870 (top level): Test attach, and adjusts calls to one_jit_test.
10871
40dea8cb
PA
108722016-03-31 Pedro Alves <palves@redhat.com>
10873
10874 PR gdb/19858
10875 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
10876 BINSUFFIX parameter, and handle it.
10877 (top level): Adjust calls compile_jit_test.
10878
e7ea3ec7
CU
108792016-03-31 Catalin Udma <catalin.udma@freescale.com>
10880
10881 PR python/19743
10882 * gdb.python/py-mi-events-gdb.py: New file.
10883 * gdb.python/py-mi-events.c: New file.
10884 * gdb.python/py-mi-events.exp: New file.
10885
e6359af3
YQ
108862016-03-30 Yao Qi <yao.qi@linaro.org>
10887
10888 * gdb.reverse/until-precsave.exp: Match function name only.
10889 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
10890 Move malloc to a condition block.
10891 * gdb.reverse/until-reverse.exp: Match function name only.
10892
a4105d04
MK
108932016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
10894
10895 * gdb.trace/ftrace.exp: Set arg0exp for s390.
10896 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
10897 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
10898 variable for GPR 0 instead of assuming it is register 0.
10899 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
10900 * lib/trace-support.exp: Add s390 registers.
10901
bfa6adb9
YQ
109022016-03-29 Yao Qi <yao.qi@linaro.org>
10903
10904 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
10905
1e6697ea
YQ
109062016-03-24 Yao Qi <yao.qi@linaro.org>
10907
10908 * gdb.reverse/break-reverse.exp: Add quotation mark in the
10909 test message.
10910
64bcd522
AA
109112016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10912
10913 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
10914 maintaining separate logic for constructing the output path.
10915
7868401b
DB
109162016-03-16 Don Breazeal <donb@codesourcery.com>
10917
10918 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
10919 Retry fork and waitpid on interrupted system call errors.
10920 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10921 Use with_timeout_factor to increase timeout by factor of 10.
10922
1cafadb4
DB
109232016-03-15 Don Breazeal <donb@codesourcery.com>
10924
10925 * gdb.cp/scope-err.cc: New test program.
10926 * gdb.cp/scope-err.exp: New test script.
10927 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
10928 lines and "set breakpoint here" comment.
10929 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
10930 Fixed some whitespace and format issues.
10931 * gdb.mi/mi-linespec-err-cp.cc: New test program.
10932 * gdb.mi/mi-linespec-err-cp.exp: New test script.
10933
81516450
DE
109342016-03-15 Doug Evans <dje@google.com>
10935
10936 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
10937 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
10938 All callers updated. Add tests for enums, mixed flags register.
10939
aa52b601
DE
109402016-03-15 Doug Evans <dje@google.com>
10941
10942 * gdb.base/skip.c (main): Call test_skip_file_and_function.
10943 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
10944
fa4ff313
SM
109452016-03-14 Simon Marchi <simon.marchi@ericsson.com>
10946
10947 * gdb.base/default.exp: Add $_as_string to the list of expected
10948 convenience functions.
10949
f2403c39
AB
109502016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
10951
10952 * gdb.base/maint.exp: New tests for 'maint info line-table'.
10953
f2f3ccb9
SM
109542016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
10955
10956 * gdb.python/py-as-string.exp: New file.
10957 * gdb.python/py-as-string.c: New file.
10958
00dbd492
PA
109592016-03-09 Pedro Alves <palves@redhat.com>
10960
10961 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
10962 signal" -> "Thread NN received signal" output change.
10963 * gdb.threads/ia64-sigill.exp: Likewise.
10964 * gdb.threads/linux-dp.exp: Likewise.
10965 * gdb.threads/manythreads.exp: Likewise.
10966 * gdb.threads/pending-step.exp: Likewise.
10967 * gdb.threads/print-threads.exp: Likewise.
10968 * gdb.threads/sigstep-threads.exp: Likewise.
10969 * gdb.threads/staticthreads.exp: Likewise.
10970 * gdb.threads/tls.exp: Likewise.
10971
1e6697ea
YQ
109722016-03-09 Pedro Alves <palves@redhat.com>
10973
10974 * gdb.base/command-line-input.exp: New file.
10975
b04fd3be
MK
109762016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10977
10978 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
10979 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
10980 * gdb.trace/pending.exp: Accept leading dot before function name.
10981 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
10982 * lib/trace-support.exp: Set registers for ppc.
10983
98fa59e9
MK
109842016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10985
10986 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
10987 use it for disassembly; accept .main in addition to main in backtrace.
10988
f77198c8
MK
109892016-03-09 Wei-cheng Wang <cole945@gmail.com>
10990 Marcin Kościelnicki <koriakin@0x04.net>
10991
10992 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
10993 (gdb_recursion_test_ptr): New global variable.
10994 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
10995 gdb_recursion_test.
10996 (gdb_c_test): Ditto.
10997
ba84e0da
MK
109982016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10999
11000 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
11001 ordering.
11002
4366d36e
MK
110032016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11004
11005 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
11006 (bar): Add bar_start_lbl label.
11007 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
11008 of foo/bar for emitting DWARF and tracing.
11009
5eb264df
SDJ
110102016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
11011
11012 * analyze-racy-logs.py: Set executable bit.
11013
fb6a751f
SDJ
110142016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
11015
11016 * Makefile.in (DEFAULT_RACY_ITER): New variable.
11017 (CHECK_TARGET_TMP): Likewise.
11018 (check-single-racy): New rule.
11019 (check-parallel-racy): Likewise.
11020 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
11021 (do-check-parallel-racy): New rule.
11022 (check-racy/%.exp): Likewise.
11023 * README (Racy testcases): New section.
11024 * analyze-racy-logs.py: New file.
11025
bdf7e230
DE
110262016-03-03 Doug Evans <dje@google.com>
11027
11028 * gdb.base/skip.exp: Use with_test_prefix.
11029
4719d415
YQ
110302016-03-03 Yao Qi <yao.qi@linaro.org>
11031
11032 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
11033 Invoke step_over_syscall "clone" and break_cond_on_syscall
11034 "clone".
11035 * gdb.base/step-over-clone.c: New file.
11036
ea507862
YQ
110372016-03-03 Yao Qi <yao.qi@linaro.org>
11038
11039 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
11040 code format.
11041
8fc8cbda
YQ
110422016-03-03 Yao Qi <yao.qi@linaro.org>
11043
11044 * gdb.base/disp-step-fork.c: Rename to ...
11045 * gdb.base/step-over-fork.c: ... it. New file.
11046 * gdb.base/disp-step-vfork.c: Rename to ...
11047 * gdb.base/step-over-vfork.c: ... it. New file.
11048 * gdb.base/disp-step-syscall.exp: Rename to ...
11049 * gdb.base/step-over-syscall.exp: ... it. New file.
11050 (disp_step_cross_syscall): Rename to ...
11051 (step_over_syscall): ... it.
11052
92fa70b0
YQ
110532016-03-03 Yao Qi <yao.qi@linaro.org>
11054
11055 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
11056 If target supports condition evaluation on target, invoke
11057 break_cond_on_syscall for fork and vfork.
11058
e197ad3c
YQ
110592016-03-03 Yao Qi <yao.qi@linaro.org>
11060
11061 * gdb.base/disp-step-syscall.exp: Don't invoke
11062 support_displaced_stepping.
11063 (disp_step_cross_syscall): Test with displaced stepping off and
11064 on if supported.
11065
0b47da9f
YQ
110662016-03-03 Yao Qi <yao.qi@linaro.org>
11067
11068 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
11069 proc.
11070 (setup): New proc.
11071 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
11072 and setup.
11073
065ab6dc
BH
110742016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11075
11076 * gdb.fortran/vla-history.exp: Remove breakpoint.
11077
07e448ad 110782016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11079
25d49b86
PA
11080 * gdb.fortran/vla-history.exp: Lookup array elements and printing
11081 exceeds timeout.
07e448ad 11082
9ac2d526 110832016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11084
25d49b86
PA
11085 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
11086 breakpoint.
9ac2d526 11087
17807369
BH
110882016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11089
11090 * gdb.mi/vla.f90: Nullify pointer after declaration.
11091
86e501af
PA
110922016-03-01 Pedro Alves <palves@redhat.com>
11093
11094 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
11095
1e903e32
PA
110962016-03-01 Pedro Alves <palves@redhat.com>
11097
11098 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
11099 before anything else.
11100 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
11101 _GNU_SOURCE here.
11102 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
11103 before anything else.
11104 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
11105
6ccb54e2
PA
111062016-03-01 Pedro Alves <palves@redhat.com>
11107
11108 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
11109
30ca9da1
YQ
111102016-03-01 Yao Qi <yao.qi@linaro.org>
11111
11112 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
11113 prepare_for_testing.
11114
dc856b38
YQ
111152016-03-01 Yao Qi <yao.qi@linaro.org>
11116
11117 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
11118
4a932159
AA
111192016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
11120
11121 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
11122 manually constructing the output path.
11123
f2489477
AA
111242016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
11125
11126 * gdb.arch/s390-stackless.S: New.
11127 * gdb.arch/s390-stackless.exp: New.
11128
38899f16
IB
111292016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
11130
11131 * gdb.dlang/circular.c: New file.
11132 * gdb.dlang/circular.exp: New file.
11133
9fde51ed
YQ
111342016-02-26 Yao Qi <yao.qi@linaro.org>
11135
11136 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
11137 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
11138 (testcases): Update.
11139
ce90fefe
YQ
111402016-02-26 Yao Qi <yao.qi@linaro.org>
11141
11142 * gdb.reverse/aarch64.c: Rename to ...
11143 * gdb.reverse/insn-reverse.c: ... it.
11144 * gdb.reverse/aarch64.exp: Rename to ...
11145 * gdb.reverse/insn-reverse.exp: ... it.
11146
3263bceb
YQ
111472016-02-26 Yao Qi <yao.qi@linaro.org>
11148
11149 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
11150 (testcase_ftype): New.
11151 (testcases): New array.
11152 (n_testcases): New.
11153 (main): Call each element in testcases.
11154 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
11155 (read_testcase): New.
11156 Do the tests in a loop.
11157
6cb59ff1
YQ
111582016-02-25 Yao Qi <yao.qi@linaro.org>
11159
11160 * gdb.base/branches.c: Remove.
11161
ae91f625
MK
111622016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11163
11164 PR gdb/13808
11165 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
11166
678b48b7
MK
111672016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11168
11169 * gdb.trace/ftrace.exp: Remove unnecessary target check.
11170
7337a6f2
MK
111712016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11172
11173 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
11174 change x86_64 call_insn to 'callq'.
11175
861ca91f
AT
111762016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
11177
11178 * gdb.trace/tfile-avx.c: Move to...
11179 * gdb.trace/tracefile-pseudo-reg.c: Here.
11180 * gdb.trace/tfile-avx.exp: Move to...
11181 * gdb.trace/tracefile-pseudo-reg.exp: Here.
11182
bf74e428
GB
111832016-02-24 Gary Benson <gbenson@redhat.com>
11184
11185 * gdb.base/attach-pie-noexec.exp: Do not expect an error
11186 message on attach.
11187
cce0e923
DE
111882016-02-23 Doug Evans <dje@google.com>
11189
11190 * gdb.base/skip.c (test_skip): New function.
11191 (end_test_skip_file_and_function): New function.
11192 (test_skip_file_and_function): New function.
11193 * gdb.base/skip1.c (test_skip): New function.
11194 (skip1_test_skip_file_and_function): New function.
11195 * gdb.base/skip.exp: Add tests for new skip options.
11196 * gdb.base/skip-solib.exp: Update expected output.
11197 * gdb.perf/skip-command.cc: New file.
11198 * gdb.perf/skip-command.exp: New file.
11199 * gdb.perf/skip-command.py: New file.
11200
4000e47e
MK
112012016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
11202
11203 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
11204 info registers pattern.
11205
24f75ead
IB
112062016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
11207
11208 * lib/future.exp: Add D support.
11209 (gdb_find_gdc): New proc.
11210 (gdb_default_target_compile): Add D support.
11211
fbb7bcbe
WW
112122016-02-18 Wei-cheng Wang <cole945@gmail.com>
11213
11214 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
11215 user+system time.
11216 (trace_speed_test): Determine the iteration count for a time
11217 between 15..30 seconds.
11218
012b3a21
WT
112192016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
11220
11221 * gdb.arch/i386-mpx-sigsegv.c: New file.
11222 * gdb.arch/i386-mpx-sigsegv.exp: New file.
11223 * gdb.arch/i386-mpx-simple_segv.c: New file.
11224 * gdb.arch/i386-mpx-simple_segv.exp: New file.
11225
2d5189bd
YQ
112262016-02-18 Yao Qi <yao.qi@linaro.org>
11227
11228 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
11229 Don't call setup_kfail.
11230
40fb20d0
YQ
112312016-02-18 Yao Qi <yao.qi@linaro.org>
11232
11233 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
11234 Set "set breakpoint condition-evaluation" per $cond_bp_target.
11235
21b1f8d2
DE
112362016-02-16 Doug Evans <dje@google.com>
11237
11238 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
11239 * gdb.base/skip1.c: Ditto.
11240 * gdb.base/skip.exp: Whitespace cleanup.
11241
4041ed77
DB
112422016-02-16 Don Breazeal <donb@codesourcery.com>
11243
11244 PR remote/19496
11245 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
11246 Remove kfail for PR remote/19496.
11247
c4ef31bf
SM
112482016-02-16 Simon Marchi <simon.marchi@ericsson.com>
11249
11250 * lib/gdb.exp (standard_temp_file): Return a path specific to
11251 the runtest invocation.
11252
266b65b3
SM
112532016-02-16 Simon Marchi <simon.marchi@ericsson.com>
11254
11255 * gdb.trace/save-trace.exp: Change relative path to be in the
11256 standard output directory.
11257
a7a0a6a9
JK
112582016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11259
11260 * gdb.arch/i386-prologue.c: Add missing prototypes.
11261
c99dbb42
JK
112622016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11263
11264 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
11265 * gdb.arch/i386-prologue.exp: Likewise.
11266 * gdb.arch/i386-size.exp: Likewise.
11267
aa480355
SM
112682016-02-15 Simon Marchi <simon.marchi@ericsson.com>
11269
11270 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
11271 define object file path.
11272 * gdb.btrace/gcore.exp: Use standard_output_file to define core
11273 file path.
11274 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
11275 standard_output_file to define binfile.
11276
ba881f50
JK
112772016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11278
11279 Fix compatibility with recent gfortran-5.3.1.
11280 * gdb.fortran/vla-history.exp (print vla1 allocated)
11281 (print vla2 allocated, print $2, print $3): Remove
11282 (print $4): Rename to ...
11283 (print $2): ... here.
11284 (print $9): Rename to ...
11285 (print $5): ... here.
11286 (print $10): Rename to ...
11287 (print $6): ... here.
11288 * gdb.fortran/vla.f90: Add pvla initialization.
11289
e9fb005c
JK
112902016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11291
11292 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
11293 New test.
11294 * gdb.fortran/vla-value-sub.exp: Likewise.
11295
e44e00ff
MK
112962016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
11297
11298 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
11299
97e94151
SM
113002016-02-12 Simon Marchi <simon.marchi@ericsson.com>
11301
11302 * i386-biarch-core.exp: Define corefile using
11303 standard_output_file.
11304
01113bc1
YQ
113052016-02-12 Yao Qi <yao.qi@linaro.org>
11306
11307 * gdb.arch/arm-single-step-kernel-helper.c: New.
11308 * gdb.arch/arm-single-step-kernel-helper.exp: New.
11309
33b4777c
MM
113102016-02-12 Markus Metzger <markus.t.metzger@intel.com>
11311
11312 * gdb.btrace/tailcall-only.exp: New.
11313 * gdb.btrace/tailcall-only.c: New.
11314 * gdb.btrace/x86_64-tailcall-only.S: New.
11315 * gdb.btrace/i686-tailcall-only.S: New.
11316
acc23c11
PA
113172016-02-11 Pedro Alves <palves@redhat.com>
11318
11319 * README (Parallel testing): Add missing double quotes.
11320
e352bf0a
PA
113212016-02-11 Pedro Alves <palves@redhat.com>
11322
11323 * README (Parallel testing): New section.
11324 (GDB_PARALLEL): Rewrite.
11325 (FORCE_PARALLEL): Document.
11326
9f5fed78
MK
113272016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
11328
11329 * gdb.trace/tfile-avx.c: New test.
11330 * gdb.trace/tfile-avx.exp: New test.
11331
9ef9e6a6
KS
113322016-02-09 Keith Seitz <keiths@redhat.com>
11333
11334 PR breakpoints/19546
11335 * gdb.base/infcall-exec.c: New file.
11336 * gdb.base/infcall-exec2.c: New file.
11337 * gdb.base/infcall-exec.exp: New file.
11338
a96e36da
KS
113392016-02-09 Keith Seitz <keiths@redhat.com>
11340
11341 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
11342 (toplevel): Call test_bkpt_address.
11343
9f61929f
KS
113442016-02-09 Keith Seitz <keiths@redhat.com>
11345
11346 PR python/19506
11347 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
11348 (toplevel): Call test_bkpt_address.
11349
1e94266c
SM
113502016-02-09 Simon Marchi <simon.marchi@ericsson.com>
11351
11352 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
11353 to AC_OUTPUT.
11354 * configure: Regenerate.
11355
2a7f3dff
PA
113562016-02-09 Pedro Alves <palves@redhat.com>
11357
11358 PR breakpoints/19548
11359 * gdb.base/execl-update-breakpoints.c (some_function): New
11360 function.
11361 (main): Call it.
11362 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
11363 Tighten expected GDB output.
11364
2151ccc5
SM
113652016-02-08 Simon Marchi <simon.marchi@ericsson.com>
11366
11367 * Makefile.in (ALL_SUBDIRS): Remove.
11368 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
11369 (distclean maintainer-clean realclean): Likewise.
11370 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
11371 * configure: Regenerate.
11372 * gdb.ada/Makefile.in: Delete.
11373 * gdb.arch/Makefile.in: Likewise.
11374 * gdb.asm/Makefile.in: Likewise.
11375 * gdb.base/Makefile.in: Likewise.
11376 * gdb.btrace/Makefile.in: Likewise.
11377 * gdb.cell/Makefile.in: Likewise.
11378 * gdb.compile/Makefile.in: Likewise.
11379 * gdb.cp/Makefile.in: Likewise.
11380 * gdb.disasm/Makefile.in: Likewise.
11381 * gdb.dlang/Makefile.in: Likewise.
11382 * gdb.dwarf2/Makefile.in: Likewise.
11383 * gdb.fortran/Makefile.in: Likewise.
11384 * gdb.gdb/Makefile.in: Likewise.
11385 * gdb.go/Makefile.in: Likewise.
11386 * gdb.guile/Makefile.in: Likewise.
11387 * gdb.java/Makefile.in: Likewise.
11388 * gdb.linespec/Makefile.in: Likewise.
11389 * gdb.mi/Makefile.in: Likewise.
11390 * gdb.modula2/Makefile.in: Likewise.
11391 * gdb.multi/Makefile.in: Likewise.
11392 * gdb.objc/Makefile.in: Likewise.
11393 * gdb.opencl/Makefile.in: Likewise.
11394 * gdb.opt/Makefile.in: Likewise.
11395 * gdb.pascal/Makefile.in: Likewise.
11396 * gdb.perf/Makefile.in: Likewise.
11397 * gdb.python/Makefile.in: Likewise.
11398 * gdb.reverse/Makefile.in: Likewise.
11399 * gdb.server/Makefile.in: Likewise.
11400 * gdb.stabs/Makefile.in: Likewise.
11401 * gdb.threads/Makefile.in: Likewise.
11402 * gdb.trace/Makefile.in: Likewise.
11403 * gdb.xml/Makefile.in: Likewise.
11404 * lib/gdb.exp (make_gdb_parallel_path): Add check for
11405 GDB_PARALLEL.
11406 (standard_output_file): Remove check for GDB_PARALLEL, always
11407 return path in outputs/$subdir/$testname.
11408
437277d4
SM
114092016-02-08 Simon Marchi <simon.marchi@ericsson.com>
11410
11411 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
11412 (site.exp): Assign abs_srcdir to tcl's srcdir.
11413
31d913c7
YQ
114142016-02-04 Yao Qi <yao.qi@linaro.org>
11415
11416 * gdb.base/foll-exec-mode.c: Include limits.h.
11417 (main): Add parameters argc and argv. Get directory from
11418 argv[0].
11419 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
11420 compilation.
11421 * gdb.base/foll-exec.c: Include limits.h.
11422 (main): Add parameters argc and argv.
11423 Get directory from argv[0].
11424 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
11425 Adjust tests on the number of lines as source code changed.
11426 * gdb.base/foll-vfork-exit.c: Include limits.h.
11427 (main): Add one line of statement before vfork.
11428 * gdb.base/foll-vfork.c: Include limits.h and string.h.
11429 (main): Add parameters argc and argv. Get directory from
11430 argv[0].
11431 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
11432 (setup_gdb): Set tbreak to skip some source lines.
11433 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
11434 (main): Add parameters argc and argv. Get directory from
11435 argv[0].
11436 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
11437 compilation.
11438 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
11439 (main): Add parameters argc and argv. Get directory from
11440 argv[0].
11441 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
11442 compilation.
11443
9482b9fb
DE
114442016-02-01 Doug Evans <dje@google.com>
11445
11446 * gdb.base/skip.exp: Clean up multiple references to same test name.
11447
6b2e4f10
PA
114482016-02-01 Pedro Alves <palves@redhat.com>
11449
ccb6afd6 11450 PR remote/19496
6b2e4f10
PA
11451 * gdb.threads/forking-threads-plus-breakpoint.exp
11452 (displaced_stepping_supported): New global.
11453 (probe_displaced_stepping_support): New procedure.
11454 (do_test): Add 'displaced' parameter, and use it.
11455 (top level): Check for displaced stepping support. Add displaced
11456 stepping on/off testing axis.
11457
37a8db1a
AB
114582016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
11459
11460 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
11461 pointer. Don't perform further tests on the unassociated pointer
11462 if the first test fails.
11463
5fdf6324
AB
114642016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
11465
11466 * gdb.base/max-value-size.c: New file.
11467 * gdb.base/max-value-size.exp: New file.
11468 * gdb.base/huge.exp: Disable max-value-size for this test.
11469
935c6144
IB
114702016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
11471
11472 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
11473
7fe8399d
YQ
114742016-01-28 Yao Qi <yao.qi@linaro.org>
11475
11476 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
11477
a2077e25
PA
114782016-01-25 Pedro Alves <palves@redhat.com>
11479
11480 PR threads/19461
11481 * gdb.base/fork-running-state.c: New file.
11482 * gdb.base/fork-running-state.exp: New file.
11483
1d2736d4
PA
114842016-01-25 Pedro Alves <palves@redhat.com>
11485
11486 PR gdb/19494
11487 * gdb.base/catch-fork-kill.c: New file.
11488 * gdb.base/catch-fork-kill.exp: New file.
11489
f1da4b11
PA
114902016-01-25 Pedro Alves <palves@redhat.com>
11491
11492 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
11493 Delete, moved to lib/gdb.exp.
11494 * gdb.threads/forking-threads-plus-breakpoint.exp
11495 (foreach_with_prefix): Likewise.
11496 * gdb.threads/process-dies-while-handling-bp.exp
11497 (foreach_with_prefix): Likewise.
11498 * lib/gdb.exp (foreach_with_prefix): New procedure.
11499
45f38546
MK
115002016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
11501
11502 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
11503 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
11504
dc29a1ce
MK
115052016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
11506
11507 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
11508 endian targets.
11509
092127d7
JK
115102016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11511 Pedro Alves <palves@redhat.com>
11512
11513 Fix testsuite compatibility with Guile.
11514 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
11515 number.
11516
31d765d3
JK
115172016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11518
11519 Fix testsuite compatibility with Guile.
11520 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
11521 (thread 1): New test for backtrace through signal handler.
11522
1ac78c04
YQ
115232016-01-22 Yao Qi <yao.qi@linaro.org>
11524
11525 PR testsuite/19491
11526 * gdb.base/multi-forks.c: Include
11527 ../lib/unbuffer_output.c
11528 (main): Call gdb_unbuffer_output.
11529
4f5946a8
DE
115302016-01-21 Doug Evans <dje@google.com>
11531
11532 * lib/ada.exp (gdb_compile_ada): Fix typo.
11533
305e13e6
JB
115342016-01-21 Joel Brobecker <brobecker@adacore.com>
11535
11536 * gdb.base/break-fun-addr.exp: New file.
11537 * gdb.base/break-fun-addr1.c: New file.
11538 * gdb.base/break-fun-addr2.c: New file.
11539
5f5dfff6
SM
115402016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
11541
11542 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
11543 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
11544 enum flag values.
11545
fd356fa2
AA
115462016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11547
11548 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
11549 when GDB can not set the vector return value. Add more comments
11550 for clarification.
11551
9df22175
AT
115522016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
11553
11554 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
11555 command.
11556
41d1845e
SM
115572016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11558
11559 * Makefile.in (DO_RUNTEST): Add --status and update usages.
11560
01ac6840
SM
115612016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11562
11563 * Makefile.in (check-single): Pass --status to runtest.
11564 (check/%.exp): Likewise.
11565
115662016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11567
11568 * Makefile.in (check-parallel): Propagate return code from make
11569 do-check-parallel.
11570
bd0a71fa
MK
115712016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
11572
11573 * gdb.trace/ftrace.exp: Fix expected message on continue.
11574 * gdb.trace/pending.exp: Fix expected message on continue.
11575 * gdb.trace/trace-break.exp: Fix expected message on continue.
11576
8bcbad33
SM
115772016-01-18 Simon Marchi <simon.marchi@ericsson.com>
11578
11579 * lib/gdb.exp (gdb_test): Remove unused global references.
11580
f303dbd6
PA
115812016-01-18 Pedro Alves <palves@redhat.com>
11582
11583 * gdb.base/async-shell.exp: Adjust expected output.
11584 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
11585 * gdb.base/siginfo-thread.exp: Adjust expected output.
11586 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
11587 * gdb.java/jnpe.exp: Adjust expected output.
11588 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
11589 * gdb.threads/continue-pending-status.exp: Adjust expected output.
11590 * gdb.threads/leader-exit.exp: Adjust expected output.
11591 * gdb.threads/manythreads.exp: Adjust expected output.
11592 * gdb.threads/pthreads.exp: Adjust expected output.
11593 * gdb.threads/schedlock.exp: Adjust expected output.
11594 * gdb.threads/siginfo-threads.exp: Adjust expected output.
11595 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
11596 expected output.
11597 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
11598 output.
11599 * gdb.threads/sigthread.exp: Adjust expected output.
11600 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
11601
b2789696
YQ
116022016-01-18 Yao Qi <yao.qi@linaro.org>
11603
11604 * gdb.guile/scm-section-script.c: Replace @progbits with
11605 %progbits.
11606 * gdb.python/py-section-script.c: Likewise.
11607
71ef29a8
PA
116082016-01-15 Pedro Alves <palves@redhat.com>
11609
11610 * gdb.multi/tids.exp: Test star wildcard ranges.
11611
3f5b7598
PA
116122016-01-15 Pedro Alves <palves@redhat.com>
11613
11614 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
11615 command from "thread apply" invocation.
11616 (thr_apply_info_thr_invalid): Default the expected output to the
11617 input tid list.
11618 (top level): Add tests that use convenience variables. Add tests
11619 for "thread apply" with a valid TID list, but missing the command.
11620
663f6d42
PA
116212016-01-13 Pedro Alves <palves@redhat.com>
11622
11623 * gdb.base/default.exp: Expect $_gthread as well.
11624 * gdb.multi/tids.exp: Test $_gthread.
11625 * gdb.threads/thread-specific.exp: Test $_gthread.
11626
c84f6bbf
PA
116272016-01-13 Pedro Alves <palves@redhat.com>
11628
11629 * gdb.multi/tids.exp: Test "info threads -gid".
11630
22a02324
PA
116312016-01-13 Pedro Alves <palves@redhat.com>
11632
11633 * gdb.multi/tids.exp: Test InferiorThread.global_num and
11634 Breakpoint.thread.
11635 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
11636
5d5658a1
PA
116372016-01-07 Pedro Alves <palves@redhat.com>
11638
11639 * gdb.base/break.exp: Adjust to output changes.
11640 * gdb.base/hbreak2.exp: Likewise.
11641 * gdb.base/sepdebug.exp: Likewise.
11642 * gdb.base/watch_thread_num.exp: Likewise.
11643 * gdb.linespec/keywords.exp: Likewise.
11644 * gdb.multi/info-threads.exp: Likewise.
11645 * gdb.threads/thread-find.exp: Likewise.
11646 * gdb.multi/tids.c: New file.
11647 * gdb.multi/tids.exp: New file.
11648
84654457
PA
116492016-01-13 Pedro Alves <palves@redhat.com>
11650
11651 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
11652
e3940304
PA
116532016-01-13 Pedro Alves <palves@redhat.com>
11654
11655 * gdb.base/default.exp: Expect $_inferior as well.
11656 * gdb.multi/base.exp: Test $_inferior.
11657
a911d87a
PA
116582016-01-13 Pedro Alves <palves@redhat.com>
11659
11660 PR breakpoints/19388
11661 * gdb.base/catch-signal-siginfo-cond.c: New file.
11662 * gdb.base/catch-signal-siginfo-cond.exp: New file.
11663
82075af2
JS
116642016-01-12 Josh Stone <jistone@redhat.com>
11665 Philippe Waroquiers <philippe.waroquiers@skynet.be>
11666
11667 * gdb.base/catch-syscall.c (do_execve): New variable.
11668 (main): Conditionally trigger an execve.
11669 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
11670 (test_catch_syscall_execve): New, check entry/return across execve.
11671 (do_syscall_tests): Call test_catch_syscall_execve.
11672
e46eeedd
PA
116732016-01-12 Pedro Alves <palves@redhat.com>
11674
11675 * gdb.base/random-signal.exp (do_test): New procedure, with body
11676 of testcase moved in.
11677
01d8c27e
JK
116782016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11679 Pedro Alves <palves@redhat.com>
11680
11681 * gdb.base/funcargs.exp (finish from indirectly called function):
11682 Reintroduce the case for 'First'.
11683
9a706302
JK
116842016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11685 Pedro Alves <palves@redhat.com>
11686
11687 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
11688 (tcatch_vfork_then_child_follow_exec)
11689 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
11690 identification.
11691
c0ecb95f
JK
116922016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11693
11694 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
11695 and repeats to unlimited.
11696 * gdb.python/py-value.exp: Likewise.
11697 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
11698 and repeats to unlimited.
11699
6cfc1fcb
JK
117002016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11701
11702 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
11703 and reordering the functions.
11704 * gdb.multi/hangout.c: Likewise.
11705 * gdb.multi/hello.c: Likewise.
11706
582a1b00
SM
117072016-01-08 Simon Marchi <simon.marchi@ericsson.com>
11708
11709 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
11710 absolute.
11711 (SingleStatisticTestResult.report): Use dict.keys instead of
11712 dict.iterkeys.
11713
79bc59cb
PA
117142016-01-06 Pedro Alves <palves@redhat.com>
11715
11716 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
11717
43368e1d
MM
117182016-01-04 Markus Metzger <markus.t.metzger@intel.com>
11719
11720 * gdb.btrace/dlopen.exp: New.
11721 * gdb.btrace/dlopen.c: New.
11722 * gdb.btrace/dlopen-dso.c: New.
11723
79fad5b8
SL
117242015-12-25 Sandra Loosemore <sandra@codesourcery.com>
11725
11726 * lib/gdb.exp (gdb_test): Update comments to clarify that the
11727 PATTERN argument is optional.
11728
ab8314b3
JB
117292015-12-24 Joel Brobecker <brobecker@adacore.com>
11730
11731 * lib/ada.exp (target_compile_ada_from_dir): New function.
11732 (gdb_compile_ada): Reimplement avoiding the use of project files.
11733 * gdb.ada/gnat_ada.gpr: Delete.
11734 * gdb.ada/cond_lang.exp: Adjust test to make path before
11735 filename optional.
11736 * gdb.ada/small_reg_param.exp: Likewise.
11737
fe33faff
SM
117382015-12-22 Simon Marchi <simon.marchi@ericsson.com>
11739
11740 * gdb.base/foll-vork.exp: Remove HP-UX special case.
11741
6d265cb4
TP
117422015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
11743
11744 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
11745 case.
11746
10125099
SM
117472015-12-21 Simon Marchi <simon.marchi@ericsson.com>
11748
11749 * gdb.base/break.exp: Remove dead code.
11750 * gdb.base/sepdebug.exp: Likewise.
11751
3ca22649
SM
117522015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
11753
11754 * gdb.asm/asm-source.exp: Remove HP-UX references.
11755 * gdb.base/annota1.exp: Likewise.
11756 * gdb.base/annota3.exp: Likewise.
11757 * gdb.base/attach.exp: Likewise.
11758 * gdb.base/bigcore.exp: Likewise.
11759 * gdb.base/break.exp: Likewise.
11760 * gdb.base/call-ar-st.exp: Likewise.
11761 * gdb.base/callfuncs.exp: Likewise.
11762 * gdb.base/catch-fork-static.exp: Likewise.
11763 * gdb.base/display.exp: Likewise.
11764 * gdb.base/foll-exec-mode.exp: Likewise.
11765 * gdb.base/foll-exec.exp: Likewise.
11766 * gdb.base/foll-fork.exp: Likewise.
11767 * gdb.base/foll-vfork.exp: Likewise.
11768 * gdb.base/funcargs.exp: Likewise.
11769 * gdb.base/hbreak2.exp: Likewise.
11770 * gdb.base/inferior-died.exp: Likewise.
11771 * gdb.base/interrupt.exp: Likewise.
11772 * gdb.base/multi-forks.exp: Likewise.
11773 * gdb.base/nodebug.exp: Likewise.
11774 * gdb.base/sepdebug.exp: Likewise.
11775 * gdb.base/solib1.c: Likewise.
11776 * gdb.base/step-test.exp: Likewise.
11777 * gdb.mi/non-stop.c: Likewise.
11778 * gdb.mi/pthreads.c: Likewise.
11779 * gdb.multi/bkpt-multi-exec.ex: Likewise.
11780 * gdb.threads/pthreads.c: Likewise.
11781 * gdb.threads/staticthreads.exp: Likewise.
11782 * lib/future.exp: Likewise.
11783 * lib/gdb.exp: Likewise.
11784 * gdb.base/so-indr-cl.c: Remove.
11785 * gdb.base/so-indr-cl.exp: Likewise.
11786 * gdb.base/solib.c: Likewise.
11787 * gdb.base/solib.exp: Likewise.
11788 * gdb.base/solib2.c: Likewise.
11789
b6304613
SM
117902015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
11791
11792 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
11793 * gdb.base/call-ar-st.exp: Likewise.
11794 * gdb.base/callfuncs.exp: Likewise.
11795 * gdb.base/condbreak.exp: Likewise.
11796 * gdb.base/constvars.exp: Likewise.
11797 * gdb.base/hbreak2.exp: Likewise.
11798 * gdb.base/langs.exp: Likewise.
11799 * gdb.base/list.exp: Likewise.
11800 * gdb.base/long_long.exp: Likewise.
11801 * gdb.base/ptype.exp: Likewise.
11802 * gdb.base/scope.exp: Likewise.
11803 * gdb.base/signals.exp: Likewise.
11804 * gdb.base/so-impl-ld.exp: Likewise.
11805 * gdb.base/varargs.exp: Likewise.
11806 * gdb.base/volatile.exp: Likewise.
11807 * gdb.base/whatis.exp: Likewise.
11808 * gdb.cp/cplusfuncs.exp: Likewise.
11809 * gdb.cp/inherit.exp: Likewise.
11810 * gdb.cp/local.exp: Likewise.
11811 * gdb.cp/member-ptr.exp: Likewise.
11812 * gdb.cp/method.exp: Likewise.
11813 * gdb.cp/overload.exp: Likewise.
11814 * gdb.cp/templates.exp: Likewise.
11815 * gdb.stabs/weird.exp: Likewise.
11816 * lib/compiler.c: Likewise.
11817 * lib/compiler.cc: Likewise.
11818 * lib/cp-support.exp: Likewise.
11819 * lib/gdb.exp: Likewise.
11820
bf401b07
SM
118212015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
11822
11823 * configure.ac: Remove HP-UX case.
11824 * configure: Regenerate.
11825
aff9c0f8
SM
118262015-12-18 Simon Marchi <simon.marchi@ericsson.com>
11827
11828 * lib/gdb.exp (gdb_compile): Add function doc.
11829
a6904d5a
PA
118302015-12-17 Pedro Alves <palves@redhat.com>
11831
11832 PR threads/19354
11833 * gdb.multi/info-threads.exp: New file.
11834
a22279dd
YQ
118352015-12-15 Yao Qi <yao.qi@linaro.org>
11836
11837 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
11838 is aarch64*-*-*.
11839
0588c796
SL
118402015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11841
11842 * gdb.base/history-duplicates.exp: Skip if no readline support.
11843
5d978e17
SL
118442015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11845
11846 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
11847
7e763b86
SL
118482015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11849
11850 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
11851
87a3a92c
SL
118522015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11853
11854 * gdb.base/completion.exp: Skip tests that interrupt GDB with
11855 ctrl-C if nointerrupts target property is set.
11856 * gdb.base/double-prompt-target-event-error.exp: Likewise.
11857 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
11858 * gdb.base/paginate-bg-execution.exp: Likewise.
11859 * gdb.base/paginate-execution-startup.exp: Likewise.
11860 * gdb.base/random-signal.exp: Likewise.
11861 * gdb.base/range-stepping.exp: Likewise.
11862 * gdb.cp/annota2.exp: Likewise.
11863 * gdb.cp/annota3.exp: Likewise.
11864 * gdb.gdb/selftest.exp: Likewise.
11865 * gdb.threads/continue-pending-status.exp: Likewise.
11866 * gdb.threads/leader-exit.exp: Likewise.
11867 * gdb.threads/manythreads.exp: Likewise.
11868 * gdb.threads/pthreads.exp: Likewise.
11869 * gdb.threads/schedlock.exp: Likewise.
11870 * gdb.threads/sigthread.exp: Likewise.
11871
a8f077dc
DB
118722015-12-11 Don Breazeal <donb@codesourcery.com>
11873
11874 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
11875 remote.
11876 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
11877 * gdb.base/foll-exec.exp (main): Enable for target remote.
11878 * gdb.base/foll-fork.exp (main): Likewise.
11879 * gdb.base/foll-vfork.exp (main): Likewise.
11880 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
11881 (proc continue_to_exit_bp_loc): Use clean_restart.
11882 * gdb.base/pie-execl.exp (main): Disable for target remote.
11883 * gdb.base/watch-vfork.exp (main): Enable for target remote.
11884 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
11885 * gdb.threads/execl.exp (main): Likewise.
11886 * gdb.threads/fork-child-threads.exp (main): Likewise.
11887 * gdb.threads/fork-plus-threads.exp (main): Disable for target
11888 remote.
11889 * gdb.threads/fork-thread-pending.exp (main): Enable for target
11890 remote.
11891 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
11892 pid.tid style ptids, instead of just tid.
11893 * gdb.threads/thread-execl.exp (main): Enable for target remote.
11894 * gdb.threads/watchpoint-fork.exp (main): Likewise.
11895 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
11896 ptids, instead of just tid.
11897
3b2464a8
AB
118982015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11899
11900 * gdb.base/list.exp (test_list_forward): Add end of file error
11901 test.
11902 (test_repeat_list_command): Add end of file error test.
11903 (test_list_backwards): Add beginning of file error test.
11904
a0def019
AB
119052015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11906
11907 * gdb.base/list.exp (test_list_invalid_args): New function,
11908 defined, and called.
11909
5c000dff
AB
119102015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11911
11912 * gdb.base/list.exp (test_list): Make test names unique.
11913
f1637ebe
YQ
119142015-12-11 Yao Qi <yao.qi@linaro.org>
11915
11916 * gdb.base/coremaker2.c: Remove.
11917
36d6fc0a
PA
119182015-12-10 Pedro Alves <palves@redhat.com>
11919
11920 * gdb.multi/base.exp: Remove stale "spaces" references.
11921
762f7747
PA
119222015-12-10 Pedro Alves <palves@redhat.com>
11923
11924 * gdb.multi/base.exp: Don't use nowarnings.
11925 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
11926 * gdb.multi/hangout.c: Include stdio.h.
11927 * gdb.multi/hello.c: Include stdlib.h.
11928 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
11929 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
11930 * gdb.multi/multi-arch.exp: Don't use nowarnings.
11931
28d2bfb9
AB
119322015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
11933
11934 * gdb.dwarf2/dw2-ranges-base.c: New file.
11935 * gdb.dwarf2/dw2-ranges-base.exp: New file.
11936 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
11937 support additional line table, and debug ranges generation.
11938 (Dwarf::ranges): New function, generate .debug_ranges.
11939 (Dwarf::lines): Support generating simple line table programs.
11940 (Dwarf::assemble): Initialise new namespace variables.
11941
5fc2beac
KB
119422015-12-09 Kevin Buettner <kevinb@redhat.com>
11943
11944 * gdb.base/async.exp (proc test_background): Add case for
11945 asynchronous execution not supported.
11946
1c35a88f
LM
119472015-12-09 Luis Machado <lgustavo@codesourcery.com>
11948
11949 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
11950 format and change test names to make them unique.
11951
b593e3d9
RK
119522015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
11953 Pedro Alves <pedro@redhat.com>
11954
11955 PR gdb/18702
11956 Add checking of floatformats setup on x86_64 hosts.
11957 * gdb.arch/i386-float.S (main): Load bigval and smallval.
11958 (smallval, bigval): New labels/constants.
11959 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
11960 float" after loading bigval and smallval.
11961
d72413e6
PMR
119622015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
11963
11964 * gdb.ada/fun_overload_menu.exp: New testcase.
11965 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
11966
ece66d65
JS
119672015-12-04 Josh Stone <jistone@redhat.com>
11968
11969 * gdb.base/catch-fork-static.exp: New.
11970
41d0efca
YQ
119712015-12-03 Yao Qi <yao.qi@linaro.org>
11972
11973 * gdb.base/sizeof.c: Don't include stdio.h and
11974 ../lib/unbuffer_output.c.
11975 (main): New variable 'size' and 'value'. Remove printf and
11976 gdb_unbuffer_output. Assign return value to size and value.
11977 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
11978 at the beginning.
11979 (check_sizeof): Check the result by printing variable 'size'.
11980 (check_valueof): Check the result by printing variable 'value'.
11981
99fd02d9
YQ
119822015-12-01 Yao Qi <yao.qi@linaro.org>
11983
11984 * gdb.base/disp-step-syscall.exp: Define syscall instruction
11985 for aarch64*-*-linux* target.
11986
f2faf941
PA
119872015-11-30 Pedro Alves <palves@redhat.com>
11988
11989 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
11990
04bf20c5
PA
119912015-11-30 Pedro Alves <palves@redhat.com>
11992
11993 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
11994 Handle non-stop mode vCont replies.
11995
09df4675
PA
119962015-11-30 Pedro Alves <palves@redhat.com>
11997
11998 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
11999 prepare_for_testing. Start gdb with "set non-stop on" appended to
12000 GDBFLAGS. Lax expected stop output.
12001
58b584af
YQ
120022015-11-27 Yao Qi <yao.qi@linaro.org>
12003
12004 * gdb.arch/arm-neon.exp: New.
12005 * gdb.arch/arm-neon.c: New.
12006
dfcb77a8
YQ
120072015-11-27 Yao Qi <yao.qi@linaro.org>
12008
12009 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
12010
88e8ec1b
YQ
120112015-11-27 Yao Qi <yao.qi@linaro.org>
12012
12013 * gdb.cp/annota2.exp: Allow multiple occurrences of the
12014 frames-invalid annotation.
12015
bfde72c2
YQ
120162015-11-27 Yao Qi <yao.qi@linaro.org>
12017
12018 * gdb.cp/annota2.exp: Use ${frames_invalid}.
12019
f6512a69
SM
120202015-11-26 Simon Marchi <simon.marchi@ericsson.com>
12021
12022 * gdb.threads/names.exp: New file.
12023 * gdb.threads/names.c: New file.
12024 * README: Mention gdb,no_thread_names.
12025
46a3515b
MM
120262015-11-26 Markus Metzger <markus.t.metzger@intel.com>
12027
12028 PR 19297
12029 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
12030 support" error.
12031
62147a22
PA
120322015-11-24 Pedro Alves <palves@redhat.com>
12033
12034 PR 17539
12035 * gdb.base/display.exp: Expect displays to be sorted in ascending
12036 order. Use multi_line.
12037 * gdb.base/solib-display.exp: Likewise.
12038
2f341b6e
PA
120392015-11-24 Pedro Alves <palves@redhat.com>
12040
12041 PR 17539
25d49b86
PA
12042 * gdb.base/display.exp: Expect displays to be sorted in ascending
12043 order. Use multi_line.
12044 * gdb.base/solib-display.exp: Likewise.
2f341b6e 12045
7e0aa6aa
PA
120462015-11-24 Pedro Alves <palves@redhat.com>
12047
12048 PR 17539
12049 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
12050 threads in ascending order.
12051 * gdb.base/foll-fork.exp: Likewise.
12052 * gdb.base/foll-vfork.exp: Likewise.
12053 * gdb.base/multi-forks.exp: Likewise.
12054 * gdb.mi/mi-nonstop.exp: Likewise.
12055 * gdb.mi/mi-nsintrall.exp: Likewise.
12056 * gdb.multi/base.exp: Likewise.
12057 * gdb.multi/multi-arch.exp: Likewise.
12058 * gdb.python/py-inferior.exp: Likewise.
12059 * gdb.threads/break-while-running.exp: Likewise.
12060 * gdb.threads/execl.exp: Likewise.
12061 * gdb.threads/gcore-thread.exp: Likewise.
12062 * gdb.threads/info-threads-cur-sal.exp: Likewise.
12063 * gdb.threads/kill.exp: Likewise.
12064 * gdb.threads/linux-dp.exp: Likewise.
12065 * gdb.threads/multiple-step-overs.exp: Likewise.
12066 * gdb.threads/next-bp-other-thread.exp: Likewise.
12067 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
12068 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
12069 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
12070 * gdb.threads/thread-find.exp: Likewise.
12071 * gdb.threads/tls.exp: Likewise.
12072 * lib/mi-support.exp (mi_reverse_list): Delete.
12073 (mi_check_thread_states): No longer reverse list.
12074
2cc57ad8
PA
120752015-11-24 Pedro Alves <palves@redhat.com>
12076
12077 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
12078 use lowercase.
12079
c93e8391
SM
120802015-11-23 Simon Marchi <simon.marchi@ericsson.com>
12081
12082 * gdb.trace/actions.c: Include trace-common.h.
12083 (main): Add a location for a fast tracepoint.
12084 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
12085 the normal tracepoints.
12086 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
12087
045ccf91
SM
120882015-11-23 Simon Marchi <simon.marchi@ericsson.com>
12089
12090 * save-trace.exp: Factor out code to these...
12091 (gdb_save_tracepoints): New.
12092 (gdb_load_tracepoints): New.
12093 (do_save_load_test): New.
12094
5506f9f6
KB
120952015-11-23 Kevin Buettner <kevinb@redhat.com>
12096
12097 * gdb.base/asmlabel.exp: New test.
12098 * gdb.base/asmlabel.c: New test case.
12099
16c3b12f
JB
121002015-11-23 Joel Brobecker <brobecker@adacore.com>
12101
12102 * gdb.base/wrong_frame_bt_full-main.c: New file.
12103 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
12104 * gdb.base/wrong_frame_bt_full.exp: New file.
12105
155bfbd3
JB
121062015-11-23 Joel Brobecker <brobecker@adacore.com>
12107
12108 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
12109
bb097445
JM
121102015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
12111
206853a0 12112 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
12113 pstate register when comparing registers values in
12114 sparc64-*-linux-gnu targets to avoid spurious differences.
12115
9c88ed8f
JM
121162015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
12117
206853a0 12118 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 12119
96161e25
SL
121202015-11-19 Sandra Loosemore <sandra@codesourcery.com>
12121
12122 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
12123 as type argument to gdb_compile.
12124 * gdb.base/nested-subp2.exp: Likewise.
12125 * gdb.base/nested-subp3.exp: Likewise.
12126
340c2830
DV
121272015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
12128
12129 * lib/dwarf.exp (_note): Fix left shift of negative value.
12130 * gdb.trace/trace-condition.exp: Likewise.
12131
c1862d0f
YQ
121322015-11-13 Yao Qi <yao.qi@linaro.org>
12133
12134 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
12135 comments about d10v.
12136 (test_scalar_returns): Likewise.
12137 * gdb.base/d10v.ld: Remove.
12138 * gdb.base/overlays.exp: Remove the target triplet checking for
12139 d10v-*-*.
12140 * gdb.base/structs.exp (test_struct_returns): Remove the
12141 comments about d10v.
12142 (test_struct_calls): Likewise.
12143
77ae9c19
YQ
121442015-11-13 Yao Qi <yao.qi@linaro.org>
12145
12146 * gdb.base/gnu_vector.exp: Check the return value by "p res".
12147 * gdb.base/gnu_vector.c: Don't include stdio.h.
12148 (main): Don't print res and call add_some_intvecs.
12149
430e004e
MK
121502015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
12151
12152 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
12153 macro.
12154 (func5): Removed.
12155 (func4): Use FAST_TRACEPOINT_LABEL.
12156 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
12157 macro.
12158 (func): Removed.
12159 (thread_function): Use FAST_TRACEPOINT_LABEL.
12160 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
12161 (func): Remove.
12162 (marker): Use FAST_TRACEPOINT_LABEL.
12163 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
12164 (pendfunc1): Remove.
12165 (pendfunc): Use FAST_TRACEPOINT_LABEL.
12166 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
12167 (foo): Remove.
12168 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
12169 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
12170 macro.
12171 (func): Remove.
12172 (marker): Use FAST_TRACEPOINT_LABEL.
12173 * gdb.trace/trace-common.h: New header.
12174 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
12175 macro.
12176 (func): Remove.
12177 (marker): Use FAST_TRACEPOINT_LABEL.
12178 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
12179 (func): Remove.
12180 (thread_function): Use FAST_TRACEPOINT_LABEL.
12181
6e7675a7
MK
121822015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
12183
12184 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
12185 in front.
12186 * gdb.trace/change-loc.exp: Use global pcreg definition.
12187 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
12188 * gdb.trace/entry-values.exp: Use global spreg definition, add $
12189 in front.
12190 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
12191 * gdb.trace/pending.exp: Likewise.
12192 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
12193 * gdb.trace/trace-break.exp: Likewise.
12194 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
12195 in front.
12196 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
12197 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
12198 in front.
12199 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
12200
dddc0e16
JB
122012015-11-09 Joel Brobecker <brobecker@adacore.com>
12202
12203 * gdb.ada/fin_fun_out: New testcase.
12204
c6f0b406
KB
122052015-11-07 Kevin Buettner <kevinb@redhat.com>
12206
12207 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
12208 value associated with DW_AT_byte_size.
12209 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
12210 constants for DW_AT_byte_size, DW_AT_lower_bound, and
12211 DW_AT_upper_bound.
12212
f01dcfd9
KB
122132015-11-07 Kevin Buettner <kevinb@redhat.com>
12214
12215 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
12216 (gdb_target_symbol_prefix_flags): Define in terms of _asm
12217 version.
12218 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
12219 gdb.dwarf2/dw2-canonicalize-type.exp,
12220 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
12221 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
12222 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
12223 provided by gdb_target_symbol_prefix_flags_asm.
12224 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
12225 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
12226 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
12227 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
12228 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
12229 macros where needed). Use this macro for symbols which require
12230 the prefix provided by SYMBOL_PREFIX.
12231
2223449a
KB
122322015-11-05 Kevin Buettner <kevinb@redhat.com>
12233
12234 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
12235 New procs.
12236 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
12237 representing expressions, of more than one list element.
12238 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
12239 to prepend linker symbol prefix to f.
12240 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
12241 table_1 and table_2.
12242 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
12243 Likewise, for f and g.
12244 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
12245 for ptr.
12246 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
12247 for main.
12248 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
12249 table_1_ptr and table_2_ptr.
12250
6f2f1a3a
JK
122512015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12252 Joel Brobecker <brobecker@adacore.com>
12253
12254 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
12255
566c56c9
MK
122562015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
12257
12258 * gdb.reverse/s390-mvcle.c: New test.
12259 * gdb.reverse/s390-mvcle.exp: New file.
12260 * lib/gdb.exp: Enable reverse tests on s390*-linux.
12261
d5f0636b
MK
122622015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
12263
12264 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
12265
7ad8b86c
MK
122662015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
12267
12268 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
12269 reaching marker2.
12270 * gdb.reverse/getresuid-reverse.exp: Likewise.
12271 * gdb.reverse/pipe-reverse.exp: Likewise.
12272 * gdb.reverse/readv-reverse.exp: Likewise.
12273 * gdb.reverse/recvmsg-reverse.exp: Likewise.
12274 * gdb.reverse/time-reverse.exp: Likewise.
12275 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
12276
4081c0f1
YQ
122772015-10-30 Yao Qi <yao.qi@linaro.org>
12278
12279 * gdb.threads/wp-replication.c (watch_count_done): Remove.
12280 (empty_cycle): Remove.
12281 (main): Don't call empty_cycle. Don't use watch_count_done.
12282 * gdb.threads/wp-replication.exp: Don't set breakpoint on
12283 empty_cycle. Rewrite the code counting HW watchpoints.
12284
452b4ba5
MK
122852015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
12286
12287 * gdb.reverse/fstatat-reverse.c: New test.
12288 * gdb.reverse/fstatat-reverse.exp: New file.
12289 * gdb.reverse/getresuid-reverse.c: New test.
12290 * gdb.reverse/getresuid-reverse.exp: New file.
12291 * gdb.reverse/pipe-reverse.c: New test.
12292 * gdb.reverse/pipe-reverse.exp: New file.
12293 * gdb.reverse/readv-reverse.c: New test.
12294 * gdb.reverse/readv-reverse.exp: New file.
12295 * gdb.reverse/recvmsg-reverse.c: New test.
12296 * gdb.reverse/recvmsg-reverse.exp: New file.
12297 * gdb.reverse/time-reverse.c: New test.
12298 * gdb.reverse/time-reverse.exp: New file.
12299 * gdb.reverse/waitpid-reverse.c: New test.
12300 * gdb.reverse/waitpid-reverse.exp: New file.
12301
5e2e7507
JK
123022015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
12303
12304 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
12305
0fde2c53
DE
123062015-10-26 Doug Evans <dje@google.com>
12307
12308 PR symtab/17391
12309 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
12310 * gdb.dwarf2/bad-regnum.c: New file.
12311 * gdb.dwarf2/bad-regnum.exp: New file.
12312
1a70ae97
DE
123132015-10-26 Doug Evans <dje@google.com>
12314
12315 PR python/18938
12316 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
12317 file.
12318
27dc26ab
JK
123192015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12320
12321 * gdb.compile/compile.exp (compile code globalvar): Update expectation
12322 for a change by "Mention language in compile error message".
12323
bed91f4d
SM
123242015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
12325
12326 PR python/18073
12327 * gdb.python/py-type.c (C::a_method): New.
12328 (C::a_const_method): New.
12329 (C::a_static_method): New.
12330 (a_function): New.
12331 * gdb.python/py-type.exp (test_fields): Test getting fields
12332 from function and method.
12333
3f2f83dd
KB
123342015-10-21 Keven Boell <keven.boell@intel.com>
12335
12336 * gdb.fortran/vla-alloc-assoc.exp: New file.
12337 * gdb.fortran/vla-datatypes.exp: New file.
12338 * gdb.fortran/vla-datatypes.f90: New file.
12339 * gdb.fortran/vla-history.exp: New file.
12340 * gdb.fortran/vla-ptype-sub.exp: New file.
12341 * gdb.fortran/vla-ptype.exp: New file.
12342 * gdb.fortran/vla-sizeof.exp: New file.
12343 * gdb.fortran/vla-sub.f90: New file.
12344 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
12345 * gdb.fortran/vla-value-sub-finish.exp: New file.
12346 * gdb.fortran/vla-value-sub.exp: New file.
12347 * gdb.fortran/vla-value.exp: New file.
12348 * gdb.fortran/vla-ptr-info.exp: New file.
12349 * gdb.mi/mi-vla-fortran.exp: New file.
12350 * gdb.mi/vla.f90: New file.
12351
27145d50
SL
123522015-10-21 Sandra Loosemore <sandra@codesourcery.com>
12353
12354 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
12355 of hardwired timeout value.
12356
5f3ff4f8
JK
123572015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12358 Pedro Alves <palves@redhat.com>
12359
12360 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
12361 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
12362
bfd09d20
JS
123632015-10-19 Josh Stone <jistone@redhat.com>
12364
12365 * gdb.base/catch-syscall.c: Include <sched.h>.
12366 (unknown_syscall): New variable.
12367 (main): Trigger a vfork and an unknown syscall.
12368 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
12369 (unknown_syscall_number): Likewise.
12370 (check_call_to_syscall): Accept an optional syscall pattern.
12371 (check_return_from_syscall): Likewise.
12372 (check_continue): Likewise.
12373 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
12374 (test_catch_syscall_skipping_return): New test toggling off 'catch
12375 syscall' to step over the syscall return, then toggling back on.
12376 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
12377 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
12378 (do_syscall_tests): Call test_catch_syscall_without_args and
12379 test_catch_syscall_mid_vfork.
12380 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
12381 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
12382
b32b93c6
AS
123832015-10-19 Andrew Stubbs <ams@codesourcery.com>
12384
12385 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
12386 print g_vE): Add new pass patterns.
12387 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
12388 print various symbol names for vptr fields.
12389
9d622bda
AB
123902015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
12391
12392 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
12393 results.
12394
0fd8ac1c
YQ
123952015-10-12 Yao Qi <yao.qi@linaro.org>
12396
12397 * gdb.arch/disp-step-insn-reloc.exp: New test case.
12398
34240514
YQ
123992015-10-12 Yao Qi <yao.qi@linaro.org>
12400
12401 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
12402 is aarch64*-*-linux*.
12403
8240f442
YQ
124042015-10-12 Yao Qi <yao.qi@linaro.org>
12405
12406 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
12407 (can_relocate_bcond_true): ... it.
12408 (can_relocate_bcond_false): New function.
12409 (foo): Likewise.
12410 (can_relocate_bl): Likewise.
12411 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
12412 can_relocate_bl.
12413
2520f728
PMR
124142015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
12415
12416 * gdb.base/nested-addr.c: New file.
12417 * gdb.base/nested-addr.exp: New testcase.
12418
abcef95a
MM
124192015-10-09 Markus Metzger <markus.t.metzger@intel.com>
12420
12421 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
12422 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
12423 its output. Ignore the output of "record goto begin" and instead
12424 check that GDB is replaying.
12425
145e3ddb
PA
124262015-10-09 Pedro Alves <palves@redhat.com>
12427
12428 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
12429 (top level): Use it in the run with no args test.
12430
d5d8c4e1
IB
124312015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
12432
12433 * gdb.dlang/properties.exp: New file.
12434
06e635ef
SL
124352015-10-02 Sandra Loosemore <sandra@codesourcery.com>
12436
12437 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
12438 whether or not address 0x1000 is mapped on the target.
12439
e019fd1d
SM
124402015-09-30 Simon Marchi <simon.marchi@ericsson.com>
12441
12442 * gdb.python/py-type.exp: Do not run tests if binaries fail to
12443 build.
12444
77ba2a67
MM
124452015-09-30 Markus Metzger <markus.t.metzger@intel.com>
12446
12447 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
12448 instruction-history test.
12449
c60eb31f
DE
124502015-09-28 Doug Evans <dje@google.com>
12451
12452 * gdb.base/gcore.c (array_func): Add reference to static_array.
12453
9a3c8263
SM
124542015-09-25 Simon Marchi <simon.marchi@ericsson.com>
12455
12456 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
12457 source line.
12458
9720e656
SL
124592015-09-24 Sandra Loosemore <sandra@codesourcery.com>
12460
12461 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
12462 short or char as base type.
12463
938d3bf2
SL
124642015-09-23 Sandra Loosemore <sandra@codesourcery.com>
12465
12466 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
12467 to allow any size enum.
12468
e6c2c623
PMR
124692015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
12470
12471 * gdb.ada/array_ptr_renaming.exp: New testcase.
12472 * gdb.ada/array_ptr_renaming/foo.adb: New file.
12473 * gdb.ada/array_ptr_renaming/pack.ads: New file.
12474
06da0f77
PL
124752015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12476
12477 * gdb.trace/ftrace-lock.c: New file.
12478 * gdb.trace/ftrace-lock.exp: New file.
12479
4f51c22a
PL
124802015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12481
12482 * gdb.arch/insn-reloc.c: New file.
12483 * gdb.arch/ftrace-insn-reloc.exp: New file.
12484
7041adf4
PL
124852015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12486
12487 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
12488 instruction.
12489 * gdb.trace/pendshr1.c (pendfunc): Likewise.
12490 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
12491 * gdb.trace/range-stepping.c: Likewise.
12492 * gdb.trace/trace-break.c: Likewise.
12493 * gdb.trace/trace-mt.c (thread_function): Likewise.
12494 * gdb.trace/ftrace.c (marker): Likewise.
12495 * gdb.trace/trace-condition.c (marker): Likewise.
12496 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
12497 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
12498 is_aarch64_target.
12499
015d2e7e
DE
125002015-09-18 Doug Evans <xdje42@gmail.com>
12501
12502 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
12503 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
12504
26b188a2
SL
125052015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12506
12507 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
12508 the breakpoint.
12509
79dc332b
SL
125102015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12511
12512 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
12513 the pending breakpoint. Remove timeout override for "Run till
12514 MI pending breakpoint on pendfunc3 on thread 2" test.
12515
f57929f2
SL
125162015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12517
12518 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
12519 filename pattern.
12520
3f469b17
SL
125212015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12522
12523 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
12524 in breakpoint filename pattern.
12525
515b89b3
SL
125262015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12527
7800dbe4
SL
12528 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
12529
125302015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12531
515b89b3
SL
12532 * gdb.linespec/explicit.exp: Check for readline support for
12533 tab-completion tests. Fix obvious typo.
12534
d2939ba2
MM
125352015-09-18 Markus Metzger <markus.t.metzger@intel.com>
12536
12537 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
12538 and replay.
12539
cbb55fa7
MM
125402015-09-18 Markus Metzger <markus.t.metzger@intel.com>
12541
12542 * gdb.btrace/non-stop.c: New.
12543 * gdb.btrace/non-stop.exp: New.
12544
43691ca1
PL
125452015-09-17 Pierre Langlois <pierre.langlois@arm.com>
12546 Yao Qi <yao.qi@linaro.org>
12547
12548 * gdb.trace/trace-condition.c: New file.
12549 * gdb.trace/trace-condition.exp: New file.
12550
d78908cf
WW
125512015-09-16 Wei-cheng Wang <cole945@gmail.com>
12552
12553 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
12554 for testing bytecode compilation.
12555
1ed415e2
PA
125562015-09-16 Pedro Alves <palves@redhat.com>
12557 Sandra Loosemore <sandra@codesourcery.com>
12558
12559 * gdb.threads/non-stop-fair-events.c (timeout): New global.
12560 (SECONDS): Redefine.
12561 (main): Call pthread_kill and alarm early.
12562 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
12563 support.
12564 (test): If the target can't hardware step and doesn't support
12565 displaced stepping, increase the timeout.
12566
d136eff5
PA
125672015-09-16 Pedro Alves <palves@redhat.com>
12568
12569 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
12570 (enable_debug): New procedures.
12571 (test): Use them. Bail out if waiting for threads fails.
12572 (top level): Bail out if a test fails.
12573
991f019c
YQ
125742015-09-16 Yao Qi <yao.qi@linaro.org>
12575
12576 * gdb.asm/asm-source.exp: Set asm-arch for
12577 aarch64*-*-* target.
12578 * gdb.asm/aarch64.inc: New file.
12579
bfca584f
PMR
125802015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
12581
12582 * gdb.ada/array_of_variable_length.exp: New testcase.
12583 * gdb.ada/array_of_variable_length/foo.adb: New file.
12584 * gdb.ada/array_of_variable_length/pck.adb: New file.
12585 * gdb.ada/array_of_variable_length/pck.ads: New file.
12586
b326e587
DE
125872015-09-15 Doug Evans <dje@google.com>
12588
12589 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
12590 of function static local variable.
12591
5382cfab
PW
125922015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
12593
12594 * gdb.threads/tls-so_extern.exp: New test file.
12595 * gdb.threads/tls-so_extern.c: New test file.
12596 * gdb.threads/tls-so_extern_main.c: New test file.
12597
141c5cc4
JK
125982015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12599
12600 * gdb.opt/solib-intra-step-lib.c: New file.
12601 * gdb.opt/solib-intra-step-main.c: New file.
12602 * gdb.opt/solib-intra-step.exp: New file.
12603
d15dcecd
PA
126042015-09-15 Pedro Alves <palves@redhat.com>
12605
12606 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
12607 gdb_continue_to_breakpoint instead of gdb_test_multiple.
12608
4c2f2a79
PA
126092015-09-14 Pedro Alves <palves@redhat.com>
12610
12611 * gdb.base/hook-stop-continue.c: Delete.
12612 * gdb.base/hook-stop-continue.exp: Delete.
12613 * gdb.base/hook-stop-frame.c: Delete.
12614 * gdb.base/hook-stop-frame.exp: Delete.
12615 * gdb.base/hook-stop.c: New file.
12616 * gdb.base/hook-stop.exp: New file.
12617
919e6dbe
PMR
126182015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
12619
12620 * gdb.ada/access_to_packed_array.exp: New testcase.
12621 * gdb.ada/access_to_packed_array/foo.adb: New file.
12622 * gdb.ada/access_to_packed_array/pack.adb: New file.
12623 * gdb.ada/access_to_packed_array/pack.ads: New file.
12624
157280a4
MM
126252015-09-14 Markus Metzger <markus.t.metzger@intel.com>
12626
12627 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
12628 buffer size test.
12629
2fd33e94
DB
126302015-09-11 Don Breazeal <donb@codesourcery.com>
12631
12632 * gdb.base/foll-exec.c: Add copyright header. Fix
12633 formatting issues.
12634 * gdb.base/foll-exec.exp (zap_session): Delete proc.
12635 (do_exec_tests): Use clean_restart in place of zap_session,
12636 and for test initialization. Fix formatting issues. Use
12637 fail in place of perror.
12638 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
12639 an expect statement to match an expression with output from
12640 the program under debug.
12641 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
12642 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
12643 * gdb.threads/non-ldr-exc-2.exp: Likewise.
12644 * gdb.threads/non-ldr-exc-3.exp: Likewise.
12645 * gdb.threads/non-ldr-exc-4.exp: Likewise.
12646
e70b6e8e
DE
126472015-09-09 Doug Evans <dje@google.com>
12648
12649 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
12650
7a551a51
DE
126512015-09-09 Doug Evans <dje@google.com>
12652
12653 * gdb.base/pie-execl.exp: Fix result test of build_executable.
12654
4c666f84
DE
126552015-09-09 Doug Evans <dje@google.com>
12656
12657 * gdb.base/savedregs.exp: Fix typo.
12658
243a9253
PA
126592015-09-09 Pedro Alves <palves@redhat.com>
12660
12661 * gdb.mi/mi-cli.exp: Add CLI finish tests.
12662
c0fa8fbd
SL
126632015-09-08 Sandra Loosemore <sandra@codesourcery.com>
12664
12665 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
12666 command actually switches threads. Give up on remaining
12667 tests if target fails to stop at breakpoint.
12668
cd7c1778
PMR
126692015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
12670
12671 * gdb.ada/funcall_char.exp: New testcase.
12672 * gdb.ada/funcall_char/foo.adb: New file.
12673
dc5c8746
PMR
126742015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
12675
12676 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
12677 expected outputs. Add two testcases for completing ambiguous
12678 functions.
12679 * gdb.ada/complete/aux_pck.adb: New file.
12680 * gdb.ada/complete/aux_pck.ads: New file.
12681 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
12682 Ambiguous_Func functions.
12683 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
12684 * gdb.ada/complete/pck.adb: Likewise.
12685
4e83a1e7
UW
126862015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
12687
12688 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
12689 failures to run the test program under GDB.
12690
8ce74153
LM
126912015-08-26 Luis Machado <lgustavo@codesourcery.com>
12692
12693 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
12694 to C.
12695
e9756d52
PP
126962015-08-26 Patrick Palka <patrick@parcs.ath.cx>
12697
12698 * gdb.base/run-after-attach.exp: New test file.
12699 * gdb.base/run-after-attach.c: New test file.
12700
8d37573b
DB
127012015-08-26 Don Breazeal <donb@codesourcery.com>
12702
12703 * gdb.base/foll-exec-2.c: New test program.
12704 * gdb.base/foll-exec-2.exp: New test.
12705
63e43d3a
PMR
127062015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
12707
12708 * gdb.base/nested-subp1.exp: New file.
12709 * gdb.base/nested-subp1.c: New file.
12710 * gdb.base/nested-subp2.exp: New file.
12711 * gdb.base/nested-subp2.c: New file.
12712 * gdb.base/nested-subp3.exp: New file.
12713 * gdb.base/nested-subp3.c: New file.
12714
3d40fbb5
PA
127152015-08-24 Pedro Alves <palves@redhat.com>
12716
12717 * gdb.server/connect-without-multi-process.c: New file.
12718 * gdb.server/connect-without-multi-process.exp: New file.
12719
4422ac93
LM
127202015-08-24 Luis Machado <lgustavo@codesourcery.com>
12721
12722 * gdb.opt/inline-markers.c: Make z int.
12723
91dddb86
LM
127242015-08-24 Luis Machado <lgustavo@codesourcery.com>
12725
12726 * gdb.opt/inline-markers.c: Make z volatile.
12727
a48847ee
LM
127282015-08-24 Luis Machado <lgustavo@codesourcery.com>
12729
12730 * gdb.opt/inline-bt.c: New volatile global z.
12731 * gdb.opt/inline-cmds.c: Likewise.
12732 * gdb.opt/inline-locals.c: Likewise.
12733 * gdb.opt/inline-markers.c: New extern global z.
12734 (marker): Use z.
12735 (inline_fn): Likewise.
12736
0ebbc52b
PA
127372015-08-24 Pedro Alves <palves@redhat.com>
12738
12739 * config/m32r-stub.exp: Remove file.
12740 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
12741 * gdb.base/call-rt-st.exp: Likewise.
12742 * gdb.base/call-strs.exp: Likewise.
12743 * gdb.base/default.exp: Remove references to h8300-*-hms and
12744 *-*-udi*.
12745 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
12746
77c365df
AA
127472015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12748
12749 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
12750 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
12751 and "return" use KFAIL when GDB can not read/write the vector
12752 return value.
12753
4313b8c0
GB
127542015-08-21 Gary Benson <gbenson@redhat.com>
12755
12756 * gdb.trace/pending.exp: Cope with remote transfer warnings.
12757
0e433b32
PA
127582015-08-20 Pedro Alves <palves@redhat.com>
12759
12760 * gdb.server/solib-list.exp: No longer expect an interior stop in
12761 non-stop mode.
12762
221e1a37
PA
127632015-08-20 Pedro Alves <palves@redhat.com>
12764
12765 * gdb.server/connect-stopped-target.c: New file.
12766 * gdb.server/connect-stopped-target.exp: New file.
12767
40e3ad0e
PA
127682015-08-20 Pedro Alves <palves@redhat.com>
12769
12770 * gdb.dwarf2/comp-unit-lang.exp: New file.
12771 * gdb.dwarf2/comp-unit-lang.c: New file.
12772
af39b327
PMR
127732015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
12774
12775 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
12776 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
12777
7d45c7c3 127782015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 12779
7d45c7c3
KB
12780 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
12781 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
12782
4d6cceb4
DE
127832015-08-18 Doug Evans <dje@google.com>
12784 Adrian Sendroiu <adrian.sendroiu@freescale.com>
12785
12786 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
12787 skip_python_tests. New arg prompt_regexp.
12788 (skip_python_tests): New function.
12789 * lib/mi-support.exp (mi_skip_python_tests): New function.
12790 * gdb.python/py-mi-objfile-gdb.py: New file.
12791 * gdb.python/py-mi-objfile.c: New file.
12792 * gdb.python/py-mi-objfile.exp: New file.
12793
ad89c2aa
KS
127942015-08-17 Keith Seitz <keiths@redhat.com>
12795
12796 * gdb.linespec/explicit.exp: Move strace test from here ...
12797 * gdb.trace/strace.exp: ... to here.
12798
e3ae3c43
PP
127992015-08-15 Patrick Palka <patrick@parcs.ath.cx>
12800
12801 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
12802 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
12803
604b2636
DE
128042015-08-14 Doug Evans <xdje42@gmail.com>
12805
12806 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
12807 inferior before selecting a new file.
12808
6ff0ba5f
DE
128092015-08-14 Doug Evans <xdje42@gmail.com>
12810
12811 * gdb.mi/mi-disassemble.exp: Update.
12812 * gdb.base/disasm-optim.S: New file.
12813 * gdb.base/disasm-optim.c: New file.
12814 * gdb.base/disasm-optim.h: New file.
12815 * gdb.base/disasm-optim.exp: New file.
12816
9ca98f92
KS
128172015-08-14 Keith Seitz <keiths@redhat.com>
12818
12819 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
12820 "evaluated-by".
12821
52bbc560
JB
128222015-08-13 Joel Brobecker <brobecker@adacore.com>
12823
12824 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
12825
5d8c3ed3
PMR
128262015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
12827
12828 * gdb.ada/fun_renaming.exp: New testcase.
12829 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
12830 * gdb.ada/fun_renaming/pack.adb: New file.
12831 * gdb.ada/fun_renaming/pack.ads: New file.
12832
ea8812bc
KS
128332015-08-12 Keith Seitz <keiths@redhat.com>
12834
12835 * gdb.base/dso2dso.exp: Pass basename of source file in call to
12836 gdb_get_line_number.
12837
4dafcdeb
JB
128382015-08-12 Joel Brobecker <brobecker@adacore.com>
12839
12840 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
12841 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
12842 gdb.base/dso2dso.exp: New files.
12843
5ba32597
SDJ
128442015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
12845 Pedro Alves <palves@redhat.com>
12846 Keith Seitz <keiths@redhat.com>
12847
12848 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
12849 GDBFLAGS.
12850
b6dafabf
PP
128512015-08-12 Patrick Palka <patrick@parcs.ath.cx>
12852
12853 * gdb.base/gdbhistsize-history.exp
12854 (test_histsize_history_setting): Use save_vars.
12855 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12856 Use save_vars.
12857 (test_no_truncation_of_unlimited_history_file): Use save_vars.
12858 * gdb.base/readline.exp: Use save_vars.
12859
abe8e607
PP
128602015-08-12 Patrick Palka <patrick@parcs.ath.cx>
12861
12862 * lib/gdb.exp (save_vars): New proc.
12863
629500fa
KS
128642015-08-11 Keith Seitz <keiths@redhat.com>
12865
12866 * gdb.base/help.exp: Update help_breakpoint_text.
12867
eb8c4e2e
KS
128682015-08-11 Keith Seitz <keiths@redhat.com>
12869
12870 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
12871 (at toplevel): Call test_explicit_breakpoints.
12872 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
12873 breakpoints.
12874 * lib/mi-support.exp (mi_make_breakpoint): Add support for
12875 breakpoint conditions, "-cond".
12876
87f0e720
KS
128772015-08-11 Keith Seitz <keiths@redhat.com>
12878
12879 * gdb.linespec/3explicit.c: New file.
12880 * gdb.linespec/cpexplicit.cc: New file.
12881 * gdb.linespec/cpexplicit.exp: New file.
12882 * gdb.linespec/explicit.c: New file.
12883 * gdb.linespec/explicit.exp: New file.
12884 * gdb.linespec/explicit2.c: New file.
12885 * gdb.linespec/ls-errs.exp: Add explicit location tests.
12886 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
12887 before using in the matching pattern.
12888 Clarify that `prefix' is a regular expression.
12889
f00aae0f
KS
128902015-08-11 Keith Seitz <keiths@redhat.com>
12891
12892 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
12893 test.
12894 Add tests for missing ",FMT" and ",".
12895
e27852be
DE
128962015-08-10 Doug Evans <dje@google.com>
12897 Keith Seitz <keiths@redhat.com>
12898
12899 PR gdb/17960
12900 * gdb.base/completion.exp: Add location completer tests.
12901
7f03bd92
PA
129022015-08-07 Pedro Alves <palves@redhat.com>
12903
12904 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
12905 tests here.
12906 (top level): Run do_test with and without displaced stepping.
12907
3fc8eb30
PA
129082015-08-07 Pedro Alves <palves@redhat.com>
12909
12910 * gdb.base/valgrind-disp-step.c: New file.
12911 * gdb.base/valgrind-disp-step.exp: New file.
12912
d4569d7b
PA
129132015-08-07 Pedro Alves <palves@redhat.com>
12914
12915 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
12916 Delete function.
12917 (main): Add alarm. Run an infinite loop instead of calling
12918 wait_threads.
12919 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
12920 comment.
12921 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
12922 Delete function.
12923 (main): Add alarm. Run an infinite loop instead of calling
12924 wait_threads.
12925 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
12926 comment.
12927
e1316e60
PA
129282015-08-07 Pedro Alves <palves@redhat.com>
12929
12930 * gdb.base/checkpoint-ns.exp: New file.
12931 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
12932 standard_testfile.
12933
da8c46d2
MM
129342015-08-07 Markus Metzger <markus.t.metzger@intel.com>
12935
12936 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
12937 * gdb.btrace/instruction_history.exp: Update.
12938 * gdb.btrace/tsx.exp: New.
12939 * gdb.btrace/tsx.c: New.
12940
de1c2c52
PA
129412015-08-06 Pedro Alves <palves@redhat.com>
12942
12943 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
12944 increase timeout.
12945 * gdb.reverse/until-precsave.exp: Bump timeouts.
12946
782e0bf4
PA
129472015-08-06 Pedro Alves <palves@redhat.com>
12948
12949 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
12950
83e97ed0
PA
129512015-08-06 Pedro Alves <palves@redhat.com>
12952
12953 PR gdb/18749
12954 * gdb.threads/process-dies-while-handling-bp.c: New file.
12955 * gdb.threads/process-dies-while-handling-bp.exp: New file.
12956
863d01bd
PA
129572015-08-06 Pedro Alves <palves@redhat.com>
12958
12959 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
12960 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
12961
0a39bb32
PA
129622015-08-05 Pedro Alves <palves@redhat.com>
12963
12964 * gdb.threads/next-while-other-thread-longjmps.c: New file.
12965 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
12966
ee2d2b10
SL
129672015-08-03 Sandra Loosemore <sandra@codesourcery.com>
12968
12969 * gdb.base/bp-permanent.exp: Report test as unsupported if
12970 the target cannot stop at the permanent breakpoint.
12971
4e1bdb00
DE
129722015-08-03 Doug Evans <dje@google.com>
12973
12974 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
12975 10000.
12976
3d338901
DE
129772015-08-03 Doug Evans <dje@google.com>
12978
12979 * Makefile.in (workers/%.worker, build-perf): New rule.
12980 (GDB_PERFTEST_MODE): New variable.
12981 (check-perf): Use it.
12982 (clean): Clean up gdb.perf parallel build subdirs.
12983 * lib/build-piece.exp: New file.
12984 * lib/gdb.exp (make_gdb_parallel_path): New function
12985 (standard_output_file, standard_temp_file): Call it.
12986 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12987 of $GDB_PARALLEL.
12988 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
12989
af061d3e
DE
129902015-08-03 Doug Evans <dje@google.com>
12991
8e1afc81 12992 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
12993 (LOG_FILE_NAME): New global.
12994 (TextReporter.__init__): Initialize self.txt_sum.
12995 (TextReporter.report): Add support for multiple data-points.
12996 Move report to perftest.sum, put raw data in perftest.log.
12997 (TextReporter.start): Open sum and log files.
12998 (TextReporter.end): Close sum and log files.
8e1afc81
DE
12999 * gdb.perf/lib/perftest/testresult.py
13000 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 13001
2c8c5d37
PA
130022015-07-31 Pedro Alves <palves@redhat.com>
13003
13004 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
13005 Use spawn_id_get_pid. Wait for spawn id after eof. Use
13006 kill_wait_spawned_process instead of explicit "kill -9".
13007 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
13008 returning a spawn id instead of a pid. Use spawn_id_get_pid and
13009 kill_wait_spawned_process.
13010 * gdb.base/attach-twice.exp: Likewise.
13011 * gdb.base/attach.exp: Likewise.
13012 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
13013 gdb_test_multiple.
13014 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
13015 returning a spawn id instead of a pid. Use spawn_id_get_pid and
13016 kill_wait_spawned_process.
13017 * gdb.base/valgrind-infcall.exp: Likewise.
13018 * gdb.multi/multi-attach.exp: Likewise.
13019 * gdb.python/py-prompt.exp: Likewise.
13020 * gdb.python/py-sync-interp.exp: Likewise.
13021 * gdb.server/ext-attach.exp: Likewise.
13022 * gdb.threads/attach-into-signal.exp (corefunc): Use
13023 spawn_wait_for_attach, spawn_id_get_pid and
13024 kill_wait_spawned_process.
13025 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
13026 spawn_wait_for_attach returning a spawn id instead of a pid. Use
13027 spawn_id_get_pid and kill_wait_spawned_process.
13028 * gdb.threads/attach-stopped.exp (corefunc): Use
13029 spawn_wait_for_attach, spawn_id_get_pid and
13030 kill_wait_spawned_process.
13031 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
13032 Use spawn_id_get_pid. Wait for spawn id after eof. Use
13033 kill_wait_spawned_process instead of explicit "kill -9".
13034 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
13035 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
13036 (spawn_wait_for_attach): Use spawn instead of exec to spawn
13037 processes. Don't map cygwin/windows pids here. Now returns a
13038 spawn id list.
13039
032a0fca
SL
130402015-07-30 Sandra Loosemore <sandra@codesourcery.com>
13041
13042 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
13043 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
13044 correct patch.
13045
61a934ca
SL
130462015-07-30 Sandra Loosemore <sandra@codesourcery.com>
13047
13048 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
13049
4bc4d428
SL
130502015-07-30 Sandra Loosemore <sandra@codesourcery.com>
13051
13052 Reapply:
13053 2014-05-21 Mark Wielaard <mjw@redhat.com>
13054
13055 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
13056
998d452a
PA
130572015-07-30 Pedro Alves <palves@redhat.com>
13058
13059 * linux-low.c (handle_extended_wait): Set the child's last
13060 reported status to TARGET_WAITKIND_STOPPED.
13061
69dde7dc
PA
130622015-07-30 Pedro Alves <palves@redhat.com>
13063
13064 PR threads/18600
13065 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
13066 only shows inferior 1.
13067
4dd63d48
PA
130682015-07-30 Simon Marchi <simon.marchi@ericsson.com>
13069 Pedro Alves <palves@redhat.com>
13070
13071 PR threads/18600
13072 * gdb.threads/fork-plus-threads.c: New file.
13073 * gdb.threads/fork-plus-threads.exp: New file.
13074
d618e4c5
PP
130752015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13076
13077 * gdb.base/batch-preserve-term-settings.exp
13078 (test_terminal_settings_preserved_after_cli_exit): Use
13079 send_quit_command.
13080
1eef6428
PA
130812015-07-29 Pedro Alves <palves@redhat.com>
13082 Don Breazeal <donb@codesourcery.com>
13083
13084 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
13085 output from both inferior_spawn_id and gdb_spawn_id.
13086
7da5b897
SDJ
130872015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
13088
13089 * gdb.threads/attach-into-signal.exp (corefunc): Use
13090 with_test_prefix on nested loops, uniquefying the test messages.
13091
dac804df
SDJ
130922015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
13093
13094 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
13095 commit.
13096
06265e53
PP
130972015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13098
13099 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
13100 New proc.
13101 (test_terminal_settings_preserved_after_sigterm): New test.
13102
18206ca3
PP
131032015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13104
13105 * gdb.base/batch-preserve-term-settings.exp
13106 (test_terminal_settings_preserved_after_cli_exit): New test.
13107
90074d11
PP
131082015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13109
13110 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
13111 manipulation of saved_gdbflags.
13112 (test_terminal_settings_preserved): Remove global declaration of
13113 the unused variable pagination_prompt. Remove manipulation of
13114 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
13115 GDBFLAGS.
13116
eb1a7902
PA
131172015-07-29 Pedro Alves <palves@redhat.com>
13118
13119 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
13120
8b75dd3b
PA
131212015-07-29 Pedro Alves <palves@redhat.com>
13122
13123 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
13124 at the top.
13125
dedad4e3
PA
131262015-07-29 Pedro Alves <palves@redhat.com>
13127
13128 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
13129 (main): Call gdb_unbuffer_output.
13130 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
13131 (main): Call gdb_unbuffer_output.
13132 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
13133 (main): Call gdb_unbuffer_output.
13134 * gdb.base/call-strs.exp: Adjust to step over the
13135 gdb_unbuffer_output call.
13136 * gdb.base/catch-gdb-caused-signals.c: Include
13137 "../lib/unbuffer_output.c".
13138 (main): Call gdb_unbuffer_output.
13139 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
13140 (main): Call gdb_unbuffer_output.
13141 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
13142 (main): Call gdb_unbuffer_output.
13143 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
13144 (main): Call gdb_unbuffer_output.
13145 * gdb.base/shlib-call.exp: Adjust to step over the
13146 gdb_unbuffer_output call.
13147 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
13148 (main): Call gdb_unbuffer_output.
13149 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
13150 (main): Call gdb_unbuffer_output.
13151 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
13152 (main): Rename to ...
13153 (test): ... this.
13154 (main): Reimplement.
13155 * gdb.base/varargs.exp: Run to test instead of to main.
13156 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
13157 (main): Call gdb_unbuffer_output.
13158
58789a91
PA
131592015-07-29 Pedro Alves <palves@redhat.com>
13160
13161 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
13162 factore out from mi_continue_dprintf. For call-style dprintfs,
13163 expect dprintf output out of $inferior_spawn_id.
13164 (mi_continue_dprintf): Use mi_expect_dprintf.
13165 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
13166 (main): Call gdb_unbuffer_output.
13167
e8376742
PA
131682015-07-29 Pedro Alves <palves@redhat.com>
13169
13170 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
13171 (default_mi_gdb_start): Set inferior_spawn_id instead of
13172 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
13173 gdb_spawn_id.
13174 (mi_gdb_test): Always expect inferior output from both
13175 $inferior_spawn_id and $gdb_spawn_id.
13176
08280010
PA
131772015-07-29 Pedro Alves <palves@redhat.com>
13178
13179 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
13180 send_inferior and $inferior_spawn_id.
13181
4d30e432
PA
131822015-07-29 Pedro Alves <palves@redhat.com>
13183
13184 * gdb.gdb/complaints.exp (test_initial_complaints)
13185 (test_serial_complaints, test_short_complaints): Use
13186 gdb_test_stdio.
13187 (test_empty_complaint): Handle $inferior_spawn_id !=
13188 $gdb_spawn_id.
13189
0d30a335
PA
131902015-07-29 Pedro Alves <palves@redhat.com>
13191
13192 * gdb.base/varargs.exp: Use gdb_test_stdio.
13193
39413b29
PA
131942015-07-29 Pedro Alves <palves@redhat.com>
13195
13196 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
13197
7cb000a9
PA
131982015-07-29 Pedro Alves <palves@redhat.com>
13199
13200 * gdb.base/ending-run.exp: Use gdb_test_stdio.
13201
d7b8ac82
PA
132022015-07-29 Pedro Alves <palves@redhat.com>
13203
13204 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
13205 parameter into two new parameters, "inf_result" and "gdb_result".
13206 Expect inferior output and gdb output from $inferior_spawn_id and
13207 $gdb_spawn_id, respectively. Adjust all callers.
13208
789c3a0c
PA
132092015-07-29 Pedro Alves <palves@redhat.com>
13210
13211 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
13212 of gdb_test_sequence.
13213
77e760c3
PA
132142015-07-29 Pedro Alves <palves@redhat.com>
13215
13216 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
13217 (saw_spurious_output): Expect inferior output from
13218 $inferior_spawn_id. Use gdb_test_stdio.
13219
8396d2cd
PA
132202015-07-29 Pedro Alves <palves@redhat.com>
13221
13222 * gdb.base/dprintf.exp: Use standard_testfile. Change
13223 prepare_for_testing call.
13224 (srcfile): Don't set.
13225 (restart): New procedure.
13226 (test_dprintf): New procecure, use to continue over dprintfs.
13227 (test_call, test_agent): New procedures, tests moved here.
13228 Restart gdb and recreate dprintfs. Adjust expected output.
13229
2051d61f
PA
132302015-07-29 Pedro Alves <palves@redhat.com>
13231
13232 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
13233
452397af
PA
132342015-07-29 Pedro Alves <palves@redhat.com>
13235
13236 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
13237
8aed9555
PA
132382015-07-29 Pedro Alves <palves@redhat.com>
13239
13240 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
13241 gdb_test_stdio.
13242
188a61b4
PA
132432015-07-29 Pedro Alves <palves@redhat.com>
13244
13245 * lib/gdb.exp (gdb_test_stdio): New procedure.
13246
12264a45
PA
132472015-07-29 Pedro Alves <palves@redhat.com>
13248
13249 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
13250
23ffc893
PA
132512015-07-29 Pedro Alves <palves@redhat.com>
13252
13253 * gdb.base/call-signal-resume.exp: Remove check for
13254 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
13255 * gdb.base/unwindonsignal.exp: Likewise.
13256 * gdb.base/call-signals.c (gen_signal): Remove printf call.
13257 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
13258
65566918
PA
132592015-07-29 Pedro Alves <palves@redhat.com>
13260
13261 * gdb.base/siginfo-addr.c (pass): New function.
13262 (handler): Call it iff si_addr is correct.
13263 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
13264 Set a breakpoint at "pass" and continue to it.
13265
d60a9221
SDJ
132662015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
13267
13268 * gdb.python/py-objfile.exp: Make some tests have unique names.
13269 * gdb.python/py-pp-registration.exp: Likewise.
13270
bde40b8f
PA
132712015-07-28 Pedro Alves <palves@redhat.com>
13272
13273 * gdb.server/server-exec-info.exp: Issue a "disconnect".
13274
13e1dec8
SM
132752015-07-27 Simon Marchi <simon.marchi@ericsson.com>
13276
13277 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
13278
da33c9a7
SM
132792015-07-27 Simon Marchi <simon.marchi@ericsson.com>
13280
13281 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
13282
077836f7
PP
132832015-07-27 Patrick Palka <patrick@parcs.ath.cx>
13284
13285 * gdb.base/gdb-sigterm-2.exp: New test.
13286
b8cc7b2e
DE
132872015-07-25 Doug Evans <xdje42@gmail.com>
13288
13289 Revert:
13290 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
13291 (workers/%.worker, build-perf): New rule.
13292 (GDB_PERFTEST_MODE): New variable.
13293 (check-perf): Use it.
13294 (clean): Clean up gdb.perf parallel build subdirs.
13295 * lib/build-piece.exp: New file.
13296 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
13297 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
13298 name.
13299 (standard_temp_file): Ditto.
13300 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13301 of $GDB_PARALLEL.
13302
c8bd4544
DE
133032015-07-24 Doug Evans <dje@google.com>
13304
13305 * gdb.perf/lib/perftest/utils.py: New file.
13306 * gdb.perf/gm-hello.cc: New file.
13307 * gdb.perf/gm-pervasive-typedef.cc: New file.
13308 * gdb.perf/gm-pervasive-typedef.h: New file.
13309 * gdb.perf/gm-std.cc: New file.
13310 * gdb.perf/gm-std.h: New file.
13311 * gdb.perf/gm-use-cerr.cc: New file.
13312 * gdb.perf/gm-utils.h: New file.
13313 * gdb.perf/gmonster-null-lookup.py: New file.
13314 * gdb.perf/gmonster-pervasive-typedef.py: New file.
13315 * gdb.perf/gmonster-print-cerr.py: New file.
13316 * gdb.perf/gmonster-ptype-string.py: New file.
13317 * gdb.perf/gmonster-runto-main.py: New file.
13318 * gdb.perf/gmonster-select-file.py: New file.
13319 * gdb.perf/gmonster1-null-lookup.exp: New file.
13320 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
13321 * gdb.perf/gmonster1-print-cerr.exp: New file.
13322 * gdb.perf/gmonster1-ptype-string.exp: New file.
13323 * gdb.perf/gmonster1-runto-main.exp: New file.
13324 * gdb.perf/gmonster1-select-file.exp: New file.
13325 * gdb.perf/gmonster1.cc: New file.
13326 * gdb.perf/gmonster1.exp: New file.
13327 * gdb.perf/gmonster2-null-lookup.exp: New file.
13328 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
13329 * gdb.perf/gmonster2-print-cerr.exp: New file.
13330 * gdb.perf/gmonster2-ptype-string.exp: New file.
13331 * gdb.perf/gmonster2-runto-main.exp: New file.
13332 * gdb.perf/gmonster2-select-file.exp: New file.
13333 * gdb.perf/gmonster2.cc: New file.
13334 * gdb.perf/gmonster2.exp: New file.
13335
6eab34f3
DE
133362015-07-24 Doug Evans <dje@google.com>
13337
13338 * gdb.perf/README: New file.
13339 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
13340 * lib/gen-perf-test.exp: New file.
13341
63738bfd
DE
133422015-07-24 Doug Evans <dje@google.com>
13343
13344 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
13345 (PerfTest::startup): New function.
13346 (PerfTest::run): Return result of calling body.
13347 (PerfTest::assemble): Rewrite.
13348 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
13349 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
13350 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
13351 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
13352 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
13353
7b606f95
DE
133542015-07-24 Doug Evans <dje@google.com>
13355
13356 * lib/gdb.exp (clean_restart): Make executable optional.
13357
a97b16b8
DE
133582015-07-24 Doug Evans <dje@google.com>
13359
13360 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
13361 compiler_info references.
13362 * gdb.cp/temargs.exp: Ditto.
13363 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
13364 (get_compiler_info): Early exit if already computed. Set compiler_info
13365 to "unknown" if there was a problem.
13366 (test_compiler_info): Add function comment. Call get_compiler_info.
13367
35baa57f
DE
133682015-07-24 Doug Evans <dje@google.com>
13369
13370 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
13371 (workers/%.worker, build-perf): New rule.
13372 (GDB_PERFTEST_MODE): New variable.
13373 (check-perf): Use it.
13374 (clean): Clean up gdb.perf parallel build subdirs.
13375 * lib/build-piece.exp: New file.
13376 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
13377 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
13378 name.
13379 (standard_temp_file): Ditto.
13380 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13381 of $GDB_PARALLEL.
13382
6ebea266
DE
133832015-07-24 Doug Evans <dje@google.com>
13384
13385 * lib/future.exp (gdb_default_target_compile): New option
13386 "early_flags".
13387 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
13388 --as-needed.
13389
1e76a7e9
SDJ
133902015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
13391
13392 * gdb.base/catch-syscall.exp: Call gdb_exit before
13393 gdb_skip_xml_test.
13394
5068630a
PA
133952015-07-24 Pedro Alves <palves@redhat.com>
13396
13397 * gdb.python/py-events.exp: Accept output between the stop event
13398 and the prompt.
13399 * gdb.python/py-evsignal.exp: Likewise.
13400 * gdb.python/py-evthreads.exp: Likewise.
13401
77598427
PA
134022015-07-24 Pedro Alves <palves@redhat.com>
13403
13404 PR gdb/18717
13405 * gdb.threads/non-ldr-exit.c: New file.
13406 * gdb.threads/non-ldr-exit.exp: New file.
13407
11e6c98f
YQ
134082015-07-24 Yao Qi <yao.qi@linaro.org>
13409
13410 * gdb.server/ext-wrapper.exp: Test --wrapper option when
13411 restarting process.
13412
51aee833
YQ
134132015-07-24 Yao Qi <yao.qi@linaro.org>
13414
13415 * gdb.server/ext-restart.exp: New file.
13416
8cfe207c
YQ
134172015-07-24 Yao Qi <yao.qi@linaro.org>
13418
13419 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
13420 argument options.
13421 * gdb.server/ext-wrapper.exp: New file.
13422
cc12ce38
DE
134232015-07-23 Doug Evans <dje@google.com>
13424
13425 * gdb.dwarf2/dw2-dummy-cu.S: New file.
13426 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
13427
d0d84780
PMR
134282015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
13429
13430 * gdb.ada/var_arr_typedef.exp: New testcase.
13431 * gdb.ada/var_arr_typedef/pack.adb: New file.
13432 * gdb.ada/var_arr_typedef/pack.ads: New file.
13433 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
13434
8b558f79
JB
134352015-07-20 Joel Brobecker <brobecker@adacore.com>
13436
13437 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
13438
775a3298
JK
134392015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13440
13441 * gdb.arch/i386-biarch-core.exp: Replace istarget
13442 by "complete set gnutarget". Remove expectation for the "core-file"
13443 command.
13444
db1ff28b
JK
134452015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13446
13447 Revert the previous commit:
13448 Tests for validate symbol file using build-id.
13449
0a94970d
JK
134502015-07-15 Aleksandar Ristovski <aristovski@qnx.com
13451
13452 Tests for validate symbol file using build-id.
13453 * gdb.base/solib-mismatch-lib.c: New file.
13454 * gdb.base/solib-mismatch-libmod.c: New file.
13455 * gdb.base/solib-mismatch.c: New file.
13456 * gdb.base/solib-mismatch.exp: New file.
13457
03346981
SL
134582015-07-15 Sandra Loosemore <sandra@codesourcery.com>
13459
13460 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
13461 nios2-*-linux*.
13462 * gdb.base/sigbpt.exp (stepi_out): Likewise.
13463 * gdb.base/siginfo.exp: Likewise.
13464 * gdb.base/sigstep.exp (advance, advancei): Likewise.
13465
42422cc7
PL
134662015-07-15 Pierre Langlois <pierre.langlois@arm.com>
13467
13468 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
13469 Move it to ...
13470 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
13471 ... here.
13472 * gdb.trace/range-stepping.exp: Check that the target supports
13473 range stepping.
13474
cfa68bae
JK
134752015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13476
13477 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
13478
8ffdba26
PA
134792015-07-14 Pedro Alves <palves@redhat.com>
13480
13481 * gdb.base/killed-outside.exp: New file.
13482 * gdb.base/killed-outside.c: New file.
13483
218a5a11
JK
134842015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
13485
13486 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
13487 (n at main): New.
13488 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
13489
e03ed3c6
AA
134902015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
13491
13492 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
13493 infcall tests instead of setting up for KFAIL.
13494
485668e5
MM
134952015-07-10 Markus Metzger <markus.t.metzger@intel.com>
13496
13497 * gdb.btrace/record_goto-step.exp: New.
13498
08464196
JK
134992015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13500
13501 PR compile/18484
13502 * gdb.compile/compile.c (struct struct_type): Add volatile to
13503 selffield's type.
13504 * gdb.compile/compile.exp
13505 (compile code struct_object.selffield = &struct_object): Skip further
13506 struct_object tests if this one xfails.
13507
bcf5c1d9
RC
135082015-07-08 Robert O'Callahan <robert@ocallahan.org>
13509
13510 PR exp/18617
13511 * gdb.trace/ax.exp: Add test.
13512
4931af25
YQ
135132015-07-07 Yao Qi <yao.qi@linaro.org>
13514
13515 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
13516 instead of istarget "aarch64*-*-*".
13517 * gdb.arch/aarch64-fp.exp: Likewise.
13518 * gdb.base/float.exp: Likewise.
13519 * gdb.reverse/aarch64.exp: Likewise.
13520 * lib/gdb.exp (is_aarch64_target): New proc.
13521
9fcf688e
YQ
135222015-07-07 Yao Qi <yao.qi@linaro.org>
13523
13524 * lib/gdb.exp (is_aarch32_target): New proc.
13525 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
13526 instead of "istarget "arm*-*-*"".
13527 * gdb.arch/arm-disp-step.exp: Likewise.
13528 * gdb.arch/thumb-bx-pc.exp: Likewise.
13529 * gdb.arch/thumb-prologue.exp: Likewise.
13530 * gdb.arch/thumb-singlestep.exp: Likewise.
13531 * gdb.base/disp-step-syscall.exp: Likewise.
13532 * gdb.base/float.exp: Likewise.
13533
fbd8d50d
YQ
135342015-07-07 Yao Qi <yao.qi@linaro.org>
13535
13536 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
13537 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
13538
71be1fdc
YQ
135392015-07-07 Yao Qi <yao.qi@linaro.org>
13540
13541 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
13542 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
13543 if it exists.
13544 * gdb.multi/multi-arch.exp: Likewise.
13545
3e221d36
SM
135462015-07-07 Simon Marchi <simon.marchi@ericsson.com>
13547
13548 * gdb.python/py-lazy-string.exp: Add missing parentheses to
13549 print.
13550
d441430b
YQ
135512015-07-07 Yao Qi <yao.qi@linaro.org>
13552
13553 * gdb.arch/thumb-singlestep.exp: Do one more single step.
13554
06f810bd
MG
135552015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
13556
13557 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
13558 '[' and ']' characters.
13559
5e61e7c0
IB
135602015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
13561
13562 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
13563
28bf096c
PA
135642015-06-29 Pedro Alves <palves@redhat.com>
13565
13566 PR threads/18127
13567 * gdb.threads/hand-call-new-thread.c: New file.
13568 * gdb.threads/hand-call-new-thread.c: New file.
13569
ee93cd5e
KS
135702015-06-26 Keith Seitz <keiths@redhat.com>
13571 Doug Evans <dje@google.com>
13572
13573 PR 16253
13574 * gdb.cp/var-tag-2.cc: New file.
13575 * gdb.cp/var-tag-3.cc: New file.
13576 * gdb.cp/var-tag-4.cc: New file.
13577 * gdb.cp/var-tag.cc: New file.
13578 * gdb.cp/var-tag.exp: New file.
13579
fc637f04
PP
135802015-06-26 Patrick Palka <patrick@parcs.ath.cx>
13581
13582 * gdb.base/history-duplicates.exp: New test.
13583
2e52ae68
PP
135842015-06-26 Patrick Palka <patrick@parcs.ath.cx>
13585
13586 * gdb.base/completion.exp: Test the completion of the "focus"
13587 command.
13588
6e22494e
JK
135892015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13590
13591 * gdb.arch/amd64-prologue-skip.S: New file.
13592 * gdb.arch/amd64-prologue-skip.exp: New file.
13593
bf7b9cd9
SM
135942015-06-25 Simon Marchi <simon.marchi@ericsson.com>
13595
13596 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
13597 is_address_zero_readable check.
13598
201e8dfd
PB
135992015-06-24 Peter Bergner <bergner@vnet.ibm.com>
13600
13601 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
13602 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
13603
5cd867b4
YQ
136042015-06-24 Yao Qi <yao.qi@linaro.org>
13605
13606 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
13607 linux targets.
13608
4d7be007
YQ
136092015-06-24 Yao Qi <yao.qi@linaro.org>
13610
13611 * lib/gdb.exp (supports_get_siginfo_type): New proc.
13612 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
13613 * gdb.base/siginfo-thread.exp: Likewise.
13614
07fcd301
YQ
136152015-06-22 Yao Qi <yao.qi@linaro.org>
13616
13617 * boards/remote-gdbserver-on-localhost.exp: Add comments.
13618
52042a00
YQ
136192015-06-22 Yao Qi <yao.qi@linaro.org>
13620
13621 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
13622 aarch64*-*-*.
13623 (skip_hw_watchpoint_tests): Likewise.
13624
74bd41ce
PP
136252015-06-18 Patrick Palka <patrick@parcs.ath.cx>
13626
13627 * gdb.base/gdbinit-history.exp: Test the interaction between
13628 setting GDBHISTSIZE and setting the history size via .gdbinit.
13629
bc460514
PP
136302015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13631
13632 PR gdb/16999
13633 * gdb.base/gdbhistsize-history.exp: New test.
13634
b58c513b
PP
136352015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13636
13637 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
13638 with GDBHISTSIZE.
13639 * gdb.base/readline.exp: Likewise.
13640
92046791
YQ
136412015-06-17 Yao Qi <yao.qi@linaro.org>
13642
13643 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
13644 line.
13645
2093d2d3
PP
136462015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13647
13648 * gdb.base/gdbinit-history.exp: Add test case to check that
13649 an unlimited history file does not get truncated on exit.
13650
e6c693af
AA
136512015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13652
13653 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
13654 (VECTOR): New macro. Use it...
13655 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
13656 ...for these typedefs.
13657 (int8, char1, int1, double1): New typedefs.
13658 (struct just_int2, struct two_int2): New structures.
13659 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
13660 (add_structvecs, add_singlevecs): New functions.
13661 (main): Call add_some_intvecs twice.
13662 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
13663 the compile and exit upon failure. Try compiling for the "native"
13664 architecture. Test inferior function calls with vector arguments
13665 and vector return value handling with "finish" and "return".
13666
c74f7d1c
JT
136672015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
13668
13669 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
13670 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
13671 PE file.
13672 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
13673
98aa42ee
AT
136742015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
13675
13676 PR breakpoints/16465
13677 * gdb.mi/mi-dprintf-pending.c: New file.
13678 * gdb.mi/mi-dprintf-pending.exp: New test.
13679 * gdb.mi/mi-dprintf-pendshr.c: New file.
13680
7d73c23c 136812015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 13682 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
13683
13684 * gdb.arch/i386-mpx-map.c: New file.
13685 * gdb.arch/i386-mpx-map.exp: New File.
13686
136872015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13688
13689 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
13690 * gdb.arch/i386-mpx.exp: Indentation fixed.
13691
136922015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13693
13694 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
13695 function and improved indentation.
13696 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
13697 gdb_test_multiple. Added additional tests to skip the test.
13698
136992015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13700
13701 * gdb.arch/i386-avx512.c: Change path in include file.
13702 * gdb.arch/i386-avx512.exp: Change include dir path
13703 compilation flag.
13704 * gdb.arch/i386-mpx.c: Change path in include file.
13705 * gdb.arch/i386-mpx.exp: Change include dir path compilation
13706 flag.
13707
d5eba19a
JK
137082015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
13709
13710 * gdb.compile/compile-print.exp (compile print *vararray@3)
13711 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
13712
7f361056
JK
137132015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13714
13715 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
13716 (do not keep jit in memory): ... this.
13717 (expect 5): Change it to ...
13718 (expect no 5): ... this.
13719
3b462ec2
SM
137202015-06-02 Simon Marchi <simon.marchi@ericsson.com>
13721
13722 PR gdb/15564
13723 * gdb.mi/mi-detach.exp: New file.
13724
e0619de6
JK
137252015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13726
13727 PR symtab/18392
13728 * gdb.arch/amd64-tailcall-self.S: New file.
13729 * gdb.arch/amd64-tailcall-self.c: New file.
13730 * gdb.arch/amd64-tailcall-self.exp: New file.
13731
e970cb34
DB
137322015-05-28 Don Breazeal <donb@codesourcery.com>
13733
13734 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
13735 tests for remote targets by checking is_target_gdbserver.
13736
b2e2f908
DE
137372015-05-27 Doug Evans <dje@google.com>
13738
13739 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
13740 * gdb.dwarf2/opaque-type-lookup.c: New file.
13741 * gdb.dwarf2/opaque-type-lookup.exp: New file.
13742
82c7be31
DE
137432015-05-26 Doug Evans <dje@google.com>
13744
13745 * gdb.cp/iostream.cc: New file.
13746 * gdb.cp/iostream.exp: New file.
13747
b4f54984
DE
137482015-05-26 Doug Evans <dje@google.com>
13749
13750 * gdb.dwarf2/dw2-op-call.exp: Update.
13751 * gdb.dwarf2/dw4-sig-types.exp: Update.
13752 * gdb.dwarf2/implptr.exp: Update.
13753 * gdb.mi/mi-cmd-param-changed.exp: Update.
13754
4ea6efe9
DE
137552015-05-26 Doug Evans <dje@google.com>
13756
13757 * gdb.python/py-lazy-string.c: New file.
13758 * gdb.python/py-lazy-string.exp: New file.
13759 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
13760 (main): Update. Add estring3.
13761 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
13762 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
13763
f6bb7db3
YQ
137642015-05-26 Omair Javaid <omair.javaid@linaro.org>
13765 Yao Qi <yao.qi@linaro.org>
13766
13767 * gdb.reverse/aarch64.c: New.
13768 * gdb.reverse/aarch64.exp: New.
13769
a81bfbd0
OJ
137702015-05-26 Omair Javaid <omair.javaid@linaro.org>
13771
25d49b86
PA
13772 * lib/gdb.exp (supports_process_record): Return true for
13773 aarch64*-linux*.
a81bfbd0
OJ
13774 (supports_reverse): Likewise.
13775
158bf1b4
PP
137762015-05-22 Patrick Palka <patrick@parcs.ath.cx>
13777
13778 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13779 Use with_test_prefix.
13780
a0145030
AB
137812015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
13782
13783 * gdb.base/completion.exp: Add test for completion of layout
13784 names.
13785
ebe3b578
AB
137862015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
13787
13788 * lib/gdb.exp (skip_tui_tests): New proc.
13789 * gdb.base/tui-layout.exp: Check skip_tui_tests.
13790
84204ed7
PA
137912015-05-19 Pedro Alves <palves@redhat.com>
13792
13793 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13794 Save the whole env array instead of just HOME. Unset HISTSIZE in
13795 the environment while testing. Restore whole environment
13796 afterwards.
13797
37442ce1
DE
137982015-05-16 Doug Evans <xdje42@gmail.com>
13799
13800 * gdb.guile/scm-ports.c: New file.
13801 * gdb.guile/scm-ports.exp: Add memory port tests.
13802
36de76f9
JK
138032015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13804
13805 * gdb.compile/compile-print.c: New file.
13806 * gdb.compile/compile-print.exp: New file.
13807
3a9558c4
JK
138082015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13809
13810 * gdb.compile/compile-ops.exp: Cast param to void.
13811 * gdb.compile/compile.exp: Complete type for _gdb_expr.
13812 (compile code struct_object.selffield = &struct_object): Add xfail.
13813
aa715135
JG
138142015-05-15 Joel Brobecker <brobecker@adacore.com>
13815
13816 * gdb.ada/arr_enum_with_gap: New testcase.
13817
931e5bc3
JG
138182015-05-15 Joel Brobecker <brobecker@adacore.com>
13819
13820 * gdb.ada/byte_packed_arr: New testcase.
13821
9cd4d857
JB
138222015-05-15 Joel Brobecker <brobecker@adacore.com>
13823
13824 * gdb.ada/pckd_neg: New testcase.
13825
ebfd00d2
PP
138262015-05-13 Patrick Palka <patrick@parcs.ath.cx>
13827
13828 PR gdb/17820
13829 * gdb.base/gdbinit-history.exp: New test.
13830 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
13831 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
13832
4c082a81
SC
138332015-05-09 Siva Chandra Reddy <sivachandra@google.com>
13834
13835 * gdb.python/py-xmethods.cc: Enhance test case.
13836 * gdb.python/py-xmethods.exp: New tests.
13837 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
13838 function.
13839 (B_indexoper): Likewise.
13840 (global_dm_list) : Add new xmethod worker functions.
13841
f7797074
SDJ
138422015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
13843
13844 * gdb.base/coredump-filter.exp: Correctly unset
13845 "coredump_var_addr" array.
13846
a4674e4e
PA
138472015-05-08 Pedro Alves <palves@redhat.com>
13848
13849 * gdb.server/non-existing-program.exp: Unset spawn_id.
13850
df2eb078
SC
138512015-05-08 Siva Chandra Reddy <sivachandra@google.com>
13852
13853 PR python/18291
13854 * gdb.python/py-xmethods.exp: Add tests.
13855
422349a3
YQ
138562015-05-08 Yao Qi <yao.qi@linaro.org>
13857
13858 PR gdb/18208
13859 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
13860 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
13861 function set_coredump_filter, and remove remote_exec call.
13862 Remove argument ipid. Callers update.
13863 (top level): Don't get inferior's PID.
13864
63fc80ce
AA
138652015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
13866
13867 * gdb.base/watch_thread_num.exp: Skip test on targets without
13868 access watchpoints.
13869
80ad801e
PA
138702015-05-06 Pedro Alves <palves@redhat.com>
13871
13872 PR server/18081
13873 * gdb.server/non-existing-program.exp: New file.
13874
0fa7fe50
JB
138752015-05-05 Joel Brobecker <brobecker@adacore.com>
13876
13877 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
13878
3ea89b92
PMR
138792015-05-05 Joel Brobecker <brobecker@adacore.com>
13880
13881 * gdb.ada/out_of_line_in_inlined: New testcase.
13882
87b8eff0
JB
138832015-05-05 Joel Brobecker <brobecker@adacore.com>
13884
13885 * gdb.ada/var_rec_arr: New testcase.
13886
5fccc635
YQ
138872015-04-30 Yao Qi <yao.qi@linaro.org>
13888
13889 * gdb.base/break-idempotent.exp: If
13890 skip_hw_watchpoint_multi_tests returns true, skip the tests
13891 on "rwatch" and "awatch".
13892
42d38f42
YQ
138932015-04-30 Yao Qi <yao.qi@linaro.org>
13894
13895 * gdb.base/relativedebug.exp: Invoke gdb command
13896 "info sharedlibrary", and if libc.so doesn't have debug info,
13897 skip the test.
13898
2ce1cdbf
DE
138992015-04-29 Doug Evans <dje@google.com>
13900
13901 * gdb.python/py-xmethods.exp: Add ptype tests.
13902 * gdb.python/py-xmethods.py (E_method_char_worker): Add
13903 get_result_type method.
13904
f24a38c5
LM
139052015-04-29 Luis Machado <lgustavo@codesourcery.com>
13906
13907 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
13908 the target does not support hardware watchpoints.
13909
ecbf2b3c
LM
139102015-04-29 Luis Machado <lgustavo@codesourcery.com>
13911
13912 * gdb.base/break-always.exp: Abort testing if writing to memory
13913 causes an error.
13914
34f5f757
DE
139152015-04-28 Doug Evans <dje@google.com>
13916
13917 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
13918 * gdb.python/py-pp-registration.exp: ... here. New file.
13919 * gdb.python/py-pp-registration.c: New file.
13920 * gdb.python/py-pp-registration.py: New file.
13921
69b4374a
DE
139222015-04-28 Doug Evans <dje@google.com>
13923
13924 * gdb.python/py-bad-printers.c: New file.
13925 * gdb.python/py-bad-printers.py: New file.
13926 * gdb.python/py-bad-printers.exp: New file.
13927
59fb7612
SS
139282015-04-28 Sasha Smundak <asmundak@google.com>
13929
13930 * gdb.python/py-type.exp: New test.
13931
2631b16a
AW
139322015-04-28 Andy Wingo <wingo@igalia.com>
13933
13934 * gdb.python/py-parameter.exp:
13935 * gdb.guile/scm-parameter.exp: Escape the path that we are
13936 matching against, as it might contain characters that are special
13937 to regular expressions.
13938
460efde1
JB
139392015-04-27 Joel Brobecker <brobecker@adacore.com>
13940
13941 * gdb.ada/rec_comp: New testcase.
13942
2d369d8e
SDJ
139432015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
13944
13945 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
13946 before using it.
13947
cf75d6c3
AB
139482015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
13949
13950 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
13951 new tests for verilog output.
13952
8dbe7ca5
YQ
139532015-04-24 Yao Qi <yao.qi@linaro.org>
13954
13955 * boards/remote-gdbserver-on-localhost.exp: New file.
13956
4ef9fb2f
PA
139572015-04-23 Pedro Alves <palves@redhat.com>
13958
13959 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
13960 $inferior_spawn_id instead of $inferior_spawn_id directly. On
13961 "end of file", remove $inferior_spawn_id from the indirect list.
13962
0a803169
PA
139632015-04-23 Pedro Alves <palves@redhat.com>
13964
13965 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
13966
749ef8f8
PA
139672015-04-23 Pedro Alves <palves@redhat.com>
13968
13969 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
13970 on $any_spawn_id instead of only on $gdb_spawn_id.
13971
8aae4344
PM
139722015-04-21 Pierre Muller <muller@sourceware.org>
13973
13974 PR pascal/17815
13975 * lib/pascal.exp (gpc_compile): Add new option "class".
13976 (fpc_compile): Likewise.
13977 * gdb.pascal/case-insensitive-symbols.pas: New file.
13978 * gdb.pascal/case-insensitive-symbols.exp: New file.
13979
1586c8fb
GB
139802015-04-20 Gary Benson <gbenson@redhat.com>
13981
13982 * gdb.base/attach.exp: Fix three extended remote failures.
13983
1b6e6f5c
GB
139842015-04-17 Gary Benson <gbenson@redhat.com>
13985
13986 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
13987 the main executable over the remote protocol.
13988
e797481d
PA
139892015-04-16 Pedro Alves <palves@redhat.com>
13990
13991 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
13992 a new gdbserver if gdbserver_reconnect_p is set.
13993
1ca99c42
PA
139942015-04-16 Pedro Alves <palves@redhat.com>
13995
13996 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
13997 is set, don't exit gdbserver.
13998
af9fd6f8
AA
139992015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
14000
14001 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
14002 appropriate .insn, such that an older assembler can be used.
14003 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
14004 the z/Architecture instruction set on 31-bit targets as well.
14005
04ff1e61
AA
140062015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
14007
14008 * gdb.go/handcall.exp: Remove all logic related to the first
14009 breakpoint and rely on go_runto_main instead.
14010 * gdb.go/strings.exp: Likewise.
14011 * gdb.go/unsafe.exp: Likewise.
14012 * gdb.go/hello.exp: Likewise. Also rename the remaining
14013 breakpoint marker to "breakpoint 1".
14014 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
14015 * gdb.go/strings.go: Likewise.
14016 * gdb.go/unsafe.go: Likewise.
14017 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
14018 "set breakpoint 2 here" and rename the remaining breakpoint marker
14019 to "breakpoint 1".
14020
40d2f8d6
SM
140212015-04-15 Simon Marchi <simon.marchi@ericsson.com>
14022
14023 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
14024 if itertools.imap is not present.
14025 * gdb.python/py-objfile.exp: Add parentheses.
14026 * gdb.python/py-type.exp: Same.
14027 * gdb.python/py-unwind-maint.py: Same.
14028
8cbc97c6
YQ
140292015-04-15 Yao Qi <yao.qi@linaro.org>
14030
14031 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
14032 of ":$ptr_size" and set its form explicitly.
14033
45fd756c
YQ
140342015-04-15 Pedro Alves <palves@redhat.com>
14035 Yao Qi <yao.qi@linaro.org>
14036
14037 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
14038 timeout by factor of 4.
14039 (test_regular_watch): Likewise.
14040 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
14041 * gdb.reverse/sigall-reverse.exp: Likewise.
14042 * gdb.reverse/until-precsave.exp: Likewise.
14043 * lib/gdb.exp (with_timeout_factor): New proc.
14044 (gdb_expect): Move some code to ...
14045 (get_largest_timeout): ... here. New procedure.
14046
9e811bc3
LM
140472015-04-14 Luis Machado <lgustavo@codesourcery.com>
14048
14049 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
14050
0ff6fcb2
LM
140512015-04-13 Luis Machado <lgustavo@codesourcery.com>
14052
14053 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
14054 to write to the .text section.
14055
7578d5f7
LM
140562015-04-13 Luis Machado <lgustavo@codesourcery.com>
14057
14058 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
14059 Handle the case of targets that do not provide PID information.
14060
2efe15c4
YQ
140612015-04-13 Yao Qi <yao.qi@linaro.org>
14062
14063 * lib/gdbserver-support.exp (gdb_exit): Catch exception
14064 and use expect instead of gdb_expect.
14065
8cd8f2f8
SDJ
140662015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
14067
14068 * gdb.base/coredump-filter.exp: Rename variable "addr" to
14069 "coredump_var_addr" to avoid naming conflict with other testcases.
14070
9ee41772
PA
140712015-04-10 Pedro Alves <palves@redhat.com>
14072
14073 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
14074 gdb_test_sequence and gdb_assert.
14075
07473109
PA
140762015-04-10 Pedro Alves <palves@redhat.com>
14077
14078 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
14079 test messages that don't include the breakpoint address.
14080
de3db44c
YQ
140812015-04-10 Yao Qi <yao.qi@linaro.org>
14082
14083 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
14084 false for some offset and width combinations which aren't
14085 supported by linux kernel.
14086
c79d856c
PA
140872015-04-10 Pedro Alves <palves@redhat.com>
14088
14089 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
14090 procedure, factored out from ...
14091 (top level): ... here. Add "set displaced-stepping" testing axis.
14092 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
14093 parameter "displaced". Use it.
14094 (top level): Use foreach and add "set displaced-stepping" testing
14095 axis.
14096
ebc90b50
PA
140972015-04-10 Pedro Alves <palves@redhat.com>
14098
14099 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
14100 Remove comment.
14101 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
14102 both the address of the instruction that triggers the watchpoint
14103 and the address of the instruction immediately after, and use
14104 those addresses for the test. Fix comment.
14105
8f572e5c
PA
141062015-04-10 Pedro Alves <palves@redhat.com>
14107
14108 * gdb.base/sigstep.exp (breakpoint_to_handler)
14109 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
14110 Test "backtrace" in handler.
14111 (breakpoint_over_handler): New parameter 'displaced'. Use it.
14112 (top level): Add new "displaced" test axis to
14113 breakpoint_to_handler, breakpoint_to_handler_entry and
14114 breakpoint_over_handler.
14115
8d707a12
PA
141162015-04-10 Pedro Alves <palves@redhat.com>
14117
14118 PR gdb/18216
14119 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
14120
ef713951
YQ
141212015-04-10 Yao Qi <yao.qi@linaro.org>
14122
14123 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
14124 (test_add_rn_pc): New function.
14125 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
14126 (top level): Invoke test_add_rn_pc.
14127
906d60cf
PA
141282015-04-10 Pedro Alves <palves@redhat.com>
14129
14130 PR gdb/13858
14131 * gdb.base/step-over-no-symbols.exp: New file.
14132
f2983cc3
AW
141332015-04-09 Andy Wingo <wingo@igalia.com>
14134
14135 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
14136 after the Python tests.
14137
6d62641c
SDJ
141382015-04-08 Keith Seitz <keiths@redhat.com>
14139
14140 PR python/16699
14141 * gdb.python/py-completion.exp: New tests for completion.
14142 * gdb.python/py-completion.py (CompleteLimit1): New class.
14143 (CompleteLimit2): Likewise.
14144 (CompleteLimit3): Likewise.
14145 (CompleteLimit4): Likewise.
14146 (CompleteLimit5): Likewise.
14147 (CompleteLimit6): Likewise.
14148 (CompleteLimit7): Likewise.
14149
f3770638
PA
141502015-04-08 Pedro Alves <palves@redhat.com>
14151
14152 PR gdb/18214
14153 PR gdb/18216
14154 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
14155 function.
14156 (main): Install it as SIGUSR1 handler.
14157 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
14158 parameter. Always use "setup" as prefix. Toggle "set
14159 displaced-stepping" off/on depending on global. Don't switch to
14160 thread 1 here.
14161 (top level): Add displaced stepping "off/on" test axis. Update
14162 "setup" calls. Wrap each subtest with with_test_prefix. Test
14163 continuing with a queued signal in each thread.
14164
4496bed7
PA
141652015-04-08 Pedro Alves <palves@redhat.com>
14166
14167 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
14168 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
14169 gdb_breakpoint instead of gdb_test that doesn't expect anything.
14170 Return early if running to main fails.
14171 * gdb.trace/while-stepping.exp: Likewise.
14172
b97fde92
PA
141732015-04-07 Pedro Alves <palves@redhat.com>
14174
14175 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
14176 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
14177 interact with inferior program.
14178
f71c18e7
PA
141792015-04-07 Pedro Alves <palves@redhat.com>
14180
14181 * lib/gdb.exp (inferior_spawn_id): New global.
14182 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
14183 spawn id after processing the user code.
14184 (default_gdb_start): Set inferior_spawn_id.
14185 (send_inferior): New procedure.
14186 * lib/gdbserver-support.exp (gdbserver_start): Set
14187 inferior_spawn_id.
14188 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
14189
6423214f
PA
141902015-04-07 Pedro Alves <palves@redhat.com>
14191
14192 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
14193 * lib/gdbserver-support.exp (gdbserver_start): Make
14194 $server_spawn_id global.
14195 (gdbserver_start): Don't wait for gdbserver's spawn id with
14196 expect_background.
14197 (close_gdbserver): New procedure.
14198 (gdb_exit): Rename the default version and reimplement.
14199
71c0ee8c
PA
142002015-04-07 Pedro Alves <palves@redhat.com>
14201
72f4393d 14202 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
14203 append the substituted item, not the original item.
14204
203bc29b
PA
142052015-04-07 Pedro Alves <palves@redhat.com>
14206
14207 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
14208 gdb_expect.
14209
508a3ddf
PA
142102015-04-07 Pedro Alves <palves@redhat.com>
14211
14212 * gdb.base/interrupt.exp: Don't handle the case of the inferior
14213 output appearing once only.
14214
9f6dbe2b
PA
142152015-04-07 Pedro Alves <palves@redhat.com>
14216
14217 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
14218 that doesn't expect anything. Return early if running to main
14219 fails.
14220
337532fa
YQ
142212015-04-07 Yao Qi <yao.qi@linaro.org>
14222
14223 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
14224 (child_function): Call alarm.
14225 (main): Move call to alarm into the loop.
14226 * gdb.threads/non-stop-fair-events.exp: Build program with
14227 -DTIMEOUT=$timeout.
14228
01b622d4
DE
142292015-04-06 Doug Evans <xdje42@gmail.com>
14230
14231 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
14232 Fix dest parameter to board_info.
14233 (fpc_compile): Ditto.
14234 (gdb_compile_pascal): Rename dest arg to destfile.
14235
961f4160
PMR
142362015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
14237
14238 * gdb.ada/funcall_ref.exp: New file.
14239 * gdb.ada/funcall_ref/foo.adb: New file.
14240
cafda597
YQ
142412015-04-02 Yao Qi <yao.qi@linaro.org>
14242
14243 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
14244 is remote.
14245
fed040c6
GB
142462015-04-02 Gary Benson <gbenson@redhat.com>
14247
14248 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
14249
d11916aa
SS
142502015-04-01 Sasha Smundak <asmundak@google.com>
14251
14252 * gdb.python/py-unwind-maint.c: New file.
14253 * gdb.python/py-unwind-maint.exp: New test.
14254 * gdb.python/py-unwind-maint.py: New file.
14255 * gdb.python/py-unwind.c: New file.
14256 * gdb.python/py-unwind.exp: New test.
14257 * gdb.python/py-unwind.py: New test.
14258
a1471180
PA
142592015-04-01 Pedro Alves <palves@redhat.com>
14260
14261 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
14262 to fail instead of non-existent $test.
14263
0bbeccb1
PA
142642015-04-01 Pedro Alves <palves@redhat.com>
14265
14266 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
14267 GDBFLAGS if not empty.
14268
3c724c8c
PMR
142692015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
14270
14271 * gdb.ada/complete.exp: Remove "multi_line".
14272 * gdb.ada/info_exc.exp: Remove "multi_line".
14273 * gdb.ada/packed_tagged.exp: Remove "multi_line".
14274 * gdb.ada/ptype_field.exp: Remove "multi_line".
14275 * gdb.ada/sym_print_name.exp: Remove "multi_line".
14276 * gdb.ada/tagged.exp: Remove "multi_line".
14277 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
14278 [multi_line ...]
14279 * gdb.btrace/delta.exp: Likewise.
14280 * gdb.btrace/exception.exp: Likewise.
14281 * gdb.btrace/function_call_history.exp: Likewise.
14282 * gdb.btrace/instruction_history.exp: Likewise.
14283 * gdb.btrace/nohist.exp: Likewise.
14284 * gdb.btrace/record_goto.exp: Likewise.
14285 * gdb.btrace/segv.exp: Likewise.
14286 * gdb.btrace/stepi.exp: Likewise.
14287 * gdb.btrace/tailcall.exp: Likewise.
14288 * gdb.btrace/unknown_functions.exp: Likewise.
14289 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
14290 * lib/gdb.exp: Add the "multi_line" helper.
14291
4eec2deb
PA
142922015-04-01 Pedro Alves <palves@redhat.com>
14293
14294 * gdb.threads/tid-reuse.c: New file.
14295 * gdb.threads/tid-reuse.exp: New file.
14296
df8411da
SDJ
142972015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
14298
14299 PR corefiles/16092
14300 * gdb.base/coredump-filter.c: New file.
14301 * gdb.base/coredump-filter.exp: Likewise.
14302
6ef37366
PM
143032015-03-27 Petr Machata <pmachata@redhat.com>
14304
14305 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
14306 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
14307 (Dwarf::assemble): Initialize them.
14308 (Dwarf::lines): New function.
14309
7ec911b0
JT
143102015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
14311
14312 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
14313 SYMBOL_PREFIX for x86_64-*-cygwin.
14314
ff908ebf
AW
143152015-03-26 Andy Wingo <wingo@igalia.com>
14316
14317 PR symtab/18148
14318 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
14319 const_value but not a location.
14320 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
14321 location defined in non-main CUs are visible.
14322
6d5f0679
YQ
143232015-03-26 Yao Qi <yao.qi@linaro.org>
14324
14325 PR testsuite/18139
14326 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
14327 Add a line number entry for the same line.
14328 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
14329 Add a line number entry for the same line.
14330
2898689b
YQ
143312015-03-26 Yao Qi <yao.qi@linaro.org>
14332
14333 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
14334 .int 0.
14335 (func): Likewise. Add .Lfunc_1 label.
14336 Use .Lfunc_1 label.
14337 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
14338 .int 0.
14339 (func): Likewise.
14340 Use .Lfunc_1 label.
14341
85180498
YQ
143422015-03-26 Yao Qi <yao.qi@linaro.org>
14343
14344 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
14345 Call gdb_compile instead to compile each .s files without debug
14346 information.
14347
8aa08a8d
YQ
143482015-03-26 Yao Qi <yao.qi@linaro.org>
14349
14350 * gdb.base/savedregs.exp (process_saved_regs): Make
14351 "Saved registers:" optional in the pattern.
14352
66849923
MM
143532015-03-25 Markus Metzger <markus.t.metzger@intel.com>
14354
14355 * gdb.btrace/next.exp: Merged into step.exp.
14356 * gdb.btrace/finish.exp: Merged into step.exp.
14357 * gdb.btrace/nexti.exp: Merged into stepi.exp.
14358 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
14359 "record goto" and checking the exact replay position.
14360 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
14361 check for "Recording format" in "info record" output.
14362 * gdb.btrace/record_goto.exp: Choose test file based on target.
14363 * gdb.btrace/x86-record_goto.S: Renamed into ...
14364 * gdb.btrace/x86_64-record_goto.S: ... this.
14365 * gdb.btrace/i686-record_goto.S: New.
14366 * gdb.btrace/x86-tailcall.S: Renamed into ...
14367 * gdb.btrace/x86_64-tailcall.S: ... this.
14368 * gdb.btrace/i686-tailcall.S: New.
14369 * gdb.btrace/x86-tailcall.c: Renamed into ...
14370 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
14371 separate statements. Update test.
14372 * gdb.btrace/delta.exp: Use record_goto.c as test file.
14373 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
14374 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
14375 * gdb.btrace/tailcall.exp: Choose test file based on target.
14376 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
14377
11cc1b74
MM
143782015-03-25 Markus Metzger <markus.t.metzger@intel.com>
14379
14380 * gdb.btrace/exception.exp: Increase BTS buffer size.
14381
a25d8bf9
PA
143822015-03-24 Pedro Alves <palves@redhat.com>
14383
14384 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
14385
856e7dd6
PA
143862015-03-24 Pedro Alves <palves@redhat.com>
14387
14388 * gdb.threads/schedlock.exp (test_step): No longer expect that
14389 "set scheduler-locking step" with "next" over a function call runs
14390 threads unlocked.
14391
ad235a41
AT
143922015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
14393
14394 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
14395
15630549
AT
143962015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
14397
14398 PR breakpoints/16466
14399 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
14400 * gdb.mi/mi-pending.c (thread_func): New function.
14401 (int main): Add threading support required.
14402 * gdb.mi/mi-pending.exp: Add tests for this issue.
14403 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
14404 (pendfunc2): Remove stdio dependency.
14405 * gdb.mi/mi-pendshr2.c: New file.
14406
693dca06
KS
144072015-03-23 Keith Seitz <keiths@redhat.com>
14408
14409 * gdb.linespec/keywords.c: New file.
14410 * gdb.linespec/keywords.exp: New file.
14411
7e993ebf
KS
144122015-03-23 Keith Seitz <keiths@redhat.com>
14413
14414 PR gdb/18021
14415 * gdb.dwarf2/staticvirtual.exp: New test.
14416
bc23328c
JK
144172015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14418
14419 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
14420 * README: Remove HP-UX and gdb.hp.
14421 (configuration):
14422 * configure: Regenerate.
14423 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
14424 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
14425 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
14426 gdb.hp/gdb.defects/Makefile.
14427 * gdb.hp/Makefile.in: File deleted.
14428 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
14429 * gdb.hp/gdb.aCC/optimize.c: File deleted.
14430 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
14431 * gdb.hp/gdb.aCC/run.c: File deleted.
14432 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
14433 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
14434 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
14435 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
14436 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
14437 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
14438 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
14439 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
14440 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
14441 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
14442 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
14443 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
14444 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
14445 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
14446 * gdb.hp/gdb.base-hp/reg.s: File deleted.
14447 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
14448 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
14449 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
14450 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
14451 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
14452 * gdb.hp/gdb.compat/Makefile.in: File deleted.
14453 * gdb.hp/gdb.compat/average.c: File deleted.
14454 * gdb.hp/gdb.compat/sum.c: File deleted.
14455 * gdb.hp/gdb.compat/xdb.c: File deleted.
14456 * gdb.hp/gdb.compat/xdb0.c: File deleted.
14457 * gdb.hp/gdb.compat/xdb0.h: File deleted.
14458 * gdb.hp/gdb.compat/xdb1.c: File deleted.
14459 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
14460 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
14461 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
14462 * gdb.hp/gdb.defects/Makefile.in: File deleted.
14463 * gdb.hp/gdb.defects/bs14602.c: File deleted.
14464 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
14465 * gdb.hp/gdb.defects/solib-d.c: File deleted.
14466 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
14467 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
14468 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
14469 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
14470 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
14471 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
14472 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
14473 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
14474 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
14475 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
14476 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
14477 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
14478 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
14479 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
14480 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
14481 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
14482 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
14483 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
14484 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
14485 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
14486 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
14487 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
14488 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
14489 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
14490 * gdb.hp/tools/odump: File deleted.
14491
8bf3b159
PA
144922015-03-19 Pedro Alves <palves@redhat.com>
14493
14494 * gdb.threads/continue-pending-status.exp (saw_thread_2)
14495 (saw_thread_3): New globals.
14496 (top level): Increment them when an event for the corresponding
14497 thread is seen.
14498 (no thread starvation): New test.
14499
eb54c8bf
PA
145002015-03-19 Pedro Alves <palves@redhat.com>
14501
14502 * gdb.threads/continue-pending-status.c: New file.
14503 * gdb.threads/continue-pending-status.exp: New file.
14504
32d2e5d6
PA
145052015-03-18 Pedro Alves <palves@redhat.com>
14506
14507 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
14508 Use gdb_is_target_remote instead of is_remote. Use
14509 gdb_test_multiple instead of gdb_expect. Exit early if
14510 gdb_test_multiple hits its internal matches. Tighten stepi tests
14511 expected output. Fail on exit with any signal, instead of just
14512 SIGILL.
14513
f68f11b7
YQ
145142015-03-18 Yao Qi <yao.qi@linaro.org>
14515
14516 PR tdep/18107
14517 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
14518 variable.
14519 * gdb.base/catch-syscall.exp: Don't skip it on
14520 aarch64*-*-linux* target. Remove elements in all_syscalls.
14521 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
14522 target.
14523 (setup_all_syscalls): New proc.
14524
ca5fd19b
YQ
145252015-03-16 Yao Qi <yao.qi@linaro.org>
14526
14527 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
14528 (top level): Skip tests if valid_addr_p returns false for
14529 $cmd1 or $cmd2.
14530
85642ba0
AW
145312015-03-11 Andy Wingo <wingo@igalia.com>
14532
14533 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
14534
e03f9645
YQ
145352015-03-11 Yao Qi <yao.qi@linaro.org>
14536
14537 * gdb.base/catch-syscall.exp: Fix typo in comments.
14538
5d0962b2
YQ
145392015-03-11 Yao Qi <yao.qi@linaro.org>
14540
14541 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
14542
b2df3cef
PA
145432015-03-09 Pedro Alves <palves@redhat.com>
14544
14545 * dg-extract-results.py: Delete.
14546
ef878e53
PA
145472015-03-09 Pedro Alves <palves@redhat.com>
14548
14549 Merge dg-extract-results.sh from GCC upstream (r218843).
14550
14551 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
14552 * dg-extract-results.sh: Use --text with grep to avoid issues with
14553 binary files. Fall back to cat -v, if that doesn't work.
14554
9494d219
PA
145552015-03-05 Pedro Alves <palves@redhat.com>
14556
14557 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
14558
a8d9763a
SM
145592015-03-04 Simon Marchi <simon.marchi@ericsson.com>
14560
14561 * lib/mi-support.exp (mi_expect_interrupt): Accept
14562 alternative event for when in all-stop mode.
14563
be9957b8
PA
145642015-03-04 Pedro Alves <palves@redhat.com>
14565
14566 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
14567
d57be0f4 145682015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
14569
14570 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
14571
c214c7cf
AA
145722015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
14573
14574 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
14575 regexps for GDB's current line display, accept a hex address
14576 preceding the line number.
14577
6d74a497
AA
145782015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
14579
14580 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
14581 the 'arch1' variable for "s390*-linux*" targets.
14582
511aee7c
PA
145832015-03-04 Pedro Alves <palves@redhat.com>
14584
14585 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
14586 (main): Pass missing retval argument to pthread_join call.
14587
95e50b27
PA
145882015-03-02 Pedro Alves <palves@redhat.com>
14589
14590 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
14591 (top level): Call do_test with non-stop as well.
14592
28054d69
PA
145932015-03-02 Pedro Alves <palves@redhat.com>
14594
14595 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
14596 -1.
14597
4fa5d7b4
AA
145982015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
14599
14600 * gdb.arch/s390-vregs.exp: New test.
14601 * gdb.arch/s390-vregs.S: New file.
14602
97c18565
PA
146032015-02-27 Pedro Alves <palves@redhat.com>
14604
14605 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
14606 call to catch_command_errors.
14607 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
14608 catch_command_errors.
14609
a37bfa30
PA
146102015-02-27 Pedro Alves <palves@redhat.com>
14611
14612 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
14613 "true" for boolean result.
14614 * gdb.gdb/selftest.exp (test_with_self): Also accept full
14615 prototype of main.
14616
6f98576f
PA
146172015-02-27 Pedro Alves <palves@redhat.com>
14618
14619 * lib/unbuffer_output.c: New file.
14620 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
14621 (main): Call gdb_unbuffer_output.
14622
eba5ab56
YQ
146232015-02-27 Yao Qi <yao.qi@linaro.org>
14624
14625 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
14626 target.
14627
0def5aaa
DE
146282015-02-26 Doug Evans <dje@google.com>
14629
14630 * gdb.cp/class2.cc (Dbase, D): New classes.
14631 (main): New local delta.
14632 * gdb.cp/class2.exp: Test printing delta.
14633 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
14634 (dynbar): New global.
14635 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
14636
081a1c2c
JK
146372015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14638
14639 * gdb.compile/compile-ifunc.c: New file.
14640 * gdb.compile/compile-ifunc.exp: New file.
14641
2f41223f
AT
146422015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
14643
14644 * gdb.base/structs.exp: Check for correct struct on finish.
14645
03eddd80
YQ
146462015-02-26 Yao Qi <yao.qi@linaro.org>
14647
14648 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
14649 is zero.
14650
80c57053
JK
146512015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14652
14653 * gdb.arch/cordic.ko.bz2: New file.
14654 * gdb.arch/cordic.ko.debug.bz2: New file.
14655 * gdb.arch/ppc64-symtab-cordic.exp: New file.
14656
21613c12
YQ
146572015-02-25 Yao Qi <yao.qi@linaro.org>
14658
14659 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
14660 aarch64*-*-* target.
14661
d8b901ed
PA
146622015-02-23 Pedro Alves <palves@redhat.com>
14663
14664 * lib/gdb.exp (delete_breakpoints): Rewrite using
14665 gdb_test_multiple.
14666
e5b85ead
PA
146672015-02-23 Pedro Alves <palves@redhat.com>
14668
14669 * gdb.base/info-os.c: Include stdlib.h.
14670
85c3a371
DE
146712015-02-22 Doug Evans <xdje42@gmail.com>
14672
14673 PR symtab/17855
14674 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
14675 is read after symbols have been re-read.
14676 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
14677 * gdb.ada/exec_changed/second.adb (Second): Ditto.
14678
96553a0c
DE
146792015-02-21 Doug Evans <dje@google.com>
14680
14681 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
14682
97a0c697
JK
146832015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14684
14685 PR corefiles/17808
14686 * gdb.arch/i386-biarch-core.core.bz2: New file.
14687 * gdb.arch/i386-biarch-core.exp: New file.
14688
a47cd6e9
PA
146892015-02-21 Pedro Alves <palves@redhat.com>
14690
14691 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
14692 runto_main fails.
14693
c5facdc4
PA
146942015-02-20 Pedro Alves <palves@redhat.com>
14695
14696 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
14697 info probes.
14698
2db9a427
PA
146992015-02-20 Pedro Alves <palves@redhat.com>
14700
14701 * gdb.threads/multi-create-ns-info-thr.exp: New file.
14702
60fb7e9e
PA
147032015-02-20 Pedro Alves <palves@redhat.com>
14704
14705 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
14706 clean_restart before gdb_target_supports_trace.
14707
5c5019c2
PA
147082015-02-20 Pedro Alves <palves@redhat.com>
14709
14710 PR threads/18006
14711 * gdb.threads/clone-thread_db.c: New file.
14712 * gdb.threads/clone-thread_db.exp: New file.
14713
c9587f88
AT
147142015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
14715
14716 PR breakpoints/16812
14717 * gdb.base/catch-gdb-caused-signals.c: New file.
14718 * gdb.base/catch-gdb-caused-signals.exp: New file.
14719
f6a88844
JM
147202015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
14721
14722 * configure: Regenerated.
14723 * configure.ac: Use GDB_AC_TRANSFORM.
14724 * aclocal.m4: sinclude ../transform.m4.
14725
497c491b
JM
147262015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
14727
14728 * lib/dtrace.exp: New file.
14729 * gdb.base/dtrace-probe.exp: Likewise.
14730 * gdb.base/dtrace-probe.d: Likewise.
14731 * gdb.base/dtrace-probe.c: Likewise.
14732 * lib/pdtrace.in: Likewise.
14733 * configure.ac: Output variables with the transformed names of
14734 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
14735 * configure: Regenerated.
14736
03e98035
JM
147372015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
14738
14739 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
14740 expected message when trying to access $_probe_* convenience
14741 variables while not on a probe.
14742
63cc30e9
JK
147432015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14744
14745 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
14746
0703599a
PA
147472015-02-11 Pedro Alves <pedro@codesourcery.com>
14748
14749 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
14750 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
14751
7e60a48e
DE
147522015-02-10 Doug Evans <xdje42@gmail.com>
14753
14754 * lib/gdb.exp (gdb_load): Always return a result.
14755
01b088bc
PA
147562015-02-10 Pedro Alves <palves@redhat.com>
14757
14758 * gdb.threads/signal-sigtrap.c: New file.
14759 * gdb.threads/signal-sigtrap.exp: New file.
14760
b05ec7a5
AT
147612015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
14762
14763 * gdb.trace/no-attach-trace.c: New file.
14764 * gdb.trace/no-attach-trace.exp: New file.
14765
a2c2acaf
MW
147662015-02-09 Mark Wielaard <mjw@redhat.com>
14767
14768 * gdb.dwarf2/atomic.c: New file.
14769 * gdb.dwarf2/atomic-type.exp: Likewise.
14770
31fd9caa
MM
147712015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14772
14773 * gdb.btrace/buffer-size.exp: Update "info record" output.
14774 * gdb.btrace/delta.exp: Update "info record" output.
14775 * gdb.btrace/enable.exp: Update "info record" output.
14776 * gdb.btrace/finish.exp: Update "info record" output.
14777 * gdb.btrace/instruction_history.exp: Update "info record" output.
14778 * gdb.btrace/next.exp: Update "info record" output.
14779 * gdb.btrace/nexti.exp: Update "info record" output.
14780 * gdb.btrace/step.exp: Update "info record" output.
14781 * gdb.btrace/stepi.exp: Update "info record" output.
14782 * gdb.btrace/nohist.exp: Update "info record" output.
14783
d33501a5
MM
147842015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14785
14786 * gdb.btrace/buffer-size: New.
14787
f4abbc16
MM
147882015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14789
14790 * gdb.btrace/delta.exp: Update "info record" output.
14791 * gdb.btrace/enable.exp: Update "info record" output.
14792 * gdb.btrace/finish.exp: Update "info record" output.
14793 * gdb.btrace/instruction_history.exp: Update "info record" output.
14794 * gdb.btrace/next.exp: Update "info record" output.
14795 * gdb.btrace/nexti.exp: Update "info record" output.
14796 * gdb.btrace/step.exp: Update "info record" output.
14797 * gdb.btrace/stepi.exp: Update "info record" output.
14798 * gdb.btrace/nohist.exp: Update "info record" output.
14799
b9d61307
SM
148002015-02-06 Simon Marchi <simon.marchi@ericsson.com>
14801
14802 PR gdb/15678
14803 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
14804
e584fdbc
PA
148052015-02-06 Pedro Alves <palves@redhat.com>
14806
14807 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
14808 macro.
14809 (seconds_left, again): New globals.
14810 (main): Wait seconds_left in a 1-second sleep loop instead of
14811 sleeping 180 seconds. If 'again' is set, reset the seconds
14812 counter.
14813 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
14814 'again' in the inferior before detaching. Print the seconds left.
14815 (options): New global.
14816 (top level): Build program with -DTIMEOUT=$timeout.
14817
77f41761
PA
148182015-02-06 Pedro Alves <palves@redhat.com>
14819
14820 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
14821 determine how many seconds to pass to 'alarm'.
14822 * gdb.base/gdb-sigterm.exp (top level): Build program with
14823 -DTIMEOUT=$timeout.
14824 (do_test): Return success/failure indication. Add more verbose
14825 logging. Don't fail if 200 single steps are seen. Instead, fail
14826 when the test times out.
14827 (passes): New global.
14828 (top level): Break the testing loop if testing fails on any
14829 iteration. Use gdb_assert.
14830
b9394193
DB
148312015-02-04 Don Breazeal <donb@codesourcery.com>
14832
14833 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
14834 and initialize them.
14835 (ipc_cleanup): New function.
14836 (main): Don't declare shmid, semid, and msqid. Add a call to
14837 atexit so that we call ipc_cleanup on exit.
14838
42d9e528
PA
148392015-02-04 Pedro Alves <palves@redhat.com>
14840
14841 * boards/native-extended-gdbserver.exp: Remove any target variant
14842 specifications from the board name before clearing the isremote
14843 flag from board_info.
14844
ae6ae975
DE
148452015-01-31 Doug Evans <xdje42@gmail.com>
14846
14847 * gdb.base/maint.exp <maint print type argc>: Update expected output.
14848
cfb069a8
GB
148492015-01-31 Gary Benson <gbenson@redhat.com>
14850
14851 * gdb.base/completion.exp: Disable completion limiting for
14852 existing tests. Add new tests to check completion limiting.
14853 * gdb.linespec/ls-errs.exp: Disable completion limiting.
14854
5dd31d79
DE
148552015-01-31 Doug Evans <xdje42@gmail.com>
14856
14857 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
14858
9f050062
DE
148592015-01-31 Doug Evans <xdje42@gmail.com>
14860
14861 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
14862 entries. Duplicate file section script entries.
14863 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
14864 inlined entries. Add test for safe-path rejection.
14865 * gdb.python/py-section-script.c: Add duplicate inlined section script
14866 entries. Duplicate file section script entries.
14867 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
14868 inlined entries. Add test for safe-path rejection.
14869
df25ebbd
JB
148702015-01-29 Joel Brobecker <brobecker@adacore.com>
14871
14872 * gdb.ada/disc_arr_bound: New testcase.
14873
4a0ca9ec
JB
148742015-01-29 Joel Brobecker <brobecker@adacore.com>
14875
14876 * gdb.ada/mi_var_array: New testcase.
14877
3a8b707a
DE
148782015-01-27 Doug Evans <dje@google.com>
14879
14880 * gdb.python/py-objfile.exp: Add tests for objfile.username.
14881 Add test for objfile.filename, objfile.username after objfile
14882 has been unloaded.
14883
f8313f6e
JB
148842015-01-26 Joel Brobecker <brobecker@adacore.com>
14885
14886 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
14887 the second test to print the name attribute of value
14888 returned by the call to gdb.lookup_type, and adjust
14889 the expected output accordingly.
14890
37bc665e
MW
148912015-01-25 Mark Wielaard <mjw@redhat.com>
14892
14893 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
14894 * gdb.base/disp-step-fork.c: Include unistd.h.
14895 * gdb.base/siginfo-obj.c: Include stdio.h.
14896 * gdb.base/siginfo-thread.c: Likewise.
14897 * gdb.mi/non-stop.c: Include unistd.h.
14898 * gdb.mi/nsthrexec.c: Include stdio.h.
14899 * gdb.mi/pthreads.c: Include unistd.h.
14900 * gdb.modula2/unbounded1.c (main): Declare returns int.
14901 * gdb.reverse/consecutive-reverse.c: Likewise.
14902 * gdb.threads/create-fail.c: Include unistd.h.
14903 * gdb.threads/killed.c: Likewise.
14904 * gdb.threads/linux-dp.c: Likewise.
14905 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
14906 * gdb.threads/non-ldr-exc-2.c: Likewise.
14907 * gdb.threads/non-ldr-exc-3.c: Likewise.
14908 * gdb.threads/non-ldr-exc-4.c: Likewise.
14909 * gdb.threads/pthreads.c: Include unistd.h.
14910 (main): Declare returns int.
14911 * gdb.threads/tls-main.c (foo): New declaration.
14912 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
14913
f7e5394d
SM
149142015-01-23 Simon Marchi <simon.marchi@ericsson.com>
14915
14916 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
14917 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
14918
743649fd
MW
149192015-01-15 Mark Wielaard <mjw@redhat.com>
14920
14921 * gdb.base/noreturn-return.c: New file.
14922 * gdb.base/noreturn-return.exp: New file.
14923 * gdb.base/noreturn-finish.c: New file.
14924 * gdb.base/noreturn-finish.exp: New file.
14925
198297aa
PA
149262015-01-23 Pedro Alves <palves@redhat.com>
14927
14928 * gdb.threads/continue-pending-after-query.c: New file.
14929 * gdb.threads/continue-pending-after-query.exp: New file.
14930
717cf30c
AG
149312015-01-22 Anders Granlund <anders.granlund@ericsson.com>
14932 Simon Marchi <simon.marchi@ericsson.com>
14933
14934 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
14935 * gdb.base/valgrind-db-attach.exp: Same.
14936 * gdb.base/valgrind-infcall.exp: Same.
14937 * lib/mi-support.exp (default_mi_gdb_start): Same.
14938 * lib/prompt.exp (default_prompt_gdb_start): Same.
14939 * lib/gdb.exp (default_gdb_spawn): Same.
14940 (gdb_interact): New.
14941
14942
4b62a76e
JK
149432015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14944
14945 * gdb.compile/compile.exp (pointer to jit function): New test.
14946
b4cdae6f
WW
149472015-01-17 Wei-cheng Wang <cole945@gmail.com>
14948
14949 * lib/gdb.exp (supports_process_record): Return true for
14950 powerpc*-*-linux*.
14951 (supports_reverse): Likewise.
14952
d221e7ef
DB
149532015-01-15 Don Breazeal <donb@codesourcery.com>
14954
14955 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
14956 instead of checking whether the target board is remote and
14957 use spawn_wait_for_attach instead of exec/sleep.
14958 * gdb.base/attach-twice.exp: Likewise.
14959
bafffb51
JB
149602015-01-15 Joel Brobecker <brobecker@adacore.com>
14961
14962 * gdb.ada/var_arr_attrs: New testcase.
14963
5589af0e
PA
149642015-01-14 Pedro Alves <palves@redhat.com>
14965 Joel Brobecker <brobecker@adacore.com>
14966
14967 PR gdb/17525
14968 * gdb.base/bp-cmds-execution-x-script.c: New file.
14969 * gdb.base/bp-cmds-execution-x-script.exp: New file.
14970 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
14971
6c400b59
PA
149722015-01-14 Pedro Alves <palves@redhat.com>
14973
14974 PR cli/17828
14975 * gdb.base/batch-preserve-term-settings.c: New file.
14976 * gdb.base/batch-preserve-term-settings.exp: New file.
14977
e02c96a7
DE
149782015-01-13 Doug Evans <dje@google.com>
14979
14980 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
14981 binary.
14982
576fd14c
JB
149832015-01-13 Joel Brobecker <brobecker@adacore.com>
14984
14985 * Makefile.in (clean mostlyclean): Do not delete *.py.
14986
04dccad0
JB
149872015-01-13 Joel Brobecker <brobecker@adacore.com>
14988
14989 * gdb.python/py-lookup-type.exp: New file.
14990
3d230f71
PA
149912015-01-12 Pedro Alves <palves@redhat.com>
14992
14993 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
14994 restore GDBFLAGS before returning.
14995
7e67715d
JK
149962015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14997
14998 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
14999 is_amd64_regs_target and is_x86_like_target.
15000
f2e0d4b4
DE
150012015-01-11 Doug Evans <xdje42@gmail.com>
15002
15003 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
15004 is given without an explicit form.
15005 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
15006 attributes.
15007 * gdb.dwarf/corrupt.exp: Ditto.
15008 * gdb.dwarf2/enum-type.exp: Ditto.
15009 * gdb.trace/entry-values.exp: Ditto.
15010 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
15011
439250fb
DE
150122015-01-11 Doug Evans <xdje42@gmail.com>
15013
15014 PR gdb/15830
15015 * gdb.base/maint.exp: Remove references to "maint demangle".
15016 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
15017 Add tests for explicitly specifying language to demangle.
15018 * gdb.dlang/demangle.exp: Ditto.
15019
ede9f622
PA
150202015-01-09 Pedro Alves <palves@redhat.com>
15021
15022 * gdb.threads/non-stop-fair-events.c: New file.
15023 * gdb.threads/non-stop-fair-events.exp: New file.
15024
a7b796db
PA
150252015-01-09 Pedro Alves <palves@redhat.com>
15026
15027 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
15028 the global scope. Set a breakpoint after all threads are started
15029 rather than stepping over two source lines. Expect the prompt.
15030 * gdb.base/watch_thread_num.c (threads_started_barrier): New
15031 global.
15032 (NUM): Now 15.
15033 (main): Use threads_started_barrier to wait for all threads to
15034 start. Main thread no longer calls thread_function. Exit after
15035 180 seconds.
15036 (loop): New function.
15037 (thread_function): Wait on threads_started_barrier barrier. Call
15038 'loop' at each iteration.
15039 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
15040 threads have started, instead of hardcoding number of "next"
15041 steps. Use an access watchpoint instead of a write watchpoint.
15042
9665ffdd
PA
150432015-01-09 Pedro Alves <palves@redhat.com>
15044
15045 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
15046 (thread_func): Wait on barrier.
15047 (main): Wait for all threads to start before stopping GDB.
15048 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
15049 global.
15050 (thread1_func, thread2_func): Wait on barrier.
15051 (main): Wait for all threads to start before stopping GDB.
15052 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
15053 New global.
15054 (thread1_func, thread2_func): Wait on barrier.
15055 (main): Wait for all threads to start before stopping GDB.
15056
c945a99f
PA
150572015-01-09 Pedro Alves <palves@redhat.com>
15058
15059 * gdb.threads/attach-many-short-lived-threads.c: New file.
15060 * gdb.threads/attach-many-short-lived-threads.exp: New file.
15061
c1a747c1
PA
150622014-01-09 Pedro Alves <palves@redhat.com>
15063
15064 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
15065 instead of to thread 2.
15066 * gdb.threads/signal-command-multiple-signals-pending.c (main):
15067 Add barrier around each pthread_create call instead of around all
15068 calls.
15069 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
15070 Set a break on thread_function and have the child threads hit it
15071 one at at a time.
15072
60b3033e
PA
150732015-01-09 Pedro Alves <palves@redhat.com>
15074
15075 * lib/gdb.exp (can_spawn_for_attach): New procedure.
15076 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
15077 false.
15078 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
15079 checking whether the target board is remote.
15080 * gdb.multi/multi-attach.exp: Likewise.
15081 * gdb.python/py-sync-interp.exp: Likewise.
15082 * gdb.server/ext-attach.exp: Likewise.
15083 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
15084 tests that need to attach, instead of checking whether the target
15085 board is remote at the top of the file.
15086
acc018ac
YQ
150872015-01-08 Yao Qi <yao@codesourcery.com>
15088
15089 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
15090
50a18af8
JK
150912015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15092
15093 Fix testcase compilation.
15094 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
15095
8503d6e1
JB
150962015-01-06 Joel Brobecker <brobecker@adacore.com>
15097
15098 * gdb.python/py-type.exp: Add a couple test about empty
15099 array creation, and negative-length array creation.
15100
cc73dbcc
DE
151012015-01-02 Doug Evans <xdje42@gmail.com>
15102
15103 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
15104
0300bbc7
DE
151052015-01-02 Doug Evans <dje@google.com>
15106
15107 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
15108
9d85a0ec
YQ
151092014-12-29 Yao Qi <yao@codesourcery.com>
15110
15111 * gdb.trace/entry-values.exp: Update comments. Rename variable
15112 bar_call_foo to returned_from_foo.
15113
87186c6a
MMN
151142014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
15115
15116 PR gdb/17394
15117 * gdb.linespec/break-asm-file.c: New file.
15118 * gdb.linespec/break-asm-file.exp: New file.
15119 * gdb.linespec/break-asm-file0.s: New file.
15120 * gdb.linespec/break-asm-file1.s: New file.
15121
1bab7383
YQ
151222014-12-18 Nigel Stephens <nigel@mips.com>
15123 Maciej W. Rozycki <macro@codesourcery.com>
15124
15125 * gdb.base/float.exp: Handle the new output from "info float" on
15126 MIPS targets.
15127
1bc1068a
JK
151282014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
15129
15130 Fix MinGW compilation.
15131 * gdb.compile/compile-ops.exp: Update untested message if
15132 !skip_compile_feature_tests.
15133 * gdb.compile/compile-setjmp.exp: Likewise.
15134 * gdb.compile/compile-tls.exp: Likewise.
15135 * gdb.compile/compile.exp: Likewise.
15136 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
15137 supported on this host".
15138
b6615d10
DE
151392014-12-16 Doug Evans <xdje42@gmail.com>
15140
15141 * boards/stabs.exp: New file.
15142
25dda427
AA
151432014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
15144
15145 * gdb.base/completion.exp: Adjust to format changes of "maint
15146 print user-registers".
15147
bf330350
CU
151482014-12-16 Catalin Udma <catalin.udma@freescale.com>
15149
15150 PR server/17457
15151 * gdb.arch/aarch64-fp.c: New file.
15152 * gdb.arch/aarch64-fp.exp: New file.
15153
395cf596
SDJ
151542014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
15155
15156 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
15157 r210637, r210913, r211666, r215400, r215817).
15158
15159 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
15160 * dg-extract-results.py: New file.
15161 * dg-extract-results.sh: Use it if the environment seems
15162 suitable.
15163
15164 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
15165
15166 * dg-extract-results.py (parse_run): Handle warnings that
15167 are printed before a test harness is run.
15168
15169 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
15170
15171 * dg-extract-results.py (Named): Remove __cmp__ method.
15172 (output_variation): Use a key to sort variation.harnesses.
15173
15174 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
15175
15176 * dg-extract-results.py: For Python 3, force sys.stdout to
15177 handle surrogate escape sequences.
15178 (safe_open): New function.
15179 (output_segment, main): Use it.
15180
15181 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
15182
15183 * dg-extract-results.py (Prog.result_re): Include options
15184 in test name.
15185
15186 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
15187
15188 * dg-extract-results.py (output_variation): Always sort if
15189 do_sum.
15190
e882ef3c
SM
151912014-12-15 Simon Marchi <simon.marchi@ericsson.com>
15192
15193 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
15194 as long as we get pagination notifications.
15195
4992aa20
JM
151962014-12-15 Jason Merrill <jason@redhat.com>
15197
15198 * Makefile.in (check-gdb.%): Restore.
15199 * README: Mention it.
15200
c1b5a1a6
JB
152012014-12-13 Joel Brobecker <brobecker@adacore.com>
15202
15203 * gdb.ada/str_uninit: New testcase.
15204
5537b577
JK
152052014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15206
15207 PR symtab/17642
15208 * gdb.base/vla-stub-define.c: New file.
15209 * gdb.base/vla-stub.c: New file.
15210 * gdb.base/vla-stub.exp: New file.
15211
bb2ec1b3
TT
152122014-12-12 Phil Muldoon <pmuldoon@redhat.com>
15213 Jan Kratochvil <jan.kratochvil@redhat.com>
15214 Tom Tromey <tromey@redhat.com>
15215
15216 * configure.ac: Add gdb.compile/.
15217 * configure: Regenerate.
15218 * gdb.compile/Makefile.in: New file.
15219 * gdb.compile/compile-ops.exp: New file.
15220 * gdb.compile/compile-ops.c: New file.
15221 * gdb.compile/compile-tls.c: New file.
15222 * gdb.compile/compile-tls.exp: New file.
15223 * gdb.compile/compile-constvar.S: New file.
15224 * gdb.compile/compile-constvar.c: New file.
15225 * gdb.compile/compile-mod.c: New file.
15226 * gdb.compile/compile-nodebug.c: New file.
15227 * gdb.compile/compile-setjmp-mod.c: New file.
15228 * gdb.compile/compile-setjmp.c: New file.
15229 * gdb.compile/compile-setjmp.exp: New file.
15230 * gdb.compile/compile-shlib.c: New file.
15231 * gdb.compile/compile.c: New file.
15232 * gdb.compile/compile.exp: New file.
15233 * lib/gdb.exp (skip_compile_feature_tests): New proc.
15234
4ff709eb
TT
152352014-12-12 Tom Tromey <tromey@redhat.com>
15236
15237 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
15238 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
15239
6dddd6a5
DE
152402014-12-12 Doug Evans <dje@google.com>
15241
15242 * lib/gdb-python.exp (get_python_valueof): New function.
15243 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
15244
71c24708
AA
152452014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
15246
15247 * gdb.base/completion.exp: Add test for completion of "info
15248 registers ".
15249
3e29f34a
MR
152502014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
15251
15252 * gdb.base/func-ptrs.c: New file.
15253 * gdb.base/func-ptrs.exp: New file.
15254
fc126975
SM
152552014-12-10 Simon Marchi <simon.marchi@ericsson.com>
15256
15257 PR breakpoints/17012
15258 * gdb.base/dprintf-detach.c: New file.
15259 * gdb.base/dprintf-detach.exp: New file.
15260
0a46d518
SM
152612014-12-10 Simon Marchi <simon.marchi@ericsson.com>
15262
15263 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
15264 * lib/gdb.exp (target_is_gdbserver): New procedure.
15265
a0be3e44
DE
152662014-12-08 Doug Evans <dje@google.com>
15267
15268 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
15269
df1b803a
YQ
152702014-12-05 Yao Qi <yao@codesourcery.com>
15271
15272 * gdb.guile/scm-error.exp: Remove the third argument to
15273 gdb_remote_download.
15274 * gdb.guile/scm-frame-args.exp: Likewise.
15275 * gdb.guile/scm-section-script.exp: Likewise.
15276
ddb9f679
YQ
152772014-12-05 Yao Qi <yao@codesourcery.com>
15278
15279 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
15280
86e4ed39
DE
152812014-12-04 Doug Evans <dje@google.com>
15282
15283 * gdb.python/py-objfile.exp: Add tests for
15284 objfile.add_separate_debug_file.
15285
7c50a931
DE
152862014-12-04 Doug Evans <dje@google.com>
15287
15288 * lib/gdb.exp (get_build_id): New function.
15289 (build_id_debug_filename_get): Rewrite to use it.
15290 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
15291
621661e3
MR
152922014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
15293
15294 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
15295 `method(long)', not just 0x0.
15296 * gdb.cp/nsalias.exp: Align code labels to 4.
15297 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
15298 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
15299 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
15300 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
15301 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
15302 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
15303
29f0c3b7
DE
153042014-12-02 Doug Evans <dje@google.com>
15305
e1e061e7 15306 PR symtab/17602
29f0c3b7 15307 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 15308 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
15309 * gdb.cp/anon-ns.exp: Update.
15310
162078c8
NB
153112014-12-02 Nick Bull <nicholaspbull@gmail.com>
15312
15313 * gdb.python/py-events.py (inferior_call_handler): New.
15314 (register_changed_handler, memory_changed_handler): New.
15315 (test_events.invoke): Register new handlers.
15316 * gdb.python/py-events.exp: Add tests for inferior call,
15317 memory_changed and register_changed events.
15318
fdb09caf
AA
153192014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
15320
15321 * gdb.base/execl-update-breakpoints.exp: Specify the link address
15322 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
15323 if the linker doesn't understand this.
15324
55cfb2c4
SM
153252014-12-01 Simon Marchi <simon.marchi@ericsson.com>
15326
15327 * gdb.python/python.exp: Change expected reply to help().
15328
9e8cd6df
YQ
153292014-12-01 Yao Qi <yao@codesourcery.com>
15330
15331 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
15332 AC_CONFIG_SUBDIRS(gdb.gdbtk).
15333 * configure: Re-generated.
15334
6c659fc2
SC
153352014-11-28 Siva Chandra Reddy <sivachandra@google.com>
15336
15337 * gdb.cp/chained-calls.cc: New file.
15338 * gdb.cp/chained-calls.exp: New file.
15339 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
15340
d7fc3181
SM
153412014-11-28 Simon Marchi <simon.marchi@ericsson.com>
15342
15343 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
15344 * gdb.dwarf2/symtab-producer.exp: Same.
15345 * gdb.gdb/python-interrupts.exp: Same.
15346 * gdb.gdb/python-selftest.exp: Same.
15347 * gdb.python/py-linetable.exp: Same.
15348 * gdb.python/py-type.exp: Same.
15349 * gdb.python/py-value-cc.exp: Same.
15350 * gdb.python/py-value.exp: Same.
15351
10e79639
YQ
153522014-11-28 Yao Qi <yao@codesourcery.com>
15353
15354 * gdb.base/break-probes.exp: Match library name prefixed with
15355 sysroot.
15356
f28a0564
SM
153572014-11-27 Simon Marchi <simon.marchi@ericsson.com>
15358
15359 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
15360 test expected output. Add parentheses for the call to print.
15361 Remove L suffix from integers.
15362
3fe1ce1d
DE
153632014-11-26 Doug Evans <dje@google.com>
15364
15365 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
15366
84429e27
YQ
153672014-11-22 Yao Qi <yao@codesourcery.com>
15368
15369 * gdb.trace/entry-values.c: Remove asms.
15370 (foo): Add foo_label.
15371 (bar): Add bar_label.
15372 * gdb.trace/entry-values.exp: Remove code computing foo's
15373 length and bar's length.
15374 (Dwarf::assemble): Invoke function_range for bar and use
15375 MACRO_AT_func for foo.
15376
26741859
YQ
153772014-11-22 Yao Qi <yao@codesourcery.com>
15378
15379 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
15380 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
15381 Use .Lgcc43_procstart instead of gcc43.
15382
45e44d27
JB
153832014-11-21 Joel Brobecker <brobecker@adacore.com>
15384
15385 * gdb.ada/n_arr_bound: New testcase.
15386
458c8db8
SDJ
153872014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
15388
15389 PR breakpoints/10737
15390 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
15391 test_catch_syscall_multi_arch.
15392 (test_catch_syscall_multi_arch): New function.
15393
43f3e411
DE
153942014-11-20 Doug Evans <xdje42@gmail.com>
15395
15396 * gdb.base/maint.exp: Update expected output.
15397
0d7b2549
AA
153982014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
15399
15400 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
15401 4-byte instruction on S390.
15402
8908fca5
JB
154032014-11-19 Joel Brobecker <brobecker@adacore.com>
15404
15405 * gdb.ada/arr_arr: New testcase.
15406
4a46959e
JB
154072014-11-19 Joel Brobecker <brobecker@adacore.com>
15408
15409 * gdb.ada/pkd_arr_elem: New Testcase.
15410
470e2f4e
LM
154112014-11-18 Luis Machado <lgustavo@codesourcery.com>
15412
15413 * gdb.reverse/break-precsave: Expect completion message for
15414 core file reads.
15415 * gdb.reverse/consecutive-precsave.exp: Likewise.
15416 * gdb.reverse/finish-precsave.exp: Likewise.
15417 * gdb.reverse/i386-precsave.exp: Likewise.
15418 * gdb.reverse/machinestate-precsave.exp: Likewise.
15419 * gdb.reverse/sigall-precsave.exp: Likewise.
15420 * gdb.reverse/solib-precsave.exp: Likewise.
15421 * gdb.reverse/step-precsave.exp: Likewise.
15422 * gdb.reverse/until-precsave.exp: Likewise.
15423 * gdb.reverse/watch-precsave.exp: Likewise.
15424
a267f3ad
AA
154252014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15426
15427 * gdb.base/bp-permanent.c: Include unistd.h.
15428 * gdb.python/py-framefilter-mi.c (main): Add return type.
15429 * gdb.python/py-framefilter.c (main): Likewise.
15430 * gdb.trace/actions-changed.c (main): Likewise.
15431
12084a9a
AA
154322014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15433
15434 * gdb.mi/until.c: Add eye-catchers.
15435 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
15436 line numbers.
15437
dc7e1a77
AA
154382014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15439
15440 * gdb.base/condbreak.exp: Drop references to removed non-prototype
15441 function header variants in break1.c.
15442 * gdb.base/ena-dis-br.exp: Likewise.
15443 * gdb.base/hbreak2.exp: Likewise.
15444 * gdb.reverse/until-precsave.exp: Drop references to removed
15445 non-prototype function header variants in ur1.c.
15446 * gdb.reverse/until-reverse.exp: Likewise.
15447
41c77605
PM
154482014-11-17 Petr Machata <pmachata@redhat.com>
15449
15450 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
15451 ${_cu_offset_size} bytes abbrev offset.
15452
34248c3a
DE
154532014-11-15 Doug Evans <xdje42@gmail.com>
15454
15455 PR symtab/17559
15456 * gdb.base/line-symtabs.exp: New file.
15457 * gdb.base/line-symtabs.c: New file.
15458 * gdb.base/line-symtabs.h: New file.
15459
646da059
YQ
154602014-11-14 Yao Qi <yao@codesourcery.com>
15461
15462 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
15463 (func): Add label func_label.
15464 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
15465 Replace low_pc and high_pc with MACRO_AT_range.
15466 Replace name, low_pc and high_pc with MACRO_AT_func.
15467
9301ebe6
YQ
154682014-11-14 Yao Qi <yao@codesourcery.com>
15469
15470 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
15471 Replace name, low_pc and high_pc with MACRO_AT_func.
15472
f166b542
YQ
154732014-11-14 Yao Qi <yao@codesourcery.com>
15474
15475 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
15476 produce debug information.
15477 * gdb.dwarf2/implptr-optimized-out.S: Removed.
15478
0f6e71e3
YQ
154792014-11-14 Yao Qi <yao@codesourcery.com>
15480
15481 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
15482 object and get function length.
15483 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
15484 with MACRO_AT_func.
15485 (top-level): Replace gdb_compile and clean_restart with
15486 prepare_for_testing.
15487 * gdb.dwarf2/main.c (main): Add label main_label.
15488
876c4df9
YQ
154892014-11-14 Yao Qi <yao@codesourcery.com>
15490
15491 * lib/dwarf.exp (function_range): New procedure.
15492 (Dwarf::_handle_macro_at_func): New procedure.
15493 (Dwarf::_handle_macro_at_range): New procedure.
15494 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
15495
02ad9cf1
YQ
154962014-11-14 Yao Qi <yao@codesourcery.com>
15497
15498 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
15499 (_handle_attribute): New procedure.
15500
a59add0c
AA
155012014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15502
15503 * gdb.ada/cond_lang/foo.c (callme): Add return type.
15504 * gdb.base/call-sc.c (zed): Likewise.
15505 * gdb.base/checkpoint.c (main): Likewise.
15506 * gdb.base/dump.c (main): Likewise.
15507 * gdb.base/gcore.c (main): Likewise.
15508 * gdb.base/huge.c (main): Likewise.
15509 * gdb.base/multi-forks.c (main): Likewise.
15510 * gdb.base/pr10179-a.c (main): Likewise.
15511 * gdb.base/savedregs.c (main): Likewise.
15512 * gdb.base/sigaltstack.c (main): Likewise.
15513 * gdb.base/siginfo.c (main): Likewise.
15514 * gdb.base/structs.c (zed): Likewise.
15515 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
15516 * gdb.mi/mi-syn-frame.c (main): Likewise.
15517 * gdb.mi/until.c (foo, main): Likewise.
15518 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
15519 * gdb.base/solib-weak.c (foo): Declare.
15520 * gdb.base/attach-twice.c: Include stdio.h.
15521 * gdb.base/weaklib1.c: Likewise.
15522 * gdb.base/weaklib2.c: Likewise.
15523 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
15524 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
15525 unistd.h.
15526 * gdb.base/attach-pie-misread.c: Include stdlib.h.
15527 * gdb.mi/mi-exit-code.c: Likewise.
15528 * gdb.base/break-interp-lib.c: Include string.h.
15529 * gdb.base/coremaker.c: Likewise.
15530 * gdb.base/testenv.c: Likewise.
15531 * gdb.python/py-finish-breakpoint.c: Likewise.
15532 * gdb.base/inferior-died.c: Include sys/wait.h.
15533 * gdb.base/fileio.c: Include time.h.
15534 * gdb.base/async-shell.c: Include unistd.h.
15535 * gdb.base/dprintf-non-stop.c: Likewise.
15536 * gdb.base/info-os.c: Likewise.
15537 * gdb.mi/mi-console.c: Likewise.
15538 * gdb.mi/watch-nonstop.c: Likewise.
15539 * gdb.python/py-events.c: Likewise.
15540 * gdb.base/async.c (baz): Move up before its invocation.
15541 * gdb.base/code_elim2.c (my_global_func): Likewise.
15542 * gdb.base/skip-solib-lib.c (multiply): Likewise.
15543 * gdb.base/advance.c (func2): Likewise.
15544
3b5d5997
AA
155452014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15546
15547 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
15548 variant.
15549 * gdb.base/annota3.c: Likewise.
15550 * gdb.base/async.c: Likewise.
15551 * gdb.base/average.c: Likewise.
15552 * gdb.base/call-ar-st.c: Likewise.
15553 * gdb.base/call-rt-st.c: Likewise.
15554 * gdb.base/call-sc.c: Likewise.
15555 * gdb.base/call-strs.c: Likewise.
15556 * gdb.base/ending-run.c: Likewise.
15557 * gdb.base/execd-prog.c: Likewise.
15558 * gdb.base/exprs.c: Likewise.
15559 * gdb.base/foll-exec.c: Likewise.
15560 * gdb.base/foll-fork.c: Likewise.
15561 * gdb.base/foll-vfork.c: Likewise.
15562 * gdb.base/funcargs.c: Likewise.
15563 * gdb.base/gcore.c: Likewise.
15564 * gdb.base/jump.c: Likewise.
15565 * gdb.base/langs0.c: Likewise.
15566 * gdb.base/langs1.c: Likewise.
15567 * gdb.base/langs2.c: Likewise.
15568 * gdb.base/mips_pro.c: Likewise.
15569 * gdb.base/nodebug.c: Likewise.
15570 * gdb.base/opaque0.c: Likewise.
15571 * gdb.base/opaque1.c: Likewise.
15572 * gdb.base/recurse.c: Likewise.
15573 * gdb.base/run.c: Likewise.
15574 * gdb.base/scope0.c: Likewise.
15575 * gdb.base/scope1.c: Likewise.
15576 * gdb.base/setshow.c: Likewise.
15577 * gdb.base/setvar.c: Likewise.
15578 * gdb.base/shmain.c: Likewise.
15579 * gdb.base/shr1.c: Likewise.
15580 * gdb.base/shr2.c: Likewise.
15581 * gdb.base/sigall.c: Likewise.
15582 * gdb.base/signals.c: Likewise.
15583 * gdb.base/so-indr-cl.c: Likewise.
15584 * gdb.base/solib2.c: Likewise.
15585 * gdb.base/structs.c: Likewise.
15586 * gdb.base/sum.c: Likewise.
15587 * gdb.base/vforked-prog.c: Likewise.
15588 * gdb.base/watchpoint.c: Likewise.
15589 * gdb.reverse/shr2.c: Likewise.
15590 * gdb.reverse/until-reverse.c: Likewise.
15591 * gdb.reverse/ur1.c: Likewise.
15592 * gdb.reverse/watch-reverse.c: Likewise.
15593
066a77c5
AA
155942014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15595
15596 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
15597 variant.
15598 * gdb.base/sepdebug.exp: Drop references to removed code.
15599
4f204ea5
AA
156002014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15601
15602 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
15603 variant. Preserve original line numbering.
15604 * gdb.base/list1.c: Likewise.
15605
3b377a3a
AA
156062014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15607
15608 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
15609 variant.
15610 * gdb.base/break1.c: Likewise.
15611 * gdb.base/break.exp: Drop references to removed code.
15612
e444df73
AA
156132014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15614
15615 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
15616 variant.
15617
8008f2a7
AA
156182014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15619
15620 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
15621
a5a06887
AA
156222014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15623
15624 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
15625 logic into perform_all_tests() and invoke it with and without
15626 function header prototypes.
15627 (do_function_calls): Remove conditional XFAIL for PR 5318.
15628 (rerun_and_prepare): Remove duplicate code.
15629 (perform_all_tests): New. Main logic moved here.
15630
44dba9b9
AA
156312014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15632
15633 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
15634 code guarded by #ifdef NO_PROTOTYPES.
15635 (t_double_many_args): Likewise.
15636 (DEF_FUNC_MANY_ARGS_1): Likewise.
15637 (DEF_FUNC_VALUES_1): Likewise.
15638 (t_structs_ldc): Renamed from t_structs_fc in conditional code
15639 guarded by #ifdef PROTOTYPES.
15640
d1fbcd56
AA
156412014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15642
15643 * gdb.mi/mi-console.c: Add eye-catcher.
15644 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
15645 instead of literal line number.
15646
b0e59b8f
AA
156472014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15648
15649 * gdb.base/shr2.c: Add eye-catcher.
15650 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
15651 line number.
15652
78f98cca
AA
156532014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15654
15655 * gdb.base/jump.c: Add eye-catchers.
15656 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
15657 numbers.
15658
58fa2af0
AA
156592014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15660
15661 * gdb.base/execd-prog.c: Add eye-catchers.
15662 * gdb.base/foll-exec.c: Likewise.
15663 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
15664 line numbers.
15665
04e5059b
AA
156662014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15667
15668 * gdb.base/ending-run.c: Add eye-catchers.
15669 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
15670 literal line numbers.
15671
dbfdb174
AA
156722014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15673
15674 * gdb.base/call-rt-st.c: Add eye-catchers.
15675 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
15676 literal line numbers.
15677
888a2ade
AA
156782014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15679
15680 * gdb.base/call-ar-st.c: Add eye-catchers.
15681 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
15682 literal line numbers.
15683
6acc2dde
AA
156842014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15685
15686 * gdb.base/average.c: Add eye-catchers.
15687 * gdb.base/sum.c: Likewise.
15688 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
15689 regexps dynamically.
15690
9ecfcd1d
AA
156912014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15692
15693 * gdb.base/solib1.c: Add eye-catchers.
15694 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
15695 literal line numbers.
15696
78708b7c
PA
156972014-11-12 Pedro Alves <palves@redhat.com>
15698
15699 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
15700 leader has exited.
15701
af48d08f
PA
157022014-11-12 Pedro Alves <palves@redhat.com>
15703
15704 * gdb.arch/i386-bp_permanent.c: New file.
15705 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
15706 (srcfile): Set to i386-bp_permanent.c.
15707 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
15708 that stepi does not execute the 'leave' instruction, instead of
15709 testing it does execute.
15710 * gdb.base/bp-permanent.c: New file.
15711 * gdb.base/bp-permanent.exp: New file.
15712
af3768e9
DE
157132014-11-10 Doug Evans <xdje42@gmail.com>
15714
15715 PR symtab/17564
15716 * gdb.base/symtab-search-order.exp: New file.
15717 * gdb.base/symtab-search-order.c: New file.
15718 * gdb.base/symtab-search-order-1.c: New file.
15719 * gdb.base/symtab-search-order-shlib-1.c: New file.
15720
9de00a4a
PA
157212014-11-07 Pedro Alves <palves@redhat.com>
15722
15723 PR gdb/17511
15724 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
15725 i?86-*-linux*.
15726
e0f52461
SC
157272014-11-03 Siva Chandra Reddy <sivachandra@google.com>
15728
15729 PR c++/17494
15730 * gdb.cp/pr17494.cc: New file.
15731 * gdb.cp/pr17494.exp: New file.
15732
6ce8c980
YQ
157332014-11-02 Yao Qi <yao@codesourcery.com>
15734
15735 * gdb.python/python.exp: Get working directory and match the
15736 output of "set extended-prompt \\w " with it.
15737
02be9a71
DE
157382014-10-30 Doug Evans <dje@google.com>
15739
15740 * gdb.python/py-objfile.exp: Add tests for setting random attributes
15741 in objfiles.
15742 * gdb.python/py-progspace.exp: Add tests for setting random attributes
15743 in progspaces.
15744
3bdff46b
LM
157452014-10-30 Janis Johnson <janisjo@codesourcery.com>
15746
15747 * gdb.base/fullpath-expand.exp: Skip for a remote host.
15748 * gdb.base/realname-expand.exp: Likewise.
15749 * gdb.linespec/macro-relative.exp: Likewise.
15750
ab917dfb
PA
157512014-10-29 Pedro Alves <palves@redhat.com>
15752
15753 PR gdb/17408
15754 * gdb.threads/schedlock.c (some_function): New function.
15755 (call_function): New global.
15756 (MAYBE_CALL_SOME_FUNCTION): New macro.
15757 (thread_function): Call it.
15758 * gdb.threads/schedlock.exp (get_args): Add description parameter,
15759 and use it instead of a global counter. Adjust all callers.
15760 (get_current_thread): Use "find current thread" for test message
15761 here rather than having all callers pass down the same string.
15762 (goto_loop): New procedure, factored out from ...
15763 (my_continue): ... this.
15764 (step_ten_loops): Change parameter from test message to command to
15765 use. Adjust.
15766 (list_count): Delete global.
15767 (check_result): New procedure, factored out from duplicate top
15768 level code.
15769 (continue tests): Wrap in with_test_prefix.
15770 (test_step): New procedure, factored out from duplicate top level
15771 code.
15772 (top level): Test "step" in combination with all scheduler-locking
15773 modes. Test "next" in combination with all scheduler-locking
15774 modes, and in combination with stepping over a function call or
15775 not.
15776 * gdb.threads/next-bp-other-thread.c: New file.
15777 * gdb.threads/next-bp-other-thread.exp: New file.
15778
d3d4baed
PA
157792014-10-29 Pedro Alves <palves@redhat.com>
15780
15781 PR python/17372
15782 * gdb.python/python.exp: Test a multi-line command that spawns
15783 interactive Python.
15784 * gdb.base/multi-line-starts-subshell.exp: New file.
15785
563e8d85
YQ
157862014-10-29 Yao Qi <yao@codesourcery.com>
15787
15788 * gdb.base/fileio.exp: Make directories on host.
15789
0ea4d52e
YQ
157902014-10-29 Yao Qi <yao@codesourcery.com>
15791
15792 * gdb.base/fileio.c (test_write): Close the file.
15793
7f5ef605
PA
157942014-10-28 Pedro Alves <palves@redhat.com>
15795
15796 PR gdb/12623
15797 * gdb.base/sigstep.c (no_handler): New global.
15798 (main): If 'no_handler is true, set the signal handlers to
15799 SIG_IGN.
15800 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
15801 with_sw_watch and no_handler parameters. Handle them.
15802 (top level) <stepping over handler when stopped at a breakpoint
15803 test>: Add a test axis for testing with a software watchpoint, and
15804 another for testing with the signal handler set to SIG_IGN.
15805 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
15806 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
15807
abbdbd03
PA
158082014-10-28 Pedro Alves <palves@redhat.com>
15809
15810 PR gdb/17511
15811 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
15812 * gdb.base/sigstep.exp (other_handler_location): New global.
15813 (advance): Support stepping into the signal handler, and running
15814 commands while in the handler.
15815 (in_handler_map): New global.
15816 (top level): In the advance test, add combinations for getting
15817 into the handler with stepping commands, and for running commands
15818 in the handler. Add comment descripting the advancei tests.
15819
1df4399f
PA
158202014-10-28 Pedro Alves <palves@redhat.com>
15821
15822 * gdb.base/sigstep.exp: Use build_executable instead of
15823 prepare_for_testing.
15824 (top level): Move code that starts GDB, runs to main and creates a
15825 display to ...
15826 (restart): ... this new procedure.
15827 (top level): Move backtrace from signal handler test to ...
15828 (validate_backtrace): ... this new procedure.
15829 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
15830 with_test_prefix. Always restart GDB.
15831 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
15832 with_test_prefix. Always restart GDB. No need to delete
15833 breakpoints after the test.
15834 (test_skip_handler): Remove prefix parameter.
15835 (skip_over_handler, breakpoint_to_handler)
15836 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
15837 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
15838 restart GDB. No need to delete breakpoints after the test.
15839 (top level): Use foreach to call the test procedures with
15840 different commands.
15841
a5b6e449
PA
158422014-10-28 Pedro Alves <palves@redhat.com>
15843
15844 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
15845 instead of GNATS numbers.
15846 * gdb.base/sigbpt.exp: Likewise.
15847 * gdb.base/siginfo.exp: Likewise.
15848 * gdb.base/sigstep.exp: Likewise.
15849
e5f8a7cc
PA
158502014-10-27 Pedro Alves <palves@redhat.com>
15851
15852 * gdb.base/sigstep.c (dummy): New global.
15853 (main): Issue a couple writes to the new global.
15854 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
15855 procedures.
15856 (skip_over_handler): Use test_skip_handler.
15857 (top level): Call skip_over_handler for stepi and nexti too.
15858 (breakpoint_over_handler): Use test_skip_handler.
15859 (top level): Call breakpoint_over_handler for stepi and nexti too.
15860
763905a3
YQ
158612014-10-27 Yao Qi <yao@codesourcery.com>
15862
15863 * gdb.trace/tfile.c (adjust_function_address)
15864 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
15865 function descriptor.
15866
6f259a23
DB
158672014-10-24 Don Breazeal <donb@codesourcery.com>
15868
15869 * gdb.base/foll-fork.exp (test_follow_fork,
15870 catch_fork_child_follow): Check for updated fork messages emitted
15871 from infrun.c.
15872 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
15873 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
15874 vfork_and_exec_child_follow_through_step): Check for updated vfork
15875 messages emitted from infrun.c.
15876
09dd9a69
PA
158772014-10-24 Pedro Alves <palves@redhat.com>
15878
15879 * gdb.base/corefile.exp: Remove references to ultrix.
15880 * gdb.base/interrupt.exp: Likewise.
15881 * gdb.base/whatis.exp: Likewise.
15882 * gdb.gdb/selftest.exp: Likewise.
15883 * gdb.threads/manythreads.exp: Likewise.
15884 * gdb.threads/print-threads.exp: Likewise.
15885 * gdb.threads/pthreads.exp:: Likewise.
15886 * gdb.threads/schedlock.exp: Likewise.
15887
3433cfa5
SC
158882014-10-24 Siva Chandra Reddy <sivachandra@google.com>
15889
15890 * gdb.cp/non-trivial-retval.cc: Add a test case.
15891 * gdb.cp/non-trivial-retval.exp: Add a test.
15892
092f880b
YQ
158932014-10-20 Yao Qi <yao@codesourcery.com>
15894
15895 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
15896 * gdb.python/py-objfile-script-gdb.py: New file.
15897 * gdb.python/py-objfile-script.exp: Update reference to
15898 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
15899 of remote_download. Remove the dest file.
15900
acbdb7f3
YQ
159012014-10-20 Yao Qi <yao@codesourcery.com>
15902
15903 * gdb.base/checkpoint.exp: Don't remove file copied on host.
15904 * gdb.base/step-line.exp: Likewise.
15905 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
15906 * gdb.dwarf2/dw2-basic.exp: Likewise.
15907 * gdb.dwarf2/dw2-compressed.exp: Likewise.
15908 * gdb.dwarf2/dw2-filename.exp: Likewise.
15909 * gdb.dwarf2/dw2-intercu.exp: Likewise.
15910 * gdb.dwarf2/dw2-intermix.exp: Likewise.
15911 * gdb.dwarf2/dw2-producer.exp: Likewise.
15912 * gdb.dwarf2/mac-fileno.exp: Likewise.
15913 * gdb.python/py-frame-args.exp: Likewise.
15914 * gdb.python/py-framefilter.exp: Likewise.
15915 * gdb.python/py-mi.exp: Likewise.
15916 * gdb.python/py-objfile-script.exp: Likewise
15917 * gdb.python/py-pp-integral.exp: Likewise.
15918 * gdb.python/py-pp-re-notag.exp: Likewise.
15919 * gdb.python/py-prettyprint.exp: Likewise.
15920 * gdb.python/py-section-script.exp: Likewise.
15921 * gdb.python/py-typeprint.exp: Likewise.
15922 * gdb.python/py-xmethods.exp: Likewise.
15923 * gdb.stabs/weird.exp: Likewise.
15924 * gdb.xml/tdesc-regs.exp: Likewise.
15925
bd286a29
KCY
159262014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
15927
15928 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
15929 (out_cu): Use addr_len for the size of addresses.
15930 (out_line): Likewise. Size DW_LNE_set_address instruction
15931 according to addr_len.
15932 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
15933 (FUNC): Add START_INSNS to definition.
15934
673dc4a0
YQ
159352014-10-18 Yao Qi <yao@codesourcery.com>
15936
15937 * gdb.base/argv0-symlink.exp: Check argv[0] value if
15938 gdb_has_argv0 return true.
15939 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
15940 check [target_info exists noargs], check [gdb_has_argv0]
15941 instead.
15942 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
15943 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
15944 procedures.
15945
4ffbba72
DE
159462014-10-17 Doug Evans <dje@google.com>
15947
15948 * gdb.python/py-events.exp: Update expected output for clear_objfiles
15949 event.
15950 * gdb.python/py-events.py: Add clear_objfiles event.
15951
d096d8c1
DE
159522014-10-17 Doug Evans <dje@google.com>
15953
15954 * gdb.python/py-objfile.exp: Test progspace attribute.
15955
a80db015
LM
159562014-10-17 Luis Machado <lgustavo@codesourcery.com>
15957
15958 * gdb.guile/scm-breakpoint.exp: Do not assume any
15959 directory separators when matching source file paths.
15960 * gdb.python/py-breakpoint.exp: Likewise.
15961 * gdb.reverse/break-precsave.exp: Likewise.
15962 * gdb.reverse/break-reverse.exp: Likewise.
15963 * gdb.reverse/consecutive-precsave.exp: Likewise.
15964 * gdb.reverse/finish-precsave.exp: Likewise.
15965 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
15966 * gdb.reverse/finish-reverse.exp: Likewise.
15967 * gdb.reverse/i386-precsave.exp: Likewise.
15968 * gdb.reverse/i387-env-reverse.exp: Likewise.
15969 * gdb.reverse/i387-stack-reverse.exp: Likewise.
15970 * gdb.reverse/machinestate-precsave.exp: Likewise.
15971 * gdb.reverse/machinestate.exp: Likewise.
15972 * gdb.reverse/sigall-precsave.exp: Likewise.
15973 * gdb.reverse/solib-precsave.exp: Likewise.
15974 * gdb.reverse/step-precsave.exp: Likewise.
15975 * gdb.reverse/until-precsave.exp: Likewise.
15976 * gdb.reverse/watch-precsave.exp: Likewise.
15977 * gdb.reverse/watch-reverse.exp: Likewise.
15978
b22089ab
YQ
159792014-10-17 Yao Qi <yao@codesourcery.com>
15980
15981 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
15982 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
15983
6c4486e6
PA
159842014-10-17 Pedro Alves <palves@redhat.com>
15985
15986 PR gdb/17471
15987 * gdb.base/bg-execution-repeat.c: New file.
15988 * gdb.base/bg-execution-repeat.exp: New file.
15989
0ff33695
PA
159902014-10-17 Pedro Alves <palves@redhat.com>
15991
15992 PR gdb/17300
15993 * gdb.base/continue-all-already-running.c: New file.
15994 * gdb.base/continue-all-already-running.exp: New file.
15995
6fdebc3d
PA
159962014-10-17 Pedro Alves <palves@redhat.com>
15997
15998 PR gdb/17472
15999 * gdb.base/annota-input-while-running.c: New file.
16000 * gdb.base/annota-input-while-running.exp: New file.
16001
32a8097b
PA
160022014-10-17 Pedro Alves <palves@redhat.com>
16003
16004 * gdb.base/callfuncs.exp: emove references to osf.
16005 * gdb.base/sigall.exp: Likewise.
16006 * gdb.gdb/selftest.exp: Likewise.
16007 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
16008 * gdb.mi/non-stop.c: Likewise.
16009 * gdb.mi/pthreads.c: Likewise.
16010 * gdb.reverse/sigall-precsave.exp: Likewise.
16011 * gdb.reverse/sigall-reverse.exp: Likewise.
16012 * gdb.threads/pthreads.c: Likewise.
16013 * gdb.threads/pthreads.exp: Likewise.
16014
7a3517ff
YQ
160152014-10-17 Yao Qi <yao@codesourcery.com>
16016
16017 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
16018 check 'target_info exists noargs'.
16019 (test_command_prompt_position): Likewise.
16020 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
16021 Remove "set args".
16022 (progvar_simple_while_test): Likewise.
16023 (progvar_complex_if_while_test): Likewise.
16024 (if_while_breakpoint_command_test): Likewise.
16025 (infrun_breakpoint_command_test): Likewise.
16026 (breakpoint_command_test): Likewise.
16027 (watchpoint_command_test): Likewise.
16028 (bp_deleted_in_command_test): Likewise.
16029 (temporary_breakpoint_commands): Likewise.
16030
bb99c472
YQ
160312014-10-16 Yao Qi <yao@codesourcery.com>
16032
16033 * gdb.base/remotetimeout.exp: Remove noargs checking.
16034
7c16b83e
PA
160352014-10-15 Pedro Alves <palves@redhat.com>
16036
16037 PR breakpoints/9649
16038 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
16039 * gdb.base/breakpoint-in-ro-region.exp
16040 (probe_target_hardware_step): New procedure.
16041 (top level): Probe hardware stepping and hardware breakpoint
16042 support. Test stepping through a read-only region, with both
16043 "breakpoint auto-hw" on and off and both "always-inserted" on and
16044 off.
16045
35a49624
IB
160462014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
16047
16048 * gdb.dlang/demangle.exp: Update for demangling changes.
16049
2d1c107c
SC
160502014-10-15 Siva Chandra Reddy <sivachandra@google.com>
16051
16052 * gdb.cp/non-trivial-retval.cc: Add new test cases.
16053 * gdb.cp/non-trivial-retval.exp: Add new tests.
16054
778811d5
SC
160552014-10-15 Siva Chandra Reddy <sivachandra@google.com>
16056
16057 PR c++/13403
16058 PR c++/15154
16059 * gdb.cp/non-trivial-retval.cc: New file.
16060 * gdb.cp/non-trivial-retval.exp: New file.
16061
10c5f0a8
YQ
160622014-10-15 Yao Qi <yao@codesourcery.com>
16063
16064 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
16065 remote host.
16066
65d7b369
YQ
160672014-10-15 Yao Qi <yao@codesourcery.com>
16068
16069 * gdb.python/py-symbol.exp: Match file base name if host is
16070 remote, otherwise match file name with dir name.
16071 * gdb.python/py-symtab.exp: Likewise.
16072 * gdb.python/python.exp: Likewise.
16073
46dc1394
YQ
160742014-10-15 Yao Qi <yao@codesourcery.com>
16075
16076 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
16077 pattern.
16078 * gdb.python/py-symtab.exp: Likewise.
16079 * gdb.python/python.exp: Remove trailing ".*". Fix typo
16080 locationn.
16081
c40cc657
JB
160822014-10-14 Joel Brobecker <brobecker@adacore.com>
16083
16084 * gdb.ada/addr_arith: New testcase.
16085
2abf49e1
MR
160862014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
16087
16088 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
16089 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
16090 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
16091 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
16092
f7088df3
SDJ
160932014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
16094
16095 * gdb.arch/stap-eval-lang-ada.S: Likewise.
16096 * gdb.arch/stap-eval-lang-ada.c: Likewise.
16097 * gdb.arch/stap-eval-lang-ada.exp: New file.
16098
4dc06805
YQ
160992014-10-14 Yao Qi <yao@codesourcery.com>
16100
16101 * gdb.mi/mi-var-child.c (nothing1): New function.
16102 (nothing2): New function.
16103 (do_children_tests): Set function pointers by nothing1 and
16104 nothing2.
16105 * gdb.mi/mi-var-child.exp: Step over new added statements.
16106 Update test to match the new output.
16107 * gdb.mi/var-cmd.c (nothing1): New function.
16108 (nothing2): New function.
16109 (do_children_tests): Set function pointers by nothing1 and
16110 nothing2.
16111 * gdb.mi/mi-var-display.exp: Update test to match output.
16112 Step to the line specified by $line_dct_nothing.
16113 Increase the number of lines to step.
16114
46a93de2
YQ
161152014-10-14 Yao Qi <yao@codesourcery.com>
16116
16117 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
16118 tests.
16119 * gdb.mi/mi2-var-child.exp: Likewise.
16120
14ea52ee
DE
161212014-10-13 Doug Evans <dje@google.com>
16122
16123 * gdb.python/py-objfile.exp: Change name of file name test.
16124
e5c6e92b
DE
161252014-10-13 Doug Evans <dje@google.com>
16126
16127 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
16128 from the start of the CU.
16129
c780cc2f
JK
161302014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
16131 Yao Qi <yao@codesourcery.com>
16132
16133 Fix "save breakpoints" for "catch" command.
16134 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
16135 Remove -nonewline. Match also the added "main" line.
16136
99894e11
JK
161372014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16138
16139 Fix "save breakpoints" for "disable $bpnum" command.
16140 * gdb.base/save-bp.c (main): Add label.
16141 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
16142
6e1ac5a3
JK
161432014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16144
16145 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
16146
754dd2b0
YQ
161472014-10-11 Yao Qi <yao@codesourcery.com>
16148
16149 * gdb.server/server-kill.exp: Execute command
16150 "set remote trace-status-packet on" before "tstatus".
16151
f90183d7
YQ
161522014-10-11 Yao Qi <yao@codesourcery.com>
16153
16154 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
16155 (main): Call getppid.
16156 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
16157 and continue to it. Read variable "server_pid".
16158
bf40a607
YQ
161592014-10-11 Yao Qi <yao@codesourcery.com>
16160
16161 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
16162
052ca370
YQ
161632014-10-11 Yao Qi <yao@codesourcery.com>
16164
16165 * gdb.threads/thread-find.exp: Don't execute command
16166 "info threads".
16167 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
16168 * gdb.threads/linux-dp.exp: Don't check the condition
16169 $threads_created equals to zero.
16170
3831839c
PA
161712014-10-10 Pedro Alves <palves@redhat.com>
16172
16173 * gdb.base/bigcore.exp: Remove references to IRIX.
16174 * gdb.base/funcargs.exp: Likewise.
16175 * gdb.base/interrupt.exp: Likewise.
16176 * gdb.base/mips_pro.exp: Likewise.
16177 * gdb.base/nodebug.exp: Likewise.
16178 * gdb.base/setvar.exp: Likewise.
16179 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
16180
8b9a549d
PA
161812014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
16182 Pedro Alves <palves@redhat.com>
16183
16184 PR symtab/14466
16185 * gdb.base/vdso-warning.c: New file.
16186 * gdb.base/vdso-warning.exp: New file.
16187
d48ba5e8
DE
161882014-10-02 Doug Evans <dje@google.com>
16189
16190 * gdb.base/structs.c (main): Don't run forever.
16191
2278c276
PA
161922014-10-02 Pedro Alves <palves@redhat.com>
16193
16194 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
16195 (top level) <stop threads 1, stop threads 2>: Use it.
16196
b57bacec
PA
161972014-10-02 Pedro Alves <palves@redhat.com>
16198
16199 * gdb.threads/break-while-running.exp (test): Add new
16200 'update_thread_list' argument. Skip "info threads" if false.
16201 (top level): Add new 'update_thread_list' axis.
16202
13fd3ff3
PA
162032014-10-02 Pedro Alves <palves@redhat.com>
16204
16205 PR breakpoints/17431
16206 * gdb.base/execl-update-breakpoints.c: New file.
16207 * gdb.base/execl-update-breakpoints.exp: New file.
16208
0fec99e8
PA
162092014-10-01 Pedro Alves <palves@redhat.com>
16210
16211 * gdb.base/breakpoint-in-ro-region.c: New file.
16212 * gdb.base/breakpoint-in-ro-region.exp: New file.
16213
2ddf4301
SM
162142014-10-01 Simon Marchi <simon.marchi@ericsson.com>
16215
16216 * gdb.mi/mi-exit-code.exp: New file.
16217 * gdb.mi/mi-exit-code.c: New file.
16218
6a5f3f43
YQ
162192014-09-30 Yao Qi <yao@codesourcery.com>
16220
16221 * lib/prelink-support.exp (build_executable_own_libs): Error if
16222 the target isn't native.
16223
345bcc73
YQ
162242014-09-30 Yao Qi <yao@codesourcery.com>
16225
16226 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
16227 false.
16228
a25a5a45
PA
162292014-09-22 Pedro Alves <palves@redhat.com>
16230
16231 * gdb.threads/break-while-running.exp: New file.
16232 * gdb.threads/break-while-running.c: New file.
16233
00ba3162
YQ
162342014-09-19 Yao Qi <yao@codesourcery.com>
16235
16236 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
16237 Invoke test. Restart GDB with --readnow and invoke test again.
16238
c3b7b696
YQ
162392014-09-19 Yao Qi <yao@codesourcery.com>
16240
16241 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
16242 proc set_breakpoint_on_gcd_function. Invoke
16243 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
16244 invoke set_breakpoint_on_gcd_function again.
16245
2b4fd423
DE
162462014-09-18 Doug Evans <dje@google.com>
16247
16248 * gdb.dwarf2/symtab-producer.exp: New file.
16249
a5947601
SDJ
162502014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
16251
16252 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
16253 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
16254 * gdb.base/global-var-nested-by-dso.c: Likewise.
16255 * gdb.base/global-var-nested-by-dso.exp: Likewise.
16256
91c19059
SDJ
162572014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
16258 Pedro Alves <palves@redhat.com>
16259
16260 * gdb.base/watch-bitfields.exp: Pass string other than test file
16261 name to prepare_for_testing.
16262 (watch): New procedure.
16263 (expect_watchpoint): Use with_test_prefix.
16264 (top level): Factor out tests to ...
16265 (test_watch_location, test_regular_watch): ... these new
16266 procedures, and use with_test_prefix and gdb_continue_to_end.
16267
bb9d5f81
PP
162682014-09-16 Patrick Palka <patrick@parcs.ath.cx>
16269
16270 PR breakpoints/12526
16271 * gdb.base/watch-bitfields.exp: New file.
16272 * gdb.base/watch-bitfields.c: New file.
16273
635856f5
PA
162742014-09-16 Pedro Alves <palves@redhat.com>
16275
16276 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
16277 software and hardware addresses, not software address against
16278 itself.
16279
7280ceea
PA
162802014-09-16 Pedro Alves <palves@redhat.com>
16281
16282 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
16283 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
16284
428b16bd
PA
162852014-09-16 Pedro Alves <palves@redhat.com>
16286
16287 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
16288 files.
16289 * gdb.base/a2-run.exp: Remove all code guarded by istarget
16290 "*-*-vxworks*" throughout.
16291 * gdb.base/break.exp: Likewise.
16292 * gdb.base/default.exp: Likewise.
16293 * gdb.base/scope.exp: Likewise.
16294 * gdb.base/sepdebug.exp: Likewise.
16295 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
16296 throughout.
16297 * gdb.base/run.c: Likewise.
16298 * gdb.base/sepdebug.c: Likewise.
16299 * gdb.hp/gdb.aCC/run.c: Likewise.
16300 * gdb.reverse/until-reverse.c: Likewise.
16301 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
16302
666d413c
YQ
163032014-09-16 Yao Qi <yao@codesourcery.com>
16304
16305 * boards/local-remote-host-native.exp: New file.
16306
57cbd724
DE
163072014-09-14 Doug Evans <xdje42@gmail.com>
16308
16309 * gdb.threads/queue-signal.c (thread_count): New variable.
16310 (thread_count_mutex, thread_count_condvar): New variables.
16311 (incr_thread_count, wait_all_threads_running): New functions.
16312 (main): Wait for all threads to be in their thread functions.
16313
81219e53
DE
163142014-09-13 Doug Evans <xdje42@gmail.com>
16315
16316 * gdb.threads/queue-signal.c: New file.
16317 * gdb.threads/queue-signal.exp: New file.
16318
3714cea7
DE
163192014-09-13 Doug Evans <xdje42@gmail.com>
16320
16321 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
16322 be consistent with what default_gdb_init uses.
16323 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
16324 the plain text of the prompt. Add some logging printfs.
16325 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
16326
fa43b1d7
PA
163272014-09-12 Pedro Alves <palves@redhat.com>
16328
16329 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
16330 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
16331 * gdb.arch/i386-size-overlap.exp: Likewise.
16332 * gdb.arch/i386-size.exp: Likewise.
16333 * gdb.arch/i386-unwind.exp: Likewise.
16334 * gdb.base/a2-run.exp: Likewise.
16335 * gdb.base/break.exp: Likewise.
16336 * gdb.base/charset.exp: Likewise.
16337 * gdb.base/chng-syms.exp: Likewise.
16338 * gdb.base/commands.exp: Likewise.
16339 * gdb.base/dbx.exp: Likewise.
16340 * gdb.base/find.exp: Likewise.
16341 * gdb.base/funcargs.exp: Likewise.
16342 * gdb.base/jit-simple.exp: Likewise.
16343 * gdb.base/reread.exp: Likewise.
16344 * gdb.base/sepdebug.exp: Likewise.
16345 * gdb.base/step-bt.exp: Likewise.
16346 * gdb.cp/mb-inline.exp: Likewise.
16347 * gdb.cp/mb-templates.exp: Likewise.
16348 * gdb.objc/basicclass.exp: Likewise.
16349 * gdb.threads/killed.exp: Likewise.
16350
9d9bf2df
EBM
163512014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16352
16353 PR tdep/17379
16354 * gdb.arch/powerpc-stackless.S: New file.
16355 * gdb.arch/powerpc-stackless.exp: New file.
16356
1cf2f1b0
JK
163572014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16358
16359 * gdb.base/attach.c: Include unistd.h.
16360 (main): Call alarm. Add label postloop.
16361 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
16362 gdb_breakpoint, gdb_continue_to_breakpoint.
16363 (test_command_line_attach_run): Kill ${testpid} in one exit path.
16364
98880d46
PA
163652014-09-11 Pedro Alves <palves@redhat.com>
16366
16367 PR gdb/17347
16368 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
16369 * gdb.base/attach.exp (test_command_line_attach_run): New
16370 procedure.
16371 (top level): Call it.
16372
4c92ff2c
PA
163732014-09-11 Pedro Alves <palves@redhat.com>
16374
16375 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
16376 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
16377 (do_command_attach_tests): Use spawn_wait_for_attach.
16378 * gdb.base/solib-overlap.exp: Likewise.
16379 * gdb.multi/multi-attach.exp: Likewise.
16380 * gdb.python/py-prompt.exp: Likewise.
16381 * gdb.python/py-sync-interp.exp: Likewise.
16382 * gdb.server/ext-attach.exp: Likewise.
16383
3adc1a7d
GKB
163842014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
16385
16386 * gdb.fortran/array-element.exp: Remove unexpected "continue"
16387 command in testcase. Simplify testcase.
16388
96334934
JB
163892014-09-10 Joel Brobecker <brobecker@adacore.com>
16390
16391 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
16392
eb479039
JB
163932014-09-10 Joel Brobecker <brobecker@adacore.com>
16394
16395 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
16396
deede10c
JB
163972014-09-10 Joel Brobecker <brobecker@adacore.com>
16398
16399 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
16400
7828a5f5
JB
164012014-09-10 Joel Brobecker <brobecker@adacore.com>
16402
16403 * gdb.dwarf2/dynarr-ptr.c: New file.
16404 * gdb.dwarf2/dynarr-ptr.exp: New file.
16405
33aeebcf
MR
164062014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16407
16408 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
16409 of 30 rather than hardcoding 120 for a slow test case. Take the
16410 `gdb,timeout' target setting into account for this calculation.
16411 Don't extend the timeout for the test cases that don't need it.
16412
7b415901
MR
164132014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16414
16415 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
16416 a factor of 2 for a slow test case. Take the `gdb,timeout'
16417 target setting into account for this calculation.
16418 * gdb.reverse/until-precsave.exp: Increase the timeout by
16419 a factor of 15 and 3 respectively rather than adding 120
16420 for a pair of slow test cases. Take the `gdb,timeout'
16421 target setting into account for this calculation.
16422
4a40f85a
MR
164232014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16424
16425 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
16426 timeout, don't pass one down to gdb_expect.
16427 (gdb_expect): Rework timeout selection.
16428
09635af7
MR
164292014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16430
16431 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
16432 exception on timeout.
16433 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
16434 (gdbserver_start_extended): Catch any `gdbserver_start' error
16435 exceptions.
16436 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
16437 * lib/mi-support.exp (mi_gdb_target_load): Catch any
16438 `gdbserver_gdb_load' error exceptions.
16439
2bdd10b7
MR
164402014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16441
16442 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
16443 120 on waiting for the TCP socket to open.
16444
316935f0
DE
164452014-09-09 Doug Evans <xdje42@gmail.com>
16446
16447 * gdb.base/default.exp (show_conv_list): Add _caller_is,
16448 _caller_matches, _any_caller_is, _any_caller_matches.
16449
83740597
DE
164502014-09-09 Doug Evans <xdje42@gmail.com>
16451
16452 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
16453
4c122fc3
YQ
164542014-09-09 Yao Qi <yao@codesourcery.com>
16455
16456 * gdb.mi/mi-var-display.exp: Set print symbol off.
16457
a9f116cb
GKB
164582014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
16459
16460 PR gdb/17035
16461 * gdb.base/commands.exp: Add tests to verify user-defined
16462 commands with empty bodies.
16463 * gdb.python/py-cmd.exp: Test that we don't show user-defined
16464 python commands in `show user command`.
16465 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
16466 scheme commands in `show user command`.
16467
c75bd3a2
JK
164682014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16469
16470 PR python/17355
16471 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
16472 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
16473 * gdb.python/py-framefilter-invalidarg.exp: New file.
16474 * gdb.python/py-framefilter-invalidarg.py: New file.
16475
faa42425
DE
164762014-09-06 Doug Evans <xdje42@gmail.com>
16477
16478 PR 15276
16479 * gdb.python/py-caller-is.c: New file.
16480 * gdb.python/py-caller-is.exp: New file.
16481
474ca4f6
SDJ
164822014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
16483
16484 PR gdb/17235
16485 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
16486 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
16487
eb0b0463
SDJ
164882014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
16489
16490 PR fortran/17237
16491 * gdb.fortran/print-formatted.exp: New file.
16492 * gdb.fortran/print-formatted.f90: Likewise.
16493
5f3b99cf
SS
164942014-09-03 Sasha Smundak <asmundak@google.com>
16495
16496 * gdb.python/py-frame.exp: Test Frame.read_register.
16497
7d793aa9
SDJ
164982014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
16499
16500 PR python/16699
16501 * gdb.python/py-completion.exp: New file.
16502 * gdb.python/py-completion.py: Likewise.
16503
fb0576e9
DE
165042014-08-28 Doug Evans <dje@google.com>
16505
16506 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
16507 eax,etc. are live with values set by gdb and thus the compiler can't
16508 use them.
16509 * gdb.arch/i386-pseudo.c (main): Ditto.
16510
ee92b0dd
DE
165112014-08-27 Doug Evans <dje@google.com>
16512
16513 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
16514
6649db35
DE
165152014-08-25 Doug Evans <dje@google.com>
16516
16517 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
16518 (main): Ditto.
16519
564b7600
DE
165202014-08-25 Doug Evans <dje@google.com>
16521
16522 * gdb.threads/thread-execl.exp: #include <stdio.h>.
16523
3881fb67
YQ
165242014-08-24 Yao Qi <yao@codesourcery.com>
16525
16526 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
16527 symbol off.
16528 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
16529
a05a36a5
DE
165302014-08-22 Doug Evans <dje@google.com>
16531
16532 PR 17276
16533 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
16534 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
16535 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
16536
7c343b48
YQ
165372014-08-22 Yao Qi <yao@codesourcery.com>
16538
16539 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
16540 * gdb.python/py-finish-breakpoint2.exp: Likewise.
16541 * gdb.python/python.exp: Likewise. Use .py file on the host
16542 instead of the build.
16543
22fd09ae
JK
165442014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16545
16546 * gdb.threads/gcore-stale-thread.c: New file.
16547 * gdb.threads/gcore-stale-thread.exp: New file.
16548
a8454a7c
PA
165492014-08-21 Pedro Alves <palves@redhat.com>
16550
16551 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
16552 * gdb.base/gcore-relro-pie.exp: Likewise.
16553 * gdb.base/gcore-relro.exp: Likewise.
16554 * gdb.base/gcore.exp: Likewise.
16555 * gdb.base/print-symbol-loading.exp: Likewise.
16556 * gdb.threads/gcore-thread.exp: Likewise.
16557 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
16558
2a31c623
PA
165592014-08-20 Pedro Alves <palves@redhat.com>
16560 Jan Kratochvil <jan.kratochvil@redhat.com>
16561
16562 * Makefile.in (EXTRA_RULES, CC): New variables, get from
16563 configure.
16564 (EXPECT): Handle READ1 being set.
16565 (all): Depend on EXTRA_RULES.
16566 (check-read1, expect-read1, read1.so, read1): New rules.
16567 * README (Testsuite Parameters): Document the READ1 make variable.
16568 (Race detection): New section.
16569 * configure: Regenerate.
16570 * configure.ac: If build==host==target, and running under a
16571 GNU/glibc system, add read1 to the extra Makefile rules.
16572 (EXTRA_RULES): AC_SUBST it.
16573 * lib/read1.c: New file.
16574
d36430db
JB
165752014-08-20 Joel Brobecker <brobecker@adacore.com>
16576
16577 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
16578 the handling of variables declared as a typedef to an array
16579 which a DW_AT_data_location attribute.
16580
9a0dc9e3
PA
165812014-08-19 Andrew Burgess <aburgess@broadcom.com>
16582 Pedro Alves <palves@redhat.com>
16583
16584 PR symtab/14604
16585 PR symtab/14605
16586 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
16587 gdb_test.
16588
0718a8da
PA
165892014-08-19 Pedro Alves <palves@redhat.com>
16590
16591 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
16592
13b448cd
YQ
165932014-08-19 Yao Qi <yao@codesourcery.com>
16594
16595 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
16596 right line.
16597
1cbf5077
DB
165982014-08-18 David Blaikie <dblaikie@gmail.com>
16599
16600 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
16601
bf0fae19
JB
166022014-08-18 Joel Brobecker <brobecker@adacore.com>
16603
16604 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
16605 attribute in array range.
16606
3c8c5dcc
JB
166072014-08-18 Joel Brobecker <brobecker@adacore.com>
16608
16609 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
16610
e66d4446
SC
166112014-08-15 Siva Chandra Reddy <sivachandra@google.com>
16612
16613 PR c++/17132
16614 * gdb.cp/pr17132.cc: New file.
16615 * gdb.cp/pr17132.exp: New file.
16616
940df408
SC
166172014-08-15 Siva Chandra Reddy <sivachandra@google.com>
16618
16619 * gdb.python/py-xmethods.py (A_getarrayind)
16620 (E_method_char_worker.__call__, E_method_int_worker.__call__):
16621 Use 'print' with function call syntax.
16622 (E_method_matcher.match): Fix tab vs space indentation mixup.
16623
ebcc6c3a
YQ
166242014-08-15 Yao Qi <yao@codesourcery.com>
16625
16626 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
16627 false.
16628
775e0f04
YQ
166292014-08-15 Yao Qi <yao@codesourcery.com>
16630
16631 * gdb.cp/casts.exp: Set print symbol off.
16632 * gdb.cp/class2.exp: Likewise.
16633 * gdb.cp/overload.exp: Likewise.
16634 * gdb.cp/templates.exp: Likewise.
16635
d769e349
DE
166362014-08-11 Doug Evans <dje@google.com>
16637
16638 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
16639 (test_load_shlib): Update.
16640
20c6f1e1
YQ
166412014-08-09 Yao Qi <yao@codesourcery.com>
16642
16643 * gdb.base/display.exp: Invoke is_address_zero_readable.
16644 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
16645 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
16646 * gdb.base/hbreak-unmapped.exp: Return if
16647 is_address_zero_readable returns true.
16648 * gdb.base/signest.exp: Likewise.
16649 * gdb.base/signull.exp: Likewise.
16650 * gdb.base/sigbpt.exp: Likewise.
16651 * gdb.guile/scm-disasm.exp: Do the test if
16652 is_address_zero_readable returns false.
16653 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
16654 * gdb.python/py-arch.exp: Likewise.
16655 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
16656 * lib/gdb.exp (is_address_zero_readable): New proc.
16657
5792e8e3
YQ
166582014-08-09 Yao Qi <yao@codesourcery.com>
16659
16660 PR testsuite/13443
16661 * gdb.mi/mi-var-display.exp: Make test messages unique.
16662
3cecbbbe
TT
166632014-08-04 Tom Tromey <tromey@redhat.com>
16664
16665 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
16666 target 0".
16667
00b51ff5
TT
166682014-08-04 Tom Tromey <tromey@redhat.com>
16669
16670 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
16671 "target_resume".
16672
6908c509
JB
166732014-08-01 Joel Brobecker <brobecker@adacore.com>
16674
16675 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
16676 inner_vla_struct_object_size.
16677 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
16678 as xfail.
16679
cc6563d2
PA
166802014-07-30 Pedro Alves <palves@redhat.com>
16681
16682 * gdb.threads/signal-command-handle-nopass.exp (test): Add
16683 comment.
16684
7e09a223
YQ
166852014-07-29 Yao Qi <yao@codesourcery.com>
16686
16687 PR gdb/17206
16688 * gdb.base/until-nodebug.exp: New.
16689
7ebdbe92
DE
166902014-07-28 Doug Evans <xdje42@gmail.com>
16691
16692 PR guile/17203
16693 * gdb.guile/scm-parameter.exp: Add tests for trying to create
16694 previously existing parameter, and previously ambiguously spelled
16695 parameter.
16696
fdb1adc6
WN
166972014-07-28 Will Newton <will.newton@linaro.org>
16698
16699 * gdb.base/varargs.exp: Remove KFAILs for ARM.
16700
186fcde0
DE
167012014-07-26 Ludovic Courtès <ludo@gnu.org>
16702 Doug Evans <xdje42@gmail.com>
16703
16704 PR guile/17146
16705 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
16706
70509625
PA
167072014-07-25 Pedro Alves <palves@redhat.com>
16708
16709 * gdb.threads/signal-command-handle-nopass.c: New file.
16710 * gdb.threads/signal-command-handle-nopass.exp: New file.
16711 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
16712 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
16713 * gdb.threads/signal-delivered-right-thread.c: New file.
16714 * gdb.threads/signal-delivered-right-thread.exp: New file.
16715
c3f814a1
PA
167162014-07-25 Pedro Alves <palves@redhat.com>
16717
16718 * gdb.base/double-prompt-target-event-error.exp
16719 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
16720 match.
16721 (cancel_pagination_in_target_event): Rework double prompt
16722 detection.
16723 * gdb.base/paginate-after-ctrl-c-running.exp
16724 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
16725 <return>' match.
16726 * gdb.base/paginate-bg-execution.exp
16727 (test_bg_execution_pagination_return)
16728 (test_bg_execution_pagination_cancel): Remove '-notransfer
16729 <return>' matches.
16730 * gdb.base/paginate-execution-startup.exp
16731 (test_fg_execution_pagination_return)
16732 (test_fg_execution_pagination_cancel): Remove '-notransfer
16733 <return>' matches.
16734 * gdb.base/paginate-inferior-exit.exp
16735 (test_paginate_inferior_exited): Remove '-notransfer <return>'
16736 match.
16737 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
16738 * lib/gdb.exp (pagination_prompt): Run text through
16739 string_to_regexp.
16740 (gdb_test_multiple): Match $pagination_prompt instead of
16741 "<return>".
16742 (string_to_regexp): Move to lib/gdb-utils.exp.
16743
e214cf6c
JK
167442014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16745
16746 * gdb.arch/amd64-entry-value-paramref.S: New file.
16747 * gdb.arch/amd64-entry-value-paramref.cc: New file.
16748 * gdb.arch/amd64-entry-value-paramref.exp: New file.
16749 * gdb.arch/amd64-optimout-repeat.S: New file.
16750 * gdb.arch/amd64-optimout-repeat.c: New file.
16751 * gdb.arch/amd64-optimout-repeat.exp: New file.
16752
17d0c5c8
JK
167532014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
16754
16755 PR gdb/17170
16756 * gdb.base/statistics.exp: New file.
16757
b8b8facf
DE
167582014-07-17 Doug Evans <dje@google.com>
16759
74b49205 16760 PR gdb/17170
b8b8facf
DE
16761 * gdb.base/maint.exp: Update testing of per-command stats.
16762
1b5d0ab3
PA
167632014-07-16 Pedro Alves <palves@redhat.com>
16764
16765 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
16766 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
16767 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
16768 (tfile_write_buf): New functions.
16769 (add_memory_block): Rewrite using the above.
16770 (adjust_function_address): New function.
16771 (FUNCTION_ADDRESS): New macro.
16772 (write_basic_trace_file): Remove short_x local, and use
16773 tfile_write_16. Change type of func_addr local to unsigned long
16774 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
16775 here. Cast argument of add_memory_block to char pointer.
16776 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
16777 (main): Remove parameters.
16778 * gdb.trace/tfile.exp: Remove nowarnings.
16779
4d974e88
SM
167802014-07-15 Simon Marchi <simon.marchi@ericsson.com>
16781
16782 * gdb.base/debug-expr.exp: Test string evaluation with
16783 "debug expression" on.
16784
41e99568
PA
167852014-07-15 Pedro Alves <palves@redhat.com>
16786
16787 * gdb.base/reread.exp: Use clean_restart.
16788
487d9753
PL
167892014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
16790
16791 * gdb.arch/avr-flash-qualifer.c: New.
16792 * gdb.arch/avr-flash-qualifer.exp: New.
16793
cc1c52ad
PA
167942014-07-14 Pedro Alves <palves@redhat.com>
16795
16796 * gdb.base/paginate-after-ctrl-c-running.c: New file.
16797 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
16798
1e973570
PA
167992014-07-14 Pedro Alves <palves@redhat.com>
16800
16801 * gdb.base/double-prompt-target-event-error.c: New file.
16802 * gdb.base/double-prompt-target-event-error.exp: New file.
16803
93d6eb10
PA
168042014-07-14 Pedro Alves <palves@redhat.com>
16805
16806 PR gdb/17072
16807 * gdb.base/paginate-inferior-exit.c: New file.
16808 * gdb.base/paginate-inferior-exit.exp: New file.
16809
0017922d
PA
168102014-07-14 Pedro Alves <palves@redhat.com>
16811
16812 PR gdb/17072
16813 * gdb.base/paginate-bg-execution.c: New file.
16814 * gdb.base/paginate-bg-execution.exp: New file.
16815
94696ad3
PA
168162014-07-14 Pedro Alves <palves@redhat.com>
16817
16818 PR gdb/17072
16819 * gdb.base/paginate-execution-startup.c: New file.
16820 * gdb.base/paginate-execution-startup.exp: New file.
16821 * lib/gdb.exp (pagination_prompt): New global.
16822 (default_gdb_spawn): New procedure, factored out from
16823 default_gdb_spawn.
16824 (default_gdb_start): Adjust to call default_gdb_spawn.
16825 (gdb_spawn): New procedure.
16826
bd293940
PA
168272014-07-14 Pedro Alves <palves@redhat.com>
16828
16829 * lib/gdb.exp (gdb_assert): New procedure.
16830 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
16831
c933f875
PA
168322014-07-14 Pedro Alves <palves@redhat.com>
16833
16834 * gdb.base/execution-termios.c: New file.
16835 * gdb.base/execution-termios.exp: New file.
16836
d98b7a16
TT
168372014-07-14 Tom Tromey <tromey@redhat.com>
16838
16839 * gdb.cp/vla-cxx.cc: New file.
16840 * gdb.cp/vla-cxx.exp: New file.
16841
548740d6
TT
168422014-07-14 Tom Tromey <tromey@redhat.com>
16843
16844 * gdb.reverse/rerun-prec.c: New file.
16845 * gdb.reverse/rerun-prec.exp: New file.
16846
a25eb028
MR
168472014-07-12 Maciej W. Rozycki <macro@mips.com>
16848 Maciej W. Rozycki <macro@codesourcery.com>
16849
16850 * lib/gdb-utils.exp: New file.
16851 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
16852 inline `gdb_init_command' processing.
16853 (gdb_start_cmd): Likewise.
16854 * lib/mi-support.exp (mi_run_cmd): Likewise.
16855 * README: Document `gdb_init_command' and `gdb_init_commands'.
16856
218c2655
JK
168572014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16858
16859 Fix false FAIL running under a very long directory name.
16860 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
16861 and "set print elements 10000". Twice.
16862
5401fde3
YQ
168632014-07-11 Yao Qi <yao@codesourcery.com>
16864
16865 * gdb.base/exprs.exp: "set print symbol off".
16866
e76126e8
PA
168672014-07-11 Pedro Alves <palves@redhat.com>
16868
16869 * gdb.threads/kill.c: New file.
16870 * gdb.threads/kill.exp: New file.
16871
2d6f0de6
YQ
168722014-07-10 Yao Qi <yao@codesourcery.com>
16873
16874 * gdb.trace/tfile.c (write_basic_trace_file)
16875 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
16876 address written to trace file.
16877
7180e04a
PA
168782014-07-09 Pedro Alves <palves@redhat.com>
16879
16880 * gdb.base/attach-wait-input.exp: New file.
16881 * gdb.base/attach-wait-input.c: New file.
16882
9a9a7608
AB
168832014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
16884
16885 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
16886 setting up test structures.
16887 (main): Call new test function.
16888 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
16889 test function, continue into test function and walk test
16890 structures.
16891
161ac41e
YQ
168922014-07-02 Yao Qi <yao@codesourcery.com>
16893
16894 * gdb.trace/entry-values.c: Define labels 'foo_start' and
16895 'bar_start' at the beginning of functions 'foo' and 'bar'
16896 respectively.
16897 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
16898 instead of 'foo' and 'bar'.
16899
1f267ae3
MM
169002014-07-08 Markus Metzger <markus.t.metzger@intel.com>
16901
16902 * gdb.btrace/segv.exp: New.
16903 * gdb.btrace/segv.c: New.
16904
2b239efb
LM
169052014-07-02 Luis Machado <lgustavo@codesourcery.com>
16906
16907 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
16908 instruction.
16909
cf363f18
MW
169102014-06-30 Mark Wielaard <mjw@redhat.com>
16911
16912 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
16913 vulture, vilify, villar): New volatile array constants.
16914 (vindictive, vegetation): New const volatile array constants.
16915 * gdb.base/volatile.exp: Test volatile and const volatile array
16916 types.
16917
aebf9d24
AA
169182014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
16919
16920 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
16921 target lacks support for awatch, rwatch, or hbreak.
16922
b67a2c6f
YQ
169232014-06-27 Yao Qi <yao@codesourcery.com>
16924
16925 * gdb.multi/dummy-frame-restore.exp: New.
16926 * gdb.multi/dummy-frame-restore.c: New.
16927
aef92902
MM
169282014-06-25 Markus Metzger <markus.t.metzger@intel.com>
16929
16930 * gdb.btrace/gcore.exp: New.
16931
8e9db26e
PA
169322014-06-23 Pedro Alves <palves@redhat.com>
16933
16934 * gdb.base/watchpoint-reuse-slot.c: New file.
16935 * gdb.base/watchpoint-reuse-slot.exp: New file.
16936
70afc5b7
SC
169372014-06-23 Siva Chandra Reddy <sivachandra@google.com>
16938
16939 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
16940 progspace's filename in 'info', 'enable' and 'disable' command
16941 tests.
16942
b972bd9c
JK
169432014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
16944
16945 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
16946 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
16947 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
16948
125f8a3d
GB
169492014-06-20 Gary Benson <gbenson@redhat.com>
16950
16951 * gdb.arch/i386-avx.exp: Fix include file location.
16952 * gdb.arch/i386-sse.exp: Likewise.
16953
3ed9baed
IB
169542014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
16955
16956 * gdb.dlang/expression.exp: New file.
16957
034f788c
PA
169582014-06-19 Pedro Alves <palves@redhat.com>
16959
16960 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
16961 out from ...
16962 (top level): ... here. Iterate running tests under different
16963 scheduler-locking settings.
16964
45371d0c
LM
169652014-06-18 Luis Machado <lgustavo@codesourcery.com>
16966
16967 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
16968 to DW_FORM_addr and use non-zero addresses.
16969
5d376983
SC
169702014-06-18 Siva Chandra Reddy <sivachandra@google.com>
16971
16972 PR gdb/17017
16973 * gdb.python/py-xmethods.cc: Add global function call counters and
16974 increment them in their respective functions. Remove "cout"
16975 statements.
16976 * gdb.python/py-xmethods.exp: Make tests check the global function
16977 call counters instead of depending on inferior IO.
16978
a1aa2221
LM
169792014-06-18 Don Breazeal <donb@codesourcery.com>
16980
16981 * gdb.base/foll-fork.exp (default_fork_parent_follow):
16982 Deleted procedure.
16983 (explicit_fork_parent_follow): Deleted procedure.
16984 (explicit_fork_child_follow): Deleted procedure.
16985 (test_follow_fork): New procedure.
16986 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 16987 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
16988 procedure calls.
16989
0fc05997
YQ
169902014-06-17 Yao Qi <yao@codesourcery.com>
16991
16992 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
16993 CP1252.
16994
70795c52
LM
169952014-06-17 Luis Machado <lgustavo@codesourcery.com>
16996
16997 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
16998 Initialize ptr and S explicitly.
16999 (skip_type_update_when_not_use_rtti_test): Likewise.
17000
6be47f0c
KS
170012014-06-16 Keith Seitz <keiths@redhat.com>
17002
17003 PR mi/15863
17004 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
17005 the inferior is started.
17006
d03de421
PA
170072014-06-16 Pedro Alves <palves@redhat.com>
17008
17009 * gdb.base/break-main-file-remove-fail.c: New file.
17010 * gdb.base/break-main-file-remove-fail.exp: New file.
17011 * gdb.base/break-unload-file.exp: Use build_executable instead of
17012 prepare_for_testing.
17013 (test_break): New parameter "initial_load". Handle it.
17014 (top level): Add initial_load cmdline/file axis.
17015
f9579b99
TT
170162014-06-12 Tom Tromey <tromey@redhat.com>
17017
17018 * gdb.base/completion.exp: Don't use directory name in test.
17019
3657956b
GB
170202014-06-09 Gary Benson <gbenson@redhat.com>
17021
17022 * gdb.base/sigall.c [Functions to send signals]: Reorder to
17023 separate the always-available ANSI-standard signals from the
17024 signals that require checking.
17025 (main): Likewise.
17026 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
17027 Likewise.
17028 (main): Likewise.
17029
4186eb54
KS
170302014-06-07 Keith Seitz <keiths@redhat.com>
17031
17032 Revert:
17033 PR c++/16253
17034 * gdb.cp/var-tag.cc: New file.
17035 * gdb.cp/var-tag.exp: New file.
17036 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
17037 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
17038 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
17039 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
17040
25326a28 170412014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
17042
17043 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
17044
829155c9
PA
170452014-06-06 Pedro Alves <palves@redhat.com>
17046
17047 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
17048 in target debug output instead of looking at RSP packets,
17049 disabling the test on any target that uses hardware stepping.
17050 Update comments.
17051
61c8d22e
PA
170522014-06-06 Pedro Alves <palves@redhat.com>
17053
17054 * gdb.base/break-unload-file.exp: Fix typo.
17055
d9a47287
YQ
170562014-06-06 Yao Qi <yao@codesourcery.com>
17057
17058 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
17059 from "jit_function" to "^jit_function".
17060
e5e01dbf
YQ
170612014-06-06 Yao Qi <yao@codesourcery.com>
17062
17063 * gdb.base/async.c (foo): Add one statement.
17064 * gdb.base/async.exp: Get the next instruction address and
17065 match the output of "nexti" by instruction address. Match
17066 the hex address in the output of "finish".
17067
73ba372c
GB
170682014-06-06 Gary Benson <gbenson@redhat.com>
17069
17070 * gdb.base/call-signals.c: Remove preprocessor conditionals
17071 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
17072 SIGSEGV and SIGTERM.
17073 * gdb.base/sigall.c: Likewise.
17074 * gdb.base/unwindonsignal.c: Likewise.
17075 * gdb.reverse/sigall-reverse.c: Likewise.
17076
831517df
YQ
170772014-06-06 Yao Qi <yao@codesourcery.com>
17078
17079 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
17080 readable, skip the test.
17081
b8b91e98
YQ
170822014-06-06 Yao Qi <yao@codesourcery.com>
17083
17084 * gdb.threads/staticthreads.c (thread_function): Move the line
17085 setting breakpoint on forward.
17086 * gdb.threads/staticthreads.exp: Update comments.
17087
fb934770
LC
170882014-06-05 Ludovic Courtès <ludo@gnu.org>
17089
17090 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
17091 "history-append! type error".
17092
6ef284bd
SM
170932014-06-05 Simon Marchi <simon.marchi@ericsson.com>
17094
17095 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
17096 erroneous dprintf expected input.
17097
a872e241
DE
170982014-06-04 Doug Evans <xdje42@gmail.com>
17099
17100 * gdb.guile/scm-generics.exp: Delete.
17101
16f691fb
DE
171022014-06-04 Doug Evans <xdje42@gmail.com>
17103
17104 * gdb.guile/scm-breakpoint.exp: Update.
17105 Add tests for breakpoint registration.
17106
012370f6
TT
171072014-06-04 Tom Tromey <tromey@redhat.com>
17108
17109 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
17110 VLA-in-union.
17111 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
17112 inner_vla_struct, vla_union types. Initialize objects of those
17113 types and compute their sizes.
17114
9f5a4cef
HZ
171152014-06-04 Nathan Sidwell <nathan@codesourcery.com>
17116 Hui Zhu <hui@codesourcery.com>
17117
17118 * gdb.base/fileio.exp: Add test for shell not available as well as
17119 available.
17120 * gdb.base/fileio.c (test_system): Check for shell twice.
17121
90a45c4d
YQ
171222014-06-04 Yao Qi <yao@codesourcery.com>
17123
17124 * gdb.base/auto-connect-native-target.exp: Remove redundant
17125 space from the regexp pattern.
17126
70017e41
YQ
171272014-06-04 Yao Qi <yao@codesourcery.com>
17128
17129 * gdb.base/default.exp: Replace "child" with "native" in
17130 regexp pattern.
17131
883964a7
SC
171322014-06-03 Siva Chandra Reddy <sivachandra@google.com>
17133
17134 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
17135 * gdb.python/py-xmethods.exp: New tests to test xmethods.
17136 * gdb.python/py-xmethods.py: Python script supporting the
17137 new testcase and tests.
17138
ef370185
JB
171392014-06-03 Joel Brobecker <brobecker@adacore.com>
17140 Pedro Alves <palves@redhat.com>
17141
17142 PR breakpoints/17000
17143 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
17144 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
17145
1e2ccb61
BM
171462014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
17147
17148 * gdb.base/subst.exp: Add tests to verify partial path matching
17149 output.
17150
c6ec5ab2
PA
171512014-06-03 Pedro Alves <palves@redhat.com>
17152
17153 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
17154 target that doesn't use software single-stepping.
17155
835c559f
PA
171562014-06-03 Pedro Alves <palves@redhat.com>
17157
17158 PR breakpoints/17000
17159 * gdb.base/sss-bp-on-user-bp-2.c: New file.
17160 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
17161
06eb1586
DE
171622014-06-02 Doug Evans <xdje42@gmail.com>
17163
17164 * gdb.guile/scm-parameter.exp: New file.
17165
e698b8c4
DE
171662014-06-02 Doug Evans <xdje42@gmail.com>
17167
17168 * gdb.guile/scm-cmd.c: New file.
17169 * gdb.guile/scm-cmd.exp: New file.
17170
ded03782
DE
171712014-06-02 Doug Evans <xdje42@gmail.com>
17172
17173 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
17174 pretty-printer lookup.
17175 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
17176 (make-pp_s-printer): Call it.
17177 (make-pretty-printer-from-dict): New function.
17178 (lookup-pretty-printer-maker-from-dict): New function.
17179 (*pretty-printer*): Simplify.
17180 (make-objfile-pp_s-printer): New function.
17181 (install-objfile-pretty-printers!): New function.
17182 (make-progspace-pp_s-printer): New function.
17183 (install-progspace-pretty-printers!): New function.
17184 * gdb.guile/scm-progspace.c: New file.
17185 * gdb.guile/scm-progspace.exp: New file.
17186
41fac0cf
PA
171872014-06-02 Pedro Alves <palves@redhat.com>
17188
17189 * gdb.base/dprintf-bp-same-addr.c: New file.
17190 * gdb.base/dprintf-bp-same-addr.exp: New file.
17191
96ae5695
EBM
171922014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17193
17194 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
17195 * gdb.arch/powerpc-power.s: Likewise.
17196
da02b3a8
JB
171972014-06-02 Joel Brobecker <brobecker@adacore.com>
17198
17199 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
17200
c72b2e7b
YQ
172012014-06-01 Yao Qi <yao@codesourcery.com>
17202
17203 * gdb.base/watchpoint.exp (test_watch_location): Check null
17204 pointer can be dereferenced. If not, do the test, otherwise
17205 skip it.
17206
53e8a631
AB
172072014-05-30 Andrew Burgess <aburgess@broadcom.com>
17208
17209 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
17210 results.
17211 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
17212
938f0e2f
AB
172132014-05-30 Andrew Burgess <aburgess@broadcom.com>
17214
17215 * gdb.arch/amd64-invalid-stack-middle.S: New file.
17216 * gdb.arch/amd64-invalid-stack-middle.c: New file.
17217 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
17218 * gdb.arch/amd64-invalid-stack-top.c: New file.
17219 * gdb.arch/amd64-invalid-stack-top.exp: New file.
17220
9ba6657a
PA
172212014-05-30 Pedro Alves <palves@redhat.com>
17222
17223 PR breakpoints/17000
17224 * gdb.base/sss-bp-on-user-bp.c: New file.
17225 * gdb.base/sss-bp-on-user-bp.exp: New file.
17226
522c09bf
DB
172272014-05-30 David Blaikie <dblaikie@gmail.com>
17228
17229 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
17230 gnu_inline semantics via attribute.
17231 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
17232 source explicitly specifies the required semantics.
17233
bf4ef81e
MR
172342014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
17235
17236 * gdb.reverse/sigall-reverse.exp: Fix a typo.
17237
329ea579
PA
172382014-05-29 Pedro Alves <palves@redhat.com>
17239 Tom Tromey <tromey@redhat.com>
17240
17241 * gdb.base/async-shell.exp: Don't enable target-async.
17242 * gdb.base/async.exp
17243 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
17244 parameter. Adjust.
17245 (top level): Don't test with "target-async".
17246 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
17247 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
17248 * gdb.base/inferior-died.exp: Don't enable target-async.
17249 * gdb.base/interrupt-noterm.exp: Likewise.
17250 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
17251 * gdb.mi/mi-nonstop-exit.exp: Likewise.
17252 * gdb.mi/mi-nonstop.exp: Likewise.
17253 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
17254 * gdb.mi/mi-nsintrall.exp: Likewise.
17255 * gdb.mi/mi-nsmoribund.exp: Likewise.
17256 * gdb.mi/mi-nsthrexec.exp: Likewise.
17257 * gdb.mi/mi-watch-nonstop.exp: Likewise.
17258 * gdb.multi/watchpoint-multi.exp: Adjust comment.
17259 * gdb.python/py-evsignal.exp: Don't enable target-async.
17260 * gdb.python/py-evthreads.exp: Likewise.
17261 * gdb.python/py-prompt.exp: Likewise.
17262 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
17263 * gdb.server/solib-list.exp: Don't enable target-async.
17264 * gdb.threads/thread-specific-bp.exp: Likewise.
17265 * lib/mi-support.exp: Adjust to use mi-async.
17266
fd664c91
PA
172672014-05-29 Pedro Alves <palves@redhat.com>
17268
17269 PR gdb/13860
17270 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
17271 reason, even in sync mode.
17272
251bde03
PA
172732014-05-29 Pedro Alves <palves@redhat.com>
17274 Hui Zhu <hui@codesourcery.com>
17275
17276 PR PR15693
17277 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
17278 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
17279 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
17280 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
17281
7f3c0343
JB
172822014-05-28 Joel Brobecker <brobecker@adacore.com>
17283
17284 * config/monitor.exp (gdb_target_monitor): Replace use of
17285 "set remotebaud" by "set serial baud".
17286
b2715b27
AW
172872014-05-26 Andy Wingo <wingo@igalia.com>
17288
17289 * gdb.guile/scm-breakpoint.exp:
17290 * gdb.guile/scm-gsmob.exp: Update to use plain old object
17291 properties instead of gdb-object-properties.
17292
498a4489
YQ
172932014-05-26 Yao Qi <yao@codesourcery.com>
17294
17295 * gdb.server/no-thread-db.exp: Specify source file name
17296 explicitly when setting a breakpoint.
17297
589fdceb
MM
172982014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17299
17300 * gdb.btrace/vdso.c: New.
17301 * gdb.btrace/vdso.exp: New.
17302
e9089e05
MM
173032014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17304
17305 * gdb.base/gcore.exp (capture_command_output): Move ...
17306 * lib/gdb.exp (capture_command_output): ... here.
17307
67b5c0c1
MM
173082014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17309
17310 * gdb.btrace/data.exp: Test memory access during btrace replay.
17311
a2199296
SM
173122014-05-22 Simon Marchi <simon.marchi@ericsson.com>
17313
17314 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
17315
17b2616c
PA
173162014-05-21 Pedro Alves <palves@redhat.com>
17317
17318 PR gdb/13860
17319 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
17320 (top level): Test that output related to execution commands is
17321 sent to the console with CLI commands, but not with MI commands.
17322 Test that breakpoint events are always mirrored to the console.
17323 Also expect the new source line to be output after a "next" in
17324 async mode too. Make it a pass/fail test.
17325 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
17326 output.
17327 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
17328
5166082f
PA
173292014-05-21 Pedro Alves <palves@redhat.com>
17330
17331 * gdb.base/list.exp (build_pattern, test_list): New procedures.
17332 Use them to test variations of "list" after reaching a breakpoint.
17333 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
17334 Test "list" with listsize 10 after reaching a breakpoint.
17335 * gdb.python/python.exp (decode_line current location line
17336 number): Adjust expected line number.
17337
2f25d70f
SM
173382014-05-21 Simon Marchi <simon.marchi@ericsson.com>
17339
17340 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
17341 behavior for $args, pass it directly to "run".
17342
ff604a67
MR
173432014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
17344
17345 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
17346 30000 to 65536.
17347
6a3cb8e8
PA
173482014-05-21 Pedro Alves <palves@redhat.com>
17349
17350 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
17351 auto-connect-native-target off".
17352 * gdb.base/auto-connect-native-target.c: New file.
17353 * gdb.base/auto-connect-native-target.exp: New file.
17354
4ebfc96e
PA
173552014-05-21 Pedro Alves <palves@redhat.com>
17356
17357 * gdb.base/default.exp: Test "target native" instead of "target
17358 child".
17359
36d46afb
MW
173602014-05-21 Mark Wielaard <mjw@redhat.com>
17361
17362 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
17363
5876f503
JK
173642014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17365
17366 Fix TLS access for -static -pthread.
17367 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
17368 <HAVE_TLS> (thread_function, main): Initialize it.
17369 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
17370 Add clean_restart.
17371 <$have_tls != "">: Check TLSVAR.
17372
0256a6ac
PA
173732014-05-21 Pedro Alves <palves@redhat.com>
17374
17375 * gdb.base/dcache-line-read-error.c: New.
17376 * gdb.base/dcache-line-read-error.exp: New.
17377
936d2992
PA
173782014-05-20 Pedro Alves <palves@redhat.com>
17379
17380 * gdb.base/compare-sections.c: New file.
17381 * gdb.base/compare-sections.exp: New file.
17382
802e8e6d
PA
173832014-05-20 Pedro Alves <palves@redhat.com>
17384
17385 * gdb.base/break-idempotent.c: New file.
17386 * gdb.base/break-idempotent.exp: New file.
17387
e59fa00f
MM
173882014-05-20 Markus Metzger <markus.t.metzger@intel.com>
17389
17390 * gdb.btrace/nohist.exp: New.
17391
8b696e31
YQ
173922014-05-20 Yao Qi <yao@codesourcery.com>
17393
17394 * lib/gdb.exp (gdb_init): Set timeout if test file is under
17395 gdb.reverse directory and gdb_reverse_timeout exists in board
17396 setting.
17397 * README: Document gdb_reverse_timeout.
17398
73c9764f
YQ
173992014-05-20 Yao Qi <yao@codesourcery.com>
17400
17401 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
17402 'test_file_name'. Treat args as a string instead of a list.
17403 (gdb_init): Rename argument 'args' by 'test_file_name'.
17404
f1f4348a
JK
174052014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
17406
17407 * gdb.arch/powerpc-power.exp: New file.
17408 * gdb.arch/powerpc-power.s: New file.
17409
0dbe70ce
DE
174102014-05-16 Doug Evans <dje@google.com>
17411
17412 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
17413 * gdb.base/completion.exp: Check that all expected files exist
17414 before doing file completion.
0dbe70ce 17415
8d551b02
DE
174162014-05-16 Doug Evans <dje@google.com>
17417
17418 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
17419 Update.
17420 (do_syscall_tests_without_xml): Update.
17421
73eb7709
PA
174222014-05-16 Pedro Alves <palves@redhat.com>
17423
17424 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
17425 instead of "unknown output after running".
17426
3fae92fc
YQ
174272014-05-16 Yao Qi <yao@codesourcery.com>
17428
17429 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
17430 file1.txt from host at the end.
17431 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
17432
c2b2ccc5
DE
174332014-05-15 Doug Evans <dje@google.com>
17434
17435 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
17436 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
17437 loading file. Add test for TU lookup.
17438
8c217a4b
SM
174392014-05-15 Simon Marchi <simon.marchi@ericsson.com>
17440
17441 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
17442 calling "-exec-arguments" or "set args" before running the
17443 inferior.
17444
3deb39c6
SM
174452014-05-15 Simon Marchi <simon.marchi@ericsson.com>
17446
17447 * lib/mi-support.exp (mi_expect_stop): Expect message for
17448 inferiors that exit with non-zero exit code.
17449
71a79f8c
YQ
174502014-05-14 Yao Qi <yao@codesourcery.com>
17451
17452 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
17453 match absolute path on remote host.
17454 (test_file_list_exec_source_files): Remove "/" from the
17455 pattern.
17456
f23fcd46
YQ
174572014-05-14 Yao Qi <yao@codesourcery.com>
17458
17459 * boards/local-remote-host-notty.exp (${board}_file): New
17460 proc.
17461
9404b58f
KM
174622014-05-07 Kyle McMartin <kyle@redhat.com>
17463
17464 Pushed by Joel Brobecker <brobecker@adacore.com>.
17465 * gdb.arch/aarch64-atomic-inst.c: New file.
17466 * gdb.arch/aarch64-atomic-inst.exp: New file.
17467
5e45f04c
YQ
174682014-05-07 Yao Qi <yao@codesourcery.com>
17469
17470 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
17471 in current context" too.
17472
c888a17d
KS
174732014-05-05 Keith Seitz <keiths@redhat.com>
17474
17475 * gdb.linespec/ls-dollar.exp: Add test for linespec
17476 file:convenience_variable.
17477
290a839c
YQ
174782014-05-05 Yao Qi <yao@codesourcery.com>
17479
17480 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
17481 traceframes into tfile and ctf trace files. Read data from
17482 trace file and test collected data.
17483 (gdb_collect_locals_test): Likewise.
17484 (gdb_unavailable_registers_test): Likewise.
17485 (gdb_unavailable_floats): Likewise.
17486 (gdb_collect_globals_test): Likewise.
17487 (top-level): Append "ctf" to trace_file_targets if GDB
17488 supports.
17489
b5262cd0
YQ
174902014-05-05 Yao Qi <yao@codesourcery.com>
17491
17492 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
17493 code to ...
17494 (gdb_collect_args_test_1): ... it. New proc.
17495 (gdb_collect_locals_test): Move some code to ...
17496 (gdb_collect_locals_test_1): ... it. New proc.
17497 (gdb_unavailable_registers_test): Move some code to ...
17498 (gdb_unavailable_registers_test_1): ... it. New proc.
17499 (gdb_unavailable_floats): Move some code to ...
17500 (gdb_unavailable_floats_1): ... it. New proc.
17501
30a1e6cc
SDJ
175022014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
17503
17504 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
17505 probes to test for bitness recognition.
17506 * gdb.arch/amd64-stap-optional-prefix.exp
17507 (test_probe_value_without_reg): New procedure.
17508 Add code to test for different kinds of bitness.
17509
f33da99a
SDJ
175102014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
17511
17512 PR breakpoints/16889
17513 * gdb.arch/amd64-stap-optional-prefix.S: New file.
17514 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
17515
5b80f00d
PA
175162014-05-01 Pedro Alves <palves@redhat.com>
17517
17518 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
17519 gdb_file_cmd if no file is specified.
17520 * boards/native-extended-gdbserver.exp (gdb_load): Use the
17521 last_loaded_file to set the remote exec-file.
17522
f8c2a73c
PA
175232014-05-01 Pedro Alves <palves@redhat.com>
17524
17525 * boards/local-remote-host.exp: New file.
17526
be6e8ac7
PA
175272014-05-01 Pedro Alves <palves@redhat.com>
17528
17529 * boards/local-remote-host.exp: Rename to ...
17530 * boards/local-remote-host-notty.exp: ... this.
17531
cac0dc8f
JB
175322014-04-28 Joel Brobecker <brobecker@adacore.com>
17533
17534 * gdb.ada/dyn_arrayidx: New testcase.
17535
9730e6cc
YQ
175362014-04-26 Yao Qi <yao@codesourcery.com>
17537
17538 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
17539 and compute the length of function main. Save it in
17540 $main_length.
17541 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
17542 (top-level): Use gdb_compile to compile objects into
17543 executable and restart GDB. Remove invocation to
17544 prepare_for_testing.
17545
7ae1a6a6
PA
175462014-04-25 Simon Marchi <simon.marchi@ericsson.com>
17547 Pedro Alves <palves@redhat.com>
17548
17549 PR server/16255
17550 * gdb.multi/multi-attach.c: New file.
17551 * gdb.multi/multi-attach.exp: New file.
17552
4082afcc
PA
175532014-04-25 Pedro Alves <palves@redhat.com>
17554
17555 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
17556 user.
17557 (top level): Test that "set remote conditional-breakpoints-packet
17558 off" works as intended.
17559 * gdb.base/dprintf.exp: Test that "set remote
17560 breakpoint-commands-packet off" works as intended.
17561 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
17562 New function.
17563 (top level): Call it.
17564 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
17565 remote fast-tracepoints-packet off" works as intended.
17566 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
17567 * lib/gdb.exp (gdb_is_target_remote): ... here.
17568
2abc3f8d
DB
175692014-04-24 David Blaikie <dblaikie@gmail.com>
17570
17571 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
17572 ensure clang would not discard them.
17573 * gdb.base/gdbvars.c: Ditto.
17574 * gdb.base/memattr.c: Ditto.
17575 * gdb.base/whatis.c: Ditto.
17576 * gdb.python/py-prettyprint.c: Ditto.
17577 * gdb.trace/actions.c: Ditto.
17578 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
17579 ensure clang would not discard it.
17580
bfd39632
DB
175812014-04-24 David Blaikie <dblaikie@gmail.com>
17582
17583 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
17584 clang to emit the full definition of type required by the test
17585 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
17586
22842ff6
DB
175872014-04-24 David Blaikie <dblaikie@gmail.com>
17588
17589 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
17590 coax Clang into emitting the definition of the type.
17591 * gdb.cp/pr10728-x.h (y): Ditto.
17592 * gdb.cp/pr10728-y.cc (y): Ditto.
17593
c2e827ad
DB
175942014-04-24 David Blaikie <dblaikie@gmail.com>
17595
17596 * gdb.base/label.exp: XFAIL label related tests under Clang.
17597 * gdb.cp/cplabel.exp: Ditto.
17598 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
17599 under Clang those using labels.
17600
4c2d33e7
YQ
176012014-04-25 Yao Qi <yao@codesourcery.com>
17602
17603 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
17604 double_label.
17605 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
17606 partial_label and double_label.
17607
56083b99
DB
176082014-04-24 David Blaikie <dblaikie@gmail.com>
17609
17610 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
17611
25d4e99d
DB
176122014-04-24 David Blaikie <dblaikie@gmail.com>
17613
17614 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
17615 of the function to work across GCC and Clang.
17616 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
17617 pointer types (const void ** const V void **).
17618
01f9f808
MS
176192014-04-24 Michael Sturm <michael.sturm@mintel.com>
17620 Walfred Tedeschi <walfred.tedeschi@intel.com>
17621
17622 * Makefile.in (EXECUTABLES): Added i386-avx512.
17623 * gdb.arch/i386-avx512.c: New file.
17624 * gdb.arch/i386-avx512.exp: Likewise.
17625
4b48d439
KS
176262014-04-23 Keith Seitz <keiths@redhat.com>
17627
17628 * lib/mi-support.exp (mi_list_breakpoints): Delete.
17629 (mi_make_breakpoint_table): New procedure.
17630 (mi_create_breakpoint): Use mi_make_breakpoint
17631 and return the result.
17632 (mi_make_breakpoint): New procedure.
17633 (mi_build_kv_pairs): New procedure.
17634
17635 * gdb.mi/mi-break.exp: Remove unused globals,
17636 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
17637 All callers updated.
17638 * gdb.mi/mi-dprintf.exp: Use variable to track command
17639 number.
17640 Update all callers of mi_create_breakpoint and use
17641 mi_make_breakpoint_table.
17642 Remove any unused global variables.
17643 * gdb.mi/mi-nonstop.exp: Likewise.
17644 * gdb.mi/mi-nsintrall.exp: Likewise.
17645 * gdb.mi/mi-nsmoribund.exp: Likewise.
17646 * gdb.mi/mi-nsthrexec.exp: Likewise.
17647 * gdb.mi/mi-reverse.exp: Likewise.
17648 * gdb.mi/mi-simplerun.exp: Likewise.
17649 * gdb.mi/mi-stepn.exp: Likewise.
17650 * gdb.mi/mi-syn-frame.exp: Likewise.
17651 * gdb.mi/mi-until.exp: Likewise.
17652 * gdb.mi/mi-var-cp.exp: Likewise.
17653 * gdb.mi/mi-var-display.exp: Likewise.
17654 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
17655 * gdb.mi/mi2-var-child.exp: Likewise.
17656 * gdb.mi/mi-vla-c99.exp: Likewise.
17657 * lib/mi-support.exp: Likewise.
17658
17659 From Ian Lance Taylor <iant@cygnus.com>:
17660 * lib/gdb.exp (parse_args): New procedure.
17661
08351840
PA
176622014-04-23 Pedro Alves <palves@redhat.com>
17663
17664 * gdb.base/break-unload-file.c: New file.
17665 * gdb.base/break-unload-file.exp: New file.
17666 * gdb.base/sym-file-lib.c (baz): New function.
17667 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
17668 field.
17669 (load): Store the segment's mapped size.
17670 (unload): New function.
17671 (unload_shlib): New function.
17672 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
17673 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
17674 set a breakpoint at baz, and call it.
17675 * gdb.base/sym-file.exp: New tests for stale breakpoint
17676 instructions.
17677
076855f9
PA
176782014-04-23 Pedro Alves <palves@redhat.com>
17679
17680 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
17681 * gdb.base/hbreak-in-shr-unsupported.c: New file.
17682 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
17683 * gdb.base/hbreak-unmapped.c: New file.
17684 * gdb.base/hbreak-unmapped.exp: New file.
17685 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
17686 * lib/gdb.exp (gdb_is_target_remote): ... here.
17687
483805cf
PA
176882014-04-22 Pedro Alves <palves@redhat.com>
17689
17690 * gdb.base/consecutive-step-over.c: New file.
17691 * gdb.base/consecutive-step-over.exp: New file.
17692
06d97543
PA
176932014-04-22 Pedro Alves <palves@redhat.com>
17694
17695 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
17696 instead of send_gdb/gdb_expect.
17697
b4429ea2
YQ
176982014-04-22 Yao Qi <yao@codesourcery.com>
17699
17700 * lib/trace-support.exp (generate_tracefile): New procedure.
17701 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
17702 return 0.
17703 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
17704 if generate_tracefile returns 1.
17705
51d48146
PA
177062014-04-18 Tom Tromey <palves@redhat.com>
17707 Pedro alves <tromey@redhat.com>
17708
17709 PR backtrace/15558
17710 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
17711 with a backtrace limit.
17712 * gdb.python/py-frame-inline.exp: Test running to an inline
17713 function with a backtrace limit, and printing the newest frame.
17714 * gdb.python/py-frame-inline.c (main): Call f.
17715
bd1dce5f
MS
177162014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
17717
17718 * gdb.java/jnpe.exp: Drop srcdir from untested path.
17719
40d1a503
MS
177202014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
17721
17722 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
17723 Drop prefix from unsupported source file path.
17724
389b98f7
YQ
177252014-04-17 Yao Qi <yao@codesourcery.com>
17726
17727 * lib/gdb.exp (with_target_charset): New proc.
17728 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
17729 with_target_charset.
17730 (test_print_strings): Likewise.
17731 (test_repeat_bytes): Likewise.
17732 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
17733 for some tests.
17734
22869d73
KS
177352014-04-16 Keith Seitz <keiths@redhat.com>
17736
17737 PR gdb/15827
17738 * gdb.dwarf2/corrupt.c: New file.
17739 * gdb.dwarf2/corrupt.exp: New file.
17740
c4f87ca6
KS
177412014-04-16 Keith Seitz <keiths@redhat.com>
17742
17743 PR c++/16597
17744 * gdb.cp/namelessclass.cc: New file.
17745 * gdb.cp/namelessclass.exp: New file.
17746 * gdb.cp/namelessclass.S: New file.
17747
ab19de87
DE
177482014-04-16 Doug Evans <dje@google.com>
17749
17750 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
17751 Add comment.
17752 (gdbserver_default_get_comm_port): New function.
17753 (gdbserver_start): Check if board file provided
17754 "gdbserver,get_comm_port" and use it if so.
17755 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
17756 (gdb,socketport): Set to "stdio".
17757 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
17758 (stdio_gdbserver_template): Delete.
17759 (${board}_get_remote_address): Update.
17760 (${board}_build_remote_cmd): Delete.
17761 (${board}_get_comm_port): New function.
17762 (${board}_spawn): Update.
17763 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
17764 Delete.
17765 (${board}_get_remote_address): Update.
17766 (${board}_get_comm_port): New function.
17767
fc98a809
AB
177682014-04-16 Andrew Burgess <aburgess@broadcom.com>
17769
17770 * gdb.base/memattr.exp: Improve regexps to handle memory regions
17771 appearing in any order.
17772
87fd9e6e
DE
177732014-04-15 Doug Evans <dje@google.com>
17774
17775 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
17776 uninitialized value of "description".
17777
099fc3ea
KS
177782014-04-15 Keith Seitz <keiths@redhat.com>
17779
17780 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
17781 Remove unused globals.
17782 (test_running_the_program): Likewise.
17783 (test_controlled_execution): Likewise.
17784 (test_controlling_breakpoints): Likewise.
17785 (test_program_termination): Likewise.
17786
5da151d4
KS
177872014-04-15 Keith Seitz <keiths@redhat.com>
17788
17789 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
17790 unused globals.
17791 (test_rbreak_creation_and_listing): Likewise.
17792 (test_ignore_count): Likewise.
17793 (test_error): Likewise.
17794
35e5d2f0
PA
177952014-04-15 Pedro Alves <palves@redhat.com>
17796
17797 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
17798 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
17799 sym-file-loader.c.
17800 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
17801 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
17802 to sym-file-loader.c.
17803 (struct library): Forward declare.
17804 (load_shlib, lookup_function): Change prototypes.
17805 (find_shstrtab, find_strtab, find_shdr, find_symtab)
17806 (translate_offset): Remove declarations.
17807 (get_text_addr): New declaration.
17808 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
17809 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
17810 sym-file-loader.h.
17811 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
17812 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
17813 here from sym-file-loader.h.
17814 (struct library): New structure.
17815 (load_shlib, lookup_function): Change prototypes and adjust to
17816 work with a struct library.
17817 (find_shstrtab, find_strtab, find_shdr, find_symtab)
17818 (translate_offset): Make static.
17819 (get_text_addr): New function.
17820 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
17821
eb4c1710
PA
178222014-04-15 Pedro Alves <palves@redhat.com>
17823
17824 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
17825
2d1baf52
PA
178262014-04-15 Pedro Alves <palves@redhat.com>
17827
17828 * gdb.base/sym-file-loader.c: Include <limits.h>.
17829 (SELF_LINK): New define.
17830 (get_origin): New function.
17831 (load_shlib): Use it.
17832 * gdb.base/sym-file.exp: Don't early return if the target is
17833 remote. Use runto_main, and issue fail is that fails. Use
17834 gdb_load_shlibs.
17835 (shlib_name): Delete.
17836 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
17837
7dd6df01
PA
178382014-04-15 Pedro Alves <palves@redhat.com>
17839
17840 * gdb.base/sym-file.exp: Remove regex characters from test
17841 message. Don't refer to breakpoint numbers in test messages.
17842
b50c8614
KS
178432014-04-14 Keith Seitz <keiths@redhat.com>
17844
17845 PR c++/16253
17846 * gdb.cp/var-tag.cc: New file.
17847 * gdb.cp/var-tag.exp: New file.
17848 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
17849 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
17850 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
17851 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
17852
3d567982
TT
178532014-04-14 Tom Tromey <tromey@redhat.com>
17854
17855 * gdb.cp/classes.exp (test_enums): Handle underlying type.
17856 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
17857 type.
17858 * gdb.cp/enum-class.exp: New file.
17859 * gdb.cp/enum-class.cc: New file.
17860
0626fc76
TT
178612014-04-14 Tom Tromey <tromey@redhat.com>
17862
17863 * gdb.dwarf2/enum-type.exp: New file.
17864
dca325b3
SA
178652014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17866
17867 * gdb.mi/mi-vla-c99.exp: New file.
17868 * gdb.mi/vla.c: New file.
17869
5854b38a
SA
178702014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17871
17872 * gdb.base/vla-datatypes.c: New file.
17873 * gdb.base/vla-datatypes.exp: New file.
17874
463bb957
SA
178752014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17876
17877 * gdb.base/vla-ptr.c: New file.
17878 * gdb.base/vla-ptr.exp: New file.
17879
3dd170be
SA
178802014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17881
17882 * gdb.dwarf2/count.exp: New file.
17883
5ecaaa66
SA
178842014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17885
17886 * gdb.base/vla-sideeffect.c: New file.
17887 * gdb.base/vla-sideeffect.exp: New file.
17888
41f1ada5
DB
178892014-04-14 David Blaikie <dblaikie@gmail.com>
17890
17891 * gdb.mi/non-stop.c: Add return value for non-void function return
17892 statement.
17893 * gdb.threads/staticthreads.c: Ditto.
17894
0be03e84
DE
178952014-04-12 Siva Chandra Reddy <sivachandra@google.com>
17896 Doug Evans <xdje42@gmail.com>
17897
17898 * gdb.guile/scm-value.c: Improve test case.
17899 * gdb.guile/scm-value.exp: Add new test.
17900
f180a1fb
DB
179012014-04-11 David Blaikie <dblaikie@gmail.com>
17902
17903 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
17904 override Clang's default.
17905
6b662e19
JB
179062014-04-11 Joel Brobecker <brobecker@adacore.com>
17907
17908 Revert the following changes (regressions):
17909
17910 * gdb.base/vla-sideeffect.c: New file.
17911 * gdb.base/vla-sideeffect.exp: New file.
17912
17913 * gdb.dwarf2/count.exp: New file.
17914
17915 * gdb.base/vla-multi.c: New file.
17916 * gdb.base/vla-multi.exp: New file.
17917
17918 * gdb.base/vla-ptr.c: New file.
17919 * gdb.base/vla-ptr.exp: New file.
17920
17921 * gdb.base/vla-datatypes.c: New file.
17922 * gdb.base/vla-datatypes.exp: New file.
17923
17924 * gdb.mi/mi-vla-c99.exp: New file.
17925 * gdb.mi/vla.c: New file.
17926
245a5f0b
KS
179272014-04-11 Keith Seitz <keiths@redhat.com>
17928
17929 PR c++/16675
17930 * gdb.cp/cpsizeof.exp: New file.
17931 * gdb.cp/cpsizeof.cc: New file.
17932
58a84dcf
SA
179332014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17934
191a8a90
JB
17935 * gdb.mi/mi-vla-c99.exp: New file.
17936 * gdb.mi/vla.c: New file.
58a84dcf 17937
c8655f75
SA
179382014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17939
17940 * gdb.base/vla-datatypes.c: New file.
17941 * gdb.base/vla-datatypes.exp: New file.
17942
024e13b4
SA
179432014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17944
17945 * gdb.base/vla-ptr.c: New file.
17946 * gdb.base/vla-ptr.exp: New file.
17947
1a237e0e
SA
179482014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17949
17950 * gdb.base/vla-multi.c: New file.
17951 * gdb.base/vla-multi.exp: New file.
17952
504f3432
SA
179532014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17954
17955 * gdb.dwarf2/count.exp: New file.
17956
3bce8237
SA
179572014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17958
191a8a90
JB
17959 * gdb.base/vla-sideeffect.c: New file.
17960 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 17961
322f9c21
YQ
179622014-04-11 Yao Qi <yao@codesourcery.com>
17963
17964 * gdb.base/completion.exp: Check file exists before running tests
17965 on file completion.
17966
d708bcd1
PA
179672014-04-10 Pedro Alves <palves@redhat.com>
17968
17969 * gdb.base/cond-eval-mode.c: New file.
17970 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
17971 prepare_for_testing to build the new file. Check result of
17972 runto_main.
17973 (test_break, test_watch): New procedures.
17974 (top level): Use them.
17975
ae1d2761
PM
179762014-04-08 Pierre Muller <muller@sourceware.org>
17977
17978 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
17979 Ctrl-V use for mingw hosts.
17980
7af389b8
SC
179812014-04-07 Siva Chandra Reddy <sivachandra@google.com>
17982
17983 * gdb.python/py-value.c: Improve test case.
17984 * gdb.python/py-value.exp: Add new test.
17985
5e703181
DE
179862014-04-07 David Blaikie <dblaikie@gmail.com>
17987
17988 * lib/compiler.c: Identify the clang compiler.
17989 * lib/compiler.cc: Ditto.
17990
9810b410
YQ
179912014-04-03 Yao Qi <yao@codesourcery.com>
17992
17993 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
17994
98d1b8dc
AB
179952014-04-01 Anton Blanchard <anton@samba.org>
17996
17997 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
17998 messages unique.
17999
3114cea1
AB
180002014-04-01 Anton Blanchard <anton@samba.org>
18001
18002 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
18003 prepare_for_testing.
18004
62f7182c
AB
180052014-04-01 Anton Blanchard <anton@samba.org>
18006
18007 * gdb.arch/ppc64-atomic-inst.c: Remove.
18008 * gdb.arch/ppc64-atomic-inst.S: New file.
18009 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
18010
770e7fc7
DE
180112014-03-31 Doug Evans <dje@google.com>
18012
18013 * gdb.base/print-symbol-loading-lib.c: New file.
18014 * gdb.base/print-symbol-loading-main.c: New file.
18015 * gdb.base/print-symbol-loading.exp: New file.
18016
46e2bafa
YQ
180172014-03-31 Yao Qi <yao@codesourcery.com>
18018
18019 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
18020
8776cfe9
JB
180212014-03-28 Joel Brobecker <brobecker@adacore.com>
18022
18023 * gdb.ada/mi_dyn_arr: New testcase.
18024
5d1ef361
DE
180252014-03-27 Doug Evans <dje@google.com>
18026
18027 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
18028
b5bee914
YQ
180292014-03-27 Yao Qi <yao@codesourcery.com>
18030
18031 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
18032 if target is nios2-*-*.
18033
0d4d0e77
YQ
180342014-03-26 Yao Qi <yao@codesourcery.com>
18035
18036 * lib/gdb.exp (readline_is_used): New proc.
18037 * gdb.base/completion.exp: Move tests on command complete up.
18038 Skip the rest of tests if readline is not used.
18039 * gdb.ada/complete.exp: Skp the test if readline is not
18040 used.
18041 * gdb.base/filesym.exp: Likewise.
18042 * gdb.base/macscp.exp: Likewise.
18043 * gdb.base/readline-ask.exp: Likewise.
18044 * gdb.base/readline.exp: Likewise.
18045 * gdb.python/py-cmd.exp: Likewise.
18046 * gdb.trace/tfile.exp: Likewise.
18047
29361eee
YQ
180482014-03-26 Yao Qi <yao@codesourcery.com>
18049
18050 * gdb.base/macscp.exp: Fix code format issues.
18051
bc9a5525
UW
180522014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
18053
18054 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
18055 * gdb.asm/powerpc64le.inc: New file.
18056
d3839ede
PA
180572014-03-25 Pedro Alves <palves@redhat.com>
18058 Doug Evans <dje@google.com>
18059
18060 * gdb.base/source-execution.c: New file.
18061 * gdb.base/source-execution.exp: New file.
18062 * gdb.base/source-execution.gdb: New file.
18063
01672a57
DE
180642014-03-24 Doug Evans <dje@google.com>
18065
18066 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
18067 using fission.
18068
88bbeca9
HZ
180692014-03-24 Hui Zhu <hui@codesourcery.com>
18070 Pedro Alves <palves@redhat.com>
18071
18072 PR breakpoints/16101
18073 * gdb.base/dprintf.exp: Use unsupported rather than changing the
18074 test pass/fail messages. Detect missing support for dprintf when
18075 breakpoints are actually inserted.
18076 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
18077 breakpoints are actually inserted.
18078 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
18079 fails.
18080
d2348791
JK
180812014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
18082
18083 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
18084
feef67ab
DE
180852014-03-22 Doug Evans <xdje42@gmail.com>
18086
18087 * gdb.python/python.exp (python not supported): Verify multi-line
18088 python command issues an error.
25d743f9 18089 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 18090 guile command issues an error.
feef67ab 18091
ecebef6a
MR
180922014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
18093
18094 * gdb.threads/thread-specific.exp: Handle the lack of usable
18095 $this_breakpoint and $this_thread.
18096
ccdd1909
HZ
180972014-03-21 Hui Zhu <hui@codesourcery.com>
18098
18099 * gdb.base/attach.exp (do_command_attach_tests): New.
18100
beb460e8
PA
181012014-03-20 Tom Tromey <tromey@redhat.com>
18102 Pedro Alves <palves@redhat.com>
18103
18104 PR cli/15718
18105 * gdb.base/condbreak-call-false.c: New file.
18106 * gdb.base/condbreak-call-false.exp: New file.
18107
40acf43a
PA
181082014-03-20 Pedro Alves <palves@redhat.com>
18109
18110 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
18111 Delete.
18112 (block_signals, unblock_signals): Delete.
18113 (child_function_2, main): Remove references to deleted variable
18114 and functions.
18115
9f5e1e02
PA
181162014-03-20 Pedro Alves <palves@redhat.com>
18117
18118 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
18119 Use pthread_kill to signal thread 2.
18120 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18121 Adjust to make the test send itself a signal rather than using the
18122 host's "kill" command.
18123
99619bea
PA
181242014-03-20 Pedro Alves <palves@redhat.com>
18125
18126 * gdb.threads/multiple-step-overs.c: New file.
18127 * gdb.threads/multiple-step-overs.exp: New file.
18128 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18129 Adjust expected infrun debug output.
18130
2adfaa28
PA
181312014-03-20 Pedro Alves <palves@redhat.com>
18132
18133 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
18134 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
18135
31e77af2
PA
181362014-03-20 Pedro Alves <palves@redhat.com>
18137
18138 PR breakpoints/7143
18139 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
18140 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
18141 of gdb_test_multiple.
18142 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
18143 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
18144
b9f437de
PA
181452014-03-20 Pedro Alves <palves@redhat.com>
18146
18147 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
18148 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
18149
05adc73e
PA
181502014-03-19 Pedro Alves <palves@redhat.com>
18151
18152 * gdb.base/async.exp: Remove early return.
18153
6048b950
PA
181542014-03-19 Pedro Alves <palves@redhat.com>
18155
18156 * gdb.base/async.exp (step& tests): Pass explicit test messages.
18157
8bcfb00a
PA
181582014-03-19 Pedro Alves <palves@redhat.com>
18159
18160 * gdb.base/async.exp (test_background): Expect \r\n after
18161 "completed." in the fail pattern.
18162
884e37dc
PA
181632014-03-19 Pedro Alves <palves@redhat.com>
18164
18165 * gdb.base/async.exp (test_background): New procedure.
18166 Use it for all background execution command tests.
18167
148e57e2
PA
181682014-03-19 Pedro Alves <palves@redhat.com>
18169
18170 * gdb.base/async.exp: Use prepare_for_testing.
18171
f48088c7
PA
181722014-03-19 Pedro Alves <palves@redhat.com>
18173
18174 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
18175 the same line.
18176
e2f6c966
PA
181772014-03-19 Pedro Alves <palves@redhat.com>
18178
18179 * gdb.base/async.c (main): Add "jump here" and "until here" line
18180 marker comments.
18181 * gdb.base/async.exp (jump_here): New global.
18182 (jump& test): Use it.
18183 (until_here): New global.
18184 (until& test): Use it.
18185
c30568d4
PA
181862014-03-19 Pedro Alves <palves@redhat.com>
18187
18188 * gdb.base/async.exp: Don't frob gdb_protocol.
18189
0172b6a7
DE
181902014-03-18 Doug Evans <xdje42@gmail.com>
18191
18192 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
18193 Fix spelling of exec-done-display.
18194
06c868a8
JK
181952014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
18196
18197 PR gdb/15358
18198 * gdb.base/gdb-sigterm.c: New file.
18199 * gdb.base/gdb-sigterm.exp: New file.
18200
0c7e1a46
PA
182012014-03-18 Pedro Alves <palves@redhat.com>
18202
18203 PR gdb/13860
18204 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
18205 * lib/mi-support.exp (mi_expect_stop): Add special handling for
18206 solib-event.
18207
f7c77d93
JB
182082014-03-17 Joel Brobecker <brobecker@adacore.com>
18209
18210 * gdb.ada/pckd_arr_ren: New testcase.
18211
5a1e8c7a
DE
182122014-03-13 Doug Evans <xdje42@gmail.com>
18213
18214 PR guile/16612
18215 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
18216 collect after discarding symbols.
18217
350e1a76
DE
182182014-03-13 Ludovic Courtès <ludo@gnu.org>
18219 Doug Evans <xdje42@gmail.com>
18220
18221 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
18222 to history survives a gc.
18223
a69900ae
PA
182242014-03-13 Pedro Alves <palves@redhat.com>
18225
18226 * gdb.base/default.exp: Don't test "target procfs".
18227
5db9f0bd
PA
182282014-03-13 Pedro Alves <palves@redhat.com>
18229
18230 * gdb.base/default.exp: Update "target child" and "target procfs"
18231 tests to not expect "Unix".
18232
b3ccfe11
TT
182332014-03-12 Tom Tromey <tromey@redhat.com>
18234
18235 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
18236 New procs. Add target-async tests.
18237 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
18238 Add target-async tests.
18239
646f4417
AA
182402014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18241
18242 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
18243 'func_start' and 'func_end' for the beginning and end of the
18244 function code, respectively.
18245 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
18246 'func_end' instead of 'func' and 'main'.
18247
288c211f
AA
182482014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18249
18250 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
18251 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
18252 generate the debug info assembler source.
18253
e0c0f156
AA
182542014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18255
18256 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
18257 * gdb.dwarf2/arr-subrange.exp: Likewise.
18258 * gdb.dwarf2/dwz.exp: Likewise.
18259 * gdb.dwarf2/method-ptr.exp: Likewise.
18260 * gdb.dwarf2/missing-sig-type.exp: Likewise.
18261 * gdb.dwarf2/subrange.exp: Likewise.
18262 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
18263 * gdb.dwarf2/implptrpiece.exp: Likewise.
18264 * gdb.dwarf2/nostaticblock.exp: Likewise.
18265
0e5c4555
AA
182662014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18267
18268 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
18269 directory to absolute path name arguments.
18270
5ec18f2b
JG
182712014-03-10 Joel Brobecker <brobecker@adacore.com>
18272
18273 * gdb.ada/tagged_access: New testcase.
18274
847fc4f2
MM
182752014-03-07 Markus Metzger <markus.t.metzger@intel.com>
18276
18277 * gdb.btrace/data.exp: Update expected output.
18278
cc3da688
YQ
182792014-03-06 Yao Qi <yao@codesourcery.com>
18280
18281 * gdb.trace/pr16508.exp: New file.
18282
0f26cec1
PA
182832014-03-05 Pedro Alves <palves@redhat.com>
18284
18285 PR gdb/16575
18286 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
18287 procedure.
18288 (top level): Adjust to use it. Add tests that exercise breakpoint
18289 interaction with the code-cache.
18290
7a5a839f
LC
182912014-02-26 Ludovic Courtès <ludo@gnu.org>
18292
18293 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
18294 test for 'history-append!'.
18295
31aa7e4e
JB
182962014-02-26 Joel Brobecker <brobecker@adacore.com>
18297
18298 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
18299 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
18300 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
18301 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
18302 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
18303 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
18304
1b588015
JB
183052014-02-26 Joel Brobecker <brobecker@adacore.com>
18306
18307 * testsuite/gdb.python/py-pp-re-notag.c: New file.
18308 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
18309 * testsuite/gdb.python/py-pp-re-notag.p: New file.
18310
55426c9d
JB
183112014-02-26 Joel Brobecker <brobecker@adacore.com>
18312
18313 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
18314
dc53a7ad
JB
183152014-02-26 Joel Brobecker <brobecker@adacore.com>
18316
18317 * gdb.dwarf2/arr-stride.c: New file.
18318 * gdb.dwarf2/arr-stride.exp: New file.
18319
12ab52e9
PA
183202014-02-26 Pedro Alves <palves@redhat.com>
18321
18322 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
18323 that won't ever trigger. Make sure that GDB reports the correct
18324 breakpoint that caused the stop.
18325
849c862e
JK
183262014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18327
18328 PR gdb/16626
18329 * gdb.base/auto-load-script: New file.
18330 * gdb.base/auto-load.c: New file.
18331 * gdb.base/auto-load.exp: New file.
18332
71b7d793
JK
18333 PR gdb/16626
18334 * gdb.base/auto-load.exp: Fix out-of-srctree run.
18335
e2f0d509
JK
183362014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18337
18338 Fix dw2-icycle.exp -fsanitize=address GDB crash.
18339 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
18340
50cc37c8
DE
183412014-02-24 Doug Evans <dje@google.com>
18342
18343 * lib/gdb.exp (run_on_host): Log error output if program fails.
18344
ea4758f2
PA
183452014-02-21 Pedro Alves <palves@redhat.com>
18346
18347 * gdb.threads/step-after-sr-lock.c: Rename to ...
18348 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
18349 * gdb.threads/step-after-sr-lock.exp: Rename to ...
18350 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18351 ... this.
18352
d7b30f67
SDJ
183532014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
18354
18355 PR tdep/16397
18356 * gdb.arch/amd64-stap-special-operands.exp: New file.
18357 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
18358 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
18359 * gdb.arch/amd64-stap-triplet.S: Likewise.
18360 * gdb.arch/amd64-stap-triplet.c: Likewise.
18361
83deb43f
JB
183622014-02-20 Joel Brobecker <brobecker@adacore.com>
18363
18364 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
18365 in .section pseudo-op.
18366
adde2bff
DE
183672014-02-20 lin zuojian <manjian2006@gmail.com>
18368 Joel Brobecker <brobecker@adacore.com>
18369 Doug Evans <xdje42@gmail.com>
18370
18371 PR symtab/16581
18372 * gdb.dwarf2/dw2-icycle.S: New file.
18373 * gdb.dwarf2/dw2-icycle.c: New file.
18374 * gdb.dwarf2/dw2-icycle.exp: New file.
18375
f7bd0f78
SC
183762014-02-19 Siva Chandra Reddy <sivachandra@google.com>
18377
18378 * gdb.python/py-value-cc.cc: Improve test case to enable testing
18379 operations on gdb.Value objects.
18380 * gdb.python/py-value-cc.exp: Add new test to test operations on
18381 gdb.Value objects.
18382
c17ef0d5
DE
183832014-02-18 Doug Evans <dje@google.com>
18384
18385 * Makefile.in (TESTS): New variable.
18386 (expanded_tests, expanded_tests_or_none): New variables
18387 (check-single): Pass $(expanded_tests_or_none) to runtest.
18388 (check-parallel): Only run tests in $(TESTS) if non-empty.
18389 (check/no-matching-tests-found): New rule.
18390 * README: Document TESTS makefile variable.
18391
5dd3176f
DE
183922014-02-18 Doug Evans <dje@google.com>
18393
18394 * Makefile.in (check-parallel): rm -rf outputs temp.
18395
0b10be4f
JK
183962014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18397
18398 Fix "ERROR: no fileid for" in the testsuite.
18399 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
18400
85f224e7
DE
184012014-02-12 Doug Evans <dje@google.com>
18402
18403 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
18404 (MISCELLANEOUS): New variable.
18405 (clean): rm -rf $(MISCELLANEOUS).
18406 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
18407 dwp live in the same directory as symlinks, with each symlink pointed
18408 to a differently named file in a different directory.
18409
149b30ff
DE
184102014-02-11 Doug Evans <dje@google.com>
18411
18412 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
18413 of Tcl file commands.
18414
1dfdac32
MK
184152014-02-10 Mark Kettenis <kettenis@gnu.org>
18416
18417 * gdb.threads/step-after-sr-lock.exp: Avoid executing
18418 "kill -SIGUSR1 -1".
18419
aa4fb036
JB
184202014-02-10 Joel Brobecker <brobecker@adacore.com>
18421
18422 * gdb.ada/tick_length_array_enum_idx: New testcase.
18423
ed3ef339
DE
184242014-02-10 Doug Evans <xdje42@gmail.com>
18425
18426 * configure.ac (AC_OUTPUT): Add gdb.guile.
18427 * configure: Regenerate.
18428 * lib/gdb-guile.exp: New file.
18429 * lib/gdb.exp (get_target_charset): New function.
18430 * gdb.base/help.exp: Update expected output from "apropos apropos".
18431 * gdb.guile/Makefile.in: New file.
18432 * gdb.guile/guile.exp: New file.
18433 * gdb.guile/scm-arch.c: New file.
18434 * gdb.guile/scm-arch.exp: New file.
18435 * gdb.guile/scm-block.c: New file.
18436 * gdb.guile/scm-block.exp: New file.
18437 * gdb.guile/scm-breakpoint.c: New file.
18438 * gdb.guile/scm-breakpoint.exp: New file.
18439 * gdb.guile/scm-disasm.c: New file.
18440 * gdb.guile/scm-disasm.exp: New file.
18441 * gdb.guile/scm-equal.c: New file.
18442 * gdb.guile/scm-equal.exp: New file.
18443 * gdb.guile/scm-error.exp: New file.
18444 * gdb.guile/scm-error.scm: New file.
18445 * gdb.guile/scm-frame-args.c: New file.
18446 * gdb.guile/scm-frame-args.exp: New file.
18447 * gdb.guile/scm-frame-args.scm: New file.
18448 * gdb.guile/scm-frame-inline.c: New file.
18449 * gdb.guile/scm-frame-inline.exp: New file.
18450 * gdb.guile/scm-frame.c: New file.
18451 * gdb.guile/scm-frame.exp: New file.
18452 * gdb.guile/scm-generics.exp: New file.
18453 * gdb.guile/scm-gsmob.exp: New file.
18454 * gdb.guile/scm-iterator.c: New file.
18455 * gdb.guile/scm-iterator.exp: New file.
18456 * gdb.guile/scm-math.c: New file.
18457 * gdb.guile/scm-math.exp: New file.
18458 * gdb.guile/scm-objfile-script-gdb.in: New file.
18459 * gdb.guile/scm-objfile-script.c: New file.
18460 * gdb.guile/scm-objfile-script.exp: New file.
18461 * gdb.guile/scm-objfile.c: New file.
18462 * gdb.guile/scm-objfile.exp: New file.
18463 * gdb.guile/scm-ports.exp: New file.
18464 * gdb.guile/scm-pretty-print.c: New file.
18465 * gdb.guile/scm-pretty-print.exp: New file.
18466 * gdb.guile/scm-pretty-print.scm: New file.
18467 * gdb.guile/scm-section-script.c: New file.
18468 * gdb.guile/scm-section-script.exp: New file.
18469 * gdb.guile/scm-section-script.scm: New file.
18470 * gdb.guile/scm-symbol.c: New file.
18471 * gdb.guile/scm-symbol.exp: New file.
18472 * gdb.guile/scm-symtab-2.c: New file.
18473 * gdb.guile/scm-symtab.c: New file.
18474 * gdb.guile/scm-symtab.exp: New file.
18475 * gdb.guile/scm-type.c: New file.
18476 * gdb.guile/scm-type.exp: New file.
18477 * gdb.guile/scm-value-cc.cc: New file.
18478 * gdb.guile/scm-value-cc.exp: New file.
18479 * gdb.guile/scm-value.c: New file.
18480 * gdb.guile/scm-value.exp: New file.
18481 * gdb.guile/source2.scm: New file.
18482 * gdb.guile/types-module.cc: New file.
18483 * gdb.guile/types-module.exp: New file.
18484
7026a7c1
YQ
184852014-02-10 Yao Qi <yao@codesourcery.com>
18486
18487 PR testsuite/16543
18488 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
18489 * configure: Regenerated.
18490 * Makefile.in: New file.
18491
6c466447
AS
184922014-02-08 Andreas Schwab <schwab@linux-m68k.org>
18493
18494 * gdb.python/py-framefilter.exp: Fix typo.
18495
6e854735
YQ
184962014-02-08 Yao Qi <yao@codesourcery.com>
18497
18498 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
18499 that no =breakpoint-modified is emitted when breakpoints are
18500 modified through MI commands.
18501
d137e6dc
PA
185022014-02-07 Pedro Alves <pedro@codesourcery.com>
18503 Pedro Alves <palves@redhat.com>
18504
18505 * gdb.threads/step-after-sr-lock.c: New file.
18506 * gdb.threads/step-after-sr-lock.exp: New file.
18507
b5ee5a50
PA
185082014-02-07 Pedro Alves <palves@redhat.com>
18509
18510 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
18511
3c77faf3
JK
185122014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
18513
18514 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
18515 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
18516
6dddc817
DE
185172014-02-06 Doug Evans <xdje42@gmail.com>
18518
18519 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
18520 output.
18521
18522 * gdb.gdb/python-interrupts.exp: New file.
18523
de7b2893
YQ
185242014-02-05 Yao Qi <yao@codesourcery.com>
18525
18526 * gdb.trace/report.exp (use_collected_data): Test the output
18527 of "info threads" and "info inferiors".
18528
66d032ac
YQ
185292014-02-05 Yao Qi <yao@codesourcery.com>
18530
18531 Revert this patch:
18532
18533 2013-05-24 Yao Qi <yao@codesourcery.com>
18534
18535 * gdb.trace/tfile.exp: Test inferior and thread.
18536
591a12a1
UW
185372014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18538
18539 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
18540 on a function.
18541 * gdb.base/step-bt.c: Call hello via function pointer to make
18542 sure its first instruction is executed on powerpc64le-linux.
18543
0ff3e01f
UW
185442014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18545
18546 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
18547
084ee545
UW
185482014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18549
18550 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
18551 of the test patterns for use on little-endian systems.
18552
6ed14ff3
UW
185532014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18554
18555 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
18556 (decimal_vector): Fix for little-endian.
18557
401e27fd
JM
185582014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
18559
18560 * gdb.arch/sparc-sysstep.exp: New file.
18561 * gdb.arch/sparc-sysstep.c: Likewise.
18562
18563 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
18564
8b924729
EBM
185652014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18566
18567 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
18568
fb151210
JB
185692014-01-23 Tom Tromey <tromey@redhat.com>
18570
18571 * gdb.ada/array_char_idx: New testcase.
18572
0740f8d8
TT
185732014-01-23 Tom Tromey <tromey@redhat.com>
18574
18575 PR python/16487:
18576 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
18577 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
18578 classes.
18579
21909fa1
TT
185802014-01-23 Tom Tromey <tromey@redhat.com>
18581
18582 PR python/16491:
18583 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
18584 string from an inferior frame.
18585 * gdb.python/py-framefilter-mi.exp: Update.
18586
87ce2a04
DE
185872014-01-22 Doug Evans <dje@google.com>
18588
18589 * gdb.server/server-mon.exp: Add tests for "set debug-format".
18590
237b092b
AA
185912014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18592
18593 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
18594
d674a709
AA
185952014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18596
18597 * gdb.trace/entry-values.exp: Remove excess space character from
18598 regex patterns. Handle s390 call instruction.
18599
20fa3390
AA
186002014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18601
18602 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
18603 define "*_start" label. Make "name" static.
18604 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
18605 ${name} by references to ${name}_start.
18606
78466714
AA
186072014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18608
18609 * gdb.base/info-macros.exp: Remove "debug" from the compile
18610 options.
18611
ec9f644a
IB
186122014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18613
18614 * gdb.dlang/demangle.exp: New file.
18615
94b1b47e
IB
186162014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18617
18618 * gdb.dlang/primitive-types.exp: New file.
18619
7f420862
IB
186202014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18621
18622 * configure.ac: Create gdb.dlang/Makefile.
18623 * configure: Regenerate.
18624 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
18625 * gdb.dlang/Makefile.in: New file.
18626 * lib/d-support.exp: New file.
18627 * lib/gdb.exp (skip_d_tests): New proc.
18628
52834460
MM
186292014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18630
18631 * gdb.btrace/delta.exp: Check reverse stepi.
18632 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
18633 * gdb.btrace/finish.exp: New.
18634 * gdb.btrace/next.exp: New.
18635 * gdb.btrace/nexti.exp: New.
18636 * gdb.btrace/record_goto.c: Add comments.
18637 * gdb.btrace/step.exp: New.
18638 * gdb.btrace/stepi.exp: New.
18639 * gdb.btrace/multi-thread-step.c: New.
18640 * gdb.btrace/multi-thread-step.exp: New.
18641 * gdb.btrace/rn-dl-bind.c: New.
18642 * gdb.btrace/rn-dl-bind.exp: New.
18643 * gdb.btrace/data.c: New.
18644 * gdb.btrace/data.exp: New.
18645 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
18646
6e07b1d2
MM
186472014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18648
18649 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
18650 * gdb.btrace/exception.exp: Update.
18651 * gdb.btrace/instruction_history.exp: Update.
18652 * gdb.btrace/record_goto.exp: Update.
18653 * gdb.btrace/tailcall.exp: Update.
18654 * gdb.btrace/unknown_functions.exp: Update.
18655 * gdb.btrace/delta.exp: New.
18656
0b722aec
MM
186572014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18658
18659 * gdb.btrace/record_goto.exp: Add backtrace test.
18660 * gdb.btrace/tailcall.exp: Add backtrace test.
18661
066ce621
MM
186622014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18663
18664 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
18665 * gdb.btrace/record_goto.c: New.
18666 * gdb.btrace/record_goto.exp: New.
18667 * gdb.btrace/x86-record_goto.S: New.
18668
0688d04e
MM
186692014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18670
18671 * gdb.btrace/function_call_history.exp: Update tests.
18672 * gdb.btrace/instruction_history.exp: Update tests.
18673
8710b709
MM
186742014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18675
18676 * gdb.btrace/function_call_history.exp: Fix expected field
18677 order for "record function-call-history".
18678 Add new tests for "record function-call-history /c".
18679 * gdb.btrace/exception.cc: New.
18680 * gdb.btrace/exception.exp: New.
18681 * gdb.btrace/tailcall.exp: New.
18682 * gdb.btrace/x86-tailcall.S: New.
18683 * gdb.btrace/x86-tailcall.c: New.
18684 * gdb.btrace/unknown_functions.c: New.
18685 * gdb.btrace/unknown_functions.exp: New.
18686 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
18687
5de9129b
MM
186882014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18689
18690 * gdb.btrace/instruction_history.exp: Update.
18691 * gdb.btrace/function_call_history.exp: Update.
18692
23a7fe75
MM
186932014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18694
18695 * gdb.btrace/function_call_history.exp: Fix expected function
18696 trace.
18697 * gdb.btrace/instruction_history.exp: Initialize traced.
18698 Remove traced_functions.
18699
724c7dd8
MM
187002014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18701
18702 * gdb.btrace/function_call_history.exp: Update
18703 * gdb.btrace/instruction_history.exp: Update.
18704
6d78d93b
MM
187052014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18706
18707 * gdb.btrace/enable.exp: Update expected text.
18708
93a360cc
OJ
187092014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
18710
18711 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
18712 bytes.
18713
3772b53f
MR
187142014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
18715
18716 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
18717
596662fa
OJ
187182014-01-15 Omair Javaid <omair.javaid@linaro.org>
18719
18720 * lib/gdb.exp (supports_process_record): Return true for
18721 arm*-linux*. (supports_reverse): Likewise.
18722
b5b08fb4
SC
187232014-01-13 Siva Chandra Reddy <sivachandra@google.com>
18724
18725 PR python/15464
18726 PR python/16113
18727 * gdb.python/py-type.c: Enhance test case.
18728 * gdb.python/py-value-cc.cc: Likewise
18729 * gdb.python/py-type.exp: Add new tests.
18730 * gdb.python/py-value-cc.exp: Likewise
18731
52d7fb13
AA
187322014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
18733 Pedro Alves <palves@redhat.com>
18734
18735 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
18736 Make "name" extern.
18737 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
18738 references to ${name}_start by references to ${name}.
18739
a2cd8cfe
JB
187402014-01-10 Joel Brobecker <brobecker@adacore.com>
18741
18742 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
18743
4e23fced
JB
187442014-01-10 Joel Brobecker <brobecker@adacore.com>
18745
18746 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
18747
c6a9e42c
PA
187482014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
18749 Pedro Alves <palves@redhat.com>
18750
18751 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 18752 mi_gdb_target_load.
c6a9e42c 18753
b7ea362b
PA
187542014-01-08 Pedro Alves <palves@redhat.com>
18755
18756 * gdb.threads/reconnect-signal.c: New file.
18757 * gdb.threads/reconnect-signal.exp: New file.
18758
5e3f4fab
EBM
187592014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
18760
18761 * gdb.base/source-dir.exp: New file.
18762
79301218
JB
187632014-01-07 Joel Brobecker <brobecker@adacore.com>
18764
18765 * gdb.ada/mi_interface: New testcase.
18766
8e355c5d
JB
187672014-01-07 Joel Brobecker <brobecker@adacore.com>
18768
18769 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
18770 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
18771 gdb.ada/pp-rec-component/pck.ads: New files.
18772
c0d48811
JB
187732014-01-07 Joel Brobecker <brobecker@adacore.com>
18774
18775 * gdb.python/py-pp-integral.c: New file.
18776 * gdb.python/py-pp-integral.py: New file.
18777 * gdb.python/py-pp-integral.exp: New file.
18778
17b609c3 18779For older changes see ChangeLog-1993-2013.
c906108c 18780\f
8d8cb839
EZ
18781;; Local Variables:
18782;; mode: change-log
18783;; left-margin: 8
18784;; fill-column: 74
18785;; version-control: never
18786;; End:
902f2ccb 18787
b811d2c2 18788 Copyright 2014-2020 Free Software Foundation, Inc.
902f2ccb
MC
18789 Copying and distribution of this file, with or without modification,
18790 are permitted provided the copyright notice and this notice are preserved.