gdbserver: Add mechanism to prevent sending T stop packets
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
... / ...
CommitLineData
12020-03-02 Pedro Alves <palves@redhat.com>
2 Tom de Vries <tdevries@suse.de>
3
4 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
5 -prompt prefix, before user_code argument. Add -lbl option likewise.
6 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
7 (gdb_is_target_1): Add -prompt prefix and move to before user_code
8 argument.
9 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
10 have "\r\n" at start-of-line, instead of at end-of-line.
11
122020-02-28 Simon Marchi <simon.marchi@efficios.com>
13
14 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
15 libinproctrace.so.
16
172020-02-28 Luis Machado <luis.machado@linaro.org>
18
19 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
20 to "p/x".
21
222020-02-28 Luis Machado <luis.machado@linaro.org>
23
24 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
25 asm/ptrace.h and error.h.
26
272020-02-28 Tom de Vries <tdevries@suse.de>
28
29 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
30 (struct wrapper, do_something, mundane/symada__cS): Move ...
31 * gdb.base/c-linkage-name-2.c: ... here. New source file.
32 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
33 Update "print symada__cS before partial symtab expansion" regexp.
34 Update breakpoint location. Flush symbol cache after expansion.
35
362020-02-28 Luis Machado <luis.machado@linaro.org>
37
38 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
39
402020-02-27 Tom de Vries <tdevries@suse.de>
41
42 * config/sid.exp: Remove unused globals.
43 * gdb.base/attach.exp: Same.
44 * gdb.base/catch-load.exp: Same.
45 * gdb.base/dbx.exp: Same.
46 * lib/gdb.exp: Same.
47 * lib/mi-support.exp: Same.
48 * lib/prompt.exp: Same.
49
502020-02-27 Tom de Vries <tdevries@suse.de>
51
52 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
53 not set.
54
552020-02-26 Aaron Merey <amerey@redhat.com>
56
57 * gdb.debuginfod: New directory for debuginfod tests.
58 * gdb.debuginfod/main.c: New test file.
59 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
60
612020-02-26 Tom de Vries <tdevries@suse.de>
62
63 PR gdb/25603
64 * gdb.base/persistent-lang.cc: New test.
65 * gdb.base/persistent-lang.exp: New file.
66
672020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
68
69 * gdb.fortran/derived-type-striding.exp: Add a new test.
70 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
71 new test.
72
732020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
74
75 * gdb.base/cached-source-file.exp: Avoid source file paths in test
76 names.
77
782020-02-25 Tom de Vries <tdevries@suse.de>
79
80 PR go/18926
81 * gdb.go/methods.exp: Remove gcc/93866 xfail.
82
832020-02-24 Tom de Vries <tdevries@suse.de>
84
85 PR gdb/25592
86 * gdb.base/info-locals-unused-static-var.c: New test.
87 * gdb.base/info-locals-unused-static-var.exp: New file.
88
892020-02-22 Tom Tromey <tom@tromey.com>
90
91 * gdb.python/tui-window.exp: New file.
92 * gdb.python/tui-window.py: New file.
93
942020-02-22 Tom Tromey <tom@tromey.com>
95
96 PR tui/17850:
97 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
98 tests.
99
1002020-02-22 Tom Tromey <tom@tromey.com>
101
102 * gdb.tui/new-layout.exp: Add sub-layout tests.
103
1042020-02-22 Tom Tromey <tom@tromey.com>
105
106 * gdb.tui/new-layout.exp: New file.
107
1082020-02-22 Tom Tromey <tom@tromey.com>
109
110 * gdb.rust/rust-style.rs: New file.
111 * gdb.rust/rust-style.exp: New file.
112 * gdb.base/style.exp: Test structure printing.
113 * gdb.base/style.c (struct some_struct): New type.
114 (enum etype): New type.
115 (struct_value): New global.
116
1172020-02-21 Tom de Vries <tdevries@suse.de>
118
119 PR go/18926
120 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
121 Remove blanket xfails. Use message argument for gdb_breakpoint.
122 Make continuing to breakpoint test conditional on setting breakpoint.
123 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
124 DW_AT_name attribute. Add xfail for GCC PR93866.
125
1262020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
127
128 * gdb.dwarf2/cpp-linkage-name.c: New file.
129 * gdb.dwarf2/cpp-linkage-name.exp: New file.
130
1312020-02-21 Shahab Vahedi <shahab@synopsys.com>
132
133 * lib/gdb.exp (gdb_wrapper_init): Reset
134 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
135 not exist.
136
1372020-02-20 Tom de Vries <tdevries@suse.de>
138
139 PR go/17018
140 * gdb.go/hello.exp: Copy ...
141 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
142 print of st to print value of global definition. Add xfail for GCC
143 PR93844.
144 * gdb.go/hello.exp: Remove printing of st before definition.
145 * gdb.go/hello.go: Copy ...
146 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
147 to st.
148 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
149
1502020-02-20 Tom de Vries <tdevries@suse.de>
151
152 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
153 (gdb_simple_compile): Handle compile_flags go by using .go extension
154 for source file.
155 * gdb.go/chan.exp: Use support_go_compile.
156 * gdb.go/handcall.exp: Same.
157 * gdb.go/hello.exp: Same.
158 * gdb.go/integers.exp: Same.
159 * gdb.go/max-depth.exp: Same.
160 * gdb.go/methods.exp: Same.
161 * gdb.go/package.exp: Same.
162 * gdb.go/strings.exp: Same.
163 * gdb.go/types.exp: Same.
164 * gdb.go/unsafe.exp: Same.
165
1662020-02-19 Tom de Vries <tdevries@suse.de>
167
168 * gdb.python/lib-types.exp: Make xfail more strict.
169
1702020-02-19 Tom de Vries <tdevries@suse.de>
171
172 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
173
1742020-02-19 Doug Evans <dje@google.com>
175
176 PR rust/25535
177 * gdb.rust/simple.exp: Add test.
178 * gdb.rust/simple.rs: Add test.
179
1802020-02-19 Tom de Vries <tdevries@suse.de>
181
182 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
183 output line-by-line.
184
1852020-02-19 Tom de Vries <tdevries@suse.de>
186
187 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
188
1892020-02-19 Tom de Vries <tdevries@suse.de>
190
191 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
192 prelink.
193
1942020-02-19 Tom de Vries <tdevries@suse.de>
195
196 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
197 (gdb_do_cache): Use gdb_do_cache_wrap.
198 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
199
2002020-02-19 Tom de Vries <tdevries@suse.de>
201
202 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
203 gdb_compile option.
204
2052020-02-18 Simon Marchi <simon.marchi@efficios.com>
206
207 * gdb.base/printcmds.exp (test_print_enums): Update expected
208 output.
209
2102020-02-18 Simon Marchi <simon.marchi@efficios.com>
211
212 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
213 for "unknown".
214
2152020-02-18 Simon Marchi <simon.marchi@efficios.com>
216
217 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
218 enumerator.
219
2202020-02-18 Simon Marchi <simon.marchi@efficios.com>
221
222 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
223 FE_, add FE_NONE.
224 (three): Update.
225 (enum flag_enum_without_zero): New enum.
226 (flag_enum_without_zero): New variable.
227 (enum not_flag_enum): New enum.
228 (three_not_flag): New variable.
229 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
230 (test_print_enums): Add more tests for printing flag enums.
231
2322020-02-18 Tom de Vries <tdevries@suse.de>
233
234 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
235 (gdb_compile_ada): ... here.
236 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
237 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
238
2392020-02-14 Tom Tromey <tom@tromey.com>
240
241 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
242 build directory.
243 * boards/gdbserver-base.exp: Update path to gdbserver.
244
2452020-02-13 Tom de Vries <tdevries@suse.de>
246
247 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
248
2492020-02-13 Tom de Vries <tdevries@suse.de>
250
251 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
252 are missing.
253
2542020-02-13 Tom de Vries <tdevries@suse.de>
255
256 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
257 call.
258
2592020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
260
261 PR tui/25126
262 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
263 * gdb.base/cached-source-file.c: New file.
264 * gdb.base/cached-source-file.exp: New file.
265
2662020-02-11 Tom de Vries <tdevries@suse.de>
267
268 PR testsuite/25488
269 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
270
2712020-02-10 Tom de Vries <tdevries@suse.de>
272
273 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
274
2752020-02-10 Maciej W. Rozycki <macro@wdc.com>
276
277 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
278 and $after_addr are both integers before making a comparison.
279
2802020-02-09 Tom de Vries <tdevries@suse.de>
281
282 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
283 command output and paste it into gdb.log. If any, paste catch message
284 to gdb.log.
285
2862020-02-07 Tom Tromey <tromey@adacore.com>
287
288 PR breakpoints/24915:
289 * gdb.base/annotate-symlink.exp: Use setup_xfail.
290
2912020-02-06 Shahab Vahedi <shahab@synopsys.com>
292
293 * gdb.tui/tui-missing-src.exp: Add the "missing source
294 file" test for the TUI.
295
2962020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
297
298 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
299 including a port number in the output.
300
3012020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
302
303 * lib/fortran.exp (fortran_int4): Handle clang.
304 (fortran_int8): Likewise.
305 (fortran_real4): Likewise.
306 (fortran_real8): Likewise.
307 (fortran_complex4): Likewise.
308 (fortran_logical4): Likewise.
309 (fortran_character1): Likewise.
310
3112020-02-04 Tom de Vries <tdevries@suse.de>
312
313 * README (Race detection): Add note.
314
3152020-02-04 Tom de Vries <tdevries@suse.de>
316
317 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
318
3192020-02-04 Tom de Vries <tdevries@suse.de>
320
321 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
322
3232020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
324
325 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
326 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
327 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
328 blttar, bnetarl.
329 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
330 binary for blttar, bnetarl.
331 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
332 wait instruction. Delete ldmx test.
333 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
334
3352020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
336
337 * gdb.fortran/array-bounds-high.exp: New file.
338 * gdb.fortran/array-bounds-high.f90: New file.
339
3402020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
341
342 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
343 Replace #include of <sys/fcntl.h> by <fcntl.h>.
344
3452020-02-01 Tom de Vries <tdevries@suse.de>
346
347 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
348
3492020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
350
351 PR tui/9765
352 * gdb.tui/tui-layout-asm-short-prog.S: New file.
353 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
354
3552020-01-29 Luis Machado <luis.machado@linaro.org>
356
357 * gdb.arch/aarch64-brk-patterns.c: New source file.
358 * gdb.arch/aarch64-brk-patterns.exp: New test.
359
3602020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
361
362 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
363 GCC/Clang version.
364 * gdb.cp/pass-by-ref.exp: Ditto.
365
3662020-01-29 Tom de Vries <tdevries@suse.de>
367
368 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
369 * gdb.threads/watchpoint-fork-mt.c: Same.
370 * gdb.threads/watchpoint-fork-parent.c: Same.
371 * gdb.threads/watchpoint-fork-st.c: Same.
372 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
373
3742020-01-27 Luis Machado <luis.machado@linaro.org>
375
376 * gdb.base/step-over-syscall.exp (setup): Check if we're already
377 sitting at a syscall instruction when we hit the syscall function's
378 breakpoint.
379 Check PC against one obtained with the x command.
380 Validate syscall number.
381 (step_over_syscall): Don't continue to the syscall instruction if
382 we're already there.
383
3842020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
385
386 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
387
3882020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
389
390 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
391 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
392
3932020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
394
395 * gdb.dwarf2/dw2-inline-stepping.c: New file.
396 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
397
3982020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
399
400 * gdb.base/maint.exp: Update line table parsing test.
401 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
402
4032020-01-24 Pedro Alves <palves@redhat.com>
404
405 PR gdb/25410
406 * gdb.multi/multi-re-run-1.c: New.
407 * gdb.multi/multi-re-run-2.c: New.
408 * gdb.multi/multi-re-run.exp: New.
409
4102020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
411
412 PR gdb/23718
413 * gdb.server/server-kill-python.exp: New file.
414
4152020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
416
417 * gdb.server/multi-ui-errors.c: New file.
418 * gdb.server/multi-ui-errors.exp: New file.
419
4202020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
421
422 PR tui/9765
423 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
424
4252020-01-19 Tom Tromey <tom@tromey.com>
426
427 * gdb.tui/main.exp: Add check for plain "file".
428
4292020-01-16 Christian Biesinger <cbiesinger@google.com>
430
431 * lib/gdb.exp: Fix spelling error (seperatelly).
432
4332020-01-14 Tom Tromey <tom@tromey.com>
434
435 PR symtab/12535:
436 * gdb.python/python.exp: Test decode_line with empty string
437 argument.
438
4392020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
440
441 * gdb.base/skip-inline.exp: Extend test.
442
4432020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
444
445 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
446 * gdb.dwarf2/dw2-bad-elf.c: New file.
447 * gdb.dwarf2/dw2-bad-elf.exp: New file.
448
4492020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
450
451 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
452 _line_saw_file.
453
4542020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
455
456 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
457 border.
458
4592020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
460
461 * gdb.multi/multi-target.exp (setup): Factor out "info
462 connections" and "info inferiors" tests to ...
463 (test_info_inferiors): ... this new procedure.
464 (top level): Run new "info-inferiors" tests.
465
4662020-01-10 Pedro Alves <palves@redhat.com>
467
468 * gdb.server/bkpt-other-inferior.exp: New file.
469
4702020-01-10 Pedro Alves <palves@redhat.com>
471
472 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
473 of "add-inferior".
474 * gdb.base/quit-live.exp: Likewise.
475 * gdb.base/remote-exec-file.exp: Likewise.
476 * gdb.guile/scm-progspace.exp: Likewise.
477 * gdb.linespec/linespec.exp: Likewise.
478 * gdb.mi/new-ui-mi-sync.exp: Likewise.
479 * gdb.mi/user-selected-context-sync.exp: Likewise.
480 * gdb.multi/multi-target.exp (setup): Add "info connection" and
481 "info inferiors" tests.
482 * gdb.multi/remove-inferiors.exp: Adjust expected output of
483 "add-inferior".
484 * gdb.multi/watchpoint-multi.exp: Likewise.
485 * gdb.python/py-inferior.exp: Likewise.
486 * gdb.server/extended-remote-restart.exp: Likewise.
487 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
488 "info inferiors".
489 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
490 * gdb.trace/report.exp: Likewise.
491
4922020-01-10 Pedro Alves <palves@redhat.com>
493
494 * gdb.multi/multi-target.c: New file.
495 * gdb.multi/multi-target.exp: New file.
496 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
497 mode requested, but remote does not support non-stop".
498
4992020-01-10 Pedro Alves <palves@redhat.com>
500
501 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
502 disconnect before reconnecting.
503
5042020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
505 Pedro Alves <palves@redhat.com>
506
507 * gdb.server/connect-without-multi-process.exp: Also test
508 continuing to end.
509
5102020-01-10 Pedro Alves <palves@redhat.com>
511
512 * gdb.base/remote-exec-file.exp: New file.
513
5142020-01-10 Pedro Alves <palves@redhat.com>
515
516 * gdb.base/fork-running-state.exp (do_test): Adjust expected
517 output.
518 * gdb.threads/async.c: New.
519 * gdb.threads/async.exp: New.
520 * gdb.multi/tids-gid-reset.c: New.
521 * gdb.multi/tids-gid-reset.exp: New.
522
5232020-01-10 George Barrett <bob@bob131.so>
524
525 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
526 to help in finding the image relocation offset.
527 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
528 options in arguments.
529 (stap_test_no_debuginfo): Likewise.
530 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
531 test variants.
532 (stap_test): Add null semaphore relocation test.
533
5342020-01-10 George Barrett <bob@bob131.so>
535
536 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
537 * gdb.base/stap-probe.exp: Likewise.
538 (stap_test): Pass argument as an additional flag.
539 (stap_test_no_debuginfo): Likewise.
540 (stap_test): Check `info probes stap' output for semaphore
541 addresses if the test binary is supposed to have them.
542
5432020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
544
545 * gdb.tui/basic.exp: Add more scrolling tests.
546
5472020-01-09 Tom Tromey <tom@tromey.com>
548
549 PR tui/18932:
550 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
551 meangingful value.
552 (Term::command, Term::resize): Update.
553 * gdb.tui/basic.exp: Add scrolling test.
554
5552020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
556
557 * gdb.tui/tui-layout-asm.exp: New file.
558
5592020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
560
561 * lib/tuiterm.exp (Term::check_box_contents): New proc.
562
5632020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
564
565 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
566 (Term::enter_tui): Use Term::prepare_for_tui.
567
5682020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
569
570 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
571 called.
572
5732020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
574
575 * gdb.base/skip.exp: Fix race condition in test.
576
5772020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
578
579 * gdb.base/backtrace.c: New file.
580 * gdb.base/backtrace.exp: New file.
581
5822020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
583
584 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
585
5862020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
587
588 * gdb.base/style.exp: Test that warnings are styled.
589
5902019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
591
592 * gdb.base/line65535.exp: New file.
593 * gdb.base/line65535.c: New file.
594
5952019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
596
597 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
598 * lib/gnat_debug_info_test.adb: New file.
599 * gdb.ada/ptype_tagged_param.exp: Use
600 gnat_runtime_has_debug_info, expect a different output if
601 runtime does not have debug info.
602
6032019-12-20 Simon Marchi <simon.marchi@efficios.com>
604
605 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
606 (another) quote in test name.
607
6082019-12-20 Simon Marchi <simon.marchi@efficios.com>
609
610 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
611 Add quote in test name.
612
6132019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
614
615 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
616 directory instead.
617 * gdb.cp/pass-by-ref.exp: Extend with more cases.
618 * gdb.cp/pass-by-ref-2.cc: New file.
619 * gdb.cp/pass-by-ref-2.exp: New file.
620
6212019-12-20 Tom Tromey <tom@tromey.com>
622
623 * gdb.tui/list-before.exp: New file.
624
6252019-12-20 Tom Tromey <tom@tromey.com>
626
627 * gdb.tui/list.exp: Check for source on initial listing.
628
6292019-12-11 Tom Tromey <tromey@adacore.com>
630
631 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
632 Add crlf test.
633
6342019-12-18 Simon Marchi <simon.marchi@efficios.com>
635
636 * gdb.base/default.exp: Update value of $_gdb_major.
637
6382019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
639
640 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
641
6422019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
643
644 * gdb.base/skip.exp: Whitespace fix.
645
6462019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
647
648 * gdb.base/skip-inline.c: New file.
649 * gdb.base/skip-inline.exp: New file.
650
6512019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
652
653 * gdb.base/jit-reader.exp (jit_reader_test): Rename
654 jit_function_00 to jit_function_stack_mangle.
655 * gdb.base/jithost.c (jit_function_t): Rename to...
656 (jit_function_stack_mangle_t): ... this.
657 (jit_function_add_t): New typedef.
658 (jit_function_00_code): Rename to...
659 (jit_function_stack_mangle_code): ... this, make static.
660 (jit_function_add_code): New.
661 (main): Generate "add" function and call it. Adjust to changes
662 in jithost_abi.
663 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
664 (struct jithost_abi) <begin, end>: Remove fields.
665 <object, function_stack_mangle, function_add>: New fields.
666 * gdb.base/jitreader.c (struct reader_state) <code_begin,
667 code_end>: Remove fields.
668 <func_stack_mangle>: New field.
669 (read_debug_info): Adjust to renaming, create block for "add"
670 function.
671 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
672
6732019-12-11 Tom Tromey <tom@tromey.com>
674
675 * gdb.tui/resize.exp: Fix regexp.
676 * gdb.tui/regs.exp: Fix regexps.
677 * gdb.tui/main.exp: Fix regexp.
678
6792019-12-11 Tom Tromey <tom@tromey.com>
680
681 * gdb.tui/resize.exp: Update.
682 * gdb.tui/empty.exp (layouts): Update.
683
6842019-12-11 Tom Tromey <tom@tromey.com>
685
686 * gdb.tui/regs.exp: Update.
687 * gdb.tui/empty.exp (layouts): Update.
688 * gdb.tui/basic.exp: Update.
689 * lib/tuiterm.exp (_check_box): Don't check bottom border.
690
6912019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
692
693 * gdb.base/options.exp: Add -raw-values in the print completion list.
694 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
695
6962019-12-10 Kevin Buettner <kevinb@redhat.com>
697
698 * gdb.threads/omp-par-scope.c: New file.
699 * gdb/threads/omp-par-scope.exp: New file.
700
7012019-12-10 Kevin Buettner <kevinb@redhat.com>
702
703 * lib/gdb.exp (support_nested_function_tests): New proc.
704
7052019-12-10 Kevin Buettner <kevinb@redhat.com>
706
707 * lib/gdb.exp (gdb_compile_openmp): New proc.
708 (build_executable_from_specs): Add an "openmp" option.
709 (gdb_compile_pthreads): Add non-executable case.
710
7112019-12-10 Tom Tromey <tromey@adacore.com>
712
713 * gdb.ada/unchecked_union.exp: New file.
714 * gdb.ada/unchecked_union/pck.adb: New file.
715 * gdb.ada/unchecked_union/pck.ads: New file.
716 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
717 * gdb-utils.exp (string_to_regexp): Also quote "?".
718
7192019-12-10 George Barrett <bob@bob131.so>
720
721 Test scripted probe breakpoints.
722 * gdb.guile/scm-breakpoint.c (main): Add probe point.
723 * gdb.python/py-breakpoint.c (main): Likewise.
724 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
725 specifier test.
726 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
727
7282019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
729
730 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
731 an rvalue parameter.
732 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
733 parameter.
734
7352019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
736
737 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
738 modules.
739
7402019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
741
742 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
743 broken version of GCC.
744
7452019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
746
747 * gdb.fortran/info-modules.exp: Rewrite to make use of new
748 sym-info-cmds library.
749 * gdb.fortran/info-types.exp: Likewise.
750 * lib/sym-info-cmds.exp: New file.
751
7522019-12-08 Tom de Vries <tdevries@suse.de>
753
754 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
755
7562019-12-07 Keith Seitz <keiths@redhat.com>
757
758 * gdb.base/corefile-buildid-shlib-shr.c: New file.
759 * gdb.base/corefile-buildid-shlib.c: New file.
760 * gdb.base/corefile-buildid.c: New file.
761 * gdb.base/corefile-buildid.exp: New file.
762
7632019-12-06 Tom de Vries <tdevries@suse.de>
764
765 * gdb.dwarf2/varval.exp: Add decl before def test.
766
7672019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
768
769 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
770
7712019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
772
773 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
774 CV and reference conversion for overload resolution.
775 * gdb.cp/rvalue-ref-overload.exp: Test it.
776
7772019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
778
779 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
780 * gdb.base/frameapply.exp: Test faas without command.
781
7822019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
783
784 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
785 Fortran tests.
786 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
787 order.
788
7892019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
790
791 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
792 casting to type with no kind specified.
793 (test_basic_parsing_of_type_kinds): Additional tests for types
794 with no kind specified, and add tests for single/double
795 precision/complex types.
796
7972019-12-04 Tom Tromey <tromey@adacore.com>
798
799 * gdb.base/endianity.c (struct other) <x>: New field.
800 (main): Initialize it.
801 * gdb.base/endianity.exp: Update.
802
8032019-12-04 Tom Tromey <tromey@adacore.com>
804
805 * gdb.ada/scalar_storage/storage.adb: New file.
806 * gdb.ada/scalar_storage/pck.adb: New file.
807 * gdb.ada/scalar_storage/pck.ads: New file.
808 * gdb.ada/scalar_storage.exp: New file.
809
8102019-12-04 Tom Tromey <tromey@adacore.com>
811
812 * gdb.base/endianity.c (struct otherendian) <f>: New field.
813 (main): Initialize it.
814 * gdb.base/endianity.exp: Update.
815
8162019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
817
818 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
819
8202019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
821
822 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
823 -symbol-info-module-functions and -symbol-info-module-variables.
824
8252019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
826
827 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
828
8292019-12-01 Richard Bunt <richard.bunt@arm.com>
830 Andrew Burgess <andrew.burgess@embecosm.com>
831
832 * gdb.fortran/derived-type-striding.exp: New file.
833 * gdb.fortran/derived-type-striding.f90: New file.
834 * gdb.fortran/array-slices.exp: New file.
835 * gdb.fortran/array-slices.f90: New file.
836
8372019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
838
839 * gdb.base/define.exp: Test . in command names.
840 * gdb.base/setshow.exp: Update test, as . is now part of
841 command name.
842
8432019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
844
845 * gdb.base/define-prefix.exp: New file.
846
8472019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
848
849 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
850 compile.
851 (skip_btrace_pt_tests): Likewise.
852
8532019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
854
855 * gdb.fortran/info-modules.exp: Compile source files in correct
856 order.
857
8582019-11-27 Kevin Buettner <kevinb@redhat.com>
859
860 * gdb.dwarf2/imported-unit.exp: New file.
861 * gdb.dwarf2/imported-unit.c: New file.
862
8632019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
864
865 * gdb.mi/mi-fortran-modules-2.f90: New file.
866 * gdb.mi/mi-fortran-modules.exp: New file.
867 * gdb.mi/mi-fortran-modules.f90: New file.
868
8692019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
870
871 * gdb.mi/mi-sym-info-1.c: New file.
872 * gdb.mi/mi-sym-info-2.c: New file.
873 * gdb.mi/mi-sym-info.exp: New file.
874
8752019-11-22 Tom Tromey <tromey@adacore.com>
876
877 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
878 * gdb.ada/tasks/foo.adb: Add another stopping location.
879
8802019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
881
882 * gdb.base/endianity.c: New test.
883 * gdb.base/endianity.exp: New file.
884
8852019-11-21 Lukas Durfina <ldurfina@tachyum.com>
886
887 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
888
8892019-11-21 Tom de Vries <tdevries@suse.de>
890
891 PR gdb/24956
892 * gdb.base/ui-redirect.exp: Test output of user-defined command.
893
8942019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
895
896 * gdb.python/py-progspace.exp: Add missing parentheses on some
897 'print' commands.
898
8992019-11-19 Tom Tromey <tom@tromey.com>
900
901 * gdb.tui/winheight.exp: New file.
902
9032019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
904
905 * gdb.base/ctf-whatis.c: Delete.
906 * gdb.base/ctf-whatis.exp: Delete.
907 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
908
9092019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
910
911 * gdb.base/ctf-cvexpr.exp: Delete.
912 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
913
9142019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
915
916 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
917 the compiler. Clean up header comment a little.
918 * gdb.base/ctf-ptype.exp: Likewise.
919 * gdb.base/ctf-whatis.exp: Likewise.
920 * lib/gdb.exp (skip_ctf_tests): New proc.
921
9222019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
923
924 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
925 * gdb.tui/corefile-run.exp: New file.
926
9272019-11-14 Tom Tromey <tromey@adacore.com>
928
929 * gdb.base/gdbvars.exp (test_convenience_variables): Add
930 regression tests.
931
9322019-11-12 Tom Tromey <tom@tromey.com>
933
934 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
935 after any command. Expect prompt after WAIT_FOR is seen.
936 (enter_tui): Enable resize messages.
937 (command): Expect command in output.
938 (get_line): Avoid error when cursor appears to be off-screen.
939 (dump_screen): Include screen size in title.
940 (_do_resize): New proc, from "resize".
941 (resize): Rewrite. Do resize in two steps.
942 * gdb.tui/empty.exp (layouts): Fix entries.
943 (check_boxes): Remove xfail.
944 (check_text): Dump screen on failure.
945
9462019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
947
948 * gdb.python/py-symbol.exp: Add test for
949 gdb.lookup_static_symbols.
950
9512019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
952
953 * gdb.python/py-symbol.c: Declare and call function from new
954 py-symbol-2.c file.
955 * gdb.python/py-symbol.exp: Compile both source files, and add new
956 tests for gdb.lookup_static_symbol.
957 * gdb.python/py-symbol-2.c: New file.
958
9592019-11-02 Tom de Vries <tdevries@suse.de>
960
961 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
962 * gdb.base/anon.exp: Same.
963 * gdb.base/auto-connect-native-target.exp: Same.
964 * gdb.base/call-ar-st.exp: Same.
965 * gdb.base/catch-syscall.exp: Same.
966 * gdb.base/commands.exp: Same.
967 * gdb.base/default.exp: Same.
968 * gdb.base/display.exp: Same.
969 * gdb.base/float.exp: Same.
970 * gdb.base/foll-fork.exp: Same.
971 * gdb.base/help.exp: Same.
972 * gdb.base/info-macros.exp: Same.
973 * gdb.base/info-proc.exp: Same.
974 * gdb.base/info-target.exp: Same.
975 * gdb.base/long_long.exp: Same.
976 * gdb.base/macscp.exp: Same.
977 * gdb.base/memattr.exp: Same.
978 * gdb.base/nofield.exp: Same.
979 * gdb.base/pointers.exp: Same.
980 * gdb.base/printcmds.exp: Same.
981 * gdb.base/ptype.exp: Same.
982 * gdb.base/restore.exp: Same.
983 * gdb.base/return.exp: Same.
984 * gdb.base/scope.exp: Same.
985 * gdb.base/set-noassign.exp: Same.
986 * gdb.base/setshow.exp: Same.
987 * gdb.base/shlib-call.exp: Same.
988 * gdb.base/signals.exp: Same.
989 * gdb.base/sigstep.exp: Same.
990 * gdb.base/skip.exp: Same.
991 * gdb.base/solib-symbol.exp: Same.
992 * gdb.base/stap-probe.exp: Same.
993 * gdb.base/step-line.exp: Same.
994 * gdb.base/step-test.exp: Same.
995 * gdb.base/style.exp: Same.
996 * gdb.base/varargs.exp: Same.
997 * gdb.base/vla-datatypes.exp: Same.
998 * gdb.base/vla-ptr.exp: Same.
999 * gdb.base/vla-sideeffect.exp: Same.
1000 * gdb.base/volatile.exp: Same.
1001 * gdb.base/watch-cond-infcall.exp: Same.
1002 * gdb.base/watchpoint.exp: Same.
1003
10042019-11-02 Tom de Vries <tdevries@suse.de>
1005
1006 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
1007 * gdb.cp/cpexprs.exp: Same.
1008 * gdb.cp/except-multi-location.exp: Same.
1009 * gdb.cp/exceptprint.exp: Same.
1010 * gdb.cp/gdb2384.exp: Same.
1011 * gdb.cp/inherit.exp: Same.
1012 * gdb.cp/m-static.exp: Same.
1013 * gdb.cp/meth-typedefs.exp: Same.
1014 * gdb.cp/misc.exp: Same.
1015 * gdb.cp/namespace.exp: Same.
1016 * gdb.cp/non-trivial-retval.exp: Same.
1017 * gdb.cp/overload.exp: Same.
1018 * gdb.cp/pr17132.exp: Same.
1019 * gdb.cp/re-set-overloaded.exp: Same.
1020 * gdb.cp/rvalue-ref-types.exp: Same.
1021 * gdb.cp/templates.exp: Same.
1022
10232019-11-01 Luis Machado <luis.machado@linaro.org>
1024
1025 PR gdb/25124
1026
1027 * gdb.arch/pr25124.S: New file.
1028 * gdb.arch/pr25124.exp: New file.
1029
10302019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1031
1032 * gdb.fortran/info-modules.exp: Update expected results, and add
1033 additional tests for 'info module functinos', and 'info module
1034 variables'.
1035 * gdb.fortran/info-types.exp: Update expected results.
1036 * gdb.fortran/info-types.f90: Extend testcase with additional
1037 module variables and functions.
1038
10392019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1040
1041 * gdb.fortran/info-modules.exp: New file.
1042 * gdb.fortran/info-types.exp: Build with new file.
1043 * gdb.fortran/info-types.f90: Include and use new module.
1044 * gdb.fortran/info-types-2.f90: New file.
1045
10462019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1047
1048 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
1049 * gdb.base/settings.exp: Test all settings types using
1050 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
1051 that now verifies that the value of "maint show" is the same as
1052 returned by the settings functions. Test the type of the
1053 maintenance settings.
1054 * gdb.base/default.exp: Update show_conv_list.
1055
10562019-10-31 Tom de Vries <tdevries@suse.de>
1057
1058 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
1059 gdb_test.
1060 * gdb.arch/amd64-disp-step.exp: Same.
1061 * gdb.asm/asm-source.exp: Same.
1062 * gdb.btrace/buffer-size.exp: Same.
1063 * gdb.btrace/cpu.exp: Same.
1064 * gdb.btrace/enable.exp: Same.
1065 * gdb.dwarf2/count.exp: Same.
1066 * gdb.dwarf2/dw2-ranges-func.exp: Same.
1067 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
1068 * gdb.fortran/vla-datatypes.exp: Same.
1069 * gdb.fortran/vla-history.exp: Same.
1070 * gdb.fortran/vla-ptype.exp: Same.
1071 * gdb.fortran/vla-value.exp: Same.
1072 * gdb.fortran/whatis_type.exp: Same.
1073 * gdb.guile/guile.exp: Same.
1074 * gdb.multi/tids.exp: Same.
1075 * gdb.python/py-finish-breakpoint.exp: Same.
1076 * gdb.python/py-framefilter.exp: Same.
1077 * gdb.python/py-pp-registration.exp: Same.
1078 * gdb.python/py-xmethods.exp: Same.
1079 * gdb.python/python.exp: Same.
1080 * gdb.server/connect-with-no-symbol-file.exp: Same.
1081 * gdb.server/no-thread-db.exp: Same.
1082 * gdb.server/run-without-local-binary.exp: Same.
1083 * gdb.stabs/weird.exp: Same.
1084 * gdb.threads/attach-many-short-lived-threads.exp: Same.
1085 * gdb.threads/thread-find.exp: Same.
1086 * gdb.threads/tls-shared.exp: Same.
1087 * gdb.threads/tls.exp: Same.
1088 * gdb.threads/wp-replication.exp: Same.
1089 * gdb.trace/ax.exp: Same.
1090 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
1091
10922019-10-31 Tom de Vries <tdevries@suse.de>
1093
1094 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
1095 * gdb.ada/array_subscript_addr.exp: Same.
1096 * gdb.ada/arrayidx.exp: Same.
1097 * gdb.ada/arrayparam.exp: Same.
1098 * gdb.ada/arrayptr.exp: Same.
1099 * gdb.ada/boolean_expr.exp: Same.
1100 * gdb.ada/call_pn.exp: Same.
1101 * gdb.ada/complete.exp: Same.
1102 * gdb.ada/fixed_cmp.exp: Same.
1103 * gdb.ada/fun_addr.exp: Same.
1104 * gdb.ada/funcall_param.exp: Same.
1105 * gdb.ada/interface.exp: Same.
1106 * gdb.ada/mod_from_name.exp: Same.
1107 * gdb.ada/null_array.exp: Same.
1108 * gdb.ada/packed_array.exp: Same.
1109 * gdb.ada/packed_tagged.exp: Same.
1110 * gdb.ada/print_chars.exp: Same.
1111 * gdb.ada/print_pc.exp: Same.
1112 * gdb.ada/ptype_arith_binop.exp: Same.
1113 * gdb.ada/ptype_field.exp: Same.
1114 * gdb.ada/ptype_tagged_param.exp: Same.
1115 * gdb.ada/rec_return.exp: Same.
1116 * gdb.ada/ref_tick_size.exp: Same.
1117 * gdb.ada/str_ref_cmp.exp: Same.
1118 * gdb.ada/taft_type.exp: Same.
1119 * gdb.ada/tagged.exp: Same.
1120 * gdb.ada/type_coercion.exp: Same.
1121 * gdb.ada/uninitialized_vars.exp: Same.
1122
11232019-10-30 Tom de Vries <tdevries@suse.de>
1124
1125 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
1126
11272019-10-26 Tom de Vries <tdevries@suse.de>
1128
1129 * gdb.base/bigcore.c: Fix typos in comments.
1130 * gdb.base/ctf-ptype.c: Same.
1131 * gdb.base/long_long.c: Same.
1132 * gdb.dwarf2/dw2-op-out-param.S: Same.
1133 * gdb.python/py-evthreads.c: Same.
1134 * gdb.reverse/i387-stack-reverse.c: Same.
1135 * gdb.trace/tfile.c: Same.
1136 * lib/compiler.c: Same.
1137 * lib/compiler.cc: Same.
1138
11392019-10-25 Tom de Vries <tdevries@suse.de>
1140
1141 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
1142 gdb_test_multiple calls.
1143 * gdb.reverse/sigall-reverse.exp: Same.
1144 * gdb.reverse/solib-precsave.exp: Same.
1145 * gdb.reverse/solib-reverse.exp: Same.
1146 * gdb.reverse/until-precsave.exp: Same.
1147 * gdb.reverse/until-reverse.exp: Same.
1148
11492019-10-24 Tom de Vries <tdevries@suse.de>
1150
1151 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
1152 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
1153 kfail using -wrap pattern flag and convenience variable
1154 gdb_test_name.
1155
11562019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
1157
1158 * gdb.python/py-progspace.exp: Add tests for the
1159 Progspace.block_for_pc method.
1160
11612019-10-23 Tom Tromey <tom@tromey.com>
1162
1163 * configure: Rebuild.
1164 * aclocal.m4: Use m4_include, not sinclude.
1165
11662019-10-21 Tom de Vries <tdevries@suse.de>
1167
1168 * gdb.base/infcall-nested-structs.c: Add
1169 __attribute__((noinline,noclone)) to all functions.
1170 (call_all): Add missing variable initialization. Simplify return value.
1171 (breakpt): Increment volatile variable, to prevent call from being
1172 optimized out.
1173 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
1174
11752019-10-17 Tom de Vries <tdevries@suse.de>
1176
1177 * gdb.fortran/module.exp: Allow info variables to print info for files
1178 other than module.f90.
1179
11802019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
1181
1182 * gdb.fortran/module.exp: Extend with 'info variables' test.
1183
11842019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
1185
1186 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
1187 F77_FOR_TARGET.
1188
11892019-10-16 Tom de Vries <tdevries@suse.de>
1190
1191 PR tdep/25096
1192 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
1193
11942019-10-16 Tom de Vries <tdevries@suse.de>
1195
1196 PR tdep/24104
1197 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
1198 Add KFAIL for PR tdep/25096.
1199
12002019-10-16 Tom de Vries <tdevries@suse.de>
1201
1202 PR testsuite/25059
1203 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
1204
12052019-10-16 Tom de Vries <tdevries@suse.de>
1206
1207 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
1208 as signed.
1209
12102019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
1211
1212 * gdb.mi/list-thread-groups-available.exp: Read entries one by
1213 one instead of increasing timeout.
1214
12152019-10-13 Tom de Vries <tdevries@suse.de>
1216
1217 PR record/25038
1218 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
1219 * gdb.reverse/sigall-reverse.exp: Same.
1220 * gdb.reverse/solib-precsave.exp: Same.
1221 * gdb.reverse/solib-reverse.exp: Same.
1222 * gdb.reverse/step-precsave.exp: Same.
1223 * gdb.reverse/until-precsave.exp: Same.
1224 * gdb.reverse/until-reverse.exp: Same.
1225 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
1226
12272019-10-10 Andreas Arnez <arnez@linux.ibm.com>
1228
1229 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
1230 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
1231 (cmp_struct_05_01, cmp_struct_static_02_01)
1232 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
1233 comparisons.
1234
12352019-10-10 Tom de Vries <tdevries@suse.de>
1236
1237 PR testsuite/24888
1238 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
1239 gnatlink.
1240
12412019-10-09 Tom de Vries <tdevries@suse.de>
1242
1243 PR testsuite/25048
1244 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
1245
12462019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
1247
1248 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
1249 exceptions due to missing debug information.
1250
12512019-10-07 Tom de Vries <tdevries@suse.de>
1252
1253 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
1254
12552019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
1256
1257 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
1258 * gdb.base/annota1.exp: Update to use gdb_test_name.
1259
12602019-10-07 Weimin Pan <weimin.pan@oracle.com>
1261
1262 * gdb.base/ctf-whatis.exp: New file.
1263 * gdb.base/ctf-whatis.c: New file.
1264 * gdb.base/ctf-ptype.exp: New file.
1265 * gdb.base/ctf-ptype.c: New file.
1266 * gdb.base/ctf-constvars.exp: New file.
1267 * gdb.base/ctf-constvars.c: New file.
1268 * gdb.base/ctf-cvexpr.exp: New file.
1269
12702019-10-04 Tom de Vries <tdevries@suse.de>
1271
1272 * gdb.cp/local-static.c (main): Move declaration of int i out of the
1273 for loop.
1274
12752019-10-03 Tom Tromey <tom@tromey.com>
1276
1277 PR rust/24976:
1278 * gdb.rust/simple.rs (Union2): New type.
1279 (main): Use Union2.
1280 * gdb.rust/simple.exp: Add test.
1281
12822019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1283
1284 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
1285 nested function prefix.
1286
12872019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
1288 Richard Bunt <richard.bunt@arm.com>
1289 Andrew Burgess <andrew.burgess@embecosm.com>
1290
1291 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
1292 nested functions.
1293 * gdb.fortran/nested-funcs.f90: Update expected results.
1294 * gdb.fortran/nested-funcs-2.exp: New file.
1295 * gdb.fortran/nested-funcs-2.f90: New file.
1296
12972019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1298
1299 * gdb.python/py-parameter.exp: Make test names unique.
1300 * gdb.python/py-template.exp: Likewise.
1301 * gdb.python/py-value.exp: Likewise.
1302
13032019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1304
1305 * gdb.base/break-interp.exp: Reduce test name duplication.
1306 * gdb.base/call-sc.exp: Likewise.
1307 * gdb.base/callfuncs.exp: Likewise.
1308 * gdb.base/charset.exp: Likewise.
1309 * gdb.base/dump.exp: Likewise.
1310 * gdb.base/ena-dis-br.exp: Likewise.
1311 * gdb.base/relational.exp: Likewise.
1312 * gdb.base/step-over-syscall.exp: Likewise.
1313 * gdb.base/structs.exp: Likewise.
1314
13152019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1316
1317 * gdb.linespec/explicit.exp: Make test names unique.
1318 * gdb.linespec/ls-errs.exp: Likewise.
1319
13202019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1321
1322 * gdb.reverse/break-precsave.exp: Make test names unique.
1323 * gdb.reverse/break-reverse.exp: Likewise.
1324 * gdb.reverse/finish-precsave.exp: Likewise.
1325 * gdb.reverse/finish-reverse.exp: Likewise.
1326 * gdb.reverse/machinestate-precsave.exp: Likewise.
1327 * gdb.reverse/machinestate.exp: Likewise.
1328 * gdb.reverse/readv-reverse.exp: Likewise.
1329 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1330 * gdb.reverse/sigall-precsave.exp: Likewise.
1331 * gdb.reverse/sigall-reverse.exp: Likewise.
1332 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
1333 * gdb.reverse/watch-precsave.exp: Likewise.
1334 * gdb.reverse/watch-reverse.exp: Likewise.
1335
13362019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1337
1338 * gdb.threads/stop-with-handle.c: New file.
1339 * gdb.threads/stop-with-handle.exp: New file.
1340
13412019-10-03 Tom de Vries <tdevries@suse.de>
1342
1343 PR testsuite/25059
1344 * gdb.base/list-missing-source.exp: Allowing the "Compilation
1345 directory" line to be missing.
1346
13472019-10-03 Tom de Vries <tdevries@suse.de>
1348
1349 PR testsuite/25059
1350 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
1351 type optional.
1352
13532019-10-02 Andreas Arnez <arnez@linux.ibm.com>
1354
1355 * gdb.python/py-format-string.c (string.h): New include.
1356 (main): Fill a_struct_with_union.the_union.an_int with bytes of
1357 the same value, for endianness-independence.
1358 * gdb.python/py-format-string.exp (default_regexp_dict)
1359 (test_pretty_structs, test_format): Adjust expected output to the
1360 changed initialization.
1361
13622019-10-02 Tom Tromey <tromey@adacore.com>
1363
1364 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
1365
13662019-10-02 Pedro Alves <palves@redhat.com>
1367 Andrew Burgess <andrew.burgess@embecosm.com>
1368
1369 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
1370 "print-file-var.h".
1371 (this_version_id) Use ATTRIBUTE_VISIBILITY.
1372 (get_version_1): Print this_version_id and its address.
1373 Add extern "C" wrappers around interface functions.
1374 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
1375 "print-file-var.h".
1376 (this_version_id) Use ATTRIBUTE_VISIBILITY.
1377 (get_version_2): Print this_version_id and its address.
1378 Add extern "C" wrappers around interface functions.
1379 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
1380 <stddef.h> and "print-file-var.h".
1381 Add extern "C" wrappers around interface functions.
1382 [VERSION_ID_MAIN] (this_version_id): Define.
1383 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
1384 * gdb.base/print-file-var.h: Add some #defines to simplify setting
1385 up extern "C" blocks.
1386 * gdb.base/print-file-var.exp (test): New, factored out from top
1387 level.
1388 (top level): Test all combinations of attribute hidden or not,
1389 dlopen or not, and this_version_id symbol in main file or not.
1390 Compile tests as both C++ and C, make test names unique.
1391
13922019-10-01 Tom Tromey <tom@tromey.com>
1393
1394 * gdb.base/style.exp: Test "show logging filename".
1395
13962019-10-01 Tom Tromey <tom@tromey.com>
1397
1398 * lib/gdb-utils.exp (style): Handle "metadata" argument.
1399 * gdb.base/style.exp: Add metadata style test.
1400
14012019-10-01 Tom Tromey <tom@tromey.com>
1402
1403 * gdb.base/style.exp: Test "pwd".
1404
14052019-10-01 Tom Tromey <tom@tromey.com>
1406
1407 * gdb.base/style.exp: Update tests.
1408
14092019-10-01 Andreas Arnez <arnez@linux.ibm.com>
1410
1411 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
1412 'six' to unsigned.
1413 (s1): Initialize fields 'four' and 'six' instead of 'three' and
1414 'five'. Use an all-ones bit pattern for each.
1415 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
1416 to its changed values.
1417
14182019-09-30 Tom Tromey <tromey@adacore.com>
1419
1420 * gdb.rust/traits.rs: Disable all warnings.
1421
14222019-09-29 Tom de Vries <tdevries@suse.de>
1423
1424 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
1425
14262019-09-29 Tom de Vries <tdevries@suse.de>
1427
1428 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
1429
14302019-09-27 Tom de Vries <tdevries@suse.de>
1431
1432 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
1433
14342019-09-27 Tom de Vries <tdevries@suse.de>
1435
1436 PR record/23188
1437 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
1438
14392019-09-26 Tom Tromey <tromey@adacore.com>
1440
1441 * gdb.ada/py_taft.exp: New file.
1442 * gdb.ada/py_taft/main.adb: New file.
1443 * gdb.ada/py_taft/pkg.adb: New file.
1444 * gdb.ada/py_taft/pkg.ads: New file.
1445
14462019-09-24 Tom de Vries <tdevries@suse.de>
1447
1448 PR gdb/24598
1449 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
1450
14512019-09-22 Tom de Vries <tdevries@suse.de>
1452
1453 * gdb.base/restore.exp: Allow register variables to be optimized out at
1454 -O0.
1455
14562019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
1457
1458 * gdb.arch/spu-info.exp: Remove file.
1459 * gdb.arch/spu-info.c: Remove file.
1460 * gdb.arch/spu-ls.exp: Remove file.
1461 * gdb.arch/spu-ls.c: Remove file.
1462
1463 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
1464 * gdb.asm/spu.inc: Remove file.
1465
1466 * gdb.base/dump.exp: Remove support for spu*-*-*.
1467 * gdb.base/stack-checking.exp: Likewise.
1468 * gdb.base/overlays.exp: Likewise.
1469 * gdb.base/ovlymgr.c: Likewise.
1470 * gdb.base/spu.ld: Remove file.
1471
1472 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
1473 * gdb.cp/cpexprs.exp: Likewise.
1474 * gdb.cp/exception.exp: Likewise.
1475 * gdb.cp/gdb2495.exp: Likewise.
1476 * gdb.cp/mb-templates.exp: Likewise.
1477 * gdb.cp/pr9167.exp: Likewise.
1478 * gdb.cp/userdef.exp: Likewise.
1479
1480 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
1481
1482 * gdb.cell: Remove directory.
1483 * lib/cell.exp: Remove file.
1484
14852019-09-19 Tom de Vries <tdevries@suse.de>
1486
1487 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
1488
14892019-09-19 Tom de Vries <tdevries@suse.de>
1490
1491 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
1492
14932019-09-19 Tom de Vries <tdevries@suse.de>
1494
1495 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
1496 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
1497 (gdb_target_cmd): ... here.
1498 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
1499 value 2.
1500
15012019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
1502
1503 * gdb.base/source-dir.exp: Avoid having directory names in test
1504 names.
1505
15062019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
1507
1508 * gdb.base/source-dir.exp: Add extra test for mapped compilation
1509 directory.
1510
15112019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
1512
1513 * gdb.base/list-missing-source.exp: New file.
1514
15152019-09-14 Tom de Vries <tdevries@suse.de>
1516
1517 PR teststuite/24599
1518 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
1519 * lib/ada.exp (gnatmake_version_at_least): New proc.
1520
15212019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
1522
1523 * gdb.base/maint.exp: Use exec_has_index_section.
1524
15252019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
1526
1527 * gdb.base/maint.exp: Add test for 'maint info sections'.
1528
15292019-09-12 Tom de Vries <tdevries@suse.de>
1530
1531 * gdb.base/store.exp: Allow register variables to be optimized out at
1532 -O0.
1533
15342019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1535
1536 * gdb.ada/rdv_wait.exp: Update to new task names.
1537 * gdb.base/task_switch_in_core.exp: Likewise.
1538 * gdb.base/info_sources_base.c: Likewise.
1539
15402019-09-10 Tom Tromey <tromey@adacore.com>
1541
1542 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
1543
15442019-09-10 Tom Tromey <tromey@adacore.com>
1545
1546 * gdb.ada/dgopt.exp: New file.
1547 * gdb.ada/dgopt/x.adb: New file.
1548
15492019-09-08 Tom Tromey <tom@tromey.com>
1550
1551 * gdb.tui/resize.exp: Remove setup_xfail.
1552 * gdb.tui/regs.exp: Remove setup_xfail.
1553 * gdb.tui/basic.exp: Remove setup_xfail.
1554
15552019-09-06 David Blaikie <dblaikie@gmail.com>
1556
1557 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
1558 * gdb.cp/cplabel.exp: Ditto.
1559 * gdb.linespec/ls-errs.exp: Ditto.
1560
15612019-09-05 Tom de Vries <tdevries@suse.de>
1562
1563 * lib/gdb.exp (cmp_file_string): New proc.
1564 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
1565 runto_main. Verify save breakpoints output.
1566
15672019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1568
1569 * gdb.base/info-var.exp: Test info variables without running
1570 to main, to avoid expect's buffer overflow.
1571
15722019-09-03 Tom Tromey <tromey@adacore.com>
1573
1574 * gdb.ada/bias.exp: New file.
1575 * gdb.ada/bias/bias.adb: New file.
1576 * gdb.ada/print_chars.exp: Add regression test.
1577 * gdb.ada/print_chars/foo.adb (My_Character): New type.
1578 (MC): New variable.
1579
15802019-08-29 Sandra Loosemore <sandra@codesourcery.com>
1581
1582 * gdb.base/argv0-symlink.exp: Run only on native target
1583 and local host.
1584
15852019-08-29 Tom de Vries <tdevries@suse.de>
1586
1587 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
1588 diverse debug info.
1589 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
1590
15912019-08-28 Tom de Vries <tdevries@suse.de>
1592
1593 * gdb.base/info-var.exp: Allow info variables to print info for files
1594 other than info-var-f1.c and info-var-f2.c.
1595
15962019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
1597
1598 * gdb.fortran/info-types.exp: Add module.
1599 * gdb.fortran/info-types.f90: Update expected results.
1600
16012019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
1602
1603 * gdb.fortran/info-types.exp: New file.
1604 * gdb.fortran/info-types.f90: New file.
1605 * lib/fortran.exp (fortran_character1): New proc.
1606
16072019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
1608
1609 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
1610 functions'. Reindent as needed.
1611 * gdb.base/info-var-f1.c: New file.
1612 * gdb.base/info-var-f2.c: New file.
1613 * gdb.base/info-var.exp: New file.
1614 * gdb.base/info-var.h: New file.
1615
16162019-08-26 Tom de Vries <tdevries@suse.de>
1617
1618 PR c++/24852
1619 * gdb.cp/no-libstdcxx-probe.exp: New test.
1620
16212019-08-26 Tom de Vries <tdevries@suse.de>
1622
1623 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
1624 * tests need to be skipped.
1625 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
1626 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
1627 mi_skip_libstdcxx_probe_tests.
1628
16292019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
1630
1631 * gdb.python/py-xmethods.exp: Use raw strings when passing
1632 arguments to SimpleXMethodMatcher.
1633
16342019-08-22 Tom de Vries <tdevries@suse.de>
1635
1636 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
1637 more informative.
1638
16392019-08-21 Pedro Alves <palves@redhat.com>
1640
1641 * gdb.base/with.exp: Test "with" with no arguments.
1642
16432019-08-21 Tom de Vries <tdevries@suse.de>
1644
1645 * gdb.base/gdb-caching-proc.exp: Sort files.
1646
16472019-08-20 Tom de Vries <tdevries@suse.de>
1648
1649 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
1650 compilation.
1651
16522019-08-16 Tom de Vries <tdevries@suse.de>
1653
1654 * gdb.base/compare-sections.exp ("after run to main"): Allow
1655 mismatched read-only sections for PIE executables.
1656
16572019-08-16 Tom Tromey <tom@tromey.com>
1658
1659 * lib/tuiterm.exp (_csi_Z): New proc.
1660 * gdb.tui/basic.exp: Update window positions.
1661 * gdb.tui/empty.exp: Update window positions.
1662
16632019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1664
1665 * gdb.base/examine-backward.exp: Correct regexp for
1666 "examine 3 bytes backward from ${address_zero}".
1667
16682019-08-15 Tom Tromey <tom@tromey.com>
1669
1670 * gdb.tui/empty.exp: Enable resizing tests.
1671
16722019-08-15 Tom Tromey <tromey@adacore.com>
1673
1674 * gdb.ada/char_enum.exp: Add regression tests.
1675 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
1676 and '0'.
1677 (Char, Gchar): Update.
1678 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
1679
16802019-08-15 Christian Biesinger <cbiesinger@google.com>
1681
1682 * gdb.python/python.exp: Expect a leading underscore on
1683 GdbOutput{,Error}File.
1684
16852019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1686
1687 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
1688 Windows host.
1689
16902019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1691
1692 * gdb.base/batch-preserve-term-settings.exp
1693 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
1694
16952019-08-15 Christian Biesinger <cbiesinger@google.com>
1696
1697 * lib/gdb.exp: When running on a mingw target, replace
1698 /x/ with x:/.
1699
17002019-08-14 Alan Hayward <alan.hayward@arm.com>
1701
1702 * gdb.arch/aarch64-prologue.c: New test.
1703 * gdb.arch/aarch64-prologue.exp: New file.
1704
17052019-08-13 Tom de Vries <tdevries@suse.de>
1706
1707 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
1708 Thread.
1709
17102019-08-13 Sandra Loosemore <sandra@codesourcery.com>
1711
1712 * gdb.python/py-completion.exp: Download the .py file to the host
1713 and use its host pathname. Conditionalize tests that use
1714 tab completion and manipulate files on the build machine.
1715 * gdb.python/py-events.exp: Download the .py file to the host
1716 and use its host pathname.
1717 * gdb.python/py-evsignal.exp: Likewise.
1718 * gdb.python/py-evthreads.exp: Likewise.
1719 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
1720 pathname syntax.
1721 * gdb.python/py-framefilter.exp: Download the .py file to the right
1722 place on the host. Match Windows pathname syntax.
1723 * gdb.python/py-mi-var-info-path-expression.exp: Download the
1724 .py file to the host and use its host pathname.
1725 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
1726 * gdb.python/py-objfile.exp: Expect a host pathname, not a
1727 build pathname. Skip symlink test on Windows host. Add missing
1728 newline at end of file.
1729 * gdb.python/py-pp-maint.exp: Download the .py file to the host
1730 and use its host pathname.
1731 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
1732 * gdb.python/py-section-script.exp: Use host location of binfile
1733 on safe-path. Use correct path separator on Windows host.
1734 Reorder alternatives in gdb_test_multiple to prevent matching
1735 the wrong alternative on success.
1736 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
1737
17382019-08-12 Patrick Palka <patrick@parcs.ath.cx>
1739
1740 * gdb.gdb/selftest.exp (test_with_self): Update test to now
1741 expect the GDB inferior to no longer immediately stop after
1742 being resumed with "signal SIGINT".
1743
17442019-08-09 Sandra Loosemore <sandra@codesourcery.com>
1745
1746 * gdb.linespec/break-ask.exp: Generalize regexps to match
1747 Windows pathnames too.
1748
17492019-08-08 Tom de Vries <tdevries@suse.de>
1750
1751 PR testsuite/24862
1752 * lib/tuiterm.exp (_accept): Fix CSI regexp.
1753
17542019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1755
1756 * gdb.base/style.exp: Update tests for help doc new invariants.
1757 * gdb.base/help.exp: Likewise.
1758
17592019-08-06 Tom Tromey <tom@tromey.com>
1760
1761 * gdb.base/style.exp: Add disassemble test.
1762 * gdb.base/style.c (some_called_function): New function.
1763 (main): Use it.
1764
17652019-08-05 Christian Biesinger <cbiesinger@google.com>
1766
1767 * gdb.python/py-block.exp: Test dictionary access on blocks.
1768
17692019-08-05 Simon Marchi <simon.marchi@efficios.com>
1770
1771 PR gdb/24863
1772 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
1773 -list-thread-groups --available test when running under
1774 check-read1.
1775
17762019-08-05 Tom de Vries <tdevries@suse.de>
1777
1778 PR testsuite/24863
1779 * lib/gdb.exp (with_read1_timeout_factor): New proc.
1780 * gdb.base/help.exp: Use with_read1_timeout_factor.
1781 * gdb.base/info-macros.exp: Same.
1782 * gdb.cp/nested-types.exp: Same.
1783
17842019-08-05 Tom de Vries <tdevries@suse.de>
1785
1786 * lib/gdb.exp (version_at_least): Factor out of ...
1787 (tcl_version_at_least): ... here.
1788 (gdb_compile): Fail if pie results in non-PIE executable.
1789 (readelf_version, readelf_prints_pie): New proc.
1790 (exec_is_pie): Return -1 if unknown.
1791
17922019-08-05 Tom de Vries <tdevries@suse.de>
1793
1794 * lib/gdb.exp (tcl_version_at_least): Fix typo.
1795
17962019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1797
1798 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
1799
18002019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1801
1802 * lib/completion-support.exp (test_gdb_complete_none): Skip
1803 tab completion tests if no readline support.
1804 (test_gdb_complete_unique_re): Likewise.
1805 (test_gdb_complete_multiple): Likewise.
1806
18072019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1808
1809 * gdb.base/info_sources.exp: New file.
1810 * gdb.base/info_sources.c: New file.
1811 * gdb.base/info_sources_base.c: New file.
1812
18132019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1814
1815 * gdb.base/batch-exit-status.exp: Call test_exit_status with
1816 prefix argument.
1817 (test_exit_status): Add prefix argument.
1818
18192019-08-01 Tom de Vries <tdevries@suse.de>
1820
1821 PR testsuite/24863
1822 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
1823 calling exp_continue for new thread and thread exited messages.
1824
18252019-08-01 Tom de Vries <tdevries@suse.de>
1826
1827 PR testsuite/24863
1828 * gdb.base/structs.exp: Fix check-read1 timeout using
1829 gdb_test_sequence.
1830 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
1831
18322019-08-01 Tom de Vries <tdevries@suse.de>
1833
1834 PR testsuite/24863
1835 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
1836 line.
1837
18382019-08-01 Tom de Vries <tdevries@suse.de>
1839
1840 PR testsuite/24863
1841 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
1842
18432019-07-30 Tom Tromey <tromey@adacore.com>
1844
1845 * gdb.ada/display_nested.exp: New file.
1846 * gdb.ada/display_nested/foo.adb: New file.
1847 * gdb.ada/display_nested/pack.adb: New file.
1848 * gdb.ada/display_nested/pack.ads: New file.
1849
18502019-07-30 Christian Biesinger <cbiesinger@google.com>
1851
1852 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
1853 namespace.
1854 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
1855
18562019-07-30 Tom de Vries <tdevries@suse.de>
1857
1858 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
1859 instead.
1860
18612019-07-30 Tom de Vries <tdevries@suse.de>
1862
1863 PR testsuite/24834
1864 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
1865 (exec_is_pie): New proc.
1866
18672019-07-29 Christian Biesinger <cbiesinger@google.com>
1868
1869 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
1870
18712019-07-29 Christian Biesinger <cbiesinger@google.com>
1872
1873 * gdb.python/py-objfile.c: Add global and static vars.
1874 * gdb.python/py-objfile.exp: Test new functions Objfile.
1875 lookup_global_symbol and lookup_static_symbol.
1876
18772019-07-29 Tom Tromey <tom@tromey.com>
1878
1879 * lib/tuiterm.exp (Term::_csi_@): New proc.
1880 (Term::_csi_X): Don't move cursor.
1881
18822019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1883
1884 * gdb.base/options.exp: Update backtrace - completion to
1885 new option -frame-info.
1886 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
1887 Test new 'set print frame-info'. Test backtrace -frame-info
1888 overriding 'set print frame-info'.
1889 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
1890 Test new 'set print frame-info'.
1891 Verify consistency of backtrace with and without filters, with and
1892 without -no-filters.
1893 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
1894 default.
1895
18962019-07-29 Tom de Vries <tdevries@suse.de>
1897
1898 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
1899 no arguments".
1900
19012019-07-29 Tom de Vries <tdevries@suse.de>
1902
1903 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
1904 is a substring of the first for "complete non-unique file name".
1905
19062019-07-29 Tom de Vries <tdevries@suse.de>
1907
1908 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
1909 with ".*".
1910
19112019-07-29 Tom de Vries <tdevries@suse.de>
1912
1913 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
1914 Pass prompt_regexp parameter to gdb_test_multiple calls.
1915
19162019-07-29 Tom de Vries <tdevries@suse.de>
1917
1918 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
1919 print registers" regexps.
1920
19212019-07-29 Tom de Vries <tdevries@suse.de>
1922
1923 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
1924
19252019-07-29 Tom de Vries <tdevries@suse.de>
1926
1927 PR gdb/24855
1928 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
1929 (skip_python_tests_prompt): Add prompt_regexp argument to
1930 gdb_test_multiple calls.
1931
19322019-07-27 Tom Tromey <tom@tromey.com>
1933
1934 * gdb.tui/main.exp: New file.
1935
19362019-07-27 Tom Tromey <tom@tromey.com>
1937
1938 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
1939 optional.
1940 * gdb.tui/empty.exp: New file.
1941
19422019-07-27 Tom Tromey <tom@tromey.com>
1943
1944 * lib/tuiterm.exp (spawn): New proc.
1945 (Term::resize): New proc.
1946 * gdb.tui/resize.exp: New file.
1947
19482019-07-27 Tom Tromey <tom@tromey.com>
1949
1950 * gdb.tui/list.exp: New file.
1951
19522019-07-27 Tom Tromey <tom@tromey.com>
1953
1954 * gdb.tui/regs.exp: New file.
1955
19562019-07-27 Tom Tromey <tom@tromey.com>
1957
1958 * gdb.tui/basic.exp: Add "layout split" test.
1959
19602019-07-27 Tom Tromey <tom@tromey.com>
1961
1962 * gdb.tui/basic.exp: Add "layout asm" test.
1963
19642019-07-27 Tom Tromey <tom@tromey.com>
1965
1966 * lib/tuiterm.exp: New file.
1967 * gdb.tui/basic.exp: New file.
1968
19692019-07-27 Kevin Buettner <kevinb@redhat.com>
1970
1971 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
1972 Enable tests associated with this flag. Adjust regex
1973 referencing "foo_low" to now refer to "foo_cold" instead.
1974
19752019-07-27 Kevin Buettner <kevinb@redhat.com>
1976
1977 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
1978 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
1979 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
1980 foo_cold. Revise comments to match.
1981 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
1982 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
1983 were wrapped into this proc; Call do_test in loop from outermost
1984 level.
1985 (foo_low): Rename all occurrences to "foo_cold".
1986 (backtrace from baz): New test.
1987 (x2/i foo_cold): New test.
1988 (info line *foo_cold): New test.
1989
19902019-07-26 Tom de Vries <tdevries@suse.de>
1991
1992 * gdb.arch/i386-pkru.exp: Fix unterminated string.
1993
19942019-07-25 Tom de Vries <tdevries@suse.de>
1995
1996 PR testsuite/24830
1997 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
1998 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
1999 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
2000 (skip_libstdcxx_probe_tests): ... here.
2001 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
2002
20032019-07-24 Tom de Vries <tdevries@suse.de>
2004
2005 PR testsuite/24807
2006 * gdb.objc/basicclass.m: Include stdio.h.
2007 * gdb.objc/nondebug.m: Same.
2008 * gdb.objc/objcdecode.m: Same.
2009
20102019-07-24 Tom de Vries <tdevries@suse.de>
2011
2012 PR testsuite/24612
2013 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
2014 additional_flags.
2015
20162019-07-24 Tom de Vries <tdevries@suse.de>
2017
2018 PR testsuite/24831
2019 * gdb.multi/tids.exp: Update error messages for info threads.
2020
20212019-07-24 Tom de Vries <tdevries@suse.de>
2022
2023 * gdb.base/info-types.exp: Allow info types to print info for more than
2024 one file.
2025
20262019-07-23 Tom de Vries <tdevries@suse.de>
2027
2028 PR testsuite/24842
2029 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
2030 gdb_spawn_with_cmdline_opts.
2031
20322019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
2033
2034 * gdb.arch/arm-cmse-sgstubs.c: New test.
2035 * gdb.arch/arm-cmse-sgstubs.exp: New file.
2036
20372019-07-23 Tom de Vries <tdevries@suse.de>
2038
2039 PR testsuite/24711
2040 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
2041 issuing next command.
2042
20432019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
2044
2045 * gdb.ada/info_auto_lang.exp: Update expected results.
2046 * gdb.base/info-types.c: Add additional types to check.
2047 * gdb.base/info-types.exp: Update expected results.
2048
20492019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
2050
2051 * gdb.base/info-types.c: New file.
2052 * gdb.base/info-types.exp: New file.
2053
20542019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
2055
2056 * gdb.arch/riscv-bp-infcall.c: New file.
2057 * gdb.arch/riscv-bp-infcall.exp: New file.
2058
20592019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
2060
2061 PR breakpoints/24541
2062 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
2063
20642019-07-14 Tom de Vries <tdevries@suse.de>
2065
2066 PR testsuite/24760
2067 * gdb.objc/basicclass.exp: Fix unterminated string.
2068
20692019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
2070 Andrew Burgess <andrew.burgess@embecosm.com>
2071
2072 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
2073 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
2074 negative bounds.
2075 * gdb.fortran/vla-value.exp: Print elements of an array with
2076 negative bounds.
2077 * gdb.fortran/vla.f90: Setup an array with negative bounds for
2078 testing.
2079
20802019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
2081
2082 * gdb.base/options.exp (expect_string): Dequote strings in
2083 results.
2084 (test-string): Test strings with different quoting and reindent.
2085
20862019-07-10 Tom Tromey <tromey@adacore.com>
2087
2088 * gdb.ada/mi_ex_cond.exp: Update expected results.
2089 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
2090 * gdb.ada/mi_catch_ex.exp: Update expected results.
2091 * gdb.ada/mi_catch_assert.exp: Update expected results.
2092 * gdb.ada/catch_ex.exp (catch_exception_info)
2093 (catch_exception_entry, catch_assert_entry)
2094 (catch_unhandled_entry): Update.
2095 * gdb.ada/catch_assert_if.exp: Update expected results.
2096
20972019-07-10 Richard Bunt <richard.bunt@arm.com>
2098 Stephen Roberts <stephen.roberts@arm.com>
2099
2100 * gdb.base/define.exp: Restore original prompt.
2101
21022019-07-09 Pedro Alves <palves@redhat.com>
2103
2104 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
2105 breakpoints" output.
2106 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
2107 * gdb.python/py-breakpoint.exp: No longer expect that "catch
2108 throw" creates breakpoint.
2109 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
2110 'type="catchpoint"'.
2111
21122019-07-09 Pedro Alves <palves@redhat.com>
2113
2114 PR c++/15468
2115 * gdb.cp/except-multi-location-lib.cc: New.
2116 * gdb.cp/except-multi-location-main.cc: New.
2117 * gdb.cp/except-multi-location.exp: New.
2118
21192019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
2120
2121 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
2122 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
2123 argument and update callers.
2124
21252019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2126
2127 * gdb.arch/amd64-break-on-asm-line.S: New file.
2128 * gdb.arch/amd64-break-on-asm-line.exp: New file.
2129
21302019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2131
2132 * gdb.base/printcmds.exp: Test printing C string and
2133 C wide string convenience vars without transiting via the inferior.
2134 Also make test names unique.
2135
21362019-07-08 Alan Hayward <alan.hayward@arm.com>
2137
2138 PR breakpoints/25011
2139 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
2140
21412019-07-04 Pedro Alves <palves@redhat.com>
2142
2143 * lib/gdb.exp (foreach_with_prefix): Don't return early if
2144 body returned ok(0), break(3) or continue(4).
2145 * gdb.testsuite/foreach_with_prefix.exp: New file.
2146
21472019-07-04 Alan Hayward <alan.hayward@arm.com>
2148
2149 * gdb.server/unittest.exp: Allow 0 unit tests to run.
2150
21512019-07-03 Pedro Alves <palves@redhat.com>
2152
2153 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
2154 "return -code".
2155
21562019-07-03 Pedro Alves <palves@redhat.com>
2157
2158 PR cli/24732
2159 * gdb.base/shell.exp: Load completion-support.exp.
2160 Adjust expected error output. Add completion tests.
2161
21622019-07-03 Pedro Alves <palves@redhat.com>
2163
2164 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
2165 string_to_regexp.
2166
21672019-07-03 Pedro Alves <palves@redhat.com>
2168
2169 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
2170 (expect_integer): Adjust to expect "-string".
2171 (expect_string): New.
2172 (all_options): Expect "-string".
2173 (test-flag, test-boolean): Adjust to expect "-string".
2174 (test-string): New proc.
2175 (top level): Call it.
2176
21772019-07-03 Pedro Alves <palves@redhat.com>
2178
2179 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
2180 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
2181 the expected output in the success.
2182
21832019-07-03 Pedro Alves <palves@redhat.com>
2184
2185 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
2186 Split one gdb_test_multiple call in two to avoid a race.
2187
21882019-07-03 Pedro Alves <palves@redhat.com>
2189
2190 * gdb.base/with.c: New file.
2191 * gdb.base/with.exp: New file.
2192
21932019-07-03 Pedro Alves <palves@redhat.com>
2194
2195 * gdb.base/settings.exp: Replace all references to "maint
2196 test-settings set" with references to "maint set test-settings",
2197 and all references to "maint test-settings show" with references
2198 to "maint show test-settings".
2199
22002019-07-03 Pedro Alves <palves@redhat.com>
2201
2202 * gdb.base/settings.exp (test-string): Adjust expected out when
2203 testing "maint test-settings show filename"
2204
22052019-07-02 Pedro Alves <palves@redhat.com>
2206
2207 * gdb.base/options.exp (test-info-threads): New procedure.
2208 (top level): Call it.
2209
22102019-06-28 Tom Tromey <tromey@adacore.com>
2211
2212 * gdb.dwarf2/ada-linkage-name.c: New file.
2213 * gdb.dwarf2/ada-linkage-name.exp: New file.
2214
22152019-06-27 Tom Tromey <tromey@adacore.com>
2216
2217 PR c++/20020:
2218 * gdb.cp/constexpr-field.exp: Use setup_xfail.
2219
22202019-06-26 Tom de Vries <tdevries@suse.de>
2221
2222 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
2223
22242019-06-26 Tom de Vries <tdevries@suse.de>
2225
2226 * gdb.base/index-cache.exp: Add back missing debug option.
2227
22282019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2229
2230 * gdb.base/alias.exp: Test non matching/non existing prefixes.
2231
22322019-06-25 Tom de Vries <tdevries@suse.de>
2233
2234 PR testsuite/24727
2235 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
2236
22372019-06-24 Tom de Vries <tdevries@suse.de>
2238
2239 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
2240
22412019-06-24 Tom de Vries <tdevries@suse.de>
2242
2243 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
2244 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
2245 * gdb.trace/unavailable-dwarf-piece.exp: Same.
2246
22472019-06-24 Tom de Vries <tdevries@suse.de>
2248
2249 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
2250
22512019-06-21 Tom de Vries <tdevries@suse.de>
2252
2253 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
2254
22552019-06-21 Tom de Vries <tdevries@suse.de>
2256
2257 PR testsuite/24518
2258 PR ada/24713
2259 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
2260 index.
2261
22622019-06-19 Tom Tromey <tromey@adacore.com>
2263
2264 * gdb.ada/length_cond.exp: Add intro comment.
2265
22662019-06-19 Tom Tromey <tromey@adacore.com>
2267
2268 * gdb.ada/length_cond.exp: New file.
2269 * gdb.ada/length_cond/length_cond.adb: New file.
2270 * gdb.ada/length_cond/pck.adb: New file.
2271 * gdb.ada/length_cond/pck.ads: New file.
2272
22732019-06-18 Tom de Vries <tdevries@suse.de>
2274
2275 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
2276
22772019-06-18 Tom Tromey <tromey@adacore.com>
2278
2279 * gdb.base/list0.h: Add comment explaining control character.
2280
22812019-06-18 Tom de Vries <tdevries@suse.de>
2282
2283 * boards/fission.exp: Break up long debug_flags line.
2284
22852019-06-16 Tom de Vries <tdevries@suse.de>
2286
2287 PR gdb/24445
2288 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
2289 generated index.
2290
22912019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
2292
2293 PR gdb/24686
2294 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
2295 improve detection of bug gdb/24541.
2296
22972019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
2298
2299 PR gdb/24669
2300 * gdb.base/index-cache.exp (uses_readnow,
2301 expecting_index_cache_use): Define global variable.
2302 (test_cache_enabled_miss, test_cache_enabled_hit): Use
2303 expecting_index_cache_use.
2304
23052019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
2306 Andrew Burgess <andrew.burgess@embecosm.com>
2307
2308 * gdb.fortran/pointers.f90: New file.
2309 * gdb.fortran/print_type.exp: New file.
2310 * gdb.fortran/vla-ptype.exp: Adapt expected results.
2311 * gdb.fortran/vla-type.exp: Likewise.
2312 * gdb.fortran/vla-value.exp: Likewise.
2313 * gdb.mi/mi-vla-fortran.exp: Likewise.
2314
23152019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2316
2317 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
2318 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
2319 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
2320 as a stop reason.
2321
23222019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2323
2324 * gdb.base/annota1.exp: Update expected results.
2325 * gdb.cp/annota2.exp: Likewise.
2326 * gdb.cp/annota3.exp: Likewise.
2327
23282019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2329
2330 * gdb.base/style-logging.exp: Remove path from test name.
2331
23322019-06-14 Tom Tromey <tromey@adacore.com>
2333
2334 PR gdb/24502:
2335 * gdb.base/style-logging.exp: New file.
2336
23372019-06-14 Tom Tromey <tromey@adacore.com>
2338
2339 * gdb.base/symfile-warn.exp: New file.
2340 * gdb.base/symfile-warn.c: New file.
2341
23422019-06-14 Tom Tromey <tromey@adacore.com>
2343
2344 * gdb.base/annotate-symlink.exp: New file.
2345
23462019-06-14 Tom Tromey <tromey@adacore.com>
2347
2348 * gdb.ada/set_wstr.exp: Add reassignment test.
2349
23502019-06-14 Tom Tromey <tromey@adacore.com>
2351
2352 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
2353 'unchecked_access and 'unrestricted_access as well.
2354
23552019-06-14 Tom Tromey <tromey@adacore.com>
2356
2357 PR ada/24539:
2358 * gdb.ada/vla.exp: Update tests.
2359 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
2360 pragma.
2361
23622019-06-13 Pedro Alves <palves@redhat.com>
2363
2364 * gdb.base/settings.exp (test-integer): Test junk after
2365 "unlimited".
2366
23672019-06-13 Pedro Alves <palves@redhat.com>
2368
2369 * gdb.base/options.exp (test-thread-apply): New.
2370 (top level): Call it.
2371
23722019-06-13 Pedro Alves <palves@redhat.com>
2373
2374 * gdb.base/options.exp (test-frame-apply): New.
2375 (top level): Test print commands with different "frame apply"
2376 prefixes.
2377
23782019-06-13 Pedro Alves <palves@redhat.com>
2379
2380 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
2381 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
2382 'max_completions' parameter and handle it.
2383 (test_gdb_completion_offers_commands): New.
2384
23852019-06-13 Pedro Alves <palves@redhat.com>
2386
2387 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
2388
23892019-06-13 Pedro Alves <palves@redhat.com>
2390
2391 * gdb.base/options.exp (test-backtrace): New.
2392 (top level): Call it.
2393
23942019-06-13 Pedro Alves <palves@redhat.com>
2395
2396 * gdb.guile/scm-frame-args.exp: Use "set print
2397 raw-frame-arguments" instead of "set print raw frame-arguments".
2398 * gdb.python/py-frame-args.exp: Likewise.
2399
24002019-06-13 Pedro Alves <palves@redhat.com>
2401
2402 * gdb.compile/compile.exp: Adjust expected output to option
2403 processing changes.
2404
24052019-06-13 Pedro Alves <palves@redhat.com>
2406
2407 * gdb.base/options.exp: Build executable.
2408 (test-print): New procedure.
2409 (top level): Call it, once for "print" and another for "compile
2410 print".
2411
24122019-06-13 Pedro Alves <palves@redhat.com>
2413
2414 * gdb.base/options.c: New file.
2415 * gdb.base/options.exp: New file.
2416
24172019-06-13 Pedro Alves <palves@redhat.com>
2418
2419 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
2420 that "o" is ambiguous.
2421
24222019-06-13 Pedro Alves <palves@redhat.com>
2423
2424 * gdb.base/settings.c: New file.
2425 * gdb.base/settings.exp: New file.
2426
24272019-06-13 Pedro Alves <palves@redhat.com>
2428
2429 * gdb.base/completion.exp: Fix comment typo.
2430
24312019-06-13 Pedro Alves <palves@redhat.com>
2432
2433 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
2434 foo --1" test.
2435
24362019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
2437
2438 * gdb.fortran/block-data.f: New.
2439 * gdb.fortran/block-data.exp: New.
2440
24412019-06-11 Tom de Vries <tdevries@suse.de>
2442
2443 PR testsuite/24521
2444 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
2445 message.
2446
24472019-06-11 Tom de Vries <tdevries@suse.de>
2448
2449 PR testsuite/24521
2450 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
2451
24522019-06-11 Tom de Vries <tdevries@suse.de>
2453
2454 * boards/readnow.exp: New file.
2455
24562019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
2457
2458 * gdb.fortran/vla-sizeof.exp: Update expected results.
2459
24602019-06-06 Amos Bird <amosbird@gmail.com>
2461
2462 * gdb.base/annota1.exp (thread_switch): Add test for
2463 thread-exited annotation.
2464
24652019-06-06 Tom Tromey <tromey@adacore.com>
2466
2467 * gdb.base/maint.exp: Expect command started/finished output.
2468
24692019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
2470
2471 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
2472 comment.
2473 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
2474
24752019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
2476
2477 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
2478 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
2479 * gdb.arch/riscv-unwind-long-insn.c: New file.
2480 * gdb.arch/riscv-unwind-long-insn.exp: New file.
2481
24822019-06-04 Christian Biesinger <cbiesinger@google.com>
2483
2484 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
2485
24862019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2487
2488 * lib/gdb.exp (help_list_trailer): New regexp variable
2489 factorizing the help trailer message.
2490 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
2491 arg to allow to better factorize various tests.
2492 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
2493 (test_prefix_command_help): Use help_list_trailer.
2494 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
2495 * gdb.guile/scm-cmd.exp: Likewise.
2496 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
2497 * gdb.base/help.exp: Use test_user_defined_class_help.
2498 * gdb.base/style.exp: Add tests for styling of help and apropos.
2499 * lib/gdb-utils.exp (style): Add title and highlight styles.
2500
25012019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2502
2503 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
2504 $_shell_exitsignal.
2505 * gdb.base/default.exp: Update for new convenience variables.
2506
25072019-05-29 Tom Tromey <tromey@adacore.com>
2508
2509 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
2510 to "break complete ada" test case's regexp.
2511
25122019-05-29 Tom Tromey <tromey@adacore.com>
2513
2514 PR c++/20020:
2515 * gdb.cp/constexpr-field.exp: New file.
2516 * gdb.cp/constexpr-field.cc: New file.
2517
25182019-05-29 Tom Tromey <tromey@adacore.com>
2519
2520 * gdb.base/finish.exp (finish_no_print): New proc.
2521 (finish_tests): Call it.
2522
25232019-05-24 Tom de Vries <tdevries@suse.de>
2524
2525 * gdb.dwarf2/gdb-add-index.exp: New file.
2526
25272019-05-22 Tom Tromey <tromey@adacore.com>
2528
2529 * gdb.base/info-shared.exp (check_info_shared): Use "style".
2530 * gdb.base/style.exp: Use "style".
2531 * lib/gdb-utils.exp (style): New proc.
2532
25332019-05-22 Tom de Vries <tdevries@suse.de>
2534
2535 * gdb.base/align.exp: Require c++11.
2536
25372019-05-22 Tom de Vries <tdevries@suse.de>
2538
2539 PR testsuite/24586
2540 * gdb.python/py-mi-var-info-path-expression.exp: Call
2541 mi_skip_python_tests to check if python is supported.
2542
25432019-05-22 Alan Hayward <alan.hayward@arm.com>
2544
2545 * gdb.arch/aarch64-pauth.c: New test.
2546 * gdb.arch/aarch64-pauth.exp: New file.
2547
25482019-05-22 Alan Hayward <alan.hayward@arm.com>
2549
2550 * README (Re-running Tests Outside The Testsuite): New section.
2551
25522019-05-21 Tom de Vries <tdevries@suse.de>
2553
2554 * gdb.arch/amd64-eval.exp: Require c++11.
2555 * gdb.base/max-depth.exp: Same.
2556 * gdb.compile/compile-cplus-array-decay.exp: Same.
2557 * gdb.cp/meth-typedefs.exp: Same.
2558 * gdb.cp/subtypes.exp: Same.
2559 * gdb.cp/temargs.exp: Same.
2560
25612019-05-21 Alan Hayward <alan.hayward@arm.com>
2562
2563 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
2564
25652019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2566
2567 PR gdb/18644
2568 * gdb.fortran/complex.exp: Remove setup_kfail calls.
2569 * gdb.fortran/printing-types.exp: Add new test.
2570 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
2571 testing.
2572 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
2573 setup_kfail call.
2574
25752019-05-17 Alan Hayward <alan.hayward@arm.com>
2576
2577 * README (Running the Testsuite): Change example.
2578 (Testsuite Parameters): Remove TRANSCRIPT.
2579 * lib/gdb.exp: Remove TRANSCRIPT check.
2580
25812019-05-17 Alan Hayward <alan.hayward@arm.com>
2582
2583 * README (Testsuite Parameters): Add replay logging to
2584 GDBSERVER_DEBUG.
2585 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
2586 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
2587 as a comma separated list.
2588 (gdb_debug_init): Override procedure.
2589
25902019-05-17 Alan Hayward <alan.hayward@arm.com>
2591
2592 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
2593 (gdb_write_cmd_file): New procedure.
2594 * lib/gdbserver-support.exp (gdbserver_start): Call
2595 gdbserver_write_cmd_file.
2596 (gdbserver_write_cmd_file): New procedure.
2597
25982019-05-17 Alan Hayward <alan.hayward@arm.com>
2599
2600 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
2601 (delete_breakpoints): Likewise.
2602 (gdb_run_cmd): Likewise.
2603 (gdb_start_cmd): Likewise.
2604 (gdb_starti_cmd): Likewise.
2605 (gdb_internal_error_resync): Likewise.
2606 (gdb_test_multiple): Likewise.
2607 (gdb_reinitialize_dir): Likewise.
2608 (default_gdb_exit): Likewise.
2609 (gdb_file_cmd): Mark kill as optional.
2610 (default_gdb_start): Call gdb_stdin_log_init.
2611 (send_gdb): Call gdb_stdin_log_write.
2612 (rerun_to_main): Mark Y as an answer.
2613 (gdb_stdin_log_init): New function.
2614 (gdb_stdin_log_write): Likewise.
2615
26162019-05-17 Alan Hayward <alan.hayward@arm.com>
2617
2618 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
2619 * gdb.base/debug-expr.exp: Likewise.
2620 * gdb.base/foll-fork.exp: Likewise.
2621 * gdb.base/foll-vfork.exp: Likewise.
2622 * gdb.base/fork-print-inferior-events.exp: Likewise.
2623 * gdb.base/gdb-sigterm.exp: Likewise.
2624 * gdb.base/gdbinit-history.exp: Likewise.
2625 * gdb.base/osabi.exp: Likewise.
2626 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
2627 * gdb.base/ui-redirect.exp: Likewise.
2628 * gdb.gdb/unittest.exp: Likewise.
2629 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
2630 * gdb.mi/mi-watch.exp: Likewise.
2631 * gdb.mi/new-ui-mi-sync.exp: Likewise.
2632 * gdb.mi/user-selected-context-sync.exp: Likewise.
2633 * gdb.python/python.exp: Disable debug test when debugging.
2634 * gdb.threads/check-libthread-db.exp: Disable when debugging.
2635 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2636 Likewise.
2637 * gdb.threads/stepi-random-signal.exp: Likewise.
2638
26392019-05-17 Alan Hayward <alan.hayward@arm.com>
2640
2641 * Makefile.in: Pass through GDB_DEBUG.
2642 * README (Testsuite Parameters): Add GDB_DEBUG.
2643 (gdb,debug): Add board setting.
2644 * lib/gdb.exp (default_gdb_start): Start debugging.
2645 (gdb_debug_enabled): New procedure.
2646 (gdb_debug_init): Likewise.
2647
26482019-05-17 Alan Hayward <alan.hayward@arm.com>
2649
2650 * Makefile.in: Pass through GDB_DEBUG.
2651 * README (Testsuite Parameters): Add GDB_DEBUG.
2652 (gdb,debug): Add board setting.
2653 * lib/gdb.exp (default_gdb_start): Start debugging.
2654 (gdb_debug_enabled): New procedure.
2655 (gdb_debug_init): Likewise.
2656
26572019-05-17 Alan Hayward <alan.hayward@arm.com>
2658
2659 * gdb.base/ui-redirect.exp: Add debug redirect tests.
2660
26612019-05-17 Alan Hayward <alan.hayward@arm.com>
2662
2663 * gdb.base/ui-redirect.exp: Test redirection.
2664
26652019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
2666
2667 * gdb.mi/mi-complete.exp: New file.
2668 * gdb.mi/mi-complete.cc: Likewise.
2669
26702019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
2671
2672 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
2673 indexed and sliced arrays, and pointers to arrays.
2674
26752019-05-14 Tom Tromey <tromey@adacore.com>
2676
2677 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
2678 styling test.
2679
26802019-05-14 Tom de Vries <tdevries@suse.de>
2681
2682 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
2683 selection entry encoding.
2684
26852019-05-10 Tom Tromey <tromey@adacore.com>
2686
2687 * gdb.ada/info_exc.exp: Add "complete" test.
2688
26892019-05-09 Tom de Vries <tdevries@suse.de>
2690
2691 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
2692 CU-relative.
2693
26942019-05-09 Tom de Vries <tdevries@suse.de>
2695
2696 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
2697 CU-relative.
2698
26992019-05-08 Joel Brobecker <brobecker@adacore.com>
2700
2701 * gdb.ada/frame_arg_lang.exp: New testcase.
2702 * gdb.ada/frame_arg_lang/bla.adb: New file.
2703 * gdb.ada/frame_arg_lang/pck.ads: New file.
2704 * gdb.ada/frame_arg_lang/pck.adb: New file.
2705 * gdb.ada/frame_arg_lang/foo.c: New file.
2706
27072019-05-08 Tom Tromey <tromey@adacore.com>
2708
2709 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
2710
27112019-05-08 Tom Tromey <tromey@adacore.com>
2712
2713 * gdb.base/ptype-offsets.exp: Update tests.
2714
27152019-05-08 Tom Tromey <tromey@adacore.com>
2716
2717 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
2718 cases.
2719 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
2720 "short".
2721
27222019-05-08 Tom Tromey <tromey@adacore.com>
2723
2724 * gdb.ada/vla.exp: New file.
2725 * gdb.ada/vla/vla.adb: New file.
2726
27272019-05-07 Tom de Vries <tdevries@suse.de>
2728
2729 * gdb.base/index-cache.exp (ls_host): Fix return statement.
2730
27312019-05-07 Tom de Vries <tdevries@suse.de>
2732
2733 PR testsuite/24522
2734 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
2735 section.
2736
27372019-05-07 Tom de Vries <tdevries@suse.de>
2738
2739 PR testsuite/24522
2740 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
2741 .debug_aranges section.
2742
27432019-05-07 Tom de Vries <tdevries@suse.de>
2744
2745 PR testsuite/24159
2746 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
2747
27482019-05-06 Tom de Vries <tdevries@suse.de>
2749
2750 * lib/gdb.exp (exec_has_index_section): New proc.
2751 * gdb.base/index-cache.exp: Handle case that binfile contains an index
2752 section.
2753
27542019-05-04 Tom de Vries <tdevries@suse.de>
2755
2756 * boards/cc-with-debug-names.exp: New file.
2757
27582019-05-03 Tom Tromey <tromey@adacore.com>
2759
2760 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
2761 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
2762 * gdb.ada/char_enum.exp: Add test.
2763
27642019-05-03 Tom de Vries <tdevries@suse.de>
2765
2766 * boards/cc-with-gdb-index.exp: New file.
2767
27682019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
2769
2770 * gdb.rust/simple.exp: Add new test case.
2771 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
2772 (main): Initialise an instance of the new struct.
2773
27742019-05-01 Tom Tromey <tromey@adacore.com>
2775
2776 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
2777 record.
2778 (NPR): New variable.
2779 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
2780 test.
2781
27822019-05-01 Tom Tromey <tromey@adacore.com>
2783
2784 * gdb.ada/packed_array_assign.exp: Add packed assignment
2785 regression test.
2786
27872019-05-01 Tom de Vries <tdevries@suse.de>
2788
2789 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
2790
27912019-05-01 Tom de Vries <tdevries@suse.de>
2792
2793 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
2794
27952019-04-30 Ali Tamur <tamur@google.com>
2796
2797 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
2798
27992019-04-30 Tom Tromey <tromey@adacore.com>
2800
2801 * lib/ada.exp (find_ada_tool): New proc.
2802 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
2803 * gdb.ada/catch_ex_std.exp: New file.
2804 * gdb.ada/catch_ex_std/foo.adb: New file.
2805 * gdb.ada/catch_ex_std/some_package.adb: New file.
2806 * gdb.ada/catch_ex_std/some_package.ads: New file.
2807
28082019-04-30 Tom Tromey <tromey@adacore.com>
2809
2810 PR c++/24470:
2811 * gdb.cp/temargs.cc: Add test code from PR.
2812
28132019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2814
2815 * gdb.fortran/vla-datatypes.exp: Update expected results.
2816 * gdb.fortran/vla-ptype.exp: Likewise.
2817 * gdb.fortran/vla-type.exp: Likewise.
2818 * gdb.fortran/vla-value.exp: Likewise.
2819
28202019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2821
2822 * gdb.fortran/ptr-indentation.exp: Update expected results.
2823 * gdb.fortran/ptype-on-functions.exp: Likewise.
2824 * gdb.fortran/vla-ptr-info.exp: Likewise.
2825 * gdb.fortran/vla-value.exp: Likewise.
2826
28272019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2828
2829 * gdb.fortran/ptype-on-functions.exp: New file.
2830 * gdb.fortran/ptype-on-functions.f90: New file.
2831
28322019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2833
2834 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
2835 case void string.
2836
28372019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2838
2839 * gdb.fortran/complex.exp: Expand.
2840 * gdb.fortran/complex.f: Renamed to...
2841 * gdb.fortran/complex.f90: ...this, and extended to add more
2842 complex values.
2843
28442019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2845
2846 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
2847 MODULO, CMPLX.
2848
28492019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
2850 Richard Bunt <richard.bunt@arm.com>
2851
2852 * gdb.base/max-depth.c: New file.
2853 * gdb.base/max-depth.exp: New file.
2854 * gdb.python/py-nested-maps.c: New file.
2855 * gdb.python/py-nested-maps.exp: New file.
2856 * gdb.python/py-nested-maps.py: New file.
2857 * gdb.python/py-format-string.exp (test_max_depth): New proc.
2858 (test_all_common): Call test_max_depth.
2859 * gdb.fortran/max-depth.exp: New file.
2860 * gdb.fortran/max-depth.f90: New file.
2861 * gdb.go/max-depth.exp: New file.
2862 * gdb.go/max-depth.go: New file.
2863 * gdb.modula2/max-depth.exp: New file.
2864 * gdb.modula2/max-depth.c: New file.
2865 * lib/gdb.exp (get_print_expr_at_depths): New proc.
2866
28672019-04-29 Tom de Vries <tdevries@suse.de>
2868
2869 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
2870
28712019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2872
2873 * gdb.base/callexit.exp: Test may-call-functions off.
2874
28752019-04-25 Keith Seitz <keiths@redhat.com>
2876
2877 PR c++/24367
2878 * gdb.cp/meth-typedefs.cc (incomplete_struct)
2879 (another_incomplete_struct, test_incomplete): New definitions.
2880 (main): Use new definitions.
2881 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
2882 functions.
2883
28842019-04-25 Ali Tamur <tamur@google.com>
2885
2886 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
2887
28882019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
2889
2890 PR corefiles/11608
2891 PR corefiles/18187
2892 * gdb.base/coredump-filter-build-id.exp: New file.
2893
28942019-04-25 Alan Hayward <alan.hayward@arm.com>
2895
2896 * Makefile.in: Pass through GDBSERVER_DEBUG.
2897 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
2898 (gdbserver,debug): Add board setting.
2899 * gdb.trace/tspeed.exp: Skip when debugging.
2900 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
2901 * lib/gdbserver-support.exp: Likewise
2902
29032019-04-24 Tom Tromey <tromey@adacore.com>
2904
2905 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
2906 Rust.
2907
29082019-04-24 Tom Tromey <tromey@adacore.com>
2909
2910 * gdb.arch/amd64-eval.exp: Test bitfield return.
2911 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
2912 (class Foo) <return_bitfields>: New method.
2913 (main): Call it.
2914
29152019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
2916
2917 * gdb.cp/many-args.cc: New file.
2918 * gdb.cp/many-args.exp: New file.
2919
29202019-04-23 Tom de Vries <tdevries@suse.de>
2921
2922 PR gdb/24433
2923 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
2924
29252019-04-23 Alan Hayward <alan.hayward@arm.com>
2926
2927 * gdb.trace/backtrace.exp: Use nopie flag.
2928 * gdb.trace/circ.exp: Likewise.
2929 * gdb.trace/collection.exp: Likewise.
2930 * gdb.trace/ftrace.exp: Likewise.
2931 * gdb.trace/mi-trace-unavailable.exp: Likewise.
2932 * gdb.trace/mi-traceframe-changed.exp: Likewise.
2933 * gdb.trace/qtro.exp: Likewise.
2934 * gdb.trace/read-memory.exp: Likewise.
2935 * gdb.trace/report.exp: Likewise.
2936 * gdb.trace/tfile.exp: Likewise.
2937 * gdb.trace/tfind.exp: Likewise.
2938 * gdb.trace/unavailable.exp: Likewise.
2939
29402019-04-22 Pedro Alves <palves@redhat.com>
2941
2942 * gdb.base/solib-probes-nosharedlibrary.c,
2943 gdb.base/solib-probes-nosharedlibrary.exp: New files.
2944
29452019-04-19 Tom Tromey <tromey@adacore.com>
2946
2947 * gdb.ada/ptype_union.c: New file.
2948 * gdb.ada/ptype_union.exp: New file.
2949
29502019-04-19 Tom Tromey <tromey@adacore.com>
2951
2952 PR symtab/24423:
2953 * gdb.base/list0.h (foo): Add a control-l character.
2954
29552019-04-18 Tom de Vries <tdevries@suse.de>
2956
2957 PR gdb/24433
2958 * boards/local-board.exp: Set sysroot to "".
2959
29602019-04-18 Tom de Vries <tdevries@suse.de>
2961 Pedro Alves <palves@redhat.com>
2962
2963 PR gdb/24454
2964 * gdb.threads/vfork-follow-child-exec.c: New file.
2965 * gdb.threads/vfork-follow-child-exec.exp: New file.
2966 * gdb.threads/vfork-follow-child-exit.c: New file.
2967 * gdb.threads/vfork-follow-child-exit.exp: New file.
2968
29692019-04-15 Leszek Swirski <leszeks@google.com>
2970
2971 * gdb.arch/amd64-eval.cc: New file.
2972 * gdb.arch/amd64-eval.exp: New file.
2973
29742019-04-11 Alan Hayward <alan.hayward@arm.com>
2975
2976 * gdb.server/sysroot.c: New test.
2977 * gdb.server/sysroot.exp: New file.
2978 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
2979 matching param.
2980
29812019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
2982
2983 * gdb.base/align.exp: Extend test to cover structures containing
2984 only static fields.
2985
29862019-04-11 Tom de Vries <tdevries@suse.de>
2987
2988 * boards/cc-with-dwz-m.exp: New file.
2989 * boards/cc-with-dwz.exp: New file.
2990 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
2991
29922019-04-09 Simon Marchi <simon.marchi@efficios.com>
2993
2994 * gdb.base/start-cpp.exp: New file.
2995 * gdb.base/start-cpp.cc: New file.
2996
29972019-04-08 Kevin Buettner <kevinb@redhat.com>
2998
2999 * gdb.python/py-thrhandle.exp: Adjust tests to call
3000 thread_from_handle instead of thread_from_thread_handle.
3001
30022019-04-08 Kevin Buettner <kevinb@redhat.com>
3003
3004 * gdb.python/py-thrhandle.exp: Add tests for
3005 gdb.InferiorThread.handle.
3006
30072019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
3008
3009 * gdb.python/py-function.exp: Check calling helper function from
3010 all languages.
3011 * lib/gdb.exp (gdb_supported_languages): New proc.
3012
30132019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
3014
3015 * gdb.base/complex-parts.c: New file.
3016 * gdb.base/complex-parts.exp: New file.
3017
30182019-04-01 Tom Tromey <tromey@adacore.com>
3019
3020 PR symtab/23331:
3021 * gdb.dwarf2/dw2-ranges-main.c: New file.
3022 * gdb.dwarf2/dw2-ranges-psym.c: New file.
3023 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
3024
30252019-03-30 Simon Marchi <simark@simark.ca>
3026
3027 * gdb.base/default.exp: Add values for $_gdb_major and
3028 $_gdb_minor.
3029
30302019-03-29 Tom Tromey <tromey@adacore.com>
3031
3032 * gdb.base/help.exp: Tighten apropos regexp.
3033
30342019-03-29 Keith Seitz <keiths@redhat.com>
3035
3036 * gdb.fortran/array-bounds.exp: New file.
3037 * gdb.fortran/array-bounds.f90: New file.
3038
30392019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3040
3041 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
3042
30432019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3044
3045 * gdb.multi/hello.c (main): Increase alarm timer.
3046
30472019-03-28 Sandra Loosemore <sandra@codesourcery.com>
3048
3049 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
3050 factor when no hardware watchpoint support.
3051
30522019-03-28 Alan Hayward <alan.hayward@arm.com>
3053 Pedro Alves <palves@redhat.com>
3054
3055 * boards/local-board.exp: set sysroot to /.
3056
30572019-03-27 Alan Hayward <alan.hayward@arm.com>
3058
3059 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
3060 in child.
3061
30622019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
3063
3064 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
3065 field.
3066 (make_container): Initialise new field.
3067 * gdb.python/py-prettyprint.exp: Add new tests.
3068 * gdb.python/py-prettyprint.py (class ContainerPrinter)
3069 <display_hint>: New method.
3070
30712019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
3072
3073 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
3074 gdb_continue_to_breakpoint more throughout this test.
3075 (run_lang_tests) Supply unique test names, and use
3076 gdb_test_no_output.
3077
30782019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
3079
3080 * gdb.base/finish-pretty.exp: Update expected results.
3081 * gdb.base/pretty-print.c: New file.
3082 * gdb.base/pretty-print.exp: New file.
3083
30842019-03-25 Pedro Alves <palves@redhat.com>
3085
3086 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
3087 move comments outside list. Append '-i "" eof' section.
3088
30892019-03-22 Alan Hayward <alan.hayward@arm.com>
3090
3091 PR testsuite/25016
3092 * README: Add pie options.
3093 * gdb.base/break-interp.exp: Ensure pie is disabled.
3094 * gdb.base/dump.exp: Likewise.
3095 * lib/gdb.exp (gdb_compile): Add pie option.
3096
30972019-03-19 Tom Tromey <tromey@adacore.com>
3098
3099 * gdb.mi/mi2-cli-display.c: New file.
3100 * gdb.mi/mi2-cli-display.exp: New file.
3101
31022019-03-18 Joel Brobecker <brobecker@adacore.com>
3103 Tom Tromey <tromey@adacore.com>
3104
3105 * gdb.ada/ptype_array/pck.adb: New file.
3106 * gdb.ada/ptype_array/pck.ads: New file.
3107 * gdb.ada/ptype_array/foo.adb: New file.
3108 * gdb.ada/ptype_array.exp: New file.
3109
31102019-03-14 Tom Tromey <tromey@adacore.com>
3111
3112 * gdb.base/style.exp: Add "set style sources" test.
3113
31142019-03-13 Simon Marchi <simon.marchi@ericsson.com>
3115
3116 * mi-breakpoint-location-ena-dis.exp: Rename to ...
3117 * mi-breakpoint-multiple-locations.exp: ... this.
3118 (make_breakpoints_pattern): New proc.
3119 (do_test): Add mi_version parameter, test -break-insert,
3120 -break-info and =breakpoint-created.
3121
31222019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
3123
3124 * config/default.exp: Remove 'load_lib gdb.exp'.
3125 * config/monitor.exp: Likewise.
3126 * config/sid.exp: Likewise.
3127 * config/sim.exp: Likewise.
3128 * config/slite.exp: Likewise.
3129 * config/unix.exp: Likewise.
3130 * gdb.base/default.exp: Remove unhelpful comment.
3131
31322019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3133
3134 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
3135
31362019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3137
3138 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
3139
31402019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3141
3142 * gdb.fortran/type-kinds.exp: Update expected results.
3143
31442019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3145
3146 * gdb.fortran/type-kinds.exp: Test new integer type kind.
3147
31482019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3149
3150 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
3151 function.
3152 (test_basic_parsing_of_type_kinds): Expand types tested.
3153 (test_parsing_invalid_type_kinds): New function.
3154
31552019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3156
3157 * gdb.fortran/intrinsics.exp: New file.
3158 * gdb.fortran/intrinsics.f90: New file.
3159 * gdb.fortran/type-kinds.exp: New file.
3160
31612019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3162
3163 * gdb.fortran/dot-ops.exp: New file.
3164
31652019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3166
3167 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
3168 Check upper and lower case logical literals.
3169
31702019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3171
3172 * gdb.fortran/types.exp (test_float_literal_types_accepted):
3173 Remove duplicate tests.
3174
31752019-03-06 Alan Hayward <alan.hayward@arm.com>
3176
3177 * lib/gdb.exp (builtin_cd): rename of cd.
3178 (cd): Override builtin.
3179
31802019-03-06 Richard Bunt <richard.bunt@arm.com>
3181
3182 * gdb.fortran/function-calls.exp: New file.
3183 * gdb.fortran/function-calls.f90: New test.
3184
31852019-03-04 Richard Bunt <richard.bunt@arm.com>
3186
3187 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
3188 on user program standard output.
3189 * gdb.fortran/short-circuit-argument-list.f90: Record function
3190 calls.
3191
31922019-02-28 Alan Hayward <alan.hayward@arm.com>
3193
3194 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
3195 failure.
3196
31972019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3198
3199 PR gdb/8527
3200 * gdb.base/interrupt-daemon-attach.c,
3201 gdb.base/interrupt-daemon-attach.exp: New test.
3202
32032019-02-27 Pedro Alves <palves@redhat.com>
3204
3205 * gdb.base/page.exp: Add tests for "set width/height -1".
3206
32072019-02-27 Pedro Alves <palves@redhat.com>
3208
3209 * gdb.base/page.exp: Add tests for "set/show width/height" with
3210 "infinite" values.
3211
32122019-02-27 Tom Tromey <tromey@adacore.com>
3213
3214 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
3215 2.4.
3216 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
3217 workaround.
3218
32192019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
3220
3221 * gdb.base/align.exp: Extend to compile in both C and C++, and add
3222 tests for structs with static members.
3223
32242019-02-26 Tom Tromey <tromey@adacore.com>
3225
3226 * gdb.python/py-value.exp (test_value_from_buffer): Check for
3227 ValueError, not TypeError.
3228
32292019-02-26 Kevin Buettner <kevinb@redhat.com>
3230
3231 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
3232 call from main program.
3233
32342019-02-23 Joel Brobecker <brobecker@adacore.com>
3235
3236 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
3237 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
3238 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
3239 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
3240 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
3241
32422019-02-22 Keith Seitz <keiths@redhat.com>
3243
3244 PR symtab/23853
3245 * gdb.base/symlink-sourcefile.c: New file.
3246 * gdb.base/symlink-sourcefile.exp: New file.
3247
32482019-02-20 Tom Tromey <tom@tromey.com>
3249
3250 * gdb.base/info_qt.exp: Update.
3251
32522019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
3253
3254 * gdb.base/source.exp: Move "error in sourced script" code to
3255 the end.
3256 * gdb.base/source-error.gdb: Move contents to
3257 source-error-1.gdb. Add new code to source source-error-1.gdb.
3258 * gdb.base/source-error-1.gdb: New file, from previous
3259 source-error.gdb.
3260
32612019-02-17 Tom Tromey <tom@tromey.com>
3262
3263 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
3264 for macro styling.
3265 * gdb.base/style.c (SOME_MACRO): New macro.
3266
32672019-02-17 Tom Tromey <tom@tromey.com>
3268
3269 * gdb.base/style.exp: Add line-wrapping tests.
3270 * gdb.base/page.exp: Add test for quitting during pagination.
3271
32722019-02-17 Joel Brobecker <brobecker@adacore.com>
3273
3274 * gdb.ada/big_packed_array: New testcase.
3275 * gdb.ada/homonym.exp: Fix incorrect expected output for
3276 "break <homonym__get_value>" test.
3277
32782019-02-13 Weimin Pan <weimin.pan@oracle.com>
3279
3280 PR breakpoints/21870
3281 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
3282 and prepare_for_testing. Add comment.
3283 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
3284 redundant cleanup call. Clean up comment.
3285
32862019-02-12 Weimin Pan <weimin.pan@oracle.com>
3287
3288 PR breakpoints/21870
3289 * gdb.arch/aarch64-dbreg-contents.exp: New file.
3290 * gdb.arch/aarch64-dbreg-contents.c: New file.
3291
32922019-02-10 Joel Brobecker <brobecker@adacore.com>
3293
3294 * gdb.ada/mi_ref_changeable: New testcase.
3295
32962019-02-07 Alan Hayward <alan.hayward@arm.com>
3297
3298 * gdb.base/attach.exp: Add double attach test.
3299
33002019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
3301
3302 * lib/gdb.exp (default_gdb_start): Don't match pagination
3303 prompt.
3304 (gdb_init): Set stty_init.
3305
33062019-01-27 Tom Tromey <tom@tromey.com>
3307
3308 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
3309 skip_python_tests.
3310
33112019-01-24 Alan Hayward <alan.hayward@arm.com>
3312
3313 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
3314 New structure.
3315 (struct struct_static_02_02): Likewise.
3316 (struct struct_static_02_03): Likewise.
3317 (struct struct_static_02_04): Likewise.
3318 (struct struct_static_04_01): Likewise.
3319 (struct struct_static_04_02): Likewise.
3320 (struct struct_static_04_03): Likewise.
3321 (struct struct_static_04_04): Likewise.
3322 (struct struct_static_06_01): Likewise.
3323 (struct struct_static_06_02): Likewise.
3324 (struct struct_static_06_03): Likewise.
3325 (struct struct_static_06_04): Likewise.
3326 (cmp_struct_static_02_01): Likewise.
3327 (cmp_struct_static_02_02): Likewise.
3328 (cmp_struct_static_02_03): Likewise.
3329 (cmp_struct_static_02_04): Likewise.
3330 (cmp_struct_static_04_01): Likewise.
3331 (cmp_struct_static_04_02): Likewise.
3332 (cmp_struct_static_04_03): Likewise.
3333 (cmp_struct_static_04_04): Likewise.
3334 (cmp_struct_static_06_01): Likewise.
3335 (cmp_struct_static_06_02): Likewise.
3336 (cmp_struct_static_06_03): Likewise.
3337 (cmp_struct_static_06_04): Likewise.
3338 (call_all): Test new structs.
3339 * gdb.base/infcall-nested-structs.exp: Likewise.
3340
33412019-01-21 Alan Hayward <alan.hayward@arm.com>
3342 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
3343
33442019-01-21 Alan Hayward <alan.hayward@arm.com>
3345 * gdb.base/stack-protector.c: New test.
3346 * gdb.base/stack-protector.exp: New file.
3347 * gdb.cp/ovldbreak.exp: Only allow a single break line.
3348 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
3349 option.
3350 (gdb_compile): Remove stack protector for GCC and prevent
3351 recursion.
3352
33532019-01-16 Keith Seitz <keiths@redhat.com>
3354
3355 PR gdb/23773
3356 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
3357
33582019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3359
3360 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
3361 aliases.
3362 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
3363 tests.
3364 * gdb.arch/powerpc-vector-regs.c: New file.
3365 * gdb.arch/powerpc-vector-regs.exp: New file.
3366
33672019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3368
3369 * gdb.arch/altivec-regs.exp: Fix the list passed to
3370 gdb_expect_list when testing "info vector".
3371
33722019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
3373
3374 * gdb.base/style.exp: Don't include path in testname.
3375
33762019-01-10 Keith Seitz <keiths@redhat.com>
3377
3378 PR gdb/23712
3379 PR symtab/23010
3380 * gdb.dwarf2/multidictionary.exp: New file.
3381
33822019-01-09 Simon Marchi <simon.marchi@ericsson.com>
3383
3384 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
3385 (test_gnuv3_style_demangling): ... this.
3386 (test_lucid_style_demangling): Remove.
3387 (test_arm_style_demangling): Remove.
3388 (test_hp_style_demangling): Remove.
3389 (do_tests): Remove calls to the above.
3390
33912019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3392
3393 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
3394 case.
3395
33962019-01-06 Tom Tromey <tom@tromey.com>
3397
3398 PR gdb/28155:
3399 * gdb.dwarf2/typedef-void-finish.exp: New file.
3400
34012018-12-28 Tom Tromey <tom@tromey.com>
3402 Simon Marchi <simark@simark.ca>
3403
3404 * gdb.base/jit-exec.exp: New file.
3405 * gdb.base/jit-exec.c: New file.
3406 * gdb.base/jit-execd.c: New file.
3407
34082018-12-28 Tom Tromey <tom@tromey.com>
3409
3410 * gdb.base/style.exp: Update test to check for address styling.
3411
34122018-12-28 Tom Tromey <tom@tromey.com>
3413
3414 * gdb.base/style.exp: Add test for styling of "Reading symbols"
3415 message.
3416
34172018-12-28 Tom Tromey <tom@tromey.com>
3418
3419 * gdb.base/style.exp: Add test for version number styling.
3420
34212018-12-28 Tom Tromey <tom@tromey.com>
3422
3423 * gdb.base/style.exp: Add test for print_address_symbolic.
3424
34252018-12-28 Tom Tromey <tom@tromey.com>
3426
3427 * gdb.base/style.exp: Add test for breakpoint setting.
3428
34292018-12-28 Tom Tromey <tom@tromey.com>
3430
3431 * gdb.base/style.exp: Add test for variable names.
3432
34332018-12-28 Tom Tromey <tom@tromey.com>
3434
3435 * gdb.base/style.exp: New file.
3436 * gdb.base/style.c: New file.
3437
34382018-12-28 Tom Tromey <tom@tromey.com>
3439
3440 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
3441 "dumb".
3442 * gdb.base/readline.exp (operate_and_get_next): Save and restore
3443 the TERM environment variable.
3444
34452018-12-27 Tom Tromey <tom@tromey.com>
3446
3447 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
3448 pagination test.
3449
34502018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
3451
3452 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
3453 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
3454
34552018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3456
3457 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
3458 Filename a.adb changed to bp_fun_addr.adb.
3459 gdb.ada/bp_fun_addr.exp: Update test accordingly.
3460
34612018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
3462
3463 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
3464 non-PIE executables.
3465 * README: Mention the gdb,nopie_flag board setting.
3466 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
3467 non-PIE executable.
3468 * gdb.arch/amd64-entry-value.exp: Likewise.
3469 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
3470 * gdb.arch/i386-float.exp: Likewise.
3471 * gdb.arch/i386-signal.exp: Likewise.
3472 * gdb.mi/mi-reg-undefined.exp: Likewise.
3473
34742018-12-21 Paul Marechal <paul.marechal@ericsson.com>
3475
3476 PR gdb/23974
3477 * gdb.base/info-os.exp: Check return for unknown "info os" type.
3478
34792018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3480
3481 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
3482 Update order of results accordingly.
3483
34842018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
3485
3486 * gdb.base/annota1.exp: Update a test regexp.
3487
34882018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
3489
3490 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
3491
34922018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3493
3494 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
3495 (reuse_time): Initialize to REUSE_TIME_CAP.
3496 (check_rc): New function.
3497 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
3498 Check pthread_create rc.
3499 (spawner_thread_func): Check pthread_create and pthread_join rc.
3500
35012018-12-08 Pedro Alves <palves@redhat.com>
3502
3503 * gdb.base/list.exp (test_forward_search): Rename to ...
3504 (test_forward_reverse_search): ... this. Also test reverse-search
3505 and the forward-search alias.
3506
35072018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
3508
3509 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
3510 local timeout variable before return, and remove all local timeout
3511 variable entirely.
3512 (gdb_load): Likewise.
3513
35142018-12-01 Tom de Vries <tdevries@suse.de>
3515
3516 * gdb.base/gdb-caching-proc.exp: New file.
3517
35182018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
3519
3520 * Makefile.in (TIMESTAMP): New variable.
3521 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
3522 command.
3523 (check-single-racy): Likewise.
3524 (check/%.exp): Likewise.
3525 (check-racy/%.exp): Likewise.
3526 (workers/%.worker): Likewise.
3527 (build-perf): Likewise.
3528 (check-perf): Likewise.
3529 * README: Describe new "TS" and "TS_FORMAT" variables.
3530 * print-ts.py: New file.
3531
35322018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
3533
3534 PR python/23714
3535 * gdb.python/python.exp: Test command repetition after
3536 gdb.execute.
3537
35382018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
3539
3540 * gdb.opt/inline-break.exp: Add test that info breakpoint output
3541 is correctly aligned.
3542
35432018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3544
3545 * gdb.ada/info_auto_lang.exp: New testcase.
3546 * gdb.ada/info_auto_lang/global_pack.ads: New file.
3547 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
3548 * gdb.ada/info_auto_lang/some_c.c: New file.
3549
35502018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3551
3552 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
3553 FUNC_lang language syntax.
3554
35552018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3556
3557 * gdb.base/info_minsym.c: New file.
3558 * gdb.base/info_minsym.exp: New file.
3559
35602018-11-19 Tom Tromey <tom@tromey.com>
3561
3562 PR rust/23625:
3563 * gdb.rust/simple.exp: Add ptype test. Update expected output.
3564 * gdb.rust/expr.exp: Update expected output. Change one test.
3565
35662018-11-19 Tom Tromey <tom@tromey.com>
3567
3568 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
3569
35702018-11-19 Pedro Alves <palves@redhat.com>
3571
3572 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
3573 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
3574 see the expected warning.
3575
35762018-11-16 Alan Hayward <alan.hayward@arm.com>
3577
3578 PR gdb/22736:
3579 * gdb.cp/infcall-nodebug-lib.c: New test.
3580 * gdb.cp/infcall-nodebug-main.c: New test.
3581 * gdb.cp/infcall-nodebug.exp: New file.
3582
35832018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
3584
3585 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
3586 completer tests.
3587
35882018-11-09 Tom de Vries <tdevries@suse.de>
3589
3590 * gdb.base/msym-lang.c: New test.
3591 * gdb.base/msym-lang.exp: New file.
3592 * gdb.base/msym-lang-main.c: New test.
3593
35942018-11-08 Tom Tromey <tom@tromey.com>
3595
3596 PR gdb/23555:
3597 PR gdb/23838:
3598 * gdb.base/warning.exp: New file.
3599
36002018-11-08 Jan Beulich <jbeulich@suse.com>
3601
3602 * testsuite/gdb.arch/i386-avx512.c,
3603 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
3604
36052018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
3606
3607 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
3608 point hardware.
3609
36102018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
3611
3612 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
3613 * gdb.dwarf2/missing-type-name.exp: New file.
3614
36152018-11-06 Tom de Vries <tdevries@suse.de>
3616
3617 * gdb.base/many-headers.c: New test.
3618 * gdb.base/many-headers.exp: New file.
3619
36202018-11-06 Jim Wilson <jimw@sifive.com>
3621
3622 * gdb.base/code_elim.exp: For riscv, set additional_flags
3623 to include -msmall-data-limit=0.
3624
36252018-11-01 Joel Brobecker <brobecker@adacore.com>
3626
3627 * gdb.ada/watch_minus_l: New testcase.
3628
36292018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
3630
3631 * gdb.arch/aix-sighandle.c: New file.
3632 * gdb.arch/aix-sighandle.exp: New file.
3633
36342018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3635
3636 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
3637 registers being unions.
3638
36392018-10-31 Tom de Vries <tdevries@suse.de>
3640
3641 * lib/valgrind.exp: New file.
3642 (vgdb_start, vgdb_stop): New procs, factored out of ...
3643 * gdb.base/valgrind-bt.exp: ... here, ...
3644 * gdb.base/valgrind-disp-step.exp: ... here and ...
3645 * gdb.base/valgrind-infcall.exp: ... here.
3646
36472018-10-31 Tom de Vries <tdevries@suse.de>
3648
3649 * lib/gdb.exp (get_valueof): Don't output read value in test name.
3650
36512018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3652
3653 * gdb.dwarf2/void-type.c: New file.
3654 * gdb.dwarf2/void-type.exp: New file.
3655
36562018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3657
3658 * gdb.base/info_qt.c: New file.
3659 * gdb.base/info_qt.exp: New file.
3660
36612018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3662
3663 * gdb.arch/powerpc-htm-regs.c: New file.
3664 * gdb.arch/powerpc-htm-regs.exp: New file.
3665
36662018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3667
3668 * gdb.arch/powerpc-tar.c: New file.
3669 * gdb.arch/powerpc-tar.exp: New file.
3670
36712018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3672
3673 * gdb.arch/powerpc-ppr-dscr.c: New file.
3674 * gdb.arch/powerpc-ppr-dscr.exp: New file.
3675
36762018-10-25 Tom de Vries <tdevries@suse.de>
3677
3678 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
3679
36802018-10-24 Tom de Vries <tdevries@suse.de>
3681
3682 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
3683 longer exists error.
3684
36852018-10-24 Tom de Vries <tdevries@suse.de>
3686
3687 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
3688
36892018-10-24 Tom de Vries <tdevries@suse.de>
3690
3691 * gdb.base/valgrind-db-attach.exp: Handle removed support for
3692 --db-attach in valgrind.
3693
36942018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
3695
3696 * gdb.arch/riscv-reg-aliases.c: New file.
3697 * gdb.arch/riscv-reg-aliases.exp: New file.
3698
36992018-10-19 Alan Hayward <alan.hayward@arm.com>
3700
3701 * gdb.python/py-cmd.exp: Check for gdb_prompt.
3702
37032018-10-19 Alan Hayward <alan.hayward@arm.com>
3704
3705 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
3706
37072018-10-19 Alan Hayward <alan.hayward@arm.com>
3708
3709 * gdb.cp/ovldbreak.exp: Fix regexps.
3710
37112018-10-19 Alan Hayward <alan.hayward@arm.com>
3712
3713 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
3714
37152018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
3716
3717 PR cli/23785
3718 * gdb.base/restore.exp: New test to check if "restore" with an
3719 invalid file doesn't segfault.
3720
37212018-10-18 Tom de Vries <tdevries@suse.de>
3722
3723 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
3724 * gdb.ada/excep_handle.exp: Same.
3725 * gdb.ada/mi_string_access.exp: Same.
3726 * gdb.ada/mi_var_union.exp: Same.
3727 * gdb.arch/arc-analyze-prologue.exp: Same.
3728 * gdb.arch/arc-decode-insn.exp: Same.
3729 * gdb.base/readnever.exp: Same.
3730 * gdb.fortran/printing-types.exp: Same.
3731 * gdb.guile/scm-lazy-string.exp: Same.
3732
37332018-10-16 Tom de Vries <tdevries@suse.de>
3734
3735 PR gdb/23730
3736 * gdb.base/catch-follow-exec.c: Add copyright notice.
3737 * gdb.base/catch-follow-exec.exp: Rewrite to use
3738 gdb_spawn_with_cmdline_opts. Require gdb-native.
3739
37402018-10-12 Sandra Loosemore <sandra@codesourcery.com>
3741
3742 * gdb.trace/actions-changed.exp: Check for arch support.
3743 * gdb.trace/actions.exp: Likewise.
3744 * gdb.trace/ax.exp: Likewise.
3745 * gdb.trace/backtrace.exp: Likewise.
3746 * gdb.trace/change-loc.exp: Likewise.
3747 * gdb.trace/deltrace.exp: Likewise.
3748 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
3749 * gdb.trace/ftrace.exp: Likewise.
3750 * gdb.trace/infotrace.exp: Check for arch support.
3751 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
3752 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
3753 * gdb.trace/mi-tsv-changed.exp: Likewise.
3754 * gdb.trace/packetlen.exp: Likewise.
3755 * gdb.trace/passc-dyn.exp: Likewise.
3756 * gdb.trace/passcount.exp: Likewise.
3757 * gdb.trace/pending.exp: Likewise.
3758 * gdb.trace/range-stepping.exp: Check for shlib support.
3759 * gdb.trace/report.exp: Check for arch support.
3760 * gdb.trace/save-trace.exp: Likewise.
3761 * gdb.trace/signal.exp: Check for signal support.
3762 * gdb.trace/tfind.exp: Check for arch support.
3763 * gdb.trace/trace-break.exp: Check for arch and shlib support.
3764 * gdb.trace/trace-common.h: Add comment.
3765 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
3766 * gdb.trace/trace-enable-disable.exp: Likewise.
3767 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
3768 * gdb.trace/tracecmd.exp: Check for arch support.
3769 * gdb.trace/tspeed.exp: Check for shlib and target support.
3770 * gdb.trace/tstatus.exp: Check for arch support.
3771 * gdb.trace/tsv.exp: Likewise.
3772 * gdb.trace/while-dyn.exp: Likewise.
3773 * gdb.trace/while-stepping.exp: Likewise.
3774 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
3775
37762018-10-12 Simon Marchi <simon.marchi@ericsson.com>
3777
3778 * gdb.trace/tspeed.exp: Remove nowarnings.
3779 (prepare_for_trace_test): Declare "global ipalib".
3780 * gdb.trace/tspeed.c: Include unistd.h.
3781 (main): Remove superfluous printf argument.
3782
37832018-10-11 Sandra Loosemore <sandra@codesourcery.com>
3784
3785 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
3786 directory prefix on the filename.
3787
37882018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
3789
3790 * gdb.gdb/unittest.exp: Update expected message informing that
3791 selftests have been disabled.
3792 * gdb.server/unittest.exp: Likewise.
3793
37942018-10-09 Tom de Vries <tdevries@suse.de>
3795
3796 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
3797 with runto_main.
3798
37992018-10-08 Weimin Pan <weimin.pan@oracle.com>
3800
3801 PR c++/16841
3802 * gdb.cp/virtbase2.cc: New file.
3803 * gdb.cp/virtbase2.exp: New file.
3804
38052018-10-06 Tom Tromey <tom@tromey.com>
3806
3807 PR python/19399:
3808 * gdb.python/py-inferior.exp: Add architecture test.
3809
38102018-10-06 Tom Tromey <tom@tromey.com>
3811
3812 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
3813 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
3814
38152018-10-06 Tom Tromey <tom@tromey.com>
3816
3817 * gdb.python/py-breakpoint.exp (check_last_event): Check location
3818 of a "throw" catchpoint.
3819
38202018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
3821
3822 * gdb.base/info-proc.exp: Update string expected from "help info
3823 proc".
3824
38252018-10-04 Tom Tromey <tom@tromey.com>
3826
3827 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
3828 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
3829 (test_initial_complaints, test_empty_complaints): Update.
3830 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3831
38322018-10-04 Tom Tromey <tom@tromey.com>
3833
3834 PR cli/19551:
3835 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
3836 * lib/gdb.exp (gdb_file_cmd): Update.
3837 * gdb.stabs/weird.exp (print_weird_var): Update.
3838 * gdb.server/solib-list.exp: Update.
3839 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
3840 * gdb.mi/mi-cli.exp: Update.
3841 * gdb.linespec/linespec.exp: Update.
3842 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3843 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
3844 * gdb.cp/cp-relocate.exp: Update.
3845 * gdb.base/sym-file.exp: Update.
3846 * gdb.base/relocate.exp: Update.
3847 * gdb.base/readnever.exp: Update.
3848 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
3849 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
3850 * gdb.base/dbx.exp (gdb_file_cmd): Update.
3851 * gdb.base/code_elim.exp: Update.
3852 * gdb.base/break-unload-file.exp (test_break): Update.
3853 * gdb.base/break-interp.exp (test_attach_gdb): Update.
3854 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
3855 Update.
3856 * gdb.base/attach.exp (do_attach_tests): Update.
3857 * gdb.base/sepdebug.exp: Update.
3858 * gdb.python/py-section-script.exp: Update.
3859
38602018-10-04 Tom Tromey <tom@tromey.com>
3861
3862 PR cli/22234:
3863 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
3864 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
3865 output.
3866
38672018-10-04 Tom Tromey <tom@tromey.com>
3868
3869 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
3870 set width and height to 0.
3871 (test_command_line_attach_run): Use -quiet.
3872
38732018-10-03 Sandra Loosemore <sandra@codesourcery.com>
3874
3875 * lib/gdb.exp (skip_ifunc_tests): New.
3876 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
3877 other compile failures.
3878 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
3879
38802018-10-01 Simon Marchi <simon.marchi@ericsson.com>
3881
3882 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
3883 is_amd64_regs_target.
3884
38852018-10-01 Alan Hayward <alan.hayward@arm.com>
3886
3887 * gdb.arch/aarch64-sighandler-regs.c: New test.
3888 * gdb.arch/aarch64-sighandler-regs.exp: New file.
3889 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
3890
38912018-10-01 Markus Metzger <markus.t.metzger@intel.com>
3892
3893 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
3894 assembly.
3895
38962018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
3897
3898 * gdb.base/frame-selection.exp: New file.
3899 * gdb.base/frame-selection.c: New file.
3900
39012018-09-27 Alan Hayward <alan.hayward@arm.com>
3902
3903 * gdb.threads/check-libthread-db.c (thread_routine): Use a
3904 pthread barrier.
3905 (main): Likewise.
3906
39072018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
3908
3909 * gdb.base/large-frame-1.c: New file.
3910 * gdb.base/large-frame-2.c: New file.
3911 * gdb.base/large-frame.exp: New file.
3912 * gdb.base/large-frame.h: New file.
3913
39142018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3915
3916 PR gdb/20948
3917 * gdb.base/write_mem.exp: New test.
3918 * gdb.base/write_mem.c: Likewise.
3919
39202018-09-23 Tom Tromey <tom@tromey.com>
3921
3922 PR python/18852:
3923 * gdb.python/py-parameter.exp: Add test for parameter that throws
3924 on "set".
3925
39262018-09-23 Tom Tromey <tom@tromey.com>
3927
3928 PR python/17284:
3929 * gdb.python/py-template.exp (test_template_arg): Add test for
3930 negative template argument number.
3931
39322018-09-23 Tom Tromey <tom@tromey.com>
3933
3934 PR python/14062:
3935 * gdb.python/python.exp: Add test for post_event error.
3936
39372018-09-23 Tom Tromey <tom@tromey.com>
3938
3939 PR python/18170:
3940 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
3941 convert pointers to int and long.
3942
39432018-09-23 Tom Tromey <tom@tromey.com>
3944
3945 PR python/20126:
3946 * gdb.python/py-value.exp (test_value_numeric_ops): Add
3947 signed-ness conversion tests.
3948
39492018-09-23 Tom Tromey <tom@tromey.com>
3950
3951 PR python/18352;
3952 * gdb.python/py-value.exp (test_float_conversion): New proc.
3953 Use it.
3954
39552018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
3956
3957 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
3958
39592018-09-18 Sandra Loosemore <sandra@codesourcery.com>
3960
3961 * gdb.base/complete-empty.exp: Skip tab-completion tests if
3962 no readline.
3963 * gdb.base/utf8-identifiers.exp: Likewise.
3964 * gdb.cp/cpcompletion.exp: Likewise.
3965 * gdb.linespec/cpcompletion.exp: Likewise.
3966 * gdb.linespec/cpls-abi-tag.exp: Likewise.
3967 * gdb.linespec/cpls-ops.exp: Likewise.
3968
39692018-09-19 Richard Bunt <richard.bunt@arm.com>
3970 Chris January <chris.january@arm.com>
3971
3972 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
3973 * gdb.fortran/short-circuit-argument-list.exp: New file.
3974 * gdb.fortran/short-circuit-argument-list.f90: New test.
3975
39762018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3977
3978 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
3979 "arch=" keyword when executing "-stack-list-frames".
3980
39812018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3982
3983 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
3984 "arch=" keyword when executing "-stack-list-frames".
3985
39862018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3987
3988 * gdb.ada/complete.exp: Expect for "@" when doing "complete
3989 break ada".
3990
39912018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
3992
3993 PR python/23669
3994 * gdb.python/python.exp: Test gdb.execute("show commands").
3995
39962018-09-16 Tom Tromey <tom@tromey.com>
3997
3998 * gdb.base/new-ui.exp (do_execution_tests): Update.
3999 * gdb.base/dbx.exp (test_breakpoints): Update.
4000
40012018-09-14 Alan Hayward <alan.hayward@arm.com>
4002
4003 * lib/gdb.exp (gdb_simple_compile): Add proc.
4004 (is_elf_target): Use gdb_simple_compile.
4005 (skip_altivec_tests): Likewise.
4006 (skip_vsx_tests): Likewise.
4007 (skip_tsx_tests): Likewise.
4008 (skip_btrace_tests): Likewise.
4009 (skip_btrace_pt_tests): Likewise.
4010 (gdb_can_simple_compile): Likewise.
4011 (gdb_has_argv0): Likewise.
4012 (gdb_target_symbol_prefix): Likewise.
4013 (target_supports_scheduler_locking): Likewise.
4014
40152018-09-13 Tom Tromey <tom@tromey.com>
4016
4017 * Makefile.in (TAGS): Recognize proc_with_prefix and
4018 gdb_caching_proc.
4019
40202018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4021
4022 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
4023 method.
4024
40252018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4026
4027 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
4028 and a few other Inferior properties when the Inferior is no
4029 longer valid.
4030
40312018-09-13 Tom Tromey <tom@tromey.com>
4032
4033 PR rust/23650:
4034 * gdb.rust/simple.exp: Add test for enum field access error.
4035
40362018-09-13 Tom Tromey <tom@tromey.com>
4037
4038 PR rust/23626:
4039 * gdb.rust/simple.rs (EmptyEnum): New type.
4040 (main): Use it.
4041 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
4042
40432018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4044
4045 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
4046 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
4047 * gdb.python/py-symtab.exp: Update test printing an objfile.
4048
40492018-09-12 Simon Marchi <simon.marchi@ericsson.com>
4050
4051 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
4052 object.
4053
40542018-09-12 Alan Hayward <alan.hayward@arm.com>
4055
4056 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
4057 (support_complex_tests): Use gdb_can_simple_compile.
4058 (is_ilp32_target): Likewise.
4059 (is_lp64_target): Likewise.
4060 (is_64_target): Likewise.
4061 (is_amd64_regs_target): Likewise.
4062 (is_aarch32_target): Likewise.
4063 (gdb_int128_helper): Likewise.
4064
40652018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4066
4067 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
4068
40692018-09-10 Jerome Guitton <guitton@adacore.com>
4070
4071 * gdb.ada/same_component_name: Add test for case of tagged record
4072 with variable-length fields.
4073
40742018-09-10 Xavier Roirand <roirand@adacore.com>
4075
4076 * gdb.ada/access_to_unbounded_array.exp: New testcase.
4077 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
4078 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
4079 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
4080
40812018-09-10 Xavier Roirand <roirand@adacore.com>
4082
4083 * gdb.ada/mi_string_access.exp: New testcase.
4084 * gdb.ada/mi_string_access/bar.adb: New file.
4085 * gdb.ada/mi_string_access/pck.adb: New file.
4086 * gdb.ada/mi_string_access/pck.asd: New file.
4087
40882018-09-10 Xavier Roirand <roirand@adacore.com>
4089
4090 * gdb.ada/mi_var_union.exp: New testcase.
4091 * gdb.ada/mi_var_union/bar.adb: New file.
4092 * gdb.ada/mi_var_union/pck.adb: New file.
4093 * gdb.ada/mi_var_union/pck.asd: New file.
4094
40952018-09-08 Tom Tromey <tom@tromey.com>
4096
4097 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
4098
40992018-09-08 Tom Tromey <tom@tromey.com>
4100
4101 PR python/16047:
4102 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
4103 (register_pretty_printers): Register new printer.
4104 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
4105 test.
4106 * gdb.python/py-prettyprint.c (int_type3): New typedef.
4107 (an_int_type3): New global.
4108
41092018-09-08 Joel Brobecker <brobecker@adacore.com>
4110
4111 * gdb.ada/expr_with_funcall: New testcase.
4112
41132018-09-08 Joel Brobecker <brobecker@adacore.com>
4114
4115 * gdb.ada/packed_array_assign: New testcase.
4116
41172018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
4118
4119 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
4120 names, and add test prefixes to make test names unique.
4121
41222018-09-05 Tom de Vries <tdevries@suse.de>
4123
4124 * gdb.dwarf2/varval.exp: Add test.
4125
41262018-09-04 Gary Benson <gbenson@redhat.com>
4127
4128 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
4129 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
4130
41312018-08-31 Tom Tromey <tom@tromey.com>
4132
4133 * gdb.rust/simple.rs: Rename second variable "v".
4134
41352018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
4136
4137 * gdb.base/funcargs.c (use_a): New function.
4138 (recurse): Call use_a.
4139
41402018-08-29 Keith Seitz <keiths@redhat.com>
4141
4142 * gdb.compile/compile-cplus-anonymous.cc: New file.
4143 * gdb.compile/compile-cplus-anonymous.exp: New file.
4144 * gdb.compile/compile-cplus-array-decay.cc: New file.
4145 * gdb.compile/compile-cplus-array-decay.exp: New file.
4146 * gdb.compile/compile-cplus-inherit.cc: New file.
4147 * gdb.compile/compile-cplus-inherit.exp: New file.
4148 * gdb.compile/compile-cplus-member.cc: New file.
4149 * gdb.compile/compile-cplus-member.exp: New file.
4150 * gdb.compile/compile-cplus-method.cc: New file.
4151 * gdb.compile/compile-cplus-method.exp: New file.
4152 * gdb.compile/compile-cplus-mod.c: "New" file.
4153 * gdb.compile/compile-cplus-namespace.cc: New file.
4154 * gdb.compile/compile-cplus-namespace.exp: New file.
4155 * gdb.compile/compile-cplus-nested.cc: New file.
4156 * gdb.compile/compile-cplus-nested.exp: New file.
4157 * gdb.compile/compile-cplus-print.c: "New" file.
4158 * gdb.compile/compile-cplus-print.exp: "New" file.
4159 * gdb.compile/compile-cplus-virtual.cc: New file.
4160 * gdb.compile/compile-cplus-virtual.exp: New file.
4161 * gdb.compile/compile-cplus.c: "New" file.
4162 * gdb.compile/compile-cplus.exp: "New" file.
4163 * lib/compile-support.exp: New file.
4164
41652018-08-16 Gary Benson <gbenson@redhat.com>
4166
4167 PR gdb/13000:
4168 * gdb.base/batch-exit-status.exp: New file.
4169 * gdb.base/batch-exit-status.good-commands: Likewise.
4170 * gdb.base/batch-exit-status.bad-commands: Likewise.
4171
41722018-08-29 Alan Hayward <alan.hayward@arm.com>
4173
4174 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
4175 (struct struct02): Likewise.
4176 (struct struct03): Likewise.
4177 (struct struct04): Likewise.
4178 (struct struct_01_01): New struct.
4179 (struct struct_01_02): Likewise.
4180 (struct struct_01_03): Likewise.
4181 (struct struct_01_04): Likewise.
4182 (struct struct_02_01): Likewise.
4183 (struct struct_02_02): Likewise.
4184 (struct struct_02_03): Likewise.
4185 (struct struct_02_04): Likewise.
4186 (struct struct_04_01): Likewise.
4187 (struct struct_04_02): Likewise.
4188 (struct struct_04_03): Likewise.
4189 (struct struct_04_04): Likewise.
4190 (struct struct_05_01): Likewise.
4191 (struct struct_05_02): Likewise.
4192 (struct struct_05_03): Likewise.
4193 (struct struct_05_04): Likewise.
4194 (cmp_struct01): Remove function.
4195 (cmp_struct02): Likewise.
4196 (cmp_struct03): Likewise.
4197 (cmp_struct04): Likewise.
4198 (cmp_struct_01_01): Add Function.
4199 (cmp_struct_01_02): Likewise.
4200 (cmp_struct_01_03): Likewise.
4201 (cmp_struct_01_04): Likewise.
4202 (cmp_struct_02_01): Likewise.
4203 (cmp_struct_02_02): Likewise.
4204 (cmp_struct_02_03): Likewise.
4205 (cmp_struct_02_04): Likewise.
4206 (cmp_struct_04_01): Likewise.
4207 (cmp_struct_04_02): Likewise.
4208 (cmp_struct_04_03): Likewise.
4209 (cmp_struct_04_04): Likewise.
4210 (cmp_struct_05_01): Likewise.
4211 (cmp_struct_05_02): Likewise.
4212 (cmp_struct_05_03): Likewise.
4213 (cmp_struct_05_04): Likewise.
4214 (call_all): Add new structs.
4215 * gdb.base/infcall-nested-structs.exp: Likewise.
4216
42172018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
4218
4219 * gdb.python/py-framefilter-mi.exp: Update regexp to
4220 check for "arch" field in frame output.
4221
42222018-08-23 Kevin Buettner <kevinb@redhat.com>
4223
4224 * gdb.dwarf2/dw2-ranges-func.c: New file.
4225 * gdb.dwarf2/dw2-ranges-func.exp: New file.
4226
42272018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
4228
4229 * gdb.base/term.exp: Compare terminal settings with values from
4230 the inferior.
4231 * gdb.base/term.c: Get and set terminal settings.
4232
42332018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
4234
4235 * lib/mi-support.exp (mi_expect_stop): Update regexp to
4236 accommodate new "arch" field in frame output.
4237 * gdb.mi/mi-return.exp: Likewise.
4238 * gdb.mi/mi-stack.exp: Likewise.
4239 * gdb.mi/mi-syn-frame.exp: Likewise.
4240 * gdb.mi/user-selected-context-sync.exp: Likewise.
4241
42422018-08-19 Michael Spang <spang@google.com>
4243
4244 PR gdb/11786
4245 * gdb.base/gcore-tls-pie.c: New file.
4246 * gdb.base/gcore-tls-pie.exp: New file.
4247
42482018-08-18 Kevin Buettner <kevinb@redhat.com>
4249
4250 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
4251 * gdb.dwarf2/varval.c: New file.
4252 * gdb.dwarf2/varval.exp: New file.
4253
42542018-08-17 Alan Hayward <alan.hayward@arm.com>
4255
4256 PR gdb/18931
4257 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
4258
42592018-08-16 Keith Seitz <keiths@redhat.com>
4260
4261 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
4262 tests expected to pass.
4263
42642018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
4265
4266 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
4267 -data-disassemble -a.
4268 (test_disassembly_bogus_args): Likewise.
4269
42702018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
4271
4272 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
4273
42742018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
4275
4276 * gdb.base/vla-optimized-out.exp: Add new test.
4277
42782018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
4279
4280 * gdb.base/vla-optimized-out-o3.exp: Delete.
4281 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
4282 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
4283 deleted tests.
4284
42852018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
4286
4287 PR gdb/18050:
4288 * gdb.server/extended-remote-restart.c: New file.
4289 * gdb.server/extended-remote-restart.exp: New file.
4290
42912018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
4292
4293 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
4294 "set variable index = 42".
4295
42962018-08-07 Simon Marchi <simon.marchi@ericsson.com>
4297
4298 * boards/index-cache-gdb.exp: New file.
4299 * gdb.dwarf2/index-cache.exp: New file.
4300 * gdb.dwarf2/index-cache.c: New file.
4301 * gdb.base/maint.exp: Check if we are using the index cache.
4302
43032018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4304
4305 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
4306 MAKEFLAGS.
4307
43082018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4309
4310 * dg-extract-results.sh: Move to toplevel contrib.
4311 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
4312 * Makefile.in (check-parallel-racy): Likewise.
4313
43142018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
4315
4316 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
4317 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
4318 tests if the target supports scheduler locking.
4319
43202018-08-04 Tom de Vries <tdevries@suse.de>
4321
4322 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
4323
43242018-08-02 Tom Tromey <tom@tromey.com>
4325
4326 PR symtab/16842.
4327 * gdb.cp/temargs.exp: Test "info address" of a template
4328 parameter.
4329
43302018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
4331
4332 * gdb.python/py-mi-var-info-path-expression.c: New file.
4333 * gdb.python/py-mi-var-info-path-expression.py: New file.
4334 * gdb.python/py-mi-var-info-path-expression.exp: New file.
4335
43362018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
4337
4338 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
4339 error after "cannot resolve name" string.
4340
43412018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
4342
4343 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
4344 started.
4345 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
4346
43472018-07-28 Tom de Vries <tdevries@suse.de>
4348
4349 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
4350
43512018-07-26 Tom de Vries <tdevries@suse.de>
4352
4353 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
4354
43552018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
4356
4357 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
4358 is visible.
4359
43602018-07-26 Tom de Vries <tdevries@suse.de>
4361
4362 PR breakpoints/23366
4363 * gdb.base/catch-follow-exec.c: New test.
4364 * gdb.base/catch-follow-exec.exp: New file.
4365
43662018-07-25 Tom de Vries <tdevries@suse.de>
4367
4368 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
4369 vla-optimized-out.c.
4370
43712018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
4372
4373 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
4374 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
4375
43762018-07-20 Tom de Vries <tdevries@suse.de>
4377
4378 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
4379 NOCLONE macro.
4380 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
4381
43822018-07-19 Tom de Vries <tdevries@suse.de>
4383
4384 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
4385 regular expression.
4386
43872018-07-18 Tom de Vries <tdevries@suse.de>
4388
4389 * gdb.base/vla-optimized-out.c: New test.
4390 * gdb.base/vla-optimized-out.exp: New file.
4391
43922018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
4393
4394 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
4395 message "No address associated with hostname" when gdbserver
4396 cannot resolve the hostname.
4397
43982018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4399
4400 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
4401 Add some test prefixes to make tests unique.
4402
44032018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4404
4405 * gdb.base/frameapply.c: New file.
4406 * gdb.base/frameapply.exp: New file.
4407
44082018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4409
4410 * gdb.base/skip.exp: Update expected error message.
4411
44122018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
4413 Jan Kratochvil <jan.kratochvil@redhat.com>
4414 Paul Fertser <fercerpav@gmail.com>
4415 Tsutomu Seki <sekiriki@gmail.com>
4416
4417 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
4418 parameter.
4419 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
4420 by default.
4421 * boards/native-gdbserver.exp: Likewise.
4422 * gdb.server/run-without-local-binary.exp: Improve regexp used
4423 for detecting when a remote debugging connection succeeds.
4424 * gdb.server/server-connect.exp: New file.
4425 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
4426 Do not prefix the port number with ":".
4427 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
4428 support for detecting and using it. Add '$debughost_gdbserver'
4429 to the list of arguments used to start gdbserver. Handle case
4430 when gdbserver cannot resolve a network name.
4431
44322018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
4433
4434 PR c++/23373
4435 * gdb.base/ptype-offsets.cc (struct static_member): New
4436 struct.
4437 (main) <stmember>: New variable.
4438 * gdb.base/ptype-offsets.exp: Add test for printing a struct
4439 with a static member in it.
4440
44412018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
4442
4443 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
4444 watchpoints enabled and disabled.
4445
44462018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4447
4448 * gdb.base/examine-backward.exp: Still run tests around address
4449 0x0, even if address 0x0 is not readable. Update the pattern for
4450 matching address 0x0 in expected output.
4451
44522018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
4453
4454 * gdb.base/share-env-with-gdbserver.c (main): Add call to
4455 malloc/free.
4456
44572018-07-04 Tom de Vries <tdevries@suse.de>
4458
4459 * gdb.dwarf2/dw2-error.exp: Update expected error message.
4460
44612018-07-02 Maciej W. Rozycki <macro@mips.com>
4462
4463 PR tdep/8282
4464 * gdb.arch/mips-disassembler-options.exp: New test.
4465 * gdb.arch/mips-disassembler-options.s: New test source.
4466
44672018-06-29 Pedro Alves <palves@redhat.com>
4468
4469 * gdb.threads/names.exp: Adjust expected "info threads" output.
4470
44712018-06-29 Pedro Alves <palves@redhat.com>
4472
4473 * gdb.opt/inline-break.exp (line number, address): Add "info
4474 break" tests.
4475
44762018-06-29 Pedro Alves <palves@redhat.com>
4477
4478 * gdb.opt/inline-break.c (func1): Add "break here" marker.
4479 * gdb.opt/inline-break.exp: Test setting breakpoints by line
4480 number and address and running to them.
4481
44822018-06-29 Richard Bunt <richard.bunt@arm.com>
4483
4484 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
4485
44862018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4487
4488 * lib/compiler.c: Remove executable permission flag.
4489
44902018-06-28 Richard Bunt <richard.bunt@arm.com>
4491
4492 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
4493 code.
4494 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
4495
44962018-06-28 Petr Tesarik <ptesarik@suse.cz>
4497
4498 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
4499
45002018-06-28 Petr Tesarik <ptesarik@suse.cz>
4501
4502 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
4503 address argument is omitted.
4504
45052018-06-28 Petr Tesarik <ptesarik@suse.cz>
4506
4507 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
4508
45092018-06-27 Omair Javaid <omair.javaid@linaro.org>
4510
4511 PR gdb/21695
4512 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
4513 * gdb.base/infoline-reloc-main-from-zero.c: New file.
4514
45152018-06-26 Tom Tromey <tom@tromey.com>
4516
4517 PR rust/22574:
4518 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
4519 * gdb.rust/simple.rs (struct SimpleLayout): New.
4520
45212018-06-22 Simon Marchi <simon.marchi@ericsson.com>
4522
4523 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
4524 "info registers" output.
4525
45262018-06-21 Richard Bunt <richard.bunt@arm.com>
4527
4528 * gdb.base/watchpoint-hw-attach.c: New test.
4529 * gdb.base/watchpoint-hw-attach.exp: New file.
4530
45312018-06-20 Simon Marchi <simon.marchi@ericsson.com>
4532
4533 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
4534 through /bin/sh.
4535 * boards/dwarf4-gdb-index.exp: Likewise.
4536 * boards/fission-dwp.exp: Likewise.
4537
45382018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
4539
4540 * gdb.base/float128.exp: Add comment and improved fail message
4541 to the failure case of "print large128" test.
4542
45432018-06-19 Simon Marchi <simon.marchi@ericsson.com>
4544
4545 * configure.ac: Remove AC_PREREQ.
4546 * configure: Re-generate.
4547
45482018-06-19 Pedro Alves <palves@redhat.com>
4549
4550 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
4551 (func_extern_caller): New.
4552 (main): Call func_extern_caller.
4553 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
4554 logic change.
4555
45562018-06-18 Weimin Pan <weimin.pan@oracle.com>
4557
4558 PR gdb/16841
4559 * gdb.cp/typedef-base.cc: New file.
4560 * gdb.cp/typedef-base.exp: New file.
4561
45622018-06-18 Tom de Vries <tdevries@suse.de>
4563
4564 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
4565
45662018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
4567 Richard Bunt <Richard.Bunt@arm.com>
4568
4569 * gdb.threads/attach-slow-waitpid.c: New file.
4570 * gdb.threads/attach-slow-waitpid.exp: New file.
4571 * gdb.threads/slow-waitpid.c: New file.
4572
45732018-06-14 Pedro Alves <palves@redhat.com>
4574
4575 * gdb.base/fork-running-state.c: Include <errno.h>.
4576 (exit_if_relative_exits): New.
4577 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
4578 exits.
4579 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
4580 child exits.
4581
45822018-06-14 Tom de Vries <tdevries@suse.de>
4583
4584 PR cli/22573
4585 * gdb.base/finish-pretty.c: New test.
4586 * gdb.base/finish-pretty.exp: New file.
4587
45882018-06-14 Pedro Alves <palves@redhat.com>
4589
4590 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
4591 gdb's expected startup output.
4592
45932018-06-14 Pedro Alves <palves@redhat.com>
4594
4595 * lib/selftest-support.exp (selftest_setup): Remove inlined
4596 function handling.
4597
45982018-06-14 Tom de Vries <tdevries@suse.de>
4599
4600 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
4601 matching of breakpoint printing.
4602
46032018-06-13 Tom de Vries <tdevries@suse.de>
4604
4605 PR testsuite/23269
4606 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
4607 (fork_child): ... here, and ...
4608 (fork_parent): ... here.
4609
46102018-06-12 Tom de Vries <tdevries@suse.de>
4611
4612 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
4613
46142018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
4615 Stephen Roberts <stephen.roberts@arm.com>
4616
4617 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
4618 rewrite test to describe action performed, rather than possible
4619 failure.
4620
46212018-06-08 Gary Benson <gbenson@redhat.com>
4622
4623 * gdb.threads/check-libthread-db.exp: New file.
4624 * gdb.threads/check-libthread-db.c: Likewise.
4625
46262018-06-05 Tom Tromey <tom@tromey.com>
4627
4628 * gdb.base/default.exp: Update expected "show version" output.
4629
46302018-06-05 Tom Tromey <tom@tromey.com>
4631
4632 PR cli/12326:
4633 * gdb.cp/static-print-quit.exp: Update.
4634 * lib/gdb.exp (pagination_prompt): Update.
4635 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
4636 * gdb.python/python.exp: Update.
4637
46382018-06-04 Joel Brobecker <brobecker@adacore.com>
4639
4640 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
4641
46422018-06-01 Joel Brobecker <brobecker@adacore.com>
4643
4644 * gdb.ada/bp_fun_addr: New testcase.
4645
46462018-06-01 Tom Tromey <tom@tromey.com>
4647
4648 * gdb.xml/tdesc-regs.exp (load_description): Update expected
4649 results.
4650 * gdb.dwarf2/method-ptr.exp: Set language to C++.
4651 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
4652 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
4653 * gdb.base/maint.exp (maint_pass_if): Update.
4654
46552018-05-31 Maciej W. Rozycki <macro@mips.com>
4656
4657 * gdb.base/endian.exp: New test.
4658 * gdb.base/endian.c: New test source.
4659
46602018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
4661
4662 PR gdb/23203
4663 * gdb.base/bt-selected-frame.c: New file.
4664 * gdb.base/bt-selected-frame.exp: New file.
4665 * lib/gdb.exp (get_current_frame_number): New function.
4666
46672018-05-24 Maciej W. Rozycki <macro@mips.com>
4668 Pedro Alves <palves@redhat.com>
4669
4670 * gdb.threads/tls-core.c: Include <stdlib.h>
4671 (thread_proc): Call `abort'.
4672 * gdb.threads/tls-core.exp: Generate a core with core_find too.
4673 (tls_core_test): New procedure, bits factored out from ...
4674 (top level): ... here. Test both native cores and gcore cores.
4675
46762018-05-23 Tom Tromey <tom@tromey.com>
4677
4678 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
4679
46802018-05-23 Tom Tromey <tom@tromey.com>
4681
4682 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
4683 symfile_complaints.
4684 (test_short_complaints): Likewise.
4685 (test_empty_complaints): Likewise.
4686 (test_initial_complaints): Update.
4687
46882018-05-23 Tom Tromey <tom@tromey.com>
4689
4690 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
4691
46922018-05-23 Tom Tromey <tom@tromey.com>
4693
4694 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
4695 (test_short_complaints): Update.
4696
46972018-05-22 Pedro Alves <palves@redhat.com>
4698
4699 * gdb.base/remote.exp: Only gdb_start after compiling the
4700 testcase. Issue "disconnect" before testing "set remote" command
4701 defaults. Issue clean_restart before running to main.
4702
47032018-05-22 Pedro Alves <palves@redhat.com>
4704
4705 * gdb.base/remote.exp: Adjust expected output of "show remote
4706 memory-write-packet-size". Add tests for "set remote
4707 memory-write-packet-size 0" and "set remote
4708 memory-write-packet-size fixed/limit".
4709
47102018-05-22 Pedro Alves <palves@redhat.com>
4711
4712 PR gdb/22973
4713 * gdb.base/utf8-identifiers.c: New file.
4714 * gdb.base/utf8-identifiers.exp: New file.
4715
47162018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
4717
4718 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
4719
47202018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
4721
4722 * gdb.arch/powerpc-vsx-gcore.exp: New file.
4723
47242018-05-18 Tom Tromey <tom@tromey.com>
4725
4726 * gdb.base/ptype-offsets.exp: Update.
4727
47282018-05-17 Keith Seitz <keiths@redhat.com>
4729
4730 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
4731 in expected breakpoint stop locations.
4732 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
4733 move to proper scope to test variable values.
4734 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
4735 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
4736 New functions.
4737 (main): Call not_inline_func3.
4738 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
4739 inline_func1, inline_func2, and inline_func3. Test that when each
4740 breakpoint is hit, GDB properly reports both the stop location
4741 and the backtrace. Repeat tests for temporary breakpoints.
4742
47432018-05-15 Maciej W. Rozycki <macro@mips.com>
4744
4745 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
4746 rather then trying to access it in determining whether the PID
4747 of `gdbserver' could have been retrieved.
4748
47492018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
4750
4751 * gdb.arch/amd64-init-x87-values.S: New file.
4752 * gdb.arch/amd64-init-x87-values.exp: New file.
4753
47542018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4755
4756 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
4757
47582018-05-04 Tom Tromey <tom@tromey.com>
4759
4760 PR python/22730:
4761 * gdb.python/python.exp: Test multi-line execute.
4762
47632018-05-04 Tom Tromey <tom@tromey.com>
4764
4765 PR python/22731:
4766 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
4767
47682018-05-04 Tom Tromey <tom@tromey.com>
4769
4770 PR gdb/11750:
4771 * gdb.base/define.exp: Test defining a user command inside a user
4772 command.
4773 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
4774
47752018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4776 Pedro Alves <palves@redhat.com>
4777
4778 PR breakpoints/19806 and support for PR external/20207.
4779 * gdb.base/watchpoint-unaligned.c: New file.
4780 * gdb.base/watchpoint-unaligned.exp: New file.
4781
47822018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4783
4784 * gdb.base/maint.exp: Make test names unique, use
4785 test_prefix_command_help to test 'help maint info', and remove
4786 repeated test of 'help maint'.
4787
47882018-05-04 Tom Tromey <tom@tromey.com>
4789
4790 PR gdb/22619:
4791 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
4792 behavior.
4793
47942018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4795
4796 * gdb.base/maint.exp: Process output from 'maint print registers'
4797 line at a time.
4798
47992018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4800
4801 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
4802 timeout.
4803
48042018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
4805
4806 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
4807 filter pattern.
4808
48092018-05-02 Pedro Alves <palves@redhat.com>
4810
4811 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
4812 to_log_command renames.
4813 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
4814
48152018-05-02 Tom Tromey <tom@tromey.com>
4816
4817 * gdb.python/py-parameter.exp: Set test message.
4818
48192018-05-02 Tom Tromey <tom@tromey.com>
4820
4821 PR python/20084:
4822 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
4823 PARAM_ZUINTEGER_UNLIMITED tests.
4824
48252018-04-28 Dan Robertson <danlrobertson89@gmail.com>
4826
4827 PR rust/23124
4828 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
4829 when casting.
4830
48312018-04-30 Tom Tromey <tom@tromey.com>
4832
4833 * gdb.python/py-type.exp: Check align attribute.
4834 * gdb.python/py-type.c: New "aligncheck" global.
4835
48362018-04-30 Tom Tromey <tom@tromey.com>
4837
4838 PR exp/17095:
4839 * gdb.dwarf2/dw2-align.exp: New file.
4840 * gdb.cp/align.exp: New file.
4841 * gdb.base/align.exp: New file.
4842 * lib/gdb.exp (gdb_int128_helper): New proc.
4843 (has_int128_c, has_int128_cxx): New caching procs.
4844
48452018-04-27 Tom Tromey <tom@tromey.com>
4846
4847 PR rust/22545:
4848 * gdb.rust/simple.exp: Add inclusive range tests.
4849
48502018-04-26 Pedro Alves <palves@redhat.com>
4851
4852 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
4853 ifunc breakpoint locations correctly of ifunc breakpoints set
4854 while the program resolves the ifunc.
4855
48562018-04-26 Pedro Alves <palves@redhat.com>
4857
4858 * gdb.base/gnu-ifunc-final.c: New file.
4859 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
4860 * gdb.base/gnu-ifunc.exp (executable): Delete.
4861 (staticexecutable): Adjust.
4862 (lib_opts, exec_opts): Delete.
4863 (make_binsuffix, build, set-break): New procedures.
4864 (misc_tests): New, with tests factored out from the top level.
4865 (top level): Test different combinations of ifunc resolver name,
4866 resolver with and with debug info, and ifunc target with and
4867 without debug info. Wrap static tests with with_target_prefix.
4868
48692018-04-26 Pedro Alves <palves@redhat.com>
4870
4871 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
4872 return type" warnings.
4873
48742018-04-25 Pedro Alves <palves@redhat.com>
4875
4876 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
4877 killed".
4878 * gdb.base/kill-after-signal.exp: Likewise.
4879 * gdb.threads/kill.exp: Likewise.
4880
48812018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4882 Sergio Durigan Junior <sergiodj@redhat.com>
4883 Pedro Alves <palves@redhat.com>
4884
4885 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
4886 regexps to expect for '[Inferior ... detached]' as well.
4887 * gdb.base/attach.exp: Likewise.
4888 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
4889 "gdb_continue_to_end".
4890 (test_catch_syscall_with_wrong_args): Likewise.
4891 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
4892 ']'. Don't set 'verbose' on.
4893 * gdb.base/foll-vfork.exp: Likewise.
4894 * gdb.base/fork-print-inferior-events.c: New file.
4895 * gdb.base/fork-print-inferior-events.exp: New file.
4896 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
4897 '[Inferior ... has been killed]' message.
4898 * gdb.base/kill-after-signal.exp: Likewise.
4899 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
4900 detach message.
4901 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
4902 message.
4903 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
4904 regexps to expect for '[Inferior ... detached]' as well.
4905 * gdb.threads/process-dies-while-detaching.exp: Likewise.
4906
49072018-04-24 Simon Marchi <simon.marchi@ericsson.com>
4908
4909 PR gdb/23104
4910 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
4911
49122018-04-22 Rajendra SY <rajendra.sy@gmail.com>
4913
4914 PR gdb/23095
4915 * gdb.base/break-probes.exp: Pass shlib_load to
4916 prepare_for_testing. Set normal_bp to r_debug_state if target is
4917 bsd.
4918
49192018-04-19 Richard Bunt <richard.bunt@arm.com>
4920
4921 * gdb.threads/multiple-successive-infcall.c: New test.
4922 * gdb.threads/multiple-successive-infcall.exp: New file.
4923
49242018-04-17 Tom Tromey <tom@tromey.com>
4925
4926 * gdb.rust/simple.rs (Union): New type.
4927 (main): New local "u".
4928 * gdb.rust/simple.exp (test_one_slice): Add new test case.
4929
49302018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4931
4932 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
4933 number information in output of "whereis" command.
4934 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
4935
49362018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4937
4938 * gdb.ada/info_types.exp: Adjust expected output to the line
4939 numbers now printed by "info var/func/type".
4940 * gdb.base/completion.exp: Likewise.
4941 * gdb.base/included.exp: Likewise.
4942 * gdb.cp/cp-relocate.exp: Likewise.
4943 * gdb.cp/cplusfuncs.exp: Likewise.
4944 * gdb.cp/namespace.exp: Likewise.
4945 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
4946
49472018-04-13 Markus Metzger <markus.t.metzger@intel.com>
4948
4949 * gdb.btrace/cpu.exp: New.
4950
49512018-04-13 Markus Metzger <markus.t.metzger@intel.com>
4952
4953 * gdb.base/step-indirect-call-thunk.exp: New.
4954 * gdb.base/step-indirect-call-thunk.c: New.
4955 * gdb.reverse/step-indirect-call-thunk.exp: New.
4956 * gdb.reverse/step-indirect-call-thunk.c: New.
4957
49582018-04-11 Simon Marchi <simon.marchi@ericsson.com>
4959
4960 * gdb.base/pie-fork.c: New file.
4961 * gdb.base/pie-fork.exp: New file.
4962
49632018-04-11 Tom Tromey <tom@tromey.com>
4964
4965 * gdb.rust/simple.exp: Add test for ".." struct initializer.
4966
49672018-04-10 Pedro Alves <palves@redhat.com>
4968
4969 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
4970 exits. Instead loop running forever.
4971 (fork_parent): Run forever too.
4972
49732018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
4974
4975 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
4976 mi_continue_to_line.
4977 * gdb.mi/mi-stack.c (callee4): Add comment.
4978
49792018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
4980
4981 * gdb.mi/mi-stack.exp: Fix indentation.
4982
49832018-04-07 Simon Marchi <simon.marchi@ericsson.com>
4984
4985 PR gdb/22979
4986 * gdb.arch/amd64-osabi.exp: New file.
4987
49882018-04-07 Simon Marchi <simon.marchi@ericsson.com>
4989
4990 PR gdb/22980
4991 * gdb.base/osabi.exp: New file.
4992
49932018-04-02 Weimin Pan <weimin.pan@oracle.com>
4994
4995 * gdb.cp/static-typedef-print.exp: New file.
4996 * gdb.cp/static-typedef-print.cc: New file.
4997
49982018-03-27 Joel Brobecker <brobecker@adacore.com>
4999
5000 * gdb.ada/varsize_limit: New testcase.
5001
50022018-03-27 Joel Brobecker <brobecker@adacore.com>
5003
5004 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
5005
5006 * gdb.ada/notcplusplus: New testcase.
5007
5008 * gdb.base/c-linkage-name.c: New file.
5009 * gdb.base/c-linkage-name.exp: New testcase.
5010
50112018-03-26 Tom Tromey <tom@tromey.com>
5012
5013 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
5014 * gdb.python/py-framefilter.py (name_error): New global.
5015 (ErrorInName.function): Use name_error.
5016
50172018-03-26 Tom Tromey <tom@tromey.com>
5018
5019 PR backtrace/15582:
5020 * gdb.python/py-framefilter.exp: Add "bt hide" test.
5021
50222018-03-23 Keith Seitz <keiths@redhat.com>
5023
5024 PR c++/22968
5025 * gdb.cp/subtypes.exp: New file.
5026 * gdb.cp/subtypes.h: New file.
5027 * gdb.cp/subtypes.cc: New file.
5028 * gdb.cp/subtypes-2.cc: New file.
5029
50302018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
5031
5032 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
5033 (done): Call '_exit' not 'exit' to avoid atexit handlers.
5034 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
5035 -nostartfiles when compiling the test. Confirm that all registers
5036 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
5037
50382018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
5039
5040 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
5041 option, syntax was wrong anyway.
5042 * gdb.arch/arm-disp-step.exp: Likewise.
5043 * gdb.arch/sparc64-regs.exp: Likewise.
5044 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
5045 option, syntax was wrong anyway, switch to use
5046 prepare_for_testing.
5047 * gdb.arch/i386-disp-step.exp: Likewise.
5048
50492018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
5050
5051 * gdb.ada/exec_changed.exp: Replace "target_info exists
5052 use_gdb_stub" by "use_gdb_stub".
5053 * gdb.ada/start.exp: Likewise.
5054 * gdb.base/async-shell.exp: Likewise.
5055 * gdb.base/attach-pie-misread.exp: Likewise.
5056 * gdb.base/attach-wait-input.exp: Likewise.
5057 * gdb.base/break-entry.exp: Likewise.
5058 * gdb.base/break-interp.exp: Likewise.
5059 * gdb.base/dprintf-detach.exp: Likewise.
5060 * gdb.base/nostdlib.exp: Likewise.
5061 * gdb.base/solib-nodir.exp: Likewise.
5062 * gdb.base/statistics.exp: Likewise.
5063 * gdb.base/testenv.exp: Likewise.
5064 * gdb.mi/mi-exec-run.exp: Likewise.
5065 * gdb.mi/mi-start.exp: Likewise.
5066 * gdb.multi/dummy-frame-restore.exp: Likewise.
5067 * gdb.multi/multi-arch-exec.exp: Likewise.
5068 * gdb.multi/multi-arch.exp: Likewise.
5069 * gdb.multi/tids.exp: Likewise.
5070 * gdb.multi/watchpoint-multi.exp: Likewise.
5071 * gdb.python/py-events.exp: Likewise.
5072 * gdb.threads/attach-into-signal.exp: Likewise.
5073 * gdb.threads/attach-stopped.exp: Likewise.
5074 * gdb.threads/threadapply.exp: Likewise.
5075 * lib/selftest-support.exp: Likewise.
5076
50772018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
5078
5079 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
5080
50812018-03-20 Stephen Roberts <stephen.roberts@arm.com>
5082
5083 * gdb.perf/template-breakpoints.cc: New file.
5084 * gdb.perf/template-breakpoints.exp: New file.
5085 * gdb.perf/template-breakpoints.py: New file.
5086
50872018-03-19 Tom Tromey <tom@tromey.com>
5088
5089 * gdb.rust/simple.rs (main): Add local variables field1, field2,
5090 y0.
5091 * gdb.rust/simple.exp: Test bare identifier form of struct
5092 initializer.
5093
50942018-03-19 Tom Tromey <tom@tromey.com>
5095
5096 * gdb.gdb/observer.exp: Remove.
5097
50982018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5099
5100 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
5101 "qualified" option when setting breakpoints.
5102 * gdb.trace/backtrace.exp: Likewise.
5103 * gdb.trace/circ.exp: Likewise.
5104 * gdb.trace/collection.exp: Likewise.
5105 * gdb.trace/disconnected-tracing.exp: Likewise.
5106 * gdb.trace/ftrace-lock.exp: Likewise.
5107 * gdb.trace/ftrace.exp: Likewise.
5108 * gdb.trace/infotrace.exp: Likewise.
5109 * gdb.trace/packetlen.exp: Likewise.
5110 * gdb.trace/passc-dyn.exp: Likewise.
5111 * gdb.trace/qtro.exp: Likewise.
5112 * gdb.trace/read-memory.exp: Likewise.
5113 * gdb.trace/report.exp: Likewise.
5114 * gdb.trace/signal.exp: Likewise.
5115 * gdb.trace/status-stop.exp: Likewise.
5116 * gdb.trace/strace.exp: Likewise.
5117 * gdb.trace/tfind.exp: Likewise.
5118 * gdb.trace/trace-break.exp: Likewise.
5119 * gdb.trace/trace-condition.exp: Likewise.
5120 * gdb.trace/trace-mt.exp: Likewise.
5121 * gdb.trace/tstatus.exp: Likewise.
5122 * gdb.trace/tsv.exp: Likewise.
5123 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
5124 * gdb.trace/unavailable.exp: Likewise.
5125 * gdb.trace/while-dyn.exp: Likewise.
5126
51272018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5128
5129 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
5130 that libinproctrace is copied to the target.
5131
51322018-03-14 Tom Tromey <tom@tromey.com>
5133
5134 PR cli/14977:
5135 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
5136 a null pointer.
5137 * gdb.base/wchar.exp: Likewise.
5138
51392018-03-14 Tom Tromey <tom@tromey.com>
5140
5141 PR cli/19918:
5142 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
5143 flag.
5144
51452018-03-08 Simon Marchi <simon.marchi@ericsson.com>
5146
5147 PR gdb/22841
5148 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
5149 "target" to remote_exec.
5150
51512018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
5152
5153 PR gdb/22841
5154 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
5155 ${board}_upload): Remove.
5156
51572018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
5158
5159 * gdb.cp/watch-cp.cc: New test.
5160 * gdb.cp/watch-cp.exp: New file.
5161
51622018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5163
5164 * gdb.base/infcall-nested-structs.exp: New file.
5165 * gdb.base/infcall-nested-structs.c: New file.
5166 * gdb.base/float.exp: Add riscv support.
5167
51682018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
5169
5170 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
5171 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
5172
51732018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
5174
5175 * gdb.server/abspath.exp: New file.
5176 * lib/gdb.exp (with_cwd): New procedure.
5177
51782018-02-28 Simon Marchi <simon.marchi@ericsson.com>
5179
5180 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
5181 use it.
5182 (gdb_is_target_remote_prompt): New proc.
5183 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
5184 (gdb_is_target_native): Pass prompt parameter to
5185 gdb_is_target_1.
5186
51872018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
5188
5189 * gdb.base/load-command.c: New file.
5190 * gdb.base/load-command.exp: New file.
5191 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
5192 (gdb_is_target_1): ...this, and generalize for other targets
5193 than just remote.
5194 (gdb_is_target_remote): Use gdb_is_target_1.
5195 (gdb_is_target_native): use gdb_is_target_1.
5196
51972018-02-26 Tom Tromey <tom@tromey.com>
5198
5199 PR python/16497:
5200 * gdb.python/py-framefilter.exp: Update test.
5201
52022018-02-26 Tom Tromey <tom@tromey.com>
5203
5204 * gdb.dwarf2/variant.c: New file.
5205 * gdb.dwarf2/variant.exp: New file.
5206
52072018-02-26 Tom Tromey <tom@tromey.com>
5208
5209 * gdb.rust/simple.exp: Accept more possible results in enum test.
5210
52112018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
5212
5213 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
5214 parentheses.
5215
52162018-02-23 Maciej W. Rozycki <macro@mips.com>
5217
5218 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
5219 name of a variable: $actual_linejj -> $actual_line.
5220
52212018-02-21 John Baldwin <jhb@FreeBSD.org>
5222
5223 * gdb.arch/amd64-i386-address.exp: Fix a typo.
5224
52252018-02-20 Markus Metzger <markus.t.metzger@intel.com>
5226
5227 * gdb.btrace/buffer-size.exp: Do not force BTS.
5228
52292018-02-14 Pedro Alves <palves@redhat.com>
5230
5231 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
5232 getting a "Quit".
5233
52342018-02-09 Markus Metzger <markus.t.metzger@intel.com>
5235
5236 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
5237 Fix test name.
5238
52392018-02-07 Simon Marchi <simon.marchi@ericsson.com>
5240
5241 * gdb.cp/m-static.exp: Check type of optimized out static
5242 member.
5243
52442018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
5245
5246 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
5247 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
5248
52492018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
5250 Leszek Swirski <leszeks@google.com>
5251
5252 * gdb.python/py-prettyprint.c
5253 (struct to_string_returns_value_inner,
5254 struct to_string_returns_value_wrapper): New.
5255 (main): Add tsrvw variable.
5256 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
5257 ToStringReturnsValueWrapper): New classes.
5258 (register_pretty_printers): Register new pretty-printers.
5259 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
5260 recursive pretty printer.
5261 * gdb.python/py-mi.exp: Likewise.
5262
52632018-02-01 Leszek Swirski <leszeks@google.com>
5264
5265 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
5266 functions with the same name as an include file are parsed
5267 correctly.
5268
52692018-02-01 Yao Qi <yao.qi@linaro.org>
5270
5271 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
5272 "\[^\r\n\]*".
5273
52742018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
5275
5276 * gdb.arch/powerpc-prologue-frame.s: New file.
5277 * gdb.arch/powerpc-prologue-frame.c: Likewise.
5278 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
5279
52802018-01-31 Joel Brobecker <brobecker@adacore.com>
5281
5282 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
5283
52842018-01-30 Pedro Alves <palves@redhat.com>
5285
5286 PR gdb/13211
5287 * gdb.base/interrupt-daemon.c: New.
5288 * gdb.base/interrupt-daemon.exp: New.
5289 * gdb.multi/multi-term-settings.c: New.
5290 * gdb.multi/multi-term-settings.exp: New.
5291
52922018-01-30 Joel Brobecker <brobecker@adacore.com>
5293
5294 * gdb.base/break.exp: Save the location where the breakpoint
5295 on break.c:47 was actually inserted when debugging the version
5296 compiled at -O2 and use it in the expected output of the "info
5297 break" test performed soon after.
5298
52992018-01-22 Pedro Alves <palves@redhat.com>
5300 Sergio Durigan Junior <sergiodj@redhat.com>
5301
5302 * gdb.base/whatis.exp: Add tests for 'set print object on' +
5303 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
5304
53052018-01-22 Joel Brobecker <brobecker@adacore.com>
5306
5307 * gdb.base/break-include.c, gdb.base/break-include.inc,
5308 gdb.base/break-include.exp: New files.
5309 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
5310 line number now being the actual line number where the breakpoint
5311 was inserted.
5312 * gdb.mi/mi-break.exp: Likewise.
5313 * gdb.mi/mi-reverse.exp: Likewise.
5314 * gdb.mi/mi-simplerun.exp: Ditto.
5315
53162018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
5317
5318 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
5319 varobj.
5320 * gdb.mi/mi-var-create-rtti.exp: Likewise.
5321
53222018-01-21 Don Breazeal <donb@codesourcery.com>
5323 Andrew Burgess <andrew.burgess@embecosm.com>
5324
5325 * gdb.mi/basics.c: Add new global.
5326 * gdb.mi/mi-frame-regs.exp: New file.
5327 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
5328 case.
5329
53302018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
5331
5332 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
5333 non-parameter, and on an unknown symbol.
5334
53352018-01-19 Tom Tromey <tom@tromey.com>
5336
5337 * gdb.rust/modules.rs (TWENTY_THREE): New global.
5338 * gdb.rust/modules.exp: Add ::-qualified lookup test.
5339
53402018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5341
5342 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
5343 setrlimit and chdir to int.
5344
53452018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5346
5347 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
5348 function.
5349 (my_tend): Likewise.
5350 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
5351 rationale of avoiding FP- and vector instructions.
5352
53532018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
5354
5355 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
5356 "info reg" with "\[ \t\]*".
5357 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
5358 "\[ \t\]+".
5359 * gdb.arch/s390-multiarch.exp: Ditto.
5360 * gdb.base/pc-fp.exp: Ditto.
5361 * gdb.reverse/i386-precsave.exp: Ditto.
5362 * gdb.reverse/i386-reverse.exp: Ditto.
5363 * gdb.reverse/i387-env-reverse.exp: Ditto.
5364 * gdb.reverse/i387-stack-reverse.exp: Ditto.
5365
53662018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
5367
5368 * lib/gdb.exp (gdb_compile): Re-enable use of
5369 universal_compile_options for languages other than Rust.
5370
53712018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
5372
5373 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
5374
53752018-01-17 Mike Gulick <mgulick@mathworks.com>
5376
5377 PR gdb/16577
5378 * gdb.base/solib-vanish.exp: New.
5379 * gdb.base/solib-vanish-main.c: New.
5380 * gdb.base/solib-vanish-lib1.c: New.
5381 * gdb.base/solib-vanish-lib2.c: New.
5382
53832018-01-17 Yao Qi <yao.qi@linaro.org>
5384
5385 * gdb.compile/compile.exp: Match the address printed for
5386 frame in the output of command "bt".
5387
53882018-01-15 Tom Tromey <tom@tromey.com>
5389
5390 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
5391 compute sp_reg.
5392
53932018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
5394
5395 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
5396 to prepare.
5397 (prepare): Return 0 on error, 1 on success.
5398
53992018-01-12 Pedro Alves <palves@redhat.com>
5400
5401 * gdb.base/continue-after-aborted-step-over.c: New.
5402 * gdb.base/continue-after-aborted-step-over.exp: New.
5403
54042018-01-11 Simon Marchi <simon.marchi@ericsson.com>
5405
5406 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
5407 options when not creating an executable.
5408
54092018-01-11 Pedro Alves <palves@redhat.com>
5410
5411 PR remote/22597
5412 * gdb.server/stop-reply-no-thread.c: New file.
5413 * gdb.server/stop-reply-no-thread.exp: New file.
5414
54152018-01-10 Pedro Alves <palves@redhat.com>
5416
5417 PR gdb/22670
5418 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
5419 functions too. Test setting breakpoints and printing C functions
5420 with no debug info too.
5421 * gdb.ada/bp_c_mixed_case/qux.c: New file.
5422
54232018-01-10 Pedro Alves <palves@redhat.com>
5424
5425 PR gdb/22670
5426 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
5427 a fail.
5428
54292018-01-10 Pedro Alves <palves@redhat.com>
5430
5431 PR gdb/22670
5432 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
5433
54342018-01-08 Simon Marchi <simon.marchi@ericsson.com>
5435
5436 * gdb.server/unittest.exp: Match the output in non-development
5437 mode.
5438
54392018-01-08 Simon Marchi <simon.marchi@ericsson.com>
5440
5441 * gdb.gdb/unittest.exp: Match output in non-development mode.
5442
54432018-01-08 Joel Brobecker <brobecker@adacore.com>
5444
5445 * gdb.ada/access_tagged_param.exp: Relax expected output
5446 for value of "ObjL" in "continue" to pck.inspect breakpoint
5447 test.
5448
54492018-01-08 Joel Brobecker <brobecker@adacore.com>
5450
5451 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
5452 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
5453
54542018-01-05 Pedro Alves <palves@redhat.com>
5455
5456 PR gdb/18653
5457 * gdb.base/libsegfault.exp: New.
5458
54592018-01-05 Joel Brobecker <brobecker@adacore.com>
5460
5461 PR gdb/22670
5462 * gdb.ada/access_tagged_param.exp: New file.
5463 * gdb.ada/access_tagged_param/foo.adb: New file.
5464
54652018-01-05 Pedro Alves <palves@redhat.com>
5466
5467 PR gdb/22670
5468 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
5469 exercise lower case too, and to exercise both full matching and
5470 wild matching.
5471
54722018-01-05 Joel Brobecker <brobecker@adacore.com>
5473
5474 * gdb.ada/rename_subscript_param: New testcase.
5475
54762018-01-05 Jerome Guitton <guitton@adacore.com>
5477
5478 * gdb.ada/arr_acc_idx_w_gap: New testcase.
5479
54802018-01-05 Joel Brobecker <brobecker@adacore.com>
5481
5482 * gdb.ada/convvar_comp: New testcase.
5483
54842018-01-05 Xavier Roirand <roirand@adacore.com>
5485
5486 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
5487 (My_Table): New global variable.
5488 * testsuite/gdb.ada/array_char_idx.exp: Add test.
5489
54902018-01-04 Joel Brobecker <brobecker@adacore.com>
5491
5492 PR gdb/22670
5493 * gdb.ada/maint_with_ada: New testcase.
5494
54952018-01-04 Joel Brobecker <brobecker@adacore.com>
5496
5497 PR gdb/22670
5498 * gdb.ada/bp_c_mixed_case: New testcase.
5499
55002018-01-04 Joel Brobecker <brobecker@adacore.com>
5501
5502 PR gdb/22670
5503 * gdb.ada/complete.exp: Add "complete break ada" test.
5504
55052018-01-04 Joel Brobecker <brobecker@adacore.com>
5506
5507 PR gdb/22670
5508 * gdb.ada/info_addr_mixed_case: New testcase.
5509
55102018-01-03 Xavier Roirand <roirand@adacore.com>
5511
5512 * gdb.ada/excep_handle.exp: New testcase.
5513 * gdb.ada/excep_handle/foo.adb: New file.
5514 * gdb.ada/excep_handle/pck.ads: New file.
5515
55162018-01-03 Joel Brobecker <brobecker@adacore.com>
5517
5518 * gdb.base/step-line.c: Add extra empty line in copyright header.
5519 * gdb.base/step-line.inp: Likewise.
5520
55212018-01-02 Joel Brobecker <brobecker@adacore.com>
5522
5523 * gdb.ada/dyn_stride.exp: Add slice test.
5524
55252018-01-02 Joel Brobecker <brobecker@adacore.com>
5526
5527 * gdb.ada/dyn_stride: New testcase.
5528
55292017-12-27 Stafford Horne <shorne@gmail.com>
5530
5531 * gdb.xml/extra-regs.xml: Add example foo reggroup.
5532 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
5533
55342017-12-27 Stafford Horne <shorne@gmail.com>
5535
5536 * gdb.base/reggroups.c: New file.
5537 * gdb.base/reggroups.exp: New file.
5538
55392017-12-18 Joel Brobecker <brobecker@adacore.com>
5540
5541 * gdb.dwarf2/ada-valprint-error.c: New file.
5542 * gdb.dwarf2/ada-valprint-error.exp: New file.
5543
55442017-12-18 Joel Brobecker <brobecker@adacore.com>
5545
5546 * gdb.ada/assign_arr: New testcase.
5547
55482017-12-18 Xavier Roirand <roirand@adacore.com>
5549
5550 * gdb.ada/funcall_ptr: New testcase.
5551
55522017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5553
5554 PR cli/16224
5555 * gdb.base/ptype-offsets.cc: New file.
5556 * gdb.base/ptype-offsets.exp: New file.
5557
55582017-12-15 Yao Qi <yao.qi@linaro.org>
5559
5560 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
5561 if XML is disabled.
5562
55632017-12-15 Xavier Roirand <roirand@adacore.com>
5564
5565 * gdb.ada/same_component_name: New testcase.
5566
55672017-12-14 Joel Brobecker <brobecker@adacore.com>
5568
5569 * gdb.ada/str_binop_equal: New testcase.
5570
55712017-12-14 Joel Brobecker <brobecker@adacore.com>
5572
5573 * gdb.ada/task_switch_in_core: New testcase.
5574
55752017-12-13 Simon Marchi <simon.marchi@ericsson.com>
5576
5577 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
5578 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
5579 call test_bkpt_qualified.
5580 (test_bkpt_qualified): New proc.
5581
55822017-12-13 Pedro Alves <palves@redhat.com>
5583
5584 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
5585 Tighten regexp by matching with an anchor.
5586
55872017-12-13 Pedro Alves <palves@redhat.com>
5588
5589 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
5590 ("expression with namespace"): New set of tests.
5591 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
5592 (Nested::Test_NS::qux): New.
5593 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
5594 defaults to 'start_quote_char' and 'end_quote_char' parameters.
5595
55962017-12-13 Joel Brobecker <brobecker@adacore.com>
5597
5598 * gdb.base/server-del-break.c: New file.
5599 * gdb.base/server-del-break.exp: New file.
5600
56012017-12-12 Stafford Horne <shorne@gmail.com>
5602
5603 * gdb.xml/tdesc-regs.exp: Add or1k support.
5604
56052017-12-12 Stafford Horne <shorne@gmail.com>
5606
5607 * gdb.base/bp-permanent.c: Define nop of or1k.
5608
56092017-12-11 Joel Brobecker <brobecker@adacore.com>
5610
5611 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
5612 output with components being reordered.
5613
56142017-12-11 Joel Brobecker <brobecker@adacore.com>
5615
5616 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
5617 output with components being reordered.
5618
56192017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5620 Pedro Alves <palves@redhat.com>
5621
5622 * gdb.base/maint.exp (check for .gdb_index): Check also for
5623 .debug_names.
5624 * gdb.dlang/watch-loc.c (.debug_aranges): New.
5625 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
5626 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
5627 (.gdb_index used after symbol reloading): Support also .debug_names.
5628 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
5629
56302017-12-08 Yao Qi <yao.qi@linaro.org>
5631
5632 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
5633 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
5634
56352017-12-08 Yao Qi <yao.qi@linaro.org>
5636
5637 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
5638 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
5639
56402017-12-08 Yao Qi <yao.qi@linaro.org>
5641
5642 * gdb.arch/aarch64-tagged-pointer.c: New file.
5643 * gdb.arch/aarch64-tagged-pointer.exp: New file.
5644
56452017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
5646
5647 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
5648 "int".
5649
56502017-12-07 Keith Seitz <keiths@redhat.com>
5651
5652 PR breakpoints/22569
5653 * gdb.linespec/ls-errs.exp: Change expected result of "break
5654 -source this file has spaces.c -line 3".
5655 Check that an explicit source file followed by whitespace is
5656 identified as an invalid explicit location.
5657
56582017-12-07 Keith Seitz <keiths@redhat.com>
5659
5660 * gdb.cp/nested-types.cc: New file.
5661 * gdb.cp/nested-types.exp: New file.
5662 * lib/cp-support.exp: Load data-structures.exp library.
5663 (debug_cp_test_ptype_class): New global.
5664 (cp_ptype_class_verbose, next_line): New procedures.
5665 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
5666 Add and document new return value.
5667 Switch the list of lines to a queue.
5668 Add support for new `type' key for nested type definitions.
5669 Add debugging/troubleshooting messages.
5670 * lib/data-structures.exp: New file.
5671
56722017-12-07 Simon Marchi <simon.marchi@ericsson.com>
5673
5674 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
5675 with proc_with_prefix, don't use with_test_prefix.
5676
56772017-12-07 Tom Tromey <tom@tromey.com>
5678
5679 * gdb.base/break.exp: Add test for empty "commands".
5680
56812017-12-07 Yao Qi <yao.qi@linaro.org>
5682
5683 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
5684 malloc and catch syscall.
5685
56862017-12-07 Phil Muldoon <pmuldoon@redhat.com>
5687
5688 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
5689 tests for explicit locations.
5690
56912017-12-06 Pedro Alves <palves@redhat.com>
5692
5693 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
5694 force-disabling XML descriptions.
5695
56962017-12-04 Pedro Alves <palves@redhat.com>
5697
5698 PR gdb/22499
5699 * gdb.arch/amd64-disp-step-avx.S: New file.
5700 * gdb.arch/amd64-disp-step-avx.exp: New file.
5701
57022017-12-03 Pedro Alves <palves@redhat.com>
5703
5704 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
5705 and <string.h>.
5706 (parent_function): Print distinct messages when waitpid fails, or
5707 the child exits with a signal, or the child exits for an unhandled
5708 reason.
5709 * gdb.threads/process-dies-while-detaching.exp
5710 (detach_and_expect_exit): New 'inf_output_re' parameter and use
5711 it. Wait for both inferior output and GDB's prompt. Use an
5712 indirect spawn id list.
5713 (do_detach): New parameter 'child_exit'. Use it to compute
5714 expected inferior output.
5715 (test_detach, test_detach_watch, test_detach_killed_outside):
5716 Adjust to pass down the expected child exit kind.
5717
57182017-12-01 Joel Brobecker <brobecker@adacore.com>
5719 Sergio Durigan Junior <sergiodj@redhat.com>
5720 Pedro Alves <palves@redhat.com>
5721
5722 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
5723
57242017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
5725
5726 * gdb.base/relocate.exp: Add tests to guarantee that arguments
5727 to 'symbol-file' and 'add-symbol-file' can be
5728 position-independent.
5729
57302017-12-01 Yao Qi <yao.qi@linaro.org>
5731
5732 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
5733 the URL in copyright header.
5734 * gdb.arch/aarch64-fp.exp: Likewise.
5735 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
5736 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
5737 * gdb.base/expand-psymtabs.exp: Likewise.
5738 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
5739 * gdb.fortran/common-block.exp: Likewise.
5740 * gdb.fortran/common-block.f90: Likewise.
5741 * gdb.fortran/logical.exp: Likewise.
5742 * gdb.fortran/vla-datatypes.f90: Likewise.
5743 * gdb.fortran/vla-sub.f90: Likewise.
5744
57452017-11-30 Joel Brobecker <brobecker@adacore.com>
5746
5747 * gdb.ada/repeat_dyn: New testcase.
5748
57492017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
5750
5751 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
5752 Update for changed thread numbering.
5753 * gdb.cell/bt.exp: Update for changed GDB output.
5754
57552017-11-30 Simon Marchi <simon.marchi@ericsson.com>
5756
5757 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
5758 setting isremote by hand.
5759 * boards/dwarf4-gdb-index.exp: Likewise.
5760 * boards/fission.exp: Likewise.
5761 * boards/stabs.exp: Likewise.
5762
57632017-11-30 Pedro Alves <palves@redhat.com>
5764
5765 * gdb.linespec/cpls-ops.exp
5766 (check_explicit_skips_function_argument): Extract the underlying
5767 type of size_t instead of hardcoding it.
5768
57692017-11-29 Pedro Alves <palves@redhat.com>
5770
5771 PR c++/19436
5772 * gdb.linespec/cpls-abi-tag.cc: New file.
5773 * gdb.linespec/cpls-abi-tag.exp: New file.
5774
57752017-11-29 Pedro Alves <palves@redhat.com>
5776
5777 * gdb.base/langs.exp: Use -qualified.
5778 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
5779 it.
5780 * gdb.cp/namespace.exp: Use -qualified.
5781 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
5782 (overload-3, template-overload, template-ret-type, const-overload)
5783 (const-overload-quoted, anon-ns, ambiguous-prefix): New
5784 procedures.
5785 (test_driver): Call them.
5786 * gdb.cp/save-bp-qualified.cc: New.
5787 * gdb.cp/save-bp-qualified.exp: New.
5788 * gdb.linespec/explicit.exp: Test -qualified.
5789 * lib/completion-support.exp (completion::explicit_opts_list): Add
5790 "-qualified".
5791 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
5792
57932017-11-29 Phil Muldoon <pmuldoon@redhat.com>
5794
5795 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
5796
57972017-11-29 Tom Tromey <tom@tromey.com>
5798
5799 * gdb.base/relocate.exp: Update invalid argument test.
5800 Add new tests for invalid arguments.
5801
58022017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5803
5804 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
5805 Return 0 as a long.
5806 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
5807
58082017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5809
5810 * gdb.cp/breakpoint.cc (bar): Set return type to void.
5811 * gdb.cp/psymtab-parameter.cc (func): Likewise.
5812 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
5813 func ().
5814 * gdb.cp/shadow.cc (B.func): Return 0.
5815
58162017-11-27 Joel Brobecker <brobecker@adacore.com>
5817
5818 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
5819 expected output in gdb_expect call to allow the exception
5820 message to be present as well. Fix syntax confusion to avoid
5821 TCL thinking that exception_name is an array.
5822
58232017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
5824
5825 * gdb.arch/spu-info.c: Include <unistd.h>.
5826 (do_signal_test): Fix broken calls to write.
5827 * gdb.arch/spu-info.exp: Use prepare_for_testing.
5828 Fix checks for empty mailboxes. Update signal tests for corrected
5829 do_signal_test routine. Allow nonzero event status.
5830 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
5831 * gdb.cell/arch.exp: Use standard_output_file.
5832 * gdb.cell/break.exp: Likewise.
5833 * gdb.cell/bt.exp: Likewise.
5834 * gdb.cell/core.exp: Likewise.
5835 * gdb.cell/dwarfaddr.exp: Likewise.
5836 * gdb.cell/ea-cache.exp: Likewise.
5837 * gdb.cell/ea-standalone.exp: Likewise.
5838 * gdb.cell/f-regs.exp: Likewise.
5839 * gdb.cell/fork.exp: Likewise.
5840 * gdb.cell/gcore.exp: Likewise.
5841 * gdb.cell/mem-access.exp: Likewise.
5842 * gdb.cell/ptype.exp: Likewise.
5843 * gdb.cell/registers.exp: Likewise.
5844 * gdb.cell/sizeof.exp: Likewise.
5845 * gdb.cell/solib-symbol.exp: Likewise.
5846 * gdb.cell/solib.exp: Likewise.
5847
58482017-11-25 Pedro Alves <palves@redhat.com>
5849
5850 * gdb.base/complete-empty.exp: New file.
5851 * gdb.base/completion.exp: Adjust.
5852
58532017-11-25 Pedro Alves <palves@redhat.com>
5854
5855 * gdb.linespec/cpls-ops.cc: New file.
5856 * gdb.linespec/cpls-ops.exp: New file.
5857 * lib/completion-support.exp (test_complete_prefix_range_re): New,
5858 factored out from ...
5859 (test_complete_prefix_range): ... this.
5860
58612017-11-24 Pedro Alves <palves@redhat.com>
5862
5863 * gdb.linespec/cpcompletion.exp: New file.
5864 * gdb.linespec/cpls-hyphen.cc: New file.
5865 * gdb.linespec/cpls.cc: New file.
5866 * gdb.linespec/cpls2.cc: New file.
5867 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
5868 test to use test_gdb_complete_unique. Add label completion,
5869 keyword completion and explicit location completion tests.
5870 * lib/completion-support.exp: New file.
5871
58722017-11-24 Joel Brobecker <brobecker@adacore.com>
5873
5874 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
5875 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
5876 when hitting an exception catchpoint.
5877
58782017-11-22 Yao Qi <yao.qi@linaro.org>
5879
5880 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
5881
58822017-11-22 Simon Marchi <simon.marchi@ericsson.com>
5883
5884 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
5885 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
5886 * gdb.dwarf2/info-locals-optimized-out.c: New file.
5887
58882017-11-22 Yao Qi <yao.qi@linaro.org>
5889
5890 * gdb.base/info-os.exp: Pass pthreads.
5891 * gdb.multi/multi-attach.exp: Likewise.
5892
58932017-11-22 Yao Qi <yao.qi@linaro.org>
5894
5895 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
5896 compiler.
5897
58982017-11-22 Yao Qi <yao.qi@linaro.org>
5899
5900 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
5901 * gdb.base/break-interp.exp: Likewise.
5902 * gdb.base/jit-attach-pie.exp: Likewise.
5903
59042017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
5905
5906 * gdb.base/float128.c (large128): New variable.
5907 * gdb.base/float128.exp: Add test to print largest __float128 value.
5908
59092017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
5910
5911 * gdb.arch/vsx-regs.exp: Update register content checks.
5912
59132017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
5914
5915 * gdb.arch/ppc-longdouble.exp: New file.
5916 * gdb.arch/ppc-longdouble.c: Likewise.
5917
59182017-11-21 Pedro Alves <palves@redhat.com>
5919
5920 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
5921
59222017-11-20 Pedro Alves <palves@redhat.com>
5923
5924 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
5925 (long_double_typedef): New typedefs.
5926 Use DEF on double and long double.
5927 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
5928 cases.
5929 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
5930 and 'long_double_ptr_same_size' locals. Use them to decide
5931 whether cast from array/function to float is valid/invalid.
5932
59332017-11-17 Tom Tromey <tom@tromey.com>
5934
5935 * gdb.rust/traits.rs: New file.
5936 * gdb.rust/traits.exp: New file.
5937
59382017-11-17 Joel Brobecker <brobecker@adacore.com>
5939
5940 * gdb.ada/minsyms: New testcase.
5941
59422017-11-16 Pedro Alves <palves@redhat.com>
5943
5944 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
5945 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
5946
59472017-11-16 Pedro Alves <palves@redhat.com>
5948
5949 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
5950 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
5951
59522017-11-16 Pedro Alves <palves@redhat.com>
5953
5954 * gdb.server/reconnect-ctrl-c.c: New file.
5955 * gdb.server/reconnect-ctrl-c.exp: New file.
5956
59572017-11-16 Phil Muldoon <pmuldoon@redhat.com>
5958
5959 * gdb.python/py-rbreak.exp: New file.
5960 * gdb.python/py-rbreak.c: New file.
5961 * gdb.python/py-rbreak-func2.c: New file.
5962
59632017-11-16 Pedro Alves <palves@redhat.com>
5964
5965 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
5966 pattern.
5967 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
5968 GDB.
5969
59702017-11-15 Simon Marchi <simon.marchi@ericsson.com>
5971
5972 * gdb.tui/completionn.exp (test_tab_completion): Add space in
5973 regex.
5974
59752017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
5976
5977 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
5978 test names.
5979
59802017-11-09 Pedro Alves <palves@redhat.com>
5981
5982 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
5983 factored out from ...
5984 (top level): ... here, and adjusted to avoid expecting beyond the
5985 prompt in a single gdb_test_multiple.
5986
59872017-11-09 Pedro Alves <palves@redhat.com>
5988
5989 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
5990 output.
5991 * gdb.server/ext-attach.exp ("kill" test): Likewise.
5992 * gdb.server/ext-restart.exp ("kill" test): Likewise.
5993 * gdb.server/ext-run.exp ("kill" test): Likewise.
5994 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
5995
59962017-11-09 Pedro Alves <palves@redhat.com>
5997
5998 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
5999 match till end of line.
6000
60012017-11-09 Pedro Alves <palves@redhat.com>
6002
6003 * gdb.base/memattr.exp: Tighten regexes to match the end line.
6004
60052017-11-09 Pedro Alves <palves@redhat.com>
6006
6007 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
6008 New procedures, factored out from ...
6009 (top level): ... here, and adjusted to avoid expecting beyond the
6010 prompt in one go.
6011
60122017-11-09 Pedro Alves <palves@redhat.com>
6013
6014 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
6015 output. Fix '?' match.
6016
60172017-11-08 Joel Brobecker <brobecker@adacore.com>
6018
6019 * gdb.ada/scoped_watch: New testcase.
6020 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
6021 which is actually correct.
6022 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
6023 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
6024
60252017-11-08 Pedro Alves <palves@redhat.com>
6026
6027 * gdb.gdb/complaints.exp (test_initial_complaints)
6028 (test_serial_complaints, test_short_complaints): Call
6029 complaint_internal instead of complaint.
6030
60312017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
6032
6033 * gdb.threads/tls-core.c: New file.
6034 * gdb.threads/tls-core.exp: Likewise.
6035
60362017-11-08 Pedro Alves <palves@redhat.com>
6037
6038 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
6039 (p Exported_Capitalized): New test.
6040 (p exported_capitalized): New test.
6041
60422017-11-07 Pedro Alves <palves@redhat.com>
6043
6044 * gdb.cp/ena-dis-br-range.exp: Add more tests.
6045
60462017-11-07 Pedro Alves <palves@redhat.com>
6047
6048 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
6049 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
6050 (disable_invalid, disable_inverted, disable_negative): New
6051 procedures.
6052 ("bad numbers"): New set of tests.
6053
60542017-11-07 Pedro Alves <palves@redhat.com>
6055
6056 * gdb.cp/ena-dis-br-range.exp: Add tests.
6057
60582017-11-07 Pedro Alves <palves@redhat.com>
6059
6060 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
6061
60622017-11-07 Xavier Roirand <roirand@adacore.com>
6063 Pedro Alves <palves@redhat.com>
6064
6065 * gdb.base/ena-dis-br.exp: Add reference to
6066 gdb.cp/ena-dis-br-range.exp.
6067 * gdb.cp/ena-dis-br-range.exp: New file.
6068 * gdb.cp/ena-dis-br-range.cc: New file.
6069
60702017-11-06 Pedro Alves <palves@redhat.com>
6071
6072 * gdb.base/attach-non-pgrp-leader.c: New.
6073 * gdb.base/attach-non-pgrp-leader.exp: New.
6074
60752017-11-06 Pedro Alves <palves@redhat.com>
6076
6077 * configure.ac: No longer check for termio.h and sgtty.h.
6078 * configure: Regenerate.
6079 * remote-utils.c: Include termios.h instead of gdb_termios.h.
6080 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
6081 Remove termio and sgtty code.
6082
60832017-11-03 Yao Qi <yao.qi@linaro.org>
6084
6085 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
6086 in GDB is disabled.
6087
60882017-11-03 Yao Qi <yao.qi@linaro.org>
6089
6090 * gdb.python/py-thrhandle.exp: Skip it if python is not
6091 enabled.
6092
60932017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
6094
6095 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
6096 as a breakpoint command.
6097
60982017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
6099
6100 PR python/21213
6101 * gdb.python/py-infthread.exp: Test calling
6102 InferiorThread.inferior () multiple times in a row.
6103
61042017-10-27 Keith Seitz <keiths@redhat.com>
6105
6106 * gdb.opt/inline-break.exp (break_info_1): New procedure.
6107 Test "info break" for every inlined function breakpoint.
6108
61092017-10-27 Yao Qi <yao.qi@linaro.org>
6110
6111 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
6112
61132017-10-26 Patrick Frants <osscontribute@gmail.com>
6114
6115 * gdb.cp/classes.exp (test_static_members): Test printing
6116 Outer::instance.
6117 * gdb.cp/classes.c (struct Inner, struct Outer): New.
6118 (Inner::instance, Outer::instance): New.
6119
61202017-10-24 Pedro Alves <palves@redhat.com>
6121
6122 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
6123 extra console" test in two stages.
6124
61252017-10-24 Pedro Alves <palves@redhat.com>
6126
6127 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
6128
61292017-10-24 Pedro Alves <palves@redhat.com>
6130
6131 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
6132 loop.
6133
61342017-10-24 Pedro Alves <palves@redhat.com>
6135
6136 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
6137 $attempt" and "stoppedtry $stoppedtry" test prefixes.
6138
61392017-10-24 Pedro Alves <palves@redhat.com>
6140
6141 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
6142 parameter and handle it. Don't output read value in test name.
6143
61442017-10-24 Pedro Alves <palves@redhat.com>
6145
6146 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
6147 custom test name.
6148
61492017-10-24 Pedro Alves <palves@redhat.com>
6150
6151 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
6152 include the unstable output directory name in the test's name.
6153 (initial_setup_simple) <'set args'>: Use custom test name.
6154
61552017-10-24 Pedro Alves <palves@redhat.com>
6156
6157 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
6158 with explicit test name.
6159
61602017-10-20 Pedro Alves <palves@redhat.com>
6161
6162 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
6163 'wait -i'. Use gdb_assert and remote_close.
6164
61652017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
6166
6167 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
6168 number from variable rather than hard-coded.
6169
61702017-10-19 Pedro Alves <palves@redhat.com>
6171
6172 * gdb.base/long-inferior-output.c: New file.
6173 * gdb.base/long-inferior-output.exp: New file.
6174
61752017-11-18 Keith Seitz <keiths@redhat.com>
6176
6177 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
6178 method.
6179 (main): Call it.
6180 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
6181 Add additional user-defined conversion operator tests.
6182
61832017-10-17 Pedro Alves <palves@redhat.com>
6184
6185 * boards/native-stdio-gdbserver.exp: Load "local-board".
6186
61872017-10-17 Pedro Alves <palves@redhat.com>
6188
6189 * gdb.base/quit-live.c: New file.
6190 * gdb.base/quit-live.exp: New file.
6191
61922017-10-16 Keith Seitz <keiths@redhat.com>
6193
6194 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
6195 (class_with_protected_typedef, class_with_private_typedef)
6196 (struct_with_public_typedef, struct_with_protected_typedef)
6197 (struct_with_private_typedef): New classes/structs.
6198 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
6199 typedefs and access specifiers.
6200
62012017-10-16 Pedro Alves <palves@redhat.com>
6202 Simon Marchi <simon.marchi@polymtl.ca>
6203
6204 * README (Local vs Remote vs Native): New section.
6205 * boards/local-board.exp: New file, with bits factored out from
6206 ...
6207 * boards/native-extended-gdbserver.exp: ... here. Load
6208 "local-board".
6209 * boards/native-gdbserver.exp: Load "local-board".
6210 (${board}_spawn, ${board}_exec): Delete.
6211 * boards/native-stdio-gdbserver.exp: Most contents factored out to
6212 ...
6213 * boards/stdio-gdbserver-base.exp: ... this new file.
6214 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
6215 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
6216 procedure.
6217 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
6218 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
6219 stdio_gdbserver_command.
6220 (${board}_get_remote_address, ${board}_get_comm_port)
6221 (${board}_download, ${board}_upload): Delete.
6222 (get_target_remote_pipe_cmd): New.
6223
62242017-10-16 Simon Marchi <simon.marchi@ericsson.com>
6225
6226 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
6227 test_bkpt_deletion, test_bkpt_cond_and_cmds,
6228 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
6229 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
6230 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
6231 remove with_test_prefix.
6232
62332017-10-13 Pedro Alves <palves@redhat.com>
6234
6235 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
6236 * gdb.base/annota1.exp: Use it instead of is_remote.
6237 * gdb.base/annota3.exp: Use it instead of is_remote.
6238 * gdb.cp/annota2.exp: Use it instead of is_remote.
6239 * gdb.cp/annota3.exp: Use it instead of is_remote.
6240 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
6241
62422017-10-13 Pedro Alves <palves@redhat.com>
6243
6244 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
6245 (test_num_test_vars, run_and_count_vars, find_env)
6246 (test_set_unset_env, test_inherit_env_var): New procedures.
6247 (top level): Use them.
6248
62492017-10-13 Pedro Alves <palves@redhat.com>
6250
6251 * lib/selftest-support.exp (selftest_setup): Extend comments, and
6252 also skip on stub-like targets.
6253
62542017-10-13 Pedro Alves <palves@redhat.com>
6255
6256 PR gdb/22293
6257 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
6258 (top level): Move some tests to ...
6259 (test_not_found): ... this new procedure.
6260 (top level): Call it.
6261
62622017-10-13 Pedro Alves <palves@redhat.com>
6263
6264 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
6265 expect different "info terminal" output if testing with a
6266 non-native target.
6267
62682017-10-13 Pedro Alves <palves@redhat.com>
6269 Simon Marchi <simon.marchi@polymtl.ca>
6270
6271 PR python/12966
6272 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
6273
62742017-10-13 Pedro Alves <palves@redhat.com>
6275
6276 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
6277 already.
6278
62792017-10-13 Pedro Alves <palves@redhat.com>
6280
6281 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
6282 is_remote.
6283
62842017-10-13 Pedro Alves <palves@redhat.com>
6285
6286 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
6287 is_remote.
6288
62892017-10-13 Pedro Alves <palves@redhat.com>
6290
6291 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
6292 is set.
6293 (corefile_test_attach): Likewise. Check can_spawn_for_attach
6294 instead of is_remote.
6295
62962017-10-13 Pedro Alves <palves@redhat.com>
6297
6298 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
6299 (top level): Add comment.
6300
63012017-10-13 Pedro Alves <palves@redhat.com>
6302
6303 * gdb.base/remote.exp (top level): Fix comment typo and add
6304 missing return.
6305
63062017-10-13 Pedro Alves <palves@redhat.com>
6307 Simon Marchi <simon.marchi@polymtl.ca>
6308
6309 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
6310 calls and add comments. Skip test if use_gdb_stub is set.
6311 (top level): Use "set cwd" command instead of "cd" command.
6312
63132017-10-13 Pedro Alves <palves@redhat.com>
6314
6315 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
6316 is_remote target check.
6317
63182017-10-13 Pedro Alves <palves@redhat.com>
6319
6320 * gdb.base/scope.exp: Use build_executable + clean_restart +
6321 gdb_file_cmd instead of prepare_for_testing and no longer skip
6322 "before run" tests on is_remote target boards. Update comments.
6323 * boards/native-extended-gdbserver.exp
6324 (extended_gdbserver_load_last_file): New, factored out from ...
6325 (gdb_load): ... this. Move further below and add comment.
6326 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
6327
63282017-10-12 Pedro Alves <palves@redhat.com>
6329
6330 * gdb.base/attach.exp: Remove references to gdb64.
6331 * gdb.base/dbx.exp: Remove references to gdb64.
6332
63332017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
6334 Pedro Alves <palves@redhat.com>
6335
6336 * gdb.base/label.exp: Remove is_remote target check.
6337
63382017-10-12 Pedro Alves <palves@redhat.com>
6339
6340 * gdb.base/auvx.exp (coredir): Update comment.
6341 (top level) <core_works>: Use "set cwd" command instead of "cd"
6342 command.
6343
63442017-10-12 Pedro Alves <palves@redhat.com>
6345 Simon Marchi <simon.marchi@polymtl.ca>
6346
6347 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
6348 target boards.
6349
63502017-10-12 Pedro Alves <palves@redhat.com>
6351 Simon Marchi <simon.marchi@polymtl.ca>
6352
6353 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
6354 Instead skip if there's any gdb_protocol set.
6355
63562017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
6357 Pedro Alves <palves@redhat.com>
6358
6359 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
6360
63612017-10-12 Pedro Alves <palves@redhat.com>
6362 Simon Marchi <simon.marchi@polymtl.ca>
6363
6364 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
6365 instead of on dejagnu remote boards.
6366
63672017-10-12 Pedro Alves <palves@redhat.com>
6368 Simon Marchi <simon.marchi@polymtl.ca>
6369
6370 * gdb.base/inferior-died.exp: Remove is_remote and isnative
6371 checks. Use build_executable + clean_restart instead of
6372 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
6373 of enabling non-stop after starting gdb.
6374
63752017-10-12 Pedro Alves <palves@redhat.com>
6376
6377 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
6378 * gdb.threads/non-ldr-exc-2.exp: Ditto.
6379 * gdb.threads/non-ldr-exc-3.exp: Ditto.
6380 * gdb.threads/non-ldr-exc-4.exp: Ditto.
6381
63822017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
6383
6384 * gdb.arch/arc-tdesc-cpu.exp: New file.
6385 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
6386
63872017-10-10 Simon Marchi <simon.marchi@ericsson.com>
6388
6389 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
6390
63912017-10-10 Pedro Alves <palves@redhat.com>
6392
6393 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
6394 expect CLI output.
6395
63962017-10-10 Pedro Alves <palves@redhat.com>
6397
6398 * lib/selftest-support.exp (selftest_setup): Update for
6399 captured_command_loop's prototype change.
6400
64012017-10-09 Pedro Alves <palves@redhat.com>
6402
6403 Test both arch1=>arch2 and arch2=>arch1.
6404
6405 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
6406 (srcfile2, binfile2, march1, march2): Remove globals. Largely
6407 factored out to...
6408 (append_arch1_options, append_arch2_options, append_arch_options)
6409 (build_executables): New procedures.
6410 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
6411 local.
6412 (top level): Add new 'first_arch' testing axis.
6413
64142017-10-09 Pedro Alves <palves@redhat.com>
6415
6416 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
6417 (barrier): New.
6418 (thread_start, all_started): New functions.
6419 (main): Spawn new thread and wait until it is scheduled.
6420 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
6421 option.
6422 (do_test): Add 'selected_thread' parameter. Run to all_started
6423 instead of main. Explicitly set the breakpoint at main. Switch
6424 to the SELECTED_THREAD thread.
6425 (top level): Test handling the exec event with either the main
6426 thread or the second thread selected.
6427
64282017-10-09 Pedro Alves <palves@redhat.com>
6429
6430 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
6431 logic. Move STOP marker after the value checks.
6432 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
6433 regexp.
6434
64352017-10-06 Sandra Loosemore <sandra@codesourcery.com>
6436
6437 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
6438
64392017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
6440
6441 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
6442 integer-to-dfp conversion.
6443 * gdb.base/dfp-test.exp: Likewise.
6444
64452017-10-04 Pedro Alves <palves@redhat.com>
6446
6447 * gdb.multi/hangout.c: Include <unistd.h>.
6448 (hangout_loop): New function.
6449 (main): Call alarm. Call hangout_loop in a loop.
6450 * gdb.multi/hello.c: Include <unistd.h>.
6451 (hello_loop): New function.
6452 (main): Call alarm. Call hangout_loop in a loop.
6453 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
6454 inferior with the other selected.
6455
64562017-10-04 Simon Marchi <simon.marchi@ericsson.com>
6457
6458 * gdb.mi/list-thread-groups-available.exp: New file.
6459 * gdb.mi/list-thread-groups-available.c: New file.
6460
64612017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
6462
6463 * gdb.base/set-cwd.exp: Make it available on
6464 native-extended-gdbserver.
6465
64662017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
6467
6468 * gdb.base/set-cwd.c: New file.
6469 * gdb.base/set-cwd.exp: Likewise.
6470
64712017-10-02 Tom Tromey <tom@tromey.com>
6472
6473 PR rust/22236:
6474 * gdb.rust/simple.rs (main): New variable "fslice".
6475 * gdb.rust/simple.exp: Add slice tests. Update string tests.
6476
64772017-10-02 Tom Tromey <tom@tromey.com>
6478
6479 * gdb.rust/simple.exp: Test ptype of a slice.
6480
64812017-10-02 Tom Tromey <tom@tromey.com>
6482
6483 * gdb.rust/simple.exp: Test index of slice.
6484
64852017-09-27 Tom Tromey <tom@tromey.com>
6486
6487 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
6488
64892017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
6490 Pedro Alves <palves@redhat.com>
6491
6492 * gdb.base/compare-sections.exp (get value of read-only section): Read
6493 as unsigned value.
6494 (corrupt read-only section): Likewise and don't set written if patching
6495 failed.
6496
64972017-09-21 Kevin Buettner <kevinb@redhat.com>
6498
6499 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
6500 files.
6501
65022017-09-20 Pedro Alves <palves@redhat.com>
6503
6504 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
6505 symbol names in gdb's output.
6506 * gdb.cp/overload.exp ("list all overloads"): Likewise.
6507
65082017-09-20 Pedro Alves <palves@redhat.com>
6509
6510 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
6511 Rename to ...
6512 (test_list_ambiguous_symbol): ... this and add a symbol name
6513 parameter. Adjust.
6514 (test_list_ambiguous_function): Reimplement on top of
6515 test_list_ambiguous_symbol and also test listing ambiguous
6516 variables.
6517 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
6518 (ambiguous_fun): ... this.
6519 (ambiguous_var): New.
6520 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
6521 (ambiguous_fun): ... this.
6522 (ambiguous_var): New.
6523
65242017-09-19 John Baldwin <jhb@FreeBSD.org>
6525
6526 * gdb.base/starti.c: New file.
6527 * gdb.base/starti.exp: New file.
6528 * lib/gdb.exp (gdb_starti_cmd): New procedure.
6529
65302017-09-14 Pedro Alves <palves@redhat.com>
6531
6532 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
6533 (top level): Use it instead of runto.
6534
65352017-09-11 Tom Tromey <tom@tromey.com>
6536
6537 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
6538
65392017-09-11 Tom Tromey <tom@tromey.com>
6540
6541 * gdb.python/py-infthread.exp: Add tests for new_thread event.
6542 * gdb.python/py-inferior.exp: Add tests for new inferior events.
6543
65442017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
6545
6546 * gdb.fortran/printing-types.exp: New file.
6547 * gdb.fortran/printing-types.exp: New file.
6548
65492017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
6550
6551 * gdb.fortran/vla-ptype.exp: Fix typos.
6552 * gdb.fortran/vla-value.exp: Same.
6553
65542017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
6555
6556 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
6557 * gdb.mi/mi-var-child-f.exp: Likewise.
6558 * gdb.mi/mi-vla-fortran.exp: Likewise.
6559
65602017-09-08 Frank Penczek <frank.penczek@intel.com>
6561 Christoph Weinmann <christoph.t.weinmann@intel.com>
6562 Bernhard Heckel <bernhard.heckel@intel.com>
6563
6564 * gdb.fortran/ptr-indentation.f90: New file.
6565 * gdb.fortran/ptr-indentation.exp: New file.
6566
65672017-09-05 Tom Tromey <tom@tromey.com>
6568
6569 PR gdb/22010:
6570 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
6571
65722017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
6573
6574 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
6575
65762017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6577
6578 * gdb.threads/tls-nodebug-pie.c: New file.
6579 * gdb.threads/tls-nodebug-pie.exp: New file.
6580
65812017-09-05 Tom Tromey <tom@tromey.com>
6582
6583 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
6584 for rust.
6585
65862017-09-05 Simon Marchi <simon.marchi@ericsson.com>
6587
6588 * gdb.multi/multi-arch-exec.exp: Test with different
6589 "follow-exec-mode" settings.
6590 (do_test): New procedure.
6591
65922017-09-04 Pedro Alves <palves@redhat.com>
6593
6594 * gdb.base/func-static.c (S::method const, S::method volatile)
6595 (S::method volatile const): New methods.
6596 (c_s, v_s, cv_s): New instances.
6597 (main): Call method() on them.
6598 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
6599 (cannot_resolve): New procedure.
6600 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
6601 print-quote-unquoted columns.
6602 (do_test): Test printing each scope too.
6603
66042017-09-04 Pedro Alves <palves@redhat.com>
6605
6606 * gdb.base/local-static.exp: Also test with
6607 class::method::variable wholly quoted.
6608 * gdb.cp/m-static.exp (class::method::variable): Remove test.
6609
66102017-09-04 Pedro Alves <palves@redhat.com>
6611
6612 * gdb.base/local-static.c: New.
6613 * gdb.base/local-static.cc: New.
6614 * gdb.base/local-static.exp: New.
6615
66162017-09-04 Pedro Alves <palves@redhat.com>
6617
6618 * gdb.asm/asm-source.exp: Add casts to int.
6619 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
6620 (dataglobal64_1, dataglobal64_2): New globals.
6621 * gdb.base/nodebug.exp: Test different expressions involving the
6622 new globals, with print, whatis and ptype. Add casts to int.
6623 * gdb.base/solib-display.exp: Add casts to int.
6624 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
6625 * gdb.cp/m-static.exp: Add cast to int.
6626 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
6627 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
6628 tls variable with no debug info without a cast. Test with a cast
6629 to int too.
6630 * gdb.trace/entry-values.exp: Add casts.
6631
66322017-09-04 Pedro Alves <palves@redhat.com>
6633
6634 * gdb.base/nodebug.exp: Test that ptype's error about functions
6635 with unknown return type includes the function name too.
6636
66372017-09-04 Pedro Alves <palves@redhat.com>
6638
6639 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
6640 return type of munmap in infcall.
6641 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
6642 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
6643 type of ftell in infcall.
6644 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
6645 type of getpid in infcall.
6646 * gdb.base/infcall-exec.exp: Cast return type of execlp in
6647 infcall.
6648 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
6649 Bail on failure to extract the pid.
6650 * gdb.base/nodebug.c: #include <stdint.h>.
6651 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
6652 New functions.
6653 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
6654 Change expected output of print/whatis/ptype with functions with
6655 no debug info. Test all supported languages. Call
6656 test_call_promotion.
6657 * gdb.compile/compile.exp: Adjust expected output to expect
6658 warning.
6659 * gdb.threads/siginfo-threads.exp: Likewise.
6660
66612017-09-04 Pedro Alves <palves@redhat.com>
6662
6663 * gdb.base/callfuncs.exp (do_function_calls): New parameter
6664 "prototypes". Test calling float functions via prototyped and
6665 unprototyped function pointers.
6666 (perform_all_tests): New parameter "prototypes". Pass it down.
6667 (top level): Pass down "prototypes" parameter to
6668 perform_all_tests.
6669
66702017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6671
6672 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
6673 Test with nested loops.
6674
66752017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6676
6677 * gdb.base/commands.exp: Call the new procedures.
6678 (loop_break_test, loop_continue_test): New procedures.
6679
66802017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6681
6682 * gdb.base/commands.exp: Call new procedure.
6683 (define_if_without_arg_test): New procedure.
6684
66852017-09-04 Pedro Alves <palves@redhat.com>
6686
6687 * gdb.base/list-ambiguous.exp: New file.
6688 * gdb.base/list-ambiguous0.c: New file.
6689 * gdb.base/list-ambiguous1.c: New file.
6690 * gdb.base/list.exp (test_list_range): Adjust expected output.
6691
66922017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
6693
6694 * gdb.base/share-env-with-gdbserver.c: New file.
6695 * gdb.base/share-env-with-gdbserver.exp: Likewise.
6696
66972017-08-28 Simon Marchi <simon.marchi@ericsson.com>
6698
6699 * gdb.base/commands.exp (gdbvar_simple_if_test,
6700 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
6701 progvar_simple_if_test, progvar_simple_while_test,
6702 progvar_complex_if_while_test, user_defined_command_test,
6703 user_defined_command_args_eval,
6704 user_defined_command_args_stack_test,
6705 user_defined_command_manyargs_test, bp_deleted_in_command_test,
6706 temporary_breakpoint_commands,
6707 gdb_test_no_prompt, redefine_hook_test,
6708 redefine_backtrace_test): Remove "global gdb_prompt".
6709
67102017-08-28 Simon Marchi <simon.marchi@ericsson.com>
6711
6712 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
6713 New proc, call it from toplevel.
6714
67152017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
6716
6717 PR remote/21852
6718 * gdb.server/normal.c: New file, copied from gdb.base.
6719 * gdb.server/run-without-local-binary.exp: New file.
6720
67212017-08-07 Weimin Pan <weimin.pan@oracle.com>
6722
6723 * gdb.arch/sparc64-adi.exp: New file.
6724 * gdb.arch/sparc64-adi.c: New file.
6725
67262017-08-22 Pedro Alves <palves@redhat.com>
6727
6728 * gdb.cp/overload.exp (line_range_pattern): New procedure.
6729 (top level): Add "list all overloads" tests.
6730
67312017-08-22 Tom Tromey <tom@tromey.com>
6732
6733 * gdb.gdb/xfullpath.exp: Remove.
6734
67352017-08-21 Pedro Alves <palves@redhat.com>
6736
6737 PR gdb/19487
6738 * gdb.base/symbol-alias.c: New.
6739 * gdb.base/symbol-alias2.c: New.
6740 * gdb.base/symbol-alias.exp: New.
6741
67422017-08-21 Pedro Alves <palves@redhat.com>
6743
6744 * gdb.base/dfp-test.c
6745 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
6746 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
6747 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
6748 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
6749 * gdb.base/whatis-ptype-typedefs.c: New.
6750 * gdb.base/whatis-ptype-typedefs.exp: New.
6751 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
6752 (an_int, an_int_type, an_int_type2): New globals.
6753 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
6754 involving typedefs and cast expressions.
6755 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
6756 (lookup_typedefs_function): New.
6757 (typedefs_pretty_printers_dict): New.
6758 (top level): Register lookup_typedefs_function in
6759 gdb.pretty_printers.
6760
67612017-08-18 Yao Qi <yao.qi@linaro.org>
6762
6763 * gdb.server/unittest.exp: New.
6764
67652017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
6766
6767 PR gdb/21954
6768 * gdb.base/environ.exp: Add test to check if 'unset environment'
6769 works.
6770
67712017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6772
6773 * lib/gdb.exp (universal_compile_options): New caching proc.
6774 (gdb_compile): Suppress GCC's coloring of messages.
6775
67762017-08-14 Tom Tromey <tom@tromey.com>
6777
6778 PR gdb/21675:
6779 * gdb.base/printcmds.exp (test_radices): New function.
6780 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
6781 * gdb.base/sizeof.exp (check_valueof): Use p/d.
6782 * lib/gdb.exp (get_integer_valueof): Use p/d.
6783
67842017-08-12 Simon Marchi <simon.marchi@ericsson.com>
6785
6786 * lib/gdb.exp (get_valueof): Don't capture end-of-line
6787 characters.
6788
67892017-08-05 Tom Tromey <tom@tromey.com>
6790
6791 * gdb.rust/simple.exp: Allow String to appear in a different
6792 namespace.
6793
67942017-07-26 Yao Qi <yao.qi@linaro.org>
6795
6796 * gdb.gdb/unittest.exp: Invoke command
6797 "maintenance check xml-descriptions".
6798
67992017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
6800
6801 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
6802 calling context.
6803 (hex128): Drop erroneous calculation of parameters.
6804
68052017-07-22 Simon Marchi <simon.marchi@ericsson.com>
6806
6807 * gdb.python/py-unwind.exp: Disable stack protection when
6808 building test file.
6809
68102017-07-20 Pedro Alves <palves@redhat.com>
6811
6812 * gdb.base/default.exp (set language): Adjust expected output.
6813
68142017-07-20 Pedro Alves <palves@redhat.com>
6815
6816 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
6817 (test_minsym): ... this, and make static.
6818 (get_pck__foo__bar__minsym): Rename to ...
6819 (get_test_minsym): ... this.
6820 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
6821 symbol names and comments.
6822 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
6823 (get_test_minsym): ... this.
6824 (pck__foo__bar__minsym__2): Rename to ...
6825 (test_minsym): ... this.
6826 (main): Adjust.
6827
68282017-07-17 Pedro Alves <palves@redhat.com>
6829
6830 * gdb.base/completion.exp: Adjust expected output.
6831 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
6832 the completer works.
6833
68342017-07-17 Pedro Alves <palves@redhat.com>
6835
6836 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
6837
68382017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
6839
6840 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
6841
68422017-07-14 Tom Tromey <tom@tromey.com>
6843
6844 PR rust/21764:
6845 * gdb.rust/simple.exp: Add tests.
6846
68472017-07-14 Tom Tromey <tom@tromey.com>
6848
6849 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
6850
68512017-07-14 Pedro Alves <palves@redhat.com>
6852
6853 * gdb.linespec/base/one/thefile.cc (z1): New function.
6854 * gdb.linespec/base/two/thefile.cc (z2): New function.
6855 * gdb.linespec/linespec.exp: Add tests.
6856
68572017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
6858
6859 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
6860 to mi_create_breakpoint.
6861
68622017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
6863
6864 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
6865 mi_create_breakpoint.
6866
68672017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
6868
6869 * gdb.dlang/demangle.exp: Update for demangling changes.
6870
68712017-07-09 Tom Tromey <tom@tromey.com>
6872
6873 * gdb.dwarf2/shortpiece.exp: New file.
6874
68752017-07-06 David Blaikie <dblaikie@gmail.com>
6876
6877 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
6878 built from fissiont-multi-cu{1,2}.c.
6879 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
6880 except putting 'main' and 'func' in separate CUs in the same DWO file.
6881 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
6882 test.
6883 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
6884 test.
6885
68862017-07-06 Pedro Alves <palves@redhat.com>
6887
6888 * gdb.python/py-unwind.exp: Test flushregs.
6889
68902017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
6891
6892 PR cli/21688
6893 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
6894 tests for alias commands and trailing whitespace.
6895
68962017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
6897
6898 PR cli/21688
6899 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
6900 procedure. Call it.
6901
69022017-06-29 Pedro Alves <palves@redhat.com>
6903
6904 * gdb.base/printcmds.exp: Add tests.
6905
69062017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
6907
6908 PR gdb/21337
6909 * gdb.base/reread-readsym.exp: New file.
6910 * gdb.base/reread-readsym.c: New file.
6911
69122017-06-21 Kevin Buettner <kevinb@redhat.com>
6913
6914 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
6915 subpattern.
6916
69172017-06-19 Peter Bergner <bergner@vnet.ibm.com>
6918
6919 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
6920 extended mnemonic.
6921 * gdb.arch/powerpc-power9.s: Likewise.
6922
69232017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6924
6925 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
6926 on 32-bit x86 targets. Exploit is_*_target macros where
6927 appropriate.
6928
69292017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6930
6931 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
6932 register pieces.
6933
69342017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6935
6936 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
6937 located in one or more DWARF pieces.
6938
69392017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6940
6941 * lib/gdb.exp (get_endianness): New proc.
6942 * gdb.arch/aarch64-fp.exp: Use it.
6943 * gdb.arch/altivec-regs.exp: Likewise.
6944 * gdb.arch/e500-regs.exp: Likewise.
6945 * gdb.arch/vsx-regs.exp: Likewise.
6946 * gdb.base/dump.exp: Likewise.
6947 * gdb.base/funcargs.exp: Likewise.
6948 * gdb.base/gnu_vector.exp: Likewise.
6949 * gdb.dwarf2/formdata16.exp: Likewise.
6950 * gdb.dwarf2/implptrpiece.exp: Likewise.
6951 * gdb.dwarf2/nonvar-access.exp: Likewise.
6952 * gdb.python/py-inferior.exp: Likewise.
6953 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
6954
69552017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6956
6957 PR gdb/21226
6958 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
6959 stack value pieces are taken from the LSB end.
6960
69612017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6962
6963 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
6964 variable at nonzero offset.
6965
69662017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6967
6968 * gdb.dwarf2/var-access.c: New file.
6969 * gdb.dwarf2/var-access.exp: New test.
6970 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
6971
69722017-06-12 Tom Tromey <tom@tromey.com>
6973
6974 * gdb.dwarf2/formdata16.exp: Add tests.
6975
69762017-06-12 Tom Tromey <tom@tromey.com>
6977
6978 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
6979
69802017-06-12 Tom Tromey <tom@tromey.com>
6981
6982 PR exp/16225:
6983 * gdb.reverse/i386-sse-reverse.exp: Update tests.
6984 * gdb.arch/vsx-regs.exp: Update tests.
6985 * gdb.arch/s390-vregs.exp (hex128): New proc.
6986 Update test.
6987 * gdb.arch/altivec-regs.exp: Update tests.
6988
69892017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
6990
6991 * gdb.base/startup-with-shell.c: New file.
6992 * gdb.base/startup-with-shell.exp: Likewise.
6993
69942017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
6995
6996 * gdb.server/non-existing-program.exp: Update regex in order to
6997 reflect the fact that gdbserver is now using fork_inferior (with a
6998 shell) to startup the inferior.
6999
70002017-05-30 Simon Marchi <simon.marchi@ericsson.com>
7001
7002 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
7003 support function calls from GDB.
7004
70052017-05-21 Tom Tromey <tom@tromey.com>
7006
7007 PR rust/21466:
7008 * gdb.rust/unsized.exp: New file.
7009 * gdb.rust/unsized.rs: New file.
7010
70112017-05-19 Tom Tromey <tom@tromey.com>
7012
7013 PR rust/21484:
7014 * gdb.rust/watch.exp: New file.
7015 * gdb.rust/watch.rs: New file.
7016
70172017-05-18 Tom Tromey <tom@tromey.com>
7018
7019 * gdb.rust/simple.exp: Allow Box to be qualified.
7020
70212017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
7022
7023 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
7024
70252017-05-18 Pedro Alves <palves@redhat.com>
7026
7027 * gdb.base/fileio.c (test_write, test_read, test_close)
7028 (test_fstat): Don't print 'ret' in the fail path.
7029
70302017-05-18 Pedro Alves <palves@redhat.com>
7031
7032 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
7033 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
7034 (test_system, test_rename, test_unlink, test_time): Change
7035 prototypes.
7036 * gdb.base/fileio.exp (stop_msg): Adjust.
7037
70382017-05-18 Pedro Alves <palves@redhat.com>
7039
7040 * gdb.base/fileio.c (null_str): New global.
7041 (test_stat): Use it.
7042 * gdb.base/fileio.exp: Remove nowarnings.
7043
70442017-05-17 Yao Qi <yao.qi@linaro.org>
7045
7046 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
7047
70482017-05-17 Simon Marchi <simon.marchi@ericsson.com>
7049
7050 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
7051 argument command.
7052 (top-level): Invoke test_set_inferior_tty.
7053
70542017-05-04 Pedro Alves <palves@redhat.com>
7055
7056 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
7057 Add parens to print call for Python 3.
7058
70592017-05-03 Keith Seitz <keiths@redhat.com>
7060
7061 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
7062 (main): Call it.
7063
70642017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7065
7066 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
7067 to prev and next.
7068
70692017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7070
7071 * gdb.python/py-record-btrace.exp: Remove test for
7072 gdb.BtraceInstruction.error.
7073
70742017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7075
7076 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
7077
70782017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7079
7080 * gdb.python/py-record-btrace-threads.c: New file.
7081 * gdb.python/py-record-btrace-threads.exp: New file.
7082
70832017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
7084
7085 PR testsuite/8595
7086 * gdb.base/environ.exp: Make test available in all architectures.
7087 Move bits related to "info program" testing to
7088 gdb.base/info-program.exp. Rewrite tests to use the two new
7089 procedures mentione below.
7090 (test_set_show_env_var) New procedure.
7091 (test_set_show_env_var_equal): Likewise.
7092 * gdb.base/info-program.exp: New file.
7093
70942017-04-27 Keith Seitz <keiths@redhat.com>
7095
7096 * gdb.cp/oranking.cc (test15): New function.
7097 (main): Call test15 and declare additional variables for testing.
7098 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
7099 "p foo101('abc')" tests.
7100 Add tests for cv qualifier overloads.
7101 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
7102 "lvalue reference overload" test.
7103 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
7104 "print value of f1 on Child&& in f2" test.
7105
71062017-04-19 Pedro Alves <palves@redhat.com>
7107
7108 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
7109 procedure.
7110 (top level): Call it.
7111 * lib/gdb.exp (gdb_define_cmd): New procedure.
7112
71132017-04-12 Pedro Alves <palves@redhat.com>
7114
7115 PR gdb/21323
7116 * gdb.cp/wide_char_types.c: Include <wchar.h>.
7117 (wchar): New global.
7118 * gdb.cp/wide_char_types.exp (wide_char_types_program)
7119 (do_test_wide_char, wide_char_types_no_program, top level): Add
7120 wchar_t testing.
7121
71222017-04-12 Pedro Alves <palves@redhat.com>
7123
7124 PR c++/21323
7125 * gdb.cp/wide_char_types.c: New file.
7126 * gdb.cp/wide_char_types.exp: New file.
7127
71282017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
7129
7130 PR gdb/21352
7131 * gdb.trace/tsv.exp: Add test for "tsave -r".
7132
71332017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
7134
7135 * gdb.dlang/watch-loc.c: New file.
7136 * gdb.dlang/watch-loc.exp: New file.
7137
71382017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7139
7140 * gdb.python/py-section-script.exp (sepdebug): New testcases.
7141
71422017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
7143
7144 * gdb.arch/arc-analyze-prologue.S: New file.
7145 * gdb.arch/arc-analyze-prologue.exp: Likewise.
7146
71472017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
7148
7149 * gdb.arch/arc-decode-insn.S: New file.
7150 * gdb.arch/arc-decode-insn.exp: Likewise.
7151
71522017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
7153
7154 PR tdep/20928
7155 * gdb.arch/sparc64-regs.exp: New file.
7156 * gdb.arch/sparc64-regs.S: Likewise.
7157
71582017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
7159
7160 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
7161 and memory view on Python 3.
7162
71632017-03-20 Artemiy Volkov <artemiyv@acm.org>
7164 Keith Seitz <keiths@redhat.com>
7165
7166 PR gdb/14441
7167 * gdb.cp/demangle.exp: Add rvalue reference tests.
7168 * gdb.cp/rvalue-ref-casts.cc: New file.
7169 * gdb.cp/rvalue-ref-casts.exp: New file.
7170 * gdb.cp/rvalue-ref-overload.cc: New file.
7171 * gdb.cp/rvalue-ref-overload.exp: New file.
7172 * gdb.cp/rvalue-ref-params.cc: New file.
7173 * gdb.cp/rvalue-ref-params.exp: New file.
7174 * gdb.cp/rvalue-ref-sizeof.cc: New file.
7175 * gdb.cp/rvalue-ref-sizeof.exp: New file.
7176 * gdb.cp/rvalue-ref-types.cc: New file.
7177 * gdb.cp/rvalue-ref-types.exp: New file.
7178 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
7179 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
7180
71812017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
7182
7183 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
7184 New procedure.
7185
71862017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
7187
7188 * lib/mi-support.exp (mi_gdb_test): Add additional message
7189 for unexpected output.
7190
71912017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
7192
7193 * gdb.base/examine-backward.c (Barrier): New character array
7194 constant, to ensure that TestStrings is preceded by a string
7195 terminator.
7196
71972017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7198
7199 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
7200 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
7201 and implicit pointer into such a location.
7202
72032017-03-16 Doug Evans <dje@google.com>
7204
7205 * gdb.python/py-lazy-string (pointer): Really add new typedef.
7206
72072017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
7208
7209 * gdb.cp/m-static.exp: Fix expectation for prototype of
7210 test5.single_constructor and single_constructor::single_constructor.
7211
72122017-03-16 Doug Evans <dje@google.com>
7213
7214 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
7215 * gdb.guile/scm-lazy-string.c: New file.
7216 * gdb.guile/scm-value.exp: Move lazy string tests to ...
7217 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
7218 for pointer, array, typedef lazy strings.
7219
72202017-03-16 Doug Evans <dje@google.com>
7221
7222 PR python/17728, python/18439, python/18779
7223 * gdb.python/py-value.c (main) Delete locals sptr, sn.
7224 * gdb.python/py-lazy-string.c (pointer): New typedef.
7225 (main): New locals ptr, array, typedef_ptr.
7226 * gdb.python/py-value.exp: Move lazy string tests to ...
7227 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
7228 array, typedef lazy strings.
7229
72302017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
7231
7232 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
7233 Add optional 'test' parameter.
7234
72352017-03-13 Simon Marchi <simon.marchi@ericsson.com>
7236
7237 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
7238 Skip for versions of DejaGnu < 1.5.
7239
72402017-03-13 Simon Marchi <simon.marchi@ericsson.com>
7241
7242 * lib/gdb.exp (dejagnu_version): New proc.
7243 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
7244 Use dejagnu_version.
7245
72462017-03-10 Keith Seitz <keiths@redhat.com>
7247
7248 PR c++/8128
7249 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
7250 type from destructor regexps.
7251 Add a branch which actually passes the test.
7252 Adjust "ptype t5i" test names.
7253
72542017-03-08 Pedro Alves <palves@redhat.com>
7255
7256 * gdb.base/step-over-exit.exp: Add explicit test message.
7257
72582017-03-08 Pedro Alves <palves@redhat.com>
7259
7260 PR gdb/18360
7261 * gdb.threads/interrupt-while-step-over.c: New file.
7262 * gdb.threads/interrupt-while-step-over.exp: New file.
7263
72642017-03-08 Pedro Alves <palves@redhat.com>
7265
7266 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
7267 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
7268
72692017-03-08 Pedro Alves <palves@redhat.com>
7270
7271 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
7272 PKRU as not supported as a PASS.
7273
72742017-03-08 Pedro Alves <palves@redhat.com>
7275
7276 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
7277 prefix instead of $binfile1/$binfile2.
7278 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
7279 in test message.
7280 * gdb.python/py-completion.exp: Use "load python file" as test
7281 messages instead of unstable path names.
7282
72832017-03-08 Pedro Alves <palves@redhat.com>
7284 Jan Kratochvil <jan.kratochvil@redhat.com>
7285
7286 PR cli/21218
7287 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
7288 New proc.
7289 (top level): Call it.
7290
72912017-03-08 Pedro Alves <palves@redhat.com>
7292
7293 PR tui/21216
7294 * gdb.tui/tui-nl-filtered-output.exp: New file.
7295
72962017-03-08 Pedro Alves <palves@redhat.com>
7297
7298 * gdb.base/completion.exp: Move TUI completion tests to ...
7299 * gdb.tui/completion.exp: ... this new file.
7300
73012017-03-08 Pedro Alves <palves@redhat.com>
7302
7303 * gdb.base/tui-disasm-long-lines.c,
7304 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
7305 gdb.base/tui-layout.exp: Move to ...
7306 * gdb.tui/: ... this new directory.
7307
73082017-03-07 Pedro Alves <palves@redhat.com>
7309
7310 * gdb.base/tui-layout.c: New file.
7311 * gdb.base/tui-layout.exp: New file.
7312
73132017-03-07 Pedro Alves <palves@redhat.com>
7314
7315 * gdb.base/tui-layout.c: Rename to ...
7316 * gdb.base/tui-disasm-long-lines.c: ... this.
7317 * gdb.base/tui-layout.exp: Rename to ...
7318 * gdb.base/tui-disasm-long-lines.exp: ... this.
7319
73202017-03-07 Pedro Alves <palves@redhat.com>
7321
7322 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
7323
73242017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
7325
7326 * i386-mpx-call.c: New file.
7327 * i386-mpx-call.exp: New file.
7328
73292017-02-28 Peter Bergner <bergner@vnet.ibm.com>
7330
7331 * gdb.arch/powerpc-power.exp: Delete test.
7332 * gdb.arch/powerpc-power.s: Likewise.
7333 * gdb.disasm/disassembler-options.exp: New test.
7334 * gdb.arch/powerpc-altivec.exp: Likewise.
7335 * gdb.arch/powerpc-altivec.s: Likewise.
7336 * gdb.arch/powerpc-altivec2.exp: Likewise.
7337 * gdb.arch/powerpc-altivec2.s: Likewise.
7338 * gdb.arch/powerpc-altivec3.exp: Likewise.
7339 * gdb.arch/powerpc-altivec3.s: Likewise.
7340 * gdb.arch/powerpc-power7.exp: Likewise.
7341 * gdb.arch/powerpc-power7.s: Likewise.
7342 * gdb.arch/powerpc-power8.exp: Likewise.
7343 * gdb.arch/powerpc-power8.s: Likewise.
7344 * gdb.arch/powerpc-power9.exp: Likewise.
7345 * gdb.arch/powerpc-power9.s: Likewise.
7346 * gdb.arch/powerpc-vsx.exp: Likewise.
7347 * gdb.arch/powerpc-vsx.s: Likewise.
7348 * gdb.arch/powerpc-vsx2.exp: Likewise.
7349 * gdb.arch/powerpc-vsx2.s: Likewise.
7350 * gdb.arch/powerpc-vsx3.exp: Likewise.
7351 * gdb.arch/powerpc-vsx3.s: Likewise.
7352 * gdb.arch/arm-disassembler-options.exp: Likewise.
7353 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
7354 * gdb.arch/s390-disassembler-options.exp: Likewise.
7355
73562017-02-23 Luis Machado <lgustavo@codesourcery.com>
7357
7358 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
7359 (check_supported_features): ... this. Changed return type to void.
7360 (supports_rdseed): New static global.
7361 (rdseed): Check supports_rdseed.
7362 (initialize): Call check_supported_features.
7363
73642017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7365
7366 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
7367 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
7368 and lqarx/stqcx.
7369 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
7370 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
7371
73722017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7373
7374 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
7375 uppercase.
7376
73772017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7378
7379 * gdb.dwarf2/formdata16.c: New file.
7380 * gdb.dwarf2/formdata16.exp: New file.
7381 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
7382
73832017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7384
7385 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
7386 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
7387 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
7388 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
7389 DW_AT_GNU_*.
7390
73912017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7392
7393 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
7394
73952017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
7396
7397 PR gdb/21164
7398 * gdb.base/maint.exp: Add testcases for when the commands do
7399 not have arguments.
7400
74012017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
7402
7403 * gdb.cp/chained-calls.exp: Use p instead of P.
7404
74052017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
7406
7407 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
7408 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
7409
74102017-02-14 Tom Tromey <tom@tromey.com>
7411
7412 PR python/13598:
7413 * gdb.python/py-events.exp: Add before_prompt event tests.
7414
74152017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7416
7417 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
7418
74192017-02-13 Luis Machado <lgustavo@codesourcery.com>
7420
7421 * gdb.linespec/explicit.c (my_unique_function_name): New function.
7422 (main): Call my_unique_function_name.
7423 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
7424 completion of patterns with a single match.
7425 Add missing -re switches to gdb_test_multiple calls.
7426
74272017-02-13 Luis Machado <lgustavo@codesourcery.com>
7428
7429 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
7430 return if core file is not recognized.
7431
74322017-02-10 Simon Marchi <simon.marchi@ericsson.com>
7433
7434 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
7435 and extra UIs.
7436
74372017-02-10 Simon Marchi <simon.marchi@ericsson.com>
7438
7439 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
7440 proc_with_prefix.
7441
74422017-02-10 Tom Tromey <tom@tromey.com>
7443
7444 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
7445
74462017-02-10 Martin Galvan <martingalvan@sourceware.org>
7447
7448 PR gdb/21122
7449 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
7450
74512017-02-08 Jerome Guitton <guitton@adacore.com>
7452
7453 * gdb.base/define.exp: Add test for command abbreviations
7454 in define.
7455
74562017-02-06 Luis Machado <lgustavo@codesourcery.com>
7457
7458 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
7459 * gdb.reverse/insn-reverse-x86.c: New file.
7460
74612017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
7462
7463 PR tdep/20936
7464 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
7465
74662017-02-03 Tom Tromey <tom@tromey.com>
7467
7468 PR rust/21097:
7469 * gdb.rust/simple.exp: Add new tests.
7470
74712017-02-02 Pedro Alves <palves@redhat.com>
7472
7473 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
7474 tests.
7475
74762017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
7477
7478 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
7479 taking a 2-byte value out of a 4-byte DWARF implicit value on
7480 big-endian targets.
7481 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
7482 logic. Add test cases for DW_OP_implicit.
7483
74842017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7485
7486 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
7487
74882017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7489
7490 * gdb.btrace/enable.exp: Call gdb_exit before
7491 skip_gdbserver_tests.
7492
74932017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7494
7495 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
7496 GDBFLAGS.
7497
74982017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7499
7500 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
7501 the test is skipped.
7502 * gdb.btrace/data.exp: Likewise.
7503 * gdb.btrace/delta.exp: Likewise.
7504 * gdb.btrace/dlopen.exp: Likewise.
7505 * gdb.btrace/enable-running.exp: Likewise.
7506 * gdb.btrace/enable.exp: Likewise.
7507 * gdb.btrace/exception.exp: Likewise.
7508 * gdb.btrace/function_call_history.exp: Likewise.
7509 * gdb.btrace/gcore.exp: Likewise.
7510 * gdb.btrace/instruction_history.exp: Likewise.
7511 * gdb.btrace/multi-thread-step.exp: Likewise.
7512 * gdb.btrace/nohist.exp: Likewise.
7513 * gdb.btrace/non-stop.exp: Likewise.
7514 * gdb.btrace/reconnect.exp: Likewise.
7515 * gdb.btrace/record_goto-step.exp: Likewise.
7516 * gdb.btrace/record_goto.exp: Likewise.
7517 * gdb.btrace/rn-dl-bind.exp: Likewise.
7518 * gdb.btrace/segv.exp: Likewise.
7519 * gdb.btrace/step.exp: Likewise.
7520 * gdb.btrace/stepi.exp: Likewise.
7521 * gdb.btrace/tailcall-only.exp: Likewise.
7522 * gdb.btrace/tailcall.exp: Likewise.
7523 * gdb.btrace/tsx.exp: Likewise.
7524 * gdb.btrace/unknown_functions.exp: Likewise.
7525 * gdb.btrace/vdso.exp: Likewise.
7526
75272017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7528
7529 * gdb.btrace/enable-running.c: New.
7530 * gdb.btrace/enable-running.exp: New.
7531
75322017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
7533
7534 * gdb.arch/amd64-gs_base.c: New file.
7535 * gdb.arch/amd64-gs_base.exp: New file.
7536
75372017-01-26 Luis Machado <lgustavo@codesourcery.com>
7538
7539 * lib/memory.exp: Remove spurious empty newlines.
7540
75412017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
7542
7543 * gdb.python/py-bad-printers.exp: Load python file using "source".
7544 * gdb.python/py-events.exp: Likewise.
7545 * gdb.python/py-evsignal.exp: Likewise.
7546 * gdb.python/py-evthreads.exp: Likewise.
7547 * gdb.python/py-frame-args.exp: Likewise.
7548 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
7549 * gdb.python/py-framefilter-mi.exp: Likewise.
7550 * gdb.python/py-framefilter.exp: Likewise.
7551 * gdb.python/py-mi.exp: Likewise.
7552 * gdb.python/py-pp-maint.exp: Likewise.
7553 * gdb.python/py-pp-registration.exp: Likewise.
7554 * gdb.python/py-prettyprint.exp: Likewise.
7555 (run_lang_tests): Likewise.
7556 * gdb.python/py-typeprint.exp: Likewise.
7557
75582017-01-26 Luis Machado <lgustavo@codesourcery.com>
7559
7560 * lib/memory.exp: New file.
7561 * lib/gdb.exp: Load memory.exp.
7562 * gdb.base/memattr.exp (delete_memory): Move proc to
7563 lib/memory.exp and rename to delete_memory_regions.
7564 Replace delete_memory with delete_memory_regions.
7565 Cleanup memory regions before tests.
7566 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
7567 before tests.
7568
75692017-01-26 Luis Machado <lgustavo@codesourcery.com>
7570
7571 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
7572 files.
7573 (initialize): New function conditionally defined.
7574 (testcases): Move within conditional block.
7575 (main): Call initialize.
7576 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
7577 of gdb.reverse/insn-reverse.c.
7578 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
7579 gdb.reverse/insn-reverse.c.
7580
75812017-01-26 Yao Qi <yao.qi@linaro.org>
7582
7583 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
7584 disassemble on address 0.
7585
75862017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
7587 Yao Qi <yao.qi@linaro.org>
7588
7589 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
7590 * gdb.dwarf2/implptr-64bit.S: Remove.
7591 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
7592 variables in caller's context. Add DW_OP_implicit_value.
7593
75942017-01-25 Yao Qi <yao.qi@linaro.org>
7595
7596 * lib/dwarf.exp (Dwarf::_location): Handle
7597 DW_OP_GNU_implicit_pointer with proper size.
7598
75992017-01-20 Luis Machado <lgustavo@codesourcery.com>
7600
7601 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
7602 and add untested calls.
7603
76042017-01-20 Luis Machado <lgustavo@codesourcery.com>
7605
7606 * gdb.python/python.exp: Check line number against what GDB thinks
7607 the line number is for func1.
7608
76092017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
7610
7611 * gdb.dlang/debug-expr.exp: New file.
7612
76132016-12-23 Luis Machado <lgustavo@codesourcery.com>
7614
7615 Fix test names for the following files:
7616
7617 * gdb.ada/exec_changed.exp
7618 * gdb.ada/info_types.exp
7619 * gdb.arch/aarch64-atomic-inst.exp
7620 * gdb.arch/aarch64-fp.exp
7621 * gdb.arch/altivec-abi.exp
7622 * gdb.arch/altivec-regs.exp
7623 * gdb.arch/amd64-byte.exp
7624 * gdb.arch/amd64-disp-step.exp
7625 * gdb.arch/amd64-dword.exp
7626 * gdb.arch/amd64-entry-value-inline.exp
7627 * gdb.arch/amd64-entry-value-param.exp
7628 * gdb.arch/amd64-entry-value-paramref.exp
7629 * gdb.arch/amd64-entry-value.exp
7630 * gdb.arch/amd64-i386-address.exp
7631 * gdb.arch/amd64-invalid-stack-middle.exp
7632 * gdb.arch/amd64-invalid-stack-top.exp
7633 * gdb.arch/amd64-optimout-repeat.exp
7634 * gdb.arch/amd64-prologue-skip.exp
7635 * gdb.arch/amd64-prologue-xmm.exp
7636 * gdb.arch/amd64-stap-special-operands.exp
7637 * gdb.arch/amd64-stap-wrong-subexp.exp
7638 * gdb.arch/amd64-tailcall-cxx.exp
7639 * gdb.arch/amd64-tailcall-noret.exp
7640 * gdb.arch/amd64-tailcall-ret.exp
7641 * gdb.arch/amd64-tailcall-self.exp
7642 * gdb.arch/amd64-word.exp
7643 * gdb.arch/arm-bl-branch-dest.exp
7644 * gdb.arch/arm-disp-step.exp
7645 * gdb.arch/arm-neon.exp
7646 * gdb.arch/arm-single-step-kernel-helper.exp
7647 * gdb.arch/avr-flash-qualifier.exp
7648 * gdb.arch/disp-step-insn-reloc.exp
7649 * gdb.arch/e500-abi.exp
7650 * gdb.arch/e500-regs.exp
7651 * gdb.arch/ftrace-insn-reloc.exp
7652 * gdb.arch/i386-avx512.exp
7653 * gdb.arch/i386-bp_permanent.exp
7654 * gdb.arch/i386-byte.exp
7655 * gdb.arch/i386-cfi-notcurrent.exp
7656 * gdb.arch/i386-disp-step.exp
7657 * gdb.arch/i386-dr3-watch.exp
7658 * gdb.arch/i386-float.exp
7659 * gdb.arch/i386-gnu-cfi.exp
7660 * gdb.arch/i386-mpx-map.exp
7661 * gdb.arch/i386-mpx-sigsegv.exp
7662 * gdb.arch/i386-mpx-simple_segv.exp
7663 * gdb.arch/i386-mpx.exp
7664 * gdb.arch/i386-permbkpt.exp
7665 * gdb.arch/i386-prologue.exp
7666 * gdb.arch/i386-signal.exp
7667 * gdb.arch/i386-size-overlap.exp
7668 * gdb.arch/i386-unwind.exp
7669 * gdb.arch/i386-word.exp
7670 * gdb.arch/mips-fcr.exp
7671 * gdb.arch/powerpc-d128-regs.exp
7672 * gdb.arch/powerpc-stackless.exp
7673 * gdb.arch/ppc64-atomic-inst.exp
7674 * gdb.arch/s390-stackless.exp
7675 * gdb.arch/s390-tdbregs.exp
7676 * gdb.arch/s390-vregs.exp
7677 * gdb.arch/sparc-sysstep.exp
7678 * gdb.arch/thumb-bx-pc.exp
7679 * gdb.arch/thumb-singlestep.exp
7680 * gdb.arch/thumb2-it.exp
7681 * gdb.arch/vsx-regs.exp
7682 * gdb.asm/asm-source.exp
7683 * gdb.base/a2-run.exp
7684 * gdb.base/advance.exp
7685 * gdb.base/all-bin.exp
7686 * gdb.base/anon.exp
7687 * gdb.base/args.exp
7688 * gdb.base/arithmet.exp
7689 * gdb.base/async-shell.exp
7690 * gdb.base/async.exp
7691 * gdb.base/attach-pie-noexec.exp
7692 * gdb.base/attach-twice.exp
7693 * gdb.base/auto-load.exp
7694 * gdb.base/bang.exp
7695 * gdb.base/bitfields.exp
7696 * gdb.base/break-always.exp
7697 * gdb.base/break-caller-line.exp
7698 * gdb.base/break-entry.exp
7699 * gdb.base/break-inline.exp
7700 * gdb.base/break-on-linker-gcd-function.exp
7701 * gdb.base/break-probes.exp
7702 * gdb.base/break.exp
7703 * gdb.base/breakpoint-shadow.exp
7704 * gdb.base/call-ar-st.exp
7705 * gdb.base/call-sc.exp
7706 * gdb.base/call-signal-resume.exp
7707 * gdb.base/call-strs.exp
7708 * gdb.base/callfuncs.exp
7709 * gdb.base/catch-fork-static.exp
7710 * gdb.base/catch-gdb-caused-signals.exp
7711 * gdb.base/catch-load.exp
7712 * gdb.base/catch-signal-fork.exp
7713 * gdb.base/catch-signal.exp
7714 * gdb.base/catch-syscall.exp
7715 * gdb.base/charset.exp
7716 * gdb.base/checkpoint.exp
7717 * gdb.base/chng-syms.exp
7718 * gdb.base/code-expr.exp
7719 * gdb.base/code_elim.exp
7720 * gdb.base/commands.exp
7721 * gdb.base/completion.exp
7722 * gdb.base/complex.exp
7723 * gdb.base/cond-expr.exp
7724 * gdb.base/condbreak.exp
7725 * gdb.base/consecutive.exp
7726 * gdb.base/continue-all-already-running.exp
7727 * gdb.base/coredump-filter.exp
7728 * gdb.base/corefile.exp
7729 * gdb.base/dbx.exp
7730 * gdb.base/debug-expr.exp
7731 * gdb.base/define.exp
7732 * gdb.base/del.exp
7733 * gdb.base/disabled-location.exp
7734 * gdb.base/disasm-end-cu.exp
7735 * gdb.base/disasm-optim.exp
7736 * gdb.base/display.exp
7737 * gdb.base/duplicate-bp.exp
7738 * gdb.base/ena-dis-br.exp
7739 * gdb.base/ending-run.exp
7740 * gdb.base/enumval.exp
7741 * gdb.base/environ.exp
7742 * gdb.base/eu-strip-infcall.exp
7743 * gdb.base/eval-avoid-side-effects.exp
7744 * gdb.base/eval-skip.exp
7745 * gdb.base/exitsignal.exp
7746 * gdb.base/expand-psymtabs.exp
7747 * gdb.base/filesym.exp
7748 * gdb.base/find-unmapped.exp
7749 * gdb.base/finish.exp
7750 * gdb.base/float.exp
7751 * gdb.base/foll-exec-mode.exp
7752 * gdb.base/foll-exec.exp
7753 * gdb.base/foll-fork.exp
7754 * gdb.base/fortran-sym-case.exp
7755 * gdb.base/freebpcmd.exp
7756 * gdb.base/func-ptr.exp
7757 * gdb.base/func-ptrs.exp
7758 * gdb.base/funcargs.exp
7759 * gdb.base/gcore-buffer-overflow.exp
7760 * gdb.base/gcore-relro-pie.exp
7761 * gdb.base/gcore-relro.exp
7762 * gdb.base/gcore.exp
7763 * gdb.base/gdb1090.exp
7764 * gdb.base/gdb11530.exp
7765 * gdb.base/gdb11531.exp
7766 * gdb.base/gdb1821.exp
7767 * gdb.base/gdbindex-stabs.exp
7768 * gdb.base/gdbvars.exp
7769 * gdb.base/hbreak.exp
7770 * gdb.base/hbreak2.exp
7771 * gdb.base/included.exp
7772 * gdb.base/infcall-input.exp
7773 * gdb.base/inferior-died.exp
7774 * gdb.base/infnan.exp
7775 * gdb.base/info-macros.exp
7776 * gdb.base/info-os.exp
7777 * gdb.base/info-proc.exp
7778 * gdb.base/info-shared.exp
7779 * gdb.base/info-target.exp
7780 * gdb.base/infoline.exp
7781 * gdb.base/interp.exp
7782 * gdb.base/interrupt.exp
7783 * gdb.base/jit-reader.exp
7784 * gdb.base/jit-simple.exp
7785 * gdb.base/kill-after-signal.exp
7786 * gdb.base/kill-detach-inferiors-cmd.exp
7787 * gdb.base/label.exp
7788 * gdb.base/langs.exp
7789 * gdb.base/ldbl_e308.exp
7790 * gdb.base/line-symtabs.exp
7791 * gdb.base/linespecs.exp
7792 * gdb.base/list.exp
7793 * gdb.base/long_long.exp
7794 * gdb.base/longest-types.exp
7795 * gdb.base/maint.exp
7796 * gdb.base/max-value-size.exp
7797 * gdb.base/memattr.exp
7798 * gdb.base/mips_pro.exp
7799 * gdb.base/morestack.exp
7800 * gdb.base/moribund-step.exp
7801 * gdb.base/multi-forks.exp
7802 * gdb.base/nested-addr.exp
7803 * gdb.base/nextoverexit.exp
7804 * gdb.base/noreturn-finish.exp
7805 * gdb.base/noreturn-return.exp
7806 * gdb.base/nostdlib.exp
7807 * gdb.base/offsets.exp
7808 * gdb.base/opaque.exp
7809 * gdb.base/pc-fp.exp
7810 * gdb.base/permissions.exp
7811 * gdb.base/print-symbol-loading.exp
7812 * gdb.base/prologue-include.exp
7813 * gdb.base/psymtab.exp
7814 * gdb.base/ptype.exp
7815 * gdb.base/random-signal.exp
7816 * gdb.base/randomize.exp
7817 * gdb.base/range-stepping.exp
7818 * gdb.base/readline-ask.exp
7819 * gdb.base/recpar.exp
7820 * gdb.base/recurse.exp
7821 * gdb.base/relational.exp
7822 * gdb.base/restore.exp
7823 * gdb.base/return-nodebug.exp
7824 * gdb.base/return.exp
7825 * gdb.base/run-after-attach.exp
7826 * gdb.base/save-bp.exp
7827 * gdb.base/scope.exp
7828 * gdb.base/sect-cmd.exp
7829 * gdb.base/set-lang-auto.exp
7830 * gdb.base/set-noassign.exp
7831 * gdb.base/setvar.exp
7832 * gdb.base/sigall.exp
7833 * gdb.base/sigbpt.exp
7834 * gdb.base/siginfo-addr.exp
7835 * gdb.base/siginfo-infcall.exp
7836 * gdb.base/siginfo-obj.exp
7837 * gdb.base/siginfo.exp
7838 * gdb.base/signals-state-child.exp
7839 * gdb.base/signest.exp
7840 * gdb.base/sigstep.exp
7841 * gdb.base/sizeof.exp
7842 * gdb.base/skip.exp
7843 * gdb.base/solib-corrupted.exp
7844 * gdb.base/solib-nodir.exp
7845 * gdb.base/solib-search.exp
7846 * gdb.base/stack-checking.exp
7847 * gdb.base/stale-infcall.exp
7848 * gdb.base/stap-probe.exp
7849 * gdb.base/start.exp
7850 * gdb.base/step-break.exp
7851 * gdb.base/step-bt.exp
7852 * gdb.base/step-line.exp
7853 * gdb.base/step-over-exit.exp
7854 * gdb.base/step-over-syscall.exp
7855 * gdb.base/step-resume-infcall.exp
7856 * gdb.base/step-test.exp
7857 * gdb.base/store.exp
7858 * gdb.base/structs3.exp
7859 * gdb.base/sym-file.exp
7860 * gdb.base/symbol-without-target_section.exp
7861 * gdb.base/term.exp
7862 * gdb.base/testenv.exp
7863 * gdb.base/ui-redirect.exp
7864 * gdb.base/until.exp
7865 * gdb.base/unwindonsignal.exp
7866 * gdb.base/value-double-free.exp
7867 * gdb.base/vla-datatypes.exp
7868 * gdb.base/vla-ptr.exp
7869 * gdb.base/vla-sideeffect.exp
7870 * gdb.base/volatile.exp
7871 * gdb.base/watch-cond-infcall.exp
7872 * gdb.base/watch-cond.exp
7873 * gdb.base/watch-non-mem.exp
7874 * gdb.base/watch-read.exp
7875 * gdb.base/watch-vfork.exp
7876 * gdb.base/watchpoint-cond-gone.exp
7877 * gdb.base/watchpoint-delete.exp
7878 * gdb.base/watchpoint-hw-hit-once.exp
7879 * gdb.base/watchpoint-hw.exp
7880 * gdb.base/watchpoint-stops-at-right-insn.exp
7881 * gdb.base/watchpoints.exp
7882 * gdb.base/wchar.exp
7883 * gdb.base/whatis-exp.exp
7884 * gdb.btrace/buffer-size.exp
7885 * gdb.btrace/data.exp
7886 * gdb.btrace/delta.exp
7887 * gdb.btrace/dlopen.exp
7888 * gdb.btrace/enable.exp
7889 * gdb.btrace/exception.exp
7890 * gdb.btrace/function_call_history.exp
7891 * gdb.btrace/gcore.exp
7892 * gdb.btrace/instruction_history.exp
7893 * gdb.btrace/nohist.exp
7894 * gdb.btrace/reconnect.exp
7895 * gdb.btrace/record_goto-step.exp
7896 * gdb.btrace/record_goto.exp
7897 * gdb.btrace/rn-dl-bind.exp
7898 * gdb.btrace/segv.exp
7899 * gdb.btrace/step.exp
7900 * gdb.btrace/stepi.exp
7901 * gdb.btrace/tailcall-only.exp
7902 * gdb.btrace/tailcall.exp
7903 * gdb.btrace/tsx.exp
7904 * gdb.btrace/unknown_functions.exp
7905 * gdb.btrace/vdso.exp
7906 * gdb.compile/compile-ifunc.exp
7907 * gdb.compile/compile-ops.exp
7908 * gdb.compile/compile-print.exp
7909 * gdb.compile/compile-setjmp.exp
7910 * gdb.cp/abstract-origin.exp
7911 * gdb.cp/ambiguous.exp
7912 * gdb.cp/annota2.exp
7913 * gdb.cp/annota3.exp
7914 * gdb.cp/anon-ns.exp
7915 * gdb.cp/anon-struct.exp
7916 * gdb.cp/anon-union.exp
7917 * gdb.cp/arg-reference.exp
7918 * gdb.cp/baseenum.exp
7919 * gdb.cp/bool.exp
7920 * gdb.cp/breakpoint.exp
7921 * gdb.cp/bs15503.exp
7922 * gdb.cp/call-c.exp
7923 * gdb.cp/casts.exp
7924 * gdb.cp/chained-calls.exp
7925 * gdb.cp/class2.exp
7926 * gdb.cp/classes.exp
7927 * gdb.cp/cmpd-minsyms.exp
7928 * gdb.cp/converts.exp
7929 * gdb.cp/cp-relocate.exp
7930 * gdb.cp/cpcompletion.exp
7931 * gdb.cp/cpexprs.exp
7932 * gdb.cp/cplabel.exp
7933 * gdb.cp/cplusfuncs.exp
7934 * gdb.cp/cpsizeof.exp
7935 * gdb.cp/ctti.exp
7936 * gdb.cp/derivation.exp
7937 * gdb.cp/destrprint.exp
7938 * gdb.cp/dispcxx.exp
7939 * gdb.cp/enum-class.exp
7940 * gdb.cp/exception.exp
7941 * gdb.cp/exceptprint.exp
7942 * gdb.cp/expand-psymtabs-cxx.exp
7943 * gdb.cp/expand-sals.exp
7944 * gdb.cp/extern-c.exp
7945 * gdb.cp/filename.exp
7946 * gdb.cp/formatted-ref.exp
7947 * gdb.cp/fpointer.exp
7948 * gdb.cp/gdb1355.exp
7949 * gdb.cp/gdb2495.exp
7950 * gdb.cp/hang.exp
7951 * gdb.cp/impl-this.exp
7952 * gdb.cp/infcall-dlopen.exp
7953 * gdb.cp/inherit.exp
7954 * gdb.cp/iostream.exp
7955 * gdb.cp/koenig.exp
7956 * gdb.cp/local.exp
7957 * gdb.cp/m-data.exp
7958 * gdb.cp/m-static.exp
7959 * gdb.cp/mb-ctor.exp
7960 * gdb.cp/mb-inline.exp
7961 * gdb.cp/mb-templates.exp
7962 * gdb.cp/member-name.exp
7963 * gdb.cp/member-ptr.exp
7964 * gdb.cp/meth-typedefs.exp
7965 * gdb.cp/method.exp
7966 * gdb.cp/method2.exp
7967 * gdb.cp/minsym-fallback.exp
7968 * gdb.cp/misc.exp
7969 * gdb.cp/namelessclass.exp
7970 * gdb.cp/namespace-enum.exp
7971 * gdb.cp/namespace-nested-import.exp
7972 * gdb.cp/namespace.exp
7973 * gdb.cp/nextoverthrow.exp
7974 * gdb.cp/no-dmgl-verbose.exp
7975 * gdb.cp/non-trivial-retval.exp
7976 * gdb.cp/noparam.exp
7977 * gdb.cp/nsdecl.exp
7978 * gdb.cp/nsimport.exp
7979 * gdb.cp/nsnested.exp
7980 * gdb.cp/nsnoimports.exp
7981 * gdb.cp/nsrecurs.exp
7982 * gdb.cp/nsstress.exp
7983 * gdb.cp/nsusing.exp
7984 * gdb.cp/operator.exp
7985 * gdb.cp/oranking.exp
7986 * gdb.cp/overload-const.exp
7987 * gdb.cp/overload.exp
7988 * gdb.cp/ovldbreak.exp
7989 * gdb.cp/ovsrch.exp
7990 * gdb.cp/paren-type.exp
7991 * gdb.cp/parse-lang.exp
7992 * gdb.cp/pass-by-ref.exp
7993 * gdb.cp/pr-1023.exp
7994 * gdb.cp/pr-1210.exp
7995 * gdb.cp/pr-574.exp
7996 * gdb.cp/pr10687.exp
7997 * gdb.cp/pr12028.exp
7998 * gdb.cp/pr17132.exp
7999 * gdb.cp/pr17494.exp
8000 * gdb.cp/pr9067.exp
8001 * gdb.cp/pr9167.exp
8002 * gdb.cp/pr9631.exp
8003 * gdb.cp/printmethod.exp
8004 * gdb.cp/psmang.exp
8005 * gdb.cp/psymtab-parameter.exp
8006 * gdb.cp/ptype-cv-cp.exp
8007 * gdb.cp/ptype-flags.exp
8008 * gdb.cp/re-set-overloaded.exp
8009 * gdb.cp/ref-types.exp
8010 * gdb.cp/rtti.exp
8011 * gdb.cp/scope-err.exp
8012 * gdb.cp/shadow.exp
8013 * gdb.cp/smartp.exp
8014 * gdb.cp/static-method.exp
8015 * gdb.cp/static-print-quit.exp
8016 * gdb.cp/temargs.exp
8017 * gdb.cp/templates.exp
8018 * gdb.cp/try_catch.exp
8019 * gdb.cp/typedef-operator.exp
8020 * gdb.cp/typeid.exp
8021 * gdb.cp/userdef.exp
8022 * gdb.cp/using-crash.exp
8023 * gdb.cp/var-tag.exp
8024 * gdb.cp/virtbase.exp
8025 * gdb.cp/virtfunc.exp
8026 * gdb.cp/virtfunc2.exp
8027 * gdb.cp/vla-cxx.exp
8028 * gdb.disasm/t01_mov.exp
8029 * gdb.disasm/t02_mova.exp
8030 * gdb.disasm/t03_add.exp
8031 * gdb.disasm/t04_sub.exp
8032 * gdb.disasm/t05_cmp.exp
8033 * gdb.disasm/t06_ari2.exp
8034 * gdb.disasm/t07_ari3.exp
8035 * gdb.disasm/t08_or.exp
8036 * gdb.disasm/t09_xor.exp
8037 * gdb.disasm/t10_and.exp
8038 * gdb.disasm/t11_logs.exp
8039 * gdb.disasm/t12_bit.exp
8040 * gdb.disasm/t13_otr.exp
8041 * gdb.dlang/circular.exp
8042 * gdb.dwarf2/arr-stride.exp
8043 * gdb.dwarf2/arr-subrange.exp
8044 * gdb.dwarf2/atomic-type.exp
8045 * gdb.dwarf2/bad-regnum.exp
8046 * gdb.dwarf2/bitfield-parent-optimized-out.exp
8047 * gdb.dwarf2/callframecfa.exp
8048 * gdb.dwarf2/clztest.exp
8049 * gdb.dwarf2/corrupt.exp
8050 * gdb.dwarf2/data-loc.exp
8051 * gdb.dwarf2/dup-psym.exp
8052 * gdb.dwarf2/dw2-anon-mptr.exp
8053 * gdb.dwarf2/dw2-anonymous-func.exp
8054 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
8055 * gdb.dwarf2/dw2-bad-unresolved.exp
8056 * gdb.dwarf2/dw2-basic.exp
8057 * gdb.dwarf2/dw2-canonicalize-type.exp
8058 * gdb.dwarf2/dw2-case-insensitive.exp
8059 * gdb.dwarf2/dw2-common-block.exp
8060 * gdb.dwarf2/dw2-compdir-oldgcc.exp
8061 * gdb.dwarf2/dw2-compressed.exp
8062 * gdb.dwarf2/dw2-const.exp
8063 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
8064 * gdb.dwarf2/dw2-cu-size.exp
8065 * gdb.dwarf2/dw2-dup-frame.exp
8066 * gdb.dwarf2/dw2-entry-value.exp
8067 * gdb.dwarf2/dw2-icycle.exp
8068 * gdb.dwarf2/dw2-ifort-parameter.exp
8069 * gdb.dwarf2/dw2-inline-break.exp
8070 * gdb.dwarf2/dw2-inline-param.exp
8071 * gdb.dwarf2/dw2-intercu.exp
8072 * gdb.dwarf2/dw2-intermix.exp
8073 * gdb.dwarf2/dw2-lexical-block-bare.exp
8074 * gdb.dwarf2/dw2-linkage-name-trust.exp
8075 * gdb.dwarf2/dw2-minsym-in-cu.exp
8076 * gdb.dwarf2/dw2-noloc.exp
8077 * gdb.dwarf2/dw2-op-call.exp
8078 * gdb.dwarf2/dw2-op-out-param.exp
8079 * gdb.dwarf2/dw2-opt-structptr.exp
8080 * gdb.dwarf2/dw2-param-error.exp
8081 * gdb.dwarf2/dw2-producer.exp
8082 * gdb.dwarf2/dw2-ranges-base.exp
8083 * gdb.dwarf2/dw2-ref-missing-frame.exp
8084 * gdb.dwarf2/dw2-reg-undefined.exp
8085 * gdb.dwarf2/dw2-regno-invalid.exp
8086 * gdb.dwarf2/dw2-restore.exp
8087 * gdb.dwarf2/dw2-restrict.exp
8088 * gdb.dwarf2/dw2-single-line-discriminators.exp
8089 * gdb.dwarf2/dw2-strp.exp
8090 * gdb.dwarf2/dw2-undefined-ret-addr.exp
8091 * gdb.dwarf2/dw2-unresolved.exp
8092 * gdb.dwarf2/dw2-var-zero-addr.exp
8093 * gdb.dwarf2/dw4-sig-types.exp
8094 * gdb.dwarf2/dwz.exp
8095 * gdb.dwarf2/dynarr-ptr.exp
8096 * gdb.dwarf2/enum-type.exp
8097 * gdb.dwarf2/gdb-index.exp
8098 * gdb.dwarf2/implptr-64bit.exp
8099 * gdb.dwarf2/implptr-optimized-out.exp
8100 * gdb.dwarf2/implptr.exp
8101 * gdb.dwarf2/implref-array.exp
8102 * gdb.dwarf2/implref-const.exp
8103 * gdb.dwarf2/implref-global.exp
8104 * gdb.dwarf2/implref-struct.exp
8105 * gdb.dwarf2/mac-fileno.exp
8106 * gdb.dwarf2/main-subprogram.exp
8107 * gdb.dwarf2/member-ptr-forwardref.exp
8108 * gdb.dwarf2/method-ptr.exp
8109 * gdb.dwarf2/missing-sig-type.exp
8110 * gdb.dwarf2/nonvar-access.exp
8111 * gdb.dwarf2/opaque-type-lookup.exp
8112 * gdb.dwarf2/pieces-optimized-out.exp
8113 * gdb.dwarf2/pieces.exp
8114 * gdb.dwarf2/pr10770.exp
8115 * gdb.dwarf2/pr13961.exp
8116 * gdb.dwarf2/staticvirtual.exp
8117 * gdb.dwarf2/subrange.exp
8118 * gdb.dwarf2/symtab-producer.exp
8119 * gdb.dwarf2/trace-crash.exp
8120 * gdb.dwarf2/typeddwarf.exp
8121 * gdb.dwarf2/valop.exp
8122 * gdb.dwarf2/watch-notconst.exp
8123 * gdb.fortran/array-element.exp
8124 * gdb.fortran/charset.exp
8125 * gdb.fortran/common-block.exp
8126 * gdb.fortran/complex.exp
8127 * gdb.fortran/derived-type-function.exp
8128 * gdb.fortran/derived-type.exp
8129 * gdb.fortran/logical.exp
8130 * gdb.fortran/module.exp
8131 * gdb.fortran/multi-dim.exp
8132 * gdb.fortran/nested-funcs.exp
8133 * gdb.fortran/print-formatted.exp
8134 * gdb.fortran/subarray.exp
8135 * gdb.fortran/vla-alloc-assoc.exp
8136 * gdb.fortran/vla-datatypes.exp
8137 * gdb.fortran/vla-history.exp
8138 * gdb.fortran/vla-ptr-info.exp
8139 * gdb.fortran/vla-ptype-sub.exp
8140 * gdb.fortran/vla-ptype.exp
8141 * gdb.fortran/vla-sizeof.exp
8142 * gdb.fortran/vla-type.exp
8143 * gdb.fortran/vla-value-sub-arbitrary.exp
8144 * gdb.fortran/vla-value-sub-finish.exp
8145 * gdb.fortran/vla-value-sub.exp
8146 * gdb.fortran/vla-value.exp
8147 * gdb.fortran/whatis_type.exp
8148 * gdb.go/chan.exp
8149 * gdb.go/handcall.exp
8150 * gdb.go/hello.exp
8151 * gdb.go/integers.exp
8152 * gdb.go/methods.exp
8153 * gdb.go/package.exp
8154 * gdb.go/strings.exp
8155 * gdb.go/types.exp
8156 * gdb.go/unsafe.exp
8157 * gdb.guile/scm-arch.exp
8158 * gdb.guile/scm-block.exp
8159 * gdb.guile/scm-breakpoint.exp
8160 * gdb.guile/scm-cmd.exp
8161 * gdb.guile/scm-disasm.exp
8162 * gdb.guile/scm-equal.exp
8163 * gdb.guile/scm-frame-args.exp
8164 * gdb.guile/scm-frame-inline.exp
8165 * gdb.guile/scm-frame.exp
8166 * gdb.guile/scm-iterator.exp
8167 * gdb.guile/scm-math.exp
8168 * gdb.guile/scm-objfile.exp
8169 * gdb.guile/scm-ports.exp
8170 * gdb.guile/scm-symbol.exp
8171 * gdb.guile/scm-symtab.exp
8172 * gdb.guile/scm-value-cc.exp
8173 * gdb.guile/types-module.exp
8174 * gdb.linespec/break-ask.exp
8175 * gdb.linespec/cpexplicit.exp
8176 * gdb.linespec/explicit.exp
8177 * gdb.linespec/keywords.exp
8178 * gdb.linespec/linespec.exp
8179 * gdb.linespec/ls-dollar.exp
8180 * gdb.linespec/ls-errs.exp
8181 * gdb.linespec/skip-two.exp
8182 * gdb.linespec/thread.exp
8183 * gdb.mi/mi-async.exp
8184 * gdb.mi/mi-basics.exp
8185 * gdb.mi/mi-break.exp
8186 * gdb.mi/mi-catch-load.exp
8187 * gdb.mi/mi-cli.exp
8188 * gdb.mi/mi-cmd-param-changed.exp
8189 * gdb.mi/mi-console.exp
8190 * gdb.mi/mi-detach.exp
8191 * gdb.mi/mi-disassemble.exp
8192 * gdb.mi/mi-eval.exp
8193 * gdb.mi/mi-file-transfer.exp
8194 * gdb.mi/mi-file.exp
8195 * gdb.mi/mi-fill-memory.exp
8196 * gdb.mi/mi-inheritance-syntax-error.exp
8197 * gdb.mi/mi-linespec-err-cp.exp
8198 * gdb.mi/mi-logging.exp
8199 * gdb.mi/mi-memory-changed.exp
8200 * gdb.mi/mi-read-memory.exp
8201 * gdb.mi/mi-record-changed.exp
8202 * gdb.mi/mi-reg-undefined.exp
8203 * gdb.mi/mi-regs.exp
8204 * gdb.mi/mi-return.exp
8205 * gdb.mi/mi-reverse.exp
8206 * gdb.mi/mi-simplerun.exp
8207 * gdb.mi/mi-solib.exp
8208 * gdb.mi/mi-stack.exp
8209 * gdb.mi/mi-stepi.exp
8210 * gdb.mi/mi-syn-frame.exp
8211 * gdb.mi/mi-until.exp
8212 * gdb.mi/mi-var-block.exp
8213 * gdb.mi/mi-var-child.exp
8214 * gdb.mi/mi-var-cmd.exp
8215 * gdb.mi/mi-var-cp.exp
8216 * gdb.mi/mi-var-display.exp
8217 * gdb.mi/mi-var-invalidate.exp
8218 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
8219 * gdb.mi/mi-vla-fortran.exp
8220 * gdb.mi/mi-watch.exp
8221 * gdb.mi/mi2-var-child.exp
8222 * gdb.mi/user-selected-context-sync.exp
8223 * gdb.modula2/unbounded-array.exp
8224 * gdb.multi/dummy-frame-restore.exp
8225 * gdb.multi/multi-arch-exec.exp
8226 * gdb.multi/multi-arch.exp
8227 * gdb.multi/tids.exp
8228 * gdb.multi/watchpoint-multi.exp
8229 * gdb.opencl/callfuncs.exp
8230 * gdb.opencl/convs_casts.exp
8231 * gdb.opencl/datatypes.exp
8232 * gdb.opencl/operators.exp
8233 * gdb.opencl/vec_comps.exp
8234 * gdb.opt/clobbered-registers-O2.exp
8235 * gdb.opt/inline-break.exp
8236 * gdb.opt/inline-bt.exp
8237 * gdb.opt/inline-cmds.exp
8238 * gdb.opt/inline-locals.exp
8239 * gdb.pascal/case-insensitive-symbols.exp
8240 * gdb.pascal/floats.exp
8241 * gdb.pascal/gdb11492.exp
8242 * gdb.python/lib-types.exp
8243 * gdb.python/py-arch.exp
8244 * gdb.python/py-as-string.exp
8245 * gdb.python/py-bad-printers.exp
8246 * gdb.python/py-block.exp
8247 * gdb.python/py-breakpoint-create-fail.exp
8248 * gdb.python/py-breakpoint.exp
8249 * gdb.python/py-caller-is.exp
8250 * gdb.python/py-cmd.exp
8251 * gdb.python/py-explore-cc.exp
8252 * gdb.python/py-explore.exp
8253 * gdb.python/py-finish-breakpoint.exp
8254 * gdb.python/py-finish-breakpoint2.exp
8255 * gdb.python/py-frame-args.exp
8256 * gdb.python/py-frame-inline.exp
8257 * gdb.python/py-frame.exp
8258 * gdb.python/py-framefilter-mi.exp
8259 * gdb.python/py-infthread.exp
8260 * gdb.python/py-lazy-string.exp
8261 * gdb.python/py-linetable.exp
8262 * gdb.python/py-mi-events.exp
8263 * gdb.python/py-mi-objfile.exp
8264 * gdb.python/py-mi.exp
8265 * gdb.python/py-objfile.exp
8266 * gdb.python/py-pp-integral.exp
8267 * gdb.python/py-pp-maint.exp
8268 * gdb.python/py-pp-re-notag.exp
8269 * gdb.python/py-pp-registration.exp
8270 * gdb.python/py-recurse-unwind.exp
8271 * gdb.python/py-strfns.exp
8272 * gdb.python/py-symbol.exp
8273 * gdb.python/py-symtab.exp
8274 * gdb.python/py-sync-interp.exp
8275 * gdb.python/py-typeprint.exp
8276 * gdb.python/py-unwind-maint.exp
8277 * gdb.python/py-unwind.exp
8278 * gdb.python/py-value-cc.exp
8279 * gdb.python/py-xmethods.exp
8280 * gdb.reverse/amd64-tailcall-reverse.exp
8281 * gdb.reverse/break-precsave.exp
8282 * gdb.reverse/break-reverse.exp
8283 * gdb.reverse/consecutive-precsave.exp
8284 * gdb.reverse/consecutive-reverse.exp
8285 * gdb.reverse/finish-precsave.exp
8286 * gdb.reverse/finish-reverse-bkpt.exp
8287 * gdb.reverse/finish-reverse.exp
8288 * gdb.reverse/fstatat-reverse.exp
8289 * gdb.reverse/getresuid-reverse.exp
8290 * gdb.reverse/i386-precsave.exp
8291 * gdb.reverse/i386-reverse.exp
8292 * gdb.reverse/i386-sse-reverse.exp
8293 * gdb.reverse/i387-env-reverse.exp
8294 * gdb.reverse/i387-stack-reverse.exp
8295 * gdb.reverse/insn-reverse.exp
8296 * gdb.reverse/machinestate-precsave.exp
8297 * gdb.reverse/machinestate.exp
8298 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8299 * gdb.reverse/pipe-reverse.exp
8300 * gdb.reverse/readv-reverse.exp
8301 * gdb.reverse/recvmsg-reverse.exp
8302 * gdb.reverse/rerun-prec.exp
8303 * gdb.reverse/s390-mvcle.exp
8304 * gdb.reverse/step-precsave.exp
8305 * gdb.reverse/step-reverse.exp
8306 * gdb.reverse/time-reverse.exp
8307 * gdb.reverse/until-precsave.exp
8308 * gdb.reverse/until-reverse.exp
8309 * gdb.reverse/waitpid-reverse.exp
8310 * gdb.reverse/watch-precsave.exp
8311 * gdb.reverse/watch-reverse.exp
8312 * gdb.rust/generics.exp
8313 * gdb.rust/methods.exp
8314 * gdb.rust/modules.exp
8315 * gdb.rust/simple.exp
8316 * gdb.server/connect-with-no-symbol-file.exp
8317 * gdb.server/ext-attach.exp
8318 * gdb.server/ext-restart.exp
8319 * gdb.server/ext-wrapper.exp
8320 * gdb.server/file-transfer.exp
8321 * gdb.server/server-exec-info.exp
8322 * gdb.server/server-kill.exp
8323 * gdb.server/server-mon.exp
8324 * gdb.server/wrapper.exp
8325 * gdb.stabs/exclfwd.exp
8326 * gdb.stabs/gdb11479.exp
8327 * gdb.threads/clone-new-thread-event.exp
8328 * gdb.threads/corethreads.exp
8329 * gdb.threads/current-lwp-dead.exp
8330 * gdb.threads/dlopen-libpthread.exp
8331 * gdb.threads/gcore-thread.exp
8332 * gdb.threads/sigstep-threads.exp
8333 * gdb.threads/watchpoint-fork.exp
8334 * gdb.trace/actions-changed.exp
8335 * gdb.trace/backtrace.exp
8336 * gdb.trace/change-loc.exp
8337 * gdb.trace/circ.exp
8338 * gdb.trace/collection.exp
8339 * gdb.trace/disconnected-tracing.exp
8340 * gdb.trace/ftrace.exp
8341 * gdb.trace/mi-trace-frame-collected.exp
8342 * gdb.trace/mi-trace-unavailable.exp
8343 * gdb.trace/mi-traceframe-changed.exp
8344 * gdb.trace/mi-tsv-changed.exp
8345 * gdb.trace/no-attach-trace.exp
8346 * gdb.trace/passc-dyn.exp
8347 * gdb.trace/qtro.exp
8348 * gdb.trace/range-stepping.exp
8349 * gdb.trace/read-memory.exp
8350 * gdb.trace/save-trace.exp
8351 * gdb.trace/signal.exp
8352 * gdb.trace/status-stop.exp
8353 * gdb.trace/tfile.exp
8354 * gdb.trace/trace-break.exp
8355 * gdb.trace/trace-buffer-size.exp
8356 * gdb.trace/trace-condition.exp
8357 * gdb.trace/tracefile-pseudo-reg.exp
8358 * gdb.trace/tstatus.exp
8359 * gdb.trace/unavailable.exp
8360 * gdb.trace/while-dyn.exp
8361 * gdb.trace/while-stepping.exp
8362
83632016-12-22 Doug Evans <xdje42@gmail.com>
8364
8365 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
8366 and msymbols.
8367
83682016-12-19 Yao Qi <yao.qi@linaro.org>
8369
8370 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
8371 (test_with_self): Don't call do_steps_and_nexts, and remove
8372 code about stepping into xmalloc.
8373
83742016-12-09 Yao Qi <yao.qi@linaro.org>
8375
8376 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
8377
83782016-12-09 Yao Qi <yao.qi@linaro.org>
8379
8380 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
8381
83822016-12-09 Pedro Alves <palves@redhat.com>
8383
8384 * gdb.base/all-architectures-0.exp: New file.
8385 * gdb.base/all-architectures-1.exp: New file.
8386 * gdb.base/all-architectures-2.exp: New file.
8387 * gdb.base/all-architectures-3.exp: New file.
8388 * gdb.base/all-architectures-4.exp: New file.
8389 * gdb.base/all-architectures-5.exp: New file.
8390 * gdb.base/all-architectures-6.exp: New file.
8391 * gdb.base/all-architectures-7.exp: New file.
8392 * gdb.base/all-architectures.exp.in: New file.
8393
83942016-12-09 Yao Qi <yao.qi@linaro.org>
8395
8396 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
8397
83982016-12-02 Luis Machado <lgustavo@codesourcery.com>
8399
8400 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
8401 possible.
8402 Remove useless pattern-matching code.
8403
84042016-12-02 Pedro Alves <palves@redhat.com>
8405
8406 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
8407 procedure.
8408 (top level): Call it.
8409
84102016-12-02 Pedro Alves <palves@redhat.com>
8411
8412 * gdb.base/commands.exp (user_defined_command_args_stack_test):
8413 New procedure.
8414 (top level): Call it.
8415
84162016-12-02 Pedro Alves <palves@redhat.com>
8417
8418 PR cli/20559
8419 * gdb.base/commands.exp (user_defined_command_args_eval): New
8420 procedure.
8421 (top level): Call it.
8422
84232016-12-02 Luis Machado <lgustavo@codesourcery.com>
8424
8425 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
8426 timeout handling.
8427
84282016-12-02 Tom Tromey <tom@tromey.com>
8429
8430 * gdb.dwarf2/main-subprogram.c: New file.
8431 * gdb.dwarf2/main-subprogram.exp: New file.
8432
84332016-12-01 Luis Machado <lgustavo@codesourcery.com>
8434
8435 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
8436 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
8437 gdb_test_no_output for a couple of cases.
8438 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
8439
84402016-12-01 Luis Machado <lgustavo@codesourcery.com>
8441
8442 Fix test names and standardize compilation error messages throughout
8443 the following files:
8444
8445 * gdb.ada/start.exp
8446 * gdb.arch/alpha-step.exp
8447 * gdb.arch/e500-prologue.exp
8448 * gdb.arch/ftrace-insn-reloc.exp
8449 * gdb.arch/gdb1291.exp
8450 * gdb.arch/gdb1431.exp
8451 * gdb.arch/gdb1558.exp
8452 * gdb.arch/i386-dr3-watch.exp
8453 * gdb.arch/i386-sse-stack-align.exp
8454 * gdb.arch/ia64-breakpoint-shadow.exp
8455 * gdb.arch/pa-nullify.exp
8456 * gdb.arch/powerpc-aix-prologue.exp
8457 * gdb.arch/thumb-bx-pc.exp
8458 * gdb.base/annota1.exp
8459 * gdb.base/annota3.exp
8460 * gdb.base/arrayidx.exp
8461 * gdb.base/assign.exp
8462 * gdb.base/attach.exp
8463 * gdb.base/auxv.exp
8464 * gdb.base/bang.exp
8465 * gdb.base/bfp-test.exp
8466 * gdb.base/bigcore.exp
8467 * gdb.base/bitfields2.exp
8468 * gdb.base/break-fun-addr.exp
8469 * gdb.base/break-probes.exp
8470 * gdb.base/call-rt-st.exp
8471 * gdb.base/callexit.exp
8472 * gdb.base/catch-fork-kill.exp
8473 * gdb.base/charset.exp
8474 * gdb.base/checkpoint.exp
8475 * gdb.base/comprdebug.exp
8476 * gdb.base/constvars.exp
8477 * gdb.base/coredump-filter.exp
8478 * gdb.base/cursal.exp
8479 * gdb.base/cvexpr.exp
8480 * gdb.base/detach.exp
8481 * gdb.base/display.exp
8482 * gdb.base/dmsym.exp
8483 * gdb.base/dprintf-pending.exp
8484 * gdb.base/dso2dso.exp
8485 * gdb.base/dtrace-probe.exp
8486 * gdb.base/dump.exp
8487 * gdb.base/enum_cond.exp
8488 * gdb.base/exe-lock.exp
8489 * gdb.base/exec-invalid-sysroot.exp
8490 * gdb.base/execl-update-breakpoints.exp
8491 * gdb.base/exprs.exp
8492 * gdb.base/fileio.exp
8493 * gdb.base/find.exp
8494 * gdb.base/finish.exp
8495 * gdb.base/fixsection.exp
8496 * gdb.base/foll-vfork.exp
8497 * gdb.base/frame-args.exp
8498 * gdb.base/gcore.exp
8499 * gdb.base/gdb1250.exp
8500 * gdb.base/global-var-nested-by-dso.exp
8501 * gdb.base/gnu-ifunc.exp
8502 * gdb.base/hashline1.exp
8503 * gdb.base/hashline2.exp
8504 * gdb.base/hashline3.exp
8505 * gdb.base/hbreak-in-shr-unsupported.exp
8506 * gdb.base/huge.exp
8507 * gdb.base/infcall-input.exp
8508 * gdb.base/info-fun.exp
8509 * gdb.base/info-shared.exp
8510 * gdb.base/jit-simple.exp
8511 * gdb.base/jit-so.exp
8512 * gdb.base/jit.exp
8513 * gdb.base/jump.exp
8514 * gdb.base/label.exp
8515 * gdb.base/lineinc.exp
8516 * gdb.base/logical.exp
8517 * gdb.base/longjmp.exp
8518 * gdb.base/macscp.exp
8519 * gdb.base/miscexprs.exp
8520 * gdb.base/new-ui-echo.exp
8521 * gdb.base/new-ui-pending-input.exp
8522 * gdb.base/new-ui.exp
8523 * gdb.base/nodebug.exp
8524 * gdb.base/nofield.exp
8525 * gdb.base/offsets.exp
8526 * gdb.base/overlays.exp
8527 * gdb.base/pending.exp
8528 * gdb.base/pointers.exp
8529 * gdb.base/pr11022.exp
8530 * gdb.base/printcmds.exp
8531 * gdb.base/prologue.exp
8532 * gdb.base/ptr-typedef.exp
8533 * gdb.base/realname-expand.exp
8534 * gdb.base/relativedebug.exp
8535 * gdb.base/relocate.exp
8536 * gdb.base/remote.exp
8537 * gdb.base/reread.exp
8538 * gdb.base/return2.exp
8539 * gdb.base/savedregs.exp
8540 * gdb.base/sep.exp
8541 * gdb.base/sepdebug.exp
8542 * gdb.base/sepsymtab.exp
8543 * gdb.base/set-inferior-tty.exp
8544 * gdb.base/setshow.exp
8545 * gdb.base/shlib-call.exp
8546 * gdb.base/sigaltstack.exp
8547 * gdb.base/siginfo-addr.exp
8548 * gdb.base/signals.exp
8549 * gdb.base/signull.exp
8550 * gdb.base/sigrepeat.exp
8551 * gdb.base/so-impl-ld.exp
8552 * gdb.base/solib-display.exp
8553 * gdb.base/solib-overlap.exp
8554 * gdb.base/solib-search.exp
8555 * gdb.base/solib-symbol.exp
8556 * gdb.base/structs.exp
8557 * gdb.base/structs2.exp
8558 * gdb.base/symtab-search-order.exp
8559 * gdb.base/twice.exp
8560 * gdb.base/unload.exp
8561 * gdb.base/varargs.exp
8562 * gdb.base/watchpoint-solib.exp
8563 * gdb.base/watchpoint.exp
8564 * gdb.base/whatis.exp
8565 * gdb.base/wrong_frame_bt_full.exp
8566 * gdb.btrace/dlopen.exp
8567 * gdb.cell/ea-standalone.exp
8568 * gdb.cell/ea-test.exp
8569 * gdb.cp/dispcxx.exp
8570 * gdb.cp/gdb2384.exp
8571 * gdb.cp/method2.exp
8572 * gdb.cp/nextoverthrow.exp
8573 * gdb.cp/pr10728.exp
8574 * gdb.disasm/am33.exp
8575 * gdb.disasm/h8300s.exp
8576 * gdb.disasm/mn10300.exp
8577 * gdb.disasm/sh3.exp
8578 * gdb.dwarf2/dw2-dir-file-name.exp
8579 * gdb.fortran/complex.exp
8580 * gdb.fortran/library-module.exp
8581 * gdb.guile/scm-pretty-print.exp
8582 * gdb.guile/scm-symbol.exp
8583 * gdb.guile/scm-type.exp
8584 * gdb.guile/scm-value.exp
8585 * gdb.linespec/linespec.exp
8586 * gdb.mi/gdb701.exp
8587 * gdb.mi/gdb792.exp
8588 * gdb.mi/mi-breakpoint-changed.exp
8589 * gdb.mi/mi-dprintf-pending.exp
8590 * gdb.mi/mi-dprintf.exp
8591 * gdb.mi/mi-exit-code.exp
8592 * gdb.mi/mi-pending.exp
8593 * gdb.mi/mi-solib.exp
8594 * gdb.mi/new-ui-mi-sync.exp
8595 * gdb.mi/pr11022.exp
8596 * gdb.mi/user-selected-context-sync.exp
8597 * gdb.opt/solib-intra-step.exp
8598 * gdb.python/py-events.exp
8599 * gdb.python/py-finish-breakpoint.exp
8600 * gdb.python/py-mi.exp
8601 * gdb.python/py-prettyprint.exp
8602 * gdb.python/py-shared.exp
8603 * gdb.python/py-symbol.exp
8604 * gdb.python/py-template.exp
8605 * gdb.python/py-type.exp
8606 * gdb.python/py-value.exp
8607 * gdb.reverse/solib-precsave.exp
8608 * gdb.reverse/solib-reverse.exp
8609 * gdb.server/solib-list.exp
8610 * gdb.stabs/weird.exp
8611 * gdb.threads/reconnect-signal.exp
8612 * gdb.threads/stepi-random-signal.exp
8613 * gdb.trace/actions.exp
8614 * gdb.trace/ax.exp
8615 * gdb.trace/backtrace.exp
8616 * gdb.trace/change-loc.exp
8617 * gdb.trace/deltrace.exp
8618 * gdb.trace/ftrace-lock.exp
8619 * gdb.trace/ftrace.exp
8620 * gdb.trace/infotrace.exp
8621 * gdb.trace/mi-tracepoint-changed.exp
8622 * gdb.trace/packetlen.exp
8623 * gdb.trace/passcount.exp
8624 * gdb.trace/pending.exp
8625 * gdb.trace/range-stepping.exp
8626 * gdb.trace/report.exp
8627 * gdb.trace/stap-trace.exp
8628 * gdb.trace/tfind.exp
8629 * gdb.trace/trace-break.exp
8630 * gdb.trace/trace-condition.exp
8631 * gdb.trace/trace-enable-disable.exp
8632 * gdb.trace/trace-mt.exp
8633 * gdb.trace/tracecmd.exp
8634 * gdb.trace/tspeed.exp
8635 * gdb.trace/tsv.exp
8636 * lib/perftest.exp
8637
86382016-12-01 Luis Machado <lgustavo@codesourcery.com>
8639
8640 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
8641 with gdb_test_no_output.
8642 Use command as test name.
8643
86442016-12-01 Luis Machado <lgustavo@codesourcery.com>
8645
8646 Fix test names starting with uppercase throughout the files.
8647
8648 * gdb.ada/assign_1.exp
8649 * gdb.ada/boolean_expr.exp
8650 * gdb.base/arrayidx.exp
8651 * gdb.base/del.exp
8652 * gdb.base/gcore-buffer-overflow.exp
8653 * gdb.base/testenv.exp
8654 * gdb.compile/compile.exp
8655 * gdb.python/py-framefilter-invalidarg.exp
8656 * gdb.python/py-framefilter.exp
8657
86582016-12-01 Luis Machado <lgustavo@codesourcery.com>
8659
8660 Fix test names starting with uppercase throughout the files.
8661
8662 * gdb.ada/array_return.exp
8663 * gdb.ada/expr_delims.exp
8664 * gdb.ada/mi_dyn_arr.exp
8665 * gdb.ada/mi_interface.exp
8666 * gdb.ada/mi_var_array.exp
8667 * gdb.ada/watch_arg.exp
8668 * gdb.arch/alpha-step.exp
8669 * gdb.arch/altivec-regs.exp
8670 * gdb.arch/e500-regs.exp
8671 * gdb.arch/powerpc-d128-regs.exp
8672 * gdb.base/arrayidx.exp
8673 * gdb.base/break.exp
8674 * gdb.base/checkpoint.exp
8675 * gdb.base/debug-expr.exp
8676 * gdb.base/dmsym.exp
8677 * gdb.base/radix.exp
8678 * gdb.base/sepdebug.exp
8679 * gdb.base/testenv.exp
8680 * gdb.base/watch_thread_num.exp
8681 * gdb.base/watchpoint-cond-gone.exp
8682 * gdb.cell/break.exp
8683 * gdb.cell/ea-cache.exp
8684 * gdb.compile/compile.exp
8685 * gdb.cp/gdb2495.exp
8686 * gdb.gdb/selftest.exp
8687 * gdb.gdb/xfullpath.exp
8688 * gdb.go/hello.exp
8689 * gdb.go/integers.exp
8690 * gdb.objc/basicclass.exp
8691 * gdb.pascal/hello.exp
8692 * gdb.pascal/integers.exp
8693 * gdb.python/py-breakpoint.exp
8694 * gdb.python/py-cmd.exp
8695 * gdb.python/py-linetable.exp
8696 * gdb.python/py-xmethods.exp
8697 * gdb.python/python.exp
8698 * gdb.reverse/consecutive-precsave.exp
8699 * gdb.reverse/finish-precsave.exp
8700 * gdb.reverse/i386-precsave.exp
8701 * gdb.reverse/machinestate-precsave.exp
8702 * gdb.reverse/sigall-precsave.exp
8703 * gdb.reverse/solib-precsave.exp
8704 * gdb.reverse/step-precsave.exp
8705 * gdb.reverse/until-precsave.exp
8706 * gdb.reverse/watch-precsave.exp
8707 * gdb.threads/leader-exit.exp
8708 * gdb.threads/pthreads.exp
8709 * gdb.threads/wp-replication.exp
8710 * gdb.trace/actions.exp
8711 * gdb.trace/mi-tsv-changed.exp
8712 * gdb.trace/tsv.exp
8713
87142016-12-01 Luis Machado <lgustavo@codesourcery.com>
8715
8716 Fix test names starting with uppercase throughout the files.
8717
8718 * gdb.arch/i386-bp_permanent.exp
8719 * gdb.arch/i386-gnu-cfi.exp
8720 * gdb.base/disasm-end-cu.exp
8721 * gdb.base/macscp.exp
8722 * gdb.base/pending.exp
8723 * gdb.base/watch_thread_num.exp
8724 * gdb.cp/exception.exp
8725 * gdb.cp/gdb2495.exp
8726 * gdb.cp/local.exp
8727 * gdb.python/py-evsignal.exp
8728 * gdb.python/python.exp
8729 * gdb.trace/tracecmd.exp
8730
87312016-12-01 Luis Machado <lgustavo@codesourcery.com>
8732
8733 Fix test names starting with uppercase throughout the files.
8734
8735 * gdb.base/charset.exp
8736 * gdb.base/eval.exp
8737 * gdb.base/multi-forks.exp
8738 * gdb.guile/scm-progspace.exp
8739 * gdb.opencl/datatypes.exp
8740 * gdb.python/py-block.exp
8741 * gdb.python/py-function.exp
8742 * gdb.python/py-symbol.exp
8743 * gdb.python/py-symtab.exp
8744 * gdb.python/py-xmethods.exp
8745 * gdb.reverse/break-precsave.exp
8746 * gdb.reverse/break-reverse.exp
8747 * gdb.reverse/consecutive-precsave.exp
8748 * gdb.reverse/consecutive-reverse.exp
8749 * gdb.reverse/finish-precsave.exp
8750 * gdb.reverse/finish-reverse-bkpt.exp
8751 * gdb.reverse/finish-reverse.exp
8752 * gdb.reverse/fstatat-reverse.exp
8753 * gdb.reverse/getresuid-reverse.exp
8754 * gdb.reverse/i386-precsave.exp
8755 * gdb.reverse/i386-reverse.exp
8756 * gdb.reverse/i386-sse-reverse.exp
8757 * gdb.reverse/i387-stack-reverse.exp
8758 * gdb.reverse/insn-reverse.exp
8759 * gdb.reverse/machinestate-precsave.exp
8760 * gdb.reverse/machinestate.exp
8761 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8762 * gdb.reverse/pipe-reverse.exp
8763 * gdb.reverse/readv-reverse.exp
8764 * gdb.reverse/recvmsg-reverse.exp
8765 * gdb.reverse/rerun-prec.exp
8766 * gdb.reverse/s390-mvcle.exp
8767 * gdb.reverse/sigall-precsave.exp
8768 * gdb.reverse/sigall-reverse.exp
8769 * gdb.reverse/solib-precsave.exp
8770 * gdb.reverse/solib-reverse.exp
8771 * gdb.reverse/step-precsave.exp
8772 * gdb.reverse/step-reverse.exp
8773 * gdb.reverse/time-reverse.exp
8774 * gdb.reverse/until-precsave.exp
8775 * gdb.reverse/until-reverse.exp
8776 * gdb.reverse/waitpid-reverse.exp
8777 * gdb.reverse/watch-precsave.exp
8778 * gdb.reverse/watch-reverse.exp
8779
87802016-12-01 Luis Machado <lgustavo@codesourcery.com>
8781
8782 Fix test names starting with uppercase throughout the files.
8783
8784 * gdb.arch/i386-mpx-simple_segv.exp
8785 * gdb.arch/i386-mpx.exp
8786 * gdb.arch/i386-permbkpt.exp
8787 * gdb.arch/pa-nullify.exp
8788 * gdb.arch/powerpc-d128-regs.exp
8789 * gdb.arch/vsx-regs.exp
8790 * gdb.base/bfp-test.exp
8791 * gdb.base/break.exp
8792 * gdb.base/breakpoint-shadow.exp
8793 * gdb.base/callfuncs.exp
8794 * gdb.base/charset.exp
8795 * gdb.base/commands.exp
8796 * gdb.base/completion.exp
8797 * gdb.base/dfp-test.exp
8798 * gdb.base/echo.exp
8799 * gdb.base/ending-run.exp
8800 * gdb.base/eval.exp
8801 * gdb.base/expand-psymtabs.exp
8802 * gdb.base/float128.exp
8803 * gdb.base/floatn.exp
8804 * gdb.base/foll-exec-mode.exp
8805 * gdb.base/gdb1056.exp
8806 * gdb.base/gdb11531.exp
8807 * gdb.base/kill-after-signal.exp
8808 * gdb.base/multi-forks.exp
8809 * gdb.base/overlays.exp
8810 * gdb.base/pending.exp
8811 * gdb.base/sepdebug.exp
8812 * gdb.base/testenv.exp
8813 * gdb.base/valgrind-db-attach.exp
8814 * gdb.base/watch_thread_num.exp
8815 * gdb.base/watchpoint-cond-gone.exp
8816 * gdb.base/watchpoint.exp
8817 * gdb.base/watchpoints.exp
8818 * gdb.cp/arg-reference.exp
8819 * gdb.cp/baseenum.exp
8820 * gdb.cp/operator.exp
8821 * gdb.cp/shadow.exp
8822 * gdb.dwarf2/dw2-op-out-param.exp
8823 * gdb.dwarf2/dw2-reg-undefined.exp
8824 * gdb.go/chan.exp
8825 * gdb.go/hello.exp
8826 * gdb.go/integers.exp
8827 * gdb.go/methods.exp
8828 * gdb.go/package.exp
8829 * gdb.guile/scm-parameter.exp
8830 * gdb.guile/scm-progspace.exp
8831 * gdb.guile/scm-value.exp
8832 * gdb.mi/mi-pending.exp
8833 * gdb.mi/user-selected-context-sync.exp
8834 * gdb.multi/multi-attach.exp
8835 * gdb.multi/tids.exp
8836 * gdb.opt/clobbered-registers-O2.exp
8837 * gdb.pascal/floats.exp
8838 * gdb.pascal/integers.exp
8839 * gdb.python/py-block.exp
8840 * gdb.python/py-events.exp
8841 * gdb.python/py-parameter.exp
8842 * gdb.python/py-symbol.exp
8843 * gdb.python/py-symtab.exp
8844 * gdb.python/py-type.exp
8845 * gdb.python/py-value.exp
8846 * gdb.python/py-xmethods.exp
8847 * gdb.python/python.exp
8848 * gdb.reverse/break-precsave.exp
8849 * gdb.reverse/consecutive-precsave.exp
8850 * gdb.reverse/finish-precsave.exp
8851 * gdb.reverse/i386-precsave.exp
8852 * gdb.reverse/machinestate-precsave.exp
8853 * gdb.reverse/sigall-precsave.exp
8854 * gdb.reverse/solib-precsave.exp
8855 * gdb.reverse/step-precsave.exp
8856 * gdb.reverse/until-precsave.exp
8857 * gdb.reverse/watch-precsave.exp
8858 * gdb.server/ext-attach.exp
8859 * gdb.server/ext-restart.exp
8860 * gdb.server/ext-run.exp
8861 * gdb.server/ext-wrapper.exp
8862 * gdb.stabs/gdb11479.exp
8863 * gdb.stabs/weird.exp
8864 * gdb.threads/attach-many-short-lived-threads.exp
8865 * gdb.threads/kill.exp
8866 * gdb.threads/watchpoint-fork.exp
8867
88682016-12-01 Luis Machado <lgustavo@codesourcery.com>
8869
8870 Fix test names starting with uppercase throughout all the files below.
8871
8872 * gdb.ada/array_return.exp
8873 * gdb.ada/catch_ex.exp
8874 * gdb.ada/info_exc.exp
8875 * gdb.ada/mi_catch_ex.exp
8876 * gdb.ada/mi_dyn_arr.exp
8877 * gdb.ada/mi_ex_cond.exp
8878 * gdb.ada/mi_exc_info.exp
8879 * gdb.ada/mi_interface.exp
8880 * gdb.ada/mi_task_arg.exp
8881 * gdb.ada/mi_task_info.exp
8882 * gdb.ada/mi_var_array.exp
8883 * gdb.arch/alpha-step.exp
8884 * gdb.arch/amd64-disp-step.exp
8885 * gdb.arch/arm-disp-step.exp
8886 * gdb.arch/disp-step-insn-reloc.exp
8887 * gdb.arch/e500-prologue.exp
8888 * gdb.arch/ftrace-insn-reloc.exp
8889 * gdb.arch/gdb1558.exp
8890 * gdb.arch/i386-bp_permanent.exp
8891 * gdb.arch/i386-disp-step.exp
8892 * gdb.arch/i386-float.exp
8893 * gdb.arch/i386-gnu-cfi.exp
8894 * gdb.arch/ia64-breakpoint-shadow.exp
8895 * gdb.arch/mips16-thunks.exp
8896 * gdb.arch/pa-nullify.exp
8897 * gdb.arch/powerpc-aix-prologue.exp
8898 * gdb.arch/powerpc-power.exp
8899 * gdb.arch/ppc-dfp.exp
8900 * gdb.arch/s390-tdbregs.exp
8901 * gdb.arch/spu-info.exp
8902 * gdb.arch/spu-ls.exp
8903 * gdb.arch/thumb-bx-pc.exp
8904 * gdb.base/advance.exp
8905 * gdb.base/annota-input-while-running.exp
8906 * gdb.base/arrayidx.exp
8907 * gdb.base/asmlabel.exp
8908 * gdb.base/async.exp
8909 * gdb.base/attach-wait-input.exp
8910 * gdb.base/auto-connect-native-target.exp
8911 * gdb.base/batch-preserve-term-settings.exp
8912 * gdb.base/bfp-test.exp
8913 * gdb.base/bigcore.exp
8914 * gdb.base/bp-permanent.exp
8915 * gdb.base/break-always.exp
8916 * gdb.base/break-fun-addr.exp
8917 * gdb.base/break-idempotent.exp
8918 * gdb.base/break-main-file-remove-fail.exp
8919 * gdb.base/break-probes.exp
8920 * gdb.base/break-unload-file.exp
8921 * gdb.base/break.exp
8922 * gdb.base/call-ar-st.exp
8923 * gdb.base/call-rt-st.exp
8924 * gdb.base/call-sc.exp
8925 * gdb.base/call-signal-resume.exp
8926 * gdb.base/call-strs.exp
8927 * gdb.base/callexit.exp
8928 * gdb.base/callfuncs.exp
8929 * gdb.base/catch-gdb-caused-signals.exp
8930 * gdb.base/catch-signal-siginfo-cond.exp
8931 * gdb.base/catch-syscall.exp
8932 * gdb.base/compare-sections.exp
8933 * gdb.base/cond-eval-mode.exp
8934 * gdb.base/condbreak-call-false.exp
8935 * gdb.base/consecutive-step-over.exp
8936 * gdb.base/cursal.exp
8937 * gdb.base/disabled-location.exp
8938 * gdb.base/disasm-end-cu.exp
8939 * gdb.base/display.exp
8940 * gdb.base/double-prompt-target-event-error.exp
8941 * gdb.base/dprintf-bp-same-addr.exp
8942 * gdb.base/dprintf-detach.exp
8943 * gdb.base/dprintf-next.exp
8944 * gdb.base/dprintf-non-stop.exp
8945 * gdb.base/dprintf-pending.exp
8946 * gdb.base/dso2dso.exp
8947 * gdb.base/ending-run.exp
8948 * gdb.base/enum_cond.exp
8949 * gdb.base/examine-backward.exp
8950 * gdb.base/exe-lock.exp
8951 * gdb.base/exec-invalid-sysroot.exp
8952 * gdb.base/execl-update-breakpoints.exp
8953 * gdb.base/execution-termios.exp
8954 * gdb.base/fileio.exp
8955 * gdb.base/fixsection.exp
8956 * gdb.base/foll-exec-mode.exp
8957 * gdb.base/foll-exec.exp
8958 * gdb.base/fork-running-state.exp
8959 * gdb.base/frame-args.exp
8960 * gdb.base/fullpath-expand.exp
8961 * gdb.base/func-ptr.exp
8962 * gdb.base/gcore-relro-pie.exp
8963 * gdb.base/gdb1090.exp
8964 * gdb.base/gdb1555.exp
8965 * gdb.base/global-var-nested-by-dso.exp
8966 * gdb.base/gnu-ifunc.exp
8967 * gdb.base/hbreak-in-shr-unsupported.exp
8968 * gdb.base/hbreak-unmapped.exp
8969 * gdb.base/hook-stop.exp
8970 * gdb.base/infcall-input.exp
8971 * gdb.base/info-fun.exp
8972 * gdb.base/info-shared.exp
8973 * gdb.base/interrupt-noterm.exp
8974 * gdb.base/jit-so.exp
8975 * gdb.base/jit.exp
8976 * gdb.base/line-symtabs.exp
8977 * gdb.base/list.exp
8978 * gdb.base/longjmp.exp
8979 * gdb.base/macscp.exp
8980 * gdb.base/max-value-size.exp
8981 * gdb.base/nodebug.exp
8982 * gdb.base/nofield.exp
8983 * gdb.base/overlays.exp
8984 * gdb.base/paginate-after-ctrl-c-running.exp
8985 * gdb.base/paginate-bg-execution.exp
8986 * gdb.base/paginate-inferior-exit.exp
8987 * gdb.base/pending.exp
8988 * gdb.base/pr11022.exp
8989 * gdb.base/printcmds.exp
8990 * gdb.base/ptr-typedef.exp
8991 * gdb.base/ptype.exp
8992 * gdb.base/randomize.exp
8993 * gdb.base/range-stepping.exp
8994 * gdb.base/realname-expand.exp
8995 * gdb.base/relativedebug.exp
8996 * gdb.base/remote.exp
8997 * gdb.base/savedregs.exp
8998 * gdb.base/sepdebug.exp
8999 * gdb.base/set-noassign.exp
9000 * gdb.base/shlib-call.exp
9001 * gdb.base/shreloc.exp
9002 * gdb.base/sigaltstack.exp
9003 * gdb.base/sigbpt.exp
9004 * gdb.base/siginfo-addr.exp
9005 * gdb.base/siginfo-obj.exp
9006 * gdb.base/siginfo-thread.exp
9007 * gdb.base/signest.exp
9008 * gdb.base/signull.exp
9009 * gdb.base/sigrepeat.exp
9010 * gdb.base/skip.exp
9011 * gdb.base/so-impl-ld.exp
9012 * gdb.base/solib-corrupted.exp
9013 * gdb.base/solib-disc.exp
9014 * gdb.base/solib-display.exp
9015 * gdb.base/solib-overlap.exp
9016 * gdb.base/solib-search.exp
9017 * gdb.base/solib-symbol.exp
9018 * gdb.base/source-execution.exp
9019 * gdb.base/sss-bp-on-user-bp-2.exp
9020 * gdb.base/sss-bp-on-user-bp.exp
9021 * gdb.base/stack-checking.exp
9022 * gdb.base/stale-infcall.exp
9023 * gdb.base/step-break.exp
9024 * gdb.base/step-line.exp
9025 * gdb.base/step-over-exit.exp
9026 * gdb.base/step-test.exp
9027 * gdb.base/structs.exp
9028 * gdb.base/sym-file.exp
9029 * gdb.base/symtab-search-order.exp
9030 * gdb.base/term.exp
9031 * gdb.base/type-opaque.exp
9032 * gdb.base/unload.exp
9033 * gdb.base/until-nodebug.exp
9034 * gdb.base/until.exp
9035 * gdb.base/unwindonsignal.exp
9036 * gdb.base/watch-cond.exp
9037 * gdb.base/watch-non-mem.exp
9038 * gdb.base/watch_thread_num.exp
9039 * gdb.base/watchpoint-reuse-slot.exp
9040 * gdb.base/watchpoint-solib.exp
9041 * gdb.base/watchpoint.exp
9042 * gdb.btrace/dlopen.exp
9043 * gdb.cell/arch.exp
9044 * gdb.cell/break.exp
9045 * gdb.cell/bt.exp
9046 * gdb.cell/core.exp
9047 * gdb.cell/data.exp
9048 * gdb.cell/dwarfaddr.exp
9049 * gdb.cell/ea-cache.exp
9050 * gdb.cell/ea-standalone.exp
9051 * gdb.cell/ea-test.exp
9052 * gdb.cell/f-regs.exp
9053 * gdb.cell/fork.exp
9054 * gdb.cell/gcore.exp
9055 * gdb.cell/mem-access.exp
9056 * gdb.cell/ptype.exp
9057 * gdb.cell/registers.exp
9058 * gdb.cell/sizeof.exp
9059 * gdb.cell/solib-symbol.exp
9060 * gdb.cell/solib.exp
9061 * gdb.compile/compile-tls.exp
9062 * gdb.cp/exception.exp
9063 * gdb.cp/gdb2495.exp
9064 * gdb.cp/local.exp
9065 * gdb.cp/mb-inline.exp
9066 * gdb.cp/mb-templates.exp
9067 * gdb.cp/pr10687.exp
9068 * gdb.cp/pr9167.exp
9069 * gdb.cp/scope-err.exp
9070 * gdb.cp/templates.exp
9071 * gdb.cp/virtfunc.exp
9072 * gdb.dwarf2/dw2-dir-file-name.exp
9073 * gdb.dwarf2/dw2-single-line-discriminators.exp
9074 * gdb.fortran/complex.exp
9075 * gdb.fortran/library-module.exp
9076 * gdb.guile/guile.exp
9077 * gdb.guile/scm-cmd.exp
9078 * gdb.guile/scm-frame-inline.exp
9079 * gdb.guile/scm-objfile.exp
9080 * gdb.guile/scm-pretty-print.exp
9081 * gdb.guile/scm-symbol.exp
9082 * gdb.guile/scm-type.exp
9083 * gdb.guile/scm-value.exp
9084 * gdb.linespec/keywords.exp
9085 * gdb.linespec/ls-errs.exp
9086 * gdb.linespec/macro-relative.exp
9087 * gdb.linespec/thread.exp
9088 * gdb.mi/mi-breakpoint-changed.exp
9089 * gdb.mi/mi-dprintf-pending.exp
9090 * gdb.mi/mi-fullname-deleted.exp
9091 * gdb.mi/mi-logging.exp
9092 * gdb.mi/mi-pending.exp
9093 * gdb.mi/mi-solib.exp
9094 * gdb.mi/new-ui-mi-sync.exp
9095 * gdb.mi/user-selected-context-sync.exp
9096 * gdb.multi/dummy-frame-restore.exp
9097 * gdb.multi/multi-arch-exec.exp
9098 * gdb.multi/remove-inferiors.exp
9099 * gdb.multi/watchpoint-multi-exit.exp
9100 * gdb.opt/solib-intra-step.exp
9101 * gdb.perf/backtrace.exp
9102 * gdb.perf/single-step.exp
9103 * gdb.perf/skip-command.exp
9104 * gdb.perf/skip-prologue.exp
9105 * gdb.perf/solib.exp
9106 * gdb.python/lib-types.exp
9107 * gdb.python/py-as-string.exp
9108 * gdb.python/py-bad-printers.exp
9109 * gdb.python/py-block.exp
9110 * gdb.python/py-breakpoint.exp
9111 * gdb.python/py-cmd.exp
9112 * gdb.python/py-events.exp
9113 * gdb.python/py-evthreads.exp
9114 * gdb.python/py-finish-breakpoint.exp
9115 * gdb.python/py-finish-breakpoint2.exp
9116 * gdb.python/py-frame-inline.exp
9117 * gdb.python/py-frame.exp
9118 * gdb.python/py-inferior.exp
9119 * gdb.python/py-infthread.exp
9120 * gdb.python/py-mi.exp
9121 * gdb.python/py-objfile.exp
9122 * gdb.python/py-pp-maint.exp
9123 * gdb.python/py-pp-registration.exp
9124 * gdb.python/py-prettyprint.exp
9125 * gdb.python/py-recurse-unwind.exp
9126 * gdb.python/py-shared.exp
9127 * gdb.python/py-symbol.exp
9128 * gdb.python/py-symtab.exp
9129 * gdb.python/py-template.exp
9130 * gdb.python/py-type.exp
9131 * gdb.python/py-unwind-maint.exp
9132 * gdb.python/py-unwind.exp
9133 * gdb.python/py-value.exp
9134 * gdb.python/python.exp
9135 * gdb.reverse/finish-reverse-bkpt.exp
9136 * gdb.reverse/insn-reverse.exp
9137 * gdb.reverse/next-reverse-bkpt-over-sr.exp
9138 * gdb.reverse/solib-precsave.exp
9139 * gdb.reverse/solib-reverse.exp
9140 * gdb.stabs/gdb11479.exp
9141 * gdb.stabs/weird.exp
9142 * gdb.threads/fork-child-threads.exp
9143 * gdb.threads/fork-plus-threads.exp
9144 * gdb.threads/fork-thread-pending.exp
9145 * gdb.threads/forking-threads-plus-breakpoint.exp
9146 * gdb.threads/hand-call-in-threads.exp
9147 * gdb.threads/interrupted-hand-call.exp
9148 * gdb.threads/linux-dp.exp
9149 * gdb.threads/local-watch-wrong-thread.exp
9150 * gdb.threads/next-while-other-thread-longjmps.exp
9151 * gdb.threads/non-ldr-exit.exp
9152 * gdb.threads/pending-step.exp
9153 * gdb.threads/print-threads.exp
9154 * gdb.threads/process-dies-while-detaching.exp
9155 * gdb.threads/process-dies-while-handling-bp.exp
9156 * gdb.threads/pthreads.exp
9157 * gdb.threads/queue-signal.exp
9158 * gdb.threads/reconnect-signal.exp
9159 * gdb.threads/signal-command-handle-nopass.exp
9160 * gdb.threads/signal-command-multiple-signals-pending.exp
9161 * gdb.threads/signal-delivered-right-thread.exp
9162 * gdb.threads/signal-sigtrap.exp
9163 * gdb.threads/sigthread.exp
9164 * gdb.threads/staticthreads.exp
9165 * gdb.threads/stepi-random-signal.exp
9166 * gdb.threads/thread-unwindonsignal.exp
9167 * gdb.threads/thread_check.exp
9168 * gdb.threads/thread_events.exp
9169 * gdb.threads/tid-reuse.exp
9170 * gdb.threads/tls-nodebug.exp
9171 * gdb.threads/tls-shared.exp
9172 * gdb.threads/tls-so_extern.exp
9173 * gdb.threads/tls.exp
9174 * gdb.threads/wp-replication.exp
9175 * gdb.trace/actions-changed.exp
9176 * gdb.trace/actions.exp
9177 * gdb.trace/backtrace.exp
9178 * gdb.trace/change-loc.exp
9179 * gdb.trace/collection.exp
9180 * gdb.trace/deltrace.exp
9181 * gdb.trace/disconnected-tracing.exp
9182 * gdb.trace/entry-values.exp
9183 * gdb.trace/ftrace-lock.exp
9184 * gdb.trace/ftrace.exp
9185 * gdb.trace/infotrace.exp
9186 * gdb.trace/mi-trace-frame-collected.exp
9187 * gdb.trace/mi-trace-unavailable.exp
9188 * gdb.trace/mi-traceframe-changed.exp
9189 * gdb.trace/mi-tracepoint-changed.exp
9190 * gdb.trace/mi-tsv-changed.exp
9191 * gdb.trace/no-attach-trace.exp
9192 * gdb.trace/packetlen.exp
9193 * gdb.trace/passc-dyn.exp
9194 * gdb.trace/passcount.exp
9195 * gdb.trace/pending.exp
9196 * gdb.trace/pr16508.exp
9197 * gdb.trace/qtro.exp
9198 * gdb.trace/range-stepping.exp
9199 * gdb.trace/read-memory.exp
9200 * gdb.trace/report.exp
9201 * gdb.trace/save-trace.exp
9202 * gdb.trace/signal.exp
9203 * gdb.trace/stap-trace.exp
9204 * gdb.trace/status-stop.exp
9205 * gdb.trace/strace.exp
9206 * gdb.trace/tfile.exp
9207 * gdb.trace/tfind.exp
9208 * gdb.trace/trace-break.exp
9209 * gdb.trace/trace-condition.exp
9210 * gdb.trace/trace-enable-disable.exp
9211 * gdb.trace/trace-mt.exp
9212 * gdb.trace/tracecmd.exp
9213 * gdb.trace/tracefile-pseudo-reg.exp
9214 * gdb.trace/tspeed.exp
9215 * gdb.trace/tstatus.exp
9216 * gdb.trace/tsv.exp
9217 * gdb.trace/unavailable.exp
9218 * gdb.trace/while-dyn.exp
9219 * gdb.trace/while-stepping.exp
9220 * lib/gdb-guile.exp
9221 * lib/gdb.exp
9222 * lib/mi-support.exp
9223 * lib/pascal.exp
9224 * lib/perftest.exp
9225 * lib/prelink-support.exp
9226 * lib/selftest-support.exp
9227
92282016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
9229
9230 * Makefile.in: Include disable-implicit-rules.mk.
9231
92322016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9233
9234 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
9235 non-byte-aligned bit fields.
9236
92372016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9238
9239 PR gdb/12616
9240 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
9241 respects the DW_AT_data_bit_offset attribute.
9242
92432016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
9244
9245 * gdb.base/default.exp: Fix output of "set language".
9246
92472016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
9248
9249 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
9250 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
9251 make.
9252 * configure.ac: Remove checks for the make program.
9253 * configure: Re-generate.
9254
92552016-11-16 Kevin Buettner <kevinb@redhat.com>
9256
9257 * gdb.python/py-recurse-unwind.c (main): Add loop.
9258 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
9259 to read_register() and gdb.parse_and_eval(). Make each code
9260 call a separate case that can be individually tested.
9261 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
9262 proc. Call cont_and_backtrace for each of the code paths that
9263 we want to test in the unwinder.
9264
92652016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
9266
9267 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
9268 the definition of struct S.
9269
92702016-11-11 Catherine Moore <clm@codesourcery.com>
9271
9272 * gdb.base/dump.exp: Identify verilog format dump tests as such.
9273
92742016-11-09 Pedro Alves <palves@redhat.com>
9275
9276 * gdb.base/commands.exp (runto_or_return): New procedure.
9277 (gdbvar_simple_if_test, gdbvar_simple_while_test)
9278 (gdbvar_complex_if_while_test, progvar_simple_if_test)
9279 (progvar_simple_while_test, progvar_complex_if_while_test)
9280 (if_while_breakpoint_command_test)
9281 (infrun_breakpoint_command_test, breakpoint_command_test)
9282 (user_defined_command_test, watchpoint_command_test)
9283 (test_command_prompt_position, redefine_hook_test)
9284 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
9285 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
9286 multi_line_input and multi_line. Remove gdb_expect and
9287 gdb_stop_suppressing_tests uses.
9288 * lib/gdb.exp (valnum_re): New global.
9289 (multi_line_input): New procedure.
9290
92912016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
9292
9293 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
9294 Remove.
9295 (test_setup): Define with proc_with_prefix.
9296 (test_cli_inferior): Likewise.
9297 (test_cli_thread): Likewise.
9298 (test_cli_frame): Likewise.
9299 (test_cli_select_frame): Likewise.
9300 (test_cli_up_down): Likewise.
9301 (test_mi_thread_select): Likewise.
9302 (test_mi_stack_select_frame): Likewise.
9303 (test_cli_in_mi_inferior): Likewise.
9304 (test_cli_in_mi_thread): Likewise.
9305 (test_cli_in_mi_frame): Likewise.
9306 (top level): Do not use with_test_prefix_procname.
9307
93082016-11-09 Pedro Alves <palves@redhat.com>
9309
9310 * gdb.base/commands.exp (gdbvar_simple_if_test)
9311 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
9312 (progvar_simple_if_test, progvar_simple_while_test)
9313 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
9314 (infrun_breakpoint_command_test, breakpoint_command_test)
9315 (user_defined_command_test, watchpoint_command_test)
9316 (test_command_prompt_position, deprecated_command_test)
9317 (bp_deleted_in_command, temporary_breakpoint_commands)
9318 (stray_arg0_test, source_file_with_indented_comment)
9319 (recursive_source_test, if_commands_test)
9320 (error_clears_commands_left, redefine_hook_test)
9321 (redefine_backtrace_test): Use proc_with_prefix.
9322 * lib/gdb.exp (proc_with_prefix): New proc.
9323
93242016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
9325
9326 * gdb.base/tui-layout.c: New file.
9327 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
9328 disassembly window contains very long lines.
9329
93302016-11-08 Tom Tromey <tom@tromey.com>
9331
9332 * gdb.python/py-value.exp (test_value_creation): Make "long" test
9333 depend on Python 2.
9334
93352016-11-08 Tom Tromey <tom@tromey.com>
9336
9337 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
9338 New method.
9339
93402016-10-29 Manish Goregaokar <manish@mozilla.com>
9341
9342 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
9343
93442016-10-27 Manish Goregaokar <manish@mozilla.com>
9345
9346 * gdb.rust/simple.rs: Add test for univariant enums without
9347 discriminants and for encoded struct-like enums.
9348
93492016-10-28 Pedro Alves <palves@redhat.com>
9350
9351 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
9352 gdb_test_multiple, tighten regexps and match symtabs and line
9353 tables incrementally.
9354
93552016-10-28 Luis Machado <lgustavo@codesourcery.com>
9356
9357 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
9358 general.
9359
93602016-10-25 Luis Machado <lgustavo@codesourcery.com>
9361
9362 * gdb.base/exec-invalid-sysroot.exp: New file.
9363
93642016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9365
9366 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
9367
93682016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9369
9370 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
9371
93722016-10-19 Maciej W. Rozycki <macro@imgtec.com>
9373
9374 * gdb.base/killed-outside.exp: Remove $options from a call to
9375 `prepare_for_testing'.
9376
93772016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9378
9379 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
9380 Change test message.
9381
93822016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9383
9384 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
9385 Update comment.
9386
93872016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9388
9389 * gdb.trace/mi-trace-save.exp: New file.
9390
93912016-10-13 Yao Qi <yao.qi@linaro.org>
9392
9393 * gdb.base/code_elim.exp (get_var_address): Remove.
9394 * gdb.base/relocate.exp: Likewise.
9395 * gdb.base/shreloc.exp: Likewise.
9396 * lib/gdb.exp (get_var_address): New.
9397
93982016-10-13 Yao Qi <yao.qi@linaro.org>
9399
9400 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
9401 floating point tests if $skip_float_test is false.
9402
94032016-10-12 Luis Machado <lgustavo@codesourcery.com>
9404
9405 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
9406 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
9407 argc values.
9408 Add 1 to argc so we guarantee distinct initial/modified argc values.
9409
94102016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9411
9412 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
9413
94142016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9415
9416 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
9417 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
9418 * gdb.arch/vsx-regs.exp: Likewise.
9419
94202016-10-07 Yao Qi <yao.qi@linaro.org>
9421
9422 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
9423
94242016-10-07 Markus Metzger <markus.t.metzger@intel.com>
9425
9426 * gdb.python/python.exp: Test decode_line("*0").
9427
94282016-10-06 Doug Evans <dje@google.com>
9429
9430 * gdb.python/py-value.exp (test_value_creation): Add test for large
9431 unsigned 64-bit value.
9432
94332016-10-06 Tom Tromey <tom@tromey.com>
9434
9435 * gdb.compile/compile.exp: Change java tests to rust.
9436 * gdb.base/setshow.exp: Change java tests to rust.
9437 * gdb.base/default.exp: Remove java from language list.
9438 * README (Examples): Update language example.
9439 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
9440 test.
9441 * lib/gdb.exp (skip_java_tests): Remove.
9442 * lib/java.exp: Remove.
9443 * gdb.java: Remove.
9444
94452016-10-06 Maciej W. Rozycki <macro@imgtec.com>
9446
9447 * gdb.arch/mips-fcr.exp: New test.
9448 * gdb.arch/mips-fcr.c: Source for the new test.
9449
94502016-10-06 Maciej W. Rozycki <macro@imgtec.com>
9451
9452 * gdb.base/solib-disc.exp: Use `standard_output_file'
9453 throughout.
9454
94552016-10-06 Pedro Alves <palves@redhat.com>
9456
9457 * gdb.base/jit-simple-dl.c: New file.
9458 * gdb.base/jit-simple-jit.c: New file, factored out from ...
9459 * gdb.base/jit-simple.c: ... this.
9460 * gdb.base/jit-simple.exp (jit_run): Delete.
9461 (build_jit): New proc.
9462 (jit_test_reread): Recompile either the main program or the shared
9463 library, depending on what is being tested. Skip changing address
9464 if caller wants to. Compare before/after addresses. If testing
9465 standalone, explicitly load the binary. Test "maint info
9466 breakpoints".
9467 (top level): Add "standalone vs shared lib" and "change address"
9468 vs "same address" axes.
9469
94702016-10-06 Pedro Alves <palves@redhat.com>
9471
9472 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
9473 call.
9474 (jit_run): Delete.
9475 (jit_test_reread): Use with_test_prefix. Reload the main binary
9476 explicitly. Compare the before/after addresses of the JIT
9477 descriptor.
9478
94792016-08-15 Doug Evans <dje@google.com>
9480
9481 * gdb.xml/extra-regs.xml: Update, end field now required, default type
9482 for single bitfields is bool.
9483 * gdb.xml/tdesc-regs.exp: Ditto.
9484
94852016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9486
9487 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
9488
94892016-10-05 Yao Qi <yao.qi@linaro.org>
9490
9491 * lib/gdb.exp (support_complex_tests): Return zero if
9492 gdb_skip_float_test return true.
9493
94942016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
9495 Simon Marchi <simon.marchi@ericsson.com>
9496
9497 PR gdb/20487
9498 * gdb.mi/user-selected-context-sync.exp: New file.
9499 * gdb.mi/user-selected-context-sync.c: New file.
9500
95012016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
9502 Simon Marchi <simon.marchi@ericsson.com>
9503
9504 PR gdb/20487
9505 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
9506 =thread-select-event check.
9507
95082016-09-29 Peter Bergner <bergner@vnet.ibm.com>
9509
9510 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
9511 the compulsory L operand changes.
9512 * gdb.arch/powerpc-power.s: Likewise.
9513
95142016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9515
9516 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
9517 * gdb.base/jit-attach-pie.c: New file.
9518 * gdb.base/jit-attach-pie.exp: New file.
9519
95202016-09-28 Pedro Alves <palves@redhat.com>
9521
9522 * gdb.base/infcall-input.c: New file.
9523 * gdb.base/infcall-input.exp: New file.
9524
95252016-09-22 Yao Qi <yao.qi@linaro.org>
9526
9527 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
9528 (gdb_exit): Rename it to ...
9529 (gdbserver_gdb_exit): ... Close GDBserver.
9530 (gdb_exit): New proc, call gdbserver_gdb_exit.
9531 (mi_gdb_exit): Likewise.
9532
95332016-09-22 Yao Qi <yao.qi@linaro.org>
9534
9535 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
9536 path.
9537 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
9538 Remove duplication.
9539
95402016-09-22 Yao Qi <yao.qi@linaro.org>
9541
9542 * lib/gdbserver-support.exp: Check the existence of
9543 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
9544
95452016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
9546
9547 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
9548
95492016-09-21 Tom Tromey <tom@tromey.com>
9550
9551 PR gdb/20604:
9552 * gdb.base/quit.exp: New file.
9553
95542016-09-21 Simon Marchi <simon.marchi@ericsson.com>
9555
9556 * .gitignore: New file.
9557
95582016-09-21 Maciej W. Rozycki <macro@imgtec.com>
9559
9560 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
9561 throughout.
9562
95632016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9564
9565 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
9566
95672016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9568
9569 * gdb.cp/casts.cc (decltype): Move it ...
9570 (main): ... with its call to ...
9571 * gdb.cp/casts03.cc: ... a new file.
9572 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
9573
95742016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9575
9576 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
9577
95782016-09-15 Peter Bergner <bergner@vnet.ibm.com>
9579
9580 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
9581 and sync up the test with tests in gas/testsuite/gas/ppc.
9582 * gdb.arch/powerpc-power.exp: Likewise.
9583
95842016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9585
9586 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
9587
95882016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
9589 Jan Kratochvil <jan.kratochvil@redhat.com>
9590
9591 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
9592 make m1's definition to be different from m2's. Use 'dummy' as an
9593 argument for probe 'two'.
9594
95952016-09-10 Jon Beniston <jon@beniston.com>
9596
9597 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
9598 for sim target.
9599
96002016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
9601
9602 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
9603 variable declaration.
9604 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
9605 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
9606 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
9607 received HWCAP as its argument.
9608
96092016-09-06 Pedro Alves <palves@redhat.com>
9610
9611 * gdb.base/new-ui-pending-input.c: New file.
9612 * gdb.base/new-ui-pending-input.exp: New file.
9613 * gdb.exp (clear_gdb_spawn_id): New procedure.
9614 (with_spawn_id): Check whether gdb_spawn_id exists before
9615 referencing it. If gdb_spawn_id didn't exist on entry, clear it
9616 on exit.
9617
96182016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
9619
9620 * gdb.base/float128.c: New file.
9621 * gdb.base/float128.exp: Likewise.
9622 * gdb.base/floatn.c: Likewise.
9623 * gdb.base/floatn.exp: Likewise.
9624
96252016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
9626
9627 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
9628
96292016-09-05 Pedro Alves <palves@redhat.com>
9630
9631 PR backtrace/19927
9632 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
9633 unwinders are immediately called as side effect of "source" or
9634 "disable unwinder" commands.
9635 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
9636
96372016-09-02 Yao Qi <yao.qi@linaro.org>
9638
9639 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
9640 is true and $type is "float" or "double".
9641
96422016-09-02 Yao Qi <yao.qi@linaro.org>
9643
9644 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
9645 true.
9646 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
9647 * gdb.base/call-rt-st.exp: Likewise.
9648 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
9649 return value instead of gdb,skip_float_test.
9650 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
9651 (do_function_calls): Use its return value instead of
9652 gdb,skip_float_test.
9653 * gdb.base/finish.exp: Likewise.
9654 * gdb.base/funcargs.exp: Likewise.
9655 * gdb.base/return.exp: Likewise.
9656 * gdb.base/return2.exp: Likewise.
9657 * gdb.base/varargs.exp: Likewise.
9658 * lib/gdb.exp (gdb_skip_float_test): Change it to
9659 gdb_caching_proc. Detect the broken ptrace on arm-linux.
9660
96612016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
9662
9663 * gdb.multi/tids.exp: Test "thread apply all".
9664
96652016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9666
9667 * gdb.base/default.exp (tty): Remove.
9668
96692016-08-24 Kevin Buettner <kevinb@redhat.com>
9670
9671 * gdb.python/py-recurse-unwind.c: New file.
9672 * gdb.python/py-recurse-unwind.py: New file.
9673 * gdb.python/py-recurse-unwind.exp: New file.
9674
96752016-08-24 Simon Marchi <simon.marchi@ericsson.com>
9676
9677 * gdb.base/set-inferior-tty.exp: New file.
9678 * gdb.base/set-inferior-tty.c: New file.
9679
96802016-08-23 Pedro Alves <palves@redhat.com>
9681
9682 PR gdb/20494
9683 * gdb.base/new-ui-echo.c: New file.
9684 * gdb.base/new-ui-echo.exp: New file.
9685
96862016-08-23 Yao Qi <yao.qi@linaro.org>
9687
9688 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
9689 gdbserver_spawn.
9690 * gdb.server/connect-without-multi-process.exp (do_test):
9691 Likewise.
9692
96932016-08-23 Yao Qi <yao.qi@linaro.org>
9694
9695 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
9696 standalone_txt. Delete gdb_txt and standalone_txt on host
9697 and target. Spawn the binary on target. Copy files from
9698 target to host.
9699
97002016-08-22 Pedro Alves <palves@redhat.com>
9701
9702 PR gdb/20505
9703 * gdb.base/vdso-warning.exp: Test core dumps too. Use
9704 with_test_prefix. Factor out bits to ...
9705 (test_no_vdso): ... this new procedure.
9706
97072016-08-19 Carl Love <cel@us.ibm.com>
9708
9709 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
9710 maintaining separate logic for constructing the output path.
9711 * gdb.arch/powerpc-d128-regs.exp: Likewise.
9712 * gdb.arch/ppc-dfp.exp: Likewise.
9713 * gdb.arch/ppc-fp.exp: Likewise.
9714 * gdb.arch/vsx-regs.exp: Likewise.
9715 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
9716 binprefix for generating the additional binary files.
9717
97182016-08-19 Pedro Alves <palves@redhat.com>
9719
9720 * gdb.trace/mi-trace-frame-collected.exp
9721 (test_trace_frame_collected): On x32, expect two registers.
9722
97232016-08-18 Carl Love <cel@us.ibm.com>
9724
9725 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
9726 and sync up the test with tests in gas/testsuite/gas/ppc.
9727 * gdb.arch/powerpc-power.exp: Likewise.
9728
97292016-08-17 Simon Marchi <simon.marchi@ericsson.com>
9730
9731 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
9732 expected error message.
9733
97342016-08-17 Simon Marchi <simon.marchi@ericsson.com>
9735
9736 * gdb.multi/remove-inferiors.exp: New file.
9737 * gdb.multi/remove-inferiors.c: New file.
9738
97392016-08-12 Yao Qi <yao.qi@linaro.org>
9740
9741 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
9742 argument list.
9743
97442016-08-10 Pedro Alves <palves@redhat.com>
9745
9746 PR gdb/19187
9747 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
9748 setup_kfails.
9749
97502016-08-09 Pedro Alves <palves@redhat.com>
9751 Simon Marchi <simon.marchi@ericsson.com>
9752
9753 PR gdb/20418
9754 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
9755 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
9756
97572016-08-09 Pedro Alves <palves@redhat.com>
9758
9759 PR mi/20431
9760 * gdb.mi/mi-cmd-error.exp: New file.
9761
97622016-08-09 Pedro Alves <palves@redhat.com>
9763
9764 PR gdb/18653
9765 * gdb.base/signals-state-child.c: New file.
9766 * gdb.base/signals-state-child.exp: New file.
9767 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
9768
97692016-08-09 Pedro Alves <palves@redhat.com>
9770
9771 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
9772
97732016-08-03 Tom Tromey <tom@tromey.com>
9774
9775 PR python/18565:
9776 * gdb.python/py-frame-inline.exp: Add Frame.function test.
9777
97782016-08-01 Yao Qi <yao.qi@linaro.org>
9779
9780 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
9781 variable mode to "multi-process" if $multi_process is 1, otherwise
9782 set it to "single-process".
9783
97842016-08-01 Yao Qi <yao.qi@linaro.org>
9785
9786 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
9787 * gdb.cp/cpexprs.exp: Likewise.
9788 * gdb.cp/m-static.exp: Likewise.
9789
97902016-07-26 Tom Tromey <tom@tromey.com>
9791
9792 PR python/20190:
9793 * gdb.threads/tls.exp (check_thread_local): Add python symbol
9794 test.
9795
97962016-07-26 Markus Metzger <markus.t.metzger@intel.com>
9797
9798 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
9799 selecting assembly source files.
9800 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
9801 assembly source files.
9802 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
9803 assembly source files.
9804 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
9805 selecting assembly source files.
9806
98072016-07-25 Simon Marchi <simon.marchi@ericsson.com>
9808
9809 * gdb.base/new-ui.exp (do_test_invalid_args): New
9810 procedure.
9811
98122016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
9813
9814 * gdb.btrace/reconnect.c: New file.
9815 * gdb.btrace/reconnect.exp: New file.
9816
98172016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
9818
9819 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
9820 to test_catch_syscall_group.
9821 (test_catch_syscall_group): New.
9822
98232016-07-21 Tom Tromey <tom@tromey.com>
9824
9825 * gdb.rust/simple.rs (main): Use empty struct expression.
9826 * gdb.rust/simple.exp: Add tests for empty struct expression.
9827
98282016-07-21 Yao Qi <yao.qi@linaro.org>
9829
9830 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
9831 if gdb_skip_xml_test is true on some targets.
9832
98332016-07-21 Yao Qi <yao.qi@linaro.org>
9834
9835 * gdb.server/solib-list.exp: Unset last_loaded_file.
9836
98372016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9838
9839 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
9840 "step into captured_main (args)".
9841
98422016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9843
9844 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
9845
98462016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9847
9848 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
9849
98502016-07-19 Pedro Alves <palves@redhat.com>
9851
9852 * gdb.opt/inline-break.exp: Remove optimize=-O2.
9853 * gdb.opt/inline-bt.exp: Likewise.
9854 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
9855 additional_flags=-Winline.
9856 * gdb.opt/inline-locals.exp: Likewise.
9857 * gdb.opt/inline-markers.c (ATTR): Define.
9858 (inlined_fn): Use it.
9859
98602016-07-19 Yao Qi <yao.qi@linaro.org>
9861
9862 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
9863 (test_with_self): Remove some code. Remove argument executable.
9864 (top-level): Use do_self_tests.
9865
98662016-07-15 Zachary Welch <zwelch@codesourcery.com>
9867 Don Breazeal <donb@codesourcery.com>
9868
9869 * gdb.base/maint.exp: Escape paths used in regular expressions.
9870 * gdb.stabs/weird.exp: Likewise.
9871
98722016-07-13 Tom Tromey <tom@tromey.com>
9873
9874 PR python/15620, PR python/18620:
9875 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
9876 (test_bkpt_events): New procs.
9877
98782016-07-13 Tom Tromey <tom@tromey.com>
9879
9880 PR python/17698:
9881 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
9882 test.
9883 (test_watchpoints): Likewise.
9884 (test_bkpt_pending): New proc.
9885
98862016-07-13 Tom Tromey <tom@tromey.com>
9887
9888 PR cli/18053:
9889 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
9890 completion test.
9891
98922016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9893
9894 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
9895 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
9896 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
9897 f_label.
9898 (g): Rename g_end_lbl to g_label.
9899 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
9900 low_pc and high_pc.
9901 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
9902
99032016-07-12 Tom Tromey <tom@tromey.com>
9904
9905 PR python/19293:
9906 * gdb.python/py-unwind-maint.exp: Update tests.
9907
99082016-07-12 Yao Qi <yao.qi@linaro.org>
9909
9910 * lib/selftest-support.exp (selftest_setup): Match the output
9911 when captured_main is inlined.
9912
99132016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
9914
9915 * gdb.fortran/derived-types.exp (result_line, result_line_2):
9916 New variables.
9917 (print this%a, print this%b, print this): New tests.
9918 * gdb.fortran/derived-types.f90 (this): New object and
9919 initialization.
9920
99212016-07-06 Simon Marchi <simon.marchi@ericsson.com>
9922
9923 * gdb.ada/arraydim.exp: Remove extra directory level in build
9924 directory.
9925
99262016-07-06 Simon Marchi <simon.marchi@ericsson.com>
9927
9928 * lib/ada.exp: Remove extra directory level in build directory.
9929 * gdb.ada/cond_lang.exp: Likewise.
9930 * gdb.ada/exec_changed.exp: Likewise.
9931 * gdb.ada/lang_switch.exp: Likewise.
9932
99332016-07-06 Manish Goregaokar <manish@mozilla.com>
9934
9935 * simple.rs: Add test for raw pointer subscripting.
9936 * simple.exp: Add test expectations.
9937
99382016-07-05 Yao Qi <yao.qi@linaro.org>
9939
9940 * gdb.mi/mi-reverse.exp: Match =record-started output.
9941
99422016-07-01 Pedro Alves <palves@redhat.com>
9943
9944 * gdb.base/jit-reader.exp (info_registers_current_frame): New
9945 procedure.
9946 (jit_reader_test): Test the jit reader's unwinder.
9947 * gdb.base/jithost.c (jit_function_00_code): New global.
9948 (main): Use memcpy to fill in the mmapped code, instead of poking
9949 bytes manually here.
9950 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
9951 value.
9952 (read_debug_info): Save the function's range.
9953 (read_sp): New function.
9954 (unwind_frame): Use it. Also unwind RBP.
9955 (get_frame_id): Use read_sp.
9956 (gdb_init_reader): Use calloc instead of malloc.
9957 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
9958 parameter. Use gdb_test_multiple.
9959
99602016-07-01 Pedro Alves <palves@redhat.com>
9961 Antoine Tremblay <antoine.tremblay@ericsson.com>
9962
9963 * gdb.threads/process-dies-while-detaching.c: New file.
9964 * gdb.threads/process-dies-while-detaching.exp: New file.
9965
99662016-07-01 Pedro Alves <palves@redhat.com>
9967
9968 * gdb.multi/watchpoint-multi-exit.c: New file.
9969 * gdb.multi/watchpoint-multi-exit.exp: New file.
9970
99712016-06-30 Pedro Alves <palves@redhat.com>
9972
9973 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
9974 unset inferior_spawn_id.
9975
99762016-06-30 Pedro Alves <palves@redhat.com>
9977
9978 * lib/mi-support.exp (default_mi_gdb_start): Declare global
9979 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
9980
99812016-06-29 Yao Qi <yao.qi@linaro.org>
9982
9983 * gdb.base/return.c: Add copyright header.
9984
99852016-06-29 Tom Tromey <tom@tromey.com>
9986
9987 PR python/20129:
9988 * gdb.python/py-framefilter.exp: Add tests for setting priority
9989 and disabling of non-existent frame filter.
9990
99912016-06-29 Yao Qi <yao.qi@linaro.org>
9992
9993 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
9994 0x0f07ff.
9995
99962016-06-28 Yao Qi <yao.qi@linaro.org>
9997
9998 * gdb.base/catch-syscall.exp: Remove check on isnative and target
9999 triplets. Start gdb, execute catch syscall, and continue. Check
10000 gdb's output to determine catch syscall is supported.
10001
100022016-06-27 Manish Goregaokar <manish@mozilla.com>
10003
10004 * gdb.rust/simple.rs: Add test for returning unit in a function.
10005 * gdb.rust/simple.exp: Add expectation for functions returning
10006 unit.
10007
100082016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
10009
10010 * gdb.python/py-breakpoint-create-fail.c,
10011 gdb.python/py-breakpoint-create-fail.exp,
10012 gdb.python/py-breakpoint-create-fail.py: New testcase.
10013
100142016-06-25 Manish Goregaokar <manish@mozilla.com>
10015
10016 PR gdb/20239
10017 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
10018 * gdb.rust/simple.exp: Add test expectations for new NonZero
10019 tests.
10020
100212016-06-24 David Taylor <dtaylor@emc.com>
10022
10023 * gdb.base/offsets.exp: New file.
10024 * gdb.base/offsets.c: New file.
10025
100262016-06-23 Tom Tromey <tom@tromey.com>
10027
10028 PR gdb/16483:
10029 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
10030 before any filters are loaded.
10031
100322016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
10033
10034 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
10035 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
10036 structs.
10037 * gdb.fortran/derived-type-function.exp: New file.
10038 * gdb.fortran/derived-type-function.f90: New file.
10039
10040
100412016-06-21 Pedro Alves <palves@redhat.com>
10042
10043 * gdb.base/new-ui.exp: New file.
10044 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
10045 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
10046 (with_spawn_id): New procedure.
10047
100482016-06-21 Pedro Alves <palves@redhat.com>
10049
10050 * gdb.mi/mi-exec-run.exp: New file.
10051
100522016-06-21 Pedro Alves <palves@redhat.com>
10053
10054 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
10055 breakpoint command's output on the main UI.
10056 (test_break): New procedure, factored out from calls in the top
10057 level.
10058 (top level): Use foreach_with_prefix to test MI as main UI and as
10059 separate UI.
10060
100612016-06-21 Pedro Alves <palves@redhat.com>
10062
10063 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
10064 (test_awatch_creation_and_listing)
10065 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
10066 Remove 'type' parameter.
10067 (test_watchpoint_all): New parameter mi_mode. Remove
10068 with_test_prefix.
10069 (top level): Use foreach_with_prefix, and add main/separate UI MI
10070 testing axis.
10071
100722016-06-21 Pedro Alves <palves@redhat.com>
10073
10074 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
10075 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
10076 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
10077 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
10078 (gdb_main_spawn_id, mi_spawn_id): Declare and
10079 comment.
10080 (mi_create_inferior_pty): New procedure,
10081 factored out from default_mi_gdb_start.
10082 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
10083 procedures.
10084 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
10085 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
10086 Use mi_create_inferior_pty.
10087 (mi_gdb_start): Use eval to pass down args list.
10088
100892016-06-21 Pedro Alves <palves@redhat.com>
10090
10091 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
10092 * gdb.opt/inline-cmds.exp: Add MI tests.
10093
100942016-06-21 Pedro Alves <palves@redhat.com>
10095
10096 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
10097
100982016-06-21 Pedro Alves <palves@redhat.com>
10099
10100 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
10101 (top level): Use it instead of mi_execute_to.
10102
101032016-06-21 Pedro Alves <palves@redhat.com>
10104
10105 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
10106 (cont_handler_str): New.
10107 (signal_stop_handler): Set stop_handler_str instead of printing to
10108 stdout.
10109 (continue_handler): Set cont_handler_str instead of printing to
10110 stdout.
10111 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
10112 mi_send_resuming_command. Print stop_handler_str and
10113 cont_handler_str instead of expecting the python events print
10114 directly.
10115
101162016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
10117
10118 * gdb.base/jit-reader.exp: New file.
10119 * gdb.base/jithost.c: New file.
10120 * gdb.base/jithost.h: New file.
10121 * gdb.base/jitreader.c : New file.
10122 * gdb.base/jit-protocol.h: New file.
10123
101242016-06-17 Yao Qi <yao.qi@linaro.org>
10125
10126 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
10127 parameters follow_fork and detach_on_fork. Set follow-fork-mode
10128 and detach-on-fork. Adjust tests.
10129 (top level): Invoke break_cond_on_syscall with combinations of
10130 syscall, follow-fork-mode and detach-on-fork.
10131
101322016-06-17 Yao Qi <yao.qi@linaro.org>
10133
10134 * gdb.base/step-over-exit.c: New.
10135 * gdb.base/step-over-exit.exp: New.
10136
101372016-06-17 Yan-Ting Lin <currygt52@gmail.com>
10138
10139 * gdb.base/float.exp: Add target check for nds32*-*-*.
10140 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
10141
101422016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
10143
10144 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
10145 for unsupported target features.
10146 * gdb.base/call-rt-st.exp: Likewise.
10147 * gdb.base/call-sc.exp: Likewise.
10148 * gdb.base/call-signal-resume.exp: Likewise.
10149 * gdb.base/call-strs.exp: Likewise.
10150 * gdb.base/callexit.exp: Likewise.
10151 * gdb.base/callfuncs.exp: Likewise.
10152 * gdb.base/nodebug.exp: Likewise.
10153 * gdb.base/printcmds.exp: Likewise.
10154 * gdb.base/ptype.exp: Likewise.
10155 * gdb.base/structs.exp: Likewise.
10156 * gdb.base/unwindonsignal.exp: Likewise.
10157 * gdb.cp/gdb2495.exp: Likewise.
10158 * gdb.cp/templates.exp: Likewise.
10159 * gdb.cp/virtfunc.exp: Likewise.
10160 * gdb.threads/hand-call-in-threads.exp: Likewise.
10161 * gdb.threads/interrupted-hand-call.exp: Likewise.
10162 * gdb.threads/thread-unwindonsignal.exp: Likewise.
10163
101642016-06-10 Tom Tromey <tom@tromey.com>
10165
10166 PR rust/20110:
10167 * gdb.rust/expr.exp: Add test for integer constant larger than
10168 i32.
10169
101702016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
10171
10172 * gdb.fortran/nested-funcs.exp: New.
10173 * gdb.fortran/nested-funcs.f90: New.
10174
101752016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
10176
10177 * gdb.base/examine-backward.c: New file.
10178 * gdb.base/examine-backward.exp: New file.
10179
101802016-06-06 Simon Marchi <simon.marchi@ericsson.com>
10181
10182 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
10183 matching.
10184
101852016-06-02 Tom Tromey <tom@tromey.com>
10186
10187 PR python/18984:
10188 * gdb.python/py-shared.exp: Add solib_name test.
10189
101902016-06-02 Simon Marchi <simon.marchi@ericsson.com>
10191
10192 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
10193
101942016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
10195
10196 PR c++/19893
10197 * gdb.dwarf2/implref.exp: Rename to...
10198 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
10199 * gdb.dwarf2/implref-array.c: New file.
10200 * gdb.dwarf2/implref-array.exp: Likewise.
10201 * gdb.dwarf2/implref-global.c: Likewise.
10202 * gdb.dwarf2/implref-global.exp: Likewise.
10203 * gdb.dwarf2/implref-struct.c: Likewise.
10204 * gdb.dwarf2/implref-struct.exp: Likewise.
10205
102062016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10207
10208 * gdb.trace/trace-condition.exp: Add 64bit tests.
10209
102102016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10211
10212 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
10213 bits types.
10214 (main): Adapt to 8 to 64 bits types.
10215 * gdb.trace/trace-condition.exp: Add new tests.
10216
102172016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10218
10219 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
10220
102212016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10222
10223 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
10224 Move condition tests...
10225 * gdb.trace/trace-condition.exp: Here.
10226
102272016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10228
10229 * gdb.trace/trace-condition.exp: Add counter-case tests.
10230
102312016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10232
10233 PR c++/15231
10234 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
10235 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
10236
102372016-05-27 Pedro Alves <palves@redhat.com>
10238
10239 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
10240 New procedure.
10241 (top level): Call it, and bail out of DejaGnu is known to be bad.
10242
102432016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
10244
10245 * gdb.base/whatis.c: Extend the test case.
10246 * gdb.base/whatis.exp: Add additional tests.
10247
102482016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10249
10250* gdb.fortran/type.f90: Add pointer variable.
10251* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
10252
102532016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10254
10255 * gdb.fortran/vla-type.exp: Fix testcase name.
10256
102572016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10258
10259 * gdb.fortran/vla-type.exp: Access elements in nested structs.
10260
102612016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10262
10263 * gdb.fortran/type.f90: Add nested structures.
10264 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
10265 * gdb.fortran/derived-type.exp: Adapt expected output.
10266 * gdb.fortran/vla-type.exp: Adapt expected output.
10267
102682016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10269
10270 * gdb.fortran/whatis_type.exp: Adapt expected output.
10271
102722016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10273
10274 * gdb.fortran/print_type.exp: Fix expected output.
10275 * gdb.fortran/whatis_type.exp: Fix expected output.
10276
102772016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10278
10279 * gdb.fortran/whatis_type.exp: Use multi_line.
10280
102812016-05-24 Tom Tromey <tom@tromey.com>
10282
10283 PR python/17386:
10284 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
10285 use value as an index.
10286
102872016-05-23 Tom Tromey <tom@tromey.com>
10288
10289 PR python/17981:
10290 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
10291 no-breakpoint case.
10292
102932016-05-24 Pedro Alves <palves@redhat.com>
10294
10295 PR gdb/19828
10296 * gdb.threads/clone-attach-detach.c: New file.
10297 * gdb.threads/clone-attach-detach.exp: New file.
10298
102992016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
10300
10301 * gdb.base/annota-input-while-running.exp: Fix syntax error.
10302
103032016-05-23 Tom Tromey <tom@tromey.com>
10304
10305 PR python/19438, PR python/18393:
10306 * gdb.python/py-progspace.exp: Add "dir" test.
10307 * gdb.python/py-objfile.exp: Add "dir" test.
10308
103092016-05-23 Yao Qi <yao.qi@linaro.org>
10310
10311 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
10312 * gdb.arch/thumb2-it.exp: Likewise.
10313
103142016-05-18 Simon Marchi <simon.marchi@ericsson.com>
10315
10316 * gdb.mi/mi-threads-interrupt.c: New file.
10317 * gdb.mi/mi-threads-interrupt.exp: New file.
10318
103192016-05-17 Simon Marchi <simon.marchi@ericsson.com>
10320
10321 PR gdb/18077
10322 * gdb.mi/mi-async-run.exp: New file.
10323 * gdb.mi/mi-async-run.c: New file.
10324
103252016-05-17 Tom Tromey <tom@tromey.com>
10326 Manish Goregaokar <manishsmail@gmail.com>
10327
10328 * lib/rust-support.exp: New file.
10329 * lib/gdb.exp (skip_rust_tests): New proc.
10330 (build_executable_from_specs): Handle rust.
10331 * lib/future.exp (gdb_find_rustc): New proc.
10332 (gdb_default_target_compile): Handle rust.
10333 * gdb.rust/expr.exp: New file.
10334 * gdb.rust/generics.exp: New file.
10335 * gdb.rust/generics.rs: New file.
10336 * gdb.rust/methods.exp: New file.
10337 * gdb.rust/methods.rs: New file.
10338 * gdb.rust/modules.exp: New file.
10339 * gdb.rust/modules.rs: New file.
10340 * gdb.rust/simple.exp: New file.
10341 * gdb.rust/simple.rs: New file.
10342
103432016-05-17 Tom Tromey <tom@tromey.com>
10344
10345 * gdb.base/default.exp (set language): Add rust.
10346
103472016-05-17 Tom Tromey <tom@tromey.com>
10348
10349 * gdb.gdb/unittest.exp: New file.
10350
103512016-05-16 Yao Qi <yao.qi@linaro.org>
10352
10353 * gdb.base/batch-preserve-term-settings.exp: Remove variable
10354 shell_prompt. Update shell_prompt_re.
10355
103562016-05-12 Doug Evans <dje@google.com>
10357
10358 PR symtab/19999
10359 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
10360 $options when building executable.
10361 * gdb.dwarf2/fission-loclists-pie.S: New file.
10362 * gdb.dwarf2/fission-loclists-pie.exp: New file.
10363
103642016-05-04 Simon Marchi <simon.marchi@ericsson.com>
10365
10366 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
10367 of [is_remote target],
10368
103692016-05-04 Simon Marchi <simon.marchi@ericsson.com>
10370
10371 * lib/gdb.exp (use_gdb_stub): New procedure.
10372
103732016-05-03 Yunlian Jiang <yunlian@google.com>
10374 Doug Evans <dje@google.com>
10375
10376 PR symtab/19914
10377 * gdb.dwarf2/dwp-sepdebug.c: New file.
10378 * gdb.dwarf2/dwp-sepdebug.exp: New file.
10379
103802016-05-02 Simon Marchi <simon.marchi@ericsson.com>
10381
10382 * gdb.base/detach.exp: Remove is_remote check.
10383
103842016-05-02 Simon Marchi <simon.marchi@ericsson.com>
10385
10386 * gdb.base/annota-input-while-running.exp: Don't check for
10387 [is_remote target]. Enable annotations after running to main.
10388 Remove unused "set test..." line.
10389
103902016-04-28 Simon Marchi <simon.marchi@ericsson.com>
10391
10392 * gdb.trace/trace-enable-disable.exp: New file.
10393 * gdb.trace/trace-enable-disable.c: New file.
10394
103952016-04-28 Simon Marchi <simon.marchi@ericsson.com>
10396
10397 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
10398 use it in info sharedlibrary test.
10399 * gdb.trace/ftrace-lock.exp: Likewise.
10400 * gdb.trace/ftrace.exp: Likewise.
10401 * gdb.trace/range-stepping.exp: Likewise.
10402 * gdb.trace/trace-break.exp: Likewise.
10403 * gdb.trace/trace-condition.exp: Likewise.
10404 * gdb.trace/trace-mt.exp: Likewise.
10405
104062016-04-27 Simon Marchi <simon.marchi@ericsson.com>
10407
10408 * lib/gdb.exp (gdb_load_shlibs): Rename to...
10409 (gdb_load_shlib): ... this.
10410 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
10411 gdb_load_shlib.
10412 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
10413 * gdb.base/ctxobj.exp: Likewise.
10414 * gdb.base/dprintf-pending.exp: Likewise.
10415 * gdb.base/dso2dso.exp: Likewise.
10416 * gdb.base/fixsection.exp: Likewise.
10417 * gdb.base/gcore-relro.exp: Likewise.
10418 * gdb.base/gdb1555.exp: Likewise.
10419 * gdb.base/global-var-nested-by-dso.exp: Likewise.
10420 * gdb.base/gnu-ifunc.exp: Likewise.
10421 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
10422 * gdb.base/jit-so.exp (one_jit_test): Likewise.
10423 * gdb.base/pending.exp: Likewise.
10424 * gdb.base/print-file-var.exp: Likewise.
10425 * gdb.base/print-symbol-loading.exp: Likewise.
10426 * gdb.base/shlib-call.exp: Likewise.
10427 * gdb.base/shreloc.exp: Likewise.
10428 * gdb.base/so-impl-ld.exp: Likewise.
10429 * gdb.base/solib-disc.exp: Likewise.
10430 * gdb.base/solib-nodir.exp: Likewise.
10431 * gdb.base/solib-overlap.exp: Likewise.
10432 * gdb.base/solib-symbol.exp: Likewise.
10433 * gdb.base/solib-weak.exp (do_test): Likewise.
10434 * gdb.base/sym-file.exp: Likewise.
10435 * gdb.base/symtab-search-order.exp: Likewise.
10436 * gdb.base/type-opaque.exp: Likewise.
10437 * gdb.base/unload.exp: Likewise.
10438 * gdb.base/watchpoint-solib.exp: Likewise.
10439 * gdb.compile/compile.exp: Likewise.
10440 * gdb.cp/gdb2384.exp: Likewise.
10441 * gdb.cp/infcall-dlopen.exp: Likewise.
10442 * gdb.cp/re-set-overloaded.exp: Likewise.
10443 * gdb.fortran/library-module.exp: Likewise.
10444 * gdb.opt/solib-intra-step.exp: Likewise.
10445 * gdb.python/py-finish-breakpoint.exp: Likewise.
10446 * gdb.python/py-shared.exp: Likewise.
10447 * gdb.reverse/solib-precsave.exp: Likewise.
10448 * gdb.reverse/solib-reverse.exp: Likewise.
10449 * gdb.server/solib-list.exp: Likewise.
10450 * gdb.threads/dlopen-libpthread.exp: Likewise.
10451 * gdb.threads/tls-shared.exp: Likewise.
10452 * gdb.threads/tls-so_extern.exp: Likewise.
10453 * gdb.trace/change-loc.exp: Likewise.
10454 * gdb.trace/ftrace-lock.exp: Likewise.
10455 * gdb.trace/ftrace.exp: Likewise.
10456 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
10457 * gdb.trace/pending.exp: Likewise.
10458 * gdb.trace/range-stepping.exp: Likewise.
10459 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
10460 (strace_info_marker): Likewise.
10461 (strace_probe_marker): Likewise.
10462 (strace_trace_on_same_addr): Likewise.
10463 (strace_trace_on_diff_addr): Likewise.
10464 * gdb.trace/trace-break.exp: Likewise.
10465 * gdb.trace/trace-condition.exp: Likewise.
10466 * gdb.trace/trace-mt.exp: Likewise.
10467
104682016-04-27 Simon Marchi <simon.marchi@ericsson.com>
10469
10470 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
10471 result of gdb_remote_download.
10472 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
10473 * gdb.base/dso2dso.exp: Likewise.
10474 * gdb.base/global-var-nested-by-dso.exp: Likewise.
10475 * gdb.base/print-file-var.exp: Likewise.
10476 * gdb.base/shlib-call.exp: Likewise.
10477 * gdb.base/shreloc.exp: Likewise.
10478 * gdb.base/solib-overlap.exp: Likewise.
10479 * gdb.base/solib-weak.exp (do_test): Likewise.
10480 * gdb.base/unload.exp: Likewise.
10481
104822016-04-27 Yao Qi <yao.qi@linaro.org>
10483
10484 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
10485 exists.
10486
104872016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10488
10489 * vla-type.exp: Print structure from toplevel.
10490
104912016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10492
10493 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
10494 of dynamic types.
10495 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
10496 of dynamic types.
10497
104982016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10499
10500 * gdb.fortran/vla-type.f90: New file.
10501 * gdb.fortran/vla-type.exp: New file.
10502
105032016-04-25 Yao Qi <yao.qi@linaro.org>
10504
10505 * gdb.base/branch-to-self.c: New file.
10506 * gdb.base/branch-to-self.exp: New file.
10507
105082016-04-22 Yao Qi <yao.qi@linaro.org>
10509
10510 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
10511 more after $hex.
10512
105132016-04-22 Yao Qi <yao.qi@linaro.org>
10514
10515 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
10516 * gdb.base/annota3.exp: Likewise.
10517
105182016-04-22 Yao Qi <yao.qi@linaro.org>
10519
10520 * gdb.reverse/step-precsave.exp: Do one step and test program
10521 stops in "callee" and do multiple steps until program goes out
10522 of "callee".
10523 * gdb.reverse/step-reverse.exp: Likewise.
10524
105252016-04-22 Yao Qi <yao.qi@linaro.org>
10526
10527 * gdb.trace/signal.exp: Also pass if
10528 $tracepoint_hits($i) > $iterations.
10529
105302016-04-22 Yao Qi <yao.qi@linaro.org>
10531
10532 * gdb.trace/signal.c: New file.
10533 * gdb.trace/signal.exp: New file.
10534
105352016-04-19 Doug Evans <xdje42@gmail.com>
10536
10537 * gdb.base/bad-file.exp: New file.
10538
105392016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
10540
10541 * gdb.dwarf2/implref.exp: New file.
10542
105432016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
10544
10545 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
10546 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
10547 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
10548 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
10549 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
10550 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
10551 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
10552 * lib/fortran.exp (fortran_int4): New procedure.
10553 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
10554 (fortran_logical4): Likewise.
10555
105562016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
10557
10558 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
10559
105602016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
10561
10562 * lib/compiler.c: Add Intel specific preprocessor macros.
10563 * lib/compiler.cc: Likewise.
10564
105652016-04-13 Luis Machado <lgustavo@codesourcery.com>
10566
10567 * gdb.server/connect-with-no-symbol-file.c: New file.
10568 * gdb.server/connect-with-no-symbol-file.exp: New file.
10569
105702016-04-13 Simon Marchi <simon.marchi@ericsson.com>
10571
10572 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
10573
105742016-04-13 Simon Marchi <simon.marchi@ericsson.com>
10575
10576 * boards/gdbserver-base.exp (${board}_download): Copy source file to
10577 standard output directory.
10578
105792016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
10580
10581 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
10582
105832016-04-13 Markus Metzger <markus.t.metzger@intel.com>
10584
10585 * gdb.btrace/instruction_history.c (loop): Add declaration.
10586
105872016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
10588
10589 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
10590
105912016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
10592
10593 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
10594 parentheses to print.
10595 (continue_handler): Likewise.
10596
105972016-04-08 Simon Marchi <simon.marchi@ericsson.com>
10598
10599 * gdb.server/solib-list.exp: Remove is_remote check.
10600 Pass shlib= to gdb_compile. Don't link shared library with
10601 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
10602 Run binary filename through "readlink -f" on the target.
10603
106042016-04-08 Pedro Alves <palves@redhat.com>
10605
10606 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
10607 interpreter filename as argument to gdbserver_spawn.
10608 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
10609 Return empty if $last_loaded_file does not exist.
10610
106112016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10612
10613 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
10614 * gdb.base/jit-main.c: Use exit after usage.
10615
106162016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10617
10618 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
10619 GDBHISTSIZE prior to the tests.
10620 * gdb.base/gdbinit-history.exp: Likewise.
10621
106222016-04-07 Pedro Alves <palves@redhat.com>
10623
10624 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
10625 instead of build_executable. Use gdb_load_shlibs.
10626
106272016-04-07 Yao Qi <yao.qi@linaro.org>
10628
10629 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
10630 Execute "si" command.
10631
106322016-04-07 Yao Qi <yao.qi@linaro.org>
10633
10634 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
10635 number instead of the comments on some line.
10636
106372016-04-06 Don Breazeal <donb@codesourcery.com>
10638
10639 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
10640 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
10641
106422016-04-06 Simon Marchi <simon.marchi@ericsson.com>
10643
10644 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
10645 standard_output_file. Remove unused binfile variable.
10646
106472016-04-05 Catalin Udma <catalin.udma@freescale.com>
10648
10649 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
10650 * gdb.python/py-mi-objfile.exp: Match "list main" output
10651 in console format.
10652
106532016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
10654
10655 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
10656 absolute.
10657
106582016-04-05 Simon Marchi <simon.marchi@ericsson.com>
10659
10660 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
10661 absolute.
10662 * gdb.trace/ftrace.exp: Likewise.
10663 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
10664 targets as well.
10665 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
10666 (gdb_load_shlibs): Copy libraries to test directory when testing
10667 natively. Only set solib-search-path if testing remotely.
10668 * lib/mi-support.exp (mi_load_shlibs): Likewise.
10669
106702016-04-05 Simon Marchi <simon.marchi@ericsson.com>
10671
10672 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
10673 gdb_download. Use it even if the target is not remote.
10674 * gdb.base/jit.exp (compile_jit_test): Likewise.
10675 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
10676 output directory if the destination board is local, otherwise use
10677 the standard remote_download from DejaGnu.
10678 (gdb_download): Remove.
10679 (gdb_load_shlibs): Use gdb_remote_download instead of
10680 gdb_download.
10681 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
10682 Use gdb_remote_download instead of gdb_download. Use it even if
10683 the target is not remote.
10684 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
10685 instead of gdb_download.
10686
106872016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
10688
10689 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
10690 (test_insert_delete_modify): Call mi_load_shlibs before trying to
10691 run.
10692
106932016-04-01 Artemiy Volkov <artemiyv@acm.org>
10694
10695 PR gdb/19820
10696 * gdb.base/printcmds.exp: Add artificial arrays tests.
10697
106982016-03-31 Pedro Alves <palves@redhat.com>
10699
10700 PR gdb/19858
10701 * gdb.base/jit-main.c: Include unistd.h.
10702 (ATTACH): Define to 0 if not already defined.
10703 (wait_for_gdb, mypid): New globals.
10704 (WAIT_FOR_GDB): New macro.
10705 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
10706 some breakpoint locations.
10707 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
10708 New procedures.
10709 (one_jit_test): Add REATTACH parameter, and handle it. Use
10710 continue_to_test_location.
10711 (top level): Test attach, and adjusts calls to one_jit_test.
10712
107132016-03-31 Pedro Alves <palves@redhat.com>
10714
10715 PR gdb/19858
10716 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
10717 BINSUFFIX parameter, and handle it.
10718 (top level): Adjust calls compile_jit_test.
10719
107202016-03-31 Catalin Udma <catalin.udma@freescale.com>
10721
10722 PR python/19743
10723 * gdb.python/py-mi-events-gdb.py: New file.
10724 * gdb.python/py-mi-events.c: New file.
10725 * gdb.python/py-mi-events.exp: New file.
10726
107272016-03-30 Yao Qi <yao.qi@linaro.org>
10728
10729 * gdb.reverse/until-precsave.exp: Match function name only.
10730 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
10731 Move malloc to a condition block.
10732 * gdb.reverse/until-reverse.exp: Match function name only.
10733
107342016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
10735
10736 * gdb.trace/ftrace.exp: Set arg0exp for s390.
10737 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
10738 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
10739 variable for GPR 0 instead of assuming it is register 0.
10740 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
10741 * lib/trace-support.exp: Add s390 registers.
10742
107432016-03-29 Yao Qi <yao.qi@linaro.org>
10744
10745 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
10746
107472016-03-24 Yao Qi <yao.qi@linaro.org>
10748
10749 * gdb.reverse/break-reverse.exp: Add quotation mark in the
10750 test message.
10751
107522016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10753
10754 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
10755 maintaining separate logic for constructing the output path.
10756
107572016-03-16 Don Breazeal <donb@codesourcery.com>
10758
10759 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
10760 Retry fork and waitpid on interrupted system call errors.
10761 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10762 Use with_timeout_factor to increase timeout by factor of 10.
10763
107642016-03-15 Don Breazeal <donb@codesourcery.com>
10765
10766 * gdb.cp/scope-err.cc: New test program.
10767 * gdb.cp/scope-err.exp: New test script.
10768 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
10769 lines and "set breakpoint here" comment.
10770 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
10771 Fixed some whitespace and format issues.
10772 * gdb.mi/mi-linespec-err-cp.cc: New test program.
10773 * gdb.mi/mi-linespec-err-cp.exp: New test script.
10774
107752016-03-15 Doug Evans <dje@google.com>
10776
10777 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
10778 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
10779 All callers updated. Add tests for enums, mixed flags register.
10780
107812016-03-15 Doug Evans <dje@google.com>
10782
10783 * gdb.base/skip.c (main): Call test_skip_file_and_function.
10784 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
10785
107862016-03-14 Simon Marchi <simon.marchi@ericsson.com>
10787
10788 * gdb.base/default.exp: Add $_as_string to the list of expected
10789 convenience functions.
10790
107912016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
10792
10793 * gdb.base/maint.exp: New tests for 'maint info line-table'.
10794
107952016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
10796
10797 * gdb.python/py-as-string.exp: New file.
10798 * gdb.python/py-as-string.c: New file.
10799
108002016-03-09 Pedro Alves <palves@redhat.com>
10801
10802 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
10803 signal" -> "Thread NN received signal" output change.
10804 * gdb.threads/ia64-sigill.exp: Likewise.
10805 * gdb.threads/linux-dp.exp: Likewise.
10806 * gdb.threads/manythreads.exp: Likewise.
10807 * gdb.threads/pending-step.exp: Likewise.
10808 * gdb.threads/print-threads.exp: Likewise.
10809 * gdb.threads/sigstep-threads.exp: Likewise.
10810 * gdb.threads/staticthreads.exp: Likewise.
10811 * gdb.threads/tls.exp: Likewise.
10812
108132016-03-09 Pedro Alves <palves@redhat.com>
10814
10815 * gdb.base/command-line-input.exp: New file.
10816
108172016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10818
10819 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
10820 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
10821 * gdb.trace/pending.exp: Accept leading dot before function name.
10822 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
10823 * lib/trace-support.exp: Set registers for ppc.
10824
108252016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10826
10827 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
10828 use it for disassembly; accept .main in addition to main in backtrace.
10829
108302016-03-09 Wei-cheng Wang <cole945@gmail.com>
10831 Marcin Kościelnicki <koriakin@0x04.net>
10832
10833 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
10834 (gdb_recursion_test_ptr): New global variable.
10835 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
10836 gdb_recursion_test.
10837 (gdb_c_test): Ditto.
10838
108392016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10840
10841 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
10842 ordering.
10843
108442016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10845
10846 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
10847 (bar): Add bar_start_lbl label.
10848 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
10849 of foo/bar for emitting DWARF and tracing.
10850
108512016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
10852
10853 * analyze-racy-logs.py: Set executable bit.
10854
108552016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
10856
10857 * Makefile.in (DEFAULT_RACY_ITER): New variable.
10858 (CHECK_TARGET_TMP): Likewise.
10859 (check-single-racy): New rule.
10860 (check-parallel-racy): Likewise.
10861 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
10862 (do-check-parallel-racy): New rule.
10863 (check-racy/%.exp): Likewise.
10864 * README (Racy testcases): New section.
10865 * analyze-racy-logs.py: New file.
10866
108672016-03-03 Doug Evans <dje@google.com>
10868
10869 * gdb.base/skip.exp: Use with_test_prefix.
10870
108712016-03-03 Yao Qi <yao.qi@linaro.org>
10872
10873 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
10874 Invoke step_over_syscall "clone" and break_cond_on_syscall
10875 "clone".
10876 * gdb.base/step-over-clone.c: New file.
10877
108782016-03-03 Yao Qi <yao.qi@linaro.org>
10879
10880 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
10881 code format.
10882
108832016-03-03 Yao Qi <yao.qi@linaro.org>
10884
10885 * gdb.base/disp-step-fork.c: Rename to ...
10886 * gdb.base/step-over-fork.c: ... it. New file.
10887 * gdb.base/disp-step-vfork.c: Rename to ...
10888 * gdb.base/step-over-vfork.c: ... it. New file.
10889 * gdb.base/disp-step-syscall.exp: Rename to ...
10890 * gdb.base/step-over-syscall.exp: ... it. New file.
10891 (disp_step_cross_syscall): Rename to ...
10892 (step_over_syscall): ... it.
10893
108942016-03-03 Yao Qi <yao.qi@linaro.org>
10895
10896 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
10897 If target supports condition evaluation on target, invoke
10898 break_cond_on_syscall for fork and vfork.
10899
109002016-03-03 Yao Qi <yao.qi@linaro.org>
10901
10902 * gdb.base/disp-step-syscall.exp: Don't invoke
10903 support_displaced_stepping.
10904 (disp_step_cross_syscall): Test with displaced stepping off and
10905 on if supported.
10906
109072016-03-03 Yao Qi <yao.qi@linaro.org>
10908
10909 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
10910 proc.
10911 (setup): New proc.
10912 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
10913 and setup.
10914
109152016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10916
10917 * gdb.fortran/vla-history.exp: Remove breakpoint.
10918
109192016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10920
10921 * gdb.fortran/vla-history.exp: Lookup array elements and printing
10922 exceeds timeout.
10923
109242016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10925
10926 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
10927 breakpoint.
10928
109292016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10930
10931 * gdb.mi/vla.f90: Nullify pointer after declaration.
10932
109332016-03-01 Pedro Alves <palves@redhat.com>
10934
10935 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
10936
109372016-03-01 Pedro Alves <palves@redhat.com>
10938
10939 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
10940 before anything else.
10941 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
10942 _GNU_SOURCE here.
10943 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
10944 before anything else.
10945 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
10946
109472016-03-01 Pedro Alves <palves@redhat.com>
10948
10949 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
10950
109512016-03-01 Yao Qi <yao.qi@linaro.org>
10952
10953 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
10954 prepare_for_testing.
10955
109562016-03-01 Yao Qi <yao.qi@linaro.org>
10957
10958 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
10959
109602016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10961
10962 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
10963 manually constructing the output path.
10964
109652016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10966
10967 * gdb.arch/s390-stackless.S: New.
10968 * gdb.arch/s390-stackless.exp: New.
10969
109702016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
10971
10972 * gdb.dlang/circular.c: New file.
10973 * gdb.dlang/circular.exp: New file.
10974
109752016-02-26 Yao Qi <yao.qi@linaro.org>
10976
10977 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
10978 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
10979 (testcases): Update.
10980
109812016-02-26 Yao Qi <yao.qi@linaro.org>
10982
10983 * gdb.reverse/aarch64.c: Rename to ...
10984 * gdb.reverse/insn-reverse.c: ... it.
10985 * gdb.reverse/aarch64.exp: Rename to ...
10986 * gdb.reverse/insn-reverse.exp: ... it.
10987
109882016-02-26 Yao Qi <yao.qi@linaro.org>
10989
10990 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
10991 (testcase_ftype): New.
10992 (testcases): New array.
10993 (n_testcases): New.
10994 (main): Call each element in testcases.
10995 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
10996 (read_testcase): New.
10997 Do the tests in a loop.
10998
109992016-02-25 Yao Qi <yao.qi@linaro.org>
11000
11001 * gdb.base/branches.c: Remove.
11002
110032016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11004
11005 PR gdb/13808
11006 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
11007
110082016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11009
11010 * gdb.trace/ftrace.exp: Remove unnecessary target check.
11011
110122016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11013
11014 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
11015 change x86_64 call_insn to 'callq'.
11016
110172016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
11018
11019 * gdb.trace/tfile-avx.c: Move to...
11020 * gdb.trace/tracefile-pseudo-reg.c: Here.
11021 * gdb.trace/tfile-avx.exp: Move to...
11022 * gdb.trace/tracefile-pseudo-reg.exp: Here.
11023
110242016-02-24 Gary Benson <gbenson@redhat.com>
11025
11026 * gdb.base/attach-pie-noexec.exp: Do not expect an error
11027 message on attach.
11028
110292016-02-23 Doug Evans <dje@google.com>
11030
11031 * gdb.base/skip.c (test_skip): New function.
11032 (end_test_skip_file_and_function): New function.
11033 (test_skip_file_and_function): New function.
11034 * gdb.base/skip1.c (test_skip): New function.
11035 (skip1_test_skip_file_and_function): New function.
11036 * gdb.base/skip.exp: Add tests for new skip options.
11037 * gdb.base/skip-solib.exp: Update expected output.
11038 * gdb.perf/skip-command.cc: New file.
11039 * gdb.perf/skip-command.exp: New file.
11040 * gdb.perf/skip-command.py: New file.
11041
110422016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
11043
11044 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
11045 info registers pattern.
11046
110472016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
11048
11049 * lib/future.exp: Add D support.
11050 (gdb_find_gdc): New proc.
11051 (gdb_default_target_compile): Add D support.
11052
110532016-02-18 Wei-cheng Wang <cole945@gmail.com>
11054
11055 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
11056 user+system time.
11057 (trace_speed_test): Determine the iteration count for a time
11058 between 15..30 seconds.
11059
110602016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
11061
11062 * gdb.arch/i386-mpx-sigsegv.c: New file.
11063 * gdb.arch/i386-mpx-sigsegv.exp: New file.
11064 * gdb.arch/i386-mpx-simple_segv.c: New file.
11065 * gdb.arch/i386-mpx-simple_segv.exp: New file.
11066
110672016-02-18 Yao Qi <yao.qi@linaro.org>
11068
11069 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
11070 Don't call setup_kfail.
11071
110722016-02-18 Yao Qi <yao.qi@linaro.org>
11073
11074 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
11075 Set "set breakpoint condition-evaluation" per $cond_bp_target.
11076
110772016-02-16 Doug Evans <dje@google.com>
11078
11079 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
11080 * gdb.base/skip1.c: Ditto.
11081 * gdb.base/skip.exp: Whitespace cleanup.
11082
110832016-02-16 Don Breazeal <donb@codesourcery.com>
11084
11085 PR remote/19496
11086 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
11087 Remove kfail for PR remote/19496.
11088
110892016-02-16 Simon Marchi <simon.marchi@ericsson.com>
11090
11091 * lib/gdb.exp (standard_temp_file): Return a path specific to
11092 the runtest invocation.
11093
110942016-02-16 Simon Marchi <simon.marchi@ericsson.com>
11095
11096 * gdb.trace/save-trace.exp: Change relative path to be in the
11097 standard output directory.
11098
110992016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11100
11101 * gdb.arch/i386-prologue.c: Add missing prototypes.
11102
111032016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11104
11105 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
11106 * gdb.arch/i386-prologue.exp: Likewise.
11107 * gdb.arch/i386-size.exp: Likewise.
11108
111092016-02-15 Simon Marchi <simon.marchi@ericsson.com>
11110
11111 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
11112 define object file path.
11113 * gdb.btrace/gcore.exp: Use standard_output_file to define core
11114 file path.
11115 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
11116 standard_output_file to define binfile.
11117
111182016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11119
11120 Fix compatibility with recent gfortran-5.3.1.
11121 * gdb.fortran/vla-history.exp (print vla1 allocated)
11122 (print vla2 allocated, print $2, print $3): Remove
11123 (print $4): Rename to ...
11124 (print $2): ... here.
11125 (print $9): Rename to ...
11126 (print $5): ... here.
11127 (print $10): Rename to ...
11128 (print $6): ... here.
11129 * gdb.fortran/vla.f90: Add pvla initialization.
11130
111312016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11132
11133 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
11134 New test.
11135 * gdb.fortran/vla-value-sub.exp: Likewise.
11136
111372016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
11138
11139 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
11140
111412016-02-12 Simon Marchi <simon.marchi@ericsson.com>
11142
11143 * i386-biarch-core.exp: Define corefile using
11144 standard_output_file.
11145
111462016-02-12 Yao Qi <yao.qi@linaro.org>
11147
11148 * gdb.arch/arm-single-step-kernel-helper.c: New.
11149 * gdb.arch/arm-single-step-kernel-helper.exp: New.
11150
111512016-02-12 Markus Metzger <markus.t.metzger@intel.com>
11152
11153 * gdb.btrace/tailcall-only.exp: New.
11154 * gdb.btrace/tailcall-only.c: New.
11155 * gdb.btrace/x86_64-tailcall-only.S: New.
11156 * gdb.btrace/i686-tailcall-only.S: New.
11157
111582016-02-11 Pedro Alves <palves@redhat.com>
11159
11160 * README (Parallel testing): Add missing double quotes.
11161
111622016-02-11 Pedro Alves <palves@redhat.com>
11163
11164 * README (Parallel testing): New section.
11165 (GDB_PARALLEL): Rewrite.
11166 (FORCE_PARALLEL): Document.
11167
111682016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
11169
11170 * gdb.trace/tfile-avx.c: New test.
11171 * gdb.trace/tfile-avx.exp: New test.
11172
111732016-02-09 Keith Seitz <keiths@redhat.com>
11174
11175 PR breakpoints/19546
11176 * gdb.base/infcall-exec.c: New file.
11177 * gdb.base/infcall-exec2.c: New file.
11178 * gdb.base/infcall-exec.exp: New file.
11179
111802016-02-09 Keith Seitz <keiths@redhat.com>
11181
11182 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
11183 (toplevel): Call test_bkpt_address.
11184
111852016-02-09 Keith Seitz <keiths@redhat.com>
11186
11187 PR python/19506
11188 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
11189 (toplevel): Call test_bkpt_address.
11190
111912016-02-09 Simon Marchi <simon.marchi@ericsson.com>
11192
11193 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
11194 to AC_OUTPUT.
11195 * configure: Regenerate.
11196
111972016-02-09 Pedro Alves <palves@redhat.com>
11198
11199 PR breakpoints/19548
11200 * gdb.base/execl-update-breakpoints.c (some_function): New
11201 function.
11202 (main): Call it.
11203 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
11204 Tighten expected GDB output.
11205
112062016-02-08 Simon Marchi <simon.marchi@ericsson.com>
11207
11208 * Makefile.in (ALL_SUBDIRS): Remove.
11209 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
11210 (distclean maintainer-clean realclean): Likewise.
11211 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
11212 * configure: Regenerate.
11213 * gdb.ada/Makefile.in: Delete.
11214 * gdb.arch/Makefile.in: Likewise.
11215 * gdb.asm/Makefile.in: Likewise.
11216 * gdb.base/Makefile.in: Likewise.
11217 * gdb.btrace/Makefile.in: Likewise.
11218 * gdb.cell/Makefile.in: Likewise.
11219 * gdb.compile/Makefile.in: Likewise.
11220 * gdb.cp/Makefile.in: Likewise.
11221 * gdb.disasm/Makefile.in: Likewise.
11222 * gdb.dlang/Makefile.in: Likewise.
11223 * gdb.dwarf2/Makefile.in: Likewise.
11224 * gdb.fortran/Makefile.in: Likewise.
11225 * gdb.gdb/Makefile.in: Likewise.
11226 * gdb.go/Makefile.in: Likewise.
11227 * gdb.guile/Makefile.in: Likewise.
11228 * gdb.java/Makefile.in: Likewise.
11229 * gdb.linespec/Makefile.in: Likewise.
11230 * gdb.mi/Makefile.in: Likewise.
11231 * gdb.modula2/Makefile.in: Likewise.
11232 * gdb.multi/Makefile.in: Likewise.
11233 * gdb.objc/Makefile.in: Likewise.
11234 * gdb.opencl/Makefile.in: Likewise.
11235 * gdb.opt/Makefile.in: Likewise.
11236 * gdb.pascal/Makefile.in: Likewise.
11237 * gdb.perf/Makefile.in: Likewise.
11238 * gdb.python/Makefile.in: Likewise.
11239 * gdb.reverse/Makefile.in: Likewise.
11240 * gdb.server/Makefile.in: Likewise.
11241 * gdb.stabs/Makefile.in: Likewise.
11242 * gdb.threads/Makefile.in: Likewise.
11243 * gdb.trace/Makefile.in: Likewise.
11244 * gdb.xml/Makefile.in: Likewise.
11245 * lib/gdb.exp (make_gdb_parallel_path): Add check for
11246 GDB_PARALLEL.
11247 (standard_output_file): Remove check for GDB_PARALLEL, always
11248 return path in outputs/$subdir/$testname.
11249
112502016-02-08 Simon Marchi <simon.marchi@ericsson.com>
11251
11252 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
11253 (site.exp): Assign abs_srcdir to tcl's srcdir.
11254
112552016-02-04 Yao Qi <yao.qi@linaro.org>
11256
11257 * gdb.base/foll-exec-mode.c: Include limits.h.
11258 (main): Add parameters argc and argv. Get directory from
11259 argv[0].
11260 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
11261 compilation.
11262 * gdb.base/foll-exec.c: Include limits.h.
11263 (main): Add parameters argc and argv.
11264 Get directory from argv[0].
11265 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
11266 Adjust tests on the number of lines as source code changed.
11267 * gdb.base/foll-vfork-exit.c: Include limits.h.
11268 (main): Add one line of statement before vfork.
11269 * gdb.base/foll-vfork.c: Include limits.h and string.h.
11270 (main): Add parameters argc and argv. Get directory from
11271 argv[0].
11272 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
11273 (setup_gdb): Set tbreak to skip some source lines.
11274 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
11275 (main): Add parameters argc and argv. Get directory from
11276 argv[0].
11277 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
11278 compilation.
11279 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
11280 (main): Add parameters argc and argv. Get directory from
11281 argv[0].
11282 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
11283 compilation.
11284
112852016-02-01 Doug Evans <dje@google.com>
11286
11287 * gdb.base/skip.exp: Clean up multiple references to same test name.
11288
112892016-02-01 Pedro Alves <palves@redhat.com>
11290
11291 PR remote/19496
11292 * gdb.threads/forking-threads-plus-breakpoint.exp
11293 (displaced_stepping_supported): New global.
11294 (probe_displaced_stepping_support): New procedure.
11295 (do_test): Add 'displaced' parameter, and use it.
11296 (top level): Check for displaced stepping support. Add displaced
11297 stepping on/off testing axis.
11298
112992016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
11300
11301 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
11302 pointer. Don't perform further tests on the unassociated pointer
11303 if the first test fails.
11304
113052016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
11306
11307 * gdb.base/max-value-size.c: New file.
11308 * gdb.base/max-value-size.exp: New file.
11309 * gdb.base/huge.exp: Disable max-value-size for this test.
11310
113112016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
11312
11313 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
11314
113152016-01-28 Yao Qi <yao.qi@linaro.org>
11316
11317 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
11318
113192016-01-25 Pedro Alves <palves@redhat.com>
11320
11321 PR threads/19461
11322 * gdb.base/fork-running-state.c: New file.
11323 * gdb.base/fork-running-state.exp: New file.
11324
113252016-01-25 Pedro Alves <palves@redhat.com>
11326
11327 PR gdb/19494
11328 * gdb.base/catch-fork-kill.c: New file.
11329 * gdb.base/catch-fork-kill.exp: New file.
11330
113312016-01-25 Pedro Alves <palves@redhat.com>
11332
11333 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
11334 Delete, moved to lib/gdb.exp.
11335 * gdb.threads/forking-threads-plus-breakpoint.exp
11336 (foreach_with_prefix): Likewise.
11337 * gdb.threads/process-dies-while-handling-bp.exp
11338 (foreach_with_prefix): Likewise.
11339 * lib/gdb.exp (foreach_with_prefix): New procedure.
11340
113412016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
11342
11343 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
11344 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
11345
113462016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
11347
11348 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
11349 endian targets.
11350
113512016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11352 Pedro Alves <palves@redhat.com>
11353
11354 Fix testsuite compatibility with Guile.
11355 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
11356 number.
11357
113582016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11359
11360 Fix testsuite compatibility with Guile.
11361 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
11362 (thread 1): New test for backtrace through signal handler.
11363
113642016-01-22 Yao Qi <yao.qi@linaro.org>
11365
11366 PR testsuite/19491
11367 * gdb.base/multi-forks.c: Include
11368 ../lib/unbuffer_output.c
11369 (main): Call gdb_unbuffer_output.
11370
113712016-01-21 Doug Evans <dje@google.com>
11372
11373 * lib/ada.exp (gdb_compile_ada): Fix typo.
11374
113752016-01-21 Joel Brobecker <brobecker@adacore.com>
11376
11377 * gdb.base/break-fun-addr.exp: New file.
11378 * gdb.base/break-fun-addr1.c: New file.
11379 * gdb.base/break-fun-addr2.c: New file.
11380
113812016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
11382
11383 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
11384 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
11385 enum flag values.
11386
113872016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11388
11389 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
11390 when GDB can not set the vector return value. Add more comments
11391 for clarification.
11392
113932016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
11394
11395 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
11396 command.
11397
113982016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11399
11400 * Makefile.in (DO_RUNTEST): Add --status and update usages.
11401
114022016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11403
11404 * Makefile.in (check-single): Pass --status to runtest.
11405 (check/%.exp): Likewise.
11406
114072016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11408
11409 * Makefile.in (check-parallel): Propagate return code from make
11410 do-check-parallel.
11411
114122016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
11413
11414 * gdb.trace/ftrace.exp: Fix expected message on continue.
11415 * gdb.trace/pending.exp: Fix expected message on continue.
11416 * gdb.trace/trace-break.exp: Fix expected message on continue.
11417
114182016-01-18 Simon Marchi <simon.marchi@ericsson.com>
11419
11420 * lib/gdb.exp (gdb_test): Remove unused global references.
11421
114222016-01-18 Pedro Alves <palves@redhat.com>
11423
11424 * gdb.base/async-shell.exp: Adjust expected output.
11425 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
11426 * gdb.base/siginfo-thread.exp: Adjust expected output.
11427 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
11428 * gdb.java/jnpe.exp: Adjust expected output.
11429 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
11430 * gdb.threads/continue-pending-status.exp: Adjust expected output.
11431 * gdb.threads/leader-exit.exp: Adjust expected output.
11432 * gdb.threads/manythreads.exp: Adjust expected output.
11433 * gdb.threads/pthreads.exp: Adjust expected output.
11434 * gdb.threads/schedlock.exp: Adjust expected output.
11435 * gdb.threads/siginfo-threads.exp: Adjust expected output.
11436 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
11437 expected output.
11438 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
11439 output.
11440 * gdb.threads/sigthread.exp: Adjust expected output.
11441 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
11442
114432016-01-18 Yao Qi <yao.qi@linaro.org>
11444
11445 * gdb.guile/scm-section-script.c: Replace @progbits with
11446 %progbits.
11447 * gdb.python/py-section-script.c: Likewise.
11448
114492016-01-15 Pedro Alves <palves@redhat.com>
11450
11451 * gdb.multi/tids.exp: Test star wildcard ranges.
11452
114532016-01-15 Pedro Alves <palves@redhat.com>
11454
11455 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
11456 command from "thread apply" invocation.
11457 (thr_apply_info_thr_invalid): Default the expected output to the
11458 input tid list.
11459 (top level): Add tests that use convenience variables. Add tests
11460 for "thread apply" with a valid TID list, but missing the command.
11461
114622016-01-13 Pedro Alves <palves@redhat.com>
11463
11464 * gdb.base/default.exp: Expect $_gthread as well.
11465 * gdb.multi/tids.exp: Test $_gthread.
11466 * gdb.threads/thread-specific.exp: Test $_gthread.
11467
114682016-01-13 Pedro Alves <palves@redhat.com>
11469
11470 * gdb.multi/tids.exp: Test "info threads -gid".
11471
114722016-01-13 Pedro Alves <palves@redhat.com>
11473
11474 * gdb.multi/tids.exp: Test InferiorThread.global_num and
11475 Breakpoint.thread.
11476 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
11477
114782016-01-07 Pedro Alves <palves@redhat.com>
11479
11480 * gdb.base/break.exp: Adjust to output changes.
11481 * gdb.base/hbreak2.exp: Likewise.
11482 * gdb.base/sepdebug.exp: Likewise.
11483 * gdb.base/watch_thread_num.exp: Likewise.
11484 * gdb.linespec/keywords.exp: Likewise.
11485 * gdb.multi/info-threads.exp: Likewise.
11486 * gdb.threads/thread-find.exp: Likewise.
11487 * gdb.multi/tids.c: New file.
11488 * gdb.multi/tids.exp: New file.
11489
114902016-01-13 Pedro Alves <palves@redhat.com>
11491
11492 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
11493
114942016-01-13 Pedro Alves <palves@redhat.com>
11495
11496 * gdb.base/default.exp: Expect $_inferior as well.
11497 * gdb.multi/base.exp: Test $_inferior.
11498
114992016-01-13 Pedro Alves <palves@redhat.com>
11500
11501 PR breakpoints/19388
11502 * gdb.base/catch-signal-siginfo-cond.c: New file.
11503 * gdb.base/catch-signal-siginfo-cond.exp: New file.
11504
115052016-01-12 Josh Stone <jistone@redhat.com>
11506 Philippe Waroquiers <philippe.waroquiers@skynet.be>
11507
11508 * gdb.base/catch-syscall.c (do_execve): New variable.
11509 (main): Conditionally trigger an execve.
11510 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
11511 (test_catch_syscall_execve): New, check entry/return across execve.
11512 (do_syscall_tests): Call test_catch_syscall_execve.
11513
115142016-01-12 Pedro Alves <palves@redhat.com>
11515
11516 * gdb.base/random-signal.exp (do_test): New procedure, with body
11517 of testcase moved in.
11518
115192016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11520 Pedro Alves <palves@redhat.com>
11521
11522 * gdb.base/funcargs.exp (finish from indirectly called function):
11523 Reintroduce the case for 'First'.
11524
115252016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11526 Pedro Alves <palves@redhat.com>
11527
11528 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
11529 (tcatch_vfork_then_child_follow_exec)
11530 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
11531 identification.
11532
115332016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11534
11535 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
11536 and repeats to unlimited.
11537 * gdb.python/py-value.exp: Likewise.
11538 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
11539 and repeats to unlimited.
11540
115412016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11542
11543 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
11544 and reordering the functions.
11545 * gdb.multi/hangout.c: Likewise.
11546 * gdb.multi/hello.c: Likewise.
11547
115482016-01-08 Simon Marchi <simon.marchi@ericsson.com>
11549
11550 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
11551 absolute.
11552 (SingleStatisticTestResult.report): Use dict.keys instead of
11553 dict.iterkeys.
11554
115552016-01-06 Pedro Alves <palves@redhat.com>
11556
11557 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
11558
115592016-01-04 Markus Metzger <markus.t.metzger@intel.com>
11560
11561 * gdb.btrace/dlopen.exp: New.
11562 * gdb.btrace/dlopen.c: New.
11563 * gdb.btrace/dlopen-dso.c: New.
11564
115652015-12-25 Sandra Loosemore <sandra@codesourcery.com>
11566
11567 * lib/gdb.exp (gdb_test): Update comments to clarify that the
11568 PATTERN argument is optional.
11569
115702015-12-24 Joel Brobecker <brobecker@adacore.com>
11571
11572 * lib/ada.exp (target_compile_ada_from_dir): New function.
11573 (gdb_compile_ada): Reimplement avoiding the use of project files.
11574 * gdb.ada/gnat_ada.gpr: Delete.
11575 * gdb.ada/cond_lang.exp: Adjust test to make path before
11576 filename optional.
11577 * gdb.ada/small_reg_param.exp: Likewise.
11578
115792015-12-22 Simon Marchi <simon.marchi@ericsson.com>
11580
11581 * gdb.base/foll-vork.exp: Remove HP-UX special case.
11582
115832015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
11584
11585 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
11586 case.
11587
115882015-12-21 Simon Marchi <simon.marchi@ericsson.com>
11589
11590 * gdb.base/break.exp: Remove dead code.
11591 * gdb.base/sepdebug.exp: Likewise.
11592
115932015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
11594
11595 * gdb.asm/asm-source.exp: Remove HP-UX references.
11596 * gdb.base/annota1.exp: Likewise.
11597 * gdb.base/annota3.exp: Likewise.
11598 * gdb.base/attach.exp: Likewise.
11599 * gdb.base/bigcore.exp: Likewise.
11600 * gdb.base/break.exp: Likewise.
11601 * gdb.base/call-ar-st.exp: Likewise.
11602 * gdb.base/callfuncs.exp: Likewise.
11603 * gdb.base/catch-fork-static.exp: Likewise.
11604 * gdb.base/display.exp: Likewise.
11605 * gdb.base/foll-exec-mode.exp: Likewise.
11606 * gdb.base/foll-exec.exp: Likewise.
11607 * gdb.base/foll-fork.exp: Likewise.
11608 * gdb.base/foll-vfork.exp: Likewise.
11609 * gdb.base/funcargs.exp: Likewise.
11610 * gdb.base/hbreak2.exp: Likewise.
11611 * gdb.base/inferior-died.exp: Likewise.
11612 * gdb.base/interrupt.exp: Likewise.
11613 * gdb.base/multi-forks.exp: Likewise.
11614 * gdb.base/nodebug.exp: Likewise.
11615 * gdb.base/sepdebug.exp: Likewise.
11616 * gdb.base/solib1.c: Likewise.
11617 * gdb.base/step-test.exp: Likewise.
11618 * gdb.mi/non-stop.c: Likewise.
11619 * gdb.mi/pthreads.c: Likewise.
11620 * gdb.multi/bkpt-multi-exec.ex: Likewise.
11621 * gdb.threads/pthreads.c: Likewise.
11622 * gdb.threads/staticthreads.exp: Likewise.
11623 * lib/future.exp: Likewise.
11624 * lib/gdb.exp: Likewise.
11625 * gdb.base/so-indr-cl.c: Remove.
11626 * gdb.base/so-indr-cl.exp: Likewise.
11627 * gdb.base/solib.c: Likewise.
11628 * gdb.base/solib.exp: Likewise.
11629 * gdb.base/solib2.c: Likewise.
11630
116312015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
11632
11633 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
11634 * gdb.base/call-ar-st.exp: Likewise.
11635 * gdb.base/callfuncs.exp: Likewise.
11636 * gdb.base/condbreak.exp: Likewise.
11637 * gdb.base/constvars.exp: Likewise.
11638 * gdb.base/hbreak2.exp: Likewise.
11639 * gdb.base/langs.exp: Likewise.
11640 * gdb.base/list.exp: Likewise.
11641 * gdb.base/long_long.exp: Likewise.
11642 * gdb.base/ptype.exp: Likewise.
11643 * gdb.base/scope.exp: Likewise.
11644 * gdb.base/signals.exp: Likewise.
11645 * gdb.base/so-impl-ld.exp: Likewise.
11646 * gdb.base/varargs.exp: Likewise.
11647 * gdb.base/volatile.exp: Likewise.
11648 * gdb.base/whatis.exp: Likewise.
11649 * gdb.cp/cplusfuncs.exp: Likewise.
11650 * gdb.cp/inherit.exp: Likewise.
11651 * gdb.cp/local.exp: Likewise.
11652 * gdb.cp/member-ptr.exp: Likewise.
11653 * gdb.cp/method.exp: Likewise.
11654 * gdb.cp/overload.exp: Likewise.
11655 * gdb.cp/templates.exp: Likewise.
11656 * gdb.stabs/weird.exp: Likewise.
11657 * lib/compiler.c: Likewise.
11658 * lib/compiler.cc: Likewise.
11659 * lib/cp-support.exp: Likewise.
11660 * lib/gdb.exp: Likewise.
11661
116622015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
11663
11664 * configure.ac: Remove HP-UX case.
11665 * configure: Regenerate.
11666
116672015-12-18 Simon Marchi <simon.marchi@ericsson.com>
11668
11669 * lib/gdb.exp (gdb_compile): Add function doc.
11670
116712015-12-17 Pedro Alves <palves@redhat.com>
11672
11673 PR threads/19354
11674 * gdb.multi/info-threads.exp: New file.
11675
116762015-12-15 Yao Qi <yao.qi@linaro.org>
11677
11678 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
11679 is aarch64*-*-*.
11680
116812015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11682
11683 * gdb.base/history-duplicates.exp: Skip if no readline support.
11684
116852015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11686
11687 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
11688
116892015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11690
11691 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
11692
116932015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11694
11695 * gdb.base/completion.exp: Skip tests that interrupt GDB with
11696 ctrl-C if nointerrupts target property is set.
11697 * gdb.base/double-prompt-target-event-error.exp: Likewise.
11698 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
11699 * gdb.base/paginate-bg-execution.exp: Likewise.
11700 * gdb.base/paginate-execution-startup.exp: Likewise.
11701 * gdb.base/random-signal.exp: Likewise.
11702 * gdb.base/range-stepping.exp: Likewise.
11703 * gdb.cp/annota2.exp: Likewise.
11704 * gdb.cp/annota3.exp: Likewise.
11705 * gdb.gdb/selftest.exp: Likewise.
11706 * gdb.threads/continue-pending-status.exp: Likewise.
11707 * gdb.threads/leader-exit.exp: Likewise.
11708 * gdb.threads/manythreads.exp: Likewise.
11709 * gdb.threads/pthreads.exp: Likewise.
11710 * gdb.threads/schedlock.exp: Likewise.
11711 * gdb.threads/sigthread.exp: Likewise.
11712
117132015-12-11 Don Breazeal <donb@codesourcery.com>
11714
11715 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
11716 remote.
11717 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
11718 * gdb.base/foll-exec.exp (main): Enable for target remote.
11719 * gdb.base/foll-fork.exp (main): Likewise.
11720 * gdb.base/foll-vfork.exp (main): Likewise.
11721 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
11722 (proc continue_to_exit_bp_loc): Use clean_restart.
11723 * gdb.base/pie-execl.exp (main): Disable for target remote.
11724 * gdb.base/watch-vfork.exp (main): Enable for target remote.
11725 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
11726 * gdb.threads/execl.exp (main): Likewise.
11727 * gdb.threads/fork-child-threads.exp (main): Likewise.
11728 * gdb.threads/fork-plus-threads.exp (main): Disable for target
11729 remote.
11730 * gdb.threads/fork-thread-pending.exp (main): Enable for target
11731 remote.
11732 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
11733 pid.tid style ptids, instead of just tid.
11734 * gdb.threads/thread-execl.exp (main): Enable for target remote.
11735 * gdb.threads/watchpoint-fork.exp (main): Likewise.
11736 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
11737 ptids, instead of just tid.
11738
117392015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11740
11741 * gdb.base/list.exp (test_list_forward): Add end of file error
11742 test.
11743 (test_repeat_list_command): Add end of file error test.
11744 (test_list_backwards): Add beginning of file error test.
11745
117462015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11747
11748 * gdb.base/list.exp (test_list_invalid_args): New function,
11749 defined, and called.
11750
117512015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11752
11753 * gdb.base/list.exp (test_list): Make test names unique.
11754
117552015-12-11 Yao Qi <yao.qi@linaro.org>
11756
11757 * gdb.base/coremaker2.c: Remove.
11758
117592015-12-10 Pedro Alves <palves@redhat.com>
11760
11761 * gdb.multi/base.exp: Remove stale "spaces" references.
11762
117632015-12-10 Pedro Alves <palves@redhat.com>
11764
11765 * gdb.multi/base.exp: Don't use nowarnings.
11766 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
11767 * gdb.multi/hangout.c: Include stdio.h.
11768 * gdb.multi/hello.c: Include stdlib.h.
11769 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
11770 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
11771 * gdb.multi/multi-arch.exp: Don't use nowarnings.
11772
117732015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
11774
11775 * gdb.dwarf2/dw2-ranges-base.c: New file.
11776 * gdb.dwarf2/dw2-ranges-base.exp: New file.
11777 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
11778 support additional line table, and debug ranges generation.
11779 (Dwarf::ranges): New function, generate .debug_ranges.
11780 (Dwarf::lines): Support generating simple line table programs.
11781 (Dwarf::assemble): Initialise new namespace variables.
11782
117832015-12-09 Kevin Buettner <kevinb@redhat.com>
11784
11785 * gdb.base/async.exp (proc test_background): Add case for
11786 asynchronous execution not supported.
11787
117882015-12-09 Luis Machado <lgustavo@codesourcery.com>
11789
11790 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
11791 format and change test names to make them unique.
11792
117932015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
11794 Pedro Alves <pedro@redhat.com>
11795
11796 PR gdb/18702
11797 Add checking of floatformats setup on x86_64 hosts.
11798 * gdb.arch/i386-float.S (main): Load bigval and smallval.
11799 (smallval, bigval): New labels/constants.
11800 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
11801 float" after loading bigval and smallval.
11802
118032015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
11804
11805 * gdb.ada/fun_overload_menu.exp: New testcase.
11806 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
11807
118082015-12-04 Josh Stone <jistone@redhat.com>
11809
11810 * gdb.base/catch-fork-static.exp: New.
11811
118122015-12-03 Yao Qi <yao.qi@linaro.org>
11813
11814 * gdb.base/sizeof.c: Don't include stdio.h and
11815 ../lib/unbuffer_output.c.
11816 (main): New variable 'size' and 'value'. Remove printf and
11817 gdb_unbuffer_output. Assign return value to size and value.
11818 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
11819 at the beginning.
11820 (check_sizeof): Check the result by printing variable 'size'.
11821 (check_valueof): Check the result by printing variable 'value'.
11822
118232015-12-01 Yao Qi <yao.qi@linaro.org>
11824
11825 * gdb.base/disp-step-syscall.exp: Define syscall instruction
11826 for aarch64*-*-linux* target.
11827
118282015-11-30 Pedro Alves <palves@redhat.com>
11829
11830 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
11831
118322015-11-30 Pedro Alves <palves@redhat.com>
11833
11834 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
11835 Handle non-stop mode vCont replies.
11836
118372015-11-30 Pedro Alves <palves@redhat.com>
11838
11839 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
11840 prepare_for_testing. Start gdb with "set non-stop on" appended to
11841 GDBFLAGS. Lax expected stop output.
11842
118432015-11-27 Yao Qi <yao.qi@linaro.org>
11844
11845 * gdb.arch/arm-neon.exp: New.
11846 * gdb.arch/arm-neon.c: New.
11847
118482015-11-27 Yao Qi <yao.qi@linaro.org>
11849
11850 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
11851
118522015-11-27 Yao Qi <yao.qi@linaro.org>
11853
11854 * gdb.cp/annota2.exp: Allow multiple occurrences of the
11855 frames-invalid annotation.
11856
118572015-11-27 Yao Qi <yao.qi@linaro.org>
11858
11859 * gdb.cp/annota2.exp: Use ${frames_invalid}.
11860
118612015-11-26 Simon Marchi <simon.marchi@ericsson.com>
11862
11863 * gdb.threads/names.exp: New file.
11864 * gdb.threads/names.c: New file.
11865 * README: Mention gdb,no_thread_names.
11866
118672015-11-26 Markus Metzger <markus.t.metzger@intel.com>
11868
11869 PR 19297
11870 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
11871 support" error.
11872
118732015-11-24 Pedro Alves <palves@redhat.com>
11874
11875 PR 17539
11876 * gdb.base/display.exp: Expect displays to be sorted in ascending
11877 order. Use multi_line.
11878 * gdb.base/solib-display.exp: Likewise.
11879
118802015-11-24 Pedro Alves <palves@redhat.com>
11881
11882 PR 17539
11883 * gdb.base/display.exp: Expect displays to be sorted in ascending
11884 order. Use multi_line.
11885 * gdb.base/solib-display.exp: Likewise.
11886
118872015-11-24 Pedro Alves <palves@redhat.com>
11888
11889 PR 17539
11890 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
11891 threads in ascending order.
11892 * gdb.base/foll-fork.exp: Likewise.
11893 * gdb.base/foll-vfork.exp: Likewise.
11894 * gdb.base/multi-forks.exp: Likewise.
11895 * gdb.mi/mi-nonstop.exp: Likewise.
11896 * gdb.mi/mi-nsintrall.exp: Likewise.
11897 * gdb.multi/base.exp: Likewise.
11898 * gdb.multi/multi-arch.exp: Likewise.
11899 * gdb.python/py-inferior.exp: Likewise.
11900 * gdb.threads/break-while-running.exp: Likewise.
11901 * gdb.threads/execl.exp: Likewise.
11902 * gdb.threads/gcore-thread.exp: Likewise.
11903 * gdb.threads/info-threads-cur-sal.exp: Likewise.
11904 * gdb.threads/kill.exp: Likewise.
11905 * gdb.threads/linux-dp.exp: Likewise.
11906 * gdb.threads/multiple-step-overs.exp: Likewise.
11907 * gdb.threads/next-bp-other-thread.exp: Likewise.
11908 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
11909 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
11910 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
11911 * gdb.threads/thread-find.exp: Likewise.
11912 * gdb.threads/tls.exp: Likewise.
11913 * lib/mi-support.exp (mi_reverse_list): Delete.
11914 (mi_check_thread_states): No longer reverse list.
11915
119162015-11-24 Pedro Alves <palves@redhat.com>
11917
11918 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
11919 use lowercase.
11920
119212015-11-23 Simon Marchi <simon.marchi@ericsson.com>
11922
11923 * gdb.trace/actions.c: Include trace-common.h.
11924 (main): Add a location for a fast tracepoint.
11925 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
11926 the normal tracepoints.
11927 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
11928
119292015-11-23 Simon Marchi <simon.marchi@ericsson.com>
11930
11931 * save-trace.exp: Factor out code to these...
11932 (gdb_save_tracepoints): New.
11933 (gdb_load_tracepoints): New.
11934 (do_save_load_test): New.
11935
119362015-11-23 Kevin Buettner <kevinb@redhat.com>
11937
11938 * gdb.base/asmlabel.exp: New test.
11939 * gdb.base/asmlabel.c: New test case.
11940
119412015-11-23 Joel Brobecker <brobecker@adacore.com>
11942
11943 * gdb.base/wrong_frame_bt_full-main.c: New file.
11944 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
11945 * gdb.base/wrong_frame_bt_full.exp: New file.
11946
119472015-11-23 Joel Brobecker <brobecker@adacore.com>
11948
11949 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
11950
119512015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
11952
11953 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
11954 pstate register when comparing registers values in
11955 sparc64-*-linux-gnu targets to avoid spurious differences.
11956
119572015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
11958
11959 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
11960
119612015-11-19 Sandra Loosemore <sandra@codesourcery.com>
11962
11963 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
11964 as type argument to gdb_compile.
11965 * gdb.base/nested-subp2.exp: Likewise.
11966 * gdb.base/nested-subp3.exp: Likewise.
11967
119682015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
11969
11970 * lib/dwarf.exp (_note): Fix left shift of negative value.
11971 * gdb.trace/trace-condition.exp: Likewise.
11972
119732015-11-13 Yao Qi <yao.qi@linaro.org>
11974
11975 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
11976 comments about d10v.
11977 (test_scalar_returns): Likewise.
11978 * gdb.base/d10v.ld: Remove.
11979 * gdb.base/overlays.exp: Remove the target triplet checking for
11980 d10v-*-*.
11981 * gdb.base/structs.exp (test_struct_returns): Remove the
11982 comments about d10v.
11983 (test_struct_calls): Likewise.
11984
119852015-11-13 Yao Qi <yao.qi@linaro.org>
11986
11987 * gdb.base/gnu_vector.exp: Check the return value by "p res".
11988 * gdb.base/gnu_vector.c: Don't include stdio.h.
11989 (main): Don't print res and call add_some_intvecs.
11990
119912015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
11992
11993 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
11994 macro.
11995 (func5): Removed.
11996 (func4): Use FAST_TRACEPOINT_LABEL.
11997 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
11998 macro.
11999 (func): Removed.
12000 (thread_function): Use FAST_TRACEPOINT_LABEL.
12001 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
12002 (func): Remove.
12003 (marker): Use FAST_TRACEPOINT_LABEL.
12004 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
12005 (pendfunc1): Remove.
12006 (pendfunc): Use FAST_TRACEPOINT_LABEL.
12007 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
12008 (foo): Remove.
12009 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
12010 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
12011 macro.
12012 (func): Remove.
12013 (marker): Use FAST_TRACEPOINT_LABEL.
12014 * gdb.trace/trace-common.h: New header.
12015 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
12016 macro.
12017 (func): Remove.
12018 (marker): Use FAST_TRACEPOINT_LABEL.
12019 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
12020 (func): Remove.
12021 (thread_function): Use FAST_TRACEPOINT_LABEL.
12022
120232015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
12024
12025 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
12026 in front.
12027 * gdb.trace/change-loc.exp: Use global pcreg definition.
12028 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
12029 * gdb.trace/entry-values.exp: Use global spreg definition, add $
12030 in front.
12031 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
12032 * gdb.trace/pending.exp: Likewise.
12033 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
12034 * gdb.trace/trace-break.exp: Likewise.
12035 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
12036 in front.
12037 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
12038 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
12039 in front.
12040 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
12041
120422015-11-09 Joel Brobecker <brobecker@adacore.com>
12043
12044 * gdb.ada/fin_fun_out: New testcase.
12045
120462015-11-07 Kevin Buettner <kevinb@redhat.com>
12047
12048 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
12049 value associated with DW_AT_byte_size.
12050 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
12051 constants for DW_AT_byte_size, DW_AT_lower_bound, and
12052 DW_AT_upper_bound.
12053
120542015-11-07 Kevin Buettner <kevinb@redhat.com>
12055
12056 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
12057 (gdb_target_symbol_prefix_flags): Define in terms of _asm
12058 version.
12059 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
12060 gdb.dwarf2/dw2-canonicalize-type.exp,
12061 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
12062 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
12063 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
12064 provided by gdb_target_symbol_prefix_flags_asm.
12065 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
12066 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
12067 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
12068 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
12069 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
12070 macros where needed). Use this macro for symbols which require
12071 the prefix provided by SYMBOL_PREFIX.
12072
120732015-11-05 Kevin Buettner <kevinb@redhat.com>
12074
12075 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
12076 New procs.
12077 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
12078 representing expressions, of more than one list element.
12079 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
12080 to prepend linker symbol prefix to f.
12081 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
12082 table_1 and table_2.
12083 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
12084 Likewise, for f and g.
12085 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
12086 for ptr.
12087 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
12088 for main.
12089 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
12090 table_1_ptr and table_2_ptr.
12091
120922015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12093 Joel Brobecker <brobecker@adacore.com>
12094
12095 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
12096
120972015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
12098
12099 * gdb.reverse/s390-mvcle.c: New test.
12100 * gdb.reverse/s390-mvcle.exp: New file.
12101 * lib/gdb.exp: Enable reverse tests on s390*-linux.
12102
121032015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
12104
12105 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
12106
121072015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
12108
12109 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
12110 reaching marker2.
12111 * gdb.reverse/getresuid-reverse.exp: Likewise.
12112 * gdb.reverse/pipe-reverse.exp: Likewise.
12113 * gdb.reverse/readv-reverse.exp: Likewise.
12114 * gdb.reverse/recvmsg-reverse.exp: Likewise.
12115 * gdb.reverse/time-reverse.exp: Likewise.
12116 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
12117
121182015-10-30 Yao Qi <yao.qi@linaro.org>
12119
12120 * gdb.threads/wp-replication.c (watch_count_done): Remove.
12121 (empty_cycle): Remove.
12122 (main): Don't call empty_cycle. Don't use watch_count_done.
12123 * gdb.threads/wp-replication.exp: Don't set breakpoint on
12124 empty_cycle. Rewrite the code counting HW watchpoints.
12125
121262015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
12127
12128 * gdb.reverse/fstatat-reverse.c: New test.
12129 * gdb.reverse/fstatat-reverse.exp: New file.
12130 * gdb.reverse/getresuid-reverse.c: New test.
12131 * gdb.reverse/getresuid-reverse.exp: New file.
12132 * gdb.reverse/pipe-reverse.c: New test.
12133 * gdb.reverse/pipe-reverse.exp: New file.
12134 * gdb.reverse/readv-reverse.c: New test.
12135 * gdb.reverse/readv-reverse.exp: New file.
12136 * gdb.reverse/recvmsg-reverse.c: New test.
12137 * gdb.reverse/recvmsg-reverse.exp: New file.
12138 * gdb.reverse/time-reverse.c: New test.
12139 * gdb.reverse/time-reverse.exp: New file.
12140 * gdb.reverse/waitpid-reverse.c: New test.
12141 * gdb.reverse/waitpid-reverse.exp: New file.
12142
121432015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
12144
12145 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
12146
121472015-10-26 Doug Evans <dje@google.com>
12148
12149 PR symtab/17391
12150 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
12151 * gdb.dwarf2/bad-regnum.c: New file.
12152 * gdb.dwarf2/bad-regnum.exp: New file.
12153
121542015-10-26 Doug Evans <dje@google.com>
12155
12156 PR python/18938
12157 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
12158 file.
12159
121602015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12161
12162 * gdb.compile/compile.exp (compile code globalvar): Update expectation
12163 for a change by "Mention language in compile error message".
12164
121652015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
12166
12167 PR python/18073
12168 * gdb.python/py-type.c (C::a_method): New.
12169 (C::a_const_method): New.
12170 (C::a_static_method): New.
12171 (a_function): New.
12172 * gdb.python/py-type.exp (test_fields): Test getting fields
12173 from function and method.
12174
121752015-10-21 Keven Boell <keven.boell@intel.com>
12176
12177 * gdb.fortran/vla-alloc-assoc.exp: New file.
12178 * gdb.fortran/vla-datatypes.exp: New file.
12179 * gdb.fortran/vla-datatypes.f90: New file.
12180 * gdb.fortran/vla-history.exp: New file.
12181 * gdb.fortran/vla-ptype-sub.exp: New file.
12182 * gdb.fortran/vla-ptype.exp: New file.
12183 * gdb.fortran/vla-sizeof.exp: New file.
12184 * gdb.fortran/vla-sub.f90: New file.
12185 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
12186 * gdb.fortran/vla-value-sub-finish.exp: New file.
12187 * gdb.fortran/vla-value-sub.exp: New file.
12188 * gdb.fortran/vla-value.exp: New file.
12189 * gdb.fortran/vla-ptr-info.exp: New file.
12190 * gdb.mi/mi-vla-fortran.exp: New file.
12191 * gdb.mi/vla.f90: New file.
12192
121932015-10-21 Sandra Loosemore <sandra@codesourcery.com>
12194
12195 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
12196 of hardwired timeout value.
12197
121982015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12199 Pedro Alves <palves@redhat.com>
12200
12201 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
12202 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
12203
122042015-10-19 Josh Stone <jistone@redhat.com>
12205
12206 * gdb.base/catch-syscall.c: Include <sched.h>.
12207 (unknown_syscall): New variable.
12208 (main): Trigger a vfork and an unknown syscall.
12209 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
12210 (unknown_syscall_number): Likewise.
12211 (check_call_to_syscall): Accept an optional syscall pattern.
12212 (check_return_from_syscall): Likewise.
12213 (check_continue): Likewise.
12214 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
12215 (test_catch_syscall_skipping_return): New test toggling off 'catch
12216 syscall' to step over the syscall return, then toggling back on.
12217 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
12218 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
12219 (do_syscall_tests): Call test_catch_syscall_without_args and
12220 test_catch_syscall_mid_vfork.
12221 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
12222 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
12223
122242015-10-19 Andrew Stubbs <ams@codesourcery.com>
12225
12226 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
12227 print g_vE): Add new pass patterns.
12228 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
12229 print various symbol names for vptr fields.
12230
122312015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
12232
12233 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
12234 results.
12235
122362015-10-12 Yao Qi <yao.qi@linaro.org>
12237
12238 * gdb.arch/disp-step-insn-reloc.exp: New test case.
12239
122402015-10-12 Yao Qi <yao.qi@linaro.org>
12241
12242 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
12243 is aarch64*-*-linux*.
12244
122452015-10-12 Yao Qi <yao.qi@linaro.org>
12246
12247 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
12248 (can_relocate_bcond_true): ... it.
12249 (can_relocate_bcond_false): New function.
12250 (foo): Likewise.
12251 (can_relocate_bl): Likewise.
12252 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
12253 can_relocate_bl.
12254
122552015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
12256
12257 * gdb.base/nested-addr.c: New file.
12258 * gdb.base/nested-addr.exp: New testcase.
12259
122602015-10-09 Markus Metzger <markus.t.metzger@intel.com>
12261
12262 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
12263 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
12264 its output. Ignore the output of "record goto begin" and instead
12265 check that GDB is replaying.
12266
122672015-10-09 Pedro Alves <palves@redhat.com>
12268
12269 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
12270 (top level): Use it in the run with no args test.
12271
122722015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
12273
12274 * gdb.dlang/properties.exp: New file.
12275
122762015-10-02 Sandra Loosemore <sandra@codesourcery.com>
12277
12278 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
12279 whether or not address 0x1000 is mapped on the target.
12280
122812015-09-30 Simon Marchi <simon.marchi@ericsson.com>
12282
12283 * gdb.python/py-type.exp: Do not run tests if binaries fail to
12284 build.
12285
122862015-09-30 Markus Metzger <markus.t.metzger@intel.com>
12287
12288 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
12289 instruction-history test.
12290
122912015-09-28 Doug Evans <dje@google.com>
12292
12293 * gdb.base/gcore.c (array_func): Add reference to static_array.
12294
122952015-09-25 Simon Marchi <simon.marchi@ericsson.com>
12296
12297 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
12298 source line.
12299
123002015-09-24 Sandra Loosemore <sandra@codesourcery.com>
12301
12302 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
12303 short or char as base type.
12304
123052015-09-23 Sandra Loosemore <sandra@codesourcery.com>
12306
12307 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
12308 to allow any size enum.
12309
123102015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
12311
12312 * gdb.ada/array_ptr_renaming.exp: New testcase.
12313 * gdb.ada/array_ptr_renaming/foo.adb: New file.
12314 * gdb.ada/array_ptr_renaming/pack.ads: New file.
12315
123162015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12317
12318 * gdb.trace/ftrace-lock.c: New file.
12319 * gdb.trace/ftrace-lock.exp: New file.
12320
123212015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12322
12323 * gdb.arch/insn-reloc.c: New file.
12324 * gdb.arch/ftrace-insn-reloc.exp: New file.
12325
123262015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12327
12328 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
12329 instruction.
12330 * gdb.trace/pendshr1.c (pendfunc): Likewise.
12331 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
12332 * gdb.trace/range-stepping.c: Likewise.
12333 * gdb.trace/trace-break.c: Likewise.
12334 * gdb.trace/trace-mt.c (thread_function): Likewise.
12335 * gdb.trace/ftrace.c (marker): Likewise.
12336 * gdb.trace/trace-condition.c (marker): Likewise.
12337 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
12338 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
12339 is_aarch64_target.
12340
123412015-09-18 Doug Evans <xdje42@gmail.com>
12342
12343 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
12344 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
12345
123462015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12347
12348 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
12349 the breakpoint.
12350
123512015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12352
12353 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
12354 the pending breakpoint. Remove timeout override for "Run till
12355 MI pending breakpoint on pendfunc3 on thread 2" test.
12356
123572015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12358
12359 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
12360 filename pattern.
12361
123622015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12363
12364 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
12365 in breakpoint filename pattern.
12366
123672015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12368
12369 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
12370
123712015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12372
12373 * gdb.linespec/explicit.exp: Check for readline support for
12374 tab-completion tests. Fix obvious typo.
12375
123762015-09-18 Markus Metzger <markus.t.metzger@intel.com>
12377
12378 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
12379 and replay.
12380
123812015-09-18 Markus Metzger <markus.t.metzger@intel.com>
12382
12383 * gdb.btrace/non-stop.c: New.
12384 * gdb.btrace/non-stop.exp: New.
12385
123862015-09-17 Pierre Langlois <pierre.langlois@arm.com>
12387 Yao Qi <yao.qi@linaro.org>
12388
12389 * gdb.trace/trace-condition.c: New file.
12390 * gdb.trace/trace-condition.exp: New file.
12391
123922015-09-16 Wei-cheng Wang <cole945@gmail.com>
12393
12394 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
12395 for testing bytecode compilation.
12396
123972015-09-16 Pedro Alves <palves@redhat.com>
12398 Sandra Loosemore <sandra@codesourcery.com>
12399
12400 * gdb.threads/non-stop-fair-events.c (timeout): New global.
12401 (SECONDS): Redefine.
12402 (main): Call pthread_kill and alarm early.
12403 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
12404 support.
12405 (test): If the target can't hardware step and doesn't support
12406 displaced stepping, increase the timeout.
12407
124082015-09-16 Pedro Alves <palves@redhat.com>
12409
12410 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
12411 (enable_debug): New procedures.
12412 (test): Use them. Bail out if waiting for threads fails.
12413 (top level): Bail out if a test fails.
12414
124152015-09-16 Yao Qi <yao.qi@linaro.org>
12416
12417 * gdb.asm/asm-source.exp: Set asm-arch for
12418 aarch64*-*-* target.
12419 * gdb.asm/aarch64.inc: New file.
12420
124212015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
12422
12423 * gdb.ada/array_of_variable_length.exp: New testcase.
12424 * gdb.ada/array_of_variable_length/foo.adb: New file.
12425 * gdb.ada/array_of_variable_length/pck.adb: New file.
12426 * gdb.ada/array_of_variable_length/pck.ads: New file.
12427
124282015-09-15 Doug Evans <dje@google.com>
12429
12430 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
12431 of function static local variable.
12432
124332015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
12434
12435 * gdb.threads/tls-so_extern.exp: New test file.
12436 * gdb.threads/tls-so_extern.c: New test file.
12437 * gdb.threads/tls-so_extern_main.c: New test file.
12438
124392015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12440
12441 * gdb.opt/solib-intra-step-lib.c: New file.
12442 * gdb.opt/solib-intra-step-main.c: New file.
12443 * gdb.opt/solib-intra-step.exp: New file.
12444
124452015-09-15 Pedro Alves <palves@redhat.com>
12446
12447 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
12448 gdb_continue_to_breakpoint instead of gdb_test_multiple.
12449
124502015-09-14 Pedro Alves <palves@redhat.com>
12451
12452 * gdb.base/hook-stop-continue.c: Delete.
12453 * gdb.base/hook-stop-continue.exp: Delete.
12454 * gdb.base/hook-stop-frame.c: Delete.
12455 * gdb.base/hook-stop-frame.exp: Delete.
12456 * gdb.base/hook-stop.c: New file.
12457 * gdb.base/hook-stop.exp: New file.
12458
124592015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
12460
12461 * gdb.ada/access_to_packed_array.exp: New testcase.
12462 * gdb.ada/access_to_packed_array/foo.adb: New file.
12463 * gdb.ada/access_to_packed_array/pack.adb: New file.
12464 * gdb.ada/access_to_packed_array/pack.ads: New file.
12465
124662015-09-14 Markus Metzger <markus.t.metzger@intel.com>
12467
12468 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
12469 buffer size test.
12470
124712015-09-11 Don Breazeal <donb@codesourcery.com>
12472
12473 * gdb.base/foll-exec.c: Add copyright header. Fix
12474 formatting issues.
12475 * gdb.base/foll-exec.exp (zap_session): Delete proc.
12476 (do_exec_tests): Use clean_restart in place of zap_session,
12477 and for test initialization. Fix formatting issues. Use
12478 fail in place of perror.
12479 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
12480 an expect statement to match an expression with output from
12481 the program under debug.
12482 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
12483 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
12484 * gdb.threads/non-ldr-exc-2.exp: Likewise.
12485 * gdb.threads/non-ldr-exc-3.exp: Likewise.
12486 * gdb.threads/non-ldr-exc-4.exp: Likewise.
12487
124882015-09-09 Doug Evans <dje@google.com>
12489
12490 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
12491
124922015-09-09 Doug Evans <dje@google.com>
12493
12494 * gdb.base/pie-execl.exp: Fix result test of build_executable.
12495
124962015-09-09 Doug Evans <dje@google.com>
12497
12498 * gdb.base/savedregs.exp: Fix typo.
12499
125002015-09-09 Pedro Alves <palves@redhat.com>
12501
12502 * gdb.mi/mi-cli.exp: Add CLI finish tests.
12503
125042015-09-08 Sandra Loosemore <sandra@codesourcery.com>
12505
12506 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
12507 command actually switches threads. Give up on remaining
12508 tests if target fails to stop at breakpoint.
12509
125102015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
12511
12512 * gdb.ada/funcall_char.exp: New testcase.
12513 * gdb.ada/funcall_char/foo.adb: New file.
12514
125152015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
12516
12517 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
12518 expected outputs. Add two testcases for completing ambiguous
12519 functions.
12520 * gdb.ada/complete/aux_pck.adb: New file.
12521 * gdb.ada/complete/aux_pck.ads: New file.
12522 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
12523 Ambiguous_Func functions.
12524 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
12525 * gdb.ada/complete/pck.adb: Likewise.
12526
125272015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
12528
12529 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
12530 failures to run the test program under GDB.
12531
125322015-08-26 Luis Machado <lgustavo@codesourcery.com>
12533
12534 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
12535 to C.
12536
125372015-08-26 Patrick Palka <patrick@parcs.ath.cx>
12538
12539 * gdb.base/run-after-attach.exp: New test file.
12540 * gdb.base/run-after-attach.c: New test file.
12541
125422015-08-26 Don Breazeal <donb@codesourcery.com>
12543
12544 * gdb.base/foll-exec-2.c: New test program.
12545 * gdb.base/foll-exec-2.exp: New test.
12546
125472015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
12548
12549 * gdb.base/nested-subp1.exp: New file.
12550 * gdb.base/nested-subp1.c: New file.
12551 * gdb.base/nested-subp2.exp: New file.
12552 * gdb.base/nested-subp2.c: New file.
12553 * gdb.base/nested-subp3.exp: New file.
12554 * gdb.base/nested-subp3.c: New file.
12555
125562015-08-24 Pedro Alves <palves@redhat.com>
12557
12558 * gdb.server/connect-without-multi-process.c: New file.
12559 * gdb.server/connect-without-multi-process.exp: New file.
12560
125612015-08-24 Luis Machado <lgustavo@codesourcery.com>
12562
12563 * gdb.opt/inline-markers.c: Make z int.
12564
125652015-08-24 Luis Machado <lgustavo@codesourcery.com>
12566
12567 * gdb.opt/inline-markers.c: Make z volatile.
12568
125692015-08-24 Luis Machado <lgustavo@codesourcery.com>
12570
12571 * gdb.opt/inline-bt.c: New volatile global z.
12572 * gdb.opt/inline-cmds.c: Likewise.
12573 * gdb.opt/inline-locals.c: Likewise.
12574 * gdb.opt/inline-markers.c: New extern global z.
12575 (marker): Use z.
12576 (inline_fn): Likewise.
12577
125782015-08-24 Pedro Alves <palves@redhat.com>
12579
12580 * config/m32r-stub.exp: Remove file.
12581 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
12582 * gdb.base/call-rt-st.exp: Likewise.
12583 * gdb.base/call-strs.exp: Likewise.
12584 * gdb.base/default.exp: Remove references to h8300-*-hms and
12585 *-*-udi*.
12586 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
12587
125882015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12589
12590 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
12591 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
12592 and "return" use KFAIL when GDB can not read/write the vector
12593 return value.
12594
125952015-08-21 Gary Benson <gbenson@redhat.com>
12596
12597 * gdb.trace/pending.exp: Cope with remote transfer warnings.
12598
125992015-08-20 Pedro Alves <palves@redhat.com>
12600
12601 * gdb.server/solib-list.exp: No longer expect an interior stop in
12602 non-stop mode.
12603
126042015-08-20 Pedro Alves <palves@redhat.com>
12605
12606 * gdb.server/connect-stopped-target.c: New file.
12607 * gdb.server/connect-stopped-target.exp: New file.
12608
126092015-08-20 Pedro Alves <palves@redhat.com>
12610
12611 * gdb.dwarf2/comp-unit-lang.exp: New file.
12612 * gdb.dwarf2/comp-unit-lang.c: New file.
12613
126142015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
12615
12616 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
12617 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
12618
126192015-08-19 Kevin Buettner <kevinb@redhat.com>
12620
12621 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
12622 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
12623
126242015-08-18 Doug Evans <dje@google.com>
12625 Adrian Sendroiu <adrian.sendroiu@freescale.com>
12626
12627 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
12628 skip_python_tests. New arg prompt_regexp.
12629 (skip_python_tests): New function.
12630 * lib/mi-support.exp (mi_skip_python_tests): New function.
12631 * gdb.python/py-mi-objfile-gdb.py: New file.
12632 * gdb.python/py-mi-objfile.c: New file.
12633 * gdb.python/py-mi-objfile.exp: New file.
12634
126352015-08-17 Keith Seitz <keiths@redhat.com>
12636
12637 * gdb.linespec/explicit.exp: Move strace test from here ...
12638 * gdb.trace/strace.exp: ... to here.
12639
126402015-08-15 Patrick Palka <patrick@parcs.ath.cx>
12641
12642 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
12643 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
12644
126452015-08-14 Doug Evans <xdje42@gmail.com>
12646
12647 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
12648 inferior before selecting a new file.
12649
126502015-08-14 Doug Evans <xdje42@gmail.com>
12651
12652 * gdb.mi/mi-disassemble.exp: Update.
12653 * gdb.base/disasm-optim.S: New file.
12654 * gdb.base/disasm-optim.c: New file.
12655 * gdb.base/disasm-optim.h: New file.
12656 * gdb.base/disasm-optim.exp: New file.
12657
126582015-08-14 Keith Seitz <keiths@redhat.com>
12659
12660 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
12661 "evaluated-by".
12662
126632015-08-13 Joel Brobecker <brobecker@adacore.com>
12664
12665 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
12666
126672015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
12668
12669 * gdb.ada/fun_renaming.exp: New testcase.
12670 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
12671 * gdb.ada/fun_renaming/pack.adb: New file.
12672 * gdb.ada/fun_renaming/pack.ads: New file.
12673
126742015-08-12 Keith Seitz <keiths@redhat.com>
12675
12676 * gdb.base/dso2dso.exp: Pass basename of source file in call to
12677 gdb_get_line_number.
12678
126792015-08-12 Joel Brobecker <brobecker@adacore.com>
12680
12681 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
12682 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
12683 gdb.base/dso2dso.exp: New files.
12684
126852015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
12686 Pedro Alves <palves@redhat.com>
12687 Keith Seitz <keiths@redhat.com>
12688
12689 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
12690 GDBFLAGS.
12691
126922015-08-12 Patrick Palka <patrick@parcs.ath.cx>
12693
12694 * gdb.base/gdbhistsize-history.exp
12695 (test_histsize_history_setting): Use save_vars.
12696 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12697 Use save_vars.
12698 (test_no_truncation_of_unlimited_history_file): Use save_vars.
12699 * gdb.base/readline.exp: Use save_vars.
12700
127012015-08-12 Patrick Palka <patrick@parcs.ath.cx>
12702
12703 * lib/gdb.exp (save_vars): New proc.
12704
127052015-08-11 Keith Seitz <keiths@redhat.com>
12706
12707 * gdb.base/help.exp: Update help_breakpoint_text.
12708
127092015-08-11 Keith Seitz <keiths@redhat.com>
12710
12711 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
12712 (at toplevel): Call test_explicit_breakpoints.
12713 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
12714 breakpoints.
12715 * lib/mi-support.exp (mi_make_breakpoint): Add support for
12716 breakpoint conditions, "-cond".
12717
127182015-08-11 Keith Seitz <keiths@redhat.com>
12719
12720 * gdb.linespec/3explicit.c: New file.
12721 * gdb.linespec/cpexplicit.cc: New file.
12722 * gdb.linespec/cpexplicit.exp: New file.
12723 * gdb.linespec/explicit.c: New file.
12724 * gdb.linespec/explicit.exp: New file.
12725 * gdb.linespec/explicit2.c: New file.
12726 * gdb.linespec/ls-errs.exp: Add explicit location tests.
12727 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
12728 before using in the matching pattern.
12729 Clarify that `prefix' is a regular expression.
12730
127312015-08-11 Keith Seitz <keiths@redhat.com>
12732
12733 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
12734 test.
12735 Add tests for missing ",FMT" and ",".
12736
127372015-08-10 Doug Evans <dje@google.com>
12738 Keith Seitz <keiths@redhat.com>
12739
12740 PR gdb/17960
12741 * gdb.base/completion.exp: Add location completer tests.
12742
127432015-08-07 Pedro Alves <palves@redhat.com>
12744
12745 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
12746 tests here.
12747 (top level): Run do_test with and without displaced stepping.
12748
127492015-08-07 Pedro Alves <palves@redhat.com>
12750
12751 * gdb.base/valgrind-disp-step.c: New file.
12752 * gdb.base/valgrind-disp-step.exp: New file.
12753
127542015-08-07 Pedro Alves <palves@redhat.com>
12755
12756 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
12757 Delete function.
12758 (main): Add alarm. Run an infinite loop instead of calling
12759 wait_threads.
12760 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
12761 comment.
12762 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
12763 Delete function.
12764 (main): Add alarm. Run an infinite loop instead of calling
12765 wait_threads.
12766 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
12767 comment.
12768
127692015-08-07 Pedro Alves <palves@redhat.com>
12770
12771 * gdb.base/checkpoint-ns.exp: New file.
12772 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
12773 standard_testfile.
12774
127752015-08-07 Markus Metzger <markus.t.metzger@intel.com>
12776
12777 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
12778 * gdb.btrace/instruction_history.exp: Update.
12779 * gdb.btrace/tsx.exp: New.
12780 * gdb.btrace/tsx.c: New.
12781
127822015-08-06 Pedro Alves <palves@redhat.com>
12783
12784 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
12785 increase timeout.
12786 * gdb.reverse/until-precsave.exp: Bump timeouts.
12787
127882015-08-06 Pedro Alves <palves@redhat.com>
12789
12790 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
12791
127922015-08-06 Pedro Alves <palves@redhat.com>
12793
12794 PR gdb/18749
12795 * gdb.threads/process-dies-while-handling-bp.c: New file.
12796 * gdb.threads/process-dies-while-handling-bp.exp: New file.
12797
127982015-08-06 Pedro Alves <palves@redhat.com>
12799
12800 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
12801 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
12802
128032015-08-05 Pedro Alves <palves@redhat.com>
12804
12805 * gdb.threads/next-while-other-thread-longjmps.c: New file.
12806 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
12807
128082015-08-03 Sandra Loosemore <sandra@codesourcery.com>
12809
12810 * gdb.base/bp-permanent.exp: Report test as unsupported if
12811 the target cannot stop at the permanent breakpoint.
12812
128132015-08-03 Doug Evans <dje@google.com>
12814
12815 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
12816 10000.
12817
128182015-08-03 Doug Evans <dje@google.com>
12819
12820 * Makefile.in (workers/%.worker, build-perf): New rule.
12821 (GDB_PERFTEST_MODE): New variable.
12822 (check-perf): Use it.
12823 (clean): Clean up gdb.perf parallel build subdirs.
12824 * lib/build-piece.exp: New file.
12825 * lib/gdb.exp (make_gdb_parallel_path): New function
12826 (standard_output_file, standard_temp_file): Call it.
12827 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12828 of $GDB_PARALLEL.
12829 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
12830
128312015-08-03 Doug Evans <dje@google.com>
12832
12833 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
12834 (LOG_FILE_NAME): New global.
12835 (TextReporter.__init__): Initialize self.txt_sum.
12836 (TextReporter.report): Add support for multiple data-points.
12837 Move report to perftest.sum, put raw data in perftest.log.
12838 (TextReporter.start): Open sum and log files.
12839 (TextReporter.end): Close sum and log files.
12840 * gdb.perf/lib/perftest/testresult.py
12841 (SingleStatisticTestResult.record): Handle multiple data-points.
12842
128432015-07-31 Pedro Alves <palves@redhat.com>
12844
12845 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
12846 Use spawn_id_get_pid. Wait for spawn id after eof. Use
12847 kill_wait_spawned_process instead of explicit "kill -9".
12848 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
12849 returning a spawn id instead of a pid. Use spawn_id_get_pid and
12850 kill_wait_spawned_process.
12851 * gdb.base/attach-twice.exp: Likewise.
12852 * gdb.base/attach.exp: Likewise.
12853 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
12854 gdb_test_multiple.
12855 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
12856 returning a spawn id instead of a pid. Use spawn_id_get_pid and
12857 kill_wait_spawned_process.
12858 * gdb.base/valgrind-infcall.exp: Likewise.
12859 * gdb.multi/multi-attach.exp: Likewise.
12860 * gdb.python/py-prompt.exp: Likewise.
12861 * gdb.python/py-sync-interp.exp: Likewise.
12862 * gdb.server/ext-attach.exp: Likewise.
12863 * gdb.threads/attach-into-signal.exp (corefunc): Use
12864 spawn_wait_for_attach, spawn_id_get_pid and
12865 kill_wait_spawned_process.
12866 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
12867 spawn_wait_for_attach returning a spawn id instead of a pid. Use
12868 spawn_id_get_pid and kill_wait_spawned_process.
12869 * gdb.threads/attach-stopped.exp (corefunc): Use
12870 spawn_wait_for_attach, spawn_id_get_pid and
12871 kill_wait_spawned_process.
12872 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
12873 Use spawn_id_get_pid. Wait for spawn id after eof. Use
12874 kill_wait_spawned_process instead of explicit "kill -9".
12875 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
12876 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
12877 (spawn_wait_for_attach): Use spawn instead of exec to spawn
12878 processes. Don't map cygwin/windows pids here. Now returns a
12879 spawn id list.
12880
128812015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12882
12883 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
12884 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
12885 correct patch.
12886
128872015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12888
12889 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
12890
128912015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12892
12893 Reapply:
12894 2014-05-21 Mark Wielaard <mjw@redhat.com>
12895
12896 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
12897
128982015-07-30 Pedro Alves <palves@redhat.com>
12899
12900 * linux-low.c (handle_extended_wait): Set the child's last
12901 reported status to TARGET_WAITKIND_STOPPED.
12902
129032015-07-30 Pedro Alves <palves@redhat.com>
12904
12905 PR threads/18600
12906 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
12907 only shows inferior 1.
12908
129092015-07-30 Simon Marchi <simon.marchi@ericsson.com>
12910 Pedro Alves <palves@redhat.com>
12911
12912 PR threads/18600
12913 * gdb.threads/fork-plus-threads.c: New file.
12914 * gdb.threads/fork-plus-threads.exp: New file.
12915
129162015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12917
12918 * gdb.base/batch-preserve-term-settings.exp
12919 (test_terminal_settings_preserved_after_cli_exit): Use
12920 send_quit_command.
12921
129222015-07-29 Pedro Alves <palves@redhat.com>
12923 Don Breazeal <donb@codesourcery.com>
12924
12925 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
12926 output from both inferior_spawn_id and gdb_spawn_id.
12927
129282015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
12929
12930 * gdb.threads/attach-into-signal.exp (corefunc): Use
12931 with_test_prefix on nested loops, uniquefying the test messages.
12932
129332015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
12934
12935 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
12936 commit.
12937
129382015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12939
12940 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
12941 New proc.
12942 (test_terminal_settings_preserved_after_sigterm): New test.
12943
129442015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12945
12946 * gdb.base/batch-preserve-term-settings.exp
12947 (test_terminal_settings_preserved_after_cli_exit): New test.
12948
129492015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12950
12951 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
12952 manipulation of saved_gdbflags.
12953 (test_terminal_settings_preserved): Remove global declaration of
12954 the unused variable pagination_prompt. Remove manipulation of
12955 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
12956 GDBFLAGS.
12957
129582015-07-29 Pedro Alves <palves@redhat.com>
12959
12960 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
12961
129622015-07-29 Pedro Alves <palves@redhat.com>
12963
12964 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
12965 at the top.
12966
129672015-07-29 Pedro Alves <palves@redhat.com>
12968
12969 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
12970 (main): Call gdb_unbuffer_output.
12971 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
12972 (main): Call gdb_unbuffer_output.
12973 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
12974 (main): Call gdb_unbuffer_output.
12975 * gdb.base/call-strs.exp: Adjust to step over the
12976 gdb_unbuffer_output call.
12977 * gdb.base/catch-gdb-caused-signals.c: Include
12978 "../lib/unbuffer_output.c".
12979 (main): Call gdb_unbuffer_output.
12980 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
12981 (main): Call gdb_unbuffer_output.
12982 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
12983 (main): Call gdb_unbuffer_output.
12984 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
12985 (main): Call gdb_unbuffer_output.
12986 * gdb.base/shlib-call.exp: Adjust to step over the
12987 gdb_unbuffer_output call.
12988 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
12989 (main): Call gdb_unbuffer_output.
12990 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
12991 (main): Call gdb_unbuffer_output.
12992 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
12993 (main): Rename to ...
12994 (test): ... this.
12995 (main): Reimplement.
12996 * gdb.base/varargs.exp: Run to test instead of to main.
12997 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
12998 (main): Call gdb_unbuffer_output.
12999
130002015-07-29 Pedro Alves <palves@redhat.com>
13001
13002 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
13003 factore out from mi_continue_dprintf. For call-style dprintfs,
13004 expect dprintf output out of $inferior_spawn_id.
13005 (mi_continue_dprintf): Use mi_expect_dprintf.
13006 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
13007 (main): Call gdb_unbuffer_output.
13008
130092015-07-29 Pedro Alves <palves@redhat.com>
13010
13011 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
13012 (default_mi_gdb_start): Set inferior_spawn_id instead of
13013 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
13014 gdb_spawn_id.
13015 (mi_gdb_test): Always expect inferior output from both
13016 $inferior_spawn_id and $gdb_spawn_id.
13017
130182015-07-29 Pedro Alves <palves@redhat.com>
13019
13020 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
13021 send_inferior and $inferior_spawn_id.
13022
130232015-07-29 Pedro Alves <palves@redhat.com>
13024
13025 * gdb.gdb/complaints.exp (test_initial_complaints)
13026 (test_serial_complaints, test_short_complaints): Use
13027 gdb_test_stdio.
13028 (test_empty_complaint): Handle $inferior_spawn_id !=
13029 $gdb_spawn_id.
13030
130312015-07-29 Pedro Alves <palves@redhat.com>
13032
13033 * gdb.base/varargs.exp: Use gdb_test_stdio.
13034
130352015-07-29 Pedro Alves <palves@redhat.com>
13036
13037 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
13038
130392015-07-29 Pedro Alves <palves@redhat.com>
13040
13041 * gdb.base/ending-run.exp: Use gdb_test_stdio.
13042
130432015-07-29 Pedro Alves <palves@redhat.com>
13044
13045 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
13046 parameter into two new parameters, "inf_result" and "gdb_result".
13047 Expect inferior output and gdb output from $inferior_spawn_id and
13048 $gdb_spawn_id, respectively. Adjust all callers.
13049
130502015-07-29 Pedro Alves <palves@redhat.com>
13051
13052 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
13053 of gdb_test_sequence.
13054
130552015-07-29 Pedro Alves <palves@redhat.com>
13056
13057 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
13058 (saw_spurious_output): Expect inferior output from
13059 $inferior_spawn_id. Use gdb_test_stdio.
13060
130612015-07-29 Pedro Alves <palves@redhat.com>
13062
13063 * gdb.base/dprintf.exp: Use standard_testfile. Change
13064 prepare_for_testing call.
13065 (srcfile): Don't set.
13066 (restart): New procedure.
13067 (test_dprintf): New procecure, use to continue over dprintfs.
13068 (test_call, test_agent): New procedures, tests moved here.
13069 Restart gdb and recreate dprintfs. Adjust expected output.
13070
130712015-07-29 Pedro Alves <palves@redhat.com>
13072
13073 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
13074
130752015-07-29 Pedro Alves <palves@redhat.com>
13076
13077 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
13078
130792015-07-29 Pedro Alves <palves@redhat.com>
13080
13081 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
13082 gdb_test_stdio.
13083
130842015-07-29 Pedro Alves <palves@redhat.com>
13085
13086 * lib/gdb.exp (gdb_test_stdio): New procedure.
13087
130882015-07-29 Pedro Alves <palves@redhat.com>
13089
13090 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
13091
130922015-07-29 Pedro Alves <palves@redhat.com>
13093
13094 * gdb.base/call-signal-resume.exp: Remove check for
13095 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
13096 * gdb.base/unwindonsignal.exp: Likewise.
13097 * gdb.base/call-signals.c (gen_signal): Remove printf call.
13098 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
13099
131002015-07-29 Pedro Alves <palves@redhat.com>
13101
13102 * gdb.base/siginfo-addr.c (pass): New function.
13103 (handler): Call it iff si_addr is correct.
13104 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
13105 Set a breakpoint at "pass" and continue to it.
13106
131072015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
13108
13109 * gdb.python/py-objfile.exp: Make some tests have unique names.
13110 * gdb.python/py-pp-registration.exp: Likewise.
13111
131122015-07-28 Pedro Alves <palves@redhat.com>
13113
13114 * gdb.server/server-exec-info.exp: Issue a "disconnect".
13115
131162015-07-27 Simon Marchi <simon.marchi@ericsson.com>
13117
13118 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
13119
131202015-07-27 Simon Marchi <simon.marchi@ericsson.com>
13121
13122 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
13123
131242015-07-27 Patrick Palka <patrick@parcs.ath.cx>
13125
13126 * gdb.base/gdb-sigterm-2.exp: New test.
13127
131282015-07-25 Doug Evans <xdje42@gmail.com>
13129
13130 Revert:
13131 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
13132 (workers/%.worker, build-perf): New rule.
13133 (GDB_PERFTEST_MODE): New variable.
13134 (check-perf): Use it.
13135 (clean): Clean up gdb.perf parallel build subdirs.
13136 * lib/build-piece.exp: New file.
13137 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
13138 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
13139 name.
13140 (standard_temp_file): Ditto.
13141 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13142 of $GDB_PARALLEL.
13143
131442015-07-24 Doug Evans <dje@google.com>
13145
13146 * gdb.perf/lib/perftest/utils.py: New file.
13147 * gdb.perf/gm-hello.cc: New file.
13148 * gdb.perf/gm-pervasive-typedef.cc: New file.
13149 * gdb.perf/gm-pervasive-typedef.h: New file.
13150 * gdb.perf/gm-std.cc: New file.
13151 * gdb.perf/gm-std.h: New file.
13152 * gdb.perf/gm-use-cerr.cc: New file.
13153 * gdb.perf/gm-utils.h: New file.
13154 * gdb.perf/gmonster-null-lookup.py: New file.
13155 * gdb.perf/gmonster-pervasive-typedef.py: New file.
13156 * gdb.perf/gmonster-print-cerr.py: New file.
13157 * gdb.perf/gmonster-ptype-string.py: New file.
13158 * gdb.perf/gmonster-runto-main.py: New file.
13159 * gdb.perf/gmonster-select-file.py: New file.
13160 * gdb.perf/gmonster1-null-lookup.exp: New file.
13161 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
13162 * gdb.perf/gmonster1-print-cerr.exp: New file.
13163 * gdb.perf/gmonster1-ptype-string.exp: New file.
13164 * gdb.perf/gmonster1-runto-main.exp: New file.
13165 * gdb.perf/gmonster1-select-file.exp: New file.
13166 * gdb.perf/gmonster1.cc: New file.
13167 * gdb.perf/gmonster1.exp: New file.
13168 * gdb.perf/gmonster2-null-lookup.exp: New file.
13169 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
13170 * gdb.perf/gmonster2-print-cerr.exp: New file.
13171 * gdb.perf/gmonster2-ptype-string.exp: New file.
13172 * gdb.perf/gmonster2-runto-main.exp: New file.
13173 * gdb.perf/gmonster2-select-file.exp: New file.
13174 * gdb.perf/gmonster2.cc: New file.
13175 * gdb.perf/gmonster2.exp: New file.
13176
131772015-07-24 Doug Evans <dje@google.com>
13178
13179 * gdb.perf/README: New file.
13180 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
13181 * lib/gen-perf-test.exp: New file.
13182
131832015-07-24 Doug Evans <dje@google.com>
13184
13185 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
13186 (PerfTest::startup): New function.
13187 (PerfTest::run): Return result of calling body.
13188 (PerfTest::assemble): Rewrite.
13189 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
13190 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
13191 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
13192 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
13193 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
13194
131952015-07-24 Doug Evans <dje@google.com>
13196
13197 * lib/gdb.exp (clean_restart): Make executable optional.
13198
131992015-07-24 Doug Evans <dje@google.com>
13200
13201 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
13202 compiler_info references.
13203 * gdb.cp/temargs.exp: Ditto.
13204 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
13205 (get_compiler_info): Early exit if already computed. Set compiler_info
13206 to "unknown" if there was a problem.
13207 (test_compiler_info): Add function comment. Call get_compiler_info.
13208
132092015-07-24 Doug Evans <dje@google.com>
13210
13211 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
13212 (workers/%.worker, build-perf): New rule.
13213 (GDB_PERFTEST_MODE): New variable.
13214 (check-perf): Use it.
13215 (clean): Clean up gdb.perf parallel build subdirs.
13216 * lib/build-piece.exp: New file.
13217 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
13218 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
13219 name.
13220 (standard_temp_file): Ditto.
13221 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13222 of $GDB_PARALLEL.
13223
132242015-07-24 Doug Evans <dje@google.com>
13225
13226 * lib/future.exp (gdb_default_target_compile): New option
13227 "early_flags".
13228 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
13229 --as-needed.
13230
132312015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
13232
13233 * gdb.base/catch-syscall.exp: Call gdb_exit before
13234 gdb_skip_xml_test.
13235
132362015-07-24 Pedro Alves <palves@redhat.com>
13237
13238 * gdb.python/py-events.exp: Accept output between the stop event
13239 and the prompt.
13240 * gdb.python/py-evsignal.exp: Likewise.
13241 * gdb.python/py-evthreads.exp: Likewise.
13242
132432015-07-24 Pedro Alves <palves@redhat.com>
13244
13245 PR gdb/18717
13246 * gdb.threads/non-ldr-exit.c: New file.
13247 * gdb.threads/non-ldr-exit.exp: New file.
13248
132492015-07-24 Yao Qi <yao.qi@linaro.org>
13250
13251 * gdb.server/ext-wrapper.exp: Test --wrapper option when
13252 restarting process.
13253
132542015-07-24 Yao Qi <yao.qi@linaro.org>
13255
13256 * gdb.server/ext-restart.exp: New file.
13257
132582015-07-24 Yao Qi <yao.qi@linaro.org>
13259
13260 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
13261 argument options.
13262 * gdb.server/ext-wrapper.exp: New file.
13263
132642015-07-23 Doug Evans <dje@google.com>
13265
13266 * gdb.dwarf2/dw2-dummy-cu.S: New file.
13267 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
13268
132692015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
13270
13271 * gdb.ada/var_arr_typedef.exp: New testcase.
13272 * gdb.ada/var_arr_typedef/pack.adb: New file.
13273 * gdb.ada/var_arr_typedef/pack.ads: New file.
13274 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
13275
132762015-07-20 Joel Brobecker <brobecker@adacore.com>
13277
13278 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
13279
132802015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13281
13282 * gdb.arch/i386-biarch-core.exp: Replace istarget
13283 by "complete set gnutarget". Remove expectation for the "core-file"
13284 command.
13285
132862015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13287
13288 Revert the previous commit:
13289 Tests for validate symbol file using build-id.
13290
132912015-07-15 Aleksandar Ristovski <aristovski@qnx.com
13292
13293 Tests for validate symbol file using build-id.
13294 * gdb.base/solib-mismatch-lib.c: New file.
13295 * gdb.base/solib-mismatch-libmod.c: New file.
13296 * gdb.base/solib-mismatch.c: New file.
13297 * gdb.base/solib-mismatch.exp: New file.
13298
132992015-07-15 Sandra Loosemore <sandra@codesourcery.com>
13300
13301 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
13302 nios2-*-linux*.
13303 * gdb.base/sigbpt.exp (stepi_out): Likewise.
13304 * gdb.base/siginfo.exp: Likewise.
13305 * gdb.base/sigstep.exp (advance, advancei): Likewise.
13306
133072015-07-15 Pierre Langlois <pierre.langlois@arm.com>
13308
13309 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
13310 Move it to ...
13311 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
13312 ... here.
13313 * gdb.trace/range-stepping.exp: Check that the target supports
13314 range stepping.
13315
133162015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13317
13318 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
13319
133202015-07-14 Pedro Alves <palves@redhat.com>
13321
13322 * gdb.base/killed-outside.exp: New file.
13323 * gdb.base/killed-outside.c: New file.
13324
133252015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
13326
13327 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
13328 (n at main): New.
13329 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
13330
133312015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
13332
13333 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
13334 infcall tests instead of setting up for KFAIL.
13335
133362015-07-10 Markus Metzger <markus.t.metzger@intel.com>
13337
13338 * gdb.btrace/record_goto-step.exp: New.
13339
133402015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13341
13342 PR compile/18484
13343 * gdb.compile/compile.c (struct struct_type): Add volatile to
13344 selffield's type.
13345 * gdb.compile/compile.exp
13346 (compile code struct_object.selffield = &struct_object): Skip further
13347 struct_object tests if this one xfails.
13348
133492015-07-08 Robert O'Callahan <robert@ocallahan.org>
13350
13351 PR exp/18617
13352 * gdb.trace/ax.exp: Add test.
13353
133542015-07-07 Yao Qi <yao.qi@linaro.org>
13355
13356 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
13357 instead of istarget "aarch64*-*-*".
13358 * gdb.arch/aarch64-fp.exp: Likewise.
13359 * gdb.base/float.exp: Likewise.
13360 * gdb.reverse/aarch64.exp: Likewise.
13361 * lib/gdb.exp (is_aarch64_target): New proc.
13362
133632015-07-07 Yao Qi <yao.qi@linaro.org>
13364
13365 * lib/gdb.exp (is_aarch32_target): New proc.
13366 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
13367 instead of "istarget "arm*-*-*"".
13368 * gdb.arch/arm-disp-step.exp: Likewise.
13369 * gdb.arch/thumb-bx-pc.exp: Likewise.
13370 * gdb.arch/thumb-prologue.exp: Likewise.
13371 * gdb.arch/thumb-singlestep.exp: Likewise.
13372 * gdb.base/disp-step-syscall.exp: Likewise.
13373 * gdb.base/float.exp: Likewise.
13374
133752015-07-07 Yao Qi <yao.qi@linaro.org>
13376
13377 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
13378 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
13379
133802015-07-07 Yao Qi <yao.qi@linaro.org>
13381
13382 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
13383 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
13384 if it exists.
13385 * gdb.multi/multi-arch.exp: Likewise.
13386
133872015-07-07 Simon Marchi <simon.marchi@ericsson.com>
13388
13389 * gdb.python/py-lazy-string.exp: Add missing parentheses to
13390 print.
13391
133922015-07-07 Yao Qi <yao.qi@linaro.org>
13393
13394 * gdb.arch/thumb-singlestep.exp: Do one more single step.
13395
133962015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
13397
13398 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
13399 '[' and ']' characters.
13400
134012015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
13402
13403 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
13404
134052015-06-29 Pedro Alves <palves@redhat.com>
13406
13407 PR threads/18127
13408 * gdb.threads/hand-call-new-thread.c: New file.
13409 * gdb.threads/hand-call-new-thread.c: New file.
13410
134112015-06-26 Keith Seitz <keiths@redhat.com>
13412 Doug Evans <dje@google.com>
13413
13414 PR 16253
13415 * gdb.cp/var-tag-2.cc: New file.
13416 * gdb.cp/var-tag-3.cc: New file.
13417 * gdb.cp/var-tag-4.cc: New file.
13418 * gdb.cp/var-tag.cc: New file.
13419 * gdb.cp/var-tag.exp: New file.
13420
134212015-06-26 Patrick Palka <patrick@parcs.ath.cx>
13422
13423 * gdb.base/history-duplicates.exp: New test.
13424
134252015-06-26 Patrick Palka <patrick@parcs.ath.cx>
13426
13427 * gdb.base/completion.exp: Test the completion of the "focus"
13428 command.
13429
134302015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13431
13432 * gdb.arch/amd64-prologue-skip.S: New file.
13433 * gdb.arch/amd64-prologue-skip.exp: New file.
13434
134352015-06-25 Simon Marchi <simon.marchi@ericsson.com>
13436
13437 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
13438 is_address_zero_readable check.
13439
134402015-06-24 Peter Bergner <bergner@vnet.ibm.com>
13441
13442 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
13443 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
13444
134452015-06-24 Yao Qi <yao.qi@linaro.org>
13446
13447 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
13448 linux targets.
13449
134502015-06-24 Yao Qi <yao.qi@linaro.org>
13451
13452 * lib/gdb.exp (supports_get_siginfo_type): New proc.
13453 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
13454 * gdb.base/siginfo-thread.exp: Likewise.
13455
134562015-06-22 Yao Qi <yao.qi@linaro.org>
13457
13458 * boards/remote-gdbserver-on-localhost.exp: Add comments.
13459
134602015-06-22 Yao Qi <yao.qi@linaro.org>
13461
13462 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
13463 aarch64*-*-*.
13464 (skip_hw_watchpoint_tests): Likewise.
13465
134662015-06-18 Patrick Palka <patrick@parcs.ath.cx>
13467
13468 * gdb.base/gdbinit-history.exp: Test the interaction between
13469 setting GDBHISTSIZE and setting the history size via .gdbinit.
13470
134712015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13472
13473 PR gdb/16999
13474 * gdb.base/gdbhistsize-history.exp: New test.
13475
134762015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13477
13478 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
13479 with GDBHISTSIZE.
13480 * gdb.base/readline.exp: Likewise.
13481
134822015-06-17 Yao Qi <yao.qi@linaro.org>
13483
13484 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
13485 line.
13486
134872015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13488
13489 * gdb.base/gdbinit-history.exp: Add test case to check that
13490 an unlimited history file does not get truncated on exit.
13491
134922015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13493
13494 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
13495 (VECTOR): New macro. Use it...
13496 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
13497 ...for these typedefs.
13498 (int8, char1, int1, double1): New typedefs.
13499 (struct just_int2, struct two_int2): New structures.
13500 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
13501 (add_structvecs, add_singlevecs): New functions.
13502 (main): Call add_some_intvecs twice.
13503 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
13504 the compile and exit upon failure. Try compiling for the "native"
13505 architecture. Test inferior function calls with vector arguments
13506 and vector return value handling with "finish" and "return".
13507
135082015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
13509
13510 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
13511 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
13512 PE file.
13513 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
13514
135152015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
13516
13517 PR breakpoints/16465
13518 * gdb.mi/mi-dprintf-pending.c: New file.
13519 * gdb.mi/mi-dprintf-pending.exp: New test.
13520 * gdb.mi/mi-dprintf-pendshr.c: New file.
13521
135222015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13523 Mircea Gherzan <mircea.gherzan@intel.com>
13524
13525 * gdb.arch/i386-mpx-map.c: New file.
13526 * gdb.arch/i386-mpx-map.exp: New File.
13527
135282015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13529
13530 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
13531 * gdb.arch/i386-mpx.exp: Indentation fixed.
13532
135332015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13534
13535 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
13536 function and improved indentation.
13537 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
13538 gdb_test_multiple. Added additional tests to skip the test.
13539
135402015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13541
13542 * gdb.arch/i386-avx512.c: Change path in include file.
13543 * gdb.arch/i386-avx512.exp: Change include dir path
13544 compilation flag.
13545 * gdb.arch/i386-mpx.c: Change path in include file.
13546 * gdb.arch/i386-mpx.exp: Change include dir path compilation
13547 flag.
13548
135492015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
13550
13551 * gdb.compile/compile-print.exp (compile print *vararray@3)
13552 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
13553
135542015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13555
13556 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
13557 (do not keep jit in memory): ... this.
13558 (expect 5): Change it to ...
13559 (expect no 5): ... this.
13560
135612015-06-02 Simon Marchi <simon.marchi@ericsson.com>
13562
13563 PR gdb/15564
13564 * gdb.mi/mi-detach.exp: New file.
13565
135662015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13567
13568 PR symtab/18392
13569 * gdb.arch/amd64-tailcall-self.S: New file.
13570 * gdb.arch/amd64-tailcall-self.c: New file.
13571 * gdb.arch/amd64-tailcall-self.exp: New file.
13572
135732015-05-28 Don Breazeal <donb@codesourcery.com>
13574
13575 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
13576 tests for remote targets by checking is_target_gdbserver.
13577
135782015-05-27 Doug Evans <dje@google.com>
13579
13580 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
13581 * gdb.dwarf2/opaque-type-lookup.c: New file.
13582 * gdb.dwarf2/opaque-type-lookup.exp: New file.
13583
135842015-05-26 Doug Evans <dje@google.com>
13585
13586 * gdb.cp/iostream.cc: New file.
13587 * gdb.cp/iostream.exp: New file.
13588
135892015-05-26 Doug Evans <dje@google.com>
13590
13591 * gdb.dwarf2/dw2-op-call.exp: Update.
13592 * gdb.dwarf2/dw4-sig-types.exp: Update.
13593 * gdb.dwarf2/implptr.exp: Update.
13594 * gdb.mi/mi-cmd-param-changed.exp: Update.
13595
135962015-05-26 Doug Evans <dje@google.com>
13597
13598 * gdb.python/py-lazy-string.c: New file.
13599 * gdb.python/py-lazy-string.exp: New file.
13600 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
13601 (main): Update. Add estring3.
13602 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
13603 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
13604
136052015-05-26 Omair Javaid <omair.javaid@linaro.org>
13606 Yao Qi <yao.qi@linaro.org>
13607
13608 * gdb.reverse/aarch64.c: New.
13609 * gdb.reverse/aarch64.exp: New.
13610
136112015-05-26 Omair Javaid <omair.javaid@linaro.org>
13612
13613 * lib/gdb.exp (supports_process_record): Return true for
13614 aarch64*-linux*.
13615 (supports_reverse): Likewise.
13616
136172015-05-22 Patrick Palka <patrick@parcs.ath.cx>
13618
13619 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13620 Use with_test_prefix.
13621
136222015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
13623
13624 * gdb.base/completion.exp: Add test for completion of layout
13625 names.
13626
136272015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
13628
13629 * lib/gdb.exp (skip_tui_tests): New proc.
13630 * gdb.base/tui-layout.exp: Check skip_tui_tests.
13631
136322015-05-19 Pedro Alves <palves@redhat.com>
13633
13634 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13635 Save the whole env array instead of just HOME. Unset HISTSIZE in
13636 the environment while testing. Restore whole environment
13637 afterwards.
13638
136392015-05-16 Doug Evans <xdje42@gmail.com>
13640
13641 * gdb.guile/scm-ports.c: New file.
13642 * gdb.guile/scm-ports.exp: Add memory port tests.
13643
136442015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13645
13646 * gdb.compile/compile-print.c: New file.
13647 * gdb.compile/compile-print.exp: New file.
13648
136492015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13650
13651 * gdb.compile/compile-ops.exp: Cast param to void.
13652 * gdb.compile/compile.exp: Complete type for _gdb_expr.
13653 (compile code struct_object.selffield = &struct_object): Add xfail.
13654
136552015-05-15 Joel Brobecker <brobecker@adacore.com>
13656
13657 * gdb.ada/arr_enum_with_gap: New testcase.
13658
136592015-05-15 Joel Brobecker <brobecker@adacore.com>
13660
13661 * gdb.ada/byte_packed_arr: New testcase.
13662
136632015-05-15 Joel Brobecker <brobecker@adacore.com>
13664
13665 * gdb.ada/pckd_neg: New testcase.
13666
136672015-05-13 Patrick Palka <patrick@parcs.ath.cx>
13668
13669 PR gdb/17820
13670 * gdb.base/gdbinit-history.exp: New test.
13671 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
13672 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
13673
136742015-05-09 Siva Chandra Reddy <sivachandra@google.com>
13675
13676 * gdb.python/py-xmethods.cc: Enhance test case.
13677 * gdb.python/py-xmethods.exp: New tests.
13678 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
13679 function.
13680 (B_indexoper): Likewise.
13681 (global_dm_list) : Add new xmethod worker functions.
13682
136832015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
13684
13685 * gdb.base/coredump-filter.exp: Correctly unset
13686 "coredump_var_addr" array.
13687
136882015-05-08 Pedro Alves <palves@redhat.com>
13689
13690 * gdb.server/non-existing-program.exp: Unset spawn_id.
13691
136922015-05-08 Siva Chandra Reddy <sivachandra@google.com>
13693
13694 PR python/18291
13695 * gdb.python/py-xmethods.exp: Add tests.
13696
136972015-05-08 Yao Qi <yao.qi@linaro.org>
13698
13699 PR gdb/18208
13700 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
13701 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
13702 function set_coredump_filter, and remove remote_exec call.
13703 Remove argument ipid. Callers update.
13704 (top level): Don't get inferior's PID.
13705
137062015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
13707
13708 * gdb.base/watch_thread_num.exp: Skip test on targets without
13709 access watchpoints.
13710
137112015-05-06 Pedro Alves <palves@redhat.com>
13712
13713 PR server/18081
13714 * gdb.server/non-existing-program.exp: New file.
13715
137162015-05-05 Joel Brobecker <brobecker@adacore.com>
13717
13718 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
13719
137202015-05-05 Joel Brobecker <brobecker@adacore.com>
13721
13722 * gdb.ada/out_of_line_in_inlined: New testcase.
13723
137242015-05-05 Joel Brobecker <brobecker@adacore.com>
13725
13726 * gdb.ada/var_rec_arr: New testcase.
13727
137282015-04-30 Yao Qi <yao.qi@linaro.org>
13729
13730 * gdb.base/break-idempotent.exp: If
13731 skip_hw_watchpoint_multi_tests returns true, skip the tests
13732 on "rwatch" and "awatch".
13733
137342015-04-30 Yao Qi <yao.qi@linaro.org>
13735
13736 * gdb.base/relativedebug.exp: Invoke gdb command
13737 "info sharedlibrary", and if libc.so doesn't have debug info,
13738 skip the test.
13739
137402015-04-29 Doug Evans <dje@google.com>
13741
13742 * gdb.python/py-xmethods.exp: Add ptype tests.
13743 * gdb.python/py-xmethods.py (E_method_char_worker): Add
13744 get_result_type method.
13745
137462015-04-29 Luis Machado <lgustavo@codesourcery.com>
13747
13748 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
13749 the target does not support hardware watchpoints.
13750
137512015-04-29 Luis Machado <lgustavo@codesourcery.com>
13752
13753 * gdb.base/break-always.exp: Abort testing if writing to memory
13754 causes an error.
13755
137562015-04-28 Doug Evans <dje@google.com>
13757
13758 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
13759 * gdb.python/py-pp-registration.exp: ... here. New file.
13760 * gdb.python/py-pp-registration.c: New file.
13761 * gdb.python/py-pp-registration.py: New file.
13762
137632015-04-28 Doug Evans <dje@google.com>
13764
13765 * gdb.python/py-bad-printers.c: New file.
13766 * gdb.python/py-bad-printers.py: New file.
13767 * gdb.python/py-bad-printers.exp: New file.
13768
137692015-04-28 Sasha Smundak <asmundak@google.com>
13770
13771 * gdb.python/py-type.exp: New test.
13772
137732015-04-28 Andy Wingo <wingo@igalia.com>
13774
13775 * gdb.python/py-parameter.exp:
13776 * gdb.guile/scm-parameter.exp: Escape the path that we are
13777 matching against, as it might contain characters that are special
13778 to regular expressions.
13779
137802015-04-27 Joel Brobecker <brobecker@adacore.com>
13781
13782 * gdb.ada/rec_comp: New testcase.
13783
137842015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
13785
13786 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
13787 before using it.
13788
137892015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
13790
13791 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
13792 new tests for verilog output.
13793
137942015-04-24 Yao Qi <yao.qi@linaro.org>
13795
13796 * boards/remote-gdbserver-on-localhost.exp: New file.
13797
137982015-04-23 Pedro Alves <palves@redhat.com>
13799
13800 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
13801 $inferior_spawn_id instead of $inferior_spawn_id directly. On
13802 "end of file", remove $inferior_spawn_id from the indirect list.
13803
138042015-04-23 Pedro Alves <palves@redhat.com>
13805
13806 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
13807
138082015-04-23 Pedro Alves <palves@redhat.com>
13809
13810 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
13811 on $any_spawn_id instead of only on $gdb_spawn_id.
13812
138132015-04-21 Pierre Muller <muller@sourceware.org>
13814
13815 PR pascal/17815
13816 * lib/pascal.exp (gpc_compile): Add new option "class".
13817 (fpc_compile): Likewise.
13818 * gdb.pascal/case-insensitive-symbols.pas: New file.
13819 * gdb.pascal/case-insensitive-symbols.exp: New file.
13820
138212015-04-20 Gary Benson <gbenson@redhat.com>
13822
13823 * gdb.base/attach.exp: Fix three extended remote failures.
13824
138252015-04-17 Gary Benson <gbenson@redhat.com>
13826
13827 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
13828 the main executable over the remote protocol.
13829
138302015-04-16 Pedro Alves <palves@redhat.com>
13831
13832 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
13833 a new gdbserver if gdbserver_reconnect_p is set.
13834
138352015-04-16 Pedro Alves <palves@redhat.com>
13836
13837 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
13838 is set, don't exit gdbserver.
13839
138402015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13841
13842 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
13843 appropriate .insn, such that an older assembler can be used.
13844 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
13845 the z/Architecture instruction set on 31-bit targets as well.
13846
138472015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13848
13849 * gdb.go/handcall.exp: Remove all logic related to the first
13850 breakpoint and rely on go_runto_main instead.
13851 * gdb.go/strings.exp: Likewise.
13852 * gdb.go/unsafe.exp: Likewise.
13853 * gdb.go/hello.exp: Likewise. Also rename the remaining
13854 breakpoint marker to "breakpoint 1".
13855 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
13856 * gdb.go/strings.go: Likewise.
13857 * gdb.go/unsafe.go: Likewise.
13858 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
13859 "set breakpoint 2 here" and rename the remaining breakpoint marker
13860 to "breakpoint 1".
13861
138622015-04-15 Simon Marchi <simon.marchi@ericsson.com>
13863
13864 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
13865 if itertools.imap is not present.
13866 * gdb.python/py-objfile.exp: Add parentheses.
13867 * gdb.python/py-type.exp: Same.
13868 * gdb.python/py-unwind-maint.py: Same.
13869
138702015-04-15 Yao Qi <yao.qi@linaro.org>
13871
13872 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
13873 of ":$ptr_size" and set its form explicitly.
13874
138752015-04-15 Pedro Alves <palves@redhat.com>
13876 Yao Qi <yao.qi@linaro.org>
13877
13878 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
13879 timeout by factor of 4.
13880 (test_regular_watch): Likewise.
13881 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
13882 * gdb.reverse/sigall-reverse.exp: Likewise.
13883 * gdb.reverse/until-precsave.exp: Likewise.
13884 * lib/gdb.exp (with_timeout_factor): New proc.
13885 (gdb_expect): Move some code to ...
13886 (get_largest_timeout): ... here. New procedure.
13887
138882015-04-14 Luis Machado <lgustavo@codesourcery.com>
13889
13890 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
13891
138922015-04-13 Luis Machado <lgustavo@codesourcery.com>
13893
13894 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
13895 to write to the .text section.
13896
138972015-04-13 Luis Machado <lgustavo@codesourcery.com>
13898
13899 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
13900 Handle the case of targets that do not provide PID information.
13901
139022015-04-13 Yao Qi <yao.qi@linaro.org>
13903
13904 * lib/gdbserver-support.exp (gdb_exit): Catch exception
13905 and use expect instead of gdb_expect.
13906
139072015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
13908
13909 * gdb.base/coredump-filter.exp: Rename variable "addr" to
13910 "coredump_var_addr" to avoid naming conflict with other testcases.
13911
139122015-04-10 Pedro Alves <palves@redhat.com>
13913
13914 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
13915 gdb_test_sequence and gdb_assert.
13916
139172015-04-10 Pedro Alves <palves@redhat.com>
13918
13919 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
13920 test messages that don't include the breakpoint address.
13921
139222015-04-10 Yao Qi <yao.qi@linaro.org>
13923
13924 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
13925 false for some offset and width combinations which aren't
13926 supported by linux kernel.
13927
139282015-04-10 Pedro Alves <palves@redhat.com>
13929
13930 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
13931 procedure, factored out from ...
13932 (top level): ... here. Add "set displaced-stepping" testing axis.
13933 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
13934 parameter "displaced". Use it.
13935 (top level): Use foreach and add "set displaced-stepping" testing
13936 axis.
13937
139382015-04-10 Pedro Alves <palves@redhat.com>
13939
13940 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
13941 Remove comment.
13942 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
13943 both the address of the instruction that triggers the watchpoint
13944 and the address of the instruction immediately after, and use
13945 those addresses for the test. Fix comment.
13946
139472015-04-10 Pedro Alves <palves@redhat.com>
13948
13949 * gdb.base/sigstep.exp (breakpoint_to_handler)
13950 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
13951 Test "backtrace" in handler.
13952 (breakpoint_over_handler): New parameter 'displaced'. Use it.
13953 (top level): Add new "displaced" test axis to
13954 breakpoint_to_handler, breakpoint_to_handler_entry and
13955 breakpoint_over_handler.
13956
139572015-04-10 Pedro Alves <palves@redhat.com>
13958
13959 PR gdb/18216
13960 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
13961
139622015-04-10 Yao Qi <yao.qi@linaro.org>
13963
13964 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
13965 (test_add_rn_pc): New function.
13966 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
13967 (top level): Invoke test_add_rn_pc.
13968
139692015-04-10 Pedro Alves <palves@redhat.com>
13970
13971 PR gdb/13858
13972 * gdb.base/step-over-no-symbols.exp: New file.
13973
139742015-04-09 Andy Wingo <wingo@igalia.com>
13975
13976 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
13977 after the Python tests.
13978
139792015-04-08 Keith Seitz <keiths@redhat.com>
13980
13981 PR python/16699
13982 * gdb.python/py-completion.exp: New tests for completion.
13983 * gdb.python/py-completion.py (CompleteLimit1): New class.
13984 (CompleteLimit2): Likewise.
13985 (CompleteLimit3): Likewise.
13986 (CompleteLimit4): Likewise.
13987 (CompleteLimit5): Likewise.
13988 (CompleteLimit6): Likewise.
13989 (CompleteLimit7): Likewise.
13990
139912015-04-08 Pedro Alves <palves@redhat.com>
13992
13993 PR gdb/18214
13994 PR gdb/18216
13995 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
13996 function.
13997 (main): Install it as SIGUSR1 handler.
13998 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
13999 parameter. Always use "setup" as prefix. Toggle "set
14000 displaced-stepping" off/on depending on global. Don't switch to
14001 thread 1 here.
14002 (top level): Add displaced stepping "off/on" test axis. Update
14003 "setup" calls. Wrap each subtest with with_test_prefix. Test
14004 continuing with a queued signal in each thread.
14005
140062015-04-08 Pedro Alves <palves@redhat.com>
14007
14008 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
14009 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
14010 gdb_breakpoint instead of gdb_test that doesn't expect anything.
14011 Return early if running to main fails.
14012 * gdb.trace/while-stepping.exp: Likewise.
14013
140142015-04-07 Pedro Alves <palves@redhat.com>
14015
14016 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
14017 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
14018 interact with inferior program.
14019
140202015-04-07 Pedro Alves <palves@redhat.com>
14021
14022 * lib/gdb.exp (inferior_spawn_id): New global.
14023 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
14024 spawn id after processing the user code.
14025 (default_gdb_start): Set inferior_spawn_id.
14026 (send_inferior): New procedure.
14027 * lib/gdbserver-support.exp (gdbserver_start): Set
14028 inferior_spawn_id.
14029 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
14030
140312015-04-07 Pedro Alves <palves@redhat.com>
14032
14033 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
14034 * lib/gdbserver-support.exp (gdbserver_start): Make
14035 $server_spawn_id global.
14036 (gdbserver_start): Don't wait for gdbserver's spawn id with
14037 expect_background.
14038 (close_gdbserver): New procedure.
14039 (gdb_exit): Rename the default version and reimplement.
14040
140412015-04-07 Pedro Alves <palves@redhat.com>
14042
14043 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
14044 append the substituted item, not the original item.
14045
140462015-04-07 Pedro Alves <palves@redhat.com>
14047
14048 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
14049 gdb_expect.
14050
140512015-04-07 Pedro Alves <palves@redhat.com>
14052
14053 * gdb.base/interrupt.exp: Don't handle the case of the inferior
14054 output appearing once only.
14055
140562015-04-07 Pedro Alves <palves@redhat.com>
14057
14058 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
14059 that doesn't expect anything. Return early if running to main
14060 fails.
14061
140622015-04-07 Yao Qi <yao.qi@linaro.org>
14063
14064 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
14065 (child_function): Call alarm.
14066 (main): Move call to alarm into the loop.
14067 * gdb.threads/non-stop-fair-events.exp: Build program with
14068 -DTIMEOUT=$timeout.
14069
140702015-04-06 Doug Evans <xdje42@gmail.com>
14071
14072 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
14073 Fix dest parameter to board_info.
14074 (fpc_compile): Ditto.
14075 (gdb_compile_pascal): Rename dest arg to destfile.
14076
140772015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
14078
14079 * gdb.ada/funcall_ref.exp: New file.
14080 * gdb.ada/funcall_ref/foo.adb: New file.
14081
140822015-04-02 Yao Qi <yao.qi@linaro.org>
14083
14084 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
14085 is remote.
14086
140872015-04-02 Gary Benson <gbenson@redhat.com>
14088
14089 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
14090
140912015-04-01 Sasha Smundak <asmundak@google.com>
14092
14093 * gdb.python/py-unwind-maint.c: New file.
14094 * gdb.python/py-unwind-maint.exp: New test.
14095 * gdb.python/py-unwind-maint.py: New file.
14096 * gdb.python/py-unwind.c: New file.
14097 * gdb.python/py-unwind.exp: New test.
14098 * gdb.python/py-unwind.py: New test.
14099
141002015-04-01 Pedro Alves <palves@redhat.com>
14101
14102 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
14103 to fail instead of non-existent $test.
14104
141052015-04-01 Pedro Alves <palves@redhat.com>
14106
14107 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
14108 GDBFLAGS if not empty.
14109
141102015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
14111
14112 * gdb.ada/complete.exp: Remove "multi_line".
14113 * gdb.ada/info_exc.exp: Remove "multi_line".
14114 * gdb.ada/packed_tagged.exp: Remove "multi_line".
14115 * gdb.ada/ptype_field.exp: Remove "multi_line".
14116 * gdb.ada/sym_print_name.exp: Remove "multi_line".
14117 * gdb.ada/tagged.exp: Remove "multi_line".
14118 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
14119 [multi_line ...]
14120 * gdb.btrace/delta.exp: Likewise.
14121 * gdb.btrace/exception.exp: Likewise.
14122 * gdb.btrace/function_call_history.exp: Likewise.
14123 * gdb.btrace/instruction_history.exp: Likewise.
14124 * gdb.btrace/nohist.exp: Likewise.
14125 * gdb.btrace/record_goto.exp: Likewise.
14126 * gdb.btrace/segv.exp: Likewise.
14127 * gdb.btrace/stepi.exp: Likewise.
14128 * gdb.btrace/tailcall.exp: Likewise.
14129 * gdb.btrace/unknown_functions.exp: Likewise.
14130 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
14131 * lib/gdb.exp: Add the "multi_line" helper.
14132
141332015-04-01 Pedro Alves <palves@redhat.com>
14134
14135 * gdb.threads/tid-reuse.c: New file.
14136 * gdb.threads/tid-reuse.exp: New file.
14137
141382015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
14139
14140 PR corefiles/16092
14141 * gdb.base/coredump-filter.c: New file.
14142 * gdb.base/coredump-filter.exp: Likewise.
14143
141442015-03-27 Petr Machata <pmachata@redhat.com>
14145
14146 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
14147 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
14148 (Dwarf::assemble): Initialize them.
14149 (Dwarf::lines): New function.
14150
141512015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
14152
14153 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
14154 SYMBOL_PREFIX for x86_64-*-cygwin.
14155
141562015-03-26 Andy Wingo <wingo@igalia.com>
14157
14158 PR symtab/18148
14159 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
14160 const_value but not a location.
14161 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
14162 location defined in non-main CUs are visible.
14163
141642015-03-26 Yao Qi <yao.qi@linaro.org>
14165
14166 PR testsuite/18139
14167 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
14168 Add a line number entry for the same line.
14169 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
14170 Add a line number entry for the same line.
14171
141722015-03-26 Yao Qi <yao.qi@linaro.org>
14173
14174 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
14175 .int 0.
14176 (func): Likewise. Add .Lfunc_1 label.
14177 Use .Lfunc_1 label.
14178 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
14179 .int 0.
14180 (func): Likewise.
14181 Use .Lfunc_1 label.
14182
141832015-03-26 Yao Qi <yao.qi@linaro.org>
14184
14185 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
14186 Call gdb_compile instead to compile each .s files without debug
14187 information.
14188
141892015-03-26 Yao Qi <yao.qi@linaro.org>
14190
14191 * gdb.base/savedregs.exp (process_saved_regs): Make
14192 "Saved registers:" optional in the pattern.
14193
141942015-03-25 Markus Metzger <markus.t.metzger@intel.com>
14195
14196 * gdb.btrace/next.exp: Merged into step.exp.
14197 * gdb.btrace/finish.exp: Merged into step.exp.
14198 * gdb.btrace/nexti.exp: Merged into stepi.exp.
14199 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
14200 "record goto" and checking the exact replay position.
14201 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
14202 check for "Recording format" in "info record" output.
14203 * gdb.btrace/record_goto.exp: Choose test file based on target.
14204 * gdb.btrace/x86-record_goto.S: Renamed into ...
14205 * gdb.btrace/x86_64-record_goto.S: ... this.
14206 * gdb.btrace/i686-record_goto.S: New.
14207 * gdb.btrace/x86-tailcall.S: Renamed into ...
14208 * gdb.btrace/x86_64-tailcall.S: ... this.
14209 * gdb.btrace/i686-tailcall.S: New.
14210 * gdb.btrace/x86-tailcall.c: Renamed into ...
14211 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
14212 separate statements. Update test.
14213 * gdb.btrace/delta.exp: Use record_goto.c as test file.
14214 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
14215 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
14216 * gdb.btrace/tailcall.exp: Choose test file based on target.
14217 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
14218
142192015-03-25 Markus Metzger <markus.t.metzger@intel.com>
14220
14221 * gdb.btrace/exception.exp: Increase BTS buffer size.
14222
142232015-03-24 Pedro Alves <palves@redhat.com>
14224
14225 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
14226
142272015-03-24 Pedro Alves <palves@redhat.com>
14228
14229 * gdb.threads/schedlock.exp (test_step): No longer expect that
14230 "set scheduler-locking step" with "next" over a function call runs
14231 threads unlocked.
14232
142332015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
14234
14235 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
14236
142372015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
14238
14239 PR breakpoints/16466
14240 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
14241 * gdb.mi/mi-pending.c (thread_func): New function.
14242 (int main): Add threading support required.
14243 * gdb.mi/mi-pending.exp: Add tests for this issue.
14244 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
14245 (pendfunc2): Remove stdio dependency.
14246 * gdb.mi/mi-pendshr2.c: New file.
14247
142482015-03-23 Keith Seitz <keiths@redhat.com>
14249
14250 * gdb.linespec/keywords.c: New file.
14251 * gdb.linespec/keywords.exp: New file.
14252
142532015-03-23 Keith Seitz <keiths@redhat.com>
14254
14255 PR gdb/18021
14256 * gdb.dwarf2/staticvirtual.exp: New test.
14257
142582015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14259
14260 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
14261 * README: Remove HP-UX and gdb.hp.
14262 (configuration):
14263 * configure: Regenerate.
14264 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
14265 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
14266 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
14267 gdb.hp/gdb.defects/Makefile.
14268 * gdb.hp/Makefile.in: File deleted.
14269 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
14270 * gdb.hp/gdb.aCC/optimize.c: File deleted.
14271 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
14272 * gdb.hp/gdb.aCC/run.c: File deleted.
14273 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
14274 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
14275 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
14276 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
14277 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
14278 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
14279 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
14280 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
14281 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
14282 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
14283 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
14284 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
14285 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
14286 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
14287 * gdb.hp/gdb.base-hp/reg.s: File deleted.
14288 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
14289 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
14290 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
14291 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
14292 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
14293 * gdb.hp/gdb.compat/Makefile.in: File deleted.
14294 * gdb.hp/gdb.compat/average.c: File deleted.
14295 * gdb.hp/gdb.compat/sum.c: File deleted.
14296 * gdb.hp/gdb.compat/xdb.c: File deleted.
14297 * gdb.hp/gdb.compat/xdb0.c: File deleted.
14298 * gdb.hp/gdb.compat/xdb0.h: File deleted.
14299 * gdb.hp/gdb.compat/xdb1.c: File deleted.
14300 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
14301 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
14302 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
14303 * gdb.hp/gdb.defects/Makefile.in: File deleted.
14304 * gdb.hp/gdb.defects/bs14602.c: File deleted.
14305 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
14306 * gdb.hp/gdb.defects/solib-d.c: File deleted.
14307 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
14308 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
14309 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
14310 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
14311 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
14312 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
14313 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
14314 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
14315 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
14316 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
14317 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
14318 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
14319 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
14320 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
14321 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
14322 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
14323 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
14324 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
14325 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
14326 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
14327 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
14328 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
14329 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
14330 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
14331 * gdb.hp/tools/odump: File deleted.
14332
143332015-03-19 Pedro Alves <palves@redhat.com>
14334
14335 * gdb.threads/continue-pending-status.exp (saw_thread_2)
14336 (saw_thread_3): New globals.
14337 (top level): Increment them when an event for the corresponding
14338 thread is seen.
14339 (no thread starvation): New test.
14340
143412015-03-19 Pedro Alves <palves@redhat.com>
14342
14343 * gdb.threads/continue-pending-status.c: New file.
14344 * gdb.threads/continue-pending-status.exp: New file.
14345
143462015-03-18 Pedro Alves <palves@redhat.com>
14347
14348 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
14349 Use gdb_is_target_remote instead of is_remote. Use
14350 gdb_test_multiple instead of gdb_expect. Exit early if
14351 gdb_test_multiple hits its internal matches. Tighten stepi tests
14352 expected output. Fail on exit with any signal, instead of just
14353 SIGILL.
14354
143552015-03-18 Yao Qi <yao.qi@linaro.org>
14356
14357 PR tdep/18107
14358 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
14359 variable.
14360 * gdb.base/catch-syscall.exp: Don't skip it on
14361 aarch64*-*-linux* target. Remove elements in all_syscalls.
14362 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
14363 target.
14364 (setup_all_syscalls): New proc.
14365
143662015-03-16 Yao Qi <yao.qi@linaro.org>
14367
14368 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
14369 (top level): Skip tests if valid_addr_p returns false for
14370 $cmd1 or $cmd2.
14371
143722015-03-11 Andy Wingo <wingo@igalia.com>
14373
14374 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
14375
143762015-03-11 Yao Qi <yao.qi@linaro.org>
14377
14378 * gdb.base/catch-syscall.exp: Fix typo in comments.
14379
143802015-03-11 Yao Qi <yao.qi@linaro.org>
14381
14382 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
14383
143842015-03-09 Pedro Alves <palves@redhat.com>
14385
14386 * dg-extract-results.py: Delete.
14387
143882015-03-09 Pedro Alves <palves@redhat.com>
14389
14390 Merge dg-extract-results.sh from GCC upstream (r218843).
14391
14392 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
14393 * dg-extract-results.sh: Use --text with grep to avoid issues with
14394 binary files. Fall back to cat -v, if that doesn't work.
14395
143962015-03-05 Pedro Alves <palves@redhat.com>
14397
14398 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
14399
144002015-03-04 Simon Marchi <simon.marchi@ericsson.com>
14401
14402 * lib/mi-support.exp (mi_expect_interrupt): Accept
14403 alternative event for when in all-stop mode.
14404
144052015-03-04 Pedro Alves <palves@redhat.com>
14406
14407 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
14408
144092015-03-04 Mark Kettenis <kettenis@gnu.org>
14410
14411 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
14412
144132015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
14414
14415 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
14416 regexps for GDB's current line display, accept a hex address
14417 preceding the line number.
14418
144192015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
14420
14421 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
14422 the 'arch1' variable for "s390*-linux*" targets.
14423
144242015-03-04 Pedro Alves <palves@redhat.com>
14425
14426 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
14427 (main): Pass missing retval argument to pthread_join call.
14428
144292015-03-02 Pedro Alves <palves@redhat.com>
14430
14431 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
14432 (top level): Call do_test with non-stop as well.
14433
144342015-03-02 Pedro Alves <palves@redhat.com>
14435
14436 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
14437 -1.
14438
144392015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
14440
14441 * gdb.arch/s390-vregs.exp: New test.
14442 * gdb.arch/s390-vregs.S: New file.
14443
144442015-02-27 Pedro Alves <palves@redhat.com>
14445
14446 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
14447 call to catch_command_errors.
14448 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
14449 catch_command_errors.
14450
144512015-02-27 Pedro Alves <palves@redhat.com>
14452
14453 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
14454 "true" for boolean result.
14455 * gdb.gdb/selftest.exp (test_with_self): Also accept full
14456 prototype of main.
14457
144582015-02-27 Pedro Alves <palves@redhat.com>
14459
14460 * lib/unbuffer_output.c: New file.
14461 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
14462 (main): Call gdb_unbuffer_output.
14463
144642015-02-27 Yao Qi <yao.qi@linaro.org>
14465
14466 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
14467 target.
14468
144692015-02-26 Doug Evans <dje@google.com>
14470
14471 * gdb.cp/class2.cc (Dbase, D): New classes.
14472 (main): New local delta.
14473 * gdb.cp/class2.exp: Test printing delta.
14474 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
14475 (dynbar): New global.
14476 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
14477
144782015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14479
14480 * gdb.compile/compile-ifunc.c: New file.
14481 * gdb.compile/compile-ifunc.exp: New file.
14482
144832015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
14484
14485 * gdb.base/structs.exp: Check for correct struct on finish.
14486
144872015-02-26 Yao Qi <yao.qi@linaro.org>
14488
14489 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
14490 is zero.
14491
144922015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14493
14494 * gdb.arch/cordic.ko.bz2: New file.
14495 * gdb.arch/cordic.ko.debug.bz2: New file.
14496 * gdb.arch/ppc64-symtab-cordic.exp: New file.
14497
144982015-02-25 Yao Qi <yao.qi@linaro.org>
14499
14500 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
14501 aarch64*-*-* target.
14502
145032015-02-23 Pedro Alves <palves@redhat.com>
14504
14505 * lib/gdb.exp (delete_breakpoints): Rewrite using
14506 gdb_test_multiple.
14507
145082015-02-23 Pedro Alves <palves@redhat.com>
14509
14510 * gdb.base/info-os.c: Include stdlib.h.
14511
145122015-02-22 Doug Evans <xdje42@gmail.com>
14513
14514 PR symtab/17855
14515 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
14516 is read after symbols have been re-read.
14517 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
14518 * gdb.ada/exec_changed/second.adb (Second): Ditto.
14519
145202015-02-21 Doug Evans <dje@google.com>
14521
14522 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
14523
145242015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14525
14526 PR corefiles/17808
14527 * gdb.arch/i386-biarch-core.core.bz2: New file.
14528 * gdb.arch/i386-biarch-core.exp: New file.
14529
145302015-02-21 Pedro Alves <palves@redhat.com>
14531
14532 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
14533 runto_main fails.
14534
145352015-02-20 Pedro Alves <palves@redhat.com>
14536
14537 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
14538 info probes.
14539
145402015-02-20 Pedro Alves <palves@redhat.com>
14541
14542 * gdb.threads/multi-create-ns-info-thr.exp: New file.
14543
145442015-02-20 Pedro Alves <palves@redhat.com>
14545
14546 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
14547 clean_restart before gdb_target_supports_trace.
14548
145492015-02-20 Pedro Alves <palves@redhat.com>
14550
14551 PR threads/18006
14552 * gdb.threads/clone-thread_db.c: New file.
14553 * gdb.threads/clone-thread_db.exp: New file.
14554
145552015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
14556
14557 PR breakpoints/16812
14558 * gdb.base/catch-gdb-caused-signals.c: New file.
14559 * gdb.base/catch-gdb-caused-signals.exp: New file.
14560
145612015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
14562
14563 * configure: Regenerated.
14564 * configure.ac: Use GDB_AC_TRANSFORM.
14565 * aclocal.m4: sinclude ../transform.m4.
14566
145672015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
14568
14569 * lib/dtrace.exp: New file.
14570 * gdb.base/dtrace-probe.exp: Likewise.
14571 * gdb.base/dtrace-probe.d: Likewise.
14572 * gdb.base/dtrace-probe.c: Likewise.
14573 * lib/pdtrace.in: Likewise.
14574 * configure.ac: Output variables with the transformed names of
14575 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
14576 * configure: Regenerated.
14577
145782015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
14579
14580 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
14581 expected message when trying to access $_probe_* convenience
14582 variables while not on a probe.
14583
145842015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14585
14586 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
14587
145882015-02-11 Pedro Alves <pedro@codesourcery.com>
14589
14590 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
14591 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
14592
145932015-02-10 Doug Evans <xdje42@gmail.com>
14594
14595 * lib/gdb.exp (gdb_load): Always return a result.
14596
145972015-02-10 Pedro Alves <palves@redhat.com>
14598
14599 * gdb.threads/signal-sigtrap.c: New file.
14600 * gdb.threads/signal-sigtrap.exp: New file.
14601
146022015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
14603
14604 * gdb.trace/no-attach-trace.c: New file.
14605 * gdb.trace/no-attach-trace.exp: New file.
14606
146072015-02-09 Mark Wielaard <mjw@redhat.com>
14608
14609 * gdb.dwarf2/atomic.c: New file.
14610 * gdb.dwarf2/atomic-type.exp: Likewise.
14611
146122015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14613
14614 * gdb.btrace/buffer-size.exp: Update "info record" output.
14615 * gdb.btrace/delta.exp: Update "info record" output.
14616 * gdb.btrace/enable.exp: Update "info record" output.
14617 * gdb.btrace/finish.exp: Update "info record" output.
14618 * gdb.btrace/instruction_history.exp: Update "info record" output.
14619 * gdb.btrace/next.exp: Update "info record" output.
14620 * gdb.btrace/nexti.exp: Update "info record" output.
14621 * gdb.btrace/step.exp: Update "info record" output.
14622 * gdb.btrace/stepi.exp: Update "info record" output.
14623 * gdb.btrace/nohist.exp: Update "info record" output.
14624
146252015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14626
14627 * gdb.btrace/buffer-size: New.
14628
146292015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14630
14631 * gdb.btrace/delta.exp: Update "info record" output.
14632 * gdb.btrace/enable.exp: Update "info record" output.
14633 * gdb.btrace/finish.exp: Update "info record" output.
14634 * gdb.btrace/instruction_history.exp: Update "info record" output.
14635 * gdb.btrace/next.exp: Update "info record" output.
14636 * gdb.btrace/nexti.exp: Update "info record" output.
14637 * gdb.btrace/step.exp: Update "info record" output.
14638 * gdb.btrace/stepi.exp: Update "info record" output.
14639 * gdb.btrace/nohist.exp: Update "info record" output.
14640
146412015-02-06 Simon Marchi <simon.marchi@ericsson.com>
14642
14643 PR gdb/15678
14644 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
14645
146462015-02-06 Pedro Alves <palves@redhat.com>
14647
14648 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
14649 macro.
14650 (seconds_left, again): New globals.
14651 (main): Wait seconds_left in a 1-second sleep loop instead of
14652 sleeping 180 seconds. If 'again' is set, reset the seconds
14653 counter.
14654 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
14655 'again' in the inferior before detaching. Print the seconds left.
14656 (options): New global.
14657 (top level): Build program with -DTIMEOUT=$timeout.
14658
146592015-02-06 Pedro Alves <palves@redhat.com>
14660
14661 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
14662 determine how many seconds to pass to 'alarm'.
14663 * gdb.base/gdb-sigterm.exp (top level): Build program with
14664 -DTIMEOUT=$timeout.
14665 (do_test): Return success/failure indication. Add more verbose
14666 logging. Don't fail if 200 single steps are seen. Instead, fail
14667 when the test times out.
14668 (passes): New global.
14669 (top level): Break the testing loop if testing fails on any
14670 iteration. Use gdb_assert.
14671
146722015-02-04 Don Breazeal <donb@codesourcery.com>
14673
14674 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
14675 and initialize them.
14676 (ipc_cleanup): New function.
14677 (main): Don't declare shmid, semid, and msqid. Add a call to
14678 atexit so that we call ipc_cleanup on exit.
14679
146802015-02-04 Pedro Alves <palves@redhat.com>
14681
14682 * boards/native-extended-gdbserver.exp: Remove any target variant
14683 specifications from the board name before clearing the isremote
14684 flag from board_info.
14685
146862015-01-31 Doug Evans <xdje42@gmail.com>
14687
14688 * gdb.base/maint.exp <maint print type argc>: Update expected output.
14689
146902015-01-31 Gary Benson <gbenson@redhat.com>
14691
14692 * gdb.base/completion.exp: Disable completion limiting for
14693 existing tests. Add new tests to check completion limiting.
14694 * gdb.linespec/ls-errs.exp: Disable completion limiting.
14695
146962015-01-31 Doug Evans <xdje42@gmail.com>
14697
14698 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
14699
147002015-01-31 Doug Evans <xdje42@gmail.com>
14701
14702 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
14703 entries. Duplicate file section script entries.
14704 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
14705 inlined entries. Add test for safe-path rejection.
14706 * gdb.python/py-section-script.c: Add duplicate inlined section script
14707 entries. Duplicate file section script entries.
14708 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
14709 inlined entries. Add test for safe-path rejection.
14710
147112015-01-29 Joel Brobecker <brobecker@adacore.com>
14712
14713 * gdb.ada/disc_arr_bound: New testcase.
14714
147152015-01-29 Joel Brobecker <brobecker@adacore.com>
14716
14717 * gdb.ada/mi_var_array: New testcase.
14718
147192015-01-27 Doug Evans <dje@google.com>
14720
14721 * gdb.python/py-objfile.exp: Add tests for objfile.username.
14722 Add test for objfile.filename, objfile.username after objfile
14723 has been unloaded.
14724
147252015-01-26 Joel Brobecker <brobecker@adacore.com>
14726
14727 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
14728 the second test to print the name attribute of value
14729 returned by the call to gdb.lookup_type, and adjust
14730 the expected output accordingly.
14731
147322015-01-25 Mark Wielaard <mjw@redhat.com>
14733
14734 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
14735 * gdb.base/disp-step-fork.c: Include unistd.h.
14736 * gdb.base/siginfo-obj.c: Include stdio.h.
14737 * gdb.base/siginfo-thread.c: Likewise.
14738 * gdb.mi/non-stop.c: Include unistd.h.
14739 * gdb.mi/nsthrexec.c: Include stdio.h.
14740 * gdb.mi/pthreads.c: Include unistd.h.
14741 * gdb.modula2/unbounded1.c (main): Declare returns int.
14742 * gdb.reverse/consecutive-reverse.c: Likewise.
14743 * gdb.threads/create-fail.c: Include unistd.h.
14744 * gdb.threads/killed.c: Likewise.
14745 * gdb.threads/linux-dp.c: Likewise.
14746 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
14747 * gdb.threads/non-ldr-exc-2.c: Likewise.
14748 * gdb.threads/non-ldr-exc-3.c: Likewise.
14749 * gdb.threads/non-ldr-exc-4.c: Likewise.
14750 * gdb.threads/pthreads.c: Include unistd.h.
14751 (main): Declare returns int.
14752 * gdb.threads/tls-main.c (foo): New declaration.
14753 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
14754
147552015-01-23 Simon Marchi <simon.marchi@ericsson.com>
14756
14757 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
14758 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
14759
147602015-01-15 Mark Wielaard <mjw@redhat.com>
14761
14762 * gdb.base/noreturn-return.c: New file.
14763 * gdb.base/noreturn-return.exp: New file.
14764 * gdb.base/noreturn-finish.c: New file.
14765 * gdb.base/noreturn-finish.exp: New file.
14766
147672015-01-23 Pedro Alves <palves@redhat.com>
14768
14769 * gdb.threads/continue-pending-after-query.c: New file.
14770 * gdb.threads/continue-pending-after-query.exp: New file.
14771
147722015-01-22 Anders Granlund <anders.granlund@ericsson.com>
14773 Simon Marchi <simon.marchi@ericsson.com>
14774
14775 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
14776 * gdb.base/valgrind-db-attach.exp: Same.
14777 * gdb.base/valgrind-infcall.exp: Same.
14778 * lib/mi-support.exp (default_mi_gdb_start): Same.
14779 * lib/prompt.exp (default_prompt_gdb_start): Same.
14780 * lib/gdb.exp (default_gdb_spawn): Same.
14781 (gdb_interact): New.
14782
14783
147842015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14785
14786 * gdb.compile/compile.exp (pointer to jit function): New test.
14787
147882015-01-17 Wei-cheng Wang <cole945@gmail.com>
14789
14790 * lib/gdb.exp (supports_process_record): Return true for
14791 powerpc*-*-linux*.
14792 (supports_reverse): Likewise.
14793
147942015-01-15 Don Breazeal <donb@codesourcery.com>
14795
14796 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
14797 instead of checking whether the target board is remote and
14798 use spawn_wait_for_attach instead of exec/sleep.
14799 * gdb.base/attach-twice.exp: Likewise.
14800
148012015-01-15 Joel Brobecker <brobecker@adacore.com>
14802
14803 * gdb.ada/var_arr_attrs: New testcase.
14804
148052015-01-14 Pedro Alves <palves@redhat.com>
14806 Joel Brobecker <brobecker@adacore.com>
14807
14808 PR gdb/17525
14809 * gdb.base/bp-cmds-execution-x-script.c: New file.
14810 * gdb.base/bp-cmds-execution-x-script.exp: New file.
14811 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
14812
148132015-01-14 Pedro Alves <palves@redhat.com>
14814
14815 PR cli/17828
14816 * gdb.base/batch-preserve-term-settings.c: New file.
14817 * gdb.base/batch-preserve-term-settings.exp: New file.
14818
148192015-01-13 Doug Evans <dje@google.com>
14820
14821 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
14822 binary.
14823
148242015-01-13 Joel Brobecker <brobecker@adacore.com>
14825
14826 * Makefile.in (clean mostlyclean): Do not delete *.py.
14827
148282015-01-13 Joel Brobecker <brobecker@adacore.com>
14829
14830 * gdb.python/py-lookup-type.exp: New file.
14831
148322015-01-12 Pedro Alves <palves@redhat.com>
14833
14834 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
14835 restore GDBFLAGS before returning.
14836
148372015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14838
14839 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
14840 is_amd64_regs_target and is_x86_like_target.
14841
148422015-01-11 Doug Evans <xdje42@gmail.com>
14843
14844 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
14845 is given without an explicit form.
14846 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
14847 attributes.
14848 * gdb.dwarf/corrupt.exp: Ditto.
14849 * gdb.dwarf2/enum-type.exp: Ditto.
14850 * gdb.trace/entry-values.exp: Ditto.
14851 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
14852
148532015-01-11 Doug Evans <xdje42@gmail.com>
14854
14855 PR gdb/15830
14856 * gdb.base/maint.exp: Remove references to "maint demangle".
14857 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
14858 Add tests for explicitly specifying language to demangle.
14859 * gdb.dlang/demangle.exp: Ditto.
14860
148612015-01-09 Pedro Alves <palves@redhat.com>
14862
14863 * gdb.threads/non-stop-fair-events.c: New file.
14864 * gdb.threads/non-stop-fair-events.exp: New file.
14865
148662015-01-09 Pedro Alves <palves@redhat.com>
14867
14868 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
14869 the global scope. Set a breakpoint after all threads are started
14870 rather than stepping over two source lines. Expect the prompt.
14871 * gdb.base/watch_thread_num.c (threads_started_barrier): New
14872 global.
14873 (NUM): Now 15.
14874 (main): Use threads_started_barrier to wait for all threads to
14875 start. Main thread no longer calls thread_function. Exit after
14876 180 seconds.
14877 (loop): New function.
14878 (thread_function): Wait on threads_started_barrier barrier. Call
14879 'loop' at each iteration.
14880 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
14881 threads have started, instead of hardcoding number of "next"
14882 steps. Use an access watchpoint instead of a write watchpoint.
14883
148842015-01-09 Pedro Alves <palves@redhat.com>
14885
14886 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
14887 (thread_func): Wait on barrier.
14888 (main): Wait for all threads to start before stopping GDB.
14889 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
14890 global.
14891 (thread1_func, thread2_func): Wait on barrier.
14892 (main): Wait for all threads to start before stopping GDB.
14893 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
14894 New global.
14895 (thread1_func, thread2_func): Wait on barrier.
14896 (main): Wait for all threads to start before stopping GDB.
14897
148982015-01-09 Pedro Alves <palves@redhat.com>
14899
14900 * gdb.threads/attach-many-short-lived-threads.c: New file.
14901 * gdb.threads/attach-many-short-lived-threads.exp: New file.
14902
149032014-01-09 Pedro Alves <palves@redhat.com>
14904
14905 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
14906 instead of to thread 2.
14907 * gdb.threads/signal-command-multiple-signals-pending.c (main):
14908 Add barrier around each pthread_create call instead of around all
14909 calls.
14910 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
14911 Set a break on thread_function and have the child threads hit it
14912 one at at a time.
14913
149142015-01-09 Pedro Alves <palves@redhat.com>
14915
14916 * lib/gdb.exp (can_spawn_for_attach): New procedure.
14917 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
14918 false.
14919 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
14920 checking whether the target board is remote.
14921 * gdb.multi/multi-attach.exp: Likewise.
14922 * gdb.python/py-sync-interp.exp: Likewise.
14923 * gdb.server/ext-attach.exp: Likewise.
14924 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
14925 tests that need to attach, instead of checking whether the target
14926 board is remote at the top of the file.
14927
149282015-01-08 Yao Qi <yao@codesourcery.com>
14929
14930 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
14931
149322015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14933
14934 Fix testcase compilation.
14935 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
14936
149372015-01-06 Joel Brobecker <brobecker@adacore.com>
14938
14939 * gdb.python/py-type.exp: Add a couple test about empty
14940 array creation, and negative-length array creation.
14941
149422015-01-02 Doug Evans <xdje42@gmail.com>
14943
14944 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
14945
149462015-01-02 Doug Evans <dje@google.com>
14947
14948 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
14949
149502014-12-29 Yao Qi <yao@codesourcery.com>
14951
14952 * gdb.trace/entry-values.exp: Update comments. Rename variable
14953 bar_call_foo to returned_from_foo.
14954
149552014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
14956
14957 PR gdb/17394
14958 * gdb.linespec/break-asm-file.c: New file.
14959 * gdb.linespec/break-asm-file.exp: New file.
14960 * gdb.linespec/break-asm-file0.s: New file.
14961 * gdb.linespec/break-asm-file1.s: New file.
14962
149632014-12-18 Nigel Stephens <nigel@mips.com>
14964 Maciej W. Rozycki <macro@codesourcery.com>
14965
14966 * gdb.base/float.exp: Handle the new output from "info float" on
14967 MIPS targets.
14968
149692014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
14970
14971 Fix MinGW compilation.
14972 * gdb.compile/compile-ops.exp: Update untested message if
14973 !skip_compile_feature_tests.
14974 * gdb.compile/compile-setjmp.exp: Likewise.
14975 * gdb.compile/compile-tls.exp: Likewise.
14976 * gdb.compile/compile.exp: Likewise.
14977 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
14978 supported on this host".
14979
149802014-12-16 Doug Evans <xdje42@gmail.com>
14981
14982 * boards/stabs.exp: New file.
14983
149842014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
14985
14986 * gdb.base/completion.exp: Adjust to format changes of "maint
14987 print user-registers".
14988
149892014-12-16 Catalin Udma <catalin.udma@freescale.com>
14990
14991 PR server/17457
14992 * gdb.arch/aarch64-fp.c: New file.
14993 * gdb.arch/aarch64-fp.exp: New file.
14994
149952014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
14996
14997 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
14998 r210637, r210913, r211666, r215400, r215817).
14999
15000 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
15001 * dg-extract-results.py: New file.
15002 * dg-extract-results.sh: Use it if the environment seems
15003 suitable.
15004
15005 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
15006
15007 * dg-extract-results.py (parse_run): Handle warnings that
15008 are printed before a test harness is run.
15009
15010 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
15011
15012 * dg-extract-results.py (Named): Remove __cmp__ method.
15013 (output_variation): Use a key to sort variation.harnesses.
15014
15015 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
15016
15017 * dg-extract-results.py: For Python 3, force sys.stdout to
15018 handle surrogate escape sequences.
15019 (safe_open): New function.
15020 (output_segment, main): Use it.
15021
15022 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
15023
15024 * dg-extract-results.py (Prog.result_re): Include options
15025 in test name.
15026
15027 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
15028
15029 * dg-extract-results.py (output_variation): Always sort if
15030 do_sum.
15031
150322014-12-15 Simon Marchi <simon.marchi@ericsson.com>
15033
15034 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
15035 as long as we get pagination notifications.
15036
150372014-12-15 Jason Merrill <jason@redhat.com>
15038
15039 * Makefile.in (check-gdb.%): Restore.
15040 * README: Mention it.
15041
150422014-12-13 Joel Brobecker <brobecker@adacore.com>
15043
15044 * gdb.ada/str_uninit: New testcase.
15045
150462014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15047
15048 PR symtab/17642
15049 * gdb.base/vla-stub-define.c: New file.
15050 * gdb.base/vla-stub.c: New file.
15051 * gdb.base/vla-stub.exp: New file.
15052
150532014-12-12 Phil Muldoon <pmuldoon@redhat.com>
15054 Jan Kratochvil <jan.kratochvil@redhat.com>
15055 Tom Tromey <tromey@redhat.com>
15056
15057 * configure.ac: Add gdb.compile/.
15058 * configure: Regenerate.
15059 * gdb.compile/Makefile.in: New file.
15060 * gdb.compile/compile-ops.exp: New file.
15061 * gdb.compile/compile-ops.c: New file.
15062 * gdb.compile/compile-tls.c: New file.
15063 * gdb.compile/compile-tls.exp: New file.
15064 * gdb.compile/compile-constvar.S: New file.
15065 * gdb.compile/compile-constvar.c: New file.
15066 * gdb.compile/compile-mod.c: New file.
15067 * gdb.compile/compile-nodebug.c: New file.
15068 * gdb.compile/compile-setjmp-mod.c: New file.
15069 * gdb.compile/compile-setjmp.c: New file.
15070 * gdb.compile/compile-setjmp.exp: New file.
15071 * gdb.compile/compile-shlib.c: New file.
15072 * gdb.compile/compile.c: New file.
15073 * gdb.compile/compile.exp: New file.
15074 * lib/gdb.exp (skip_compile_feature_tests): New proc.
15075
150762014-12-12 Tom Tromey <tromey@redhat.com>
15077
15078 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
15079 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
15080
150812014-12-12 Doug Evans <dje@google.com>
15082
15083 * lib/gdb-python.exp (get_python_valueof): New function.
15084 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
15085
150862014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
15087
15088 * gdb.base/completion.exp: Add test for completion of "info
15089 registers ".
15090
150912014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
15092
15093 * gdb.base/func-ptrs.c: New file.
15094 * gdb.base/func-ptrs.exp: New file.
15095
150962014-12-10 Simon Marchi <simon.marchi@ericsson.com>
15097
15098 PR breakpoints/17012
15099 * gdb.base/dprintf-detach.c: New file.
15100 * gdb.base/dprintf-detach.exp: New file.
15101
151022014-12-10 Simon Marchi <simon.marchi@ericsson.com>
15103
15104 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
15105 * lib/gdb.exp (target_is_gdbserver): New procedure.
15106
151072014-12-08 Doug Evans <dje@google.com>
15108
15109 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
15110
151112014-12-05 Yao Qi <yao@codesourcery.com>
15112
15113 * gdb.guile/scm-error.exp: Remove the third argument to
15114 gdb_remote_download.
15115 * gdb.guile/scm-frame-args.exp: Likewise.
15116 * gdb.guile/scm-section-script.exp: Likewise.
15117
151182014-12-05 Yao Qi <yao@codesourcery.com>
15119
15120 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
15121
151222014-12-04 Doug Evans <dje@google.com>
15123
15124 * gdb.python/py-objfile.exp: Add tests for
15125 objfile.add_separate_debug_file.
15126
151272014-12-04 Doug Evans <dje@google.com>
15128
15129 * lib/gdb.exp (get_build_id): New function.
15130 (build_id_debug_filename_get): Rewrite to use it.
15131 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
15132
151332014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
15134
15135 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
15136 `method(long)', not just 0x0.
15137 * gdb.cp/nsalias.exp: Align code labels to 4.
15138 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
15139 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
15140 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
15141 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
15142 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
15143 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
15144
151452014-12-02 Doug Evans <dje@google.com>
15146
15147 PR symtab/17602
15148 * gdb.cp/anon-ns.cc: Move guts of this file to ...
15149 * gdb.cp/anon-ns2.cc: ... here. New file.
15150 * gdb.cp/anon-ns.exp: Update.
15151
151522014-12-02 Nick Bull <nicholaspbull@gmail.com>
15153
15154 * gdb.python/py-events.py (inferior_call_handler): New.
15155 (register_changed_handler, memory_changed_handler): New.
15156 (test_events.invoke): Register new handlers.
15157 * gdb.python/py-events.exp: Add tests for inferior call,
15158 memory_changed and register_changed events.
15159
151602014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
15161
15162 * gdb.base/execl-update-breakpoints.exp: Specify the link address
15163 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
15164 if the linker doesn't understand this.
15165
151662014-12-01 Simon Marchi <simon.marchi@ericsson.com>
15167
15168 * gdb.python/python.exp: Change expected reply to help().
15169
151702014-12-01 Yao Qi <yao@codesourcery.com>
15171
15172 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
15173 AC_CONFIG_SUBDIRS(gdb.gdbtk).
15174 * configure: Re-generated.
15175
151762014-11-28 Siva Chandra Reddy <sivachandra@google.com>
15177
15178 * gdb.cp/chained-calls.cc: New file.
15179 * gdb.cp/chained-calls.exp: New file.
15180 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
15181
151822014-11-28 Simon Marchi <simon.marchi@ericsson.com>
15183
15184 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
15185 * gdb.dwarf2/symtab-producer.exp: Same.
15186 * gdb.gdb/python-interrupts.exp: Same.
15187 * gdb.gdb/python-selftest.exp: Same.
15188 * gdb.python/py-linetable.exp: Same.
15189 * gdb.python/py-type.exp: Same.
15190 * gdb.python/py-value-cc.exp: Same.
15191 * gdb.python/py-value.exp: Same.
15192
151932014-11-28 Yao Qi <yao@codesourcery.com>
15194
15195 * gdb.base/break-probes.exp: Match library name prefixed with
15196 sysroot.
15197
151982014-11-27 Simon Marchi <simon.marchi@ericsson.com>
15199
15200 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
15201 test expected output. Add parentheses for the call to print.
15202 Remove L suffix from integers.
15203
152042014-11-26 Doug Evans <dje@google.com>
15205
15206 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
15207
152082014-11-22 Yao Qi <yao@codesourcery.com>
15209
15210 * gdb.trace/entry-values.c: Remove asms.
15211 (foo): Add foo_label.
15212 (bar): Add bar_label.
15213 * gdb.trace/entry-values.exp: Remove code computing foo's
15214 length and bar's length.
15215 (Dwarf::assemble): Invoke function_range for bar and use
15216 MACRO_AT_func for foo.
15217
152182014-11-22 Yao Qi <yao@codesourcery.com>
15219
15220 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
15221 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
15222 Use .Lgcc43_procstart instead of gcc43.
15223
152242014-11-21 Joel Brobecker <brobecker@adacore.com>
15225
15226 * gdb.ada/n_arr_bound: New testcase.
15227
152282014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
15229
15230 PR breakpoints/10737
15231 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
15232 test_catch_syscall_multi_arch.
15233 (test_catch_syscall_multi_arch): New function.
15234
152352014-11-20 Doug Evans <xdje42@gmail.com>
15236
15237 * gdb.base/maint.exp: Update expected output.
15238
152392014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
15240
15241 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
15242 4-byte instruction on S390.
15243
152442014-11-19 Joel Brobecker <brobecker@adacore.com>
15245
15246 * gdb.ada/arr_arr: New testcase.
15247
152482014-11-19 Joel Brobecker <brobecker@adacore.com>
15249
15250 * gdb.ada/pkd_arr_elem: New Testcase.
15251
152522014-11-18 Luis Machado <lgustavo@codesourcery.com>
15253
15254 * gdb.reverse/break-precsave: Expect completion message for
15255 core file reads.
15256 * gdb.reverse/consecutive-precsave.exp: Likewise.
15257 * gdb.reverse/finish-precsave.exp: Likewise.
15258 * gdb.reverse/i386-precsave.exp: Likewise.
15259 * gdb.reverse/machinestate-precsave.exp: Likewise.
15260 * gdb.reverse/sigall-precsave.exp: Likewise.
15261 * gdb.reverse/solib-precsave.exp: Likewise.
15262 * gdb.reverse/step-precsave.exp: Likewise.
15263 * gdb.reverse/until-precsave.exp: Likewise.
15264 * gdb.reverse/watch-precsave.exp: Likewise.
15265
152662014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15267
15268 * gdb.base/bp-permanent.c: Include unistd.h.
15269 * gdb.python/py-framefilter-mi.c (main): Add return type.
15270 * gdb.python/py-framefilter.c (main): Likewise.
15271 * gdb.trace/actions-changed.c (main): Likewise.
15272
152732014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15274
15275 * gdb.mi/until.c: Add eye-catchers.
15276 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
15277 line numbers.
15278
152792014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15280
15281 * gdb.base/condbreak.exp: Drop references to removed non-prototype
15282 function header variants in break1.c.
15283 * gdb.base/ena-dis-br.exp: Likewise.
15284 * gdb.base/hbreak2.exp: Likewise.
15285 * gdb.reverse/until-precsave.exp: Drop references to removed
15286 non-prototype function header variants in ur1.c.
15287 * gdb.reverse/until-reverse.exp: Likewise.
15288
152892014-11-17 Petr Machata <pmachata@redhat.com>
15290
15291 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
15292 ${_cu_offset_size} bytes abbrev offset.
15293
152942014-11-15 Doug Evans <xdje42@gmail.com>
15295
15296 PR symtab/17559
15297 * gdb.base/line-symtabs.exp: New file.
15298 * gdb.base/line-symtabs.c: New file.
15299 * gdb.base/line-symtabs.h: New file.
15300
153012014-11-14 Yao Qi <yao@codesourcery.com>
15302
15303 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
15304 (func): Add label func_label.
15305 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
15306 Replace low_pc and high_pc with MACRO_AT_range.
15307 Replace name, low_pc and high_pc with MACRO_AT_func.
15308
153092014-11-14 Yao Qi <yao@codesourcery.com>
15310
15311 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
15312 Replace name, low_pc and high_pc with MACRO_AT_func.
15313
153142014-11-14 Yao Qi <yao@codesourcery.com>
15315
15316 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
15317 produce debug information.
15318 * gdb.dwarf2/implptr-optimized-out.S: Removed.
15319
153202014-11-14 Yao Qi <yao@codesourcery.com>
15321
15322 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
15323 object and get function length.
15324 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
15325 with MACRO_AT_func.
15326 (top-level): Replace gdb_compile and clean_restart with
15327 prepare_for_testing.
15328 * gdb.dwarf2/main.c (main): Add label main_label.
15329
153302014-11-14 Yao Qi <yao@codesourcery.com>
15331
15332 * lib/dwarf.exp (function_range): New procedure.
15333 (Dwarf::_handle_macro_at_func): New procedure.
15334 (Dwarf::_handle_macro_at_range): New procedure.
15335 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
15336
153372014-11-14 Yao Qi <yao@codesourcery.com>
15338
15339 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
15340 (_handle_attribute): New procedure.
15341
153422014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15343
15344 * gdb.ada/cond_lang/foo.c (callme): Add return type.
15345 * gdb.base/call-sc.c (zed): Likewise.
15346 * gdb.base/checkpoint.c (main): Likewise.
15347 * gdb.base/dump.c (main): Likewise.
15348 * gdb.base/gcore.c (main): Likewise.
15349 * gdb.base/huge.c (main): Likewise.
15350 * gdb.base/multi-forks.c (main): Likewise.
15351 * gdb.base/pr10179-a.c (main): Likewise.
15352 * gdb.base/savedregs.c (main): Likewise.
15353 * gdb.base/sigaltstack.c (main): Likewise.
15354 * gdb.base/siginfo.c (main): Likewise.
15355 * gdb.base/structs.c (zed): Likewise.
15356 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
15357 * gdb.mi/mi-syn-frame.c (main): Likewise.
15358 * gdb.mi/until.c (foo, main): Likewise.
15359 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
15360 * gdb.base/solib-weak.c (foo): Declare.
15361 * gdb.base/attach-twice.c: Include stdio.h.
15362 * gdb.base/weaklib1.c: Likewise.
15363 * gdb.base/weaklib2.c: Likewise.
15364 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
15365 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
15366 unistd.h.
15367 * gdb.base/attach-pie-misread.c: Include stdlib.h.
15368 * gdb.mi/mi-exit-code.c: Likewise.
15369 * gdb.base/break-interp-lib.c: Include string.h.
15370 * gdb.base/coremaker.c: Likewise.
15371 * gdb.base/testenv.c: Likewise.
15372 * gdb.python/py-finish-breakpoint.c: Likewise.
15373 * gdb.base/inferior-died.c: Include sys/wait.h.
15374 * gdb.base/fileio.c: Include time.h.
15375 * gdb.base/async-shell.c: Include unistd.h.
15376 * gdb.base/dprintf-non-stop.c: Likewise.
15377 * gdb.base/info-os.c: Likewise.
15378 * gdb.mi/mi-console.c: Likewise.
15379 * gdb.mi/watch-nonstop.c: Likewise.
15380 * gdb.python/py-events.c: Likewise.
15381 * gdb.base/async.c (baz): Move up before its invocation.
15382 * gdb.base/code_elim2.c (my_global_func): Likewise.
15383 * gdb.base/skip-solib-lib.c (multiply): Likewise.
15384 * gdb.base/advance.c (func2): Likewise.
15385
153862014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15387
15388 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
15389 variant.
15390 * gdb.base/annota3.c: Likewise.
15391 * gdb.base/async.c: Likewise.
15392 * gdb.base/average.c: Likewise.
15393 * gdb.base/call-ar-st.c: Likewise.
15394 * gdb.base/call-rt-st.c: Likewise.
15395 * gdb.base/call-sc.c: Likewise.
15396 * gdb.base/call-strs.c: Likewise.
15397 * gdb.base/ending-run.c: Likewise.
15398 * gdb.base/execd-prog.c: Likewise.
15399 * gdb.base/exprs.c: Likewise.
15400 * gdb.base/foll-exec.c: Likewise.
15401 * gdb.base/foll-fork.c: Likewise.
15402 * gdb.base/foll-vfork.c: Likewise.
15403 * gdb.base/funcargs.c: Likewise.
15404 * gdb.base/gcore.c: Likewise.
15405 * gdb.base/jump.c: Likewise.
15406 * gdb.base/langs0.c: Likewise.
15407 * gdb.base/langs1.c: Likewise.
15408 * gdb.base/langs2.c: Likewise.
15409 * gdb.base/mips_pro.c: Likewise.
15410 * gdb.base/nodebug.c: Likewise.
15411 * gdb.base/opaque0.c: Likewise.
15412 * gdb.base/opaque1.c: Likewise.
15413 * gdb.base/recurse.c: Likewise.
15414 * gdb.base/run.c: Likewise.
15415 * gdb.base/scope0.c: Likewise.
15416 * gdb.base/scope1.c: Likewise.
15417 * gdb.base/setshow.c: Likewise.
15418 * gdb.base/setvar.c: Likewise.
15419 * gdb.base/shmain.c: Likewise.
15420 * gdb.base/shr1.c: Likewise.
15421 * gdb.base/shr2.c: Likewise.
15422 * gdb.base/sigall.c: Likewise.
15423 * gdb.base/signals.c: Likewise.
15424 * gdb.base/so-indr-cl.c: Likewise.
15425 * gdb.base/solib2.c: Likewise.
15426 * gdb.base/structs.c: Likewise.
15427 * gdb.base/sum.c: Likewise.
15428 * gdb.base/vforked-prog.c: Likewise.
15429 * gdb.base/watchpoint.c: Likewise.
15430 * gdb.reverse/shr2.c: Likewise.
15431 * gdb.reverse/until-reverse.c: Likewise.
15432 * gdb.reverse/ur1.c: Likewise.
15433 * gdb.reverse/watch-reverse.c: Likewise.
15434
154352014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15436
15437 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
15438 variant.
15439 * gdb.base/sepdebug.exp: Drop references to removed code.
15440
154412014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15442
15443 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
15444 variant. Preserve original line numbering.
15445 * gdb.base/list1.c: Likewise.
15446
154472014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15448
15449 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
15450 variant.
15451 * gdb.base/break1.c: Likewise.
15452 * gdb.base/break.exp: Drop references to removed code.
15453
154542014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15455
15456 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
15457 variant.
15458
154592014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15460
15461 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
15462
154632014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15464
15465 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
15466 logic into perform_all_tests() and invoke it with and without
15467 function header prototypes.
15468 (do_function_calls): Remove conditional XFAIL for PR 5318.
15469 (rerun_and_prepare): Remove duplicate code.
15470 (perform_all_tests): New. Main logic moved here.
15471
154722014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15473
15474 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
15475 code guarded by #ifdef NO_PROTOTYPES.
15476 (t_double_many_args): Likewise.
15477 (DEF_FUNC_MANY_ARGS_1): Likewise.
15478 (DEF_FUNC_VALUES_1): Likewise.
15479 (t_structs_ldc): Renamed from t_structs_fc in conditional code
15480 guarded by #ifdef PROTOTYPES.
15481
154822014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15483
15484 * gdb.mi/mi-console.c: Add eye-catcher.
15485 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
15486 instead of literal line number.
15487
154882014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15489
15490 * gdb.base/shr2.c: Add eye-catcher.
15491 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
15492 line number.
15493
154942014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15495
15496 * gdb.base/jump.c: Add eye-catchers.
15497 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
15498 numbers.
15499
155002014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15501
15502 * gdb.base/execd-prog.c: Add eye-catchers.
15503 * gdb.base/foll-exec.c: Likewise.
15504 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
15505 line numbers.
15506
155072014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15508
15509 * gdb.base/ending-run.c: Add eye-catchers.
15510 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
15511 literal line numbers.
15512
155132014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15514
15515 * gdb.base/call-rt-st.c: Add eye-catchers.
15516 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
15517 literal line numbers.
15518
155192014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15520
15521 * gdb.base/call-ar-st.c: Add eye-catchers.
15522 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
15523 literal line numbers.
15524
155252014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15526
15527 * gdb.base/average.c: Add eye-catchers.
15528 * gdb.base/sum.c: Likewise.
15529 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
15530 regexps dynamically.
15531
155322014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15533
15534 * gdb.base/solib1.c: Add eye-catchers.
15535 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
15536 literal line numbers.
15537
155382014-11-12 Pedro Alves <palves@redhat.com>
15539
15540 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
15541 leader has exited.
15542
155432014-11-12 Pedro Alves <palves@redhat.com>
15544
15545 * gdb.arch/i386-bp_permanent.c: New file.
15546 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
15547 (srcfile): Set to i386-bp_permanent.c.
15548 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
15549 that stepi does not execute the 'leave' instruction, instead of
15550 testing it does execute.
15551 * gdb.base/bp-permanent.c: New file.
15552 * gdb.base/bp-permanent.exp: New file.
15553
155542014-11-10 Doug Evans <xdje42@gmail.com>
15555
15556 PR symtab/17564
15557 * gdb.base/symtab-search-order.exp: New file.
15558 * gdb.base/symtab-search-order.c: New file.
15559 * gdb.base/symtab-search-order-1.c: New file.
15560 * gdb.base/symtab-search-order-shlib-1.c: New file.
15561
155622014-11-07 Pedro Alves <palves@redhat.com>
15563
15564 PR gdb/17511
15565 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
15566 i?86-*-linux*.
15567
155682014-11-03 Siva Chandra Reddy <sivachandra@google.com>
15569
15570 PR c++/17494
15571 * gdb.cp/pr17494.cc: New file.
15572 * gdb.cp/pr17494.exp: New file.
15573
155742014-11-02 Yao Qi <yao@codesourcery.com>
15575
15576 * gdb.python/python.exp: Get working directory and match the
15577 output of "set extended-prompt \\w " with it.
15578
155792014-10-30 Doug Evans <dje@google.com>
15580
15581 * gdb.python/py-objfile.exp: Add tests for setting random attributes
15582 in objfiles.
15583 * gdb.python/py-progspace.exp: Add tests for setting random attributes
15584 in progspaces.
15585
155862014-10-30 Janis Johnson <janisjo@codesourcery.com>
15587
15588 * gdb.base/fullpath-expand.exp: Skip for a remote host.
15589 * gdb.base/realname-expand.exp: Likewise.
15590 * gdb.linespec/macro-relative.exp: Likewise.
15591
155922014-10-29 Pedro Alves <palves@redhat.com>
15593
15594 PR gdb/17408
15595 * gdb.threads/schedlock.c (some_function): New function.
15596 (call_function): New global.
15597 (MAYBE_CALL_SOME_FUNCTION): New macro.
15598 (thread_function): Call it.
15599 * gdb.threads/schedlock.exp (get_args): Add description parameter,
15600 and use it instead of a global counter. Adjust all callers.
15601 (get_current_thread): Use "find current thread" for test message
15602 here rather than having all callers pass down the same string.
15603 (goto_loop): New procedure, factored out from ...
15604 (my_continue): ... this.
15605 (step_ten_loops): Change parameter from test message to command to
15606 use. Adjust.
15607 (list_count): Delete global.
15608 (check_result): New procedure, factored out from duplicate top
15609 level code.
15610 (continue tests): Wrap in with_test_prefix.
15611 (test_step): New procedure, factored out from duplicate top level
15612 code.
15613 (top level): Test "step" in combination with all scheduler-locking
15614 modes. Test "next" in combination with all scheduler-locking
15615 modes, and in combination with stepping over a function call or
15616 not.
15617 * gdb.threads/next-bp-other-thread.c: New file.
15618 * gdb.threads/next-bp-other-thread.exp: New file.
15619
156202014-10-29 Pedro Alves <palves@redhat.com>
15621
15622 PR python/17372
15623 * gdb.python/python.exp: Test a multi-line command that spawns
15624 interactive Python.
15625 * gdb.base/multi-line-starts-subshell.exp: New file.
15626
156272014-10-29 Yao Qi <yao@codesourcery.com>
15628
15629 * gdb.base/fileio.exp: Make directories on host.
15630
156312014-10-29 Yao Qi <yao@codesourcery.com>
15632
15633 * gdb.base/fileio.c (test_write): Close the file.
15634
156352014-10-28 Pedro Alves <palves@redhat.com>
15636
15637 PR gdb/12623
15638 * gdb.base/sigstep.c (no_handler): New global.
15639 (main): If 'no_handler is true, set the signal handlers to
15640 SIG_IGN.
15641 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
15642 with_sw_watch and no_handler parameters. Handle them.
15643 (top level) <stepping over handler when stopped at a breakpoint
15644 test>: Add a test axis for testing with a software watchpoint, and
15645 another for testing with the signal handler set to SIG_IGN.
15646 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
15647 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
15648
156492014-10-28 Pedro Alves <palves@redhat.com>
15650
15651 PR gdb/17511
15652 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
15653 * gdb.base/sigstep.exp (other_handler_location): New global.
15654 (advance): Support stepping into the signal handler, and running
15655 commands while in the handler.
15656 (in_handler_map): New global.
15657 (top level): In the advance test, add combinations for getting
15658 into the handler with stepping commands, and for running commands
15659 in the handler. Add comment descripting the advancei tests.
15660
156612014-10-28 Pedro Alves <palves@redhat.com>
15662
15663 * gdb.base/sigstep.exp: Use build_executable instead of
15664 prepare_for_testing.
15665 (top level): Move code that starts GDB, runs to main and creates a
15666 display to ...
15667 (restart): ... this new procedure.
15668 (top level): Move backtrace from signal handler test to ...
15669 (validate_backtrace): ... this new procedure.
15670 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
15671 with_test_prefix. Always restart GDB.
15672 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
15673 with_test_prefix. Always restart GDB. No need to delete
15674 breakpoints after the test.
15675 (test_skip_handler): Remove prefix parameter.
15676 (skip_over_handler, breakpoint_to_handler)
15677 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
15678 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
15679 restart GDB. No need to delete breakpoints after the test.
15680 (top level): Use foreach to call the test procedures with
15681 different commands.
15682
156832014-10-28 Pedro Alves <palves@redhat.com>
15684
15685 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
15686 instead of GNATS numbers.
15687 * gdb.base/sigbpt.exp: Likewise.
15688 * gdb.base/siginfo.exp: Likewise.
15689 * gdb.base/sigstep.exp: Likewise.
15690
156912014-10-27 Pedro Alves <palves@redhat.com>
15692
15693 * gdb.base/sigstep.c (dummy): New global.
15694 (main): Issue a couple writes to the new global.
15695 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
15696 procedures.
15697 (skip_over_handler): Use test_skip_handler.
15698 (top level): Call skip_over_handler for stepi and nexti too.
15699 (breakpoint_over_handler): Use test_skip_handler.
15700 (top level): Call breakpoint_over_handler for stepi and nexti too.
15701
157022014-10-27 Yao Qi <yao@codesourcery.com>
15703
15704 * gdb.trace/tfile.c (adjust_function_address)
15705 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
15706 function descriptor.
15707
157082014-10-24 Don Breazeal <donb@codesourcery.com>
15709
15710 * gdb.base/foll-fork.exp (test_follow_fork,
15711 catch_fork_child_follow): Check for updated fork messages emitted
15712 from infrun.c.
15713 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
15714 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
15715 vfork_and_exec_child_follow_through_step): Check for updated vfork
15716 messages emitted from infrun.c.
15717
157182014-10-24 Pedro Alves <palves@redhat.com>
15719
15720 * gdb.base/corefile.exp: Remove references to ultrix.
15721 * gdb.base/interrupt.exp: Likewise.
15722 * gdb.base/whatis.exp: Likewise.
15723 * gdb.gdb/selftest.exp: Likewise.
15724 * gdb.threads/manythreads.exp: Likewise.
15725 * gdb.threads/print-threads.exp: Likewise.
15726 * gdb.threads/pthreads.exp:: Likewise.
15727 * gdb.threads/schedlock.exp: Likewise.
15728
157292014-10-24 Siva Chandra Reddy <sivachandra@google.com>
15730
15731 * gdb.cp/non-trivial-retval.cc: Add a test case.
15732 * gdb.cp/non-trivial-retval.exp: Add a test.
15733
157342014-10-20 Yao Qi <yao@codesourcery.com>
15735
15736 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
15737 * gdb.python/py-objfile-script-gdb.py: New file.
15738 * gdb.python/py-objfile-script.exp: Update reference to
15739 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
15740 of remote_download. Remove the dest file.
15741
157422014-10-20 Yao Qi <yao@codesourcery.com>
15743
15744 * gdb.base/checkpoint.exp: Don't remove file copied on host.
15745 * gdb.base/step-line.exp: Likewise.
15746 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
15747 * gdb.dwarf2/dw2-basic.exp: Likewise.
15748 * gdb.dwarf2/dw2-compressed.exp: Likewise.
15749 * gdb.dwarf2/dw2-filename.exp: Likewise.
15750 * gdb.dwarf2/dw2-intercu.exp: Likewise.
15751 * gdb.dwarf2/dw2-intermix.exp: Likewise.
15752 * gdb.dwarf2/dw2-producer.exp: Likewise.
15753 * gdb.dwarf2/mac-fileno.exp: Likewise.
15754 * gdb.python/py-frame-args.exp: Likewise.
15755 * gdb.python/py-framefilter.exp: Likewise.
15756 * gdb.python/py-mi.exp: Likewise.
15757 * gdb.python/py-objfile-script.exp: Likewise
15758 * gdb.python/py-pp-integral.exp: Likewise.
15759 * gdb.python/py-pp-re-notag.exp: Likewise.
15760 * gdb.python/py-prettyprint.exp: Likewise.
15761 * gdb.python/py-section-script.exp: Likewise.
15762 * gdb.python/py-typeprint.exp: Likewise.
15763 * gdb.python/py-xmethods.exp: Likewise.
15764 * gdb.stabs/weird.exp: Likewise.
15765 * gdb.xml/tdesc-regs.exp: Likewise.
15766
157672014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
15768
15769 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
15770 (out_cu): Use addr_len for the size of addresses.
15771 (out_line): Likewise. Size DW_LNE_set_address instruction
15772 according to addr_len.
15773 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
15774 (FUNC): Add START_INSNS to definition.
15775
157762014-10-18 Yao Qi <yao@codesourcery.com>
15777
15778 * gdb.base/argv0-symlink.exp: Check argv[0] value if
15779 gdb_has_argv0 return true.
15780 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
15781 check [target_info exists noargs], check [gdb_has_argv0]
15782 instead.
15783 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
15784 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
15785 procedures.
15786
157872014-10-17 Doug Evans <dje@google.com>
15788
15789 * gdb.python/py-events.exp: Update expected output for clear_objfiles
15790 event.
15791 * gdb.python/py-events.py: Add clear_objfiles event.
15792
157932014-10-17 Doug Evans <dje@google.com>
15794
15795 * gdb.python/py-objfile.exp: Test progspace attribute.
15796
157972014-10-17 Luis Machado <lgustavo@codesourcery.com>
15798
15799 * gdb.guile/scm-breakpoint.exp: Do not assume any
15800 directory separators when matching source file paths.
15801 * gdb.python/py-breakpoint.exp: Likewise.
15802 * gdb.reverse/break-precsave.exp: Likewise.
15803 * gdb.reverse/break-reverse.exp: Likewise.
15804 * gdb.reverse/consecutive-precsave.exp: Likewise.
15805 * gdb.reverse/finish-precsave.exp: Likewise.
15806 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
15807 * gdb.reverse/finish-reverse.exp: Likewise.
15808 * gdb.reverse/i386-precsave.exp: Likewise.
15809 * gdb.reverse/i387-env-reverse.exp: Likewise.
15810 * gdb.reverse/i387-stack-reverse.exp: Likewise.
15811 * gdb.reverse/machinestate-precsave.exp: Likewise.
15812 * gdb.reverse/machinestate.exp: Likewise.
15813 * gdb.reverse/sigall-precsave.exp: Likewise.
15814 * gdb.reverse/solib-precsave.exp: Likewise.
15815 * gdb.reverse/step-precsave.exp: Likewise.
15816 * gdb.reverse/until-precsave.exp: Likewise.
15817 * gdb.reverse/watch-precsave.exp: Likewise.
15818 * gdb.reverse/watch-reverse.exp: Likewise.
15819
158202014-10-17 Yao Qi <yao@codesourcery.com>
15821
15822 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
15823 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
15824
158252014-10-17 Pedro Alves <palves@redhat.com>
15826
15827 PR gdb/17471
15828 * gdb.base/bg-execution-repeat.c: New file.
15829 * gdb.base/bg-execution-repeat.exp: New file.
15830
158312014-10-17 Pedro Alves <palves@redhat.com>
15832
15833 PR gdb/17300
15834 * gdb.base/continue-all-already-running.c: New file.
15835 * gdb.base/continue-all-already-running.exp: New file.
15836
158372014-10-17 Pedro Alves <palves@redhat.com>
15838
15839 PR gdb/17472
15840 * gdb.base/annota-input-while-running.c: New file.
15841 * gdb.base/annota-input-while-running.exp: New file.
15842
158432014-10-17 Pedro Alves <palves@redhat.com>
15844
15845 * gdb.base/callfuncs.exp: emove references to osf.
15846 * gdb.base/sigall.exp: Likewise.
15847 * gdb.gdb/selftest.exp: Likewise.
15848 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
15849 * gdb.mi/non-stop.c: Likewise.
15850 * gdb.mi/pthreads.c: Likewise.
15851 * gdb.reverse/sigall-precsave.exp: Likewise.
15852 * gdb.reverse/sigall-reverse.exp: Likewise.
15853 * gdb.threads/pthreads.c: Likewise.
15854 * gdb.threads/pthreads.exp: Likewise.
15855
158562014-10-17 Yao Qi <yao@codesourcery.com>
15857
15858 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
15859 check 'target_info exists noargs'.
15860 (test_command_prompt_position): Likewise.
15861 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
15862 Remove "set args".
15863 (progvar_simple_while_test): Likewise.
15864 (progvar_complex_if_while_test): Likewise.
15865 (if_while_breakpoint_command_test): Likewise.
15866 (infrun_breakpoint_command_test): Likewise.
15867 (breakpoint_command_test): Likewise.
15868 (watchpoint_command_test): Likewise.
15869 (bp_deleted_in_command_test): Likewise.
15870 (temporary_breakpoint_commands): Likewise.
15871
158722014-10-16 Yao Qi <yao@codesourcery.com>
15873
15874 * gdb.base/remotetimeout.exp: Remove noargs checking.
15875
158762014-10-15 Pedro Alves <palves@redhat.com>
15877
15878 PR breakpoints/9649
15879 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
15880 * gdb.base/breakpoint-in-ro-region.exp
15881 (probe_target_hardware_step): New procedure.
15882 (top level): Probe hardware stepping and hardware breakpoint
15883 support. Test stepping through a read-only region, with both
15884 "breakpoint auto-hw" on and off and both "always-inserted" on and
15885 off.
15886
158872014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
15888
15889 * gdb.dlang/demangle.exp: Update for demangling changes.
15890
158912014-10-15 Siva Chandra Reddy <sivachandra@google.com>
15892
15893 * gdb.cp/non-trivial-retval.cc: Add new test cases.
15894 * gdb.cp/non-trivial-retval.exp: Add new tests.
15895
158962014-10-15 Siva Chandra Reddy <sivachandra@google.com>
15897
15898 PR c++/13403
15899 PR c++/15154
15900 * gdb.cp/non-trivial-retval.cc: New file.
15901 * gdb.cp/non-trivial-retval.exp: New file.
15902
159032014-10-15 Yao Qi <yao@codesourcery.com>
15904
15905 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
15906 remote host.
15907
159082014-10-15 Yao Qi <yao@codesourcery.com>
15909
15910 * gdb.python/py-symbol.exp: Match file base name if host is
15911 remote, otherwise match file name with dir name.
15912 * gdb.python/py-symtab.exp: Likewise.
15913 * gdb.python/python.exp: Likewise.
15914
159152014-10-15 Yao Qi <yao@codesourcery.com>
15916
15917 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
15918 pattern.
15919 * gdb.python/py-symtab.exp: Likewise.
15920 * gdb.python/python.exp: Remove trailing ".*". Fix typo
15921 locationn.
15922
159232014-10-14 Joel Brobecker <brobecker@adacore.com>
15924
15925 * gdb.ada/addr_arith: New testcase.
15926
159272014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
15928
15929 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
15930 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
15931 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
15932 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
15933
159342014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
15935
15936 * gdb.arch/stap-eval-lang-ada.S: Likewise.
15937 * gdb.arch/stap-eval-lang-ada.c: Likewise.
15938 * gdb.arch/stap-eval-lang-ada.exp: New file.
15939
159402014-10-14 Yao Qi <yao@codesourcery.com>
15941
15942 * gdb.mi/mi-var-child.c (nothing1): New function.
15943 (nothing2): New function.
15944 (do_children_tests): Set function pointers by nothing1 and
15945 nothing2.
15946 * gdb.mi/mi-var-child.exp: Step over new added statements.
15947 Update test to match the new output.
15948 * gdb.mi/var-cmd.c (nothing1): New function.
15949 (nothing2): New function.
15950 (do_children_tests): Set function pointers by nothing1 and
15951 nothing2.
15952 * gdb.mi/mi-var-display.exp: Update test to match output.
15953 Step to the line specified by $line_dct_nothing.
15954 Increase the number of lines to step.
15955
159562014-10-14 Yao Qi <yao@codesourcery.com>
15957
15958 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
15959 tests.
15960 * gdb.mi/mi2-var-child.exp: Likewise.
15961
159622014-10-13 Doug Evans <dje@google.com>
15963
15964 * gdb.python/py-objfile.exp: Change name of file name test.
15965
159662014-10-13 Doug Evans <dje@google.com>
15967
15968 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
15969 from the start of the CU.
15970
159712014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15972 Yao Qi <yao@codesourcery.com>
15973
15974 Fix "save breakpoints" for "catch" command.
15975 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
15976 Remove -nonewline. Match also the added "main" line.
15977
159782014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15979
15980 Fix "save breakpoints" for "disable $bpnum" command.
15981 * gdb.base/save-bp.c (main): Add label.
15982 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
15983
159842014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15985
15986 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
15987
159882014-10-11 Yao Qi <yao@codesourcery.com>
15989
15990 * gdb.server/server-kill.exp: Execute command
15991 "set remote trace-status-packet on" before "tstatus".
15992
159932014-10-11 Yao Qi <yao@codesourcery.com>
15994
15995 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
15996 (main): Call getppid.
15997 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
15998 and continue to it. Read variable "server_pid".
15999
160002014-10-11 Yao Qi <yao@codesourcery.com>
16001
16002 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
16003
160042014-10-11 Yao Qi <yao@codesourcery.com>
16005
16006 * gdb.threads/thread-find.exp: Don't execute command
16007 "info threads".
16008 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
16009 * gdb.threads/linux-dp.exp: Don't check the condition
16010 $threads_created equals to zero.
16011
160122014-10-10 Pedro Alves <palves@redhat.com>
16013
16014 * gdb.base/bigcore.exp: Remove references to IRIX.
16015 * gdb.base/funcargs.exp: Likewise.
16016 * gdb.base/interrupt.exp: Likewise.
16017 * gdb.base/mips_pro.exp: Likewise.
16018 * gdb.base/nodebug.exp: Likewise.
16019 * gdb.base/setvar.exp: Likewise.
16020 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
16021
160222014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
16023 Pedro Alves <palves@redhat.com>
16024
16025 PR symtab/14466
16026 * gdb.base/vdso-warning.c: New file.
16027 * gdb.base/vdso-warning.exp: New file.
16028
160292014-10-02 Doug Evans <dje@google.com>
16030
16031 * gdb.base/structs.c (main): Don't run forever.
16032
160332014-10-02 Pedro Alves <palves@redhat.com>
16034
16035 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
16036 (top level) <stop threads 1, stop threads 2>: Use it.
16037
160382014-10-02 Pedro Alves <palves@redhat.com>
16039
16040 * gdb.threads/break-while-running.exp (test): Add new
16041 'update_thread_list' argument. Skip "info threads" if false.
16042 (top level): Add new 'update_thread_list' axis.
16043
160442014-10-02 Pedro Alves <palves@redhat.com>
16045
16046 PR breakpoints/17431
16047 * gdb.base/execl-update-breakpoints.c: New file.
16048 * gdb.base/execl-update-breakpoints.exp: New file.
16049
160502014-10-01 Pedro Alves <palves@redhat.com>
16051
16052 * gdb.base/breakpoint-in-ro-region.c: New file.
16053 * gdb.base/breakpoint-in-ro-region.exp: New file.
16054
160552014-10-01 Simon Marchi <simon.marchi@ericsson.com>
16056
16057 * gdb.mi/mi-exit-code.exp: New file.
16058 * gdb.mi/mi-exit-code.c: New file.
16059
160602014-09-30 Yao Qi <yao@codesourcery.com>
16061
16062 * lib/prelink-support.exp (build_executable_own_libs): Error if
16063 the target isn't native.
16064
160652014-09-30 Yao Qi <yao@codesourcery.com>
16066
16067 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
16068 false.
16069
160702014-09-22 Pedro Alves <palves@redhat.com>
16071
16072 * gdb.threads/break-while-running.exp: New file.
16073 * gdb.threads/break-while-running.c: New file.
16074
160752014-09-19 Yao Qi <yao@codesourcery.com>
16076
16077 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
16078 Invoke test. Restart GDB with --readnow and invoke test again.
16079
160802014-09-19 Yao Qi <yao@codesourcery.com>
16081
16082 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
16083 proc set_breakpoint_on_gcd_function. Invoke
16084 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
16085 invoke set_breakpoint_on_gcd_function again.
16086
160872014-09-18 Doug Evans <dje@google.com>
16088
16089 * gdb.dwarf2/symtab-producer.exp: New file.
16090
160912014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
16092
16093 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
16094 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
16095 * gdb.base/global-var-nested-by-dso.c: Likewise.
16096 * gdb.base/global-var-nested-by-dso.exp: Likewise.
16097
160982014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
16099 Pedro Alves <palves@redhat.com>
16100
16101 * gdb.base/watch-bitfields.exp: Pass string other than test file
16102 name to prepare_for_testing.
16103 (watch): New procedure.
16104 (expect_watchpoint): Use with_test_prefix.
16105 (top level): Factor out tests to ...
16106 (test_watch_location, test_regular_watch): ... these new
16107 procedures, and use with_test_prefix and gdb_continue_to_end.
16108
161092014-09-16 Patrick Palka <patrick@parcs.ath.cx>
16110
16111 PR breakpoints/12526
16112 * gdb.base/watch-bitfields.exp: New file.
16113 * gdb.base/watch-bitfields.c: New file.
16114
161152014-09-16 Pedro Alves <palves@redhat.com>
16116
16117 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
16118 software and hardware addresses, not software address against
16119 itself.
16120
161212014-09-16 Pedro Alves <palves@redhat.com>
16122
16123 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
16124 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
16125
161262014-09-16 Pedro Alves <palves@redhat.com>
16127
16128 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
16129 files.
16130 * gdb.base/a2-run.exp: Remove all code guarded by istarget
16131 "*-*-vxworks*" throughout.
16132 * gdb.base/break.exp: Likewise.
16133 * gdb.base/default.exp: Likewise.
16134 * gdb.base/scope.exp: Likewise.
16135 * gdb.base/sepdebug.exp: Likewise.
16136 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
16137 throughout.
16138 * gdb.base/run.c: Likewise.
16139 * gdb.base/sepdebug.c: Likewise.
16140 * gdb.hp/gdb.aCC/run.c: Likewise.
16141 * gdb.reverse/until-reverse.c: Likewise.
16142 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
16143
161442014-09-16 Yao Qi <yao@codesourcery.com>
16145
16146 * boards/local-remote-host-native.exp: New file.
16147
161482014-09-14 Doug Evans <xdje42@gmail.com>
16149
16150 * gdb.threads/queue-signal.c (thread_count): New variable.
16151 (thread_count_mutex, thread_count_condvar): New variables.
16152 (incr_thread_count, wait_all_threads_running): New functions.
16153 (main): Wait for all threads to be in their thread functions.
16154
161552014-09-13 Doug Evans <xdje42@gmail.com>
16156
16157 * gdb.threads/queue-signal.c: New file.
16158 * gdb.threads/queue-signal.exp: New file.
16159
161602014-09-13 Doug Evans <xdje42@gmail.com>
16161
16162 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
16163 be consistent with what default_gdb_init uses.
16164 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
16165 the plain text of the prompt. Add some logging printfs.
16166 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
16167
161682014-09-12 Pedro Alves <palves@redhat.com>
16169
16170 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
16171 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
16172 * gdb.arch/i386-size-overlap.exp: Likewise.
16173 * gdb.arch/i386-size.exp: Likewise.
16174 * gdb.arch/i386-unwind.exp: Likewise.
16175 * gdb.base/a2-run.exp: Likewise.
16176 * gdb.base/break.exp: Likewise.
16177 * gdb.base/charset.exp: Likewise.
16178 * gdb.base/chng-syms.exp: Likewise.
16179 * gdb.base/commands.exp: Likewise.
16180 * gdb.base/dbx.exp: Likewise.
16181 * gdb.base/find.exp: Likewise.
16182 * gdb.base/funcargs.exp: Likewise.
16183 * gdb.base/jit-simple.exp: Likewise.
16184 * gdb.base/reread.exp: Likewise.
16185 * gdb.base/sepdebug.exp: Likewise.
16186 * gdb.base/step-bt.exp: Likewise.
16187 * gdb.cp/mb-inline.exp: Likewise.
16188 * gdb.cp/mb-templates.exp: Likewise.
16189 * gdb.objc/basicclass.exp: Likewise.
16190 * gdb.threads/killed.exp: Likewise.
16191
161922014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16193
16194 PR tdep/17379
16195 * gdb.arch/powerpc-stackless.S: New file.
16196 * gdb.arch/powerpc-stackless.exp: New file.
16197
161982014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16199
16200 * gdb.base/attach.c: Include unistd.h.
16201 (main): Call alarm. Add label postloop.
16202 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
16203 gdb_breakpoint, gdb_continue_to_breakpoint.
16204 (test_command_line_attach_run): Kill ${testpid} in one exit path.
16205
162062014-09-11 Pedro Alves <palves@redhat.com>
16207
16208 PR gdb/17347
16209 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
16210 * gdb.base/attach.exp (test_command_line_attach_run): New
16211 procedure.
16212 (top level): Call it.
16213
162142014-09-11 Pedro Alves <palves@redhat.com>
16215
16216 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
16217 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
16218 (do_command_attach_tests): Use spawn_wait_for_attach.
16219 * gdb.base/solib-overlap.exp: Likewise.
16220 * gdb.multi/multi-attach.exp: Likewise.
16221 * gdb.python/py-prompt.exp: Likewise.
16222 * gdb.python/py-sync-interp.exp: Likewise.
16223 * gdb.server/ext-attach.exp: Likewise.
16224
162252014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
16226
16227 * gdb.fortran/array-element.exp: Remove unexpected "continue"
16228 command in testcase. Simplify testcase.
16229
162302014-09-10 Joel Brobecker <brobecker@adacore.com>
16231
16232 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
16233
162342014-09-10 Joel Brobecker <brobecker@adacore.com>
16235
16236 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
16237
162382014-09-10 Joel Brobecker <brobecker@adacore.com>
16239
16240 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
16241
162422014-09-10 Joel Brobecker <brobecker@adacore.com>
16243
16244 * gdb.dwarf2/dynarr-ptr.c: New file.
16245 * gdb.dwarf2/dynarr-ptr.exp: New file.
16246
162472014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16248
16249 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
16250 of 30 rather than hardcoding 120 for a slow test case. Take the
16251 `gdb,timeout' target setting into account for this calculation.
16252 Don't extend the timeout for the test cases that don't need it.
16253
162542014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16255
16256 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
16257 a factor of 2 for a slow test case. Take the `gdb,timeout'
16258 target setting into account for this calculation.
16259 * gdb.reverse/until-precsave.exp: Increase the timeout by
16260 a factor of 15 and 3 respectively rather than adding 120
16261 for a pair of slow test cases. Take the `gdb,timeout'
16262 target setting into account for this calculation.
16263
162642014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16265
16266 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
16267 timeout, don't pass one down to gdb_expect.
16268 (gdb_expect): Rework timeout selection.
16269
162702014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16271
16272 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
16273 exception on timeout.
16274 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
16275 (gdbserver_start_extended): Catch any `gdbserver_start' error
16276 exceptions.
16277 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
16278 * lib/mi-support.exp (mi_gdb_target_load): Catch any
16279 `gdbserver_gdb_load' error exceptions.
16280
162812014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16282
16283 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
16284 120 on waiting for the TCP socket to open.
16285
162862014-09-09 Doug Evans <xdje42@gmail.com>
16287
16288 * gdb.base/default.exp (show_conv_list): Add _caller_is,
16289 _caller_matches, _any_caller_is, _any_caller_matches.
16290
162912014-09-09 Doug Evans <xdje42@gmail.com>
16292
16293 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
16294
162952014-09-09 Yao Qi <yao@codesourcery.com>
16296
16297 * gdb.mi/mi-var-display.exp: Set print symbol off.
16298
162992014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
16300
16301 PR gdb/17035
16302 * gdb.base/commands.exp: Add tests to verify user-defined
16303 commands with empty bodies.
16304 * gdb.python/py-cmd.exp: Test that we don't show user-defined
16305 python commands in `show user command`.
16306 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
16307 scheme commands in `show user command`.
16308
163092014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16310
16311 PR python/17355
16312 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
16313 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
16314 * gdb.python/py-framefilter-invalidarg.exp: New file.
16315 * gdb.python/py-framefilter-invalidarg.py: New file.
16316
163172014-09-06 Doug Evans <xdje42@gmail.com>
16318
16319 PR 15276
16320 * gdb.python/py-caller-is.c: New file.
16321 * gdb.python/py-caller-is.exp: New file.
16322
163232014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
16324
16325 PR gdb/17235
16326 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
16327 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
16328
163292014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
16330
16331 PR fortran/17237
16332 * gdb.fortran/print-formatted.exp: New file.
16333 * gdb.fortran/print-formatted.f90: Likewise.
16334
163352014-09-03 Sasha Smundak <asmundak@google.com>
16336
16337 * gdb.python/py-frame.exp: Test Frame.read_register.
16338
163392014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
16340
16341 PR python/16699
16342 * gdb.python/py-completion.exp: New file.
16343 * gdb.python/py-completion.py: Likewise.
16344
163452014-08-28 Doug Evans <dje@google.com>
16346
16347 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
16348 eax,etc. are live with values set by gdb and thus the compiler can't
16349 use them.
16350 * gdb.arch/i386-pseudo.c (main): Ditto.
16351
163522014-08-27 Doug Evans <dje@google.com>
16353
16354 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
16355
163562014-08-25 Doug Evans <dje@google.com>
16357
16358 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
16359 (main): Ditto.
16360
163612014-08-25 Doug Evans <dje@google.com>
16362
16363 * gdb.threads/thread-execl.exp: #include <stdio.h>.
16364
163652014-08-24 Yao Qi <yao@codesourcery.com>
16366
16367 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
16368 symbol off.
16369 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
16370
163712014-08-22 Doug Evans <dje@google.com>
16372
16373 PR 17276
16374 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
16375 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
16376 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
16377
163782014-08-22 Yao Qi <yao@codesourcery.com>
16379
16380 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
16381 * gdb.python/py-finish-breakpoint2.exp: Likewise.
16382 * gdb.python/python.exp: Likewise. Use .py file on the host
16383 instead of the build.
16384
163852014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16386
16387 * gdb.threads/gcore-stale-thread.c: New file.
16388 * gdb.threads/gcore-stale-thread.exp: New file.
16389
163902014-08-21 Pedro Alves <palves@redhat.com>
16391
16392 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
16393 * gdb.base/gcore-relro-pie.exp: Likewise.
16394 * gdb.base/gcore-relro.exp: Likewise.
16395 * gdb.base/gcore.exp: Likewise.
16396 * gdb.base/print-symbol-loading.exp: Likewise.
16397 * gdb.threads/gcore-thread.exp: Likewise.
16398 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
16399
164002014-08-20 Pedro Alves <palves@redhat.com>
16401 Jan Kratochvil <jan.kratochvil@redhat.com>
16402
16403 * Makefile.in (EXTRA_RULES, CC): New variables, get from
16404 configure.
16405 (EXPECT): Handle READ1 being set.
16406 (all): Depend on EXTRA_RULES.
16407 (check-read1, expect-read1, read1.so, read1): New rules.
16408 * README (Testsuite Parameters): Document the READ1 make variable.
16409 (Race detection): New section.
16410 * configure: Regenerate.
16411 * configure.ac: If build==host==target, and running under a
16412 GNU/glibc system, add read1 to the extra Makefile rules.
16413 (EXTRA_RULES): AC_SUBST it.
16414 * lib/read1.c: New file.
16415
164162014-08-20 Joel Brobecker <brobecker@adacore.com>
16417
16418 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
16419 the handling of variables declared as a typedef to an array
16420 which a DW_AT_data_location attribute.
16421
164222014-08-19 Andrew Burgess <aburgess@broadcom.com>
16423 Pedro Alves <palves@redhat.com>
16424
16425 PR symtab/14604
16426 PR symtab/14605
16427 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
16428 gdb_test.
16429
164302014-08-19 Pedro Alves <palves@redhat.com>
16431
16432 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
16433
164342014-08-19 Yao Qi <yao@codesourcery.com>
16435
16436 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
16437 right line.
16438
164392014-08-18 David Blaikie <dblaikie@gmail.com>
16440
16441 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
16442
164432014-08-18 Joel Brobecker <brobecker@adacore.com>
16444
16445 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
16446 attribute in array range.
16447
164482014-08-18 Joel Brobecker <brobecker@adacore.com>
16449
16450 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
16451
164522014-08-15 Siva Chandra Reddy <sivachandra@google.com>
16453
16454 PR c++/17132
16455 * gdb.cp/pr17132.cc: New file.
16456 * gdb.cp/pr17132.exp: New file.
16457
164582014-08-15 Siva Chandra Reddy <sivachandra@google.com>
16459
16460 * gdb.python/py-xmethods.py (A_getarrayind)
16461 (E_method_char_worker.__call__, E_method_int_worker.__call__):
16462 Use 'print' with function call syntax.
16463 (E_method_matcher.match): Fix tab vs space indentation mixup.
16464
164652014-08-15 Yao Qi <yao@codesourcery.com>
16466
16467 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
16468 false.
16469
164702014-08-15 Yao Qi <yao@codesourcery.com>
16471
16472 * gdb.cp/casts.exp: Set print symbol off.
16473 * gdb.cp/class2.exp: Likewise.
16474 * gdb.cp/overload.exp: Likewise.
16475 * gdb.cp/templates.exp: Likewise.
16476
164772014-08-11 Doug Evans <dje@google.com>
16478
16479 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
16480 (test_load_shlib): Update.
16481
164822014-08-09 Yao Qi <yao@codesourcery.com>
16483
16484 * gdb.base/display.exp: Invoke is_address_zero_readable.
16485 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
16486 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
16487 * gdb.base/hbreak-unmapped.exp: Return if
16488 is_address_zero_readable returns true.
16489 * gdb.base/signest.exp: Likewise.
16490 * gdb.base/signull.exp: Likewise.
16491 * gdb.base/sigbpt.exp: Likewise.
16492 * gdb.guile/scm-disasm.exp: Do the test if
16493 is_address_zero_readable returns false.
16494 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
16495 * gdb.python/py-arch.exp: Likewise.
16496 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
16497 * lib/gdb.exp (is_address_zero_readable): New proc.
16498
164992014-08-09 Yao Qi <yao@codesourcery.com>
16500
16501 PR testsuite/13443
16502 * gdb.mi/mi-var-display.exp: Make test messages unique.
16503
165042014-08-04 Tom Tromey <tromey@redhat.com>
16505
16506 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
16507 target 0".
16508
165092014-08-04 Tom Tromey <tromey@redhat.com>
16510
16511 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
16512 "target_resume".
16513
165142014-08-01 Joel Brobecker <brobecker@adacore.com>
16515
16516 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
16517 inner_vla_struct_object_size.
16518 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
16519 as xfail.
16520
165212014-07-30 Pedro Alves <palves@redhat.com>
16522
16523 * gdb.threads/signal-command-handle-nopass.exp (test): Add
16524 comment.
16525
165262014-07-29 Yao Qi <yao@codesourcery.com>
16527
16528 PR gdb/17206
16529 * gdb.base/until-nodebug.exp: New.
16530
165312014-07-28 Doug Evans <xdje42@gmail.com>
16532
16533 PR guile/17203
16534 * gdb.guile/scm-parameter.exp: Add tests for trying to create
16535 previously existing parameter, and previously ambiguously spelled
16536 parameter.
16537
165382014-07-28 Will Newton <will.newton@linaro.org>
16539
16540 * gdb.base/varargs.exp: Remove KFAILs for ARM.
16541
165422014-07-26 Ludovic Courtès <ludo@gnu.org>
16543 Doug Evans <xdje42@gmail.com>
16544
16545 PR guile/17146
16546 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
16547
165482014-07-25 Pedro Alves <palves@redhat.com>
16549
16550 * gdb.threads/signal-command-handle-nopass.c: New file.
16551 * gdb.threads/signal-command-handle-nopass.exp: New file.
16552 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
16553 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
16554 * gdb.threads/signal-delivered-right-thread.c: New file.
16555 * gdb.threads/signal-delivered-right-thread.exp: New file.
16556
165572014-07-25 Pedro Alves <palves@redhat.com>
16558
16559 * gdb.base/double-prompt-target-event-error.exp
16560 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
16561 match.
16562 (cancel_pagination_in_target_event): Rework double prompt
16563 detection.
16564 * gdb.base/paginate-after-ctrl-c-running.exp
16565 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
16566 <return>' match.
16567 * gdb.base/paginate-bg-execution.exp
16568 (test_bg_execution_pagination_return)
16569 (test_bg_execution_pagination_cancel): Remove '-notransfer
16570 <return>' matches.
16571 * gdb.base/paginate-execution-startup.exp
16572 (test_fg_execution_pagination_return)
16573 (test_fg_execution_pagination_cancel): Remove '-notransfer
16574 <return>' matches.
16575 * gdb.base/paginate-inferior-exit.exp
16576 (test_paginate_inferior_exited): Remove '-notransfer <return>'
16577 match.
16578 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
16579 * lib/gdb.exp (pagination_prompt): Run text through
16580 string_to_regexp.
16581 (gdb_test_multiple): Match $pagination_prompt instead of
16582 "<return>".
16583 (string_to_regexp): Move to lib/gdb-utils.exp.
16584
165852014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16586
16587 * gdb.arch/amd64-entry-value-paramref.S: New file.
16588 * gdb.arch/amd64-entry-value-paramref.cc: New file.
16589 * gdb.arch/amd64-entry-value-paramref.exp: New file.
16590 * gdb.arch/amd64-optimout-repeat.S: New file.
16591 * gdb.arch/amd64-optimout-repeat.c: New file.
16592 * gdb.arch/amd64-optimout-repeat.exp: New file.
16593
165942014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
16595
16596 PR gdb/17170
16597 * gdb.base/statistics.exp: New file.
16598
165992014-07-17 Doug Evans <dje@google.com>
16600
16601 PR gdb/17170
16602 * gdb.base/maint.exp: Update testing of per-command stats.
16603
166042014-07-16 Pedro Alves <palves@redhat.com>
16605
16606 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
16607 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
16608 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
16609 (tfile_write_buf): New functions.
16610 (add_memory_block): Rewrite using the above.
16611 (adjust_function_address): New function.
16612 (FUNCTION_ADDRESS): New macro.
16613 (write_basic_trace_file): Remove short_x local, and use
16614 tfile_write_16. Change type of func_addr local to unsigned long
16615 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
16616 here. Cast argument of add_memory_block to char pointer.
16617 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
16618 (main): Remove parameters.
16619 * gdb.trace/tfile.exp: Remove nowarnings.
16620
166212014-07-15 Simon Marchi <simon.marchi@ericsson.com>
16622
16623 * gdb.base/debug-expr.exp: Test string evaluation with
16624 "debug expression" on.
16625
166262014-07-15 Pedro Alves <palves@redhat.com>
16627
16628 * gdb.base/reread.exp: Use clean_restart.
16629
166302014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
16631
16632 * gdb.arch/avr-flash-qualifer.c: New.
16633 * gdb.arch/avr-flash-qualifer.exp: New.
16634
166352014-07-14 Pedro Alves <palves@redhat.com>
16636
16637 * gdb.base/paginate-after-ctrl-c-running.c: New file.
16638 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
16639
166402014-07-14 Pedro Alves <palves@redhat.com>
16641
16642 * gdb.base/double-prompt-target-event-error.c: New file.
16643 * gdb.base/double-prompt-target-event-error.exp: New file.
16644
166452014-07-14 Pedro Alves <palves@redhat.com>
16646
16647 PR gdb/17072
16648 * gdb.base/paginate-inferior-exit.c: New file.
16649 * gdb.base/paginate-inferior-exit.exp: New file.
16650
166512014-07-14 Pedro Alves <palves@redhat.com>
16652
16653 PR gdb/17072
16654 * gdb.base/paginate-bg-execution.c: New file.
16655 * gdb.base/paginate-bg-execution.exp: New file.
16656
166572014-07-14 Pedro Alves <palves@redhat.com>
16658
16659 PR gdb/17072
16660 * gdb.base/paginate-execution-startup.c: New file.
16661 * gdb.base/paginate-execution-startup.exp: New file.
16662 * lib/gdb.exp (pagination_prompt): New global.
16663 (default_gdb_spawn): New procedure, factored out from
16664 default_gdb_spawn.
16665 (default_gdb_start): Adjust to call default_gdb_spawn.
16666 (gdb_spawn): New procedure.
16667
166682014-07-14 Pedro Alves <palves@redhat.com>
16669
16670 * lib/gdb.exp (gdb_assert): New procedure.
16671 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
16672
166732014-07-14 Pedro Alves <palves@redhat.com>
16674
16675 * gdb.base/execution-termios.c: New file.
16676 * gdb.base/execution-termios.exp: New file.
16677
166782014-07-14 Tom Tromey <tromey@redhat.com>
16679
16680 * gdb.cp/vla-cxx.cc: New file.
16681 * gdb.cp/vla-cxx.exp: New file.
16682
166832014-07-14 Tom Tromey <tromey@redhat.com>
16684
16685 * gdb.reverse/rerun-prec.c: New file.
16686 * gdb.reverse/rerun-prec.exp: New file.
16687
166882014-07-12 Maciej W. Rozycki <macro@mips.com>
16689 Maciej W. Rozycki <macro@codesourcery.com>
16690
16691 * lib/gdb-utils.exp: New file.
16692 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
16693 inline `gdb_init_command' processing.
16694 (gdb_start_cmd): Likewise.
16695 * lib/mi-support.exp (mi_run_cmd): Likewise.
16696 * README: Document `gdb_init_command' and `gdb_init_commands'.
16697
166982014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16699
16700 Fix false FAIL running under a very long directory name.
16701 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
16702 and "set print elements 10000". Twice.
16703
167042014-07-11 Yao Qi <yao@codesourcery.com>
16705
16706 * gdb.base/exprs.exp: "set print symbol off".
16707
167082014-07-11 Pedro Alves <palves@redhat.com>
16709
16710 * gdb.threads/kill.c: New file.
16711 * gdb.threads/kill.exp: New file.
16712
167132014-07-10 Yao Qi <yao@codesourcery.com>
16714
16715 * gdb.trace/tfile.c (write_basic_trace_file)
16716 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
16717 address written to trace file.
16718
167192014-07-09 Pedro Alves <palves@redhat.com>
16720
16721 * gdb.base/attach-wait-input.exp: New file.
16722 * gdb.base/attach-wait-input.c: New file.
16723
167242014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
16725
16726 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
16727 setting up test structures.
16728 (main): Call new test function.
16729 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
16730 test function, continue into test function and walk test
16731 structures.
16732
167332014-07-02 Yao Qi <yao@codesourcery.com>
16734
16735 * gdb.trace/entry-values.c: Define labels 'foo_start' and
16736 'bar_start' at the beginning of functions 'foo' and 'bar'
16737 respectively.
16738 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
16739 instead of 'foo' and 'bar'.
16740
167412014-07-08 Markus Metzger <markus.t.metzger@intel.com>
16742
16743 * gdb.btrace/segv.exp: New.
16744 * gdb.btrace/segv.c: New.
16745
167462014-07-02 Luis Machado <lgustavo@codesourcery.com>
16747
16748 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
16749 instruction.
16750
167512014-06-30 Mark Wielaard <mjw@redhat.com>
16752
16753 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
16754 vulture, vilify, villar): New volatile array constants.
16755 (vindictive, vegetation): New const volatile array constants.
16756 * gdb.base/volatile.exp: Test volatile and const volatile array
16757 types.
16758
167592014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
16760
16761 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
16762 target lacks support for awatch, rwatch, or hbreak.
16763
167642014-06-27 Yao Qi <yao@codesourcery.com>
16765
16766 * gdb.multi/dummy-frame-restore.exp: New.
16767 * gdb.multi/dummy-frame-restore.c: New.
16768
167692014-06-25 Markus Metzger <markus.t.metzger@intel.com>
16770
16771 * gdb.btrace/gcore.exp: New.
16772
167732014-06-23 Pedro Alves <palves@redhat.com>
16774
16775 * gdb.base/watchpoint-reuse-slot.c: New file.
16776 * gdb.base/watchpoint-reuse-slot.exp: New file.
16777
167782014-06-23 Siva Chandra Reddy <sivachandra@google.com>
16779
16780 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
16781 progspace's filename in 'info', 'enable' and 'disable' command
16782 tests.
16783
167842014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
16785
16786 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
16787 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
16788 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
16789
167902014-06-20 Gary Benson <gbenson@redhat.com>
16791
16792 * gdb.arch/i386-avx.exp: Fix include file location.
16793 * gdb.arch/i386-sse.exp: Likewise.
16794
167952014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
16796
16797 * gdb.dlang/expression.exp: New file.
16798
167992014-06-19 Pedro Alves <palves@redhat.com>
16800
16801 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
16802 out from ...
16803 (top level): ... here. Iterate running tests under different
16804 scheduler-locking settings.
16805
168062014-06-18 Luis Machado <lgustavo@codesourcery.com>
16807
16808 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
16809 to DW_FORM_addr and use non-zero addresses.
16810
168112014-06-18 Siva Chandra Reddy <sivachandra@google.com>
16812
16813 PR gdb/17017
16814 * gdb.python/py-xmethods.cc: Add global function call counters and
16815 increment them in their respective functions. Remove "cout"
16816 statements.
16817 * gdb.python/py-xmethods.exp: Make tests check the global function
16818 call counters instead of depending on inferior IO.
16819
168202014-06-18 Don Breazeal <donb@codesourcery.com>
16821
16822 * gdb.base/foll-fork.exp (default_fork_parent_follow):
16823 Deleted procedure.
16824 (explicit_fork_parent_follow): Deleted procedure.
16825 (explicit_fork_child_follow): Deleted procedure.
16826 (test_follow_fork): New procedure.
16827 (do_fork_tests): Replace calls to deleted procedures with
16828 calls to test_follow_fork and reset GDB for subsequent
16829 procedure calls.
16830
168312014-06-17 Yao Qi <yao@codesourcery.com>
16832
16833 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
16834 CP1252.
16835
168362014-06-17 Luis Machado <lgustavo@codesourcery.com>
16837
16838 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
16839 Initialize ptr and S explicitly.
16840 (skip_type_update_when_not_use_rtti_test): Likewise.
16841
168422014-06-16 Keith Seitz <keiths@redhat.com>
16843
16844 PR mi/15863
16845 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
16846 the inferior is started.
16847
168482014-06-16 Pedro Alves <palves@redhat.com>
16849
16850 * gdb.base/break-main-file-remove-fail.c: New file.
16851 * gdb.base/break-main-file-remove-fail.exp: New file.
16852 * gdb.base/break-unload-file.exp: Use build_executable instead of
16853 prepare_for_testing.
16854 (test_break): New parameter "initial_load". Handle it.
16855 (top level): Add initial_load cmdline/file axis.
16856
168572014-06-12 Tom Tromey <tromey@redhat.com>
16858
16859 * gdb.base/completion.exp: Don't use directory name in test.
16860
168612014-06-09 Gary Benson <gbenson@redhat.com>
16862
16863 * gdb.base/sigall.c [Functions to send signals]: Reorder to
16864 separate the always-available ANSI-standard signals from the
16865 signals that require checking.
16866 (main): Likewise.
16867 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
16868 Likewise.
16869 (main): Likewise.
16870
168712014-06-07 Keith Seitz <keiths@redhat.com>
16872
16873 Revert:
16874 PR c++/16253
16875 * gdb.cp/var-tag.cc: New file.
16876 * gdb.cp/var-tag.exp: New file.
16877 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
16878 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
16879 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
16880 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
16881
168822014-06-06 Doug Evans <xdje42@gmail.com>
16883
16884 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
16885
168862014-06-06 Pedro Alves <palves@redhat.com>
16887
16888 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
16889 in target debug output instead of looking at RSP packets,
16890 disabling the test on any target that uses hardware stepping.
16891 Update comments.
16892
168932014-06-06 Pedro Alves <palves@redhat.com>
16894
16895 * gdb.base/break-unload-file.exp: Fix typo.
16896
168972014-06-06 Yao Qi <yao@codesourcery.com>
16898
16899 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
16900 from "jit_function" to "^jit_function".
16901
169022014-06-06 Yao Qi <yao@codesourcery.com>
16903
16904 * gdb.base/async.c (foo): Add one statement.
16905 * gdb.base/async.exp: Get the next instruction address and
16906 match the output of "nexti" by instruction address. Match
16907 the hex address in the output of "finish".
16908
169092014-06-06 Gary Benson <gbenson@redhat.com>
16910
16911 * gdb.base/call-signals.c: Remove preprocessor conditionals
16912 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
16913 SIGSEGV and SIGTERM.
16914 * gdb.base/sigall.c: Likewise.
16915 * gdb.base/unwindonsignal.c: Likewise.
16916 * gdb.reverse/sigall-reverse.c: Likewise.
16917
169182014-06-06 Yao Qi <yao@codesourcery.com>
16919
16920 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
16921 readable, skip the test.
16922
169232014-06-06 Yao Qi <yao@codesourcery.com>
16924
16925 * gdb.threads/staticthreads.c (thread_function): Move the line
16926 setting breakpoint on forward.
16927 * gdb.threads/staticthreads.exp: Update comments.
16928
169292014-06-05 Ludovic Courtès <ludo@gnu.org>
16930
16931 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
16932 "history-append! type error".
16933
169342014-06-05 Simon Marchi <simon.marchi@ericsson.com>
16935
16936 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
16937 erroneous dprintf expected input.
16938
169392014-06-04 Doug Evans <xdje42@gmail.com>
16940
16941 * gdb.guile/scm-generics.exp: Delete.
16942
169432014-06-04 Doug Evans <xdje42@gmail.com>
16944
16945 * gdb.guile/scm-breakpoint.exp: Update.
16946 Add tests for breakpoint registration.
16947
169482014-06-04 Tom Tromey <tromey@redhat.com>
16949
16950 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
16951 VLA-in-union.
16952 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
16953 inner_vla_struct, vla_union types. Initialize objects of those
16954 types and compute their sizes.
16955
169562014-06-04 Nathan Sidwell <nathan@codesourcery.com>
16957 Hui Zhu <hui@codesourcery.com>
16958
16959 * gdb.base/fileio.exp: Add test for shell not available as well as
16960 available.
16961 * gdb.base/fileio.c (test_system): Check for shell twice.
16962
169632014-06-04 Yao Qi <yao@codesourcery.com>
16964
16965 * gdb.base/auto-connect-native-target.exp: Remove redundant
16966 space from the regexp pattern.
16967
169682014-06-04 Yao Qi <yao@codesourcery.com>
16969
16970 * gdb.base/default.exp: Replace "child" with "native" in
16971 regexp pattern.
16972
169732014-06-03 Siva Chandra Reddy <sivachandra@google.com>
16974
16975 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
16976 * gdb.python/py-xmethods.exp: New tests to test xmethods.
16977 * gdb.python/py-xmethods.py: Python script supporting the
16978 new testcase and tests.
16979
169802014-06-03 Joel Brobecker <brobecker@adacore.com>
16981 Pedro Alves <palves@redhat.com>
16982
16983 PR breakpoints/17000
16984 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
16985 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
16986
169872014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
16988
16989 * gdb.base/subst.exp: Add tests to verify partial path matching
16990 output.
16991
169922014-06-03 Pedro Alves <palves@redhat.com>
16993
16994 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
16995 target that doesn't use software single-stepping.
16996
169972014-06-03 Pedro Alves <palves@redhat.com>
16998
16999 PR breakpoints/17000
17000 * gdb.base/sss-bp-on-user-bp-2.c: New file.
17001 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
17002
170032014-06-02 Doug Evans <xdje42@gmail.com>
17004
17005 * gdb.guile/scm-parameter.exp: New file.
17006
170072014-06-02 Doug Evans <xdje42@gmail.com>
17008
17009 * gdb.guile/scm-cmd.c: New file.
17010 * gdb.guile/scm-cmd.exp: New file.
17011
170122014-06-02 Doug Evans <xdje42@gmail.com>
17013
17014 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
17015 pretty-printer lookup.
17016 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
17017 (make-pp_s-printer): Call it.
17018 (make-pretty-printer-from-dict): New function.
17019 (lookup-pretty-printer-maker-from-dict): New function.
17020 (*pretty-printer*): Simplify.
17021 (make-objfile-pp_s-printer): New function.
17022 (install-objfile-pretty-printers!): New function.
17023 (make-progspace-pp_s-printer): New function.
17024 (install-progspace-pretty-printers!): New function.
17025 * gdb.guile/scm-progspace.c: New file.
17026 * gdb.guile/scm-progspace.exp: New file.
17027
170282014-06-02 Pedro Alves <palves@redhat.com>
17029
17030 * gdb.base/dprintf-bp-same-addr.c: New file.
17031 * gdb.base/dprintf-bp-same-addr.exp: New file.
17032
170332014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17034
17035 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
17036 * gdb.arch/powerpc-power.s: Likewise.
17037
170382014-06-02 Joel Brobecker <brobecker@adacore.com>
17039
17040 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
17041
170422014-06-01 Yao Qi <yao@codesourcery.com>
17043
17044 * gdb.base/watchpoint.exp (test_watch_location): Check null
17045 pointer can be dereferenced. If not, do the test, otherwise
17046 skip it.
17047
170482014-05-30 Andrew Burgess <aburgess@broadcom.com>
17049
17050 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
17051 results.
17052 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
17053
170542014-05-30 Andrew Burgess <aburgess@broadcom.com>
17055
17056 * gdb.arch/amd64-invalid-stack-middle.S: New file.
17057 * gdb.arch/amd64-invalid-stack-middle.c: New file.
17058 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
17059 * gdb.arch/amd64-invalid-stack-top.c: New file.
17060 * gdb.arch/amd64-invalid-stack-top.exp: New file.
17061
170622014-05-30 Pedro Alves <palves@redhat.com>
17063
17064 PR breakpoints/17000
17065 * gdb.base/sss-bp-on-user-bp.c: New file.
17066 * gdb.base/sss-bp-on-user-bp.exp: New file.
17067
170682014-05-30 David Blaikie <dblaikie@gmail.com>
17069
17070 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
17071 gnu_inline semantics via attribute.
17072 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
17073 source explicitly specifies the required semantics.
17074
170752014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
17076
17077 * gdb.reverse/sigall-reverse.exp: Fix a typo.
17078
170792014-05-29 Pedro Alves <palves@redhat.com>
17080 Tom Tromey <tromey@redhat.com>
17081
17082 * gdb.base/async-shell.exp: Don't enable target-async.
17083 * gdb.base/async.exp
17084 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
17085 parameter. Adjust.
17086 (top level): Don't test with "target-async".
17087 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
17088 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
17089 * gdb.base/inferior-died.exp: Don't enable target-async.
17090 * gdb.base/interrupt-noterm.exp: Likewise.
17091 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
17092 * gdb.mi/mi-nonstop-exit.exp: Likewise.
17093 * gdb.mi/mi-nonstop.exp: Likewise.
17094 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
17095 * gdb.mi/mi-nsintrall.exp: Likewise.
17096 * gdb.mi/mi-nsmoribund.exp: Likewise.
17097 * gdb.mi/mi-nsthrexec.exp: Likewise.
17098 * gdb.mi/mi-watch-nonstop.exp: Likewise.
17099 * gdb.multi/watchpoint-multi.exp: Adjust comment.
17100 * gdb.python/py-evsignal.exp: Don't enable target-async.
17101 * gdb.python/py-evthreads.exp: Likewise.
17102 * gdb.python/py-prompt.exp: Likewise.
17103 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
17104 * gdb.server/solib-list.exp: Don't enable target-async.
17105 * gdb.threads/thread-specific-bp.exp: Likewise.
17106 * lib/mi-support.exp: Adjust to use mi-async.
17107
171082014-05-29 Pedro Alves <palves@redhat.com>
17109
17110 PR gdb/13860
17111 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
17112 reason, even in sync mode.
17113
171142014-05-29 Pedro Alves <palves@redhat.com>
17115 Hui Zhu <hui@codesourcery.com>
17116
17117 PR PR15693
17118 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
17119 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
17120 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
17121 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
17122
171232014-05-28 Joel Brobecker <brobecker@adacore.com>
17124
17125 * config/monitor.exp (gdb_target_monitor): Replace use of
17126 "set remotebaud" by "set serial baud".
17127
171282014-05-26 Andy Wingo <wingo@igalia.com>
17129
17130 * gdb.guile/scm-breakpoint.exp:
17131 * gdb.guile/scm-gsmob.exp: Update to use plain old object
17132 properties instead of gdb-object-properties.
17133
171342014-05-26 Yao Qi <yao@codesourcery.com>
17135
17136 * gdb.server/no-thread-db.exp: Specify source file name
17137 explicitly when setting a breakpoint.
17138
171392014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17140
17141 * gdb.btrace/vdso.c: New.
17142 * gdb.btrace/vdso.exp: New.
17143
171442014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17145
17146 * gdb.base/gcore.exp (capture_command_output): Move ...
17147 * lib/gdb.exp (capture_command_output): ... here.
17148
171492014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17150
17151 * gdb.btrace/data.exp: Test memory access during btrace replay.
17152
171532014-05-22 Simon Marchi <simon.marchi@ericsson.com>
17154
17155 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
17156
171572014-05-21 Pedro Alves <palves@redhat.com>
17158
17159 PR gdb/13860
17160 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
17161 (top level): Test that output related to execution commands is
17162 sent to the console with CLI commands, but not with MI commands.
17163 Test that breakpoint events are always mirrored to the console.
17164 Also expect the new source line to be output after a "next" in
17165 async mode too. Make it a pass/fail test.
17166 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
17167 output.
17168 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
17169
171702014-05-21 Pedro Alves <palves@redhat.com>
17171
17172 * gdb.base/list.exp (build_pattern, test_list): New procedures.
17173 Use them to test variations of "list" after reaching a breakpoint.
17174 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
17175 Test "list" with listsize 10 after reaching a breakpoint.
17176 * gdb.python/python.exp (decode_line current location line
17177 number): Adjust expected line number.
17178
171792014-05-21 Simon Marchi <simon.marchi@ericsson.com>
17180
17181 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
17182 behavior for $args, pass it directly to "run".
17183
171842014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
17185
17186 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
17187 30000 to 65536.
17188
171892014-05-21 Pedro Alves <palves@redhat.com>
17190
17191 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
17192 auto-connect-native-target off".
17193 * gdb.base/auto-connect-native-target.c: New file.
17194 * gdb.base/auto-connect-native-target.exp: New file.
17195
171962014-05-21 Pedro Alves <palves@redhat.com>
17197
17198 * gdb.base/default.exp: Test "target native" instead of "target
17199 child".
17200
172012014-05-21 Mark Wielaard <mjw@redhat.com>
17202
17203 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
17204
172052014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17206
17207 Fix TLS access for -static -pthread.
17208 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
17209 <HAVE_TLS> (thread_function, main): Initialize it.
17210 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
17211 Add clean_restart.
17212 <$have_tls != "">: Check TLSVAR.
17213
172142014-05-21 Pedro Alves <palves@redhat.com>
17215
17216 * gdb.base/dcache-line-read-error.c: New.
17217 * gdb.base/dcache-line-read-error.exp: New.
17218
172192014-05-20 Pedro Alves <palves@redhat.com>
17220
17221 * gdb.base/compare-sections.c: New file.
17222 * gdb.base/compare-sections.exp: New file.
17223
172242014-05-20 Pedro Alves <palves@redhat.com>
17225
17226 * gdb.base/break-idempotent.c: New file.
17227 * gdb.base/break-idempotent.exp: New file.
17228
172292014-05-20 Markus Metzger <markus.t.metzger@intel.com>
17230
17231 * gdb.btrace/nohist.exp: New.
17232
172332014-05-20 Yao Qi <yao@codesourcery.com>
17234
17235 * lib/gdb.exp (gdb_init): Set timeout if test file is under
17236 gdb.reverse directory and gdb_reverse_timeout exists in board
17237 setting.
17238 * README: Document gdb_reverse_timeout.
17239
172402014-05-20 Yao Qi <yao@codesourcery.com>
17241
17242 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
17243 'test_file_name'. Treat args as a string instead of a list.
17244 (gdb_init): Rename argument 'args' by 'test_file_name'.
17245
172462014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
17247
17248 * gdb.arch/powerpc-power.exp: New file.
17249 * gdb.arch/powerpc-power.s: New file.
17250
172512014-05-16 Doug Evans <dje@google.com>
17252
17253 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
17254 * gdb.base/completion.exp: Check that all expected files exist
17255 before doing file completion.
17256
172572014-05-16 Doug Evans <dje@google.com>
17258
17259 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
17260 Update.
17261 (do_syscall_tests_without_xml): Update.
17262
172632014-05-16 Pedro Alves <palves@redhat.com>
17264
17265 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
17266 instead of "unknown output after running".
17267
172682014-05-16 Yao Qi <yao@codesourcery.com>
17269
17270 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
17271 file1.txt from host at the end.
17272 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
17273
172742014-05-15 Doug Evans <dje@google.com>
17275
17276 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
17277 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
17278 loading file. Add test for TU lookup.
17279
172802014-05-15 Simon Marchi <simon.marchi@ericsson.com>
17281
17282 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
17283 calling "-exec-arguments" or "set args" before running the
17284 inferior.
17285
172862014-05-15 Simon Marchi <simon.marchi@ericsson.com>
17287
17288 * lib/mi-support.exp (mi_expect_stop): Expect message for
17289 inferiors that exit with non-zero exit code.
17290
172912014-05-14 Yao Qi <yao@codesourcery.com>
17292
17293 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
17294 match absolute path on remote host.
17295 (test_file_list_exec_source_files): Remove "/" from the
17296 pattern.
17297
172982014-05-14 Yao Qi <yao@codesourcery.com>
17299
17300 * boards/local-remote-host-notty.exp (${board}_file): New
17301 proc.
17302
173032014-05-07 Kyle McMartin <kyle@redhat.com>
17304
17305 Pushed by Joel Brobecker <brobecker@adacore.com>.
17306 * gdb.arch/aarch64-atomic-inst.c: New file.
17307 * gdb.arch/aarch64-atomic-inst.exp: New file.
17308
173092014-05-07 Yao Qi <yao@codesourcery.com>
17310
17311 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
17312 in current context" too.
17313
173142014-05-05 Keith Seitz <keiths@redhat.com>
17315
17316 * gdb.linespec/ls-dollar.exp: Add test for linespec
17317 file:convenience_variable.
17318
173192014-05-05 Yao Qi <yao@codesourcery.com>
17320
17321 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
17322 traceframes into tfile and ctf trace files. Read data from
17323 trace file and test collected data.
17324 (gdb_collect_locals_test): Likewise.
17325 (gdb_unavailable_registers_test): Likewise.
17326 (gdb_unavailable_floats): Likewise.
17327 (gdb_collect_globals_test): Likewise.
17328 (top-level): Append "ctf" to trace_file_targets if GDB
17329 supports.
17330
173312014-05-05 Yao Qi <yao@codesourcery.com>
17332
17333 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
17334 code to ...
17335 (gdb_collect_args_test_1): ... it. New proc.
17336 (gdb_collect_locals_test): Move some code to ...
17337 (gdb_collect_locals_test_1): ... it. New proc.
17338 (gdb_unavailable_registers_test): Move some code to ...
17339 (gdb_unavailable_registers_test_1): ... it. New proc.
17340 (gdb_unavailable_floats): Move some code to ...
17341 (gdb_unavailable_floats_1): ... it. New proc.
17342
173432014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
17344
17345 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
17346 probes to test for bitness recognition.
17347 * gdb.arch/amd64-stap-optional-prefix.exp
17348 (test_probe_value_without_reg): New procedure.
17349 Add code to test for different kinds of bitness.
17350
173512014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
17352
17353 PR breakpoints/16889
17354 * gdb.arch/amd64-stap-optional-prefix.S: New file.
17355 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
17356
173572014-05-01 Pedro Alves <palves@redhat.com>
17358
17359 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
17360 gdb_file_cmd if no file is specified.
17361 * boards/native-extended-gdbserver.exp (gdb_load): Use the
17362 last_loaded_file to set the remote exec-file.
17363
173642014-05-01 Pedro Alves <palves@redhat.com>
17365
17366 * boards/local-remote-host.exp: New file.
17367
173682014-05-01 Pedro Alves <palves@redhat.com>
17369
17370 * boards/local-remote-host.exp: Rename to ...
17371 * boards/local-remote-host-notty.exp: ... this.
17372
173732014-04-28 Joel Brobecker <brobecker@adacore.com>
17374
17375 * gdb.ada/dyn_arrayidx: New testcase.
17376
173772014-04-26 Yao Qi <yao@codesourcery.com>
17378
17379 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
17380 and compute the length of function main. Save it in
17381 $main_length.
17382 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
17383 (top-level): Use gdb_compile to compile objects into
17384 executable and restart GDB. Remove invocation to
17385 prepare_for_testing.
17386
173872014-04-25 Simon Marchi <simon.marchi@ericsson.com>
17388 Pedro Alves <palves@redhat.com>
17389
17390 PR server/16255
17391 * gdb.multi/multi-attach.c: New file.
17392 * gdb.multi/multi-attach.exp: New file.
17393
173942014-04-25 Pedro Alves <palves@redhat.com>
17395
17396 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
17397 user.
17398 (top level): Test that "set remote conditional-breakpoints-packet
17399 off" works as intended.
17400 * gdb.base/dprintf.exp: Test that "set remote
17401 breakpoint-commands-packet off" works as intended.
17402 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
17403 New function.
17404 (top level): Call it.
17405 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
17406 remote fast-tracepoints-packet off" works as intended.
17407 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
17408 * lib/gdb.exp (gdb_is_target_remote): ... here.
17409
174102014-04-24 David Blaikie <dblaikie@gmail.com>
17411
17412 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
17413 ensure clang would not discard them.
17414 * gdb.base/gdbvars.c: Ditto.
17415 * gdb.base/memattr.c: Ditto.
17416 * gdb.base/whatis.c: Ditto.
17417 * gdb.python/py-prettyprint.c: Ditto.
17418 * gdb.trace/actions.c: Ditto.
17419 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
17420 ensure clang would not discard it.
17421
174222014-04-24 David Blaikie <dblaikie@gmail.com>
17423
17424 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
17425 clang to emit the full definition of type required by the test
17426 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
17427
174282014-04-24 David Blaikie <dblaikie@gmail.com>
17429
17430 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
17431 coax Clang into emitting the definition of the type.
17432 * gdb.cp/pr10728-x.h (y): Ditto.
17433 * gdb.cp/pr10728-y.cc (y): Ditto.
17434
174352014-04-24 David Blaikie <dblaikie@gmail.com>
17436
17437 * gdb.base/label.exp: XFAIL label related tests under Clang.
17438 * gdb.cp/cplabel.exp: Ditto.
17439 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
17440 under Clang those using labels.
17441
174422014-04-25 Yao Qi <yao@codesourcery.com>
17443
17444 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
17445 double_label.
17446 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
17447 partial_label and double_label.
17448
174492014-04-24 David Blaikie <dblaikie@gmail.com>
17450
17451 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
17452
174532014-04-24 David Blaikie <dblaikie@gmail.com>
17454
17455 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
17456 of the function to work across GCC and Clang.
17457 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
17458 pointer types (const void ** const V void **).
17459
174602014-04-24 Michael Sturm <michael.sturm@mintel.com>
17461 Walfred Tedeschi <walfred.tedeschi@intel.com>
17462
17463 * Makefile.in (EXECUTABLES): Added i386-avx512.
17464 * gdb.arch/i386-avx512.c: New file.
17465 * gdb.arch/i386-avx512.exp: Likewise.
17466
174672014-04-23 Keith Seitz <keiths@redhat.com>
17468
17469 * lib/mi-support.exp (mi_list_breakpoints): Delete.
17470 (mi_make_breakpoint_table): New procedure.
17471 (mi_create_breakpoint): Use mi_make_breakpoint
17472 and return the result.
17473 (mi_make_breakpoint): New procedure.
17474 (mi_build_kv_pairs): New procedure.
17475
17476 * gdb.mi/mi-break.exp: Remove unused globals,
17477 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
17478 All callers updated.
17479 * gdb.mi/mi-dprintf.exp: Use variable to track command
17480 number.
17481 Update all callers of mi_create_breakpoint and use
17482 mi_make_breakpoint_table.
17483 Remove any unused global variables.
17484 * gdb.mi/mi-nonstop.exp: Likewise.
17485 * gdb.mi/mi-nsintrall.exp: Likewise.
17486 * gdb.mi/mi-nsmoribund.exp: Likewise.
17487 * gdb.mi/mi-nsthrexec.exp: Likewise.
17488 * gdb.mi/mi-reverse.exp: Likewise.
17489 * gdb.mi/mi-simplerun.exp: Likewise.
17490 * gdb.mi/mi-stepn.exp: Likewise.
17491 * gdb.mi/mi-syn-frame.exp: Likewise.
17492 * gdb.mi/mi-until.exp: Likewise.
17493 * gdb.mi/mi-var-cp.exp: Likewise.
17494 * gdb.mi/mi-var-display.exp: Likewise.
17495 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
17496 * gdb.mi/mi2-var-child.exp: Likewise.
17497 * gdb.mi/mi-vla-c99.exp: Likewise.
17498 * lib/mi-support.exp: Likewise.
17499
17500 From Ian Lance Taylor <iant@cygnus.com>:
17501 * lib/gdb.exp (parse_args): New procedure.
17502
175032014-04-23 Pedro Alves <palves@redhat.com>
17504
17505 * gdb.base/break-unload-file.c: New file.
17506 * gdb.base/break-unload-file.exp: New file.
17507 * gdb.base/sym-file-lib.c (baz): New function.
17508 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
17509 field.
17510 (load): Store the segment's mapped size.
17511 (unload): New function.
17512 (unload_shlib): New function.
17513 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
17514 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
17515 set a breakpoint at baz, and call it.
17516 * gdb.base/sym-file.exp: New tests for stale breakpoint
17517 instructions.
17518
175192014-04-23 Pedro Alves <palves@redhat.com>
17520
17521 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
17522 * gdb.base/hbreak-in-shr-unsupported.c: New file.
17523 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
17524 * gdb.base/hbreak-unmapped.c: New file.
17525 * gdb.base/hbreak-unmapped.exp: New file.
17526 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
17527 * lib/gdb.exp (gdb_is_target_remote): ... here.
17528
175292014-04-22 Pedro Alves <palves@redhat.com>
17530
17531 * gdb.base/consecutive-step-over.c: New file.
17532 * gdb.base/consecutive-step-over.exp: New file.
17533
175342014-04-22 Pedro Alves <palves@redhat.com>
17535
17536 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
17537 instead of send_gdb/gdb_expect.
17538
175392014-04-22 Yao Qi <yao@codesourcery.com>
17540
17541 * lib/trace-support.exp (generate_tracefile): New procedure.
17542 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
17543 return 0.
17544 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
17545 if generate_tracefile returns 1.
17546
175472014-04-18 Tom Tromey <palves@redhat.com>
17548 Pedro alves <tromey@redhat.com>
17549
17550 PR backtrace/15558
17551 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
17552 with a backtrace limit.
17553 * gdb.python/py-frame-inline.exp: Test running to an inline
17554 function with a backtrace limit, and printing the newest frame.
17555 * gdb.python/py-frame-inline.c (main): Call f.
17556
175572014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
17558
17559 * gdb.java/jnpe.exp: Drop srcdir from untested path.
17560
175612014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
17562
17563 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
17564 Drop prefix from unsupported source file path.
17565
175662014-04-17 Yao Qi <yao@codesourcery.com>
17567
17568 * lib/gdb.exp (with_target_charset): New proc.
17569 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
17570 with_target_charset.
17571 (test_print_strings): Likewise.
17572 (test_repeat_bytes): Likewise.
17573 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
17574 for some tests.
17575
175762014-04-16 Keith Seitz <keiths@redhat.com>
17577
17578 PR gdb/15827
17579 * gdb.dwarf2/corrupt.c: New file.
17580 * gdb.dwarf2/corrupt.exp: New file.
17581
175822014-04-16 Keith Seitz <keiths@redhat.com>
17583
17584 PR c++/16597
17585 * gdb.cp/namelessclass.cc: New file.
17586 * gdb.cp/namelessclass.exp: New file.
17587 * gdb.cp/namelessclass.S: New file.
17588
175892014-04-16 Doug Evans <dje@google.com>
17590
17591 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
17592 Add comment.
17593 (gdbserver_default_get_comm_port): New function.
17594 (gdbserver_start): Check if board file provided
17595 "gdbserver,get_comm_port" and use it if so.
17596 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
17597 (gdb,socketport): Set to "stdio".
17598 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
17599 (stdio_gdbserver_template): Delete.
17600 (${board}_get_remote_address): Update.
17601 (${board}_build_remote_cmd): Delete.
17602 (${board}_get_comm_port): New function.
17603 (${board}_spawn): Update.
17604 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
17605 Delete.
17606 (${board}_get_remote_address): Update.
17607 (${board}_get_comm_port): New function.
17608
176092014-04-16 Andrew Burgess <aburgess@broadcom.com>
17610
17611 * gdb.base/memattr.exp: Improve regexps to handle memory regions
17612 appearing in any order.
17613
176142014-04-15 Doug Evans <dje@google.com>
17615
17616 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
17617 uninitialized value of "description".
17618
176192014-04-15 Keith Seitz <keiths@redhat.com>
17620
17621 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
17622 Remove unused globals.
17623 (test_running_the_program): Likewise.
17624 (test_controlled_execution): Likewise.
17625 (test_controlling_breakpoints): Likewise.
17626 (test_program_termination): Likewise.
17627
176282014-04-15 Keith Seitz <keiths@redhat.com>
17629
17630 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
17631 unused globals.
17632 (test_rbreak_creation_and_listing): Likewise.
17633 (test_ignore_count): Likewise.
17634 (test_error): Likewise.
17635
176362014-04-15 Pedro Alves <palves@redhat.com>
17637
17638 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
17639 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
17640 sym-file-loader.c.
17641 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
17642 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
17643 to sym-file-loader.c.
17644 (struct library): Forward declare.
17645 (load_shlib, lookup_function): Change prototypes.
17646 (find_shstrtab, find_strtab, find_shdr, find_symtab)
17647 (translate_offset): Remove declarations.
17648 (get_text_addr): New declaration.
17649 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
17650 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
17651 sym-file-loader.h.
17652 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
17653 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
17654 here from sym-file-loader.h.
17655 (struct library): New structure.
17656 (load_shlib, lookup_function): Change prototypes and adjust to
17657 work with a struct library.
17658 (find_shstrtab, find_strtab, find_shdr, find_symtab)
17659 (translate_offset): Make static.
17660 (get_text_addr): New function.
17661 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
17662
176632014-04-15 Pedro Alves <palves@redhat.com>
17664
17665 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
17666
176672014-04-15 Pedro Alves <palves@redhat.com>
17668
17669 * gdb.base/sym-file-loader.c: Include <limits.h>.
17670 (SELF_LINK): New define.
17671 (get_origin): New function.
17672 (load_shlib): Use it.
17673 * gdb.base/sym-file.exp: Don't early return if the target is
17674 remote. Use runto_main, and issue fail is that fails. Use
17675 gdb_load_shlibs.
17676 (shlib_name): Delete.
17677 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
17678
176792014-04-15 Pedro Alves <palves@redhat.com>
17680
17681 * gdb.base/sym-file.exp: Remove regex characters from test
17682 message. Don't refer to breakpoint numbers in test messages.
17683
176842014-04-14 Keith Seitz <keiths@redhat.com>
17685
17686 PR c++/16253
17687 * gdb.cp/var-tag.cc: New file.
17688 * gdb.cp/var-tag.exp: New file.
17689 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
17690 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
17691 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
17692 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
17693
176942014-04-14 Tom Tromey <tromey@redhat.com>
17695
17696 * gdb.cp/classes.exp (test_enums): Handle underlying type.
17697 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
17698 type.
17699 * gdb.cp/enum-class.exp: New file.
17700 * gdb.cp/enum-class.cc: New file.
17701
177022014-04-14 Tom Tromey <tromey@redhat.com>
17703
17704 * gdb.dwarf2/enum-type.exp: New file.
17705
177062014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17707
17708 * gdb.mi/mi-vla-c99.exp: New file.
17709 * gdb.mi/vla.c: New file.
17710
177112014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17712
17713 * gdb.base/vla-datatypes.c: New file.
17714 * gdb.base/vla-datatypes.exp: New file.
17715
177162014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17717
17718 * gdb.base/vla-ptr.c: New file.
17719 * gdb.base/vla-ptr.exp: New file.
17720
177212014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17722
17723 * gdb.dwarf2/count.exp: New file.
17724
177252014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17726
17727 * gdb.base/vla-sideeffect.c: New file.
17728 * gdb.base/vla-sideeffect.exp: New file.
17729
177302014-04-14 David Blaikie <dblaikie@gmail.com>
17731
17732 * gdb.mi/non-stop.c: Add return value for non-void function return
17733 statement.
17734 * gdb.threads/staticthreads.c: Ditto.
17735
177362014-04-12 Siva Chandra Reddy <sivachandra@google.com>
17737 Doug Evans <xdje42@gmail.com>
17738
17739 * gdb.guile/scm-value.c: Improve test case.
17740 * gdb.guile/scm-value.exp: Add new test.
17741
177422014-04-11 David Blaikie <dblaikie@gmail.com>
17743
17744 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
17745 override Clang's default.
17746
177472014-04-11 Joel Brobecker <brobecker@adacore.com>
17748
17749 Revert the following changes (regressions):
17750
17751 * gdb.base/vla-sideeffect.c: New file.
17752 * gdb.base/vla-sideeffect.exp: New file.
17753
17754 * gdb.dwarf2/count.exp: New file.
17755
17756 * gdb.base/vla-multi.c: New file.
17757 * gdb.base/vla-multi.exp: New file.
17758
17759 * gdb.base/vla-ptr.c: New file.
17760 * gdb.base/vla-ptr.exp: New file.
17761
17762 * gdb.base/vla-datatypes.c: New file.
17763 * gdb.base/vla-datatypes.exp: New file.
17764
17765 * gdb.mi/mi-vla-c99.exp: New file.
17766 * gdb.mi/vla.c: New file.
17767
177682014-04-11 Keith Seitz <keiths@redhat.com>
17769
17770 PR c++/16675
17771 * gdb.cp/cpsizeof.exp: New file.
17772 * gdb.cp/cpsizeof.cc: New file.
17773
177742014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17775
17776 * gdb.mi/mi-vla-c99.exp: New file.
17777 * gdb.mi/vla.c: New file.
17778
177792014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17780
17781 * gdb.base/vla-datatypes.c: New file.
17782 * gdb.base/vla-datatypes.exp: New file.
17783
177842014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17785
17786 * gdb.base/vla-ptr.c: New file.
17787 * gdb.base/vla-ptr.exp: New file.
17788
177892014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17790
17791 * gdb.base/vla-multi.c: New file.
17792 * gdb.base/vla-multi.exp: New file.
17793
177942014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17795
17796 * gdb.dwarf2/count.exp: New file.
17797
177982014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17799
17800 * gdb.base/vla-sideeffect.c: New file.
17801 * gdb.base/vla-sideeffect.exp: New file.
17802
178032014-04-11 Yao Qi <yao@codesourcery.com>
17804
17805 * gdb.base/completion.exp: Check file exists before running tests
17806 on file completion.
17807
178082014-04-10 Pedro Alves <palves@redhat.com>
17809
17810 * gdb.base/cond-eval-mode.c: New file.
17811 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
17812 prepare_for_testing to build the new file. Check result of
17813 runto_main.
17814 (test_break, test_watch): New procedures.
17815 (top level): Use them.
17816
178172014-04-08 Pierre Muller <muller@sourceware.org>
17818
17819 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
17820 Ctrl-V use for mingw hosts.
17821
178222014-04-07 Siva Chandra Reddy <sivachandra@google.com>
17823
17824 * gdb.python/py-value.c: Improve test case.
17825 * gdb.python/py-value.exp: Add new test.
17826
178272014-04-07 David Blaikie <dblaikie@gmail.com>
17828
17829 * lib/compiler.c: Identify the clang compiler.
17830 * lib/compiler.cc: Ditto.
17831
178322014-04-03 Yao Qi <yao@codesourcery.com>
17833
17834 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
17835
178362014-04-01 Anton Blanchard <anton@samba.org>
17837
17838 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
17839 messages unique.
17840
178412014-04-01 Anton Blanchard <anton@samba.org>
17842
17843 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
17844 prepare_for_testing.
17845
178462014-04-01 Anton Blanchard <anton@samba.org>
17847
17848 * gdb.arch/ppc64-atomic-inst.c: Remove.
17849 * gdb.arch/ppc64-atomic-inst.S: New file.
17850 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
17851
178522014-03-31 Doug Evans <dje@google.com>
17853
17854 * gdb.base/print-symbol-loading-lib.c: New file.
17855 * gdb.base/print-symbol-loading-main.c: New file.
17856 * gdb.base/print-symbol-loading.exp: New file.
17857
178582014-03-31 Yao Qi <yao@codesourcery.com>
17859
17860 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
17861
178622014-03-28 Joel Brobecker <brobecker@adacore.com>
17863
17864 * gdb.ada/mi_dyn_arr: New testcase.
17865
178662014-03-27 Doug Evans <dje@google.com>
17867
17868 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
17869
178702014-03-27 Yao Qi <yao@codesourcery.com>
17871
17872 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
17873 if target is nios2-*-*.
17874
178752014-03-26 Yao Qi <yao@codesourcery.com>
17876
17877 * lib/gdb.exp (readline_is_used): New proc.
17878 * gdb.base/completion.exp: Move tests on command complete up.
17879 Skip the rest of tests if readline is not used.
17880 * gdb.ada/complete.exp: Skp the test if readline is not
17881 used.
17882 * gdb.base/filesym.exp: Likewise.
17883 * gdb.base/macscp.exp: Likewise.
17884 * gdb.base/readline-ask.exp: Likewise.
17885 * gdb.base/readline.exp: Likewise.
17886 * gdb.python/py-cmd.exp: Likewise.
17887 * gdb.trace/tfile.exp: Likewise.
17888
178892014-03-26 Yao Qi <yao@codesourcery.com>
17890
17891 * gdb.base/macscp.exp: Fix code format issues.
17892
178932014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
17894
17895 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
17896 * gdb.asm/powerpc64le.inc: New file.
17897
178982014-03-25 Pedro Alves <palves@redhat.com>
17899 Doug Evans <dje@google.com>
17900
17901 * gdb.base/source-execution.c: New file.
17902 * gdb.base/source-execution.exp: New file.
17903 * gdb.base/source-execution.gdb: New file.
17904
179052014-03-24 Doug Evans <dje@google.com>
17906
17907 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
17908 using fission.
17909
179102014-03-24 Hui Zhu <hui@codesourcery.com>
17911 Pedro Alves <palves@redhat.com>
17912
17913 PR breakpoints/16101
17914 * gdb.base/dprintf.exp: Use unsupported rather than changing the
17915 test pass/fail messages. Detect missing support for dprintf when
17916 breakpoints are actually inserted.
17917 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
17918 breakpoints are actually inserted.
17919 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
17920 fails.
17921
179222014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
17923
17924 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
17925
179262014-03-22 Doug Evans <xdje42@gmail.com>
17927
17928 * gdb.python/python.exp (python not supported): Verify multi-line
17929 python command issues an error.
17930 * gdb.guile/guile.exp (guile not supported): Verify multi-line
17931 guile command issues an error.
17932
179332014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
17934
17935 * gdb.threads/thread-specific.exp: Handle the lack of usable
17936 $this_breakpoint and $this_thread.
17937
179382014-03-21 Hui Zhu <hui@codesourcery.com>
17939
17940 * gdb.base/attach.exp (do_command_attach_tests): New.
17941
179422014-03-20 Tom Tromey <tromey@redhat.com>
17943 Pedro Alves <palves@redhat.com>
17944
17945 PR cli/15718
17946 * gdb.base/condbreak-call-false.c: New file.
17947 * gdb.base/condbreak-call-false.exp: New file.
17948
179492014-03-20 Pedro Alves <palves@redhat.com>
17950
17951 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
17952 Delete.
17953 (block_signals, unblock_signals): Delete.
17954 (child_function_2, main): Remove references to deleted variable
17955 and functions.
17956
179572014-03-20 Pedro Alves <palves@redhat.com>
17958
17959 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
17960 Use pthread_kill to signal thread 2.
17961 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17962 Adjust to make the test send itself a signal rather than using the
17963 host's "kill" command.
17964
179652014-03-20 Pedro Alves <palves@redhat.com>
17966
17967 * gdb.threads/multiple-step-overs.c: New file.
17968 * gdb.threads/multiple-step-overs.exp: New file.
17969 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17970 Adjust expected infrun debug output.
17971
179722014-03-20 Pedro Alves <palves@redhat.com>
17973
17974 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
17975 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
17976
179772014-03-20 Pedro Alves <palves@redhat.com>
17978
17979 PR breakpoints/7143
17980 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
17981 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
17982 of gdb_test_multiple.
17983 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
17984 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
17985
179862014-03-20 Pedro Alves <palves@redhat.com>
17987
17988 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
17989 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
17990
179912014-03-19 Pedro Alves <palves@redhat.com>
17992
17993 * gdb.base/async.exp: Remove early return.
17994
179952014-03-19 Pedro Alves <palves@redhat.com>
17996
17997 * gdb.base/async.exp (step& tests): Pass explicit test messages.
17998
179992014-03-19 Pedro Alves <palves@redhat.com>
18000
18001 * gdb.base/async.exp (test_background): Expect \r\n after
18002 "completed." in the fail pattern.
18003
180042014-03-19 Pedro Alves <palves@redhat.com>
18005
18006 * gdb.base/async.exp (test_background): New procedure.
18007 Use it for all background execution command tests.
18008
180092014-03-19 Pedro Alves <palves@redhat.com>
18010
18011 * gdb.base/async.exp: Use prepare_for_testing.
18012
180132014-03-19 Pedro Alves <palves@redhat.com>
18014
18015 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
18016 the same line.
18017
180182014-03-19 Pedro Alves <palves@redhat.com>
18019
18020 * gdb.base/async.c (main): Add "jump here" and "until here" line
18021 marker comments.
18022 * gdb.base/async.exp (jump_here): New global.
18023 (jump& test): Use it.
18024 (until_here): New global.
18025 (until& test): Use it.
18026
180272014-03-19 Pedro Alves <palves@redhat.com>
18028
18029 * gdb.base/async.exp: Don't frob gdb_protocol.
18030
180312014-03-18 Doug Evans <xdje42@gmail.com>
18032
18033 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
18034 Fix spelling of exec-done-display.
18035
180362014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
18037
18038 PR gdb/15358
18039 * gdb.base/gdb-sigterm.c: New file.
18040 * gdb.base/gdb-sigterm.exp: New file.
18041
180422014-03-18 Pedro Alves <palves@redhat.com>
18043
18044 PR gdb/13860
18045 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
18046 * lib/mi-support.exp (mi_expect_stop): Add special handling for
18047 solib-event.
18048
180492014-03-17 Joel Brobecker <brobecker@adacore.com>
18050
18051 * gdb.ada/pckd_arr_ren: New testcase.
18052
180532014-03-13 Doug Evans <xdje42@gmail.com>
18054
18055 PR guile/16612
18056 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
18057 collect after discarding symbols.
18058
180592014-03-13 Ludovic Courtès <ludo@gnu.org>
18060 Doug Evans <xdje42@gmail.com>
18061
18062 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
18063 to history survives a gc.
18064
180652014-03-13 Pedro Alves <palves@redhat.com>
18066
18067 * gdb.base/default.exp: Don't test "target procfs".
18068
180692014-03-13 Pedro Alves <palves@redhat.com>
18070
18071 * gdb.base/default.exp: Update "target child" and "target procfs"
18072 tests to not expect "Unix".
18073
180742014-03-12 Tom Tromey <tromey@redhat.com>
18075
18076 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
18077 New procs. Add target-async tests.
18078 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
18079 Add target-async tests.
18080
180812014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18082
18083 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
18084 'func_start' and 'func_end' for the beginning and end of the
18085 function code, respectively.
18086 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
18087 'func_end' instead of 'func' and 'main'.
18088
180892014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18090
18091 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
18092 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
18093 generate the debug info assembler source.
18094
180952014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18096
18097 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
18098 * gdb.dwarf2/arr-subrange.exp: Likewise.
18099 * gdb.dwarf2/dwz.exp: Likewise.
18100 * gdb.dwarf2/method-ptr.exp: Likewise.
18101 * gdb.dwarf2/missing-sig-type.exp: Likewise.
18102 * gdb.dwarf2/subrange.exp: Likewise.
18103 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
18104 * gdb.dwarf2/implptrpiece.exp: Likewise.
18105 * gdb.dwarf2/nostaticblock.exp: Likewise.
18106
181072014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18108
18109 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
18110 directory to absolute path name arguments.
18111
181122014-03-10 Joel Brobecker <brobecker@adacore.com>
18113
18114 * gdb.ada/tagged_access: New testcase.
18115
181162014-03-07 Markus Metzger <markus.t.metzger@intel.com>
18117
18118 * gdb.btrace/data.exp: Update expected output.
18119
181202014-03-06 Yao Qi <yao@codesourcery.com>
18121
18122 * gdb.trace/pr16508.exp: New file.
18123
181242014-03-05 Pedro Alves <palves@redhat.com>
18125
18126 PR gdb/16575
18127 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
18128 procedure.
18129 (top level): Adjust to use it. Add tests that exercise breakpoint
18130 interaction with the code-cache.
18131
181322014-02-26 Ludovic Courtès <ludo@gnu.org>
18133
18134 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
18135 test for 'history-append!'.
18136
181372014-02-26 Joel Brobecker <brobecker@adacore.com>
18138
18139 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
18140 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
18141 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
18142 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
18143 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
18144 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
18145
181462014-02-26 Joel Brobecker <brobecker@adacore.com>
18147
18148 * testsuite/gdb.python/py-pp-re-notag.c: New file.
18149 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
18150 * testsuite/gdb.python/py-pp-re-notag.p: New file.
18151
181522014-02-26 Joel Brobecker <brobecker@adacore.com>
18153
18154 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
18155
181562014-02-26 Joel Brobecker <brobecker@adacore.com>
18157
18158 * gdb.dwarf2/arr-stride.c: New file.
18159 * gdb.dwarf2/arr-stride.exp: New file.
18160
181612014-02-26 Pedro Alves <palves@redhat.com>
18162
18163 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
18164 that won't ever trigger. Make sure that GDB reports the correct
18165 breakpoint that caused the stop.
18166
181672014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18168
18169 PR gdb/16626
18170 * gdb.base/auto-load-script: New file.
18171 * gdb.base/auto-load.c: New file.
18172 * gdb.base/auto-load.exp: New file.
18173
18174 PR gdb/16626
18175 * gdb.base/auto-load.exp: Fix out-of-srctree run.
18176
181772014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18178
18179 Fix dw2-icycle.exp -fsanitize=address GDB crash.
18180 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
18181
181822014-02-24 Doug Evans <dje@google.com>
18183
18184 * lib/gdb.exp (run_on_host): Log error output if program fails.
18185
181862014-02-21 Pedro Alves <palves@redhat.com>
18187
18188 * gdb.threads/step-after-sr-lock.c: Rename to ...
18189 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
18190 * gdb.threads/step-after-sr-lock.exp: Rename to ...
18191 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18192 ... this.
18193
181942014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
18195
18196 PR tdep/16397
18197 * gdb.arch/amd64-stap-special-operands.exp: New file.
18198 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
18199 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
18200 * gdb.arch/amd64-stap-triplet.S: Likewise.
18201 * gdb.arch/amd64-stap-triplet.c: Likewise.
18202
182032014-02-20 Joel Brobecker <brobecker@adacore.com>
18204
18205 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
18206 in .section pseudo-op.
18207
182082014-02-20 lin zuojian <manjian2006@gmail.com>
18209 Joel Brobecker <brobecker@adacore.com>
18210 Doug Evans <xdje42@gmail.com>
18211
18212 PR symtab/16581
18213 * gdb.dwarf2/dw2-icycle.S: New file.
18214 * gdb.dwarf2/dw2-icycle.c: New file.
18215 * gdb.dwarf2/dw2-icycle.exp: New file.
18216
182172014-02-19 Siva Chandra Reddy <sivachandra@google.com>
18218
18219 * gdb.python/py-value-cc.cc: Improve test case to enable testing
18220 operations on gdb.Value objects.
18221 * gdb.python/py-value-cc.exp: Add new test to test operations on
18222 gdb.Value objects.
18223
182242014-02-18 Doug Evans <dje@google.com>
18225
18226 * Makefile.in (TESTS): New variable.
18227 (expanded_tests, expanded_tests_or_none): New variables
18228 (check-single): Pass $(expanded_tests_or_none) to runtest.
18229 (check-parallel): Only run tests in $(TESTS) if non-empty.
18230 (check/no-matching-tests-found): New rule.
18231 * README: Document TESTS makefile variable.
18232
182332014-02-18 Doug Evans <dje@google.com>
18234
18235 * Makefile.in (check-parallel): rm -rf outputs temp.
18236
182372014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18238
18239 Fix "ERROR: no fileid for" in the testsuite.
18240 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
18241
182422014-02-12 Doug Evans <dje@google.com>
18243
18244 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
18245 (MISCELLANEOUS): New variable.
18246 (clean): rm -rf $(MISCELLANEOUS).
18247 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
18248 dwp live in the same directory as symlinks, with each symlink pointed
18249 to a differently named file in a different directory.
18250
182512014-02-11 Doug Evans <dje@google.com>
18252
18253 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
18254 of Tcl file commands.
18255
182562014-02-10 Mark Kettenis <kettenis@gnu.org>
18257
18258 * gdb.threads/step-after-sr-lock.exp: Avoid executing
18259 "kill -SIGUSR1 -1".
18260
182612014-02-10 Joel Brobecker <brobecker@adacore.com>
18262
18263 * gdb.ada/tick_length_array_enum_idx: New testcase.
18264
182652014-02-10 Doug Evans <xdje42@gmail.com>
18266
18267 * configure.ac (AC_OUTPUT): Add gdb.guile.
18268 * configure: Regenerate.
18269 * lib/gdb-guile.exp: New file.
18270 * lib/gdb.exp (get_target_charset): New function.
18271 * gdb.base/help.exp: Update expected output from "apropos apropos".
18272 * gdb.guile/Makefile.in: New file.
18273 * gdb.guile/guile.exp: New file.
18274 * gdb.guile/scm-arch.c: New file.
18275 * gdb.guile/scm-arch.exp: New file.
18276 * gdb.guile/scm-block.c: New file.
18277 * gdb.guile/scm-block.exp: New file.
18278 * gdb.guile/scm-breakpoint.c: New file.
18279 * gdb.guile/scm-breakpoint.exp: New file.
18280 * gdb.guile/scm-disasm.c: New file.
18281 * gdb.guile/scm-disasm.exp: New file.
18282 * gdb.guile/scm-equal.c: New file.
18283 * gdb.guile/scm-equal.exp: New file.
18284 * gdb.guile/scm-error.exp: New file.
18285 * gdb.guile/scm-error.scm: New file.
18286 * gdb.guile/scm-frame-args.c: New file.
18287 * gdb.guile/scm-frame-args.exp: New file.
18288 * gdb.guile/scm-frame-args.scm: New file.
18289 * gdb.guile/scm-frame-inline.c: New file.
18290 * gdb.guile/scm-frame-inline.exp: New file.
18291 * gdb.guile/scm-frame.c: New file.
18292 * gdb.guile/scm-frame.exp: New file.
18293 * gdb.guile/scm-generics.exp: New file.
18294 * gdb.guile/scm-gsmob.exp: New file.
18295 * gdb.guile/scm-iterator.c: New file.
18296 * gdb.guile/scm-iterator.exp: New file.
18297 * gdb.guile/scm-math.c: New file.
18298 * gdb.guile/scm-math.exp: New file.
18299 * gdb.guile/scm-objfile-script-gdb.in: New file.
18300 * gdb.guile/scm-objfile-script.c: New file.
18301 * gdb.guile/scm-objfile-script.exp: New file.
18302 * gdb.guile/scm-objfile.c: New file.
18303 * gdb.guile/scm-objfile.exp: New file.
18304 * gdb.guile/scm-ports.exp: New file.
18305 * gdb.guile/scm-pretty-print.c: New file.
18306 * gdb.guile/scm-pretty-print.exp: New file.
18307 * gdb.guile/scm-pretty-print.scm: New file.
18308 * gdb.guile/scm-section-script.c: New file.
18309 * gdb.guile/scm-section-script.exp: New file.
18310 * gdb.guile/scm-section-script.scm: New file.
18311 * gdb.guile/scm-symbol.c: New file.
18312 * gdb.guile/scm-symbol.exp: New file.
18313 * gdb.guile/scm-symtab-2.c: New file.
18314 * gdb.guile/scm-symtab.c: New file.
18315 * gdb.guile/scm-symtab.exp: New file.
18316 * gdb.guile/scm-type.c: New file.
18317 * gdb.guile/scm-type.exp: New file.
18318 * gdb.guile/scm-value-cc.cc: New file.
18319 * gdb.guile/scm-value-cc.exp: New file.
18320 * gdb.guile/scm-value.c: New file.
18321 * gdb.guile/scm-value.exp: New file.
18322 * gdb.guile/source2.scm: New file.
18323 * gdb.guile/types-module.cc: New file.
18324 * gdb.guile/types-module.exp: New file.
18325
183262014-02-10 Yao Qi <yao@codesourcery.com>
18327
18328 PR testsuite/16543
18329 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
18330 * configure: Regenerated.
18331 * Makefile.in: New file.
18332
183332014-02-08 Andreas Schwab <schwab@linux-m68k.org>
18334
18335 * gdb.python/py-framefilter.exp: Fix typo.
18336
183372014-02-08 Yao Qi <yao@codesourcery.com>
18338
18339 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
18340 that no =breakpoint-modified is emitted when breakpoints are
18341 modified through MI commands.
18342
183432014-02-07 Pedro Alves <pedro@codesourcery.com>
18344 Pedro Alves <palves@redhat.com>
18345
18346 * gdb.threads/step-after-sr-lock.c: New file.
18347 * gdb.threads/step-after-sr-lock.exp: New file.
18348
183492014-02-07 Pedro Alves <palves@redhat.com>
18350
18351 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
18352
183532014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
18354
18355 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
18356 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
18357
183582014-02-06 Doug Evans <xdje42@gmail.com>
18359
18360 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
18361 output.
18362
18363 * gdb.gdb/python-interrupts.exp: New file.
18364
183652014-02-05 Yao Qi <yao@codesourcery.com>
18366
18367 * gdb.trace/report.exp (use_collected_data): Test the output
18368 of "info threads" and "info inferiors".
18369
183702014-02-05 Yao Qi <yao@codesourcery.com>
18371
18372 Revert this patch:
18373
18374 2013-05-24 Yao Qi <yao@codesourcery.com>
18375
18376 * gdb.trace/tfile.exp: Test inferior and thread.
18377
183782014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18379
18380 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
18381 on a function.
18382 * gdb.base/step-bt.c: Call hello via function pointer to make
18383 sure its first instruction is executed on powerpc64le-linux.
18384
183852014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18386
18387 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
18388
183892014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18390
18391 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
18392 of the test patterns for use on little-endian systems.
18393
183942014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18395
18396 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
18397 (decimal_vector): Fix for little-endian.
18398
183992014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
18400
18401 * gdb.arch/sparc-sysstep.exp: New file.
18402 * gdb.arch/sparc-sysstep.c: Likewise.
18403
18404 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
18405
184062014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18407
18408 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
18409
184102014-01-23 Tom Tromey <tromey@redhat.com>
18411
18412 * gdb.ada/array_char_idx: New testcase.
18413
184142014-01-23 Tom Tromey <tromey@redhat.com>
18415
18416 PR python/16487:
18417 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
18418 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
18419 classes.
18420
184212014-01-23 Tom Tromey <tromey@redhat.com>
18422
18423 PR python/16491:
18424 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
18425 string from an inferior frame.
18426 * gdb.python/py-framefilter-mi.exp: Update.
18427
184282014-01-22 Doug Evans <dje@google.com>
18429
18430 * gdb.server/server-mon.exp: Add tests for "set debug-format".
18431
184322014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18433
18434 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
18435
184362014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18437
18438 * gdb.trace/entry-values.exp: Remove excess space character from
18439 regex patterns. Handle s390 call instruction.
18440
184412014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18442
18443 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
18444 define "*_start" label. Make "name" static.
18445 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
18446 ${name} by references to ${name}_start.
18447
184482014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18449
18450 * gdb.base/info-macros.exp: Remove "debug" from the compile
18451 options.
18452
184532014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18454
18455 * gdb.dlang/demangle.exp: New file.
18456
184572014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18458
18459 * gdb.dlang/primitive-types.exp: New file.
18460
184612014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18462
18463 * configure.ac: Create gdb.dlang/Makefile.
18464 * configure: Regenerate.
18465 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
18466 * gdb.dlang/Makefile.in: New file.
18467 * lib/d-support.exp: New file.
18468 * lib/gdb.exp (skip_d_tests): New proc.
18469
184702014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18471
18472 * gdb.btrace/delta.exp: Check reverse stepi.
18473 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
18474 * gdb.btrace/finish.exp: New.
18475 * gdb.btrace/next.exp: New.
18476 * gdb.btrace/nexti.exp: New.
18477 * gdb.btrace/record_goto.c: Add comments.
18478 * gdb.btrace/step.exp: New.
18479 * gdb.btrace/stepi.exp: New.
18480 * gdb.btrace/multi-thread-step.c: New.
18481 * gdb.btrace/multi-thread-step.exp: New.
18482 * gdb.btrace/rn-dl-bind.c: New.
18483 * gdb.btrace/rn-dl-bind.exp: New.
18484 * gdb.btrace/data.c: New.
18485 * gdb.btrace/data.exp: New.
18486 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
18487
184882014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18489
18490 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
18491 * gdb.btrace/exception.exp: Update.
18492 * gdb.btrace/instruction_history.exp: Update.
18493 * gdb.btrace/record_goto.exp: Update.
18494 * gdb.btrace/tailcall.exp: Update.
18495 * gdb.btrace/unknown_functions.exp: Update.
18496 * gdb.btrace/delta.exp: New.
18497
184982014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18499
18500 * gdb.btrace/record_goto.exp: Add backtrace test.
18501 * gdb.btrace/tailcall.exp: Add backtrace test.
18502
185032014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18504
18505 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
18506 * gdb.btrace/record_goto.c: New.
18507 * gdb.btrace/record_goto.exp: New.
18508 * gdb.btrace/x86-record_goto.S: New.
18509
185102014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18511
18512 * gdb.btrace/function_call_history.exp: Update tests.
18513 * gdb.btrace/instruction_history.exp: Update tests.
18514
185152014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18516
18517 * gdb.btrace/function_call_history.exp: Fix expected field
18518 order for "record function-call-history".
18519 Add new tests for "record function-call-history /c".
18520 * gdb.btrace/exception.cc: New.
18521 * gdb.btrace/exception.exp: New.
18522 * gdb.btrace/tailcall.exp: New.
18523 * gdb.btrace/x86-tailcall.S: New.
18524 * gdb.btrace/x86-tailcall.c: New.
18525 * gdb.btrace/unknown_functions.c: New.
18526 * gdb.btrace/unknown_functions.exp: New.
18527 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
18528
185292014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18530
18531 * gdb.btrace/instruction_history.exp: Update.
18532 * gdb.btrace/function_call_history.exp: Update.
18533
185342014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18535
18536 * gdb.btrace/function_call_history.exp: Fix expected function
18537 trace.
18538 * gdb.btrace/instruction_history.exp: Initialize traced.
18539 Remove traced_functions.
18540
185412014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18542
18543 * gdb.btrace/function_call_history.exp: Update
18544 * gdb.btrace/instruction_history.exp: Update.
18545
185462014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18547
18548 * gdb.btrace/enable.exp: Update expected text.
18549
185502014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
18551
18552 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
18553 bytes.
18554
185552014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
18556
18557 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
18558
185592014-01-15 Omair Javaid <omair.javaid@linaro.org>
18560
18561 * lib/gdb.exp (supports_process_record): Return true for
18562 arm*-linux*. (supports_reverse): Likewise.
18563
185642014-01-13 Siva Chandra Reddy <sivachandra@google.com>
18565
18566 PR python/15464
18567 PR python/16113
18568 * gdb.python/py-type.c: Enhance test case.
18569 * gdb.python/py-value-cc.cc: Likewise
18570 * gdb.python/py-type.exp: Add new tests.
18571 * gdb.python/py-value-cc.exp: Likewise
18572
185732014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
18574 Pedro Alves <palves@redhat.com>
18575
18576 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
18577 Make "name" extern.
18578 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
18579 references to ${name}_start by references to ${name}.
18580
185812014-01-10 Joel Brobecker <brobecker@adacore.com>
18582
18583 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
18584
185852014-01-10 Joel Brobecker <brobecker@adacore.com>
18586
18587 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
18588
185892014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
18590 Pedro Alves <palves@redhat.com>
18591
18592 * gdb.mi/mi-info-os.exp: Connect to the target with
18593 mi_gdb_target_load.
18594
185952014-01-08 Pedro Alves <palves@redhat.com>
18596
18597 * gdb.threads/reconnect-signal.c: New file.
18598 * gdb.threads/reconnect-signal.exp: New file.
18599
186002014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
18601
18602 * gdb.base/source-dir.exp: New file.
18603
186042014-01-07 Joel Brobecker <brobecker@adacore.com>
18605
18606 * gdb.ada/mi_interface: New testcase.
18607
186082014-01-07 Joel Brobecker <brobecker@adacore.com>
18609
18610 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
18611 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
18612 gdb.ada/pp-rec-component/pck.ads: New files.
18613
186142014-01-07 Joel Brobecker <brobecker@adacore.com>
18615
18616 * gdb.python/py-pp-integral.c: New file.
18617 * gdb.python/py-pp-integral.py: New file.
18618 * gdb.python/py-pp-integral.exp: New file.
18619
18620For older changes see ChangeLog-1993-2013.
18621\f
18622;; Local Variables:
18623;; mode: change-log
18624;; left-margin: 8
18625;; fill-column: 74
18626;; version-control: never
18627;; End:
18628
18629 Copyright 2014-2020 Free Software Foundation, Inc.
18630 Copying and distribution of this file, with or without modification,
18631 are permitted provided the copyright notice and this notice are preserved.
This page took 0.143643 seconds and 4 git commands to generate.