[gdb/testsuite] Use string_to_regexp on core filename in gdb_core_cmd
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2020-03-12 Tom de Vries <tdevries@suse.de>
2
3 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
4 $core.
5
6 2020-03-12 Tom de Vries <tdevries@suse.de>
7
8 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
9 more precise.
10
11 2020-03-11 Simon Marchi <simon.marchi@efficios.com>
12
13 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
14 from Unix to Windows path.
15
16 2020-03-11 Tom de Vries <tdevries@suse.de>
17
18 * gdb.ada/minsyms.exp: Set language to ada.
19
20 2020-03-11 Tom de Vries <tdevries@suse.de>
21
22 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
23
24 2020-03-11 Tom de Vries <tdevries@suse.de>
25
26 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
27
28 2020-03-11 Tom Tromey <tromey@adacore.com>
29
30 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
31
32 2020-03-11 Tom de Vries <tdevries@suse.de>
33
34 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
35
36 2020-03-11 Tom de Vries <tdevries@suse.de>
37
38 * gdb.base/break-interp.exp: Limit verbose scope.
39
40 2020-03-11 Tom de Vries <tdevries@suse.de>
41
42 * gdb.fortran/logical.f90: Define variable with character type.
43 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
44
45 2020-03-11 Tom de Vries <tdevries@suse.de>
46
47 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
48
49 2020-03-11 Tom de Vries <tdevries@suse.de>
50
51 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
52 symtabs.
53
54 2020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
55 Bernd Edlinger <bernd.edlinger@hotmail.de>
56
57 * gdb.cp/step-and-next-inline.cc: New file.
58 * gdb.cp/step-and-next-inline.exp: New file.
59 * gdb.cp/step-and-next-inline.h: New file.
60 * gdb.dwarf2/dw2-is-stmt.c: New file.
61 * gdb.dwarf2/dw2-is-stmt.exp: New file.
62 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
63 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
64 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
65
66 2020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
67
68 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
69 is-stmt flag in the line table.
70
71 2020-03-09 Tom de Vries <tdevries@suse.de>
72
73 * lib/gdb.exp (cached_file): Create cache dir.
74
75 2020-03-07 Tom de Vries <tdevries@suse.de>
76
77 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
78 * gdb.cp/rvalue-ref-params.exp: Same.
79
80 2020-03-06 Tom de Vries <tdevries@suse.de>
81
82 * lib/gdb.exp (tentative_rename, cached_file): New proc.
83 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
84
85 2020-03-06 Tom de Vries <tdevries@suse.de>
86
87 * README: Fix "the the".
88 * gdb.base/dprintf.exp: Same.
89
90 2020-03-05 Tom de Vries <tdevries@suse.de>
91
92 * gdb.base/maint.exp: Update "main print statistics" expected output.
93
94 2020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
95
96 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
97 (fortran_int8): Likewise.
98 (fortran_real4): Likewise.
99 (fortran_real8): Likewise.
100 (fortran_complex4): Likewise.
101 (fortran_logical4): Likewise.
102 (fortran_character1): Likewise.
103
104 2020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
105
106 * gdb.fortran/logical.exp: Add tests that any non-zero value is
107 printed as true.
108
109 2020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
110
111 * gdb.base/printcmds.exp: Add test to verify printf of a
112 variable holding an address.
113
114 2020-03-03 Tom de Vries <tdevries@suse.de>
115
116 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
117
118 2020-03-03 Tom de Vries <tdevries@suse.de>
119
120 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
121 gdb_test_multiple call.
122
123 2020-03-03 Tom de Vries <tdevries@suse.de>
124
125 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
126 gdb_test_multiple calls.
127
128 2020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
129
130 * gdb.base/default.exp: Remove test of 'set history filename'.
131 * gdb.base/gdbinit-history.exp: Add tests for setting the history
132 filename to the empty string.
133 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
134 and GDBHISTSIZE.
135
136 2020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
137
138 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
139 disabled.
140
141 2020-03-02 Pedro Alves <palves@redhat.com>
142 Tom de Vries <tdevries@suse.de>
143
144 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
145 -prompt prefix, before user_code argument. Add -lbl option likewise.
146 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
147 (gdb_is_target_1): Add -prompt prefix and move to before user_code
148 argument.
149 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
150 have "\r\n" at start-of-line, instead of at end-of-line.
151
152 2020-02-28 Simon Marchi <simon.marchi@efficios.com>
153
154 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
155 libinproctrace.so.
156
157 2020-02-28 Luis Machado <luis.machado@linaro.org>
158
159 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
160 to "p/x".
161
162 2020-02-28 Luis Machado <luis.machado@linaro.org>
163
164 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
165 asm/ptrace.h and error.h.
166
167 2020-02-28 Tom de Vries <tdevries@suse.de>
168
169 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
170 (struct wrapper, do_something, mundane/symada__cS): Move ...
171 * gdb.base/c-linkage-name-2.c: ... here. New source file.
172 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
173 Update "print symada__cS before partial symtab expansion" regexp.
174 Update breakpoint location. Flush symbol cache after expansion.
175
176 2020-02-28 Luis Machado <luis.machado@linaro.org>
177
178 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
179
180 2020-02-27 Tom de Vries <tdevries@suse.de>
181
182 * config/sid.exp: Remove unused globals.
183 * gdb.base/attach.exp: Same.
184 * gdb.base/catch-load.exp: Same.
185 * gdb.base/dbx.exp: Same.
186 * lib/gdb.exp: Same.
187 * lib/mi-support.exp: Same.
188 * lib/prompt.exp: Same.
189
190 2020-02-27 Tom de Vries <tdevries@suse.de>
191
192 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
193 not set.
194
195 2020-02-26 Aaron Merey <amerey@redhat.com>
196
197 * gdb.debuginfod: New directory for debuginfod tests.
198 * gdb.debuginfod/main.c: New test file.
199 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
200
201 2020-02-26 Tom de Vries <tdevries@suse.de>
202
203 PR gdb/25603
204 * gdb.base/persistent-lang.cc: New test.
205 * gdb.base/persistent-lang.exp: New file.
206
207 2020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
208
209 * gdb.fortran/derived-type-striding.exp: Add a new test.
210 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
211 new test.
212
213 2020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
214
215 * gdb.base/cached-source-file.exp: Avoid source file paths in test
216 names.
217
218 2020-02-25 Tom de Vries <tdevries@suse.de>
219
220 PR go/18926
221 * gdb.go/methods.exp: Remove gcc/93866 xfail.
222
223 2020-02-24 Tom de Vries <tdevries@suse.de>
224
225 PR gdb/25592
226 * gdb.base/info-locals-unused-static-var.c: New test.
227 * gdb.base/info-locals-unused-static-var.exp: New file.
228
229 2020-02-22 Tom Tromey <tom@tromey.com>
230
231 * gdb.python/tui-window.exp: New file.
232 * gdb.python/tui-window.py: New file.
233
234 2020-02-22 Tom Tromey <tom@tromey.com>
235
236 PR tui/17850:
237 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
238 tests.
239
240 2020-02-22 Tom Tromey <tom@tromey.com>
241
242 * gdb.tui/new-layout.exp: Add sub-layout tests.
243
244 2020-02-22 Tom Tromey <tom@tromey.com>
245
246 * gdb.tui/new-layout.exp: New file.
247
248 2020-02-22 Tom Tromey <tom@tromey.com>
249
250 * gdb.rust/rust-style.rs: New file.
251 * gdb.rust/rust-style.exp: New file.
252 * gdb.base/style.exp: Test structure printing.
253 * gdb.base/style.c (struct some_struct): New type.
254 (enum etype): New type.
255 (struct_value): New global.
256
257 2020-02-21 Tom de Vries <tdevries@suse.de>
258
259 PR go/18926
260 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
261 Remove blanket xfails. Use message argument for gdb_breakpoint.
262 Make continuing to breakpoint test conditional on setting breakpoint.
263 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
264 DW_AT_name attribute. Add xfail for GCC PR93866.
265
266 2020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
267
268 * gdb.dwarf2/cpp-linkage-name.c: New file.
269 * gdb.dwarf2/cpp-linkage-name.exp: New file.
270
271 2020-02-21 Shahab Vahedi <shahab@synopsys.com>
272
273 * lib/gdb.exp (gdb_wrapper_init): Reset
274 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
275 not exist.
276
277 2020-02-20 Tom de Vries <tdevries@suse.de>
278
279 PR go/17018
280 * gdb.go/hello.exp: Copy ...
281 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
282 print of st to print value of global definition. Add xfail for GCC
283 PR93844.
284 * gdb.go/hello.exp: Remove printing of st before definition.
285 * gdb.go/hello.go: Copy ...
286 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
287 to st.
288 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
289
290 2020-02-20 Tom de Vries <tdevries@suse.de>
291
292 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
293 (gdb_simple_compile): Handle compile_flags go by using .go extension
294 for source file.
295 * gdb.go/chan.exp: Use support_go_compile.
296 * gdb.go/handcall.exp: Same.
297 * gdb.go/hello.exp: Same.
298 * gdb.go/integers.exp: Same.
299 * gdb.go/max-depth.exp: Same.
300 * gdb.go/methods.exp: Same.
301 * gdb.go/package.exp: Same.
302 * gdb.go/strings.exp: Same.
303 * gdb.go/types.exp: Same.
304 * gdb.go/unsafe.exp: Same.
305
306 2020-02-19 Tom de Vries <tdevries@suse.de>
307
308 * gdb.python/lib-types.exp: Make xfail more strict.
309
310 2020-02-19 Tom de Vries <tdevries@suse.de>
311
312 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
313
314 2020-02-19 Doug Evans <dje@google.com>
315
316 PR rust/25535
317 * gdb.rust/simple.exp: Add test.
318 * gdb.rust/simple.rs: Add test.
319
320 2020-02-19 Tom de Vries <tdevries@suse.de>
321
322 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
323 output line-by-line.
324
325 2020-02-19 Tom de Vries <tdevries@suse.de>
326
327 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
328
329 2020-02-19 Tom de Vries <tdevries@suse.de>
330
331 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
332 prelink.
333
334 2020-02-19 Tom de Vries <tdevries@suse.de>
335
336 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
337 (gdb_do_cache): Use gdb_do_cache_wrap.
338 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
339
340 2020-02-19 Tom de Vries <tdevries@suse.de>
341
342 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
343 gdb_compile option.
344
345 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
346
347 * gdb.base/printcmds.exp (test_print_enums): Update expected
348 output.
349
350 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
351
352 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
353 for "unknown".
354
355 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
356
357 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
358 enumerator.
359
360 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
361
362 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
363 FE_, add FE_NONE.
364 (three): Update.
365 (enum flag_enum_without_zero): New enum.
366 (flag_enum_without_zero): New variable.
367 (enum not_flag_enum): New enum.
368 (three_not_flag): New variable.
369 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
370 (test_print_enums): Add more tests for printing flag enums.
371
372 2020-02-18 Tom de Vries <tdevries@suse.de>
373
374 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
375 (gdb_compile_ada): ... here.
376 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
377 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
378
379 2020-02-14 Tom Tromey <tom@tromey.com>
380
381 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
382 build directory.
383 * boards/gdbserver-base.exp: Update path to gdbserver.
384
385 2020-02-13 Tom de Vries <tdevries@suse.de>
386
387 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
388
389 2020-02-13 Tom de Vries <tdevries@suse.de>
390
391 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
392 are missing.
393
394 2020-02-13 Tom de Vries <tdevries@suse.de>
395
396 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
397 call.
398
399 2020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
400
401 PR tui/25126
402 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
403 * gdb.base/cached-source-file.c: New file.
404 * gdb.base/cached-source-file.exp: New file.
405
406 2020-02-11 Tom de Vries <tdevries@suse.de>
407
408 PR testsuite/25488
409 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
410
411 2020-02-10 Tom de Vries <tdevries@suse.de>
412
413 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
414
415 2020-02-10 Maciej W. Rozycki <macro@wdc.com>
416
417 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
418 and $after_addr are both integers before making a comparison.
419
420 2020-02-09 Tom de Vries <tdevries@suse.de>
421
422 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
423 command output and paste it into gdb.log. If any, paste catch message
424 to gdb.log.
425
426 2020-02-07 Tom Tromey <tromey@adacore.com>
427
428 PR breakpoints/24915:
429 * gdb.base/annotate-symlink.exp: Use setup_xfail.
430
431 2020-02-06 Shahab Vahedi <shahab@synopsys.com>
432
433 * gdb.tui/tui-missing-src.exp: Add the "missing source
434 file" test for the TUI.
435
436 2020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
437
438 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
439 including a port number in the output.
440
441 2020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
442
443 * lib/fortran.exp (fortran_int4): Handle clang.
444 (fortran_int8): Likewise.
445 (fortran_real4): Likewise.
446 (fortran_real8): Likewise.
447 (fortran_complex4): Likewise.
448 (fortran_logical4): Likewise.
449 (fortran_character1): Likewise.
450
451 2020-02-04 Tom de Vries <tdevries@suse.de>
452
453 * README (Race detection): Add note.
454
455 2020-02-04 Tom de Vries <tdevries@suse.de>
456
457 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
458
459 2020-02-04 Tom de Vries <tdevries@suse.de>
460
461 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
462
463 2020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
464
465 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
466 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
467 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
468 blttar, bnetarl.
469 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
470 binary for blttar, bnetarl.
471 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
472 wait instruction. Delete ldmx test.
473 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
474
475 2020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
476
477 * gdb.fortran/array-bounds-high.exp: New file.
478 * gdb.fortran/array-bounds-high.f90: New file.
479
480 2020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
481
482 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
483 Replace #include of <sys/fcntl.h> by <fcntl.h>.
484
485 2020-02-01 Tom de Vries <tdevries@suse.de>
486
487 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
488
489 2020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
490
491 PR tui/9765
492 * gdb.tui/tui-layout-asm-short-prog.S: New file.
493 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
494
495 2020-01-29 Luis Machado <luis.machado@linaro.org>
496
497 * gdb.arch/aarch64-brk-patterns.c: New source file.
498 * gdb.arch/aarch64-brk-patterns.exp: New test.
499
500 2020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
501
502 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
503 GCC/Clang version.
504 * gdb.cp/pass-by-ref.exp: Ditto.
505
506 2020-01-29 Tom de Vries <tdevries@suse.de>
507
508 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
509 * gdb.threads/watchpoint-fork-mt.c: Same.
510 * gdb.threads/watchpoint-fork-parent.c: Same.
511 * gdb.threads/watchpoint-fork-st.c: Same.
512 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
513
514 2020-01-27 Luis Machado <luis.machado@linaro.org>
515
516 * gdb.base/step-over-syscall.exp (setup): Check if we're already
517 sitting at a syscall instruction when we hit the syscall function's
518 breakpoint.
519 Check PC against one obtained with the x command.
520 Validate syscall number.
521 (step_over_syscall): Don't continue to the syscall instruction if
522 we're already there.
523
524 2020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
525
526 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
527
528 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
529
530 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
531 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
532
533 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
534
535 * gdb.dwarf2/dw2-inline-stepping.c: New file.
536 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
537
538 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
539
540 * gdb.base/maint.exp: Update line table parsing test.
541 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
542
543 2020-01-24 Pedro Alves <palves@redhat.com>
544
545 PR gdb/25410
546 * gdb.multi/multi-re-run-1.c: New.
547 * gdb.multi/multi-re-run-2.c: New.
548 * gdb.multi/multi-re-run.exp: New.
549
550 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
551
552 PR gdb/23718
553 * gdb.server/server-kill-python.exp: New file.
554
555 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
556
557 * gdb.server/multi-ui-errors.c: New file.
558 * gdb.server/multi-ui-errors.exp: New file.
559
560 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
561
562 PR tui/9765
563 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
564
565 2020-01-19 Tom Tromey <tom@tromey.com>
566
567 * gdb.tui/main.exp: Add check for plain "file".
568
569 2020-01-16 Christian Biesinger <cbiesinger@google.com>
570
571 * lib/gdb.exp: Fix spelling error (seperatelly).
572
573 2020-01-14 Tom Tromey <tom@tromey.com>
574
575 PR symtab/12535:
576 * gdb.python/python.exp: Test decode_line with empty string
577 argument.
578
579 2020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
580
581 * gdb.base/skip-inline.exp: Extend test.
582
583 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
584
585 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
586 * gdb.dwarf2/dw2-bad-elf.c: New file.
587 * gdb.dwarf2/dw2-bad-elf.exp: New file.
588
589 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
590
591 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
592 _line_saw_file.
593
594 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
595
596 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
597 border.
598
599 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
600
601 * gdb.multi/multi-target.exp (setup): Factor out "info
602 connections" and "info inferiors" tests to ...
603 (test_info_inferiors): ... this new procedure.
604 (top level): Run new "info-inferiors" tests.
605
606 2020-01-10 Pedro Alves <palves@redhat.com>
607
608 * gdb.server/bkpt-other-inferior.exp: New file.
609
610 2020-01-10 Pedro Alves <palves@redhat.com>
611
612 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
613 of "add-inferior".
614 * gdb.base/quit-live.exp: Likewise.
615 * gdb.base/remote-exec-file.exp: Likewise.
616 * gdb.guile/scm-progspace.exp: Likewise.
617 * gdb.linespec/linespec.exp: Likewise.
618 * gdb.mi/new-ui-mi-sync.exp: Likewise.
619 * gdb.mi/user-selected-context-sync.exp: Likewise.
620 * gdb.multi/multi-target.exp (setup): Add "info connection" and
621 "info inferiors" tests.
622 * gdb.multi/remove-inferiors.exp: Adjust expected output of
623 "add-inferior".
624 * gdb.multi/watchpoint-multi.exp: Likewise.
625 * gdb.python/py-inferior.exp: Likewise.
626 * gdb.server/extended-remote-restart.exp: Likewise.
627 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
628 "info inferiors".
629 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
630 * gdb.trace/report.exp: Likewise.
631
632 2020-01-10 Pedro Alves <palves@redhat.com>
633
634 * gdb.multi/multi-target.c: New file.
635 * gdb.multi/multi-target.exp: New file.
636 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
637 mode requested, but remote does not support non-stop".
638
639 2020-01-10 Pedro Alves <palves@redhat.com>
640
641 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
642 disconnect before reconnecting.
643
644 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
645 Pedro Alves <palves@redhat.com>
646
647 * gdb.server/connect-without-multi-process.exp: Also test
648 continuing to end.
649
650 2020-01-10 Pedro Alves <palves@redhat.com>
651
652 * gdb.base/remote-exec-file.exp: New file.
653
654 2020-01-10 Pedro Alves <palves@redhat.com>
655
656 * gdb.base/fork-running-state.exp (do_test): Adjust expected
657 output.
658 * gdb.threads/async.c: New.
659 * gdb.threads/async.exp: New.
660 * gdb.multi/tids-gid-reset.c: New.
661 * gdb.multi/tids-gid-reset.exp: New.
662
663 2020-01-10 George Barrett <bob@bob131.so>
664
665 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
666 to help in finding the image relocation offset.
667 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
668 options in arguments.
669 (stap_test_no_debuginfo): Likewise.
670 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
671 test variants.
672 (stap_test): Add null semaphore relocation test.
673
674 2020-01-10 George Barrett <bob@bob131.so>
675
676 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
677 * gdb.base/stap-probe.exp: Likewise.
678 (stap_test): Pass argument as an additional flag.
679 (stap_test_no_debuginfo): Likewise.
680 (stap_test): Check `info probes stap' output for semaphore
681 addresses if the test binary is supposed to have them.
682
683 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
684
685 * gdb.tui/basic.exp: Add more scrolling tests.
686
687 2020-01-09 Tom Tromey <tom@tromey.com>
688
689 PR tui/18932:
690 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
691 meangingful value.
692 (Term::command, Term::resize): Update.
693 * gdb.tui/basic.exp: Add scrolling test.
694
695 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
696
697 * gdb.tui/tui-layout-asm.exp: New file.
698
699 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
700
701 * lib/tuiterm.exp (Term::check_box_contents): New proc.
702
703 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
704
705 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
706 (Term::enter_tui): Use Term::prepare_for_tui.
707
708 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
709
710 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
711 called.
712
713 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
714
715 * gdb.base/skip.exp: Fix race condition in test.
716
717 2020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
718
719 * gdb.base/backtrace.c: New file.
720 * gdb.base/backtrace.exp: New file.
721
722 2020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
723
724 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
725
726 2020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
727
728 * gdb.base/style.exp: Test that warnings are styled.
729
730 2019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
731
732 * gdb.base/line65535.exp: New file.
733 * gdb.base/line65535.c: New file.
734
735 2019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
736
737 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
738 * lib/gnat_debug_info_test.adb: New file.
739 * gdb.ada/ptype_tagged_param.exp: Use
740 gnat_runtime_has_debug_info, expect a different output if
741 runtime does not have debug info.
742
743 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
744
745 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
746 (another) quote in test name.
747
748 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
749
750 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
751 Add quote in test name.
752
753 2019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
754
755 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
756 directory instead.
757 * gdb.cp/pass-by-ref.exp: Extend with more cases.
758 * gdb.cp/pass-by-ref-2.cc: New file.
759 * gdb.cp/pass-by-ref-2.exp: New file.
760
761 2019-12-20 Tom Tromey <tom@tromey.com>
762
763 * gdb.tui/list-before.exp: New file.
764
765 2019-12-20 Tom Tromey <tom@tromey.com>
766
767 * gdb.tui/list.exp: Check for source on initial listing.
768
769 2019-12-11 Tom Tromey <tromey@adacore.com>
770
771 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
772 Add crlf test.
773
774 2019-12-18 Simon Marchi <simon.marchi@efficios.com>
775
776 * gdb.base/default.exp: Update value of $_gdb_major.
777
778 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
779
780 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
781
782 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
783
784 * gdb.base/skip.exp: Whitespace fix.
785
786 2019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
787
788 * gdb.base/skip-inline.c: New file.
789 * gdb.base/skip-inline.exp: New file.
790
791 2019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
792
793 * gdb.base/jit-reader.exp (jit_reader_test): Rename
794 jit_function_00 to jit_function_stack_mangle.
795 * gdb.base/jithost.c (jit_function_t): Rename to...
796 (jit_function_stack_mangle_t): ... this.
797 (jit_function_add_t): New typedef.
798 (jit_function_00_code): Rename to...
799 (jit_function_stack_mangle_code): ... this, make static.
800 (jit_function_add_code): New.
801 (main): Generate "add" function and call it. Adjust to changes
802 in jithost_abi.
803 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
804 (struct jithost_abi) <begin, end>: Remove fields.
805 <object, function_stack_mangle, function_add>: New fields.
806 * gdb.base/jitreader.c (struct reader_state) <code_begin,
807 code_end>: Remove fields.
808 <func_stack_mangle>: New field.
809 (read_debug_info): Adjust to renaming, create block for "add"
810 function.
811 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
812
813 2019-12-11 Tom Tromey <tom@tromey.com>
814
815 * gdb.tui/resize.exp: Fix regexp.
816 * gdb.tui/regs.exp: Fix regexps.
817 * gdb.tui/main.exp: Fix regexp.
818
819 2019-12-11 Tom Tromey <tom@tromey.com>
820
821 * gdb.tui/resize.exp: Update.
822 * gdb.tui/empty.exp (layouts): Update.
823
824 2019-12-11 Tom Tromey <tom@tromey.com>
825
826 * gdb.tui/regs.exp: Update.
827 * gdb.tui/empty.exp (layouts): Update.
828 * gdb.tui/basic.exp: Update.
829 * lib/tuiterm.exp (_check_box): Don't check bottom border.
830
831 2019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
832
833 * gdb.base/options.exp: Add -raw-values in the print completion list.
834 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
835
836 2019-12-10 Kevin Buettner <kevinb@redhat.com>
837
838 * gdb.threads/omp-par-scope.c: New file.
839 * gdb/threads/omp-par-scope.exp: New file.
840
841 2019-12-10 Kevin Buettner <kevinb@redhat.com>
842
843 * lib/gdb.exp (support_nested_function_tests): New proc.
844
845 2019-12-10 Kevin Buettner <kevinb@redhat.com>
846
847 * lib/gdb.exp (gdb_compile_openmp): New proc.
848 (build_executable_from_specs): Add an "openmp" option.
849 (gdb_compile_pthreads): Add non-executable case.
850
851 2019-12-10 Tom Tromey <tromey@adacore.com>
852
853 * gdb.ada/unchecked_union.exp: New file.
854 * gdb.ada/unchecked_union/pck.adb: New file.
855 * gdb.ada/unchecked_union/pck.ads: New file.
856 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
857 * gdb-utils.exp (string_to_regexp): Also quote "?".
858
859 2019-12-10 George Barrett <bob@bob131.so>
860
861 Test scripted probe breakpoints.
862 * gdb.guile/scm-breakpoint.c (main): Add probe point.
863 * gdb.python/py-breakpoint.c (main): Likewise.
864 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
865 specifier test.
866 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
867
868 2019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
869
870 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
871 an rvalue parameter.
872 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
873 parameter.
874
875 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
876
877 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
878 modules.
879
880 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
881
882 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
883 broken version of GCC.
884
885 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
886
887 * gdb.fortran/info-modules.exp: Rewrite to make use of new
888 sym-info-cmds library.
889 * gdb.fortran/info-types.exp: Likewise.
890 * lib/sym-info-cmds.exp: New file.
891
892 2019-12-08 Tom de Vries <tdevries@suse.de>
893
894 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
895
896 2019-12-07 Keith Seitz <keiths@redhat.com>
897
898 * gdb.base/corefile-buildid-shlib-shr.c: New file.
899 * gdb.base/corefile-buildid-shlib.c: New file.
900 * gdb.base/corefile-buildid.c: New file.
901 * gdb.base/corefile-buildid.exp: New file.
902
903 2019-12-06 Tom de Vries <tdevries@suse.de>
904
905 * gdb.dwarf2/varval.exp: Add decl before def test.
906
907 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
908
909 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
910
911 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
912
913 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
914 CV and reference conversion for overload resolution.
915 * gdb.cp/rvalue-ref-overload.exp: Test it.
916
917 2019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
918
919 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
920 * gdb.base/frameapply.exp: Test faas without command.
921
922 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
923
924 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
925 Fortran tests.
926 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
927 order.
928
929 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
930
931 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
932 casting to type with no kind specified.
933 (test_basic_parsing_of_type_kinds): Additional tests for types
934 with no kind specified, and add tests for single/double
935 precision/complex types.
936
937 2019-12-04 Tom Tromey <tromey@adacore.com>
938
939 * gdb.base/endianity.c (struct other) <x>: New field.
940 (main): Initialize it.
941 * gdb.base/endianity.exp: Update.
942
943 2019-12-04 Tom Tromey <tromey@adacore.com>
944
945 * gdb.ada/scalar_storage/storage.adb: New file.
946 * gdb.ada/scalar_storage/pck.adb: New file.
947 * gdb.ada/scalar_storage/pck.ads: New file.
948 * gdb.ada/scalar_storage.exp: New file.
949
950 2019-12-04 Tom Tromey <tromey@adacore.com>
951
952 * gdb.base/endianity.c (struct otherendian) <f>: New field.
953 (main): Initialize it.
954 * gdb.base/endianity.exp: Update.
955
956 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
957
958 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
959
960 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
961
962 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
963 -symbol-info-module-functions and -symbol-info-module-variables.
964
965 2019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
966
967 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
968
969 2019-12-01 Richard Bunt <richard.bunt@arm.com>
970 Andrew Burgess <andrew.burgess@embecosm.com>
971
972 * gdb.fortran/derived-type-striding.exp: New file.
973 * gdb.fortran/derived-type-striding.f90: New file.
974 * gdb.fortran/array-slices.exp: New file.
975 * gdb.fortran/array-slices.f90: New file.
976
977 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
978
979 * gdb.base/define.exp: Test . in command names.
980 * gdb.base/setshow.exp: Update test, as . is now part of
981 command name.
982
983 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
984
985 * gdb.base/define-prefix.exp: New file.
986
987 2019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
988
989 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
990 compile.
991 (skip_btrace_pt_tests): Likewise.
992
993 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
994
995 * gdb.fortran/info-modules.exp: Compile source files in correct
996 order.
997
998 2019-11-27 Kevin Buettner <kevinb@redhat.com>
999
1000 * gdb.dwarf2/imported-unit.exp: New file.
1001 * gdb.dwarf2/imported-unit.c: New file.
1002
1003 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
1004
1005 * gdb.mi/mi-fortran-modules-2.f90: New file.
1006 * gdb.mi/mi-fortran-modules.exp: New file.
1007 * gdb.mi/mi-fortran-modules.f90: New file.
1008
1009 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
1010
1011 * gdb.mi/mi-sym-info-1.c: New file.
1012 * gdb.mi/mi-sym-info-2.c: New file.
1013 * gdb.mi/mi-sym-info.exp: New file.
1014
1015 2019-11-22 Tom Tromey <tromey@adacore.com>
1016
1017 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
1018 * gdb.ada/tasks/foo.adb: Add another stopping location.
1019
1020 2019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
1021
1022 * gdb.base/endianity.c: New test.
1023 * gdb.base/endianity.exp: New file.
1024
1025 2019-11-21 Lukas Durfina <ldurfina@tachyum.com>
1026
1027 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
1028
1029 2019-11-21 Tom de Vries <tdevries@suse.de>
1030
1031 PR gdb/24956
1032 * gdb.base/ui-redirect.exp: Test output of user-defined command.
1033
1034 2019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
1035
1036 * gdb.python/py-progspace.exp: Add missing parentheses on some
1037 'print' commands.
1038
1039 2019-11-19 Tom Tromey <tom@tromey.com>
1040
1041 * gdb.tui/winheight.exp: New file.
1042
1043 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1044
1045 * gdb.base/ctf-whatis.c: Delete.
1046 * gdb.base/ctf-whatis.exp: Delete.
1047 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
1048
1049 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1050
1051 * gdb.base/ctf-cvexpr.exp: Delete.
1052 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
1053
1054 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1055
1056 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
1057 the compiler. Clean up header comment a little.
1058 * gdb.base/ctf-ptype.exp: Likewise.
1059 * gdb.base/ctf-whatis.exp: Likewise.
1060 * lib/gdb.exp (skip_ctf_tests): New proc.
1061
1062 2019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
1063
1064 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
1065 * gdb.tui/corefile-run.exp: New file.
1066
1067 2019-11-14 Tom Tromey <tromey@adacore.com>
1068
1069 * gdb.base/gdbvars.exp (test_convenience_variables): Add
1070 regression tests.
1071
1072 2019-11-12 Tom Tromey <tom@tromey.com>
1073
1074 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
1075 after any command. Expect prompt after WAIT_FOR is seen.
1076 (enter_tui): Enable resize messages.
1077 (command): Expect command in output.
1078 (get_line): Avoid error when cursor appears to be off-screen.
1079 (dump_screen): Include screen size in title.
1080 (_do_resize): New proc, from "resize".
1081 (resize): Rewrite. Do resize in two steps.
1082 * gdb.tui/empty.exp (layouts): Fix entries.
1083 (check_boxes): Remove xfail.
1084 (check_text): Dump screen on failure.
1085
1086 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
1087
1088 * gdb.python/py-symbol.exp: Add test for
1089 gdb.lookup_static_symbols.
1090
1091 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
1092
1093 * gdb.python/py-symbol.c: Declare and call function from new
1094 py-symbol-2.c file.
1095 * gdb.python/py-symbol.exp: Compile both source files, and add new
1096 tests for gdb.lookup_static_symbol.
1097 * gdb.python/py-symbol-2.c: New file.
1098
1099 2019-11-02 Tom de Vries <tdevries@suse.de>
1100
1101 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
1102 * gdb.base/anon.exp: Same.
1103 * gdb.base/auto-connect-native-target.exp: Same.
1104 * gdb.base/call-ar-st.exp: Same.
1105 * gdb.base/catch-syscall.exp: Same.
1106 * gdb.base/commands.exp: Same.
1107 * gdb.base/default.exp: Same.
1108 * gdb.base/display.exp: Same.
1109 * gdb.base/float.exp: Same.
1110 * gdb.base/foll-fork.exp: Same.
1111 * gdb.base/help.exp: Same.
1112 * gdb.base/info-macros.exp: Same.
1113 * gdb.base/info-proc.exp: Same.
1114 * gdb.base/info-target.exp: Same.
1115 * gdb.base/long_long.exp: Same.
1116 * gdb.base/macscp.exp: Same.
1117 * gdb.base/memattr.exp: Same.
1118 * gdb.base/nofield.exp: Same.
1119 * gdb.base/pointers.exp: Same.
1120 * gdb.base/printcmds.exp: Same.
1121 * gdb.base/ptype.exp: Same.
1122 * gdb.base/restore.exp: Same.
1123 * gdb.base/return.exp: Same.
1124 * gdb.base/scope.exp: Same.
1125 * gdb.base/set-noassign.exp: Same.
1126 * gdb.base/setshow.exp: Same.
1127 * gdb.base/shlib-call.exp: Same.
1128 * gdb.base/signals.exp: Same.
1129 * gdb.base/sigstep.exp: Same.
1130 * gdb.base/skip.exp: Same.
1131 * gdb.base/solib-symbol.exp: Same.
1132 * gdb.base/stap-probe.exp: Same.
1133 * gdb.base/step-line.exp: Same.
1134 * gdb.base/step-test.exp: Same.
1135 * gdb.base/style.exp: Same.
1136 * gdb.base/varargs.exp: Same.
1137 * gdb.base/vla-datatypes.exp: Same.
1138 * gdb.base/vla-ptr.exp: Same.
1139 * gdb.base/vla-sideeffect.exp: Same.
1140 * gdb.base/volatile.exp: Same.
1141 * gdb.base/watch-cond-infcall.exp: Same.
1142 * gdb.base/watchpoint.exp: Same.
1143
1144 2019-11-02 Tom de Vries <tdevries@suse.de>
1145
1146 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
1147 * gdb.cp/cpexprs.exp: Same.
1148 * gdb.cp/except-multi-location.exp: Same.
1149 * gdb.cp/exceptprint.exp: Same.
1150 * gdb.cp/gdb2384.exp: Same.
1151 * gdb.cp/inherit.exp: Same.
1152 * gdb.cp/m-static.exp: Same.
1153 * gdb.cp/meth-typedefs.exp: Same.
1154 * gdb.cp/misc.exp: Same.
1155 * gdb.cp/namespace.exp: Same.
1156 * gdb.cp/non-trivial-retval.exp: Same.
1157 * gdb.cp/overload.exp: Same.
1158 * gdb.cp/pr17132.exp: Same.
1159 * gdb.cp/re-set-overloaded.exp: Same.
1160 * gdb.cp/rvalue-ref-types.exp: Same.
1161 * gdb.cp/templates.exp: Same.
1162
1163 2019-11-01 Luis Machado <luis.machado@linaro.org>
1164
1165 PR gdb/25124
1166
1167 * gdb.arch/pr25124.S: New file.
1168 * gdb.arch/pr25124.exp: New file.
1169
1170 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1171
1172 * gdb.fortran/info-modules.exp: Update expected results, and add
1173 additional tests for 'info module functinos', and 'info module
1174 variables'.
1175 * gdb.fortran/info-types.exp: Update expected results.
1176 * gdb.fortran/info-types.f90: Extend testcase with additional
1177 module variables and functions.
1178
1179 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1180
1181 * gdb.fortran/info-modules.exp: New file.
1182 * gdb.fortran/info-types.exp: Build with new file.
1183 * gdb.fortran/info-types.f90: Include and use new module.
1184 * gdb.fortran/info-types-2.f90: New file.
1185
1186 2019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1187
1188 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
1189 * gdb.base/settings.exp: Test all settings types using
1190 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
1191 that now verifies that the value of "maint show" is the same as
1192 returned by the settings functions. Test the type of the
1193 maintenance settings.
1194 * gdb.base/default.exp: Update show_conv_list.
1195
1196 2019-10-31 Tom de Vries <tdevries@suse.de>
1197
1198 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
1199 gdb_test.
1200 * gdb.arch/amd64-disp-step.exp: Same.
1201 * gdb.asm/asm-source.exp: Same.
1202 * gdb.btrace/buffer-size.exp: Same.
1203 * gdb.btrace/cpu.exp: Same.
1204 * gdb.btrace/enable.exp: Same.
1205 * gdb.dwarf2/count.exp: Same.
1206 * gdb.dwarf2/dw2-ranges-func.exp: Same.
1207 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
1208 * gdb.fortran/vla-datatypes.exp: Same.
1209 * gdb.fortran/vla-history.exp: Same.
1210 * gdb.fortran/vla-ptype.exp: Same.
1211 * gdb.fortran/vla-value.exp: Same.
1212 * gdb.fortran/whatis_type.exp: Same.
1213 * gdb.guile/guile.exp: Same.
1214 * gdb.multi/tids.exp: Same.
1215 * gdb.python/py-finish-breakpoint.exp: Same.
1216 * gdb.python/py-framefilter.exp: Same.
1217 * gdb.python/py-pp-registration.exp: Same.
1218 * gdb.python/py-xmethods.exp: Same.
1219 * gdb.python/python.exp: Same.
1220 * gdb.server/connect-with-no-symbol-file.exp: Same.
1221 * gdb.server/no-thread-db.exp: Same.
1222 * gdb.server/run-without-local-binary.exp: Same.
1223 * gdb.stabs/weird.exp: Same.
1224 * gdb.threads/attach-many-short-lived-threads.exp: Same.
1225 * gdb.threads/thread-find.exp: Same.
1226 * gdb.threads/tls-shared.exp: Same.
1227 * gdb.threads/tls.exp: Same.
1228 * gdb.threads/wp-replication.exp: Same.
1229 * gdb.trace/ax.exp: Same.
1230 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
1231
1232 2019-10-31 Tom de Vries <tdevries@suse.de>
1233
1234 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
1235 * gdb.ada/array_subscript_addr.exp: Same.
1236 * gdb.ada/arrayidx.exp: Same.
1237 * gdb.ada/arrayparam.exp: Same.
1238 * gdb.ada/arrayptr.exp: Same.
1239 * gdb.ada/boolean_expr.exp: Same.
1240 * gdb.ada/call_pn.exp: Same.
1241 * gdb.ada/complete.exp: Same.
1242 * gdb.ada/fixed_cmp.exp: Same.
1243 * gdb.ada/fun_addr.exp: Same.
1244 * gdb.ada/funcall_param.exp: Same.
1245 * gdb.ada/interface.exp: Same.
1246 * gdb.ada/mod_from_name.exp: Same.
1247 * gdb.ada/null_array.exp: Same.
1248 * gdb.ada/packed_array.exp: Same.
1249 * gdb.ada/packed_tagged.exp: Same.
1250 * gdb.ada/print_chars.exp: Same.
1251 * gdb.ada/print_pc.exp: Same.
1252 * gdb.ada/ptype_arith_binop.exp: Same.
1253 * gdb.ada/ptype_field.exp: Same.
1254 * gdb.ada/ptype_tagged_param.exp: Same.
1255 * gdb.ada/rec_return.exp: Same.
1256 * gdb.ada/ref_tick_size.exp: Same.
1257 * gdb.ada/str_ref_cmp.exp: Same.
1258 * gdb.ada/taft_type.exp: Same.
1259 * gdb.ada/tagged.exp: Same.
1260 * gdb.ada/type_coercion.exp: Same.
1261 * gdb.ada/uninitialized_vars.exp: Same.
1262
1263 2019-10-30 Tom de Vries <tdevries@suse.de>
1264
1265 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
1266
1267 2019-10-26 Tom de Vries <tdevries@suse.de>
1268
1269 * gdb.base/bigcore.c: Fix typos in comments.
1270 * gdb.base/ctf-ptype.c: Same.
1271 * gdb.base/long_long.c: Same.
1272 * gdb.dwarf2/dw2-op-out-param.S: Same.
1273 * gdb.python/py-evthreads.c: Same.
1274 * gdb.reverse/i387-stack-reverse.c: Same.
1275 * gdb.trace/tfile.c: Same.
1276 * lib/compiler.c: Same.
1277 * lib/compiler.cc: Same.
1278
1279 2019-10-25 Tom de Vries <tdevries@suse.de>
1280
1281 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
1282 gdb_test_multiple calls.
1283 * gdb.reverse/sigall-reverse.exp: Same.
1284 * gdb.reverse/solib-precsave.exp: Same.
1285 * gdb.reverse/solib-reverse.exp: Same.
1286 * gdb.reverse/until-precsave.exp: Same.
1287 * gdb.reverse/until-reverse.exp: Same.
1288
1289 2019-10-24 Tom de Vries <tdevries@suse.de>
1290
1291 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
1292 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
1293 kfail using -wrap pattern flag and convenience variable
1294 gdb_test_name.
1295
1296 2019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
1297
1298 * gdb.python/py-progspace.exp: Add tests for the
1299 Progspace.block_for_pc method.
1300
1301 2019-10-23 Tom Tromey <tom@tromey.com>
1302
1303 * configure: Rebuild.
1304 * aclocal.m4: Use m4_include, not sinclude.
1305
1306 2019-10-21 Tom de Vries <tdevries@suse.de>
1307
1308 * gdb.base/infcall-nested-structs.c: Add
1309 __attribute__((noinline,noclone)) to all functions.
1310 (call_all): Add missing variable initialization. Simplify return value.
1311 (breakpt): Increment volatile variable, to prevent call from being
1312 optimized out.
1313 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
1314
1315 2019-10-17 Tom de Vries <tdevries@suse.de>
1316
1317 * gdb.fortran/module.exp: Allow info variables to print info for files
1318 other than module.f90.
1319
1320 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
1321
1322 * gdb.fortran/module.exp: Extend with 'info variables' test.
1323
1324 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
1325
1326 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
1327 F77_FOR_TARGET.
1328
1329 2019-10-16 Tom de Vries <tdevries@suse.de>
1330
1331 PR tdep/25096
1332 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
1333
1334 2019-10-16 Tom de Vries <tdevries@suse.de>
1335
1336 PR tdep/24104
1337 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
1338 Add KFAIL for PR tdep/25096.
1339
1340 2019-10-16 Tom de Vries <tdevries@suse.de>
1341
1342 PR testsuite/25059
1343 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
1344
1345 2019-10-16 Tom de Vries <tdevries@suse.de>
1346
1347 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
1348 as signed.
1349
1350 2019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
1351
1352 * gdb.mi/list-thread-groups-available.exp: Read entries one by
1353 one instead of increasing timeout.
1354
1355 2019-10-13 Tom de Vries <tdevries@suse.de>
1356
1357 PR record/25038
1358 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
1359 * gdb.reverse/sigall-reverse.exp: Same.
1360 * gdb.reverse/solib-precsave.exp: Same.
1361 * gdb.reverse/solib-reverse.exp: Same.
1362 * gdb.reverse/step-precsave.exp: Same.
1363 * gdb.reverse/until-precsave.exp: Same.
1364 * gdb.reverse/until-reverse.exp: Same.
1365 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
1366
1367 2019-10-10 Andreas Arnez <arnez@linux.ibm.com>
1368
1369 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
1370 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
1371 (cmp_struct_05_01, cmp_struct_static_02_01)
1372 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
1373 comparisons.
1374
1375 2019-10-10 Tom de Vries <tdevries@suse.de>
1376
1377 PR testsuite/24888
1378 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
1379 gnatlink.
1380
1381 2019-10-09 Tom de Vries <tdevries@suse.de>
1382
1383 PR testsuite/25048
1384 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
1385
1386 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
1387
1388 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
1389 exceptions due to missing debug information.
1390
1391 2019-10-07 Tom de Vries <tdevries@suse.de>
1392
1393 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
1394
1395 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
1396
1397 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
1398 * gdb.base/annota1.exp: Update to use gdb_test_name.
1399
1400 2019-10-07 Weimin Pan <weimin.pan@oracle.com>
1401
1402 * gdb.base/ctf-whatis.exp: New file.
1403 * gdb.base/ctf-whatis.c: New file.
1404 * gdb.base/ctf-ptype.exp: New file.
1405 * gdb.base/ctf-ptype.c: New file.
1406 * gdb.base/ctf-constvars.exp: New file.
1407 * gdb.base/ctf-constvars.c: New file.
1408 * gdb.base/ctf-cvexpr.exp: New file.
1409
1410 2019-10-04 Tom de Vries <tdevries@suse.de>
1411
1412 * gdb.cp/local-static.c (main): Move declaration of int i out of the
1413 for loop.
1414
1415 2019-10-03 Tom Tromey <tom@tromey.com>
1416
1417 PR rust/24976:
1418 * gdb.rust/simple.rs (Union2): New type.
1419 (main): Use Union2.
1420 * gdb.rust/simple.exp: Add test.
1421
1422 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1423
1424 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
1425 nested function prefix.
1426
1427 2019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
1428 Richard Bunt <richard.bunt@arm.com>
1429 Andrew Burgess <andrew.burgess@embecosm.com>
1430
1431 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
1432 nested functions.
1433 * gdb.fortran/nested-funcs.f90: Update expected results.
1434 * gdb.fortran/nested-funcs-2.exp: New file.
1435 * gdb.fortran/nested-funcs-2.f90: New file.
1436
1437 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1438
1439 * gdb.python/py-parameter.exp: Make test names unique.
1440 * gdb.python/py-template.exp: Likewise.
1441 * gdb.python/py-value.exp: Likewise.
1442
1443 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1444
1445 * gdb.base/break-interp.exp: Reduce test name duplication.
1446 * gdb.base/call-sc.exp: Likewise.
1447 * gdb.base/callfuncs.exp: Likewise.
1448 * gdb.base/charset.exp: Likewise.
1449 * gdb.base/dump.exp: Likewise.
1450 * gdb.base/ena-dis-br.exp: Likewise.
1451 * gdb.base/relational.exp: Likewise.
1452 * gdb.base/step-over-syscall.exp: Likewise.
1453 * gdb.base/structs.exp: Likewise.
1454
1455 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1456
1457 * gdb.linespec/explicit.exp: Make test names unique.
1458 * gdb.linespec/ls-errs.exp: Likewise.
1459
1460 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1461
1462 * gdb.reverse/break-precsave.exp: Make test names unique.
1463 * gdb.reverse/break-reverse.exp: Likewise.
1464 * gdb.reverse/finish-precsave.exp: Likewise.
1465 * gdb.reverse/finish-reverse.exp: Likewise.
1466 * gdb.reverse/machinestate-precsave.exp: Likewise.
1467 * gdb.reverse/machinestate.exp: Likewise.
1468 * gdb.reverse/readv-reverse.exp: Likewise.
1469 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1470 * gdb.reverse/sigall-precsave.exp: Likewise.
1471 * gdb.reverse/sigall-reverse.exp: Likewise.
1472 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
1473 * gdb.reverse/watch-precsave.exp: Likewise.
1474 * gdb.reverse/watch-reverse.exp: Likewise.
1475
1476 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1477
1478 * gdb.threads/stop-with-handle.c: New file.
1479 * gdb.threads/stop-with-handle.exp: New file.
1480
1481 2019-10-03 Tom de Vries <tdevries@suse.de>
1482
1483 PR testsuite/25059
1484 * gdb.base/list-missing-source.exp: Allowing the "Compilation
1485 directory" line to be missing.
1486
1487 2019-10-03 Tom de Vries <tdevries@suse.de>
1488
1489 PR testsuite/25059
1490 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
1491 type optional.
1492
1493 2019-10-02 Andreas Arnez <arnez@linux.ibm.com>
1494
1495 * gdb.python/py-format-string.c (string.h): New include.
1496 (main): Fill a_struct_with_union.the_union.an_int with bytes of
1497 the same value, for endianness-independence.
1498 * gdb.python/py-format-string.exp (default_regexp_dict)
1499 (test_pretty_structs, test_format): Adjust expected output to the
1500 changed initialization.
1501
1502 2019-10-02 Tom Tromey <tromey@adacore.com>
1503
1504 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
1505
1506 2019-10-02 Pedro Alves <palves@redhat.com>
1507 Andrew Burgess <andrew.burgess@embecosm.com>
1508
1509 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
1510 "print-file-var.h".
1511 (this_version_id) Use ATTRIBUTE_VISIBILITY.
1512 (get_version_1): Print this_version_id and its address.
1513 Add extern "C" wrappers around interface functions.
1514 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
1515 "print-file-var.h".
1516 (this_version_id) Use ATTRIBUTE_VISIBILITY.
1517 (get_version_2): Print this_version_id and its address.
1518 Add extern "C" wrappers around interface functions.
1519 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
1520 <stddef.h> and "print-file-var.h".
1521 Add extern "C" wrappers around interface functions.
1522 [VERSION_ID_MAIN] (this_version_id): Define.
1523 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
1524 * gdb.base/print-file-var.h: Add some #defines to simplify setting
1525 up extern "C" blocks.
1526 * gdb.base/print-file-var.exp (test): New, factored out from top
1527 level.
1528 (top level): Test all combinations of attribute hidden or not,
1529 dlopen or not, and this_version_id symbol in main file or not.
1530 Compile tests as both C++ and C, make test names unique.
1531
1532 2019-10-01 Tom Tromey <tom@tromey.com>
1533
1534 * gdb.base/style.exp: Test "show logging filename".
1535
1536 2019-10-01 Tom Tromey <tom@tromey.com>
1537
1538 * lib/gdb-utils.exp (style): Handle "metadata" argument.
1539 * gdb.base/style.exp: Add metadata style test.
1540
1541 2019-10-01 Tom Tromey <tom@tromey.com>
1542
1543 * gdb.base/style.exp: Test "pwd".
1544
1545 2019-10-01 Tom Tromey <tom@tromey.com>
1546
1547 * gdb.base/style.exp: Update tests.
1548
1549 2019-10-01 Andreas Arnez <arnez@linux.ibm.com>
1550
1551 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
1552 'six' to unsigned.
1553 (s1): Initialize fields 'four' and 'six' instead of 'three' and
1554 'five'. Use an all-ones bit pattern for each.
1555 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
1556 to its changed values.
1557
1558 2019-09-30 Tom Tromey <tromey@adacore.com>
1559
1560 * gdb.rust/traits.rs: Disable all warnings.
1561
1562 2019-09-29 Tom de Vries <tdevries@suse.de>
1563
1564 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
1565
1566 2019-09-29 Tom de Vries <tdevries@suse.de>
1567
1568 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
1569
1570 2019-09-27 Tom de Vries <tdevries@suse.de>
1571
1572 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
1573
1574 2019-09-27 Tom de Vries <tdevries@suse.de>
1575
1576 PR record/23188
1577 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
1578
1579 2019-09-26 Tom Tromey <tromey@adacore.com>
1580
1581 * gdb.ada/py_taft.exp: New file.
1582 * gdb.ada/py_taft/main.adb: New file.
1583 * gdb.ada/py_taft/pkg.adb: New file.
1584 * gdb.ada/py_taft/pkg.ads: New file.
1585
1586 2019-09-24 Tom de Vries <tdevries@suse.de>
1587
1588 PR gdb/24598
1589 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
1590
1591 2019-09-22 Tom de Vries <tdevries@suse.de>
1592
1593 * gdb.base/restore.exp: Allow register variables to be optimized out at
1594 -O0.
1595
1596 2019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
1597
1598 * gdb.arch/spu-info.exp: Remove file.
1599 * gdb.arch/spu-info.c: Remove file.
1600 * gdb.arch/spu-ls.exp: Remove file.
1601 * gdb.arch/spu-ls.c: Remove file.
1602
1603 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
1604 * gdb.asm/spu.inc: Remove file.
1605
1606 * gdb.base/dump.exp: Remove support for spu*-*-*.
1607 * gdb.base/stack-checking.exp: Likewise.
1608 * gdb.base/overlays.exp: Likewise.
1609 * gdb.base/ovlymgr.c: Likewise.
1610 * gdb.base/spu.ld: Remove file.
1611
1612 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
1613 * gdb.cp/cpexprs.exp: Likewise.
1614 * gdb.cp/exception.exp: Likewise.
1615 * gdb.cp/gdb2495.exp: Likewise.
1616 * gdb.cp/mb-templates.exp: Likewise.
1617 * gdb.cp/pr9167.exp: Likewise.
1618 * gdb.cp/userdef.exp: Likewise.
1619
1620 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
1621
1622 * gdb.cell: Remove directory.
1623 * lib/cell.exp: Remove file.
1624
1625 2019-09-19 Tom de Vries <tdevries@suse.de>
1626
1627 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
1628
1629 2019-09-19 Tom de Vries <tdevries@suse.de>
1630
1631 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
1632
1633 2019-09-19 Tom de Vries <tdevries@suse.de>
1634
1635 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
1636 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
1637 (gdb_target_cmd): ... here.
1638 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
1639 value 2.
1640
1641 2019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
1642
1643 * gdb.base/source-dir.exp: Avoid having directory names in test
1644 names.
1645
1646 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
1647
1648 * gdb.base/source-dir.exp: Add extra test for mapped compilation
1649 directory.
1650
1651 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
1652
1653 * gdb.base/list-missing-source.exp: New file.
1654
1655 2019-09-14 Tom de Vries <tdevries@suse.de>
1656
1657 PR teststuite/24599
1658 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
1659 * lib/ada.exp (gnatmake_version_at_least): New proc.
1660
1661 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
1662
1663 * gdb.base/maint.exp: Use exec_has_index_section.
1664
1665 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
1666
1667 * gdb.base/maint.exp: Add test for 'maint info sections'.
1668
1669 2019-09-12 Tom de Vries <tdevries@suse.de>
1670
1671 * gdb.base/store.exp: Allow register variables to be optimized out at
1672 -O0.
1673
1674 2019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1675
1676 * gdb.ada/rdv_wait.exp: Update to new task names.
1677 * gdb.base/task_switch_in_core.exp: Likewise.
1678 * gdb.base/info_sources_base.c: Likewise.
1679
1680 2019-09-10 Tom Tromey <tromey@adacore.com>
1681
1682 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
1683
1684 2019-09-10 Tom Tromey <tromey@adacore.com>
1685
1686 * gdb.ada/dgopt.exp: New file.
1687 * gdb.ada/dgopt/x.adb: New file.
1688
1689 2019-09-08 Tom Tromey <tom@tromey.com>
1690
1691 * gdb.tui/resize.exp: Remove setup_xfail.
1692 * gdb.tui/regs.exp: Remove setup_xfail.
1693 * gdb.tui/basic.exp: Remove setup_xfail.
1694
1695 2019-09-06 David Blaikie <dblaikie@gmail.com>
1696
1697 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
1698 * gdb.cp/cplabel.exp: Ditto.
1699 * gdb.linespec/ls-errs.exp: Ditto.
1700
1701 2019-09-05 Tom de Vries <tdevries@suse.de>
1702
1703 * lib/gdb.exp (cmp_file_string): New proc.
1704 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
1705 runto_main. Verify save breakpoints output.
1706
1707 2019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1708
1709 * gdb.base/info-var.exp: Test info variables without running
1710 to main, to avoid expect's buffer overflow.
1711
1712 2019-09-03 Tom Tromey <tromey@adacore.com>
1713
1714 * gdb.ada/bias.exp: New file.
1715 * gdb.ada/bias/bias.adb: New file.
1716 * gdb.ada/print_chars.exp: Add regression test.
1717 * gdb.ada/print_chars/foo.adb (My_Character): New type.
1718 (MC): New variable.
1719
1720 2019-08-29 Sandra Loosemore <sandra@codesourcery.com>
1721
1722 * gdb.base/argv0-symlink.exp: Run only on native target
1723 and local host.
1724
1725 2019-08-29 Tom de Vries <tdevries@suse.de>
1726
1727 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
1728 diverse debug info.
1729 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
1730
1731 2019-08-28 Tom de Vries <tdevries@suse.de>
1732
1733 * gdb.base/info-var.exp: Allow info variables to print info for files
1734 other than info-var-f1.c and info-var-f2.c.
1735
1736 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
1737
1738 * gdb.fortran/info-types.exp: Add module.
1739 * gdb.fortran/info-types.f90: Update expected results.
1740
1741 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
1742
1743 * gdb.fortran/info-types.exp: New file.
1744 * gdb.fortran/info-types.f90: New file.
1745 * lib/fortran.exp (fortran_character1): New proc.
1746
1747 2019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
1748
1749 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
1750 functions'. Reindent as needed.
1751 * gdb.base/info-var-f1.c: New file.
1752 * gdb.base/info-var-f2.c: New file.
1753 * gdb.base/info-var.exp: New file.
1754 * gdb.base/info-var.h: New file.
1755
1756 2019-08-26 Tom de Vries <tdevries@suse.de>
1757
1758 PR c++/24852
1759 * gdb.cp/no-libstdcxx-probe.exp: New test.
1760
1761 2019-08-26 Tom de Vries <tdevries@suse.de>
1762
1763 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
1764 * tests need to be skipped.
1765 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
1766 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
1767 mi_skip_libstdcxx_probe_tests.
1768
1769 2019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
1770
1771 * gdb.python/py-xmethods.exp: Use raw strings when passing
1772 arguments to SimpleXMethodMatcher.
1773
1774 2019-08-22 Tom de Vries <tdevries@suse.de>
1775
1776 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
1777 more informative.
1778
1779 2019-08-21 Pedro Alves <palves@redhat.com>
1780
1781 * gdb.base/with.exp: Test "with" with no arguments.
1782
1783 2019-08-21 Tom de Vries <tdevries@suse.de>
1784
1785 * gdb.base/gdb-caching-proc.exp: Sort files.
1786
1787 2019-08-20 Tom de Vries <tdevries@suse.de>
1788
1789 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
1790 compilation.
1791
1792 2019-08-16 Tom de Vries <tdevries@suse.de>
1793
1794 * gdb.base/compare-sections.exp ("after run to main"): Allow
1795 mismatched read-only sections for PIE executables.
1796
1797 2019-08-16 Tom Tromey <tom@tromey.com>
1798
1799 * lib/tuiterm.exp (_csi_Z): New proc.
1800 * gdb.tui/basic.exp: Update window positions.
1801 * gdb.tui/empty.exp: Update window positions.
1802
1803 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1804
1805 * gdb.base/examine-backward.exp: Correct regexp for
1806 "examine 3 bytes backward from ${address_zero}".
1807
1808 2019-08-15 Tom Tromey <tom@tromey.com>
1809
1810 * gdb.tui/empty.exp: Enable resizing tests.
1811
1812 2019-08-15 Tom Tromey <tromey@adacore.com>
1813
1814 * gdb.ada/char_enum.exp: Add regression tests.
1815 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
1816 and '0'.
1817 (Char, Gchar): Update.
1818 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
1819
1820 2019-08-15 Christian Biesinger <cbiesinger@google.com>
1821
1822 * gdb.python/python.exp: Expect a leading underscore on
1823 GdbOutput{,Error}File.
1824
1825 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1826
1827 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
1828 Windows host.
1829
1830 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1831
1832 * gdb.base/batch-preserve-term-settings.exp
1833 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
1834
1835 2019-08-15 Christian Biesinger <cbiesinger@google.com>
1836
1837 * lib/gdb.exp: When running on a mingw target, replace
1838 /x/ with x:/.
1839
1840 2019-08-14 Alan Hayward <alan.hayward@arm.com>
1841
1842 * gdb.arch/aarch64-prologue.c: New test.
1843 * gdb.arch/aarch64-prologue.exp: New file.
1844
1845 2019-08-13 Tom de Vries <tdevries@suse.de>
1846
1847 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
1848 Thread.
1849
1850 2019-08-13 Sandra Loosemore <sandra@codesourcery.com>
1851
1852 * gdb.python/py-completion.exp: Download the .py file to the host
1853 and use its host pathname. Conditionalize tests that use
1854 tab completion and manipulate files on the build machine.
1855 * gdb.python/py-events.exp: Download the .py file to the host
1856 and use its host pathname.
1857 * gdb.python/py-evsignal.exp: Likewise.
1858 * gdb.python/py-evthreads.exp: Likewise.
1859 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
1860 pathname syntax.
1861 * gdb.python/py-framefilter.exp: Download the .py file to the right
1862 place on the host. Match Windows pathname syntax.
1863 * gdb.python/py-mi-var-info-path-expression.exp: Download the
1864 .py file to the host and use its host pathname.
1865 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
1866 * gdb.python/py-objfile.exp: Expect a host pathname, not a
1867 build pathname. Skip symlink test on Windows host. Add missing
1868 newline at end of file.
1869 * gdb.python/py-pp-maint.exp: Download the .py file to the host
1870 and use its host pathname.
1871 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
1872 * gdb.python/py-section-script.exp: Use host location of binfile
1873 on safe-path. Use correct path separator on Windows host.
1874 Reorder alternatives in gdb_test_multiple to prevent matching
1875 the wrong alternative on success.
1876 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
1877
1878 2019-08-12 Patrick Palka <patrick@parcs.ath.cx>
1879
1880 * gdb.gdb/selftest.exp (test_with_self): Update test to now
1881 expect the GDB inferior to no longer immediately stop after
1882 being resumed with "signal SIGINT".
1883
1884 2019-08-09 Sandra Loosemore <sandra@codesourcery.com>
1885
1886 * gdb.linespec/break-ask.exp: Generalize regexps to match
1887 Windows pathnames too.
1888
1889 2019-08-08 Tom de Vries <tdevries@suse.de>
1890
1891 PR testsuite/24862
1892 * lib/tuiterm.exp (_accept): Fix CSI regexp.
1893
1894 2019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1895
1896 * gdb.base/style.exp: Update tests for help doc new invariants.
1897 * gdb.base/help.exp: Likewise.
1898
1899 2019-08-06 Tom Tromey <tom@tromey.com>
1900
1901 * gdb.base/style.exp: Add disassemble test.
1902 * gdb.base/style.c (some_called_function): New function.
1903 (main): Use it.
1904
1905 2019-08-05 Christian Biesinger <cbiesinger@google.com>
1906
1907 * gdb.python/py-block.exp: Test dictionary access on blocks.
1908
1909 2019-08-05 Simon Marchi <simon.marchi@efficios.com>
1910
1911 PR gdb/24863
1912 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
1913 -list-thread-groups --available test when running under
1914 check-read1.
1915
1916 2019-08-05 Tom de Vries <tdevries@suse.de>
1917
1918 PR testsuite/24863
1919 * lib/gdb.exp (with_read1_timeout_factor): New proc.
1920 * gdb.base/help.exp: Use with_read1_timeout_factor.
1921 * gdb.base/info-macros.exp: Same.
1922 * gdb.cp/nested-types.exp: Same.
1923
1924 2019-08-05 Tom de Vries <tdevries@suse.de>
1925
1926 * lib/gdb.exp (version_at_least): Factor out of ...
1927 (tcl_version_at_least): ... here.
1928 (gdb_compile): Fail if pie results in non-PIE executable.
1929 (readelf_version, readelf_prints_pie): New proc.
1930 (exec_is_pie): Return -1 if unknown.
1931
1932 2019-08-05 Tom de Vries <tdevries@suse.de>
1933
1934 * lib/gdb.exp (tcl_version_at_least): Fix typo.
1935
1936 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1937
1938 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
1939
1940 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1941
1942 * lib/completion-support.exp (test_gdb_complete_none): Skip
1943 tab completion tests if no readline support.
1944 (test_gdb_complete_unique_re): Likewise.
1945 (test_gdb_complete_multiple): Likewise.
1946
1947 2019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1948
1949 * gdb.base/info_sources.exp: New file.
1950 * gdb.base/info_sources.c: New file.
1951 * gdb.base/info_sources_base.c: New file.
1952
1953 2019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1954
1955 * gdb.base/batch-exit-status.exp: Call test_exit_status with
1956 prefix argument.
1957 (test_exit_status): Add prefix argument.
1958
1959 2019-08-01 Tom de Vries <tdevries@suse.de>
1960
1961 PR testsuite/24863
1962 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
1963 calling exp_continue for new thread and thread exited messages.
1964
1965 2019-08-01 Tom de Vries <tdevries@suse.de>
1966
1967 PR testsuite/24863
1968 * gdb.base/structs.exp: Fix check-read1 timeout using
1969 gdb_test_sequence.
1970 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
1971
1972 2019-08-01 Tom de Vries <tdevries@suse.de>
1973
1974 PR testsuite/24863
1975 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
1976 line.
1977
1978 2019-08-01 Tom de Vries <tdevries@suse.de>
1979
1980 PR testsuite/24863
1981 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
1982
1983 2019-07-30 Tom Tromey <tromey@adacore.com>
1984
1985 * gdb.ada/display_nested.exp: New file.
1986 * gdb.ada/display_nested/foo.adb: New file.
1987 * gdb.ada/display_nested/pack.adb: New file.
1988 * gdb.ada/display_nested/pack.ads: New file.
1989
1990 2019-07-30 Christian Biesinger <cbiesinger@google.com>
1991
1992 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
1993 namespace.
1994 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
1995
1996 2019-07-30 Tom de Vries <tdevries@suse.de>
1997
1998 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
1999 instead.
2000
2001 2019-07-30 Tom de Vries <tdevries@suse.de>
2002
2003 PR testsuite/24834
2004 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
2005 (exec_is_pie): New proc.
2006
2007 2019-07-29 Christian Biesinger <cbiesinger@google.com>
2008
2009 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
2010
2011 2019-07-29 Christian Biesinger <cbiesinger@google.com>
2012
2013 * gdb.python/py-objfile.c: Add global and static vars.
2014 * gdb.python/py-objfile.exp: Test new functions Objfile.
2015 lookup_global_symbol and lookup_static_symbol.
2016
2017 2019-07-29 Tom Tromey <tom@tromey.com>
2018
2019 * lib/tuiterm.exp (Term::_csi_@): New proc.
2020 (Term::_csi_X): Don't move cursor.
2021
2022 2019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2023
2024 * gdb.base/options.exp: Update backtrace - completion to
2025 new option -frame-info.
2026 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
2027 Test new 'set print frame-info'. Test backtrace -frame-info
2028 overriding 'set print frame-info'.
2029 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
2030 Test new 'set print frame-info'.
2031 Verify consistency of backtrace with and without filters, with and
2032 without -no-filters.
2033 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
2034 default.
2035
2036 2019-07-29 Tom de Vries <tdevries@suse.de>
2037
2038 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
2039 no arguments".
2040
2041 2019-07-29 Tom de Vries <tdevries@suse.de>
2042
2043 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
2044 is a substring of the first for "complete non-unique file name".
2045
2046 2019-07-29 Tom de Vries <tdevries@suse.de>
2047
2048 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
2049 with ".*".
2050
2051 2019-07-29 Tom de Vries <tdevries@suse.de>
2052
2053 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
2054 Pass prompt_regexp parameter to gdb_test_multiple calls.
2055
2056 2019-07-29 Tom de Vries <tdevries@suse.de>
2057
2058 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
2059 print registers" regexps.
2060
2061 2019-07-29 Tom de Vries <tdevries@suse.de>
2062
2063 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
2064
2065 2019-07-29 Tom de Vries <tdevries@suse.de>
2066
2067 PR gdb/24855
2068 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
2069 (skip_python_tests_prompt): Add prompt_regexp argument to
2070 gdb_test_multiple calls.
2071
2072 2019-07-27 Tom Tromey <tom@tromey.com>
2073
2074 * gdb.tui/main.exp: New file.
2075
2076 2019-07-27 Tom Tromey <tom@tromey.com>
2077
2078 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
2079 optional.
2080 * gdb.tui/empty.exp: New file.
2081
2082 2019-07-27 Tom Tromey <tom@tromey.com>
2083
2084 * lib/tuiterm.exp (spawn): New proc.
2085 (Term::resize): New proc.
2086 * gdb.tui/resize.exp: New file.
2087
2088 2019-07-27 Tom Tromey <tom@tromey.com>
2089
2090 * gdb.tui/list.exp: New file.
2091
2092 2019-07-27 Tom Tromey <tom@tromey.com>
2093
2094 * gdb.tui/regs.exp: New file.
2095
2096 2019-07-27 Tom Tromey <tom@tromey.com>
2097
2098 * gdb.tui/basic.exp: Add "layout split" test.
2099
2100 2019-07-27 Tom Tromey <tom@tromey.com>
2101
2102 * gdb.tui/basic.exp: Add "layout asm" test.
2103
2104 2019-07-27 Tom Tromey <tom@tromey.com>
2105
2106 * lib/tuiterm.exp: New file.
2107 * gdb.tui/basic.exp: New file.
2108
2109 2019-07-27 Kevin Buettner <kevinb@redhat.com>
2110
2111 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
2112 Enable tests associated with this flag. Adjust regex
2113 referencing "foo_low" to now refer to "foo_cold" instead.
2114
2115 2019-07-27 Kevin Buettner <kevinb@redhat.com>
2116
2117 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
2118 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
2119 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
2120 foo_cold. Revise comments to match.
2121 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
2122 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
2123 were wrapped into this proc; Call do_test in loop from outermost
2124 level.
2125 (foo_low): Rename all occurrences to "foo_cold".
2126 (backtrace from baz): New test.
2127 (x2/i foo_cold): New test.
2128 (info line *foo_cold): New test.
2129
2130 2019-07-26 Tom de Vries <tdevries@suse.de>
2131
2132 * gdb.arch/i386-pkru.exp: Fix unterminated string.
2133
2134 2019-07-25 Tom de Vries <tdevries@suse.de>
2135
2136 PR testsuite/24830
2137 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
2138 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
2139 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
2140 (skip_libstdcxx_probe_tests): ... here.
2141 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
2142
2143 2019-07-24 Tom de Vries <tdevries@suse.de>
2144
2145 PR testsuite/24807
2146 * gdb.objc/basicclass.m: Include stdio.h.
2147 * gdb.objc/nondebug.m: Same.
2148 * gdb.objc/objcdecode.m: Same.
2149
2150 2019-07-24 Tom de Vries <tdevries@suse.de>
2151
2152 PR testsuite/24612
2153 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
2154 additional_flags.
2155
2156 2019-07-24 Tom de Vries <tdevries@suse.de>
2157
2158 PR testsuite/24831
2159 * gdb.multi/tids.exp: Update error messages for info threads.
2160
2161 2019-07-24 Tom de Vries <tdevries@suse.de>
2162
2163 * gdb.base/info-types.exp: Allow info types to print info for more than
2164 one file.
2165
2166 2019-07-23 Tom de Vries <tdevries@suse.de>
2167
2168 PR testsuite/24842
2169 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
2170 gdb_spawn_with_cmdline_opts.
2171
2172 2019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
2173
2174 * gdb.arch/arm-cmse-sgstubs.c: New test.
2175 * gdb.arch/arm-cmse-sgstubs.exp: New file.
2176
2177 2019-07-23 Tom de Vries <tdevries@suse.de>
2178
2179 PR testsuite/24711
2180 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
2181 issuing next command.
2182
2183 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
2184
2185 * gdb.ada/info_auto_lang.exp: Update expected results.
2186 * gdb.base/info-types.c: Add additional types to check.
2187 * gdb.base/info-types.exp: Update expected results.
2188
2189 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
2190
2191 * gdb.base/info-types.c: New file.
2192 * gdb.base/info-types.exp: New file.
2193
2194 2019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
2195
2196 * gdb.arch/riscv-bp-infcall.c: New file.
2197 * gdb.arch/riscv-bp-infcall.exp: New file.
2198
2199 2019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
2200
2201 PR breakpoints/24541
2202 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
2203
2204 2019-07-14 Tom de Vries <tdevries@suse.de>
2205
2206 PR testsuite/24760
2207 * gdb.objc/basicclass.exp: Fix unterminated string.
2208
2209 2019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
2210 Andrew Burgess <andrew.burgess@embecosm.com>
2211
2212 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
2213 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
2214 negative bounds.
2215 * gdb.fortran/vla-value.exp: Print elements of an array with
2216 negative bounds.
2217 * gdb.fortran/vla.f90: Setup an array with negative bounds for
2218 testing.
2219
2220 2019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
2221
2222 * gdb.base/options.exp (expect_string): Dequote strings in
2223 results.
2224 (test-string): Test strings with different quoting and reindent.
2225
2226 2019-07-10 Tom Tromey <tromey@adacore.com>
2227
2228 * gdb.ada/mi_ex_cond.exp: Update expected results.
2229 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
2230 * gdb.ada/mi_catch_ex.exp: Update expected results.
2231 * gdb.ada/mi_catch_assert.exp: Update expected results.
2232 * gdb.ada/catch_ex.exp (catch_exception_info)
2233 (catch_exception_entry, catch_assert_entry)
2234 (catch_unhandled_entry): Update.
2235 * gdb.ada/catch_assert_if.exp: Update expected results.
2236
2237 2019-07-10 Richard Bunt <richard.bunt@arm.com>
2238 Stephen Roberts <stephen.roberts@arm.com>
2239
2240 * gdb.base/define.exp: Restore original prompt.
2241
2242 2019-07-09 Pedro Alves <palves@redhat.com>
2243
2244 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
2245 breakpoints" output.
2246 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
2247 * gdb.python/py-breakpoint.exp: No longer expect that "catch
2248 throw" creates breakpoint.
2249 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
2250 'type="catchpoint"'.
2251
2252 2019-07-09 Pedro Alves <palves@redhat.com>
2253
2254 PR c++/15468
2255 * gdb.cp/except-multi-location-lib.cc: New.
2256 * gdb.cp/except-multi-location-main.cc: New.
2257 * gdb.cp/except-multi-location.exp: New.
2258
2259 2019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
2260
2261 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
2262 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
2263 argument and update callers.
2264
2265 2019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2266
2267 * gdb.arch/amd64-break-on-asm-line.S: New file.
2268 * gdb.arch/amd64-break-on-asm-line.exp: New file.
2269
2270 2019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2271
2272 * gdb.base/printcmds.exp: Test printing C string and
2273 C wide string convenience vars without transiting via the inferior.
2274 Also make test names unique.
2275
2276 2019-07-08 Alan Hayward <alan.hayward@arm.com>
2277
2278 PR breakpoints/25011
2279 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
2280
2281 2019-07-04 Pedro Alves <palves@redhat.com>
2282
2283 * lib/gdb.exp (foreach_with_prefix): Don't return early if
2284 body returned ok(0), break(3) or continue(4).
2285 * gdb.testsuite/foreach_with_prefix.exp: New file.
2286
2287 2019-07-04 Alan Hayward <alan.hayward@arm.com>
2288
2289 * gdb.server/unittest.exp: Allow 0 unit tests to run.
2290
2291 2019-07-03 Pedro Alves <palves@redhat.com>
2292
2293 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
2294 "return -code".
2295
2296 2019-07-03 Pedro Alves <palves@redhat.com>
2297
2298 PR cli/24732
2299 * gdb.base/shell.exp: Load completion-support.exp.
2300 Adjust expected error output. Add completion tests.
2301
2302 2019-07-03 Pedro Alves <palves@redhat.com>
2303
2304 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
2305 string_to_regexp.
2306
2307 2019-07-03 Pedro Alves <palves@redhat.com>
2308
2309 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
2310 (expect_integer): Adjust to expect "-string".
2311 (expect_string): New.
2312 (all_options): Expect "-string".
2313 (test-flag, test-boolean): Adjust to expect "-string".
2314 (test-string): New proc.
2315 (top level): Call it.
2316
2317 2019-07-03 Pedro Alves <palves@redhat.com>
2318
2319 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
2320 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
2321 the expected output in the success.
2322
2323 2019-07-03 Pedro Alves <palves@redhat.com>
2324
2325 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
2326 Split one gdb_test_multiple call in two to avoid a race.
2327
2328 2019-07-03 Pedro Alves <palves@redhat.com>
2329
2330 * gdb.base/with.c: New file.
2331 * gdb.base/with.exp: New file.
2332
2333 2019-07-03 Pedro Alves <palves@redhat.com>
2334
2335 * gdb.base/settings.exp: Replace all references to "maint
2336 test-settings set" with references to "maint set test-settings",
2337 and all references to "maint test-settings show" with references
2338 to "maint show test-settings".
2339
2340 2019-07-03 Pedro Alves <palves@redhat.com>
2341
2342 * gdb.base/settings.exp (test-string): Adjust expected out when
2343 testing "maint test-settings show filename"
2344
2345 2019-07-02 Pedro Alves <palves@redhat.com>
2346
2347 * gdb.base/options.exp (test-info-threads): New procedure.
2348 (top level): Call it.
2349
2350 2019-06-28 Tom Tromey <tromey@adacore.com>
2351
2352 * gdb.dwarf2/ada-linkage-name.c: New file.
2353 * gdb.dwarf2/ada-linkage-name.exp: New file.
2354
2355 2019-06-27 Tom Tromey <tromey@adacore.com>
2356
2357 PR c++/20020:
2358 * gdb.cp/constexpr-field.exp: Use setup_xfail.
2359
2360 2019-06-26 Tom de Vries <tdevries@suse.de>
2361
2362 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
2363
2364 2019-06-26 Tom de Vries <tdevries@suse.de>
2365
2366 * gdb.base/index-cache.exp: Add back missing debug option.
2367
2368 2019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2369
2370 * gdb.base/alias.exp: Test non matching/non existing prefixes.
2371
2372 2019-06-25 Tom de Vries <tdevries@suse.de>
2373
2374 PR testsuite/24727
2375 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
2376
2377 2019-06-24 Tom de Vries <tdevries@suse.de>
2378
2379 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
2380
2381 2019-06-24 Tom de Vries <tdevries@suse.de>
2382
2383 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
2384 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
2385 * gdb.trace/unavailable-dwarf-piece.exp: Same.
2386
2387 2019-06-24 Tom de Vries <tdevries@suse.de>
2388
2389 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
2390
2391 2019-06-21 Tom de Vries <tdevries@suse.de>
2392
2393 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
2394
2395 2019-06-21 Tom de Vries <tdevries@suse.de>
2396
2397 PR testsuite/24518
2398 PR ada/24713
2399 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
2400 index.
2401
2402 2019-06-19 Tom Tromey <tromey@adacore.com>
2403
2404 * gdb.ada/length_cond.exp: Add intro comment.
2405
2406 2019-06-19 Tom Tromey <tromey@adacore.com>
2407
2408 * gdb.ada/length_cond.exp: New file.
2409 * gdb.ada/length_cond/length_cond.adb: New file.
2410 * gdb.ada/length_cond/pck.adb: New file.
2411 * gdb.ada/length_cond/pck.ads: New file.
2412
2413 2019-06-18 Tom de Vries <tdevries@suse.de>
2414
2415 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
2416
2417 2019-06-18 Tom Tromey <tromey@adacore.com>
2418
2419 * gdb.base/list0.h: Add comment explaining control character.
2420
2421 2019-06-18 Tom de Vries <tdevries@suse.de>
2422
2423 * boards/fission.exp: Break up long debug_flags line.
2424
2425 2019-06-16 Tom de Vries <tdevries@suse.de>
2426
2427 PR gdb/24445
2428 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
2429 generated index.
2430
2431 2019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
2432
2433 PR gdb/24686
2434 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
2435 improve detection of bug gdb/24541.
2436
2437 2019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
2438
2439 PR gdb/24669
2440 * gdb.base/index-cache.exp (uses_readnow,
2441 expecting_index_cache_use): Define global variable.
2442 (test_cache_enabled_miss, test_cache_enabled_hit): Use
2443 expecting_index_cache_use.
2444
2445 2019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
2446 Andrew Burgess <andrew.burgess@embecosm.com>
2447
2448 * gdb.fortran/pointers.f90: New file.
2449 * gdb.fortran/print_type.exp: New file.
2450 * gdb.fortran/vla-ptype.exp: Adapt expected results.
2451 * gdb.fortran/vla-type.exp: Likewise.
2452 * gdb.fortran/vla-value.exp: Likewise.
2453 * gdb.mi/mi-vla-fortran.exp: Likewise.
2454
2455 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2456
2457 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
2458 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
2459 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
2460 as a stop reason.
2461
2462 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2463
2464 * gdb.base/annota1.exp: Update expected results.
2465 * gdb.cp/annota2.exp: Likewise.
2466 * gdb.cp/annota3.exp: Likewise.
2467
2468 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2469
2470 * gdb.base/style-logging.exp: Remove path from test name.
2471
2472 2019-06-14 Tom Tromey <tromey@adacore.com>
2473
2474 PR gdb/24502:
2475 * gdb.base/style-logging.exp: New file.
2476
2477 2019-06-14 Tom Tromey <tromey@adacore.com>
2478
2479 * gdb.base/symfile-warn.exp: New file.
2480 * gdb.base/symfile-warn.c: New file.
2481
2482 2019-06-14 Tom Tromey <tromey@adacore.com>
2483
2484 * gdb.base/annotate-symlink.exp: New file.
2485
2486 2019-06-14 Tom Tromey <tromey@adacore.com>
2487
2488 * gdb.ada/set_wstr.exp: Add reassignment test.
2489
2490 2019-06-14 Tom Tromey <tromey@adacore.com>
2491
2492 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
2493 'unchecked_access and 'unrestricted_access as well.
2494
2495 2019-06-14 Tom Tromey <tromey@adacore.com>
2496
2497 PR ada/24539:
2498 * gdb.ada/vla.exp: Update tests.
2499 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
2500 pragma.
2501
2502 2019-06-13 Pedro Alves <palves@redhat.com>
2503
2504 * gdb.base/settings.exp (test-integer): Test junk after
2505 "unlimited".
2506
2507 2019-06-13 Pedro Alves <palves@redhat.com>
2508
2509 * gdb.base/options.exp (test-thread-apply): New.
2510 (top level): Call it.
2511
2512 2019-06-13 Pedro Alves <palves@redhat.com>
2513
2514 * gdb.base/options.exp (test-frame-apply): New.
2515 (top level): Test print commands with different "frame apply"
2516 prefixes.
2517
2518 2019-06-13 Pedro Alves <palves@redhat.com>
2519
2520 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
2521 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
2522 'max_completions' parameter and handle it.
2523 (test_gdb_completion_offers_commands): New.
2524
2525 2019-06-13 Pedro Alves <palves@redhat.com>
2526
2527 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
2528
2529 2019-06-13 Pedro Alves <palves@redhat.com>
2530
2531 * gdb.base/options.exp (test-backtrace): New.
2532 (top level): Call it.
2533
2534 2019-06-13 Pedro Alves <palves@redhat.com>
2535
2536 * gdb.guile/scm-frame-args.exp: Use "set print
2537 raw-frame-arguments" instead of "set print raw frame-arguments".
2538 * gdb.python/py-frame-args.exp: Likewise.
2539
2540 2019-06-13 Pedro Alves <palves@redhat.com>
2541
2542 * gdb.compile/compile.exp: Adjust expected output to option
2543 processing changes.
2544
2545 2019-06-13 Pedro Alves <palves@redhat.com>
2546
2547 * gdb.base/options.exp: Build executable.
2548 (test-print): New procedure.
2549 (top level): Call it, once for "print" and another for "compile
2550 print".
2551
2552 2019-06-13 Pedro Alves <palves@redhat.com>
2553
2554 * gdb.base/options.c: New file.
2555 * gdb.base/options.exp: New file.
2556
2557 2019-06-13 Pedro Alves <palves@redhat.com>
2558
2559 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
2560 that "o" is ambiguous.
2561
2562 2019-06-13 Pedro Alves <palves@redhat.com>
2563
2564 * gdb.base/settings.c: New file.
2565 * gdb.base/settings.exp: New file.
2566
2567 2019-06-13 Pedro Alves <palves@redhat.com>
2568
2569 * gdb.base/completion.exp: Fix comment typo.
2570
2571 2019-06-13 Pedro Alves <palves@redhat.com>
2572
2573 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
2574 foo --1" test.
2575
2576 2019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
2577
2578 * gdb.fortran/block-data.f: New.
2579 * gdb.fortran/block-data.exp: New.
2580
2581 2019-06-11 Tom de Vries <tdevries@suse.de>
2582
2583 PR testsuite/24521
2584 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
2585 message.
2586
2587 2019-06-11 Tom de Vries <tdevries@suse.de>
2588
2589 PR testsuite/24521
2590 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
2591
2592 2019-06-11 Tom de Vries <tdevries@suse.de>
2593
2594 * boards/readnow.exp: New file.
2595
2596 2019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
2597
2598 * gdb.fortran/vla-sizeof.exp: Update expected results.
2599
2600 2019-06-06 Amos Bird <amosbird@gmail.com>
2601
2602 * gdb.base/annota1.exp (thread_switch): Add test for
2603 thread-exited annotation.
2604
2605 2019-06-06 Tom Tromey <tromey@adacore.com>
2606
2607 * gdb.base/maint.exp: Expect command started/finished output.
2608
2609 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
2610
2611 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
2612 comment.
2613 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
2614
2615 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
2616
2617 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
2618 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
2619 * gdb.arch/riscv-unwind-long-insn.c: New file.
2620 * gdb.arch/riscv-unwind-long-insn.exp: New file.
2621
2622 2019-06-04 Christian Biesinger <cbiesinger@google.com>
2623
2624 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
2625
2626 2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2627
2628 * lib/gdb.exp (help_list_trailer): New regexp variable
2629 factorizing the help trailer message.
2630 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
2631 arg to allow to better factorize various tests.
2632 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
2633 (test_prefix_command_help): Use help_list_trailer.
2634 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
2635 * gdb.guile/scm-cmd.exp: Likewise.
2636 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
2637 * gdb.base/help.exp: Use test_user_defined_class_help.
2638 * gdb.base/style.exp: Add tests for styling of help and apropos.
2639 * lib/gdb-utils.exp (style): Add title and highlight styles.
2640
2641 2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2642
2643 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
2644 $_shell_exitsignal.
2645 * gdb.base/default.exp: Update for new convenience variables.
2646
2647 2019-05-29 Tom Tromey <tromey@adacore.com>
2648
2649 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
2650 to "break complete ada" test case's regexp.
2651
2652 2019-05-29 Tom Tromey <tromey@adacore.com>
2653
2654 PR c++/20020:
2655 * gdb.cp/constexpr-field.exp: New file.
2656 * gdb.cp/constexpr-field.cc: New file.
2657
2658 2019-05-29 Tom Tromey <tromey@adacore.com>
2659
2660 * gdb.base/finish.exp (finish_no_print): New proc.
2661 (finish_tests): Call it.
2662
2663 2019-05-24 Tom de Vries <tdevries@suse.de>
2664
2665 * gdb.dwarf2/gdb-add-index.exp: New file.
2666
2667 2019-05-22 Tom Tromey <tromey@adacore.com>
2668
2669 * gdb.base/info-shared.exp (check_info_shared): Use "style".
2670 * gdb.base/style.exp: Use "style".
2671 * lib/gdb-utils.exp (style): New proc.
2672
2673 2019-05-22 Tom de Vries <tdevries@suse.de>
2674
2675 * gdb.base/align.exp: Require c++11.
2676
2677 2019-05-22 Tom de Vries <tdevries@suse.de>
2678
2679 PR testsuite/24586
2680 * gdb.python/py-mi-var-info-path-expression.exp: Call
2681 mi_skip_python_tests to check if python is supported.
2682
2683 2019-05-22 Alan Hayward <alan.hayward@arm.com>
2684
2685 * gdb.arch/aarch64-pauth.c: New test.
2686 * gdb.arch/aarch64-pauth.exp: New file.
2687
2688 2019-05-22 Alan Hayward <alan.hayward@arm.com>
2689
2690 * README (Re-running Tests Outside The Testsuite): New section.
2691
2692 2019-05-21 Tom de Vries <tdevries@suse.de>
2693
2694 * gdb.arch/amd64-eval.exp: Require c++11.
2695 * gdb.base/max-depth.exp: Same.
2696 * gdb.compile/compile-cplus-array-decay.exp: Same.
2697 * gdb.cp/meth-typedefs.exp: Same.
2698 * gdb.cp/subtypes.exp: Same.
2699 * gdb.cp/temargs.exp: Same.
2700
2701 2019-05-21 Alan Hayward <alan.hayward@arm.com>
2702
2703 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
2704
2705 2019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2706
2707 PR gdb/18644
2708 * gdb.fortran/complex.exp: Remove setup_kfail calls.
2709 * gdb.fortran/printing-types.exp: Add new test.
2710 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
2711 testing.
2712 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
2713 setup_kfail call.
2714
2715 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2716
2717 * README (Running the Testsuite): Change example.
2718 (Testsuite Parameters): Remove TRANSCRIPT.
2719 * lib/gdb.exp: Remove TRANSCRIPT check.
2720
2721 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2722
2723 * README (Testsuite Parameters): Add replay logging to
2724 GDBSERVER_DEBUG.
2725 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
2726 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
2727 as a comma separated list.
2728 (gdb_debug_init): Override procedure.
2729
2730 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2731
2732 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
2733 (gdb_write_cmd_file): New procedure.
2734 * lib/gdbserver-support.exp (gdbserver_start): Call
2735 gdbserver_write_cmd_file.
2736 (gdbserver_write_cmd_file): New procedure.
2737
2738 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2739
2740 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
2741 (delete_breakpoints): Likewise.
2742 (gdb_run_cmd): Likewise.
2743 (gdb_start_cmd): Likewise.
2744 (gdb_starti_cmd): Likewise.
2745 (gdb_internal_error_resync): Likewise.
2746 (gdb_test_multiple): Likewise.
2747 (gdb_reinitialize_dir): Likewise.
2748 (default_gdb_exit): Likewise.
2749 (gdb_file_cmd): Mark kill as optional.
2750 (default_gdb_start): Call gdb_stdin_log_init.
2751 (send_gdb): Call gdb_stdin_log_write.
2752 (rerun_to_main): Mark Y as an answer.
2753 (gdb_stdin_log_init): New function.
2754 (gdb_stdin_log_write): Likewise.
2755
2756 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2757
2758 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
2759 * gdb.base/debug-expr.exp: Likewise.
2760 * gdb.base/foll-fork.exp: Likewise.
2761 * gdb.base/foll-vfork.exp: Likewise.
2762 * gdb.base/fork-print-inferior-events.exp: Likewise.
2763 * gdb.base/gdb-sigterm.exp: Likewise.
2764 * gdb.base/gdbinit-history.exp: Likewise.
2765 * gdb.base/osabi.exp: Likewise.
2766 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
2767 * gdb.base/ui-redirect.exp: Likewise.
2768 * gdb.gdb/unittest.exp: Likewise.
2769 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
2770 * gdb.mi/mi-watch.exp: Likewise.
2771 * gdb.mi/new-ui-mi-sync.exp: Likewise.
2772 * gdb.mi/user-selected-context-sync.exp: Likewise.
2773 * gdb.python/python.exp: Disable debug test when debugging.
2774 * gdb.threads/check-libthread-db.exp: Disable when debugging.
2775 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2776 Likewise.
2777 * gdb.threads/stepi-random-signal.exp: Likewise.
2778
2779 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2780
2781 * Makefile.in: Pass through GDB_DEBUG.
2782 * README (Testsuite Parameters): Add GDB_DEBUG.
2783 (gdb,debug): Add board setting.
2784 * lib/gdb.exp (default_gdb_start): Start debugging.
2785 (gdb_debug_enabled): New procedure.
2786 (gdb_debug_init): Likewise.
2787
2788 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2789
2790 * Makefile.in: Pass through GDB_DEBUG.
2791 * README (Testsuite Parameters): Add GDB_DEBUG.
2792 (gdb,debug): Add board setting.
2793 * lib/gdb.exp (default_gdb_start): Start debugging.
2794 (gdb_debug_enabled): New procedure.
2795 (gdb_debug_init): Likewise.
2796
2797 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2798
2799 * gdb.base/ui-redirect.exp: Add debug redirect tests.
2800
2801 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2802
2803 * gdb.base/ui-redirect.exp: Test redirection.
2804
2805 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
2806
2807 * gdb.mi/mi-complete.exp: New file.
2808 * gdb.mi/mi-complete.cc: Likewise.
2809
2810 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
2811
2812 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
2813 indexed and sliced arrays, and pointers to arrays.
2814
2815 2019-05-14 Tom Tromey <tromey@adacore.com>
2816
2817 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
2818 styling test.
2819
2820 2019-05-14 Tom de Vries <tdevries@suse.de>
2821
2822 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
2823 selection entry encoding.
2824
2825 2019-05-10 Tom Tromey <tromey@adacore.com>
2826
2827 * gdb.ada/info_exc.exp: Add "complete" test.
2828
2829 2019-05-09 Tom de Vries <tdevries@suse.de>
2830
2831 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
2832 CU-relative.
2833
2834 2019-05-09 Tom de Vries <tdevries@suse.de>
2835
2836 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
2837 CU-relative.
2838
2839 2019-05-08 Joel Brobecker <brobecker@adacore.com>
2840
2841 * gdb.ada/frame_arg_lang.exp: New testcase.
2842 * gdb.ada/frame_arg_lang/bla.adb: New file.
2843 * gdb.ada/frame_arg_lang/pck.ads: New file.
2844 * gdb.ada/frame_arg_lang/pck.adb: New file.
2845 * gdb.ada/frame_arg_lang/foo.c: New file.
2846
2847 2019-05-08 Tom Tromey <tromey@adacore.com>
2848
2849 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
2850
2851 2019-05-08 Tom Tromey <tromey@adacore.com>
2852
2853 * gdb.base/ptype-offsets.exp: Update tests.
2854
2855 2019-05-08 Tom Tromey <tromey@adacore.com>
2856
2857 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
2858 cases.
2859 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
2860 "short".
2861
2862 2019-05-08 Tom Tromey <tromey@adacore.com>
2863
2864 * gdb.ada/vla.exp: New file.
2865 * gdb.ada/vla/vla.adb: New file.
2866
2867 2019-05-07 Tom de Vries <tdevries@suse.de>
2868
2869 * gdb.base/index-cache.exp (ls_host): Fix return statement.
2870
2871 2019-05-07 Tom de Vries <tdevries@suse.de>
2872
2873 PR testsuite/24522
2874 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
2875 section.
2876
2877 2019-05-07 Tom de Vries <tdevries@suse.de>
2878
2879 PR testsuite/24522
2880 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
2881 .debug_aranges section.
2882
2883 2019-05-07 Tom de Vries <tdevries@suse.de>
2884
2885 PR testsuite/24159
2886 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
2887
2888 2019-05-06 Tom de Vries <tdevries@suse.de>
2889
2890 * lib/gdb.exp (exec_has_index_section): New proc.
2891 * gdb.base/index-cache.exp: Handle case that binfile contains an index
2892 section.
2893
2894 2019-05-04 Tom de Vries <tdevries@suse.de>
2895
2896 * boards/cc-with-debug-names.exp: New file.
2897
2898 2019-05-03 Tom Tromey <tromey@adacore.com>
2899
2900 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
2901 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
2902 * gdb.ada/char_enum.exp: Add test.
2903
2904 2019-05-03 Tom de Vries <tdevries@suse.de>
2905
2906 * boards/cc-with-gdb-index.exp: New file.
2907
2908 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
2909
2910 * gdb.rust/simple.exp: Add new test case.
2911 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
2912 (main): Initialise an instance of the new struct.
2913
2914 2019-05-01 Tom Tromey <tromey@adacore.com>
2915
2916 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
2917 record.
2918 (NPR): New variable.
2919 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
2920 test.
2921
2922 2019-05-01 Tom Tromey <tromey@adacore.com>
2923
2924 * gdb.ada/packed_array_assign.exp: Add packed assignment
2925 regression test.
2926
2927 2019-05-01 Tom de Vries <tdevries@suse.de>
2928
2929 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
2930
2931 2019-05-01 Tom de Vries <tdevries@suse.de>
2932
2933 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
2934
2935 2019-04-30 Ali Tamur <tamur@google.com>
2936
2937 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
2938
2939 2019-04-30 Tom Tromey <tromey@adacore.com>
2940
2941 * lib/ada.exp (find_ada_tool): New proc.
2942 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
2943 * gdb.ada/catch_ex_std.exp: New file.
2944 * gdb.ada/catch_ex_std/foo.adb: New file.
2945 * gdb.ada/catch_ex_std/some_package.adb: New file.
2946 * gdb.ada/catch_ex_std/some_package.ads: New file.
2947
2948 2019-04-30 Tom Tromey <tromey@adacore.com>
2949
2950 PR c++/24470:
2951 * gdb.cp/temargs.cc: Add test code from PR.
2952
2953 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2954
2955 * gdb.fortran/vla-datatypes.exp: Update expected results.
2956 * gdb.fortran/vla-ptype.exp: Likewise.
2957 * gdb.fortran/vla-type.exp: Likewise.
2958 * gdb.fortran/vla-value.exp: Likewise.
2959
2960 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2961
2962 * gdb.fortran/ptr-indentation.exp: Update expected results.
2963 * gdb.fortran/ptype-on-functions.exp: Likewise.
2964 * gdb.fortran/vla-ptr-info.exp: Likewise.
2965 * gdb.fortran/vla-value.exp: Likewise.
2966
2967 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2968
2969 * gdb.fortran/ptype-on-functions.exp: New file.
2970 * gdb.fortran/ptype-on-functions.f90: New file.
2971
2972 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2973
2974 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
2975 case void string.
2976
2977 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2978
2979 * gdb.fortran/complex.exp: Expand.
2980 * gdb.fortran/complex.f: Renamed to...
2981 * gdb.fortran/complex.f90: ...this, and extended to add more
2982 complex values.
2983
2984 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2985
2986 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
2987 MODULO, CMPLX.
2988
2989 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
2990 Richard Bunt <richard.bunt@arm.com>
2991
2992 * gdb.base/max-depth.c: New file.
2993 * gdb.base/max-depth.exp: New file.
2994 * gdb.python/py-nested-maps.c: New file.
2995 * gdb.python/py-nested-maps.exp: New file.
2996 * gdb.python/py-nested-maps.py: New file.
2997 * gdb.python/py-format-string.exp (test_max_depth): New proc.
2998 (test_all_common): Call test_max_depth.
2999 * gdb.fortran/max-depth.exp: New file.
3000 * gdb.fortran/max-depth.f90: New file.
3001 * gdb.go/max-depth.exp: New file.
3002 * gdb.go/max-depth.go: New file.
3003 * gdb.modula2/max-depth.exp: New file.
3004 * gdb.modula2/max-depth.c: New file.
3005 * lib/gdb.exp (get_print_expr_at_depths): New proc.
3006
3007 2019-04-29 Tom de Vries <tdevries@suse.de>
3008
3009 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
3010
3011 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3012
3013 * gdb.base/callexit.exp: Test may-call-functions off.
3014
3015 2019-04-25 Keith Seitz <keiths@redhat.com>
3016
3017 PR c++/24367
3018 * gdb.cp/meth-typedefs.cc (incomplete_struct)
3019 (another_incomplete_struct, test_incomplete): New definitions.
3020 (main): Use new definitions.
3021 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
3022 functions.
3023
3024 2019-04-25 Ali Tamur <tamur@google.com>
3025
3026 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
3027
3028 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
3029
3030 PR corefiles/11608
3031 PR corefiles/18187
3032 * gdb.base/coredump-filter-build-id.exp: New file.
3033
3034 2019-04-25 Alan Hayward <alan.hayward@arm.com>
3035
3036 * Makefile.in: Pass through GDBSERVER_DEBUG.
3037 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
3038 (gdbserver,debug): Add board setting.
3039 * gdb.trace/tspeed.exp: Skip when debugging.
3040 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
3041 * lib/gdbserver-support.exp: Likewise
3042
3043 2019-04-24 Tom Tromey <tromey@adacore.com>
3044
3045 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
3046 Rust.
3047
3048 2019-04-24 Tom Tromey <tromey@adacore.com>
3049
3050 * gdb.arch/amd64-eval.exp: Test bitfield return.
3051 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
3052 (class Foo) <return_bitfields>: New method.
3053 (main): Call it.
3054
3055 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
3056
3057 * gdb.cp/many-args.cc: New file.
3058 * gdb.cp/many-args.exp: New file.
3059
3060 2019-04-23 Tom de Vries <tdevries@suse.de>
3061
3062 PR gdb/24433
3063 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
3064
3065 2019-04-23 Alan Hayward <alan.hayward@arm.com>
3066
3067 * gdb.trace/backtrace.exp: Use nopie flag.
3068 * gdb.trace/circ.exp: Likewise.
3069 * gdb.trace/collection.exp: Likewise.
3070 * gdb.trace/ftrace.exp: Likewise.
3071 * gdb.trace/mi-trace-unavailable.exp: Likewise.
3072 * gdb.trace/mi-traceframe-changed.exp: Likewise.
3073 * gdb.trace/qtro.exp: Likewise.
3074 * gdb.trace/read-memory.exp: Likewise.
3075 * gdb.trace/report.exp: Likewise.
3076 * gdb.trace/tfile.exp: Likewise.
3077 * gdb.trace/tfind.exp: Likewise.
3078 * gdb.trace/unavailable.exp: Likewise.
3079
3080 2019-04-22 Pedro Alves <palves@redhat.com>
3081
3082 * gdb.base/solib-probes-nosharedlibrary.c,
3083 gdb.base/solib-probes-nosharedlibrary.exp: New files.
3084
3085 2019-04-19 Tom Tromey <tromey@adacore.com>
3086
3087 * gdb.ada/ptype_union.c: New file.
3088 * gdb.ada/ptype_union.exp: New file.
3089
3090 2019-04-19 Tom Tromey <tromey@adacore.com>
3091
3092 PR symtab/24423:
3093 * gdb.base/list0.h (foo): Add a control-l character.
3094
3095 2019-04-18 Tom de Vries <tdevries@suse.de>
3096
3097 PR gdb/24433
3098 * boards/local-board.exp: Set sysroot to "".
3099
3100 2019-04-18 Tom de Vries <tdevries@suse.de>
3101 Pedro Alves <palves@redhat.com>
3102
3103 PR gdb/24454
3104 * gdb.threads/vfork-follow-child-exec.c: New file.
3105 * gdb.threads/vfork-follow-child-exec.exp: New file.
3106 * gdb.threads/vfork-follow-child-exit.c: New file.
3107 * gdb.threads/vfork-follow-child-exit.exp: New file.
3108
3109 2019-04-15 Leszek Swirski <leszeks@google.com>
3110
3111 * gdb.arch/amd64-eval.cc: New file.
3112 * gdb.arch/amd64-eval.exp: New file.
3113
3114 2019-04-11 Alan Hayward <alan.hayward@arm.com>
3115
3116 * gdb.server/sysroot.c: New test.
3117 * gdb.server/sysroot.exp: New file.
3118 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
3119 matching param.
3120
3121 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
3122
3123 * gdb.base/align.exp: Extend test to cover structures containing
3124 only static fields.
3125
3126 2019-04-11 Tom de Vries <tdevries@suse.de>
3127
3128 * boards/cc-with-dwz-m.exp: New file.
3129 * boards/cc-with-dwz.exp: New file.
3130 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
3131
3132 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
3133
3134 * gdb.base/start-cpp.exp: New file.
3135 * gdb.base/start-cpp.cc: New file.
3136
3137 2019-04-08 Kevin Buettner <kevinb@redhat.com>
3138
3139 * gdb.python/py-thrhandle.exp: Adjust tests to call
3140 thread_from_handle instead of thread_from_thread_handle.
3141
3142 2019-04-08 Kevin Buettner <kevinb@redhat.com>
3143
3144 * gdb.python/py-thrhandle.exp: Add tests for
3145 gdb.InferiorThread.handle.
3146
3147 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
3148
3149 * gdb.python/py-function.exp: Check calling helper function from
3150 all languages.
3151 * lib/gdb.exp (gdb_supported_languages): New proc.
3152
3153 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
3154
3155 * gdb.base/complex-parts.c: New file.
3156 * gdb.base/complex-parts.exp: New file.
3157
3158 2019-04-01 Tom Tromey <tromey@adacore.com>
3159
3160 PR symtab/23331:
3161 * gdb.dwarf2/dw2-ranges-main.c: New file.
3162 * gdb.dwarf2/dw2-ranges-psym.c: New file.
3163 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
3164
3165 2019-03-30 Simon Marchi <simark@simark.ca>
3166
3167 * gdb.base/default.exp: Add values for $_gdb_major and
3168 $_gdb_minor.
3169
3170 2019-03-29 Tom Tromey <tromey@adacore.com>
3171
3172 * gdb.base/help.exp: Tighten apropos regexp.
3173
3174 2019-03-29 Keith Seitz <keiths@redhat.com>
3175
3176 * gdb.fortran/array-bounds.exp: New file.
3177 * gdb.fortran/array-bounds.f90: New file.
3178
3179 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3180
3181 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
3182
3183 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3184
3185 * gdb.multi/hello.c (main): Increase alarm timer.
3186
3187 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
3188
3189 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
3190 factor when no hardware watchpoint support.
3191
3192 2019-03-28 Alan Hayward <alan.hayward@arm.com>
3193 Pedro Alves <palves@redhat.com>
3194
3195 * boards/local-board.exp: set sysroot to /.
3196
3197 2019-03-27 Alan Hayward <alan.hayward@arm.com>
3198
3199 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
3200 in child.
3201
3202 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
3203
3204 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
3205 field.
3206 (make_container): Initialise new field.
3207 * gdb.python/py-prettyprint.exp: Add new tests.
3208 * gdb.python/py-prettyprint.py (class ContainerPrinter)
3209 <display_hint>: New method.
3210
3211 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
3212
3213 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
3214 gdb_continue_to_breakpoint more throughout this test.
3215 (run_lang_tests) Supply unique test names, and use
3216 gdb_test_no_output.
3217
3218 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
3219
3220 * gdb.base/finish-pretty.exp: Update expected results.
3221 * gdb.base/pretty-print.c: New file.
3222 * gdb.base/pretty-print.exp: New file.
3223
3224 2019-03-25 Pedro Alves <palves@redhat.com>
3225
3226 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
3227 move comments outside list. Append '-i "" eof' section.
3228
3229 2019-03-22 Alan Hayward <alan.hayward@arm.com>
3230
3231 PR testsuite/25016
3232 * README: Add pie options.
3233 * gdb.base/break-interp.exp: Ensure pie is disabled.
3234 * gdb.base/dump.exp: Likewise.
3235 * lib/gdb.exp (gdb_compile): Add pie option.
3236
3237 2019-03-19 Tom Tromey <tromey@adacore.com>
3238
3239 * gdb.mi/mi2-cli-display.c: New file.
3240 * gdb.mi/mi2-cli-display.exp: New file.
3241
3242 2019-03-18 Joel Brobecker <brobecker@adacore.com>
3243 Tom Tromey <tromey@adacore.com>
3244
3245 * gdb.ada/ptype_array/pck.adb: New file.
3246 * gdb.ada/ptype_array/pck.ads: New file.
3247 * gdb.ada/ptype_array/foo.adb: New file.
3248 * gdb.ada/ptype_array.exp: New file.
3249
3250 2019-03-14 Tom Tromey <tromey@adacore.com>
3251
3252 * gdb.base/style.exp: Add "set style sources" test.
3253
3254 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
3255
3256 * mi-breakpoint-location-ena-dis.exp: Rename to ...
3257 * mi-breakpoint-multiple-locations.exp: ... this.
3258 (make_breakpoints_pattern): New proc.
3259 (do_test): Add mi_version parameter, test -break-insert,
3260 -break-info and =breakpoint-created.
3261
3262 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
3263
3264 * config/default.exp: Remove 'load_lib gdb.exp'.
3265 * config/monitor.exp: Likewise.
3266 * config/sid.exp: Likewise.
3267 * config/sim.exp: Likewise.
3268 * config/slite.exp: Likewise.
3269 * config/unix.exp: Likewise.
3270 * gdb.base/default.exp: Remove unhelpful comment.
3271
3272 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3273
3274 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
3275
3276 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3277
3278 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
3279
3280 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3281
3282 * gdb.fortran/type-kinds.exp: Update expected results.
3283
3284 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3285
3286 * gdb.fortran/type-kinds.exp: Test new integer type kind.
3287
3288 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3289
3290 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
3291 function.
3292 (test_basic_parsing_of_type_kinds): Expand types tested.
3293 (test_parsing_invalid_type_kinds): New function.
3294
3295 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3296
3297 * gdb.fortran/intrinsics.exp: New file.
3298 * gdb.fortran/intrinsics.f90: New file.
3299 * gdb.fortran/type-kinds.exp: New file.
3300
3301 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3302
3303 * gdb.fortran/dot-ops.exp: New file.
3304
3305 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3306
3307 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
3308 Check upper and lower case logical literals.
3309
3310 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3311
3312 * gdb.fortran/types.exp (test_float_literal_types_accepted):
3313 Remove duplicate tests.
3314
3315 2019-03-06 Alan Hayward <alan.hayward@arm.com>
3316
3317 * lib/gdb.exp (builtin_cd): rename of cd.
3318 (cd): Override builtin.
3319
3320 2019-03-06 Richard Bunt <richard.bunt@arm.com>
3321
3322 * gdb.fortran/function-calls.exp: New file.
3323 * gdb.fortran/function-calls.f90: New test.
3324
3325 2019-03-04 Richard Bunt <richard.bunt@arm.com>
3326
3327 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
3328 on user program standard output.
3329 * gdb.fortran/short-circuit-argument-list.f90: Record function
3330 calls.
3331
3332 2019-02-28 Alan Hayward <alan.hayward@arm.com>
3333
3334 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
3335 failure.
3336
3337 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3338
3339 PR gdb/8527
3340 * gdb.base/interrupt-daemon-attach.c,
3341 gdb.base/interrupt-daemon-attach.exp: New test.
3342
3343 2019-02-27 Pedro Alves <palves@redhat.com>
3344
3345 * gdb.base/page.exp: Add tests for "set width/height -1".
3346
3347 2019-02-27 Pedro Alves <palves@redhat.com>
3348
3349 * gdb.base/page.exp: Add tests for "set/show width/height" with
3350 "infinite" values.
3351
3352 2019-02-27 Tom Tromey <tromey@adacore.com>
3353
3354 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
3355 2.4.
3356 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
3357 workaround.
3358
3359 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
3360
3361 * gdb.base/align.exp: Extend to compile in both C and C++, and add
3362 tests for structs with static members.
3363
3364 2019-02-26 Tom Tromey <tromey@adacore.com>
3365
3366 * gdb.python/py-value.exp (test_value_from_buffer): Check for
3367 ValueError, not TypeError.
3368
3369 2019-02-26 Kevin Buettner <kevinb@redhat.com>
3370
3371 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
3372 call from main program.
3373
3374 2019-02-23 Joel Brobecker <brobecker@adacore.com>
3375
3376 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
3377 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
3378 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
3379 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
3380 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
3381
3382 2019-02-22 Keith Seitz <keiths@redhat.com>
3383
3384 PR symtab/23853
3385 * gdb.base/symlink-sourcefile.c: New file.
3386 * gdb.base/symlink-sourcefile.exp: New file.
3387
3388 2019-02-20 Tom Tromey <tom@tromey.com>
3389
3390 * gdb.base/info_qt.exp: Update.
3391
3392 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
3393
3394 * gdb.base/source.exp: Move "error in sourced script" code to
3395 the end.
3396 * gdb.base/source-error.gdb: Move contents to
3397 source-error-1.gdb. Add new code to source source-error-1.gdb.
3398 * gdb.base/source-error-1.gdb: New file, from previous
3399 source-error.gdb.
3400
3401 2019-02-17 Tom Tromey <tom@tromey.com>
3402
3403 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
3404 for macro styling.
3405 * gdb.base/style.c (SOME_MACRO): New macro.
3406
3407 2019-02-17 Tom Tromey <tom@tromey.com>
3408
3409 * gdb.base/style.exp: Add line-wrapping tests.
3410 * gdb.base/page.exp: Add test for quitting during pagination.
3411
3412 2019-02-17 Joel Brobecker <brobecker@adacore.com>
3413
3414 * gdb.ada/big_packed_array: New testcase.
3415 * gdb.ada/homonym.exp: Fix incorrect expected output for
3416 "break <homonym__get_value>" test.
3417
3418 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
3419
3420 PR breakpoints/21870
3421 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
3422 and prepare_for_testing. Add comment.
3423 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
3424 redundant cleanup call. Clean up comment.
3425
3426 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
3427
3428 PR breakpoints/21870
3429 * gdb.arch/aarch64-dbreg-contents.exp: New file.
3430 * gdb.arch/aarch64-dbreg-contents.c: New file.
3431
3432 2019-02-10 Joel Brobecker <brobecker@adacore.com>
3433
3434 * gdb.ada/mi_ref_changeable: New testcase.
3435
3436 2019-02-07 Alan Hayward <alan.hayward@arm.com>
3437
3438 * gdb.base/attach.exp: Add double attach test.
3439
3440 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
3441
3442 * lib/gdb.exp (default_gdb_start): Don't match pagination
3443 prompt.
3444 (gdb_init): Set stty_init.
3445
3446 2019-01-27 Tom Tromey <tom@tromey.com>
3447
3448 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
3449 skip_python_tests.
3450
3451 2019-01-24 Alan Hayward <alan.hayward@arm.com>
3452
3453 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
3454 New structure.
3455 (struct struct_static_02_02): Likewise.
3456 (struct struct_static_02_03): Likewise.
3457 (struct struct_static_02_04): Likewise.
3458 (struct struct_static_04_01): Likewise.
3459 (struct struct_static_04_02): Likewise.
3460 (struct struct_static_04_03): Likewise.
3461 (struct struct_static_04_04): Likewise.
3462 (struct struct_static_06_01): Likewise.
3463 (struct struct_static_06_02): Likewise.
3464 (struct struct_static_06_03): Likewise.
3465 (struct struct_static_06_04): Likewise.
3466 (cmp_struct_static_02_01): Likewise.
3467 (cmp_struct_static_02_02): Likewise.
3468 (cmp_struct_static_02_03): Likewise.
3469 (cmp_struct_static_02_04): Likewise.
3470 (cmp_struct_static_04_01): Likewise.
3471 (cmp_struct_static_04_02): Likewise.
3472 (cmp_struct_static_04_03): Likewise.
3473 (cmp_struct_static_04_04): Likewise.
3474 (cmp_struct_static_06_01): Likewise.
3475 (cmp_struct_static_06_02): Likewise.
3476 (cmp_struct_static_06_03): Likewise.
3477 (cmp_struct_static_06_04): Likewise.
3478 (call_all): Test new structs.
3479 * gdb.base/infcall-nested-structs.exp: Likewise.
3480
3481 2019-01-21 Alan Hayward <alan.hayward@arm.com>
3482 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
3483
3484 2019-01-21 Alan Hayward <alan.hayward@arm.com>
3485 * gdb.base/stack-protector.c: New test.
3486 * gdb.base/stack-protector.exp: New file.
3487 * gdb.cp/ovldbreak.exp: Only allow a single break line.
3488 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
3489 option.
3490 (gdb_compile): Remove stack protector for GCC and prevent
3491 recursion.
3492
3493 2019-01-16 Keith Seitz <keiths@redhat.com>
3494
3495 PR gdb/23773
3496 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
3497
3498 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3499
3500 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
3501 aliases.
3502 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
3503 tests.
3504 * gdb.arch/powerpc-vector-regs.c: New file.
3505 * gdb.arch/powerpc-vector-regs.exp: New file.
3506
3507 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3508
3509 * gdb.arch/altivec-regs.exp: Fix the list passed to
3510 gdb_expect_list when testing "info vector".
3511
3512 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
3513
3514 * gdb.base/style.exp: Don't include path in testname.
3515
3516 2019-01-10 Keith Seitz <keiths@redhat.com>
3517
3518 PR gdb/23712
3519 PR symtab/23010
3520 * gdb.dwarf2/multidictionary.exp: New file.
3521
3522 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
3523
3524 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
3525 (test_gnuv3_style_demangling): ... this.
3526 (test_lucid_style_demangling): Remove.
3527 (test_arm_style_demangling): Remove.
3528 (test_hp_style_demangling): Remove.
3529 (do_tests): Remove calls to the above.
3530
3531 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3532
3533 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
3534 case.
3535
3536 2019-01-06 Tom Tromey <tom@tromey.com>
3537
3538 PR gdb/28155:
3539 * gdb.dwarf2/typedef-void-finish.exp: New file.
3540
3541 2018-12-28 Tom Tromey <tom@tromey.com>
3542 Simon Marchi <simark@simark.ca>
3543
3544 * gdb.base/jit-exec.exp: New file.
3545 * gdb.base/jit-exec.c: New file.
3546 * gdb.base/jit-execd.c: New file.
3547
3548 2018-12-28 Tom Tromey <tom@tromey.com>
3549
3550 * gdb.base/style.exp: Update test to check for address styling.
3551
3552 2018-12-28 Tom Tromey <tom@tromey.com>
3553
3554 * gdb.base/style.exp: Add test for styling of "Reading symbols"
3555 message.
3556
3557 2018-12-28 Tom Tromey <tom@tromey.com>
3558
3559 * gdb.base/style.exp: Add test for version number styling.
3560
3561 2018-12-28 Tom Tromey <tom@tromey.com>
3562
3563 * gdb.base/style.exp: Add test for print_address_symbolic.
3564
3565 2018-12-28 Tom Tromey <tom@tromey.com>
3566
3567 * gdb.base/style.exp: Add test for breakpoint setting.
3568
3569 2018-12-28 Tom Tromey <tom@tromey.com>
3570
3571 * gdb.base/style.exp: Add test for variable names.
3572
3573 2018-12-28 Tom Tromey <tom@tromey.com>
3574
3575 * gdb.base/style.exp: New file.
3576 * gdb.base/style.c: New file.
3577
3578 2018-12-28 Tom Tromey <tom@tromey.com>
3579
3580 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
3581 "dumb".
3582 * gdb.base/readline.exp (operate_and_get_next): Save and restore
3583 the TERM environment variable.
3584
3585 2018-12-27 Tom Tromey <tom@tromey.com>
3586
3587 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
3588 pagination test.
3589
3590 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
3591
3592 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
3593 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
3594
3595 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3596
3597 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
3598 Filename a.adb changed to bp_fun_addr.adb.
3599 gdb.ada/bp_fun_addr.exp: Update test accordingly.
3600
3601 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
3602
3603 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
3604 non-PIE executables.
3605 * README: Mention the gdb,nopie_flag board setting.
3606 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
3607 non-PIE executable.
3608 * gdb.arch/amd64-entry-value.exp: Likewise.
3609 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
3610 * gdb.arch/i386-float.exp: Likewise.
3611 * gdb.arch/i386-signal.exp: Likewise.
3612 * gdb.mi/mi-reg-undefined.exp: Likewise.
3613
3614 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
3615
3616 PR gdb/23974
3617 * gdb.base/info-os.exp: Check return for unknown "info os" type.
3618
3619 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3620
3621 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
3622 Update order of results accordingly.
3623
3624 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
3625
3626 * gdb.base/annota1.exp: Update a test regexp.
3627
3628 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
3629
3630 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
3631
3632 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3633
3634 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
3635 (reuse_time): Initialize to REUSE_TIME_CAP.
3636 (check_rc): New function.
3637 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
3638 Check pthread_create rc.
3639 (spawner_thread_func): Check pthread_create and pthread_join rc.
3640
3641 2018-12-08 Pedro Alves <palves@redhat.com>
3642
3643 * gdb.base/list.exp (test_forward_search): Rename to ...
3644 (test_forward_reverse_search): ... this. Also test reverse-search
3645 and the forward-search alias.
3646
3647 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
3648
3649 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
3650 local timeout variable before return, and remove all local timeout
3651 variable entirely.
3652 (gdb_load): Likewise.
3653
3654 2018-12-01 Tom de Vries <tdevries@suse.de>
3655
3656 * gdb.base/gdb-caching-proc.exp: New file.
3657
3658 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
3659
3660 * Makefile.in (TIMESTAMP): New variable.
3661 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
3662 command.
3663 (check-single-racy): Likewise.
3664 (check/%.exp): Likewise.
3665 (check-racy/%.exp): Likewise.
3666 (workers/%.worker): Likewise.
3667 (build-perf): Likewise.
3668 (check-perf): Likewise.
3669 * README: Describe new "TS" and "TS_FORMAT" variables.
3670 * print-ts.py: New file.
3671
3672 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
3673
3674 PR python/23714
3675 * gdb.python/python.exp: Test command repetition after
3676 gdb.execute.
3677
3678 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
3679
3680 * gdb.opt/inline-break.exp: Add test that info breakpoint output
3681 is correctly aligned.
3682
3683 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3684
3685 * gdb.ada/info_auto_lang.exp: New testcase.
3686 * gdb.ada/info_auto_lang/global_pack.ads: New file.
3687 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
3688 * gdb.ada/info_auto_lang/some_c.c: New file.
3689
3690 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3691
3692 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
3693 FUNC_lang language syntax.
3694
3695 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3696
3697 * gdb.base/info_minsym.c: New file.
3698 * gdb.base/info_minsym.exp: New file.
3699
3700 2018-11-19 Tom Tromey <tom@tromey.com>
3701
3702 PR rust/23625:
3703 * gdb.rust/simple.exp: Add ptype test. Update expected output.
3704 * gdb.rust/expr.exp: Update expected output. Change one test.
3705
3706 2018-11-19 Tom Tromey <tom@tromey.com>
3707
3708 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
3709
3710 2018-11-19 Pedro Alves <palves@redhat.com>
3711
3712 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
3713 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
3714 see the expected warning.
3715
3716 2018-11-16 Alan Hayward <alan.hayward@arm.com>
3717
3718 PR gdb/22736:
3719 * gdb.cp/infcall-nodebug-lib.c: New test.
3720 * gdb.cp/infcall-nodebug-main.c: New test.
3721 * gdb.cp/infcall-nodebug.exp: New file.
3722
3723 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
3724
3725 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
3726 completer tests.
3727
3728 2018-11-09 Tom de Vries <tdevries@suse.de>
3729
3730 * gdb.base/msym-lang.c: New test.
3731 * gdb.base/msym-lang.exp: New file.
3732 * gdb.base/msym-lang-main.c: New test.
3733
3734 2018-11-08 Tom Tromey <tom@tromey.com>
3735
3736 PR gdb/23555:
3737 PR gdb/23838:
3738 * gdb.base/warning.exp: New file.
3739
3740 2018-11-08 Jan Beulich <jbeulich@suse.com>
3741
3742 * testsuite/gdb.arch/i386-avx512.c,
3743 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
3744
3745 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
3746
3747 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
3748 point hardware.
3749
3750 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
3751
3752 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
3753 * gdb.dwarf2/missing-type-name.exp: New file.
3754
3755 2018-11-06 Tom de Vries <tdevries@suse.de>
3756
3757 * gdb.base/many-headers.c: New test.
3758 * gdb.base/many-headers.exp: New file.
3759
3760 2018-11-06 Jim Wilson <jimw@sifive.com>
3761
3762 * gdb.base/code_elim.exp: For riscv, set additional_flags
3763 to include -msmall-data-limit=0.
3764
3765 2018-11-01 Joel Brobecker <brobecker@adacore.com>
3766
3767 * gdb.ada/watch_minus_l: New testcase.
3768
3769 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
3770
3771 * gdb.arch/aix-sighandle.c: New file.
3772 * gdb.arch/aix-sighandle.exp: New file.
3773
3774 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3775
3776 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
3777 registers being unions.
3778
3779 2018-10-31 Tom de Vries <tdevries@suse.de>
3780
3781 * lib/valgrind.exp: New file.
3782 (vgdb_start, vgdb_stop): New procs, factored out of ...
3783 * gdb.base/valgrind-bt.exp: ... here, ...
3784 * gdb.base/valgrind-disp-step.exp: ... here and ...
3785 * gdb.base/valgrind-infcall.exp: ... here.
3786
3787 2018-10-31 Tom de Vries <tdevries@suse.de>
3788
3789 * lib/gdb.exp (get_valueof): Don't output read value in test name.
3790
3791 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3792
3793 * gdb.dwarf2/void-type.c: New file.
3794 * gdb.dwarf2/void-type.exp: New file.
3795
3796 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3797
3798 * gdb.base/info_qt.c: New file.
3799 * gdb.base/info_qt.exp: New file.
3800
3801 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3802
3803 * gdb.arch/powerpc-htm-regs.c: New file.
3804 * gdb.arch/powerpc-htm-regs.exp: New file.
3805
3806 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3807
3808 * gdb.arch/powerpc-tar.c: New file.
3809 * gdb.arch/powerpc-tar.exp: New file.
3810
3811 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3812
3813 * gdb.arch/powerpc-ppr-dscr.c: New file.
3814 * gdb.arch/powerpc-ppr-dscr.exp: New file.
3815
3816 2018-10-25 Tom de Vries <tdevries@suse.de>
3817
3818 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
3819
3820 2018-10-24 Tom de Vries <tdevries@suse.de>
3821
3822 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
3823 longer exists error.
3824
3825 2018-10-24 Tom de Vries <tdevries@suse.de>
3826
3827 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
3828
3829 2018-10-24 Tom de Vries <tdevries@suse.de>
3830
3831 * gdb.base/valgrind-db-attach.exp: Handle removed support for
3832 --db-attach in valgrind.
3833
3834 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
3835
3836 * gdb.arch/riscv-reg-aliases.c: New file.
3837 * gdb.arch/riscv-reg-aliases.exp: New file.
3838
3839 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3840
3841 * gdb.python/py-cmd.exp: Check for gdb_prompt.
3842
3843 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3844
3845 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
3846
3847 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3848
3849 * gdb.cp/ovldbreak.exp: Fix regexps.
3850
3851 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3852
3853 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
3854
3855 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
3856
3857 PR cli/23785
3858 * gdb.base/restore.exp: New test to check if "restore" with an
3859 invalid file doesn't segfault.
3860
3861 2018-10-18 Tom de Vries <tdevries@suse.de>
3862
3863 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
3864 * gdb.ada/excep_handle.exp: Same.
3865 * gdb.ada/mi_string_access.exp: Same.
3866 * gdb.ada/mi_var_union.exp: Same.
3867 * gdb.arch/arc-analyze-prologue.exp: Same.
3868 * gdb.arch/arc-decode-insn.exp: Same.
3869 * gdb.base/readnever.exp: Same.
3870 * gdb.fortran/printing-types.exp: Same.
3871 * gdb.guile/scm-lazy-string.exp: Same.
3872
3873 2018-10-16 Tom de Vries <tdevries@suse.de>
3874
3875 PR gdb/23730
3876 * gdb.base/catch-follow-exec.c: Add copyright notice.
3877 * gdb.base/catch-follow-exec.exp: Rewrite to use
3878 gdb_spawn_with_cmdline_opts. Require gdb-native.
3879
3880 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
3881
3882 * gdb.trace/actions-changed.exp: Check for arch support.
3883 * gdb.trace/actions.exp: Likewise.
3884 * gdb.trace/ax.exp: Likewise.
3885 * gdb.trace/backtrace.exp: Likewise.
3886 * gdb.trace/change-loc.exp: Likewise.
3887 * gdb.trace/deltrace.exp: Likewise.
3888 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
3889 * gdb.trace/ftrace.exp: Likewise.
3890 * gdb.trace/infotrace.exp: Check for arch support.
3891 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
3892 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
3893 * gdb.trace/mi-tsv-changed.exp: Likewise.
3894 * gdb.trace/packetlen.exp: Likewise.
3895 * gdb.trace/passc-dyn.exp: Likewise.
3896 * gdb.trace/passcount.exp: Likewise.
3897 * gdb.trace/pending.exp: Likewise.
3898 * gdb.trace/range-stepping.exp: Check for shlib support.
3899 * gdb.trace/report.exp: Check for arch support.
3900 * gdb.trace/save-trace.exp: Likewise.
3901 * gdb.trace/signal.exp: Check for signal support.
3902 * gdb.trace/tfind.exp: Check for arch support.
3903 * gdb.trace/trace-break.exp: Check for arch and shlib support.
3904 * gdb.trace/trace-common.h: Add comment.
3905 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
3906 * gdb.trace/trace-enable-disable.exp: Likewise.
3907 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
3908 * gdb.trace/tracecmd.exp: Check for arch support.
3909 * gdb.trace/tspeed.exp: Check for shlib and target support.
3910 * gdb.trace/tstatus.exp: Check for arch support.
3911 * gdb.trace/tsv.exp: Likewise.
3912 * gdb.trace/while-dyn.exp: Likewise.
3913 * gdb.trace/while-stepping.exp: Likewise.
3914 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
3915
3916 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
3917
3918 * gdb.trace/tspeed.exp: Remove nowarnings.
3919 (prepare_for_trace_test): Declare "global ipalib".
3920 * gdb.trace/tspeed.c: Include unistd.h.
3921 (main): Remove superfluous printf argument.
3922
3923 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
3924
3925 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
3926 directory prefix on the filename.
3927
3928 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
3929
3930 * gdb.gdb/unittest.exp: Update expected message informing that
3931 selftests have been disabled.
3932 * gdb.server/unittest.exp: Likewise.
3933
3934 2018-10-09 Tom de Vries <tdevries@suse.de>
3935
3936 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
3937 with runto_main.
3938
3939 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
3940
3941 PR c++/16841
3942 * gdb.cp/virtbase2.cc: New file.
3943 * gdb.cp/virtbase2.exp: New file.
3944
3945 2018-10-06 Tom Tromey <tom@tromey.com>
3946
3947 PR python/19399:
3948 * gdb.python/py-inferior.exp: Add architecture test.
3949
3950 2018-10-06 Tom Tromey <tom@tromey.com>
3951
3952 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
3953 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
3954
3955 2018-10-06 Tom Tromey <tom@tromey.com>
3956
3957 * gdb.python/py-breakpoint.exp (check_last_event): Check location
3958 of a "throw" catchpoint.
3959
3960 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
3961
3962 * gdb.base/info-proc.exp: Update string expected from "help info
3963 proc".
3964
3965 2018-10-04 Tom Tromey <tom@tromey.com>
3966
3967 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
3968 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
3969 (test_initial_complaints, test_empty_complaints): Update.
3970 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3971
3972 2018-10-04 Tom Tromey <tom@tromey.com>
3973
3974 PR cli/19551:
3975 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
3976 * lib/gdb.exp (gdb_file_cmd): Update.
3977 * gdb.stabs/weird.exp (print_weird_var): Update.
3978 * gdb.server/solib-list.exp: Update.
3979 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
3980 * gdb.mi/mi-cli.exp: Update.
3981 * gdb.linespec/linespec.exp: Update.
3982 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3983 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
3984 * gdb.cp/cp-relocate.exp: Update.
3985 * gdb.base/sym-file.exp: Update.
3986 * gdb.base/relocate.exp: Update.
3987 * gdb.base/readnever.exp: Update.
3988 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
3989 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
3990 * gdb.base/dbx.exp (gdb_file_cmd): Update.
3991 * gdb.base/code_elim.exp: Update.
3992 * gdb.base/break-unload-file.exp (test_break): Update.
3993 * gdb.base/break-interp.exp (test_attach_gdb): Update.
3994 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
3995 Update.
3996 * gdb.base/attach.exp (do_attach_tests): Update.
3997 * gdb.base/sepdebug.exp: Update.
3998 * gdb.python/py-section-script.exp: Update.
3999
4000 2018-10-04 Tom Tromey <tom@tromey.com>
4001
4002 PR cli/22234:
4003 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
4004 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
4005 output.
4006
4007 2018-10-04 Tom Tromey <tom@tromey.com>
4008
4009 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
4010 set width and height to 0.
4011 (test_command_line_attach_run): Use -quiet.
4012
4013 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
4014
4015 * lib/gdb.exp (skip_ifunc_tests): New.
4016 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
4017 other compile failures.
4018 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
4019
4020 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
4021
4022 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
4023 is_amd64_regs_target.
4024
4025 2018-10-01 Alan Hayward <alan.hayward@arm.com>
4026
4027 * gdb.arch/aarch64-sighandler-regs.c: New test.
4028 * gdb.arch/aarch64-sighandler-regs.exp: New file.
4029 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
4030
4031 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
4032
4033 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
4034 assembly.
4035
4036 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
4037
4038 * gdb.base/frame-selection.exp: New file.
4039 * gdb.base/frame-selection.c: New file.
4040
4041 2018-09-27 Alan Hayward <alan.hayward@arm.com>
4042
4043 * gdb.threads/check-libthread-db.c (thread_routine): Use a
4044 pthread barrier.
4045 (main): Likewise.
4046
4047 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
4048
4049 * gdb.base/large-frame-1.c: New file.
4050 * gdb.base/large-frame-2.c: New file.
4051 * gdb.base/large-frame.exp: New file.
4052 * gdb.base/large-frame.h: New file.
4053
4054 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
4055
4056 PR gdb/20948
4057 * gdb.base/write_mem.exp: New test.
4058 * gdb.base/write_mem.c: Likewise.
4059
4060 2018-09-23 Tom Tromey <tom@tromey.com>
4061
4062 PR python/18852:
4063 * gdb.python/py-parameter.exp: Add test for parameter that throws
4064 on "set".
4065
4066 2018-09-23 Tom Tromey <tom@tromey.com>
4067
4068 PR python/17284:
4069 * gdb.python/py-template.exp (test_template_arg): Add test for
4070 negative template argument number.
4071
4072 2018-09-23 Tom Tromey <tom@tromey.com>
4073
4074 PR python/14062:
4075 * gdb.python/python.exp: Add test for post_event error.
4076
4077 2018-09-23 Tom Tromey <tom@tromey.com>
4078
4079 PR python/18170:
4080 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
4081 convert pointers to int and long.
4082
4083 2018-09-23 Tom Tromey <tom@tromey.com>
4084
4085 PR python/20126:
4086 * gdb.python/py-value.exp (test_value_numeric_ops): Add
4087 signed-ness conversion tests.
4088
4089 2018-09-23 Tom Tromey <tom@tromey.com>
4090
4091 PR python/18352;
4092 * gdb.python/py-value.exp (test_float_conversion): New proc.
4093 Use it.
4094
4095 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
4096
4097 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
4098
4099 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
4100
4101 * gdb.base/complete-empty.exp: Skip tab-completion tests if
4102 no readline.
4103 * gdb.base/utf8-identifiers.exp: Likewise.
4104 * gdb.cp/cpcompletion.exp: Likewise.
4105 * gdb.linespec/cpcompletion.exp: Likewise.
4106 * gdb.linespec/cpls-abi-tag.exp: Likewise.
4107 * gdb.linespec/cpls-ops.exp: Likewise.
4108
4109 2018-09-19 Richard Bunt <richard.bunt@arm.com>
4110 Chris January <chris.january@arm.com>
4111
4112 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
4113 * gdb.fortran/short-circuit-argument-list.exp: New file.
4114 * gdb.fortran/short-circuit-argument-list.f90: New test.
4115
4116 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4117
4118 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
4119 "arch=" keyword when executing "-stack-list-frames".
4120
4121 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4122
4123 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
4124 "arch=" keyword when executing "-stack-list-frames".
4125
4126 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4127
4128 * gdb.ada/complete.exp: Expect for "@" when doing "complete
4129 break ada".
4130
4131 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
4132
4133 PR python/23669
4134 * gdb.python/python.exp: Test gdb.execute("show commands").
4135
4136 2018-09-16 Tom Tromey <tom@tromey.com>
4137
4138 * gdb.base/new-ui.exp (do_execution_tests): Update.
4139 * gdb.base/dbx.exp (test_breakpoints): Update.
4140
4141 2018-09-14 Alan Hayward <alan.hayward@arm.com>
4142
4143 * lib/gdb.exp (gdb_simple_compile): Add proc.
4144 (is_elf_target): Use gdb_simple_compile.
4145 (skip_altivec_tests): Likewise.
4146 (skip_vsx_tests): Likewise.
4147 (skip_tsx_tests): Likewise.
4148 (skip_btrace_tests): Likewise.
4149 (skip_btrace_pt_tests): Likewise.
4150 (gdb_can_simple_compile): Likewise.
4151 (gdb_has_argv0): Likewise.
4152 (gdb_target_symbol_prefix): Likewise.
4153 (target_supports_scheduler_locking): Likewise.
4154
4155 2018-09-13 Tom Tromey <tom@tromey.com>
4156
4157 * Makefile.in (TAGS): Recognize proc_with_prefix and
4158 gdb_caching_proc.
4159
4160 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4161
4162 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
4163 method.
4164
4165 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4166
4167 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
4168 and a few other Inferior properties when the Inferior is no
4169 longer valid.
4170
4171 2018-09-13 Tom Tromey <tom@tromey.com>
4172
4173 PR rust/23650:
4174 * gdb.rust/simple.exp: Add test for enum field access error.
4175
4176 2018-09-13 Tom Tromey <tom@tromey.com>
4177
4178 PR rust/23626:
4179 * gdb.rust/simple.rs (EmptyEnum): New type.
4180 (main): Use it.
4181 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
4182
4183 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4184
4185 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
4186 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
4187 * gdb.python/py-symtab.exp: Update test printing an objfile.
4188
4189 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
4190
4191 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
4192 object.
4193
4194 2018-09-12 Alan Hayward <alan.hayward@arm.com>
4195
4196 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
4197 (support_complex_tests): Use gdb_can_simple_compile.
4198 (is_ilp32_target): Likewise.
4199 (is_lp64_target): Likewise.
4200 (is_64_target): Likewise.
4201 (is_amd64_regs_target): Likewise.
4202 (is_aarch32_target): Likewise.
4203 (gdb_int128_helper): Likewise.
4204
4205 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4206
4207 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
4208
4209 2018-09-10 Jerome Guitton <guitton@adacore.com>
4210
4211 * gdb.ada/same_component_name: Add test for case of tagged record
4212 with variable-length fields.
4213
4214 2018-09-10 Xavier Roirand <roirand@adacore.com>
4215
4216 * gdb.ada/access_to_unbounded_array.exp: New testcase.
4217 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
4218 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
4219 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
4220
4221 2018-09-10 Xavier Roirand <roirand@adacore.com>
4222
4223 * gdb.ada/mi_string_access.exp: New testcase.
4224 * gdb.ada/mi_string_access/bar.adb: New file.
4225 * gdb.ada/mi_string_access/pck.adb: New file.
4226 * gdb.ada/mi_string_access/pck.asd: New file.
4227
4228 2018-09-10 Xavier Roirand <roirand@adacore.com>
4229
4230 * gdb.ada/mi_var_union.exp: New testcase.
4231 * gdb.ada/mi_var_union/bar.adb: New file.
4232 * gdb.ada/mi_var_union/pck.adb: New file.
4233 * gdb.ada/mi_var_union/pck.asd: New file.
4234
4235 2018-09-08 Tom Tromey <tom@tromey.com>
4236
4237 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
4238
4239 2018-09-08 Tom Tromey <tom@tromey.com>
4240
4241 PR python/16047:
4242 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
4243 (register_pretty_printers): Register new printer.
4244 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
4245 test.
4246 * gdb.python/py-prettyprint.c (int_type3): New typedef.
4247 (an_int_type3): New global.
4248
4249 2018-09-08 Joel Brobecker <brobecker@adacore.com>
4250
4251 * gdb.ada/expr_with_funcall: New testcase.
4252
4253 2018-09-08 Joel Brobecker <brobecker@adacore.com>
4254
4255 * gdb.ada/packed_array_assign: New testcase.
4256
4257 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
4258
4259 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
4260 names, and add test prefixes to make test names unique.
4261
4262 2018-09-05 Tom de Vries <tdevries@suse.de>
4263
4264 * gdb.dwarf2/varval.exp: Add test.
4265
4266 2018-09-04 Gary Benson <gbenson@redhat.com>
4267
4268 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
4269 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
4270
4271 2018-08-31 Tom Tromey <tom@tromey.com>
4272
4273 * gdb.rust/simple.rs: Rename second variable "v".
4274
4275 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
4276
4277 * gdb.base/funcargs.c (use_a): New function.
4278 (recurse): Call use_a.
4279
4280 2018-08-29 Keith Seitz <keiths@redhat.com>
4281
4282 * gdb.compile/compile-cplus-anonymous.cc: New file.
4283 * gdb.compile/compile-cplus-anonymous.exp: New file.
4284 * gdb.compile/compile-cplus-array-decay.cc: New file.
4285 * gdb.compile/compile-cplus-array-decay.exp: New file.
4286 * gdb.compile/compile-cplus-inherit.cc: New file.
4287 * gdb.compile/compile-cplus-inherit.exp: New file.
4288 * gdb.compile/compile-cplus-member.cc: New file.
4289 * gdb.compile/compile-cplus-member.exp: New file.
4290 * gdb.compile/compile-cplus-method.cc: New file.
4291 * gdb.compile/compile-cplus-method.exp: New file.
4292 * gdb.compile/compile-cplus-mod.c: "New" file.
4293 * gdb.compile/compile-cplus-namespace.cc: New file.
4294 * gdb.compile/compile-cplus-namespace.exp: New file.
4295 * gdb.compile/compile-cplus-nested.cc: New file.
4296 * gdb.compile/compile-cplus-nested.exp: New file.
4297 * gdb.compile/compile-cplus-print.c: "New" file.
4298 * gdb.compile/compile-cplus-print.exp: "New" file.
4299 * gdb.compile/compile-cplus-virtual.cc: New file.
4300 * gdb.compile/compile-cplus-virtual.exp: New file.
4301 * gdb.compile/compile-cplus.c: "New" file.
4302 * gdb.compile/compile-cplus.exp: "New" file.
4303 * lib/compile-support.exp: New file.
4304
4305 2018-08-16 Gary Benson <gbenson@redhat.com>
4306
4307 PR gdb/13000:
4308 * gdb.base/batch-exit-status.exp: New file.
4309 * gdb.base/batch-exit-status.good-commands: Likewise.
4310 * gdb.base/batch-exit-status.bad-commands: Likewise.
4311
4312 2018-08-29 Alan Hayward <alan.hayward@arm.com>
4313
4314 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
4315 (struct struct02): Likewise.
4316 (struct struct03): Likewise.
4317 (struct struct04): Likewise.
4318 (struct struct_01_01): New struct.
4319 (struct struct_01_02): Likewise.
4320 (struct struct_01_03): Likewise.
4321 (struct struct_01_04): Likewise.
4322 (struct struct_02_01): Likewise.
4323 (struct struct_02_02): Likewise.
4324 (struct struct_02_03): Likewise.
4325 (struct struct_02_04): Likewise.
4326 (struct struct_04_01): Likewise.
4327 (struct struct_04_02): Likewise.
4328 (struct struct_04_03): Likewise.
4329 (struct struct_04_04): Likewise.
4330 (struct struct_05_01): Likewise.
4331 (struct struct_05_02): Likewise.
4332 (struct struct_05_03): Likewise.
4333 (struct struct_05_04): Likewise.
4334 (cmp_struct01): Remove function.
4335 (cmp_struct02): Likewise.
4336 (cmp_struct03): Likewise.
4337 (cmp_struct04): Likewise.
4338 (cmp_struct_01_01): Add Function.
4339 (cmp_struct_01_02): Likewise.
4340 (cmp_struct_01_03): Likewise.
4341 (cmp_struct_01_04): Likewise.
4342 (cmp_struct_02_01): Likewise.
4343 (cmp_struct_02_02): Likewise.
4344 (cmp_struct_02_03): Likewise.
4345 (cmp_struct_02_04): Likewise.
4346 (cmp_struct_04_01): Likewise.
4347 (cmp_struct_04_02): Likewise.
4348 (cmp_struct_04_03): Likewise.
4349 (cmp_struct_04_04): Likewise.
4350 (cmp_struct_05_01): Likewise.
4351 (cmp_struct_05_02): Likewise.
4352 (cmp_struct_05_03): Likewise.
4353 (cmp_struct_05_04): Likewise.
4354 (call_all): Add new structs.
4355 * gdb.base/infcall-nested-structs.exp: Likewise.
4356
4357 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
4358
4359 * gdb.python/py-framefilter-mi.exp: Update regexp to
4360 check for "arch" field in frame output.
4361
4362 2018-08-23 Kevin Buettner <kevinb@redhat.com>
4363
4364 * gdb.dwarf2/dw2-ranges-func.c: New file.
4365 * gdb.dwarf2/dw2-ranges-func.exp: New file.
4366
4367 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
4368
4369 * gdb.base/term.exp: Compare terminal settings with values from
4370 the inferior.
4371 * gdb.base/term.c: Get and set terminal settings.
4372
4373 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
4374
4375 * lib/mi-support.exp (mi_expect_stop): Update regexp to
4376 accommodate new "arch" field in frame output.
4377 * gdb.mi/mi-return.exp: Likewise.
4378 * gdb.mi/mi-stack.exp: Likewise.
4379 * gdb.mi/mi-syn-frame.exp: Likewise.
4380 * gdb.mi/user-selected-context-sync.exp: Likewise.
4381
4382 2018-08-19 Michael Spang <spang@google.com>
4383
4384 PR gdb/11786
4385 * gdb.base/gcore-tls-pie.c: New file.
4386 * gdb.base/gcore-tls-pie.exp: New file.
4387
4388 2018-08-18 Kevin Buettner <kevinb@redhat.com>
4389
4390 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
4391 * gdb.dwarf2/varval.c: New file.
4392 * gdb.dwarf2/varval.exp: New file.
4393
4394 2018-08-17 Alan Hayward <alan.hayward@arm.com>
4395
4396 PR gdb/18931
4397 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
4398
4399 2018-08-16 Keith Seitz <keiths@redhat.com>
4400
4401 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
4402 tests expected to pass.
4403
4404 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
4405
4406 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
4407 -data-disassemble -a.
4408 (test_disassembly_bogus_args): Likewise.
4409
4410 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
4411
4412 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
4413
4414 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
4415
4416 * gdb.base/vla-optimized-out.exp: Add new test.
4417
4418 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
4419
4420 * gdb.base/vla-optimized-out-o3.exp: Delete.
4421 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
4422 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
4423 deleted tests.
4424
4425 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
4426
4427 PR gdb/18050:
4428 * gdb.server/extended-remote-restart.c: New file.
4429 * gdb.server/extended-remote-restart.exp: New file.
4430
4431 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
4432
4433 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
4434 "set variable index = 42".
4435
4436 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
4437
4438 * boards/index-cache-gdb.exp: New file.
4439 * gdb.dwarf2/index-cache.exp: New file.
4440 * gdb.dwarf2/index-cache.c: New file.
4441 * gdb.base/maint.exp: Check if we are using the index cache.
4442
4443 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4444
4445 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
4446 MAKEFLAGS.
4447
4448 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4449
4450 * dg-extract-results.sh: Move to toplevel contrib.
4451 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
4452 * Makefile.in (check-parallel-racy): Likewise.
4453
4454 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
4455
4456 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
4457 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
4458 tests if the target supports scheduler locking.
4459
4460 2018-08-04 Tom de Vries <tdevries@suse.de>
4461
4462 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
4463
4464 2018-08-02 Tom Tromey <tom@tromey.com>
4465
4466 PR symtab/16842.
4467 * gdb.cp/temargs.exp: Test "info address" of a template
4468 parameter.
4469
4470 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
4471
4472 * gdb.python/py-mi-var-info-path-expression.c: New file.
4473 * gdb.python/py-mi-var-info-path-expression.py: New file.
4474 * gdb.python/py-mi-var-info-path-expression.exp: New file.
4475
4476 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
4477
4478 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
4479 error after "cannot resolve name" string.
4480
4481 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
4482
4483 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
4484 started.
4485 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
4486
4487 2018-07-28 Tom de Vries <tdevries@suse.de>
4488
4489 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
4490
4491 2018-07-26 Tom de Vries <tdevries@suse.de>
4492
4493 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
4494
4495 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
4496
4497 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
4498 is visible.
4499
4500 2018-07-26 Tom de Vries <tdevries@suse.de>
4501
4502 PR breakpoints/23366
4503 * gdb.base/catch-follow-exec.c: New test.
4504 * gdb.base/catch-follow-exec.exp: New file.
4505
4506 2018-07-25 Tom de Vries <tdevries@suse.de>
4507
4508 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
4509 vla-optimized-out.c.
4510
4511 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
4512
4513 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
4514 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
4515
4516 2018-07-20 Tom de Vries <tdevries@suse.de>
4517
4518 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
4519 NOCLONE macro.
4520 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
4521
4522 2018-07-19 Tom de Vries <tdevries@suse.de>
4523
4524 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
4525 regular expression.
4526
4527 2018-07-18 Tom de Vries <tdevries@suse.de>
4528
4529 * gdb.base/vla-optimized-out.c: New test.
4530 * gdb.base/vla-optimized-out.exp: New file.
4531
4532 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
4533
4534 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
4535 message "No address associated with hostname" when gdbserver
4536 cannot resolve the hostname.
4537
4538 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4539
4540 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
4541 Add some test prefixes to make tests unique.
4542
4543 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4544
4545 * gdb.base/frameapply.c: New file.
4546 * gdb.base/frameapply.exp: New file.
4547
4548 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4549
4550 * gdb.base/skip.exp: Update expected error message.
4551
4552 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
4553 Jan Kratochvil <jan.kratochvil@redhat.com>
4554 Paul Fertser <fercerpav@gmail.com>
4555 Tsutomu Seki <sekiriki@gmail.com>
4556
4557 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
4558 parameter.
4559 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
4560 by default.
4561 * boards/native-gdbserver.exp: Likewise.
4562 * gdb.server/run-without-local-binary.exp: Improve regexp used
4563 for detecting when a remote debugging connection succeeds.
4564 * gdb.server/server-connect.exp: New file.
4565 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
4566 Do not prefix the port number with ":".
4567 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
4568 support for detecting and using it. Add '$debughost_gdbserver'
4569 to the list of arguments used to start gdbserver. Handle case
4570 when gdbserver cannot resolve a network name.
4571
4572 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
4573
4574 PR c++/23373
4575 * gdb.base/ptype-offsets.cc (struct static_member): New
4576 struct.
4577 (main) <stmember>: New variable.
4578 * gdb.base/ptype-offsets.exp: Add test for printing a struct
4579 with a static member in it.
4580
4581 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
4582
4583 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
4584 watchpoints enabled and disabled.
4585
4586 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4587
4588 * gdb.base/examine-backward.exp: Still run tests around address
4589 0x0, even if address 0x0 is not readable. Update the pattern for
4590 matching address 0x0 in expected output.
4591
4592 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
4593
4594 * gdb.base/share-env-with-gdbserver.c (main): Add call to
4595 malloc/free.
4596
4597 2018-07-04 Tom de Vries <tdevries@suse.de>
4598
4599 * gdb.dwarf2/dw2-error.exp: Update expected error message.
4600
4601 2018-07-02 Maciej W. Rozycki <macro@mips.com>
4602
4603 PR tdep/8282
4604 * gdb.arch/mips-disassembler-options.exp: New test.
4605 * gdb.arch/mips-disassembler-options.s: New test source.
4606
4607 2018-06-29 Pedro Alves <palves@redhat.com>
4608
4609 * gdb.threads/names.exp: Adjust expected "info threads" output.
4610
4611 2018-06-29 Pedro Alves <palves@redhat.com>
4612
4613 * gdb.opt/inline-break.exp (line number, address): Add "info
4614 break" tests.
4615
4616 2018-06-29 Pedro Alves <palves@redhat.com>
4617
4618 * gdb.opt/inline-break.c (func1): Add "break here" marker.
4619 * gdb.opt/inline-break.exp: Test setting breakpoints by line
4620 number and address and running to them.
4621
4622 2018-06-29 Richard Bunt <richard.bunt@arm.com>
4623
4624 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
4625
4626 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4627
4628 * lib/compiler.c: Remove executable permission flag.
4629
4630 2018-06-28 Richard Bunt <richard.bunt@arm.com>
4631
4632 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
4633 code.
4634 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
4635
4636 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
4637
4638 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
4639
4640 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
4641
4642 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
4643 address argument is omitted.
4644
4645 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
4646
4647 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
4648
4649 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
4650
4651 PR gdb/21695
4652 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
4653 * gdb.base/infoline-reloc-main-from-zero.c: New file.
4654
4655 2018-06-26 Tom Tromey <tom@tromey.com>
4656
4657 PR rust/22574:
4658 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
4659 * gdb.rust/simple.rs (struct SimpleLayout): New.
4660
4661 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
4662
4663 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
4664 "info registers" output.
4665
4666 2018-06-21 Richard Bunt <richard.bunt@arm.com>
4667
4668 * gdb.base/watchpoint-hw-attach.c: New test.
4669 * gdb.base/watchpoint-hw-attach.exp: New file.
4670
4671 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
4672
4673 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
4674 through /bin/sh.
4675 * boards/dwarf4-gdb-index.exp: Likewise.
4676 * boards/fission-dwp.exp: Likewise.
4677
4678 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
4679
4680 * gdb.base/float128.exp: Add comment and improved fail message
4681 to the failure case of "print large128" test.
4682
4683 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
4684
4685 * configure.ac: Remove AC_PREREQ.
4686 * configure: Re-generate.
4687
4688 2018-06-19 Pedro Alves <palves@redhat.com>
4689
4690 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
4691 (func_extern_caller): New.
4692 (main): Call func_extern_caller.
4693 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
4694 logic change.
4695
4696 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
4697
4698 PR gdb/16841
4699 * gdb.cp/typedef-base.cc: New file.
4700 * gdb.cp/typedef-base.exp: New file.
4701
4702 2018-06-18 Tom de Vries <tdevries@suse.de>
4703
4704 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
4705
4706 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
4707 Richard Bunt <Richard.Bunt@arm.com>
4708
4709 * gdb.threads/attach-slow-waitpid.c: New file.
4710 * gdb.threads/attach-slow-waitpid.exp: New file.
4711 * gdb.threads/slow-waitpid.c: New file.
4712
4713 2018-06-14 Pedro Alves <palves@redhat.com>
4714
4715 * gdb.base/fork-running-state.c: Include <errno.h>.
4716 (exit_if_relative_exits): New.
4717 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
4718 exits.
4719 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
4720 child exits.
4721
4722 2018-06-14 Tom de Vries <tdevries@suse.de>
4723
4724 PR cli/22573
4725 * gdb.base/finish-pretty.c: New test.
4726 * gdb.base/finish-pretty.exp: New file.
4727
4728 2018-06-14 Pedro Alves <palves@redhat.com>
4729
4730 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
4731 gdb's expected startup output.
4732
4733 2018-06-14 Pedro Alves <palves@redhat.com>
4734
4735 * lib/selftest-support.exp (selftest_setup): Remove inlined
4736 function handling.
4737
4738 2018-06-14 Tom de Vries <tdevries@suse.de>
4739
4740 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
4741 matching of breakpoint printing.
4742
4743 2018-06-13 Tom de Vries <tdevries@suse.de>
4744
4745 PR testsuite/23269
4746 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
4747 (fork_child): ... here, and ...
4748 (fork_parent): ... here.
4749
4750 2018-06-12 Tom de Vries <tdevries@suse.de>
4751
4752 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
4753
4754 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
4755 Stephen Roberts <stephen.roberts@arm.com>
4756
4757 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
4758 rewrite test to describe action performed, rather than possible
4759 failure.
4760
4761 2018-06-08 Gary Benson <gbenson@redhat.com>
4762
4763 * gdb.threads/check-libthread-db.exp: New file.
4764 * gdb.threads/check-libthread-db.c: Likewise.
4765
4766 2018-06-05 Tom Tromey <tom@tromey.com>
4767
4768 * gdb.base/default.exp: Update expected "show version" output.
4769
4770 2018-06-05 Tom Tromey <tom@tromey.com>
4771
4772 PR cli/12326:
4773 * gdb.cp/static-print-quit.exp: Update.
4774 * lib/gdb.exp (pagination_prompt): Update.
4775 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
4776 * gdb.python/python.exp: Update.
4777
4778 2018-06-04 Joel Brobecker <brobecker@adacore.com>
4779
4780 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
4781
4782 2018-06-01 Joel Brobecker <brobecker@adacore.com>
4783
4784 * gdb.ada/bp_fun_addr: New testcase.
4785
4786 2018-06-01 Tom Tromey <tom@tromey.com>
4787
4788 * gdb.xml/tdesc-regs.exp (load_description): Update expected
4789 results.
4790 * gdb.dwarf2/method-ptr.exp: Set language to C++.
4791 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
4792 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
4793 * gdb.base/maint.exp (maint_pass_if): Update.
4794
4795 2018-05-31 Maciej W. Rozycki <macro@mips.com>
4796
4797 * gdb.base/endian.exp: New test.
4798 * gdb.base/endian.c: New test source.
4799
4800 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
4801
4802 PR gdb/23203
4803 * gdb.base/bt-selected-frame.c: New file.
4804 * gdb.base/bt-selected-frame.exp: New file.
4805 * lib/gdb.exp (get_current_frame_number): New function.
4806
4807 2018-05-24 Maciej W. Rozycki <macro@mips.com>
4808 Pedro Alves <palves@redhat.com>
4809
4810 * gdb.threads/tls-core.c: Include <stdlib.h>
4811 (thread_proc): Call `abort'.
4812 * gdb.threads/tls-core.exp: Generate a core with core_find too.
4813 (tls_core_test): New procedure, bits factored out from ...
4814 (top level): ... here. Test both native cores and gcore cores.
4815
4816 2018-05-23 Tom Tromey <tom@tromey.com>
4817
4818 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
4819
4820 2018-05-23 Tom Tromey <tom@tromey.com>
4821
4822 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
4823 symfile_complaints.
4824 (test_short_complaints): Likewise.
4825 (test_empty_complaints): Likewise.
4826 (test_initial_complaints): Update.
4827
4828 2018-05-23 Tom Tromey <tom@tromey.com>
4829
4830 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
4831
4832 2018-05-23 Tom Tromey <tom@tromey.com>
4833
4834 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
4835 (test_short_complaints): Update.
4836
4837 2018-05-22 Pedro Alves <palves@redhat.com>
4838
4839 * gdb.base/remote.exp: Only gdb_start after compiling the
4840 testcase. Issue "disconnect" before testing "set remote" command
4841 defaults. Issue clean_restart before running to main.
4842
4843 2018-05-22 Pedro Alves <palves@redhat.com>
4844
4845 * gdb.base/remote.exp: Adjust expected output of "show remote
4846 memory-write-packet-size". Add tests for "set remote
4847 memory-write-packet-size 0" and "set remote
4848 memory-write-packet-size fixed/limit".
4849
4850 2018-05-22 Pedro Alves <palves@redhat.com>
4851
4852 PR gdb/22973
4853 * gdb.base/utf8-identifiers.c: New file.
4854 * gdb.base/utf8-identifiers.exp: New file.
4855
4856 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
4857
4858 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
4859
4860 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
4861
4862 * gdb.arch/powerpc-vsx-gcore.exp: New file.
4863
4864 2018-05-18 Tom Tromey <tom@tromey.com>
4865
4866 * gdb.base/ptype-offsets.exp: Update.
4867
4868 2018-05-17 Keith Seitz <keiths@redhat.com>
4869
4870 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
4871 in expected breakpoint stop locations.
4872 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
4873 move to proper scope to test variable values.
4874 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
4875 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
4876 New functions.
4877 (main): Call not_inline_func3.
4878 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
4879 inline_func1, inline_func2, and inline_func3. Test that when each
4880 breakpoint is hit, GDB properly reports both the stop location
4881 and the backtrace. Repeat tests for temporary breakpoints.
4882
4883 2018-05-15 Maciej W. Rozycki <macro@mips.com>
4884
4885 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
4886 rather then trying to access it in determining whether the PID
4887 of `gdbserver' could have been retrieved.
4888
4889 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
4890
4891 * gdb.arch/amd64-init-x87-values.S: New file.
4892 * gdb.arch/amd64-init-x87-values.exp: New file.
4893
4894 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4895
4896 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
4897
4898 2018-05-04 Tom Tromey <tom@tromey.com>
4899
4900 PR python/22730:
4901 * gdb.python/python.exp: Test multi-line execute.
4902
4903 2018-05-04 Tom Tromey <tom@tromey.com>
4904
4905 PR python/22731:
4906 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
4907
4908 2018-05-04 Tom Tromey <tom@tromey.com>
4909
4910 PR gdb/11750:
4911 * gdb.base/define.exp: Test defining a user command inside a user
4912 command.
4913 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
4914
4915 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4916 Pedro Alves <palves@redhat.com>
4917
4918 PR breakpoints/19806 and support for PR external/20207.
4919 * gdb.base/watchpoint-unaligned.c: New file.
4920 * gdb.base/watchpoint-unaligned.exp: New file.
4921
4922 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4923
4924 * gdb.base/maint.exp: Make test names unique, use
4925 test_prefix_command_help to test 'help maint info', and remove
4926 repeated test of 'help maint'.
4927
4928 2018-05-04 Tom Tromey <tom@tromey.com>
4929
4930 PR gdb/22619:
4931 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
4932 behavior.
4933
4934 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4935
4936 * gdb.base/maint.exp: Process output from 'maint print registers'
4937 line at a time.
4938
4939 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4940
4941 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
4942 timeout.
4943
4944 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
4945
4946 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
4947 filter pattern.
4948
4949 2018-05-02 Pedro Alves <palves@redhat.com>
4950
4951 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
4952 to_log_command renames.
4953 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
4954
4955 2018-05-02 Tom Tromey <tom@tromey.com>
4956
4957 * gdb.python/py-parameter.exp: Set test message.
4958
4959 2018-05-02 Tom Tromey <tom@tromey.com>
4960
4961 PR python/20084:
4962 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
4963 PARAM_ZUINTEGER_UNLIMITED tests.
4964
4965 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
4966
4967 PR rust/23124
4968 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
4969 when casting.
4970
4971 2018-04-30 Tom Tromey <tom@tromey.com>
4972
4973 * gdb.python/py-type.exp: Check align attribute.
4974 * gdb.python/py-type.c: New "aligncheck" global.
4975
4976 2018-04-30 Tom Tromey <tom@tromey.com>
4977
4978 PR exp/17095:
4979 * gdb.dwarf2/dw2-align.exp: New file.
4980 * gdb.cp/align.exp: New file.
4981 * gdb.base/align.exp: New file.
4982 * lib/gdb.exp (gdb_int128_helper): New proc.
4983 (has_int128_c, has_int128_cxx): New caching procs.
4984
4985 2018-04-27 Tom Tromey <tom@tromey.com>
4986
4987 PR rust/22545:
4988 * gdb.rust/simple.exp: Add inclusive range tests.
4989
4990 2018-04-26 Pedro Alves <palves@redhat.com>
4991
4992 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
4993 ifunc breakpoint locations correctly of ifunc breakpoints set
4994 while the program resolves the ifunc.
4995
4996 2018-04-26 Pedro Alves <palves@redhat.com>
4997
4998 * gdb.base/gnu-ifunc-final.c: New file.
4999 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
5000 * gdb.base/gnu-ifunc.exp (executable): Delete.
5001 (staticexecutable): Adjust.
5002 (lib_opts, exec_opts): Delete.
5003 (make_binsuffix, build, set-break): New procedures.
5004 (misc_tests): New, with tests factored out from the top level.
5005 (top level): Test different combinations of ifunc resolver name,
5006 resolver with and with debug info, and ifunc target with and
5007 without debug info. Wrap static tests with with_target_prefix.
5008
5009 2018-04-26 Pedro Alves <palves@redhat.com>
5010
5011 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
5012 return type" warnings.
5013
5014 2018-04-25 Pedro Alves <palves@redhat.com>
5015
5016 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
5017 killed".
5018 * gdb.base/kill-after-signal.exp: Likewise.
5019 * gdb.threads/kill.exp: Likewise.
5020
5021 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5022 Sergio Durigan Junior <sergiodj@redhat.com>
5023 Pedro Alves <palves@redhat.com>
5024
5025 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
5026 regexps to expect for '[Inferior ... detached]' as well.
5027 * gdb.base/attach.exp: Likewise.
5028 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
5029 "gdb_continue_to_end".
5030 (test_catch_syscall_with_wrong_args): Likewise.
5031 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
5032 ']'. Don't set 'verbose' on.
5033 * gdb.base/foll-vfork.exp: Likewise.
5034 * gdb.base/fork-print-inferior-events.c: New file.
5035 * gdb.base/fork-print-inferior-events.exp: New file.
5036 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
5037 '[Inferior ... has been killed]' message.
5038 * gdb.base/kill-after-signal.exp: Likewise.
5039 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
5040 detach message.
5041 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
5042 message.
5043 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
5044 regexps to expect for '[Inferior ... detached]' as well.
5045 * gdb.threads/process-dies-while-detaching.exp: Likewise.
5046
5047 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
5048
5049 PR gdb/23104
5050 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
5051
5052 2018-04-22 Rajendra SY <rajendra.sy@gmail.com>
5053
5054 PR gdb/23095
5055 * gdb.base/break-probes.exp: Pass shlib_load to
5056 prepare_for_testing. Set normal_bp to r_debug_state if target is
5057 bsd.
5058
5059 2018-04-19 Richard Bunt <richard.bunt@arm.com>
5060
5061 * gdb.threads/multiple-successive-infcall.c: New test.
5062 * gdb.threads/multiple-successive-infcall.exp: New file.
5063
5064 2018-04-17 Tom Tromey <tom@tromey.com>
5065
5066 * gdb.rust/simple.rs (Union): New type.
5067 (main): New local "u".
5068 * gdb.rust/simple.exp (test_one_slice): Add new test case.
5069
5070 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5071
5072 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
5073 number information in output of "whereis" command.
5074 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
5075
5076 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5077
5078 * gdb.ada/info_types.exp: Adjust expected output to the line
5079 numbers now printed by "info var/func/type".
5080 * gdb.base/completion.exp: Likewise.
5081 * gdb.base/included.exp: Likewise.
5082 * gdb.cp/cp-relocate.exp: Likewise.
5083 * gdb.cp/cplusfuncs.exp: Likewise.
5084 * gdb.cp/namespace.exp: Likewise.
5085 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
5086
5087 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
5088
5089 * gdb.btrace/cpu.exp: New.
5090
5091 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
5092
5093 * gdb.base/step-indirect-call-thunk.exp: New.
5094 * gdb.base/step-indirect-call-thunk.c: New.
5095 * gdb.reverse/step-indirect-call-thunk.exp: New.
5096 * gdb.reverse/step-indirect-call-thunk.c: New.
5097
5098 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
5099
5100 * gdb.base/pie-fork.c: New file.
5101 * gdb.base/pie-fork.exp: New file.
5102
5103 2018-04-11 Tom Tromey <tom@tromey.com>
5104
5105 * gdb.rust/simple.exp: Add test for ".." struct initializer.
5106
5107 2018-04-10 Pedro Alves <palves@redhat.com>
5108
5109 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
5110 exits. Instead loop running forever.
5111 (fork_parent): Run forever too.
5112
5113 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
5114
5115 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
5116 mi_continue_to_line.
5117 * gdb.mi/mi-stack.c (callee4): Add comment.
5118
5119 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
5120
5121 * gdb.mi/mi-stack.exp: Fix indentation.
5122
5123 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
5124
5125 PR gdb/22979
5126 * gdb.arch/amd64-osabi.exp: New file.
5127
5128 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
5129
5130 PR gdb/22980
5131 * gdb.base/osabi.exp: New file.
5132
5133 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
5134
5135 * gdb.cp/static-typedef-print.exp: New file.
5136 * gdb.cp/static-typedef-print.cc: New file.
5137
5138 2018-03-27 Joel Brobecker <brobecker@adacore.com>
5139
5140 * gdb.ada/varsize_limit: New testcase.
5141
5142 2018-03-27 Joel Brobecker <brobecker@adacore.com>
5143
5144 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
5145
5146 * gdb.ada/notcplusplus: New testcase.
5147
5148 * gdb.base/c-linkage-name.c: New file.
5149 * gdb.base/c-linkage-name.exp: New testcase.
5150
5151 2018-03-26 Tom Tromey <tom@tromey.com>
5152
5153 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
5154 * gdb.python/py-framefilter.py (name_error): New global.
5155 (ErrorInName.function): Use name_error.
5156
5157 2018-03-26 Tom Tromey <tom@tromey.com>
5158
5159 PR backtrace/15582:
5160 * gdb.python/py-framefilter.exp: Add "bt hide" test.
5161
5162 2018-03-23 Keith Seitz <keiths@redhat.com>
5163
5164 PR c++/22968
5165 * gdb.cp/subtypes.exp: New file.
5166 * gdb.cp/subtypes.h: New file.
5167 * gdb.cp/subtypes.cc: New file.
5168 * gdb.cp/subtypes-2.cc: New file.
5169
5170 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
5171
5172 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
5173 (done): Call '_exit' not 'exit' to avoid atexit handlers.
5174 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
5175 -nostartfiles when compiling the test. Confirm that all registers
5176 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
5177
5178 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
5179
5180 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
5181 option, syntax was wrong anyway.
5182 * gdb.arch/arm-disp-step.exp: Likewise.
5183 * gdb.arch/sparc64-regs.exp: Likewise.
5184 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
5185 option, syntax was wrong anyway, switch to use
5186 prepare_for_testing.
5187 * gdb.arch/i386-disp-step.exp: Likewise.
5188
5189 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
5190
5191 * gdb.ada/exec_changed.exp: Replace "target_info exists
5192 use_gdb_stub" by "use_gdb_stub".
5193 * gdb.ada/start.exp: Likewise.
5194 * gdb.base/async-shell.exp: Likewise.
5195 * gdb.base/attach-pie-misread.exp: Likewise.
5196 * gdb.base/attach-wait-input.exp: Likewise.
5197 * gdb.base/break-entry.exp: Likewise.
5198 * gdb.base/break-interp.exp: Likewise.
5199 * gdb.base/dprintf-detach.exp: Likewise.
5200 * gdb.base/nostdlib.exp: Likewise.
5201 * gdb.base/solib-nodir.exp: Likewise.
5202 * gdb.base/statistics.exp: Likewise.
5203 * gdb.base/testenv.exp: Likewise.
5204 * gdb.mi/mi-exec-run.exp: Likewise.
5205 * gdb.mi/mi-start.exp: Likewise.
5206 * gdb.multi/dummy-frame-restore.exp: Likewise.
5207 * gdb.multi/multi-arch-exec.exp: Likewise.
5208 * gdb.multi/multi-arch.exp: Likewise.
5209 * gdb.multi/tids.exp: Likewise.
5210 * gdb.multi/watchpoint-multi.exp: Likewise.
5211 * gdb.python/py-events.exp: Likewise.
5212 * gdb.threads/attach-into-signal.exp: Likewise.
5213 * gdb.threads/attach-stopped.exp: Likewise.
5214 * gdb.threads/threadapply.exp: Likewise.
5215 * lib/selftest-support.exp: Likewise.
5216
5217 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
5218
5219 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
5220
5221 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
5222
5223 * gdb.perf/template-breakpoints.cc: New file.
5224 * gdb.perf/template-breakpoints.exp: New file.
5225 * gdb.perf/template-breakpoints.py: New file.
5226
5227 2018-03-19 Tom Tromey <tom@tromey.com>
5228
5229 * gdb.rust/simple.rs (main): Add local variables field1, field2,
5230 y0.
5231 * gdb.rust/simple.exp: Test bare identifier form of struct
5232 initializer.
5233
5234 2018-03-19 Tom Tromey <tom@tromey.com>
5235
5236 * gdb.gdb/observer.exp: Remove.
5237
5238 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5239
5240 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
5241 "qualified" option when setting breakpoints.
5242 * gdb.trace/backtrace.exp: Likewise.
5243 * gdb.trace/circ.exp: Likewise.
5244 * gdb.trace/collection.exp: Likewise.
5245 * gdb.trace/disconnected-tracing.exp: Likewise.
5246 * gdb.trace/ftrace-lock.exp: Likewise.
5247 * gdb.trace/ftrace.exp: Likewise.
5248 * gdb.trace/infotrace.exp: Likewise.
5249 * gdb.trace/packetlen.exp: Likewise.
5250 * gdb.trace/passc-dyn.exp: Likewise.
5251 * gdb.trace/qtro.exp: Likewise.
5252 * gdb.trace/read-memory.exp: Likewise.
5253 * gdb.trace/report.exp: Likewise.
5254 * gdb.trace/signal.exp: Likewise.
5255 * gdb.trace/status-stop.exp: Likewise.
5256 * gdb.trace/strace.exp: Likewise.
5257 * gdb.trace/tfind.exp: Likewise.
5258 * gdb.trace/trace-break.exp: Likewise.
5259 * gdb.trace/trace-condition.exp: Likewise.
5260 * gdb.trace/trace-mt.exp: Likewise.
5261 * gdb.trace/tstatus.exp: Likewise.
5262 * gdb.trace/tsv.exp: Likewise.
5263 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
5264 * gdb.trace/unavailable.exp: Likewise.
5265 * gdb.trace/while-dyn.exp: Likewise.
5266
5267 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5268
5269 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
5270 that libinproctrace is copied to the target.
5271
5272 2018-03-14 Tom Tromey <tom@tromey.com>
5273
5274 PR cli/14977:
5275 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
5276 a null pointer.
5277 * gdb.base/wchar.exp: Likewise.
5278
5279 2018-03-14 Tom Tromey <tom@tromey.com>
5280
5281 PR cli/19918:
5282 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
5283 flag.
5284
5285 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
5286
5287 PR gdb/22841
5288 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
5289 "target" to remote_exec.
5290
5291 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
5292
5293 PR gdb/22841
5294 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
5295 ${board}_upload): Remove.
5296
5297 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
5298
5299 * gdb.cp/watch-cp.cc: New test.
5300 * gdb.cp/watch-cp.exp: New file.
5301
5302 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5303
5304 * gdb.base/infcall-nested-structs.exp: New file.
5305 * gdb.base/infcall-nested-structs.c: New file.
5306 * gdb.base/float.exp: Add riscv support.
5307
5308 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
5309
5310 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
5311 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
5312
5313 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
5314
5315 * gdb.server/abspath.exp: New file.
5316 * lib/gdb.exp (with_cwd): New procedure.
5317
5318 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
5319
5320 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
5321 use it.
5322 (gdb_is_target_remote_prompt): New proc.
5323 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
5324 (gdb_is_target_native): Pass prompt parameter to
5325 gdb_is_target_1.
5326
5327 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
5328
5329 * gdb.base/load-command.c: New file.
5330 * gdb.base/load-command.exp: New file.
5331 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
5332 (gdb_is_target_1): ...this, and generalize for other targets
5333 than just remote.
5334 (gdb_is_target_remote): Use gdb_is_target_1.
5335 (gdb_is_target_native): use gdb_is_target_1.
5336
5337 2018-02-26 Tom Tromey <tom@tromey.com>
5338
5339 PR python/16497:
5340 * gdb.python/py-framefilter.exp: Update test.
5341
5342 2018-02-26 Tom Tromey <tom@tromey.com>
5343
5344 * gdb.dwarf2/variant.c: New file.
5345 * gdb.dwarf2/variant.exp: New file.
5346
5347 2018-02-26 Tom Tromey <tom@tromey.com>
5348
5349 * gdb.rust/simple.exp: Accept more possible results in enum test.
5350
5351 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
5352
5353 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
5354 parentheses.
5355
5356 2018-02-23 Maciej W. Rozycki <macro@mips.com>
5357
5358 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
5359 name of a variable: $actual_linejj -> $actual_line.
5360
5361 2018-02-21 John Baldwin <jhb@FreeBSD.org>
5362
5363 * gdb.arch/amd64-i386-address.exp: Fix a typo.
5364
5365 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
5366
5367 * gdb.btrace/buffer-size.exp: Do not force BTS.
5368
5369 2018-02-14 Pedro Alves <palves@redhat.com>
5370
5371 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
5372 getting a "Quit".
5373
5374 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
5375
5376 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
5377 Fix test name.
5378
5379 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
5380
5381 * gdb.cp/m-static.exp: Check type of optimized out static
5382 member.
5383
5384 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
5385
5386 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
5387 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
5388
5389 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
5390 Leszek Swirski <leszeks@google.com>
5391
5392 * gdb.python/py-prettyprint.c
5393 (struct to_string_returns_value_inner,
5394 struct to_string_returns_value_wrapper): New.
5395 (main): Add tsrvw variable.
5396 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
5397 ToStringReturnsValueWrapper): New classes.
5398 (register_pretty_printers): Register new pretty-printers.
5399 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
5400 recursive pretty printer.
5401 * gdb.python/py-mi.exp: Likewise.
5402
5403 2018-02-01 Leszek Swirski <leszeks@google.com>
5404
5405 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
5406 functions with the same name as an include file are parsed
5407 correctly.
5408
5409 2018-02-01 Yao Qi <yao.qi@linaro.org>
5410
5411 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
5412 "\[^\r\n\]*".
5413
5414 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
5415
5416 * gdb.arch/powerpc-prologue-frame.s: New file.
5417 * gdb.arch/powerpc-prologue-frame.c: Likewise.
5418 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
5419
5420 2018-01-31 Joel Brobecker <brobecker@adacore.com>
5421
5422 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
5423
5424 2018-01-30 Pedro Alves <palves@redhat.com>
5425
5426 PR gdb/13211
5427 * gdb.base/interrupt-daemon.c: New.
5428 * gdb.base/interrupt-daemon.exp: New.
5429 * gdb.multi/multi-term-settings.c: New.
5430 * gdb.multi/multi-term-settings.exp: New.
5431
5432 2018-01-30 Joel Brobecker <brobecker@adacore.com>
5433
5434 * gdb.base/break.exp: Save the location where the breakpoint
5435 on break.c:47 was actually inserted when debugging the version
5436 compiled at -O2 and use it in the expected output of the "info
5437 break" test performed soon after.
5438
5439 2018-01-22 Pedro Alves <palves@redhat.com>
5440 Sergio Durigan Junior <sergiodj@redhat.com>
5441
5442 * gdb.base/whatis.exp: Add tests for 'set print object on' +
5443 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
5444
5445 2018-01-22 Joel Brobecker <brobecker@adacore.com>
5446
5447 * gdb.base/break-include.c, gdb.base/break-include.inc,
5448 gdb.base/break-include.exp: New files.
5449 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
5450 line number now being the actual line number where the breakpoint
5451 was inserted.
5452 * gdb.mi/mi-break.exp: Likewise.
5453 * gdb.mi/mi-reverse.exp: Likewise.
5454 * gdb.mi/mi-simplerun.exp: Ditto.
5455
5456 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
5457
5458 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
5459 varobj.
5460 * gdb.mi/mi-var-create-rtti.exp: Likewise.
5461
5462 2018-01-21 Don Breazeal <donb@codesourcery.com>
5463 Andrew Burgess <andrew.burgess@embecosm.com>
5464
5465 * gdb.mi/basics.c: Add new global.
5466 * gdb.mi/mi-frame-regs.exp: New file.
5467 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
5468 case.
5469
5470 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
5471
5472 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
5473 non-parameter, and on an unknown symbol.
5474
5475 2018-01-19 Tom Tromey <tom@tromey.com>
5476
5477 * gdb.rust/modules.rs (TWENTY_THREE): New global.
5478 * gdb.rust/modules.exp: Add ::-qualified lookup test.
5479
5480 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5481
5482 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
5483 setrlimit and chdir to int.
5484
5485 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5486
5487 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
5488 function.
5489 (my_tend): Likewise.
5490 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
5491 rationale of avoiding FP- and vector instructions.
5492
5493 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
5494
5495 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
5496 "info reg" with "\[ \t\]*".
5497 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
5498 "\[ \t\]+".
5499 * gdb.arch/s390-multiarch.exp: Ditto.
5500 * gdb.base/pc-fp.exp: Ditto.
5501 * gdb.reverse/i386-precsave.exp: Ditto.
5502 * gdb.reverse/i386-reverse.exp: Ditto.
5503 * gdb.reverse/i387-env-reverse.exp: Ditto.
5504 * gdb.reverse/i387-stack-reverse.exp: Ditto.
5505
5506 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
5507
5508 * lib/gdb.exp (gdb_compile): Re-enable use of
5509 universal_compile_options for languages other than Rust.
5510
5511 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
5512
5513 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
5514
5515 2018-01-17 Mike Gulick <mgulick@mathworks.com>
5516
5517 PR gdb/16577
5518 * gdb.base/solib-vanish.exp: New.
5519 * gdb.base/solib-vanish-main.c: New.
5520 * gdb.base/solib-vanish-lib1.c: New.
5521 * gdb.base/solib-vanish-lib2.c: New.
5522
5523 2018-01-17 Yao Qi <yao.qi@linaro.org>
5524
5525 * gdb.compile/compile.exp: Match the address printed for
5526 frame in the output of command "bt".
5527
5528 2018-01-15 Tom Tromey <tom@tromey.com>
5529
5530 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
5531 compute sp_reg.
5532
5533 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
5534
5535 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
5536 to prepare.
5537 (prepare): Return 0 on error, 1 on success.
5538
5539 2018-01-12 Pedro Alves <palves@redhat.com>
5540
5541 * gdb.base/continue-after-aborted-step-over.c: New.
5542 * gdb.base/continue-after-aborted-step-over.exp: New.
5543
5544 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
5545
5546 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
5547 options when not creating an executable.
5548
5549 2018-01-11 Pedro Alves <palves@redhat.com>
5550
5551 PR remote/22597
5552 * gdb.server/stop-reply-no-thread.c: New file.
5553 * gdb.server/stop-reply-no-thread.exp: New file.
5554
5555 2018-01-10 Pedro Alves <palves@redhat.com>
5556
5557 PR gdb/22670
5558 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
5559 functions too. Test setting breakpoints and printing C functions
5560 with no debug info too.
5561 * gdb.ada/bp_c_mixed_case/qux.c: New file.
5562
5563 2018-01-10 Pedro Alves <palves@redhat.com>
5564
5565 PR gdb/22670
5566 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
5567 a fail.
5568
5569 2018-01-10 Pedro Alves <palves@redhat.com>
5570
5571 PR gdb/22670
5572 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
5573
5574 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
5575
5576 * gdb.server/unittest.exp: Match the output in non-development
5577 mode.
5578
5579 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
5580
5581 * gdb.gdb/unittest.exp: Match output in non-development mode.
5582
5583 2018-01-08 Joel Brobecker <brobecker@adacore.com>
5584
5585 * gdb.ada/access_tagged_param.exp: Relax expected output
5586 for value of "ObjL" in "continue" to pck.inspect breakpoint
5587 test.
5588
5589 2018-01-08 Joel Brobecker <brobecker@adacore.com>
5590
5591 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
5592 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
5593
5594 2018-01-05 Pedro Alves <palves@redhat.com>
5595
5596 PR gdb/18653
5597 * gdb.base/libsegfault.exp: New.
5598
5599 2018-01-05 Joel Brobecker <brobecker@adacore.com>
5600
5601 PR gdb/22670
5602 * gdb.ada/access_tagged_param.exp: New file.
5603 * gdb.ada/access_tagged_param/foo.adb: New file.
5604
5605 2018-01-05 Pedro Alves <palves@redhat.com>
5606
5607 PR gdb/22670
5608 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
5609 exercise lower case too, and to exercise both full matching and
5610 wild matching.
5611
5612 2018-01-05 Joel Brobecker <brobecker@adacore.com>
5613
5614 * gdb.ada/rename_subscript_param: New testcase.
5615
5616 2018-01-05 Jerome Guitton <guitton@adacore.com>
5617
5618 * gdb.ada/arr_acc_idx_w_gap: New testcase.
5619
5620 2018-01-05 Joel Brobecker <brobecker@adacore.com>
5621
5622 * gdb.ada/convvar_comp: New testcase.
5623
5624 2018-01-05 Xavier Roirand <roirand@adacore.com>
5625
5626 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
5627 (My_Table): New global variable.
5628 * testsuite/gdb.ada/array_char_idx.exp: Add test.
5629
5630 2018-01-04 Joel Brobecker <brobecker@adacore.com>
5631
5632 PR gdb/22670
5633 * gdb.ada/maint_with_ada: New testcase.
5634
5635 2018-01-04 Joel Brobecker <brobecker@adacore.com>
5636
5637 PR gdb/22670
5638 * gdb.ada/bp_c_mixed_case: New testcase.
5639
5640 2018-01-04 Joel Brobecker <brobecker@adacore.com>
5641
5642 PR gdb/22670
5643 * gdb.ada/complete.exp: Add "complete break ada" test.
5644
5645 2018-01-04 Joel Brobecker <brobecker@adacore.com>
5646
5647 PR gdb/22670
5648 * gdb.ada/info_addr_mixed_case: New testcase.
5649
5650 2018-01-03 Xavier Roirand <roirand@adacore.com>
5651
5652 * gdb.ada/excep_handle.exp: New testcase.
5653 * gdb.ada/excep_handle/foo.adb: New file.
5654 * gdb.ada/excep_handle/pck.ads: New file.
5655
5656 2018-01-03 Joel Brobecker <brobecker@adacore.com>
5657
5658 * gdb.base/step-line.c: Add extra empty line in copyright header.
5659 * gdb.base/step-line.inp: Likewise.
5660
5661 2018-01-02 Joel Brobecker <brobecker@adacore.com>
5662
5663 * gdb.ada/dyn_stride.exp: Add slice test.
5664
5665 2018-01-02 Joel Brobecker <brobecker@adacore.com>
5666
5667 * gdb.ada/dyn_stride: New testcase.
5668
5669 2017-12-27 Stafford Horne <shorne@gmail.com>
5670
5671 * gdb.xml/extra-regs.xml: Add example foo reggroup.
5672 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
5673
5674 2017-12-27 Stafford Horne <shorne@gmail.com>
5675
5676 * gdb.base/reggroups.c: New file.
5677 * gdb.base/reggroups.exp: New file.
5678
5679 2017-12-18 Joel Brobecker <brobecker@adacore.com>
5680
5681 * gdb.dwarf2/ada-valprint-error.c: New file.
5682 * gdb.dwarf2/ada-valprint-error.exp: New file.
5683
5684 2017-12-18 Joel Brobecker <brobecker@adacore.com>
5685
5686 * gdb.ada/assign_arr: New testcase.
5687
5688 2017-12-18 Xavier Roirand <roirand@adacore.com>
5689
5690 * gdb.ada/funcall_ptr: New testcase.
5691
5692 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5693
5694 PR cli/16224
5695 * gdb.base/ptype-offsets.cc: New file.
5696 * gdb.base/ptype-offsets.exp: New file.
5697
5698 2017-12-15 Yao Qi <yao.qi@linaro.org>
5699
5700 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
5701 if XML is disabled.
5702
5703 2017-12-15 Xavier Roirand <roirand@adacore.com>
5704
5705 * gdb.ada/same_component_name: New testcase.
5706
5707 2017-12-14 Joel Brobecker <brobecker@adacore.com>
5708
5709 * gdb.ada/str_binop_equal: New testcase.
5710
5711 2017-12-14 Joel Brobecker <brobecker@adacore.com>
5712
5713 * gdb.ada/task_switch_in_core: New testcase.
5714
5715 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
5716
5717 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
5718 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
5719 call test_bkpt_qualified.
5720 (test_bkpt_qualified): New proc.
5721
5722 2017-12-13 Pedro Alves <palves@redhat.com>
5723
5724 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
5725 Tighten regexp by matching with an anchor.
5726
5727 2017-12-13 Pedro Alves <palves@redhat.com>
5728
5729 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
5730 ("expression with namespace"): New set of tests.
5731 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
5732 (Nested::Test_NS::qux): New.
5733 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
5734 defaults to 'start_quote_char' and 'end_quote_char' parameters.
5735
5736 2017-12-13 Joel Brobecker <brobecker@adacore.com>
5737
5738 * gdb.base/server-del-break.c: New file.
5739 * gdb.base/server-del-break.exp: New file.
5740
5741 2017-12-12 Stafford Horne <shorne@gmail.com>
5742
5743 * gdb.xml/tdesc-regs.exp: Add or1k support.
5744
5745 2017-12-12 Stafford Horne <shorne@gmail.com>
5746
5747 * gdb.base/bp-permanent.c: Define nop of or1k.
5748
5749 2017-12-11 Joel Brobecker <brobecker@adacore.com>
5750
5751 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
5752 output with components being reordered.
5753
5754 2017-12-11 Joel Brobecker <brobecker@adacore.com>
5755
5756 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
5757 output with components being reordered.
5758
5759 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5760 Pedro Alves <palves@redhat.com>
5761
5762 * gdb.base/maint.exp (check for .gdb_index): Check also for
5763 .debug_names.
5764 * gdb.dlang/watch-loc.c (.debug_aranges): New.
5765 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
5766 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
5767 (.gdb_index used after symbol reloading): Support also .debug_names.
5768 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
5769
5770 2017-12-08 Yao Qi <yao.qi@linaro.org>
5771
5772 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
5773 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
5774
5775 2017-12-08 Yao Qi <yao.qi@linaro.org>
5776
5777 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
5778 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
5779
5780 2017-12-08 Yao Qi <yao.qi@linaro.org>
5781
5782 * gdb.arch/aarch64-tagged-pointer.c: New file.
5783 * gdb.arch/aarch64-tagged-pointer.exp: New file.
5784
5785 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
5786
5787 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
5788 "int".
5789
5790 2017-12-07 Keith Seitz <keiths@redhat.com>
5791
5792 PR breakpoints/22569
5793 * gdb.linespec/ls-errs.exp: Change expected result of "break
5794 -source this file has spaces.c -line 3".
5795 Check that an explicit source file followed by whitespace is
5796 identified as an invalid explicit location.
5797
5798 2017-12-07 Keith Seitz <keiths@redhat.com>
5799
5800 * gdb.cp/nested-types.cc: New file.
5801 * gdb.cp/nested-types.exp: New file.
5802 * lib/cp-support.exp: Load data-structures.exp library.
5803 (debug_cp_test_ptype_class): New global.
5804 (cp_ptype_class_verbose, next_line): New procedures.
5805 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
5806 Add and document new return value.
5807 Switch the list of lines to a queue.
5808 Add support for new `type' key for nested type definitions.
5809 Add debugging/troubleshooting messages.
5810 * lib/data-structures.exp: New file.
5811
5812 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
5813
5814 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
5815 with proc_with_prefix, don't use with_test_prefix.
5816
5817 2017-12-07 Tom Tromey <tom@tromey.com>
5818
5819 * gdb.base/break.exp: Add test for empty "commands".
5820
5821 2017-12-07 Yao Qi <yao.qi@linaro.org>
5822
5823 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
5824 malloc and catch syscall.
5825
5826 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
5827
5828 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
5829 tests for explicit locations.
5830
5831 2017-12-06 Pedro Alves <palves@redhat.com>
5832
5833 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
5834 force-disabling XML descriptions.
5835
5836 2017-12-04 Pedro Alves <palves@redhat.com>
5837
5838 PR gdb/22499
5839 * gdb.arch/amd64-disp-step-avx.S: New file.
5840 * gdb.arch/amd64-disp-step-avx.exp: New file.
5841
5842 2017-12-03 Pedro Alves <palves@redhat.com>
5843
5844 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
5845 and <string.h>.
5846 (parent_function): Print distinct messages when waitpid fails, or
5847 the child exits with a signal, or the child exits for an unhandled
5848 reason.
5849 * gdb.threads/process-dies-while-detaching.exp
5850 (detach_and_expect_exit): New 'inf_output_re' parameter and use
5851 it. Wait for both inferior output and GDB's prompt. Use an
5852 indirect spawn id list.
5853 (do_detach): New parameter 'child_exit'. Use it to compute
5854 expected inferior output.
5855 (test_detach, test_detach_watch, test_detach_killed_outside):
5856 Adjust to pass down the expected child exit kind.
5857
5858 2017-12-01 Joel Brobecker <brobecker@adacore.com>
5859 Sergio Durigan Junior <sergiodj@redhat.com>
5860 Pedro Alves <palves@redhat.com>
5861
5862 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
5863
5864 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
5865
5866 * gdb.base/relocate.exp: Add tests to guarantee that arguments
5867 to 'symbol-file' and 'add-symbol-file' can be
5868 position-independent.
5869
5870 2017-12-01 Yao Qi <yao.qi@linaro.org>
5871
5872 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
5873 the URL in copyright header.
5874 * gdb.arch/aarch64-fp.exp: Likewise.
5875 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
5876 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
5877 * gdb.base/expand-psymtabs.exp: Likewise.
5878 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
5879 * gdb.fortran/common-block.exp: Likewise.
5880 * gdb.fortran/common-block.f90: Likewise.
5881 * gdb.fortran/logical.exp: Likewise.
5882 * gdb.fortran/vla-datatypes.f90: Likewise.
5883 * gdb.fortran/vla-sub.f90: Likewise.
5884
5885 2017-11-30 Joel Brobecker <brobecker@adacore.com>
5886
5887 * gdb.ada/repeat_dyn: New testcase.
5888
5889 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
5890
5891 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
5892 Update for changed thread numbering.
5893 * gdb.cell/bt.exp: Update for changed GDB output.
5894
5895 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
5896
5897 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
5898 setting isremote by hand.
5899 * boards/dwarf4-gdb-index.exp: Likewise.
5900 * boards/fission.exp: Likewise.
5901 * boards/stabs.exp: Likewise.
5902
5903 2017-11-30 Pedro Alves <palves@redhat.com>
5904
5905 * gdb.linespec/cpls-ops.exp
5906 (check_explicit_skips_function_argument): Extract the underlying
5907 type of size_t instead of hardcoding it.
5908
5909 2017-11-29 Pedro Alves <palves@redhat.com>
5910
5911 PR c++/19436
5912 * gdb.linespec/cpls-abi-tag.cc: New file.
5913 * gdb.linespec/cpls-abi-tag.exp: New file.
5914
5915 2017-11-29 Pedro Alves <palves@redhat.com>
5916
5917 * gdb.base/langs.exp: Use -qualified.
5918 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
5919 it.
5920 * gdb.cp/namespace.exp: Use -qualified.
5921 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
5922 (overload-3, template-overload, template-ret-type, const-overload)
5923 (const-overload-quoted, anon-ns, ambiguous-prefix): New
5924 procedures.
5925 (test_driver): Call them.
5926 * gdb.cp/save-bp-qualified.cc: New.
5927 * gdb.cp/save-bp-qualified.exp: New.
5928 * gdb.linespec/explicit.exp: Test -qualified.
5929 * lib/completion-support.exp (completion::explicit_opts_list): Add
5930 "-qualified".
5931 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
5932
5933 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
5934
5935 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
5936
5937 2017-11-29 Tom Tromey <tom@tromey.com>
5938
5939 * gdb.base/relocate.exp: Update invalid argument test.
5940 Add new tests for invalid arguments.
5941
5942 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5943
5944 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
5945 Return 0 as a long.
5946 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
5947
5948 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5949
5950 * gdb.cp/breakpoint.cc (bar): Set return type to void.
5951 * gdb.cp/psymtab-parameter.cc (func): Likewise.
5952 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
5953 func ().
5954 * gdb.cp/shadow.cc (B.func): Return 0.
5955
5956 2017-11-27 Joel Brobecker <brobecker@adacore.com>
5957
5958 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
5959 expected output in gdb_expect call to allow the exception
5960 message to be present as well. Fix syntax confusion to avoid
5961 TCL thinking that exception_name is an array.
5962
5963 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
5964
5965 * gdb.arch/spu-info.c: Include <unistd.h>.
5966 (do_signal_test): Fix broken calls to write.
5967 * gdb.arch/spu-info.exp: Use prepare_for_testing.
5968 Fix checks for empty mailboxes. Update signal tests for corrected
5969 do_signal_test routine. Allow nonzero event status.
5970 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
5971 * gdb.cell/arch.exp: Use standard_output_file.
5972 * gdb.cell/break.exp: Likewise.
5973 * gdb.cell/bt.exp: Likewise.
5974 * gdb.cell/core.exp: Likewise.
5975 * gdb.cell/dwarfaddr.exp: Likewise.
5976 * gdb.cell/ea-cache.exp: Likewise.
5977 * gdb.cell/ea-standalone.exp: Likewise.
5978 * gdb.cell/f-regs.exp: Likewise.
5979 * gdb.cell/fork.exp: Likewise.
5980 * gdb.cell/gcore.exp: Likewise.
5981 * gdb.cell/mem-access.exp: Likewise.
5982 * gdb.cell/ptype.exp: Likewise.
5983 * gdb.cell/registers.exp: Likewise.
5984 * gdb.cell/sizeof.exp: Likewise.
5985 * gdb.cell/solib-symbol.exp: Likewise.
5986 * gdb.cell/solib.exp: Likewise.
5987
5988 2017-11-25 Pedro Alves <palves@redhat.com>
5989
5990 * gdb.base/complete-empty.exp: New file.
5991 * gdb.base/completion.exp: Adjust.
5992
5993 2017-11-25 Pedro Alves <palves@redhat.com>
5994
5995 * gdb.linespec/cpls-ops.cc: New file.
5996 * gdb.linespec/cpls-ops.exp: New file.
5997 * lib/completion-support.exp (test_complete_prefix_range_re): New,
5998 factored out from ...
5999 (test_complete_prefix_range): ... this.
6000
6001 2017-11-24 Pedro Alves <palves@redhat.com>
6002
6003 * gdb.linespec/cpcompletion.exp: New file.
6004 * gdb.linespec/cpls-hyphen.cc: New file.
6005 * gdb.linespec/cpls.cc: New file.
6006 * gdb.linespec/cpls2.cc: New file.
6007 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
6008 test to use test_gdb_complete_unique. Add label completion,
6009 keyword completion and explicit location completion tests.
6010 * lib/completion-support.exp: New file.
6011
6012 2017-11-24 Joel Brobecker <brobecker@adacore.com>
6013
6014 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
6015 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
6016 when hitting an exception catchpoint.
6017
6018 2017-11-22 Yao Qi <yao.qi@linaro.org>
6019
6020 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
6021
6022 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
6023
6024 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
6025 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
6026 * gdb.dwarf2/info-locals-optimized-out.c: New file.
6027
6028 2017-11-22 Yao Qi <yao.qi@linaro.org>
6029
6030 * gdb.base/info-os.exp: Pass pthreads.
6031 * gdb.multi/multi-attach.exp: Likewise.
6032
6033 2017-11-22 Yao Qi <yao.qi@linaro.org>
6034
6035 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
6036 compiler.
6037
6038 2017-11-22 Yao Qi <yao.qi@linaro.org>
6039
6040 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
6041 * gdb.base/break-interp.exp: Likewise.
6042 * gdb.base/jit-attach-pie.exp: Likewise.
6043
6044 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
6045
6046 * gdb.base/float128.c (large128): New variable.
6047 * gdb.base/float128.exp: Add test to print largest __float128 value.
6048
6049 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
6050
6051 * gdb.arch/vsx-regs.exp: Update register content checks.
6052
6053 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
6054
6055 * gdb.arch/ppc-longdouble.exp: New file.
6056 * gdb.arch/ppc-longdouble.c: Likewise.
6057
6058 2017-11-21 Pedro Alves <palves@redhat.com>
6059
6060 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
6061
6062 2017-11-20 Pedro Alves <palves@redhat.com>
6063
6064 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
6065 (long_double_typedef): New typedefs.
6066 Use DEF on double and long double.
6067 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
6068 cases.
6069 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
6070 and 'long_double_ptr_same_size' locals. Use them to decide
6071 whether cast from array/function to float is valid/invalid.
6072
6073 2017-11-17 Tom Tromey <tom@tromey.com>
6074
6075 * gdb.rust/traits.rs: New file.
6076 * gdb.rust/traits.exp: New file.
6077
6078 2017-11-17 Joel Brobecker <brobecker@adacore.com>
6079
6080 * gdb.ada/minsyms: New testcase.
6081
6082 2017-11-16 Pedro Alves <palves@redhat.com>
6083
6084 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
6085 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
6086
6087 2017-11-16 Pedro Alves <palves@redhat.com>
6088
6089 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
6090 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
6091
6092 2017-11-16 Pedro Alves <palves@redhat.com>
6093
6094 * gdb.server/reconnect-ctrl-c.c: New file.
6095 * gdb.server/reconnect-ctrl-c.exp: New file.
6096
6097 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
6098
6099 * gdb.python/py-rbreak.exp: New file.
6100 * gdb.python/py-rbreak.c: New file.
6101 * gdb.python/py-rbreak-func2.c: New file.
6102
6103 2017-11-16 Pedro Alves <palves@redhat.com>
6104
6105 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
6106 pattern.
6107 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
6108 GDB.
6109
6110 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
6111
6112 * gdb.tui/completionn.exp (test_tab_completion): Add space in
6113 regex.
6114
6115 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
6116
6117 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
6118 test names.
6119
6120 2017-11-09 Pedro Alves <palves@redhat.com>
6121
6122 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
6123 factored out from ...
6124 (top level): ... here, and adjusted to avoid expecting beyond the
6125 prompt in a single gdb_test_multiple.
6126
6127 2017-11-09 Pedro Alves <palves@redhat.com>
6128
6129 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
6130 output.
6131 * gdb.server/ext-attach.exp ("kill" test): Likewise.
6132 * gdb.server/ext-restart.exp ("kill" test): Likewise.
6133 * gdb.server/ext-run.exp ("kill" test): Likewise.
6134 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
6135
6136 2017-11-09 Pedro Alves <palves@redhat.com>
6137
6138 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
6139 match till end of line.
6140
6141 2017-11-09 Pedro Alves <palves@redhat.com>
6142
6143 * gdb.base/memattr.exp: Tighten regexes to match the end line.
6144
6145 2017-11-09 Pedro Alves <palves@redhat.com>
6146
6147 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
6148 New procedures, factored out from ...
6149 (top level): ... here, and adjusted to avoid expecting beyond the
6150 prompt in one go.
6151
6152 2017-11-09 Pedro Alves <palves@redhat.com>
6153
6154 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
6155 output. Fix '?' match.
6156
6157 2017-11-08 Joel Brobecker <brobecker@adacore.com>
6158
6159 * gdb.ada/scoped_watch: New testcase.
6160 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
6161 which is actually correct.
6162 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
6163 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
6164
6165 2017-11-08 Pedro Alves <palves@redhat.com>
6166
6167 * gdb.gdb/complaints.exp (test_initial_complaints)
6168 (test_serial_complaints, test_short_complaints): Call
6169 complaint_internal instead of complaint.
6170
6171 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
6172
6173 * gdb.threads/tls-core.c: New file.
6174 * gdb.threads/tls-core.exp: Likewise.
6175
6176 2017-11-08 Pedro Alves <palves@redhat.com>
6177
6178 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
6179 (p Exported_Capitalized): New test.
6180 (p exported_capitalized): New test.
6181
6182 2017-11-07 Pedro Alves <palves@redhat.com>
6183
6184 * gdb.cp/ena-dis-br-range.exp: Add more tests.
6185
6186 2017-11-07 Pedro Alves <palves@redhat.com>
6187
6188 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
6189 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
6190 (disable_invalid, disable_inverted, disable_negative): New
6191 procedures.
6192 ("bad numbers"): New set of tests.
6193
6194 2017-11-07 Pedro Alves <palves@redhat.com>
6195
6196 * gdb.cp/ena-dis-br-range.exp: Add tests.
6197
6198 2017-11-07 Pedro Alves <palves@redhat.com>
6199
6200 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
6201
6202 2017-11-07 Xavier Roirand <roirand@adacore.com>
6203 Pedro Alves <palves@redhat.com>
6204
6205 * gdb.base/ena-dis-br.exp: Add reference to
6206 gdb.cp/ena-dis-br-range.exp.
6207 * gdb.cp/ena-dis-br-range.exp: New file.
6208 * gdb.cp/ena-dis-br-range.cc: New file.
6209
6210 2017-11-06 Pedro Alves <palves@redhat.com>
6211
6212 * gdb.base/attach-non-pgrp-leader.c: New.
6213 * gdb.base/attach-non-pgrp-leader.exp: New.
6214
6215 2017-11-06 Pedro Alves <palves@redhat.com>
6216
6217 * configure.ac: No longer check for termio.h and sgtty.h.
6218 * configure: Regenerate.
6219 * remote-utils.c: Include termios.h instead of gdb_termios.h.
6220 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
6221 Remove termio and sgtty code.
6222
6223 2017-11-03 Yao Qi <yao.qi@linaro.org>
6224
6225 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
6226 in GDB is disabled.
6227
6228 2017-11-03 Yao Qi <yao.qi@linaro.org>
6229
6230 * gdb.python/py-thrhandle.exp: Skip it if python is not
6231 enabled.
6232
6233 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
6234
6235 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
6236 as a breakpoint command.
6237
6238 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
6239
6240 PR python/21213
6241 * gdb.python/py-infthread.exp: Test calling
6242 InferiorThread.inferior () multiple times in a row.
6243
6244 2017-10-27 Keith Seitz <keiths@redhat.com>
6245
6246 * gdb.opt/inline-break.exp (break_info_1): New procedure.
6247 Test "info break" for every inlined function breakpoint.
6248
6249 2017-10-27 Yao Qi <yao.qi@linaro.org>
6250
6251 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
6252
6253 2017-10-26 Patrick Frants <osscontribute@gmail.com>
6254
6255 * gdb.cp/classes.exp (test_static_members): Test printing
6256 Outer::instance.
6257 * gdb.cp/classes.c (struct Inner, struct Outer): New.
6258 (Inner::instance, Outer::instance): New.
6259
6260 2017-10-24 Pedro Alves <palves@redhat.com>
6261
6262 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
6263 extra console" test in two stages.
6264
6265 2017-10-24 Pedro Alves <palves@redhat.com>
6266
6267 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
6268
6269 2017-10-24 Pedro Alves <palves@redhat.com>
6270
6271 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
6272 loop.
6273
6274 2017-10-24 Pedro Alves <palves@redhat.com>
6275
6276 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
6277 $attempt" and "stoppedtry $stoppedtry" test prefixes.
6278
6279 2017-10-24 Pedro Alves <palves@redhat.com>
6280
6281 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
6282 parameter and handle it. Don't output read value in test name.
6283
6284 2017-10-24 Pedro Alves <palves@redhat.com>
6285
6286 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
6287 custom test name.
6288
6289 2017-10-24 Pedro Alves <palves@redhat.com>
6290
6291 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
6292 include the unstable output directory name in the test's name.
6293 (initial_setup_simple) <'set args'>: Use custom test name.
6294
6295 2017-10-24 Pedro Alves <palves@redhat.com>
6296
6297 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
6298 with explicit test name.
6299
6300 2017-10-20 Pedro Alves <palves@redhat.com>
6301
6302 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
6303 'wait -i'. Use gdb_assert and remote_close.
6304
6305 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
6306
6307 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
6308 number from variable rather than hard-coded.
6309
6310 2017-10-19 Pedro Alves <palves@redhat.com>
6311
6312 * gdb.base/long-inferior-output.c: New file.
6313 * gdb.base/long-inferior-output.exp: New file.
6314
6315 2017-11-18 Keith Seitz <keiths@redhat.com>
6316
6317 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
6318 method.
6319 (main): Call it.
6320 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
6321 Add additional user-defined conversion operator tests.
6322
6323 2017-10-17 Pedro Alves <palves@redhat.com>
6324
6325 * boards/native-stdio-gdbserver.exp: Load "local-board".
6326
6327 2017-10-17 Pedro Alves <palves@redhat.com>
6328
6329 * gdb.base/quit-live.c: New file.
6330 * gdb.base/quit-live.exp: New file.
6331
6332 2017-10-16 Keith Seitz <keiths@redhat.com>
6333
6334 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
6335 (class_with_protected_typedef, class_with_private_typedef)
6336 (struct_with_public_typedef, struct_with_protected_typedef)
6337 (struct_with_private_typedef): New classes/structs.
6338 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
6339 typedefs and access specifiers.
6340
6341 2017-10-16 Pedro Alves <palves@redhat.com>
6342 Simon Marchi <simon.marchi@polymtl.ca>
6343
6344 * README (Local vs Remote vs Native): New section.
6345 * boards/local-board.exp: New file, with bits factored out from
6346 ...
6347 * boards/native-extended-gdbserver.exp: ... here. Load
6348 "local-board".
6349 * boards/native-gdbserver.exp: Load "local-board".
6350 (${board}_spawn, ${board}_exec): Delete.
6351 * boards/native-stdio-gdbserver.exp: Most contents factored out to
6352 ...
6353 * boards/stdio-gdbserver-base.exp: ... this new file.
6354 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
6355 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
6356 procedure.
6357 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
6358 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
6359 stdio_gdbserver_command.
6360 (${board}_get_remote_address, ${board}_get_comm_port)
6361 (${board}_download, ${board}_upload): Delete.
6362 (get_target_remote_pipe_cmd): New.
6363
6364 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
6365
6366 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
6367 test_bkpt_deletion, test_bkpt_cond_and_cmds,
6368 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
6369 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
6370 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
6371 remove with_test_prefix.
6372
6373 2017-10-13 Pedro Alves <palves@redhat.com>
6374
6375 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
6376 * gdb.base/annota1.exp: Use it instead of is_remote.
6377 * gdb.base/annota3.exp: Use it instead of is_remote.
6378 * gdb.cp/annota2.exp: Use it instead of is_remote.
6379 * gdb.cp/annota3.exp: Use it instead of is_remote.
6380 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
6381
6382 2017-10-13 Pedro Alves <palves@redhat.com>
6383
6384 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
6385 (test_num_test_vars, run_and_count_vars, find_env)
6386 (test_set_unset_env, test_inherit_env_var): New procedures.
6387 (top level): Use them.
6388
6389 2017-10-13 Pedro Alves <palves@redhat.com>
6390
6391 * lib/selftest-support.exp (selftest_setup): Extend comments, and
6392 also skip on stub-like targets.
6393
6394 2017-10-13 Pedro Alves <palves@redhat.com>
6395
6396 PR gdb/22293
6397 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
6398 (top level): Move some tests to ...
6399 (test_not_found): ... this new procedure.
6400 (top level): Call it.
6401
6402 2017-10-13 Pedro Alves <palves@redhat.com>
6403
6404 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
6405 expect different "info terminal" output if testing with a
6406 non-native target.
6407
6408 2017-10-13 Pedro Alves <palves@redhat.com>
6409 Simon Marchi <simon.marchi@polymtl.ca>
6410
6411 PR python/12966
6412 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
6413
6414 2017-10-13 Pedro Alves <palves@redhat.com>
6415
6416 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
6417 already.
6418
6419 2017-10-13 Pedro Alves <palves@redhat.com>
6420
6421 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
6422 is_remote.
6423
6424 2017-10-13 Pedro Alves <palves@redhat.com>
6425
6426 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
6427 is_remote.
6428
6429 2017-10-13 Pedro Alves <palves@redhat.com>
6430
6431 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
6432 is set.
6433 (corefile_test_attach): Likewise. Check can_spawn_for_attach
6434 instead of is_remote.
6435
6436 2017-10-13 Pedro Alves <palves@redhat.com>
6437
6438 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
6439 (top level): Add comment.
6440
6441 2017-10-13 Pedro Alves <palves@redhat.com>
6442
6443 * gdb.base/remote.exp (top level): Fix comment typo and add
6444 missing return.
6445
6446 2017-10-13 Pedro Alves <palves@redhat.com>
6447 Simon Marchi <simon.marchi@polymtl.ca>
6448
6449 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
6450 calls and add comments. Skip test if use_gdb_stub is set.
6451 (top level): Use "set cwd" command instead of "cd" command.
6452
6453 2017-10-13 Pedro Alves <palves@redhat.com>
6454
6455 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
6456 is_remote target check.
6457
6458 2017-10-13 Pedro Alves <palves@redhat.com>
6459
6460 * gdb.base/scope.exp: Use build_executable + clean_restart +
6461 gdb_file_cmd instead of prepare_for_testing and no longer skip
6462 "before run" tests on is_remote target boards. Update comments.
6463 * boards/native-extended-gdbserver.exp
6464 (extended_gdbserver_load_last_file): New, factored out from ...
6465 (gdb_load): ... this. Move further below and add comment.
6466 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
6467
6468 2017-10-12 Pedro Alves <palves@redhat.com>
6469
6470 * gdb.base/attach.exp: Remove references to gdb64.
6471 * gdb.base/dbx.exp: Remove references to gdb64.
6472
6473 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
6474 Pedro Alves <palves@redhat.com>
6475
6476 * gdb.base/label.exp: Remove is_remote target check.
6477
6478 2017-10-12 Pedro Alves <palves@redhat.com>
6479
6480 * gdb.base/auvx.exp (coredir): Update comment.
6481 (top level) <core_works>: Use "set cwd" command instead of "cd"
6482 command.
6483
6484 2017-10-12 Pedro Alves <palves@redhat.com>
6485 Simon Marchi <simon.marchi@polymtl.ca>
6486
6487 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
6488 target boards.
6489
6490 2017-10-12 Pedro Alves <palves@redhat.com>
6491 Simon Marchi <simon.marchi@polymtl.ca>
6492
6493 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
6494 Instead skip if there's any gdb_protocol set.
6495
6496 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
6497 Pedro Alves <palves@redhat.com>
6498
6499 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
6500
6501 2017-10-12 Pedro Alves <palves@redhat.com>
6502 Simon Marchi <simon.marchi@polymtl.ca>
6503
6504 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
6505 instead of on dejagnu remote boards.
6506
6507 2017-10-12 Pedro Alves <palves@redhat.com>
6508 Simon Marchi <simon.marchi@polymtl.ca>
6509
6510 * gdb.base/inferior-died.exp: Remove is_remote and isnative
6511 checks. Use build_executable + clean_restart instead of
6512 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
6513 of enabling non-stop after starting gdb.
6514
6515 2017-10-12 Pedro Alves <palves@redhat.com>
6516
6517 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
6518 * gdb.threads/non-ldr-exc-2.exp: Ditto.
6519 * gdb.threads/non-ldr-exc-3.exp: Ditto.
6520 * gdb.threads/non-ldr-exc-4.exp: Ditto.
6521
6522 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
6523
6524 * gdb.arch/arc-tdesc-cpu.exp: New file.
6525 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
6526
6527 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
6528
6529 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
6530
6531 2017-10-10 Pedro Alves <palves@redhat.com>
6532
6533 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
6534 expect CLI output.
6535
6536 2017-10-10 Pedro Alves <palves@redhat.com>
6537
6538 * lib/selftest-support.exp (selftest_setup): Update for
6539 captured_command_loop's prototype change.
6540
6541 2017-10-09 Pedro Alves <palves@redhat.com>
6542
6543 Test both arch1=>arch2 and arch2=>arch1.
6544
6545 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
6546 (srcfile2, binfile2, march1, march2): Remove globals. Largely
6547 factored out to...
6548 (append_arch1_options, append_arch2_options, append_arch_options)
6549 (build_executables): New procedures.
6550 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
6551 local.
6552 (top level): Add new 'first_arch' testing axis.
6553
6554 2017-10-09 Pedro Alves <palves@redhat.com>
6555
6556 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
6557 (barrier): New.
6558 (thread_start, all_started): New functions.
6559 (main): Spawn new thread and wait until it is scheduled.
6560 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
6561 option.
6562 (do_test): Add 'selected_thread' parameter. Run to all_started
6563 instead of main. Explicitly set the breakpoint at main. Switch
6564 to the SELECTED_THREAD thread.
6565 (top level): Test handling the exec event with either the main
6566 thread or the second thread selected.
6567
6568 2017-10-09 Pedro Alves <palves@redhat.com>
6569
6570 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
6571 logic. Move STOP marker after the value checks.
6572 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
6573 regexp.
6574
6575 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
6576
6577 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
6578
6579 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
6580
6581 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
6582 integer-to-dfp conversion.
6583 * gdb.base/dfp-test.exp: Likewise.
6584
6585 2017-10-04 Pedro Alves <palves@redhat.com>
6586
6587 * gdb.multi/hangout.c: Include <unistd.h>.
6588 (hangout_loop): New function.
6589 (main): Call alarm. Call hangout_loop in a loop.
6590 * gdb.multi/hello.c: Include <unistd.h>.
6591 (hello_loop): New function.
6592 (main): Call alarm. Call hangout_loop in a loop.
6593 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
6594 inferior with the other selected.
6595
6596 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
6597
6598 * gdb.mi/list-thread-groups-available.exp: New file.
6599 * gdb.mi/list-thread-groups-available.c: New file.
6600
6601 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
6602
6603 * gdb.base/set-cwd.exp: Make it available on
6604 native-extended-gdbserver.
6605
6606 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
6607
6608 * gdb.base/set-cwd.c: New file.
6609 * gdb.base/set-cwd.exp: Likewise.
6610
6611 2017-10-02 Tom Tromey <tom@tromey.com>
6612
6613 PR rust/22236:
6614 * gdb.rust/simple.rs (main): New variable "fslice".
6615 * gdb.rust/simple.exp: Add slice tests. Update string tests.
6616
6617 2017-10-02 Tom Tromey <tom@tromey.com>
6618
6619 * gdb.rust/simple.exp: Test ptype of a slice.
6620
6621 2017-10-02 Tom Tromey <tom@tromey.com>
6622
6623 * gdb.rust/simple.exp: Test index of slice.
6624
6625 2017-09-27 Tom Tromey <tom@tromey.com>
6626
6627 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
6628
6629 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
6630 Pedro Alves <palves@redhat.com>
6631
6632 * gdb.base/compare-sections.exp (get value of read-only section): Read
6633 as unsigned value.
6634 (corrupt read-only section): Likewise and don't set written if patching
6635 failed.
6636
6637 2017-09-21 Kevin Buettner <kevinb@redhat.com>
6638
6639 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
6640 files.
6641
6642 2017-09-20 Pedro Alves <palves@redhat.com>
6643
6644 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
6645 symbol names in gdb's output.
6646 * gdb.cp/overload.exp ("list all overloads"): Likewise.
6647
6648 2017-09-20 Pedro Alves <palves@redhat.com>
6649
6650 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
6651 Rename to ...
6652 (test_list_ambiguous_symbol): ... this and add a symbol name
6653 parameter. Adjust.
6654 (test_list_ambiguous_function): Reimplement on top of
6655 test_list_ambiguous_symbol and also test listing ambiguous
6656 variables.
6657 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
6658 (ambiguous_fun): ... this.
6659 (ambiguous_var): New.
6660 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
6661 (ambiguous_fun): ... this.
6662 (ambiguous_var): New.
6663
6664 2017-09-19 John Baldwin <jhb@FreeBSD.org>
6665
6666 * gdb.base/starti.c: New file.
6667 * gdb.base/starti.exp: New file.
6668 * lib/gdb.exp (gdb_starti_cmd): New procedure.
6669
6670 2017-09-14 Pedro Alves <palves@redhat.com>
6671
6672 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
6673 (top level): Use it instead of runto.
6674
6675 2017-09-11 Tom Tromey <tom@tromey.com>
6676
6677 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
6678
6679 2017-09-11 Tom Tromey <tom@tromey.com>
6680
6681 * gdb.python/py-infthread.exp: Add tests for new_thread event.
6682 * gdb.python/py-inferior.exp: Add tests for new inferior events.
6683
6684 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
6685
6686 * gdb.fortran/printing-types.exp: New file.
6687 * gdb.fortran/printing-types.exp: New file.
6688
6689 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
6690
6691 * gdb.fortran/vla-ptype.exp: Fix typos.
6692 * gdb.fortran/vla-value.exp: Same.
6693
6694 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
6695
6696 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
6697 * gdb.mi/mi-var-child-f.exp: Likewise.
6698 * gdb.mi/mi-vla-fortran.exp: Likewise.
6699
6700 2017-09-08 Frank Penczek <frank.penczek@intel.com>
6701 Christoph Weinmann <christoph.t.weinmann@intel.com>
6702 Bernhard Heckel <bernhard.heckel@intel.com>
6703
6704 * gdb.fortran/ptr-indentation.f90: New file.
6705 * gdb.fortran/ptr-indentation.exp: New file.
6706
6707 2017-09-05 Tom Tromey <tom@tromey.com>
6708
6709 PR gdb/22010:
6710 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
6711
6712 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
6713
6714 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
6715
6716 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6717
6718 * gdb.threads/tls-nodebug-pie.c: New file.
6719 * gdb.threads/tls-nodebug-pie.exp: New file.
6720
6721 2017-09-05 Tom Tromey <tom@tromey.com>
6722
6723 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
6724 for rust.
6725
6726 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
6727
6728 * gdb.multi/multi-arch-exec.exp: Test with different
6729 "follow-exec-mode" settings.
6730 (do_test): New procedure.
6731
6732 2017-09-04 Pedro Alves <palves@redhat.com>
6733
6734 * gdb.base/func-static.c (S::method const, S::method volatile)
6735 (S::method volatile const): New methods.
6736 (c_s, v_s, cv_s): New instances.
6737 (main): Call method() on them.
6738 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
6739 (cannot_resolve): New procedure.
6740 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
6741 print-quote-unquoted columns.
6742 (do_test): Test printing each scope too.
6743
6744 2017-09-04 Pedro Alves <palves@redhat.com>
6745
6746 * gdb.base/local-static.exp: Also test with
6747 class::method::variable wholly quoted.
6748 * gdb.cp/m-static.exp (class::method::variable): Remove test.
6749
6750 2017-09-04 Pedro Alves <palves@redhat.com>
6751
6752 * gdb.base/local-static.c: New.
6753 * gdb.base/local-static.cc: New.
6754 * gdb.base/local-static.exp: New.
6755
6756 2017-09-04 Pedro Alves <palves@redhat.com>
6757
6758 * gdb.asm/asm-source.exp: Add casts to int.
6759 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
6760 (dataglobal64_1, dataglobal64_2): New globals.
6761 * gdb.base/nodebug.exp: Test different expressions involving the
6762 new globals, with print, whatis and ptype. Add casts to int.
6763 * gdb.base/solib-display.exp: Add casts to int.
6764 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
6765 * gdb.cp/m-static.exp: Add cast to int.
6766 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
6767 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
6768 tls variable with no debug info without a cast. Test with a cast
6769 to int too.
6770 * gdb.trace/entry-values.exp: Add casts.
6771
6772 2017-09-04 Pedro Alves <palves@redhat.com>
6773
6774 * gdb.base/nodebug.exp: Test that ptype's error about functions
6775 with unknown return type includes the function name too.
6776
6777 2017-09-04 Pedro Alves <palves@redhat.com>
6778
6779 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
6780 return type of munmap in infcall.
6781 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
6782 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
6783 type of ftell in infcall.
6784 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
6785 type of getpid in infcall.
6786 * gdb.base/infcall-exec.exp: Cast return type of execlp in
6787 infcall.
6788 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
6789 Bail on failure to extract the pid.
6790 * gdb.base/nodebug.c: #include <stdint.h>.
6791 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
6792 New functions.
6793 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
6794 Change expected output of print/whatis/ptype with functions with
6795 no debug info. Test all supported languages. Call
6796 test_call_promotion.
6797 * gdb.compile/compile.exp: Adjust expected output to expect
6798 warning.
6799 * gdb.threads/siginfo-threads.exp: Likewise.
6800
6801 2017-09-04 Pedro Alves <palves@redhat.com>
6802
6803 * gdb.base/callfuncs.exp (do_function_calls): New parameter
6804 "prototypes". Test calling float functions via prototyped and
6805 unprototyped function pointers.
6806 (perform_all_tests): New parameter "prototypes". Pass it down.
6807 (top level): Pass down "prototypes" parameter to
6808 perform_all_tests.
6809
6810 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6811
6812 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
6813 Test with nested loops.
6814
6815 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6816
6817 * gdb.base/commands.exp: Call the new procedures.
6818 (loop_break_test, loop_continue_test): New procedures.
6819
6820 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6821
6822 * gdb.base/commands.exp: Call new procedure.
6823 (define_if_without_arg_test): New procedure.
6824
6825 2017-09-04 Pedro Alves <palves@redhat.com>
6826
6827 * gdb.base/list-ambiguous.exp: New file.
6828 * gdb.base/list-ambiguous0.c: New file.
6829 * gdb.base/list-ambiguous1.c: New file.
6830 * gdb.base/list.exp (test_list_range): Adjust expected output.
6831
6832 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
6833
6834 * gdb.base/share-env-with-gdbserver.c: New file.
6835 * gdb.base/share-env-with-gdbserver.exp: Likewise.
6836
6837 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
6838
6839 * gdb.base/commands.exp (gdbvar_simple_if_test,
6840 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
6841 progvar_simple_if_test, progvar_simple_while_test,
6842 progvar_complex_if_while_test, user_defined_command_test,
6843 user_defined_command_args_eval,
6844 user_defined_command_args_stack_test,
6845 user_defined_command_manyargs_test, bp_deleted_in_command_test,
6846 temporary_breakpoint_commands,
6847 gdb_test_no_prompt, redefine_hook_test,
6848 redefine_backtrace_test): Remove "global gdb_prompt".
6849
6850 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
6851
6852 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
6853 New proc, call it from toplevel.
6854
6855 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
6856
6857 PR remote/21852
6858 * gdb.server/normal.c: New file, copied from gdb.base.
6859 * gdb.server/run-without-local-binary.exp: New file.
6860
6861 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
6862
6863 * gdb.arch/sparc64-adi.exp: New file.
6864 * gdb.arch/sparc64-adi.c: New file.
6865
6866 2017-08-22 Pedro Alves <palves@redhat.com>
6867
6868 * gdb.cp/overload.exp (line_range_pattern): New procedure.
6869 (top level): Add "list all overloads" tests.
6870
6871 2017-08-22 Tom Tromey <tom@tromey.com>
6872
6873 * gdb.gdb/xfullpath.exp: Remove.
6874
6875 2017-08-21 Pedro Alves <palves@redhat.com>
6876
6877 PR gdb/19487
6878 * gdb.base/symbol-alias.c: New.
6879 * gdb.base/symbol-alias2.c: New.
6880 * gdb.base/symbol-alias.exp: New.
6881
6882 2017-08-21 Pedro Alves <palves@redhat.com>
6883
6884 * gdb.base/dfp-test.c
6885 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
6886 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
6887 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
6888 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
6889 * gdb.base/whatis-ptype-typedefs.c: New.
6890 * gdb.base/whatis-ptype-typedefs.exp: New.
6891 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
6892 (an_int, an_int_type, an_int_type2): New globals.
6893 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
6894 involving typedefs and cast expressions.
6895 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
6896 (lookup_typedefs_function): New.
6897 (typedefs_pretty_printers_dict): New.
6898 (top level): Register lookup_typedefs_function in
6899 gdb.pretty_printers.
6900
6901 2017-08-18 Yao Qi <yao.qi@linaro.org>
6902
6903 * gdb.server/unittest.exp: New.
6904
6905 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
6906
6907 PR gdb/21954
6908 * gdb.base/environ.exp: Add test to check if 'unset environment'
6909 works.
6910
6911 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6912
6913 * lib/gdb.exp (universal_compile_options): New caching proc.
6914 (gdb_compile): Suppress GCC's coloring of messages.
6915
6916 2017-08-14 Tom Tromey <tom@tromey.com>
6917
6918 PR gdb/21675:
6919 * gdb.base/printcmds.exp (test_radices): New function.
6920 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
6921 * gdb.base/sizeof.exp (check_valueof): Use p/d.
6922 * lib/gdb.exp (get_integer_valueof): Use p/d.
6923
6924 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
6925
6926 * lib/gdb.exp (get_valueof): Don't capture end-of-line
6927 characters.
6928
6929 2017-08-05 Tom Tromey <tom@tromey.com>
6930
6931 * gdb.rust/simple.exp: Allow String to appear in a different
6932 namespace.
6933
6934 2017-07-26 Yao Qi <yao.qi@linaro.org>
6935
6936 * gdb.gdb/unittest.exp: Invoke command
6937 "maintenance check xml-descriptions".
6938
6939 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
6940
6941 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
6942 calling context.
6943 (hex128): Drop erroneous calculation of parameters.
6944
6945 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
6946
6947 * gdb.python/py-unwind.exp: Disable stack protection when
6948 building test file.
6949
6950 2017-07-20 Pedro Alves <palves@redhat.com>
6951
6952 * gdb.base/default.exp (set language): Adjust expected output.
6953
6954 2017-07-20 Pedro Alves <palves@redhat.com>
6955
6956 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
6957 (test_minsym): ... this, and make static.
6958 (get_pck__foo__bar__minsym): Rename to ...
6959 (get_test_minsym): ... this.
6960 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
6961 symbol names and comments.
6962 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
6963 (get_test_minsym): ... this.
6964 (pck__foo__bar__minsym__2): Rename to ...
6965 (test_minsym): ... this.
6966 (main): Adjust.
6967
6968 2017-07-17 Pedro Alves <palves@redhat.com>
6969
6970 * gdb.base/completion.exp: Adjust expected output.
6971 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
6972 the completer works.
6973
6974 2017-07-17 Pedro Alves <palves@redhat.com>
6975
6976 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
6977
6978 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
6979
6980 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
6981
6982 2017-07-14 Tom Tromey <tom@tromey.com>
6983
6984 PR rust/21764:
6985 * gdb.rust/simple.exp: Add tests.
6986
6987 2017-07-14 Tom Tromey <tom@tromey.com>
6988
6989 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
6990
6991 2017-07-14 Pedro Alves <palves@redhat.com>
6992
6993 * gdb.linespec/base/one/thefile.cc (z1): New function.
6994 * gdb.linespec/base/two/thefile.cc (z2): New function.
6995 * gdb.linespec/linespec.exp: Add tests.
6996
6997 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
6998
6999 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
7000 to mi_create_breakpoint.
7001
7002 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
7003
7004 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
7005 mi_create_breakpoint.
7006
7007 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
7008
7009 * gdb.dlang/demangle.exp: Update for demangling changes.
7010
7011 2017-07-09 Tom Tromey <tom@tromey.com>
7012
7013 * gdb.dwarf2/shortpiece.exp: New file.
7014
7015 2017-07-06 David Blaikie <dblaikie@gmail.com>
7016
7017 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
7018 built from fissiont-multi-cu{1,2}.c.
7019 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
7020 except putting 'main' and 'func' in separate CUs in the same DWO file.
7021 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
7022 test.
7023 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
7024 test.
7025
7026 2017-07-06 Pedro Alves <palves@redhat.com>
7027
7028 * gdb.python/py-unwind.exp: Test flushregs.
7029
7030 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
7031
7032 PR cli/21688
7033 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
7034 tests for alias commands and trailing whitespace.
7035
7036 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
7037
7038 PR cli/21688
7039 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
7040 procedure. Call it.
7041
7042 2017-06-29 Pedro Alves <palves@redhat.com>
7043
7044 * gdb.base/printcmds.exp: Add tests.
7045
7046 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
7047
7048 PR gdb/21337
7049 * gdb.base/reread-readsym.exp: New file.
7050 * gdb.base/reread-readsym.c: New file.
7051
7052 2017-06-21 Kevin Buettner <kevinb@redhat.com>
7053
7054 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
7055 subpattern.
7056
7057 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
7058
7059 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
7060 extended mnemonic.
7061 * gdb.arch/powerpc-power9.s: Likewise.
7062
7063 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7064
7065 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
7066 on 32-bit x86 targets. Exploit is_*_target macros where
7067 appropriate.
7068
7069 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7070
7071 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
7072 register pieces.
7073
7074 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7075
7076 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
7077 located in one or more DWARF pieces.
7078
7079 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7080
7081 * lib/gdb.exp (get_endianness): New proc.
7082 * gdb.arch/aarch64-fp.exp: Use it.
7083 * gdb.arch/altivec-regs.exp: Likewise.
7084 * gdb.arch/e500-regs.exp: Likewise.
7085 * gdb.arch/vsx-regs.exp: Likewise.
7086 * gdb.base/dump.exp: Likewise.
7087 * gdb.base/funcargs.exp: Likewise.
7088 * gdb.base/gnu_vector.exp: Likewise.
7089 * gdb.dwarf2/formdata16.exp: Likewise.
7090 * gdb.dwarf2/implptrpiece.exp: Likewise.
7091 * gdb.dwarf2/nonvar-access.exp: Likewise.
7092 * gdb.python/py-inferior.exp: Likewise.
7093 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
7094
7095 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7096
7097 PR gdb/21226
7098 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
7099 stack value pieces are taken from the LSB end.
7100
7101 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7102
7103 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
7104 variable at nonzero offset.
7105
7106 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7107
7108 * gdb.dwarf2/var-access.c: New file.
7109 * gdb.dwarf2/var-access.exp: New test.
7110 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
7111
7112 2017-06-12 Tom Tromey <tom@tromey.com>
7113
7114 * gdb.dwarf2/formdata16.exp: Add tests.
7115
7116 2017-06-12 Tom Tromey <tom@tromey.com>
7117
7118 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
7119
7120 2017-06-12 Tom Tromey <tom@tromey.com>
7121
7122 PR exp/16225:
7123 * gdb.reverse/i386-sse-reverse.exp: Update tests.
7124 * gdb.arch/vsx-regs.exp: Update tests.
7125 * gdb.arch/s390-vregs.exp (hex128): New proc.
7126 Update test.
7127 * gdb.arch/altivec-regs.exp: Update tests.
7128
7129 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
7130
7131 * gdb.base/startup-with-shell.c: New file.
7132 * gdb.base/startup-with-shell.exp: Likewise.
7133
7134 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
7135
7136 * gdb.server/non-existing-program.exp: Update regex in order to
7137 reflect the fact that gdbserver is now using fork_inferior (with a
7138 shell) to startup the inferior.
7139
7140 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
7141
7142 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
7143 support function calls from GDB.
7144
7145 2017-05-21 Tom Tromey <tom@tromey.com>
7146
7147 PR rust/21466:
7148 * gdb.rust/unsized.exp: New file.
7149 * gdb.rust/unsized.rs: New file.
7150
7151 2017-05-19 Tom Tromey <tom@tromey.com>
7152
7153 PR rust/21484:
7154 * gdb.rust/watch.exp: New file.
7155 * gdb.rust/watch.rs: New file.
7156
7157 2017-05-18 Tom Tromey <tom@tromey.com>
7158
7159 * gdb.rust/simple.exp: Allow Box to be qualified.
7160
7161 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
7162
7163 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
7164
7165 2017-05-18 Pedro Alves <palves@redhat.com>
7166
7167 * gdb.base/fileio.c (test_write, test_read, test_close)
7168 (test_fstat): Don't print 'ret' in the fail path.
7169
7170 2017-05-18 Pedro Alves <palves@redhat.com>
7171
7172 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
7173 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
7174 (test_system, test_rename, test_unlink, test_time): Change
7175 prototypes.
7176 * gdb.base/fileio.exp (stop_msg): Adjust.
7177
7178 2017-05-18 Pedro Alves <palves@redhat.com>
7179
7180 * gdb.base/fileio.c (null_str): New global.
7181 (test_stat): Use it.
7182 * gdb.base/fileio.exp: Remove nowarnings.
7183
7184 2017-05-17 Yao Qi <yao.qi@linaro.org>
7185
7186 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
7187
7188 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
7189
7190 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
7191 argument command.
7192 (top-level): Invoke test_set_inferior_tty.
7193
7194 2017-05-04 Pedro Alves <palves@redhat.com>
7195
7196 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
7197 Add parens to print call for Python 3.
7198
7199 2017-05-03 Keith Seitz <keiths@redhat.com>
7200
7201 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
7202 (main): Call it.
7203
7204 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7205
7206 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
7207 to prev and next.
7208
7209 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7210
7211 * gdb.python/py-record-btrace.exp: Remove test for
7212 gdb.BtraceInstruction.error.
7213
7214 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7215
7216 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
7217
7218 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7219
7220 * gdb.python/py-record-btrace-threads.c: New file.
7221 * gdb.python/py-record-btrace-threads.exp: New file.
7222
7223 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
7224
7225 PR testsuite/8595
7226 * gdb.base/environ.exp: Make test available in all architectures.
7227 Move bits related to "info program" testing to
7228 gdb.base/info-program.exp. Rewrite tests to use the two new
7229 procedures mentione below.
7230 (test_set_show_env_var) New procedure.
7231 (test_set_show_env_var_equal): Likewise.
7232 * gdb.base/info-program.exp: New file.
7233
7234 2017-04-27 Keith Seitz <keiths@redhat.com>
7235
7236 * gdb.cp/oranking.cc (test15): New function.
7237 (main): Call test15 and declare additional variables for testing.
7238 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
7239 "p foo101('abc')" tests.
7240 Add tests for cv qualifier overloads.
7241 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
7242 "lvalue reference overload" test.
7243 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
7244 "print value of f1 on Child&& in f2" test.
7245
7246 2017-04-19 Pedro Alves <palves@redhat.com>
7247
7248 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
7249 procedure.
7250 (top level): Call it.
7251 * lib/gdb.exp (gdb_define_cmd): New procedure.
7252
7253 2017-04-12 Pedro Alves <palves@redhat.com>
7254
7255 PR gdb/21323
7256 * gdb.cp/wide_char_types.c: Include <wchar.h>.
7257 (wchar): New global.
7258 * gdb.cp/wide_char_types.exp (wide_char_types_program)
7259 (do_test_wide_char, wide_char_types_no_program, top level): Add
7260 wchar_t testing.
7261
7262 2017-04-12 Pedro Alves <palves@redhat.com>
7263
7264 PR c++/21323
7265 * gdb.cp/wide_char_types.c: New file.
7266 * gdb.cp/wide_char_types.exp: New file.
7267
7268 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
7269
7270 PR gdb/21352
7271 * gdb.trace/tsv.exp: Add test for "tsave -r".
7272
7273 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
7274
7275 * gdb.dlang/watch-loc.c: New file.
7276 * gdb.dlang/watch-loc.exp: New file.
7277
7278 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7279
7280 * gdb.python/py-section-script.exp (sepdebug): New testcases.
7281
7282 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
7283
7284 * gdb.arch/arc-analyze-prologue.S: New file.
7285 * gdb.arch/arc-analyze-prologue.exp: Likewise.
7286
7287 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
7288
7289 * gdb.arch/arc-decode-insn.S: New file.
7290 * gdb.arch/arc-decode-insn.exp: Likewise.
7291
7292 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
7293
7294 PR tdep/20928
7295 * gdb.arch/sparc64-regs.exp: New file.
7296 * gdb.arch/sparc64-regs.S: Likewise.
7297
7298 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
7299
7300 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
7301 and memory view on Python 3.
7302
7303 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
7304 Keith Seitz <keiths@redhat.com>
7305
7306 PR gdb/14441
7307 * gdb.cp/demangle.exp: Add rvalue reference tests.
7308 * gdb.cp/rvalue-ref-casts.cc: New file.
7309 * gdb.cp/rvalue-ref-casts.exp: New file.
7310 * gdb.cp/rvalue-ref-overload.cc: New file.
7311 * gdb.cp/rvalue-ref-overload.exp: New file.
7312 * gdb.cp/rvalue-ref-params.cc: New file.
7313 * gdb.cp/rvalue-ref-params.exp: New file.
7314 * gdb.cp/rvalue-ref-sizeof.cc: New file.
7315 * gdb.cp/rvalue-ref-sizeof.exp: New file.
7316 * gdb.cp/rvalue-ref-types.cc: New file.
7317 * gdb.cp/rvalue-ref-types.exp: New file.
7318 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
7319 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
7320
7321 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
7322
7323 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
7324 New procedure.
7325
7326 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
7327
7328 * lib/mi-support.exp (mi_gdb_test): Add additional message
7329 for unexpected output.
7330
7331 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
7332
7333 * gdb.base/examine-backward.c (Barrier): New character array
7334 constant, to ensure that TestStrings is preceded by a string
7335 terminator.
7336
7337 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7338
7339 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
7340 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
7341 and implicit pointer into such a location.
7342
7343 2017-03-16 Doug Evans <dje@google.com>
7344
7345 * gdb.python/py-lazy-string (pointer): Really add new typedef.
7346
7347 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
7348
7349 * gdb.cp/m-static.exp: Fix expectation for prototype of
7350 test5.single_constructor and single_constructor::single_constructor.
7351
7352 2017-03-16 Doug Evans <dje@google.com>
7353
7354 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
7355 * gdb.guile/scm-lazy-string.c: New file.
7356 * gdb.guile/scm-value.exp: Move lazy string tests to ...
7357 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
7358 for pointer, array, typedef lazy strings.
7359
7360 2017-03-16 Doug Evans <dje@google.com>
7361
7362 PR python/17728, python/18439, python/18779
7363 * gdb.python/py-value.c (main) Delete locals sptr, sn.
7364 * gdb.python/py-lazy-string.c (pointer): New typedef.
7365 (main): New locals ptr, array, typedef_ptr.
7366 * gdb.python/py-value.exp: Move lazy string tests to ...
7367 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
7368 array, typedef lazy strings.
7369
7370 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
7371
7372 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
7373 Add optional 'test' parameter.
7374
7375 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
7376
7377 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
7378 Skip for versions of DejaGnu < 1.5.
7379
7380 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
7381
7382 * lib/gdb.exp (dejagnu_version): New proc.
7383 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
7384 Use dejagnu_version.
7385
7386 2017-03-10 Keith Seitz <keiths@redhat.com>
7387
7388 PR c++/8128
7389 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
7390 type from destructor regexps.
7391 Add a branch which actually passes the test.
7392 Adjust "ptype t5i" test names.
7393
7394 2017-03-08 Pedro Alves <palves@redhat.com>
7395
7396 * gdb.base/step-over-exit.exp: Add explicit test message.
7397
7398 2017-03-08 Pedro Alves <palves@redhat.com>
7399
7400 PR gdb/18360
7401 * gdb.threads/interrupt-while-step-over.c: New file.
7402 * gdb.threads/interrupt-while-step-over.exp: New file.
7403
7404 2017-03-08 Pedro Alves <palves@redhat.com>
7405
7406 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
7407 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
7408
7409 2017-03-08 Pedro Alves <palves@redhat.com>
7410
7411 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
7412 PKRU as not supported as a PASS.
7413
7414 2017-03-08 Pedro Alves <palves@redhat.com>
7415
7416 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
7417 prefix instead of $binfile1/$binfile2.
7418 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
7419 in test message.
7420 * gdb.python/py-completion.exp: Use "load python file" as test
7421 messages instead of unstable path names.
7422
7423 2017-03-08 Pedro Alves <palves@redhat.com>
7424 Jan Kratochvil <jan.kratochvil@redhat.com>
7425
7426 PR cli/21218
7427 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
7428 New proc.
7429 (top level): Call it.
7430
7431 2017-03-08 Pedro Alves <palves@redhat.com>
7432
7433 PR tui/21216
7434 * gdb.tui/tui-nl-filtered-output.exp: New file.
7435
7436 2017-03-08 Pedro Alves <palves@redhat.com>
7437
7438 * gdb.base/completion.exp: Move TUI completion tests to ...
7439 * gdb.tui/completion.exp: ... this new file.
7440
7441 2017-03-08 Pedro Alves <palves@redhat.com>
7442
7443 * gdb.base/tui-disasm-long-lines.c,
7444 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
7445 gdb.base/tui-layout.exp: Move to ...
7446 * gdb.tui/: ... this new directory.
7447
7448 2017-03-07 Pedro Alves <palves@redhat.com>
7449
7450 * gdb.base/tui-layout.c: New file.
7451 * gdb.base/tui-layout.exp: New file.
7452
7453 2017-03-07 Pedro Alves <palves@redhat.com>
7454
7455 * gdb.base/tui-layout.c: Rename to ...
7456 * gdb.base/tui-disasm-long-lines.c: ... this.
7457 * gdb.base/tui-layout.exp: Rename to ...
7458 * gdb.base/tui-disasm-long-lines.exp: ... this.
7459
7460 2017-03-07 Pedro Alves <palves@redhat.com>
7461
7462 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
7463
7464 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
7465
7466 * i386-mpx-call.c: New file.
7467 * i386-mpx-call.exp: New file.
7468
7469 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
7470
7471 * gdb.arch/powerpc-power.exp: Delete test.
7472 * gdb.arch/powerpc-power.s: Likewise.
7473 * gdb.disasm/disassembler-options.exp: New test.
7474 * gdb.arch/powerpc-altivec.exp: Likewise.
7475 * gdb.arch/powerpc-altivec.s: Likewise.
7476 * gdb.arch/powerpc-altivec2.exp: Likewise.
7477 * gdb.arch/powerpc-altivec2.s: Likewise.
7478 * gdb.arch/powerpc-altivec3.exp: Likewise.
7479 * gdb.arch/powerpc-altivec3.s: Likewise.
7480 * gdb.arch/powerpc-power7.exp: Likewise.
7481 * gdb.arch/powerpc-power7.s: Likewise.
7482 * gdb.arch/powerpc-power8.exp: Likewise.
7483 * gdb.arch/powerpc-power8.s: Likewise.
7484 * gdb.arch/powerpc-power9.exp: Likewise.
7485 * gdb.arch/powerpc-power9.s: Likewise.
7486 * gdb.arch/powerpc-vsx.exp: Likewise.
7487 * gdb.arch/powerpc-vsx.s: Likewise.
7488 * gdb.arch/powerpc-vsx2.exp: Likewise.
7489 * gdb.arch/powerpc-vsx2.s: Likewise.
7490 * gdb.arch/powerpc-vsx3.exp: Likewise.
7491 * gdb.arch/powerpc-vsx3.s: Likewise.
7492 * gdb.arch/arm-disassembler-options.exp: Likewise.
7493 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
7494 * gdb.arch/s390-disassembler-options.exp: Likewise.
7495
7496 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
7497
7498 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
7499 (check_supported_features): ... this. Changed return type to void.
7500 (supports_rdseed): New static global.
7501 (rdseed): Check supports_rdseed.
7502 (initialize): Call check_supported_features.
7503
7504 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7505
7506 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
7507 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
7508 and lqarx/stqcx.
7509 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
7510 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
7511
7512 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7513
7514 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
7515 uppercase.
7516
7517 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7518
7519 * gdb.dwarf2/formdata16.c: New file.
7520 * gdb.dwarf2/formdata16.exp: New file.
7521 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
7522
7523 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7524
7525 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
7526 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
7527 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
7528 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
7529 DW_AT_GNU_*.
7530
7531 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7532
7533 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
7534
7535 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
7536
7537 PR gdb/21164
7538 * gdb.base/maint.exp: Add testcases for when the commands do
7539 not have arguments.
7540
7541 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
7542
7543 * gdb.cp/chained-calls.exp: Use p instead of P.
7544
7545 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
7546
7547 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
7548 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
7549
7550 2017-02-14 Tom Tromey <tom@tromey.com>
7551
7552 PR python/13598:
7553 * gdb.python/py-events.exp: Add before_prompt event tests.
7554
7555 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7556
7557 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
7558
7559 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
7560
7561 * gdb.linespec/explicit.c (my_unique_function_name): New function.
7562 (main): Call my_unique_function_name.
7563 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
7564 completion of patterns with a single match.
7565 Add missing -re switches to gdb_test_multiple calls.
7566
7567 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
7568
7569 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
7570 return if core file is not recognized.
7571
7572 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
7573
7574 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
7575 and extra UIs.
7576
7577 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
7578
7579 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
7580 proc_with_prefix.
7581
7582 2017-02-10 Tom Tromey <tom@tromey.com>
7583
7584 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
7585
7586 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
7587
7588 PR gdb/21122
7589 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
7590
7591 2017-02-08 Jerome Guitton <guitton@adacore.com>
7592
7593 * gdb.base/define.exp: Add test for command abbreviations
7594 in define.
7595
7596 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
7597
7598 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
7599 * gdb.reverse/insn-reverse-x86.c: New file.
7600
7601 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
7602
7603 PR tdep/20936
7604 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
7605
7606 2017-02-03 Tom Tromey <tom@tromey.com>
7607
7608 PR rust/21097:
7609 * gdb.rust/simple.exp: Add new tests.
7610
7611 2017-02-02 Pedro Alves <palves@redhat.com>
7612
7613 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
7614 tests.
7615
7616 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
7617
7618 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
7619 taking a 2-byte value out of a 4-byte DWARF implicit value on
7620 big-endian targets.
7621 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
7622 logic. Add test cases for DW_OP_implicit.
7623
7624 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7625
7626 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
7627
7628 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7629
7630 * gdb.btrace/enable.exp: Call gdb_exit before
7631 skip_gdbserver_tests.
7632
7633 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7634
7635 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
7636 GDBFLAGS.
7637
7638 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7639
7640 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
7641 the test is skipped.
7642 * gdb.btrace/data.exp: Likewise.
7643 * gdb.btrace/delta.exp: Likewise.
7644 * gdb.btrace/dlopen.exp: Likewise.
7645 * gdb.btrace/enable-running.exp: Likewise.
7646 * gdb.btrace/enable.exp: Likewise.
7647 * gdb.btrace/exception.exp: Likewise.
7648 * gdb.btrace/function_call_history.exp: Likewise.
7649 * gdb.btrace/gcore.exp: Likewise.
7650 * gdb.btrace/instruction_history.exp: Likewise.
7651 * gdb.btrace/multi-thread-step.exp: Likewise.
7652 * gdb.btrace/nohist.exp: Likewise.
7653 * gdb.btrace/non-stop.exp: Likewise.
7654 * gdb.btrace/reconnect.exp: Likewise.
7655 * gdb.btrace/record_goto-step.exp: Likewise.
7656 * gdb.btrace/record_goto.exp: Likewise.
7657 * gdb.btrace/rn-dl-bind.exp: Likewise.
7658 * gdb.btrace/segv.exp: Likewise.
7659 * gdb.btrace/step.exp: Likewise.
7660 * gdb.btrace/stepi.exp: Likewise.
7661 * gdb.btrace/tailcall-only.exp: Likewise.
7662 * gdb.btrace/tailcall.exp: Likewise.
7663 * gdb.btrace/tsx.exp: Likewise.
7664 * gdb.btrace/unknown_functions.exp: Likewise.
7665 * gdb.btrace/vdso.exp: Likewise.
7666
7667 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7668
7669 * gdb.btrace/enable-running.c: New.
7670 * gdb.btrace/enable-running.exp: New.
7671
7672 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
7673
7674 * gdb.arch/amd64-gs_base.c: New file.
7675 * gdb.arch/amd64-gs_base.exp: New file.
7676
7677 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
7678
7679 * lib/memory.exp: Remove spurious empty newlines.
7680
7681 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
7682
7683 * gdb.python/py-bad-printers.exp: Load python file using "source".
7684 * gdb.python/py-events.exp: Likewise.
7685 * gdb.python/py-evsignal.exp: Likewise.
7686 * gdb.python/py-evthreads.exp: Likewise.
7687 * gdb.python/py-frame-args.exp: Likewise.
7688 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
7689 * gdb.python/py-framefilter-mi.exp: Likewise.
7690 * gdb.python/py-framefilter.exp: Likewise.
7691 * gdb.python/py-mi.exp: Likewise.
7692 * gdb.python/py-pp-maint.exp: Likewise.
7693 * gdb.python/py-pp-registration.exp: Likewise.
7694 * gdb.python/py-prettyprint.exp: Likewise.
7695 (run_lang_tests): Likewise.
7696 * gdb.python/py-typeprint.exp: Likewise.
7697
7698 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
7699
7700 * lib/memory.exp: New file.
7701 * lib/gdb.exp: Load memory.exp.
7702 * gdb.base/memattr.exp (delete_memory): Move proc to
7703 lib/memory.exp and rename to delete_memory_regions.
7704 Replace delete_memory with delete_memory_regions.
7705 Cleanup memory regions before tests.
7706 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
7707 before tests.
7708
7709 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
7710
7711 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
7712 files.
7713 (initialize): New function conditionally defined.
7714 (testcases): Move within conditional block.
7715 (main): Call initialize.
7716 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
7717 of gdb.reverse/insn-reverse.c.
7718 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
7719 gdb.reverse/insn-reverse.c.
7720
7721 2017-01-26 Yao Qi <yao.qi@linaro.org>
7722
7723 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
7724 disassemble on address 0.
7725
7726 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
7727 Yao Qi <yao.qi@linaro.org>
7728
7729 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
7730 * gdb.dwarf2/implptr-64bit.S: Remove.
7731 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
7732 variables in caller's context. Add DW_OP_implicit_value.
7733
7734 2017-01-25 Yao Qi <yao.qi@linaro.org>
7735
7736 * lib/dwarf.exp (Dwarf::_location): Handle
7737 DW_OP_GNU_implicit_pointer with proper size.
7738
7739 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
7740
7741 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
7742 and add untested calls.
7743
7744 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
7745
7746 * gdb.python/python.exp: Check line number against what GDB thinks
7747 the line number is for func1.
7748
7749 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
7750
7751 * gdb.dlang/debug-expr.exp: New file.
7752
7753 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
7754
7755 Fix test names for the following files:
7756
7757 * gdb.ada/exec_changed.exp
7758 * gdb.ada/info_types.exp
7759 * gdb.arch/aarch64-atomic-inst.exp
7760 * gdb.arch/aarch64-fp.exp
7761 * gdb.arch/altivec-abi.exp
7762 * gdb.arch/altivec-regs.exp
7763 * gdb.arch/amd64-byte.exp
7764 * gdb.arch/amd64-disp-step.exp
7765 * gdb.arch/amd64-dword.exp
7766 * gdb.arch/amd64-entry-value-inline.exp
7767 * gdb.arch/amd64-entry-value-param.exp
7768 * gdb.arch/amd64-entry-value-paramref.exp
7769 * gdb.arch/amd64-entry-value.exp
7770 * gdb.arch/amd64-i386-address.exp
7771 * gdb.arch/amd64-invalid-stack-middle.exp
7772 * gdb.arch/amd64-invalid-stack-top.exp
7773 * gdb.arch/amd64-optimout-repeat.exp
7774 * gdb.arch/amd64-prologue-skip.exp
7775 * gdb.arch/amd64-prologue-xmm.exp
7776 * gdb.arch/amd64-stap-special-operands.exp
7777 * gdb.arch/amd64-stap-wrong-subexp.exp
7778 * gdb.arch/amd64-tailcall-cxx.exp
7779 * gdb.arch/amd64-tailcall-noret.exp
7780 * gdb.arch/amd64-tailcall-ret.exp
7781 * gdb.arch/amd64-tailcall-self.exp
7782 * gdb.arch/amd64-word.exp
7783 * gdb.arch/arm-bl-branch-dest.exp
7784 * gdb.arch/arm-disp-step.exp
7785 * gdb.arch/arm-neon.exp
7786 * gdb.arch/arm-single-step-kernel-helper.exp
7787 * gdb.arch/avr-flash-qualifier.exp
7788 * gdb.arch/disp-step-insn-reloc.exp
7789 * gdb.arch/e500-abi.exp
7790 * gdb.arch/e500-regs.exp
7791 * gdb.arch/ftrace-insn-reloc.exp
7792 * gdb.arch/i386-avx512.exp
7793 * gdb.arch/i386-bp_permanent.exp
7794 * gdb.arch/i386-byte.exp
7795 * gdb.arch/i386-cfi-notcurrent.exp
7796 * gdb.arch/i386-disp-step.exp
7797 * gdb.arch/i386-dr3-watch.exp
7798 * gdb.arch/i386-float.exp
7799 * gdb.arch/i386-gnu-cfi.exp
7800 * gdb.arch/i386-mpx-map.exp
7801 * gdb.arch/i386-mpx-sigsegv.exp
7802 * gdb.arch/i386-mpx-simple_segv.exp
7803 * gdb.arch/i386-mpx.exp
7804 * gdb.arch/i386-permbkpt.exp
7805 * gdb.arch/i386-prologue.exp
7806 * gdb.arch/i386-signal.exp
7807 * gdb.arch/i386-size-overlap.exp
7808 * gdb.arch/i386-unwind.exp
7809 * gdb.arch/i386-word.exp
7810 * gdb.arch/mips-fcr.exp
7811 * gdb.arch/powerpc-d128-regs.exp
7812 * gdb.arch/powerpc-stackless.exp
7813 * gdb.arch/ppc64-atomic-inst.exp
7814 * gdb.arch/s390-stackless.exp
7815 * gdb.arch/s390-tdbregs.exp
7816 * gdb.arch/s390-vregs.exp
7817 * gdb.arch/sparc-sysstep.exp
7818 * gdb.arch/thumb-bx-pc.exp
7819 * gdb.arch/thumb-singlestep.exp
7820 * gdb.arch/thumb2-it.exp
7821 * gdb.arch/vsx-regs.exp
7822 * gdb.asm/asm-source.exp
7823 * gdb.base/a2-run.exp
7824 * gdb.base/advance.exp
7825 * gdb.base/all-bin.exp
7826 * gdb.base/anon.exp
7827 * gdb.base/args.exp
7828 * gdb.base/arithmet.exp
7829 * gdb.base/async-shell.exp
7830 * gdb.base/async.exp
7831 * gdb.base/attach-pie-noexec.exp
7832 * gdb.base/attach-twice.exp
7833 * gdb.base/auto-load.exp
7834 * gdb.base/bang.exp
7835 * gdb.base/bitfields.exp
7836 * gdb.base/break-always.exp
7837 * gdb.base/break-caller-line.exp
7838 * gdb.base/break-entry.exp
7839 * gdb.base/break-inline.exp
7840 * gdb.base/break-on-linker-gcd-function.exp
7841 * gdb.base/break-probes.exp
7842 * gdb.base/break.exp
7843 * gdb.base/breakpoint-shadow.exp
7844 * gdb.base/call-ar-st.exp
7845 * gdb.base/call-sc.exp
7846 * gdb.base/call-signal-resume.exp
7847 * gdb.base/call-strs.exp
7848 * gdb.base/callfuncs.exp
7849 * gdb.base/catch-fork-static.exp
7850 * gdb.base/catch-gdb-caused-signals.exp
7851 * gdb.base/catch-load.exp
7852 * gdb.base/catch-signal-fork.exp
7853 * gdb.base/catch-signal.exp
7854 * gdb.base/catch-syscall.exp
7855 * gdb.base/charset.exp
7856 * gdb.base/checkpoint.exp
7857 * gdb.base/chng-syms.exp
7858 * gdb.base/code-expr.exp
7859 * gdb.base/code_elim.exp
7860 * gdb.base/commands.exp
7861 * gdb.base/completion.exp
7862 * gdb.base/complex.exp
7863 * gdb.base/cond-expr.exp
7864 * gdb.base/condbreak.exp
7865 * gdb.base/consecutive.exp
7866 * gdb.base/continue-all-already-running.exp
7867 * gdb.base/coredump-filter.exp
7868 * gdb.base/corefile.exp
7869 * gdb.base/dbx.exp
7870 * gdb.base/debug-expr.exp
7871 * gdb.base/define.exp
7872 * gdb.base/del.exp
7873 * gdb.base/disabled-location.exp
7874 * gdb.base/disasm-end-cu.exp
7875 * gdb.base/disasm-optim.exp
7876 * gdb.base/display.exp
7877 * gdb.base/duplicate-bp.exp
7878 * gdb.base/ena-dis-br.exp
7879 * gdb.base/ending-run.exp
7880 * gdb.base/enumval.exp
7881 * gdb.base/environ.exp
7882 * gdb.base/eu-strip-infcall.exp
7883 * gdb.base/eval-avoid-side-effects.exp
7884 * gdb.base/eval-skip.exp
7885 * gdb.base/exitsignal.exp
7886 * gdb.base/expand-psymtabs.exp
7887 * gdb.base/filesym.exp
7888 * gdb.base/find-unmapped.exp
7889 * gdb.base/finish.exp
7890 * gdb.base/float.exp
7891 * gdb.base/foll-exec-mode.exp
7892 * gdb.base/foll-exec.exp
7893 * gdb.base/foll-fork.exp
7894 * gdb.base/fortran-sym-case.exp
7895 * gdb.base/freebpcmd.exp
7896 * gdb.base/func-ptr.exp
7897 * gdb.base/func-ptrs.exp
7898 * gdb.base/funcargs.exp
7899 * gdb.base/gcore-buffer-overflow.exp
7900 * gdb.base/gcore-relro-pie.exp
7901 * gdb.base/gcore-relro.exp
7902 * gdb.base/gcore.exp
7903 * gdb.base/gdb1090.exp
7904 * gdb.base/gdb11530.exp
7905 * gdb.base/gdb11531.exp
7906 * gdb.base/gdb1821.exp
7907 * gdb.base/gdbindex-stabs.exp
7908 * gdb.base/gdbvars.exp
7909 * gdb.base/hbreak.exp
7910 * gdb.base/hbreak2.exp
7911 * gdb.base/included.exp
7912 * gdb.base/infcall-input.exp
7913 * gdb.base/inferior-died.exp
7914 * gdb.base/infnan.exp
7915 * gdb.base/info-macros.exp
7916 * gdb.base/info-os.exp
7917 * gdb.base/info-proc.exp
7918 * gdb.base/info-shared.exp
7919 * gdb.base/info-target.exp
7920 * gdb.base/infoline.exp
7921 * gdb.base/interp.exp
7922 * gdb.base/interrupt.exp
7923 * gdb.base/jit-reader.exp
7924 * gdb.base/jit-simple.exp
7925 * gdb.base/kill-after-signal.exp
7926 * gdb.base/kill-detach-inferiors-cmd.exp
7927 * gdb.base/label.exp
7928 * gdb.base/langs.exp
7929 * gdb.base/ldbl_e308.exp
7930 * gdb.base/line-symtabs.exp
7931 * gdb.base/linespecs.exp
7932 * gdb.base/list.exp
7933 * gdb.base/long_long.exp
7934 * gdb.base/longest-types.exp
7935 * gdb.base/maint.exp
7936 * gdb.base/max-value-size.exp
7937 * gdb.base/memattr.exp
7938 * gdb.base/mips_pro.exp
7939 * gdb.base/morestack.exp
7940 * gdb.base/moribund-step.exp
7941 * gdb.base/multi-forks.exp
7942 * gdb.base/nested-addr.exp
7943 * gdb.base/nextoverexit.exp
7944 * gdb.base/noreturn-finish.exp
7945 * gdb.base/noreturn-return.exp
7946 * gdb.base/nostdlib.exp
7947 * gdb.base/offsets.exp
7948 * gdb.base/opaque.exp
7949 * gdb.base/pc-fp.exp
7950 * gdb.base/permissions.exp
7951 * gdb.base/print-symbol-loading.exp
7952 * gdb.base/prologue-include.exp
7953 * gdb.base/psymtab.exp
7954 * gdb.base/ptype.exp
7955 * gdb.base/random-signal.exp
7956 * gdb.base/randomize.exp
7957 * gdb.base/range-stepping.exp
7958 * gdb.base/readline-ask.exp
7959 * gdb.base/recpar.exp
7960 * gdb.base/recurse.exp
7961 * gdb.base/relational.exp
7962 * gdb.base/restore.exp
7963 * gdb.base/return-nodebug.exp
7964 * gdb.base/return.exp
7965 * gdb.base/run-after-attach.exp
7966 * gdb.base/save-bp.exp
7967 * gdb.base/scope.exp
7968 * gdb.base/sect-cmd.exp
7969 * gdb.base/set-lang-auto.exp
7970 * gdb.base/set-noassign.exp
7971 * gdb.base/setvar.exp
7972 * gdb.base/sigall.exp
7973 * gdb.base/sigbpt.exp
7974 * gdb.base/siginfo-addr.exp
7975 * gdb.base/siginfo-infcall.exp
7976 * gdb.base/siginfo-obj.exp
7977 * gdb.base/siginfo.exp
7978 * gdb.base/signals-state-child.exp
7979 * gdb.base/signest.exp
7980 * gdb.base/sigstep.exp
7981 * gdb.base/sizeof.exp
7982 * gdb.base/skip.exp
7983 * gdb.base/solib-corrupted.exp
7984 * gdb.base/solib-nodir.exp
7985 * gdb.base/solib-search.exp
7986 * gdb.base/stack-checking.exp
7987 * gdb.base/stale-infcall.exp
7988 * gdb.base/stap-probe.exp
7989 * gdb.base/start.exp
7990 * gdb.base/step-break.exp
7991 * gdb.base/step-bt.exp
7992 * gdb.base/step-line.exp
7993 * gdb.base/step-over-exit.exp
7994 * gdb.base/step-over-syscall.exp
7995 * gdb.base/step-resume-infcall.exp
7996 * gdb.base/step-test.exp
7997 * gdb.base/store.exp
7998 * gdb.base/structs3.exp
7999 * gdb.base/sym-file.exp
8000 * gdb.base/symbol-without-target_section.exp
8001 * gdb.base/term.exp
8002 * gdb.base/testenv.exp
8003 * gdb.base/ui-redirect.exp
8004 * gdb.base/until.exp
8005 * gdb.base/unwindonsignal.exp
8006 * gdb.base/value-double-free.exp
8007 * gdb.base/vla-datatypes.exp
8008 * gdb.base/vla-ptr.exp
8009 * gdb.base/vla-sideeffect.exp
8010 * gdb.base/volatile.exp
8011 * gdb.base/watch-cond-infcall.exp
8012 * gdb.base/watch-cond.exp
8013 * gdb.base/watch-non-mem.exp
8014 * gdb.base/watch-read.exp
8015 * gdb.base/watch-vfork.exp
8016 * gdb.base/watchpoint-cond-gone.exp
8017 * gdb.base/watchpoint-delete.exp
8018 * gdb.base/watchpoint-hw-hit-once.exp
8019 * gdb.base/watchpoint-hw.exp
8020 * gdb.base/watchpoint-stops-at-right-insn.exp
8021 * gdb.base/watchpoints.exp
8022 * gdb.base/wchar.exp
8023 * gdb.base/whatis-exp.exp
8024 * gdb.btrace/buffer-size.exp
8025 * gdb.btrace/data.exp
8026 * gdb.btrace/delta.exp
8027 * gdb.btrace/dlopen.exp
8028 * gdb.btrace/enable.exp
8029 * gdb.btrace/exception.exp
8030 * gdb.btrace/function_call_history.exp
8031 * gdb.btrace/gcore.exp
8032 * gdb.btrace/instruction_history.exp
8033 * gdb.btrace/nohist.exp
8034 * gdb.btrace/reconnect.exp
8035 * gdb.btrace/record_goto-step.exp
8036 * gdb.btrace/record_goto.exp
8037 * gdb.btrace/rn-dl-bind.exp
8038 * gdb.btrace/segv.exp
8039 * gdb.btrace/step.exp
8040 * gdb.btrace/stepi.exp
8041 * gdb.btrace/tailcall-only.exp
8042 * gdb.btrace/tailcall.exp
8043 * gdb.btrace/tsx.exp
8044 * gdb.btrace/unknown_functions.exp
8045 * gdb.btrace/vdso.exp
8046 * gdb.compile/compile-ifunc.exp
8047 * gdb.compile/compile-ops.exp
8048 * gdb.compile/compile-print.exp
8049 * gdb.compile/compile-setjmp.exp
8050 * gdb.cp/abstract-origin.exp
8051 * gdb.cp/ambiguous.exp
8052 * gdb.cp/annota2.exp
8053 * gdb.cp/annota3.exp
8054 * gdb.cp/anon-ns.exp
8055 * gdb.cp/anon-struct.exp
8056 * gdb.cp/anon-union.exp
8057 * gdb.cp/arg-reference.exp
8058 * gdb.cp/baseenum.exp
8059 * gdb.cp/bool.exp
8060 * gdb.cp/breakpoint.exp
8061 * gdb.cp/bs15503.exp
8062 * gdb.cp/call-c.exp
8063 * gdb.cp/casts.exp
8064 * gdb.cp/chained-calls.exp
8065 * gdb.cp/class2.exp
8066 * gdb.cp/classes.exp
8067 * gdb.cp/cmpd-minsyms.exp
8068 * gdb.cp/converts.exp
8069 * gdb.cp/cp-relocate.exp
8070 * gdb.cp/cpcompletion.exp
8071 * gdb.cp/cpexprs.exp
8072 * gdb.cp/cplabel.exp
8073 * gdb.cp/cplusfuncs.exp
8074 * gdb.cp/cpsizeof.exp
8075 * gdb.cp/ctti.exp
8076 * gdb.cp/derivation.exp
8077 * gdb.cp/destrprint.exp
8078 * gdb.cp/dispcxx.exp
8079 * gdb.cp/enum-class.exp
8080 * gdb.cp/exception.exp
8081 * gdb.cp/exceptprint.exp
8082 * gdb.cp/expand-psymtabs-cxx.exp
8083 * gdb.cp/expand-sals.exp
8084 * gdb.cp/extern-c.exp
8085 * gdb.cp/filename.exp
8086 * gdb.cp/formatted-ref.exp
8087 * gdb.cp/fpointer.exp
8088 * gdb.cp/gdb1355.exp
8089 * gdb.cp/gdb2495.exp
8090 * gdb.cp/hang.exp
8091 * gdb.cp/impl-this.exp
8092 * gdb.cp/infcall-dlopen.exp
8093 * gdb.cp/inherit.exp
8094 * gdb.cp/iostream.exp
8095 * gdb.cp/koenig.exp
8096 * gdb.cp/local.exp
8097 * gdb.cp/m-data.exp
8098 * gdb.cp/m-static.exp
8099 * gdb.cp/mb-ctor.exp
8100 * gdb.cp/mb-inline.exp
8101 * gdb.cp/mb-templates.exp
8102 * gdb.cp/member-name.exp
8103 * gdb.cp/member-ptr.exp
8104 * gdb.cp/meth-typedefs.exp
8105 * gdb.cp/method.exp
8106 * gdb.cp/method2.exp
8107 * gdb.cp/minsym-fallback.exp
8108 * gdb.cp/misc.exp
8109 * gdb.cp/namelessclass.exp
8110 * gdb.cp/namespace-enum.exp
8111 * gdb.cp/namespace-nested-import.exp
8112 * gdb.cp/namespace.exp
8113 * gdb.cp/nextoverthrow.exp
8114 * gdb.cp/no-dmgl-verbose.exp
8115 * gdb.cp/non-trivial-retval.exp
8116 * gdb.cp/noparam.exp
8117 * gdb.cp/nsdecl.exp
8118 * gdb.cp/nsimport.exp
8119 * gdb.cp/nsnested.exp
8120 * gdb.cp/nsnoimports.exp
8121 * gdb.cp/nsrecurs.exp
8122 * gdb.cp/nsstress.exp
8123 * gdb.cp/nsusing.exp
8124 * gdb.cp/operator.exp
8125 * gdb.cp/oranking.exp
8126 * gdb.cp/overload-const.exp
8127 * gdb.cp/overload.exp
8128 * gdb.cp/ovldbreak.exp
8129 * gdb.cp/ovsrch.exp
8130 * gdb.cp/paren-type.exp
8131 * gdb.cp/parse-lang.exp
8132 * gdb.cp/pass-by-ref.exp
8133 * gdb.cp/pr-1023.exp
8134 * gdb.cp/pr-1210.exp
8135 * gdb.cp/pr-574.exp
8136 * gdb.cp/pr10687.exp
8137 * gdb.cp/pr12028.exp
8138 * gdb.cp/pr17132.exp
8139 * gdb.cp/pr17494.exp
8140 * gdb.cp/pr9067.exp
8141 * gdb.cp/pr9167.exp
8142 * gdb.cp/pr9631.exp
8143 * gdb.cp/printmethod.exp
8144 * gdb.cp/psmang.exp
8145 * gdb.cp/psymtab-parameter.exp
8146 * gdb.cp/ptype-cv-cp.exp
8147 * gdb.cp/ptype-flags.exp
8148 * gdb.cp/re-set-overloaded.exp
8149 * gdb.cp/ref-types.exp
8150 * gdb.cp/rtti.exp
8151 * gdb.cp/scope-err.exp
8152 * gdb.cp/shadow.exp
8153 * gdb.cp/smartp.exp
8154 * gdb.cp/static-method.exp
8155 * gdb.cp/static-print-quit.exp
8156 * gdb.cp/temargs.exp
8157 * gdb.cp/templates.exp
8158 * gdb.cp/try_catch.exp
8159 * gdb.cp/typedef-operator.exp
8160 * gdb.cp/typeid.exp
8161 * gdb.cp/userdef.exp
8162 * gdb.cp/using-crash.exp
8163 * gdb.cp/var-tag.exp
8164 * gdb.cp/virtbase.exp
8165 * gdb.cp/virtfunc.exp
8166 * gdb.cp/virtfunc2.exp
8167 * gdb.cp/vla-cxx.exp
8168 * gdb.disasm/t01_mov.exp
8169 * gdb.disasm/t02_mova.exp
8170 * gdb.disasm/t03_add.exp
8171 * gdb.disasm/t04_sub.exp
8172 * gdb.disasm/t05_cmp.exp
8173 * gdb.disasm/t06_ari2.exp
8174 * gdb.disasm/t07_ari3.exp
8175 * gdb.disasm/t08_or.exp
8176 * gdb.disasm/t09_xor.exp
8177 * gdb.disasm/t10_and.exp
8178 * gdb.disasm/t11_logs.exp
8179 * gdb.disasm/t12_bit.exp
8180 * gdb.disasm/t13_otr.exp
8181 * gdb.dlang/circular.exp
8182 * gdb.dwarf2/arr-stride.exp
8183 * gdb.dwarf2/arr-subrange.exp
8184 * gdb.dwarf2/atomic-type.exp
8185 * gdb.dwarf2/bad-regnum.exp
8186 * gdb.dwarf2/bitfield-parent-optimized-out.exp
8187 * gdb.dwarf2/callframecfa.exp
8188 * gdb.dwarf2/clztest.exp
8189 * gdb.dwarf2/corrupt.exp
8190 * gdb.dwarf2/data-loc.exp
8191 * gdb.dwarf2/dup-psym.exp
8192 * gdb.dwarf2/dw2-anon-mptr.exp
8193 * gdb.dwarf2/dw2-anonymous-func.exp
8194 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
8195 * gdb.dwarf2/dw2-bad-unresolved.exp
8196 * gdb.dwarf2/dw2-basic.exp
8197 * gdb.dwarf2/dw2-canonicalize-type.exp
8198 * gdb.dwarf2/dw2-case-insensitive.exp
8199 * gdb.dwarf2/dw2-common-block.exp
8200 * gdb.dwarf2/dw2-compdir-oldgcc.exp
8201 * gdb.dwarf2/dw2-compressed.exp
8202 * gdb.dwarf2/dw2-const.exp
8203 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
8204 * gdb.dwarf2/dw2-cu-size.exp
8205 * gdb.dwarf2/dw2-dup-frame.exp
8206 * gdb.dwarf2/dw2-entry-value.exp
8207 * gdb.dwarf2/dw2-icycle.exp
8208 * gdb.dwarf2/dw2-ifort-parameter.exp
8209 * gdb.dwarf2/dw2-inline-break.exp
8210 * gdb.dwarf2/dw2-inline-param.exp
8211 * gdb.dwarf2/dw2-intercu.exp
8212 * gdb.dwarf2/dw2-intermix.exp
8213 * gdb.dwarf2/dw2-lexical-block-bare.exp
8214 * gdb.dwarf2/dw2-linkage-name-trust.exp
8215 * gdb.dwarf2/dw2-minsym-in-cu.exp
8216 * gdb.dwarf2/dw2-noloc.exp
8217 * gdb.dwarf2/dw2-op-call.exp
8218 * gdb.dwarf2/dw2-op-out-param.exp
8219 * gdb.dwarf2/dw2-opt-structptr.exp
8220 * gdb.dwarf2/dw2-param-error.exp
8221 * gdb.dwarf2/dw2-producer.exp
8222 * gdb.dwarf2/dw2-ranges-base.exp
8223 * gdb.dwarf2/dw2-ref-missing-frame.exp
8224 * gdb.dwarf2/dw2-reg-undefined.exp
8225 * gdb.dwarf2/dw2-regno-invalid.exp
8226 * gdb.dwarf2/dw2-restore.exp
8227 * gdb.dwarf2/dw2-restrict.exp
8228 * gdb.dwarf2/dw2-single-line-discriminators.exp
8229 * gdb.dwarf2/dw2-strp.exp
8230 * gdb.dwarf2/dw2-undefined-ret-addr.exp
8231 * gdb.dwarf2/dw2-unresolved.exp
8232 * gdb.dwarf2/dw2-var-zero-addr.exp
8233 * gdb.dwarf2/dw4-sig-types.exp
8234 * gdb.dwarf2/dwz.exp
8235 * gdb.dwarf2/dynarr-ptr.exp
8236 * gdb.dwarf2/enum-type.exp
8237 * gdb.dwarf2/gdb-index.exp
8238 * gdb.dwarf2/implptr-64bit.exp
8239 * gdb.dwarf2/implptr-optimized-out.exp
8240 * gdb.dwarf2/implptr.exp
8241 * gdb.dwarf2/implref-array.exp
8242 * gdb.dwarf2/implref-const.exp
8243 * gdb.dwarf2/implref-global.exp
8244 * gdb.dwarf2/implref-struct.exp
8245 * gdb.dwarf2/mac-fileno.exp
8246 * gdb.dwarf2/main-subprogram.exp
8247 * gdb.dwarf2/member-ptr-forwardref.exp
8248 * gdb.dwarf2/method-ptr.exp
8249 * gdb.dwarf2/missing-sig-type.exp
8250 * gdb.dwarf2/nonvar-access.exp
8251 * gdb.dwarf2/opaque-type-lookup.exp
8252 * gdb.dwarf2/pieces-optimized-out.exp
8253 * gdb.dwarf2/pieces.exp
8254 * gdb.dwarf2/pr10770.exp
8255 * gdb.dwarf2/pr13961.exp
8256 * gdb.dwarf2/staticvirtual.exp
8257 * gdb.dwarf2/subrange.exp
8258 * gdb.dwarf2/symtab-producer.exp
8259 * gdb.dwarf2/trace-crash.exp
8260 * gdb.dwarf2/typeddwarf.exp
8261 * gdb.dwarf2/valop.exp
8262 * gdb.dwarf2/watch-notconst.exp
8263 * gdb.fortran/array-element.exp
8264 * gdb.fortran/charset.exp
8265 * gdb.fortran/common-block.exp
8266 * gdb.fortran/complex.exp
8267 * gdb.fortran/derived-type-function.exp
8268 * gdb.fortran/derived-type.exp
8269 * gdb.fortran/logical.exp
8270 * gdb.fortran/module.exp
8271 * gdb.fortran/multi-dim.exp
8272 * gdb.fortran/nested-funcs.exp
8273 * gdb.fortran/print-formatted.exp
8274 * gdb.fortran/subarray.exp
8275 * gdb.fortran/vla-alloc-assoc.exp
8276 * gdb.fortran/vla-datatypes.exp
8277 * gdb.fortran/vla-history.exp
8278 * gdb.fortran/vla-ptr-info.exp
8279 * gdb.fortran/vla-ptype-sub.exp
8280 * gdb.fortran/vla-ptype.exp
8281 * gdb.fortran/vla-sizeof.exp
8282 * gdb.fortran/vla-type.exp
8283 * gdb.fortran/vla-value-sub-arbitrary.exp
8284 * gdb.fortran/vla-value-sub-finish.exp
8285 * gdb.fortran/vla-value-sub.exp
8286 * gdb.fortran/vla-value.exp
8287 * gdb.fortran/whatis_type.exp
8288 * gdb.go/chan.exp
8289 * gdb.go/handcall.exp
8290 * gdb.go/hello.exp
8291 * gdb.go/integers.exp
8292 * gdb.go/methods.exp
8293 * gdb.go/package.exp
8294 * gdb.go/strings.exp
8295 * gdb.go/types.exp
8296 * gdb.go/unsafe.exp
8297 * gdb.guile/scm-arch.exp
8298 * gdb.guile/scm-block.exp
8299 * gdb.guile/scm-breakpoint.exp
8300 * gdb.guile/scm-cmd.exp
8301 * gdb.guile/scm-disasm.exp
8302 * gdb.guile/scm-equal.exp
8303 * gdb.guile/scm-frame-args.exp
8304 * gdb.guile/scm-frame-inline.exp
8305 * gdb.guile/scm-frame.exp
8306 * gdb.guile/scm-iterator.exp
8307 * gdb.guile/scm-math.exp
8308 * gdb.guile/scm-objfile.exp
8309 * gdb.guile/scm-ports.exp
8310 * gdb.guile/scm-symbol.exp
8311 * gdb.guile/scm-symtab.exp
8312 * gdb.guile/scm-value-cc.exp
8313 * gdb.guile/types-module.exp
8314 * gdb.linespec/break-ask.exp
8315 * gdb.linespec/cpexplicit.exp
8316 * gdb.linespec/explicit.exp
8317 * gdb.linespec/keywords.exp
8318 * gdb.linespec/linespec.exp
8319 * gdb.linespec/ls-dollar.exp
8320 * gdb.linespec/ls-errs.exp
8321 * gdb.linespec/skip-two.exp
8322 * gdb.linespec/thread.exp
8323 * gdb.mi/mi-async.exp
8324 * gdb.mi/mi-basics.exp
8325 * gdb.mi/mi-break.exp
8326 * gdb.mi/mi-catch-load.exp
8327 * gdb.mi/mi-cli.exp
8328 * gdb.mi/mi-cmd-param-changed.exp
8329 * gdb.mi/mi-console.exp
8330 * gdb.mi/mi-detach.exp
8331 * gdb.mi/mi-disassemble.exp
8332 * gdb.mi/mi-eval.exp
8333 * gdb.mi/mi-file-transfer.exp
8334 * gdb.mi/mi-file.exp
8335 * gdb.mi/mi-fill-memory.exp
8336 * gdb.mi/mi-inheritance-syntax-error.exp
8337 * gdb.mi/mi-linespec-err-cp.exp
8338 * gdb.mi/mi-logging.exp
8339 * gdb.mi/mi-memory-changed.exp
8340 * gdb.mi/mi-read-memory.exp
8341 * gdb.mi/mi-record-changed.exp
8342 * gdb.mi/mi-reg-undefined.exp
8343 * gdb.mi/mi-regs.exp
8344 * gdb.mi/mi-return.exp
8345 * gdb.mi/mi-reverse.exp
8346 * gdb.mi/mi-simplerun.exp
8347 * gdb.mi/mi-solib.exp
8348 * gdb.mi/mi-stack.exp
8349 * gdb.mi/mi-stepi.exp
8350 * gdb.mi/mi-syn-frame.exp
8351 * gdb.mi/mi-until.exp
8352 * gdb.mi/mi-var-block.exp
8353 * gdb.mi/mi-var-child.exp
8354 * gdb.mi/mi-var-cmd.exp
8355 * gdb.mi/mi-var-cp.exp
8356 * gdb.mi/mi-var-display.exp
8357 * gdb.mi/mi-var-invalidate.exp
8358 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
8359 * gdb.mi/mi-vla-fortran.exp
8360 * gdb.mi/mi-watch.exp
8361 * gdb.mi/mi2-var-child.exp
8362 * gdb.mi/user-selected-context-sync.exp
8363 * gdb.modula2/unbounded-array.exp
8364 * gdb.multi/dummy-frame-restore.exp
8365 * gdb.multi/multi-arch-exec.exp
8366 * gdb.multi/multi-arch.exp
8367 * gdb.multi/tids.exp
8368 * gdb.multi/watchpoint-multi.exp
8369 * gdb.opencl/callfuncs.exp
8370 * gdb.opencl/convs_casts.exp
8371 * gdb.opencl/datatypes.exp
8372 * gdb.opencl/operators.exp
8373 * gdb.opencl/vec_comps.exp
8374 * gdb.opt/clobbered-registers-O2.exp
8375 * gdb.opt/inline-break.exp
8376 * gdb.opt/inline-bt.exp
8377 * gdb.opt/inline-cmds.exp
8378 * gdb.opt/inline-locals.exp
8379 * gdb.pascal/case-insensitive-symbols.exp
8380 * gdb.pascal/floats.exp
8381 * gdb.pascal/gdb11492.exp
8382 * gdb.python/lib-types.exp
8383 * gdb.python/py-arch.exp
8384 * gdb.python/py-as-string.exp
8385 * gdb.python/py-bad-printers.exp
8386 * gdb.python/py-block.exp
8387 * gdb.python/py-breakpoint-create-fail.exp
8388 * gdb.python/py-breakpoint.exp
8389 * gdb.python/py-caller-is.exp
8390 * gdb.python/py-cmd.exp
8391 * gdb.python/py-explore-cc.exp
8392 * gdb.python/py-explore.exp
8393 * gdb.python/py-finish-breakpoint.exp
8394 * gdb.python/py-finish-breakpoint2.exp
8395 * gdb.python/py-frame-args.exp
8396 * gdb.python/py-frame-inline.exp
8397 * gdb.python/py-frame.exp
8398 * gdb.python/py-framefilter-mi.exp
8399 * gdb.python/py-infthread.exp
8400 * gdb.python/py-lazy-string.exp
8401 * gdb.python/py-linetable.exp
8402 * gdb.python/py-mi-events.exp
8403 * gdb.python/py-mi-objfile.exp
8404 * gdb.python/py-mi.exp
8405 * gdb.python/py-objfile.exp
8406 * gdb.python/py-pp-integral.exp
8407 * gdb.python/py-pp-maint.exp
8408 * gdb.python/py-pp-re-notag.exp
8409 * gdb.python/py-pp-registration.exp
8410 * gdb.python/py-recurse-unwind.exp
8411 * gdb.python/py-strfns.exp
8412 * gdb.python/py-symbol.exp
8413 * gdb.python/py-symtab.exp
8414 * gdb.python/py-sync-interp.exp
8415 * gdb.python/py-typeprint.exp
8416 * gdb.python/py-unwind-maint.exp
8417 * gdb.python/py-unwind.exp
8418 * gdb.python/py-value-cc.exp
8419 * gdb.python/py-xmethods.exp
8420 * gdb.reverse/amd64-tailcall-reverse.exp
8421 * gdb.reverse/break-precsave.exp
8422 * gdb.reverse/break-reverse.exp
8423 * gdb.reverse/consecutive-precsave.exp
8424 * gdb.reverse/consecutive-reverse.exp
8425 * gdb.reverse/finish-precsave.exp
8426 * gdb.reverse/finish-reverse-bkpt.exp
8427 * gdb.reverse/finish-reverse.exp
8428 * gdb.reverse/fstatat-reverse.exp
8429 * gdb.reverse/getresuid-reverse.exp
8430 * gdb.reverse/i386-precsave.exp
8431 * gdb.reverse/i386-reverse.exp
8432 * gdb.reverse/i386-sse-reverse.exp
8433 * gdb.reverse/i387-env-reverse.exp
8434 * gdb.reverse/i387-stack-reverse.exp
8435 * gdb.reverse/insn-reverse.exp
8436 * gdb.reverse/machinestate-precsave.exp
8437 * gdb.reverse/machinestate.exp
8438 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8439 * gdb.reverse/pipe-reverse.exp
8440 * gdb.reverse/readv-reverse.exp
8441 * gdb.reverse/recvmsg-reverse.exp
8442 * gdb.reverse/rerun-prec.exp
8443 * gdb.reverse/s390-mvcle.exp
8444 * gdb.reverse/step-precsave.exp
8445 * gdb.reverse/step-reverse.exp
8446 * gdb.reverse/time-reverse.exp
8447 * gdb.reverse/until-precsave.exp
8448 * gdb.reverse/until-reverse.exp
8449 * gdb.reverse/waitpid-reverse.exp
8450 * gdb.reverse/watch-precsave.exp
8451 * gdb.reverse/watch-reverse.exp
8452 * gdb.rust/generics.exp
8453 * gdb.rust/methods.exp
8454 * gdb.rust/modules.exp
8455 * gdb.rust/simple.exp
8456 * gdb.server/connect-with-no-symbol-file.exp
8457 * gdb.server/ext-attach.exp
8458 * gdb.server/ext-restart.exp
8459 * gdb.server/ext-wrapper.exp
8460 * gdb.server/file-transfer.exp
8461 * gdb.server/server-exec-info.exp
8462 * gdb.server/server-kill.exp
8463 * gdb.server/server-mon.exp
8464 * gdb.server/wrapper.exp
8465 * gdb.stabs/exclfwd.exp
8466 * gdb.stabs/gdb11479.exp
8467 * gdb.threads/clone-new-thread-event.exp
8468 * gdb.threads/corethreads.exp
8469 * gdb.threads/current-lwp-dead.exp
8470 * gdb.threads/dlopen-libpthread.exp
8471 * gdb.threads/gcore-thread.exp
8472 * gdb.threads/sigstep-threads.exp
8473 * gdb.threads/watchpoint-fork.exp
8474 * gdb.trace/actions-changed.exp
8475 * gdb.trace/backtrace.exp
8476 * gdb.trace/change-loc.exp
8477 * gdb.trace/circ.exp
8478 * gdb.trace/collection.exp
8479 * gdb.trace/disconnected-tracing.exp
8480 * gdb.trace/ftrace.exp
8481 * gdb.trace/mi-trace-frame-collected.exp
8482 * gdb.trace/mi-trace-unavailable.exp
8483 * gdb.trace/mi-traceframe-changed.exp
8484 * gdb.trace/mi-tsv-changed.exp
8485 * gdb.trace/no-attach-trace.exp
8486 * gdb.trace/passc-dyn.exp
8487 * gdb.trace/qtro.exp
8488 * gdb.trace/range-stepping.exp
8489 * gdb.trace/read-memory.exp
8490 * gdb.trace/save-trace.exp
8491 * gdb.trace/signal.exp
8492 * gdb.trace/status-stop.exp
8493 * gdb.trace/tfile.exp
8494 * gdb.trace/trace-break.exp
8495 * gdb.trace/trace-buffer-size.exp
8496 * gdb.trace/trace-condition.exp
8497 * gdb.trace/tracefile-pseudo-reg.exp
8498 * gdb.trace/tstatus.exp
8499 * gdb.trace/unavailable.exp
8500 * gdb.trace/while-dyn.exp
8501 * gdb.trace/while-stepping.exp
8502
8503 2016-12-22 Doug Evans <xdje42@gmail.com>
8504
8505 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
8506 and msymbols.
8507
8508 2016-12-19 Yao Qi <yao.qi@linaro.org>
8509
8510 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
8511 (test_with_self): Don't call do_steps_and_nexts, and remove
8512 code about stepping into xmalloc.
8513
8514 2016-12-09 Yao Qi <yao.qi@linaro.org>
8515
8516 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
8517
8518 2016-12-09 Yao Qi <yao.qi@linaro.org>
8519
8520 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
8521
8522 2016-12-09 Pedro Alves <palves@redhat.com>
8523
8524 * gdb.base/all-architectures-0.exp: New file.
8525 * gdb.base/all-architectures-1.exp: New file.
8526 * gdb.base/all-architectures-2.exp: New file.
8527 * gdb.base/all-architectures-3.exp: New file.
8528 * gdb.base/all-architectures-4.exp: New file.
8529 * gdb.base/all-architectures-5.exp: New file.
8530 * gdb.base/all-architectures-6.exp: New file.
8531 * gdb.base/all-architectures-7.exp: New file.
8532 * gdb.base/all-architectures.exp.in: New file.
8533
8534 2016-12-09 Yao Qi <yao.qi@linaro.org>
8535
8536 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
8537
8538 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
8539
8540 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
8541 possible.
8542 Remove useless pattern-matching code.
8543
8544 2016-12-02 Pedro Alves <palves@redhat.com>
8545
8546 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
8547 procedure.
8548 (top level): Call it.
8549
8550 2016-12-02 Pedro Alves <palves@redhat.com>
8551
8552 * gdb.base/commands.exp (user_defined_command_args_stack_test):
8553 New procedure.
8554 (top level): Call it.
8555
8556 2016-12-02 Pedro Alves <palves@redhat.com>
8557
8558 PR cli/20559
8559 * gdb.base/commands.exp (user_defined_command_args_eval): New
8560 procedure.
8561 (top level): Call it.
8562
8563 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
8564
8565 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
8566 timeout handling.
8567
8568 2016-12-02 Tom Tromey <tom@tromey.com>
8569
8570 * gdb.dwarf2/main-subprogram.c: New file.
8571 * gdb.dwarf2/main-subprogram.exp: New file.
8572
8573 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8574
8575 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
8576 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
8577 gdb_test_no_output for a couple of cases.
8578 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
8579
8580 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8581
8582 Fix test names and standardize compilation error messages throughout
8583 the following files:
8584
8585 * gdb.ada/start.exp
8586 * gdb.arch/alpha-step.exp
8587 * gdb.arch/e500-prologue.exp
8588 * gdb.arch/ftrace-insn-reloc.exp
8589 * gdb.arch/gdb1291.exp
8590 * gdb.arch/gdb1431.exp
8591 * gdb.arch/gdb1558.exp
8592 * gdb.arch/i386-dr3-watch.exp
8593 * gdb.arch/i386-sse-stack-align.exp
8594 * gdb.arch/ia64-breakpoint-shadow.exp
8595 * gdb.arch/pa-nullify.exp
8596 * gdb.arch/powerpc-aix-prologue.exp
8597 * gdb.arch/thumb-bx-pc.exp
8598 * gdb.base/annota1.exp
8599 * gdb.base/annota3.exp
8600 * gdb.base/arrayidx.exp
8601 * gdb.base/assign.exp
8602 * gdb.base/attach.exp
8603 * gdb.base/auxv.exp
8604 * gdb.base/bang.exp
8605 * gdb.base/bfp-test.exp
8606 * gdb.base/bigcore.exp
8607 * gdb.base/bitfields2.exp
8608 * gdb.base/break-fun-addr.exp
8609 * gdb.base/break-probes.exp
8610 * gdb.base/call-rt-st.exp
8611 * gdb.base/callexit.exp
8612 * gdb.base/catch-fork-kill.exp
8613 * gdb.base/charset.exp
8614 * gdb.base/checkpoint.exp
8615 * gdb.base/comprdebug.exp
8616 * gdb.base/constvars.exp
8617 * gdb.base/coredump-filter.exp
8618 * gdb.base/cursal.exp
8619 * gdb.base/cvexpr.exp
8620 * gdb.base/detach.exp
8621 * gdb.base/display.exp
8622 * gdb.base/dmsym.exp
8623 * gdb.base/dprintf-pending.exp
8624 * gdb.base/dso2dso.exp
8625 * gdb.base/dtrace-probe.exp
8626 * gdb.base/dump.exp
8627 * gdb.base/enum_cond.exp
8628 * gdb.base/exe-lock.exp
8629 * gdb.base/exec-invalid-sysroot.exp
8630 * gdb.base/execl-update-breakpoints.exp
8631 * gdb.base/exprs.exp
8632 * gdb.base/fileio.exp
8633 * gdb.base/find.exp
8634 * gdb.base/finish.exp
8635 * gdb.base/fixsection.exp
8636 * gdb.base/foll-vfork.exp
8637 * gdb.base/frame-args.exp
8638 * gdb.base/gcore.exp
8639 * gdb.base/gdb1250.exp
8640 * gdb.base/global-var-nested-by-dso.exp
8641 * gdb.base/gnu-ifunc.exp
8642 * gdb.base/hashline1.exp
8643 * gdb.base/hashline2.exp
8644 * gdb.base/hashline3.exp
8645 * gdb.base/hbreak-in-shr-unsupported.exp
8646 * gdb.base/huge.exp
8647 * gdb.base/infcall-input.exp
8648 * gdb.base/info-fun.exp
8649 * gdb.base/info-shared.exp
8650 * gdb.base/jit-simple.exp
8651 * gdb.base/jit-so.exp
8652 * gdb.base/jit.exp
8653 * gdb.base/jump.exp
8654 * gdb.base/label.exp
8655 * gdb.base/lineinc.exp
8656 * gdb.base/logical.exp
8657 * gdb.base/longjmp.exp
8658 * gdb.base/macscp.exp
8659 * gdb.base/miscexprs.exp
8660 * gdb.base/new-ui-echo.exp
8661 * gdb.base/new-ui-pending-input.exp
8662 * gdb.base/new-ui.exp
8663 * gdb.base/nodebug.exp
8664 * gdb.base/nofield.exp
8665 * gdb.base/offsets.exp
8666 * gdb.base/overlays.exp
8667 * gdb.base/pending.exp
8668 * gdb.base/pointers.exp
8669 * gdb.base/pr11022.exp
8670 * gdb.base/printcmds.exp
8671 * gdb.base/prologue.exp
8672 * gdb.base/ptr-typedef.exp
8673 * gdb.base/realname-expand.exp
8674 * gdb.base/relativedebug.exp
8675 * gdb.base/relocate.exp
8676 * gdb.base/remote.exp
8677 * gdb.base/reread.exp
8678 * gdb.base/return2.exp
8679 * gdb.base/savedregs.exp
8680 * gdb.base/sep.exp
8681 * gdb.base/sepdebug.exp
8682 * gdb.base/sepsymtab.exp
8683 * gdb.base/set-inferior-tty.exp
8684 * gdb.base/setshow.exp
8685 * gdb.base/shlib-call.exp
8686 * gdb.base/sigaltstack.exp
8687 * gdb.base/siginfo-addr.exp
8688 * gdb.base/signals.exp
8689 * gdb.base/signull.exp
8690 * gdb.base/sigrepeat.exp
8691 * gdb.base/so-impl-ld.exp
8692 * gdb.base/solib-display.exp
8693 * gdb.base/solib-overlap.exp
8694 * gdb.base/solib-search.exp
8695 * gdb.base/solib-symbol.exp
8696 * gdb.base/structs.exp
8697 * gdb.base/structs2.exp
8698 * gdb.base/symtab-search-order.exp
8699 * gdb.base/twice.exp
8700 * gdb.base/unload.exp
8701 * gdb.base/varargs.exp
8702 * gdb.base/watchpoint-solib.exp
8703 * gdb.base/watchpoint.exp
8704 * gdb.base/whatis.exp
8705 * gdb.base/wrong_frame_bt_full.exp
8706 * gdb.btrace/dlopen.exp
8707 * gdb.cell/ea-standalone.exp
8708 * gdb.cell/ea-test.exp
8709 * gdb.cp/dispcxx.exp
8710 * gdb.cp/gdb2384.exp
8711 * gdb.cp/method2.exp
8712 * gdb.cp/nextoverthrow.exp
8713 * gdb.cp/pr10728.exp
8714 * gdb.disasm/am33.exp
8715 * gdb.disasm/h8300s.exp
8716 * gdb.disasm/mn10300.exp
8717 * gdb.disasm/sh3.exp
8718 * gdb.dwarf2/dw2-dir-file-name.exp
8719 * gdb.fortran/complex.exp
8720 * gdb.fortran/library-module.exp
8721 * gdb.guile/scm-pretty-print.exp
8722 * gdb.guile/scm-symbol.exp
8723 * gdb.guile/scm-type.exp
8724 * gdb.guile/scm-value.exp
8725 * gdb.linespec/linespec.exp
8726 * gdb.mi/gdb701.exp
8727 * gdb.mi/gdb792.exp
8728 * gdb.mi/mi-breakpoint-changed.exp
8729 * gdb.mi/mi-dprintf-pending.exp
8730 * gdb.mi/mi-dprintf.exp
8731 * gdb.mi/mi-exit-code.exp
8732 * gdb.mi/mi-pending.exp
8733 * gdb.mi/mi-solib.exp
8734 * gdb.mi/new-ui-mi-sync.exp
8735 * gdb.mi/pr11022.exp
8736 * gdb.mi/user-selected-context-sync.exp
8737 * gdb.opt/solib-intra-step.exp
8738 * gdb.python/py-events.exp
8739 * gdb.python/py-finish-breakpoint.exp
8740 * gdb.python/py-mi.exp
8741 * gdb.python/py-prettyprint.exp
8742 * gdb.python/py-shared.exp
8743 * gdb.python/py-symbol.exp
8744 * gdb.python/py-template.exp
8745 * gdb.python/py-type.exp
8746 * gdb.python/py-value.exp
8747 * gdb.reverse/solib-precsave.exp
8748 * gdb.reverse/solib-reverse.exp
8749 * gdb.server/solib-list.exp
8750 * gdb.stabs/weird.exp
8751 * gdb.threads/reconnect-signal.exp
8752 * gdb.threads/stepi-random-signal.exp
8753 * gdb.trace/actions.exp
8754 * gdb.trace/ax.exp
8755 * gdb.trace/backtrace.exp
8756 * gdb.trace/change-loc.exp
8757 * gdb.trace/deltrace.exp
8758 * gdb.trace/ftrace-lock.exp
8759 * gdb.trace/ftrace.exp
8760 * gdb.trace/infotrace.exp
8761 * gdb.trace/mi-tracepoint-changed.exp
8762 * gdb.trace/packetlen.exp
8763 * gdb.trace/passcount.exp
8764 * gdb.trace/pending.exp
8765 * gdb.trace/range-stepping.exp
8766 * gdb.trace/report.exp
8767 * gdb.trace/stap-trace.exp
8768 * gdb.trace/tfind.exp
8769 * gdb.trace/trace-break.exp
8770 * gdb.trace/trace-condition.exp
8771 * gdb.trace/trace-enable-disable.exp
8772 * gdb.trace/trace-mt.exp
8773 * gdb.trace/tracecmd.exp
8774 * gdb.trace/tspeed.exp
8775 * gdb.trace/tsv.exp
8776 * lib/perftest.exp
8777
8778 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8779
8780 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
8781 with gdb_test_no_output.
8782 Use command as test name.
8783
8784 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8785
8786 Fix test names starting with uppercase throughout the files.
8787
8788 * gdb.ada/assign_1.exp
8789 * gdb.ada/boolean_expr.exp
8790 * gdb.base/arrayidx.exp
8791 * gdb.base/del.exp
8792 * gdb.base/gcore-buffer-overflow.exp
8793 * gdb.base/testenv.exp
8794 * gdb.compile/compile.exp
8795 * gdb.python/py-framefilter-invalidarg.exp
8796 * gdb.python/py-framefilter.exp
8797
8798 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8799
8800 Fix test names starting with uppercase throughout the files.
8801
8802 * gdb.ada/array_return.exp
8803 * gdb.ada/expr_delims.exp
8804 * gdb.ada/mi_dyn_arr.exp
8805 * gdb.ada/mi_interface.exp
8806 * gdb.ada/mi_var_array.exp
8807 * gdb.ada/watch_arg.exp
8808 * gdb.arch/alpha-step.exp
8809 * gdb.arch/altivec-regs.exp
8810 * gdb.arch/e500-regs.exp
8811 * gdb.arch/powerpc-d128-regs.exp
8812 * gdb.base/arrayidx.exp
8813 * gdb.base/break.exp
8814 * gdb.base/checkpoint.exp
8815 * gdb.base/debug-expr.exp
8816 * gdb.base/dmsym.exp
8817 * gdb.base/radix.exp
8818 * gdb.base/sepdebug.exp
8819 * gdb.base/testenv.exp
8820 * gdb.base/watch_thread_num.exp
8821 * gdb.base/watchpoint-cond-gone.exp
8822 * gdb.cell/break.exp
8823 * gdb.cell/ea-cache.exp
8824 * gdb.compile/compile.exp
8825 * gdb.cp/gdb2495.exp
8826 * gdb.gdb/selftest.exp
8827 * gdb.gdb/xfullpath.exp
8828 * gdb.go/hello.exp
8829 * gdb.go/integers.exp
8830 * gdb.objc/basicclass.exp
8831 * gdb.pascal/hello.exp
8832 * gdb.pascal/integers.exp
8833 * gdb.python/py-breakpoint.exp
8834 * gdb.python/py-cmd.exp
8835 * gdb.python/py-linetable.exp
8836 * gdb.python/py-xmethods.exp
8837 * gdb.python/python.exp
8838 * gdb.reverse/consecutive-precsave.exp
8839 * gdb.reverse/finish-precsave.exp
8840 * gdb.reverse/i386-precsave.exp
8841 * gdb.reverse/machinestate-precsave.exp
8842 * gdb.reverse/sigall-precsave.exp
8843 * gdb.reverse/solib-precsave.exp
8844 * gdb.reverse/step-precsave.exp
8845 * gdb.reverse/until-precsave.exp
8846 * gdb.reverse/watch-precsave.exp
8847 * gdb.threads/leader-exit.exp
8848 * gdb.threads/pthreads.exp
8849 * gdb.threads/wp-replication.exp
8850 * gdb.trace/actions.exp
8851 * gdb.trace/mi-tsv-changed.exp
8852 * gdb.trace/tsv.exp
8853
8854 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8855
8856 Fix test names starting with uppercase throughout the files.
8857
8858 * gdb.arch/i386-bp_permanent.exp
8859 * gdb.arch/i386-gnu-cfi.exp
8860 * gdb.base/disasm-end-cu.exp
8861 * gdb.base/macscp.exp
8862 * gdb.base/pending.exp
8863 * gdb.base/watch_thread_num.exp
8864 * gdb.cp/exception.exp
8865 * gdb.cp/gdb2495.exp
8866 * gdb.cp/local.exp
8867 * gdb.python/py-evsignal.exp
8868 * gdb.python/python.exp
8869 * gdb.trace/tracecmd.exp
8870
8871 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8872
8873 Fix test names starting with uppercase throughout the files.
8874
8875 * gdb.base/charset.exp
8876 * gdb.base/eval.exp
8877 * gdb.base/multi-forks.exp
8878 * gdb.guile/scm-progspace.exp
8879 * gdb.opencl/datatypes.exp
8880 * gdb.python/py-block.exp
8881 * gdb.python/py-function.exp
8882 * gdb.python/py-symbol.exp
8883 * gdb.python/py-symtab.exp
8884 * gdb.python/py-xmethods.exp
8885 * gdb.reverse/break-precsave.exp
8886 * gdb.reverse/break-reverse.exp
8887 * gdb.reverse/consecutive-precsave.exp
8888 * gdb.reverse/consecutive-reverse.exp
8889 * gdb.reverse/finish-precsave.exp
8890 * gdb.reverse/finish-reverse-bkpt.exp
8891 * gdb.reverse/finish-reverse.exp
8892 * gdb.reverse/fstatat-reverse.exp
8893 * gdb.reverse/getresuid-reverse.exp
8894 * gdb.reverse/i386-precsave.exp
8895 * gdb.reverse/i386-reverse.exp
8896 * gdb.reverse/i386-sse-reverse.exp
8897 * gdb.reverse/i387-stack-reverse.exp
8898 * gdb.reverse/insn-reverse.exp
8899 * gdb.reverse/machinestate-precsave.exp
8900 * gdb.reverse/machinestate.exp
8901 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8902 * gdb.reverse/pipe-reverse.exp
8903 * gdb.reverse/readv-reverse.exp
8904 * gdb.reverse/recvmsg-reverse.exp
8905 * gdb.reverse/rerun-prec.exp
8906 * gdb.reverse/s390-mvcle.exp
8907 * gdb.reverse/sigall-precsave.exp
8908 * gdb.reverse/sigall-reverse.exp
8909 * gdb.reverse/solib-precsave.exp
8910 * gdb.reverse/solib-reverse.exp
8911 * gdb.reverse/step-precsave.exp
8912 * gdb.reverse/step-reverse.exp
8913 * gdb.reverse/time-reverse.exp
8914 * gdb.reverse/until-precsave.exp
8915 * gdb.reverse/until-reverse.exp
8916 * gdb.reverse/waitpid-reverse.exp
8917 * gdb.reverse/watch-precsave.exp
8918 * gdb.reverse/watch-reverse.exp
8919
8920 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8921
8922 Fix test names starting with uppercase throughout the files.
8923
8924 * gdb.arch/i386-mpx-simple_segv.exp
8925 * gdb.arch/i386-mpx.exp
8926 * gdb.arch/i386-permbkpt.exp
8927 * gdb.arch/pa-nullify.exp
8928 * gdb.arch/powerpc-d128-regs.exp
8929 * gdb.arch/vsx-regs.exp
8930 * gdb.base/bfp-test.exp
8931 * gdb.base/break.exp
8932 * gdb.base/breakpoint-shadow.exp
8933 * gdb.base/callfuncs.exp
8934 * gdb.base/charset.exp
8935 * gdb.base/commands.exp
8936 * gdb.base/completion.exp
8937 * gdb.base/dfp-test.exp
8938 * gdb.base/echo.exp
8939 * gdb.base/ending-run.exp
8940 * gdb.base/eval.exp
8941 * gdb.base/expand-psymtabs.exp
8942 * gdb.base/float128.exp
8943 * gdb.base/floatn.exp
8944 * gdb.base/foll-exec-mode.exp
8945 * gdb.base/gdb1056.exp
8946 * gdb.base/gdb11531.exp
8947 * gdb.base/kill-after-signal.exp
8948 * gdb.base/multi-forks.exp
8949 * gdb.base/overlays.exp
8950 * gdb.base/pending.exp
8951 * gdb.base/sepdebug.exp
8952 * gdb.base/testenv.exp
8953 * gdb.base/valgrind-db-attach.exp
8954 * gdb.base/watch_thread_num.exp
8955 * gdb.base/watchpoint-cond-gone.exp
8956 * gdb.base/watchpoint.exp
8957 * gdb.base/watchpoints.exp
8958 * gdb.cp/arg-reference.exp
8959 * gdb.cp/baseenum.exp
8960 * gdb.cp/operator.exp
8961 * gdb.cp/shadow.exp
8962 * gdb.dwarf2/dw2-op-out-param.exp
8963 * gdb.dwarf2/dw2-reg-undefined.exp
8964 * gdb.go/chan.exp
8965 * gdb.go/hello.exp
8966 * gdb.go/integers.exp
8967 * gdb.go/methods.exp
8968 * gdb.go/package.exp
8969 * gdb.guile/scm-parameter.exp
8970 * gdb.guile/scm-progspace.exp
8971 * gdb.guile/scm-value.exp
8972 * gdb.mi/mi-pending.exp
8973 * gdb.mi/user-selected-context-sync.exp
8974 * gdb.multi/multi-attach.exp
8975 * gdb.multi/tids.exp
8976 * gdb.opt/clobbered-registers-O2.exp
8977 * gdb.pascal/floats.exp
8978 * gdb.pascal/integers.exp
8979 * gdb.python/py-block.exp
8980 * gdb.python/py-events.exp
8981 * gdb.python/py-parameter.exp
8982 * gdb.python/py-symbol.exp
8983 * gdb.python/py-symtab.exp
8984 * gdb.python/py-type.exp
8985 * gdb.python/py-value.exp
8986 * gdb.python/py-xmethods.exp
8987 * gdb.python/python.exp
8988 * gdb.reverse/break-precsave.exp
8989 * gdb.reverse/consecutive-precsave.exp
8990 * gdb.reverse/finish-precsave.exp
8991 * gdb.reverse/i386-precsave.exp
8992 * gdb.reverse/machinestate-precsave.exp
8993 * gdb.reverse/sigall-precsave.exp
8994 * gdb.reverse/solib-precsave.exp
8995 * gdb.reverse/step-precsave.exp
8996 * gdb.reverse/until-precsave.exp
8997 * gdb.reverse/watch-precsave.exp
8998 * gdb.server/ext-attach.exp
8999 * gdb.server/ext-restart.exp
9000 * gdb.server/ext-run.exp
9001 * gdb.server/ext-wrapper.exp
9002 * gdb.stabs/gdb11479.exp
9003 * gdb.stabs/weird.exp
9004 * gdb.threads/attach-many-short-lived-threads.exp
9005 * gdb.threads/kill.exp
9006 * gdb.threads/watchpoint-fork.exp
9007
9008 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9009
9010 Fix test names starting with uppercase throughout all the files below.
9011
9012 * gdb.ada/array_return.exp
9013 * gdb.ada/catch_ex.exp
9014 * gdb.ada/info_exc.exp
9015 * gdb.ada/mi_catch_ex.exp
9016 * gdb.ada/mi_dyn_arr.exp
9017 * gdb.ada/mi_ex_cond.exp
9018 * gdb.ada/mi_exc_info.exp
9019 * gdb.ada/mi_interface.exp
9020 * gdb.ada/mi_task_arg.exp
9021 * gdb.ada/mi_task_info.exp
9022 * gdb.ada/mi_var_array.exp
9023 * gdb.arch/alpha-step.exp
9024 * gdb.arch/amd64-disp-step.exp
9025 * gdb.arch/arm-disp-step.exp
9026 * gdb.arch/disp-step-insn-reloc.exp
9027 * gdb.arch/e500-prologue.exp
9028 * gdb.arch/ftrace-insn-reloc.exp
9029 * gdb.arch/gdb1558.exp
9030 * gdb.arch/i386-bp_permanent.exp
9031 * gdb.arch/i386-disp-step.exp
9032 * gdb.arch/i386-float.exp
9033 * gdb.arch/i386-gnu-cfi.exp
9034 * gdb.arch/ia64-breakpoint-shadow.exp
9035 * gdb.arch/mips16-thunks.exp
9036 * gdb.arch/pa-nullify.exp
9037 * gdb.arch/powerpc-aix-prologue.exp
9038 * gdb.arch/powerpc-power.exp
9039 * gdb.arch/ppc-dfp.exp
9040 * gdb.arch/s390-tdbregs.exp
9041 * gdb.arch/spu-info.exp
9042 * gdb.arch/spu-ls.exp
9043 * gdb.arch/thumb-bx-pc.exp
9044 * gdb.base/advance.exp
9045 * gdb.base/annota-input-while-running.exp
9046 * gdb.base/arrayidx.exp
9047 * gdb.base/asmlabel.exp
9048 * gdb.base/async.exp
9049 * gdb.base/attach-wait-input.exp
9050 * gdb.base/auto-connect-native-target.exp
9051 * gdb.base/batch-preserve-term-settings.exp
9052 * gdb.base/bfp-test.exp
9053 * gdb.base/bigcore.exp
9054 * gdb.base/bp-permanent.exp
9055 * gdb.base/break-always.exp
9056 * gdb.base/break-fun-addr.exp
9057 * gdb.base/break-idempotent.exp
9058 * gdb.base/break-main-file-remove-fail.exp
9059 * gdb.base/break-probes.exp
9060 * gdb.base/break-unload-file.exp
9061 * gdb.base/break.exp
9062 * gdb.base/call-ar-st.exp
9063 * gdb.base/call-rt-st.exp
9064 * gdb.base/call-sc.exp
9065 * gdb.base/call-signal-resume.exp
9066 * gdb.base/call-strs.exp
9067 * gdb.base/callexit.exp
9068 * gdb.base/callfuncs.exp
9069 * gdb.base/catch-gdb-caused-signals.exp
9070 * gdb.base/catch-signal-siginfo-cond.exp
9071 * gdb.base/catch-syscall.exp
9072 * gdb.base/compare-sections.exp
9073 * gdb.base/cond-eval-mode.exp
9074 * gdb.base/condbreak-call-false.exp
9075 * gdb.base/consecutive-step-over.exp
9076 * gdb.base/cursal.exp
9077 * gdb.base/disabled-location.exp
9078 * gdb.base/disasm-end-cu.exp
9079 * gdb.base/display.exp
9080 * gdb.base/double-prompt-target-event-error.exp
9081 * gdb.base/dprintf-bp-same-addr.exp
9082 * gdb.base/dprintf-detach.exp
9083 * gdb.base/dprintf-next.exp
9084 * gdb.base/dprintf-non-stop.exp
9085 * gdb.base/dprintf-pending.exp
9086 * gdb.base/dso2dso.exp
9087 * gdb.base/ending-run.exp
9088 * gdb.base/enum_cond.exp
9089 * gdb.base/examine-backward.exp
9090 * gdb.base/exe-lock.exp
9091 * gdb.base/exec-invalid-sysroot.exp
9092 * gdb.base/execl-update-breakpoints.exp
9093 * gdb.base/execution-termios.exp
9094 * gdb.base/fileio.exp
9095 * gdb.base/fixsection.exp
9096 * gdb.base/foll-exec-mode.exp
9097 * gdb.base/foll-exec.exp
9098 * gdb.base/fork-running-state.exp
9099 * gdb.base/frame-args.exp
9100 * gdb.base/fullpath-expand.exp
9101 * gdb.base/func-ptr.exp
9102 * gdb.base/gcore-relro-pie.exp
9103 * gdb.base/gdb1090.exp
9104 * gdb.base/gdb1555.exp
9105 * gdb.base/global-var-nested-by-dso.exp
9106 * gdb.base/gnu-ifunc.exp
9107 * gdb.base/hbreak-in-shr-unsupported.exp
9108 * gdb.base/hbreak-unmapped.exp
9109 * gdb.base/hook-stop.exp
9110 * gdb.base/infcall-input.exp
9111 * gdb.base/info-fun.exp
9112 * gdb.base/info-shared.exp
9113 * gdb.base/interrupt-noterm.exp
9114 * gdb.base/jit-so.exp
9115 * gdb.base/jit.exp
9116 * gdb.base/line-symtabs.exp
9117 * gdb.base/list.exp
9118 * gdb.base/longjmp.exp
9119 * gdb.base/macscp.exp
9120 * gdb.base/max-value-size.exp
9121 * gdb.base/nodebug.exp
9122 * gdb.base/nofield.exp
9123 * gdb.base/overlays.exp
9124 * gdb.base/paginate-after-ctrl-c-running.exp
9125 * gdb.base/paginate-bg-execution.exp
9126 * gdb.base/paginate-inferior-exit.exp
9127 * gdb.base/pending.exp
9128 * gdb.base/pr11022.exp
9129 * gdb.base/printcmds.exp
9130 * gdb.base/ptr-typedef.exp
9131 * gdb.base/ptype.exp
9132 * gdb.base/randomize.exp
9133 * gdb.base/range-stepping.exp
9134 * gdb.base/realname-expand.exp
9135 * gdb.base/relativedebug.exp
9136 * gdb.base/remote.exp
9137 * gdb.base/savedregs.exp
9138 * gdb.base/sepdebug.exp
9139 * gdb.base/set-noassign.exp
9140 * gdb.base/shlib-call.exp
9141 * gdb.base/shreloc.exp
9142 * gdb.base/sigaltstack.exp
9143 * gdb.base/sigbpt.exp
9144 * gdb.base/siginfo-addr.exp
9145 * gdb.base/siginfo-obj.exp
9146 * gdb.base/siginfo-thread.exp
9147 * gdb.base/signest.exp
9148 * gdb.base/signull.exp
9149 * gdb.base/sigrepeat.exp
9150 * gdb.base/skip.exp
9151 * gdb.base/so-impl-ld.exp
9152 * gdb.base/solib-corrupted.exp
9153 * gdb.base/solib-disc.exp
9154 * gdb.base/solib-display.exp
9155 * gdb.base/solib-overlap.exp
9156 * gdb.base/solib-search.exp
9157 * gdb.base/solib-symbol.exp
9158 * gdb.base/source-execution.exp
9159 * gdb.base/sss-bp-on-user-bp-2.exp
9160 * gdb.base/sss-bp-on-user-bp.exp
9161 * gdb.base/stack-checking.exp
9162 * gdb.base/stale-infcall.exp
9163 * gdb.base/step-break.exp
9164 * gdb.base/step-line.exp
9165 * gdb.base/step-over-exit.exp
9166 * gdb.base/step-test.exp
9167 * gdb.base/structs.exp
9168 * gdb.base/sym-file.exp
9169 * gdb.base/symtab-search-order.exp
9170 * gdb.base/term.exp
9171 * gdb.base/type-opaque.exp
9172 * gdb.base/unload.exp
9173 * gdb.base/until-nodebug.exp
9174 * gdb.base/until.exp
9175 * gdb.base/unwindonsignal.exp
9176 * gdb.base/watch-cond.exp
9177 * gdb.base/watch-non-mem.exp
9178 * gdb.base/watch_thread_num.exp
9179 * gdb.base/watchpoint-reuse-slot.exp
9180 * gdb.base/watchpoint-solib.exp
9181 * gdb.base/watchpoint.exp
9182 * gdb.btrace/dlopen.exp
9183 * gdb.cell/arch.exp
9184 * gdb.cell/break.exp
9185 * gdb.cell/bt.exp
9186 * gdb.cell/core.exp
9187 * gdb.cell/data.exp
9188 * gdb.cell/dwarfaddr.exp
9189 * gdb.cell/ea-cache.exp
9190 * gdb.cell/ea-standalone.exp
9191 * gdb.cell/ea-test.exp
9192 * gdb.cell/f-regs.exp
9193 * gdb.cell/fork.exp
9194 * gdb.cell/gcore.exp
9195 * gdb.cell/mem-access.exp
9196 * gdb.cell/ptype.exp
9197 * gdb.cell/registers.exp
9198 * gdb.cell/sizeof.exp
9199 * gdb.cell/solib-symbol.exp
9200 * gdb.cell/solib.exp
9201 * gdb.compile/compile-tls.exp
9202 * gdb.cp/exception.exp
9203 * gdb.cp/gdb2495.exp
9204 * gdb.cp/local.exp
9205 * gdb.cp/mb-inline.exp
9206 * gdb.cp/mb-templates.exp
9207 * gdb.cp/pr10687.exp
9208 * gdb.cp/pr9167.exp
9209 * gdb.cp/scope-err.exp
9210 * gdb.cp/templates.exp
9211 * gdb.cp/virtfunc.exp
9212 * gdb.dwarf2/dw2-dir-file-name.exp
9213 * gdb.dwarf2/dw2-single-line-discriminators.exp
9214 * gdb.fortran/complex.exp
9215 * gdb.fortran/library-module.exp
9216 * gdb.guile/guile.exp
9217 * gdb.guile/scm-cmd.exp
9218 * gdb.guile/scm-frame-inline.exp
9219 * gdb.guile/scm-objfile.exp
9220 * gdb.guile/scm-pretty-print.exp
9221 * gdb.guile/scm-symbol.exp
9222 * gdb.guile/scm-type.exp
9223 * gdb.guile/scm-value.exp
9224 * gdb.linespec/keywords.exp
9225 * gdb.linespec/ls-errs.exp
9226 * gdb.linespec/macro-relative.exp
9227 * gdb.linespec/thread.exp
9228 * gdb.mi/mi-breakpoint-changed.exp
9229 * gdb.mi/mi-dprintf-pending.exp
9230 * gdb.mi/mi-fullname-deleted.exp
9231 * gdb.mi/mi-logging.exp
9232 * gdb.mi/mi-pending.exp
9233 * gdb.mi/mi-solib.exp
9234 * gdb.mi/new-ui-mi-sync.exp
9235 * gdb.mi/user-selected-context-sync.exp
9236 * gdb.multi/dummy-frame-restore.exp
9237 * gdb.multi/multi-arch-exec.exp
9238 * gdb.multi/remove-inferiors.exp
9239 * gdb.multi/watchpoint-multi-exit.exp
9240 * gdb.opt/solib-intra-step.exp
9241 * gdb.perf/backtrace.exp
9242 * gdb.perf/single-step.exp
9243 * gdb.perf/skip-command.exp
9244 * gdb.perf/skip-prologue.exp
9245 * gdb.perf/solib.exp
9246 * gdb.python/lib-types.exp
9247 * gdb.python/py-as-string.exp
9248 * gdb.python/py-bad-printers.exp
9249 * gdb.python/py-block.exp
9250 * gdb.python/py-breakpoint.exp
9251 * gdb.python/py-cmd.exp
9252 * gdb.python/py-events.exp
9253 * gdb.python/py-evthreads.exp
9254 * gdb.python/py-finish-breakpoint.exp
9255 * gdb.python/py-finish-breakpoint2.exp
9256 * gdb.python/py-frame-inline.exp
9257 * gdb.python/py-frame.exp
9258 * gdb.python/py-inferior.exp
9259 * gdb.python/py-infthread.exp
9260 * gdb.python/py-mi.exp
9261 * gdb.python/py-objfile.exp
9262 * gdb.python/py-pp-maint.exp
9263 * gdb.python/py-pp-registration.exp
9264 * gdb.python/py-prettyprint.exp
9265 * gdb.python/py-recurse-unwind.exp
9266 * gdb.python/py-shared.exp
9267 * gdb.python/py-symbol.exp
9268 * gdb.python/py-symtab.exp
9269 * gdb.python/py-template.exp
9270 * gdb.python/py-type.exp
9271 * gdb.python/py-unwind-maint.exp
9272 * gdb.python/py-unwind.exp
9273 * gdb.python/py-value.exp
9274 * gdb.python/python.exp
9275 * gdb.reverse/finish-reverse-bkpt.exp
9276 * gdb.reverse/insn-reverse.exp
9277 * gdb.reverse/next-reverse-bkpt-over-sr.exp
9278 * gdb.reverse/solib-precsave.exp
9279 * gdb.reverse/solib-reverse.exp
9280 * gdb.stabs/gdb11479.exp
9281 * gdb.stabs/weird.exp
9282 * gdb.threads/fork-child-threads.exp
9283 * gdb.threads/fork-plus-threads.exp
9284 * gdb.threads/fork-thread-pending.exp
9285 * gdb.threads/forking-threads-plus-breakpoint.exp
9286 * gdb.threads/hand-call-in-threads.exp
9287 * gdb.threads/interrupted-hand-call.exp
9288 * gdb.threads/linux-dp.exp
9289 * gdb.threads/local-watch-wrong-thread.exp
9290 * gdb.threads/next-while-other-thread-longjmps.exp
9291 * gdb.threads/non-ldr-exit.exp
9292 * gdb.threads/pending-step.exp
9293 * gdb.threads/print-threads.exp
9294 * gdb.threads/process-dies-while-detaching.exp
9295 * gdb.threads/process-dies-while-handling-bp.exp
9296 * gdb.threads/pthreads.exp
9297 * gdb.threads/queue-signal.exp
9298 * gdb.threads/reconnect-signal.exp
9299 * gdb.threads/signal-command-handle-nopass.exp
9300 * gdb.threads/signal-command-multiple-signals-pending.exp
9301 * gdb.threads/signal-delivered-right-thread.exp
9302 * gdb.threads/signal-sigtrap.exp
9303 * gdb.threads/sigthread.exp
9304 * gdb.threads/staticthreads.exp
9305 * gdb.threads/stepi-random-signal.exp
9306 * gdb.threads/thread-unwindonsignal.exp
9307 * gdb.threads/thread_check.exp
9308 * gdb.threads/thread_events.exp
9309 * gdb.threads/tid-reuse.exp
9310 * gdb.threads/tls-nodebug.exp
9311 * gdb.threads/tls-shared.exp
9312 * gdb.threads/tls-so_extern.exp
9313 * gdb.threads/tls.exp
9314 * gdb.threads/wp-replication.exp
9315 * gdb.trace/actions-changed.exp
9316 * gdb.trace/actions.exp
9317 * gdb.trace/backtrace.exp
9318 * gdb.trace/change-loc.exp
9319 * gdb.trace/collection.exp
9320 * gdb.trace/deltrace.exp
9321 * gdb.trace/disconnected-tracing.exp
9322 * gdb.trace/entry-values.exp
9323 * gdb.trace/ftrace-lock.exp
9324 * gdb.trace/ftrace.exp
9325 * gdb.trace/infotrace.exp
9326 * gdb.trace/mi-trace-frame-collected.exp
9327 * gdb.trace/mi-trace-unavailable.exp
9328 * gdb.trace/mi-traceframe-changed.exp
9329 * gdb.trace/mi-tracepoint-changed.exp
9330 * gdb.trace/mi-tsv-changed.exp
9331 * gdb.trace/no-attach-trace.exp
9332 * gdb.trace/packetlen.exp
9333 * gdb.trace/passc-dyn.exp
9334 * gdb.trace/passcount.exp
9335 * gdb.trace/pending.exp
9336 * gdb.trace/pr16508.exp
9337 * gdb.trace/qtro.exp
9338 * gdb.trace/range-stepping.exp
9339 * gdb.trace/read-memory.exp
9340 * gdb.trace/report.exp
9341 * gdb.trace/save-trace.exp
9342 * gdb.trace/signal.exp
9343 * gdb.trace/stap-trace.exp
9344 * gdb.trace/status-stop.exp
9345 * gdb.trace/strace.exp
9346 * gdb.trace/tfile.exp
9347 * gdb.trace/tfind.exp
9348 * gdb.trace/trace-break.exp
9349 * gdb.trace/trace-condition.exp
9350 * gdb.trace/trace-enable-disable.exp
9351 * gdb.trace/trace-mt.exp
9352 * gdb.trace/tracecmd.exp
9353 * gdb.trace/tracefile-pseudo-reg.exp
9354 * gdb.trace/tspeed.exp
9355 * gdb.trace/tstatus.exp
9356 * gdb.trace/tsv.exp
9357 * gdb.trace/unavailable.exp
9358 * gdb.trace/while-dyn.exp
9359 * gdb.trace/while-stepping.exp
9360 * lib/gdb-guile.exp
9361 * lib/gdb.exp
9362 * lib/mi-support.exp
9363 * lib/pascal.exp
9364 * lib/perftest.exp
9365 * lib/prelink-support.exp
9366 * lib/selftest-support.exp
9367
9368 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
9369
9370 * Makefile.in: Include disable-implicit-rules.mk.
9371
9372 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9373
9374 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
9375 non-byte-aligned bit fields.
9376
9377 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9378
9379 PR gdb/12616
9380 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
9381 respects the DW_AT_data_bit_offset attribute.
9382
9383 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
9384
9385 * gdb.base/default.exp: Fix output of "set language".
9386
9387 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
9388
9389 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
9390 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
9391 make.
9392 * configure.ac: Remove checks for the make program.
9393 * configure: Re-generate.
9394
9395 2016-11-16 Kevin Buettner <kevinb@redhat.com>
9396
9397 * gdb.python/py-recurse-unwind.c (main): Add loop.
9398 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
9399 to read_register() and gdb.parse_and_eval(). Make each code
9400 call a separate case that can be individually tested.
9401 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
9402 proc. Call cont_and_backtrace for each of the code paths that
9403 we want to test in the unwinder.
9404
9405 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
9406
9407 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
9408 the definition of struct S.
9409
9410 2016-11-11 Catherine Moore <clm@codesourcery.com>
9411
9412 * gdb.base/dump.exp: Identify verilog format dump tests as such.
9413
9414 2016-11-09 Pedro Alves <palves@redhat.com>
9415
9416 * gdb.base/commands.exp (runto_or_return): New procedure.
9417 (gdbvar_simple_if_test, gdbvar_simple_while_test)
9418 (gdbvar_complex_if_while_test, progvar_simple_if_test)
9419 (progvar_simple_while_test, progvar_complex_if_while_test)
9420 (if_while_breakpoint_command_test)
9421 (infrun_breakpoint_command_test, breakpoint_command_test)
9422 (user_defined_command_test, watchpoint_command_test)
9423 (test_command_prompt_position, redefine_hook_test)
9424 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
9425 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
9426 multi_line_input and multi_line. Remove gdb_expect and
9427 gdb_stop_suppressing_tests uses.
9428 * lib/gdb.exp (valnum_re): New global.
9429 (multi_line_input): New procedure.
9430
9431 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
9432
9433 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
9434 Remove.
9435 (test_setup): Define with proc_with_prefix.
9436 (test_cli_inferior): Likewise.
9437 (test_cli_thread): Likewise.
9438 (test_cli_frame): Likewise.
9439 (test_cli_select_frame): Likewise.
9440 (test_cli_up_down): Likewise.
9441 (test_mi_thread_select): Likewise.
9442 (test_mi_stack_select_frame): Likewise.
9443 (test_cli_in_mi_inferior): Likewise.
9444 (test_cli_in_mi_thread): Likewise.
9445 (test_cli_in_mi_frame): Likewise.
9446 (top level): Do not use with_test_prefix_procname.
9447
9448 2016-11-09 Pedro Alves <palves@redhat.com>
9449
9450 * gdb.base/commands.exp (gdbvar_simple_if_test)
9451 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
9452 (progvar_simple_if_test, progvar_simple_while_test)
9453 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
9454 (infrun_breakpoint_command_test, breakpoint_command_test)
9455 (user_defined_command_test, watchpoint_command_test)
9456 (test_command_prompt_position, deprecated_command_test)
9457 (bp_deleted_in_command, temporary_breakpoint_commands)
9458 (stray_arg0_test, source_file_with_indented_comment)
9459 (recursive_source_test, if_commands_test)
9460 (error_clears_commands_left, redefine_hook_test)
9461 (redefine_backtrace_test): Use proc_with_prefix.
9462 * lib/gdb.exp (proc_with_prefix): New proc.
9463
9464 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
9465
9466 * gdb.base/tui-layout.c: New file.
9467 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
9468 disassembly window contains very long lines.
9469
9470 2016-11-08 Tom Tromey <tom@tromey.com>
9471
9472 * gdb.python/py-value.exp (test_value_creation): Make "long" test
9473 depend on Python 2.
9474
9475 2016-11-08 Tom Tromey <tom@tromey.com>
9476
9477 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
9478 New method.
9479
9480 2016-10-29 Manish Goregaokar <manish@mozilla.com>
9481
9482 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
9483
9484 2016-10-27 Manish Goregaokar <manish@mozilla.com>
9485
9486 * gdb.rust/simple.rs: Add test for univariant enums without
9487 discriminants and for encoded struct-like enums.
9488
9489 2016-10-28 Pedro Alves <palves@redhat.com>
9490
9491 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
9492 gdb_test_multiple, tighten regexps and match symtabs and line
9493 tables incrementally.
9494
9495 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
9496
9497 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
9498 general.
9499
9500 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
9501
9502 * gdb.base/exec-invalid-sysroot.exp: New file.
9503
9504 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9505
9506 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
9507
9508 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9509
9510 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
9511
9512 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
9513
9514 * gdb.base/killed-outside.exp: Remove $options from a call to
9515 `prepare_for_testing'.
9516
9517 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9518
9519 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
9520 Change test message.
9521
9522 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9523
9524 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
9525 Update comment.
9526
9527 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9528
9529 * gdb.trace/mi-trace-save.exp: New file.
9530
9531 2016-10-13 Yao Qi <yao.qi@linaro.org>
9532
9533 * gdb.base/code_elim.exp (get_var_address): Remove.
9534 * gdb.base/relocate.exp: Likewise.
9535 * gdb.base/shreloc.exp: Likewise.
9536 * lib/gdb.exp (get_var_address): New.
9537
9538 2016-10-13 Yao Qi <yao.qi@linaro.org>
9539
9540 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
9541 floating point tests if $skip_float_test is false.
9542
9543 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
9544
9545 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
9546 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
9547 argc values.
9548 Add 1 to argc so we guarantee distinct initial/modified argc values.
9549
9550 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9551
9552 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
9553
9554 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9555
9556 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
9557 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
9558 * gdb.arch/vsx-regs.exp: Likewise.
9559
9560 2016-10-07 Yao Qi <yao.qi@linaro.org>
9561
9562 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
9563
9564 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
9565
9566 * gdb.python/python.exp: Test decode_line("*0").
9567
9568 2016-10-06 Doug Evans <dje@google.com>
9569
9570 * gdb.python/py-value.exp (test_value_creation): Add test for large
9571 unsigned 64-bit value.
9572
9573 2016-10-06 Tom Tromey <tom@tromey.com>
9574
9575 * gdb.compile/compile.exp: Change java tests to rust.
9576 * gdb.base/setshow.exp: Change java tests to rust.
9577 * gdb.base/default.exp: Remove java from language list.
9578 * README (Examples): Update language example.
9579 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
9580 test.
9581 * lib/gdb.exp (skip_java_tests): Remove.
9582 * lib/java.exp: Remove.
9583 * gdb.java: Remove.
9584
9585 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
9586
9587 * gdb.arch/mips-fcr.exp: New test.
9588 * gdb.arch/mips-fcr.c: Source for the new test.
9589
9590 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
9591
9592 * gdb.base/solib-disc.exp: Use `standard_output_file'
9593 throughout.
9594
9595 2016-10-06 Pedro Alves <palves@redhat.com>
9596
9597 * gdb.base/jit-simple-dl.c: New file.
9598 * gdb.base/jit-simple-jit.c: New file, factored out from ...
9599 * gdb.base/jit-simple.c: ... this.
9600 * gdb.base/jit-simple.exp (jit_run): Delete.
9601 (build_jit): New proc.
9602 (jit_test_reread): Recompile either the main program or the shared
9603 library, depending on what is being tested. Skip changing address
9604 if caller wants to. Compare before/after addresses. If testing
9605 standalone, explicitly load the binary. Test "maint info
9606 breakpoints".
9607 (top level): Add "standalone vs shared lib" and "change address"
9608 vs "same address" axes.
9609
9610 2016-10-06 Pedro Alves <palves@redhat.com>
9611
9612 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
9613 call.
9614 (jit_run): Delete.
9615 (jit_test_reread): Use with_test_prefix. Reload the main binary
9616 explicitly. Compare the before/after addresses of the JIT
9617 descriptor.
9618
9619 2016-08-15 Doug Evans <dje@google.com>
9620
9621 * gdb.xml/extra-regs.xml: Update, end field now required, default type
9622 for single bitfields is bool.
9623 * gdb.xml/tdesc-regs.exp: Ditto.
9624
9625 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9626
9627 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
9628
9629 2016-10-05 Yao Qi <yao.qi@linaro.org>
9630
9631 * lib/gdb.exp (support_complex_tests): Return zero if
9632 gdb_skip_float_test return true.
9633
9634 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
9635 Simon Marchi <simon.marchi@ericsson.com>
9636
9637 PR gdb/20487
9638 * gdb.mi/user-selected-context-sync.exp: New file.
9639 * gdb.mi/user-selected-context-sync.c: New file.
9640
9641 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
9642 Simon Marchi <simon.marchi@ericsson.com>
9643
9644 PR gdb/20487
9645 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
9646 =thread-select-event check.
9647
9648 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
9649
9650 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
9651 the compulsory L operand changes.
9652 * gdb.arch/powerpc-power.s: Likewise.
9653
9654 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9655
9656 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
9657 * gdb.base/jit-attach-pie.c: New file.
9658 * gdb.base/jit-attach-pie.exp: New file.
9659
9660 2016-09-28 Pedro Alves <palves@redhat.com>
9661
9662 * gdb.base/infcall-input.c: New file.
9663 * gdb.base/infcall-input.exp: New file.
9664
9665 2016-09-22 Yao Qi <yao.qi@linaro.org>
9666
9667 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
9668 (gdb_exit): Rename it to ...
9669 (gdbserver_gdb_exit): ... Close GDBserver.
9670 (gdb_exit): New proc, call gdbserver_gdb_exit.
9671 (mi_gdb_exit): Likewise.
9672
9673 2016-09-22 Yao Qi <yao.qi@linaro.org>
9674
9675 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
9676 path.
9677 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
9678 Remove duplication.
9679
9680 2016-09-22 Yao Qi <yao.qi@linaro.org>
9681
9682 * lib/gdbserver-support.exp: Check the existence of
9683 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
9684
9685 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
9686
9687 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
9688
9689 2016-09-21 Tom Tromey <tom@tromey.com>
9690
9691 PR gdb/20604:
9692 * gdb.base/quit.exp: New file.
9693
9694 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
9695
9696 * .gitignore: New file.
9697
9698 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
9699
9700 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
9701 throughout.
9702
9703 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9704
9705 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
9706
9707 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9708
9709 * gdb.cp/casts.cc (decltype): Move it ...
9710 (main): ... with its call to ...
9711 * gdb.cp/casts03.cc: ... a new file.
9712 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
9713
9714 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9715
9716 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
9717
9718 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
9719
9720 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
9721 and sync up the test with tests in gas/testsuite/gas/ppc.
9722 * gdb.arch/powerpc-power.exp: Likewise.
9723
9724 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9725
9726 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
9727
9728 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
9729 Jan Kratochvil <jan.kratochvil@redhat.com>
9730
9731 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
9732 make m1's definition to be different from m2's. Use 'dummy' as an
9733 argument for probe 'two'.
9734
9735 2016-09-10 Jon Beniston <jon@beniston.com>
9736
9737 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
9738 for sim target.
9739
9740 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
9741
9742 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
9743 variable declaration.
9744 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
9745 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
9746 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
9747 received HWCAP as its argument.
9748
9749 2016-09-06 Pedro Alves <palves@redhat.com>
9750
9751 * gdb.base/new-ui-pending-input.c: New file.
9752 * gdb.base/new-ui-pending-input.exp: New file.
9753 * gdb.exp (clear_gdb_spawn_id): New procedure.
9754 (with_spawn_id): Check whether gdb_spawn_id exists before
9755 referencing it. If gdb_spawn_id didn't exist on entry, clear it
9756 on exit.
9757
9758 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
9759
9760 * gdb.base/float128.c: New file.
9761 * gdb.base/float128.exp: Likewise.
9762 * gdb.base/floatn.c: Likewise.
9763 * gdb.base/floatn.exp: Likewise.
9764
9765 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
9766
9767 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
9768
9769 2016-09-05 Pedro Alves <palves@redhat.com>
9770
9771 PR backtrace/19927
9772 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
9773 unwinders are immediately called as side effect of "source" or
9774 "disable unwinder" commands.
9775 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
9776
9777 2016-09-02 Yao Qi <yao.qi@linaro.org>
9778
9779 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
9780 is true and $type is "float" or "double".
9781
9782 2016-09-02 Yao Qi <yao.qi@linaro.org>
9783
9784 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
9785 true.
9786 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
9787 * gdb.base/call-rt-st.exp: Likewise.
9788 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
9789 return value instead of gdb,skip_float_test.
9790 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
9791 (do_function_calls): Use its return value instead of
9792 gdb,skip_float_test.
9793 * gdb.base/finish.exp: Likewise.
9794 * gdb.base/funcargs.exp: Likewise.
9795 * gdb.base/return.exp: Likewise.
9796 * gdb.base/return2.exp: Likewise.
9797 * gdb.base/varargs.exp: Likewise.
9798 * lib/gdb.exp (gdb_skip_float_test): Change it to
9799 gdb_caching_proc. Detect the broken ptrace on arm-linux.
9800
9801 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
9802
9803 * gdb.multi/tids.exp: Test "thread apply all".
9804
9805 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9806
9807 * gdb.base/default.exp (tty): Remove.
9808
9809 2016-08-24 Kevin Buettner <kevinb@redhat.com>
9810
9811 * gdb.python/py-recurse-unwind.c: New file.
9812 * gdb.python/py-recurse-unwind.py: New file.
9813 * gdb.python/py-recurse-unwind.exp: New file.
9814
9815 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
9816
9817 * gdb.base/set-inferior-tty.exp: New file.
9818 * gdb.base/set-inferior-tty.c: New file.
9819
9820 2016-08-23 Pedro Alves <palves@redhat.com>
9821
9822 PR gdb/20494
9823 * gdb.base/new-ui-echo.c: New file.
9824 * gdb.base/new-ui-echo.exp: New file.
9825
9826 2016-08-23 Yao Qi <yao.qi@linaro.org>
9827
9828 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
9829 gdbserver_spawn.
9830 * gdb.server/connect-without-multi-process.exp (do_test):
9831 Likewise.
9832
9833 2016-08-23 Yao Qi <yao.qi@linaro.org>
9834
9835 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
9836 standalone_txt. Delete gdb_txt and standalone_txt on host
9837 and target. Spawn the binary on target. Copy files from
9838 target to host.
9839
9840 2016-08-22 Pedro Alves <palves@redhat.com>
9841
9842 PR gdb/20505
9843 * gdb.base/vdso-warning.exp: Test core dumps too. Use
9844 with_test_prefix. Factor out bits to ...
9845 (test_no_vdso): ... this new procedure.
9846
9847 2016-08-19 Carl Love <cel@us.ibm.com>
9848
9849 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
9850 maintaining separate logic for constructing the output path.
9851 * gdb.arch/powerpc-d128-regs.exp: Likewise.
9852 * gdb.arch/ppc-dfp.exp: Likewise.
9853 * gdb.arch/ppc-fp.exp: Likewise.
9854 * gdb.arch/vsx-regs.exp: Likewise.
9855 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
9856 binprefix for generating the additional binary files.
9857
9858 2016-08-19 Pedro Alves <palves@redhat.com>
9859
9860 * gdb.trace/mi-trace-frame-collected.exp
9861 (test_trace_frame_collected): On x32, expect two registers.
9862
9863 2016-08-18 Carl Love <cel@us.ibm.com>
9864
9865 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
9866 and sync up the test with tests in gas/testsuite/gas/ppc.
9867 * gdb.arch/powerpc-power.exp: Likewise.
9868
9869 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
9870
9871 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
9872 expected error message.
9873
9874 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
9875
9876 * gdb.multi/remove-inferiors.exp: New file.
9877 * gdb.multi/remove-inferiors.c: New file.
9878
9879 2016-08-12 Yao Qi <yao.qi@linaro.org>
9880
9881 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
9882 argument list.
9883
9884 2016-08-10 Pedro Alves <palves@redhat.com>
9885
9886 PR gdb/19187
9887 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
9888 setup_kfails.
9889
9890 2016-08-09 Pedro Alves <palves@redhat.com>
9891 Simon Marchi <simon.marchi@ericsson.com>
9892
9893 PR gdb/20418
9894 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
9895 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
9896
9897 2016-08-09 Pedro Alves <palves@redhat.com>
9898
9899 PR mi/20431
9900 * gdb.mi/mi-cmd-error.exp: New file.
9901
9902 2016-08-09 Pedro Alves <palves@redhat.com>
9903
9904 PR gdb/18653
9905 * gdb.base/signals-state-child.c: New file.
9906 * gdb.base/signals-state-child.exp: New file.
9907 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
9908
9909 2016-08-09 Pedro Alves <palves@redhat.com>
9910
9911 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
9912
9913 2016-08-03 Tom Tromey <tom@tromey.com>
9914
9915 PR python/18565:
9916 * gdb.python/py-frame-inline.exp: Add Frame.function test.
9917
9918 2016-08-01 Yao Qi <yao.qi@linaro.org>
9919
9920 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
9921 variable mode to "multi-process" if $multi_process is 1, otherwise
9922 set it to "single-process".
9923
9924 2016-08-01 Yao Qi <yao.qi@linaro.org>
9925
9926 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
9927 * gdb.cp/cpexprs.exp: Likewise.
9928 * gdb.cp/m-static.exp: Likewise.
9929
9930 2016-07-26 Tom Tromey <tom@tromey.com>
9931
9932 PR python/20190:
9933 * gdb.threads/tls.exp (check_thread_local): Add python symbol
9934 test.
9935
9936 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
9937
9938 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
9939 selecting assembly source files.
9940 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
9941 assembly source files.
9942 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
9943 assembly source files.
9944 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
9945 selecting assembly source files.
9946
9947 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
9948
9949 * gdb.base/new-ui.exp (do_test_invalid_args): New
9950 procedure.
9951
9952 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
9953
9954 * gdb.btrace/reconnect.c: New file.
9955 * gdb.btrace/reconnect.exp: New file.
9956
9957 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
9958
9959 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
9960 to test_catch_syscall_group.
9961 (test_catch_syscall_group): New.
9962
9963 2016-07-21 Tom Tromey <tom@tromey.com>
9964
9965 * gdb.rust/simple.rs (main): Use empty struct expression.
9966 * gdb.rust/simple.exp: Add tests for empty struct expression.
9967
9968 2016-07-21 Yao Qi <yao.qi@linaro.org>
9969
9970 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
9971 if gdb_skip_xml_test is true on some targets.
9972
9973 2016-07-21 Yao Qi <yao.qi@linaro.org>
9974
9975 * gdb.server/solib-list.exp: Unset last_loaded_file.
9976
9977 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9978
9979 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
9980 "step into captured_main (args)".
9981
9982 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9983
9984 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
9985
9986 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9987
9988 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
9989
9990 2016-07-19 Pedro Alves <palves@redhat.com>
9991
9992 * gdb.opt/inline-break.exp: Remove optimize=-O2.
9993 * gdb.opt/inline-bt.exp: Likewise.
9994 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
9995 additional_flags=-Winline.
9996 * gdb.opt/inline-locals.exp: Likewise.
9997 * gdb.opt/inline-markers.c (ATTR): Define.
9998 (inlined_fn): Use it.
9999
10000 2016-07-19 Yao Qi <yao.qi@linaro.org>
10001
10002 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
10003 (test_with_self): Remove some code. Remove argument executable.
10004 (top-level): Use do_self_tests.
10005
10006 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
10007 Don Breazeal <donb@codesourcery.com>
10008
10009 * gdb.base/maint.exp: Escape paths used in regular expressions.
10010 * gdb.stabs/weird.exp: Likewise.
10011
10012 2016-07-13 Tom Tromey <tom@tromey.com>
10013
10014 PR python/15620, PR python/18620:
10015 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
10016 (test_bkpt_events): New procs.
10017
10018 2016-07-13 Tom Tromey <tom@tromey.com>
10019
10020 PR python/17698:
10021 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
10022 test.
10023 (test_watchpoints): Likewise.
10024 (test_bkpt_pending): New proc.
10025
10026 2016-07-13 Tom Tromey <tom@tromey.com>
10027
10028 PR cli/18053:
10029 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
10030 completion test.
10031
10032 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10033
10034 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
10035 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
10036 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
10037 f_label.
10038 (g): Rename g_end_lbl to g_label.
10039 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
10040 low_pc and high_pc.
10041 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
10042
10043 2016-07-12 Tom Tromey <tom@tromey.com>
10044
10045 PR python/19293:
10046 * gdb.python/py-unwind-maint.exp: Update tests.
10047
10048 2016-07-12 Yao Qi <yao.qi@linaro.org>
10049
10050 * lib/selftest-support.exp (selftest_setup): Match the output
10051 when captured_main is inlined.
10052
10053 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
10054
10055 * gdb.fortran/derived-types.exp (result_line, result_line_2):
10056 New variables.
10057 (print this%a, print this%b, print this): New tests.
10058 * gdb.fortran/derived-types.f90 (this): New object and
10059 initialization.
10060
10061 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
10062
10063 * gdb.ada/arraydim.exp: Remove extra directory level in build
10064 directory.
10065
10066 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
10067
10068 * lib/ada.exp: Remove extra directory level in build directory.
10069 * gdb.ada/cond_lang.exp: Likewise.
10070 * gdb.ada/exec_changed.exp: Likewise.
10071 * gdb.ada/lang_switch.exp: Likewise.
10072
10073 2016-07-06 Manish Goregaokar <manish@mozilla.com>
10074
10075 * simple.rs: Add test for raw pointer subscripting.
10076 * simple.exp: Add test expectations.
10077
10078 2016-07-05 Yao Qi <yao.qi@linaro.org>
10079
10080 * gdb.mi/mi-reverse.exp: Match =record-started output.
10081
10082 2016-07-01 Pedro Alves <palves@redhat.com>
10083
10084 * gdb.base/jit-reader.exp (info_registers_current_frame): New
10085 procedure.
10086 (jit_reader_test): Test the jit reader's unwinder.
10087 * gdb.base/jithost.c (jit_function_00_code): New global.
10088 (main): Use memcpy to fill in the mmapped code, instead of poking
10089 bytes manually here.
10090 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
10091 value.
10092 (read_debug_info): Save the function's range.
10093 (read_sp): New function.
10094 (unwind_frame): Use it. Also unwind RBP.
10095 (get_frame_id): Use read_sp.
10096 (gdb_init_reader): Use calloc instead of malloc.
10097 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
10098 parameter. Use gdb_test_multiple.
10099
10100 2016-07-01 Pedro Alves <palves@redhat.com>
10101 Antoine Tremblay <antoine.tremblay@ericsson.com>
10102
10103 * gdb.threads/process-dies-while-detaching.c: New file.
10104 * gdb.threads/process-dies-while-detaching.exp: New file.
10105
10106 2016-07-01 Pedro Alves <palves@redhat.com>
10107
10108 * gdb.multi/watchpoint-multi-exit.c: New file.
10109 * gdb.multi/watchpoint-multi-exit.exp: New file.
10110
10111 2016-06-30 Pedro Alves <palves@redhat.com>
10112
10113 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
10114 unset inferior_spawn_id.
10115
10116 2016-06-30 Pedro Alves <palves@redhat.com>
10117
10118 * lib/mi-support.exp (default_mi_gdb_start): Declare global
10119 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
10120
10121 2016-06-29 Yao Qi <yao.qi@linaro.org>
10122
10123 * gdb.base/return.c: Add copyright header.
10124
10125 2016-06-29 Tom Tromey <tom@tromey.com>
10126
10127 PR python/20129:
10128 * gdb.python/py-framefilter.exp: Add tests for setting priority
10129 and disabling of non-existent frame filter.
10130
10131 2016-06-29 Yao Qi <yao.qi@linaro.org>
10132
10133 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
10134 0x0f07ff.
10135
10136 2016-06-28 Yao Qi <yao.qi@linaro.org>
10137
10138 * gdb.base/catch-syscall.exp: Remove check on isnative and target
10139 triplets. Start gdb, execute catch syscall, and continue. Check
10140 gdb's output to determine catch syscall is supported.
10141
10142 2016-06-27 Manish Goregaokar <manish@mozilla.com>
10143
10144 * gdb.rust/simple.rs: Add test for returning unit in a function.
10145 * gdb.rust/simple.exp: Add expectation for functions returning
10146 unit.
10147
10148 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
10149
10150 * gdb.python/py-breakpoint-create-fail.c,
10151 gdb.python/py-breakpoint-create-fail.exp,
10152 gdb.python/py-breakpoint-create-fail.py: New testcase.
10153
10154 2016-06-25 Manish Goregaokar <manish@mozilla.com>
10155
10156 PR gdb/20239
10157 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
10158 * gdb.rust/simple.exp: Add test expectations for new NonZero
10159 tests.
10160
10161 2016-06-24 David Taylor <dtaylor@emc.com>
10162
10163 * gdb.base/offsets.exp: New file.
10164 * gdb.base/offsets.c: New file.
10165
10166 2016-06-23 Tom Tromey <tom@tromey.com>
10167
10168 PR gdb/16483:
10169 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
10170 before any filters are loaded.
10171
10172 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
10173
10174 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
10175 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
10176 structs.
10177 * gdb.fortran/derived-type-function.exp: New file.
10178 * gdb.fortran/derived-type-function.f90: New file.
10179
10180
10181 2016-06-21 Pedro Alves <palves@redhat.com>
10182
10183 * gdb.base/new-ui.exp: New file.
10184 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
10185 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
10186 (with_spawn_id): New procedure.
10187
10188 2016-06-21 Pedro Alves <palves@redhat.com>
10189
10190 * gdb.mi/mi-exec-run.exp: New file.
10191
10192 2016-06-21 Pedro Alves <palves@redhat.com>
10193
10194 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
10195 breakpoint command's output on the main UI.
10196 (test_break): New procedure, factored out from calls in the top
10197 level.
10198 (top level): Use foreach_with_prefix to test MI as main UI and as
10199 separate UI.
10200
10201 2016-06-21 Pedro Alves <palves@redhat.com>
10202
10203 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
10204 (test_awatch_creation_and_listing)
10205 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
10206 Remove 'type' parameter.
10207 (test_watchpoint_all): New parameter mi_mode. Remove
10208 with_test_prefix.
10209 (top level): Use foreach_with_prefix, and add main/separate UI MI
10210 testing axis.
10211
10212 2016-06-21 Pedro Alves <palves@redhat.com>
10213
10214 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
10215 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
10216 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
10217 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
10218 (gdb_main_spawn_id, mi_spawn_id): Declare and
10219 comment.
10220 (mi_create_inferior_pty): New procedure,
10221 factored out from default_mi_gdb_start.
10222 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
10223 procedures.
10224 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
10225 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
10226 Use mi_create_inferior_pty.
10227 (mi_gdb_start): Use eval to pass down args list.
10228
10229 2016-06-21 Pedro Alves <palves@redhat.com>
10230
10231 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
10232 * gdb.opt/inline-cmds.exp: Add MI tests.
10233
10234 2016-06-21 Pedro Alves <palves@redhat.com>
10235
10236 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
10237
10238 2016-06-21 Pedro Alves <palves@redhat.com>
10239
10240 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
10241 (top level): Use it instead of mi_execute_to.
10242
10243 2016-06-21 Pedro Alves <palves@redhat.com>
10244
10245 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
10246 (cont_handler_str): New.
10247 (signal_stop_handler): Set stop_handler_str instead of printing to
10248 stdout.
10249 (continue_handler): Set cont_handler_str instead of printing to
10250 stdout.
10251 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
10252 mi_send_resuming_command. Print stop_handler_str and
10253 cont_handler_str instead of expecting the python events print
10254 directly.
10255
10256 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
10257
10258 * gdb.base/jit-reader.exp: New file.
10259 * gdb.base/jithost.c: New file.
10260 * gdb.base/jithost.h: New file.
10261 * gdb.base/jitreader.c : New file.
10262 * gdb.base/jit-protocol.h: New file.
10263
10264 2016-06-17 Yao Qi <yao.qi@linaro.org>
10265
10266 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
10267 parameters follow_fork and detach_on_fork. Set follow-fork-mode
10268 and detach-on-fork. Adjust tests.
10269 (top level): Invoke break_cond_on_syscall with combinations of
10270 syscall, follow-fork-mode and detach-on-fork.
10271
10272 2016-06-17 Yao Qi <yao.qi@linaro.org>
10273
10274 * gdb.base/step-over-exit.c: New.
10275 * gdb.base/step-over-exit.exp: New.
10276
10277 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
10278
10279 * gdb.base/float.exp: Add target check for nds32*-*-*.
10280 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
10281
10282 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
10283
10284 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
10285 for unsupported target features.
10286 * gdb.base/call-rt-st.exp: Likewise.
10287 * gdb.base/call-sc.exp: Likewise.
10288 * gdb.base/call-signal-resume.exp: Likewise.
10289 * gdb.base/call-strs.exp: Likewise.
10290 * gdb.base/callexit.exp: Likewise.
10291 * gdb.base/callfuncs.exp: Likewise.
10292 * gdb.base/nodebug.exp: Likewise.
10293 * gdb.base/printcmds.exp: Likewise.
10294 * gdb.base/ptype.exp: Likewise.
10295 * gdb.base/structs.exp: Likewise.
10296 * gdb.base/unwindonsignal.exp: Likewise.
10297 * gdb.cp/gdb2495.exp: Likewise.
10298 * gdb.cp/templates.exp: Likewise.
10299 * gdb.cp/virtfunc.exp: Likewise.
10300 * gdb.threads/hand-call-in-threads.exp: Likewise.
10301 * gdb.threads/interrupted-hand-call.exp: Likewise.
10302 * gdb.threads/thread-unwindonsignal.exp: Likewise.
10303
10304 2016-06-10 Tom Tromey <tom@tromey.com>
10305
10306 PR rust/20110:
10307 * gdb.rust/expr.exp: Add test for integer constant larger than
10308 i32.
10309
10310 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
10311
10312 * gdb.fortran/nested-funcs.exp: New.
10313 * gdb.fortran/nested-funcs.f90: New.
10314
10315 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
10316
10317 * gdb.base/examine-backward.c: New file.
10318 * gdb.base/examine-backward.exp: New file.
10319
10320 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
10321
10322 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
10323 matching.
10324
10325 2016-06-02 Tom Tromey <tom@tromey.com>
10326
10327 PR python/18984:
10328 * gdb.python/py-shared.exp: Add solib_name test.
10329
10330 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
10331
10332 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
10333
10334 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
10335
10336 PR c++/19893
10337 * gdb.dwarf2/implref.exp: Rename to...
10338 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
10339 * gdb.dwarf2/implref-array.c: New file.
10340 * gdb.dwarf2/implref-array.exp: Likewise.
10341 * gdb.dwarf2/implref-global.c: Likewise.
10342 * gdb.dwarf2/implref-global.exp: Likewise.
10343 * gdb.dwarf2/implref-struct.c: Likewise.
10344 * gdb.dwarf2/implref-struct.exp: Likewise.
10345
10346 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10347
10348 * gdb.trace/trace-condition.exp: Add 64bit tests.
10349
10350 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10351
10352 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
10353 bits types.
10354 (main): Adapt to 8 to 64 bits types.
10355 * gdb.trace/trace-condition.exp: Add new tests.
10356
10357 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10358
10359 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
10360
10361 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10362
10363 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
10364 Move condition tests...
10365 * gdb.trace/trace-condition.exp: Here.
10366
10367 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10368
10369 * gdb.trace/trace-condition.exp: Add counter-case tests.
10370
10371 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10372
10373 PR c++/15231
10374 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
10375 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
10376
10377 2016-05-27 Pedro Alves <palves@redhat.com>
10378
10379 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
10380 New procedure.
10381 (top level): Call it, and bail out of DejaGnu is known to be bad.
10382
10383 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
10384
10385 * gdb.base/whatis.c: Extend the test case.
10386 * gdb.base/whatis.exp: Add additional tests.
10387
10388 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10389
10390 * gdb.fortran/type.f90: Add pointer variable.
10391 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
10392
10393 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10394
10395 * gdb.fortran/vla-type.exp: Fix testcase name.
10396
10397 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10398
10399 * gdb.fortran/vla-type.exp: Access elements in nested structs.
10400
10401 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10402
10403 * gdb.fortran/type.f90: Add nested structures.
10404 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
10405 * gdb.fortran/derived-type.exp: Adapt expected output.
10406 * gdb.fortran/vla-type.exp: Adapt expected output.
10407
10408 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10409
10410 * gdb.fortran/whatis_type.exp: Adapt expected output.
10411
10412 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10413
10414 * gdb.fortran/print_type.exp: Fix expected output.
10415 * gdb.fortran/whatis_type.exp: Fix expected output.
10416
10417 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10418
10419 * gdb.fortran/whatis_type.exp: Use multi_line.
10420
10421 2016-05-24 Tom Tromey <tom@tromey.com>
10422
10423 PR python/17386:
10424 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
10425 use value as an index.
10426
10427 2016-05-23 Tom Tromey <tom@tromey.com>
10428
10429 PR python/17981:
10430 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
10431 no-breakpoint case.
10432
10433 2016-05-24 Pedro Alves <palves@redhat.com>
10434
10435 PR gdb/19828
10436 * gdb.threads/clone-attach-detach.c: New file.
10437 * gdb.threads/clone-attach-detach.exp: New file.
10438
10439 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
10440
10441 * gdb.base/annota-input-while-running.exp: Fix syntax error.
10442
10443 2016-05-23 Tom Tromey <tom@tromey.com>
10444
10445 PR python/19438, PR python/18393:
10446 * gdb.python/py-progspace.exp: Add "dir" test.
10447 * gdb.python/py-objfile.exp: Add "dir" test.
10448
10449 2016-05-23 Yao Qi <yao.qi@linaro.org>
10450
10451 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
10452 * gdb.arch/thumb2-it.exp: Likewise.
10453
10454 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
10455
10456 * gdb.mi/mi-threads-interrupt.c: New file.
10457 * gdb.mi/mi-threads-interrupt.exp: New file.
10458
10459 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
10460
10461 PR gdb/18077
10462 * gdb.mi/mi-async-run.exp: New file.
10463 * gdb.mi/mi-async-run.c: New file.
10464
10465 2016-05-17 Tom Tromey <tom@tromey.com>
10466 Manish Goregaokar <manishsmail@gmail.com>
10467
10468 * lib/rust-support.exp: New file.
10469 * lib/gdb.exp (skip_rust_tests): New proc.
10470 (build_executable_from_specs): Handle rust.
10471 * lib/future.exp (gdb_find_rustc): New proc.
10472 (gdb_default_target_compile): Handle rust.
10473 * gdb.rust/expr.exp: New file.
10474 * gdb.rust/generics.exp: New file.
10475 * gdb.rust/generics.rs: New file.
10476 * gdb.rust/methods.exp: New file.
10477 * gdb.rust/methods.rs: New file.
10478 * gdb.rust/modules.exp: New file.
10479 * gdb.rust/modules.rs: New file.
10480 * gdb.rust/simple.exp: New file.
10481 * gdb.rust/simple.rs: New file.
10482
10483 2016-05-17 Tom Tromey <tom@tromey.com>
10484
10485 * gdb.base/default.exp (set language): Add rust.
10486
10487 2016-05-17 Tom Tromey <tom@tromey.com>
10488
10489 * gdb.gdb/unittest.exp: New file.
10490
10491 2016-05-16 Yao Qi <yao.qi@linaro.org>
10492
10493 * gdb.base/batch-preserve-term-settings.exp: Remove variable
10494 shell_prompt. Update shell_prompt_re.
10495
10496 2016-05-12 Doug Evans <dje@google.com>
10497
10498 PR symtab/19999
10499 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
10500 $options when building executable.
10501 * gdb.dwarf2/fission-loclists-pie.S: New file.
10502 * gdb.dwarf2/fission-loclists-pie.exp: New file.
10503
10504 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
10505
10506 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
10507 of [is_remote target],
10508
10509 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
10510
10511 * lib/gdb.exp (use_gdb_stub): New procedure.
10512
10513 2016-05-03 Yunlian Jiang <yunlian@google.com>
10514 Doug Evans <dje@google.com>
10515
10516 PR symtab/19914
10517 * gdb.dwarf2/dwp-sepdebug.c: New file.
10518 * gdb.dwarf2/dwp-sepdebug.exp: New file.
10519
10520 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
10521
10522 * gdb.base/detach.exp: Remove is_remote check.
10523
10524 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
10525
10526 * gdb.base/annota-input-while-running.exp: Don't check for
10527 [is_remote target]. Enable annotations after running to main.
10528 Remove unused "set test..." line.
10529
10530 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
10531
10532 * gdb.trace/trace-enable-disable.exp: New file.
10533 * gdb.trace/trace-enable-disable.c: New file.
10534
10535 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
10536
10537 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
10538 use it in info sharedlibrary test.
10539 * gdb.trace/ftrace-lock.exp: Likewise.
10540 * gdb.trace/ftrace.exp: Likewise.
10541 * gdb.trace/range-stepping.exp: Likewise.
10542 * gdb.trace/trace-break.exp: Likewise.
10543 * gdb.trace/trace-condition.exp: Likewise.
10544 * gdb.trace/trace-mt.exp: Likewise.
10545
10546 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
10547
10548 * lib/gdb.exp (gdb_load_shlibs): Rename to...
10549 (gdb_load_shlib): ... this.
10550 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
10551 gdb_load_shlib.
10552 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
10553 * gdb.base/ctxobj.exp: Likewise.
10554 * gdb.base/dprintf-pending.exp: Likewise.
10555 * gdb.base/dso2dso.exp: Likewise.
10556 * gdb.base/fixsection.exp: Likewise.
10557 * gdb.base/gcore-relro.exp: Likewise.
10558 * gdb.base/gdb1555.exp: Likewise.
10559 * gdb.base/global-var-nested-by-dso.exp: Likewise.
10560 * gdb.base/gnu-ifunc.exp: Likewise.
10561 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
10562 * gdb.base/jit-so.exp (one_jit_test): Likewise.
10563 * gdb.base/pending.exp: Likewise.
10564 * gdb.base/print-file-var.exp: Likewise.
10565 * gdb.base/print-symbol-loading.exp: Likewise.
10566 * gdb.base/shlib-call.exp: Likewise.
10567 * gdb.base/shreloc.exp: Likewise.
10568 * gdb.base/so-impl-ld.exp: Likewise.
10569 * gdb.base/solib-disc.exp: Likewise.
10570 * gdb.base/solib-nodir.exp: Likewise.
10571 * gdb.base/solib-overlap.exp: Likewise.
10572 * gdb.base/solib-symbol.exp: Likewise.
10573 * gdb.base/solib-weak.exp (do_test): Likewise.
10574 * gdb.base/sym-file.exp: Likewise.
10575 * gdb.base/symtab-search-order.exp: Likewise.
10576 * gdb.base/type-opaque.exp: Likewise.
10577 * gdb.base/unload.exp: Likewise.
10578 * gdb.base/watchpoint-solib.exp: Likewise.
10579 * gdb.compile/compile.exp: Likewise.
10580 * gdb.cp/gdb2384.exp: Likewise.
10581 * gdb.cp/infcall-dlopen.exp: Likewise.
10582 * gdb.cp/re-set-overloaded.exp: Likewise.
10583 * gdb.fortran/library-module.exp: Likewise.
10584 * gdb.opt/solib-intra-step.exp: Likewise.
10585 * gdb.python/py-finish-breakpoint.exp: Likewise.
10586 * gdb.python/py-shared.exp: Likewise.
10587 * gdb.reverse/solib-precsave.exp: Likewise.
10588 * gdb.reverse/solib-reverse.exp: Likewise.
10589 * gdb.server/solib-list.exp: Likewise.
10590 * gdb.threads/dlopen-libpthread.exp: Likewise.
10591 * gdb.threads/tls-shared.exp: Likewise.
10592 * gdb.threads/tls-so_extern.exp: Likewise.
10593 * gdb.trace/change-loc.exp: Likewise.
10594 * gdb.trace/ftrace-lock.exp: Likewise.
10595 * gdb.trace/ftrace.exp: Likewise.
10596 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
10597 * gdb.trace/pending.exp: Likewise.
10598 * gdb.trace/range-stepping.exp: Likewise.
10599 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
10600 (strace_info_marker): Likewise.
10601 (strace_probe_marker): Likewise.
10602 (strace_trace_on_same_addr): Likewise.
10603 (strace_trace_on_diff_addr): Likewise.
10604 * gdb.trace/trace-break.exp: Likewise.
10605 * gdb.trace/trace-condition.exp: Likewise.
10606 * gdb.trace/trace-mt.exp: Likewise.
10607
10608 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
10609
10610 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
10611 result of gdb_remote_download.
10612 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
10613 * gdb.base/dso2dso.exp: Likewise.
10614 * gdb.base/global-var-nested-by-dso.exp: Likewise.
10615 * gdb.base/print-file-var.exp: Likewise.
10616 * gdb.base/shlib-call.exp: Likewise.
10617 * gdb.base/shreloc.exp: Likewise.
10618 * gdb.base/solib-overlap.exp: Likewise.
10619 * gdb.base/solib-weak.exp (do_test): Likewise.
10620 * gdb.base/unload.exp: Likewise.
10621
10622 2016-04-27 Yao Qi <yao.qi@linaro.org>
10623
10624 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
10625 exists.
10626
10627 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10628
10629 * vla-type.exp: Print structure from toplevel.
10630
10631 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10632
10633 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
10634 of dynamic types.
10635 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
10636 of dynamic types.
10637
10638 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10639
10640 * gdb.fortran/vla-type.f90: New file.
10641 * gdb.fortran/vla-type.exp: New file.
10642
10643 2016-04-25 Yao Qi <yao.qi@linaro.org>
10644
10645 * gdb.base/branch-to-self.c: New file.
10646 * gdb.base/branch-to-self.exp: New file.
10647
10648 2016-04-22 Yao Qi <yao.qi@linaro.org>
10649
10650 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
10651 more after $hex.
10652
10653 2016-04-22 Yao Qi <yao.qi@linaro.org>
10654
10655 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
10656 * gdb.base/annota3.exp: Likewise.
10657
10658 2016-04-22 Yao Qi <yao.qi@linaro.org>
10659
10660 * gdb.reverse/step-precsave.exp: Do one step and test program
10661 stops in "callee" and do multiple steps until program goes out
10662 of "callee".
10663 * gdb.reverse/step-reverse.exp: Likewise.
10664
10665 2016-04-22 Yao Qi <yao.qi@linaro.org>
10666
10667 * gdb.trace/signal.exp: Also pass if
10668 $tracepoint_hits($i) > $iterations.
10669
10670 2016-04-22 Yao Qi <yao.qi@linaro.org>
10671
10672 * gdb.trace/signal.c: New file.
10673 * gdb.trace/signal.exp: New file.
10674
10675 2016-04-19 Doug Evans <xdje42@gmail.com>
10676
10677 * gdb.base/bad-file.exp: New file.
10678
10679 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
10680
10681 * gdb.dwarf2/implref.exp: New file.
10682
10683 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
10684
10685 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
10686 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
10687 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
10688 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
10689 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
10690 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
10691 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
10692 * lib/fortran.exp (fortran_int4): New procedure.
10693 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
10694 (fortran_logical4): Likewise.
10695
10696 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
10697
10698 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
10699
10700 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
10701
10702 * lib/compiler.c: Add Intel specific preprocessor macros.
10703 * lib/compiler.cc: Likewise.
10704
10705 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
10706
10707 * gdb.server/connect-with-no-symbol-file.c: New file.
10708 * gdb.server/connect-with-no-symbol-file.exp: New file.
10709
10710 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
10711
10712 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
10713
10714 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
10715
10716 * boards/gdbserver-base.exp (${board}_download): Copy source file to
10717 standard output directory.
10718
10719 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
10720
10721 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
10722
10723 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
10724
10725 * gdb.btrace/instruction_history.c (loop): Add declaration.
10726
10727 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
10728
10729 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
10730
10731 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
10732
10733 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
10734 parentheses to print.
10735 (continue_handler): Likewise.
10736
10737 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
10738
10739 * gdb.server/solib-list.exp: Remove is_remote check.
10740 Pass shlib= to gdb_compile. Don't link shared library with
10741 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
10742 Run binary filename through "readlink -f" on the target.
10743
10744 2016-04-08 Pedro Alves <palves@redhat.com>
10745
10746 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
10747 interpreter filename as argument to gdbserver_spawn.
10748 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
10749 Return empty if $last_loaded_file does not exist.
10750
10751 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10752
10753 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
10754 * gdb.base/jit-main.c: Use exit after usage.
10755
10756 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10757
10758 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
10759 GDBHISTSIZE prior to the tests.
10760 * gdb.base/gdbinit-history.exp: Likewise.
10761
10762 2016-04-07 Pedro Alves <palves@redhat.com>
10763
10764 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
10765 instead of build_executable. Use gdb_load_shlibs.
10766
10767 2016-04-07 Yao Qi <yao.qi@linaro.org>
10768
10769 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
10770 Execute "si" command.
10771
10772 2016-04-07 Yao Qi <yao.qi@linaro.org>
10773
10774 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
10775 number instead of the comments on some line.
10776
10777 2016-04-06 Don Breazeal <donb@codesourcery.com>
10778
10779 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
10780 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
10781
10782 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
10783
10784 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
10785 standard_output_file. Remove unused binfile variable.
10786
10787 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
10788
10789 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
10790 * gdb.python/py-mi-objfile.exp: Match "list main" output
10791 in console format.
10792
10793 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
10794
10795 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
10796 absolute.
10797
10798 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
10799
10800 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
10801 absolute.
10802 * gdb.trace/ftrace.exp: Likewise.
10803 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
10804 targets as well.
10805 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
10806 (gdb_load_shlibs): Copy libraries to test directory when testing
10807 natively. Only set solib-search-path if testing remotely.
10808 * lib/mi-support.exp (mi_load_shlibs): Likewise.
10809
10810 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
10811
10812 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
10813 gdb_download. Use it even if the target is not remote.
10814 * gdb.base/jit.exp (compile_jit_test): Likewise.
10815 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
10816 output directory if the destination board is local, otherwise use
10817 the standard remote_download from DejaGnu.
10818 (gdb_download): Remove.
10819 (gdb_load_shlibs): Use gdb_remote_download instead of
10820 gdb_download.
10821 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
10822 Use gdb_remote_download instead of gdb_download. Use it even if
10823 the target is not remote.
10824 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
10825 instead of gdb_download.
10826
10827 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
10828
10829 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
10830 (test_insert_delete_modify): Call mi_load_shlibs before trying to
10831 run.
10832
10833 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
10834
10835 PR gdb/19820
10836 * gdb.base/printcmds.exp: Add artificial arrays tests.
10837
10838 2016-03-31 Pedro Alves <palves@redhat.com>
10839
10840 PR gdb/19858
10841 * gdb.base/jit-main.c: Include unistd.h.
10842 (ATTACH): Define to 0 if not already defined.
10843 (wait_for_gdb, mypid): New globals.
10844 (WAIT_FOR_GDB): New macro.
10845 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
10846 some breakpoint locations.
10847 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
10848 New procedures.
10849 (one_jit_test): Add REATTACH parameter, and handle it. Use
10850 continue_to_test_location.
10851 (top level): Test attach, and adjusts calls to one_jit_test.
10852
10853 2016-03-31 Pedro Alves <palves@redhat.com>
10854
10855 PR gdb/19858
10856 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
10857 BINSUFFIX parameter, and handle it.
10858 (top level): Adjust calls compile_jit_test.
10859
10860 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
10861
10862 PR python/19743
10863 * gdb.python/py-mi-events-gdb.py: New file.
10864 * gdb.python/py-mi-events.c: New file.
10865 * gdb.python/py-mi-events.exp: New file.
10866
10867 2016-03-30 Yao Qi <yao.qi@linaro.org>
10868
10869 * gdb.reverse/until-precsave.exp: Match function name only.
10870 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
10871 Move malloc to a condition block.
10872 * gdb.reverse/until-reverse.exp: Match function name only.
10873
10874 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
10875
10876 * gdb.trace/ftrace.exp: Set arg0exp for s390.
10877 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
10878 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
10879 variable for GPR 0 instead of assuming it is register 0.
10880 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
10881 * lib/trace-support.exp: Add s390 registers.
10882
10883 2016-03-29 Yao Qi <yao.qi@linaro.org>
10884
10885 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
10886
10887 2016-03-24 Yao Qi <yao.qi@linaro.org>
10888
10889 * gdb.reverse/break-reverse.exp: Add quotation mark in the
10890 test message.
10891
10892 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10893
10894 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
10895 maintaining separate logic for constructing the output path.
10896
10897 2016-03-16 Don Breazeal <donb@codesourcery.com>
10898
10899 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
10900 Retry fork and waitpid on interrupted system call errors.
10901 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10902 Use with_timeout_factor to increase timeout by factor of 10.
10903
10904 2016-03-15 Don Breazeal <donb@codesourcery.com>
10905
10906 * gdb.cp/scope-err.cc: New test program.
10907 * gdb.cp/scope-err.exp: New test script.
10908 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
10909 lines and "set breakpoint here" comment.
10910 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
10911 Fixed some whitespace and format issues.
10912 * gdb.mi/mi-linespec-err-cp.cc: New test program.
10913 * gdb.mi/mi-linespec-err-cp.exp: New test script.
10914
10915 2016-03-15 Doug Evans <dje@google.com>
10916
10917 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
10918 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
10919 All callers updated. Add tests for enums, mixed flags register.
10920
10921 2016-03-15 Doug Evans <dje@google.com>
10922
10923 * gdb.base/skip.c (main): Call test_skip_file_and_function.
10924 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
10925
10926 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
10927
10928 * gdb.base/default.exp: Add $_as_string to the list of expected
10929 convenience functions.
10930
10931 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
10932
10933 * gdb.base/maint.exp: New tests for 'maint info line-table'.
10934
10935 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
10936
10937 * gdb.python/py-as-string.exp: New file.
10938 * gdb.python/py-as-string.c: New file.
10939
10940 2016-03-09 Pedro Alves <palves@redhat.com>
10941
10942 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
10943 signal" -> "Thread NN received signal" output change.
10944 * gdb.threads/ia64-sigill.exp: Likewise.
10945 * gdb.threads/linux-dp.exp: Likewise.
10946 * gdb.threads/manythreads.exp: Likewise.
10947 * gdb.threads/pending-step.exp: Likewise.
10948 * gdb.threads/print-threads.exp: Likewise.
10949 * gdb.threads/sigstep-threads.exp: Likewise.
10950 * gdb.threads/staticthreads.exp: Likewise.
10951 * gdb.threads/tls.exp: Likewise.
10952
10953 2016-03-09 Pedro Alves <palves@redhat.com>
10954
10955 * gdb.base/command-line-input.exp: New file.
10956
10957 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10958
10959 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
10960 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
10961 * gdb.trace/pending.exp: Accept leading dot before function name.
10962 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
10963 * lib/trace-support.exp: Set registers for ppc.
10964
10965 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10966
10967 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
10968 use it for disassembly; accept .main in addition to main in backtrace.
10969
10970 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
10971 Marcin Kościelnicki <koriakin@0x04.net>
10972
10973 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
10974 (gdb_recursion_test_ptr): New global variable.
10975 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
10976 gdb_recursion_test.
10977 (gdb_c_test): Ditto.
10978
10979 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10980
10981 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
10982 ordering.
10983
10984 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10985
10986 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
10987 (bar): Add bar_start_lbl label.
10988 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
10989 of foo/bar for emitting DWARF and tracing.
10990
10991 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
10992
10993 * analyze-racy-logs.py: Set executable bit.
10994
10995 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
10996
10997 * Makefile.in (DEFAULT_RACY_ITER): New variable.
10998 (CHECK_TARGET_TMP): Likewise.
10999 (check-single-racy): New rule.
11000 (check-parallel-racy): Likewise.
11001 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
11002 (do-check-parallel-racy): New rule.
11003 (check-racy/%.exp): Likewise.
11004 * README (Racy testcases): New section.
11005 * analyze-racy-logs.py: New file.
11006
11007 2016-03-03 Doug Evans <dje@google.com>
11008
11009 * gdb.base/skip.exp: Use with_test_prefix.
11010
11011 2016-03-03 Yao Qi <yao.qi@linaro.org>
11012
11013 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
11014 Invoke step_over_syscall "clone" and break_cond_on_syscall
11015 "clone".
11016 * gdb.base/step-over-clone.c: New file.
11017
11018 2016-03-03 Yao Qi <yao.qi@linaro.org>
11019
11020 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
11021 code format.
11022
11023 2016-03-03 Yao Qi <yao.qi@linaro.org>
11024
11025 * gdb.base/disp-step-fork.c: Rename to ...
11026 * gdb.base/step-over-fork.c: ... it. New file.
11027 * gdb.base/disp-step-vfork.c: Rename to ...
11028 * gdb.base/step-over-vfork.c: ... it. New file.
11029 * gdb.base/disp-step-syscall.exp: Rename to ...
11030 * gdb.base/step-over-syscall.exp: ... it. New file.
11031 (disp_step_cross_syscall): Rename to ...
11032 (step_over_syscall): ... it.
11033
11034 2016-03-03 Yao Qi <yao.qi@linaro.org>
11035
11036 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
11037 If target supports condition evaluation on target, invoke
11038 break_cond_on_syscall for fork and vfork.
11039
11040 2016-03-03 Yao Qi <yao.qi@linaro.org>
11041
11042 * gdb.base/disp-step-syscall.exp: Don't invoke
11043 support_displaced_stepping.
11044 (disp_step_cross_syscall): Test with displaced stepping off and
11045 on if supported.
11046
11047 2016-03-03 Yao Qi <yao.qi@linaro.org>
11048
11049 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
11050 proc.
11051 (setup): New proc.
11052 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
11053 and setup.
11054
11055 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11056
11057 * gdb.fortran/vla-history.exp: Remove breakpoint.
11058
11059 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11060
11061 * gdb.fortran/vla-history.exp: Lookup array elements and printing
11062 exceeds timeout.
11063
11064 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11065
11066 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
11067 breakpoint.
11068
11069 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11070
11071 * gdb.mi/vla.f90: Nullify pointer after declaration.
11072
11073 2016-03-01 Pedro Alves <palves@redhat.com>
11074
11075 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
11076
11077 2016-03-01 Pedro Alves <palves@redhat.com>
11078
11079 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
11080 before anything else.
11081 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
11082 _GNU_SOURCE here.
11083 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
11084 before anything else.
11085 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
11086
11087 2016-03-01 Pedro Alves <palves@redhat.com>
11088
11089 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
11090
11091 2016-03-01 Yao Qi <yao.qi@linaro.org>
11092
11093 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
11094 prepare_for_testing.
11095
11096 2016-03-01 Yao Qi <yao.qi@linaro.org>
11097
11098 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
11099
11100 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
11101
11102 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
11103 manually constructing the output path.
11104
11105 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
11106
11107 * gdb.arch/s390-stackless.S: New.
11108 * gdb.arch/s390-stackless.exp: New.
11109
11110 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
11111
11112 * gdb.dlang/circular.c: New file.
11113 * gdb.dlang/circular.exp: New file.
11114
11115 2016-02-26 Yao Qi <yao.qi@linaro.org>
11116
11117 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
11118 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
11119 (testcases): Update.
11120
11121 2016-02-26 Yao Qi <yao.qi@linaro.org>
11122
11123 * gdb.reverse/aarch64.c: Rename to ...
11124 * gdb.reverse/insn-reverse.c: ... it.
11125 * gdb.reverse/aarch64.exp: Rename to ...
11126 * gdb.reverse/insn-reverse.exp: ... it.
11127
11128 2016-02-26 Yao Qi <yao.qi@linaro.org>
11129
11130 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
11131 (testcase_ftype): New.
11132 (testcases): New array.
11133 (n_testcases): New.
11134 (main): Call each element in testcases.
11135 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
11136 (read_testcase): New.
11137 Do the tests in a loop.
11138
11139 2016-02-25 Yao Qi <yao.qi@linaro.org>
11140
11141 * gdb.base/branches.c: Remove.
11142
11143 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11144
11145 PR gdb/13808
11146 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
11147
11148 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11149
11150 * gdb.trace/ftrace.exp: Remove unnecessary target check.
11151
11152 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11153
11154 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
11155 change x86_64 call_insn to 'callq'.
11156
11157 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
11158
11159 * gdb.trace/tfile-avx.c: Move to...
11160 * gdb.trace/tracefile-pseudo-reg.c: Here.
11161 * gdb.trace/tfile-avx.exp: Move to...
11162 * gdb.trace/tracefile-pseudo-reg.exp: Here.
11163
11164 2016-02-24 Gary Benson <gbenson@redhat.com>
11165
11166 * gdb.base/attach-pie-noexec.exp: Do not expect an error
11167 message on attach.
11168
11169 2016-02-23 Doug Evans <dje@google.com>
11170
11171 * gdb.base/skip.c (test_skip): New function.
11172 (end_test_skip_file_and_function): New function.
11173 (test_skip_file_and_function): New function.
11174 * gdb.base/skip1.c (test_skip): New function.
11175 (skip1_test_skip_file_and_function): New function.
11176 * gdb.base/skip.exp: Add tests for new skip options.
11177 * gdb.base/skip-solib.exp: Update expected output.
11178 * gdb.perf/skip-command.cc: New file.
11179 * gdb.perf/skip-command.exp: New file.
11180 * gdb.perf/skip-command.py: New file.
11181
11182 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
11183
11184 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
11185 info registers pattern.
11186
11187 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
11188
11189 * lib/future.exp: Add D support.
11190 (gdb_find_gdc): New proc.
11191 (gdb_default_target_compile): Add D support.
11192
11193 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
11194
11195 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
11196 user+system time.
11197 (trace_speed_test): Determine the iteration count for a time
11198 between 15..30 seconds.
11199
11200 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
11201
11202 * gdb.arch/i386-mpx-sigsegv.c: New file.
11203 * gdb.arch/i386-mpx-sigsegv.exp: New file.
11204 * gdb.arch/i386-mpx-simple_segv.c: New file.
11205 * gdb.arch/i386-mpx-simple_segv.exp: New file.
11206
11207 2016-02-18 Yao Qi <yao.qi@linaro.org>
11208
11209 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
11210 Don't call setup_kfail.
11211
11212 2016-02-18 Yao Qi <yao.qi@linaro.org>
11213
11214 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
11215 Set "set breakpoint condition-evaluation" per $cond_bp_target.
11216
11217 2016-02-16 Doug Evans <dje@google.com>
11218
11219 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
11220 * gdb.base/skip1.c: Ditto.
11221 * gdb.base/skip.exp: Whitespace cleanup.
11222
11223 2016-02-16 Don Breazeal <donb@codesourcery.com>
11224
11225 PR remote/19496
11226 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
11227 Remove kfail for PR remote/19496.
11228
11229 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
11230
11231 * lib/gdb.exp (standard_temp_file): Return a path specific to
11232 the runtest invocation.
11233
11234 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
11235
11236 * gdb.trace/save-trace.exp: Change relative path to be in the
11237 standard output directory.
11238
11239 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11240
11241 * gdb.arch/i386-prologue.c: Add missing prototypes.
11242
11243 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11244
11245 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
11246 * gdb.arch/i386-prologue.exp: Likewise.
11247 * gdb.arch/i386-size.exp: Likewise.
11248
11249 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
11250
11251 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
11252 define object file path.
11253 * gdb.btrace/gcore.exp: Use standard_output_file to define core
11254 file path.
11255 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
11256 standard_output_file to define binfile.
11257
11258 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11259
11260 Fix compatibility with recent gfortran-5.3.1.
11261 * gdb.fortran/vla-history.exp (print vla1 allocated)
11262 (print vla2 allocated, print $2, print $3): Remove
11263 (print $4): Rename to ...
11264 (print $2): ... here.
11265 (print $9): Rename to ...
11266 (print $5): ... here.
11267 (print $10): Rename to ...
11268 (print $6): ... here.
11269 * gdb.fortran/vla.f90: Add pvla initialization.
11270
11271 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11272
11273 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
11274 New test.
11275 * gdb.fortran/vla-value-sub.exp: Likewise.
11276
11277 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
11278
11279 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
11280
11281 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
11282
11283 * i386-biarch-core.exp: Define corefile using
11284 standard_output_file.
11285
11286 2016-02-12 Yao Qi <yao.qi@linaro.org>
11287
11288 * gdb.arch/arm-single-step-kernel-helper.c: New.
11289 * gdb.arch/arm-single-step-kernel-helper.exp: New.
11290
11291 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
11292
11293 * gdb.btrace/tailcall-only.exp: New.
11294 * gdb.btrace/tailcall-only.c: New.
11295 * gdb.btrace/x86_64-tailcall-only.S: New.
11296 * gdb.btrace/i686-tailcall-only.S: New.
11297
11298 2016-02-11 Pedro Alves <palves@redhat.com>
11299
11300 * README (Parallel testing): Add missing double quotes.
11301
11302 2016-02-11 Pedro Alves <palves@redhat.com>
11303
11304 * README (Parallel testing): New section.
11305 (GDB_PARALLEL): Rewrite.
11306 (FORCE_PARALLEL): Document.
11307
11308 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
11309
11310 * gdb.trace/tfile-avx.c: New test.
11311 * gdb.trace/tfile-avx.exp: New test.
11312
11313 2016-02-09 Keith Seitz <keiths@redhat.com>
11314
11315 PR breakpoints/19546
11316 * gdb.base/infcall-exec.c: New file.
11317 * gdb.base/infcall-exec2.c: New file.
11318 * gdb.base/infcall-exec.exp: New file.
11319
11320 2016-02-09 Keith Seitz <keiths@redhat.com>
11321
11322 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
11323 (toplevel): Call test_bkpt_address.
11324
11325 2016-02-09 Keith Seitz <keiths@redhat.com>
11326
11327 PR python/19506
11328 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
11329 (toplevel): Call test_bkpt_address.
11330
11331 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
11332
11333 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
11334 to AC_OUTPUT.
11335 * configure: Regenerate.
11336
11337 2016-02-09 Pedro Alves <palves@redhat.com>
11338
11339 PR breakpoints/19548
11340 * gdb.base/execl-update-breakpoints.c (some_function): New
11341 function.
11342 (main): Call it.
11343 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
11344 Tighten expected GDB output.
11345
11346 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
11347
11348 * Makefile.in (ALL_SUBDIRS): Remove.
11349 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
11350 (distclean maintainer-clean realclean): Likewise.
11351 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
11352 * configure: Regenerate.
11353 * gdb.ada/Makefile.in: Delete.
11354 * gdb.arch/Makefile.in: Likewise.
11355 * gdb.asm/Makefile.in: Likewise.
11356 * gdb.base/Makefile.in: Likewise.
11357 * gdb.btrace/Makefile.in: Likewise.
11358 * gdb.cell/Makefile.in: Likewise.
11359 * gdb.compile/Makefile.in: Likewise.
11360 * gdb.cp/Makefile.in: Likewise.
11361 * gdb.disasm/Makefile.in: Likewise.
11362 * gdb.dlang/Makefile.in: Likewise.
11363 * gdb.dwarf2/Makefile.in: Likewise.
11364 * gdb.fortran/Makefile.in: Likewise.
11365 * gdb.gdb/Makefile.in: Likewise.
11366 * gdb.go/Makefile.in: Likewise.
11367 * gdb.guile/Makefile.in: Likewise.
11368 * gdb.java/Makefile.in: Likewise.
11369 * gdb.linespec/Makefile.in: Likewise.
11370 * gdb.mi/Makefile.in: Likewise.
11371 * gdb.modula2/Makefile.in: Likewise.
11372 * gdb.multi/Makefile.in: Likewise.
11373 * gdb.objc/Makefile.in: Likewise.
11374 * gdb.opencl/Makefile.in: Likewise.
11375 * gdb.opt/Makefile.in: Likewise.
11376 * gdb.pascal/Makefile.in: Likewise.
11377 * gdb.perf/Makefile.in: Likewise.
11378 * gdb.python/Makefile.in: Likewise.
11379 * gdb.reverse/Makefile.in: Likewise.
11380 * gdb.server/Makefile.in: Likewise.
11381 * gdb.stabs/Makefile.in: Likewise.
11382 * gdb.threads/Makefile.in: Likewise.
11383 * gdb.trace/Makefile.in: Likewise.
11384 * gdb.xml/Makefile.in: Likewise.
11385 * lib/gdb.exp (make_gdb_parallel_path): Add check for
11386 GDB_PARALLEL.
11387 (standard_output_file): Remove check for GDB_PARALLEL, always
11388 return path in outputs/$subdir/$testname.
11389
11390 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
11391
11392 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
11393 (site.exp): Assign abs_srcdir to tcl's srcdir.
11394
11395 2016-02-04 Yao Qi <yao.qi@linaro.org>
11396
11397 * gdb.base/foll-exec-mode.c: Include limits.h.
11398 (main): Add parameters argc and argv. Get directory from
11399 argv[0].
11400 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
11401 compilation.
11402 * gdb.base/foll-exec.c: Include limits.h.
11403 (main): Add parameters argc and argv.
11404 Get directory from argv[0].
11405 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
11406 Adjust tests on the number of lines as source code changed.
11407 * gdb.base/foll-vfork-exit.c: Include limits.h.
11408 (main): Add one line of statement before vfork.
11409 * gdb.base/foll-vfork.c: Include limits.h and string.h.
11410 (main): Add parameters argc and argv. Get directory from
11411 argv[0].
11412 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
11413 (setup_gdb): Set tbreak to skip some source lines.
11414 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
11415 (main): Add parameters argc and argv. Get directory from
11416 argv[0].
11417 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
11418 compilation.
11419 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
11420 (main): Add parameters argc and argv. Get directory from
11421 argv[0].
11422 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
11423 compilation.
11424
11425 2016-02-01 Doug Evans <dje@google.com>
11426
11427 * gdb.base/skip.exp: Clean up multiple references to same test name.
11428
11429 2016-02-01 Pedro Alves <palves@redhat.com>
11430
11431 PR remote/19496
11432 * gdb.threads/forking-threads-plus-breakpoint.exp
11433 (displaced_stepping_supported): New global.
11434 (probe_displaced_stepping_support): New procedure.
11435 (do_test): Add 'displaced' parameter, and use it.
11436 (top level): Check for displaced stepping support. Add displaced
11437 stepping on/off testing axis.
11438
11439 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
11440
11441 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
11442 pointer. Don't perform further tests on the unassociated pointer
11443 if the first test fails.
11444
11445 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
11446
11447 * gdb.base/max-value-size.c: New file.
11448 * gdb.base/max-value-size.exp: New file.
11449 * gdb.base/huge.exp: Disable max-value-size for this test.
11450
11451 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
11452
11453 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
11454
11455 2016-01-28 Yao Qi <yao.qi@linaro.org>
11456
11457 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
11458
11459 2016-01-25 Pedro Alves <palves@redhat.com>
11460
11461 PR threads/19461
11462 * gdb.base/fork-running-state.c: New file.
11463 * gdb.base/fork-running-state.exp: New file.
11464
11465 2016-01-25 Pedro Alves <palves@redhat.com>
11466
11467 PR gdb/19494
11468 * gdb.base/catch-fork-kill.c: New file.
11469 * gdb.base/catch-fork-kill.exp: New file.
11470
11471 2016-01-25 Pedro Alves <palves@redhat.com>
11472
11473 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
11474 Delete, moved to lib/gdb.exp.
11475 * gdb.threads/forking-threads-plus-breakpoint.exp
11476 (foreach_with_prefix): Likewise.
11477 * gdb.threads/process-dies-while-handling-bp.exp
11478 (foreach_with_prefix): Likewise.
11479 * lib/gdb.exp (foreach_with_prefix): New procedure.
11480
11481 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
11482
11483 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
11484 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
11485
11486 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
11487
11488 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
11489 endian targets.
11490
11491 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11492 Pedro Alves <palves@redhat.com>
11493
11494 Fix testsuite compatibility with Guile.
11495 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
11496 number.
11497
11498 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11499
11500 Fix testsuite compatibility with Guile.
11501 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
11502 (thread 1): New test for backtrace through signal handler.
11503
11504 2016-01-22 Yao Qi <yao.qi@linaro.org>
11505
11506 PR testsuite/19491
11507 * gdb.base/multi-forks.c: Include
11508 ../lib/unbuffer_output.c
11509 (main): Call gdb_unbuffer_output.
11510
11511 2016-01-21 Doug Evans <dje@google.com>
11512
11513 * lib/ada.exp (gdb_compile_ada): Fix typo.
11514
11515 2016-01-21 Joel Brobecker <brobecker@adacore.com>
11516
11517 * gdb.base/break-fun-addr.exp: New file.
11518 * gdb.base/break-fun-addr1.c: New file.
11519 * gdb.base/break-fun-addr2.c: New file.
11520
11521 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
11522
11523 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
11524 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
11525 enum flag values.
11526
11527 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11528
11529 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
11530 when GDB can not set the vector return value. Add more comments
11531 for clarification.
11532
11533 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
11534
11535 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
11536 command.
11537
11538 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11539
11540 * Makefile.in (DO_RUNTEST): Add --status and update usages.
11541
11542 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11543
11544 * Makefile.in (check-single): Pass --status to runtest.
11545 (check/%.exp): Likewise.
11546
11547 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11548
11549 * Makefile.in (check-parallel): Propagate return code from make
11550 do-check-parallel.
11551
11552 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
11553
11554 * gdb.trace/ftrace.exp: Fix expected message on continue.
11555 * gdb.trace/pending.exp: Fix expected message on continue.
11556 * gdb.trace/trace-break.exp: Fix expected message on continue.
11557
11558 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
11559
11560 * lib/gdb.exp (gdb_test): Remove unused global references.
11561
11562 2016-01-18 Pedro Alves <palves@redhat.com>
11563
11564 * gdb.base/async-shell.exp: Adjust expected output.
11565 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
11566 * gdb.base/siginfo-thread.exp: Adjust expected output.
11567 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
11568 * gdb.java/jnpe.exp: Adjust expected output.
11569 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
11570 * gdb.threads/continue-pending-status.exp: Adjust expected output.
11571 * gdb.threads/leader-exit.exp: Adjust expected output.
11572 * gdb.threads/manythreads.exp: Adjust expected output.
11573 * gdb.threads/pthreads.exp: Adjust expected output.
11574 * gdb.threads/schedlock.exp: Adjust expected output.
11575 * gdb.threads/siginfo-threads.exp: Adjust expected output.
11576 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
11577 expected output.
11578 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
11579 output.
11580 * gdb.threads/sigthread.exp: Adjust expected output.
11581 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
11582
11583 2016-01-18 Yao Qi <yao.qi@linaro.org>
11584
11585 * gdb.guile/scm-section-script.c: Replace @progbits with
11586 %progbits.
11587 * gdb.python/py-section-script.c: Likewise.
11588
11589 2016-01-15 Pedro Alves <palves@redhat.com>
11590
11591 * gdb.multi/tids.exp: Test star wildcard ranges.
11592
11593 2016-01-15 Pedro Alves <palves@redhat.com>
11594
11595 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
11596 command from "thread apply" invocation.
11597 (thr_apply_info_thr_invalid): Default the expected output to the
11598 input tid list.
11599 (top level): Add tests that use convenience variables. Add tests
11600 for "thread apply" with a valid TID list, but missing the command.
11601
11602 2016-01-13 Pedro Alves <palves@redhat.com>
11603
11604 * gdb.base/default.exp: Expect $_gthread as well.
11605 * gdb.multi/tids.exp: Test $_gthread.
11606 * gdb.threads/thread-specific.exp: Test $_gthread.
11607
11608 2016-01-13 Pedro Alves <palves@redhat.com>
11609
11610 * gdb.multi/tids.exp: Test "info threads -gid".
11611
11612 2016-01-13 Pedro Alves <palves@redhat.com>
11613
11614 * gdb.multi/tids.exp: Test InferiorThread.global_num and
11615 Breakpoint.thread.
11616 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
11617
11618 2016-01-07 Pedro Alves <palves@redhat.com>
11619
11620 * gdb.base/break.exp: Adjust to output changes.
11621 * gdb.base/hbreak2.exp: Likewise.
11622 * gdb.base/sepdebug.exp: Likewise.
11623 * gdb.base/watch_thread_num.exp: Likewise.
11624 * gdb.linespec/keywords.exp: Likewise.
11625 * gdb.multi/info-threads.exp: Likewise.
11626 * gdb.threads/thread-find.exp: Likewise.
11627 * gdb.multi/tids.c: New file.
11628 * gdb.multi/tids.exp: New file.
11629
11630 2016-01-13 Pedro Alves <palves@redhat.com>
11631
11632 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
11633
11634 2016-01-13 Pedro Alves <palves@redhat.com>
11635
11636 * gdb.base/default.exp: Expect $_inferior as well.
11637 * gdb.multi/base.exp: Test $_inferior.
11638
11639 2016-01-13 Pedro Alves <palves@redhat.com>
11640
11641 PR breakpoints/19388
11642 * gdb.base/catch-signal-siginfo-cond.c: New file.
11643 * gdb.base/catch-signal-siginfo-cond.exp: New file.
11644
11645 2016-01-12 Josh Stone <jistone@redhat.com>
11646 Philippe Waroquiers <philippe.waroquiers@skynet.be>
11647
11648 * gdb.base/catch-syscall.c (do_execve): New variable.
11649 (main): Conditionally trigger an execve.
11650 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
11651 (test_catch_syscall_execve): New, check entry/return across execve.
11652 (do_syscall_tests): Call test_catch_syscall_execve.
11653
11654 2016-01-12 Pedro Alves <palves@redhat.com>
11655
11656 * gdb.base/random-signal.exp (do_test): New procedure, with body
11657 of testcase moved in.
11658
11659 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11660 Pedro Alves <palves@redhat.com>
11661
11662 * gdb.base/funcargs.exp (finish from indirectly called function):
11663 Reintroduce the case for 'First'.
11664
11665 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11666 Pedro Alves <palves@redhat.com>
11667
11668 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
11669 (tcatch_vfork_then_child_follow_exec)
11670 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
11671 identification.
11672
11673 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11674
11675 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
11676 and repeats to unlimited.
11677 * gdb.python/py-value.exp: Likewise.
11678 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
11679 and repeats to unlimited.
11680
11681 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11682
11683 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
11684 and reordering the functions.
11685 * gdb.multi/hangout.c: Likewise.
11686 * gdb.multi/hello.c: Likewise.
11687
11688 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
11689
11690 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
11691 absolute.
11692 (SingleStatisticTestResult.report): Use dict.keys instead of
11693 dict.iterkeys.
11694
11695 2016-01-06 Pedro Alves <palves@redhat.com>
11696
11697 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
11698
11699 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
11700
11701 * gdb.btrace/dlopen.exp: New.
11702 * gdb.btrace/dlopen.c: New.
11703 * gdb.btrace/dlopen-dso.c: New.
11704
11705 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
11706
11707 * lib/gdb.exp (gdb_test): Update comments to clarify that the
11708 PATTERN argument is optional.
11709
11710 2015-12-24 Joel Brobecker <brobecker@adacore.com>
11711
11712 * lib/ada.exp (target_compile_ada_from_dir): New function.
11713 (gdb_compile_ada): Reimplement avoiding the use of project files.
11714 * gdb.ada/gnat_ada.gpr: Delete.
11715 * gdb.ada/cond_lang.exp: Adjust test to make path before
11716 filename optional.
11717 * gdb.ada/small_reg_param.exp: Likewise.
11718
11719 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
11720
11721 * gdb.base/foll-vork.exp: Remove HP-UX special case.
11722
11723 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
11724
11725 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
11726 case.
11727
11728 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
11729
11730 * gdb.base/break.exp: Remove dead code.
11731 * gdb.base/sepdebug.exp: Likewise.
11732
11733 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
11734
11735 * gdb.asm/asm-source.exp: Remove HP-UX references.
11736 * gdb.base/annota1.exp: Likewise.
11737 * gdb.base/annota3.exp: Likewise.
11738 * gdb.base/attach.exp: Likewise.
11739 * gdb.base/bigcore.exp: Likewise.
11740 * gdb.base/break.exp: Likewise.
11741 * gdb.base/call-ar-st.exp: Likewise.
11742 * gdb.base/callfuncs.exp: Likewise.
11743 * gdb.base/catch-fork-static.exp: Likewise.
11744 * gdb.base/display.exp: Likewise.
11745 * gdb.base/foll-exec-mode.exp: Likewise.
11746 * gdb.base/foll-exec.exp: Likewise.
11747 * gdb.base/foll-fork.exp: Likewise.
11748 * gdb.base/foll-vfork.exp: Likewise.
11749 * gdb.base/funcargs.exp: Likewise.
11750 * gdb.base/hbreak2.exp: Likewise.
11751 * gdb.base/inferior-died.exp: Likewise.
11752 * gdb.base/interrupt.exp: Likewise.
11753 * gdb.base/multi-forks.exp: Likewise.
11754 * gdb.base/nodebug.exp: Likewise.
11755 * gdb.base/sepdebug.exp: Likewise.
11756 * gdb.base/solib1.c: Likewise.
11757 * gdb.base/step-test.exp: Likewise.
11758 * gdb.mi/non-stop.c: Likewise.
11759 * gdb.mi/pthreads.c: Likewise.
11760 * gdb.multi/bkpt-multi-exec.ex: Likewise.
11761 * gdb.threads/pthreads.c: Likewise.
11762 * gdb.threads/staticthreads.exp: Likewise.
11763 * lib/future.exp: Likewise.
11764 * lib/gdb.exp: Likewise.
11765 * gdb.base/so-indr-cl.c: Remove.
11766 * gdb.base/so-indr-cl.exp: Likewise.
11767 * gdb.base/solib.c: Likewise.
11768 * gdb.base/solib.exp: Likewise.
11769 * gdb.base/solib2.c: Likewise.
11770
11771 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
11772
11773 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
11774 * gdb.base/call-ar-st.exp: Likewise.
11775 * gdb.base/callfuncs.exp: Likewise.
11776 * gdb.base/condbreak.exp: Likewise.
11777 * gdb.base/constvars.exp: Likewise.
11778 * gdb.base/hbreak2.exp: Likewise.
11779 * gdb.base/langs.exp: Likewise.
11780 * gdb.base/list.exp: Likewise.
11781 * gdb.base/long_long.exp: Likewise.
11782 * gdb.base/ptype.exp: Likewise.
11783 * gdb.base/scope.exp: Likewise.
11784 * gdb.base/signals.exp: Likewise.
11785 * gdb.base/so-impl-ld.exp: Likewise.
11786 * gdb.base/varargs.exp: Likewise.
11787 * gdb.base/volatile.exp: Likewise.
11788 * gdb.base/whatis.exp: Likewise.
11789 * gdb.cp/cplusfuncs.exp: Likewise.
11790 * gdb.cp/inherit.exp: Likewise.
11791 * gdb.cp/local.exp: Likewise.
11792 * gdb.cp/member-ptr.exp: Likewise.
11793 * gdb.cp/method.exp: Likewise.
11794 * gdb.cp/overload.exp: Likewise.
11795 * gdb.cp/templates.exp: Likewise.
11796 * gdb.stabs/weird.exp: Likewise.
11797 * lib/compiler.c: Likewise.
11798 * lib/compiler.cc: Likewise.
11799 * lib/cp-support.exp: Likewise.
11800 * lib/gdb.exp: Likewise.
11801
11802 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
11803
11804 * configure.ac: Remove HP-UX case.
11805 * configure: Regenerate.
11806
11807 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
11808
11809 * lib/gdb.exp (gdb_compile): Add function doc.
11810
11811 2015-12-17 Pedro Alves <palves@redhat.com>
11812
11813 PR threads/19354
11814 * gdb.multi/info-threads.exp: New file.
11815
11816 2015-12-15 Yao Qi <yao.qi@linaro.org>
11817
11818 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
11819 is aarch64*-*-*.
11820
11821 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11822
11823 * gdb.base/history-duplicates.exp: Skip if no readline support.
11824
11825 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11826
11827 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
11828
11829 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11830
11831 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
11832
11833 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11834
11835 * gdb.base/completion.exp: Skip tests that interrupt GDB with
11836 ctrl-C if nointerrupts target property is set.
11837 * gdb.base/double-prompt-target-event-error.exp: Likewise.
11838 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
11839 * gdb.base/paginate-bg-execution.exp: Likewise.
11840 * gdb.base/paginate-execution-startup.exp: Likewise.
11841 * gdb.base/random-signal.exp: Likewise.
11842 * gdb.base/range-stepping.exp: Likewise.
11843 * gdb.cp/annota2.exp: Likewise.
11844 * gdb.cp/annota3.exp: Likewise.
11845 * gdb.gdb/selftest.exp: Likewise.
11846 * gdb.threads/continue-pending-status.exp: Likewise.
11847 * gdb.threads/leader-exit.exp: Likewise.
11848 * gdb.threads/manythreads.exp: Likewise.
11849 * gdb.threads/pthreads.exp: Likewise.
11850 * gdb.threads/schedlock.exp: Likewise.
11851 * gdb.threads/sigthread.exp: Likewise.
11852
11853 2015-12-11 Don Breazeal <donb@codesourcery.com>
11854
11855 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
11856 remote.
11857 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
11858 * gdb.base/foll-exec.exp (main): Enable for target remote.
11859 * gdb.base/foll-fork.exp (main): Likewise.
11860 * gdb.base/foll-vfork.exp (main): Likewise.
11861 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
11862 (proc continue_to_exit_bp_loc): Use clean_restart.
11863 * gdb.base/pie-execl.exp (main): Disable for target remote.
11864 * gdb.base/watch-vfork.exp (main): Enable for target remote.
11865 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
11866 * gdb.threads/execl.exp (main): Likewise.
11867 * gdb.threads/fork-child-threads.exp (main): Likewise.
11868 * gdb.threads/fork-plus-threads.exp (main): Disable for target
11869 remote.
11870 * gdb.threads/fork-thread-pending.exp (main): Enable for target
11871 remote.
11872 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
11873 pid.tid style ptids, instead of just tid.
11874 * gdb.threads/thread-execl.exp (main): Enable for target remote.
11875 * gdb.threads/watchpoint-fork.exp (main): Likewise.
11876 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
11877 ptids, instead of just tid.
11878
11879 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11880
11881 * gdb.base/list.exp (test_list_forward): Add end of file error
11882 test.
11883 (test_repeat_list_command): Add end of file error test.
11884 (test_list_backwards): Add beginning of file error test.
11885
11886 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11887
11888 * gdb.base/list.exp (test_list_invalid_args): New function,
11889 defined, and called.
11890
11891 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11892
11893 * gdb.base/list.exp (test_list): Make test names unique.
11894
11895 2015-12-11 Yao Qi <yao.qi@linaro.org>
11896
11897 * gdb.base/coremaker2.c: Remove.
11898
11899 2015-12-10 Pedro Alves <palves@redhat.com>
11900
11901 * gdb.multi/base.exp: Remove stale "spaces" references.
11902
11903 2015-12-10 Pedro Alves <palves@redhat.com>
11904
11905 * gdb.multi/base.exp: Don't use nowarnings.
11906 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
11907 * gdb.multi/hangout.c: Include stdio.h.
11908 * gdb.multi/hello.c: Include stdlib.h.
11909 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
11910 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
11911 * gdb.multi/multi-arch.exp: Don't use nowarnings.
11912
11913 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
11914
11915 * gdb.dwarf2/dw2-ranges-base.c: New file.
11916 * gdb.dwarf2/dw2-ranges-base.exp: New file.
11917 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
11918 support additional line table, and debug ranges generation.
11919 (Dwarf::ranges): New function, generate .debug_ranges.
11920 (Dwarf::lines): Support generating simple line table programs.
11921 (Dwarf::assemble): Initialise new namespace variables.
11922
11923 2015-12-09 Kevin Buettner <kevinb@redhat.com>
11924
11925 * gdb.base/async.exp (proc test_background): Add case for
11926 asynchronous execution not supported.
11927
11928 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
11929
11930 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
11931 format and change test names to make them unique.
11932
11933 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
11934 Pedro Alves <pedro@redhat.com>
11935
11936 PR gdb/18702
11937 Add checking of floatformats setup on x86_64 hosts.
11938 * gdb.arch/i386-float.S (main): Load bigval and smallval.
11939 (smallval, bigval): New labels/constants.
11940 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
11941 float" after loading bigval and smallval.
11942
11943 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
11944
11945 * gdb.ada/fun_overload_menu.exp: New testcase.
11946 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
11947
11948 2015-12-04 Josh Stone <jistone@redhat.com>
11949
11950 * gdb.base/catch-fork-static.exp: New.
11951
11952 2015-12-03 Yao Qi <yao.qi@linaro.org>
11953
11954 * gdb.base/sizeof.c: Don't include stdio.h and
11955 ../lib/unbuffer_output.c.
11956 (main): New variable 'size' and 'value'. Remove printf and
11957 gdb_unbuffer_output. Assign return value to size and value.
11958 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
11959 at the beginning.
11960 (check_sizeof): Check the result by printing variable 'size'.
11961 (check_valueof): Check the result by printing variable 'value'.
11962
11963 2015-12-01 Yao Qi <yao.qi@linaro.org>
11964
11965 * gdb.base/disp-step-syscall.exp: Define syscall instruction
11966 for aarch64*-*-linux* target.
11967
11968 2015-11-30 Pedro Alves <palves@redhat.com>
11969
11970 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
11971
11972 2015-11-30 Pedro Alves <palves@redhat.com>
11973
11974 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
11975 Handle non-stop mode vCont replies.
11976
11977 2015-11-30 Pedro Alves <palves@redhat.com>
11978
11979 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
11980 prepare_for_testing. Start gdb with "set non-stop on" appended to
11981 GDBFLAGS. Lax expected stop output.
11982
11983 2015-11-27 Yao Qi <yao.qi@linaro.org>
11984
11985 * gdb.arch/arm-neon.exp: New.
11986 * gdb.arch/arm-neon.c: New.
11987
11988 2015-11-27 Yao Qi <yao.qi@linaro.org>
11989
11990 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
11991
11992 2015-11-27 Yao Qi <yao.qi@linaro.org>
11993
11994 * gdb.cp/annota2.exp: Allow multiple occurrences of the
11995 frames-invalid annotation.
11996
11997 2015-11-27 Yao Qi <yao.qi@linaro.org>
11998
11999 * gdb.cp/annota2.exp: Use ${frames_invalid}.
12000
12001 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
12002
12003 * gdb.threads/names.exp: New file.
12004 * gdb.threads/names.c: New file.
12005 * README: Mention gdb,no_thread_names.
12006
12007 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
12008
12009 PR 19297
12010 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
12011 support" error.
12012
12013 2015-11-24 Pedro Alves <palves@redhat.com>
12014
12015 PR 17539
12016 * gdb.base/display.exp: Expect displays to be sorted in ascending
12017 order. Use multi_line.
12018 * gdb.base/solib-display.exp: Likewise.
12019
12020 2015-11-24 Pedro Alves <palves@redhat.com>
12021
12022 PR 17539
12023 * gdb.base/display.exp: Expect displays to be sorted in ascending
12024 order. Use multi_line.
12025 * gdb.base/solib-display.exp: Likewise.
12026
12027 2015-11-24 Pedro Alves <palves@redhat.com>
12028
12029 PR 17539
12030 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
12031 threads in ascending order.
12032 * gdb.base/foll-fork.exp: Likewise.
12033 * gdb.base/foll-vfork.exp: Likewise.
12034 * gdb.base/multi-forks.exp: Likewise.
12035 * gdb.mi/mi-nonstop.exp: Likewise.
12036 * gdb.mi/mi-nsintrall.exp: Likewise.
12037 * gdb.multi/base.exp: Likewise.
12038 * gdb.multi/multi-arch.exp: Likewise.
12039 * gdb.python/py-inferior.exp: Likewise.
12040 * gdb.threads/break-while-running.exp: Likewise.
12041 * gdb.threads/execl.exp: Likewise.
12042 * gdb.threads/gcore-thread.exp: Likewise.
12043 * gdb.threads/info-threads-cur-sal.exp: Likewise.
12044 * gdb.threads/kill.exp: Likewise.
12045 * gdb.threads/linux-dp.exp: Likewise.
12046 * gdb.threads/multiple-step-overs.exp: Likewise.
12047 * gdb.threads/next-bp-other-thread.exp: Likewise.
12048 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
12049 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
12050 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
12051 * gdb.threads/thread-find.exp: Likewise.
12052 * gdb.threads/tls.exp: Likewise.
12053 * lib/mi-support.exp (mi_reverse_list): Delete.
12054 (mi_check_thread_states): No longer reverse list.
12055
12056 2015-11-24 Pedro Alves <palves@redhat.com>
12057
12058 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
12059 use lowercase.
12060
12061 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
12062
12063 * gdb.trace/actions.c: Include trace-common.h.
12064 (main): Add a location for a fast tracepoint.
12065 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
12066 the normal tracepoints.
12067 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
12068
12069 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
12070
12071 * save-trace.exp: Factor out code to these...
12072 (gdb_save_tracepoints): New.
12073 (gdb_load_tracepoints): New.
12074 (do_save_load_test): New.
12075
12076 2015-11-23 Kevin Buettner <kevinb@redhat.com>
12077
12078 * gdb.base/asmlabel.exp: New test.
12079 * gdb.base/asmlabel.c: New test case.
12080
12081 2015-11-23 Joel Brobecker <brobecker@adacore.com>
12082
12083 * gdb.base/wrong_frame_bt_full-main.c: New file.
12084 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
12085 * gdb.base/wrong_frame_bt_full.exp: New file.
12086
12087 2015-11-23 Joel Brobecker <brobecker@adacore.com>
12088
12089 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
12090
12091 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
12092
12093 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
12094 pstate register when comparing registers values in
12095 sparc64-*-linux-gnu targets to avoid spurious differences.
12096
12097 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
12098
12099 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
12100
12101 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
12102
12103 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
12104 as type argument to gdb_compile.
12105 * gdb.base/nested-subp2.exp: Likewise.
12106 * gdb.base/nested-subp3.exp: Likewise.
12107
12108 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
12109
12110 * lib/dwarf.exp (_note): Fix left shift of negative value.
12111 * gdb.trace/trace-condition.exp: Likewise.
12112
12113 2015-11-13 Yao Qi <yao.qi@linaro.org>
12114
12115 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
12116 comments about d10v.
12117 (test_scalar_returns): Likewise.
12118 * gdb.base/d10v.ld: Remove.
12119 * gdb.base/overlays.exp: Remove the target triplet checking for
12120 d10v-*-*.
12121 * gdb.base/structs.exp (test_struct_returns): Remove the
12122 comments about d10v.
12123 (test_struct_calls): Likewise.
12124
12125 2015-11-13 Yao Qi <yao.qi@linaro.org>
12126
12127 * gdb.base/gnu_vector.exp: Check the return value by "p res".
12128 * gdb.base/gnu_vector.c: Don't include stdio.h.
12129 (main): Don't print res and call add_some_intvecs.
12130
12131 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
12132
12133 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
12134 macro.
12135 (func5): Removed.
12136 (func4): Use FAST_TRACEPOINT_LABEL.
12137 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
12138 macro.
12139 (func): Removed.
12140 (thread_function): Use FAST_TRACEPOINT_LABEL.
12141 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
12142 (func): Remove.
12143 (marker): Use FAST_TRACEPOINT_LABEL.
12144 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
12145 (pendfunc1): Remove.
12146 (pendfunc): Use FAST_TRACEPOINT_LABEL.
12147 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
12148 (foo): Remove.
12149 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
12150 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
12151 macro.
12152 (func): Remove.
12153 (marker): Use FAST_TRACEPOINT_LABEL.
12154 * gdb.trace/trace-common.h: New header.
12155 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
12156 macro.
12157 (func): Remove.
12158 (marker): Use FAST_TRACEPOINT_LABEL.
12159 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
12160 (func): Remove.
12161 (thread_function): Use FAST_TRACEPOINT_LABEL.
12162
12163 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
12164
12165 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
12166 in front.
12167 * gdb.trace/change-loc.exp: Use global pcreg definition.
12168 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
12169 * gdb.trace/entry-values.exp: Use global spreg definition, add $
12170 in front.
12171 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
12172 * gdb.trace/pending.exp: Likewise.
12173 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
12174 * gdb.trace/trace-break.exp: Likewise.
12175 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
12176 in front.
12177 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
12178 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
12179 in front.
12180 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
12181
12182 2015-11-09 Joel Brobecker <brobecker@adacore.com>
12183
12184 * gdb.ada/fin_fun_out: New testcase.
12185
12186 2015-11-07 Kevin Buettner <kevinb@redhat.com>
12187
12188 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
12189 value associated with DW_AT_byte_size.
12190 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
12191 constants for DW_AT_byte_size, DW_AT_lower_bound, and
12192 DW_AT_upper_bound.
12193
12194 2015-11-07 Kevin Buettner <kevinb@redhat.com>
12195
12196 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
12197 (gdb_target_symbol_prefix_flags): Define in terms of _asm
12198 version.
12199 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
12200 gdb.dwarf2/dw2-canonicalize-type.exp,
12201 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
12202 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
12203 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
12204 provided by gdb_target_symbol_prefix_flags_asm.
12205 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
12206 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
12207 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
12208 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
12209 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
12210 macros where needed). Use this macro for symbols which require
12211 the prefix provided by SYMBOL_PREFIX.
12212
12213 2015-11-05 Kevin Buettner <kevinb@redhat.com>
12214
12215 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
12216 New procs.
12217 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
12218 representing expressions, of more than one list element.
12219 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
12220 to prepend linker symbol prefix to f.
12221 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
12222 table_1 and table_2.
12223 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
12224 Likewise, for f and g.
12225 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
12226 for ptr.
12227 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
12228 for main.
12229 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
12230 table_1_ptr and table_2_ptr.
12231
12232 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12233 Joel Brobecker <brobecker@adacore.com>
12234
12235 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
12236
12237 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
12238
12239 * gdb.reverse/s390-mvcle.c: New test.
12240 * gdb.reverse/s390-mvcle.exp: New file.
12241 * lib/gdb.exp: Enable reverse tests on s390*-linux.
12242
12243 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
12244
12245 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
12246
12247 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
12248
12249 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
12250 reaching marker2.
12251 * gdb.reverse/getresuid-reverse.exp: Likewise.
12252 * gdb.reverse/pipe-reverse.exp: Likewise.
12253 * gdb.reverse/readv-reverse.exp: Likewise.
12254 * gdb.reverse/recvmsg-reverse.exp: Likewise.
12255 * gdb.reverse/time-reverse.exp: Likewise.
12256 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
12257
12258 2015-10-30 Yao Qi <yao.qi@linaro.org>
12259
12260 * gdb.threads/wp-replication.c (watch_count_done): Remove.
12261 (empty_cycle): Remove.
12262 (main): Don't call empty_cycle. Don't use watch_count_done.
12263 * gdb.threads/wp-replication.exp: Don't set breakpoint on
12264 empty_cycle. Rewrite the code counting HW watchpoints.
12265
12266 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
12267
12268 * gdb.reverse/fstatat-reverse.c: New test.
12269 * gdb.reverse/fstatat-reverse.exp: New file.
12270 * gdb.reverse/getresuid-reverse.c: New test.
12271 * gdb.reverse/getresuid-reverse.exp: New file.
12272 * gdb.reverse/pipe-reverse.c: New test.
12273 * gdb.reverse/pipe-reverse.exp: New file.
12274 * gdb.reverse/readv-reverse.c: New test.
12275 * gdb.reverse/readv-reverse.exp: New file.
12276 * gdb.reverse/recvmsg-reverse.c: New test.
12277 * gdb.reverse/recvmsg-reverse.exp: New file.
12278 * gdb.reverse/time-reverse.c: New test.
12279 * gdb.reverse/time-reverse.exp: New file.
12280 * gdb.reverse/waitpid-reverse.c: New test.
12281 * gdb.reverse/waitpid-reverse.exp: New file.
12282
12283 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
12284
12285 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
12286
12287 2015-10-26 Doug Evans <dje@google.com>
12288
12289 PR symtab/17391
12290 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
12291 * gdb.dwarf2/bad-regnum.c: New file.
12292 * gdb.dwarf2/bad-regnum.exp: New file.
12293
12294 2015-10-26 Doug Evans <dje@google.com>
12295
12296 PR python/18938
12297 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
12298 file.
12299
12300 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12301
12302 * gdb.compile/compile.exp (compile code globalvar): Update expectation
12303 for a change by "Mention language in compile error message".
12304
12305 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
12306
12307 PR python/18073
12308 * gdb.python/py-type.c (C::a_method): New.
12309 (C::a_const_method): New.
12310 (C::a_static_method): New.
12311 (a_function): New.
12312 * gdb.python/py-type.exp (test_fields): Test getting fields
12313 from function and method.
12314
12315 2015-10-21 Keven Boell <keven.boell@intel.com>
12316
12317 * gdb.fortran/vla-alloc-assoc.exp: New file.
12318 * gdb.fortran/vla-datatypes.exp: New file.
12319 * gdb.fortran/vla-datatypes.f90: New file.
12320 * gdb.fortran/vla-history.exp: New file.
12321 * gdb.fortran/vla-ptype-sub.exp: New file.
12322 * gdb.fortran/vla-ptype.exp: New file.
12323 * gdb.fortran/vla-sizeof.exp: New file.
12324 * gdb.fortran/vla-sub.f90: New file.
12325 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
12326 * gdb.fortran/vla-value-sub-finish.exp: New file.
12327 * gdb.fortran/vla-value-sub.exp: New file.
12328 * gdb.fortran/vla-value.exp: New file.
12329 * gdb.fortran/vla-ptr-info.exp: New file.
12330 * gdb.mi/mi-vla-fortran.exp: New file.
12331 * gdb.mi/vla.f90: New file.
12332
12333 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
12334
12335 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
12336 of hardwired timeout value.
12337
12338 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12339 Pedro Alves <palves@redhat.com>
12340
12341 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
12342 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
12343
12344 2015-10-19 Josh Stone <jistone@redhat.com>
12345
12346 * gdb.base/catch-syscall.c: Include <sched.h>.
12347 (unknown_syscall): New variable.
12348 (main): Trigger a vfork and an unknown syscall.
12349 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
12350 (unknown_syscall_number): Likewise.
12351 (check_call_to_syscall): Accept an optional syscall pattern.
12352 (check_return_from_syscall): Likewise.
12353 (check_continue): Likewise.
12354 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
12355 (test_catch_syscall_skipping_return): New test toggling off 'catch
12356 syscall' to step over the syscall return, then toggling back on.
12357 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
12358 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
12359 (do_syscall_tests): Call test_catch_syscall_without_args and
12360 test_catch_syscall_mid_vfork.
12361 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
12362 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
12363
12364 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
12365
12366 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
12367 print g_vE): Add new pass patterns.
12368 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
12369 print various symbol names for vptr fields.
12370
12371 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
12372
12373 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
12374 results.
12375
12376 2015-10-12 Yao Qi <yao.qi@linaro.org>
12377
12378 * gdb.arch/disp-step-insn-reloc.exp: New test case.
12379
12380 2015-10-12 Yao Qi <yao.qi@linaro.org>
12381
12382 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
12383 is aarch64*-*-linux*.
12384
12385 2015-10-12 Yao Qi <yao.qi@linaro.org>
12386
12387 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
12388 (can_relocate_bcond_true): ... it.
12389 (can_relocate_bcond_false): New function.
12390 (foo): Likewise.
12391 (can_relocate_bl): Likewise.
12392 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
12393 can_relocate_bl.
12394
12395 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
12396
12397 * gdb.base/nested-addr.c: New file.
12398 * gdb.base/nested-addr.exp: New testcase.
12399
12400 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
12401
12402 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
12403 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
12404 its output. Ignore the output of "record goto begin" and instead
12405 check that GDB is replaying.
12406
12407 2015-10-09 Pedro Alves <palves@redhat.com>
12408
12409 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
12410 (top level): Use it in the run with no args test.
12411
12412 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
12413
12414 * gdb.dlang/properties.exp: New file.
12415
12416 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
12417
12418 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
12419 whether or not address 0x1000 is mapped on the target.
12420
12421 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
12422
12423 * gdb.python/py-type.exp: Do not run tests if binaries fail to
12424 build.
12425
12426 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
12427
12428 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
12429 instruction-history test.
12430
12431 2015-09-28 Doug Evans <dje@google.com>
12432
12433 * gdb.base/gcore.c (array_func): Add reference to static_array.
12434
12435 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
12436
12437 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
12438 source line.
12439
12440 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
12441
12442 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
12443 short or char as base type.
12444
12445 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
12446
12447 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
12448 to allow any size enum.
12449
12450 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
12451
12452 * gdb.ada/array_ptr_renaming.exp: New testcase.
12453 * gdb.ada/array_ptr_renaming/foo.adb: New file.
12454 * gdb.ada/array_ptr_renaming/pack.ads: New file.
12455
12456 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12457
12458 * gdb.trace/ftrace-lock.c: New file.
12459 * gdb.trace/ftrace-lock.exp: New file.
12460
12461 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12462
12463 * gdb.arch/insn-reloc.c: New file.
12464 * gdb.arch/ftrace-insn-reloc.exp: New file.
12465
12466 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12467
12468 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
12469 instruction.
12470 * gdb.trace/pendshr1.c (pendfunc): Likewise.
12471 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
12472 * gdb.trace/range-stepping.c: Likewise.
12473 * gdb.trace/trace-break.c: Likewise.
12474 * gdb.trace/trace-mt.c (thread_function): Likewise.
12475 * gdb.trace/ftrace.c (marker): Likewise.
12476 * gdb.trace/trace-condition.c (marker): Likewise.
12477 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
12478 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
12479 is_aarch64_target.
12480
12481 2015-09-18 Doug Evans <xdje42@gmail.com>
12482
12483 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
12484 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
12485
12486 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12487
12488 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
12489 the breakpoint.
12490
12491 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12492
12493 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
12494 the pending breakpoint. Remove timeout override for "Run till
12495 MI pending breakpoint on pendfunc3 on thread 2" test.
12496
12497 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12498
12499 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
12500 filename pattern.
12501
12502 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12503
12504 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
12505 in breakpoint filename pattern.
12506
12507 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12508
12509 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
12510
12511 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12512
12513 * gdb.linespec/explicit.exp: Check for readline support for
12514 tab-completion tests. Fix obvious typo.
12515
12516 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
12517
12518 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
12519 and replay.
12520
12521 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
12522
12523 * gdb.btrace/non-stop.c: New.
12524 * gdb.btrace/non-stop.exp: New.
12525
12526 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
12527 Yao Qi <yao.qi@linaro.org>
12528
12529 * gdb.trace/trace-condition.c: New file.
12530 * gdb.trace/trace-condition.exp: New file.
12531
12532 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
12533
12534 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
12535 for testing bytecode compilation.
12536
12537 2015-09-16 Pedro Alves <palves@redhat.com>
12538 Sandra Loosemore <sandra@codesourcery.com>
12539
12540 * gdb.threads/non-stop-fair-events.c (timeout): New global.
12541 (SECONDS): Redefine.
12542 (main): Call pthread_kill and alarm early.
12543 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
12544 support.
12545 (test): If the target can't hardware step and doesn't support
12546 displaced stepping, increase the timeout.
12547
12548 2015-09-16 Pedro Alves <palves@redhat.com>
12549
12550 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
12551 (enable_debug): New procedures.
12552 (test): Use them. Bail out if waiting for threads fails.
12553 (top level): Bail out if a test fails.
12554
12555 2015-09-16 Yao Qi <yao.qi@linaro.org>
12556
12557 * gdb.asm/asm-source.exp: Set asm-arch for
12558 aarch64*-*-* target.
12559 * gdb.asm/aarch64.inc: New file.
12560
12561 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
12562
12563 * gdb.ada/array_of_variable_length.exp: New testcase.
12564 * gdb.ada/array_of_variable_length/foo.adb: New file.
12565 * gdb.ada/array_of_variable_length/pck.adb: New file.
12566 * gdb.ada/array_of_variable_length/pck.ads: New file.
12567
12568 2015-09-15 Doug Evans <dje@google.com>
12569
12570 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
12571 of function static local variable.
12572
12573 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
12574
12575 * gdb.threads/tls-so_extern.exp: New test file.
12576 * gdb.threads/tls-so_extern.c: New test file.
12577 * gdb.threads/tls-so_extern_main.c: New test file.
12578
12579 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12580
12581 * gdb.opt/solib-intra-step-lib.c: New file.
12582 * gdb.opt/solib-intra-step-main.c: New file.
12583 * gdb.opt/solib-intra-step.exp: New file.
12584
12585 2015-09-15 Pedro Alves <palves@redhat.com>
12586
12587 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
12588 gdb_continue_to_breakpoint instead of gdb_test_multiple.
12589
12590 2015-09-14 Pedro Alves <palves@redhat.com>
12591
12592 * gdb.base/hook-stop-continue.c: Delete.
12593 * gdb.base/hook-stop-continue.exp: Delete.
12594 * gdb.base/hook-stop-frame.c: Delete.
12595 * gdb.base/hook-stop-frame.exp: Delete.
12596 * gdb.base/hook-stop.c: New file.
12597 * gdb.base/hook-stop.exp: New file.
12598
12599 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
12600
12601 * gdb.ada/access_to_packed_array.exp: New testcase.
12602 * gdb.ada/access_to_packed_array/foo.adb: New file.
12603 * gdb.ada/access_to_packed_array/pack.adb: New file.
12604 * gdb.ada/access_to_packed_array/pack.ads: New file.
12605
12606 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
12607
12608 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
12609 buffer size test.
12610
12611 2015-09-11 Don Breazeal <donb@codesourcery.com>
12612
12613 * gdb.base/foll-exec.c: Add copyright header. Fix
12614 formatting issues.
12615 * gdb.base/foll-exec.exp (zap_session): Delete proc.
12616 (do_exec_tests): Use clean_restart in place of zap_session,
12617 and for test initialization. Fix formatting issues. Use
12618 fail in place of perror.
12619 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
12620 an expect statement to match an expression with output from
12621 the program under debug.
12622 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
12623 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
12624 * gdb.threads/non-ldr-exc-2.exp: Likewise.
12625 * gdb.threads/non-ldr-exc-3.exp: Likewise.
12626 * gdb.threads/non-ldr-exc-4.exp: Likewise.
12627
12628 2015-09-09 Doug Evans <dje@google.com>
12629
12630 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
12631
12632 2015-09-09 Doug Evans <dje@google.com>
12633
12634 * gdb.base/pie-execl.exp: Fix result test of build_executable.
12635
12636 2015-09-09 Doug Evans <dje@google.com>
12637
12638 * gdb.base/savedregs.exp: Fix typo.
12639
12640 2015-09-09 Pedro Alves <palves@redhat.com>
12641
12642 * gdb.mi/mi-cli.exp: Add CLI finish tests.
12643
12644 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
12645
12646 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
12647 command actually switches threads. Give up on remaining
12648 tests if target fails to stop at breakpoint.
12649
12650 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
12651
12652 * gdb.ada/funcall_char.exp: New testcase.
12653 * gdb.ada/funcall_char/foo.adb: New file.
12654
12655 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
12656
12657 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
12658 expected outputs. Add two testcases for completing ambiguous
12659 functions.
12660 * gdb.ada/complete/aux_pck.adb: New file.
12661 * gdb.ada/complete/aux_pck.ads: New file.
12662 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
12663 Ambiguous_Func functions.
12664 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
12665 * gdb.ada/complete/pck.adb: Likewise.
12666
12667 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
12668
12669 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
12670 failures to run the test program under GDB.
12671
12672 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
12673
12674 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
12675 to C.
12676
12677 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
12678
12679 * gdb.base/run-after-attach.exp: New test file.
12680 * gdb.base/run-after-attach.c: New test file.
12681
12682 2015-08-26 Don Breazeal <donb@codesourcery.com>
12683
12684 * gdb.base/foll-exec-2.c: New test program.
12685 * gdb.base/foll-exec-2.exp: New test.
12686
12687 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
12688
12689 * gdb.base/nested-subp1.exp: New file.
12690 * gdb.base/nested-subp1.c: New file.
12691 * gdb.base/nested-subp2.exp: New file.
12692 * gdb.base/nested-subp2.c: New file.
12693 * gdb.base/nested-subp3.exp: New file.
12694 * gdb.base/nested-subp3.c: New file.
12695
12696 2015-08-24 Pedro Alves <palves@redhat.com>
12697
12698 * gdb.server/connect-without-multi-process.c: New file.
12699 * gdb.server/connect-without-multi-process.exp: New file.
12700
12701 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
12702
12703 * gdb.opt/inline-markers.c: Make z int.
12704
12705 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
12706
12707 * gdb.opt/inline-markers.c: Make z volatile.
12708
12709 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
12710
12711 * gdb.opt/inline-bt.c: New volatile global z.
12712 * gdb.opt/inline-cmds.c: Likewise.
12713 * gdb.opt/inline-locals.c: Likewise.
12714 * gdb.opt/inline-markers.c: New extern global z.
12715 (marker): Use z.
12716 (inline_fn): Likewise.
12717
12718 2015-08-24 Pedro Alves <palves@redhat.com>
12719
12720 * config/m32r-stub.exp: Remove file.
12721 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
12722 * gdb.base/call-rt-st.exp: Likewise.
12723 * gdb.base/call-strs.exp: Likewise.
12724 * gdb.base/default.exp: Remove references to h8300-*-hms and
12725 *-*-udi*.
12726 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
12727
12728 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12729
12730 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
12731 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
12732 and "return" use KFAIL when GDB can not read/write the vector
12733 return value.
12734
12735 2015-08-21 Gary Benson <gbenson@redhat.com>
12736
12737 * gdb.trace/pending.exp: Cope with remote transfer warnings.
12738
12739 2015-08-20 Pedro Alves <palves@redhat.com>
12740
12741 * gdb.server/solib-list.exp: No longer expect an interior stop in
12742 non-stop mode.
12743
12744 2015-08-20 Pedro Alves <palves@redhat.com>
12745
12746 * gdb.server/connect-stopped-target.c: New file.
12747 * gdb.server/connect-stopped-target.exp: New file.
12748
12749 2015-08-20 Pedro Alves <palves@redhat.com>
12750
12751 * gdb.dwarf2/comp-unit-lang.exp: New file.
12752 * gdb.dwarf2/comp-unit-lang.c: New file.
12753
12754 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
12755
12756 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
12757 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
12758
12759 2015-08-19 Kevin Buettner <kevinb@redhat.com>
12760
12761 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
12762 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
12763
12764 2015-08-18 Doug Evans <dje@google.com>
12765 Adrian Sendroiu <adrian.sendroiu@freescale.com>
12766
12767 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
12768 skip_python_tests. New arg prompt_regexp.
12769 (skip_python_tests): New function.
12770 * lib/mi-support.exp (mi_skip_python_tests): New function.
12771 * gdb.python/py-mi-objfile-gdb.py: New file.
12772 * gdb.python/py-mi-objfile.c: New file.
12773 * gdb.python/py-mi-objfile.exp: New file.
12774
12775 2015-08-17 Keith Seitz <keiths@redhat.com>
12776
12777 * gdb.linespec/explicit.exp: Move strace test from here ...
12778 * gdb.trace/strace.exp: ... to here.
12779
12780 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
12781
12782 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
12783 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
12784
12785 2015-08-14 Doug Evans <xdje42@gmail.com>
12786
12787 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
12788 inferior before selecting a new file.
12789
12790 2015-08-14 Doug Evans <xdje42@gmail.com>
12791
12792 * gdb.mi/mi-disassemble.exp: Update.
12793 * gdb.base/disasm-optim.S: New file.
12794 * gdb.base/disasm-optim.c: New file.
12795 * gdb.base/disasm-optim.h: New file.
12796 * gdb.base/disasm-optim.exp: New file.
12797
12798 2015-08-14 Keith Seitz <keiths@redhat.com>
12799
12800 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
12801 "evaluated-by".
12802
12803 2015-08-13 Joel Brobecker <brobecker@adacore.com>
12804
12805 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
12806
12807 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
12808
12809 * gdb.ada/fun_renaming.exp: New testcase.
12810 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
12811 * gdb.ada/fun_renaming/pack.adb: New file.
12812 * gdb.ada/fun_renaming/pack.ads: New file.
12813
12814 2015-08-12 Keith Seitz <keiths@redhat.com>
12815
12816 * gdb.base/dso2dso.exp: Pass basename of source file in call to
12817 gdb_get_line_number.
12818
12819 2015-08-12 Joel Brobecker <brobecker@adacore.com>
12820
12821 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
12822 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
12823 gdb.base/dso2dso.exp: New files.
12824
12825 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
12826 Pedro Alves <palves@redhat.com>
12827 Keith Seitz <keiths@redhat.com>
12828
12829 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
12830 GDBFLAGS.
12831
12832 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
12833
12834 * gdb.base/gdbhistsize-history.exp
12835 (test_histsize_history_setting): Use save_vars.
12836 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12837 Use save_vars.
12838 (test_no_truncation_of_unlimited_history_file): Use save_vars.
12839 * gdb.base/readline.exp: Use save_vars.
12840
12841 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
12842
12843 * lib/gdb.exp (save_vars): New proc.
12844
12845 2015-08-11 Keith Seitz <keiths@redhat.com>
12846
12847 * gdb.base/help.exp: Update help_breakpoint_text.
12848
12849 2015-08-11 Keith Seitz <keiths@redhat.com>
12850
12851 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
12852 (at toplevel): Call test_explicit_breakpoints.
12853 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
12854 breakpoints.
12855 * lib/mi-support.exp (mi_make_breakpoint): Add support for
12856 breakpoint conditions, "-cond".
12857
12858 2015-08-11 Keith Seitz <keiths@redhat.com>
12859
12860 * gdb.linespec/3explicit.c: New file.
12861 * gdb.linespec/cpexplicit.cc: New file.
12862 * gdb.linespec/cpexplicit.exp: New file.
12863 * gdb.linespec/explicit.c: New file.
12864 * gdb.linespec/explicit.exp: New file.
12865 * gdb.linespec/explicit2.c: New file.
12866 * gdb.linespec/ls-errs.exp: Add explicit location tests.
12867 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
12868 before using in the matching pattern.
12869 Clarify that `prefix' is a regular expression.
12870
12871 2015-08-11 Keith Seitz <keiths@redhat.com>
12872
12873 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
12874 test.
12875 Add tests for missing ",FMT" and ",".
12876
12877 2015-08-10 Doug Evans <dje@google.com>
12878 Keith Seitz <keiths@redhat.com>
12879
12880 PR gdb/17960
12881 * gdb.base/completion.exp: Add location completer tests.
12882
12883 2015-08-07 Pedro Alves <palves@redhat.com>
12884
12885 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
12886 tests here.
12887 (top level): Run do_test with and without displaced stepping.
12888
12889 2015-08-07 Pedro Alves <palves@redhat.com>
12890
12891 * gdb.base/valgrind-disp-step.c: New file.
12892 * gdb.base/valgrind-disp-step.exp: New file.
12893
12894 2015-08-07 Pedro Alves <palves@redhat.com>
12895
12896 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
12897 Delete function.
12898 (main): Add alarm. Run an infinite loop instead of calling
12899 wait_threads.
12900 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
12901 comment.
12902 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
12903 Delete function.
12904 (main): Add alarm. Run an infinite loop instead of calling
12905 wait_threads.
12906 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
12907 comment.
12908
12909 2015-08-07 Pedro Alves <palves@redhat.com>
12910
12911 * gdb.base/checkpoint-ns.exp: New file.
12912 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
12913 standard_testfile.
12914
12915 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
12916
12917 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
12918 * gdb.btrace/instruction_history.exp: Update.
12919 * gdb.btrace/tsx.exp: New.
12920 * gdb.btrace/tsx.c: New.
12921
12922 2015-08-06 Pedro Alves <palves@redhat.com>
12923
12924 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
12925 increase timeout.
12926 * gdb.reverse/until-precsave.exp: Bump timeouts.
12927
12928 2015-08-06 Pedro Alves <palves@redhat.com>
12929
12930 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
12931
12932 2015-08-06 Pedro Alves <palves@redhat.com>
12933
12934 PR gdb/18749
12935 * gdb.threads/process-dies-while-handling-bp.c: New file.
12936 * gdb.threads/process-dies-while-handling-bp.exp: New file.
12937
12938 2015-08-06 Pedro Alves <palves@redhat.com>
12939
12940 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
12941 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
12942
12943 2015-08-05 Pedro Alves <palves@redhat.com>
12944
12945 * gdb.threads/next-while-other-thread-longjmps.c: New file.
12946 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
12947
12948 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
12949
12950 * gdb.base/bp-permanent.exp: Report test as unsupported if
12951 the target cannot stop at the permanent breakpoint.
12952
12953 2015-08-03 Doug Evans <dje@google.com>
12954
12955 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
12956 10000.
12957
12958 2015-08-03 Doug Evans <dje@google.com>
12959
12960 * Makefile.in (workers/%.worker, build-perf): New rule.
12961 (GDB_PERFTEST_MODE): New variable.
12962 (check-perf): Use it.
12963 (clean): Clean up gdb.perf parallel build subdirs.
12964 * lib/build-piece.exp: New file.
12965 * lib/gdb.exp (make_gdb_parallel_path): New function
12966 (standard_output_file, standard_temp_file): Call it.
12967 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12968 of $GDB_PARALLEL.
12969 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
12970
12971 2015-08-03 Doug Evans <dje@google.com>
12972
12973 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
12974 (LOG_FILE_NAME): New global.
12975 (TextReporter.__init__): Initialize self.txt_sum.
12976 (TextReporter.report): Add support for multiple data-points.
12977 Move report to perftest.sum, put raw data in perftest.log.
12978 (TextReporter.start): Open sum and log files.
12979 (TextReporter.end): Close sum and log files.
12980 * gdb.perf/lib/perftest/testresult.py
12981 (SingleStatisticTestResult.record): Handle multiple data-points.
12982
12983 2015-07-31 Pedro Alves <palves@redhat.com>
12984
12985 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
12986 Use spawn_id_get_pid. Wait for spawn id after eof. Use
12987 kill_wait_spawned_process instead of explicit "kill -9".
12988 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
12989 returning a spawn id instead of a pid. Use spawn_id_get_pid and
12990 kill_wait_spawned_process.
12991 * gdb.base/attach-twice.exp: Likewise.
12992 * gdb.base/attach.exp: Likewise.
12993 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
12994 gdb_test_multiple.
12995 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
12996 returning a spawn id instead of a pid. Use spawn_id_get_pid and
12997 kill_wait_spawned_process.
12998 * gdb.base/valgrind-infcall.exp: Likewise.
12999 * gdb.multi/multi-attach.exp: Likewise.
13000 * gdb.python/py-prompt.exp: Likewise.
13001 * gdb.python/py-sync-interp.exp: Likewise.
13002 * gdb.server/ext-attach.exp: Likewise.
13003 * gdb.threads/attach-into-signal.exp (corefunc): Use
13004 spawn_wait_for_attach, spawn_id_get_pid and
13005 kill_wait_spawned_process.
13006 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
13007 spawn_wait_for_attach returning a spawn id instead of a pid. Use
13008 spawn_id_get_pid and kill_wait_spawned_process.
13009 * gdb.threads/attach-stopped.exp (corefunc): Use
13010 spawn_wait_for_attach, spawn_id_get_pid and
13011 kill_wait_spawned_process.
13012 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
13013 Use spawn_id_get_pid. Wait for spawn id after eof. Use
13014 kill_wait_spawned_process instead of explicit "kill -9".
13015 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
13016 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
13017 (spawn_wait_for_attach): Use spawn instead of exec to spawn
13018 processes. Don't map cygwin/windows pids here. Now returns a
13019 spawn id list.
13020
13021 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
13022
13023 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
13024 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
13025 correct patch.
13026
13027 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
13028
13029 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
13030
13031 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
13032
13033 Reapply:
13034 2014-05-21 Mark Wielaard <mjw@redhat.com>
13035
13036 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
13037
13038 2015-07-30 Pedro Alves <palves@redhat.com>
13039
13040 * linux-low.c (handle_extended_wait): Set the child's last
13041 reported status to TARGET_WAITKIND_STOPPED.
13042
13043 2015-07-30 Pedro Alves <palves@redhat.com>
13044
13045 PR threads/18600
13046 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
13047 only shows inferior 1.
13048
13049 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
13050 Pedro Alves <palves@redhat.com>
13051
13052 PR threads/18600
13053 * gdb.threads/fork-plus-threads.c: New file.
13054 * gdb.threads/fork-plus-threads.exp: New file.
13055
13056 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13057
13058 * gdb.base/batch-preserve-term-settings.exp
13059 (test_terminal_settings_preserved_after_cli_exit): Use
13060 send_quit_command.
13061
13062 2015-07-29 Pedro Alves <palves@redhat.com>
13063 Don Breazeal <donb@codesourcery.com>
13064
13065 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
13066 output from both inferior_spawn_id and gdb_spawn_id.
13067
13068 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
13069
13070 * gdb.threads/attach-into-signal.exp (corefunc): Use
13071 with_test_prefix on nested loops, uniquefying the test messages.
13072
13073 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
13074
13075 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
13076 commit.
13077
13078 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13079
13080 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
13081 New proc.
13082 (test_terminal_settings_preserved_after_sigterm): New test.
13083
13084 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13085
13086 * gdb.base/batch-preserve-term-settings.exp
13087 (test_terminal_settings_preserved_after_cli_exit): New test.
13088
13089 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13090
13091 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
13092 manipulation of saved_gdbflags.
13093 (test_terminal_settings_preserved): Remove global declaration of
13094 the unused variable pagination_prompt. Remove manipulation of
13095 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
13096 GDBFLAGS.
13097
13098 2015-07-29 Pedro Alves <palves@redhat.com>
13099
13100 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
13101
13102 2015-07-29 Pedro Alves <palves@redhat.com>
13103
13104 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
13105 at the top.
13106
13107 2015-07-29 Pedro Alves <palves@redhat.com>
13108
13109 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
13110 (main): Call gdb_unbuffer_output.
13111 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
13112 (main): Call gdb_unbuffer_output.
13113 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
13114 (main): Call gdb_unbuffer_output.
13115 * gdb.base/call-strs.exp: Adjust to step over the
13116 gdb_unbuffer_output call.
13117 * gdb.base/catch-gdb-caused-signals.c: Include
13118 "../lib/unbuffer_output.c".
13119 (main): Call gdb_unbuffer_output.
13120 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
13121 (main): Call gdb_unbuffer_output.
13122 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
13123 (main): Call gdb_unbuffer_output.
13124 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
13125 (main): Call gdb_unbuffer_output.
13126 * gdb.base/shlib-call.exp: Adjust to step over the
13127 gdb_unbuffer_output call.
13128 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
13129 (main): Call gdb_unbuffer_output.
13130 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
13131 (main): Call gdb_unbuffer_output.
13132 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
13133 (main): Rename to ...
13134 (test): ... this.
13135 (main): Reimplement.
13136 * gdb.base/varargs.exp: Run to test instead of to main.
13137 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
13138 (main): Call gdb_unbuffer_output.
13139
13140 2015-07-29 Pedro Alves <palves@redhat.com>
13141
13142 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
13143 factore out from mi_continue_dprintf. For call-style dprintfs,
13144 expect dprintf output out of $inferior_spawn_id.
13145 (mi_continue_dprintf): Use mi_expect_dprintf.
13146 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
13147 (main): Call gdb_unbuffer_output.
13148
13149 2015-07-29 Pedro Alves <palves@redhat.com>
13150
13151 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
13152 (default_mi_gdb_start): Set inferior_spawn_id instead of
13153 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
13154 gdb_spawn_id.
13155 (mi_gdb_test): Always expect inferior output from both
13156 $inferior_spawn_id and $gdb_spawn_id.
13157
13158 2015-07-29 Pedro Alves <palves@redhat.com>
13159
13160 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
13161 send_inferior and $inferior_spawn_id.
13162
13163 2015-07-29 Pedro Alves <palves@redhat.com>
13164
13165 * gdb.gdb/complaints.exp (test_initial_complaints)
13166 (test_serial_complaints, test_short_complaints): Use
13167 gdb_test_stdio.
13168 (test_empty_complaint): Handle $inferior_spawn_id !=
13169 $gdb_spawn_id.
13170
13171 2015-07-29 Pedro Alves <palves@redhat.com>
13172
13173 * gdb.base/varargs.exp: Use gdb_test_stdio.
13174
13175 2015-07-29 Pedro Alves <palves@redhat.com>
13176
13177 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
13178
13179 2015-07-29 Pedro Alves <palves@redhat.com>
13180
13181 * gdb.base/ending-run.exp: Use gdb_test_stdio.
13182
13183 2015-07-29 Pedro Alves <palves@redhat.com>
13184
13185 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
13186 parameter into two new parameters, "inf_result" and "gdb_result".
13187 Expect inferior output and gdb output from $inferior_spawn_id and
13188 $gdb_spawn_id, respectively. Adjust all callers.
13189
13190 2015-07-29 Pedro Alves <palves@redhat.com>
13191
13192 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
13193 of gdb_test_sequence.
13194
13195 2015-07-29 Pedro Alves <palves@redhat.com>
13196
13197 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
13198 (saw_spurious_output): Expect inferior output from
13199 $inferior_spawn_id. Use gdb_test_stdio.
13200
13201 2015-07-29 Pedro Alves <palves@redhat.com>
13202
13203 * gdb.base/dprintf.exp: Use standard_testfile. Change
13204 prepare_for_testing call.
13205 (srcfile): Don't set.
13206 (restart): New procedure.
13207 (test_dprintf): New procecure, use to continue over dprintfs.
13208 (test_call, test_agent): New procedures, tests moved here.
13209 Restart gdb and recreate dprintfs. Adjust expected output.
13210
13211 2015-07-29 Pedro Alves <palves@redhat.com>
13212
13213 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
13214
13215 2015-07-29 Pedro Alves <palves@redhat.com>
13216
13217 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
13218
13219 2015-07-29 Pedro Alves <palves@redhat.com>
13220
13221 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
13222 gdb_test_stdio.
13223
13224 2015-07-29 Pedro Alves <palves@redhat.com>
13225
13226 * lib/gdb.exp (gdb_test_stdio): New procedure.
13227
13228 2015-07-29 Pedro Alves <palves@redhat.com>
13229
13230 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
13231
13232 2015-07-29 Pedro Alves <palves@redhat.com>
13233
13234 * gdb.base/call-signal-resume.exp: Remove check for
13235 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
13236 * gdb.base/unwindonsignal.exp: Likewise.
13237 * gdb.base/call-signals.c (gen_signal): Remove printf call.
13238 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
13239
13240 2015-07-29 Pedro Alves <palves@redhat.com>
13241
13242 * gdb.base/siginfo-addr.c (pass): New function.
13243 (handler): Call it iff si_addr is correct.
13244 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
13245 Set a breakpoint at "pass" and continue to it.
13246
13247 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
13248
13249 * gdb.python/py-objfile.exp: Make some tests have unique names.
13250 * gdb.python/py-pp-registration.exp: Likewise.
13251
13252 2015-07-28 Pedro Alves <palves@redhat.com>
13253
13254 * gdb.server/server-exec-info.exp: Issue a "disconnect".
13255
13256 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
13257
13258 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
13259
13260 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
13261
13262 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
13263
13264 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
13265
13266 * gdb.base/gdb-sigterm-2.exp: New test.
13267
13268 2015-07-25 Doug Evans <xdje42@gmail.com>
13269
13270 Revert:
13271 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
13272 (workers/%.worker, build-perf): New rule.
13273 (GDB_PERFTEST_MODE): New variable.
13274 (check-perf): Use it.
13275 (clean): Clean up gdb.perf parallel build subdirs.
13276 * lib/build-piece.exp: New file.
13277 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
13278 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
13279 name.
13280 (standard_temp_file): Ditto.
13281 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13282 of $GDB_PARALLEL.
13283
13284 2015-07-24 Doug Evans <dje@google.com>
13285
13286 * gdb.perf/lib/perftest/utils.py: New file.
13287 * gdb.perf/gm-hello.cc: New file.
13288 * gdb.perf/gm-pervasive-typedef.cc: New file.
13289 * gdb.perf/gm-pervasive-typedef.h: New file.
13290 * gdb.perf/gm-std.cc: New file.
13291 * gdb.perf/gm-std.h: New file.
13292 * gdb.perf/gm-use-cerr.cc: New file.
13293 * gdb.perf/gm-utils.h: New file.
13294 * gdb.perf/gmonster-null-lookup.py: New file.
13295 * gdb.perf/gmonster-pervasive-typedef.py: New file.
13296 * gdb.perf/gmonster-print-cerr.py: New file.
13297 * gdb.perf/gmonster-ptype-string.py: New file.
13298 * gdb.perf/gmonster-runto-main.py: New file.
13299 * gdb.perf/gmonster-select-file.py: New file.
13300 * gdb.perf/gmonster1-null-lookup.exp: New file.
13301 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
13302 * gdb.perf/gmonster1-print-cerr.exp: New file.
13303 * gdb.perf/gmonster1-ptype-string.exp: New file.
13304 * gdb.perf/gmonster1-runto-main.exp: New file.
13305 * gdb.perf/gmonster1-select-file.exp: New file.
13306 * gdb.perf/gmonster1.cc: New file.
13307 * gdb.perf/gmonster1.exp: New file.
13308 * gdb.perf/gmonster2-null-lookup.exp: New file.
13309 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
13310 * gdb.perf/gmonster2-print-cerr.exp: New file.
13311 * gdb.perf/gmonster2-ptype-string.exp: New file.
13312 * gdb.perf/gmonster2-runto-main.exp: New file.
13313 * gdb.perf/gmonster2-select-file.exp: New file.
13314 * gdb.perf/gmonster2.cc: New file.
13315 * gdb.perf/gmonster2.exp: New file.
13316
13317 2015-07-24 Doug Evans <dje@google.com>
13318
13319 * gdb.perf/README: New file.
13320 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
13321 * lib/gen-perf-test.exp: New file.
13322
13323 2015-07-24 Doug Evans <dje@google.com>
13324
13325 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
13326 (PerfTest::startup): New function.
13327 (PerfTest::run): Return result of calling body.
13328 (PerfTest::assemble): Rewrite.
13329 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
13330 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
13331 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
13332 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
13333 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
13334
13335 2015-07-24 Doug Evans <dje@google.com>
13336
13337 * lib/gdb.exp (clean_restart): Make executable optional.
13338
13339 2015-07-24 Doug Evans <dje@google.com>
13340
13341 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
13342 compiler_info references.
13343 * gdb.cp/temargs.exp: Ditto.
13344 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
13345 (get_compiler_info): Early exit if already computed. Set compiler_info
13346 to "unknown" if there was a problem.
13347 (test_compiler_info): Add function comment. Call get_compiler_info.
13348
13349 2015-07-24 Doug Evans <dje@google.com>
13350
13351 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
13352 (workers/%.worker, build-perf): New rule.
13353 (GDB_PERFTEST_MODE): New variable.
13354 (check-perf): Use it.
13355 (clean): Clean up gdb.perf parallel build subdirs.
13356 * lib/build-piece.exp: New file.
13357 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
13358 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
13359 name.
13360 (standard_temp_file): Ditto.
13361 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13362 of $GDB_PARALLEL.
13363
13364 2015-07-24 Doug Evans <dje@google.com>
13365
13366 * lib/future.exp (gdb_default_target_compile): New option
13367 "early_flags".
13368 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
13369 --as-needed.
13370
13371 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
13372
13373 * gdb.base/catch-syscall.exp: Call gdb_exit before
13374 gdb_skip_xml_test.
13375
13376 2015-07-24 Pedro Alves <palves@redhat.com>
13377
13378 * gdb.python/py-events.exp: Accept output between the stop event
13379 and the prompt.
13380 * gdb.python/py-evsignal.exp: Likewise.
13381 * gdb.python/py-evthreads.exp: Likewise.
13382
13383 2015-07-24 Pedro Alves <palves@redhat.com>
13384
13385 PR gdb/18717
13386 * gdb.threads/non-ldr-exit.c: New file.
13387 * gdb.threads/non-ldr-exit.exp: New file.
13388
13389 2015-07-24 Yao Qi <yao.qi@linaro.org>
13390
13391 * gdb.server/ext-wrapper.exp: Test --wrapper option when
13392 restarting process.
13393
13394 2015-07-24 Yao Qi <yao.qi@linaro.org>
13395
13396 * gdb.server/ext-restart.exp: New file.
13397
13398 2015-07-24 Yao Qi <yao.qi@linaro.org>
13399
13400 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
13401 argument options.
13402 * gdb.server/ext-wrapper.exp: New file.
13403
13404 2015-07-23 Doug Evans <dje@google.com>
13405
13406 * gdb.dwarf2/dw2-dummy-cu.S: New file.
13407 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
13408
13409 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
13410
13411 * gdb.ada/var_arr_typedef.exp: New testcase.
13412 * gdb.ada/var_arr_typedef/pack.adb: New file.
13413 * gdb.ada/var_arr_typedef/pack.ads: New file.
13414 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
13415
13416 2015-07-20 Joel Brobecker <brobecker@adacore.com>
13417
13418 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
13419
13420 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13421
13422 * gdb.arch/i386-biarch-core.exp: Replace istarget
13423 by "complete set gnutarget". Remove expectation for the "core-file"
13424 command.
13425
13426 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13427
13428 Revert the previous commit:
13429 Tests for validate symbol file using build-id.
13430
13431 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
13432
13433 Tests for validate symbol file using build-id.
13434 * gdb.base/solib-mismatch-lib.c: New file.
13435 * gdb.base/solib-mismatch-libmod.c: New file.
13436 * gdb.base/solib-mismatch.c: New file.
13437 * gdb.base/solib-mismatch.exp: New file.
13438
13439 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
13440
13441 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
13442 nios2-*-linux*.
13443 * gdb.base/sigbpt.exp (stepi_out): Likewise.
13444 * gdb.base/siginfo.exp: Likewise.
13445 * gdb.base/sigstep.exp (advance, advancei): Likewise.
13446
13447 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
13448
13449 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
13450 Move it to ...
13451 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
13452 ... here.
13453 * gdb.trace/range-stepping.exp: Check that the target supports
13454 range stepping.
13455
13456 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13457
13458 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
13459
13460 2015-07-14 Pedro Alves <palves@redhat.com>
13461
13462 * gdb.base/killed-outside.exp: New file.
13463 * gdb.base/killed-outside.c: New file.
13464
13465 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
13466
13467 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
13468 (n at main): New.
13469 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
13470
13471 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
13472
13473 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
13474 infcall tests instead of setting up for KFAIL.
13475
13476 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
13477
13478 * gdb.btrace/record_goto-step.exp: New.
13479
13480 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13481
13482 PR compile/18484
13483 * gdb.compile/compile.c (struct struct_type): Add volatile to
13484 selffield's type.
13485 * gdb.compile/compile.exp
13486 (compile code struct_object.selffield = &struct_object): Skip further
13487 struct_object tests if this one xfails.
13488
13489 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
13490
13491 PR exp/18617
13492 * gdb.trace/ax.exp: Add test.
13493
13494 2015-07-07 Yao Qi <yao.qi@linaro.org>
13495
13496 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
13497 instead of istarget "aarch64*-*-*".
13498 * gdb.arch/aarch64-fp.exp: Likewise.
13499 * gdb.base/float.exp: Likewise.
13500 * gdb.reverse/aarch64.exp: Likewise.
13501 * lib/gdb.exp (is_aarch64_target): New proc.
13502
13503 2015-07-07 Yao Qi <yao.qi@linaro.org>
13504
13505 * lib/gdb.exp (is_aarch32_target): New proc.
13506 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
13507 instead of "istarget "arm*-*-*"".
13508 * gdb.arch/arm-disp-step.exp: Likewise.
13509 * gdb.arch/thumb-bx-pc.exp: Likewise.
13510 * gdb.arch/thumb-prologue.exp: Likewise.
13511 * gdb.arch/thumb-singlestep.exp: Likewise.
13512 * gdb.base/disp-step-syscall.exp: Likewise.
13513 * gdb.base/float.exp: Likewise.
13514
13515 2015-07-07 Yao Qi <yao.qi@linaro.org>
13516
13517 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
13518 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
13519
13520 2015-07-07 Yao Qi <yao.qi@linaro.org>
13521
13522 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
13523 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
13524 if it exists.
13525 * gdb.multi/multi-arch.exp: Likewise.
13526
13527 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
13528
13529 * gdb.python/py-lazy-string.exp: Add missing parentheses to
13530 print.
13531
13532 2015-07-07 Yao Qi <yao.qi@linaro.org>
13533
13534 * gdb.arch/thumb-singlestep.exp: Do one more single step.
13535
13536 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
13537
13538 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
13539 '[' and ']' characters.
13540
13541 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
13542
13543 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
13544
13545 2015-06-29 Pedro Alves <palves@redhat.com>
13546
13547 PR threads/18127
13548 * gdb.threads/hand-call-new-thread.c: New file.
13549 * gdb.threads/hand-call-new-thread.c: New file.
13550
13551 2015-06-26 Keith Seitz <keiths@redhat.com>
13552 Doug Evans <dje@google.com>
13553
13554 PR 16253
13555 * gdb.cp/var-tag-2.cc: New file.
13556 * gdb.cp/var-tag-3.cc: New file.
13557 * gdb.cp/var-tag-4.cc: New file.
13558 * gdb.cp/var-tag.cc: New file.
13559 * gdb.cp/var-tag.exp: New file.
13560
13561 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
13562
13563 * gdb.base/history-duplicates.exp: New test.
13564
13565 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
13566
13567 * gdb.base/completion.exp: Test the completion of the "focus"
13568 command.
13569
13570 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13571
13572 * gdb.arch/amd64-prologue-skip.S: New file.
13573 * gdb.arch/amd64-prologue-skip.exp: New file.
13574
13575 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
13576
13577 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
13578 is_address_zero_readable check.
13579
13580 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
13581
13582 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
13583 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
13584
13585 2015-06-24 Yao Qi <yao.qi@linaro.org>
13586
13587 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
13588 linux targets.
13589
13590 2015-06-24 Yao Qi <yao.qi@linaro.org>
13591
13592 * lib/gdb.exp (supports_get_siginfo_type): New proc.
13593 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
13594 * gdb.base/siginfo-thread.exp: Likewise.
13595
13596 2015-06-22 Yao Qi <yao.qi@linaro.org>
13597
13598 * boards/remote-gdbserver-on-localhost.exp: Add comments.
13599
13600 2015-06-22 Yao Qi <yao.qi@linaro.org>
13601
13602 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
13603 aarch64*-*-*.
13604 (skip_hw_watchpoint_tests): Likewise.
13605
13606 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
13607
13608 * gdb.base/gdbinit-history.exp: Test the interaction between
13609 setting GDBHISTSIZE and setting the history size via .gdbinit.
13610
13611 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13612
13613 PR gdb/16999
13614 * gdb.base/gdbhistsize-history.exp: New test.
13615
13616 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13617
13618 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
13619 with GDBHISTSIZE.
13620 * gdb.base/readline.exp: Likewise.
13621
13622 2015-06-17 Yao Qi <yao.qi@linaro.org>
13623
13624 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
13625 line.
13626
13627 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13628
13629 * gdb.base/gdbinit-history.exp: Add test case to check that
13630 an unlimited history file does not get truncated on exit.
13631
13632 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13633
13634 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
13635 (VECTOR): New macro. Use it...
13636 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
13637 ...for these typedefs.
13638 (int8, char1, int1, double1): New typedefs.
13639 (struct just_int2, struct two_int2): New structures.
13640 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
13641 (add_structvecs, add_singlevecs): New functions.
13642 (main): Call add_some_intvecs twice.
13643 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
13644 the compile and exit upon failure. Try compiling for the "native"
13645 architecture. Test inferior function calls with vector arguments
13646 and vector return value handling with "finish" and "return".
13647
13648 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
13649
13650 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
13651 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
13652 PE file.
13653 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
13654
13655 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
13656
13657 PR breakpoints/16465
13658 * gdb.mi/mi-dprintf-pending.c: New file.
13659 * gdb.mi/mi-dprintf-pending.exp: New test.
13660 * gdb.mi/mi-dprintf-pendshr.c: New file.
13661
13662 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13663 Mircea Gherzan <mircea.gherzan@intel.com>
13664
13665 * gdb.arch/i386-mpx-map.c: New file.
13666 * gdb.arch/i386-mpx-map.exp: New File.
13667
13668 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13669
13670 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
13671 * gdb.arch/i386-mpx.exp: Indentation fixed.
13672
13673 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13674
13675 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
13676 function and improved indentation.
13677 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
13678 gdb_test_multiple. Added additional tests to skip the test.
13679
13680 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13681
13682 * gdb.arch/i386-avx512.c: Change path in include file.
13683 * gdb.arch/i386-avx512.exp: Change include dir path
13684 compilation flag.
13685 * gdb.arch/i386-mpx.c: Change path in include file.
13686 * gdb.arch/i386-mpx.exp: Change include dir path compilation
13687 flag.
13688
13689 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
13690
13691 * gdb.compile/compile-print.exp (compile print *vararray@3)
13692 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
13693
13694 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13695
13696 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
13697 (do not keep jit in memory): ... this.
13698 (expect 5): Change it to ...
13699 (expect no 5): ... this.
13700
13701 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
13702
13703 PR gdb/15564
13704 * gdb.mi/mi-detach.exp: New file.
13705
13706 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13707
13708 PR symtab/18392
13709 * gdb.arch/amd64-tailcall-self.S: New file.
13710 * gdb.arch/amd64-tailcall-self.c: New file.
13711 * gdb.arch/amd64-tailcall-self.exp: New file.
13712
13713 2015-05-28 Don Breazeal <donb@codesourcery.com>
13714
13715 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
13716 tests for remote targets by checking is_target_gdbserver.
13717
13718 2015-05-27 Doug Evans <dje@google.com>
13719
13720 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
13721 * gdb.dwarf2/opaque-type-lookup.c: New file.
13722 * gdb.dwarf2/opaque-type-lookup.exp: New file.
13723
13724 2015-05-26 Doug Evans <dje@google.com>
13725
13726 * gdb.cp/iostream.cc: New file.
13727 * gdb.cp/iostream.exp: New file.
13728
13729 2015-05-26 Doug Evans <dje@google.com>
13730
13731 * gdb.dwarf2/dw2-op-call.exp: Update.
13732 * gdb.dwarf2/dw4-sig-types.exp: Update.
13733 * gdb.dwarf2/implptr.exp: Update.
13734 * gdb.mi/mi-cmd-param-changed.exp: Update.
13735
13736 2015-05-26 Doug Evans <dje@google.com>
13737
13738 * gdb.python/py-lazy-string.c: New file.
13739 * gdb.python/py-lazy-string.exp: New file.
13740 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
13741 (main): Update. Add estring3.
13742 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
13743 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
13744
13745 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
13746 Yao Qi <yao.qi@linaro.org>
13747
13748 * gdb.reverse/aarch64.c: New.
13749 * gdb.reverse/aarch64.exp: New.
13750
13751 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
13752
13753 * lib/gdb.exp (supports_process_record): Return true for
13754 aarch64*-linux*.
13755 (supports_reverse): Likewise.
13756
13757 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
13758
13759 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13760 Use with_test_prefix.
13761
13762 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
13763
13764 * gdb.base/completion.exp: Add test for completion of layout
13765 names.
13766
13767 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
13768
13769 * lib/gdb.exp (skip_tui_tests): New proc.
13770 * gdb.base/tui-layout.exp: Check skip_tui_tests.
13771
13772 2015-05-19 Pedro Alves <palves@redhat.com>
13773
13774 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13775 Save the whole env array instead of just HOME. Unset HISTSIZE in
13776 the environment while testing. Restore whole environment
13777 afterwards.
13778
13779 2015-05-16 Doug Evans <xdje42@gmail.com>
13780
13781 * gdb.guile/scm-ports.c: New file.
13782 * gdb.guile/scm-ports.exp: Add memory port tests.
13783
13784 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13785
13786 * gdb.compile/compile-print.c: New file.
13787 * gdb.compile/compile-print.exp: New file.
13788
13789 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13790
13791 * gdb.compile/compile-ops.exp: Cast param to void.
13792 * gdb.compile/compile.exp: Complete type for _gdb_expr.
13793 (compile code struct_object.selffield = &struct_object): Add xfail.
13794
13795 2015-05-15 Joel Brobecker <brobecker@adacore.com>
13796
13797 * gdb.ada/arr_enum_with_gap: New testcase.
13798
13799 2015-05-15 Joel Brobecker <brobecker@adacore.com>
13800
13801 * gdb.ada/byte_packed_arr: New testcase.
13802
13803 2015-05-15 Joel Brobecker <brobecker@adacore.com>
13804
13805 * gdb.ada/pckd_neg: New testcase.
13806
13807 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
13808
13809 PR gdb/17820
13810 * gdb.base/gdbinit-history.exp: New test.
13811 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
13812 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
13813
13814 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
13815
13816 * gdb.python/py-xmethods.cc: Enhance test case.
13817 * gdb.python/py-xmethods.exp: New tests.
13818 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
13819 function.
13820 (B_indexoper): Likewise.
13821 (global_dm_list) : Add new xmethod worker functions.
13822
13823 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
13824
13825 * gdb.base/coredump-filter.exp: Correctly unset
13826 "coredump_var_addr" array.
13827
13828 2015-05-08 Pedro Alves <palves@redhat.com>
13829
13830 * gdb.server/non-existing-program.exp: Unset spawn_id.
13831
13832 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
13833
13834 PR python/18291
13835 * gdb.python/py-xmethods.exp: Add tests.
13836
13837 2015-05-08 Yao Qi <yao.qi@linaro.org>
13838
13839 PR gdb/18208
13840 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
13841 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
13842 function set_coredump_filter, and remove remote_exec call.
13843 Remove argument ipid. Callers update.
13844 (top level): Don't get inferior's PID.
13845
13846 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
13847
13848 * gdb.base/watch_thread_num.exp: Skip test on targets without
13849 access watchpoints.
13850
13851 2015-05-06 Pedro Alves <palves@redhat.com>
13852
13853 PR server/18081
13854 * gdb.server/non-existing-program.exp: New file.
13855
13856 2015-05-05 Joel Brobecker <brobecker@adacore.com>
13857
13858 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
13859
13860 2015-05-05 Joel Brobecker <brobecker@adacore.com>
13861
13862 * gdb.ada/out_of_line_in_inlined: New testcase.
13863
13864 2015-05-05 Joel Brobecker <brobecker@adacore.com>
13865
13866 * gdb.ada/var_rec_arr: New testcase.
13867
13868 2015-04-30 Yao Qi <yao.qi@linaro.org>
13869
13870 * gdb.base/break-idempotent.exp: If
13871 skip_hw_watchpoint_multi_tests returns true, skip the tests
13872 on "rwatch" and "awatch".
13873
13874 2015-04-30 Yao Qi <yao.qi@linaro.org>
13875
13876 * gdb.base/relativedebug.exp: Invoke gdb command
13877 "info sharedlibrary", and if libc.so doesn't have debug info,
13878 skip the test.
13879
13880 2015-04-29 Doug Evans <dje@google.com>
13881
13882 * gdb.python/py-xmethods.exp: Add ptype tests.
13883 * gdb.python/py-xmethods.py (E_method_char_worker): Add
13884 get_result_type method.
13885
13886 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
13887
13888 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
13889 the target does not support hardware watchpoints.
13890
13891 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
13892
13893 * gdb.base/break-always.exp: Abort testing if writing to memory
13894 causes an error.
13895
13896 2015-04-28 Doug Evans <dje@google.com>
13897
13898 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
13899 * gdb.python/py-pp-registration.exp: ... here. New file.
13900 * gdb.python/py-pp-registration.c: New file.
13901 * gdb.python/py-pp-registration.py: New file.
13902
13903 2015-04-28 Doug Evans <dje@google.com>
13904
13905 * gdb.python/py-bad-printers.c: New file.
13906 * gdb.python/py-bad-printers.py: New file.
13907 * gdb.python/py-bad-printers.exp: New file.
13908
13909 2015-04-28 Sasha Smundak <asmundak@google.com>
13910
13911 * gdb.python/py-type.exp: New test.
13912
13913 2015-04-28 Andy Wingo <wingo@igalia.com>
13914
13915 * gdb.python/py-parameter.exp:
13916 * gdb.guile/scm-parameter.exp: Escape the path that we are
13917 matching against, as it might contain characters that are special
13918 to regular expressions.
13919
13920 2015-04-27 Joel Brobecker <brobecker@adacore.com>
13921
13922 * gdb.ada/rec_comp: New testcase.
13923
13924 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
13925
13926 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
13927 before using it.
13928
13929 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
13930
13931 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
13932 new tests for verilog output.
13933
13934 2015-04-24 Yao Qi <yao.qi@linaro.org>
13935
13936 * boards/remote-gdbserver-on-localhost.exp: New file.
13937
13938 2015-04-23 Pedro Alves <palves@redhat.com>
13939
13940 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
13941 $inferior_spawn_id instead of $inferior_spawn_id directly. On
13942 "end of file", remove $inferior_spawn_id from the indirect list.
13943
13944 2015-04-23 Pedro Alves <palves@redhat.com>
13945
13946 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
13947
13948 2015-04-23 Pedro Alves <palves@redhat.com>
13949
13950 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
13951 on $any_spawn_id instead of only on $gdb_spawn_id.
13952
13953 2015-04-21 Pierre Muller <muller@sourceware.org>
13954
13955 PR pascal/17815
13956 * lib/pascal.exp (gpc_compile): Add new option "class".
13957 (fpc_compile): Likewise.
13958 * gdb.pascal/case-insensitive-symbols.pas: New file.
13959 * gdb.pascal/case-insensitive-symbols.exp: New file.
13960
13961 2015-04-20 Gary Benson <gbenson@redhat.com>
13962
13963 * gdb.base/attach.exp: Fix three extended remote failures.
13964
13965 2015-04-17 Gary Benson <gbenson@redhat.com>
13966
13967 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
13968 the main executable over the remote protocol.
13969
13970 2015-04-16 Pedro Alves <palves@redhat.com>
13971
13972 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
13973 a new gdbserver if gdbserver_reconnect_p is set.
13974
13975 2015-04-16 Pedro Alves <palves@redhat.com>
13976
13977 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
13978 is set, don't exit gdbserver.
13979
13980 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13981
13982 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
13983 appropriate .insn, such that an older assembler can be used.
13984 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
13985 the z/Architecture instruction set on 31-bit targets as well.
13986
13987 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13988
13989 * gdb.go/handcall.exp: Remove all logic related to the first
13990 breakpoint and rely on go_runto_main instead.
13991 * gdb.go/strings.exp: Likewise.
13992 * gdb.go/unsafe.exp: Likewise.
13993 * gdb.go/hello.exp: Likewise. Also rename the remaining
13994 breakpoint marker to "breakpoint 1".
13995 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
13996 * gdb.go/strings.go: Likewise.
13997 * gdb.go/unsafe.go: Likewise.
13998 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
13999 "set breakpoint 2 here" and rename the remaining breakpoint marker
14000 to "breakpoint 1".
14001
14002 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
14003
14004 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
14005 if itertools.imap is not present.
14006 * gdb.python/py-objfile.exp: Add parentheses.
14007 * gdb.python/py-type.exp: Same.
14008 * gdb.python/py-unwind-maint.py: Same.
14009
14010 2015-04-15 Yao Qi <yao.qi@linaro.org>
14011
14012 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
14013 of ":$ptr_size" and set its form explicitly.
14014
14015 2015-04-15 Pedro Alves <palves@redhat.com>
14016 Yao Qi <yao.qi@linaro.org>
14017
14018 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
14019 timeout by factor of 4.
14020 (test_regular_watch): Likewise.
14021 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
14022 * gdb.reverse/sigall-reverse.exp: Likewise.
14023 * gdb.reverse/until-precsave.exp: Likewise.
14024 * lib/gdb.exp (with_timeout_factor): New proc.
14025 (gdb_expect): Move some code to ...
14026 (get_largest_timeout): ... here. New procedure.
14027
14028 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
14029
14030 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
14031
14032 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
14033
14034 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
14035 to write to the .text section.
14036
14037 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
14038
14039 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
14040 Handle the case of targets that do not provide PID information.
14041
14042 2015-04-13 Yao Qi <yao.qi@linaro.org>
14043
14044 * lib/gdbserver-support.exp (gdb_exit): Catch exception
14045 and use expect instead of gdb_expect.
14046
14047 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
14048
14049 * gdb.base/coredump-filter.exp: Rename variable "addr" to
14050 "coredump_var_addr" to avoid naming conflict with other testcases.
14051
14052 2015-04-10 Pedro Alves <palves@redhat.com>
14053
14054 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
14055 gdb_test_sequence and gdb_assert.
14056
14057 2015-04-10 Pedro Alves <palves@redhat.com>
14058
14059 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
14060 test messages that don't include the breakpoint address.
14061
14062 2015-04-10 Yao Qi <yao.qi@linaro.org>
14063
14064 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
14065 false for some offset and width combinations which aren't
14066 supported by linux kernel.
14067
14068 2015-04-10 Pedro Alves <palves@redhat.com>
14069
14070 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
14071 procedure, factored out from ...
14072 (top level): ... here. Add "set displaced-stepping" testing axis.
14073 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
14074 parameter "displaced". Use it.
14075 (top level): Use foreach and add "set displaced-stepping" testing
14076 axis.
14077
14078 2015-04-10 Pedro Alves <palves@redhat.com>
14079
14080 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
14081 Remove comment.
14082 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
14083 both the address of the instruction that triggers the watchpoint
14084 and the address of the instruction immediately after, and use
14085 those addresses for the test. Fix comment.
14086
14087 2015-04-10 Pedro Alves <palves@redhat.com>
14088
14089 * gdb.base/sigstep.exp (breakpoint_to_handler)
14090 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
14091 Test "backtrace" in handler.
14092 (breakpoint_over_handler): New parameter 'displaced'. Use it.
14093 (top level): Add new "displaced" test axis to
14094 breakpoint_to_handler, breakpoint_to_handler_entry and
14095 breakpoint_over_handler.
14096
14097 2015-04-10 Pedro Alves <palves@redhat.com>
14098
14099 PR gdb/18216
14100 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
14101
14102 2015-04-10 Yao Qi <yao.qi@linaro.org>
14103
14104 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
14105 (test_add_rn_pc): New function.
14106 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
14107 (top level): Invoke test_add_rn_pc.
14108
14109 2015-04-10 Pedro Alves <palves@redhat.com>
14110
14111 PR gdb/13858
14112 * gdb.base/step-over-no-symbols.exp: New file.
14113
14114 2015-04-09 Andy Wingo <wingo@igalia.com>
14115
14116 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
14117 after the Python tests.
14118
14119 2015-04-08 Keith Seitz <keiths@redhat.com>
14120
14121 PR python/16699
14122 * gdb.python/py-completion.exp: New tests for completion.
14123 * gdb.python/py-completion.py (CompleteLimit1): New class.
14124 (CompleteLimit2): Likewise.
14125 (CompleteLimit3): Likewise.
14126 (CompleteLimit4): Likewise.
14127 (CompleteLimit5): Likewise.
14128 (CompleteLimit6): Likewise.
14129 (CompleteLimit7): Likewise.
14130
14131 2015-04-08 Pedro Alves <palves@redhat.com>
14132
14133 PR gdb/18214
14134 PR gdb/18216
14135 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
14136 function.
14137 (main): Install it as SIGUSR1 handler.
14138 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
14139 parameter. Always use "setup" as prefix. Toggle "set
14140 displaced-stepping" off/on depending on global. Don't switch to
14141 thread 1 here.
14142 (top level): Add displaced stepping "off/on" test axis. Update
14143 "setup" calls. Wrap each subtest with with_test_prefix. Test
14144 continuing with a queued signal in each thread.
14145
14146 2015-04-08 Pedro Alves <palves@redhat.com>
14147
14148 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
14149 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
14150 gdb_breakpoint instead of gdb_test that doesn't expect anything.
14151 Return early if running to main fails.
14152 * gdb.trace/while-stepping.exp: Likewise.
14153
14154 2015-04-07 Pedro Alves <palves@redhat.com>
14155
14156 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
14157 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
14158 interact with inferior program.
14159
14160 2015-04-07 Pedro Alves <palves@redhat.com>
14161
14162 * lib/gdb.exp (inferior_spawn_id): New global.
14163 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
14164 spawn id after processing the user code.
14165 (default_gdb_start): Set inferior_spawn_id.
14166 (send_inferior): New procedure.
14167 * lib/gdbserver-support.exp (gdbserver_start): Set
14168 inferior_spawn_id.
14169 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
14170
14171 2015-04-07 Pedro Alves <palves@redhat.com>
14172
14173 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
14174 * lib/gdbserver-support.exp (gdbserver_start): Make
14175 $server_spawn_id global.
14176 (gdbserver_start): Don't wait for gdbserver's spawn id with
14177 expect_background.
14178 (close_gdbserver): New procedure.
14179 (gdb_exit): Rename the default version and reimplement.
14180
14181 2015-04-07 Pedro Alves <palves@redhat.com>
14182
14183 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
14184 append the substituted item, not the original item.
14185
14186 2015-04-07 Pedro Alves <palves@redhat.com>
14187
14188 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
14189 gdb_expect.
14190
14191 2015-04-07 Pedro Alves <palves@redhat.com>
14192
14193 * gdb.base/interrupt.exp: Don't handle the case of the inferior
14194 output appearing once only.
14195
14196 2015-04-07 Pedro Alves <palves@redhat.com>
14197
14198 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
14199 that doesn't expect anything. Return early if running to main
14200 fails.
14201
14202 2015-04-07 Yao Qi <yao.qi@linaro.org>
14203
14204 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
14205 (child_function): Call alarm.
14206 (main): Move call to alarm into the loop.
14207 * gdb.threads/non-stop-fair-events.exp: Build program with
14208 -DTIMEOUT=$timeout.
14209
14210 2015-04-06 Doug Evans <xdje42@gmail.com>
14211
14212 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
14213 Fix dest parameter to board_info.
14214 (fpc_compile): Ditto.
14215 (gdb_compile_pascal): Rename dest arg to destfile.
14216
14217 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
14218
14219 * gdb.ada/funcall_ref.exp: New file.
14220 * gdb.ada/funcall_ref/foo.adb: New file.
14221
14222 2015-04-02 Yao Qi <yao.qi@linaro.org>
14223
14224 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
14225 is remote.
14226
14227 2015-04-02 Gary Benson <gbenson@redhat.com>
14228
14229 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
14230
14231 2015-04-01 Sasha Smundak <asmundak@google.com>
14232
14233 * gdb.python/py-unwind-maint.c: New file.
14234 * gdb.python/py-unwind-maint.exp: New test.
14235 * gdb.python/py-unwind-maint.py: New file.
14236 * gdb.python/py-unwind.c: New file.
14237 * gdb.python/py-unwind.exp: New test.
14238 * gdb.python/py-unwind.py: New test.
14239
14240 2015-04-01 Pedro Alves <palves@redhat.com>
14241
14242 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
14243 to fail instead of non-existent $test.
14244
14245 2015-04-01 Pedro Alves <palves@redhat.com>
14246
14247 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
14248 GDBFLAGS if not empty.
14249
14250 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
14251
14252 * gdb.ada/complete.exp: Remove "multi_line".
14253 * gdb.ada/info_exc.exp: Remove "multi_line".
14254 * gdb.ada/packed_tagged.exp: Remove "multi_line".
14255 * gdb.ada/ptype_field.exp: Remove "multi_line".
14256 * gdb.ada/sym_print_name.exp: Remove "multi_line".
14257 * gdb.ada/tagged.exp: Remove "multi_line".
14258 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
14259 [multi_line ...]
14260 * gdb.btrace/delta.exp: Likewise.
14261 * gdb.btrace/exception.exp: Likewise.
14262 * gdb.btrace/function_call_history.exp: Likewise.
14263 * gdb.btrace/instruction_history.exp: Likewise.
14264 * gdb.btrace/nohist.exp: Likewise.
14265 * gdb.btrace/record_goto.exp: Likewise.
14266 * gdb.btrace/segv.exp: Likewise.
14267 * gdb.btrace/stepi.exp: Likewise.
14268 * gdb.btrace/tailcall.exp: Likewise.
14269 * gdb.btrace/unknown_functions.exp: Likewise.
14270 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
14271 * lib/gdb.exp: Add the "multi_line" helper.
14272
14273 2015-04-01 Pedro Alves <palves@redhat.com>
14274
14275 * gdb.threads/tid-reuse.c: New file.
14276 * gdb.threads/tid-reuse.exp: New file.
14277
14278 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
14279
14280 PR corefiles/16092
14281 * gdb.base/coredump-filter.c: New file.
14282 * gdb.base/coredump-filter.exp: Likewise.
14283
14284 2015-03-27 Petr Machata <pmachata@redhat.com>
14285
14286 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
14287 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
14288 (Dwarf::assemble): Initialize them.
14289 (Dwarf::lines): New function.
14290
14291 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
14292
14293 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
14294 SYMBOL_PREFIX for x86_64-*-cygwin.
14295
14296 2015-03-26 Andy Wingo <wingo@igalia.com>
14297
14298 PR symtab/18148
14299 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
14300 const_value but not a location.
14301 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
14302 location defined in non-main CUs are visible.
14303
14304 2015-03-26 Yao Qi <yao.qi@linaro.org>
14305
14306 PR testsuite/18139
14307 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
14308 Add a line number entry for the same line.
14309 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
14310 Add a line number entry for the same line.
14311
14312 2015-03-26 Yao Qi <yao.qi@linaro.org>
14313
14314 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
14315 .int 0.
14316 (func): Likewise. Add .Lfunc_1 label.
14317 Use .Lfunc_1 label.
14318 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
14319 .int 0.
14320 (func): Likewise.
14321 Use .Lfunc_1 label.
14322
14323 2015-03-26 Yao Qi <yao.qi@linaro.org>
14324
14325 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
14326 Call gdb_compile instead to compile each .s files without debug
14327 information.
14328
14329 2015-03-26 Yao Qi <yao.qi@linaro.org>
14330
14331 * gdb.base/savedregs.exp (process_saved_regs): Make
14332 "Saved registers:" optional in the pattern.
14333
14334 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
14335
14336 * gdb.btrace/next.exp: Merged into step.exp.
14337 * gdb.btrace/finish.exp: Merged into step.exp.
14338 * gdb.btrace/nexti.exp: Merged into stepi.exp.
14339 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
14340 "record goto" and checking the exact replay position.
14341 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
14342 check for "Recording format" in "info record" output.
14343 * gdb.btrace/record_goto.exp: Choose test file based on target.
14344 * gdb.btrace/x86-record_goto.S: Renamed into ...
14345 * gdb.btrace/x86_64-record_goto.S: ... this.
14346 * gdb.btrace/i686-record_goto.S: New.
14347 * gdb.btrace/x86-tailcall.S: Renamed into ...
14348 * gdb.btrace/x86_64-tailcall.S: ... this.
14349 * gdb.btrace/i686-tailcall.S: New.
14350 * gdb.btrace/x86-tailcall.c: Renamed into ...
14351 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
14352 separate statements. Update test.
14353 * gdb.btrace/delta.exp: Use record_goto.c as test file.
14354 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
14355 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
14356 * gdb.btrace/tailcall.exp: Choose test file based on target.
14357 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
14358
14359 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
14360
14361 * gdb.btrace/exception.exp: Increase BTS buffer size.
14362
14363 2015-03-24 Pedro Alves <palves@redhat.com>
14364
14365 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
14366
14367 2015-03-24 Pedro Alves <palves@redhat.com>
14368
14369 * gdb.threads/schedlock.exp (test_step): No longer expect that
14370 "set scheduler-locking step" with "next" over a function call runs
14371 threads unlocked.
14372
14373 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
14374
14375 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
14376
14377 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
14378
14379 PR breakpoints/16466
14380 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
14381 * gdb.mi/mi-pending.c (thread_func): New function.
14382 (int main): Add threading support required.
14383 * gdb.mi/mi-pending.exp: Add tests for this issue.
14384 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
14385 (pendfunc2): Remove stdio dependency.
14386 * gdb.mi/mi-pendshr2.c: New file.
14387
14388 2015-03-23 Keith Seitz <keiths@redhat.com>
14389
14390 * gdb.linespec/keywords.c: New file.
14391 * gdb.linespec/keywords.exp: New file.
14392
14393 2015-03-23 Keith Seitz <keiths@redhat.com>
14394
14395 PR gdb/18021
14396 * gdb.dwarf2/staticvirtual.exp: New test.
14397
14398 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14399
14400 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
14401 * README: Remove HP-UX and gdb.hp.
14402 (configuration):
14403 * configure: Regenerate.
14404 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
14405 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
14406 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
14407 gdb.hp/gdb.defects/Makefile.
14408 * gdb.hp/Makefile.in: File deleted.
14409 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
14410 * gdb.hp/gdb.aCC/optimize.c: File deleted.
14411 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
14412 * gdb.hp/gdb.aCC/run.c: File deleted.
14413 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
14414 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
14415 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
14416 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
14417 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
14418 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
14419 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
14420 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
14421 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
14422 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
14423 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
14424 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
14425 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
14426 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
14427 * gdb.hp/gdb.base-hp/reg.s: File deleted.
14428 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
14429 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
14430 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
14431 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
14432 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
14433 * gdb.hp/gdb.compat/Makefile.in: File deleted.
14434 * gdb.hp/gdb.compat/average.c: File deleted.
14435 * gdb.hp/gdb.compat/sum.c: File deleted.
14436 * gdb.hp/gdb.compat/xdb.c: File deleted.
14437 * gdb.hp/gdb.compat/xdb0.c: File deleted.
14438 * gdb.hp/gdb.compat/xdb0.h: File deleted.
14439 * gdb.hp/gdb.compat/xdb1.c: File deleted.
14440 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
14441 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
14442 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
14443 * gdb.hp/gdb.defects/Makefile.in: File deleted.
14444 * gdb.hp/gdb.defects/bs14602.c: File deleted.
14445 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
14446 * gdb.hp/gdb.defects/solib-d.c: File deleted.
14447 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
14448 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
14449 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
14450 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
14451 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
14452 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
14453 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
14454 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
14455 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
14456 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
14457 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
14458 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
14459 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
14460 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
14461 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
14462 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
14463 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
14464 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
14465 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
14466 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
14467 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
14468 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
14469 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
14470 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
14471 * gdb.hp/tools/odump: File deleted.
14472
14473 2015-03-19 Pedro Alves <palves@redhat.com>
14474
14475 * gdb.threads/continue-pending-status.exp (saw_thread_2)
14476 (saw_thread_3): New globals.
14477 (top level): Increment them when an event for the corresponding
14478 thread is seen.
14479 (no thread starvation): New test.
14480
14481 2015-03-19 Pedro Alves <palves@redhat.com>
14482
14483 * gdb.threads/continue-pending-status.c: New file.
14484 * gdb.threads/continue-pending-status.exp: New file.
14485
14486 2015-03-18 Pedro Alves <palves@redhat.com>
14487
14488 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
14489 Use gdb_is_target_remote instead of is_remote. Use
14490 gdb_test_multiple instead of gdb_expect. Exit early if
14491 gdb_test_multiple hits its internal matches. Tighten stepi tests
14492 expected output. Fail on exit with any signal, instead of just
14493 SIGILL.
14494
14495 2015-03-18 Yao Qi <yao.qi@linaro.org>
14496
14497 PR tdep/18107
14498 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
14499 variable.
14500 * gdb.base/catch-syscall.exp: Don't skip it on
14501 aarch64*-*-linux* target. Remove elements in all_syscalls.
14502 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
14503 target.
14504 (setup_all_syscalls): New proc.
14505
14506 2015-03-16 Yao Qi <yao.qi@linaro.org>
14507
14508 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
14509 (top level): Skip tests if valid_addr_p returns false for
14510 $cmd1 or $cmd2.
14511
14512 2015-03-11 Andy Wingo <wingo@igalia.com>
14513
14514 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
14515
14516 2015-03-11 Yao Qi <yao.qi@linaro.org>
14517
14518 * gdb.base/catch-syscall.exp: Fix typo in comments.
14519
14520 2015-03-11 Yao Qi <yao.qi@linaro.org>
14521
14522 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
14523
14524 2015-03-09 Pedro Alves <palves@redhat.com>
14525
14526 * dg-extract-results.py: Delete.
14527
14528 2015-03-09 Pedro Alves <palves@redhat.com>
14529
14530 Merge dg-extract-results.sh from GCC upstream (r218843).
14531
14532 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
14533 * dg-extract-results.sh: Use --text with grep to avoid issues with
14534 binary files. Fall back to cat -v, if that doesn't work.
14535
14536 2015-03-05 Pedro Alves <palves@redhat.com>
14537
14538 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
14539
14540 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
14541
14542 * lib/mi-support.exp (mi_expect_interrupt): Accept
14543 alternative event for when in all-stop mode.
14544
14545 2015-03-04 Pedro Alves <palves@redhat.com>
14546
14547 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
14548
14549 2015-03-04 Mark Kettenis <kettenis@gnu.org>
14550
14551 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
14552
14553 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
14554
14555 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
14556 regexps for GDB's current line display, accept a hex address
14557 preceding the line number.
14558
14559 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
14560
14561 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
14562 the 'arch1' variable for "s390*-linux*" targets.
14563
14564 2015-03-04 Pedro Alves <palves@redhat.com>
14565
14566 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
14567 (main): Pass missing retval argument to pthread_join call.
14568
14569 2015-03-02 Pedro Alves <palves@redhat.com>
14570
14571 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
14572 (top level): Call do_test with non-stop as well.
14573
14574 2015-03-02 Pedro Alves <palves@redhat.com>
14575
14576 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
14577 -1.
14578
14579 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
14580
14581 * gdb.arch/s390-vregs.exp: New test.
14582 * gdb.arch/s390-vregs.S: New file.
14583
14584 2015-02-27 Pedro Alves <palves@redhat.com>
14585
14586 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
14587 call to catch_command_errors.
14588 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
14589 catch_command_errors.
14590
14591 2015-02-27 Pedro Alves <palves@redhat.com>
14592
14593 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
14594 "true" for boolean result.
14595 * gdb.gdb/selftest.exp (test_with_self): Also accept full
14596 prototype of main.
14597
14598 2015-02-27 Pedro Alves <palves@redhat.com>
14599
14600 * lib/unbuffer_output.c: New file.
14601 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
14602 (main): Call gdb_unbuffer_output.
14603
14604 2015-02-27 Yao Qi <yao.qi@linaro.org>
14605
14606 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
14607 target.
14608
14609 2015-02-26 Doug Evans <dje@google.com>
14610
14611 * gdb.cp/class2.cc (Dbase, D): New classes.
14612 (main): New local delta.
14613 * gdb.cp/class2.exp: Test printing delta.
14614 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
14615 (dynbar): New global.
14616 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
14617
14618 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14619
14620 * gdb.compile/compile-ifunc.c: New file.
14621 * gdb.compile/compile-ifunc.exp: New file.
14622
14623 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
14624
14625 * gdb.base/structs.exp: Check for correct struct on finish.
14626
14627 2015-02-26 Yao Qi <yao.qi@linaro.org>
14628
14629 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
14630 is zero.
14631
14632 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14633
14634 * gdb.arch/cordic.ko.bz2: New file.
14635 * gdb.arch/cordic.ko.debug.bz2: New file.
14636 * gdb.arch/ppc64-symtab-cordic.exp: New file.
14637
14638 2015-02-25 Yao Qi <yao.qi@linaro.org>
14639
14640 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
14641 aarch64*-*-* target.
14642
14643 2015-02-23 Pedro Alves <palves@redhat.com>
14644
14645 * lib/gdb.exp (delete_breakpoints): Rewrite using
14646 gdb_test_multiple.
14647
14648 2015-02-23 Pedro Alves <palves@redhat.com>
14649
14650 * gdb.base/info-os.c: Include stdlib.h.
14651
14652 2015-02-22 Doug Evans <xdje42@gmail.com>
14653
14654 PR symtab/17855
14655 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
14656 is read after symbols have been re-read.
14657 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
14658 * gdb.ada/exec_changed/second.adb (Second): Ditto.
14659
14660 2015-02-21 Doug Evans <dje@google.com>
14661
14662 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
14663
14664 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14665
14666 PR corefiles/17808
14667 * gdb.arch/i386-biarch-core.core.bz2: New file.
14668 * gdb.arch/i386-biarch-core.exp: New file.
14669
14670 2015-02-21 Pedro Alves <palves@redhat.com>
14671
14672 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
14673 runto_main fails.
14674
14675 2015-02-20 Pedro Alves <palves@redhat.com>
14676
14677 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
14678 info probes.
14679
14680 2015-02-20 Pedro Alves <palves@redhat.com>
14681
14682 * gdb.threads/multi-create-ns-info-thr.exp: New file.
14683
14684 2015-02-20 Pedro Alves <palves@redhat.com>
14685
14686 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
14687 clean_restart before gdb_target_supports_trace.
14688
14689 2015-02-20 Pedro Alves <palves@redhat.com>
14690
14691 PR threads/18006
14692 * gdb.threads/clone-thread_db.c: New file.
14693 * gdb.threads/clone-thread_db.exp: New file.
14694
14695 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
14696
14697 PR breakpoints/16812
14698 * gdb.base/catch-gdb-caused-signals.c: New file.
14699 * gdb.base/catch-gdb-caused-signals.exp: New file.
14700
14701 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
14702
14703 * configure: Regenerated.
14704 * configure.ac: Use GDB_AC_TRANSFORM.
14705 * aclocal.m4: sinclude ../transform.m4.
14706
14707 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
14708
14709 * lib/dtrace.exp: New file.
14710 * gdb.base/dtrace-probe.exp: Likewise.
14711 * gdb.base/dtrace-probe.d: Likewise.
14712 * gdb.base/dtrace-probe.c: Likewise.
14713 * lib/pdtrace.in: Likewise.
14714 * configure.ac: Output variables with the transformed names of
14715 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
14716 * configure: Regenerated.
14717
14718 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
14719
14720 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
14721 expected message when trying to access $_probe_* convenience
14722 variables while not on a probe.
14723
14724 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14725
14726 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
14727
14728 2015-02-11 Pedro Alves <pedro@codesourcery.com>
14729
14730 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
14731 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
14732
14733 2015-02-10 Doug Evans <xdje42@gmail.com>
14734
14735 * lib/gdb.exp (gdb_load): Always return a result.
14736
14737 2015-02-10 Pedro Alves <palves@redhat.com>
14738
14739 * gdb.threads/signal-sigtrap.c: New file.
14740 * gdb.threads/signal-sigtrap.exp: New file.
14741
14742 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
14743
14744 * gdb.trace/no-attach-trace.c: New file.
14745 * gdb.trace/no-attach-trace.exp: New file.
14746
14747 2015-02-09 Mark Wielaard <mjw@redhat.com>
14748
14749 * gdb.dwarf2/atomic.c: New file.
14750 * gdb.dwarf2/atomic-type.exp: Likewise.
14751
14752 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14753
14754 * gdb.btrace/buffer-size.exp: Update "info record" output.
14755 * gdb.btrace/delta.exp: Update "info record" output.
14756 * gdb.btrace/enable.exp: Update "info record" output.
14757 * gdb.btrace/finish.exp: Update "info record" output.
14758 * gdb.btrace/instruction_history.exp: Update "info record" output.
14759 * gdb.btrace/next.exp: Update "info record" output.
14760 * gdb.btrace/nexti.exp: Update "info record" output.
14761 * gdb.btrace/step.exp: Update "info record" output.
14762 * gdb.btrace/stepi.exp: Update "info record" output.
14763 * gdb.btrace/nohist.exp: Update "info record" output.
14764
14765 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14766
14767 * gdb.btrace/buffer-size: New.
14768
14769 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14770
14771 * gdb.btrace/delta.exp: Update "info record" output.
14772 * gdb.btrace/enable.exp: Update "info record" output.
14773 * gdb.btrace/finish.exp: Update "info record" output.
14774 * gdb.btrace/instruction_history.exp: Update "info record" output.
14775 * gdb.btrace/next.exp: Update "info record" output.
14776 * gdb.btrace/nexti.exp: Update "info record" output.
14777 * gdb.btrace/step.exp: Update "info record" output.
14778 * gdb.btrace/stepi.exp: Update "info record" output.
14779 * gdb.btrace/nohist.exp: Update "info record" output.
14780
14781 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
14782
14783 PR gdb/15678
14784 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
14785
14786 2015-02-06 Pedro Alves <palves@redhat.com>
14787
14788 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
14789 macro.
14790 (seconds_left, again): New globals.
14791 (main): Wait seconds_left in a 1-second sleep loop instead of
14792 sleeping 180 seconds. If 'again' is set, reset the seconds
14793 counter.
14794 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
14795 'again' in the inferior before detaching. Print the seconds left.
14796 (options): New global.
14797 (top level): Build program with -DTIMEOUT=$timeout.
14798
14799 2015-02-06 Pedro Alves <palves@redhat.com>
14800
14801 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
14802 determine how many seconds to pass to 'alarm'.
14803 * gdb.base/gdb-sigterm.exp (top level): Build program with
14804 -DTIMEOUT=$timeout.
14805 (do_test): Return success/failure indication. Add more verbose
14806 logging. Don't fail if 200 single steps are seen. Instead, fail
14807 when the test times out.
14808 (passes): New global.
14809 (top level): Break the testing loop if testing fails on any
14810 iteration. Use gdb_assert.
14811
14812 2015-02-04 Don Breazeal <donb@codesourcery.com>
14813
14814 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
14815 and initialize them.
14816 (ipc_cleanup): New function.
14817 (main): Don't declare shmid, semid, and msqid. Add a call to
14818 atexit so that we call ipc_cleanup on exit.
14819
14820 2015-02-04 Pedro Alves <palves@redhat.com>
14821
14822 * boards/native-extended-gdbserver.exp: Remove any target variant
14823 specifications from the board name before clearing the isremote
14824 flag from board_info.
14825
14826 2015-01-31 Doug Evans <xdje42@gmail.com>
14827
14828 * gdb.base/maint.exp <maint print type argc>: Update expected output.
14829
14830 2015-01-31 Gary Benson <gbenson@redhat.com>
14831
14832 * gdb.base/completion.exp: Disable completion limiting for
14833 existing tests. Add new tests to check completion limiting.
14834 * gdb.linespec/ls-errs.exp: Disable completion limiting.
14835
14836 2015-01-31 Doug Evans <xdje42@gmail.com>
14837
14838 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
14839
14840 2015-01-31 Doug Evans <xdje42@gmail.com>
14841
14842 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
14843 entries. Duplicate file section script entries.
14844 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
14845 inlined entries. Add test for safe-path rejection.
14846 * gdb.python/py-section-script.c: Add duplicate inlined section script
14847 entries. Duplicate file section script entries.
14848 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
14849 inlined entries. Add test for safe-path rejection.
14850
14851 2015-01-29 Joel Brobecker <brobecker@adacore.com>
14852
14853 * gdb.ada/disc_arr_bound: New testcase.
14854
14855 2015-01-29 Joel Brobecker <brobecker@adacore.com>
14856
14857 * gdb.ada/mi_var_array: New testcase.
14858
14859 2015-01-27 Doug Evans <dje@google.com>
14860
14861 * gdb.python/py-objfile.exp: Add tests for objfile.username.
14862 Add test for objfile.filename, objfile.username after objfile
14863 has been unloaded.
14864
14865 2015-01-26 Joel Brobecker <brobecker@adacore.com>
14866
14867 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
14868 the second test to print the name attribute of value
14869 returned by the call to gdb.lookup_type, and adjust
14870 the expected output accordingly.
14871
14872 2015-01-25 Mark Wielaard <mjw@redhat.com>
14873
14874 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
14875 * gdb.base/disp-step-fork.c: Include unistd.h.
14876 * gdb.base/siginfo-obj.c: Include stdio.h.
14877 * gdb.base/siginfo-thread.c: Likewise.
14878 * gdb.mi/non-stop.c: Include unistd.h.
14879 * gdb.mi/nsthrexec.c: Include stdio.h.
14880 * gdb.mi/pthreads.c: Include unistd.h.
14881 * gdb.modula2/unbounded1.c (main): Declare returns int.
14882 * gdb.reverse/consecutive-reverse.c: Likewise.
14883 * gdb.threads/create-fail.c: Include unistd.h.
14884 * gdb.threads/killed.c: Likewise.
14885 * gdb.threads/linux-dp.c: Likewise.
14886 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
14887 * gdb.threads/non-ldr-exc-2.c: Likewise.
14888 * gdb.threads/non-ldr-exc-3.c: Likewise.
14889 * gdb.threads/non-ldr-exc-4.c: Likewise.
14890 * gdb.threads/pthreads.c: Include unistd.h.
14891 (main): Declare returns int.
14892 * gdb.threads/tls-main.c (foo): New declaration.
14893 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
14894
14895 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
14896
14897 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
14898 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
14899
14900 2015-01-15 Mark Wielaard <mjw@redhat.com>
14901
14902 * gdb.base/noreturn-return.c: New file.
14903 * gdb.base/noreturn-return.exp: New file.
14904 * gdb.base/noreturn-finish.c: New file.
14905 * gdb.base/noreturn-finish.exp: New file.
14906
14907 2015-01-23 Pedro Alves <palves@redhat.com>
14908
14909 * gdb.threads/continue-pending-after-query.c: New file.
14910 * gdb.threads/continue-pending-after-query.exp: New file.
14911
14912 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
14913 Simon Marchi <simon.marchi@ericsson.com>
14914
14915 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
14916 * gdb.base/valgrind-db-attach.exp: Same.
14917 * gdb.base/valgrind-infcall.exp: Same.
14918 * lib/mi-support.exp (default_mi_gdb_start): Same.
14919 * lib/prompt.exp (default_prompt_gdb_start): Same.
14920 * lib/gdb.exp (default_gdb_spawn): Same.
14921 (gdb_interact): New.
14922
14923
14924 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14925
14926 * gdb.compile/compile.exp (pointer to jit function): New test.
14927
14928 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
14929
14930 * lib/gdb.exp (supports_process_record): Return true for
14931 powerpc*-*-linux*.
14932 (supports_reverse): Likewise.
14933
14934 2015-01-15 Don Breazeal <donb@codesourcery.com>
14935
14936 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
14937 instead of checking whether the target board is remote and
14938 use spawn_wait_for_attach instead of exec/sleep.
14939 * gdb.base/attach-twice.exp: Likewise.
14940
14941 2015-01-15 Joel Brobecker <brobecker@adacore.com>
14942
14943 * gdb.ada/var_arr_attrs: New testcase.
14944
14945 2015-01-14 Pedro Alves <palves@redhat.com>
14946 Joel Brobecker <brobecker@adacore.com>
14947
14948 PR gdb/17525
14949 * gdb.base/bp-cmds-execution-x-script.c: New file.
14950 * gdb.base/bp-cmds-execution-x-script.exp: New file.
14951 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
14952
14953 2015-01-14 Pedro Alves <palves@redhat.com>
14954
14955 PR cli/17828
14956 * gdb.base/batch-preserve-term-settings.c: New file.
14957 * gdb.base/batch-preserve-term-settings.exp: New file.
14958
14959 2015-01-13 Doug Evans <dje@google.com>
14960
14961 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
14962 binary.
14963
14964 2015-01-13 Joel Brobecker <brobecker@adacore.com>
14965
14966 * Makefile.in (clean mostlyclean): Do not delete *.py.
14967
14968 2015-01-13 Joel Brobecker <brobecker@adacore.com>
14969
14970 * gdb.python/py-lookup-type.exp: New file.
14971
14972 2015-01-12 Pedro Alves <palves@redhat.com>
14973
14974 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
14975 restore GDBFLAGS before returning.
14976
14977 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14978
14979 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
14980 is_amd64_regs_target and is_x86_like_target.
14981
14982 2015-01-11 Doug Evans <xdje42@gmail.com>
14983
14984 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
14985 is given without an explicit form.
14986 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
14987 attributes.
14988 * gdb.dwarf/corrupt.exp: Ditto.
14989 * gdb.dwarf2/enum-type.exp: Ditto.
14990 * gdb.trace/entry-values.exp: Ditto.
14991 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
14992
14993 2015-01-11 Doug Evans <xdje42@gmail.com>
14994
14995 PR gdb/15830
14996 * gdb.base/maint.exp: Remove references to "maint demangle".
14997 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
14998 Add tests for explicitly specifying language to demangle.
14999 * gdb.dlang/demangle.exp: Ditto.
15000
15001 2015-01-09 Pedro Alves <palves@redhat.com>
15002
15003 * gdb.threads/non-stop-fair-events.c: New file.
15004 * gdb.threads/non-stop-fair-events.exp: New file.
15005
15006 2015-01-09 Pedro Alves <palves@redhat.com>
15007
15008 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
15009 the global scope. Set a breakpoint after all threads are started
15010 rather than stepping over two source lines. Expect the prompt.
15011 * gdb.base/watch_thread_num.c (threads_started_barrier): New
15012 global.
15013 (NUM): Now 15.
15014 (main): Use threads_started_barrier to wait for all threads to
15015 start. Main thread no longer calls thread_function. Exit after
15016 180 seconds.
15017 (loop): New function.
15018 (thread_function): Wait on threads_started_barrier barrier. Call
15019 'loop' at each iteration.
15020 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
15021 threads have started, instead of hardcoding number of "next"
15022 steps. Use an access watchpoint instead of a write watchpoint.
15023
15024 2015-01-09 Pedro Alves <palves@redhat.com>
15025
15026 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
15027 (thread_func): Wait on barrier.
15028 (main): Wait for all threads to start before stopping GDB.
15029 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
15030 global.
15031 (thread1_func, thread2_func): Wait on barrier.
15032 (main): Wait for all threads to start before stopping GDB.
15033 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
15034 New global.
15035 (thread1_func, thread2_func): Wait on barrier.
15036 (main): Wait for all threads to start before stopping GDB.
15037
15038 2015-01-09 Pedro Alves <palves@redhat.com>
15039
15040 * gdb.threads/attach-many-short-lived-threads.c: New file.
15041 * gdb.threads/attach-many-short-lived-threads.exp: New file.
15042
15043 2014-01-09 Pedro Alves <palves@redhat.com>
15044
15045 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
15046 instead of to thread 2.
15047 * gdb.threads/signal-command-multiple-signals-pending.c (main):
15048 Add barrier around each pthread_create call instead of around all
15049 calls.
15050 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
15051 Set a break on thread_function and have the child threads hit it
15052 one at at a time.
15053
15054 2015-01-09 Pedro Alves <palves@redhat.com>
15055
15056 * lib/gdb.exp (can_spawn_for_attach): New procedure.
15057 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
15058 false.
15059 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
15060 checking whether the target board is remote.
15061 * gdb.multi/multi-attach.exp: Likewise.
15062 * gdb.python/py-sync-interp.exp: Likewise.
15063 * gdb.server/ext-attach.exp: Likewise.
15064 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
15065 tests that need to attach, instead of checking whether the target
15066 board is remote at the top of the file.
15067
15068 2015-01-08 Yao Qi <yao@codesourcery.com>
15069
15070 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
15071
15072 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15073
15074 Fix testcase compilation.
15075 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
15076
15077 2015-01-06 Joel Brobecker <brobecker@adacore.com>
15078
15079 * gdb.python/py-type.exp: Add a couple test about empty
15080 array creation, and negative-length array creation.
15081
15082 2015-01-02 Doug Evans <xdje42@gmail.com>
15083
15084 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
15085
15086 2015-01-02 Doug Evans <dje@google.com>
15087
15088 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
15089
15090 2014-12-29 Yao Qi <yao@codesourcery.com>
15091
15092 * gdb.trace/entry-values.exp: Update comments. Rename variable
15093 bar_call_foo to returned_from_foo.
15094
15095 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
15096
15097 PR gdb/17394
15098 * gdb.linespec/break-asm-file.c: New file.
15099 * gdb.linespec/break-asm-file.exp: New file.
15100 * gdb.linespec/break-asm-file0.s: New file.
15101 * gdb.linespec/break-asm-file1.s: New file.
15102
15103 2014-12-18 Nigel Stephens <nigel@mips.com>
15104 Maciej W. Rozycki <macro@codesourcery.com>
15105
15106 * gdb.base/float.exp: Handle the new output from "info float" on
15107 MIPS targets.
15108
15109 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
15110
15111 Fix MinGW compilation.
15112 * gdb.compile/compile-ops.exp: Update untested message if
15113 !skip_compile_feature_tests.
15114 * gdb.compile/compile-setjmp.exp: Likewise.
15115 * gdb.compile/compile-tls.exp: Likewise.
15116 * gdb.compile/compile.exp: Likewise.
15117 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
15118 supported on this host".
15119
15120 2014-12-16 Doug Evans <xdje42@gmail.com>
15121
15122 * boards/stabs.exp: New file.
15123
15124 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
15125
15126 * gdb.base/completion.exp: Adjust to format changes of "maint
15127 print user-registers".
15128
15129 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
15130
15131 PR server/17457
15132 * gdb.arch/aarch64-fp.c: New file.
15133 * gdb.arch/aarch64-fp.exp: New file.
15134
15135 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
15136
15137 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
15138 r210637, r210913, r211666, r215400, r215817).
15139
15140 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
15141 * dg-extract-results.py: New file.
15142 * dg-extract-results.sh: Use it if the environment seems
15143 suitable.
15144
15145 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
15146
15147 * dg-extract-results.py (parse_run): Handle warnings that
15148 are printed before a test harness is run.
15149
15150 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
15151
15152 * dg-extract-results.py (Named): Remove __cmp__ method.
15153 (output_variation): Use a key to sort variation.harnesses.
15154
15155 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
15156
15157 * dg-extract-results.py: For Python 3, force sys.stdout to
15158 handle surrogate escape sequences.
15159 (safe_open): New function.
15160 (output_segment, main): Use it.
15161
15162 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
15163
15164 * dg-extract-results.py (Prog.result_re): Include options
15165 in test name.
15166
15167 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
15168
15169 * dg-extract-results.py (output_variation): Always sort if
15170 do_sum.
15171
15172 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
15173
15174 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
15175 as long as we get pagination notifications.
15176
15177 2014-12-15 Jason Merrill <jason@redhat.com>
15178
15179 * Makefile.in (check-gdb.%): Restore.
15180 * README: Mention it.
15181
15182 2014-12-13 Joel Brobecker <brobecker@adacore.com>
15183
15184 * gdb.ada/str_uninit: New testcase.
15185
15186 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15187
15188 PR symtab/17642
15189 * gdb.base/vla-stub-define.c: New file.
15190 * gdb.base/vla-stub.c: New file.
15191 * gdb.base/vla-stub.exp: New file.
15192
15193 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
15194 Jan Kratochvil <jan.kratochvil@redhat.com>
15195 Tom Tromey <tromey@redhat.com>
15196
15197 * configure.ac: Add gdb.compile/.
15198 * configure: Regenerate.
15199 * gdb.compile/Makefile.in: New file.
15200 * gdb.compile/compile-ops.exp: New file.
15201 * gdb.compile/compile-ops.c: New file.
15202 * gdb.compile/compile-tls.c: New file.
15203 * gdb.compile/compile-tls.exp: New file.
15204 * gdb.compile/compile-constvar.S: New file.
15205 * gdb.compile/compile-constvar.c: New file.
15206 * gdb.compile/compile-mod.c: New file.
15207 * gdb.compile/compile-nodebug.c: New file.
15208 * gdb.compile/compile-setjmp-mod.c: New file.
15209 * gdb.compile/compile-setjmp.c: New file.
15210 * gdb.compile/compile-setjmp.exp: New file.
15211 * gdb.compile/compile-shlib.c: New file.
15212 * gdb.compile/compile.c: New file.
15213 * gdb.compile/compile.exp: New file.
15214 * lib/gdb.exp (skip_compile_feature_tests): New proc.
15215
15216 2014-12-12 Tom Tromey <tromey@redhat.com>
15217
15218 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
15219 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
15220
15221 2014-12-12 Doug Evans <dje@google.com>
15222
15223 * lib/gdb-python.exp (get_python_valueof): New function.
15224 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
15225
15226 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
15227
15228 * gdb.base/completion.exp: Add test for completion of "info
15229 registers ".
15230
15231 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
15232
15233 * gdb.base/func-ptrs.c: New file.
15234 * gdb.base/func-ptrs.exp: New file.
15235
15236 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
15237
15238 PR breakpoints/17012
15239 * gdb.base/dprintf-detach.c: New file.
15240 * gdb.base/dprintf-detach.exp: New file.
15241
15242 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
15243
15244 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
15245 * lib/gdb.exp (target_is_gdbserver): New procedure.
15246
15247 2014-12-08 Doug Evans <dje@google.com>
15248
15249 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
15250
15251 2014-12-05 Yao Qi <yao@codesourcery.com>
15252
15253 * gdb.guile/scm-error.exp: Remove the third argument to
15254 gdb_remote_download.
15255 * gdb.guile/scm-frame-args.exp: Likewise.
15256 * gdb.guile/scm-section-script.exp: Likewise.
15257
15258 2014-12-05 Yao Qi <yao@codesourcery.com>
15259
15260 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
15261
15262 2014-12-04 Doug Evans <dje@google.com>
15263
15264 * gdb.python/py-objfile.exp: Add tests for
15265 objfile.add_separate_debug_file.
15266
15267 2014-12-04 Doug Evans <dje@google.com>
15268
15269 * lib/gdb.exp (get_build_id): New function.
15270 (build_id_debug_filename_get): Rewrite to use it.
15271 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
15272
15273 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
15274
15275 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
15276 `method(long)', not just 0x0.
15277 * gdb.cp/nsalias.exp: Align code labels to 4.
15278 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
15279 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
15280 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
15281 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
15282 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
15283 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
15284
15285 2014-12-02 Doug Evans <dje@google.com>
15286
15287 PR symtab/17602
15288 * gdb.cp/anon-ns.cc: Move guts of this file to ...
15289 * gdb.cp/anon-ns2.cc: ... here. New file.
15290 * gdb.cp/anon-ns.exp: Update.
15291
15292 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
15293
15294 * gdb.python/py-events.py (inferior_call_handler): New.
15295 (register_changed_handler, memory_changed_handler): New.
15296 (test_events.invoke): Register new handlers.
15297 * gdb.python/py-events.exp: Add tests for inferior call,
15298 memory_changed and register_changed events.
15299
15300 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
15301
15302 * gdb.base/execl-update-breakpoints.exp: Specify the link address
15303 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
15304 if the linker doesn't understand this.
15305
15306 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
15307
15308 * gdb.python/python.exp: Change expected reply to help().
15309
15310 2014-12-01 Yao Qi <yao@codesourcery.com>
15311
15312 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
15313 AC_CONFIG_SUBDIRS(gdb.gdbtk).
15314 * configure: Re-generated.
15315
15316 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
15317
15318 * gdb.cp/chained-calls.cc: New file.
15319 * gdb.cp/chained-calls.exp: New file.
15320 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
15321
15322 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
15323
15324 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
15325 * gdb.dwarf2/symtab-producer.exp: Same.
15326 * gdb.gdb/python-interrupts.exp: Same.
15327 * gdb.gdb/python-selftest.exp: Same.
15328 * gdb.python/py-linetable.exp: Same.
15329 * gdb.python/py-type.exp: Same.
15330 * gdb.python/py-value-cc.exp: Same.
15331 * gdb.python/py-value.exp: Same.
15332
15333 2014-11-28 Yao Qi <yao@codesourcery.com>
15334
15335 * gdb.base/break-probes.exp: Match library name prefixed with
15336 sysroot.
15337
15338 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
15339
15340 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
15341 test expected output. Add parentheses for the call to print.
15342 Remove L suffix from integers.
15343
15344 2014-11-26 Doug Evans <dje@google.com>
15345
15346 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
15347
15348 2014-11-22 Yao Qi <yao@codesourcery.com>
15349
15350 * gdb.trace/entry-values.c: Remove asms.
15351 (foo): Add foo_label.
15352 (bar): Add bar_label.
15353 * gdb.trace/entry-values.exp: Remove code computing foo's
15354 length and bar's length.
15355 (Dwarf::assemble): Invoke function_range for bar and use
15356 MACRO_AT_func for foo.
15357
15358 2014-11-22 Yao Qi <yao@codesourcery.com>
15359
15360 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
15361 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
15362 Use .Lgcc43_procstart instead of gcc43.
15363
15364 2014-11-21 Joel Brobecker <brobecker@adacore.com>
15365
15366 * gdb.ada/n_arr_bound: New testcase.
15367
15368 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
15369
15370 PR breakpoints/10737
15371 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
15372 test_catch_syscall_multi_arch.
15373 (test_catch_syscall_multi_arch): New function.
15374
15375 2014-11-20 Doug Evans <xdje42@gmail.com>
15376
15377 * gdb.base/maint.exp: Update expected output.
15378
15379 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
15380
15381 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
15382 4-byte instruction on S390.
15383
15384 2014-11-19 Joel Brobecker <brobecker@adacore.com>
15385
15386 * gdb.ada/arr_arr: New testcase.
15387
15388 2014-11-19 Joel Brobecker <brobecker@adacore.com>
15389
15390 * gdb.ada/pkd_arr_elem: New Testcase.
15391
15392 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
15393
15394 * gdb.reverse/break-precsave: Expect completion message for
15395 core file reads.
15396 * gdb.reverse/consecutive-precsave.exp: Likewise.
15397 * gdb.reverse/finish-precsave.exp: Likewise.
15398 * gdb.reverse/i386-precsave.exp: Likewise.
15399 * gdb.reverse/machinestate-precsave.exp: Likewise.
15400 * gdb.reverse/sigall-precsave.exp: Likewise.
15401 * gdb.reverse/solib-precsave.exp: Likewise.
15402 * gdb.reverse/step-precsave.exp: Likewise.
15403 * gdb.reverse/until-precsave.exp: Likewise.
15404 * gdb.reverse/watch-precsave.exp: Likewise.
15405
15406 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15407
15408 * gdb.base/bp-permanent.c: Include unistd.h.
15409 * gdb.python/py-framefilter-mi.c (main): Add return type.
15410 * gdb.python/py-framefilter.c (main): Likewise.
15411 * gdb.trace/actions-changed.c (main): Likewise.
15412
15413 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15414
15415 * gdb.mi/until.c: Add eye-catchers.
15416 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
15417 line numbers.
15418
15419 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15420
15421 * gdb.base/condbreak.exp: Drop references to removed non-prototype
15422 function header variants in break1.c.
15423 * gdb.base/ena-dis-br.exp: Likewise.
15424 * gdb.base/hbreak2.exp: Likewise.
15425 * gdb.reverse/until-precsave.exp: Drop references to removed
15426 non-prototype function header variants in ur1.c.
15427 * gdb.reverse/until-reverse.exp: Likewise.
15428
15429 2014-11-17 Petr Machata <pmachata@redhat.com>
15430
15431 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
15432 ${_cu_offset_size} bytes abbrev offset.
15433
15434 2014-11-15 Doug Evans <xdje42@gmail.com>
15435
15436 PR symtab/17559
15437 * gdb.base/line-symtabs.exp: New file.
15438 * gdb.base/line-symtabs.c: New file.
15439 * gdb.base/line-symtabs.h: New file.
15440
15441 2014-11-14 Yao Qi <yao@codesourcery.com>
15442
15443 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
15444 (func): Add label func_label.
15445 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
15446 Replace low_pc and high_pc with MACRO_AT_range.
15447 Replace name, low_pc and high_pc with MACRO_AT_func.
15448
15449 2014-11-14 Yao Qi <yao@codesourcery.com>
15450
15451 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
15452 Replace name, low_pc and high_pc with MACRO_AT_func.
15453
15454 2014-11-14 Yao Qi <yao@codesourcery.com>
15455
15456 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
15457 produce debug information.
15458 * gdb.dwarf2/implptr-optimized-out.S: Removed.
15459
15460 2014-11-14 Yao Qi <yao@codesourcery.com>
15461
15462 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
15463 object and get function length.
15464 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
15465 with MACRO_AT_func.
15466 (top-level): Replace gdb_compile and clean_restart with
15467 prepare_for_testing.
15468 * gdb.dwarf2/main.c (main): Add label main_label.
15469
15470 2014-11-14 Yao Qi <yao@codesourcery.com>
15471
15472 * lib/dwarf.exp (function_range): New procedure.
15473 (Dwarf::_handle_macro_at_func): New procedure.
15474 (Dwarf::_handle_macro_at_range): New procedure.
15475 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
15476
15477 2014-11-14 Yao Qi <yao@codesourcery.com>
15478
15479 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
15480 (_handle_attribute): New procedure.
15481
15482 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15483
15484 * gdb.ada/cond_lang/foo.c (callme): Add return type.
15485 * gdb.base/call-sc.c (zed): Likewise.
15486 * gdb.base/checkpoint.c (main): Likewise.
15487 * gdb.base/dump.c (main): Likewise.
15488 * gdb.base/gcore.c (main): Likewise.
15489 * gdb.base/huge.c (main): Likewise.
15490 * gdb.base/multi-forks.c (main): Likewise.
15491 * gdb.base/pr10179-a.c (main): Likewise.
15492 * gdb.base/savedregs.c (main): Likewise.
15493 * gdb.base/sigaltstack.c (main): Likewise.
15494 * gdb.base/siginfo.c (main): Likewise.
15495 * gdb.base/structs.c (zed): Likewise.
15496 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
15497 * gdb.mi/mi-syn-frame.c (main): Likewise.
15498 * gdb.mi/until.c (foo, main): Likewise.
15499 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
15500 * gdb.base/solib-weak.c (foo): Declare.
15501 * gdb.base/attach-twice.c: Include stdio.h.
15502 * gdb.base/weaklib1.c: Likewise.
15503 * gdb.base/weaklib2.c: Likewise.
15504 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
15505 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
15506 unistd.h.
15507 * gdb.base/attach-pie-misread.c: Include stdlib.h.
15508 * gdb.mi/mi-exit-code.c: Likewise.
15509 * gdb.base/break-interp-lib.c: Include string.h.
15510 * gdb.base/coremaker.c: Likewise.
15511 * gdb.base/testenv.c: Likewise.
15512 * gdb.python/py-finish-breakpoint.c: Likewise.
15513 * gdb.base/inferior-died.c: Include sys/wait.h.
15514 * gdb.base/fileio.c: Include time.h.
15515 * gdb.base/async-shell.c: Include unistd.h.
15516 * gdb.base/dprintf-non-stop.c: Likewise.
15517 * gdb.base/info-os.c: Likewise.
15518 * gdb.mi/mi-console.c: Likewise.
15519 * gdb.mi/watch-nonstop.c: Likewise.
15520 * gdb.python/py-events.c: Likewise.
15521 * gdb.base/async.c (baz): Move up before its invocation.
15522 * gdb.base/code_elim2.c (my_global_func): Likewise.
15523 * gdb.base/skip-solib-lib.c (multiply): Likewise.
15524 * gdb.base/advance.c (func2): Likewise.
15525
15526 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15527
15528 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
15529 variant.
15530 * gdb.base/annota3.c: Likewise.
15531 * gdb.base/async.c: Likewise.
15532 * gdb.base/average.c: Likewise.
15533 * gdb.base/call-ar-st.c: Likewise.
15534 * gdb.base/call-rt-st.c: Likewise.
15535 * gdb.base/call-sc.c: Likewise.
15536 * gdb.base/call-strs.c: Likewise.
15537 * gdb.base/ending-run.c: Likewise.
15538 * gdb.base/execd-prog.c: Likewise.
15539 * gdb.base/exprs.c: Likewise.
15540 * gdb.base/foll-exec.c: Likewise.
15541 * gdb.base/foll-fork.c: Likewise.
15542 * gdb.base/foll-vfork.c: Likewise.
15543 * gdb.base/funcargs.c: Likewise.
15544 * gdb.base/gcore.c: Likewise.
15545 * gdb.base/jump.c: Likewise.
15546 * gdb.base/langs0.c: Likewise.
15547 * gdb.base/langs1.c: Likewise.
15548 * gdb.base/langs2.c: Likewise.
15549 * gdb.base/mips_pro.c: Likewise.
15550 * gdb.base/nodebug.c: Likewise.
15551 * gdb.base/opaque0.c: Likewise.
15552 * gdb.base/opaque1.c: Likewise.
15553 * gdb.base/recurse.c: Likewise.
15554 * gdb.base/run.c: Likewise.
15555 * gdb.base/scope0.c: Likewise.
15556 * gdb.base/scope1.c: Likewise.
15557 * gdb.base/setshow.c: Likewise.
15558 * gdb.base/setvar.c: Likewise.
15559 * gdb.base/shmain.c: Likewise.
15560 * gdb.base/shr1.c: Likewise.
15561 * gdb.base/shr2.c: Likewise.
15562 * gdb.base/sigall.c: Likewise.
15563 * gdb.base/signals.c: Likewise.
15564 * gdb.base/so-indr-cl.c: Likewise.
15565 * gdb.base/solib2.c: Likewise.
15566 * gdb.base/structs.c: Likewise.
15567 * gdb.base/sum.c: Likewise.
15568 * gdb.base/vforked-prog.c: Likewise.
15569 * gdb.base/watchpoint.c: Likewise.
15570 * gdb.reverse/shr2.c: Likewise.
15571 * gdb.reverse/until-reverse.c: Likewise.
15572 * gdb.reverse/ur1.c: Likewise.
15573 * gdb.reverse/watch-reverse.c: Likewise.
15574
15575 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15576
15577 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
15578 variant.
15579 * gdb.base/sepdebug.exp: Drop references to removed code.
15580
15581 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15582
15583 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
15584 variant. Preserve original line numbering.
15585 * gdb.base/list1.c: Likewise.
15586
15587 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15588
15589 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
15590 variant.
15591 * gdb.base/break1.c: Likewise.
15592 * gdb.base/break.exp: Drop references to removed code.
15593
15594 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15595
15596 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
15597 variant.
15598
15599 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15600
15601 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
15602
15603 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15604
15605 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
15606 logic into perform_all_tests() and invoke it with and without
15607 function header prototypes.
15608 (do_function_calls): Remove conditional XFAIL for PR 5318.
15609 (rerun_and_prepare): Remove duplicate code.
15610 (perform_all_tests): New. Main logic moved here.
15611
15612 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15613
15614 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
15615 code guarded by #ifdef NO_PROTOTYPES.
15616 (t_double_many_args): Likewise.
15617 (DEF_FUNC_MANY_ARGS_1): Likewise.
15618 (DEF_FUNC_VALUES_1): Likewise.
15619 (t_structs_ldc): Renamed from t_structs_fc in conditional code
15620 guarded by #ifdef PROTOTYPES.
15621
15622 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15623
15624 * gdb.mi/mi-console.c: Add eye-catcher.
15625 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
15626 instead of literal line number.
15627
15628 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15629
15630 * gdb.base/shr2.c: Add eye-catcher.
15631 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
15632 line number.
15633
15634 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15635
15636 * gdb.base/jump.c: Add eye-catchers.
15637 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
15638 numbers.
15639
15640 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15641
15642 * gdb.base/execd-prog.c: Add eye-catchers.
15643 * gdb.base/foll-exec.c: Likewise.
15644 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
15645 line numbers.
15646
15647 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15648
15649 * gdb.base/ending-run.c: Add eye-catchers.
15650 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
15651 literal line numbers.
15652
15653 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15654
15655 * gdb.base/call-rt-st.c: Add eye-catchers.
15656 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
15657 literal line numbers.
15658
15659 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15660
15661 * gdb.base/call-ar-st.c: Add eye-catchers.
15662 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
15663 literal line numbers.
15664
15665 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15666
15667 * gdb.base/average.c: Add eye-catchers.
15668 * gdb.base/sum.c: Likewise.
15669 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
15670 regexps dynamically.
15671
15672 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15673
15674 * gdb.base/solib1.c: Add eye-catchers.
15675 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
15676 literal line numbers.
15677
15678 2014-11-12 Pedro Alves <palves@redhat.com>
15679
15680 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
15681 leader has exited.
15682
15683 2014-11-12 Pedro Alves <palves@redhat.com>
15684
15685 * gdb.arch/i386-bp_permanent.c: New file.
15686 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
15687 (srcfile): Set to i386-bp_permanent.c.
15688 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
15689 that stepi does not execute the 'leave' instruction, instead of
15690 testing it does execute.
15691 * gdb.base/bp-permanent.c: New file.
15692 * gdb.base/bp-permanent.exp: New file.
15693
15694 2014-11-10 Doug Evans <xdje42@gmail.com>
15695
15696 PR symtab/17564
15697 * gdb.base/symtab-search-order.exp: New file.
15698 * gdb.base/symtab-search-order.c: New file.
15699 * gdb.base/symtab-search-order-1.c: New file.
15700 * gdb.base/symtab-search-order-shlib-1.c: New file.
15701
15702 2014-11-07 Pedro Alves <palves@redhat.com>
15703
15704 PR gdb/17511
15705 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
15706 i?86-*-linux*.
15707
15708 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
15709
15710 PR c++/17494
15711 * gdb.cp/pr17494.cc: New file.
15712 * gdb.cp/pr17494.exp: New file.
15713
15714 2014-11-02 Yao Qi <yao@codesourcery.com>
15715
15716 * gdb.python/python.exp: Get working directory and match the
15717 output of "set extended-prompt \\w " with it.
15718
15719 2014-10-30 Doug Evans <dje@google.com>
15720
15721 * gdb.python/py-objfile.exp: Add tests for setting random attributes
15722 in objfiles.
15723 * gdb.python/py-progspace.exp: Add tests for setting random attributes
15724 in progspaces.
15725
15726 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
15727
15728 * gdb.base/fullpath-expand.exp: Skip for a remote host.
15729 * gdb.base/realname-expand.exp: Likewise.
15730 * gdb.linespec/macro-relative.exp: Likewise.
15731
15732 2014-10-29 Pedro Alves <palves@redhat.com>
15733
15734 PR gdb/17408
15735 * gdb.threads/schedlock.c (some_function): New function.
15736 (call_function): New global.
15737 (MAYBE_CALL_SOME_FUNCTION): New macro.
15738 (thread_function): Call it.
15739 * gdb.threads/schedlock.exp (get_args): Add description parameter,
15740 and use it instead of a global counter. Adjust all callers.
15741 (get_current_thread): Use "find current thread" for test message
15742 here rather than having all callers pass down the same string.
15743 (goto_loop): New procedure, factored out from ...
15744 (my_continue): ... this.
15745 (step_ten_loops): Change parameter from test message to command to
15746 use. Adjust.
15747 (list_count): Delete global.
15748 (check_result): New procedure, factored out from duplicate top
15749 level code.
15750 (continue tests): Wrap in with_test_prefix.
15751 (test_step): New procedure, factored out from duplicate top level
15752 code.
15753 (top level): Test "step" in combination with all scheduler-locking
15754 modes. Test "next" in combination with all scheduler-locking
15755 modes, and in combination with stepping over a function call or
15756 not.
15757 * gdb.threads/next-bp-other-thread.c: New file.
15758 * gdb.threads/next-bp-other-thread.exp: New file.
15759
15760 2014-10-29 Pedro Alves <palves@redhat.com>
15761
15762 PR python/17372
15763 * gdb.python/python.exp: Test a multi-line command that spawns
15764 interactive Python.
15765 * gdb.base/multi-line-starts-subshell.exp: New file.
15766
15767 2014-10-29 Yao Qi <yao@codesourcery.com>
15768
15769 * gdb.base/fileio.exp: Make directories on host.
15770
15771 2014-10-29 Yao Qi <yao@codesourcery.com>
15772
15773 * gdb.base/fileio.c (test_write): Close the file.
15774
15775 2014-10-28 Pedro Alves <palves@redhat.com>
15776
15777 PR gdb/12623
15778 * gdb.base/sigstep.c (no_handler): New global.
15779 (main): If 'no_handler is true, set the signal handlers to
15780 SIG_IGN.
15781 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
15782 with_sw_watch and no_handler parameters. Handle them.
15783 (top level) <stepping over handler when stopped at a breakpoint
15784 test>: Add a test axis for testing with a software watchpoint, and
15785 another for testing with the signal handler set to SIG_IGN.
15786 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
15787 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
15788
15789 2014-10-28 Pedro Alves <palves@redhat.com>
15790
15791 PR gdb/17511
15792 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
15793 * gdb.base/sigstep.exp (other_handler_location): New global.
15794 (advance): Support stepping into the signal handler, and running
15795 commands while in the handler.
15796 (in_handler_map): New global.
15797 (top level): In the advance test, add combinations for getting
15798 into the handler with stepping commands, and for running commands
15799 in the handler. Add comment descripting the advancei tests.
15800
15801 2014-10-28 Pedro Alves <palves@redhat.com>
15802
15803 * gdb.base/sigstep.exp: Use build_executable instead of
15804 prepare_for_testing.
15805 (top level): Move code that starts GDB, runs to main and creates a
15806 display to ...
15807 (restart): ... this new procedure.
15808 (top level): Move backtrace from signal handler test to ...
15809 (validate_backtrace): ... this new procedure.
15810 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
15811 with_test_prefix. Always restart GDB.
15812 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
15813 with_test_prefix. Always restart GDB. No need to delete
15814 breakpoints after the test.
15815 (test_skip_handler): Remove prefix parameter.
15816 (skip_over_handler, breakpoint_to_handler)
15817 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
15818 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
15819 restart GDB. No need to delete breakpoints after the test.
15820 (top level): Use foreach to call the test procedures with
15821 different commands.
15822
15823 2014-10-28 Pedro Alves <palves@redhat.com>
15824
15825 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
15826 instead of GNATS numbers.
15827 * gdb.base/sigbpt.exp: Likewise.
15828 * gdb.base/siginfo.exp: Likewise.
15829 * gdb.base/sigstep.exp: Likewise.
15830
15831 2014-10-27 Pedro Alves <palves@redhat.com>
15832
15833 * gdb.base/sigstep.c (dummy): New global.
15834 (main): Issue a couple writes to the new global.
15835 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
15836 procedures.
15837 (skip_over_handler): Use test_skip_handler.
15838 (top level): Call skip_over_handler for stepi and nexti too.
15839 (breakpoint_over_handler): Use test_skip_handler.
15840 (top level): Call breakpoint_over_handler for stepi and nexti too.
15841
15842 2014-10-27 Yao Qi <yao@codesourcery.com>
15843
15844 * gdb.trace/tfile.c (adjust_function_address)
15845 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
15846 function descriptor.
15847
15848 2014-10-24 Don Breazeal <donb@codesourcery.com>
15849
15850 * gdb.base/foll-fork.exp (test_follow_fork,
15851 catch_fork_child_follow): Check for updated fork messages emitted
15852 from infrun.c.
15853 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
15854 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
15855 vfork_and_exec_child_follow_through_step): Check for updated vfork
15856 messages emitted from infrun.c.
15857
15858 2014-10-24 Pedro Alves <palves@redhat.com>
15859
15860 * gdb.base/corefile.exp: Remove references to ultrix.
15861 * gdb.base/interrupt.exp: Likewise.
15862 * gdb.base/whatis.exp: Likewise.
15863 * gdb.gdb/selftest.exp: Likewise.
15864 * gdb.threads/manythreads.exp: Likewise.
15865 * gdb.threads/print-threads.exp: Likewise.
15866 * gdb.threads/pthreads.exp:: Likewise.
15867 * gdb.threads/schedlock.exp: Likewise.
15868
15869 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
15870
15871 * gdb.cp/non-trivial-retval.cc: Add a test case.
15872 * gdb.cp/non-trivial-retval.exp: Add a test.
15873
15874 2014-10-20 Yao Qi <yao@codesourcery.com>
15875
15876 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
15877 * gdb.python/py-objfile-script-gdb.py: New file.
15878 * gdb.python/py-objfile-script.exp: Update reference to
15879 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
15880 of remote_download. Remove the dest file.
15881
15882 2014-10-20 Yao Qi <yao@codesourcery.com>
15883
15884 * gdb.base/checkpoint.exp: Don't remove file copied on host.
15885 * gdb.base/step-line.exp: Likewise.
15886 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
15887 * gdb.dwarf2/dw2-basic.exp: Likewise.
15888 * gdb.dwarf2/dw2-compressed.exp: Likewise.
15889 * gdb.dwarf2/dw2-filename.exp: Likewise.
15890 * gdb.dwarf2/dw2-intercu.exp: Likewise.
15891 * gdb.dwarf2/dw2-intermix.exp: Likewise.
15892 * gdb.dwarf2/dw2-producer.exp: Likewise.
15893 * gdb.dwarf2/mac-fileno.exp: Likewise.
15894 * gdb.python/py-frame-args.exp: Likewise.
15895 * gdb.python/py-framefilter.exp: Likewise.
15896 * gdb.python/py-mi.exp: Likewise.
15897 * gdb.python/py-objfile-script.exp: Likewise
15898 * gdb.python/py-pp-integral.exp: Likewise.
15899 * gdb.python/py-pp-re-notag.exp: Likewise.
15900 * gdb.python/py-prettyprint.exp: Likewise.
15901 * gdb.python/py-section-script.exp: Likewise.
15902 * gdb.python/py-typeprint.exp: Likewise.
15903 * gdb.python/py-xmethods.exp: Likewise.
15904 * gdb.stabs/weird.exp: Likewise.
15905 * gdb.xml/tdesc-regs.exp: Likewise.
15906
15907 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
15908
15909 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
15910 (out_cu): Use addr_len for the size of addresses.
15911 (out_line): Likewise. Size DW_LNE_set_address instruction
15912 according to addr_len.
15913 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
15914 (FUNC): Add START_INSNS to definition.
15915
15916 2014-10-18 Yao Qi <yao@codesourcery.com>
15917
15918 * gdb.base/argv0-symlink.exp: Check argv[0] value if
15919 gdb_has_argv0 return true.
15920 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
15921 check [target_info exists noargs], check [gdb_has_argv0]
15922 instead.
15923 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
15924 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
15925 procedures.
15926
15927 2014-10-17 Doug Evans <dje@google.com>
15928
15929 * gdb.python/py-events.exp: Update expected output for clear_objfiles
15930 event.
15931 * gdb.python/py-events.py: Add clear_objfiles event.
15932
15933 2014-10-17 Doug Evans <dje@google.com>
15934
15935 * gdb.python/py-objfile.exp: Test progspace attribute.
15936
15937 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
15938
15939 * gdb.guile/scm-breakpoint.exp: Do not assume any
15940 directory separators when matching source file paths.
15941 * gdb.python/py-breakpoint.exp: Likewise.
15942 * gdb.reverse/break-precsave.exp: Likewise.
15943 * gdb.reverse/break-reverse.exp: Likewise.
15944 * gdb.reverse/consecutive-precsave.exp: Likewise.
15945 * gdb.reverse/finish-precsave.exp: Likewise.
15946 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
15947 * gdb.reverse/finish-reverse.exp: Likewise.
15948 * gdb.reverse/i386-precsave.exp: Likewise.
15949 * gdb.reverse/i387-env-reverse.exp: Likewise.
15950 * gdb.reverse/i387-stack-reverse.exp: Likewise.
15951 * gdb.reverse/machinestate-precsave.exp: Likewise.
15952 * gdb.reverse/machinestate.exp: Likewise.
15953 * gdb.reverse/sigall-precsave.exp: Likewise.
15954 * gdb.reverse/solib-precsave.exp: Likewise.
15955 * gdb.reverse/step-precsave.exp: Likewise.
15956 * gdb.reverse/until-precsave.exp: Likewise.
15957 * gdb.reverse/watch-precsave.exp: Likewise.
15958 * gdb.reverse/watch-reverse.exp: Likewise.
15959
15960 2014-10-17 Yao Qi <yao@codesourcery.com>
15961
15962 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
15963 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
15964
15965 2014-10-17 Pedro Alves <palves@redhat.com>
15966
15967 PR gdb/17471
15968 * gdb.base/bg-execution-repeat.c: New file.
15969 * gdb.base/bg-execution-repeat.exp: New file.
15970
15971 2014-10-17 Pedro Alves <palves@redhat.com>
15972
15973 PR gdb/17300
15974 * gdb.base/continue-all-already-running.c: New file.
15975 * gdb.base/continue-all-already-running.exp: New file.
15976
15977 2014-10-17 Pedro Alves <palves@redhat.com>
15978
15979 PR gdb/17472
15980 * gdb.base/annota-input-while-running.c: New file.
15981 * gdb.base/annota-input-while-running.exp: New file.
15982
15983 2014-10-17 Pedro Alves <palves@redhat.com>
15984
15985 * gdb.base/callfuncs.exp: emove references to osf.
15986 * gdb.base/sigall.exp: Likewise.
15987 * gdb.gdb/selftest.exp: Likewise.
15988 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
15989 * gdb.mi/non-stop.c: Likewise.
15990 * gdb.mi/pthreads.c: Likewise.
15991 * gdb.reverse/sigall-precsave.exp: Likewise.
15992 * gdb.reverse/sigall-reverse.exp: Likewise.
15993 * gdb.threads/pthreads.c: Likewise.
15994 * gdb.threads/pthreads.exp: Likewise.
15995
15996 2014-10-17 Yao Qi <yao@codesourcery.com>
15997
15998 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
15999 check 'target_info exists noargs'.
16000 (test_command_prompt_position): Likewise.
16001 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
16002 Remove "set args".
16003 (progvar_simple_while_test): Likewise.
16004 (progvar_complex_if_while_test): Likewise.
16005 (if_while_breakpoint_command_test): Likewise.
16006 (infrun_breakpoint_command_test): Likewise.
16007 (breakpoint_command_test): Likewise.
16008 (watchpoint_command_test): Likewise.
16009 (bp_deleted_in_command_test): Likewise.
16010 (temporary_breakpoint_commands): Likewise.
16011
16012 2014-10-16 Yao Qi <yao@codesourcery.com>
16013
16014 * gdb.base/remotetimeout.exp: Remove noargs checking.
16015
16016 2014-10-15 Pedro Alves <palves@redhat.com>
16017
16018 PR breakpoints/9649
16019 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
16020 * gdb.base/breakpoint-in-ro-region.exp
16021 (probe_target_hardware_step): New procedure.
16022 (top level): Probe hardware stepping and hardware breakpoint
16023 support. Test stepping through a read-only region, with both
16024 "breakpoint auto-hw" on and off and both "always-inserted" on and
16025 off.
16026
16027 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
16028
16029 * gdb.dlang/demangle.exp: Update for demangling changes.
16030
16031 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
16032
16033 * gdb.cp/non-trivial-retval.cc: Add new test cases.
16034 * gdb.cp/non-trivial-retval.exp: Add new tests.
16035
16036 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
16037
16038 PR c++/13403
16039 PR c++/15154
16040 * gdb.cp/non-trivial-retval.cc: New file.
16041 * gdb.cp/non-trivial-retval.exp: New file.
16042
16043 2014-10-15 Yao Qi <yao@codesourcery.com>
16044
16045 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
16046 remote host.
16047
16048 2014-10-15 Yao Qi <yao@codesourcery.com>
16049
16050 * gdb.python/py-symbol.exp: Match file base name if host is
16051 remote, otherwise match file name with dir name.
16052 * gdb.python/py-symtab.exp: Likewise.
16053 * gdb.python/python.exp: Likewise.
16054
16055 2014-10-15 Yao Qi <yao@codesourcery.com>
16056
16057 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
16058 pattern.
16059 * gdb.python/py-symtab.exp: Likewise.
16060 * gdb.python/python.exp: Remove trailing ".*". Fix typo
16061 locationn.
16062
16063 2014-10-14 Joel Brobecker <brobecker@adacore.com>
16064
16065 * gdb.ada/addr_arith: New testcase.
16066
16067 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
16068
16069 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
16070 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
16071 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
16072 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
16073
16074 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
16075
16076 * gdb.arch/stap-eval-lang-ada.S: Likewise.
16077 * gdb.arch/stap-eval-lang-ada.c: Likewise.
16078 * gdb.arch/stap-eval-lang-ada.exp: New file.
16079
16080 2014-10-14 Yao Qi <yao@codesourcery.com>
16081
16082 * gdb.mi/mi-var-child.c (nothing1): New function.
16083 (nothing2): New function.
16084 (do_children_tests): Set function pointers by nothing1 and
16085 nothing2.
16086 * gdb.mi/mi-var-child.exp: Step over new added statements.
16087 Update test to match the new output.
16088 * gdb.mi/var-cmd.c (nothing1): New function.
16089 (nothing2): New function.
16090 (do_children_tests): Set function pointers by nothing1 and
16091 nothing2.
16092 * gdb.mi/mi-var-display.exp: Update test to match output.
16093 Step to the line specified by $line_dct_nothing.
16094 Increase the number of lines to step.
16095
16096 2014-10-14 Yao Qi <yao@codesourcery.com>
16097
16098 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
16099 tests.
16100 * gdb.mi/mi2-var-child.exp: Likewise.
16101
16102 2014-10-13 Doug Evans <dje@google.com>
16103
16104 * gdb.python/py-objfile.exp: Change name of file name test.
16105
16106 2014-10-13 Doug Evans <dje@google.com>
16107
16108 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
16109 from the start of the CU.
16110
16111 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
16112 Yao Qi <yao@codesourcery.com>
16113
16114 Fix "save breakpoints" for "catch" command.
16115 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
16116 Remove -nonewline. Match also the added "main" line.
16117
16118 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16119
16120 Fix "save breakpoints" for "disable $bpnum" command.
16121 * gdb.base/save-bp.c (main): Add label.
16122 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
16123
16124 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16125
16126 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
16127
16128 2014-10-11 Yao Qi <yao@codesourcery.com>
16129
16130 * gdb.server/server-kill.exp: Execute command
16131 "set remote trace-status-packet on" before "tstatus".
16132
16133 2014-10-11 Yao Qi <yao@codesourcery.com>
16134
16135 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
16136 (main): Call getppid.
16137 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
16138 and continue to it. Read variable "server_pid".
16139
16140 2014-10-11 Yao Qi <yao@codesourcery.com>
16141
16142 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
16143
16144 2014-10-11 Yao Qi <yao@codesourcery.com>
16145
16146 * gdb.threads/thread-find.exp: Don't execute command
16147 "info threads".
16148 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
16149 * gdb.threads/linux-dp.exp: Don't check the condition
16150 $threads_created equals to zero.
16151
16152 2014-10-10 Pedro Alves <palves@redhat.com>
16153
16154 * gdb.base/bigcore.exp: Remove references to IRIX.
16155 * gdb.base/funcargs.exp: Likewise.
16156 * gdb.base/interrupt.exp: Likewise.
16157 * gdb.base/mips_pro.exp: Likewise.
16158 * gdb.base/nodebug.exp: Likewise.
16159 * gdb.base/setvar.exp: Likewise.
16160 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
16161
16162 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
16163 Pedro Alves <palves@redhat.com>
16164
16165 PR symtab/14466
16166 * gdb.base/vdso-warning.c: New file.
16167 * gdb.base/vdso-warning.exp: New file.
16168
16169 2014-10-02 Doug Evans <dje@google.com>
16170
16171 * gdb.base/structs.c (main): Don't run forever.
16172
16173 2014-10-02 Pedro Alves <palves@redhat.com>
16174
16175 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
16176 (top level) <stop threads 1, stop threads 2>: Use it.
16177
16178 2014-10-02 Pedro Alves <palves@redhat.com>
16179
16180 * gdb.threads/break-while-running.exp (test): Add new
16181 'update_thread_list' argument. Skip "info threads" if false.
16182 (top level): Add new 'update_thread_list' axis.
16183
16184 2014-10-02 Pedro Alves <palves@redhat.com>
16185
16186 PR breakpoints/17431
16187 * gdb.base/execl-update-breakpoints.c: New file.
16188 * gdb.base/execl-update-breakpoints.exp: New file.
16189
16190 2014-10-01 Pedro Alves <palves@redhat.com>
16191
16192 * gdb.base/breakpoint-in-ro-region.c: New file.
16193 * gdb.base/breakpoint-in-ro-region.exp: New file.
16194
16195 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
16196
16197 * gdb.mi/mi-exit-code.exp: New file.
16198 * gdb.mi/mi-exit-code.c: New file.
16199
16200 2014-09-30 Yao Qi <yao@codesourcery.com>
16201
16202 * lib/prelink-support.exp (build_executable_own_libs): Error if
16203 the target isn't native.
16204
16205 2014-09-30 Yao Qi <yao@codesourcery.com>
16206
16207 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
16208 false.
16209
16210 2014-09-22 Pedro Alves <palves@redhat.com>
16211
16212 * gdb.threads/break-while-running.exp: New file.
16213 * gdb.threads/break-while-running.c: New file.
16214
16215 2014-09-19 Yao Qi <yao@codesourcery.com>
16216
16217 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
16218 Invoke test. Restart GDB with --readnow and invoke test again.
16219
16220 2014-09-19 Yao Qi <yao@codesourcery.com>
16221
16222 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
16223 proc set_breakpoint_on_gcd_function. Invoke
16224 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
16225 invoke set_breakpoint_on_gcd_function again.
16226
16227 2014-09-18 Doug Evans <dje@google.com>
16228
16229 * gdb.dwarf2/symtab-producer.exp: New file.
16230
16231 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
16232
16233 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
16234 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
16235 * gdb.base/global-var-nested-by-dso.c: Likewise.
16236 * gdb.base/global-var-nested-by-dso.exp: Likewise.
16237
16238 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
16239 Pedro Alves <palves@redhat.com>
16240
16241 * gdb.base/watch-bitfields.exp: Pass string other than test file
16242 name to prepare_for_testing.
16243 (watch): New procedure.
16244 (expect_watchpoint): Use with_test_prefix.
16245 (top level): Factor out tests to ...
16246 (test_watch_location, test_regular_watch): ... these new
16247 procedures, and use with_test_prefix and gdb_continue_to_end.
16248
16249 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
16250
16251 PR breakpoints/12526
16252 * gdb.base/watch-bitfields.exp: New file.
16253 * gdb.base/watch-bitfields.c: New file.
16254
16255 2014-09-16 Pedro Alves <palves@redhat.com>
16256
16257 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
16258 software and hardware addresses, not software address against
16259 itself.
16260
16261 2014-09-16 Pedro Alves <palves@redhat.com>
16262
16263 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
16264 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
16265
16266 2014-09-16 Pedro Alves <palves@redhat.com>
16267
16268 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
16269 files.
16270 * gdb.base/a2-run.exp: Remove all code guarded by istarget
16271 "*-*-vxworks*" throughout.
16272 * gdb.base/break.exp: Likewise.
16273 * gdb.base/default.exp: Likewise.
16274 * gdb.base/scope.exp: Likewise.
16275 * gdb.base/sepdebug.exp: Likewise.
16276 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
16277 throughout.
16278 * gdb.base/run.c: Likewise.
16279 * gdb.base/sepdebug.c: Likewise.
16280 * gdb.hp/gdb.aCC/run.c: Likewise.
16281 * gdb.reverse/until-reverse.c: Likewise.
16282 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
16283
16284 2014-09-16 Yao Qi <yao@codesourcery.com>
16285
16286 * boards/local-remote-host-native.exp: New file.
16287
16288 2014-09-14 Doug Evans <xdje42@gmail.com>
16289
16290 * gdb.threads/queue-signal.c (thread_count): New variable.
16291 (thread_count_mutex, thread_count_condvar): New variables.
16292 (incr_thread_count, wait_all_threads_running): New functions.
16293 (main): Wait for all threads to be in their thread functions.
16294
16295 2014-09-13 Doug Evans <xdje42@gmail.com>
16296
16297 * gdb.threads/queue-signal.c: New file.
16298 * gdb.threads/queue-signal.exp: New file.
16299
16300 2014-09-13 Doug Evans <xdje42@gmail.com>
16301
16302 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
16303 be consistent with what default_gdb_init uses.
16304 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
16305 the plain text of the prompt. Add some logging printfs.
16306 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
16307
16308 2014-09-12 Pedro Alves <palves@redhat.com>
16309
16310 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
16311 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
16312 * gdb.arch/i386-size-overlap.exp: Likewise.
16313 * gdb.arch/i386-size.exp: Likewise.
16314 * gdb.arch/i386-unwind.exp: Likewise.
16315 * gdb.base/a2-run.exp: Likewise.
16316 * gdb.base/break.exp: Likewise.
16317 * gdb.base/charset.exp: Likewise.
16318 * gdb.base/chng-syms.exp: Likewise.
16319 * gdb.base/commands.exp: Likewise.
16320 * gdb.base/dbx.exp: Likewise.
16321 * gdb.base/find.exp: Likewise.
16322 * gdb.base/funcargs.exp: Likewise.
16323 * gdb.base/jit-simple.exp: Likewise.
16324 * gdb.base/reread.exp: Likewise.
16325 * gdb.base/sepdebug.exp: Likewise.
16326 * gdb.base/step-bt.exp: Likewise.
16327 * gdb.cp/mb-inline.exp: Likewise.
16328 * gdb.cp/mb-templates.exp: Likewise.
16329 * gdb.objc/basicclass.exp: Likewise.
16330 * gdb.threads/killed.exp: Likewise.
16331
16332 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16333
16334 PR tdep/17379
16335 * gdb.arch/powerpc-stackless.S: New file.
16336 * gdb.arch/powerpc-stackless.exp: New file.
16337
16338 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16339
16340 * gdb.base/attach.c: Include unistd.h.
16341 (main): Call alarm. Add label postloop.
16342 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
16343 gdb_breakpoint, gdb_continue_to_breakpoint.
16344 (test_command_line_attach_run): Kill ${testpid} in one exit path.
16345
16346 2014-09-11 Pedro Alves <palves@redhat.com>
16347
16348 PR gdb/17347
16349 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
16350 * gdb.base/attach.exp (test_command_line_attach_run): New
16351 procedure.
16352 (top level): Call it.
16353
16354 2014-09-11 Pedro Alves <palves@redhat.com>
16355
16356 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
16357 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
16358 (do_command_attach_tests): Use spawn_wait_for_attach.
16359 * gdb.base/solib-overlap.exp: Likewise.
16360 * gdb.multi/multi-attach.exp: Likewise.
16361 * gdb.python/py-prompt.exp: Likewise.
16362 * gdb.python/py-sync-interp.exp: Likewise.
16363 * gdb.server/ext-attach.exp: Likewise.
16364
16365 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
16366
16367 * gdb.fortran/array-element.exp: Remove unexpected "continue"
16368 command in testcase. Simplify testcase.
16369
16370 2014-09-10 Joel Brobecker <brobecker@adacore.com>
16371
16372 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
16373
16374 2014-09-10 Joel Brobecker <brobecker@adacore.com>
16375
16376 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
16377
16378 2014-09-10 Joel Brobecker <brobecker@adacore.com>
16379
16380 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
16381
16382 2014-09-10 Joel Brobecker <brobecker@adacore.com>
16383
16384 * gdb.dwarf2/dynarr-ptr.c: New file.
16385 * gdb.dwarf2/dynarr-ptr.exp: New file.
16386
16387 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16388
16389 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
16390 of 30 rather than hardcoding 120 for a slow test case. Take the
16391 `gdb,timeout' target setting into account for this calculation.
16392 Don't extend the timeout for the test cases that don't need it.
16393
16394 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16395
16396 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
16397 a factor of 2 for a slow test case. Take the `gdb,timeout'
16398 target setting into account for this calculation.
16399 * gdb.reverse/until-precsave.exp: Increase the timeout by
16400 a factor of 15 and 3 respectively rather than adding 120
16401 for a pair of slow test cases. Take the `gdb,timeout'
16402 target setting into account for this calculation.
16403
16404 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16405
16406 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
16407 timeout, don't pass one down to gdb_expect.
16408 (gdb_expect): Rework timeout selection.
16409
16410 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16411
16412 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
16413 exception on timeout.
16414 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
16415 (gdbserver_start_extended): Catch any `gdbserver_start' error
16416 exceptions.
16417 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
16418 * lib/mi-support.exp (mi_gdb_target_load): Catch any
16419 `gdbserver_gdb_load' error exceptions.
16420
16421 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16422
16423 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
16424 120 on waiting for the TCP socket to open.
16425
16426 2014-09-09 Doug Evans <xdje42@gmail.com>
16427
16428 * gdb.base/default.exp (show_conv_list): Add _caller_is,
16429 _caller_matches, _any_caller_is, _any_caller_matches.
16430
16431 2014-09-09 Doug Evans <xdje42@gmail.com>
16432
16433 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
16434
16435 2014-09-09 Yao Qi <yao@codesourcery.com>
16436
16437 * gdb.mi/mi-var-display.exp: Set print symbol off.
16438
16439 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
16440
16441 PR gdb/17035
16442 * gdb.base/commands.exp: Add tests to verify user-defined
16443 commands with empty bodies.
16444 * gdb.python/py-cmd.exp: Test that we don't show user-defined
16445 python commands in `show user command`.
16446 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
16447 scheme commands in `show user command`.
16448
16449 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16450
16451 PR python/17355
16452 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
16453 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
16454 * gdb.python/py-framefilter-invalidarg.exp: New file.
16455 * gdb.python/py-framefilter-invalidarg.py: New file.
16456
16457 2014-09-06 Doug Evans <xdje42@gmail.com>
16458
16459 PR 15276
16460 * gdb.python/py-caller-is.c: New file.
16461 * gdb.python/py-caller-is.exp: New file.
16462
16463 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
16464
16465 PR gdb/17235
16466 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
16467 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
16468
16469 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
16470
16471 PR fortran/17237
16472 * gdb.fortran/print-formatted.exp: New file.
16473 * gdb.fortran/print-formatted.f90: Likewise.
16474
16475 2014-09-03 Sasha Smundak <asmundak@google.com>
16476
16477 * gdb.python/py-frame.exp: Test Frame.read_register.
16478
16479 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
16480
16481 PR python/16699
16482 * gdb.python/py-completion.exp: New file.
16483 * gdb.python/py-completion.py: Likewise.
16484
16485 2014-08-28 Doug Evans <dje@google.com>
16486
16487 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
16488 eax,etc. are live with values set by gdb and thus the compiler can't
16489 use them.
16490 * gdb.arch/i386-pseudo.c (main): Ditto.
16491
16492 2014-08-27 Doug Evans <dje@google.com>
16493
16494 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
16495
16496 2014-08-25 Doug Evans <dje@google.com>
16497
16498 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
16499 (main): Ditto.
16500
16501 2014-08-25 Doug Evans <dje@google.com>
16502
16503 * gdb.threads/thread-execl.exp: #include <stdio.h>.
16504
16505 2014-08-24 Yao Qi <yao@codesourcery.com>
16506
16507 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
16508 symbol off.
16509 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
16510
16511 2014-08-22 Doug Evans <dje@google.com>
16512
16513 PR 17276
16514 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
16515 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
16516 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
16517
16518 2014-08-22 Yao Qi <yao@codesourcery.com>
16519
16520 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
16521 * gdb.python/py-finish-breakpoint2.exp: Likewise.
16522 * gdb.python/python.exp: Likewise. Use .py file on the host
16523 instead of the build.
16524
16525 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16526
16527 * gdb.threads/gcore-stale-thread.c: New file.
16528 * gdb.threads/gcore-stale-thread.exp: New file.
16529
16530 2014-08-21 Pedro Alves <palves@redhat.com>
16531
16532 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
16533 * gdb.base/gcore-relro-pie.exp: Likewise.
16534 * gdb.base/gcore-relro.exp: Likewise.
16535 * gdb.base/gcore.exp: Likewise.
16536 * gdb.base/print-symbol-loading.exp: Likewise.
16537 * gdb.threads/gcore-thread.exp: Likewise.
16538 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
16539
16540 2014-08-20 Pedro Alves <palves@redhat.com>
16541 Jan Kratochvil <jan.kratochvil@redhat.com>
16542
16543 * Makefile.in (EXTRA_RULES, CC): New variables, get from
16544 configure.
16545 (EXPECT): Handle READ1 being set.
16546 (all): Depend on EXTRA_RULES.
16547 (check-read1, expect-read1, read1.so, read1): New rules.
16548 * README (Testsuite Parameters): Document the READ1 make variable.
16549 (Race detection): New section.
16550 * configure: Regenerate.
16551 * configure.ac: If build==host==target, and running under a
16552 GNU/glibc system, add read1 to the extra Makefile rules.
16553 (EXTRA_RULES): AC_SUBST it.
16554 * lib/read1.c: New file.
16555
16556 2014-08-20 Joel Brobecker <brobecker@adacore.com>
16557
16558 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
16559 the handling of variables declared as a typedef to an array
16560 which a DW_AT_data_location attribute.
16561
16562 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
16563 Pedro Alves <palves@redhat.com>
16564
16565 PR symtab/14604
16566 PR symtab/14605
16567 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
16568 gdb_test.
16569
16570 2014-08-19 Pedro Alves <palves@redhat.com>
16571
16572 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
16573
16574 2014-08-19 Yao Qi <yao@codesourcery.com>
16575
16576 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
16577 right line.
16578
16579 2014-08-18 David Blaikie <dblaikie@gmail.com>
16580
16581 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
16582
16583 2014-08-18 Joel Brobecker <brobecker@adacore.com>
16584
16585 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
16586 attribute in array range.
16587
16588 2014-08-18 Joel Brobecker <brobecker@adacore.com>
16589
16590 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
16591
16592 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
16593
16594 PR c++/17132
16595 * gdb.cp/pr17132.cc: New file.
16596 * gdb.cp/pr17132.exp: New file.
16597
16598 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
16599
16600 * gdb.python/py-xmethods.py (A_getarrayind)
16601 (E_method_char_worker.__call__, E_method_int_worker.__call__):
16602 Use 'print' with function call syntax.
16603 (E_method_matcher.match): Fix tab vs space indentation mixup.
16604
16605 2014-08-15 Yao Qi <yao@codesourcery.com>
16606
16607 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
16608 false.
16609
16610 2014-08-15 Yao Qi <yao@codesourcery.com>
16611
16612 * gdb.cp/casts.exp: Set print symbol off.
16613 * gdb.cp/class2.exp: Likewise.
16614 * gdb.cp/overload.exp: Likewise.
16615 * gdb.cp/templates.exp: Likewise.
16616
16617 2014-08-11 Doug Evans <dje@google.com>
16618
16619 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
16620 (test_load_shlib): Update.
16621
16622 2014-08-09 Yao Qi <yao@codesourcery.com>
16623
16624 * gdb.base/display.exp: Invoke is_address_zero_readable.
16625 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
16626 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
16627 * gdb.base/hbreak-unmapped.exp: Return if
16628 is_address_zero_readable returns true.
16629 * gdb.base/signest.exp: Likewise.
16630 * gdb.base/signull.exp: Likewise.
16631 * gdb.base/sigbpt.exp: Likewise.
16632 * gdb.guile/scm-disasm.exp: Do the test if
16633 is_address_zero_readable returns false.
16634 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
16635 * gdb.python/py-arch.exp: Likewise.
16636 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
16637 * lib/gdb.exp (is_address_zero_readable): New proc.
16638
16639 2014-08-09 Yao Qi <yao@codesourcery.com>
16640
16641 PR testsuite/13443
16642 * gdb.mi/mi-var-display.exp: Make test messages unique.
16643
16644 2014-08-04 Tom Tromey <tromey@redhat.com>
16645
16646 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
16647 target 0".
16648
16649 2014-08-04 Tom Tromey <tromey@redhat.com>
16650
16651 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
16652 "target_resume".
16653
16654 2014-08-01 Joel Brobecker <brobecker@adacore.com>
16655
16656 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
16657 inner_vla_struct_object_size.
16658 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
16659 as xfail.
16660
16661 2014-07-30 Pedro Alves <palves@redhat.com>
16662
16663 * gdb.threads/signal-command-handle-nopass.exp (test): Add
16664 comment.
16665
16666 2014-07-29 Yao Qi <yao@codesourcery.com>
16667
16668 PR gdb/17206
16669 * gdb.base/until-nodebug.exp: New.
16670
16671 2014-07-28 Doug Evans <xdje42@gmail.com>
16672
16673 PR guile/17203
16674 * gdb.guile/scm-parameter.exp: Add tests for trying to create
16675 previously existing parameter, and previously ambiguously spelled
16676 parameter.
16677
16678 2014-07-28 Will Newton <will.newton@linaro.org>
16679
16680 * gdb.base/varargs.exp: Remove KFAILs for ARM.
16681
16682 2014-07-26 Ludovic Courtès <ludo@gnu.org>
16683 Doug Evans <xdje42@gmail.com>
16684
16685 PR guile/17146
16686 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
16687
16688 2014-07-25 Pedro Alves <palves@redhat.com>
16689
16690 * gdb.threads/signal-command-handle-nopass.c: New file.
16691 * gdb.threads/signal-command-handle-nopass.exp: New file.
16692 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
16693 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
16694 * gdb.threads/signal-delivered-right-thread.c: New file.
16695 * gdb.threads/signal-delivered-right-thread.exp: New file.
16696
16697 2014-07-25 Pedro Alves <palves@redhat.com>
16698
16699 * gdb.base/double-prompt-target-event-error.exp
16700 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
16701 match.
16702 (cancel_pagination_in_target_event): Rework double prompt
16703 detection.
16704 * gdb.base/paginate-after-ctrl-c-running.exp
16705 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
16706 <return>' match.
16707 * gdb.base/paginate-bg-execution.exp
16708 (test_bg_execution_pagination_return)
16709 (test_bg_execution_pagination_cancel): Remove '-notransfer
16710 <return>' matches.
16711 * gdb.base/paginate-execution-startup.exp
16712 (test_fg_execution_pagination_return)
16713 (test_fg_execution_pagination_cancel): Remove '-notransfer
16714 <return>' matches.
16715 * gdb.base/paginate-inferior-exit.exp
16716 (test_paginate_inferior_exited): Remove '-notransfer <return>'
16717 match.
16718 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
16719 * lib/gdb.exp (pagination_prompt): Run text through
16720 string_to_regexp.
16721 (gdb_test_multiple): Match $pagination_prompt instead of
16722 "<return>".
16723 (string_to_regexp): Move to lib/gdb-utils.exp.
16724
16725 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16726
16727 * gdb.arch/amd64-entry-value-paramref.S: New file.
16728 * gdb.arch/amd64-entry-value-paramref.cc: New file.
16729 * gdb.arch/amd64-entry-value-paramref.exp: New file.
16730 * gdb.arch/amd64-optimout-repeat.S: New file.
16731 * gdb.arch/amd64-optimout-repeat.c: New file.
16732 * gdb.arch/amd64-optimout-repeat.exp: New file.
16733
16734 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
16735
16736 PR gdb/17170
16737 * gdb.base/statistics.exp: New file.
16738
16739 2014-07-17 Doug Evans <dje@google.com>
16740
16741 PR gdb/17170
16742 * gdb.base/maint.exp: Update testing of per-command stats.
16743
16744 2014-07-16 Pedro Alves <palves@redhat.com>
16745
16746 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
16747 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
16748 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
16749 (tfile_write_buf): New functions.
16750 (add_memory_block): Rewrite using the above.
16751 (adjust_function_address): New function.
16752 (FUNCTION_ADDRESS): New macro.
16753 (write_basic_trace_file): Remove short_x local, and use
16754 tfile_write_16. Change type of func_addr local to unsigned long
16755 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
16756 here. Cast argument of add_memory_block to char pointer.
16757 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
16758 (main): Remove parameters.
16759 * gdb.trace/tfile.exp: Remove nowarnings.
16760
16761 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
16762
16763 * gdb.base/debug-expr.exp: Test string evaluation with
16764 "debug expression" on.
16765
16766 2014-07-15 Pedro Alves <palves@redhat.com>
16767
16768 * gdb.base/reread.exp: Use clean_restart.
16769
16770 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
16771
16772 * gdb.arch/avr-flash-qualifer.c: New.
16773 * gdb.arch/avr-flash-qualifer.exp: New.
16774
16775 2014-07-14 Pedro Alves <palves@redhat.com>
16776
16777 * gdb.base/paginate-after-ctrl-c-running.c: New file.
16778 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
16779
16780 2014-07-14 Pedro Alves <palves@redhat.com>
16781
16782 * gdb.base/double-prompt-target-event-error.c: New file.
16783 * gdb.base/double-prompt-target-event-error.exp: New file.
16784
16785 2014-07-14 Pedro Alves <palves@redhat.com>
16786
16787 PR gdb/17072
16788 * gdb.base/paginate-inferior-exit.c: New file.
16789 * gdb.base/paginate-inferior-exit.exp: New file.
16790
16791 2014-07-14 Pedro Alves <palves@redhat.com>
16792
16793 PR gdb/17072
16794 * gdb.base/paginate-bg-execution.c: New file.
16795 * gdb.base/paginate-bg-execution.exp: New file.
16796
16797 2014-07-14 Pedro Alves <palves@redhat.com>
16798
16799 PR gdb/17072
16800 * gdb.base/paginate-execution-startup.c: New file.
16801 * gdb.base/paginate-execution-startup.exp: New file.
16802 * lib/gdb.exp (pagination_prompt): New global.
16803 (default_gdb_spawn): New procedure, factored out from
16804 default_gdb_spawn.
16805 (default_gdb_start): Adjust to call default_gdb_spawn.
16806 (gdb_spawn): New procedure.
16807
16808 2014-07-14 Pedro Alves <palves@redhat.com>
16809
16810 * lib/gdb.exp (gdb_assert): New procedure.
16811 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
16812
16813 2014-07-14 Pedro Alves <palves@redhat.com>
16814
16815 * gdb.base/execution-termios.c: New file.
16816 * gdb.base/execution-termios.exp: New file.
16817
16818 2014-07-14 Tom Tromey <tromey@redhat.com>
16819
16820 * gdb.cp/vla-cxx.cc: New file.
16821 * gdb.cp/vla-cxx.exp: New file.
16822
16823 2014-07-14 Tom Tromey <tromey@redhat.com>
16824
16825 * gdb.reverse/rerun-prec.c: New file.
16826 * gdb.reverse/rerun-prec.exp: New file.
16827
16828 2014-07-12 Maciej W. Rozycki <macro@mips.com>
16829 Maciej W. Rozycki <macro@codesourcery.com>
16830
16831 * lib/gdb-utils.exp: New file.
16832 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
16833 inline `gdb_init_command' processing.
16834 (gdb_start_cmd): Likewise.
16835 * lib/mi-support.exp (mi_run_cmd): Likewise.
16836 * README: Document `gdb_init_command' and `gdb_init_commands'.
16837
16838 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16839
16840 Fix false FAIL running under a very long directory name.
16841 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
16842 and "set print elements 10000". Twice.
16843
16844 2014-07-11 Yao Qi <yao@codesourcery.com>
16845
16846 * gdb.base/exprs.exp: "set print symbol off".
16847
16848 2014-07-11 Pedro Alves <palves@redhat.com>
16849
16850 * gdb.threads/kill.c: New file.
16851 * gdb.threads/kill.exp: New file.
16852
16853 2014-07-10 Yao Qi <yao@codesourcery.com>
16854
16855 * gdb.trace/tfile.c (write_basic_trace_file)
16856 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
16857 address written to trace file.
16858
16859 2014-07-09 Pedro Alves <palves@redhat.com>
16860
16861 * gdb.base/attach-wait-input.exp: New file.
16862 * gdb.base/attach-wait-input.c: New file.
16863
16864 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
16865
16866 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
16867 setting up test structures.
16868 (main): Call new test function.
16869 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
16870 test function, continue into test function and walk test
16871 structures.
16872
16873 2014-07-02 Yao Qi <yao@codesourcery.com>
16874
16875 * gdb.trace/entry-values.c: Define labels 'foo_start' and
16876 'bar_start' at the beginning of functions 'foo' and 'bar'
16877 respectively.
16878 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
16879 instead of 'foo' and 'bar'.
16880
16881 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
16882
16883 * gdb.btrace/segv.exp: New.
16884 * gdb.btrace/segv.c: New.
16885
16886 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
16887
16888 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
16889 instruction.
16890
16891 2014-06-30 Mark Wielaard <mjw@redhat.com>
16892
16893 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
16894 vulture, vilify, villar): New volatile array constants.
16895 (vindictive, vegetation): New const volatile array constants.
16896 * gdb.base/volatile.exp: Test volatile and const volatile array
16897 types.
16898
16899 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
16900
16901 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
16902 target lacks support for awatch, rwatch, or hbreak.
16903
16904 2014-06-27 Yao Qi <yao@codesourcery.com>
16905
16906 * gdb.multi/dummy-frame-restore.exp: New.
16907 * gdb.multi/dummy-frame-restore.c: New.
16908
16909 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
16910
16911 * gdb.btrace/gcore.exp: New.
16912
16913 2014-06-23 Pedro Alves <palves@redhat.com>
16914
16915 * gdb.base/watchpoint-reuse-slot.c: New file.
16916 * gdb.base/watchpoint-reuse-slot.exp: New file.
16917
16918 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
16919
16920 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
16921 progspace's filename in 'info', 'enable' and 'disable' command
16922 tests.
16923
16924 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
16925
16926 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
16927 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
16928 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
16929
16930 2014-06-20 Gary Benson <gbenson@redhat.com>
16931
16932 * gdb.arch/i386-avx.exp: Fix include file location.
16933 * gdb.arch/i386-sse.exp: Likewise.
16934
16935 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
16936
16937 * gdb.dlang/expression.exp: New file.
16938
16939 2014-06-19 Pedro Alves <palves@redhat.com>
16940
16941 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
16942 out from ...
16943 (top level): ... here. Iterate running tests under different
16944 scheduler-locking settings.
16945
16946 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
16947
16948 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
16949 to DW_FORM_addr and use non-zero addresses.
16950
16951 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
16952
16953 PR gdb/17017
16954 * gdb.python/py-xmethods.cc: Add global function call counters and
16955 increment them in their respective functions. Remove "cout"
16956 statements.
16957 * gdb.python/py-xmethods.exp: Make tests check the global function
16958 call counters instead of depending on inferior IO.
16959
16960 2014-06-18 Don Breazeal <donb@codesourcery.com>
16961
16962 * gdb.base/foll-fork.exp (default_fork_parent_follow):
16963 Deleted procedure.
16964 (explicit_fork_parent_follow): Deleted procedure.
16965 (explicit_fork_child_follow): Deleted procedure.
16966 (test_follow_fork): New procedure.
16967 (do_fork_tests): Replace calls to deleted procedures with
16968 calls to test_follow_fork and reset GDB for subsequent
16969 procedure calls.
16970
16971 2014-06-17 Yao Qi <yao@codesourcery.com>
16972
16973 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
16974 CP1252.
16975
16976 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
16977
16978 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
16979 Initialize ptr and S explicitly.
16980 (skip_type_update_when_not_use_rtti_test): Likewise.
16981
16982 2014-06-16 Keith Seitz <keiths@redhat.com>
16983
16984 PR mi/15863
16985 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
16986 the inferior is started.
16987
16988 2014-06-16 Pedro Alves <palves@redhat.com>
16989
16990 * gdb.base/break-main-file-remove-fail.c: New file.
16991 * gdb.base/break-main-file-remove-fail.exp: New file.
16992 * gdb.base/break-unload-file.exp: Use build_executable instead of
16993 prepare_for_testing.
16994 (test_break): New parameter "initial_load". Handle it.
16995 (top level): Add initial_load cmdline/file axis.
16996
16997 2014-06-12 Tom Tromey <tromey@redhat.com>
16998
16999 * gdb.base/completion.exp: Don't use directory name in test.
17000
17001 2014-06-09 Gary Benson <gbenson@redhat.com>
17002
17003 * gdb.base/sigall.c [Functions to send signals]: Reorder to
17004 separate the always-available ANSI-standard signals from the
17005 signals that require checking.
17006 (main): Likewise.
17007 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
17008 Likewise.
17009 (main): Likewise.
17010
17011 2014-06-07 Keith Seitz <keiths@redhat.com>
17012
17013 Revert:
17014 PR c++/16253
17015 * gdb.cp/var-tag.cc: New file.
17016 * gdb.cp/var-tag.exp: New file.
17017 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
17018 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
17019 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
17020 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
17021
17022 2014-06-06 Doug Evans <xdje42@gmail.com>
17023
17024 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
17025
17026 2014-06-06 Pedro Alves <palves@redhat.com>
17027
17028 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
17029 in target debug output instead of looking at RSP packets,
17030 disabling the test on any target that uses hardware stepping.
17031 Update comments.
17032
17033 2014-06-06 Pedro Alves <palves@redhat.com>
17034
17035 * gdb.base/break-unload-file.exp: Fix typo.
17036
17037 2014-06-06 Yao Qi <yao@codesourcery.com>
17038
17039 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
17040 from "jit_function" to "^jit_function".
17041
17042 2014-06-06 Yao Qi <yao@codesourcery.com>
17043
17044 * gdb.base/async.c (foo): Add one statement.
17045 * gdb.base/async.exp: Get the next instruction address and
17046 match the output of "nexti" by instruction address. Match
17047 the hex address in the output of "finish".
17048
17049 2014-06-06 Gary Benson <gbenson@redhat.com>
17050
17051 * gdb.base/call-signals.c: Remove preprocessor conditionals
17052 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
17053 SIGSEGV and SIGTERM.
17054 * gdb.base/sigall.c: Likewise.
17055 * gdb.base/unwindonsignal.c: Likewise.
17056 * gdb.reverse/sigall-reverse.c: Likewise.
17057
17058 2014-06-06 Yao Qi <yao@codesourcery.com>
17059
17060 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
17061 readable, skip the test.
17062
17063 2014-06-06 Yao Qi <yao@codesourcery.com>
17064
17065 * gdb.threads/staticthreads.c (thread_function): Move the line
17066 setting breakpoint on forward.
17067 * gdb.threads/staticthreads.exp: Update comments.
17068
17069 2014-06-05 Ludovic Courtès <ludo@gnu.org>
17070
17071 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
17072 "history-append! type error".
17073
17074 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
17075
17076 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
17077 erroneous dprintf expected input.
17078
17079 2014-06-04 Doug Evans <xdje42@gmail.com>
17080
17081 * gdb.guile/scm-generics.exp: Delete.
17082
17083 2014-06-04 Doug Evans <xdje42@gmail.com>
17084
17085 * gdb.guile/scm-breakpoint.exp: Update.
17086 Add tests for breakpoint registration.
17087
17088 2014-06-04 Tom Tromey <tromey@redhat.com>
17089
17090 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
17091 VLA-in-union.
17092 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
17093 inner_vla_struct, vla_union types. Initialize objects of those
17094 types and compute their sizes.
17095
17096 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
17097 Hui Zhu <hui@codesourcery.com>
17098
17099 * gdb.base/fileio.exp: Add test for shell not available as well as
17100 available.
17101 * gdb.base/fileio.c (test_system): Check for shell twice.
17102
17103 2014-06-04 Yao Qi <yao@codesourcery.com>
17104
17105 * gdb.base/auto-connect-native-target.exp: Remove redundant
17106 space from the regexp pattern.
17107
17108 2014-06-04 Yao Qi <yao@codesourcery.com>
17109
17110 * gdb.base/default.exp: Replace "child" with "native" in
17111 regexp pattern.
17112
17113 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
17114
17115 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
17116 * gdb.python/py-xmethods.exp: New tests to test xmethods.
17117 * gdb.python/py-xmethods.py: Python script supporting the
17118 new testcase and tests.
17119
17120 2014-06-03 Joel Brobecker <brobecker@adacore.com>
17121 Pedro Alves <palves@redhat.com>
17122
17123 PR breakpoints/17000
17124 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
17125 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
17126
17127 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
17128
17129 * gdb.base/subst.exp: Add tests to verify partial path matching
17130 output.
17131
17132 2014-06-03 Pedro Alves <palves@redhat.com>
17133
17134 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
17135 target that doesn't use software single-stepping.
17136
17137 2014-06-03 Pedro Alves <palves@redhat.com>
17138
17139 PR breakpoints/17000
17140 * gdb.base/sss-bp-on-user-bp-2.c: New file.
17141 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
17142
17143 2014-06-02 Doug Evans <xdje42@gmail.com>
17144
17145 * gdb.guile/scm-parameter.exp: New file.
17146
17147 2014-06-02 Doug Evans <xdje42@gmail.com>
17148
17149 * gdb.guile/scm-cmd.c: New file.
17150 * gdb.guile/scm-cmd.exp: New file.
17151
17152 2014-06-02 Doug Evans <xdje42@gmail.com>
17153
17154 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
17155 pretty-printer lookup.
17156 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
17157 (make-pp_s-printer): Call it.
17158 (make-pretty-printer-from-dict): New function.
17159 (lookup-pretty-printer-maker-from-dict): New function.
17160 (*pretty-printer*): Simplify.
17161 (make-objfile-pp_s-printer): New function.
17162 (install-objfile-pretty-printers!): New function.
17163 (make-progspace-pp_s-printer): New function.
17164 (install-progspace-pretty-printers!): New function.
17165 * gdb.guile/scm-progspace.c: New file.
17166 * gdb.guile/scm-progspace.exp: New file.
17167
17168 2014-06-02 Pedro Alves <palves@redhat.com>
17169
17170 * gdb.base/dprintf-bp-same-addr.c: New file.
17171 * gdb.base/dprintf-bp-same-addr.exp: New file.
17172
17173 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17174
17175 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
17176 * gdb.arch/powerpc-power.s: Likewise.
17177
17178 2014-06-02 Joel Brobecker <brobecker@adacore.com>
17179
17180 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
17181
17182 2014-06-01 Yao Qi <yao@codesourcery.com>
17183
17184 * gdb.base/watchpoint.exp (test_watch_location): Check null
17185 pointer can be dereferenced. If not, do the test, otherwise
17186 skip it.
17187
17188 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
17189
17190 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
17191 results.
17192 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
17193
17194 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
17195
17196 * gdb.arch/amd64-invalid-stack-middle.S: New file.
17197 * gdb.arch/amd64-invalid-stack-middle.c: New file.
17198 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
17199 * gdb.arch/amd64-invalid-stack-top.c: New file.
17200 * gdb.arch/amd64-invalid-stack-top.exp: New file.
17201
17202 2014-05-30 Pedro Alves <palves@redhat.com>
17203
17204 PR breakpoints/17000
17205 * gdb.base/sss-bp-on-user-bp.c: New file.
17206 * gdb.base/sss-bp-on-user-bp.exp: New file.
17207
17208 2014-05-30 David Blaikie <dblaikie@gmail.com>
17209
17210 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
17211 gnu_inline semantics via attribute.
17212 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
17213 source explicitly specifies the required semantics.
17214
17215 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
17216
17217 * gdb.reverse/sigall-reverse.exp: Fix a typo.
17218
17219 2014-05-29 Pedro Alves <palves@redhat.com>
17220 Tom Tromey <tromey@redhat.com>
17221
17222 * gdb.base/async-shell.exp: Don't enable target-async.
17223 * gdb.base/async.exp
17224 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
17225 parameter. Adjust.
17226 (top level): Don't test with "target-async".
17227 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
17228 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
17229 * gdb.base/inferior-died.exp: Don't enable target-async.
17230 * gdb.base/interrupt-noterm.exp: Likewise.
17231 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
17232 * gdb.mi/mi-nonstop-exit.exp: Likewise.
17233 * gdb.mi/mi-nonstop.exp: Likewise.
17234 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
17235 * gdb.mi/mi-nsintrall.exp: Likewise.
17236 * gdb.mi/mi-nsmoribund.exp: Likewise.
17237 * gdb.mi/mi-nsthrexec.exp: Likewise.
17238 * gdb.mi/mi-watch-nonstop.exp: Likewise.
17239 * gdb.multi/watchpoint-multi.exp: Adjust comment.
17240 * gdb.python/py-evsignal.exp: Don't enable target-async.
17241 * gdb.python/py-evthreads.exp: Likewise.
17242 * gdb.python/py-prompt.exp: Likewise.
17243 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
17244 * gdb.server/solib-list.exp: Don't enable target-async.
17245 * gdb.threads/thread-specific-bp.exp: Likewise.
17246 * lib/mi-support.exp: Adjust to use mi-async.
17247
17248 2014-05-29 Pedro Alves <palves@redhat.com>
17249
17250 PR gdb/13860
17251 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
17252 reason, even in sync mode.
17253
17254 2014-05-29 Pedro Alves <palves@redhat.com>
17255 Hui Zhu <hui@codesourcery.com>
17256
17257 PR PR15693
17258 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
17259 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
17260 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
17261 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
17262
17263 2014-05-28 Joel Brobecker <brobecker@adacore.com>
17264
17265 * config/monitor.exp (gdb_target_monitor): Replace use of
17266 "set remotebaud" by "set serial baud".
17267
17268 2014-05-26 Andy Wingo <wingo@igalia.com>
17269
17270 * gdb.guile/scm-breakpoint.exp:
17271 * gdb.guile/scm-gsmob.exp: Update to use plain old object
17272 properties instead of gdb-object-properties.
17273
17274 2014-05-26 Yao Qi <yao@codesourcery.com>
17275
17276 * gdb.server/no-thread-db.exp: Specify source file name
17277 explicitly when setting a breakpoint.
17278
17279 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17280
17281 * gdb.btrace/vdso.c: New.
17282 * gdb.btrace/vdso.exp: New.
17283
17284 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17285
17286 * gdb.base/gcore.exp (capture_command_output): Move ...
17287 * lib/gdb.exp (capture_command_output): ... here.
17288
17289 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17290
17291 * gdb.btrace/data.exp: Test memory access during btrace replay.
17292
17293 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
17294
17295 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
17296
17297 2014-05-21 Pedro Alves <palves@redhat.com>
17298
17299 PR gdb/13860
17300 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
17301 (top level): Test that output related to execution commands is
17302 sent to the console with CLI commands, but not with MI commands.
17303 Test that breakpoint events are always mirrored to the console.
17304 Also expect the new source line to be output after a "next" in
17305 async mode too. Make it a pass/fail test.
17306 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
17307 output.
17308 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
17309
17310 2014-05-21 Pedro Alves <palves@redhat.com>
17311
17312 * gdb.base/list.exp (build_pattern, test_list): New procedures.
17313 Use them to test variations of "list" after reaching a breakpoint.
17314 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
17315 Test "list" with listsize 10 after reaching a breakpoint.
17316 * gdb.python/python.exp (decode_line current location line
17317 number): Adjust expected line number.
17318
17319 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
17320
17321 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
17322 behavior for $args, pass it directly to "run".
17323
17324 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
17325
17326 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
17327 30000 to 65536.
17328
17329 2014-05-21 Pedro Alves <palves@redhat.com>
17330
17331 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
17332 auto-connect-native-target off".
17333 * gdb.base/auto-connect-native-target.c: New file.
17334 * gdb.base/auto-connect-native-target.exp: New file.
17335
17336 2014-05-21 Pedro Alves <palves@redhat.com>
17337
17338 * gdb.base/default.exp: Test "target native" instead of "target
17339 child".
17340
17341 2014-05-21 Mark Wielaard <mjw@redhat.com>
17342
17343 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
17344
17345 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17346
17347 Fix TLS access for -static -pthread.
17348 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
17349 <HAVE_TLS> (thread_function, main): Initialize it.
17350 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
17351 Add clean_restart.
17352 <$have_tls != "">: Check TLSVAR.
17353
17354 2014-05-21 Pedro Alves <palves@redhat.com>
17355
17356 * gdb.base/dcache-line-read-error.c: New.
17357 * gdb.base/dcache-line-read-error.exp: New.
17358
17359 2014-05-20 Pedro Alves <palves@redhat.com>
17360
17361 * gdb.base/compare-sections.c: New file.
17362 * gdb.base/compare-sections.exp: New file.
17363
17364 2014-05-20 Pedro Alves <palves@redhat.com>
17365
17366 * gdb.base/break-idempotent.c: New file.
17367 * gdb.base/break-idempotent.exp: New file.
17368
17369 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
17370
17371 * gdb.btrace/nohist.exp: New.
17372
17373 2014-05-20 Yao Qi <yao@codesourcery.com>
17374
17375 * lib/gdb.exp (gdb_init): Set timeout if test file is under
17376 gdb.reverse directory and gdb_reverse_timeout exists in board
17377 setting.
17378 * README: Document gdb_reverse_timeout.
17379
17380 2014-05-20 Yao Qi <yao@codesourcery.com>
17381
17382 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
17383 'test_file_name'. Treat args as a string instead of a list.
17384 (gdb_init): Rename argument 'args' by 'test_file_name'.
17385
17386 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
17387
17388 * gdb.arch/powerpc-power.exp: New file.
17389 * gdb.arch/powerpc-power.s: New file.
17390
17391 2014-05-16 Doug Evans <dje@google.com>
17392
17393 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
17394 * gdb.base/completion.exp: Check that all expected files exist
17395 before doing file completion.
17396
17397 2014-05-16 Doug Evans <dje@google.com>
17398
17399 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
17400 Update.
17401 (do_syscall_tests_without_xml): Update.
17402
17403 2014-05-16 Pedro Alves <palves@redhat.com>
17404
17405 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
17406 instead of "unknown output after running".
17407
17408 2014-05-16 Yao Qi <yao@codesourcery.com>
17409
17410 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
17411 file1.txt from host at the end.
17412 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
17413
17414 2014-05-15 Doug Evans <dje@google.com>
17415
17416 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
17417 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
17418 loading file. Add test for TU lookup.
17419
17420 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
17421
17422 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
17423 calling "-exec-arguments" or "set args" before running the
17424 inferior.
17425
17426 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
17427
17428 * lib/mi-support.exp (mi_expect_stop): Expect message for
17429 inferiors that exit with non-zero exit code.
17430
17431 2014-05-14 Yao Qi <yao@codesourcery.com>
17432
17433 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
17434 match absolute path on remote host.
17435 (test_file_list_exec_source_files): Remove "/" from the
17436 pattern.
17437
17438 2014-05-14 Yao Qi <yao@codesourcery.com>
17439
17440 * boards/local-remote-host-notty.exp (${board}_file): New
17441 proc.
17442
17443 2014-05-07 Kyle McMartin <kyle@redhat.com>
17444
17445 Pushed by Joel Brobecker <brobecker@adacore.com>.
17446 * gdb.arch/aarch64-atomic-inst.c: New file.
17447 * gdb.arch/aarch64-atomic-inst.exp: New file.
17448
17449 2014-05-07 Yao Qi <yao@codesourcery.com>
17450
17451 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
17452 in current context" too.
17453
17454 2014-05-05 Keith Seitz <keiths@redhat.com>
17455
17456 * gdb.linespec/ls-dollar.exp: Add test for linespec
17457 file:convenience_variable.
17458
17459 2014-05-05 Yao Qi <yao@codesourcery.com>
17460
17461 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
17462 traceframes into tfile and ctf trace files. Read data from
17463 trace file and test collected data.
17464 (gdb_collect_locals_test): Likewise.
17465 (gdb_unavailable_registers_test): Likewise.
17466 (gdb_unavailable_floats): Likewise.
17467 (gdb_collect_globals_test): Likewise.
17468 (top-level): Append "ctf" to trace_file_targets if GDB
17469 supports.
17470
17471 2014-05-05 Yao Qi <yao@codesourcery.com>
17472
17473 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
17474 code to ...
17475 (gdb_collect_args_test_1): ... it. New proc.
17476 (gdb_collect_locals_test): Move some code to ...
17477 (gdb_collect_locals_test_1): ... it. New proc.
17478 (gdb_unavailable_registers_test): Move some code to ...
17479 (gdb_unavailable_registers_test_1): ... it. New proc.
17480 (gdb_unavailable_floats): Move some code to ...
17481 (gdb_unavailable_floats_1): ... it. New proc.
17482
17483 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
17484
17485 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
17486 probes to test for bitness recognition.
17487 * gdb.arch/amd64-stap-optional-prefix.exp
17488 (test_probe_value_without_reg): New procedure.
17489 Add code to test for different kinds of bitness.
17490
17491 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
17492
17493 PR breakpoints/16889
17494 * gdb.arch/amd64-stap-optional-prefix.S: New file.
17495 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
17496
17497 2014-05-01 Pedro Alves <palves@redhat.com>
17498
17499 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
17500 gdb_file_cmd if no file is specified.
17501 * boards/native-extended-gdbserver.exp (gdb_load): Use the
17502 last_loaded_file to set the remote exec-file.
17503
17504 2014-05-01 Pedro Alves <palves@redhat.com>
17505
17506 * boards/local-remote-host.exp: New file.
17507
17508 2014-05-01 Pedro Alves <palves@redhat.com>
17509
17510 * boards/local-remote-host.exp: Rename to ...
17511 * boards/local-remote-host-notty.exp: ... this.
17512
17513 2014-04-28 Joel Brobecker <brobecker@adacore.com>
17514
17515 * gdb.ada/dyn_arrayidx: New testcase.
17516
17517 2014-04-26 Yao Qi <yao@codesourcery.com>
17518
17519 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
17520 and compute the length of function main. Save it in
17521 $main_length.
17522 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
17523 (top-level): Use gdb_compile to compile objects into
17524 executable and restart GDB. Remove invocation to
17525 prepare_for_testing.
17526
17527 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
17528 Pedro Alves <palves@redhat.com>
17529
17530 PR server/16255
17531 * gdb.multi/multi-attach.c: New file.
17532 * gdb.multi/multi-attach.exp: New file.
17533
17534 2014-04-25 Pedro Alves <palves@redhat.com>
17535
17536 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
17537 user.
17538 (top level): Test that "set remote conditional-breakpoints-packet
17539 off" works as intended.
17540 * gdb.base/dprintf.exp: Test that "set remote
17541 breakpoint-commands-packet off" works as intended.
17542 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
17543 New function.
17544 (top level): Call it.
17545 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
17546 remote fast-tracepoints-packet off" works as intended.
17547 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
17548 * lib/gdb.exp (gdb_is_target_remote): ... here.
17549
17550 2014-04-24 David Blaikie <dblaikie@gmail.com>
17551
17552 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
17553 ensure clang would not discard them.
17554 * gdb.base/gdbvars.c: Ditto.
17555 * gdb.base/memattr.c: Ditto.
17556 * gdb.base/whatis.c: Ditto.
17557 * gdb.python/py-prettyprint.c: Ditto.
17558 * gdb.trace/actions.c: Ditto.
17559 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
17560 ensure clang would not discard it.
17561
17562 2014-04-24 David Blaikie <dblaikie@gmail.com>
17563
17564 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
17565 clang to emit the full definition of type required by the test
17566 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
17567
17568 2014-04-24 David Blaikie <dblaikie@gmail.com>
17569
17570 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
17571 coax Clang into emitting the definition of the type.
17572 * gdb.cp/pr10728-x.h (y): Ditto.
17573 * gdb.cp/pr10728-y.cc (y): Ditto.
17574
17575 2014-04-24 David Blaikie <dblaikie@gmail.com>
17576
17577 * gdb.base/label.exp: XFAIL label related tests under Clang.
17578 * gdb.cp/cplabel.exp: Ditto.
17579 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
17580 under Clang those using labels.
17581
17582 2014-04-25 Yao Qi <yao@codesourcery.com>
17583
17584 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
17585 double_label.
17586 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
17587 partial_label and double_label.
17588
17589 2014-04-24 David Blaikie <dblaikie@gmail.com>
17590
17591 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
17592
17593 2014-04-24 David Blaikie <dblaikie@gmail.com>
17594
17595 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
17596 of the function to work across GCC and Clang.
17597 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
17598 pointer types (const void ** const V void **).
17599
17600 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
17601 Walfred Tedeschi <walfred.tedeschi@intel.com>
17602
17603 * Makefile.in (EXECUTABLES): Added i386-avx512.
17604 * gdb.arch/i386-avx512.c: New file.
17605 * gdb.arch/i386-avx512.exp: Likewise.
17606
17607 2014-04-23 Keith Seitz <keiths@redhat.com>
17608
17609 * lib/mi-support.exp (mi_list_breakpoints): Delete.
17610 (mi_make_breakpoint_table): New procedure.
17611 (mi_create_breakpoint): Use mi_make_breakpoint
17612 and return the result.
17613 (mi_make_breakpoint): New procedure.
17614 (mi_build_kv_pairs): New procedure.
17615
17616 * gdb.mi/mi-break.exp: Remove unused globals,
17617 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
17618 All callers updated.
17619 * gdb.mi/mi-dprintf.exp: Use variable to track command
17620 number.
17621 Update all callers of mi_create_breakpoint and use
17622 mi_make_breakpoint_table.
17623 Remove any unused global variables.
17624 * gdb.mi/mi-nonstop.exp: Likewise.
17625 * gdb.mi/mi-nsintrall.exp: Likewise.
17626 * gdb.mi/mi-nsmoribund.exp: Likewise.
17627 * gdb.mi/mi-nsthrexec.exp: Likewise.
17628 * gdb.mi/mi-reverse.exp: Likewise.
17629 * gdb.mi/mi-simplerun.exp: Likewise.
17630 * gdb.mi/mi-stepn.exp: Likewise.
17631 * gdb.mi/mi-syn-frame.exp: Likewise.
17632 * gdb.mi/mi-until.exp: Likewise.
17633 * gdb.mi/mi-var-cp.exp: Likewise.
17634 * gdb.mi/mi-var-display.exp: Likewise.
17635 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
17636 * gdb.mi/mi2-var-child.exp: Likewise.
17637 * gdb.mi/mi-vla-c99.exp: Likewise.
17638 * lib/mi-support.exp: Likewise.
17639
17640 From Ian Lance Taylor <iant@cygnus.com>:
17641 * lib/gdb.exp (parse_args): New procedure.
17642
17643 2014-04-23 Pedro Alves <palves@redhat.com>
17644
17645 * gdb.base/break-unload-file.c: New file.
17646 * gdb.base/break-unload-file.exp: New file.
17647 * gdb.base/sym-file-lib.c (baz): New function.
17648 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
17649 field.
17650 (load): Store the segment's mapped size.
17651 (unload): New function.
17652 (unload_shlib): New function.
17653 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
17654 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
17655 set a breakpoint at baz, and call it.
17656 * gdb.base/sym-file.exp: New tests for stale breakpoint
17657 instructions.
17658
17659 2014-04-23 Pedro Alves <palves@redhat.com>
17660
17661 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
17662 * gdb.base/hbreak-in-shr-unsupported.c: New file.
17663 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
17664 * gdb.base/hbreak-unmapped.c: New file.
17665 * gdb.base/hbreak-unmapped.exp: New file.
17666 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
17667 * lib/gdb.exp (gdb_is_target_remote): ... here.
17668
17669 2014-04-22 Pedro Alves <palves@redhat.com>
17670
17671 * gdb.base/consecutive-step-over.c: New file.
17672 * gdb.base/consecutive-step-over.exp: New file.
17673
17674 2014-04-22 Pedro Alves <palves@redhat.com>
17675
17676 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
17677 instead of send_gdb/gdb_expect.
17678
17679 2014-04-22 Yao Qi <yao@codesourcery.com>
17680
17681 * lib/trace-support.exp (generate_tracefile): New procedure.
17682 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
17683 return 0.
17684 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
17685 if generate_tracefile returns 1.
17686
17687 2014-04-18 Tom Tromey <palves@redhat.com>
17688 Pedro alves <tromey@redhat.com>
17689
17690 PR backtrace/15558
17691 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
17692 with a backtrace limit.
17693 * gdb.python/py-frame-inline.exp: Test running to an inline
17694 function with a backtrace limit, and printing the newest frame.
17695 * gdb.python/py-frame-inline.c (main): Call f.
17696
17697 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
17698
17699 * gdb.java/jnpe.exp: Drop srcdir from untested path.
17700
17701 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
17702
17703 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
17704 Drop prefix from unsupported source file path.
17705
17706 2014-04-17 Yao Qi <yao@codesourcery.com>
17707
17708 * lib/gdb.exp (with_target_charset): New proc.
17709 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
17710 with_target_charset.
17711 (test_print_strings): Likewise.
17712 (test_repeat_bytes): Likewise.
17713 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
17714 for some tests.
17715
17716 2014-04-16 Keith Seitz <keiths@redhat.com>
17717
17718 PR gdb/15827
17719 * gdb.dwarf2/corrupt.c: New file.
17720 * gdb.dwarf2/corrupt.exp: New file.
17721
17722 2014-04-16 Keith Seitz <keiths@redhat.com>
17723
17724 PR c++/16597
17725 * gdb.cp/namelessclass.cc: New file.
17726 * gdb.cp/namelessclass.exp: New file.
17727 * gdb.cp/namelessclass.S: New file.
17728
17729 2014-04-16 Doug Evans <dje@google.com>
17730
17731 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
17732 Add comment.
17733 (gdbserver_default_get_comm_port): New function.
17734 (gdbserver_start): Check if board file provided
17735 "gdbserver,get_comm_port" and use it if so.
17736 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
17737 (gdb,socketport): Set to "stdio".
17738 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
17739 (stdio_gdbserver_template): Delete.
17740 (${board}_get_remote_address): Update.
17741 (${board}_build_remote_cmd): Delete.
17742 (${board}_get_comm_port): New function.
17743 (${board}_spawn): Update.
17744 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
17745 Delete.
17746 (${board}_get_remote_address): Update.
17747 (${board}_get_comm_port): New function.
17748
17749 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
17750
17751 * gdb.base/memattr.exp: Improve regexps to handle memory regions
17752 appearing in any order.
17753
17754 2014-04-15 Doug Evans <dje@google.com>
17755
17756 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
17757 uninitialized value of "description".
17758
17759 2014-04-15 Keith Seitz <keiths@redhat.com>
17760
17761 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
17762 Remove unused globals.
17763 (test_running_the_program): Likewise.
17764 (test_controlled_execution): Likewise.
17765 (test_controlling_breakpoints): Likewise.
17766 (test_program_termination): Likewise.
17767
17768 2014-04-15 Keith Seitz <keiths@redhat.com>
17769
17770 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
17771 unused globals.
17772 (test_rbreak_creation_and_listing): Likewise.
17773 (test_ignore_count): Likewise.
17774 (test_error): Likewise.
17775
17776 2014-04-15 Pedro Alves <palves@redhat.com>
17777
17778 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
17779 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
17780 sym-file-loader.c.
17781 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
17782 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
17783 to sym-file-loader.c.
17784 (struct library): Forward declare.
17785 (load_shlib, lookup_function): Change prototypes.
17786 (find_shstrtab, find_strtab, find_shdr, find_symtab)
17787 (translate_offset): Remove declarations.
17788 (get_text_addr): New declaration.
17789 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
17790 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
17791 sym-file-loader.h.
17792 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
17793 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
17794 here from sym-file-loader.h.
17795 (struct library): New structure.
17796 (load_shlib, lookup_function): Change prototypes and adjust to
17797 work with a struct library.
17798 (find_shstrtab, find_strtab, find_shdr, find_symtab)
17799 (translate_offset): Make static.
17800 (get_text_addr): New function.
17801 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
17802
17803 2014-04-15 Pedro Alves <palves@redhat.com>
17804
17805 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
17806
17807 2014-04-15 Pedro Alves <palves@redhat.com>
17808
17809 * gdb.base/sym-file-loader.c: Include <limits.h>.
17810 (SELF_LINK): New define.
17811 (get_origin): New function.
17812 (load_shlib): Use it.
17813 * gdb.base/sym-file.exp: Don't early return if the target is
17814 remote. Use runto_main, and issue fail is that fails. Use
17815 gdb_load_shlibs.
17816 (shlib_name): Delete.
17817 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
17818
17819 2014-04-15 Pedro Alves <palves@redhat.com>
17820
17821 * gdb.base/sym-file.exp: Remove regex characters from test
17822 message. Don't refer to breakpoint numbers in test messages.
17823
17824 2014-04-14 Keith Seitz <keiths@redhat.com>
17825
17826 PR c++/16253
17827 * gdb.cp/var-tag.cc: New file.
17828 * gdb.cp/var-tag.exp: New file.
17829 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
17830 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
17831 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
17832 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
17833
17834 2014-04-14 Tom Tromey <tromey@redhat.com>
17835
17836 * gdb.cp/classes.exp (test_enums): Handle underlying type.
17837 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
17838 type.
17839 * gdb.cp/enum-class.exp: New file.
17840 * gdb.cp/enum-class.cc: New file.
17841
17842 2014-04-14 Tom Tromey <tromey@redhat.com>
17843
17844 * gdb.dwarf2/enum-type.exp: New file.
17845
17846 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17847
17848 * gdb.mi/mi-vla-c99.exp: New file.
17849 * gdb.mi/vla.c: New file.
17850
17851 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17852
17853 * gdb.base/vla-datatypes.c: New file.
17854 * gdb.base/vla-datatypes.exp: New file.
17855
17856 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17857
17858 * gdb.base/vla-ptr.c: New file.
17859 * gdb.base/vla-ptr.exp: New file.
17860
17861 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17862
17863 * gdb.dwarf2/count.exp: New file.
17864
17865 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17866
17867 * gdb.base/vla-sideeffect.c: New file.
17868 * gdb.base/vla-sideeffect.exp: New file.
17869
17870 2014-04-14 David Blaikie <dblaikie@gmail.com>
17871
17872 * gdb.mi/non-stop.c: Add return value for non-void function return
17873 statement.
17874 * gdb.threads/staticthreads.c: Ditto.
17875
17876 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
17877 Doug Evans <xdje42@gmail.com>
17878
17879 * gdb.guile/scm-value.c: Improve test case.
17880 * gdb.guile/scm-value.exp: Add new test.
17881
17882 2014-04-11 David Blaikie <dblaikie@gmail.com>
17883
17884 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
17885 override Clang's default.
17886
17887 2014-04-11 Joel Brobecker <brobecker@adacore.com>
17888
17889 Revert the following changes (regressions):
17890
17891 * gdb.base/vla-sideeffect.c: New file.
17892 * gdb.base/vla-sideeffect.exp: New file.
17893
17894 * gdb.dwarf2/count.exp: New file.
17895
17896 * gdb.base/vla-multi.c: New file.
17897 * gdb.base/vla-multi.exp: New file.
17898
17899 * gdb.base/vla-ptr.c: New file.
17900 * gdb.base/vla-ptr.exp: New file.
17901
17902 * gdb.base/vla-datatypes.c: New file.
17903 * gdb.base/vla-datatypes.exp: New file.
17904
17905 * gdb.mi/mi-vla-c99.exp: New file.
17906 * gdb.mi/vla.c: New file.
17907
17908 2014-04-11 Keith Seitz <keiths@redhat.com>
17909
17910 PR c++/16675
17911 * gdb.cp/cpsizeof.exp: New file.
17912 * gdb.cp/cpsizeof.cc: New file.
17913
17914 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17915
17916 * gdb.mi/mi-vla-c99.exp: New file.
17917 * gdb.mi/vla.c: New file.
17918
17919 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17920
17921 * gdb.base/vla-datatypes.c: New file.
17922 * gdb.base/vla-datatypes.exp: New file.
17923
17924 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17925
17926 * gdb.base/vla-ptr.c: New file.
17927 * gdb.base/vla-ptr.exp: New file.
17928
17929 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17930
17931 * gdb.base/vla-multi.c: New file.
17932 * gdb.base/vla-multi.exp: New file.
17933
17934 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17935
17936 * gdb.dwarf2/count.exp: New file.
17937
17938 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17939
17940 * gdb.base/vla-sideeffect.c: New file.
17941 * gdb.base/vla-sideeffect.exp: New file.
17942
17943 2014-04-11 Yao Qi <yao@codesourcery.com>
17944
17945 * gdb.base/completion.exp: Check file exists before running tests
17946 on file completion.
17947
17948 2014-04-10 Pedro Alves <palves@redhat.com>
17949
17950 * gdb.base/cond-eval-mode.c: New file.
17951 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
17952 prepare_for_testing to build the new file. Check result of
17953 runto_main.
17954 (test_break, test_watch): New procedures.
17955 (top level): Use them.
17956
17957 2014-04-08 Pierre Muller <muller@sourceware.org>
17958
17959 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
17960 Ctrl-V use for mingw hosts.
17961
17962 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
17963
17964 * gdb.python/py-value.c: Improve test case.
17965 * gdb.python/py-value.exp: Add new test.
17966
17967 2014-04-07 David Blaikie <dblaikie@gmail.com>
17968
17969 * lib/compiler.c: Identify the clang compiler.
17970 * lib/compiler.cc: Ditto.
17971
17972 2014-04-03 Yao Qi <yao@codesourcery.com>
17973
17974 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
17975
17976 2014-04-01 Anton Blanchard <anton@samba.org>
17977
17978 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
17979 messages unique.
17980
17981 2014-04-01 Anton Blanchard <anton@samba.org>
17982
17983 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
17984 prepare_for_testing.
17985
17986 2014-04-01 Anton Blanchard <anton@samba.org>
17987
17988 * gdb.arch/ppc64-atomic-inst.c: Remove.
17989 * gdb.arch/ppc64-atomic-inst.S: New file.
17990 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
17991
17992 2014-03-31 Doug Evans <dje@google.com>
17993
17994 * gdb.base/print-symbol-loading-lib.c: New file.
17995 * gdb.base/print-symbol-loading-main.c: New file.
17996 * gdb.base/print-symbol-loading.exp: New file.
17997
17998 2014-03-31 Yao Qi <yao@codesourcery.com>
17999
18000 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
18001
18002 2014-03-28 Joel Brobecker <brobecker@adacore.com>
18003
18004 * gdb.ada/mi_dyn_arr: New testcase.
18005
18006 2014-03-27 Doug Evans <dje@google.com>
18007
18008 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
18009
18010 2014-03-27 Yao Qi <yao@codesourcery.com>
18011
18012 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
18013 if target is nios2-*-*.
18014
18015 2014-03-26 Yao Qi <yao@codesourcery.com>
18016
18017 * lib/gdb.exp (readline_is_used): New proc.
18018 * gdb.base/completion.exp: Move tests on command complete up.
18019 Skip the rest of tests if readline is not used.
18020 * gdb.ada/complete.exp: Skp the test if readline is not
18021 used.
18022 * gdb.base/filesym.exp: Likewise.
18023 * gdb.base/macscp.exp: Likewise.
18024 * gdb.base/readline-ask.exp: Likewise.
18025 * gdb.base/readline.exp: Likewise.
18026 * gdb.python/py-cmd.exp: Likewise.
18027 * gdb.trace/tfile.exp: Likewise.
18028
18029 2014-03-26 Yao Qi <yao@codesourcery.com>
18030
18031 * gdb.base/macscp.exp: Fix code format issues.
18032
18033 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
18034
18035 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
18036 * gdb.asm/powerpc64le.inc: New file.
18037
18038 2014-03-25 Pedro Alves <palves@redhat.com>
18039 Doug Evans <dje@google.com>
18040
18041 * gdb.base/source-execution.c: New file.
18042 * gdb.base/source-execution.exp: New file.
18043 * gdb.base/source-execution.gdb: New file.
18044
18045 2014-03-24 Doug Evans <dje@google.com>
18046
18047 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
18048 using fission.
18049
18050 2014-03-24 Hui Zhu <hui@codesourcery.com>
18051 Pedro Alves <palves@redhat.com>
18052
18053 PR breakpoints/16101
18054 * gdb.base/dprintf.exp: Use unsupported rather than changing the
18055 test pass/fail messages. Detect missing support for dprintf when
18056 breakpoints are actually inserted.
18057 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
18058 breakpoints are actually inserted.
18059 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
18060 fails.
18061
18062 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
18063
18064 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
18065
18066 2014-03-22 Doug Evans <xdje42@gmail.com>
18067
18068 * gdb.python/python.exp (python not supported): Verify multi-line
18069 python command issues an error.
18070 * gdb.guile/guile.exp (guile not supported): Verify multi-line
18071 guile command issues an error.
18072
18073 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
18074
18075 * gdb.threads/thread-specific.exp: Handle the lack of usable
18076 $this_breakpoint and $this_thread.
18077
18078 2014-03-21 Hui Zhu <hui@codesourcery.com>
18079
18080 * gdb.base/attach.exp (do_command_attach_tests): New.
18081
18082 2014-03-20 Tom Tromey <tromey@redhat.com>
18083 Pedro Alves <palves@redhat.com>
18084
18085 PR cli/15718
18086 * gdb.base/condbreak-call-false.c: New file.
18087 * gdb.base/condbreak-call-false.exp: New file.
18088
18089 2014-03-20 Pedro Alves <palves@redhat.com>
18090
18091 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
18092 Delete.
18093 (block_signals, unblock_signals): Delete.
18094 (child_function_2, main): Remove references to deleted variable
18095 and functions.
18096
18097 2014-03-20 Pedro Alves <palves@redhat.com>
18098
18099 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
18100 Use pthread_kill to signal thread 2.
18101 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18102 Adjust to make the test send itself a signal rather than using the
18103 host's "kill" command.
18104
18105 2014-03-20 Pedro Alves <palves@redhat.com>
18106
18107 * gdb.threads/multiple-step-overs.c: New file.
18108 * gdb.threads/multiple-step-overs.exp: New file.
18109 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18110 Adjust expected infrun debug output.
18111
18112 2014-03-20 Pedro Alves <palves@redhat.com>
18113
18114 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
18115 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
18116
18117 2014-03-20 Pedro Alves <palves@redhat.com>
18118
18119 PR breakpoints/7143
18120 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
18121 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
18122 of gdb_test_multiple.
18123 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
18124 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
18125
18126 2014-03-20 Pedro Alves <palves@redhat.com>
18127
18128 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
18129 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
18130
18131 2014-03-19 Pedro Alves <palves@redhat.com>
18132
18133 * gdb.base/async.exp: Remove early return.
18134
18135 2014-03-19 Pedro Alves <palves@redhat.com>
18136
18137 * gdb.base/async.exp (step& tests): Pass explicit test messages.
18138
18139 2014-03-19 Pedro Alves <palves@redhat.com>
18140
18141 * gdb.base/async.exp (test_background): Expect \r\n after
18142 "completed." in the fail pattern.
18143
18144 2014-03-19 Pedro Alves <palves@redhat.com>
18145
18146 * gdb.base/async.exp (test_background): New procedure.
18147 Use it for all background execution command tests.
18148
18149 2014-03-19 Pedro Alves <palves@redhat.com>
18150
18151 * gdb.base/async.exp: Use prepare_for_testing.
18152
18153 2014-03-19 Pedro Alves <palves@redhat.com>
18154
18155 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
18156 the same line.
18157
18158 2014-03-19 Pedro Alves <palves@redhat.com>
18159
18160 * gdb.base/async.c (main): Add "jump here" and "until here" line
18161 marker comments.
18162 * gdb.base/async.exp (jump_here): New global.
18163 (jump& test): Use it.
18164 (until_here): New global.
18165 (until& test): Use it.
18166
18167 2014-03-19 Pedro Alves <palves@redhat.com>
18168
18169 * gdb.base/async.exp: Don't frob gdb_protocol.
18170
18171 2014-03-18 Doug Evans <xdje42@gmail.com>
18172
18173 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
18174 Fix spelling of exec-done-display.
18175
18176 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
18177
18178 PR gdb/15358
18179 * gdb.base/gdb-sigterm.c: New file.
18180 * gdb.base/gdb-sigterm.exp: New file.
18181
18182 2014-03-18 Pedro Alves <palves@redhat.com>
18183
18184 PR gdb/13860
18185 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
18186 * lib/mi-support.exp (mi_expect_stop): Add special handling for
18187 solib-event.
18188
18189 2014-03-17 Joel Brobecker <brobecker@adacore.com>
18190
18191 * gdb.ada/pckd_arr_ren: New testcase.
18192
18193 2014-03-13 Doug Evans <xdje42@gmail.com>
18194
18195 PR guile/16612
18196 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
18197 collect after discarding symbols.
18198
18199 2014-03-13 Ludovic Courtès <ludo@gnu.org>
18200 Doug Evans <xdje42@gmail.com>
18201
18202 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
18203 to history survives a gc.
18204
18205 2014-03-13 Pedro Alves <palves@redhat.com>
18206
18207 * gdb.base/default.exp: Don't test "target procfs".
18208
18209 2014-03-13 Pedro Alves <palves@redhat.com>
18210
18211 * gdb.base/default.exp: Update "target child" and "target procfs"
18212 tests to not expect "Unix".
18213
18214 2014-03-12 Tom Tromey <tromey@redhat.com>
18215
18216 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
18217 New procs. Add target-async tests.
18218 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
18219 Add target-async tests.
18220
18221 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18222
18223 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
18224 'func_start' and 'func_end' for the beginning and end of the
18225 function code, respectively.
18226 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
18227 'func_end' instead of 'func' and 'main'.
18228
18229 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18230
18231 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
18232 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
18233 generate the debug info assembler source.
18234
18235 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18236
18237 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
18238 * gdb.dwarf2/arr-subrange.exp: Likewise.
18239 * gdb.dwarf2/dwz.exp: Likewise.
18240 * gdb.dwarf2/method-ptr.exp: Likewise.
18241 * gdb.dwarf2/missing-sig-type.exp: Likewise.
18242 * gdb.dwarf2/subrange.exp: Likewise.
18243 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
18244 * gdb.dwarf2/implptrpiece.exp: Likewise.
18245 * gdb.dwarf2/nostaticblock.exp: Likewise.
18246
18247 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18248
18249 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
18250 directory to absolute path name arguments.
18251
18252 2014-03-10 Joel Brobecker <brobecker@adacore.com>
18253
18254 * gdb.ada/tagged_access: New testcase.
18255
18256 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
18257
18258 * gdb.btrace/data.exp: Update expected output.
18259
18260 2014-03-06 Yao Qi <yao@codesourcery.com>
18261
18262 * gdb.trace/pr16508.exp: New file.
18263
18264 2014-03-05 Pedro Alves <palves@redhat.com>
18265
18266 PR gdb/16575
18267 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
18268 procedure.
18269 (top level): Adjust to use it. Add tests that exercise breakpoint
18270 interaction with the code-cache.
18271
18272 2014-02-26 Ludovic Courtès <ludo@gnu.org>
18273
18274 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
18275 test for 'history-append!'.
18276
18277 2014-02-26 Joel Brobecker <brobecker@adacore.com>
18278
18279 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
18280 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
18281 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
18282 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
18283 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
18284 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
18285
18286 2014-02-26 Joel Brobecker <brobecker@adacore.com>
18287
18288 * testsuite/gdb.python/py-pp-re-notag.c: New file.
18289 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
18290 * testsuite/gdb.python/py-pp-re-notag.p: New file.
18291
18292 2014-02-26 Joel Brobecker <brobecker@adacore.com>
18293
18294 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
18295
18296 2014-02-26 Joel Brobecker <brobecker@adacore.com>
18297
18298 * gdb.dwarf2/arr-stride.c: New file.
18299 * gdb.dwarf2/arr-stride.exp: New file.
18300
18301 2014-02-26 Pedro Alves <palves@redhat.com>
18302
18303 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
18304 that won't ever trigger. Make sure that GDB reports the correct
18305 breakpoint that caused the stop.
18306
18307 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18308
18309 PR gdb/16626
18310 * gdb.base/auto-load-script: New file.
18311 * gdb.base/auto-load.c: New file.
18312 * gdb.base/auto-load.exp: New file.
18313
18314 PR gdb/16626
18315 * gdb.base/auto-load.exp: Fix out-of-srctree run.
18316
18317 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18318
18319 Fix dw2-icycle.exp -fsanitize=address GDB crash.
18320 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
18321
18322 2014-02-24 Doug Evans <dje@google.com>
18323
18324 * lib/gdb.exp (run_on_host): Log error output if program fails.
18325
18326 2014-02-21 Pedro Alves <palves@redhat.com>
18327
18328 * gdb.threads/step-after-sr-lock.c: Rename to ...
18329 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
18330 * gdb.threads/step-after-sr-lock.exp: Rename to ...
18331 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18332 ... this.
18333
18334 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
18335
18336 PR tdep/16397
18337 * gdb.arch/amd64-stap-special-operands.exp: New file.
18338 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
18339 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
18340 * gdb.arch/amd64-stap-triplet.S: Likewise.
18341 * gdb.arch/amd64-stap-triplet.c: Likewise.
18342
18343 2014-02-20 Joel Brobecker <brobecker@adacore.com>
18344
18345 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
18346 in .section pseudo-op.
18347
18348 2014-02-20 lin zuojian <manjian2006@gmail.com>
18349 Joel Brobecker <brobecker@adacore.com>
18350 Doug Evans <xdje42@gmail.com>
18351
18352 PR symtab/16581
18353 * gdb.dwarf2/dw2-icycle.S: New file.
18354 * gdb.dwarf2/dw2-icycle.c: New file.
18355 * gdb.dwarf2/dw2-icycle.exp: New file.
18356
18357 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
18358
18359 * gdb.python/py-value-cc.cc: Improve test case to enable testing
18360 operations on gdb.Value objects.
18361 * gdb.python/py-value-cc.exp: Add new test to test operations on
18362 gdb.Value objects.
18363
18364 2014-02-18 Doug Evans <dje@google.com>
18365
18366 * Makefile.in (TESTS): New variable.
18367 (expanded_tests, expanded_tests_or_none): New variables
18368 (check-single): Pass $(expanded_tests_or_none) to runtest.
18369 (check-parallel): Only run tests in $(TESTS) if non-empty.
18370 (check/no-matching-tests-found): New rule.
18371 * README: Document TESTS makefile variable.
18372
18373 2014-02-18 Doug Evans <dje@google.com>
18374
18375 * Makefile.in (check-parallel): rm -rf outputs temp.
18376
18377 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18378
18379 Fix "ERROR: no fileid for" in the testsuite.
18380 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
18381
18382 2014-02-12 Doug Evans <dje@google.com>
18383
18384 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
18385 (MISCELLANEOUS): New variable.
18386 (clean): rm -rf $(MISCELLANEOUS).
18387 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
18388 dwp live in the same directory as symlinks, with each symlink pointed
18389 to a differently named file in a different directory.
18390
18391 2014-02-11 Doug Evans <dje@google.com>
18392
18393 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
18394 of Tcl file commands.
18395
18396 2014-02-10 Mark Kettenis <kettenis@gnu.org>
18397
18398 * gdb.threads/step-after-sr-lock.exp: Avoid executing
18399 "kill -SIGUSR1 -1".
18400
18401 2014-02-10 Joel Brobecker <brobecker@adacore.com>
18402
18403 * gdb.ada/tick_length_array_enum_idx: New testcase.
18404
18405 2014-02-10 Doug Evans <xdje42@gmail.com>
18406
18407 * configure.ac (AC_OUTPUT): Add gdb.guile.
18408 * configure: Regenerate.
18409 * lib/gdb-guile.exp: New file.
18410 * lib/gdb.exp (get_target_charset): New function.
18411 * gdb.base/help.exp: Update expected output from "apropos apropos".
18412 * gdb.guile/Makefile.in: New file.
18413 * gdb.guile/guile.exp: New file.
18414 * gdb.guile/scm-arch.c: New file.
18415 * gdb.guile/scm-arch.exp: New file.
18416 * gdb.guile/scm-block.c: New file.
18417 * gdb.guile/scm-block.exp: New file.
18418 * gdb.guile/scm-breakpoint.c: New file.
18419 * gdb.guile/scm-breakpoint.exp: New file.
18420 * gdb.guile/scm-disasm.c: New file.
18421 * gdb.guile/scm-disasm.exp: New file.
18422 * gdb.guile/scm-equal.c: New file.
18423 * gdb.guile/scm-equal.exp: New file.
18424 * gdb.guile/scm-error.exp: New file.
18425 * gdb.guile/scm-error.scm: New file.
18426 * gdb.guile/scm-frame-args.c: New file.
18427 * gdb.guile/scm-frame-args.exp: New file.
18428 * gdb.guile/scm-frame-args.scm: New file.
18429 * gdb.guile/scm-frame-inline.c: New file.
18430 * gdb.guile/scm-frame-inline.exp: New file.
18431 * gdb.guile/scm-frame.c: New file.
18432 * gdb.guile/scm-frame.exp: New file.
18433 * gdb.guile/scm-generics.exp: New file.
18434 * gdb.guile/scm-gsmob.exp: New file.
18435 * gdb.guile/scm-iterator.c: New file.
18436 * gdb.guile/scm-iterator.exp: New file.
18437 * gdb.guile/scm-math.c: New file.
18438 * gdb.guile/scm-math.exp: New file.
18439 * gdb.guile/scm-objfile-script-gdb.in: New file.
18440 * gdb.guile/scm-objfile-script.c: New file.
18441 * gdb.guile/scm-objfile-script.exp: New file.
18442 * gdb.guile/scm-objfile.c: New file.
18443 * gdb.guile/scm-objfile.exp: New file.
18444 * gdb.guile/scm-ports.exp: New file.
18445 * gdb.guile/scm-pretty-print.c: New file.
18446 * gdb.guile/scm-pretty-print.exp: New file.
18447 * gdb.guile/scm-pretty-print.scm: New file.
18448 * gdb.guile/scm-section-script.c: New file.
18449 * gdb.guile/scm-section-script.exp: New file.
18450 * gdb.guile/scm-section-script.scm: New file.
18451 * gdb.guile/scm-symbol.c: New file.
18452 * gdb.guile/scm-symbol.exp: New file.
18453 * gdb.guile/scm-symtab-2.c: New file.
18454 * gdb.guile/scm-symtab.c: New file.
18455 * gdb.guile/scm-symtab.exp: New file.
18456 * gdb.guile/scm-type.c: New file.
18457 * gdb.guile/scm-type.exp: New file.
18458 * gdb.guile/scm-value-cc.cc: New file.
18459 * gdb.guile/scm-value-cc.exp: New file.
18460 * gdb.guile/scm-value.c: New file.
18461 * gdb.guile/scm-value.exp: New file.
18462 * gdb.guile/source2.scm: New file.
18463 * gdb.guile/types-module.cc: New file.
18464 * gdb.guile/types-module.exp: New file.
18465
18466 2014-02-10 Yao Qi <yao@codesourcery.com>
18467
18468 PR testsuite/16543
18469 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
18470 * configure: Regenerated.
18471 * Makefile.in: New file.
18472
18473 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
18474
18475 * gdb.python/py-framefilter.exp: Fix typo.
18476
18477 2014-02-08 Yao Qi <yao@codesourcery.com>
18478
18479 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
18480 that no =breakpoint-modified is emitted when breakpoints are
18481 modified through MI commands.
18482
18483 2014-02-07 Pedro Alves <pedro@codesourcery.com>
18484 Pedro Alves <palves@redhat.com>
18485
18486 * gdb.threads/step-after-sr-lock.c: New file.
18487 * gdb.threads/step-after-sr-lock.exp: New file.
18488
18489 2014-02-07 Pedro Alves <palves@redhat.com>
18490
18491 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
18492
18493 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
18494
18495 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
18496 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
18497
18498 2014-02-06 Doug Evans <xdje42@gmail.com>
18499
18500 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
18501 output.
18502
18503 * gdb.gdb/python-interrupts.exp: New file.
18504
18505 2014-02-05 Yao Qi <yao@codesourcery.com>
18506
18507 * gdb.trace/report.exp (use_collected_data): Test the output
18508 of "info threads" and "info inferiors".
18509
18510 2014-02-05 Yao Qi <yao@codesourcery.com>
18511
18512 Revert this patch:
18513
18514 2013-05-24 Yao Qi <yao@codesourcery.com>
18515
18516 * gdb.trace/tfile.exp: Test inferior and thread.
18517
18518 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18519
18520 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
18521 on a function.
18522 * gdb.base/step-bt.c: Call hello via function pointer to make
18523 sure its first instruction is executed on powerpc64le-linux.
18524
18525 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18526
18527 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
18528
18529 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18530
18531 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
18532 of the test patterns for use on little-endian systems.
18533
18534 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18535
18536 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
18537 (decimal_vector): Fix for little-endian.
18538
18539 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
18540
18541 * gdb.arch/sparc-sysstep.exp: New file.
18542 * gdb.arch/sparc-sysstep.c: Likewise.
18543
18544 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
18545
18546 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18547
18548 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
18549
18550 2014-01-23 Tom Tromey <tromey@redhat.com>
18551
18552 * gdb.ada/array_char_idx: New testcase.
18553
18554 2014-01-23 Tom Tromey <tromey@redhat.com>
18555
18556 PR python/16487:
18557 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
18558 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
18559 classes.
18560
18561 2014-01-23 Tom Tromey <tromey@redhat.com>
18562
18563 PR python/16491:
18564 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
18565 string from an inferior frame.
18566 * gdb.python/py-framefilter-mi.exp: Update.
18567
18568 2014-01-22 Doug Evans <dje@google.com>
18569
18570 * gdb.server/server-mon.exp: Add tests for "set debug-format".
18571
18572 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18573
18574 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
18575
18576 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18577
18578 * gdb.trace/entry-values.exp: Remove excess space character from
18579 regex patterns. Handle s390 call instruction.
18580
18581 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18582
18583 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
18584 define "*_start" label. Make "name" static.
18585 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
18586 ${name} by references to ${name}_start.
18587
18588 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18589
18590 * gdb.base/info-macros.exp: Remove "debug" from the compile
18591 options.
18592
18593 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18594
18595 * gdb.dlang/demangle.exp: New file.
18596
18597 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18598
18599 * gdb.dlang/primitive-types.exp: New file.
18600
18601 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18602
18603 * configure.ac: Create gdb.dlang/Makefile.
18604 * configure: Regenerate.
18605 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
18606 * gdb.dlang/Makefile.in: New file.
18607 * lib/d-support.exp: New file.
18608 * lib/gdb.exp (skip_d_tests): New proc.
18609
18610 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18611
18612 * gdb.btrace/delta.exp: Check reverse stepi.
18613 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
18614 * gdb.btrace/finish.exp: New.
18615 * gdb.btrace/next.exp: New.
18616 * gdb.btrace/nexti.exp: New.
18617 * gdb.btrace/record_goto.c: Add comments.
18618 * gdb.btrace/step.exp: New.
18619 * gdb.btrace/stepi.exp: New.
18620 * gdb.btrace/multi-thread-step.c: New.
18621 * gdb.btrace/multi-thread-step.exp: New.
18622 * gdb.btrace/rn-dl-bind.c: New.
18623 * gdb.btrace/rn-dl-bind.exp: New.
18624 * gdb.btrace/data.c: New.
18625 * gdb.btrace/data.exp: New.
18626 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
18627
18628 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18629
18630 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
18631 * gdb.btrace/exception.exp: Update.
18632 * gdb.btrace/instruction_history.exp: Update.
18633 * gdb.btrace/record_goto.exp: Update.
18634 * gdb.btrace/tailcall.exp: Update.
18635 * gdb.btrace/unknown_functions.exp: Update.
18636 * gdb.btrace/delta.exp: New.
18637
18638 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18639
18640 * gdb.btrace/record_goto.exp: Add backtrace test.
18641 * gdb.btrace/tailcall.exp: Add backtrace test.
18642
18643 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18644
18645 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
18646 * gdb.btrace/record_goto.c: New.
18647 * gdb.btrace/record_goto.exp: New.
18648 * gdb.btrace/x86-record_goto.S: New.
18649
18650 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18651
18652 * gdb.btrace/function_call_history.exp: Update tests.
18653 * gdb.btrace/instruction_history.exp: Update tests.
18654
18655 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18656
18657 * gdb.btrace/function_call_history.exp: Fix expected field
18658 order for "record function-call-history".
18659 Add new tests for "record function-call-history /c".
18660 * gdb.btrace/exception.cc: New.
18661 * gdb.btrace/exception.exp: New.
18662 * gdb.btrace/tailcall.exp: New.
18663 * gdb.btrace/x86-tailcall.S: New.
18664 * gdb.btrace/x86-tailcall.c: New.
18665 * gdb.btrace/unknown_functions.c: New.
18666 * gdb.btrace/unknown_functions.exp: New.
18667 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
18668
18669 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18670
18671 * gdb.btrace/instruction_history.exp: Update.
18672 * gdb.btrace/function_call_history.exp: Update.
18673
18674 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18675
18676 * gdb.btrace/function_call_history.exp: Fix expected function
18677 trace.
18678 * gdb.btrace/instruction_history.exp: Initialize traced.
18679 Remove traced_functions.
18680
18681 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18682
18683 * gdb.btrace/function_call_history.exp: Update
18684 * gdb.btrace/instruction_history.exp: Update.
18685
18686 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18687
18688 * gdb.btrace/enable.exp: Update expected text.
18689
18690 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
18691
18692 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
18693 bytes.
18694
18695 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
18696
18697 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
18698
18699 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
18700
18701 * lib/gdb.exp (supports_process_record): Return true for
18702 arm*-linux*. (supports_reverse): Likewise.
18703
18704 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
18705
18706 PR python/15464
18707 PR python/16113
18708 * gdb.python/py-type.c: Enhance test case.
18709 * gdb.python/py-value-cc.cc: Likewise
18710 * gdb.python/py-type.exp: Add new tests.
18711 * gdb.python/py-value-cc.exp: Likewise
18712
18713 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
18714 Pedro Alves <palves@redhat.com>
18715
18716 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
18717 Make "name" extern.
18718 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
18719 references to ${name}_start by references to ${name}.
18720
18721 2014-01-10 Joel Brobecker <brobecker@adacore.com>
18722
18723 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
18724
18725 2014-01-10 Joel Brobecker <brobecker@adacore.com>
18726
18727 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
18728
18729 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
18730 Pedro Alves <palves@redhat.com>
18731
18732 * gdb.mi/mi-info-os.exp: Connect to the target with
18733 mi_gdb_target_load.
18734
18735 2014-01-08 Pedro Alves <palves@redhat.com>
18736
18737 * gdb.threads/reconnect-signal.c: New file.
18738 * gdb.threads/reconnect-signal.exp: New file.
18739
18740 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
18741
18742 * gdb.base/source-dir.exp: New file.
18743
18744 2014-01-07 Joel Brobecker <brobecker@adacore.com>
18745
18746 * gdb.ada/mi_interface: New testcase.
18747
18748 2014-01-07 Joel Brobecker <brobecker@adacore.com>
18749
18750 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
18751 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
18752 gdb.ada/pp-rec-component/pck.ads: New files.
18753
18754 2014-01-07 Joel Brobecker <brobecker@adacore.com>
18755
18756 * gdb.python/py-pp-integral.c: New file.
18757 * gdb.python/py-pp-integral.py: New file.
18758 * gdb.python/py-pp-integral.exp: New file.
18759
18760 For older changes see ChangeLog-1993-2013.
18761 \f
18762 ;; Local Variables:
18763 ;; mode: change-log
18764 ;; left-margin: 8
18765 ;; fill-column: 74
18766 ;; version-control: never
18767 ;; End:
18768
18769 Copyright 2014-2020 Free Software Foundation, Inc.
18770 Copying and distribution of this file, with or without modification,
18771 are permitted provided the copyright notice and this notice are preserved.
This page took 0.397842 seconds and 5 git commands to generate.