Allow pointer arithmetic with integer references
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
60e22c1e
HD
12020-04-01 Hannes Domani <ssbssa@yahoo.de>
2
3 PR gdb/24789
4 * gdb.cp/misc.cc: Add integer reference variable.
5 * gdb.cp/misc.exp: Add test.
6
e139a727
TBA
72020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
8
9 * gdb.server/stop-reply-no-thread.exp: Enhance the test
10 scenario to cover execution until the end and also the case
11
16b0db75
TV
122020-03-31 Tom de Vries <tdevries@suse.de>
13
14 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
15 c. Use "maint info symtabs" to check symtab expansion.
16
c0502da6
TV
172020-03-30 Tom de Vries <tdevries@suse.de>
18
19 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
20 unsupported.
21 (verify_psymtab_expanded): Move ...
22 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
23 test.
24 (readnow): New proc.
25
5935fd15
AB
262020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
27
28 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
29 with $hex.
30
1773be9e
TT
312020-03-20 Tom Tromey <tromey@adacore.com>
32
33 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
34
70304be9
TT
352020-03-20 Tom Tromey <tromey@adacore.com>
36
37 * gdb.ada/sub_variant/subv.adb: New file.
38 * gdb.ada/sub_variant.exp: New file.
39
0dd7b8f7
TV
402020-03-20 Tom de Vries <tdevries@suse.de>
41
42 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
43 first break fails.
44 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
45
cada5fc9
AB
462020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
47
48 * gdb.server/exit-multiple-threads.c: New file.
49 * gdb.server/exit-multiple-threads.exp: New file.
50
6b8c53f2
AB
512020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
52
53 * gdb.fortran/mixed-lang-stack.c: New file.
54 * gdb.fortran/mixed-lang-stack.cpp: New file.
55 * gdb.fortran/mixed-lang-stack.exp: New file.
56 * gdb.fortran/mixed-lang-stack.f90: New file.
57
19a2740f
AB
582020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
59
60 * gdb.linespec/cp-completion-aliases.cc: New file.
61 * gdb.linespec/cp-completion-aliases.exp: New file.
62
d8c8b848
TV
632020-03-19 Tom de Vries <tdevries@suse.de>
64
65 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
66 more precise.
67
a9933ccf
TV
682020-03-18 Tom de Vries <tdevries@suse.de>
69
70 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
71 * gdb.dwarf2/break-inline-psymtab.c: New test.
72 * gdb.dwarf2/break-inline-psymtab.exp: New file.
73
2f89101f
TV
742020-03-16 Tom de Vries <tdevries@suse.de>
75
76 * lib/cache.exp (gdb_do_cache): Add and handle local variables
77 cache_verify and cache_verify_proc.
78
6b9374f1
TV
792020-03-15 Tom de Vries <tdevries@suse.de>
80
81 * gdb.server/solib-list.exp: Handle
82 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
83
eaeaf44c
TV
842020-03-15 Tom de Vries <tdevries@suse.de>
85
86 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
87 objfiles".
88
3293bbaf
TT
892020-03-14 Tom Tromey <tom@tromey.com>
90
91 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
92
ab44624c
TV
932020-03-14 Tom de Vries <tdevries@suse.de>
94
95 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
96
54c43825
TV
972020-03-14 Tom de Vries <tdevries@suse.de>
98
99 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
100 result in line-by-line fashion.
101
2ac70237
TV
1022020-03-14 Tom de Vries <tdevries@suse.de>
103
104 * lib/gdb.exp (supports_statement_frontiers): New proc.
105 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
106
09546b56
TV
1072020-03-14 Tom de Vries <tdevries@suse.de>
108
109 * gdb.base/printcmds.exp: Add missing quoting for "print
110 teststring2".
111
a1f6a07c
TT
1122020-03-13 Tom Tromey <tom@tromey.com>
113
114 * gdb.base/printcmds.exp (test_print_strings): Add regression
115 test.
116 * gdb.base/printcmds.c (charptr): New typedef.
117 (teststring2): New global.
118
1b83d09c
AB
1192020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
120
121 * gdb.base/break-interp.exp: Use the tail of the filename, not the
122 full path in the test name.
123 (test_ld): Add some with_test_prefix blocks to make test names
124 unique.
125
2d61316c
TV
1262020-03-13 Tom de Vries <tdevries@suse.de>
127
128 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
129
2e9145ac
TV
1302020-03-13 Tom de Vries <tdevries@suse.de>
131
132 * gdb.mi/mi-sym-info.exp: Make matching more precise.
133
96c7f873
TV
1342020-03-13 Tom de Vries <tdevries@suse.de>
135
136 PR symtab/25646
137 * gdb.dwarf2/imported-unit.exp: Add test.
138
49ba92c0
TV
1392020-03-13 Tom de Vries <tdevries@suse.de>
140
141 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
142 (var1, var2): New variable.
143 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
144 matching symbols.
145
301b21e0
TV
1462020-03-13 Tom de Vries <tdevries@suse.de>
147
148 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
149 (Term::command): Use prompt prefix.
150 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
151 * gdb.tui/tui-layout-asm-short-prog.exp: Use
152 command_no_prompt_prefix instead of prefix.
153 * gdb.tui/tui-layout-asm.exp: Same.
154
3f512721
SM
1552020-03-12 Simon Marchi <simon.marchi@efficios.com>
156
157 * gdb.base/break-interp.exp: Use foreach_with_prefix.
158
40310f30
SM
1592020-03-12 Simon Marchi <simon.marchi@efficios.com>
160
161 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
162 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
163 on" while stepping over the test instruction, match printed
164 message.
165
09252140
TV
1662020-03-12 Tom de Vries <tdevries@suse.de>
167
168 * gdb.base/info-types.exp: Use exp_continue during matching of output
169 of "info types".
170
14e9c72c
TV
1712020-03-12 Tom de Vries <tdevries@suse.de>
172
173 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
174
e515d67e
TV
1752020-03-12 Tom de Vries <tdevries@suse.de>
176
177 * gdb.fortran/module.exp: Use exp_continue during matching of output
178 of "info variable -n".
179
307eafd8
TV
1802020-03-12 Tom de Vries <tdevries@suse.de>
181
182 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
183 gdb.dwarf2/dw2-ranges-base.c.
184
9a2de3fc
TV
1852020-03-12 Tom de Vries <tdevries@suse.de>
186
187 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
188 in presence of GLIBC debuginfo.
189
3217502e
TV
1902020-03-12 Tom de Vries <tdevries@suse.de>
191
192 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
193 $core.
194
1281424c
TV
1952020-03-12 Tom de Vries <tdevries@suse.de>
196
197 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
198 more precise.
199
038b97fc
SM
2002020-03-11 Simon Marchi <simon.marchi@efficios.com>
201
202 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
203 from Unix to Windows path.
204
5308d1e7
TV
2052020-03-11 Tom de Vries <tdevries@suse.de>
206
207 * gdb.ada/minsyms.exp: Set language to ada.
208
f870f78f
TV
2092020-03-11 Tom de Vries <tdevries@suse.de>
210
211 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
212
5a13315d
TV
2132020-03-11 Tom de Vries <tdevries@suse.de>
214
215 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
216
976862ed
TT
2172020-03-11 Tom Tromey <tromey@adacore.com>
218
219 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
220
7462c383
TV
2212020-03-11 Tom de Vries <tdevries@suse.de>
222
223 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
224
1c6c46a0
TV
2252020-03-11 Tom de Vries <tdevries@suse.de>
226
227 * gdb.base/break-interp.exp: Limit verbose scope.
228
44f41bb7
TV
2292020-03-11 Tom de Vries <tdevries@suse.de>
230
231 * gdb.fortran/logical.f90: Define variable with character type.
232 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
233
b76f3a42
TV
2342020-03-11 Tom de Vries <tdevries@suse.de>
235
236 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
237
1c33af77
TV
2382020-03-11 Tom de Vries <tdevries@suse.de>
239
240 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
241 symtabs.
242
8c95582d
AB
2432020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
244 Bernd Edlinger <bernd.edlinger@hotmail.de>
245
246 * gdb.cp/step-and-next-inline.cc: New file.
247 * gdb.cp/step-and-next-inline.exp: New file.
248 * gdb.cp/step-and-next-inline.h: New file.
249 * gdb.dwarf2/dw2-is-stmt.c: New file.
250 * gdb.dwarf2/dw2-is-stmt.exp: New file.
251 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
252 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
253 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
254
cecf8547
AB
2552020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
256
257 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
258 is-stmt flag in the line table.
259
0ba678c9
TV
2602020-03-09 Tom de Vries <tdevries@suse.de>
261
262 * lib/gdb.exp (cached_file): Create cache dir.
263
72fbdf83
TV
2642020-03-07 Tom de Vries <tdevries@suse.de>
265
266 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
267 * gdb.cp/rvalue-ref-params.exp: Same.
268
436b5e99
TV
2692020-03-06 Tom de Vries <tdevries@suse.de>
270
271 * lib/gdb.exp (tentative_rename, cached_file): New proc.
272 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
273
09f2921c
TV
2742020-03-06 Tom de Vries <tdevries@suse.de>
275
276 * README: Fix "the the".
277 * gdb.base/dprintf.exp: Same.
278
50a3cc5d
TV
2792020-03-05 Tom de Vries <tdevries@suse.de>
280
281 * gdb.base/maint.exp: Update "main print statistics" expected output.
282
0a709cba
AKS
2832020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
284
285 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
286 (fortran_int8): Likewise.
287 (fortran_real4): Likewise.
288 (fortran_real8): Likewise.
289 (fortran_complex4): Likewise.
290 (fortran_logical4): Likewise.
291 (fortran_character1): Likewise.
292
5e5d66b6
AB
2932020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
294
295 * gdb.fortran/logical.exp: Add tests that any non-zero value is
296 printed as true.
297
7b973adc
SDJ
2982020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
299
300 * gdb.base/printcmds.exp: Add test to verify printf of a
301 variable holding an address.
302
478e490a
TV
3032020-03-03 Tom de Vries <tdevries@suse.de>
304
305 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
306
1ef44e86
TV
3072020-03-03 Tom de Vries <tdevries@suse.de>
308
309 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
310 gdb_test_multiple call.
311
b98cc2cf
TV
3122020-03-03 Tom de Vries <tdevries@suse.de>
313
314 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
315 gdb_test_multiple calls.
316
63e163f2
AB
3172020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
318
319 * gdb.base/default.exp: Remove test of 'set history filename'.
320 * gdb.base/gdbinit-history.exp: Add tests for setting the history
321 filename to the empty string.
322 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
323 and GDBHISTSIZE.
324
24ed6739
AB
3252020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
326
327 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
328 disabled.
329
590003dc
TV
3302020-03-02 Pedro Alves <palves@redhat.com>
331 Tom de Vries <tdevries@suse.de>
332
333 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
334 -prompt prefix, before user_code argument. Add -lbl option likewise.
335 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
336 (gdb_is_target_1): Add -prompt prefix and move to before user_code
337 argument.
338 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
339 have "\r\n" at start-of-line, instead of at end-of-line.
340
f5e46084
SM
3412020-02-28 Simon Marchi <simon.marchi@efficios.com>
342
343 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
344 libinproctrace.so.
345
f7a7000d
LM
3462020-02-28 Luis Machado <luis.machado@linaro.org>
347
348 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
349 to "p/x".
350
718e0816
LM
3512020-02-28 Luis Machado <luis.machado@linaro.org>
352
353 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
354 asm/ptrace.h and error.h.
355
13c3a74a
TV
3562020-02-28 Tom de Vries <tdevries@suse.de>
357
358 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
359 (struct wrapper, do_something, mundane/symada__cS): Move ...
360 * gdb.base/c-linkage-name-2.c: ... here. New source file.
361 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
362 Update "print symada__cS before partial symtab expansion" regexp.
363 Update breakpoint location. Flush symbol cache after expansion.
364
85d2d5bb
LM
3652020-02-28 Luis Machado <luis.machado@linaro.org>
366
367 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
368
3608f86c
TV
3692020-02-27 Tom de Vries <tdevries@suse.de>
370
371 * config/sid.exp: Remove unused globals.
372 * gdb.base/attach.exp: Same.
373 * gdb.base/catch-load.exp: Same.
374 * gdb.base/dbx.exp: Same.
375 * lib/gdb.exp: Same.
376 * lib/mi-support.exp: Same.
377 * lib/prompt.exp: Same.
378
c8d4f6df
TV
3792020-02-27 Tom de Vries <tdevries@suse.de>
380
381 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
382 not set.
383
0d79cdc4
AM
3842020-02-26 Aaron Merey <amerey@redhat.com>
385
386 * gdb.debuginfod: New directory for debuginfod tests.
387 * gdb.debuginfod/main.c: New test file.
388 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
389
0dce4280
TV
3902020-02-26 Tom de Vries <tdevries@suse.de>
391
392 PR gdb/25603
393 * gdb.base/persistent-lang.cc: New test.
394 * gdb.base/persistent-lang.exp: New file.
395
9e80cfa1
AB
3962020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
397
398 * gdb.fortran/derived-type-striding.exp: Add a new test.
399 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
400 new test.
401
2078dbb2
AB
4022020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
403
404 * gdb.base/cached-source-file.exp: Avoid source file paths in test
405 names.
406
70d49700
TV
4072020-02-25 Tom de Vries <tdevries@suse.de>
408
409 PR go/18926
410 * gdb.go/methods.exp: Remove gcc/93866 xfail.
411
a88ef40d
TV
4122020-02-24 Tom de Vries <tdevries@suse.de>
413
414 PR gdb/25592
415 * gdb.base/info-locals-unused-static-var.c: New test.
416 * gdb.base/info-locals-unused-static-var.exp: New file.
417
01b1af32
TT
4182020-02-22 Tom Tromey <tom@tromey.com>
419
420 * gdb.python/tui-window.exp: New file.
421 * gdb.python/tui-window.py: New file.
422
7c043ba6
TT
4232020-02-22 Tom Tromey <tom@tromey.com>
424
425 PR tui/17850:
426 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
427 tests.
428
c22fef7e
TT
4292020-02-22 Tom Tromey <tom@tromey.com>
430
431 * gdb.tui/new-layout.exp: Add sub-layout tests.
432
ee325b61
TT
4332020-02-22 Tom Tromey <tom@tromey.com>
434
435 * gdb.tui/new-layout.exp: New file.
436
3f0cbb04
TT
4372020-02-22 Tom Tromey <tom@tromey.com>
438
439 * gdb.rust/rust-style.rs: New file.
440 * gdb.rust/rust-style.exp: New file.
441 * gdb.base/style.exp: Test structure printing.
442 * gdb.base/style.c (struct some_struct): New type.
443 (enum etype): New type.
444 (struct_value): New global.
445
75525152
TV
4462020-02-21 Tom de Vries <tdevries@suse.de>
447
448 PR go/18926
449 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
450 Remove blanket xfails. Use message argument for gdb_breakpoint.
451 Make continuing to breakpoint test conditional on setting breakpoint.
452 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
453 DW_AT_name attribute. Add xfail for GCC PR93866.
454
bd360d30
AB
4552020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
456
457 * gdb.dwarf2/cpp-linkage-name.c: New file.
458 * gdb.dwarf2/cpp-linkage-name.exp: New file.
459
c7adb09f 4602020-02-21 Shahab Vahedi <shahab@synopsys.com>
24ac169a
SV
461
462 * lib/gdb.exp (gdb_wrapper_init): Reset
463 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
464 not exist.
465
a9c79803
TV
4662020-02-20 Tom de Vries <tdevries@suse.de>
467
468 PR go/17018
469 * gdb.go/hello.exp: Copy ...
470 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
471 print of st to print value of global definition. Add xfail for GCC
472 PR93844.
473 * gdb.go/hello.exp: Remove printing of st before definition.
474 * gdb.go/hello.go: Copy ...
475 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
476 to st.
477 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
478
d7445728
TV
4792020-02-20 Tom de Vries <tdevries@suse.de>
480
481 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
482 (gdb_simple_compile): Handle compile_flags go by using .go extension
483 for source file.
484 * gdb.go/chan.exp: Use support_go_compile.
485 * gdb.go/handcall.exp: Same.
486 * gdb.go/hello.exp: Same.
487 * gdb.go/integers.exp: Same.
488 * gdb.go/max-depth.exp: Same.
489 * gdb.go/methods.exp: Same.
490 * gdb.go/package.exp: Same.
491 * gdb.go/strings.exp: Same.
492 * gdb.go/types.exp: Same.
493 * gdb.go/unsafe.exp: Same.
494
c9c41e6d
TV
4952020-02-19 Tom de Vries <tdevries@suse.de>
496
497 * gdb.python/lib-types.exp: Make xfail more strict.
498
f20ff837
TV
4992020-02-19 Tom de Vries <tdevries@suse.de>
500
501 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
502
08410482
DE
5032020-02-19 Doug Evans <dje@google.com>
504
505 PR rust/25535
506 * gdb.rust/simple.exp: Add test.
507 * gdb.rust/simple.rs: Add test.
508
623563f7
TV
5092020-02-19 Tom de Vries <tdevries@suse.de>
510
511 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
512 output line-by-line.
513
d3308cfd
TV
5142020-02-19 Tom de Vries <tdevries@suse.de>
515
516 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
517
86cbc5dc
TV
5182020-02-19 Tom de Vries <tdevries@suse.de>
519
520 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
521 prelink.
522
9db2b96b
TV
5232020-02-19 Tom de Vries <tdevries@suse.de>
524
525 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
526 (gdb_do_cache): Use gdb_do_cache_wrap.
527 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
528
89e2fdc5
TV
5292020-02-19 Tom de Vries <tdevries@suse.de>
530
531 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
532 gdb_compile option.
533
373d7ac0
SM
5342020-02-18 Simon Marchi <simon.marchi@efficios.com>
535
536 * gdb.base/printcmds.exp (test_print_enums): Update expected
537 output.
538
b29a2df0
SM
5392020-02-18 Simon Marchi <simon.marchi@efficios.com>
540
541 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
542 for "unknown".
543
6740f0cc
SM
5442020-02-18 Simon Marchi <simon.marchi@efficios.com>
545
546 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
547 enumerator.
548
edd45eb0
SM
5492020-02-18 Simon Marchi <simon.marchi@efficios.com>
550
551 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
552 FE_, add FE_NONE.
553 (three): Update.
554 (enum flag_enum_without_zero): New enum.
555 (flag_enum_without_zero): New variable.
556 (enum not_flag_enum): New enum.
557 (three_not_flag): New variable.
558 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
559 (test_print_enums): Add more tests for printing flag enums.
560
d4295de4
TV
5612020-02-18 Tom de Vries <tdevries@suse.de>
562
563 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
564 (gdb_compile_ada): ... here.
565 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
566 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
567
f251f505
TT
5682020-02-14 Tom Tromey <tom@tromey.com>
569
570 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
571 build directory.
572 * boards/gdbserver-base.exp: Update path to gdbserver.
573
8f432634
TV
5742020-02-13 Tom de Vries <tdevries@suse.de>
575
576 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
577
92b6eaf7
TV
5782020-02-13 Tom de Vries <tdevries@suse.de>
579
580 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
581 are missing.
582
f3b0f7fe
TV
5832020-02-13 Tom de Vries <tdevries@suse.de>
584
585 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
586 call.
587
f6be8713
SDJ
5882020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
589
590 PR tui/25126
591 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
592 * gdb.base/cached-source-file.c: New file.
593 * gdb.base/cached-source-file.exp: New file.
594
b2770d5e
TV
5952020-02-11 Tom de Vries <tdevries@suse.de>
596
597 PR testsuite/25488
598 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
599
44f6938e
TV
6002020-02-10 Tom de Vries <tdevries@suse.de>
601
602 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
603
5f0e2eb7
MR
6042020-02-10 Maciej W. Rozycki <macro@wdc.com>
605
606 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
607 and $after_addr are both integers before making a comparison.
608
46ce2b6f
TV
6092020-02-09 Tom de Vries <tdevries@suse.de>
610
611 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
612 command output and paste it into gdb.log. If any, paste catch message
613 to gdb.log.
614
5abbbe1d
TT
6152020-02-07 Tom Tromey <tromey@adacore.com>
616
617 PR breakpoints/24915:
618 * gdb.base/annotate-symlink.exp: Use setup_xfail.
619
1d5d29e7
SV
6202020-02-06 Shahab Vahedi <shahab@synopsys.com>
621
622 * gdb.tui/tui-missing-src.exp: Add the "missing source
623 file" test for the TUI.
624
b0999b9b
AB
6252020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
626
627 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
628 including a port number in the output.
629
c3b149eb
AKS
6302020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
631
632 * lib/fortran.exp (fortran_int4): Handle clang.
633 (fortran_int8): Likewise.
634 (fortran_real4): Likewise.
635 (fortran_real8): Likewise.
636 (fortran_complex4): Likewise.
637 (fortran_logical4): Likewise.
638 (fortran_character1): Likewise.
639
f8dcc90b
TV
6402020-02-04 Tom de Vries <tdevries@suse.de>
641
642 * README (Race detection): Add note.
643
f90ac7c2
TV
6442020-02-04 Tom de Vries <tdevries@suse.de>
645
646 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
647
780636ae
TV
6482020-02-04 Tom de Vries <tdevries@suse.de>
649
650 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
651
5d2e1193
RA
6522020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
653
654 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
655 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
656 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
657 blttar, bnetarl.
658 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
659 binary for blttar, bnetarl.
660 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
661 wait instruction. Delete ldmx test.
662 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
663
e409c542
AKS
6642020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
665
666 * gdb.fortran/array-bounds-high.exp: New file.
667 * gdb.fortran/array-bounds-high.f90: New file.
668
b0029748
LD
6692020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
670
671 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
672 Replace #include of <sys/fcntl.h> by <fcntl.h>.
673
195a8287
TV
6742020-02-01 Tom de Vries <tdevries@suse.de>
675
676 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
677
42330a68
AB
6782020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
679
680 PR tui/9765
681 * gdb.tui/tui-layout-asm-short-prog.S: New file.
682 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
683
b62a8028
LM
6842020-01-29 Luis Machado <luis.machado@linaro.org>
685
686 * gdb.arch/aarch64-brk-patterns.c: New source file.
687 * gdb.arch/aarch64-brk-patterns.exp: New test.
688
5f440116
TBA
6892020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
690
691 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
692 GCC/Clang version.
693 * gdb.cp/pass-by-ref.exp: Ditto.
694
ee2a6fc6
TV
6952020-01-29 Tom de Vries <tdevries@suse.de>
696
697 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
698 * gdb.threads/watchpoint-fork-mt.c: Same.
699 * gdb.threads/watchpoint-fork-parent.c: Same.
700 * gdb.threads/watchpoint-fork-st.c: Same.
701 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
702
16b10d6e
LM
7032020-01-27 Luis Machado <luis.machado@linaro.org>
704
705 * gdb.base/step-over-syscall.exp (setup): Check if we're already
706 sitting at a syscall instruction when we hit the syscall function's
707 breakpoint.
708 Check PC against one obtained with the x command.
709 Validate syscall number.
710 (step_over_syscall): Don't continue to the syscall instruction if
711 we're already there.
712
b1468492
PW
7132020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
714
715 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
716
7ffa82e1
AB
7172020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
718
719 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
720 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
721
3d92a3e3
AB
7222020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
723
724 * gdb.dwarf2/dw2-inline-stepping.c: New file.
725 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
726
94a72be7
AB
7272020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
728
729 * gdb.base/maint.exp: Update line table parsing test.
730 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
731
53af73bf
PA
7322020-01-24 Pedro Alves <palves@redhat.com>
733
734 PR gdb/25410
735 * gdb.multi/multi-re-run-1.c: New.
736 * gdb.multi/multi-re-run-2.c: New.
737 * gdb.multi/multi-re-run.exp: New.
738
1ba1ac88
AB
7392020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
740
741 PR gdb/23718
742 * gdb.server/server-kill-python.exp: New file.
743
f3364a6d
AB
7442020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
745
746 * gdb.server/multi-ui-errors.c: New file.
747 * gdb.server/multi-ui-errors.exp: New file.
748
733d0a67
AB
7492020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
750
751 PR tui/9765
752 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
753
4f13c1c0
TT
7542020-01-19 Tom Tromey <tom@tromey.com>
755
756 * gdb.tui/main.exp: Add check for plain "file".
757
40c94099
CB
7582020-01-16 Christian Biesinger <cbiesinger@google.com>
759
760 * lib/gdb.exp: Fix spelling error (seperatelly).
761
ff47f4f0
TT
7622020-01-14 Tom Tromey <tom@tromey.com>
763
764 PR symtab/12535:
765 * gdb.python/python.exp: Test decode_line with empty string
766 argument.
767
717c684d
BE
7682020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
769
770 * gdb.base/skip-inline.exp: Extend test.
771
44e4c775
AB
7722020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
773
774 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
775 * gdb.dwarf2/dw2-bad-elf.c: New file.
776 * gdb.dwarf2/dw2-bad-elf.exp: New file.
777
d93c6db7
AB
7782020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
779
780 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
781 _line_saw_file.
782
9a6d629c
AB
7832020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
784
785 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
786 border.
787
d9ebdab7
TBA
7882020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
789
790 * gdb.multi/multi-target.exp (setup): Factor out "info
791 connections" and "info inferiors" tests to ...
792 (test_info_inferiors): ... this new procedure.
793 (top level): Run new "info-inferiors" tests.
794
f3c469b9
PA
7952020-01-10 Pedro Alves <palves@redhat.com>
796
797 * gdb.server/bkpt-other-inferior.exp: New file.
798
121b3efd
PA
7992020-01-10 Pedro Alves <palves@redhat.com>
800
801 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
802 of "add-inferior".
803 * gdb.base/quit-live.exp: Likewise.
804 * gdb.base/remote-exec-file.exp: Likewise.
805 * gdb.guile/scm-progspace.exp: Likewise.
806 * gdb.linespec/linespec.exp: Likewise.
807 * gdb.mi/new-ui-mi-sync.exp: Likewise.
808 * gdb.mi/user-selected-context-sync.exp: Likewise.
809 * gdb.multi/multi-target.exp (setup): Add "info connection" and
810 "info inferiors" tests.
811 * gdb.multi/remove-inferiors.exp: Adjust expected output of
812 "add-inferior".
813 * gdb.multi/watchpoint-multi.exp: Likewise.
814 * gdb.python/py-inferior.exp: Likewise.
815 * gdb.server/extended-remote-restart.exp: Likewise.
816 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
817 "info inferiors".
818 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
819 * gdb.trace/report.exp: Likewise.
820
1dadb1dd
PA
8212020-01-10 Pedro Alves <palves@redhat.com>
822
823 * gdb.multi/multi-target.c: New file.
824 * gdb.multi/multi-target.exp: New file.
825 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
826 mode requested, but remote does not support non-stop".
827
78f2c40a
PA
8282020-01-10 Pedro Alves <palves@redhat.com>
829
830 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
831 disconnect before reconnecting.
832
e7af6c70
TBA
8332020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
834 Pedro Alves <palves@redhat.com>
835
836 * gdb.server/connect-without-multi-process.exp: Also test
837 continuing to end.
838
acdf84a6
PA
8392020-01-10 Pedro Alves <palves@redhat.com>
840
841 * gdb.base/remote-exec-file.exp: New file.
842
873657b9
PA
8432020-01-10 Pedro Alves <palves@redhat.com>
844
845 * gdb.base/fork-running-state.exp (do_test): Adjust expected
846 output.
847 * gdb.threads/async.c: New.
848 * gdb.threads/async.exp: New.
849 * gdb.multi/tids-gid-reset.c: New.
850 * gdb.multi/tids-gid-reset.exp: New.
851
7f0ae84c
GB
8522020-01-10 George Barrett <bob@bob131.so>
853
854 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
855 to help in finding the image relocation offset.
856 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
857 options in arguments.
858 (stap_test_no_debuginfo): Likewise.
859 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
860 test variants.
861 (stap_test): Add null semaphore relocation test.
862
47e9d49d
GB
8632020-01-10 George Barrett <bob@bob131.so>
864
865 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
866 * gdb.base/stap-probe.exp: Likewise.
867 (stap_test): Pass argument as an additional flag.
868 (stap_test_no_debuginfo): Likewise.
869 (stap_test): Check `info probes stap' output for semaphore
870 addresses if the test binary is supposed to have them.
871
f5a7c406
AB
8722020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
873
874 * gdb.tui/basic.exp: Add more scrolling tests.
875
9ae6bf64
TT
8762020-01-09 Tom Tromey <tom@tromey.com>
877
878 PR tui/18932:
879 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
880 meangingful value.
881 (Term::command, Term::resize): Update.
882 * gdb.tui/basic.exp: Add scrolling test.
883
b2efe70c
AB
8842020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
885
886 * gdb.tui/tui-layout-asm.exp: New file.
887
3804da7e
AB
8882020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
889
890 * lib/tuiterm.exp (Term::check_box_contents): New proc.
891
b40aa28f
AB
8922020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
893
894 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
895 (Term::enter_tui): Use Term::prepare_for_tui.
896
63ffd7c9
AB
8972020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
898
899 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
900 called.
901
3be966f6
AB
9022020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
903
904 * gdb.base/skip.exp: Fix race condition in test.
905
153d79c4
AB
9062020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
907
908 * gdb.base/backtrace.c: New file.
909 * gdb.base/backtrace.exp: New file.
910
f2302a34
AB
9112020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
912
913 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
914
6ec1d75e
PW
9152020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
916
917 * gdb.base/style.exp: Test that warnings are styled.
918
c296cbe6
BE
9192019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
920
921 * gdb.base/line65535.exp: New file.
922 * gdb.base/line65535.c: New file.
923
b28a729d
SM
9242019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
925
926 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
927 * lib/gnat_debug_info_test.adb: New file.
928 * gdb.ada/ptype_tagged_param.exp: Use
929 gnat_runtime_has_debug_info, expect a different output if
930 runtime does not have debug info.
931
7f2d7a0d
SM
9322019-12-20 Simon Marchi <simon.marchi@efficios.com>
933
934 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
935 (another) quote in test name.
936
f3bce483
SM
9372019-12-20 Simon Marchi <simon.marchi@efficios.com>
938
939 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
940 Add quote in test name.
941
c855a912
TBA
9422019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
943
944 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
945 directory instead.
946 * gdb.cp/pass-by-ref.exp: Extend with more cases.
947 * gdb.cp/pass-by-ref-2.cc: New file.
948 * gdb.cp/pass-by-ref-2.exp: New file.
949
fc9d2d72
TT
9502019-12-20 Tom Tromey <tom@tromey.com>
951
952 * gdb.tui/list-before.exp: New file.
953
77b97e00
TT
9542019-12-20 Tom Tromey <tom@tromey.com>
955
956 * gdb.tui/list.exp: Check for source on initial listing.
957
f69656d0
TT
9582019-12-11 Tom Tromey <tromey@adacore.com>
959
960 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
961 Add crlf test.
962
99a55965
SM
9632019-12-18 Simon Marchi <simon.marchi@efficios.com>
964
965 * gdb.base/default.exp: Update value of $_gdb_major.
966
5024637f
BE
9672019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
968
969 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
970
b63634be
BE
9712019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
972
973 * gdb.base/skip.exp: Whitespace fix.
974
45d73523
BE
9752019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
976
977 * gdb.base/skip-inline.c: New file.
978 * gdb.base/skip-inline.exp: New file.
979
d043f8c8
SM
9802019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
981
982 * gdb.base/jit-reader.exp (jit_reader_test): Rename
983 jit_function_00 to jit_function_stack_mangle.
984 * gdb.base/jithost.c (jit_function_t): Rename to...
985 (jit_function_stack_mangle_t): ... this.
986 (jit_function_add_t): New typedef.
987 (jit_function_00_code): Rename to...
988 (jit_function_stack_mangle_code): ... this, make static.
989 (jit_function_add_code): New.
990 (main): Generate "add" function and call it. Adjust to changes
991 in jithost_abi.
992 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
993 (struct jithost_abi) <begin, end>: Remove fields.
994 <object, function_stack_mangle, function_add>: New fields.
995 * gdb.base/jitreader.c (struct reader_state) <code_begin,
996 code_end>: Remove fields.
997 <func_stack_mangle>: New field.
998 (read_debug_info): Adjust to renaming, create block for "add"
999 function.
1000 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
1001
873de05c
TT
10022019-12-11 Tom Tromey <tom@tromey.com>
1003
1004 * gdb.tui/resize.exp: Fix regexp.
1005 * gdb.tui/regs.exp: Fix regexps.
1006 * gdb.tui/main.exp: Fix regexp.
1007
3d979945
TT
10082019-12-11 Tom Tromey <tom@tromey.com>
1009
1010 * gdb.tui/resize.exp: Update.
1011 * gdb.tui/empty.exp (layouts): Update.
1012
2192a9d3
TT
10132019-12-11 Tom Tromey <tom@tromey.com>
1014
1015 * gdb.tui/regs.exp: Update.
1016 * gdb.tui/empty.exp (layouts): Update.
1017 * gdb.tui/basic.exp: Update.
1018 * lib/tuiterm.exp (_check_box): Don't check bottom border.
1019
d8edc8b7
PW
10202019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1021
1022 * gdb.base/options.exp: Add -raw-values in the print completion list.
1023 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
1024
4c12d936
KB
10252019-12-10 Kevin Buettner <kevinb@redhat.com>
1026
1027 * gdb.threads/omp-par-scope.c: New file.
1028 * gdb/threads/omp-par-scope.exp: New file.
1029
26b911fb
KB
10302019-12-10 Kevin Buettner <kevinb@redhat.com>
1031
bb47f919
KB
1032 * lib/gdb.exp (support_nested_function_tests): New proc.
1033
10342019-12-10 Kevin Buettner <kevinb@redhat.com>
1035
1036 * lib/gdb.exp (gdb_compile_openmp): New proc.
1037 (build_executable_from_specs): Add an "openmp" option.
1038 (gdb_compile_pthreads): Add non-executable case.
26b911fb 1039
6c71eb7d
TT
10402019-12-10 Tom Tromey <tromey@adacore.com>
1041
1042 * gdb.ada/unchecked_union.exp: New file.
1043 * gdb.ada/unchecked_union/pck.adb: New file.
1044 * gdb.ada/unchecked_union/pck.ads: New file.
1045 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
1046 * gdb-utils.exp (string_to_regexp): Also quote "?".
1047
bac7c5cf
GB
10482019-12-10 George Barrett <bob@bob131.so>
1049
1050 Test scripted probe breakpoints.
1051 * gdb.guile/scm-breakpoint.c (main): Add probe point.
1052 * gdb.python/py-breakpoint.c (main): Likewise.
1053 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
1054 specifier test.
1055 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
1056
330f1d38
TBA
10572019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1058
1059 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
1060 an rvalue parameter.
1061 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
1062 parameter.
1063
b43315e2
AB
10642019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
1065
1066 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
1067 modules.
1068
54f73dad
AB
10692019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
1070
1071 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
1072 broken version of GCC.
1073
d57cbee9
AB
10742019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
1075
1076 * gdb.fortran/info-modules.exp: Rewrite to make use of new
1077 sym-info-cmds library.
1078 * gdb.fortran/info-types.exp: Likewise.
1079 * lib/sym-info-cmds.exp: New file.
1080
c14aab8c
TV
10812019-12-08 Tom de Vries <tdevries@suse.de>
1082
1083 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
1084
aa2d5a42
KS
10852019-12-07 Keith Seitz <keiths@redhat.com>
1086
1087 * gdb.base/corefile-buildid-shlib-shr.c: New file.
1088 * gdb.base/corefile-buildid-shlib.c: New file.
1089 * gdb.base/corefile-buildid.c: New file.
1090 * gdb.base/corefile-buildid.exp: New file.
1091
93e55f0a
TV
10922019-12-06 Tom de Vries <tdevries@suse.de>
1093
1094 * gdb.dwarf2/varval.exp: Add decl before def test.
1095
c7d12402
TBA
10962019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1097
1098 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
1099
06acc08f
TBA
11002019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1101
1102 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
1103 CV and reference conversion for overload resolution.
1104 * gdb.cp/rvalue-ref-overload.exp: Test it.
1105
e0fad1ea
PW
11062019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1107
1108 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
1109 * gdb.base/frameapply.exp: Test faas without command.
1110
8d70a9f0
AB
11112019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1112
1113 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
1114 Fortran tests.
1115 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
1116 order.
1117
36c8fb93
AB
11182019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1119
1120 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
1121 casting to type with no kind specified.
1122 (test_basic_parsing_of_type_kinds): Additional tests for types
1123 with no kind specified, and add tests for single/double
1124 precision/complex types.
1125
4139ff00
TT
11262019-12-04 Tom Tromey <tromey@adacore.com>
1127
1128 * gdb.base/endianity.c (struct other) <x>: New field.
1129 (main): Initialize it.
1130 * gdb.base/endianity.exp: Update.
1131
a05cf17a
TT
11322019-12-04 Tom Tromey <tromey@adacore.com>
1133
1134 * gdb.ada/scalar_storage/storage.adb: New file.
1135 * gdb.ada/scalar_storage/pck.adb: New file.
1136 * gdb.ada/scalar_storage/pck.ads: New file.
1137 * gdb.ada/scalar_storage.exp: New file.
1138
103a685e
TT
11392019-12-04 Tom Tromey <tromey@adacore.com>
1140
1141 * gdb.base/endianity.c (struct otherendian) <f>: New field.
1142 (main): Initialize it.
1143 * gdb.base/endianity.exp: Update.
1144
c2512106
AB
11452019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1146
1147 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
1148
293b38d6
AB
11492019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1150
1151 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
1152 -symbol-info-module-functions and -symbol-info-module-variables.
1153
216a7e6b
AB
11542019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
1155
1156 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
1157
5bbd8269
AB
11582019-12-01 Richard Bunt <richard.bunt@arm.com>
1159 Andrew Burgess <andrew.burgess@embecosm.com>
1160
1161 * gdb.fortran/derived-type-striding.exp: New file.
1162 * gdb.fortran/derived-type-striding.f90: New file.
1163 * gdb.fortran/array-slices.exp: New file.
1164 * gdb.fortran/array-slices.f90: New file.
1165
be09caf1
PW
11662019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1167
1168 * gdb.base/define.exp: Test . in command names.
1169 * gdb.base/setshow.exp: Update test, as . is now part of
1170 command name.
1171
643c0cbe
PW
11722019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1173
1174 * gdb.base/define-prefix.exp: New file.
1175
dcdec678
AB
11762019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
1177
1178 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
1179 compile.
1180 (skip_btrace_pt_tests): Likewise.
1181
640ab947
AB
11822019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
1183
1184 * gdb.fortran/info-modules.exp: Compile source files in correct
1185 order.
1186
d22670f0
KB
11872019-11-27 Kevin Buettner <kevinb@redhat.com>
1188
1189 * gdb.dwarf2/imported-unit.exp: New file.
1190 * gdb.dwarf2/imported-unit.c: New file.
1191
db5960b4
AB
11922019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
1193
1194 * gdb.mi/mi-fortran-modules-2.f90: New file.
1195 * gdb.mi/mi-fortran-modules.exp: New file.
1196 * gdb.mi/mi-fortran-modules.f90: New file.
1197
7dc42066
AB
11982019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
1199
1200 * gdb.mi/mi-sym-info-1.c: New file.
1201 * gdb.mi/mi-sym-info-2.c: New file.
1202 * gdb.mi/mi-sym-info.exp: New file.
1203
0dfeecca
TT
12042019-11-22 Tom Tromey <tromey@adacore.com>
1205
1206 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
1207 * gdb.ada/tasks/foo.adb: Add another stopping location.
1208
34877895
PJ
12092019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
1210
1211 * gdb.base/endianity.c: New test.
1212 * gdb.base/endianity.exp: New file.
1213
2e84f897
LD
12142019-11-21 Lukas Durfina <ldurfina@tachyum.com>
1215
1216 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
1217
65d1cd5f
TV
12182019-11-21 Tom de Vries <tdevries@suse.de>
1219
1220 PR gdb/24956
1221 * gdb.base/ui-redirect.exp: Test output of user-defined command.
1222
4f22c3f4
SDJ
12232019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
1224
1225 * gdb.python/py-progspace.exp: Add missing parentheses on some
1226 'print' commands.
1227
9f6ad286
TT
12282019-11-19 Tom Tromey <tom@tromey.com>
1229
1230 * gdb.tui/winheight.exp: New file.
1231
0b8dbf3f
AB
12322019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1233
1234 * gdb.base/ctf-whatis.c: Delete.
1235 * gdb.base/ctf-whatis.exp: Delete.
1236 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
1237
f833b7a7
AB
12382019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1239
1240 * gdb.base/ctf-cvexpr.exp: Delete.
1241 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
1242
30d0a636
AB
12432019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1244
1245 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
1246 the compiler. Clean up header comment a little.
1247 * gdb.base/ctf-ptype.exp: Likewise.
1248 * gdb.base/ctf-whatis.exp: Likewise.
1249 * lib/gdb.exp (skip_ctf_tests): New proc.
1250
494409bb
SDJ
12512019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
1252
1253 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
1254 * gdb.tui/corefile-run.exp: New file.
1255
55708e99
TT
12562019-11-14 Tom Tromey <tromey@adacore.com>
1257
1258 * gdb.base/gdbvars.exp (test_convenience_variables): Add
1259 regression tests.
1260
45e42163
TT
12612019-11-12 Tom Tromey <tom@tromey.com>
1262
1263 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
1264 after any command. Expect prompt after WAIT_FOR is seen.
1265 (enter_tui): Enable resize messages.
1266 (command): Expect command in output.
1267 (get_line): Avoid error when cursor appears to be off-screen.
1268 (dump_screen): Include screen size in title.
1269 (_do_resize): New proc, from "resize".
1270 (resize): Rewrite. Do resize in two steps.
1271 * gdb.tui/empty.exp (layouts): Fix entries.
1272 (check_boxes): Remove xfail.
1273 (check_text): Dump screen on failure.
1274
086baaf1
AB
12752019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
1276
1277 * gdb.python/py-symbol.exp: Add test for
1278 gdb.lookup_static_symbols.
1279
09ff83af
AB
12802019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
1281
1282 * gdb.python/py-symbol.c: Declare and call function from new
1283 py-symbol-2.c file.
1284 * gdb.python/py-symbol.exp: Compile both source files, and add new
1285 tests for gdb.lookup_static_symbol.
1286 * gdb.python/py-symbol-2.c: New file.
1287
11af934b
TV
12882019-11-02 Tom de Vries <tdevries@suse.de>
1289
1290 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
1291 * gdb.base/anon.exp: Same.
1292 * gdb.base/auto-connect-native-target.exp: Same.
1293 * gdb.base/call-ar-st.exp: Same.
1294 * gdb.base/catch-syscall.exp: Same.
1295 * gdb.base/commands.exp: Same.
1296 * gdb.base/default.exp: Same.
1297 * gdb.base/display.exp: Same.
1298 * gdb.base/float.exp: Same.
1299 * gdb.base/foll-fork.exp: Same.
1300 * gdb.base/help.exp: Same.
1301 * gdb.base/info-macros.exp: Same.
1302 * gdb.base/info-proc.exp: Same.
1303 * gdb.base/info-target.exp: Same.
1304 * gdb.base/long_long.exp: Same.
1305 * gdb.base/macscp.exp: Same.
1306 * gdb.base/memattr.exp: Same.
1307 * gdb.base/nofield.exp: Same.
1308 * gdb.base/pointers.exp: Same.
1309 * gdb.base/printcmds.exp: Same.
1310 * gdb.base/ptype.exp: Same.
1311 * gdb.base/restore.exp: Same.
1312 * gdb.base/return.exp: Same.
1313 * gdb.base/scope.exp: Same.
1314 * gdb.base/set-noassign.exp: Same.
1315 * gdb.base/setshow.exp: Same.
1316 * gdb.base/shlib-call.exp: Same.
1317 * gdb.base/signals.exp: Same.
1318 * gdb.base/sigstep.exp: Same.
1319 * gdb.base/skip.exp: Same.
1320 * gdb.base/solib-symbol.exp: Same.
1321 * gdb.base/stap-probe.exp: Same.
1322 * gdb.base/step-line.exp: Same.
1323 * gdb.base/step-test.exp: Same.
1324 * gdb.base/style.exp: Same.
1325 * gdb.base/varargs.exp: Same.
1326 * gdb.base/vla-datatypes.exp: Same.
1327 * gdb.base/vla-ptr.exp: Same.
1328 * gdb.base/vla-sideeffect.exp: Same.
1329 * gdb.base/volatile.exp: Same.
1330 * gdb.base/watch-cond-infcall.exp: Same.
1331 * gdb.base/watchpoint.exp: Same.
1332
e96ec2ba
TV
13332019-11-02 Tom de Vries <tdevries@suse.de>
1334
1335 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
1336 * gdb.cp/cpexprs.exp: Same.
1337 * gdb.cp/except-multi-location.exp: Same.
1338 * gdb.cp/exceptprint.exp: Same.
1339 * gdb.cp/gdb2384.exp: Same.
1340 * gdb.cp/inherit.exp: Same.
1341 * gdb.cp/m-static.exp: Same.
1342 * gdb.cp/meth-typedefs.exp: Same.
1343 * gdb.cp/misc.exp: Same.
1344 * gdb.cp/namespace.exp: Same.
1345 * gdb.cp/non-trivial-retval.exp: Same.
1346 * gdb.cp/overload.exp: Same.
1347 * gdb.cp/pr17132.exp: Same.
1348 * gdb.cp/re-set-overloaded.exp: Same.
1349 * gdb.cp/rvalue-ref-types.exp: Same.
1350 * gdb.cp/templates.exp: Same.
1351
bd5766ec
LM
13522019-11-01 Luis Machado <luis.machado@linaro.org>
1353
1354 PR gdb/25124
1355
1356 * gdb.arch/pr25124.S: New file.
1357 * gdb.arch/pr25124.exp: New file.
1358
165f8965
AB
13592019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1360
1361 * gdb.fortran/info-modules.exp: Update expected results, and add
1362 additional tests for 'info module functinos', and 'info module
1363 variables'.
1364 * gdb.fortran/info-types.exp: Update expected results.
1365 * gdb.fortran/info-types.f90: Extend testcase with additional
1366 module variables and functions.
1367
59c35742
AB
13682019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1369
1370 * gdb.fortran/info-modules.exp: New file.
1371 * gdb.fortran/info-types.exp: Build with new file.
1372 * gdb.fortran/info-types.f90: Include and use new module.
1373 * gdb.fortran/info-types-2.f90: New file.
1374
f3fb2519
PW
13752019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1376
1377 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
1378 * gdb.base/settings.exp: Test all settings types using
1379 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
1380 that now verifies that the value of "maint show" is the same as
1381 returned by the settings functions. Test the type of the
1382 maintenance settings.
1383 * gdb.base/default.exp: Update show_conv_list.
1384
d1e36019
TV
13852019-10-31 Tom de Vries <tdevries@suse.de>
1386
1387 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
1388 gdb_test.
1389 * gdb.arch/amd64-disp-step.exp: Same.
1390 * gdb.asm/asm-source.exp: Same.
1391 * gdb.btrace/buffer-size.exp: Same.
1392 * gdb.btrace/cpu.exp: Same.
1393 * gdb.btrace/enable.exp: Same.
1394 * gdb.dwarf2/count.exp: Same.
1395 * gdb.dwarf2/dw2-ranges-func.exp: Same.
1396 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
1397 * gdb.fortran/vla-datatypes.exp: Same.
1398 * gdb.fortran/vla-history.exp: Same.
1399 * gdb.fortran/vla-ptype.exp: Same.
1400 * gdb.fortran/vla-value.exp: Same.
1401 * gdb.fortran/whatis_type.exp: Same.
1402 * gdb.guile/guile.exp: Same.
1403 * gdb.multi/tids.exp: Same.
1404 * gdb.python/py-finish-breakpoint.exp: Same.
1405 * gdb.python/py-framefilter.exp: Same.
1406 * gdb.python/py-pp-registration.exp: Same.
1407 * gdb.python/py-xmethods.exp: Same.
1408 * gdb.python/python.exp: Same.
1409 * gdb.server/connect-with-no-symbol-file.exp: Same.
1410 * gdb.server/no-thread-db.exp: Same.
1411 * gdb.server/run-without-local-binary.exp: Same.
1412 * gdb.stabs/weird.exp: Same.
1413 * gdb.threads/attach-many-short-lived-threads.exp: Same.
1414 * gdb.threads/thread-find.exp: Same.
1415 * gdb.threads/tls-shared.exp: Same.
1416 * gdb.threads/tls.exp: Same.
1417 * gdb.threads/wp-replication.exp: Same.
1418 * gdb.trace/ax.exp: Same.
1419 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
1420
3d11e68e
TV
14212019-10-31 Tom de Vries <tdevries@suse.de>
1422
1423 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
1424 * gdb.ada/array_subscript_addr.exp: Same.
1425 * gdb.ada/arrayidx.exp: Same.
1426 * gdb.ada/arrayparam.exp: Same.
1427 * gdb.ada/arrayptr.exp: Same.
1428 * gdb.ada/boolean_expr.exp: Same.
1429 * gdb.ada/call_pn.exp: Same.
1430 * gdb.ada/complete.exp: Same.
1431 * gdb.ada/fixed_cmp.exp: Same.
1432 * gdb.ada/fun_addr.exp: Same.
1433 * gdb.ada/funcall_param.exp: Same.
1434 * gdb.ada/interface.exp: Same.
1435 * gdb.ada/mod_from_name.exp: Same.
1436 * gdb.ada/null_array.exp: Same.
1437 * gdb.ada/packed_array.exp: Same.
1438 * gdb.ada/packed_tagged.exp: Same.
1439 * gdb.ada/print_chars.exp: Same.
1440 * gdb.ada/print_pc.exp: Same.
1441 * gdb.ada/ptype_arith_binop.exp: Same.
1442 * gdb.ada/ptype_field.exp: Same.
1443 * gdb.ada/ptype_tagged_param.exp: Same.
1444 * gdb.ada/rec_return.exp: Same.
1445 * gdb.ada/ref_tick_size.exp: Same.
1446 * gdb.ada/str_ref_cmp.exp: Same.
1447 * gdb.ada/taft_type.exp: Same.
1448 * gdb.ada/tagged.exp: Same.
1449 * gdb.ada/type_coercion.exp: Same.
1450 * gdb.ada/uninitialized_vars.exp: Same.
1451
60b6ede8
TV
14522019-10-30 Tom de Vries <tdevries@suse.de>
1453
1454 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
1455
30baf67b
TV
14562019-10-26 Tom de Vries <tdevries@suse.de>
1457
1458 * gdb.base/bigcore.c: Fix typos in comments.
1459 * gdb.base/ctf-ptype.c: Same.
1460 * gdb.base/long_long.c: Same.
1461 * gdb.dwarf2/dw2-op-out-param.S: Same.
1462 * gdb.python/py-evthreads.c: Same.
1463 * gdb.reverse/i387-stack-reverse.c: Same.
1464 * gdb.trace/tfile.c: Same.
1465 * lib/compiler.c: Same.
1466 * lib/compiler.cc: Same.
1467
158da0d1
TV
14682019-10-25 Tom de Vries <tdevries@suse.de>
1469
1470 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
1471 gdb_test_multiple calls.
1472 * gdb.reverse/sigall-reverse.exp: Same.
1473 * gdb.reverse/solib-precsave.exp: Same.
1474 * gdb.reverse/solib-reverse.exp: Same.
1475 * gdb.reverse/until-precsave.exp: Same.
1476 * gdb.reverse/until-reverse.exp: Same.
1477
4ccdfbec
TV
14782019-10-24 Tom de Vries <tdevries@suse.de>
1479
1480 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
1481 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
1482 kfail using -wrap pattern flag and convenience variable
1483 gdb_test_name.
1484
33d569b7
AB
14852019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
1486
1487 * gdb.python/py-progspace.exp: Add tests for the
1488 Progspace.block_for_pc method.
1489
4d0b984b
TT
14902019-10-23 Tom Tromey <tom@tromey.com>
1491
1492 * configure: Rebuild.
1493 * aclocal.m4: Use m4_include, not sinclude.
1494
94cb3754
TV
14952019-10-21 Tom de Vries <tdevries@suse.de>
1496
1497 * gdb.base/infcall-nested-structs.c: Add
1498 __attribute__((noinline,noclone)) to all functions.
1499 (call_all): Add missing variable initialization. Simplify return value.
1500 (breakpt): Increment volatile variable, to prevent call from being
1501 optimized out.
1502 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
1503
062f1fc1
TV
15042019-10-17 Tom de Vries <tdevries@suse.de>
1505
1506 * gdb.fortran/module.exp: Allow info variables to print info for files
1507 other than module.f90.
1508
0b54364d
AB
15092019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
1510
1511 * gdb.fortran/module.exp: Extend with 'info variables' test.
1512
7ff5fae7
AB
15132019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
1514
1515 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
1516 F77_FOR_TARGET.
1517
d10eccaa
TV
15182019-10-16 Tom de Vries <tdevries@suse.de>
1519
1520 PR tdep/25096
1521 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
1522
745ff14e
TV
15232019-10-16 Tom de Vries <tdevries@suse.de>
1524
1525 PR tdep/24104
1526 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
1527 Add KFAIL for PR tdep/25096.
1528
03e1ab94
TV
15292019-10-16 Tom de Vries <tdevries@suse.de>
1530
1531 PR testsuite/25059
1532 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
1533
b17fcc10
TV
15342019-10-16 Tom de Vries <tdevries@suse.de>
1535
1536 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
1537 as signed.
1538
9223170f
SM
15392019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
1540
1541 * gdb.mi/list-thread-groups-available.exp: Read entries one by
1542 one instead of increasing timeout.
1543
d6e76313
TV
15442019-10-13 Tom de Vries <tdevries@suse.de>
1545
1546 PR record/25038
1547 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
1548 * gdb.reverse/sigall-reverse.exp: Same.
1549 * gdb.reverse/solib-precsave.exp: Same.
1550 * gdb.reverse/solib-reverse.exp: Same.
1551 * gdb.reverse/step-precsave.exp: Same.
1552 * gdb.reverse/until-precsave.exp: Same.
1553 * gdb.reverse/until-reverse.exp: Same.
1554 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
1555
6dfc0041
AA
15562019-10-10 Andreas Arnez <arnez@linux.ibm.com>
1557
1558 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
1559 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
1560 (cmp_struct_05_01, cmp_struct_static_02_01)
1561 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
1562 comparisons.
1563
abcf2cc8
TV
15642019-10-10 Tom de Vries <tdevries@suse.de>
1565
1566 PR testsuite/24888
1567 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
1568 gnatlink.
1569
a50faaf6
TV
15702019-10-09 Tom de Vries <tdevries@suse.de>
1571
1572 PR testsuite/25048
1573 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
1574
60ff3cd7
AB
15752019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
1576
1577 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
1578 exceptions due to missing debug information.
1579
dfee8566
TV
15802019-10-07 Tom de Vries <tdevries@suse.de>
1581
1582 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
1583
3d63690a
AB
15842019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
1585
1586 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
1587 * gdb.base/annota1.exp: Update to use gdb_test_name.
1588
30d1f018
WP
15892019-10-07 Weimin Pan <weimin.pan@oracle.com>
1590
1591 * gdb.base/ctf-whatis.exp: New file.
1592 * gdb.base/ctf-whatis.c: New file.
1593 * gdb.base/ctf-ptype.exp: New file.
1594 * gdb.base/ctf-ptype.c: New file.
1595 * gdb.base/ctf-constvars.exp: New file.
1596 * gdb.base/ctf-constvars.c: New file.
1597 * gdb.base/ctf-cvexpr.exp: New file.
1598
4dbbb47c
TV
15992019-10-04 Tom de Vries <tdevries@suse.de>
1600
1601 * gdb.cp/local-static.c (main): Move declaration of int i out of the
1602 for loop.
1603
77c2dba3
TT
16042019-10-03 Tom Tromey <tom@tromey.com>
1605
1606 PR rust/24976:
1607 * gdb.rust/simple.rs (Union2): New type.
1608 (main): Use Union2.
1609 * gdb.rust/simple.exp: Add test.
1610
179aed7f
AB
16112019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1612
1613 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
1614 nested function prefix.
1615
0a4b0913
AB
16162019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
1617 Richard Bunt <richard.bunt@arm.com>
1618 Andrew Burgess <andrew.burgess@embecosm.com>
1619
1620 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
1621 nested functions.
1622 * gdb.fortran/nested-funcs.f90: Update expected results.
1623 * gdb.fortran/nested-funcs-2.exp: New file.
1624 * gdb.fortran/nested-funcs-2.f90: New file.
1625
082cce05
AB
16262019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1627
1628 * gdb.python/py-parameter.exp: Make test names unique.
1629 * gdb.python/py-template.exp: Likewise.
1630 * gdb.python/py-value.exp: Likewise.
1631
2b74ba5a
AB
16322019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1633
1634 * gdb.base/break-interp.exp: Reduce test name duplication.
1635 * gdb.base/call-sc.exp: Likewise.
1636 * gdb.base/callfuncs.exp: Likewise.
1637 * gdb.base/charset.exp: Likewise.
1638 * gdb.base/dump.exp: Likewise.
1639 * gdb.base/ena-dis-br.exp: Likewise.
1640 * gdb.base/relational.exp: Likewise.
1641 * gdb.base/step-over-syscall.exp: Likewise.
1642 * gdb.base/structs.exp: Likewise.
1643
58eb20d5
AB
16442019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1645
1646 * gdb.linespec/explicit.exp: Make test names unique.
1647 * gdb.linespec/ls-errs.exp: Likewise.
1648
4d421147
AB
16492019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1650
1651 * gdb.reverse/break-precsave.exp: Make test names unique.
1652 * gdb.reverse/break-reverse.exp: Likewise.
1653 * gdb.reverse/finish-precsave.exp: Likewise.
1654 * gdb.reverse/finish-reverse.exp: Likewise.
1655 * gdb.reverse/machinestate-precsave.exp: Likewise.
1656 * gdb.reverse/machinestate.exp: Likewise.
1657 * gdb.reverse/readv-reverse.exp: Likewise.
1658 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1659 * gdb.reverse/sigall-precsave.exp: Likewise.
1660 * gdb.reverse/sigall-reverse.exp: Likewise.
1661 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
1662 * gdb.reverse/watch-precsave.exp: Likewise.
1663 * gdb.reverse/watch-reverse.exp: Likewise.
1664
d8c06f22
AB
16652019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1666
1667 * gdb.threads/stop-with-handle.c: New file.
1668 * gdb.threads/stop-with-handle.exp: New file.
1669
3a56ed86
TV
16702019-10-03 Tom de Vries <tdevries@suse.de>
1671
1672 PR testsuite/25059
1673 * gdb.base/list-missing-source.exp: Allowing the "Compilation
1674 directory" line to be missing.
1675
42275044
TV
16762019-10-03 Tom de Vries <tdevries@suse.de>
1677
1678 PR testsuite/25059
1679 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
1680 type optional.
1681
9ef62df0
AA
16822019-10-02 Andreas Arnez <arnez@linux.ibm.com>
1683
1684 * gdb.python/py-format-string.c (string.h): New include.
1685 (main): Fill a_struct_with_union.the_union.an_int with bytes of
1686 the same value, for endianness-independence.
1687 * gdb.python/py-format-string.exp (default_regexp_dict)
1688 (test_pretty_structs, test_format): Adjust expected output to the
1689 changed initialization.
1690
37f6a7f4
TT
16912019-10-02 Tom Tromey <tromey@adacore.com>
1692
1693 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
1694
1d58d6a2
PA
16952019-10-02 Pedro Alves <palves@redhat.com>
1696 Andrew Burgess <andrew.burgess@embecosm.com>
1697
1698 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
1699 "print-file-var.h".
1700 (this_version_id) Use ATTRIBUTE_VISIBILITY.
1701 (get_version_1): Print this_version_id and its address.
1702 Add extern "C" wrappers around interface functions.
1703 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
1704 "print-file-var.h".
1705 (this_version_id) Use ATTRIBUTE_VISIBILITY.
1706 (get_version_2): Print this_version_id and its address.
1707 Add extern "C" wrappers around interface functions.
1708 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
1709 <stddef.h> and "print-file-var.h".
1710 Add extern "C" wrappers around interface functions.
1711 [VERSION_ID_MAIN] (this_version_id): Define.
1712 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
1713 * gdb.base/print-file-var.h: Add some #defines to simplify setting
1714 up extern "C" blocks.
1715 * gdb.base/print-file-var.exp (test): New, factored out from top
1716 level.
1717 (top level): Test all combinations of attribute hidden or not,
1718 dlopen or not, and this_version_id symbol in main file or not.
1719 Compile tests as both C++ and C, make test names unique.
1720
d770d56f
TT
17212019-10-01 Tom Tromey <tom@tromey.com>
1722
1723 * gdb.base/style.exp: Test "show logging filename".
1724
7f6aba03
TT
17252019-10-01 Tom Tromey <tom@tromey.com>
1726
1727 * lib/gdb-utils.exp (style): Handle "metadata" argument.
1728 * gdb.base/style.exp: Add metadata style test.
1729
14309bb6
TT
17302019-10-01 Tom Tromey <tom@tromey.com>
1731
1732 * gdb.base/style.exp: Test "pwd".
1733
2a3c1174
PA
17342019-10-01 Tom Tromey <tom@tromey.com>
1735
1736 * gdb.base/style.exp: Update tests.
1737
53d666ec
AA
17382019-10-01 Andreas Arnez <arnez@linux.ibm.com>
1739
1740 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
1741 'six' to unsigned.
1742 (s1): Initialize fields 'four' and 'six' instead of 'three' and
1743 'five'. Use an all-ones bit pattern for each.
1744 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
1745 to its changed values.
1746
4a56a520
TT
17472019-09-30 Tom Tromey <tromey@adacore.com>
1748
1749 * gdb.rust/traits.rs: Disable all warnings.
1750
0df0352a
TV
17512019-09-29 Tom de Vries <tdevries@suse.de>
1752
1753 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
1754
73d9a918
TV
17552019-09-29 Tom de Vries <tdevries@suse.de>
1756
1757 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
1758
060b3ab4
TV
17592019-09-27 Tom de Vries <tdevries@suse.de>
1760
1761 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
1762
68f7d34d
TV
17632019-09-27 Tom de Vries <tdevries@suse.de>
1764
1765 PR record/23188
1766 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
1767
5d63b30a
TT
17682019-09-26 Tom Tromey <tromey@adacore.com>
1769
1770 * gdb.ada/py_taft.exp: New file.
1771 * gdb.ada/py_taft/main.adb: New file.
1772 * gdb.ada/py_taft/pkg.adb: New file.
1773 * gdb.ada/py_taft/pkg.ads: New file.
1774
3d435220
TV
17752019-09-24 Tom de Vries <tdevries@suse.de>
1776
1777 PR gdb/24598
1778 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
1779
77d03678
TV
17802019-09-22 Tom de Vries <tdevries@suse.de>
1781
1782 * gdb.base/restore.exp: Allow register variables to be optimized out at
1783 -O0.
1784
abf516c6
UW
17852019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
1786
1787 * gdb.arch/spu-info.exp: Remove file.
1788 * gdb.arch/spu-info.c: Remove file.
1789 * gdb.arch/spu-ls.exp: Remove file.
1790 * gdb.arch/spu-ls.c: Remove file.
1791
1792 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
1793 * gdb.asm/spu.inc: Remove file.
1794
1795 * gdb.base/dump.exp: Remove support for spu*-*-*.
1796 * gdb.base/stack-checking.exp: Likewise.
1797 * gdb.base/overlays.exp: Likewise.
1798 * gdb.base/ovlymgr.c: Likewise.
1799 * gdb.base/spu.ld: Remove file.
1800
1801 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
1802 * gdb.cp/cpexprs.exp: Likewise.
1803 * gdb.cp/exception.exp: Likewise.
1804 * gdb.cp/gdb2495.exp: Likewise.
1805 * gdb.cp/mb-templates.exp: Likewise.
1806 * gdb.cp/pr9167.exp: Likewise.
1807 * gdb.cp/userdef.exp: Likewise.
1808
1809 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
1810
1811 * gdb.cell: Remove directory.
1812 * lib/cell.exp: Remove file.
1813
e452e88f
TV
18142019-09-19 Tom de Vries <tdevries@suse.de>
1815
1816 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
1817
8a625130
TV
18182019-09-19 Tom de Vries <tdevries@suse.de>
1819
1820 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
1821
81dc3ab5
TV
18222019-09-19 Tom de Vries <tdevries@suse.de>
1823
1824 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
1825 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
1826 (gdb_target_cmd): ... here.
1827 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
1828 value 2.
1829
b078f3ac
AB
18302019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
1831
1832 * gdb.base/source-dir.exp: Avoid having directory names in test
1833 names.
1834
f1b620e9
MG
18352019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
1836
1837 * gdb.base/source-dir.exp: Add extra test for mapped compilation
1838 directory.
1839
67f3ed6a
AB
18402019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
1841
1842 * gdb.base/list-missing-source.exp: New file.
1843
d1b70248
TV
18442019-09-14 Tom de Vries <tdevries@suse.de>
1845
1846 PR teststuite/24599
1847 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
1848 * lib/ada.exp (gnatmake_version_at_least): New proc.
1849
5fabdcd6
AB
18502019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
1851
1852 * gdb.base/maint.exp: Use exec_has_index_section.
1853
aa17805f
AB
18542019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
1855
1856 * gdb.base/maint.exp: Add test for 'maint info sections'.
1857
25e5c209
TV
18582019-09-12 Tom de Vries <tdevries@suse.de>
1859
1860 * gdb.base/store.exp: Allow register variables to be optimized out at
1861 -O0.
1862
4993045d
PW
18632019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1864
1865 * gdb.ada/rdv_wait.exp: Update to new task names.
1866 * gdb.base/task_switch_in_core.exp: Likewise.
1867 * gdb.base/info_sources_base.c: Likewise.
1868
8a516164
TT
18692019-09-10 Tom Tromey <tromey@adacore.com>
1870
1871 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
1872
aa391654
TT
18732019-09-10 Tom Tromey <tromey@adacore.com>
1874
1875 * gdb.ada/dgopt.exp: New file.
1876 * gdb.ada/dgopt/x.adb: New file.
1877
8634b462
TT
18782019-09-08 Tom Tromey <tom@tromey.com>
1879
1880 * gdb.tui/resize.exp: Remove setup_xfail.
1881 * gdb.tui/regs.exp: Remove setup_xfail.
1882 * gdb.tui/basic.exp: Remove setup_xfail.
1883
736b0f76
DB
18842019-09-06 David Blaikie <dblaikie@gmail.com>
1885
1886 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
1887 * gdb.cp/cplabel.exp: Ditto.
1888 * gdb.linespec/ls-errs.exp: Ditto.
1889
30331a6c
TV
18902019-09-05 Tom de Vries <tdevries@suse.de>
1891
1892 * lib/gdb.exp (cmp_file_string): New proc.
1893 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
1894 runto_main. Verify save breakpoints output.
1895
98b0ebab
PW
18962019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1897
1898 * gdb.base/info-var.exp: Test info variables without running
1899 to main, to avoid expect's buffer overflow.
1900
4e962e74
TT
19012019-09-03 Tom Tromey <tromey@adacore.com>
1902
1903 * gdb.ada/bias.exp: New file.
1904 * gdb.ada/bias/bias.adb: New file.
1905 * gdb.ada/print_chars.exp: Add regression test.
1906 * gdb.ada/print_chars/foo.adb (My_Character): New type.
1907 (MC): New variable.
1908
2ea1a07a
SL
19092019-08-29 Sandra Loosemore <sandra@codesourcery.com>
1910
1911 * gdb.base/argv0-symlink.exp: Run only on native target
1912 and local host.
1913
8077c50d
TV
19142019-08-29 Tom de Vries <tdevries@suse.de>
1915
1916 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
1917 diverse debug info.
1918 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
1919
48352473
TV
19202019-08-28 Tom de Vries <tdevries@suse.de>
1921
1922 * gdb.base/info-var.exp: Allow info variables to print info for files
1923 other than info-var-f1.c and info-var-f2.c.
1924
d8f27c60
AB
19252019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
1926
1927 * gdb.fortran/info-types.exp: Add module.
1928 * gdb.fortran/info-types.f90: Update expected results.
1929
1f20c35e
AB
19302019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
1931
1932 * gdb.fortran/info-types.exp: New file.
1933 * gdb.fortran/info-types.f90: New file.
1934 * lib/fortran.exp (fortran_character1): New proc.
1935
4acfdd20
AB
19362019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
1937
1938 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
1939 functions'. Reindent as needed.
1940 * gdb.base/info-var-f1.c: New file.
1941 * gdb.base/info-var-f2.c: New file.
1942 * gdb.base/info-var.exp: New file.
1943 * gdb.base/info-var.h: New file.
1944
5c31b358
TV
19452019-08-26 Tom de Vries <tdevries@suse.de>
1946
1947 PR c++/24852
1948 * gdb.cp/no-libstdcxx-probe.exp: New test.
1949
b694989f
TV
19502019-08-26 Tom de Vries <tdevries@suse.de>
1951
1952 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
1953 * tests need to be skipped.
1954 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
1955 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
1956 mi_skip_libstdcxx_probe_tests.
1957
d9c4ba53
SDJ
19582019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
1959
1960 * gdb.python/py-xmethods.exp: Use raw strings when passing
1961 arguments to SimpleXMethodMatcher.
1962
395fad09
TV
19632019-08-22 Tom de Vries <tdevries@suse.de>
1964
1965 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
1966 more informative.
1967
26c957f1
PA
19682019-08-21 Pedro Alves <palves@redhat.com>
1969
1970 * gdb.base/with.exp: Test "with" with no arguments.
1971
61f80d5d
TV
19722019-08-21 Tom de Vries <tdevries@suse.de>
1973
1974 * gdb.base/gdb-caching-proc.exp: Sort files.
1975
d7a11d13
TV
19762019-08-20 Tom de Vries <tdevries@suse.de>
1977
1978 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
1979 compilation.
1980
34dafe9f
TV
19812019-08-16 Tom de Vries <tdevries@suse.de>
1982
1983 * gdb.base/compare-sections.exp ("after run to main"): Allow
1984 mismatched read-only sections for PIE executables.
1985
398fdd60
TT
19862019-08-16 Tom Tromey <tom@tromey.com>
1987
1988 * lib/tuiterm.exp (_csi_Z): New proc.
1989 * gdb.tui/basic.exp: Update window positions.
1990 * gdb.tui/empty.exp: Update window positions.
1991
d8f9e51c
SL
19922019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1993
1994 * gdb.base/examine-backward.exp: Correct regexp for
1995 "examine 3 bytes backward from ${address_zero}".
1996
3df505f6
TT
19972019-08-15 Tom Tromey <tom@tromey.com>
1998
1999 * gdb.tui/empty.exp: Enable resizing tests.
2000
272560b5
TT
20012019-08-15 Tom Tromey <tromey@adacore.com>
2002
2003 * gdb.ada/char_enum.exp: Add regression tests.
2004 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
2005 and '0'.
2006 (Char, Gchar): Update.
2007 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
2008
08235187
CB
20092019-08-15 Christian Biesinger <cbiesinger@google.com>
2010
2011 * gdb.python/python.exp: Expect a leading underscore on
2012 GdbOutput{,Error}File.
2013
22a2ab04
SL
20142019-08-15 Sandra Loosemore <sandra@codesourcery.com>
2015
2016 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
2017 Windows host.
2018
835b995b
SL
20192019-08-15 Sandra Loosemore <sandra@codesourcery.com>
2020
2021 * gdb.base/batch-preserve-term-settings.exp
2022 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
2023
97dd8e07
CB
20242019-08-15 Christian Biesinger <cbiesinger@google.com>
2025
2026 * lib/gdb.exp: When running on a mingw target, replace
2027 /x/ with x:/.
2028
75faf5c4
AH
20292019-08-14 Alan Hayward <alan.hayward@arm.com>
2030
2031 * gdb.arch/aarch64-prologue.c: New test.
2032 * gdb.arch/aarch64-prologue.exp: New file.
2033
abc6c00f
TV
20342019-08-13 Tom de Vries <tdevries@suse.de>
2035
2036 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
2037 Thread.
2038
74c2c1f4
SL
20392019-08-13 Sandra Loosemore <sandra@codesourcery.com>
2040
2041 * gdb.python/py-completion.exp: Download the .py file to the host
2042 and use its host pathname. Conditionalize tests that use
2043 tab completion and manipulate files on the build machine.
2044 * gdb.python/py-events.exp: Download the .py file to the host
2045 and use its host pathname.
2046 * gdb.python/py-evsignal.exp: Likewise.
2047 * gdb.python/py-evthreads.exp: Likewise.
2048 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
2049 pathname syntax.
2050 * gdb.python/py-framefilter.exp: Download the .py file to the right
2051 place on the host. Match Windows pathname syntax.
2052 * gdb.python/py-mi-var-info-path-expression.exp: Download the
2053 .py file to the host and use its host pathname.
2054 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
2055 * gdb.python/py-objfile.exp: Expect a host pathname, not a
2056 build pathname. Skip symlink test on Windows host. Add missing
2057 newline at end of file.
2058 * gdb.python/py-pp-maint.exp: Download the .py file to the host
2059 and use its host pathname.
2060 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
2061 * gdb.python/py-section-script.exp: Use host location of binfile
2062 on safe-path. Use correct path separator on Windows host.
2063 Reorder alternatives in gdb_test_multiple to prevent matching
2064 the wrong alternative on success.
2065 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
2066
ca2589f3
PP
20672019-08-12 Patrick Palka <patrick@parcs.ath.cx>
2068
2069 * gdb.gdb/selftest.exp (test_with_self): Update test to now
2070 expect the GDB inferior to no longer immediately stop after
2071 being resumed with "signal SIGINT".
2072
020a839d
SL
20732019-08-09 Sandra Loosemore <sandra@codesourcery.com>
2074
2075 * gdb.linespec/break-ask.exp: Generalize regexps to match
2076 Windows pathnames too.
2077
128d6509
TV
20782019-08-08 Tom de Vries <tdevries@suse.de>
2079
2080 PR testsuite/24862
2081 * lib/tuiterm.exp (_accept): Fix CSI regexp.
2082
590042fc
PW
20832019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2084
2085 * gdb.base/style.exp: Update tests for help doc new invariants.
2086 * gdb.base/help.exp: Likewise.
2087
046bebe1
TT
20882019-08-06 Tom Tromey <tom@tromey.com>
2089
2090 * gdb.base/style.exp: Add disassemble test.
2091 * gdb.base/style.c (some_called_function): New function.
2092 (main): Use it.
2093
0b27c27d
CB
20942019-08-05 Christian Biesinger <cbiesinger@google.com>
2095
2096 * gdb.python/py-block.exp: Test dictionary access on blocks.
2097
580f1034
SM
20982019-08-05 Simon Marchi <simon.marchi@efficios.com>
2099
2100 PR gdb/24863
2101 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
2102 -list-thread-groups --available test when running under
2103 check-read1.
2104
d86bd7cb
TV
21052019-08-05 Tom de Vries <tdevries@suse.de>
2106
2107 PR testsuite/24863
2108 * lib/gdb.exp (with_read1_timeout_factor): New proc.
2109 * gdb.base/help.exp: Use with_read1_timeout_factor.
2110 * gdb.base/info-macros.exp: Same.
2111 * gdb.cp/nested-types.exp: Same.
2112
a80cf5d8
TV
21132019-08-05 Tom de Vries <tdevries@suse.de>
2114
2115 * lib/gdb.exp (version_at_least): Factor out of ...
2116 (tcl_version_at_least): ... here.
2117 (gdb_compile): Fail if pie results in non-PIE executable.
2118 (readelf_version, readelf_prints_pie): New proc.
2119 (exec_is_pie): Return -1 if unknown.
2120
d0962838
TV
21212019-08-05 Tom de Vries <tdevries@suse.de>
2122
2123 * lib/gdb.exp (tcl_version_at_least): Fix typo.
2124
2252ff3d
SL
21252019-08-04 Sandra Loosemore <sandra@codesourcery.com>
2126
2127 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
2128
26655f53
SL
21292019-08-04 Sandra Loosemore <sandra@codesourcery.com>
2130
2131 * lib/completion-support.exp (test_gdb_complete_none): Skip
2132 tab completion tests if no readline support.
2133 (test_gdb_complete_unique_re): Likewise.
2134 (test_gdb_complete_multiple): Likewise.
2135
db4dc13e
PW
21362019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2137
2138 * gdb.base/info_sources.exp: New file.
2139 * gdb.base/info_sources.c: New file.
2140 * gdb.base/info_sources_base.c: New file.
2141
0eba165a
PFC
21422019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2143
2144 * gdb.base/batch-exit-status.exp: Call test_exit_status with
2145 prefix argument.
2146 (test_exit_status): Add prefix argument.
2147
59bd512b
TV
21482019-08-01 Tom de Vries <tdevries@suse.de>
2149
2150 PR testsuite/24863
2151 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
2152 calling exp_continue for new thread and thread exited messages.
2153
2a3ad588
TV
21542019-08-01 Tom de Vries <tdevries@suse.de>
2155
2156 PR testsuite/24863
2157 * gdb.base/structs.exp: Fix check-read1 timeout using
2158 gdb_test_sequence.
2159 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
2160
117eb594
TV
21612019-08-01 Tom de Vries <tdevries@suse.de>
2162
2163 PR testsuite/24863
2164 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
2165 line.
2166
ed591340
TV
21672019-08-01 Tom de Vries <tdevries@suse.de>
2168
2169 PR testsuite/24863
2170 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
2171
aa3b6533
TT
21722019-07-30 Tom Tromey <tromey@adacore.com>
2173
2174 * gdb.ada/display_nested.exp: New file.
2175 * gdb.ada/display_nested/foo.adb: New file.
2176 * gdb.ada/display_nested/pack.adb: New file.
2177 * gdb.ada/display_nested/pack.ads: New file.
2178
2906593f
CB
21792019-07-30 Christian Biesinger <cbiesinger@google.com>
2180
2181 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
2182 namespace.
2183 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
2184
0f575925
TV
21852019-07-30 Tom de Vries <tdevries@suse.de>
2186
2187 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
2188 instead.
2189
b13057d9
TV
21902019-07-30 Tom de Vries <tdevries@suse.de>
2191
2192 PR testsuite/24834
2193 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
2194 (exec_is_pie): New proc.
2195
5c4dde85
CB
21962019-07-29 Christian Biesinger <cbiesinger@google.com>
2197
2198 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
2199
c620ed88
CB
22002019-07-29 Christian Biesinger <cbiesinger@google.com>
2201
2202 * gdb.python/py-objfile.c: Add global and static vars.
2203 * gdb.python/py-objfile.exp: Test new functions Objfile.
2204 lookup_global_symbol and lookup_static_symbol.
2205
3d235706
TT
22062019-07-29 Tom Tromey <tom@tromey.com>
2207
2208 * lib/tuiterm.exp (Term::_csi_@): New proc.
2209 (Term::_csi_X): Don't move cursor.
2210
c7e4c0a6
PW
22112019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2212
2213 * gdb.base/options.exp: Update backtrace - completion to
2214 new option -frame-info.
2215 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
2216 Test new 'set print frame-info'. Test backtrace -frame-info
2217 overriding 'set print frame-info'.
2218 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
2219 Test new 'set print frame-info'.
2220 Verify consistency of backtrace with and without filters, with and
2221 without -no-filters.
2222 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
2223 default.
2224
de28a3b7
TV
22252019-07-29 Tom de Vries <tdevries@suse.de>
2226
2227 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
2228 no arguments".
2229
507dd60e
TV
22302019-07-29 Tom de Vries <tdevries@suse.de>
2231
2232 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
2233 is a substring of the first for "complete non-unique file name".
2234
5beafce9
TV
22352019-07-29 Tom de Vries <tdevries@suse.de>
2236
2237 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
2238 with ".*".
2239
2d274232
TV
22402019-07-29 Tom de Vries <tdevries@suse.de>
2241
2242 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
2243 Pass prompt_regexp parameter to gdb_test_multiple calls.
2244
9197cd8b
TV
22452019-07-29 Tom de Vries <tdevries@suse.de>
2246
2247 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
2248 print registers" regexps.
2249
b528dae0
TV
22502019-07-29 Tom de Vries <tdevries@suse.de>
2251
2252 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
2253
d17725d7
TV
22542019-07-29 Tom de Vries <tdevries@suse.de>
2255
2256 PR gdb/24855
2257 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
2258 (skip_python_tests_prompt): Add prompt_regexp argument to
2259 gdb_test_multiple calls.
2260
52b75bf1
TT
22612019-07-27 Tom Tromey <tom@tromey.com>
2262
2263 * gdb.tui/main.exp: New file.
2264
2b1d00c2
TT
22652019-07-27 Tom Tromey <tom@tromey.com>
2266
2267 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
2268 optional.
2269 * gdb.tui/empty.exp: New file.
2270
ded631d5
TT
22712019-07-27 Tom Tromey <tom@tromey.com>
2272
2273 * lib/tuiterm.exp (spawn): New proc.
2274 (Term::resize): New proc.
2275 * gdb.tui/resize.exp: New file.
2276
58ac439d
TT
22772019-07-27 Tom Tromey <tom@tromey.com>
2278
2279 * gdb.tui/list.exp: New file.
2280
fe1f56ee
TT
22812019-07-27 Tom Tromey <tom@tromey.com>
2282
2283 * gdb.tui/regs.exp: New file.
2284
f790b310
TT
22852019-07-27 Tom Tromey <tom@tromey.com>
2286
2287 * gdb.tui/basic.exp: Add "layout split" test.
2288
d95fc6ee
TT
22892019-07-27 Tom Tromey <tom@tromey.com>
2290
2291 * gdb.tui/basic.exp: Add "layout asm" test.
2292
c3786b3a
TT
22932019-07-27 Tom Tromey <tom@tromey.com>
2294
2295 * lib/tuiterm.exp: New file.
2296 * gdb.tui/basic.exp: New file.
2297
98a617f8
KB
22982019-07-27 Kevin Buettner <kevinb@redhat.com>
2299
2300 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
2301 Enable tests associated with this flag. Adjust regex
2302 referencing "foo_low" to now refer to "foo_cold" instead.
2303
5c076da4
KB
23042019-07-27 Kevin Buettner <kevinb@redhat.com>
2305
2306 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
2307 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
2308 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
2309 foo_cold. Revise comments to match.
2310 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
2311 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
2312 were wrapped into this proc; Call do_test in loop from outermost
2313 level.
2314 (foo_low): Rename all occurrences to "foo_cold".
2315 (backtrace from baz): New test.
2316 (x2/i foo_cold): New test.
2317 (info line *foo_cold): New test.
2318
1512d3b7
TV
23192019-07-26 Tom de Vries <tdevries@suse.de>
2320
2321 * gdb.arch/i386-pkru.exp: Fix unterminated string.
2322
297989a1
TV
23232019-07-25 Tom de Vries <tdevries@suse.de>
2324
2325 PR testsuite/24830
2326 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
2327 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
2328 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
2329 (skip_libstdcxx_probe_tests): ... here.
2330 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
2331
b3b965fb
TV
23322019-07-24 Tom de Vries <tdevries@suse.de>
2333
2334 PR testsuite/24807
2335 * gdb.objc/basicclass.m: Include stdio.h.
2336 * gdb.objc/nondebug.m: Same.
2337 * gdb.objc/objcdecode.m: Same.
2338
4625b4d0
TV
23392019-07-24 Tom de Vries <tdevries@suse.de>
2340
2341 PR testsuite/24612
2342 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
2343 additional_flags.
2344
024a5840
TV
23452019-07-24 Tom de Vries <tdevries@suse.de>
2346
2347 PR testsuite/24831
2348 * gdb.multi/tids.exp: Update error messages for info threads.
2349
c76ddaa3
TV
23502019-07-24 Tom de Vries <tdevries@suse.de>
2351
2352 * gdb.base/info-types.exp: Allow info types to print info for more than
2353 one file.
2354
9a618ef6
TV
23552019-07-23 Tom de Vries <tdevries@suse.de>
2356
2357 PR testsuite/24842
2358 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
2359 gdb_spawn_with_cmdline_opts.
2360
40eadf04
SP
23612019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
2362
2363 * gdb.arch/arm-cmse-sgstubs.c: New test.
2364 * gdb.arch/arm-cmse-sgstubs.exp: New file.
2365
5ba29434
TV
23662019-07-23 Tom de Vries <tdevries@suse.de>
2367
2368 PR testsuite/24711
2369 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
2370 issuing next command.
2371
a8e9d247
AB
23722019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
2373
2374 * gdb.ada/info_auto_lang.exp: Update expected results.
2375 * gdb.base/info-types.c: Add additional types to check.
2376 * gdb.base/info-types.exp: Update expected results.
2377
eb86c5e2
AB
23782019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
2379
2380 * gdb.base/info-types.c: New file.
2381 * gdb.base/info-types.exp: New file.
2382
01e175fe
AB
23832019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
2384
2385 * gdb.arch/riscv-bp-infcall.c: New file.
2386 * gdb.arch/riscv-bp-infcall.exp: New file.
2387
6b78c3f8
AB
23882019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
2389
2390 PR breakpoints/24541
2391 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
2392
da738167
TV
23932019-07-14 Tom de Vries <tdevries@suse.de>
2394
2395 PR testsuite/24760
2396 * gdb.objc/basicclass.exp: Fix unterminated string.
2397
0d4e84ed
AB
23982019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
2399 Andrew Burgess <andrew.burgess@embecosm.com>
2400
2401 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
2402 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
2403 negative bounds.
2404 * gdb.fortran/vla-value.exp: Print elements of an array with
2405 negative bounds.
2406 * gdb.fortran/vla.f90: Setup an array with negative bounds for
2407 testing.
2408
021d8588
AB
24092019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
2410
2411 * gdb.base/options.exp (expect_string): Dequote strings in
2412 results.
2413 (test-string): Test strings with different quoting and reindent.
2414
f06f1252
TT
24152019-07-10 Tom Tromey <tromey@adacore.com>
2416
2417 * gdb.ada/mi_ex_cond.exp: Update expected results.
2418 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
2419 * gdb.ada/mi_catch_ex.exp: Update expected results.
2420 * gdb.ada/mi_catch_assert.exp: Update expected results.
2421 * gdb.ada/catch_ex.exp (catch_exception_info)
2422 (catch_exception_entry, catch_assert_entry)
2423 (catch_unhandled_entry): Update.
2424 * gdb.ada/catch_assert_if.exp: Update expected results.
2425
b863685d
RB
24262019-07-10 Richard Bunt <richard.bunt@arm.com>
2427 Stephen Roberts <stephen.roberts@arm.com>
2428
2429 * gdb.base/define.exp: Restore original prompt.
2430
cb1e4e32
PA
24312019-07-09 Pedro Alves <palves@redhat.com>
2432
2433 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
2434 breakpoints" output.
2435 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
2436 * gdb.python/py-breakpoint.exp: No longer expect that "catch
2437 throw" creates breakpoint.
2438 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
2439 'type="catchpoint"'.
2440
b58a68fe
PA
24412019-07-09 Pedro Alves <palves@redhat.com>
2442
2443 PR c++/15468
2444 * gdb.cp/except-multi-location-lib.cc: New.
2445 * gdb.cp/except-multi-location-main.cc: New.
2446 * gdb.cp/except-multi-location.exp: New.
2447
0826779b
PW
24482019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
2449
2450 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
2451 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
2452 argument and update callers.
2453
5b0e2db4
AB
24542019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2455
2456 * gdb.arch/amd64-break-on-asm-line.S: New file.
2457 * gdb.arch/amd64-break-on-asm-line.exp: New file.
2458
1f6f6e21
PW
24592019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2460
2461 * gdb.base/printcmds.exp: Test printing C string and
2462 C wide string convenience vars without transiting via the inferior.
2463 Also make test names unique.
2464
ea142fbf
AH
24652019-07-08 Alan Hayward <alan.hayward@arm.com>
2466
5862c886 2467 PR breakpoints/25011
ea142fbf
AH
2468 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
2469
213fd9fa
PA
24702019-07-04 Pedro Alves <palves@redhat.com>
2471
2472 * lib/gdb.exp (foreach_with_prefix): Don't return early if
2473 body returned ok(0), break(3) or continue(4).
2474 * gdb.testsuite/foreach_with_prefix.exp: New file.
2475
2b40fda7
AH
24762019-07-04 Alan Hayward <alan.hayward@arm.com>
2477
2478 * gdb.server/unittest.exp: Allow 0 unit tests to run.
2479
a26c8de0
PA
24802019-07-03 Pedro Alves <palves@redhat.com>
2481
2482 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
2483 "return -code".
2484
5f4ba3e7
PA
24852019-07-03 Pedro Alves <palves@redhat.com>
2486
2487 PR cli/24732
2488 * gdb.base/shell.exp: Load completion-support.exp.
2489 Adjust expected error output. Add completion tests.
2490
a994424f
PA
24912019-07-03 Pedro Alves <palves@redhat.com>
2492
2493 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
2494 string_to_regexp.
2495
3d9be6f5
PA
24962019-07-03 Pedro Alves <palves@redhat.com>
2497
2498 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
2499 (expect_integer): Adjust to expect "-string".
2500 (expect_string): New.
2501 (all_options): Expect "-string".
2502 (test-flag, test-boolean): Adjust to expect "-string".
2503 (test-string): New proc.
2504 (top level): Call it.
2505
41fc454c
PA
25062019-07-03 Pedro Alves <palves@redhat.com>
2507
2508 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
2509 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
2510 the expected output in the success.
2511
b2b2a215
PA
25122019-07-03 Pedro Alves <palves@redhat.com>
2513
2514 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
2515 Split one gdb_test_multiple call in two to avoid a race.
2516
fdbc9870
PA
25172019-07-03 Pedro Alves <palves@redhat.com>
2518
2519 * gdb.base/with.c: New file.
2520 * gdb.base/with.exp: New file.
2521
c6ac8931
PA
25222019-07-03 Pedro Alves <palves@redhat.com>
2523
2524 * gdb.base/settings.exp: Replace all references to "maint
2525 test-settings set" with references to "maint set test-settings",
2526 and all references to "maint test-settings show" with references
2527 to "maint show test-settings".
2528
970f9d09
PA
25292019-07-03 Pedro Alves <palves@redhat.com>
2530
2531 * gdb.base/settings.exp (test-string): Adjust expected out when
2532 testing "maint test-settings show filename"
2533
54d66006
PA
25342019-07-02 Pedro Alves <palves@redhat.com>
2535
2536 * gdb.base/options.exp (test-info-threads): New procedure.
2537 (top level): Call it.
2538
10d06d82
TT
25392019-06-28 Tom Tromey <tromey@adacore.com>
2540
2541 * gdb.dwarf2/ada-linkage-name.c: New file.
2542 * gdb.dwarf2/ada-linkage-name.exp: New file.
2543
3d507ff2
TT
25442019-06-27 Tom Tromey <tromey@adacore.com>
2545
d039f014 2546 PR c++/20020:
3d507ff2
TT
2547 * gdb.cp/constexpr-field.exp: Use setup_xfail.
2548
8af58ffe
TV
25492019-06-26 Tom de Vries <tdevries@suse.de>
2550
2551 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
2552
22e21752
TV
25532019-06-26 Tom de Vries <tdevries@suse.de>
2554
2555 * gdb.base/index-cache.exp: Add back missing debug option.
2556
b65b566c
PW
25572019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2558
2559 * gdb.base/alias.exp: Test non matching/non existing prefixes.
2560
5c2c8c69
TV
25612019-06-25 Tom de Vries <tdevries@suse.de>
2562
2563 PR testsuite/24727
2564 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
2565
164e3873
TV
25662019-06-24 Tom de Vries <tdevries@suse.de>
2567
2568 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
2569
824eacee
TV
25702019-06-24 Tom de Vries <tdevries@suse.de>
2571
2572 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
2573 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
2574 * gdb.trace/unavailable-dwarf-piece.exp: Same.
2575
385b97d3
TV
25762019-06-24 Tom de Vries <tdevries@suse.de>
2577
2578 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
2579
c596f180
TV
25802019-06-21 Tom de Vries <tdevries@suse.de>
2581
2582 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
2583
b13a7d03
TV
25842019-06-21 Tom de Vries <tdevries@suse.de>
2585
2586 PR testsuite/24518
2587 PR ada/24713
2588 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
2589 index.
2590
899277ae
TT
25912019-06-19 Tom Tromey <tromey@adacore.com>
2592
2593 * gdb.ada/length_cond.exp: Add intro comment.
2594
680e1bee
TT
25952019-06-19 Tom Tromey <tromey@adacore.com>
2596
2597 * gdb.ada/length_cond.exp: New file.
2598 * gdb.ada/length_cond/length_cond.adb: New file.
2599 * gdb.ada/length_cond/pck.adb: New file.
2600 * gdb.ada/length_cond/pck.ads: New file.
2601
0ed4690a
TV
26022019-06-18 Tom de Vries <tdevries@suse.de>
2603
2604 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
2605
d20ed5fd
TT
26062019-06-18 Tom Tromey <tromey@adacore.com>
2607
2608 * gdb.base/list0.h: Add comment explaining control character.
2609
86e04673
TV
26102019-06-18 Tom de Vries <tdevries@suse.de>
2611
2612 * boards/fission.exp: Break up long debug_flags line.
2613
c4973306
SM
26142019-06-16 Tom de Vries <tdevries@suse.de>
2615
2616 PR gdb/24445
2617 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
2618 generated index.
2619
93cb9841
AB
26202019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
2621
2622 PR gdb/24686
2623 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
2624 improve detection of bug gdb/24541.
2625
399aaebd
SM
26262019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
2627
2628 PR gdb/24669
2629 * gdb.base/index-cache.exp (uses_readnow,
2630 expecting_index_cache_use): Define global variable.
2631 (test_cache_enabled_miss, test_cache_enabled_hit): Use
2632 expecting_index_cache_use.
2633
584a927c
AB
26342019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
2635 Andrew Burgess <andrew.burgess@embecosm.com>
2636
2637 * gdb.fortran/pointers.f90: New file.
2638 * gdb.fortran/print_type.exp: New file.
2639 * gdb.fortran/vla-ptype.exp: Adapt expected results.
2640 * gdb.fortran/vla-type.exp: Likewise.
2641 * gdb.fortran/vla-value.exp: Likewise.
2642 * gdb.mi/mi-vla-fortran.exp: Likewise.
2643
30056ea0
AB
26442019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2645
2646 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
2647 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
2648 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
2649 as a stop reason.
2650
ec8e2b6d
AB
26512019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2652
2653 * gdb.base/annota1.exp: Update expected results.
2654 * gdb.cp/annota2.exp: Likewise.
2655 * gdb.cp/annota3.exp: Likewise.
2656
09e4c4e1
AB
26572019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2658
2659 * gdb.base/style-logging.exp: Remove path from test name.
2660
0735b091
TT
26612019-06-14 Tom Tromey <tromey@adacore.com>
2662
2663 PR gdb/24502:
2664 * gdb.base/style-logging.exp: New file.
2665
f5686554
TT
26662019-06-14 Tom Tromey <tromey@adacore.com>
2667
2668 * gdb.base/symfile-warn.exp: New file.
2669 * gdb.base/symfile-warn.c: New file.
2670
a0c1ffed
TT
26712019-06-14 Tom Tromey <tromey@adacore.com>
2672
2673 * gdb.base/annotate-symlink.exp: New file.
2674
f411722c
TT
26752019-06-14 Tom Tromey <tromey@adacore.com>
2676
2677 * gdb.ada/set_wstr.exp: Add reassignment test.
2678
4268ec18
TT
26792019-06-14 Tom Tromey <tromey@adacore.com>
2680
2681 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
2682 'unchecked_access and 'unrestricted_access as well.
2683
9a9e394b
TT
26842019-06-14 Tom Tromey <tromey@adacore.com>
2685
2686 PR ada/24539:
2687 * gdb.ada/vla.exp: Update tests.
2688 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
2689 pragma.
2690
4c048731
PA
26912019-06-13 Pedro Alves <palves@redhat.com>
2692
2693 * gdb.base/settings.exp (test-integer): Test junk after
2694 "unlimited".
2695
6665660a
PA
26962019-06-13 Pedro Alves <palves@redhat.com>
2697
2698 * gdb.base/options.exp (test-thread-apply): New.
2699 (top level): Call it.
2700
5d707134
PA
27012019-06-13 Pedro Alves <palves@redhat.com>
2702
2703 * gdb.base/options.exp (test-frame-apply): New.
2704 (top level): Test print commands with different "frame apply"
2705 prefixes.
2706
e2a689da
PA
27072019-06-13 Pedro Alves <palves@redhat.com>
2708
e79be6e5 2709 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
2710 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
2711 'max_completions' parameter and handle it.
2712 (test_gdb_completion_offers_commands): New.
2713
90a1ef87
PA
27142019-06-13 Pedro Alves <palves@redhat.com>
2715
2716 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
2717
d4c16835
PA
27182019-06-13 Pedro Alves <palves@redhat.com>
2719
2720 * gdb.base/options.exp (test-backtrace): New.
2721 (top level): Call it.
2722
2daf894e
PA
27232019-06-13 Pedro Alves <palves@redhat.com>
2724
2725 * gdb.guile/scm-frame-args.exp: Use "set print
2726 raw-frame-arguments" instead of "set print raw frame-arguments".
2727 * gdb.python/py-frame-args.exp: Likewise.
2728
e6ed716c
PA
27292019-06-13 Pedro Alves <palves@redhat.com>
2730
2731 * gdb.compile/compile.exp: Adjust expected output to option
2732 processing changes.
2733
7d8062de
PA
27342019-06-13 Pedro Alves <palves@redhat.com>
2735
2736 * gdb.base/options.exp: Build executable.
2737 (test-print): New procedure.
2738 (top level): Call it, once for "print" and another for "compile
2739 print".
2740
9d0faba9
PA
27412019-06-13 Pedro Alves <palves@redhat.com>
2742
2743 * gdb.base/options.c: New file.
2744 * gdb.base/options.exp: New file.
2745
dee7b4c8
PA
27462019-06-13 Pedro Alves <palves@redhat.com>
2747
2748 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
2749 that "o" is ambiguous.
2750
dca0f6c0
PA
27512019-06-13 Pedro Alves <palves@redhat.com>
2752
2753 * gdb.base/settings.c: New file.
2754 * gdb.base/settings.exp: New file.
2755
ccf46844
PA
27562019-06-13 Pedro Alves <palves@redhat.com>
2757
2758 * gdb.base/completion.exp: Fix comment typo.
2759
b9a3f842
PA
27602019-06-13 Pedro Alves <palves@redhat.com>
2761
2762 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
2763 foo --1" test.
2764
d106773e
PA
27652019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
2766
2767 * gdb.fortran/block-data.f: New.
2768 * gdb.fortran/block-data.exp: New.
2769
fea82da0
TV
27702019-06-11 Tom de Vries <tdevries@suse.de>
2771
2772 PR testsuite/24521
2773 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
2774 message.
2775
8c2e74f1
TV
27762019-06-11 Tom de Vries <tdevries@suse.de>
2777
2778 PR testsuite/24521
2779 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
2780
b49851c8
TV
27812019-06-11 Tom de Vries <tdevries@suse.de>
2782
2783 * boards/readnow.exp: New file.
2784
a7067863
AB
27852019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
2786
2787 * gdb.fortran/vla-sizeof.exp: Update expected results.
2788
1a3da2cd
AB
27892019-06-06 Amos Bird <amosbird@gmail.com>
2790
2791 * gdb.base/annota1.exp (thread_switch): Add test for
2792 thread-exited annotation.
2793
3847a7bf
TT
27942019-06-06 Tom Tromey <tromey@adacore.com>
2795
2796 * gdb.base/maint.exp: Expect command started/finished output.
2797
0088ba59
AB
27982019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
2799
2800 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
2801 comment.
2802 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
2803
312617a3
AB
28042019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
2805
2806 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
2807 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
2808 * gdb.arch/riscv-unwind-long-insn.c: New file.
2809 * gdb.arch/riscv-unwind-long-insn.exp: New file.
2810
e1f2e1a2
CB
28112019-06-04 Christian Biesinger <cbiesinger@google.com>
2812
d3238f7d 2813 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 2814
206584bd
PW
28152019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2816
2817 * lib/gdb.exp (help_list_trailer): New regexp variable
2818 factorizing the help trailer message.
2819 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
2820 arg to allow to better factorize various tests.
2821 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
2822 (test_prefix_command_help): Use help_list_trailer.
2823 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
2824 * gdb.guile/scm-cmd.exp: Likewise.
2825 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
2826 * gdb.base/help.exp: Use test_user_defined_class_help.
2827 * gdb.base/style.exp: Add tests for styling of help and apropos.
2828 * lib/gdb-utils.exp (style): Add title and highlight styles.
2829
708dc93e
PW
28302019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2831
2832 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
2833 $_shell_exitsignal.
2834 * gdb.base/default.exp: Update for new convenience variables.
2835
f49055a5
TT
28362019-05-29 Tom Tromey <tromey@adacore.com>
2837
2838 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
2839 to "break complete ada" test case's regexp.
2840
4330d61d
TT
28412019-05-29 Tom Tromey <tromey@adacore.com>
2842
2843 PR c++/20020:
2844 * gdb.cp/constexpr-field.exp: New file.
2845 * gdb.cp/constexpr-field.cc: New file.
2846
000439d5
TT
28472019-05-29 Tom Tromey <tromey@adacore.com>
2848
2849 * gdb.base/finish.exp (finish_no_print): New proc.
2850 (finish_tests): Call it.
2851
5a01c34c
TV
28522019-05-24 Tom de Vries <tdevries@suse.de>
2853
2854 * gdb.dwarf2/gdb-add-index.exp: New file.
2855
18125b16
TT
28562019-05-22 Tom Tromey <tromey@adacore.com>
2857
2858 * gdb.base/info-shared.exp (check_info_shared): Use "style".
2859 * gdb.base/style.exp: Use "style".
2860 * lib/gdb-utils.exp (style): New proc.
2861
af1a8d03
TV
28622019-05-22 Tom de Vries <tdevries@suse.de>
2863
2864 * gdb.base/align.exp: Require c++11.
2865
e7fe496b
TV
28662019-05-22 Tom de Vries <tdevries@suse.de>
2867
2868 PR testsuite/24586
2869 * gdb.python/py-mi-var-info-path-expression.exp: Call
2870 mi_skip_python_tests to check if python is supported.
2871
8fca4da0
AH
28722019-05-22 Alan Hayward <alan.hayward@arm.com>
2873
2874 * gdb.arch/aarch64-pauth.c: New test.
2875 * gdb.arch/aarch64-pauth.exp: New file.
2876
b7060614
AH
28772019-05-22 Alan Hayward <alan.hayward@arm.com>
2878
2879 * README (Re-running Tests Outside The Testsuite): New section.
2880
669d0468
TV
28812019-05-21 Tom de Vries <tdevries@suse.de>
2882
2883 * gdb.arch/amd64-eval.exp: Require c++11.
2884 * gdb.base/max-depth.exp: Same.
2885 * gdb.compile/compile-cplus-array-decay.exp: Same.
2886 * gdb.cp/meth-typedefs.exp: Same.
2887 * gdb.cp/subtypes.exp: Same.
2888 * gdb.cp/temargs.exp: Same.
2889
ce3ebcaa
AH
28902019-05-21 Alan Hayward <alan.hayward@arm.com>
2891
2892 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
2893
34d11c68
AB
28942019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2895
2896 PR gdb/18644
2897 * gdb.fortran/complex.exp: Remove setup_kfail calls.
2898 * gdb.fortran/printing-types.exp: Add new test.
2899 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
2900 testing.
2901 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
2902 setup_kfail call.
2903
87781e84
AH
29042019-05-17 Alan Hayward <alan.hayward@arm.com>
2905
2906 * README (Running the Testsuite): Change example.
2907 (Testsuite Parameters): Remove TRANSCRIPT.
2908 * lib/gdb.exp: Remove TRANSCRIPT check.
2909
b420b89e
AH
29102019-05-17 Alan Hayward <alan.hayward@arm.com>
2911
2912 * README (Testsuite Parameters): Add replay logging to
2913 GDBSERVER_DEBUG.
2914 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
2915 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
2916 as a comma separated list.
2917 (gdb_debug_init): Override procedure.
2918
408e9b8b
AH
29192019-05-17 Alan Hayward <alan.hayward@arm.com>
2920
2921 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
2922 (gdb_write_cmd_file): New procedure.
2923 * lib/gdbserver-support.exp (gdbserver_start): Call
2924 gdbserver_write_cmd_file.
2925 (gdbserver_write_cmd_file): New procedure.
2926
f9e2e39d
AH
29272019-05-17 Alan Hayward <alan.hayward@arm.com>
2928
2929 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
2930 (delete_breakpoints): Likewise.
2931 (gdb_run_cmd): Likewise.
2932 (gdb_start_cmd): Likewise.
2933 (gdb_starti_cmd): Likewise.
2934 (gdb_internal_error_resync): Likewise.
2935 (gdb_test_multiple): Likewise.
2936 (gdb_reinitialize_dir): Likewise.
2937 (default_gdb_exit): Likewise.
2938 (gdb_file_cmd): Mark kill as optional.
2939 (default_gdb_start): Call gdb_stdin_log_init.
2940 (send_gdb): Call gdb_stdin_log_write.
2941 (rerun_to_main): Mark Y as an answer.
2942 (gdb_stdin_log_init): New function.
2943 (gdb_stdin_log_write): Likewise.
2944
81f47ac2
AH
29452019-05-17 Alan Hayward <alan.hayward@arm.com>
2946
2947 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
2948 * gdb.base/debug-expr.exp: Likewise.
2949 * gdb.base/foll-fork.exp: Likewise.
2950 * gdb.base/foll-vfork.exp: Likewise.
2951 * gdb.base/fork-print-inferior-events.exp: Likewise.
2952 * gdb.base/gdb-sigterm.exp: Likewise.
2953 * gdb.base/gdbinit-history.exp: Likewise.
2954 * gdb.base/osabi.exp: Likewise.
2955 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
2956 * gdb.base/ui-redirect.exp: Likewise.
2957 * gdb.gdb/unittest.exp: Likewise.
2958 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
2959 * gdb.mi/mi-watch.exp: Likewise.
2960 * gdb.mi/new-ui-mi-sync.exp: Likewise.
2961 * gdb.mi/user-selected-context-sync.exp: Likewise.
2962 * gdb.python/python.exp: Disable debug test when debugging.
2963 * gdb.threads/check-libthread-db.exp: Disable when debugging.
2964 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2965 Likewise.
2966 * gdb.threads/stepi-random-signal.exp: Likewise.
2967
29b52314
AH
29682019-05-17 Alan Hayward <alan.hayward@arm.com>
2969
2970 * Makefile.in: Pass through GDB_DEBUG.
2971 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
2972 (gdb,debug): Add board setting.
2973 * lib/gdb.exp (default_gdb_start): Start debugging.
2974 (gdb_debug_enabled): New procedure.
2975 (gdb_debug_init): Likewise.
29b52314
AH
2976
29772019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 2978
29b52314
AH
2979 * Makefile.in: Pass through GDB_DEBUG.
2980 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
2981 (gdb,debug): Add board setting.
2982 * lib/gdb.exp (default_gdb_start): Start debugging.
2983 (gdb_debug_enabled): New procedure.
2984 (gdb_debug_init): Likewise.
29b52314 2985
ca1285d1
AH
29862019-05-17 Alan Hayward <alan.hayward@arm.com>
2987
2988 * gdb.base/ui-redirect.exp: Add debug redirect tests.
2989
f3a09c80
AH
29902019-05-17 Alan Hayward <alan.hayward@arm.com>
2991
2992 * gdb.base/ui-redirect.exp: Test redirection.
2993
26648588
JV
29942019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
2995
2996 * gdb.mi/mi-complete.exp: New file.
2997 * gdb.mi/mi-complete.cc: Likewise.
2998
14237686
AB
29992019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
3000
3001 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
3002 indexed and sliced arrays, and pointers to arrays.
3003
e7bd7fba
TT
30042019-05-14 Tom Tromey <tromey@adacore.com>
3005
3006 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
3007 styling test.
3008
2764128d
TV
30092019-05-14 Tom de Vries <tdevries@suse.de>
3010
3011 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
3012 selection entry encoding.
3013
71bed2db
TT
30142019-05-10 Tom Tromey <tromey@adacore.com>
3015
3016 * gdb.ada/info_exc.exp: Add "complete" test.
3017
63b667ad
TV
30182019-05-09 Tom de Vries <tdevries@suse.de>
3019
3020 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
3021 CU-relative.
3022
9cfd2b89
TV
30232019-05-09 Tom de Vries <tdevries@suse.de>
3024
3025 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
3026 CU-relative.
3027
2228ef77
XR
30282019-05-08 Joel Brobecker <brobecker@adacore.com>
3029
3030 * gdb.ada/frame_arg_lang.exp: New testcase.
3031 * gdb.ada/frame_arg_lang/bla.adb: New file.
3032 * gdb.ada/frame_arg_lang/pck.ads: New file.
3033 * gdb.ada/frame_arg_lang/pck.adb: New file.
3034 * gdb.ada/frame_arg_lang/foo.c: New file.
3035
80e55b13
TT
30362019-05-08 Tom Tromey <tromey@adacore.com>
3037
3038 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
3039
9d3421af
TT
30402019-05-08 Tom Tromey <tromey@adacore.com>
3041
3042 * gdb.base/ptype-offsets.exp: Update tests.
3043
844333e2
TT
30442019-05-08 Tom Tromey <tromey@adacore.com>
3045
3046 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
3047 cases.
3048 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
3049 "short".
3050
988915ee
TT
30512019-05-08 Tom Tromey <tromey@adacore.com>
3052
3053 * gdb.ada/vla.exp: New file.
3054 * gdb.ada/vla/vla.adb: New file.
3055
7bd55dac
TV
30562019-05-07 Tom de Vries <tdevries@suse.de>
3057
3058 * gdb.base/index-cache.exp (ls_host): Fix return statement.
3059
75f06e9d
TV
30602019-05-07 Tom de Vries <tdevries@suse.de>
3061
3062 PR testsuite/24522
3063 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
3064 section.
3065
77e7aaa4
TV
30662019-05-07 Tom de Vries <tdevries@suse.de>
3067
3068 PR testsuite/24522
3069 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
3070 .debug_aranges section.
3071
456ba0fa
TV
30722019-05-07 Tom de Vries <tdevries@suse.de>
3073
3074 PR testsuite/24159
3075 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
3076
5a56d6a6
TV
30772019-05-06 Tom de Vries <tdevries@suse.de>
3078
3079 * lib/gdb.exp (exec_has_index_section): New proc.
3080 * gdb.base/index-cache.exp: Handle case that binfile contains an index
3081 section.
3082
9d6d4be8
TV
30832019-05-04 Tom de Vries <tdevries@suse.de>
3084
3085 * boards/cc-with-debug-names.exp: New file.
3086
222a8d25
TT
30872019-05-03 Tom Tromey <tromey@adacore.com>
3088
3089 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
3090 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
3091 * gdb.ada/char_enum.exp: Add test.
3092
0fdfd794
TV
30932019-05-03 Tom de Vries <tdevries@suse.de>
3094
3095 * boards/cc-with-gdb-index.exp: New file.
3096
80062eb9
AB
30972019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
3098
3099 * gdb.rust/simple.exp: Add new test case.
3100 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
3101 (main): Initialise an instance of the new struct.
3102
4504bbde
TT
31032019-05-01 Tom Tromey <tromey@adacore.com>
3104
3105 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
3106 record.
3107 (NPR): New variable.
3108 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
3109 test.
3110
d48e62f4
TT
31112019-05-01 Tom Tromey <tromey@adacore.com>
3112
3113 * gdb.ada/packed_array_assign.exp: Add packed assignment
3114 regression test.
3115
f59f30f5
TV
31162019-05-01 Tom de Vries <tdevries@suse.de>
3117
3118 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
3119
b70bfc54
TV
31202019-05-01 Tom de Vries <tdevries@suse.de>
3121
3122 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
3123
15f18d14
AT
31242019-04-30 Ali Tamur <tamur@google.com>
3125
3126 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
3127
2ff0a947
TT
31282019-04-30 Tom Tromey <tromey@adacore.com>
3129
3130 * lib/ada.exp (find_ada_tool): New proc.
3131 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
3132 * gdb.ada/catch_ex_std.exp: New file.
3133 * gdb.ada/catch_ex_std/foo.adb: New file.
3134 * gdb.ada/catch_ex_std/some_package.adb: New file.
3135 * gdb.ada/catch_ex_std/some_package.ads: New file.
3136
a776957c
TT
31372019-04-30 Tom Tromey <tromey@adacore.com>
3138
3139 PR c++/24470:
3140 * gdb.cp/temargs.cc: Add test code from PR.
3141
bc68014d
AB
31422019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3143
3144 * gdb.fortran/vla-datatypes.exp: Update expected results.
3145 * gdb.fortran/vla-ptype.exp: Likewise.
3146 * gdb.fortran/vla-type.exp: Likewise.
3147 * gdb.fortran/vla-value.exp: Likewise.
3148
f1fdc960
AB
31492019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3150
3151 * gdb.fortran/ptr-indentation.exp: Update expected results.
3152 * gdb.fortran/ptype-on-functions.exp: Likewise.
3153 * gdb.fortran/vla-ptr-info.exp: Likewise.
3154 * gdb.fortran/vla-value.exp: Likewise.
3155
bf7a4de1
AB
31562019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3157
3158 * gdb.fortran/ptype-on-functions.exp: New file.
3159 * gdb.fortran/ptype-on-functions.f90: New file.
3160
bbe75b9d
AB
31612019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3162
3163 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
3164 case void string.
3165
1db455a7
AB
31662019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3167
3168 * gdb.fortran/complex.exp: Expand.
3169 * gdb.fortran/complex.f: Renamed to...
3170 * gdb.fortran/complex.f90: ...this, and extended to add more
3171 complex values.
3172
b6d03bb2
AB
31732019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3174
3175 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
3176 MODULO, CMPLX.
3177
2e62ab40
AB
31782019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
3179 Richard Bunt <richard.bunt@arm.com>
3180
3181 * gdb.base/max-depth.c: New file.
3182 * gdb.base/max-depth.exp: New file.
3183 * gdb.python/py-nested-maps.c: New file.
3184 * gdb.python/py-nested-maps.exp: New file.
3185 * gdb.python/py-nested-maps.py: New file.
3186 * gdb.python/py-format-string.exp (test_max_depth): New proc.
3187 (test_all_common): Call test_max_depth.
3188 * gdb.fortran/max-depth.exp: New file.
3189 * gdb.fortran/max-depth.f90: New file.
3190 * gdb.go/max-depth.exp: New file.
3191 * gdb.go/max-depth.go: New file.
3192 * gdb.modula2/max-depth.exp: New file.
3193 * gdb.modula2/max-depth.c: New file.
3194 * lib/gdb.exp (get_print_expr_at_depths): New proc.
3195
d2b584a5
TV
31962019-04-29 Tom de Vries <tdevries@suse.de>
3197
3198 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
3199
136afab8
PW
32002019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3201
3202 * gdb.base/callexit.exp: Test may-call-functions off.
3203
725cbb63
KS
32042019-04-25 Keith Seitz <keiths@redhat.com>
3205
3206 PR c++/24367
3207 * gdb.cp/meth-typedefs.cc (incomplete_struct)
3208 (another_incomplete_struct, test_incomplete): New definitions.
3209 (main): Use new definitions.
3210 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
3211 functions.
3212
701adfb0
PA
32132019-04-25 Ali Tamur <tamur@google.com>
3214
3215 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
3216
82433e3e
SDJ
32172019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
3218
3219 PR corefiles/11608
3220 PR corefiles/18187
3221 * gdb.base/coredump-filter-build-id.exp: New file.
3222
dd06d4d6
AH
32232019-04-25 Alan Hayward <alan.hayward@arm.com>
3224
e79be6e5
SM
3225 * Makefile.in: Pass through GDBSERVER_DEBUG.
3226 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
3227 (gdbserver,debug): Add board setting.
3228 * gdb.trace/tspeed.exp: Skip when debugging.
3229 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
3230 * lib/gdbserver-support.exp: Likewise
dd06d4d6 3231
1670072e
TT
32322019-04-24 Tom Tromey <tromey@adacore.com>
3233
3234 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
3235 Rust.
3236
a59240a4
TT
32372019-04-24 Tom Tromey <tromey@adacore.com>
3238
3239 * gdb.arch/amd64-eval.exp: Test bitfield return.
3240 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
3241 (class Foo) <return_bitfields>: New method.
3242 (main): Call it.
3243
b907456c
AB
32442019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
3245
3246 * gdb.cp/many-args.cc: New file.
3247 * gdb.cp/many-args.exp: New file.
3248
5c565afd
TV
32492019-04-23 Tom de Vries <tdevries@suse.de>
3250
3251 PR gdb/24433
3252 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
3253
ba22ff86
AH
32542019-04-23 Alan Hayward <alan.hayward@arm.com>
3255
3256 * gdb.trace/backtrace.exp: Use nopie flag.
3257 * gdb.trace/circ.exp: Likewise.
3258 * gdb.trace/collection.exp: Likewise.
3259 * gdb.trace/ftrace.exp: Likewise.
3260 * gdb.trace/mi-trace-unavailable.exp: Likewise.
3261 * gdb.trace/mi-traceframe-changed.exp: Likewise.
3262 * gdb.trace/qtro.exp: Likewise.
3263 * gdb.trace/read-memory.exp: Likewise.
3264 * gdb.trace/report.exp: Likewise.
3265 * gdb.trace/tfile.exp: Likewise.
3266 * gdb.trace/tfind.exp: Likewise.
3267 * gdb.trace/unavailable.exp: Likewise.
3268
7905fc35
PA
32692019-04-22 Pedro Alves <palves@redhat.com>
3270
3271 * gdb.base/solib-probes-nosharedlibrary.c,
3272 gdb.base/solib-probes-nosharedlibrary.exp: New files.
3273
8ecb59f8
TT
32742019-04-19 Tom Tromey <tromey@adacore.com>
3275
3276 * gdb.ada/ptype_union.c: New file.
3277 * gdb.ada/ptype_union.exp: New file.
3278
62160ec9
TT
32792019-04-19 Tom Tromey <tromey@adacore.com>
3280
3281 PR symtab/24423:
3282 * gdb.base/list0.h (foo): Add a control-l character.
3283
36cd4ba5
TV
32842019-04-18 Tom de Vries <tdevries@suse.de>
3285
3286 PR gdb/24433
3287 * boards/local-board.exp: Set sysroot to "".
3288
b73715df
TV
32892019-04-18 Tom de Vries <tdevries@suse.de>
3290 Pedro Alves <palves@redhat.com>
3291
3292 PR gdb/24454
3293 * gdb.threads/vfork-follow-child-exec.c: New file.
3294 * gdb.threads/vfork-follow-child-exec.exp: New file.
3295 * gdb.threads/vfork-follow-child-exit.c: New file.
3296 * gdb.threads/vfork-follow-child-exit.exp: New file.
3297
4aa866af
LS
32982019-04-15 Leszek Swirski <leszeks@google.com>
3299
3300 * gdb.arch/amd64-eval.cc: New file.
3301 * gdb.arch/amd64-eval.exp: New file.
3302
e5a1a79a
AH
33032019-04-11 Alan Hayward <alan.hayward@arm.com>
3304
3305 * gdb.server/sysroot.c: New test.
3306 * gdb.server/sysroot.exp: New file.
3307 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
3308 matching param.
3309
41077b66
AB
33102019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
3311
3312 * gdb.base/align.exp: Extend test to cover structures containing
3313 only static fields.
3314
c30391f8
TV
33152019-04-11 Tom de Vries <tdevries@suse.de>
3316
3317 * boards/cc-with-dwz-m.exp: New file.
3318 * boards/cc-with-dwz.exp: New file.
3319 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
3320
e242fd12
SM
33212019-04-09 Simon Marchi <simon.marchi@efficios.com>
3322
3323 * gdb.base/start-cpp.exp: New file.
3324 * gdb.base/start-cpp.cc: New file.
3325
2b0c8b01
KB
33262019-04-08 Kevin Buettner <kevinb@redhat.com>
3327
3328 * gdb.python/py-thrhandle.exp: Adjust tests to call
3329 thread_from_handle instead of thread_from_thread_handle.
3330
947210e5
KB
33312019-04-08 Kevin Buettner <kevinb@redhat.com>
3332
3333 * gdb.python/py-thrhandle.exp: Add tests for
3334 gdb.InferiorThread.handle.
3335
d7df6549
AB
33362019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
3337
3338 * gdb.python/py-function.exp: Check calling helper function from
3339 all languages.
3340 * lib/gdb.exp (gdb_supported_languages): New proc.
3341
8bdc1658
AB
33422019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
3343
3344 * gdb.base/complex-parts.c: New file.
3345 * gdb.base/complex-parts.exp: New file.
3346
05caa1d2
TT
33472019-04-01 Tom Tromey <tromey@adacore.com>
3348
3349 PR symtab/23331:
3350 * gdb.dwarf2/dw2-ranges-main.c: New file.
3351 * gdb.dwarf2/dw2-ranges-psym.c: New file.
3352 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
3353
7734102d
EZ
33542019-03-30 Simon Marchi <simark@simark.ca>
3355
3356 * gdb.base/default.exp: Add values for $_gdb_major and
3357 $_gdb_minor.
3358
188e1fa9
TT
33592019-03-29 Tom Tromey <tromey@adacore.com>
3360
3361 * gdb.base/help.exp: Tighten apropos regexp.
3362
2880242d
KS
33632019-03-29 Keith Seitz <keiths@redhat.com>
3364
3365 * gdb.fortran/array-bounds.exp: New file.
3366 * gdb.fortran/array-bounds.f90: New file.
3367
077cad8e
PW
33682019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3369
3370 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
3371
80047cfc
PW
33722019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3373
3374 * gdb.multi/hello.c (main): Increase alarm timer.
3375
f489207e
SL
33762019-03-28 Sandra Loosemore <sandra@codesourcery.com>
3377
3378 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
3379 factor when no hardware watchpoint support.
3380
c92df149
AH
33812019-03-28 Alan Hayward <alan.hayward@arm.com>
3382 Pedro Alves <palves@redhat.com>
3383
3384 * boards/local-board.exp: set sysroot to /.
3385
933aebfa
AH
33862019-03-27 Alan Hayward <alan.hayward@arm.com>
3387
3388 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
3389 in child.
3390
9f9aa852
AB
33912019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
3392
3393 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
3394 field.
3395 (make_container): Initialise new field.
3396 * gdb.python/py-prettyprint.exp: Add new tests.
3397 * gdb.python/py-prettyprint.py (class ContainerPrinter)
3398 <display_hint>: New method.
3399
3714a195
AB
34002019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
3401
3402 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
3403 gdb_continue_to_breakpoint more throughout this test.
3404 (run_lang_tests) Supply unique test names, and use
3405 gdb_test_no_output.
3406
18c77628
AB
34072019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
3408
3409 * gdb.base/finish-pretty.exp: Update expected results.
3410 * gdb.base/pretty-print.c: New file.
3411 * gdb.base/pretty-print.exp: New file.
3412
9a93502f
PA
34132019-03-25 Pedro Alves <palves@redhat.com>
3414
3415 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
3416 move comments outside list. Append '-i "" eof' section.
3417
968aa7ae
AH
34182019-03-22 Alan Hayward <alan.hayward@arm.com>
3419
34a7f2a4 3420 PR testsuite/25016
968aa7ae
AH
3421 * README: Add pie options.
3422 * gdb.base/break-interp.exp: Ensure pie is disabled.
3423 * gdb.base/dump.exp: Likewise.
3424 * lib/gdb.exp (gdb_compile): Add pie option.
3425
4c7d57e7
TT
34262019-03-19 Tom Tromey <tromey@adacore.com>
3427
3428 * gdb.mi/mi2-cli-display.c: New file.
3429 * gdb.mi/mi2-cli-display.exp: New file.
3430
bff8c71f
TT
34312019-03-18 Joel Brobecker <brobecker@adacore.com>
3432 Tom Tromey <tromey@adacore.com>
3433
3434 * gdb.ada/ptype_array/pck.adb: New file.
3435 * gdb.ada/ptype_array/pck.ads: New file.
3436 * gdb.ada/ptype_array/foo.adb: New file.
3437 * gdb.ada/ptype_array.exp: New file.
3438
d085f989
TT
34392019-03-14 Tom Tromey <tromey@adacore.com>
3440
3441 * gdb.base/style.exp: Add "set style sources" test.
3442
b4be1b06
SM
34432019-03-13 Simon Marchi <simon.marchi@ericsson.com>
3444
3445 * mi-breakpoint-location-ena-dis.exp: Rename to ...
3446 * mi-breakpoint-multiple-locations.exp: ... this.
3447 (make_breakpoints_pattern): New proc.
3448 (do_test): Add mi_version parameter, test -break-insert,
3449 -break-info and =breakpoint-created.
3450
7cde5fc2
AB
34512019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
3452
3453 * config/default.exp: Remove 'load_lib gdb.exp'.
3454 * config/monitor.exp: Likewise.
3455 * config/sid.exp: Likewise.
3456 * config/sim.exp: Likewise.
3457 * config/slite.exp: Likewise.
3458 * config/unix.exp: Likewise.
3459 * gdb.base/default.exp: Remove unhelpful comment.
3460
efbecbc1
AB
34612019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3462
3463 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
3464
0841c79a
AB
34652019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3466
3467 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
3468
4a270568
AB
34692019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3470
3471 * gdb.fortran/type-kinds.exp: Update expected results.
3472
067630bd
AB
34732019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3474
3475 * gdb.fortran/type-kinds.exp: Test new integer type kind.
3476
3be47f7a
AB
34772019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3478
3479 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
3480 function.
3481 (test_basic_parsing_of_type_kinds): Expand types tested.
3482 (test_parsing_invalid_type_kinds): New function.
3483
4d00f5d8
AB
34842019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3485
3486 * gdb.fortran/intrinsics.exp: New file.
3487 * gdb.fortran/intrinsics.f90: New file.
3488 * gdb.fortran/type-kinds.exp: New file.
3489
c8f91604
AB
34902019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3491
3492 * gdb.fortran/dot-ops.exp: New file.
3493
dd9f2c76
AB
34942019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3495
3496 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
3497 Check upper and lower case logical literals.
3498
84ec9724
AB
34992019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3500
3501 * gdb.fortran/types.exp (test_float_literal_types_accepted):
3502 Remove duplicate tests.
3503
c3734e09
AH
35042019-03-06 Alan Hayward <alan.hayward@arm.com>
3505
3506 * lib/gdb.exp (builtin_cd): rename of cd.
3507 (cd): Override builtin.
3508
aa3cfbda
RB
35092019-03-06 Richard Bunt <richard.bunt@arm.com>
3510
3511 * gdb.fortran/function-calls.exp: New file.
3512 * gdb.fortran/function-calls.f90: New test.
3513
7b63ad86
RB
35142019-03-04 Richard Bunt <richard.bunt@arm.com>
3515
3516 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
3517 on user program standard output.
3518 * gdb.fortran/short-circuit-argument-list.f90: Record function
3519 calls.
3520
01abb042
AH
35212019-02-28 Alan Hayward <alan.hayward@arm.com>
3522
c3734e09
AH
3523 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
3524 failure.
01abb042 3525
92137da0
RO
35262019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3527
3528 PR gdb/8527
3529 * gdb.base/interrupt-daemon-attach.c,
3530 gdb.base/interrupt-daemon-attach.exp: New test.
3531
5862844d
PA
35322019-02-27 Pedro Alves <palves@redhat.com>
3533
3534 * gdb.base/page.exp: Add tests for "set width/height -1".
3535
8ed25214
PA
35362019-02-27 Pedro Alves <palves@redhat.com>
3537
3538 * gdb.base/page.exp: Add tests for "set/show width/height" with
3539 "infinite" values.
3540
6c28e44a
TT
35412019-02-27 Tom Tromey <tromey@adacore.com>
3542
3543 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
3544 2.4.
3545 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
3546 workaround.
3547
bf9a735e
AB
35482019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
3549
3550 * gdb.base/align.exp: Extend to compile in both C and C++, and add
3551 tests for structs with static members.
3552
8791793c
TT
35532019-02-26 Tom Tromey <tromey@adacore.com>
3554
3555 * gdb.python/py-value.exp (test_value_from_buffer): Check for
3556 ValueError, not TypeError.
3557
bc2a507e
KB
35582019-02-26 Kevin Buettner <kevinb@redhat.com>
3559
3560 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
3561 call from main program.
3562
e0e7d3bd
JB
35632019-02-23 Joel Brobecker <brobecker@adacore.com>
3564
3565 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
3566 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
3567 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
3568 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
3569 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
3570
9600246d
KS
35712019-02-22 Keith Seitz <keiths@redhat.com>
3572
3573 PR symtab/23853
3574 * gdb.base/symlink-sourcefile.c: New file.
3575 * gdb.base/symlink-sourcefile.exp: New file.
3576
0c95f9ed
TT
35772019-02-20 Tom Tromey <tom@tromey.com>
3578
3579 * gdb.base/info_qt.exp: Update.
3580
6caa91b6
SM
35812019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
3582
3583 * gdb.base/source.exp: Move "error in sourced script" code to
3584 the end.
3585 * gdb.base/source-error.gdb: Move contents to
3586 source-error-1.gdb. Add new code to source source-error-1.gdb.
3587 * gdb.base/source-error-1.gdb: New file, from previous
3588 source-error.gdb.
3589
6506371f
TT
35902019-02-17 Tom Tromey <tom@tromey.com>
3591
3592 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
3593 for macro styling.
3594 * gdb.base/style.c (SOME_MACRO): New macro.
3595
a0087920
TT
35962019-02-17 Tom Tromey <tom@tromey.com>
3597
3598 * gdb.base/style.exp: Add line-wrapping tests.
3599 * gdb.base/page.exp: Add test for quitting during pagination.
3600
a2cd4f14
JB
36012019-02-17 Joel Brobecker <brobecker@adacore.com>
3602
3603 * gdb.ada/big_packed_array: New testcase.
3604 * gdb.ada/homonym.exp: Fix incorrect expected output for
3605 "break <homonym__get_value>" test.
3606
9d70ffbc
WP
36072019-02-13 Weimin Pan <weimin.pan@oracle.com>
3608
3609 PR breakpoints/21870
3610 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
3611 and prepare_for_testing. Add comment.
3612 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
3613 redundant cleanup call. Clean up comment.
3614
01c7ae81
WP
36152019-02-12 Weimin Pan <weimin.pan@oracle.com>
3616
3617 PR breakpoints/21870
3618 * gdb.arch/aarch64-dbreg-contents.exp: New file.
3619 * gdb.arch/aarch64-dbreg-contents.c: New file.
3620
aff29d1c
JB
36212019-02-10 Joel Brobecker <brobecker@adacore.com>
3622
3623 * gdb.ada/mi_ref_changeable: New testcase.
3624
df0da8a2
AH
36252019-02-07 Alan Hayward <alan.hayward@arm.com>
3626
3627 * gdb.base/attach.exp: Add double attach test.
3628
bd447abb
SM
36292019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
3630
3631 * lib/gdb.exp (default_gdb_start): Don't match pagination
3632 prompt.
3633 (gdb_init): Set stty_init.
3634
1dbc40b9
TT
36352019-01-27 Tom Tromey <tom@tromey.com>
3636
3637 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
3638 skip_python_tests.
3639
353229bf
AH
36402019-01-24 Alan Hayward <alan.hayward@arm.com>
3641
3642 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
3643 New structure.
3644 (struct struct_static_02_02): Likewise.
3645 (struct struct_static_02_03): Likewise.
3646 (struct struct_static_02_04): Likewise.
3647 (struct struct_static_04_01): Likewise.
3648 (struct struct_static_04_02): Likewise.
3649 (struct struct_static_04_03): Likewise.
3650 (struct struct_static_04_04): Likewise.
3651 (struct struct_static_06_01): Likewise.
3652 (struct struct_static_06_02): Likewise.
3653 (struct struct_static_06_03): Likewise.
3654 (struct struct_static_06_04): Likewise.
3655 (cmp_struct_static_02_01): Likewise.
3656 (cmp_struct_static_02_02): Likewise.
3657 (cmp_struct_static_02_03): Likewise.
3658 (cmp_struct_static_02_04): Likewise.
3659 (cmp_struct_static_04_01): Likewise.
3660 (cmp_struct_static_04_02): Likewise.
3661 (cmp_struct_static_04_03): Likewise.
3662 (cmp_struct_static_04_04): Likewise.
3663 (cmp_struct_static_06_01): Likewise.
3664 (cmp_struct_static_06_02): Likewise.
3665 (cmp_struct_static_06_03): Likewise.
3666 (cmp_struct_static_06_04): Likewise.
3667 (call_all): Test new structs.
3668 * gdb.base/infcall-nested-structs.exp: Likewise.
3669
73021deb
AH
36702019-01-21 Alan Hayward <alan.hayward@arm.com>
3671 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
3672
fc65c7db
AH
36732019-01-21 Alan Hayward <alan.hayward@arm.com>
3674 * gdb.base/stack-protector.c: New test.
3675 * gdb.base/stack-protector.exp: New file.
3676 * gdb.cp/ovldbreak.exp: Only allow a single break line.
3677 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
3678 option.
3679 (gdb_compile): Remove stack protector for GCC and prevent
3680 recursion.
3681
c24bdb02
KS
36822019-01-16 Keith Seitz <keiths@redhat.com>
3683
3684 PR gdb/23773
3685 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
3686
6f072a10
PFC
36872019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3688
3689 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
3690 aliases.
3691 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
3692 tests.
3693 * gdb.arch/powerpc-vector-regs.c: New file.
3694 * gdb.arch/powerpc-vector-regs.exp: New file.
3695
a7b8d682
PFC
36962019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3697
3698 * gdb.arch/altivec-regs.exp: Fix the list passed to
3699 gdb_expect_list when testing "info vector".
3700
6eb6fb67
AB
37012019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
3702
3703 * gdb.base/style.exp: Don't include path in testname.
3704
b56f80d8
KS
37052019-01-10 Keith Seitz <keiths@redhat.com>
3706
3707 PR gdb/23712
3708 PR symtab/23010
3709 * gdb.dwarf2/multidictionary.exp: New file.
3710
041be526
SM
37112019-01-09 Simon Marchi <simon.marchi@ericsson.com>
3712
3713 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
3714 (test_gnuv3_style_demangling): ... this.
3715 (test_lucid_style_demangling): Remove.
3716 (test_arm_style_demangling): Remove.
3717 (test_hp_style_demangling): Remove.
3718 (do_tests): Remove calls to the above.
3719
d820d0c3
AB
37202019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3721
3722 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
3723 case.
3724
f097f5ad
TT
37252019-01-06 Tom Tromey <tom@tromey.com>
3726
3727 PR gdb/28155:
3728 * gdb.dwarf2/typedef-void-finish.exp: New file.
3729
2cd8cc0b
TT
37302018-12-28 Tom Tromey <tom@tromey.com>
3731 Simon Marchi <simark@simark.ca>
3732
3733 * gdb.base/jit-exec.exp: New file.
3734 * gdb.base/jit-exec.c: New file.
3735 * gdb.base/jit-execd.c: New file.
3736
35fb8261
TT
37372018-12-28 Tom Tromey <tom@tromey.com>
3738
3739 * gdb.base/style.exp: Update test to check for address styling.
3740
47fd17cd
TT
37412018-12-28 Tom Tromey <tom@tromey.com>
3742
3743 * gdb.base/style.exp: Add test for styling of "Reading symbols"
3744 message.
3745
d47032b7
TT
37462018-12-28 Tom Tromey <tom@tromey.com>
3747
3748 * gdb.base/style.exp: Add test for version number styling.
3749
af79b68d
TT
37502018-12-28 Tom Tromey <tom@tromey.com>
3751
3752 * gdb.base/style.exp: Add test for print_address_symbolic.
3753
0bb296cb
TT
37542018-12-28 Tom Tromey <tom@tromey.com>
3755
3756 * gdb.base/style.exp: Add test for breakpoint setting.
3757
80ae2043
TT
37582018-12-28 Tom Tromey <tom@tromey.com>
3759
3760 * gdb.base/style.exp: Add test for variable names.
3761
cbe56571
TT
37622018-12-28 Tom Tromey <tom@tromey.com>
3763
3764 * gdb.base/style.exp: New file.
3765 * gdb.base/style.c: New file.
3766
9162a27c
TT
37672018-12-28 Tom Tromey <tom@tromey.com>
3768
3769 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
3770 "dumb".
3771 * gdb.base/readline.exp (operate_and_get_next): Save and restore
3772 the TERM environment variable.
3773
bc543c90
TT
37742018-12-27 Tom Tromey <tom@tromey.com>
3775
3776 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
3777 pagination test.
3778
6f0ffe50
AB
37792018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
3780
3781 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
3782 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
3783
b5a1e557
PW
37842018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3785
3786 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
3787 Filename a.adb changed to bp_fun_addr.adb.
3788 gdb.ada/bp_fun_addr.exp: Update test accordingly.
3789
6e8b1ab2
JV
37902018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
3791
3792 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
3793 non-PIE executables.
3794 * README: Mention the gdb,nopie_flag board setting.
3795 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
3796 non-PIE executable.
3797 * gdb.arch/amd64-entry-value.exp: Likewise.
3798 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
3799 * gdb.arch/i386-float.exp: Likewise.
3800 * gdb.arch/i386-signal.exp: Likewise.
3801 * gdb.mi/mi-reg-undefined.exp: Likewise.
3802
d00a27c5
PM
38032018-12-21 Paul Marechal <paul.marechal@ericsson.com>
3804
3805 PR gdb/23974
3806 * gdb.base/info-os.exp: Check return for unknown "info os" type.
3807
161d081c
PW
38082018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3809
3810 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
3811 Update order of results accordingly.
3812
b001de23
AB
38132018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
3814
3815 * gdb.base/annota1.exp: Update a test regexp.
3816
99e1a184
AB
38172018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
3818
3819 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
3820
7a81c1e2
PW
38212018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3822
3823 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
3824 (reuse_time): Initialize to REUSE_TIME_CAP.
3825 (check_rc): New function.
3826 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
3827 Check pthread_create rc.
3828 (spawner_thread_func): Check pthread_create and pthread_join rc.
3829
73e8dc90
PA
38302018-12-08 Pedro Alves <palves@redhat.com>
3831
3832 * gdb.base/list.exp (test_forward_search): Rename to ...
3833 (test_forward_reverse_search): ... this. Also test reverse-search
3834 and the forward-search alias.
3835
13f2ed32
AB
38362018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
3837
3838 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
3839 local timeout variable before return, and remove all local timeout
3840 variable entirely.
3841 (gdb_load): Likewise.
3842
64d27cfc
TV
38432018-12-01 Tom de Vries <tdevries@suse.de>
3844
3845 * gdb.base/gdb-caching-proc.exp: New file.
3846
f63c03b4
SDJ
38472018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
3848
3849 * Makefile.in (TIMESTAMP): New variable.
3850 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
3851 command.
3852 (check-single-racy): Likewise.
3853 (check/%.exp): Likewise.
3854 (check-racy/%.exp): Likewise.
3855 (workers/%.worker): Likewise.
3856 (build-perf): Likewise.
3857 (check-perf): Likewise.
3858 * README: Describe new "TS" and "TS_FORMAT" variables.
3859 * print-ts.py: New file.
3860
1c97054b
BF
38612018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
3862
3863 PR python/23714
3864 * gdb.python/python.exp: Test command repetition after
3865 gdb.execute.
3866
1871a62d
AB
38672018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
3868
3869 * gdb.opt/inline-break.exp: Add test that info breakpoint output
3870 is correctly aligned.
3871
fb5e1ed9
PW
38722018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3873
3874 * gdb.ada/info_auto_lang.exp: New testcase.
3875 * gdb.ada/info_auto_lang/global_pack.ads: New file.
3876 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
3877 * gdb.ada/info_auto_lang/some_c.c: New file.
3878
43d397ca
PW
38792018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3880
3881 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
3882 FUNC_lang language syntax.
3883
beddd671
PW
38842018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3885
3886 * gdb.base/info_minsym.c: New file.
3887 * gdb.base/info_minsym.exp: New file.
3888
73fc52c4
TT
38892018-11-19 Tom Tromey <tom@tromey.com>
3890
3891 PR rust/23625:
3892 * gdb.rust/simple.exp: Add ptype test. Update expected output.
3893 * gdb.rust/expr.exp: Update expected output. Change one test.
3894
994b876a
TT
38952018-11-19 Tom Tromey <tom@tromey.com>
3896
3897 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
3898
6769f276
PA
38992018-11-19 Pedro Alves <palves@redhat.com>
3900
3901 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
3902 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
3903 see the expected warning.
3904
38a72da0
AH
39052018-11-16 Alan Hayward <alan.hayward@arm.com>
3906
3907 PR gdb/22736:
3908 * gdb.cp/infcall-nodebug-lib.c: New test.
3909 * gdb.cp/infcall-nodebug-main.c: New test.
3910 * gdb.cp/infcall-nodebug.exp: New file.
3911
53a89d6e
SM
39122018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
3913
3914 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
3915 completer tests.
3916
9325300d
TV
39172018-11-09 Tom de Vries <tdevries@suse.de>
3918
3919 * gdb.base/msym-lang.c: New test.
3920 * gdb.base/msym-lang.exp: New file.
3921 * gdb.base/msym-lang-main.c: New test.
3922
20f0d60d
TT
39232018-11-08 Tom Tromey <tom@tromey.com>
3924
3925 PR gdb/23555:
3926 PR gdb/23838:
3927 * gdb.base/warning.exp: New file.
3928
b5420128
JB
39292018-11-08 Jan Beulich <jbeulich@suse.com>
3930
3931 * testsuite/gdb.arch/i386-avx512.c,
3932 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
3933
cd115d61
AB
39342018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
3935
3936 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
3937 point hardware.
3938
35ee2dc2
AB
39392018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
3940
3941 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
3942 * gdb.dwarf2/missing-type-name.exp: New file.
3943
31aceee8
TV
39442018-11-06 Tom de Vries <tdevries@suse.de>
3945
3946 * gdb.base/many-headers.c: New test.
3947 * gdb.base/many-headers.exp: New file.
3948
109be305
JW
39492018-11-06 Jim Wilson <jimw@sifive.com>
3950
3951 * gdb.base/code_elim.exp: For riscv, set additional_flags
3952 to include -msmall-data-limit=0.
3953
e2b7af72
JB
39542018-11-01 Joel Brobecker <brobecker@adacore.com>
3955
3956 * gdb.ada/watch_minus_l: New testcase.
3957
cdcda965
SM
39582018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
3959
3960 * gdb.arch/aix-sighandle.c: New file.
3961 * gdb.arch/aix-sighandle.exp: New file.
3962
92dcebf3
AB
39632018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3964
3965 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
3966 registers being unions.
3967
68b9ac18
TV
39682018-10-31 Tom de Vries <tdevries@suse.de>
3969
3970 * lib/valgrind.exp: New file.
3971 (vgdb_start, vgdb_stop): New procs, factored out of ...
3972 * gdb.base/valgrind-bt.exp: ... here, ...
3973 * gdb.base/valgrind-disp-step.exp: ... here and ...
3974 * gdb.base/valgrind-infcall.exp: ... here.
3975
1443936e
TV
39762018-10-31 Tom de Vries <tdevries@suse.de>
3977
3978 * lib/gdb.exp (get_valueof): Don't output read value in test name.
3979
eb77c9df
AB
39802018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3981
3982 * gdb.dwarf2/void-type.c: New file.
3983 * gdb.dwarf2/void-type.exp: New file.
3984
82b5e646
PW
39852018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3986
3987 * gdb.base/info_qt.c: New file.
3988 * gdb.base/info_qt.exp: New file.
3989
8d619c01
EBM
39902018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3991
3992 * gdb.arch/powerpc-htm-regs.c: New file.
3993 * gdb.arch/powerpc-htm-regs.exp: New file.
3994
f2cf6173
EBM
39952018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3996
3997 * gdb.arch/powerpc-tar.c: New file.
3998 * gdb.arch/powerpc-tar.exp: New file.
3999
7ca18ed6
EBM
40002018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4001
4002 * gdb.arch/powerpc-ppr-dscr.c: New file.
4003 * gdb.arch/powerpc-ppr-dscr.exp: New file.
4004
bfcc0eba
TV
40052018-10-25 Tom de Vries <tdevries@suse.de>
4006
4007 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
4008
fe1a5cad
TV
40092018-10-24 Tom de Vries <tdevries@suse.de>
4010
4011 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
4012 longer exists error.
4013
a76dc3b7
TV
40142018-10-24 Tom de Vries <tdevries@suse.de>
4015
4016 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
4017
4df46df7
TV
40182018-10-24 Tom de Vries <tdevries@suse.de>
4019
4020 * gdb.base/valgrind-db-attach.exp: Handle removed support for
4021 --db-attach in valgrind.
4022
0dbfcfff
AB
40232018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
4024
4025 * gdb.arch/riscv-reg-aliases.c: New file.
4026 * gdb.arch/riscv-reg-aliases.exp: New file.
4027
b04480b1
AH
40282018-10-19 Alan Hayward <alan.hayward@arm.com>
4029
4030 * gdb.python/py-cmd.exp: Check for gdb_prompt.
4031
2c6ac8d7
AH
40322018-10-19 Alan Hayward <alan.hayward@arm.com>
4033
4034 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
4035
2bc69f25
AH
40362018-10-19 Alan Hayward <alan.hayward@arm.com>
4037
4038 * gdb.cp/ovldbreak.exp: Fix regexps.
4039
1f1ae3a3
AH
40402018-10-19 Alan Hayward <alan.hayward@arm.com>
4041
4042 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
4043
94c18618
SDJ
40442018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
4045
4046 PR cli/23785
4047 * gdb.base/restore.exp: New test to check if "restore" with an
4048 invalid file doesn't segfault.
4049
812cd6eb
TV
40502018-10-18 Tom de Vries <tdevries@suse.de>
4051
4052 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
4053 * gdb.ada/excep_handle.exp: Same.
4054 * gdb.ada/mi_string_access.exp: Same.
4055 * gdb.ada/mi_var_union.exp: Same.
4056 * gdb.arch/arc-analyze-prologue.exp: Same.
4057 * gdb.arch/arc-decode-insn.exp: Same.
4058 * gdb.base/readnever.exp: Same.
4059 * gdb.fortran/printing-types.exp: Same.
4060 * gdb.guile/scm-lazy-string.exp: Same.
4061
c4b90788
TV
40622018-10-16 Tom de Vries <tdevries@suse.de>
4063
4064 PR gdb/23730
4065 * gdb.base/catch-follow-exec.c: Add copyright notice.
4066 * gdb.base/catch-follow-exec.exp: Rewrite to use
4067 gdb_spawn_with_cmdline_opts. Require gdb-native.
4068
8bca2978
SL
40692018-10-12 Sandra Loosemore <sandra@codesourcery.com>
4070
4071 * gdb.trace/actions-changed.exp: Check for arch support.
4072 * gdb.trace/actions.exp: Likewise.
4073 * gdb.trace/ax.exp: Likewise.
4074 * gdb.trace/backtrace.exp: Likewise.
4075 * gdb.trace/change-loc.exp: Likewise.
4076 * gdb.trace/deltrace.exp: Likewise.
4077 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
4078 * gdb.trace/ftrace.exp: Likewise.
4079 * gdb.trace/infotrace.exp: Check for arch support.
4080 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
4081 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
4082 * gdb.trace/mi-tsv-changed.exp: Likewise.
4083 * gdb.trace/packetlen.exp: Likewise.
4084 * gdb.trace/passc-dyn.exp: Likewise.
4085 * gdb.trace/passcount.exp: Likewise.
4086 * gdb.trace/pending.exp: Likewise.
4087 * gdb.trace/range-stepping.exp: Check for shlib support.
4088 * gdb.trace/report.exp: Check for arch support.
4089 * gdb.trace/save-trace.exp: Likewise.
4090 * gdb.trace/signal.exp: Check for signal support.
4091 * gdb.trace/tfind.exp: Check for arch support.
4092 * gdb.trace/trace-break.exp: Check for arch and shlib support.
4093 * gdb.trace/trace-common.h: Add comment.
4094 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
4095 * gdb.trace/trace-enable-disable.exp: Likewise.
4096 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
4097 * gdb.trace/tracecmd.exp: Check for arch support.
4098 * gdb.trace/tspeed.exp: Check for shlib and target support.
4099 * gdb.trace/tstatus.exp: Check for arch support.
4100 * gdb.trace/tsv.exp: Likewise.
4101 * gdb.trace/while-dyn.exp: Likewise.
4102 * gdb.trace/while-stepping.exp: Likewise.
4103 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
4104
f9c49bff
SM
41052018-10-12 Simon Marchi <simon.marchi@ericsson.com>
4106
4107 * gdb.trace/tspeed.exp: Remove nowarnings.
4108 (prepare_for_trace_test): Declare "global ipalib".
4109 * gdb.trace/tspeed.c: Include unistd.h.
4110 (main): Remove superfluous printf argument.
4111
d4330bde
SL
41122018-10-11 Sandra Loosemore <sandra@codesourcery.com>
4113
4114 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
4115 directory prefix on the filename.
4116
8ecfd7bd
SDJ
41172018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
4118
4119 * gdb.gdb/unittest.exp: Update expected message informing that
4120 selftests have been disabled.
4121 * gdb.server/unittest.exp: Likewise.
4122
58bbcd02
TV
41232018-10-09 Tom de Vries <tdevries@suse.de>
4124
4125 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
4126 with runto_main.
4127
9f6b697b
WP
41282018-10-08 Weimin Pan <weimin.pan@oracle.com>
4129
4130 PR c++/16841
4131 * gdb.cp/virtbase2.cc: New file.
4132 * gdb.cp/virtbase2.exp: New file.
4133
add5ded5
TT
41342018-10-06 Tom Tromey <tom@tromey.com>
4135
4136 PR python/19399:
4137 * gdb.python/py-inferior.exp: Add architecture test.
4138
f9e48344
TT
41392018-10-06 Tom Tromey <tom@tromey.com>
4140
4141 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
4142 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
4143
2a8be203
TT
41442018-10-06 Tom Tromey <tom@tromey.com>
4145
4146 * gdb.python/py-breakpoint.exp (check_last_event): Check location
4147 of a "throw" catchpoint.
4148
e04caa70
SDJ
41492018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
4150
4151 * gdb.base/info-proc.exp: Update string expected from "help info
4152 proc".
4153
5ca8c39f
TT
41542018-10-04 Tom Tromey <tom@tromey.com>
4155
4156 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
4157 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
4158 (test_initial_complaints, test_empty_complaints): Update.
4159 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
4160
3453e7e4
TT
41612018-10-04 Tom Tromey <tom@tromey.com>
4162
4163 PR cli/19551:
4164 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
4165 * lib/gdb.exp (gdb_file_cmd): Update.
4166 * gdb.stabs/weird.exp (print_weird_var): Update.
4167 * gdb.server/solib-list.exp: Update.
4168 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
4169 * gdb.mi/mi-cli.exp: Update.
4170 * gdb.linespec/linespec.exp: Update.
4171 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
4172 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
4173 * gdb.cp/cp-relocate.exp: Update.
4174 * gdb.base/sym-file.exp: Update.
4175 * gdb.base/relocate.exp: Update.
4176 * gdb.base/readnever.exp: Update.
4177 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
4178 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
4179 * gdb.base/dbx.exp (gdb_file_cmd): Update.
4180 * gdb.base/code_elim.exp: Update.
4181 * gdb.base/break-unload-file.exp (test_break): Update.
4182 * gdb.base/break-interp.exp (test_attach_gdb): Update.
4183 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
4184 Update.
4185 * gdb.base/attach.exp (do_attach_tests): Update.
4186 * gdb.base/sepdebug.exp: Update.
4187 * gdb.python/py-section-script.exp: Update.
4188
6afcf761
TT
41892018-10-04 Tom Tromey <tom@tromey.com>
4190
4191 PR cli/22234:
4192 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
4193 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
4194 output.
4195
fef1b293
TT
41962018-10-04 Tom Tromey <tom@tromey.com>
4197
4198 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
4199 set width and height to 0.
4200 (test_command_line_attach_run): Use -quiet.
4201
ca98345e
SL
42022018-10-03 Sandra Loosemore <sandra@codesourcery.com>
4203
4204 * lib/gdb.exp (skip_ifunc_tests): New.
4205 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
4206 other compile failures.
4207 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
4208
ff34e6ae
SM
42092018-10-01 Simon Marchi <simon.marchi@ericsson.com>
4210
4211 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
4212 is_amd64_regs_target.
4213
6bb8890e
AH
42142018-10-01 Alan Hayward <alan.hayward@arm.com>
4215
4216 * gdb.arch/aarch64-sighandler-regs.c: New test.
4217 * gdb.arch/aarch64-sighandler-regs.exp: New file.
4218 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
4219
224d30d3
MM
42202018-10-01 Markus Metzger <markus.t.metzger@intel.com>
4221
4222 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
4223 assembly.
4224
f67ffa6a
AB
42252018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
4226
4227 * gdb.base/frame-selection.exp: New file.
4228 * gdb.base/frame-selection.c: New file.
4229
9fc3183f
AH
42302018-09-27 Alan Hayward <alan.hayward@arm.com>
4231
4232 * gdb.threads/check-libthread-db.c (thread_routine): Use a
4233 pthread barrier.
4234 (main): Likewise.
4235
d354055e
AB
42362018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
4237
4238 * gdb.base/large-frame-1.c: New file.
4239 * gdb.base/large-frame-2.c: New file.
4240 * gdb.base/large-frame.exp: New file.
4241 * gdb.base/large-frame.h: New file.
4242
db727370
JL
42432018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
4244
4245 PR gdb/20948
4246 * gdb.base/write_mem.exp: New test.
4247 * gdb.base/write_mem.c: Likewise.
4248
ae778caf
TT
42492018-09-23 Tom Tromey <tom@tromey.com>
4250
4251 PR python/18852:
4252 * gdb.python/py-parameter.exp: Add test for parameter that throws
4253 on "set".
4254
fd3ba736
TT
42552018-09-23 Tom Tromey <tom@tromey.com>
4256
4257 PR python/17284:
4258 * gdb.python/py-template.exp (test_template_arg): Add test for
4259 negative template argument number.
4260
39a24317
TT
42612018-09-23 Tom Tromey <tom@tromey.com>
4262
4263 PR python/14062:
4264 * gdb.python/python.exp: Add test for post_event error.
4265
f5769a2c
TT
42662018-09-23 Tom Tromey <tom@tromey.com>
4267
4268 PR python/18170:
4269 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
4270 convert pointers to int and long.
4271
1c1e54f6
TT
42722018-09-23 Tom Tromey <tom@tromey.com>
4273
4274 PR python/20126:
4275 * gdb.python/py-value.exp (test_value_numeric_ops): Add
4276 signed-ness conversion tests.
4277
fb4fa946
TT
42782018-09-23 Tom Tromey <tom@tromey.com>
4279
4280 PR python/18352;
4281 * gdb.python/py-value.exp (test_float_conversion): New proc.
4282 Use it.
4283
a466edac
HAQ
42842018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
4285
4286 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
4287
4ee9b0c5
SL
42882018-09-18 Sandra Loosemore <sandra@codesourcery.com>
4289
4290 * gdb.base/complete-empty.exp: Skip tab-completion tests if
4291 no readline.
4292 * gdb.base/utf8-identifiers.exp: Likewise.
4293 * gdb.cp/cpcompletion.exp: Likewise.
4294 * gdb.linespec/cpcompletion.exp: Likewise.
4295 * gdb.linespec/cpls-abi-tag.exp: Likewise.
4296 * gdb.linespec/cpls-ops.exp: Likewise.
4297
23be8da7
RB
42982018-09-19 Richard Bunt <richard.bunt@arm.com>
4299 Chris January <chris.january@arm.com>
4300
4301 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
4302 * gdb.fortran/short-circuit-argument-list.exp: New file.
4303 * gdb.fortran/short-circuit-argument-list.f90: New test.
4304
5031d0ae
SDJ
43052018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4306
4307 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
4308 "arch=" keyword when executing "-stack-list-frames".
4309
b4c0d1a4
SDJ
43102018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4311
4312 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
4313 "arch=" keyword when executing "-stack-list-frames".
4314
7a6d2b45
SDJ
43152018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4316
4317 * gdb.ada/complete.exp: Expect for "@" when doing "complete
4318 break ada".
4319
8588b356
SM
43202018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
4321
4322 PR python/23669
4323 * gdb.python/python.exp: Test gdb.execute("show commands").
4324
65e65158
TT
43252018-09-16 Tom Tromey <tom@tromey.com>
4326
4327 * gdb.base/new-ui.exp (do_execution_tests): Update.
4328 * gdb.base/dbx.exp (test_breakpoints): Update.
4329
bf326452
AH
43302018-09-14 Alan Hayward <alan.hayward@arm.com>
4331
4332 * lib/gdb.exp (gdb_simple_compile): Add proc.
4333 (is_elf_target): Use gdb_simple_compile.
4334 (skip_altivec_tests): Likewise.
4335 (skip_vsx_tests): Likewise.
4336 (skip_tsx_tests): Likewise.
4337 (skip_btrace_tests): Likewise.
4338 (skip_btrace_pt_tests): Likewise.
4339 (gdb_can_simple_compile): Likewise.
4340 (gdb_has_argv0): Likewise.
4341 (gdb_target_symbol_prefix): Likewise.
4342 (target_supports_scheduler_locking): Likewise.
4343
2361b0fb
TT
43442018-09-13 Tom Tromey <tom@tromey.com>
4345
4346 * Makefile.in (TAGS): Recognize proc_with_prefix and
4347 gdb_caching_proc.
4348
0ae1a321
SM
43492018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4350
4351 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
4352 method.
4353
a40bf0c2
SM
43542018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4355
4356 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
4357 and a few other Inferior properties when the Inferior is no
4358 longer valid.
4359
4a3fe98f
TT
43602018-09-13 Tom Tromey <tom@tromey.com>
4361
4362 PR rust/23650:
4363 * gdb.rust/simple.exp: Add test for enum field access error.
4364
098b2108
TT
43652018-09-13 Tom Tromey <tom@tromey.com>
4366
4367 PR rust/23626:
4368 * gdb.rust/simple.rs (EmptyEnum): New type.
4369 (main): Use it.
4370 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
4371
1256af7d
SM
43722018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4373
4374 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
4375 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
4376 * gdb.python/py-symtab.exp: Update test printing an objfile.
4377
4aa8e6c2
SM
43782018-09-12 Simon Marchi <simon.marchi@ericsson.com>
4379
4380 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
4381 object.
4382
c221b2f7
AH
43832018-09-12 Alan Hayward <alan.hayward@arm.com>
4384
4385 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
4386 (support_complex_tests): Use gdb_can_simple_compile.
4387 (is_ilp32_target): Likewise.
4388 (is_lp64_target): Likewise.
4389 (is_64_target): Likewise.
4390 (is_amd64_regs_target): Likewise.
4391 (is_aarch32_target): Likewise.
4392 (gdb_int128_helper): Likewise.
4393
6f1107b5
JK
43942018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4395
4396 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
4397
1f5d1570
JG
43982018-09-10 Jerome Guitton <guitton@adacore.com>
4399
4400 * gdb.ada/same_component_name: Add test for case of tagged record
4401 with variable-length fields.
4402
cc330e39
XR
44032018-09-10 Xavier Roirand <roirand@adacore.com>
4404
4405 * gdb.ada/access_to_unbounded_array.exp: New testcase.
4406 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
4407 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
4408 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
4409
b9c50e9a
XR
44102018-09-10 Xavier Roirand <roirand@adacore.com>
4411
4412 * gdb.ada/mi_string_access.exp: New testcase.
4413 * gdb.ada/mi_string_access/bar.adb: New file.
4414 * gdb.ada/mi_string_access/pck.adb: New file.
4415 * gdb.ada/mi_string_access/pck.asd: New file.
4416
2963898f
XR
44172018-09-10 Xavier Roirand <roirand@adacore.com>
4418
4419 * gdb.ada/mi_var_union.exp: New testcase.
4420 * gdb.ada/mi_var_union/bar.adb: New file.
4421 * gdb.ada/mi_var_union/pck.adb: New file.
4422 * gdb.ada/mi_var_union/pck.asd: New file.
4423
1aac008f
TT
44242018-09-08 Tom Tromey <tom@tromey.com>
4425
4426 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
4427
332cf4c9
TT
44282018-09-08 Tom Tromey <tom@tromey.com>
4429
4430 PR python/16047:
4431 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
4432 (register_pretty_printers): Register new printer.
4433 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
4434 test.
4435 * gdb.python/py-prettyprint.c (int_type3): New typedef.
4436 (an_int_type3): New global.
4437
424da6cf
JB
44382018-09-08 Joel Brobecker <brobecker@adacore.com>
4439
4440 * gdb.ada/expr_with_funcall: New testcase.
4441
2a62dfa9
JB
44422018-09-08 Joel Brobecker <brobecker@adacore.com>
4443
4444 * gdb.ada/packed_array_assign: New testcase.
4445
96b6697f
AB
44462018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
4447
4448 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
4449 names, and add test prefixes to make test names unique.
4450
e4a62c65
TV
44512018-09-05 Tom de Vries <tdevries@suse.de>
4452
4453 * gdb.dwarf2/varval.exp: Add test.
4454
dd083ee2
GB
44552018-09-04 Gary Benson <gbenson@redhat.com>
4456
4457 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
4458 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
4459
aef9346c
TT
44602018-08-31 Tom Tromey <tom@tromey.com>
4461
4462 * gdb.rust/simple.rs: Rename second variable "v".
4463
c67f2e15
AB
44642018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
4465
4466 * gdb.base/funcargs.c (use_a): New function.
4467 (recurse): Call use_a.
4468
078a0207
KS
44692018-08-29 Keith Seitz <keiths@redhat.com>
4470
4471 * gdb.compile/compile-cplus-anonymous.cc: New file.
4472 * gdb.compile/compile-cplus-anonymous.exp: New file.
4473 * gdb.compile/compile-cplus-array-decay.cc: New file.
4474 * gdb.compile/compile-cplus-array-decay.exp: New file.
4475 * gdb.compile/compile-cplus-inherit.cc: New file.
4476 * gdb.compile/compile-cplus-inherit.exp: New file.
4477 * gdb.compile/compile-cplus-member.cc: New file.
4478 * gdb.compile/compile-cplus-member.exp: New file.
4479 * gdb.compile/compile-cplus-method.cc: New file.
4480 * gdb.compile/compile-cplus-method.exp: New file.
4481 * gdb.compile/compile-cplus-mod.c: "New" file.
4482 * gdb.compile/compile-cplus-namespace.cc: New file.
4483 * gdb.compile/compile-cplus-namespace.exp: New file.
4484 * gdb.compile/compile-cplus-nested.cc: New file.
4485 * gdb.compile/compile-cplus-nested.exp: New file.
4486 * gdb.compile/compile-cplus-print.c: "New" file.
4487 * gdb.compile/compile-cplus-print.exp: "New" file.
4488 * gdb.compile/compile-cplus-virtual.cc: New file.
4489 * gdb.compile/compile-cplus-virtual.exp: New file.
4490 * gdb.compile/compile-cplus.c: "New" file.
4491 * gdb.compile/compile-cplus.exp: "New" file.
4492 * lib/compile-support.exp: New file.
4493
b0f492b9
GB
44942018-08-16 Gary Benson <gbenson@redhat.com>
4495
4496 PR gdb/13000:
4497 * gdb.base/batch-exit-status.exp: New file.
4498 * gdb.base/batch-exit-status.good-commands: Likewise.
4499 * gdb.base/batch-exit-status.bad-commands: Likewise.
4500
36eb4c5f
AH
45012018-08-29 Alan Hayward <alan.hayward@arm.com>
4502
4503 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
4504 (struct struct02): Likewise.
4505 (struct struct03): Likewise.
4506 (struct struct04): Likewise.
4507 (struct struct_01_01): New struct.
4508 (struct struct_01_02): Likewise.
4509 (struct struct_01_03): Likewise.
4510 (struct struct_01_04): Likewise.
4511 (struct struct_02_01): Likewise.
4512 (struct struct_02_02): Likewise.
4513 (struct struct_02_03): Likewise.
4514 (struct struct_02_04): Likewise.
4515 (struct struct_04_01): Likewise.
4516 (struct struct_04_02): Likewise.
4517 (struct struct_04_03): Likewise.
4518 (struct struct_04_04): Likewise.
4519 (struct struct_05_01): Likewise.
4520 (struct struct_05_02): Likewise.
4521 (struct struct_05_03): Likewise.
4522 (struct struct_05_04): Likewise.
4523 (cmp_struct01): Remove function.
4524 (cmp_struct02): Likewise.
4525 (cmp_struct03): Likewise.
4526 (cmp_struct04): Likewise.
4527 (cmp_struct_01_01): Add Function.
4528 (cmp_struct_01_02): Likewise.
4529 (cmp_struct_01_03): Likewise.
4530 (cmp_struct_01_04): Likewise.
4531 (cmp_struct_02_01): Likewise.
4532 (cmp_struct_02_02): Likewise.
4533 (cmp_struct_02_03): Likewise.
4534 (cmp_struct_02_04): Likewise.
4535 (cmp_struct_04_01): Likewise.
4536 (cmp_struct_04_02): Likewise.
4537 (cmp_struct_04_03): Likewise.
4538 (cmp_struct_04_04): Likewise.
4539 (cmp_struct_05_01): Likewise.
4540 (cmp_struct_05_02): Likewise.
4541 (cmp_struct_05_03): Likewise.
4542 (cmp_struct_05_04): Likewise.
4543 (call_all): Add new structs.
4544 * gdb.base/infcall-nested-structs.exp: Likewise.
4545
3bf9c013
JV
45462018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
4547
4548 * gdb.python/py-framefilter-mi.exp: Update regexp to
4549 check for "arch" field in frame output.
4550
450d1e88
KB
45512018-08-23 Kevin Buettner <kevinb@redhat.com>
4552
4553 * gdb.dwarf2/dw2-ranges-func.c: New file.
4554 * gdb.dwarf2/dw2-ranges-func.exp: New file.
4555
ae739fe7
SM
45562018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
4557
4558 * gdb.base/term.exp: Compare terminal settings with values from
4559 the inferior.
4560 * gdb.base/term.c: Get and set terminal settings.
4561
6d52907e
JV
45622018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
4563
4564 * lib/mi-support.exp (mi_expect_stop): Update regexp to
4565 accommodate new "arch" field in frame output.
4566 * gdb.mi/mi-return.exp: Likewise.
4567 * gdb.mi/mi-stack.exp: Likewise.
4568 * gdb.mi/mi-syn-frame.exp: Likewise.
4569 * gdb.mi/user-selected-context-sync.exp: Likewise.
4570
be2d111a
MS
45712018-08-19 Michael Spang <spang@google.com>
4572
4573 PR gdb/11786
4574 * gdb.base/gcore-tls-pie.c: New file.
4575 * gdb.base/gcore-tls-pie.exp: New file.
4576
ae3a7c47
KB
45772018-08-18 Kevin Buettner <kevinb@redhat.com>
4578
4579 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
4580 * gdb.dwarf2/varval.c: New file.
4581 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 4582
2ecae92e
AH
45832018-08-17 Alan Hayward <alan.hayward@arm.com>
4584
4585 PR gdb/18931
4586 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
4587
c1854f1d
KS
45882018-08-16 Keith Seitz <keiths@redhat.com>
4589
4590 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
4591 tests expected to pass.
4592
26fb3983
JV
45932018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
4594
4595 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
4596 -data-disassemble -a.
4597 (test_disassembly_bogus_args): Likewise.
4598
67943c00
AB
45992018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
4600
4601 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
4602
5ff2bbae
AB
46032018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
4604
4605 * gdb.base/vla-optimized-out.exp: Add new test.
4606
e5bbcd0f
AB
46072018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
4608
4609 * gdb.base/vla-optimized-out-o3.exp: Delete.
4610 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
4611 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
4612 deleted tests.
4613
9d4a934c
AB
46142018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
4615
4616 PR gdb/18050:
4617 * gdb.server/extended-remote-restart.c: New file.
4618 * gdb.server/extended-remote-restart.exp: New file.
4619
045cf012
SM
46202018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
4621
4622 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
4623 "set variable index = 42".
4624
87d6a7aa
SM
46252018-08-07 Simon Marchi <simon.marchi@ericsson.com>
4626
4627 * boards/index-cache-gdb.exp: New file.
4628 * gdb.dwarf2/index-cache.exp: New file.
4629 * gdb.dwarf2/index-cache.c: New file.
4630 * gdb.base/maint.exp: Check if we are using the index cache.
4631
96d68bd4
RO
46322018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4633
4634 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
4635 MAKEFLAGS.
4636
5a699617
RO
46372018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4638
4639 * dg-extract-results.sh: Move to toplevel contrib.
4640 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
4641 * Makefile.in (check-parallel-racy): Likewise.
4642
5bd18990
AB
46432018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
4644
4645 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
4646 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
4647 tests if the target supports scheduler locking.
4648
3fbbcf47
TV
46492018-08-04 Tom de Vries <tdevries@suse.de>
4650
4651 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
4652
3e1d3d8c
TT
46532018-08-02 Tom Tromey <tom@tromey.com>
4654
4655 PR symtab/16842.
4656 * gdb.cp/temargs.exp: Test "info address" of a template
4657 parameter.
4658
5abe0f0c
JV
46592018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
4660
4661 * gdb.python/py-mi-var-info-path-expression.c: New file.
4662 * gdb.python/py-mi-var-info-path-expression.py: New file.
4663 * gdb.python/py-mi-var-info-path-expression.exp: New file.
4664
fb66cde8
SDJ
46652018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
4666
4667 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
4668 error after "cannot resolve name" string.
4669
c708f4d2
AB
46702018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
4671
4672 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
4673 started.
4674 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
4675
37cc0cae
TV
46762018-07-28 Tom de Vries <tdevries@suse.de>
4677
4678 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
4679
63b4ecf7
TV
46802018-07-26 Tom de Vries <tdevries@suse.de>
4681
4682 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
4683
3c3bb058
AB
46842018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
4685
4686 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
4687 is visible.
4688
9e7f3bbb
TV
46892018-07-26 Tom de Vries <tdevries@suse.de>
4690
4691 PR breakpoints/23366
4692 * gdb.base/catch-follow-exec.c: New test.
4693 * gdb.base/catch-follow-exec.exp: New file.
4694
16f808ec
TV
46952018-07-25 Tom de Vries <tdevries@suse.de>
4696
4697 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
4698 vla-optimized-out.c.
4699
d7154a8d
JV
47002018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
4701
4702 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
4703 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
4704
232a0032
TV
47052018-07-20 Tom de Vries <tdevries@suse.de>
4706
4707 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
4708 NOCLONE macro.
4709 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
4710
fbb1d502
TV
47112018-07-19 Tom de Vries <tdevries@suse.de>
4712
4713 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
4714 regular expression.
4715
42dc7699
TV
47162018-07-18 Tom de Vries <tdevries@suse.de>
4717
4718 * gdb.base/vla-optimized-out.c: New test.
4719 * gdb.base/vla-optimized-out.exp: New file.
4720
7f1f7e23
SDJ
47212018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
4722
4723 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
4724 message "No address associated with hostname" when gdbserver
4725 cannot resolve the hostname.
4726
5759ebb3
PW
47272018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4728
4729 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
4730 Add some test prefixes to make tests unique.
4731
3606ccab
PW
47322018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4733
4734 * gdb.base/frameapply.c: New file.
4735 * gdb.base/frameapply.exp: New file.
4736
529c08b2
PW
47372018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4738
4739 * gdb.base/skip.exp: Update expected error message.
4740
c7ab0aef
SDJ
47412018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
4742 Jan Kratochvil <jan.kratochvil@redhat.com>
4743 Paul Fertser <fercerpav@gmail.com>
4744 Tsutomu Seki <sekiriki@gmail.com>
4745
4746 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
4747 parameter.
4748 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
4749 by default.
4750 * boards/native-gdbserver.exp: Likewise.
4751 * gdb.server/run-without-local-binary.exp: Improve regexp used
4752 for detecting when a remote debugging connection succeeds.
4753 * gdb.server/server-connect.exp: New file.
4754 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
4755 Do not prefix the port number with ":".
4756 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
4757 support for detecting and using it. Add '$debughost_gdbserver'
4758 to the list of arguments used to start gdbserver. Handle case
4759 when gdbserver cannot resolve a network name.
4760
16ff70dd
SDJ
47612018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
4762
4763 PR c++/23373
4764 * gdb.base/ptype-offsets.cc (struct static_member): New
4765 struct.
4766 (main) <stmember>: New variable.
4767 * gdb.base/ptype-offsets.exp: Add test for printing a struct
4768 with a static member in it.
4769
3541979f
AB
47702018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
4771
4772 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
4773 watchpoints enabled and disabled.
4774
c8ad9b9a
AB
47752018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4776
4777 * gdb.base/examine-backward.exp: Still run tests around address
4778 0x0, even if address 0x0 is not readable. Update the pattern for
4779 matching address 0x0 in expected output.
4780
e0e5e971
AB
47812018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
4782
4783 * gdb.base/share-env-with-gdbserver.c (main): Add call to
4784 malloc/free.
4785
1ea5da02
TV
47862018-07-04 Tom de Vries <tdevries@suse.de>
4787
4788 * gdb.dwarf2/dw2-error.exp: Update expected error message.
4789
471b9d15
MR
47902018-07-02 Maciej W. Rozycki <macro@mips.com>
4791
4792 PR tdep/8282
4793 * gdb.arch/mips-disassembler-options.exp: New test.
4794 * gdb.arch/mips-disassembler-options.s: New test source.
4795
75acb486
PA
47962018-06-29 Pedro Alves <palves@redhat.com>
4797
4798 * gdb.threads/names.exp: Adjust expected "info threads" output.
4799
cd2bb709
PA
48002018-06-29 Pedro Alves <palves@redhat.com>
4801
4802 * gdb.opt/inline-break.exp (line number, address): Add "info
4803 break" tests.
4804
991ff292
PA
48052018-06-29 Pedro Alves <palves@redhat.com>
4806
4807 * gdb.opt/inline-break.c (func1): Add "break here" marker.
4808 * gdb.opt/inline-break.exp: Test setting breakpoints by line
4809 number and address and running to them.
4810
356819b6 48112018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
4812
4813 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
4814
2512d7ef
JK
48152018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4816
4817 * lib/compiler.c: Remove executable permission flag.
4818
be1b6474
RB
48192018-06-28 Richard Bunt <richard.bunt@arm.com>
4820
4821 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
4822 code.
4823 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
4824
291f9a96
PT
48252018-06-28 Petr Tesarik <ptesarik@suse.cz>
4826
4827 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
4828
ed6dfe51
PT
48292018-06-28 Petr Tesarik <ptesarik@suse.cz>
4830
4831 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
4832 address argument is omitted.
4833
d4d429d5
PT
48342018-06-28 Petr Tesarik <ptesarik@suse.cz>
4835
4836 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
4837
7ab6656f
OJ
48382018-06-27 Omair Javaid <omair.javaid@linaro.org>
4839
4840 PR gdb/21695
4841 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
4842 * gdb.base/infoline-reloc-main-from-zero.c: New file.
4843
a33ccfc7
TT
48442018-06-26 Tom Tromey <tom@tromey.com>
4845
4846 PR rust/22574:
4847 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
4848 * gdb.rust/simple.rs (struct SimpleLayout): New.
4849
6d72d289
SM
48502018-06-22 Simon Marchi <simon.marchi@ericsson.com>
4851
4852 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
4853 "info registers" output.
4854
8363f9d5
RB
48552018-06-21 Richard Bunt <richard.bunt@arm.com>
4856
4857 * gdb.base/watchpoint-hw-attach.c: New test.
4858 * gdb.base/watchpoint-hw-attach.exp: New file.
4859
f00674fe
SM
48602018-06-20 Simon Marchi <simon.marchi@ericsson.com>
4861
4862 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
4863 through /bin/sh.
4864 * boards/dwarf4-gdb-index.exp: Likewise.
4865 * boards/fission-dwp.exp: Likewise.
4866
1d554008
UW
48672018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
4868
4869 * gdb.base/float128.exp: Add comment and improved fail message
4870 to the failure case of "print large128" test.
4871
d0ac1c44
SM
48722018-06-19 Simon Marchi <simon.marchi@ericsson.com>
4873
4874 * configure.ac: Remove AC_PREREQ.
4875 * configure: Re-generate.
4876
61b04dd0
PA
48772018-06-19 Pedro Alves <palves@redhat.com>
4878
4879 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
4880 (func_extern_caller): New.
4881 (main): Call func_extern_caller.
4882 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
4883 logic change.
4884
f63b508a
SM
48852018-06-18 Weimin Pan <weimin.pan@oracle.com>
4886
4887 PR gdb/16841
4888 * gdb.cp/typedef-base.cc: New file.
4889 * gdb.cp/typedef-base.exp: New file.
4890
0fe3a558
TV
48912018-06-18 Tom de Vries <tdevries@suse.de>
4892
4893 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
4894
7010835a
AB
48952018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
4896 Richard Bunt <Richard.Bunt@arm.com>
4897
4898 * gdb.threads/attach-slow-waitpid.c: New file.
4899 * gdb.threads/attach-slow-waitpid.exp: New file.
4900 * gdb.threads/slow-waitpid.c: New file.
4901
14897d65
PA
49022018-06-14 Pedro Alves <palves@redhat.com>
4903
4904 * gdb.base/fork-running-state.c: Include <errno.h>.
4905 (exit_if_relative_exits): New.
4906 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
4907 exits.
4908 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
4909 child exits.
4910
5d9a0608
TV
49112018-06-14 Tom de Vries <tdevries@suse.de>
4912
4913 PR cli/22573
4914 * gdb.base/finish-pretty.c: New test.
4915 * gdb.base/finish-pretty.exp: New file.
4916
11ae5818
PA
49172018-06-14 Pedro Alves <palves@redhat.com>
4918
4919 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
4920 gdb's expected startup output.
4921
1d39de44
PA
49222018-06-14 Pedro Alves <palves@redhat.com>
4923
4924 * lib/selftest-support.exp (selftest_setup): Remove inlined
4925 function handling.
4926
70ee0000
TV
49272018-06-14 Tom de Vries <tdevries@suse.de>
4928
4929 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
4930 matching of breakpoint printing.
4931
11f4b608
TV
49322018-06-13 Tom de Vries <tdevries@suse.de>
4933
4934 PR testsuite/23269
4935 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
4936 (fork_child): ... here, and ...
4937 (fork_parent): ... here.
4938
49392018-06-12 Tom de Vries <tdevries@suse.de>
4940
4941 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
4942
9516f85a
AB
49432018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
4944 Stephen Roberts <stephen.roberts@arm.com>
4945
4946 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
4947 rewrite test to describe action performed, rather than possible
4948 failure.
4949
5045b3d7
GB
49502018-06-08 Gary Benson <gbenson@redhat.com>
4951
4952 * gdb.threads/check-libthread-db.exp: New file.
4953 * gdb.threads/check-libthread-db.c: Likewise.
4954
c61b06a1
TT
49552018-06-05 Tom Tromey <tom@tromey.com>
4956
4957 * gdb.base/default.exp: Update expected "show version" output.
4958
eb6af809
TT
49592018-06-05 Tom Tromey <tom@tromey.com>
4960
4961 PR cli/12326:
4962 * gdb.cp/static-print-quit.exp: Update.
4963 * lib/gdb.exp (pagination_prompt): Update.
4964 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
4965 * gdb.python/python.exp: Update.
4966
178d6a63
JB
49672018-06-04 Joel Brobecker <brobecker@adacore.com>
4968
4969 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
4970
8e817061
JB
49712018-06-01 Joel Brobecker <brobecker@adacore.com>
4972
4973 * gdb.ada/bp_fun_addr: New testcase.
4974
e86ca25f
TT
49752018-06-01 Tom Tromey <tom@tromey.com>
4976
4977 * gdb.xml/tdesc-regs.exp (load_description): Update expected
4978 results.
4979 * gdb.dwarf2/method-ptr.exp: Set language to C++.
4980 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
4981 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
4982 * gdb.base/maint.exp (maint_pass_if): Update.
4983
4b2dfa9d
MR
49842018-05-31 Maciej W. Rozycki <macro@mips.com>
4985
4986 * gdb.base/endian.exp: New test.
4987 * gdb.base/endian.c: New test source.
4988
45f25d6c
AB
49892018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
4990
4991 PR gdb/23203
4992 * gdb.base/bt-selected-frame.c: New file.
4993 * gdb.base/bt-selected-frame.exp: New file.
4994 * lib/gdb.exp (get_current_frame_number): New function.
4995
d9f6d7f8
MR
49962018-05-24 Maciej W. Rozycki <macro@mips.com>
4997 Pedro Alves <palves@redhat.com>
4998
4999 * gdb.threads/tls-core.c: Include <stdlib.h>
5000 (thread_proc): Call `abort'.
5001 * gdb.threads/tls-core.exp: Generate a core with core_find too.
5002 (tls_core_test): New procedure, bits factored out from ...
5003 (top level): ... here. Test both native cores and gcore cores.
5004
ff1cf532
TT
50052018-05-23 Tom Tromey <tom@tromey.com>
5006
5007 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
5008
b98664d3
TT
50092018-05-23 Tom Tromey <tom@tromey.com>
5010
5011 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
5012 symfile_complaints.
5013 (test_short_complaints): Likewise.
5014 (test_empty_complaints): Likewise.
5015 (test_initial_complaints): Update.
5016
4e9668d0
TT
50172018-05-23 Tom Tromey <tom@tromey.com>
5018
5019 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
5020
43ba33c7
TT
50212018-05-23 Tom Tromey <tom@tromey.com>
5022
5023 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
5024 (test_short_complaints): Update.
5025
035522c0
PA
50262018-05-22 Pedro Alves <palves@redhat.com>
5027
5028 * gdb.base/remote.exp: Only gdb_start after compiling the
5029 testcase. Issue "disconnect" before testing "set remote" command
5030 defaults. Issue clean_restart before running to main.
5031
cc0be08f
PA
50322018-05-22 Pedro Alves <palves@redhat.com>
5033
5034 * gdb.base/remote.exp: Adjust expected output of "show remote
5035 memory-write-packet-size". Add tests for "set remote
5036 memory-write-packet-size 0" and "set remote
5037 memory-write-packet-size fixed/limit".
5038
b1b60145
PA
50392018-05-22 Pedro Alves <palves@redhat.com>
5040
5041 PR gdb/22973
5042 * gdb.base/utf8-identifiers.c: New file.
5043 * gdb.base/utf8-identifiers.exp: New file.
5044
0ec848ad
PFC
50452018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
5046
5047 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
5048
2c3305f6
PFC
50492018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
5050
5051 * gdb.arch/powerpc-vsx-gcore.exp: New file.
5052
ce1e8424
TT
50532018-05-18 Tom Tromey <tom@tromey.com>
5054
5055 * gdb.base/ptype-offsets.exp: Update.
5056
ddfe970e
KS
50572018-05-17 Keith Seitz <keiths@redhat.com>
5058
5059 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
5060 in expected breakpoint stop locations.
5061 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
5062 move to proper scope to test variable values.
5063 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
5064 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
5065 New functions.
5066 (main): Call not_inline_func3.
5067 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
5068 inline_func1, inline_func2, and inline_func3. Test that when each
5069 breakpoint is hit, GDB properly reports both the stop location
5070 and the backtrace. Repeat tests for temporary breakpoints.
5071
0726fcc6
MR
50722018-05-15 Maciej W. Rozycki <macro@mips.com>
5073
5074 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
5075 rather then trying to access it in determining whether the PID
5076 of `gdbserver' could have been retrieved.
5077
8ee22052
AB
50782018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
5079
5080 * gdb.arch/amd64-init-x87-values.S: New file.
5081 * gdb.arch/amd64-init-x87-values.exp: New file.
5082
7785df48
JK
50832018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5084
5085 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
5086
56bcdbea
TT
50872018-05-04 Tom Tromey <tom@tromey.com>
5088
5089 PR python/22730:
5090 * gdb.python/python.exp: Test multi-line execute.
5091
a913fffb
TT
50922018-05-04 Tom Tromey <tom@tromey.com>
5093
5094 PR python/22731:
5095 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
5096
7a2c85f2
TT
50972018-05-04 Tom Tromey <tom@tromey.com>
5098
5099 PR gdb/11750:
5100 * gdb.base/define.exp: Test defining a user command inside a user
5101 command.
5102 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
5103
a3b60e45
JK
51042018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
5105 Pedro Alves <palves@redhat.com>
5106
5107 PR breakpoints/19806 and support for PR external/20207.
5108 * gdb.base/watchpoint-unaligned.c: New file.
5109 * gdb.base/watchpoint-unaligned.exp: New file.
5110
45fe4a03
AB
51112018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
5112
5113 * gdb.base/maint.exp: Make test names unique, use
5114 test_prefix_command_help to test 'help maint info', and remove
5115 repeated test of 'help maint'.
5116
9be2ae8f
TT
51172018-05-04 Tom Tromey <tom@tromey.com>
5118
5119 PR gdb/22619:
5120 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
5121 behavior.
5122
11859c31
AB
51232018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
5124
5125 * gdb.base/maint.exp: Process output from 'maint print registers'
5126 line at a time.
5127
089a9490
AB
51282018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
5129
5130 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
5131 timeout.
5132
9b0797e2
AB
51332018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
5134
5135 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
5136 filter pattern.
5137
f6ac5f3d
PA
51382018-05-02 Pedro Alves <palves@redhat.com>
5139
5140 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
5141 to_log_command renames.
5142 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
5143
77d3c63b
TT
51442018-05-02 Tom Tromey <tom@tromey.com>
5145
5146 * gdb.python/py-parameter.exp: Set test message.
5147
0489430a
TT
51482018-05-02 Tom Tromey <tom@tromey.com>
5149
5150 PR python/20084:
5151 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
5152 PARAM_ZUINTEGER_UNLIMITED tests.
5153
1632f8ba
DR
51542018-04-28 Dan Robertson <danlrobertson89@gmail.com>
5155
5156 PR rust/23124
5157 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
5158 when casting.
5159
6d7bb824
TT
51602018-04-30 Tom Tromey <tom@tromey.com>
5161
5162 * gdb.python/py-type.exp: Check align attribute.
5163 * gdb.python/py-type.c: New "aligncheck" global.
5164
007e1530
TT
51652018-04-30 Tom Tromey <tom@tromey.com>
5166
5167 PR exp/17095:
5168 * gdb.dwarf2/dw2-align.exp: New file.
5169 * gdb.cp/align.exp: New file.
5170 * gdb.base/align.exp: New file.
5171 * lib/gdb.exp (gdb_int128_helper): New proc.
5172 (has_int128_c, has_int128_cxx): New caching procs.
5173
6873858b
TT
51742018-04-27 Tom Tromey <tom@tromey.com>
5175
5176 PR rust/22545:
5177 * gdb.rust/simple.exp: Add inclusive range tests.
5178
79188d8d
PA
51792018-04-26 Pedro Alves <palves@redhat.com>
5180
5181 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
5182 ifunc breakpoint locations correctly of ifunc breakpoints set
5183 while the program resolves the ifunc.
5184
c7075ad5
PA
51852018-04-26 Pedro Alves <palves@redhat.com>
5186
5187 * gdb.base/gnu-ifunc-final.c: New file.
5188 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
5189 * gdb.base/gnu-ifunc.exp (executable): Delete.
5190 (staticexecutable): Adjust.
5191 (lib_opts, exec_opts): Delete.
5192 (make_binsuffix, build, set-break): New procedures.
5193 (misc_tests): New, with tests factored out from the top level.
5194 (top level): Test different combinations of ifunc resolver name,
5195 resolver with and with debug info, and ifunc target with and
5196 without debug info. Wrap static tests with with_target_prefix.
5197
8388016d
PA
51982018-04-26 Pedro Alves <palves@redhat.com>
5199
5200 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
5201 return type" warnings.
5202
249b5733
PA
52032018-04-25 Pedro Alves <palves@redhat.com>
5204
5205 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
5206 killed".
5207 * gdb.base/kill-after-signal.exp: Likewise.
5208 * gdb.threads/kill.exp: Likewise.
5209
f67c0c91
SDJ
52102018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5211 Sergio Durigan Junior <sergiodj@redhat.com>
5212 Pedro Alves <palves@redhat.com>
5213
5214 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
5215 regexps to expect for '[Inferior ... detached]' as well.
5216 * gdb.base/attach.exp: Likewise.
5217 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
5218 "gdb_continue_to_end".
5219 (test_catch_syscall_with_wrong_args): Likewise.
5220 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
5221 ']'. Don't set 'verbose' on.
5222 * gdb.base/foll-vfork.exp: Likewise.
5223 * gdb.base/fork-print-inferior-events.c: New file.
5224 * gdb.base/fork-print-inferior-events.exp: New file.
5225 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
5226 '[Inferior ... has been killed]' message.
5227 * gdb.base/kill-after-signal.exp: Likewise.
5228 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
5229 detach message.
5230 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
5231 message.
5232 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
5233 regexps to expect for '[Inferior ... detached]' as well.
5234 * gdb.threads/process-dies-while-detaching.exp: Likewise.
5235
0a8ddac4
SM
52362018-04-24 Simon Marchi <simon.marchi@ericsson.com>
5237
5238 PR gdb/23104
5239 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
5240
701adfb0
PA
52412018-04-22 Rajendra SY <rajendra.sy@gmail.com>
5242
5243 PR gdb/23095
5244 * gdb.base/break-probes.exp: Pass shlib_load to
5245 prepare_for_testing. Set normal_bp to r_debug_state if target is
5246 bsd.
5247
d27d16bf
RB
52482018-04-19 Richard Bunt <richard.bunt@arm.com>
5249
5250 * gdb.threads/multiple-successive-infcall.c: New test.
5251 * gdb.threads/multiple-successive-infcall.exp: New file.
5252
a037790e
TT
52532018-04-17 Tom Tromey <tom@tromey.com>
5254
5255 * gdb.rust/simple.rs (Union): New type.
5256 (main): New local "u".
5257 * gdb.rust/simple.exp (test_one_slice): Add new test case.
5258
e3a91079
AA
52592018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5260
5261 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
5262 number information in output of "whereis" command.
5263 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
5264
b744723f
AA
52652018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5266
5267 * gdb.ada/info_types.exp: Adjust expected output to the line
5268 numbers now printed by "info var/func/type".
5269 * gdb.base/completion.exp: Likewise.
5270 * gdb.base/included.exp: Likewise.
5271 * gdb.cp/cp-relocate.exp: Likewise.
5272 * gdb.cp/cplusfuncs.exp: Likewise.
5273 * gdb.cp/namespace.exp: Likewise.
5274 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
5275
4a4495d6
MM
52762018-04-13 Markus Metzger <markus.t.metzger@intel.com>
5277
5278 * gdb.btrace/cpu.exp: New.
5279
1d509aa6
MM
52802018-04-13 Markus Metzger <markus.t.metzger@intel.com>
5281
5282 * gdb.base/step-indirect-call-thunk.exp: New.
5283 * gdb.base/step-indirect-call-thunk.c: New.
5284 * gdb.reverse/step-indirect-call-thunk.exp: New.
5285 * gdb.reverse/step-indirect-call-thunk.c: New.
5286
6295b6da
SM
52872018-04-11 Simon Marchi <simon.marchi@ericsson.com>
5288
5289 * gdb.base/pie-fork.c: New file.
5290 * gdb.base/pie-fork.exp: New file.
5291
50146e70
TT
52922018-04-11 Tom Tromey <tom@tromey.com>
5293
5294 * gdb.rust/simple.exp: Add test for ".." struct initializer.
5295
f50d8a2e
PA
52962018-04-10 Pedro Alves <palves@redhat.com>
5297
5298 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
5299 exits. Instead loop running forever.
5300 (fork_parent): Run forever too.
5301
a0be7a36
SM
53022018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
5303
5304 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
5305 mi_continue_to_line.
5306 * gdb.mi/mi-stack.c (callee4): Add comment.
5307
9b73db36
SM
53082018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
5309
5310 * gdb.mi/mi-stack.exp: Fix indentation.
5311
c912f608
SM
53122018-04-07 Simon Marchi <simon.marchi@ericsson.com>
5313
5314 PR gdb/22979
5315 * gdb.arch/amd64-osabi.exp: New file.
5316
26540402
SM
53172018-04-07 Simon Marchi <simon.marchi@ericsson.com>
5318
5319 PR gdb/22980
5320 * gdb.base/osabi.exp: New file.
5321
121ad66c 53222018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
5323
5324 * gdb.cp/static-typedef-print.exp: New file.
5325 * gdb.cp/static-typedef-print.cc: New file.
5326
3fcded8f
JB
53272018-03-27 Joel Brobecker <brobecker@adacore.com>
5328
5329 * gdb.ada/varsize_limit: New testcase.
5330
59cc4834
JB
53312018-03-27 Joel Brobecker <brobecker@adacore.com>
5332
5333 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
5334
5335 * gdb.ada/notcplusplus: New testcase.
5336
5337 * gdb.base/c-linkage-name.c: New file.
5338 * gdb.base/c-linkage-name.exp: New testcase.
5339
4ca59a9f
TT
53402018-03-26 Tom Tromey <tom@tromey.com>
5341
5342 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
5343 * gdb.python/py-framefilter.py (name_error): New global.
5344 (ErrorInName.function): Use name_error.
5345
978d6c75
TT
53462018-03-26 Tom Tromey <tom@tromey.com>
5347
5348 PR backtrace/15582:
5349 * gdb.python/py-framefilter.exp: Add "bt hide" test.
5350
b7fee5a3
KS
53512018-03-23 Keith Seitz <keiths@redhat.com>
5352
5353 PR c++/22968
5354 * gdb.cp/subtypes.exp: New file.
5355 * gdb.cp/subtypes.h: New file.
5356 * gdb.cp/subtypes.cc: New file.
5357 * gdb.cp/subtypes-2.cc: New file.
5358
376be529
AB
53592018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
5360
5361 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
5362 (done): Call '_exit' not 'exit' to avoid atexit handlers.
5363 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
5364 -nostartfiles when compiling the test. Confirm that all registers
5365 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
5366
066cfa98
AB
53672018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
5368
5369 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
5370 option, syntax was wrong anyway.
5371 * gdb.arch/arm-disp-step.exp: Likewise.
5372 * gdb.arch/sparc64-regs.exp: Likewise.
5373 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
5374 option, syntax was wrong anyway, switch to use
5375 prepare_for_testing.
5376 * gdb.arch/i386-disp-step.exp: Likewise.
5377
079670b9
AA
53782018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
5379
5380 * gdb.ada/exec_changed.exp: Replace "target_info exists
5381 use_gdb_stub" by "use_gdb_stub".
5382 * gdb.ada/start.exp: Likewise.
5383 * gdb.base/async-shell.exp: Likewise.
5384 * gdb.base/attach-pie-misread.exp: Likewise.
5385 * gdb.base/attach-wait-input.exp: Likewise.
5386 * gdb.base/break-entry.exp: Likewise.
5387 * gdb.base/break-interp.exp: Likewise.
5388 * gdb.base/dprintf-detach.exp: Likewise.
5389 * gdb.base/nostdlib.exp: Likewise.
5390 * gdb.base/solib-nodir.exp: Likewise.
5391 * gdb.base/statistics.exp: Likewise.
5392 * gdb.base/testenv.exp: Likewise.
5393 * gdb.mi/mi-exec-run.exp: Likewise.
5394 * gdb.mi/mi-start.exp: Likewise.
5395 * gdb.multi/dummy-frame-restore.exp: Likewise.
5396 * gdb.multi/multi-arch-exec.exp: Likewise.
5397 * gdb.multi/multi-arch.exp: Likewise.
5398 * gdb.multi/tids.exp: Likewise.
5399 * gdb.multi/watchpoint-multi.exp: Likewise.
5400 * gdb.python/py-events.exp: Likewise.
5401 * gdb.threads/attach-into-signal.exp: Likewise.
5402 * gdb.threads/attach-stopped.exp: Likewise.
5403 * gdb.threads/threadapply.exp: Likewise.
5404 * lib/selftest-support.exp: Likewise.
5405
26d6cec4
AA
54062018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
5407
5408 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
5409
4ee89e90
SR
54102018-03-20 Stephen Roberts <stephen.roberts@arm.com>
5411
5412 * gdb.perf/template-breakpoints.cc: New file.
5413 * gdb.perf/template-breakpoints.exp: New file.
5414 * gdb.perf/template-breakpoints.py: New file.
5415
92630041
TT
54162018-03-19 Tom Tromey <tom@tromey.com>
5417
5418 * gdb.rust/simple.rs (main): Add local variables field1, field2,
5419 y0.
5420 * gdb.rust/simple.exp: Test bare identifier form of struct
5421 initializer.
5422
76727919
TT
54232018-03-19 Tom Tromey <tom@tromey.com>
5424
5425 * gdb.gdb/observer.exp: Remove.
5426
194ed413
AA
54272018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5428
5429 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
5430 "qualified" option when setting breakpoints.
5431 * gdb.trace/backtrace.exp: Likewise.
5432 * gdb.trace/circ.exp: Likewise.
5433 * gdb.trace/collection.exp: Likewise.
5434 * gdb.trace/disconnected-tracing.exp: Likewise.
5435 * gdb.trace/ftrace-lock.exp: Likewise.
5436 * gdb.trace/ftrace.exp: Likewise.
5437 * gdb.trace/infotrace.exp: Likewise.
5438 * gdb.trace/packetlen.exp: Likewise.
5439 * gdb.trace/passc-dyn.exp: Likewise.
5440 * gdb.trace/qtro.exp: Likewise.
5441 * gdb.trace/read-memory.exp: Likewise.
5442 * gdb.trace/report.exp: Likewise.
5443 * gdb.trace/signal.exp: Likewise.
5444 * gdb.trace/status-stop.exp: Likewise.
5445 * gdb.trace/strace.exp: Likewise.
5446 * gdb.trace/tfind.exp: Likewise.
5447 * gdb.trace/trace-break.exp: Likewise.
5448 * gdb.trace/trace-condition.exp: Likewise.
5449 * gdb.trace/trace-mt.exp: Likewise.
5450 * gdb.trace/tstatus.exp: Likewise.
5451 * gdb.trace/tsv.exp: Likewise.
5452 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
5453 * gdb.trace/unavailable.exp: Likewise.
5454 * gdb.trace/while-dyn.exp: Likewise.
5455
8b067d2c
AA
54562018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5457
5458 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
5459 that libinproctrace is copied to the target.
5460
3ae9ce5d
TT
54612018-03-14 Tom Tromey <tom@tromey.com>
5462
5463 PR cli/14977:
5464 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
5465 a null pointer.
5466 * gdb.base/wchar.exp: Likewise.
5467
b8c2339b
TT
54682018-03-14 Tom Tromey <tom@tromey.com>
5469
5470 PR cli/19918:
5471 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
5472 flag.
5473
4872dc46
SM
54742018-03-08 Simon Marchi <simon.marchi@ericsson.com>
5475
5476 PR gdb/22841
5477 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
5478 "target" to remote_exec.
5479
e4fe3756
SM
54802018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
5481
5482 PR gdb/22841
5483 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
5484 ${board}_upload): Remove.
5485
e95a97d4
AA
54862018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
5487
5488 * gdb.cp/watch-cp.cc: New test.
5489 * gdb.cp/watch-cp.exp: New file.
5490
dbbb1059
AB
54912018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5492
5493 * gdb.base/infcall-nested-structs.exp: New file.
5494 * gdb.base/infcall-nested-structs.c: New file.
5495 * gdb.base/float.exp: Add riscv support.
5496
ecc054c0
TP
54972018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
5498
5499 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
5500 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
5501
25e3c82c
SDJ
55022018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
5503
5504 * gdb.server/abspath.exp: New file.
5505 * lib/gdb.exp (with_cwd): New procedure.
5506
3083294d
SM
55072018-02-28 Simon Marchi <simon.marchi@ericsson.com>
5508
5509 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
5510 use it.
5511 (gdb_is_target_remote_prompt): New proc.
5512 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
5513 (gdb_is_target_native): Pass prompt parameter to
5514 gdb_is_target_1.
5515
3275ef47
SM
55162018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
5517
5518 * gdb.base/load-command.c: New file.
5519 * gdb.base/load-command.exp: New file.
5520 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
5521 (gdb_is_target_1): ...this, and generalize for other targets
5522 than just remote.
5523 (gdb_is_target_remote): Use gdb_is_target_1.
5524 (gdb_is_target_native): use gdb_is_target_1.
5525
6893c19a
TT
55262018-02-26 Tom Tromey <tom@tromey.com>
5527
5528 PR python/16497:
5529 * gdb.python/py-framefilter.exp: Update test.
5530
2ddeaf8a
TT
55312018-02-26 Tom Tromey <tom@tromey.com>
5532
5533 * gdb.dwarf2/variant.c: New file.
5534 * gdb.dwarf2/variant.exp: New file.
5535
c9317f21
TT
55362018-02-26 Tom Tromey <tom@tromey.com>
5537
5538 * gdb.rust/simple.exp: Accept more possible results in enum test.
5539
6f6d0c26
SM
55402018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
5541
5542 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
5543 parentheses.
5544
11b03145
MR
55452018-02-23 Maciej W. Rozycki <macro@mips.com>
5546
5547 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
5548 name of a variable: $actual_linejj -> $actual_line.
5549
54a27fe5
JB
55502018-02-21 John Baldwin <jhb@FreeBSD.org>
5551
5552 * gdb.arch/amd64-i386-address.exp: Fix a typo.
5553
de65820c
MM
55542018-02-20 Markus Metzger <markus.t.metzger@intel.com>
5555
5556 * gdb.btrace/buffer-size.exp: Do not force BTS.
5557
980548fd
PA
55582018-02-14 Pedro Alves <palves@redhat.com>
5559
5560 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
5561 getting a "Quit".
5562
c4e12631
MM
55632018-02-09 Markus Metzger <markus.t.metzger@intel.com>
5564
5565 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
5566 Fix test name.
5567
c2e0e465
SM
55682018-02-07 Simon Marchi <simon.marchi@ericsson.com>
5569
5570 * gdb.cp/m-static.exp: Check type of optimized out static
5571 member.
5572
f7216783
AB
55732018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
5574
5575 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
5576 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
5577
0625771b
LS
55782018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
5579 Leszek Swirski <leszeks@google.com>
5580
5581 * gdb.python/py-prettyprint.c
5582 (struct to_string_returns_value_inner,
5583 struct to_string_returns_value_wrapper): New.
5584 (main): Add tsrvw variable.
5585 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
5586 ToStringReturnsValueWrapper): New classes.
5587 (register_pretty_printers): Register new pretty-printers.
5588 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
5589 recursive pretty printer.
5590 * gdb.python/py-mi.exp: Likewise.
5591
59498c30
LS
55922018-02-01 Leszek Swirski <leszeks@google.com>
5593
5594 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
5595 functions with the same name as an include file are parsed
5596 correctly.
5597
d4d38844
YQ
55982018-02-01 Yao Qi <yao.qi@linaro.org>
5599
5600 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
5601 "\[^\r\n\]*".
5602
07e5f5cf
NP
56032018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
5604
5605 * gdb.arch/powerpc-prologue-frame.s: New file.
5606 * gdb.arch/powerpc-prologue-frame.c: Likewise.
5607 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
5608
929b5ad4
JB
56092018-01-31 Joel Brobecker <brobecker@adacore.com>
5610
5611 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
5612
e671cd59
PA
56132018-01-30 Pedro Alves <palves@redhat.com>
5614
5615 PR gdb/13211
5616 * gdb.base/interrupt-daemon.c: New.
5617 * gdb.base/interrupt-daemon.exp: New.
5618 * gdb.multi/multi-term-settings.c: New.
5619 * gdb.multi/multi-term-settings.exp: New.
5620
fc413dc4
JB
56212018-01-30 Joel Brobecker <brobecker@adacore.com>
5622
5623 * gdb.base/break.exp: Save the location where the breakpoint
5624 on break.c:47 was actually inserted when debugging the version
5625 compiled at -O2 and use it in the expected output of the "info
5626 break" test performed soon after.
5627
5c319bb2
PA
56282018-01-22 Pedro Alves <palves@redhat.com>
5629 Sergio Durigan Junior <sergiodj@redhat.com>
5630
5631 * gdb.base/whatis.exp: Add tests for 'set print object on' +
5632 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
5633
a9e40818
JB
56342018-01-22 Joel Brobecker <brobecker@adacore.com>
5635
5636 * gdb.base/break-include.c, gdb.base/break-include.inc,
5637 gdb.base/break-include.exp: New files.
5638 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
5639 line number now being the actual line number where the breakpoint
5640 was inserted.
5641 * gdb.mi/mi-break.exp: Likewise.
5642 * gdb.mi/mi-reverse.exp: Likewise.
5643 * gdb.mi/mi-simplerun.exp: Ditto.
5644
e707fc44
AB
56452018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
5646
5647 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
5648 varobj.
5649 * gdb.mi/mi-var-create-rtti.exp: Likewise.
5650
ae451627
AB
56512018-01-21 Don Breazeal <donb@codesourcery.com>
5652 Andrew Burgess <andrew.burgess@embecosm.com>
5653
5654 * gdb.mi/basics.c: Add new global.
5655 * gdb.mi/mi-frame-regs.exp: New file.
5656 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
5657 case.
5658
b1b189e0
AB
56592018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
5660
5661 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
5662 non-parameter, and on an unknown symbol.
5663
fcfcc376
TT
56642018-01-19 Tom Tromey <tom@tromey.com>
5665
5666 * gdb.rust/modules.rs (TWENTY_THREE): New global.
5667 * gdb.rust/modules.exp: Add ::-qualified lookup test.
5668
634c1c31
AA
56692018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5670
5671 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
5672 setrlimit and chdir to int.
5673
d6ad07fd
AA
56742018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5675
5676 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
5677 function.
5678 (my_tend): Likewise.
5679 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
5680 rationale of avoiding FP- and vector instructions.
5681
adf8243b
RK
56822018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
5683
5684 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
5685 "info reg" with "\[ \t\]*".
5686 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
5687 "\[ \t\]+".
5688 * gdb.arch/s390-multiarch.exp: Ditto.
5689 * gdb.base/pc-fp.exp: Ditto.
5690 * gdb.reverse/i386-precsave.exp: Ditto.
5691 * gdb.reverse/i386-reverse.exp: Ditto.
5692 * gdb.reverse/i387-env-reverse.exp: Ditto.
5693 * gdb.reverse/i387-stack-reverse.exp: Ditto.
5694
dcc06925
AA
56952018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
5696
5697 * lib/gdb.exp (gdb_compile): Re-enable use of
5698 universal_compile_options for languages other than Rust.
5699
25d4fd80
AA
57002018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
5701
5702 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
5703
ee7f689e 57042018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
5705
5706 PR gdb/16577
5707 * gdb.base/solib-vanish.exp: New.
5708 * gdb.base/solib-vanish-main.c: New.
5709 * gdb.base/solib-vanish-lib1.c: New.
5710 * gdb.base/solib-vanish-lib2.c: New.
5711
d8447b6b
YQ
57122018-01-17 Yao Qi <yao.qi@linaro.org>
5713
5714 * gdb.compile/compile.exp: Match the address printed for
5715 frame in the output of command "bt".
5716
86d6a90c
TT
57172018-01-15 Tom Tromey <tom@tromey.com>
5718
5719 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
5720 compute sp_reg.
5721
cbcdb1aa
AB
57222018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
5723
5724 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
5725 to prepare.
5726 (prepare): Return 0 on error, 1 on success.
5727
eea61984
PA
57282018-01-12 Pedro Alves <palves@redhat.com>
5729
5730 * gdb.base/continue-after-aborted-step-over.c: New.
5731 * gdb.base/continue-after-aborted-step-over.exp: New.
5732
6181e9c2
SM
57332018-01-11 Simon Marchi <simon.marchi@ericsson.com>
5734
5735 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
5736 options when not creating an executable.
5737
3cada740
PA
57382018-01-11 Pedro Alves <palves@redhat.com>
5739
5740 PR remote/22597
5741 * gdb.server/stop-reply-no-thread.c: New file.
5742 * gdb.server/stop-reply-no-thread.exp: New file.
5743
c63d3e8d
PA
57442018-01-10 Pedro Alves <palves@redhat.com>
5745
5746 PR gdb/22670
5747 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
5748 functions too. Test setting breakpoints and printing C functions
5749 with no debug info too.
5750 * gdb.ada/bp_c_mixed_case/qux.c: New file.
5751
d4c2a405
PA
57522018-01-10 Pedro Alves <palves@redhat.com>
5753
5754 PR gdb/22670
5755 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
5756 a fail.
5757
8825213e
PA
57582018-01-10 Pedro Alves <palves@redhat.com>
5759
5760 PR gdb/22670
5761 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
5762
605fd3c6
YQ
57632018-01-08 Simon Marchi <simon.marchi@ericsson.com>
5764
5765 * gdb.server/unittest.exp: Match the output in non-development
5766 mode.
5767
1e5ded6c
YQ
57682018-01-08 Simon Marchi <simon.marchi@ericsson.com>
5769
5770 * gdb.gdb/unittest.exp: Match output in non-development mode.
5771
30066b0b
JB
57722018-01-08 Joel Brobecker <brobecker@adacore.com>
5773
5774 * gdb.ada/access_tagged_param.exp: Relax expected output
5775 for value of "ObjL" in "continue" to pck.inspect breakpoint
5776 test.
5777
04bafb1e
XR
57782018-01-08 Joel Brobecker <brobecker@adacore.com>
5779
9f86398b
JB
5780 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
5781 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 5782
e379cee6
PA
57832018-01-05 Pedro Alves <palves@redhat.com>
5784
5785 PR gdb/18653
5786 * gdb.base/libsegfault.exp: New.
5787
de63c46b
PA
57882018-01-05 Joel Brobecker <brobecker@adacore.com>
5789
5790 PR gdb/22670
5791 * gdb.ada/access_tagged_param.exp: New file.
5792 * gdb.ada/access_tagged_param/foo.adb: New file.
5793
f98fc17b
PA
57942018-01-05 Pedro Alves <palves@redhat.com>
5795
5796 PR gdb/22670
5797 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
5798 exercise lower case too, and to exercise both full matching and
5799 wild matching.
5800
342f8240
JB
58012018-01-05 Joel Brobecker <brobecker@adacore.com>
5802
5803 * gdb.ada/rename_subscript_param: New testcase.
5804
7150d33c
JG
58052018-01-05 Jerome Guitton <guitton@adacore.com>
5806
5807 * gdb.ada/arr_acc_idx_w_gap: New testcase.
5808
cc0e770c
JB
58092018-01-05 Joel Brobecker <brobecker@adacore.com>
5810
5811 * gdb.ada/convvar_comp: New testcase.
5812
672a41aa 58132018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
5814
5815 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
5816 (My_Table): New global variable.
5817 * testsuite/gdb.ada/array_char_idx.exp: Add test.
5818
7365ec2f
JB
58192018-01-04 Joel Brobecker <brobecker@adacore.com>
5820
5821 PR gdb/22670
5822 * gdb.ada/maint_with_ada: New testcase.
5823
289483b6
JB
58242018-01-04 Joel Brobecker <brobecker@adacore.com>
5825
5826 PR gdb/22670
5827 * gdb.ada/bp_c_mixed_case: New testcase.
5828
344420da
JB
58292018-01-04 Joel Brobecker <brobecker@adacore.com>
5830
5831 PR gdb/22670
5832 * gdb.ada/complete.exp: Add "complete break ada" test.
5833
66fc87a0
JB
58342018-01-04 Joel Brobecker <brobecker@adacore.com>
5835
5836 PR gdb/22670
5837 * gdb.ada/info_addr_mixed_case: New testcase.
5838
9f757bf7
XR
58392018-01-03 Xavier Roirand <roirand@adacore.com>
5840
5841 * gdb.ada/excep_handle.exp: New testcase.
5842 * gdb.ada/excep_handle/foo.adb: New file.
5843 * gdb.ada/excep_handle/pck.ads: New file.
5844
bd570f80
JB
58452018-01-03 Joel Brobecker <brobecker@adacore.com>
5846
5847 * gdb.base/step-line.c: Add extra empty line in copyright header.
5848 * gdb.base/step-line.inp: Likewise.
5849
9fe561ab
JB
58502018-01-02 Joel Brobecker <brobecker@adacore.com>
5851
5852 * gdb.ada/dyn_stride.exp: Add slice test.
5853
a405673c
JB
58542018-01-02 Joel Brobecker <brobecker@adacore.com>
5855
5856 * gdb.ada/dyn_stride: New testcase.
5857
cef0f868
SH
58582017-12-27 Stafford Horne <shorne@gmail.com>
5859
5860 * gdb.xml/extra-regs.xml: Add example foo reggroup.
5861 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
5862
b67d92b0
SH
58632017-12-27 Stafford Horne <shorne@gmail.com>
5864
5865 * gdb.base/reggroups.c: New file.
5866 * gdb.base/reggroups.exp: New file.
5867
eccab96d
JB
58682017-12-18 Joel Brobecker <brobecker@adacore.com>
5869
5870 * gdb.dwarf2/ada-valprint-error.c: New file.
5871 * gdb.dwarf2/ada-valprint-error.exp: New file.
5872
0e2da9f0
JB
58732017-12-18 Joel Brobecker <brobecker@adacore.com>
5874
5875 * gdb.ada/assign_arr: New testcase.
5876
cb923fcc
XR
58772017-12-18 Xavier Roirand <roirand@adacore.com>
5878
5879 * gdb.ada/funcall_ptr: New testcase.
5880
7c161838
SDJ
58812017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5882
5883 PR cli/16224
5884 * gdb.base/ptype-offsets.cc: New file.
5885 * gdb.base/ptype-offsets.exp: New file.
5886
1af17fd9
YQ
58872017-12-15 Yao Qi <yao.qi@linaro.org>
5888
5889 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
5890 if XML is disabled.
5891
828d5846
XR
58922017-12-15 Xavier Roirand <roirand@adacore.com>
5893
5894 * gdb.ada/same_component_name: New testcase.
5895
79e8fcaa
JB
58962017-12-14 Joel Brobecker <brobecker@adacore.com>
5897
5898 * gdb.ada/str_binop_equal: New testcase.
5899
e05fa6f9
JB
59002017-12-14 Joel Brobecker <brobecker@adacore.com>
5901
5902 * gdb.ada/task_switch_in_core: New testcase.
5903
b89641ba
SM
59042017-12-13 Simon Marchi <simon.marchi@ericsson.com>
5905
5906 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
5907 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
5908 call test_bkpt_qualified.
5909 (test_bkpt_qualified): New proc.
5910
6892d2e4
PA
59112017-12-13 Pedro Alves <palves@redhat.com>
5912
5913 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
5914 Tighten regexp by matching with an anchor.
5915
a22ecf70
PA
59162017-12-13 Pedro Alves <palves@redhat.com>
5917
5918 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
5919 ("expression with namespace"): New set of tests.
5920 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
5921 (Nested::Test_NS::qux): New.
5922 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
5923 defaults to 'start_quote_char' and 'end_quote_char' parameters.
5924
9937536c
JB
59252017-12-13 Joel Brobecker <brobecker@adacore.com>
5926
5927 * gdb.base/server-del-break.c: New file.
5928 * gdb.base/server-del-break.exp: New file.
5929
fe49c6f5
SH
59302017-12-12 Stafford Horne <shorne@gmail.com>
5931
5932 * gdb.xml/tdesc-regs.exp: Add or1k support.
5933
c3d18620
SH
59342017-12-12 Stafford Horne <shorne@gmail.com>
5935
5936 * gdb.base/bp-permanent.c: Define nop of or1k.
5937
c5f9cfc8
JB
59382017-12-11 Joel Brobecker <brobecker@adacore.com>
5939
5940 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
5941 output with components being reordered.
5942
a9c135fc
JB
59432017-12-11 Joel Brobecker <brobecker@adacore.com>
5944
5945 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
5946 output with components being reordered.
5947
927aa2e7
JK
59482017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5949 Pedro Alves <palves@redhat.com>
5950
5951 * gdb.base/maint.exp (check for .gdb_index): Check also for
5952 .debug_names.
5953 * gdb.dlang/watch-loc.c (.debug_aranges): New.
5954 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
5955 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
5956 (.gdb_index used after symbol reloading): Support also .debug_names.
5957 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
5958
f17d9474
YQ
59592017-12-08 Yao Qi <yao.qi@linaro.org>
5960
5961 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
5962 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
5963
a0de8c21
YQ
59642017-12-08 Yao Qi <yao.qi@linaro.org>
5965
5966 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
5967 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
5968
a738ea1d
YQ
59692017-12-08 Yao Qi <yao.qi@linaro.org>
5970
5971 * gdb.arch/aarch64-tagged-pointer.c: New file.
5972 * gdb.arch/aarch64-tagged-pointer.exp: New file.
5973
1cd9a73b
SDJ
59742017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
5975
5976 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
5977 "int".
5978
fa6eb693
KS
59792017-12-07 Keith Seitz <keiths@redhat.com>
5980
5981 PR breakpoints/22569
5982 * gdb.linespec/ls-errs.exp: Change expected result of "break
5983 -source this file has spaces.c -line 3".
5984 Check that an explicit source file followed by whitespace is
5985 identified as an invalid explicit location.
5986
883fd55a
KS
59872017-12-07 Keith Seitz <keiths@redhat.com>
5988
5989 * gdb.cp/nested-types.cc: New file.
5990 * gdb.cp/nested-types.exp: New file.
5991 * lib/cp-support.exp: Load data-structures.exp library.
5992 (debug_cp_test_ptype_class): New global.
5993 (cp_ptype_class_verbose, next_line): New procedures.
5994 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
5995 Add and document new return value.
5996 Switch the list of lines to a queue.
5997 Add support for new `type' key for nested type definitions.
5998 Add debugging/troubleshooting messages.
5999 * lib/data-structures.exp: New file.
6000
ec72db3e
SM
60012017-12-07 Simon Marchi <simon.marchi@ericsson.com>
6002
6003 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
6004 with proc_with_prefix, don't use with_test_prefix.
6005
99598d71
TT
60062017-12-07 Tom Tromey <tom@tromey.com>
6007
6008 * gdb.base/break.exp: Add test for empty "commands".
6009
a8806230
YQ
60102017-12-07 Yao Qi <yao.qi@linaro.org>
6011
6012 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
6013 malloc and catch syscall.
6014
824cc835
PM
60152017-12-07 Phil Muldoon <pmuldoon@redhat.com>
6016
e79be6e5 6017 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
6018 tests for explicit locations.
6019
7cc244de
PA
60202017-12-06 Pedro Alves <palves@redhat.com>
6021
6022 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
6023 force-disabling XML descriptions.
6024
50a1fdd5
PA
60252017-12-04 Pedro Alves <palves@redhat.com>
6026
6027 PR gdb/22499
6028 * gdb.arch/amd64-disp-step-avx.S: New file.
6029 * gdb.arch/amd64-disp-step-avx.exp: New file.
6030
f0fb2488
PA
60312017-12-03 Pedro Alves <palves@redhat.com>
6032
6033 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
6034 and <string.h>.
6035 (parent_function): Print distinct messages when waitpid fails, or
6036 the child exits with a signal, or the child exits for an unhandled
6037 reason.
6038 * gdb.threads/process-dies-while-detaching.exp
6039 (detach_and_expect_exit): New 'inf_output_re' parameter and use
6040 it. Wait for both inferior output and GDB's prompt. Use an
6041 indirect spawn id list.
6042 (do_detach): New parameter 'child_exit'. Use it to compute
6043 expected inferior output.
6044 (test_detach, test_detach_watch, test_detach_killed_outside):
6045 Adjust to pass down the expected child exit kind.
6046
97cbe998
SDJ
60472017-12-01 Joel Brobecker <brobecker@adacore.com>
6048 Sergio Durigan Junior <sergiodj@redhat.com>
6049 Pedro Alves <palves@redhat.com>
6050
6051 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
6052
40fc416f
SDJ
60532017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
6054
6055 * gdb.base/relocate.exp: Add tests to guarantee that arguments
6056 to 'symbol-file' and 'add-symbol-file' can be
6057 position-independent.
6058
1cc75e92
YQ
60592017-12-01 Yao Qi <yao.qi@linaro.org>
6060
6061 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
6062 the URL in copyright header.
6063 * gdb.arch/aarch64-fp.exp: Likewise.
6064 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
6065 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
6066 * gdb.base/expand-psymtabs.exp: Likewise.
6067 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
6068 * gdb.fortran/common-block.exp: Likewise.
6069 * gdb.fortran/common-block.f90: Likewise.
6070 * gdb.fortran/logical.exp: Likewise.
6071 * gdb.fortran/vla-datatypes.f90: Likewise.
6072 * gdb.fortran/vla-sub.f90: Likewise.
6073
875fb7a7
JB
60742017-11-30 Joel Brobecker <brobecker@adacore.com>
6075
6076 * gdb.ada/repeat_dyn: New testcase.
6077
6f14765f
UW
60782017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
6079
6080 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
6081 Update for changed thread numbering.
6082 * gdb.cell/bt.exp: Update for changed GDB output.
6083
f1af7b94
SM
60842017-11-30 Simon Marchi <simon.marchi@ericsson.com>
6085
6086 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
6087 setting isremote by hand.
6088 * boards/dwarf4-gdb-index.exp: Likewise.
6089 * boards/fission.exp: Likewise.
6090 * boards/stabs.exp: Likewise.
6091
e3919f3e
PA
60922017-11-30 Pedro Alves <palves@redhat.com>
6093
6094 * gdb.linespec/cpls-ops.exp
6095 (check_explicit_skips_function_argument): Extract the underlying
6096 type of size_t instead of hardcoding it.
6097
bd69330d
PA
60982017-11-29 Pedro Alves <palves@redhat.com>
6099
6100 PR c++/19436
6101 * gdb.linespec/cpls-abi-tag.cc: New file.
6102 * gdb.linespec/cpls-abi-tag.exp: New file.
6103
a20714ff
PA
61042017-11-29 Pedro Alves <palves@redhat.com>
6105
6106 * gdb.base/langs.exp: Use -qualified.
6107 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
6108 it.
6109 * gdb.cp/namespace.exp: Use -qualified.
6110 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
6111 (overload-3, template-overload, template-ret-type, const-overload)
6112 (const-overload-quoted, anon-ns, ambiguous-prefix): New
6113 procedures.
6114 (test_driver): Call them.
6115 * gdb.cp/save-bp-qualified.cc: New.
6116 * gdb.cp/save-bp-qualified.exp: New.
6117 * gdb.linespec/explicit.exp: Test -qualified.
6118 * lib/completion-support.exp (completion::explicit_opts_list): Add
6119 "-qualified".
6120 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
6121
f6f1d339
PM
61222017-11-29 Phil Muldoon <pmuldoon@redhat.com>
6123
6124 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
6125
02ca603a
TT
61262017-11-29 Tom Tromey <tom@tromey.com>
6127
6128 * gdb.base/relocate.exp: Update invalid argument test.
6129 Add new tests for invalid arguments.
6130
ed6c0bfb
TP
61312017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
6132
6133 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
6134 Return 0 as a long.
6135 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
6136
f106e10e
TP
61372017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
6138
6139 * gdb.cp/breakpoint.cc (bar): Set return type to void.
6140 * gdb.cp/psymtab-parameter.cc (func): Likewise.
6141 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
6142 func ().
6143 * gdb.cp/shadow.cc (B.func): Return 0.
6144
10329bb2
JB
61452017-11-27 Joel Brobecker <brobecker@adacore.com>
6146
6147 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
6148 expected output in gdb_expect call to allow the exception
6149 message to be present as well. Fix syntax confusion to avoid
6150 TCL thinking that exception_name is an array.
6151
617cd4bc
UW
61522017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
6153
6154 * gdb.arch/spu-info.c: Include <unistd.h>.
6155 (do_signal_test): Fix broken calls to write.
6156 * gdb.arch/spu-info.exp: Use prepare_for_testing.
6157 Fix checks for empty mailboxes. Update signal tests for corrected
6158 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
6159 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
6160 * gdb.cell/arch.exp: Use standard_output_file.
6161 * gdb.cell/break.exp: Likewise.
6162 * gdb.cell/bt.exp: Likewise.
6163 * gdb.cell/core.exp: Likewise.
6164 * gdb.cell/dwarfaddr.exp: Likewise.
6165 * gdb.cell/ea-cache.exp: Likewise.
6166 * gdb.cell/ea-standalone.exp: Likewise.
6167 * gdb.cell/f-regs.exp: Likewise.
6168 * gdb.cell/fork.exp: Likewise.
6169 * gdb.cell/gcore.exp: Likewise.
6170 * gdb.cell/mem-access.exp: Likewise.
6171 * gdb.cell/ptype.exp: Likewise.
6172 * gdb.cell/registers.exp: Likewise.
6173 * gdb.cell/sizeof.exp: Likewise.
6174 * gdb.cell/solib-symbol.exp: Likewise.
6175 * gdb.cell/solib.exp: Likewise.
617cd4bc 6176
a81aaca0
PA
61772017-11-25 Pedro Alves <palves@redhat.com>
6178
6179 * gdb.base/complete-empty.exp: New file.
6180 * gdb.base/completion.exp: Adjust.
6181
6a3c6ee4
PA
61822017-11-25 Pedro Alves <palves@redhat.com>
6183
6184 * gdb.linespec/cpls-ops.cc: New file.
6185 * gdb.linespec/cpls-ops.exp: New file.
6186 * lib/completion-support.exp (test_complete_prefix_range_re): New,
6187 factored out from ...
6188 (test_complete_prefix_range): ... this.
6189
8955eb2d
PA
61902017-11-24 Pedro Alves <palves@redhat.com>
6191
6192 * gdb.linespec/cpcompletion.exp: New file.
6193 * gdb.linespec/cpls-hyphen.cc: New file.
6194 * gdb.linespec/cpls.cc: New file.
6195 * gdb.linespec/cpls2.cc: New file.
6196 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
6197 test to use test_gdb_complete_unique. Add label completion,
6198 keyword completion and explicit location completion tests.
6199 * lib/completion-support.exp: New file.
6200
e547c119
JB
62012017-11-24 Joel Brobecker <brobecker@adacore.com>
6202
6203 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
6204 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
6205 when hitting an exception catchpoint.
6206
7c3c1aa8
YQ
62072017-11-22 Yao Qi <yao.qi@linaro.org>
6208
6209 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
6210
41bd68f5
SM
62112017-11-22 Simon Marchi <simon.marchi@ericsson.com>
6212
6213 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
6214 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
6215 * gdb.dwarf2/info-locals-optimized-out.c: New file.
6216
1daad298
YQ
62172017-11-22 Yao Qi <yao.qi@linaro.org>
6218
6219 * gdb.base/info-os.exp: Pass pthreads.
6220 * gdb.multi/multi-attach.exp: Likewise.
6221
88465e87
YQ
62222017-11-22 Yao Qi <yao.qi@linaro.org>
6223
6224 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
6225 compiler.
6226
dc196b23
YQ
62272017-11-22 Yao Qi <yao.qi@linaro.org>
6228
6229 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
6230 * gdb.base/break-interp.exp: Likewise.
6231 * gdb.base/jit-attach-pie.exp: Likewise.
6232
2400729e
UW
62332017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
6234
6235 * gdb.base/float128.c (large128): New variable.
6236 * gdb.base/float128.exp: Add test to print largest __float128 value.
6237
7a26362d
UW
62382017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
6239
6240 * gdb.arch/vsx-regs.exp: Update register content checks.
6241
ed0f4273
UW
62422017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
6243
6244 * gdb.arch/ppc-longdouble.exp: New file.
6245 * gdb.arch/ppc-longdouble.c: Likewise.
6246
a25d69c6
PA
62472017-11-21 Pedro Alves <palves@redhat.com>
6248
6249 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
6250
73fcf641
PA
62512017-11-20 Pedro Alves <palves@redhat.com>
6252
6253 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
6254 (long_double_typedef): New typedefs.
6255 Use DEF on double and long double.
6256 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
6257 cases.
6258 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
6259 and 'long_double_ptr_same_size' locals. Use them to decide
6260 whether cast from array/function to float is valid/invalid.
6261
71a3c369
TT
62622017-11-17 Tom Tromey <tom@tromey.com>
6263
6264 * gdb.rust/traits.rs: New file.
6265 * gdb.rust/traits.exp: New file.
6266
ced9779b
JB
62672017-11-17 Joel Brobecker <brobecker@adacore.com>
6268
6269 * gdb.ada/minsyms: New testcase.
6270
a0922d80
PA
62712017-11-16 Pedro Alves <palves@redhat.com>
6272
6273 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
6274 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
6275
ea04e54c
PA
62762017-11-16 Pedro Alves <palves@redhat.com>
6277
6278 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
6279 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
6280
e849ea89
PA
62812017-11-16 Pedro Alves <palves@redhat.com>
6282
6283 * gdb.server/reconnect-ctrl-c.c: New file.
6284 * gdb.server/reconnect-ctrl-c.exp: New file.
6285
d8ae99a7
PM
62862017-11-16 Phil Muldoon <pmuldoon@redhat.com>
6287
6288 * gdb.python/py-rbreak.exp: New file.
6289 * gdb.python/py-rbreak.c: New file.
6290 * gdb.python/py-rbreak-func2.c: New file.
6291
968a13f8
PA
62922017-11-16 Pedro Alves <palves@redhat.com>
6293
6294 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
6295 pattern.
6296 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
6297 GDB.
6298
71774bc9
SM
62992017-11-15 Simon Marchi <simon.marchi@ericsson.com>
6300
6301 * gdb.tui/completionn.exp (test_tab_completion): Add space in
6302 regex.
6303
ddbb44cf
SM
63042017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
6305
6306 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
6307 test names.
6308
584a564f
PA
63092017-11-09 Pedro Alves <palves@redhat.com>
6310
6311 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
6312 factored out from ...
6313 (top level): ... here, and adjusted to avoid expecting beyond the
6314 prompt in a single gdb_test_multiple.
6315
5ed7a928
PA
63162017-11-09 Pedro Alves <palves@redhat.com>
6317
6318 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
6319 output.
6320 * gdb.server/ext-attach.exp ("kill" test): Likewise.
6321 * gdb.server/ext-restart.exp ("kill" test): Likewise.
6322 * gdb.server/ext-run.exp ("kill" test): Likewise.
6323 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
6324
a60e0738
PA
63252017-11-09 Pedro Alves <palves@redhat.com>
6326
6327 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
6328 match till end of line.
6329
2c88253f
PA
63302017-11-09 Pedro Alves <palves@redhat.com>
6331
6332 * gdb.base/memattr.exp: Tighten regexes to match the end line.
6333
c7a38517
PA
63342017-11-09 Pedro Alves <palves@redhat.com>
6335
6336 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
6337 New procedures, factored out from ...
6338 (top level): ... here, and adjusted to avoid expecting beyond the
6339 prompt in one go.
6340
f29f4b6b
PA
63412017-11-09 Pedro Alves <palves@redhat.com>
6342
6343 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
6344 output. Fix '?' match.
6345
286acbb5
JB
63462017-11-08 Joel Brobecker <brobecker@adacore.com>
6347
6348 * gdb.ada/scoped_watch: New testcase.
6349 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
6350 which is actually correct.
6351 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
6352 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
6353
62d7ae92
PA
63542017-11-08 Pedro Alves <palves@redhat.com>
6355
6356 * gdb.gdb/complaints.exp (test_initial_complaints)
6357 (test_serial_complaints, test_short_complaints): Call
6358 complaint_internal instead of complaint.
6359
280ca31f
DT
63602017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
6361
6362 * gdb.threads/tls-core.c: New file.
6363 * gdb.threads/tls-core.exp: Likewise.
6364
b5ec771e
PA
63652017-11-08 Pedro Alves <palves@redhat.com>
6366
6367 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
6368 (p Exported_Capitalized): New test.
6369 (p exported_capitalized): New test.
6370
a02b41a7
PA
63712017-11-07 Pedro Alves <palves@redhat.com>
6372
6373 * gdb.cp/ena-dis-br-range.exp: Add more tests.
6374
95e95a6d
PA
63752017-11-07 Pedro Alves <palves@redhat.com>
6376
6377 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
6378 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
6379 (disable_invalid, disable_inverted, disable_negative): New
6380 procedures.
6381 ("bad numbers"): New set of tests.
6382
cee62dbd
PA
63832017-11-07 Pedro Alves <palves@redhat.com>
6384
6385 * gdb.cp/ena-dis-br-range.exp: Add tests.
6386
cc638e86
PA
63872017-11-07 Pedro Alves <palves@redhat.com>
6388
6389 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
6390
d0fe4701
XR
63912017-11-07 Xavier Roirand <roirand@adacore.com>
6392 Pedro Alves <palves@redhat.com>
6393
6394 * gdb.base/ena-dis-br.exp: Add reference to
6395 gdb.cp/ena-dis-br-range.exp.
6396 * gdb.cp/ena-dis-br-range.exp: New file.
6397 * gdb.cp/ena-dis-br-range.cc: New file.
6398
46f67f80
PA
63992017-11-06 Pedro Alves <palves@redhat.com>
6400
6401 * gdb.base/attach-non-pgrp-leader.c: New.
6402 * gdb.base/attach-non-pgrp-leader.exp: New.
6403
726e1356
PA
64042017-11-06 Pedro Alves <palves@redhat.com>
6405
6406 * configure.ac: No longer check for termio.h and sgtty.h.
6407 * configure: Regenerate.
6408 * remote-utils.c: Include termios.h instead of gdb_termios.h.
6409 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
6410 Remove termio and sgtty code.
6411
50ab6ace
YQ
64122017-11-03 Yao Qi <yao.qi@linaro.org>
6413
6414 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
6415 in GDB is disabled.
6416
8e68731c
YQ
64172017-11-03 Yao Qi <yao.qi@linaro.org>
6418
6419 * gdb.python/py-thrhandle.exp: Skip it if python is not
6420 enabled.
6421
3a87ae65
SM
64222017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
6423
6424 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
6425 as a breakpoint command.
6426
484d8d36
MD
64272017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
6428
6429 PR python/21213
6430 * gdb.python/py-infthread.exp: Test calling
6431 InferiorThread.inferior () multiple times in a row.
6432
4a27f119
KS
64332017-10-27 Keith Seitz <keiths@redhat.com>
6434
6435 * gdb.opt/inline-break.exp (break_info_1): New procedure.
6436 Test "info break" for every inlined function breakpoint.
6437
bb11dd58
YQ
64382017-10-27 Yao Qi <yao.qi@linaro.org>
6439
6440 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
6441
a43f3893
PF
64422017-10-26 Patrick Frants <osscontribute@gmail.com>
6443
6444 * gdb.cp/classes.exp (test_static_members): Test printing
6445 Outer::instance.
6446 * gdb.cp/classes.c (struct Inner, struct Outer): New.
6447 (Inner::instance, Outer::instance): New.
6448
792ccf00
PA
64492017-10-24 Pedro Alves <palves@redhat.com>
6450
6451 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
6452 extra console" test in two stages.
6453
eb2bfbad
PA
64542017-10-24 Pedro Alves <palves@redhat.com>
6455
6456 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
6457
1f75a651
PA
64582017-10-24 Pedro Alves <palves@redhat.com>
6459
6460 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
6461 loop.
6462
779990d9
PA
64632017-10-24 Pedro Alves <palves@redhat.com>
6464
6465 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
6466 $attempt" and "stoppedtry $stoppedtry" test prefixes.
6467
ad9b8f5d
PA
64682017-10-24 Pedro Alves <palves@redhat.com>
6469
6470 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
6471 parameter and handle it. Don't output read value in test name.
6472
fee6da6e
PA
64732017-10-24 Pedro Alves <palves@redhat.com>
6474
6475 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
6476 custom test name.
6477
10389c2c
PA
64782017-10-24 Pedro Alves <palves@redhat.com>
6479
6480 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
6481 include the unstable output directory name in the test's name.
6482 (initial_setup_simple) <'set args'>: Use custom test name.
6483
a80e65a9
PA
64842017-10-24 Pedro Alves <palves@redhat.com>
6485
6486 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
6487 with explicit test name.
6488
15763a09
PA
64892017-10-20 Pedro Alves <palves@redhat.com>
6490
6491 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
6492 'wait -i'. Use gdb_assert and remote_close.
6493
49a4ce2e
AB
64942017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
6495
6496 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
6497 number from variable rather than hard-coded.
6498
a75868f5
PA
64992017-10-19 Pedro Alves <palves@redhat.com>
6500
6501 * gdb.base/long-inferior-output.c: New file.
6502 * gdb.base/long-inferior-output.exp: New file.
6503
c8ba13ad
KS
65042017-11-18 Keith Seitz <keiths@redhat.com>
6505
6506 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
6507 method.
6508 (main): Call it.
6509 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
6510 Add additional user-defined conversion operator tests.
6511
b27de576
PA
65122017-10-17 Pedro Alves <palves@redhat.com>
6513
6514 * boards/native-stdio-gdbserver.exp: Load "local-board".
6515
8484c955
PA
65162017-10-17 Pedro Alves <palves@redhat.com>
6517
6518 * gdb.base/quit-live.c: New file.
6519 * gdb.base/quit-live.exp: New file.
6520
83d5a34d
KS
65212017-10-16 Keith Seitz <keiths@redhat.com>
6522
6523 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
6524 (class_with_protected_typedef, class_with_private_typedef)
6525 (struct_with_public_typedef, struct_with_protected_typedef)
6526 (struct_with_private_typedef): New classes/structs.
6527 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
6528 typedefs and access specifiers.
6529
739b3f1d
PA
65302017-10-16 Pedro Alves <palves@redhat.com>
6531 Simon Marchi <simon.marchi@polymtl.ca>
6532
6533 * README (Local vs Remote vs Native): New section.
6534 * boards/local-board.exp: New file, with bits factored out from
6535 ...
6536 * boards/native-extended-gdbserver.exp: ... here. Load
6537 "local-board".
6538 * boards/native-gdbserver.exp: Load "local-board".
6539 (${board}_spawn, ${board}_exec): Delete.
6540 * boards/native-stdio-gdbserver.exp: Most contents factored out to
6541 ...
6542 * boards/stdio-gdbserver-base.exp: ... this new file.
6543 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
6544 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
6545 procedure.
6546 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
6547 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
6548 stdio_gdbserver_command.
6549 (${board}_get_remote_address, ${board}_get_comm_port)
6550 (${board}_download, ${board}_upload): Delete.
6551 (get_target_remote_pipe_cmd): New.
6552
fe68b953
SM
65532017-10-16 Simon Marchi <simon.marchi@ericsson.com>
6554
6555 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
6556 test_bkpt_deletion, test_bkpt_cond_and_cmds,
6557 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
6558 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
6559 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
6560 remove with_test_prefix.
6561
300b6685
PA
65622017-10-13 Pedro Alves <palves@redhat.com>
6563
6564 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
6565 * gdb.base/annota1.exp: Use it instead of is_remote.
6566 * gdb.base/annota3.exp: Use it instead of is_remote.
6567 * gdb.cp/annota2.exp: Use it instead of is_remote.
6568 * gdb.cp/annota3.exp: Use it instead of is_remote.
6569 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
6570
50500caf
PA
65712017-10-13 Pedro Alves <palves@redhat.com>
6572
6573 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
6574 (test_num_test_vars, run_and_count_vars, find_env)
6575 (test_set_unset_env, test_inherit_env_var): New procedures.
6576 (top level): Use them.
6577
dad0c6d2
PA
65782017-10-13 Pedro Alves <palves@redhat.com>
6579
6580 * lib/selftest-support.exp (selftest_setup): Extend comments, and
6581 also skip on stub-like targets.
6582
8b0553c1
PA
65832017-10-13 Pedro Alves <palves@redhat.com>
6584
6585 PR gdb/22293
6586 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
6587 (top level): Move some tests to ...
6588 (test_not_found): ... this new procedure.
6589 (top level): Call it.
6590
7594f623
PA
65912017-10-13 Pedro Alves <palves@redhat.com>
6592
6593 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
6594 expect different "info terminal" output if testing with a
6595 non-native target.
6596
ebe3b402
PA
65972017-10-13 Pedro Alves <palves@redhat.com>
6598 Simon Marchi <simon.marchi@polymtl.ca>
6599
6600 PR python/12966
6601 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
6602
42f1b161
PA
66032017-10-13 Pedro Alves <palves@redhat.com>
6604
6605 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
6606 already.
6607
8d6ef72b
PA
66082017-10-13 Pedro Alves <palves@redhat.com>
6609
6610 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
6611 is_remote.
6612
d7bcd5b8
PA
66132017-10-13 Pedro Alves <palves@redhat.com>
6614
6615 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
6616 is_remote.
6617
df479dc6
PA
66182017-10-13 Pedro Alves <palves@redhat.com>
6619
6620 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
6621 is set.
6622 (corefile_test_attach): Likewise. Check can_spawn_for_attach
6623 instead of is_remote.
6624
23fb630a
PA
66252017-10-13 Pedro Alves <palves@redhat.com>
6626
6627 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
6628 (top level): Add comment.
6629
cc77b1dc
PA
66302017-10-13 Pedro Alves <palves@redhat.com>
6631
6632 * gdb.base/remote.exp (top level): Fix comment typo and add
6633 missing return.
6634
27c9e813
PA
66352017-10-13 Pedro Alves <palves@redhat.com>
6636 Simon Marchi <simon.marchi@polymtl.ca>
6637
6638 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
6639 calls and add comments. Skip test if use_gdb_stub is set.
6640 (top level): Use "set cwd" command instead of "cd" command.
6641
5e830d98
PA
66422017-10-13 Pedro Alves <palves@redhat.com>
6643
6644 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
6645 is_remote target check.
6646
f5ca0032
PA
66472017-10-13 Pedro Alves <palves@redhat.com>
6648
6649 * gdb.base/scope.exp: Use build_executable + clean_restart +
6650 gdb_file_cmd instead of prepare_for_testing and no longer skip
6651 "before run" tests on is_remote target boards. Update comments.
6652 * boards/native-extended-gdbserver.exp
6653 (extended_gdbserver_load_last_file): New, factored out from ...
6654 (gdb_load): ... this. Move further below and add comment.
6655 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
6656
8aed1c0d
PA
66572017-10-12 Pedro Alves <palves@redhat.com>
6658
6659 * gdb.base/attach.exp: Remove references to gdb64.
6660 * gdb.base/dbx.exp: Remove references to gdb64.
6661
cfa34c87
SM
66622017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
6663 Pedro Alves <palves@redhat.com>
6664
6665 * gdb.base/label.exp: Remove is_remote target check.
6666
9192b7de
PA
66672017-10-12 Pedro Alves <palves@redhat.com>
6668
6669 * gdb.base/auvx.exp (coredir): Update comment.
6670 (top level) <core_works>: Use "set cwd" command instead of "cd"
6671 command.
6672
6bf0052d
PA
66732017-10-12 Pedro Alves <palves@redhat.com>
6674 Simon Marchi <simon.marchi@polymtl.ca>
6675
6676 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
6677 target boards.
6678
e48ef82d
PA
66792017-10-12 Pedro Alves <palves@redhat.com>
6680 Simon Marchi <simon.marchi@polymtl.ca>
6681
6682 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
6683 Instead skip if there's any gdb_protocol set.
6684
8d7aea57
SM
66852017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
6686 Pedro Alves <palves@redhat.com>
6687
6688 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
6689
30440677
PA
66902017-10-12 Pedro Alves <palves@redhat.com>
6691 Simon Marchi <simon.marchi@polymtl.ca>
6692
6693 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
6694 instead of on dejagnu remote boards.
6695
4e04f045 66962017-10-12 Pedro Alves <palves@redhat.com>
175654b9 6697 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
6698
6699 * gdb.base/inferior-died.exp: Remove is_remote and isnative
6700 checks. Use build_executable + clean_restart instead of
6701 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
6702 of enabling non-stop after starting gdb.
6703
871a186e
PA
67042017-10-12 Pedro Alves <palves@redhat.com>
6705
6706 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
6707 * gdb.threads/non-ldr-exc-2.exp: Ditto.
6708 * gdb.threads/non-ldr-exc-3.exp: Ditto.
6709 * gdb.threads/non-ldr-exc-4.exp: Ditto.
6710
56d704da
AK
67112017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
6712
6713 * gdb.arch/arc-tdesc-cpu.exp: New file.
6714 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
6715
2f20e312
SM
67162017-10-10 Simon Marchi <simon.marchi@ericsson.com>
6717
6718 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
6719
65630365
PA
67202017-10-10 Pedro Alves <palves@redhat.com>
6721
6722 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
6723 expect CLI output.
6724
bf469271
PA
67252017-10-10 Pedro Alves <palves@redhat.com>
6726
6727 * lib/selftest-support.exp (selftest_setup): Update for
6728 captured_command_loop's prototype change.
6729
777a42f1
PA
67302017-10-09 Pedro Alves <palves@redhat.com>
6731
6732 Test both arch1=>arch2 and arch2=>arch1.
6733
6734 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
6735 (srcfile2, binfile2, march1, march2): Remove globals. Largely
6736 factored out to...
6737 (append_arch1_options, append_arch2_options, append_arch_options)
6738 (build_executables): New procedures.
6739 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
6740 local.
6741 (top level): Add new 'first_arch' testing axis.
6742
cbd2b4e3
PA
67432017-10-09 Pedro Alves <palves@redhat.com>
6744
6745 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
6746 (barrier): New.
6747 (thread_start, all_started): New functions.
6748 (main): Spawn new thread and wait until it is scheduled.
6749 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
6750 option.
6751 (do_test): Add 'selected_thread' parameter. Run to all_started
6752 instead of main. Explicitly set the breakpoint at main. Switch
6753 to the SELECTED_THREAD thread.
6754 (top level): Test handling the exec event with either the main
6755 thread or the second thread selected.
6756
5c9e4427
PA
67572017-10-09 Pedro Alves <palves@redhat.com>
6758
6759 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
6760 logic. Move STOP marker after the value checks.
6761 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
6762 regexp.
6763
b3b7c423
SL
67642017-10-06 Sandra Loosemore <sandra@codesourcery.com>
6765
6766 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
6767
3b4b2f16
UW
67682017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
6769
6770 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
6771 integer-to-dfp conversion.
6772 * gdb.base/dfp-test.exp: Likewise.
6773
5cd63fda
PA
67742017-10-04 Pedro Alves <palves@redhat.com>
6775
6776 * gdb.multi/hangout.c: Include <unistd.h>.
6777 (hangout_loop): New function.
6778 (main): Call alarm. Call hangout_loop in a loop.
6779 * gdb.multi/hello.c: Include <unistd.h>.
6780 (hello_loop): New function.
6781 (main): Call alarm. Call hangout_loop in a loop.
6782 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
6783 inferior with the other selected.
6784
4c71c105
SM
67852017-10-04 Simon Marchi <simon.marchi@ericsson.com>
6786
6787 * gdb.mi/list-thread-groups-available.exp: New file.
6788 * gdb.mi/list-thread-groups-available.c: New file.
6789
bc3b087d
SDJ
67902017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
6791
6792 * gdb.base/set-cwd.exp: Make it available on
6793 native-extended-gdbserver.
6794
d092c5a2
SDJ
67952017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
6796
6797 * gdb.base/set-cwd.c: New file.
6798 * gdb.base/set-cwd.exp: Likewise.
6799
45320ffa
TT
68002017-10-02 Tom Tromey <tom@tromey.com>
6801
6802 PR rust/22236:
6803 * gdb.rust/simple.rs (main): New variable "fslice".
6804 * gdb.rust/simple.exp: Add slice tests. Update string tests.
6805
b3e3859b
TT
68062017-10-02 Tom Tromey <tom@tromey.com>
6807
6808 * gdb.rust/simple.exp: Test ptype of a slice.
6809
01af5e0d
TT
68102017-10-02 Tom Tromey <tom@tromey.com>
6811
6812 * gdb.rust/simple.exp: Test index of slice.
6813
a9bbfbd8
TT
68142017-09-27 Tom Tromey <tom@tromey.com>
6815
6816 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
6817
df8899e5
TP
68182017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
6819 Pedro Alves <palves@redhat.com>
6820
6821 * gdb.base/compare-sections.exp (get value of read-only section): Read
6822 as unsigned value.
6823 (corrupt read-only section): Likewise and don't set written if patching
6824 failed.
6825
757bf54b
KB
68262017-09-21 Kevin Buettner <kevinb@redhat.com>
6827
6828 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
6829 files.
6830
06871ae8
PA
68312017-09-20 Pedro Alves <palves@redhat.com>
6832
6833 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
6834 symbol names in gdb's output.
6835 * gdb.cp/overload.exp ("list all overloads"): Likewise.
6836
e5f25bc5
PA
68372017-09-20 Pedro Alves <palves@redhat.com>
6838
6839 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
6840 Rename to ...
6841 (test_list_ambiguous_symbol): ... this and add a symbol name
6842 parameter. Adjust.
6843 (test_list_ambiguous_function): Reimplement on top of
6844 test_list_ambiguous_symbol and also test listing ambiguous
6845 variables.
6846 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
6847 (ambiguous_fun): ... this.
6848 (ambiguous_var): New.
6849 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
6850 (ambiguous_fun): ... this.
6851 (ambiguous_var): New.
6852
4e5a4f58
JB
68532017-09-19 John Baldwin <jhb@FreeBSD.org>
6854
6855 * gdb.base/starti.c: New file.
6856 * gdb.base/starti.exp: New file.
6857 * lib/gdb.exp (gdb_starti_cmd): New procedure.
6858
26e53f3e
PA
68592017-09-14 Pedro Alves <palves@redhat.com>
6860
6861 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
6862 (top level): Use it instead of runto.
6863
cb791d59
TT
68642017-09-11 Tom Tromey <tom@tromey.com>
6865
6866 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
6867
7c96f8c1
TT
68682017-09-11 Tom Tromey <tom@tromey.com>
6869
6870 * gdb.python/py-infthread.exp: Add tests for new_thread event.
6871 * gdb.python/py-inferior.exp: Add tests for new inferior events.
6872
469412dd
CW
68732017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
6874
6875 * gdb.fortran/printing-types.exp: New file.
6876 * gdb.fortran/printing-types.exp: New file.
6877
e0f86435
BH
68782017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
6879
6880 * gdb.fortran/vla-ptype.exp: Fix typos.
6881 * gdb.fortran/vla-value.exp: Same.
6882
9e9af4be
BH
68832017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
6884
6885 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
6886 * gdb.mi/mi-var-child-f.exp: Likewise.
6887 * gdb.mi/mi-vla-fortran.exp: Likewise.
6888
a5ad232b 68892017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
6890 Christoph Weinmann <christoph.t.weinmann@intel.com>
6891 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
6892
6893 * gdb.fortran/ptr-indentation.f90: New file.
6894 * gdb.fortran/ptr-indentation.exp: New file.
6895
5aec60eb
TT
68962017-09-05 Tom Tromey <tom@tromey.com>
6897
6898 PR gdb/22010:
6899 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
6900
8f8f8152
TP
69012017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
6902
6903 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
6904
fbd1b771
JK
69052017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6906
6907 * gdb.threads/tls-nodebug-pie.c: New file.
6908 * gdb.threads/tls-nodebug-pie.exp: New file.
6909
5eb5f850
TT
69102017-09-05 Tom Tromey <tom@tromey.com>
6911
6912 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
6913 for rust.
6914
ae780a21
SM
69152017-09-05 Simon Marchi <simon.marchi@ericsson.com>
6916
6917 * gdb.multi/multi-arch-exec.exp: Test with different
6918 "follow-exec-mode" settings.
6919 (do_test): New procedure.
6920
3693fdb3
PA
69212017-09-04 Pedro Alves <palves@redhat.com>
6922
6923 * gdb.base/func-static.c (S::method const, S::method volatile)
6924 (S::method volatile const): New methods.
6925 (c_s, v_s, cv_s): New instances.
6926 (main): Call method() on them.
6927 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
6928 (cannot_resolve): New procedure.
6929 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
6930 print-quote-unquoted columns.
6931 (do_test): Test printing each scope too.
6932
e68cb8e0
PA
69332017-09-04 Pedro Alves <palves@redhat.com>
6934
6935 * gdb.base/local-static.exp: Also test with
6936 class::method::variable wholly quoted.
6937 * gdb.cp/m-static.exp (class::method::variable): Remove test.
6938
858be34c
PA
69392017-09-04 Pedro Alves <palves@redhat.com>
6940
6941 * gdb.base/local-static.c: New.
6942 * gdb.base/local-static.cc: New.
6943 * gdb.base/local-static.exp: New.
6944
46a4882b
PA
69452017-09-04 Pedro Alves <palves@redhat.com>
6946
6947 * gdb.asm/asm-source.exp: Add casts to int.
6948 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
6949 (dataglobal64_1, dataglobal64_2): New globals.
6950 * gdb.base/nodebug.exp: Test different expressions involving the
6951 new globals, with print, whatis and ptype. Add casts to int.
6952 * gdb.base/solib-display.exp: Add casts to int.
6953 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
6954 * gdb.cp/m-static.exp: Add cast to int.
6955 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
6956 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
6957 tls variable with no debug info without a cast. Test with a cast
6958 to int too.
6959 * gdb.trace/entry-values.exp: Add casts.
6960
2c5a2be1
PA
69612017-09-04 Pedro Alves <palves@redhat.com>
6962
6963 * gdb.base/nodebug.exp: Test that ptype's error about functions
6964 with unknown return type includes the function name too.
6965
7022349d
PA
69662017-09-04 Pedro Alves <palves@redhat.com>
6967
6968 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
6969 return type of munmap in infcall.
6970 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
6971 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
6972 type of ftell in infcall.
6973 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
6974 type of getpid in infcall.
6975 * gdb.base/infcall-exec.exp: Cast return type of execlp in
6976 infcall.
6977 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
6978 Bail on failure to extract the pid.
6979 * gdb.base/nodebug.c: #include <stdint.h>.
6980 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
6981 New functions.
6982 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
6983 Change expected output of print/whatis/ptype with functions with
6984 no debug info. Test all supported languages. Call
6985 test_call_promotion.
6986 * gdb.compile/compile.exp: Adjust expected output to expect
6987 warning.
6988 * gdb.threads/siginfo-threads.exp: Likewise.
6989
54990598
PA
69902017-09-04 Pedro Alves <palves@redhat.com>
6991
6992 * gdb.base/callfuncs.exp (do_function_calls): New parameter
6993 "prototypes". Test calling float functions via prototyped and
6994 unprototyped function pointers.
6995 (perform_all_tests): New parameter "prototypes". Pass it down.
6996 (top level): Pass down "prototypes" parameter to
6997 perform_all_tests.
6998
34d16ea2
SM
69992017-09-04 Simon Marchi <simon.marchi@ericsson.com>
7000
7001 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
7002 Test with nested loops.
7003
9521ecda
SM
70042017-09-04 Simon Marchi <simon.marchi@ericsson.com>
7005
7006 * gdb.base/commands.exp: Call the new procedures.
7007 (loop_break_test, loop_continue_test): New procedures.
7008
80a65e9b
SM
70092017-09-04 Simon Marchi <simon.marchi@ericsson.com>
7010
7011 * gdb.base/commands.exp: Call new procedure.
7012 (define_if_without_arg_test): New procedure.
7013
e439fa14
PA
70142017-09-04 Pedro Alves <palves@redhat.com>
7015
7016 * gdb.base/list-ambiguous.exp: New file.
7017 * gdb.base/list-ambiguous0.c: New file.
7018 * gdb.base/list-ambiguous1.c: New file.
7019 * gdb.base/list.exp (test_list_range): Adjust expected output.
7020
0a2dde4a
SDJ
70212017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
7022
7023 * gdb.base/share-env-with-gdbserver.c: New file.
7024 * gdb.base/share-env-with-gdbserver.exp: Likewise.
7025
5e89eb3a
SM
70262017-08-28 Simon Marchi <simon.marchi@ericsson.com>
7027
7028 * gdb.base/commands.exp (gdbvar_simple_if_test,
7029 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
7030 progvar_simple_if_test, progvar_simple_while_test,
7031 progvar_complex_if_while_test, user_defined_command_test,
7032 user_defined_command_args_eval,
7033 user_defined_command_args_stack_test,
7034 user_defined_command_manyargs_test, bp_deleted_in_command_test,
7035 temporary_breakpoint_commands,
7036 gdb_test_no_prompt, redefine_hook_test,
7037 redefine_backtrace_test): Remove "global gdb_prompt".
7038
fd437cbc
SM
70392017-08-28 Simon Marchi <simon.marchi@ericsson.com>
7040
7041 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
7042 New proc, call it from toplevel.
7043
87215ad1
SDJ
70442017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
7045
7046 PR remote/21852
7047 * gdb.server/normal.c: New file, copied from gdb.base.
7048 * gdb.server/run-without-local-binary.exp: New file.
7049
58afddc6
WP
70502017-08-07 Weimin Pan <weimin.pan@oracle.com>
7051
7052 * gdb.arch/sparc64-adi.exp: New file.
7053 * gdb.arch/sparc64-adi.c: New file.
7054
5277199a
PA
70552017-08-22 Pedro Alves <palves@redhat.com>
7056
7057 * gdb.cp/overload.exp (line_range_pattern): New procedure.
7058 (top level): Add "list all overloads" tests.
7059
14278e1f
TT
70602017-08-22 Tom Tromey <tom@tromey.com>
7061
7062 * gdb.gdb/xfullpath.exp: Remove.
7063
bf223d3e
PA
70642017-08-21 Pedro Alves <palves@redhat.com>
7065
7066 PR gdb/19487
7067 * gdb.base/symbol-alias.c: New.
7068 * gdb.base/symbol-alias2.c: New.
7069 * gdb.base/symbol-alias.exp: New.
7070
c973d0aa
PA
70712017-08-21 Pedro Alves <palves@redhat.com>
7072
7073 * gdb.base/dfp-test.c
7074 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
7075 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
7076 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
7077 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
7078 * gdb.base/whatis-ptype-typedefs.c: New.
7079 * gdb.base/whatis-ptype-typedefs.exp: New.
7080 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
7081 (an_int, an_int_type, an_int_type2): New globals.
7082 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
7083 involving typedefs and cast expressions.
7084 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
7085 (lookup_typedefs_function): New.
7086 (typedefs_pretty_printers_dict): New.
7087 (top level): Register lookup_typedefs_function in
7088 gdb.pretty_printers.
7089
6d580b63
YQ
70902017-08-18 Yao Qi <yao.qi@linaro.org>
7091
7092 * gdb.server/unittest.exp: New.
7093
206726fb
SDJ
70942017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
7095
7096 PR gdb/21954
7097 * gdb.base/environ.exp: Add test to check if 'unset environment'
7098 works.
7099
bf0ec4c2
AA
71002017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7101
7102 * lib/gdb.exp (universal_compile_options): New caching proc.
7103 (gdb_compile): Suppress GCC's coloring of messages.
7104
d6382fff
TT
71052017-08-14 Tom Tromey <tom@tromey.com>
7106
7107 PR gdb/21675:
7108 * gdb.base/printcmds.exp (test_radices): New function.
7109 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
7110 * gdb.base/sizeof.exp (check_valueof): Use p/d.
7111 * lib/gdb.exp (get_integer_valueof): Use p/d.
7112
c2c2dd9f
SM
71132017-08-12 Simon Marchi <simon.marchi@ericsson.com>
7114
7115 * lib/gdb.exp (get_valueof): Don't capture end-of-line
7116 characters.
7117
fdffd6f4
TT
71182017-08-05 Tom Tromey <tom@tromey.com>
7119
7120 * gdb.rust/simple.exp: Allow String to appear in a different
7121 namespace.
7122
27d41eac
YQ
71232017-07-26 Yao Qi <yao.qi@linaro.org>
7124
7125 * gdb.gdb/unittest.exp: Invoke command
7126 "maintenance check xml-descriptions".
7127
031ed05d
AA
71282017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
7129
7130 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
7131 calling context.
7132 (hex128): Drop erroneous calculation of parameters.
7133
dcd27ddf
SM
71342017-07-22 Simon Marchi <simon.marchi@ericsson.com>
7135
7136 * gdb.python/py-unwind.exp: Disable stack protection when
7137 building test file.
7138
47e77640
PA
71392017-07-20 Pedro Alves <palves@redhat.com>
7140
7141 * gdb.base/default.exp (set language): Adjust expected output.
7142
62d2a18a
PA
71432017-07-20 Pedro Alves <palves@redhat.com>
7144
7145 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
7146 (test_minsym): ... this, and make static.
7147 (get_pck__foo__bar__minsym): Rename to ...
7148 (get_test_minsym): ... this.
7149 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
7150 symbol names and comments.
7151 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
7152 (get_test_minsym): ... this.
7153 (pck__foo__bar__minsym__2): Rename to ...
7154 (test_minsym): ... this.
7155 (main): Adjust.
7156
c45ec17c
PA
71572017-07-17 Pedro Alves <palves@redhat.com>
7158
7159 * gdb.base/completion.exp: Adjust expected output.
7160 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
7161 the completer works.
7162
c6756f62
PA
71632017-07-17 Pedro Alves <palves@redhat.com>
7164
7165 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
7166
5bd68487
AB
71672017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
7168
7169 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
7170
8880f2a9
TT
71712017-07-14 Tom Tromey <tom@tromey.com>
7172
7173 PR rust/21764:
7174 * gdb.rust/simple.exp: Add tests.
7175
65547233
TT
71762017-07-14 Tom Tromey <tom@tromey.com>
7177
7178 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
7179
8f14146e
PA
71802017-07-14 Pedro Alves <palves@redhat.com>
7181
7182 * gdb.linespec/base/one/thefile.cc (z1): New function.
7183 * gdb.linespec/base/two/thefile.cc (z2): New function.
7184 * gdb.linespec/linespec.exp: Add tests.
7185
b4365d02
AB
71862017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
7187
7188 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
7189 to mi_create_breakpoint.
7190
5d2cbaa5
AB
71912017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
7192
7193 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
7194 mi_create_breakpoint.
7195
11cb5716
IB
71962017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
7197
7198 * gdb.dlang/demangle.exp: Update for demangling changes.
7199
03278692
TT
72002017-07-09 Tom Tromey <tom@tromey.com>
7201
7202 * gdb.dwarf2/shortpiece.exp: New file.
7203
33c5cd75
DB
72042017-07-06 David Blaikie <dblaikie@gmail.com>
7205
7206 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
7207 built from fissiont-multi-cu{1,2}.c.
7208 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
7209 except putting 'main' and 'func' in separate CUs in the same DWO file.
7210 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
7211 test.
7212 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
7213 test.
7214
8455d262
PA
72152017-07-06 Pedro Alves <palves@redhat.com>
7216
7217 * gdb.python/py-unwind.exp: Test flushregs.
7218
dc4bde35
SDJ
72192017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
7220
7221 PR cli/21688
7222 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
7223 tests for alias commands and trailing whitespace.
7224
51ed89aa
SDJ
72252017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
7226
7227 PR cli/21688
7228 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
7229 procedure. Call it.
7230
eb17d413
PA
72312017-06-29 Pedro Alves <palves@redhat.com>
7232
7233 * gdb.base/printcmds.exp: Add tests.
7234
41664b45
DG
72352017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
7236
7237 PR gdb/21337
7238 * gdb.base/reread-readsym.exp: New file.
7239 * gdb.base/reread-readsym.c: New file.
7240
75312ae3
KB
72412017-06-21 Kevin Buettner <kevinb@redhat.com>
7242
7243 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
7244 subpattern.
7245
66953522
PB
72462017-06-19 Peter Bergner <bergner@vnet.ibm.com>
7247
7248 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
7249 extended mnemonic.
7250 * gdb.arch/powerpc-power9.s: Likewise.
7251
5524b525
AA
72522017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7253
7254 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
7255 on 32-bit x86 targets. Exploit is_*_target macros where
7256 appropriate.
7257
03c8af18
AA
72582017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7259
7260 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
7261 register pieces.
7262
3bf31011
AA
72632017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7264
7265 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
7266 located in one or more DWARF pieces.
7267
805acca0
AA
72682017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7269
7270 * lib/gdb.exp (get_endianness): New proc.
7271 * gdb.arch/aarch64-fp.exp: Use it.
7272 * gdb.arch/altivec-regs.exp: Likewise.
7273 * gdb.arch/e500-regs.exp: Likewise.
7274 * gdb.arch/vsx-regs.exp: Likewise.
7275 * gdb.base/dump.exp: Likewise.
7276 * gdb.base/funcargs.exp: Likewise.
7277 * gdb.base/gnu_vector.exp: Likewise.
7278 * gdb.dwarf2/formdata16.exp: Likewise.
7279 * gdb.dwarf2/implptrpiece.exp: Likewise.
7280 * gdb.dwarf2/nonvar-access.exp: Likewise.
7281 * gdb.python/py-inferior.exp: Likewise.
7282 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
7283
e9352324
AA
72842017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7285
7286 PR gdb/21226
7287 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
7288 stack value pieces are taken from the LSB end.
7289
d5d1163e
AA
72902017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7291
7292 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
7293 variable at nonzero offset.
7294
0567c986
AA
72952017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7296
7297 * gdb.dwarf2/var-access.c: New file.
7298 * gdb.dwarf2/var-access.exp: New test.
7299 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
7300
973e9aab
TT
73012017-06-12 Tom Tromey <tom@tromey.com>
7302
7303 * gdb.dwarf2/formdata16.exp: Add tests.
7304
d9109c80
TT
73052017-06-12 Tom Tromey <tom@tromey.com>
7306
7307 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
7308
30a25466
TT
73092017-06-12 Tom Tromey <tom@tromey.com>
7310
7311 PR exp/16225:
7312 * gdb.reverse/i386-sse-reverse.exp: Update tests.
7313 * gdb.arch/vsx-regs.exp: Update tests.
7314 * gdb.arch/s390-vregs.exp (hex128): New proc.
7315 Update test.
7316 * gdb.arch/altivec-regs.exp: Update tests.
7317
aefd8b33
SDJ
73182017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
7319
7320 * gdb.base/startup-with-shell.c: New file.
7321 * gdb.base/startup-with-shell.exp: Likewise.
7322
2090129c
SDJ
73232017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
7324
7325 * gdb.server/non-existing-program.exp: Update regex in order to
7326 reflect the fact that gdbserver is now using fork_inferior (with a
7327 shell) to startup the inferior.
7328
8e86a419
SM
73292017-05-30 Simon Marchi <simon.marchi@ericsson.com>
7330
7331 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
7332 support function calls from GDB.
7333
e6cf65f2
TT
73342017-05-21 Tom Tromey <tom@tromey.com>
7335
7336 PR rust/21466:
7337 * gdb.rust/unsized.exp: New file.
7338 * gdb.rust/unsized.rs: New file.
7339
43cc5389
TT
73402017-05-19 Tom Tromey <tom@tromey.com>
7341
7342 PR rust/21484:
7343 * gdb.rust/watch.exp: New file.
7344 * gdb.rust/watch.rs: New file.
7345
ec8df234
TT
73462017-05-18 Tom Tromey <tom@tromey.com>
7347
7348 * gdb.rust/simple.exp: Allow Box to be qualified.
7349
3e3e7fae
TP
73502017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
7351
7352 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
7353
59cc050d
PA
73542017-05-18 Pedro Alves <palves@redhat.com>
7355
7356 * gdb.base/fileio.c (test_write, test_read, test_close)
7357 (test_fstat): Don't print 'ret' in the fail path.
7358
c8f6abd1
PA
73592017-05-18 Pedro Alves <palves@redhat.com>
7360
7361 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
7362 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
7363 (test_system, test_rename, test_unlink, test_time): Change
7364 prototypes.
7365 * gdb.base/fileio.exp (stop_msg): Adjust.
7366
d2a03b77
PA
73672017-05-18 Pedro Alves <palves@redhat.com>
7368
7369 * gdb.base/fileio.c (null_str): New global.
7370 (test_stat): Use it.
7371 * gdb.base/fileio.exp: Remove nowarnings.
7372
0d5c6999
YQ
73732017-05-17 Yao Qi <yao.qi@linaro.org>
7374
7375 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
7376
21873064
YQ
73772017-05-17 Simon Marchi <simon.marchi@ericsson.com>
7378
7379 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
7380 argument command.
7381 (top-level): Invoke test_set_inferior_tty.
7382
d512d31c
PA
73832017-05-04 Pedro Alves <palves@redhat.com>
7384
7385 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
7386 Add parens to print call for Python 3.
7387
90cef2ed
KS
73882017-05-03 Keith Seitz <keiths@redhat.com>
7389
7390 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
7391 (main): Call it.
7392
14f819c8
TW
73932017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7394
7395 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
7396 to prev and next.
7397
913aeadd
TW
73982017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7399
7400 * gdb.python/py-record-btrace.exp: Remove test for
7401 gdb.BtraceInstruction.error.
7402
a3be24ad
TW
74032017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7404
7405 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
7406
ae20e79a
TW
74072017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7408
7409 * gdb.python/py-record-btrace-threads.c: New file.
7410 * gdb.python/py-record-btrace-threads.exp: New file.
7411
45ce1b47
SDJ
74122017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
7413
7414 PR testsuite/8595
7415 * gdb.base/environ.exp: Make test available in all architectures.
7416 Move bits related to "info program" testing to
7417 gdb.base/info-program.exp. Rewrite tests to use the two new
7418 procedures mentione below.
7419 (test_set_show_env_var) New procedure.
7420 (test_set_show_env_var_equal): Likewise.
7421 * gdb.base/info-program.exp: New file.
7422
e15c3eb4
KS
74232017-04-27 Keith Seitz <keiths@redhat.com>
7424
7425 * gdb.cp/oranking.cc (test15): New function.
7426 (main): Call test15 and declare additional variables for testing.
7427 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
7428 "p foo101('abc')" tests.
7429 Add tests for cv qualifier overloads.
7430 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
7431 "lvalue reference overload" test.
7432 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
7433 "print value of f1 on Child&& in f2" test.
7434
3a3fd0fd
PA
74352017-04-19 Pedro Alves <palves@redhat.com>
7436
7437 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
7438 procedure.
7439 (top level): Call it.
7440 * lib/gdb.exp (gdb_define_cmd): New procedure.
7441
53375380
PA
74422017-04-12 Pedro Alves <palves@redhat.com>
7443
7444 PR gdb/21323
7445 * gdb.cp/wide_char_types.c: Include <wchar.h>.
7446 (wchar): New global.
7447 * gdb.cp/wide_char_types.exp (wide_char_types_program)
7448 (do_test_wide_char, wide_char_types_no_program, top level): Add
7449 wchar_t testing.
7450
53e710ac
PA
74512017-04-12 Pedro Alves <palves@redhat.com>
7452
7453 PR c++/21323
7454 * gdb.cp/wide_char_types.c: New file.
7455 * gdb.cp/wide_char_types.exp: New file.
7456
0ad9d8c7
SDJ
74572017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
7458
7459 PR gdb/21352
7460 * gdb.trace/tsv.exp: Add test for "tsave -r".
7461
b1b45502
IB
74622017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
7463
7464 * gdb.dlang/watch-loc.c: New file.
7465 * gdb.dlang/watch-loc.exp: New file.
7466
ec13808e
JK
74672017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7468
7469 * gdb.python/py-section-script.exp (sepdebug): New testcases.
7470
fe5f7374
AK
74712017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
7472
7473 * gdb.arch/arc-analyze-prologue.S: New file.
7474 * gdb.arch/arc-analyze-prologue.exp: Likewise.
7475
eea78757
AK
74762017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
7477
7478 * gdb.arch/arc-decode-insn.S: New file.
7479 * gdb.arch/arc-decode-insn.exp: Likewise.
7480
5badf10a
IR
74812017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
7482
7483 PR tdep/20928
7484 * gdb.arch/sparc64-regs.exp: New file.
7485 * gdb.arch/sparc64-regs.S: Likewise.
7486
cee59b3f
TW
74872017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
7488
7489 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
7490 and memory view on Python 3.
7491
c0f55cc6
AV
74922017-03-20 Artemiy Volkov <artemiyv@acm.org>
7493 Keith Seitz <keiths@redhat.com>
7494
7495 PR gdb/14441
7496 * gdb.cp/demangle.exp: Add rvalue reference tests.
7497 * gdb.cp/rvalue-ref-casts.cc: New file.
7498 * gdb.cp/rvalue-ref-casts.exp: New file.
7499 * gdb.cp/rvalue-ref-overload.cc: New file.
7500 * gdb.cp/rvalue-ref-overload.exp: New file.
7501 * gdb.cp/rvalue-ref-params.cc: New file.
7502 * gdb.cp/rvalue-ref-params.exp: New file.
7503 * gdb.cp/rvalue-ref-sizeof.cc: New file.
7504 * gdb.cp/rvalue-ref-sizeof.exp: New file.
7505 * gdb.cp/rvalue-ref-types.cc: New file.
7506 * gdb.cp/rvalue-ref-types.exp: New file.
7507 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
7508 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
7509
51457a05
MAL
75102017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
7511
7512 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
7513 New procedure.
7514
5b291c04
MAL
75152017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
7516
7517 * lib/mi-support.exp (mi_gdb_test): Add additional message
7518 for unexpected output.
7519
59a56148
AA
75202017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
7521
7522 * gdb.base/examine-backward.c (Barrier): New character array
7523 constant, to ensure that TestStrings is preceded by a string
7524 terminator.
7525
7942e96e
AA
75262017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7527
7528 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
7529 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
7530 and implicit pointer into such a location.
7531
6ebac3fb
DE
75322017-03-16 Doug Evans <dje@google.com>
7533
7534 * gdb.python/py-lazy-string (pointer): Really add new typedef.
7535
ec3b243d
TP
75362017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
7537
7538 * gdb.cp/m-static.exp: Fix expectation for prototype of
7539 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
7540
75412017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
7542
7543 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
7544 * gdb.guile/scm-lazy-string.c: New file.
7545 * gdb.guile/scm-value.exp: Move lazy string tests to ...
7546 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
7547 for pointer, array, typedef lazy strings.
7548
2cc36e25 75492017-03-16 Doug Evans <dje@google.com>
34b43320
DE
7550
7551 PR python/17728, python/18439, python/18779
7552 * gdb.python/py-value.c (main) Delete locals sptr, sn.
7553 * gdb.python/py-lazy-string.c (pointer): New typedef.
7554 (main): New locals ptr, array, typedef_ptr.
7555 * gdb.python/py-value.exp: Move lazy string tests to ...
7556 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
7557 array, typedef lazy strings.
ec3b243d 7558
0efcde63
AK
75592017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
7560
7561 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
7562 Add optional 'test' parameter.
7563
7978d7c3
SM
75642017-03-13 Simon Marchi <simon.marchi@ericsson.com>
7565
7566 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
7567 Skip for versions of DejaGnu < 1.5.
7568
896c0c1e
SM
75692017-03-13 Simon Marchi <simon.marchi@ericsson.com>
7570
7571 * lib/gdb.exp (dejagnu_version): New proc.
7572 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
7573 Use dejagnu_version.
7574
5f4d1085
KS
75752017-03-10 Keith Seitz <keiths@redhat.com>
7576
7577 PR c++/8128
7578 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
7579 type from destructor regexps.
7580 Add a branch which actually passes the test.
7581 Adjust "ptype t5i" test names.
7582
1de05205
PA
75832017-03-08 Pedro Alves <palves@redhat.com>
7584
7585 * gdb.base/step-over-exit.exp: Add explicit test message.
7586
c65d6b55
PA
75872017-03-08 Pedro Alves <palves@redhat.com>
7588
7589 PR gdb/18360
7590 * gdb.threads/interrupt-while-step-over.c: New file.
7591 * gdb.threads/interrupt-while-step-over.exp: New file.
7592
2e86a283
PA
75932017-03-08 Pedro Alves <palves@redhat.com>
7594
7595 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
7596 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
7597
25dcbff6
PA
75982017-03-08 Pedro Alves <palves@redhat.com>
7599
7600 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
7601 PKRU as not supported as a PASS.
7602
dc9366eb
PA
76032017-03-08 Pedro Alves <palves@redhat.com>
7604
7605 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
7606 prefix instead of $binfile1/$binfile2.
7607 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
7608 in test message.
7609 * gdb.python/py-completion.exp: Use "load python file" as test
7610 messages instead of unstable path names.
7611
6e5d74e7
PA
76122017-03-08 Pedro Alves <palves@redhat.com>
7613 Jan Kratochvil <jan.kratochvil@redhat.com>
7614
7615 PR cli/21218
7616 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
7617 New proc.
7618 (top level): Call it.
7619
9753a2f6
PA
76202017-03-08 Pedro Alves <palves@redhat.com>
7621
7622 PR tui/21216
7623 * gdb.tui/tui-nl-filtered-output.exp: New file.
7624
1a4dd9dd
PA
76252017-03-08 Pedro Alves <palves@redhat.com>
7626
7627 * gdb.base/completion.exp: Move TUI completion tests to ...
7628 * gdb.tui/completion.exp: ... this new file.
7629
7cbbff33
PA
76302017-03-08 Pedro Alves <palves@redhat.com>
7631
7632 * gdb.base/tui-disasm-long-lines.c,
7633 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
7634 gdb.base/tui-layout.exp: Move to ...
7635 * gdb.tui/: ... this new directory.
7636
5f6fd321
PA
76372017-03-07 Pedro Alves <palves@redhat.com>
7638
7639 * gdb.base/tui-layout.c: New file.
7640 * gdb.base/tui-layout.exp: New file.
7641
44959fa8
PA
76422017-03-07 Pedro Alves <palves@redhat.com>
7643
7644 * gdb.base/tui-layout.c: Rename to ...
7645 * gdb.base/tui-disasm-long-lines.c: ... this.
7646 * gdb.base/tui-layout.exp: Rename to ...
7647 * gdb.base/tui-disasm-long-lines.exp: ... this.
7648
f8c4e718
PA
76492017-03-07 Pedro Alves <palves@redhat.com>
7650
7651 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
7652
6dbb839a 76532017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
7654
7655 * i386-mpx-call.c: New file.
7656 * i386-mpx-call.exp: New file.
7657
65b48a81
PB
76582017-02-28 Peter Bergner <bergner@vnet.ibm.com>
7659
7660 * gdb.arch/powerpc-power.exp: Delete test.
7661 * gdb.arch/powerpc-power.s: Likewise.
7662 * gdb.disasm/disassembler-options.exp: New test.
7663 * gdb.arch/powerpc-altivec.exp: Likewise.
7664 * gdb.arch/powerpc-altivec.s: Likewise.
7665 * gdb.arch/powerpc-altivec2.exp: Likewise.
7666 * gdb.arch/powerpc-altivec2.s: Likewise.
7667 * gdb.arch/powerpc-altivec3.exp: Likewise.
7668 * gdb.arch/powerpc-altivec3.s: Likewise.
7669 * gdb.arch/powerpc-power7.exp: Likewise.
7670 * gdb.arch/powerpc-power7.s: Likewise.
7671 * gdb.arch/powerpc-power8.exp: Likewise.
7672 * gdb.arch/powerpc-power8.s: Likewise.
7673 * gdb.arch/powerpc-power9.exp: Likewise.
7674 * gdb.arch/powerpc-power9.s: Likewise.
7675 * gdb.arch/powerpc-vsx.exp: Likewise.
7676 * gdb.arch/powerpc-vsx.s: Likewise.
7677 * gdb.arch/powerpc-vsx2.exp: Likewise.
7678 * gdb.arch/powerpc-vsx2.s: Likewise.
7679 * gdb.arch/powerpc-vsx3.exp: Likewise.
7680 * gdb.arch/powerpc-vsx3.s: Likewise.
7681 * gdb.arch/arm-disassembler-options.exp: Likewise.
7682 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
7683 * gdb.arch/s390-disassembler-options.exp: Likewise.
7684
17cd4947
LM
76852017-02-23 Luis Machado <lgustavo@codesourcery.com>
7686
7687 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
7688 (check_supported_features): ... this. Changed return type to void.
7689 (supports_rdseed): New static global.
7690 (rdseed): Check supports_rdseed.
7691 (initialize): Call check_supported_features.
7692
2039d74e
EBM
76932017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7694
7695 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
7696 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
7697 and lqarx/stqcx.
7698 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
7699 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
7700
a51d7ecf
EBM
77012017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7702
7703 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
7704 uppercase.
7705
0224619f
JK
77062017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7707
7708 * gdb.dwarf2/formdata16.c: New file.
7709 * gdb.dwarf2/formdata16.exp: New file.
7710 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
7711
216f72a1
JK
77122017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7713
7714 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
7715 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
7716 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
7717 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
7718 DW_AT_GNU_*.
7719
43988095
JK
77202017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7721
7722 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
7723
99e8a4f9
SDJ
77242017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
7725
7726 PR gdb/21164
7727 * gdb.base/maint.exp: Add testcases for when the commands do
7728 not have arguments.
7729
b58a8c0c
TP
77302017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
7731
7732 * gdb.cp/chained-calls.exp: Use p instead of P.
7733
4e746bb6
TW
77342017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
7735
7736 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
7737 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
7738
3f77c769
TT
77392017-02-14 Tom Tromey <tom@tromey.com>
7740
7741 PR python/13598:
7742 * gdb.python/py-events.exp: Add before_prompt event tests.
7743
075beec0
AA
77442017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7745
7746 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
7747
bf5f525c
LM
77482017-02-13 Luis Machado <lgustavo@codesourcery.com>
7749
7750 * gdb.linespec/explicit.c (my_unique_function_name): New function.
7751 (main): Call my_unique_function_name.
7752 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
7753 completion of patterns with a single match.
7754 Add missing -re switches to gdb_test_multiple calls.
7755
13a66184
LM
77562017-02-13 Luis Machado <lgustavo@codesourcery.com>
7757
7758 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
7759 return if core file is not recognized.
7760
26a06916
SM
77612017-02-10 Simon Marchi <simon.marchi@ericsson.com>
7762
7763 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
7764 and extra UIs.
7765
b761ca9e
SM
77662017-02-10 Simon Marchi <simon.marchi@ericsson.com>
7767
7768 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
7769 proc_with_prefix.
7770
b964bee0
TT
77712017-02-10 Tom Tromey <tom@tromey.com>
7772
7773 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
7774
18da0c51
MG
77752017-02-10 Martin Galvan <martingalvan@sourceware.org>
7776
7777 PR gdb/21122
7778 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
7779
604c4576
JG
77802017-02-08 Jerome Guitton <guitton@adacore.com>
7781
7782 * gdb.base/define.exp: Add test for command abbreviations
7783 in define.
7784
20b477a7
LM
77852017-02-06 Luis Machado <lgustavo@codesourcery.com>
7786
7787 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
7788 * gdb.reverse/insn-reverse-x86.c: New file.
7789
3f7b46f2
IR
77902017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
7791
7792 PR tdep/20936
7793 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
7794
f0fd41c1
TT
77952017-02-03 Tom Tromey <tom@tromey.com>
7796
7797 PR rust/21097:
7798 * gdb.rust/simple.exp: Add new tests.
7799
5be5dbf0
PA
78002017-02-02 Pedro Alves <palves@redhat.com>
7801
7802 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
7803 tests.
7804
7346ef59
AA
78052017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
7806
7807 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
7808 taking a 2-byte value out of a 4-byte DWARF implicit value on
7809 big-endian targets.
7810 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
7811 logic. Add test cases for DW_OP_implicit.
7812
787f0025
MM
78132017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7814
7815 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
7816
68777c29
MM
78172017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7818
7819 * gdb.btrace/enable.exp: Call gdb_exit before
7820 skip_gdbserver_tests.
7821
0a1c7e28
MM
78222017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7823
7824 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
7825 GDBFLAGS.
7826
b5ac99b0
MM
78272017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7828
7829 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
7830 the test is skipped.
7831 * gdb.btrace/data.exp: Likewise.
7832 * gdb.btrace/delta.exp: Likewise.
7833 * gdb.btrace/dlopen.exp: Likewise.
7834 * gdb.btrace/enable-running.exp: Likewise.
7835 * gdb.btrace/enable.exp: Likewise.
7836 * gdb.btrace/exception.exp: Likewise.
7837 * gdb.btrace/function_call_history.exp: Likewise.
7838 * gdb.btrace/gcore.exp: Likewise.
7839 * gdb.btrace/instruction_history.exp: Likewise.
7840 * gdb.btrace/multi-thread-step.exp: Likewise.
7841 * gdb.btrace/nohist.exp: Likewise.
7842 * gdb.btrace/non-stop.exp: Likewise.
7843 * gdb.btrace/reconnect.exp: Likewise.
7844 * gdb.btrace/record_goto-step.exp: Likewise.
7845 * gdb.btrace/record_goto.exp: Likewise.
7846 * gdb.btrace/rn-dl-bind.exp: Likewise.
7847 * gdb.btrace/segv.exp: Likewise.
7848 * gdb.btrace/step.exp: Likewise.
7849 * gdb.btrace/stepi.exp: Likewise.
7850 * gdb.btrace/tailcall-only.exp: Likewise.
7851 * gdb.btrace/tailcall.exp: Likewise.
7852 * gdb.btrace/tsx.exp: Likewise.
7853 * gdb.btrace/unknown_functions.exp: Likewise.
7854 * gdb.btrace/vdso.exp: Likewise.
7855
cd4007e4
MM
78562017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7857
7858 * gdb.btrace/enable-running.c: New.
7859 * gdb.btrace/enable-running.exp: New.
7860
2735833d
WT
78612017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
7862
7863 * gdb.arch/amd64-gs_base.c: New file.
7864 * gdb.arch/amd64-gs_base.exp: New file.
7865
b51e1e94
LM
78662017-01-26 Luis Machado <lgustavo@codesourcery.com>
7867
7868 * lib/memory.exp: Remove spurious empty newlines.
7869
72ca0410
SM
78702017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
7871
7872 * gdb.python/py-bad-printers.exp: Load python file using "source".
7873 * gdb.python/py-events.exp: Likewise.
7874 * gdb.python/py-evsignal.exp: Likewise.
7875 * gdb.python/py-evthreads.exp: Likewise.
7876 * gdb.python/py-frame-args.exp: Likewise.
7877 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
7878 * gdb.python/py-framefilter-mi.exp: Likewise.
7879 * gdb.python/py-framefilter.exp: Likewise.
7880 * gdb.python/py-mi.exp: Likewise.
7881 * gdb.python/py-pp-maint.exp: Likewise.
7882 * gdb.python/py-pp-registration.exp: Likewise.
7883 * gdb.python/py-prettyprint.exp: Likewise.
7884 (run_lang_tests): Likewise.
7885 * gdb.python/py-typeprint.exp: Likewise.
7886
e309aa65
LM
78872017-01-26 Luis Machado <lgustavo@codesourcery.com>
7888
7889 * lib/memory.exp: New file.
7890 * lib/gdb.exp: Load memory.exp.
7891 * gdb.base/memattr.exp (delete_memory): Move proc to
7892 lib/memory.exp and rename to delete_memory_regions.
7893 Replace delete_memory with delete_memory_regions.
7894 Cleanup memory regions before tests.
7895 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
7896 before tests.
7897
515aff23
LM
78982017-01-26 Luis Machado <lgustavo@codesourcery.com>
7899
7900 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
7901 files.
7902 (initialize): New function conditionally defined.
7903 (testcases): Move within conditional block.
7904 (main): Call initialize.
7905 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
7906 of gdb.reverse/insn-reverse.c.
7907 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
7908 gdb.reverse/insn-reverse.c.
7909
d8b49cf0
YQ
79102017-01-26 Yao Qi <yao.qi@linaro.org>
7911
7912 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
7913 disassemble on address 0.
7914
f13a9a0c
YQ
79152017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
7916 Yao Qi <yao.qi@linaro.org>
7917
7918 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
7919 * gdb.dwarf2/implptr-64bit.S: Remove.
7920 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
7921 variables in caller's context. Add DW_OP_implicit_value.
7922
5ac95241
YQ
79232017-01-25 Yao Qi <yao.qi@linaro.org>
7924
7925 * lib/dwarf.exp (Dwarf::_location): Handle
7926 DW_OP_GNU_implicit_pointer with proper size.
7927
23e82930
LM
79282017-01-20 Luis Machado <lgustavo@codesourcery.com>
7929
7930 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
7931 and add untested calls.
7932
d334ae25
LM
79332017-01-20 Luis Machado <lgustavo@codesourcery.com>
7934
7935 * gdb.python/python.exp: Check line number against what GDB thinks
7936 the line number is for func1.
7937
f5e6296e
IB
79382017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
7939
7940 * gdb.dlang/debug-expr.exp: New file.
7941
5b362f04
LM
79422016-12-23 Luis Machado <lgustavo@codesourcery.com>
7943
7944 Fix test names for the following files:
7945
7946 * gdb.ada/exec_changed.exp
7947 * gdb.ada/info_types.exp
7948 * gdb.arch/aarch64-atomic-inst.exp
7949 * gdb.arch/aarch64-fp.exp
7950 * gdb.arch/altivec-abi.exp
7951 * gdb.arch/altivec-regs.exp
7952 * gdb.arch/amd64-byte.exp
7953 * gdb.arch/amd64-disp-step.exp
7954 * gdb.arch/amd64-dword.exp
7955 * gdb.arch/amd64-entry-value-inline.exp
7956 * gdb.arch/amd64-entry-value-param.exp
7957 * gdb.arch/amd64-entry-value-paramref.exp
7958 * gdb.arch/amd64-entry-value.exp
7959 * gdb.arch/amd64-i386-address.exp
7960 * gdb.arch/amd64-invalid-stack-middle.exp
7961 * gdb.arch/amd64-invalid-stack-top.exp
7962 * gdb.arch/amd64-optimout-repeat.exp
7963 * gdb.arch/amd64-prologue-skip.exp
7964 * gdb.arch/amd64-prologue-xmm.exp
7965 * gdb.arch/amd64-stap-special-operands.exp
7966 * gdb.arch/amd64-stap-wrong-subexp.exp
7967 * gdb.arch/amd64-tailcall-cxx.exp
7968 * gdb.arch/amd64-tailcall-noret.exp
7969 * gdb.arch/amd64-tailcall-ret.exp
7970 * gdb.arch/amd64-tailcall-self.exp
7971 * gdb.arch/amd64-word.exp
7972 * gdb.arch/arm-bl-branch-dest.exp
7973 * gdb.arch/arm-disp-step.exp
7974 * gdb.arch/arm-neon.exp
7975 * gdb.arch/arm-single-step-kernel-helper.exp
7976 * gdb.arch/avr-flash-qualifier.exp
7977 * gdb.arch/disp-step-insn-reloc.exp
7978 * gdb.arch/e500-abi.exp
7979 * gdb.arch/e500-regs.exp
7980 * gdb.arch/ftrace-insn-reloc.exp
7981 * gdb.arch/i386-avx512.exp
7982 * gdb.arch/i386-bp_permanent.exp
7983 * gdb.arch/i386-byte.exp
7984 * gdb.arch/i386-cfi-notcurrent.exp
7985 * gdb.arch/i386-disp-step.exp
7986 * gdb.arch/i386-dr3-watch.exp
7987 * gdb.arch/i386-float.exp
7988 * gdb.arch/i386-gnu-cfi.exp
7989 * gdb.arch/i386-mpx-map.exp
7990 * gdb.arch/i386-mpx-sigsegv.exp
7991 * gdb.arch/i386-mpx-simple_segv.exp
7992 * gdb.arch/i386-mpx.exp
7993 * gdb.arch/i386-permbkpt.exp
7994 * gdb.arch/i386-prologue.exp
7995 * gdb.arch/i386-signal.exp
7996 * gdb.arch/i386-size-overlap.exp
7997 * gdb.arch/i386-unwind.exp
7998 * gdb.arch/i386-word.exp
7999 * gdb.arch/mips-fcr.exp
8000 * gdb.arch/powerpc-d128-regs.exp
8001 * gdb.arch/powerpc-stackless.exp
8002 * gdb.arch/ppc64-atomic-inst.exp
8003 * gdb.arch/s390-stackless.exp
8004 * gdb.arch/s390-tdbregs.exp
8005 * gdb.arch/s390-vregs.exp
8006 * gdb.arch/sparc-sysstep.exp
8007 * gdb.arch/thumb-bx-pc.exp
8008 * gdb.arch/thumb-singlestep.exp
8009 * gdb.arch/thumb2-it.exp
8010 * gdb.arch/vsx-regs.exp
8011 * gdb.asm/asm-source.exp
8012 * gdb.base/a2-run.exp
8013 * gdb.base/advance.exp
8014 * gdb.base/all-bin.exp
8015 * gdb.base/anon.exp
8016 * gdb.base/args.exp
8017 * gdb.base/arithmet.exp
8018 * gdb.base/async-shell.exp
8019 * gdb.base/async.exp
8020 * gdb.base/attach-pie-noexec.exp
8021 * gdb.base/attach-twice.exp
8022 * gdb.base/auto-load.exp
8023 * gdb.base/bang.exp
8024 * gdb.base/bitfields.exp
8025 * gdb.base/break-always.exp
8026 * gdb.base/break-caller-line.exp
8027 * gdb.base/break-entry.exp
8028 * gdb.base/break-inline.exp
8029 * gdb.base/break-on-linker-gcd-function.exp
8030 * gdb.base/break-probes.exp
8031 * gdb.base/break.exp
8032 * gdb.base/breakpoint-shadow.exp
8033 * gdb.base/call-ar-st.exp
8034 * gdb.base/call-sc.exp
8035 * gdb.base/call-signal-resume.exp
8036 * gdb.base/call-strs.exp
8037 * gdb.base/callfuncs.exp
8038 * gdb.base/catch-fork-static.exp
8039 * gdb.base/catch-gdb-caused-signals.exp
8040 * gdb.base/catch-load.exp
8041 * gdb.base/catch-signal-fork.exp
8042 * gdb.base/catch-signal.exp
8043 * gdb.base/catch-syscall.exp
8044 * gdb.base/charset.exp
8045 * gdb.base/checkpoint.exp
8046 * gdb.base/chng-syms.exp
8047 * gdb.base/code-expr.exp
8048 * gdb.base/code_elim.exp
8049 * gdb.base/commands.exp
8050 * gdb.base/completion.exp
8051 * gdb.base/complex.exp
8052 * gdb.base/cond-expr.exp
8053 * gdb.base/condbreak.exp
8054 * gdb.base/consecutive.exp
8055 * gdb.base/continue-all-already-running.exp
8056 * gdb.base/coredump-filter.exp
8057 * gdb.base/corefile.exp
8058 * gdb.base/dbx.exp
8059 * gdb.base/debug-expr.exp
8060 * gdb.base/define.exp
8061 * gdb.base/del.exp
8062 * gdb.base/disabled-location.exp
8063 * gdb.base/disasm-end-cu.exp
8064 * gdb.base/disasm-optim.exp
8065 * gdb.base/display.exp
8066 * gdb.base/duplicate-bp.exp
8067 * gdb.base/ena-dis-br.exp
8068 * gdb.base/ending-run.exp
8069 * gdb.base/enumval.exp
8070 * gdb.base/environ.exp
8071 * gdb.base/eu-strip-infcall.exp
8072 * gdb.base/eval-avoid-side-effects.exp
8073 * gdb.base/eval-skip.exp
8074 * gdb.base/exitsignal.exp
8075 * gdb.base/expand-psymtabs.exp
8076 * gdb.base/filesym.exp
8077 * gdb.base/find-unmapped.exp
8078 * gdb.base/finish.exp
8079 * gdb.base/float.exp
8080 * gdb.base/foll-exec-mode.exp
8081 * gdb.base/foll-exec.exp
8082 * gdb.base/foll-fork.exp
8083 * gdb.base/fortran-sym-case.exp
8084 * gdb.base/freebpcmd.exp
8085 * gdb.base/func-ptr.exp
8086 * gdb.base/func-ptrs.exp
8087 * gdb.base/funcargs.exp
8088 * gdb.base/gcore-buffer-overflow.exp
8089 * gdb.base/gcore-relro-pie.exp
8090 * gdb.base/gcore-relro.exp
8091 * gdb.base/gcore.exp
8092 * gdb.base/gdb1090.exp
8093 * gdb.base/gdb11530.exp
8094 * gdb.base/gdb11531.exp
8095 * gdb.base/gdb1821.exp
8096 * gdb.base/gdbindex-stabs.exp
8097 * gdb.base/gdbvars.exp
8098 * gdb.base/hbreak.exp
8099 * gdb.base/hbreak2.exp
8100 * gdb.base/included.exp
8101 * gdb.base/infcall-input.exp
8102 * gdb.base/inferior-died.exp
8103 * gdb.base/infnan.exp
8104 * gdb.base/info-macros.exp
8105 * gdb.base/info-os.exp
8106 * gdb.base/info-proc.exp
8107 * gdb.base/info-shared.exp
8108 * gdb.base/info-target.exp
8109 * gdb.base/infoline.exp
8110 * gdb.base/interp.exp
8111 * gdb.base/interrupt.exp
8112 * gdb.base/jit-reader.exp
8113 * gdb.base/jit-simple.exp
8114 * gdb.base/kill-after-signal.exp
8115 * gdb.base/kill-detach-inferiors-cmd.exp
8116 * gdb.base/label.exp
8117 * gdb.base/langs.exp
8118 * gdb.base/ldbl_e308.exp
8119 * gdb.base/line-symtabs.exp
8120 * gdb.base/linespecs.exp
8121 * gdb.base/list.exp
8122 * gdb.base/long_long.exp
8123 * gdb.base/longest-types.exp
8124 * gdb.base/maint.exp
8125 * gdb.base/max-value-size.exp
8126 * gdb.base/memattr.exp
8127 * gdb.base/mips_pro.exp
8128 * gdb.base/morestack.exp
8129 * gdb.base/moribund-step.exp
8130 * gdb.base/multi-forks.exp
8131 * gdb.base/nested-addr.exp
8132 * gdb.base/nextoverexit.exp
8133 * gdb.base/noreturn-finish.exp
8134 * gdb.base/noreturn-return.exp
8135 * gdb.base/nostdlib.exp
8136 * gdb.base/offsets.exp
8137 * gdb.base/opaque.exp
8138 * gdb.base/pc-fp.exp
8139 * gdb.base/permissions.exp
8140 * gdb.base/print-symbol-loading.exp
8141 * gdb.base/prologue-include.exp
8142 * gdb.base/psymtab.exp
8143 * gdb.base/ptype.exp
8144 * gdb.base/random-signal.exp
8145 * gdb.base/randomize.exp
8146 * gdb.base/range-stepping.exp
8147 * gdb.base/readline-ask.exp
8148 * gdb.base/recpar.exp
8149 * gdb.base/recurse.exp
8150 * gdb.base/relational.exp
8151 * gdb.base/restore.exp
8152 * gdb.base/return-nodebug.exp
8153 * gdb.base/return.exp
8154 * gdb.base/run-after-attach.exp
8155 * gdb.base/save-bp.exp
8156 * gdb.base/scope.exp
8157 * gdb.base/sect-cmd.exp
8158 * gdb.base/set-lang-auto.exp
8159 * gdb.base/set-noassign.exp
8160 * gdb.base/setvar.exp
8161 * gdb.base/sigall.exp
8162 * gdb.base/sigbpt.exp
8163 * gdb.base/siginfo-addr.exp
8164 * gdb.base/siginfo-infcall.exp
8165 * gdb.base/siginfo-obj.exp
8166 * gdb.base/siginfo.exp
8167 * gdb.base/signals-state-child.exp
8168 * gdb.base/signest.exp
8169 * gdb.base/sigstep.exp
8170 * gdb.base/sizeof.exp
8171 * gdb.base/skip.exp
8172 * gdb.base/solib-corrupted.exp
8173 * gdb.base/solib-nodir.exp
8174 * gdb.base/solib-search.exp
8175 * gdb.base/stack-checking.exp
8176 * gdb.base/stale-infcall.exp
8177 * gdb.base/stap-probe.exp
8178 * gdb.base/start.exp
8179 * gdb.base/step-break.exp
8180 * gdb.base/step-bt.exp
8181 * gdb.base/step-line.exp
8182 * gdb.base/step-over-exit.exp
8183 * gdb.base/step-over-syscall.exp
8184 * gdb.base/step-resume-infcall.exp
8185 * gdb.base/step-test.exp
8186 * gdb.base/store.exp
8187 * gdb.base/structs3.exp
8188 * gdb.base/sym-file.exp
8189 * gdb.base/symbol-without-target_section.exp
8190 * gdb.base/term.exp
8191 * gdb.base/testenv.exp
8192 * gdb.base/ui-redirect.exp
8193 * gdb.base/until.exp
8194 * gdb.base/unwindonsignal.exp
8195 * gdb.base/value-double-free.exp
8196 * gdb.base/vla-datatypes.exp
8197 * gdb.base/vla-ptr.exp
8198 * gdb.base/vla-sideeffect.exp
8199 * gdb.base/volatile.exp
8200 * gdb.base/watch-cond-infcall.exp
8201 * gdb.base/watch-cond.exp
8202 * gdb.base/watch-non-mem.exp
8203 * gdb.base/watch-read.exp
8204 * gdb.base/watch-vfork.exp
8205 * gdb.base/watchpoint-cond-gone.exp
8206 * gdb.base/watchpoint-delete.exp
8207 * gdb.base/watchpoint-hw-hit-once.exp
8208 * gdb.base/watchpoint-hw.exp
8209 * gdb.base/watchpoint-stops-at-right-insn.exp
8210 * gdb.base/watchpoints.exp
8211 * gdb.base/wchar.exp
8212 * gdb.base/whatis-exp.exp
8213 * gdb.btrace/buffer-size.exp
8214 * gdb.btrace/data.exp
8215 * gdb.btrace/delta.exp
8216 * gdb.btrace/dlopen.exp
8217 * gdb.btrace/enable.exp
8218 * gdb.btrace/exception.exp
8219 * gdb.btrace/function_call_history.exp
8220 * gdb.btrace/gcore.exp
8221 * gdb.btrace/instruction_history.exp
8222 * gdb.btrace/nohist.exp
8223 * gdb.btrace/reconnect.exp
8224 * gdb.btrace/record_goto-step.exp
8225 * gdb.btrace/record_goto.exp
8226 * gdb.btrace/rn-dl-bind.exp
8227 * gdb.btrace/segv.exp
8228 * gdb.btrace/step.exp
8229 * gdb.btrace/stepi.exp
8230 * gdb.btrace/tailcall-only.exp
8231 * gdb.btrace/tailcall.exp
8232 * gdb.btrace/tsx.exp
8233 * gdb.btrace/unknown_functions.exp
8234 * gdb.btrace/vdso.exp
8235 * gdb.compile/compile-ifunc.exp
8236 * gdb.compile/compile-ops.exp
8237 * gdb.compile/compile-print.exp
8238 * gdb.compile/compile-setjmp.exp
8239 * gdb.cp/abstract-origin.exp
8240 * gdb.cp/ambiguous.exp
8241 * gdb.cp/annota2.exp
8242 * gdb.cp/annota3.exp
8243 * gdb.cp/anon-ns.exp
8244 * gdb.cp/anon-struct.exp
8245 * gdb.cp/anon-union.exp
8246 * gdb.cp/arg-reference.exp
8247 * gdb.cp/baseenum.exp
8248 * gdb.cp/bool.exp
8249 * gdb.cp/breakpoint.exp
8250 * gdb.cp/bs15503.exp
8251 * gdb.cp/call-c.exp
8252 * gdb.cp/casts.exp
8253 * gdb.cp/chained-calls.exp
8254 * gdb.cp/class2.exp
8255 * gdb.cp/classes.exp
8256 * gdb.cp/cmpd-minsyms.exp
8257 * gdb.cp/converts.exp
8258 * gdb.cp/cp-relocate.exp
8259 * gdb.cp/cpcompletion.exp
8260 * gdb.cp/cpexprs.exp
8261 * gdb.cp/cplabel.exp
8262 * gdb.cp/cplusfuncs.exp
8263 * gdb.cp/cpsizeof.exp
8264 * gdb.cp/ctti.exp
8265 * gdb.cp/derivation.exp
8266 * gdb.cp/destrprint.exp
8267 * gdb.cp/dispcxx.exp
8268 * gdb.cp/enum-class.exp
8269 * gdb.cp/exception.exp
8270 * gdb.cp/exceptprint.exp
8271 * gdb.cp/expand-psymtabs-cxx.exp
8272 * gdb.cp/expand-sals.exp
8273 * gdb.cp/extern-c.exp
8274 * gdb.cp/filename.exp
8275 * gdb.cp/formatted-ref.exp
8276 * gdb.cp/fpointer.exp
8277 * gdb.cp/gdb1355.exp
8278 * gdb.cp/gdb2495.exp
8279 * gdb.cp/hang.exp
8280 * gdb.cp/impl-this.exp
8281 * gdb.cp/infcall-dlopen.exp
8282 * gdb.cp/inherit.exp
8283 * gdb.cp/iostream.exp
8284 * gdb.cp/koenig.exp
8285 * gdb.cp/local.exp
8286 * gdb.cp/m-data.exp
8287 * gdb.cp/m-static.exp
8288 * gdb.cp/mb-ctor.exp
8289 * gdb.cp/mb-inline.exp
8290 * gdb.cp/mb-templates.exp
8291 * gdb.cp/member-name.exp
8292 * gdb.cp/member-ptr.exp
8293 * gdb.cp/meth-typedefs.exp
8294 * gdb.cp/method.exp
8295 * gdb.cp/method2.exp
8296 * gdb.cp/minsym-fallback.exp
8297 * gdb.cp/misc.exp
8298 * gdb.cp/namelessclass.exp
8299 * gdb.cp/namespace-enum.exp
8300 * gdb.cp/namespace-nested-import.exp
8301 * gdb.cp/namespace.exp
8302 * gdb.cp/nextoverthrow.exp
8303 * gdb.cp/no-dmgl-verbose.exp
8304 * gdb.cp/non-trivial-retval.exp
8305 * gdb.cp/noparam.exp
8306 * gdb.cp/nsdecl.exp
8307 * gdb.cp/nsimport.exp
8308 * gdb.cp/nsnested.exp
8309 * gdb.cp/nsnoimports.exp
8310 * gdb.cp/nsrecurs.exp
8311 * gdb.cp/nsstress.exp
8312 * gdb.cp/nsusing.exp
8313 * gdb.cp/operator.exp
8314 * gdb.cp/oranking.exp
8315 * gdb.cp/overload-const.exp
8316 * gdb.cp/overload.exp
8317 * gdb.cp/ovldbreak.exp
8318 * gdb.cp/ovsrch.exp
8319 * gdb.cp/paren-type.exp
8320 * gdb.cp/parse-lang.exp
8321 * gdb.cp/pass-by-ref.exp
8322 * gdb.cp/pr-1023.exp
8323 * gdb.cp/pr-1210.exp
8324 * gdb.cp/pr-574.exp
8325 * gdb.cp/pr10687.exp
8326 * gdb.cp/pr12028.exp
8327 * gdb.cp/pr17132.exp
8328 * gdb.cp/pr17494.exp
8329 * gdb.cp/pr9067.exp
8330 * gdb.cp/pr9167.exp
8331 * gdb.cp/pr9631.exp
8332 * gdb.cp/printmethod.exp
8333 * gdb.cp/psmang.exp
8334 * gdb.cp/psymtab-parameter.exp
8335 * gdb.cp/ptype-cv-cp.exp
8336 * gdb.cp/ptype-flags.exp
8337 * gdb.cp/re-set-overloaded.exp
8338 * gdb.cp/ref-types.exp
8339 * gdb.cp/rtti.exp
8340 * gdb.cp/scope-err.exp
8341 * gdb.cp/shadow.exp
8342 * gdb.cp/smartp.exp
8343 * gdb.cp/static-method.exp
8344 * gdb.cp/static-print-quit.exp
8345 * gdb.cp/temargs.exp
8346 * gdb.cp/templates.exp
8347 * gdb.cp/try_catch.exp
8348 * gdb.cp/typedef-operator.exp
8349 * gdb.cp/typeid.exp
8350 * gdb.cp/userdef.exp
8351 * gdb.cp/using-crash.exp
8352 * gdb.cp/var-tag.exp
8353 * gdb.cp/virtbase.exp
8354 * gdb.cp/virtfunc.exp
8355 * gdb.cp/virtfunc2.exp
8356 * gdb.cp/vla-cxx.exp
8357 * gdb.disasm/t01_mov.exp
8358 * gdb.disasm/t02_mova.exp
8359 * gdb.disasm/t03_add.exp
8360 * gdb.disasm/t04_sub.exp
8361 * gdb.disasm/t05_cmp.exp
8362 * gdb.disasm/t06_ari2.exp
8363 * gdb.disasm/t07_ari3.exp
8364 * gdb.disasm/t08_or.exp
8365 * gdb.disasm/t09_xor.exp
8366 * gdb.disasm/t10_and.exp
8367 * gdb.disasm/t11_logs.exp
8368 * gdb.disasm/t12_bit.exp
8369 * gdb.disasm/t13_otr.exp
8370 * gdb.dlang/circular.exp
8371 * gdb.dwarf2/arr-stride.exp
8372 * gdb.dwarf2/arr-subrange.exp
8373 * gdb.dwarf2/atomic-type.exp
8374 * gdb.dwarf2/bad-regnum.exp
8375 * gdb.dwarf2/bitfield-parent-optimized-out.exp
8376 * gdb.dwarf2/callframecfa.exp
8377 * gdb.dwarf2/clztest.exp
8378 * gdb.dwarf2/corrupt.exp
8379 * gdb.dwarf2/data-loc.exp
8380 * gdb.dwarf2/dup-psym.exp
8381 * gdb.dwarf2/dw2-anon-mptr.exp
8382 * gdb.dwarf2/dw2-anonymous-func.exp
8383 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
8384 * gdb.dwarf2/dw2-bad-unresolved.exp
8385 * gdb.dwarf2/dw2-basic.exp
8386 * gdb.dwarf2/dw2-canonicalize-type.exp
8387 * gdb.dwarf2/dw2-case-insensitive.exp
8388 * gdb.dwarf2/dw2-common-block.exp
8389 * gdb.dwarf2/dw2-compdir-oldgcc.exp
8390 * gdb.dwarf2/dw2-compressed.exp
8391 * gdb.dwarf2/dw2-const.exp
8392 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
8393 * gdb.dwarf2/dw2-cu-size.exp
8394 * gdb.dwarf2/dw2-dup-frame.exp
8395 * gdb.dwarf2/dw2-entry-value.exp
8396 * gdb.dwarf2/dw2-icycle.exp
8397 * gdb.dwarf2/dw2-ifort-parameter.exp
8398 * gdb.dwarf2/dw2-inline-break.exp
8399 * gdb.dwarf2/dw2-inline-param.exp
8400 * gdb.dwarf2/dw2-intercu.exp
8401 * gdb.dwarf2/dw2-intermix.exp
8402 * gdb.dwarf2/dw2-lexical-block-bare.exp
8403 * gdb.dwarf2/dw2-linkage-name-trust.exp
8404 * gdb.dwarf2/dw2-minsym-in-cu.exp
8405 * gdb.dwarf2/dw2-noloc.exp
8406 * gdb.dwarf2/dw2-op-call.exp
8407 * gdb.dwarf2/dw2-op-out-param.exp
8408 * gdb.dwarf2/dw2-opt-structptr.exp
8409 * gdb.dwarf2/dw2-param-error.exp
8410 * gdb.dwarf2/dw2-producer.exp
8411 * gdb.dwarf2/dw2-ranges-base.exp
8412 * gdb.dwarf2/dw2-ref-missing-frame.exp
8413 * gdb.dwarf2/dw2-reg-undefined.exp
8414 * gdb.dwarf2/dw2-regno-invalid.exp
8415 * gdb.dwarf2/dw2-restore.exp
8416 * gdb.dwarf2/dw2-restrict.exp
8417 * gdb.dwarf2/dw2-single-line-discriminators.exp
8418 * gdb.dwarf2/dw2-strp.exp
8419 * gdb.dwarf2/dw2-undefined-ret-addr.exp
8420 * gdb.dwarf2/dw2-unresolved.exp
8421 * gdb.dwarf2/dw2-var-zero-addr.exp
8422 * gdb.dwarf2/dw4-sig-types.exp
8423 * gdb.dwarf2/dwz.exp
8424 * gdb.dwarf2/dynarr-ptr.exp
8425 * gdb.dwarf2/enum-type.exp
8426 * gdb.dwarf2/gdb-index.exp
8427 * gdb.dwarf2/implptr-64bit.exp
8428 * gdb.dwarf2/implptr-optimized-out.exp
8429 * gdb.dwarf2/implptr.exp
8430 * gdb.dwarf2/implref-array.exp
8431 * gdb.dwarf2/implref-const.exp
8432 * gdb.dwarf2/implref-global.exp
8433 * gdb.dwarf2/implref-struct.exp
8434 * gdb.dwarf2/mac-fileno.exp
8435 * gdb.dwarf2/main-subprogram.exp
8436 * gdb.dwarf2/member-ptr-forwardref.exp
8437 * gdb.dwarf2/method-ptr.exp
8438 * gdb.dwarf2/missing-sig-type.exp
8439 * gdb.dwarf2/nonvar-access.exp
8440 * gdb.dwarf2/opaque-type-lookup.exp
8441 * gdb.dwarf2/pieces-optimized-out.exp
8442 * gdb.dwarf2/pieces.exp
8443 * gdb.dwarf2/pr10770.exp
8444 * gdb.dwarf2/pr13961.exp
8445 * gdb.dwarf2/staticvirtual.exp
8446 * gdb.dwarf2/subrange.exp
8447 * gdb.dwarf2/symtab-producer.exp
8448 * gdb.dwarf2/trace-crash.exp
8449 * gdb.dwarf2/typeddwarf.exp
8450 * gdb.dwarf2/valop.exp
8451 * gdb.dwarf2/watch-notconst.exp
8452 * gdb.fortran/array-element.exp
8453 * gdb.fortran/charset.exp
8454 * gdb.fortran/common-block.exp
8455 * gdb.fortran/complex.exp
8456 * gdb.fortran/derived-type-function.exp
8457 * gdb.fortran/derived-type.exp
8458 * gdb.fortran/logical.exp
8459 * gdb.fortran/module.exp
8460 * gdb.fortran/multi-dim.exp
8461 * gdb.fortran/nested-funcs.exp
8462 * gdb.fortran/print-formatted.exp
8463 * gdb.fortran/subarray.exp
8464 * gdb.fortran/vla-alloc-assoc.exp
8465 * gdb.fortran/vla-datatypes.exp
8466 * gdb.fortran/vla-history.exp
8467 * gdb.fortran/vla-ptr-info.exp
8468 * gdb.fortran/vla-ptype-sub.exp
8469 * gdb.fortran/vla-ptype.exp
8470 * gdb.fortran/vla-sizeof.exp
8471 * gdb.fortran/vla-type.exp
8472 * gdb.fortran/vla-value-sub-arbitrary.exp
8473 * gdb.fortran/vla-value-sub-finish.exp
8474 * gdb.fortran/vla-value-sub.exp
8475 * gdb.fortran/vla-value.exp
8476 * gdb.fortran/whatis_type.exp
8477 * gdb.go/chan.exp
8478 * gdb.go/handcall.exp
8479 * gdb.go/hello.exp
8480 * gdb.go/integers.exp
8481 * gdb.go/methods.exp
8482 * gdb.go/package.exp
8483 * gdb.go/strings.exp
8484 * gdb.go/types.exp
8485 * gdb.go/unsafe.exp
8486 * gdb.guile/scm-arch.exp
8487 * gdb.guile/scm-block.exp
8488 * gdb.guile/scm-breakpoint.exp
8489 * gdb.guile/scm-cmd.exp
8490 * gdb.guile/scm-disasm.exp
8491 * gdb.guile/scm-equal.exp
8492 * gdb.guile/scm-frame-args.exp
8493 * gdb.guile/scm-frame-inline.exp
8494 * gdb.guile/scm-frame.exp
8495 * gdb.guile/scm-iterator.exp
8496 * gdb.guile/scm-math.exp
8497 * gdb.guile/scm-objfile.exp
8498 * gdb.guile/scm-ports.exp
8499 * gdb.guile/scm-symbol.exp
8500 * gdb.guile/scm-symtab.exp
8501 * gdb.guile/scm-value-cc.exp
8502 * gdb.guile/types-module.exp
8503 * gdb.linespec/break-ask.exp
8504 * gdb.linespec/cpexplicit.exp
8505 * gdb.linespec/explicit.exp
8506 * gdb.linespec/keywords.exp
8507 * gdb.linespec/linespec.exp
8508 * gdb.linespec/ls-dollar.exp
8509 * gdb.linespec/ls-errs.exp
8510 * gdb.linespec/skip-two.exp
8511 * gdb.linespec/thread.exp
8512 * gdb.mi/mi-async.exp
8513 * gdb.mi/mi-basics.exp
8514 * gdb.mi/mi-break.exp
8515 * gdb.mi/mi-catch-load.exp
8516 * gdb.mi/mi-cli.exp
8517 * gdb.mi/mi-cmd-param-changed.exp
8518 * gdb.mi/mi-console.exp
8519 * gdb.mi/mi-detach.exp
8520 * gdb.mi/mi-disassemble.exp
8521 * gdb.mi/mi-eval.exp
8522 * gdb.mi/mi-file-transfer.exp
8523 * gdb.mi/mi-file.exp
8524 * gdb.mi/mi-fill-memory.exp
8525 * gdb.mi/mi-inheritance-syntax-error.exp
8526 * gdb.mi/mi-linespec-err-cp.exp
8527 * gdb.mi/mi-logging.exp
8528 * gdb.mi/mi-memory-changed.exp
8529 * gdb.mi/mi-read-memory.exp
8530 * gdb.mi/mi-record-changed.exp
8531 * gdb.mi/mi-reg-undefined.exp
8532 * gdb.mi/mi-regs.exp
8533 * gdb.mi/mi-return.exp
8534 * gdb.mi/mi-reverse.exp
8535 * gdb.mi/mi-simplerun.exp
8536 * gdb.mi/mi-solib.exp
8537 * gdb.mi/mi-stack.exp
8538 * gdb.mi/mi-stepi.exp
8539 * gdb.mi/mi-syn-frame.exp
8540 * gdb.mi/mi-until.exp
8541 * gdb.mi/mi-var-block.exp
8542 * gdb.mi/mi-var-child.exp
8543 * gdb.mi/mi-var-cmd.exp
8544 * gdb.mi/mi-var-cp.exp
8545 * gdb.mi/mi-var-display.exp
8546 * gdb.mi/mi-var-invalidate.exp
8547 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
8548 * gdb.mi/mi-vla-fortran.exp
8549 * gdb.mi/mi-watch.exp
8550 * gdb.mi/mi2-var-child.exp
8551 * gdb.mi/user-selected-context-sync.exp
8552 * gdb.modula2/unbounded-array.exp
8553 * gdb.multi/dummy-frame-restore.exp
8554 * gdb.multi/multi-arch-exec.exp
8555 * gdb.multi/multi-arch.exp
8556 * gdb.multi/tids.exp
8557 * gdb.multi/watchpoint-multi.exp
8558 * gdb.opencl/callfuncs.exp
8559 * gdb.opencl/convs_casts.exp
8560 * gdb.opencl/datatypes.exp
8561 * gdb.opencl/operators.exp
8562 * gdb.opencl/vec_comps.exp
8563 * gdb.opt/clobbered-registers-O2.exp
8564 * gdb.opt/inline-break.exp
8565 * gdb.opt/inline-bt.exp
8566 * gdb.opt/inline-cmds.exp
8567 * gdb.opt/inline-locals.exp
8568 * gdb.pascal/case-insensitive-symbols.exp
8569 * gdb.pascal/floats.exp
8570 * gdb.pascal/gdb11492.exp
8571 * gdb.python/lib-types.exp
8572 * gdb.python/py-arch.exp
8573 * gdb.python/py-as-string.exp
8574 * gdb.python/py-bad-printers.exp
8575 * gdb.python/py-block.exp
8576 * gdb.python/py-breakpoint-create-fail.exp
8577 * gdb.python/py-breakpoint.exp
8578 * gdb.python/py-caller-is.exp
8579 * gdb.python/py-cmd.exp
8580 * gdb.python/py-explore-cc.exp
8581 * gdb.python/py-explore.exp
8582 * gdb.python/py-finish-breakpoint.exp
8583 * gdb.python/py-finish-breakpoint2.exp
8584 * gdb.python/py-frame-args.exp
8585 * gdb.python/py-frame-inline.exp
8586 * gdb.python/py-frame.exp
8587 * gdb.python/py-framefilter-mi.exp
8588 * gdb.python/py-infthread.exp
8589 * gdb.python/py-lazy-string.exp
8590 * gdb.python/py-linetable.exp
8591 * gdb.python/py-mi-events.exp
8592 * gdb.python/py-mi-objfile.exp
8593 * gdb.python/py-mi.exp
8594 * gdb.python/py-objfile.exp
8595 * gdb.python/py-pp-integral.exp
8596 * gdb.python/py-pp-maint.exp
8597 * gdb.python/py-pp-re-notag.exp
8598 * gdb.python/py-pp-registration.exp
8599 * gdb.python/py-recurse-unwind.exp
8600 * gdb.python/py-strfns.exp
8601 * gdb.python/py-symbol.exp
8602 * gdb.python/py-symtab.exp
8603 * gdb.python/py-sync-interp.exp
8604 * gdb.python/py-typeprint.exp
8605 * gdb.python/py-unwind-maint.exp
8606 * gdb.python/py-unwind.exp
8607 * gdb.python/py-value-cc.exp
8608 * gdb.python/py-xmethods.exp
8609 * gdb.reverse/amd64-tailcall-reverse.exp
8610 * gdb.reverse/break-precsave.exp
8611 * gdb.reverse/break-reverse.exp
8612 * gdb.reverse/consecutive-precsave.exp
8613 * gdb.reverse/consecutive-reverse.exp
8614 * gdb.reverse/finish-precsave.exp
8615 * gdb.reverse/finish-reverse-bkpt.exp
8616 * gdb.reverse/finish-reverse.exp
8617 * gdb.reverse/fstatat-reverse.exp
8618 * gdb.reverse/getresuid-reverse.exp
8619 * gdb.reverse/i386-precsave.exp
8620 * gdb.reverse/i386-reverse.exp
8621 * gdb.reverse/i386-sse-reverse.exp
8622 * gdb.reverse/i387-env-reverse.exp
8623 * gdb.reverse/i387-stack-reverse.exp
8624 * gdb.reverse/insn-reverse.exp
8625 * gdb.reverse/machinestate-precsave.exp
8626 * gdb.reverse/machinestate.exp
8627 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8628 * gdb.reverse/pipe-reverse.exp
8629 * gdb.reverse/readv-reverse.exp
8630 * gdb.reverse/recvmsg-reverse.exp
8631 * gdb.reverse/rerun-prec.exp
8632 * gdb.reverse/s390-mvcle.exp
8633 * gdb.reverse/step-precsave.exp
8634 * gdb.reverse/step-reverse.exp
8635 * gdb.reverse/time-reverse.exp
8636 * gdb.reverse/until-precsave.exp
8637 * gdb.reverse/until-reverse.exp
8638 * gdb.reverse/waitpid-reverse.exp
8639 * gdb.reverse/watch-precsave.exp
8640 * gdb.reverse/watch-reverse.exp
8641 * gdb.rust/generics.exp
8642 * gdb.rust/methods.exp
8643 * gdb.rust/modules.exp
8644 * gdb.rust/simple.exp
8645 * gdb.server/connect-with-no-symbol-file.exp
8646 * gdb.server/ext-attach.exp
8647 * gdb.server/ext-restart.exp
8648 * gdb.server/ext-wrapper.exp
8649 * gdb.server/file-transfer.exp
8650 * gdb.server/server-exec-info.exp
8651 * gdb.server/server-kill.exp
8652 * gdb.server/server-mon.exp
8653 * gdb.server/wrapper.exp
8654 * gdb.stabs/exclfwd.exp
8655 * gdb.stabs/gdb11479.exp
8656 * gdb.threads/clone-new-thread-event.exp
8657 * gdb.threads/corethreads.exp
8658 * gdb.threads/current-lwp-dead.exp
8659 * gdb.threads/dlopen-libpthread.exp
8660 * gdb.threads/gcore-thread.exp
8661 * gdb.threads/sigstep-threads.exp
8662 * gdb.threads/watchpoint-fork.exp
8663 * gdb.trace/actions-changed.exp
8664 * gdb.trace/backtrace.exp
8665 * gdb.trace/change-loc.exp
8666 * gdb.trace/circ.exp
8667 * gdb.trace/collection.exp
8668 * gdb.trace/disconnected-tracing.exp
8669 * gdb.trace/ftrace.exp
8670 * gdb.trace/mi-trace-frame-collected.exp
8671 * gdb.trace/mi-trace-unavailable.exp
8672 * gdb.trace/mi-traceframe-changed.exp
8673 * gdb.trace/mi-tsv-changed.exp
8674 * gdb.trace/no-attach-trace.exp
8675 * gdb.trace/passc-dyn.exp
8676 * gdb.trace/qtro.exp
8677 * gdb.trace/range-stepping.exp
8678 * gdb.trace/read-memory.exp
8679 * gdb.trace/save-trace.exp
8680 * gdb.trace/signal.exp
8681 * gdb.trace/status-stop.exp
8682 * gdb.trace/tfile.exp
8683 * gdb.trace/trace-break.exp
8684 * gdb.trace/trace-buffer-size.exp
8685 * gdb.trace/trace-condition.exp
8686 * gdb.trace/tracefile-pseudo-reg.exp
8687 * gdb.trace/tstatus.exp
8688 * gdb.trace/unavailable.exp
8689 * gdb.trace/while-dyn.exp
8690 * gdb.trace/while-stepping.exp
8691
34c41c68
DE
86922016-12-22 Doug Evans <xdje42@gmail.com>
8693
8694 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
8695 and msymbols.
8696
16e69324
YQ
86972016-12-19 Yao Qi <yao.qi@linaro.org>
8698
8699 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
8700 (test_with_self): Don't call do_steps_and_nexts, and remove
8701 code about stepping into xmalloc.
8702
f94f411b
YQ
87032016-12-09 Yao Qi <yao.qi@linaro.org>
8704
8705 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
8706
87072016-12-09 Yao Qi <yao.qi@linaro.org>
8708
8709 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
8710
f1b5deee
PA
87112016-12-09 Pedro Alves <palves@redhat.com>
8712
8713 * gdb.base/all-architectures-0.exp: New file.
8714 * gdb.base/all-architectures-1.exp: New file.
8715 * gdb.base/all-architectures-2.exp: New file.
8716 * gdb.base/all-architectures-3.exp: New file.
8717 * gdb.base/all-architectures-4.exp: New file.
8718 * gdb.base/all-architectures-5.exp: New file.
8719 * gdb.base/all-architectures-6.exp: New file.
8720 * gdb.base/all-architectures-7.exp: New file.
8721 * gdb.base/all-architectures.exp.in: New file.
8722
364ca42e
YQ
87232016-12-09 Yao Qi <yao.qi@linaro.org>
8724
8725 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
8726
107c2d62
LM
87272016-12-02 Luis Machado <lgustavo@codesourcery.com>
8728
8729 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
8730 possible.
8731 Remove useless pattern-matching code.
8732
df3ee9ca
PA
87332016-12-02 Pedro Alves <palves@redhat.com>
8734
8735 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
8736 procedure.
8737 (top level): Call it.
8738
ec835369
PA
87392016-12-02 Pedro Alves <palves@redhat.com>
8740
8741 * gdb.base/commands.exp (user_defined_command_args_stack_test):
8742 New procedure.
8743 (top level): Call it.
8744
01770bbd
PA
87452016-12-02 Pedro Alves <palves@redhat.com>
8746
8747 PR cli/20559
8748 * gdb.base/commands.exp (user_defined_command_args_eval): New
8749 procedure.
8750 (top level): Call it.
8751
008459ea
LM
87522016-12-02 Luis Machado <lgustavo@codesourcery.com>
8753
8754 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
8755 timeout handling.
8756
0c1b455e
TT
87572016-12-02 Tom Tromey <tom@tromey.com>
8758
8759 * gdb.dwarf2/main-subprogram.c: New file.
8760 * gdb.dwarf2/main-subprogram.exp: New file.
8761
018572b8
LM
87622016-12-01 Luis Machado <lgustavo@codesourcery.com>
8763
8764 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
8765 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
8766 gdb_test_no_output for a couple of cases.
8767 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
8768
84c93cd5
LM
87692016-12-01 Luis Machado <lgustavo@codesourcery.com>
8770
8771 Fix test names and standardize compilation error messages throughout
8772 the following files:
8773
8774 * gdb.ada/start.exp
8775 * gdb.arch/alpha-step.exp
8776 * gdb.arch/e500-prologue.exp
8777 * gdb.arch/ftrace-insn-reloc.exp
8778 * gdb.arch/gdb1291.exp
8779 * gdb.arch/gdb1431.exp
8780 * gdb.arch/gdb1558.exp
8781 * gdb.arch/i386-dr3-watch.exp
8782 * gdb.arch/i386-sse-stack-align.exp
8783 * gdb.arch/ia64-breakpoint-shadow.exp
8784 * gdb.arch/pa-nullify.exp
8785 * gdb.arch/powerpc-aix-prologue.exp
8786 * gdb.arch/thumb-bx-pc.exp
8787 * gdb.base/annota1.exp
8788 * gdb.base/annota3.exp
8789 * gdb.base/arrayidx.exp
8790 * gdb.base/assign.exp
8791 * gdb.base/attach.exp
8792 * gdb.base/auxv.exp
8793 * gdb.base/bang.exp
8794 * gdb.base/bfp-test.exp
8795 * gdb.base/bigcore.exp
8796 * gdb.base/bitfields2.exp
8797 * gdb.base/break-fun-addr.exp
8798 * gdb.base/break-probes.exp
8799 * gdb.base/call-rt-st.exp
8800 * gdb.base/callexit.exp
8801 * gdb.base/catch-fork-kill.exp
8802 * gdb.base/charset.exp
8803 * gdb.base/checkpoint.exp
8804 * gdb.base/comprdebug.exp
8805 * gdb.base/constvars.exp
8806 * gdb.base/coredump-filter.exp
8807 * gdb.base/cursal.exp
8808 * gdb.base/cvexpr.exp
8809 * gdb.base/detach.exp
8810 * gdb.base/display.exp
8811 * gdb.base/dmsym.exp
8812 * gdb.base/dprintf-pending.exp
8813 * gdb.base/dso2dso.exp
8814 * gdb.base/dtrace-probe.exp
8815 * gdb.base/dump.exp
8816 * gdb.base/enum_cond.exp
8817 * gdb.base/exe-lock.exp
8818 * gdb.base/exec-invalid-sysroot.exp
8819 * gdb.base/execl-update-breakpoints.exp
8820 * gdb.base/exprs.exp
8821 * gdb.base/fileio.exp
8822 * gdb.base/find.exp
8823 * gdb.base/finish.exp
8824 * gdb.base/fixsection.exp
8825 * gdb.base/foll-vfork.exp
8826 * gdb.base/frame-args.exp
8827 * gdb.base/gcore.exp
8828 * gdb.base/gdb1250.exp
8829 * gdb.base/global-var-nested-by-dso.exp
8830 * gdb.base/gnu-ifunc.exp
8831 * gdb.base/hashline1.exp
8832 * gdb.base/hashline2.exp
8833 * gdb.base/hashline3.exp
8834 * gdb.base/hbreak-in-shr-unsupported.exp
8835 * gdb.base/huge.exp
8836 * gdb.base/infcall-input.exp
8837 * gdb.base/info-fun.exp
8838 * gdb.base/info-shared.exp
8839 * gdb.base/jit-simple.exp
8840 * gdb.base/jit-so.exp
8841 * gdb.base/jit.exp
8842 * gdb.base/jump.exp
8843 * gdb.base/label.exp
8844 * gdb.base/lineinc.exp
8845 * gdb.base/logical.exp
8846 * gdb.base/longjmp.exp
8847 * gdb.base/macscp.exp
8848 * gdb.base/miscexprs.exp
8849 * gdb.base/new-ui-echo.exp
8850 * gdb.base/new-ui-pending-input.exp
8851 * gdb.base/new-ui.exp
8852 * gdb.base/nodebug.exp
8853 * gdb.base/nofield.exp
8854 * gdb.base/offsets.exp
8855 * gdb.base/overlays.exp
8856 * gdb.base/pending.exp
8857 * gdb.base/pointers.exp
8858 * gdb.base/pr11022.exp
8859 * gdb.base/printcmds.exp
8860 * gdb.base/prologue.exp
8861 * gdb.base/ptr-typedef.exp
8862 * gdb.base/realname-expand.exp
8863 * gdb.base/relativedebug.exp
8864 * gdb.base/relocate.exp
8865 * gdb.base/remote.exp
8866 * gdb.base/reread.exp
8867 * gdb.base/return2.exp
8868 * gdb.base/savedregs.exp
8869 * gdb.base/sep.exp
8870 * gdb.base/sepdebug.exp
8871 * gdb.base/sepsymtab.exp
8872 * gdb.base/set-inferior-tty.exp
8873 * gdb.base/setshow.exp
8874 * gdb.base/shlib-call.exp
8875 * gdb.base/sigaltstack.exp
8876 * gdb.base/siginfo-addr.exp
8877 * gdb.base/signals.exp
8878 * gdb.base/signull.exp
8879 * gdb.base/sigrepeat.exp
8880 * gdb.base/so-impl-ld.exp
8881 * gdb.base/solib-display.exp
8882 * gdb.base/solib-overlap.exp
8883 * gdb.base/solib-search.exp
8884 * gdb.base/solib-symbol.exp
8885 * gdb.base/structs.exp
8886 * gdb.base/structs2.exp
8887 * gdb.base/symtab-search-order.exp
8888 * gdb.base/twice.exp
8889 * gdb.base/unload.exp
8890 * gdb.base/varargs.exp
8891 * gdb.base/watchpoint-solib.exp
8892 * gdb.base/watchpoint.exp
8893 * gdb.base/whatis.exp
8894 * gdb.base/wrong_frame_bt_full.exp
8895 * gdb.btrace/dlopen.exp
8896 * gdb.cell/ea-standalone.exp
8897 * gdb.cell/ea-test.exp
8898 * gdb.cp/dispcxx.exp
8899 * gdb.cp/gdb2384.exp
8900 * gdb.cp/method2.exp
8901 * gdb.cp/nextoverthrow.exp
8902 * gdb.cp/pr10728.exp
8903 * gdb.disasm/am33.exp
8904 * gdb.disasm/h8300s.exp
8905 * gdb.disasm/mn10300.exp
8906 * gdb.disasm/sh3.exp
8907 * gdb.dwarf2/dw2-dir-file-name.exp
8908 * gdb.fortran/complex.exp
8909 * gdb.fortran/library-module.exp
8910 * gdb.guile/scm-pretty-print.exp
8911 * gdb.guile/scm-symbol.exp
8912 * gdb.guile/scm-type.exp
8913 * gdb.guile/scm-value.exp
8914 * gdb.linespec/linespec.exp
8915 * gdb.mi/gdb701.exp
8916 * gdb.mi/gdb792.exp
8917 * gdb.mi/mi-breakpoint-changed.exp
8918 * gdb.mi/mi-dprintf-pending.exp
8919 * gdb.mi/mi-dprintf.exp
8920 * gdb.mi/mi-exit-code.exp
8921 * gdb.mi/mi-pending.exp
8922 * gdb.mi/mi-solib.exp
8923 * gdb.mi/new-ui-mi-sync.exp
8924 * gdb.mi/pr11022.exp
8925 * gdb.mi/user-selected-context-sync.exp
8926 * gdb.opt/solib-intra-step.exp
8927 * gdb.python/py-events.exp
8928 * gdb.python/py-finish-breakpoint.exp
8929 * gdb.python/py-mi.exp
8930 * gdb.python/py-prettyprint.exp
8931 * gdb.python/py-shared.exp
8932 * gdb.python/py-symbol.exp
8933 * gdb.python/py-template.exp
8934 * gdb.python/py-type.exp
8935 * gdb.python/py-value.exp
8936 * gdb.reverse/solib-precsave.exp
8937 * gdb.reverse/solib-reverse.exp
8938 * gdb.server/solib-list.exp
8939 * gdb.stabs/weird.exp
8940 * gdb.threads/reconnect-signal.exp
8941 * gdb.threads/stepi-random-signal.exp
8942 * gdb.trace/actions.exp
8943 * gdb.trace/ax.exp
8944 * gdb.trace/backtrace.exp
8945 * gdb.trace/change-loc.exp
8946 * gdb.trace/deltrace.exp
8947 * gdb.trace/ftrace-lock.exp
8948 * gdb.trace/ftrace.exp
8949 * gdb.trace/infotrace.exp
8950 * gdb.trace/mi-tracepoint-changed.exp
8951 * gdb.trace/packetlen.exp
8952 * gdb.trace/passcount.exp
8953 * gdb.trace/pending.exp
8954 * gdb.trace/range-stepping.exp
8955 * gdb.trace/report.exp
8956 * gdb.trace/stap-trace.exp
8957 * gdb.trace/tfind.exp
8958 * gdb.trace/trace-break.exp
8959 * gdb.trace/trace-condition.exp
8960 * gdb.trace/trace-enable-disable.exp
8961 * gdb.trace/trace-mt.exp
8962 * gdb.trace/tracecmd.exp
8963 * gdb.trace/tspeed.exp
8964 * gdb.trace/tsv.exp
8965 * lib/perftest.exp
8966
fb9feb35
LM
89672016-12-01 Luis Machado <lgustavo@codesourcery.com>
8968
8969 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
8970 with gdb_test_no_output.
8971 Use command as test name.
8972
cd2ddb6c
LM
89732016-12-01 Luis Machado <lgustavo@codesourcery.com>
8974
8975 Fix test names starting with uppercase throughout the files.
8976
8977 * gdb.ada/assign_1.exp
8978 * gdb.ada/boolean_expr.exp
8979 * gdb.base/arrayidx.exp
8980 * gdb.base/del.exp
8981 * gdb.base/gcore-buffer-overflow.exp
8982 * gdb.base/testenv.exp
8983 * gdb.compile/compile.exp
8984 * gdb.python/py-framefilter-invalidarg.exp
8985 * gdb.python/py-framefilter.exp
8986
bb95117e
LM
89872016-12-01 Luis Machado <lgustavo@codesourcery.com>
8988
8989 Fix test names starting with uppercase throughout the files.
8990
8991 * gdb.ada/array_return.exp
8992 * gdb.ada/expr_delims.exp
8993 * gdb.ada/mi_dyn_arr.exp
8994 * gdb.ada/mi_interface.exp
8995 * gdb.ada/mi_var_array.exp
8996 * gdb.ada/watch_arg.exp
8997 * gdb.arch/alpha-step.exp
8998 * gdb.arch/altivec-regs.exp
8999 * gdb.arch/e500-regs.exp
9000 * gdb.arch/powerpc-d128-regs.exp
9001 * gdb.base/arrayidx.exp
9002 * gdb.base/break.exp
9003 * gdb.base/checkpoint.exp
9004 * gdb.base/debug-expr.exp
9005 * gdb.base/dmsym.exp
9006 * gdb.base/radix.exp
9007 * gdb.base/sepdebug.exp
9008 * gdb.base/testenv.exp
9009 * gdb.base/watch_thread_num.exp
9010 * gdb.base/watchpoint-cond-gone.exp
9011 * gdb.cell/break.exp
9012 * gdb.cell/ea-cache.exp
9013 * gdb.compile/compile.exp
9014 * gdb.cp/gdb2495.exp
9015 * gdb.gdb/selftest.exp
9016 * gdb.gdb/xfullpath.exp
9017 * gdb.go/hello.exp
9018 * gdb.go/integers.exp
9019 * gdb.objc/basicclass.exp
9020 * gdb.pascal/hello.exp
9021 * gdb.pascal/integers.exp
9022 * gdb.python/py-breakpoint.exp
9023 * gdb.python/py-cmd.exp
9024 * gdb.python/py-linetable.exp
9025 * gdb.python/py-xmethods.exp
9026 * gdb.python/python.exp
9027 * gdb.reverse/consecutive-precsave.exp
9028 * gdb.reverse/finish-precsave.exp
9029 * gdb.reverse/i386-precsave.exp
9030 * gdb.reverse/machinestate-precsave.exp
9031 * gdb.reverse/sigall-precsave.exp
9032 * gdb.reverse/solib-precsave.exp
9033 * gdb.reverse/step-precsave.exp
9034 * gdb.reverse/until-precsave.exp
9035 * gdb.reverse/watch-precsave.exp
9036 * gdb.threads/leader-exit.exp
9037 * gdb.threads/pthreads.exp
9038 * gdb.threads/wp-replication.exp
9039 * gdb.trace/actions.exp
9040 * gdb.trace/mi-tsv-changed.exp
9041 * gdb.trace/tsv.exp
9042
de97fdd4
LM
90432016-12-01 Luis Machado <lgustavo@codesourcery.com>
9044
9045 Fix test names starting with uppercase throughout the files.
9046
9047 * gdb.arch/i386-bp_permanent.exp
9048 * gdb.arch/i386-gnu-cfi.exp
9049 * gdb.base/disasm-end-cu.exp
9050 * gdb.base/macscp.exp
9051 * gdb.base/pending.exp
9052 * gdb.base/watch_thread_num.exp
9053 * gdb.cp/exception.exp
9054 * gdb.cp/gdb2495.exp
9055 * gdb.cp/local.exp
9056 * gdb.python/py-evsignal.exp
9057 * gdb.python/python.exp
9058 * gdb.trace/tracecmd.exp
9059
9f058c10
LM
90602016-12-01 Luis Machado <lgustavo@codesourcery.com>
9061
9062 Fix test names starting with uppercase throughout the files.
9063
9064 * gdb.base/charset.exp
9065 * gdb.base/eval.exp
9066 * gdb.base/multi-forks.exp
9067 * gdb.guile/scm-progspace.exp
9068 * gdb.opencl/datatypes.exp
9069 * gdb.python/py-block.exp
9070 * gdb.python/py-function.exp
9071 * gdb.python/py-symbol.exp
9072 * gdb.python/py-symtab.exp
9073 * gdb.python/py-xmethods.exp
9074 * gdb.reverse/break-precsave.exp
9075 * gdb.reverse/break-reverse.exp
9076 * gdb.reverse/consecutive-precsave.exp
9077 * gdb.reverse/consecutive-reverse.exp
9078 * gdb.reverse/finish-precsave.exp
9079 * gdb.reverse/finish-reverse-bkpt.exp
9080 * gdb.reverse/finish-reverse.exp
9081 * gdb.reverse/fstatat-reverse.exp
9082 * gdb.reverse/getresuid-reverse.exp
9083 * gdb.reverse/i386-precsave.exp
9084 * gdb.reverse/i386-reverse.exp
9085 * gdb.reverse/i386-sse-reverse.exp
9086 * gdb.reverse/i387-stack-reverse.exp
9087 * gdb.reverse/insn-reverse.exp
9088 * gdb.reverse/machinestate-precsave.exp
9089 * gdb.reverse/machinestate.exp
9090 * gdb.reverse/next-reverse-bkpt-over-sr.exp
9091 * gdb.reverse/pipe-reverse.exp
9092 * gdb.reverse/readv-reverse.exp
9093 * gdb.reverse/recvmsg-reverse.exp
9094 * gdb.reverse/rerun-prec.exp
9095 * gdb.reverse/s390-mvcle.exp
9096 * gdb.reverse/sigall-precsave.exp
9097 * gdb.reverse/sigall-reverse.exp
9098 * gdb.reverse/solib-precsave.exp
9099 * gdb.reverse/solib-reverse.exp
9100 * gdb.reverse/step-precsave.exp
9101 * gdb.reverse/step-reverse.exp
9102 * gdb.reverse/time-reverse.exp
9103 * gdb.reverse/until-precsave.exp
9104 * gdb.reverse/until-reverse.exp
9105 * gdb.reverse/waitpid-reverse.exp
9106 * gdb.reverse/watch-precsave.exp
9107 * gdb.reverse/watch-reverse.exp
9108
cdc7edd7
LM
91092016-12-01 Luis Machado <lgustavo@codesourcery.com>
9110
9111 Fix test names starting with uppercase throughout the files.
9112
9113 * gdb.arch/i386-mpx-simple_segv.exp
9114 * gdb.arch/i386-mpx.exp
9115 * gdb.arch/i386-permbkpt.exp
9116 * gdb.arch/pa-nullify.exp
9117 * gdb.arch/powerpc-d128-regs.exp
9118 * gdb.arch/vsx-regs.exp
9119 * gdb.base/bfp-test.exp
9120 * gdb.base/break.exp
9121 * gdb.base/breakpoint-shadow.exp
9122 * gdb.base/callfuncs.exp
9123 * gdb.base/charset.exp
9124 * gdb.base/commands.exp
9125 * gdb.base/completion.exp
9126 * gdb.base/dfp-test.exp
9127 * gdb.base/echo.exp
9128 * gdb.base/ending-run.exp
9129 * gdb.base/eval.exp
9130 * gdb.base/expand-psymtabs.exp
9131 * gdb.base/float128.exp
9132 * gdb.base/floatn.exp
9133 * gdb.base/foll-exec-mode.exp
9134 * gdb.base/gdb1056.exp
9135 * gdb.base/gdb11531.exp
9136 * gdb.base/kill-after-signal.exp
9137 * gdb.base/multi-forks.exp
9138 * gdb.base/overlays.exp
9139 * gdb.base/pending.exp
9140 * gdb.base/sepdebug.exp
9141 * gdb.base/testenv.exp
9142 * gdb.base/valgrind-db-attach.exp
9143 * gdb.base/watch_thread_num.exp
9144 * gdb.base/watchpoint-cond-gone.exp
9145 * gdb.base/watchpoint.exp
9146 * gdb.base/watchpoints.exp
9147 * gdb.cp/arg-reference.exp
9148 * gdb.cp/baseenum.exp
9149 * gdb.cp/operator.exp
9150 * gdb.cp/shadow.exp
9151 * gdb.dwarf2/dw2-op-out-param.exp
9152 * gdb.dwarf2/dw2-reg-undefined.exp
9153 * gdb.go/chan.exp
9154 * gdb.go/hello.exp
9155 * gdb.go/integers.exp
9156 * gdb.go/methods.exp
9157 * gdb.go/package.exp
9158 * gdb.guile/scm-parameter.exp
9159 * gdb.guile/scm-progspace.exp
9160 * gdb.guile/scm-value.exp
9161 * gdb.mi/mi-pending.exp
9162 * gdb.mi/user-selected-context-sync.exp
9163 * gdb.multi/multi-attach.exp
9164 * gdb.multi/tids.exp
9165 * gdb.opt/clobbered-registers-O2.exp
9166 * gdb.pascal/floats.exp
9167 * gdb.pascal/integers.exp
9168 * gdb.python/py-block.exp
9169 * gdb.python/py-events.exp
9170 * gdb.python/py-parameter.exp
9171 * gdb.python/py-symbol.exp
9172 * gdb.python/py-symtab.exp
9173 * gdb.python/py-type.exp
9174 * gdb.python/py-value.exp
9175 * gdb.python/py-xmethods.exp
9176 * gdb.python/python.exp
9177 * gdb.reverse/break-precsave.exp
9178 * gdb.reverse/consecutive-precsave.exp
9179 * gdb.reverse/finish-precsave.exp
9180 * gdb.reverse/i386-precsave.exp
9181 * gdb.reverse/machinestate-precsave.exp
9182 * gdb.reverse/sigall-precsave.exp
9183 * gdb.reverse/solib-precsave.exp
9184 * gdb.reverse/step-precsave.exp
9185 * gdb.reverse/until-precsave.exp
9186 * gdb.reverse/watch-precsave.exp
9187 * gdb.server/ext-attach.exp
9188 * gdb.server/ext-restart.exp
9189 * gdb.server/ext-run.exp
9190 * gdb.server/ext-wrapper.exp
9191 * gdb.stabs/gdb11479.exp
9192 * gdb.stabs/weird.exp
9193 * gdb.threads/attach-many-short-lived-threads.exp
9194 * gdb.threads/kill.exp
9195 * gdb.threads/watchpoint-fork.exp
9196
bc6c7af4
LM
91972016-12-01 Luis Machado <lgustavo@codesourcery.com>
9198
9199 Fix test names starting with uppercase throughout all the files below.
9200
9201 * gdb.ada/array_return.exp
9202 * gdb.ada/catch_ex.exp
9203 * gdb.ada/info_exc.exp
9204 * gdb.ada/mi_catch_ex.exp
9205 * gdb.ada/mi_dyn_arr.exp
9206 * gdb.ada/mi_ex_cond.exp
9207 * gdb.ada/mi_exc_info.exp
9208 * gdb.ada/mi_interface.exp
9209 * gdb.ada/mi_task_arg.exp
9210 * gdb.ada/mi_task_info.exp
9211 * gdb.ada/mi_var_array.exp
9212 * gdb.arch/alpha-step.exp
9213 * gdb.arch/amd64-disp-step.exp
9214 * gdb.arch/arm-disp-step.exp
9215 * gdb.arch/disp-step-insn-reloc.exp
9216 * gdb.arch/e500-prologue.exp
9217 * gdb.arch/ftrace-insn-reloc.exp
9218 * gdb.arch/gdb1558.exp
9219 * gdb.arch/i386-bp_permanent.exp
9220 * gdb.arch/i386-disp-step.exp
9221 * gdb.arch/i386-float.exp
9222 * gdb.arch/i386-gnu-cfi.exp
9223 * gdb.arch/ia64-breakpoint-shadow.exp
9224 * gdb.arch/mips16-thunks.exp
9225 * gdb.arch/pa-nullify.exp
9226 * gdb.arch/powerpc-aix-prologue.exp
9227 * gdb.arch/powerpc-power.exp
9228 * gdb.arch/ppc-dfp.exp
9229 * gdb.arch/s390-tdbregs.exp
9230 * gdb.arch/spu-info.exp
9231 * gdb.arch/spu-ls.exp
9232 * gdb.arch/thumb-bx-pc.exp
9233 * gdb.base/advance.exp
9234 * gdb.base/annota-input-while-running.exp
9235 * gdb.base/arrayidx.exp
9236 * gdb.base/asmlabel.exp
9237 * gdb.base/async.exp
9238 * gdb.base/attach-wait-input.exp
9239 * gdb.base/auto-connect-native-target.exp
9240 * gdb.base/batch-preserve-term-settings.exp
9241 * gdb.base/bfp-test.exp
9242 * gdb.base/bigcore.exp
9243 * gdb.base/bp-permanent.exp
9244 * gdb.base/break-always.exp
9245 * gdb.base/break-fun-addr.exp
9246 * gdb.base/break-idempotent.exp
9247 * gdb.base/break-main-file-remove-fail.exp
9248 * gdb.base/break-probes.exp
9249 * gdb.base/break-unload-file.exp
9250 * gdb.base/break.exp
9251 * gdb.base/call-ar-st.exp
9252 * gdb.base/call-rt-st.exp
9253 * gdb.base/call-sc.exp
9254 * gdb.base/call-signal-resume.exp
9255 * gdb.base/call-strs.exp
9256 * gdb.base/callexit.exp
9257 * gdb.base/callfuncs.exp
9258 * gdb.base/catch-gdb-caused-signals.exp
9259 * gdb.base/catch-signal-siginfo-cond.exp
9260 * gdb.base/catch-syscall.exp
9261 * gdb.base/compare-sections.exp
9262 * gdb.base/cond-eval-mode.exp
9263 * gdb.base/condbreak-call-false.exp
9264 * gdb.base/consecutive-step-over.exp
9265 * gdb.base/cursal.exp
9266 * gdb.base/disabled-location.exp
9267 * gdb.base/disasm-end-cu.exp
9268 * gdb.base/display.exp
9269 * gdb.base/double-prompt-target-event-error.exp
9270 * gdb.base/dprintf-bp-same-addr.exp
9271 * gdb.base/dprintf-detach.exp
9272 * gdb.base/dprintf-next.exp
9273 * gdb.base/dprintf-non-stop.exp
9274 * gdb.base/dprintf-pending.exp
9275 * gdb.base/dso2dso.exp
9276 * gdb.base/ending-run.exp
9277 * gdb.base/enum_cond.exp
9278 * gdb.base/examine-backward.exp
9279 * gdb.base/exe-lock.exp
9280 * gdb.base/exec-invalid-sysroot.exp
9281 * gdb.base/execl-update-breakpoints.exp
9282 * gdb.base/execution-termios.exp
9283 * gdb.base/fileio.exp
9284 * gdb.base/fixsection.exp
9285 * gdb.base/foll-exec-mode.exp
9286 * gdb.base/foll-exec.exp
9287 * gdb.base/fork-running-state.exp
9288 * gdb.base/frame-args.exp
9289 * gdb.base/fullpath-expand.exp
9290 * gdb.base/func-ptr.exp
9291 * gdb.base/gcore-relro-pie.exp
9292 * gdb.base/gdb1090.exp
9293 * gdb.base/gdb1555.exp
9294 * gdb.base/global-var-nested-by-dso.exp
9295 * gdb.base/gnu-ifunc.exp
9296 * gdb.base/hbreak-in-shr-unsupported.exp
9297 * gdb.base/hbreak-unmapped.exp
9298 * gdb.base/hook-stop.exp
9299 * gdb.base/infcall-input.exp
9300 * gdb.base/info-fun.exp
9301 * gdb.base/info-shared.exp
9302 * gdb.base/interrupt-noterm.exp
9303 * gdb.base/jit-so.exp
9304 * gdb.base/jit.exp
9305 * gdb.base/line-symtabs.exp
9306 * gdb.base/list.exp
9307 * gdb.base/longjmp.exp
9308 * gdb.base/macscp.exp
9309 * gdb.base/max-value-size.exp
9310 * gdb.base/nodebug.exp
9311 * gdb.base/nofield.exp
9312 * gdb.base/overlays.exp
9313 * gdb.base/paginate-after-ctrl-c-running.exp
9314 * gdb.base/paginate-bg-execution.exp
9315 * gdb.base/paginate-inferior-exit.exp
9316 * gdb.base/pending.exp
9317 * gdb.base/pr11022.exp
9318 * gdb.base/printcmds.exp
9319 * gdb.base/ptr-typedef.exp
9320 * gdb.base/ptype.exp
9321 * gdb.base/randomize.exp
9322 * gdb.base/range-stepping.exp
9323 * gdb.base/realname-expand.exp
9324 * gdb.base/relativedebug.exp
9325 * gdb.base/remote.exp
9326 * gdb.base/savedregs.exp
9327 * gdb.base/sepdebug.exp
9328 * gdb.base/set-noassign.exp
9329 * gdb.base/shlib-call.exp
9330 * gdb.base/shreloc.exp
9331 * gdb.base/sigaltstack.exp
9332 * gdb.base/sigbpt.exp
9333 * gdb.base/siginfo-addr.exp
9334 * gdb.base/siginfo-obj.exp
9335 * gdb.base/siginfo-thread.exp
9336 * gdb.base/signest.exp
9337 * gdb.base/signull.exp
9338 * gdb.base/sigrepeat.exp
9339 * gdb.base/skip.exp
9340 * gdb.base/so-impl-ld.exp
9341 * gdb.base/solib-corrupted.exp
9342 * gdb.base/solib-disc.exp
9343 * gdb.base/solib-display.exp
9344 * gdb.base/solib-overlap.exp
9345 * gdb.base/solib-search.exp
9346 * gdb.base/solib-symbol.exp
9347 * gdb.base/source-execution.exp
9348 * gdb.base/sss-bp-on-user-bp-2.exp
9349 * gdb.base/sss-bp-on-user-bp.exp
9350 * gdb.base/stack-checking.exp
9351 * gdb.base/stale-infcall.exp
9352 * gdb.base/step-break.exp
9353 * gdb.base/step-line.exp
9354 * gdb.base/step-over-exit.exp
9355 * gdb.base/step-test.exp
9356 * gdb.base/structs.exp
9357 * gdb.base/sym-file.exp
9358 * gdb.base/symtab-search-order.exp
9359 * gdb.base/term.exp
9360 * gdb.base/type-opaque.exp
9361 * gdb.base/unload.exp
9362 * gdb.base/until-nodebug.exp
9363 * gdb.base/until.exp
9364 * gdb.base/unwindonsignal.exp
9365 * gdb.base/watch-cond.exp
9366 * gdb.base/watch-non-mem.exp
9367 * gdb.base/watch_thread_num.exp
9368 * gdb.base/watchpoint-reuse-slot.exp
9369 * gdb.base/watchpoint-solib.exp
9370 * gdb.base/watchpoint.exp
9371 * gdb.btrace/dlopen.exp
9372 * gdb.cell/arch.exp
9373 * gdb.cell/break.exp
9374 * gdb.cell/bt.exp
9375 * gdb.cell/core.exp
9376 * gdb.cell/data.exp
9377 * gdb.cell/dwarfaddr.exp
9378 * gdb.cell/ea-cache.exp
9379 * gdb.cell/ea-standalone.exp
9380 * gdb.cell/ea-test.exp
9381 * gdb.cell/f-regs.exp
9382 * gdb.cell/fork.exp
9383 * gdb.cell/gcore.exp
9384 * gdb.cell/mem-access.exp
9385 * gdb.cell/ptype.exp
9386 * gdb.cell/registers.exp
9387 * gdb.cell/sizeof.exp
9388 * gdb.cell/solib-symbol.exp
9389 * gdb.cell/solib.exp
9390 * gdb.compile/compile-tls.exp
9391 * gdb.cp/exception.exp
9392 * gdb.cp/gdb2495.exp
9393 * gdb.cp/local.exp
9394 * gdb.cp/mb-inline.exp
9395 * gdb.cp/mb-templates.exp
9396 * gdb.cp/pr10687.exp
9397 * gdb.cp/pr9167.exp
9398 * gdb.cp/scope-err.exp
9399 * gdb.cp/templates.exp
9400 * gdb.cp/virtfunc.exp
9401 * gdb.dwarf2/dw2-dir-file-name.exp
9402 * gdb.dwarf2/dw2-single-line-discriminators.exp
9403 * gdb.fortran/complex.exp
9404 * gdb.fortran/library-module.exp
9405 * gdb.guile/guile.exp
9406 * gdb.guile/scm-cmd.exp
9407 * gdb.guile/scm-frame-inline.exp
9408 * gdb.guile/scm-objfile.exp
9409 * gdb.guile/scm-pretty-print.exp
9410 * gdb.guile/scm-symbol.exp
9411 * gdb.guile/scm-type.exp
9412 * gdb.guile/scm-value.exp
9413 * gdb.linespec/keywords.exp
9414 * gdb.linespec/ls-errs.exp
9415 * gdb.linespec/macro-relative.exp
9416 * gdb.linespec/thread.exp
9417 * gdb.mi/mi-breakpoint-changed.exp
9418 * gdb.mi/mi-dprintf-pending.exp
9419 * gdb.mi/mi-fullname-deleted.exp
9420 * gdb.mi/mi-logging.exp
9421 * gdb.mi/mi-pending.exp
9422 * gdb.mi/mi-solib.exp
9423 * gdb.mi/new-ui-mi-sync.exp
9424 * gdb.mi/user-selected-context-sync.exp
9425 * gdb.multi/dummy-frame-restore.exp
9426 * gdb.multi/multi-arch-exec.exp
9427 * gdb.multi/remove-inferiors.exp
9428 * gdb.multi/watchpoint-multi-exit.exp
9429 * gdb.opt/solib-intra-step.exp
9430 * gdb.perf/backtrace.exp
9431 * gdb.perf/single-step.exp
9432 * gdb.perf/skip-command.exp
9433 * gdb.perf/skip-prologue.exp
9434 * gdb.perf/solib.exp
9435 * gdb.python/lib-types.exp
9436 * gdb.python/py-as-string.exp
9437 * gdb.python/py-bad-printers.exp
9438 * gdb.python/py-block.exp
9439 * gdb.python/py-breakpoint.exp
9440 * gdb.python/py-cmd.exp
9441 * gdb.python/py-events.exp
9442 * gdb.python/py-evthreads.exp
9443 * gdb.python/py-finish-breakpoint.exp
9444 * gdb.python/py-finish-breakpoint2.exp
9445 * gdb.python/py-frame-inline.exp
9446 * gdb.python/py-frame.exp
9447 * gdb.python/py-inferior.exp
9448 * gdb.python/py-infthread.exp
9449 * gdb.python/py-mi.exp
9450 * gdb.python/py-objfile.exp
9451 * gdb.python/py-pp-maint.exp
9452 * gdb.python/py-pp-registration.exp
9453 * gdb.python/py-prettyprint.exp
9454 * gdb.python/py-recurse-unwind.exp
9455 * gdb.python/py-shared.exp
9456 * gdb.python/py-symbol.exp
9457 * gdb.python/py-symtab.exp
9458 * gdb.python/py-template.exp
9459 * gdb.python/py-type.exp
9460 * gdb.python/py-unwind-maint.exp
9461 * gdb.python/py-unwind.exp
9462 * gdb.python/py-value.exp
9463 * gdb.python/python.exp
9464 * gdb.reverse/finish-reverse-bkpt.exp
9465 * gdb.reverse/insn-reverse.exp
9466 * gdb.reverse/next-reverse-bkpt-over-sr.exp
9467 * gdb.reverse/solib-precsave.exp
9468 * gdb.reverse/solib-reverse.exp
9469 * gdb.stabs/gdb11479.exp
9470 * gdb.stabs/weird.exp
9471 * gdb.threads/fork-child-threads.exp
9472 * gdb.threads/fork-plus-threads.exp
9473 * gdb.threads/fork-thread-pending.exp
9474 * gdb.threads/forking-threads-plus-breakpoint.exp
9475 * gdb.threads/hand-call-in-threads.exp
9476 * gdb.threads/interrupted-hand-call.exp
9477 * gdb.threads/linux-dp.exp
9478 * gdb.threads/local-watch-wrong-thread.exp
9479 * gdb.threads/next-while-other-thread-longjmps.exp
9480 * gdb.threads/non-ldr-exit.exp
9481 * gdb.threads/pending-step.exp
9482 * gdb.threads/print-threads.exp
9483 * gdb.threads/process-dies-while-detaching.exp
9484 * gdb.threads/process-dies-while-handling-bp.exp
9485 * gdb.threads/pthreads.exp
9486 * gdb.threads/queue-signal.exp
9487 * gdb.threads/reconnect-signal.exp
9488 * gdb.threads/signal-command-handle-nopass.exp
9489 * gdb.threads/signal-command-multiple-signals-pending.exp
9490 * gdb.threads/signal-delivered-right-thread.exp
9491 * gdb.threads/signal-sigtrap.exp
9492 * gdb.threads/sigthread.exp
9493 * gdb.threads/staticthreads.exp
9494 * gdb.threads/stepi-random-signal.exp
9495 * gdb.threads/thread-unwindonsignal.exp
9496 * gdb.threads/thread_check.exp
9497 * gdb.threads/thread_events.exp
9498 * gdb.threads/tid-reuse.exp
9499 * gdb.threads/tls-nodebug.exp
9500 * gdb.threads/tls-shared.exp
9501 * gdb.threads/tls-so_extern.exp
9502 * gdb.threads/tls.exp
9503 * gdb.threads/wp-replication.exp
9504 * gdb.trace/actions-changed.exp
9505 * gdb.trace/actions.exp
9506 * gdb.trace/backtrace.exp
9507 * gdb.trace/change-loc.exp
9508 * gdb.trace/collection.exp
9509 * gdb.trace/deltrace.exp
9510 * gdb.trace/disconnected-tracing.exp
9511 * gdb.trace/entry-values.exp
9512 * gdb.trace/ftrace-lock.exp
9513 * gdb.trace/ftrace.exp
9514 * gdb.trace/infotrace.exp
9515 * gdb.trace/mi-trace-frame-collected.exp
9516 * gdb.trace/mi-trace-unavailable.exp
9517 * gdb.trace/mi-traceframe-changed.exp
9518 * gdb.trace/mi-tracepoint-changed.exp
9519 * gdb.trace/mi-tsv-changed.exp
9520 * gdb.trace/no-attach-trace.exp
9521 * gdb.trace/packetlen.exp
9522 * gdb.trace/passc-dyn.exp
9523 * gdb.trace/passcount.exp
9524 * gdb.trace/pending.exp
9525 * gdb.trace/pr16508.exp
9526 * gdb.trace/qtro.exp
9527 * gdb.trace/range-stepping.exp
9528 * gdb.trace/read-memory.exp
9529 * gdb.trace/report.exp
9530 * gdb.trace/save-trace.exp
9531 * gdb.trace/signal.exp
9532 * gdb.trace/stap-trace.exp
9533 * gdb.trace/status-stop.exp
9534 * gdb.trace/strace.exp
9535 * gdb.trace/tfile.exp
9536 * gdb.trace/tfind.exp
9537 * gdb.trace/trace-break.exp
9538 * gdb.trace/trace-condition.exp
9539 * gdb.trace/trace-enable-disable.exp
9540 * gdb.trace/trace-mt.exp
9541 * gdb.trace/tracecmd.exp
9542 * gdb.trace/tracefile-pseudo-reg.exp
9543 * gdb.trace/tspeed.exp
9544 * gdb.trace/tstatus.exp
9545 * gdb.trace/tsv.exp
9546 * gdb.trace/unavailable.exp
9547 * gdb.trace/while-dyn.exp
9548 * gdb.trace/while-stepping.exp
9549 * lib/gdb-guile.exp
9550 * lib/gdb.exp
9551 * lib/mi-support.exp
9552 * lib/pascal.exp
9553 * lib/perftest.exp
9554 * lib/prelink-support.exp
9555 * lib/selftest-support.exp
9556
ad02e4fe
SM
95572016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
9558
9559 * Makefile.in: Include disable-implicit-rules.mk.
9560
22347e55
AA
95612016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9562
9563 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
9564 non-byte-aligned bit fields.
9565
da5b30da
AA
95662016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9567
9568 PR gdb/12616
9569 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
9570 respects the DW_AT_data_bit_offset attribute.
9571
b593ecca
SM
95722016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
9573
9574 * gdb.base/default.exp: Fix output of "set language".
9575
3b165252
SM
95762016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
9577
9578 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
9579 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
9580 make.
9581 * configure.ac: Remove checks for the make program.
9582 * configure: Re-generate.
9583
1a2f3d7f
KB
95842016-11-16 Kevin Buettner <kevinb@redhat.com>
9585
9586 * gdb.python/py-recurse-unwind.c (main): Add loop.
9587 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
9588 to read_register() and gdb.parse_and_eval(). Make each code
9589 call a separate case that can be individually tested.
9590 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
9591 proc. Call cont_and_backtrace for each of the code paths that
9592 we want to test in the unwinder.
9593
b7f38fda
AA
95942016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
9595
9596 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
9597 the definition of struct S.
9598
1f8db343
CM
95992016-11-11 Catherine Moore <clm@codesourcery.com>
9600
9601 * gdb.base/dump.exp: Identify verilog format dump tests as such.
9602
fad0c9fb
PA
96032016-11-09 Pedro Alves <palves@redhat.com>
9604
9605 * gdb.base/commands.exp (runto_or_return): New procedure.
9606 (gdbvar_simple_if_test, gdbvar_simple_while_test)
9607 (gdbvar_complex_if_while_test, progvar_simple_if_test)
9608 (progvar_simple_while_test, progvar_complex_if_while_test)
9609 (if_while_breakpoint_command_test)
9610 (infrun_breakpoint_command_test, breakpoint_command_test)
9611 (user_defined_command_test, watchpoint_command_test)
9612 (test_command_prompt_position, redefine_hook_test)
9613 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
9614 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
9615 multi_line_input and multi_line. Remove gdb_expect and
9616 gdb_stop_suppressing_tests uses.
9617 * lib/gdb.exp (valnum_re): New global.
9618 (multi_line_input): New procedure.
9619
8354c62c
SM
96202016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
9621
9622 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
9623 Remove.
9624 (test_setup): Define with proc_with_prefix.
9625 (test_cli_inferior): Likewise.
9626 (test_cli_thread): Likewise.
9627 (test_cli_frame): Likewise.
9628 (test_cli_select_frame): Likewise.
9629 (test_cli_up_down): Likewise.
9630 (test_mi_thread_select): Likewise.
9631 (test_mi_stack_select_frame): Likewise.
9632 (test_cli_in_mi_inferior): Likewise.
9633 (test_cli_in_mi_thread): Likewise.
9634 (test_cli_in_mi_frame): Likewise.
9635 (top level): Do not use with_test_prefix_procname.
9636
64f367a2
PA
96372016-11-09 Pedro Alves <palves@redhat.com>
9638
9639 * gdb.base/commands.exp (gdbvar_simple_if_test)
9640 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
9641 (progvar_simple_if_test, progvar_simple_while_test)
9642 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
9643 (infrun_breakpoint_command_test, breakpoint_command_test)
9644 (user_defined_command_test, watchpoint_command_test)
9645 (test_command_prompt_position, deprecated_command_test)
9646 (bp_deleted_in_command, temporary_breakpoint_commands)
9647 (stray_arg0_test, source_file_with_indented_comment)
9648 (recursive_source_test, if_commands_test)
9649 (error_clears_commands_left, redefine_hook_test)
9650 (redefine_backtrace_test): Use proc_with_prefix.
9651 * lib/gdb.exp (proc_with_prefix): New proc.
9652
0bb65f1e
AA
96532016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
9654
9655 * gdb.base/tui-layout.c: New file.
9656 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
9657 disassembly window contains very long lines.
9658
7353f247
TT
96592016-11-08 Tom Tromey <tom@tromey.com>
9660
9661 * gdb.python/py-value.exp (test_value_creation): Make "long" test
9662 depend on Python 2.
9663
30a7bb83
TT
96642016-11-08 Tom Tromey <tom@tromey.com>
9665
9666 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
9667 New method.
9668
cdf5a07c
MG
96692016-10-29 Manish Goregaokar <manish@mozilla.com>
9670
2806dc7e 9671 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 9672
51a789c3
MG
96732016-10-27 Manish Goregaokar <manish@mozilla.com>
9674
2806dc7e
PA
9675 * gdb.rust/simple.rs: Add test for univariant enums without
9676 discriminants and for encoded struct-like enums.
51a789c3 9677
f610ab6d
PA
96782016-10-28 Pedro Alves <palves@redhat.com>
9679
9680 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
9681 gdb_test_multiple, tighten regexps and match symtabs and line
9682 tables incrementally.
9683
b129b0ca
LM
96842016-10-28 Luis Machado <lgustavo@codesourcery.com>
9685
9686 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
9687 general.
9688
ecf45d2c
SL
96892016-10-25 Luis Machado <lgustavo@codesourcery.com>
9690
9691 * gdb.base/exec-invalid-sysroot.exp: New file.
9692
b8d38ee4
JK
96932016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9694
9695 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
9696
f90fd8c2
JK
96972016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9698
9699 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
9700
2d2476aa
MR
97012016-10-19 Maciej W. Rozycki <macro@imgtec.com>
9702
2806dc7e
PA
9703 * gdb.base/killed-outside.exp: Remove $options from a call to
9704 `prepare_for_testing'.
2d2476aa 9705
e42b25a0
SM
97062016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9707
9708 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
9709 Change test message.
9710
3ccdb432
SM
97112016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9712
9713 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
9714 Update comment.
9715
5bad3170
SM
97162016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9717
9718 * gdb.trace/mi-trace-save.exp: New file.
9719
5ad9dba7
YQ
97202016-10-13 Yao Qi <yao.qi@linaro.org>
9721
9722 * gdb.base/code_elim.exp (get_var_address): Remove.
9723 * gdb.base/relocate.exp: Likewise.
9724 * gdb.base/shreloc.exp: Likewise.
9725 * lib/gdb.exp (get_var_address): New.
9726
62df7e21
YQ
97272016-10-13 Yao Qi <yao.qi@linaro.org>
9728
9729 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
9730 floating point tests if $skip_float_test is false.
9731
4dac951e
LM
97322016-10-12 Luis Machado <lgustavo@codesourcery.com>
9733
9734 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
9735 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
9736 argc values.
9737 Add 1 to argc so we guarantee distinct initial/modified argc values.
9738
8f1a8fc4
JK
97392016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9740
9741 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
9742
16c85b5d
JK
97432016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9744
9745 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
9746 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
9747 * gdb.arch/vsx-regs.exp: Likewise.
9748
1d0e042a
YQ
97492016-10-07 Yao Qi <yao.qi@linaro.org>
9750
9751 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
9752
68dadef5
MM
97532016-10-07 Markus Metzger <markus.t.metzger@intel.com>
9754
9755 * gdb.python/python.exp: Test decode_line("*0").
9756
33fa2c6e
DE
97572016-10-06 Doug Evans <dje@google.com>
9758
9759 * gdb.python/py-value.exp (test_value_creation): Add test for large
9760 unsigned 64-bit value.
9761
9c37b5ae
TT
97622016-10-06 Tom Tromey <tom@tromey.com>
9763
9764 * gdb.compile/compile.exp: Change java tests to rust.
9765 * gdb.base/setshow.exp: Change java tests to rust.
9766 * gdb.base/default.exp: Remove java from language list.
9767 * README (Examples): Update language example.
9768 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
9769 test.
9770 * lib/gdb.exp (skip_java_tests): Remove.
9771 * lib/java.exp: Remove.
9772 * gdb.java: Remove.
9773
78b86327
MR
97742016-10-06 Maciej W. Rozycki <macro@imgtec.com>
9775
9776 * gdb.arch/mips-fcr.exp: New test.
9777 * gdb.arch/mips-fcr.c: Source for the new test.
9778
7470adbb
MR
97792016-10-06 Maciej W. Rozycki <macro@imgtec.com>
9780
9781 * gdb.base/solib-disc.exp: Use `standard_output_file'
9782 throughout.
9783
4a556533
PA
97842016-10-06 Pedro Alves <palves@redhat.com>
9785
9786 * gdb.base/jit-simple-dl.c: New file.
9787 * gdb.base/jit-simple-jit.c: New file, factored out from ...
9788 * gdb.base/jit-simple.c: ... this.
9789 * gdb.base/jit-simple.exp (jit_run): Delete.
9790 (build_jit): New proc.
9791 (jit_test_reread): Recompile either the main program or the shared
9792 library, depending on what is being tested. Skip changing address
9793 if caller wants to. Compare before/after addresses. If testing
9794 standalone, explicitly load the binary. Test "maint info
9795 breakpoints".
9796 (top level): Add "standalone vs shared lib" and "change address"
9797 vs "same address" axes.
9798
5a122fbc
PA
97992016-10-06 Pedro Alves <palves@redhat.com>
9800
9801 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
9802 call.
9803 (jit_run): Delete.
9804 (jit_test_reread): Use with_test_prefix. Reload the main binary
9805 explicitly. Compare the before/after addresses of the JIT
9806 descriptor.
9807
ee8da4b8
DE
98082016-08-15 Doug Evans <dje@google.com>
9809
9810 * gdb.xml/extra-regs.xml: Update, end field now required, default type
9811 for single bitfields is bool.
9812 * gdb.xml/tdesc-regs.exp: Ditto.
9813
f389f6fe
JK
98142016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9815
9816 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
9817
fdebf1a4
YQ
98182016-10-05 Yao Qi <yao.qi@linaro.org>
9819
9820 * lib/gdb.exp (support_complex_tests): Return zero if
9821 gdb_skip_float_test return true.
9822
9c36d954 98232016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 9824 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
9825
9826 PR gdb/20487
9827 * gdb.mi/user-selected-context-sync.exp: New file.
9828 * gdb.mi/user-selected-context-sync.c: New file.
9829
4034d0ff 98302016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 9831 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
9832
9833 PR gdb/20487
9834 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
9835 =thread-select-event check.
9836
a4297203
PB
98372016-09-29 Peter Bergner <bergner@vnet.ibm.com>
9838
9839 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
9840 the compulsory L operand changes.
9841 * gdb.arch/powerpc-power.s: Likewise.
9842
bb805577
JK
98432016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9844
9845 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
9846 * gdb.base/jit-attach-pie.c: New file.
9847 * gdb.base/jit-attach-pie.exp: New file.
9848
6d61dee5
PA
98492016-09-28 Pedro Alves <palves@redhat.com>
9850
9851 * gdb.base/infcall-input.c: New file.
9852 * gdb.base/infcall-input.exp: New file.
9853
f73842fc
YQ
98542016-09-22 Yao Qi <yao.qi@linaro.org>
9855
9856 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
9857 (gdb_exit): Rename it to ...
9858 (gdbserver_gdb_exit): ... Close GDBserver.
9859 (gdb_exit): New proc, call gdbserver_gdb_exit.
9860 (mi_gdb_exit): Likewise.
9861
90681dab
YQ
98622016-09-22 Yao Qi <yao.qi@linaro.org>
9863
9864 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
9865 path.
9866 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
9867 Remove duplication.
9868
9c211fd8
YQ
98692016-09-22 Yao Qi <yao.qi@linaro.org>
9870
9871 * lib/gdbserver-support.exp: Check the existence of
9872 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
9873
ad0a504f
AK
98742016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
9875
9876 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
9877
36cf1806
TT
98782016-09-21 Tom Tromey <tom@tromey.com>
9879
9880 PR gdb/20604:
9881 * gdb.base/quit.exp: New file.
9882
74172ecf
SM
98832016-09-21 Simon Marchi <simon.marchi@ericsson.com>
9884
9885 * .gitignore: New file.
9886
3d0ec882
MR
98872016-09-21 Maciej W. Rozycki <macro@imgtec.com>
9888
9889 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
9890 throughout.
9891
8193adea
AA
98922016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9893
9894 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
9895
d41a5c09
JK
98962016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9897
9898 * gdb.cp/casts.cc (decltype): Move it ...
9899 (main): ... with its call to ...
9900 * gdb.cp/casts03.cc: ... a new file.
9901 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
9902
d2dfe700
JK
99032016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9904
9905 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
9906
e2a92b16
PB
99072016-09-15 Peter Bergner <bergner@vnet.ibm.com>
9908
9909 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
9910 and sync up the test with tests in gas/testsuite/gas/ppc.
9911 * gdb.arch/powerpc-power.exp: Likewise.
9912
49b4de64
JK
99132016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9914
9915 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
9916
2c29df25
SDJ
99172016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
9918 Jan Kratochvil <jan.kratochvil@redhat.com>
9919
9920 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
9921 make m1's definition to be different from m2's. Use 'dummy' as an
9922 argument for probe 'two'.
9923
cc3c2846
JB
99242016-09-10 Jon Beniston <jon@beniston.com>
9925
9926 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
9927 for sim target.
9928
e1b2624a
AA
99292016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
9930
9931 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
9932 variable declaration.
9933 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
9934 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
9935 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
9936 received HWCAP as its argument.
9937
4295e285
PA
99382016-09-06 Pedro Alves <palves@redhat.com>
9939
9940 * gdb.base/new-ui-pending-input.c: New file.
9941 * gdb.base/new-ui-pending-input.exp: New file.
9942 * gdb.exp (clear_gdb_spawn_id): New procedure.
9943 (with_spawn_id): Check whether gdb_spawn_id exists before
9944 referencing it. If gdb_spawn_id didn't exist on entry, clear it
9945 on exit.
9946
00d5215e
UW
99472016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
9948
9949 * gdb.base/float128.c: New file.
9950 * gdb.base/float128.exp: Likewise.
9951 * gdb.base/floatn.c: Likewise.
9952 * gdb.base/floatn.exp: Likewise.
9953
a9ff5f12
UW
99542016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
9955
9956 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
9957
f245535c
PA
99582016-09-05 Pedro Alves <palves@redhat.com>
9959
9960 PR backtrace/19927
9961 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
9962 unwinders are immediately called as side effect of "source" or
9963 "disable unwinder" commands.
9964 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
9965
ae9cf263
YQ
99662016-09-02 Yao Qi <yao.qi@linaro.org>
9967
9968 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
9969 is true and $type is "float" or "double".
9970
27aba047
YQ
99712016-09-02 Yao Qi <yao.qi@linaro.org>
9972
9973 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
9974 true.
9975 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
9976 * gdb.base/call-rt-st.exp: Likewise.
9977 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
9978 return value instead of gdb,skip_float_test.
9979 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
9980 (do_function_calls): Use its return value instead of
9981 gdb,skip_float_test.
9982 * gdb.base/finish.exp: Likewise.
9983 * gdb.base/funcargs.exp: Likewise.
9984 * gdb.base/return.exp: Likewise.
9985 * gdb.base/return2.exp: Likewise.
9986 * gdb.base/varargs.exp: Likewise.
9987 * lib/gdb.exp (gdb_skip_float_test): Change it to
9988 gdb_caching_proc. Detect the broken ptrace on arm-linux.
9989
5af962df
AA
99902016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
9991
9992 * gdb.multi/tids.exp: Test "thread apply all".
9993
7fac6910
JK
99942016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9995
9996 * gdb.base/default.exp (tty): Remove.
9997
bb1fe4ac
KB
99982016-08-24 Kevin Buettner <kevinb@redhat.com>
9999
2806dc7e
PA
10000 * gdb.python/py-recurse-unwind.c: New file.
10001 * gdb.python/py-recurse-unwind.py: New file.
10002 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 10003
0a1ddfa6
SM
100042016-08-24 Simon Marchi <simon.marchi@ericsson.com>
10005
10006 * gdb.base/set-inferior-tty.exp: New file.
10007 * gdb.base/set-inferior-tty.c: New file.
10008
d9de1fe3
PA
100092016-08-23 Pedro Alves <palves@redhat.com>
10010
10011 PR gdb/20494
10012 * gdb.base/new-ui-echo.c: New file.
10013 * gdb.base/new-ui-echo.exp: New file.
10014
e9d9abd7
YQ
100152016-08-23 Yao Qi <yao.qi@linaro.org>
10016
10017 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
10018 gdbserver_spawn.
10019 * gdb.server/connect-without-multi-process.exp (do_test):
10020 Likewise.
10021
3589529e
YQ
100222016-08-23 Yao Qi <yao.qi@linaro.org>
10023
10024 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
10025 standalone_txt. Delete gdb_txt and standalone_txt on host
10026 and target. Spawn the binary on target. Copy files from
10027 target to host.
10028
6bb90213
PA
100292016-08-22 Pedro Alves <palves@redhat.com>
10030
10031 PR gdb/20505
10032 * gdb.base/vdso-warning.exp: Test core dumps too. Use
10033 with_test_prefix. Factor out bits to ...
10034 (test_no_vdso): ... this new procedure.
10035
20c2c024
CL
100362016-08-19 Carl Love <cel@us.ibm.com>
10037
10038 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
10039 maintaining separate logic for constructing the output path.
10040 * gdb.arch/powerpc-d128-regs.exp: Likewise.
10041 * gdb.arch/ppc-dfp.exp: Likewise.
10042 * gdb.arch/ppc-fp.exp: Likewise.
10043 * gdb.arch/vsx-regs.exp: Likewise.
10044 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
10045 binprefix for generating the additional binary files.
10046
0646e07d
PA
100472016-08-19 Pedro Alves <palves@redhat.com>
10048
10049 * gdb.trace/mi-trace-frame-collected.exp
10050 (test_trace_frame_collected): On x32, expect two registers.
10051
46da9242
CL
100522016-08-18 Carl Love <cel@us.ibm.com>
10053
10054 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
10055 and sync up the test with tests in gas/testsuite/gas/ppc.
10056 * gdb.arch/powerpc-power.exp: Likewise.
10057
eb2332d7
SM
100582016-08-17 Simon Marchi <simon.marchi@ericsson.com>
10059
10060 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
10061 expected error message.
10062
63c61e04
SM
100632016-08-17 Simon Marchi <simon.marchi@ericsson.com>
10064
10065 * gdb.multi/remove-inferiors.exp: New file.
10066 * gdb.multi/remove-inferiors.c: New file.
10067
7b17065f
YQ
100682016-08-12 Yao Qi <yao.qi@linaro.org>
10069
10070 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
10071 argument list.
10072
01d3dedf
PA
100732016-08-10 Pedro Alves <palves@redhat.com>
10074
10075 PR gdb/19187
10076 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
10077 setup_kfails.
10078
3eb7562a
PA
100792016-08-09 Pedro Alves <palves@redhat.com>
10080 Simon Marchi <simon.marchi@ericsson.com>
10081
10082 PR gdb/20418
10083 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
10084 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
10085
80614914
PA
100862016-08-09 Pedro Alves <palves@redhat.com>
10087
10088 PR mi/20431
10089 * gdb.mi/mi-cmd-error.exp: New file.
10090
f348d89a
PA
100912016-08-09 Pedro Alves <palves@redhat.com>
10092
10093 PR gdb/18653
10094 * gdb.base/signals-state-child.c: New file.
10095 * gdb.base/signals-state-child.exp: New file.
10096 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
10097
e5ca03b4
PA
100982016-08-09 Pedro Alves <palves@redhat.com>
10099
10100 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
10101
282a0691
TT
101022016-08-03 Tom Tromey <tom@tromey.com>
10103
10104 PR python/18565:
10105 * gdb.python/py-frame-inline.exp: Add Frame.function test.
10106
41bfcd63
YQ
101072016-08-01 Yao Qi <yao.qi@linaro.org>
10108
10109 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
10110 variable mode to "multi-process" if $multi_process is 1, otherwise
10111 set it to "single-process".
10112
e3465b24
YQ
101132016-08-01 Yao Qi <yao.qi@linaro.org>
10114
10115 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
10116 * gdb.cp/cpexprs.exp: Likewise.
10117 * gdb.cp/m-static.exp: Likewise.
10118
0b31a4bc
TT
101192016-07-26 Tom Tromey <tom@tromey.com>
10120
10121 PR python/20190:
10122 * gdb.threads/tls.exp (check_thread_local): Add python symbol
10123 test.
10124
e0461dbb
MM
101252016-07-26 Markus Metzger <markus.t.metzger@intel.com>
10126
10127 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
10128 selecting assembly source files.
10129 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
10130 assembly source files.
10131 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
10132 assembly source files.
10133 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
10134 selecting assembly source files.
10135
8194e927
SM
101362016-07-25 Simon Marchi <simon.marchi@ericsson.com>
10137
10138 * gdb.base/new-ui.exp (do_test_invalid_args): New
10139 procedure.
10140
c0272db5
TW
101412016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
10142
10143 * gdb.btrace/reconnect.c: New file.
10144 * gdb.btrace/reconnect.exp: New file.
10145
e3487908
GKB
101462016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
10147
10148 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
10149 to test_catch_syscall_group.
10150 (test_catch_syscall_group): New.
10151
12df5c00
TT
101522016-07-21 Tom Tromey <tom@tromey.com>
10153
10154 * gdb.rust/simple.rs (main): Use empty struct expression.
10155 * gdb.rust/simple.exp: Add tests for empty struct expression.
10156
bae62ee2
YQ
101572016-07-21 Yao Qi <yao.qi@linaro.org>
10158
10159 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
10160 if gdb_skip_xml_test is true on some targets.
10161
b1b53fb3
YQ
101622016-07-21 Yao Qi <yao.qi@linaro.org>
10163
10164 * gdb.server/solib-list.exp: Unset last_loaded_file.
10165
027d97f8
JK
101662016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10167
10168 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
10169 "step into captured_main (args)".
10170
7674d381
JK
101712016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10172
10173 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
10174
72b5d099
JK
101752016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10176
10177 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
10178
1f960ced
PA
101792016-07-19 Pedro Alves <palves@redhat.com>
10180
10181 * gdb.opt/inline-break.exp: Remove optimize=-O2.
10182 * gdb.opt/inline-bt.exp: Likewise.
10183 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
10184 additional_flags=-Winline.
10185 * gdb.opt/inline-locals.exp: Likewise.
10186 * gdb.opt/inline-markers.c (ATTR): Define.
10187 (inlined_fn): Use it.
10188
f25827c1
YQ
101892016-07-19 Yao Qi <yao.qi@linaro.org>
10190
10191 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
10192 (test_with_self): Remove some code. Remove argument executable.
10193 (top-level): Use do_self_tests.
10194
37539ebe
DB
101952016-07-15 Zachary Welch <zwelch@codesourcery.com>
10196 Don Breazeal <donb@codesourcery.com>
10197
10198 * gdb.base/maint.exp: Escape paths used in regular expressions.
10199 * gdb.stabs/weird.exp: Likewise.
10200
dac790e1
TT
102012016-07-13 Tom Tromey <tom@tromey.com>
10202
10203 PR python/15620, PR python/18620:
10204 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
10205 (test_bkpt_events): New procs.
10206
93daf339
TT
102072016-07-13 Tom Tromey <tom@tromey.com>
10208
10209 PR python/17698:
10210 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
10211 test.
10212 (test_watchpoints): Likewise.
10213 (test_bkpt_pending): New proc.
10214
6571a381
TT
102152016-07-13 Tom Tromey <tom@tromey.com>
10216
10217 PR cli/18053:
10218 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
10219 completion test.
10220
e8732474
JK
102212016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10222
10223 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
10224 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
10225 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
10226 f_label.
10227 (g): Rename g_end_lbl to g_label.
10228 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
10229 low_pc and high_pc.
10230 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
10231
e0f3fd7c
TT
102322016-07-12 Tom Tromey <tom@tromey.com>
10233
10234 PR python/19293:
10235 * gdb.python/py-unwind-maint.exp: Update tests.
10236
3cfe46b6
YQ
102372016-07-12 Yao Qi <yao.qi@linaro.org>
10238
10239 * lib/selftest-support.exp (selftest_setup): Match the output
10240 when captured_main is inlined.
10241
4f19a0e6
WT
102422016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
10243
10244 * gdb.fortran/derived-types.exp (result_line, result_line_2):
10245 New variables.
10246 (print this%a, print this%b, print this): New tests.
10247 * gdb.fortran/derived-types.f90 (this): New object and
10248 initialization.
10249
986cf455
SM
102502016-07-06 Simon Marchi <simon.marchi@ericsson.com>
10251
10252 * gdb.ada/arraydim.exp: Remove extra directory level in build
10253 directory.
10254
f0464b23
SM
102552016-07-06 Simon Marchi <simon.marchi@ericsson.com>
10256
10257 * lib/ada.exp: Remove extra directory level in build directory.
10258 * gdb.ada/cond_lang.exp: Likewise.
10259 * gdb.ada/exec_changed.exp: Likewise.
10260 * gdb.ada/lang_switch.exp: Likewise.
10261
42d94011
MG
102622016-07-06 Manish Goregaokar <manish@mozilla.com>
10263
2806dc7e
PA
10264 * simple.rs: Add test for raw pointer subscripting.
10265 * simple.exp: Add test expectations.
42d94011 10266
647c264c
YQ
102672016-07-05 Yao Qi <yao.qi@linaro.org>
10268
10269 * gdb.mi/mi-reverse.exp: Match =record-started output.
10270
20aa2c60
PA
102712016-07-01 Pedro Alves <palves@redhat.com>
10272
10273 * gdb.base/jit-reader.exp (info_registers_current_frame): New
10274 procedure.
10275 (jit_reader_test): Test the jit reader's unwinder.
10276 * gdb.base/jithost.c (jit_function_00_code): New global.
10277 (main): Use memcpy to fill in the mmapped code, instead of poking
10278 bytes manually here.
10279 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
10280 value.
10281 (read_debug_info): Save the function's range.
10282 (read_sp): New function.
10283 (unwind_frame): Use it. Also unwind RBP.
10284 (get_frame_id): Use read_sp.
10285 (gdb_init_reader): Use calloc instead of malloc.
10286 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
10287 parameter. Use gdb_test_multiple.
10288
ced2dffb
PA
102892016-07-01 Pedro Alves <palves@redhat.com>
10290 Antoine Tremblay <antoine.tremblay@ericsson.com>
10291
10292 * gdb.threads/process-dies-while-detaching.c: New file.
10293 * gdb.threads/process-dies-while-detaching.exp: New file.
10294
63000888
PA
102952016-07-01 Pedro Alves <palves@redhat.com>
10296
10297 * gdb.multi/watchpoint-multi-exit.c: New file.
10298 * gdb.multi/watchpoint-multi-exit.exp: New file.
10299
038d4868
PA
103002016-06-30 Pedro Alves <palves@redhat.com>
10301
10302 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
10303 unset inferior_spawn_id.
10304
994e9c83
PA
103052016-06-30 Pedro Alves <palves@redhat.com>
10306
10307 * lib/mi-support.exp (default_mi_gdb_start): Declare global
10308 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
10309
e5653468
YQ
103102016-06-29 Yao Qi <yao.qi@linaro.org>
10311
10312 * gdb.base/return.c: Add copyright header.
10313
803b47e5
TT
103142016-06-29 Tom Tromey <tom@tromey.com>
10315
10316 PR python/20129:
10317 * gdb.python/py-framefilter.exp: Add tests for setting priority
10318 and disabling of non-existent frame filter.
10319
28244707
YQ
103202016-06-29 Yao Qi <yao.qi@linaro.org>
10321
10322 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
10323 0x0f07ff.
10324
a31d2f06
YQ
103252016-06-28 Yao Qi <yao.qi@linaro.org>
10326
10327 * gdb.base/catch-syscall.exp: Remove check on isnative and target
10328 triplets. Start gdb, execute catch syscall, and continue. Check
10329 gdb's output to determine catch syscall is supported.
10330
921d8f54
MG
103312016-06-27 Manish Goregaokar <manish@mozilla.com>
10332
25d49b86
PA
10333 * gdb.rust/simple.rs: Add test for returning unit in a function.
10334 * gdb.rust/simple.exp: Add expectation for functions returning
10335 unit.
921d8f54 10336
f4952523
PMR
103372016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
10338
10339 * gdb.python/py-breakpoint-create-fail.c,
10340 gdb.python/py-breakpoint-create-fail.exp,
10341 gdb.python/py-breakpoint-create-fail.py: New testcase.
10342
fccb08f8
MG
103432016-06-25 Manish Goregaokar <manish@mozilla.com>
10344
10345 PR gdb/20239
10346 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
10347 * gdb.rust/simple.exp: Add test expectations for new NonZero
10348 tests.
fccb08f8 10349
6b850546
DT
103502016-06-24 David Taylor <dtaylor@emc.com>
10351
10352 * gdb.base/offsets.exp: New file.
10353 * gdb.base/offsets.c: New file.
10354
17621150
TT
103552016-06-23 Tom Tromey <tom@tromey.com>
10356
10357 PR gdb/16483:
10358 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
10359 before any filters are loaded.
10360
04d59df6
WT
103612016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
10362
10363 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
10364 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
10365 structs.
10366 * gdb.fortran/derived-type-function.exp: New file.
10367 * gdb.fortran/derived-type-function.f90: New file.
10368
10369
ac69f786
PA
103702016-06-21 Pedro Alves <palves@redhat.com>
10371
10372 * gdb.base/new-ui.exp: New file.
10373 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
10374 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
10375 (with_spawn_id): New procedure.
10376
49940788
PA
103772016-06-21 Pedro Alves <palves@redhat.com>
10378
10379 * gdb.mi/mi-exec-run.exp: New file.
10380
ef274d26
PA
103812016-06-21 Pedro Alves <palves@redhat.com>
10382
10383 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
10384 breakpoint command's output on the main UI.
10385 (test_break): New procedure, factored out from calls in the top
10386 level.
10387 (top level): Use foreach_with_prefix to test MI as main UI and as
10388 separate UI.
10389
468afe6c
PA
103902016-06-21 Pedro Alves <palves@redhat.com>
10391
10392 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
10393 (test_awatch_creation_and_listing)
10394 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
10395 Remove 'type' parameter.
10396 (test_watchpoint_all): New parameter mi_mode. Remove
10397 with_test_prefix.
10398 (top level): Use foreach_with_prefix, and add main/separate UI MI
10399 testing axis.
10400
51f77c37
PA
104012016-06-21 Pedro Alves <palves@redhat.com>
10402
10403 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
10404 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
10405 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
10406 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
10407 (gdb_main_spawn_id, mi_spawn_id): Declare and
10408 comment.
10409 (mi_create_inferior_pty): New procedure,
10410 factored out from default_mi_gdb_start.
10411 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
10412 procedures.
10413 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
10414 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
10415 Use mi_create_inferior_pty.
10416 (mi_gdb_start): Use eval to pass down args list.
10417
8980e177
PA
104182016-06-21 Pedro Alves <palves@redhat.com>
10419
10420 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
10421 * gdb.opt/inline-cmds.exp: Add MI tests.
10422
f38d3ad1
PA
104232016-06-21 Pedro Alves <palves@redhat.com>
10424
10425 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
10426
45db7c09
PA
104272016-06-21 Pedro Alves <palves@redhat.com>
10428
10429 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
10430 (top level): Use it instead of mi_execute_to.
10431
5a069ab3
PA
104322016-06-21 Pedro Alves <palves@redhat.com>
10433
10434 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
10435 (cont_handler_str): New.
10436 (signal_stop_handler): Set stop_handler_str instead of printing to
10437 stdout.
10438 (continue_handler): Set cont_handler_str instead of printing to
10439 stdout.
10440 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
10441 mi_send_resuming_command. Print stop_handler_str and
10442 cont_handler_str instead of expecting the python events print
10443 directly.
10444
2838cc1d
SD
104452016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
10446
10447 * gdb.base/jit-reader.exp: New file.
10448 * gdb.base/jithost.c: New file.
10449 * gdb.base/jithost.h: New file.
10450 * gdb.base/jitreader.c : New file.
10451 * gdb.base/jit-protocol.h: New file.
10452
21a77091
YQ
104532016-06-17 Yao Qi <yao.qi@linaro.org>
10454
10455 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
10456 parameters follow_fork and detach_on_fork. Set follow-fork-mode
10457 and detach-on-fork. Adjust tests.
10458 (top level): Invoke break_cond_on_syscall with combinations of
10459 syscall, follow-fork-mode and detach-on-fork.
10460
f50bf8e5
YQ
104612016-06-17 Yao Qi <yao.qi@linaro.org>
10462
10463 * gdb.base/step-over-exit.c: New.
10464 * gdb.base/step-over-exit.exp: New.
10465
a28d8e50
YTL
104662016-06-17 Yan-Ting Lin <currygt52@gmail.com>
10467
10468 * gdb.base/float.exp: Add target check for nds32*-*-*.
10469 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
10470
cad8e26d
AB
104712016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
10472
10473 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
10474 for unsupported target features.
10475 * gdb.base/call-rt-st.exp: Likewise.
10476 * gdb.base/call-sc.exp: Likewise.
10477 * gdb.base/call-signal-resume.exp: Likewise.
10478 * gdb.base/call-strs.exp: Likewise.
10479 * gdb.base/callexit.exp: Likewise.
10480 * gdb.base/callfuncs.exp: Likewise.
10481 * gdb.base/nodebug.exp: Likewise.
10482 * gdb.base/printcmds.exp: Likewise.
10483 * gdb.base/ptype.exp: Likewise.
10484 * gdb.base/structs.exp: Likewise.
10485 * gdb.base/unwindonsignal.exp: Likewise.
10486 * gdb.cp/gdb2495.exp: Likewise.
10487 * gdb.cp/templates.exp: Likewise.
10488 * gdb.cp/virtfunc.exp: Likewise.
10489 * gdb.threads/hand-call-in-threads.exp: Likewise.
10490 * gdb.threads/interrupted-hand-call.exp: Likewise.
10491 * gdb.threads/thread-unwindonsignal.exp: Likewise.
10492
347dc102
TT
104932016-06-10 Tom Tromey <tom@tromey.com>
10494
10495 PR rust/20110:
10496 * gdb.rust/expr.exp: Add test for integer constant larger than
10497 i32.
10498
5e13cf25
BH
104992016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
10500
10501 * gdb.fortran/nested-funcs.exp: New.
10502 * gdb.fortran/nested-funcs.f90: New.
10503
bb556f1f
TK
105042016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
10505
10506 * gdb.base/examine-backward.c: New file.
10507 * gdb.base/examine-backward.exp: New file.
10508
38b022b4
SM
105092016-06-06 Simon Marchi <simon.marchi@ericsson.com>
10510
10511 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
10512 matching.
10513
1b40ec05
TT
105142016-06-02 Tom Tromey <tom@tromey.com>
10515
10516 PR python/18984:
10517 * gdb.python/py-shared.exp: Add solib_name test.
10518
193bd378
SM
105192016-06-02 Simon Marchi <simon.marchi@ericsson.com>
10520
10521 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
10522
3326303b
MG
105232016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
10524
10525 PR c++/19893
10526 * gdb.dwarf2/implref.exp: Rename to...
10527 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
10528 * gdb.dwarf2/implref-array.c: New file.
10529 * gdb.dwarf2/implref-array.exp: Likewise.
10530 * gdb.dwarf2/implref-global.c: Likewise.
10531 * gdb.dwarf2/implref-global.exp: Likewise.
10532 * gdb.dwarf2/implref-struct.c: Likewise.
10533 * gdb.dwarf2/implref-struct.exp: Likewise.
10534
825c8ef2
AT
105352016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10536
10537 * gdb.trace/trace-condition.exp: Add 64bit tests.
10538
2320162a
AT
105392016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10540
10541 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
10542 bits types.
10543 (main): Adapt to 8 to 64 bits types.
10544 * gdb.trace/trace-condition.exp: Add new tests.
10545
a7818233
AT
105462016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10547
10548 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
10549
0d336466
AT
105502016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10551
10552 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
10553 Move condition tests...
10554 * gdb.trace/trace-condition.exp: Here.
10555
7faeb45a
AT
105562016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10557
10558 * gdb.trace/trace-condition.exp: Add counter-case tests.
10559
e385593e
JK
105602016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10561
10562 PR c++/15231
10563 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
10564 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
10565
744608cc
PA
105662016-05-27 Pedro Alves <palves@redhat.com>
10567
10568 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
10569 New procedure.
10570 (top level): Call it, and bail out of DejaGnu is known to be bad.
10571
ac775bf4
AB
105722016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
10573
10574 * gdb.base/whatis.c: Extend the test case.
10575 * gdb.base/whatis.exp: Add additional tests.
10576
2bbad2ea
BH
105772016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10578
10579* gdb.fortran/type.f90: Add pointer variable.
10580* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
10581
8b70175d
BH
105822016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10583
10584 * gdb.fortran/vla-type.exp: Fix testcase name.
10585
86d8a848
BH
105862016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10587
10588 * gdb.fortran/vla-type.exp: Access elements in nested structs.
10589
e188eb36
BH
105902016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10591
10592 * gdb.fortran/type.f90: Add nested structures.
10593 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
10594 * gdb.fortran/derived-type.exp: Adapt expected output.
10595 * gdb.fortran/vla-type.exp: Adapt expected output.
10596
9b2db1fd
BH
105972016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10598
10599 * gdb.fortran/whatis_type.exp: Adapt expected output.
10600
72b17055
BH
106012016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10602
10603 * gdb.fortran/print_type.exp: Fix expected output.
10604 * gdb.fortran/whatis_type.exp: Fix expected output.
10605
3cd81d8d
BH
106062016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10607
10608 * gdb.fortran/whatis_type.exp: Use multi_line.
10609
ddae9462
TT
106102016-05-24 Tom Tromey <tom@tromey.com>
10611
10612 PR python/17386:
10613 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
10614 use value as an index.
10615
1957f6b8
TT
106162016-05-23 Tom Tromey <tom@tromey.com>
10617
10618 PR python/17981:
10619 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
10620 no-breakpoint case.
10621
026a9174
PA
106222016-05-24 Pedro Alves <palves@redhat.com>
10623
10624 PR gdb/19828
10625 * gdb.threads/clone-attach-detach.c: New file.
10626 * gdb.threads/clone-attach-detach.exp: New file.
10627
e70a7231
FR
106282016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
10629
10630 * gdb.base/annota-input-while-running.exp: Fix syntax error.
10631
0f6ed0e0
TT
106322016-05-23 Tom Tromey <tom@tromey.com>
10633
10634 PR python/19438, PR python/18393:
10635 * gdb.python/py-progspace.exp: Add "dir" test.
10636 * gdb.python/py-objfile.exp: Add "dir" test.
10637
ffd19d61
YQ
106382016-05-23 Yao Qi <yao.qi@linaro.org>
10639
10640 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
10641 * gdb.arch/thumb2-it.exp: Likewise.
10642
9e8f9b05
SM
106432016-05-18 Simon Marchi <simon.marchi@ericsson.com>
10644
10645 * gdb.mi/mi-threads-interrupt.c: New file.
10646 * gdb.mi/mi-threads-interrupt.exp: New file.
10647
61c6156d
SM
106482016-05-17 Simon Marchi <simon.marchi@ericsson.com>
10649
10650 PR gdb/18077
10651 * gdb.mi/mi-async-run.exp: New file.
10652 * gdb.mi/mi-async-run.c: New file.
10653
67218854
TT
106542016-05-17 Tom Tromey <tom@tromey.com>
10655 Manish Goregaokar <manishsmail@gmail.com>
10656
10657 * lib/rust-support.exp: New file.
10658 * lib/gdb.exp (skip_rust_tests): New proc.
10659 (build_executable_from_specs): Handle rust.
10660 * lib/future.exp (gdb_find_rustc): New proc.
10661 (gdb_default_target_compile): Handle rust.
10662 * gdb.rust/expr.exp: New file.
10663 * gdb.rust/generics.exp: New file.
10664 * gdb.rust/generics.rs: New file.
10665 * gdb.rust/methods.exp: New file.
10666 * gdb.rust/methods.rs: New file.
10667 * gdb.rust/modules.exp: New file.
10668 * gdb.rust/modules.rs: New file.
10669 * gdb.rust/simple.exp: New file.
10670 * gdb.rust/simple.rs: New file.
10671
c44af4eb
TT
106722016-05-17 Tom Tromey <tom@tromey.com>
10673
10674 * gdb.base/default.exp (set language): Add rust.
10675
dcd1f979
TT
106762016-05-17 Tom Tromey <tom@tromey.com>
10677
10678 * gdb.gdb/unittest.exp: New file.
10679
155b7f57
YQ
106802016-05-16 Yao Qi <yao.qi@linaro.org>
10681
10682 * gdb.base/batch-preserve-term-settings.exp: Remove variable
10683 shell_prompt. Update shell_prompt_re.
10684
8ddd5a6c
DE
106852016-05-12 Doug Evans <dje@google.com>
10686
10687 PR symtab/19999
10688 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
10689 $options when building executable.
10690 * gdb.dwarf2/fission-loclists-pie.S: New file.
10691 * gdb.dwarf2/fission-loclists-pie.exp: New file.
10692
02e370d9
SM
106932016-05-04 Simon Marchi <simon.marchi@ericsson.com>
10694
10695 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
10696 of [is_remote target],
10697
8929ad8b
SM
106982016-05-04 Simon Marchi <simon.marchi@ericsson.com>
10699
10700 * lib/gdb.exp (use_gdb_stub): New procedure.
10701
6c447423
DE
107022016-05-03 Yunlian Jiang <yunlian@google.com>
10703 Doug Evans <dje@google.com>
10704
10705 PR symtab/19914
10706 * gdb.dwarf2/dwp-sepdebug.c: New file.
10707 * gdb.dwarf2/dwp-sepdebug.exp: New file.
10708
444e826c
SM
107092016-05-02 Simon Marchi <simon.marchi@ericsson.com>
10710
10711 * gdb.base/detach.exp: Remove is_remote check.
10712
740feeaa
SM
107132016-05-02 Simon Marchi <simon.marchi@ericsson.com>
10714
10715 * gdb.base/annota-input-while-running.exp: Don't check for
10716 [is_remote target]. Enable annotations after running to main.
10717 Remove unused "set test..." line.
10718
9080ac9d
SM
107192016-04-28 Simon Marchi <simon.marchi@ericsson.com>
10720
10721 * gdb.trace/trace-enable-disable.exp: New file.
10722 * gdb.trace/trace-enable-disable.c: New file.
10723
952ebca5
SM
107242016-04-28 Simon Marchi <simon.marchi@ericsson.com>
10725
10726 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
10727 use it in info sharedlibrary test.
10728 * gdb.trace/ftrace-lock.exp: Likewise.
10729 * gdb.trace/ftrace.exp: Likewise.
10730 * gdb.trace/range-stepping.exp: Likewise.
10731 * gdb.trace/trace-break.exp: Likewise.
10732 * gdb.trace/trace-condition.exp: Likewise.
10733 * gdb.trace/trace-mt.exp: Likewise.
10734
d9019901
SM
107352016-04-27 Simon Marchi <simon.marchi@ericsson.com>
10736
10737 * lib/gdb.exp (gdb_load_shlibs): Rename to...
10738 (gdb_load_shlib): ... this.
10739 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
10740 gdb_load_shlib.
10741 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
10742 * gdb.base/ctxobj.exp: Likewise.
10743 * gdb.base/dprintf-pending.exp: Likewise.
10744 * gdb.base/dso2dso.exp: Likewise.
10745 * gdb.base/fixsection.exp: Likewise.
10746 * gdb.base/gcore-relro.exp: Likewise.
10747 * gdb.base/gdb1555.exp: Likewise.
10748 * gdb.base/global-var-nested-by-dso.exp: Likewise.
10749 * gdb.base/gnu-ifunc.exp: Likewise.
10750 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
10751 * gdb.base/jit-so.exp (one_jit_test): Likewise.
10752 * gdb.base/pending.exp: Likewise.
10753 * gdb.base/print-file-var.exp: Likewise.
10754 * gdb.base/print-symbol-loading.exp: Likewise.
10755 * gdb.base/shlib-call.exp: Likewise.
10756 * gdb.base/shreloc.exp: Likewise.
10757 * gdb.base/so-impl-ld.exp: Likewise.
10758 * gdb.base/solib-disc.exp: Likewise.
10759 * gdb.base/solib-nodir.exp: Likewise.
10760 * gdb.base/solib-overlap.exp: Likewise.
10761 * gdb.base/solib-symbol.exp: Likewise.
10762 * gdb.base/solib-weak.exp (do_test): Likewise.
10763 * gdb.base/sym-file.exp: Likewise.
10764 * gdb.base/symtab-search-order.exp: Likewise.
10765 * gdb.base/type-opaque.exp: Likewise.
10766 * gdb.base/unload.exp: Likewise.
10767 * gdb.base/watchpoint-solib.exp: Likewise.
10768 * gdb.compile/compile.exp: Likewise.
10769 * gdb.cp/gdb2384.exp: Likewise.
10770 * gdb.cp/infcall-dlopen.exp: Likewise.
10771 * gdb.cp/re-set-overloaded.exp: Likewise.
10772 * gdb.fortran/library-module.exp: Likewise.
10773 * gdb.opt/solib-intra-step.exp: Likewise.
10774 * gdb.python/py-finish-breakpoint.exp: Likewise.
10775 * gdb.python/py-shared.exp: Likewise.
10776 * gdb.reverse/solib-precsave.exp: Likewise.
10777 * gdb.reverse/solib-reverse.exp: Likewise.
10778 * gdb.server/solib-list.exp: Likewise.
10779 * gdb.threads/dlopen-libpthread.exp: Likewise.
10780 * gdb.threads/tls-shared.exp: Likewise.
10781 * gdb.threads/tls-so_extern.exp: Likewise.
10782 * gdb.trace/change-loc.exp: Likewise.
10783 * gdb.trace/ftrace-lock.exp: Likewise.
10784 * gdb.trace/ftrace.exp: Likewise.
10785 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
10786 * gdb.trace/pending.exp: Likewise.
10787 * gdb.trace/range-stepping.exp: Likewise.
10788 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
10789 (strace_info_marker): Likewise.
10790 (strace_probe_marker): Likewise.
10791 (strace_trace_on_same_addr): Likewise.
10792 (strace_trace_on_diff_addr): Likewise.
10793 * gdb.trace/trace-break.exp: Likewise.
10794 * gdb.trace/trace-condition.exp: Likewise.
10795 * gdb.trace/trace-mt.exp: Likewise.
10796
fca4cfd9
SM
107972016-04-27 Simon Marchi <simon.marchi@ericsson.com>
10798
10799 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
10800 result of gdb_remote_download.
10801 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
10802 * gdb.base/dso2dso.exp: Likewise.
10803 * gdb.base/global-var-nested-by-dso.exp: Likewise.
10804 * gdb.base/print-file-var.exp: Likewise.
10805 * gdb.base/shlib-call.exp: Likewise.
10806 * gdb.base/shreloc.exp: Likewise.
10807 * gdb.base/solib-overlap.exp: Likewise.
10808 * gdb.base/solib-weak.exp (do_test): Likewise.
10809 * gdb.base/unload.exp: Likewise.
10810
11cf4ffb
YQ
108112016-04-27 Yao Qi <yao.qi@linaro.org>
10812
10813 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
10814 exists.
10815
3e2e34f8
KB
108162016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10817
10818 * vla-type.exp: Print structure from toplevel.
10819
8f07e298
BH
108202016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10821
10822 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
10823 of dynamic types.
10824 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
10825 of dynamic types.
10826
9920b434
BH
108272016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10828
10829 * gdb.fortran/vla-type.f90: New file.
10830 * gdb.fortran/vla-type.exp: New file.
10831
f3abeff5
YQ
108322016-04-25 Yao Qi <yao.qi@linaro.org>
10833
10834 * gdb.base/branch-to-self.c: New file.
10835 * gdb.base/branch-to-self.exp: New file.
10836
0a5d52f0
YQ
108372016-04-22 Yao Qi <yao.qi@linaro.org>
10838
10839 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
10840 more after $hex.
10841
495346f6
YQ
108422016-04-22 Yao Qi <yao.qi@linaro.org>
10843
10844 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
10845 * gdb.base/annota3.exp: Likewise.
10846
4a7e075c
YQ
108472016-04-22 Yao Qi <yao.qi@linaro.org>
10848
10849 * gdb.reverse/step-precsave.exp: Do one step and test program
10850 stops in "callee" and do multiple steps until program goes out
10851 of "callee".
10852 * gdb.reverse/step-reverse.exp: Likewise.
10853
5b061e98
YQ
108542016-04-22 Yao Qi <yao.qi@linaro.org>
10855
10856 * gdb.trace/signal.exp: Also pass if
10857 $tracepoint_hits($i) > $iterations.
10858
5c5dc57f
YQ
108592016-04-22 Yao Qi <yao.qi@linaro.org>
10860
10861 * gdb.trace/signal.c: New file.
10862 * gdb.trace/signal.exp: New file.
10863
a55411b9
DE
108642016-04-19 Doug Evans <xdje42@gmail.com>
10865
10866 * gdb.base/bad-file.exp: New file.
10867
a22df60a
MG
108682016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
10869
10870 * gdb.dwarf2/implref.exp: New file.
10871
0c13f7e5
BH
108722016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
10873
10874 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
10875 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
10876 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
10877 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
10878 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
10879 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
10880 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
10881 * lib/fortran.exp (fortran_int4): New procedure.
10882 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
10883 (fortran_logical4): Likewise.
10884
9b9b09e9
BH
108852016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
10886
10887 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
10888
a14d1f4d
BH
108892016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
10890
10891 * lib/compiler.c: Add Intel specific preprocessor macros.
10892 * lib/compiler.cc: Likewise.
25d49b86 10893
7d49b1d0
LM
108942016-04-13 Luis Machado <lgustavo@codesourcery.com>
10895
10896 * gdb.server/connect-with-no-symbol-file.c: New file.
10897 * gdb.server/connect-with-no-symbol-file.exp: New file.
10898
8392fa22
SM
108992016-04-13 Simon Marchi <simon.marchi@ericsson.com>
10900
10901 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
10902
8c4c4aeb
SM
109032016-04-13 Simon Marchi <simon.marchi@ericsson.com>
10904
10905 * boards/gdbserver-base.exp (${board}_download): Copy source file to
10906 standard output directory.
10907
45e3745e
AT
109082016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
10909
10910 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
10911
e26b7e41
MM
109122016-04-13 Markus Metzger <markus.t.metzger@intel.com>
10913
10914 * gdb.btrace/instruction_history.c (loop): Add declaration.
10915
8ce09462
AT
109162016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
10917
10918 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
10919
2e88a1ea
SM
109202016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
10921
10922 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
10923 parentheses to print.
10924 (continue_handler): Likewise.
10925
f48e22e3
SM
109262016-04-08 Simon Marchi <simon.marchi@ericsson.com>
10927
10928 * gdb.server/solib-list.exp: Remove is_remote check.
10929 Pass shlib= to gdb_compile. Don't link shared library with
10930 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
10931 Run binary filename through "readlink -f" on the target.
10932
096be756
PA
109332016-04-08 Pedro Alves <palves@redhat.com>
10934
10935 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
10936 interpreter filename as argument to gdbserver_spawn.
10937 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
10938 Return empty if $last_loaded_file does not exist.
10939
06500533
JK
109402016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10941
10942 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
10943 * gdb.base/jit-main.c: Use exit after usage.
10944
2d35e871
JK
109452016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10946
10947 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
10948 GDBHISTSIZE prior to the tests.
10949 * gdb.base/gdbinit-history.exp: Likewise.
10950
109512016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
10952
10953 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
10954 instead of build_executable. Use gdb_load_shlibs.
10955
c8064e7e
YQ
109562016-04-07 Yao Qi <yao.qi@linaro.org>
10957
10958 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
10959 Execute "si" command.
10960
bde47561
YQ
109612016-04-07 Yao Qi <yao.qi@linaro.org>
10962
10963 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
10964 number instead of the comments on some line.
10965
b16f8a3b
DB
109662016-04-06 Don Breazeal <donb@codesourcery.com>
10967
10968 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
10969 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
10970
c2f901df
SM
109712016-04-06 Simon Marchi <simon.marchi@ericsson.com>
10972
10973 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
10974 standard_output_file. Remove unused binfile variable.
10975
ac17fda0
CU
109762016-04-05 Catalin Udma <catalin.udma@freescale.com>
10977
10978 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
10979 * gdb.python/py-mi-objfile.exp: Match "list main" output
10980 in console format.
10981
03a8c4df
SM
109822016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
10983
10984 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
10985 absolute.
10986
6e774b13
SM
109872016-04-05 Simon Marchi <simon.marchi@ericsson.com>
10988
10989 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
10990 absolute.
10991 * gdb.trace/ftrace.exp: Likewise.
10992 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
10993 targets as well.
10994 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
10995 (gdb_load_shlibs): Copy libraries to test directory when testing
10996 natively. Only set solib-search-path if testing remotely.
10997 * lib/mi-support.exp (mi_load_shlibs): Likewise.
10998
7817ea46
SM
109992016-04-05 Simon Marchi <simon.marchi@ericsson.com>
11000
11001 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
11002 gdb_download. Use it even if the target is not remote.
11003 * gdb.base/jit.exp (compile_jit_test): Likewise.
11004 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
11005 output directory if the destination board is local, otherwise use
11006 the standard remote_download from DejaGnu.
11007 (gdb_download): Remove.
11008 (gdb_load_shlibs): Use gdb_remote_download instead of
11009 gdb_download.
11010 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
11011 Use gdb_remote_download instead of gdb_download. Use it even if
11012 the target is not remote.
11013 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
11014 instead of gdb_download.
11015
7beb7f68
SM
110162016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
11017
11018 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
11019 (test_insert_delete_modify): Call mi_load_shlibs before trying to
11020 run.
11021
cc63428a
AV
110222016-04-01 Artemiy Volkov <artemiyv@acm.org>
11023
11024 PR gdb/19820
11025 * gdb.base/printcmds.exp: Add artificial arrays tests.
11026
64cdf930
PA
110272016-03-31 Pedro Alves <palves@redhat.com>
11028
11029 PR gdb/19858
11030 * gdb.base/jit-main.c: Include unistd.h.
11031 (ATTACH): Define to 0 if not already defined.
11032 (wait_for_gdb, mypid): New globals.
11033 (WAIT_FOR_GDB): New macro.
11034 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
11035 some breakpoint locations.
11036 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
11037 New procedures.
11038 (one_jit_test): Add REATTACH parameter, and handle it. Use
11039 continue_to_test_location.
11040 (top level): Test attach, and adjusts calls to one_jit_test.
11041
40dea8cb
PA
110422016-03-31 Pedro Alves <palves@redhat.com>
11043
11044 PR gdb/19858
11045 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
11046 BINSUFFIX parameter, and handle it.
11047 (top level): Adjust calls compile_jit_test.
11048
e7ea3ec7
CU
110492016-03-31 Catalin Udma <catalin.udma@freescale.com>
11050
11051 PR python/19743
11052 * gdb.python/py-mi-events-gdb.py: New file.
11053 * gdb.python/py-mi-events.c: New file.
11054 * gdb.python/py-mi-events.exp: New file.
11055
e6359af3
YQ
110562016-03-30 Yao Qi <yao.qi@linaro.org>
11057
11058 * gdb.reverse/until-precsave.exp: Match function name only.
11059 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
11060 Move malloc to a condition block.
11061 * gdb.reverse/until-reverse.exp: Match function name only.
11062
a4105d04
MK
110632016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
11064
11065 * gdb.trace/ftrace.exp: Set arg0exp for s390.
11066 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
11067 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
11068 variable for GPR 0 instead of assuming it is register 0.
11069 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
11070 * lib/trace-support.exp: Add s390 registers.
11071
bfa6adb9
YQ
110722016-03-29 Yao Qi <yao.qi@linaro.org>
11073
11074 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
11075
1e6697ea
YQ
110762016-03-24 Yao Qi <yao.qi@linaro.org>
11077
11078 * gdb.reverse/break-reverse.exp: Add quotation mark in the
11079 test message.
11080
64bcd522
AA
110812016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11082
11083 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
11084 maintaining separate logic for constructing the output path.
11085
7868401b
DB
110862016-03-16 Don Breazeal <donb@codesourcery.com>
11087
11088 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
11089 Retry fork and waitpid on interrupted system call errors.
11090 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
11091 Use with_timeout_factor to increase timeout by factor of 10.
11092
1cafadb4
DB
110932016-03-15 Don Breazeal <donb@codesourcery.com>
11094
11095 * gdb.cp/scope-err.cc: New test program.
11096 * gdb.cp/scope-err.exp: New test script.
11097 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
11098 lines and "set breakpoint here" comment.
11099 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
11100 Fixed some whitespace and format issues.
11101 * gdb.mi/mi-linespec-err-cp.cc: New test program.
11102 * gdb.mi/mi-linespec-err-cp.exp: New test script.
11103
81516450
DE
111042016-03-15 Doug Evans <dje@google.com>
11105
11106 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
11107 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
11108 All callers updated. Add tests for enums, mixed flags register.
11109
aa52b601
DE
111102016-03-15 Doug Evans <dje@google.com>
11111
11112 * gdb.base/skip.c (main): Call test_skip_file_and_function.
11113 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
11114
fa4ff313
SM
111152016-03-14 Simon Marchi <simon.marchi@ericsson.com>
11116
11117 * gdb.base/default.exp: Add $_as_string to the list of expected
11118 convenience functions.
11119
f2403c39
AB
111202016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
11121
11122 * gdb.base/maint.exp: New tests for 'maint info line-table'.
11123
f2f3ccb9
SM
111242016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
11125
11126 * gdb.python/py-as-string.exp: New file.
11127 * gdb.python/py-as-string.c: New file.
11128
00dbd492
PA
111292016-03-09 Pedro Alves <palves@redhat.com>
11130
11131 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
11132 signal" -> "Thread NN received signal" output change.
11133 * gdb.threads/ia64-sigill.exp: Likewise.
11134 * gdb.threads/linux-dp.exp: Likewise.
11135 * gdb.threads/manythreads.exp: Likewise.
11136 * gdb.threads/pending-step.exp: Likewise.
11137 * gdb.threads/print-threads.exp: Likewise.
11138 * gdb.threads/sigstep-threads.exp: Likewise.
11139 * gdb.threads/staticthreads.exp: Likewise.
11140 * gdb.threads/tls.exp: Likewise.
11141
1e6697ea
YQ
111422016-03-09 Pedro Alves <palves@redhat.com>
11143
11144 * gdb.base/command-line-input.exp: New file.
11145
b04fd3be
MK
111462016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11147
11148 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
11149 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
11150 * gdb.trace/pending.exp: Accept leading dot before function name.
11151 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
11152 * lib/trace-support.exp: Set registers for ppc.
11153
98fa59e9
MK
111542016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11155
11156 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
11157 use it for disassembly; accept .main in addition to main in backtrace.
11158
f77198c8
MK
111592016-03-09 Wei-cheng Wang <cole945@gmail.com>
11160 Marcin Kościelnicki <koriakin@0x04.net>
11161
11162 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
11163 (gdb_recursion_test_ptr): New global variable.
11164 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
11165 gdb_recursion_test.
11166 (gdb_c_test): Ditto.
11167
ba84e0da
MK
111682016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11169
11170 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
11171 ordering.
11172
4366d36e
MK
111732016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11174
11175 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
11176 (bar): Add bar_start_lbl label.
11177 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
11178 of foo/bar for emitting DWARF and tracing.
11179
5eb264df
SDJ
111802016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
11181
11182 * analyze-racy-logs.py: Set executable bit.
11183
fb6a751f
SDJ
111842016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
11185
11186 * Makefile.in (DEFAULT_RACY_ITER): New variable.
11187 (CHECK_TARGET_TMP): Likewise.
11188 (check-single-racy): New rule.
11189 (check-parallel-racy): Likewise.
11190 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
11191 (do-check-parallel-racy): New rule.
11192 (check-racy/%.exp): Likewise.
11193 * README (Racy testcases): New section.
11194 * analyze-racy-logs.py: New file.
11195
bdf7e230
DE
111962016-03-03 Doug Evans <dje@google.com>
11197
11198 * gdb.base/skip.exp: Use with_test_prefix.
11199
4719d415
YQ
112002016-03-03 Yao Qi <yao.qi@linaro.org>
11201
11202 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
11203 Invoke step_over_syscall "clone" and break_cond_on_syscall
11204 "clone".
11205 * gdb.base/step-over-clone.c: New file.
11206
ea507862
YQ
112072016-03-03 Yao Qi <yao.qi@linaro.org>
11208
11209 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
11210 code format.
11211
8fc8cbda
YQ
112122016-03-03 Yao Qi <yao.qi@linaro.org>
11213
11214 * gdb.base/disp-step-fork.c: Rename to ...
11215 * gdb.base/step-over-fork.c: ... it. New file.
11216 * gdb.base/disp-step-vfork.c: Rename to ...
11217 * gdb.base/step-over-vfork.c: ... it. New file.
11218 * gdb.base/disp-step-syscall.exp: Rename to ...
11219 * gdb.base/step-over-syscall.exp: ... it. New file.
11220 (disp_step_cross_syscall): Rename to ...
11221 (step_over_syscall): ... it.
11222
92fa70b0
YQ
112232016-03-03 Yao Qi <yao.qi@linaro.org>
11224
11225 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
11226 If target supports condition evaluation on target, invoke
11227 break_cond_on_syscall for fork and vfork.
11228
e197ad3c
YQ
112292016-03-03 Yao Qi <yao.qi@linaro.org>
11230
11231 * gdb.base/disp-step-syscall.exp: Don't invoke
11232 support_displaced_stepping.
11233 (disp_step_cross_syscall): Test with displaced stepping off and
11234 on if supported.
11235
0b47da9f
YQ
112362016-03-03 Yao Qi <yao.qi@linaro.org>
11237
11238 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
11239 proc.
11240 (setup): New proc.
11241 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
11242 and setup.
11243
065ab6dc
BH
112442016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11245
11246 * gdb.fortran/vla-history.exp: Remove breakpoint.
11247
07e448ad 112482016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11249
25d49b86
PA
11250 * gdb.fortran/vla-history.exp: Lookup array elements and printing
11251 exceeds timeout.
07e448ad 11252
9ac2d526 112532016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11254
25d49b86
PA
11255 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
11256 breakpoint.
9ac2d526 11257
17807369
BH
112582016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11259
11260 * gdb.mi/vla.f90: Nullify pointer after declaration.
11261
86e501af
PA
112622016-03-01 Pedro Alves <palves@redhat.com>
11263
11264 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
11265
1e903e32
PA
112662016-03-01 Pedro Alves <palves@redhat.com>
11267
11268 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
11269 before anything else.
11270 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
11271 _GNU_SOURCE here.
11272 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
11273 before anything else.
11274 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
11275
6ccb54e2
PA
112762016-03-01 Pedro Alves <palves@redhat.com>
11277
11278 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
11279
30ca9da1
YQ
112802016-03-01 Yao Qi <yao.qi@linaro.org>
11281
11282 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
11283 prepare_for_testing.
11284
dc856b38
YQ
112852016-03-01 Yao Qi <yao.qi@linaro.org>
11286
11287 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
11288
4a932159
AA
112892016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
11290
11291 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
11292 manually constructing the output path.
11293
f2489477
AA
112942016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
11295
11296 * gdb.arch/s390-stackless.S: New.
11297 * gdb.arch/s390-stackless.exp: New.
11298
38899f16
IB
112992016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
11300
11301 * gdb.dlang/circular.c: New file.
11302 * gdb.dlang/circular.exp: New file.
11303
9fde51ed
YQ
113042016-02-26 Yao Qi <yao.qi@linaro.org>
11305
11306 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
11307 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
11308 (testcases): Update.
11309
ce90fefe
YQ
113102016-02-26 Yao Qi <yao.qi@linaro.org>
11311
11312 * gdb.reverse/aarch64.c: Rename to ...
11313 * gdb.reverse/insn-reverse.c: ... it.
11314 * gdb.reverse/aarch64.exp: Rename to ...
11315 * gdb.reverse/insn-reverse.exp: ... it.
11316
3263bceb
YQ
113172016-02-26 Yao Qi <yao.qi@linaro.org>
11318
11319 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
11320 (testcase_ftype): New.
11321 (testcases): New array.
11322 (n_testcases): New.
11323 (main): Call each element in testcases.
11324 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
11325 (read_testcase): New.
11326 Do the tests in a loop.
11327
6cb59ff1
YQ
113282016-02-25 Yao Qi <yao.qi@linaro.org>
11329
11330 * gdb.base/branches.c: Remove.
11331
ae91f625
MK
113322016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11333
11334 PR gdb/13808
11335 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
11336
678b48b7
MK
113372016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11338
11339 * gdb.trace/ftrace.exp: Remove unnecessary target check.
11340
7337a6f2
MK
113412016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11342
11343 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
11344 change x86_64 call_insn to 'callq'.
11345
861ca91f
AT
113462016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
11347
11348 * gdb.trace/tfile-avx.c: Move to...
11349 * gdb.trace/tracefile-pseudo-reg.c: Here.
11350 * gdb.trace/tfile-avx.exp: Move to...
11351 * gdb.trace/tracefile-pseudo-reg.exp: Here.
11352
bf74e428
GB
113532016-02-24 Gary Benson <gbenson@redhat.com>
11354
11355 * gdb.base/attach-pie-noexec.exp: Do not expect an error
11356 message on attach.
11357
cce0e923
DE
113582016-02-23 Doug Evans <dje@google.com>
11359
11360 * gdb.base/skip.c (test_skip): New function.
11361 (end_test_skip_file_and_function): New function.
11362 (test_skip_file_and_function): New function.
11363 * gdb.base/skip1.c (test_skip): New function.
11364 (skip1_test_skip_file_and_function): New function.
11365 * gdb.base/skip.exp: Add tests for new skip options.
11366 * gdb.base/skip-solib.exp: Update expected output.
11367 * gdb.perf/skip-command.cc: New file.
11368 * gdb.perf/skip-command.exp: New file.
11369 * gdb.perf/skip-command.py: New file.
11370
4000e47e
MK
113712016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
11372
11373 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
11374 info registers pattern.
11375
24f75ead
IB
113762016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
11377
11378 * lib/future.exp: Add D support.
11379 (gdb_find_gdc): New proc.
11380 (gdb_default_target_compile): Add D support.
11381
fbb7bcbe
WW
113822016-02-18 Wei-cheng Wang <cole945@gmail.com>
11383
11384 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
11385 user+system time.
11386 (trace_speed_test): Determine the iteration count for a time
11387 between 15..30 seconds.
11388
012b3a21
WT
113892016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
11390
11391 * gdb.arch/i386-mpx-sigsegv.c: New file.
11392 * gdb.arch/i386-mpx-sigsegv.exp: New file.
11393 * gdb.arch/i386-mpx-simple_segv.c: New file.
11394 * gdb.arch/i386-mpx-simple_segv.exp: New file.
11395
2d5189bd
YQ
113962016-02-18 Yao Qi <yao.qi@linaro.org>
11397
11398 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
11399 Don't call setup_kfail.
11400
40fb20d0
YQ
114012016-02-18 Yao Qi <yao.qi@linaro.org>
11402
11403 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
11404 Set "set breakpoint condition-evaluation" per $cond_bp_target.
11405
21b1f8d2
DE
114062016-02-16 Doug Evans <dje@google.com>
11407
11408 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
11409 * gdb.base/skip1.c: Ditto.
11410 * gdb.base/skip.exp: Whitespace cleanup.
11411
4041ed77
DB
114122016-02-16 Don Breazeal <donb@codesourcery.com>
11413
11414 PR remote/19496
11415 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
11416 Remove kfail for PR remote/19496.
11417
c4ef31bf
SM
114182016-02-16 Simon Marchi <simon.marchi@ericsson.com>
11419
11420 * lib/gdb.exp (standard_temp_file): Return a path specific to
11421 the runtest invocation.
11422
266b65b3
SM
114232016-02-16 Simon Marchi <simon.marchi@ericsson.com>
11424
11425 * gdb.trace/save-trace.exp: Change relative path to be in the
11426 standard output directory.
11427
a7a0a6a9
JK
114282016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11429
11430 * gdb.arch/i386-prologue.c: Add missing prototypes.
11431
c99dbb42
JK
114322016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11433
11434 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
11435 * gdb.arch/i386-prologue.exp: Likewise.
11436 * gdb.arch/i386-size.exp: Likewise.
11437
aa480355
SM
114382016-02-15 Simon Marchi <simon.marchi@ericsson.com>
11439
11440 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
11441 define object file path.
11442 * gdb.btrace/gcore.exp: Use standard_output_file to define core
11443 file path.
11444 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
11445 standard_output_file to define binfile.
11446
ba881f50
JK
114472016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11448
11449 Fix compatibility with recent gfortran-5.3.1.
11450 * gdb.fortran/vla-history.exp (print vla1 allocated)
11451 (print vla2 allocated, print $2, print $3): Remove
11452 (print $4): Rename to ...
11453 (print $2): ... here.
11454 (print $9): Rename to ...
11455 (print $5): ... here.
11456 (print $10): Rename to ...
11457 (print $6): ... here.
11458 * gdb.fortran/vla.f90: Add pvla initialization.
11459
e9fb005c
JK
114602016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11461
11462 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
11463 New test.
11464 * gdb.fortran/vla-value-sub.exp: Likewise.
11465
e44e00ff
MK
114662016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
11467
11468 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
11469
97e94151
SM
114702016-02-12 Simon Marchi <simon.marchi@ericsson.com>
11471
11472 * i386-biarch-core.exp: Define corefile using
11473 standard_output_file.
11474
01113bc1
YQ
114752016-02-12 Yao Qi <yao.qi@linaro.org>
11476
11477 * gdb.arch/arm-single-step-kernel-helper.c: New.
11478 * gdb.arch/arm-single-step-kernel-helper.exp: New.
11479
33b4777c
MM
114802016-02-12 Markus Metzger <markus.t.metzger@intel.com>
11481
11482 * gdb.btrace/tailcall-only.exp: New.
11483 * gdb.btrace/tailcall-only.c: New.
11484 * gdb.btrace/x86_64-tailcall-only.S: New.
11485 * gdb.btrace/i686-tailcall-only.S: New.
11486
acc23c11
PA
114872016-02-11 Pedro Alves <palves@redhat.com>
11488
11489 * README (Parallel testing): Add missing double quotes.
11490
e352bf0a
PA
114912016-02-11 Pedro Alves <palves@redhat.com>
11492
11493 * README (Parallel testing): New section.
11494 (GDB_PARALLEL): Rewrite.
11495 (FORCE_PARALLEL): Document.
11496
9f5fed78
MK
114972016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
11498
11499 * gdb.trace/tfile-avx.c: New test.
11500 * gdb.trace/tfile-avx.exp: New test.
11501
9ef9e6a6
KS
115022016-02-09 Keith Seitz <keiths@redhat.com>
11503
11504 PR breakpoints/19546
11505 * gdb.base/infcall-exec.c: New file.
11506 * gdb.base/infcall-exec2.c: New file.
11507 * gdb.base/infcall-exec.exp: New file.
11508
a96e36da
KS
115092016-02-09 Keith Seitz <keiths@redhat.com>
11510
11511 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
11512 (toplevel): Call test_bkpt_address.
11513
9f61929f
KS
115142016-02-09 Keith Seitz <keiths@redhat.com>
11515
11516 PR python/19506
11517 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
11518 (toplevel): Call test_bkpt_address.
11519
1e94266c
SM
115202016-02-09 Simon Marchi <simon.marchi@ericsson.com>
11521
11522 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
11523 to AC_OUTPUT.
11524 * configure: Regenerate.
11525
2a7f3dff
PA
115262016-02-09 Pedro Alves <palves@redhat.com>
11527
11528 PR breakpoints/19548
11529 * gdb.base/execl-update-breakpoints.c (some_function): New
11530 function.
11531 (main): Call it.
11532 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
11533 Tighten expected GDB output.
11534
2151ccc5
SM
115352016-02-08 Simon Marchi <simon.marchi@ericsson.com>
11536
11537 * Makefile.in (ALL_SUBDIRS): Remove.
11538 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
11539 (distclean maintainer-clean realclean): Likewise.
11540 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
11541 * configure: Regenerate.
11542 * gdb.ada/Makefile.in: Delete.
11543 * gdb.arch/Makefile.in: Likewise.
11544 * gdb.asm/Makefile.in: Likewise.
11545 * gdb.base/Makefile.in: Likewise.
11546 * gdb.btrace/Makefile.in: Likewise.
11547 * gdb.cell/Makefile.in: Likewise.
11548 * gdb.compile/Makefile.in: Likewise.
11549 * gdb.cp/Makefile.in: Likewise.
11550 * gdb.disasm/Makefile.in: Likewise.
11551 * gdb.dlang/Makefile.in: Likewise.
11552 * gdb.dwarf2/Makefile.in: Likewise.
11553 * gdb.fortran/Makefile.in: Likewise.
11554 * gdb.gdb/Makefile.in: Likewise.
11555 * gdb.go/Makefile.in: Likewise.
11556 * gdb.guile/Makefile.in: Likewise.
11557 * gdb.java/Makefile.in: Likewise.
11558 * gdb.linespec/Makefile.in: Likewise.
11559 * gdb.mi/Makefile.in: Likewise.
11560 * gdb.modula2/Makefile.in: Likewise.
11561 * gdb.multi/Makefile.in: Likewise.
11562 * gdb.objc/Makefile.in: Likewise.
11563 * gdb.opencl/Makefile.in: Likewise.
11564 * gdb.opt/Makefile.in: Likewise.
11565 * gdb.pascal/Makefile.in: Likewise.
11566 * gdb.perf/Makefile.in: Likewise.
11567 * gdb.python/Makefile.in: Likewise.
11568 * gdb.reverse/Makefile.in: Likewise.
11569 * gdb.server/Makefile.in: Likewise.
11570 * gdb.stabs/Makefile.in: Likewise.
11571 * gdb.threads/Makefile.in: Likewise.
11572 * gdb.trace/Makefile.in: Likewise.
11573 * gdb.xml/Makefile.in: Likewise.
11574 * lib/gdb.exp (make_gdb_parallel_path): Add check for
11575 GDB_PARALLEL.
11576 (standard_output_file): Remove check for GDB_PARALLEL, always
11577 return path in outputs/$subdir/$testname.
11578
437277d4
SM
115792016-02-08 Simon Marchi <simon.marchi@ericsson.com>
11580
11581 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
11582 (site.exp): Assign abs_srcdir to tcl's srcdir.
11583
31d913c7
YQ
115842016-02-04 Yao Qi <yao.qi@linaro.org>
11585
11586 * gdb.base/foll-exec-mode.c: Include limits.h.
11587 (main): Add parameters argc and argv. Get directory from
11588 argv[0].
11589 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
11590 compilation.
11591 * gdb.base/foll-exec.c: Include limits.h.
11592 (main): Add parameters argc and argv.
11593 Get directory from argv[0].
11594 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
11595 Adjust tests on the number of lines as source code changed.
11596 * gdb.base/foll-vfork-exit.c: Include limits.h.
11597 (main): Add one line of statement before vfork.
11598 * gdb.base/foll-vfork.c: Include limits.h and string.h.
11599 (main): Add parameters argc and argv. Get directory from
11600 argv[0].
11601 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
11602 (setup_gdb): Set tbreak to skip some source lines.
11603 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
11604 (main): Add parameters argc and argv. Get directory from
11605 argv[0].
11606 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
11607 compilation.
11608 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
11609 (main): Add parameters argc and argv. Get directory from
11610 argv[0].
11611 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
11612 compilation.
11613
9482b9fb
DE
116142016-02-01 Doug Evans <dje@google.com>
11615
11616 * gdb.base/skip.exp: Clean up multiple references to same test name.
11617
6b2e4f10
PA
116182016-02-01 Pedro Alves <palves@redhat.com>
11619
ccb6afd6 11620 PR remote/19496
6b2e4f10
PA
11621 * gdb.threads/forking-threads-plus-breakpoint.exp
11622 (displaced_stepping_supported): New global.
11623 (probe_displaced_stepping_support): New procedure.
11624 (do_test): Add 'displaced' parameter, and use it.
11625 (top level): Check for displaced stepping support. Add displaced
11626 stepping on/off testing axis.
11627
37a8db1a
AB
116282016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
11629
11630 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
11631 pointer. Don't perform further tests on the unassociated pointer
11632 if the first test fails.
11633
5fdf6324
AB
116342016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
11635
11636 * gdb.base/max-value-size.c: New file.
11637 * gdb.base/max-value-size.exp: New file.
11638 * gdb.base/huge.exp: Disable max-value-size for this test.
11639
935c6144
IB
116402016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
11641
11642 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
11643
7fe8399d
YQ
116442016-01-28 Yao Qi <yao.qi@linaro.org>
11645
11646 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
11647
a2077e25
PA
116482016-01-25 Pedro Alves <palves@redhat.com>
11649
11650 PR threads/19461
11651 * gdb.base/fork-running-state.c: New file.
11652 * gdb.base/fork-running-state.exp: New file.
11653
1d2736d4
PA
116542016-01-25 Pedro Alves <palves@redhat.com>
11655
11656 PR gdb/19494
11657 * gdb.base/catch-fork-kill.c: New file.
11658 * gdb.base/catch-fork-kill.exp: New file.
11659
f1da4b11
PA
116602016-01-25 Pedro Alves <palves@redhat.com>
11661
11662 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
11663 Delete, moved to lib/gdb.exp.
11664 * gdb.threads/forking-threads-plus-breakpoint.exp
11665 (foreach_with_prefix): Likewise.
11666 * gdb.threads/process-dies-while-handling-bp.exp
11667 (foreach_with_prefix): Likewise.
11668 * lib/gdb.exp (foreach_with_prefix): New procedure.
11669
45f38546
MK
116702016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
11671
11672 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
11673 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
11674
dc29a1ce
MK
116752016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
11676
11677 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
11678 endian targets.
11679
092127d7
JK
116802016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11681 Pedro Alves <palves@redhat.com>
11682
11683 Fix testsuite compatibility with Guile.
11684 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
11685 number.
11686
31d765d3
JK
116872016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11688
11689 Fix testsuite compatibility with Guile.
11690 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
11691 (thread 1): New test for backtrace through signal handler.
11692
1ac78c04
YQ
116932016-01-22 Yao Qi <yao.qi@linaro.org>
11694
11695 PR testsuite/19491
11696 * gdb.base/multi-forks.c: Include
11697 ../lib/unbuffer_output.c
11698 (main): Call gdb_unbuffer_output.
11699
4f5946a8
DE
117002016-01-21 Doug Evans <dje@google.com>
11701
11702 * lib/ada.exp (gdb_compile_ada): Fix typo.
11703
305e13e6
JB
117042016-01-21 Joel Brobecker <brobecker@adacore.com>
11705
11706 * gdb.base/break-fun-addr.exp: New file.
11707 * gdb.base/break-fun-addr1.c: New file.
11708 * gdb.base/break-fun-addr2.c: New file.
11709
5f5dfff6
SM
117102016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
11711
11712 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
11713 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
11714 enum flag values.
11715
fd356fa2
AA
117162016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11717
11718 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
11719 when GDB can not set the vector return value. Add more comments
11720 for clarification.
11721
9df22175
AT
117222016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
11723
11724 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
11725 command.
11726
41d1845e
SM
117272016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11728
11729 * Makefile.in (DO_RUNTEST): Add --status and update usages.
11730
01ac6840
SM
117312016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11732
11733 * Makefile.in (check-single): Pass --status to runtest.
11734 (check/%.exp): Likewise.
11735
117362016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11737
11738 * Makefile.in (check-parallel): Propagate return code from make
11739 do-check-parallel.
11740
bd0a71fa
MK
117412016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
11742
11743 * gdb.trace/ftrace.exp: Fix expected message on continue.
11744 * gdb.trace/pending.exp: Fix expected message on continue.
11745 * gdb.trace/trace-break.exp: Fix expected message on continue.
11746
8bcbad33
SM
117472016-01-18 Simon Marchi <simon.marchi@ericsson.com>
11748
11749 * lib/gdb.exp (gdb_test): Remove unused global references.
11750
f303dbd6
PA
117512016-01-18 Pedro Alves <palves@redhat.com>
11752
11753 * gdb.base/async-shell.exp: Adjust expected output.
11754 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
11755 * gdb.base/siginfo-thread.exp: Adjust expected output.
11756 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
11757 * gdb.java/jnpe.exp: Adjust expected output.
11758 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
11759 * gdb.threads/continue-pending-status.exp: Adjust expected output.
11760 * gdb.threads/leader-exit.exp: Adjust expected output.
11761 * gdb.threads/manythreads.exp: Adjust expected output.
11762 * gdb.threads/pthreads.exp: Adjust expected output.
11763 * gdb.threads/schedlock.exp: Adjust expected output.
11764 * gdb.threads/siginfo-threads.exp: Adjust expected output.
11765 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
11766 expected output.
11767 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
11768 output.
11769 * gdb.threads/sigthread.exp: Adjust expected output.
11770 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
11771
b2789696
YQ
117722016-01-18 Yao Qi <yao.qi@linaro.org>
11773
11774 * gdb.guile/scm-section-script.c: Replace @progbits with
11775 %progbits.
11776 * gdb.python/py-section-script.c: Likewise.
11777
71ef29a8
PA
117782016-01-15 Pedro Alves <palves@redhat.com>
11779
11780 * gdb.multi/tids.exp: Test star wildcard ranges.
11781
3f5b7598
PA
117822016-01-15 Pedro Alves <palves@redhat.com>
11783
11784 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
11785 command from "thread apply" invocation.
11786 (thr_apply_info_thr_invalid): Default the expected output to the
11787 input tid list.
11788 (top level): Add tests that use convenience variables. Add tests
11789 for "thread apply" with a valid TID list, but missing the command.
11790
663f6d42
PA
117912016-01-13 Pedro Alves <palves@redhat.com>
11792
11793 * gdb.base/default.exp: Expect $_gthread as well.
11794 * gdb.multi/tids.exp: Test $_gthread.
11795 * gdb.threads/thread-specific.exp: Test $_gthread.
11796
c84f6bbf
PA
117972016-01-13 Pedro Alves <palves@redhat.com>
11798
11799 * gdb.multi/tids.exp: Test "info threads -gid".
11800
22a02324
PA
118012016-01-13 Pedro Alves <palves@redhat.com>
11802
11803 * gdb.multi/tids.exp: Test InferiorThread.global_num and
11804 Breakpoint.thread.
11805 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
11806
5d5658a1
PA
118072016-01-07 Pedro Alves <palves@redhat.com>
11808
11809 * gdb.base/break.exp: Adjust to output changes.
11810 * gdb.base/hbreak2.exp: Likewise.
11811 * gdb.base/sepdebug.exp: Likewise.
11812 * gdb.base/watch_thread_num.exp: Likewise.
11813 * gdb.linespec/keywords.exp: Likewise.
11814 * gdb.multi/info-threads.exp: Likewise.
11815 * gdb.threads/thread-find.exp: Likewise.
11816 * gdb.multi/tids.c: New file.
11817 * gdb.multi/tids.exp: New file.
11818
84654457
PA
118192016-01-13 Pedro Alves <palves@redhat.com>
11820
11821 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
11822
e3940304
PA
118232016-01-13 Pedro Alves <palves@redhat.com>
11824
11825 * gdb.base/default.exp: Expect $_inferior as well.
11826 * gdb.multi/base.exp: Test $_inferior.
11827
a911d87a
PA
118282016-01-13 Pedro Alves <palves@redhat.com>
11829
11830 PR breakpoints/19388
11831 * gdb.base/catch-signal-siginfo-cond.c: New file.
11832 * gdb.base/catch-signal-siginfo-cond.exp: New file.
11833
82075af2
JS
118342016-01-12 Josh Stone <jistone@redhat.com>
11835 Philippe Waroquiers <philippe.waroquiers@skynet.be>
11836
11837 * gdb.base/catch-syscall.c (do_execve): New variable.
11838 (main): Conditionally trigger an execve.
11839 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
11840 (test_catch_syscall_execve): New, check entry/return across execve.
11841 (do_syscall_tests): Call test_catch_syscall_execve.
11842
e46eeedd
PA
118432016-01-12 Pedro Alves <palves@redhat.com>
11844
11845 * gdb.base/random-signal.exp (do_test): New procedure, with body
11846 of testcase moved in.
11847
01d8c27e
JK
118482016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11849 Pedro Alves <palves@redhat.com>
11850
11851 * gdb.base/funcargs.exp (finish from indirectly called function):
11852 Reintroduce the case for 'First'.
11853
9a706302
JK
118542016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11855 Pedro Alves <palves@redhat.com>
11856
11857 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
11858 (tcatch_vfork_then_child_follow_exec)
11859 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
11860 identification.
11861
c0ecb95f
JK
118622016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11863
11864 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
11865 and repeats to unlimited.
11866 * gdb.python/py-value.exp: Likewise.
11867 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
11868 and repeats to unlimited.
11869
6cfc1fcb
JK
118702016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11871
11872 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
11873 and reordering the functions.
11874 * gdb.multi/hangout.c: Likewise.
11875 * gdb.multi/hello.c: Likewise.
11876
582a1b00
SM
118772016-01-08 Simon Marchi <simon.marchi@ericsson.com>
11878
11879 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
11880 absolute.
11881 (SingleStatisticTestResult.report): Use dict.keys instead of
11882 dict.iterkeys.
11883
79bc59cb
PA
118842016-01-06 Pedro Alves <palves@redhat.com>
11885
11886 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
11887
43368e1d
MM
118882016-01-04 Markus Metzger <markus.t.metzger@intel.com>
11889
11890 * gdb.btrace/dlopen.exp: New.
11891 * gdb.btrace/dlopen.c: New.
11892 * gdb.btrace/dlopen-dso.c: New.
11893
79fad5b8
SL
118942015-12-25 Sandra Loosemore <sandra@codesourcery.com>
11895
11896 * lib/gdb.exp (gdb_test): Update comments to clarify that the
11897 PATTERN argument is optional.
11898
ab8314b3
JB
118992015-12-24 Joel Brobecker <brobecker@adacore.com>
11900
11901 * lib/ada.exp (target_compile_ada_from_dir): New function.
11902 (gdb_compile_ada): Reimplement avoiding the use of project files.
11903 * gdb.ada/gnat_ada.gpr: Delete.
11904 * gdb.ada/cond_lang.exp: Adjust test to make path before
11905 filename optional.
11906 * gdb.ada/small_reg_param.exp: Likewise.
11907
fe33faff
SM
119082015-12-22 Simon Marchi <simon.marchi@ericsson.com>
11909
11910 * gdb.base/foll-vork.exp: Remove HP-UX special case.
11911
6d265cb4
TP
119122015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
11913
11914 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
11915 case.
11916
10125099
SM
119172015-12-21 Simon Marchi <simon.marchi@ericsson.com>
11918
11919 * gdb.base/break.exp: Remove dead code.
11920 * gdb.base/sepdebug.exp: Likewise.
11921
3ca22649
SM
119222015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
11923
11924 * gdb.asm/asm-source.exp: Remove HP-UX references.
11925 * gdb.base/annota1.exp: Likewise.
11926 * gdb.base/annota3.exp: Likewise.
11927 * gdb.base/attach.exp: Likewise.
11928 * gdb.base/bigcore.exp: Likewise.
11929 * gdb.base/break.exp: Likewise.
11930 * gdb.base/call-ar-st.exp: Likewise.
11931 * gdb.base/callfuncs.exp: Likewise.
11932 * gdb.base/catch-fork-static.exp: Likewise.
11933 * gdb.base/display.exp: Likewise.
11934 * gdb.base/foll-exec-mode.exp: Likewise.
11935 * gdb.base/foll-exec.exp: Likewise.
11936 * gdb.base/foll-fork.exp: Likewise.
11937 * gdb.base/foll-vfork.exp: Likewise.
11938 * gdb.base/funcargs.exp: Likewise.
11939 * gdb.base/hbreak2.exp: Likewise.
11940 * gdb.base/inferior-died.exp: Likewise.
11941 * gdb.base/interrupt.exp: Likewise.
11942 * gdb.base/multi-forks.exp: Likewise.
11943 * gdb.base/nodebug.exp: Likewise.
11944 * gdb.base/sepdebug.exp: Likewise.
11945 * gdb.base/solib1.c: Likewise.
11946 * gdb.base/step-test.exp: Likewise.
11947 * gdb.mi/non-stop.c: Likewise.
11948 * gdb.mi/pthreads.c: Likewise.
11949 * gdb.multi/bkpt-multi-exec.ex: Likewise.
11950 * gdb.threads/pthreads.c: Likewise.
11951 * gdb.threads/staticthreads.exp: Likewise.
11952 * lib/future.exp: Likewise.
11953 * lib/gdb.exp: Likewise.
11954 * gdb.base/so-indr-cl.c: Remove.
11955 * gdb.base/so-indr-cl.exp: Likewise.
11956 * gdb.base/solib.c: Likewise.
11957 * gdb.base/solib.exp: Likewise.
11958 * gdb.base/solib2.c: Likewise.
11959
b6304613
SM
119602015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
11961
11962 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
11963 * gdb.base/call-ar-st.exp: Likewise.
11964 * gdb.base/callfuncs.exp: Likewise.
11965 * gdb.base/condbreak.exp: Likewise.
11966 * gdb.base/constvars.exp: Likewise.
11967 * gdb.base/hbreak2.exp: Likewise.
11968 * gdb.base/langs.exp: Likewise.
11969 * gdb.base/list.exp: Likewise.
11970 * gdb.base/long_long.exp: Likewise.
11971 * gdb.base/ptype.exp: Likewise.
11972 * gdb.base/scope.exp: Likewise.
11973 * gdb.base/signals.exp: Likewise.
11974 * gdb.base/so-impl-ld.exp: Likewise.
11975 * gdb.base/varargs.exp: Likewise.
11976 * gdb.base/volatile.exp: Likewise.
11977 * gdb.base/whatis.exp: Likewise.
11978 * gdb.cp/cplusfuncs.exp: Likewise.
11979 * gdb.cp/inherit.exp: Likewise.
11980 * gdb.cp/local.exp: Likewise.
11981 * gdb.cp/member-ptr.exp: Likewise.
11982 * gdb.cp/method.exp: Likewise.
11983 * gdb.cp/overload.exp: Likewise.
11984 * gdb.cp/templates.exp: Likewise.
11985 * gdb.stabs/weird.exp: Likewise.
11986 * lib/compiler.c: Likewise.
11987 * lib/compiler.cc: Likewise.
11988 * lib/cp-support.exp: Likewise.
11989 * lib/gdb.exp: Likewise.
11990
bf401b07
SM
119912015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
11992
11993 * configure.ac: Remove HP-UX case.
11994 * configure: Regenerate.
11995
aff9c0f8
SM
119962015-12-18 Simon Marchi <simon.marchi@ericsson.com>
11997
11998 * lib/gdb.exp (gdb_compile): Add function doc.
11999
a6904d5a
PA
120002015-12-17 Pedro Alves <palves@redhat.com>
12001
12002 PR threads/19354
12003 * gdb.multi/info-threads.exp: New file.
12004
a22279dd
YQ
120052015-12-15 Yao Qi <yao.qi@linaro.org>
12006
12007 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
12008 is aarch64*-*-*.
12009
0588c796
SL
120102015-12-14 Sandra Loosemore <sandra@codesourcery.com>
12011
12012 * gdb.base/history-duplicates.exp: Skip if no readline support.
12013
5d978e17
SL
120142015-12-14 Sandra Loosemore <sandra@codesourcery.com>
12015
12016 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
12017
7e763b86
SL
120182015-12-14 Sandra Loosemore <sandra@codesourcery.com>
12019
12020 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
12021
87a3a92c
SL
120222015-12-14 Sandra Loosemore <sandra@codesourcery.com>
12023
12024 * gdb.base/completion.exp: Skip tests that interrupt GDB with
12025 ctrl-C if nointerrupts target property is set.
12026 * gdb.base/double-prompt-target-event-error.exp: Likewise.
12027 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
12028 * gdb.base/paginate-bg-execution.exp: Likewise.
12029 * gdb.base/paginate-execution-startup.exp: Likewise.
12030 * gdb.base/random-signal.exp: Likewise.
12031 * gdb.base/range-stepping.exp: Likewise.
12032 * gdb.cp/annota2.exp: Likewise.
12033 * gdb.cp/annota3.exp: Likewise.
12034 * gdb.gdb/selftest.exp: Likewise.
12035 * gdb.threads/continue-pending-status.exp: Likewise.
12036 * gdb.threads/leader-exit.exp: Likewise.
12037 * gdb.threads/manythreads.exp: Likewise.
12038 * gdb.threads/pthreads.exp: Likewise.
12039 * gdb.threads/schedlock.exp: Likewise.
12040 * gdb.threads/sigthread.exp: Likewise.
12041
a8f077dc
DB
120422015-12-11 Don Breazeal <donb@codesourcery.com>
12043
12044 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
12045 remote.
12046 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
12047 * gdb.base/foll-exec.exp (main): Enable for target remote.
12048 * gdb.base/foll-fork.exp (main): Likewise.
12049 * gdb.base/foll-vfork.exp (main): Likewise.
12050 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
12051 (proc continue_to_exit_bp_loc): Use clean_restart.
12052 * gdb.base/pie-execl.exp (main): Disable for target remote.
12053 * gdb.base/watch-vfork.exp (main): Enable for target remote.
12054 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
12055 * gdb.threads/execl.exp (main): Likewise.
12056 * gdb.threads/fork-child-threads.exp (main): Likewise.
12057 * gdb.threads/fork-plus-threads.exp (main): Disable for target
12058 remote.
12059 * gdb.threads/fork-thread-pending.exp (main): Enable for target
12060 remote.
12061 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
12062 pid.tid style ptids, instead of just tid.
12063 * gdb.threads/thread-execl.exp (main): Enable for target remote.
12064 * gdb.threads/watchpoint-fork.exp (main): Likewise.
12065 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
12066 ptids, instead of just tid.
12067
3b2464a8
AB
120682015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
12069
12070 * gdb.base/list.exp (test_list_forward): Add end of file error
12071 test.
12072 (test_repeat_list_command): Add end of file error test.
12073 (test_list_backwards): Add beginning of file error test.
12074
a0def019
AB
120752015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
12076
12077 * gdb.base/list.exp (test_list_invalid_args): New function,
12078 defined, and called.
12079
5c000dff
AB
120802015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
12081
12082 * gdb.base/list.exp (test_list): Make test names unique.
12083
f1637ebe
YQ
120842015-12-11 Yao Qi <yao.qi@linaro.org>
12085
12086 * gdb.base/coremaker2.c: Remove.
12087
36d6fc0a
PA
120882015-12-10 Pedro Alves <palves@redhat.com>
12089
12090 * gdb.multi/base.exp: Remove stale "spaces" references.
12091
762f7747
PA
120922015-12-10 Pedro Alves <palves@redhat.com>
12093
12094 * gdb.multi/base.exp: Don't use nowarnings.
12095 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
12096 * gdb.multi/hangout.c: Include stdio.h.
12097 * gdb.multi/hello.c: Include stdlib.h.
12098 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
12099 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
12100 * gdb.multi/multi-arch.exp: Don't use nowarnings.
12101
28d2bfb9
AB
121022015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
12103
12104 * gdb.dwarf2/dw2-ranges-base.c: New file.
12105 * gdb.dwarf2/dw2-ranges-base.exp: New file.
12106 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
12107 support additional line table, and debug ranges generation.
12108 (Dwarf::ranges): New function, generate .debug_ranges.
12109 (Dwarf::lines): Support generating simple line table programs.
12110 (Dwarf::assemble): Initialise new namespace variables.
12111
5fc2beac
KB
121122015-12-09 Kevin Buettner <kevinb@redhat.com>
12113
12114 * gdb.base/async.exp (proc test_background): Add case for
12115 asynchronous execution not supported.
12116
1c35a88f
LM
121172015-12-09 Luis Machado <lgustavo@codesourcery.com>
12118
12119 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
12120 format and change test names to make them unique.
12121
b593e3d9
RK
121222015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
12123 Pedro Alves <pedro@redhat.com>
12124
12125 PR gdb/18702
12126 Add checking of floatformats setup on x86_64 hosts.
12127 * gdb.arch/i386-float.S (main): Load bigval and smallval.
12128 (smallval, bigval): New labels/constants.
12129 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
12130 float" after loading bigval and smallval.
12131
d72413e6
PMR
121322015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
12133
12134 * gdb.ada/fun_overload_menu.exp: New testcase.
12135 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
12136
ece66d65
JS
121372015-12-04 Josh Stone <jistone@redhat.com>
12138
12139 * gdb.base/catch-fork-static.exp: New.
12140
41d0efca
YQ
121412015-12-03 Yao Qi <yao.qi@linaro.org>
12142
12143 * gdb.base/sizeof.c: Don't include stdio.h and
12144 ../lib/unbuffer_output.c.
12145 (main): New variable 'size' and 'value'. Remove printf and
12146 gdb_unbuffer_output. Assign return value to size and value.
12147 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
12148 at the beginning.
12149 (check_sizeof): Check the result by printing variable 'size'.
12150 (check_valueof): Check the result by printing variable 'value'.
12151
99fd02d9
YQ
121522015-12-01 Yao Qi <yao.qi@linaro.org>
12153
12154 * gdb.base/disp-step-syscall.exp: Define syscall instruction
12155 for aarch64*-*-linux* target.
12156
f2faf941
PA
121572015-11-30 Pedro Alves <palves@redhat.com>
12158
12159 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
12160
04bf20c5
PA
121612015-11-30 Pedro Alves <palves@redhat.com>
12162
12163 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
12164 Handle non-stop mode vCont replies.
12165
09df4675
PA
121662015-11-30 Pedro Alves <palves@redhat.com>
12167
12168 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
12169 prepare_for_testing. Start gdb with "set non-stop on" appended to
12170 GDBFLAGS. Lax expected stop output.
12171
58b584af
YQ
121722015-11-27 Yao Qi <yao.qi@linaro.org>
12173
12174 * gdb.arch/arm-neon.exp: New.
12175 * gdb.arch/arm-neon.c: New.
12176
dfcb77a8
YQ
121772015-11-27 Yao Qi <yao.qi@linaro.org>
12178
12179 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
12180
88e8ec1b
YQ
121812015-11-27 Yao Qi <yao.qi@linaro.org>
12182
12183 * gdb.cp/annota2.exp: Allow multiple occurrences of the
12184 frames-invalid annotation.
12185
bfde72c2
YQ
121862015-11-27 Yao Qi <yao.qi@linaro.org>
12187
12188 * gdb.cp/annota2.exp: Use ${frames_invalid}.
12189
f6512a69
SM
121902015-11-26 Simon Marchi <simon.marchi@ericsson.com>
12191
12192 * gdb.threads/names.exp: New file.
12193 * gdb.threads/names.c: New file.
12194 * README: Mention gdb,no_thread_names.
12195
46a3515b
MM
121962015-11-26 Markus Metzger <markus.t.metzger@intel.com>
12197
12198 PR 19297
12199 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
12200 support" error.
12201
62147a22
PA
122022015-11-24 Pedro Alves <palves@redhat.com>
12203
12204 PR 17539
12205 * gdb.base/display.exp: Expect displays to be sorted in ascending
12206 order. Use multi_line.
12207 * gdb.base/solib-display.exp: Likewise.
12208
2f341b6e
PA
122092015-11-24 Pedro Alves <palves@redhat.com>
12210
12211 PR 17539
25d49b86
PA
12212 * gdb.base/display.exp: Expect displays to be sorted in ascending
12213 order. Use multi_line.
12214 * gdb.base/solib-display.exp: Likewise.
2f341b6e 12215
7e0aa6aa
PA
122162015-11-24 Pedro Alves <palves@redhat.com>
12217
12218 PR 17539
12219 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
12220 threads in ascending order.
12221 * gdb.base/foll-fork.exp: Likewise.
12222 * gdb.base/foll-vfork.exp: Likewise.
12223 * gdb.base/multi-forks.exp: Likewise.
12224 * gdb.mi/mi-nonstop.exp: Likewise.
12225 * gdb.mi/mi-nsintrall.exp: Likewise.
12226 * gdb.multi/base.exp: Likewise.
12227 * gdb.multi/multi-arch.exp: Likewise.
12228 * gdb.python/py-inferior.exp: Likewise.
12229 * gdb.threads/break-while-running.exp: Likewise.
12230 * gdb.threads/execl.exp: Likewise.
12231 * gdb.threads/gcore-thread.exp: Likewise.
12232 * gdb.threads/info-threads-cur-sal.exp: Likewise.
12233 * gdb.threads/kill.exp: Likewise.
12234 * gdb.threads/linux-dp.exp: Likewise.
12235 * gdb.threads/multiple-step-overs.exp: Likewise.
12236 * gdb.threads/next-bp-other-thread.exp: Likewise.
12237 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
12238 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
12239 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
12240 * gdb.threads/thread-find.exp: Likewise.
12241 * gdb.threads/tls.exp: Likewise.
12242 * lib/mi-support.exp (mi_reverse_list): Delete.
12243 (mi_check_thread_states): No longer reverse list.
12244
2cc57ad8
PA
122452015-11-24 Pedro Alves <palves@redhat.com>
12246
12247 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
12248 use lowercase.
12249
c93e8391
SM
122502015-11-23 Simon Marchi <simon.marchi@ericsson.com>
12251
12252 * gdb.trace/actions.c: Include trace-common.h.
12253 (main): Add a location for a fast tracepoint.
12254 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
12255 the normal tracepoints.
12256 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
12257
045ccf91
SM
122582015-11-23 Simon Marchi <simon.marchi@ericsson.com>
12259
12260 * save-trace.exp: Factor out code to these...
12261 (gdb_save_tracepoints): New.
12262 (gdb_load_tracepoints): New.
12263 (do_save_load_test): New.
12264
5506f9f6
KB
122652015-11-23 Kevin Buettner <kevinb@redhat.com>
12266
12267 * gdb.base/asmlabel.exp: New test.
12268 * gdb.base/asmlabel.c: New test case.
12269
16c3b12f
JB
122702015-11-23 Joel Brobecker <brobecker@adacore.com>
12271
12272 * gdb.base/wrong_frame_bt_full-main.c: New file.
12273 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
12274 * gdb.base/wrong_frame_bt_full.exp: New file.
12275
155bfbd3
JB
122762015-11-23 Joel Brobecker <brobecker@adacore.com>
12277
12278 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
12279
bb097445
JM
122802015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
12281
206853a0 12282 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
12283 pstate register when comparing registers values in
12284 sparc64-*-linux-gnu targets to avoid spurious differences.
12285
9c88ed8f
JM
122862015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
12287
206853a0 12288 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 12289
96161e25
SL
122902015-11-19 Sandra Loosemore <sandra@codesourcery.com>
12291
12292 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
12293 as type argument to gdb_compile.
12294 * gdb.base/nested-subp2.exp: Likewise.
12295 * gdb.base/nested-subp3.exp: Likewise.
12296
340c2830
DV
122972015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
12298
12299 * lib/dwarf.exp (_note): Fix left shift of negative value.
12300 * gdb.trace/trace-condition.exp: Likewise.
12301
c1862d0f
YQ
123022015-11-13 Yao Qi <yao.qi@linaro.org>
12303
12304 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
12305 comments about d10v.
12306 (test_scalar_returns): Likewise.
12307 * gdb.base/d10v.ld: Remove.
12308 * gdb.base/overlays.exp: Remove the target triplet checking for
12309 d10v-*-*.
12310 * gdb.base/structs.exp (test_struct_returns): Remove the
12311 comments about d10v.
12312 (test_struct_calls): Likewise.
12313
77ae9c19
YQ
123142015-11-13 Yao Qi <yao.qi@linaro.org>
12315
12316 * gdb.base/gnu_vector.exp: Check the return value by "p res".
12317 * gdb.base/gnu_vector.c: Don't include stdio.h.
12318 (main): Don't print res and call add_some_intvecs.
12319
430e004e
MK
123202015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
12321
12322 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
12323 macro.
12324 (func5): Removed.
12325 (func4): Use FAST_TRACEPOINT_LABEL.
12326 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
12327 macro.
12328 (func): Removed.
12329 (thread_function): Use FAST_TRACEPOINT_LABEL.
12330 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
12331 (func): Remove.
12332 (marker): Use FAST_TRACEPOINT_LABEL.
12333 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
12334 (pendfunc1): Remove.
12335 (pendfunc): Use FAST_TRACEPOINT_LABEL.
12336 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
12337 (foo): Remove.
12338 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
12339 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
12340 macro.
12341 (func): Remove.
12342 (marker): Use FAST_TRACEPOINT_LABEL.
12343 * gdb.trace/trace-common.h: New header.
12344 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
12345 macro.
12346 (func): Remove.
12347 (marker): Use FAST_TRACEPOINT_LABEL.
12348 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
12349 (func): Remove.
12350 (thread_function): Use FAST_TRACEPOINT_LABEL.
12351
6e7675a7
MK
123522015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
12353
12354 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
12355 in front.
12356 * gdb.trace/change-loc.exp: Use global pcreg definition.
12357 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
12358 * gdb.trace/entry-values.exp: Use global spreg definition, add $
12359 in front.
12360 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
12361 * gdb.trace/pending.exp: Likewise.
12362 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
12363 * gdb.trace/trace-break.exp: Likewise.
12364 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
12365 in front.
12366 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
12367 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
12368 in front.
12369 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
12370
dddc0e16
JB
123712015-11-09 Joel Brobecker <brobecker@adacore.com>
12372
12373 * gdb.ada/fin_fun_out: New testcase.
12374
c6f0b406
KB
123752015-11-07 Kevin Buettner <kevinb@redhat.com>
12376
12377 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
12378 value associated with DW_AT_byte_size.
12379 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
12380 constants for DW_AT_byte_size, DW_AT_lower_bound, and
12381 DW_AT_upper_bound.
12382
f01dcfd9
KB
123832015-11-07 Kevin Buettner <kevinb@redhat.com>
12384
12385 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
12386 (gdb_target_symbol_prefix_flags): Define in terms of _asm
12387 version.
12388 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
12389 gdb.dwarf2/dw2-canonicalize-type.exp,
12390 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
12391 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
12392 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
12393 provided by gdb_target_symbol_prefix_flags_asm.
12394 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
12395 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
12396 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
12397 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
12398 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
12399 macros where needed). Use this macro for symbols which require
12400 the prefix provided by SYMBOL_PREFIX.
12401
2223449a
KB
124022015-11-05 Kevin Buettner <kevinb@redhat.com>
12403
12404 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
12405 New procs.
12406 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
12407 representing expressions, of more than one list element.
12408 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
12409 to prepend linker symbol prefix to f.
12410 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
12411 table_1 and table_2.
12412 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
12413 Likewise, for f and g.
12414 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
12415 for ptr.
12416 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
12417 for main.
12418 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
12419 table_1_ptr and table_2_ptr.
12420
6f2f1a3a
JK
124212015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12422 Joel Brobecker <brobecker@adacore.com>
12423
12424 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
12425
566c56c9
MK
124262015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
12427
12428 * gdb.reverse/s390-mvcle.c: New test.
12429 * gdb.reverse/s390-mvcle.exp: New file.
12430 * lib/gdb.exp: Enable reverse tests on s390*-linux.
12431
d5f0636b
MK
124322015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
12433
12434 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
12435
7ad8b86c
MK
124362015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
12437
12438 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
12439 reaching marker2.
12440 * gdb.reverse/getresuid-reverse.exp: Likewise.
12441 * gdb.reverse/pipe-reverse.exp: Likewise.
12442 * gdb.reverse/readv-reverse.exp: Likewise.
12443 * gdb.reverse/recvmsg-reverse.exp: Likewise.
12444 * gdb.reverse/time-reverse.exp: Likewise.
12445 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
12446
4081c0f1
YQ
124472015-10-30 Yao Qi <yao.qi@linaro.org>
12448
12449 * gdb.threads/wp-replication.c (watch_count_done): Remove.
12450 (empty_cycle): Remove.
12451 (main): Don't call empty_cycle. Don't use watch_count_done.
12452 * gdb.threads/wp-replication.exp: Don't set breakpoint on
12453 empty_cycle. Rewrite the code counting HW watchpoints.
12454
452b4ba5
MK
124552015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
12456
12457 * gdb.reverse/fstatat-reverse.c: New test.
12458 * gdb.reverse/fstatat-reverse.exp: New file.
12459 * gdb.reverse/getresuid-reverse.c: New test.
12460 * gdb.reverse/getresuid-reverse.exp: New file.
12461 * gdb.reverse/pipe-reverse.c: New test.
12462 * gdb.reverse/pipe-reverse.exp: New file.
12463 * gdb.reverse/readv-reverse.c: New test.
12464 * gdb.reverse/readv-reverse.exp: New file.
12465 * gdb.reverse/recvmsg-reverse.c: New test.
12466 * gdb.reverse/recvmsg-reverse.exp: New file.
12467 * gdb.reverse/time-reverse.c: New test.
12468 * gdb.reverse/time-reverse.exp: New file.
12469 * gdb.reverse/waitpid-reverse.c: New test.
12470 * gdb.reverse/waitpid-reverse.exp: New file.
12471
5e2e7507
JK
124722015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
12473
12474 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
12475
0fde2c53
DE
124762015-10-26 Doug Evans <dje@google.com>
12477
12478 PR symtab/17391
12479 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
12480 * gdb.dwarf2/bad-regnum.c: New file.
12481 * gdb.dwarf2/bad-regnum.exp: New file.
12482
1a70ae97
DE
124832015-10-26 Doug Evans <dje@google.com>
12484
12485 PR python/18938
12486 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
12487 file.
12488
27dc26ab
JK
124892015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12490
12491 * gdb.compile/compile.exp (compile code globalvar): Update expectation
12492 for a change by "Mention language in compile error message".
12493
bed91f4d
SM
124942015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
12495
12496 PR python/18073
12497 * gdb.python/py-type.c (C::a_method): New.
12498 (C::a_const_method): New.
12499 (C::a_static_method): New.
12500 (a_function): New.
12501 * gdb.python/py-type.exp (test_fields): Test getting fields
12502 from function and method.
12503
3f2f83dd
KB
125042015-10-21 Keven Boell <keven.boell@intel.com>
12505
12506 * gdb.fortran/vla-alloc-assoc.exp: New file.
12507 * gdb.fortran/vla-datatypes.exp: New file.
12508 * gdb.fortran/vla-datatypes.f90: New file.
12509 * gdb.fortran/vla-history.exp: New file.
12510 * gdb.fortran/vla-ptype-sub.exp: New file.
12511 * gdb.fortran/vla-ptype.exp: New file.
12512 * gdb.fortran/vla-sizeof.exp: New file.
12513 * gdb.fortran/vla-sub.f90: New file.
12514 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
12515 * gdb.fortran/vla-value-sub-finish.exp: New file.
12516 * gdb.fortran/vla-value-sub.exp: New file.
12517 * gdb.fortran/vla-value.exp: New file.
12518 * gdb.fortran/vla-ptr-info.exp: New file.
12519 * gdb.mi/mi-vla-fortran.exp: New file.
12520 * gdb.mi/vla.f90: New file.
12521
27145d50
SL
125222015-10-21 Sandra Loosemore <sandra@codesourcery.com>
12523
12524 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
12525 of hardwired timeout value.
12526
5f3ff4f8
JK
125272015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12528 Pedro Alves <palves@redhat.com>
12529
12530 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
12531 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
12532
bfd09d20
JS
125332015-10-19 Josh Stone <jistone@redhat.com>
12534
12535 * gdb.base/catch-syscall.c: Include <sched.h>.
12536 (unknown_syscall): New variable.
12537 (main): Trigger a vfork and an unknown syscall.
12538 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
12539 (unknown_syscall_number): Likewise.
12540 (check_call_to_syscall): Accept an optional syscall pattern.
12541 (check_return_from_syscall): Likewise.
12542 (check_continue): Likewise.
12543 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
12544 (test_catch_syscall_skipping_return): New test toggling off 'catch
12545 syscall' to step over the syscall return, then toggling back on.
12546 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
12547 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
12548 (do_syscall_tests): Call test_catch_syscall_without_args and
12549 test_catch_syscall_mid_vfork.
12550 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
12551 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
12552
b32b93c6
AS
125532015-10-19 Andrew Stubbs <ams@codesourcery.com>
12554
12555 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
12556 print g_vE): Add new pass patterns.
12557 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
12558 print various symbol names for vptr fields.
12559
9d622bda
AB
125602015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
12561
12562 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
12563 results.
12564
0fd8ac1c
YQ
125652015-10-12 Yao Qi <yao.qi@linaro.org>
12566
12567 * gdb.arch/disp-step-insn-reloc.exp: New test case.
12568
34240514
YQ
125692015-10-12 Yao Qi <yao.qi@linaro.org>
12570
12571 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
12572 is aarch64*-*-linux*.
12573
8240f442
YQ
125742015-10-12 Yao Qi <yao.qi@linaro.org>
12575
12576 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
12577 (can_relocate_bcond_true): ... it.
12578 (can_relocate_bcond_false): New function.
12579 (foo): Likewise.
12580 (can_relocate_bl): Likewise.
12581 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
12582 can_relocate_bl.
12583
2520f728
PMR
125842015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
12585
12586 * gdb.base/nested-addr.c: New file.
12587 * gdb.base/nested-addr.exp: New testcase.
12588
abcef95a
MM
125892015-10-09 Markus Metzger <markus.t.metzger@intel.com>
12590
12591 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
12592 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
12593 its output. Ignore the output of "record goto begin" and instead
12594 check that GDB is replaying.
12595
145e3ddb
PA
125962015-10-09 Pedro Alves <palves@redhat.com>
12597
12598 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
12599 (top level): Use it in the run with no args test.
12600
d5d8c4e1
IB
126012015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
12602
12603 * gdb.dlang/properties.exp: New file.
12604
06e635ef
SL
126052015-10-02 Sandra Loosemore <sandra@codesourcery.com>
12606
12607 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
12608 whether or not address 0x1000 is mapped on the target.
12609
e019fd1d
SM
126102015-09-30 Simon Marchi <simon.marchi@ericsson.com>
12611
12612 * gdb.python/py-type.exp: Do not run tests if binaries fail to
12613 build.
12614
77ba2a67
MM
126152015-09-30 Markus Metzger <markus.t.metzger@intel.com>
12616
12617 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
12618 instruction-history test.
12619
c60eb31f
DE
126202015-09-28 Doug Evans <dje@google.com>
12621
12622 * gdb.base/gcore.c (array_func): Add reference to static_array.
12623
9a3c8263
SM
126242015-09-25 Simon Marchi <simon.marchi@ericsson.com>
12625
12626 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
12627 source line.
12628
9720e656
SL
126292015-09-24 Sandra Loosemore <sandra@codesourcery.com>
12630
12631 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
12632 short or char as base type.
12633
938d3bf2
SL
126342015-09-23 Sandra Loosemore <sandra@codesourcery.com>
12635
12636 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
12637 to allow any size enum.
12638
e6c2c623
PMR
126392015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
12640
12641 * gdb.ada/array_ptr_renaming.exp: New testcase.
12642 * gdb.ada/array_ptr_renaming/foo.adb: New file.
12643 * gdb.ada/array_ptr_renaming/pack.ads: New file.
12644
06da0f77
PL
126452015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12646
12647 * gdb.trace/ftrace-lock.c: New file.
12648 * gdb.trace/ftrace-lock.exp: New file.
12649
4f51c22a
PL
126502015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12651
12652 * gdb.arch/insn-reloc.c: New file.
12653 * gdb.arch/ftrace-insn-reloc.exp: New file.
12654
7041adf4
PL
126552015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12656
12657 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
12658 instruction.
12659 * gdb.trace/pendshr1.c (pendfunc): Likewise.
12660 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
12661 * gdb.trace/range-stepping.c: Likewise.
12662 * gdb.trace/trace-break.c: Likewise.
12663 * gdb.trace/trace-mt.c (thread_function): Likewise.
12664 * gdb.trace/ftrace.c (marker): Likewise.
12665 * gdb.trace/trace-condition.c (marker): Likewise.
12666 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
12667 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
12668 is_aarch64_target.
12669
015d2e7e
DE
126702015-09-18 Doug Evans <xdje42@gmail.com>
12671
12672 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
12673 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
12674
26b188a2
SL
126752015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12676
12677 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
12678 the breakpoint.
12679
79dc332b
SL
126802015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12681
12682 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
12683 the pending breakpoint. Remove timeout override for "Run till
12684 MI pending breakpoint on pendfunc3 on thread 2" test.
12685
f57929f2
SL
126862015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12687
12688 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
12689 filename pattern.
12690
3f469b17
SL
126912015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12692
12693 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
12694 in breakpoint filename pattern.
12695
515b89b3
SL
126962015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12697
7800dbe4
SL
12698 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
12699
127002015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12701
515b89b3
SL
12702 * gdb.linespec/explicit.exp: Check for readline support for
12703 tab-completion tests. Fix obvious typo.
12704
d2939ba2
MM
127052015-09-18 Markus Metzger <markus.t.metzger@intel.com>
12706
12707 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
12708 and replay.
12709
cbb55fa7
MM
127102015-09-18 Markus Metzger <markus.t.metzger@intel.com>
12711
12712 * gdb.btrace/non-stop.c: New.
12713 * gdb.btrace/non-stop.exp: New.
12714
43691ca1
PL
127152015-09-17 Pierre Langlois <pierre.langlois@arm.com>
12716 Yao Qi <yao.qi@linaro.org>
12717
12718 * gdb.trace/trace-condition.c: New file.
12719 * gdb.trace/trace-condition.exp: New file.
12720
d78908cf
WW
127212015-09-16 Wei-cheng Wang <cole945@gmail.com>
12722
12723 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
12724 for testing bytecode compilation.
12725
1ed415e2
PA
127262015-09-16 Pedro Alves <palves@redhat.com>
12727 Sandra Loosemore <sandra@codesourcery.com>
12728
12729 * gdb.threads/non-stop-fair-events.c (timeout): New global.
12730 (SECONDS): Redefine.
12731 (main): Call pthread_kill and alarm early.
12732 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
12733 support.
12734 (test): If the target can't hardware step and doesn't support
12735 displaced stepping, increase the timeout.
12736
d136eff5
PA
127372015-09-16 Pedro Alves <palves@redhat.com>
12738
12739 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
12740 (enable_debug): New procedures.
12741 (test): Use them. Bail out if waiting for threads fails.
12742 (top level): Bail out if a test fails.
12743
991f019c
YQ
127442015-09-16 Yao Qi <yao.qi@linaro.org>
12745
12746 * gdb.asm/asm-source.exp: Set asm-arch for
12747 aarch64*-*-* target.
12748 * gdb.asm/aarch64.inc: New file.
12749
bfca584f
PMR
127502015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
12751
12752 * gdb.ada/array_of_variable_length.exp: New testcase.
12753 * gdb.ada/array_of_variable_length/foo.adb: New file.
12754 * gdb.ada/array_of_variable_length/pck.adb: New file.
12755 * gdb.ada/array_of_variable_length/pck.ads: New file.
12756
b326e587
DE
127572015-09-15 Doug Evans <dje@google.com>
12758
12759 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
12760 of function static local variable.
12761
5382cfab
PW
127622015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
12763
12764 * gdb.threads/tls-so_extern.exp: New test file.
12765 * gdb.threads/tls-so_extern.c: New test file.
12766 * gdb.threads/tls-so_extern_main.c: New test file.
12767
141c5cc4
JK
127682015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12769
12770 * gdb.opt/solib-intra-step-lib.c: New file.
12771 * gdb.opt/solib-intra-step-main.c: New file.
12772 * gdb.opt/solib-intra-step.exp: New file.
12773
d15dcecd
PA
127742015-09-15 Pedro Alves <palves@redhat.com>
12775
12776 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
12777 gdb_continue_to_breakpoint instead of gdb_test_multiple.
12778
4c2f2a79
PA
127792015-09-14 Pedro Alves <palves@redhat.com>
12780
12781 * gdb.base/hook-stop-continue.c: Delete.
12782 * gdb.base/hook-stop-continue.exp: Delete.
12783 * gdb.base/hook-stop-frame.c: Delete.
12784 * gdb.base/hook-stop-frame.exp: Delete.
12785 * gdb.base/hook-stop.c: New file.
12786 * gdb.base/hook-stop.exp: New file.
12787
919e6dbe
PMR
127882015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
12789
12790 * gdb.ada/access_to_packed_array.exp: New testcase.
12791 * gdb.ada/access_to_packed_array/foo.adb: New file.
12792 * gdb.ada/access_to_packed_array/pack.adb: New file.
12793 * gdb.ada/access_to_packed_array/pack.ads: New file.
12794
157280a4
MM
127952015-09-14 Markus Metzger <markus.t.metzger@intel.com>
12796
12797 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
12798 buffer size test.
12799
2fd33e94
DB
128002015-09-11 Don Breazeal <donb@codesourcery.com>
12801
12802 * gdb.base/foll-exec.c: Add copyright header. Fix
12803 formatting issues.
12804 * gdb.base/foll-exec.exp (zap_session): Delete proc.
12805 (do_exec_tests): Use clean_restart in place of zap_session,
12806 and for test initialization. Fix formatting issues. Use
12807 fail in place of perror.
12808 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
12809 an expect statement to match an expression with output from
12810 the program under debug.
12811 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
12812 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
12813 * gdb.threads/non-ldr-exc-2.exp: Likewise.
12814 * gdb.threads/non-ldr-exc-3.exp: Likewise.
12815 * gdb.threads/non-ldr-exc-4.exp: Likewise.
12816
e70b6e8e
DE
128172015-09-09 Doug Evans <dje@google.com>
12818
12819 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
12820
7a551a51
DE
128212015-09-09 Doug Evans <dje@google.com>
12822
12823 * gdb.base/pie-execl.exp: Fix result test of build_executable.
12824
4c666f84
DE
128252015-09-09 Doug Evans <dje@google.com>
12826
12827 * gdb.base/savedregs.exp: Fix typo.
12828
243a9253
PA
128292015-09-09 Pedro Alves <palves@redhat.com>
12830
12831 * gdb.mi/mi-cli.exp: Add CLI finish tests.
12832
c0fa8fbd
SL
128332015-09-08 Sandra Loosemore <sandra@codesourcery.com>
12834
12835 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
12836 command actually switches threads. Give up on remaining
12837 tests if target fails to stop at breakpoint.
12838
cd7c1778
PMR
128392015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
12840
12841 * gdb.ada/funcall_char.exp: New testcase.
12842 * gdb.ada/funcall_char/foo.adb: New file.
12843
dc5c8746
PMR
128442015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
12845
12846 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
12847 expected outputs. Add two testcases for completing ambiguous
12848 functions.
12849 * gdb.ada/complete/aux_pck.adb: New file.
12850 * gdb.ada/complete/aux_pck.ads: New file.
12851 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
12852 Ambiguous_Func functions.
12853 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
12854 * gdb.ada/complete/pck.adb: Likewise.
12855
4e83a1e7
UW
128562015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
12857
12858 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
12859 failures to run the test program under GDB.
12860
8ce74153
LM
128612015-08-26 Luis Machado <lgustavo@codesourcery.com>
12862
12863 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
12864 to C.
12865
e9756d52
PP
128662015-08-26 Patrick Palka <patrick@parcs.ath.cx>
12867
12868 * gdb.base/run-after-attach.exp: New test file.
12869 * gdb.base/run-after-attach.c: New test file.
12870
8d37573b
DB
128712015-08-26 Don Breazeal <donb@codesourcery.com>
12872
12873 * gdb.base/foll-exec-2.c: New test program.
12874 * gdb.base/foll-exec-2.exp: New test.
12875
63e43d3a
PMR
128762015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
12877
12878 * gdb.base/nested-subp1.exp: New file.
12879 * gdb.base/nested-subp1.c: New file.
12880 * gdb.base/nested-subp2.exp: New file.
12881 * gdb.base/nested-subp2.c: New file.
12882 * gdb.base/nested-subp3.exp: New file.
12883 * gdb.base/nested-subp3.c: New file.
12884
3d40fbb5
PA
128852015-08-24 Pedro Alves <palves@redhat.com>
12886
12887 * gdb.server/connect-without-multi-process.c: New file.
12888 * gdb.server/connect-without-multi-process.exp: New file.
12889
4422ac93
LM
128902015-08-24 Luis Machado <lgustavo@codesourcery.com>
12891
12892 * gdb.opt/inline-markers.c: Make z int.
12893
91dddb86
LM
128942015-08-24 Luis Machado <lgustavo@codesourcery.com>
12895
12896 * gdb.opt/inline-markers.c: Make z volatile.
12897
a48847ee
LM
128982015-08-24 Luis Machado <lgustavo@codesourcery.com>
12899
12900 * gdb.opt/inline-bt.c: New volatile global z.
12901 * gdb.opt/inline-cmds.c: Likewise.
12902 * gdb.opt/inline-locals.c: Likewise.
12903 * gdb.opt/inline-markers.c: New extern global z.
12904 (marker): Use z.
12905 (inline_fn): Likewise.
12906
0ebbc52b
PA
129072015-08-24 Pedro Alves <palves@redhat.com>
12908
12909 * config/m32r-stub.exp: Remove file.
12910 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
12911 * gdb.base/call-rt-st.exp: Likewise.
12912 * gdb.base/call-strs.exp: Likewise.
12913 * gdb.base/default.exp: Remove references to h8300-*-hms and
12914 *-*-udi*.
12915 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
12916
77c365df
AA
129172015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12918
12919 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
12920 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
12921 and "return" use KFAIL when GDB can not read/write the vector
12922 return value.
12923
4313b8c0
GB
129242015-08-21 Gary Benson <gbenson@redhat.com>
12925
12926 * gdb.trace/pending.exp: Cope with remote transfer warnings.
12927
0e433b32
PA
129282015-08-20 Pedro Alves <palves@redhat.com>
12929
12930 * gdb.server/solib-list.exp: No longer expect an interior stop in
12931 non-stop mode.
12932
221e1a37
PA
129332015-08-20 Pedro Alves <palves@redhat.com>
12934
12935 * gdb.server/connect-stopped-target.c: New file.
12936 * gdb.server/connect-stopped-target.exp: New file.
12937
40e3ad0e
PA
129382015-08-20 Pedro Alves <palves@redhat.com>
12939
12940 * gdb.dwarf2/comp-unit-lang.exp: New file.
12941 * gdb.dwarf2/comp-unit-lang.c: New file.
12942
af39b327
PMR
129432015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
12944
12945 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
12946 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
12947
7d45c7c3 129482015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 12949
7d45c7c3
KB
12950 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
12951 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
12952
4d6cceb4
DE
129532015-08-18 Doug Evans <dje@google.com>
12954 Adrian Sendroiu <adrian.sendroiu@freescale.com>
12955
12956 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
12957 skip_python_tests. New arg prompt_regexp.
12958 (skip_python_tests): New function.
12959 * lib/mi-support.exp (mi_skip_python_tests): New function.
12960 * gdb.python/py-mi-objfile-gdb.py: New file.
12961 * gdb.python/py-mi-objfile.c: New file.
12962 * gdb.python/py-mi-objfile.exp: New file.
12963
ad89c2aa
KS
129642015-08-17 Keith Seitz <keiths@redhat.com>
12965
12966 * gdb.linespec/explicit.exp: Move strace test from here ...
12967 * gdb.trace/strace.exp: ... to here.
12968
e3ae3c43
PP
129692015-08-15 Patrick Palka <patrick@parcs.ath.cx>
12970
12971 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
12972 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
12973
604b2636
DE
129742015-08-14 Doug Evans <xdje42@gmail.com>
12975
12976 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
12977 inferior before selecting a new file.
12978
6ff0ba5f
DE
129792015-08-14 Doug Evans <xdje42@gmail.com>
12980
12981 * gdb.mi/mi-disassemble.exp: Update.
12982 * gdb.base/disasm-optim.S: New file.
12983 * gdb.base/disasm-optim.c: New file.
12984 * gdb.base/disasm-optim.h: New file.
12985 * gdb.base/disasm-optim.exp: New file.
12986
9ca98f92
KS
129872015-08-14 Keith Seitz <keiths@redhat.com>
12988
12989 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
12990 "evaluated-by".
12991
52bbc560
JB
129922015-08-13 Joel Brobecker <brobecker@adacore.com>
12993
12994 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
12995
5d8c3ed3
PMR
129962015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
12997
12998 * gdb.ada/fun_renaming.exp: New testcase.
12999 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
13000 * gdb.ada/fun_renaming/pack.adb: New file.
13001 * gdb.ada/fun_renaming/pack.ads: New file.
13002
ea8812bc
KS
130032015-08-12 Keith Seitz <keiths@redhat.com>
13004
13005 * gdb.base/dso2dso.exp: Pass basename of source file in call to
13006 gdb_get_line_number.
13007
4dafcdeb
JB
130082015-08-12 Joel Brobecker <brobecker@adacore.com>
13009
13010 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
13011 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
13012 gdb.base/dso2dso.exp: New files.
13013
5ba32597
SDJ
130142015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
13015 Pedro Alves <palves@redhat.com>
13016 Keith Seitz <keiths@redhat.com>
13017
13018 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
13019 GDBFLAGS.
13020
b6dafabf
PP
130212015-08-12 Patrick Palka <patrick@parcs.ath.cx>
13022
13023 * gdb.base/gdbhistsize-history.exp
13024 (test_histsize_history_setting): Use save_vars.
13025 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13026 Use save_vars.
13027 (test_no_truncation_of_unlimited_history_file): Use save_vars.
13028 * gdb.base/readline.exp: Use save_vars.
13029
abe8e607
PP
130302015-08-12 Patrick Palka <patrick@parcs.ath.cx>
13031
13032 * lib/gdb.exp (save_vars): New proc.
13033
629500fa
KS
130342015-08-11 Keith Seitz <keiths@redhat.com>
13035
13036 * gdb.base/help.exp: Update help_breakpoint_text.
13037
eb8c4e2e
KS
130382015-08-11 Keith Seitz <keiths@redhat.com>
13039
13040 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
13041 (at toplevel): Call test_explicit_breakpoints.
13042 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
13043 breakpoints.
13044 * lib/mi-support.exp (mi_make_breakpoint): Add support for
13045 breakpoint conditions, "-cond".
13046
87f0e720
KS
130472015-08-11 Keith Seitz <keiths@redhat.com>
13048
13049 * gdb.linespec/3explicit.c: New file.
13050 * gdb.linespec/cpexplicit.cc: New file.
13051 * gdb.linespec/cpexplicit.exp: New file.
13052 * gdb.linespec/explicit.c: New file.
13053 * gdb.linespec/explicit.exp: New file.
13054 * gdb.linespec/explicit2.c: New file.
13055 * gdb.linespec/ls-errs.exp: Add explicit location tests.
13056 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
13057 before using in the matching pattern.
13058 Clarify that `prefix' is a regular expression.
13059
f00aae0f
KS
130602015-08-11 Keith Seitz <keiths@redhat.com>
13061
13062 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
13063 test.
13064 Add tests for missing ",FMT" and ",".
13065
e27852be
DE
130662015-08-10 Doug Evans <dje@google.com>
13067 Keith Seitz <keiths@redhat.com>
13068
13069 PR gdb/17960
13070 * gdb.base/completion.exp: Add location completer tests.
13071
7f03bd92
PA
130722015-08-07 Pedro Alves <palves@redhat.com>
13073
13074 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
13075 tests here.
13076 (top level): Run do_test with and without displaced stepping.
13077
3fc8eb30
PA
130782015-08-07 Pedro Alves <palves@redhat.com>
13079
13080 * gdb.base/valgrind-disp-step.c: New file.
13081 * gdb.base/valgrind-disp-step.exp: New file.
13082
d4569d7b
PA
130832015-08-07 Pedro Alves <palves@redhat.com>
13084
13085 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
13086 Delete function.
13087 (main): Add alarm. Run an infinite loop instead of calling
13088 wait_threads.
13089 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
13090 comment.
13091 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
13092 Delete function.
13093 (main): Add alarm. Run an infinite loop instead of calling
13094 wait_threads.
13095 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
13096 comment.
13097
e1316e60
PA
130982015-08-07 Pedro Alves <palves@redhat.com>
13099
13100 * gdb.base/checkpoint-ns.exp: New file.
13101 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
13102 standard_testfile.
13103
da8c46d2
MM
131042015-08-07 Markus Metzger <markus.t.metzger@intel.com>
13105
13106 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
13107 * gdb.btrace/instruction_history.exp: Update.
13108 * gdb.btrace/tsx.exp: New.
13109 * gdb.btrace/tsx.c: New.
13110
de1c2c52
PA
131112015-08-06 Pedro Alves <palves@redhat.com>
13112
13113 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
13114 increase timeout.
13115 * gdb.reverse/until-precsave.exp: Bump timeouts.
13116
782e0bf4
PA
131172015-08-06 Pedro Alves <palves@redhat.com>
13118
13119 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
13120
83e97ed0
PA
131212015-08-06 Pedro Alves <palves@redhat.com>
13122
13123 PR gdb/18749
13124 * gdb.threads/process-dies-while-handling-bp.c: New file.
13125 * gdb.threads/process-dies-while-handling-bp.exp: New file.
13126
863d01bd
PA
131272015-08-06 Pedro Alves <palves@redhat.com>
13128
13129 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
13130 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
13131
0a39bb32
PA
131322015-08-05 Pedro Alves <palves@redhat.com>
13133
13134 * gdb.threads/next-while-other-thread-longjmps.c: New file.
13135 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
13136
ee2d2b10
SL
131372015-08-03 Sandra Loosemore <sandra@codesourcery.com>
13138
13139 * gdb.base/bp-permanent.exp: Report test as unsupported if
13140 the target cannot stop at the permanent breakpoint.
13141
4e1bdb00
DE
131422015-08-03 Doug Evans <dje@google.com>
13143
13144 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
13145 10000.
13146
3d338901
DE
131472015-08-03 Doug Evans <dje@google.com>
13148
13149 * Makefile.in (workers/%.worker, build-perf): New rule.
13150 (GDB_PERFTEST_MODE): New variable.
13151 (check-perf): Use it.
13152 (clean): Clean up gdb.perf parallel build subdirs.
13153 * lib/build-piece.exp: New file.
13154 * lib/gdb.exp (make_gdb_parallel_path): New function
13155 (standard_output_file, standard_temp_file): Call it.
13156 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13157 of $GDB_PARALLEL.
13158 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
13159
af061d3e
DE
131602015-08-03 Doug Evans <dje@google.com>
13161
8e1afc81 13162 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
13163 (LOG_FILE_NAME): New global.
13164 (TextReporter.__init__): Initialize self.txt_sum.
13165 (TextReporter.report): Add support for multiple data-points.
13166 Move report to perftest.sum, put raw data in perftest.log.
13167 (TextReporter.start): Open sum and log files.
13168 (TextReporter.end): Close sum and log files.
8e1afc81
DE
13169 * gdb.perf/lib/perftest/testresult.py
13170 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 13171
2c8c5d37
PA
131722015-07-31 Pedro Alves <palves@redhat.com>
13173
13174 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
13175 Use spawn_id_get_pid. Wait for spawn id after eof. Use
13176 kill_wait_spawned_process instead of explicit "kill -9".
13177 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
13178 returning a spawn id instead of a pid. Use spawn_id_get_pid and
13179 kill_wait_spawned_process.
13180 * gdb.base/attach-twice.exp: Likewise.
13181 * gdb.base/attach.exp: Likewise.
13182 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
13183 gdb_test_multiple.
13184 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
13185 returning a spawn id instead of a pid. Use spawn_id_get_pid and
13186 kill_wait_spawned_process.
13187 * gdb.base/valgrind-infcall.exp: Likewise.
13188 * gdb.multi/multi-attach.exp: Likewise.
13189 * gdb.python/py-prompt.exp: Likewise.
13190 * gdb.python/py-sync-interp.exp: Likewise.
13191 * gdb.server/ext-attach.exp: Likewise.
13192 * gdb.threads/attach-into-signal.exp (corefunc): Use
13193 spawn_wait_for_attach, spawn_id_get_pid and
13194 kill_wait_spawned_process.
13195 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
13196 spawn_wait_for_attach returning a spawn id instead of a pid. Use
13197 spawn_id_get_pid and kill_wait_spawned_process.
13198 * gdb.threads/attach-stopped.exp (corefunc): Use
13199 spawn_wait_for_attach, spawn_id_get_pid and
13200 kill_wait_spawned_process.
13201 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
13202 Use spawn_id_get_pid. Wait for spawn id after eof. Use
13203 kill_wait_spawned_process instead of explicit "kill -9".
13204 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
13205 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
13206 (spawn_wait_for_attach): Use spawn instead of exec to spawn
13207 processes. Don't map cygwin/windows pids here. Now returns a
13208 spawn id list.
13209
032a0fca
SL
132102015-07-30 Sandra Loosemore <sandra@codesourcery.com>
13211
13212 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
13213 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
13214 correct patch.
13215
61a934ca
SL
132162015-07-30 Sandra Loosemore <sandra@codesourcery.com>
13217
13218 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
13219
4bc4d428
SL
132202015-07-30 Sandra Loosemore <sandra@codesourcery.com>
13221
13222 Reapply:
13223 2014-05-21 Mark Wielaard <mjw@redhat.com>
13224
13225 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
13226
998d452a
PA
132272015-07-30 Pedro Alves <palves@redhat.com>
13228
13229 * linux-low.c (handle_extended_wait): Set the child's last
13230 reported status to TARGET_WAITKIND_STOPPED.
13231
69dde7dc
PA
132322015-07-30 Pedro Alves <palves@redhat.com>
13233
13234 PR threads/18600
13235 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
13236 only shows inferior 1.
13237
4dd63d48
PA
132382015-07-30 Simon Marchi <simon.marchi@ericsson.com>
13239 Pedro Alves <palves@redhat.com>
13240
13241 PR threads/18600
13242 * gdb.threads/fork-plus-threads.c: New file.
13243 * gdb.threads/fork-plus-threads.exp: New file.
13244
d618e4c5
PP
132452015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13246
13247 * gdb.base/batch-preserve-term-settings.exp
13248 (test_terminal_settings_preserved_after_cli_exit): Use
13249 send_quit_command.
13250
1eef6428
PA
132512015-07-29 Pedro Alves <palves@redhat.com>
13252 Don Breazeal <donb@codesourcery.com>
13253
13254 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
13255 output from both inferior_spawn_id and gdb_spawn_id.
13256
7da5b897
SDJ
132572015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
13258
13259 * gdb.threads/attach-into-signal.exp (corefunc): Use
13260 with_test_prefix on nested loops, uniquefying the test messages.
13261
dac804df
SDJ
132622015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
13263
13264 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
13265 commit.
13266
06265e53
PP
132672015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13268
13269 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
13270 New proc.
13271 (test_terminal_settings_preserved_after_sigterm): New test.
13272
18206ca3
PP
132732015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13274
13275 * gdb.base/batch-preserve-term-settings.exp
13276 (test_terminal_settings_preserved_after_cli_exit): New test.
13277
90074d11
PP
132782015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13279
13280 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
13281 manipulation of saved_gdbflags.
13282 (test_terminal_settings_preserved): Remove global declaration of
13283 the unused variable pagination_prompt. Remove manipulation of
13284 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
13285 GDBFLAGS.
13286
eb1a7902
PA
132872015-07-29 Pedro Alves <palves@redhat.com>
13288
13289 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
13290
8b75dd3b
PA
132912015-07-29 Pedro Alves <palves@redhat.com>
13292
13293 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
13294 at the top.
13295
dedad4e3
PA
132962015-07-29 Pedro Alves <palves@redhat.com>
13297
13298 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
13299 (main): Call gdb_unbuffer_output.
13300 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
13301 (main): Call gdb_unbuffer_output.
13302 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
13303 (main): Call gdb_unbuffer_output.
13304 * gdb.base/call-strs.exp: Adjust to step over the
13305 gdb_unbuffer_output call.
13306 * gdb.base/catch-gdb-caused-signals.c: Include
13307 "../lib/unbuffer_output.c".
13308 (main): Call gdb_unbuffer_output.
13309 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
13310 (main): Call gdb_unbuffer_output.
13311 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
13312 (main): Call gdb_unbuffer_output.
13313 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
13314 (main): Call gdb_unbuffer_output.
13315 * gdb.base/shlib-call.exp: Adjust to step over the
13316 gdb_unbuffer_output call.
13317 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
13318 (main): Call gdb_unbuffer_output.
13319 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
13320 (main): Call gdb_unbuffer_output.
13321 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
13322 (main): Rename to ...
13323 (test): ... this.
13324 (main): Reimplement.
13325 * gdb.base/varargs.exp: Run to test instead of to main.
13326 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
13327 (main): Call gdb_unbuffer_output.
13328
58789a91
PA
133292015-07-29 Pedro Alves <palves@redhat.com>
13330
13331 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
13332 factore out from mi_continue_dprintf. For call-style dprintfs,
13333 expect dprintf output out of $inferior_spawn_id.
13334 (mi_continue_dprintf): Use mi_expect_dprintf.
13335 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
13336 (main): Call gdb_unbuffer_output.
13337
e8376742
PA
133382015-07-29 Pedro Alves <palves@redhat.com>
13339
13340 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
13341 (default_mi_gdb_start): Set inferior_spawn_id instead of
13342 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
13343 gdb_spawn_id.
13344 (mi_gdb_test): Always expect inferior output from both
13345 $inferior_spawn_id and $gdb_spawn_id.
13346
08280010
PA
133472015-07-29 Pedro Alves <palves@redhat.com>
13348
13349 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
13350 send_inferior and $inferior_spawn_id.
13351
4d30e432
PA
133522015-07-29 Pedro Alves <palves@redhat.com>
13353
13354 * gdb.gdb/complaints.exp (test_initial_complaints)
13355 (test_serial_complaints, test_short_complaints): Use
13356 gdb_test_stdio.
13357 (test_empty_complaint): Handle $inferior_spawn_id !=
13358 $gdb_spawn_id.
13359
0d30a335
PA
133602015-07-29 Pedro Alves <palves@redhat.com>
13361
13362 * gdb.base/varargs.exp: Use gdb_test_stdio.
13363
39413b29
PA
133642015-07-29 Pedro Alves <palves@redhat.com>
13365
13366 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
13367
7cb000a9
PA
133682015-07-29 Pedro Alves <palves@redhat.com>
13369
13370 * gdb.base/ending-run.exp: Use gdb_test_stdio.
13371
d7b8ac82
PA
133722015-07-29 Pedro Alves <palves@redhat.com>
13373
13374 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
13375 parameter into two new parameters, "inf_result" and "gdb_result".
13376 Expect inferior output and gdb output from $inferior_spawn_id and
13377 $gdb_spawn_id, respectively. Adjust all callers.
13378
789c3a0c
PA
133792015-07-29 Pedro Alves <palves@redhat.com>
13380
13381 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
13382 of gdb_test_sequence.
13383
77e760c3
PA
133842015-07-29 Pedro Alves <palves@redhat.com>
13385
13386 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
13387 (saw_spurious_output): Expect inferior output from
13388 $inferior_spawn_id. Use gdb_test_stdio.
13389
8396d2cd
PA
133902015-07-29 Pedro Alves <palves@redhat.com>
13391
13392 * gdb.base/dprintf.exp: Use standard_testfile. Change
13393 prepare_for_testing call.
13394 (srcfile): Don't set.
13395 (restart): New procedure.
13396 (test_dprintf): New procecure, use to continue over dprintfs.
13397 (test_call, test_agent): New procedures, tests moved here.
13398 Restart gdb and recreate dprintfs. Adjust expected output.
13399
2051d61f
PA
134002015-07-29 Pedro Alves <palves@redhat.com>
13401
13402 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
13403
452397af
PA
134042015-07-29 Pedro Alves <palves@redhat.com>
13405
13406 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
13407
8aed9555
PA
134082015-07-29 Pedro Alves <palves@redhat.com>
13409
13410 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
13411 gdb_test_stdio.
13412
188a61b4
PA
134132015-07-29 Pedro Alves <palves@redhat.com>
13414
13415 * lib/gdb.exp (gdb_test_stdio): New procedure.
13416
12264a45
PA
134172015-07-29 Pedro Alves <palves@redhat.com>
13418
13419 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
13420
23ffc893
PA
134212015-07-29 Pedro Alves <palves@redhat.com>
13422
13423 * gdb.base/call-signal-resume.exp: Remove check for
13424 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
13425 * gdb.base/unwindonsignal.exp: Likewise.
13426 * gdb.base/call-signals.c (gen_signal): Remove printf call.
13427 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
13428
65566918
PA
134292015-07-29 Pedro Alves <palves@redhat.com>
13430
13431 * gdb.base/siginfo-addr.c (pass): New function.
13432 (handler): Call it iff si_addr is correct.
13433 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
13434 Set a breakpoint at "pass" and continue to it.
13435
d60a9221
SDJ
134362015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
13437
13438 * gdb.python/py-objfile.exp: Make some tests have unique names.
13439 * gdb.python/py-pp-registration.exp: Likewise.
13440
bde40b8f
PA
134412015-07-28 Pedro Alves <palves@redhat.com>
13442
13443 * gdb.server/server-exec-info.exp: Issue a "disconnect".
13444
13e1dec8
SM
134452015-07-27 Simon Marchi <simon.marchi@ericsson.com>
13446
13447 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
13448
da33c9a7
SM
134492015-07-27 Simon Marchi <simon.marchi@ericsson.com>
13450
13451 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
13452
077836f7
PP
134532015-07-27 Patrick Palka <patrick@parcs.ath.cx>
13454
13455 * gdb.base/gdb-sigterm-2.exp: New test.
13456
b8cc7b2e
DE
134572015-07-25 Doug Evans <xdje42@gmail.com>
13458
13459 Revert:
13460 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
13461 (workers/%.worker, build-perf): New rule.
13462 (GDB_PERFTEST_MODE): New variable.
13463 (check-perf): Use it.
13464 (clean): Clean up gdb.perf parallel build subdirs.
13465 * lib/build-piece.exp: New file.
13466 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
13467 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
13468 name.
13469 (standard_temp_file): Ditto.
13470 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13471 of $GDB_PARALLEL.
13472
c8bd4544
DE
134732015-07-24 Doug Evans <dje@google.com>
13474
13475 * gdb.perf/lib/perftest/utils.py: New file.
13476 * gdb.perf/gm-hello.cc: New file.
13477 * gdb.perf/gm-pervasive-typedef.cc: New file.
13478 * gdb.perf/gm-pervasive-typedef.h: New file.
13479 * gdb.perf/gm-std.cc: New file.
13480 * gdb.perf/gm-std.h: New file.
13481 * gdb.perf/gm-use-cerr.cc: New file.
13482 * gdb.perf/gm-utils.h: New file.
13483 * gdb.perf/gmonster-null-lookup.py: New file.
13484 * gdb.perf/gmonster-pervasive-typedef.py: New file.
13485 * gdb.perf/gmonster-print-cerr.py: New file.
13486 * gdb.perf/gmonster-ptype-string.py: New file.
13487 * gdb.perf/gmonster-runto-main.py: New file.
13488 * gdb.perf/gmonster-select-file.py: New file.
13489 * gdb.perf/gmonster1-null-lookup.exp: New file.
13490 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
13491 * gdb.perf/gmonster1-print-cerr.exp: New file.
13492 * gdb.perf/gmonster1-ptype-string.exp: New file.
13493 * gdb.perf/gmonster1-runto-main.exp: New file.
13494 * gdb.perf/gmonster1-select-file.exp: New file.
13495 * gdb.perf/gmonster1.cc: New file.
13496 * gdb.perf/gmonster1.exp: New file.
13497 * gdb.perf/gmonster2-null-lookup.exp: New file.
13498 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
13499 * gdb.perf/gmonster2-print-cerr.exp: New file.
13500 * gdb.perf/gmonster2-ptype-string.exp: New file.
13501 * gdb.perf/gmonster2-runto-main.exp: New file.
13502 * gdb.perf/gmonster2-select-file.exp: New file.
13503 * gdb.perf/gmonster2.cc: New file.
13504 * gdb.perf/gmonster2.exp: New file.
13505
6eab34f3
DE
135062015-07-24 Doug Evans <dje@google.com>
13507
13508 * gdb.perf/README: New file.
13509 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
13510 * lib/gen-perf-test.exp: New file.
13511
63738bfd
DE
135122015-07-24 Doug Evans <dje@google.com>
13513
13514 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
13515 (PerfTest::startup): New function.
13516 (PerfTest::run): Return result of calling body.
13517 (PerfTest::assemble): Rewrite.
13518 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
13519 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
13520 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
13521 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
13522 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
13523
7b606f95
DE
135242015-07-24 Doug Evans <dje@google.com>
13525
13526 * lib/gdb.exp (clean_restart): Make executable optional.
13527
a97b16b8
DE
135282015-07-24 Doug Evans <dje@google.com>
13529
13530 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
13531 compiler_info references.
13532 * gdb.cp/temargs.exp: Ditto.
13533 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
13534 (get_compiler_info): Early exit if already computed. Set compiler_info
13535 to "unknown" if there was a problem.
13536 (test_compiler_info): Add function comment. Call get_compiler_info.
13537
35baa57f
DE
135382015-07-24 Doug Evans <dje@google.com>
13539
13540 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
13541 (workers/%.worker, build-perf): New rule.
13542 (GDB_PERFTEST_MODE): New variable.
13543 (check-perf): Use it.
13544 (clean): Clean up gdb.perf parallel build subdirs.
13545 * lib/build-piece.exp: New file.
13546 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
13547 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
13548 name.
13549 (standard_temp_file): Ditto.
13550 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13551 of $GDB_PARALLEL.
13552
6ebea266
DE
135532015-07-24 Doug Evans <dje@google.com>
13554
13555 * lib/future.exp (gdb_default_target_compile): New option
13556 "early_flags".
13557 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
13558 --as-needed.
13559
1e76a7e9
SDJ
135602015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
13561
13562 * gdb.base/catch-syscall.exp: Call gdb_exit before
13563 gdb_skip_xml_test.
13564
5068630a
PA
135652015-07-24 Pedro Alves <palves@redhat.com>
13566
13567 * gdb.python/py-events.exp: Accept output between the stop event
13568 and the prompt.
13569 * gdb.python/py-evsignal.exp: Likewise.
13570 * gdb.python/py-evthreads.exp: Likewise.
13571
77598427
PA
135722015-07-24 Pedro Alves <palves@redhat.com>
13573
13574 PR gdb/18717
13575 * gdb.threads/non-ldr-exit.c: New file.
13576 * gdb.threads/non-ldr-exit.exp: New file.
13577
11e6c98f
YQ
135782015-07-24 Yao Qi <yao.qi@linaro.org>
13579
13580 * gdb.server/ext-wrapper.exp: Test --wrapper option when
13581 restarting process.
13582
51aee833
YQ
135832015-07-24 Yao Qi <yao.qi@linaro.org>
13584
13585 * gdb.server/ext-restart.exp: New file.
13586
8cfe207c
YQ
135872015-07-24 Yao Qi <yao.qi@linaro.org>
13588
13589 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
13590 argument options.
13591 * gdb.server/ext-wrapper.exp: New file.
13592
cc12ce38
DE
135932015-07-23 Doug Evans <dje@google.com>
13594
13595 * gdb.dwarf2/dw2-dummy-cu.S: New file.
13596 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
13597
d0d84780
PMR
135982015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
13599
13600 * gdb.ada/var_arr_typedef.exp: New testcase.
13601 * gdb.ada/var_arr_typedef/pack.adb: New file.
13602 * gdb.ada/var_arr_typedef/pack.ads: New file.
13603 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
13604
8b558f79
JB
136052015-07-20 Joel Brobecker <brobecker@adacore.com>
13606
13607 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
13608
775a3298
JK
136092015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13610
13611 * gdb.arch/i386-biarch-core.exp: Replace istarget
13612 by "complete set gnutarget". Remove expectation for the "core-file"
13613 command.
13614
db1ff28b
JK
136152015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13616
13617 Revert the previous commit:
13618 Tests for validate symbol file using build-id.
13619
0a94970d
JK
136202015-07-15 Aleksandar Ristovski <aristovski@qnx.com
13621
13622 Tests for validate symbol file using build-id.
13623 * gdb.base/solib-mismatch-lib.c: New file.
13624 * gdb.base/solib-mismatch-libmod.c: New file.
13625 * gdb.base/solib-mismatch.c: New file.
13626 * gdb.base/solib-mismatch.exp: New file.
13627
03346981
SL
136282015-07-15 Sandra Loosemore <sandra@codesourcery.com>
13629
13630 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
13631 nios2-*-linux*.
13632 * gdb.base/sigbpt.exp (stepi_out): Likewise.
13633 * gdb.base/siginfo.exp: Likewise.
13634 * gdb.base/sigstep.exp (advance, advancei): Likewise.
13635
42422cc7
PL
136362015-07-15 Pierre Langlois <pierre.langlois@arm.com>
13637
13638 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
13639 Move it to ...
13640 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
13641 ... here.
13642 * gdb.trace/range-stepping.exp: Check that the target supports
13643 range stepping.
13644
cfa68bae
JK
136452015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13646
13647 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
13648
8ffdba26
PA
136492015-07-14 Pedro Alves <palves@redhat.com>
13650
13651 * gdb.base/killed-outside.exp: New file.
13652 * gdb.base/killed-outside.c: New file.
13653
218a5a11
JK
136542015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
13655
13656 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
13657 (n at main): New.
13658 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
13659
e03ed3c6
AA
136602015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
13661
13662 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
13663 infcall tests instead of setting up for KFAIL.
13664
485668e5
MM
136652015-07-10 Markus Metzger <markus.t.metzger@intel.com>
13666
13667 * gdb.btrace/record_goto-step.exp: New.
13668
08464196
JK
136692015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13670
13671 PR compile/18484
13672 * gdb.compile/compile.c (struct struct_type): Add volatile to
13673 selffield's type.
13674 * gdb.compile/compile.exp
13675 (compile code struct_object.selffield = &struct_object): Skip further
13676 struct_object tests if this one xfails.
13677
bcf5c1d9
RC
136782015-07-08 Robert O'Callahan <robert@ocallahan.org>
13679
13680 PR exp/18617
13681 * gdb.trace/ax.exp: Add test.
13682
4931af25
YQ
136832015-07-07 Yao Qi <yao.qi@linaro.org>
13684
13685 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
13686 instead of istarget "aarch64*-*-*".
13687 * gdb.arch/aarch64-fp.exp: Likewise.
13688 * gdb.base/float.exp: Likewise.
13689 * gdb.reverse/aarch64.exp: Likewise.
13690 * lib/gdb.exp (is_aarch64_target): New proc.
13691
9fcf688e
YQ
136922015-07-07 Yao Qi <yao.qi@linaro.org>
13693
13694 * lib/gdb.exp (is_aarch32_target): New proc.
13695 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
13696 instead of "istarget "arm*-*-*"".
13697 * gdb.arch/arm-disp-step.exp: Likewise.
13698 * gdb.arch/thumb-bx-pc.exp: Likewise.
13699 * gdb.arch/thumb-prologue.exp: Likewise.
13700 * gdb.arch/thumb-singlestep.exp: Likewise.
13701 * gdb.base/disp-step-syscall.exp: Likewise.
13702 * gdb.base/float.exp: Likewise.
13703
fbd8d50d
YQ
137042015-07-07 Yao Qi <yao.qi@linaro.org>
13705
13706 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
13707 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
13708
71be1fdc
YQ
137092015-07-07 Yao Qi <yao.qi@linaro.org>
13710
13711 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
13712 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
13713 if it exists.
13714 * gdb.multi/multi-arch.exp: Likewise.
13715
3e221d36
SM
137162015-07-07 Simon Marchi <simon.marchi@ericsson.com>
13717
13718 * gdb.python/py-lazy-string.exp: Add missing parentheses to
13719 print.
13720
d441430b
YQ
137212015-07-07 Yao Qi <yao.qi@linaro.org>
13722
13723 * gdb.arch/thumb-singlestep.exp: Do one more single step.
13724
06f810bd
MG
137252015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
13726
13727 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
13728 '[' and ']' characters.
13729
5e61e7c0
IB
137302015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
13731
13732 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
13733
28bf096c
PA
137342015-06-29 Pedro Alves <palves@redhat.com>
13735
13736 PR threads/18127
13737 * gdb.threads/hand-call-new-thread.c: New file.
13738 * gdb.threads/hand-call-new-thread.c: New file.
13739
ee93cd5e
KS
137402015-06-26 Keith Seitz <keiths@redhat.com>
13741 Doug Evans <dje@google.com>
13742
13743 PR 16253
13744 * gdb.cp/var-tag-2.cc: New file.
13745 * gdb.cp/var-tag-3.cc: New file.
13746 * gdb.cp/var-tag-4.cc: New file.
13747 * gdb.cp/var-tag.cc: New file.
13748 * gdb.cp/var-tag.exp: New file.
13749
fc637f04
PP
137502015-06-26 Patrick Palka <patrick@parcs.ath.cx>
13751
13752 * gdb.base/history-duplicates.exp: New test.
13753
2e52ae68
PP
137542015-06-26 Patrick Palka <patrick@parcs.ath.cx>
13755
13756 * gdb.base/completion.exp: Test the completion of the "focus"
13757 command.
13758
6e22494e
JK
137592015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13760
13761 * gdb.arch/amd64-prologue-skip.S: New file.
13762 * gdb.arch/amd64-prologue-skip.exp: New file.
13763
bf7b9cd9
SM
137642015-06-25 Simon Marchi <simon.marchi@ericsson.com>
13765
13766 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
13767 is_address_zero_readable check.
13768
201e8dfd
PB
137692015-06-24 Peter Bergner <bergner@vnet.ibm.com>
13770
13771 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
13772 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
13773
5cd867b4
YQ
137742015-06-24 Yao Qi <yao.qi@linaro.org>
13775
13776 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
13777 linux targets.
13778
4d7be007
YQ
137792015-06-24 Yao Qi <yao.qi@linaro.org>
13780
13781 * lib/gdb.exp (supports_get_siginfo_type): New proc.
13782 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
13783 * gdb.base/siginfo-thread.exp: Likewise.
13784
07fcd301
YQ
137852015-06-22 Yao Qi <yao.qi@linaro.org>
13786
13787 * boards/remote-gdbserver-on-localhost.exp: Add comments.
13788
52042a00
YQ
137892015-06-22 Yao Qi <yao.qi@linaro.org>
13790
13791 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
13792 aarch64*-*-*.
13793 (skip_hw_watchpoint_tests): Likewise.
13794
74bd41ce
PP
137952015-06-18 Patrick Palka <patrick@parcs.ath.cx>
13796
13797 * gdb.base/gdbinit-history.exp: Test the interaction between
13798 setting GDBHISTSIZE and setting the history size via .gdbinit.
13799
bc460514
PP
138002015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13801
13802 PR gdb/16999
13803 * gdb.base/gdbhistsize-history.exp: New test.
13804
b58c513b
PP
138052015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13806
13807 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
13808 with GDBHISTSIZE.
13809 * gdb.base/readline.exp: Likewise.
13810
92046791
YQ
138112015-06-17 Yao Qi <yao.qi@linaro.org>
13812
13813 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
13814 line.
13815
2093d2d3
PP
138162015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13817
13818 * gdb.base/gdbinit-history.exp: Add test case to check that
13819 an unlimited history file does not get truncated on exit.
13820
e6c693af
AA
138212015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13822
13823 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
13824 (VECTOR): New macro. Use it...
13825 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
13826 ...for these typedefs.
13827 (int8, char1, int1, double1): New typedefs.
13828 (struct just_int2, struct two_int2): New structures.
13829 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
13830 (add_structvecs, add_singlevecs): New functions.
13831 (main): Call add_some_intvecs twice.
13832 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
13833 the compile and exit upon failure. Try compiling for the "native"
13834 architecture. Test inferior function calls with vector arguments
13835 and vector return value handling with "finish" and "return".
13836
c74f7d1c
JT
138372015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
13838
13839 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
13840 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
13841 PE file.
13842 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
13843
98aa42ee
AT
138442015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
13845
13846 PR breakpoints/16465
13847 * gdb.mi/mi-dprintf-pending.c: New file.
13848 * gdb.mi/mi-dprintf-pending.exp: New test.
13849 * gdb.mi/mi-dprintf-pendshr.c: New file.
13850
7d73c23c 138512015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 13852 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
13853
13854 * gdb.arch/i386-mpx-map.c: New file.
13855 * gdb.arch/i386-mpx-map.exp: New File.
13856
138572015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13858
13859 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
13860 * gdb.arch/i386-mpx.exp: Indentation fixed.
13861
138622015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13863
13864 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
13865 function and improved indentation.
13866 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
13867 gdb_test_multiple. Added additional tests to skip the test.
13868
138692015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13870
13871 * gdb.arch/i386-avx512.c: Change path in include file.
13872 * gdb.arch/i386-avx512.exp: Change include dir path
13873 compilation flag.
13874 * gdb.arch/i386-mpx.c: Change path in include file.
13875 * gdb.arch/i386-mpx.exp: Change include dir path compilation
13876 flag.
13877
d5eba19a
JK
138782015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
13879
13880 * gdb.compile/compile-print.exp (compile print *vararray@3)
13881 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
13882
7f361056
JK
138832015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13884
13885 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
13886 (do not keep jit in memory): ... this.
13887 (expect 5): Change it to ...
13888 (expect no 5): ... this.
13889
3b462ec2
SM
138902015-06-02 Simon Marchi <simon.marchi@ericsson.com>
13891
13892 PR gdb/15564
13893 * gdb.mi/mi-detach.exp: New file.
13894
e0619de6
JK
138952015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13896
13897 PR symtab/18392
13898 * gdb.arch/amd64-tailcall-self.S: New file.
13899 * gdb.arch/amd64-tailcall-self.c: New file.
13900 * gdb.arch/amd64-tailcall-self.exp: New file.
13901
e970cb34
DB
139022015-05-28 Don Breazeal <donb@codesourcery.com>
13903
13904 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
13905 tests for remote targets by checking is_target_gdbserver.
13906
b2e2f908
DE
139072015-05-27 Doug Evans <dje@google.com>
13908
13909 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
13910 * gdb.dwarf2/opaque-type-lookup.c: New file.
13911 * gdb.dwarf2/opaque-type-lookup.exp: New file.
13912
82c7be31
DE
139132015-05-26 Doug Evans <dje@google.com>
13914
13915 * gdb.cp/iostream.cc: New file.
13916 * gdb.cp/iostream.exp: New file.
13917
b4f54984
DE
139182015-05-26 Doug Evans <dje@google.com>
13919
13920 * gdb.dwarf2/dw2-op-call.exp: Update.
13921 * gdb.dwarf2/dw4-sig-types.exp: Update.
13922 * gdb.dwarf2/implptr.exp: Update.
13923 * gdb.mi/mi-cmd-param-changed.exp: Update.
13924
4ea6efe9
DE
139252015-05-26 Doug Evans <dje@google.com>
13926
13927 * gdb.python/py-lazy-string.c: New file.
13928 * gdb.python/py-lazy-string.exp: New file.
13929 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
13930 (main): Update. Add estring3.
13931 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
13932 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
13933
f6bb7db3
YQ
139342015-05-26 Omair Javaid <omair.javaid@linaro.org>
13935 Yao Qi <yao.qi@linaro.org>
13936
13937 * gdb.reverse/aarch64.c: New.
13938 * gdb.reverse/aarch64.exp: New.
13939
a81bfbd0
OJ
139402015-05-26 Omair Javaid <omair.javaid@linaro.org>
13941
25d49b86
PA
13942 * lib/gdb.exp (supports_process_record): Return true for
13943 aarch64*-linux*.
a81bfbd0
OJ
13944 (supports_reverse): Likewise.
13945
158bf1b4
PP
139462015-05-22 Patrick Palka <patrick@parcs.ath.cx>
13947
13948 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13949 Use with_test_prefix.
13950
a0145030
AB
139512015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
13952
13953 * gdb.base/completion.exp: Add test for completion of layout
13954 names.
13955
ebe3b578
AB
139562015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
13957
13958 * lib/gdb.exp (skip_tui_tests): New proc.
13959 * gdb.base/tui-layout.exp: Check skip_tui_tests.
13960
84204ed7
PA
139612015-05-19 Pedro Alves <palves@redhat.com>
13962
13963 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13964 Save the whole env array instead of just HOME. Unset HISTSIZE in
13965 the environment while testing. Restore whole environment
13966 afterwards.
13967
37442ce1
DE
139682015-05-16 Doug Evans <xdje42@gmail.com>
13969
13970 * gdb.guile/scm-ports.c: New file.
13971 * gdb.guile/scm-ports.exp: Add memory port tests.
13972
36de76f9
JK
139732015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13974
13975 * gdb.compile/compile-print.c: New file.
13976 * gdb.compile/compile-print.exp: New file.
13977
3a9558c4
JK
139782015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13979
13980 * gdb.compile/compile-ops.exp: Cast param to void.
13981 * gdb.compile/compile.exp: Complete type for _gdb_expr.
13982 (compile code struct_object.selffield = &struct_object): Add xfail.
13983
aa715135
JG
139842015-05-15 Joel Brobecker <brobecker@adacore.com>
13985
13986 * gdb.ada/arr_enum_with_gap: New testcase.
13987
931e5bc3
JG
139882015-05-15 Joel Brobecker <brobecker@adacore.com>
13989
13990 * gdb.ada/byte_packed_arr: New testcase.
13991
9cd4d857
JB
139922015-05-15 Joel Brobecker <brobecker@adacore.com>
13993
13994 * gdb.ada/pckd_neg: New testcase.
13995
ebfd00d2
PP
139962015-05-13 Patrick Palka <patrick@parcs.ath.cx>
13997
13998 PR gdb/17820
13999 * gdb.base/gdbinit-history.exp: New test.
14000 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
14001 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
14002
4c082a81
SC
140032015-05-09 Siva Chandra Reddy <sivachandra@google.com>
14004
14005 * gdb.python/py-xmethods.cc: Enhance test case.
14006 * gdb.python/py-xmethods.exp: New tests.
14007 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
14008 function.
14009 (B_indexoper): Likewise.
14010 (global_dm_list) : Add new xmethod worker functions.
14011
f7797074
SDJ
140122015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
14013
14014 * gdb.base/coredump-filter.exp: Correctly unset
14015 "coredump_var_addr" array.
14016
a4674e4e
PA
140172015-05-08 Pedro Alves <palves@redhat.com>
14018
14019 * gdb.server/non-existing-program.exp: Unset spawn_id.
14020
df2eb078
SC
140212015-05-08 Siva Chandra Reddy <sivachandra@google.com>
14022
14023 PR python/18291
14024 * gdb.python/py-xmethods.exp: Add tests.
14025
422349a3
YQ
140262015-05-08 Yao Qi <yao.qi@linaro.org>
14027
14028 PR gdb/18208
14029 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
14030 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
14031 function set_coredump_filter, and remove remote_exec call.
14032 Remove argument ipid. Callers update.
14033 (top level): Don't get inferior's PID.
14034
63fc80ce
AA
140352015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
14036
14037 * gdb.base/watch_thread_num.exp: Skip test on targets without
14038 access watchpoints.
14039
80ad801e
PA
140402015-05-06 Pedro Alves <palves@redhat.com>
14041
14042 PR server/18081
14043 * gdb.server/non-existing-program.exp: New file.
14044
0fa7fe50
JB
140452015-05-05 Joel Brobecker <brobecker@adacore.com>
14046
14047 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
14048
3ea89b92
PMR
140492015-05-05 Joel Brobecker <brobecker@adacore.com>
14050
14051 * gdb.ada/out_of_line_in_inlined: New testcase.
14052
87b8eff0
JB
140532015-05-05 Joel Brobecker <brobecker@adacore.com>
14054
14055 * gdb.ada/var_rec_arr: New testcase.
14056
5fccc635
YQ
140572015-04-30 Yao Qi <yao.qi@linaro.org>
14058
14059 * gdb.base/break-idempotent.exp: If
14060 skip_hw_watchpoint_multi_tests returns true, skip the tests
14061 on "rwatch" and "awatch".
14062
42d38f42
YQ
140632015-04-30 Yao Qi <yao.qi@linaro.org>
14064
14065 * gdb.base/relativedebug.exp: Invoke gdb command
14066 "info sharedlibrary", and if libc.so doesn't have debug info,
14067 skip the test.
14068
2ce1cdbf
DE
140692015-04-29 Doug Evans <dje@google.com>
14070
14071 * gdb.python/py-xmethods.exp: Add ptype tests.
14072 * gdb.python/py-xmethods.py (E_method_char_worker): Add
14073 get_result_type method.
14074
f24a38c5
LM
140752015-04-29 Luis Machado <lgustavo@codesourcery.com>
14076
14077 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
14078 the target does not support hardware watchpoints.
14079
ecbf2b3c
LM
140802015-04-29 Luis Machado <lgustavo@codesourcery.com>
14081
14082 * gdb.base/break-always.exp: Abort testing if writing to memory
14083 causes an error.
14084
34f5f757
DE
140852015-04-28 Doug Evans <dje@google.com>
14086
14087 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
14088 * gdb.python/py-pp-registration.exp: ... here. New file.
14089 * gdb.python/py-pp-registration.c: New file.
14090 * gdb.python/py-pp-registration.py: New file.
14091
69b4374a
DE
140922015-04-28 Doug Evans <dje@google.com>
14093
14094 * gdb.python/py-bad-printers.c: New file.
14095 * gdb.python/py-bad-printers.py: New file.
14096 * gdb.python/py-bad-printers.exp: New file.
14097
59fb7612
SS
140982015-04-28 Sasha Smundak <asmundak@google.com>
14099
14100 * gdb.python/py-type.exp: New test.
14101
2631b16a
AW
141022015-04-28 Andy Wingo <wingo@igalia.com>
14103
14104 * gdb.python/py-parameter.exp:
14105 * gdb.guile/scm-parameter.exp: Escape the path that we are
14106 matching against, as it might contain characters that are special
14107 to regular expressions.
14108
460efde1
JB
141092015-04-27 Joel Brobecker <brobecker@adacore.com>
14110
14111 * gdb.ada/rec_comp: New testcase.
14112
2d369d8e
SDJ
141132015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
14114
14115 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
14116 before using it.
14117
cf75d6c3
AB
141182015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
14119
14120 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
14121 new tests for verilog output.
14122
8dbe7ca5
YQ
141232015-04-24 Yao Qi <yao.qi@linaro.org>
14124
14125 * boards/remote-gdbserver-on-localhost.exp: New file.
14126
4ef9fb2f
PA
141272015-04-23 Pedro Alves <palves@redhat.com>
14128
14129 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
14130 $inferior_spawn_id instead of $inferior_spawn_id directly. On
14131 "end of file", remove $inferior_spawn_id from the indirect list.
14132
0a803169
PA
141332015-04-23 Pedro Alves <palves@redhat.com>
14134
14135 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
14136
749ef8f8
PA
141372015-04-23 Pedro Alves <palves@redhat.com>
14138
14139 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
14140 on $any_spawn_id instead of only on $gdb_spawn_id.
14141
8aae4344
PM
141422015-04-21 Pierre Muller <muller@sourceware.org>
14143
14144 PR pascal/17815
14145 * lib/pascal.exp (gpc_compile): Add new option "class".
14146 (fpc_compile): Likewise.
14147 * gdb.pascal/case-insensitive-symbols.pas: New file.
14148 * gdb.pascal/case-insensitive-symbols.exp: New file.
14149
1586c8fb
GB
141502015-04-20 Gary Benson <gbenson@redhat.com>
14151
14152 * gdb.base/attach.exp: Fix three extended remote failures.
14153
1b6e6f5c
GB
141542015-04-17 Gary Benson <gbenson@redhat.com>
14155
14156 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
14157 the main executable over the remote protocol.
14158
e797481d
PA
141592015-04-16 Pedro Alves <palves@redhat.com>
14160
14161 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
14162 a new gdbserver if gdbserver_reconnect_p is set.
14163
1ca99c42
PA
141642015-04-16 Pedro Alves <palves@redhat.com>
14165
14166 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
14167 is set, don't exit gdbserver.
14168
af9fd6f8
AA
141692015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
14170
14171 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
14172 appropriate .insn, such that an older assembler can be used.
14173 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
14174 the z/Architecture instruction set on 31-bit targets as well.
14175
04ff1e61
AA
141762015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
14177
14178 * gdb.go/handcall.exp: Remove all logic related to the first
14179 breakpoint and rely on go_runto_main instead.
14180 * gdb.go/strings.exp: Likewise.
14181 * gdb.go/unsafe.exp: Likewise.
14182 * gdb.go/hello.exp: Likewise. Also rename the remaining
14183 breakpoint marker to "breakpoint 1".
14184 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
14185 * gdb.go/strings.go: Likewise.
14186 * gdb.go/unsafe.go: Likewise.
14187 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
14188 "set breakpoint 2 here" and rename the remaining breakpoint marker
14189 to "breakpoint 1".
14190
40d2f8d6
SM
141912015-04-15 Simon Marchi <simon.marchi@ericsson.com>
14192
14193 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
14194 if itertools.imap is not present.
14195 * gdb.python/py-objfile.exp: Add parentheses.
14196 * gdb.python/py-type.exp: Same.
14197 * gdb.python/py-unwind-maint.py: Same.
14198
8cbc97c6
YQ
141992015-04-15 Yao Qi <yao.qi@linaro.org>
14200
14201 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
14202 of ":$ptr_size" and set its form explicitly.
14203
45fd756c
YQ
142042015-04-15 Pedro Alves <palves@redhat.com>
14205 Yao Qi <yao.qi@linaro.org>
14206
14207 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
14208 timeout by factor of 4.
14209 (test_regular_watch): Likewise.
14210 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
14211 * gdb.reverse/sigall-reverse.exp: Likewise.
14212 * gdb.reverse/until-precsave.exp: Likewise.
14213 * lib/gdb.exp (with_timeout_factor): New proc.
14214 (gdb_expect): Move some code to ...
14215 (get_largest_timeout): ... here. New procedure.
14216
9e811bc3
LM
142172015-04-14 Luis Machado <lgustavo@codesourcery.com>
14218
14219 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
14220
0ff6fcb2
LM
142212015-04-13 Luis Machado <lgustavo@codesourcery.com>
14222
14223 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
14224 to write to the .text section.
14225
7578d5f7
LM
142262015-04-13 Luis Machado <lgustavo@codesourcery.com>
14227
14228 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
14229 Handle the case of targets that do not provide PID information.
14230
2efe15c4
YQ
142312015-04-13 Yao Qi <yao.qi@linaro.org>
14232
14233 * lib/gdbserver-support.exp (gdb_exit): Catch exception
14234 and use expect instead of gdb_expect.
14235
8cd8f2f8
SDJ
142362015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
14237
14238 * gdb.base/coredump-filter.exp: Rename variable "addr" to
14239 "coredump_var_addr" to avoid naming conflict with other testcases.
14240
9ee41772
PA
142412015-04-10 Pedro Alves <palves@redhat.com>
14242
14243 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
14244 gdb_test_sequence and gdb_assert.
14245
07473109
PA
142462015-04-10 Pedro Alves <palves@redhat.com>
14247
14248 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
14249 test messages that don't include the breakpoint address.
14250
de3db44c
YQ
142512015-04-10 Yao Qi <yao.qi@linaro.org>
14252
14253 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
14254 false for some offset and width combinations which aren't
14255 supported by linux kernel.
14256
c79d856c
PA
142572015-04-10 Pedro Alves <palves@redhat.com>
14258
14259 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
14260 procedure, factored out from ...
14261 (top level): ... here. Add "set displaced-stepping" testing axis.
14262 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
14263 parameter "displaced". Use it.
14264 (top level): Use foreach and add "set displaced-stepping" testing
14265 axis.
14266
ebc90b50
PA
142672015-04-10 Pedro Alves <palves@redhat.com>
14268
14269 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
14270 Remove comment.
14271 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
14272 both the address of the instruction that triggers the watchpoint
14273 and the address of the instruction immediately after, and use
14274 those addresses for the test. Fix comment.
14275
8f572e5c
PA
142762015-04-10 Pedro Alves <palves@redhat.com>
14277
14278 * gdb.base/sigstep.exp (breakpoint_to_handler)
14279 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
14280 Test "backtrace" in handler.
14281 (breakpoint_over_handler): New parameter 'displaced'. Use it.
14282 (top level): Add new "displaced" test axis to
14283 breakpoint_to_handler, breakpoint_to_handler_entry and
14284 breakpoint_over_handler.
14285
8d707a12
PA
142862015-04-10 Pedro Alves <palves@redhat.com>
14287
14288 PR gdb/18216
14289 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
14290
ef713951
YQ
142912015-04-10 Yao Qi <yao.qi@linaro.org>
14292
14293 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
14294 (test_add_rn_pc): New function.
14295 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
14296 (top level): Invoke test_add_rn_pc.
14297
906d60cf
PA
142982015-04-10 Pedro Alves <palves@redhat.com>
14299
14300 PR gdb/13858
14301 * gdb.base/step-over-no-symbols.exp: New file.
14302
f2983cc3
AW
143032015-04-09 Andy Wingo <wingo@igalia.com>
14304
14305 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
14306 after the Python tests.
14307
6d62641c
SDJ
143082015-04-08 Keith Seitz <keiths@redhat.com>
14309
14310 PR python/16699
14311 * gdb.python/py-completion.exp: New tests for completion.
14312 * gdb.python/py-completion.py (CompleteLimit1): New class.
14313 (CompleteLimit2): Likewise.
14314 (CompleteLimit3): Likewise.
14315 (CompleteLimit4): Likewise.
14316 (CompleteLimit5): Likewise.
14317 (CompleteLimit6): Likewise.
14318 (CompleteLimit7): Likewise.
14319
f3770638
PA
143202015-04-08 Pedro Alves <palves@redhat.com>
14321
14322 PR gdb/18214
14323 PR gdb/18216
14324 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
14325 function.
14326 (main): Install it as SIGUSR1 handler.
14327 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
14328 parameter. Always use "setup" as prefix. Toggle "set
14329 displaced-stepping" off/on depending on global. Don't switch to
14330 thread 1 here.
14331 (top level): Add displaced stepping "off/on" test axis. Update
14332 "setup" calls. Wrap each subtest with with_test_prefix. Test
14333 continuing with a queued signal in each thread.
14334
4496bed7
PA
143352015-04-08 Pedro Alves <palves@redhat.com>
14336
14337 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
14338 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
14339 gdb_breakpoint instead of gdb_test that doesn't expect anything.
14340 Return early if running to main fails.
14341 * gdb.trace/while-stepping.exp: Likewise.
14342
b97fde92
PA
143432015-04-07 Pedro Alves <palves@redhat.com>
14344
14345 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
14346 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
14347 interact with inferior program.
14348
f71c18e7
PA
143492015-04-07 Pedro Alves <palves@redhat.com>
14350
14351 * lib/gdb.exp (inferior_spawn_id): New global.
14352 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
14353 spawn id after processing the user code.
14354 (default_gdb_start): Set inferior_spawn_id.
14355 (send_inferior): New procedure.
14356 * lib/gdbserver-support.exp (gdbserver_start): Set
14357 inferior_spawn_id.
14358 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
14359
6423214f
PA
143602015-04-07 Pedro Alves <palves@redhat.com>
14361
14362 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
14363 * lib/gdbserver-support.exp (gdbserver_start): Make
14364 $server_spawn_id global.
14365 (gdbserver_start): Don't wait for gdbserver's spawn id with
14366 expect_background.
14367 (close_gdbserver): New procedure.
14368 (gdb_exit): Rename the default version and reimplement.
14369
71c0ee8c
PA
143702015-04-07 Pedro Alves <palves@redhat.com>
14371
72f4393d 14372 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
14373 append the substituted item, not the original item.
14374
203bc29b
PA
143752015-04-07 Pedro Alves <palves@redhat.com>
14376
14377 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
14378 gdb_expect.
14379
508a3ddf
PA
143802015-04-07 Pedro Alves <palves@redhat.com>
14381
14382 * gdb.base/interrupt.exp: Don't handle the case of the inferior
14383 output appearing once only.
14384
9f6dbe2b
PA
143852015-04-07 Pedro Alves <palves@redhat.com>
14386
14387 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
14388 that doesn't expect anything. Return early if running to main
14389 fails.
14390
337532fa
YQ
143912015-04-07 Yao Qi <yao.qi@linaro.org>
14392
14393 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
14394 (child_function): Call alarm.
14395 (main): Move call to alarm into the loop.
14396 * gdb.threads/non-stop-fair-events.exp: Build program with
14397 -DTIMEOUT=$timeout.
14398
01b622d4
DE
143992015-04-06 Doug Evans <xdje42@gmail.com>
14400
14401 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
14402 Fix dest parameter to board_info.
14403 (fpc_compile): Ditto.
14404 (gdb_compile_pascal): Rename dest arg to destfile.
14405
961f4160
PMR
144062015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
14407
14408 * gdb.ada/funcall_ref.exp: New file.
14409 * gdb.ada/funcall_ref/foo.adb: New file.
14410
cafda597
YQ
144112015-04-02 Yao Qi <yao.qi@linaro.org>
14412
14413 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
14414 is remote.
14415
fed040c6
GB
144162015-04-02 Gary Benson <gbenson@redhat.com>
14417
14418 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
14419
d11916aa
SS
144202015-04-01 Sasha Smundak <asmundak@google.com>
14421
14422 * gdb.python/py-unwind-maint.c: New file.
14423 * gdb.python/py-unwind-maint.exp: New test.
14424 * gdb.python/py-unwind-maint.py: New file.
14425 * gdb.python/py-unwind.c: New file.
14426 * gdb.python/py-unwind.exp: New test.
14427 * gdb.python/py-unwind.py: New test.
14428
a1471180
PA
144292015-04-01 Pedro Alves <palves@redhat.com>
14430
14431 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
14432 to fail instead of non-existent $test.
14433
0bbeccb1
PA
144342015-04-01 Pedro Alves <palves@redhat.com>
14435
14436 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
14437 GDBFLAGS if not empty.
14438
3c724c8c
PMR
144392015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
14440
14441 * gdb.ada/complete.exp: Remove "multi_line".
14442 * gdb.ada/info_exc.exp: Remove "multi_line".
14443 * gdb.ada/packed_tagged.exp: Remove "multi_line".
14444 * gdb.ada/ptype_field.exp: Remove "multi_line".
14445 * gdb.ada/sym_print_name.exp: Remove "multi_line".
14446 * gdb.ada/tagged.exp: Remove "multi_line".
14447 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
14448 [multi_line ...]
14449 * gdb.btrace/delta.exp: Likewise.
14450 * gdb.btrace/exception.exp: Likewise.
14451 * gdb.btrace/function_call_history.exp: Likewise.
14452 * gdb.btrace/instruction_history.exp: Likewise.
14453 * gdb.btrace/nohist.exp: Likewise.
14454 * gdb.btrace/record_goto.exp: Likewise.
14455 * gdb.btrace/segv.exp: Likewise.
14456 * gdb.btrace/stepi.exp: Likewise.
14457 * gdb.btrace/tailcall.exp: Likewise.
14458 * gdb.btrace/unknown_functions.exp: Likewise.
14459 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
14460 * lib/gdb.exp: Add the "multi_line" helper.
14461
4eec2deb
PA
144622015-04-01 Pedro Alves <palves@redhat.com>
14463
14464 * gdb.threads/tid-reuse.c: New file.
14465 * gdb.threads/tid-reuse.exp: New file.
14466
df8411da
SDJ
144672015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
14468
14469 PR corefiles/16092
14470 * gdb.base/coredump-filter.c: New file.
14471 * gdb.base/coredump-filter.exp: Likewise.
14472
6ef37366
PM
144732015-03-27 Petr Machata <pmachata@redhat.com>
14474
14475 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
14476 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
14477 (Dwarf::assemble): Initialize them.
14478 (Dwarf::lines): New function.
14479
7ec911b0
JT
144802015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
14481
14482 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
14483 SYMBOL_PREFIX for x86_64-*-cygwin.
14484
ff908ebf
AW
144852015-03-26 Andy Wingo <wingo@igalia.com>
14486
14487 PR symtab/18148
14488 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
14489 const_value but not a location.
14490 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
14491 location defined in non-main CUs are visible.
14492
6d5f0679
YQ
144932015-03-26 Yao Qi <yao.qi@linaro.org>
14494
14495 PR testsuite/18139
14496 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
14497 Add a line number entry for the same line.
14498 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
14499 Add a line number entry for the same line.
14500
2898689b
YQ
145012015-03-26 Yao Qi <yao.qi@linaro.org>
14502
14503 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
14504 .int 0.
14505 (func): Likewise. Add .Lfunc_1 label.
14506 Use .Lfunc_1 label.
14507 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
14508 .int 0.
14509 (func): Likewise.
14510 Use .Lfunc_1 label.
14511
85180498
YQ
145122015-03-26 Yao Qi <yao.qi@linaro.org>
14513
14514 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
14515 Call gdb_compile instead to compile each .s files without debug
14516 information.
14517
8aa08a8d
YQ
145182015-03-26 Yao Qi <yao.qi@linaro.org>
14519
14520 * gdb.base/savedregs.exp (process_saved_regs): Make
14521 "Saved registers:" optional in the pattern.
14522
66849923
MM
145232015-03-25 Markus Metzger <markus.t.metzger@intel.com>
14524
14525 * gdb.btrace/next.exp: Merged into step.exp.
14526 * gdb.btrace/finish.exp: Merged into step.exp.
14527 * gdb.btrace/nexti.exp: Merged into stepi.exp.
14528 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
14529 "record goto" and checking the exact replay position.
14530 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
14531 check for "Recording format" in "info record" output.
14532 * gdb.btrace/record_goto.exp: Choose test file based on target.
14533 * gdb.btrace/x86-record_goto.S: Renamed into ...
14534 * gdb.btrace/x86_64-record_goto.S: ... this.
14535 * gdb.btrace/i686-record_goto.S: New.
14536 * gdb.btrace/x86-tailcall.S: Renamed into ...
14537 * gdb.btrace/x86_64-tailcall.S: ... this.
14538 * gdb.btrace/i686-tailcall.S: New.
14539 * gdb.btrace/x86-tailcall.c: Renamed into ...
14540 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
14541 separate statements. Update test.
14542 * gdb.btrace/delta.exp: Use record_goto.c as test file.
14543 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
14544 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
14545 * gdb.btrace/tailcall.exp: Choose test file based on target.
14546 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
14547
11cc1b74
MM
145482015-03-25 Markus Metzger <markus.t.metzger@intel.com>
14549
14550 * gdb.btrace/exception.exp: Increase BTS buffer size.
14551
a25d8bf9
PA
145522015-03-24 Pedro Alves <palves@redhat.com>
14553
14554 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
14555
856e7dd6
PA
145562015-03-24 Pedro Alves <palves@redhat.com>
14557
14558 * gdb.threads/schedlock.exp (test_step): No longer expect that
14559 "set scheduler-locking step" with "next" over a function call runs
14560 threads unlocked.
14561
ad235a41
AT
145622015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
14563
14564 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
14565
15630549
AT
145662015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
14567
14568 PR breakpoints/16466
14569 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
14570 * gdb.mi/mi-pending.c (thread_func): New function.
14571 (int main): Add threading support required.
14572 * gdb.mi/mi-pending.exp: Add tests for this issue.
14573 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
14574 (pendfunc2): Remove stdio dependency.
14575 * gdb.mi/mi-pendshr2.c: New file.
14576
693dca06
KS
145772015-03-23 Keith Seitz <keiths@redhat.com>
14578
14579 * gdb.linespec/keywords.c: New file.
14580 * gdb.linespec/keywords.exp: New file.
14581
7e993ebf
KS
145822015-03-23 Keith Seitz <keiths@redhat.com>
14583
14584 PR gdb/18021
14585 * gdb.dwarf2/staticvirtual.exp: New test.
14586
bc23328c
JK
145872015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14588
14589 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
14590 * README: Remove HP-UX and gdb.hp.
14591 (configuration):
14592 * configure: Regenerate.
14593 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
14594 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
14595 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
14596 gdb.hp/gdb.defects/Makefile.
14597 * gdb.hp/Makefile.in: File deleted.
14598 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
14599 * gdb.hp/gdb.aCC/optimize.c: File deleted.
14600 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
14601 * gdb.hp/gdb.aCC/run.c: File deleted.
14602 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
14603 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
14604 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
14605 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
14606 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
14607 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
14608 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
14609 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
14610 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
14611 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
14612 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
14613 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
14614 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
14615 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
14616 * gdb.hp/gdb.base-hp/reg.s: File deleted.
14617 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
14618 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
14619 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
14620 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
14621 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
14622 * gdb.hp/gdb.compat/Makefile.in: File deleted.
14623 * gdb.hp/gdb.compat/average.c: File deleted.
14624 * gdb.hp/gdb.compat/sum.c: File deleted.
14625 * gdb.hp/gdb.compat/xdb.c: File deleted.
14626 * gdb.hp/gdb.compat/xdb0.c: File deleted.
14627 * gdb.hp/gdb.compat/xdb0.h: File deleted.
14628 * gdb.hp/gdb.compat/xdb1.c: File deleted.
14629 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
14630 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
14631 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
14632 * gdb.hp/gdb.defects/Makefile.in: File deleted.
14633 * gdb.hp/gdb.defects/bs14602.c: File deleted.
14634 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
14635 * gdb.hp/gdb.defects/solib-d.c: File deleted.
14636 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
14637 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
14638 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
14639 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
14640 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
14641 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
14642 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
14643 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
14644 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
14645 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
14646 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
14647 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
14648 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
14649 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
14650 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
14651 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
14652 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
14653 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
14654 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
14655 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
14656 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
14657 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
14658 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
14659 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
14660 * gdb.hp/tools/odump: File deleted.
14661
8bf3b159
PA
146622015-03-19 Pedro Alves <palves@redhat.com>
14663
14664 * gdb.threads/continue-pending-status.exp (saw_thread_2)
14665 (saw_thread_3): New globals.
14666 (top level): Increment them when an event for the corresponding
14667 thread is seen.
14668 (no thread starvation): New test.
14669
eb54c8bf
PA
146702015-03-19 Pedro Alves <palves@redhat.com>
14671
14672 * gdb.threads/continue-pending-status.c: New file.
14673 * gdb.threads/continue-pending-status.exp: New file.
14674
32d2e5d6
PA
146752015-03-18 Pedro Alves <palves@redhat.com>
14676
14677 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
14678 Use gdb_is_target_remote instead of is_remote. Use
14679 gdb_test_multiple instead of gdb_expect. Exit early if
14680 gdb_test_multiple hits its internal matches. Tighten stepi tests
14681 expected output. Fail on exit with any signal, instead of just
14682 SIGILL.
14683
f68f11b7
YQ
146842015-03-18 Yao Qi <yao.qi@linaro.org>
14685
14686 PR tdep/18107
14687 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
14688 variable.
14689 * gdb.base/catch-syscall.exp: Don't skip it on
14690 aarch64*-*-linux* target. Remove elements in all_syscalls.
14691 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
14692 target.
14693 (setup_all_syscalls): New proc.
14694
ca5fd19b
YQ
146952015-03-16 Yao Qi <yao.qi@linaro.org>
14696
14697 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
14698 (top level): Skip tests if valid_addr_p returns false for
14699 $cmd1 or $cmd2.
14700
85642ba0
AW
147012015-03-11 Andy Wingo <wingo@igalia.com>
14702
14703 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
14704
e03f9645
YQ
147052015-03-11 Yao Qi <yao.qi@linaro.org>
14706
14707 * gdb.base/catch-syscall.exp: Fix typo in comments.
14708
5d0962b2
YQ
147092015-03-11 Yao Qi <yao.qi@linaro.org>
14710
14711 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
14712
b2df3cef
PA
147132015-03-09 Pedro Alves <palves@redhat.com>
14714
14715 * dg-extract-results.py: Delete.
14716
ef878e53
PA
147172015-03-09 Pedro Alves <palves@redhat.com>
14718
14719 Merge dg-extract-results.sh from GCC upstream (r218843).
14720
14721 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
14722 * dg-extract-results.sh: Use --text with grep to avoid issues with
14723 binary files. Fall back to cat -v, if that doesn't work.
14724
9494d219
PA
147252015-03-05 Pedro Alves <palves@redhat.com>
14726
14727 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
14728
a8d9763a
SM
147292015-03-04 Simon Marchi <simon.marchi@ericsson.com>
14730
14731 * lib/mi-support.exp (mi_expect_interrupt): Accept
14732 alternative event for when in all-stop mode.
14733
be9957b8
PA
147342015-03-04 Pedro Alves <palves@redhat.com>
14735
14736 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
14737
d57be0f4 147382015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
14739
14740 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
14741
c214c7cf
AA
147422015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
14743
14744 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
14745 regexps for GDB's current line display, accept a hex address
14746 preceding the line number.
14747
6d74a497
AA
147482015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
14749
14750 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
14751 the 'arch1' variable for "s390*-linux*" targets.
14752
511aee7c
PA
147532015-03-04 Pedro Alves <palves@redhat.com>
14754
14755 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
14756 (main): Pass missing retval argument to pthread_join call.
14757
95e50b27
PA
147582015-03-02 Pedro Alves <palves@redhat.com>
14759
14760 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
14761 (top level): Call do_test with non-stop as well.
14762
28054d69
PA
147632015-03-02 Pedro Alves <palves@redhat.com>
14764
14765 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
14766 -1.
14767
4fa5d7b4
AA
147682015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
14769
14770 * gdb.arch/s390-vregs.exp: New test.
14771 * gdb.arch/s390-vregs.S: New file.
14772
97c18565
PA
147732015-02-27 Pedro Alves <palves@redhat.com>
14774
14775 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
14776 call to catch_command_errors.
14777 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
14778 catch_command_errors.
14779
a37bfa30
PA
147802015-02-27 Pedro Alves <palves@redhat.com>
14781
14782 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
14783 "true" for boolean result.
14784 * gdb.gdb/selftest.exp (test_with_self): Also accept full
14785 prototype of main.
14786
6f98576f
PA
147872015-02-27 Pedro Alves <palves@redhat.com>
14788
14789 * lib/unbuffer_output.c: New file.
14790 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
14791 (main): Call gdb_unbuffer_output.
14792
eba5ab56
YQ
147932015-02-27 Yao Qi <yao.qi@linaro.org>
14794
14795 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
14796 target.
14797
0def5aaa
DE
147982015-02-26 Doug Evans <dje@google.com>
14799
14800 * gdb.cp/class2.cc (Dbase, D): New classes.
14801 (main): New local delta.
14802 * gdb.cp/class2.exp: Test printing delta.
14803 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
14804 (dynbar): New global.
14805 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
14806
081a1c2c
JK
148072015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14808
14809 * gdb.compile/compile-ifunc.c: New file.
14810 * gdb.compile/compile-ifunc.exp: New file.
14811
2f41223f
AT
148122015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
14813
14814 * gdb.base/structs.exp: Check for correct struct on finish.
14815
03eddd80
YQ
148162015-02-26 Yao Qi <yao.qi@linaro.org>
14817
14818 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
14819 is zero.
14820
80c57053
JK
148212015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14822
14823 * gdb.arch/cordic.ko.bz2: New file.
14824 * gdb.arch/cordic.ko.debug.bz2: New file.
14825 * gdb.arch/ppc64-symtab-cordic.exp: New file.
14826
21613c12
YQ
148272015-02-25 Yao Qi <yao.qi@linaro.org>
14828
14829 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
14830 aarch64*-*-* target.
14831
d8b901ed
PA
148322015-02-23 Pedro Alves <palves@redhat.com>
14833
14834 * lib/gdb.exp (delete_breakpoints): Rewrite using
14835 gdb_test_multiple.
14836
e5b85ead
PA
148372015-02-23 Pedro Alves <palves@redhat.com>
14838
14839 * gdb.base/info-os.c: Include stdlib.h.
14840
85c3a371
DE
148412015-02-22 Doug Evans <xdje42@gmail.com>
14842
14843 PR symtab/17855
14844 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
14845 is read after symbols have been re-read.
14846 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
14847 * gdb.ada/exec_changed/second.adb (Second): Ditto.
14848
96553a0c
DE
148492015-02-21 Doug Evans <dje@google.com>
14850
14851 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
14852
97a0c697
JK
148532015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14854
14855 PR corefiles/17808
14856 * gdb.arch/i386-biarch-core.core.bz2: New file.
14857 * gdb.arch/i386-biarch-core.exp: New file.
14858
a47cd6e9
PA
148592015-02-21 Pedro Alves <palves@redhat.com>
14860
14861 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
14862 runto_main fails.
14863
c5facdc4
PA
148642015-02-20 Pedro Alves <palves@redhat.com>
14865
14866 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
14867 info probes.
14868
2db9a427
PA
148692015-02-20 Pedro Alves <palves@redhat.com>
14870
14871 * gdb.threads/multi-create-ns-info-thr.exp: New file.
14872
60fb7e9e
PA
148732015-02-20 Pedro Alves <palves@redhat.com>
14874
14875 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
14876 clean_restart before gdb_target_supports_trace.
14877
5c5019c2
PA
148782015-02-20 Pedro Alves <palves@redhat.com>
14879
14880 PR threads/18006
14881 * gdb.threads/clone-thread_db.c: New file.
14882 * gdb.threads/clone-thread_db.exp: New file.
14883
c9587f88
AT
148842015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
14885
14886 PR breakpoints/16812
14887 * gdb.base/catch-gdb-caused-signals.c: New file.
14888 * gdb.base/catch-gdb-caused-signals.exp: New file.
14889
f6a88844
JM
148902015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
14891
14892 * configure: Regenerated.
14893 * configure.ac: Use GDB_AC_TRANSFORM.
14894 * aclocal.m4: sinclude ../transform.m4.
14895
497c491b
JM
148962015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
14897
14898 * lib/dtrace.exp: New file.
14899 * gdb.base/dtrace-probe.exp: Likewise.
14900 * gdb.base/dtrace-probe.d: Likewise.
14901 * gdb.base/dtrace-probe.c: Likewise.
14902 * lib/pdtrace.in: Likewise.
14903 * configure.ac: Output variables with the transformed names of
14904 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
14905 * configure: Regenerated.
14906
03e98035
JM
149072015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
14908
14909 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
14910 expected message when trying to access $_probe_* convenience
14911 variables while not on a probe.
14912
63cc30e9
JK
149132015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14914
14915 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
14916
0703599a
PA
149172015-02-11 Pedro Alves <pedro@codesourcery.com>
14918
14919 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
14920 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
14921
7e60a48e
DE
149222015-02-10 Doug Evans <xdje42@gmail.com>
14923
14924 * lib/gdb.exp (gdb_load): Always return a result.
14925
01b088bc
PA
149262015-02-10 Pedro Alves <palves@redhat.com>
14927
14928 * gdb.threads/signal-sigtrap.c: New file.
14929 * gdb.threads/signal-sigtrap.exp: New file.
14930
b05ec7a5
AT
149312015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
14932
14933 * gdb.trace/no-attach-trace.c: New file.
14934 * gdb.trace/no-attach-trace.exp: New file.
14935
a2c2acaf
MW
149362015-02-09 Mark Wielaard <mjw@redhat.com>
14937
14938 * gdb.dwarf2/atomic.c: New file.
14939 * gdb.dwarf2/atomic-type.exp: Likewise.
14940
31fd9caa
MM
149412015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14942
14943 * gdb.btrace/buffer-size.exp: Update "info record" output.
14944 * gdb.btrace/delta.exp: Update "info record" output.
14945 * gdb.btrace/enable.exp: Update "info record" output.
14946 * gdb.btrace/finish.exp: Update "info record" output.
14947 * gdb.btrace/instruction_history.exp: Update "info record" output.
14948 * gdb.btrace/next.exp: Update "info record" output.
14949 * gdb.btrace/nexti.exp: Update "info record" output.
14950 * gdb.btrace/step.exp: Update "info record" output.
14951 * gdb.btrace/stepi.exp: Update "info record" output.
14952 * gdb.btrace/nohist.exp: Update "info record" output.
14953
d33501a5
MM
149542015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14955
14956 * gdb.btrace/buffer-size: New.
14957
f4abbc16
MM
149582015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14959
14960 * gdb.btrace/delta.exp: Update "info record" output.
14961 * gdb.btrace/enable.exp: Update "info record" output.
14962 * gdb.btrace/finish.exp: Update "info record" output.
14963 * gdb.btrace/instruction_history.exp: Update "info record" output.
14964 * gdb.btrace/next.exp: Update "info record" output.
14965 * gdb.btrace/nexti.exp: Update "info record" output.
14966 * gdb.btrace/step.exp: Update "info record" output.
14967 * gdb.btrace/stepi.exp: Update "info record" output.
14968 * gdb.btrace/nohist.exp: Update "info record" output.
14969
b9d61307
SM
149702015-02-06 Simon Marchi <simon.marchi@ericsson.com>
14971
14972 PR gdb/15678
14973 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
14974
e584fdbc
PA
149752015-02-06 Pedro Alves <palves@redhat.com>
14976
14977 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
14978 macro.
14979 (seconds_left, again): New globals.
14980 (main): Wait seconds_left in a 1-second sleep loop instead of
14981 sleeping 180 seconds. If 'again' is set, reset the seconds
14982 counter.
14983 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
14984 'again' in the inferior before detaching. Print the seconds left.
14985 (options): New global.
14986 (top level): Build program with -DTIMEOUT=$timeout.
14987
77f41761
PA
149882015-02-06 Pedro Alves <palves@redhat.com>
14989
14990 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
14991 determine how many seconds to pass to 'alarm'.
14992 * gdb.base/gdb-sigterm.exp (top level): Build program with
14993 -DTIMEOUT=$timeout.
14994 (do_test): Return success/failure indication. Add more verbose
14995 logging. Don't fail if 200 single steps are seen. Instead, fail
14996 when the test times out.
14997 (passes): New global.
14998 (top level): Break the testing loop if testing fails on any
14999 iteration. Use gdb_assert.
15000
b9394193
DB
150012015-02-04 Don Breazeal <donb@codesourcery.com>
15002
15003 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
15004 and initialize them.
15005 (ipc_cleanup): New function.
15006 (main): Don't declare shmid, semid, and msqid. Add a call to
15007 atexit so that we call ipc_cleanup on exit.
15008
42d9e528
PA
150092015-02-04 Pedro Alves <palves@redhat.com>
15010
15011 * boards/native-extended-gdbserver.exp: Remove any target variant
15012 specifications from the board name before clearing the isremote
15013 flag from board_info.
15014
ae6ae975
DE
150152015-01-31 Doug Evans <xdje42@gmail.com>
15016
15017 * gdb.base/maint.exp <maint print type argc>: Update expected output.
15018
cfb069a8
GB
150192015-01-31 Gary Benson <gbenson@redhat.com>
15020
15021 * gdb.base/completion.exp: Disable completion limiting for
15022 existing tests. Add new tests to check completion limiting.
15023 * gdb.linespec/ls-errs.exp: Disable completion limiting.
15024
5dd31d79
DE
150252015-01-31 Doug Evans <xdje42@gmail.com>
15026
15027 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
15028
9f050062
DE
150292015-01-31 Doug Evans <xdje42@gmail.com>
15030
15031 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
15032 entries. Duplicate file section script entries.
15033 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
15034 inlined entries. Add test for safe-path rejection.
15035 * gdb.python/py-section-script.c: Add duplicate inlined section script
15036 entries. Duplicate file section script entries.
15037 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
15038 inlined entries. Add test for safe-path rejection.
15039
df25ebbd
JB
150402015-01-29 Joel Brobecker <brobecker@adacore.com>
15041
15042 * gdb.ada/disc_arr_bound: New testcase.
15043
4a0ca9ec
JB
150442015-01-29 Joel Brobecker <brobecker@adacore.com>
15045
15046 * gdb.ada/mi_var_array: New testcase.
15047
3a8b707a
DE
150482015-01-27 Doug Evans <dje@google.com>
15049
15050 * gdb.python/py-objfile.exp: Add tests for objfile.username.
15051 Add test for objfile.filename, objfile.username after objfile
15052 has been unloaded.
15053
f8313f6e
JB
150542015-01-26 Joel Brobecker <brobecker@adacore.com>
15055
15056 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
15057 the second test to print the name attribute of value
15058 returned by the call to gdb.lookup_type, and adjust
15059 the expected output accordingly.
15060
37bc665e
MW
150612015-01-25 Mark Wielaard <mjw@redhat.com>
15062
15063 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
15064 * gdb.base/disp-step-fork.c: Include unistd.h.
15065 * gdb.base/siginfo-obj.c: Include stdio.h.
15066 * gdb.base/siginfo-thread.c: Likewise.
15067 * gdb.mi/non-stop.c: Include unistd.h.
15068 * gdb.mi/nsthrexec.c: Include stdio.h.
15069 * gdb.mi/pthreads.c: Include unistd.h.
15070 * gdb.modula2/unbounded1.c (main): Declare returns int.
15071 * gdb.reverse/consecutive-reverse.c: Likewise.
15072 * gdb.threads/create-fail.c: Include unistd.h.
15073 * gdb.threads/killed.c: Likewise.
15074 * gdb.threads/linux-dp.c: Likewise.
15075 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
15076 * gdb.threads/non-ldr-exc-2.c: Likewise.
15077 * gdb.threads/non-ldr-exc-3.c: Likewise.
15078 * gdb.threads/non-ldr-exc-4.c: Likewise.
15079 * gdb.threads/pthreads.c: Include unistd.h.
15080 (main): Declare returns int.
15081 * gdb.threads/tls-main.c (foo): New declaration.
15082 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
15083
f7e5394d
SM
150842015-01-23 Simon Marchi <simon.marchi@ericsson.com>
15085
15086 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
15087 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
15088
743649fd
MW
150892015-01-15 Mark Wielaard <mjw@redhat.com>
15090
15091 * gdb.base/noreturn-return.c: New file.
15092 * gdb.base/noreturn-return.exp: New file.
15093 * gdb.base/noreturn-finish.c: New file.
15094 * gdb.base/noreturn-finish.exp: New file.
15095
198297aa
PA
150962015-01-23 Pedro Alves <palves@redhat.com>
15097
15098 * gdb.threads/continue-pending-after-query.c: New file.
15099 * gdb.threads/continue-pending-after-query.exp: New file.
15100
717cf30c
AG
151012015-01-22 Anders Granlund <anders.granlund@ericsson.com>
15102 Simon Marchi <simon.marchi@ericsson.com>
15103
15104 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
15105 * gdb.base/valgrind-db-attach.exp: Same.
15106 * gdb.base/valgrind-infcall.exp: Same.
15107 * lib/mi-support.exp (default_mi_gdb_start): Same.
15108 * lib/prompt.exp (default_prompt_gdb_start): Same.
15109 * lib/gdb.exp (default_gdb_spawn): Same.
15110 (gdb_interact): New.
15111
15112
4b62a76e
JK
151132015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15114
15115 * gdb.compile/compile.exp (pointer to jit function): New test.
15116
b4cdae6f
WW
151172015-01-17 Wei-cheng Wang <cole945@gmail.com>
15118
15119 * lib/gdb.exp (supports_process_record): Return true for
15120 powerpc*-*-linux*.
15121 (supports_reverse): Likewise.
15122
d221e7ef
DB
151232015-01-15 Don Breazeal <donb@codesourcery.com>
15124
15125 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
15126 instead of checking whether the target board is remote and
15127 use spawn_wait_for_attach instead of exec/sleep.
15128 * gdb.base/attach-twice.exp: Likewise.
15129
bafffb51
JB
151302015-01-15 Joel Brobecker <brobecker@adacore.com>
15131
15132 * gdb.ada/var_arr_attrs: New testcase.
15133
5589af0e
PA
151342015-01-14 Pedro Alves <palves@redhat.com>
15135 Joel Brobecker <brobecker@adacore.com>
15136
15137 PR gdb/17525
15138 * gdb.base/bp-cmds-execution-x-script.c: New file.
15139 * gdb.base/bp-cmds-execution-x-script.exp: New file.
15140 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
15141
6c400b59
PA
151422015-01-14 Pedro Alves <palves@redhat.com>
15143
15144 PR cli/17828
15145 * gdb.base/batch-preserve-term-settings.c: New file.
15146 * gdb.base/batch-preserve-term-settings.exp: New file.
15147
e02c96a7
DE
151482015-01-13 Doug Evans <dje@google.com>
15149
15150 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
15151 binary.
15152
576fd14c
JB
151532015-01-13 Joel Brobecker <brobecker@adacore.com>
15154
15155 * Makefile.in (clean mostlyclean): Do not delete *.py.
15156
04dccad0
JB
151572015-01-13 Joel Brobecker <brobecker@adacore.com>
15158
15159 * gdb.python/py-lookup-type.exp: New file.
15160
3d230f71
PA
151612015-01-12 Pedro Alves <palves@redhat.com>
15162
15163 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
15164 restore GDBFLAGS before returning.
15165
7e67715d
JK
151662015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15167
15168 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
15169 is_amd64_regs_target and is_x86_like_target.
15170
f2e0d4b4
DE
151712015-01-11 Doug Evans <xdje42@gmail.com>
15172
15173 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
15174 is given without an explicit form.
15175 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
15176 attributes.
15177 * gdb.dwarf/corrupt.exp: Ditto.
15178 * gdb.dwarf2/enum-type.exp: Ditto.
15179 * gdb.trace/entry-values.exp: Ditto.
15180 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
15181
439250fb
DE
151822015-01-11 Doug Evans <xdje42@gmail.com>
15183
15184 PR gdb/15830
15185 * gdb.base/maint.exp: Remove references to "maint demangle".
15186 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
15187 Add tests for explicitly specifying language to demangle.
15188 * gdb.dlang/demangle.exp: Ditto.
15189
ede9f622
PA
151902015-01-09 Pedro Alves <palves@redhat.com>
15191
15192 * gdb.threads/non-stop-fair-events.c: New file.
15193 * gdb.threads/non-stop-fair-events.exp: New file.
15194
a7b796db
PA
151952015-01-09 Pedro Alves <palves@redhat.com>
15196
15197 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
15198 the global scope. Set a breakpoint after all threads are started
15199 rather than stepping over two source lines. Expect the prompt.
15200 * gdb.base/watch_thread_num.c (threads_started_barrier): New
15201 global.
15202 (NUM): Now 15.
15203 (main): Use threads_started_barrier to wait for all threads to
15204 start. Main thread no longer calls thread_function. Exit after
15205 180 seconds.
15206 (loop): New function.
15207 (thread_function): Wait on threads_started_barrier barrier. Call
15208 'loop' at each iteration.
15209 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
15210 threads have started, instead of hardcoding number of "next"
15211 steps. Use an access watchpoint instead of a write watchpoint.
15212
9665ffdd
PA
152132015-01-09 Pedro Alves <palves@redhat.com>
15214
15215 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
15216 (thread_func): Wait on barrier.
15217 (main): Wait for all threads to start before stopping GDB.
15218 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
15219 global.
15220 (thread1_func, thread2_func): Wait on barrier.
15221 (main): Wait for all threads to start before stopping GDB.
15222 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
15223 New global.
15224 (thread1_func, thread2_func): Wait on barrier.
15225 (main): Wait for all threads to start before stopping GDB.
15226
c945a99f
PA
152272015-01-09 Pedro Alves <palves@redhat.com>
15228
15229 * gdb.threads/attach-many-short-lived-threads.c: New file.
15230 * gdb.threads/attach-many-short-lived-threads.exp: New file.
15231
c1a747c1
PA
152322014-01-09 Pedro Alves <palves@redhat.com>
15233
15234 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
15235 instead of to thread 2.
15236 * gdb.threads/signal-command-multiple-signals-pending.c (main):
15237 Add barrier around each pthread_create call instead of around all
15238 calls.
15239 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
15240 Set a break on thread_function and have the child threads hit it
15241 one at at a time.
15242
60b3033e
PA
152432015-01-09 Pedro Alves <palves@redhat.com>
15244
15245 * lib/gdb.exp (can_spawn_for_attach): New procedure.
15246 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
15247 false.
15248 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
15249 checking whether the target board is remote.
15250 * gdb.multi/multi-attach.exp: Likewise.
15251 * gdb.python/py-sync-interp.exp: Likewise.
15252 * gdb.server/ext-attach.exp: Likewise.
15253 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
15254 tests that need to attach, instead of checking whether the target
15255 board is remote at the top of the file.
15256
acc018ac
YQ
152572015-01-08 Yao Qi <yao@codesourcery.com>
15258
15259 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
15260
50a18af8
JK
152612015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15262
15263 Fix testcase compilation.
15264 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
15265
8503d6e1
JB
152662015-01-06 Joel Brobecker <brobecker@adacore.com>
15267
15268 * gdb.python/py-type.exp: Add a couple test about empty
15269 array creation, and negative-length array creation.
15270
cc73dbcc
DE
152712015-01-02 Doug Evans <xdje42@gmail.com>
15272
15273 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
15274
0300bbc7
DE
152752015-01-02 Doug Evans <dje@google.com>
15276
15277 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
15278
9d85a0ec
YQ
152792014-12-29 Yao Qi <yao@codesourcery.com>
15280
15281 * gdb.trace/entry-values.exp: Update comments. Rename variable
15282 bar_call_foo to returned_from_foo.
15283
87186c6a
MMN
152842014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
15285
15286 PR gdb/17394
15287 * gdb.linespec/break-asm-file.c: New file.
15288 * gdb.linespec/break-asm-file.exp: New file.
15289 * gdb.linespec/break-asm-file0.s: New file.
15290 * gdb.linespec/break-asm-file1.s: New file.
15291
1bab7383
YQ
152922014-12-18 Nigel Stephens <nigel@mips.com>
15293 Maciej W. Rozycki <macro@codesourcery.com>
15294
15295 * gdb.base/float.exp: Handle the new output from "info float" on
15296 MIPS targets.
15297
1bc1068a
JK
152982014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
15299
15300 Fix MinGW compilation.
15301 * gdb.compile/compile-ops.exp: Update untested message if
15302 !skip_compile_feature_tests.
15303 * gdb.compile/compile-setjmp.exp: Likewise.
15304 * gdb.compile/compile-tls.exp: Likewise.
15305 * gdb.compile/compile.exp: Likewise.
15306 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
15307 supported on this host".
15308
b6615d10
DE
153092014-12-16 Doug Evans <xdje42@gmail.com>
15310
15311 * boards/stabs.exp: New file.
15312
25dda427
AA
153132014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
15314
15315 * gdb.base/completion.exp: Adjust to format changes of "maint
15316 print user-registers".
15317
bf330350
CU
153182014-12-16 Catalin Udma <catalin.udma@freescale.com>
15319
15320 PR server/17457
15321 * gdb.arch/aarch64-fp.c: New file.
15322 * gdb.arch/aarch64-fp.exp: New file.
15323
395cf596
SDJ
153242014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
15325
15326 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
15327 r210637, r210913, r211666, r215400, r215817).
15328
15329 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
15330 * dg-extract-results.py: New file.
15331 * dg-extract-results.sh: Use it if the environment seems
15332 suitable.
15333
15334 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
15335
15336 * dg-extract-results.py (parse_run): Handle warnings that
15337 are printed before a test harness is run.
15338
15339 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
15340
15341 * dg-extract-results.py (Named): Remove __cmp__ method.
15342 (output_variation): Use a key to sort variation.harnesses.
15343
15344 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
15345
15346 * dg-extract-results.py: For Python 3, force sys.stdout to
15347 handle surrogate escape sequences.
15348 (safe_open): New function.
15349 (output_segment, main): Use it.
15350
15351 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
15352
15353 * dg-extract-results.py (Prog.result_re): Include options
15354 in test name.
15355
15356 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
15357
15358 * dg-extract-results.py (output_variation): Always sort if
15359 do_sum.
15360
e882ef3c
SM
153612014-12-15 Simon Marchi <simon.marchi@ericsson.com>
15362
15363 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
15364 as long as we get pagination notifications.
15365
4992aa20
JM
153662014-12-15 Jason Merrill <jason@redhat.com>
15367
15368 * Makefile.in (check-gdb.%): Restore.
15369 * README: Mention it.
15370
c1b5a1a6
JB
153712014-12-13 Joel Brobecker <brobecker@adacore.com>
15372
15373 * gdb.ada/str_uninit: New testcase.
15374
5537b577
JK
153752014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15376
15377 PR symtab/17642
15378 * gdb.base/vla-stub-define.c: New file.
15379 * gdb.base/vla-stub.c: New file.
15380 * gdb.base/vla-stub.exp: New file.
15381
bb2ec1b3
TT
153822014-12-12 Phil Muldoon <pmuldoon@redhat.com>
15383 Jan Kratochvil <jan.kratochvil@redhat.com>
15384 Tom Tromey <tromey@redhat.com>
15385
15386 * configure.ac: Add gdb.compile/.
15387 * configure: Regenerate.
15388 * gdb.compile/Makefile.in: New file.
15389 * gdb.compile/compile-ops.exp: New file.
15390 * gdb.compile/compile-ops.c: New file.
15391 * gdb.compile/compile-tls.c: New file.
15392 * gdb.compile/compile-tls.exp: New file.
15393 * gdb.compile/compile-constvar.S: New file.
15394 * gdb.compile/compile-constvar.c: New file.
15395 * gdb.compile/compile-mod.c: New file.
15396 * gdb.compile/compile-nodebug.c: New file.
15397 * gdb.compile/compile-setjmp-mod.c: New file.
15398 * gdb.compile/compile-setjmp.c: New file.
15399 * gdb.compile/compile-setjmp.exp: New file.
15400 * gdb.compile/compile-shlib.c: New file.
15401 * gdb.compile/compile.c: New file.
15402 * gdb.compile/compile.exp: New file.
15403 * lib/gdb.exp (skip_compile_feature_tests): New proc.
15404
4ff709eb
TT
154052014-12-12 Tom Tromey <tromey@redhat.com>
15406
15407 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
15408 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
15409
6dddd6a5
DE
154102014-12-12 Doug Evans <dje@google.com>
15411
15412 * lib/gdb-python.exp (get_python_valueof): New function.
15413 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
15414
71c24708
AA
154152014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
15416
15417 * gdb.base/completion.exp: Add test for completion of "info
15418 registers ".
15419
3e29f34a
MR
154202014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
15421
15422 * gdb.base/func-ptrs.c: New file.
15423 * gdb.base/func-ptrs.exp: New file.
15424
fc126975
SM
154252014-12-10 Simon Marchi <simon.marchi@ericsson.com>
15426
15427 PR breakpoints/17012
15428 * gdb.base/dprintf-detach.c: New file.
15429 * gdb.base/dprintf-detach.exp: New file.
15430
0a46d518
SM
154312014-12-10 Simon Marchi <simon.marchi@ericsson.com>
15432
15433 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
15434 * lib/gdb.exp (target_is_gdbserver): New procedure.
15435
a0be3e44
DE
154362014-12-08 Doug Evans <dje@google.com>
15437
15438 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
15439
df1b803a
YQ
154402014-12-05 Yao Qi <yao@codesourcery.com>
15441
15442 * gdb.guile/scm-error.exp: Remove the third argument to
15443 gdb_remote_download.
15444 * gdb.guile/scm-frame-args.exp: Likewise.
15445 * gdb.guile/scm-section-script.exp: Likewise.
15446
ddb9f679
YQ
154472014-12-05 Yao Qi <yao@codesourcery.com>
15448
15449 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
15450
86e4ed39
DE
154512014-12-04 Doug Evans <dje@google.com>
15452
15453 * gdb.python/py-objfile.exp: Add tests for
15454 objfile.add_separate_debug_file.
15455
7c50a931
DE
154562014-12-04 Doug Evans <dje@google.com>
15457
15458 * lib/gdb.exp (get_build_id): New function.
15459 (build_id_debug_filename_get): Rewrite to use it.
15460 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
15461
621661e3
MR
154622014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
15463
15464 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
15465 `method(long)', not just 0x0.
15466 * gdb.cp/nsalias.exp: Align code labels to 4.
15467 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
15468 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
15469 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
15470 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
15471 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
15472 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
15473
29f0c3b7
DE
154742014-12-02 Doug Evans <dje@google.com>
15475
e1e061e7 15476 PR symtab/17602
29f0c3b7 15477 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 15478 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
15479 * gdb.cp/anon-ns.exp: Update.
15480
162078c8
NB
154812014-12-02 Nick Bull <nicholaspbull@gmail.com>
15482
15483 * gdb.python/py-events.py (inferior_call_handler): New.
15484 (register_changed_handler, memory_changed_handler): New.
15485 (test_events.invoke): Register new handlers.
15486 * gdb.python/py-events.exp: Add tests for inferior call,
15487 memory_changed and register_changed events.
15488
fdb09caf
AA
154892014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
15490
15491 * gdb.base/execl-update-breakpoints.exp: Specify the link address
15492 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
15493 if the linker doesn't understand this.
15494
55cfb2c4
SM
154952014-12-01 Simon Marchi <simon.marchi@ericsson.com>
15496
15497 * gdb.python/python.exp: Change expected reply to help().
15498
9e8cd6df
YQ
154992014-12-01 Yao Qi <yao@codesourcery.com>
15500
15501 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
15502 AC_CONFIG_SUBDIRS(gdb.gdbtk).
15503 * configure: Re-generated.
15504
6c659fc2
SC
155052014-11-28 Siva Chandra Reddy <sivachandra@google.com>
15506
15507 * gdb.cp/chained-calls.cc: New file.
15508 * gdb.cp/chained-calls.exp: New file.
15509 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
15510
d7fc3181
SM
155112014-11-28 Simon Marchi <simon.marchi@ericsson.com>
15512
15513 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
15514 * gdb.dwarf2/symtab-producer.exp: Same.
15515 * gdb.gdb/python-interrupts.exp: Same.
15516 * gdb.gdb/python-selftest.exp: Same.
15517 * gdb.python/py-linetable.exp: Same.
15518 * gdb.python/py-type.exp: Same.
15519 * gdb.python/py-value-cc.exp: Same.
15520 * gdb.python/py-value.exp: Same.
15521
10e79639
YQ
155222014-11-28 Yao Qi <yao@codesourcery.com>
15523
15524 * gdb.base/break-probes.exp: Match library name prefixed with
15525 sysroot.
15526
f28a0564
SM
155272014-11-27 Simon Marchi <simon.marchi@ericsson.com>
15528
15529 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
15530 test expected output. Add parentheses for the call to print.
15531 Remove L suffix from integers.
15532
3fe1ce1d
DE
155332014-11-26 Doug Evans <dje@google.com>
15534
15535 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
15536
84429e27
YQ
155372014-11-22 Yao Qi <yao@codesourcery.com>
15538
15539 * gdb.trace/entry-values.c: Remove asms.
15540 (foo): Add foo_label.
15541 (bar): Add bar_label.
15542 * gdb.trace/entry-values.exp: Remove code computing foo's
15543 length and bar's length.
15544 (Dwarf::assemble): Invoke function_range for bar and use
15545 MACRO_AT_func for foo.
15546
26741859
YQ
155472014-11-22 Yao Qi <yao@codesourcery.com>
15548
15549 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
15550 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
15551 Use .Lgcc43_procstart instead of gcc43.
15552
45e44d27
JB
155532014-11-21 Joel Brobecker <brobecker@adacore.com>
15554
15555 * gdb.ada/n_arr_bound: New testcase.
15556
458c8db8
SDJ
155572014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
15558
15559 PR breakpoints/10737
15560 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
15561 test_catch_syscall_multi_arch.
15562 (test_catch_syscall_multi_arch): New function.
15563
43f3e411
DE
155642014-11-20 Doug Evans <xdje42@gmail.com>
15565
15566 * gdb.base/maint.exp: Update expected output.
15567
0d7b2549
AA
155682014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
15569
15570 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
15571 4-byte instruction on S390.
15572
8908fca5
JB
155732014-11-19 Joel Brobecker <brobecker@adacore.com>
15574
15575 * gdb.ada/arr_arr: New testcase.
15576
4a46959e
JB
155772014-11-19 Joel Brobecker <brobecker@adacore.com>
15578
15579 * gdb.ada/pkd_arr_elem: New Testcase.
15580
470e2f4e
LM
155812014-11-18 Luis Machado <lgustavo@codesourcery.com>
15582
15583 * gdb.reverse/break-precsave: Expect completion message for
15584 core file reads.
15585 * gdb.reverse/consecutive-precsave.exp: Likewise.
15586 * gdb.reverse/finish-precsave.exp: Likewise.
15587 * gdb.reverse/i386-precsave.exp: Likewise.
15588 * gdb.reverse/machinestate-precsave.exp: Likewise.
15589 * gdb.reverse/sigall-precsave.exp: Likewise.
15590 * gdb.reverse/solib-precsave.exp: Likewise.
15591 * gdb.reverse/step-precsave.exp: Likewise.
15592 * gdb.reverse/until-precsave.exp: Likewise.
15593 * gdb.reverse/watch-precsave.exp: Likewise.
15594
a267f3ad
AA
155952014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15596
15597 * gdb.base/bp-permanent.c: Include unistd.h.
15598 * gdb.python/py-framefilter-mi.c (main): Add return type.
15599 * gdb.python/py-framefilter.c (main): Likewise.
15600 * gdb.trace/actions-changed.c (main): Likewise.
15601
12084a9a
AA
156022014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15603
15604 * gdb.mi/until.c: Add eye-catchers.
15605 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
15606 line numbers.
15607
dc7e1a77
AA
156082014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15609
15610 * gdb.base/condbreak.exp: Drop references to removed non-prototype
15611 function header variants in break1.c.
15612 * gdb.base/ena-dis-br.exp: Likewise.
15613 * gdb.base/hbreak2.exp: Likewise.
15614 * gdb.reverse/until-precsave.exp: Drop references to removed
15615 non-prototype function header variants in ur1.c.
15616 * gdb.reverse/until-reverse.exp: Likewise.
15617
41c77605
PM
156182014-11-17 Petr Machata <pmachata@redhat.com>
15619
15620 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
15621 ${_cu_offset_size} bytes abbrev offset.
15622
34248c3a
DE
156232014-11-15 Doug Evans <xdje42@gmail.com>
15624
15625 PR symtab/17559
15626 * gdb.base/line-symtabs.exp: New file.
15627 * gdb.base/line-symtabs.c: New file.
15628 * gdb.base/line-symtabs.h: New file.
15629
646da059
YQ
156302014-11-14 Yao Qi <yao@codesourcery.com>
15631
15632 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
15633 (func): Add label func_label.
15634 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
15635 Replace low_pc and high_pc with MACRO_AT_range.
15636 Replace name, low_pc and high_pc with MACRO_AT_func.
15637
9301ebe6
YQ
156382014-11-14 Yao Qi <yao@codesourcery.com>
15639
15640 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
15641 Replace name, low_pc and high_pc with MACRO_AT_func.
15642
f166b542
YQ
156432014-11-14 Yao Qi <yao@codesourcery.com>
15644
15645 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
15646 produce debug information.
15647 * gdb.dwarf2/implptr-optimized-out.S: Removed.
15648
0f6e71e3
YQ
156492014-11-14 Yao Qi <yao@codesourcery.com>
15650
15651 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
15652 object and get function length.
15653 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
15654 with MACRO_AT_func.
15655 (top-level): Replace gdb_compile and clean_restart with
15656 prepare_for_testing.
15657 * gdb.dwarf2/main.c (main): Add label main_label.
15658
876c4df9
YQ
156592014-11-14 Yao Qi <yao@codesourcery.com>
15660
15661 * lib/dwarf.exp (function_range): New procedure.
15662 (Dwarf::_handle_macro_at_func): New procedure.
15663 (Dwarf::_handle_macro_at_range): New procedure.
15664 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
15665
02ad9cf1
YQ
156662014-11-14 Yao Qi <yao@codesourcery.com>
15667
15668 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
15669 (_handle_attribute): New procedure.
15670
a59add0c
AA
156712014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15672
15673 * gdb.ada/cond_lang/foo.c (callme): Add return type.
15674 * gdb.base/call-sc.c (zed): Likewise.
15675 * gdb.base/checkpoint.c (main): Likewise.
15676 * gdb.base/dump.c (main): Likewise.
15677 * gdb.base/gcore.c (main): Likewise.
15678 * gdb.base/huge.c (main): Likewise.
15679 * gdb.base/multi-forks.c (main): Likewise.
15680 * gdb.base/pr10179-a.c (main): Likewise.
15681 * gdb.base/savedregs.c (main): Likewise.
15682 * gdb.base/sigaltstack.c (main): Likewise.
15683 * gdb.base/siginfo.c (main): Likewise.
15684 * gdb.base/structs.c (zed): Likewise.
15685 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
15686 * gdb.mi/mi-syn-frame.c (main): Likewise.
15687 * gdb.mi/until.c (foo, main): Likewise.
15688 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
15689 * gdb.base/solib-weak.c (foo): Declare.
15690 * gdb.base/attach-twice.c: Include stdio.h.
15691 * gdb.base/weaklib1.c: Likewise.
15692 * gdb.base/weaklib2.c: Likewise.
15693 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
15694 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
15695 unistd.h.
15696 * gdb.base/attach-pie-misread.c: Include stdlib.h.
15697 * gdb.mi/mi-exit-code.c: Likewise.
15698 * gdb.base/break-interp-lib.c: Include string.h.
15699 * gdb.base/coremaker.c: Likewise.
15700 * gdb.base/testenv.c: Likewise.
15701 * gdb.python/py-finish-breakpoint.c: Likewise.
15702 * gdb.base/inferior-died.c: Include sys/wait.h.
15703 * gdb.base/fileio.c: Include time.h.
15704 * gdb.base/async-shell.c: Include unistd.h.
15705 * gdb.base/dprintf-non-stop.c: Likewise.
15706 * gdb.base/info-os.c: Likewise.
15707 * gdb.mi/mi-console.c: Likewise.
15708 * gdb.mi/watch-nonstop.c: Likewise.
15709 * gdb.python/py-events.c: Likewise.
15710 * gdb.base/async.c (baz): Move up before its invocation.
15711 * gdb.base/code_elim2.c (my_global_func): Likewise.
15712 * gdb.base/skip-solib-lib.c (multiply): Likewise.
15713 * gdb.base/advance.c (func2): Likewise.
15714
3b5d5997
AA
157152014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15716
15717 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
15718 variant.
15719 * gdb.base/annota3.c: Likewise.
15720 * gdb.base/async.c: Likewise.
15721 * gdb.base/average.c: Likewise.
15722 * gdb.base/call-ar-st.c: Likewise.
15723 * gdb.base/call-rt-st.c: Likewise.
15724 * gdb.base/call-sc.c: Likewise.
15725 * gdb.base/call-strs.c: Likewise.
15726 * gdb.base/ending-run.c: Likewise.
15727 * gdb.base/execd-prog.c: Likewise.
15728 * gdb.base/exprs.c: Likewise.
15729 * gdb.base/foll-exec.c: Likewise.
15730 * gdb.base/foll-fork.c: Likewise.
15731 * gdb.base/foll-vfork.c: Likewise.
15732 * gdb.base/funcargs.c: Likewise.
15733 * gdb.base/gcore.c: Likewise.
15734 * gdb.base/jump.c: Likewise.
15735 * gdb.base/langs0.c: Likewise.
15736 * gdb.base/langs1.c: Likewise.
15737 * gdb.base/langs2.c: Likewise.
15738 * gdb.base/mips_pro.c: Likewise.
15739 * gdb.base/nodebug.c: Likewise.
15740 * gdb.base/opaque0.c: Likewise.
15741 * gdb.base/opaque1.c: Likewise.
15742 * gdb.base/recurse.c: Likewise.
15743 * gdb.base/run.c: Likewise.
15744 * gdb.base/scope0.c: Likewise.
15745 * gdb.base/scope1.c: Likewise.
15746 * gdb.base/setshow.c: Likewise.
15747 * gdb.base/setvar.c: Likewise.
15748 * gdb.base/shmain.c: Likewise.
15749 * gdb.base/shr1.c: Likewise.
15750 * gdb.base/shr2.c: Likewise.
15751 * gdb.base/sigall.c: Likewise.
15752 * gdb.base/signals.c: Likewise.
15753 * gdb.base/so-indr-cl.c: Likewise.
15754 * gdb.base/solib2.c: Likewise.
15755 * gdb.base/structs.c: Likewise.
15756 * gdb.base/sum.c: Likewise.
15757 * gdb.base/vforked-prog.c: Likewise.
15758 * gdb.base/watchpoint.c: Likewise.
15759 * gdb.reverse/shr2.c: Likewise.
15760 * gdb.reverse/until-reverse.c: Likewise.
15761 * gdb.reverse/ur1.c: Likewise.
15762 * gdb.reverse/watch-reverse.c: Likewise.
15763
066a77c5
AA
157642014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15765
15766 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
15767 variant.
15768 * gdb.base/sepdebug.exp: Drop references to removed code.
15769
4f204ea5
AA
157702014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15771
15772 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
15773 variant. Preserve original line numbering.
15774 * gdb.base/list1.c: Likewise.
15775
3b377a3a
AA
157762014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15777
15778 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
15779 variant.
15780 * gdb.base/break1.c: Likewise.
15781 * gdb.base/break.exp: Drop references to removed code.
15782
e444df73
AA
157832014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15784
15785 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
15786 variant.
15787
8008f2a7
AA
157882014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15789
15790 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
15791
a5a06887
AA
157922014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15793
15794 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
15795 logic into perform_all_tests() and invoke it with and without
15796 function header prototypes.
15797 (do_function_calls): Remove conditional XFAIL for PR 5318.
15798 (rerun_and_prepare): Remove duplicate code.
15799 (perform_all_tests): New. Main logic moved here.
15800
44dba9b9
AA
158012014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15802
15803 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
15804 code guarded by #ifdef NO_PROTOTYPES.
15805 (t_double_many_args): Likewise.
15806 (DEF_FUNC_MANY_ARGS_1): Likewise.
15807 (DEF_FUNC_VALUES_1): Likewise.
15808 (t_structs_ldc): Renamed from t_structs_fc in conditional code
15809 guarded by #ifdef PROTOTYPES.
15810
d1fbcd56
AA
158112014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15812
15813 * gdb.mi/mi-console.c: Add eye-catcher.
15814 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
15815 instead of literal line number.
15816
b0e59b8f
AA
158172014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15818
15819 * gdb.base/shr2.c: Add eye-catcher.
15820 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
15821 line number.
15822
78f98cca
AA
158232014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15824
15825 * gdb.base/jump.c: Add eye-catchers.
15826 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
15827 numbers.
15828
58fa2af0
AA
158292014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15830
15831 * gdb.base/execd-prog.c: Add eye-catchers.
15832 * gdb.base/foll-exec.c: Likewise.
15833 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
15834 line numbers.
15835
04e5059b
AA
158362014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15837
15838 * gdb.base/ending-run.c: Add eye-catchers.
15839 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
15840 literal line numbers.
15841
dbfdb174
AA
158422014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15843
15844 * gdb.base/call-rt-st.c: Add eye-catchers.
15845 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
15846 literal line numbers.
15847
888a2ade
AA
158482014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15849
15850 * gdb.base/call-ar-st.c: Add eye-catchers.
15851 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
15852 literal line numbers.
15853
6acc2dde
AA
158542014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15855
15856 * gdb.base/average.c: Add eye-catchers.
15857 * gdb.base/sum.c: Likewise.
15858 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
15859 regexps dynamically.
15860
9ecfcd1d
AA
158612014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15862
15863 * gdb.base/solib1.c: Add eye-catchers.
15864 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
15865 literal line numbers.
15866
78708b7c
PA
158672014-11-12 Pedro Alves <palves@redhat.com>
15868
15869 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
15870 leader has exited.
15871
af48d08f
PA
158722014-11-12 Pedro Alves <palves@redhat.com>
15873
15874 * gdb.arch/i386-bp_permanent.c: New file.
15875 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
15876 (srcfile): Set to i386-bp_permanent.c.
15877 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
15878 that stepi does not execute the 'leave' instruction, instead of
15879 testing it does execute.
15880 * gdb.base/bp-permanent.c: New file.
15881 * gdb.base/bp-permanent.exp: New file.
15882
af3768e9
DE
158832014-11-10 Doug Evans <xdje42@gmail.com>
15884
15885 PR symtab/17564
15886 * gdb.base/symtab-search-order.exp: New file.
15887 * gdb.base/symtab-search-order.c: New file.
15888 * gdb.base/symtab-search-order-1.c: New file.
15889 * gdb.base/symtab-search-order-shlib-1.c: New file.
15890
9de00a4a
PA
158912014-11-07 Pedro Alves <palves@redhat.com>
15892
15893 PR gdb/17511
15894 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
15895 i?86-*-linux*.
15896
e0f52461
SC
158972014-11-03 Siva Chandra Reddy <sivachandra@google.com>
15898
15899 PR c++/17494
15900 * gdb.cp/pr17494.cc: New file.
15901 * gdb.cp/pr17494.exp: New file.
15902
6ce8c980
YQ
159032014-11-02 Yao Qi <yao@codesourcery.com>
15904
15905 * gdb.python/python.exp: Get working directory and match the
15906 output of "set extended-prompt \\w " with it.
15907
02be9a71
DE
159082014-10-30 Doug Evans <dje@google.com>
15909
15910 * gdb.python/py-objfile.exp: Add tests for setting random attributes
15911 in objfiles.
15912 * gdb.python/py-progspace.exp: Add tests for setting random attributes
15913 in progspaces.
15914
3bdff46b
LM
159152014-10-30 Janis Johnson <janisjo@codesourcery.com>
15916
15917 * gdb.base/fullpath-expand.exp: Skip for a remote host.
15918 * gdb.base/realname-expand.exp: Likewise.
15919 * gdb.linespec/macro-relative.exp: Likewise.
15920
ab917dfb
PA
159212014-10-29 Pedro Alves <palves@redhat.com>
15922
15923 PR gdb/17408
15924 * gdb.threads/schedlock.c (some_function): New function.
15925 (call_function): New global.
15926 (MAYBE_CALL_SOME_FUNCTION): New macro.
15927 (thread_function): Call it.
15928 * gdb.threads/schedlock.exp (get_args): Add description parameter,
15929 and use it instead of a global counter. Adjust all callers.
15930 (get_current_thread): Use "find current thread" for test message
15931 here rather than having all callers pass down the same string.
15932 (goto_loop): New procedure, factored out from ...
15933 (my_continue): ... this.
15934 (step_ten_loops): Change parameter from test message to command to
15935 use. Adjust.
15936 (list_count): Delete global.
15937 (check_result): New procedure, factored out from duplicate top
15938 level code.
15939 (continue tests): Wrap in with_test_prefix.
15940 (test_step): New procedure, factored out from duplicate top level
15941 code.
15942 (top level): Test "step" in combination with all scheduler-locking
15943 modes. Test "next" in combination with all scheduler-locking
15944 modes, and in combination with stepping over a function call or
15945 not.
15946 * gdb.threads/next-bp-other-thread.c: New file.
15947 * gdb.threads/next-bp-other-thread.exp: New file.
15948
d3d4baed
PA
159492014-10-29 Pedro Alves <palves@redhat.com>
15950
15951 PR python/17372
15952 * gdb.python/python.exp: Test a multi-line command that spawns
15953 interactive Python.
15954 * gdb.base/multi-line-starts-subshell.exp: New file.
15955
563e8d85
YQ
159562014-10-29 Yao Qi <yao@codesourcery.com>
15957
15958 * gdb.base/fileio.exp: Make directories on host.
15959
0ea4d52e
YQ
159602014-10-29 Yao Qi <yao@codesourcery.com>
15961
15962 * gdb.base/fileio.c (test_write): Close the file.
15963
7f5ef605
PA
159642014-10-28 Pedro Alves <palves@redhat.com>
15965
15966 PR gdb/12623
15967 * gdb.base/sigstep.c (no_handler): New global.
15968 (main): If 'no_handler is true, set the signal handlers to
15969 SIG_IGN.
15970 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
15971 with_sw_watch and no_handler parameters. Handle them.
15972 (top level) <stepping over handler when stopped at a breakpoint
15973 test>: Add a test axis for testing with a software watchpoint, and
15974 another for testing with the signal handler set to SIG_IGN.
15975 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
15976 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
15977
abbdbd03
PA
159782014-10-28 Pedro Alves <palves@redhat.com>
15979
15980 PR gdb/17511
15981 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
15982 * gdb.base/sigstep.exp (other_handler_location): New global.
15983 (advance): Support stepping into the signal handler, and running
15984 commands while in the handler.
15985 (in_handler_map): New global.
15986 (top level): In the advance test, add combinations for getting
15987 into the handler with stepping commands, and for running commands
15988 in the handler. Add comment descripting the advancei tests.
15989
1df4399f
PA
159902014-10-28 Pedro Alves <palves@redhat.com>
15991
15992 * gdb.base/sigstep.exp: Use build_executable instead of
15993 prepare_for_testing.
15994 (top level): Move code that starts GDB, runs to main and creates a
15995 display to ...
15996 (restart): ... this new procedure.
15997 (top level): Move backtrace from signal handler test to ...
15998 (validate_backtrace): ... this new procedure.
15999 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
16000 with_test_prefix. Always restart GDB.
16001 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
16002 with_test_prefix. Always restart GDB. No need to delete
16003 breakpoints after the test.
16004 (test_skip_handler): Remove prefix parameter.
16005 (skip_over_handler, breakpoint_to_handler)
16006 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
16007 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
16008 restart GDB. No need to delete breakpoints after the test.
16009 (top level): Use foreach to call the test procedures with
16010 different commands.
16011
a5b6e449
PA
160122014-10-28 Pedro Alves <palves@redhat.com>
16013
16014 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
16015 instead of GNATS numbers.
16016 * gdb.base/sigbpt.exp: Likewise.
16017 * gdb.base/siginfo.exp: Likewise.
16018 * gdb.base/sigstep.exp: Likewise.
16019
e5f8a7cc
PA
160202014-10-27 Pedro Alves <palves@redhat.com>
16021
16022 * gdb.base/sigstep.c (dummy): New global.
16023 (main): Issue a couple writes to the new global.
16024 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
16025 procedures.
16026 (skip_over_handler): Use test_skip_handler.
16027 (top level): Call skip_over_handler for stepi and nexti too.
16028 (breakpoint_over_handler): Use test_skip_handler.
16029 (top level): Call breakpoint_over_handler for stepi and nexti too.
16030
763905a3
YQ
160312014-10-27 Yao Qi <yao@codesourcery.com>
16032
16033 * gdb.trace/tfile.c (adjust_function_address)
16034 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
16035 function descriptor.
16036
6f259a23
DB
160372014-10-24 Don Breazeal <donb@codesourcery.com>
16038
16039 * gdb.base/foll-fork.exp (test_follow_fork,
16040 catch_fork_child_follow): Check for updated fork messages emitted
16041 from infrun.c.
16042 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
16043 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
16044 vfork_and_exec_child_follow_through_step): Check for updated vfork
16045 messages emitted from infrun.c.
16046
09dd9a69
PA
160472014-10-24 Pedro Alves <palves@redhat.com>
16048
16049 * gdb.base/corefile.exp: Remove references to ultrix.
16050 * gdb.base/interrupt.exp: Likewise.
16051 * gdb.base/whatis.exp: Likewise.
16052 * gdb.gdb/selftest.exp: Likewise.
16053 * gdb.threads/manythreads.exp: Likewise.
16054 * gdb.threads/print-threads.exp: Likewise.
16055 * gdb.threads/pthreads.exp:: Likewise.
16056 * gdb.threads/schedlock.exp: Likewise.
16057
3433cfa5
SC
160582014-10-24 Siva Chandra Reddy <sivachandra@google.com>
16059
16060 * gdb.cp/non-trivial-retval.cc: Add a test case.
16061 * gdb.cp/non-trivial-retval.exp: Add a test.
16062
092f880b
YQ
160632014-10-20 Yao Qi <yao@codesourcery.com>
16064
16065 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
16066 * gdb.python/py-objfile-script-gdb.py: New file.
16067 * gdb.python/py-objfile-script.exp: Update reference to
16068 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
16069 of remote_download. Remove the dest file.
16070
acbdb7f3
YQ
160712014-10-20 Yao Qi <yao@codesourcery.com>
16072
16073 * gdb.base/checkpoint.exp: Don't remove file copied on host.
16074 * gdb.base/step-line.exp: Likewise.
16075 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
16076 * gdb.dwarf2/dw2-basic.exp: Likewise.
16077 * gdb.dwarf2/dw2-compressed.exp: Likewise.
16078 * gdb.dwarf2/dw2-filename.exp: Likewise.
16079 * gdb.dwarf2/dw2-intercu.exp: Likewise.
16080 * gdb.dwarf2/dw2-intermix.exp: Likewise.
16081 * gdb.dwarf2/dw2-producer.exp: Likewise.
16082 * gdb.dwarf2/mac-fileno.exp: Likewise.
16083 * gdb.python/py-frame-args.exp: Likewise.
16084 * gdb.python/py-framefilter.exp: Likewise.
16085 * gdb.python/py-mi.exp: Likewise.
16086 * gdb.python/py-objfile-script.exp: Likewise
16087 * gdb.python/py-pp-integral.exp: Likewise.
16088 * gdb.python/py-pp-re-notag.exp: Likewise.
16089 * gdb.python/py-prettyprint.exp: Likewise.
16090 * gdb.python/py-section-script.exp: Likewise.
16091 * gdb.python/py-typeprint.exp: Likewise.
16092 * gdb.python/py-xmethods.exp: Likewise.
16093 * gdb.stabs/weird.exp: Likewise.
16094 * gdb.xml/tdesc-regs.exp: Likewise.
16095
bd286a29
KCY
160962014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
16097
16098 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
16099 (out_cu): Use addr_len for the size of addresses.
16100 (out_line): Likewise. Size DW_LNE_set_address instruction
16101 according to addr_len.
16102 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
16103 (FUNC): Add START_INSNS to definition.
16104
673dc4a0
YQ
161052014-10-18 Yao Qi <yao@codesourcery.com>
16106
16107 * gdb.base/argv0-symlink.exp: Check argv[0] value if
16108 gdb_has_argv0 return true.
16109 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
16110 check [target_info exists noargs], check [gdb_has_argv0]
16111 instead.
16112 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
16113 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
16114 procedures.
16115
4ffbba72
DE
161162014-10-17 Doug Evans <dje@google.com>
16117
16118 * gdb.python/py-events.exp: Update expected output for clear_objfiles
16119 event.
16120 * gdb.python/py-events.py: Add clear_objfiles event.
16121
d096d8c1
DE
161222014-10-17 Doug Evans <dje@google.com>
16123
16124 * gdb.python/py-objfile.exp: Test progspace attribute.
16125
a80db015
LM
161262014-10-17 Luis Machado <lgustavo@codesourcery.com>
16127
16128 * gdb.guile/scm-breakpoint.exp: Do not assume any
16129 directory separators when matching source file paths.
16130 * gdb.python/py-breakpoint.exp: Likewise.
16131 * gdb.reverse/break-precsave.exp: Likewise.
16132 * gdb.reverse/break-reverse.exp: Likewise.
16133 * gdb.reverse/consecutive-precsave.exp: Likewise.
16134 * gdb.reverse/finish-precsave.exp: Likewise.
16135 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
16136 * gdb.reverse/finish-reverse.exp: Likewise.
16137 * gdb.reverse/i386-precsave.exp: Likewise.
16138 * gdb.reverse/i387-env-reverse.exp: Likewise.
16139 * gdb.reverse/i387-stack-reverse.exp: Likewise.
16140 * gdb.reverse/machinestate-precsave.exp: Likewise.
16141 * gdb.reverse/machinestate.exp: Likewise.
16142 * gdb.reverse/sigall-precsave.exp: Likewise.
16143 * gdb.reverse/solib-precsave.exp: Likewise.
16144 * gdb.reverse/step-precsave.exp: Likewise.
16145 * gdb.reverse/until-precsave.exp: Likewise.
16146 * gdb.reverse/watch-precsave.exp: Likewise.
16147 * gdb.reverse/watch-reverse.exp: Likewise.
16148
b22089ab
YQ
161492014-10-17 Yao Qi <yao@codesourcery.com>
16150
16151 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
16152 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
16153
6c4486e6
PA
161542014-10-17 Pedro Alves <palves@redhat.com>
16155
16156 PR gdb/17471
16157 * gdb.base/bg-execution-repeat.c: New file.
16158 * gdb.base/bg-execution-repeat.exp: New file.
16159
0ff33695
PA
161602014-10-17 Pedro Alves <palves@redhat.com>
16161
16162 PR gdb/17300
16163 * gdb.base/continue-all-already-running.c: New file.
16164 * gdb.base/continue-all-already-running.exp: New file.
16165
6fdebc3d
PA
161662014-10-17 Pedro Alves <palves@redhat.com>
16167
16168 PR gdb/17472
16169 * gdb.base/annota-input-while-running.c: New file.
16170 * gdb.base/annota-input-while-running.exp: New file.
16171
32a8097b
PA
161722014-10-17 Pedro Alves <palves@redhat.com>
16173
16174 * gdb.base/callfuncs.exp: emove references to osf.
16175 * gdb.base/sigall.exp: Likewise.
16176 * gdb.gdb/selftest.exp: Likewise.
16177 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
16178 * gdb.mi/non-stop.c: Likewise.
16179 * gdb.mi/pthreads.c: Likewise.
16180 * gdb.reverse/sigall-precsave.exp: Likewise.
16181 * gdb.reverse/sigall-reverse.exp: Likewise.
16182 * gdb.threads/pthreads.c: Likewise.
16183 * gdb.threads/pthreads.exp: Likewise.
16184
7a3517ff
YQ
161852014-10-17 Yao Qi <yao@codesourcery.com>
16186
16187 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
16188 check 'target_info exists noargs'.
16189 (test_command_prompt_position): Likewise.
16190 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
16191 Remove "set args".
16192 (progvar_simple_while_test): Likewise.
16193 (progvar_complex_if_while_test): Likewise.
16194 (if_while_breakpoint_command_test): Likewise.
16195 (infrun_breakpoint_command_test): Likewise.
16196 (breakpoint_command_test): Likewise.
16197 (watchpoint_command_test): Likewise.
16198 (bp_deleted_in_command_test): Likewise.
16199 (temporary_breakpoint_commands): Likewise.
16200
bb99c472
YQ
162012014-10-16 Yao Qi <yao@codesourcery.com>
16202
16203 * gdb.base/remotetimeout.exp: Remove noargs checking.
16204
7c16b83e
PA
162052014-10-15 Pedro Alves <palves@redhat.com>
16206
16207 PR breakpoints/9649
16208 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
16209 * gdb.base/breakpoint-in-ro-region.exp
16210 (probe_target_hardware_step): New procedure.
16211 (top level): Probe hardware stepping and hardware breakpoint
16212 support. Test stepping through a read-only region, with both
16213 "breakpoint auto-hw" on and off and both "always-inserted" on and
16214 off.
16215
35a49624
IB
162162014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
16217
16218 * gdb.dlang/demangle.exp: Update for demangling changes.
16219
2d1c107c
SC
162202014-10-15 Siva Chandra Reddy <sivachandra@google.com>
16221
16222 * gdb.cp/non-trivial-retval.cc: Add new test cases.
16223 * gdb.cp/non-trivial-retval.exp: Add new tests.
16224
778811d5
SC
162252014-10-15 Siva Chandra Reddy <sivachandra@google.com>
16226
16227 PR c++/13403
16228 PR c++/15154
16229 * gdb.cp/non-trivial-retval.cc: New file.
16230 * gdb.cp/non-trivial-retval.exp: New file.
16231
10c5f0a8
YQ
162322014-10-15 Yao Qi <yao@codesourcery.com>
16233
16234 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
16235 remote host.
16236
65d7b369
YQ
162372014-10-15 Yao Qi <yao@codesourcery.com>
16238
16239 * gdb.python/py-symbol.exp: Match file base name if host is
16240 remote, otherwise match file name with dir name.
16241 * gdb.python/py-symtab.exp: Likewise.
16242 * gdb.python/python.exp: Likewise.
16243
46dc1394
YQ
162442014-10-15 Yao Qi <yao@codesourcery.com>
16245
16246 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
16247 pattern.
16248 * gdb.python/py-symtab.exp: Likewise.
16249 * gdb.python/python.exp: Remove trailing ".*". Fix typo
16250 locationn.
16251
c40cc657
JB
162522014-10-14 Joel Brobecker <brobecker@adacore.com>
16253
16254 * gdb.ada/addr_arith: New testcase.
16255
2abf49e1
MR
162562014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
16257
16258 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
16259 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
16260 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
16261 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
16262
f7088df3
SDJ
162632014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
16264
16265 * gdb.arch/stap-eval-lang-ada.S: Likewise.
16266 * gdb.arch/stap-eval-lang-ada.c: Likewise.
16267 * gdb.arch/stap-eval-lang-ada.exp: New file.
16268
4dc06805
YQ
162692014-10-14 Yao Qi <yao@codesourcery.com>
16270
16271 * gdb.mi/mi-var-child.c (nothing1): New function.
16272 (nothing2): New function.
16273 (do_children_tests): Set function pointers by nothing1 and
16274 nothing2.
16275 * gdb.mi/mi-var-child.exp: Step over new added statements.
16276 Update test to match the new output.
16277 * gdb.mi/var-cmd.c (nothing1): New function.
16278 (nothing2): New function.
16279 (do_children_tests): Set function pointers by nothing1 and
16280 nothing2.
16281 * gdb.mi/mi-var-display.exp: Update test to match output.
16282 Step to the line specified by $line_dct_nothing.
16283 Increase the number of lines to step.
16284
46a93de2
YQ
162852014-10-14 Yao Qi <yao@codesourcery.com>
16286
16287 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
16288 tests.
16289 * gdb.mi/mi2-var-child.exp: Likewise.
16290
14ea52ee
DE
162912014-10-13 Doug Evans <dje@google.com>
16292
16293 * gdb.python/py-objfile.exp: Change name of file name test.
16294
e5c6e92b
DE
162952014-10-13 Doug Evans <dje@google.com>
16296
16297 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
16298 from the start of the CU.
16299
c780cc2f
JK
163002014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
16301 Yao Qi <yao@codesourcery.com>
16302
16303 Fix "save breakpoints" for "catch" command.
16304 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
16305 Remove -nonewline. Match also the added "main" line.
16306
99894e11
JK
163072014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16308
16309 Fix "save breakpoints" for "disable $bpnum" command.
16310 * gdb.base/save-bp.c (main): Add label.
16311 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
16312
6e1ac5a3
JK
163132014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16314
16315 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
16316
754dd2b0
YQ
163172014-10-11 Yao Qi <yao@codesourcery.com>
16318
16319 * gdb.server/server-kill.exp: Execute command
16320 "set remote trace-status-packet on" before "tstatus".
16321
f90183d7
YQ
163222014-10-11 Yao Qi <yao@codesourcery.com>
16323
16324 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
16325 (main): Call getppid.
16326 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
16327 and continue to it. Read variable "server_pid".
16328
bf40a607
YQ
163292014-10-11 Yao Qi <yao@codesourcery.com>
16330
16331 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
16332
052ca370
YQ
163332014-10-11 Yao Qi <yao@codesourcery.com>
16334
16335 * gdb.threads/thread-find.exp: Don't execute command
16336 "info threads".
16337 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
16338 * gdb.threads/linux-dp.exp: Don't check the condition
16339 $threads_created equals to zero.
16340
3831839c
PA
163412014-10-10 Pedro Alves <palves@redhat.com>
16342
16343 * gdb.base/bigcore.exp: Remove references to IRIX.
16344 * gdb.base/funcargs.exp: Likewise.
16345 * gdb.base/interrupt.exp: Likewise.
16346 * gdb.base/mips_pro.exp: Likewise.
16347 * gdb.base/nodebug.exp: Likewise.
16348 * gdb.base/setvar.exp: Likewise.
16349 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
16350
8b9a549d
PA
163512014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
16352 Pedro Alves <palves@redhat.com>
16353
16354 PR symtab/14466
16355 * gdb.base/vdso-warning.c: New file.
16356 * gdb.base/vdso-warning.exp: New file.
16357
d48ba5e8
DE
163582014-10-02 Doug Evans <dje@google.com>
16359
16360 * gdb.base/structs.c (main): Don't run forever.
16361
2278c276
PA
163622014-10-02 Pedro Alves <palves@redhat.com>
16363
16364 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
16365 (top level) <stop threads 1, stop threads 2>: Use it.
16366
b57bacec
PA
163672014-10-02 Pedro Alves <palves@redhat.com>
16368
16369 * gdb.threads/break-while-running.exp (test): Add new
16370 'update_thread_list' argument. Skip "info threads" if false.
16371 (top level): Add new 'update_thread_list' axis.
16372
13fd3ff3
PA
163732014-10-02 Pedro Alves <palves@redhat.com>
16374
16375 PR breakpoints/17431
16376 * gdb.base/execl-update-breakpoints.c: New file.
16377 * gdb.base/execl-update-breakpoints.exp: New file.
16378
0fec99e8
PA
163792014-10-01 Pedro Alves <palves@redhat.com>
16380
16381 * gdb.base/breakpoint-in-ro-region.c: New file.
16382 * gdb.base/breakpoint-in-ro-region.exp: New file.
16383
2ddf4301
SM
163842014-10-01 Simon Marchi <simon.marchi@ericsson.com>
16385
16386 * gdb.mi/mi-exit-code.exp: New file.
16387 * gdb.mi/mi-exit-code.c: New file.
16388
6a5f3f43
YQ
163892014-09-30 Yao Qi <yao@codesourcery.com>
16390
16391 * lib/prelink-support.exp (build_executable_own_libs): Error if
16392 the target isn't native.
16393
345bcc73
YQ
163942014-09-30 Yao Qi <yao@codesourcery.com>
16395
16396 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
16397 false.
16398
a25a5a45
PA
163992014-09-22 Pedro Alves <palves@redhat.com>
16400
16401 * gdb.threads/break-while-running.exp: New file.
16402 * gdb.threads/break-while-running.c: New file.
16403
00ba3162
YQ
164042014-09-19 Yao Qi <yao@codesourcery.com>
16405
16406 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
16407 Invoke test. Restart GDB with --readnow and invoke test again.
16408
c3b7b696
YQ
164092014-09-19 Yao Qi <yao@codesourcery.com>
16410
16411 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
16412 proc set_breakpoint_on_gcd_function. Invoke
16413 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
16414 invoke set_breakpoint_on_gcd_function again.
16415
2b4fd423
DE
164162014-09-18 Doug Evans <dje@google.com>
16417
16418 * gdb.dwarf2/symtab-producer.exp: New file.
16419
a5947601
SDJ
164202014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
16421
16422 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
16423 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
16424 * gdb.base/global-var-nested-by-dso.c: Likewise.
16425 * gdb.base/global-var-nested-by-dso.exp: Likewise.
16426
91c19059
SDJ
164272014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
16428 Pedro Alves <palves@redhat.com>
16429
16430 * gdb.base/watch-bitfields.exp: Pass string other than test file
16431 name to prepare_for_testing.
16432 (watch): New procedure.
16433 (expect_watchpoint): Use with_test_prefix.
16434 (top level): Factor out tests to ...
16435 (test_watch_location, test_regular_watch): ... these new
16436 procedures, and use with_test_prefix and gdb_continue_to_end.
16437
bb9d5f81
PP
164382014-09-16 Patrick Palka <patrick@parcs.ath.cx>
16439
16440 PR breakpoints/12526
16441 * gdb.base/watch-bitfields.exp: New file.
16442 * gdb.base/watch-bitfields.c: New file.
16443
635856f5
PA
164442014-09-16 Pedro Alves <palves@redhat.com>
16445
16446 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
16447 software and hardware addresses, not software address against
16448 itself.
16449
7280ceea
PA
164502014-09-16 Pedro Alves <palves@redhat.com>
16451
16452 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
16453 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
16454
428b16bd
PA
164552014-09-16 Pedro Alves <palves@redhat.com>
16456
16457 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
16458 files.
16459 * gdb.base/a2-run.exp: Remove all code guarded by istarget
16460 "*-*-vxworks*" throughout.
16461 * gdb.base/break.exp: Likewise.
16462 * gdb.base/default.exp: Likewise.
16463 * gdb.base/scope.exp: Likewise.
16464 * gdb.base/sepdebug.exp: Likewise.
16465 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
16466 throughout.
16467 * gdb.base/run.c: Likewise.
16468 * gdb.base/sepdebug.c: Likewise.
16469 * gdb.hp/gdb.aCC/run.c: Likewise.
16470 * gdb.reverse/until-reverse.c: Likewise.
16471 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
16472
666d413c
YQ
164732014-09-16 Yao Qi <yao@codesourcery.com>
16474
16475 * boards/local-remote-host-native.exp: New file.
16476
57cbd724
DE
164772014-09-14 Doug Evans <xdje42@gmail.com>
16478
16479 * gdb.threads/queue-signal.c (thread_count): New variable.
16480 (thread_count_mutex, thread_count_condvar): New variables.
16481 (incr_thread_count, wait_all_threads_running): New functions.
16482 (main): Wait for all threads to be in their thread functions.
16483
81219e53
DE
164842014-09-13 Doug Evans <xdje42@gmail.com>
16485
16486 * gdb.threads/queue-signal.c: New file.
16487 * gdb.threads/queue-signal.exp: New file.
16488
3714cea7
DE
164892014-09-13 Doug Evans <xdje42@gmail.com>
16490
16491 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
16492 be consistent with what default_gdb_init uses.
16493 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
16494 the plain text of the prompt. Add some logging printfs.
16495 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
16496
fa43b1d7
PA
164972014-09-12 Pedro Alves <palves@redhat.com>
16498
16499 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
16500 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
16501 * gdb.arch/i386-size-overlap.exp: Likewise.
16502 * gdb.arch/i386-size.exp: Likewise.
16503 * gdb.arch/i386-unwind.exp: Likewise.
16504 * gdb.base/a2-run.exp: Likewise.
16505 * gdb.base/break.exp: Likewise.
16506 * gdb.base/charset.exp: Likewise.
16507 * gdb.base/chng-syms.exp: Likewise.
16508 * gdb.base/commands.exp: Likewise.
16509 * gdb.base/dbx.exp: Likewise.
16510 * gdb.base/find.exp: Likewise.
16511 * gdb.base/funcargs.exp: Likewise.
16512 * gdb.base/jit-simple.exp: Likewise.
16513 * gdb.base/reread.exp: Likewise.
16514 * gdb.base/sepdebug.exp: Likewise.
16515 * gdb.base/step-bt.exp: Likewise.
16516 * gdb.cp/mb-inline.exp: Likewise.
16517 * gdb.cp/mb-templates.exp: Likewise.
16518 * gdb.objc/basicclass.exp: Likewise.
16519 * gdb.threads/killed.exp: Likewise.
16520
9d9bf2df
EBM
165212014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16522
16523 PR tdep/17379
16524 * gdb.arch/powerpc-stackless.S: New file.
16525 * gdb.arch/powerpc-stackless.exp: New file.
16526
1cf2f1b0
JK
165272014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16528
16529 * gdb.base/attach.c: Include unistd.h.
16530 (main): Call alarm. Add label postloop.
16531 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
16532 gdb_breakpoint, gdb_continue_to_breakpoint.
16533 (test_command_line_attach_run): Kill ${testpid} in one exit path.
16534
98880d46
PA
165352014-09-11 Pedro Alves <palves@redhat.com>
16536
16537 PR gdb/17347
16538 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
16539 * gdb.base/attach.exp (test_command_line_attach_run): New
16540 procedure.
16541 (top level): Call it.
16542
4c92ff2c
PA
165432014-09-11 Pedro Alves <palves@redhat.com>
16544
16545 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
16546 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
16547 (do_command_attach_tests): Use spawn_wait_for_attach.
16548 * gdb.base/solib-overlap.exp: Likewise.
16549 * gdb.multi/multi-attach.exp: Likewise.
16550 * gdb.python/py-prompt.exp: Likewise.
16551 * gdb.python/py-sync-interp.exp: Likewise.
16552 * gdb.server/ext-attach.exp: Likewise.
16553
3adc1a7d
GKB
165542014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
16555
16556 * gdb.fortran/array-element.exp: Remove unexpected "continue"
16557 command in testcase. Simplify testcase.
16558
96334934
JB
165592014-09-10 Joel Brobecker <brobecker@adacore.com>
16560
16561 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
16562
eb479039
JB
165632014-09-10 Joel Brobecker <brobecker@adacore.com>
16564
16565 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
16566
deede10c
JB
165672014-09-10 Joel Brobecker <brobecker@adacore.com>
16568
16569 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
16570
7828a5f5
JB
165712014-09-10 Joel Brobecker <brobecker@adacore.com>
16572
16573 * gdb.dwarf2/dynarr-ptr.c: New file.
16574 * gdb.dwarf2/dynarr-ptr.exp: New file.
16575
33aeebcf
MR
165762014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16577
16578 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
16579 of 30 rather than hardcoding 120 for a slow test case. Take the
16580 `gdb,timeout' target setting into account for this calculation.
16581 Don't extend the timeout for the test cases that don't need it.
16582
7b415901
MR
165832014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16584
16585 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
16586 a factor of 2 for a slow test case. Take the `gdb,timeout'
16587 target setting into account for this calculation.
16588 * gdb.reverse/until-precsave.exp: Increase the timeout by
16589 a factor of 15 and 3 respectively rather than adding 120
16590 for a pair of slow test cases. Take the `gdb,timeout'
16591 target setting into account for this calculation.
16592
4a40f85a
MR
165932014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16594
16595 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
16596 timeout, don't pass one down to gdb_expect.
16597 (gdb_expect): Rework timeout selection.
16598
09635af7
MR
165992014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16600
16601 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
16602 exception on timeout.
16603 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
16604 (gdbserver_start_extended): Catch any `gdbserver_start' error
16605 exceptions.
16606 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
16607 * lib/mi-support.exp (mi_gdb_target_load): Catch any
16608 `gdbserver_gdb_load' error exceptions.
16609
2bdd10b7
MR
166102014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16611
16612 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
16613 120 on waiting for the TCP socket to open.
16614
316935f0
DE
166152014-09-09 Doug Evans <xdje42@gmail.com>
16616
16617 * gdb.base/default.exp (show_conv_list): Add _caller_is,
16618 _caller_matches, _any_caller_is, _any_caller_matches.
16619
83740597
DE
166202014-09-09 Doug Evans <xdje42@gmail.com>
16621
16622 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
16623
4c122fc3
YQ
166242014-09-09 Yao Qi <yao@codesourcery.com>
16625
16626 * gdb.mi/mi-var-display.exp: Set print symbol off.
16627
a9f116cb
GKB
166282014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
16629
16630 PR gdb/17035
16631 * gdb.base/commands.exp: Add tests to verify user-defined
16632 commands with empty bodies.
16633 * gdb.python/py-cmd.exp: Test that we don't show user-defined
16634 python commands in `show user command`.
16635 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
16636 scheme commands in `show user command`.
16637
c75bd3a2
JK
166382014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16639
16640 PR python/17355
16641 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
16642 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
16643 * gdb.python/py-framefilter-invalidarg.exp: New file.
16644 * gdb.python/py-framefilter-invalidarg.py: New file.
16645
faa42425
DE
166462014-09-06 Doug Evans <xdje42@gmail.com>
16647
16648 PR 15276
16649 * gdb.python/py-caller-is.c: New file.
16650 * gdb.python/py-caller-is.exp: New file.
16651
474ca4f6
SDJ
166522014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
16653
16654 PR gdb/17235
16655 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
16656 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
16657
eb0b0463
SDJ
166582014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
16659
16660 PR fortran/17237
16661 * gdb.fortran/print-formatted.exp: New file.
16662 * gdb.fortran/print-formatted.f90: Likewise.
16663
5f3b99cf
SS
166642014-09-03 Sasha Smundak <asmundak@google.com>
16665
16666 * gdb.python/py-frame.exp: Test Frame.read_register.
16667
7d793aa9
SDJ
166682014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
16669
16670 PR python/16699
16671 * gdb.python/py-completion.exp: New file.
16672 * gdb.python/py-completion.py: Likewise.
16673
fb0576e9
DE
166742014-08-28 Doug Evans <dje@google.com>
16675
16676 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
16677 eax,etc. are live with values set by gdb and thus the compiler can't
16678 use them.
16679 * gdb.arch/i386-pseudo.c (main): Ditto.
16680
ee92b0dd
DE
166812014-08-27 Doug Evans <dje@google.com>
16682
16683 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
16684
6649db35
DE
166852014-08-25 Doug Evans <dje@google.com>
16686
16687 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
16688 (main): Ditto.
16689
564b7600
DE
166902014-08-25 Doug Evans <dje@google.com>
16691
16692 * gdb.threads/thread-execl.exp: #include <stdio.h>.
16693
3881fb67
YQ
166942014-08-24 Yao Qi <yao@codesourcery.com>
16695
16696 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
16697 symbol off.
16698 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
16699
a05a36a5
DE
167002014-08-22 Doug Evans <dje@google.com>
16701
16702 PR 17276
16703 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
16704 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
16705 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
16706
7c343b48
YQ
167072014-08-22 Yao Qi <yao@codesourcery.com>
16708
16709 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
16710 * gdb.python/py-finish-breakpoint2.exp: Likewise.
16711 * gdb.python/python.exp: Likewise. Use .py file on the host
16712 instead of the build.
16713
22fd09ae
JK
167142014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16715
16716 * gdb.threads/gcore-stale-thread.c: New file.
16717 * gdb.threads/gcore-stale-thread.exp: New file.
16718
a8454a7c
PA
167192014-08-21 Pedro Alves <palves@redhat.com>
16720
16721 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
16722 * gdb.base/gcore-relro-pie.exp: Likewise.
16723 * gdb.base/gcore-relro.exp: Likewise.
16724 * gdb.base/gcore.exp: Likewise.
16725 * gdb.base/print-symbol-loading.exp: Likewise.
16726 * gdb.threads/gcore-thread.exp: Likewise.
16727 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
16728
2a31c623
PA
167292014-08-20 Pedro Alves <palves@redhat.com>
16730 Jan Kratochvil <jan.kratochvil@redhat.com>
16731
16732 * Makefile.in (EXTRA_RULES, CC): New variables, get from
16733 configure.
16734 (EXPECT): Handle READ1 being set.
16735 (all): Depend on EXTRA_RULES.
16736 (check-read1, expect-read1, read1.so, read1): New rules.
16737 * README (Testsuite Parameters): Document the READ1 make variable.
16738 (Race detection): New section.
16739 * configure: Regenerate.
16740 * configure.ac: If build==host==target, and running under a
16741 GNU/glibc system, add read1 to the extra Makefile rules.
16742 (EXTRA_RULES): AC_SUBST it.
16743 * lib/read1.c: New file.
16744
d36430db
JB
167452014-08-20 Joel Brobecker <brobecker@adacore.com>
16746
16747 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
16748 the handling of variables declared as a typedef to an array
16749 which a DW_AT_data_location attribute.
16750
9a0dc9e3
PA
167512014-08-19 Andrew Burgess <aburgess@broadcom.com>
16752 Pedro Alves <palves@redhat.com>
16753
16754 PR symtab/14604
16755 PR symtab/14605
16756 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
16757 gdb_test.
16758
0718a8da
PA
167592014-08-19 Pedro Alves <palves@redhat.com>
16760
16761 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
16762
13b448cd
YQ
167632014-08-19 Yao Qi <yao@codesourcery.com>
16764
16765 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
16766 right line.
16767
1cbf5077
DB
167682014-08-18 David Blaikie <dblaikie@gmail.com>
16769
16770 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
16771
bf0fae19
JB
167722014-08-18 Joel Brobecker <brobecker@adacore.com>
16773
16774 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
16775 attribute in array range.
16776
3c8c5dcc
JB
167772014-08-18 Joel Brobecker <brobecker@adacore.com>
16778
16779 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
16780
e66d4446
SC
167812014-08-15 Siva Chandra Reddy <sivachandra@google.com>
16782
16783 PR c++/17132
16784 * gdb.cp/pr17132.cc: New file.
16785 * gdb.cp/pr17132.exp: New file.
16786
940df408
SC
167872014-08-15 Siva Chandra Reddy <sivachandra@google.com>
16788
16789 * gdb.python/py-xmethods.py (A_getarrayind)
16790 (E_method_char_worker.__call__, E_method_int_worker.__call__):
16791 Use 'print' with function call syntax.
16792 (E_method_matcher.match): Fix tab vs space indentation mixup.
16793
ebcc6c3a
YQ
167942014-08-15 Yao Qi <yao@codesourcery.com>
16795
16796 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
16797 false.
16798
775e0f04
YQ
167992014-08-15 Yao Qi <yao@codesourcery.com>
16800
16801 * gdb.cp/casts.exp: Set print symbol off.
16802 * gdb.cp/class2.exp: Likewise.
16803 * gdb.cp/overload.exp: Likewise.
16804 * gdb.cp/templates.exp: Likewise.
16805
d769e349
DE
168062014-08-11 Doug Evans <dje@google.com>
16807
16808 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
16809 (test_load_shlib): Update.
16810
20c6f1e1
YQ
168112014-08-09 Yao Qi <yao@codesourcery.com>
16812
16813 * gdb.base/display.exp: Invoke is_address_zero_readable.
16814 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
16815 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
16816 * gdb.base/hbreak-unmapped.exp: Return if
16817 is_address_zero_readable returns true.
16818 * gdb.base/signest.exp: Likewise.
16819 * gdb.base/signull.exp: Likewise.
16820 * gdb.base/sigbpt.exp: Likewise.
16821 * gdb.guile/scm-disasm.exp: Do the test if
16822 is_address_zero_readable returns false.
16823 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
16824 * gdb.python/py-arch.exp: Likewise.
16825 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
16826 * lib/gdb.exp (is_address_zero_readable): New proc.
16827
5792e8e3
YQ
168282014-08-09 Yao Qi <yao@codesourcery.com>
16829
16830 PR testsuite/13443
16831 * gdb.mi/mi-var-display.exp: Make test messages unique.
16832
3cecbbbe
TT
168332014-08-04 Tom Tromey <tromey@redhat.com>
16834
16835 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
16836 target 0".
16837
00b51ff5
TT
168382014-08-04 Tom Tromey <tromey@redhat.com>
16839
16840 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
16841 "target_resume".
16842
6908c509
JB
168432014-08-01 Joel Brobecker <brobecker@adacore.com>
16844
16845 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
16846 inner_vla_struct_object_size.
16847 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
16848 as xfail.
16849
cc6563d2
PA
168502014-07-30 Pedro Alves <palves@redhat.com>
16851
16852 * gdb.threads/signal-command-handle-nopass.exp (test): Add
16853 comment.
16854
7e09a223
YQ
168552014-07-29 Yao Qi <yao@codesourcery.com>
16856
16857 PR gdb/17206
16858 * gdb.base/until-nodebug.exp: New.
16859
7ebdbe92
DE
168602014-07-28 Doug Evans <xdje42@gmail.com>
16861
16862 PR guile/17203
16863 * gdb.guile/scm-parameter.exp: Add tests for trying to create
16864 previously existing parameter, and previously ambiguously spelled
16865 parameter.
16866
fdb1adc6
WN
168672014-07-28 Will Newton <will.newton@linaro.org>
16868
16869 * gdb.base/varargs.exp: Remove KFAILs for ARM.
16870
186fcde0
DE
168712014-07-26 Ludovic Courtès <ludo@gnu.org>
16872 Doug Evans <xdje42@gmail.com>
16873
16874 PR guile/17146
16875 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
16876
70509625
PA
168772014-07-25 Pedro Alves <palves@redhat.com>
16878
16879 * gdb.threads/signal-command-handle-nopass.c: New file.
16880 * gdb.threads/signal-command-handle-nopass.exp: New file.
16881 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
16882 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
16883 * gdb.threads/signal-delivered-right-thread.c: New file.
16884 * gdb.threads/signal-delivered-right-thread.exp: New file.
16885
c3f814a1
PA
168862014-07-25 Pedro Alves <palves@redhat.com>
16887
16888 * gdb.base/double-prompt-target-event-error.exp
16889 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
16890 match.
16891 (cancel_pagination_in_target_event): Rework double prompt
16892 detection.
16893 * gdb.base/paginate-after-ctrl-c-running.exp
16894 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
16895 <return>' match.
16896 * gdb.base/paginate-bg-execution.exp
16897 (test_bg_execution_pagination_return)
16898 (test_bg_execution_pagination_cancel): Remove '-notransfer
16899 <return>' matches.
16900 * gdb.base/paginate-execution-startup.exp
16901 (test_fg_execution_pagination_return)
16902 (test_fg_execution_pagination_cancel): Remove '-notransfer
16903 <return>' matches.
16904 * gdb.base/paginate-inferior-exit.exp
16905 (test_paginate_inferior_exited): Remove '-notransfer <return>'
16906 match.
16907 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
16908 * lib/gdb.exp (pagination_prompt): Run text through
16909 string_to_regexp.
16910 (gdb_test_multiple): Match $pagination_prompt instead of
16911 "<return>".
16912 (string_to_regexp): Move to lib/gdb-utils.exp.
16913
e214cf6c
JK
169142014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16915
16916 * gdb.arch/amd64-entry-value-paramref.S: New file.
16917 * gdb.arch/amd64-entry-value-paramref.cc: New file.
16918 * gdb.arch/amd64-entry-value-paramref.exp: New file.
16919 * gdb.arch/amd64-optimout-repeat.S: New file.
16920 * gdb.arch/amd64-optimout-repeat.c: New file.
16921 * gdb.arch/amd64-optimout-repeat.exp: New file.
16922
17d0c5c8
JK
169232014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
16924
16925 PR gdb/17170
16926 * gdb.base/statistics.exp: New file.
16927
b8b8facf
DE
169282014-07-17 Doug Evans <dje@google.com>
16929
74b49205 16930 PR gdb/17170
b8b8facf
DE
16931 * gdb.base/maint.exp: Update testing of per-command stats.
16932
1b5d0ab3
PA
169332014-07-16 Pedro Alves <palves@redhat.com>
16934
16935 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
16936 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
16937 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
16938 (tfile_write_buf): New functions.
16939 (add_memory_block): Rewrite using the above.
16940 (adjust_function_address): New function.
16941 (FUNCTION_ADDRESS): New macro.
16942 (write_basic_trace_file): Remove short_x local, and use
16943 tfile_write_16. Change type of func_addr local to unsigned long
16944 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
16945 here. Cast argument of add_memory_block to char pointer.
16946 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
16947 (main): Remove parameters.
16948 * gdb.trace/tfile.exp: Remove nowarnings.
16949
4d974e88
SM
169502014-07-15 Simon Marchi <simon.marchi@ericsson.com>
16951
16952 * gdb.base/debug-expr.exp: Test string evaluation with
16953 "debug expression" on.
16954
41e99568
PA
169552014-07-15 Pedro Alves <palves@redhat.com>
16956
16957 * gdb.base/reread.exp: Use clean_restart.
16958
487d9753
PL
169592014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
16960
16961 * gdb.arch/avr-flash-qualifer.c: New.
16962 * gdb.arch/avr-flash-qualifer.exp: New.
16963
cc1c52ad
PA
169642014-07-14 Pedro Alves <palves@redhat.com>
16965
16966 * gdb.base/paginate-after-ctrl-c-running.c: New file.
16967 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
16968
1e973570
PA
169692014-07-14 Pedro Alves <palves@redhat.com>
16970
16971 * gdb.base/double-prompt-target-event-error.c: New file.
16972 * gdb.base/double-prompt-target-event-error.exp: New file.
16973
93d6eb10
PA
169742014-07-14 Pedro Alves <palves@redhat.com>
16975
16976 PR gdb/17072
16977 * gdb.base/paginate-inferior-exit.c: New file.
16978 * gdb.base/paginate-inferior-exit.exp: New file.
16979
0017922d
PA
169802014-07-14 Pedro Alves <palves@redhat.com>
16981
16982 PR gdb/17072
16983 * gdb.base/paginate-bg-execution.c: New file.
16984 * gdb.base/paginate-bg-execution.exp: New file.
16985
94696ad3
PA
169862014-07-14 Pedro Alves <palves@redhat.com>
16987
16988 PR gdb/17072
16989 * gdb.base/paginate-execution-startup.c: New file.
16990 * gdb.base/paginate-execution-startup.exp: New file.
16991 * lib/gdb.exp (pagination_prompt): New global.
16992 (default_gdb_spawn): New procedure, factored out from
16993 default_gdb_spawn.
16994 (default_gdb_start): Adjust to call default_gdb_spawn.
16995 (gdb_spawn): New procedure.
16996
bd293940
PA
169972014-07-14 Pedro Alves <palves@redhat.com>
16998
16999 * lib/gdb.exp (gdb_assert): New procedure.
17000 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
17001
c933f875
PA
170022014-07-14 Pedro Alves <palves@redhat.com>
17003
17004 * gdb.base/execution-termios.c: New file.
17005 * gdb.base/execution-termios.exp: New file.
17006
d98b7a16
TT
170072014-07-14 Tom Tromey <tromey@redhat.com>
17008
17009 * gdb.cp/vla-cxx.cc: New file.
17010 * gdb.cp/vla-cxx.exp: New file.
17011
548740d6
TT
170122014-07-14 Tom Tromey <tromey@redhat.com>
17013
17014 * gdb.reverse/rerun-prec.c: New file.
17015 * gdb.reverse/rerun-prec.exp: New file.
17016
a25eb028
MR
170172014-07-12 Maciej W. Rozycki <macro@mips.com>
17018 Maciej W. Rozycki <macro@codesourcery.com>
17019
17020 * lib/gdb-utils.exp: New file.
17021 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
17022 inline `gdb_init_command' processing.
17023 (gdb_start_cmd): Likewise.
17024 * lib/mi-support.exp (mi_run_cmd): Likewise.
17025 * README: Document `gdb_init_command' and `gdb_init_commands'.
17026
218c2655
JK
170272014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17028
17029 Fix false FAIL running under a very long directory name.
17030 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
17031 and "set print elements 10000". Twice.
17032
5401fde3
YQ
170332014-07-11 Yao Qi <yao@codesourcery.com>
17034
17035 * gdb.base/exprs.exp: "set print symbol off".
17036
e76126e8
PA
170372014-07-11 Pedro Alves <palves@redhat.com>
17038
17039 * gdb.threads/kill.c: New file.
17040 * gdb.threads/kill.exp: New file.
17041
2d6f0de6
YQ
170422014-07-10 Yao Qi <yao@codesourcery.com>
17043
17044 * gdb.trace/tfile.c (write_basic_trace_file)
17045 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
17046 address written to trace file.
17047
7180e04a
PA
170482014-07-09 Pedro Alves <palves@redhat.com>
17049
17050 * gdb.base/attach-wait-input.exp: New file.
17051 * gdb.base/attach-wait-input.c: New file.
17052
9a9a7608
AB
170532014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
17054
17055 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
17056 setting up test structures.
17057 (main): Call new test function.
17058 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
17059 test function, continue into test function and walk test
17060 structures.
17061
161ac41e
YQ
170622014-07-02 Yao Qi <yao@codesourcery.com>
17063
17064 * gdb.trace/entry-values.c: Define labels 'foo_start' and
17065 'bar_start' at the beginning of functions 'foo' and 'bar'
17066 respectively.
17067 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
17068 instead of 'foo' and 'bar'.
17069
1f267ae3
MM
170702014-07-08 Markus Metzger <markus.t.metzger@intel.com>
17071
17072 * gdb.btrace/segv.exp: New.
17073 * gdb.btrace/segv.c: New.
17074
2b239efb
LM
170752014-07-02 Luis Machado <lgustavo@codesourcery.com>
17076
17077 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
17078 instruction.
17079
cf363f18
MW
170802014-06-30 Mark Wielaard <mjw@redhat.com>
17081
17082 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
17083 vulture, vilify, villar): New volatile array constants.
17084 (vindictive, vegetation): New const volatile array constants.
17085 * gdb.base/volatile.exp: Test volatile and const volatile array
17086 types.
17087
aebf9d24
AA
170882014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
17089
17090 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
17091 target lacks support for awatch, rwatch, or hbreak.
17092
b67a2c6f
YQ
170932014-06-27 Yao Qi <yao@codesourcery.com>
17094
17095 * gdb.multi/dummy-frame-restore.exp: New.
17096 * gdb.multi/dummy-frame-restore.c: New.
17097
aef92902
MM
170982014-06-25 Markus Metzger <markus.t.metzger@intel.com>
17099
17100 * gdb.btrace/gcore.exp: New.
17101
8e9db26e
PA
171022014-06-23 Pedro Alves <palves@redhat.com>
17103
17104 * gdb.base/watchpoint-reuse-slot.c: New file.
17105 * gdb.base/watchpoint-reuse-slot.exp: New file.
17106
70afc5b7
SC
171072014-06-23 Siva Chandra Reddy <sivachandra@google.com>
17108
17109 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
17110 progspace's filename in 'info', 'enable' and 'disable' command
17111 tests.
17112
b972bd9c
JK
171132014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
17114
17115 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
17116 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
17117 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
17118
125f8a3d
GB
171192014-06-20 Gary Benson <gbenson@redhat.com>
17120
17121 * gdb.arch/i386-avx.exp: Fix include file location.
17122 * gdb.arch/i386-sse.exp: Likewise.
17123
3ed9baed
IB
171242014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
17125
17126 * gdb.dlang/expression.exp: New file.
17127
034f788c
PA
171282014-06-19 Pedro Alves <palves@redhat.com>
17129
17130 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
17131 out from ...
17132 (top level): ... here. Iterate running tests under different
17133 scheduler-locking settings.
17134
45371d0c
LM
171352014-06-18 Luis Machado <lgustavo@codesourcery.com>
17136
17137 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
17138 to DW_FORM_addr and use non-zero addresses.
17139
5d376983
SC
171402014-06-18 Siva Chandra Reddy <sivachandra@google.com>
17141
17142 PR gdb/17017
17143 * gdb.python/py-xmethods.cc: Add global function call counters and
17144 increment them in their respective functions. Remove "cout"
17145 statements.
17146 * gdb.python/py-xmethods.exp: Make tests check the global function
17147 call counters instead of depending on inferior IO.
17148
a1aa2221
LM
171492014-06-18 Don Breazeal <donb@codesourcery.com>
17150
17151 * gdb.base/foll-fork.exp (default_fork_parent_follow):
17152 Deleted procedure.
17153 (explicit_fork_parent_follow): Deleted procedure.
17154 (explicit_fork_child_follow): Deleted procedure.
17155 (test_follow_fork): New procedure.
17156 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 17157 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
17158 procedure calls.
17159
0fc05997
YQ
171602014-06-17 Yao Qi <yao@codesourcery.com>
17161
17162 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
17163 CP1252.
17164
70795c52
LM
171652014-06-17 Luis Machado <lgustavo@codesourcery.com>
17166
17167 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
17168 Initialize ptr and S explicitly.
17169 (skip_type_update_when_not_use_rtti_test): Likewise.
17170
6be47f0c
KS
171712014-06-16 Keith Seitz <keiths@redhat.com>
17172
17173 PR mi/15863
17174 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
17175 the inferior is started.
17176
d03de421
PA
171772014-06-16 Pedro Alves <palves@redhat.com>
17178
17179 * gdb.base/break-main-file-remove-fail.c: New file.
17180 * gdb.base/break-main-file-remove-fail.exp: New file.
17181 * gdb.base/break-unload-file.exp: Use build_executable instead of
17182 prepare_for_testing.
17183 (test_break): New parameter "initial_load". Handle it.
17184 (top level): Add initial_load cmdline/file axis.
17185
f9579b99
TT
171862014-06-12 Tom Tromey <tromey@redhat.com>
17187
17188 * gdb.base/completion.exp: Don't use directory name in test.
17189
3657956b
GB
171902014-06-09 Gary Benson <gbenson@redhat.com>
17191
17192 * gdb.base/sigall.c [Functions to send signals]: Reorder to
17193 separate the always-available ANSI-standard signals from the
17194 signals that require checking.
17195 (main): Likewise.
17196 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
17197 Likewise.
17198 (main): Likewise.
17199
4186eb54
KS
172002014-06-07 Keith Seitz <keiths@redhat.com>
17201
17202 Revert:
17203 PR c++/16253
17204 * gdb.cp/var-tag.cc: New file.
17205 * gdb.cp/var-tag.exp: New file.
17206 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
17207 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
17208 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
17209 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
17210
25326a28 172112014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
17212
17213 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
17214
829155c9
PA
172152014-06-06 Pedro Alves <palves@redhat.com>
17216
17217 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
17218 in target debug output instead of looking at RSP packets,
17219 disabling the test on any target that uses hardware stepping.
17220 Update comments.
17221
61c8d22e
PA
172222014-06-06 Pedro Alves <palves@redhat.com>
17223
17224 * gdb.base/break-unload-file.exp: Fix typo.
17225
d9a47287
YQ
172262014-06-06 Yao Qi <yao@codesourcery.com>
17227
17228 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
17229 from "jit_function" to "^jit_function".
17230
e5e01dbf
YQ
172312014-06-06 Yao Qi <yao@codesourcery.com>
17232
17233 * gdb.base/async.c (foo): Add one statement.
17234 * gdb.base/async.exp: Get the next instruction address and
17235 match the output of "nexti" by instruction address. Match
17236 the hex address in the output of "finish".
17237
73ba372c
GB
172382014-06-06 Gary Benson <gbenson@redhat.com>
17239
17240 * gdb.base/call-signals.c: Remove preprocessor conditionals
17241 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
17242 SIGSEGV and SIGTERM.
17243 * gdb.base/sigall.c: Likewise.
17244 * gdb.base/unwindonsignal.c: Likewise.
17245 * gdb.reverse/sigall-reverse.c: Likewise.
17246
831517df
YQ
172472014-06-06 Yao Qi <yao@codesourcery.com>
17248
17249 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
17250 readable, skip the test.
17251
b8b91e98
YQ
172522014-06-06 Yao Qi <yao@codesourcery.com>
17253
17254 * gdb.threads/staticthreads.c (thread_function): Move the line
17255 setting breakpoint on forward.
17256 * gdb.threads/staticthreads.exp: Update comments.
17257
fb934770
LC
172582014-06-05 Ludovic Courtès <ludo@gnu.org>
17259
17260 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
17261 "history-append! type error".
17262
6ef284bd
SM
172632014-06-05 Simon Marchi <simon.marchi@ericsson.com>
17264
17265 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
17266 erroneous dprintf expected input.
17267
a872e241
DE
172682014-06-04 Doug Evans <xdje42@gmail.com>
17269
17270 * gdb.guile/scm-generics.exp: Delete.
17271
16f691fb
DE
172722014-06-04 Doug Evans <xdje42@gmail.com>
17273
17274 * gdb.guile/scm-breakpoint.exp: Update.
17275 Add tests for breakpoint registration.
17276
012370f6
TT
172772014-06-04 Tom Tromey <tromey@redhat.com>
17278
17279 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
17280 VLA-in-union.
17281 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
17282 inner_vla_struct, vla_union types. Initialize objects of those
17283 types and compute their sizes.
17284
9f5a4cef
HZ
172852014-06-04 Nathan Sidwell <nathan@codesourcery.com>
17286 Hui Zhu <hui@codesourcery.com>
17287
17288 * gdb.base/fileio.exp: Add test for shell not available as well as
17289 available.
17290 * gdb.base/fileio.c (test_system): Check for shell twice.
17291
90a45c4d
YQ
172922014-06-04 Yao Qi <yao@codesourcery.com>
17293
17294 * gdb.base/auto-connect-native-target.exp: Remove redundant
17295 space from the regexp pattern.
17296
70017e41
YQ
172972014-06-04 Yao Qi <yao@codesourcery.com>
17298
17299 * gdb.base/default.exp: Replace "child" with "native" in
17300 regexp pattern.
17301
883964a7
SC
173022014-06-03 Siva Chandra Reddy <sivachandra@google.com>
17303
17304 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
17305 * gdb.python/py-xmethods.exp: New tests to test xmethods.
17306 * gdb.python/py-xmethods.py: Python script supporting the
17307 new testcase and tests.
17308
ef370185
JB
173092014-06-03 Joel Brobecker <brobecker@adacore.com>
17310 Pedro Alves <palves@redhat.com>
17311
17312 PR breakpoints/17000
17313 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
17314 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
17315
1e2ccb61
BM
173162014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
17317
17318 * gdb.base/subst.exp: Add tests to verify partial path matching
17319 output.
17320
c6ec5ab2
PA
173212014-06-03 Pedro Alves <palves@redhat.com>
17322
17323 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
17324 target that doesn't use software single-stepping.
17325
835c559f
PA
173262014-06-03 Pedro Alves <palves@redhat.com>
17327
17328 PR breakpoints/17000
17329 * gdb.base/sss-bp-on-user-bp-2.c: New file.
17330 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
17331
06eb1586
DE
173322014-06-02 Doug Evans <xdje42@gmail.com>
17333
17334 * gdb.guile/scm-parameter.exp: New file.
17335
e698b8c4
DE
173362014-06-02 Doug Evans <xdje42@gmail.com>
17337
17338 * gdb.guile/scm-cmd.c: New file.
17339 * gdb.guile/scm-cmd.exp: New file.
17340
ded03782
DE
173412014-06-02 Doug Evans <xdje42@gmail.com>
17342
17343 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
17344 pretty-printer lookup.
17345 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
17346 (make-pp_s-printer): Call it.
17347 (make-pretty-printer-from-dict): New function.
17348 (lookup-pretty-printer-maker-from-dict): New function.
17349 (*pretty-printer*): Simplify.
17350 (make-objfile-pp_s-printer): New function.
17351 (install-objfile-pretty-printers!): New function.
17352 (make-progspace-pp_s-printer): New function.
17353 (install-progspace-pretty-printers!): New function.
17354 * gdb.guile/scm-progspace.c: New file.
17355 * gdb.guile/scm-progspace.exp: New file.
17356
41fac0cf
PA
173572014-06-02 Pedro Alves <palves@redhat.com>
17358
17359 * gdb.base/dprintf-bp-same-addr.c: New file.
17360 * gdb.base/dprintf-bp-same-addr.exp: New file.
17361
96ae5695
EBM
173622014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17363
17364 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
17365 * gdb.arch/powerpc-power.s: Likewise.
17366
da02b3a8
JB
173672014-06-02 Joel Brobecker <brobecker@adacore.com>
17368
17369 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
17370
c72b2e7b
YQ
173712014-06-01 Yao Qi <yao@codesourcery.com>
17372
17373 * gdb.base/watchpoint.exp (test_watch_location): Check null
17374 pointer can be dereferenced. If not, do the test, otherwise
17375 skip it.
17376
53e8a631
AB
173772014-05-30 Andrew Burgess <aburgess@broadcom.com>
17378
17379 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
17380 results.
17381 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
17382
938f0e2f
AB
173832014-05-30 Andrew Burgess <aburgess@broadcom.com>
17384
17385 * gdb.arch/amd64-invalid-stack-middle.S: New file.
17386 * gdb.arch/amd64-invalid-stack-middle.c: New file.
17387 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
17388 * gdb.arch/amd64-invalid-stack-top.c: New file.
17389 * gdb.arch/amd64-invalid-stack-top.exp: New file.
17390
9ba6657a
PA
173912014-05-30 Pedro Alves <palves@redhat.com>
17392
17393 PR breakpoints/17000
17394 * gdb.base/sss-bp-on-user-bp.c: New file.
17395 * gdb.base/sss-bp-on-user-bp.exp: New file.
17396
522c09bf
DB
173972014-05-30 David Blaikie <dblaikie@gmail.com>
17398
17399 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
17400 gnu_inline semantics via attribute.
17401 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
17402 source explicitly specifies the required semantics.
17403
bf4ef81e
MR
174042014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
17405
17406 * gdb.reverse/sigall-reverse.exp: Fix a typo.
17407
329ea579
PA
174082014-05-29 Pedro Alves <palves@redhat.com>
17409 Tom Tromey <tromey@redhat.com>
17410
17411 * gdb.base/async-shell.exp: Don't enable target-async.
17412 * gdb.base/async.exp
17413 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
17414 parameter. Adjust.
17415 (top level): Don't test with "target-async".
17416 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
17417 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
17418 * gdb.base/inferior-died.exp: Don't enable target-async.
17419 * gdb.base/interrupt-noterm.exp: Likewise.
17420 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
17421 * gdb.mi/mi-nonstop-exit.exp: Likewise.
17422 * gdb.mi/mi-nonstop.exp: Likewise.
17423 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
17424 * gdb.mi/mi-nsintrall.exp: Likewise.
17425 * gdb.mi/mi-nsmoribund.exp: Likewise.
17426 * gdb.mi/mi-nsthrexec.exp: Likewise.
17427 * gdb.mi/mi-watch-nonstop.exp: Likewise.
17428 * gdb.multi/watchpoint-multi.exp: Adjust comment.
17429 * gdb.python/py-evsignal.exp: Don't enable target-async.
17430 * gdb.python/py-evthreads.exp: Likewise.
17431 * gdb.python/py-prompt.exp: Likewise.
17432 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
17433 * gdb.server/solib-list.exp: Don't enable target-async.
17434 * gdb.threads/thread-specific-bp.exp: Likewise.
17435 * lib/mi-support.exp: Adjust to use mi-async.
17436
fd664c91
PA
174372014-05-29 Pedro Alves <palves@redhat.com>
17438
17439 PR gdb/13860
17440 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
17441 reason, even in sync mode.
17442
251bde03
PA
174432014-05-29 Pedro Alves <palves@redhat.com>
17444 Hui Zhu <hui@codesourcery.com>
17445
17446 PR PR15693
17447 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
17448 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
17449 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
17450 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
17451
7f3c0343
JB
174522014-05-28 Joel Brobecker <brobecker@adacore.com>
17453
17454 * config/monitor.exp (gdb_target_monitor): Replace use of
17455 "set remotebaud" by "set serial baud".
17456
b2715b27
AW
174572014-05-26 Andy Wingo <wingo@igalia.com>
17458
17459 * gdb.guile/scm-breakpoint.exp:
17460 * gdb.guile/scm-gsmob.exp: Update to use plain old object
17461 properties instead of gdb-object-properties.
17462
498a4489
YQ
174632014-05-26 Yao Qi <yao@codesourcery.com>
17464
17465 * gdb.server/no-thread-db.exp: Specify source file name
17466 explicitly when setting a breakpoint.
17467
589fdceb
MM
174682014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17469
17470 * gdb.btrace/vdso.c: New.
17471 * gdb.btrace/vdso.exp: New.
17472
e9089e05
MM
174732014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17474
17475 * gdb.base/gcore.exp (capture_command_output): Move ...
17476 * lib/gdb.exp (capture_command_output): ... here.
17477
67b5c0c1
MM
174782014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17479
17480 * gdb.btrace/data.exp: Test memory access during btrace replay.
17481
a2199296
SM
174822014-05-22 Simon Marchi <simon.marchi@ericsson.com>
17483
17484 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
17485
17b2616c
PA
174862014-05-21 Pedro Alves <palves@redhat.com>
17487
17488 PR gdb/13860
17489 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
17490 (top level): Test that output related to execution commands is
17491 sent to the console with CLI commands, but not with MI commands.
17492 Test that breakpoint events are always mirrored to the console.
17493 Also expect the new source line to be output after a "next" in
17494 async mode too. Make it a pass/fail test.
17495 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
17496 output.
17497 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
17498
5166082f
PA
174992014-05-21 Pedro Alves <palves@redhat.com>
17500
17501 * gdb.base/list.exp (build_pattern, test_list): New procedures.
17502 Use them to test variations of "list" after reaching a breakpoint.
17503 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
17504 Test "list" with listsize 10 after reaching a breakpoint.
17505 * gdb.python/python.exp (decode_line current location line
17506 number): Adjust expected line number.
17507
2f25d70f
SM
175082014-05-21 Simon Marchi <simon.marchi@ericsson.com>
17509
17510 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
17511 behavior for $args, pass it directly to "run".
17512
ff604a67
MR
175132014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
17514
17515 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
17516 30000 to 65536.
17517
6a3cb8e8
PA
175182014-05-21 Pedro Alves <palves@redhat.com>
17519
17520 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
17521 auto-connect-native-target off".
17522 * gdb.base/auto-connect-native-target.c: New file.
17523 * gdb.base/auto-connect-native-target.exp: New file.
17524
4ebfc96e
PA
175252014-05-21 Pedro Alves <palves@redhat.com>
17526
17527 * gdb.base/default.exp: Test "target native" instead of "target
17528 child".
17529
36d46afb
MW
175302014-05-21 Mark Wielaard <mjw@redhat.com>
17531
17532 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
17533
5876f503
JK
175342014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17535
17536 Fix TLS access for -static -pthread.
17537 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
17538 <HAVE_TLS> (thread_function, main): Initialize it.
17539 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
17540 Add clean_restart.
17541 <$have_tls != "">: Check TLSVAR.
17542
0256a6ac
PA
175432014-05-21 Pedro Alves <palves@redhat.com>
17544
17545 * gdb.base/dcache-line-read-error.c: New.
17546 * gdb.base/dcache-line-read-error.exp: New.
17547
936d2992
PA
175482014-05-20 Pedro Alves <palves@redhat.com>
17549
17550 * gdb.base/compare-sections.c: New file.
17551 * gdb.base/compare-sections.exp: New file.
17552
802e8e6d
PA
175532014-05-20 Pedro Alves <palves@redhat.com>
17554
17555 * gdb.base/break-idempotent.c: New file.
17556 * gdb.base/break-idempotent.exp: New file.
17557
e59fa00f
MM
175582014-05-20 Markus Metzger <markus.t.metzger@intel.com>
17559
17560 * gdb.btrace/nohist.exp: New.
17561
8b696e31
YQ
175622014-05-20 Yao Qi <yao@codesourcery.com>
17563
17564 * lib/gdb.exp (gdb_init): Set timeout if test file is under
17565 gdb.reverse directory and gdb_reverse_timeout exists in board
17566 setting.
17567 * README: Document gdb_reverse_timeout.
17568
73c9764f
YQ
175692014-05-20 Yao Qi <yao@codesourcery.com>
17570
17571 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
17572 'test_file_name'. Treat args as a string instead of a list.
17573 (gdb_init): Rename argument 'args' by 'test_file_name'.
17574
f1f4348a
JK
175752014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
17576
17577 * gdb.arch/powerpc-power.exp: New file.
17578 * gdb.arch/powerpc-power.s: New file.
17579
0dbe70ce
DE
175802014-05-16 Doug Evans <dje@google.com>
17581
17582 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
17583 * gdb.base/completion.exp: Check that all expected files exist
17584 before doing file completion.
0dbe70ce 17585
8d551b02
DE
175862014-05-16 Doug Evans <dje@google.com>
17587
17588 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
17589 Update.
17590 (do_syscall_tests_without_xml): Update.
17591
73eb7709
PA
175922014-05-16 Pedro Alves <palves@redhat.com>
17593
17594 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
17595 instead of "unknown output after running".
17596
3fae92fc
YQ
175972014-05-16 Yao Qi <yao@codesourcery.com>
17598
17599 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
17600 file1.txt from host at the end.
17601 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
17602
c2b2ccc5
DE
176032014-05-15 Doug Evans <dje@google.com>
17604
17605 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
17606 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
17607 loading file. Add test for TU lookup.
17608
8c217a4b
SM
176092014-05-15 Simon Marchi <simon.marchi@ericsson.com>
17610
17611 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
17612 calling "-exec-arguments" or "set args" before running the
17613 inferior.
17614
3deb39c6
SM
176152014-05-15 Simon Marchi <simon.marchi@ericsson.com>
17616
17617 * lib/mi-support.exp (mi_expect_stop): Expect message for
17618 inferiors that exit with non-zero exit code.
17619
71a79f8c
YQ
176202014-05-14 Yao Qi <yao@codesourcery.com>
17621
17622 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
17623 match absolute path on remote host.
17624 (test_file_list_exec_source_files): Remove "/" from the
17625 pattern.
17626
f23fcd46
YQ
176272014-05-14 Yao Qi <yao@codesourcery.com>
17628
17629 * boards/local-remote-host-notty.exp (${board}_file): New
17630 proc.
17631
9404b58f
KM
176322014-05-07 Kyle McMartin <kyle@redhat.com>
17633
17634 Pushed by Joel Brobecker <brobecker@adacore.com>.
17635 * gdb.arch/aarch64-atomic-inst.c: New file.
17636 * gdb.arch/aarch64-atomic-inst.exp: New file.
17637
5e45f04c
YQ
176382014-05-07 Yao Qi <yao@codesourcery.com>
17639
17640 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
17641 in current context" too.
17642
c888a17d
KS
176432014-05-05 Keith Seitz <keiths@redhat.com>
17644
17645 * gdb.linespec/ls-dollar.exp: Add test for linespec
17646 file:convenience_variable.
17647
290a839c
YQ
176482014-05-05 Yao Qi <yao@codesourcery.com>
17649
17650 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
17651 traceframes into tfile and ctf trace files. Read data from
17652 trace file and test collected data.
17653 (gdb_collect_locals_test): Likewise.
17654 (gdb_unavailable_registers_test): Likewise.
17655 (gdb_unavailable_floats): Likewise.
17656 (gdb_collect_globals_test): Likewise.
17657 (top-level): Append "ctf" to trace_file_targets if GDB
17658 supports.
17659
b5262cd0
YQ
176602014-05-05 Yao Qi <yao@codesourcery.com>
17661
17662 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
17663 code to ...
17664 (gdb_collect_args_test_1): ... it. New proc.
17665 (gdb_collect_locals_test): Move some code to ...
17666 (gdb_collect_locals_test_1): ... it. New proc.
17667 (gdb_unavailable_registers_test): Move some code to ...
17668 (gdb_unavailable_registers_test_1): ... it. New proc.
17669 (gdb_unavailable_floats): Move some code to ...
17670 (gdb_unavailable_floats_1): ... it. New proc.
17671
30a1e6cc
SDJ
176722014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
17673
17674 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
17675 probes to test for bitness recognition.
17676 * gdb.arch/amd64-stap-optional-prefix.exp
17677 (test_probe_value_without_reg): New procedure.
17678 Add code to test for different kinds of bitness.
17679
f33da99a
SDJ
176802014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
17681
17682 PR breakpoints/16889
17683 * gdb.arch/amd64-stap-optional-prefix.S: New file.
17684 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
17685
5b80f00d
PA
176862014-05-01 Pedro Alves <palves@redhat.com>
17687
17688 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
17689 gdb_file_cmd if no file is specified.
17690 * boards/native-extended-gdbserver.exp (gdb_load): Use the
17691 last_loaded_file to set the remote exec-file.
17692
f8c2a73c
PA
176932014-05-01 Pedro Alves <palves@redhat.com>
17694
17695 * boards/local-remote-host.exp: New file.
17696
be6e8ac7
PA
176972014-05-01 Pedro Alves <palves@redhat.com>
17698
17699 * boards/local-remote-host.exp: Rename to ...
17700 * boards/local-remote-host-notty.exp: ... this.
17701
cac0dc8f
JB
177022014-04-28 Joel Brobecker <brobecker@adacore.com>
17703
17704 * gdb.ada/dyn_arrayidx: New testcase.
17705
9730e6cc
YQ
177062014-04-26 Yao Qi <yao@codesourcery.com>
17707
17708 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
17709 and compute the length of function main. Save it in
17710 $main_length.
17711 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
17712 (top-level): Use gdb_compile to compile objects into
17713 executable and restart GDB. Remove invocation to
17714 prepare_for_testing.
17715
7ae1a6a6
PA
177162014-04-25 Simon Marchi <simon.marchi@ericsson.com>
17717 Pedro Alves <palves@redhat.com>
17718
17719 PR server/16255
17720 * gdb.multi/multi-attach.c: New file.
17721 * gdb.multi/multi-attach.exp: New file.
17722
4082afcc
PA
177232014-04-25 Pedro Alves <palves@redhat.com>
17724
17725 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
17726 user.
17727 (top level): Test that "set remote conditional-breakpoints-packet
17728 off" works as intended.
17729 * gdb.base/dprintf.exp: Test that "set remote
17730 breakpoint-commands-packet off" works as intended.
17731 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
17732 New function.
17733 (top level): Call it.
17734 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
17735 remote fast-tracepoints-packet off" works as intended.
17736 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
17737 * lib/gdb.exp (gdb_is_target_remote): ... here.
17738
2abc3f8d
DB
177392014-04-24 David Blaikie <dblaikie@gmail.com>
17740
17741 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
17742 ensure clang would not discard them.
17743 * gdb.base/gdbvars.c: Ditto.
17744 * gdb.base/memattr.c: Ditto.
17745 * gdb.base/whatis.c: Ditto.
17746 * gdb.python/py-prettyprint.c: Ditto.
17747 * gdb.trace/actions.c: Ditto.
17748 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
17749 ensure clang would not discard it.
17750
bfd39632
DB
177512014-04-24 David Blaikie <dblaikie@gmail.com>
17752
17753 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
17754 clang to emit the full definition of type required by the test
17755 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
17756
22842ff6
DB
177572014-04-24 David Blaikie <dblaikie@gmail.com>
17758
17759 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
17760 coax Clang into emitting the definition of the type.
17761 * gdb.cp/pr10728-x.h (y): Ditto.
17762 * gdb.cp/pr10728-y.cc (y): Ditto.
17763
c2e827ad
DB
177642014-04-24 David Blaikie <dblaikie@gmail.com>
17765
17766 * gdb.base/label.exp: XFAIL label related tests under Clang.
17767 * gdb.cp/cplabel.exp: Ditto.
17768 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
17769 under Clang those using labels.
17770
4c2d33e7
YQ
177712014-04-25 Yao Qi <yao@codesourcery.com>
17772
17773 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
17774 double_label.
17775 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
17776 partial_label and double_label.
17777
56083b99
DB
177782014-04-24 David Blaikie <dblaikie@gmail.com>
17779
17780 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
17781
25d4e99d
DB
177822014-04-24 David Blaikie <dblaikie@gmail.com>
17783
17784 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
17785 of the function to work across GCC and Clang.
17786 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
17787 pointer types (const void ** const V void **).
17788
01f9f808
MS
177892014-04-24 Michael Sturm <michael.sturm@mintel.com>
17790 Walfred Tedeschi <walfred.tedeschi@intel.com>
17791
17792 * Makefile.in (EXECUTABLES): Added i386-avx512.
17793 * gdb.arch/i386-avx512.c: New file.
17794 * gdb.arch/i386-avx512.exp: Likewise.
17795
4b48d439
KS
177962014-04-23 Keith Seitz <keiths@redhat.com>
17797
17798 * lib/mi-support.exp (mi_list_breakpoints): Delete.
17799 (mi_make_breakpoint_table): New procedure.
17800 (mi_create_breakpoint): Use mi_make_breakpoint
17801 and return the result.
17802 (mi_make_breakpoint): New procedure.
17803 (mi_build_kv_pairs): New procedure.
17804
17805 * gdb.mi/mi-break.exp: Remove unused globals,
17806 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
17807 All callers updated.
17808 * gdb.mi/mi-dprintf.exp: Use variable to track command
17809 number.
17810 Update all callers of mi_create_breakpoint and use
17811 mi_make_breakpoint_table.
17812 Remove any unused global variables.
17813 * gdb.mi/mi-nonstop.exp: Likewise.
17814 * gdb.mi/mi-nsintrall.exp: Likewise.
17815 * gdb.mi/mi-nsmoribund.exp: Likewise.
17816 * gdb.mi/mi-nsthrexec.exp: Likewise.
17817 * gdb.mi/mi-reverse.exp: Likewise.
17818 * gdb.mi/mi-simplerun.exp: Likewise.
17819 * gdb.mi/mi-stepn.exp: Likewise.
17820 * gdb.mi/mi-syn-frame.exp: Likewise.
17821 * gdb.mi/mi-until.exp: Likewise.
17822 * gdb.mi/mi-var-cp.exp: Likewise.
17823 * gdb.mi/mi-var-display.exp: Likewise.
17824 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
17825 * gdb.mi/mi2-var-child.exp: Likewise.
17826 * gdb.mi/mi-vla-c99.exp: Likewise.
17827 * lib/mi-support.exp: Likewise.
17828
17829 From Ian Lance Taylor <iant@cygnus.com>:
17830 * lib/gdb.exp (parse_args): New procedure.
17831
08351840
PA
178322014-04-23 Pedro Alves <palves@redhat.com>
17833
17834 * gdb.base/break-unload-file.c: New file.
17835 * gdb.base/break-unload-file.exp: New file.
17836 * gdb.base/sym-file-lib.c (baz): New function.
17837 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
17838 field.
17839 (load): Store the segment's mapped size.
17840 (unload): New function.
17841 (unload_shlib): New function.
17842 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
17843 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
17844 set a breakpoint at baz, and call it.
17845 * gdb.base/sym-file.exp: New tests for stale breakpoint
17846 instructions.
17847
076855f9
PA
178482014-04-23 Pedro Alves <palves@redhat.com>
17849
17850 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
17851 * gdb.base/hbreak-in-shr-unsupported.c: New file.
17852 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
17853 * gdb.base/hbreak-unmapped.c: New file.
17854 * gdb.base/hbreak-unmapped.exp: New file.
17855 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
17856 * lib/gdb.exp (gdb_is_target_remote): ... here.
17857
483805cf
PA
178582014-04-22 Pedro Alves <palves@redhat.com>
17859
17860 * gdb.base/consecutive-step-over.c: New file.
17861 * gdb.base/consecutive-step-over.exp: New file.
17862
06d97543
PA
178632014-04-22 Pedro Alves <palves@redhat.com>
17864
17865 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
17866 instead of send_gdb/gdb_expect.
17867
b4429ea2
YQ
178682014-04-22 Yao Qi <yao@codesourcery.com>
17869
17870 * lib/trace-support.exp (generate_tracefile): New procedure.
17871 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
17872 return 0.
17873 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
17874 if generate_tracefile returns 1.
17875
51d48146
PA
178762014-04-18 Tom Tromey <palves@redhat.com>
17877 Pedro alves <tromey@redhat.com>
17878
17879 PR backtrace/15558
17880 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
17881 with a backtrace limit.
17882 * gdb.python/py-frame-inline.exp: Test running to an inline
17883 function with a backtrace limit, and printing the newest frame.
17884 * gdb.python/py-frame-inline.c (main): Call f.
17885
bd1dce5f
MS
178862014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
17887
17888 * gdb.java/jnpe.exp: Drop srcdir from untested path.
17889
40d1a503
MS
178902014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
17891
17892 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
17893 Drop prefix from unsupported source file path.
17894
389b98f7
YQ
178952014-04-17 Yao Qi <yao@codesourcery.com>
17896
17897 * lib/gdb.exp (with_target_charset): New proc.
17898 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
17899 with_target_charset.
17900 (test_print_strings): Likewise.
17901 (test_repeat_bytes): Likewise.
17902 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
17903 for some tests.
17904
22869d73
KS
179052014-04-16 Keith Seitz <keiths@redhat.com>
17906
17907 PR gdb/15827
17908 * gdb.dwarf2/corrupt.c: New file.
17909 * gdb.dwarf2/corrupt.exp: New file.
17910
c4f87ca6
KS
179112014-04-16 Keith Seitz <keiths@redhat.com>
17912
17913 PR c++/16597
17914 * gdb.cp/namelessclass.cc: New file.
17915 * gdb.cp/namelessclass.exp: New file.
17916 * gdb.cp/namelessclass.S: New file.
17917
ab19de87
DE
179182014-04-16 Doug Evans <dje@google.com>
17919
17920 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
17921 Add comment.
17922 (gdbserver_default_get_comm_port): New function.
17923 (gdbserver_start): Check if board file provided
17924 "gdbserver,get_comm_port" and use it if so.
17925 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
17926 (gdb,socketport): Set to "stdio".
17927 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
17928 (stdio_gdbserver_template): Delete.
17929 (${board}_get_remote_address): Update.
17930 (${board}_build_remote_cmd): Delete.
17931 (${board}_get_comm_port): New function.
17932 (${board}_spawn): Update.
17933 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
17934 Delete.
17935 (${board}_get_remote_address): Update.
17936 (${board}_get_comm_port): New function.
17937
fc98a809
AB
179382014-04-16 Andrew Burgess <aburgess@broadcom.com>
17939
17940 * gdb.base/memattr.exp: Improve regexps to handle memory regions
17941 appearing in any order.
17942
87fd9e6e
DE
179432014-04-15 Doug Evans <dje@google.com>
17944
17945 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
17946 uninitialized value of "description".
17947
099fc3ea
KS
179482014-04-15 Keith Seitz <keiths@redhat.com>
17949
17950 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
17951 Remove unused globals.
17952 (test_running_the_program): Likewise.
17953 (test_controlled_execution): Likewise.
17954 (test_controlling_breakpoints): Likewise.
17955 (test_program_termination): Likewise.
17956
5da151d4
KS
179572014-04-15 Keith Seitz <keiths@redhat.com>
17958
17959 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
17960 unused globals.
17961 (test_rbreak_creation_and_listing): Likewise.
17962 (test_ignore_count): Likewise.
17963 (test_error): Likewise.
17964
35e5d2f0
PA
179652014-04-15 Pedro Alves <palves@redhat.com>
17966
17967 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
17968 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
17969 sym-file-loader.c.
17970 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
17971 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
17972 to sym-file-loader.c.
17973 (struct library): Forward declare.
17974 (load_shlib, lookup_function): Change prototypes.
17975 (find_shstrtab, find_strtab, find_shdr, find_symtab)
17976 (translate_offset): Remove declarations.
17977 (get_text_addr): New declaration.
17978 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
17979 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
17980 sym-file-loader.h.
17981 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
17982 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
17983 here from sym-file-loader.h.
17984 (struct library): New structure.
17985 (load_shlib, lookup_function): Change prototypes and adjust to
17986 work with a struct library.
17987 (find_shstrtab, find_strtab, find_shdr, find_symtab)
17988 (translate_offset): Make static.
17989 (get_text_addr): New function.
17990 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
17991
eb4c1710
PA
179922014-04-15 Pedro Alves <palves@redhat.com>
17993
17994 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
17995
2d1baf52
PA
179962014-04-15 Pedro Alves <palves@redhat.com>
17997
17998 * gdb.base/sym-file-loader.c: Include <limits.h>.
17999 (SELF_LINK): New define.
18000 (get_origin): New function.
18001 (load_shlib): Use it.
18002 * gdb.base/sym-file.exp: Don't early return if the target is
18003 remote. Use runto_main, and issue fail is that fails. Use
18004 gdb_load_shlibs.
18005 (shlib_name): Delete.
18006 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
18007
7dd6df01
PA
180082014-04-15 Pedro Alves <palves@redhat.com>
18009
18010 * gdb.base/sym-file.exp: Remove regex characters from test
18011 message. Don't refer to breakpoint numbers in test messages.
18012
b50c8614
KS
180132014-04-14 Keith Seitz <keiths@redhat.com>
18014
18015 PR c++/16253
18016 * gdb.cp/var-tag.cc: New file.
18017 * gdb.cp/var-tag.exp: New file.
18018 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
18019 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
18020 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
18021 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
18022
3d567982
TT
180232014-04-14 Tom Tromey <tromey@redhat.com>
18024
18025 * gdb.cp/classes.exp (test_enums): Handle underlying type.
18026 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
18027 type.
18028 * gdb.cp/enum-class.exp: New file.
18029 * gdb.cp/enum-class.cc: New file.
18030
0626fc76
TT
180312014-04-14 Tom Tromey <tromey@redhat.com>
18032
18033 * gdb.dwarf2/enum-type.exp: New file.
18034
dca325b3
SA
180352014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18036
18037 * gdb.mi/mi-vla-c99.exp: New file.
18038 * gdb.mi/vla.c: New file.
18039
5854b38a
SA
180402014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18041
18042 * gdb.base/vla-datatypes.c: New file.
18043 * gdb.base/vla-datatypes.exp: New file.
18044
463bb957
SA
180452014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18046
18047 * gdb.base/vla-ptr.c: New file.
18048 * gdb.base/vla-ptr.exp: New file.
18049
3dd170be
SA
180502014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18051
18052 * gdb.dwarf2/count.exp: New file.
18053
5ecaaa66
SA
180542014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18055
18056 * gdb.base/vla-sideeffect.c: New file.
18057 * gdb.base/vla-sideeffect.exp: New file.
18058
41f1ada5
DB
180592014-04-14 David Blaikie <dblaikie@gmail.com>
18060
18061 * gdb.mi/non-stop.c: Add return value for non-void function return
18062 statement.
18063 * gdb.threads/staticthreads.c: Ditto.
18064
0be03e84
DE
180652014-04-12 Siva Chandra Reddy <sivachandra@google.com>
18066 Doug Evans <xdje42@gmail.com>
18067
18068 * gdb.guile/scm-value.c: Improve test case.
18069 * gdb.guile/scm-value.exp: Add new test.
18070
f180a1fb
DB
180712014-04-11 David Blaikie <dblaikie@gmail.com>
18072
18073 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
18074 override Clang's default.
18075
6b662e19
JB
180762014-04-11 Joel Brobecker <brobecker@adacore.com>
18077
18078 Revert the following changes (regressions):
18079
18080 * gdb.base/vla-sideeffect.c: New file.
18081 * gdb.base/vla-sideeffect.exp: New file.
18082
18083 * gdb.dwarf2/count.exp: New file.
18084
18085 * gdb.base/vla-multi.c: New file.
18086 * gdb.base/vla-multi.exp: New file.
18087
18088 * gdb.base/vla-ptr.c: New file.
18089 * gdb.base/vla-ptr.exp: New file.
18090
18091 * gdb.base/vla-datatypes.c: New file.
18092 * gdb.base/vla-datatypes.exp: New file.
18093
18094 * gdb.mi/mi-vla-c99.exp: New file.
18095 * gdb.mi/vla.c: New file.
18096
245a5f0b
KS
180972014-04-11 Keith Seitz <keiths@redhat.com>
18098
18099 PR c++/16675
18100 * gdb.cp/cpsizeof.exp: New file.
18101 * gdb.cp/cpsizeof.cc: New file.
18102
58a84dcf
SA
181032014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18104
191a8a90
JB
18105 * gdb.mi/mi-vla-c99.exp: New file.
18106 * gdb.mi/vla.c: New file.
58a84dcf 18107
c8655f75
SA
181082014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18109
18110 * gdb.base/vla-datatypes.c: New file.
18111 * gdb.base/vla-datatypes.exp: New file.
18112
024e13b4
SA
181132014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18114
18115 * gdb.base/vla-ptr.c: New file.
18116 * gdb.base/vla-ptr.exp: New file.
18117
1a237e0e
SA
181182014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18119
18120 * gdb.base/vla-multi.c: New file.
18121 * gdb.base/vla-multi.exp: New file.
18122
504f3432
SA
181232014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18124
18125 * gdb.dwarf2/count.exp: New file.
18126
3bce8237
SA
181272014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18128
191a8a90
JB
18129 * gdb.base/vla-sideeffect.c: New file.
18130 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 18131
322f9c21
YQ
181322014-04-11 Yao Qi <yao@codesourcery.com>
18133
18134 * gdb.base/completion.exp: Check file exists before running tests
18135 on file completion.
18136
d708bcd1
PA
181372014-04-10 Pedro Alves <palves@redhat.com>
18138
18139 * gdb.base/cond-eval-mode.c: New file.
18140 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
18141 prepare_for_testing to build the new file. Check result of
18142 runto_main.
18143 (test_break, test_watch): New procedures.
18144 (top level): Use them.
18145
ae1d2761
PM
181462014-04-08 Pierre Muller <muller@sourceware.org>
18147
18148 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
18149 Ctrl-V use for mingw hosts.
18150
7af389b8
SC
181512014-04-07 Siva Chandra Reddy <sivachandra@google.com>
18152
18153 * gdb.python/py-value.c: Improve test case.
18154 * gdb.python/py-value.exp: Add new test.
18155
5e703181
DE
181562014-04-07 David Blaikie <dblaikie@gmail.com>
18157
18158 * lib/compiler.c: Identify the clang compiler.
18159 * lib/compiler.cc: Ditto.
18160
9810b410
YQ
181612014-04-03 Yao Qi <yao@codesourcery.com>
18162
18163 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
18164
98d1b8dc
AB
181652014-04-01 Anton Blanchard <anton@samba.org>
18166
18167 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
18168 messages unique.
18169
3114cea1
AB
181702014-04-01 Anton Blanchard <anton@samba.org>
18171
18172 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
18173 prepare_for_testing.
18174
62f7182c
AB
181752014-04-01 Anton Blanchard <anton@samba.org>
18176
18177 * gdb.arch/ppc64-atomic-inst.c: Remove.
18178 * gdb.arch/ppc64-atomic-inst.S: New file.
18179 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
18180
770e7fc7
DE
181812014-03-31 Doug Evans <dje@google.com>
18182
18183 * gdb.base/print-symbol-loading-lib.c: New file.
18184 * gdb.base/print-symbol-loading-main.c: New file.
18185 * gdb.base/print-symbol-loading.exp: New file.
18186
46e2bafa
YQ
181872014-03-31 Yao Qi <yao@codesourcery.com>
18188
18189 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
18190
8776cfe9
JB
181912014-03-28 Joel Brobecker <brobecker@adacore.com>
18192
18193 * gdb.ada/mi_dyn_arr: New testcase.
18194
5d1ef361
DE
181952014-03-27 Doug Evans <dje@google.com>
18196
18197 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
18198
b5bee914
YQ
181992014-03-27 Yao Qi <yao@codesourcery.com>
18200
18201 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
18202 if target is nios2-*-*.
18203
0d4d0e77
YQ
182042014-03-26 Yao Qi <yao@codesourcery.com>
18205
18206 * lib/gdb.exp (readline_is_used): New proc.
18207 * gdb.base/completion.exp: Move tests on command complete up.
18208 Skip the rest of tests if readline is not used.
18209 * gdb.ada/complete.exp: Skp the test if readline is not
18210 used.
18211 * gdb.base/filesym.exp: Likewise.
18212 * gdb.base/macscp.exp: Likewise.
18213 * gdb.base/readline-ask.exp: Likewise.
18214 * gdb.base/readline.exp: Likewise.
18215 * gdb.python/py-cmd.exp: Likewise.
18216 * gdb.trace/tfile.exp: Likewise.
18217
29361eee
YQ
182182014-03-26 Yao Qi <yao@codesourcery.com>
18219
18220 * gdb.base/macscp.exp: Fix code format issues.
18221
bc9a5525
UW
182222014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
18223
18224 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
18225 * gdb.asm/powerpc64le.inc: New file.
18226
d3839ede
PA
182272014-03-25 Pedro Alves <palves@redhat.com>
18228 Doug Evans <dje@google.com>
18229
18230 * gdb.base/source-execution.c: New file.
18231 * gdb.base/source-execution.exp: New file.
18232 * gdb.base/source-execution.gdb: New file.
18233
01672a57
DE
182342014-03-24 Doug Evans <dje@google.com>
18235
18236 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
18237 using fission.
18238
88bbeca9
HZ
182392014-03-24 Hui Zhu <hui@codesourcery.com>
18240 Pedro Alves <palves@redhat.com>
18241
18242 PR breakpoints/16101
18243 * gdb.base/dprintf.exp: Use unsupported rather than changing the
18244 test pass/fail messages. Detect missing support for dprintf when
18245 breakpoints are actually inserted.
18246 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
18247 breakpoints are actually inserted.
18248 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
18249 fails.
18250
d2348791
JK
182512014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
18252
18253 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
18254
feef67ab
DE
182552014-03-22 Doug Evans <xdje42@gmail.com>
18256
18257 * gdb.python/python.exp (python not supported): Verify multi-line
18258 python command issues an error.
25d743f9 18259 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 18260 guile command issues an error.
feef67ab 18261
ecebef6a
MR
182622014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
18263
18264 * gdb.threads/thread-specific.exp: Handle the lack of usable
18265 $this_breakpoint and $this_thread.
18266
ccdd1909
HZ
182672014-03-21 Hui Zhu <hui@codesourcery.com>
18268
18269 * gdb.base/attach.exp (do_command_attach_tests): New.
18270
beb460e8
PA
182712014-03-20 Tom Tromey <tromey@redhat.com>
18272 Pedro Alves <palves@redhat.com>
18273
18274 PR cli/15718
18275 * gdb.base/condbreak-call-false.c: New file.
18276 * gdb.base/condbreak-call-false.exp: New file.
18277
40acf43a
PA
182782014-03-20 Pedro Alves <palves@redhat.com>
18279
18280 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
18281 Delete.
18282 (block_signals, unblock_signals): Delete.
18283 (child_function_2, main): Remove references to deleted variable
18284 and functions.
18285
9f5e1e02
PA
182862014-03-20 Pedro Alves <palves@redhat.com>
18287
18288 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
18289 Use pthread_kill to signal thread 2.
18290 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18291 Adjust to make the test send itself a signal rather than using the
18292 host's "kill" command.
18293
99619bea
PA
182942014-03-20 Pedro Alves <palves@redhat.com>
18295
18296 * gdb.threads/multiple-step-overs.c: New file.
18297 * gdb.threads/multiple-step-overs.exp: New file.
18298 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18299 Adjust expected infrun debug output.
18300
2adfaa28
PA
183012014-03-20 Pedro Alves <palves@redhat.com>
18302
18303 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
18304 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
18305
31e77af2
PA
183062014-03-20 Pedro Alves <palves@redhat.com>
18307
18308 PR breakpoints/7143
18309 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
18310 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
18311 of gdb_test_multiple.
18312 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
18313 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
18314
b9f437de
PA
183152014-03-20 Pedro Alves <palves@redhat.com>
18316
18317 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
18318 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
18319
05adc73e
PA
183202014-03-19 Pedro Alves <palves@redhat.com>
18321
18322 * gdb.base/async.exp: Remove early return.
18323
6048b950
PA
183242014-03-19 Pedro Alves <palves@redhat.com>
18325
18326 * gdb.base/async.exp (step& tests): Pass explicit test messages.
18327
8bcfb00a
PA
183282014-03-19 Pedro Alves <palves@redhat.com>
18329
18330 * gdb.base/async.exp (test_background): Expect \r\n after
18331 "completed." in the fail pattern.
18332
884e37dc
PA
183332014-03-19 Pedro Alves <palves@redhat.com>
18334
18335 * gdb.base/async.exp (test_background): New procedure.
18336 Use it for all background execution command tests.
18337
148e57e2
PA
183382014-03-19 Pedro Alves <palves@redhat.com>
18339
18340 * gdb.base/async.exp: Use prepare_for_testing.
18341
f48088c7
PA
183422014-03-19 Pedro Alves <palves@redhat.com>
18343
18344 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
18345 the same line.
18346
e2f6c966
PA
183472014-03-19 Pedro Alves <palves@redhat.com>
18348
18349 * gdb.base/async.c (main): Add "jump here" and "until here" line
18350 marker comments.
18351 * gdb.base/async.exp (jump_here): New global.
18352 (jump& test): Use it.
18353 (until_here): New global.
18354 (until& test): Use it.
18355
c30568d4
PA
183562014-03-19 Pedro Alves <palves@redhat.com>
18357
18358 * gdb.base/async.exp: Don't frob gdb_protocol.
18359
0172b6a7
DE
183602014-03-18 Doug Evans <xdje42@gmail.com>
18361
18362 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
18363 Fix spelling of exec-done-display.
18364
06c868a8
JK
183652014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
18366
18367 PR gdb/15358
18368 * gdb.base/gdb-sigterm.c: New file.
18369 * gdb.base/gdb-sigterm.exp: New file.
18370
0c7e1a46
PA
183712014-03-18 Pedro Alves <palves@redhat.com>
18372
18373 PR gdb/13860
18374 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
18375 * lib/mi-support.exp (mi_expect_stop): Add special handling for
18376 solib-event.
18377
f7c77d93
JB
183782014-03-17 Joel Brobecker <brobecker@adacore.com>
18379
18380 * gdb.ada/pckd_arr_ren: New testcase.
18381
5a1e8c7a
DE
183822014-03-13 Doug Evans <xdje42@gmail.com>
18383
18384 PR guile/16612
18385 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
18386 collect after discarding symbols.
18387
350e1a76
DE
183882014-03-13 Ludovic Courtès <ludo@gnu.org>
18389 Doug Evans <xdje42@gmail.com>
18390
18391 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
18392 to history survives a gc.
18393
a69900ae
PA
183942014-03-13 Pedro Alves <palves@redhat.com>
18395
18396 * gdb.base/default.exp: Don't test "target procfs".
18397
5db9f0bd
PA
183982014-03-13 Pedro Alves <palves@redhat.com>
18399
18400 * gdb.base/default.exp: Update "target child" and "target procfs"
18401 tests to not expect "Unix".
18402
b3ccfe11
TT
184032014-03-12 Tom Tromey <tromey@redhat.com>
18404
18405 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
18406 New procs. Add target-async tests.
18407 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
18408 Add target-async tests.
18409
646f4417
AA
184102014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18411
18412 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
18413 'func_start' and 'func_end' for the beginning and end of the
18414 function code, respectively.
18415 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
18416 'func_end' instead of 'func' and 'main'.
18417
288c211f
AA
184182014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18419
18420 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
18421 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
18422 generate the debug info assembler source.
18423
e0c0f156
AA
184242014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18425
18426 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
18427 * gdb.dwarf2/arr-subrange.exp: Likewise.
18428 * gdb.dwarf2/dwz.exp: Likewise.
18429 * gdb.dwarf2/method-ptr.exp: Likewise.
18430 * gdb.dwarf2/missing-sig-type.exp: Likewise.
18431 * gdb.dwarf2/subrange.exp: Likewise.
18432 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
18433 * gdb.dwarf2/implptrpiece.exp: Likewise.
18434 * gdb.dwarf2/nostaticblock.exp: Likewise.
18435
0e5c4555
AA
184362014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18437
18438 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
18439 directory to absolute path name arguments.
18440
5ec18f2b
JG
184412014-03-10 Joel Brobecker <brobecker@adacore.com>
18442
18443 * gdb.ada/tagged_access: New testcase.
18444
847fc4f2
MM
184452014-03-07 Markus Metzger <markus.t.metzger@intel.com>
18446
18447 * gdb.btrace/data.exp: Update expected output.
18448
cc3da688
YQ
184492014-03-06 Yao Qi <yao@codesourcery.com>
18450
18451 * gdb.trace/pr16508.exp: New file.
18452
0f26cec1
PA
184532014-03-05 Pedro Alves <palves@redhat.com>
18454
18455 PR gdb/16575
18456 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
18457 procedure.
18458 (top level): Adjust to use it. Add tests that exercise breakpoint
18459 interaction with the code-cache.
18460
7a5a839f
LC
184612014-02-26 Ludovic Courtès <ludo@gnu.org>
18462
18463 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
18464 test for 'history-append!'.
18465
31aa7e4e
JB
184662014-02-26 Joel Brobecker <brobecker@adacore.com>
18467
18468 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
18469 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
18470 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
18471 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
18472 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
18473 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
18474
1b588015
JB
184752014-02-26 Joel Brobecker <brobecker@adacore.com>
18476
18477 * testsuite/gdb.python/py-pp-re-notag.c: New file.
18478 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
18479 * testsuite/gdb.python/py-pp-re-notag.p: New file.
18480
55426c9d
JB
184812014-02-26 Joel Brobecker <brobecker@adacore.com>
18482
18483 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
18484
dc53a7ad
JB
184852014-02-26 Joel Brobecker <brobecker@adacore.com>
18486
18487 * gdb.dwarf2/arr-stride.c: New file.
18488 * gdb.dwarf2/arr-stride.exp: New file.
18489
12ab52e9
PA
184902014-02-26 Pedro Alves <palves@redhat.com>
18491
18492 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
18493 that won't ever trigger. Make sure that GDB reports the correct
18494 breakpoint that caused the stop.
18495
849c862e
JK
184962014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18497
18498 PR gdb/16626
18499 * gdb.base/auto-load-script: New file.
18500 * gdb.base/auto-load.c: New file.
18501 * gdb.base/auto-load.exp: New file.
18502
71b7d793
JK
18503 PR gdb/16626
18504 * gdb.base/auto-load.exp: Fix out-of-srctree run.
18505
e2f0d509
JK
185062014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18507
18508 Fix dw2-icycle.exp -fsanitize=address GDB crash.
18509 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
18510
50cc37c8
DE
185112014-02-24 Doug Evans <dje@google.com>
18512
18513 * lib/gdb.exp (run_on_host): Log error output if program fails.
18514
ea4758f2
PA
185152014-02-21 Pedro Alves <palves@redhat.com>
18516
18517 * gdb.threads/step-after-sr-lock.c: Rename to ...
18518 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
18519 * gdb.threads/step-after-sr-lock.exp: Rename to ...
18520 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18521 ... this.
18522
d7b30f67
SDJ
185232014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
18524
18525 PR tdep/16397
18526 * gdb.arch/amd64-stap-special-operands.exp: New file.
18527 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
18528 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
18529 * gdb.arch/amd64-stap-triplet.S: Likewise.
18530 * gdb.arch/amd64-stap-triplet.c: Likewise.
18531
83deb43f
JB
185322014-02-20 Joel Brobecker <brobecker@adacore.com>
18533
18534 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
18535 in .section pseudo-op.
18536
adde2bff
DE
185372014-02-20 lin zuojian <manjian2006@gmail.com>
18538 Joel Brobecker <brobecker@adacore.com>
18539 Doug Evans <xdje42@gmail.com>
18540
18541 PR symtab/16581
18542 * gdb.dwarf2/dw2-icycle.S: New file.
18543 * gdb.dwarf2/dw2-icycle.c: New file.
18544 * gdb.dwarf2/dw2-icycle.exp: New file.
18545
f7bd0f78
SC
185462014-02-19 Siva Chandra Reddy <sivachandra@google.com>
18547
18548 * gdb.python/py-value-cc.cc: Improve test case to enable testing
18549 operations on gdb.Value objects.
18550 * gdb.python/py-value-cc.exp: Add new test to test operations on
18551 gdb.Value objects.
18552
c17ef0d5
DE
185532014-02-18 Doug Evans <dje@google.com>
18554
18555 * Makefile.in (TESTS): New variable.
18556 (expanded_tests, expanded_tests_or_none): New variables
18557 (check-single): Pass $(expanded_tests_or_none) to runtest.
18558 (check-parallel): Only run tests in $(TESTS) if non-empty.
18559 (check/no-matching-tests-found): New rule.
18560 * README: Document TESTS makefile variable.
18561
5dd3176f
DE
185622014-02-18 Doug Evans <dje@google.com>
18563
18564 * Makefile.in (check-parallel): rm -rf outputs temp.
18565
0b10be4f
JK
185662014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18567
18568 Fix "ERROR: no fileid for" in the testsuite.
18569 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
18570
85f224e7
DE
185712014-02-12 Doug Evans <dje@google.com>
18572
18573 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
18574 (MISCELLANEOUS): New variable.
18575 (clean): rm -rf $(MISCELLANEOUS).
18576 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
18577 dwp live in the same directory as symlinks, with each symlink pointed
18578 to a differently named file in a different directory.
18579
149b30ff
DE
185802014-02-11 Doug Evans <dje@google.com>
18581
18582 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
18583 of Tcl file commands.
18584
1dfdac32
MK
185852014-02-10 Mark Kettenis <kettenis@gnu.org>
18586
18587 * gdb.threads/step-after-sr-lock.exp: Avoid executing
18588 "kill -SIGUSR1 -1".
18589
aa4fb036
JB
185902014-02-10 Joel Brobecker <brobecker@adacore.com>
18591
18592 * gdb.ada/tick_length_array_enum_idx: New testcase.
18593
ed3ef339
DE
185942014-02-10 Doug Evans <xdje42@gmail.com>
18595
18596 * configure.ac (AC_OUTPUT): Add gdb.guile.
18597 * configure: Regenerate.
18598 * lib/gdb-guile.exp: New file.
18599 * lib/gdb.exp (get_target_charset): New function.
18600 * gdb.base/help.exp: Update expected output from "apropos apropos".
18601 * gdb.guile/Makefile.in: New file.
18602 * gdb.guile/guile.exp: New file.
18603 * gdb.guile/scm-arch.c: New file.
18604 * gdb.guile/scm-arch.exp: New file.
18605 * gdb.guile/scm-block.c: New file.
18606 * gdb.guile/scm-block.exp: New file.
18607 * gdb.guile/scm-breakpoint.c: New file.
18608 * gdb.guile/scm-breakpoint.exp: New file.
18609 * gdb.guile/scm-disasm.c: New file.
18610 * gdb.guile/scm-disasm.exp: New file.
18611 * gdb.guile/scm-equal.c: New file.
18612 * gdb.guile/scm-equal.exp: New file.
18613 * gdb.guile/scm-error.exp: New file.
18614 * gdb.guile/scm-error.scm: New file.
18615 * gdb.guile/scm-frame-args.c: New file.
18616 * gdb.guile/scm-frame-args.exp: New file.
18617 * gdb.guile/scm-frame-args.scm: New file.
18618 * gdb.guile/scm-frame-inline.c: New file.
18619 * gdb.guile/scm-frame-inline.exp: New file.
18620 * gdb.guile/scm-frame.c: New file.
18621 * gdb.guile/scm-frame.exp: New file.
18622 * gdb.guile/scm-generics.exp: New file.
18623 * gdb.guile/scm-gsmob.exp: New file.
18624 * gdb.guile/scm-iterator.c: New file.
18625 * gdb.guile/scm-iterator.exp: New file.
18626 * gdb.guile/scm-math.c: New file.
18627 * gdb.guile/scm-math.exp: New file.
18628 * gdb.guile/scm-objfile-script-gdb.in: New file.
18629 * gdb.guile/scm-objfile-script.c: New file.
18630 * gdb.guile/scm-objfile-script.exp: New file.
18631 * gdb.guile/scm-objfile.c: New file.
18632 * gdb.guile/scm-objfile.exp: New file.
18633 * gdb.guile/scm-ports.exp: New file.
18634 * gdb.guile/scm-pretty-print.c: New file.
18635 * gdb.guile/scm-pretty-print.exp: New file.
18636 * gdb.guile/scm-pretty-print.scm: New file.
18637 * gdb.guile/scm-section-script.c: New file.
18638 * gdb.guile/scm-section-script.exp: New file.
18639 * gdb.guile/scm-section-script.scm: New file.
18640 * gdb.guile/scm-symbol.c: New file.
18641 * gdb.guile/scm-symbol.exp: New file.
18642 * gdb.guile/scm-symtab-2.c: New file.
18643 * gdb.guile/scm-symtab.c: New file.
18644 * gdb.guile/scm-symtab.exp: New file.
18645 * gdb.guile/scm-type.c: New file.
18646 * gdb.guile/scm-type.exp: New file.
18647 * gdb.guile/scm-value-cc.cc: New file.
18648 * gdb.guile/scm-value-cc.exp: New file.
18649 * gdb.guile/scm-value.c: New file.
18650 * gdb.guile/scm-value.exp: New file.
18651 * gdb.guile/source2.scm: New file.
18652 * gdb.guile/types-module.cc: New file.
18653 * gdb.guile/types-module.exp: New file.
18654
7026a7c1
YQ
186552014-02-10 Yao Qi <yao@codesourcery.com>
18656
18657 PR testsuite/16543
18658 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
18659 * configure: Regenerated.
18660 * Makefile.in: New file.
18661
6c466447
AS
186622014-02-08 Andreas Schwab <schwab@linux-m68k.org>
18663
18664 * gdb.python/py-framefilter.exp: Fix typo.
18665
6e854735
YQ
186662014-02-08 Yao Qi <yao@codesourcery.com>
18667
18668 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
18669 that no =breakpoint-modified is emitted when breakpoints are
18670 modified through MI commands.
18671
d137e6dc
PA
186722014-02-07 Pedro Alves <pedro@codesourcery.com>
18673 Pedro Alves <palves@redhat.com>
18674
18675 * gdb.threads/step-after-sr-lock.c: New file.
18676 * gdb.threads/step-after-sr-lock.exp: New file.
18677
b5ee5a50
PA
186782014-02-07 Pedro Alves <palves@redhat.com>
18679
18680 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
18681
3c77faf3
JK
186822014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
18683
18684 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
18685 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
18686
6dddc817
DE
186872014-02-06 Doug Evans <xdje42@gmail.com>
18688
18689 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
18690 output.
18691
18692 * gdb.gdb/python-interrupts.exp: New file.
18693
de7b2893
YQ
186942014-02-05 Yao Qi <yao@codesourcery.com>
18695
18696 * gdb.trace/report.exp (use_collected_data): Test the output
18697 of "info threads" and "info inferiors".
18698
66d032ac
YQ
186992014-02-05 Yao Qi <yao@codesourcery.com>
18700
18701 Revert this patch:
18702
18703 2013-05-24 Yao Qi <yao@codesourcery.com>
18704
18705 * gdb.trace/tfile.exp: Test inferior and thread.
18706
591a12a1
UW
187072014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18708
18709 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
18710 on a function.
18711 * gdb.base/step-bt.c: Call hello via function pointer to make
18712 sure its first instruction is executed on powerpc64le-linux.
18713
0ff3e01f
UW
187142014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18715
18716 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
18717
084ee545
UW
187182014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18719
18720 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
18721 of the test patterns for use on little-endian systems.
18722
6ed14ff3
UW
187232014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18724
18725 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
18726 (decimal_vector): Fix for little-endian.
18727
401e27fd
JM
187282014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
18729
18730 * gdb.arch/sparc-sysstep.exp: New file.
18731 * gdb.arch/sparc-sysstep.c: Likewise.
18732
18733 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
18734
8b924729
EBM
187352014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18736
18737 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
18738
fb151210
JB
187392014-01-23 Tom Tromey <tromey@redhat.com>
18740
18741 * gdb.ada/array_char_idx: New testcase.
18742
0740f8d8
TT
187432014-01-23 Tom Tromey <tromey@redhat.com>
18744
18745 PR python/16487:
18746 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
18747 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
18748 classes.
18749
21909fa1
TT
187502014-01-23 Tom Tromey <tromey@redhat.com>
18751
18752 PR python/16491:
18753 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
18754 string from an inferior frame.
18755 * gdb.python/py-framefilter-mi.exp: Update.
18756
87ce2a04
DE
187572014-01-22 Doug Evans <dje@google.com>
18758
18759 * gdb.server/server-mon.exp: Add tests for "set debug-format".
18760
237b092b
AA
187612014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18762
18763 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
18764
d674a709
AA
187652014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18766
18767 * gdb.trace/entry-values.exp: Remove excess space character from
18768 regex patterns. Handle s390 call instruction.
18769
20fa3390
AA
187702014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18771
18772 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
18773 define "*_start" label. Make "name" static.
18774 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
18775 ${name} by references to ${name}_start.
18776
78466714
AA
187772014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18778
18779 * gdb.base/info-macros.exp: Remove "debug" from the compile
18780 options.
18781
ec9f644a
IB
187822014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18783
18784 * gdb.dlang/demangle.exp: New file.
18785
94b1b47e
IB
187862014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18787
18788 * gdb.dlang/primitive-types.exp: New file.
18789
7f420862
IB
187902014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18791
18792 * configure.ac: Create gdb.dlang/Makefile.
18793 * configure: Regenerate.
18794 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
18795 * gdb.dlang/Makefile.in: New file.
18796 * lib/d-support.exp: New file.
18797 * lib/gdb.exp (skip_d_tests): New proc.
18798
52834460
MM
187992014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18800
18801 * gdb.btrace/delta.exp: Check reverse stepi.
18802 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
18803 * gdb.btrace/finish.exp: New.
18804 * gdb.btrace/next.exp: New.
18805 * gdb.btrace/nexti.exp: New.
18806 * gdb.btrace/record_goto.c: Add comments.
18807 * gdb.btrace/step.exp: New.
18808 * gdb.btrace/stepi.exp: New.
18809 * gdb.btrace/multi-thread-step.c: New.
18810 * gdb.btrace/multi-thread-step.exp: New.
18811 * gdb.btrace/rn-dl-bind.c: New.
18812 * gdb.btrace/rn-dl-bind.exp: New.
18813 * gdb.btrace/data.c: New.
18814 * gdb.btrace/data.exp: New.
18815 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
18816
6e07b1d2
MM
188172014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18818
18819 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
18820 * gdb.btrace/exception.exp: Update.
18821 * gdb.btrace/instruction_history.exp: Update.
18822 * gdb.btrace/record_goto.exp: Update.
18823 * gdb.btrace/tailcall.exp: Update.
18824 * gdb.btrace/unknown_functions.exp: Update.
18825 * gdb.btrace/delta.exp: New.
18826
0b722aec
MM
188272014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18828
18829 * gdb.btrace/record_goto.exp: Add backtrace test.
18830 * gdb.btrace/tailcall.exp: Add backtrace test.
18831
066ce621
MM
188322014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18833
18834 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
18835 * gdb.btrace/record_goto.c: New.
18836 * gdb.btrace/record_goto.exp: New.
18837 * gdb.btrace/x86-record_goto.S: New.
18838
0688d04e
MM
188392014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18840
18841 * gdb.btrace/function_call_history.exp: Update tests.
18842 * gdb.btrace/instruction_history.exp: Update tests.
18843
8710b709
MM
188442014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18845
18846 * gdb.btrace/function_call_history.exp: Fix expected field
18847 order for "record function-call-history".
18848 Add new tests for "record function-call-history /c".
18849 * gdb.btrace/exception.cc: New.
18850 * gdb.btrace/exception.exp: New.
18851 * gdb.btrace/tailcall.exp: New.
18852 * gdb.btrace/x86-tailcall.S: New.
18853 * gdb.btrace/x86-tailcall.c: New.
18854 * gdb.btrace/unknown_functions.c: New.
18855 * gdb.btrace/unknown_functions.exp: New.
18856 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
18857
5de9129b
MM
188582014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18859
18860 * gdb.btrace/instruction_history.exp: Update.
18861 * gdb.btrace/function_call_history.exp: Update.
18862
23a7fe75
MM
188632014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18864
18865 * gdb.btrace/function_call_history.exp: Fix expected function
18866 trace.
18867 * gdb.btrace/instruction_history.exp: Initialize traced.
18868 Remove traced_functions.
18869
724c7dd8
MM
188702014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18871
18872 * gdb.btrace/function_call_history.exp: Update
18873 * gdb.btrace/instruction_history.exp: Update.
18874
6d78d93b
MM
188752014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18876
18877 * gdb.btrace/enable.exp: Update expected text.
18878
93a360cc
OJ
188792014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
18880
18881 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
18882 bytes.
18883
3772b53f
MR
188842014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
18885
18886 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
18887
596662fa
OJ
188882014-01-15 Omair Javaid <omair.javaid@linaro.org>
18889
18890 * lib/gdb.exp (supports_process_record): Return true for
18891 arm*-linux*. (supports_reverse): Likewise.
18892
b5b08fb4
SC
188932014-01-13 Siva Chandra Reddy <sivachandra@google.com>
18894
18895 PR python/15464
18896 PR python/16113
18897 * gdb.python/py-type.c: Enhance test case.
18898 * gdb.python/py-value-cc.cc: Likewise
18899 * gdb.python/py-type.exp: Add new tests.
18900 * gdb.python/py-value-cc.exp: Likewise
18901
52d7fb13
AA
189022014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
18903 Pedro Alves <palves@redhat.com>
18904
18905 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
18906 Make "name" extern.
18907 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
18908 references to ${name}_start by references to ${name}.
18909
a2cd8cfe
JB
189102014-01-10 Joel Brobecker <brobecker@adacore.com>
18911
18912 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
18913
4e23fced
JB
189142014-01-10 Joel Brobecker <brobecker@adacore.com>
18915
18916 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
18917
c6a9e42c
PA
189182014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
18919 Pedro Alves <palves@redhat.com>
18920
18921 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 18922 mi_gdb_target_load.
c6a9e42c 18923
b7ea362b
PA
189242014-01-08 Pedro Alves <palves@redhat.com>
18925
18926 * gdb.threads/reconnect-signal.c: New file.
18927 * gdb.threads/reconnect-signal.exp: New file.
18928
5e3f4fab
EBM
189292014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
18930
18931 * gdb.base/source-dir.exp: New file.
18932
79301218
JB
189332014-01-07 Joel Brobecker <brobecker@adacore.com>
18934
18935 * gdb.ada/mi_interface: New testcase.
18936
8e355c5d
JB
189372014-01-07 Joel Brobecker <brobecker@adacore.com>
18938
18939 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
18940 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
18941 gdb.ada/pp-rec-component/pck.ads: New files.
18942
c0d48811
JB
189432014-01-07 Joel Brobecker <brobecker@adacore.com>
18944
18945 * gdb.python/py-pp-integral.c: New file.
18946 * gdb.python/py-pp-integral.py: New file.
18947 * gdb.python/py-pp-integral.exp: New file.
18948
17b609c3 18949For older changes see ChangeLog-1993-2013.
c906108c 18950\f
8d8cb839
EZ
18951;; Local Variables:
18952;; mode: change-log
18953;; left-margin: 8
18954;; fill-column: 74
18955;; version-control: never
18956;; End:
902f2ccb 18957
b811d2c2 18958 Copyright 2014-2020 Free Software Foundation, Inc.
902f2ccb
MC
18959 Copying and distribution of this file, with or without modification,
18960 are permitted provided the copyright notice and this notice are preserved.
This page took 3.726764 seconds and 4 git commands to generate.