]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Move gdb/selftest.m4 to gdbsupport/selftest.m4
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
09252140
TV
12020-03-12 Tom de Vries <tdevries@suse.de>
2
3 * gdb.base/info-types.exp: Use exp_continue during matching of output
4 of "info types".
5
14e9c72c
TV
62020-03-12 Tom de Vries <tdevries@suse.de>
7
8 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
9
e515d67e
TV
102020-03-12 Tom de Vries <tdevries@suse.de>
11
12 * gdb.fortran/module.exp: Use exp_continue during matching of output
13 of "info variable -n".
14
307eafd8
TV
152020-03-12 Tom de Vries <tdevries@suse.de>
16
17 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
18 gdb.dwarf2/dw2-ranges-base.c.
19
9a2de3fc
TV
202020-03-12 Tom de Vries <tdevries@suse.de>
21
22 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
23 in presence of GLIBC debuginfo.
24
3217502e
TV
252020-03-12 Tom de Vries <tdevries@suse.de>
26
27 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
28 $core.
29
1281424c
TV
302020-03-12 Tom de Vries <tdevries@suse.de>
31
32 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
33 more precise.
34
038b97fc
SM
352020-03-11 Simon Marchi <simon.marchi@efficios.com>
36
37 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
38 from Unix to Windows path.
39
5308d1e7
TV
402020-03-11 Tom de Vries <tdevries@suse.de>
41
42 * gdb.ada/minsyms.exp: Set language to ada.
43
f870f78f
TV
442020-03-11 Tom de Vries <tdevries@suse.de>
45
46 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
47
5a13315d
TV
482020-03-11 Tom de Vries <tdevries@suse.de>
49
50 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
51
976862ed
TT
522020-03-11 Tom Tromey <tromey@adacore.com>
53
54 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
55
7462c383
TV
562020-03-11 Tom de Vries <tdevries@suse.de>
57
58 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
59
1c6c46a0
TV
602020-03-11 Tom de Vries <tdevries@suse.de>
61
62 * gdb.base/break-interp.exp: Limit verbose scope.
63
44f41bb7
TV
642020-03-11 Tom de Vries <tdevries@suse.de>
65
66 * gdb.fortran/logical.f90: Define variable with character type.
67 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
68
b76f3a42
TV
692020-03-11 Tom de Vries <tdevries@suse.de>
70
71 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
72
1c33af77
TV
732020-03-11 Tom de Vries <tdevries@suse.de>
74
75 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
76 symtabs.
77
8c95582d
AB
782020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
79 Bernd Edlinger <bernd.edlinger@hotmail.de>
80
81 * gdb.cp/step-and-next-inline.cc: New file.
82 * gdb.cp/step-and-next-inline.exp: New file.
83 * gdb.cp/step-and-next-inline.h: New file.
84 * gdb.dwarf2/dw2-is-stmt.c: New file.
85 * gdb.dwarf2/dw2-is-stmt.exp: New file.
86 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
87 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
88 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
89
cecf8547
AB
902020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
91
92 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
93 is-stmt flag in the line table.
94
0ba678c9
TV
952020-03-09 Tom de Vries <tdevries@suse.de>
96
97 * lib/gdb.exp (cached_file): Create cache dir.
98
72fbdf83
TV
992020-03-07 Tom de Vries <tdevries@suse.de>
100
101 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
102 * gdb.cp/rvalue-ref-params.exp: Same.
103
436b5e99
TV
1042020-03-06 Tom de Vries <tdevries@suse.de>
105
106 * lib/gdb.exp (tentative_rename, cached_file): New proc.
107 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
108
09f2921c
TV
1092020-03-06 Tom de Vries <tdevries@suse.de>
110
111 * README: Fix "the the".
112 * gdb.base/dprintf.exp: Same.
113
50a3cc5d
TV
1142020-03-05 Tom de Vries <tdevries@suse.de>
115
116 * gdb.base/maint.exp: Update "main print statistics" expected output.
117
0a709cba
AKS
1182020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
119
120 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
121 (fortran_int8): Likewise.
122 (fortran_real4): Likewise.
123 (fortran_real8): Likewise.
124 (fortran_complex4): Likewise.
125 (fortran_logical4): Likewise.
126 (fortran_character1): Likewise.
127
5e5d66b6
AB
1282020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
129
130 * gdb.fortran/logical.exp: Add tests that any non-zero value is
131 printed as true.
132
7b973adc
SDJ
1332020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
134
135 * gdb.base/printcmds.exp: Add test to verify printf of a
136 variable holding an address.
137
478e490a
TV
1382020-03-03 Tom de Vries <tdevries@suse.de>
139
140 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
141
1ef44e86
TV
1422020-03-03 Tom de Vries <tdevries@suse.de>
143
144 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
145 gdb_test_multiple call.
146
b98cc2cf
TV
1472020-03-03 Tom de Vries <tdevries@suse.de>
148
149 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
150 gdb_test_multiple calls.
151
63e163f2
AB
1522020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
153
154 * gdb.base/default.exp: Remove test of 'set history filename'.
155 * gdb.base/gdbinit-history.exp: Add tests for setting the history
156 filename to the empty string.
157 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
158 and GDBHISTSIZE.
159
24ed6739
AB
1602020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
161
162 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
163 disabled.
164
590003dc
TV
1652020-03-02 Pedro Alves <palves@redhat.com>
166 Tom de Vries <tdevries@suse.de>
167
168 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
169 -prompt prefix, before user_code argument. Add -lbl option likewise.
170 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
171 (gdb_is_target_1): Add -prompt prefix and move to before user_code
172 argument.
173 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
174 have "\r\n" at start-of-line, instead of at end-of-line.
175
f5e46084
SM
1762020-02-28 Simon Marchi <simon.marchi@efficios.com>
177
178 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
179 libinproctrace.so.
180
f7a7000d
LM
1812020-02-28 Luis Machado <luis.machado@linaro.org>
182
183 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
184 to "p/x".
185
718e0816
LM
1862020-02-28 Luis Machado <luis.machado@linaro.org>
187
188 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
189 asm/ptrace.h and error.h.
190
13c3a74a
TV
1912020-02-28 Tom de Vries <tdevries@suse.de>
192
193 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
194 (struct wrapper, do_something, mundane/symada__cS): Move ...
195 * gdb.base/c-linkage-name-2.c: ... here. New source file.
196 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
197 Update "print symada__cS before partial symtab expansion" regexp.
198 Update breakpoint location. Flush symbol cache after expansion.
199
85d2d5bb
LM
2002020-02-28 Luis Machado <luis.machado@linaro.org>
201
202 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
203
3608f86c
TV
2042020-02-27 Tom de Vries <tdevries@suse.de>
205
206 * config/sid.exp: Remove unused globals.
207 * gdb.base/attach.exp: Same.
208 * gdb.base/catch-load.exp: Same.
209 * gdb.base/dbx.exp: Same.
210 * lib/gdb.exp: Same.
211 * lib/mi-support.exp: Same.
212 * lib/prompt.exp: Same.
213
c8d4f6df
TV
2142020-02-27 Tom de Vries <tdevries@suse.de>
215
216 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
217 not set.
218
0d79cdc4
AM
2192020-02-26 Aaron Merey <amerey@redhat.com>
220
221 * gdb.debuginfod: New directory for debuginfod tests.
222 * gdb.debuginfod/main.c: New test file.
223 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
224
0dce4280
TV
2252020-02-26 Tom de Vries <tdevries@suse.de>
226
227 PR gdb/25603
228 * gdb.base/persistent-lang.cc: New test.
229 * gdb.base/persistent-lang.exp: New file.
230
9e80cfa1
AB
2312020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
232
233 * gdb.fortran/derived-type-striding.exp: Add a new test.
234 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
235 new test.
236
2078dbb2
AB
2372020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
238
239 * gdb.base/cached-source-file.exp: Avoid source file paths in test
240 names.
241
70d49700
TV
2422020-02-25 Tom de Vries <tdevries@suse.de>
243
244 PR go/18926
245 * gdb.go/methods.exp: Remove gcc/93866 xfail.
246
a88ef40d
TV
2472020-02-24 Tom de Vries <tdevries@suse.de>
248
249 PR gdb/25592
250 * gdb.base/info-locals-unused-static-var.c: New test.
251 * gdb.base/info-locals-unused-static-var.exp: New file.
252
01b1af32
TT
2532020-02-22 Tom Tromey <tom@tromey.com>
254
255 * gdb.python/tui-window.exp: New file.
256 * gdb.python/tui-window.py: New file.
257
7c043ba6
TT
2582020-02-22 Tom Tromey <tom@tromey.com>
259
260 PR tui/17850:
261 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
262 tests.
263
c22fef7e
TT
2642020-02-22 Tom Tromey <tom@tromey.com>
265
266 * gdb.tui/new-layout.exp: Add sub-layout tests.
267
ee325b61
TT
2682020-02-22 Tom Tromey <tom@tromey.com>
269
270 * gdb.tui/new-layout.exp: New file.
271
3f0cbb04
TT
2722020-02-22 Tom Tromey <tom@tromey.com>
273
274 * gdb.rust/rust-style.rs: New file.
275 * gdb.rust/rust-style.exp: New file.
276 * gdb.base/style.exp: Test structure printing.
277 * gdb.base/style.c (struct some_struct): New type.
278 (enum etype): New type.
279 (struct_value): New global.
280
75525152
TV
2812020-02-21 Tom de Vries <tdevries@suse.de>
282
283 PR go/18926
284 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
285 Remove blanket xfails. Use message argument for gdb_breakpoint.
286 Make continuing to breakpoint test conditional on setting breakpoint.
287 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
288 DW_AT_name attribute. Add xfail for GCC PR93866.
289
bd360d30
AB
2902020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
291
292 * gdb.dwarf2/cpp-linkage-name.c: New file.
293 * gdb.dwarf2/cpp-linkage-name.exp: New file.
294
c7adb09f 2952020-02-21 Shahab Vahedi <shahab@synopsys.com>
24ac169a
SV
296
297 * lib/gdb.exp (gdb_wrapper_init): Reset
298 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
299 not exist.
300
a9c79803
TV
3012020-02-20 Tom de Vries <tdevries@suse.de>
302
303 PR go/17018
304 * gdb.go/hello.exp: Copy ...
305 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
306 print of st to print value of global definition. Add xfail for GCC
307 PR93844.
308 * gdb.go/hello.exp: Remove printing of st before definition.
309 * gdb.go/hello.go: Copy ...
310 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
311 to st.
312 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
313
d7445728
TV
3142020-02-20 Tom de Vries <tdevries@suse.de>
315
316 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
317 (gdb_simple_compile): Handle compile_flags go by using .go extension
318 for source file.
319 * gdb.go/chan.exp: Use support_go_compile.
320 * gdb.go/handcall.exp: Same.
321 * gdb.go/hello.exp: Same.
322 * gdb.go/integers.exp: Same.
323 * gdb.go/max-depth.exp: Same.
324 * gdb.go/methods.exp: Same.
325 * gdb.go/package.exp: Same.
326 * gdb.go/strings.exp: Same.
327 * gdb.go/types.exp: Same.
328 * gdb.go/unsafe.exp: Same.
329
c9c41e6d
TV
3302020-02-19 Tom de Vries <tdevries@suse.de>
331
332 * gdb.python/lib-types.exp: Make xfail more strict.
333
f20ff837
TV
3342020-02-19 Tom de Vries <tdevries@suse.de>
335
336 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
337
08410482
DE
3382020-02-19 Doug Evans <dje@google.com>
339
340 PR rust/25535
341 * gdb.rust/simple.exp: Add test.
342 * gdb.rust/simple.rs: Add test.
343
623563f7
TV
3442020-02-19 Tom de Vries <tdevries@suse.de>
345
346 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
347 output line-by-line.
348
d3308cfd
TV
3492020-02-19 Tom de Vries <tdevries@suse.de>
350
351 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
352
86cbc5dc
TV
3532020-02-19 Tom de Vries <tdevries@suse.de>
354
355 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
356 prelink.
357
9db2b96b
TV
3582020-02-19 Tom de Vries <tdevries@suse.de>
359
360 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
361 (gdb_do_cache): Use gdb_do_cache_wrap.
362 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
363
89e2fdc5
TV
3642020-02-19 Tom de Vries <tdevries@suse.de>
365
366 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
367 gdb_compile option.
368
373d7ac0
SM
3692020-02-18 Simon Marchi <simon.marchi@efficios.com>
370
371 * gdb.base/printcmds.exp (test_print_enums): Update expected
372 output.
373
b29a2df0
SM
3742020-02-18 Simon Marchi <simon.marchi@efficios.com>
375
376 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
377 for "unknown".
378
6740f0cc
SM
3792020-02-18 Simon Marchi <simon.marchi@efficios.com>
380
381 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
382 enumerator.
383
edd45eb0
SM
3842020-02-18 Simon Marchi <simon.marchi@efficios.com>
385
386 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
387 FE_, add FE_NONE.
388 (three): Update.
389 (enum flag_enum_without_zero): New enum.
390 (flag_enum_without_zero): New variable.
391 (enum not_flag_enum): New enum.
392 (three_not_flag): New variable.
393 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
394 (test_print_enums): Add more tests for printing flag enums.
395
d4295de4
TV
3962020-02-18 Tom de Vries <tdevries@suse.de>
397
398 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
399 (gdb_compile_ada): ... here.
400 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
401 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
402
f251f505
TT
4032020-02-14 Tom Tromey <tom@tromey.com>
404
405 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
406 build directory.
407 * boards/gdbserver-base.exp: Update path to gdbserver.
408
8f432634
TV
4092020-02-13 Tom de Vries <tdevries@suse.de>
410
411 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
412
92b6eaf7
TV
4132020-02-13 Tom de Vries <tdevries@suse.de>
414
415 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
416 are missing.
417
f3b0f7fe
TV
4182020-02-13 Tom de Vries <tdevries@suse.de>
419
420 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
421 call.
422
f6be8713
SDJ
4232020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
424
425 PR tui/25126
426 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
427 * gdb.base/cached-source-file.c: New file.
428 * gdb.base/cached-source-file.exp: New file.
429
b2770d5e
TV
4302020-02-11 Tom de Vries <tdevries@suse.de>
431
432 PR testsuite/25488
433 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
434
44f6938e
TV
4352020-02-10 Tom de Vries <tdevries@suse.de>
436
437 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
438
5f0e2eb7
MR
4392020-02-10 Maciej W. Rozycki <macro@wdc.com>
440
441 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
442 and $after_addr are both integers before making a comparison.
443
46ce2b6f
TV
4442020-02-09 Tom de Vries <tdevries@suse.de>
445
446 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
447 command output and paste it into gdb.log. If any, paste catch message
448 to gdb.log.
449
5abbbe1d
TT
4502020-02-07 Tom Tromey <tromey@adacore.com>
451
452 PR breakpoints/24915:
453 * gdb.base/annotate-symlink.exp: Use setup_xfail.
454
1d5d29e7
SV
4552020-02-06 Shahab Vahedi <shahab@synopsys.com>
456
457 * gdb.tui/tui-missing-src.exp: Add the "missing source
458 file" test for the TUI.
459
b0999b9b
AB
4602020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
461
462 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
463 including a port number in the output.
464
c3b149eb
AKS
4652020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
466
467 * lib/fortran.exp (fortran_int4): Handle clang.
468 (fortran_int8): Likewise.
469 (fortran_real4): Likewise.
470 (fortran_real8): Likewise.
471 (fortran_complex4): Likewise.
472 (fortran_logical4): Likewise.
473 (fortran_character1): Likewise.
474
f8dcc90b
TV
4752020-02-04 Tom de Vries <tdevries@suse.de>
476
477 * README (Race detection): Add note.
478
f90ac7c2
TV
4792020-02-04 Tom de Vries <tdevries@suse.de>
480
481 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
482
780636ae
TV
4832020-02-04 Tom de Vries <tdevries@suse.de>
484
485 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
486
5d2e1193
RA
4872020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
488
489 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
490 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
491 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
492 blttar, bnetarl.
493 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
494 binary for blttar, bnetarl.
495 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
496 wait instruction. Delete ldmx test.
497 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
498
e409c542
AKS
4992020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
500
501 * gdb.fortran/array-bounds-high.exp: New file.
502 * gdb.fortran/array-bounds-high.f90: New file.
503
b0029748
LD
5042020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
505
506 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
507 Replace #include of <sys/fcntl.h> by <fcntl.h>.
508
195a8287
TV
5092020-02-01 Tom de Vries <tdevries@suse.de>
510
511 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
512
42330a68
AB
5132020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
514
515 PR tui/9765
516 * gdb.tui/tui-layout-asm-short-prog.S: New file.
517 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
518
b62a8028
LM
5192020-01-29 Luis Machado <luis.machado@linaro.org>
520
521 * gdb.arch/aarch64-brk-patterns.c: New source file.
522 * gdb.arch/aarch64-brk-patterns.exp: New test.
523
5f440116
TBA
5242020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
525
526 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
527 GCC/Clang version.
528 * gdb.cp/pass-by-ref.exp: Ditto.
529
ee2a6fc6
TV
5302020-01-29 Tom de Vries <tdevries@suse.de>
531
532 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
533 * gdb.threads/watchpoint-fork-mt.c: Same.
534 * gdb.threads/watchpoint-fork-parent.c: Same.
535 * gdb.threads/watchpoint-fork-st.c: Same.
536 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
537
16b10d6e
LM
5382020-01-27 Luis Machado <luis.machado@linaro.org>
539
540 * gdb.base/step-over-syscall.exp (setup): Check if we're already
541 sitting at a syscall instruction when we hit the syscall function's
542 breakpoint.
543 Check PC against one obtained with the x command.
544 Validate syscall number.
545 (step_over_syscall): Don't continue to the syscall instruction if
546 we're already there.
547
b1468492
PW
5482020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
549
550 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
551
7ffa82e1
AB
5522020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
553
554 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
555 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
556
3d92a3e3
AB
5572020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
558
559 * gdb.dwarf2/dw2-inline-stepping.c: New file.
560 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
561
94a72be7
AB
5622020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
563
564 * gdb.base/maint.exp: Update line table parsing test.
565 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
566
53af73bf
PA
5672020-01-24 Pedro Alves <palves@redhat.com>
568
569 PR gdb/25410
570 * gdb.multi/multi-re-run-1.c: New.
571 * gdb.multi/multi-re-run-2.c: New.
572 * gdb.multi/multi-re-run.exp: New.
573
1ba1ac88
AB
5742020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
575
576 PR gdb/23718
577 * gdb.server/server-kill-python.exp: New file.
578
f3364a6d
AB
5792020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
580
581 * gdb.server/multi-ui-errors.c: New file.
582 * gdb.server/multi-ui-errors.exp: New file.
583
733d0a67
AB
5842020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
585
586 PR tui/9765
587 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
588
4f13c1c0
TT
5892020-01-19 Tom Tromey <tom@tromey.com>
590
591 * gdb.tui/main.exp: Add check for plain "file".
592
40c94099
CB
5932020-01-16 Christian Biesinger <cbiesinger@google.com>
594
595 * lib/gdb.exp: Fix spelling error (seperatelly).
596
ff47f4f0
TT
5972020-01-14 Tom Tromey <tom@tromey.com>
598
599 PR symtab/12535:
600 * gdb.python/python.exp: Test decode_line with empty string
601 argument.
602
717c684d
BE
6032020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
604
605 * gdb.base/skip-inline.exp: Extend test.
606
44e4c775
AB
6072020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
608
609 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
610 * gdb.dwarf2/dw2-bad-elf.c: New file.
611 * gdb.dwarf2/dw2-bad-elf.exp: New file.
612
d93c6db7
AB
6132020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
614
615 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
616 _line_saw_file.
617
9a6d629c
AB
6182020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
619
620 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
621 border.
622
d9ebdab7
TBA
6232020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
624
625 * gdb.multi/multi-target.exp (setup): Factor out "info
626 connections" and "info inferiors" tests to ...
627 (test_info_inferiors): ... this new procedure.
628 (top level): Run new "info-inferiors" tests.
629
f3c469b9
PA
6302020-01-10 Pedro Alves <palves@redhat.com>
631
632 * gdb.server/bkpt-other-inferior.exp: New file.
633
121b3efd
PA
6342020-01-10 Pedro Alves <palves@redhat.com>
635
636 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
637 of "add-inferior".
638 * gdb.base/quit-live.exp: Likewise.
639 * gdb.base/remote-exec-file.exp: Likewise.
640 * gdb.guile/scm-progspace.exp: Likewise.
641 * gdb.linespec/linespec.exp: Likewise.
642 * gdb.mi/new-ui-mi-sync.exp: Likewise.
643 * gdb.mi/user-selected-context-sync.exp: Likewise.
644 * gdb.multi/multi-target.exp (setup): Add "info connection" and
645 "info inferiors" tests.
646 * gdb.multi/remove-inferiors.exp: Adjust expected output of
647 "add-inferior".
648 * gdb.multi/watchpoint-multi.exp: Likewise.
649 * gdb.python/py-inferior.exp: Likewise.
650 * gdb.server/extended-remote-restart.exp: Likewise.
651 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
652 "info inferiors".
653 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
654 * gdb.trace/report.exp: Likewise.
655
1dadb1dd
PA
6562020-01-10 Pedro Alves <palves@redhat.com>
657
658 * gdb.multi/multi-target.c: New file.
659 * gdb.multi/multi-target.exp: New file.
660 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
661 mode requested, but remote does not support non-stop".
662
78f2c40a
PA
6632020-01-10 Pedro Alves <palves@redhat.com>
664
665 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
666 disconnect before reconnecting.
667
e7af6c70
TBA
6682020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
669 Pedro Alves <palves@redhat.com>
670
671 * gdb.server/connect-without-multi-process.exp: Also test
672 continuing to end.
673
acdf84a6
PA
6742020-01-10 Pedro Alves <palves@redhat.com>
675
676 * gdb.base/remote-exec-file.exp: New file.
677
873657b9
PA
6782020-01-10 Pedro Alves <palves@redhat.com>
679
680 * gdb.base/fork-running-state.exp (do_test): Adjust expected
681 output.
682 * gdb.threads/async.c: New.
683 * gdb.threads/async.exp: New.
684 * gdb.multi/tids-gid-reset.c: New.
685 * gdb.multi/tids-gid-reset.exp: New.
686
7f0ae84c
GB
6872020-01-10 George Barrett <bob@bob131.so>
688
689 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
690 to help in finding the image relocation offset.
691 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
692 options in arguments.
693 (stap_test_no_debuginfo): Likewise.
694 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
695 test variants.
696 (stap_test): Add null semaphore relocation test.
697
47e9d49d
GB
6982020-01-10 George Barrett <bob@bob131.so>
699
700 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
701 * gdb.base/stap-probe.exp: Likewise.
702 (stap_test): Pass argument as an additional flag.
703 (stap_test_no_debuginfo): Likewise.
704 (stap_test): Check `info probes stap' output for semaphore
705 addresses if the test binary is supposed to have them.
706
f5a7c406
AB
7072020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
708
709 * gdb.tui/basic.exp: Add more scrolling tests.
710
9ae6bf64
TT
7112020-01-09 Tom Tromey <tom@tromey.com>
712
713 PR tui/18932:
714 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
715 meangingful value.
716 (Term::command, Term::resize): Update.
717 * gdb.tui/basic.exp: Add scrolling test.
718
b2efe70c
AB
7192020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
720
721 * gdb.tui/tui-layout-asm.exp: New file.
722
3804da7e
AB
7232020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
724
725 * lib/tuiterm.exp (Term::check_box_contents): New proc.
726
b40aa28f
AB
7272020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
728
729 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
730 (Term::enter_tui): Use Term::prepare_for_tui.
731
63ffd7c9
AB
7322020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
733
734 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
735 called.
736
3be966f6
AB
7372020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
738
739 * gdb.base/skip.exp: Fix race condition in test.
740
153d79c4
AB
7412020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
742
743 * gdb.base/backtrace.c: New file.
744 * gdb.base/backtrace.exp: New file.
745
f2302a34
AB
7462020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
747
748 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
749
6ec1d75e
PW
7502020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
751
752 * gdb.base/style.exp: Test that warnings are styled.
753
c296cbe6
BE
7542019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
755
756 * gdb.base/line65535.exp: New file.
757 * gdb.base/line65535.c: New file.
758
b28a729d
SM
7592019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
760
761 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
762 * lib/gnat_debug_info_test.adb: New file.
763 * gdb.ada/ptype_tagged_param.exp: Use
764 gnat_runtime_has_debug_info, expect a different output if
765 runtime does not have debug info.
766
7f2d7a0d
SM
7672019-12-20 Simon Marchi <simon.marchi@efficios.com>
768
769 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
770 (another) quote in test name.
771
f3bce483
SM
7722019-12-20 Simon Marchi <simon.marchi@efficios.com>
773
774 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
775 Add quote in test name.
776
c855a912
TBA
7772019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
778
779 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
780 directory instead.
781 * gdb.cp/pass-by-ref.exp: Extend with more cases.
782 * gdb.cp/pass-by-ref-2.cc: New file.
783 * gdb.cp/pass-by-ref-2.exp: New file.
784
fc9d2d72
TT
7852019-12-20 Tom Tromey <tom@tromey.com>
786
787 * gdb.tui/list-before.exp: New file.
788
77b97e00
TT
7892019-12-20 Tom Tromey <tom@tromey.com>
790
791 * gdb.tui/list.exp: Check for source on initial listing.
792
f69656d0
TT
7932019-12-11 Tom Tromey <tromey@adacore.com>
794
795 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
796 Add crlf test.
797
99a55965
SM
7982019-12-18 Simon Marchi <simon.marchi@efficios.com>
799
800 * gdb.base/default.exp: Update value of $_gdb_major.
801
5024637f
BE
8022019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
803
804 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
805
b63634be
BE
8062019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
807
808 * gdb.base/skip.exp: Whitespace fix.
809
45d73523
BE
8102019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
811
812 * gdb.base/skip-inline.c: New file.
813 * gdb.base/skip-inline.exp: New file.
814
d043f8c8
SM
8152019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
816
817 * gdb.base/jit-reader.exp (jit_reader_test): Rename
818 jit_function_00 to jit_function_stack_mangle.
819 * gdb.base/jithost.c (jit_function_t): Rename to...
820 (jit_function_stack_mangle_t): ... this.
821 (jit_function_add_t): New typedef.
822 (jit_function_00_code): Rename to...
823 (jit_function_stack_mangle_code): ... this, make static.
824 (jit_function_add_code): New.
825 (main): Generate "add" function and call it. Adjust to changes
826 in jithost_abi.
827 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
828 (struct jithost_abi) <begin, end>: Remove fields.
829 <object, function_stack_mangle, function_add>: New fields.
830 * gdb.base/jitreader.c (struct reader_state) <code_begin,
831 code_end>: Remove fields.
832 <func_stack_mangle>: New field.
833 (read_debug_info): Adjust to renaming, create block for "add"
834 function.
835 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
836
873de05c
TT
8372019-12-11 Tom Tromey <tom@tromey.com>
838
839 * gdb.tui/resize.exp: Fix regexp.
840 * gdb.tui/regs.exp: Fix regexps.
841 * gdb.tui/main.exp: Fix regexp.
842
3d979945
TT
8432019-12-11 Tom Tromey <tom@tromey.com>
844
845 * gdb.tui/resize.exp: Update.
846 * gdb.tui/empty.exp (layouts): Update.
847
2192a9d3
TT
8482019-12-11 Tom Tromey <tom@tromey.com>
849
850 * gdb.tui/regs.exp: Update.
851 * gdb.tui/empty.exp (layouts): Update.
852 * gdb.tui/basic.exp: Update.
853 * lib/tuiterm.exp (_check_box): Don't check bottom border.
854
d8edc8b7
PW
8552019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
856
857 * gdb.base/options.exp: Add -raw-values in the print completion list.
858 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
859
4c12d936
KB
8602019-12-10 Kevin Buettner <kevinb@redhat.com>
861
862 * gdb.threads/omp-par-scope.c: New file.
863 * gdb/threads/omp-par-scope.exp: New file.
864
26b911fb
KB
8652019-12-10 Kevin Buettner <kevinb@redhat.com>
866
bb47f919
KB
867 * lib/gdb.exp (support_nested_function_tests): New proc.
868
8692019-12-10 Kevin Buettner <kevinb@redhat.com>
870
871 * lib/gdb.exp (gdb_compile_openmp): New proc.
872 (build_executable_from_specs): Add an "openmp" option.
873 (gdb_compile_pthreads): Add non-executable case.
26b911fb 874
6c71eb7d
TT
8752019-12-10 Tom Tromey <tromey@adacore.com>
876
877 * gdb.ada/unchecked_union.exp: New file.
878 * gdb.ada/unchecked_union/pck.adb: New file.
879 * gdb.ada/unchecked_union/pck.ads: New file.
880 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
881 * gdb-utils.exp (string_to_regexp): Also quote "?".
882
bac7c5cf
GB
8832019-12-10 George Barrett <bob@bob131.so>
884
885 Test scripted probe breakpoints.
886 * gdb.guile/scm-breakpoint.c (main): Add probe point.
887 * gdb.python/py-breakpoint.c (main): Likewise.
888 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
889 specifier test.
890 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
891
330f1d38
TBA
8922019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
893
894 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
895 an rvalue parameter.
896 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
897 parameter.
898
b43315e2
AB
8992019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
900
901 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
902 modules.
903
54f73dad
AB
9042019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
905
906 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
907 broken version of GCC.
908
d57cbee9
AB
9092019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
910
911 * gdb.fortran/info-modules.exp: Rewrite to make use of new
912 sym-info-cmds library.
913 * gdb.fortran/info-types.exp: Likewise.
914 * lib/sym-info-cmds.exp: New file.
915
c14aab8c
TV
9162019-12-08 Tom de Vries <tdevries@suse.de>
917
918 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
919
aa2d5a42
KS
9202019-12-07 Keith Seitz <keiths@redhat.com>
921
922 * gdb.base/corefile-buildid-shlib-shr.c: New file.
923 * gdb.base/corefile-buildid-shlib.c: New file.
924 * gdb.base/corefile-buildid.c: New file.
925 * gdb.base/corefile-buildid.exp: New file.
926
93e55f0a
TV
9272019-12-06 Tom de Vries <tdevries@suse.de>
928
929 * gdb.dwarf2/varval.exp: Add decl before def test.
930
c7d12402
TBA
9312019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
932
933 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
934
06acc08f
TBA
9352019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
936
937 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
938 CV and reference conversion for overload resolution.
939 * gdb.cp/rvalue-ref-overload.exp: Test it.
940
e0fad1ea
PW
9412019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
942
943 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
944 * gdb.base/frameapply.exp: Test faas without command.
945
8d70a9f0
AB
9462019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
947
948 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
949 Fortran tests.
950 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
951 order.
952
36c8fb93
AB
9532019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
954
955 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
956 casting to type with no kind specified.
957 (test_basic_parsing_of_type_kinds): Additional tests for types
958 with no kind specified, and add tests for single/double
959 precision/complex types.
960
4139ff00
TT
9612019-12-04 Tom Tromey <tromey@adacore.com>
962
963 * gdb.base/endianity.c (struct other) <x>: New field.
964 (main): Initialize it.
965 * gdb.base/endianity.exp: Update.
966
a05cf17a
TT
9672019-12-04 Tom Tromey <tromey@adacore.com>
968
969 * gdb.ada/scalar_storage/storage.adb: New file.
970 * gdb.ada/scalar_storage/pck.adb: New file.
971 * gdb.ada/scalar_storage/pck.ads: New file.
972 * gdb.ada/scalar_storage.exp: New file.
973
103a685e
TT
9742019-12-04 Tom Tromey <tromey@adacore.com>
975
976 * gdb.base/endianity.c (struct otherendian) <f>: New field.
977 (main): Initialize it.
978 * gdb.base/endianity.exp: Update.
979
c2512106
AB
9802019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
981
982 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
983
293b38d6
AB
9842019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
985
986 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
987 -symbol-info-module-functions and -symbol-info-module-variables.
988
216a7e6b
AB
9892019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
990
991 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
992
5bbd8269
AB
9932019-12-01 Richard Bunt <richard.bunt@arm.com>
994 Andrew Burgess <andrew.burgess@embecosm.com>
995
996 * gdb.fortran/derived-type-striding.exp: New file.
997 * gdb.fortran/derived-type-striding.f90: New file.
998 * gdb.fortran/array-slices.exp: New file.
999 * gdb.fortran/array-slices.f90: New file.
1000
be09caf1
PW
10012019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1002
1003 * gdb.base/define.exp: Test . in command names.
1004 * gdb.base/setshow.exp: Update test, as . is now part of
1005 command name.
1006
643c0cbe
PW
10072019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1008
1009 * gdb.base/define-prefix.exp: New file.
1010
dcdec678
AB
10112019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
1012
1013 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
1014 compile.
1015 (skip_btrace_pt_tests): Likewise.
1016
640ab947
AB
10172019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
1018
1019 * gdb.fortran/info-modules.exp: Compile source files in correct
1020 order.
1021
d22670f0
KB
10222019-11-27 Kevin Buettner <kevinb@redhat.com>
1023
1024 * gdb.dwarf2/imported-unit.exp: New file.
1025 * gdb.dwarf2/imported-unit.c: New file.
1026
db5960b4
AB
10272019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
1028
1029 * gdb.mi/mi-fortran-modules-2.f90: New file.
1030 * gdb.mi/mi-fortran-modules.exp: New file.
1031 * gdb.mi/mi-fortran-modules.f90: New file.
1032
7dc42066
AB
10332019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
1034
1035 * gdb.mi/mi-sym-info-1.c: New file.
1036 * gdb.mi/mi-sym-info-2.c: New file.
1037 * gdb.mi/mi-sym-info.exp: New file.
1038
0dfeecca
TT
10392019-11-22 Tom Tromey <tromey@adacore.com>
1040
1041 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
1042 * gdb.ada/tasks/foo.adb: Add another stopping location.
1043
34877895
PJ
10442019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
1045
1046 * gdb.base/endianity.c: New test.
1047 * gdb.base/endianity.exp: New file.
1048
2e84f897
LD
10492019-11-21 Lukas Durfina <ldurfina@tachyum.com>
1050
1051 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
1052
65d1cd5f
TV
10532019-11-21 Tom de Vries <tdevries@suse.de>
1054
1055 PR gdb/24956
1056 * gdb.base/ui-redirect.exp: Test output of user-defined command.
1057
4f22c3f4
SDJ
10582019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
1059
1060 * gdb.python/py-progspace.exp: Add missing parentheses on some
1061 'print' commands.
1062
9f6ad286
TT
10632019-11-19 Tom Tromey <tom@tromey.com>
1064
1065 * gdb.tui/winheight.exp: New file.
1066
0b8dbf3f
AB
10672019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1068
1069 * gdb.base/ctf-whatis.c: Delete.
1070 * gdb.base/ctf-whatis.exp: Delete.
1071 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
1072
f833b7a7
AB
10732019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1074
1075 * gdb.base/ctf-cvexpr.exp: Delete.
1076 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
1077
30d0a636
AB
10782019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1079
1080 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
1081 the compiler. Clean up header comment a little.
1082 * gdb.base/ctf-ptype.exp: Likewise.
1083 * gdb.base/ctf-whatis.exp: Likewise.
1084 * lib/gdb.exp (skip_ctf_tests): New proc.
1085
494409bb
SDJ
10862019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
1087
1088 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
1089 * gdb.tui/corefile-run.exp: New file.
1090
55708e99
TT
10912019-11-14 Tom Tromey <tromey@adacore.com>
1092
1093 * gdb.base/gdbvars.exp (test_convenience_variables): Add
1094 regression tests.
1095
45e42163
TT
10962019-11-12 Tom Tromey <tom@tromey.com>
1097
1098 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
1099 after any command. Expect prompt after WAIT_FOR is seen.
1100 (enter_tui): Enable resize messages.
1101 (command): Expect command in output.
1102 (get_line): Avoid error when cursor appears to be off-screen.
1103 (dump_screen): Include screen size in title.
1104 (_do_resize): New proc, from "resize".
1105 (resize): Rewrite. Do resize in two steps.
1106 * gdb.tui/empty.exp (layouts): Fix entries.
1107 (check_boxes): Remove xfail.
1108 (check_text): Dump screen on failure.
1109
086baaf1
AB
11102019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
1111
1112 * gdb.python/py-symbol.exp: Add test for
1113 gdb.lookup_static_symbols.
1114
09ff83af
AB
11152019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
1116
1117 * gdb.python/py-symbol.c: Declare and call function from new
1118 py-symbol-2.c file.
1119 * gdb.python/py-symbol.exp: Compile both source files, and add new
1120 tests for gdb.lookup_static_symbol.
1121 * gdb.python/py-symbol-2.c: New file.
1122
11af934b
TV
11232019-11-02 Tom de Vries <tdevries@suse.de>
1124
1125 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
1126 * gdb.base/anon.exp: Same.
1127 * gdb.base/auto-connect-native-target.exp: Same.
1128 * gdb.base/call-ar-st.exp: Same.
1129 * gdb.base/catch-syscall.exp: Same.
1130 * gdb.base/commands.exp: Same.
1131 * gdb.base/default.exp: Same.
1132 * gdb.base/display.exp: Same.
1133 * gdb.base/float.exp: Same.
1134 * gdb.base/foll-fork.exp: Same.
1135 * gdb.base/help.exp: Same.
1136 * gdb.base/info-macros.exp: Same.
1137 * gdb.base/info-proc.exp: Same.
1138 * gdb.base/info-target.exp: Same.
1139 * gdb.base/long_long.exp: Same.
1140 * gdb.base/macscp.exp: Same.
1141 * gdb.base/memattr.exp: Same.
1142 * gdb.base/nofield.exp: Same.
1143 * gdb.base/pointers.exp: Same.
1144 * gdb.base/printcmds.exp: Same.
1145 * gdb.base/ptype.exp: Same.
1146 * gdb.base/restore.exp: Same.
1147 * gdb.base/return.exp: Same.
1148 * gdb.base/scope.exp: Same.
1149 * gdb.base/set-noassign.exp: Same.
1150 * gdb.base/setshow.exp: Same.
1151 * gdb.base/shlib-call.exp: Same.
1152 * gdb.base/signals.exp: Same.
1153 * gdb.base/sigstep.exp: Same.
1154 * gdb.base/skip.exp: Same.
1155 * gdb.base/solib-symbol.exp: Same.
1156 * gdb.base/stap-probe.exp: Same.
1157 * gdb.base/step-line.exp: Same.
1158 * gdb.base/step-test.exp: Same.
1159 * gdb.base/style.exp: Same.
1160 * gdb.base/varargs.exp: Same.
1161 * gdb.base/vla-datatypes.exp: Same.
1162 * gdb.base/vla-ptr.exp: Same.
1163 * gdb.base/vla-sideeffect.exp: Same.
1164 * gdb.base/volatile.exp: Same.
1165 * gdb.base/watch-cond-infcall.exp: Same.
1166 * gdb.base/watchpoint.exp: Same.
1167
e96ec2ba
TV
11682019-11-02 Tom de Vries <tdevries@suse.de>
1169
1170 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
1171 * gdb.cp/cpexprs.exp: Same.
1172 * gdb.cp/except-multi-location.exp: Same.
1173 * gdb.cp/exceptprint.exp: Same.
1174 * gdb.cp/gdb2384.exp: Same.
1175 * gdb.cp/inherit.exp: Same.
1176 * gdb.cp/m-static.exp: Same.
1177 * gdb.cp/meth-typedefs.exp: Same.
1178 * gdb.cp/misc.exp: Same.
1179 * gdb.cp/namespace.exp: Same.
1180 * gdb.cp/non-trivial-retval.exp: Same.
1181 * gdb.cp/overload.exp: Same.
1182 * gdb.cp/pr17132.exp: Same.
1183 * gdb.cp/re-set-overloaded.exp: Same.
1184 * gdb.cp/rvalue-ref-types.exp: Same.
1185 * gdb.cp/templates.exp: Same.
1186
bd5766ec
LM
11872019-11-01 Luis Machado <luis.machado@linaro.org>
1188
1189 PR gdb/25124
1190
1191 * gdb.arch/pr25124.S: New file.
1192 * gdb.arch/pr25124.exp: New file.
1193
165f8965
AB
11942019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1195
1196 * gdb.fortran/info-modules.exp: Update expected results, and add
1197 additional tests for 'info module functinos', and 'info module
1198 variables'.
1199 * gdb.fortran/info-types.exp: Update expected results.
1200 * gdb.fortran/info-types.f90: Extend testcase with additional
1201 module variables and functions.
1202
59c35742
AB
12032019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1204
1205 * gdb.fortran/info-modules.exp: New file.
1206 * gdb.fortran/info-types.exp: Build with new file.
1207 * gdb.fortran/info-types.f90: Include and use new module.
1208 * gdb.fortran/info-types-2.f90: New file.
1209
f3fb2519
PW
12102019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1211
1212 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
1213 * gdb.base/settings.exp: Test all settings types using
1214 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
1215 that now verifies that the value of "maint show" is the same as
1216 returned by the settings functions. Test the type of the
1217 maintenance settings.
1218 * gdb.base/default.exp: Update show_conv_list.
1219
d1e36019
TV
12202019-10-31 Tom de Vries <tdevries@suse.de>
1221
1222 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
1223 gdb_test.
1224 * gdb.arch/amd64-disp-step.exp: Same.
1225 * gdb.asm/asm-source.exp: Same.
1226 * gdb.btrace/buffer-size.exp: Same.
1227 * gdb.btrace/cpu.exp: Same.
1228 * gdb.btrace/enable.exp: Same.
1229 * gdb.dwarf2/count.exp: Same.
1230 * gdb.dwarf2/dw2-ranges-func.exp: Same.
1231 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
1232 * gdb.fortran/vla-datatypes.exp: Same.
1233 * gdb.fortran/vla-history.exp: Same.
1234 * gdb.fortran/vla-ptype.exp: Same.
1235 * gdb.fortran/vla-value.exp: Same.
1236 * gdb.fortran/whatis_type.exp: Same.
1237 * gdb.guile/guile.exp: Same.
1238 * gdb.multi/tids.exp: Same.
1239 * gdb.python/py-finish-breakpoint.exp: Same.
1240 * gdb.python/py-framefilter.exp: Same.
1241 * gdb.python/py-pp-registration.exp: Same.
1242 * gdb.python/py-xmethods.exp: Same.
1243 * gdb.python/python.exp: Same.
1244 * gdb.server/connect-with-no-symbol-file.exp: Same.
1245 * gdb.server/no-thread-db.exp: Same.
1246 * gdb.server/run-without-local-binary.exp: Same.
1247 * gdb.stabs/weird.exp: Same.
1248 * gdb.threads/attach-many-short-lived-threads.exp: Same.
1249 * gdb.threads/thread-find.exp: Same.
1250 * gdb.threads/tls-shared.exp: Same.
1251 * gdb.threads/tls.exp: Same.
1252 * gdb.threads/wp-replication.exp: Same.
1253 * gdb.trace/ax.exp: Same.
1254 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
1255
3d11e68e
TV
12562019-10-31 Tom de Vries <tdevries@suse.de>
1257
1258 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
1259 * gdb.ada/array_subscript_addr.exp: Same.
1260 * gdb.ada/arrayidx.exp: Same.
1261 * gdb.ada/arrayparam.exp: Same.
1262 * gdb.ada/arrayptr.exp: Same.
1263 * gdb.ada/boolean_expr.exp: Same.
1264 * gdb.ada/call_pn.exp: Same.
1265 * gdb.ada/complete.exp: Same.
1266 * gdb.ada/fixed_cmp.exp: Same.
1267 * gdb.ada/fun_addr.exp: Same.
1268 * gdb.ada/funcall_param.exp: Same.
1269 * gdb.ada/interface.exp: Same.
1270 * gdb.ada/mod_from_name.exp: Same.
1271 * gdb.ada/null_array.exp: Same.
1272 * gdb.ada/packed_array.exp: Same.
1273 * gdb.ada/packed_tagged.exp: Same.
1274 * gdb.ada/print_chars.exp: Same.
1275 * gdb.ada/print_pc.exp: Same.
1276 * gdb.ada/ptype_arith_binop.exp: Same.
1277 * gdb.ada/ptype_field.exp: Same.
1278 * gdb.ada/ptype_tagged_param.exp: Same.
1279 * gdb.ada/rec_return.exp: Same.
1280 * gdb.ada/ref_tick_size.exp: Same.
1281 * gdb.ada/str_ref_cmp.exp: Same.
1282 * gdb.ada/taft_type.exp: Same.
1283 * gdb.ada/tagged.exp: Same.
1284 * gdb.ada/type_coercion.exp: Same.
1285 * gdb.ada/uninitialized_vars.exp: Same.
1286
60b6ede8
TV
12872019-10-30 Tom de Vries <tdevries@suse.de>
1288
1289 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
1290
30baf67b
TV
12912019-10-26 Tom de Vries <tdevries@suse.de>
1292
1293 * gdb.base/bigcore.c: Fix typos in comments.
1294 * gdb.base/ctf-ptype.c: Same.
1295 * gdb.base/long_long.c: Same.
1296 * gdb.dwarf2/dw2-op-out-param.S: Same.
1297 * gdb.python/py-evthreads.c: Same.
1298 * gdb.reverse/i387-stack-reverse.c: Same.
1299 * gdb.trace/tfile.c: Same.
1300 * lib/compiler.c: Same.
1301 * lib/compiler.cc: Same.
1302
158da0d1
TV
13032019-10-25 Tom de Vries <tdevries@suse.de>
1304
1305 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
1306 gdb_test_multiple calls.
1307 * gdb.reverse/sigall-reverse.exp: Same.
1308 * gdb.reverse/solib-precsave.exp: Same.
1309 * gdb.reverse/solib-reverse.exp: Same.
1310 * gdb.reverse/until-precsave.exp: Same.
1311 * gdb.reverse/until-reverse.exp: Same.
1312
4ccdfbec
TV
13132019-10-24 Tom de Vries <tdevries@suse.de>
1314
1315 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
1316 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
1317 kfail using -wrap pattern flag and convenience variable
1318 gdb_test_name.
1319
33d569b7
AB
13202019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
1321
1322 * gdb.python/py-progspace.exp: Add tests for the
1323 Progspace.block_for_pc method.
1324
4d0b984b
TT
13252019-10-23 Tom Tromey <tom@tromey.com>
1326
1327 * configure: Rebuild.
1328 * aclocal.m4: Use m4_include, not sinclude.
1329
94cb3754
TV
13302019-10-21 Tom de Vries <tdevries@suse.de>
1331
1332 * gdb.base/infcall-nested-structs.c: Add
1333 __attribute__((noinline,noclone)) to all functions.
1334 (call_all): Add missing variable initialization. Simplify return value.
1335 (breakpt): Increment volatile variable, to prevent call from being
1336 optimized out.
1337 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
1338
062f1fc1
TV
13392019-10-17 Tom de Vries <tdevries@suse.de>
1340
1341 * gdb.fortran/module.exp: Allow info variables to print info for files
1342 other than module.f90.
1343
0b54364d
AB
13442019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
1345
1346 * gdb.fortran/module.exp: Extend with 'info variables' test.
1347
7ff5fae7
AB
13482019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
1349
1350 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
1351 F77_FOR_TARGET.
1352
d10eccaa
TV
13532019-10-16 Tom de Vries <tdevries@suse.de>
1354
1355 PR tdep/25096
1356 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
1357
745ff14e
TV
13582019-10-16 Tom de Vries <tdevries@suse.de>
1359
1360 PR tdep/24104
1361 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
1362 Add KFAIL for PR tdep/25096.
1363
03e1ab94
TV
13642019-10-16 Tom de Vries <tdevries@suse.de>
1365
1366 PR testsuite/25059
1367 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
1368
b17fcc10
TV
13692019-10-16 Tom de Vries <tdevries@suse.de>
1370
1371 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
1372 as signed.
1373
9223170f
SM
13742019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
1375
1376 * gdb.mi/list-thread-groups-available.exp: Read entries one by
1377 one instead of increasing timeout.
1378
d6e76313
TV
13792019-10-13 Tom de Vries <tdevries@suse.de>
1380
1381 PR record/25038
1382 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
1383 * gdb.reverse/sigall-reverse.exp: Same.
1384 * gdb.reverse/solib-precsave.exp: Same.
1385 * gdb.reverse/solib-reverse.exp: Same.
1386 * gdb.reverse/step-precsave.exp: Same.
1387 * gdb.reverse/until-precsave.exp: Same.
1388 * gdb.reverse/until-reverse.exp: Same.
1389 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
1390
6dfc0041
AA
13912019-10-10 Andreas Arnez <arnez@linux.ibm.com>
1392
1393 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
1394 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
1395 (cmp_struct_05_01, cmp_struct_static_02_01)
1396 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
1397 comparisons.
1398
abcf2cc8
TV
13992019-10-10 Tom de Vries <tdevries@suse.de>
1400
1401 PR testsuite/24888
1402 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
1403 gnatlink.
1404
a50faaf6
TV
14052019-10-09 Tom de Vries <tdevries@suse.de>
1406
1407 PR testsuite/25048
1408 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
1409
60ff3cd7
AB
14102019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
1411
1412 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
1413 exceptions due to missing debug information.
1414
dfee8566
TV
14152019-10-07 Tom de Vries <tdevries@suse.de>
1416
1417 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
1418
3d63690a
AB
14192019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
1420
1421 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
1422 * gdb.base/annota1.exp: Update to use gdb_test_name.
1423
30d1f018
WP
14242019-10-07 Weimin Pan <weimin.pan@oracle.com>
1425
1426 * gdb.base/ctf-whatis.exp: New file.
1427 * gdb.base/ctf-whatis.c: New file.
1428 * gdb.base/ctf-ptype.exp: New file.
1429 * gdb.base/ctf-ptype.c: New file.
1430 * gdb.base/ctf-constvars.exp: New file.
1431 * gdb.base/ctf-constvars.c: New file.
1432 * gdb.base/ctf-cvexpr.exp: New file.
1433
4dbbb47c
TV
14342019-10-04 Tom de Vries <tdevries@suse.de>
1435
1436 * gdb.cp/local-static.c (main): Move declaration of int i out of the
1437 for loop.
1438
77c2dba3
TT
14392019-10-03 Tom Tromey <tom@tromey.com>
1440
1441 PR rust/24976:
1442 * gdb.rust/simple.rs (Union2): New type.
1443 (main): Use Union2.
1444 * gdb.rust/simple.exp: Add test.
1445
179aed7f
AB
14462019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1447
1448 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
1449 nested function prefix.
1450
0a4b0913
AB
14512019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
1452 Richard Bunt <richard.bunt@arm.com>
1453 Andrew Burgess <andrew.burgess@embecosm.com>
1454
1455 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
1456 nested functions.
1457 * gdb.fortran/nested-funcs.f90: Update expected results.
1458 * gdb.fortran/nested-funcs-2.exp: New file.
1459 * gdb.fortran/nested-funcs-2.f90: New file.
1460
082cce05
AB
14612019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1462
1463 * gdb.python/py-parameter.exp: Make test names unique.
1464 * gdb.python/py-template.exp: Likewise.
1465 * gdb.python/py-value.exp: Likewise.
1466
2b74ba5a
AB
14672019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1468
1469 * gdb.base/break-interp.exp: Reduce test name duplication.
1470 * gdb.base/call-sc.exp: Likewise.
1471 * gdb.base/callfuncs.exp: Likewise.
1472 * gdb.base/charset.exp: Likewise.
1473 * gdb.base/dump.exp: Likewise.
1474 * gdb.base/ena-dis-br.exp: Likewise.
1475 * gdb.base/relational.exp: Likewise.
1476 * gdb.base/step-over-syscall.exp: Likewise.
1477 * gdb.base/structs.exp: Likewise.
1478
58eb20d5
AB
14792019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1480
1481 * gdb.linespec/explicit.exp: Make test names unique.
1482 * gdb.linespec/ls-errs.exp: Likewise.
1483
4d421147
AB
14842019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1485
1486 * gdb.reverse/break-precsave.exp: Make test names unique.
1487 * gdb.reverse/break-reverse.exp: Likewise.
1488 * gdb.reverse/finish-precsave.exp: Likewise.
1489 * gdb.reverse/finish-reverse.exp: Likewise.
1490 * gdb.reverse/machinestate-precsave.exp: Likewise.
1491 * gdb.reverse/machinestate.exp: Likewise.
1492 * gdb.reverse/readv-reverse.exp: Likewise.
1493 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1494 * gdb.reverse/sigall-precsave.exp: Likewise.
1495 * gdb.reverse/sigall-reverse.exp: Likewise.
1496 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
1497 * gdb.reverse/watch-precsave.exp: Likewise.
1498 * gdb.reverse/watch-reverse.exp: Likewise.
1499
d8c06f22
AB
15002019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1501
1502 * gdb.threads/stop-with-handle.c: New file.
1503 * gdb.threads/stop-with-handle.exp: New file.
1504
3a56ed86
TV
15052019-10-03 Tom de Vries <tdevries@suse.de>
1506
1507 PR testsuite/25059
1508 * gdb.base/list-missing-source.exp: Allowing the "Compilation
1509 directory" line to be missing.
1510
42275044
TV
15112019-10-03 Tom de Vries <tdevries@suse.de>
1512
1513 PR testsuite/25059
1514 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
1515 type optional.
1516
9ef62df0
AA
15172019-10-02 Andreas Arnez <arnez@linux.ibm.com>
1518
1519 * gdb.python/py-format-string.c (string.h): New include.
1520 (main): Fill a_struct_with_union.the_union.an_int with bytes of
1521 the same value, for endianness-independence.
1522 * gdb.python/py-format-string.exp (default_regexp_dict)
1523 (test_pretty_structs, test_format): Adjust expected output to the
1524 changed initialization.
1525
37f6a7f4
TT
15262019-10-02 Tom Tromey <tromey@adacore.com>
1527
1528 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
1529
1d58d6a2
PA
15302019-10-02 Pedro Alves <palves@redhat.com>
1531 Andrew Burgess <andrew.burgess@embecosm.com>
1532
1533 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
1534 "print-file-var.h".
1535 (this_version_id) Use ATTRIBUTE_VISIBILITY.
1536 (get_version_1): Print this_version_id and its address.
1537 Add extern "C" wrappers around interface functions.
1538 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
1539 "print-file-var.h".
1540 (this_version_id) Use ATTRIBUTE_VISIBILITY.
1541 (get_version_2): Print this_version_id and its address.
1542 Add extern "C" wrappers around interface functions.
1543 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
1544 <stddef.h> and "print-file-var.h".
1545 Add extern "C" wrappers around interface functions.
1546 [VERSION_ID_MAIN] (this_version_id): Define.
1547 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
1548 * gdb.base/print-file-var.h: Add some #defines to simplify setting
1549 up extern "C" blocks.
1550 * gdb.base/print-file-var.exp (test): New, factored out from top
1551 level.
1552 (top level): Test all combinations of attribute hidden or not,
1553 dlopen or not, and this_version_id symbol in main file or not.
1554 Compile tests as both C++ and C, make test names unique.
1555
d770d56f
TT
15562019-10-01 Tom Tromey <tom@tromey.com>
1557
1558 * gdb.base/style.exp: Test "show logging filename".
1559
7f6aba03
TT
15602019-10-01 Tom Tromey <tom@tromey.com>
1561
1562 * lib/gdb-utils.exp (style): Handle "metadata" argument.
1563 * gdb.base/style.exp: Add metadata style test.
1564
14309bb6
TT
15652019-10-01 Tom Tromey <tom@tromey.com>
1566
1567 * gdb.base/style.exp: Test "pwd".
1568
2a3c1174
PA
15692019-10-01 Tom Tromey <tom@tromey.com>
1570
1571 * gdb.base/style.exp: Update tests.
1572
53d666ec
AA
15732019-10-01 Andreas Arnez <arnez@linux.ibm.com>
1574
1575 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
1576 'six' to unsigned.
1577 (s1): Initialize fields 'four' and 'six' instead of 'three' and
1578 'five'. Use an all-ones bit pattern for each.
1579 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
1580 to its changed values.
1581
4a56a520
TT
15822019-09-30 Tom Tromey <tromey@adacore.com>
1583
1584 * gdb.rust/traits.rs: Disable all warnings.
1585
0df0352a
TV
15862019-09-29 Tom de Vries <tdevries@suse.de>
1587
1588 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
1589
73d9a918
TV
15902019-09-29 Tom de Vries <tdevries@suse.de>
1591
1592 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
1593
060b3ab4
TV
15942019-09-27 Tom de Vries <tdevries@suse.de>
1595
1596 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
1597
68f7d34d
TV
15982019-09-27 Tom de Vries <tdevries@suse.de>
1599
1600 PR record/23188
1601 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
1602
5d63b30a
TT
16032019-09-26 Tom Tromey <tromey@adacore.com>
1604
1605 * gdb.ada/py_taft.exp: New file.
1606 * gdb.ada/py_taft/main.adb: New file.
1607 * gdb.ada/py_taft/pkg.adb: New file.
1608 * gdb.ada/py_taft/pkg.ads: New file.
1609
3d435220
TV
16102019-09-24 Tom de Vries <tdevries@suse.de>
1611
1612 PR gdb/24598
1613 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
1614
77d03678
TV
16152019-09-22 Tom de Vries <tdevries@suse.de>
1616
1617 * gdb.base/restore.exp: Allow register variables to be optimized out at
1618 -O0.
1619
abf516c6
UW
16202019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
1621
1622 * gdb.arch/spu-info.exp: Remove file.
1623 * gdb.arch/spu-info.c: Remove file.
1624 * gdb.arch/spu-ls.exp: Remove file.
1625 * gdb.arch/spu-ls.c: Remove file.
1626
1627 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
1628 * gdb.asm/spu.inc: Remove file.
1629
1630 * gdb.base/dump.exp: Remove support for spu*-*-*.
1631 * gdb.base/stack-checking.exp: Likewise.
1632 * gdb.base/overlays.exp: Likewise.
1633 * gdb.base/ovlymgr.c: Likewise.
1634 * gdb.base/spu.ld: Remove file.
1635
1636 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
1637 * gdb.cp/cpexprs.exp: Likewise.
1638 * gdb.cp/exception.exp: Likewise.
1639 * gdb.cp/gdb2495.exp: Likewise.
1640 * gdb.cp/mb-templates.exp: Likewise.
1641 * gdb.cp/pr9167.exp: Likewise.
1642 * gdb.cp/userdef.exp: Likewise.
1643
1644 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
1645
1646 * gdb.cell: Remove directory.
1647 * lib/cell.exp: Remove file.
1648
e452e88f
TV
16492019-09-19 Tom de Vries <tdevries@suse.de>
1650
1651 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
1652
8a625130
TV
16532019-09-19 Tom de Vries <tdevries@suse.de>
1654
1655 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
1656
81dc3ab5
TV
16572019-09-19 Tom de Vries <tdevries@suse.de>
1658
1659 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
1660 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
1661 (gdb_target_cmd): ... here.
1662 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
1663 value 2.
1664
b078f3ac
AB
16652019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
1666
1667 * gdb.base/source-dir.exp: Avoid having directory names in test
1668 names.
1669
f1b620e9
MG
16702019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
1671
1672 * gdb.base/source-dir.exp: Add extra test for mapped compilation
1673 directory.
1674
67f3ed6a
AB
16752019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
1676
1677 * gdb.base/list-missing-source.exp: New file.
1678
d1b70248
TV
16792019-09-14 Tom de Vries <tdevries@suse.de>
1680
1681 PR teststuite/24599
1682 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
1683 * lib/ada.exp (gnatmake_version_at_least): New proc.
1684
5fabdcd6
AB
16852019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
1686
1687 * gdb.base/maint.exp: Use exec_has_index_section.
1688
aa17805f
AB
16892019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
1690
1691 * gdb.base/maint.exp: Add test for 'maint info sections'.
1692
25e5c209
TV
16932019-09-12 Tom de Vries <tdevries@suse.de>
1694
1695 * gdb.base/store.exp: Allow register variables to be optimized out at
1696 -O0.
1697
4993045d
PW
16982019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1699
1700 * gdb.ada/rdv_wait.exp: Update to new task names.
1701 * gdb.base/task_switch_in_core.exp: Likewise.
1702 * gdb.base/info_sources_base.c: Likewise.
1703
8a516164
TT
17042019-09-10 Tom Tromey <tromey@adacore.com>
1705
1706 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
1707
aa391654
TT
17082019-09-10 Tom Tromey <tromey@adacore.com>
1709
1710 * gdb.ada/dgopt.exp: New file.
1711 * gdb.ada/dgopt/x.adb: New file.
1712
8634b462
TT
17132019-09-08 Tom Tromey <tom@tromey.com>
1714
1715 * gdb.tui/resize.exp: Remove setup_xfail.
1716 * gdb.tui/regs.exp: Remove setup_xfail.
1717 * gdb.tui/basic.exp: Remove setup_xfail.
1718
736b0f76
DB
17192019-09-06 David Blaikie <dblaikie@gmail.com>
1720
1721 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
1722 * gdb.cp/cplabel.exp: Ditto.
1723 * gdb.linespec/ls-errs.exp: Ditto.
1724
30331a6c
TV
17252019-09-05 Tom de Vries <tdevries@suse.de>
1726
1727 * lib/gdb.exp (cmp_file_string): New proc.
1728 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
1729 runto_main. Verify save breakpoints output.
1730
98b0ebab
PW
17312019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1732
1733 * gdb.base/info-var.exp: Test info variables without running
1734 to main, to avoid expect's buffer overflow.
1735
4e962e74
TT
17362019-09-03 Tom Tromey <tromey@adacore.com>
1737
1738 * gdb.ada/bias.exp: New file.
1739 * gdb.ada/bias/bias.adb: New file.
1740 * gdb.ada/print_chars.exp: Add regression test.
1741 * gdb.ada/print_chars/foo.adb (My_Character): New type.
1742 (MC): New variable.
1743
2ea1a07a
SL
17442019-08-29 Sandra Loosemore <sandra@codesourcery.com>
1745
1746 * gdb.base/argv0-symlink.exp: Run only on native target
1747 and local host.
1748
8077c50d
TV
17492019-08-29 Tom de Vries <tdevries@suse.de>
1750
1751 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
1752 diverse debug info.
1753 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
1754
48352473
TV
17552019-08-28 Tom de Vries <tdevries@suse.de>
1756
1757 * gdb.base/info-var.exp: Allow info variables to print info for files
1758 other than info-var-f1.c and info-var-f2.c.
1759
d8f27c60
AB
17602019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
1761
1762 * gdb.fortran/info-types.exp: Add module.
1763 * gdb.fortran/info-types.f90: Update expected results.
1764
1f20c35e
AB
17652019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
1766
1767 * gdb.fortran/info-types.exp: New file.
1768 * gdb.fortran/info-types.f90: New file.
1769 * lib/fortran.exp (fortran_character1): New proc.
1770
4acfdd20
AB
17712019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
1772
1773 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
1774 functions'. Reindent as needed.
1775 * gdb.base/info-var-f1.c: New file.
1776 * gdb.base/info-var-f2.c: New file.
1777 * gdb.base/info-var.exp: New file.
1778 * gdb.base/info-var.h: New file.
1779
5c31b358
TV
17802019-08-26 Tom de Vries <tdevries@suse.de>
1781
1782 PR c++/24852
1783 * gdb.cp/no-libstdcxx-probe.exp: New test.
1784
b694989f
TV
17852019-08-26 Tom de Vries <tdevries@suse.de>
1786
1787 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
1788 * tests need to be skipped.
1789 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
1790 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
1791 mi_skip_libstdcxx_probe_tests.
1792
d9c4ba53
SDJ
17932019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
1794
1795 * gdb.python/py-xmethods.exp: Use raw strings when passing
1796 arguments to SimpleXMethodMatcher.
1797
395fad09
TV
17982019-08-22 Tom de Vries <tdevries@suse.de>
1799
1800 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
1801 more informative.
1802
26c957f1
PA
18032019-08-21 Pedro Alves <palves@redhat.com>
1804
1805 * gdb.base/with.exp: Test "with" with no arguments.
1806
61f80d5d
TV
18072019-08-21 Tom de Vries <tdevries@suse.de>
1808
1809 * gdb.base/gdb-caching-proc.exp: Sort files.
1810
d7a11d13
TV
18112019-08-20 Tom de Vries <tdevries@suse.de>
1812
1813 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
1814 compilation.
1815
34dafe9f
TV
18162019-08-16 Tom de Vries <tdevries@suse.de>
1817
1818 * gdb.base/compare-sections.exp ("after run to main"): Allow
1819 mismatched read-only sections for PIE executables.
1820
398fdd60
TT
18212019-08-16 Tom Tromey <tom@tromey.com>
1822
1823 * lib/tuiterm.exp (_csi_Z): New proc.
1824 * gdb.tui/basic.exp: Update window positions.
1825 * gdb.tui/empty.exp: Update window positions.
1826
d8f9e51c
SL
18272019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1828
1829 * gdb.base/examine-backward.exp: Correct regexp for
1830 "examine 3 bytes backward from ${address_zero}".
1831
3df505f6
TT
18322019-08-15 Tom Tromey <tom@tromey.com>
1833
1834 * gdb.tui/empty.exp: Enable resizing tests.
1835
272560b5
TT
18362019-08-15 Tom Tromey <tromey@adacore.com>
1837
1838 * gdb.ada/char_enum.exp: Add regression tests.
1839 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
1840 and '0'.
1841 (Char, Gchar): Update.
1842 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
1843
08235187
CB
18442019-08-15 Christian Biesinger <cbiesinger@google.com>
1845
1846 * gdb.python/python.exp: Expect a leading underscore on
1847 GdbOutput{,Error}File.
1848
22a2ab04
SL
18492019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1850
1851 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
1852 Windows host.
1853
835b995b
SL
18542019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1855
1856 * gdb.base/batch-preserve-term-settings.exp
1857 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
1858
97dd8e07
CB
18592019-08-15 Christian Biesinger <cbiesinger@google.com>
1860
1861 * lib/gdb.exp: When running on a mingw target, replace
1862 /x/ with x:/.
1863
75faf5c4
AH
18642019-08-14 Alan Hayward <alan.hayward@arm.com>
1865
1866 * gdb.arch/aarch64-prologue.c: New test.
1867 * gdb.arch/aarch64-prologue.exp: New file.
1868
abc6c00f
TV
18692019-08-13 Tom de Vries <tdevries@suse.de>
1870
1871 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
1872 Thread.
1873
74c2c1f4
SL
18742019-08-13 Sandra Loosemore <sandra@codesourcery.com>
1875
1876 * gdb.python/py-completion.exp: Download the .py file to the host
1877 and use its host pathname. Conditionalize tests that use
1878 tab completion and manipulate files on the build machine.
1879 * gdb.python/py-events.exp: Download the .py file to the host
1880 and use its host pathname.
1881 * gdb.python/py-evsignal.exp: Likewise.
1882 * gdb.python/py-evthreads.exp: Likewise.
1883 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
1884 pathname syntax.
1885 * gdb.python/py-framefilter.exp: Download the .py file to the right
1886 place on the host. Match Windows pathname syntax.
1887 * gdb.python/py-mi-var-info-path-expression.exp: Download the
1888 .py file to the host and use its host pathname.
1889 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
1890 * gdb.python/py-objfile.exp: Expect a host pathname, not a
1891 build pathname. Skip symlink test on Windows host. Add missing
1892 newline at end of file.
1893 * gdb.python/py-pp-maint.exp: Download the .py file to the host
1894 and use its host pathname.
1895 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
1896 * gdb.python/py-section-script.exp: Use host location of binfile
1897 on safe-path. Use correct path separator on Windows host.
1898 Reorder alternatives in gdb_test_multiple to prevent matching
1899 the wrong alternative on success.
1900 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
1901
ca2589f3
PP
19022019-08-12 Patrick Palka <patrick@parcs.ath.cx>
1903
1904 * gdb.gdb/selftest.exp (test_with_self): Update test to now
1905 expect the GDB inferior to no longer immediately stop after
1906 being resumed with "signal SIGINT".
1907
020a839d
SL
19082019-08-09 Sandra Loosemore <sandra@codesourcery.com>
1909
1910 * gdb.linespec/break-ask.exp: Generalize regexps to match
1911 Windows pathnames too.
1912
128d6509
TV
19132019-08-08 Tom de Vries <tdevries@suse.de>
1914
1915 PR testsuite/24862
1916 * lib/tuiterm.exp (_accept): Fix CSI regexp.
1917
590042fc
PW
19182019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1919
1920 * gdb.base/style.exp: Update tests for help doc new invariants.
1921 * gdb.base/help.exp: Likewise.
1922
046bebe1
TT
19232019-08-06 Tom Tromey <tom@tromey.com>
1924
1925 * gdb.base/style.exp: Add disassemble test.
1926 * gdb.base/style.c (some_called_function): New function.
1927 (main): Use it.
1928
0b27c27d
CB
19292019-08-05 Christian Biesinger <cbiesinger@google.com>
1930
1931 * gdb.python/py-block.exp: Test dictionary access on blocks.
1932
580f1034
SM
19332019-08-05 Simon Marchi <simon.marchi@efficios.com>
1934
1935 PR gdb/24863
1936 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
1937 -list-thread-groups --available test when running under
1938 check-read1.
1939
d86bd7cb
TV
19402019-08-05 Tom de Vries <tdevries@suse.de>
1941
1942 PR testsuite/24863
1943 * lib/gdb.exp (with_read1_timeout_factor): New proc.
1944 * gdb.base/help.exp: Use with_read1_timeout_factor.
1945 * gdb.base/info-macros.exp: Same.
1946 * gdb.cp/nested-types.exp: Same.
1947
a80cf5d8
TV
19482019-08-05 Tom de Vries <tdevries@suse.de>
1949
1950 * lib/gdb.exp (version_at_least): Factor out of ...
1951 (tcl_version_at_least): ... here.
1952 (gdb_compile): Fail if pie results in non-PIE executable.
1953 (readelf_version, readelf_prints_pie): New proc.
1954 (exec_is_pie): Return -1 if unknown.
1955
d0962838
TV
19562019-08-05 Tom de Vries <tdevries@suse.de>
1957
1958 * lib/gdb.exp (tcl_version_at_least): Fix typo.
1959
2252ff3d
SL
19602019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1961
1962 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
1963
26655f53
SL
19642019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1965
1966 * lib/completion-support.exp (test_gdb_complete_none): Skip
1967 tab completion tests if no readline support.
1968 (test_gdb_complete_unique_re): Likewise.
1969 (test_gdb_complete_multiple): Likewise.
1970
db4dc13e
PW
19712019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1972
1973 * gdb.base/info_sources.exp: New file.
1974 * gdb.base/info_sources.c: New file.
1975 * gdb.base/info_sources_base.c: New file.
1976
0eba165a
PFC
19772019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1978
1979 * gdb.base/batch-exit-status.exp: Call test_exit_status with
1980 prefix argument.
1981 (test_exit_status): Add prefix argument.
1982
59bd512b
TV
19832019-08-01 Tom de Vries <tdevries@suse.de>
1984
1985 PR testsuite/24863
1986 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
1987 calling exp_continue for new thread and thread exited messages.
1988
2a3ad588
TV
19892019-08-01 Tom de Vries <tdevries@suse.de>
1990
1991 PR testsuite/24863
1992 * gdb.base/structs.exp: Fix check-read1 timeout using
1993 gdb_test_sequence.
1994 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
1995
117eb594
TV
19962019-08-01 Tom de Vries <tdevries@suse.de>
1997
1998 PR testsuite/24863
1999 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
2000 line.
2001
ed591340
TV
20022019-08-01 Tom de Vries <tdevries@suse.de>
2003
2004 PR testsuite/24863
2005 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
2006
aa3b6533
TT
20072019-07-30 Tom Tromey <tromey@adacore.com>
2008
2009 * gdb.ada/display_nested.exp: New file.
2010 * gdb.ada/display_nested/foo.adb: New file.
2011 * gdb.ada/display_nested/pack.adb: New file.
2012 * gdb.ada/display_nested/pack.ads: New file.
2013
2906593f
CB
20142019-07-30 Christian Biesinger <cbiesinger@google.com>
2015
2016 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
2017 namespace.
2018 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
2019
0f575925
TV
20202019-07-30 Tom de Vries <tdevries@suse.de>
2021
2022 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
2023 instead.
2024
b13057d9
TV
20252019-07-30 Tom de Vries <tdevries@suse.de>
2026
2027 PR testsuite/24834
2028 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
2029 (exec_is_pie): New proc.
2030
5c4dde85
CB
20312019-07-29 Christian Biesinger <cbiesinger@google.com>
2032
2033 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
2034
c620ed88
CB
20352019-07-29 Christian Biesinger <cbiesinger@google.com>
2036
2037 * gdb.python/py-objfile.c: Add global and static vars.
2038 * gdb.python/py-objfile.exp: Test new functions Objfile.
2039 lookup_global_symbol and lookup_static_symbol.
2040
3d235706
TT
20412019-07-29 Tom Tromey <tom@tromey.com>
2042
2043 * lib/tuiterm.exp (Term::_csi_@): New proc.
2044 (Term::_csi_X): Don't move cursor.
2045
c7e4c0a6
PW
20462019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2047
2048 * gdb.base/options.exp: Update backtrace - completion to
2049 new option -frame-info.
2050 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
2051 Test new 'set print frame-info'. Test backtrace -frame-info
2052 overriding 'set print frame-info'.
2053 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
2054 Test new 'set print frame-info'.
2055 Verify consistency of backtrace with and without filters, with and
2056 without -no-filters.
2057 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
2058 default.
2059
de28a3b7
TV
20602019-07-29 Tom de Vries <tdevries@suse.de>
2061
2062 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
2063 no arguments".
2064
507dd60e
TV
20652019-07-29 Tom de Vries <tdevries@suse.de>
2066
2067 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
2068 is a substring of the first for "complete non-unique file name".
2069
5beafce9
TV
20702019-07-29 Tom de Vries <tdevries@suse.de>
2071
2072 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
2073 with ".*".
2074
2d274232
TV
20752019-07-29 Tom de Vries <tdevries@suse.de>
2076
2077 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
2078 Pass prompt_regexp parameter to gdb_test_multiple calls.
2079
9197cd8b
TV
20802019-07-29 Tom de Vries <tdevries@suse.de>
2081
2082 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
2083 print registers" regexps.
2084
b528dae0
TV
20852019-07-29 Tom de Vries <tdevries@suse.de>
2086
2087 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
2088
d17725d7
TV
20892019-07-29 Tom de Vries <tdevries@suse.de>
2090
2091 PR gdb/24855
2092 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
2093 (skip_python_tests_prompt): Add prompt_regexp argument to
2094 gdb_test_multiple calls.
2095
52b75bf1
TT
20962019-07-27 Tom Tromey <tom@tromey.com>
2097
2098 * gdb.tui/main.exp: New file.
2099
2b1d00c2
TT
21002019-07-27 Tom Tromey <tom@tromey.com>
2101
2102 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
2103 optional.
2104 * gdb.tui/empty.exp: New file.
2105
ded631d5
TT
21062019-07-27 Tom Tromey <tom@tromey.com>
2107
2108 * lib/tuiterm.exp (spawn): New proc.
2109 (Term::resize): New proc.
2110 * gdb.tui/resize.exp: New file.
2111
58ac439d
TT
21122019-07-27 Tom Tromey <tom@tromey.com>
2113
2114 * gdb.tui/list.exp: New file.
2115
fe1f56ee
TT
21162019-07-27 Tom Tromey <tom@tromey.com>
2117
2118 * gdb.tui/regs.exp: New file.
2119
f790b310
TT
21202019-07-27 Tom Tromey <tom@tromey.com>
2121
2122 * gdb.tui/basic.exp: Add "layout split" test.
2123
d95fc6ee
TT
21242019-07-27 Tom Tromey <tom@tromey.com>
2125
2126 * gdb.tui/basic.exp: Add "layout asm" test.
2127
c3786b3a
TT
21282019-07-27 Tom Tromey <tom@tromey.com>
2129
2130 * lib/tuiterm.exp: New file.
2131 * gdb.tui/basic.exp: New file.
2132
98a617f8
KB
21332019-07-27 Kevin Buettner <kevinb@redhat.com>
2134
2135 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
2136 Enable tests associated with this flag. Adjust regex
2137 referencing "foo_low" to now refer to "foo_cold" instead.
2138
5c076da4
KB
21392019-07-27 Kevin Buettner <kevinb@redhat.com>
2140
2141 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
2142 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
2143 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
2144 foo_cold. Revise comments to match.
2145 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
2146 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
2147 were wrapped into this proc; Call do_test in loop from outermost
2148 level.
2149 (foo_low): Rename all occurrences to "foo_cold".
2150 (backtrace from baz): New test.
2151 (x2/i foo_cold): New test.
2152 (info line *foo_cold): New test.
2153
1512d3b7
TV
21542019-07-26 Tom de Vries <tdevries@suse.de>
2155
2156 * gdb.arch/i386-pkru.exp: Fix unterminated string.
2157
297989a1
TV
21582019-07-25 Tom de Vries <tdevries@suse.de>
2159
2160 PR testsuite/24830
2161 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
2162 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
2163 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
2164 (skip_libstdcxx_probe_tests): ... here.
2165 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
2166
b3b965fb
TV
21672019-07-24 Tom de Vries <tdevries@suse.de>
2168
2169 PR testsuite/24807
2170 * gdb.objc/basicclass.m: Include stdio.h.
2171 * gdb.objc/nondebug.m: Same.
2172 * gdb.objc/objcdecode.m: Same.
2173
4625b4d0
TV
21742019-07-24 Tom de Vries <tdevries@suse.de>
2175
2176 PR testsuite/24612
2177 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
2178 additional_flags.
2179
024a5840
TV
21802019-07-24 Tom de Vries <tdevries@suse.de>
2181
2182 PR testsuite/24831
2183 * gdb.multi/tids.exp: Update error messages for info threads.
2184
c76ddaa3
TV
21852019-07-24 Tom de Vries <tdevries@suse.de>
2186
2187 * gdb.base/info-types.exp: Allow info types to print info for more than
2188 one file.
2189
9a618ef6
TV
21902019-07-23 Tom de Vries <tdevries@suse.de>
2191
2192 PR testsuite/24842
2193 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
2194 gdb_spawn_with_cmdline_opts.
2195
40eadf04
SP
21962019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
2197
2198 * gdb.arch/arm-cmse-sgstubs.c: New test.
2199 * gdb.arch/arm-cmse-sgstubs.exp: New file.
2200
5ba29434
TV
22012019-07-23 Tom de Vries <tdevries@suse.de>
2202
2203 PR testsuite/24711
2204 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
2205 issuing next command.
2206
a8e9d247
AB
22072019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
2208
2209 * gdb.ada/info_auto_lang.exp: Update expected results.
2210 * gdb.base/info-types.c: Add additional types to check.
2211 * gdb.base/info-types.exp: Update expected results.
2212
eb86c5e2
AB
22132019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
2214
2215 * gdb.base/info-types.c: New file.
2216 * gdb.base/info-types.exp: New file.
2217
01e175fe
AB
22182019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
2219
2220 * gdb.arch/riscv-bp-infcall.c: New file.
2221 * gdb.arch/riscv-bp-infcall.exp: New file.
2222
6b78c3f8
AB
22232019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
2224
2225 PR breakpoints/24541
2226 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
2227
da738167
TV
22282019-07-14 Tom de Vries <tdevries@suse.de>
2229
2230 PR testsuite/24760
2231 * gdb.objc/basicclass.exp: Fix unterminated string.
2232
0d4e84ed
AB
22332019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
2234 Andrew Burgess <andrew.burgess@embecosm.com>
2235
2236 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
2237 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
2238 negative bounds.
2239 * gdb.fortran/vla-value.exp: Print elements of an array with
2240 negative bounds.
2241 * gdb.fortran/vla.f90: Setup an array with negative bounds for
2242 testing.
2243
021d8588
AB
22442019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
2245
2246 * gdb.base/options.exp (expect_string): Dequote strings in
2247 results.
2248 (test-string): Test strings with different quoting and reindent.
2249
f06f1252
TT
22502019-07-10 Tom Tromey <tromey@adacore.com>
2251
2252 * gdb.ada/mi_ex_cond.exp: Update expected results.
2253 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
2254 * gdb.ada/mi_catch_ex.exp: Update expected results.
2255 * gdb.ada/mi_catch_assert.exp: Update expected results.
2256 * gdb.ada/catch_ex.exp (catch_exception_info)
2257 (catch_exception_entry, catch_assert_entry)
2258 (catch_unhandled_entry): Update.
2259 * gdb.ada/catch_assert_if.exp: Update expected results.
2260
b863685d
RB
22612019-07-10 Richard Bunt <richard.bunt@arm.com>
2262 Stephen Roberts <stephen.roberts@arm.com>
2263
2264 * gdb.base/define.exp: Restore original prompt.
2265
cb1e4e32
PA
22662019-07-09 Pedro Alves <palves@redhat.com>
2267
2268 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
2269 breakpoints" output.
2270 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
2271 * gdb.python/py-breakpoint.exp: No longer expect that "catch
2272 throw" creates breakpoint.
2273 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
2274 'type="catchpoint"'.
2275
b58a68fe
PA
22762019-07-09 Pedro Alves <palves@redhat.com>
2277
2278 PR c++/15468
2279 * gdb.cp/except-multi-location-lib.cc: New.
2280 * gdb.cp/except-multi-location-main.cc: New.
2281 * gdb.cp/except-multi-location.exp: New.
2282
0826779b
PW
22832019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
2284
2285 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
2286 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
2287 argument and update callers.
2288
5b0e2db4
AB
22892019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2290
2291 * gdb.arch/amd64-break-on-asm-line.S: New file.
2292 * gdb.arch/amd64-break-on-asm-line.exp: New file.
2293
1f6f6e21
PW
22942019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2295
2296 * gdb.base/printcmds.exp: Test printing C string and
2297 C wide string convenience vars without transiting via the inferior.
2298 Also make test names unique.
2299
ea142fbf
AH
23002019-07-08 Alan Hayward <alan.hayward@arm.com>
2301
5862c886 2302 PR breakpoints/25011
ea142fbf
AH
2303 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
2304
213fd9fa
PA
23052019-07-04 Pedro Alves <palves@redhat.com>
2306
2307 * lib/gdb.exp (foreach_with_prefix): Don't return early if
2308 body returned ok(0), break(3) or continue(4).
2309 * gdb.testsuite/foreach_with_prefix.exp: New file.
2310
2b40fda7
AH
23112019-07-04 Alan Hayward <alan.hayward@arm.com>
2312
2313 * gdb.server/unittest.exp: Allow 0 unit tests to run.
2314
a26c8de0
PA
23152019-07-03 Pedro Alves <palves@redhat.com>
2316
2317 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
2318 "return -code".
2319
5f4ba3e7
PA
23202019-07-03 Pedro Alves <palves@redhat.com>
2321
2322 PR cli/24732
2323 * gdb.base/shell.exp: Load completion-support.exp.
2324 Adjust expected error output. Add completion tests.
2325
a994424f
PA
23262019-07-03 Pedro Alves <palves@redhat.com>
2327
2328 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
2329 string_to_regexp.
2330
3d9be6f5
PA
23312019-07-03 Pedro Alves <palves@redhat.com>
2332
2333 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
2334 (expect_integer): Adjust to expect "-string".
2335 (expect_string): New.
2336 (all_options): Expect "-string".
2337 (test-flag, test-boolean): Adjust to expect "-string".
2338 (test-string): New proc.
2339 (top level): Call it.
2340
41fc454c
PA
23412019-07-03 Pedro Alves <palves@redhat.com>
2342
2343 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
2344 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
2345 the expected output in the success.
2346
b2b2a215
PA
23472019-07-03 Pedro Alves <palves@redhat.com>
2348
2349 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
2350 Split one gdb_test_multiple call in two to avoid a race.
2351
fdbc9870
PA
23522019-07-03 Pedro Alves <palves@redhat.com>
2353
2354 * gdb.base/with.c: New file.
2355 * gdb.base/with.exp: New file.
2356
c6ac8931
PA
23572019-07-03 Pedro Alves <palves@redhat.com>
2358
2359 * gdb.base/settings.exp: Replace all references to "maint
2360 test-settings set" with references to "maint set test-settings",
2361 and all references to "maint test-settings show" with references
2362 to "maint show test-settings".
2363
970f9d09
PA
23642019-07-03 Pedro Alves <palves@redhat.com>
2365
2366 * gdb.base/settings.exp (test-string): Adjust expected out when
2367 testing "maint test-settings show filename"
2368
54d66006
PA
23692019-07-02 Pedro Alves <palves@redhat.com>
2370
2371 * gdb.base/options.exp (test-info-threads): New procedure.
2372 (top level): Call it.
2373
10d06d82
TT
23742019-06-28 Tom Tromey <tromey@adacore.com>
2375
2376 * gdb.dwarf2/ada-linkage-name.c: New file.
2377 * gdb.dwarf2/ada-linkage-name.exp: New file.
2378
3d507ff2
TT
23792019-06-27 Tom Tromey <tromey@adacore.com>
2380
d039f014 2381 PR c++/20020:
3d507ff2
TT
2382 * gdb.cp/constexpr-field.exp: Use setup_xfail.
2383
8af58ffe
TV
23842019-06-26 Tom de Vries <tdevries@suse.de>
2385
2386 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
2387
22e21752
TV
23882019-06-26 Tom de Vries <tdevries@suse.de>
2389
2390 * gdb.base/index-cache.exp: Add back missing debug option.
2391
b65b566c
PW
23922019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2393
2394 * gdb.base/alias.exp: Test non matching/non existing prefixes.
2395
5c2c8c69
TV
23962019-06-25 Tom de Vries <tdevries@suse.de>
2397
2398 PR testsuite/24727
2399 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
2400
164e3873
TV
24012019-06-24 Tom de Vries <tdevries@suse.de>
2402
2403 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
2404
824eacee
TV
24052019-06-24 Tom de Vries <tdevries@suse.de>
2406
2407 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
2408 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
2409 * gdb.trace/unavailable-dwarf-piece.exp: Same.
2410
385b97d3
TV
24112019-06-24 Tom de Vries <tdevries@suse.de>
2412
2413 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
2414
c596f180
TV
24152019-06-21 Tom de Vries <tdevries@suse.de>
2416
2417 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
2418
b13a7d03
TV
24192019-06-21 Tom de Vries <tdevries@suse.de>
2420
2421 PR testsuite/24518
2422 PR ada/24713
2423 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
2424 index.
2425
899277ae
TT
24262019-06-19 Tom Tromey <tromey@adacore.com>
2427
2428 * gdb.ada/length_cond.exp: Add intro comment.
2429
680e1bee
TT
24302019-06-19 Tom Tromey <tromey@adacore.com>
2431
2432 * gdb.ada/length_cond.exp: New file.
2433 * gdb.ada/length_cond/length_cond.adb: New file.
2434 * gdb.ada/length_cond/pck.adb: New file.
2435 * gdb.ada/length_cond/pck.ads: New file.
2436
0ed4690a
TV
24372019-06-18 Tom de Vries <tdevries@suse.de>
2438
2439 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
2440
d20ed5fd
TT
24412019-06-18 Tom Tromey <tromey@adacore.com>
2442
2443 * gdb.base/list0.h: Add comment explaining control character.
2444
86e04673
TV
24452019-06-18 Tom de Vries <tdevries@suse.de>
2446
2447 * boards/fission.exp: Break up long debug_flags line.
2448
c4973306
SM
24492019-06-16 Tom de Vries <tdevries@suse.de>
2450
2451 PR gdb/24445
2452 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
2453 generated index.
2454
93cb9841
AB
24552019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
2456
2457 PR gdb/24686
2458 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
2459 improve detection of bug gdb/24541.
2460
399aaebd
SM
24612019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
2462
2463 PR gdb/24669
2464 * gdb.base/index-cache.exp (uses_readnow,
2465 expecting_index_cache_use): Define global variable.
2466 (test_cache_enabled_miss, test_cache_enabled_hit): Use
2467 expecting_index_cache_use.
2468
584a927c
AB
24692019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
2470 Andrew Burgess <andrew.burgess@embecosm.com>
2471
2472 * gdb.fortran/pointers.f90: New file.
2473 * gdb.fortran/print_type.exp: New file.
2474 * gdb.fortran/vla-ptype.exp: Adapt expected results.
2475 * gdb.fortran/vla-type.exp: Likewise.
2476 * gdb.fortran/vla-value.exp: Likewise.
2477 * gdb.mi/mi-vla-fortran.exp: Likewise.
2478
30056ea0
AB
24792019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2480
2481 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
2482 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
2483 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
2484 as a stop reason.
2485
ec8e2b6d
AB
24862019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2487
2488 * gdb.base/annota1.exp: Update expected results.
2489 * gdb.cp/annota2.exp: Likewise.
2490 * gdb.cp/annota3.exp: Likewise.
2491
09e4c4e1
AB
24922019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2493
2494 * gdb.base/style-logging.exp: Remove path from test name.
2495
0735b091
TT
24962019-06-14 Tom Tromey <tromey@adacore.com>
2497
2498 PR gdb/24502:
2499 * gdb.base/style-logging.exp: New file.
2500
f5686554
TT
25012019-06-14 Tom Tromey <tromey@adacore.com>
2502
2503 * gdb.base/symfile-warn.exp: New file.
2504 * gdb.base/symfile-warn.c: New file.
2505
a0c1ffed
TT
25062019-06-14 Tom Tromey <tromey@adacore.com>
2507
2508 * gdb.base/annotate-symlink.exp: New file.
2509
f411722c
TT
25102019-06-14 Tom Tromey <tromey@adacore.com>
2511
2512 * gdb.ada/set_wstr.exp: Add reassignment test.
2513
4268ec18
TT
25142019-06-14 Tom Tromey <tromey@adacore.com>
2515
2516 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
2517 'unchecked_access and 'unrestricted_access as well.
2518
9a9e394b
TT
25192019-06-14 Tom Tromey <tromey@adacore.com>
2520
2521 PR ada/24539:
2522 * gdb.ada/vla.exp: Update tests.
2523 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
2524 pragma.
2525
4c048731
PA
25262019-06-13 Pedro Alves <palves@redhat.com>
2527
2528 * gdb.base/settings.exp (test-integer): Test junk after
2529 "unlimited".
2530
6665660a
PA
25312019-06-13 Pedro Alves <palves@redhat.com>
2532
2533 * gdb.base/options.exp (test-thread-apply): New.
2534 (top level): Call it.
2535
5d707134
PA
25362019-06-13 Pedro Alves <palves@redhat.com>
2537
2538 * gdb.base/options.exp (test-frame-apply): New.
2539 (top level): Test print commands with different "frame apply"
2540 prefixes.
2541
e2a689da
PA
25422019-06-13 Pedro Alves <palves@redhat.com>
2543
e79be6e5 2544 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
2545 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
2546 'max_completions' parameter and handle it.
2547 (test_gdb_completion_offers_commands): New.
2548
90a1ef87
PA
25492019-06-13 Pedro Alves <palves@redhat.com>
2550
2551 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
2552
d4c16835
PA
25532019-06-13 Pedro Alves <palves@redhat.com>
2554
2555 * gdb.base/options.exp (test-backtrace): New.
2556 (top level): Call it.
2557
2daf894e
PA
25582019-06-13 Pedro Alves <palves@redhat.com>
2559
2560 * gdb.guile/scm-frame-args.exp: Use "set print
2561 raw-frame-arguments" instead of "set print raw frame-arguments".
2562 * gdb.python/py-frame-args.exp: Likewise.
2563
e6ed716c
PA
25642019-06-13 Pedro Alves <palves@redhat.com>
2565
2566 * gdb.compile/compile.exp: Adjust expected output to option
2567 processing changes.
2568
7d8062de
PA
25692019-06-13 Pedro Alves <palves@redhat.com>
2570
2571 * gdb.base/options.exp: Build executable.
2572 (test-print): New procedure.
2573 (top level): Call it, once for "print" and another for "compile
2574 print".
2575
9d0faba9
PA
25762019-06-13 Pedro Alves <palves@redhat.com>
2577
2578 * gdb.base/options.c: New file.
2579 * gdb.base/options.exp: New file.
2580
dee7b4c8
PA
25812019-06-13 Pedro Alves <palves@redhat.com>
2582
2583 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
2584 that "o" is ambiguous.
2585
dca0f6c0
PA
25862019-06-13 Pedro Alves <palves@redhat.com>
2587
2588 * gdb.base/settings.c: New file.
2589 * gdb.base/settings.exp: New file.
2590
ccf46844
PA
25912019-06-13 Pedro Alves <palves@redhat.com>
2592
2593 * gdb.base/completion.exp: Fix comment typo.
2594
b9a3f842
PA
25952019-06-13 Pedro Alves <palves@redhat.com>
2596
2597 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
2598 foo --1" test.
2599
d106773e
PA
26002019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
2601
2602 * gdb.fortran/block-data.f: New.
2603 * gdb.fortran/block-data.exp: New.
2604
fea82da0
TV
26052019-06-11 Tom de Vries <tdevries@suse.de>
2606
2607 PR testsuite/24521
2608 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
2609 message.
2610
8c2e74f1
TV
26112019-06-11 Tom de Vries <tdevries@suse.de>
2612
2613 PR testsuite/24521
2614 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
2615
b49851c8
TV
26162019-06-11 Tom de Vries <tdevries@suse.de>
2617
2618 * boards/readnow.exp: New file.
2619
a7067863
AB
26202019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
2621
2622 * gdb.fortran/vla-sizeof.exp: Update expected results.
2623
1a3da2cd
AB
26242019-06-06 Amos Bird <amosbird@gmail.com>
2625
2626 * gdb.base/annota1.exp (thread_switch): Add test for
2627 thread-exited annotation.
2628
3847a7bf
TT
26292019-06-06 Tom Tromey <tromey@adacore.com>
2630
2631 * gdb.base/maint.exp: Expect command started/finished output.
2632
0088ba59
AB
26332019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
2634
2635 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
2636 comment.
2637 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
2638
312617a3
AB
26392019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
2640
2641 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
2642 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
2643 * gdb.arch/riscv-unwind-long-insn.c: New file.
2644 * gdb.arch/riscv-unwind-long-insn.exp: New file.
2645
e1f2e1a2
CB
26462019-06-04 Christian Biesinger <cbiesinger@google.com>
2647
d3238f7d 2648 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 2649
206584bd
PW
26502019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2651
2652 * lib/gdb.exp (help_list_trailer): New regexp variable
2653 factorizing the help trailer message.
2654 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
2655 arg to allow to better factorize various tests.
2656 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
2657 (test_prefix_command_help): Use help_list_trailer.
2658 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
2659 * gdb.guile/scm-cmd.exp: Likewise.
2660 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
2661 * gdb.base/help.exp: Use test_user_defined_class_help.
2662 * gdb.base/style.exp: Add tests for styling of help and apropos.
2663 * lib/gdb-utils.exp (style): Add title and highlight styles.
2664
708dc93e
PW
26652019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2666
2667 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
2668 $_shell_exitsignal.
2669 * gdb.base/default.exp: Update for new convenience variables.
2670
f49055a5
TT
26712019-05-29 Tom Tromey <tromey@adacore.com>
2672
2673 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
2674 to "break complete ada" test case's regexp.
2675
4330d61d
TT
26762019-05-29 Tom Tromey <tromey@adacore.com>
2677
2678 PR c++/20020:
2679 * gdb.cp/constexpr-field.exp: New file.
2680 * gdb.cp/constexpr-field.cc: New file.
2681
000439d5
TT
26822019-05-29 Tom Tromey <tromey@adacore.com>
2683
2684 * gdb.base/finish.exp (finish_no_print): New proc.
2685 (finish_tests): Call it.
2686
5a01c34c
TV
26872019-05-24 Tom de Vries <tdevries@suse.de>
2688
2689 * gdb.dwarf2/gdb-add-index.exp: New file.
2690
18125b16
TT
26912019-05-22 Tom Tromey <tromey@adacore.com>
2692
2693 * gdb.base/info-shared.exp (check_info_shared): Use "style".
2694 * gdb.base/style.exp: Use "style".
2695 * lib/gdb-utils.exp (style): New proc.
2696
af1a8d03
TV
26972019-05-22 Tom de Vries <tdevries@suse.de>
2698
2699 * gdb.base/align.exp: Require c++11.
2700
e7fe496b
TV
27012019-05-22 Tom de Vries <tdevries@suse.de>
2702
2703 PR testsuite/24586
2704 * gdb.python/py-mi-var-info-path-expression.exp: Call
2705 mi_skip_python_tests to check if python is supported.
2706
8fca4da0
AH
27072019-05-22 Alan Hayward <alan.hayward@arm.com>
2708
2709 * gdb.arch/aarch64-pauth.c: New test.
2710 * gdb.arch/aarch64-pauth.exp: New file.
2711
b7060614
AH
27122019-05-22 Alan Hayward <alan.hayward@arm.com>
2713
2714 * README (Re-running Tests Outside The Testsuite): New section.
2715
669d0468
TV
27162019-05-21 Tom de Vries <tdevries@suse.de>
2717
2718 * gdb.arch/amd64-eval.exp: Require c++11.
2719 * gdb.base/max-depth.exp: Same.
2720 * gdb.compile/compile-cplus-array-decay.exp: Same.
2721 * gdb.cp/meth-typedefs.exp: Same.
2722 * gdb.cp/subtypes.exp: Same.
2723 * gdb.cp/temargs.exp: Same.
2724
ce3ebcaa
AH
27252019-05-21 Alan Hayward <alan.hayward@arm.com>
2726
2727 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
2728
34d11c68
AB
27292019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2730
2731 PR gdb/18644
2732 * gdb.fortran/complex.exp: Remove setup_kfail calls.
2733 * gdb.fortran/printing-types.exp: Add new test.
2734 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
2735 testing.
2736 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
2737 setup_kfail call.
2738
87781e84
AH
27392019-05-17 Alan Hayward <alan.hayward@arm.com>
2740
2741 * README (Running the Testsuite): Change example.
2742 (Testsuite Parameters): Remove TRANSCRIPT.
2743 * lib/gdb.exp: Remove TRANSCRIPT check.
2744
b420b89e
AH
27452019-05-17 Alan Hayward <alan.hayward@arm.com>
2746
2747 * README (Testsuite Parameters): Add replay logging to
2748 GDBSERVER_DEBUG.
2749 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
2750 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
2751 as a comma separated list.
2752 (gdb_debug_init): Override procedure.
2753
408e9b8b
AH
27542019-05-17 Alan Hayward <alan.hayward@arm.com>
2755
2756 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
2757 (gdb_write_cmd_file): New procedure.
2758 * lib/gdbserver-support.exp (gdbserver_start): Call
2759 gdbserver_write_cmd_file.
2760 (gdbserver_write_cmd_file): New procedure.
2761
f9e2e39d
AH
27622019-05-17 Alan Hayward <alan.hayward@arm.com>
2763
2764 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
2765 (delete_breakpoints): Likewise.
2766 (gdb_run_cmd): Likewise.
2767 (gdb_start_cmd): Likewise.
2768 (gdb_starti_cmd): Likewise.
2769 (gdb_internal_error_resync): Likewise.
2770 (gdb_test_multiple): Likewise.
2771 (gdb_reinitialize_dir): Likewise.
2772 (default_gdb_exit): Likewise.
2773 (gdb_file_cmd): Mark kill as optional.
2774 (default_gdb_start): Call gdb_stdin_log_init.
2775 (send_gdb): Call gdb_stdin_log_write.
2776 (rerun_to_main): Mark Y as an answer.
2777 (gdb_stdin_log_init): New function.
2778 (gdb_stdin_log_write): Likewise.
2779
81f47ac2
AH
27802019-05-17 Alan Hayward <alan.hayward@arm.com>
2781
2782 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
2783 * gdb.base/debug-expr.exp: Likewise.
2784 * gdb.base/foll-fork.exp: Likewise.
2785 * gdb.base/foll-vfork.exp: Likewise.
2786 * gdb.base/fork-print-inferior-events.exp: Likewise.
2787 * gdb.base/gdb-sigterm.exp: Likewise.
2788 * gdb.base/gdbinit-history.exp: Likewise.
2789 * gdb.base/osabi.exp: Likewise.
2790 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
2791 * gdb.base/ui-redirect.exp: Likewise.
2792 * gdb.gdb/unittest.exp: Likewise.
2793 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
2794 * gdb.mi/mi-watch.exp: Likewise.
2795 * gdb.mi/new-ui-mi-sync.exp: Likewise.
2796 * gdb.mi/user-selected-context-sync.exp: Likewise.
2797 * gdb.python/python.exp: Disable debug test when debugging.
2798 * gdb.threads/check-libthread-db.exp: Disable when debugging.
2799 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2800 Likewise.
2801 * gdb.threads/stepi-random-signal.exp: Likewise.
2802
29b52314
AH
28032019-05-17 Alan Hayward <alan.hayward@arm.com>
2804
2805 * Makefile.in: Pass through GDB_DEBUG.
2806 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
2807 (gdb,debug): Add board setting.
2808 * lib/gdb.exp (default_gdb_start): Start debugging.
2809 (gdb_debug_enabled): New procedure.
2810 (gdb_debug_init): Likewise.
29b52314
AH
2811
28122019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 2813
29b52314
AH
2814 * Makefile.in: Pass through GDB_DEBUG.
2815 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
2816 (gdb,debug): Add board setting.
2817 * lib/gdb.exp (default_gdb_start): Start debugging.
2818 (gdb_debug_enabled): New procedure.
2819 (gdb_debug_init): Likewise.
29b52314 2820
ca1285d1
AH
28212019-05-17 Alan Hayward <alan.hayward@arm.com>
2822
2823 * gdb.base/ui-redirect.exp: Add debug redirect tests.
2824
f3a09c80
AH
28252019-05-17 Alan Hayward <alan.hayward@arm.com>
2826
2827 * gdb.base/ui-redirect.exp: Test redirection.
2828
26648588
JV
28292019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
2830
2831 * gdb.mi/mi-complete.exp: New file.
2832 * gdb.mi/mi-complete.cc: Likewise.
2833
14237686
AB
28342019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
2835
2836 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
2837 indexed and sliced arrays, and pointers to arrays.
2838
e7bd7fba
TT
28392019-05-14 Tom Tromey <tromey@adacore.com>
2840
2841 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
2842 styling test.
2843
2764128d
TV
28442019-05-14 Tom de Vries <tdevries@suse.de>
2845
2846 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
2847 selection entry encoding.
2848
71bed2db
TT
28492019-05-10 Tom Tromey <tromey@adacore.com>
2850
2851 * gdb.ada/info_exc.exp: Add "complete" test.
2852
63b667ad
TV
28532019-05-09 Tom de Vries <tdevries@suse.de>
2854
2855 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
2856 CU-relative.
2857
9cfd2b89
TV
28582019-05-09 Tom de Vries <tdevries@suse.de>
2859
2860 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
2861 CU-relative.
2862
2228ef77
XR
28632019-05-08 Joel Brobecker <brobecker@adacore.com>
2864
2865 * gdb.ada/frame_arg_lang.exp: New testcase.
2866 * gdb.ada/frame_arg_lang/bla.adb: New file.
2867 * gdb.ada/frame_arg_lang/pck.ads: New file.
2868 * gdb.ada/frame_arg_lang/pck.adb: New file.
2869 * gdb.ada/frame_arg_lang/foo.c: New file.
2870
80e55b13
TT
28712019-05-08 Tom Tromey <tromey@adacore.com>
2872
2873 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
2874
9d3421af
TT
28752019-05-08 Tom Tromey <tromey@adacore.com>
2876
2877 * gdb.base/ptype-offsets.exp: Update tests.
2878
844333e2
TT
28792019-05-08 Tom Tromey <tromey@adacore.com>
2880
2881 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
2882 cases.
2883 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
2884 "short".
2885
988915ee
TT
28862019-05-08 Tom Tromey <tromey@adacore.com>
2887
2888 * gdb.ada/vla.exp: New file.
2889 * gdb.ada/vla/vla.adb: New file.
2890
7bd55dac
TV
28912019-05-07 Tom de Vries <tdevries@suse.de>
2892
2893 * gdb.base/index-cache.exp (ls_host): Fix return statement.
2894
75f06e9d
TV
28952019-05-07 Tom de Vries <tdevries@suse.de>
2896
2897 PR testsuite/24522
2898 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
2899 section.
2900
77e7aaa4
TV
29012019-05-07 Tom de Vries <tdevries@suse.de>
2902
2903 PR testsuite/24522
2904 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
2905 .debug_aranges section.
2906
456ba0fa
TV
29072019-05-07 Tom de Vries <tdevries@suse.de>
2908
2909 PR testsuite/24159
2910 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
2911
5a56d6a6
TV
29122019-05-06 Tom de Vries <tdevries@suse.de>
2913
2914 * lib/gdb.exp (exec_has_index_section): New proc.
2915 * gdb.base/index-cache.exp: Handle case that binfile contains an index
2916 section.
2917
9d6d4be8
TV
29182019-05-04 Tom de Vries <tdevries@suse.de>
2919
2920 * boards/cc-with-debug-names.exp: New file.
2921
222a8d25
TT
29222019-05-03 Tom Tromey <tromey@adacore.com>
2923
2924 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
2925 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
2926 * gdb.ada/char_enum.exp: Add test.
2927
0fdfd794
TV
29282019-05-03 Tom de Vries <tdevries@suse.de>
2929
2930 * boards/cc-with-gdb-index.exp: New file.
2931
80062eb9
AB
29322019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
2933
2934 * gdb.rust/simple.exp: Add new test case.
2935 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
2936 (main): Initialise an instance of the new struct.
2937
4504bbde
TT
29382019-05-01 Tom Tromey <tromey@adacore.com>
2939
2940 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
2941 record.
2942 (NPR): New variable.
2943 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
2944 test.
2945
d48e62f4
TT
29462019-05-01 Tom Tromey <tromey@adacore.com>
2947
2948 * gdb.ada/packed_array_assign.exp: Add packed assignment
2949 regression test.
2950
f59f30f5
TV
29512019-05-01 Tom de Vries <tdevries@suse.de>
2952
2953 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
2954
b70bfc54
TV
29552019-05-01 Tom de Vries <tdevries@suse.de>
2956
2957 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
2958
15f18d14
AT
29592019-04-30 Ali Tamur <tamur@google.com>
2960
2961 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
2962
2ff0a947
TT
29632019-04-30 Tom Tromey <tromey@adacore.com>
2964
2965 * lib/ada.exp (find_ada_tool): New proc.
2966 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
2967 * gdb.ada/catch_ex_std.exp: New file.
2968 * gdb.ada/catch_ex_std/foo.adb: New file.
2969 * gdb.ada/catch_ex_std/some_package.adb: New file.
2970 * gdb.ada/catch_ex_std/some_package.ads: New file.
2971
a776957c
TT
29722019-04-30 Tom Tromey <tromey@adacore.com>
2973
2974 PR c++/24470:
2975 * gdb.cp/temargs.cc: Add test code from PR.
2976
bc68014d
AB
29772019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2978
2979 * gdb.fortran/vla-datatypes.exp: Update expected results.
2980 * gdb.fortran/vla-ptype.exp: Likewise.
2981 * gdb.fortran/vla-type.exp: Likewise.
2982 * gdb.fortran/vla-value.exp: Likewise.
2983
f1fdc960
AB
29842019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2985
2986 * gdb.fortran/ptr-indentation.exp: Update expected results.
2987 * gdb.fortran/ptype-on-functions.exp: Likewise.
2988 * gdb.fortran/vla-ptr-info.exp: Likewise.
2989 * gdb.fortran/vla-value.exp: Likewise.
2990
bf7a4de1
AB
29912019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2992
2993 * gdb.fortran/ptype-on-functions.exp: New file.
2994 * gdb.fortran/ptype-on-functions.f90: New file.
2995
bbe75b9d
AB
29962019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2997
2998 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
2999 case void string.
3000
1db455a7
AB
30012019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3002
3003 * gdb.fortran/complex.exp: Expand.
3004 * gdb.fortran/complex.f: Renamed to...
3005 * gdb.fortran/complex.f90: ...this, and extended to add more
3006 complex values.
3007
b6d03bb2
AB
30082019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3009
3010 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
3011 MODULO, CMPLX.
3012
2e62ab40
AB
30132019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
3014 Richard Bunt <richard.bunt@arm.com>
3015
3016 * gdb.base/max-depth.c: New file.
3017 * gdb.base/max-depth.exp: New file.
3018 * gdb.python/py-nested-maps.c: New file.
3019 * gdb.python/py-nested-maps.exp: New file.
3020 * gdb.python/py-nested-maps.py: New file.
3021 * gdb.python/py-format-string.exp (test_max_depth): New proc.
3022 (test_all_common): Call test_max_depth.
3023 * gdb.fortran/max-depth.exp: New file.
3024 * gdb.fortran/max-depth.f90: New file.
3025 * gdb.go/max-depth.exp: New file.
3026 * gdb.go/max-depth.go: New file.
3027 * gdb.modula2/max-depth.exp: New file.
3028 * gdb.modula2/max-depth.c: New file.
3029 * lib/gdb.exp (get_print_expr_at_depths): New proc.
3030
d2b584a5
TV
30312019-04-29 Tom de Vries <tdevries@suse.de>
3032
3033 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
3034
136afab8
PW
30352019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3036
3037 * gdb.base/callexit.exp: Test may-call-functions off.
3038
725cbb63
KS
30392019-04-25 Keith Seitz <keiths@redhat.com>
3040
3041 PR c++/24367
3042 * gdb.cp/meth-typedefs.cc (incomplete_struct)
3043 (another_incomplete_struct, test_incomplete): New definitions.
3044 (main): Use new definitions.
3045 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
3046 functions.
3047
701adfb0
PA
30482019-04-25 Ali Tamur <tamur@google.com>
3049
3050 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
3051
82433e3e
SDJ
30522019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
3053
3054 PR corefiles/11608
3055 PR corefiles/18187
3056 * gdb.base/coredump-filter-build-id.exp: New file.
3057
dd06d4d6
AH
30582019-04-25 Alan Hayward <alan.hayward@arm.com>
3059
e79be6e5
SM
3060 * Makefile.in: Pass through GDBSERVER_DEBUG.
3061 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
3062 (gdbserver,debug): Add board setting.
3063 * gdb.trace/tspeed.exp: Skip when debugging.
3064 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
3065 * lib/gdbserver-support.exp: Likewise
dd06d4d6 3066
1670072e
TT
30672019-04-24 Tom Tromey <tromey@adacore.com>
3068
3069 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
3070 Rust.
3071
a59240a4
TT
30722019-04-24 Tom Tromey <tromey@adacore.com>
3073
3074 * gdb.arch/amd64-eval.exp: Test bitfield return.
3075 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
3076 (class Foo) <return_bitfields>: New method.
3077 (main): Call it.
3078
b907456c
AB
30792019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
3080
3081 * gdb.cp/many-args.cc: New file.
3082 * gdb.cp/many-args.exp: New file.
3083
5c565afd
TV
30842019-04-23 Tom de Vries <tdevries@suse.de>
3085
3086 PR gdb/24433
3087 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
3088
ba22ff86
AH
30892019-04-23 Alan Hayward <alan.hayward@arm.com>
3090
3091 * gdb.trace/backtrace.exp: Use nopie flag.
3092 * gdb.trace/circ.exp: Likewise.
3093 * gdb.trace/collection.exp: Likewise.
3094 * gdb.trace/ftrace.exp: Likewise.
3095 * gdb.trace/mi-trace-unavailable.exp: Likewise.
3096 * gdb.trace/mi-traceframe-changed.exp: Likewise.
3097 * gdb.trace/qtro.exp: Likewise.
3098 * gdb.trace/read-memory.exp: Likewise.
3099 * gdb.trace/report.exp: Likewise.
3100 * gdb.trace/tfile.exp: Likewise.
3101 * gdb.trace/tfind.exp: Likewise.
3102 * gdb.trace/unavailable.exp: Likewise.
3103
7905fc35
PA
31042019-04-22 Pedro Alves <palves@redhat.com>
3105
3106 * gdb.base/solib-probes-nosharedlibrary.c,
3107 gdb.base/solib-probes-nosharedlibrary.exp: New files.
3108
8ecb59f8
TT
31092019-04-19 Tom Tromey <tromey@adacore.com>
3110
3111 * gdb.ada/ptype_union.c: New file.
3112 * gdb.ada/ptype_union.exp: New file.
3113
62160ec9
TT
31142019-04-19 Tom Tromey <tromey@adacore.com>
3115
3116 PR symtab/24423:
3117 * gdb.base/list0.h (foo): Add a control-l character.
3118
36cd4ba5
TV
31192019-04-18 Tom de Vries <tdevries@suse.de>
3120
3121 PR gdb/24433
3122 * boards/local-board.exp: Set sysroot to "".
3123
b73715df
TV
31242019-04-18 Tom de Vries <tdevries@suse.de>
3125 Pedro Alves <palves@redhat.com>
3126
3127 PR gdb/24454
3128 * gdb.threads/vfork-follow-child-exec.c: New file.
3129 * gdb.threads/vfork-follow-child-exec.exp: New file.
3130 * gdb.threads/vfork-follow-child-exit.c: New file.
3131 * gdb.threads/vfork-follow-child-exit.exp: New file.
3132
4aa866af
LS
31332019-04-15 Leszek Swirski <leszeks@google.com>
3134
3135 * gdb.arch/amd64-eval.cc: New file.
3136 * gdb.arch/amd64-eval.exp: New file.
3137
e5a1a79a
AH
31382019-04-11 Alan Hayward <alan.hayward@arm.com>
3139
3140 * gdb.server/sysroot.c: New test.
3141 * gdb.server/sysroot.exp: New file.
3142 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
3143 matching param.
3144
41077b66
AB
31452019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
3146
3147 * gdb.base/align.exp: Extend test to cover structures containing
3148 only static fields.
3149
c30391f8
TV
31502019-04-11 Tom de Vries <tdevries@suse.de>
3151
3152 * boards/cc-with-dwz-m.exp: New file.
3153 * boards/cc-with-dwz.exp: New file.
3154 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
3155
e242fd12
SM
31562019-04-09 Simon Marchi <simon.marchi@efficios.com>
3157
3158 * gdb.base/start-cpp.exp: New file.
3159 * gdb.base/start-cpp.cc: New file.
3160
2b0c8b01
KB
31612019-04-08 Kevin Buettner <kevinb@redhat.com>
3162
3163 * gdb.python/py-thrhandle.exp: Adjust tests to call
3164 thread_from_handle instead of thread_from_thread_handle.
3165
947210e5
KB
31662019-04-08 Kevin Buettner <kevinb@redhat.com>
3167
3168 * gdb.python/py-thrhandle.exp: Add tests for
3169 gdb.InferiorThread.handle.
3170
d7df6549
AB
31712019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
3172
3173 * gdb.python/py-function.exp: Check calling helper function from
3174 all languages.
3175 * lib/gdb.exp (gdb_supported_languages): New proc.
3176
8bdc1658
AB
31772019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
3178
3179 * gdb.base/complex-parts.c: New file.
3180 * gdb.base/complex-parts.exp: New file.
3181
05caa1d2
TT
31822019-04-01 Tom Tromey <tromey@adacore.com>
3183
3184 PR symtab/23331:
3185 * gdb.dwarf2/dw2-ranges-main.c: New file.
3186 * gdb.dwarf2/dw2-ranges-psym.c: New file.
3187 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
3188
7734102d
EZ
31892019-03-30 Simon Marchi <simark@simark.ca>
3190
3191 * gdb.base/default.exp: Add values for $_gdb_major and
3192 $_gdb_minor.
3193
188e1fa9
TT
31942019-03-29 Tom Tromey <tromey@adacore.com>
3195
3196 * gdb.base/help.exp: Tighten apropos regexp.
3197
2880242d
KS
31982019-03-29 Keith Seitz <keiths@redhat.com>
3199
3200 * gdb.fortran/array-bounds.exp: New file.
3201 * gdb.fortran/array-bounds.f90: New file.
3202
077cad8e
PW
32032019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3204
3205 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
3206
80047cfc
PW
32072019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3208
3209 * gdb.multi/hello.c (main): Increase alarm timer.
3210
f489207e
SL
32112019-03-28 Sandra Loosemore <sandra@codesourcery.com>
3212
3213 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
3214 factor when no hardware watchpoint support.
3215
c92df149
AH
32162019-03-28 Alan Hayward <alan.hayward@arm.com>
3217 Pedro Alves <palves@redhat.com>
3218
3219 * boards/local-board.exp: set sysroot to /.
3220
933aebfa
AH
32212019-03-27 Alan Hayward <alan.hayward@arm.com>
3222
3223 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
3224 in child.
3225
9f9aa852
AB
32262019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
3227
3228 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
3229 field.
3230 (make_container): Initialise new field.
3231 * gdb.python/py-prettyprint.exp: Add new tests.
3232 * gdb.python/py-prettyprint.py (class ContainerPrinter)
3233 <display_hint>: New method.
3234
3714a195
AB
32352019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
3236
3237 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
3238 gdb_continue_to_breakpoint more throughout this test.
3239 (run_lang_tests) Supply unique test names, and use
3240 gdb_test_no_output.
3241
18c77628
AB
32422019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
3243
3244 * gdb.base/finish-pretty.exp: Update expected results.
3245 * gdb.base/pretty-print.c: New file.
3246 * gdb.base/pretty-print.exp: New file.
3247
9a93502f
PA
32482019-03-25 Pedro Alves <palves@redhat.com>
3249
3250 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
3251 move comments outside list. Append '-i "" eof' section.
3252
968aa7ae
AH
32532019-03-22 Alan Hayward <alan.hayward@arm.com>
3254
34a7f2a4 3255 PR testsuite/25016
968aa7ae
AH
3256 * README: Add pie options.
3257 * gdb.base/break-interp.exp: Ensure pie is disabled.
3258 * gdb.base/dump.exp: Likewise.
3259 * lib/gdb.exp (gdb_compile): Add pie option.
3260
4c7d57e7
TT
32612019-03-19 Tom Tromey <tromey@adacore.com>
3262
3263 * gdb.mi/mi2-cli-display.c: New file.
3264 * gdb.mi/mi2-cli-display.exp: New file.
3265
bff8c71f
TT
32662019-03-18 Joel Brobecker <brobecker@adacore.com>
3267 Tom Tromey <tromey@adacore.com>
3268
3269 * gdb.ada/ptype_array/pck.adb: New file.
3270 * gdb.ada/ptype_array/pck.ads: New file.
3271 * gdb.ada/ptype_array/foo.adb: New file.
3272 * gdb.ada/ptype_array.exp: New file.
3273
d085f989
TT
32742019-03-14 Tom Tromey <tromey@adacore.com>
3275
3276 * gdb.base/style.exp: Add "set style sources" test.
3277
b4be1b06
SM
32782019-03-13 Simon Marchi <simon.marchi@ericsson.com>
3279
3280 * mi-breakpoint-location-ena-dis.exp: Rename to ...
3281 * mi-breakpoint-multiple-locations.exp: ... this.
3282 (make_breakpoints_pattern): New proc.
3283 (do_test): Add mi_version parameter, test -break-insert,
3284 -break-info and =breakpoint-created.
3285
7cde5fc2
AB
32862019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
3287
3288 * config/default.exp: Remove 'load_lib gdb.exp'.
3289 * config/monitor.exp: Likewise.
3290 * config/sid.exp: Likewise.
3291 * config/sim.exp: Likewise.
3292 * config/slite.exp: Likewise.
3293 * config/unix.exp: Likewise.
3294 * gdb.base/default.exp: Remove unhelpful comment.
3295
efbecbc1
AB
32962019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3297
3298 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
3299
0841c79a
AB
33002019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3301
3302 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
3303
4a270568
AB
33042019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3305
3306 * gdb.fortran/type-kinds.exp: Update expected results.
3307
067630bd
AB
33082019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3309
3310 * gdb.fortran/type-kinds.exp: Test new integer type kind.
3311
3be47f7a
AB
33122019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3313
3314 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
3315 function.
3316 (test_basic_parsing_of_type_kinds): Expand types tested.
3317 (test_parsing_invalid_type_kinds): New function.
3318
4d00f5d8
AB
33192019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3320
3321 * gdb.fortran/intrinsics.exp: New file.
3322 * gdb.fortran/intrinsics.f90: New file.
3323 * gdb.fortran/type-kinds.exp: New file.
3324
c8f91604
AB
33252019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3326
3327 * gdb.fortran/dot-ops.exp: New file.
3328
dd9f2c76
AB
33292019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3330
3331 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
3332 Check upper and lower case logical literals.
3333
84ec9724
AB
33342019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3335
3336 * gdb.fortran/types.exp (test_float_literal_types_accepted):
3337 Remove duplicate tests.
3338
c3734e09
AH
33392019-03-06 Alan Hayward <alan.hayward@arm.com>
3340
3341 * lib/gdb.exp (builtin_cd): rename of cd.
3342 (cd): Override builtin.
3343
aa3cfbda
RB
33442019-03-06 Richard Bunt <richard.bunt@arm.com>
3345
3346 * gdb.fortran/function-calls.exp: New file.
3347 * gdb.fortran/function-calls.f90: New test.
3348
7b63ad86
RB
33492019-03-04 Richard Bunt <richard.bunt@arm.com>
3350
3351 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
3352 on user program standard output.
3353 * gdb.fortran/short-circuit-argument-list.f90: Record function
3354 calls.
3355
01abb042
AH
33562019-02-28 Alan Hayward <alan.hayward@arm.com>
3357
c3734e09
AH
3358 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
3359 failure.
01abb042 3360
92137da0
RO
33612019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3362
3363 PR gdb/8527
3364 * gdb.base/interrupt-daemon-attach.c,
3365 gdb.base/interrupt-daemon-attach.exp: New test.
3366
5862844d
PA
33672019-02-27 Pedro Alves <palves@redhat.com>
3368
3369 * gdb.base/page.exp: Add tests for "set width/height -1".
3370
8ed25214
PA
33712019-02-27 Pedro Alves <palves@redhat.com>
3372
3373 * gdb.base/page.exp: Add tests for "set/show width/height" with
3374 "infinite" values.
3375
6c28e44a
TT
33762019-02-27 Tom Tromey <tromey@adacore.com>
3377
3378 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
3379 2.4.
3380 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
3381 workaround.
3382
bf9a735e
AB
33832019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
3384
3385 * gdb.base/align.exp: Extend to compile in both C and C++, and add
3386 tests for structs with static members.
3387
8791793c
TT
33882019-02-26 Tom Tromey <tromey@adacore.com>
3389
3390 * gdb.python/py-value.exp (test_value_from_buffer): Check for
3391 ValueError, not TypeError.
3392
bc2a507e
KB
33932019-02-26 Kevin Buettner <kevinb@redhat.com>
3394
3395 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
3396 call from main program.
3397
e0e7d3bd
JB
33982019-02-23 Joel Brobecker <brobecker@adacore.com>
3399
3400 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
3401 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
3402 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
3403 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
3404 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
3405
9600246d
KS
34062019-02-22 Keith Seitz <keiths@redhat.com>
3407
3408 PR symtab/23853
3409 * gdb.base/symlink-sourcefile.c: New file.
3410 * gdb.base/symlink-sourcefile.exp: New file.
3411
0c95f9ed
TT
34122019-02-20 Tom Tromey <tom@tromey.com>
3413
3414 * gdb.base/info_qt.exp: Update.
3415
6caa91b6
SM
34162019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
3417
3418 * gdb.base/source.exp: Move "error in sourced script" code to
3419 the end.
3420 * gdb.base/source-error.gdb: Move contents to
3421 source-error-1.gdb. Add new code to source source-error-1.gdb.
3422 * gdb.base/source-error-1.gdb: New file, from previous
3423 source-error.gdb.
3424
6506371f
TT
34252019-02-17 Tom Tromey <tom@tromey.com>
3426
3427 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
3428 for macro styling.
3429 * gdb.base/style.c (SOME_MACRO): New macro.
3430
a0087920
TT
34312019-02-17 Tom Tromey <tom@tromey.com>
3432
3433 * gdb.base/style.exp: Add line-wrapping tests.
3434 * gdb.base/page.exp: Add test for quitting during pagination.
3435
a2cd4f14
JB
34362019-02-17 Joel Brobecker <brobecker@adacore.com>
3437
3438 * gdb.ada/big_packed_array: New testcase.
3439 * gdb.ada/homonym.exp: Fix incorrect expected output for
3440 "break <homonym__get_value>" test.
3441
9d70ffbc
WP
34422019-02-13 Weimin Pan <weimin.pan@oracle.com>
3443
3444 PR breakpoints/21870
3445 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
3446 and prepare_for_testing. Add comment.
3447 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
3448 redundant cleanup call. Clean up comment.
3449
01c7ae81
WP
34502019-02-12 Weimin Pan <weimin.pan@oracle.com>
3451
3452 PR breakpoints/21870
3453 * gdb.arch/aarch64-dbreg-contents.exp: New file.
3454 * gdb.arch/aarch64-dbreg-contents.c: New file.
3455
aff29d1c
JB
34562019-02-10 Joel Brobecker <brobecker@adacore.com>
3457
3458 * gdb.ada/mi_ref_changeable: New testcase.
3459
df0da8a2
AH
34602019-02-07 Alan Hayward <alan.hayward@arm.com>
3461
3462 * gdb.base/attach.exp: Add double attach test.
3463
bd447abb
SM
34642019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
3465
3466 * lib/gdb.exp (default_gdb_start): Don't match pagination
3467 prompt.
3468 (gdb_init): Set stty_init.
3469
1dbc40b9
TT
34702019-01-27 Tom Tromey <tom@tromey.com>
3471
3472 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
3473 skip_python_tests.
3474
353229bf
AH
34752019-01-24 Alan Hayward <alan.hayward@arm.com>
3476
3477 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
3478 New structure.
3479 (struct struct_static_02_02): Likewise.
3480 (struct struct_static_02_03): Likewise.
3481 (struct struct_static_02_04): Likewise.
3482 (struct struct_static_04_01): Likewise.
3483 (struct struct_static_04_02): Likewise.
3484 (struct struct_static_04_03): Likewise.
3485 (struct struct_static_04_04): Likewise.
3486 (struct struct_static_06_01): Likewise.
3487 (struct struct_static_06_02): Likewise.
3488 (struct struct_static_06_03): Likewise.
3489 (struct struct_static_06_04): Likewise.
3490 (cmp_struct_static_02_01): Likewise.
3491 (cmp_struct_static_02_02): Likewise.
3492 (cmp_struct_static_02_03): Likewise.
3493 (cmp_struct_static_02_04): Likewise.
3494 (cmp_struct_static_04_01): Likewise.
3495 (cmp_struct_static_04_02): Likewise.
3496 (cmp_struct_static_04_03): Likewise.
3497 (cmp_struct_static_04_04): Likewise.
3498 (cmp_struct_static_06_01): Likewise.
3499 (cmp_struct_static_06_02): Likewise.
3500 (cmp_struct_static_06_03): Likewise.
3501 (cmp_struct_static_06_04): Likewise.
3502 (call_all): Test new structs.
3503 * gdb.base/infcall-nested-structs.exp: Likewise.
3504
73021deb
AH
35052019-01-21 Alan Hayward <alan.hayward@arm.com>
3506 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
3507
fc65c7db
AH
35082019-01-21 Alan Hayward <alan.hayward@arm.com>
3509 * gdb.base/stack-protector.c: New test.
3510 * gdb.base/stack-protector.exp: New file.
3511 * gdb.cp/ovldbreak.exp: Only allow a single break line.
3512 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
3513 option.
3514 (gdb_compile): Remove stack protector for GCC and prevent
3515 recursion.
3516
c24bdb02
KS
35172019-01-16 Keith Seitz <keiths@redhat.com>
3518
3519 PR gdb/23773
3520 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
3521
6f072a10
PFC
35222019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3523
3524 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
3525 aliases.
3526 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
3527 tests.
3528 * gdb.arch/powerpc-vector-regs.c: New file.
3529 * gdb.arch/powerpc-vector-regs.exp: New file.
3530
a7b8d682
PFC
35312019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3532
3533 * gdb.arch/altivec-regs.exp: Fix the list passed to
3534 gdb_expect_list when testing "info vector".
3535
6eb6fb67
AB
35362019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
3537
3538 * gdb.base/style.exp: Don't include path in testname.
3539
b56f80d8
KS
35402019-01-10 Keith Seitz <keiths@redhat.com>
3541
3542 PR gdb/23712
3543 PR symtab/23010
3544 * gdb.dwarf2/multidictionary.exp: New file.
3545
041be526
SM
35462019-01-09 Simon Marchi <simon.marchi@ericsson.com>
3547
3548 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
3549 (test_gnuv3_style_demangling): ... this.
3550 (test_lucid_style_demangling): Remove.
3551 (test_arm_style_demangling): Remove.
3552 (test_hp_style_demangling): Remove.
3553 (do_tests): Remove calls to the above.
3554
d820d0c3
AB
35552019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3556
3557 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
3558 case.
3559
f097f5ad
TT
35602019-01-06 Tom Tromey <tom@tromey.com>
3561
3562 PR gdb/28155:
3563 * gdb.dwarf2/typedef-void-finish.exp: New file.
3564
2cd8cc0b
TT
35652018-12-28 Tom Tromey <tom@tromey.com>
3566 Simon Marchi <simark@simark.ca>
3567
3568 * gdb.base/jit-exec.exp: New file.
3569 * gdb.base/jit-exec.c: New file.
3570 * gdb.base/jit-execd.c: New file.
3571
35fb8261
TT
35722018-12-28 Tom Tromey <tom@tromey.com>
3573
3574 * gdb.base/style.exp: Update test to check for address styling.
3575
47fd17cd
TT
35762018-12-28 Tom Tromey <tom@tromey.com>
3577
3578 * gdb.base/style.exp: Add test for styling of "Reading symbols"
3579 message.
3580
d47032b7
TT
35812018-12-28 Tom Tromey <tom@tromey.com>
3582
3583 * gdb.base/style.exp: Add test for version number styling.
3584
af79b68d
TT
35852018-12-28 Tom Tromey <tom@tromey.com>
3586
3587 * gdb.base/style.exp: Add test for print_address_symbolic.
3588
0bb296cb
TT
35892018-12-28 Tom Tromey <tom@tromey.com>
3590
3591 * gdb.base/style.exp: Add test for breakpoint setting.
3592
80ae2043
TT
35932018-12-28 Tom Tromey <tom@tromey.com>
3594
3595 * gdb.base/style.exp: Add test for variable names.
3596
cbe56571
TT
35972018-12-28 Tom Tromey <tom@tromey.com>
3598
3599 * gdb.base/style.exp: New file.
3600 * gdb.base/style.c: New file.
3601
9162a27c
TT
36022018-12-28 Tom Tromey <tom@tromey.com>
3603
3604 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
3605 "dumb".
3606 * gdb.base/readline.exp (operate_and_get_next): Save and restore
3607 the TERM environment variable.
3608
bc543c90
TT
36092018-12-27 Tom Tromey <tom@tromey.com>
3610
3611 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
3612 pagination test.
3613
6f0ffe50
AB
36142018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
3615
3616 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
3617 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
3618
b5a1e557
PW
36192018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3620
3621 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
3622 Filename a.adb changed to bp_fun_addr.adb.
3623 gdb.ada/bp_fun_addr.exp: Update test accordingly.
3624
6e8b1ab2
JV
36252018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
3626
3627 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
3628 non-PIE executables.
3629 * README: Mention the gdb,nopie_flag board setting.
3630 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
3631 non-PIE executable.
3632 * gdb.arch/amd64-entry-value.exp: Likewise.
3633 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
3634 * gdb.arch/i386-float.exp: Likewise.
3635 * gdb.arch/i386-signal.exp: Likewise.
3636 * gdb.mi/mi-reg-undefined.exp: Likewise.
3637
d00a27c5
PM
36382018-12-21 Paul Marechal <paul.marechal@ericsson.com>
3639
3640 PR gdb/23974
3641 * gdb.base/info-os.exp: Check return for unknown "info os" type.
3642
161d081c
PW
36432018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3644
3645 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
3646 Update order of results accordingly.
3647
b001de23
AB
36482018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
3649
3650 * gdb.base/annota1.exp: Update a test regexp.
3651
99e1a184
AB
36522018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
3653
3654 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
3655
7a81c1e2
PW
36562018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3657
3658 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
3659 (reuse_time): Initialize to REUSE_TIME_CAP.
3660 (check_rc): New function.
3661 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
3662 Check pthread_create rc.
3663 (spawner_thread_func): Check pthread_create and pthread_join rc.
3664
73e8dc90
PA
36652018-12-08 Pedro Alves <palves@redhat.com>
3666
3667 * gdb.base/list.exp (test_forward_search): Rename to ...
3668 (test_forward_reverse_search): ... this. Also test reverse-search
3669 and the forward-search alias.
3670
13f2ed32
AB
36712018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
3672
3673 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
3674 local timeout variable before return, and remove all local timeout
3675 variable entirely.
3676 (gdb_load): Likewise.
3677
64d27cfc
TV
36782018-12-01 Tom de Vries <tdevries@suse.de>
3679
3680 * gdb.base/gdb-caching-proc.exp: New file.
3681
f63c03b4
SDJ
36822018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
3683
3684 * Makefile.in (TIMESTAMP): New variable.
3685 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
3686 command.
3687 (check-single-racy): Likewise.
3688 (check/%.exp): Likewise.
3689 (check-racy/%.exp): Likewise.
3690 (workers/%.worker): Likewise.
3691 (build-perf): Likewise.
3692 (check-perf): Likewise.
3693 * README: Describe new "TS" and "TS_FORMAT" variables.
3694 * print-ts.py: New file.
3695
1c97054b
BF
36962018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
3697
3698 PR python/23714
3699 * gdb.python/python.exp: Test command repetition after
3700 gdb.execute.
3701
1871a62d
AB
37022018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
3703
3704 * gdb.opt/inline-break.exp: Add test that info breakpoint output
3705 is correctly aligned.
3706
fb5e1ed9
PW
37072018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3708
3709 * gdb.ada/info_auto_lang.exp: New testcase.
3710 * gdb.ada/info_auto_lang/global_pack.ads: New file.
3711 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
3712 * gdb.ada/info_auto_lang/some_c.c: New file.
3713
43d397ca
PW
37142018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3715
3716 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
3717 FUNC_lang language syntax.
3718
beddd671
PW
37192018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3720
3721 * gdb.base/info_minsym.c: New file.
3722 * gdb.base/info_minsym.exp: New file.
3723
73fc52c4
TT
37242018-11-19 Tom Tromey <tom@tromey.com>
3725
3726 PR rust/23625:
3727 * gdb.rust/simple.exp: Add ptype test. Update expected output.
3728 * gdb.rust/expr.exp: Update expected output. Change one test.
3729
994b876a
TT
37302018-11-19 Tom Tromey <tom@tromey.com>
3731
3732 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
3733
6769f276
PA
37342018-11-19 Pedro Alves <palves@redhat.com>
3735
3736 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
3737 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
3738 see the expected warning.
3739
38a72da0
AH
37402018-11-16 Alan Hayward <alan.hayward@arm.com>
3741
3742 PR gdb/22736:
3743 * gdb.cp/infcall-nodebug-lib.c: New test.
3744 * gdb.cp/infcall-nodebug-main.c: New test.
3745 * gdb.cp/infcall-nodebug.exp: New file.
3746
53a89d6e
SM
37472018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
3748
3749 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
3750 completer tests.
3751
9325300d
TV
37522018-11-09 Tom de Vries <tdevries@suse.de>
3753
3754 * gdb.base/msym-lang.c: New test.
3755 * gdb.base/msym-lang.exp: New file.
3756 * gdb.base/msym-lang-main.c: New test.
3757
20f0d60d
TT
37582018-11-08 Tom Tromey <tom@tromey.com>
3759
3760 PR gdb/23555:
3761 PR gdb/23838:
3762 * gdb.base/warning.exp: New file.
3763
b5420128
JB
37642018-11-08 Jan Beulich <jbeulich@suse.com>
3765
3766 * testsuite/gdb.arch/i386-avx512.c,
3767 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
3768
cd115d61
AB
37692018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
3770
3771 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
3772 point hardware.
3773
35ee2dc2
AB
37742018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
3775
3776 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
3777 * gdb.dwarf2/missing-type-name.exp: New file.
3778
31aceee8
TV
37792018-11-06 Tom de Vries <tdevries@suse.de>
3780
3781 * gdb.base/many-headers.c: New test.
3782 * gdb.base/many-headers.exp: New file.
3783
109be305
JW
37842018-11-06 Jim Wilson <jimw@sifive.com>
3785
3786 * gdb.base/code_elim.exp: For riscv, set additional_flags
3787 to include -msmall-data-limit=0.
3788
e2b7af72
JB
37892018-11-01 Joel Brobecker <brobecker@adacore.com>
3790
3791 * gdb.ada/watch_minus_l: New testcase.
3792
cdcda965
SM
37932018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
3794
3795 * gdb.arch/aix-sighandle.c: New file.
3796 * gdb.arch/aix-sighandle.exp: New file.
3797
92dcebf3
AB
37982018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3799
3800 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
3801 registers being unions.
3802
68b9ac18
TV
38032018-10-31 Tom de Vries <tdevries@suse.de>
3804
3805 * lib/valgrind.exp: New file.
3806 (vgdb_start, vgdb_stop): New procs, factored out of ...
3807 * gdb.base/valgrind-bt.exp: ... here, ...
3808 * gdb.base/valgrind-disp-step.exp: ... here and ...
3809 * gdb.base/valgrind-infcall.exp: ... here.
3810
1443936e
TV
38112018-10-31 Tom de Vries <tdevries@suse.de>
3812
3813 * lib/gdb.exp (get_valueof): Don't output read value in test name.
3814
eb77c9df
AB
38152018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3816
3817 * gdb.dwarf2/void-type.c: New file.
3818 * gdb.dwarf2/void-type.exp: New file.
3819
82b5e646
PW
38202018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3821
3822 * gdb.base/info_qt.c: New file.
3823 * gdb.base/info_qt.exp: New file.
3824
8d619c01
EBM
38252018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3826
3827 * gdb.arch/powerpc-htm-regs.c: New file.
3828 * gdb.arch/powerpc-htm-regs.exp: New file.
3829
f2cf6173
EBM
38302018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3831
3832 * gdb.arch/powerpc-tar.c: New file.
3833 * gdb.arch/powerpc-tar.exp: New file.
3834
7ca18ed6
EBM
38352018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3836
3837 * gdb.arch/powerpc-ppr-dscr.c: New file.
3838 * gdb.arch/powerpc-ppr-dscr.exp: New file.
3839
bfcc0eba
TV
38402018-10-25 Tom de Vries <tdevries@suse.de>
3841
3842 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
3843
fe1a5cad
TV
38442018-10-24 Tom de Vries <tdevries@suse.de>
3845
3846 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
3847 longer exists error.
3848
a76dc3b7
TV
38492018-10-24 Tom de Vries <tdevries@suse.de>
3850
3851 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
3852
4df46df7
TV
38532018-10-24 Tom de Vries <tdevries@suse.de>
3854
3855 * gdb.base/valgrind-db-attach.exp: Handle removed support for
3856 --db-attach in valgrind.
3857
0dbfcfff
AB
38582018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
3859
3860 * gdb.arch/riscv-reg-aliases.c: New file.
3861 * gdb.arch/riscv-reg-aliases.exp: New file.
3862
b04480b1
AH
38632018-10-19 Alan Hayward <alan.hayward@arm.com>
3864
3865 * gdb.python/py-cmd.exp: Check for gdb_prompt.
3866
2c6ac8d7
AH
38672018-10-19 Alan Hayward <alan.hayward@arm.com>
3868
3869 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
3870
2bc69f25
AH
38712018-10-19 Alan Hayward <alan.hayward@arm.com>
3872
3873 * gdb.cp/ovldbreak.exp: Fix regexps.
3874
1f1ae3a3
AH
38752018-10-19 Alan Hayward <alan.hayward@arm.com>
3876
3877 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
3878
94c18618
SDJ
38792018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
3880
3881 PR cli/23785
3882 * gdb.base/restore.exp: New test to check if "restore" with an
3883 invalid file doesn't segfault.
3884
812cd6eb
TV
38852018-10-18 Tom de Vries <tdevries@suse.de>
3886
3887 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
3888 * gdb.ada/excep_handle.exp: Same.
3889 * gdb.ada/mi_string_access.exp: Same.
3890 * gdb.ada/mi_var_union.exp: Same.
3891 * gdb.arch/arc-analyze-prologue.exp: Same.
3892 * gdb.arch/arc-decode-insn.exp: Same.
3893 * gdb.base/readnever.exp: Same.
3894 * gdb.fortran/printing-types.exp: Same.
3895 * gdb.guile/scm-lazy-string.exp: Same.
3896
c4b90788
TV
38972018-10-16 Tom de Vries <tdevries@suse.de>
3898
3899 PR gdb/23730
3900 * gdb.base/catch-follow-exec.c: Add copyright notice.
3901 * gdb.base/catch-follow-exec.exp: Rewrite to use
3902 gdb_spawn_with_cmdline_opts. Require gdb-native.
3903
8bca2978
SL
39042018-10-12 Sandra Loosemore <sandra@codesourcery.com>
3905
3906 * gdb.trace/actions-changed.exp: Check for arch support.
3907 * gdb.trace/actions.exp: Likewise.
3908 * gdb.trace/ax.exp: Likewise.
3909 * gdb.trace/backtrace.exp: Likewise.
3910 * gdb.trace/change-loc.exp: Likewise.
3911 * gdb.trace/deltrace.exp: Likewise.
3912 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
3913 * gdb.trace/ftrace.exp: Likewise.
3914 * gdb.trace/infotrace.exp: Check for arch support.
3915 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
3916 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
3917 * gdb.trace/mi-tsv-changed.exp: Likewise.
3918 * gdb.trace/packetlen.exp: Likewise.
3919 * gdb.trace/passc-dyn.exp: Likewise.
3920 * gdb.trace/passcount.exp: Likewise.
3921 * gdb.trace/pending.exp: Likewise.
3922 * gdb.trace/range-stepping.exp: Check for shlib support.
3923 * gdb.trace/report.exp: Check for arch support.
3924 * gdb.trace/save-trace.exp: Likewise.
3925 * gdb.trace/signal.exp: Check for signal support.
3926 * gdb.trace/tfind.exp: Check for arch support.
3927 * gdb.trace/trace-break.exp: Check for arch and shlib support.
3928 * gdb.trace/trace-common.h: Add comment.
3929 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
3930 * gdb.trace/trace-enable-disable.exp: Likewise.
3931 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
3932 * gdb.trace/tracecmd.exp: Check for arch support.
3933 * gdb.trace/tspeed.exp: Check for shlib and target support.
3934 * gdb.trace/tstatus.exp: Check for arch support.
3935 * gdb.trace/tsv.exp: Likewise.
3936 * gdb.trace/while-dyn.exp: Likewise.
3937 * gdb.trace/while-stepping.exp: Likewise.
3938 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
3939
f9c49bff
SM
39402018-10-12 Simon Marchi <simon.marchi@ericsson.com>
3941
3942 * gdb.trace/tspeed.exp: Remove nowarnings.
3943 (prepare_for_trace_test): Declare "global ipalib".
3944 * gdb.trace/tspeed.c: Include unistd.h.
3945 (main): Remove superfluous printf argument.
3946
d4330bde
SL
39472018-10-11 Sandra Loosemore <sandra@codesourcery.com>
3948
3949 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
3950 directory prefix on the filename.
3951
8ecfd7bd
SDJ
39522018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
3953
3954 * gdb.gdb/unittest.exp: Update expected message informing that
3955 selftests have been disabled.
3956 * gdb.server/unittest.exp: Likewise.
3957
58bbcd02
TV
39582018-10-09 Tom de Vries <tdevries@suse.de>
3959
3960 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
3961 with runto_main.
3962
9f6b697b
WP
39632018-10-08 Weimin Pan <weimin.pan@oracle.com>
3964
3965 PR c++/16841
3966 * gdb.cp/virtbase2.cc: New file.
3967 * gdb.cp/virtbase2.exp: New file.
3968
add5ded5
TT
39692018-10-06 Tom Tromey <tom@tromey.com>
3970
3971 PR python/19399:
3972 * gdb.python/py-inferior.exp: Add architecture test.
3973
f9e48344
TT
39742018-10-06 Tom Tromey <tom@tromey.com>
3975
3976 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
3977 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
3978
2a8be203
TT
39792018-10-06 Tom Tromey <tom@tromey.com>
3980
3981 * gdb.python/py-breakpoint.exp (check_last_event): Check location
3982 of a "throw" catchpoint.
3983
e04caa70
SDJ
39842018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
3985
3986 * gdb.base/info-proc.exp: Update string expected from "help info
3987 proc".
3988
5ca8c39f
TT
39892018-10-04 Tom Tromey <tom@tromey.com>
3990
3991 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
3992 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
3993 (test_initial_complaints, test_empty_complaints): Update.
3994 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3995
3453e7e4
TT
39962018-10-04 Tom Tromey <tom@tromey.com>
3997
3998 PR cli/19551:
3999 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
4000 * lib/gdb.exp (gdb_file_cmd): Update.
4001 * gdb.stabs/weird.exp (print_weird_var): Update.
4002 * gdb.server/solib-list.exp: Update.
4003 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
4004 * gdb.mi/mi-cli.exp: Update.
4005 * gdb.linespec/linespec.exp: Update.
4006 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
4007 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
4008 * gdb.cp/cp-relocate.exp: Update.
4009 * gdb.base/sym-file.exp: Update.
4010 * gdb.base/relocate.exp: Update.
4011 * gdb.base/readnever.exp: Update.
4012 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
4013 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
4014 * gdb.base/dbx.exp (gdb_file_cmd): Update.
4015 * gdb.base/code_elim.exp: Update.
4016 * gdb.base/break-unload-file.exp (test_break): Update.
4017 * gdb.base/break-interp.exp (test_attach_gdb): Update.
4018 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
4019 Update.
4020 * gdb.base/attach.exp (do_attach_tests): Update.
4021 * gdb.base/sepdebug.exp: Update.
4022 * gdb.python/py-section-script.exp: Update.
4023
6afcf761
TT
40242018-10-04 Tom Tromey <tom@tromey.com>
4025
4026 PR cli/22234:
4027 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
4028 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
4029 output.
4030
fef1b293
TT
40312018-10-04 Tom Tromey <tom@tromey.com>
4032
4033 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
4034 set width and height to 0.
4035 (test_command_line_attach_run): Use -quiet.
4036
ca98345e
SL
40372018-10-03 Sandra Loosemore <sandra@codesourcery.com>
4038
4039 * lib/gdb.exp (skip_ifunc_tests): New.
4040 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
4041 other compile failures.
4042 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
4043
ff34e6ae
SM
40442018-10-01 Simon Marchi <simon.marchi@ericsson.com>
4045
4046 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
4047 is_amd64_regs_target.
4048
6bb8890e
AH
40492018-10-01 Alan Hayward <alan.hayward@arm.com>
4050
4051 * gdb.arch/aarch64-sighandler-regs.c: New test.
4052 * gdb.arch/aarch64-sighandler-regs.exp: New file.
4053 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
4054
224d30d3
MM
40552018-10-01 Markus Metzger <markus.t.metzger@intel.com>
4056
4057 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
4058 assembly.
4059
f67ffa6a
AB
40602018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
4061
4062 * gdb.base/frame-selection.exp: New file.
4063 * gdb.base/frame-selection.c: New file.
4064
9fc3183f
AH
40652018-09-27 Alan Hayward <alan.hayward@arm.com>
4066
4067 * gdb.threads/check-libthread-db.c (thread_routine): Use a
4068 pthread barrier.
4069 (main): Likewise.
4070
d354055e
AB
40712018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
4072
4073 * gdb.base/large-frame-1.c: New file.
4074 * gdb.base/large-frame-2.c: New file.
4075 * gdb.base/large-frame.exp: New file.
4076 * gdb.base/large-frame.h: New file.
4077
db727370
JL
40782018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
4079
4080 PR gdb/20948
4081 * gdb.base/write_mem.exp: New test.
4082 * gdb.base/write_mem.c: Likewise.
4083
ae778caf
TT
40842018-09-23 Tom Tromey <tom@tromey.com>
4085
4086 PR python/18852:
4087 * gdb.python/py-parameter.exp: Add test for parameter that throws
4088 on "set".
4089
fd3ba736
TT
40902018-09-23 Tom Tromey <tom@tromey.com>
4091
4092 PR python/17284:
4093 * gdb.python/py-template.exp (test_template_arg): Add test for
4094 negative template argument number.
4095
39a24317
TT
40962018-09-23 Tom Tromey <tom@tromey.com>
4097
4098 PR python/14062:
4099 * gdb.python/python.exp: Add test for post_event error.
4100
f5769a2c
TT
41012018-09-23 Tom Tromey <tom@tromey.com>
4102
4103 PR python/18170:
4104 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
4105 convert pointers to int and long.
4106
1c1e54f6
TT
41072018-09-23 Tom Tromey <tom@tromey.com>
4108
4109 PR python/20126:
4110 * gdb.python/py-value.exp (test_value_numeric_ops): Add
4111 signed-ness conversion tests.
4112
fb4fa946
TT
41132018-09-23 Tom Tromey <tom@tromey.com>
4114
4115 PR python/18352;
4116 * gdb.python/py-value.exp (test_float_conversion): New proc.
4117 Use it.
4118
a466edac
HAQ
41192018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
4120
4121 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
4122
4ee9b0c5
SL
41232018-09-18 Sandra Loosemore <sandra@codesourcery.com>
4124
4125 * gdb.base/complete-empty.exp: Skip tab-completion tests if
4126 no readline.
4127 * gdb.base/utf8-identifiers.exp: Likewise.
4128 * gdb.cp/cpcompletion.exp: Likewise.
4129 * gdb.linespec/cpcompletion.exp: Likewise.
4130 * gdb.linespec/cpls-abi-tag.exp: Likewise.
4131 * gdb.linespec/cpls-ops.exp: Likewise.
4132
23be8da7
RB
41332018-09-19 Richard Bunt <richard.bunt@arm.com>
4134 Chris January <chris.january@arm.com>
4135
4136 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
4137 * gdb.fortran/short-circuit-argument-list.exp: New file.
4138 * gdb.fortran/short-circuit-argument-list.f90: New test.
4139
5031d0ae
SDJ
41402018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4141
4142 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
4143 "arch=" keyword when executing "-stack-list-frames".
4144
b4c0d1a4
SDJ
41452018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4146
4147 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
4148 "arch=" keyword when executing "-stack-list-frames".
4149
7a6d2b45
SDJ
41502018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4151
4152 * gdb.ada/complete.exp: Expect for "@" when doing "complete
4153 break ada".
4154
8588b356
SM
41552018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
4156
4157 PR python/23669
4158 * gdb.python/python.exp: Test gdb.execute("show commands").
4159
65e65158
TT
41602018-09-16 Tom Tromey <tom@tromey.com>
4161
4162 * gdb.base/new-ui.exp (do_execution_tests): Update.
4163 * gdb.base/dbx.exp (test_breakpoints): Update.
4164
bf326452
AH
41652018-09-14 Alan Hayward <alan.hayward@arm.com>
4166
4167 * lib/gdb.exp (gdb_simple_compile): Add proc.
4168 (is_elf_target): Use gdb_simple_compile.
4169 (skip_altivec_tests): Likewise.
4170 (skip_vsx_tests): Likewise.
4171 (skip_tsx_tests): Likewise.
4172 (skip_btrace_tests): Likewise.
4173 (skip_btrace_pt_tests): Likewise.
4174 (gdb_can_simple_compile): Likewise.
4175 (gdb_has_argv0): Likewise.
4176 (gdb_target_symbol_prefix): Likewise.
4177 (target_supports_scheduler_locking): Likewise.
4178
2361b0fb
TT
41792018-09-13 Tom Tromey <tom@tromey.com>
4180
4181 * Makefile.in (TAGS): Recognize proc_with_prefix and
4182 gdb_caching_proc.
4183
0ae1a321
SM
41842018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4185
4186 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
4187 method.
4188
a40bf0c2
SM
41892018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4190
4191 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
4192 and a few other Inferior properties when the Inferior is no
4193 longer valid.
4194
4a3fe98f
TT
41952018-09-13 Tom Tromey <tom@tromey.com>
4196
4197 PR rust/23650:
4198 * gdb.rust/simple.exp: Add test for enum field access error.
4199
098b2108
TT
42002018-09-13 Tom Tromey <tom@tromey.com>
4201
4202 PR rust/23626:
4203 * gdb.rust/simple.rs (EmptyEnum): New type.
4204 (main): Use it.
4205 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
4206
1256af7d
SM
42072018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4208
4209 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
4210 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
4211 * gdb.python/py-symtab.exp: Update test printing an objfile.
4212
4aa8e6c2
SM
42132018-09-12 Simon Marchi <simon.marchi@ericsson.com>
4214
4215 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
4216 object.
4217
c221b2f7
AH
42182018-09-12 Alan Hayward <alan.hayward@arm.com>
4219
4220 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
4221 (support_complex_tests): Use gdb_can_simple_compile.
4222 (is_ilp32_target): Likewise.
4223 (is_lp64_target): Likewise.
4224 (is_64_target): Likewise.
4225 (is_amd64_regs_target): Likewise.
4226 (is_aarch32_target): Likewise.
4227 (gdb_int128_helper): Likewise.
4228
6f1107b5
JK
42292018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4230
4231 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
4232
1f5d1570
JG
42332018-09-10 Jerome Guitton <guitton@adacore.com>
4234
4235 * gdb.ada/same_component_name: Add test for case of tagged record
4236 with variable-length fields.
4237
cc330e39
XR
42382018-09-10 Xavier Roirand <roirand@adacore.com>
4239
4240 * gdb.ada/access_to_unbounded_array.exp: New testcase.
4241 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
4242 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
4243 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
4244
b9c50e9a
XR
42452018-09-10 Xavier Roirand <roirand@adacore.com>
4246
4247 * gdb.ada/mi_string_access.exp: New testcase.
4248 * gdb.ada/mi_string_access/bar.adb: New file.
4249 * gdb.ada/mi_string_access/pck.adb: New file.
4250 * gdb.ada/mi_string_access/pck.asd: New file.
4251
2963898f
XR
42522018-09-10 Xavier Roirand <roirand@adacore.com>
4253
4254 * gdb.ada/mi_var_union.exp: New testcase.
4255 * gdb.ada/mi_var_union/bar.adb: New file.
4256 * gdb.ada/mi_var_union/pck.adb: New file.
4257 * gdb.ada/mi_var_union/pck.asd: New file.
4258
1aac008f
TT
42592018-09-08 Tom Tromey <tom@tromey.com>
4260
4261 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
4262
332cf4c9
TT
42632018-09-08 Tom Tromey <tom@tromey.com>
4264
4265 PR python/16047:
4266 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
4267 (register_pretty_printers): Register new printer.
4268 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
4269 test.
4270 * gdb.python/py-prettyprint.c (int_type3): New typedef.
4271 (an_int_type3): New global.
4272
424da6cf
JB
42732018-09-08 Joel Brobecker <brobecker@adacore.com>
4274
4275 * gdb.ada/expr_with_funcall: New testcase.
4276
2a62dfa9
JB
42772018-09-08 Joel Brobecker <brobecker@adacore.com>
4278
4279 * gdb.ada/packed_array_assign: New testcase.
4280
96b6697f
AB
42812018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
4282
4283 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
4284 names, and add test prefixes to make test names unique.
4285
e4a62c65
TV
42862018-09-05 Tom de Vries <tdevries@suse.de>
4287
4288 * gdb.dwarf2/varval.exp: Add test.
4289
dd083ee2
GB
42902018-09-04 Gary Benson <gbenson@redhat.com>
4291
4292 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
4293 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
4294
aef9346c
TT
42952018-08-31 Tom Tromey <tom@tromey.com>
4296
4297 * gdb.rust/simple.rs: Rename second variable "v".
4298
c67f2e15
AB
42992018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
4300
4301 * gdb.base/funcargs.c (use_a): New function.
4302 (recurse): Call use_a.
4303
078a0207
KS
43042018-08-29 Keith Seitz <keiths@redhat.com>
4305
4306 * gdb.compile/compile-cplus-anonymous.cc: New file.
4307 * gdb.compile/compile-cplus-anonymous.exp: New file.
4308 * gdb.compile/compile-cplus-array-decay.cc: New file.
4309 * gdb.compile/compile-cplus-array-decay.exp: New file.
4310 * gdb.compile/compile-cplus-inherit.cc: New file.
4311 * gdb.compile/compile-cplus-inherit.exp: New file.
4312 * gdb.compile/compile-cplus-member.cc: New file.
4313 * gdb.compile/compile-cplus-member.exp: New file.
4314 * gdb.compile/compile-cplus-method.cc: New file.
4315 * gdb.compile/compile-cplus-method.exp: New file.
4316 * gdb.compile/compile-cplus-mod.c: "New" file.
4317 * gdb.compile/compile-cplus-namespace.cc: New file.
4318 * gdb.compile/compile-cplus-namespace.exp: New file.
4319 * gdb.compile/compile-cplus-nested.cc: New file.
4320 * gdb.compile/compile-cplus-nested.exp: New file.
4321 * gdb.compile/compile-cplus-print.c: "New" file.
4322 * gdb.compile/compile-cplus-print.exp: "New" file.
4323 * gdb.compile/compile-cplus-virtual.cc: New file.
4324 * gdb.compile/compile-cplus-virtual.exp: New file.
4325 * gdb.compile/compile-cplus.c: "New" file.
4326 * gdb.compile/compile-cplus.exp: "New" file.
4327 * lib/compile-support.exp: New file.
4328
b0f492b9
GB
43292018-08-16 Gary Benson <gbenson@redhat.com>
4330
4331 PR gdb/13000:
4332 * gdb.base/batch-exit-status.exp: New file.
4333 * gdb.base/batch-exit-status.good-commands: Likewise.
4334 * gdb.base/batch-exit-status.bad-commands: Likewise.
4335
36eb4c5f
AH
43362018-08-29 Alan Hayward <alan.hayward@arm.com>
4337
4338 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
4339 (struct struct02): Likewise.
4340 (struct struct03): Likewise.
4341 (struct struct04): Likewise.
4342 (struct struct_01_01): New struct.
4343 (struct struct_01_02): Likewise.
4344 (struct struct_01_03): Likewise.
4345 (struct struct_01_04): Likewise.
4346 (struct struct_02_01): Likewise.
4347 (struct struct_02_02): Likewise.
4348 (struct struct_02_03): Likewise.
4349 (struct struct_02_04): Likewise.
4350 (struct struct_04_01): Likewise.
4351 (struct struct_04_02): Likewise.
4352 (struct struct_04_03): Likewise.
4353 (struct struct_04_04): Likewise.
4354 (struct struct_05_01): Likewise.
4355 (struct struct_05_02): Likewise.
4356 (struct struct_05_03): Likewise.
4357 (struct struct_05_04): Likewise.
4358 (cmp_struct01): Remove function.
4359 (cmp_struct02): Likewise.
4360 (cmp_struct03): Likewise.
4361 (cmp_struct04): Likewise.
4362 (cmp_struct_01_01): Add Function.
4363 (cmp_struct_01_02): Likewise.
4364 (cmp_struct_01_03): Likewise.
4365 (cmp_struct_01_04): Likewise.
4366 (cmp_struct_02_01): Likewise.
4367 (cmp_struct_02_02): Likewise.
4368 (cmp_struct_02_03): Likewise.
4369 (cmp_struct_02_04): Likewise.
4370 (cmp_struct_04_01): Likewise.
4371 (cmp_struct_04_02): Likewise.
4372 (cmp_struct_04_03): Likewise.
4373 (cmp_struct_04_04): Likewise.
4374 (cmp_struct_05_01): Likewise.
4375 (cmp_struct_05_02): Likewise.
4376 (cmp_struct_05_03): Likewise.
4377 (cmp_struct_05_04): Likewise.
4378 (call_all): Add new structs.
4379 * gdb.base/infcall-nested-structs.exp: Likewise.
4380
3bf9c013
JV
43812018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
4382
4383 * gdb.python/py-framefilter-mi.exp: Update regexp to
4384 check for "arch" field in frame output.
4385
450d1e88
KB
43862018-08-23 Kevin Buettner <kevinb@redhat.com>
4387
4388 * gdb.dwarf2/dw2-ranges-func.c: New file.
4389 * gdb.dwarf2/dw2-ranges-func.exp: New file.
4390
ae739fe7
SM
43912018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
4392
4393 * gdb.base/term.exp: Compare terminal settings with values from
4394 the inferior.
4395 * gdb.base/term.c: Get and set terminal settings.
4396
6d52907e
JV
43972018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
4398
4399 * lib/mi-support.exp (mi_expect_stop): Update regexp to
4400 accommodate new "arch" field in frame output.
4401 * gdb.mi/mi-return.exp: Likewise.
4402 * gdb.mi/mi-stack.exp: Likewise.
4403 * gdb.mi/mi-syn-frame.exp: Likewise.
4404 * gdb.mi/user-selected-context-sync.exp: Likewise.
4405
be2d111a
MS
44062018-08-19 Michael Spang <spang@google.com>
4407
4408 PR gdb/11786
4409 * gdb.base/gcore-tls-pie.c: New file.
4410 * gdb.base/gcore-tls-pie.exp: New file.
4411
ae3a7c47
KB
44122018-08-18 Kevin Buettner <kevinb@redhat.com>
4413
4414 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
4415 * gdb.dwarf2/varval.c: New file.
4416 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 4417
2ecae92e
AH
44182018-08-17 Alan Hayward <alan.hayward@arm.com>
4419
4420 PR gdb/18931
4421 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
4422
c1854f1d
KS
44232018-08-16 Keith Seitz <keiths@redhat.com>
4424
4425 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
4426 tests expected to pass.
4427
26fb3983
JV
44282018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
4429
4430 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
4431 -data-disassemble -a.
4432 (test_disassembly_bogus_args): Likewise.
4433
67943c00
AB
44342018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
4435
4436 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
4437
5ff2bbae
AB
44382018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
4439
4440 * gdb.base/vla-optimized-out.exp: Add new test.
4441
e5bbcd0f
AB
44422018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
4443
4444 * gdb.base/vla-optimized-out-o3.exp: Delete.
4445 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
4446 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
4447 deleted tests.
4448
9d4a934c
AB
44492018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
4450
4451 PR gdb/18050:
4452 * gdb.server/extended-remote-restart.c: New file.
4453 * gdb.server/extended-remote-restart.exp: New file.
4454
045cf012
SM
44552018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
4456
4457 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
4458 "set variable index = 42".
4459
87d6a7aa
SM
44602018-08-07 Simon Marchi <simon.marchi@ericsson.com>
4461
4462 * boards/index-cache-gdb.exp: New file.
4463 * gdb.dwarf2/index-cache.exp: New file.
4464 * gdb.dwarf2/index-cache.c: New file.
4465 * gdb.base/maint.exp: Check if we are using the index cache.
4466
96d68bd4
RO
44672018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4468
4469 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
4470 MAKEFLAGS.
4471
5a699617
RO
44722018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4473
4474 * dg-extract-results.sh: Move to toplevel contrib.
4475 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
4476 * Makefile.in (check-parallel-racy): Likewise.
4477
5bd18990
AB
44782018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
4479
4480 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
4481 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
4482 tests if the target supports scheduler locking.
4483
3fbbcf47
TV
44842018-08-04 Tom de Vries <tdevries@suse.de>
4485
4486 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
4487
3e1d3d8c
TT
44882018-08-02 Tom Tromey <tom@tromey.com>
4489
4490 PR symtab/16842.
4491 * gdb.cp/temargs.exp: Test "info address" of a template
4492 parameter.
4493
5abe0f0c
JV
44942018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
4495
4496 * gdb.python/py-mi-var-info-path-expression.c: New file.
4497 * gdb.python/py-mi-var-info-path-expression.py: New file.
4498 * gdb.python/py-mi-var-info-path-expression.exp: New file.
4499
fb66cde8
SDJ
45002018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
4501
4502 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
4503 error after "cannot resolve name" string.
4504
c708f4d2
AB
45052018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
4506
4507 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
4508 started.
4509 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
4510
37cc0cae
TV
45112018-07-28 Tom de Vries <tdevries@suse.de>
4512
4513 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
4514
63b4ecf7
TV
45152018-07-26 Tom de Vries <tdevries@suse.de>
4516
4517 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
4518
3c3bb058
AB
45192018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
4520
4521 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
4522 is visible.
4523
9e7f3bbb
TV
45242018-07-26 Tom de Vries <tdevries@suse.de>
4525
4526 PR breakpoints/23366
4527 * gdb.base/catch-follow-exec.c: New test.
4528 * gdb.base/catch-follow-exec.exp: New file.
4529
16f808ec
TV
45302018-07-25 Tom de Vries <tdevries@suse.de>
4531
4532 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
4533 vla-optimized-out.c.
4534
d7154a8d
JV
45352018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
4536
4537 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
4538 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
4539
232a0032
TV
45402018-07-20 Tom de Vries <tdevries@suse.de>
4541
4542 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
4543 NOCLONE macro.
4544 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
4545
fbb1d502
TV
45462018-07-19 Tom de Vries <tdevries@suse.de>
4547
4548 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
4549 regular expression.
4550
42dc7699
TV
45512018-07-18 Tom de Vries <tdevries@suse.de>
4552
4553 * gdb.base/vla-optimized-out.c: New test.
4554 * gdb.base/vla-optimized-out.exp: New file.
4555
7f1f7e23
SDJ
45562018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
4557
4558 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
4559 message "No address associated with hostname" when gdbserver
4560 cannot resolve the hostname.
4561
5759ebb3
PW
45622018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4563
4564 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
4565 Add some test prefixes to make tests unique.
4566
3606ccab
PW
45672018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4568
4569 * gdb.base/frameapply.c: New file.
4570 * gdb.base/frameapply.exp: New file.
4571
529c08b2
PW
45722018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4573
4574 * gdb.base/skip.exp: Update expected error message.
4575
c7ab0aef
SDJ
45762018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
4577 Jan Kratochvil <jan.kratochvil@redhat.com>
4578 Paul Fertser <fercerpav@gmail.com>
4579 Tsutomu Seki <sekiriki@gmail.com>
4580
4581 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
4582 parameter.
4583 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
4584 by default.
4585 * boards/native-gdbserver.exp: Likewise.
4586 * gdb.server/run-without-local-binary.exp: Improve regexp used
4587 for detecting when a remote debugging connection succeeds.
4588 * gdb.server/server-connect.exp: New file.
4589 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
4590 Do not prefix the port number with ":".
4591 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
4592 support for detecting and using it. Add '$debughost_gdbserver'
4593 to the list of arguments used to start gdbserver. Handle case
4594 when gdbserver cannot resolve a network name.
4595
16ff70dd
SDJ
45962018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
4597
4598 PR c++/23373
4599 * gdb.base/ptype-offsets.cc (struct static_member): New
4600 struct.
4601 (main) <stmember>: New variable.
4602 * gdb.base/ptype-offsets.exp: Add test for printing a struct
4603 with a static member in it.
4604
3541979f
AB
46052018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
4606
4607 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
4608 watchpoints enabled and disabled.
4609
c8ad9b9a
AB
46102018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4611
4612 * gdb.base/examine-backward.exp: Still run tests around address
4613 0x0, even if address 0x0 is not readable. Update the pattern for
4614 matching address 0x0 in expected output.
4615
e0e5e971
AB
46162018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
4617
4618 * gdb.base/share-env-with-gdbserver.c (main): Add call to
4619 malloc/free.
4620
1ea5da02
TV
46212018-07-04 Tom de Vries <tdevries@suse.de>
4622
4623 * gdb.dwarf2/dw2-error.exp: Update expected error message.
4624
471b9d15
MR
46252018-07-02 Maciej W. Rozycki <macro@mips.com>
4626
4627 PR tdep/8282
4628 * gdb.arch/mips-disassembler-options.exp: New test.
4629 * gdb.arch/mips-disassembler-options.s: New test source.
4630
75acb486
PA
46312018-06-29 Pedro Alves <palves@redhat.com>
4632
4633 * gdb.threads/names.exp: Adjust expected "info threads" output.
4634
cd2bb709
PA
46352018-06-29 Pedro Alves <palves@redhat.com>
4636
4637 * gdb.opt/inline-break.exp (line number, address): Add "info
4638 break" tests.
4639
991ff292
PA
46402018-06-29 Pedro Alves <palves@redhat.com>
4641
4642 * gdb.opt/inline-break.c (func1): Add "break here" marker.
4643 * gdb.opt/inline-break.exp: Test setting breakpoints by line
4644 number and address and running to them.
4645
356819b6 46462018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
4647
4648 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
4649
2512d7ef
JK
46502018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4651
4652 * lib/compiler.c: Remove executable permission flag.
4653
be1b6474
RB
46542018-06-28 Richard Bunt <richard.bunt@arm.com>
4655
4656 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
4657 code.
4658 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
4659
291f9a96
PT
46602018-06-28 Petr Tesarik <ptesarik@suse.cz>
4661
4662 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
4663
ed6dfe51
PT
46642018-06-28 Petr Tesarik <ptesarik@suse.cz>
4665
4666 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
4667 address argument is omitted.
4668
d4d429d5
PT
46692018-06-28 Petr Tesarik <ptesarik@suse.cz>
4670
4671 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
4672
7ab6656f
OJ
46732018-06-27 Omair Javaid <omair.javaid@linaro.org>
4674
4675 PR gdb/21695
4676 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
4677 * gdb.base/infoline-reloc-main-from-zero.c: New file.
4678
a33ccfc7
TT
46792018-06-26 Tom Tromey <tom@tromey.com>
4680
4681 PR rust/22574:
4682 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
4683 * gdb.rust/simple.rs (struct SimpleLayout): New.
4684
6d72d289
SM
46852018-06-22 Simon Marchi <simon.marchi@ericsson.com>
4686
4687 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
4688 "info registers" output.
4689
8363f9d5
RB
46902018-06-21 Richard Bunt <richard.bunt@arm.com>
4691
4692 * gdb.base/watchpoint-hw-attach.c: New test.
4693 * gdb.base/watchpoint-hw-attach.exp: New file.
4694
f00674fe
SM
46952018-06-20 Simon Marchi <simon.marchi@ericsson.com>
4696
4697 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
4698 through /bin/sh.
4699 * boards/dwarf4-gdb-index.exp: Likewise.
4700 * boards/fission-dwp.exp: Likewise.
4701
1d554008
UW
47022018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
4703
4704 * gdb.base/float128.exp: Add comment and improved fail message
4705 to the failure case of "print large128" test.
4706
d0ac1c44
SM
47072018-06-19 Simon Marchi <simon.marchi@ericsson.com>
4708
4709 * configure.ac: Remove AC_PREREQ.
4710 * configure: Re-generate.
4711
61b04dd0
PA
47122018-06-19 Pedro Alves <palves@redhat.com>
4713
4714 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
4715 (func_extern_caller): New.
4716 (main): Call func_extern_caller.
4717 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
4718 logic change.
4719
f63b508a
SM
47202018-06-18 Weimin Pan <weimin.pan@oracle.com>
4721
4722 PR gdb/16841
4723 * gdb.cp/typedef-base.cc: New file.
4724 * gdb.cp/typedef-base.exp: New file.
4725
0fe3a558
TV
47262018-06-18 Tom de Vries <tdevries@suse.de>
4727
4728 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
4729
7010835a
AB
47302018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
4731 Richard Bunt <Richard.Bunt@arm.com>
4732
4733 * gdb.threads/attach-slow-waitpid.c: New file.
4734 * gdb.threads/attach-slow-waitpid.exp: New file.
4735 * gdb.threads/slow-waitpid.c: New file.
4736
14897d65
PA
47372018-06-14 Pedro Alves <palves@redhat.com>
4738
4739 * gdb.base/fork-running-state.c: Include <errno.h>.
4740 (exit_if_relative_exits): New.
4741 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
4742 exits.
4743 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
4744 child exits.
4745
5d9a0608
TV
47462018-06-14 Tom de Vries <tdevries@suse.de>
4747
4748 PR cli/22573
4749 * gdb.base/finish-pretty.c: New test.
4750 * gdb.base/finish-pretty.exp: New file.
4751
11ae5818
PA
47522018-06-14 Pedro Alves <palves@redhat.com>
4753
4754 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
4755 gdb's expected startup output.
4756
1d39de44
PA
47572018-06-14 Pedro Alves <palves@redhat.com>
4758
4759 * lib/selftest-support.exp (selftest_setup): Remove inlined
4760 function handling.
4761
70ee0000
TV
47622018-06-14 Tom de Vries <tdevries@suse.de>
4763
4764 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
4765 matching of breakpoint printing.
4766
11f4b608
TV
47672018-06-13 Tom de Vries <tdevries@suse.de>
4768
4769 PR testsuite/23269
4770 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
4771 (fork_child): ... here, and ...
4772 (fork_parent): ... here.
4773
47742018-06-12 Tom de Vries <tdevries@suse.de>
4775
4776 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
4777
9516f85a
AB
47782018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
4779 Stephen Roberts <stephen.roberts@arm.com>
4780
4781 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
4782 rewrite test to describe action performed, rather than possible
4783 failure.
4784
5045b3d7
GB
47852018-06-08 Gary Benson <gbenson@redhat.com>
4786
4787 * gdb.threads/check-libthread-db.exp: New file.
4788 * gdb.threads/check-libthread-db.c: Likewise.
4789
c61b06a1
TT
47902018-06-05 Tom Tromey <tom@tromey.com>
4791
4792 * gdb.base/default.exp: Update expected "show version" output.
4793
eb6af809
TT
47942018-06-05 Tom Tromey <tom@tromey.com>
4795
4796 PR cli/12326:
4797 * gdb.cp/static-print-quit.exp: Update.
4798 * lib/gdb.exp (pagination_prompt): Update.
4799 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
4800 * gdb.python/python.exp: Update.
4801
178d6a63
JB
48022018-06-04 Joel Brobecker <brobecker@adacore.com>
4803
4804 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
4805
8e817061
JB
48062018-06-01 Joel Brobecker <brobecker@adacore.com>
4807
4808 * gdb.ada/bp_fun_addr: New testcase.
4809
e86ca25f
TT
48102018-06-01 Tom Tromey <tom@tromey.com>
4811
4812 * gdb.xml/tdesc-regs.exp (load_description): Update expected
4813 results.
4814 * gdb.dwarf2/method-ptr.exp: Set language to C++.
4815 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
4816 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
4817 * gdb.base/maint.exp (maint_pass_if): Update.
4818
4b2dfa9d
MR
48192018-05-31 Maciej W. Rozycki <macro@mips.com>
4820
4821 * gdb.base/endian.exp: New test.
4822 * gdb.base/endian.c: New test source.
4823
45f25d6c
AB
48242018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
4825
4826 PR gdb/23203
4827 * gdb.base/bt-selected-frame.c: New file.
4828 * gdb.base/bt-selected-frame.exp: New file.
4829 * lib/gdb.exp (get_current_frame_number): New function.
4830
d9f6d7f8
MR
48312018-05-24 Maciej W. Rozycki <macro@mips.com>
4832 Pedro Alves <palves@redhat.com>
4833
4834 * gdb.threads/tls-core.c: Include <stdlib.h>
4835 (thread_proc): Call `abort'.
4836 * gdb.threads/tls-core.exp: Generate a core with core_find too.
4837 (tls_core_test): New procedure, bits factored out from ...
4838 (top level): ... here. Test both native cores and gcore cores.
4839
ff1cf532
TT
48402018-05-23 Tom Tromey <tom@tromey.com>
4841
4842 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
4843
b98664d3
TT
48442018-05-23 Tom Tromey <tom@tromey.com>
4845
4846 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
4847 symfile_complaints.
4848 (test_short_complaints): Likewise.
4849 (test_empty_complaints): Likewise.
4850 (test_initial_complaints): Update.
4851
4e9668d0
TT
48522018-05-23 Tom Tromey <tom@tromey.com>
4853
4854 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
4855
43ba33c7
TT
48562018-05-23 Tom Tromey <tom@tromey.com>
4857
4858 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
4859 (test_short_complaints): Update.
4860
035522c0
PA
48612018-05-22 Pedro Alves <palves@redhat.com>
4862
4863 * gdb.base/remote.exp: Only gdb_start after compiling the
4864 testcase. Issue "disconnect" before testing "set remote" command
4865 defaults. Issue clean_restart before running to main.
4866
cc0be08f
PA
48672018-05-22 Pedro Alves <palves@redhat.com>
4868
4869 * gdb.base/remote.exp: Adjust expected output of "show remote
4870 memory-write-packet-size". Add tests for "set remote
4871 memory-write-packet-size 0" and "set remote
4872 memory-write-packet-size fixed/limit".
4873
b1b60145
PA
48742018-05-22 Pedro Alves <palves@redhat.com>
4875
4876 PR gdb/22973
4877 * gdb.base/utf8-identifiers.c: New file.
4878 * gdb.base/utf8-identifiers.exp: New file.
4879
0ec848ad
PFC
48802018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
4881
4882 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
4883
2c3305f6
PFC
48842018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
4885
4886 * gdb.arch/powerpc-vsx-gcore.exp: New file.
4887
ce1e8424
TT
48882018-05-18 Tom Tromey <tom@tromey.com>
4889
4890 * gdb.base/ptype-offsets.exp: Update.
4891
ddfe970e
KS
48922018-05-17 Keith Seitz <keiths@redhat.com>
4893
4894 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
4895 in expected breakpoint stop locations.
4896 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
4897 move to proper scope to test variable values.
4898 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
4899 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
4900 New functions.
4901 (main): Call not_inline_func3.
4902 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
4903 inline_func1, inline_func2, and inline_func3. Test that when each
4904 breakpoint is hit, GDB properly reports both the stop location
4905 and the backtrace. Repeat tests for temporary breakpoints.
4906
0726fcc6
MR
49072018-05-15 Maciej W. Rozycki <macro@mips.com>
4908
4909 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
4910 rather then trying to access it in determining whether the PID
4911 of `gdbserver' could have been retrieved.
4912
8ee22052
AB
49132018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
4914
4915 * gdb.arch/amd64-init-x87-values.S: New file.
4916 * gdb.arch/amd64-init-x87-values.exp: New file.
4917
7785df48
JK
49182018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4919
4920 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
4921
56bcdbea
TT
49222018-05-04 Tom Tromey <tom@tromey.com>
4923
4924 PR python/22730:
4925 * gdb.python/python.exp: Test multi-line execute.
4926
a913fffb
TT
49272018-05-04 Tom Tromey <tom@tromey.com>
4928
4929 PR python/22731:
4930 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
4931
7a2c85f2
TT
49322018-05-04 Tom Tromey <tom@tromey.com>
4933
4934 PR gdb/11750:
4935 * gdb.base/define.exp: Test defining a user command inside a user
4936 command.
4937 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
4938
a3b60e45
JK
49392018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4940 Pedro Alves <palves@redhat.com>
4941
4942 PR breakpoints/19806 and support for PR external/20207.
4943 * gdb.base/watchpoint-unaligned.c: New file.
4944 * gdb.base/watchpoint-unaligned.exp: New file.
4945
45fe4a03
AB
49462018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4947
4948 * gdb.base/maint.exp: Make test names unique, use
4949 test_prefix_command_help to test 'help maint info', and remove
4950 repeated test of 'help maint'.
4951
9be2ae8f
TT
49522018-05-04 Tom Tromey <tom@tromey.com>
4953
4954 PR gdb/22619:
4955 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
4956 behavior.
4957
11859c31
AB
49582018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4959
4960 * gdb.base/maint.exp: Process output from 'maint print registers'
4961 line at a time.
4962
089a9490
AB
49632018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4964
4965 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
4966 timeout.
4967
9b0797e2
AB
49682018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
4969
4970 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
4971 filter pattern.
4972
f6ac5f3d
PA
49732018-05-02 Pedro Alves <palves@redhat.com>
4974
4975 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
4976 to_log_command renames.
4977 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
4978
77d3c63b
TT
49792018-05-02 Tom Tromey <tom@tromey.com>
4980
4981 * gdb.python/py-parameter.exp: Set test message.
4982
0489430a
TT
49832018-05-02 Tom Tromey <tom@tromey.com>
4984
4985 PR python/20084:
4986 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
4987 PARAM_ZUINTEGER_UNLIMITED tests.
4988
1632f8ba
DR
49892018-04-28 Dan Robertson <danlrobertson89@gmail.com>
4990
4991 PR rust/23124
4992 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
4993 when casting.
4994
6d7bb824
TT
49952018-04-30 Tom Tromey <tom@tromey.com>
4996
4997 * gdb.python/py-type.exp: Check align attribute.
4998 * gdb.python/py-type.c: New "aligncheck" global.
4999
007e1530
TT
50002018-04-30 Tom Tromey <tom@tromey.com>
5001
5002 PR exp/17095:
5003 * gdb.dwarf2/dw2-align.exp: New file.
5004 * gdb.cp/align.exp: New file.
5005 * gdb.base/align.exp: New file.
5006 * lib/gdb.exp (gdb_int128_helper): New proc.
5007 (has_int128_c, has_int128_cxx): New caching procs.
5008
6873858b
TT
50092018-04-27 Tom Tromey <tom@tromey.com>
5010
5011 PR rust/22545:
5012 * gdb.rust/simple.exp: Add inclusive range tests.
5013
79188d8d
PA
50142018-04-26 Pedro Alves <palves@redhat.com>
5015
5016 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
5017 ifunc breakpoint locations correctly of ifunc breakpoints set
5018 while the program resolves the ifunc.
5019
c7075ad5
PA
50202018-04-26 Pedro Alves <palves@redhat.com>
5021
5022 * gdb.base/gnu-ifunc-final.c: New file.
5023 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
5024 * gdb.base/gnu-ifunc.exp (executable): Delete.
5025 (staticexecutable): Adjust.
5026 (lib_opts, exec_opts): Delete.
5027 (make_binsuffix, build, set-break): New procedures.
5028 (misc_tests): New, with tests factored out from the top level.
5029 (top level): Test different combinations of ifunc resolver name,
5030 resolver with and with debug info, and ifunc target with and
5031 without debug info. Wrap static tests with with_target_prefix.
5032
8388016d
PA
50332018-04-26 Pedro Alves <palves@redhat.com>
5034
5035 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
5036 return type" warnings.
5037
249b5733
PA
50382018-04-25 Pedro Alves <palves@redhat.com>
5039
5040 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
5041 killed".
5042 * gdb.base/kill-after-signal.exp: Likewise.
5043 * gdb.threads/kill.exp: Likewise.
5044
f67c0c91
SDJ
50452018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5046 Sergio Durigan Junior <sergiodj@redhat.com>
5047 Pedro Alves <palves@redhat.com>
5048
5049 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
5050 regexps to expect for '[Inferior ... detached]' as well.
5051 * gdb.base/attach.exp: Likewise.
5052 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
5053 "gdb_continue_to_end".
5054 (test_catch_syscall_with_wrong_args): Likewise.
5055 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
5056 ']'. Don't set 'verbose' on.
5057 * gdb.base/foll-vfork.exp: Likewise.
5058 * gdb.base/fork-print-inferior-events.c: New file.
5059 * gdb.base/fork-print-inferior-events.exp: New file.
5060 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
5061 '[Inferior ... has been killed]' message.
5062 * gdb.base/kill-after-signal.exp: Likewise.
5063 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
5064 detach message.
5065 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
5066 message.
5067 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
5068 regexps to expect for '[Inferior ... detached]' as well.
5069 * gdb.threads/process-dies-while-detaching.exp: Likewise.
5070
0a8ddac4
SM
50712018-04-24 Simon Marchi <simon.marchi@ericsson.com>
5072
5073 PR gdb/23104
5074 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
5075
701adfb0
PA
50762018-04-22 Rajendra SY <rajendra.sy@gmail.com>
5077
5078 PR gdb/23095
5079 * gdb.base/break-probes.exp: Pass shlib_load to
5080 prepare_for_testing. Set normal_bp to r_debug_state if target is
5081 bsd.
5082
d27d16bf
RB
50832018-04-19 Richard Bunt <richard.bunt@arm.com>
5084
5085 * gdb.threads/multiple-successive-infcall.c: New test.
5086 * gdb.threads/multiple-successive-infcall.exp: New file.
5087
a037790e
TT
50882018-04-17 Tom Tromey <tom@tromey.com>
5089
5090 * gdb.rust/simple.rs (Union): New type.
5091 (main): New local "u".
5092 * gdb.rust/simple.exp (test_one_slice): Add new test case.
5093
e3a91079
AA
50942018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5095
5096 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
5097 number information in output of "whereis" command.
5098 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
5099
b744723f
AA
51002018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5101
5102 * gdb.ada/info_types.exp: Adjust expected output to the line
5103 numbers now printed by "info var/func/type".
5104 * gdb.base/completion.exp: Likewise.
5105 * gdb.base/included.exp: Likewise.
5106 * gdb.cp/cp-relocate.exp: Likewise.
5107 * gdb.cp/cplusfuncs.exp: Likewise.
5108 * gdb.cp/namespace.exp: Likewise.
5109 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
5110
4a4495d6
MM
51112018-04-13 Markus Metzger <markus.t.metzger@intel.com>
5112
5113 * gdb.btrace/cpu.exp: New.
5114
1d509aa6
MM
51152018-04-13 Markus Metzger <markus.t.metzger@intel.com>
5116
5117 * gdb.base/step-indirect-call-thunk.exp: New.
5118 * gdb.base/step-indirect-call-thunk.c: New.
5119 * gdb.reverse/step-indirect-call-thunk.exp: New.
5120 * gdb.reverse/step-indirect-call-thunk.c: New.
5121
6295b6da
SM
51222018-04-11 Simon Marchi <simon.marchi@ericsson.com>
5123
5124 * gdb.base/pie-fork.c: New file.
5125 * gdb.base/pie-fork.exp: New file.
5126
50146e70
TT
51272018-04-11 Tom Tromey <tom@tromey.com>
5128
5129 * gdb.rust/simple.exp: Add test for ".." struct initializer.
5130
f50d8a2e
PA
51312018-04-10 Pedro Alves <palves@redhat.com>
5132
5133 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
5134 exits. Instead loop running forever.
5135 (fork_parent): Run forever too.
5136
a0be7a36
SM
51372018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
5138
5139 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
5140 mi_continue_to_line.
5141 * gdb.mi/mi-stack.c (callee4): Add comment.
5142
9b73db36
SM
51432018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
5144
5145 * gdb.mi/mi-stack.exp: Fix indentation.
5146
c912f608
SM
51472018-04-07 Simon Marchi <simon.marchi@ericsson.com>
5148
5149 PR gdb/22979
5150 * gdb.arch/amd64-osabi.exp: New file.
5151
26540402
SM
51522018-04-07 Simon Marchi <simon.marchi@ericsson.com>
5153
5154 PR gdb/22980
5155 * gdb.base/osabi.exp: New file.
5156
121ad66c 51572018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
5158
5159 * gdb.cp/static-typedef-print.exp: New file.
5160 * gdb.cp/static-typedef-print.cc: New file.
5161
3fcded8f
JB
51622018-03-27 Joel Brobecker <brobecker@adacore.com>
5163
5164 * gdb.ada/varsize_limit: New testcase.
5165
59cc4834
JB
51662018-03-27 Joel Brobecker <brobecker@adacore.com>
5167
5168 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
5169
5170 * gdb.ada/notcplusplus: New testcase.
5171
5172 * gdb.base/c-linkage-name.c: New file.
5173 * gdb.base/c-linkage-name.exp: New testcase.
5174
4ca59a9f
TT
51752018-03-26 Tom Tromey <tom@tromey.com>
5176
5177 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
5178 * gdb.python/py-framefilter.py (name_error): New global.
5179 (ErrorInName.function): Use name_error.
5180
978d6c75
TT
51812018-03-26 Tom Tromey <tom@tromey.com>
5182
5183 PR backtrace/15582:
5184 * gdb.python/py-framefilter.exp: Add "bt hide" test.
5185
b7fee5a3
KS
51862018-03-23 Keith Seitz <keiths@redhat.com>
5187
5188 PR c++/22968
5189 * gdb.cp/subtypes.exp: New file.
5190 * gdb.cp/subtypes.h: New file.
5191 * gdb.cp/subtypes.cc: New file.
5192 * gdb.cp/subtypes-2.cc: New file.
5193
376be529
AB
51942018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
5195
5196 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
5197 (done): Call '_exit' not 'exit' to avoid atexit handlers.
5198 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
5199 -nostartfiles when compiling the test. Confirm that all registers
5200 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
5201
066cfa98
AB
52022018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
5203
5204 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
5205 option, syntax was wrong anyway.
5206 * gdb.arch/arm-disp-step.exp: Likewise.
5207 * gdb.arch/sparc64-regs.exp: Likewise.
5208 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
5209 option, syntax was wrong anyway, switch to use
5210 prepare_for_testing.
5211 * gdb.arch/i386-disp-step.exp: Likewise.
5212
079670b9
AA
52132018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
5214
5215 * gdb.ada/exec_changed.exp: Replace "target_info exists
5216 use_gdb_stub" by "use_gdb_stub".
5217 * gdb.ada/start.exp: Likewise.
5218 * gdb.base/async-shell.exp: Likewise.
5219 * gdb.base/attach-pie-misread.exp: Likewise.
5220 * gdb.base/attach-wait-input.exp: Likewise.
5221 * gdb.base/break-entry.exp: Likewise.
5222 * gdb.base/break-interp.exp: Likewise.
5223 * gdb.base/dprintf-detach.exp: Likewise.
5224 * gdb.base/nostdlib.exp: Likewise.
5225 * gdb.base/solib-nodir.exp: Likewise.
5226 * gdb.base/statistics.exp: Likewise.
5227 * gdb.base/testenv.exp: Likewise.
5228 * gdb.mi/mi-exec-run.exp: Likewise.
5229 * gdb.mi/mi-start.exp: Likewise.
5230 * gdb.multi/dummy-frame-restore.exp: Likewise.
5231 * gdb.multi/multi-arch-exec.exp: Likewise.
5232 * gdb.multi/multi-arch.exp: Likewise.
5233 * gdb.multi/tids.exp: Likewise.
5234 * gdb.multi/watchpoint-multi.exp: Likewise.
5235 * gdb.python/py-events.exp: Likewise.
5236 * gdb.threads/attach-into-signal.exp: Likewise.
5237 * gdb.threads/attach-stopped.exp: Likewise.
5238 * gdb.threads/threadapply.exp: Likewise.
5239 * lib/selftest-support.exp: Likewise.
5240
26d6cec4
AA
52412018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
5242
5243 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
5244
4ee89e90
SR
52452018-03-20 Stephen Roberts <stephen.roberts@arm.com>
5246
5247 * gdb.perf/template-breakpoints.cc: New file.
5248 * gdb.perf/template-breakpoints.exp: New file.
5249 * gdb.perf/template-breakpoints.py: New file.
5250
92630041
TT
52512018-03-19 Tom Tromey <tom@tromey.com>
5252
5253 * gdb.rust/simple.rs (main): Add local variables field1, field2,
5254 y0.
5255 * gdb.rust/simple.exp: Test bare identifier form of struct
5256 initializer.
5257
76727919
TT
52582018-03-19 Tom Tromey <tom@tromey.com>
5259
5260 * gdb.gdb/observer.exp: Remove.
5261
194ed413
AA
52622018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5263
5264 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
5265 "qualified" option when setting breakpoints.
5266 * gdb.trace/backtrace.exp: Likewise.
5267 * gdb.trace/circ.exp: Likewise.
5268 * gdb.trace/collection.exp: Likewise.
5269 * gdb.trace/disconnected-tracing.exp: Likewise.
5270 * gdb.trace/ftrace-lock.exp: Likewise.
5271 * gdb.trace/ftrace.exp: Likewise.
5272 * gdb.trace/infotrace.exp: Likewise.
5273 * gdb.trace/packetlen.exp: Likewise.
5274 * gdb.trace/passc-dyn.exp: Likewise.
5275 * gdb.trace/qtro.exp: Likewise.
5276 * gdb.trace/read-memory.exp: Likewise.
5277 * gdb.trace/report.exp: Likewise.
5278 * gdb.trace/signal.exp: Likewise.
5279 * gdb.trace/status-stop.exp: Likewise.
5280 * gdb.trace/strace.exp: Likewise.
5281 * gdb.trace/tfind.exp: Likewise.
5282 * gdb.trace/trace-break.exp: Likewise.
5283 * gdb.trace/trace-condition.exp: Likewise.
5284 * gdb.trace/trace-mt.exp: Likewise.
5285 * gdb.trace/tstatus.exp: Likewise.
5286 * gdb.trace/tsv.exp: Likewise.
5287 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
5288 * gdb.trace/unavailable.exp: Likewise.
5289 * gdb.trace/while-dyn.exp: Likewise.
5290
8b067d2c
AA
52912018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5292
5293 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
5294 that libinproctrace is copied to the target.
5295
3ae9ce5d
TT
52962018-03-14 Tom Tromey <tom@tromey.com>
5297
5298 PR cli/14977:
5299 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
5300 a null pointer.
5301 * gdb.base/wchar.exp: Likewise.
5302
b8c2339b
TT
53032018-03-14 Tom Tromey <tom@tromey.com>
5304
5305 PR cli/19918:
5306 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
5307 flag.
5308
4872dc46
SM
53092018-03-08 Simon Marchi <simon.marchi@ericsson.com>
5310
5311 PR gdb/22841
5312 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
5313 "target" to remote_exec.
5314
e4fe3756
SM
53152018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
5316
5317 PR gdb/22841
5318 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
5319 ${board}_upload): Remove.
5320
e95a97d4
AA
53212018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
5322
5323 * gdb.cp/watch-cp.cc: New test.
5324 * gdb.cp/watch-cp.exp: New file.
5325
dbbb1059
AB
53262018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5327
5328 * gdb.base/infcall-nested-structs.exp: New file.
5329 * gdb.base/infcall-nested-structs.c: New file.
5330 * gdb.base/float.exp: Add riscv support.
5331
ecc054c0
TP
53322018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
5333
5334 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
5335 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
5336
25e3c82c
SDJ
53372018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
5338
5339 * gdb.server/abspath.exp: New file.
5340 * lib/gdb.exp (with_cwd): New procedure.
5341
3083294d
SM
53422018-02-28 Simon Marchi <simon.marchi@ericsson.com>
5343
5344 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
5345 use it.
5346 (gdb_is_target_remote_prompt): New proc.
5347 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
5348 (gdb_is_target_native): Pass prompt parameter to
5349 gdb_is_target_1.
5350
3275ef47
SM
53512018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
5352
5353 * gdb.base/load-command.c: New file.
5354 * gdb.base/load-command.exp: New file.
5355 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
5356 (gdb_is_target_1): ...this, and generalize for other targets
5357 than just remote.
5358 (gdb_is_target_remote): Use gdb_is_target_1.
5359 (gdb_is_target_native): use gdb_is_target_1.
5360
6893c19a
TT
53612018-02-26 Tom Tromey <tom@tromey.com>
5362
5363 PR python/16497:
5364 * gdb.python/py-framefilter.exp: Update test.
5365
2ddeaf8a
TT
53662018-02-26 Tom Tromey <tom@tromey.com>
5367
5368 * gdb.dwarf2/variant.c: New file.
5369 * gdb.dwarf2/variant.exp: New file.
5370
c9317f21
TT
53712018-02-26 Tom Tromey <tom@tromey.com>
5372
5373 * gdb.rust/simple.exp: Accept more possible results in enum test.
5374
6f6d0c26
SM
53752018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
5376
5377 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
5378 parentheses.
5379
11b03145
MR
53802018-02-23 Maciej W. Rozycki <macro@mips.com>
5381
5382 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
5383 name of a variable: $actual_linejj -> $actual_line.
5384
54a27fe5
JB
53852018-02-21 John Baldwin <jhb@FreeBSD.org>
5386
5387 * gdb.arch/amd64-i386-address.exp: Fix a typo.
5388
de65820c
MM
53892018-02-20 Markus Metzger <markus.t.metzger@intel.com>
5390
5391 * gdb.btrace/buffer-size.exp: Do not force BTS.
5392
980548fd
PA
53932018-02-14 Pedro Alves <palves@redhat.com>
5394
5395 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
5396 getting a "Quit".
5397
c4e12631
MM
53982018-02-09 Markus Metzger <markus.t.metzger@intel.com>
5399
5400 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
5401 Fix test name.
5402
c2e0e465
SM
54032018-02-07 Simon Marchi <simon.marchi@ericsson.com>
5404
5405 * gdb.cp/m-static.exp: Check type of optimized out static
5406 member.
5407
f7216783
AB
54082018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
5409
5410 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
5411 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
5412
0625771b
LS
54132018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
5414 Leszek Swirski <leszeks@google.com>
5415
5416 * gdb.python/py-prettyprint.c
5417 (struct to_string_returns_value_inner,
5418 struct to_string_returns_value_wrapper): New.
5419 (main): Add tsrvw variable.
5420 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
5421 ToStringReturnsValueWrapper): New classes.
5422 (register_pretty_printers): Register new pretty-printers.
5423 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
5424 recursive pretty printer.
5425 * gdb.python/py-mi.exp: Likewise.
5426
59498c30
LS
54272018-02-01 Leszek Swirski <leszeks@google.com>
5428
5429 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
5430 functions with the same name as an include file are parsed
5431 correctly.
5432
d4d38844
YQ
54332018-02-01 Yao Qi <yao.qi@linaro.org>
5434
5435 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
5436 "\[^\r\n\]*".
5437
07e5f5cf
NP
54382018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
5439
5440 * gdb.arch/powerpc-prologue-frame.s: New file.
5441 * gdb.arch/powerpc-prologue-frame.c: Likewise.
5442 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
5443
929b5ad4
JB
54442018-01-31 Joel Brobecker <brobecker@adacore.com>
5445
5446 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
5447
e671cd59
PA
54482018-01-30 Pedro Alves <palves@redhat.com>
5449
5450 PR gdb/13211
5451 * gdb.base/interrupt-daemon.c: New.
5452 * gdb.base/interrupt-daemon.exp: New.
5453 * gdb.multi/multi-term-settings.c: New.
5454 * gdb.multi/multi-term-settings.exp: New.
5455
fc413dc4
JB
54562018-01-30 Joel Brobecker <brobecker@adacore.com>
5457
5458 * gdb.base/break.exp: Save the location where the breakpoint
5459 on break.c:47 was actually inserted when debugging the version
5460 compiled at -O2 and use it in the expected output of the "info
5461 break" test performed soon after.
5462
5c319bb2
PA
54632018-01-22 Pedro Alves <palves@redhat.com>
5464 Sergio Durigan Junior <sergiodj@redhat.com>
5465
5466 * gdb.base/whatis.exp: Add tests for 'set print object on' +
5467 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
5468
a9e40818
JB
54692018-01-22 Joel Brobecker <brobecker@adacore.com>
5470
5471 * gdb.base/break-include.c, gdb.base/break-include.inc,
5472 gdb.base/break-include.exp: New files.
5473 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
5474 line number now being the actual line number where the breakpoint
5475 was inserted.
5476 * gdb.mi/mi-break.exp: Likewise.
5477 * gdb.mi/mi-reverse.exp: Likewise.
5478 * gdb.mi/mi-simplerun.exp: Ditto.
5479
e707fc44
AB
54802018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
5481
5482 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
5483 varobj.
5484 * gdb.mi/mi-var-create-rtti.exp: Likewise.
5485
ae451627
AB
54862018-01-21 Don Breazeal <donb@codesourcery.com>
5487 Andrew Burgess <andrew.burgess@embecosm.com>
5488
5489 * gdb.mi/basics.c: Add new global.
5490 * gdb.mi/mi-frame-regs.exp: New file.
5491 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
5492 case.
5493
b1b189e0
AB
54942018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
5495
5496 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
5497 non-parameter, and on an unknown symbol.
5498
fcfcc376
TT
54992018-01-19 Tom Tromey <tom@tromey.com>
5500
5501 * gdb.rust/modules.rs (TWENTY_THREE): New global.
5502 * gdb.rust/modules.exp: Add ::-qualified lookup test.
5503
634c1c31
AA
55042018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5505
5506 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
5507 setrlimit and chdir to int.
5508
d6ad07fd
AA
55092018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5510
5511 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
5512 function.
5513 (my_tend): Likewise.
5514 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
5515 rationale of avoiding FP- and vector instructions.
5516
adf8243b
RK
55172018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
5518
5519 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
5520 "info reg" with "\[ \t\]*".
5521 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
5522 "\[ \t\]+".
5523 * gdb.arch/s390-multiarch.exp: Ditto.
5524 * gdb.base/pc-fp.exp: Ditto.
5525 * gdb.reverse/i386-precsave.exp: Ditto.
5526 * gdb.reverse/i386-reverse.exp: Ditto.
5527 * gdb.reverse/i387-env-reverse.exp: Ditto.
5528 * gdb.reverse/i387-stack-reverse.exp: Ditto.
5529
dcc06925
AA
55302018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
5531
5532 * lib/gdb.exp (gdb_compile): Re-enable use of
5533 universal_compile_options for languages other than Rust.
5534
25d4fd80
AA
55352018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
5536
5537 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
5538
ee7f689e 55392018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
5540
5541 PR gdb/16577
5542 * gdb.base/solib-vanish.exp: New.
5543 * gdb.base/solib-vanish-main.c: New.
5544 * gdb.base/solib-vanish-lib1.c: New.
5545 * gdb.base/solib-vanish-lib2.c: New.
5546
d8447b6b
YQ
55472018-01-17 Yao Qi <yao.qi@linaro.org>
5548
5549 * gdb.compile/compile.exp: Match the address printed for
5550 frame in the output of command "bt".
5551
86d6a90c
TT
55522018-01-15 Tom Tromey <tom@tromey.com>
5553
5554 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
5555 compute sp_reg.
5556
cbcdb1aa
AB
55572018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
5558
5559 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
5560 to prepare.
5561 (prepare): Return 0 on error, 1 on success.
5562
eea61984
PA
55632018-01-12 Pedro Alves <palves@redhat.com>
5564
5565 * gdb.base/continue-after-aborted-step-over.c: New.
5566 * gdb.base/continue-after-aborted-step-over.exp: New.
5567
6181e9c2
SM
55682018-01-11 Simon Marchi <simon.marchi@ericsson.com>
5569
5570 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
5571 options when not creating an executable.
5572
3cada740
PA
55732018-01-11 Pedro Alves <palves@redhat.com>
5574
5575 PR remote/22597
5576 * gdb.server/stop-reply-no-thread.c: New file.
5577 * gdb.server/stop-reply-no-thread.exp: New file.
5578
c63d3e8d
PA
55792018-01-10 Pedro Alves <palves@redhat.com>
5580
5581 PR gdb/22670
5582 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
5583 functions too. Test setting breakpoints and printing C functions
5584 with no debug info too.
5585 * gdb.ada/bp_c_mixed_case/qux.c: New file.
5586
d4c2a405
PA
55872018-01-10 Pedro Alves <palves@redhat.com>
5588
5589 PR gdb/22670
5590 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
5591 a fail.
5592
8825213e
PA
55932018-01-10 Pedro Alves <palves@redhat.com>
5594
5595 PR gdb/22670
5596 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
5597
605fd3c6
YQ
55982018-01-08 Simon Marchi <simon.marchi@ericsson.com>
5599
5600 * gdb.server/unittest.exp: Match the output in non-development
5601 mode.
5602
1e5ded6c
YQ
56032018-01-08 Simon Marchi <simon.marchi@ericsson.com>
5604
5605 * gdb.gdb/unittest.exp: Match output in non-development mode.
5606
30066b0b
JB
56072018-01-08 Joel Brobecker <brobecker@adacore.com>
5608
5609 * gdb.ada/access_tagged_param.exp: Relax expected output
5610 for value of "ObjL" in "continue" to pck.inspect breakpoint
5611 test.
5612
04bafb1e
XR
56132018-01-08 Joel Brobecker <brobecker@adacore.com>
5614
9f86398b
JB
5615 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
5616 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 5617
e379cee6
PA
56182018-01-05 Pedro Alves <palves@redhat.com>
5619
5620 PR gdb/18653
5621 * gdb.base/libsegfault.exp: New.
5622
de63c46b
PA
56232018-01-05 Joel Brobecker <brobecker@adacore.com>
5624
5625 PR gdb/22670
5626 * gdb.ada/access_tagged_param.exp: New file.
5627 * gdb.ada/access_tagged_param/foo.adb: New file.
5628
f98fc17b
PA
56292018-01-05 Pedro Alves <palves@redhat.com>
5630
5631 PR gdb/22670
5632 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
5633 exercise lower case too, and to exercise both full matching and
5634 wild matching.
5635
342f8240
JB
56362018-01-05 Joel Brobecker <brobecker@adacore.com>
5637
5638 * gdb.ada/rename_subscript_param: New testcase.
5639
7150d33c
JG
56402018-01-05 Jerome Guitton <guitton@adacore.com>
5641
5642 * gdb.ada/arr_acc_idx_w_gap: New testcase.
5643
cc0e770c
JB
56442018-01-05 Joel Brobecker <brobecker@adacore.com>
5645
5646 * gdb.ada/convvar_comp: New testcase.
5647
672a41aa 56482018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
5649
5650 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
5651 (My_Table): New global variable.
5652 * testsuite/gdb.ada/array_char_idx.exp: Add test.
5653
7365ec2f
JB
56542018-01-04 Joel Brobecker <brobecker@adacore.com>
5655
5656 PR gdb/22670
5657 * gdb.ada/maint_with_ada: New testcase.
5658
289483b6
JB
56592018-01-04 Joel Brobecker <brobecker@adacore.com>
5660
5661 PR gdb/22670
5662 * gdb.ada/bp_c_mixed_case: New testcase.
5663
344420da
JB
56642018-01-04 Joel Brobecker <brobecker@adacore.com>
5665
5666 PR gdb/22670
5667 * gdb.ada/complete.exp: Add "complete break ada" test.
5668
66fc87a0
JB
56692018-01-04 Joel Brobecker <brobecker@adacore.com>
5670
5671 PR gdb/22670
5672 * gdb.ada/info_addr_mixed_case: New testcase.
5673
9f757bf7
XR
56742018-01-03 Xavier Roirand <roirand@adacore.com>
5675
5676 * gdb.ada/excep_handle.exp: New testcase.
5677 * gdb.ada/excep_handle/foo.adb: New file.
5678 * gdb.ada/excep_handle/pck.ads: New file.
5679
bd570f80
JB
56802018-01-03 Joel Brobecker <brobecker@adacore.com>
5681
5682 * gdb.base/step-line.c: Add extra empty line in copyright header.
5683 * gdb.base/step-line.inp: Likewise.
5684
9fe561ab
JB
56852018-01-02 Joel Brobecker <brobecker@adacore.com>
5686
5687 * gdb.ada/dyn_stride.exp: Add slice test.
5688
a405673c
JB
56892018-01-02 Joel Brobecker <brobecker@adacore.com>
5690
5691 * gdb.ada/dyn_stride: New testcase.
5692
cef0f868
SH
56932017-12-27 Stafford Horne <shorne@gmail.com>
5694
5695 * gdb.xml/extra-regs.xml: Add example foo reggroup.
5696 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
5697
b67d92b0
SH
56982017-12-27 Stafford Horne <shorne@gmail.com>
5699
5700 * gdb.base/reggroups.c: New file.
5701 * gdb.base/reggroups.exp: New file.
5702
eccab96d
JB
57032017-12-18 Joel Brobecker <brobecker@adacore.com>
5704
5705 * gdb.dwarf2/ada-valprint-error.c: New file.
5706 * gdb.dwarf2/ada-valprint-error.exp: New file.
5707
0e2da9f0
JB
57082017-12-18 Joel Brobecker <brobecker@adacore.com>
5709
5710 * gdb.ada/assign_arr: New testcase.
5711
cb923fcc
XR
57122017-12-18 Xavier Roirand <roirand@adacore.com>
5713
5714 * gdb.ada/funcall_ptr: New testcase.
5715
7c161838
SDJ
57162017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5717
5718 PR cli/16224
5719 * gdb.base/ptype-offsets.cc: New file.
5720 * gdb.base/ptype-offsets.exp: New file.
5721
1af17fd9
YQ
57222017-12-15 Yao Qi <yao.qi@linaro.org>
5723
5724 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
5725 if XML is disabled.
5726
828d5846
XR
57272017-12-15 Xavier Roirand <roirand@adacore.com>
5728
5729 * gdb.ada/same_component_name: New testcase.
5730
79e8fcaa
JB
57312017-12-14 Joel Brobecker <brobecker@adacore.com>
5732
5733 * gdb.ada/str_binop_equal: New testcase.
5734
e05fa6f9
JB
57352017-12-14 Joel Brobecker <brobecker@adacore.com>
5736
5737 * gdb.ada/task_switch_in_core: New testcase.
5738
b89641ba
SM
57392017-12-13 Simon Marchi <simon.marchi@ericsson.com>
5740
5741 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
5742 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
5743 call test_bkpt_qualified.
5744 (test_bkpt_qualified): New proc.
5745
6892d2e4
PA
57462017-12-13 Pedro Alves <palves@redhat.com>
5747
5748 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
5749 Tighten regexp by matching with an anchor.
5750
a22ecf70
PA
57512017-12-13 Pedro Alves <palves@redhat.com>
5752
5753 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
5754 ("expression with namespace"): New set of tests.
5755 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
5756 (Nested::Test_NS::qux): New.
5757 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
5758 defaults to 'start_quote_char' and 'end_quote_char' parameters.
5759
9937536c
JB
57602017-12-13 Joel Brobecker <brobecker@adacore.com>
5761
5762 * gdb.base/server-del-break.c: New file.
5763 * gdb.base/server-del-break.exp: New file.
5764
fe49c6f5
SH
57652017-12-12 Stafford Horne <shorne@gmail.com>
5766
5767 * gdb.xml/tdesc-regs.exp: Add or1k support.
5768
c3d18620
SH
57692017-12-12 Stafford Horne <shorne@gmail.com>
5770
5771 * gdb.base/bp-permanent.c: Define nop of or1k.
5772
c5f9cfc8
JB
57732017-12-11 Joel Brobecker <brobecker@adacore.com>
5774
5775 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
5776 output with components being reordered.
5777
a9c135fc
JB
57782017-12-11 Joel Brobecker <brobecker@adacore.com>
5779
5780 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
5781 output with components being reordered.
5782
927aa2e7
JK
57832017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5784 Pedro Alves <palves@redhat.com>
5785
5786 * gdb.base/maint.exp (check for .gdb_index): Check also for
5787 .debug_names.
5788 * gdb.dlang/watch-loc.c (.debug_aranges): New.
5789 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
5790 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
5791 (.gdb_index used after symbol reloading): Support also .debug_names.
5792 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
5793
f17d9474
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 tests for watchpoint.
5798
a0de8c21
YQ
57992017-12-08 Yao Qi <yao.qi@linaro.org>
5800
5801 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
5802 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
5803
a738ea1d
YQ
58042017-12-08 Yao Qi <yao.qi@linaro.org>
5805
5806 * gdb.arch/aarch64-tagged-pointer.c: New file.
5807 * gdb.arch/aarch64-tagged-pointer.exp: New file.
5808
1cd9a73b
SDJ
58092017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
5810
5811 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
5812 "int".
5813
fa6eb693
KS
58142017-12-07 Keith Seitz <keiths@redhat.com>
5815
5816 PR breakpoints/22569
5817 * gdb.linespec/ls-errs.exp: Change expected result of "break
5818 -source this file has spaces.c -line 3".
5819 Check that an explicit source file followed by whitespace is
5820 identified as an invalid explicit location.
5821
883fd55a
KS
58222017-12-07 Keith Seitz <keiths@redhat.com>
5823
5824 * gdb.cp/nested-types.cc: New file.
5825 * gdb.cp/nested-types.exp: New file.
5826 * lib/cp-support.exp: Load data-structures.exp library.
5827 (debug_cp_test_ptype_class): New global.
5828 (cp_ptype_class_verbose, next_line): New procedures.
5829 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
5830 Add and document new return value.
5831 Switch the list of lines to a queue.
5832 Add support for new `type' key for nested type definitions.
5833 Add debugging/troubleshooting messages.
5834 * lib/data-structures.exp: New file.
5835
ec72db3e
SM
58362017-12-07 Simon Marchi <simon.marchi@ericsson.com>
5837
5838 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
5839 with proc_with_prefix, don't use with_test_prefix.
5840
99598d71
TT
58412017-12-07 Tom Tromey <tom@tromey.com>
5842
5843 * gdb.base/break.exp: Add test for empty "commands".
5844
a8806230
YQ
58452017-12-07 Yao Qi <yao.qi@linaro.org>
5846
5847 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
5848 malloc and catch syscall.
5849
824cc835
PM
58502017-12-07 Phil Muldoon <pmuldoon@redhat.com>
5851
e79be6e5 5852 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
5853 tests for explicit locations.
5854
7cc244de
PA
58552017-12-06 Pedro Alves <palves@redhat.com>
5856
5857 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
5858 force-disabling XML descriptions.
5859
50a1fdd5
PA
58602017-12-04 Pedro Alves <palves@redhat.com>
5861
5862 PR gdb/22499
5863 * gdb.arch/amd64-disp-step-avx.S: New file.
5864 * gdb.arch/amd64-disp-step-avx.exp: New file.
5865
f0fb2488
PA
58662017-12-03 Pedro Alves <palves@redhat.com>
5867
5868 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
5869 and <string.h>.
5870 (parent_function): Print distinct messages when waitpid fails, or
5871 the child exits with a signal, or the child exits for an unhandled
5872 reason.
5873 * gdb.threads/process-dies-while-detaching.exp
5874 (detach_and_expect_exit): New 'inf_output_re' parameter and use
5875 it. Wait for both inferior output and GDB's prompt. Use an
5876 indirect spawn id list.
5877 (do_detach): New parameter 'child_exit'. Use it to compute
5878 expected inferior output.
5879 (test_detach, test_detach_watch, test_detach_killed_outside):
5880 Adjust to pass down the expected child exit kind.
5881
97cbe998
SDJ
58822017-12-01 Joel Brobecker <brobecker@adacore.com>
5883 Sergio Durigan Junior <sergiodj@redhat.com>
5884 Pedro Alves <palves@redhat.com>
5885
5886 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
5887
40fc416f
SDJ
58882017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
5889
5890 * gdb.base/relocate.exp: Add tests to guarantee that arguments
5891 to 'symbol-file' and 'add-symbol-file' can be
5892 position-independent.
5893
1cc75e92
YQ
58942017-12-01 Yao Qi <yao.qi@linaro.org>
5895
5896 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
5897 the URL in copyright header.
5898 * gdb.arch/aarch64-fp.exp: Likewise.
5899 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
5900 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
5901 * gdb.base/expand-psymtabs.exp: Likewise.
5902 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
5903 * gdb.fortran/common-block.exp: Likewise.
5904 * gdb.fortran/common-block.f90: Likewise.
5905 * gdb.fortran/logical.exp: Likewise.
5906 * gdb.fortran/vla-datatypes.f90: Likewise.
5907 * gdb.fortran/vla-sub.f90: Likewise.
5908
875fb7a7
JB
59092017-11-30 Joel Brobecker <brobecker@adacore.com>
5910
5911 * gdb.ada/repeat_dyn: New testcase.
5912
6f14765f
UW
59132017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
5914
5915 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
5916 Update for changed thread numbering.
5917 * gdb.cell/bt.exp: Update for changed GDB output.
5918
f1af7b94
SM
59192017-11-30 Simon Marchi <simon.marchi@ericsson.com>
5920
5921 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
5922 setting isremote by hand.
5923 * boards/dwarf4-gdb-index.exp: Likewise.
5924 * boards/fission.exp: Likewise.
5925 * boards/stabs.exp: Likewise.
5926
e3919f3e
PA
59272017-11-30 Pedro Alves <palves@redhat.com>
5928
5929 * gdb.linespec/cpls-ops.exp
5930 (check_explicit_skips_function_argument): Extract the underlying
5931 type of size_t instead of hardcoding it.
5932
bd69330d
PA
59332017-11-29 Pedro Alves <palves@redhat.com>
5934
5935 PR c++/19436
5936 * gdb.linespec/cpls-abi-tag.cc: New file.
5937 * gdb.linespec/cpls-abi-tag.exp: New file.
5938
a20714ff
PA
59392017-11-29 Pedro Alves <palves@redhat.com>
5940
5941 * gdb.base/langs.exp: Use -qualified.
5942 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
5943 it.
5944 * gdb.cp/namespace.exp: Use -qualified.
5945 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
5946 (overload-3, template-overload, template-ret-type, const-overload)
5947 (const-overload-quoted, anon-ns, ambiguous-prefix): New
5948 procedures.
5949 (test_driver): Call them.
5950 * gdb.cp/save-bp-qualified.cc: New.
5951 * gdb.cp/save-bp-qualified.exp: New.
5952 * gdb.linespec/explicit.exp: Test -qualified.
5953 * lib/completion-support.exp (completion::explicit_opts_list): Add
5954 "-qualified".
5955 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
5956
f6f1d339
PM
59572017-11-29 Phil Muldoon <pmuldoon@redhat.com>
5958
5959 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
5960
02ca603a
TT
59612017-11-29 Tom Tromey <tom@tromey.com>
5962
5963 * gdb.base/relocate.exp: Update invalid argument test.
5964 Add new tests for invalid arguments.
5965
ed6c0bfb
TP
59662017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5967
5968 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
5969 Return 0 as a long.
5970 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
5971
f106e10e
TP
59722017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5973
5974 * gdb.cp/breakpoint.cc (bar): Set return type to void.
5975 * gdb.cp/psymtab-parameter.cc (func): Likewise.
5976 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
5977 func ().
5978 * gdb.cp/shadow.cc (B.func): Return 0.
5979
10329bb2
JB
59802017-11-27 Joel Brobecker <brobecker@adacore.com>
5981
5982 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
5983 expected output in gdb_expect call to allow the exception
5984 message to be present as well. Fix syntax confusion to avoid
5985 TCL thinking that exception_name is an array.
5986
617cd4bc
UW
59872017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
5988
5989 * gdb.arch/spu-info.c: Include <unistd.h>.
5990 (do_signal_test): Fix broken calls to write.
5991 * gdb.arch/spu-info.exp: Use prepare_for_testing.
5992 Fix checks for empty mailboxes. Update signal tests for corrected
5993 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
5994 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
5995 * gdb.cell/arch.exp: Use standard_output_file.
5996 * gdb.cell/break.exp: Likewise.
5997 * gdb.cell/bt.exp: Likewise.
5998 * gdb.cell/core.exp: Likewise.
5999 * gdb.cell/dwarfaddr.exp: Likewise.
6000 * gdb.cell/ea-cache.exp: Likewise.
6001 * gdb.cell/ea-standalone.exp: Likewise.
6002 * gdb.cell/f-regs.exp: Likewise.
6003 * gdb.cell/fork.exp: Likewise.
6004 * gdb.cell/gcore.exp: Likewise.
6005 * gdb.cell/mem-access.exp: Likewise.
6006 * gdb.cell/ptype.exp: Likewise.
6007 * gdb.cell/registers.exp: Likewise.
6008 * gdb.cell/sizeof.exp: Likewise.
6009 * gdb.cell/solib-symbol.exp: Likewise.
6010 * gdb.cell/solib.exp: Likewise.
617cd4bc 6011
a81aaca0
PA
60122017-11-25 Pedro Alves <palves@redhat.com>
6013
6014 * gdb.base/complete-empty.exp: New file.
6015 * gdb.base/completion.exp: Adjust.
6016
6a3c6ee4
PA
60172017-11-25 Pedro Alves <palves@redhat.com>
6018
6019 * gdb.linespec/cpls-ops.cc: New file.
6020 * gdb.linespec/cpls-ops.exp: New file.
6021 * lib/completion-support.exp (test_complete_prefix_range_re): New,
6022 factored out from ...
6023 (test_complete_prefix_range): ... this.
6024
8955eb2d
PA
60252017-11-24 Pedro Alves <palves@redhat.com>
6026
6027 * gdb.linespec/cpcompletion.exp: New file.
6028 * gdb.linespec/cpls-hyphen.cc: New file.
6029 * gdb.linespec/cpls.cc: New file.
6030 * gdb.linespec/cpls2.cc: New file.
6031 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
6032 test to use test_gdb_complete_unique. Add label completion,
6033 keyword completion and explicit location completion tests.
6034 * lib/completion-support.exp: New file.
6035
e547c119
JB
60362017-11-24 Joel Brobecker <brobecker@adacore.com>
6037
6038 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
6039 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
6040 when hitting an exception catchpoint.
6041
7c3c1aa8
YQ
60422017-11-22 Yao Qi <yao.qi@linaro.org>
6043
6044 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
6045
41bd68f5
SM
60462017-11-22 Simon Marchi <simon.marchi@ericsson.com>
6047
6048 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
6049 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
6050 * gdb.dwarf2/info-locals-optimized-out.c: New file.
6051
1daad298
YQ
60522017-11-22 Yao Qi <yao.qi@linaro.org>
6053
6054 * gdb.base/info-os.exp: Pass pthreads.
6055 * gdb.multi/multi-attach.exp: Likewise.
6056
88465e87
YQ
60572017-11-22 Yao Qi <yao.qi@linaro.org>
6058
6059 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
6060 compiler.
6061
dc196b23
YQ
60622017-11-22 Yao Qi <yao.qi@linaro.org>
6063
6064 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
6065 * gdb.base/break-interp.exp: Likewise.
6066 * gdb.base/jit-attach-pie.exp: Likewise.
6067
2400729e
UW
60682017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
6069
6070 * gdb.base/float128.c (large128): New variable.
6071 * gdb.base/float128.exp: Add test to print largest __float128 value.
6072
7a26362d
UW
60732017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
6074
6075 * gdb.arch/vsx-regs.exp: Update register content checks.
6076
ed0f4273
UW
60772017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
6078
6079 * gdb.arch/ppc-longdouble.exp: New file.
6080 * gdb.arch/ppc-longdouble.c: Likewise.
6081
a25d69c6
PA
60822017-11-21 Pedro Alves <palves@redhat.com>
6083
6084 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
6085
73fcf641
PA
60862017-11-20 Pedro Alves <palves@redhat.com>
6087
6088 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
6089 (long_double_typedef): New typedefs.
6090 Use DEF on double and long double.
6091 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
6092 cases.
6093 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
6094 and 'long_double_ptr_same_size' locals. Use them to decide
6095 whether cast from array/function to float is valid/invalid.
6096
71a3c369
TT
60972017-11-17 Tom Tromey <tom@tromey.com>
6098
6099 * gdb.rust/traits.rs: New file.
6100 * gdb.rust/traits.exp: New file.
6101
ced9779b
JB
61022017-11-17 Joel Brobecker <brobecker@adacore.com>
6103
6104 * gdb.ada/minsyms: New testcase.
6105
a0922d80
PA
61062017-11-16 Pedro Alves <palves@redhat.com>
6107
6108 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
6109 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
6110
ea04e54c
PA
61112017-11-16 Pedro Alves <palves@redhat.com>
6112
6113 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
6114 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
6115
e849ea89
PA
61162017-11-16 Pedro Alves <palves@redhat.com>
6117
6118 * gdb.server/reconnect-ctrl-c.c: New file.
6119 * gdb.server/reconnect-ctrl-c.exp: New file.
6120
d8ae99a7
PM
61212017-11-16 Phil Muldoon <pmuldoon@redhat.com>
6122
6123 * gdb.python/py-rbreak.exp: New file.
6124 * gdb.python/py-rbreak.c: New file.
6125 * gdb.python/py-rbreak-func2.c: New file.
6126
968a13f8
PA
61272017-11-16 Pedro Alves <palves@redhat.com>
6128
6129 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
6130 pattern.
6131 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
6132 GDB.
6133
71774bc9
SM
61342017-11-15 Simon Marchi <simon.marchi@ericsson.com>
6135
6136 * gdb.tui/completionn.exp (test_tab_completion): Add space in
6137 regex.
6138
ddbb44cf
SM
61392017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
6140
6141 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
6142 test names.
6143
584a564f
PA
61442017-11-09 Pedro Alves <palves@redhat.com>
6145
6146 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
6147 factored out from ...
6148 (top level): ... here, and adjusted to avoid expecting beyond the
6149 prompt in a single gdb_test_multiple.
6150
5ed7a928
PA
61512017-11-09 Pedro Alves <palves@redhat.com>
6152
6153 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
6154 output.
6155 * gdb.server/ext-attach.exp ("kill" test): Likewise.
6156 * gdb.server/ext-restart.exp ("kill" test): Likewise.
6157 * gdb.server/ext-run.exp ("kill" test): Likewise.
6158 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
6159
a60e0738
PA
61602017-11-09 Pedro Alves <palves@redhat.com>
6161
6162 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
6163 match till end of line.
6164
2c88253f
PA
61652017-11-09 Pedro Alves <palves@redhat.com>
6166
6167 * gdb.base/memattr.exp: Tighten regexes to match the end line.
6168
c7a38517
PA
61692017-11-09 Pedro Alves <palves@redhat.com>
6170
6171 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
6172 New procedures, factored out from ...
6173 (top level): ... here, and adjusted to avoid expecting beyond the
6174 prompt in one go.
6175
f29f4b6b
PA
61762017-11-09 Pedro Alves <palves@redhat.com>
6177
6178 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
6179 output. Fix '?' match.
6180
286acbb5
JB
61812017-11-08 Joel Brobecker <brobecker@adacore.com>
6182
6183 * gdb.ada/scoped_watch: New testcase.
6184 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
6185 which is actually correct.
6186 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
6187 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
6188
62d7ae92
PA
61892017-11-08 Pedro Alves <palves@redhat.com>
6190
6191 * gdb.gdb/complaints.exp (test_initial_complaints)
6192 (test_serial_complaints, test_short_complaints): Call
6193 complaint_internal instead of complaint.
6194
280ca31f
DT
61952017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
6196
6197 * gdb.threads/tls-core.c: New file.
6198 * gdb.threads/tls-core.exp: Likewise.
6199
b5ec771e
PA
62002017-11-08 Pedro Alves <palves@redhat.com>
6201
6202 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
6203 (p Exported_Capitalized): New test.
6204 (p exported_capitalized): New test.
6205
a02b41a7
PA
62062017-11-07 Pedro Alves <palves@redhat.com>
6207
6208 * gdb.cp/ena-dis-br-range.exp: Add more tests.
6209
95e95a6d
PA
62102017-11-07 Pedro Alves <palves@redhat.com>
6211
6212 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
6213 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
6214 (disable_invalid, disable_inverted, disable_negative): New
6215 procedures.
6216 ("bad numbers"): New set of tests.
6217
cee62dbd
PA
62182017-11-07 Pedro Alves <palves@redhat.com>
6219
6220 * gdb.cp/ena-dis-br-range.exp: Add tests.
6221
cc638e86
PA
62222017-11-07 Pedro Alves <palves@redhat.com>
6223
6224 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
6225
d0fe4701
XR
62262017-11-07 Xavier Roirand <roirand@adacore.com>
6227 Pedro Alves <palves@redhat.com>
6228
6229 * gdb.base/ena-dis-br.exp: Add reference to
6230 gdb.cp/ena-dis-br-range.exp.
6231 * gdb.cp/ena-dis-br-range.exp: New file.
6232 * gdb.cp/ena-dis-br-range.cc: New file.
6233
46f67f80
PA
62342017-11-06 Pedro Alves <palves@redhat.com>
6235
6236 * gdb.base/attach-non-pgrp-leader.c: New.
6237 * gdb.base/attach-non-pgrp-leader.exp: New.
6238
726e1356
PA
62392017-11-06 Pedro Alves <palves@redhat.com>
6240
6241 * configure.ac: No longer check for termio.h and sgtty.h.
6242 * configure: Regenerate.
6243 * remote-utils.c: Include termios.h instead of gdb_termios.h.
6244 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
6245 Remove termio and sgtty code.
6246
50ab6ace
YQ
62472017-11-03 Yao Qi <yao.qi@linaro.org>
6248
6249 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
6250 in GDB is disabled.
6251
8e68731c
YQ
62522017-11-03 Yao Qi <yao.qi@linaro.org>
6253
6254 * gdb.python/py-thrhandle.exp: Skip it if python is not
6255 enabled.
6256
3a87ae65
SM
62572017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
6258
6259 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
6260 as a breakpoint command.
6261
484d8d36
MD
62622017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
6263
6264 PR python/21213
6265 * gdb.python/py-infthread.exp: Test calling
6266 InferiorThread.inferior () multiple times in a row.
6267
4a27f119
KS
62682017-10-27 Keith Seitz <keiths@redhat.com>
6269
6270 * gdb.opt/inline-break.exp (break_info_1): New procedure.
6271 Test "info break" for every inlined function breakpoint.
6272
bb11dd58
YQ
62732017-10-27 Yao Qi <yao.qi@linaro.org>
6274
6275 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
6276
a43f3893
PF
62772017-10-26 Patrick Frants <osscontribute@gmail.com>
6278
6279 * gdb.cp/classes.exp (test_static_members): Test printing
6280 Outer::instance.
6281 * gdb.cp/classes.c (struct Inner, struct Outer): New.
6282 (Inner::instance, Outer::instance): New.
6283
792ccf00
PA
62842017-10-24 Pedro Alves <palves@redhat.com>
6285
6286 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
6287 extra console" test in two stages.
6288
eb2bfbad
PA
62892017-10-24 Pedro Alves <palves@redhat.com>
6290
6291 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
6292
1f75a651
PA
62932017-10-24 Pedro Alves <palves@redhat.com>
6294
6295 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
6296 loop.
6297
779990d9
PA
62982017-10-24 Pedro Alves <palves@redhat.com>
6299
6300 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
6301 $attempt" and "stoppedtry $stoppedtry" test prefixes.
6302
ad9b8f5d
PA
63032017-10-24 Pedro Alves <palves@redhat.com>
6304
6305 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
6306 parameter and handle it. Don't output read value in test name.
6307
fee6da6e
PA
63082017-10-24 Pedro Alves <palves@redhat.com>
6309
6310 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
6311 custom test name.
6312
10389c2c
PA
63132017-10-24 Pedro Alves <palves@redhat.com>
6314
6315 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
6316 include the unstable output directory name in the test's name.
6317 (initial_setup_simple) <'set args'>: Use custom test name.
6318
a80e65a9
PA
63192017-10-24 Pedro Alves <palves@redhat.com>
6320
6321 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
6322 with explicit test name.
6323
15763a09
PA
63242017-10-20 Pedro Alves <palves@redhat.com>
6325
6326 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
6327 'wait -i'. Use gdb_assert and remote_close.
6328
49a4ce2e
AB
63292017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
6330
6331 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
6332 number from variable rather than hard-coded.
6333
a75868f5
PA
63342017-10-19 Pedro Alves <palves@redhat.com>
6335
6336 * gdb.base/long-inferior-output.c: New file.
6337 * gdb.base/long-inferior-output.exp: New file.
6338
c8ba13ad
KS
63392017-11-18 Keith Seitz <keiths@redhat.com>
6340
6341 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
6342 method.
6343 (main): Call it.
6344 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
6345 Add additional user-defined conversion operator tests.
6346
b27de576
PA
63472017-10-17 Pedro Alves <palves@redhat.com>
6348
6349 * boards/native-stdio-gdbserver.exp: Load "local-board".
6350
8484c955
PA
63512017-10-17 Pedro Alves <palves@redhat.com>
6352
6353 * gdb.base/quit-live.c: New file.
6354 * gdb.base/quit-live.exp: New file.
6355
83d5a34d
KS
63562017-10-16 Keith Seitz <keiths@redhat.com>
6357
6358 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
6359 (class_with_protected_typedef, class_with_private_typedef)
6360 (struct_with_public_typedef, struct_with_protected_typedef)
6361 (struct_with_private_typedef): New classes/structs.
6362 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
6363 typedefs and access specifiers.
6364
739b3f1d
PA
63652017-10-16 Pedro Alves <palves@redhat.com>
6366 Simon Marchi <simon.marchi@polymtl.ca>
6367
6368 * README (Local vs Remote vs Native): New section.
6369 * boards/local-board.exp: New file, with bits factored out from
6370 ...
6371 * boards/native-extended-gdbserver.exp: ... here. Load
6372 "local-board".
6373 * boards/native-gdbserver.exp: Load "local-board".
6374 (${board}_spawn, ${board}_exec): Delete.
6375 * boards/native-stdio-gdbserver.exp: Most contents factored out to
6376 ...
6377 * boards/stdio-gdbserver-base.exp: ... this new file.
6378 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
6379 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
6380 procedure.
6381 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
6382 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
6383 stdio_gdbserver_command.
6384 (${board}_get_remote_address, ${board}_get_comm_port)
6385 (${board}_download, ${board}_upload): Delete.
6386 (get_target_remote_pipe_cmd): New.
6387
fe68b953
SM
63882017-10-16 Simon Marchi <simon.marchi@ericsson.com>
6389
6390 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
6391 test_bkpt_deletion, test_bkpt_cond_and_cmds,
6392 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
6393 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
6394 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
6395 remove with_test_prefix.
6396
300b6685
PA
63972017-10-13 Pedro Alves <palves@redhat.com>
6398
6399 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
6400 * gdb.base/annota1.exp: Use it instead of is_remote.
6401 * gdb.base/annota3.exp: Use it instead of is_remote.
6402 * gdb.cp/annota2.exp: Use it instead of is_remote.
6403 * gdb.cp/annota3.exp: Use it instead of is_remote.
6404 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
6405
50500caf
PA
64062017-10-13 Pedro Alves <palves@redhat.com>
6407
6408 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
6409 (test_num_test_vars, run_and_count_vars, find_env)
6410 (test_set_unset_env, test_inherit_env_var): New procedures.
6411 (top level): Use them.
6412
dad0c6d2
PA
64132017-10-13 Pedro Alves <palves@redhat.com>
6414
6415 * lib/selftest-support.exp (selftest_setup): Extend comments, and
6416 also skip on stub-like targets.
6417
8b0553c1
PA
64182017-10-13 Pedro Alves <palves@redhat.com>
6419
6420 PR gdb/22293
6421 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
6422 (top level): Move some tests to ...
6423 (test_not_found): ... this new procedure.
6424 (top level): Call it.
6425
7594f623
PA
64262017-10-13 Pedro Alves <palves@redhat.com>
6427
6428 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
6429 expect different "info terminal" output if testing with a
6430 non-native target.
6431
ebe3b402
PA
64322017-10-13 Pedro Alves <palves@redhat.com>
6433 Simon Marchi <simon.marchi@polymtl.ca>
6434
6435 PR python/12966
6436 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
6437
42f1b161
PA
64382017-10-13 Pedro Alves <palves@redhat.com>
6439
6440 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
6441 already.
6442
8d6ef72b
PA
64432017-10-13 Pedro Alves <palves@redhat.com>
6444
6445 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
6446 is_remote.
6447
d7bcd5b8
PA
64482017-10-13 Pedro Alves <palves@redhat.com>
6449
6450 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
6451 is_remote.
6452
df479dc6
PA
64532017-10-13 Pedro Alves <palves@redhat.com>
6454
6455 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
6456 is set.
6457 (corefile_test_attach): Likewise. Check can_spawn_for_attach
6458 instead of is_remote.
6459
23fb630a
PA
64602017-10-13 Pedro Alves <palves@redhat.com>
6461
6462 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
6463 (top level): Add comment.
6464
cc77b1dc
PA
64652017-10-13 Pedro Alves <palves@redhat.com>
6466
6467 * gdb.base/remote.exp (top level): Fix comment typo and add
6468 missing return.
6469
27c9e813
PA
64702017-10-13 Pedro Alves <palves@redhat.com>
6471 Simon Marchi <simon.marchi@polymtl.ca>
6472
6473 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
6474 calls and add comments. Skip test if use_gdb_stub is set.
6475 (top level): Use "set cwd" command instead of "cd" command.
6476
5e830d98
PA
64772017-10-13 Pedro Alves <palves@redhat.com>
6478
6479 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
6480 is_remote target check.
6481
f5ca0032
PA
64822017-10-13 Pedro Alves <palves@redhat.com>
6483
6484 * gdb.base/scope.exp: Use build_executable + clean_restart +
6485 gdb_file_cmd instead of prepare_for_testing and no longer skip
6486 "before run" tests on is_remote target boards. Update comments.
6487 * boards/native-extended-gdbserver.exp
6488 (extended_gdbserver_load_last_file): New, factored out from ...
6489 (gdb_load): ... this. Move further below and add comment.
6490 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
6491
8aed1c0d
PA
64922017-10-12 Pedro Alves <palves@redhat.com>
6493
6494 * gdb.base/attach.exp: Remove references to gdb64.
6495 * gdb.base/dbx.exp: Remove references to gdb64.
6496
cfa34c87
SM
64972017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
6498 Pedro Alves <palves@redhat.com>
6499
6500 * gdb.base/label.exp: Remove is_remote target check.
6501
9192b7de
PA
65022017-10-12 Pedro Alves <palves@redhat.com>
6503
6504 * gdb.base/auvx.exp (coredir): Update comment.
6505 (top level) <core_works>: Use "set cwd" command instead of "cd"
6506 command.
6507
6bf0052d
PA
65082017-10-12 Pedro Alves <palves@redhat.com>
6509 Simon Marchi <simon.marchi@polymtl.ca>
6510
6511 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
6512 target boards.
6513
e48ef82d
PA
65142017-10-12 Pedro Alves <palves@redhat.com>
6515 Simon Marchi <simon.marchi@polymtl.ca>
6516
6517 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
6518 Instead skip if there's any gdb_protocol set.
6519
8d7aea57
SM
65202017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
6521 Pedro Alves <palves@redhat.com>
6522
6523 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
6524
30440677
PA
65252017-10-12 Pedro Alves <palves@redhat.com>
6526 Simon Marchi <simon.marchi@polymtl.ca>
6527
6528 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
6529 instead of on dejagnu remote boards.
6530
4e04f045 65312017-10-12 Pedro Alves <palves@redhat.com>
175654b9 6532 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
6533
6534 * gdb.base/inferior-died.exp: Remove is_remote and isnative
6535 checks. Use build_executable + clean_restart instead of
6536 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
6537 of enabling non-stop after starting gdb.
6538
871a186e
PA
65392017-10-12 Pedro Alves <palves@redhat.com>
6540
6541 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
6542 * gdb.threads/non-ldr-exc-2.exp: Ditto.
6543 * gdb.threads/non-ldr-exc-3.exp: Ditto.
6544 * gdb.threads/non-ldr-exc-4.exp: Ditto.
6545
56d704da
AK
65462017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
6547
6548 * gdb.arch/arc-tdesc-cpu.exp: New file.
6549 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
6550
2f20e312
SM
65512017-10-10 Simon Marchi <simon.marchi@ericsson.com>
6552
6553 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
6554
65630365
PA
65552017-10-10 Pedro Alves <palves@redhat.com>
6556
6557 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
6558 expect CLI output.
6559
bf469271
PA
65602017-10-10 Pedro Alves <palves@redhat.com>
6561
6562 * lib/selftest-support.exp (selftest_setup): Update for
6563 captured_command_loop's prototype change.
6564
777a42f1
PA
65652017-10-09 Pedro Alves <palves@redhat.com>
6566
6567 Test both arch1=>arch2 and arch2=>arch1.
6568
6569 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
6570 (srcfile2, binfile2, march1, march2): Remove globals. Largely
6571 factored out to...
6572 (append_arch1_options, append_arch2_options, append_arch_options)
6573 (build_executables): New procedures.
6574 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
6575 local.
6576 (top level): Add new 'first_arch' testing axis.
6577
cbd2b4e3
PA
65782017-10-09 Pedro Alves <palves@redhat.com>
6579
6580 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
6581 (barrier): New.
6582 (thread_start, all_started): New functions.
6583 (main): Spawn new thread and wait until it is scheduled.
6584 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
6585 option.
6586 (do_test): Add 'selected_thread' parameter. Run to all_started
6587 instead of main. Explicitly set the breakpoint at main. Switch
6588 to the SELECTED_THREAD thread.
6589 (top level): Test handling the exec event with either the main
6590 thread or the second thread selected.
6591
5c9e4427
PA
65922017-10-09 Pedro Alves <palves@redhat.com>
6593
6594 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
6595 logic. Move STOP marker after the value checks.
6596 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
6597 regexp.
6598
b3b7c423
SL
65992017-10-06 Sandra Loosemore <sandra@codesourcery.com>
6600
6601 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
6602
3b4b2f16
UW
66032017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
6604
6605 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
6606 integer-to-dfp conversion.
6607 * gdb.base/dfp-test.exp: Likewise.
6608
5cd63fda
PA
66092017-10-04 Pedro Alves <palves@redhat.com>
6610
6611 * gdb.multi/hangout.c: Include <unistd.h>.
6612 (hangout_loop): New function.
6613 (main): Call alarm. Call hangout_loop in a loop.
6614 * gdb.multi/hello.c: Include <unistd.h>.
6615 (hello_loop): New function.
6616 (main): Call alarm. Call hangout_loop in a loop.
6617 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
6618 inferior with the other selected.
6619
4c71c105
SM
66202017-10-04 Simon Marchi <simon.marchi@ericsson.com>
6621
6622 * gdb.mi/list-thread-groups-available.exp: New file.
6623 * gdb.mi/list-thread-groups-available.c: New file.
6624
bc3b087d
SDJ
66252017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
6626
6627 * gdb.base/set-cwd.exp: Make it available on
6628 native-extended-gdbserver.
6629
d092c5a2
SDJ
66302017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
6631
6632 * gdb.base/set-cwd.c: New file.
6633 * gdb.base/set-cwd.exp: Likewise.
6634
45320ffa
TT
66352017-10-02 Tom Tromey <tom@tromey.com>
6636
6637 PR rust/22236:
6638 * gdb.rust/simple.rs (main): New variable "fslice".
6639 * gdb.rust/simple.exp: Add slice tests. Update string tests.
6640
b3e3859b
TT
66412017-10-02 Tom Tromey <tom@tromey.com>
6642
6643 * gdb.rust/simple.exp: Test ptype of a slice.
6644
01af5e0d
TT
66452017-10-02 Tom Tromey <tom@tromey.com>
6646
6647 * gdb.rust/simple.exp: Test index of slice.
6648
a9bbfbd8
TT
66492017-09-27 Tom Tromey <tom@tromey.com>
6650
6651 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
6652
df8899e5
TP
66532017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
6654 Pedro Alves <palves@redhat.com>
6655
6656 * gdb.base/compare-sections.exp (get value of read-only section): Read
6657 as unsigned value.
6658 (corrupt read-only section): Likewise and don't set written if patching
6659 failed.
6660
757bf54b
KB
66612017-09-21 Kevin Buettner <kevinb@redhat.com>
6662
6663 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
6664 files.
6665
06871ae8
PA
66662017-09-20 Pedro Alves <palves@redhat.com>
6667
6668 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
6669 symbol names in gdb's output.
6670 * gdb.cp/overload.exp ("list all overloads"): Likewise.
6671
e5f25bc5
PA
66722017-09-20 Pedro Alves <palves@redhat.com>
6673
6674 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
6675 Rename to ...
6676 (test_list_ambiguous_symbol): ... this and add a symbol name
6677 parameter. Adjust.
6678 (test_list_ambiguous_function): Reimplement on top of
6679 test_list_ambiguous_symbol and also test listing ambiguous
6680 variables.
6681 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
6682 (ambiguous_fun): ... this.
6683 (ambiguous_var): New.
6684 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
6685 (ambiguous_fun): ... this.
6686 (ambiguous_var): New.
6687
4e5a4f58
JB
66882017-09-19 John Baldwin <jhb@FreeBSD.org>
6689
6690 * gdb.base/starti.c: New file.
6691 * gdb.base/starti.exp: New file.
6692 * lib/gdb.exp (gdb_starti_cmd): New procedure.
6693
26e53f3e
PA
66942017-09-14 Pedro Alves <palves@redhat.com>
6695
6696 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
6697 (top level): Use it instead of runto.
6698
cb791d59
TT
66992017-09-11 Tom Tromey <tom@tromey.com>
6700
6701 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
6702
7c96f8c1
TT
67032017-09-11 Tom Tromey <tom@tromey.com>
6704
6705 * gdb.python/py-infthread.exp: Add tests for new_thread event.
6706 * gdb.python/py-inferior.exp: Add tests for new inferior events.
6707
469412dd
CW
67082017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
6709
6710 * gdb.fortran/printing-types.exp: New file.
6711 * gdb.fortran/printing-types.exp: New file.
6712
e0f86435
BH
67132017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
6714
6715 * gdb.fortran/vla-ptype.exp: Fix typos.
6716 * gdb.fortran/vla-value.exp: Same.
6717
9e9af4be
BH
67182017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
6719
6720 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
6721 * gdb.mi/mi-var-child-f.exp: Likewise.
6722 * gdb.mi/mi-vla-fortran.exp: Likewise.
6723
a5ad232b 67242017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
6725 Christoph Weinmann <christoph.t.weinmann@intel.com>
6726 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
6727
6728 * gdb.fortran/ptr-indentation.f90: New file.
6729 * gdb.fortran/ptr-indentation.exp: New file.
6730
5aec60eb
TT
67312017-09-05 Tom Tromey <tom@tromey.com>
6732
6733 PR gdb/22010:
6734 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
6735
8f8f8152
TP
67362017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
6737
6738 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
6739
fbd1b771
JK
67402017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6741
6742 * gdb.threads/tls-nodebug-pie.c: New file.
6743 * gdb.threads/tls-nodebug-pie.exp: New file.
6744
5eb5f850
TT
67452017-09-05 Tom Tromey <tom@tromey.com>
6746
6747 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
6748 for rust.
6749
ae780a21
SM
67502017-09-05 Simon Marchi <simon.marchi@ericsson.com>
6751
6752 * gdb.multi/multi-arch-exec.exp: Test with different
6753 "follow-exec-mode" settings.
6754 (do_test): New procedure.
6755
3693fdb3
PA
67562017-09-04 Pedro Alves <palves@redhat.com>
6757
6758 * gdb.base/func-static.c (S::method const, S::method volatile)
6759 (S::method volatile const): New methods.
6760 (c_s, v_s, cv_s): New instances.
6761 (main): Call method() on them.
6762 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
6763 (cannot_resolve): New procedure.
6764 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
6765 print-quote-unquoted columns.
6766 (do_test): Test printing each scope too.
6767
e68cb8e0
PA
67682017-09-04 Pedro Alves <palves@redhat.com>
6769
6770 * gdb.base/local-static.exp: Also test with
6771 class::method::variable wholly quoted.
6772 * gdb.cp/m-static.exp (class::method::variable): Remove test.
6773
858be34c
PA
67742017-09-04 Pedro Alves <palves@redhat.com>
6775
6776 * gdb.base/local-static.c: New.
6777 * gdb.base/local-static.cc: New.
6778 * gdb.base/local-static.exp: New.
6779
46a4882b
PA
67802017-09-04 Pedro Alves <palves@redhat.com>
6781
6782 * gdb.asm/asm-source.exp: Add casts to int.
6783 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
6784 (dataglobal64_1, dataglobal64_2): New globals.
6785 * gdb.base/nodebug.exp: Test different expressions involving the
6786 new globals, with print, whatis and ptype. Add casts to int.
6787 * gdb.base/solib-display.exp: Add casts to int.
6788 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
6789 * gdb.cp/m-static.exp: Add cast to int.
6790 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
6791 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
6792 tls variable with no debug info without a cast. Test with a cast
6793 to int too.
6794 * gdb.trace/entry-values.exp: Add casts.
6795
2c5a2be1
PA
67962017-09-04 Pedro Alves <palves@redhat.com>
6797
6798 * gdb.base/nodebug.exp: Test that ptype's error about functions
6799 with unknown return type includes the function name too.
6800
7022349d
PA
68012017-09-04 Pedro Alves <palves@redhat.com>
6802
6803 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
6804 return type of munmap in infcall.
6805 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
6806 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
6807 type of ftell in infcall.
6808 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
6809 type of getpid in infcall.
6810 * gdb.base/infcall-exec.exp: Cast return type of execlp in
6811 infcall.
6812 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
6813 Bail on failure to extract the pid.
6814 * gdb.base/nodebug.c: #include <stdint.h>.
6815 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
6816 New functions.
6817 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
6818 Change expected output of print/whatis/ptype with functions with
6819 no debug info. Test all supported languages. Call
6820 test_call_promotion.
6821 * gdb.compile/compile.exp: Adjust expected output to expect
6822 warning.
6823 * gdb.threads/siginfo-threads.exp: Likewise.
6824
54990598
PA
68252017-09-04 Pedro Alves <palves@redhat.com>
6826
6827 * gdb.base/callfuncs.exp (do_function_calls): New parameter
6828 "prototypes". Test calling float functions via prototyped and
6829 unprototyped function pointers.
6830 (perform_all_tests): New parameter "prototypes". Pass it down.
6831 (top level): Pass down "prototypes" parameter to
6832 perform_all_tests.
6833
34d16ea2
SM
68342017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6835
6836 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
6837 Test with nested loops.
6838
9521ecda
SM
68392017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6840
6841 * gdb.base/commands.exp: Call the new procedures.
6842 (loop_break_test, loop_continue_test): New procedures.
6843
80a65e9b
SM
68442017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6845
6846 * gdb.base/commands.exp: Call new procedure.
6847 (define_if_without_arg_test): New procedure.
6848
e439fa14
PA
68492017-09-04 Pedro Alves <palves@redhat.com>
6850
6851 * gdb.base/list-ambiguous.exp: New file.
6852 * gdb.base/list-ambiguous0.c: New file.
6853 * gdb.base/list-ambiguous1.c: New file.
6854 * gdb.base/list.exp (test_list_range): Adjust expected output.
6855
0a2dde4a
SDJ
68562017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
6857
6858 * gdb.base/share-env-with-gdbserver.c: New file.
6859 * gdb.base/share-env-with-gdbserver.exp: Likewise.
6860
5e89eb3a
SM
68612017-08-28 Simon Marchi <simon.marchi@ericsson.com>
6862
6863 * gdb.base/commands.exp (gdbvar_simple_if_test,
6864 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
6865 progvar_simple_if_test, progvar_simple_while_test,
6866 progvar_complex_if_while_test, user_defined_command_test,
6867 user_defined_command_args_eval,
6868 user_defined_command_args_stack_test,
6869 user_defined_command_manyargs_test, bp_deleted_in_command_test,
6870 temporary_breakpoint_commands,
6871 gdb_test_no_prompt, redefine_hook_test,
6872 redefine_backtrace_test): Remove "global gdb_prompt".
6873
fd437cbc
SM
68742017-08-28 Simon Marchi <simon.marchi@ericsson.com>
6875
6876 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
6877 New proc, call it from toplevel.
6878
87215ad1
SDJ
68792017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
6880
6881 PR remote/21852
6882 * gdb.server/normal.c: New file, copied from gdb.base.
6883 * gdb.server/run-without-local-binary.exp: New file.
6884
58afddc6
WP
68852017-08-07 Weimin Pan <weimin.pan@oracle.com>
6886
6887 * gdb.arch/sparc64-adi.exp: New file.
6888 * gdb.arch/sparc64-adi.c: New file.
6889
5277199a
PA
68902017-08-22 Pedro Alves <palves@redhat.com>
6891
6892 * gdb.cp/overload.exp (line_range_pattern): New procedure.
6893 (top level): Add "list all overloads" tests.
6894
14278e1f
TT
68952017-08-22 Tom Tromey <tom@tromey.com>
6896
6897 * gdb.gdb/xfullpath.exp: Remove.
6898
bf223d3e
PA
68992017-08-21 Pedro Alves <palves@redhat.com>
6900
6901 PR gdb/19487
6902 * gdb.base/symbol-alias.c: New.
6903 * gdb.base/symbol-alias2.c: New.
6904 * gdb.base/symbol-alias.exp: New.
6905
c973d0aa
PA
69062017-08-21 Pedro Alves <palves@redhat.com>
6907
6908 * gdb.base/dfp-test.c
6909 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
6910 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
6911 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
6912 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
6913 * gdb.base/whatis-ptype-typedefs.c: New.
6914 * gdb.base/whatis-ptype-typedefs.exp: New.
6915 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
6916 (an_int, an_int_type, an_int_type2): New globals.
6917 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
6918 involving typedefs and cast expressions.
6919 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
6920 (lookup_typedefs_function): New.
6921 (typedefs_pretty_printers_dict): New.
6922 (top level): Register lookup_typedefs_function in
6923 gdb.pretty_printers.
6924
6d580b63
YQ
69252017-08-18 Yao Qi <yao.qi@linaro.org>
6926
6927 * gdb.server/unittest.exp: New.
6928
206726fb
SDJ
69292017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
6930
6931 PR gdb/21954
6932 * gdb.base/environ.exp: Add test to check if 'unset environment'
6933 works.
6934
bf0ec4c2
AA
69352017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6936
6937 * lib/gdb.exp (universal_compile_options): New caching proc.
6938 (gdb_compile): Suppress GCC's coloring of messages.
6939
d6382fff
TT
69402017-08-14 Tom Tromey <tom@tromey.com>
6941
6942 PR gdb/21675:
6943 * gdb.base/printcmds.exp (test_radices): New function.
6944 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
6945 * gdb.base/sizeof.exp (check_valueof): Use p/d.
6946 * lib/gdb.exp (get_integer_valueof): Use p/d.
6947
c2c2dd9f
SM
69482017-08-12 Simon Marchi <simon.marchi@ericsson.com>
6949
6950 * lib/gdb.exp (get_valueof): Don't capture end-of-line
6951 characters.
6952
fdffd6f4
TT
69532017-08-05 Tom Tromey <tom@tromey.com>
6954
6955 * gdb.rust/simple.exp: Allow String to appear in a different
6956 namespace.
6957
27d41eac
YQ
69582017-07-26 Yao Qi <yao.qi@linaro.org>
6959
6960 * gdb.gdb/unittest.exp: Invoke command
6961 "maintenance check xml-descriptions".
6962
031ed05d
AA
69632017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
6964
6965 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
6966 calling context.
6967 (hex128): Drop erroneous calculation of parameters.
6968
dcd27ddf
SM
69692017-07-22 Simon Marchi <simon.marchi@ericsson.com>
6970
6971 * gdb.python/py-unwind.exp: Disable stack protection when
6972 building test file.
6973
47e77640
PA
69742017-07-20 Pedro Alves <palves@redhat.com>
6975
6976 * gdb.base/default.exp (set language): Adjust expected output.
6977
62d2a18a
PA
69782017-07-20 Pedro Alves <palves@redhat.com>
6979
6980 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
6981 (test_minsym): ... this, and make static.
6982 (get_pck__foo__bar__minsym): Rename to ...
6983 (get_test_minsym): ... this.
6984 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
6985 symbol names and comments.
6986 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
6987 (get_test_minsym): ... this.
6988 (pck__foo__bar__minsym__2): Rename to ...
6989 (test_minsym): ... this.
6990 (main): Adjust.
6991
c45ec17c
PA
69922017-07-17 Pedro Alves <palves@redhat.com>
6993
6994 * gdb.base/completion.exp: Adjust expected output.
6995 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
6996 the completer works.
6997
c6756f62
PA
69982017-07-17 Pedro Alves <palves@redhat.com>
6999
7000 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
7001
5bd68487
AB
70022017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
7003
7004 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
7005
8880f2a9
TT
70062017-07-14 Tom Tromey <tom@tromey.com>
7007
7008 PR rust/21764:
7009 * gdb.rust/simple.exp: Add tests.
7010
65547233
TT
70112017-07-14 Tom Tromey <tom@tromey.com>
7012
7013 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
7014
8f14146e
PA
70152017-07-14 Pedro Alves <palves@redhat.com>
7016
7017 * gdb.linespec/base/one/thefile.cc (z1): New function.
7018 * gdb.linespec/base/two/thefile.cc (z2): New function.
7019 * gdb.linespec/linespec.exp: Add tests.
7020
b4365d02
AB
70212017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
7022
7023 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
7024 to mi_create_breakpoint.
7025
5d2cbaa5
AB
70262017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
7027
7028 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
7029 mi_create_breakpoint.
7030
11cb5716
IB
70312017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
7032
7033 * gdb.dlang/demangle.exp: Update for demangling changes.
7034
03278692
TT
70352017-07-09 Tom Tromey <tom@tromey.com>
7036
7037 * gdb.dwarf2/shortpiece.exp: New file.
7038
33c5cd75
DB
70392017-07-06 David Blaikie <dblaikie@gmail.com>
7040
7041 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
7042 built from fissiont-multi-cu{1,2}.c.
7043 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
7044 except putting 'main' and 'func' in separate CUs in the same DWO file.
7045 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
7046 test.
7047 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
7048 test.
7049
8455d262
PA
70502017-07-06 Pedro Alves <palves@redhat.com>
7051
7052 * gdb.python/py-unwind.exp: Test flushregs.
7053
dc4bde35
SDJ
70542017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
7055
7056 PR cli/21688
7057 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
7058 tests for alias commands and trailing whitespace.
7059
51ed89aa
SDJ
70602017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
7061
7062 PR cli/21688
7063 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
7064 procedure. Call it.
7065
eb17d413
PA
70662017-06-29 Pedro Alves <palves@redhat.com>
7067
7068 * gdb.base/printcmds.exp: Add tests.
7069
41664b45
DG
70702017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
7071
7072 PR gdb/21337
7073 * gdb.base/reread-readsym.exp: New file.
7074 * gdb.base/reread-readsym.c: New file.
7075
75312ae3
KB
70762017-06-21 Kevin Buettner <kevinb@redhat.com>
7077
7078 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
7079 subpattern.
7080
66953522
PB
70812017-06-19 Peter Bergner <bergner@vnet.ibm.com>
7082
7083 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
7084 extended mnemonic.
7085 * gdb.arch/powerpc-power9.s: Likewise.
7086
5524b525
AA
70872017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7088
7089 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
7090 on 32-bit x86 targets. Exploit is_*_target macros where
7091 appropriate.
7092
03c8af18
AA
70932017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7094
7095 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
7096 register pieces.
7097
3bf31011
AA
70982017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7099
7100 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
7101 located in one or more DWARF pieces.
7102
805acca0
AA
71032017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7104
7105 * lib/gdb.exp (get_endianness): New proc.
7106 * gdb.arch/aarch64-fp.exp: Use it.
7107 * gdb.arch/altivec-regs.exp: Likewise.
7108 * gdb.arch/e500-regs.exp: Likewise.
7109 * gdb.arch/vsx-regs.exp: Likewise.
7110 * gdb.base/dump.exp: Likewise.
7111 * gdb.base/funcargs.exp: Likewise.
7112 * gdb.base/gnu_vector.exp: Likewise.
7113 * gdb.dwarf2/formdata16.exp: Likewise.
7114 * gdb.dwarf2/implptrpiece.exp: Likewise.
7115 * gdb.dwarf2/nonvar-access.exp: Likewise.
7116 * gdb.python/py-inferior.exp: Likewise.
7117 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
7118
e9352324
AA
71192017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7120
7121 PR gdb/21226
7122 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
7123 stack value pieces are taken from the LSB end.
7124
d5d1163e
AA
71252017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7126
7127 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
7128 variable at nonzero offset.
7129
0567c986
AA
71302017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7131
7132 * gdb.dwarf2/var-access.c: New file.
7133 * gdb.dwarf2/var-access.exp: New test.
7134 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
7135
973e9aab
TT
71362017-06-12 Tom Tromey <tom@tromey.com>
7137
7138 * gdb.dwarf2/formdata16.exp: Add tests.
7139
d9109c80
TT
71402017-06-12 Tom Tromey <tom@tromey.com>
7141
7142 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
7143
30a25466
TT
71442017-06-12 Tom Tromey <tom@tromey.com>
7145
7146 PR exp/16225:
7147 * gdb.reverse/i386-sse-reverse.exp: Update tests.
7148 * gdb.arch/vsx-regs.exp: Update tests.
7149 * gdb.arch/s390-vregs.exp (hex128): New proc.
7150 Update test.
7151 * gdb.arch/altivec-regs.exp: Update tests.
7152
aefd8b33
SDJ
71532017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
7154
7155 * gdb.base/startup-with-shell.c: New file.
7156 * gdb.base/startup-with-shell.exp: Likewise.
7157
2090129c
SDJ
71582017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
7159
7160 * gdb.server/non-existing-program.exp: Update regex in order to
7161 reflect the fact that gdbserver is now using fork_inferior (with a
7162 shell) to startup the inferior.
7163
8e86a419
SM
71642017-05-30 Simon Marchi <simon.marchi@ericsson.com>
7165
7166 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
7167 support function calls from GDB.
7168
e6cf65f2
TT
71692017-05-21 Tom Tromey <tom@tromey.com>
7170
7171 PR rust/21466:
7172 * gdb.rust/unsized.exp: New file.
7173 * gdb.rust/unsized.rs: New file.
7174
43cc5389
TT
71752017-05-19 Tom Tromey <tom@tromey.com>
7176
7177 PR rust/21484:
7178 * gdb.rust/watch.exp: New file.
7179 * gdb.rust/watch.rs: New file.
7180
ec8df234
TT
71812017-05-18 Tom Tromey <tom@tromey.com>
7182
7183 * gdb.rust/simple.exp: Allow Box to be qualified.
7184
3e3e7fae
TP
71852017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
7186
7187 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
7188
59cc050d
PA
71892017-05-18 Pedro Alves <palves@redhat.com>
7190
7191 * gdb.base/fileio.c (test_write, test_read, test_close)
7192 (test_fstat): Don't print 'ret' in the fail path.
7193
c8f6abd1
PA
71942017-05-18 Pedro Alves <palves@redhat.com>
7195
7196 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
7197 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
7198 (test_system, test_rename, test_unlink, test_time): Change
7199 prototypes.
7200 * gdb.base/fileio.exp (stop_msg): Adjust.
7201
d2a03b77
PA
72022017-05-18 Pedro Alves <palves@redhat.com>
7203
7204 * gdb.base/fileio.c (null_str): New global.
7205 (test_stat): Use it.
7206 * gdb.base/fileio.exp: Remove nowarnings.
7207
0d5c6999
YQ
72082017-05-17 Yao Qi <yao.qi@linaro.org>
7209
7210 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
7211
21873064
YQ
72122017-05-17 Simon Marchi <simon.marchi@ericsson.com>
7213
7214 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
7215 argument command.
7216 (top-level): Invoke test_set_inferior_tty.
7217
d512d31c
PA
72182017-05-04 Pedro Alves <palves@redhat.com>
7219
7220 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
7221 Add parens to print call for Python 3.
7222
90cef2ed
KS
72232017-05-03 Keith Seitz <keiths@redhat.com>
7224
7225 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
7226 (main): Call it.
7227
14f819c8
TW
72282017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7229
7230 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
7231 to prev and next.
7232
913aeadd
TW
72332017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7234
7235 * gdb.python/py-record-btrace.exp: Remove test for
7236 gdb.BtraceInstruction.error.
7237
a3be24ad
TW
72382017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7239
7240 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
7241
ae20e79a
TW
72422017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7243
7244 * gdb.python/py-record-btrace-threads.c: New file.
7245 * gdb.python/py-record-btrace-threads.exp: New file.
7246
45ce1b47
SDJ
72472017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
7248
7249 PR testsuite/8595
7250 * gdb.base/environ.exp: Make test available in all architectures.
7251 Move bits related to "info program" testing to
7252 gdb.base/info-program.exp. Rewrite tests to use the two new
7253 procedures mentione below.
7254 (test_set_show_env_var) New procedure.
7255 (test_set_show_env_var_equal): Likewise.
7256 * gdb.base/info-program.exp: New file.
7257
e15c3eb4
KS
72582017-04-27 Keith Seitz <keiths@redhat.com>
7259
7260 * gdb.cp/oranking.cc (test15): New function.
7261 (main): Call test15 and declare additional variables for testing.
7262 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
7263 "p foo101('abc')" tests.
7264 Add tests for cv qualifier overloads.
7265 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
7266 "lvalue reference overload" test.
7267 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
7268 "print value of f1 on Child&& in f2" test.
7269
3a3fd0fd
PA
72702017-04-19 Pedro Alves <palves@redhat.com>
7271
7272 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
7273 procedure.
7274 (top level): Call it.
7275 * lib/gdb.exp (gdb_define_cmd): New procedure.
7276
53375380
PA
72772017-04-12 Pedro Alves <palves@redhat.com>
7278
7279 PR gdb/21323
7280 * gdb.cp/wide_char_types.c: Include <wchar.h>.
7281 (wchar): New global.
7282 * gdb.cp/wide_char_types.exp (wide_char_types_program)
7283 (do_test_wide_char, wide_char_types_no_program, top level): Add
7284 wchar_t testing.
7285
53e710ac
PA
72862017-04-12 Pedro Alves <palves@redhat.com>
7287
7288 PR c++/21323
7289 * gdb.cp/wide_char_types.c: New file.
7290 * gdb.cp/wide_char_types.exp: New file.
7291
0ad9d8c7
SDJ
72922017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
7293
7294 PR gdb/21352
7295 * gdb.trace/tsv.exp: Add test for "tsave -r".
7296
b1b45502
IB
72972017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
7298
7299 * gdb.dlang/watch-loc.c: New file.
7300 * gdb.dlang/watch-loc.exp: New file.
7301
ec13808e
JK
73022017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7303
7304 * gdb.python/py-section-script.exp (sepdebug): New testcases.
7305
fe5f7374
AK
73062017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
7307
7308 * gdb.arch/arc-analyze-prologue.S: New file.
7309 * gdb.arch/arc-analyze-prologue.exp: Likewise.
7310
eea78757
AK
73112017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
7312
7313 * gdb.arch/arc-decode-insn.S: New file.
7314 * gdb.arch/arc-decode-insn.exp: Likewise.
7315
5badf10a
IR
73162017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
7317
7318 PR tdep/20928
7319 * gdb.arch/sparc64-regs.exp: New file.
7320 * gdb.arch/sparc64-regs.S: Likewise.
7321
cee59b3f
TW
73222017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
7323
7324 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
7325 and memory view on Python 3.
7326
c0f55cc6
AV
73272017-03-20 Artemiy Volkov <artemiyv@acm.org>
7328 Keith Seitz <keiths@redhat.com>
7329
7330 PR gdb/14441
7331 * gdb.cp/demangle.exp: Add rvalue reference tests.
7332 * gdb.cp/rvalue-ref-casts.cc: New file.
7333 * gdb.cp/rvalue-ref-casts.exp: New file.
7334 * gdb.cp/rvalue-ref-overload.cc: New file.
7335 * gdb.cp/rvalue-ref-overload.exp: New file.
7336 * gdb.cp/rvalue-ref-params.cc: New file.
7337 * gdb.cp/rvalue-ref-params.exp: New file.
7338 * gdb.cp/rvalue-ref-sizeof.cc: New file.
7339 * gdb.cp/rvalue-ref-sizeof.exp: New file.
7340 * gdb.cp/rvalue-ref-types.cc: New file.
7341 * gdb.cp/rvalue-ref-types.exp: New file.
7342 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
7343 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
7344
51457a05
MAL
73452017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
7346
7347 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
7348 New procedure.
7349
5b291c04
MAL
73502017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
7351
7352 * lib/mi-support.exp (mi_gdb_test): Add additional message
7353 for unexpected output.
7354
59a56148
AA
73552017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
7356
7357 * gdb.base/examine-backward.c (Barrier): New character array
7358 constant, to ensure that TestStrings is preceded by a string
7359 terminator.
7360
7942e96e
AA
73612017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7362
7363 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
7364 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
7365 and implicit pointer into such a location.
7366
6ebac3fb
DE
73672017-03-16 Doug Evans <dje@google.com>
7368
7369 * gdb.python/py-lazy-string (pointer): Really add new typedef.
7370
ec3b243d
TP
73712017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
7372
7373 * gdb.cp/m-static.exp: Fix expectation for prototype of
7374 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
7375
73762017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
7377
7378 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
7379 * gdb.guile/scm-lazy-string.c: New file.
7380 * gdb.guile/scm-value.exp: Move lazy string tests to ...
7381 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
7382 for pointer, array, typedef lazy strings.
7383
2cc36e25 73842017-03-16 Doug Evans <dje@google.com>
34b43320
DE
7385
7386 PR python/17728, python/18439, python/18779
7387 * gdb.python/py-value.c (main) Delete locals sptr, sn.
7388 * gdb.python/py-lazy-string.c (pointer): New typedef.
7389 (main): New locals ptr, array, typedef_ptr.
7390 * gdb.python/py-value.exp: Move lazy string tests to ...
7391 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
7392 array, typedef lazy strings.
ec3b243d 7393
0efcde63
AK
73942017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
7395
7396 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
7397 Add optional 'test' parameter.
7398
7978d7c3
SM
73992017-03-13 Simon Marchi <simon.marchi@ericsson.com>
7400
7401 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
7402 Skip for versions of DejaGnu < 1.5.
7403
896c0c1e
SM
74042017-03-13 Simon Marchi <simon.marchi@ericsson.com>
7405
7406 * lib/gdb.exp (dejagnu_version): New proc.
7407 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
7408 Use dejagnu_version.
7409
5f4d1085
KS
74102017-03-10 Keith Seitz <keiths@redhat.com>
7411
7412 PR c++/8128
7413 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
7414 type from destructor regexps.
7415 Add a branch which actually passes the test.
7416 Adjust "ptype t5i" test names.
7417
1de05205
PA
74182017-03-08 Pedro Alves <palves@redhat.com>
7419
7420 * gdb.base/step-over-exit.exp: Add explicit test message.
7421
c65d6b55
PA
74222017-03-08 Pedro Alves <palves@redhat.com>
7423
7424 PR gdb/18360
7425 * gdb.threads/interrupt-while-step-over.c: New file.
7426 * gdb.threads/interrupt-while-step-over.exp: New file.
7427
2e86a283
PA
74282017-03-08 Pedro Alves <palves@redhat.com>
7429
7430 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
7431 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
7432
25dcbff6
PA
74332017-03-08 Pedro Alves <palves@redhat.com>
7434
7435 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
7436 PKRU as not supported as a PASS.
7437
dc9366eb
PA
74382017-03-08 Pedro Alves <palves@redhat.com>
7439
7440 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
7441 prefix instead of $binfile1/$binfile2.
7442 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
7443 in test message.
7444 * gdb.python/py-completion.exp: Use "load python file" as test
7445 messages instead of unstable path names.
7446
6e5d74e7
PA
74472017-03-08 Pedro Alves <palves@redhat.com>
7448 Jan Kratochvil <jan.kratochvil@redhat.com>
7449
7450 PR cli/21218
7451 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
7452 New proc.
7453 (top level): Call it.
7454
9753a2f6
PA
74552017-03-08 Pedro Alves <palves@redhat.com>
7456
7457 PR tui/21216
7458 * gdb.tui/tui-nl-filtered-output.exp: New file.
7459
1a4dd9dd
PA
74602017-03-08 Pedro Alves <palves@redhat.com>
7461
7462 * gdb.base/completion.exp: Move TUI completion tests to ...
7463 * gdb.tui/completion.exp: ... this new file.
7464
7cbbff33
PA
74652017-03-08 Pedro Alves <palves@redhat.com>
7466
7467 * gdb.base/tui-disasm-long-lines.c,
7468 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
7469 gdb.base/tui-layout.exp: Move to ...
7470 * gdb.tui/: ... this new directory.
7471
5f6fd321
PA
74722017-03-07 Pedro Alves <palves@redhat.com>
7473
7474 * gdb.base/tui-layout.c: New file.
7475 * gdb.base/tui-layout.exp: New file.
7476
44959fa8
PA
74772017-03-07 Pedro Alves <palves@redhat.com>
7478
7479 * gdb.base/tui-layout.c: Rename to ...
7480 * gdb.base/tui-disasm-long-lines.c: ... this.
7481 * gdb.base/tui-layout.exp: Rename to ...
7482 * gdb.base/tui-disasm-long-lines.exp: ... this.
7483
f8c4e718
PA
74842017-03-07 Pedro Alves <palves@redhat.com>
7485
7486 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
7487
6dbb839a 74882017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
7489
7490 * i386-mpx-call.c: New file.
7491 * i386-mpx-call.exp: New file.
7492
65b48a81
PB
74932017-02-28 Peter Bergner <bergner@vnet.ibm.com>
7494
7495 * gdb.arch/powerpc-power.exp: Delete test.
7496 * gdb.arch/powerpc-power.s: Likewise.
7497 * gdb.disasm/disassembler-options.exp: New test.
7498 * gdb.arch/powerpc-altivec.exp: Likewise.
7499 * gdb.arch/powerpc-altivec.s: Likewise.
7500 * gdb.arch/powerpc-altivec2.exp: Likewise.
7501 * gdb.arch/powerpc-altivec2.s: Likewise.
7502 * gdb.arch/powerpc-altivec3.exp: Likewise.
7503 * gdb.arch/powerpc-altivec3.s: Likewise.
7504 * gdb.arch/powerpc-power7.exp: Likewise.
7505 * gdb.arch/powerpc-power7.s: Likewise.
7506 * gdb.arch/powerpc-power8.exp: Likewise.
7507 * gdb.arch/powerpc-power8.s: Likewise.
7508 * gdb.arch/powerpc-power9.exp: Likewise.
7509 * gdb.arch/powerpc-power9.s: Likewise.
7510 * gdb.arch/powerpc-vsx.exp: Likewise.
7511 * gdb.arch/powerpc-vsx.s: Likewise.
7512 * gdb.arch/powerpc-vsx2.exp: Likewise.
7513 * gdb.arch/powerpc-vsx2.s: Likewise.
7514 * gdb.arch/powerpc-vsx3.exp: Likewise.
7515 * gdb.arch/powerpc-vsx3.s: Likewise.
7516 * gdb.arch/arm-disassembler-options.exp: Likewise.
7517 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
7518 * gdb.arch/s390-disassembler-options.exp: Likewise.
7519
17cd4947
LM
75202017-02-23 Luis Machado <lgustavo@codesourcery.com>
7521
7522 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
7523 (check_supported_features): ... this. Changed return type to void.
7524 (supports_rdseed): New static global.
7525 (rdseed): Check supports_rdseed.
7526 (initialize): Call check_supported_features.
7527
2039d74e
EBM
75282017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7529
7530 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
7531 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
7532 and lqarx/stqcx.
7533 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
7534 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
7535
a51d7ecf
EBM
75362017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7537
7538 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
7539 uppercase.
7540
0224619f
JK
75412017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7542
7543 * gdb.dwarf2/formdata16.c: New file.
7544 * gdb.dwarf2/formdata16.exp: New file.
7545 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
7546
216f72a1
JK
75472017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7548
7549 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
7550 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
7551 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
7552 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
7553 DW_AT_GNU_*.
7554
43988095
JK
75552017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7556
7557 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
7558
99e8a4f9
SDJ
75592017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
7560
7561 PR gdb/21164
7562 * gdb.base/maint.exp: Add testcases for when the commands do
7563 not have arguments.
7564
b58a8c0c
TP
75652017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
7566
7567 * gdb.cp/chained-calls.exp: Use p instead of P.
7568
4e746bb6
TW
75692017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
7570
7571 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
7572 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
7573
3f77c769
TT
75742017-02-14 Tom Tromey <tom@tromey.com>
7575
7576 PR python/13598:
7577 * gdb.python/py-events.exp: Add before_prompt event tests.
7578
075beec0
AA
75792017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7580
7581 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
7582
bf5f525c
LM
75832017-02-13 Luis Machado <lgustavo@codesourcery.com>
7584
7585 * gdb.linespec/explicit.c (my_unique_function_name): New function.
7586 (main): Call my_unique_function_name.
7587 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
7588 completion of patterns with a single match.
7589 Add missing -re switches to gdb_test_multiple calls.
7590
13a66184
LM
75912017-02-13 Luis Machado <lgustavo@codesourcery.com>
7592
7593 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
7594 return if core file is not recognized.
7595
26a06916
SM
75962017-02-10 Simon Marchi <simon.marchi@ericsson.com>
7597
7598 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
7599 and extra UIs.
7600
b761ca9e
SM
76012017-02-10 Simon Marchi <simon.marchi@ericsson.com>
7602
7603 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
7604 proc_with_prefix.
7605
b964bee0
TT
76062017-02-10 Tom Tromey <tom@tromey.com>
7607
7608 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
7609
18da0c51
MG
76102017-02-10 Martin Galvan <martingalvan@sourceware.org>
7611
7612 PR gdb/21122
7613 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
7614
604c4576
JG
76152017-02-08 Jerome Guitton <guitton@adacore.com>
7616
7617 * gdb.base/define.exp: Add test for command abbreviations
7618 in define.
7619
20b477a7
LM
76202017-02-06 Luis Machado <lgustavo@codesourcery.com>
7621
7622 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
7623 * gdb.reverse/insn-reverse-x86.c: New file.
7624
3f7b46f2
IR
76252017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
7626
7627 PR tdep/20936
7628 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
7629
f0fd41c1
TT
76302017-02-03 Tom Tromey <tom@tromey.com>
7631
7632 PR rust/21097:
7633 * gdb.rust/simple.exp: Add new tests.
7634
5be5dbf0
PA
76352017-02-02 Pedro Alves <palves@redhat.com>
7636
7637 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
7638 tests.
7639
7346ef59
AA
76402017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
7641
7642 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
7643 taking a 2-byte value out of a 4-byte DWARF implicit value on
7644 big-endian targets.
7645 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
7646 logic. Add test cases for DW_OP_implicit.
7647
787f0025
MM
76482017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7649
7650 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
7651
68777c29
MM
76522017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7653
7654 * gdb.btrace/enable.exp: Call gdb_exit before
7655 skip_gdbserver_tests.
7656
0a1c7e28
MM
76572017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7658
7659 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
7660 GDBFLAGS.
7661
b5ac99b0
MM
76622017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7663
7664 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
7665 the test is skipped.
7666 * gdb.btrace/data.exp: Likewise.
7667 * gdb.btrace/delta.exp: Likewise.
7668 * gdb.btrace/dlopen.exp: Likewise.
7669 * gdb.btrace/enable-running.exp: Likewise.
7670 * gdb.btrace/enable.exp: Likewise.
7671 * gdb.btrace/exception.exp: Likewise.
7672 * gdb.btrace/function_call_history.exp: Likewise.
7673 * gdb.btrace/gcore.exp: Likewise.
7674 * gdb.btrace/instruction_history.exp: Likewise.
7675 * gdb.btrace/multi-thread-step.exp: Likewise.
7676 * gdb.btrace/nohist.exp: Likewise.
7677 * gdb.btrace/non-stop.exp: Likewise.
7678 * gdb.btrace/reconnect.exp: Likewise.
7679 * gdb.btrace/record_goto-step.exp: Likewise.
7680 * gdb.btrace/record_goto.exp: Likewise.
7681 * gdb.btrace/rn-dl-bind.exp: Likewise.
7682 * gdb.btrace/segv.exp: Likewise.
7683 * gdb.btrace/step.exp: Likewise.
7684 * gdb.btrace/stepi.exp: Likewise.
7685 * gdb.btrace/tailcall-only.exp: Likewise.
7686 * gdb.btrace/tailcall.exp: Likewise.
7687 * gdb.btrace/tsx.exp: Likewise.
7688 * gdb.btrace/unknown_functions.exp: Likewise.
7689 * gdb.btrace/vdso.exp: Likewise.
7690
cd4007e4
MM
76912017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7692
7693 * gdb.btrace/enable-running.c: New.
7694 * gdb.btrace/enable-running.exp: New.
7695
2735833d
WT
76962017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
7697
7698 * gdb.arch/amd64-gs_base.c: New file.
7699 * gdb.arch/amd64-gs_base.exp: New file.
7700
b51e1e94
LM
77012017-01-26 Luis Machado <lgustavo@codesourcery.com>
7702
7703 * lib/memory.exp: Remove spurious empty newlines.
7704
72ca0410
SM
77052017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
7706
7707 * gdb.python/py-bad-printers.exp: Load python file using "source".
7708 * gdb.python/py-events.exp: Likewise.
7709 * gdb.python/py-evsignal.exp: Likewise.
7710 * gdb.python/py-evthreads.exp: Likewise.
7711 * gdb.python/py-frame-args.exp: Likewise.
7712 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
7713 * gdb.python/py-framefilter-mi.exp: Likewise.
7714 * gdb.python/py-framefilter.exp: Likewise.
7715 * gdb.python/py-mi.exp: Likewise.
7716 * gdb.python/py-pp-maint.exp: Likewise.
7717 * gdb.python/py-pp-registration.exp: Likewise.
7718 * gdb.python/py-prettyprint.exp: Likewise.
7719 (run_lang_tests): Likewise.
7720 * gdb.python/py-typeprint.exp: Likewise.
7721
e309aa65
LM
77222017-01-26 Luis Machado <lgustavo@codesourcery.com>
7723
7724 * lib/memory.exp: New file.
7725 * lib/gdb.exp: Load memory.exp.
7726 * gdb.base/memattr.exp (delete_memory): Move proc to
7727 lib/memory.exp and rename to delete_memory_regions.
7728 Replace delete_memory with delete_memory_regions.
7729 Cleanup memory regions before tests.
7730 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
7731 before tests.
7732
515aff23
LM
77332017-01-26 Luis Machado <lgustavo@codesourcery.com>
7734
7735 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
7736 files.
7737 (initialize): New function conditionally defined.
7738 (testcases): Move within conditional block.
7739 (main): Call initialize.
7740 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
7741 of gdb.reverse/insn-reverse.c.
7742 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
7743 gdb.reverse/insn-reverse.c.
7744
d8b49cf0
YQ
77452017-01-26 Yao Qi <yao.qi@linaro.org>
7746
7747 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
7748 disassemble on address 0.
7749
f13a9a0c
YQ
77502017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
7751 Yao Qi <yao.qi@linaro.org>
7752
7753 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
7754 * gdb.dwarf2/implptr-64bit.S: Remove.
7755 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
7756 variables in caller's context. Add DW_OP_implicit_value.
7757
5ac95241
YQ
77582017-01-25 Yao Qi <yao.qi@linaro.org>
7759
7760 * lib/dwarf.exp (Dwarf::_location): Handle
7761 DW_OP_GNU_implicit_pointer with proper size.
7762
23e82930
LM
77632017-01-20 Luis Machado <lgustavo@codesourcery.com>
7764
7765 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
7766 and add untested calls.
7767
d334ae25
LM
77682017-01-20 Luis Machado <lgustavo@codesourcery.com>
7769
7770 * gdb.python/python.exp: Check line number against what GDB thinks
7771 the line number is for func1.
7772
f5e6296e
IB
77732017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
7774
7775 * gdb.dlang/debug-expr.exp: New file.
7776
5b362f04
LM
77772016-12-23 Luis Machado <lgustavo@codesourcery.com>
7778
7779 Fix test names for the following files:
7780
7781 * gdb.ada/exec_changed.exp
7782 * gdb.ada/info_types.exp
7783 * gdb.arch/aarch64-atomic-inst.exp
7784 * gdb.arch/aarch64-fp.exp
7785 * gdb.arch/altivec-abi.exp
7786 * gdb.arch/altivec-regs.exp
7787 * gdb.arch/amd64-byte.exp
7788 * gdb.arch/amd64-disp-step.exp
7789 * gdb.arch/amd64-dword.exp
7790 * gdb.arch/amd64-entry-value-inline.exp
7791 * gdb.arch/amd64-entry-value-param.exp
7792 * gdb.arch/amd64-entry-value-paramref.exp
7793 * gdb.arch/amd64-entry-value.exp
7794 * gdb.arch/amd64-i386-address.exp
7795 * gdb.arch/amd64-invalid-stack-middle.exp
7796 * gdb.arch/amd64-invalid-stack-top.exp
7797 * gdb.arch/amd64-optimout-repeat.exp
7798 * gdb.arch/amd64-prologue-skip.exp
7799 * gdb.arch/amd64-prologue-xmm.exp
7800 * gdb.arch/amd64-stap-special-operands.exp
7801 * gdb.arch/amd64-stap-wrong-subexp.exp
7802 * gdb.arch/amd64-tailcall-cxx.exp
7803 * gdb.arch/amd64-tailcall-noret.exp
7804 * gdb.arch/amd64-tailcall-ret.exp
7805 * gdb.arch/amd64-tailcall-self.exp
7806 * gdb.arch/amd64-word.exp
7807 * gdb.arch/arm-bl-branch-dest.exp
7808 * gdb.arch/arm-disp-step.exp
7809 * gdb.arch/arm-neon.exp
7810 * gdb.arch/arm-single-step-kernel-helper.exp
7811 * gdb.arch/avr-flash-qualifier.exp
7812 * gdb.arch/disp-step-insn-reloc.exp
7813 * gdb.arch/e500-abi.exp
7814 * gdb.arch/e500-regs.exp
7815 * gdb.arch/ftrace-insn-reloc.exp
7816 * gdb.arch/i386-avx512.exp
7817 * gdb.arch/i386-bp_permanent.exp
7818 * gdb.arch/i386-byte.exp
7819 * gdb.arch/i386-cfi-notcurrent.exp
7820 * gdb.arch/i386-disp-step.exp
7821 * gdb.arch/i386-dr3-watch.exp
7822 * gdb.arch/i386-float.exp
7823 * gdb.arch/i386-gnu-cfi.exp
7824 * gdb.arch/i386-mpx-map.exp
7825 * gdb.arch/i386-mpx-sigsegv.exp
7826 * gdb.arch/i386-mpx-simple_segv.exp
7827 * gdb.arch/i386-mpx.exp
7828 * gdb.arch/i386-permbkpt.exp
7829 * gdb.arch/i386-prologue.exp
7830 * gdb.arch/i386-signal.exp
7831 * gdb.arch/i386-size-overlap.exp
7832 * gdb.arch/i386-unwind.exp
7833 * gdb.arch/i386-word.exp
7834 * gdb.arch/mips-fcr.exp
7835 * gdb.arch/powerpc-d128-regs.exp
7836 * gdb.arch/powerpc-stackless.exp
7837 * gdb.arch/ppc64-atomic-inst.exp
7838 * gdb.arch/s390-stackless.exp
7839 * gdb.arch/s390-tdbregs.exp
7840 * gdb.arch/s390-vregs.exp
7841 * gdb.arch/sparc-sysstep.exp
7842 * gdb.arch/thumb-bx-pc.exp
7843 * gdb.arch/thumb-singlestep.exp
7844 * gdb.arch/thumb2-it.exp
7845 * gdb.arch/vsx-regs.exp
7846 * gdb.asm/asm-source.exp
7847 * gdb.base/a2-run.exp
7848 * gdb.base/advance.exp
7849 * gdb.base/all-bin.exp
7850 * gdb.base/anon.exp
7851 * gdb.base/args.exp
7852 * gdb.base/arithmet.exp
7853 * gdb.base/async-shell.exp
7854 * gdb.base/async.exp
7855 * gdb.base/attach-pie-noexec.exp
7856 * gdb.base/attach-twice.exp
7857 * gdb.base/auto-load.exp
7858 * gdb.base/bang.exp
7859 * gdb.base/bitfields.exp
7860 * gdb.base/break-always.exp
7861 * gdb.base/break-caller-line.exp
7862 * gdb.base/break-entry.exp
7863 * gdb.base/break-inline.exp
7864 * gdb.base/break-on-linker-gcd-function.exp
7865 * gdb.base/break-probes.exp
7866 * gdb.base/break.exp
7867 * gdb.base/breakpoint-shadow.exp
7868 * gdb.base/call-ar-st.exp
7869 * gdb.base/call-sc.exp
7870 * gdb.base/call-signal-resume.exp
7871 * gdb.base/call-strs.exp
7872 * gdb.base/callfuncs.exp
7873 * gdb.base/catch-fork-static.exp
7874 * gdb.base/catch-gdb-caused-signals.exp
7875 * gdb.base/catch-load.exp
7876 * gdb.base/catch-signal-fork.exp
7877 * gdb.base/catch-signal.exp
7878 * gdb.base/catch-syscall.exp
7879 * gdb.base/charset.exp
7880 * gdb.base/checkpoint.exp
7881 * gdb.base/chng-syms.exp
7882 * gdb.base/code-expr.exp
7883 * gdb.base/code_elim.exp
7884 * gdb.base/commands.exp
7885 * gdb.base/completion.exp
7886 * gdb.base/complex.exp
7887 * gdb.base/cond-expr.exp
7888 * gdb.base/condbreak.exp
7889 * gdb.base/consecutive.exp
7890 * gdb.base/continue-all-already-running.exp
7891 * gdb.base/coredump-filter.exp
7892 * gdb.base/corefile.exp
7893 * gdb.base/dbx.exp
7894 * gdb.base/debug-expr.exp
7895 * gdb.base/define.exp
7896 * gdb.base/del.exp
7897 * gdb.base/disabled-location.exp
7898 * gdb.base/disasm-end-cu.exp
7899 * gdb.base/disasm-optim.exp
7900 * gdb.base/display.exp
7901 * gdb.base/duplicate-bp.exp
7902 * gdb.base/ena-dis-br.exp
7903 * gdb.base/ending-run.exp
7904 * gdb.base/enumval.exp
7905 * gdb.base/environ.exp
7906 * gdb.base/eu-strip-infcall.exp
7907 * gdb.base/eval-avoid-side-effects.exp
7908 * gdb.base/eval-skip.exp
7909 * gdb.base/exitsignal.exp
7910 * gdb.base/expand-psymtabs.exp
7911 * gdb.base/filesym.exp
7912 * gdb.base/find-unmapped.exp
7913 * gdb.base/finish.exp
7914 * gdb.base/float.exp
7915 * gdb.base/foll-exec-mode.exp
7916 * gdb.base/foll-exec.exp
7917 * gdb.base/foll-fork.exp
7918 * gdb.base/fortran-sym-case.exp
7919 * gdb.base/freebpcmd.exp
7920 * gdb.base/func-ptr.exp
7921 * gdb.base/func-ptrs.exp
7922 * gdb.base/funcargs.exp
7923 * gdb.base/gcore-buffer-overflow.exp
7924 * gdb.base/gcore-relro-pie.exp
7925 * gdb.base/gcore-relro.exp
7926 * gdb.base/gcore.exp
7927 * gdb.base/gdb1090.exp
7928 * gdb.base/gdb11530.exp
7929 * gdb.base/gdb11531.exp
7930 * gdb.base/gdb1821.exp
7931 * gdb.base/gdbindex-stabs.exp
7932 * gdb.base/gdbvars.exp
7933 * gdb.base/hbreak.exp
7934 * gdb.base/hbreak2.exp
7935 * gdb.base/included.exp
7936 * gdb.base/infcall-input.exp
7937 * gdb.base/inferior-died.exp
7938 * gdb.base/infnan.exp
7939 * gdb.base/info-macros.exp
7940 * gdb.base/info-os.exp
7941 * gdb.base/info-proc.exp
7942 * gdb.base/info-shared.exp
7943 * gdb.base/info-target.exp
7944 * gdb.base/infoline.exp
7945 * gdb.base/interp.exp
7946 * gdb.base/interrupt.exp
7947 * gdb.base/jit-reader.exp
7948 * gdb.base/jit-simple.exp
7949 * gdb.base/kill-after-signal.exp
7950 * gdb.base/kill-detach-inferiors-cmd.exp
7951 * gdb.base/label.exp
7952 * gdb.base/langs.exp
7953 * gdb.base/ldbl_e308.exp
7954 * gdb.base/line-symtabs.exp
7955 * gdb.base/linespecs.exp
7956 * gdb.base/list.exp
7957 * gdb.base/long_long.exp
7958 * gdb.base/longest-types.exp
7959 * gdb.base/maint.exp
7960 * gdb.base/max-value-size.exp
7961 * gdb.base/memattr.exp
7962 * gdb.base/mips_pro.exp
7963 * gdb.base/morestack.exp
7964 * gdb.base/moribund-step.exp
7965 * gdb.base/multi-forks.exp
7966 * gdb.base/nested-addr.exp
7967 * gdb.base/nextoverexit.exp
7968 * gdb.base/noreturn-finish.exp
7969 * gdb.base/noreturn-return.exp
7970 * gdb.base/nostdlib.exp
7971 * gdb.base/offsets.exp
7972 * gdb.base/opaque.exp
7973 * gdb.base/pc-fp.exp
7974 * gdb.base/permissions.exp
7975 * gdb.base/print-symbol-loading.exp
7976 * gdb.base/prologue-include.exp
7977 * gdb.base/psymtab.exp
7978 * gdb.base/ptype.exp
7979 * gdb.base/random-signal.exp
7980 * gdb.base/randomize.exp
7981 * gdb.base/range-stepping.exp
7982 * gdb.base/readline-ask.exp
7983 * gdb.base/recpar.exp
7984 * gdb.base/recurse.exp
7985 * gdb.base/relational.exp
7986 * gdb.base/restore.exp
7987 * gdb.base/return-nodebug.exp
7988 * gdb.base/return.exp
7989 * gdb.base/run-after-attach.exp
7990 * gdb.base/save-bp.exp
7991 * gdb.base/scope.exp
7992 * gdb.base/sect-cmd.exp
7993 * gdb.base/set-lang-auto.exp
7994 * gdb.base/set-noassign.exp
7995 * gdb.base/setvar.exp
7996 * gdb.base/sigall.exp
7997 * gdb.base/sigbpt.exp
7998 * gdb.base/siginfo-addr.exp
7999 * gdb.base/siginfo-infcall.exp
8000 * gdb.base/siginfo-obj.exp
8001 * gdb.base/siginfo.exp
8002 * gdb.base/signals-state-child.exp
8003 * gdb.base/signest.exp
8004 * gdb.base/sigstep.exp
8005 * gdb.base/sizeof.exp
8006 * gdb.base/skip.exp
8007 * gdb.base/solib-corrupted.exp
8008 * gdb.base/solib-nodir.exp
8009 * gdb.base/solib-search.exp
8010 * gdb.base/stack-checking.exp
8011 * gdb.base/stale-infcall.exp
8012 * gdb.base/stap-probe.exp
8013 * gdb.base/start.exp
8014 * gdb.base/step-break.exp
8015 * gdb.base/step-bt.exp
8016 * gdb.base/step-line.exp
8017 * gdb.base/step-over-exit.exp
8018 * gdb.base/step-over-syscall.exp
8019 * gdb.base/step-resume-infcall.exp
8020 * gdb.base/step-test.exp
8021 * gdb.base/store.exp
8022 * gdb.base/structs3.exp
8023 * gdb.base/sym-file.exp
8024 * gdb.base/symbol-without-target_section.exp
8025 * gdb.base/term.exp
8026 * gdb.base/testenv.exp
8027 * gdb.base/ui-redirect.exp
8028 * gdb.base/until.exp
8029 * gdb.base/unwindonsignal.exp
8030 * gdb.base/value-double-free.exp
8031 * gdb.base/vla-datatypes.exp
8032 * gdb.base/vla-ptr.exp
8033 * gdb.base/vla-sideeffect.exp
8034 * gdb.base/volatile.exp
8035 * gdb.base/watch-cond-infcall.exp
8036 * gdb.base/watch-cond.exp
8037 * gdb.base/watch-non-mem.exp
8038 * gdb.base/watch-read.exp
8039 * gdb.base/watch-vfork.exp
8040 * gdb.base/watchpoint-cond-gone.exp
8041 * gdb.base/watchpoint-delete.exp
8042 * gdb.base/watchpoint-hw-hit-once.exp
8043 * gdb.base/watchpoint-hw.exp
8044 * gdb.base/watchpoint-stops-at-right-insn.exp
8045 * gdb.base/watchpoints.exp
8046 * gdb.base/wchar.exp
8047 * gdb.base/whatis-exp.exp
8048 * gdb.btrace/buffer-size.exp
8049 * gdb.btrace/data.exp
8050 * gdb.btrace/delta.exp
8051 * gdb.btrace/dlopen.exp
8052 * gdb.btrace/enable.exp
8053 * gdb.btrace/exception.exp
8054 * gdb.btrace/function_call_history.exp
8055 * gdb.btrace/gcore.exp
8056 * gdb.btrace/instruction_history.exp
8057 * gdb.btrace/nohist.exp
8058 * gdb.btrace/reconnect.exp
8059 * gdb.btrace/record_goto-step.exp
8060 * gdb.btrace/record_goto.exp
8061 * gdb.btrace/rn-dl-bind.exp
8062 * gdb.btrace/segv.exp
8063 * gdb.btrace/step.exp
8064 * gdb.btrace/stepi.exp
8065 * gdb.btrace/tailcall-only.exp
8066 * gdb.btrace/tailcall.exp
8067 * gdb.btrace/tsx.exp
8068 * gdb.btrace/unknown_functions.exp
8069 * gdb.btrace/vdso.exp
8070 * gdb.compile/compile-ifunc.exp
8071 * gdb.compile/compile-ops.exp
8072 * gdb.compile/compile-print.exp
8073 * gdb.compile/compile-setjmp.exp
8074 * gdb.cp/abstract-origin.exp
8075 * gdb.cp/ambiguous.exp
8076 * gdb.cp/annota2.exp
8077 * gdb.cp/annota3.exp
8078 * gdb.cp/anon-ns.exp
8079 * gdb.cp/anon-struct.exp
8080 * gdb.cp/anon-union.exp
8081 * gdb.cp/arg-reference.exp
8082 * gdb.cp/baseenum.exp
8083 * gdb.cp/bool.exp
8084 * gdb.cp/breakpoint.exp
8085 * gdb.cp/bs15503.exp
8086 * gdb.cp/call-c.exp
8087 * gdb.cp/casts.exp
8088 * gdb.cp/chained-calls.exp
8089 * gdb.cp/class2.exp
8090 * gdb.cp/classes.exp
8091 * gdb.cp/cmpd-minsyms.exp
8092 * gdb.cp/converts.exp
8093 * gdb.cp/cp-relocate.exp
8094 * gdb.cp/cpcompletion.exp
8095 * gdb.cp/cpexprs.exp
8096 * gdb.cp/cplabel.exp
8097 * gdb.cp/cplusfuncs.exp
8098 * gdb.cp/cpsizeof.exp
8099 * gdb.cp/ctti.exp
8100 * gdb.cp/derivation.exp
8101 * gdb.cp/destrprint.exp
8102 * gdb.cp/dispcxx.exp
8103 * gdb.cp/enum-class.exp
8104 * gdb.cp/exception.exp
8105 * gdb.cp/exceptprint.exp
8106 * gdb.cp/expand-psymtabs-cxx.exp
8107 * gdb.cp/expand-sals.exp
8108 * gdb.cp/extern-c.exp
8109 * gdb.cp/filename.exp
8110 * gdb.cp/formatted-ref.exp
8111 * gdb.cp/fpointer.exp
8112 * gdb.cp/gdb1355.exp
8113 * gdb.cp/gdb2495.exp
8114 * gdb.cp/hang.exp
8115 * gdb.cp/impl-this.exp
8116 * gdb.cp/infcall-dlopen.exp
8117 * gdb.cp/inherit.exp
8118 * gdb.cp/iostream.exp
8119 * gdb.cp/koenig.exp
8120 * gdb.cp/local.exp
8121 * gdb.cp/m-data.exp
8122 * gdb.cp/m-static.exp
8123 * gdb.cp/mb-ctor.exp
8124 * gdb.cp/mb-inline.exp
8125 * gdb.cp/mb-templates.exp
8126 * gdb.cp/member-name.exp
8127 * gdb.cp/member-ptr.exp
8128 * gdb.cp/meth-typedefs.exp
8129 * gdb.cp/method.exp
8130 * gdb.cp/method2.exp
8131 * gdb.cp/minsym-fallback.exp
8132 * gdb.cp/misc.exp
8133 * gdb.cp/namelessclass.exp
8134 * gdb.cp/namespace-enum.exp
8135 * gdb.cp/namespace-nested-import.exp
8136 * gdb.cp/namespace.exp
8137 * gdb.cp/nextoverthrow.exp
8138 * gdb.cp/no-dmgl-verbose.exp
8139 * gdb.cp/non-trivial-retval.exp
8140 * gdb.cp/noparam.exp
8141 * gdb.cp/nsdecl.exp
8142 * gdb.cp/nsimport.exp
8143 * gdb.cp/nsnested.exp
8144 * gdb.cp/nsnoimports.exp
8145 * gdb.cp/nsrecurs.exp
8146 * gdb.cp/nsstress.exp
8147 * gdb.cp/nsusing.exp
8148 * gdb.cp/operator.exp
8149 * gdb.cp/oranking.exp
8150 * gdb.cp/overload-const.exp
8151 * gdb.cp/overload.exp
8152 * gdb.cp/ovldbreak.exp
8153 * gdb.cp/ovsrch.exp
8154 * gdb.cp/paren-type.exp
8155 * gdb.cp/parse-lang.exp
8156 * gdb.cp/pass-by-ref.exp
8157 * gdb.cp/pr-1023.exp
8158 * gdb.cp/pr-1210.exp
8159 * gdb.cp/pr-574.exp
8160 * gdb.cp/pr10687.exp
8161 * gdb.cp/pr12028.exp
8162 * gdb.cp/pr17132.exp
8163 * gdb.cp/pr17494.exp
8164 * gdb.cp/pr9067.exp
8165 * gdb.cp/pr9167.exp
8166 * gdb.cp/pr9631.exp
8167 * gdb.cp/printmethod.exp
8168 * gdb.cp/psmang.exp
8169 * gdb.cp/psymtab-parameter.exp
8170 * gdb.cp/ptype-cv-cp.exp
8171 * gdb.cp/ptype-flags.exp
8172 * gdb.cp/re-set-overloaded.exp
8173 * gdb.cp/ref-types.exp
8174 * gdb.cp/rtti.exp
8175 * gdb.cp/scope-err.exp
8176 * gdb.cp/shadow.exp
8177 * gdb.cp/smartp.exp
8178 * gdb.cp/static-method.exp
8179 * gdb.cp/static-print-quit.exp
8180 * gdb.cp/temargs.exp
8181 * gdb.cp/templates.exp
8182 * gdb.cp/try_catch.exp
8183 * gdb.cp/typedef-operator.exp
8184 * gdb.cp/typeid.exp
8185 * gdb.cp/userdef.exp
8186 * gdb.cp/using-crash.exp
8187 * gdb.cp/var-tag.exp
8188 * gdb.cp/virtbase.exp
8189 * gdb.cp/virtfunc.exp
8190 * gdb.cp/virtfunc2.exp
8191 * gdb.cp/vla-cxx.exp
8192 * gdb.disasm/t01_mov.exp
8193 * gdb.disasm/t02_mova.exp
8194 * gdb.disasm/t03_add.exp
8195 * gdb.disasm/t04_sub.exp
8196 * gdb.disasm/t05_cmp.exp
8197 * gdb.disasm/t06_ari2.exp
8198 * gdb.disasm/t07_ari3.exp
8199 * gdb.disasm/t08_or.exp
8200 * gdb.disasm/t09_xor.exp
8201 * gdb.disasm/t10_and.exp
8202 * gdb.disasm/t11_logs.exp
8203 * gdb.disasm/t12_bit.exp
8204 * gdb.disasm/t13_otr.exp
8205 * gdb.dlang/circular.exp
8206 * gdb.dwarf2/arr-stride.exp
8207 * gdb.dwarf2/arr-subrange.exp
8208 * gdb.dwarf2/atomic-type.exp
8209 * gdb.dwarf2/bad-regnum.exp
8210 * gdb.dwarf2/bitfield-parent-optimized-out.exp
8211 * gdb.dwarf2/callframecfa.exp
8212 * gdb.dwarf2/clztest.exp
8213 * gdb.dwarf2/corrupt.exp
8214 * gdb.dwarf2/data-loc.exp
8215 * gdb.dwarf2/dup-psym.exp
8216 * gdb.dwarf2/dw2-anon-mptr.exp
8217 * gdb.dwarf2/dw2-anonymous-func.exp
8218 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
8219 * gdb.dwarf2/dw2-bad-unresolved.exp
8220 * gdb.dwarf2/dw2-basic.exp
8221 * gdb.dwarf2/dw2-canonicalize-type.exp
8222 * gdb.dwarf2/dw2-case-insensitive.exp
8223 * gdb.dwarf2/dw2-common-block.exp
8224 * gdb.dwarf2/dw2-compdir-oldgcc.exp
8225 * gdb.dwarf2/dw2-compressed.exp
8226 * gdb.dwarf2/dw2-const.exp
8227 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
8228 * gdb.dwarf2/dw2-cu-size.exp
8229 * gdb.dwarf2/dw2-dup-frame.exp
8230 * gdb.dwarf2/dw2-entry-value.exp
8231 * gdb.dwarf2/dw2-icycle.exp
8232 * gdb.dwarf2/dw2-ifort-parameter.exp
8233 * gdb.dwarf2/dw2-inline-break.exp
8234 * gdb.dwarf2/dw2-inline-param.exp
8235 * gdb.dwarf2/dw2-intercu.exp
8236 * gdb.dwarf2/dw2-intermix.exp
8237 * gdb.dwarf2/dw2-lexical-block-bare.exp
8238 * gdb.dwarf2/dw2-linkage-name-trust.exp
8239 * gdb.dwarf2/dw2-minsym-in-cu.exp
8240 * gdb.dwarf2/dw2-noloc.exp
8241 * gdb.dwarf2/dw2-op-call.exp
8242 * gdb.dwarf2/dw2-op-out-param.exp
8243 * gdb.dwarf2/dw2-opt-structptr.exp
8244 * gdb.dwarf2/dw2-param-error.exp
8245 * gdb.dwarf2/dw2-producer.exp
8246 * gdb.dwarf2/dw2-ranges-base.exp
8247 * gdb.dwarf2/dw2-ref-missing-frame.exp
8248 * gdb.dwarf2/dw2-reg-undefined.exp
8249 * gdb.dwarf2/dw2-regno-invalid.exp
8250 * gdb.dwarf2/dw2-restore.exp
8251 * gdb.dwarf2/dw2-restrict.exp
8252 * gdb.dwarf2/dw2-single-line-discriminators.exp
8253 * gdb.dwarf2/dw2-strp.exp
8254 * gdb.dwarf2/dw2-undefined-ret-addr.exp
8255 * gdb.dwarf2/dw2-unresolved.exp
8256 * gdb.dwarf2/dw2-var-zero-addr.exp
8257 * gdb.dwarf2/dw4-sig-types.exp
8258 * gdb.dwarf2/dwz.exp
8259 * gdb.dwarf2/dynarr-ptr.exp
8260 * gdb.dwarf2/enum-type.exp
8261 * gdb.dwarf2/gdb-index.exp
8262 * gdb.dwarf2/implptr-64bit.exp
8263 * gdb.dwarf2/implptr-optimized-out.exp
8264 * gdb.dwarf2/implptr.exp
8265 * gdb.dwarf2/implref-array.exp
8266 * gdb.dwarf2/implref-const.exp
8267 * gdb.dwarf2/implref-global.exp
8268 * gdb.dwarf2/implref-struct.exp
8269 * gdb.dwarf2/mac-fileno.exp
8270 * gdb.dwarf2/main-subprogram.exp
8271 * gdb.dwarf2/member-ptr-forwardref.exp
8272 * gdb.dwarf2/method-ptr.exp
8273 * gdb.dwarf2/missing-sig-type.exp
8274 * gdb.dwarf2/nonvar-access.exp
8275 * gdb.dwarf2/opaque-type-lookup.exp
8276 * gdb.dwarf2/pieces-optimized-out.exp
8277 * gdb.dwarf2/pieces.exp
8278 * gdb.dwarf2/pr10770.exp
8279 * gdb.dwarf2/pr13961.exp
8280 * gdb.dwarf2/staticvirtual.exp
8281 * gdb.dwarf2/subrange.exp
8282 * gdb.dwarf2/symtab-producer.exp
8283 * gdb.dwarf2/trace-crash.exp
8284 * gdb.dwarf2/typeddwarf.exp
8285 * gdb.dwarf2/valop.exp
8286 * gdb.dwarf2/watch-notconst.exp
8287 * gdb.fortran/array-element.exp
8288 * gdb.fortran/charset.exp
8289 * gdb.fortran/common-block.exp
8290 * gdb.fortran/complex.exp
8291 * gdb.fortran/derived-type-function.exp
8292 * gdb.fortran/derived-type.exp
8293 * gdb.fortran/logical.exp
8294 * gdb.fortran/module.exp
8295 * gdb.fortran/multi-dim.exp
8296 * gdb.fortran/nested-funcs.exp
8297 * gdb.fortran/print-formatted.exp
8298 * gdb.fortran/subarray.exp
8299 * gdb.fortran/vla-alloc-assoc.exp
8300 * gdb.fortran/vla-datatypes.exp
8301 * gdb.fortran/vla-history.exp
8302 * gdb.fortran/vla-ptr-info.exp
8303 * gdb.fortran/vla-ptype-sub.exp
8304 * gdb.fortran/vla-ptype.exp
8305 * gdb.fortran/vla-sizeof.exp
8306 * gdb.fortran/vla-type.exp
8307 * gdb.fortran/vla-value-sub-arbitrary.exp
8308 * gdb.fortran/vla-value-sub-finish.exp
8309 * gdb.fortran/vla-value-sub.exp
8310 * gdb.fortran/vla-value.exp
8311 * gdb.fortran/whatis_type.exp
8312 * gdb.go/chan.exp
8313 * gdb.go/handcall.exp
8314 * gdb.go/hello.exp
8315 * gdb.go/integers.exp
8316 * gdb.go/methods.exp
8317 * gdb.go/package.exp
8318 * gdb.go/strings.exp
8319 * gdb.go/types.exp
8320 * gdb.go/unsafe.exp
8321 * gdb.guile/scm-arch.exp
8322 * gdb.guile/scm-block.exp
8323 * gdb.guile/scm-breakpoint.exp
8324 * gdb.guile/scm-cmd.exp
8325 * gdb.guile/scm-disasm.exp
8326 * gdb.guile/scm-equal.exp
8327 * gdb.guile/scm-frame-args.exp
8328 * gdb.guile/scm-frame-inline.exp
8329 * gdb.guile/scm-frame.exp
8330 * gdb.guile/scm-iterator.exp
8331 * gdb.guile/scm-math.exp
8332 * gdb.guile/scm-objfile.exp
8333 * gdb.guile/scm-ports.exp
8334 * gdb.guile/scm-symbol.exp
8335 * gdb.guile/scm-symtab.exp
8336 * gdb.guile/scm-value-cc.exp
8337 * gdb.guile/types-module.exp
8338 * gdb.linespec/break-ask.exp
8339 * gdb.linespec/cpexplicit.exp
8340 * gdb.linespec/explicit.exp
8341 * gdb.linespec/keywords.exp
8342 * gdb.linespec/linespec.exp
8343 * gdb.linespec/ls-dollar.exp
8344 * gdb.linespec/ls-errs.exp
8345 * gdb.linespec/skip-two.exp
8346 * gdb.linespec/thread.exp
8347 * gdb.mi/mi-async.exp
8348 * gdb.mi/mi-basics.exp
8349 * gdb.mi/mi-break.exp
8350 * gdb.mi/mi-catch-load.exp
8351 * gdb.mi/mi-cli.exp
8352 * gdb.mi/mi-cmd-param-changed.exp
8353 * gdb.mi/mi-console.exp
8354 * gdb.mi/mi-detach.exp
8355 * gdb.mi/mi-disassemble.exp
8356 * gdb.mi/mi-eval.exp
8357 * gdb.mi/mi-file-transfer.exp
8358 * gdb.mi/mi-file.exp
8359 * gdb.mi/mi-fill-memory.exp
8360 * gdb.mi/mi-inheritance-syntax-error.exp
8361 * gdb.mi/mi-linespec-err-cp.exp
8362 * gdb.mi/mi-logging.exp
8363 * gdb.mi/mi-memory-changed.exp
8364 * gdb.mi/mi-read-memory.exp
8365 * gdb.mi/mi-record-changed.exp
8366 * gdb.mi/mi-reg-undefined.exp
8367 * gdb.mi/mi-regs.exp
8368 * gdb.mi/mi-return.exp
8369 * gdb.mi/mi-reverse.exp
8370 * gdb.mi/mi-simplerun.exp
8371 * gdb.mi/mi-solib.exp
8372 * gdb.mi/mi-stack.exp
8373 * gdb.mi/mi-stepi.exp
8374 * gdb.mi/mi-syn-frame.exp
8375 * gdb.mi/mi-until.exp
8376 * gdb.mi/mi-var-block.exp
8377 * gdb.mi/mi-var-child.exp
8378 * gdb.mi/mi-var-cmd.exp
8379 * gdb.mi/mi-var-cp.exp
8380 * gdb.mi/mi-var-display.exp
8381 * gdb.mi/mi-var-invalidate.exp
8382 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
8383 * gdb.mi/mi-vla-fortran.exp
8384 * gdb.mi/mi-watch.exp
8385 * gdb.mi/mi2-var-child.exp
8386 * gdb.mi/user-selected-context-sync.exp
8387 * gdb.modula2/unbounded-array.exp
8388 * gdb.multi/dummy-frame-restore.exp
8389 * gdb.multi/multi-arch-exec.exp
8390 * gdb.multi/multi-arch.exp
8391 * gdb.multi/tids.exp
8392 * gdb.multi/watchpoint-multi.exp
8393 * gdb.opencl/callfuncs.exp
8394 * gdb.opencl/convs_casts.exp
8395 * gdb.opencl/datatypes.exp
8396 * gdb.opencl/operators.exp
8397 * gdb.opencl/vec_comps.exp
8398 * gdb.opt/clobbered-registers-O2.exp
8399 * gdb.opt/inline-break.exp
8400 * gdb.opt/inline-bt.exp
8401 * gdb.opt/inline-cmds.exp
8402 * gdb.opt/inline-locals.exp
8403 * gdb.pascal/case-insensitive-symbols.exp
8404 * gdb.pascal/floats.exp
8405 * gdb.pascal/gdb11492.exp
8406 * gdb.python/lib-types.exp
8407 * gdb.python/py-arch.exp
8408 * gdb.python/py-as-string.exp
8409 * gdb.python/py-bad-printers.exp
8410 * gdb.python/py-block.exp
8411 * gdb.python/py-breakpoint-create-fail.exp
8412 * gdb.python/py-breakpoint.exp
8413 * gdb.python/py-caller-is.exp
8414 * gdb.python/py-cmd.exp
8415 * gdb.python/py-explore-cc.exp
8416 * gdb.python/py-explore.exp
8417 * gdb.python/py-finish-breakpoint.exp
8418 * gdb.python/py-finish-breakpoint2.exp
8419 * gdb.python/py-frame-args.exp
8420 * gdb.python/py-frame-inline.exp
8421 * gdb.python/py-frame.exp
8422 * gdb.python/py-framefilter-mi.exp
8423 * gdb.python/py-infthread.exp
8424 * gdb.python/py-lazy-string.exp
8425 * gdb.python/py-linetable.exp
8426 * gdb.python/py-mi-events.exp
8427 * gdb.python/py-mi-objfile.exp
8428 * gdb.python/py-mi.exp
8429 * gdb.python/py-objfile.exp
8430 * gdb.python/py-pp-integral.exp
8431 * gdb.python/py-pp-maint.exp
8432 * gdb.python/py-pp-re-notag.exp
8433 * gdb.python/py-pp-registration.exp
8434 * gdb.python/py-recurse-unwind.exp
8435 * gdb.python/py-strfns.exp
8436 * gdb.python/py-symbol.exp
8437 * gdb.python/py-symtab.exp
8438 * gdb.python/py-sync-interp.exp
8439 * gdb.python/py-typeprint.exp
8440 * gdb.python/py-unwind-maint.exp
8441 * gdb.python/py-unwind.exp
8442 * gdb.python/py-value-cc.exp
8443 * gdb.python/py-xmethods.exp
8444 * gdb.reverse/amd64-tailcall-reverse.exp
8445 * gdb.reverse/break-precsave.exp
8446 * gdb.reverse/break-reverse.exp
8447 * gdb.reverse/consecutive-precsave.exp
8448 * gdb.reverse/consecutive-reverse.exp
8449 * gdb.reverse/finish-precsave.exp
8450 * gdb.reverse/finish-reverse-bkpt.exp
8451 * gdb.reverse/finish-reverse.exp
8452 * gdb.reverse/fstatat-reverse.exp
8453 * gdb.reverse/getresuid-reverse.exp
8454 * gdb.reverse/i386-precsave.exp
8455 * gdb.reverse/i386-reverse.exp
8456 * gdb.reverse/i386-sse-reverse.exp
8457 * gdb.reverse/i387-env-reverse.exp
8458 * gdb.reverse/i387-stack-reverse.exp
8459 * gdb.reverse/insn-reverse.exp
8460 * gdb.reverse/machinestate-precsave.exp
8461 * gdb.reverse/machinestate.exp
8462 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8463 * gdb.reverse/pipe-reverse.exp
8464 * gdb.reverse/readv-reverse.exp
8465 * gdb.reverse/recvmsg-reverse.exp
8466 * gdb.reverse/rerun-prec.exp
8467 * gdb.reverse/s390-mvcle.exp
8468 * gdb.reverse/step-precsave.exp
8469 * gdb.reverse/step-reverse.exp
8470 * gdb.reverse/time-reverse.exp
8471 * gdb.reverse/until-precsave.exp
8472 * gdb.reverse/until-reverse.exp
8473 * gdb.reverse/waitpid-reverse.exp
8474 * gdb.reverse/watch-precsave.exp
8475 * gdb.reverse/watch-reverse.exp
8476 * gdb.rust/generics.exp
8477 * gdb.rust/methods.exp
8478 * gdb.rust/modules.exp
8479 * gdb.rust/simple.exp
8480 * gdb.server/connect-with-no-symbol-file.exp
8481 * gdb.server/ext-attach.exp
8482 * gdb.server/ext-restart.exp
8483 * gdb.server/ext-wrapper.exp
8484 * gdb.server/file-transfer.exp
8485 * gdb.server/server-exec-info.exp
8486 * gdb.server/server-kill.exp
8487 * gdb.server/server-mon.exp
8488 * gdb.server/wrapper.exp
8489 * gdb.stabs/exclfwd.exp
8490 * gdb.stabs/gdb11479.exp
8491 * gdb.threads/clone-new-thread-event.exp
8492 * gdb.threads/corethreads.exp
8493 * gdb.threads/current-lwp-dead.exp
8494 * gdb.threads/dlopen-libpthread.exp
8495 * gdb.threads/gcore-thread.exp
8496 * gdb.threads/sigstep-threads.exp
8497 * gdb.threads/watchpoint-fork.exp
8498 * gdb.trace/actions-changed.exp
8499 * gdb.trace/backtrace.exp
8500 * gdb.trace/change-loc.exp
8501 * gdb.trace/circ.exp
8502 * gdb.trace/collection.exp
8503 * gdb.trace/disconnected-tracing.exp
8504 * gdb.trace/ftrace.exp
8505 * gdb.trace/mi-trace-frame-collected.exp
8506 * gdb.trace/mi-trace-unavailable.exp
8507 * gdb.trace/mi-traceframe-changed.exp
8508 * gdb.trace/mi-tsv-changed.exp
8509 * gdb.trace/no-attach-trace.exp
8510 * gdb.trace/passc-dyn.exp
8511 * gdb.trace/qtro.exp
8512 * gdb.trace/range-stepping.exp
8513 * gdb.trace/read-memory.exp
8514 * gdb.trace/save-trace.exp
8515 * gdb.trace/signal.exp
8516 * gdb.trace/status-stop.exp
8517 * gdb.trace/tfile.exp
8518 * gdb.trace/trace-break.exp
8519 * gdb.trace/trace-buffer-size.exp
8520 * gdb.trace/trace-condition.exp
8521 * gdb.trace/tracefile-pseudo-reg.exp
8522 * gdb.trace/tstatus.exp
8523 * gdb.trace/unavailable.exp
8524 * gdb.trace/while-dyn.exp
8525 * gdb.trace/while-stepping.exp
8526
34c41c68
DE
85272016-12-22 Doug Evans <xdje42@gmail.com>
8528
8529 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
8530 and msymbols.
8531
16e69324
YQ
85322016-12-19 Yao Qi <yao.qi@linaro.org>
8533
8534 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
8535 (test_with_self): Don't call do_steps_and_nexts, and remove
8536 code about stepping into xmalloc.
8537
f94f411b
YQ
85382016-12-09 Yao Qi <yao.qi@linaro.org>
8539
8540 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
8541
85422016-12-09 Yao Qi <yao.qi@linaro.org>
8543
8544 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
8545
f1b5deee
PA
85462016-12-09 Pedro Alves <palves@redhat.com>
8547
8548 * gdb.base/all-architectures-0.exp: New file.
8549 * gdb.base/all-architectures-1.exp: New file.
8550 * gdb.base/all-architectures-2.exp: New file.
8551 * gdb.base/all-architectures-3.exp: New file.
8552 * gdb.base/all-architectures-4.exp: New file.
8553 * gdb.base/all-architectures-5.exp: New file.
8554 * gdb.base/all-architectures-6.exp: New file.
8555 * gdb.base/all-architectures-7.exp: New file.
8556 * gdb.base/all-architectures.exp.in: New file.
8557
364ca42e
YQ
85582016-12-09 Yao Qi <yao.qi@linaro.org>
8559
8560 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
8561
107c2d62
LM
85622016-12-02 Luis Machado <lgustavo@codesourcery.com>
8563
8564 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
8565 possible.
8566 Remove useless pattern-matching code.
8567
df3ee9ca
PA
85682016-12-02 Pedro Alves <palves@redhat.com>
8569
8570 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
8571 procedure.
8572 (top level): Call it.
8573
ec835369
PA
85742016-12-02 Pedro Alves <palves@redhat.com>
8575
8576 * gdb.base/commands.exp (user_defined_command_args_stack_test):
8577 New procedure.
8578 (top level): Call it.
8579
01770bbd
PA
85802016-12-02 Pedro Alves <palves@redhat.com>
8581
8582 PR cli/20559
8583 * gdb.base/commands.exp (user_defined_command_args_eval): New
8584 procedure.
8585 (top level): Call it.
8586
008459ea
LM
85872016-12-02 Luis Machado <lgustavo@codesourcery.com>
8588
8589 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
8590 timeout handling.
8591
0c1b455e
TT
85922016-12-02 Tom Tromey <tom@tromey.com>
8593
8594 * gdb.dwarf2/main-subprogram.c: New file.
8595 * gdb.dwarf2/main-subprogram.exp: New file.
8596
018572b8
LM
85972016-12-01 Luis Machado <lgustavo@codesourcery.com>
8598
8599 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
8600 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
8601 gdb_test_no_output for a couple of cases.
8602 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
8603
84c93cd5
LM
86042016-12-01 Luis Machado <lgustavo@codesourcery.com>
8605
8606 Fix test names and standardize compilation error messages throughout
8607 the following files:
8608
8609 * gdb.ada/start.exp
8610 * gdb.arch/alpha-step.exp
8611 * gdb.arch/e500-prologue.exp
8612 * gdb.arch/ftrace-insn-reloc.exp
8613 * gdb.arch/gdb1291.exp
8614 * gdb.arch/gdb1431.exp
8615 * gdb.arch/gdb1558.exp
8616 * gdb.arch/i386-dr3-watch.exp
8617 * gdb.arch/i386-sse-stack-align.exp
8618 * gdb.arch/ia64-breakpoint-shadow.exp
8619 * gdb.arch/pa-nullify.exp
8620 * gdb.arch/powerpc-aix-prologue.exp
8621 * gdb.arch/thumb-bx-pc.exp
8622 * gdb.base/annota1.exp
8623 * gdb.base/annota3.exp
8624 * gdb.base/arrayidx.exp
8625 * gdb.base/assign.exp
8626 * gdb.base/attach.exp
8627 * gdb.base/auxv.exp
8628 * gdb.base/bang.exp
8629 * gdb.base/bfp-test.exp
8630 * gdb.base/bigcore.exp
8631 * gdb.base/bitfields2.exp
8632 * gdb.base/break-fun-addr.exp
8633 * gdb.base/break-probes.exp
8634 * gdb.base/call-rt-st.exp
8635 * gdb.base/callexit.exp
8636 * gdb.base/catch-fork-kill.exp
8637 * gdb.base/charset.exp
8638 * gdb.base/checkpoint.exp
8639 * gdb.base/comprdebug.exp
8640 * gdb.base/constvars.exp
8641 * gdb.base/coredump-filter.exp
8642 * gdb.base/cursal.exp
8643 * gdb.base/cvexpr.exp
8644 * gdb.base/detach.exp
8645 * gdb.base/display.exp
8646 * gdb.base/dmsym.exp
8647 * gdb.base/dprintf-pending.exp
8648 * gdb.base/dso2dso.exp
8649 * gdb.base/dtrace-probe.exp
8650 * gdb.base/dump.exp
8651 * gdb.base/enum_cond.exp
8652 * gdb.base/exe-lock.exp
8653 * gdb.base/exec-invalid-sysroot.exp
8654 * gdb.base/execl-update-breakpoints.exp
8655 * gdb.base/exprs.exp
8656 * gdb.base/fileio.exp
8657 * gdb.base/find.exp
8658 * gdb.base/finish.exp
8659 * gdb.base/fixsection.exp
8660 * gdb.base/foll-vfork.exp
8661 * gdb.base/frame-args.exp
8662 * gdb.base/gcore.exp
8663 * gdb.base/gdb1250.exp
8664 * gdb.base/global-var-nested-by-dso.exp
8665 * gdb.base/gnu-ifunc.exp
8666 * gdb.base/hashline1.exp
8667 * gdb.base/hashline2.exp
8668 * gdb.base/hashline3.exp
8669 * gdb.base/hbreak-in-shr-unsupported.exp
8670 * gdb.base/huge.exp
8671 * gdb.base/infcall-input.exp
8672 * gdb.base/info-fun.exp
8673 * gdb.base/info-shared.exp
8674 * gdb.base/jit-simple.exp
8675 * gdb.base/jit-so.exp
8676 * gdb.base/jit.exp
8677 * gdb.base/jump.exp
8678 * gdb.base/label.exp
8679 * gdb.base/lineinc.exp
8680 * gdb.base/logical.exp
8681 * gdb.base/longjmp.exp
8682 * gdb.base/macscp.exp
8683 * gdb.base/miscexprs.exp
8684 * gdb.base/new-ui-echo.exp
8685 * gdb.base/new-ui-pending-input.exp
8686 * gdb.base/new-ui.exp
8687 * gdb.base/nodebug.exp
8688 * gdb.base/nofield.exp
8689 * gdb.base/offsets.exp
8690 * gdb.base/overlays.exp
8691 * gdb.base/pending.exp
8692 * gdb.base/pointers.exp
8693 * gdb.base/pr11022.exp
8694 * gdb.base/printcmds.exp
8695 * gdb.base/prologue.exp
8696 * gdb.base/ptr-typedef.exp
8697 * gdb.base/realname-expand.exp
8698 * gdb.base/relativedebug.exp
8699 * gdb.base/relocate.exp
8700 * gdb.base/remote.exp
8701 * gdb.base/reread.exp
8702 * gdb.base/return2.exp
8703 * gdb.base/savedregs.exp
8704 * gdb.base/sep.exp
8705 * gdb.base/sepdebug.exp
8706 * gdb.base/sepsymtab.exp
8707 * gdb.base/set-inferior-tty.exp
8708 * gdb.base/setshow.exp
8709 * gdb.base/shlib-call.exp
8710 * gdb.base/sigaltstack.exp
8711 * gdb.base/siginfo-addr.exp
8712 * gdb.base/signals.exp
8713 * gdb.base/signull.exp
8714 * gdb.base/sigrepeat.exp
8715 * gdb.base/so-impl-ld.exp
8716 * gdb.base/solib-display.exp
8717 * gdb.base/solib-overlap.exp
8718 * gdb.base/solib-search.exp
8719 * gdb.base/solib-symbol.exp
8720 * gdb.base/structs.exp
8721 * gdb.base/structs2.exp
8722 * gdb.base/symtab-search-order.exp
8723 * gdb.base/twice.exp
8724 * gdb.base/unload.exp
8725 * gdb.base/varargs.exp
8726 * gdb.base/watchpoint-solib.exp
8727 * gdb.base/watchpoint.exp
8728 * gdb.base/whatis.exp
8729 * gdb.base/wrong_frame_bt_full.exp
8730 * gdb.btrace/dlopen.exp
8731 * gdb.cell/ea-standalone.exp
8732 * gdb.cell/ea-test.exp
8733 * gdb.cp/dispcxx.exp
8734 * gdb.cp/gdb2384.exp
8735 * gdb.cp/method2.exp
8736 * gdb.cp/nextoverthrow.exp
8737 * gdb.cp/pr10728.exp
8738 * gdb.disasm/am33.exp
8739 * gdb.disasm/h8300s.exp
8740 * gdb.disasm/mn10300.exp
8741 * gdb.disasm/sh3.exp
8742 * gdb.dwarf2/dw2-dir-file-name.exp
8743 * gdb.fortran/complex.exp
8744 * gdb.fortran/library-module.exp
8745 * gdb.guile/scm-pretty-print.exp
8746 * gdb.guile/scm-symbol.exp
8747 * gdb.guile/scm-type.exp
8748 * gdb.guile/scm-value.exp
8749 * gdb.linespec/linespec.exp
8750 * gdb.mi/gdb701.exp
8751 * gdb.mi/gdb792.exp
8752 * gdb.mi/mi-breakpoint-changed.exp
8753 * gdb.mi/mi-dprintf-pending.exp
8754 * gdb.mi/mi-dprintf.exp
8755 * gdb.mi/mi-exit-code.exp
8756 * gdb.mi/mi-pending.exp
8757 * gdb.mi/mi-solib.exp
8758 * gdb.mi/new-ui-mi-sync.exp
8759 * gdb.mi/pr11022.exp
8760 * gdb.mi/user-selected-context-sync.exp
8761 * gdb.opt/solib-intra-step.exp
8762 * gdb.python/py-events.exp
8763 * gdb.python/py-finish-breakpoint.exp
8764 * gdb.python/py-mi.exp
8765 * gdb.python/py-prettyprint.exp
8766 * gdb.python/py-shared.exp
8767 * gdb.python/py-symbol.exp
8768 * gdb.python/py-template.exp
8769 * gdb.python/py-type.exp
8770 * gdb.python/py-value.exp
8771 * gdb.reverse/solib-precsave.exp
8772 * gdb.reverse/solib-reverse.exp
8773 * gdb.server/solib-list.exp
8774 * gdb.stabs/weird.exp
8775 * gdb.threads/reconnect-signal.exp
8776 * gdb.threads/stepi-random-signal.exp
8777 * gdb.trace/actions.exp
8778 * gdb.trace/ax.exp
8779 * gdb.trace/backtrace.exp
8780 * gdb.trace/change-loc.exp
8781 * gdb.trace/deltrace.exp
8782 * gdb.trace/ftrace-lock.exp
8783 * gdb.trace/ftrace.exp
8784 * gdb.trace/infotrace.exp
8785 * gdb.trace/mi-tracepoint-changed.exp
8786 * gdb.trace/packetlen.exp
8787 * gdb.trace/passcount.exp
8788 * gdb.trace/pending.exp
8789 * gdb.trace/range-stepping.exp
8790 * gdb.trace/report.exp
8791 * gdb.trace/stap-trace.exp
8792 * gdb.trace/tfind.exp
8793 * gdb.trace/trace-break.exp
8794 * gdb.trace/trace-condition.exp
8795 * gdb.trace/trace-enable-disable.exp
8796 * gdb.trace/trace-mt.exp
8797 * gdb.trace/tracecmd.exp
8798 * gdb.trace/tspeed.exp
8799 * gdb.trace/tsv.exp
8800 * lib/perftest.exp
8801
fb9feb35
LM
88022016-12-01 Luis Machado <lgustavo@codesourcery.com>
8803
8804 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
8805 with gdb_test_no_output.
8806 Use command as test name.
8807
cd2ddb6c
LM
88082016-12-01 Luis Machado <lgustavo@codesourcery.com>
8809
8810 Fix test names starting with uppercase throughout the files.
8811
8812 * gdb.ada/assign_1.exp
8813 * gdb.ada/boolean_expr.exp
8814 * gdb.base/arrayidx.exp
8815 * gdb.base/del.exp
8816 * gdb.base/gcore-buffer-overflow.exp
8817 * gdb.base/testenv.exp
8818 * gdb.compile/compile.exp
8819 * gdb.python/py-framefilter-invalidarg.exp
8820 * gdb.python/py-framefilter.exp
8821
bb95117e
LM
88222016-12-01 Luis Machado <lgustavo@codesourcery.com>
8823
8824 Fix test names starting with uppercase throughout the files.
8825
8826 * gdb.ada/array_return.exp
8827 * gdb.ada/expr_delims.exp
8828 * gdb.ada/mi_dyn_arr.exp
8829 * gdb.ada/mi_interface.exp
8830 * gdb.ada/mi_var_array.exp
8831 * gdb.ada/watch_arg.exp
8832 * gdb.arch/alpha-step.exp
8833 * gdb.arch/altivec-regs.exp
8834 * gdb.arch/e500-regs.exp
8835 * gdb.arch/powerpc-d128-regs.exp
8836 * gdb.base/arrayidx.exp
8837 * gdb.base/break.exp
8838 * gdb.base/checkpoint.exp
8839 * gdb.base/debug-expr.exp
8840 * gdb.base/dmsym.exp
8841 * gdb.base/radix.exp
8842 * gdb.base/sepdebug.exp
8843 * gdb.base/testenv.exp
8844 * gdb.base/watch_thread_num.exp
8845 * gdb.base/watchpoint-cond-gone.exp
8846 * gdb.cell/break.exp
8847 * gdb.cell/ea-cache.exp
8848 * gdb.compile/compile.exp
8849 * gdb.cp/gdb2495.exp
8850 * gdb.gdb/selftest.exp
8851 * gdb.gdb/xfullpath.exp
8852 * gdb.go/hello.exp
8853 * gdb.go/integers.exp
8854 * gdb.objc/basicclass.exp
8855 * gdb.pascal/hello.exp
8856 * gdb.pascal/integers.exp
8857 * gdb.python/py-breakpoint.exp
8858 * gdb.python/py-cmd.exp
8859 * gdb.python/py-linetable.exp
8860 * gdb.python/py-xmethods.exp
8861 * gdb.python/python.exp
8862 * gdb.reverse/consecutive-precsave.exp
8863 * gdb.reverse/finish-precsave.exp
8864 * gdb.reverse/i386-precsave.exp
8865 * gdb.reverse/machinestate-precsave.exp
8866 * gdb.reverse/sigall-precsave.exp
8867 * gdb.reverse/solib-precsave.exp
8868 * gdb.reverse/step-precsave.exp
8869 * gdb.reverse/until-precsave.exp
8870 * gdb.reverse/watch-precsave.exp
8871 * gdb.threads/leader-exit.exp
8872 * gdb.threads/pthreads.exp
8873 * gdb.threads/wp-replication.exp
8874 * gdb.trace/actions.exp
8875 * gdb.trace/mi-tsv-changed.exp
8876 * gdb.trace/tsv.exp
8877
de97fdd4
LM
88782016-12-01 Luis Machado <lgustavo@codesourcery.com>
8879
8880 Fix test names starting with uppercase throughout the files.
8881
8882 * gdb.arch/i386-bp_permanent.exp
8883 * gdb.arch/i386-gnu-cfi.exp
8884 * gdb.base/disasm-end-cu.exp
8885 * gdb.base/macscp.exp
8886 * gdb.base/pending.exp
8887 * gdb.base/watch_thread_num.exp
8888 * gdb.cp/exception.exp
8889 * gdb.cp/gdb2495.exp
8890 * gdb.cp/local.exp
8891 * gdb.python/py-evsignal.exp
8892 * gdb.python/python.exp
8893 * gdb.trace/tracecmd.exp
8894
9f058c10
LM
88952016-12-01 Luis Machado <lgustavo@codesourcery.com>
8896
8897 Fix test names starting with uppercase throughout the files.
8898
8899 * gdb.base/charset.exp
8900 * gdb.base/eval.exp
8901 * gdb.base/multi-forks.exp
8902 * gdb.guile/scm-progspace.exp
8903 * gdb.opencl/datatypes.exp
8904 * gdb.python/py-block.exp
8905 * gdb.python/py-function.exp
8906 * gdb.python/py-symbol.exp
8907 * gdb.python/py-symtab.exp
8908 * gdb.python/py-xmethods.exp
8909 * gdb.reverse/break-precsave.exp
8910 * gdb.reverse/break-reverse.exp
8911 * gdb.reverse/consecutive-precsave.exp
8912 * gdb.reverse/consecutive-reverse.exp
8913 * gdb.reverse/finish-precsave.exp
8914 * gdb.reverse/finish-reverse-bkpt.exp
8915 * gdb.reverse/finish-reverse.exp
8916 * gdb.reverse/fstatat-reverse.exp
8917 * gdb.reverse/getresuid-reverse.exp
8918 * gdb.reverse/i386-precsave.exp
8919 * gdb.reverse/i386-reverse.exp
8920 * gdb.reverse/i386-sse-reverse.exp
8921 * gdb.reverse/i387-stack-reverse.exp
8922 * gdb.reverse/insn-reverse.exp
8923 * gdb.reverse/machinestate-precsave.exp
8924 * gdb.reverse/machinestate.exp
8925 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8926 * gdb.reverse/pipe-reverse.exp
8927 * gdb.reverse/readv-reverse.exp
8928 * gdb.reverse/recvmsg-reverse.exp
8929 * gdb.reverse/rerun-prec.exp
8930 * gdb.reverse/s390-mvcle.exp
8931 * gdb.reverse/sigall-precsave.exp
8932 * gdb.reverse/sigall-reverse.exp
8933 * gdb.reverse/solib-precsave.exp
8934 * gdb.reverse/solib-reverse.exp
8935 * gdb.reverse/step-precsave.exp
8936 * gdb.reverse/step-reverse.exp
8937 * gdb.reverse/time-reverse.exp
8938 * gdb.reverse/until-precsave.exp
8939 * gdb.reverse/until-reverse.exp
8940 * gdb.reverse/waitpid-reverse.exp
8941 * gdb.reverse/watch-precsave.exp
8942 * gdb.reverse/watch-reverse.exp
8943
cdc7edd7
LM
89442016-12-01 Luis Machado <lgustavo@codesourcery.com>
8945
8946 Fix test names starting with uppercase throughout the files.
8947
8948 * gdb.arch/i386-mpx-simple_segv.exp
8949 * gdb.arch/i386-mpx.exp
8950 * gdb.arch/i386-permbkpt.exp
8951 * gdb.arch/pa-nullify.exp
8952 * gdb.arch/powerpc-d128-regs.exp
8953 * gdb.arch/vsx-regs.exp
8954 * gdb.base/bfp-test.exp
8955 * gdb.base/break.exp
8956 * gdb.base/breakpoint-shadow.exp
8957 * gdb.base/callfuncs.exp
8958 * gdb.base/charset.exp
8959 * gdb.base/commands.exp
8960 * gdb.base/completion.exp
8961 * gdb.base/dfp-test.exp
8962 * gdb.base/echo.exp
8963 * gdb.base/ending-run.exp
8964 * gdb.base/eval.exp
8965 * gdb.base/expand-psymtabs.exp
8966 * gdb.base/float128.exp
8967 * gdb.base/floatn.exp
8968 * gdb.base/foll-exec-mode.exp
8969 * gdb.base/gdb1056.exp
8970 * gdb.base/gdb11531.exp
8971 * gdb.base/kill-after-signal.exp
8972 * gdb.base/multi-forks.exp
8973 * gdb.base/overlays.exp
8974 * gdb.base/pending.exp
8975 * gdb.base/sepdebug.exp
8976 * gdb.base/testenv.exp
8977 * gdb.base/valgrind-db-attach.exp
8978 * gdb.base/watch_thread_num.exp
8979 * gdb.base/watchpoint-cond-gone.exp
8980 * gdb.base/watchpoint.exp
8981 * gdb.base/watchpoints.exp
8982 * gdb.cp/arg-reference.exp
8983 * gdb.cp/baseenum.exp
8984 * gdb.cp/operator.exp
8985 * gdb.cp/shadow.exp
8986 * gdb.dwarf2/dw2-op-out-param.exp
8987 * gdb.dwarf2/dw2-reg-undefined.exp
8988 * gdb.go/chan.exp
8989 * gdb.go/hello.exp
8990 * gdb.go/integers.exp
8991 * gdb.go/methods.exp
8992 * gdb.go/package.exp
8993 * gdb.guile/scm-parameter.exp
8994 * gdb.guile/scm-progspace.exp
8995 * gdb.guile/scm-value.exp
8996 * gdb.mi/mi-pending.exp
8997 * gdb.mi/user-selected-context-sync.exp
8998 * gdb.multi/multi-attach.exp
8999 * gdb.multi/tids.exp
9000 * gdb.opt/clobbered-registers-O2.exp
9001 * gdb.pascal/floats.exp
9002 * gdb.pascal/integers.exp
9003 * gdb.python/py-block.exp
9004 * gdb.python/py-events.exp
9005 * gdb.python/py-parameter.exp
9006 * gdb.python/py-symbol.exp
9007 * gdb.python/py-symtab.exp
9008 * gdb.python/py-type.exp
9009 * gdb.python/py-value.exp
9010 * gdb.python/py-xmethods.exp
9011 * gdb.python/python.exp
9012 * gdb.reverse/break-precsave.exp
9013 * gdb.reverse/consecutive-precsave.exp
9014 * gdb.reverse/finish-precsave.exp
9015 * gdb.reverse/i386-precsave.exp
9016 * gdb.reverse/machinestate-precsave.exp
9017 * gdb.reverse/sigall-precsave.exp
9018 * gdb.reverse/solib-precsave.exp
9019 * gdb.reverse/step-precsave.exp
9020 * gdb.reverse/until-precsave.exp
9021 * gdb.reverse/watch-precsave.exp
9022 * gdb.server/ext-attach.exp
9023 * gdb.server/ext-restart.exp
9024 * gdb.server/ext-run.exp
9025 * gdb.server/ext-wrapper.exp
9026 * gdb.stabs/gdb11479.exp
9027 * gdb.stabs/weird.exp
9028 * gdb.threads/attach-many-short-lived-threads.exp
9029 * gdb.threads/kill.exp
9030 * gdb.threads/watchpoint-fork.exp
9031
bc6c7af4
LM
90322016-12-01 Luis Machado <lgustavo@codesourcery.com>
9033
9034 Fix test names starting with uppercase throughout all the files below.
9035
9036 * gdb.ada/array_return.exp
9037 * gdb.ada/catch_ex.exp
9038 * gdb.ada/info_exc.exp
9039 * gdb.ada/mi_catch_ex.exp
9040 * gdb.ada/mi_dyn_arr.exp
9041 * gdb.ada/mi_ex_cond.exp
9042 * gdb.ada/mi_exc_info.exp
9043 * gdb.ada/mi_interface.exp
9044 * gdb.ada/mi_task_arg.exp
9045 * gdb.ada/mi_task_info.exp
9046 * gdb.ada/mi_var_array.exp
9047 * gdb.arch/alpha-step.exp
9048 * gdb.arch/amd64-disp-step.exp
9049 * gdb.arch/arm-disp-step.exp
9050 * gdb.arch/disp-step-insn-reloc.exp
9051 * gdb.arch/e500-prologue.exp
9052 * gdb.arch/ftrace-insn-reloc.exp
9053 * gdb.arch/gdb1558.exp
9054 * gdb.arch/i386-bp_permanent.exp
9055 * gdb.arch/i386-disp-step.exp
9056 * gdb.arch/i386-float.exp
9057 * gdb.arch/i386-gnu-cfi.exp
9058 * gdb.arch/ia64-breakpoint-shadow.exp
9059 * gdb.arch/mips16-thunks.exp
9060 * gdb.arch/pa-nullify.exp
9061 * gdb.arch/powerpc-aix-prologue.exp
9062 * gdb.arch/powerpc-power.exp
9063 * gdb.arch/ppc-dfp.exp
9064 * gdb.arch/s390-tdbregs.exp
9065 * gdb.arch/spu-info.exp
9066 * gdb.arch/spu-ls.exp
9067 * gdb.arch/thumb-bx-pc.exp
9068 * gdb.base/advance.exp
9069 * gdb.base/annota-input-while-running.exp
9070 * gdb.base/arrayidx.exp
9071 * gdb.base/asmlabel.exp
9072 * gdb.base/async.exp
9073 * gdb.base/attach-wait-input.exp
9074 * gdb.base/auto-connect-native-target.exp
9075 * gdb.base/batch-preserve-term-settings.exp
9076 * gdb.base/bfp-test.exp
9077 * gdb.base/bigcore.exp
9078 * gdb.base/bp-permanent.exp
9079 * gdb.base/break-always.exp
9080 * gdb.base/break-fun-addr.exp
9081 * gdb.base/break-idempotent.exp
9082 * gdb.base/break-main-file-remove-fail.exp
9083 * gdb.base/break-probes.exp
9084 * gdb.base/break-unload-file.exp
9085 * gdb.base/break.exp
9086 * gdb.base/call-ar-st.exp
9087 * gdb.base/call-rt-st.exp
9088 * gdb.base/call-sc.exp
9089 * gdb.base/call-signal-resume.exp
9090 * gdb.base/call-strs.exp
9091 * gdb.base/callexit.exp
9092 * gdb.base/callfuncs.exp
9093 * gdb.base/catch-gdb-caused-signals.exp
9094 * gdb.base/catch-signal-siginfo-cond.exp
9095 * gdb.base/catch-syscall.exp
9096 * gdb.base/compare-sections.exp
9097 * gdb.base/cond-eval-mode.exp
9098 * gdb.base/condbreak-call-false.exp
9099 * gdb.base/consecutive-step-over.exp
9100 * gdb.base/cursal.exp
9101 * gdb.base/disabled-location.exp
9102 * gdb.base/disasm-end-cu.exp
9103 * gdb.base/display.exp
9104 * gdb.base/double-prompt-target-event-error.exp
9105 * gdb.base/dprintf-bp-same-addr.exp
9106 * gdb.base/dprintf-detach.exp
9107 * gdb.base/dprintf-next.exp
9108 * gdb.base/dprintf-non-stop.exp
9109 * gdb.base/dprintf-pending.exp
9110 * gdb.base/dso2dso.exp
9111 * gdb.base/ending-run.exp
9112 * gdb.base/enum_cond.exp
9113 * gdb.base/examine-backward.exp
9114 * gdb.base/exe-lock.exp
9115 * gdb.base/exec-invalid-sysroot.exp
9116 * gdb.base/execl-update-breakpoints.exp
9117 * gdb.base/execution-termios.exp
9118 * gdb.base/fileio.exp
9119 * gdb.base/fixsection.exp
9120 * gdb.base/foll-exec-mode.exp
9121 * gdb.base/foll-exec.exp
9122 * gdb.base/fork-running-state.exp
9123 * gdb.base/frame-args.exp
9124 * gdb.base/fullpath-expand.exp
9125 * gdb.base/func-ptr.exp
9126 * gdb.base/gcore-relro-pie.exp
9127 * gdb.base/gdb1090.exp
9128 * gdb.base/gdb1555.exp
9129 * gdb.base/global-var-nested-by-dso.exp
9130 * gdb.base/gnu-ifunc.exp
9131 * gdb.base/hbreak-in-shr-unsupported.exp
9132 * gdb.base/hbreak-unmapped.exp
9133 * gdb.base/hook-stop.exp
9134 * gdb.base/infcall-input.exp
9135 * gdb.base/info-fun.exp
9136 * gdb.base/info-shared.exp
9137 * gdb.base/interrupt-noterm.exp
9138 * gdb.base/jit-so.exp
9139 * gdb.base/jit.exp
9140 * gdb.base/line-symtabs.exp
9141 * gdb.base/list.exp
9142 * gdb.base/longjmp.exp
9143 * gdb.base/macscp.exp
9144 * gdb.base/max-value-size.exp
9145 * gdb.base/nodebug.exp
9146 * gdb.base/nofield.exp
9147 * gdb.base/overlays.exp
9148 * gdb.base/paginate-after-ctrl-c-running.exp
9149 * gdb.base/paginate-bg-execution.exp
9150 * gdb.base/paginate-inferior-exit.exp
9151 * gdb.base/pending.exp
9152 * gdb.base/pr11022.exp
9153 * gdb.base/printcmds.exp
9154 * gdb.base/ptr-typedef.exp
9155 * gdb.base/ptype.exp
9156 * gdb.base/randomize.exp
9157 * gdb.base/range-stepping.exp
9158 * gdb.base/realname-expand.exp
9159 * gdb.base/relativedebug.exp
9160 * gdb.base/remote.exp
9161 * gdb.base/savedregs.exp
9162 * gdb.base/sepdebug.exp
9163 * gdb.base/set-noassign.exp
9164 * gdb.base/shlib-call.exp
9165 * gdb.base/shreloc.exp
9166 * gdb.base/sigaltstack.exp
9167 * gdb.base/sigbpt.exp
9168 * gdb.base/siginfo-addr.exp
9169 * gdb.base/siginfo-obj.exp
9170 * gdb.base/siginfo-thread.exp
9171 * gdb.base/signest.exp
9172 * gdb.base/signull.exp
9173 * gdb.base/sigrepeat.exp
9174 * gdb.base/skip.exp
9175 * gdb.base/so-impl-ld.exp
9176 * gdb.base/solib-corrupted.exp
9177 * gdb.base/solib-disc.exp
9178 * gdb.base/solib-display.exp
9179 * gdb.base/solib-overlap.exp
9180 * gdb.base/solib-search.exp
9181 * gdb.base/solib-symbol.exp
9182 * gdb.base/source-execution.exp
9183 * gdb.base/sss-bp-on-user-bp-2.exp
9184 * gdb.base/sss-bp-on-user-bp.exp
9185 * gdb.base/stack-checking.exp
9186 * gdb.base/stale-infcall.exp
9187 * gdb.base/step-break.exp
9188 * gdb.base/step-line.exp
9189 * gdb.base/step-over-exit.exp
9190 * gdb.base/step-test.exp
9191 * gdb.base/structs.exp
9192 * gdb.base/sym-file.exp
9193 * gdb.base/symtab-search-order.exp
9194 * gdb.base/term.exp
9195 * gdb.base/type-opaque.exp
9196 * gdb.base/unload.exp
9197 * gdb.base/until-nodebug.exp
9198 * gdb.base/until.exp
9199 * gdb.base/unwindonsignal.exp
9200 * gdb.base/watch-cond.exp
9201 * gdb.base/watch-non-mem.exp
9202 * gdb.base/watch_thread_num.exp
9203 * gdb.base/watchpoint-reuse-slot.exp
9204 * gdb.base/watchpoint-solib.exp
9205 * gdb.base/watchpoint.exp
9206 * gdb.btrace/dlopen.exp
9207 * gdb.cell/arch.exp
9208 * gdb.cell/break.exp
9209 * gdb.cell/bt.exp
9210 * gdb.cell/core.exp
9211 * gdb.cell/data.exp
9212 * gdb.cell/dwarfaddr.exp
9213 * gdb.cell/ea-cache.exp
9214 * gdb.cell/ea-standalone.exp
9215 * gdb.cell/ea-test.exp
9216 * gdb.cell/f-regs.exp
9217 * gdb.cell/fork.exp
9218 * gdb.cell/gcore.exp
9219 * gdb.cell/mem-access.exp
9220 * gdb.cell/ptype.exp
9221 * gdb.cell/registers.exp
9222 * gdb.cell/sizeof.exp
9223 * gdb.cell/solib-symbol.exp
9224 * gdb.cell/solib.exp
9225 * gdb.compile/compile-tls.exp
9226 * gdb.cp/exception.exp
9227 * gdb.cp/gdb2495.exp
9228 * gdb.cp/local.exp
9229 * gdb.cp/mb-inline.exp
9230 * gdb.cp/mb-templates.exp
9231 * gdb.cp/pr10687.exp
9232 * gdb.cp/pr9167.exp
9233 * gdb.cp/scope-err.exp
9234 * gdb.cp/templates.exp
9235 * gdb.cp/virtfunc.exp
9236 * gdb.dwarf2/dw2-dir-file-name.exp
9237 * gdb.dwarf2/dw2-single-line-discriminators.exp
9238 * gdb.fortran/complex.exp
9239 * gdb.fortran/library-module.exp
9240 * gdb.guile/guile.exp
9241 * gdb.guile/scm-cmd.exp
9242 * gdb.guile/scm-frame-inline.exp
9243 * gdb.guile/scm-objfile.exp
9244 * gdb.guile/scm-pretty-print.exp
9245 * gdb.guile/scm-symbol.exp
9246 * gdb.guile/scm-type.exp
9247 * gdb.guile/scm-value.exp
9248 * gdb.linespec/keywords.exp
9249 * gdb.linespec/ls-errs.exp
9250 * gdb.linespec/macro-relative.exp
9251 * gdb.linespec/thread.exp
9252 * gdb.mi/mi-breakpoint-changed.exp
9253 * gdb.mi/mi-dprintf-pending.exp
9254 * gdb.mi/mi-fullname-deleted.exp
9255 * gdb.mi/mi-logging.exp
9256 * gdb.mi/mi-pending.exp
9257 * gdb.mi/mi-solib.exp
9258 * gdb.mi/new-ui-mi-sync.exp
9259 * gdb.mi/user-selected-context-sync.exp
9260 * gdb.multi/dummy-frame-restore.exp
9261 * gdb.multi/multi-arch-exec.exp
9262 * gdb.multi/remove-inferiors.exp
9263 * gdb.multi/watchpoint-multi-exit.exp
9264 * gdb.opt/solib-intra-step.exp
9265 * gdb.perf/backtrace.exp
9266 * gdb.perf/single-step.exp
9267 * gdb.perf/skip-command.exp
9268 * gdb.perf/skip-prologue.exp
9269 * gdb.perf/solib.exp
9270 * gdb.python/lib-types.exp
9271 * gdb.python/py-as-string.exp
9272 * gdb.python/py-bad-printers.exp
9273 * gdb.python/py-block.exp
9274 * gdb.python/py-breakpoint.exp
9275 * gdb.python/py-cmd.exp
9276 * gdb.python/py-events.exp
9277 * gdb.python/py-evthreads.exp
9278 * gdb.python/py-finish-breakpoint.exp
9279 * gdb.python/py-finish-breakpoint2.exp
9280 * gdb.python/py-frame-inline.exp
9281 * gdb.python/py-frame.exp
9282 * gdb.python/py-inferior.exp
9283 * gdb.python/py-infthread.exp
9284 * gdb.python/py-mi.exp
9285 * gdb.python/py-objfile.exp
9286 * gdb.python/py-pp-maint.exp
9287 * gdb.python/py-pp-registration.exp
9288 * gdb.python/py-prettyprint.exp
9289 * gdb.python/py-recurse-unwind.exp
9290 * gdb.python/py-shared.exp
9291 * gdb.python/py-symbol.exp
9292 * gdb.python/py-symtab.exp
9293 * gdb.python/py-template.exp
9294 * gdb.python/py-type.exp
9295 * gdb.python/py-unwind-maint.exp
9296 * gdb.python/py-unwind.exp
9297 * gdb.python/py-value.exp
9298 * gdb.python/python.exp
9299 * gdb.reverse/finish-reverse-bkpt.exp
9300 * gdb.reverse/insn-reverse.exp
9301 * gdb.reverse/next-reverse-bkpt-over-sr.exp
9302 * gdb.reverse/solib-precsave.exp
9303 * gdb.reverse/solib-reverse.exp
9304 * gdb.stabs/gdb11479.exp
9305 * gdb.stabs/weird.exp
9306 * gdb.threads/fork-child-threads.exp
9307 * gdb.threads/fork-plus-threads.exp
9308 * gdb.threads/fork-thread-pending.exp
9309 * gdb.threads/forking-threads-plus-breakpoint.exp
9310 * gdb.threads/hand-call-in-threads.exp
9311 * gdb.threads/interrupted-hand-call.exp
9312 * gdb.threads/linux-dp.exp
9313 * gdb.threads/local-watch-wrong-thread.exp
9314 * gdb.threads/next-while-other-thread-longjmps.exp
9315 * gdb.threads/non-ldr-exit.exp
9316 * gdb.threads/pending-step.exp
9317 * gdb.threads/print-threads.exp
9318 * gdb.threads/process-dies-while-detaching.exp
9319 * gdb.threads/process-dies-while-handling-bp.exp
9320 * gdb.threads/pthreads.exp
9321 * gdb.threads/queue-signal.exp
9322 * gdb.threads/reconnect-signal.exp
9323 * gdb.threads/signal-command-handle-nopass.exp
9324 * gdb.threads/signal-command-multiple-signals-pending.exp
9325 * gdb.threads/signal-delivered-right-thread.exp
9326 * gdb.threads/signal-sigtrap.exp
9327 * gdb.threads/sigthread.exp
9328 * gdb.threads/staticthreads.exp
9329 * gdb.threads/stepi-random-signal.exp
9330 * gdb.threads/thread-unwindonsignal.exp
9331 * gdb.threads/thread_check.exp
9332 * gdb.threads/thread_events.exp
9333 * gdb.threads/tid-reuse.exp
9334 * gdb.threads/tls-nodebug.exp
9335 * gdb.threads/tls-shared.exp
9336 * gdb.threads/tls-so_extern.exp
9337 * gdb.threads/tls.exp
9338 * gdb.threads/wp-replication.exp
9339 * gdb.trace/actions-changed.exp
9340 * gdb.trace/actions.exp
9341 * gdb.trace/backtrace.exp
9342 * gdb.trace/change-loc.exp
9343 * gdb.trace/collection.exp
9344 * gdb.trace/deltrace.exp
9345 * gdb.trace/disconnected-tracing.exp
9346 * gdb.trace/entry-values.exp
9347 * gdb.trace/ftrace-lock.exp
9348 * gdb.trace/ftrace.exp
9349 * gdb.trace/infotrace.exp
9350 * gdb.trace/mi-trace-frame-collected.exp
9351 * gdb.trace/mi-trace-unavailable.exp
9352 * gdb.trace/mi-traceframe-changed.exp
9353 * gdb.trace/mi-tracepoint-changed.exp
9354 * gdb.trace/mi-tsv-changed.exp
9355 * gdb.trace/no-attach-trace.exp
9356 * gdb.trace/packetlen.exp
9357 * gdb.trace/passc-dyn.exp
9358 * gdb.trace/passcount.exp
9359 * gdb.trace/pending.exp
9360 * gdb.trace/pr16508.exp
9361 * gdb.trace/qtro.exp
9362 * gdb.trace/range-stepping.exp
9363 * gdb.trace/read-memory.exp
9364 * gdb.trace/report.exp
9365 * gdb.trace/save-trace.exp
9366 * gdb.trace/signal.exp
9367 * gdb.trace/stap-trace.exp
9368 * gdb.trace/status-stop.exp
9369 * gdb.trace/strace.exp
9370 * gdb.trace/tfile.exp
9371 * gdb.trace/tfind.exp
9372 * gdb.trace/trace-break.exp
9373 * gdb.trace/trace-condition.exp
9374 * gdb.trace/trace-enable-disable.exp
9375 * gdb.trace/trace-mt.exp
9376 * gdb.trace/tracecmd.exp
9377 * gdb.trace/tracefile-pseudo-reg.exp
9378 * gdb.trace/tspeed.exp
9379 * gdb.trace/tstatus.exp
9380 * gdb.trace/tsv.exp
9381 * gdb.trace/unavailable.exp
9382 * gdb.trace/while-dyn.exp
9383 * gdb.trace/while-stepping.exp
9384 * lib/gdb-guile.exp
9385 * lib/gdb.exp
9386 * lib/mi-support.exp
9387 * lib/pascal.exp
9388 * lib/perftest.exp
9389 * lib/prelink-support.exp
9390 * lib/selftest-support.exp
9391
ad02e4fe
SM
93922016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
9393
9394 * Makefile.in: Include disable-implicit-rules.mk.
9395
22347e55
AA
93962016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9397
9398 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
9399 non-byte-aligned bit fields.
9400
da5b30da
AA
94012016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9402
9403 PR gdb/12616
9404 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
9405 respects the DW_AT_data_bit_offset attribute.
9406
b593ecca
SM
94072016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
9408
9409 * gdb.base/default.exp: Fix output of "set language".
9410
3b165252
SM
94112016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
9412
9413 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
9414 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
9415 make.
9416 * configure.ac: Remove checks for the make program.
9417 * configure: Re-generate.
9418
1a2f3d7f
KB
94192016-11-16 Kevin Buettner <kevinb@redhat.com>
9420
9421 * gdb.python/py-recurse-unwind.c (main): Add loop.
9422 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
9423 to read_register() and gdb.parse_and_eval(). Make each code
9424 call a separate case that can be individually tested.
9425 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
9426 proc. Call cont_and_backtrace for each of the code paths that
9427 we want to test in the unwinder.
9428
b7f38fda
AA
94292016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
9430
9431 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
9432 the definition of struct S.
9433
1f8db343
CM
94342016-11-11 Catherine Moore <clm@codesourcery.com>
9435
9436 * gdb.base/dump.exp: Identify verilog format dump tests as such.
9437
fad0c9fb
PA
94382016-11-09 Pedro Alves <palves@redhat.com>
9439
9440 * gdb.base/commands.exp (runto_or_return): New procedure.
9441 (gdbvar_simple_if_test, gdbvar_simple_while_test)
9442 (gdbvar_complex_if_while_test, progvar_simple_if_test)
9443 (progvar_simple_while_test, progvar_complex_if_while_test)
9444 (if_while_breakpoint_command_test)
9445 (infrun_breakpoint_command_test, breakpoint_command_test)
9446 (user_defined_command_test, watchpoint_command_test)
9447 (test_command_prompt_position, redefine_hook_test)
9448 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
9449 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
9450 multi_line_input and multi_line. Remove gdb_expect and
9451 gdb_stop_suppressing_tests uses.
9452 * lib/gdb.exp (valnum_re): New global.
9453 (multi_line_input): New procedure.
9454
8354c62c
SM
94552016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
9456
9457 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
9458 Remove.
9459 (test_setup): Define with proc_with_prefix.
9460 (test_cli_inferior): Likewise.
9461 (test_cli_thread): Likewise.
9462 (test_cli_frame): Likewise.
9463 (test_cli_select_frame): Likewise.
9464 (test_cli_up_down): Likewise.
9465 (test_mi_thread_select): Likewise.
9466 (test_mi_stack_select_frame): Likewise.
9467 (test_cli_in_mi_inferior): Likewise.
9468 (test_cli_in_mi_thread): Likewise.
9469 (test_cli_in_mi_frame): Likewise.
9470 (top level): Do not use with_test_prefix_procname.
9471
64f367a2
PA
94722016-11-09 Pedro Alves <palves@redhat.com>
9473
9474 * gdb.base/commands.exp (gdbvar_simple_if_test)
9475 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
9476 (progvar_simple_if_test, progvar_simple_while_test)
9477 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
9478 (infrun_breakpoint_command_test, breakpoint_command_test)
9479 (user_defined_command_test, watchpoint_command_test)
9480 (test_command_prompt_position, deprecated_command_test)
9481 (bp_deleted_in_command, temporary_breakpoint_commands)
9482 (stray_arg0_test, source_file_with_indented_comment)
9483 (recursive_source_test, if_commands_test)
9484 (error_clears_commands_left, redefine_hook_test)
9485 (redefine_backtrace_test): Use proc_with_prefix.
9486 * lib/gdb.exp (proc_with_prefix): New proc.
9487
0bb65f1e
AA
94882016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
9489
9490 * gdb.base/tui-layout.c: New file.
9491 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
9492 disassembly window contains very long lines.
9493
7353f247
TT
94942016-11-08 Tom Tromey <tom@tromey.com>
9495
9496 * gdb.python/py-value.exp (test_value_creation): Make "long" test
9497 depend on Python 2.
9498
30a7bb83
TT
94992016-11-08 Tom Tromey <tom@tromey.com>
9500
9501 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
9502 New method.
9503
cdf5a07c
MG
95042016-10-29 Manish Goregaokar <manish@mozilla.com>
9505
2806dc7e 9506 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 9507
51a789c3
MG
95082016-10-27 Manish Goregaokar <manish@mozilla.com>
9509
2806dc7e
PA
9510 * gdb.rust/simple.rs: Add test for univariant enums without
9511 discriminants and for encoded struct-like enums.
51a789c3 9512
f610ab6d
PA
95132016-10-28 Pedro Alves <palves@redhat.com>
9514
9515 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
9516 gdb_test_multiple, tighten regexps and match symtabs and line
9517 tables incrementally.
9518
b129b0ca
LM
95192016-10-28 Luis Machado <lgustavo@codesourcery.com>
9520
9521 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
9522 general.
9523
ecf45d2c
SL
95242016-10-25 Luis Machado <lgustavo@codesourcery.com>
9525
9526 * gdb.base/exec-invalid-sysroot.exp: New file.
9527
b8d38ee4
JK
95282016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9529
9530 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
9531
f90fd8c2
JK
95322016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9533
9534 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
9535
2d2476aa
MR
95362016-10-19 Maciej W. Rozycki <macro@imgtec.com>
9537
2806dc7e
PA
9538 * gdb.base/killed-outside.exp: Remove $options from a call to
9539 `prepare_for_testing'.
2d2476aa 9540
e42b25a0
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 Change test message.
9545
3ccdb432
SM
95462016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9547
9548 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
9549 Update comment.
9550
5bad3170
SM
95512016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9552
9553 * gdb.trace/mi-trace-save.exp: New file.
9554
5ad9dba7
YQ
95552016-10-13 Yao Qi <yao.qi@linaro.org>
9556
9557 * gdb.base/code_elim.exp (get_var_address): Remove.
9558 * gdb.base/relocate.exp: Likewise.
9559 * gdb.base/shreloc.exp: Likewise.
9560 * lib/gdb.exp (get_var_address): New.
9561
62df7e21
YQ
95622016-10-13 Yao Qi <yao.qi@linaro.org>
9563
9564 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
9565 floating point tests if $skip_float_test is false.
9566
4dac951e
LM
95672016-10-12 Luis Machado <lgustavo@codesourcery.com>
9568
9569 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
9570 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
9571 argc values.
9572 Add 1 to argc so we guarantee distinct initial/modified argc values.
9573
8f1a8fc4
JK
95742016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9575
9576 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
9577
16c85b5d
JK
95782016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9579
9580 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
9581 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
9582 * gdb.arch/vsx-regs.exp: Likewise.
9583
1d0e042a
YQ
95842016-10-07 Yao Qi <yao.qi@linaro.org>
9585
9586 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
9587
68dadef5
MM
95882016-10-07 Markus Metzger <markus.t.metzger@intel.com>
9589
9590 * gdb.python/python.exp: Test decode_line("*0").
9591
33fa2c6e
DE
95922016-10-06 Doug Evans <dje@google.com>
9593
9594 * gdb.python/py-value.exp (test_value_creation): Add test for large
9595 unsigned 64-bit value.
9596
9c37b5ae
TT
95972016-10-06 Tom Tromey <tom@tromey.com>
9598
9599 * gdb.compile/compile.exp: Change java tests to rust.
9600 * gdb.base/setshow.exp: Change java tests to rust.
9601 * gdb.base/default.exp: Remove java from language list.
9602 * README (Examples): Update language example.
9603 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
9604 test.
9605 * lib/gdb.exp (skip_java_tests): Remove.
9606 * lib/java.exp: Remove.
9607 * gdb.java: Remove.
9608
78b86327
MR
96092016-10-06 Maciej W. Rozycki <macro@imgtec.com>
9610
9611 * gdb.arch/mips-fcr.exp: New test.
9612 * gdb.arch/mips-fcr.c: Source for the new test.
9613
7470adbb
MR
96142016-10-06 Maciej W. Rozycki <macro@imgtec.com>
9615
9616 * gdb.base/solib-disc.exp: Use `standard_output_file'
9617 throughout.
9618
4a556533
PA
96192016-10-06 Pedro Alves <palves@redhat.com>
9620
9621 * gdb.base/jit-simple-dl.c: New file.
9622 * gdb.base/jit-simple-jit.c: New file, factored out from ...
9623 * gdb.base/jit-simple.c: ... this.
9624 * gdb.base/jit-simple.exp (jit_run): Delete.
9625 (build_jit): New proc.
9626 (jit_test_reread): Recompile either the main program or the shared
9627 library, depending on what is being tested. Skip changing address
9628 if caller wants to. Compare before/after addresses. If testing
9629 standalone, explicitly load the binary. Test "maint info
9630 breakpoints".
9631 (top level): Add "standalone vs shared lib" and "change address"
9632 vs "same address" axes.
9633
5a122fbc
PA
96342016-10-06 Pedro Alves <palves@redhat.com>
9635
9636 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
9637 call.
9638 (jit_run): Delete.
9639 (jit_test_reread): Use with_test_prefix. Reload the main binary
9640 explicitly. Compare the before/after addresses of the JIT
9641 descriptor.
9642
ee8da4b8
DE
96432016-08-15 Doug Evans <dje@google.com>
9644
9645 * gdb.xml/extra-regs.xml: Update, end field now required, default type
9646 for single bitfields is bool.
9647 * gdb.xml/tdesc-regs.exp: Ditto.
9648
f389f6fe
JK
96492016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9650
9651 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
9652
fdebf1a4
YQ
96532016-10-05 Yao Qi <yao.qi@linaro.org>
9654
9655 * lib/gdb.exp (support_complex_tests): Return zero if
9656 gdb_skip_float_test return true.
9657
9c36d954 96582016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 9659 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
9660
9661 PR gdb/20487
9662 * gdb.mi/user-selected-context-sync.exp: New file.
9663 * gdb.mi/user-selected-context-sync.c: New file.
9664
4034d0ff 96652016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 9666 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
9667
9668 PR gdb/20487
9669 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
9670 =thread-select-event check.
9671
a4297203
PB
96722016-09-29 Peter Bergner <bergner@vnet.ibm.com>
9673
9674 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
9675 the compulsory L operand changes.
9676 * gdb.arch/powerpc-power.s: Likewise.
9677
bb805577
JK
96782016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9679
9680 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
9681 * gdb.base/jit-attach-pie.c: New file.
9682 * gdb.base/jit-attach-pie.exp: New file.
9683
6d61dee5
PA
96842016-09-28 Pedro Alves <palves@redhat.com>
9685
9686 * gdb.base/infcall-input.c: New file.
9687 * gdb.base/infcall-input.exp: New file.
9688
f73842fc
YQ
96892016-09-22 Yao Qi <yao.qi@linaro.org>
9690
9691 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
9692 (gdb_exit): Rename it to ...
9693 (gdbserver_gdb_exit): ... Close GDBserver.
9694 (gdb_exit): New proc, call gdbserver_gdb_exit.
9695 (mi_gdb_exit): Likewise.
9696
90681dab
YQ
96972016-09-22 Yao Qi <yao.qi@linaro.org>
9698
9699 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
9700 path.
9701 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
9702 Remove duplication.
9703
9c211fd8
YQ
97042016-09-22 Yao Qi <yao.qi@linaro.org>
9705
9706 * lib/gdbserver-support.exp: Check the existence of
9707 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
9708
ad0a504f
AK
97092016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
9710
9711 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
9712
36cf1806
TT
97132016-09-21 Tom Tromey <tom@tromey.com>
9714
9715 PR gdb/20604:
9716 * gdb.base/quit.exp: New file.
9717
74172ecf
SM
97182016-09-21 Simon Marchi <simon.marchi@ericsson.com>
9719
9720 * .gitignore: New file.
9721
3d0ec882
MR
97222016-09-21 Maciej W. Rozycki <macro@imgtec.com>
9723
9724 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
9725 throughout.
9726
8193adea
AA
97272016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9728
9729 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
9730
d41a5c09
JK
97312016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9732
9733 * gdb.cp/casts.cc (decltype): Move it ...
9734 (main): ... with its call to ...
9735 * gdb.cp/casts03.cc: ... a new file.
9736 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
9737
d2dfe700
JK
97382016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9739
9740 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
9741
e2a92b16
PB
97422016-09-15 Peter Bergner <bergner@vnet.ibm.com>
9743
9744 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
9745 and sync up the test with tests in gas/testsuite/gas/ppc.
9746 * gdb.arch/powerpc-power.exp: Likewise.
9747
49b4de64
JK
97482016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9749
9750 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
9751
2c29df25
SDJ
97522016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
9753 Jan Kratochvil <jan.kratochvil@redhat.com>
9754
9755 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
9756 make m1's definition to be different from m2's. Use 'dummy' as an
9757 argument for probe 'two'.
9758
cc3c2846
JB
97592016-09-10 Jon Beniston <jon@beniston.com>
9760
9761 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
9762 for sim target.
9763
e1b2624a
AA
97642016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
9765
9766 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
9767 variable declaration.
9768 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
9769 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
9770 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
9771 received HWCAP as its argument.
9772
4295e285
PA
97732016-09-06 Pedro Alves <palves@redhat.com>
9774
9775 * gdb.base/new-ui-pending-input.c: New file.
9776 * gdb.base/new-ui-pending-input.exp: New file.
9777 * gdb.exp (clear_gdb_spawn_id): New procedure.
9778 (with_spawn_id): Check whether gdb_spawn_id exists before
9779 referencing it. If gdb_spawn_id didn't exist on entry, clear it
9780 on exit.
9781
00d5215e
UW
97822016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
9783
9784 * gdb.base/float128.c: New file.
9785 * gdb.base/float128.exp: Likewise.
9786 * gdb.base/floatn.c: Likewise.
9787 * gdb.base/floatn.exp: Likewise.
9788
a9ff5f12
UW
97892016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
9790
9791 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
9792
f245535c
PA
97932016-09-05 Pedro Alves <palves@redhat.com>
9794
9795 PR backtrace/19927
9796 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
9797 unwinders are immediately called as side effect of "source" or
9798 "disable unwinder" commands.
9799 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
9800
ae9cf263
YQ
98012016-09-02 Yao Qi <yao.qi@linaro.org>
9802
9803 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
9804 is true and $type is "float" or "double".
9805
27aba047
YQ
98062016-09-02 Yao Qi <yao.qi@linaro.org>
9807
9808 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
9809 true.
9810 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
9811 * gdb.base/call-rt-st.exp: Likewise.
9812 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
9813 return value instead of gdb,skip_float_test.
9814 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
9815 (do_function_calls): Use its return value instead of
9816 gdb,skip_float_test.
9817 * gdb.base/finish.exp: Likewise.
9818 * gdb.base/funcargs.exp: Likewise.
9819 * gdb.base/return.exp: Likewise.
9820 * gdb.base/return2.exp: Likewise.
9821 * gdb.base/varargs.exp: Likewise.
9822 * lib/gdb.exp (gdb_skip_float_test): Change it to
9823 gdb_caching_proc. Detect the broken ptrace on arm-linux.
9824
5af962df
AA
98252016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
9826
9827 * gdb.multi/tids.exp: Test "thread apply all".
9828
7fac6910
JK
98292016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9830
9831 * gdb.base/default.exp (tty): Remove.
9832
bb1fe4ac
KB
98332016-08-24 Kevin Buettner <kevinb@redhat.com>
9834
2806dc7e
PA
9835 * gdb.python/py-recurse-unwind.c: New file.
9836 * gdb.python/py-recurse-unwind.py: New file.
9837 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 9838
0a1ddfa6
SM
98392016-08-24 Simon Marchi <simon.marchi@ericsson.com>
9840
9841 * gdb.base/set-inferior-tty.exp: New file.
9842 * gdb.base/set-inferior-tty.c: New file.
9843
d9de1fe3
PA
98442016-08-23 Pedro Alves <palves@redhat.com>
9845
9846 PR gdb/20494
9847 * gdb.base/new-ui-echo.c: New file.
9848 * gdb.base/new-ui-echo.exp: New file.
9849
e9d9abd7
YQ
98502016-08-23 Yao Qi <yao.qi@linaro.org>
9851
9852 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
9853 gdbserver_spawn.
9854 * gdb.server/connect-without-multi-process.exp (do_test):
9855 Likewise.
9856
3589529e
YQ
98572016-08-23 Yao Qi <yao.qi@linaro.org>
9858
9859 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
9860 standalone_txt. Delete gdb_txt and standalone_txt on host
9861 and target. Spawn the binary on target. Copy files from
9862 target to host.
9863
6bb90213
PA
98642016-08-22 Pedro Alves <palves@redhat.com>
9865
9866 PR gdb/20505
9867 * gdb.base/vdso-warning.exp: Test core dumps too. Use
9868 with_test_prefix. Factor out bits to ...
9869 (test_no_vdso): ... this new procedure.
9870
20c2c024
CL
98712016-08-19 Carl Love <cel@us.ibm.com>
9872
9873 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
9874 maintaining separate logic for constructing the output path.
9875 * gdb.arch/powerpc-d128-regs.exp: Likewise.
9876 * gdb.arch/ppc-dfp.exp: Likewise.
9877 * gdb.arch/ppc-fp.exp: Likewise.
9878 * gdb.arch/vsx-regs.exp: Likewise.
9879 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
9880 binprefix for generating the additional binary files.
9881
0646e07d
PA
98822016-08-19 Pedro Alves <palves@redhat.com>
9883
9884 * gdb.trace/mi-trace-frame-collected.exp
9885 (test_trace_frame_collected): On x32, expect two registers.
9886
46da9242
CL
98872016-08-18 Carl Love <cel@us.ibm.com>
9888
9889 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
9890 and sync up the test with tests in gas/testsuite/gas/ppc.
9891 * gdb.arch/powerpc-power.exp: Likewise.
9892
eb2332d7
SM
98932016-08-17 Simon Marchi <simon.marchi@ericsson.com>
9894
9895 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
9896 expected error message.
9897
63c61e04
SM
98982016-08-17 Simon Marchi <simon.marchi@ericsson.com>
9899
9900 * gdb.multi/remove-inferiors.exp: New file.
9901 * gdb.multi/remove-inferiors.c: New file.
9902
7b17065f
YQ
99032016-08-12 Yao Qi <yao.qi@linaro.org>
9904
9905 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
9906 argument list.
9907
01d3dedf
PA
99082016-08-10 Pedro Alves <palves@redhat.com>
9909
9910 PR gdb/19187
9911 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
9912 setup_kfails.
9913
3eb7562a
PA
99142016-08-09 Pedro Alves <palves@redhat.com>
9915 Simon Marchi <simon.marchi@ericsson.com>
9916
9917 PR gdb/20418
9918 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
9919 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
9920
80614914
PA
99212016-08-09 Pedro Alves <palves@redhat.com>
9922
9923 PR mi/20431
9924 * gdb.mi/mi-cmd-error.exp: New file.
9925
f348d89a
PA
99262016-08-09 Pedro Alves <palves@redhat.com>
9927
9928 PR gdb/18653
9929 * gdb.base/signals-state-child.c: New file.
9930 * gdb.base/signals-state-child.exp: New file.
9931 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
9932
e5ca03b4
PA
99332016-08-09 Pedro Alves <palves@redhat.com>
9934
9935 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
9936
282a0691
TT
99372016-08-03 Tom Tromey <tom@tromey.com>
9938
9939 PR python/18565:
9940 * gdb.python/py-frame-inline.exp: Add Frame.function test.
9941
41bfcd63
YQ
99422016-08-01 Yao Qi <yao.qi@linaro.org>
9943
9944 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
9945 variable mode to "multi-process" if $multi_process is 1, otherwise
9946 set it to "single-process".
9947
e3465b24
YQ
99482016-08-01 Yao Qi <yao.qi@linaro.org>
9949
9950 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
9951 * gdb.cp/cpexprs.exp: Likewise.
9952 * gdb.cp/m-static.exp: Likewise.
9953
0b31a4bc
TT
99542016-07-26 Tom Tromey <tom@tromey.com>
9955
9956 PR python/20190:
9957 * gdb.threads/tls.exp (check_thread_local): Add python symbol
9958 test.
9959
e0461dbb
MM
99602016-07-26 Markus Metzger <markus.t.metzger@intel.com>
9961
9962 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
9963 selecting assembly source files.
9964 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
9965 assembly source files.
9966 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
9967 assembly source files.
9968 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
9969 selecting assembly source files.
9970
8194e927
SM
99712016-07-25 Simon Marchi <simon.marchi@ericsson.com>
9972
9973 * gdb.base/new-ui.exp (do_test_invalid_args): New
9974 procedure.
9975
c0272db5
TW
99762016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
9977
9978 * gdb.btrace/reconnect.c: New file.
9979 * gdb.btrace/reconnect.exp: New file.
9980
e3487908
GKB
99812016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
9982
9983 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
9984 to test_catch_syscall_group.
9985 (test_catch_syscall_group): New.
9986
12df5c00
TT
99872016-07-21 Tom Tromey <tom@tromey.com>
9988
9989 * gdb.rust/simple.rs (main): Use empty struct expression.
9990 * gdb.rust/simple.exp: Add tests for empty struct expression.
9991
bae62ee2
YQ
99922016-07-21 Yao Qi <yao.qi@linaro.org>
9993
9994 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
9995 if gdb_skip_xml_test is true on some targets.
9996
b1b53fb3
YQ
99972016-07-21 Yao Qi <yao.qi@linaro.org>
9998
9999 * gdb.server/solib-list.exp: Unset last_loaded_file.
10000
027d97f8
JK
100012016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10002
10003 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
10004 "step into captured_main (args)".
10005
7674d381
JK
100062016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10007
10008 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
10009
72b5d099
JK
100102016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10011
10012 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
10013
1f960ced
PA
100142016-07-19 Pedro Alves <palves@redhat.com>
10015
10016 * gdb.opt/inline-break.exp: Remove optimize=-O2.
10017 * gdb.opt/inline-bt.exp: Likewise.
10018 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
10019 additional_flags=-Winline.
10020 * gdb.opt/inline-locals.exp: Likewise.
10021 * gdb.opt/inline-markers.c (ATTR): Define.
10022 (inlined_fn): Use it.
10023
f25827c1
YQ
100242016-07-19 Yao Qi <yao.qi@linaro.org>
10025
10026 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
10027 (test_with_self): Remove some code. Remove argument executable.
10028 (top-level): Use do_self_tests.
10029
37539ebe
DB
100302016-07-15 Zachary Welch <zwelch@codesourcery.com>
10031 Don Breazeal <donb@codesourcery.com>
10032
10033 * gdb.base/maint.exp: Escape paths used in regular expressions.
10034 * gdb.stabs/weird.exp: Likewise.
10035
dac790e1
TT
100362016-07-13 Tom Tromey <tom@tromey.com>
10037
10038 PR python/15620, PR python/18620:
10039 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
10040 (test_bkpt_events): New procs.
10041
93daf339
TT
100422016-07-13 Tom Tromey <tom@tromey.com>
10043
10044 PR python/17698:
10045 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
10046 test.
10047 (test_watchpoints): Likewise.
10048 (test_bkpt_pending): New proc.
10049
6571a381
TT
100502016-07-13 Tom Tromey <tom@tromey.com>
10051
10052 PR cli/18053:
10053 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
10054 completion test.
10055
e8732474
JK
100562016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10057
10058 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
10059 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
10060 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
10061 f_label.
10062 (g): Rename g_end_lbl to g_label.
10063 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
10064 low_pc and high_pc.
10065 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
10066
e0f3fd7c
TT
100672016-07-12 Tom Tromey <tom@tromey.com>
10068
10069 PR python/19293:
10070 * gdb.python/py-unwind-maint.exp: Update tests.
10071
3cfe46b6
YQ
100722016-07-12 Yao Qi <yao.qi@linaro.org>
10073
10074 * lib/selftest-support.exp (selftest_setup): Match the output
10075 when captured_main is inlined.
10076
4f19a0e6
WT
100772016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
10078
10079 * gdb.fortran/derived-types.exp (result_line, result_line_2):
10080 New variables.
10081 (print this%a, print this%b, print this): New tests.
10082 * gdb.fortran/derived-types.f90 (this): New object and
10083 initialization.
10084
986cf455
SM
100852016-07-06 Simon Marchi <simon.marchi@ericsson.com>
10086
10087 * gdb.ada/arraydim.exp: Remove extra directory level in build
10088 directory.
10089
f0464b23
SM
100902016-07-06 Simon Marchi <simon.marchi@ericsson.com>
10091
10092 * lib/ada.exp: Remove extra directory level in build directory.
10093 * gdb.ada/cond_lang.exp: Likewise.
10094 * gdb.ada/exec_changed.exp: Likewise.
10095 * gdb.ada/lang_switch.exp: Likewise.
10096
42d94011
MG
100972016-07-06 Manish Goregaokar <manish@mozilla.com>
10098
2806dc7e
PA
10099 * simple.rs: Add test for raw pointer subscripting.
10100 * simple.exp: Add test expectations.
42d94011 10101
647c264c
YQ
101022016-07-05 Yao Qi <yao.qi@linaro.org>
10103
10104 * gdb.mi/mi-reverse.exp: Match =record-started output.
10105
20aa2c60
PA
101062016-07-01 Pedro Alves <palves@redhat.com>
10107
10108 * gdb.base/jit-reader.exp (info_registers_current_frame): New
10109 procedure.
10110 (jit_reader_test): Test the jit reader's unwinder.
10111 * gdb.base/jithost.c (jit_function_00_code): New global.
10112 (main): Use memcpy to fill in the mmapped code, instead of poking
10113 bytes manually here.
10114 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
10115 value.
10116 (read_debug_info): Save the function's range.
10117 (read_sp): New function.
10118 (unwind_frame): Use it. Also unwind RBP.
10119 (get_frame_id): Use read_sp.
10120 (gdb_init_reader): Use calloc instead of malloc.
10121 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
10122 parameter. Use gdb_test_multiple.
10123
ced2dffb
PA
101242016-07-01 Pedro Alves <palves@redhat.com>
10125 Antoine Tremblay <antoine.tremblay@ericsson.com>
10126
10127 * gdb.threads/process-dies-while-detaching.c: New file.
10128 * gdb.threads/process-dies-while-detaching.exp: New file.
10129
63000888
PA
101302016-07-01 Pedro Alves <palves@redhat.com>
10131
10132 * gdb.multi/watchpoint-multi-exit.c: New file.
10133 * gdb.multi/watchpoint-multi-exit.exp: New file.
10134
038d4868
PA
101352016-06-30 Pedro Alves <palves@redhat.com>
10136
10137 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
10138 unset inferior_spawn_id.
10139
994e9c83
PA
101402016-06-30 Pedro Alves <palves@redhat.com>
10141
10142 * lib/mi-support.exp (default_mi_gdb_start): Declare global
10143 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
10144
e5653468
YQ
101452016-06-29 Yao Qi <yao.qi@linaro.org>
10146
10147 * gdb.base/return.c: Add copyright header.
10148
803b47e5
TT
101492016-06-29 Tom Tromey <tom@tromey.com>
10150
10151 PR python/20129:
10152 * gdb.python/py-framefilter.exp: Add tests for setting priority
10153 and disabling of non-existent frame filter.
10154
28244707
YQ
101552016-06-29 Yao Qi <yao.qi@linaro.org>
10156
10157 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
10158 0x0f07ff.
10159
a31d2f06
YQ
101602016-06-28 Yao Qi <yao.qi@linaro.org>
10161
10162 * gdb.base/catch-syscall.exp: Remove check on isnative and target
10163 triplets. Start gdb, execute catch syscall, and continue. Check
10164 gdb's output to determine catch syscall is supported.
10165
921d8f54
MG
101662016-06-27 Manish Goregaokar <manish@mozilla.com>
10167
25d49b86
PA
10168 * gdb.rust/simple.rs: Add test for returning unit in a function.
10169 * gdb.rust/simple.exp: Add expectation for functions returning
10170 unit.
921d8f54 10171
f4952523
PMR
101722016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
10173
10174 * gdb.python/py-breakpoint-create-fail.c,
10175 gdb.python/py-breakpoint-create-fail.exp,
10176 gdb.python/py-breakpoint-create-fail.py: New testcase.
10177
fccb08f8
MG
101782016-06-25 Manish Goregaokar <manish@mozilla.com>
10179
10180 PR gdb/20239
10181 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
10182 * gdb.rust/simple.exp: Add test expectations for new NonZero
10183 tests.
fccb08f8 10184
6b850546
DT
101852016-06-24 David Taylor <dtaylor@emc.com>
10186
10187 * gdb.base/offsets.exp: New file.
10188 * gdb.base/offsets.c: New file.
10189
17621150
TT
101902016-06-23 Tom Tromey <tom@tromey.com>
10191
10192 PR gdb/16483:
10193 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
10194 before any filters are loaded.
10195
04d59df6
WT
101962016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
10197
10198 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
10199 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
10200 structs.
10201 * gdb.fortran/derived-type-function.exp: New file.
10202 * gdb.fortran/derived-type-function.f90: New file.
10203
10204
ac69f786
PA
102052016-06-21 Pedro Alves <palves@redhat.com>
10206
10207 * gdb.base/new-ui.exp: New file.
10208 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
10209 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
10210 (with_spawn_id): New procedure.
10211
49940788
PA
102122016-06-21 Pedro Alves <palves@redhat.com>
10213
10214 * gdb.mi/mi-exec-run.exp: New file.
10215
ef274d26
PA
102162016-06-21 Pedro Alves <palves@redhat.com>
10217
10218 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
10219 breakpoint command's output on the main UI.
10220 (test_break): New procedure, factored out from calls in the top
10221 level.
10222 (top level): Use foreach_with_prefix to test MI as main UI and as
10223 separate UI.
10224
468afe6c
PA
102252016-06-21 Pedro Alves <palves@redhat.com>
10226
10227 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
10228 (test_awatch_creation_and_listing)
10229 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
10230 Remove 'type' parameter.
10231 (test_watchpoint_all): New parameter mi_mode. Remove
10232 with_test_prefix.
10233 (top level): Use foreach_with_prefix, and add main/separate UI MI
10234 testing axis.
10235
51f77c37
PA
102362016-06-21 Pedro Alves <palves@redhat.com>
10237
10238 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
10239 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
10240 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
10241 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
10242 (gdb_main_spawn_id, mi_spawn_id): Declare and
10243 comment.
10244 (mi_create_inferior_pty): New procedure,
10245 factored out from default_mi_gdb_start.
10246 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
10247 procedures.
10248 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
10249 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
10250 Use mi_create_inferior_pty.
10251 (mi_gdb_start): Use eval to pass down args list.
10252
8980e177
PA
102532016-06-21 Pedro Alves <palves@redhat.com>
10254
10255 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
10256 * gdb.opt/inline-cmds.exp: Add MI tests.
10257
f38d3ad1
PA
102582016-06-21 Pedro Alves <palves@redhat.com>
10259
10260 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
10261
45db7c09
PA
102622016-06-21 Pedro Alves <palves@redhat.com>
10263
10264 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
10265 (top level): Use it instead of mi_execute_to.
10266
5a069ab3
PA
102672016-06-21 Pedro Alves <palves@redhat.com>
10268
10269 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
10270 (cont_handler_str): New.
10271 (signal_stop_handler): Set stop_handler_str instead of printing to
10272 stdout.
10273 (continue_handler): Set cont_handler_str instead of printing to
10274 stdout.
10275 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
10276 mi_send_resuming_command. Print stop_handler_str and
10277 cont_handler_str instead of expecting the python events print
10278 directly.
10279
2838cc1d
SD
102802016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
10281
10282 * gdb.base/jit-reader.exp: New file.
10283 * gdb.base/jithost.c: New file.
10284 * gdb.base/jithost.h: New file.
10285 * gdb.base/jitreader.c : New file.
10286 * gdb.base/jit-protocol.h: New file.
10287
21a77091
YQ
102882016-06-17 Yao Qi <yao.qi@linaro.org>
10289
10290 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
10291 parameters follow_fork and detach_on_fork. Set follow-fork-mode
10292 and detach-on-fork. Adjust tests.
10293 (top level): Invoke break_cond_on_syscall with combinations of
10294 syscall, follow-fork-mode and detach-on-fork.
10295
f50bf8e5
YQ
102962016-06-17 Yao Qi <yao.qi@linaro.org>
10297
10298 * gdb.base/step-over-exit.c: New.
10299 * gdb.base/step-over-exit.exp: New.
10300
a28d8e50
YTL
103012016-06-17 Yan-Ting Lin <currygt52@gmail.com>
10302
10303 * gdb.base/float.exp: Add target check for nds32*-*-*.
10304 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
10305
cad8e26d
AB
103062016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
10307
10308 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
10309 for unsupported target features.
10310 * gdb.base/call-rt-st.exp: Likewise.
10311 * gdb.base/call-sc.exp: Likewise.
10312 * gdb.base/call-signal-resume.exp: Likewise.
10313 * gdb.base/call-strs.exp: Likewise.
10314 * gdb.base/callexit.exp: Likewise.
10315 * gdb.base/callfuncs.exp: Likewise.
10316 * gdb.base/nodebug.exp: Likewise.
10317 * gdb.base/printcmds.exp: Likewise.
10318 * gdb.base/ptype.exp: Likewise.
10319 * gdb.base/structs.exp: Likewise.
10320 * gdb.base/unwindonsignal.exp: Likewise.
10321 * gdb.cp/gdb2495.exp: Likewise.
10322 * gdb.cp/templates.exp: Likewise.
10323 * gdb.cp/virtfunc.exp: Likewise.
10324 * gdb.threads/hand-call-in-threads.exp: Likewise.
10325 * gdb.threads/interrupted-hand-call.exp: Likewise.
10326 * gdb.threads/thread-unwindonsignal.exp: Likewise.
10327
347dc102
TT
103282016-06-10 Tom Tromey <tom@tromey.com>
10329
10330 PR rust/20110:
10331 * gdb.rust/expr.exp: Add test for integer constant larger than
10332 i32.
10333
5e13cf25
BH
103342016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
10335
10336 * gdb.fortran/nested-funcs.exp: New.
10337 * gdb.fortran/nested-funcs.f90: New.
10338
bb556f1f
TK
103392016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
10340
10341 * gdb.base/examine-backward.c: New file.
10342 * gdb.base/examine-backward.exp: New file.
10343
38b022b4
SM
103442016-06-06 Simon Marchi <simon.marchi@ericsson.com>
10345
10346 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
10347 matching.
10348
1b40ec05
TT
103492016-06-02 Tom Tromey <tom@tromey.com>
10350
10351 PR python/18984:
10352 * gdb.python/py-shared.exp: Add solib_name test.
10353
193bd378
SM
103542016-06-02 Simon Marchi <simon.marchi@ericsson.com>
10355
10356 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
10357
3326303b
MG
103582016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
10359
10360 PR c++/19893
10361 * gdb.dwarf2/implref.exp: Rename to...
10362 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
10363 * gdb.dwarf2/implref-array.c: New file.
10364 * gdb.dwarf2/implref-array.exp: Likewise.
10365 * gdb.dwarf2/implref-global.c: Likewise.
10366 * gdb.dwarf2/implref-global.exp: Likewise.
10367 * gdb.dwarf2/implref-struct.c: Likewise.
10368 * gdb.dwarf2/implref-struct.exp: Likewise.
10369
825c8ef2
AT
103702016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10371
10372 * gdb.trace/trace-condition.exp: Add 64bit tests.
10373
2320162a
AT
103742016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10375
10376 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
10377 bits types.
10378 (main): Adapt to 8 to 64 bits types.
10379 * gdb.trace/trace-condition.exp: Add new tests.
10380
a7818233
AT
103812016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10382
10383 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
10384
0d336466
AT
103852016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10386
10387 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
10388 Move condition tests...
10389 * gdb.trace/trace-condition.exp: Here.
10390
7faeb45a
AT
103912016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10392
10393 * gdb.trace/trace-condition.exp: Add counter-case tests.
10394
e385593e
JK
103952016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10396
10397 PR c++/15231
10398 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
10399 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
10400
744608cc
PA
104012016-05-27 Pedro Alves <palves@redhat.com>
10402
10403 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
10404 New procedure.
10405 (top level): Call it, and bail out of DejaGnu is known to be bad.
10406
ac775bf4
AB
104072016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
10408
10409 * gdb.base/whatis.c: Extend the test case.
10410 * gdb.base/whatis.exp: Add additional tests.
10411
2bbad2ea
BH
104122016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10413
10414* gdb.fortran/type.f90: Add pointer variable.
10415* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
10416
8b70175d
BH
104172016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10418
10419 * gdb.fortran/vla-type.exp: Fix testcase name.
10420
86d8a848
BH
104212016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10422
10423 * gdb.fortran/vla-type.exp: Access elements in nested structs.
10424
e188eb36
BH
104252016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10426
10427 * gdb.fortran/type.f90: Add nested structures.
10428 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
10429 * gdb.fortran/derived-type.exp: Adapt expected output.
10430 * gdb.fortran/vla-type.exp: Adapt expected output.
10431
9b2db1fd
BH
104322016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10433
10434 * gdb.fortran/whatis_type.exp: Adapt expected output.
10435
72b17055
BH
104362016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10437
10438 * gdb.fortran/print_type.exp: Fix expected output.
10439 * gdb.fortran/whatis_type.exp: Fix expected output.
10440
3cd81d8d
BH
104412016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10442
10443 * gdb.fortran/whatis_type.exp: Use multi_line.
10444
ddae9462
TT
104452016-05-24 Tom Tromey <tom@tromey.com>
10446
10447 PR python/17386:
10448 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
10449 use value as an index.
10450
1957f6b8
TT
104512016-05-23 Tom Tromey <tom@tromey.com>
10452
10453 PR python/17981:
10454 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
10455 no-breakpoint case.
10456
026a9174
PA
104572016-05-24 Pedro Alves <palves@redhat.com>
10458
10459 PR gdb/19828
10460 * gdb.threads/clone-attach-detach.c: New file.
10461 * gdb.threads/clone-attach-detach.exp: New file.
10462
e70a7231
FR
104632016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
10464
10465 * gdb.base/annota-input-while-running.exp: Fix syntax error.
10466
0f6ed0e0
TT
104672016-05-23 Tom Tromey <tom@tromey.com>
10468
10469 PR python/19438, PR python/18393:
10470 * gdb.python/py-progspace.exp: Add "dir" test.
10471 * gdb.python/py-objfile.exp: Add "dir" test.
10472
ffd19d61
YQ
104732016-05-23 Yao Qi <yao.qi@linaro.org>
10474
10475 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
10476 * gdb.arch/thumb2-it.exp: Likewise.
10477
9e8f9b05
SM
104782016-05-18 Simon Marchi <simon.marchi@ericsson.com>
10479
10480 * gdb.mi/mi-threads-interrupt.c: New file.
10481 * gdb.mi/mi-threads-interrupt.exp: New file.
10482
61c6156d
SM
104832016-05-17 Simon Marchi <simon.marchi@ericsson.com>
10484
10485 PR gdb/18077
10486 * gdb.mi/mi-async-run.exp: New file.
10487 * gdb.mi/mi-async-run.c: New file.
10488
67218854
TT
104892016-05-17 Tom Tromey <tom@tromey.com>
10490 Manish Goregaokar <manishsmail@gmail.com>
10491
10492 * lib/rust-support.exp: New file.
10493 * lib/gdb.exp (skip_rust_tests): New proc.
10494 (build_executable_from_specs): Handle rust.
10495 * lib/future.exp (gdb_find_rustc): New proc.
10496 (gdb_default_target_compile): Handle rust.
10497 * gdb.rust/expr.exp: New file.
10498 * gdb.rust/generics.exp: New file.
10499 * gdb.rust/generics.rs: New file.
10500 * gdb.rust/methods.exp: New file.
10501 * gdb.rust/methods.rs: New file.
10502 * gdb.rust/modules.exp: New file.
10503 * gdb.rust/modules.rs: New file.
10504 * gdb.rust/simple.exp: New file.
10505 * gdb.rust/simple.rs: New file.
10506
c44af4eb
TT
105072016-05-17 Tom Tromey <tom@tromey.com>
10508
10509 * gdb.base/default.exp (set language): Add rust.
10510
dcd1f979
TT
105112016-05-17 Tom Tromey <tom@tromey.com>
10512
10513 * gdb.gdb/unittest.exp: New file.
10514
155b7f57
YQ
105152016-05-16 Yao Qi <yao.qi@linaro.org>
10516
10517 * gdb.base/batch-preserve-term-settings.exp: Remove variable
10518 shell_prompt. Update shell_prompt_re.
10519
8ddd5a6c
DE
105202016-05-12 Doug Evans <dje@google.com>
10521
10522 PR symtab/19999
10523 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
10524 $options when building executable.
10525 * gdb.dwarf2/fission-loclists-pie.S: New file.
10526 * gdb.dwarf2/fission-loclists-pie.exp: New file.
10527
02e370d9
SM
105282016-05-04 Simon Marchi <simon.marchi@ericsson.com>
10529
10530 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
10531 of [is_remote target],
10532
8929ad8b
SM
105332016-05-04 Simon Marchi <simon.marchi@ericsson.com>
10534
10535 * lib/gdb.exp (use_gdb_stub): New procedure.
10536
6c447423
DE
105372016-05-03 Yunlian Jiang <yunlian@google.com>
10538 Doug Evans <dje@google.com>
10539
10540 PR symtab/19914
10541 * gdb.dwarf2/dwp-sepdebug.c: New file.
10542 * gdb.dwarf2/dwp-sepdebug.exp: New file.
10543
444e826c
SM
105442016-05-02 Simon Marchi <simon.marchi@ericsson.com>
10545
10546 * gdb.base/detach.exp: Remove is_remote check.
10547
740feeaa
SM
105482016-05-02 Simon Marchi <simon.marchi@ericsson.com>
10549
10550 * gdb.base/annota-input-while-running.exp: Don't check for
10551 [is_remote target]. Enable annotations after running to main.
10552 Remove unused "set test..." line.
10553
9080ac9d
SM
105542016-04-28 Simon Marchi <simon.marchi@ericsson.com>
10555
10556 * gdb.trace/trace-enable-disable.exp: New file.
10557 * gdb.trace/trace-enable-disable.c: New file.
10558
952ebca5
SM
105592016-04-28 Simon Marchi <simon.marchi@ericsson.com>
10560
10561 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
10562 use it in info sharedlibrary test.
10563 * gdb.trace/ftrace-lock.exp: Likewise.
10564 * gdb.trace/ftrace.exp: Likewise.
10565 * gdb.trace/range-stepping.exp: Likewise.
10566 * gdb.trace/trace-break.exp: Likewise.
10567 * gdb.trace/trace-condition.exp: Likewise.
10568 * gdb.trace/trace-mt.exp: Likewise.
10569
d9019901
SM
105702016-04-27 Simon Marchi <simon.marchi@ericsson.com>
10571
10572 * lib/gdb.exp (gdb_load_shlibs): Rename to...
10573 (gdb_load_shlib): ... this.
10574 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
10575 gdb_load_shlib.
10576 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
10577 * gdb.base/ctxobj.exp: Likewise.
10578 * gdb.base/dprintf-pending.exp: Likewise.
10579 * gdb.base/dso2dso.exp: Likewise.
10580 * gdb.base/fixsection.exp: Likewise.
10581 * gdb.base/gcore-relro.exp: Likewise.
10582 * gdb.base/gdb1555.exp: Likewise.
10583 * gdb.base/global-var-nested-by-dso.exp: Likewise.
10584 * gdb.base/gnu-ifunc.exp: Likewise.
10585 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
10586 * gdb.base/jit-so.exp (one_jit_test): Likewise.
10587 * gdb.base/pending.exp: Likewise.
10588 * gdb.base/print-file-var.exp: Likewise.
10589 * gdb.base/print-symbol-loading.exp: Likewise.
10590 * gdb.base/shlib-call.exp: Likewise.
10591 * gdb.base/shreloc.exp: Likewise.
10592 * gdb.base/so-impl-ld.exp: Likewise.
10593 * gdb.base/solib-disc.exp: Likewise.
10594 * gdb.base/solib-nodir.exp: Likewise.
10595 * gdb.base/solib-overlap.exp: Likewise.
10596 * gdb.base/solib-symbol.exp: Likewise.
10597 * gdb.base/solib-weak.exp (do_test): Likewise.
10598 * gdb.base/sym-file.exp: Likewise.
10599 * gdb.base/symtab-search-order.exp: Likewise.
10600 * gdb.base/type-opaque.exp: Likewise.
10601 * gdb.base/unload.exp: Likewise.
10602 * gdb.base/watchpoint-solib.exp: Likewise.
10603 * gdb.compile/compile.exp: Likewise.
10604 * gdb.cp/gdb2384.exp: Likewise.
10605 * gdb.cp/infcall-dlopen.exp: Likewise.
10606 * gdb.cp/re-set-overloaded.exp: Likewise.
10607 * gdb.fortran/library-module.exp: Likewise.
10608 * gdb.opt/solib-intra-step.exp: Likewise.
10609 * gdb.python/py-finish-breakpoint.exp: Likewise.
10610 * gdb.python/py-shared.exp: Likewise.
10611 * gdb.reverse/solib-precsave.exp: Likewise.
10612 * gdb.reverse/solib-reverse.exp: Likewise.
10613 * gdb.server/solib-list.exp: Likewise.
10614 * gdb.threads/dlopen-libpthread.exp: Likewise.
10615 * gdb.threads/tls-shared.exp: Likewise.
10616 * gdb.threads/tls-so_extern.exp: Likewise.
10617 * gdb.trace/change-loc.exp: Likewise.
10618 * gdb.trace/ftrace-lock.exp: Likewise.
10619 * gdb.trace/ftrace.exp: Likewise.
10620 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
10621 * gdb.trace/pending.exp: Likewise.
10622 * gdb.trace/range-stepping.exp: Likewise.
10623 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
10624 (strace_info_marker): Likewise.
10625 (strace_probe_marker): Likewise.
10626 (strace_trace_on_same_addr): Likewise.
10627 (strace_trace_on_diff_addr): Likewise.
10628 * gdb.trace/trace-break.exp: Likewise.
10629 * gdb.trace/trace-condition.exp: Likewise.
10630 * gdb.trace/trace-mt.exp: Likewise.
10631
fca4cfd9
SM
106322016-04-27 Simon Marchi <simon.marchi@ericsson.com>
10633
10634 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
10635 result of gdb_remote_download.
10636 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
10637 * gdb.base/dso2dso.exp: Likewise.
10638 * gdb.base/global-var-nested-by-dso.exp: Likewise.
10639 * gdb.base/print-file-var.exp: Likewise.
10640 * gdb.base/shlib-call.exp: Likewise.
10641 * gdb.base/shreloc.exp: Likewise.
10642 * gdb.base/solib-overlap.exp: Likewise.
10643 * gdb.base/solib-weak.exp (do_test): Likewise.
10644 * gdb.base/unload.exp: Likewise.
10645
11cf4ffb
YQ
106462016-04-27 Yao Qi <yao.qi@linaro.org>
10647
10648 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
10649 exists.
10650
3e2e34f8
KB
106512016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10652
10653 * vla-type.exp: Print structure from toplevel.
10654
8f07e298
BH
106552016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10656
10657 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
10658 of dynamic types.
10659 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
10660 of dynamic types.
10661
9920b434
BH
106622016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10663
10664 * gdb.fortran/vla-type.f90: New file.
10665 * gdb.fortran/vla-type.exp: New file.
10666
f3abeff5
YQ
106672016-04-25 Yao Qi <yao.qi@linaro.org>
10668
10669 * gdb.base/branch-to-self.c: New file.
10670 * gdb.base/branch-to-self.exp: New file.
10671
0a5d52f0
YQ
106722016-04-22 Yao Qi <yao.qi@linaro.org>
10673
10674 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
10675 more after $hex.
10676
495346f6
YQ
106772016-04-22 Yao Qi <yao.qi@linaro.org>
10678
10679 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
10680 * gdb.base/annota3.exp: Likewise.
10681
4a7e075c
YQ
106822016-04-22 Yao Qi <yao.qi@linaro.org>
10683
10684 * gdb.reverse/step-precsave.exp: Do one step and test program
10685 stops in "callee" and do multiple steps until program goes out
10686 of "callee".
10687 * gdb.reverse/step-reverse.exp: Likewise.
10688
5b061e98
YQ
106892016-04-22 Yao Qi <yao.qi@linaro.org>
10690
10691 * gdb.trace/signal.exp: Also pass if
10692 $tracepoint_hits($i) > $iterations.
10693
5c5dc57f
YQ
106942016-04-22 Yao Qi <yao.qi@linaro.org>
10695
10696 * gdb.trace/signal.c: New file.
10697 * gdb.trace/signal.exp: New file.
10698
a55411b9
DE
106992016-04-19 Doug Evans <xdje42@gmail.com>
10700
10701 * gdb.base/bad-file.exp: New file.
10702
a22df60a
MG
107032016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
10704
10705 * gdb.dwarf2/implref.exp: New file.
10706
0c13f7e5
BH
107072016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
10708
10709 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
10710 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
10711 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
10712 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
10713 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
10714 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
10715 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
10716 * lib/fortran.exp (fortran_int4): New procedure.
10717 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
10718 (fortran_logical4): Likewise.
10719
9b9b09e9
BH
107202016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
10721
10722 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
10723
a14d1f4d
BH
107242016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
10725
10726 * lib/compiler.c: Add Intel specific preprocessor macros.
10727 * lib/compiler.cc: Likewise.
25d49b86 10728
7d49b1d0
LM
107292016-04-13 Luis Machado <lgustavo@codesourcery.com>
10730
10731 * gdb.server/connect-with-no-symbol-file.c: New file.
10732 * gdb.server/connect-with-no-symbol-file.exp: New file.
10733
8392fa22
SM
107342016-04-13 Simon Marchi <simon.marchi@ericsson.com>
10735
10736 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
10737
8c4c4aeb
SM
107382016-04-13 Simon Marchi <simon.marchi@ericsson.com>
10739
10740 * boards/gdbserver-base.exp (${board}_download): Copy source file to
10741 standard output directory.
10742
45e3745e
AT
107432016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
10744
10745 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
10746
e26b7e41
MM
107472016-04-13 Markus Metzger <markus.t.metzger@intel.com>
10748
10749 * gdb.btrace/instruction_history.c (loop): Add declaration.
10750
8ce09462
AT
107512016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
10752
10753 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
10754
2e88a1ea
SM
107552016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
10756
10757 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
10758 parentheses to print.
10759 (continue_handler): Likewise.
10760
f48e22e3
SM
107612016-04-08 Simon Marchi <simon.marchi@ericsson.com>
10762
10763 * gdb.server/solib-list.exp: Remove is_remote check.
10764 Pass shlib= to gdb_compile. Don't link shared library with
10765 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
10766 Run binary filename through "readlink -f" on the target.
10767
096be756
PA
107682016-04-08 Pedro Alves <palves@redhat.com>
10769
10770 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
10771 interpreter filename as argument to gdbserver_spawn.
10772 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
10773 Return empty if $last_loaded_file does not exist.
10774
06500533
JK
107752016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10776
10777 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
10778 * gdb.base/jit-main.c: Use exit after usage.
10779
2d35e871
JK
107802016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10781
10782 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
10783 GDBHISTSIZE prior to the tests.
10784 * gdb.base/gdbinit-history.exp: Likewise.
10785
107862016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
10787
10788 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
10789 instead of build_executable. Use gdb_load_shlibs.
10790
c8064e7e
YQ
107912016-04-07 Yao Qi <yao.qi@linaro.org>
10792
10793 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
10794 Execute "si" command.
10795
bde47561
YQ
107962016-04-07 Yao Qi <yao.qi@linaro.org>
10797
10798 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
10799 number instead of the comments on some line.
10800
b16f8a3b
DB
108012016-04-06 Don Breazeal <donb@codesourcery.com>
10802
10803 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
10804 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
10805
c2f901df
SM
108062016-04-06 Simon Marchi <simon.marchi@ericsson.com>
10807
10808 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
10809 standard_output_file. Remove unused binfile variable.
10810
ac17fda0
CU
108112016-04-05 Catalin Udma <catalin.udma@freescale.com>
10812
10813 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
10814 * gdb.python/py-mi-objfile.exp: Match "list main" output
10815 in console format.
10816
03a8c4df
SM
108172016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
10818
10819 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
10820 absolute.
10821
6e774b13
SM
108222016-04-05 Simon Marchi <simon.marchi@ericsson.com>
10823
10824 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
10825 absolute.
10826 * gdb.trace/ftrace.exp: Likewise.
10827 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
10828 targets as well.
10829 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
10830 (gdb_load_shlibs): Copy libraries to test directory when testing
10831 natively. Only set solib-search-path if testing remotely.
10832 * lib/mi-support.exp (mi_load_shlibs): Likewise.
10833
7817ea46
SM
108342016-04-05 Simon Marchi <simon.marchi@ericsson.com>
10835
10836 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
10837 gdb_download. Use it even if the target is not remote.
10838 * gdb.base/jit.exp (compile_jit_test): Likewise.
10839 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
10840 output directory if the destination board is local, otherwise use
10841 the standard remote_download from DejaGnu.
10842 (gdb_download): Remove.
10843 (gdb_load_shlibs): Use gdb_remote_download instead of
10844 gdb_download.
10845 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
10846 Use gdb_remote_download instead of gdb_download. Use it even if
10847 the target is not remote.
10848 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
10849 instead of gdb_download.
10850
7beb7f68
SM
108512016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
10852
10853 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
10854 (test_insert_delete_modify): Call mi_load_shlibs before trying to
10855 run.
10856
cc63428a
AV
108572016-04-01 Artemiy Volkov <artemiyv@acm.org>
10858
10859 PR gdb/19820
10860 * gdb.base/printcmds.exp: Add artificial arrays tests.
10861
64cdf930
PA
108622016-03-31 Pedro Alves <palves@redhat.com>
10863
10864 PR gdb/19858
10865 * gdb.base/jit-main.c: Include unistd.h.
10866 (ATTACH): Define to 0 if not already defined.
10867 (wait_for_gdb, mypid): New globals.
10868 (WAIT_FOR_GDB): New macro.
10869 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
10870 some breakpoint locations.
10871 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
10872 New procedures.
10873 (one_jit_test): Add REATTACH parameter, and handle it. Use
10874 continue_to_test_location.
10875 (top level): Test attach, and adjusts calls to one_jit_test.
10876
40dea8cb
PA
108772016-03-31 Pedro Alves <palves@redhat.com>
10878
10879 PR gdb/19858
10880 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
10881 BINSUFFIX parameter, and handle it.
10882 (top level): Adjust calls compile_jit_test.
10883
e7ea3ec7
CU
108842016-03-31 Catalin Udma <catalin.udma@freescale.com>
10885
10886 PR python/19743
10887 * gdb.python/py-mi-events-gdb.py: New file.
10888 * gdb.python/py-mi-events.c: New file.
10889 * gdb.python/py-mi-events.exp: New file.
10890
e6359af3
YQ
108912016-03-30 Yao Qi <yao.qi@linaro.org>
10892
10893 * gdb.reverse/until-precsave.exp: Match function name only.
10894 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
10895 Move malloc to a condition block.
10896 * gdb.reverse/until-reverse.exp: Match function name only.
10897
a4105d04
MK
108982016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
10899
10900 * gdb.trace/ftrace.exp: Set arg0exp for s390.
10901 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
10902 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
10903 variable for GPR 0 instead of assuming it is register 0.
10904 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
10905 * lib/trace-support.exp: Add s390 registers.
10906
bfa6adb9
YQ
109072016-03-29 Yao Qi <yao.qi@linaro.org>
10908
10909 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
10910
1e6697ea
YQ
109112016-03-24 Yao Qi <yao.qi@linaro.org>
10912
10913 * gdb.reverse/break-reverse.exp: Add quotation mark in the
10914 test message.
10915
64bcd522
AA
109162016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10917
10918 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
10919 maintaining separate logic for constructing the output path.
10920
7868401b
DB
109212016-03-16 Don Breazeal <donb@codesourcery.com>
10922
10923 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
10924 Retry fork and waitpid on interrupted system call errors.
10925 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10926 Use with_timeout_factor to increase timeout by factor of 10.
10927
1cafadb4
DB
109282016-03-15 Don Breazeal <donb@codesourcery.com>
10929
10930 * gdb.cp/scope-err.cc: New test program.
10931 * gdb.cp/scope-err.exp: New test script.
10932 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
10933 lines and "set breakpoint here" comment.
10934 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
10935 Fixed some whitespace and format issues.
10936 * gdb.mi/mi-linespec-err-cp.cc: New test program.
10937 * gdb.mi/mi-linespec-err-cp.exp: New test script.
10938
81516450
DE
109392016-03-15 Doug Evans <dje@google.com>
10940
10941 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
10942 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
10943 All callers updated. Add tests for enums, mixed flags register.
10944
aa52b601
DE
109452016-03-15 Doug Evans <dje@google.com>
10946
10947 * gdb.base/skip.c (main): Call test_skip_file_and_function.
10948 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
10949
fa4ff313
SM
109502016-03-14 Simon Marchi <simon.marchi@ericsson.com>
10951
10952 * gdb.base/default.exp: Add $_as_string to the list of expected
10953 convenience functions.
10954
f2403c39
AB
109552016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
10956
10957 * gdb.base/maint.exp: New tests for 'maint info line-table'.
10958
f2f3ccb9
SM
109592016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
10960
10961 * gdb.python/py-as-string.exp: New file.
10962 * gdb.python/py-as-string.c: New file.
10963
00dbd492
PA
109642016-03-09 Pedro Alves <palves@redhat.com>
10965
10966 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
10967 signal" -> "Thread NN received signal" output change.
10968 * gdb.threads/ia64-sigill.exp: Likewise.
10969 * gdb.threads/linux-dp.exp: Likewise.
10970 * gdb.threads/manythreads.exp: Likewise.
10971 * gdb.threads/pending-step.exp: Likewise.
10972 * gdb.threads/print-threads.exp: Likewise.
10973 * gdb.threads/sigstep-threads.exp: Likewise.
10974 * gdb.threads/staticthreads.exp: Likewise.
10975 * gdb.threads/tls.exp: Likewise.
10976
1e6697ea
YQ
109772016-03-09 Pedro Alves <palves@redhat.com>
10978
10979 * gdb.base/command-line-input.exp: New file.
10980
b04fd3be
MK
109812016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10982
10983 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
10984 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
10985 * gdb.trace/pending.exp: Accept leading dot before function name.
10986 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
10987 * lib/trace-support.exp: Set registers for ppc.
10988
98fa59e9
MK
109892016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10990
10991 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
10992 use it for disassembly; accept .main in addition to main in backtrace.
10993
f77198c8
MK
109942016-03-09 Wei-cheng Wang <cole945@gmail.com>
10995 Marcin Kościelnicki <koriakin@0x04.net>
10996
10997 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
10998 (gdb_recursion_test_ptr): New global variable.
10999 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
11000 gdb_recursion_test.
11001 (gdb_c_test): Ditto.
11002
ba84e0da
MK
110032016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11004
11005 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
11006 ordering.
11007
4366d36e
MK
110082016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11009
11010 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
11011 (bar): Add bar_start_lbl label.
11012 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
11013 of foo/bar for emitting DWARF and tracing.
11014
5eb264df
SDJ
110152016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
11016
11017 * analyze-racy-logs.py: Set executable bit.
11018
fb6a751f
SDJ
110192016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
11020
11021 * Makefile.in (DEFAULT_RACY_ITER): New variable.
11022 (CHECK_TARGET_TMP): Likewise.
11023 (check-single-racy): New rule.
11024 (check-parallel-racy): Likewise.
11025 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
11026 (do-check-parallel-racy): New rule.
11027 (check-racy/%.exp): Likewise.
11028 * README (Racy testcases): New section.
11029 * analyze-racy-logs.py: New file.
11030
bdf7e230
DE
110312016-03-03 Doug Evans <dje@google.com>
11032
11033 * gdb.base/skip.exp: Use with_test_prefix.
11034
4719d415
YQ
110352016-03-03 Yao Qi <yao.qi@linaro.org>
11036
11037 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
11038 Invoke step_over_syscall "clone" and break_cond_on_syscall
11039 "clone".
11040 * gdb.base/step-over-clone.c: New file.
11041
ea507862
YQ
110422016-03-03 Yao Qi <yao.qi@linaro.org>
11043
11044 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
11045 code format.
11046
8fc8cbda
YQ
110472016-03-03 Yao Qi <yao.qi@linaro.org>
11048
11049 * gdb.base/disp-step-fork.c: Rename to ...
11050 * gdb.base/step-over-fork.c: ... it. New file.
11051 * gdb.base/disp-step-vfork.c: Rename to ...
11052 * gdb.base/step-over-vfork.c: ... it. New file.
11053 * gdb.base/disp-step-syscall.exp: Rename to ...
11054 * gdb.base/step-over-syscall.exp: ... it. New file.
11055 (disp_step_cross_syscall): Rename to ...
11056 (step_over_syscall): ... it.
11057
92fa70b0
YQ
110582016-03-03 Yao Qi <yao.qi@linaro.org>
11059
11060 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
11061 If target supports condition evaluation on target, invoke
11062 break_cond_on_syscall for fork and vfork.
11063
e197ad3c
YQ
110642016-03-03 Yao Qi <yao.qi@linaro.org>
11065
11066 * gdb.base/disp-step-syscall.exp: Don't invoke
11067 support_displaced_stepping.
11068 (disp_step_cross_syscall): Test with displaced stepping off and
11069 on if supported.
11070
0b47da9f
YQ
110712016-03-03 Yao Qi <yao.qi@linaro.org>
11072
11073 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
11074 proc.
11075 (setup): New proc.
11076 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
11077 and setup.
11078
065ab6dc
BH
110792016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11080
11081 * gdb.fortran/vla-history.exp: Remove breakpoint.
11082
07e448ad 110832016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11084
25d49b86
PA
11085 * gdb.fortran/vla-history.exp: Lookup array elements and printing
11086 exceeds timeout.
07e448ad 11087
9ac2d526 110882016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11089
25d49b86
PA
11090 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
11091 breakpoint.
9ac2d526 11092
17807369
BH
110932016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11094
11095 * gdb.mi/vla.f90: Nullify pointer after declaration.
11096
86e501af
PA
110972016-03-01 Pedro Alves <palves@redhat.com>
11098
11099 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
11100
1e903e32
PA
111012016-03-01 Pedro Alves <palves@redhat.com>
11102
11103 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
11104 before anything else.
11105 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
11106 _GNU_SOURCE here.
11107 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
11108 before anything else.
11109 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
11110
6ccb54e2
PA
111112016-03-01 Pedro Alves <palves@redhat.com>
11112
11113 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
11114
30ca9da1
YQ
111152016-03-01 Yao Qi <yao.qi@linaro.org>
11116
11117 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
11118 prepare_for_testing.
11119
dc856b38
YQ
111202016-03-01 Yao Qi <yao.qi@linaro.org>
11121
11122 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
11123
4a932159
AA
111242016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
11125
11126 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
11127 manually constructing the output path.
11128
f2489477
AA
111292016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
11130
11131 * gdb.arch/s390-stackless.S: New.
11132 * gdb.arch/s390-stackless.exp: New.
11133
38899f16
IB
111342016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
11135
11136 * gdb.dlang/circular.c: New file.
11137 * gdb.dlang/circular.exp: New file.
11138
9fde51ed
YQ
111392016-02-26 Yao Qi <yao.qi@linaro.org>
11140
11141 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
11142 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
11143 (testcases): Update.
11144
ce90fefe
YQ
111452016-02-26 Yao Qi <yao.qi@linaro.org>
11146
11147 * gdb.reverse/aarch64.c: Rename to ...
11148 * gdb.reverse/insn-reverse.c: ... it.
11149 * gdb.reverse/aarch64.exp: Rename to ...
11150 * gdb.reverse/insn-reverse.exp: ... it.
11151
3263bceb
YQ
111522016-02-26 Yao Qi <yao.qi@linaro.org>
11153
11154 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
11155 (testcase_ftype): New.
11156 (testcases): New array.
11157 (n_testcases): New.
11158 (main): Call each element in testcases.
11159 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
11160 (read_testcase): New.
11161 Do the tests in a loop.
11162
6cb59ff1
YQ
111632016-02-25 Yao Qi <yao.qi@linaro.org>
11164
11165 * gdb.base/branches.c: Remove.
11166
ae91f625
MK
111672016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11168
11169 PR gdb/13808
11170 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
11171
678b48b7
MK
111722016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11173
11174 * gdb.trace/ftrace.exp: Remove unnecessary target check.
11175
7337a6f2
MK
111762016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11177
11178 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
11179 change x86_64 call_insn to 'callq'.
11180
861ca91f
AT
111812016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
11182
11183 * gdb.trace/tfile-avx.c: Move to...
11184 * gdb.trace/tracefile-pseudo-reg.c: Here.
11185 * gdb.trace/tfile-avx.exp: Move to...
11186 * gdb.trace/tracefile-pseudo-reg.exp: Here.
11187
bf74e428
GB
111882016-02-24 Gary Benson <gbenson@redhat.com>
11189
11190 * gdb.base/attach-pie-noexec.exp: Do not expect an error
11191 message on attach.
11192
cce0e923
DE
111932016-02-23 Doug Evans <dje@google.com>
11194
11195 * gdb.base/skip.c (test_skip): New function.
11196 (end_test_skip_file_and_function): New function.
11197 (test_skip_file_and_function): New function.
11198 * gdb.base/skip1.c (test_skip): New function.
11199 (skip1_test_skip_file_and_function): New function.
11200 * gdb.base/skip.exp: Add tests for new skip options.
11201 * gdb.base/skip-solib.exp: Update expected output.
11202 * gdb.perf/skip-command.cc: New file.
11203 * gdb.perf/skip-command.exp: New file.
11204 * gdb.perf/skip-command.py: New file.
11205
4000e47e
MK
112062016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
11207
11208 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
11209 info registers pattern.
11210
24f75ead
IB
112112016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
11212
11213 * lib/future.exp: Add D support.
11214 (gdb_find_gdc): New proc.
11215 (gdb_default_target_compile): Add D support.
11216
fbb7bcbe
WW
112172016-02-18 Wei-cheng Wang <cole945@gmail.com>
11218
11219 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
11220 user+system time.
11221 (trace_speed_test): Determine the iteration count for a time
11222 between 15..30 seconds.
11223
012b3a21
WT
112242016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
11225
11226 * gdb.arch/i386-mpx-sigsegv.c: New file.
11227 * gdb.arch/i386-mpx-sigsegv.exp: New file.
11228 * gdb.arch/i386-mpx-simple_segv.c: New file.
11229 * gdb.arch/i386-mpx-simple_segv.exp: New file.
11230
2d5189bd
YQ
112312016-02-18 Yao Qi <yao.qi@linaro.org>
11232
11233 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
11234 Don't call setup_kfail.
11235
40fb20d0
YQ
112362016-02-18 Yao Qi <yao.qi@linaro.org>
11237
11238 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
11239 Set "set breakpoint condition-evaluation" per $cond_bp_target.
11240
21b1f8d2
DE
112412016-02-16 Doug Evans <dje@google.com>
11242
11243 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
11244 * gdb.base/skip1.c: Ditto.
11245 * gdb.base/skip.exp: Whitespace cleanup.
11246
4041ed77
DB
112472016-02-16 Don Breazeal <donb@codesourcery.com>
11248
11249 PR remote/19496
11250 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
11251 Remove kfail for PR remote/19496.
11252
c4ef31bf
SM
112532016-02-16 Simon Marchi <simon.marchi@ericsson.com>
11254
11255 * lib/gdb.exp (standard_temp_file): Return a path specific to
11256 the runtest invocation.
11257
266b65b3
SM
112582016-02-16 Simon Marchi <simon.marchi@ericsson.com>
11259
11260 * gdb.trace/save-trace.exp: Change relative path to be in the
11261 standard output directory.
11262
a7a0a6a9
JK
112632016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11264
11265 * gdb.arch/i386-prologue.c: Add missing prototypes.
11266
c99dbb42
JK
112672016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11268
11269 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
11270 * gdb.arch/i386-prologue.exp: Likewise.
11271 * gdb.arch/i386-size.exp: Likewise.
11272
aa480355
SM
112732016-02-15 Simon Marchi <simon.marchi@ericsson.com>
11274
11275 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
11276 define object file path.
11277 * gdb.btrace/gcore.exp: Use standard_output_file to define core
11278 file path.
11279 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
11280 standard_output_file to define binfile.
11281
ba881f50
JK
112822016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11283
11284 Fix compatibility with recent gfortran-5.3.1.
11285 * gdb.fortran/vla-history.exp (print vla1 allocated)
11286 (print vla2 allocated, print $2, print $3): Remove
11287 (print $4): Rename to ...
11288 (print $2): ... here.
11289 (print $9): Rename to ...
11290 (print $5): ... here.
11291 (print $10): Rename to ...
11292 (print $6): ... here.
11293 * gdb.fortran/vla.f90: Add pvla initialization.
11294
e9fb005c
JK
112952016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11296
11297 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
11298 New test.
11299 * gdb.fortran/vla-value-sub.exp: Likewise.
11300
e44e00ff
MK
113012016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
11302
11303 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
11304
97e94151
SM
113052016-02-12 Simon Marchi <simon.marchi@ericsson.com>
11306
11307 * i386-biarch-core.exp: Define corefile using
11308 standard_output_file.
11309
01113bc1
YQ
113102016-02-12 Yao Qi <yao.qi@linaro.org>
11311
11312 * gdb.arch/arm-single-step-kernel-helper.c: New.
11313 * gdb.arch/arm-single-step-kernel-helper.exp: New.
11314
33b4777c
MM
113152016-02-12 Markus Metzger <markus.t.metzger@intel.com>
11316
11317 * gdb.btrace/tailcall-only.exp: New.
11318 * gdb.btrace/tailcall-only.c: New.
11319 * gdb.btrace/x86_64-tailcall-only.S: New.
11320 * gdb.btrace/i686-tailcall-only.S: New.
11321
acc23c11
PA
113222016-02-11 Pedro Alves <palves@redhat.com>
11323
11324 * README (Parallel testing): Add missing double quotes.
11325
e352bf0a
PA
113262016-02-11 Pedro Alves <palves@redhat.com>
11327
11328 * README (Parallel testing): New section.
11329 (GDB_PARALLEL): Rewrite.
11330 (FORCE_PARALLEL): Document.
11331
9f5fed78
MK
113322016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
11333
11334 * gdb.trace/tfile-avx.c: New test.
11335 * gdb.trace/tfile-avx.exp: New test.
11336
9ef9e6a6
KS
113372016-02-09 Keith Seitz <keiths@redhat.com>
11338
11339 PR breakpoints/19546
11340 * gdb.base/infcall-exec.c: New file.
11341 * gdb.base/infcall-exec2.c: New file.
11342 * gdb.base/infcall-exec.exp: New file.
11343
a96e36da
KS
113442016-02-09 Keith Seitz <keiths@redhat.com>
11345
11346 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
11347 (toplevel): Call test_bkpt_address.
11348
9f61929f
KS
113492016-02-09 Keith Seitz <keiths@redhat.com>
11350
11351 PR python/19506
11352 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
11353 (toplevel): Call test_bkpt_address.
11354
1e94266c
SM
113552016-02-09 Simon Marchi <simon.marchi@ericsson.com>
11356
11357 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
11358 to AC_OUTPUT.
11359 * configure: Regenerate.
11360
2a7f3dff
PA
113612016-02-09 Pedro Alves <palves@redhat.com>
11362
11363 PR breakpoints/19548
11364 * gdb.base/execl-update-breakpoints.c (some_function): New
11365 function.
11366 (main): Call it.
11367 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
11368 Tighten expected GDB output.
11369
2151ccc5
SM
113702016-02-08 Simon Marchi <simon.marchi@ericsson.com>
11371
11372 * Makefile.in (ALL_SUBDIRS): Remove.
11373 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
11374 (distclean maintainer-clean realclean): Likewise.
11375 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
11376 * configure: Regenerate.
11377 * gdb.ada/Makefile.in: Delete.
11378 * gdb.arch/Makefile.in: Likewise.
11379 * gdb.asm/Makefile.in: Likewise.
11380 * gdb.base/Makefile.in: Likewise.
11381 * gdb.btrace/Makefile.in: Likewise.
11382 * gdb.cell/Makefile.in: Likewise.
11383 * gdb.compile/Makefile.in: Likewise.
11384 * gdb.cp/Makefile.in: Likewise.
11385 * gdb.disasm/Makefile.in: Likewise.
11386 * gdb.dlang/Makefile.in: Likewise.
11387 * gdb.dwarf2/Makefile.in: Likewise.
11388 * gdb.fortran/Makefile.in: Likewise.
11389 * gdb.gdb/Makefile.in: Likewise.
11390 * gdb.go/Makefile.in: Likewise.
11391 * gdb.guile/Makefile.in: Likewise.
11392 * gdb.java/Makefile.in: Likewise.
11393 * gdb.linespec/Makefile.in: Likewise.
11394 * gdb.mi/Makefile.in: Likewise.
11395 * gdb.modula2/Makefile.in: Likewise.
11396 * gdb.multi/Makefile.in: Likewise.
11397 * gdb.objc/Makefile.in: Likewise.
11398 * gdb.opencl/Makefile.in: Likewise.
11399 * gdb.opt/Makefile.in: Likewise.
11400 * gdb.pascal/Makefile.in: Likewise.
11401 * gdb.perf/Makefile.in: Likewise.
11402 * gdb.python/Makefile.in: Likewise.
11403 * gdb.reverse/Makefile.in: Likewise.
11404 * gdb.server/Makefile.in: Likewise.
11405 * gdb.stabs/Makefile.in: Likewise.
11406 * gdb.threads/Makefile.in: Likewise.
11407 * gdb.trace/Makefile.in: Likewise.
11408 * gdb.xml/Makefile.in: Likewise.
11409 * lib/gdb.exp (make_gdb_parallel_path): Add check for
11410 GDB_PARALLEL.
11411 (standard_output_file): Remove check for GDB_PARALLEL, always
11412 return path in outputs/$subdir/$testname.
11413
437277d4
SM
114142016-02-08 Simon Marchi <simon.marchi@ericsson.com>
11415
11416 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
11417 (site.exp): Assign abs_srcdir to tcl's srcdir.
11418
31d913c7
YQ
114192016-02-04 Yao Qi <yao.qi@linaro.org>
11420
11421 * gdb.base/foll-exec-mode.c: Include limits.h.
11422 (main): Add parameters argc and argv. Get directory from
11423 argv[0].
11424 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
11425 compilation.
11426 * gdb.base/foll-exec.c: Include limits.h.
11427 (main): Add parameters argc and argv.
11428 Get directory from argv[0].
11429 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
11430 Adjust tests on the number of lines as source code changed.
11431 * gdb.base/foll-vfork-exit.c: Include limits.h.
11432 (main): Add one line of statement before vfork.
11433 * gdb.base/foll-vfork.c: Include limits.h and string.h.
11434 (main): Add parameters argc and argv. Get directory from
11435 argv[0].
11436 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
11437 (setup_gdb): Set tbreak to skip some source lines.
11438 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
11439 (main): Add parameters argc and argv. Get directory from
11440 argv[0].
11441 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
11442 compilation.
11443 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
11444 (main): Add parameters argc and argv. Get directory from
11445 argv[0].
11446 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
11447 compilation.
11448
9482b9fb
DE
114492016-02-01 Doug Evans <dje@google.com>
11450
11451 * gdb.base/skip.exp: Clean up multiple references to same test name.
11452
6b2e4f10
PA
114532016-02-01 Pedro Alves <palves@redhat.com>
11454
ccb6afd6 11455 PR remote/19496
6b2e4f10
PA
11456 * gdb.threads/forking-threads-plus-breakpoint.exp
11457 (displaced_stepping_supported): New global.
11458 (probe_displaced_stepping_support): New procedure.
11459 (do_test): Add 'displaced' parameter, and use it.
11460 (top level): Check for displaced stepping support. Add displaced
11461 stepping on/off testing axis.
11462
37a8db1a
AB
114632016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
11464
11465 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
11466 pointer. Don't perform further tests on the unassociated pointer
11467 if the first test fails.
11468
5fdf6324
AB
114692016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
11470
11471 * gdb.base/max-value-size.c: New file.
11472 * gdb.base/max-value-size.exp: New file.
11473 * gdb.base/huge.exp: Disable max-value-size for this test.
11474
935c6144
IB
114752016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
11476
11477 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
11478
7fe8399d
YQ
114792016-01-28 Yao Qi <yao.qi@linaro.org>
11480
11481 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
11482
a2077e25
PA
114832016-01-25 Pedro Alves <palves@redhat.com>
11484
11485 PR threads/19461
11486 * gdb.base/fork-running-state.c: New file.
11487 * gdb.base/fork-running-state.exp: New file.
11488
1d2736d4
PA
114892016-01-25 Pedro Alves <palves@redhat.com>
11490
11491 PR gdb/19494
11492 * gdb.base/catch-fork-kill.c: New file.
11493 * gdb.base/catch-fork-kill.exp: New file.
11494
f1da4b11
PA
114952016-01-25 Pedro Alves <palves@redhat.com>
11496
11497 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
11498 Delete, moved to lib/gdb.exp.
11499 * gdb.threads/forking-threads-plus-breakpoint.exp
11500 (foreach_with_prefix): Likewise.
11501 * gdb.threads/process-dies-while-handling-bp.exp
11502 (foreach_with_prefix): Likewise.
11503 * lib/gdb.exp (foreach_with_prefix): New procedure.
11504
45f38546
MK
115052016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
11506
11507 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
11508 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
11509
dc29a1ce
MK
115102016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
11511
11512 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
11513 endian targets.
11514
092127d7
JK
115152016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11516 Pedro Alves <palves@redhat.com>
11517
11518 Fix testsuite compatibility with Guile.
11519 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
11520 number.
11521
31d765d3
JK
115222016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11523
11524 Fix testsuite compatibility with Guile.
11525 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
11526 (thread 1): New test for backtrace through signal handler.
11527
1ac78c04
YQ
115282016-01-22 Yao Qi <yao.qi@linaro.org>
11529
11530 PR testsuite/19491
11531 * gdb.base/multi-forks.c: Include
11532 ../lib/unbuffer_output.c
11533 (main): Call gdb_unbuffer_output.
11534
4f5946a8
DE
115352016-01-21 Doug Evans <dje@google.com>
11536
11537 * lib/ada.exp (gdb_compile_ada): Fix typo.
11538
305e13e6
JB
115392016-01-21 Joel Brobecker <brobecker@adacore.com>
11540
11541 * gdb.base/break-fun-addr.exp: New file.
11542 * gdb.base/break-fun-addr1.c: New file.
11543 * gdb.base/break-fun-addr2.c: New file.
11544
5f5dfff6
SM
115452016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
11546
11547 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
11548 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
11549 enum flag values.
11550
fd356fa2
AA
115512016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11552
11553 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
11554 when GDB can not set the vector return value. Add more comments
11555 for clarification.
11556
9df22175
AT
115572016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
11558
11559 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
11560 command.
11561
41d1845e
SM
115622016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11563
11564 * Makefile.in (DO_RUNTEST): Add --status and update usages.
11565
01ac6840
SM
115662016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11567
11568 * Makefile.in (check-single): Pass --status to runtest.
11569 (check/%.exp): Likewise.
11570
115712016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11572
11573 * Makefile.in (check-parallel): Propagate return code from make
11574 do-check-parallel.
11575
bd0a71fa
MK
115762016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
11577
11578 * gdb.trace/ftrace.exp: Fix expected message on continue.
11579 * gdb.trace/pending.exp: Fix expected message on continue.
11580 * gdb.trace/trace-break.exp: Fix expected message on continue.
11581
8bcbad33
SM
115822016-01-18 Simon Marchi <simon.marchi@ericsson.com>
11583
11584 * lib/gdb.exp (gdb_test): Remove unused global references.
11585
f303dbd6
PA
115862016-01-18 Pedro Alves <palves@redhat.com>
11587
11588 * gdb.base/async-shell.exp: Adjust expected output.
11589 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
11590 * gdb.base/siginfo-thread.exp: Adjust expected output.
11591 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
11592 * gdb.java/jnpe.exp: Adjust expected output.
11593 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
11594 * gdb.threads/continue-pending-status.exp: Adjust expected output.
11595 * gdb.threads/leader-exit.exp: Adjust expected output.
11596 * gdb.threads/manythreads.exp: Adjust expected output.
11597 * gdb.threads/pthreads.exp: Adjust expected output.
11598 * gdb.threads/schedlock.exp: Adjust expected output.
11599 * gdb.threads/siginfo-threads.exp: Adjust expected output.
11600 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
11601 expected output.
11602 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
11603 output.
11604 * gdb.threads/sigthread.exp: Adjust expected output.
11605 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
11606
b2789696
YQ
116072016-01-18 Yao Qi <yao.qi@linaro.org>
11608
11609 * gdb.guile/scm-section-script.c: Replace @progbits with
11610 %progbits.
11611 * gdb.python/py-section-script.c: Likewise.
11612
71ef29a8
PA
116132016-01-15 Pedro Alves <palves@redhat.com>
11614
11615 * gdb.multi/tids.exp: Test star wildcard ranges.
11616
3f5b7598
PA
116172016-01-15 Pedro Alves <palves@redhat.com>
11618
11619 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
11620 command from "thread apply" invocation.
11621 (thr_apply_info_thr_invalid): Default the expected output to the
11622 input tid list.
11623 (top level): Add tests that use convenience variables. Add tests
11624 for "thread apply" with a valid TID list, but missing the command.
11625
663f6d42
PA
116262016-01-13 Pedro Alves <palves@redhat.com>
11627
11628 * gdb.base/default.exp: Expect $_gthread as well.
11629 * gdb.multi/tids.exp: Test $_gthread.
11630 * gdb.threads/thread-specific.exp: Test $_gthread.
11631
c84f6bbf
PA
116322016-01-13 Pedro Alves <palves@redhat.com>
11633
11634 * gdb.multi/tids.exp: Test "info threads -gid".
11635
22a02324
PA
116362016-01-13 Pedro Alves <palves@redhat.com>
11637
11638 * gdb.multi/tids.exp: Test InferiorThread.global_num and
11639 Breakpoint.thread.
11640 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
11641
5d5658a1
PA
116422016-01-07 Pedro Alves <palves@redhat.com>
11643
11644 * gdb.base/break.exp: Adjust to output changes.
11645 * gdb.base/hbreak2.exp: Likewise.
11646 * gdb.base/sepdebug.exp: Likewise.
11647 * gdb.base/watch_thread_num.exp: Likewise.
11648 * gdb.linespec/keywords.exp: Likewise.
11649 * gdb.multi/info-threads.exp: Likewise.
11650 * gdb.threads/thread-find.exp: Likewise.
11651 * gdb.multi/tids.c: New file.
11652 * gdb.multi/tids.exp: New file.
11653
84654457
PA
116542016-01-13 Pedro Alves <palves@redhat.com>
11655
11656 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
11657
e3940304
PA
116582016-01-13 Pedro Alves <palves@redhat.com>
11659
11660 * gdb.base/default.exp: Expect $_inferior as well.
11661 * gdb.multi/base.exp: Test $_inferior.
11662
a911d87a
PA
116632016-01-13 Pedro Alves <palves@redhat.com>
11664
11665 PR breakpoints/19388
11666 * gdb.base/catch-signal-siginfo-cond.c: New file.
11667 * gdb.base/catch-signal-siginfo-cond.exp: New file.
11668
82075af2
JS
116692016-01-12 Josh Stone <jistone@redhat.com>
11670 Philippe Waroquiers <philippe.waroquiers@skynet.be>
11671
11672 * gdb.base/catch-syscall.c (do_execve): New variable.
11673 (main): Conditionally trigger an execve.
11674 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
11675 (test_catch_syscall_execve): New, check entry/return across execve.
11676 (do_syscall_tests): Call test_catch_syscall_execve.
11677
e46eeedd
PA
116782016-01-12 Pedro Alves <palves@redhat.com>
11679
11680 * gdb.base/random-signal.exp (do_test): New procedure, with body
11681 of testcase moved in.
11682
01d8c27e
JK
116832016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11684 Pedro Alves <palves@redhat.com>
11685
11686 * gdb.base/funcargs.exp (finish from indirectly called function):
11687 Reintroduce the case for 'First'.
11688
9a706302
JK
116892016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11690 Pedro Alves <palves@redhat.com>
11691
11692 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
11693 (tcatch_vfork_then_child_follow_exec)
11694 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
11695 identification.
11696
c0ecb95f
JK
116972016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11698
11699 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
11700 and repeats to unlimited.
11701 * gdb.python/py-value.exp: Likewise.
11702 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
11703 and repeats to unlimited.
11704
6cfc1fcb
JK
117052016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11706
11707 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
11708 and reordering the functions.
11709 * gdb.multi/hangout.c: Likewise.
11710 * gdb.multi/hello.c: Likewise.
11711
582a1b00
SM
117122016-01-08 Simon Marchi <simon.marchi@ericsson.com>
11713
11714 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
11715 absolute.
11716 (SingleStatisticTestResult.report): Use dict.keys instead of
11717 dict.iterkeys.
11718
79bc59cb
PA
117192016-01-06 Pedro Alves <palves@redhat.com>
11720
11721 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
11722
43368e1d
MM
117232016-01-04 Markus Metzger <markus.t.metzger@intel.com>
11724
11725 * gdb.btrace/dlopen.exp: New.
11726 * gdb.btrace/dlopen.c: New.
11727 * gdb.btrace/dlopen-dso.c: New.
11728
79fad5b8
SL
117292015-12-25 Sandra Loosemore <sandra@codesourcery.com>
11730
11731 * lib/gdb.exp (gdb_test): Update comments to clarify that the
11732 PATTERN argument is optional.
11733
ab8314b3
JB
117342015-12-24 Joel Brobecker <brobecker@adacore.com>
11735
11736 * lib/ada.exp (target_compile_ada_from_dir): New function.
11737 (gdb_compile_ada): Reimplement avoiding the use of project files.
11738 * gdb.ada/gnat_ada.gpr: Delete.
11739 * gdb.ada/cond_lang.exp: Adjust test to make path before
11740 filename optional.
11741 * gdb.ada/small_reg_param.exp: Likewise.
11742
fe33faff
SM
117432015-12-22 Simon Marchi <simon.marchi@ericsson.com>
11744
11745 * gdb.base/foll-vork.exp: Remove HP-UX special case.
11746
6d265cb4
TP
117472015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
11748
11749 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
11750 case.
11751
10125099
SM
117522015-12-21 Simon Marchi <simon.marchi@ericsson.com>
11753
11754 * gdb.base/break.exp: Remove dead code.
11755 * gdb.base/sepdebug.exp: Likewise.
11756
3ca22649
SM
117572015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
11758
11759 * gdb.asm/asm-source.exp: Remove HP-UX references.
11760 * gdb.base/annota1.exp: Likewise.
11761 * gdb.base/annota3.exp: Likewise.
11762 * gdb.base/attach.exp: Likewise.
11763 * gdb.base/bigcore.exp: Likewise.
11764 * gdb.base/break.exp: Likewise.
11765 * gdb.base/call-ar-st.exp: Likewise.
11766 * gdb.base/callfuncs.exp: Likewise.
11767 * gdb.base/catch-fork-static.exp: Likewise.
11768 * gdb.base/display.exp: Likewise.
11769 * gdb.base/foll-exec-mode.exp: Likewise.
11770 * gdb.base/foll-exec.exp: Likewise.
11771 * gdb.base/foll-fork.exp: Likewise.
11772 * gdb.base/foll-vfork.exp: Likewise.
11773 * gdb.base/funcargs.exp: Likewise.
11774 * gdb.base/hbreak2.exp: Likewise.
11775 * gdb.base/inferior-died.exp: Likewise.
11776 * gdb.base/interrupt.exp: Likewise.
11777 * gdb.base/multi-forks.exp: Likewise.
11778 * gdb.base/nodebug.exp: Likewise.
11779 * gdb.base/sepdebug.exp: Likewise.
11780 * gdb.base/solib1.c: Likewise.
11781 * gdb.base/step-test.exp: Likewise.
11782 * gdb.mi/non-stop.c: Likewise.
11783 * gdb.mi/pthreads.c: Likewise.
11784 * gdb.multi/bkpt-multi-exec.ex: Likewise.
11785 * gdb.threads/pthreads.c: Likewise.
11786 * gdb.threads/staticthreads.exp: Likewise.
11787 * lib/future.exp: Likewise.
11788 * lib/gdb.exp: Likewise.
11789 * gdb.base/so-indr-cl.c: Remove.
11790 * gdb.base/so-indr-cl.exp: Likewise.
11791 * gdb.base/solib.c: Likewise.
11792 * gdb.base/solib.exp: Likewise.
11793 * gdb.base/solib2.c: Likewise.
11794
b6304613
SM
117952015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
11796
11797 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
11798 * gdb.base/call-ar-st.exp: Likewise.
11799 * gdb.base/callfuncs.exp: Likewise.
11800 * gdb.base/condbreak.exp: Likewise.
11801 * gdb.base/constvars.exp: Likewise.
11802 * gdb.base/hbreak2.exp: Likewise.
11803 * gdb.base/langs.exp: Likewise.
11804 * gdb.base/list.exp: Likewise.
11805 * gdb.base/long_long.exp: Likewise.
11806 * gdb.base/ptype.exp: Likewise.
11807 * gdb.base/scope.exp: Likewise.
11808 * gdb.base/signals.exp: Likewise.
11809 * gdb.base/so-impl-ld.exp: Likewise.
11810 * gdb.base/varargs.exp: Likewise.
11811 * gdb.base/volatile.exp: Likewise.
11812 * gdb.base/whatis.exp: Likewise.
11813 * gdb.cp/cplusfuncs.exp: Likewise.
11814 * gdb.cp/inherit.exp: Likewise.
11815 * gdb.cp/local.exp: Likewise.
11816 * gdb.cp/member-ptr.exp: Likewise.
11817 * gdb.cp/method.exp: Likewise.
11818 * gdb.cp/overload.exp: Likewise.
11819 * gdb.cp/templates.exp: Likewise.
11820 * gdb.stabs/weird.exp: Likewise.
11821 * lib/compiler.c: Likewise.
11822 * lib/compiler.cc: Likewise.
11823 * lib/cp-support.exp: Likewise.
11824 * lib/gdb.exp: Likewise.
11825
bf401b07
SM
118262015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
11827
11828 * configure.ac: Remove HP-UX case.
11829 * configure: Regenerate.
11830
aff9c0f8
SM
118312015-12-18 Simon Marchi <simon.marchi@ericsson.com>
11832
11833 * lib/gdb.exp (gdb_compile): Add function doc.
11834
a6904d5a
PA
118352015-12-17 Pedro Alves <palves@redhat.com>
11836
11837 PR threads/19354
11838 * gdb.multi/info-threads.exp: New file.
11839
a22279dd
YQ
118402015-12-15 Yao Qi <yao.qi@linaro.org>
11841
11842 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
11843 is aarch64*-*-*.
11844
0588c796
SL
118452015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11846
11847 * gdb.base/history-duplicates.exp: Skip if no readline support.
11848
5d978e17
SL
118492015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11850
11851 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
11852
7e763b86
SL
118532015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11854
11855 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
11856
87a3a92c
SL
118572015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11858
11859 * gdb.base/completion.exp: Skip tests that interrupt GDB with
11860 ctrl-C if nointerrupts target property is set.
11861 * gdb.base/double-prompt-target-event-error.exp: Likewise.
11862 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
11863 * gdb.base/paginate-bg-execution.exp: Likewise.
11864 * gdb.base/paginate-execution-startup.exp: Likewise.
11865 * gdb.base/random-signal.exp: Likewise.
11866 * gdb.base/range-stepping.exp: Likewise.
11867 * gdb.cp/annota2.exp: Likewise.
11868 * gdb.cp/annota3.exp: Likewise.
11869 * gdb.gdb/selftest.exp: Likewise.
11870 * gdb.threads/continue-pending-status.exp: Likewise.
11871 * gdb.threads/leader-exit.exp: Likewise.
11872 * gdb.threads/manythreads.exp: Likewise.
11873 * gdb.threads/pthreads.exp: Likewise.
11874 * gdb.threads/schedlock.exp: Likewise.
11875 * gdb.threads/sigthread.exp: Likewise.
11876
a8f077dc
DB
118772015-12-11 Don Breazeal <donb@codesourcery.com>
11878
11879 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
11880 remote.
11881 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
11882 * gdb.base/foll-exec.exp (main): Enable for target remote.
11883 * gdb.base/foll-fork.exp (main): Likewise.
11884 * gdb.base/foll-vfork.exp (main): Likewise.
11885 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
11886 (proc continue_to_exit_bp_loc): Use clean_restart.
11887 * gdb.base/pie-execl.exp (main): Disable for target remote.
11888 * gdb.base/watch-vfork.exp (main): Enable for target remote.
11889 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
11890 * gdb.threads/execl.exp (main): Likewise.
11891 * gdb.threads/fork-child-threads.exp (main): Likewise.
11892 * gdb.threads/fork-plus-threads.exp (main): Disable for target
11893 remote.
11894 * gdb.threads/fork-thread-pending.exp (main): Enable for target
11895 remote.
11896 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
11897 pid.tid style ptids, instead of just tid.
11898 * gdb.threads/thread-execl.exp (main): Enable for target remote.
11899 * gdb.threads/watchpoint-fork.exp (main): Likewise.
11900 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
11901 ptids, instead of just tid.
11902
3b2464a8
AB
119032015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11904
11905 * gdb.base/list.exp (test_list_forward): Add end of file error
11906 test.
11907 (test_repeat_list_command): Add end of file error test.
11908 (test_list_backwards): Add beginning of file error test.
11909
a0def019
AB
119102015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11911
11912 * gdb.base/list.exp (test_list_invalid_args): New function,
11913 defined, and called.
11914
5c000dff
AB
119152015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11916
11917 * gdb.base/list.exp (test_list): Make test names unique.
11918
f1637ebe
YQ
119192015-12-11 Yao Qi <yao.qi@linaro.org>
11920
11921 * gdb.base/coremaker2.c: Remove.
11922
36d6fc0a
PA
119232015-12-10 Pedro Alves <palves@redhat.com>
11924
11925 * gdb.multi/base.exp: Remove stale "spaces" references.
11926
762f7747
PA
119272015-12-10 Pedro Alves <palves@redhat.com>
11928
11929 * gdb.multi/base.exp: Don't use nowarnings.
11930 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
11931 * gdb.multi/hangout.c: Include stdio.h.
11932 * gdb.multi/hello.c: Include stdlib.h.
11933 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
11934 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
11935 * gdb.multi/multi-arch.exp: Don't use nowarnings.
11936
28d2bfb9
AB
119372015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
11938
11939 * gdb.dwarf2/dw2-ranges-base.c: New file.
11940 * gdb.dwarf2/dw2-ranges-base.exp: New file.
11941 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
11942 support additional line table, and debug ranges generation.
11943 (Dwarf::ranges): New function, generate .debug_ranges.
11944 (Dwarf::lines): Support generating simple line table programs.
11945 (Dwarf::assemble): Initialise new namespace variables.
11946
5fc2beac
KB
119472015-12-09 Kevin Buettner <kevinb@redhat.com>
11948
11949 * gdb.base/async.exp (proc test_background): Add case for
11950 asynchronous execution not supported.
11951
1c35a88f
LM
119522015-12-09 Luis Machado <lgustavo@codesourcery.com>
11953
11954 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
11955 format and change test names to make them unique.
11956
b593e3d9
RK
119572015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
11958 Pedro Alves <pedro@redhat.com>
11959
11960 PR gdb/18702
11961 Add checking of floatformats setup on x86_64 hosts.
11962 * gdb.arch/i386-float.S (main): Load bigval and smallval.
11963 (smallval, bigval): New labels/constants.
11964 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
11965 float" after loading bigval and smallval.
11966
d72413e6
PMR
119672015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
11968
11969 * gdb.ada/fun_overload_menu.exp: New testcase.
11970 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
11971
ece66d65
JS
119722015-12-04 Josh Stone <jistone@redhat.com>
11973
11974 * gdb.base/catch-fork-static.exp: New.
11975
41d0efca
YQ
119762015-12-03 Yao Qi <yao.qi@linaro.org>
11977
11978 * gdb.base/sizeof.c: Don't include stdio.h and
11979 ../lib/unbuffer_output.c.
11980 (main): New variable 'size' and 'value'. Remove printf and
11981 gdb_unbuffer_output. Assign return value to size and value.
11982 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
11983 at the beginning.
11984 (check_sizeof): Check the result by printing variable 'size'.
11985 (check_valueof): Check the result by printing variable 'value'.
11986
99fd02d9
YQ
119872015-12-01 Yao Qi <yao.qi@linaro.org>
11988
11989 * gdb.base/disp-step-syscall.exp: Define syscall instruction
11990 for aarch64*-*-linux* target.
11991
f2faf941
PA
119922015-11-30 Pedro Alves <palves@redhat.com>
11993
11994 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
11995
04bf20c5
PA
119962015-11-30 Pedro Alves <palves@redhat.com>
11997
11998 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
11999 Handle non-stop mode vCont replies.
12000
09df4675
PA
120012015-11-30 Pedro Alves <palves@redhat.com>
12002
12003 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
12004 prepare_for_testing. Start gdb with "set non-stop on" appended to
12005 GDBFLAGS. Lax expected stop output.
12006
58b584af
YQ
120072015-11-27 Yao Qi <yao.qi@linaro.org>
12008
12009 * gdb.arch/arm-neon.exp: New.
12010 * gdb.arch/arm-neon.c: New.
12011
dfcb77a8
YQ
120122015-11-27 Yao Qi <yao.qi@linaro.org>
12013
12014 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
12015
88e8ec1b
YQ
120162015-11-27 Yao Qi <yao.qi@linaro.org>
12017
12018 * gdb.cp/annota2.exp: Allow multiple occurrences of the
12019 frames-invalid annotation.
12020
bfde72c2
YQ
120212015-11-27 Yao Qi <yao.qi@linaro.org>
12022
12023 * gdb.cp/annota2.exp: Use ${frames_invalid}.
12024
f6512a69
SM
120252015-11-26 Simon Marchi <simon.marchi@ericsson.com>
12026
12027 * gdb.threads/names.exp: New file.
12028 * gdb.threads/names.c: New file.
12029 * README: Mention gdb,no_thread_names.
12030
46a3515b
MM
120312015-11-26 Markus Metzger <markus.t.metzger@intel.com>
12032
12033 PR 19297
12034 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
12035 support" error.
12036
62147a22
PA
120372015-11-24 Pedro Alves <palves@redhat.com>
12038
12039 PR 17539
12040 * gdb.base/display.exp: Expect displays to be sorted in ascending
12041 order. Use multi_line.
12042 * gdb.base/solib-display.exp: Likewise.
12043
2f341b6e
PA
120442015-11-24 Pedro Alves <palves@redhat.com>
12045
12046 PR 17539
25d49b86
PA
12047 * gdb.base/display.exp: Expect displays to be sorted in ascending
12048 order. Use multi_line.
12049 * gdb.base/solib-display.exp: Likewise.
2f341b6e 12050
7e0aa6aa
PA
120512015-11-24 Pedro Alves <palves@redhat.com>
12052
12053 PR 17539
12054 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
12055 threads in ascending order.
12056 * gdb.base/foll-fork.exp: Likewise.
12057 * gdb.base/foll-vfork.exp: Likewise.
12058 * gdb.base/multi-forks.exp: Likewise.
12059 * gdb.mi/mi-nonstop.exp: Likewise.
12060 * gdb.mi/mi-nsintrall.exp: Likewise.
12061 * gdb.multi/base.exp: Likewise.
12062 * gdb.multi/multi-arch.exp: Likewise.
12063 * gdb.python/py-inferior.exp: Likewise.
12064 * gdb.threads/break-while-running.exp: Likewise.
12065 * gdb.threads/execl.exp: Likewise.
12066 * gdb.threads/gcore-thread.exp: Likewise.
12067 * gdb.threads/info-threads-cur-sal.exp: Likewise.
12068 * gdb.threads/kill.exp: Likewise.
12069 * gdb.threads/linux-dp.exp: Likewise.
12070 * gdb.threads/multiple-step-overs.exp: Likewise.
12071 * gdb.threads/next-bp-other-thread.exp: Likewise.
12072 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
12073 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
12074 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
12075 * gdb.threads/thread-find.exp: Likewise.
12076 * gdb.threads/tls.exp: Likewise.
12077 * lib/mi-support.exp (mi_reverse_list): Delete.
12078 (mi_check_thread_states): No longer reverse list.
12079
2cc57ad8
PA
120802015-11-24 Pedro Alves <palves@redhat.com>
12081
12082 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
12083 use lowercase.
12084
c93e8391
SM
120852015-11-23 Simon Marchi <simon.marchi@ericsson.com>
12086
12087 * gdb.trace/actions.c: Include trace-common.h.
12088 (main): Add a location for a fast tracepoint.
12089 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
12090 the normal tracepoints.
12091 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
12092
045ccf91
SM
120932015-11-23 Simon Marchi <simon.marchi@ericsson.com>
12094
12095 * save-trace.exp: Factor out code to these...
12096 (gdb_save_tracepoints): New.
12097 (gdb_load_tracepoints): New.
12098 (do_save_load_test): New.
12099
5506f9f6
KB
121002015-11-23 Kevin Buettner <kevinb@redhat.com>
12101
12102 * gdb.base/asmlabel.exp: New test.
12103 * gdb.base/asmlabel.c: New test case.
12104
16c3b12f
JB
121052015-11-23 Joel Brobecker <brobecker@adacore.com>
12106
12107 * gdb.base/wrong_frame_bt_full-main.c: New file.
12108 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
12109 * gdb.base/wrong_frame_bt_full.exp: New file.
12110
155bfbd3
JB
121112015-11-23 Joel Brobecker <brobecker@adacore.com>
12112
12113 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
12114
bb097445
JM
121152015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
12116
206853a0 12117 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
12118 pstate register when comparing registers values in
12119 sparc64-*-linux-gnu targets to avoid spurious differences.
12120
9c88ed8f
JM
121212015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
12122
206853a0 12123 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 12124
96161e25
SL
121252015-11-19 Sandra Loosemore <sandra@codesourcery.com>
12126
12127 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
12128 as type argument to gdb_compile.
12129 * gdb.base/nested-subp2.exp: Likewise.
12130 * gdb.base/nested-subp3.exp: Likewise.
12131
340c2830
DV
121322015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
12133
12134 * lib/dwarf.exp (_note): Fix left shift of negative value.
12135 * gdb.trace/trace-condition.exp: Likewise.
12136
c1862d0f
YQ
121372015-11-13 Yao Qi <yao.qi@linaro.org>
12138
12139 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
12140 comments about d10v.
12141 (test_scalar_returns): Likewise.
12142 * gdb.base/d10v.ld: Remove.
12143 * gdb.base/overlays.exp: Remove the target triplet checking for
12144 d10v-*-*.
12145 * gdb.base/structs.exp (test_struct_returns): Remove the
12146 comments about d10v.
12147 (test_struct_calls): Likewise.
12148
77ae9c19
YQ
121492015-11-13 Yao Qi <yao.qi@linaro.org>
12150
12151 * gdb.base/gnu_vector.exp: Check the return value by "p res".
12152 * gdb.base/gnu_vector.c: Don't include stdio.h.
12153 (main): Don't print res and call add_some_intvecs.
12154
430e004e
MK
121552015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
12156
12157 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
12158 macro.
12159 (func5): Removed.
12160 (func4): Use FAST_TRACEPOINT_LABEL.
12161 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
12162 macro.
12163 (func): Removed.
12164 (thread_function): Use FAST_TRACEPOINT_LABEL.
12165 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
12166 (func): Remove.
12167 (marker): Use FAST_TRACEPOINT_LABEL.
12168 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
12169 (pendfunc1): Remove.
12170 (pendfunc): Use FAST_TRACEPOINT_LABEL.
12171 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
12172 (foo): Remove.
12173 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
12174 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
12175 macro.
12176 (func): Remove.
12177 (marker): Use FAST_TRACEPOINT_LABEL.
12178 * gdb.trace/trace-common.h: New header.
12179 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
12180 macro.
12181 (func): Remove.
12182 (marker): Use FAST_TRACEPOINT_LABEL.
12183 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
12184 (func): Remove.
12185 (thread_function): Use FAST_TRACEPOINT_LABEL.
12186
6e7675a7
MK
121872015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
12188
12189 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
12190 in front.
12191 * gdb.trace/change-loc.exp: Use global pcreg definition.
12192 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
12193 * gdb.trace/entry-values.exp: Use global spreg definition, add $
12194 in front.
12195 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
12196 * gdb.trace/pending.exp: Likewise.
12197 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
12198 * gdb.trace/trace-break.exp: Likewise.
12199 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
12200 in front.
12201 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
12202 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
12203 in front.
12204 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
12205
dddc0e16
JB
122062015-11-09 Joel Brobecker <brobecker@adacore.com>
12207
12208 * gdb.ada/fin_fun_out: New testcase.
12209
c6f0b406
KB
122102015-11-07 Kevin Buettner <kevinb@redhat.com>
12211
12212 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
12213 value associated with DW_AT_byte_size.
12214 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
12215 constants for DW_AT_byte_size, DW_AT_lower_bound, and
12216 DW_AT_upper_bound.
12217
f01dcfd9
KB
122182015-11-07 Kevin Buettner <kevinb@redhat.com>
12219
12220 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
12221 (gdb_target_symbol_prefix_flags): Define in terms of _asm
12222 version.
12223 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
12224 gdb.dwarf2/dw2-canonicalize-type.exp,
12225 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
12226 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
12227 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
12228 provided by gdb_target_symbol_prefix_flags_asm.
12229 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
12230 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
12231 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
12232 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
12233 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
12234 macros where needed). Use this macro for symbols which require
12235 the prefix provided by SYMBOL_PREFIX.
12236
2223449a
KB
122372015-11-05 Kevin Buettner <kevinb@redhat.com>
12238
12239 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
12240 New procs.
12241 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
12242 representing expressions, of more than one list element.
12243 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
12244 to prepend linker symbol prefix to f.
12245 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
12246 table_1 and table_2.
12247 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
12248 Likewise, for f and g.
12249 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
12250 for ptr.
12251 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
12252 for main.
12253 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
12254 table_1_ptr and table_2_ptr.
12255
6f2f1a3a
JK
122562015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12257 Joel Brobecker <brobecker@adacore.com>
12258
12259 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
12260
566c56c9
MK
122612015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
12262
12263 * gdb.reverse/s390-mvcle.c: New test.
12264 * gdb.reverse/s390-mvcle.exp: New file.
12265 * lib/gdb.exp: Enable reverse tests on s390*-linux.
12266
d5f0636b
MK
122672015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
12268
12269 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
12270
7ad8b86c
MK
122712015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
12272
12273 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
12274 reaching marker2.
12275 * gdb.reverse/getresuid-reverse.exp: Likewise.
12276 * gdb.reverse/pipe-reverse.exp: Likewise.
12277 * gdb.reverse/readv-reverse.exp: Likewise.
12278 * gdb.reverse/recvmsg-reverse.exp: Likewise.
12279 * gdb.reverse/time-reverse.exp: Likewise.
12280 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
12281
4081c0f1
YQ
122822015-10-30 Yao Qi <yao.qi@linaro.org>
12283
12284 * gdb.threads/wp-replication.c (watch_count_done): Remove.
12285 (empty_cycle): Remove.
12286 (main): Don't call empty_cycle. Don't use watch_count_done.
12287 * gdb.threads/wp-replication.exp: Don't set breakpoint on
12288 empty_cycle. Rewrite the code counting HW watchpoints.
12289
452b4ba5
MK
122902015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
12291
12292 * gdb.reverse/fstatat-reverse.c: New test.
12293 * gdb.reverse/fstatat-reverse.exp: New file.
12294 * gdb.reverse/getresuid-reverse.c: New test.
12295 * gdb.reverse/getresuid-reverse.exp: New file.
12296 * gdb.reverse/pipe-reverse.c: New test.
12297 * gdb.reverse/pipe-reverse.exp: New file.
12298 * gdb.reverse/readv-reverse.c: New test.
12299 * gdb.reverse/readv-reverse.exp: New file.
12300 * gdb.reverse/recvmsg-reverse.c: New test.
12301 * gdb.reverse/recvmsg-reverse.exp: New file.
12302 * gdb.reverse/time-reverse.c: New test.
12303 * gdb.reverse/time-reverse.exp: New file.
12304 * gdb.reverse/waitpid-reverse.c: New test.
12305 * gdb.reverse/waitpid-reverse.exp: New file.
12306
5e2e7507
JK
123072015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
12308
12309 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
12310
0fde2c53
DE
123112015-10-26 Doug Evans <dje@google.com>
12312
12313 PR symtab/17391
12314 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
12315 * gdb.dwarf2/bad-regnum.c: New file.
12316 * gdb.dwarf2/bad-regnum.exp: New file.
12317
1a70ae97
DE
123182015-10-26 Doug Evans <dje@google.com>
12319
12320 PR python/18938
12321 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
12322 file.
12323
27dc26ab
JK
123242015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12325
12326 * gdb.compile/compile.exp (compile code globalvar): Update expectation
12327 for a change by "Mention language in compile error message".
12328
bed91f4d
SM
123292015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
12330
12331 PR python/18073
12332 * gdb.python/py-type.c (C::a_method): New.
12333 (C::a_const_method): New.
12334 (C::a_static_method): New.
12335 (a_function): New.
12336 * gdb.python/py-type.exp (test_fields): Test getting fields
12337 from function and method.
12338
3f2f83dd
KB
123392015-10-21 Keven Boell <keven.boell@intel.com>
12340
12341 * gdb.fortran/vla-alloc-assoc.exp: New file.
12342 * gdb.fortran/vla-datatypes.exp: New file.
12343 * gdb.fortran/vla-datatypes.f90: New file.
12344 * gdb.fortran/vla-history.exp: New file.
12345 * gdb.fortran/vla-ptype-sub.exp: New file.
12346 * gdb.fortran/vla-ptype.exp: New file.
12347 * gdb.fortran/vla-sizeof.exp: New file.
12348 * gdb.fortran/vla-sub.f90: New file.
12349 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
12350 * gdb.fortran/vla-value-sub-finish.exp: New file.
12351 * gdb.fortran/vla-value-sub.exp: New file.
12352 * gdb.fortran/vla-value.exp: New file.
12353 * gdb.fortran/vla-ptr-info.exp: New file.
12354 * gdb.mi/mi-vla-fortran.exp: New file.
12355 * gdb.mi/vla.f90: New file.
12356
27145d50
SL
123572015-10-21 Sandra Loosemore <sandra@codesourcery.com>
12358
12359 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
12360 of hardwired timeout value.
12361
5f3ff4f8
JK
123622015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12363 Pedro Alves <palves@redhat.com>
12364
12365 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
12366 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
12367
bfd09d20
JS
123682015-10-19 Josh Stone <jistone@redhat.com>
12369
12370 * gdb.base/catch-syscall.c: Include <sched.h>.
12371 (unknown_syscall): New variable.
12372 (main): Trigger a vfork and an unknown syscall.
12373 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
12374 (unknown_syscall_number): Likewise.
12375 (check_call_to_syscall): Accept an optional syscall pattern.
12376 (check_return_from_syscall): Likewise.
12377 (check_continue): Likewise.
12378 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
12379 (test_catch_syscall_skipping_return): New test toggling off 'catch
12380 syscall' to step over the syscall return, then toggling back on.
12381 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
12382 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
12383 (do_syscall_tests): Call test_catch_syscall_without_args and
12384 test_catch_syscall_mid_vfork.
12385 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
12386 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
12387
b32b93c6
AS
123882015-10-19 Andrew Stubbs <ams@codesourcery.com>
12389
12390 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
12391 print g_vE): Add new pass patterns.
12392 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
12393 print various symbol names for vptr fields.
12394
9d622bda
AB
123952015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
12396
12397 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
12398 results.
12399
0fd8ac1c
YQ
124002015-10-12 Yao Qi <yao.qi@linaro.org>
12401
12402 * gdb.arch/disp-step-insn-reloc.exp: New test case.
12403
34240514
YQ
124042015-10-12 Yao Qi <yao.qi@linaro.org>
12405
12406 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
12407 is aarch64*-*-linux*.
12408
8240f442
YQ
124092015-10-12 Yao Qi <yao.qi@linaro.org>
12410
12411 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
12412 (can_relocate_bcond_true): ... it.
12413 (can_relocate_bcond_false): New function.
12414 (foo): Likewise.
12415 (can_relocate_bl): Likewise.
12416 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
12417 can_relocate_bl.
12418
2520f728
PMR
124192015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
12420
12421 * gdb.base/nested-addr.c: New file.
12422 * gdb.base/nested-addr.exp: New testcase.
12423
abcef95a
MM
124242015-10-09 Markus Metzger <markus.t.metzger@intel.com>
12425
12426 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
12427 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
12428 its output. Ignore the output of "record goto begin" and instead
12429 check that GDB is replaying.
12430
145e3ddb
PA
124312015-10-09 Pedro Alves <palves@redhat.com>
12432
12433 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
12434 (top level): Use it in the run with no args test.
12435
d5d8c4e1
IB
124362015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
12437
12438 * gdb.dlang/properties.exp: New file.
12439
06e635ef
SL
124402015-10-02 Sandra Loosemore <sandra@codesourcery.com>
12441
12442 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
12443 whether or not address 0x1000 is mapped on the target.
12444
e019fd1d
SM
124452015-09-30 Simon Marchi <simon.marchi@ericsson.com>
12446
12447 * gdb.python/py-type.exp: Do not run tests if binaries fail to
12448 build.
12449
77ba2a67
MM
124502015-09-30 Markus Metzger <markus.t.metzger@intel.com>
12451
12452 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
12453 instruction-history test.
12454
c60eb31f
DE
124552015-09-28 Doug Evans <dje@google.com>
12456
12457 * gdb.base/gcore.c (array_func): Add reference to static_array.
12458
9a3c8263
SM
124592015-09-25 Simon Marchi <simon.marchi@ericsson.com>
12460
12461 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
12462 source line.
12463
9720e656
SL
124642015-09-24 Sandra Loosemore <sandra@codesourcery.com>
12465
12466 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
12467 short or char as base type.
12468
938d3bf2
SL
124692015-09-23 Sandra Loosemore <sandra@codesourcery.com>
12470
12471 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
12472 to allow any size enum.
12473
e6c2c623
PMR
124742015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
12475
12476 * gdb.ada/array_ptr_renaming.exp: New testcase.
12477 * gdb.ada/array_ptr_renaming/foo.adb: New file.
12478 * gdb.ada/array_ptr_renaming/pack.ads: New file.
12479
06da0f77
PL
124802015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12481
12482 * gdb.trace/ftrace-lock.c: New file.
12483 * gdb.trace/ftrace-lock.exp: New file.
12484
4f51c22a
PL
124852015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12486
12487 * gdb.arch/insn-reloc.c: New file.
12488 * gdb.arch/ftrace-insn-reloc.exp: New file.
12489
7041adf4
PL
124902015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12491
12492 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
12493 instruction.
12494 * gdb.trace/pendshr1.c (pendfunc): Likewise.
12495 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
12496 * gdb.trace/range-stepping.c: Likewise.
12497 * gdb.trace/trace-break.c: Likewise.
12498 * gdb.trace/trace-mt.c (thread_function): Likewise.
12499 * gdb.trace/ftrace.c (marker): Likewise.
12500 * gdb.trace/trace-condition.c (marker): Likewise.
12501 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
12502 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
12503 is_aarch64_target.
12504
015d2e7e
DE
125052015-09-18 Doug Evans <xdje42@gmail.com>
12506
12507 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
12508 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
12509
26b188a2
SL
125102015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12511
12512 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
12513 the breakpoint.
12514
79dc332b
SL
125152015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12516
12517 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
12518 the pending breakpoint. Remove timeout override for "Run till
12519 MI pending breakpoint on pendfunc3 on thread 2" test.
12520
f57929f2
SL
125212015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12522
12523 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
12524 filename pattern.
12525
3f469b17
SL
125262015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12527
12528 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
12529 in breakpoint filename pattern.
12530
515b89b3
SL
125312015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12532
7800dbe4
SL
12533 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
12534
125352015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12536
515b89b3
SL
12537 * gdb.linespec/explicit.exp: Check for readline support for
12538 tab-completion tests. Fix obvious typo.
12539
d2939ba2
MM
125402015-09-18 Markus Metzger <markus.t.metzger@intel.com>
12541
12542 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
12543 and replay.
12544
cbb55fa7
MM
125452015-09-18 Markus Metzger <markus.t.metzger@intel.com>
12546
12547 * gdb.btrace/non-stop.c: New.
12548 * gdb.btrace/non-stop.exp: New.
12549
43691ca1
PL
125502015-09-17 Pierre Langlois <pierre.langlois@arm.com>
12551 Yao Qi <yao.qi@linaro.org>
12552
12553 * gdb.trace/trace-condition.c: New file.
12554 * gdb.trace/trace-condition.exp: New file.
12555
d78908cf
WW
125562015-09-16 Wei-cheng Wang <cole945@gmail.com>
12557
12558 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
12559 for testing bytecode compilation.
12560
1ed415e2
PA
125612015-09-16 Pedro Alves <palves@redhat.com>
12562 Sandra Loosemore <sandra@codesourcery.com>
12563
12564 * gdb.threads/non-stop-fair-events.c (timeout): New global.
12565 (SECONDS): Redefine.
12566 (main): Call pthread_kill and alarm early.
12567 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
12568 support.
12569 (test): If the target can't hardware step and doesn't support
12570 displaced stepping, increase the timeout.
12571
d136eff5
PA
125722015-09-16 Pedro Alves <palves@redhat.com>
12573
12574 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
12575 (enable_debug): New procedures.
12576 (test): Use them. Bail out if waiting for threads fails.
12577 (top level): Bail out if a test fails.
12578
991f019c
YQ
125792015-09-16 Yao Qi <yao.qi@linaro.org>
12580
12581 * gdb.asm/asm-source.exp: Set asm-arch for
12582 aarch64*-*-* target.
12583 * gdb.asm/aarch64.inc: New file.
12584
bfca584f
PMR
125852015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
12586
12587 * gdb.ada/array_of_variable_length.exp: New testcase.
12588 * gdb.ada/array_of_variable_length/foo.adb: New file.
12589 * gdb.ada/array_of_variable_length/pck.adb: New file.
12590 * gdb.ada/array_of_variable_length/pck.ads: New file.
12591
b326e587
DE
125922015-09-15 Doug Evans <dje@google.com>
12593
12594 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
12595 of function static local variable.
12596
5382cfab
PW
125972015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
12598
12599 * gdb.threads/tls-so_extern.exp: New test file.
12600 * gdb.threads/tls-so_extern.c: New test file.
12601 * gdb.threads/tls-so_extern_main.c: New test file.
12602
141c5cc4
JK
126032015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12604
12605 * gdb.opt/solib-intra-step-lib.c: New file.
12606 * gdb.opt/solib-intra-step-main.c: New file.
12607 * gdb.opt/solib-intra-step.exp: New file.
12608
d15dcecd
PA
126092015-09-15 Pedro Alves <palves@redhat.com>
12610
12611 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
12612 gdb_continue_to_breakpoint instead of gdb_test_multiple.
12613
4c2f2a79
PA
126142015-09-14 Pedro Alves <palves@redhat.com>
12615
12616 * gdb.base/hook-stop-continue.c: Delete.
12617 * gdb.base/hook-stop-continue.exp: Delete.
12618 * gdb.base/hook-stop-frame.c: Delete.
12619 * gdb.base/hook-stop-frame.exp: Delete.
12620 * gdb.base/hook-stop.c: New file.
12621 * gdb.base/hook-stop.exp: New file.
12622
919e6dbe
PMR
126232015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
12624
12625 * gdb.ada/access_to_packed_array.exp: New testcase.
12626 * gdb.ada/access_to_packed_array/foo.adb: New file.
12627 * gdb.ada/access_to_packed_array/pack.adb: New file.
12628 * gdb.ada/access_to_packed_array/pack.ads: New file.
12629
157280a4
MM
126302015-09-14 Markus Metzger <markus.t.metzger@intel.com>
12631
12632 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
12633 buffer size test.
12634
2fd33e94
DB
126352015-09-11 Don Breazeal <donb@codesourcery.com>
12636
12637 * gdb.base/foll-exec.c: Add copyright header. Fix
12638 formatting issues.
12639 * gdb.base/foll-exec.exp (zap_session): Delete proc.
12640 (do_exec_tests): Use clean_restart in place of zap_session,
12641 and for test initialization. Fix formatting issues. Use
12642 fail in place of perror.
12643 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
12644 an expect statement to match an expression with output from
12645 the program under debug.
12646 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
12647 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
12648 * gdb.threads/non-ldr-exc-2.exp: Likewise.
12649 * gdb.threads/non-ldr-exc-3.exp: Likewise.
12650 * gdb.threads/non-ldr-exc-4.exp: Likewise.
12651
e70b6e8e
DE
126522015-09-09 Doug Evans <dje@google.com>
12653
12654 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
12655
7a551a51
DE
126562015-09-09 Doug Evans <dje@google.com>
12657
12658 * gdb.base/pie-execl.exp: Fix result test of build_executable.
12659
4c666f84
DE
126602015-09-09 Doug Evans <dje@google.com>
12661
12662 * gdb.base/savedregs.exp: Fix typo.
12663
243a9253
PA
126642015-09-09 Pedro Alves <palves@redhat.com>
12665
12666 * gdb.mi/mi-cli.exp: Add CLI finish tests.
12667
c0fa8fbd
SL
126682015-09-08 Sandra Loosemore <sandra@codesourcery.com>
12669
12670 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
12671 command actually switches threads. Give up on remaining
12672 tests if target fails to stop at breakpoint.
12673
cd7c1778
PMR
126742015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
12675
12676 * gdb.ada/funcall_char.exp: New testcase.
12677 * gdb.ada/funcall_char/foo.adb: New file.
12678
dc5c8746
PMR
126792015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
12680
12681 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
12682 expected outputs. Add two testcases for completing ambiguous
12683 functions.
12684 * gdb.ada/complete/aux_pck.adb: New file.
12685 * gdb.ada/complete/aux_pck.ads: New file.
12686 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
12687 Ambiguous_Func functions.
12688 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
12689 * gdb.ada/complete/pck.adb: Likewise.
12690
4e83a1e7
UW
126912015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
12692
12693 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
12694 failures to run the test program under GDB.
12695
8ce74153
LM
126962015-08-26 Luis Machado <lgustavo@codesourcery.com>
12697
12698 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
12699 to C.
12700
e9756d52
PP
127012015-08-26 Patrick Palka <patrick@parcs.ath.cx>
12702
12703 * gdb.base/run-after-attach.exp: New test file.
12704 * gdb.base/run-after-attach.c: New test file.
12705
8d37573b
DB
127062015-08-26 Don Breazeal <donb@codesourcery.com>
12707
12708 * gdb.base/foll-exec-2.c: New test program.
12709 * gdb.base/foll-exec-2.exp: New test.
12710
63e43d3a
PMR
127112015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
12712
12713 * gdb.base/nested-subp1.exp: New file.
12714 * gdb.base/nested-subp1.c: New file.
12715 * gdb.base/nested-subp2.exp: New file.
12716 * gdb.base/nested-subp2.c: New file.
12717 * gdb.base/nested-subp3.exp: New file.
12718 * gdb.base/nested-subp3.c: New file.
12719
3d40fbb5
PA
127202015-08-24 Pedro Alves <palves@redhat.com>
12721
12722 * gdb.server/connect-without-multi-process.c: New file.
12723 * gdb.server/connect-without-multi-process.exp: New file.
12724
4422ac93
LM
127252015-08-24 Luis Machado <lgustavo@codesourcery.com>
12726
12727 * gdb.opt/inline-markers.c: Make z int.
12728
91dddb86
LM
127292015-08-24 Luis Machado <lgustavo@codesourcery.com>
12730
12731 * gdb.opt/inline-markers.c: Make z volatile.
12732
a48847ee
LM
127332015-08-24 Luis Machado <lgustavo@codesourcery.com>
12734
12735 * gdb.opt/inline-bt.c: New volatile global z.
12736 * gdb.opt/inline-cmds.c: Likewise.
12737 * gdb.opt/inline-locals.c: Likewise.
12738 * gdb.opt/inline-markers.c: New extern global z.
12739 (marker): Use z.
12740 (inline_fn): Likewise.
12741
0ebbc52b
PA
127422015-08-24 Pedro Alves <palves@redhat.com>
12743
12744 * config/m32r-stub.exp: Remove file.
12745 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
12746 * gdb.base/call-rt-st.exp: Likewise.
12747 * gdb.base/call-strs.exp: Likewise.
12748 * gdb.base/default.exp: Remove references to h8300-*-hms and
12749 *-*-udi*.
12750 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
12751
77c365df
AA
127522015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12753
12754 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
12755 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
12756 and "return" use KFAIL when GDB can not read/write the vector
12757 return value.
12758
4313b8c0
GB
127592015-08-21 Gary Benson <gbenson@redhat.com>
12760
12761 * gdb.trace/pending.exp: Cope with remote transfer warnings.
12762
0e433b32
PA
127632015-08-20 Pedro Alves <palves@redhat.com>
12764
12765 * gdb.server/solib-list.exp: No longer expect an interior stop in
12766 non-stop mode.
12767
221e1a37
PA
127682015-08-20 Pedro Alves <palves@redhat.com>
12769
12770 * gdb.server/connect-stopped-target.c: New file.
12771 * gdb.server/connect-stopped-target.exp: New file.
12772
40e3ad0e
PA
127732015-08-20 Pedro Alves <palves@redhat.com>
12774
12775 * gdb.dwarf2/comp-unit-lang.exp: New file.
12776 * gdb.dwarf2/comp-unit-lang.c: New file.
12777
af39b327
PMR
127782015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
12779
12780 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
12781 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
12782
7d45c7c3 127832015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 12784
7d45c7c3
KB
12785 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
12786 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
12787
4d6cceb4
DE
127882015-08-18 Doug Evans <dje@google.com>
12789 Adrian Sendroiu <adrian.sendroiu@freescale.com>
12790
12791 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
12792 skip_python_tests. New arg prompt_regexp.
12793 (skip_python_tests): New function.
12794 * lib/mi-support.exp (mi_skip_python_tests): New function.
12795 * gdb.python/py-mi-objfile-gdb.py: New file.
12796 * gdb.python/py-mi-objfile.c: New file.
12797 * gdb.python/py-mi-objfile.exp: New file.
12798
ad89c2aa
KS
127992015-08-17 Keith Seitz <keiths@redhat.com>
12800
12801 * gdb.linespec/explicit.exp: Move strace test from here ...
12802 * gdb.trace/strace.exp: ... to here.
12803
e3ae3c43
PP
128042015-08-15 Patrick Palka <patrick@parcs.ath.cx>
12805
12806 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
12807 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
12808
604b2636
DE
128092015-08-14 Doug Evans <xdje42@gmail.com>
12810
12811 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
12812 inferior before selecting a new file.
12813
6ff0ba5f
DE
128142015-08-14 Doug Evans <xdje42@gmail.com>
12815
12816 * gdb.mi/mi-disassemble.exp: Update.
12817 * gdb.base/disasm-optim.S: New file.
12818 * gdb.base/disasm-optim.c: New file.
12819 * gdb.base/disasm-optim.h: New file.
12820 * gdb.base/disasm-optim.exp: New file.
12821
9ca98f92
KS
128222015-08-14 Keith Seitz <keiths@redhat.com>
12823
12824 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
12825 "evaluated-by".
12826
52bbc560
JB
128272015-08-13 Joel Brobecker <brobecker@adacore.com>
12828
12829 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
12830
5d8c3ed3
PMR
128312015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
12832
12833 * gdb.ada/fun_renaming.exp: New testcase.
12834 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
12835 * gdb.ada/fun_renaming/pack.adb: New file.
12836 * gdb.ada/fun_renaming/pack.ads: New file.
12837
ea8812bc
KS
128382015-08-12 Keith Seitz <keiths@redhat.com>
12839
12840 * gdb.base/dso2dso.exp: Pass basename of source file in call to
12841 gdb_get_line_number.
12842
4dafcdeb
JB
128432015-08-12 Joel Brobecker <brobecker@adacore.com>
12844
12845 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
12846 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
12847 gdb.base/dso2dso.exp: New files.
12848
5ba32597
SDJ
128492015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
12850 Pedro Alves <palves@redhat.com>
12851 Keith Seitz <keiths@redhat.com>
12852
12853 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
12854 GDBFLAGS.
12855
b6dafabf
PP
128562015-08-12 Patrick Palka <patrick@parcs.ath.cx>
12857
12858 * gdb.base/gdbhistsize-history.exp
12859 (test_histsize_history_setting): Use save_vars.
12860 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12861 Use save_vars.
12862 (test_no_truncation_of_unlimited_history_file): Use save_vars.
12863 * gdb.base/readline.exp: Use save_vars.
12864
abe8e607
PP
128652015-08-12 Patrick Palka <patrick@parcs.ath.cx>
12866
12867 * lib/gdb.exp (save_vars): New proc.
12868
629500fa
KS
128692015-08-11 Keith Seitz <keiths@redhat.com>
12870
12871 * gdb.base/help.exp: Update help_breakpoint_text.
12872
eb8c4e2e
KS
128732015-08-11 Keith Seitz <keiths@redhat.com>
12874
12875 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
12876 (at toplevel): Call test_explicit_breakpoints.
12877 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
12878 breakpoints.
12879 * lib/mi-support.exp (mi_make_breakpoint): Add support for
12880 breakpoint conditions, "-cond".
12881
87f0e720
KS
128822015-08-11 Keith Seitz <keiths@redhat.com>
12883
12884 * gdb.linespec/3explicit.c: New file.
12885 * gdb.linespec/cpexplicit.cc: New file.
12886 * gdb.linespec/cpexplicit.exp: New file.
12887 * gdb.linespec/explicit.c: New file.
12888 * gdb.linespec/explicit.exp: New file.
12889 * gdb.linespec/explicit2.c: New file.
12890 * gdb.linespec/ls-errs.exp: Add explicit location tests.
12891 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
12892 before using in the matching pattern.
12893 Clarify that `prefix' is a regular expression.
12894
f00aae0f
KS
128952015-08-11 Keith Seitz <keiths@redhat.com>
12896
12897 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
12898 test.
12899 Add tests for missing ",FMT" and ",".
12900
e27852be
DE
129012015-08-10 Doug Evans <dje@google.com>
12902 Keith Seitz <keiths@redhat.com>
12903
12904 PR gdb/17960
12905 * gdb.base/completion.exp: Add location completer tests.
12906
7f03bd92
PA
129072015-08-07 Pedro Alves <palves@redhat.com>
12908
12909 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
12910 tests here.
12911 (top level): Run do_test with and without displaced stepping.
12912
3fc8eb30
PA
129132015-08-07 Pedro Alves <palves@redhat.com>
12914
12915 * gdb.base/valgrind-disp-step.c: New file.
12916 * gdb.base/valgrind-disp-step.exp: New file.
12917
d4569d7b
PA
129182015-08-07 Pedro Alves <palves@redhat.com>
12919
12920 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
12921 Delete function.
12922 (main): Add alarm. Run an infinite loop instead of calling
12923 wait_threads.
12924 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
12925 comment.
12926 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
12927 Delete function.
12928 (main): Add alarm. Run an infinite loop instead of calling
12929 wait_threads.
12930 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
12931 comment.
12932
e1316e60
PA
129332015-08-07 Pedro Alves <palves@redhat.com>
12934
12935 * gdb.base/checkpoint-ns.exp: New file.
12936 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
12937 standard_testfile.
12938
da8c46d2
MM
129392015-08-07 Markus Metzger <markus.t.metzger@intel.com>
12940
12941 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
12942 * gdb.btrace/instruction_history.exp: Update.
12943 * gdb.btrace/tsx.exp: New.
12944 * gdb.btrace/tsx.c: New.
12945
de1c2c52
PA
129462015-08-06 Pedro Alves <palves@redhat.com>
12947
12948 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
12949 increase timeout.
12950 * gdb.reverse/until-precsave.exp: Bump timeouts.
12951
782e0bf4
PA
129522015-08-06 Pedro Alves <palves@redhat.com>
12953
12954 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
12955
83e97ed0
PA
129562015-08-06 Pedro Alves <palves@redhat.com>
12957
12958 PR gdb/18749
12959 * gdb.threads/process-dies-while-handling-bp.c: New file.
12960 * gdb.threads/process-dies-while-handling-bp.exp: New file.
12961
863d01bd
PA
129622015-08-06 Pedro Alves <palves@redhat.com>
12963
12964 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
12965 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
12966
0a39bb32
PA
129672015-08-05 Pedro Alves <palves@redhat.com>
12968
12969 * gdb.threads/next-while-other-thread-longjmps.c: New file.
12970 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
12971
ee2d2b10
SL
129722015-08-03 Sandra Loosemore <sandra@codesourcery.com>
12973
12974 * gdb.base/bp-permanent.exp: Report test as unsupported if
12975 the target cannot stop at the permanent breakpoint.
12976
4e1bdb00
DE
129772015-08-03 Doug Evans <dje@google.com>
12978
12979 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
12980 10000.
12981
3d338901
DE
129822015-08-03 Doug Evans <dje@google.com>
12983
12984 * Makefile.in (workers/%.worker, build-perf): New rule.
12985 (GDB_PERFTEST_MODE): New variable.
12986 (check-perf): Use it.
12987 (clean): Clean up gdb.perf parallel build subdirs.
12988 * lib/build-piece.exp: New file.
12989 * lib/gdb.exp (make_gdb_parallel_path): New function
12990 (standard_output_file, standard_temp_file): Call it.
12991 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12992 of $GDB_PARALLEL.
12993 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
12994
af061d3e
DE
129952015-08-03 Doug Evans <dje@google.com>
12996
8e1afc81 12997 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
12998 (LOG_FILE_NAME): New global.
12999 (TextReporter.__init__): Initialize self.txt_sum.
13000 (TextReporter.report): Add support for multiple data-points.
13001 Move report to perftest.sum, put raw data in perftest.log.
13002 (TextReporter.start): Open sum and log files.
13003 (TextReporter.end): Close sum and log files.
8e1afc81
DE
13004 * gdb.perf/lib/perftest/testresult.py
13005 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 13006
2c8c5d37
PA
130072015-07-31 Pedro Alves <palves@redhat.com>
13008
13009 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
13010 Use spawn_id_get_pid. Wait for spawn id after eof. Use
13011 kill_wait_spawned_process instead of explicit "kill -9".
13012 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
13013 returning a spawn id instead of a pid. Use spawn_id_get_pid and
13014 kill_wait_spawned_process.
13015 * gdb.base/attach-twice.exp: Likewise.
13016 * gdb.base/attach.exp: Likewise.
13017 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
13018 gdb_test_multiple.
13019 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
13020 returning a spawn id instead of a pid. Use spawn_id_get_pid and
13021 kill_wait_spawned_process.
13022 * gdb.base/valgrind-infcall.exp: Likewise.
13023 * gdb.multi/multi-attach.exp: Likewise.
13024 * gdb.python/py-prompt.exp: Likewise.
13025 * gdb.python/py-sync-interp.exp: Likewise.
13026 * gdb.server/ext-attach.exp: Likewise.
13027 * gdb.threads/attach-into-signal.exp (corefunc): Use
13028 spawn_wait_for_attach, spawn_id_get_pid and
13029 kill_wait_spawned_process.
13030 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
13031 spawn_wait_for_attach returning a spawn id instead of a pid. Use
13032 spawn_id_get_pid and kill_wait_spawned_process.
13033 * gdb.threads/attach-stopped.exp (corefunc): Use
13034 spawn_wait_for_attach, spawn_id_get_pid and
13035 kill_wait_spawned_process.
13036 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
13037 Use spawn_id_get_pid. Wait for spawn id after eof. Use
13038 kill_wait_spawned_process instead of explicit "kill -9".
13039 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
13040 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
13041 (spawn_wait_for_attach): Use spawn instead of exec to spawn
13042 processes. Don't map cygwin/windows pids here. Now returns a
13043 spawn id list.
13044
032a0fca
SL
130452015-07-30 Sandra Loosemore <sandra@codesourcery.com>
13046
13047 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
13048 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
13049 correct patch.
13050
61a934ca
SL
130512015-07-30 Sandra Loosemore <sandra@codesourcery.com>
13052
13053 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
13054
4bc4d428
SL
130552015-07-30 Sandra Loosemore <sandra@codesourcery.com>
13056
13057 Reapply:
13058 2014-05-21 Mark Wielaard <mjw@redhat.com>
13059
13060 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
13061
998d452a
PA
130622015-07-30 Pedro Alves <palves@redhat.com>
13063
13064 * linux-low.c (handle_extended_wait): Set the child's last
13065 reported status to TARGET_WAITKIND_STOPPED.
13066
69dde7dc
PA
130672015-07-30 Pedro Alves <palves@redhat.com>
13068
13069 PR threads/18600
13070 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
13071 only shows inferior 1.
13072
4dd63d48
PA
130732015-07-30 Simon Marchi <simon.marchi@ericsson.com>
13074 Pedro Alves <palves@redhat.com>
13075
13076 PR threads/18600
13077 * gdb.threads/fork-plus-threads.c: New file.
13078 * gdb.threads/fork-plus-threads.exp: New file.
13079
d618e4c5
PP
130802015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13081
13082 * gdb.base/batch-preserve-term-settings.exp
13083 (test_terminal_settings_preserved_after_cli_exit): Use
13084 send_quit_command.
13085
1eef6428
PA
130862015-07-29 Pedro Alves <palves@redhat.com>
13087 Don Breazeal <donb@codesourcery.com>
13088
13089 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
13090 output from both inferior_spawn_id and gdb_spawn_id.
13091
7da5b897
SDJ
130922015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
13093
13094 * gdb.threads/attach-into-signal.exp (corefunc): Use
13095 with_test_prefix on nested loops, uniquefying the test messages.
13096
dac804df
SDJ
130972015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
13098
13099 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
13100 commit.
13101
06265e53
PP
131022015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13103
13104 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
13105 New proc.
13106 (test_terminal_settings_preserved_after_sigterm): New test.
13107
18206ca3
PP
131082015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13109
13110 * gdb.base/batch-preserve-term-settings.exp
13111 (test_terminal_settings_preserved_after_cli_exit): New test.
13112
90074d11
PP
131132015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13114
13115 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
13116 manipulation of saved_gdbflags.
13117 (test_terminal_settings_preserved): Remove global declaration of
13118 the unused variable pagination_prompt. Remove manipulation of
13119 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
13120 GDBFLAGS.
13121
eb1a7902
PA
131222015-07-29 Pedro Alves <palves@redhat.com>
13123
13124 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
13125
8b75dd3b
PA
131262015-07-29 Pedro Alves <palves@redhat.com>
13127
13128 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
13129 at the top.
13130
dedad4e3
PA
131312015-07-29 Pedro Alves <palves@redhat.com>
13132
13133 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
13134 (main): Call gdb_unbuffer_output.
13135 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
13136 (main): Call gdb_unbuffer_output.
13137 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
13138 (main): Call gdb_unbuffer_output.
13139 * gdb.base/call-strs.exp: Adjust to step over the
13140 gdb_unbuffer_output call.
13141 * gdb.base/catch-gdb-caused-signals.c: Include
13142 "../lib/unbuffer_output.c".
13143 (main): Call gdb_unbuffer_output.
13144 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
13145 (main): Call gdb_unbuffer_output.
13146 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
13147 (main): Call gdb_unbuffer_output.
13148 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
13149 (main): Call gdb_unbuffer_output.
13150 * gdb.base/shlib-call.exp: Adjust to step over the
13151 gdb_unbuffer_output call.
13152 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
13153 (main): Call gdb_unbuffer_output.
13154 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
13155 (main): Call gdb_unbuffer_output.
13156 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
13157 (main): Rename to ...
13158 (test): ... this.
13159 (main): Reimplement.
13160 * gdb.base/varargs.exp: Run to test instead of to main.
13161 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
13162 (main): Call gdb_unbuffer_output.
13163
58789a91
PA
131642015-07-29 Pedro Alves <palves@redhat.com>
13165
13166 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
13167 factore out from mi_continue_dprintf. For call-style dprintfs,
13168 expect dprintf output out of $inferior_spawn_id.
13169 (mi_continue_dprintf): Use mi_expect_dprintf.
13170 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
13171 (main): Call gdb_unbuffer_output.
13172
e8376742
PA
131732015-07-29 Pedro Alves <palves@redhat.com>
13174
13175 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
13176 (default_mi_gdb_start): Set inferior_spawn_id instead of
13177 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
13178 gdb_spawn_id.
13179 (mi_gdb_test): Always expect inferior output from both
13180 $inferior_spawn_id and $gdb_spawn_id.
13181
08280010
PA
131822015-07-29 Pedro Alves <palves@redhat.com>
13183
13184 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
13185 send_inferior and $inferior_spawn_id.
13186
4d30e432
PA
131872015-07-29 Pedro Alves <palves@redhat.com>
13188
13189 * gdb.gdb/complaints.exp (test_initial_complaints)
13190 (test_serial_complaints, test_short_complaints): Use
13191 gdb_test_stdio.
13192 (test_empty_complaint): Handle $inferior_spawn_id !=
13193 $gdb_spawn_id.
13194
0d30a335
PA
131952015-07-29 Pedro Alves <palves@redhat.com>
13196
13197 * gdb.base/varargs.exp: Use gdb_test_stdio.
13198
39413b29
PA
131992015-07-29 Pedro Alves <palves@redhat.com>
13200
13201 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
13202
7cb000a9
PA
132032015-07-29 Pedro Alves <palves@redhat.com>
13204
13205 * gdb.base/ending-run.exp: Use gdb_test_stdio.
13206
d7b8ac82
PA
132072015-07-29 Pedro Alves <palves@redhat.com>
13208
13209 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
13210 parameter into two new parameters, "inf_result" and "gdb_result".
13211 Expect inferior output and gdb output from $inferior_spawn_id and
13212 $gdb_spawn_id, respectively. Adjust all callers.
13213
789c3a0c
PA
132142015-07-29 Pedro Alves <palves@redhat.com>
13215
13216 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
13217 of gdb_test_sequence.
13218
77e760c3
PA
132192015-07-29 Pedro Alves <palves@redhat.com>
13220
13221 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
13222 (saw_spurious_output): Expect inferior output from
13223 $inferior_spawn_id. Use gdb_test_stdio.
13224
8396d2cd
PA
132252015-07-29 Pedro Alves <palves@redhat.com>
13226
13227 * gdb.base/dprintf.exp: Use standard_testfile. Change
13228 prepare_for_testing call.
13229 (srcfile): Don't set.
13230 (restart): New procedure.
13231 (test_dprintf): New procecure, use to continue over dprintfs.
13232 (test_call, test_agent): New procedures, tests moved here.
13233 Restart gdb and recreate dprintfs. Adjust expected output.
13234
2051d61f
PA
132352015-07-29 Pedro Alves <palves@redhat.com>
13236
13237 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
13238
452397af
PA
132392015-07-29 Pedro Alves <palves@redhat.com>
13240
13241 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
13242
8aed9555
PA
132432015-07-29 Pedro Alves <palves@redhat.com>
13244
13245 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
13246 gdb_test_stdio.
13247
188a61b4
PA
132482015-07-29 Pedro Alves <palves@redhat.com>
13249
13250 * lib/gdb.exp (gdb_test_stdio): New procedure.
13251
12264a45
PA
132522015-07-29 Pedro Alves <palves@redhat.com>
13253
13254 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
13255
23ffc893
PA
132562015-07-29 Pedro Alves <palves@redhat.com>
13257
13258 * gdb.base/call-signal-resume.exp: Remove check for
13259 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
13260 * gdb.base/unwindonsignal.exp: Likewise.
13261 * gdb.base/call-signals.c (gen_signal): Remove printf call.
13262 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
13263
65566918
PA
132642015-07-29 Pedro Alves <palves@redhat.com>
13265
13266 * gdb.base/siginfo-addr.c (pass): New function.
13267 (handler): Call it iff si_addr is correct.
13268 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
13269 Set a breakpoint at "pass" and continue to it.
13270
d60a9221
SDJ
132712015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
13272
13273 * gdb.python/py-objfile.exp: Make some tests have unique names.
13274 * gdb.python/py-pp-registration.exp: Likewise.
13275
bde40b8f
PA
132762015-07-28 Pedro Alves <palves@redhat.com>
13277
13278 * gdb.server/server-exec-info.exp: Issue a "disconnect".
13279
13e1dec8
SM
132802015-07-27 Simon Marchi <simon.marchi@ericsson.com>
13281
13282 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
13283
da33c9a7
SM
132842015-07-27 Simon Marchi <simon.marchi@ericsson.com>
13285
13286 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
13287
077836f7
PP
132882015-07-27 Patrick Palka <patrick@parcs.ath.cx>
13289
13290 * gdb.base/gdb-sigterm-2.exp: New test.
13291
b8cc7b2e
DE
132922015-07-25 Doug Evans <xdje42@gmail.com>
13293
13294 Revert:
13295 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
13296 (workers/%.worker, build-perf): New rule.
13297 (GDB_PERFTEST_MODE): New variable.
13298 (check-perf): Use it.
13299 (clean): Clean up gdb.perf parallel build subdirs.
13300 * lib/build-piece.exp: New file.
13301 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
13302 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
13303 name.
13304 (standard_temp_file): Ditto.
13305 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13306 of $GDB_PARALLEL.
13307
c8bd4544
DE
133082015-07-24 Doug Evans <dje@google.com>
13309
13310 * gdb.perf/lib/perftest/utils.py: New file.
13311 * gdb.perf/gm-hello.cc: New file.
13312 * gdb.perf/gm-pervasive-typedef.cc: New file.
13313 * gdb.perf/gm-pervasive-typedef.h: New file.
13314 * gdb.perf/gm-std.cc: New file.
13315 * gdb.perf/gm-std.h: New file.
13316 * gdb.perf/gm-use-cerr.cc: New file.
13317 * gdb.perf/gm-utils.h: New file.
13318 * gdb.perf/gmonster-null-lookup.py: New file.
13319 * gdb.perf/gmonster-pervasive-typedef.py: New file.
13320 * gdb.perf/gmonster-print-cerr.py: New file.
13321 * gdb.perf/gmonster-ptype-string.py: New file.
13322 * gdb.perf/gmonster-runto-main.py: New file.
13323 * gdb.perf/gmonster-select-file.py: New file.
13324 * gdb.perf/gmonster1-null-lookup.exp: New file.
13325 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
13326 * gdb.perf/gmonster1-print-cerr.exp: New file.
13327 * gdb.perf/gmonster1-ptype-string.exp: New file.
13328 * gdb.perf/gmonster1-runto-main.exp: New file.
13329 * gdb.perf/gmonster1-select-file.exp: New file.
13330 * gdb.perf/gmonster1.cc: New file.
13331 * gdb.perf/gmonster1.exp: New file.
13332 * gdb.perf/gmonster2-null-lookup.exp: New file.
13333 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
13334 * gdb.perf/gmonster2-print-cerr.exp: New file.
13335 * gdb.perf/gmonster2-ptype-string.exp: New file.
13336 * gdb.perf/gmonster2-runto-main.exp: New file.
13337 * gdb.perf/gmonster2-select-file.exp: New file.
13338 * gdb.perf/gmonster2.cc: New file.
13339 * gdb.perf/gmonster2.exp: New file.
13340
6eab34f3
DE
133412015-07-24 Doug Evans <dje@google.com>
13342
13343 * gdb.perf/README: New file.
13344 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
13345 * lib/gen-perf-test.exp: New file.
13346
63738bfd
DE
133472015-07-24 Doug Evans <dje@google.com>
13348
13349 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
13350 (PerfTest::startup): New function.
13351 (PerfTest::run): Return result of calling body.
13352 (PerfTest::assemble): Rewrite.
13353 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
13354 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
13355 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
13356 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
13357 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
13358
7b606f95
DE
133592015-07-24 Doug Evans <dje@google.com>
13360
13361 * lib/gdb.exp (clean_restart): Make executable optional.
13362
a97b16b8
DE
133632015-07-24 Doug Evans <dje@google.com>
13364
13365 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
13366 compiler_info references.
13367 * gdb.cp/temargs.exp: Ditto.
13368 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
13369 (get_compiler_info): Early exit if already computed. Set compiler_info
13370 to "unknown" if there was a problem.
13371 (test_compiler_info): Add function comment. Call get_compiler_info.
13372
35baa57f
DE
133732015-07-24 Doug Evans <dje@google.com>
13374
13375 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
13376 (workers/%.worker, build-perf): New rule.
13377 (GDB_PERFTEST_MODE): New variable.
13378 (check-perf): Use it.
13379 (clean): Clean up gdb.perf parallel build subdirs.
13380 * lib/build-piece.exp: New file.
13381 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
13382 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
13383 name.
13384 (standard_temp_file): Ditto.
13385 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13386 of $GDB_PARALLEL.
13387
6ebea266
DE
133882015-07-24 Doug Evans <dje@google.com>
13389
13390 * lib/future.exp (gdb_default_target_compile): New option
13391 "early_flags".
13392 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
13393 --as-needed.
13394
1e76a7e9
SDJ
133952015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
13396
13397 * gdb.base/catch-syscall.exp: Call gdb_exit before
13398 gdb_skip_xml_test.
13399
5068630a
PA
134002015-07-24 Pedro Alves <palves@redhat.com>
13401
13402 * gdb.python/py-events.exp: Accept output between the stop event
13403 and the prompt.
13404 * gdb.python/py-evsignal.exp: Likewise.
13405 * gdb.python/py-evthreads.exp: Likewise.
13406
77598427
PA
134072015-07-24 Pedro Alves <palves@redhat.com>
13408
13409 PR gdb/18717
13410 * gdb.threads/non-ldr-exit.c: New file.
13411 * gdb.threads/non-ldr-exit.exp: New file.
13412
11e6c98f
YQ
134132015-07-24 Yao Qi <yao.qi@linaro.org>
13414
13415 * gdb.server/ext-wrapper.exp: Test --wrapper option when
13416 restarting process.
13417
51aee833
YQ
134182015-07-24 Yao Qi <yao.qi@linaro.org>
13419
13420 * gdb.server/ext-restart.exp: New file.
13421
8cfe207c
YQ
134222015-07-24 Yao Qi <yao.qi@linaro.org>
13423
13424 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
13425 argument options.
13426 * gdb.server/ext-wrapper.exp: New file.
13427
cc12ce38
DE
134282015-07-23 Doug Evans <dje@google.com>
13429
13430 * gdb.dwarf2/dw2-dummy-cu.S: New file.
13431 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
13432
d0d84780
PMR
134332015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
13434
13435 * gdb.ada/var_arr_typedef.exp: New testcase.
13436 * gdb.ada/var_arr_typedef/pack.adb: New file.
13437 * gdb.ada/var_arr_typedef/pack.ads: New file.
13438 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
13439
8b558f79
JB
134402015-07-20 Joel Brobecker <brobecker@adacore.com>
13441
13442 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
13443
775a3298
JK
134442015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13445
13446 * gdb.arch/i386-biarch-core.exp: Replace istarget
13447 by "complete set gnutarget". Remove expectation for the "core-file"
13448 command.
13449
db1ff28b
JK
134502015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13451
13452 Revert the previous commit:
13453 Tests for validate symbol file using build-id.
13454
0a94970d
JK
134552015-07-15 Aleksandar Ristovski <aristovski@qnx.com
13456
13457 Tests for validate symbol file using build-id.
13458 * gdb.base/solib-mismatch-lib.c: New file.
13459 * gdb.base/solib-mismatch-libmod.c: New file.
13460 * gdb.base/solib-mismatch.c: New file.
13461 * gdb.base/solib-mismatch.exp: New file.
13462
03346981
SL
134632015-07-15 Sandra Loosemore <sandra@codesourcery.com>
13464
13465 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
13466 nios2-*-linux*.
13467 * gdb.base/sigbpt.exp (stepi_out): Likewise.
13468 * gdb.base/siginfo.exp: Likewise.
13469 * gdb.base/sigstep.exp (advance, advancei): Likewise.
13470
42422cc7
PL
134712015-07-15 Pierre Langlois <pierre.langlois@arm.com>
13472
13473 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
13474 Move it to ...
13475 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
13476 ... here.
13477 * gdb.trace/range-stepping.exp: Check that the target supports
13478 range stepping.
13479
cfa68bae
JK
134802015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13481
13482 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
13483
8ffdba26
PA
134842015-07-14 Pedro Alves <palves@redhat.com>
13485
13486 * gdb.base/killed-outside.exp: New file.
13487 * gdb.base/killed-outside.c: New file.
13488
218a5a11
JK
134892015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
13490
13491 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
13492 (n at main): New.
13493 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
13494
e03ed3c6
AA
134952015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
13496
13497 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
13498 infcall tests instead of setting up for KFAIL.
13499
485668e5
MM
135002015-07-10 Markus Metzger <markus.t.metzger@intel.com>
13501
13502 * gdb.btrace/record_goto-step.exp: New.
13503
08464196
JK
135042015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13505
13506 PR compile/18484
13507 * gdb.compile/compile.c (struct struct_type): Add volatile to
13508 selffield's type.
13509 * gdb.compile/compile.exp
13510 (compile code struct_object.selffield = &struct_object): Skip further
13511 struct_object tests if this one xfails.
13512
bcf5c1d9
RC
135132015-07-08 Robert O'Callahan <robert@ocallahan.org>
13514
13515 PR exp/18617
13516 * gdb.trace/ax.exp: Add test.
13517
4931af25
YQ
135182015-07-07 Yao Qi <yao.qi@linaro.org>
13519
13520 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
13521 instead of istarget "aarch64*-*-*".
13522 * gdb.arch/aarch64-fp.exp: Likewise.
13523 * gdb.base/float.exp: Likewise.
13524 * gdb.reverse/aarch64.exp: Likewise.
13525 * lib/gdb.exp (is_aarch64_target): New proc.
13526
9fcf688e
YQ
135272015-07-07 Yao Qi <yao.qi@linaro.org>
13528
13529 * lib/gdb.exp (is_aarch32_target): New proc.
13530 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
13531 instead of "istarget "arm*-*-*"".
13532 * gdb.arch/arm-disp-step.exp: Likewise.
13533 * gdb.arch/thumb-bx-pc.exp: Likewise.
13534 * gdb.arch/thumb-prologue.exp: Likewise.
13535 * gdb.arch/thumb-singlestep.exp: Likewise.
13536 * gdb.base/disp-step-syscall.exp: Likewise.
13537 * gdb.base/float.exp: Likewise.
13538
fbd8d50d
YQ
135392015-07-07 Yao Qi <yao.qi@linaro.org>
13540
13541 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
13542 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
13543
71be1fdc
YQ
135442015-07-07 Yao Qi <yao.qi@linaro.org>
13545
13546 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
13547 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
13548 if it exists.
13549 * gdb.multi/multi-arch.exp: Likewise.
13550
3e221d36
SM
135512015-07-07 Simon Marchi <simon.marchi@ericsson.com>
13552
13553 * gdb.python/py-lazy-string.exp: Add missing parentheses to
13554 print.
13555
d441430b
YQ
135562015-07-07 Yao Qi <yao.qi@linaro.org>
13557
13558 * gdb.arch/thumb-singlestep.exp: Do one more single step.
13559
06f810bd
MG
135602015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
13561
13562 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
13563 '[' and ']' characters.
13564
5e61e7c0
IB
135652015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
13566
13567 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
13568
28bf096c
PA
135692015-06-29 Pedro Alves <palves@redhat.com>
13570
13571 PR threads/18127
13572 * gdb.threads/hand-call-new-thread.c: New file.
13573 * gdb.threads/hand-call-new-thread.c: New file.
13574
ee93cd5e
KS
135752015-06-26 Keith Seitz <keiths@redhat.com>
13576 Doug Evans <dje@google.com>
13577
13578 PR 16253
13579 * gdb.cp/var-tag-2.cc: New file.
13580 * gdb.cp/var-tag-3.cc: New file.
13581 * gdb.cp/var-tag-4.cc: New file.
13582 * gdb.cp/var-tag.cc: New file.
13583 * gdb.cp/var-tag.exp: New file.
13584
fc637f04
PP
135852015-06-26 Patrick Palka <patrick@parcs.ath.cx>
13586
13587 * gdb.base/history-duplicates.exp: New test.
13588
2e52ae68
PP
135892015-06-26 Patrick Palka <patrick@parcs.ath.cx>
13590
13591 * gdb.base/completion.exp: Test the completion of the "focus"
13592 command.
13593
6e22494e
JK
135942015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13595
13596 * gdb.arch/amd64-prologue-skip.S: New file.
13597 * gdb.arch/amd64-prologue-skip.exp: New file.
13598
bf7b9cd9
SM
135992015-06-25 Simon Marchi <simon.marchi@ericsson.com>
13600
13601 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
13602 is_address_zero_readable check.
13603
201e8dfd
PB
136042015-06-24 Peter Bergner <bergner@vnet.ibm.com>
13605
13606 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
13607 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
13608
5cd867b4
YQ
136092015-06-24 Yao Qi <yao.qi@linaro.org>
13610
13611 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
13612 linux targets.
13613
4d7be007
YQ
136142015-06-24 Yao Qi <yao.qi@linaro.org>
13615
13616 * lib/gdb.exp (supports_get_siginfo_type): New proc.
13617 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
13618 * gdb.base/siginfo-thread.exp: Likewise.
13619
07fcd301
YQ
136202015-06-22 Yao Qi <yao.qi@linaro.org>
13621
13622 * boards/remote-gdbserver-on-localhost.exp: Add comments.
13623
52042a00
YQ
136242015-06-22 Yao Qi <yao.qi@linaro.org>
13625
13626 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
13627 aarch64*-*-*.
13628 (skip_hw_watchpoint_tests): Likewise.
13629
74bd41ce
PP
136302015-06-18 Patrick Palka <patrick@parcs.ath.cx>
13631
13632 * gdb.base/gdbinit-history.exp: Test the interaction between
13633 setting GDBHISTSIZE and setting the history size via .gdbinit.
13634
bc460514
PP
136352015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13636
13637 PR gdb/16999
13638 * gdb.base/gdbhistsize-history.exp: New test.
13639
b58c513b
PP
136402015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13641
13642 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
13643 with GDBHISTSIZE.
13644 * gdb.base/readline.exp: Likewise.
13645
92046791
YQ
136462015-06-17 Yao Qi <yao.qi@linaro.org>
13647
13648 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
13649 line.
13650
2093d2d3
PP
136512015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13652
13653 * gdb.base/gdbinit-history.exp: Add test case to check that
13654 an unlimited history file does not get truncated on exit.
13655
e6c693af
AA
136562015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13657
13658 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
13659 (VECTOR): New macro. Use it...
13660 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
13661 ...for these typedefs.
13662 (int8, char1, int1, double1): New typedefs.
13663 (struct just_int2, struct two_int2): New structures.
13664 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
13665 (add_structvecs, add_singlevecs): New functions.
13666 (main): Call add_some_intvecs twice.
13667 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
13668 the compile and exit upon failure. Try compiling for the "native"
13669 architecture. Test inferior function calls with vector arguments
13670 and vector return value handling with "finish" and "return".
13671
c74f7d1c
JT
136722015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
13673
13674 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
13675 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
13676 PE file.
13677 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
13678
98aa42ee
AT
136792015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
13680
13681 PR breakpoints/16465
13682 * gdb.mi/mi-dprintf-pending.c: New file.
13683 * gdb.mi/mi-dprintf-pending.exp: New test.
13684 * gdb.mi/mi-dprintf-pendshr.c: New file.
13685
7d73c23c 136862015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 13687 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
13688
13689 * gdb.arch/i386-mpx-map.c: New file.
13690 * gdb.arch/i386-mpx-map.exp: New File.
13691
136922015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13693
13694 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
13695 * gdb.arch/i386-mpx.exp: Indentation fixed.
13696
136972015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13698
13699 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
13700 function and improved indentation.
13701 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
13702 gdb_test_multiple. Added additional tests to skip the test.
13703
137042015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13705
13706 * gdb.arch/i386-avx512.c: Change path in include file.
13707 * gdb.arch/i386-avx512.exp: Change include dir path
13708 compilation flag.
13709 * gdb.arch/i386-mpx.c: Change path in include file.
13710 * gdb.arch/i386-mpx.exp: Change include dir path compilation
13711 flag.
13712
d5eba19a
JK
137132015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
13714
13715 * gdb.compile/compile-print.exp (compile print *vararray@3)
13716 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
13717
7f361056
JK
137182015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13719
13720 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
13721 (do not keep jit in memory): ... this.
13722 (expect 5): Change it to ...
13723 (expect no 5): ... this.
13724
3b462ec2
SM
137252015-06-02 Simon Marchi <simon.marchi@ericsson.com>
13726
13727 PR gdb/15564
13728 * gdb.mi/mi-detach.exp: New file.
13729
e0619de6
JK
137302015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13731
13732 PR symtab/18392
13733 * gdb.arch/amd64-tailcall-self.S: New file.
13734 * gdb.arch/amd64-tailcall-self.c: New file.
13735 * gdb.arch/amd64-tailcall-self.exp: New file.
13736
e970cb34
DB
137372015-05-28 Don Breazeal <donb@codesourcery.com>
13738
13739 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
13740 tests for remote targets by checking is_target_gdbserver.
13741
b2e2f908
DE
137422015-05-27 Doug Evans <dje@google.com>
13743
13744 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
13745 * gdb.dwarf2/opaque-type-lookup.c: New file.
13746 * gdb.dwarf2/opaque-type-lookup.exp: New file.
13747
82c7be31
DE
137482015-05-26 Doug Evans <dje@google.com>
13749
13750 * gdb.cp/iostream.cc: New file.
13751 * gdb.cp/iostream.exp: New file.
13752
b4f54984
DE
137532015-05-26 Doug Evans <dje@google.com>
13754
13755 * gdb.dwarf2/dw2-op-call.exp: Update.
13756 * gdb.dwarf2/dw4-sig-types.exp: Update.
13757 * gdb.dwarf2/implptr.exp: Update.
13758 * gdb.mi/mi-cmd-param-changed.exp: Update.
13759
4ea6efe9
DE
137602015-05-26 Doug Evans <dje@google.com>
13761
13762 * gdb.python/py-lazy-string.c: New file.
13763 * gdb.python/py-lazy-string.exp: New file.
13764 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
13765 (main): Update. Add estring3.
13766 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
13767 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
13768
f6bb7db3
YQ
137692015-05-26 Omair Javaid <omair.javaid@linaro.org>
13770 Yao Qi <yao.qi@linaro.org>
13771
13772 * gdb.reverse/aarch64.c: New.
13773 * gdb.reverse/aarch64.exp: New.
13774
a81bfbd0
OJ
137752015-05-26 Omair Javaid <omair.javaid@linaro.org>
13776
25d49b86
PA
13777 * lib/gdb.exp (supports_process_record): Return true for
13778 aarch64*-linux*.
a81bfbd0
OJ
13779 (supports_reverse): Likewise.
13780
158bf1b4
PP
137812015-05-22 Patrick Palka <patrick@parcs.ath.cx>
13782
13783 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13784 Use with_test_prefix.
13785
a0145030
AB
137862015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
13787
13788 * gdb.base/completion.exp: Add test for completion of layout
13789 names.
13790
ebe3b578
AB
137912015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
13792
13793 * lib/gdb.exp (skip_tui_tests): New proc.
13794 * gdb.base/tui-layout.exp: Check skip_tui_tests.
13795
84204ed7
PA
137962015-05-19 Pedro Alves <palves@redhat.com>
13797
13798 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13799 Save the whole env array instead of just HOME. Unset HISTSIZE in
13800 the environment while testing. Restore whole environment
13801 afterwards.
13802
37442ce1
DE
138032015-05-16 Doug Evans <xdje42@gmail.com>
13804
13805 * gdb.guile/scm-ports.c: New file.
13806 * gdb.guile/scm-ports.exp: Add memory port tests.
13807
36de76f9
JK
138082015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13809
13810 * gdb.compile/compile-print.c: New file.
13811 * gdb.compile/compile-print.exp: New file.
13812
3a9558c4
JK
138132015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13814
13815 * gdb.compile/compile-ops.exp: Cast param to void.
13816 * gdb.compile/compile.exp: Complete type for _gdb_expr.
13817 (compile code struct_object.selffield = &struct_object): Add xfail.
13818
aa715135
JG
138192015-05-15 Joel Brobecker <brobecker@adacore.com>
13820
13821 * gdb.ada/arr_enum_with_gap: New testcase.
13822
931e5bc3
JG
138232015-05-15 Joel Brobecker <brobecker@adacore.com>
13824
13825 * gdb.ada/byte_packed_arr: New testcase.
13826
9cd4d857
JB
138272015-05-15 Joel Brobecker <brobecker@adacore.com>
13828
13829 * gdb.ada/pckd_neg: New testcase.
13830
ebfd00d2
PP
138312015-05-13 Patrick Palka <patrick@parcs.ath.cx>
13832
13833 PR gdb/17820
13834 * gdb.base/gdbinit-history.exp: New test.
13835 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
13836 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
13837
4c082a81
SC
138382015-05-09 Siva Chandra Reddy <sivachandra@google.com>
13839
13840 * gdb.python/py-xmethods.cc: Enhance test case.
13841 * gdb.python/py-xmethods.exp: New tests.
13842 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
13843 function.
13844 (B_indexoper): Likewise.
13845 (global_dm_list) : Add new xmethod worker functions.
13846
f7797074
SDJ
138472015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
13848
13849 * gdb.base/coredump-filter.exp: Correctly unset
13850 "coredump_var_addr" array.
13851
a4674e4e
PA
138522015-05-08 Pedro Alves <palves@redhat.com>
13853
13854 * gdb.server/non-existing-program.exp: Unset spawn_id.
13855
df2eb078
SC
138562015-05-08 Siva Chandra Reddy <sivachandra@google.com>
13857
13858 PR python/18291
13859 * gdb.python/py-xmethods.exp: Add tests.
13860
422349a3
YQ
138612015-05-08 Yao Qi <yao.qi@linaro.org>
13862
13863 PR gdb/18208
13864 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
13865 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
13866 function set_coredump_filter, and remove remote_exec call.
13867 Remove argument ipid. Callers update.
13868 (top level): Don't get inferior's PID.
13869
63fc80ce
AA
138702015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
13871
13872 * gdb.base/watch_thread_num.exp: Skip test on targets without
13873 access watchpoints.
13874
80ad801e
PA
138752015-05-06 Pedro Alves <palves@redhat.com>
13876
13877 PR server/18081
13878 * gdb.server/non-existing-program.exp: New file.
13879
0fa7fe50
JB
138802015-05-05 Joel Brobecker <brobecker@adacore.com>
13881
13882 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
13883
3ea89b92
PMR
138842015-05-05 Joel Brobecker <brobecker@adacore.com>
13885
13886 * gdb.ada/out_of_line_in_inlined: New testcase.
13887
87b8eff0
JB
138882015-05-05 Joel Brobecker <brobecker@adacore.com>
13889
13890 * gdb.ada/var_rec_arr: New testcase.
13891
5fccc635
YQ
138922015-04-30 Yao Qi <yao.qi@linaro.org>
13893
13894 * gdb.base/break-idempotent.exp: If
13895 skip_hw_watchpoint_multi_tests returns true, skip the tests
13896 on "rwatch" and "awatch".
13897
42d38f42
YQ
138982015-04-30 Yao Qi <yao.qi@linaro.org>
13899
13900 * gdb.base/relativedebug.exp: Invoke gdb command
13901 "info sharedlibrary", and if libc.so doesn't have debug info,
13902 skip the test.
13903
2ce1cdbf
DE
139042015-04-29 Doug Evans <dje@google.com>
13905
13906 * gdb.python/py-xmethods.exp: Add ptype tests.
13907 * gdb.python/py-xmethods.py (E_method_char_worker): Add
13908 get_result_type method.
13909
f24a38c5
LM
139102015-04-29 Luis Machado <lgustavo@codesourcery.com>
13911
13912 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
13913 the target does not support hardware watchpoints.
13914
ecbf2b3c
LM
139152015-04-29 Luis Machado <lgustavo@codesourcery.com>
13916
13917 * gdb.base/break-always.exp: Abort testing if writing to memory
13918 causes an error.
13919
34f5f757
DE
139202015-04-28 Doug Evans <dje@google.com>
13921
13922 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
13923 * gdb.python/py-pp-registration.exp: ... here. New file.
13924 * gdb.python/py-pp-registration.c: New file.
13925 * gdb.python/py-pp-registration.py: New file.
13926
69b4374a
DE
139272015-04-28 Doug Evans <dje@google.com>
13928
13929 * gdb.python/py-bad-printers.c: New file.
13930 * gdb.python/py-bad-printers.py: New file.
13931 * gdb.python/py-bad-printers.exp: New file.
13932
59fb7612
SS
139332015-04-28 Sasha Smundak <asmundak@google.com>
13934
13935 * gdb.python/py-type.exp: New test.
13936
2631b16a
AW
139372015-04-28 Andy Wingo <wingo@igalia.com>
13938
13939 * gdb.python/py-parameter.exp:
13940 * gdb.guile/scm-parameter.exp: Escape the path that we are
13941 matching against, as it might contain characters that are special
13942 to regular expressions.
13943
460efde1
JB
139442015-04-27 Joel Brobecker <brobecker@adacore.com>
13945
13946 * gdb.ada/rec_comp: New testcase.
13947
2d369d8e
SDJ
139482015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
13949
13950 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
13951 before using it.
13952
cf75d6c3
AB
139532015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
13954
13955 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
13956 new tests for verilog output.
13957
8dbe7ca5
YQ
139582015-04-24 Yao Qi <yao.qi@linaro.org>
13959
13960 * boards/remote-gdbserver-on-localhost.exp: New file.
13961
4ef9fb2f
PA
139622015-04-23 Pedro Alves <palves@redhat.com>
13963
13964 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
13965 $inferior_spawn_id instead of $inferior_spawn_id directly. On
13966 "end of file", remove $inferior_spawn_id from the indirect list.
13967
0a803169
PA
139682015-04-23 Pedro Alves <palves@redhat.com>
13969
13970 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
13971
749ef8f8
PA
139722015-04-23 Pedro Alves <palves@redhat.com>
13973
13974 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
13975 on $any_spawn_id instead of only on $gdb_spawn_id.
13976
8aae4344
PM
139772015-04-21 Pierre Muller <muller@sourceware.org>
13978
13979 PR pascal/17815
13980 * lib/pascal.exp (gpc_compile): Add new option "class".
13981 (fpc_compile): Likewise.
13982 * gdb.pascal/case-insensitive-symbols.pas: New file.
13983 * gdb.pascal/case-insensitive-symbols.exp: New file.
13984
1586c8fb
GB
139852015-04-20 Gary Benson <gbenson@redhat.com>
13986
13987 * gdb.base/attach.exp: Fix three extended remote failures.
13988
1b6e6f5c
GB
139892015-04-17 Gary Benson <gbenson@redhat.com>
13990
13991 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
13992 the main executable over the remote protocol.
13993
e797481d
PA
139942015-04-16 Pedro Alves <palves@redhat.com>
13995
13996 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
13997 a new gdbserver if gdbserver_reconnect_p is set.
13998
1ca99c42
PA
139992015-04-16 Pedro Alves <palves@redhat.com>
14000
14001 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
14002 is set, don't exit gdbserver.
14003
af9fd6f8
AA
140042015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
14005
14006 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
14007 appropriate .insn, such that an older assembler can be used.
14008 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
14009 the z/Architecture instruction set on 31-bit targets as well.
14010
04ff1e61
AA
140112015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
14012
14013 * gdb.go/handcall.exp: Remove all logic related to the first
14014 breakpoint and rely on go_runto_main instead.
14015 * gdb.go/strings.exp: Likewise.
14016 * gdb.go/unsafe.exp: Likewise.
14017 * gdb.go/hello.exp: Likewise. Also rename the remaining
14018 breakpoint marker to "breakpoint 1".
14019 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
14020 * gdb.go/strings.go: Likewise.
14021 * gdb.go/unsafe.go: Likewise.
14022 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
14023 "set breakpoint 2 here" and rename the remaining breakpoint marker
14024 to "breakpoint 1".
14025
40d2f8d6
SM
140262015-04-15 Simon Marchi <simon.marchi@ericsson.com>
14027
14028 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
14029 if itertools.imap is not present.
14030 * gdb.python/py-objfile.exp: Add parentheses.
14031 * gdb.python/py-type.exp: Same.
14032 * gdb.python/py-unwind-maint.py: Same.
14033
8cbc97c6
YQ
140342015-04-15 Yao Qi <yao.qi@linaro.org>
14035
14036 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
14037 of ":$ptr_size" and set its form explicitly.
14038
45fd756c
YQ
140392015-04-15 Pedro Alves <palves@redhat.com>
14040 Yao Qi <yao.qi@linaro.org>
14041
14042 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
14043 timeout by factor of 4.
14044 (test_regular_watch): Likewise.
14045 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
14046 * gdb.reverse/sigall-reverse.exp: Likewise.
14047 * gdb.reverse/until-precsave.exp: Likewise.
14048 * lib/gdb.exp (with_timeout_factor): New proc.
14049 (gdb_expect): Move some code to ...
14050 (get_largest_timeout): ... here. New procedure.
14051
9e811bc3
LM
140522015-04-14 Luis Machado <lgustavo@codesourcery.com>
14053
14054 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
14055
0ff6fcb2
LM
140562015-04-13 Luis Machado <lgustavo@codesourcery.com>
14057
14058 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
14059 to write to the .text section.
14060
7578d5f7
LM
140612015-04-13 Luis Machado <lgustavo@codesourcery.com>
14062
14063 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
14064 Handle the case of targets that do not provide PID information.
14065
2efe15c4
YQ
140662015-04-13 Yao Qi <yao.qi@linaro.org>
14067
14068 * lib/gdbserver-support.exp (gdb_exit): Catch exception
14069 and use expect instead of gdb_expect.
14070
8cd8f2f8
SDJ
140712015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
14072
14073 * gdb.base/coredump-filter.exp: Rename variable "addr" to
14074 "coredump_var_addr" to avoid naming conflict with other testcases.
14075
9ee41772
PA
140762015-04-10 Pedro Alves <palves@redhat.com>
14077
14078 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
14079 gdb_test_sequence and gdb_assert.
14080
07473109
PA
140812015-04-10 Pedro Alves <palves@redhat.com>
14082
14083 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
14084 test messages that don't include the breakpoint address.
14085
de3db44c
YQ
140862015-04-10 Yao Qi <yao.qi@linaro.org>
14087
14088 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
14089 false for some offset and width combinations which aren't
14090 supported by linux kernel.
14091
c79d856c
PA
140922015-04-10 Pedro Alves <palves@redhat.com>
14093
14094 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
14095 procedure, factored out from ...
14096 (top level): ... here. Add "set displaced-stepping" testing axis.
14097 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
14098 parameter "displaced". Use it.
14099 (top level): Use foreach and add "set displaced-stepping" testing
14100 axis.
14101
ebc90b50
PA
141022015-04-10 Pedro Alves <palves@redhat.com>
14103
14104 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
14105 Remove comment.
14106 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
14107 both the address of the instruction that triggers the watchpoint
14108 and the address of the instruction immediately after, and use
14109 those addresses for the test. Fix comment.
14110
8f572e5c
PA
141112015-04-10 Pedro Alves <palves@redhat.com>
14112
14113 * gdb.base/sigstep.exp (breakpoint_to_handler)
14114 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
14115 Test "backtrace" in handler.
14116 (breakpoint_over_handler): New parameter 'displaced'. Use it.
14117 (top level): Add new "displaced" test axis to
14118 breakpoint_to_handler, breakpoint_to_handler_entry and
14119 breakpoint_over_handler.
14120
8d707a12
PA
141212015-04-10 Pedro Alves <palves@redhat.com>
14122
14123 PR gdb/18216
14124 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
14125
ef713951
YQ
141262015-04-10 Yao Qi <yao.qi@linaro.org>
14127
14128 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
14129 (test_add_rn_pc): New function.
14130 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
14131 (top level): Invoke test_add_rn_pc.
14132
906d60cf
PA
141332015-04-10 Pedro Alves <palves@redhat.com>
14134
14135 PR gdb/13858
14136 * gdb.base/step-over-no-symbols.exp: New file.
14137
f2983cc3
AW
141382015-04-09 Andy Wingo <wingo@igalia.com>
14139
14140 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
14141 after the Python tests.
14142
6d62641c
SDJ
141432015-04-08 Keith Seitz <keiths@redhat.com>
14144
14145 PR python/16699
14146 * gdb.python/py-completion.exp: New tests for completion.
14147 * gdb.python/py-completion.py (CompleteLimit1): New class.
14148 (CompleteLimit2): Likewise.
14149 (CompleteLimit3): Likewise.
14150 (CompleteLimit4): Likewise.
14151 (CompleteLimit5): Likewise.
14152 (CompleteLimit6): Likewise.
14153 (CompleteLimit7): Likewise.
14154
f3770638
PA
141552015-04-08 Pedro Alves <palves@redhat.com>
14156
14157 PR gdb/18214
14158 PR gdb/18216
14159 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
14160 function.
14161 (main): Install it as SIGUSR1 handler.
14162 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
14163 parameter. Always use "setup" as prefix. Toggle "set
14164 displaced-stepping" off/on depending on global. Don't switch to
14165 thread 1 here.
14166 (top level): Add displaced stepping "off/on" test axis. Update
14167 "setup" calls. Wrap each subtest with with_test_prefix. Test
14168 continuing with a queued signal in each thread.
14169
4496bed7
PA
141702015-04-08 Pedro Alves <palves@redhat.com>
14171
14172 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
14173 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
14174 gdb_breakpoint instead of gdb_test that doesn't expect anything.
14175 Return early if running to main fails.
14176 * gdb.trace/while-stepping.exp: Likewise.
14177
b97fde92
PA
141782015-04-07 Pedro Alves <palves@redhat.com>
14179
14180 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
14181 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
14182 interact with inferior program.
14183
f71c18e7
PA
141842015-04-07 Pedro Alves <palves@redhat.com>
14185
14186 * lib/gdb.exp (inferior_spawn_id): New global.
14187 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
14188 spawn id after processing the user code.
14189 (default_gdb_start): Set inferior_spawn_id.
14190 (send_inferior): New procedure.
14191 * lib/gdbserver-support.exp (gdbserver_start): Set
14192 inferior_spawn_id.
14193 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
14194
6423214f
PA
141952015-04-07 Pedro Alves <palves@redhat.com>
14196
14197 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
14198 * lib/gdbserver-support.exp (gdbserver_start): Make
14199 $server_spawn_id global.
14200 (gdbserver_start): Don't wait for gdbserver's spawn id with
14201 expect_background.
14202 (close_gdbserver): New procedure.
14203 (gdb_exit): Rename the default version and reimplement.
14204
71c0ee8c
PA
142052015-04-07 Pedro Alves <palves@redhat.com>
14206
72f4393d 14207 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
14208 append the substituted item, not the original item.
14209
203bc29b
PA
142102015-04-07 Pedro Alves <palves@redhat.com>
14211
14212 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
14213 gdb_expect.
14214
508a3ddf
PA
142152015-04-07 Pedro Alves <palves@redhat.com>
14216
14217 * gdb.base/interrupt.exp: Don't handle the case of the inferior
14218 output appearing once only.
14219
9f6dbe2b
PA
142202015-04-07 Pedro Alves <palves@redhat.com>
14221
14222 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
14223 that doesn't expect anything. Return early if running to main
14224 fails.
14225
337532fa
YQ
142262015-04-07 Yao Qi <yao.qi@linaro.org>
14227
14228 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
14229 (child_function): Call alarm.
14230 (main): Move call to alarm into the loop.
14231 * gdb.threads/non-stop-fair-events.exp: Build program with
14232 -DTIMEOUT=$timeout.
14233
01b622d4
DE
142342015-04-06 Doug Evans <xdje42@gmail.com>
14235
14236 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
14237 Fix dest parameter to board_info.
14238 (fpc_compile): Ditto.
14239 (gdb_compile_pascal): Rename dest arg to destfile.
14240
961f4160
PMR
142412015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
14242
14243 * gdb.ada/funcall_ref.exp: New file.
14244 * gdb.ada/funcall_ref/foo.adb: New file.
14245
cafda597
YQ
142462015-04-02 Yao Qi <yao.qi@linaro.org>
14247
14248 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
14249 is remote.
14250
fed040c6
GB
142512015-04-02 Gary Benson <gbenson@redhat.com>
14252
14253 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
14254
d11916aa
SS
142552015-04-01 Sasha Smundak <asmundak@google.com>
14256
14257 * gdb.python/py-unwind-maint.c: New file.
14258 * gdb.python/py-unwind-maint.exp: New test.
14259 * gdb.python/py-unwind-maint.py: New file.
14260 * gdb.python/py-unwind.c: New file.
14261 * gdb.python/py-unwind.exp: New test.
14262 * gdb.python/py-unwind.py: New test.
14263
a1471180
PA
142642015-04-01 Pedro Alves <palves@redhat.com>
14265
14266 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
14267 to fail instead of non-existent $test.
14268
0bbeccb1
PA
142692015-04-01 Pedro Alves <palves@redhat.com>
14270
14271 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
14272 GDBFLAGS if not empty.
14273
3c724c8c
PMR
142742015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
14275
14276 * gdb.ada/complete.exp: Remove "multi_line".
14277 * gdb.ada/info_exc.exp: Remove "multi_line".
14278 * gdb.ada/packed_tagged.exp: Remove "multi_line".
14279 * gdb.ada/ptype_field.exp: Remove "multi_line".
14280 * gdb.ada/sym_print_name.exp: Remove "multi_line".
14281 * gdb.ada/tagged.exp: Remove "multi_line".
14282 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
14283 [multi_line ...]
14284 * gdb.btrace/delta.exp: Likewise.
14285 * gdb.btrace/exception.exp: Likewise.
14286 * gdb.btrace/function_call_history.exp: Likewise.
14287 * gdb.btrace/instruction_history.exp: Likewise.
14288 * gdb.btrace/nohist.exp: Likewise.
14289 * gdb.btrace/record_goto.exp: Likewise.
14290 * gdb.btrace/segv.exp: Likewise.
14291 * gdb.btrace/stepi.exp: Likewise.
14292 * gdb.btrace/tailcall.exp: Likewise.
14293 * gdb.btrace/unknown_functions.exp: Likewise.
14294 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
14295 * lib/gdb.exp: Add the "multi_line" helper.
14296
4eec2deb
PA
142972015-04-01 Pedro Alves <palves@redhat.com>
14298
14299 * gdb.threads/tid-reuse.c: New file.
14300 * gdb.threads/tid-reuse.exp: New file.
14301
df8411da
SDJ
143022015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
14303
14304 PR corefiles/16092
14305 * gdb.base/coredump-filter.c: New file.
14306 * gdb.base/coredump-filter.exp: Likewise.
14307
6ef37366
PM
143082015-03-27 Petr Machata <pmachata@redhat.com>
14309
14310 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
14311 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
14312 (Dwarf::assemble): Initialize them.
14313 (Dwarf::lines): New function.
14314
7ec911b0
JT
143152015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
14316
14317 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
14318 SYMBOL_PREFIX for x86_64-*-cygwin.
14319
ff908ebf
AW
143202015-03-26 Andy Wingo <wingo@igalia.com>
14321
14322 PR symtab/18148
14323 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
14324 const_value but not a location.
14325 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
14326 location defined in non-main CUs are visible.
14327
6d5f0679
YQ
143282015-03-26 Yao Qi <yao.qi@linaro.org>
14329
14330 PR testsuite/18139
14331 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
14332 Add a line number entry for the same line.
14333 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
14334 Add a line number entry for the same line.
14335
2898689b
YQ
143362015-03-26 Yao Qi <yao.qi@linaro.org>
14337
14338 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
14339 .int 0.
14340 (func): Likewise. Add .Lfunc_1 label.
14341 Use .Lfunc_1 label.
14342 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
14343 .int 0.
14344 (func): Likewise.
14345 Use .Lfunc_1 label.
14346
85180498
YQ
143472015-03-26 Yao Qi <yao.qi@linaro.org>
14348
14349 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
14350 Call gdb_compile instead to compile each .s files without debug
14351 information.
14352
8aa08a8d
YQ
143532015-03-26 Yao Qi <yao.qi@linaro.org>
14354
14355 * gdb.base/savedregs.exp (process_saved_regs): Make
14356 "Saved registers:" optional in the pattern.
14357
66849923
MM
143582015-03-25 Markus Metzger <markus.t.metzger@intel.com>
14359
14360 * gdb.btrace/next.exp: Merged into step.exp.
14361 * gdb.btrace/finish.exp: Merged into step.exp.
14362 * gdb.btrace/nexti.exp: Merged into stepi.exp.
14363 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
14364 "record goto" and checking the exact replay position.
14365 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
14366 check for "Recording format" in "info record" output.
14367 * gdb.btrace/record_goto.exp: Choose test file based on target.
14368 * gdb.btrace/x86-record_goto.S: Renamed into ...
14369 * gdb.btrace/x86_64-record_goto.S: ... this.
14370 * gdb.btrace/i686-record_goto.S: New.
14371 * gdb.btrace/x86-tailcall.S: Renamed into ...
14372 * gdb.btrace/x86_64-tailcall.S: ... this.
14373 * gdb.btrace/i686-tailcall.S: New.
14374 * gdb.btrace/x86-tailcall.c: Renamed into ...
14375 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
14376 separate statements. Update test.
14377 * gdb.btrace/delta.exp: Use record_goto.c as test file.
14378 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
14379 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
14380 * gdb.btrace/tailcall.exp: Choose test file based on target.
14381 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
14382
11cc1b74
MM
143832015-03-25 Markus Metzger <markus.t.metzger@intel.com>
14384
14385 * gdb.btrace/exception.exp: Increase BTS buffer size.
14386
a25d8bf9
PA
143872015-03-24 Pedro Alves <palves@redhat.com>
14388
14389 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
14390
856e7dd6
PA
143912015-03-24 Pedro Alves <palves@redhat.com>
14392
14393 * gdb.threads/schedlock.exp (test_step): No longer expect that
14394 "set scheduler-locking step" with "next" over a function call runs
14395 threads unlocked.
14396
ad235a41
AT
143972015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
14398
14399 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
14400
15630549
AT
144012015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
14402
14403 PR breakpoints/16466
14404 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
14405 * gdb.mi/mi-pending.c (thread_func): New function.
14406 (int main): Add threading support required.
14407 * gdb.mi/mi-pending.exp: Add tests for this issue.
14408 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
14409 (pendfunc2): Remove stdio dependency.
14410 * gdb.mi/mi-pendshr2.c: New file.
14411
693dca06
KS
144122015-03-23 Keith Seitz <keiths@redhat.com>
14413
14414 * gdb.linespec/keywords.c: New file.
14415 * gdb.linespec/keywords.exp: New file.
14416
7e993ebf
KS
144172015-03-23 Keith Seitz <keiths@redhat.com>
14418
14419 PR gdb/18021
14420 * gdb.dwarf2/staticvirtual.exp: New test.
14421
bc23328c
JK
144222015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14423
14424 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
14425 * README: Remove HP-UX and gdb.hp.
14426 (configuration):
14427 * configure: Regenerate.
14428 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
14429 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
14430 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
14431 gdb.hp/gdb.defects/Makefile.
14432 * gdb.hp/Makefile.in: File deleted.
14433 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
14434 * gdb.hp/gdb.aCC/optimize.c: File deleted.
14435 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
14436 * gdb.hp/gdb.aCC/run.c: File deleted.
14437 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
14438 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
14439 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
14440 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
14441 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
14442 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
14443 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
14444 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
14445 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
14446 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
14447 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
14448 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
14449 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
14450 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
14451 * gdb.hp/gdb.base-hp/reg.s: File deleted.
14452 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
14453 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
14454 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
14455 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
14456 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
14457 * gdb.hp/gdb.compat/Makefile.in: File deleted.
14458 * gdb.hp/gdb.compat/average.c: File deleted.
14459 * gdb.hp/gdb.compat/sum.c: File deleted.
14460 * gdb.hp/gdb.compat/xdb.c: File deleted.
14461 * gdb.hp/gdb.compat/xdb0.c: File deleted.
14462 * gdb.hp/gdb.compat/xdb0.h: File deleted.
14463 * gdb.hp/gdb.compat/xdb1.c: File deleted.
14464 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
14465 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
14466 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
14467 * gdb.hp/gdb.defects/Makefile.in: File deleted.
14468 * gdb.hp/gdb.defects/bs14602.c: File deleted.
14469 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
14470 * gdb.hp/gdb.defects/solib-d.c: File deleted.
14471 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
14472 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
14473 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
14474 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
14475 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
14476 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
14477 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
14478 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
14479 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
14480 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
14481 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
14482 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
14483 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
14484 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
14485 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
14486 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
14487 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
14488 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
14489 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
14490 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
14491 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
14492 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
14493 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
14494 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
14495 * gdb.hp/tools/odump: File deleted.
14496
8bf3b159
PA
144972015-03-19 Pedro Alves <palves@redhat.com>
14498
14499 * gdb.threads/continue-pending-status.exp (saw_thread_2)
14500 (saw_thread_3): New globals.
14501 (top level): Increment them when an event for the corresponding
14502 thread is seen.
14503 (no thread starvation): New test.
14504
eb54c8bf
PA
145052015-03-19 Pedro Alves <palves@redhat.com>
14506
14507 * gdb.threads/continue-pending-status.c: New file.
14508 * gdb.threads/continue-pending-status.exp: New file.
14509
32d2e5d6
PA
145102015-03-18 Pedro Alves <palves@redhat.com>
14511
14512 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
14513 Use gdb_is_target_remote instead of is_remote. Use
14514 gdb_test_multiple instead of gdb_expect. Exit early if
14515 gdb_test_multiple hits its internal matches. Tighten stepi tests
14516 expected output. Fail on exit with any signal, instead of just
14517 SIGILL.
14518
f68f11b7
YQ
145192015-03-18 Yao Qi <yao.qi@linaro.org>
14520
14521 PR tdep/18107
14522 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
14523 variable.
14524 * gdb.base/catch-syscall.exp: Don't skip it on
14525 aarch64*-*-linux* target. Remove elements in all_syscalls.
14526 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
14527 target.
14528 (setup_all_syscalls): New proc.
14529
ca5fd19b
YQ
145302015-03-16 Yao Qi <yao.qi@linaro.org>
14531
14532 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
14533 (top level): Skip tests if valid_addr_p returns false for
14534 $cmd1 or $cmd2.
14535
85642ba0
AW
145362015-03-11 Andy Wingo <wingo@igalia.com>
14537
14538 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
14539
e03f9645
YQ
145402015-03-11 Yao Qi <yao.qi@linaro.org>
14541
14542 * gdb.base/catch-syscall.exp: Fix typo in comments.
14543
5d0962b2
YQ
145442015-03-11 Yao Qi <yao.qi@linaro.org>
14545
14546 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
14547
b2df3cef
PA
145482015-03-09 Pedro Alves <palves@redhat.com>
14549
14550 * dg-extract-results.py: Delete.
14551
ef878e53
PA
145522015-03-09 Pedro Alves <palves@redhat.com>
14553
14554 Merge dg-extract-results.sh from GCC upstream (r218843).
14555
14556 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
14557 * dg-extract-results.sh: Use --text with grep to avoid issues with
14558 binary files. Fall back to cat -v, if that doesn't work.
14559
9494d219
PA
145602015-03-05 Pedro Alves <palves@redhat.com>
14561
14562 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
14563
a8d9763a
SM
145642015-03-04 Simon Marchi <simon.marchi@ericsson.com>
14565
14566 * lib/mi-support.exp (mi_expect_interrupt): Accept
14567 alternative event for when in all-stop mode.
14568
be9957b8
PA
145692015-03-04 Pedro Alves <palves@redhat.com>
14570
14571 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
14572
d57be0f4 145732015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
14574
14575 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
14576
c214c7cf
AA
145772015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
14578
14579 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
14580 regexps for GDB's current line display, accept a hex address
14581 preceding the line number.
14582
6d74a497
AA
145832015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
14584
14585 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
14586 the 'arch1' variable for "s390*-linux*" targets.
14587
511aee7c
PA
145882015-03-04 Pedro Alves <palves@redhat.com>
14589
14590 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
14591 (main): Pass missing retval argument to pthread_join call.
14592
95e50b27
PA
145932015-03-02 Pedro Alves <palves@redhat.com>
14594
14595 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
14596 (top level): Call do_test with non-stop as well.
14597
28054d69
PA
145982015-03-02 Pedro Alves <palves@redhat.com>
14599
14600 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
14601 -1.
14602
4fa5d7b4
AA
146032015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
14604
14605 * gdb.arch/s390-vregs.exp: New test.
14606 * gdb.arch/s390-vregs.S: New file.
14607
97c18565
PA
146082015-02-27 Pedro Alves <palves@redhat.com>
14609
14610 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
14611 call to catch_command_errors.
14612 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
14613 catch_command_errors.
14614
a37bfa30
PA
146152015-02-27 Pedro Alves <palves@redhat.com>
14616
14617 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
14618 "true" for boolean result.
14619 * gdb.gdb/selftest.exp (test_with_self): Also accept full
14620 prototype of main.
14621
6f98576f
PA
146222015-02-27 Pedro Alves <palves@redhat.com>
14623
14624 * lib/unbuffer_output.c: New file.
14625 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
14626 (main): Call gdb_unbuffer_output.
14627
eba5ab56
YQ
146282015-02-27 Yao Qi <yao.qi@linaro.org>
14629
14630 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
14631 target.
14632
0def5aaa
DE
146332015-02-26 Doug Evans <dje@google.com>
14634
14635 * gdb.cp/class2.cc (Dbase, D): New classes.
14636 (main): New local delta.
14637 * gdb.cp/class2.exp: Test printing delta.
14638 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
14639 (dynbar): New global.
14640 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
14641
081a1c2c
JK
146422015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14643
14644 * gdb.compile/compile-ifunc.c: New file.
14645 * gdb.compile/compile-ifunc.exp: New file.
14646
2f41223f
AT
146472015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
14648
14649 * gdb.base/structs.exp: Check for correct struct on finish.
14650
03eddd80
YQ
146512015-02-26 Yao Qi <yao.qi@linaro.org>
14652
14653 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
14654 is zero.
14655
80c57053
JK
146562015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14657
14658 * gdb.arch/cordic.ko.bz2: New file.
14659 * gdb.arch/cordic.ko.debug.bz2: New file.
14660 * gdb.arch/ppc64-symtab-cordic.exp: New file.
14661
21613c12
YQ
146622015-02-25 Yao Qi <yao.qi@linaro.org>
14663
14664 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
14665 aarch64*-*-* target.
14666
d8b901ed
PA
146672015-02-23 Pedro Alves <palves@redhat.com>
14668
14669 * lib/gdb.exp (delete_breakpoints): Rewrite using
14670 gdb_test_multiple.
14671
e5b85ead
PA
146722015-02-23 Pedro Alves <palves@redhat.com>
14673
14674 * gdb.base/info-os.c: Include stdlib.h.
14675
85c3a371
DE
146762015-02-22 Doug Evans <xdje42@gmail.com>
14677
14678 PR symtab/17855
14679 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
14680 is read after symbols have been re-read.
14681 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
14682 * gdb.ada/exec_changed/second.adb (Second): Ditto.
14683
96553a0c
DE
146842015-02-21 Doug Evans <dje@google.com>
14685
14686 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
14687
97a0c697
JK
146882015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14689
14690 PR corefiles/17808
14691 * gdb.arch/i386-biarch-core.core.bz2: New file.
14692 * gdb.arch/i386-biarch-core.exp: New file.
14693
a47cd6e9
PA
146942015-02-21 Pedro Alves <palves@redhat.com>
14695
14696 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
14697 runto_main fails.
14698
c5facdc4
PA
146992015-02-20 Pedro Alves <palves@redhat.com>
14700
14701 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
14702 info probes.
14703
2db9a427
PA
147042015-02-20 Pedro Alves <palves@redhat.com>
14705
14706 * gdb.threads/multi-create-ns-info-thr.exp: New file.
14707
60fb7e9e
PA
147082015-02-20 Pedro Alves <palves@redhat.com>
14709
14710 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
14711 clean_restart before gdb_target_supports_trace.
14712
5c5019c2
PA
147132015-02-20 Pedro Alves <palves@redhat.com>
14714
14715 PR threads/18006
14716 * gdb.threads/clone-thread_db.c: New file.
14717 * gdb.threads/clone-thread_db.exp: New file.
14718
c9587f88
AT
147192015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
14720
14721 PR breakpoints/16812
14722 * gdb.base/catch-gdb-caused-signals.c: New file.
14723 * gdb.base/catch-gdb-caused-signals.exp: New file.
14724
f6a88844
JM
147252015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
14726
14727 * configure: Regenerated.
14728 * configure.ac: Use GDB_AC_TRANSFORM.
14729 * aclocal.m4: sinclude ../transform.m4.
14730
497c491b
JM
147312015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
14732
14733 * lib/dtrace.exp: New file.
14734 * gdb.base/dtrace-probe.exp: Likewise.
14735 * gdb.base/dtrace-probe.d: Likewise.
14736 * gdb.base/dtrace-probe.c: Likewise.
14737 * lib/pdtrace.in: Likewise.
14738 * configure.ac: Output variables with the transformed names of
14739 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
14740 * configure: Regenerated.
14741
03e98035
JM
147422015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
14743
14744 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
14745 expected message when trying to access $_probe_* convenience
14746 variables while not on a probe.
14747
63cc30e9
JK
147482015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14749
14750 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
14751
0703599a
PA
147522015-02-11 Pedro Alves <pedro@codesourcery.com>
14753
14754 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
14755 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
14756
7e60a48e
DE
147572015-02-10 Doug Evans <xdje42@gmail.com>
14758
14759 * lib/gdb.exp (gdb_load): Always return a result.
14760
01b088bc
PA
147612015-02-10 Pedro Alves <palves@redhat.com>
14762
14763 * gdb.threads/signal-sigtrap.c: New file.
14764 * gdb.threads/signal-sigtrap.exp: New file.
14765
b05ec7a5
AT
147662015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
14767
14768 * gdb.trace/no-attach-trace.c: New file.
14769 * gdb.trace/no-attach-trace.exp: New file.
14770
a2c2acaf
MW
147712015-02-09 Mark Wielaard <mjw@redhat.com>
14772
14773 * gdb.dwarf2/atomic.c: New file.
14774 * gdb.dwarf2/atomic-type.exp: Likewise.
14775
31fd9caa
MM
147762015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14777
14778 * gdb.btrace/buffer-size.exp: Update "info record" output.
14779 * gdb.btrace/delta.exp: Update "info record" output.
14780 * gdb.btrace/enable.exp: Update "info record" output.
14781 * gdb.btrace/finish.exp: Update "info record" output.
14782 * gdb.btrace/instruction_history.exp: Update "info record" output.
14783 * gdb.btrace/next.exp: Update "info record" output.
14784 * gdb.btrace/nexti.exp: Update "info record" output.
14785 * gdb.btrace/step.exp: Update "info record" output.
14786 * gdb.btrace/stepi.exp: Update "info record" output.
14787 * gdb.btrace/nohist.exp: Update "info record" output.
14788
d33501a5
MM
147892015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14790
14791 * gdb.btrace/buffer-size: New.
14792
f4abbc16
MM
147932015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14794
14795 * gdb.btrace/delta.exp: Update "info record" output.
14796 * gdb.btrace/enable.exp: Update "info record" output.
14797 * gdb.btrace/finish.exp: Update "info record" output.
14798 * gdb.btrace/instruction_history.exp: Update "info record" output.
14799 * gdb.btrace/next.exp: Update "info record" output.
14800 * gdb.btrace/nexti.exp: Update "info record" output.
14801 * gdb.btrace/step.exp: Update "info record" output.
14802 * gdb.btrace/stepi.exp: Update "info record" output.
14803 * gdb.btrace/nohist.exp: Update "info record" output.
14804
b9d61307
SM
148052015-02-06 Simon Marchi <simon.marchi@ericsson.com>
14806
14807 PR gdb/15678
14808 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
14809
e584fdbc
PA
148102015-02-06 Pedro Alves <palves@redhat.com>
14811
14812 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
14813 macro.
14814 (seconds_left, again): New globals.
14815 (main): Wait seconds_left in a 1-second sleep loop instead of
14816 sleeping 180 seconds. If 'again' is set, reset the seconds
14817 counter.
14818 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
14819 'again' in the inferior before detaching. Print the seconds left.
14820 (options): New global.
14821 (top level): Build program with -DTIMEOUT=$timeout.
14822
77f41761
PA
148232015-02-06 Pedro Alves <palves@redhat.com>
14824
14825 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
14826 determine how many seconds to pass to 'alarm'.
14827 * gdb.base/gdb-sigterm.exp (top level): Build program with
14828 -DTIMEOUT=$timeout.
14829 (do_test): Return success/failure indication. Add more verbose
14830 logging. Don't fail if 200 single steps are seen. Instead, fail
14831 when the test times out.
14832 (passes): New global.
14833 (top level): Break the testing loop if testing fails on any
14834 iteration. Use gdb_assert.
14835
b9394193
DB
148362015-02-04 Don Breazeal <donb@codesourcery.com>
14837
14838 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
14839 and initialize them.
14840 (ipc_cleanup): New function.
14841 (main): Don't declare shmid, semid, and msqid. Add a call to
14842 atexit so that we call ipc_cleanup on exit.
14843
42d9e528
PA
148442015-02-04 Pedro Alves <palves@redhat.com>
14845
14846 * boards/native-extended-gdbserver.exp: Remove any target variant
14847 specifications from the board name before clearing the isremote
14848 flag from board_info.
14849
ae6ae975
DE
148502015-01-31 Doug Evans <xdje42@gmail.com>
14851
14852 * gdb.base/maint.exp <maint print type argc>: Update expected output.
14853
cfb069a8
GB
148542015-01-31 Gary Benson <gbenson@redhat.com>
14855
14856 * gdb.base/completion.exp: Disable completion limiting for
14857 existing tests. Add new tests to check completion limiting.
14858 * gdb.linespec/ls-errs.exp: Disable completion limiting.
14859
5dd31d79
DE
148602015-01-31 Doug Evans <xdje42@gmail.com>
14861
14862 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
14863
9f050062
DE
148642015-01-31 Doug Evans <xdje42@gmail.com>
14865
14866 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
14867 entries. Duplicate file section script entries.
14868 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
14869 inlined entries. Add test for safe-path rejection.
14870 * gdb.python/py-section-script.c: Add duplicate inlined section script
14871 entries. Duplicate file section script entries.
14872 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
14873 inlined entries. Add test for safe-path rejection.
14874
df25ebbd
JB
148752015-01-29 Joel Brobecker <brobecker@adacore.com>
14876
14877 * gdb.ada/disc_arr_bound: New testcase.
14878
4a0ca9ec
JB
148792015-01-29 Joel Brobecker <brobecker@adacore.com>
14880
14881 * gdb.ada/mi_var_array: New testcase.
14882
3a8b707a
DE
148832015-01-27 Doug Evans <dje@google.com>
14884
14885 * gdb.python/py-objfile.exp: Add tests for objfile.username.
14886 Add test for objfile.filename, objfile.username after objfile
14887 has been unloaded.
14888
f8313f6e
JB
148892015-01-26 Joel Brobecker <brobecker@adacore.com>
14890
14891 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
14892 the second test to print the name attribute of value
14893 returned by the call to gdb.lookup_type, and adjust
14894 the expected output accordingly.
14895
37bc665e
MW
148962015-01-25 Mark Wielaard <mjw@redhat.com>
14897
14898 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
14899 * gdb.base/disp-step-fork.c: Include unistd.h.
14900 * gdb.base/siginfo-obj.c: Include stdio.h.
14901 * gdb.base/siginfo-thread.c: Likewise.
14902 * gdb.mi/non-stop.c: Include unistd.h.
14903 * gdb.mi/nsthrexec.c: Include stdio.h.
14904 * gdb.mi/pthreads.c: Include unistd.h.
14905 * gdb.modula2/unbounded1.c (main): Declare returns int.
14906 * gdb.reverse/consecutive-reverse.c: Likewise.
14907 * gdb.threads/create-fail.c: Include unistd.h.
14908 * gdb.threads/killed.c: Likewise.
14909 * gdb.threads/linux-dp.c: Likewise.
14910 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
14911 * gdb.threads/non-ldr-exc-2.c: Likewise.
14912 * gdb.threads/non-ldr-exc-3.c: Likewise.
14913 * gdb.threads/non-ldr-exc-4.c: Likewise.
14914 * gdb.threads/pthreads.c: Include unistd.h.
14915 (main): Declare returns int.
14916 * gdb.threads/tls-main.c (foo): New declaration.
14917 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
14918
f7e5394d
SM
149192015-01-23 Simon Marchi <simon.marchi@ericsson.com>
14920
14921 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
14922 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
14923
743649fd
MW
149242015-01-15 Mark Wielaard <mjw@redhat.com>
14925
14926 * gdb.base/noreturn-return.c: New file.
14927 * gdb.base/noreturn-return.exp: New file.
14928 * gdb.base/noreturn-finish.c: New file.
14929 * gdb.base/noreturn-finish.exp: New file.
14930
198297aa
PA
149312015-01-23 Pedro Alves <palves@redhat.com>
14932
14933 * gdb.threads/continue-pending-after-query.c: New file.
14934 * gdb.threads/continue-pending-after-query.exp: New file.
14935
717cf30c
AG
149362015-01-22 Anders Granlund <anders.granlund@ericsson.com>
14937 Simon Marchi <simon.marchi@ericsson.com>
14938
14939 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
14940 * gdb.base/valgrind-db-attach.exp: Same.
14941 * gdb.base/valgrind-infcall.exp: Same.
14942 * lib/mi-support.exp (default_mi_gdb_start): Same.
14943 * lib/prompt.exp (default_prompt_gdb_start): Same.
14944 * lib/gdb.exp (default_gdb_spawn): Same.
14945 (gdb_interact): New.
14946
14947
4b62a76e
JK
149482015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14949
14950 * gdb.compile/compile.exp (pointer to jit function): New test.
14951
b4cdae6f
WW
149522015-01-17 Wei-cheng Wang <cole945@gmail.com>
14953
14954 * lib/gdb.exp (supports_process_record): Return true for
14955 powerpc*-*-linux*.
14956 (supports_reverse): Likewise.
14957
d221e7ef
DB
149582015-01-15 Don Breazeal <donb@codesourcery.com>
14959
14960 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
14961 instead of checking whether the target board is remote and
14962 use spawn_wait_for_attach instead of exec/sleep.
14963 * gdb.base/attach-twice.exp: Likewise.
14964
bafffb51
JB
149652015-01-15 Joel Brobecker <brobecker@adacore.com>
14966
14967 * gdb.ada/var_arr_attrs: New testcase.
14968
5589af0e
PA
149692015-01-14 Pedro Alves <palves@redhat.com>
14970 Joel Brobecker <brobecker@adacore.com>
14971
14972 PR gdb/17525
14973 * gdb.base/bp-cmds-execution-x-script.c: New file.
14974 * gdb.base/bp-cmds-execution-x-script.exp: New file.
14975 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
14976
6c400b59
PA
149772015-01-14 Pedro Alves <palves@redhat.com>
14978
14979 PR cli/17828
14980 * gdb.base/batch-preserve-term-settings.c: New file.
14981 * gdb.base/batch-preserve-term-settings.exp: New file.
14982
e02c96a7
DE
149832015-01-13 Doug Evans <dje@google.com>
14984
14985 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
14986 binary.
14987
576fd14c
JB
149882015-01-13 Joel Brobecker <brobecker@adacore.com>
14989
14990 * Makefile.in (clean mostlyclean): Do not delete *.py.
14991
04dccad0
JB
149922015-01-13 Joel Brobecker <brobecker@adacore.com>
14993
14994 * gdb.python/py-lookup-type.exp: New file.
14995
3d230f71
PA
149962015-01-12 Pedro Alves <palves@redhat.com>
14997
14998 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
14999 restore GDBFLAGS before returning.
15000
7e67715d
JK
150012015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15002
15003 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
15004 is_amd64_regs_target and is_x86_like_target.
15005
f2e0d4b4
DE
150062015-01-11 Doug Evans <xdje42@gmail.com>
15007
15008 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
15009 is given without an explicit form.
15010 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
15011 attributes.
15012 * gdb.dwarf/corrupt.exp: Ditto.
15013 * gdb.dwarf2/enum-type.exp: Ditto.
15014 * gdb.trace/entry-values.exp: Ditto.
15015 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
15016
439250fb
DE
150172015-01-11 Doug Evans <xdje42@gmail.com>
15018
15019 PR gdb/15830
15020 * gdb.base/maint.exp: Remove references to "maint demangle".
15021 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
15022 Add tests for explicitly specifying language to demangle.
15023 * gdb.dlang/demangle.exp: Ditto.
15024
ede9f622
PA
150252015-01-09 Pedro Alves <palves@redhat.com>
15026
15027 * gdb.threads/non-stop-fair-events.c: New file.
15028 * gdb.threads/non-stop-fair-events.exp: New file.
15029
a7b796db
PA
150302015-01-09 Pedro Alves <palves@redhat.com>
15031
15032 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
15033 the global scope. Set a breakpoint after all threads are started
15034 rather than stepping over two source lines. Expect the prompt.
15035 * gdb.base/watch_thread_num.c (threads_started_barrier): New
15036 global.
15037 (NUM): Now 15.
15038 (main): Use threads_started_barrier to wait for all threads to
15039 start. Main thread no longer calls thread_function. Exit after
15040 180 seconds.
15041 (loop): New function.
15042 (thread_function): Wait on threads_started_barrier barrier. Call
15043 'loop' at each iteration.
15044 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
15045 threads have started, instead of hardcoding number of "next"
15046 steps. Use an access watchpoint instead of a write watchpoint.
15047
9665ffdd
PA
150482015-01-09 Pedro Alves <palves@redhat.com>
15049
15050 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
15051 (thread_func): Wait on barrier.
15052 (main): Wait for all threads to start before stopping GDB.
15053 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
15054 global.
15055 (thread1_func, thread2_func): Wait on barrier.
15056 (main): Wait for all threads to start before stopping GDB.
15057 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
15058 New global.
15059 (thread1_func, thread2_func): Wait on barrier.
15060 (main): Wait for all threads to start before stopping GDB.
15061
c945a99f
PA
150622015-01-09 Pedro Alves <palves@redhat.com>
15063
15064 * gdb.threads/attach-many-short-lived-threads.c: New file.
15065 * gdb.threads/attach-many-short-lived-threads.exp: New file.
15066
c1a747c1
PA
150672014-01-09 Pedro Alves <palves@redhat.com>
15068
15069 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
15070 instead of to thread 2.
15071 * gdb.threads/signal-command-multiple-signals-pending.c (main):
15072 Add barrier around each pthread_create call instead of around all
15073 calls.
15074 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
15075 Set a break on thread_function and have the child threads hit it
15076 one at at a time.
15077
60b3033e
PA
150782015-01-09 Pedro Alves <palves@redhat.com>
15079
15080 * lib/gdb.exp (can_spawn_for_attach): New procedure.
15081 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
15082 false.
15083 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
15084 checking whether the target board is remote.
15085 * gdb.multi/multi-attach.exp: Likewise.
15086 * gdb.python/py-sync-interp.exp: Likewise.
15087 * gdb.server/ext-attach.exp: Likewise.
15088 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
15089 tests that need to attach, instead of checking whether the target
15090 board is remote at the top of the file.
15091
acc018ac
YQ
150922015-01-08 Yao Qi <yao@codesourcery.com>
15093
15094 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
15095
50a18af8
JK
150962015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15097
15098 Fix testcase compilation.
15099 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
15100
8503d6e1
JB
151012015-01-06 Joel Brobecker <brobecker@adacore.com>
15102
15103 * gdb.python/py-type.exp: Add a couple test about empty
15104 array creation, and negative-length array creation.
15105
cc73dbcc
DE
151062015-01-02 Doug Evans <xdje42@gmail.com>
15107
15108 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
15109
0300bbc7
DE
151102015-01-02 Doug Evans <dje@google.com>
15111
15112 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
15113
9d85a0ec
YQ
151142014-12-29 Yao Qi <yao@codesourcery.com>
15115
15116 * gdb.trace/entry-values.exp: Update comments. Rename variable
15117 bar_call_foo to returned_from_foo.
15118
87186c6a
MMN
151192014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
15120
15121 PR gdb/17394
15122 * gdb.linespec/break-asm-file.c: New file.
15123 * gdb.linespec/break-asm-file.exp: New file.
15124 * gdb.linespec/break-asm-file0.s: New file.
15125 * gdb.linespec/break-asm-file1.s: New file.
15126
1bab7383
YQ
151272014-12-18 Nigel Stephens <nigel@mips.com>
15128 Maciej W. Rozycki <macro@codesourcery.com>
15129
15130 * gdb.base/float.exp: Handle the new output from "info float" on
15131 MIPS targets.
15132
1bc1068a
JK
151332014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
15134
15135 Fix MinGW compilation.
15136 * gdb.compile/compile-ops.exp: Update untested message if
15137 !skip_compile_feature_tests.
15138 * gdb.compile/compile-setjmp.exp: Likewise.
15139 * gdb.compile/compile-tls.exp: Likewise.
15140 * gdb.compile/compile.exp: Likewise.
15141 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
15142 supported on this host".
15143
b6615d10
DE
151442014-12-16 Doug Evans <xdje42@gmail.com>
15145
15146 * boards/stabs.exp: New file.
15147
25dda427
AA
151482014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
15149
15150 * gdb.base/completion.exp: Adjust to format changes of "maint
15151 print user-registers".
15152
bf330350
CU
151532014-12-16 Catalin Udma <catalin.udma@freescale.com>
15154
15155 PR server/17457
15156 * gdb.arch/aarch64-fp.c: New file.
15157 * gdb.arch/aarch64-fp.exp: New file.
15158
395cf596
SDJ
151592014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
15160
15161 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
15162 r210637, r210913, r211666, r215400, r215817).
15163
15164 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
15165 * dg-extract-results.py: New file.
15166 * dg-extract-results.sh: Use it if the environment seems
15167 suitable.
15168
15169 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
15170
15171 * dg-extract-results.py (parse_run): Handle warnings that
15172 are printed before a test harness is run.
15173
15174 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
15175
15176 * dg-extract-results.py (Named): Remove __cmp__ method.
15177 (output_variation): Use a key to sort variation.harnesses.
15178
15179 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
15180
15181 * dg-extract-results.py: For Python 3, force sys.stdout to
15182 handle surrogate escape sequences.
15183 (safe_open): New function.
15184 (output_segment, main): Use it.
15185
15186 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
15187
15188 * dg-extract-results.py (Prog.result_re): Include options
15189 in test name.
15190
15191 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
15192
15193 * dg-extract-results.py (output_variation): Always sort if
15194 do_sum.
15195
e882ef3c
SM
151962014-12-15 Simon Marchi <simon.marchi@ericsson.com>
15197
15198 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
15199 as long as we get pagination notifications.
15200
4992aa20
JM
152012014-12-15 Jason Merrill <jason@redhat.com>
15202
15203 * Makefile.in (check-gdb.%): Restore.
15204 * README: Mention it.
15205
c1b5a1a6
JB
152062014-12-13 Joel Brobecker <brobecker@adacore.com>
15207
15208 * gdb.ada/str_uninit: New testcase.
15209
5537b577
JK
152102014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15211
15212 PR symtab/17642
15213 * gdb.base/vla-stub-define.c: New file.
15214 * gdb.base/vla-stub.c: New file.
15215 * gdb.base/vla-stub.exp: New file.
15216
bb2ec1b3
TT
152172014-12-12 Phil Muldoon <pmuldoon@redhat.com>
15218 Jan Kratochvil <jan.kratochvil@redhat.com>
15219 Tom Tromey <tromey@redhat.com>
15220
15221 * configure.ac: Add gdb.compile/.
15222 * configure: Regenerate.
15223 * gdb.compile/Makefile.in: New file.
15224 * gdb.compile/compile-ops.exp: New file.
15225 * gdb.compile/compile-ops.c: New file.
15226 * gdb.compile/compile-tls.c: New file.
15227 * gdb.compile/compile-tls.exp: New file.
15228 * gdb.compile/compile-constvar.S: New file.
15229 * gdb.compile/compile-constvar.c: New file.
15230 * gdb.compile/compile-mod.c: New file.
15231 * gdb.compile/compile-nodebug.c: New file.
15232 * gdb.compile/compile-setjmp-mod.c: New file.
15233 * gdb.compile/compile-setjmp.c: New file.
15234 * gdb.compile/compile-setjmp.exp: New file.
15235 * gdb.compile/compile-shlib.c: New file.
15236 * gdb.compile/compile.c: New file.
15237 * gdb.compile/compile.exp: New file.
15238 * lib/gdb.exp (skip_compile_feature_tests): New proc.
15239
4ff709eb
TT
152402014-12-12 Tom Tromey <tromey@redhat.com>
15241
15242 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
15243 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
15244
6dddd6a5
DE
152452014-12-12 Doug Evans <dje@google.com>
15246
15247 * lib/gdb-python.exp (get_python_valueof): New function.
15248 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
15249
71c24708
AA
152502014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
15251
15252 * gdb.base/completion.exp: Add test for completion of "info
15253 registers ".
15254
3e29f34a
MR
152552014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
15256
15257 * gdb.base/func-ptrs.c: New file.
15258 * gdb.base/func-ptrs.exp: New file.
15259
fc126975
SM
152602014-12-10 Simon Marchi <simon.marchi@ericsson.com>
15261
15262 PR breakpoints/17012
15263 * gdb.base/dprintf-detach.c: New file.
15264 * gdb.base/dprintf-detach.exp: New file.
15265
0a46d518
SM
152662014-12-10 Simon Marchi <simon.marchi@ericsson.com>
15267
15268 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
15269 * lib/gdb.exp (target_is_gdbserver): New procedure.
15270
a0be3e44
DE
152712014-12-08 Doug Evans <dje@google.com>
15272
15273 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
15274
df1b803a
YQ
152752014-12-05 Yao Qi <yao@codesourcery.com>
15276
15277 * gdb.guile/scm-error.exp: Remove the third argument to
15278 gdb_remote_download.
15279 * gdb.guile/scm-frame-args.exp: Likewise.
15280 * gdb.guile/scm-section-script.exp: Likewise.
15281
ddb9f679
YQ
152822014-12-05 Yao Qi <yao@codesourcery.com>
15283
15284 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
15285
86e4ed39
DE
152862014-12-04 Doug Evans <dje@google.com>
15287
15288 * gdb.python/py-objfile.exp: Add tests for
15289 objfile.add_separate_debug_file.
15290
7c50a931
DE
152912014-12-04 Doug Evans <dje@google.com>
15292
15293 * lib/gdb.exp (get_build_id): New function.
15294 (build_id_debug_filename_get): Rewrite to use it.
15295 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
15296
621661e3
MR
152972014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
15298
15299 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
15300 `method(long)', not just 0x0.
15301 * gdb.cp/nsalias.exp: Align code labels to 4.
15302 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
15303 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
15304 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
15305 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
15306 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
15307 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
15308
29f0c3b7
DE
153092014-12-02 Doug Evans <dje@google.com>
15310
e1e061e7 15311 PR symtab/17602
29f0c3b7 15312 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 15313 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
15314 * gdb.cp/anon-ns.exp: Update.
15315
162078c8
NB
153162014-12-02 Nick Bull <nicholaspbull@gmail.com>
15317
15318 * gdb.python/py-events.py (inferior_call_handler): New.
15319 (register_changed_handler, memory_changed_handler): New.
15320 (test_events.invoke): Register new handlers.
15321 * gdb.python/py-events.exp: Add tests for inferior call,
15322 memory_changed and register_changed events.
15323
fdb09caf
AA
153242014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
15325
15326 * gdb.base/execl-update-breakpoints.exp: Specify the link address
15327 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
15328 if the linker doesn't understand this.
15329
55cfb2c4
SM
153302014-12-01 Simon Marchi <simon.marchi@ericsson.com>
15331
15332 * gdb.python/python.exp: Change expected reply to help().
15333
9e8cd6df
YQ
153342014-12-01 Yao Qi <yao@codesourcery.com>
15335
15336 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
15337 AC_CONFIG_SUBDIRS(gdb.gdbtk).
15338 * configure: Re-generated.
15339
6c659fc2
SC
153402014-11-28 Siva Chandra Reddy <sivachandra@google.com>
15341
15342 * gdb.cp/chained-calls.cc: New file.
15343 * gdb.cp/chained-calls.exp: New file.
15344 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
15345
d7fc3181
SM
153462014-11-28 Simon Marchi <simon.marchi@ericsson.com>
15347
15348 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
15349 * gdb.dwarf2/symtab-producer.exp: Same.
15350 * gdb.gdb/python-interrupts.exp: Same.
15351 * gdb.gdb/python-selftest.exp: Same.
15352 * gdb.python/py-linetable.exp: Same.
15353 * gdb.python/py-type.exp: Same.
15354 * gdb.python/py-value-cc.exp: Same.
15355 * gdb.python/py-value.exp: Same.
15356
10e79639
YQ
153572014-11-28 Yao Qi <yao@codesourcery.com>
15358
15359 * gdb.base/break-probes.exp: Match library name prefixed with
15360 sysroot.
15361
f28a0564
SM
153622014-11-27 Simon Marchi <simon.marchi@ericsson.com>
15363
15364 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
15365 test expected output. Add parentheses for the call to print.
15366 Remove L suffix from integers.
15367
3fe1ce1d
DE
153682014-11-26 Doug Evans <dje@google.com>
15369
15370 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
15371
84429e27
YQ
153722014-11-22 Yao Qi <yao@codesourcery.com>
15373
15374 * gdb.trace/entry-values.c: Remove asms.
15375 (foo): Add foo_label.
15376 (bar): Add bar_label.
15377 * gdb.trace/entry-values.exp: Remove code computing foo's
15378 length and bar's length.
15379 (Dwarf::assemble): Invoke function_range for bar and use
15380 MACRO_AT_func for foo.
15381
26741859
YQ
153822014-11-22 Yao Qi <yao@codesourcery.com>
15383
15384 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
15385 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
15386 Use .Lgcc43_procstart instead of gcc43.
15387
45e44d27
JB
153882014-11-21 Joel Brobecker <brobecker@adacore.com>
15389
15390 * gdb.ada/n_arr_bound: New testcase.
15391
458c8db8
SDJ
153922014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
15393
15394 PR breakpoints/10737
15395 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
15396 test_catch_syscall_multi_arch.
15397 (test_catch_syscall_multi_arch): New function.
15398
43f3e411
DE
153992014-11-20 Doug Evans <xdje42@gmail.com>
15400
15401 * gdb.base/maint.exp: Update expected output.
15402
0d7b2549
AA
154032014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
15404
15405 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
15406 4-byte instruction on S390.
15407
8908fca5
JB
154082014-11-19 Joel Brobecker <brobecker@adacore.com>
15409
15410 * gdb.ada/arr_arr: New testcase.
15411
4a46959e
JB
154122014-11-19 Joel Brobecker <brobecker@adacore.com>
15413
15414 * gdb.ada/pkd_arr_elem: New Testcase.
15415
470e2f4e
LM
154162014-11-18 Luis Machado <lgustavo@codesourcery.com>
15417
15418 * gdb.reverse/break-precsave: Expect completion message for
15419 core file reads.
15420 * gdb.reverse/consecutive-precsave.exp: Likewise.
15421 * gdb.reverse/finish-precsave.exp: Likewise.
15422 * gdb.reverse/i386-precsave.exp: Likewise.
15423 * gdb.reverse/machinestate-precsave.exp: Likewise.
15424 * gdb.reverse/sigall-precsave.exp: Likewise.
15425 * gdb.reverse/solib-precsave.exp: Likewise.
15426 * gdb.reverse/step-precsave.exp: Likewise.
15427 * gdb.reverse/until-precsave.exp: Likewise.
15428 * gdb.reverse/watch-precsave.exp: Likewise.
15429
a267f3ad
AA
154302014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15431
15432 * gdb.base/bp-permanent.c: Include unistd.h.
15433 * gdb.python/py-framefilter-mi.c (main): Add return type.
15434 * gdb.python/py-framefilter.c (main): Likewise.
15435 * gdb.trace/actions-changed.c (main): Likewise.
15436
12084a9a
AA
154372014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15438
15439 * gdb.mi/until.c: Add eye-catchers.
15440 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
15441 line numbers.
15442
dc7e1a77
AA
154432014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15444
15445 * gdb.base/condbreak.exp: Drop references to removed non-prototype
15446 function header variants in break1.c.
15447 * gdb.base/ena-dis-br.exp: Likewise.
15448 * gdb.base/hbreak2.exp: Likewise.
15449 * gdb.reverse/until-precsave.exp: Drop references to removed
15450 non-prototype function header variants in ur1.c.
15451 * gdb.reverse/until-reverse.exp: Likewise.
15452
41c77605
PM
154532014-11-17 Petr Machata <pmachata@redhat.com>
15454
15455 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
15456 ${_cu_offset_size} bytes abbrev offset.
15457
34248c3a
DE
154582014-11-15 Doug Evans <xdje42@gmail.com>
15459
15460 PR symtab/17559
15461 * gdb.base/line-symtabs.exp: New file.
15462 * gdb.base/line-symtabs.c: New file.
15463 * gdb.base/line-symtabs.h: New file.
15464
646da059
YQ
154652014-11-14 Yao Qi <yao@codesourcery.com>
15466
15467 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
15468 (func): Add label func_label.
15469 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
15470 Replace low_pc and high_pc with MACRO_AT_range.
15471 Replace name, low_pc and high_pc with MACRO_AT_func.
15472
9301ebe6
YQ
154732014-11-14 Yao Qi <yao@codesourcery.com>
15474
15475 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
15476 Replace name, low_pc and high_pc with MACRO_AT_func.
15477
f166b542
YQ
154782014-11-14 Yao Qi <yao@codesourcery.com>
15479
15480 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
15481 produce debug information.
15482 * gdb.dwarf2/implptr-optimized-out.S: Removed.
15483
0f6e71e3
YQ
154842014-11-14 Yao Qi <yao@codesourcery.com>
15485
15486 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
15487 object and get function length.
15488 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
15489 with MACRO_AT_func.
15490 (top-level): Replace gdb_compile and clean_restart with
15491 prepare_for_testing.
15492 * gdb.dwarf2/main.c (main): Add label main_label.
15493
876c4df9
YQ
154942014-11-14 Yao Qi <yao@codesourcery.com>
15495
15496 * lib/dwarf.exp (function_range): New procedure.
15497 (Dwarf::_handle_macro_at_func): New procedure.
15498 (Dwarf::_handle_macro_at_range): New procedure.
15499 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
15500
02ad9cf1
YQ
155012014-11-14 Yao Qi <yao@codesourcery.com>
15502
15503 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
15504 (_handle_attribute): New procedure.
15505
a59add0c
AA
155062014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15507
15508 * gdb.ada/cond_lang/foo.c (callme): Add return type.
15509 * gdb.base/call-sc.c (zed): Likewise.
15510 * gdb.base/checkpoint.c (main): Likewise.
15511 * gdb.base/dump.c (main): Likewise.
15512 * gdb.base/gcore.c (main): Likewise.
15513 * gdb.base/huge.c (main): Likewise.
15514 * gdb.base/multi-forks.c (main): Likewise.
15515 * gdb.base/pr10179-a.c (main): Likewise.
15516 * gdb.base/savedregs.c (main): Likewise.
15517 * gdb.base/sigaltstack.c (main): Likewise.
15518 * gdb.base/siginfo.c (main): Likewise.
15519 * gdb.base/structs.c (zed): Likewise.
15520 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
15521 * gdb.mi/mi-syn-frame.c (main): Likewise.
15522 * gdb.mi/until.c (foo, main): Likewise.
15523 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
15524 * gdb.base/solib-weak.c (foo): Declare.
15525 * gdb.base/attach-twice.c: Include stdio.h.
15526 * gdb.base/weaklib1.c: Likewise.
15527 * gdb.base/weaklib2.c: Likewise.
15528 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
15529 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
15530 unistd.h.
15531 * gdb.base/attach-pie-misread.c: Include stdlib.h.
15532 * gdb.mi/mi-exit-code.c: Likewise.
15533 * gdb.base/break-interp-lib.c: Include string.h.
15534 * gdb.base/coremaker.c: Likewise.
15535 * gdb.base/testenv.c: Likewise.
15536 * gdb.python/py-finish-breakpoint.c: Likewise.
15537 * gdb.base/inferior-died.c: Include sys/wait.h.
15538 * gdb.base/fileio.c: Include time.h.
15539 * gdb.base/async-shell.c: Include unistd.h.
15540 * gdb.base/dprintf-non-stop.c: Likewise.
15541 * gdb.base/info-os.c: Likewise.
15542 * gdb.mi/mi-console.c: Likewise.
15543 * gdb.mi/watch-nonstop.c: Likewise.
15544 * gdb.python/py-events.c: Likewise.
15545 * gdb.base/async.c (baz): Move up before its invocation.
15546 * gdb.base/code_elim2.c (my_global_func): Likewise.
15547 * gdb.base/skip-solib-lib.c (multiply): Likewise.
15548 * gdb.base/advance.c (func2): Likewise.
15549
3b5d5997
AA
155502014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15551
15552 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
15553 variant.
15554 * gdb.base/annota3.c: Likewise.
15555 * gdb.base/async.c: Likewise.
15556 * gdb.base/average.c: Likewise.
15557 * gdb.base/call-ar-st.c: Likewise.
15558 * gdb.base/call-rt-st.c: Likewise.
15559 * gdb.base/call-sc.c: Likewise.
15560 * gdb.base/call-strs.c: Likewise.
15561 * gdb.base/ending-run.c: Likewise.
15562 * gdb.base/execd-prog.c: Likewise.
15563 * gdb.base/exprs.c: Likewise.
15564 * gdb.base/foll-exec.c: Likewise.
15565 * gdb.base/foll-fork.c: Likewise.
15566 * gdb.base/foll-vfork.c: Likewise.
15567 * gdb.base/funcargs.c: Likewise.
15568 * gdb.base/gcore.c: Likewise.
15569 * gdb.base/jump.c: Likewise.
15570 * gdb.base/langs0.c: Likewise.
15571 * gdb.base/langs1.c: Likewise.
15572 * gdb.base/langs2.c: Likewise.
15573 * gdb.base/mips_pro.c: Likewise.
15574 * gdb.base/nodebug.c: Likewise.
15575 * gdb.base/opaque0.c: Likewise.
15576 * gdb.base/opaque1.c: Likewise.
15577 * gdb.base/recurse.c: Likewise.
15578 * gdb.base/run.c: Likewise.
15579 * gdb.base/scope0.c: Likewise.
15580 * gdb.base/scope1.c: Likewise.
15581 * gdb.base/setshow.c: Likewise.
15582 * gdb.base/setvar.c: Likewise.
15583 * gdb.base/shmain.c: Likewise.
15584 * gdb.base/shr1.c: Likewise.
15585 * gdb.base/shr2.c: Likewise.
15586 * gdb.base/sigall.c: Likewise.
15587 * gdb.base/signals.c: Likewise.
15588 * gdb.base/so-indr-cl.c: Likewise.
15589 * gdb.base/solib2.c: Likewise.
15590 * gdb.base/structs.c: Likewise.
15591 * gdb.base/sum.c: Likewise.
15592 * gdb.base/vforked-prog.c: Likewise.
15593 * gdb.base/watchpoint.c: Likewise.
15594 * gdb.reverse/shr2.c: Likewise.
15595 * gdb.reverse/until-reverse.c: Likewise.
15596 * gdb.reverse/ur1.c: Likewise.
15597 * gdb.reverse/watch-reverse.c: Likewise.
15598
066a77c5
AA
155992014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15600
15601 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
15602 variant.
15603 * gdb.base/sepdebug.exp: Drop references to removed code.
15604
4f204ea5
AA
156052014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15606
15607 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
15608 variant. Preserve original line numbering.
15609 * gdb.base/list1.c: Likewise.
15610
3b377a3a
AA
156112014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15612
15613 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
15614 variant.
15615 * gdb.base/break1.c: Likewise.
15616 * gdb.base/break.exp: Drop references to removed code.
15617
e444df73
AA
156182014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15619
15620 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
15621 variant.
15622
8008f2a7
AA
156232014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15624
15625 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
15626
a5a06887
AA
156272014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15628
15629 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
15630 logic into perform_all_tests() and invoke it with and without
15631 function header prototypes.
15632 (do_function_calls): Remove conditional XFAIL for PR 5318.
15633 (rerun_and_prepare): Remove duplicate code.
15634 (perform_all_tests): New. Main logic moved here.
15635
44dba9b9
AA
156362014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15637
15638 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
15639 code guarded by #ifdef NO_PROTOTYPES.
15640 (t_double_many_args): Likewise.
15641 (DEF_FUNC_MANY_ARGS_1): Likewise.
15642 (DEF_FUNC_VALUES_1): Likewise.
15643 (t_structs_ldc): Renamed from t_structs_fc in conditional code
15644 guarded by #ifdef PROTOTYPES.
15645
d1fbcd56
AA
156462014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15647
15648 * gdb.mi/mi-console.c: Add eye-catcher.
15649 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
15650 instead of literal line number.
15651
b0e59b8f
AA
156522014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15653
15654 * gdb.base/shr2.c: Add eye-catcher.
15655 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
15656 line number.
15657
78f98cca
AA
156582014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15659
15660 * gdb.base/jump.c: Add eye-catchers.
15661 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
15662 numbers.
15663
58fa2af0
AA
156642014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15665
15666 * gdb.base/execd-prog.c: Add eye-catchers.
15667 * gdb.base/foll-exec.c: Likewise.
15668 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
15669 line numbers.
15670
04e5059b
AA
156712014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15672
15673 * gdb.base/ending-run.c: Add eye-catchers.
15674 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
15675 literal line numbers.
15676
dbfdb174
AA
156772014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15678
15679 * gdb.base/call-rt-st.c: Add eye-catchers.
15680 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
15681 literal line numbers.
15682
888a2ade
AA
156832014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15684
15685 * gdb.base/call-ar-st.c: Add eye-catchers.
15686 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
15687 literal line numbers.
15688
6acc2dde
AA
156892014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15690
15691 * gdb.base/average.c: Add eye-catchers.
15692 * gdb.base/sum.c: Likewise.
15693 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
15694 regexps dynamically.
15695
9ecfcd1d
AA
156962014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15697
15698 * gdb.base/solib1.c: Add eye-catchers.
15699 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
15700 literal line numbers.
15701
78708b7c
PA
157022014-11-12 Pedro Alves <palves@redhat.com>
15703
15704 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
15705 leader has exited.
15706
af48d08f
PA
157072014-11-12 Pedro Alves <palves@redhat.com>
15708
15709 * gdb.arch/i386-bp_permanent.c: New file.
15710 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
15711 (srcfile): Set to i386-bp_permanent.c.
15712 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
15713 that stepi does not execute the 'leave' instruction, instead of
15714 testing it does execute.
15715 * gdb.base/bp-permanent.c: New file.
15716 * gdb.base/bp-permanent.exp: New file.
15717
af3768e9
DE
157182014-11-10 Doug Evans <xdje42@gmail.com>
15719
15720 PR symtab/17564
15721 * gdb.base/symtab-search-order.exp: New file.
15722 * gdb.base/symtab-search-order.c: New file.
15723 * gdb.base/symtab-search-order-1.c: New file.
15724 * gdb.base/symtab-search-order-shlib-1.c: New file.
15725
9de00a4a
PA
157262014-11-07 Pedro Alves <palves@redhat.com>
15727
15728 PR gdb/17511
15729 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
15730 i?86-*-linux*.
15731
e0f52461
SC
157322014-11-03 Siva Chandra Reddy <sivachandra@google.com>
15733
15734 PR c++/17494
15735 * gdb.cp/pr17494.cc: New file.
15736 * gdb.cp/pr17494.exp: New file.
15737
6ce8c980
YQ
157382014-11-02 Yao Qi <yao@codesourcery.com>
15739
15740 * gdb.python/python.exp: Get working directory and match the
15741 output of "set extended-prompt \\w " with it.
15742
02be9a71
DE
157432014-10-30 Doug Evans <dje@google.com>
15744
15745 * gdb.python/py-objfile.exp: Add tests for setting random attributes
15746 in objfiles.
15747 * gdb.python/py-progspace.exp: Add tests for setting random attributes
15748 in progspaces.
15749
3bdff46b
LM
157502014-10-30 Janis Johnson <janisjo@codesourcery.com>
15751
15752 * gdb.base/fullpath-expand.exp: Skip for a remote host.
15753 * gdb.base/realname-expand.exp: Likewise.
15754 * gdb.linespec/macro-relative.exp: Likewise.
15755
ab917dfb
PA
157562014-10-29 Pedro Alves <palves@redhat.com>
15757
15758 PR gdb/17408
15759 * gdb.threads/schedlock.c (some_function): New function.
15760 (call_function): New global.
15761 (MAYBE_CALL_SOME_FUNCTION): New macro.
15762 (thread_function): Call it.
15763 * gdb.threads/schedlock.exp (get_args): Add description parameter,
15764 and use it instead of a global counter. Adjust all callers.
15765 (get_current_thread): Use "find current thread" for test message
15766 here rather than having all callers pass down the same string.
15767 (goto_loop): New procedure, factored out from ...
15768 (my_continue): ... this.
15769 (step_ten_loops): Change parameter from test message to command to
15770 use. Adjust.
15771 (list_count): Delete global.
15772 (check_result): New procedure, factored out from duplicate top
15773 level code.
15774 (continue tests): Wrap in with_test_prefix.
15775 (test_step): New procedure, factored out from duplicate top level
15776 code.
15777 (top level): Test "step" in combination with all scheduler-locking
15778 modes. Test "next" in combination with all scheduler-locking
15779 modes, and in combination with stepping over a function call or
15780 not.
15781 * gdb.threads/next-bp-other-thread.c: New file.
15782 * gdb.threads/next-bp-other-thread.exp: New file.
15783
d3d4baed
PA
157842014-10-29 Pedro Alves <palves@redhat.com>
15785
15786 PR python/17372
15787 * gdb.python/python.exp: Test a multi-line command that spawns
15788 interactive Python.
15789 * gdb.base/multi-line-starts-subshell.exp: New file.
15790
563e8d85
YQ
157912014-10-29 Yao Qi <yao@codesourcery.com>
15792
15793 * gdb.base/fileio.exp: Make directories on host.
15794
0ea4d52e
YQ
157952014-10-29 Yao Qi <yao@codesourcery.com>
15796
15797 * gdb.base/fileio.c (test_write): Close the file.
15798
7f5ef605
PA
157992014-10-28 Pedro Alves <palves@redhat.com>
15800
15801 PR gdb/12623
15802 * gdb.base/sigstep.c (no_handler): New global.
15803 (main): If 'no_handler is true, set the signal handlers to
15804 SIG_IGN.
15805 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
15806 with_sw_watch and no_handler parameters. Handle them.
15807 (top level) <stepping over handler when stopped at a breakpoint
15808 test>: Add a test axis for testing with a software watchpoint, and
15809 another for testing with the signal handler set to SIG_IGN.
15810 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
15811 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
15812
abbdbd03
PA
158132014-10-28 Pedro Alves <palves@redhat.com>
15814
15815 PR gdb/17511
15816 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
15817 * gdb.base/sigstep.exp (other_handler_location): New global.
15818 (advance): Support stepping into the signal handler, and running
15819 commands while in the handler.
15820 (in_handler_map): New global.
15821 (top level): In the advance test, add combinations for getting
15822 into the handler with stepping commands, and for running commands
15823 in the handler. Add comment descripting the advancei tests.
15824
1df4399f
PA
158252014-10-28 Pedro Alves <palves@redhat.com>
15826
15827 * gdb.base/sigstep.exp: Use build_executable instead of
15828 prepare_for_testing.
15829 (top level): Move code that starts GDB, runs to main and creates a
15830 display to ...
15831 (restart): ... this new procedure.
15832 (top level): Move backtrace from signal handler test to ...
15833 (validate_backtrace): ... this new procedure.
15834 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
15835 with_test_prefix. Always restart GDB.
15836 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
15837 with_test_prefix. Always restart GDB. No need to delete
15838 breakpoints after the test.
15839 (test_skip_handler): Remove prefix parameter.
15840 (skip_over_handler, breakpoint_to_handler)
15841 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
15842 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
15843 restart GDB. No need to delete breakpoints after the test.
15844 (top level): Use foreach to call the test procedures with
15845 different commands.
15846
a5b6e449
PA
158472014-10-28 Pedro Alves <palves@redhat.com>
15848
15849 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
15850 instead of GNATS numbers.
15851 * gdb.base/sigbpt.exp: Likewise.
15852 * gdb.base/siginfo.exp: Likewise.
15853 * gdb.base/sigstep.exp: Likewise.
15854
e5f8a7cc
PA
158552014-10-27 Pedro Alves <palves@redhat.com>
15856
15857 * gdb.base/sigstep.c (dummy): New global.
15858 (main): Issue a couple writes to the new global.
15859 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
15860 procedures.
15861 (skip_over_handler): Use test_skip_handler.
15862 (top level): Call skip_over_handler for stepi and nexti too.
15863 (breakpoint_over_handler): Use test_skip_handler.
15864 (top level): Call breakpoint_over_handler for stepi and nexti too.
15865
763905a3
YQ
158662014-10-27 Yao Qi <yao@codesourcery.com>
15867
15868 * gdb.trace/tfile.c (adjust_function_address)
15869 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
15870 function descriptor.
15871
6f259a23
DB
158722014-10-24 Don Breazeal <donb@codesourcery.com>
15873
15874 * gdb.base/foll-fork.exp (test_follow_fork,
15875 catch_fork_child_follow): Check for updated fork messages emitted
15876 from infrun.c.
15877 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
15878 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
15879 vfork_and_exec_child_follow_through_step): Check for updated vfork
15880 messages emitted from infrun.c.
15881
09dd9a69
PA
158822014-10-24 Pedro Alves <palves@redhat.com>
15883
15884 * gdb.base/corefile.exp: Remove references to ultrix.
15885 * gdb.base/interrupt.exp: Likewise.
15886 * gdb.base/whatis.exp: Likewise.
15887 * gdb.gdb/selftest.exp: Likewise.
15888 * gdb.threads/manythreads.exp: Likewise.
15889 * gdb.threads/print-threads.exp: Likewise.
15890 * gdb.threads/pthreads.exp:: Likewise.
15891 * gdb.threads/schedlock.exp: Likewise.
15892
3433cfa5
SC
158932014-10-24 Siva Chandra Reddy <sivachandra@google.com>
15894
15895 * gdb.cp/non-trivial-retval.cc: Add a test case.
15896 * gdb.cp/non-trivial-retval.exp: Add a test.
15897
092f880b
YQ
158982014-10-20 Yao Qi <yao@codesourcery.com>
15899
15900 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
15901 * gdb.python/py-objfile-script-gdb.py: New file.
15902 * gdb.python/py-objfile-script.exp: Update reference to
15903 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
15904 of remote_download. Remove the dest file.
15905
acbdb7f3
YQ
159062014-10-20 Yao Qi <yao@codesourcery.com>
15907
15908 * gdb.base/checkpoint.exp: Don't remove file copied on host.
15909 * gdb.base/step-line.exp: Likewise.
15910 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
15911 * gdb.dwarf2/dw2-basic.exp: Likewise.
15912 * gdb.dwarf2/dw2-compressed.exp: Likewise.
15913 * gdb.dwarf2/dw2-filename.exp: Likewise.
15914 * gdb.dwarf2/dw2-intercu.exp: Likewise.
15915 * gdb.dwarf2/dw2-intermix.exp: Likewise.
15916 * gdb.dwarf2/dw2-producer.exp: Likewise.
15917 * gdb.dwarf2/mac-fileno.exp: Likewise.
15918 * gdb.python/py-frame-args.exp: Likewise.
15919 * gdb.python/py-framefilter.exp: Likewise.
15920 * gdb.python/py-mi.exp: Likewise.
15921 * gdb.python/py-objfile-script.exp: Likewise
15922 * gdb.python/py-pp-integral.exp: Likewise.
15923 * gdb.python/py-pp-re-notag.exp: Likewise.
15924 * gdb.python/py-prettyprint.exp: Likewise.
15925 * gdb.python/py-section-script.exp: Likewise.
15926 * gdb.python/py-typeprint.exp: Likewise.
15927 * gdb.python/py-xmethods.exp: Likewise.
15928 * gdb.stabs/weird.exp: Likewise.
15929 * gdb.xml/tdesc-regs.exp: Likewise.
15930
bd286a29
KCY
159312014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
15932
15933 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
15934 (out_cu): Use addr_len for the size of addresses.
15935 (out_line): Likewise. Size DW_LNE_set_address instruction
15936 according to addr_len.
15937 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
15938 (FUNC): Add START_INSNS to definition.
15939
673dc4a0
YQ
159402014-10-18 Yao Qi <yao@codesourcery.com>
15941
15942 * gdb.base/argv0-symlink.exp: Check argv[0] value if
15943 gdb_has_argv0 return true.
15944 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
15945 check [target_info exists noargs], check [gdb_has_argv0]
15946 instead.
15947 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
15948 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
15949 procedures.
15950
4ffbba72
DE
159512014-10-17 Doug Evans <dje@google.com>
15952
15953 * gdb.python/py-events.exp: Update expected output for clear_objfiles
15954 event.
15955 * gdb.python/py-events.py: Add clear_objfiles event.
15956
d096d8c1
DE
159572014-10-17 Doug Evans <dje@google.com>
15958
15959 * gdb.python/py-objfile.exp: Test progspace attribute.
15960
a80db015
LM
159612014-10-17 Luis Machado <lgustavo@codesourcery.com>
15962
15963 * gdb.guile/scm-breakpoint.exp: Do not assume any
15964 directory separators when matching source file paths.
15965 * gdb.python/py-breakpoint.exp: Likewise.
15966 * gdb.reverse/break-precsave.exp: Likewise.
15967 * gdb.reverse/break-reverse.exp: Likewise.
15968 * gdb.reverse/consecutive-precsave.exp: Likewise.
15969 * gdb.reverse/finish-precsave.exp: Likewise.
15970 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
15971 * gdb.reverse/finish-reverse.exp: Likewise.
15972 * gdb.reverse/i386-precsave.exp: Likewise.
15973 * gdb.reverse/i387-env-reverse.exp: Likewise.
15974 * gdb.reverse/i387-stack-reverse.exp: Likewise.
15975 * gdb.reverse/machinestate-precsave.exp: Likewise.
15976 * gdb.reverse/machinestate.exp: Likewise.
15977 * gdb.reverse/sigall-precsave.exp: Likewise.
15978 * gdb.reverse/solib-precsave.exp: Likewise.
15979 * gdb.reverse/step-precsave.exp: Likewise.
15980 * gdb.reverse/until-precsave.exp: Likewise.
15981 * gdb.reverse/watch-precsave.exp: Likewise.
15982 * gdb.reverse/watch-reverse.exp: Likewise.
15983
b22089ab
YQ
159842014-10-17 Yao Qi <yao@codesourcery.com>
15985
15986 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
15987 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
15988
6c4486e6
PA
159892014-10-17 Pedro Alves <palves@redhat.com>
15990
15991 PR gdb/17471
15992 * gdb.base/bg-execution-repeat.c: New file.
15993 * gdb.base/bg-execution-repeat.exp: New file.
15994
0ff33695
PA
159952014-10-17 Pedro Alves <palves@redhat.com>
15996
15997 PR gdb/17300
15998 * gdb.base/continue-all-already-running.c: New file.
15999 * gdb.base/continue-all-already-running.exp: New file.
16000
6fdebc3d
PA
160012014-10-17 Pedro Alves <palves@redhat.com>
16002
16003 PR gdb/17472
16004 * gdb.base/annota-input-while-running.c: New file.
16005 * gdb.base/annota-input-while-running.exp: New file.
16006
32a8097b
PA
160072014-10-17 Pedro Alves <palves@redhat.com>
16008
16009 * gdb.base/callfuncs.exp: emove references to osf.
16010 * gdb.base/sigall.exp: Likewise.
16011 * gdb.gdb/selftest.exp: Likewise.
16012 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
16013 * gdb.mi/non-stop.c: Likewise.
16014 * gdb.mi/pthreads.c: Likewise.
16015 * gdb.reverse/sigall-precsave.exp: Likewise.
16016 * gdb.reverse/sigall-reverse.exp: Likewise.
16017 * gdb.threads/pthreads.c: Likewise.
16018 * gdb.threads/pthreads.exp: Likewise.
16019
7a3517ff
YQ
160202014-10-17 Yao Qi <yao@codesourcery.com>
16021
16022 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
16023 check 'target_info exists noargs'.
16024 (test_command_prompt_position): Likewise.
16025 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
16026 Remove "set args".
16027 (progvar_simple_while_test): Likewise.
16028 (progvar_complex_if_while_test): Likewise.
16029 (if_while_breakpoint_command_test): Likewise.
16030 (infrun_breakpoint_command_test): Likewise.
16031 (breakpoint_command_test): Likewise.
16032 (watchpoint_command_test): Likewise.
16033 (bp_deleted_in_command_test): Likewise.
16034 (temporary_breakpoint_commands): Likewise.
16035
bb99c472
YQ
160362014-10-16 Yao Qi <yao@codesourcery.com>
16037
16038 * gdb.base/remotetimeout.exp: Remove noargs checking.
16039
7c16b83e
PA
160402014-10-15 Pedro Alves <palves@redhat.com>
16041
16042 PR breakpoints/9649
16043 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
16044 * gdb.base/breakpoint-in-ro-region.exp
16045 (probe_target_hardware_step): New procedure.
16046 (top level): Probe hardware stepping and hardware breakpoint
16047 support. Test stepping through a read-only region, with both
16048 "breakpoint auto-hw" on and off and both "always-inserted" on and
16049 off.
16050
35a49624
IB
160512014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
16052
16053 * gdb.dlang/demangle.exp: Update for demangling changes.
16054
2d1c107c
SC
160552014-10-15 Siva Chandra Reddy <sivachandra@google.com>
16056
16057 * gdb.cp/non-trivial-retval.cc: Add new test cases.
16058 * gdb.cp/non-trivial-retval.exp: Add new tests.
16059
778811d5
SC
160602014-10-15 Siva Chandra Reddy <sivachandra@google.com>
16061
16062 PR c++/13403
16063 PR c++/15154
16064 * gdb.cp/non-trivial-retval.cc: New file.
16065 * gdb.cp/non-trivial-retval.exp: New file.
16066
10c5f0a8
YQ
160672014-10-15 Yao Qi <yao@codesourcery.com>
16068
16069 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
16070 remote host.
16071
65d7b369
YQ
160722014-10-15 Yao Qi <yao@codesourcery.com>
16073
16074 * gdb.python/py-symbol.exp: Match file base name if host is
16075 remote, otherwise match file name with dir name.
16076 * gdb.python/py-symtab.exp: Likewise.
16077 * gdb.python/python.exp: Likewise.
16078
46dc1394
YQ
160792014-10-15 Yao Qi <yao@codesourcery.com>
16080
16081 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
16082 pattern.
16083 * gdb.python/py-symtab.exp: Likewise.
16084 * gdb.python/python.exp: Remove trailing ".*". Fix typo
16085 locationn.
16086
c40cc657
JB
160872014-10-14 Joel Brobecker <brobecker@adacore.com>
16088
16089 * gdb.ada/addr_arith: New testcase.
16090
2abf49e1
MR
160912014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
16092
16093 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
16094 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
16095 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
16096 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
16097
f7088df3
SDJ
160982014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
16099
16100 * gdb.arch/stap-eval-lang-ada.S: Likewise.
16101 * gdb.arch/stap-eval-lang-ada.c: Likewise.
16102 * gdb.arch/stap-eval-lang-ada.exp: New file.
16103
4dc06805
YQ
161042014-10-14 Yao Qi <yao@codesourcery.com>
16105
16106 * gdb.mi/mi-var-child.c (nothing1): New function.
16107 (nothing2): New function.
16108 (do_children_tests): Set function pointers by nothing1 and
16109 nothing2.
16110 * gdb.mi/mi-var-child.exp: Step over new added statements.
16111 Update test to match the new output.
16112 * gdb.mi/var-cmd.c (nothing1): New function.
16113 (nothing2): New function.
16114 (do_children_tests): Set function pointers by nothing1 and
16115 nothing2.
16116 * gdb.mi/mi-var-display.exp: Update test to match output.
16117 Step to the line specified by $line_dct_nothing.
16118 Increase the number of lines to step.
16119
46a93de2
YQ
161202014-10-14 Yao Qi <yao@codesourcery.com>
16121
16122 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
16123 tests.
16124 * gdb.mi/mi2-var-child.exp: Likewise.
16125
14ea52ee
DE
161262014-10-13 Doug Evans <dje@google.com>
16127
16128 * gdb.python/py-objfile.exp: Change name of file name test.
16129
e5c6e92b
DE
161302014-10-13 Doug Evans <dje@google.com>
16131
16132 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
16133 from the start of the CU.
16134
c780cc2f
JK
161352014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
16136 Yao Qi <yao@codesourcery.com>
16137
16138 Fix "save breakpoints" for "catch" command.
16139 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
16140 Remove -nonewline. Match also the added "main" line.
16141
99894e11
JK
161422014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16143
16144 Fix "save breakpoints" for "disable $bpnum" command.
16145 * gdb.base/save-bp.c (main): Add label.
16146 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
16147
6e1ac5a3
JK
161482014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16149
16150 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
16151
754dd2b0
YQ
161522014-10-11 Yao Qi <yao@codesourcery.com>
16153
16154 * gdb.server/server-kill.exp: Execute command
16155 "set remote trace-status-packet on" before "tstatus".
16156
f90183d7
YQ
161572014-10-11 Yao Qi <yao@codesourcery.com>
16158
16159 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
16160 (main): Call getppid.
16161 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
16162 and continue to it. Read variable "server_pid".
16163
bf40a607
YQ
161642014-10-11 Yao Qi <yao@codesourcery.com>
16165
16166 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
16167
052ca370
YQ
161682014-10-11 Yao Qi <yao@codesourcery.com>
16169
16170 * gdb.threads/thread-find.exp: Don't execute command
16171 "info threads".
16172 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
16173 * gdb.threads/linux-dp.exp: Don't check the condition
16174 $threads_created equals to zero.
16175
3831839c
PA
161762014-10-10 Pedro Alves <palves@redhat.com>
16177
16178 * gdb.base/bigcore.exp: Remove references to IRIX.
16179 * gdb.base/funcargs.exp: Likewise.
16180 * gdb.base/interrupt.exp: Likewise.
16181 * gdb.base/mips_pro.exp: Likewise.
16182 * gdb.base/nodebug.exp: Likewise.
16183 * gdb.base/setvar.exp: Likewise.
16184 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
16185
8b9a549d
PA
161862014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
16187 Pedro Alves <palves@redhat.com>
16188
16189 PR symtab/14466
16190 * gdb.base/vdso-warning.c: New file.
16191 * gdb.base/vdso-warning.exp: New file.
16192
d48ba5e8
DE
161932014-10-02 Doug Evans <dje@google.com>
16194
16195 * gdb.base/structs.c (main): Don't run forever.
16196
2278c276
PA
161972014-10-02 Pedro Alves <palves@redhat.com>
16198
16199 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
16200 (top level) <stop threads 1, stop threads 2>: Use it.
16201
b57bacec
PA
162022014-10-02 Pedro Alves <palves@redhat.com>
16203
16204 * gdb.threads/break-while-running.exp (test): Add new
16205 'update_thread_list' argument. Skip "info threads" if false.
16206 (top level): Add new 'update_thread_list' axis.
16207
13fd3ff3
PA
162082014-10-02 Pedro Alves <palves@redhat.com>
16209
16210 PR breakpoints/17431
16211 * gdb.base/execl-update-breakpoints.c: New file.
16212 * gdb.base/execl-update-breakpoints.exp: New file.
16213
0fec99e8
PA
162142014-10-01 Pedro Alves <palves@redhat.com>
16215
16216 * gdb.base/breakpoint-in-ro-region.c: New file.
16217 * gdb.base/breakpoint-in-ro-region.exp: New file.
16218
2ddf4301
SM
162192014-10-01 Simon Marchi <simon.marchi@ericsson.com>
16220
16221 * gdb.mi/mi-exit-code.exp: New file.
16222 * gdb.mi/mi-exit-code.c: New file.
16223
6a5f3f43
YQ
162242014-09-30 Yao Qi <yao@codesourcery.com>
16225
16226 * lib/prelink-support.exp (build_executable_own_libs): Error if
16227 the target isn't native.
16228
345bcc73
YQ
162292014-09-30 Yao Qi <yao@codesourcery.com>
16230
16231 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
16232 false.
16233
a25a5a45
PA
162342014-09-22 Pedro Alves <palves@redhat.com>
16235
16236 * gdb.threads/break-while-running.exp: New file.
16237 * gdb.threads/break-while-running.c: New file.
16238
00ba3162
YQ
162392014-09-19 Yao Qi <yao@codesourcery.com>
16240
16241 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
16242 Invoke test. Restart GDB with --readnow and invoke test again.
16243
c3b7b696
YQ
162442014-09-19 Yao Qi <yao@codesourcery.com>
16245
16246 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
16247 proc set_breakpoint_on_gcd_function. Invoke
16248 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
16249 invoke set_breakpoint_on_gcd_function again.
16250
2b4fd423
DE
162512014-09-18 Doug Evans <dje@google.com>
16252
16253 * gdb.dwarf2/symtab-producer.exp: New file.
16254
a5947601
SDJ
162552014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
16256
16257 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
16258 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
16259 * gdb.base/global-var-nested-by-dso.c: Likewise.
16260 * gdb.base/global-var-nested-by-dso.exp: Likewise.
16261
91c19059
SDJ
162622014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
16263 Pedro Alves <palves@redhat.com>
16264
16265 * gdb.base/watch-bitfields.exp: Pass string other than test file
16266 name to prepare_for_testing.
16267 (watch): New procedure.
16268 (expect_watchpoint): Use with_test_prefix.
16269 (top level): Factor out tests to ...
16270 (test_watch_location, test_regular_watch): ... these new
16271 procedures, and use with_test_prefix and gdb_continue_to_end.
16272
bb9d5f81
PP
162732014-09-16 Patrick Palka <patrick@parcs.ath.cx>
16274
16275 PR breakpoints/12526
16276 * gdb.base/watch-bitfields.exp: New file.
16277 * gdb.base/watch-bitfields.c: New file.
16278
635856f5
PA
162792014-09-16 Pedro Alves <palves@redhat.com>
16280
16281 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
16282 software and hardware addresses, not software address against
16283 itself.
16284
7280ceea
PA
162852014-09-16 Pedro Alves <palves@redhat.com>
16286
16287 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
16288 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
16289
428b16bd
PA
162902014-09-16 Pedro Alves <palves@redhat.com>
16291
16292 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
16293 files.
16294 * gdb.base/a2-run.exp: Remove all code guarded by istarget
16295 "*-*-vxworks*" throughout.
16296 * gdb.base/break.exp: Likewise.
16297 * gdb.base/default.exp: Likewise.
16298 * gdb.base/scope.exp: Likewise.
16299 * gdb.base/sepdebug.exp: Likewise.
16300 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
16301 throughout.
16302 * gdb.base/run.c: Likewise.
16303 * gdb.base/sepdebug.c: Likewise.
16304 * gdb.hp/gdb.aCC/run.c: Likewise.
16305 * gdb.reverse/until-reverse.c: Likewise.
16306 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
16307
666d413c
YQ
163082014-09-16 Yao Qi <yao@codesourcery.com>
16309
16310 * boards/local-remote-host-native.exp: New file.
16311
57cbd724
DE
163122014-09-14 Doug Evans <xdje42@gmail.com>
16313
16314 * gdb.threads/queue-signal.c (thread_count): New variable.
16315 (thread_count_mutex, thread_count_condvar): New variables.
16316 (incr_thread_count, wait_all_threads_running): New functions.
16317 (main): Wait for all threads to be in their thread functions.
16318
81219e53
DE
163192014-09-13 Doug Evans <xdje42@gmail.com>
16320
16321 * gdb.threads/queue-signal.c: New file.
16322 * gdb.threads/queue-signal.exp: New file.
16323
3714cea7
DE
163242014-09-13 Doug Evans <xdje42@gmail.com>
16325
16326 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
16327 be consistent with what default_gdb_init uses.
16328 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
16329 the plain text of the prompt. Add some logging printfs.
16330 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
16331
fa43b1d7
PA
163322014-09-12 Pedro Alves <palves@redhat.com>
16333
16334 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
16335 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
16336 * gdb.arch/i386-size-overlap.exp: Likewise.
16337 * gdb.arch/i386-size.exp: Likewise.
16338 * gdb.arch/i386-unwind.exp: Likewise.
16339 * gdb.base/a2-run.exp: Likewise.
16340 * gdb.base/break.exp: Likewise.
16341 * gdb.base/charset.exp: Likewise.
16342 * gdb.base/chng-syms.exp: Likewise.
16343 * gdb.base/commands.exp: Likewise.
16344 * gdb.base/dbx.exp: Likewise.
16345 * gdb.base/find.exp: Likewise.
16346 * gdb.base/funcargs.exp: Likewise.
16347 * gdb.base/jit-simple.exp: Likewise.
16348 * gdb.base/reread.exp: Likewise.
16349 * gdb.base/sepdebug.exp: Likewise.
16350 * gdb.base/step-bt.exp: Likewise.
16351 * gdb.cp/mb-inline.exp: Likewise.
16352 * gdb.cp/mb-templates.exp: Likewise.
16353 * gdb.objc/basicclass.exp: Likewise.
16354 * gdb.threads/killed.exp: Likewise.
16355
9d9bf2df
EBM
163562014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16357
16358 PR tdep/17379
16359 * gdb.arch/powerpc-stackless.S: New file.
16360 * gdb.arch/powerpc-stackless.exp: New file.
16361
1cf2f1b0
JK
163622014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16363
16364 * gdb.base/attach.c: Include unistd.h.
16365 (main): Call alarm. Add label postloop.
16366 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
16367 gdb_breakpoint, gdb_continue_to_breakpoint.
16368 (test_command_line_attach_run): Kill ${testpid} in one exit path.
16369
98880d46
PA
163702014-09-11 Pedro Alves <palves@redhat.com>
16371
16372 PR gdb/17347
16373 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
16374 * gdb.base/attach.exp (test_command_line_attach_run): New
16375 procedure.
16376 (top level): Call it.
16377
4c92ff2c
PA
163782014-09-11 Pedro Alves <palves@redhat.com>
16379
16380 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
16381 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
16382 (do_command_attach_tests): Use spawn_wait_for_attach.
16383 * gdb.base/solib-overlap.exp: Likewise.
16384 * gdb.multi/multi-attach.exp: Likewise.
16385 * gdb.python/py-prompt.exp: Likewise.
16386 * gdb.python/py-sync-interp.exp: Likewise.
16387 * gdb.server/ext-attach.exp: Likewise.
16388
3adc1a7d
GKB
163892014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
16390
16391 * gdb.fortran/array-element.exp: Remove unexpected "continue"
16392 command in testcase. Simplify testcase.
16393
96334934
JB
163942014-09-10 Joel Brobecker <brobecker@adacore.com>
16395
16396 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
16397
eb479039
JB
163982014-09-10 Joel Brobecker <brobecker@adacore.com>
16399
16400 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
16401
deede10c
JB
164022014-09-10 Joel Brobecker <brobecker@adacore.com>
16403
16404 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
16405
7828a5f5
JB
164062014-09-10 Joel Brobecker <brobecker@adacore.com>
16407
16408 * gdb.dwarf2/dynarr-ptr.c: New file.
16409 * gdb.dwarf2/dynarr-ptr.exp: New file.
16410
33aeebcf
MR
164112014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16412
16413 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
16414 of 30 rather than hardcoding 120 for a slow test case. Take the
16415 `gdb,timeout' target setting into account for this calculation.
16416 Don't extend the timeout for the test cases that don't need it.
16417
7b415901
MR
164182014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16419
16420 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
16421 a factor of 2 for a slow test case. Take the `gdb,timeout'
16422 target setting into account for this calculation.
16423 * gdb.reverse/until-precsave.exp: Increase the timeout by
16424 a factor of 15 and 3 respectively rather than adding 120
16425 for a pair of slow test cases. Take the `gdb,timeout'
16426 target setting into account for this calculation.
16427
4a40f85a
MR
164282014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16429
16430 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
16431 timeout, don't pass one down to gdb_expect.
16432 (gdb_expect): Rework timeout selection.
16433
09635af7
MR
164342014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16435
16436 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
16437 exception on timeout.
16438 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
16439 (gdbserver_start_extended): Catch any `gdbserver_start' error
16440 exceptions.
16441 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
16442 * lib/mi-support.exp (mi_gdb_target_load): Catch any
16443 `gdbserver_gdb_load' error exceptions.
16444
2bdd10b7
MR
164452014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16446
16447 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
16448 120 on waiting for the TCP socket to open.
16449
316935f0
DE
164502014-09-09 Doug Evans <xdje42@gmail.com>
16451
16452 * gdb.base/default.exp (show_conv_list): Add _caller_is,
16453 _caller_matches, _any_caller_is, _any_caller_matches.
16454
83740597
DE
164552014-09-09 Doug Evans <xdje42@gmail.com>
16456
16457 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
16458
4c122fc3
YQ
164592014-09-09 Yao Qi <yao@codesourcery.com>
16460
16461 * gdb.mi/mi-var-display.exp: Set print symbol off.
16462
a9f116cb
GKB
164632014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
16464
16465 PR gdb/17035
16466 * gdb.base/commands.exp: Add tests to verify user-defined
16467 commands with empty bodies.
16468 * gdb.python/py-cmd.exp: Test that we don't show user-defined
16469 python commands in `show user command`.
16470 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
16471 scheme commands in `show user command`.
16472
c75bd3a2
JK
164732014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16474
16475 PR python/17355
16476 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
16477 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
16478 * gdb.python/py-framefilter-invalidarg.exp: New file.
16479 * gdb.python/py-framefilter-invalidarg.py: New file.
16480
faa42425
DE
164812014-09-06 Doug Evans <xdje42@gmail.com>
16482
16483 PR 15276
16484 * gdb.python/py-caller-is.c: New file.
16485 * gdb.python/py-caller-is.exp: New file.
16486
474ca4f6
SDJ
164872014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
16488
16489 PR gdb/17235
16490 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
16491 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
16492
eb0b0463
SDJ
164932014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
16494
16495 PR fortran/17237
16496 * gdb.fortran/print-formatted.exp: New file.
16497 * gdb.fortran/print-formatted.f90: Likewise.
16498
5f3b99cf
SS
164992014-09-03 Sasha Smundak <asmundak@google.com>
16500
16501 * gdb.python/py-frame.exp: Test Frame.read_register.
16502
7d793aa9
SDJ
165032014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
16504
16505 PR python/16699
16506 * gdb.python/py-completion.exp: New file.
16507 * gdb.python/py-completion.py: Likewise.
16508
fb0576e9
DE
165092014-08-28 Doug Evans <dje@google.com>
16510
16511 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
16512 eax,etc. are live with values set by gdb and thus the compiler can't
16513 use them.
16514 * gdb.arch/i386-pseudo.c (main): Ditto.
16515
ee92b0dd
DE
165162014-08-27 Doug Evans <dje@google.com>
16517
16518 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
16519
6649db35
DE
165202014-08-25 Doug Evans <dje@google.com>
16521
16522 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
16523 (main): Ditto.
16524
564b7600
DE
165252014-08-25 Doug Evans <dje@google.com>
16526
16527 * gdb.threads/thread-execl.exp: #include <stdio.h>.
16528
3881fb67
YQ
165292014-08-24 Yao Qi <yao@codesourcery.com>
16530
16531 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
16532 symbol off.
16533 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
16534
a05a36a5
DE
165352014-08-22 Doug Evans <dje@google.com>
16536
16537 PR 17276
16538 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
16539 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
16540 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
16541
7c343b48
YQ
165422014-08-22 Yao Qi <yao@codesourcery.com>
16543
16544 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
16545 * gdb.python/py-finish-breakpoint2.exp: Likewise.
16546 * gdb.python/python.exp: Likewise. Use .py file on the host
16547 instead of the build.
16548
22fd09ae
JK
165492014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16550
16551 * gdb.threads/gcore-stale-thread.c: New file.
16552 * gdb.threads/gcore-stale-thread.exp: New file.
16553
a8454a7c
PA
165542014-08-21 Pedro Alves <palves@redhat.com>
16555
16556 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
16557 * gdb.base/gcore-relro-pie.exp: Likewise.
16558 * gdb.base/gcore-relro.exp: Likewise.
16559 * gdb.base/gcore.exp: Likewise.
16560 * gdb.base/print-symbol-loading.exp: Likewise.
16561 * gdb.threads/gcore-thread.exp: Likewise.
16562 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
16563
2a31c623
PA
165642014-08-20 Pedro Alves <palves@redhat.com>
16565 Jan Kratochvil <jan.kratochvil@redhat.com>
16566
16567 * Makefile.in (EXTRA_RULES, CC): New variables, get from
16568 configure.
16569 (EXPECT): Handle READ1 being set.
16570 (all): Depend on EXTRA_RULES.
16571 (check-read1, expect-read1, read1.so, read1): New rules.
16572 * README (Testsuite Parameters): Document the READ1 make variable.
16573 (Race detection): New section.
16574 * configure: Regenerate.
16575 * configure.ac: If build==host==target, and running under a
16576 GNU/glibc system, add read1 to the extra Makefile rules.
16577 (EXTRA_RULES): AC_SUBST it.
16578 * lib/read1.c: New file.
16579
d36430db
JB
165802014-08-20 Joel Brobecker <brobecker@adacore.com>
16581
16582 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
16583 the handling of variables declared as a typedef to an array
16584 which a DW_AT_data_location attribute.
16585
9a0dc9e3
PA
165862014-08-19 Andrew Burgess <aburgess@broadcom.com>
16587 Pedro Alves <palves@redhat.com>
16588
16589 PR symtab/14604
16590 PR symtab/14605
16591 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
16592 gdb_test.
16593
0718a8da
PA
165942014-08-19 Pedro Alves <palves@redhat.com>
16595
16596 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
16597
13b448cd
YQ
165982014-08-19 Yao Qi <yao@codesourcery.com>
16599
16600 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
16601 right line.
16602
1cbf5077
DB
166032014-08-18 David Blaikie <dblaikie@gmail.com>
16604
16605 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
16606
bf0fae19
JB
166072014-08-18 Joel Brobecker <brobecker@adacore.com>
16608
16609 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
16610 attribute in array range.
16611
3c8c5dcc
JB
166122014-08-18 Joel Brobecker <brobecker@adacore.com>
16613
16614 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
16615
e66d4446
SC
166162014-08-15 Siva Chandra Reddy <sivachandra@google.com>
16617
16618 PR c++/17132
16619 * gdb.cp/pr17132.cc: New file.
16620 * gdb.cp/pr17132.exp: New file.
16621
940df408
SC
166222014-08-15 Siva Chandra Reddy <sivachandra@google.com>
16623
16624 * gdb.python/py-xmethods.py (A_getarrayind)
16625 (E_method_char_worker.__call__, E_method_int_worker.__call__):
16626 Use 'print' with function call syntax.
16627 (E_method_matcher.match): Fix tab vs space indentation mixup.
16628
ebcc6c3a
YQ
166292014-08-15 Yao Qi <yao@codesourcery.com>
16630
16631 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
16632 false.
16633
775e0f04
YQ
166342014-08-15 Yao Qi <yao@codesourcery.com>
16635
16636 * gdb.cp/casts.exp: Set print symbol off.
16637 * gdb.cp/class2.exp: Likewise.
16638 * gdb.cp/overload.exp: Likewise.
16639 * gdb.cp/templates.exp: Likewise.
16640
d769e349
DE
166412014-08-11 Doug Evans <dje@google.com>
16642
16643 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
16644 (test_load_shlib): Update.
16645
20c6f1e1
YQ
166462014-08-09 Yao Qi <yao@codesourcery.com>
16647
16648 * gdb.base/display.exp: Invoke is_address_zero_readable.
16649 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
16650 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
16651 * gdb.base/hbreak-unmapped.exp: Return if
16652 is_address_zero_readable returns true.
16653 * gdb.base/signest.exp: Likewise.
16654 * gdb.base/signull.exp: Likewise.
16655 * gdb.base/sigbpt.exp: Likewise.
16656 * gdb.guile/scm-disasm.exp: Do the test if
16657 is_address_zero_readable returns false.
16658 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
16659 * gdb.python/py-arch.exp: Likewise.
16660 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
16661 * lib/gdb.exp (is_address_zero_readable): New proc.
16662
5792e8e3
YQ
166632014-08-09 Yao Qi <yao@codesourcery.com>
16664
16665 PR testsuite/13443
16666 * gdb.mi/mi-var-display.exp: Make test messages unique.
16667
3cecbbbe
TT
166682014-08-04 Tom Tromey <tromey@redhat.com>
16669
16670 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
16671 target 0".
16672
00b51ff5
TT
166732014-08-04 Tom Tromey <tromey@redhat.com>
16674
16675 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
16676 "target_resume".
16677
6908c509
JB
166782014-08-01 Joel Brobecker <brobecker@adacore.com>
16679
16680 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
16681 inner_vla_struct_object_size.
16682 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
16683 as xfail.
16684
cc6563d2
PA
166852014-07-30 Pedro Alves <palves@redhat.com>
16686
16687 * gdb.threads/signal-command-handle-nopass.exp (test): Add
16688 comment.
16689
7e09a223
YQ
166902014-07-29 Yao Qi <yao@codesourcery.com>
16691
16692 PR gdb/17206
16693 * gdb.base/until-nodebug.exp: New.
16694
7ebdbe92
DE
166952014-07-28 Doug Evans <xdje42@gmail.com>
16696
16697 PR guile/17203
16698 * gdb.guile/scm-parameter.exp: Add tests for trying to create
16699 previously existing parameter, and previously ambiguously spelled
16700 parameter.
16701
fdb1adc6
WN
167022014-07-28 Will Newton <will.newton@linaro.org>
16703
16704 * gdb.base/varargs.exp: Remove KFAILs for ARM.
16705
186fcde0
DE
167062014-07-26 Ludovic Courtès <ludo@gnu.org>
16707 Doug Evans <xdje42@gmail.com>
16708
16709 PR guile/17146
16710 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
16711
70509625
PA
167122014-07-25 Pedro Alves <palves@redhat.com>
16713
16714 * gdb.threads/signal-command-handle-nopass.c: New file.
16715 * gdb.threads/signal-command-handle-nopass.exp: New file.
16716 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
16717 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
16718 * gdb.threads/signal-delivered-right-thread.c: New file.
16719 * gdb.threads/signal-delivered-right-thread.exp: New file.
16720
c3f814a1
PA
167212014-07-25 Pedro Alves <palves@redhat.com>
16722
16723 * gdb.base/double-prompt-target-event-error.exp
16724 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
16725 match.
16726 (cancel_pagination_in_target_event): Rework double prompt
16727 detection.
16728 * gdb.base/paginate-after-ctrl-c-running.exp
16729 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
16730 <return>' match.
16731 * gdb.base/paginate-bg-execution.exp
16732 (test_bg_execution_pagination_return)
16733 (test_bg_execution_pagination_cancel): Remove '-notransfer
16734 <return>' matches.
16735 * gdb.base/paginate-execution-startup.exp
16736 (test_fg_execution_pagination_return)
16737 (test_fg_execution_pagination_cancel): Remove '-notransfer
16738 <return>' matches.
16739 * gdb.base/paginate-inferior-exit.exp
16740 (test_paginate_inferior_exited): Remove '-notransfer <return>'
16741 match.
16742 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
16743 * lib/gdb.exp (pagination_prompt): Run text through
16744 string_to_regexp.
16745 (gdb_test_multiple): Match $pagination_prompt instead of
16746 "<return>".
16747 (string_to_regexp): Move to lib/gdb-utils.exp.
16748
e214cf6c
JK
167492014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16750
16751 * gdb.arch/amd64-entry-value-paramref.S: New file.
16752 * gdb.arch/amd64-entry-value-paramref.cc: New file.
16753 * gdb.arch/amd64-entry-value-paramref.exp: New file.
16754 * gdb.arch/amd64-optimout-repeat.S: New file.
16755 * gdb.arch/amd64-optimout-repeat.c: New file.
16756 * gdb.arch/amd64-optimout-repeat.exp: New file.
16757
17d0c5c8
JK
167582014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
16759
16760 PR gdb/17170
16761 * gdb.base/statistics.exp: New file.
16762
b8b8facf
DE
167632014-07-17 Doug Evans <dje@google.com>
16764
74b49205 16765 PR gdb/17170
b8b8facf
DE
16766 * gdb.base/maint.exp: Update testing of per-command stats.
16767
1b5d0ab3
PA
167682014-07-16 Pedro Alves <palves@redhat.com>
16769
16770 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
16771 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
16772 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
16773 (tfile_write_buf): New functions.
16774 (add_memory_block): Rewrite using the above.
16775 (adjust_function_address): New function.
16776 (FUNCTION_ADDRESS): New macro.
16777 (write_basic_trace_file): Remove short_x local, and use
16778 tfile_write_16. Change type of func_addr local to unsigned long
16779 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
16780 here. Cast argument of add_memory_block to char pointer.
16781 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
16782 (main): Remove parameters.
16783 * gdb.trace/tfile.exp: Remove nowarnings.
16784
4d974e88
SM
167852014-07-15 Simon Marchi <simon.marchi@ericsson.com>
16786
16787 * gdb.base/debug-expr.exp: Test string evaluation with
16788 "debug expression" on.
16789
41e99568
PA
167902014-07-15 Pedro Alves <palves@redhat.com>
16791
16792 * gdb.base/reread.exp: Use clean_restart.
16793
487d9753
PL
167942014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
16795
16796 * gdb.arch/avr-flash-qualifer.c: New.
16797 * gdb.arch/avr-flash-qualifer.exp: New.
16798
cc1c52ad
PA
167992014-07-14 Pedro Alves <palves@redhat.com>
16800
16801 * gdb.base/paginate-after-ctrl-c-running.c: New file.
16802 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
16803
1e973570
PA
168042014-07-14 Pedro Alves <palves@redhat.com>
16805
16806 * gdb.base/double-prompt-target-event-error.c: New file.
16807 * gdb.base/double-prompt-target-event-error.exp: New file.
16808
93d6eb10
PA
168092014-07-14 Pedro Alves <palves@redhat.com>
16810
16811 PR gdb/17072
16812 * gdb.base/paginate-inferior-exit.c: New file.
16813 * gdb.base/paginate-inferior-exit.exp: New file.
16814
0017922d
PA
168152014-07-14 Pedro Alves <palves@redhat.com>
16816
16817 PR gdb/17072
16818 * gdb.base/paginate-bg-execution.c: New file.
16819 * gdb.base/paginate-bg-execution.exp: New file.
16820
94696ad3
PA
168212014-07-14 Pedro Alves <palves@redhat.com>
16822
16823 PR gdb/17072
16824 * gdb.base/paginate-execution-startup.c: New file.
16825 * gdb.base/paginate-execution-startup.exp: New file.
16826 * lib/gdb.exp (pagination_prompt): New global.
16827 (default_gdb_spawn): New procedure, factored out from
16828 default_gdb_spawn.
16829 (default_gdb_start): Adjust to call default_gdb_spawn.
16830 (gdb_spawn): New procedure.
16831
bd293940
PA
168322014-07-14 Pedro Alves <palves@redhat.com>
16833
16834 * lib/gdb.exp (gdb_assert): New procedure.
16835 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
16836
c933f875
PA
168372014-07-14 Pedro Alves <palves@redhat.com>
16838
16839 * gdb.base/execution-termios.c: New file.
16840 * gdb.base/execution-termios.exp: New file.
16841
d98b7a16
TT
168422014-07-14 Tom Tromey <tromey@redhat.com>
16843
16844 * gdb.cp/vla-cxx.cc: New file.
16845 * gdb.cp/vla-cxx.exp: New file.
16846
548740d6
TT
168472014-07-14 Tom Tromey <tromey@redhat.com>
16848
16849 * gdb.reverse/rerun-prec.c: New file.
16850 * gdb.reverse/rerun-prec.exp: New file.
16851
a25eb028
MR
168522014-07-12 Maciej W. Rozycki <macro@mips.com>
16853 Maciej W. Rozycki <macro@codesourcery.com>
16854
16855 * lib/gdb-utils.exp: New file.
16856 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
16857 inline `gdb_init_command' processing.
16858 (gdb_start_cmd): Likewise.
16859 * lib/mi-support.exp (mi_run_cmd): Likewise.
16860 * README: Document `gdb_init_command' and `gdb_init_commands'.
16861
218c2655
JK
168622014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16863
16864 Fix false FAIL running under a very long directory name.
16865 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
16866 and "set print elements 10000". Twice.
16867
5401fde3
YQ
168682014-07-11 Yao Qi <yao@codesourcery.com>
16869
16870 * gdb.base/exprs.exp: "set print symbol off".
16871
e76126e8
PA
168722014-07-11 Pedro Alves <palves@redhat.com>
16873
16874 * gdb.threads/kill.c: New file.
16875 * gdb.threads/kill.exp: New file.
16876
2d6f0de6
YQ
168772014-07-10 Yao Qi <yao@codesourcery.com>
16878
16879 * gdb.trace/tfile.c (write_basic_trace_file)
16880 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
16881 address written to trace file.
16882
7180e04a
PA
168832014-07-09 Pedro Alves <palves@redhat.com>
16884
16885 * gdb.base/attach-wait-input.exp: New file.
16886 * gdb.base/attach-wait-input.c: New file.
16887
9a9a7608
AB
168882014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
16889
16890 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
16891 setting up test structures.
16892 (main): Call new test function.
16893 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
16894 test function, continue into test function and walk test
16895 structures.
16896
161ac41e
YQ
168972014-07-02 Yao Qi <yao@codesourcery.com>
16898
16899 * gdb.trace/entry-values.c: Define labels 'foo_start' and
16900 'bar_start' at the beginning of functions 'foo' and 'bar'
16901 respectively.
16902 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
16903 instead of 'foo' and 'bar'.
16904
1f267ae3
MM
169052014-07-08 Markus Metzger <markus.t.metzger@intel.com>
16906
16907 * gdb.btrace/segv.exp: New.
16908 * gdb.btrace/segv.c: New.
16909
2b239efb
LM
169102014-07-02 Luis Machado <lgustavo@codesourcery.com>
16911
16912 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
16913 instruction.
16914
cf363f18
MW
169152014-06-30 Mark Wielaard <mjw@redhat.com>
16916
16917 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
16918 vulture, vilify, villar): New volatile array constants.
16919 (vindictive, vegetation): New const volatile array constants.
16920 * gdb.base/volatile.exp: Test volatile and const volatile array
16921 types.
16922
aebf9d24
AA
169232014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
16924
16925 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
16926 target lacks support for awatch, rwatch, or hbreak.
16927
b67a2c6f
YQ
169282014-06-27 Yao Qi <yao@codesourcery.com>
16929
16930 * gdb.multi/dummy-frame-restore.exp: New.
16931 * gdb.multi/dummy-frame-restore.c: New.
16932
aef92902
MM
169332014-06-25 Markus Metzger <markus.t.metzger@intel.com>
16934
16935 * gdb.btrace/gcore.exp: New.
16936
8e9db26e
PA
169372014-06-23 Pedro Alves <palves@redhat.com>
16938
16939 * gdb.base/watchpoint-reuse-slot.c: New file.
16940 * gdb.base/watchpoint-reuse-slot.exp: New file.
16941
70afc5b7
SC
169422014-06-23 Siva Chandra Reddy <sivachandra@google.com>
16943
16944 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
16945 progspace's filename in 'info', 'enable' and 'disable' command
16946 tests.
16947
b972bd9c
JK
169482014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
16949
16950 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
16951 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
16952 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
16953
125f8a3d
GB
169542014-06-20 Gary Benson <gbenson@redhat.com>
16955
16956 * gdb.arch/i386-avx.exp: Fix include file location.
16957 * gdb.arch/i386-sse.exp: Likewise.
16958
3ed9baed
IB
169592014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
16960
16961 * gdb.dlang/expression.exp: New file.
16962
034f788c
PA
169632014-06-19 Pedro Alves <palves@redhat.com>
16964
16965 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
16966 out from ...
16967 (top level): ... here. Iterate running tests under different
16968 scheduler-locking settings.
16969
45371d0c
LM
169702014-06-18 Luis Machado <lgustavo@codesourcery.com>
16971
16972 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
16973 to DW_FORM_addr and use non-zero addresses.
16974
5d376983
SC
169752014-06-18 Siva Chandra Reddy <sivachandra@google.com>
16976
16977 PR gdb/17017
16978 * gdb.python/py-xmethods.cc: Add global function call counters and
16979 increment them in their respective functions. Remove "cout"
16980 statements.
16981 * gdb.python/py-xmethods.exp: Make tests check the global function
16982 call counters instead of depending on inferior IO.
16983
a1aa2221
LM
169842014-06-18 Don Breazeal <donb@codesourcery.com>
16985
16986 * gdb.base/foll-fork.exp (default_fork_parent_follow):
16987 Deleted procedure.
16988 (explicit_fork_parent_follow): Deleted procedure.
16989 (explicit_fork_child_follow): Deleted procedure.
16990 (test_follow_fork): New procedure.
16991 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 16992 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
16993 procedure calls.
16994
0fc05997
YQ
169952014-06-17 Yao Qi <yao@codesourcery.com>
16996
16997 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
16998 CP1252.
16999
70795c52
LM
170002014-06-17 Luis Machado <lgustavo@codesourcery.com>
17001
17002 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
17003 Initialize ptr and S explicitly.
17004 (skip_type_update_when_not_use_rtti_test): Likewise.
17005
6be47f0c
KS
170062014-06-16 Keith Seitz <keiths@redhat.com>
17007
17008 PR mi/15863
17009 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
17010 the inferior is started.
17011
d03de421
PA
170122014-06-16 Pedro Alves <palves@redhat.com>
17013
17014 * gdb.base/break-main-file-remove-fail.c: New file.
17015 * gdb.base/break-main-file-remove-fail.exp: New file.
17016 * gdb.base/break-unload-file.exp: Use build_executable instead of
17017 prepare_for_testing.
17018 (test_break): New parameter "initial_load". Handle it.
17019 (top level): Add initial_load cmdline/file axis.
17020
f9579b99
TT
170212014-06-12 Tom Tromey <tromey@redhat.com>
17022
17023 * gdb.base/completion.exp: Don't use directory name in test.
17024
3657956b
GB
170252014-06-09 Gary Benson <gbenson@redhat.com>
17026
17027 * gdb.base/sigall.c [Functions to send signals]: Reorder to
17028 separate the always-available ANSI-standard signals from the
17029 signals that require checking.
17030 (main): Likewise.
17031 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
17032 Likewise.
17033 (main): Likewise.
17034
4186eb54
KS
170352014-06-07 Keith Seitz <keiths@redhat.com>
17036
17037 Revert:
17038 PR c++/16253
17039 * gdb.cp/var-tag.cc: New file.
17040 * gdb.cp/var-tag.exp: New file.
17041 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
17042 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
17043 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
17044 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
17045
25326a28 170462014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
17047
17048 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
17049
829155c9
PA
170502014-06-06 Pedro Alves <palves@redhat.com>
17051
17052 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
17053 in target debug output instead of looking at RSP packets,
17054 disabling the test on any target that uses hardware stepping.
17055 Update comments.
17056
61c8d22e
PA
170572014-06-06 Pedro Alves <palves@redhat.com>
17058
17059 * gdb.base/break-unload-file.exp: Fix typo.
17060
d9a47287
YQ
170612014-06-06 Yao Qi <yao@codesourcery.com>
17062
17063 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
17064 from "jit_function" to "^jit_function".
17065
e5e01dbf
YQ
170662014-06-06 Yao Qi <yao@codesourcery.com>
17067
17068 * gdb.base/async.c (foo): Add one statement.
17069 * gdb.base/async.exp: Get the next instruction address and
17070 match the output of "nexti" by instruction address. Match
17071 the hex address in the output of "finish".
17072
73ba372c
GB
170732014-06-06 Gary Benson <gbenson@redhat.com>
17074
17075 * gdb.base/call-signals.c: Remove preprocessor conditionals
17076 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
17077 SIGSEGV and SIGTERM.
17078 * gdb.base/sigall.c: Likewise.
17079 * gdb.base/unwindonsignal.c: Likewise.
17080 * gdb.reverse/sigall-reverse.c: Likewise.
17081
831517df
YQ
170822014-06-06 Yao Qi <yao@codesourcery.com>
17083
17084 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
17085 readable, skip the test.
17086
b8b91e98
YQ
170872014-06-06 Yao Qi <yao@codesourcery.com>
17088
17089 * gdb.threads/staticthreads.c (thread_function): Move the line
17090 setting breakpoint on forward.
17091 * gdb.threads/staticthreads.exp: Update comments.
17092
fb934770
LC
170932014-06-05 Ludovic Courtès <ludo@gnu.org>
17094
17095 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
17096 "history-append! type error".
17097
6ef284bd
SM
170982014-06-05 Simon Marchi <simon.marchi@ericsson.com>
17099
17100 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
17101 erroneous dprintf expected input.
17102
a872e241
DE
171032014-06-04 Doug Evans <xdje42@gmail.com>
17104
17105 * gdb.guile/scm-generics.exp: Delete.
17106
16f691fb
DE
171072014-06-04 Doug Evans <xdje42@gmail.com>
17108
17109 * gdb.guile/scm-breakpoint.exp: Update.
17110 Add tests for breakpoint registration.
17111
012370f6
TT
171122014-06-04 Tom Tromey <tromey@redhat.com>
17113
17114 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
17115 VLA-in-union.
17116 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
17117 inner_vla_struct, vla_union types. Initialize objects of those
17118 types and compute their sizes.
17119
9f5a4cef
HZ
171202014-06-04 Nathan Sidwell <nathan@codesourcery.com>
17121 Hui Zhu <hui@codesourcery.com>
17122
17123 * gdb.base/fileio.exp: Add test for shell not available as well as
17124 available.
17125 * gdb.base/fileio.c (test_system): Check for shell twice.
17126
90a45c4d
YQ
171272014-06-04 Yao Qi <yao@codesourcery.com>
17128
17129 * gdb.base/auto-connect-native-target.exp: Remove redundant
17130 space from the regexp pattern.
17131
70017e41
YQ
171322014-06-04 Yao Qi <yao@codesourcery.com>
17133
17134 * gdb.base/default.exp: Replace "child" with "native" in
17135 regexp pattern.
17136
883964a7
SC
171372014-06-03 Siva Chandra Reddy <sivachandra@google.com>
17138
17139 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
17140 * gdb.python/py-xmethods.exp: New tests to test xmethods.
17141 * gdb.python/py-xmethods.py: Python script supporting the
17142 new testcase and tests.
17143
ef370185
JB
171442014-06-03 Joel Brobecker <brobecker@adacore.com>
17145 Pedro Alves <palves@redhat.com>
17146
17147 PR breakpoints/17000
17148 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
17149 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
17150
1e2ccb61
BM
171512014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
17152
17153 * gdb.base/subst.exp: Add tests to verify partial path matching
17154 output.
17155
c6ec5ab2
PA
171562014-06-03 Pedro Alves <palves@redhat.com>
17157
17158 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
17159 target that doesn't use software single-stepping.
17160
835c559f
PA
171612014-06-03 Pedro Alves <palves@redhat.com>
17162
17163 PR breakpoints/17000
17164 * gdb.base/sss-bp-on-user-bp-2.c: New file.
17165 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
17166
06eb1586
DE
171672014-06-02 Doug Evans <xdje42@gmail.com>
17168
17169 * gdb.guile/scm-parameter.exp: New file.
17170
e698b8c4
DE
171712014-06-02 Doug Evans <xdje42@gmail.com>
17172
17173 * gdb.guile/scm-cmd.c: New file.
17174 * gdb.guile/scm-cmd.exp: New file.
17175
ded03782
DE
171762014-06-02 Doug Evans <xdje42@gmail.com>
17177
17178 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
17179 pretty-printer lookup.
17180 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
17181 (make-pp_s-printer): Call it.
17182 (make-pretty-printer-from-dict): New function.
17183 (lookup-pretty-printer-maker-from-dict): New function.
17184 (*pretty-printer*): Simplify.
17185 (make-objfile-pp_s-printer): New function.
17186 (install-objfile-pretty-printers!): New function.
17187 (make-progspace-pp_s-printer): New function.
17188 (install-progspace-pretty-printers!): New function.
17189 * gdb.guile/scm-progspace.c: New file.
17190 * gdb.guile/scm-progspace.exp: New file.
17191
41fac0cf
PA
171922014-06-02 Pedro Alves <palves@redhat.com>
17193
17194 * gdb.base/dprintf-bp-same-addr.c: New file.
17195 * gdb.base/dprintf-bp-same-addr.exp: New file.
17196
96ae5695
EBM
171972014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17198
17199 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
17200 * gdb.arch/powerpc-power.s: Likewise.
17201
da02b3a8
JB
172022014-06-02 Joel Brobecker <brobecker@adacore.com>
17203
17204 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
17205
c72b2e7b
YQ
172062014-06-01 Yao Qi <yao@codesourcery.com>
17207
17208 * gdb.base/watchpoint.exp (test_watch_location): Check null
17209 pointer can be dereferenced. If not, do the test, otherwise
17210 skip it.
17211
53e8a631
AB
172122014-05-30 Andrew Burgess <aburgess@broadcom.com>
17213
17214 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
17215 results.
17216 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
17217
938f0e2f
AB
172182014-05-30 Andrew Burgess <aburgess@broadcom.com>
17219
17220 * gdb.arch/amd64-invalid-stack-middle.S: New file.
17221 * gdb.arch/amd64-invalid-stack-middle.c: New file.
17222 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
17223 * gdb.arch/amd64-invalid-stack-top.c: New file.
17224 * gdb.arch/amd64-invalid-stack-top.exp: New file.
17225
9ba6657a
PA
172262014-05-30 Pedro Alves <palves@redhat.com>
17227
17228 PR breakpoints/17000
17229 * gdb.base/sss-bp-on-user-bp.c: New file.
17230 * gdb.base/sss-bp-on-user-bp.exp: New file.
17231
522c09bf
DB
172322014-05-30 David Blaikie <dblaikie@gmail.com>
17233
17234 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
17235 gnu_inline semantics via attribute.
17236 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
17237 source explicitly specifies the required semantics.
17238
bf4ef81e
MR
172392014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
17240
17241 * gdb.reverse/sigall-reverse.exp: Fix a typo.
17242
329ea579
PA
172432014-05-29 Pedro Alves <palves@redhat.com>
17244 Tom Tromey <tromey@redhat.com>
17245
17246 * gdb.base/async-shell.exp: Don't enable target-async.
17247 * gdb.base/async.exp
17248 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
17249 parameter. Adjust.
17250 (top level): Don't test with "target-async".
17251 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
17252 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
17253 * gdb.base/inferior-died.exp: Don't enable target-async.
17254 * gdb.base/interrupt-noterm.exp: Likewise.
17255 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
17256 * gdb.mi/mi-nonstop-exit.exp: Likewise.
17257 * gdb.mi/mi-nonstop.exp: Likewise.
17258 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
17259 * gdb.mi/mi-nsintrall.exp: Likewise.
17260 * gdb.mi/mi-nsmoribund.exp: Likewise.
17261 * gdb.mi/mi-nsthrexec.exp: Likewise.
17262 * gdb.mi/mi-watch-nonstop.exp: Likewise.
17263 * gdb.multi/watchpoint-multi.exp: Adjust comment.
17264 * gdb.python/py-evsignal.exp: Don't enable target-async.
17265 * gdb.python/py-evthreads.exp: Likewise.
17266 * gdb.python/py-prompt.exp: Likewise.
17267 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
17268 * gdb.server/solib-list.exp: Don't enable target-async.
17269 * gdb.threads/thread-specific-bp.exp: Likewise.
17270 * lib/mi-support.exp: Adjust to use mi-async.
17271
fd664c91
PA
172722014-05-29 Pedro Alves <palves@redhat.com>
17273
17274 PR gdb/13860
17275 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
17276 reason, even in sync mode.
17277
251bde03
PA
172782014-05-29 Pedro Alves <palves@redhat.com>
17279 Hui Zhu <hui@codesourcery.com>
17280
17281 PR PR15693
17282 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
17283 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
17284 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
17285 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
17286
7f3c0343
JB
172872014-05-28 Joel Brobecker <brobecker@adacore.com>
17288
17289 * config/monitor.exp (gdb_target_monitor): Replace use of
17290 "set remotebaud" by "set serial baud".
17291
b2715b27
AW
172922014-05-26 Andy Wingo <wingo@igalia.com>
17293
17294 * gdb.guile/scm-breakpoint.exp:
17295 * gdb.guile/scm-gsmob.exp: Update to use plain old object
17296 properties instead of gdb-object-properties.
17297
498a4489
YQ
172982014-05-26 Yao Qi <yao@codesourcery.com>
17299
17300 * gdb.server/no-thread-db.exp: Specify source file name
17301 explicitly when setting a breakpoint.
17302
589fdceb
MM
173032014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17304
17305 * gdb.btrace/vdso.c: New.
17306 * gdb.btrace/vdso.exp: New.
17307
e9089e05
MM
173082014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17309
17310 * gdb.base/gcore.exp (capture_command_output): Move ...
17311 * lib/gdb.exp (capture_command_output): ... here.
17312
67b5c0c1
MM
173132014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17314
17315 * gdb.btrace/data.exp: Test memory access during btrace replay.
17316
a2199296
SM
173172014-05-22 Simon Marchi <simon.marchi@ericsson.com>
17318
17319 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
17320
17b2616c
PA
173212014-05-21 Pedro Alves <palves@redhat.com>
17322
17323 PR gdb/13860
17324 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
17325 (top level): Test that output related to execution commands is
17326 sent to the console with CLI commands, but not with MI commands.
17327 Test that breakpoint events are always mirrored to the console.
17328 Also expect the new source line to be output after a "next" in
17329 async mode too. Make it a pass/fail test.
17330 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
17331 output.
17332 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
17333
5166082f
PA
173342014-05-21 Pedro Alves <palves@redhat.com>
17335
17336 * gdb.base/list.exp (build_pattern, test_list): New procedures.
17337 Use them to test variations of "list" after reaching a breakpoint.
17338 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
17339 Test "list" with listsize 10 after reaching a breakpoint.
17340 * gdb.python/python.exp (decode_line current location line
17341 number): Adjust expected line number.
17342
2f25d70f
SM
173432014-05-21 Simon Marchi <simon.marchi@ericsson.com>
17344
17345 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
17346 behavior for $args, pass it directly to "run".
17347
ff604a67
MR
173482014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
17349
17350 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
17351 30000 to 65536.
17352
6a3cb8e8
PA
173532014-05-21 Pedro Alves <palves@redhat.com>
17354
17355 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
17356 auto-connect-native-target off".
17357 * gdb.base/auto-connect-native-target.c: New file.
17358 * gdb.base/auto-connect-native-target.exp: New file.
17359
4ebfc96e
PA
173602014-05-21 Pedro Alves <palves@redhat.com>
17361
17362 * gdb.base/default.exp: Test "target native" instead of "target
17363 child".
17364
36d46afb
MW
173652014-05-21 Mark Wielaard <mjw@redhat.com>
17366
17367 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
17368
5876f503
JK
173692014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17370
17371 Fix TLS access for -static -pthread.
17372 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
17373 <HAVE_TLS> (thread_function, main): Initialize it.
17374 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
17375 Add clean_restart.
17376 <$have_tls != "">: Check TLSVAR.
17377
0256a6ac
PA
173782014-05-21 Pedro Alves <palves@redhat.com>
17379
17380 * gdb.base/dcache-line-read-error.c: New.
17381 * gdb.base/dcache-line-read-error.exp: New.
17382
936d2992
PA
173832014-05-20 Pedro Alves <palves@redhat.com>
17384
17385 * gdb.base/compare-sections.c: New file.
17386 * gdb.base/compare-sections.exp: New file.
17387
802e8e6d
PA
173882014-05-20 Pedro Alves <palves@redhat.com>
17389
17390 * gdb.base/break-idempotent.c: New file.
17391 * gdb.base/break-idempotent.exp: New file.
17392
e59fa00f
MM
173932014-05-20 Markus Metzger <markus.t.metzger@intel.com>
17394
17395 * gdb.btrace/nohist.exp: New.
17396
8b696e31
YQ
173972014-05-20 Yao Qi <yao@codesourcery.com>
17398
17399 * lib/gdb.exp (gdb_init): Set timeout if test file is under
17400 gdb.reverse directory and gdb_reverse_timeout exists in board
17401 setting.
17402 * README: Document gdb_reverse_timeout.
17403
73c9764f
YQ
174042014-05-20 Yao Qi <yao@codesourcery.com>
17405
17406 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
17407 'test_file_name'. Treat args as a string instead of a list.
17408 (gdb_init): Rename argument 'args' by 'test_file_name'.
17409
f1f4348a
JK
174102014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
17411
17412 * gdb.arch/powerpc-power.exp: New file.
17413 * gdb.arch/powerpc-power.s: New file.
17414
0dbe70ce
DE
174152014-05-16 Doug Evans <dje@google.com>
17416
17417 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
17418 * gdb.base/completion.exp: Check that all expected files exist
17419 before doing file completion.
0dbe70ce 17420
8d551b02
DE
174212014-05-16 Doug Evans <dje@google.com>
17422
17423 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
17424 Update.
17425 (do_syscall_tests_without_xml): Update.
17426
73eb7709
PA
174272014-05-16 Pedro Alves <palves@redhat.com>
17428
17429 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
17430 instead of "unknown output after running".
17431
3fae92fc
YQ
174322014-05-16 Yao Qi <yao@codesourcery.com>
17433
17434 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
17435 file1.txt from host at the end.
17436 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
17437
c2b2ccc5
DE
174382014-05-15 Doug Evans <dje@google.com>
17439
17440 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
17441 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
17442 loading file. Add test for TU lookup.
17443
8c217a4b
SM
174442014-05-15 Simon Marchi <simon.marchi@ericsson.com>
17445
17446 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
17447 calling "-exec-arguments" or "set args" before running the
17448 inferior.
17449
3deb39c6
SM
174502014-05-15 Simon Marchi <simon.marchi@ericsson.com>
17451
17452 * lib/mi-support.exp (mi_expect_stop): Expect message for
17453 inferiors that exit with non-zero exit code.
17454
71a79f8c
YQ
174552014-05-14 Yao Qi <yao@codesourcery.com>
17456
17457 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
17458 match absolute path on remote host.
17459 (test_file_list_exec_source_files): Remove "/" from the
17460 pattern.
17461
f23fcd46
YQ
174622014-05-14 Yao Qi <yao@codesourcery.com>
17463
17464 * boards/local-remote-host-notty.exp (${board}_file): New
17465 proc.
17466
9404b58f
KM
174672014-05-07 Kyle McMartin <kyle@redhat.com>
17468
17469 Pushed by Joel Brobecker <brobecker@adacore.com>.
17470 * gdb.arch/aarch64-atomic-inst.c: New file.
17471 * gdb.arch/aarch64-atomic-inst.exp: New file.
17472
5e45f04c
YQ
174732014-05-07 Yao Qi <yao@codesourcery.com>
17474
17475 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
17476 in current context" too.
17477
c888a17d
KS
174782014-05-05 Keith Seitz <keiths@redhat.com>
17479
17480 * gdb.linespec/ls-dollar.exp: Add test for linespec
17481 file:convenience_variable.
17482
290a839c
YQ
174832014-05-05 Yao Qi <yao@codesourcery.com>
17484
17485 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
17486 traceframes into tfile and ctf trace files. Read data from
17487 trace file and test collected data.
17488 (gdb_collect_locals_test): Likewise.
17489 (gdb_unavailable_registers_test): Likewise.
17490 (gdb_unavailable_floats): Likewise.
17491 (gdb_collect_globals_test): Likewise.
17492 (top-level): Append "ctf" to trace_file_targets if GDB
17493 supports.
17494
b5262cd0
YQ
174952014-05-05 Yao Qi <yao@codesourcery.com>
17496
17497 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
17498 code to ...
17499 (gdb_collect_args_test_1): ... it. New proc.
17500 (gdb_collect_locals_test): Move some code to ...
17501 (gdb_collect_locals_test_1): ... it. New proc.
17502 (gdb_unavailable_registers_test): Move some code to ...
17503 (gdb_unavailable_registers_test_1): ... it. New proc.
17504 (gdb_unavailable_floats): Move some code to ...
17505 (gdb_unavailable_floats_1): ... it. New proc.
17506
30a1e6cc
SDJ
175072014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
17508
17509 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
17510 probes to test for bitness recognition.
17511 * gdb.arch/amd64-stap-optional-prefix.exp
17512 (test_probe_value_without_reg): New procedure.
17513 Add code to test for different kinds of bitness.
17514
f33da99a
SDJ
175152014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
17516
17517 PR breakpoints/16889
17518 * gdb.arch/amd64-stap-optional-prefix.S: New file.
17519 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
17520
5b80f00d
PA
175212014-05-01 Pedro Alves <palves@redhat.com>
17522
17523 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
17524 gdb_file_cmd if no file is specified.
17525 * boards/native-extended-gdbserver.exp (gdb_load): Use the
17526 last_loaded_file to set the remote exec-file.
17527
f8c2a73c
PA
175282014-05-01 Pedro Alves <palves@redhat.com>
17529
17530 * boards/local-remote-host.exp: New file.
17531
be6e8ac7
PA
175322014-05-01 Pedro Alves <palves@redhat.com>
17533
17534 * boards/local-remote-host.exp: Rename to ...
17535 * boards/local-remote-host-notty.exp: ... this.
17536
cac0dc8f
JB
175372014-04-28 Joel Brobecker <brobecker@adacore.com>
17538
17539 * gdb.ada/dyn_arrayidx: New testcase.
17540
9730e6cc
YQ
175412014-04-26 Yao Qi <yao@codesourcery.com>
17542
17543 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
17544 and compute the length of function main. Save it in
17545 $main_length.
17546 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
17547 (top-level): Use gdb_compile to compile objects into
17548 executable and restart GDB. Remove invocation to
17549 prepare_for_testing.
17550
7ae1a6a6
PA
175512014-04-25 Simon Marchi <simon.marchi@ericsson.com>
17552 Pedro Alves <palves@redhat.com>
17553
17554 PR server/16255
17555 * gdb.multi/multi-attach.c: New file.
17556 * gdb.multi/multi-attach.exp: New file.
17557
4082afcc
PA
175582014-04-25 Pedro Alves <palves@redhat.com>
17559
17560 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
17561 user.
17562 (top level): Test that "set remote conditional-breakpoints-packet
17563 off" works as intended.
17564 * gdb.base/dprintf.exp: Test that "set remote
17565 breakpoint-commands-packet off" works as intended.
17566 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
17567 New function.
17568 (top level): Call it.
17569 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
17570 remote fast-tracepoints-packet off" works as intended.
17571 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
17572 * lib/gdb.exp (gdb_is_target_remote): ... here.
17573
2abc3f8d
DB
175742014-04-24 David Blaikie <dblaikie@gmail.com>
17575
17576 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
17577 ensure clang would not discard them.
17578 * gdb.base/gdbvars.c: Ditto.
17579 * gdb.base/memattr.c: Ditto.
17580 * gdb.base/whatis.c: Ditto.
17581 * gdb.python/py-prettyprint.c: Ditto.
17582 * gdb.trace/actions.c: Ditto.
17583 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
17584 ensure clang would not discard it.
17585
bfd39632
DB
175862014-04-24 David Blaikie <dblaikie@gmail.com>
17587
17588 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
17589 clang to emit the full definition of type required by the test
17590 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
17591
22842ff6
DB
175922014-04-24 David Blaikie <dblaikie@gmail.com>
17593
17594 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
17595 coax Clang into emitting the definition of the type.
17596 * gdb.cp/pr10728-x.h (y): Ditto.
17597 * gdb.cp/pr10728-y.cc (y): Ditto.
17598
c2e827ad
DB
175992014-04-24 David Blaikie <dblaikie@gmail.com>
17600
17601 * gdb.base/label.exp: XFAIL label related tests under Clang.
17602 * gdb.cp/cplabel.exp: Ditto.
17603 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
17604 under Clang those using labels.
17605
4c2d33e7
YQ
176062014-04-25 Yao Qi <yao@codesourcery.com>
17607
17608 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
17609 double_label.
17610 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
17611 partial_label and double_label.
17612
56083b99
DB
176132014-04-24 David Blaikie <dblaikie@gmail.com>
17614
17615 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
17616
25d4e99d
DB
176172014-04-24 David Blaikie <dblaikie@gmail.com>
17618
17619 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
17620 of the function to work across GCC and Clang.
17621 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
17622 pointer types (const void ** const V void **).
17623
01f9f808
MS
176242014-04-24 Michael Sturm <michael.sturm@mintel.com>
17625 Walfred Tedeschi <walfred.tedeschi@intel.com>
17626
17627 * Makefile.in (EXECUTABLES): Added i386-avx512.
17628 * gdb.arch/i386-avx512.c: New file.
17629 * gdb.arch/i386-avx512.exp: Likewise.
17630
4b48d439
KS
176312014-04-23 Keith Seitz <keiths@redhat.com>
17632
17633 * lib/mi-support.exp (mi_list_breakpoints): Delete.
17634 (mi_make_breakpoint_table): New procedure.
17635 (mi_create_breakpoint): Use mi_make_breakpoint
17636 and return the result.
17637 (mi_make_breakpoint): New procedure.
17638 (mi_build_kv_pairs): New procedure.
17639
17640 * gdb.mi/mi-break.exp: Remove unused globals,
17641 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
17642 All callers updated.
17643 * gdb.mi/mi-dprintf.exp: Use variable to track command
17644 number.
17645 Update all callers of mi_create_breakpoint and use
17646 mi_make_breakpoint_table.
17647 Remove any unused global variables.
17648 * gdb.mi/mi-nonstop.exp: Likewise.
17649 * gdb.mi/mi-nsintrall.exp: Likewise.
17650 * gdb.mi/mi-nsmoribund.exp: Likewise.
17651 * gdb.mi/mi-nsthrexec.exp: Likewise.
17652 * gdb.mi/mi-reverse.exp: Likewise.
17653 * gdb.mi/mi-simplerun.exp: Likewise.
17654 * gdb.mi/mi-stepn.exp: Likewise.
17655 * gdb.mi/mi-syn-frame.exp: Likewise.
17656 * gdb.mi/mi-until.exp: Likewise.
17657 * gdb.mi/mi-var-cp.exp: Likewise.
17658 * gdb.mi/mi-var-display.exp: Likewise.
17659 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
17660 * gdb.mi/mi2-var-child.exp: Likewise.
17661 * gdb.mi/mi-vla-c99.exp: Likewise.
17662 * lib/mi-support.exp: Likewise.
17663
17664 From Ian Lance Taylor <iant@cygnus.com>:
17665 * lib/gdb.exp (parse_args): New procedure.
17666
08351840
PA
176672014-04-23 Pedro Alves <palves@redhat.com>
17668
17669 * gdb.base/break-unload-file.c: New file.
17670 * gdb.base/break-unload-file.exp: New file.
17671 * gdb.base/sym-file-lib.c (baz): New function.
17672 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
17673 field.
17674 (load): Store the segment's mapped size.
17675 (unload): New function.
17676 (unload_shlib): New function.
17677 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
17678 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
17679 set a breakpoint at baz, and call it.
17680 * gdb.base/sym-file.exp: New tests for stale breakpoint
17681 instructions.
17682
076855f9
PA
176832014-04-23 Pedro Alves <palves@redhat.com>
17684
17685 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
17686 * gdb.base/hbreak-in-shr-unsupported.c: New file.
17687 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
17688 * gdb.base/hbreak-unmapped.c: New file.
17689 * gdb.base/hbreak-unmapped.exp: New file.
17690 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
17691 * lib/gdb.exp (gdb_is_target_remote): ... here.
17692
483805cf
PA
176932014-04-22 Pedro Alves <palves@redhat.com>
17694
17695 * gdb.base/consecutive-step-over.c: New file.
17696 * gdb.base/consecutive-step-over.exp: New file.
17697
06d97543
PA
176982014-04-22 Pedro Alves <palves@redhat.com>
17699
17700 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
17701 instead of send_gdb/gdb_expect.
17702
b4429ea2
YQ
177032014-04-22 Yao Qi <yao@codesourcery.com>
17704
17705 * lib/trace-support.exp (generate_tracefile): New procedure.
17706 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
17707 return 0.
17708 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
17709 if generate_tracefile returns 1.
17710
51d48146
PA
177112014-04-18 Tom Tromey <palves@redhat.com>
17712 Pedro alves <tromey@redhat.com>
17713
17714 PR backtrace/15558
17715 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
17716 with a backtrace limit.
17717 * gdb.python/py-frame-inline.exp: Test running to an inline
17718 function with a backtrace limit, and printing the newest frame.
17719 * gdb.python/py-frame-inline.c (main): Call f.
17720
bd1dce5f
MS
177212014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
17722
17723 * gdb.java/jnpe.exp: Drop srcdir from untested path.
17724
40d1a503
MS
177252014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
17726
17727 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
17728 Drop prefix from unsupported source file path.
17729
389b98f7
YQ
177302014-04-17 Yao Qi <yao@codesourcery.com>
17731
17732 * lib/gdb.exp (with_target_charset): New proc.
17733 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
17734 with_target_charset.
17735 (test_print_strings): Likewise.
17736 (test_repeat_bytes): Likewise.
17737 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
17738 for some tests.
17739
22869d73
KS
177402014-04-16 Keith Seitz <keiths@redhat.com>
17741
17742 PR gdb/15827
17743 * gdb.dwarf2/corrupt.c: New file.
17744 * gdb.dwarf2/corrupt.exp: New file.
17745
c4f87ca6
KS
177462014-04-16 Keith Seitz <keiths@redhat.com>
17747
17748 PR c++/16597
17749 * gdb.cp/namelessclass.cc: New file.
17750 * gdb.cp/namelessclass.exp: New file.
17751 * gdb.cp/namelessclass.S: New file.
17752
ab19de87
DE
177532014-04-16 Doug Evans <dje@google.com>
17754
17755 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
17756 Add comment.
17757 (gdbserver_default_get_comm_port): New function.
17758 (gdbserver_start): Check if board file provided
17759 "gdbserver,get_comm_port" and use it if so.
17760 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
17761 (gdb,socketport): Set to "stdio".
17762 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
17763 (stdio_gdbserver_template): Delete.
17764 (${board}_get_remote_address): Update.
17765 (${board}_build_remote_cmd): Delete.
17766 (${board}_get_comm_port): New function.
17767 (${board}_spawn): Update.
17768 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
17769 Delete.
17770 (${board}_get_remote_address): Update.
17771 (${board}_get_comm_port): New function.
17772
fc98a809
AB
177732014-04-16 Andrew Burgess <aburgess@broadcom.com>
17774
17775 * gdb.base/memattr.exp: Improve regexps to handle memory regions
17776 appearing in any order.
17777
87fd9e6e
DE
177782014-04-15 Doug Evans <dje@google.com>
17779
17780 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
17781 uninitialized value of "description".
17782
099fc3ea
KS
177832014-04-15 Keith Seitz <keiths@redhat.com>
17784
17785 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
17786 Remove unused globals.
17787 (test_running_the_program): Likewise.
17788 (test_controlled_execution): Likewise.
17789 (test_controlling_breakpoints): Likewise.
17790 (test_program_termination): Likewise.
17791
5da151d4
KS
177922014-04-15 Keith Seitz <keiths@redhat.com>
17793
17794 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
17795 unused globals.
17796 (test_rbreak_creation_and_listing): Likewise.
17797 (test_ignore_count): Likewise.
17798 (test_error): Likewise.
17799
35e5d2f0
PA
178002014-04-15 Pedro Alves <palves@redhat.com>
17801
17802 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
17803 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
17804 sym-file-loader.c.
17805 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
17806 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
17807 to sym-file-loader.c.
17808 (struct library): Forward declare.
17809 (load_shlib, lookup_function): Change prototypes.
17810 (find_shstrtab, find_strtab, find_shdr, find_symtab)
17811 (translate_offset): Remove declarations.
17812 (get_text_addr): New declaration.
17813 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
17814 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
17815 sym-file-loader.h.
17816 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
17817 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
17818 here from sym-file-loader.h.
17819 (struct library): New structure.
17820 (load_shlib, lookup_function): Change prototypes and adjust to
17821 work with a struct library.
17822 (find_shstrtab, find_strtab, find_shdr, find_symtab)
17823 (translate_offset): Make static.
17824 (get_text_addr): New function.
17825 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
17826
eb4c1710
PA
178272014-04-15 Pedro Alves <palves@redhat.com>
17828
17829 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
17830
2d1baf52
PA
178312014-04-15 Pedro Alves <palves@redhat.com>
17832
17833 * gdb.base/sym-file-loader.c: Include <limits.h>.
17834 (SELF_LINK): New define.
17835 (get_origin): New function.
17836 (load_shlib): Use it.
17837 * gdb.base/sym-file.exp: Don't early return if the target is
17838 remote. Use runto_main, and issue fail is that fails. Use
17839 gdb_load_shlibs.
17840 (shlib_name): Delete.
17841 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
17842
7dd6df01
PA
178432014-04-15 Pedro Alves <palves@redhat.com>
17844
17845 * gdb.base/sym-file.exp: Remove regex characters from test
17846 message. Don't refer to breakpoint numbers in test messages.
17847
b50c8614
KS
178482014-04-14 Keith Seitz <keiths@redhat.com>
17849
17850 PR c++/16253
17851 * gdb.cp/var-tag.cc: New file.
17852 * gdb.cp/var-tag.exp: New file.
17853 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
17854 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
17855 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
17856 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
17857
3d567982
TT
178582014-04-14 Tom Tromey <tromey@redhat.com>
17859
17860 * gdb.cp/classes.exp (test_enums): Handle underlying type.
17861 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
17862 type.
17863 * gdb.cp/enum-class.exp: New file.
17864 * gdb.cp/enum-class.cc: New file.
17865
0626fc76
TT
178662014-04-14 Tom Tromey <tromey@redhat.com>
17867
17868 * gdb.dwarf2/enum-type.exp: New file.
17869
dca325b3
SA
178702014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17871
17872 * gdb.mi/mi-vla-c99.exp: New file.
17873 * gdb.mi/vla.c: New file.
17874
5854b38a
SA
178752014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17876
17877 * gdb.base/vla-datatypes.c: New file.
17878 * gdb.base/vla-datatypes.exp: New file.
17879
463bb957
SA
178802014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17881
17882 * gdb.base/vla-ptr.c: New file.
17883 * gdb.base/vla-ptr.exp: New file.
17884
3dd170be
SA
178852014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17886
17887 * gdb.dwarf2/count.exp: New file.
17888
5ecaaa66
SA
178892014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17890
17891 * gdb.base/vla-sideeffect.c: New file.
17892 * gdb.base/vla-sideeffect.exp: New file.
17893
41f1ada5
DB
178942014-04-14 David Blaikie <dblaikie@gmail.com>
17895
17896 * gdb.mi/non-stop.c: Add return value for non-void function return
17897 statement.
17898 * gdb.threads/staticthreads.c: Ditto.
17899
0be03e84
DE
179002014-04-12 Siva Chandra Reddy <sivachandra@google.com>
17901 Doug Evans <xdje42@gmail.com>
17902
17903 * gdb.guile/scm-value.c: Improve test case.
17904 * gdb.guile/scm-value.exp: Add new test.
17905
f180a1fb
DB
179062014-04-11 David Blaikie <dblaikie@gmail.com>
17907
17908 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
17909 override Clang's default.
17910
6b662e19
JB
179112014-04-11 Joel Brobecker <brobecker@adacore.com>
17912
17913 Revert the following changes (regressions):
17914
17915 * gdb.base/vla-sideeffect.c: New file.
17916 * gdb.base/vla-sideeffect.exp: New file.
17917
17918 * gdb.dwarf2/count.exp: New file.
17919
17920 * gdb.base/vla-multi.c: New file.
17921 * gdb.base/vla-multi.exp: New file.
17922
17923 * gdb.base/vla-ptr.c: New file.
17924 * gdb.base/vla-ptr.exp: New file.
17925
17926 * gdb.base/vla-datatypes.c: New file.
17927 * gdb.base/vla-datatypes.exp: New file.
17928
17929 * gdb.mi/mi-vla-c99.exp: New file.
17930 * gdb.mi/vla.c: New file.
17931
245a5f0b
KS
179322014-04-11 Keith Seitz <keiths@redhat.com>
17933
17934 PR c++/16675
17935 * gdb.cp/cpsizeof.exp: New file.
17936 * gdb.cp/cpsizeof.cc: New file.
17937
58a84dcf
SA
179382014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17939
191a8a90
JB
17940 * gdb.mi/mi-vla-c99.exp: New file.
17941 * gdb.mi/vla.c: New file.
58a84dcf 17942
c8655f75
SA
179432014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17944
17945 * gdb.base/vla-datatypes.c: New file.
17946 * gdb.base/vla-datatypes.exp: New file.
17947
024e13b4
SA
179482014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17949
17950 * gdb.base/vla-ptr.c: New file.
17951 * gdb.base/vla-ptr.exp: New file.
17952
1a237e0e
SA
179532014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17954
17955 * gdb.base/vla-multi.c: New file.
17956 * gdb.base/vla-multi.exp: New file.
17957
504f3432
SA
179582014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17959
17960 * gdb.dwarf2/count.exp: New file.
17961
3bce8237
SA
179622014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17963
191a8a90
JB
17964 * gdb.base/vla-sideeffect.c: New file.
17965 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 17966
322f9c21
YQ
179672014-04-11 Yao Qi <yao@codesourcery.com>
17968
17969 * gdb.base/completion.exp: Check file exists before running tests
17970 on file completion.
17971
d708bcd1
PA
179722014-04-10 Pedro Alves <palves@redhat.com>
17973
17974 * gdb.base/cond-eval-mode.c: New file.
17975 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
17976 prepare_for_testing to build the new file. Check result of
17977 runto_main.
17978 (test_break, test_watch): New procedures.
17979 (top level): Use them.
17980
ae1d2761
PM
179812014-04-08 Pierre Muller <muller@sourceware.org>
17982
17983 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
17984 Ctrl-V use for mingw hosts.
17985
7af389b8
SC
179862014-04-07 Siva Chandra Reddy <sivachandra@google.com>
17987
17988 * gdb.python/py-value.c: Improve test case.
17989 * gdb.python/py-value.exp: Add new test.
17990
5e703181
DE
179912014-04-07 David Blaikie <dblaikie@gmail.com>
17992
17993 * lib/compiler.c: Identify the clang compiler.
17994 * lib/compiler.cc: Ditto.
17995
9810b410
YQ
179962014-04-03 Yao Qi <yao@codesourcery.com>
17997
17998 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
17999
98d1b8dc
AB
180002014-04-01 Anton Blanchard <anton@samba.org>
18001
18002 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
18003 messages unique.
18004
3114cea1
AB
180052014-04-01 Anton Blanchard <anton@samba.org>
18006
18007 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
18008 prepare_for_testing.
18009
62f7182c
AB
180102014-04-01 Anton Blanchard <anton@samba.org>
18011
18012 * gdb.arch/ppc64-atomic-inst.c: Remove.
18013 * gdb.arch/ppc64-atomic-inst.S: New file.
18014 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
18015
770e7fc7
DE
180162014-03-31 Doug Evans <dje@google.com>
18017
18018 * gdb.base/print-symbol-loading-lib.c: New file.
18019 * gdb.base/print-symbol-loading-main.c: New file.
18020 * gdb.base/print-symbol-loading.exp: New file.
18021
46e2bafa
YQ
180222014-03-31 Yao Qi <yao@codesourcery.com>
18023
18024 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
18025
8776cfe9
JB
180262014-03-28 Joel Brobecker <brobecker@adacore.com>
18027
18028 * gdb.ada/mi_dyn_arr: New testcase.
18029
5d1ef361
DE
180302014-03-27 Doug Evans <dje@google.com>
18031
18032 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
18033
b5bee914
YQ
180342014-03-27 Yao Qi <yao@codesourcery.com>
18035
18036 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
18037 if target is nios2-*-*.
18038
0d4d0e77
YQ
180392014-03-26 Yao Qi <yao@codesourcery.com>
18040
18041 * lib/gdb.exp (readline_is_used): New proc.
18042 * gdb.base/completion.exp: Move tests on command complete up.
18043 Skip the rest of tests if readline is not used.
18044 * gdb.ada/complete.exp: Skp the test if readline is not
18045 used.
18046 * gdb.base/filesym.exp: Likewise.
18047 * gdb.base/macscp.exp: Likewise.
18048 * gdb.base/readline-ask.exp: Likewise.
18049 * gdb.base/readline.exp: Likewise.
18050 * gdb.python/py-cmd.exp: Likewise.
18051 * gdb.trace/tfile.exp: Likewise.
18052
29361eee
YQ
180532014-03-26 Yao Qi <yao@codesourcery.com>
18054
18055 * gdb.base/macscp.exp: Fix code format issues.
18056
bc9a5525
UW
180572014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
18058
18059 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
18060 * gdb.asm/powerpc64le.inc: New file.
18061
d3839ede
PA
180622014-03-25 Pedro Alves <palves@redhat.com>
18063 Doug Evans <dje@google.com>
18064
18065 * gdb.base/source-execution.c: New file.
18066 * gdb.base/source-execution.exp: New file.
18067 * gdb.base/source-execution.gdb: New file.
18068
01672a57
DE
180692014-03-24 Doug Evans <dje@google.com>
18070
18071 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
18072 using fission.
18073
88bbeca9
HZ
180742014-03-24 Hui Zhu <hui@codesourcery.com>
18075 Pedro Alves <palves@redhat.com>
18076
18077 PR breakpoints/16101
18078 * gdb.base/dprintf.exp: Use unsupported rather than changing the
18079 test pass/fail messages. Detect missing support for dprintf when
18080 breakpoints are actually inserted.
18081 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
18082 breakpoints are actually inserted.
18083 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
18084 fails.
18085
d2348791
JK
180862014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
18087
18088 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
18089
feef67ab
DE
180902014-03-22 Doug Evans <xdje42@gmail.com>
18091
18092 * gdb.python/python.exp (python not supported): Verify multi-line
18093 python command issues an error.
25d743f9 18094 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 18095 guile command issues an error.
feef67ab 18096
ecebef6a
MR
180972014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
18098
18099 * gdb.threads/thread-specific.exp: Handle the lack of usable
18100 $this_breakpoint and $this_thread.
18101
ccdd1909
HZ
181022014-03-21 Hui Zhu <hui@codesourcery.com>
18103
18104 * gdb.base/attach.exp (do_command_attach_tests): New.
18105
beb460e8
PA
181062014-03-20 Tom Tromey <tromey@redhat.com>
18107 Pedro Alves <palves@redhat.com>
18108
18109 PR cli/15718
18110 * gdb.base/condbreak-call-false.c: New file.
18111 * gdb.base/condbreak-call-false.exp: New file.
18112
40acf43a
PA
181132014-03-20 Pedro Alves <palves@redhat.com>
18114
18115 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
18116 Delete.
18117 (block_signals, unblock_signals): Delete.
18118 (child_function_2, main): Remove references to deleted variable
18119 and functions.
18120
9f5e1e02
PA
181212014-03-20 Pedro Alves <palves@redhat.com>
18122
18123 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
18124 Use pthread_kill to signal thread 2.
18125 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18126 Adjust to make the test send itself a signal rather than using the
18127 host's "kill" command.
18128
99619bea
PA
181292014-03-20 Pedro Alves <palves@redhat.com>
18130
18131 * gdb.threads/multiple-step-overs.c: New file.
18132 * gdb.threads/multiple-step-overs.exp: New file.
18133 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18134 Adjust expected infrun debug output.
18135
2adfaa28
PA
181362014-03-20 Pedro Alves <palves@redhat.com>
18137
18138 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
18139 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
18140
31e77af2
PA
181412014-03-20 Pedro Alves <palves@redhat.com>
18142
18143 PR breakpoints/7143
18144 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
18145 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
18146 of gdb_test_multiple.
18147 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
18148 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
18149
b9f437de
PA
181502014-03-20 Pedro Alves <palves@redhat.com>
18151
18152 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
18153 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
18154
05adc73e
PA
181552014-03-19 Pedro Alves <palves@redhat.com>
18156
18157 * gdb.base/async.exp: Remove early return.
18158
6048b950
PA
181592014-03-19 Pedro Alves <palves@redhat.com>
18160
18161 * gdb.base/async.exp (step& tests): Pass explicit test messages.
18162
8bcfb00a
PA
181632014-03-19 Pedro Alves <palves@redhat.com>
18164
18165 * gdb.base/async.exp (test_background): Expect \r\n after
18166 "completed." in the fail pattern.
18167
884e37dc
PA
181682014-03-19 Pedro Alves <palves@redhat.com>
18169
18170 * gdb.base/async.exp (test_background): New procedure.
18171 Use it for all background execution command tests.
18172
148e57e2
PA
181732014-03-19 Pedro Alves <palves@redhat.com>
18174
18175 * gdb.base/async.exp: Use prepare_for_testing.
18176
f48088c7
PA
181772014-03-19 Pedro Alves <palves@redhat.com>
18178
18179 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
18180 the same line.
18181
e2f6c966
PA
181822014-03-19 Pedro Alves <palves@redhat.com>
18183
18184 * gdb.base/async.c (main): Add "jump here" and "until here" line
18185 marker comments.
18186 * gdb.base/async.exp (jump_here): New global.
18187 (jump& test): Use it.
18188 (until_here): New global.
18189 (until& test): Use it.
18190
c30568d4
PA
181912014-03-19 Pedro Alves <palves@redhat.com>
18192
18193 * gdb.base/async.exp: Don't frob gdb_protocol.
18194
0172b6a7
DE
181952014-03-18 Doug Evans <xdje42@gmail.com>
18196
18197 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
18198 Fix spelling of exec-done-display.
18199
06c868a8
JK
182002014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
18201
18202 PR gdb/15358
18203 * gdb.base/gdb-sigterm.c: New file.
18204 * gdb.base/gdb-sigterm.exp: New file.
18205
0c7e1a46
PA
182062014-03-18 Pedro Alves <palves@redhat.com>
18207
18208 PR gdb/13860
18209 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
18210 * lib/mi-support.exp (mi_expect_stop): Add special handling for
18211 solib-event.
18212
f7c77d93
JB
182132014-03-17 Joel Brobecker <brobecker@adacore.com>
18214
18215 * gdb.ada/pckd_arr_ren: New testcase.
18216
5a1e8c7a
DE
182172014-03-13 Doug Evans <xdje42@gmail.com>
18218
18219 PR guile/16612
18220 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
18221 collect after discarding symbols.
18222
350e1a76
DE
182232014-03-13 Ludovic Courtès <ludo@gnu.org>
18224 Doug Evans <xdje42@gmail.com>
18225
18226 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
18227 to history survives a gc.
18228
a69900ae
PA
182292014-03-13 Pedro Alves <palves@redhat.com>
18230
18231 * gdb.base/default.exp: Don't test "target procfs".
18232
5db9f0bd
PA
182332014-03-13 Pedro Alves <palves@redhat.com>
18234
18235 * gdb.base/default.exp: Update "target child" and "target procfs"
18236 tests to not expect "Unix".
18237
b3ccfe11
TT
182382014-03-12 Tom Tromey <tromey@redhat.com>
18239
18240 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
18241 New procs. Add target-async tests.
18242 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
18243 Add target-async tests.
18244
646f4417
AA
182452014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18246
18247 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
18248 'func_start' and 'func_end' for the beginning and end of the
18249 function code, respectively.
18250 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
18251 'func_end' instead of 'func' and 'main'.
18252
288c211f
AA
182532014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18254
18255 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
18256 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
18257 generate the debug info assembler source.
18258
e0c0f156
AA
182592014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18260
18261 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
18262 * gdb.dwarf2/arr-subrange.exp: Likewise.
18263 * gdb.dwarf2/dwz.exp: Likewise.
18264 * gdb.dwarf2/method-ptr.exp: Likewise.
18265 * gdb.dwarf2/missing-sig-type.exp: Likewise.
18266 * gdb.dwarf2/subrange.exp: Likewise.
18267 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
18268 * gdb.dwarf2/implptrpiece.exp: Likewise.
18269 * gdb.dwarf2/nostaticblock.exp: Likewise.
18270
0e5c4555
AA
182712014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18272
18273 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
18274 directory to absolute path name arguments.
18275
5ec18f2b
JG
182762014-03-10 Joel Brobecker <brobecker@adacore.com>
18277
18278 * gdb.ada/tagged_access: New testcase.
18279
847fc4f2
MM
182802014-03-07 Markus Metzger <markus.t.metzger@intel.com>
18281
18282 * gdb.btrace/data.exp: Update expected output.
18283
cc3da688
YQ
182842014-03-06 Yao Qi <yao@codesourcery.com>
18285
18286 * gdb.trace/pr16508.exp: New file.
18287
0f26cec1
PA
182882014-03-05 Pedro Alves <palves@redhat.com>
18289
18290 PR gdb/16575
18291 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
18292 procedure.
18293 (top level): Adjust to use it. Add tests that exercise breakpoint
18294 interaction with the code-cache.
18295
7a5a839f
LC
182962014-02-26 Ludovic Courtès <ludo@gnu.org>
18297
18298 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
18299 test for 'history-append!'.
18300
31aa7e4e
JB
183012014-02-26 Joel Brobecker <brobecker@adacore.com>
18302
18303 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
18304 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
18305 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
18306 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
18307 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
18308 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
18309
1b588015
JB
183102014-02-26 Joel Brobecker <brobecker@adacore.com>
18311
18312 * testsuite/gdb.python/py-pp-re-notag.c: New file.
18313 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
18314 * testsuite/gdb.python/py-pp-re-notag.p: New file.
18315
55426c9d
JB
183162014-02-26 Joel Brobecker <brobecker@adacore.com>
18317
18318 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
18319
dc53a7ad
JB
183202014-02-26 Joel Brobecker <brobecker@adacore.com>
18321
18322 * gdb.dwarf2/arr-stride.c: New file.
18323 * gdb.dwarf2/arr-stride.exp: New file.
18324
12ab52e9
PA
183252014-02-26 Pedro Alves <palves@redhat.com>
18326
18327 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
18328 that won't ever trigger. Make sure that GDB reports the correct
18329 breakpoint that caused the stop.
18330
849c862e
JK
183312014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18332
18333 PR gdb/16626
18334 * gdb.base/auto-load-script: New file.
18335 * gdb.base/auto-load.c: New file.
18336 * gdb.base/auto-load.exp: New file.
18337
71b7d793
JK
18338 PR gdb/16626
18339 * gdb.base/auto-load.exp: Fix out-of-srctree run.
18340
e2f0d509
JK
183412014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18342
18343 Fix dw2-icycle.exp -fsanitize=address GDB crash.
18344 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
18345
50cc37c8
DE
183462014-02-24 Doug Evans <dje@google.com>
18347
18348 * lib/gdb.exp (run_on_host): Log error output if program fails.
18349
ea4758f2
PA
183502014-02-21 Pedro Alves <palves@redhat.com>
18351
18352 * gdb.threads/step-after-sr-lock.c: Rename to ...
18353 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
18354 * gdb.threads/step-after-sr-lock.exp: Rename to ...
18355 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18356 ... this.
18357
d7b30f67
SDJ
183582014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
18359
18360 PR tdep/16397
18361 * gdb.arch/amd64-stap-special-operands.exp: New file.
18362 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
18363 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
18364 * gdb.arch/amd64-stap-triplet.S: Likewise.
18365 * gdb.arch/amd64-stap-triplet.c: Likewise.
18366
83deb43f
JB
183672014-02-20 Joel Brobecker <brobecker@adacore.com>
18368
18369 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
18370 in .section pseudo-op.
18371
adde2bff
DE
183722014-02-20 lin zuojian <manjian2006@gmail.com>
18373 Joel Brobecker <brobecker@adacore.com>
18374 Doug Evans <xdje42@gmail.com>
18375
18376 PR symtab/16581
18377 * gdb.dwarf2/dw2-icycle.S: New file.
18378 * gdb.dwarf2/dw2-icycle.c: New file.
18379 * gdb.dwarf2/dw2-icycle.exp: New file.
18380
f7bd0f78
SC
183812014-02-19 Siva Chandra Reddy <sivachandra@google.com>
18382
18383 * gdb.python/py-value-cc.cc: Improve test case to enable testing
18384 operations on gdb.Value objects.
18385 * gdb.python/py-value-cc.exp: Add new test to test operations on
18386 gdb.Value objects.
18387
c17ef0d5
DE
183882014-02-18 Doug Evans <dje@google.com>
18389
18390 * Makefile.in (TESTS): New variable.
18391 (expanded_tests, expanded_tests_or_none): New variables
18392 (check-single): Pass $(expanded_tests_or_none) to runtest.
18393 (check-parallel): Only run tests in $(TESTS) if non-empty.
18394 (check/no-matching-tests-found): New rule.
18395 * README: Document TESTS makefile variable.
18396
5dd3176f
DE
183972014-02-18 Doug Evans <dje@google.com>
18398
18399 * Makefile.in (check-parallel): rm -rf outputs temp.
18400
0b10be4f
JK
184012014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18402
18403 Fix "ERROR: no fileid for" in the testsuite.
18404 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
18405
85f224e7
DE
184062014-02-12 Doug Evans <dje@google.com>
18407
18408 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
18409 (MISCELLANEOUS): New variable.
18410 (clean): rm -rf $(MISCELLANEOUS).
18411 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
18412 dwp live in the same directory as symlinks, with each symlink pointed
18413 to a differently named file in a different directory.
18414
149b30ff
DE
184152014-02-11 Doug Evans <dje@google.com>
18416
18417 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
18418 of Tcl file commands.
18419
1dfdac32
MK
184202014-02-10 Mark Kettenis <kettenis@gnu.org>
18421
18422 * gdb.threads/step-after-sr-lock.exp: Avoid executing
18423 "kill -SIGUSR1 -1".
18424
aa4fb036
JB
184252014-02-10 Joel Brobecker <brobecker@adacore.com>
18426
18427 * gdb.ada/tick_length_array_enum_idx: New testcase.
18428
ed3ef339
DE
184292014-02-10 Doug Evans <xdje42@gmail.com>
18430
18431 * configure.ac (AC_OUTPUT): Add gdb.guile.
18432 * configure: Regenerate.
18433 * lib/gdb-guile.exp: New file.
18434 * lib/gdb.exp (get_target_charset): New function.
18435 * gdb.base/help.exp: Update expected output from "apropos apropos".
18436 * gdb.guile/Makefile.in: New file.
18437 * gdb.guile/guile.exp: New file.
18438 * gdb.guile/scm-arch.c: New file.
18439 * gdb.guile/scm-arch.exp: New file.
18440 * gdb.guile/scm-block.c: New file.
18441 * gdb.guile/scm-block.exp: New file.
18442 * gdb.guile/scm-breakpoint.c: New file.
18443 * gdb.guile/scm-breakpoint.exp: New file.
18444 * gdb.guile/scm-disasm.c: New file.
18445 * gdb.guile/scm-disasm.exp: New file.
18446 * gdb.guile/scm-equal.c: New file.
18447 * gdb.guile/scm-equal.exp: New file.
18448 * gdb.guile/scm-error.exp: New file.
18449 * gdb.guile/scm-error.scm: New file.
18450 * gdb.guile/scm-frame-args.c: New file.
18451 * gdb.guile/scm-frame-args.exp: New file.
18452 * gdb.guile/scm-frame-args.scm: New file.
18453 * gdb.guile/scm-frame-inline.c: New file.
18454 * gdb.guile/scm-frame-inline.exp: New file.
18455 * gdb.guile/scm-frame.c: New file.
18456 * gdb.guile/scm-frame.exp: New file.
18457 * gdb.guile/scm-generics.exp: New file.
18458 * gdb.guile/scm-gsmob.exp: New file.
18459 * gdb.guile/scm-iterator.c: New file.
18460 * gdb.guile/scm-iterator.exp: New file.
18461 * gdb.guile/scm-math.c: New file.
18462 * gdb.guile/scm-math.exp: New file.
18463 * gdb.guile/scm-objfile-script-gdb.in: New file.
18464 * gdb.guile/scm-objfile-script.c: New file.
18465 * gdb.guile/scm-objfile-script.exp: New file.
18466 * gdb.guile/scm-objfile.c: New file.
18467 * gdb.guile/scm-objfile.exp: New file.
18468 * gdb.guile/scm-ports.exp: New file.
18469 * gdb.guile/scm-pretty-print.c: New file.
18470 * gdb.guile/scm-pretty-print.exp: New file.
18471 * gdb.guile/scm-pretty-print.scm: New file.
18472 * gdb.guile/scm-section-script.c: New file.
18473 * gdb.guile/scm-section-script.exp: New file.
18474 * gdb.guile/scm-section-script.scm: New file.
18475 * gdb.guile/scm-symbol.c: New file.
18476 * gdb.guile/scm-symbol.exp: New file.
18477 * gdb.guile/scm-symtab-2.c: New file.
18478 * gdb.guile/scm-symtab.c: New file.
18479 * gdb.guile/scm-symtab.exp: New file.
18480 * gdb.guile/scm-type.c: New file.
18481 * gdb.guile/scm-type.exp: New file.
18482 * gdb.guile/scm-value-cc.cc: New file.
18483 * gdb.guile/scm-value-cc.exp: New file.
18484 * gdb.guile/scm-value.c: New file.
18485 * gdb.guile/scm-value.exp: New file.
18486 * gdb.guile/source2.scm: New file.
18487 * gdb.guile/types-module.cc: New file.
18488 * gdb.guile/types-module.exp: New file.
18489
7026a7c1
YQ
184902014-02-10 Yao Qi <yao@codesourcery.com>
18491
18492 PR testsuite/16543
18493 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
18494 * configure: Regenerated.
18495 * Makefile.in: New file.
18496
6c466447
AS
184972014-02-08 Andreas Schwab <schwab@linux-m68k.org>
18498
18499 * gdb.python/py-framefilter.exp: Fix typo.
18500
6e854735
YQ
185012014-02-08 Yao Qi <yao@codesourcery.com>
18502
18503 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
18504 that no =breakpoint-modified is emitted when breakpoints are
18505 modified through MI commands.
18506
d137e6dc
PA
185072014-02-07 Pedro Alves <pedro@codesourcery.com>
18508 Pedro Alves <palves@redhat.com>
18509
18510 * gdb.threads/step-after-sr-lock.c: New file.
18511 * gdb.threads/step-after-sr-lock.exp: New file.
18512
b5ee5a50
PA
185132014-02-07 Pedro Alves <palves@redhat.com>
18514
18515 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
18516
3c77faf3
JK
185172014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
18518
18519 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
18520 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
18521
6dddc817
DE
185222014-02-06 Doug Evans <xdje42@gmail.com>
18523
18524 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
18525 output.
18526
18527 * gdb.gdb/python-interrupts.exp: New file.
18528
de7b2893
YQ
185292014-02-05 Yao Qi <yao@codesourcery.com>
18530
18531 * gdb.trace/report.exp (use_collected_data): Test the output
18532 of "info threads" and "info inferiors".
18533
66d032ac
YQ
185342014-02-05 Yao Qi <yao@codesourcery.com>
18535
18536 Revert this patch:
18537
18538 2013-05-24 Yao Qi <yao@codesourcery.com>
18539
18540 * gdb.trace/tfile.exp: Test inferior and thread.
18541
591a12a1
UW
185422014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18543
18544 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
18545 on a function.
18546 * gdb.base/step-bt.c: Call hello via function pointer to make
18547 sure its first instruction is executed on powerpc64le-linux.
18548
0ff3e01f
UW
185492014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18550
18551 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
18552
084ee545
UW
185532014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18554
18555 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
18556 of the test patterns for use on little-endian systems.
18557
6ed14ff3
UW
185582014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18559
18560 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
18561 (decimal_vector): Fix for little-endian.
18562
401e27fd
JM
185632014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
18564
18565 * gdb.arch/sparc-sysstep.exp: New file.
18566 * gdb.arch/sparc-sysstep.c: Likewise.
18567
18568 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
18569
8b924729
EBM
185702014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18571
18572 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
18573
fb151210
JB
185742014-01-23 Tom Tromey <tromey@redhat.com>
18575
18576 * gdb.ada/array_char_idx: New testcase.
18577
0740f8d8
TT
185782014-01-23 Tom Tromey <tromey@redhat.com>
18579
18580 PR python/16487:
18581 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
18582 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
18583 classes.
18584
21909fa1
TT
185852014-01-23 Tom Tromey <tromey@redhat.com>
18586
18587 PR python/16491:
18588 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
18589 string from an inferior frame.
18590 * gdb.python/py-framefilter-mi.exp: Update.
18591
87ce2a04
DE
185922014-01-22 Doug Evans <dje@google.com>
18593
18594 * gdb.server/server-mon.exp: Add tests for "set debug-format".
18595
237b092b
AA
185962014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18597
18598 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
18599
d674a709
AA
186002014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18601
18602 * gdb.trace/entry-values.exp: Remove excess space character from
18603 regex patterns. Handle s390 call instruction.
18604
20fa3390
AA
186052014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18606
18607 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
18608 define "*_start" label. Make "name" static.
18609 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
18610 ${name} by references to ${name}_start.
18611
78466714
AA
186122014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18613
18614 * gdb.base/info-macros.exp: Remove "debug" from the compile
18615 options.
18616
ec9f644a
IB
186172014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18618
18619 * gdb.dlang/demangle.exp: New file.
18620
94b1b47e
IB
186212014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18622
18623 * gdb.dlang/primitive-types.exp: New file.
18624
7f420862
IB
186252014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18626
18627 * configure.ac: Create gdb.dlang/Makefile.
18628 * configure: Regenerate.
18629 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
18630 * gdb.dlang/Makefile.in: New file.
18631 * lib/d-support.exp: New file.
18632 * lib/gdb.exp (skip_d_tests): New proc.
18633
52834460
MM
186342014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18635
18636 * gdb.btrace/delta.exp: Check reverse stepi.
18637 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
18638 * gdb.btrace/finish.exp: New.
18639 * gdb.btrace/next.exp: New.
18640 * gdb.btrace/nexti.exp: New.
18641 * gdb.btrace/record_goto.c: Add comments.
18642 * gdb.btrace/step.exp: New.
18643 * gdb.btrace/stepi.exp: New.
18644 * gdb.btrace/multi-thread-step.c: New.
18645 * gdb.btrace/multi-thread-step.exp: New.
18646 * gdb.btrace/rn-dl-bind.c: New.
18647 * gdb.btrace/rn-dl-bind.exp: New.
18648 * gdb.btrace/data.c: New.
18649 * gdb.btrace/data.exp: New.
18650 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
18651
6e07b1d2
MM
186522014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18653
18654 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
18655 * gdb.btrace/exception.exp: Update.
18656 * gdb.btrace/instruction_history.exp: Update.
18657 * gdb.btrace/record_goto.exp: Update.
18658 * gdb.btrace/tailcall.exp: Update.
18659 * gdb.btrace/unknown_functions.exp: Update.
18660 * gdb.btrace/delta.exp: New.
18661
0b722aec
MM
186622014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18663
18664 * gdb.btrace/record_goto.exp: Add backtrace test.
18665 * gdb.btrace/tailcall.exp: Add backtrace test.
18666
066ce621
MM
186672014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18668
18669 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
18670 * gdb.btrace/record_goto.c: New.
18671 * gdb.btrace/record_goto.exp: New.
18672 * gdb.btrace/x86-record_goto.S: New.
18673
0688d04e
MM
186742014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18675
18676 * gdb.btrace/function_call_history.exp: Update tests.
18677 * gdb.btrace/instruction_history.exp: Update tests.
18678
8710b709
MM
186792014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18680
18681 * gdb.btrace/function_call_history.exp: Fix expected field
18682 order for "record function-call-history".
18683 Add new tests for "record function-call-history /c".
18684 * gdb.btrace/exception.cc: New.
18685 * gdb.btrace/exception.exp: New.
18686 * gdb.btrace/tailcall.exp: New.
18687 * gdb.btrace/x86-tailcall.S: New.
18688 * gdb.btrace/x86-tailcall.c: New.
18689 * gdb.btrace/unknown_functions.c: New.
18690 * gdb.btrace/unknown_functions.exp: New.
18691 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
18692
5de9129b
MM
186932014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18694
18695 * gdb.btrace/instruction_history.exp: Update.
18696 * gdb.btrace/function_call_history.exp: Update.
18697
23a7fe75
MM
186982014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18699
18700 * gdb.btrace/function_call_history.exp: Fix expected function
18701 trace.
18702 * gdb.btrace/instruction_history.exp: Initialize traced.
18703 Remove traced_functions.
18704
724c7dd8
MM
187052014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18706
18707 * gdb.btrace/function_call_history.exp: Update
18708 * gdb.btrace/instruction_history.exp: Update.
18709
6d78d93b
MM
187102014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18711
18712 * gdb.btrace/enable.exp: Update expected text.
18713
93a360cc
OJ
187142014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
18715
18716 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
18717 bytes.
18718
3772b53f
MR
187192014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
18720
18721 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
18722
596662fa
OJ
187232014-01-15 Omair Javaid <omair.javaid@linaro.org>
18724
18725 * lib/gdb.exp (supports_process_record): Return true for
18726 arm*-linux*. (supports_reverse): Likewise.
18727
b5b08fb4
SC
187282014-01-13 Siva Chandra Reddy <sivachandra@google.com>
18729
18730 PR python/15464
18731 PR python/16113
18732 * gdb.python/py-type.c: Enhance test case.
18733 * gdb.python/py-value-cc.cc: Likewise
18734 * gdb.python/py-type.exp: Add new tests.
18735 * gdb.python/py-value-cc.exp: Likewise
18736
52d7fb13
AA
187372014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
18738 Pedro Alves <palves@redhat.com>
18739
18740 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
18741 Make "name" extern.
18742 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
18743 references to ${name}_start by references to ${name}.
18744
a2cd8cfe
JB
187452014-01-10 Joel Brobecker <brobecker@adacore.com>
18746
18747 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
18748
4e23fced
JB
187492014-01-10 Joel Brobecker <brobecker@adacore.com>
18750
18751 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
18752
c6a9e42c
PA
187532014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
18754 Pedro Alves <palves@redhat.com>
18755
18756 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 18757 mi_gdb_target_load.
c6a9e42c 18758
b7ea362b
PA
187592014-01-08 Pedro Alves <palves@redhat.com>
18760
18761 * gdb.threads/reconnect-signal.c: New file.
18762 * gdb.threads/reconnect-signal.exp: New file.
18763
5e3f4fab
EBM
187642014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
18765
18766 * gdb.base/source-dir.exp: New file.
18767
79301218
JB
187682014-01-07 Joel Brobecker <brobecker@adacore.com>
18769
18770 * gdb.ada/mi_interface: New testcase.
18771
8e355c5d
JB
187722014-01-07 Joel Brobecker <brobecker@adacore.com>
18773
18774 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
18775 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
18776 gdb.ada/pp-rec-component/pck.ads: New files.
18777
c0d48811
JB
187782014-01-07 Joel Brobecker <brobecker@adacore.com>
18779
18780 * gdb.python/py-pp-integral.c: New file.
18781 * gdb.python/py-pp-integral.py: New file.
18782 * gdb.python/py-pp-integral.exp: New file.
18783
17b609c3 18784For older changes see ChangeLog-1993-2013.
c906108c 18785\f
8d8cb839
EZ
18786;; Local Variables:
18787;; mode: change-log
18788;; left-margin: 8
18789;; fill-column: 74
18790;; version-control: never
18791;; End:
902f2ccb 18792
b811d2c2 18793 Copyright 2014-2020 Free Software Foundation, Inc.
902f2ccb
MC
18794 Copying and distribution of this file, with or without modification,
18795 are permitted provided the copyright notice and this notice are preserved.