[gdb/testsuite] Fix core file load FAIL in tls-core.exp
[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): Make "No such file or directory" regexp
4 more precise.
5
6 2020-03-11 Simon Marchi <simon.marchi@efficios.com>
7
8 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
9 from Unix to Windows path.
10
11 2020-03-11 Tom de Vries <tdevries@suse.de>
12
13 * gdb.ada/minsyms.exp: Set language to ada.
14
15 2020-03-11 Tom de Vries <tdevries@suse.de>
16
17 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
18
19 2020-03-11 Tom de Vries <tdevries@suse.de>
20
21 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
22
23 2020-03-11 Tom Tromey <tromey@adacore.com>
24
25 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
26
27 2020-03-11 Tom de Vries <tdevries@suse.de>
28
29 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
30
31 2020-03-11 Tom de Vries <tdevries@suse.de>
32
33 * gdb.base/break-interp.exp: Limit verbose scope.
34
35 2020-03-11 Tom de Vries <tdevries@suse.de>
36
37 * gdb.fortran/logical.f90: Define variable with character type.
38 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
39
40 2020-03-11 Tom de Vries <tdevries@suse.de>
41
42 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
43
44 2020-03-11 Tom de Vries <tdevries@suse.de>
45
46 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
47 symtabs.
48
49 2020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
50 Bernd Edlinger <bernd.edlinger@hotmail.de>
51
52 * gdb.cp/step-and-next-inline.cc: New file.
53 * gdb.cp/step-and-next-inline.exp: New file.
54 * gdb.cp/step-and-next-inline.h: New file.
55 * gdb.dwarf2/dw2-is-stmt.c: New file.
56 * gdb.dwarf2/dw2-is-stmt.exp: New file.
57 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
58 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
59 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
60
61 2020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
62
63 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
64 is-stmt flag in the line table.
65
66 2020-03-09 Tom de Vries <tdevries@suse.de>
67
68 * lib/gdb.exp (cached_file): Create cache dir.
69
70 2020-03-07 Tom de Vries <tdevries@suse.de>
71
72 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
73 * gdb.cp/rvalue-ref-params.exp: Same.
74
75 2020-03-06 Tom de Vries <tdevries@suse.de>
76
77 * lib/gdb.exp (tentative_rename, cached_file): New proc.
78 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
79
80 2020-03-06 Tom de Vries <tdevries@suse.de>
81
82 * README: Fix "the the".
83 * gdb.base/dprintf.exp: Same.
84
85 2020-03-05 Tom de Vries <tdevries@suse.de>
86
87 * gdb.base/maint.exp: Update "main print statistics" expected output.
88
89 2020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
90
91 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
92 (fortran_int8): Likewise.
93 (fortran_real4): Likewise.
94 (fortran_real8): Likewise.
95 (fortran_complex4): Likewise.
96 (fortran_logical4): Likewise.
97 (fortran_character1): Likewise.
98
99 2020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
100
101 * gdb.fortran/logical.exp: Add tests that any non-zero value is
102 printed as true.
103
104 2020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
105
106 * gdb.base/printcmds.exp: Add test to verify printf of a
107 variable holding an address.
108
109 2020-03-03 Tom de Vries <tdevries@suse.de>
110
111 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
112
113 2020-03-03 Tom de Vries <tdevries@suse.de>
114
115 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
116 gdb_test_multiple call.
117
118 2020-03-03 Tom de Vries <tdevries@suse.de>
119
120 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
121 gdb_test_multiple calls.
122
123 2020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
124
125 * gdb.base/default.exp: Remove test of 'set history filename'.
126 * gdb.base/gdbinit-history.exp: Add tests for setting the history
127 filename to the empty string.
128 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
129 and GDBHISTSIZE.
130
131 2020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
132
133 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
134 disabled.
135
136 2020-03-02 Pedro Alves <palves@redhat.com>
137 Tom de Vries <tdevries@suse.de>
138
139 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
140 -prompt prefix, before user_code argument. Add -lbl option likewise.
141 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
142 (gdb_is_target_1): Add -prompt prefix and move to before user_code
143 argument.
144 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
145 have "\r\n" at start-of-line, instead of at end-of-line.
146
147 2020-02-28 Simon Marchi <simon.marchi@efficios.com>
148
149 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
150 libinproctrace.so.
151
152 2020-02-28 Luis Machado <luis.machado@linaro.org>
153
154 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
155 to "p/x".
156
157 2020-02-28 Luis Machado <luis.machado@linaro.org>
158
159 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
160 asm/ptrace.h and error.h.
161
162 2020-02-28 Tom de Vries <tdevries@suse.de>
163
164 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
165 (struct wrapper, do_something, mundane/symada__cS): Move ...
166 * gdb.base/c-linkage-name-2.c: ... here. New source file.
167 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
168 Update "print symada__cS before partial symtab expansion" regexp.
169 Update breakpoint location. Flush symbol cache after expansion.
170
171 2020-02-28 Luis Machado <luis.machado@linaro.org>
172
173 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
174
175 2020-02-27 Tom de Vries <tdevries@suse.de>
176
177 * config/sid.exp: Remove unused globals.
178 * gdb.base/attach.exp: Same.
179 * gdb.base/catch-load.exp: Same.
180 * gdb.base/dbx.exp: Same.
181 * lib/gdb.exp: Same.
182 * lib/mi-support.exp: Same.
183 * lib/prompt.exp: Same.
184
185 2020-02-27 Tom de Vries <tdevries@suse.de>
186
187 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
188 not set.
189
190 2020-02-26 Aaron Merey <amerey@redhat.com>
191
192 * gdb.debuginfod: New directory for debuginfod tests.
193 * gdb.debuginfod/main.c: New test file.
194 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
195
196 2020-02-26 Tom de Vries <tdevries@suse.de>
197
198 PR gdb/25603
199 * gdb.base/persistent-lang.cc: New test.
200 * gdb.base/persistent-lang.exp: New file.
201
202 2020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
203
204 * gdb.fortran/derived-type-striding.exp: Add a new test.
205 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
206 new test.
207
208 2020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
209
210 * gdb.base/cached-source-file.exp: Avoid source file paths in test
211 names.
212
213 2020-02-25 Tom de Vries <tdevries@suse.de>
214
215 PR go/18926
216 * gdb.go/methods.exp: Remove gcc/93866 xfail.
217
218 2020-02-24 Tom de Vries <tdevries@suse.de>
219
220 PR gdb/25592
221 * gdb.base/info-locals-unused-static-var.c: New test.
222 * gdb.base/info-locals-unused-static-var.exp: New file.
223
224 2020-02-22 Tom Tromey <tom@tromey.com>
225
226 * gdb.python/tui-window.exp: New file.
227 * gdb.python/tui-window.py: New file.
228
229 2020-02-22 Tom Tromey <tom@tromey.com>
230
231 PR tui/17850:
232 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
233 tests.
234
235 2020-02-22 Tom Tromey <tom@tromey.com>
236
237 * gdb.tui/new-layout.exp: Add sub-layout tests.
238
239 2020-02-22 Tom Tromey <tom@tromey.com>
240
241 * gdb.tui/new-layout.exp: New file.
242
243 2020-02-22 Tom Tromey <tom@tromey.com>
244
245 * gdb.rust/rust-style.rs: New file.
246 * gdb.rust/rust-style.exp: New file.
247 * gdb.base/style.exp: Test structure printing.
248 * gdb.base/style.c (struct some_struct): New type.
249 (enum etype): New type.
250 (struct_value): New global.
251
252 2020-02-21 Tom de Vries <tdevries@suse.de>
253
254 PR go/18926
255 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
256 Remove blanket xfails. Use message argument for gdb_breakpoint.
257 Make continuing to breakpoint test conditional on setting breakpoint.
258 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
259 DW_AT_name attribute. Add xfail for GCC PR93866.
260
261 2020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
262
263 * gdb.dwarf2/cpp-linkage-name.c: New file.
264 * gdb.dwarf2/cpp-linkage-name.exp: New file.
265
266 2020-02-21 Shahab Vahedi <shahab@synopsys.com>
267
268 * lib/gdb.exp (gdb_wrapper_init): Reset
269 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
270 not exist.
271
272 2020-02-20 Tom de Vries <tdevries@suse.de>
273
274 PR go/17018
275 * gdb.go/hello.exp: Copy ...
276 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
277 print of st to print value of global definition. Add xfail for GCC
278 PR93844.
279 * gdb.go/hello.exp: Remove printing of st before definition.
280 * gdb.go/hello.go: Copy ...
281 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
282 to st.
283 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
284
285 2020-02-20 Tom de Vries <tdevries@suse.de>
286
287 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
288 (gdb_simple_compile): Handle compile_flags go by using .go extension
289 for source file.
290 * gdb.go/chan.exp: Use support_go_compile.
291 * gdb.go/handcall.exp: Same.
292 * gdb.go/hello.exp: Same.
293 * gdb.go/integers.exp: Same.
294 * gdb.go/max-depth.exp: Same.
295 * gdb.go/methods.exp: Same.
296 * gdb.go/package.exp: Same.
297 * gdb.go/strings.exp: Same.
298 * gdb.go/types.exp: Same.
299 * gdb.go/unsafe.exp: Same.
300
301 2020-02-19 Tom de Vries <tdevries@suse.de>
302
303 * gdb.python/lib-types.exp: Make xfail more strict.
304
305 2020-02-19 Tom de Vries <tdevries@suse.de>
306
307 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
308
309 2020-02-19 Doug Evans <dje@google.com>
310
311 PR rust/25535
312 * gdb.rust/simple.exp: Add test.
313 * gdb.rust/simple.rs: Add test.
314
315 2020-02-19 Tom de Vries <tdevries@suse.de>
316
317 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
318 output line-by-line.
319
320 2020-02-19 Tom de Vries <tdevries@suse.de>
321
322 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
323
324 2020-02-19 Tom de Vries <tdevries@suse.de>
325
326 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
327 prelink.
328
329 2020-02-19 Tom de Vries <tdevries@suse.de>
330
331 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
332 (gdb_do_cache): Use gdb_do_cache_wrap.
333 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
334
335 2020-02-19 Tom de Vries <tdevries@suse.de>
336
337 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
338 gdb_compile option.
339
340 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
341
342 * gdb.base/printcmds.exp (test_print_enums): Update expected
343 output.
344
345 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
346
347 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
348 for "unknown".
349
350 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
351
352 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
353 enumerator.
354
355 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
356
357 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
358 FE_, add FE_NONE.
359 (three): Update.
360 (enum flag_enum_without_zero): New enum.
361 (flag_enum_without_zero): New variable.
362 (enum not_flag_enum): New enum.
363 (three_not_flag): New variable.
364 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
365 (test_print_enums): Add more tests for printing flag enums.
366
367 2020-02-18 Tom de Vries <tdevries@suse.de>
368
369 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
370 (gdb_compile_ada): ... here.
371 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
372 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
373
374 2020-02-14 Tom Tromey <tom@tromey.com>
375
376 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
377 build directory.
378 * boards/gdbserver-base.exp: Update path to gdbserver.
379
380 2020-02-13 Tom de Vries <tdevries@suse.de>
381
382 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
383
384 2020-02-13 Tom de Vries <tdevries@suse.de>
385
386 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
387 are missing.
388
389 2020-02-13 Tom de Vries <tdevries@suse.de>
390
391 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
392 call.
393
394 2020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
395
396 PR tui/25126
397 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
398 * gdb.base/cached-source-file.c: New file.
399 * gdb.base/cached-source-file.exp: New file.
400
401 2020-02-11 Tom de Vries <tdevries@suse.de>
402
403 PR testsuite/25488
404 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
405
406 2020-02-10 Tom de Vries <tdevries@suse.de>
407
408 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
409
410 2020-02-10 Maciej W. Rozycki <macro@wdc.com>
411
412 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
413 and $after_addr are both integers before making a comparison.
414
415 2020-02-09 Tom de Vries <tdevries@suse.de>
416
417 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
418 command output and paste it into gdb.log. If any, paste catch message
419 to gdb.log.
420
421 2020-02-07 Tom Tromey <tromey@adacore.com>
422
423 PR breakpoints/24915:
424 * gdb.base/annotate-symlink.exp: Use setup_xfail.
425
426 2020-02-06 Shahab Vahedi <shahab@synopsys.com>
427
428 * gdb.tui/tui-missing-src.exp: Add the "missing source
429 file" test for the TUI.
430
431 2020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
432
433 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
434 including a port number in the output.
435
436 2020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
437
438 * lib/fortran.exp (fortran_int4): Handle clang.
439 (fortran_int8): Likewise.
440 (fortran_real4): Likewise.
441 (fortran_real8): Likewise.
442 (fortran_complex4): Likewise.
443 (fortran_logical4): Likewise.
444 (fortran_character1): Likewise.
445
446 2020-02-04 Tom de Vries <tdevries@suse.de>
447
448 * README (Race detection): Add note.
449
450 2020-02-04 Tom de Vries <tdevries@suse.de>
451
452 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
453
454 2020-02-04 Tom de Vries <tdevries@suse.de>
455
456 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
457
458 2020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
459
460 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
461 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
462 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
463 blttar, bnetarl.
464 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
465 binary for blttar, bnetarl.
466 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
467 wait instruction. Delete ldmx test.
468 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
469
470 2020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
471
472 * gdb.fortran/array-bounds-high.exp: New file.
473 * gdb.fortran/array-bounds-high.f90: New file.
474
475 2020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
476
477 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
478 Replace #include of <sys/fcntl.h> by <fcntl.h>.
479
480 2020-02-01 Tom de Vries <tdevries@suse.de>
481
482 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
483
484 2020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
485
486 PR tui/9765
487 * gdb.tui/tui-layout-asm-short-prog.S: New file.
488 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
489
490 2020-01-29 Luis Machado <luis.machado@linaro.org>
491
492 * gdb.arch/aarch64-brk-patterns.c: New source file.
493 * gdb.arch/aarch64-brk-patterns.exp: New test.
494
495 2020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
496
497 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
498 GCC/Clang version.
499 * gdb.cp/pass-by-ref.exp: Ditto.
500
501 2020-01-29 Tom de Vries <tdevries@suse.de>
502
503 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
504 * gdb.threads/watchpoint-fork-mt.c: Same.
505 * gdb.threads/watchpoint-fork-parent.c: Same.
506 * gdb.threads/watchpoint-fork-st.c: Same.
507 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
508
509 2020-01-27 Luis Machado <luis.machado@linaro.org>
510
511 * gdb.base/step-over-syscall.exp (setup): Check if we're already
512 sitting at a syscall instruction when we hit the syscall function's
513 breakpoint.
514 Check PC against one obtained with the x command.
515 Validate syscall number.
516 (step_over_syscall): Don't continue to the syscall instruction if
517 we're already there.
518
519 2020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
520
521 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
522
523 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
524
525 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
526 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
527
528 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
529
530 * gdb.dwarf2/dw2-inline-stepping.c: New file.
531 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
532
533 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
534
535 * gdb.base/maint.exp: Update line table parsing test.
536 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
537
538 2020-01-24 Pedro Alves <palves@redhat.com>
539
540 PR gdb/25410
541 * gdb.multi/multi-re-run-1.c: New.
542 * gdb.multi/multi-re-run-2.c: New.
543 * gdb.multi/multi-re-run.exp: New.
544
545 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
546
547 PR gdb/23718
548 * gdb.server/server-kill-python.exp: New file.
549
550 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
551
552 * gdb.server/multi-ui-errors.c: New file.
553 * gdb.server/multi-ui-errors.exp: New file.
554
555 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
556
557 PR tui/9765
558 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
559
560 2020-01-19 Tom Tromey <tom@tromey.com>
561
562 * gdb.tui/main.exp: Add check for plain "file".
563
564 2020-01-16 Christian Biesinger <cbiesinger@google.com>
565
566 * lib/gdb.exp: Fix spelling error (seperatelly).
567
568 2020-01-14 Tom Tromey <tom@tromey.com>
569
570 PR symtab/12535:
571 * gdb.python/python.exp: Test decode_line with empty string
572 argument.
573
574 2020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
575
576 * gdb.base/skip-inline.exp: Extend test.
577
578 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
579
580 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
581 * gdb.dwarf2/dw2-bad-elf.c: New file.
582 * gdb.dwarf2/dw2-bad-elf.exp: New file.
583
584 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
585
586 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
587 _line_saw_file.
588
589 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
590
591 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
592 border.
593
594 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
595
596 * gdb.multi/multi-target.exp (setup): Factor out "info
597 connections" and "info inferiors" tests to ...
598 (test_info_inferiors): ... this new procedure.
599 (top level): Run new "info-inferiors" tests.
600
601 2020-01-10 Pedro Alves <palves@redhat.com>
602
603 * gdb.server/bkpt-other-inferior.exp: New file.
604
605 2020-01-10 Pedro Alves <palves@redhat.com>
606
607 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
608 of "add-inferior".
609 * gdb.base/quit-live.exp: Likewise.
610 * gdb.base/remote-exec-file.exp: Likewise.
611 * gdb.guile/scm-progspace.exp: Likewise.
612 * gdb.linespec/linespec.exp: Likewise.
613 * gdb.mi/new-ui-mi-sync.exp: Likewise.
614 * gdb.mi/user-selected-context-sync.exp: Likewise.
615 * gdb.multi/multi-target.exp (setup): Add "info connection" and
616 "info inferiors" tests.
617 * gdb.multi/remove-inferiors.exp: Adjust expected output of
618 "add-inferior".
619 * gdb.multi/watchpoint-multi.exp: Likewise.
620 * gdb.python/py-inferior.exp: Likewise.
621 * gdb.server/extended-remote-restart.exp: Likewise.
622 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
623 "info inferiors".
624 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
625 * gdb.trace/report.exp: Likewise.
626
627 2020-01-10 Pedro Alves <palves@redhat.com>
628
629 * gdb.multi/multi-target.c: New file.
630 * gdb.multi/multi-target.exp: New file.
631 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
632 mode requested, but remote does not support non-stop".
633
634 2020-01-10 Pedro Alves <palves@redhat.com>
635
636 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
637 disconnect before reconnecting.
638
639 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
640 Pedro Alves <palves@redhat.com>
641
642 * gdb.server/connect-without-multi-process.exp: Also test
643 continuing to end.
644
645 2020-01-10 Pedro Alves <palves@redhat.com>
646
647 * gdb.base/remote-exec-file.exp: New file.
648
649 2020-01-10 Pedro Alves <palves@redhat.com>
650
651 * gdb.base/fork-running-state.exp (do_test): Adjust expected
652 output.
653 * gdb.threads/async.c: New.
654 * gdb.threads/async.exp: New.
655 * gdb.multi/tids-gid-reset.c: New.
656 * gdb.multi/tids-gid-reset.exp: New.
657
658 2020-01-10 George Barrett <bob@bob131.so>
659
660 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
661 to help in finding the image relocation offset.
662 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
663 options in arguments.
664 (stap_test_no_debuginfo): Likewise.
665 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
666 test variants.
667 (stap_test): Add null semaphore relocation test.
668
669 2020-01-10 George Barrett <bob@bob131.so>
670
671 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
672 * gdb.base/stap-probe.exp: Likewise.
673 (stap_test): Pass argument as an additional flag.
674 (stap_test_no_debuginfo): Likewise.
675 (stap_test): Check `info probes stap' output for semaphore
676 addresses if the test binary is supposed to have them.
677
678 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
679
680 * gdb.tui/basic.exp: Add more scrolling tests.
681
682 2020-01-09 Tom Tromey <tom@tromey.com>
683
684 PR tui/18932:
685 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
686 meangingful value.
687 (Term::command, Term::resize): Update.
688 * gdb.tui/basic.exp: Add scrolling test.
689
690 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
691
692 * gdb.tui/tui-layout-asm.exp: New file.
693
694 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
695
696 * lib/tuiterm.exp (Term::check_box_contents): New proc.
697
698 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
699
700 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
701 (Term::enter_tui): Use Term::prepare_for_tui.
702
703 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
704
705 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
706 called.
707
708 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
709
710 * gdb.base/skip.exp: Fix race condition in test.
711
712 2020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
713
714 * gdb.base/backtrace.c: New file.
715 * gdb.base/backtrace.exp: New file.
716
717 2020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
718
719 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
720
721 2020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
722
723 * gdb.base/style.exp: Test that warnings are styled.
724
725 2019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
726
727 * gdb.base/line65535.exp: New file.
728 * gdb.base/line65535.c: New file.
729
730 2019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
731
732 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
733 * lib/gnat_debug_info_test.adb: New file.
734 * gdb.ada/ptype_tagged_param.exp: Use
735 gnat_runtime_has_debug_info, expect a different output if
736 runtime does not have debug info.
737
738 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
739
740 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
741 (another) quote in test name.
742
743 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
744
745 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
746 Add quote in test name.
747
748 2019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
749
750 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
751 directory instead.
752 * gdb.cp/pass-by-ref.exp: Extend with more cases.
753 * gdb.cp/pass-by-ref-2.cc: New file.
754 * gdb.cp/pass-by-ref-2.exp: New file.
755
756 2019-12-20 Tom Tromey <tom@tromey.com>
757
758 * gdb.tui/list-before.exp: New file.
759
760 2019-12-20 Tom Tromey <tom@tromey.com>
761
762 * gdb.tui/list.exp: Check for source on initial listing.
763
764 2019-12-11 Tom Tromey <tromey@adacore.com>
765
766 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
767 Add crlf test.
768
769 2019-12-18 Simon Marchi <simon.marchi@efficios.com>
770
771 * gdb.base/default.exp: Update value of $_gdb_major.
772
773 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
774
775 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
776
777 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
778
779 * gdb.base/skip.exp: Whitespace fix.
780
781 2019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
782
783 * gdb.base/skip-inline.c: New file.
784 * gdb.base/skip-inline.exp: New file.
785
786 2019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
787
788 * gdb.base/jit-reader.exp (jit_reader_test): Rename
789 jit_function_00 to jit_function_stack_mangle.
790 * gdb.base/jithost.c (jit_function_t): Rename to...
791 (jit_function_stack_mangle_t): ... this.
792 (jit_function_add_t): New typedef.
793 (jit_function_00_code): Rename to...
794 (jit_function_stack_mangle_code): ... this, make static.
795 (jit_function_add_code): New.
796 (main): Generate "add" function and call it. Adjust to changes
797 in jithost_abi.
798 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
799 (struct jithost_abi) <begin, end>: Remove fields.
800 <object, function_stack_mangle, function_add>: New fields.
801 * gdb.base/jitreader.c (struct reader_state) <code_begin,
802 code_end>: Remove fields.
803 <func_stack_mangle>: New field.
804 (read_debug_info): Adjust to renaming, create block for "add"
805 function.
806 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
807
808 2019-12-11 Tom Tromey <tom@tromey.com>
809
810 * gdb.tui/resize.exp: Fix regexp.
811 * gdb.tui/regs.exp: Fix regexps.
812 * gdb.tui/main.exp: Fix regexp.
813
814 2019-12-11 Tom Tromey <tom@tromey.com>
815
816 * gdb.tui/resize.exp: Update.
817 * gdb.tui/empty.exp (layouts): Update.
818
819 2019-12-11 Tom Tromey <tom@tromey.com>
820
821 * gdb.tui/regs.exp: Update.
822 * gdb.tui/empty.exp (layouts): Update.
823 * gdb.tui/basic.exp: Update.
824 * lib/tuiterm.exp (_check_box): Don't check bottom border.
825
826 2019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
827
828 * gdb.base/options.exp: Add -raw-values in the print completion list.
829 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
830
831 2019-12-10 Kevin Buettner <kevinb@redhat.com>
832
833 * gdb.threads/omp-par-scope.c: New file.
834 * gdb/threads/omp-par-scope.exp: New file.
835
836 2019-12-10 Kevin Buettner <kevinb@redhat.com>
837
838 * lib/gdb.exp (support_nested_function_tests): New proc.
839
840 2019-12-10 Kevin Buettner <kevinb@redhat.com>
841
842 * lib/gdb.exp (gdb_compile_openmp): New proc.
843 (build_executable_from_specs): Add an "openmp" option.
844 (gdb_compile_pthreads): Add non-executable case.
845
846 2019-12-10 Tom Tromey <tromey@adacore.com>
847
848 * gdb.ada/unchecked_union.exp: New file.
849 * gdb.ada/unchecked_union/pck.adb: New file.
850 * gdb.ada/unchecked_union/pck.ads: New file.
851 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
852 * gdb-utils.exp (string_to_regexp): Also quote "?".
853
854 2019-12-10 George Barrett <bob@bob131.so>
855
856 Test scripted probe breakpoints.
857 * gdb.guile/scm-breakpoint.c (main): Add probe point.
858 * gdb.python/py-breakpoint.c (main): Likewise.
859 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
860 specifier test.
861 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
862
863 2019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
864
865 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
866 an rvalue parameter.
867 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
868 parameter.
869
870 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
871
872 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
873 modules.
874
875 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
876
877 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
878 broken version of GCC.
879
880 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
881
882 * gdb.fortran/info-modules.exp: Rewrite to make use of new
883 sym-info-cmds library.
884 * gdb.fortran/info-types.exp: Likewise.
885 * lib/sym-info-cmds.exp: New file.
886
887 2019-12-08 Tom de Vries <tdevries@suse.de>
888
889 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
890
891 2019-12-07 Keith Seitz <keiths@redhat.com>
892
893 * gdb.base/corefile-buildid-shlib-shr.c: New file.
894 * gdb.base/corefile-buildid-shlib.c: New file.
895 * gdb.base/corefile-buildid.c: New file.
896 * gdb.base/corefile-buildid.exp: New file.
897
898 2019-12-06 Tom de Vries <tdevries@suse.de>
899
900 * gdb.dwarf2/varval.exp: Add decl before def test.
901
902 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
903
904 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
905
906 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
907
908 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
909 CV and reference conversion for overload resolution.
910 * gdb.cp/rvalue-ref-overload.exp: Test it.
911
912 2019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
913
914 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
915 * gdb.base/frameapply.exp: Test faas without command.
916
917 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
918
919 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
920 Fortran tests.
921 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
922 order.
923
924 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
925
926 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
927 casting to type with no kind specified.
928 (test_basic_parsing_of_type_kinds): Additional tests for types
929 with no kind specified, and add tests for single/double
930 precision/complex types.
931
932 2019-12-04 Tom Tromey <tromey@adacore.com>
933
934 * gdb.base/endianity.c (struct other) <x>: New field.
935 (main): Initialize it.
936 * gdb.base/endianity.exp: Update.
937
938 2019-12-04 Tom Tromey <tromey@adacore.com>
939
940 * gdb.ada/scalar_storage/storage.adb: New file.
941 * gdb.ada/scalar_storage/pck.adb: New file.
942 * gdb.ada/scalar_storage/pck.ads: New file.
943 * gdb.ada/scalar_storage.exp: New file.
944
945 2019-12-04 Tom Tromey <tromey@adacore.com>
946
947 * gdb.base/endianity.c (struct otherendian) <f>: New field.
948 (main): Initialize it.
949 * gdb.base/endianity.exp: Update.
950
951 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
952
953 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
954
955 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
956
957 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
958 -symbol-info-module-functions and -symbol-info-module-variables.
959
960 2019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
961
962 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
963
964 2019-12-01 Richard Bunt <richard.bunt@arm.com>
965 Andrew Burgess <andrew.burgess@embecosm.com>
966
967 * gdb.fortran/derived-type-striding.exp: New file.
968 * gdb.fortran/derived-type-striding.f90: New file.
969 * gdb.fortran/array-slices.exp: New file.
970 * gdb.fortran/array-slices.f90: New file.
971
972 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
973
974 * gdb.base/define.exp: Test . in command names.
975 * gdb.base/setshow.exp: Update test, as . is now part of
976 command name.
977
978 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
979
980 * gdb.base/define-prefix.exp: New file.
981
982 2019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
983
984 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
985 compile.
986 (skip_btrace_pt_tests): Likewise.
987
988 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
989
990 * gdb.fortran/info-modules.exp: Compile source files in correct
991 order.
992
993 2019-11-27 Kevin Buettner <kevinb@redhat.com>
994
995 * gdb.dwarf2/imported-unit.exp: New file.
996 * gdb.dwarf2/imported-unit.c: New file.
997
998 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
999
1000 * gdb.mi/mi-fortran-modules-2.f90: New file.
1001 * gdb.mi/mi-fortran-modules.exp: New file.
1002 * gdb.mi/mi-fortran-modules.f90: New file.
1003
1004 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
1005
1006 * gdb.mi/mi-sym-info-1.c: New file.
1007 * gdb.mi/mi-sym-info-2.c: New file.
1008 * gdb.mi/mi-sym-info.exp: New file.
1009
1010 2019-11-22 Tom Tromey <tromey@adacore.com>
1011
1012 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
1013 * gdb.ada/tasks/foo.adb: Add another stopping location.
1014
1015 2019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
1016
1017 * gdb.base/endianity.c: New test.
1018 * gdb.base/endianity.exp: New file.
1019
1020 2019-11-21 Lukas Durfina <ldurfina@tachyum.com>
1021
1022 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
1023
1024 2019-11-21 Tom de Vries <tdevries@suse.de>
1025
1026 PR gdb/24956
1027 * gdb.base/ui-redirect.exp: Test output of user-defined command.
1028
1029 2019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
1030
1031 * gdb.python/py-progspace.exp: Add missing parentheses on some
1032 'print' commands.
1033
1034 2019-11-19 Tom Tromey <tom@tromey.com>
1035
1036 * gdb.tui/winheight.exp: New file.
1037
1038 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1039
1040 * gdb.base/ctf-whatis.c: Delete.
1041 * gdb.base/ctf-whatis.exp: Delete.
1042 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
1043
1044 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1045
1046 * gdb.base/ctf-cvexpr.exp: Delete.
1047 * gdb.base/cvexpr.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-constvars.exp: Skip test if CTF is not supported in
1052 the compiler. Clean up header comment a little.
1053 * gdb.base/ctf-ptype.exp: Likewise.
1054 * gdb.base/ctf-whatis.exp: Likewise.
1055 * lib/gdb.exp (skip_ctf_tests): New proc.
1056
1057 2019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
1058
1059 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
1060 * gdb.tui/corefile-run.exp: New file.
1061
1062 2019-11-14 Tom Tromey <tromey@adacore.com>
1063
1064 * gdb.base/gdbvars.exp (test_convenience_variables): Add
1065 regression tests.
1066
1067 2019-11-12 Tom Tromey <tom@tromey.com>
1068
1069 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
1070 after any command. Expect prompt after WAIT_FOR is seen.
1071 (enter_tui): Enable resize messages.
1072 (command): Expect command in output.
1073 (get_line): Avoid error when cursor appears to be off-screen.
1074 (dump_screen): Include screen size in title.
1075 (_do_resize): New proc, from "resize".
1076 (resize): Rewrite. Do resize in two steps.
1077 * gdb.tui/empty.exp (layouts): Fix entries.
1078 (check_boxes): Remove xfail.
1079 (check_text): Dump screen on failure.
1080
1081 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
1082
1083 * gdb.python/py-symbol.exp: Add test for
1084 gdb.lookup_static_symbols.
1085
1086 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
1087
1088 * gdb.python/py-symbol.c: Declare and call function from new
1089 py-symbol-2.c file.
1090 * gdb.python/py-symbol.exp: Compile both source files, and add new
1091 tests for gdb.lookup_static_symbol.
1092 * gdb.python/py-symbol-2.c: New file.
1093
1094 2019-11-02 Tom de Vries <tdevries@suse.de>
1095
1096 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
1097 * gdb.base/anon.exp: Same.
1098 * gdb.base/auto-connect-native-target.exp: Same.
1099 * gdb.base/call-ar-st.exp: Same.
1100 * gdb.base/catch-syscall.exp: Same.
1101 * gdb.base/commands.exp: Same.
1102 * gdb.base/default.exp: Same.
1103 * gdb.base/display.exp: Same.
1104 * gdb.base/float.exp: Same.
1105 * gdb.base/foll-fork.exp: Same.
1106 * gdb.base/help.exp: Same.
1107 * gdb.base/info-macros.exp: Same.
1108 * gdb.base/info-proc.exp: Same.
1109 * gdb.base/info-target.exp: Same.
1110 * gdb.base/long_long.exp: Same.
1111 * gdb.base/macscp.exp: Same.
1112 * gdb.base/memattr.exp: Same.
1113 * gdb.base/nofield.exp: Same.
1114 * gdb.base/pointers.exp: Same.
1115 * gdb.base/printcmds.exp: Same.
1116 * gdb.base/ptype.exp: Same.
1117 * gdb.base/restore.exp: Same.
1118 * gdb.base/return.exp: Same.
1119 * gdb.base/scope.exp: Same.
1120 * gdb.base/set-noassign.exp: Same.
1121 * gdb.base/setshow.exp: Same.
1122 * gdb.base/shlib-call.exp: Same.
1123 * gdb.base/signals.exp: Same.
1124 * gdb.base/sigstep.exp: Same.
1125 * gdb.base/skip.exp: Same.
1126 * gdb.base/solib-symbol.exp: Same.
1127 * gdb.base/stap-probe.exp: Same.
1128 * gdb.base/step-line.exp: Same.
1129 * gdb.base/step-test.exp: Same.
1130 * gdb.base/style.exp: Same.
1131 * gdb.base/varargs.exp: Same.
1132 * gdb.base/vla-datatypes.exp: Same.
1133 * gdb.base/vla-ptr.exp: Same.
1134 * gdb.base/vla-sideeffect.exp: Same.
1135 * gdb.base/volatile.exp: Same.
1136 * gdb.base/watch-cond-infcall.exp: Same.
1137 * gdb.base/watchpoint.exp: Same.
1138
1139 2019-11-02 Tom de Vries <tdevries@suse.de>
1140
1141 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
1142 * gdb.cp/cpexprs.exp: Same.
1143 * gdb.cp/except-multi-location.exp: Same.
1144 * gdb.cp/exceptprint.exp: Same.
1145 * gdb.cp/gdb2384.exp: Same.
1146 * gdb.cp/inherit.exp: Same.
1147 * gdb.cp/m-static.exp: Same.
1148 * gdb.cp/meth-typedefs.exp: Same.
1149 * gdb.cp/misc.exp: Same.
1150 * gdb.cp/namespace.exp: Same.
1151 * gdb.cp/non-trivial-retval.exp: Same.
1152 * gdb.cp/overload.exp: Same.
1153 * gdb.cp/pr17132.exp: Same.
1154 * gdb.cp/re-set-overloaded.exp: Same.
1155 * gdb.cp/rvalue-ref-types.exp: Same.
1156 * gdb.cp/templates.exp: Same.
1157
1158 2019-11-01 Luis Machado <luis.machado@linaro.org>
1159
1160 PR gdb/25124
1161
1162 * gdb.arch/pr25124.S: New file.
1163 * gdb.arch/pr25124.exp: New file.
1164
1165 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1166
1167 * gdb.fortran/info-modules.exp: Update expected results, and add
1168 additional tests for 'info module functinos', and 'info module
1169 variables'.
1170 * gdb.fortran/info-types.exp: Update expected results.
1171 * gdb.fortran/info-types.f90: Extend testcase with additional
1172 module variables and functions.
1173
1174 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1175
1176 * gdb.fortran/info-modules.exp: New file.
1177 * gdb.fortran/info-types.exp: Build with new file.
1178 * gdb.fortran/info-types.f90: Include and use new module.
1179 * gdb.fortran/info-types-2.f90: New file.
1180
1181 2019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1182
1183 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
1184 * gdb.base/settings.exp: Test all settings types using
1185 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
1186 that now verifies that the value of "maint show" is the same as
1187 returned by the settings functions. Test the type of the
1188 maintenance settings.
1189 * gdb.base/default.exp: Update show_conv_list.
1190
1191 2019-10-31 Tom de Vries <tdevries@suse.de>
1192
1193 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
1194 gdb_test.
1195 * gdb.arch/amd64-disp-step.exp: Same.
1196 * gdb.asm/asm-source.exp: Same.
1197 * gdb.btrace/buffer-size.exp: Same.
1198 * gdb.btrace/cpu.exp: Same.
1199 * gdb.btrace/enable.exp: Same.
1200 * gdb.dwarf2/count.exp: Same.
1201 * gdb.dwarf2/dw2-ranges-func.exp: Same.
1202 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
1203 * gdb.fortran/vla-datatypes.exp: Same.
1204 * gdb.fortran/vla-history.exp: Same.
1205 * gdb.fortran/vla-ptype.exp: Same.
1206 * gdb.fortran/vla-value.exp: Same.
1207 * gdb.fortran/whatis_type.exp: Same.
1208 * gdb.guile/guile.exp: Same.
1209 * gdb.multi/tids.exp: Same.
1210 * gdb.python/py-finish-breakpoint.exp: Same.
1211 * gdb.python/py-framefilter.exp: Same.
1212 * gdb.python/py-pp-registration.exp: Same.
1213 * gdb.python/py-xmethods.exp: Same.
1214 * gdb.python/python.exp: Same.
1215 * gdb.server/connect-with-no-symbol-file.exp: Same.
1216 * gdb.server/no-thread-db.exp: Same.
1217 * gdb.server/run-without-local-binary.exp: Same.
1218 * gdb.stabs/weird.exp: Same.
1219 * gdb.threads/attach-many-short-lived-threads.exp: Same.
1220 * gdb.threads/thread-find.exp: Same.
1221 * gdb.threads/tls-shared.exp: Same.
1222 * gdb.threads/tls.exp: Same.
1223 * gdb.threads/wp-replication.exp: Same.
1224 * gdb.trace/ax.exp: Same.
1225 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
1226
1227 2019-10-31 Tom de Vries <tdevries@suse.de>
1228
1229 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
1230 * gdb.ada/array_subscript_addr.exp: Same.
1231 * gdb.ada/arrayidx.exp: Same.
1232 * gdb.ada/arrayparam.exp: Same.
1233 * gdb.ada/arrayptr.exp: Same.
1234 * gdb.ada/boolean_expr.exp: Same.
1235 * gdb.ada/call_pn.exp: Same.
1236 * gdb.ada/complete.exp: Same.
1237 * gdb.ada/fixed_cmp.exp: Same.
1238 * gdb.ada/fun_addr.exp: Same.
1239 * gdb.ada/funcall_param.exp: Same.
1240 * gdb.ada/interface.exp: Same.
1241 * gdb.ada/mod_from_name.exp: Same.
1242 * gdb.ada/null_array.exp: Same.
1243 * gdb.ada/packed_array.exp: Same.
1244 * gdb.ada/packed_tagged.exp: Same.
1245 * gdb.ada/print_chars.exp: Same.
1246 * gdb.ada/print_pc.exp: Same.
1247 * gdb.ada/ptype_arith_binop.exp: Same.
1248 * gdb.ada/ptype_field.exp: Same.
1249 * gdb.ada/ptype_tagged_param.exp: Same.
1250 * gdb.ada/rec_return.exp: Same.
1251 * gdb.ada/ref_tick_size.exp: Same.
1252 * gdb.ada/str_ref_cmp.exp: Same.
1253 * gdb.ada/taft_type.exp: Same.
1254 * gdb.ada/tagged.exp: Same.
1255 * gdb.ada/type_coercion.exp: Same.
1256 * gdb.ada/uninitialized_vars.exp: Same.
1257
1258 2019-10-30 Tom de Vries <tdevries@suse.de>
1259
1260 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
1261
1262 2019-10-26 Tom de Vries <tdevries@suse.de>
1263
1264 * gdb.base/bigcore.c: Fix typos in comments.
1265 * gdb.base/ctf-ptype.c: Same.
1266 * gdb.base/long_long.c: Same.
1267 * gdb.dwarf2/dw2-op-out-param.S: Same.
1268 * gdb.python/py-evthreads.c: Same.
1269 * gdb.reverse/i387-stack-reverse.c: Same.
1270 * gdb.trace/tfile.c: Same.
1271 * lib/compiler.c: Same.
1272 * lib/compiler.cc: Same.
1273
1274 2019-10-25 Tom de Vries <tdevries@suse.de>
1275
1276 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
1277 gdb_test_multiple calls.
1278 * gdb.reverse/sigall-reverse.exp: Same.
1279 * gdb.reverse/solib-precsave.exp: Same.
1280 * gdb.reverse/solib-reverse.exp: Same.
1281 * gdb.reverse/until-precsave.exp: Same.
1282 * gdb.reverse/until-reverse.exp: Same.
1283
1284 2019-10-24 Tom de Vries <tdevries@suse.de>
1285
1286 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
1287 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
1288 kfail using -wrap pattern flag and convenience variable
1289 gdb_test_name.
1290
1291 2019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
1292
1293 * gdb.python/py-progspace.exp: Add tests for the
1294 Progspace.block_for_pc method.
1295
1296 2019-10-23 Tom Tromey <tom@tromey.com>
1297
1298 * configure: Rebuild.
1299 * aclocal.m4: Use m4_include, not sinclude.
1300
1301 2019-10-21 Tom de Vries <tdevries@suse.de>
1302
1303 * gdb.base/infcall-nested-structs.c: Add
1304 __attribute__((noinline,noclone)) to all functions.
1305 (call_all): Add missing variable initialization. Simplify return value.
1306 (breakpt): Increment volatile variable, to prevent call from being
1307 optimized out.
1308 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
1309
1310 2019-10-17 Tom de Vries <tdevries@suse.de>
1311
1312 * gdb.fortran/module.exp: Allow info variables to print info for files
1313 other than module.f90.
1314
1315 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
1316
1317 * gdb.fortran/module.exp: Extend with 'info variables' test.
1318
1319 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
1320
1321 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
1322 F77_FOR_TARGET.
1323
1324 2019-10-16 Tom de Vries <tdevries@suse.de>
1325
1326 PR tdep/25096
1327 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
1328
1329 2019-10-16 Tom de Vries <tdevries@suse.de>
1330
1331 PR tdep/24104
1332 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
1333 Add KFAIL for PR tdep/25096.
1334
1335 2019-10-16 Tom de Vries <tdevries@suse.de>
1336
1337 PR testsuite/25059
1338 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
1339
1340 2019-10-16 Tom de Vries <tdevries@suse.de>
1341
1342 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
1343 as signed.
1344
1345 2019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
1346
1347 * gdb.mi/list-thread-groups-available.exp: Read entries one by
1348 one instead of increasing timeout.
1349
1350 2019-10-13 Tom de Vries <tdevries@suse.de>
1351
1352 PR record/25038
1353 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
1354 * gdb.reverse/sigall-reverse.exp: Same.
1355 * gdb.reverse/solib-precsave.exp: Same.
1356 * gdb.reverse/solib-reverse.exp: Same.
1357 * gdb.reverse/step-precsave.exp: Same.
1358 * gdb.reverse/until-precsave.exp: Same.
1359 * gdb.reverse/until-reverse.exp: Same.
1360 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
1361
1362 2019-10-10 Andreas Arnez <arnez@linux.ibm.com>
1363
1364 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
1365 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
1366 (cmp_struct_05_01, cmp_struct_static_02_01)
1367 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
1368 comparisons.
1369
1370 2019-10-10 Tom de Vries <tdevries@suse.de>
1371
1372 PR testsuite/24888
1373 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
1374 gnatlink.
1375
1376 2019-10-09 Tom de Vries <tdevries@suse.de>
1377
1378 PR testsuite/25048
1379 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
1380
1381 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
1382
1383 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
1384 exceptions due to missing debug information.
1385
1386 2019-10-07 Tom de Vries <tdevries@suse.de>
1387
1388 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
1389
1390 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
1391
1392 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
1393 * gdb.base/annota1.exp: Update to use gdb_test_name.
1394
1395 2019-10-07 Weimin Pan <weimin.pan@oracle.com>
1396
1397 * gdb.base/ctf-whatis.exp: New file.
1398 * gdb.base/ctf-whatis.c: New file.
1399 * gdb.base/ctf-ptype.exp: New file.
1400 * gdb.base/ctf-ptype.c: New file.
1401 * gdb.base/ctf-constvars.exp: New file.
1402 * gdb.base/ctf-constvars.c: New file.
1403 * gdb.base/ctf-cvexpr.exp: New file.
1404
1405 2019-10-04 Tom de Vries <tdevries@suse.de>
1406
1407 * gdb.cp/local-static.c (main): Move declaration of int i out of the
1408 for loop.
1409
1410 2019-10-03 Tom Tromey <tom@tromey.com>
1411
1412 PR rust/24976:
1413 * gdb.rust/simple.rs (Union2): New type.
1414 (main): Use Union2.
1415 * gdb.rust/simple.exp: Add test.
1416
1417 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1418
1419 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
1420 nested function prefix.
1421
1422 2019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
1423 Richard Bunt <richard.bunt@arm.com>
1424 Andrew Burgess <andrew.burgess@embecosm.com>
1425
1426 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
1427 nested functions.
1428 * gdb.fortran/nested-funcs.f90: Update expected results.
1429 * gdb.fortran/nested-funcs-2.exp: New file.
1430 * gdb.fortran/nested-funcs-2.f90: New file.
1431
1432 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1433
1434 * gdb.python/py-parameter.exp: Make test names unique.
1435 * gdb.python/py-template.exp: Likewise.
1436 * gdb.python/py-value.exp: Likewise.
1437
1438 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1439
1440 * gdb.base/break-interp.exp: Reduce test name duplication.
1441 * gdb.base/call-sc.exp: Likewise.
1442 * gdb.base/callfuncs.exp: Likewise.
1443 * gdb.base/charset.exp: Likewise.
1444 * gdb.base/dump.exp: Likewise.
1445 * gdb.base/ena-dis-br.exp: Likewise.
1446 * gdb.base/relational.exp: Likewise.
1447 * gdb.base/step-over-syscall.exp: Likewise.
1448 * gdb.base/structs.exp: Likewise.
1449
1450 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1451
1452 * gdb.linespec/explicit.exp: Make test names unique.
1453 * gdb.linespec/ls-errs.exp: Likewise.
1454
1455 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1456
1457 * gdb.reverse/break-precsave.exp: Make test names unique.
1458 * gdb.reverse/break-reverse.exp: Likewise.
1459 * gdb.reverse/finish-precsave.exp: Likewise.
1460 * gdb.reverse/finish-reverse.exp: Likewise.
1461 * gdb.reverse/machinestate-precsave.exp: Likewise.
1462 * gdb.reverse/machinestate.exp: Likewise.
1463 * gdb.reverse/readv-reverse.exp: Likewise.
1464 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1465 * gdb.reverse/sigall-precsave.exp: Likewise.
1466 * gdb.reverse/sigall-reverse.exp: Likewise.
1467 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
1468 * gdb.reverse/watch-precsave.exp: Likewise.
1469 * gdb.reverse/watch-reverse.exp: Likewise.
1470
1471 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1472
1473 * gdb.threads/stop-with-handle.c: New file.
1474 * gdb.threads/stop-with-handle.exp: New file.
1475
1476 2019-10-03 Tom de Vries <tdevries@suse.de>
1477
1478 PR testsuite/25059
1479 * gdb.base/list-missing-source.exp: Allowing the "Compilation
1480 directory" line to be missing.
1481
1482 2019-10-03 Tom de Vries <tdevries@suse.de>
1483
1484 PR testsuite/25059
1485 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
1486 type optional.
1487
1488 2019-10-02 Andreas Arnez <arnez@linux.ibm.com>
1489
1490 * gdb.python/py-format-string.c (string.h): New include.
1491 (main): Fill a_struct_with_union.the_union.an_int with bytes of
1492 the same value, for endianness-independence.
1493 * gdb.python/py-format-string.exp (default_regexp_dict)
1494 (test_pretty_structs, test_format): Adjust expected output to the
1495 changed initialization.
1496
1497 2019-10-02 Tom Tromey <tromey@adacore.com>
1498
1499 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
1500
1501 2019-10-02 Pedro Alves <palves@redhat.com>
1502 Andrew Burgess <andrew.burgess@embecosm.com>
1503
1504 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
1505 "print-file-var.h".
1506 (this_version_id) Use ATTRIBUTE_VISIBILITY.
1507 (get_version_1): Print this_version_id and its address.
1508 Add extern "C" wrappers around interface functions.
1509 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
1510 "print-file-var.h".
1511 (this_version_id) Use ATTRIBUTE_VISIBILITY.
1512 (get_version_2): Print this_version_id and its address.
1513 Add extern "C" wrappers around interface functions.
1514 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
1515 <stddef.h> and "print-file-var.h".
1516 Add extern "C" wrappers around interface functions.
1517 [VERSION_ID_MAIN] (this_version_id): Define.
1518 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
1519 * gdb.base/print-file-var.h: Add some #defines to simplify setting
1520 up extern "C" blocks.
1521 * gdb.base/print-file-var.exp (test): New, factored out from top
1522 level.
1523 (top level): Test all combinations of attribute hidden or not,
1524 dlopen or not, and this_version_id symbol in main file or not.
1525 Compile tests as both C++ and C, make test names unique.
1526
1527 2019-10-01 Tom Tromey <tom@tromey.com>
1528
1529 * gdb.base/style.exp: Test "show logging filename".
1530
1531 2019-10-01 Tom Tromey <tom@tromey.com>
1532
1533 * lib/gdb-utils.exp (style): Handle "metadata" argument.
1534 * gdb.base/style.exp: Add metadata style test.
1535
1536 2019-10-01 Tom Tromey <tom@tromey.com>
1537
1538 * gdb.base/style.exp: Test "pwd".
1539
1540 2019-10-01 Tom Tromey <tom@tromey.com>
1541
1542 * gdb.base/style.exp: Update tests.
1543
1544 2019-10-01 Andreas Arnez <arnez@linux.ibm.com>
1545
1546 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
1547 'six' to unsigned.
1548 (s1): Initialize fields 'four' and 'six' instead of 'three' and
1549 'five'. Use an all-ones bit pattern for each.
1550 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
1551 to its changed values.
1552
1553 2019-09-30 Tom Tromey <tromey@adacore.com>
1554
1555 * gdb.rust/traits.rs: Disable all warnings.
1556
1557 2019-09-29 Tom de Vries <tdevries@suse.de>
1558
1559 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
1560
1561 2019-09-29 Tom de Vries <tdevries@suse.de>
1562
1563 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
1564
1565 2019-09-27 Tom de Vries <tdevries@suse.de>
1566
1567 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
1568
1569 2019-09-27 Tom de Vries <tdevries@suse.de>
1570
1571 PR record/23188
1572 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
1573
1574 2019-09-26 Tom Tromey <tromey@adacore.com>
1575
1576 * gdb.ada/py_taft.exp: New file.
1577 * gdb.ada/py_taft/main.adb: New file.
1578 * gdb.ada/py_taft/pkg.adb: New file.
1579 * gdb.ada/py_taft/pkg.ads: New file.
1580
1581 2019-09-24 Tom de Vries <tdevries@suse.de>
1582
1583 PR gdb/24598
1584 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
1585
1586 2019-09-22 Tom de Vries <tdevries@suse.de>
1587
1588 * gdb.base/restore.exp: Allow register variables to be optimized out at
1589 -O0.
1590
1591 2019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
1592
1593 * gdb.arch/spu-info.exp: Remove file.
1594 * gdb.arch/spu-info.c: Remove file.
1595 * gdb.arch/spu-ls.exp: Remove file.
1596 * gdb.arch/spu-ls.c: Remove file.
1597
1598 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
1599 * gdb.asm/spu.inc: Remove file.
1600
1601 * gdb.base/dump.exp: Remove support for spu*-*-*.
1602 * gdb.base/stack-checking.exp: Likewise.
1603 * gdb.base/overlays.exp: Likewise.
1604 * gdb.base/ovlymgr.c: Likewise.
1605 * gdb.base/spu.ld: Remove file.
1606
1607 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
1608 * gdb.cp/cpexprs.exp: Likewise.
1609 * gdb.cp/exception.exp: Likewise.
1610 * gdb.cp/gdb2495.exp: Likewise.
1611 * gdb.cp/mb-templates.exp: Likewise.
1612 * gdb.cp/pr9167.exp: Likewise.
1613 * gdb.cp/userdef.exp: Likewise.
1614
1615 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
1616
1617 * gdb.cell: Remove directory.
1618 * lib/cell.exp: Remove file.
1619
1620 2019-09-19 Tom de Vries <tdevries@suse.de>
1621
1622 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
1623
1624 2019-09-19 Tom de Vries <tdevries@suse.de>
1625
1626 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
1627
1628 2019-09-19 Tom de Vries <tdevries@suse.de>
1629
1630 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
1631 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
1632 (gdb_target_cmd): ... here.
1633 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
1634 value 2.
1635
1636 2019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
1637
1638 * gdb.base/source-dir.exp: Avoid having directory names in test
1639 names.
1640
1641 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
1642
1643 * gdb.base/source-dir.exp: Add extra test for mapped compilation
1644 directory.
1645
1646 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
1647
1648 * gdb.base/list-missing-source.exp: New file.
1649
1650 2019-09-14 Tom de Vries <tdevries@suse.de>
1651
1652 PR teststuite/24599
1653 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
1654 * lib/ada.exp (gnatmake_version_at_least): New proc.
1655
1656 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
1657
1658 * gdb.base/maint.exp: Use exec_has_index_section.
1659
1660 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
1661
1662 * gdb.base/maint.exp: Add test for 'maint info sections'.
1663
1664 2019-09-12 Tom de Vries <tdevries@suse.de>
1665
1666 * gdb.base/store.exp: Allow register variables to be optimized out at
1667 -O0.
1668
1669 2019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1670
1671 * gdb.ada/rdv_wait.exp: Update to new task names.
1672 * gdb.base/task_switch_in_core.exp: Likewise.
1673 * gdb.base/info_sources_base.c: Likewise.
1674
1675 2019-09-10 Tom Tromey <tromey@adacore.com>
1676
1677 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
1678
1679 2019-09-10 Tom Tromey <tromey@adacore.com>
1680
1681 * gdb.ada/dgopt.exp: New file.
1682 * gdb.ada/dgopt/x.adb: New file.
1683
1684 2019-09-08 Tom Tromey <tom@tromey.com>
1685
1686 * gdb.tui/resize.exp: Remove setup_xfail.
1687 * gdb.tui/regs.exp: Remove setup_xfail.
1688 * gdb.tui/basic.exp: Remove setup_xfail.
1689
1690 2019-09-06 David Blaikie <dblaikie@gmail.com>
1691
1692 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
1693 * gdb.cp/cplabel.exp: Ditto.
1694 * gdb.linespec/ls-errs.exp: Ditto.
1695
1696 2019-09-05 Tom de Vries <tdevries@suse.de>
1697
1698 * lib/gdb.exp (cmp_file_string): New proc.
1699 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
1700 runto_main. Verify save breakpoints output.
1701
1702 2019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1703
1704 * gdb.base/info-var.exp: Test info variables without running
1705 to main, to avoid expect's buffer overflow.
1706
1707 2019-09-03 Tom Tromey <tromey@adacore.com>
1708
1709 * gdb.ada/bias.exp: New file.
1710 * gdb.ada/bias/bias.adb: New file.
1711 * gdb.ada/print_chars.exp: Add regression test.
1712 * gdb.ada/print_chars/foo.adb (My_Character): New type.
1713 (MC): New variable.
1714
1715 2019-08-29 Sandra Loosemore <sandra@codesourcery.com>
1716
1717 * gdb.base/argv0-symlink.exp: Run only on native target
1718 and local host.
1719
1720 2019-08-29 Tom de Vries <tdevries@suse.de>
1721
1722 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
1723 diverse debug info.
1724 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
1725
1726 2019-08-28 Tom de Vries <tdevries@suse.de>
1727
1728 * gdb.base/info-var.exp: Allow info variables to print info for files
1729 other than info-var-f1.c and info-var-f2.c.
1730
1731 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
1732
1733 * gdb.fortran/info-types.exp: Add module.
1734 * gdb.fortran/info-types.f90: Update expected results.
1735
1736 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
1737
1738 * gdb.fortran/info-types.exp: New file.
1739 * gdb.fortran/info-types.f90: New file.
1740 * lib/fortran.exp (fortran_character1): New proc.
1741
1742 2019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
1743
1744 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
1745 functions'. Reindent as needed.
1746 * gdb.base/info-var-f1.c: New file.
1747 * gdb.base/info-var-f2.c: New file.
1748 * gdb.base/info-var.exp: New file.
1749 * gdb.base/info-var.h: New file.
1750
1751 2019-08-26 Tom de Vries <tdevries@suse.de>
1752
1753 PR c++/24852
1754 * gdb.cp/no-libstdcxx-probe.exp: New test.
1755
1756 2019-08-26 Tom de Vries <tdevries@suse.de>
1757
1758 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
1759 * tests need to be skipped.
1760 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
1761 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
1762 mi_skip_libstdcxx_probe_tests.
1763
1764 2019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
1765
1766 * gdb.python/py-xmethods.exp: Use raw strings when passing
1767 arguments to SimpleXMethodMatcher.
1768
1769 2019-08-22 Tom de Vries <tdevries@suse.de>
1770
1771 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
1772 more informative.
1773
1774 2019-08-21 Pedro Alves <palves@redhat.com>
1775
1776 * gdb.base/with.exp: Test "with" with no arguments.
1777
1778 2019-08-21 Tom de Vries <tdevries@suse.de>
1779
1780 * gdb.base/gdb-caching-proc.exp: Sort files.
1781
1782 2019-08-20 Tom de Vries <tdevries@suse.de>
1783
1784 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
1785 compilation.
1786
1787 2019-08-16 Tom de Vries <tdevries@suse.de>
1788
1789 * gdb.base/compare-sections.exp ("after run to main"): Allow
1790 mismatched read-only sections for PIE executables.
1791
1792 2019-08-16 Tom Tromey <tom@tromey.com>
1793
1794 * lib/tuiterm.exp (_csi_Z): New proc.
1795 * gdb.tui/basic.exp: Update window positions.
1796 * gdb.tui/empty.exp: Update window positions.
1797
1798 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1799
1800 * gdb.base/examine-backward.exp: Correct regexp for
1801 "examine 3 bytes backward from ${address_zero}".
1802
1803 2019-08-15 Tom Tromey <tom@tromey.com>
1804
1805 * gdb.tui/empty.exp: Enable resizing tests.
1806
1807 2019-08-15 Tom Tromey <tromey@adacore.com>
1808
1809 * gdb.ada/char_enum.exp: Add regression tests.
1810 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
1811 and '0'.
1812 (Char, Gchar): Update.
1813 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
1814
1815 2019-08-15 Christian Biesinger <cbiesinger@google.com>
1816
1817 * gdb.python/python.exp: Expect a leading underscore on
1818 GdbOutput{,Error}File.
1819
1820 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1821
1822 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
1823 Windows host.
1824
1825 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1826
1827 * gdb.base/batch-preserve-term-settings.exp
1828 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
1829
1830 2019-08-15 Christian Biesinger <cbiesinger@google.com>
1831
1832 * lib/gdb.exp: When running on a mingw target, replace
1833 /x/ with x:/.
1834
1835 2019-08-14 Alan Hayward <alan.hayward@arm.com>
1836
1837 * gdb.arch/aarch64-prologue.c: New test.
1838 * gdb.arch/aarch64-prologue.exp: New file.
1839
1840 2019-08-13 Tom de Vries <tdevries@suse.de>
1841
1842 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
1843 Thread.
1844
1845 2019-08-13 Sandra Loosemore <sandra@codesourcery.com>
1846
1847 * gdb.python/py-completion.exp: Download the .py file to the host
1848 and use its host pathname. Conditionalize tests that use
1849 tab completion and manipulate files on the build machine.
1850 * gdb.python/py-events.exp: Download the .py file to the host
1851 and use its host pathname.
1852 * gdb.python/py-evsignal.exp: Likewise.
1853 * gdb.python/py-evthreads.exp: Likewise.
1854 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
1855 pathname syntax.
1856 * gdb.python/py-framefilter.exp: Download the .py file to the right
1857 place on the host. Match Windows pathname syntax.
1858 * gdb.python/py-mi-var-info-path-expression.exp: Download the
1859 .py file to the host and use its host pathname.
1860 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
1861 * gdb.python/py-objfile.exp: Expect a host pathname, not a
1862 build pathname. Skip symlink test on Windows host. Add missing
1863 newline at end of file.
1864 * gdb.python/py-pp-maint.exp: Download the .py file to the host
1865 and use its host pathname.
1866 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
1867 * gdb.python/py-section-script.exp: Use host location of binfile
1868 on safe-path. Use correct path separator on Windows host.
1869 Reorder alternatives in gdb_test_multiple to prevent matching
1870 the wrong alternative on success.
1871 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
1872
1873 2019-08-12 Patrick Palka <patrick@parcs.ath.cx>
1874
1875 * gdb.gdb/selftest.exp (test_with_self): Update test to now
1876 expect the GDB inferior to no longer immediately stop after
1877 being resumed with "signal SIGINT".
1878
1879 2019-08-09 Sandra Loosemore <sandra@codesourcery.com>
1880
1881 * gdb.linespec/break-ask.exp: Generalize regexps to match
1882 Windows pathnames too.
1883
1884 2019-08-08 Tom de Vries <tdevries@suse.de>
1885
1886 PR testsuite/24862
1887 * lib/tuiterm.exp (_accept): Fix CSI regexp.
1888
1889 2019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1890
1891 * gdb.base/style.exp: Update tests for help doc new invariants.
1892 * gdb.base/help.exp: Likewise.
1893
1894 2019-08-06 Tom Tromey <tom@tromey.com>
1895
1896 * gdb.base/style.exp: Add disassemble test.
1897 * gdb.base/style.c (some_called_function): New function.
1898 (main): Use it.
1899
1900 2019-08-05 Christian Biesinger <cbiesinger@google.com>
1901
1902 * gdb.python/py-block.exp: Test dictionary access on blocks.
1903
1904 2019-08-05 Simon Marchi <simon.marchi@efficios.com>
1905
1906 PR gdb/24863
1907 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
1908 -list-thread-groups --available test when running under
1909 check-read1.
1910
1911 2019-08-05 Tom de Vries <tdevries@suse.de>
1912
1913 PR testsuite/24863
1914 * lib/gdb.exp (with_read1_timeout_factor): New proc.
1915 * gdb.base/help.exp: Use with_read1_timeout_factor.
1916 * gdb.base/info-macros.exp: Same.
1917 * gdb.cp/nested-types.exp: Same.
1918
1919 2019-08-05 Tom de Vries <tdevries@suse.de>
1920
1921 * lib/gdb.exp (version_at_least): Factor out of ...
1922 (tcl_version_at_least): ... here.
1923 (gdb_compile): Fail if pie results in non-PIE executable.
1924 (readelf_version, readelf_prints_pie): New proc.
1925 (exec_is_pie): Return -1 if unknown.
1926
1927 2019-08-05 Tom de Vries <tdevries@suse.de>
1928
1929 * lib/gdb.exp (tcl_version_at_least): Fix typo.
1930
1931 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1932
1933 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
1934
1935 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1936
1937 * lib/completion-support.exp (test_gdb_complete_none): Skip
1938 tab completion tests if no readline support.
1939 (test_gdb_complete_unique_re): Likewise.
1940 (test_gdb_complete_multiple): Likewise.
1941
1942 2019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1943
1944 * gdb.base/info_sources.exp: New file.
1945 * gdb.base/info_sources.c: New file.
1946 * gdb.base/info_sources_base.c: New file.
1947
1948 2019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1949
1950 * gdb.base/batch-exit-status.exp: Call test_exit_status with
1951 prefix argument.
1952 (test_exit_status): Add prefix argument.
1953
1954 2019-08-01 Tom de Vries <tdevries@suse.de>
1955
1956 PR testsuite/24863
1957 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
1958 calling exp_continue for new thread and thread exited messages.
1959
1960 2019-08-01 Tom de Vries <tdevries@suse.de>
1961
1962 PR testsuite/24863
1963 * gdb.base/structs.exp: Fix check-read1 timeout using
1964 gdb_test_sequence.
1965 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
1966
1967 2019-08-01 Tom de Vries <tdevries@suse.de>
1968
1969 PR testsuite/24863
1970 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
1971 line.
1972
1973 2019-08-01 Tom de Vries <tdevries@suse.de>
1974
1975 PR testsuite/24863
1976 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
1977
1978 2019-07-30 Tom Tromey <tromey@adacore.com>
1979
1980 * gdb.ada/display_nested.exp: New file.
1981 * gdb.ada/display_nested/foo.adb: New file.
1982 * gdb.ada/display_nested/pack.adb: New file.
1983 * gdb.ada/display_nested/pack.ads: New file.
1984
1985 2019-07-30 Christian Biesinger <cbiesinger@google.com>
1986
1987 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
1988 namespace.
1989 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
1990
1991 2019-07-30 Tom de Vries <tdevries@suse.de>
1992
1993 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
1994 instead.
1995
1996 2019-07-30 Tom de Vries <tdevries@suse.de>
1997
1998 PR testsuite/24834
1999 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
2000 (exec_is_pie): New proc.
2001
2002 2019-07-29 Christian Biesinger <cbiesinger@google.com>
2003
2004 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
2005
2006 2019-07-29 Christian Biesinger <cbiesinger@google.com>
2007
2008 * gdb.python/py-objfile.c: Add global and static vars.
2009 * gdb.python/py-objfile.exp: Test new functions Objfile.
2010 lookup_global_symbol and lookup_static_symbol.
2011
2012 2019-07-29 Tom Tromey <tom@tromey.com>
2013
2014 * lib/tuiterm.exp (Term::_csi_@): New proc.
2015 (Term::_csi_X): Don't move cursor.
2016
2017 2019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2018
2019 * gdb.base/options.exp: Update backtrace - completion to
2020 new option -frame-info.
2021 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
2022 Test new 'set print frame-info'. Test backtrace -frame-info
2023 overriding 'set print frame-info'.
2024 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
2025 Test new 'set print frame-info'.
2026 Verify consistency of backtrace with and without filters, with and
2027 without -no-filters.
2028 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
2029 default.
2030
2031 2019-07-29 Tom de Vries <tdevries@suse.de>
2032
2033 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
2034 no arguments".
2035
2036 2019-07-29 Tom de Vries <tdevries@suse.de>
2037
2038 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
2039 is a substring of the first for "complete non-unique file name".
2040
2041 2019-07-29 Tom de Vries <tdevries@suse.de>
2042
2043 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
2044 with ".*".
2045
2046 2019-07-29 Tom de Vries <tdevries@suse.de>
2047
2048 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
2049 Pass prompt_regexp parameter to gdb_test_multiple calls.
2050
2051 2019-07-29 Tom de Vries <tdevries@suse.de>
2052
2053 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
2054 print registers" regexps.
2055
2056 2019-07-29 Tom de Vries <tdevries@suse.de>
2057
2058 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
2059
2060 2019-07-29 Tom de Vries <tdevries@suse.de>
2061
2062 PR gdb/24855
2063 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
2064 (skip_python_tests_prompt): Add prompt_regexp argument to
2065 gdb_test_multiple calls.
2066
2067 2019-07-27 Tom Tromey <tom@tromey.com>
2068
2069 * gdb.tui/main.exp: New file.
2070
2071 2019-07-27 Tom Tromey <tom@tromey.com>
2072
2073 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
2074 optional.
2075 * gdb.tui/empty.exp: New file.
2076
2077 2019-07-27 Tom Tromey <tom@tromey.com>
2078
2079 * lib/tuiterm.exp (spawn): New proc.
2080 (Term::resize): New proc.
2081 * gdb.tui/resize.exp: New file.
2082
2083 2019-07-27 Tom Tromey <tom@tromey.com>
2084
2085 * gdb.tui/list.exp: New file.
2086
2087 2019-07-27 Tom Tromey <tom@tromey.com>
2088
2089 * gdb.tui/regs.exp: New file.
2090
2091 2019-07-27 Tom Tromey <tom@tromey.com>
2092
2093 * gdb.tui/basic.exp: Add "layout split" test.
2094
2095 2019-07-27 Tom Tromey <tom@tromey.com>
2096
2097 * gdb.tui/basic.exp: Add "layout asm" test.
2098
2099 2019-07-27 Tom Tromey <tom@tromey.com>
2100
2101 * lib/tuiterm.exp: New file.
2102 * gdb.tui/basic.exp: New file.
2103
2104 2019-07-27 Kevin Buettner <kevinb@redhat.com>
2105
2106 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
2107 Enable tests associated with this flag. Adjust regex
2108 referencing "foo_low" to now refer to "foo_cold" instead.
2109
2110 2019-07-27 Kevin Buettner <kevinb@redhat.com>
2111
2112 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
2113 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
2114 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
2115 foo_cold. Revise comments to match.
2116 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
2117 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
2118 were wrapped into this proc; Call do_test in loop from outermost
2119 level.
2120 (foo_low): Rename all occurrences to "foo_cold".
2121 (backtrace from baz): New test.
2122 (x2/i foo_cold): New test.
2123 (info line *foo_cold): New test.
2124
2125 2019-07-26 Tom de Vries <tdevries@suse.de>
2126
2127 * gdb.arch/i386-pkru.exp: Fix unterminated string.
2128
2129 2019-07-25 Tom de Vries <tdevries@suse.de>
2130
2131 PR testsuite/24830
2132 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
2133 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
2134 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
2135 (skip_libstdcxx_probe_tests): ... here.
2136 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
2137
2138 2019-07-24 Tom de Vries <tdevries@suse.de>
2139
2140 PR testsuite/24807
2141 * gdb.objc/basicclass.m: Include stdio.h.
2142 * gdb.objc/nondebug.m: Same.
2143 * gdb.objc/objcdecode.m: Same.
2144
2145 2019-07-24 Tom de Vries <tdevries@suse.de>
2146
2147 PR testsuite/24612
2148 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
2149 additional_flags.
2150
2151 2019-07-24 Tom de Vries <tdevries@suse.de>
2152
2153 PR testsuite/24831
2154 * gdb.multi/tids.exp: Update error messages for info threads.
2155
2156 2019-07-24 Tom de Vries <tdevries@suse.de>
2157
2158 * gdb.base/info-types.exp: Allow info types to print info for more than
2159 one file.
2160
2161 2019-07-23 Tom de Vries <tdevries@suse.de>
2162
2163 PR testsuite/24842
2164 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
2165 gdb_spawn_with_cmdline_opts.
2166
2167 2019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
2168
2169 * gdb.arch/arm-cmse-sgstubs.c: New test.
2170 * gdb.arch/arm-cmse-sgstubs.exp: New file.
2171
2172 2019-07-23 Tom de Vries <tdevries@suse.de>
2173
2174 PR testsuite/24711
2175 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
2176 issuing next command.
2177
2178 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
2179
2180 * gdb.ada/info_auto_lang.exp: Update expected results.
2181 * gdb.base/info-types.c: Add additional types to check.
2182 * gdb.base/info-types.exp: Update expected results.
2183
2184 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
2185
2186 * gdb.base/info-types.c: New file.
2187 * gdb.base/info-types.exp: New file.
2188
2189 2019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
2190
2191 * gdb.arch/riscv-bp-infcall.c: New file.
2192 * gdb.arch/riscv-bp-infcall.exp: New file.
2193
2194 2019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
2195
2196 PR breakpoints/24541
2197 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
2198
2199 2019-07-14 Tom de Vries <tdevries@suse.de>
2200
2201 PR testsuite/24760
2202 * gdb.objc/basicclass.exp: Fix unterminated string.
2203
2204 2019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
2205 Andrew Burgess <andrew.burgess@embecosm.com>
2206
2207 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
2208 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
2209 negative bounds.
2210 * gdb.fortran/vla-value.exp: Print elements of an array with
2211 negative bounds.
2212 * gdb.fortran/vla.f90: Setup an array with negative bounds for
2213 testing.
2214
2215 2019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
2216
2217 * gdb.base/options.exp (expect_string): Dequote strings in
2218 results.
2219 (test-string): Test strings with different quoting and reindent.
2220
2221 2019-07-10 Tom Tromey <tromey@adacore.com>
2222
2223 * gdb.ada/mi_ex_cond.exp: Update expected results.
2224 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
2225 * gdb.ada/mi_catch_ex.exp: Update expected results.
2226 * gdb.ada/mi_catch_assert.exp: Update expected results.
2227 * gdb.ada/catch_ex.exp (catch_exception_info)
2228 (catch_exception_entry, catch_assert_entry)
2229 (catch_unhandled_entry): Update.
2230 * gdb.ada/catch_assert_if.exp: Update expected results.
2231
2232 2019-07-10 Richard Bunt <richard.bunt@arm.com>
2233 Stephen Roberts <stephen.roberts@arm.com>
2234
2235 * gdb.base/define.exp: Restore original prompt.
2236
2237 2019-07-09 Pedro Alves <palves@redhat.com>
2238
2239 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
2240 breakpoints" output.
2241 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
2242 * gdb.python/py-breakpoint.exp: No longer expect that "catch
2243 throw" creates breakpoint.
2244 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
2245 'type="catchpoint"'.
2246
2247 2019-07-09 Pedro Alves <palves@redhat.com>
2248
2249 PR c++/15468
2250 * gdb.cp/except-multi-location-lib.cc: New.
2251 * gdb.cp/except-multi-location-main.cc: New.
2252 * gdb.cp/except-multi-location.exp: New.
2253
2254 2019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
2255
2256 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
2257 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
2258 argument and update callers.
2259
2260 2019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2261
2262 * gdb.arch/amd64-break-on-asm-line.S: New file.
2263 * gdb.arch/amd64-break-on-asm-line.exp: New file.
2264
2265 2019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2266
2267 * gdb.base/printcmds.exp: Test printing C string and
2268 C wide string convenience vars without transiting via the inferior.
2269 Also make test names unique.
2270
2271 2019-07-08 Alan Hayward <alan.hayward@arm.com>
2272
2273 PR breakpoints/25011
2274 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
2275
2276 2019-07-04 Pedro Alves <palves@redhat.com>
2277
2278 * lib/gdb.exp (foreach_with_prefix): Don't return early if
2279 body returned ok(0), break(3) or continue(4).
2280 * gdb.testsuite/foreach_with_prefix.exp: New file.
2281
2282 2019-07-04 Alan Hayward <alan.hayward@arm.com>
2283
2284 * gdb.server/unittest.exp: Allow 0 unit tests to run.
2285
2286 2019-07-03 Pedro Alves <palves@redhat.com>
2287
2288 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
2289 "return -code".
2290
2291 2019-07-03 Pedro Alves <palves@redhat.com>
2292
2293 PR cli/24732
2294 * gdb.base/shell.exp: Load completion-support.exp.
2295 Adjust expected error output. Add completion tests.
2296
2297 2019-07-03 Pedro Alves <palves@redhat.com>
2298
2299 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
2300 string_to_regexp.
2301
2302 2019-07-03 Pedro Alves <palves@redhat.com>
2303
2304 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
2305 (expect_integer): Adjust to expect "-string".
2306 (expect_string): New.
2307 (all_options): Expect "-string".
2308 (test-flag, test-boolean): Adjust to expect "-string".
2309 (test-string): New proc.
2310 (top level): Call it.
2311
2312 2019-07-03 Pedro Alves <palves@redhat.com>
2313
2314 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
2315 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
2316 the expected output in the success.
2317
2318 2019-07-03 Pedro Alves <palves@redhat.com>
2319
2320 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
2321 Split one gdb_test_multiple call in two to avoid a race.
2322
2323 2019-07-03 Pedro Alves <palves@redhat.com>
2324
2325 * gdb.base/with.c: New file.
2326 * gdb.base/with.exp: New file.
2327
2328 2019-07-03 Pedro Alves <palves@redhat.com>
2329
2330 * gdb.base/settings.exp: Replace all references to "maint
2331 test-settings set" with references to "maint set test-settings",
2332 and all references to "maint test-settings show" with references
2333 to "maint show test-settings".
2334
2335 2019-07-03 Pedro Alves <palves@redhat.com>
2336
2337 * gdb.base/settings.exp (test-string): Adjust expected out when
2338 testing "maint test-settings show filename"
2339
2340 2019-07-02 Pedro Alves <palves@redhat.com>
2341
2342 * gdb.base/options.exp (test-info-threads): New procedure.
2343 (top level): Call it.
2344
2345 2019-06-28 Tom Tromey <tromey@adacore.com>
2346
2347 * gdb.dwarf2/ada-linkage-name.c: New file.
2348 * gdb.dwarf2/ada-linkage-name.exp: New file.
2349
2350 2019-06-27 Tom Tromey <tromey@adacore.com>
2351
2352 PR c++/20020:
2353 * gdb.cp/constexpr-field.exp: Use setup_xfail.
2354
2355 2019-06-26 Tom de Vries <tdevries@suse.de>
2356
2357 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
2358
2359 2019-06-26 Tom de Vries <tdevries@suse.de>
2360
2361 * gdb.base/index-cache.exp: Add back missing debug option.
2362
2363 2019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2364
2365 * gdb.base/alias.exp: Test non matching/non existing prefixes.
2366
2367 2019-06-25 Tom de Vries <tdevries@suse.de>
2368
2369 PR testsuite/24727
2370 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
2371
2372 2019-06-24 Tom de Vries <tdevries@suse.de>
2373
2374 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
2375
2376 2019-06-24 Tom de Vries <tdevries@suse.de>
2377
2378 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
2379 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
2380 * gdb.trace/unavailable-dwarf-piece.exp: Same.
2381
2382 2019-06-24 Tom de Vries <tdevries@suse.de>
2383
2384 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
2385
2386 2019-06-21 Tom de Vries <tdevries@suse.de>
2387
2388 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
2389
2390 2019-06-21 Tom de Vries <tdevries@suse.de>
2391
2392 PR testsuite/24518
2393 PR ada/24713
2394 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
2395 index.
2396
2397 2019-06-19 Tom Tromey <tromey@adacore.com>
2398
2399 * gdb.ada/length_cond.exp: Add intro comment.
2400
2401 2019-06-19 Tom Tromey <tromey@adacore.com>
2402
2403 * gdb.ada/length_cond.exp: New file.
2404 * gdb.ada/length_cond/length_cond.adb: New file.
2405 * gdb.ada/length_cond/pck.adb: New file.
2406 * gdb.ada/length_cond/pck.ads: New file.
2407
2408 2019-06-18 Tom de Vries <tdevries@suse.de>
2409
2410 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
2411
2412 2019-06-18 Tom Tromey <tromey@adacore.com>
2413
2414 * gdb.base/list0.h: Add comment explaining control character.
2415
2416 2019-06-18 Tom de Vries <tdevries@suse.de>
2417
2418 * boards/fission.exp: Break up long debug_flags line.
2419
2420 2019-06-16 Tom de Vries <tdevries@suse.de>
2421
2422 PR gdb/24445
2423 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
2424 generated index.
2425
2426 2019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
2427
2428 PR gdb/24686
2429 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
2430 improve detection of bug gdb/24541.
2431
2432 2019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
2433
2434 PR gdb/24669
2435 * gdb.base/index-cache.exp (uses_readnow,
2436 expecting_index_cache_use): Define global variable.
2437 (test_cache_enabled_miss, test_cache_enabled_hit): Use
2438 expecting_index_cache_use.
2439
2440 2019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
2441 Andrew Burgess <andrew.burgess@embecosm.com>
2442
2443 * gdb.fortran/pointers.f90: New file.
2444 * gdb.fortran/print_type.exp: New file.
2445 * gdb.fortran/vla-ptype.exp: Adapt expected results.
2446 * gdb.fortran/vla-type.exp: Likewise.
2447 * gdb.fortran/vla-value.exp: Likewise.
2448 * gdb.mi/mi-vla-fortran.exp: Likewise.
2449
2450 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2451
2452 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
2453 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
2454 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
2455 as a stop reason.
2456
2457 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2458
2459 * gdb.base/annota1.exp: Update expected results.
2460 * gdb.cp/annota2.exp: Likewise.
2461 * gdb.cp/annota3.exp: Likewise.
2462
2463 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2464
2465 * gdb.base/style-logging.exp: Remove path from test name.
2466
2467 2019-06-14 Tom Tromey <tromey@adacore.com>
2468
2469 PR gdb/24502:
2470 * gdb.base/style-logging.exp: New file.
2471
2472 2019-06-14 Tom Tromey <tromey@adacore.com>
2473
2474 * gdb.base/symfile-warn.exp: New file.
2475 * gdb.base/symfile-warn.c: New file.
2476
2477 2019-06-14 Tom Tromey <tromey@adacore.com>
2478
2479 * gdb.base/annotate-symlink.exp: New file.
2480
2481 2019-06-14 Tom Tromey <tromey@adacore.com>
2482
2483 * gdb.ada/set_wstr.exp: Add reassignment test.
2484
2485 2019-06-14 Tom Tromey <tromey@adacore.com>
2486
2487 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
2488 'unchecked_access and 'unrestricted_access as well.
2489
2490 2019-06-14 Tom Tromey <tromey@adacore.com>
2491
2492 PR ada/24539:
2493 * gdb.ada/vla.exp: Update tests.
2494 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
2495 pragma.
2496
2497 2019-06-13 Pedro Alves <palves@redhat.com>
2498
2499 * gdb.base/settings.exp (test-integer): Test junk after
2500 "unlimited".
2501
2502 2019-06-13 Pedro Alves <palves@redhat.com>
2503
2504 * gdb.base/options.exp (test-thread-apply): New.
2505 (top level): Call it.
2506
2507 2019-06-13 Pedro Alves <palves@redhat.com>
2508
2509 * gdb.base/options.exp (test-frame-apply): New.
2510 (top level): Test print commands with different "frame apply"
2511 prefixes.
2512
2513 2019-06-13 Pedro Alves <palves@redhat.com>
2514
2515 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
2516 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
2517 'max_completions' parameter and handle it.
2518 (test_gdb_completion_offers_commands): New.
2519
2520 2019-06-13 Pedro Alves <palves@redhat.com>
2521
2522 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
2523
2524 2019-06-13 Pedro Alves <palves@redhat.com>
2525
2526 * gdb.base/options.exp (test-backtrace): New.
2527 (top level): Call it.
2528
2529 2019-06-13 Pedro Alves <palves@redhat.com>
2530
2531 * gdb.guile/scm-frame-args.exp: Use "set print
2532 raw-frame-arguments" instead of "set print raw frame-arguments".
2533 * gdb.python/py-frame-args.exp: Likewise.
2534
2535 2019-06-13 Pedro Alves <palves@redhat.com>
2536
2537 * gdb.compile/compile.exp: Adjust expected output to option
2538 processing changes.
2539
2540 2019-06-13 Pedro Alves <palves@redhat.com>
2541
2542 * gdb.base/options.exp: Build executable.
2543 (test-print): New procedure.
2544 (top level): Call it, once for "print" and another for "compile
2545 print".
2546
2547 2019-06-13 Pedro Alves <palves@redhat.com>
2548
2549 * gdb.base/options.c: New file.
2550 * gdb.base/options.exp: New file.
2551
2552 2019-06-13 Pedro Alves <palves@redhat.com>
2553
2554 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
2555 that "o" is ambiguous.
2556
2557 2019-06-13 Pedro Alves <palves@redhat.com>
2558
2559 * gdb.base/settings.c: New file.
2560 * gdb.base/settings.exp: New file.
2561
2562 2019-06-13 Pedro Alves <palves@redhat.com>
2563
2564 * gdb.base/completion.exp: Fix comment typo.
2565
2566 2019-06-13 Pedro Alves <palves@redhat.com>
2567
2568 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
2569 foo --1" test.
2570
2571 2019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
2572
2573 * gdb.fortran/block-data.f: New.
2574 * gdb.fortran/block-data.exp: New.
2575
2576 2019-06-11 Tom de Vries <tdevries@suse.de>
2577
2578 PR testsuite/24521
2579 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
2580 message.
2581
2582 2019-06-11 Tom de Vries <tdevries@suse.de>
2583
2584 PR testsuite/24521
2585 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
2586
2587 2019-06-11 Tom de Vries <tdevries@suse.de>
2588
2589 * boards/readnow.exp: New file.
2590
2591 2019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
2592
2593 * gdb.fortran/vla-sizeof.exp: Update expected results.
2594
2595 2019-06-06 Amos Bird <amosbird@gmail.com>
2596
2597 * gdb.base/annota1.exp (thread_switch): Add test for
2598 thread-exited annotation.
2599
2600 2019-06-06 Tom Tromey <tromey@adacore.com>
2601
2602 * gdb.base/maint.exp: Expect command started/finished output.
2603
2604 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
2605
2606 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
2607 comment.
2608 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
2609
2610 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
2611
2612 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
2613 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
2614 * gdb.arch/riscv-unwind-long-insn.c: New file.
2615 * gdb.arch/riscv-unwind-long-insn.exp: New file.
2616
2617 2019-06-04 Christian Biesinger <cbiesinger@google.com>
2618
2619 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
2620
2621 2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2622
2623 * lib/gdb.exp (help_list_trailer): New regexp variable
2624 factorizing the help trailer message.
2625 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
2626 arg to allow to better factorize various tests.
2627 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
2628 (test_prefix_command_help): Use help_list_trailer.
2629 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
2630 * gdb.guile/scm-cmd.exp: Likewise.
2631 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
2632 * gdb.base/help.exp: Use test_user_defined_class_help.
2633 * gdb.base/style.exp: Add tests for styling of help and apropos.
2634 * lib/gdb-utils.exp (style): Add title and highlight styles.
2635
2636 2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2637
2638 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
2639 $_shell_exitsignal.
2640 * gdb.base/default.exp: Update for new convenience variables.
2641
2642 2019-05-29 Tom Tromey <tromey@adacore.com>
2643
2644 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
2645 to "break complete ada" test case's regexp.
2646
2647 2019-05-29 Tom Tromey <tromey@adacore.com>
2648
2649 PR c++/20020:
2650 * gdb.cp/constexpr-field.exp: New file.
2651 * gdb.cp/constexpr-field.cc: New file.
2652
2653 2019-05-29 Tom Tromey <tromey@adacore.com>
2654
2655 * gdb.base/finish.exp (finish_no_print): New proc.
2656 (finish_tests): Call it.
2657
2658 2019-05-24 Tom de Vries <tdevries@suse.de>
2659
2660 * gdb.dwarf2/gdb-add-index.exp: New file.
2661
2662 2019-05-22 Tom Tromey <tromey@adacore.com>
2663
2664 * gdb.base/info-shared.exp (check_info_shared): Use "style".
2665 * gdb.base/style.exp: Use "style".
2666 * lib/gdb-utils.exp (style): New proc.
2667
2668 2019-05-22 Tom de Vries <tdevries@suse.de>
2669
2670 * gdb.base/align.exp: Require c++11.
2671
2672 2019-05-22 Tom de Vries <tdevries@suse.de>
2673
2674 PR testsuite/24586
2675 * gdb.python/py-mi-var-info-path-expression.exp: Call
2676 mi_skip_python_tests to check if python is supported.
2677
2678 2019-05-22 Alan Hayward <alan.hayward@arm.com>
2679
2680 * gdb.arch/aarch64-pauth.c: New test.
2681 * gdb.arch/aarch64-pauth.exp: New file.
2682
2683 2019-05-22 Alan Hayward <alan.hayward@arm.com>
2684
2685 * README (Re-running Tests Outside The Testsuite): New section.
2686
2687 2019-05-21 Tom de Vries <tdevries@suse.de>
2688
2689 * gdb.arch/amd64-eval.exp: Require c++11.
2690 * gdb.base/max-depth.exp: Same.
2691 * gdb.compile/compile-cplus-array-decay.exp: Same.
2692 * gdb.cp/meth-typedefs.exp: Same.
2693 * gdb.cp/subtypes.exp: Same.
2694 * gdb.cp/temargs.exp: Same.
2695
2696 2019-05-21 Alan Hayward <alan.hayward@arm.com>
2697
2698 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
2699
2700 2019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2701
2702 PR gdb/18644
2703 * gdb.fortran/complex.exp: Remove setup_kfail calls.
2704 * gdb.fortran/printing-types.exp: Add new test.
2705 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
2706 testing.
2707 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
2708 setup_kfail call.
2709
2710 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2711
2712 * README (Running the Testsuite): Change example.
2713 (Testsuite Parameters): Remove TRANSCRIPT.
2714 * lib/gdb.exp: Remove TRANSCRIPT check.
2715
2716 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2717
2718 * README (Testsuite Parameters): Add replay logging to
2719 GDBSERVER_DEBUG.
2720 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
2721 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
2722 as a comma separated list.
2723 (gdb_debug_init): Override procedure.
2724
2725 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2726
2727 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
2728 (gdb_write_cmd_file): New procedure.
2729 * lib/gdbserver-support.exp (gdbserver_start): Call
2730 gdbserver_write_cmd_file.
2731 (gdbserver_write_cmd_file): New procedure.
2732
2733 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2734
2735 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
2736 (delete_breakpoints): Likewise.
2737 (gdb_run_cmd): Likewise.
2738 (gdb_start_cmd): Likewise.
2739 (gdb_starti_cmd): Likewise.
2740 (gdb_internal_error_resync): Likewise.
2741 (gdb_test_multiple): Likewise.
2742 (gdb_reinitialize_dir): Likewise.
2743 (default_gdb_exit): Likewise.
2744 (gdb_file_cmd): Mark kill as optional.
2745 (default_gdb_start): Call gdb_stdin_log_init.
2746 (send_gdb): Call gdb_stdin_log_write.
2747 (rerun_to_main): Mark Y as an answer.
2748 (gdb_stdin_log_init): New function.
2749 (gdb_stdin_log_write): Likewise.
2750
2751 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2752
2753 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
2754 * gdb.base/debug-expr.exp: Likewise.
2755 * gdb.base/foll-fork.exp: Likewise.
2756 * gdb.base/foll-vfork.exp: Likewise.
2757 * gdb.base/fork-print-inferior-events.exp: Likewise.
2758 * gdb.base/gdb-sigterm.exp: Likewise.
2759 * gdb.base/gdbinit-history.exp: Likewise.
2760 * gdb.base/osabi.exp: Likewise.
2761 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
2762 * gdb.base/ui-redirect.exp: Likewise.
2763 * gdb.gdb/unittest.exp: Likewise.
2764 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
2765 * gdb.mi/mi-watch.exp: Likewise.
2766 * gdb.mi/new-ui-mi-sync.exp: Likewise.
2767 * gdb.mi/user-selected-context-sync.exp: Likewise.
2768 * gdb.python/python.exp: Disable debug test when debugging.
2769 * gdb.threads/check-libthread-db.exp: Disable when debugging.
2770 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2771 Likewise.
2772 * gdb.threads/stepi-random-signal.exp: Likewise.
2773
2774 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2775
2776 * Makefile.in: Pass through GDB_DEBUG.
2777 * README (Testsuite Parameters): Add GDB_DEBUG.
2778 (gdb,debug): Add board setting.
2779 * lib/gdb.exp (default_gdb_start): Start debugging.
2780 (gdb_debug_enabled): New procedure.
2781 (gdb_debug_init): Likewise.
2782
2783 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2784
2785 * Makefile.in: Pass through GDB_DEBUG.
2786 * README (Testsuite Parameters): Add GDB_DEBUG.
2787 (gdb,debug): Add board setting.
2788 * lib/gdb.exp (default_gdb_start): Start debugging.
2789 (gdb_debug_enabled): New procedure.
2790 (gdb_debug_init): Likewise.
2791
2792 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2793
2794 * gdb.base/ui-redirect.exp: Add debug redirect tests.
2795
2796 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2797
2798 * gdb.base/ui-redirect.exp: Test redirection.
2799
2800 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
2801
2802 * gdb.mi/mi-complete.exp: New file.
2803 * gdb.mi/mi-complete.cc: Likewise.
2804
2805 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
2806
2807 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
2808 indexed and sliced arrays, and pointers to arrays.
2809
2810 2019-05-14 Tom Tromey <tromey@adacore.com>
2811
2812 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
2813 styling test.
2814
2815 2019-05-14 Tom de Vries <tdevries@suse.de>
2816
2817 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
2818 selection entry encoding.
2819
2820 2019-05-10 Tom Tromey <tromey@adacore.com>
2821
2822 * gdb.ada/info_exc.exp: Add "complete" test.
2823
2824 2019-05-09 Tom de Vries <tdevries@suse.de>
2825
2826 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
2827 CU-relative.
2828
2829 2019-05-09 Tom de Vries <tdevries@suse.de>
2830
2831 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
2832 CU-relative.
2833
2834 2019-05-08 Joel Brobecker <brobecker@adacore.com>
2835
2836 * gdb.ada/frame_arg_lang.exp: New testcase.
2837 * gdb.ada/frame_arg_lang/bla.adb: New file.
2838 * gdb.ada/frame_arg_lang/pck.ads: New file.
2839 * gdb.ada/frame_arg_lang/pck.adb: New file.
2840 * gdb.ada/frame_arg_lang/foo.c: New file.
2841
2842 2019-05-08 Tom Tromey <tromey@adacore.com>
2843
2844 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
2845
2846 2019-05-08 Tom Tromey <tromey@adacore.com>
2847
2848 * gdb.base/ptype-offsets.exp: Update tests.
2849
2850 2019-05-08 Tom Tromey <tromey@adacore.com>
2851
2852 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
2853 cases.
2854 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
2855 "short".
2856
2857 2019-05-08 Tom Tromey <tromey@adacore.com>
2858
2859 * gdb.ada/vla.exp: New file.
2860 * gdb.ada/vla/vla.adb: New file.
2861
2862 2019-05-07 Tom de Vries <tdevries@suse.de>
2863
2864 * gdb.base/index-cache.exp (ls_host): Fix return statement.
2865
2866 2019-05-07 Tom de Vries <tdevries@suse.de>
2867
2868 PR testsuite/24522
2869 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
2870 section.
2871
2872 2019-05-07 Tom de Vries <tdevries@suse.de>
2873
2874 PR testsuite/24522
2875 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
2876 .debug_aranges section.
2877
2878 2019-05-07 Tom de Vries <tdevries@suse.de>
2879
2880 PR testsuite/24159
2881 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
2882
2883 2019-05-06 Tom de Vries <tdevries@suse.de>
2884
2885 * lib/gdb.exp (exec_has_index_section): New proc.
2886 * gdb.base/index-cache.exp: Handle case that binfile contains an index
2887 section.
2888
2889 2019-05-04 Tom de Vries <tdevries@suse.de>
2890
2891 * boards/cc-with-debug-names.exp: New file.
2892
2893 2019-05-03 Tom Tromey <tromey@adacore.com>
2894
2895 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
2896 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
2897 * gdb.ada/char_enum.exp: Add test.
2898
2899 2019-05-03 Tom de Vries <tdevries@suse.de>
2900
2901 * boards/cc-with-gdb-index.exp: New file.
2902
2903 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
2904
2905 * gdb.rust/simple.exp: Add new test case.
2906 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
2907 (main): Initialise an instance of the new struct.
2908
2909 2019-05-01 Tom Tromey <tromey@adacore.com>
2910
2911 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
2912 record.
2913 (NPR): New variable.
2914 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
2915 test.
2916
2917 2019-05-01 Tom Tromey <tromey@adacore.com>
2918
2919 * gdb.ada/packed_array_assign.exp: Add packed assignment
2920 regression test.
2921
2922 2019-05-01 Tom de Vries <tdevries@suse.de>
2923
2924 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
2925
2926 2019-05-01 Tom de Vries <tdevries@suse.de>
2927
2928 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
2929
2930 2019-04-30 Ali Tamur <tamur@google.com>
2931
2932 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
2933
2934 2019-04-30 Tom Tromey <tromey@adacore.com>
2935
2936 * lib/ada.exp (find_ada_tool): New proc.
2937 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
2938 * gdb.ada/catch_ex_std.exp: New file.
2939 * gdb.ada/catch_ex_std/foo.adb: New file.
2940 * gdb.ada/catch_ex_std/some_package.adb: New file.
2941 * gdb.ada/catch_ex_std/some_package.ads: New file.
2942
2943 2019-04-30 Tom Tromey <tromey@adacore.com>
2944
2945 PR c++/24470:
2946 * gdb.cp/temargs.cc: Add test code from PR.
2947
2948 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2949
2950 * gdb.fortran/vla-datatypes.exp: Update expected results.
2951 * gdb.fortran/vla-ptype.exp: Likewise.
2952 * gdb.fortran/vla-type.exp: Likewise.
2953 * gdb.fortran/vla-value.exp: Likewise.
2954
2955 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2956
2957 * gdb.fortran/ptr-indentation.exp: Update expected results.
2958 * gdb.fortran/ptype-on-functions.exp: Likewise.
2959 * gdb.fortran/vla-ptr-info.exp: Likewise.
2960 * gdb.fortran/vla-value.exp: Likewise.
2961
2962 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2963
2964 * gdb.fortran/ptype-on-functions.exp: New file.
2965 * gdb.fortran/ptype-on-functions.f90: New file.
2966
2967 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2968
2969 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
2970 case void string.
2971
2972 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2973
2974 * gdb.fortran/complex.exp: Expand.
2975 * gdb.fortran/complex.f: Renamed to...
2976 * gdb.fortran/complex.f90: ...this, and extended to add more
2977 complex values.
2978
2979 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2980
2981 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
2982 MODULO, CMPLX.
2983
2984 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
2985 Richard Bunt <richard.bunt@arm.com>
2986
2987 * gdb.base/max-depth.c: New file.
2988 * gdb.base/max-depth.exp: New file.
2989 * gdb.python/py-nested-maps.c: New file.
2990 * gdb.python/py-nested-maps.exp: New file.
2991 * gdb.python/py-nested-maps.py: New file.
2992 * gdb.python/py-format-string.exp (test_max_depth): New proc.
2993 (test_all_common): Call test_max_depth.
2994 * gdb.fortran/max-depth.exp: New file.
2995 * gdb.fortran/max-depth.f90: New file.
2996 * gdb.go/max-depth.exp: New file.
2997 * gdb.go/max-depth.go: New file.
2998 * gdb.modula2/max-depth.exp: New file.
2999 * gdb.modula2/max-depth.c: New file.
3000 * lib/gdb.exp (get_print_expr_at_depths): New proc.
3001
3002 2019-04-29 Tom de Vries <tdevries@suse.de>
3003
3004 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
3005
3006 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3007
3008 * gdb.base/callexit.exp: Test may-call-functions off.
3009
3010 2019-04-25 Keith Seitz <keiths@redhat.com>
3011
3012 PR c++/24367
3013 * gdb.cp/meth-typedefs.cc (incomplete_struct)
3014 (another_incomplete_struct, test_incomplete): New definitions.
3015 (main): Use new definitions.
3016 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
3017 functions.
3018
3019 2019-04-25 Ali Tamur <tamur@google.com>
3020
3021 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
3022
3023 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
3024
3025 PR corefiles/11608
3026 PR corefiles/18187
3027 * gdb.base/coredump-filter-build-id.exp: New file.
3028
3029 2019-04-25 Alan Hayward <alan.hayward@arm.com>
3030
3031 * Makefile.in: Pass through GDBSERVER_DEBUG.
3032 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
3033 (gdbserver,debug): Add board setting.
3034 * gdb.trace/tspeed.exp: Skip when debugging.
3035 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
3036 * lib/gdbserver-support.exp: Likewise
3037
3038 2019-04-24 Tom Tromey <tromey@adacore.com>
3039
3040 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
3041 Rust.
3042
3043 2019-04-24 Tom Tromey <tromey@adacore.com>
3044
3045 * gdb.arch/amd64-eval.exp: Test bitfield return.
3046 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
3047 (class Foo) <return_bitfields>: New method.
3048 (main): Call it.
3049
3050 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
3051
3052 * gdb.cp/many-args.cc: New file.
3053 * gdb.cp/many-args.exp: New file.
3054
3055 2019-04-23 Tom de Vries <tdevries@suse.de>
3056
3057 PR gdb/24433
3058 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
3059
3060 2019-04-23 Alan Hayward <alan.hayward@arm.com>
3061
3062 * gdb.trace/backtrace.exp: Use nopie flag.
3063 * gdb.trace/circ.exp: Likewise.
3064 * gdb.trace/collection.exp: Likewise.
3065 * gdb.trace/ftrace.exp: Likewise.
3066 * gdb.trace/mi-trace-unavailable.exp: Likewise.
3067 * gdb.trace/mi-traceframe-changed.exp: Likewise.
3068 * gdb.trace/qtro.exp: Likewise.
3069 * gdb.trace/read-memory.exp: Likewise.
3070 * gdb.trace/report.exp: Likewise.
3071 * gdb.trace/tfile.exp: Likewise.
3072 * gdb.trace/tfind.exp: Likewise.
3073 * gdb.trace/unavailable.exp: Likewise.
3074
3075 2019-04-22 Pedro Alves <palves@redhat.com>
3076
3077 * gdb.base/solib-probes-nosharedlibrary.c,
3078 gdb.base/solib-probes-nosharedlibrary.exp: New files.
3079
3080 2019-04-19 Tom Tromey <tromey@adacore.com>
3081
3082 * gdb.ada/ptype_union.c: New file.
3083 * gdb.ada/ptype_union.exp: New file.
3084
3085 2019-04-19 Tom Tromey <tromey@adacore.com>
3086
3087 PR symtab/24423:
3088 * gdb.base/list0.h (foo): Add a control-l character.
3089
3090 2019-04-18 Tom de Vries <tdevries@suse.de>
3091
3092 PR gdb/24433
3093 * boards/local-board.exp: Set sysroot to "".
3094
3095 2019-04-18 Tom de Vries <tdevries@suse.de>
3096 Pedro Alves <palves@redhat.com>
3097
3098 PR gdb/24454
3099 * gdb.threads/vfork-follow-child-exec.c: New file.
3100 * gdb.threads/vfork-follow-child-exec.exp: New file.
3101 * gdb.threads/vfork-follow-child-exit.c: New file.
3102 * gdb.threads/vfork-follow-child-exit.exp: New file.
3103
3104 2019-04-15 Leszek Swirski <leszeks@google.com>
3105
3106 * gdb.arch/amd64-eval.cc: New file.
3107 * gdb.arch/amd64-eval.exp: New file.
3108
3109 2019-04-11 Alan Hayward <alan.hayward@arm.com>
3110
3111 * gdb.server/sysroot.c: New test.
3112 * gdb.server/sysroot.exp: New file.
3113 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
3114 matching param.
3115
3116 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
3117
3118 * gdb.base/align.exp: Extend test to cover structures containing
3119 only static fields.
3120
3121 2019-04-11 Tom de Vries <tdevries@suse.de>
3122
3123 * boards/cc-with-dwz-m.exp: New file.
3124 * boards/cc-with-dwz.exp: New file.
3125 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
3126
3127 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
3128
3129 * gdb.base/start-cpp.exp: New file.
3130 * gdb.base/start-cpp.cc: New file.
3131
3132 2019-04-08 Kevin Buettner <kevinb@redhat.com>
3133
3134 * gdb.python/py-thrhandle.exp: Adjust tests to call
3135 thread_from_handle instead of thread_from_thread_handle.
3136
3137 2019-04-08 Kevin Buettner <kevinb@redhat.com>
3138
3139 * gdb.python/py-thrhandle.exp: Add tests for
3140 gdb.InferiorThread.handle.
3141
3142 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
3143
3144 * gdb.python/py-function.exp: Check calling helper function from
3145 all languages.
3146 * lib/gdb.exp (gdb_supported_languages): New proc.
3147
3148 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
3149
3150 * gdb.base/complex-parts.c: New file.
3151 * gdb.base/complex-parts.exp: New file.
3152
3153 2019-04-01 Tom Tromey <tromey@adacore.com>
3154
3155 PR symtab/23331:
3156 * gdb.dwarf2/dw2-ranges-main.c: New file.
3157 * gdb.dwarf2/dw2-ranges-psym.c: New file.
3158 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
3159
3160 2019-03-30 Simon Marchi <simark@simark.ca>
3161
3162 * gdb.base/default.exp: Add values for $_gdb_major and
3163 $_gdb_minor.
3164
3165 2019-03-29 Tom Tromey <tromey@adacore.com>
3166
3167 * gdb.base/help.exp: Tighten apropos regexp.
3168
3169 2019-03-29 Keith Seitz <keiths@redhat.com>
3170
3171 * gdb.fortran/array-bounds.exp: New file.
3172 * gdb.fortran/array-bounds.f90: New file.
3173
3174 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3175
3176 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
3177
3178 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3179
3180 * gdb.multi/hello.c (main): Increase alarm timer.
3181
3182 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
3183
3184 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
3185 factor when no hardware watchpoint support.
3186
3187 2019-03-28 Alan Hayward <alan.hayward@arm.com>
3188 Pedro Alves <palves@redhat.com>
3189
3190 * boards/local-board.exp: set sysroot to /.
3191
3192 2019-03-27 Alan Hayward <alan.hayward@arm.com>
3193
3194 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
3195 in child.
3196
3197 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
3198
3199 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
3200 field.
3201 (make_container): Initialise new field.
3202 * gdb.python/py-prettyprint.exp: Add new tests.
3203 * gdb.python/py-prettyprint.py (class ContainerPrinter)
3204 <display_hint>: New method.
3205
3206 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
3207
3208 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
3209 gdb_continue_to_breakpoint more throughout this test.
3210 (run_lang_tests) Supply unique test names, and use
3211 gdb_test_no_output.
3212
3213 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
3214
3215 * gdb.base/finish-pretty.exp: Update expected results.
3216 * gdb.base/pretty-print.c: New file.
3217 * gdb.base/pretty-print.exp: New file.
3218
3219 2019-03-25 Pedro Alves <palves@redhat.com>
3220
3221 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
3222 move comments outside list. Append '-i "" eof' section.
3223
3224 2019-03-22 Alan Hayward <alan.hayward@arm.com>
3225
3226 PR testsuite/25016
3227 * README: Add pie options.
3228 * gdb.base/break-interp.exp: Ensure pie is disabled.
3229 * gdb.base/dump.exp: Likewise.
3230 * lib/gdb.exp (gdb_compile): Add pie option.
3231
3232 2019-03-19 Tom Tromey <tromey@adacore.com>
3233
3234 * gdb.mi/mi2-cli-display.c: New file.
3235 * gdb.mi/mi2-cli-display.exp: New file.
3236
3237 2019-03-18 Joel Brobecker <brobecker@adacore.com>
3238 Tom Tromey <tromey@adacore.com>
3239
3240 * gdb.ada/ptype_array/pck.adb: New file.
3241 * gdb.ada/ptype_array/pck.ads: New file.
3242 * gdb.ada/ptype_array/foo.adb: New file.
3243 * gdb.ada/ptype_array.exp: New file.
3244
3245 2019-03-14 Tom Tromey <tromey@adacore.com>
3246
3247 * gdb.base/style.exp: Add "set style sources" test.
3248
3249 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
3250
3251 * mi-breakpoint-location-ena-dis.exp: Rename to ...
3252 * mi-breakpoint-multiple-locations.exp: ... this.
3253 (make_breakpoints_pattern): New proc.
3254 (do_test): Add mi_version parameter, test -break-insert,
3255 -break-info and =breakpoint-created.
3256
3257 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
3258
3259 * config/default.exp: Remove 'load_lib gdb.exp'.
3260 * config/monitor.exp: Likewise.
3261 * config/sid.exp: Likewise.
3262 * config/sim.exp: Likewise.
3263 * config/slite.exp: Likewise.
3264 * config/unix.exp: Likewise.
3265 * gdb.base/default.exp: Remove unhelpful comment.
3266
3267 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3268
3269 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
3270
3271 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3272
3273 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
3274
3275 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3276
3277 * gdb.fortran/type-kinds.exp: Update expected results.
3278
3279 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3280
3281 * gdb.fortran/type-kinds.exp: Test new integer type kind.
3282
3283 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3284
3285 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
3286 function.
3287 (test_basic_parsing_of_type_kinds): Expand types tested.
3288 (test_parsing_invalid_type_kinds): New function.
3289
3290 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3291
3292 * gdb.fortran/intrinsics.exp: New file.
3293 * gdb.fortran/intrinsics.f90: New file.
3294 * gdb.fortran/type-kinds.exp: New file.
3295
3296 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3297
3298 * gdb.fortran/dot-ops.exp: New file.
3299
3300 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3301
3302 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
3303 Check upper and lower case logical literals.
3304
3305 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3306
3307 * gdb.fortran/types.exp (test_float_literal_types_accepted):
3308 Remove duplicate tests.
3309
3310 2019-03-06 Alan Hayward <alan.hayward@arm.com>
3311
3312 * lib/gdb.exp (builtin_cd): rename of cd.
3313 (cd): Override builtin.
3314
3315 2019-03-06 Richard Bunt <richard.bunt@arm.com>
3316
3317 * gdb.fortran/function-calls.exp: New file.
3318 * gdb.fortran/function-calls.f90: New test.
3319
3320 2019-03-04 Richard Bunt <richard.bunt@arm.com>
3321
3322 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
3323 on user program standard output.
3324 * gdb.fortran/short-circuit-argument-list.f90: Record function
3325 calls.
3326
3327 2019-02-28 Alan Hayward <alan.hayward@arm.com>
3328
3329 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
3330 failure.
3331
3332 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3333
3334 PR gdb/8527
3335 * gdb.base/interrupt-daemon-attach.c,
3336 gdb.base/interrupt-daemon-attach.exp: New test.
3337
3338 2019-02-27 Pedro Alves <palves@redhat.com>
3339
3340 * gdb.base/page.exp: Add tests for "set width/height -1".
3341
3342 2019-02-27 Pedro Alves <palves@redhat.com>
3343
3344 * gdb.base/page.exp: Add tests for "set/show width/height" with
3345 "infinite" values.
3346
3347 2019-02-27 Tom Tromey <tromey@adacore.com>
3348
3349 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
3350 2.4.
3351 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
3352 workaround.
3353
3354 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
3355
3356 * gdb.base/align.exp: Extend to compile in both C and C++, and add
3357 tests for structs with static members.
3358
3359 2019-02-26 Tom Tromey <tromey@adacore.com>
3360
3361 * gdb.python/py-value.exp (test_value_from_buffer): Check for
3362 ValueError, not TypeError.
3363
3364 2019-02-26 Kevin Buettner <kevinb@redhat.com>
3365
3366 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
3367 call from main program.
3368
3369 2019-02-23 Joel Brobecker <brobecker@adacore.com>
3370
3371 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
3372 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
3373 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
3374 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
3375 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
3376
3377 2019-02-22 Keith Seitz <keiths@redhat.com>
3378
3379 PR symtab/23853
3380 * gdb.base/symlink-sourcefile.c: New file.
3381 * gdb.base/symlink-sourcefile.exp: New file.
3382
3383 2019-02-20 Tom Tromey <tom@tromey.com>
3384
3385 * gdb.base/info_qt.exp: Update.
3386
3387 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
3388
3389 * gdb.base/source.exp: Move "error in sourced script" code to
3390 the end.
3391 * gdb.base/source-error.gdb: Move contents to
3392 source-error-1.gdb. Add new code to source source-error-1.gdb.
3393 * gdb.base/source-error-1.gdb: New file, from previous
3394 source-error.gdb.
3395
3396 2019-02-17 Tom Tromey <tom@tromey.com>
3397
3398 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
3399 for macro styling.
3400 * gdb.base/style.c (SOME_MACRO): New macro.
3401
3402 2019-02-17 Tom Tromey <tom@tromey.com>
3403
3404 * gdb.base/style.exp: Add line-wrapping tests.
3405 * gdb.base/page.exp: Add test for quitting during pagination.
3406
3407 2019-02-17 Joel Brobecker <brobecker@adacore.com>
3408
3409 * gdb.ada/big_packed_array: New testcase.
3410 * gdb.ada/homonym.exp: Fix incorrect expected output for
3411 "break <homonym__get_value>" test.
3412
3413 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
3414
3415 PR breakpoints/21870
3416 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
3417 and prepare_for_testing. Add comment.
3418 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
3419 redundant cleanup call. Clean up comment.
3420
3421 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
3422
3423 PR breakpoints/21870
3424 * gdb.arch/aarch64-dbreg-contents.exp: New file.
3425 * gdb.arch/aarch64-dbreg-contents.c: New file.
3426
3427 2019-02-10 Joel Brobecker <brobecker@adacore.com>
3428
3429 * gdb.ada/mi_ref_changeable: New testcase.
3430
3431 2019-02-07 Alan Hayward <alan.hayward@arm.com>
3432
3433 * gdb.base/attach.exp: Add double attach test.
3434
3435 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
3436
3437 * lib/gdb.exp (default_gdb_start): Don't match pagination
3438 prompt.
3439 (gdb_init): Set stty_init.
3440
3441 2019-01-27 Tom Tromey <tom@tromey.com>
3442
3443 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
3444 skip_python_tests.
3445
3446 2019-01-24 Alan Hayward <alan.hayward@arm.com>
3447
3448 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
3449 New structure.
3450 (struct struct_static_02_02): Likewise.
3451 (struct struct_static_02_03): Likewise.
3452 (struct struct_static_02_04): Likewise.
3453 (struct struct_static_04_01): Likewise.
3454 (struct struct_static_04_02): Likewise.
3455 (struct struct_static_04_03): Likewise.
3456 (struct struct_static_04_04): Likewise.
3457 (struct struct_static_06_01): Likewise.
3458 (struct struct_static_06_02): Likewise.
3459 (struct struct_static_06_03): Likewise.
3460 (struct struct_static_06_04): Likewise.
3461 (cmp_struct_static_02_01): Likewise.
3462 (cmp_struct_static_02_02): Likewise.
3463 (cmp_struct_static_02_03): Likewise.
3464 (cmp_struct_static_02_04): Likewise.
3465 (cmp_struct_static_04_01): Likewise.
3466 (cmp_struct_static_04_02): Likewise.
3467 (cmp_struct_static_04_03): Likewise.
3468 (cmp_struct_static_04_04): Likewise.
3469 (cmp_struct_static_06_01): Likewise.
3470 (cmp_struct_static_06_02): Likewise.
3471 (cmp_struct_static_06_03): Likewise.
3472 (cmp_struct_static_06_04): Likewise.
3473 (call_all): Test new structs.
3474 * gdb.base/infcall-nested-structs.exp: Likewise.
3475
3476 2019-01-21 Alan Hayward <alan.hayward@arm.com>
3477 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
3478
3479 2019-01-21 Alan Hayward <alan.hayward@arm.com>
3480 * gdb.base/stack-protector.c: New test.
3481 * gdb.base/stack-protector.exp: New file.
3482 * gdb.cp/ovldbreak.exp: Only allow a single break line.
3483 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
3484 option.
3485 (gdb_compile): Remove stack protector for GCC and prevent
3486 recursion.
3487
3488 2019-01-16 Keith Seitz <keiths@redhat.com>
3489
3490 PR gdb/23773
3491 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
3492
3493 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3494
3495 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
3496 aliases.
3497 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
3498 tests.
3499 * gdb.arch/powerpc-vector-regs.c: New file.
3500 * gdb.arch/powerpc-vector-regs.exp: New file.
3501
3502 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3503
3504 * gdb.arch/altivec-regs.exp: Fix the list passed to
3505 gdb_expect_list when testing "info vector".
3506
3507 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
3508
3509 * gdb.base/style.exp: Don't include path in testname.
3510
3511 2019-01-10 Keith Seitz <keiths@redhat.com>
3512
3513 PR gdb/23712
3514 PR symtab/23010
3515 * gdb.dwarf2/multidictionary.exp: New file.
3516
3517 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
3518
3519 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
3520 (test_gnuv3_style_demangling): ... this.
3521 (test_lucid_style_demangling): Remove.
3522 (test_arm_style_demangling): Remove.
3523 (test_hp_style_demangling): Remove.
3524 (do_tests): Remove calls to the above.
3525
3526 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3527
3528 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
3529 case.
3530
3531 2019-01-06 Tom Tromey <tom@tromey.com>
3532
3533 PR gdb/28155:
3534 * gdb.dwarf2/typedef-void-finish.exp: New file.
3535
3536 2018-12-28 Tom Tromey <tom@tromey.com>
3537 Simon Marchi <simark@simark.ca>
3538
3539 * gdb.base/jit-exec.exp: New file.
3540 * gdb.base/jit-exec.c: New file.
3541 * gdb.base/jit-execd.c: New file.
3542
3543 2018-12-28 Tom Tromey <tom@tromey.com>
3544
3545 * gdb.base/style.exp: Update test to check for address styling.
3546
3547 2018-12-28 Tom Tromey <tom@tromey.com>
3548
3549 * gdb.base/style.exp: Add test for styling of "Reading symbols"
3550 message.
3551
3552 2018-12-28 Tom Tromey <tom@tromey.com>
3553
3554 * gdb.base/style.exp: Add test for version number styling.
3555
3556 2018-12-28 Tom Tromey <tom@tromey.com>
3557
3558 * gdb.base/style.exp: Add test for print_address_symbolic.
3559
3560 2018-12-28 Tom Tromey <tom@tromey.com>
3561
3562 * gdb.base/style.exp: Add test for breakpoint setting.
3563
3564 2018-12-28 Tom Tromey <tom@tromey.com>
3565
3566 * gdb.base/style.exp: Add test for variable names.
3567
3568 2018-12-28 Tom Tromey <tom@tromey.com>
3569
3570 * gdb.base/style.exp: New file.
3571 * gdb.base/style.c: New file.
3572
3573 2018-12-28 Tom Tromey <tom@tromey.com>
3574
3575 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
3576 "dumb".
3577 * gdb.base/readline.exp (operate_and_get_next): Save and restore
3578 the TERM environment variable.
3579
3580 2018-12-27 Tom Tromey <tom@tromey.com>
3581
3582 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
3583 pagination test.
3584
3585 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
3586
3587 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
3588 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
3589
3590 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3591
3592 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
3593 Filename a.adb changed to bp_fun_addr.adb.
3594 gdb.ada/bp_fun_addr.exp: Update test accordingly.
3595
3596 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
3597
3598 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
3599 non-PIE executables.
3600 * README: Mention the gdb,nopie_flag board setting.
3601 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
3602 non-PIE executable.
3603 * gdb.arch/amd64-entry-value.exp: Likewise.
3604 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
3605 * gdb.arch/i386-float.exp: Likewise.
3606 * gdb.arch/i386-signal.exp: Likewise.
3607 * gdb.mi/mi-reg-undefined.exp: Likewise.
3608
3609 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
3610
3611 PR gdb/23974
3612 * gdb.base/info-os.exp: Check return for unknown "info os" type.
3613
3614 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3615
3616 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
3617 Update order of results accordingly.
3618
3619 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
3620
3621 * gdb.base/annota1.exp: Update a test regexp.
3622
3623 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
3624
3625 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
3626
3627 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3628
3629 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
3630 (reuse_time): Initialize to REUSE_TIME_CAP.
3631 (check_rc): New function.
3632 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
3633 Check pthread_create rc.
3634 (spawner_thread_func): Check pthread_create and pthread_join rc.
3635
3636 2018-12-08 Pedro Alves <palves@redhat.com>
3637
3638 * gdb.base/list.exp (test_forward_search): Rename to ...
3639 (test_forward_reverse_search): ... this. Also test reverse-search
3640 and the forward-search alias.
3641
3642 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
3643
3644 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
3645 local timeout variable before return, and remove all local timeout
3646 variable entirely.
3647 (gdb_load): Likewise.
3648
3649 2018-12-01 Tom de Vries <tdevries@suse.de>
3650
3651 * gdb.base/gdb-caching-proc.exp: New file.
3652
3653 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
3654
3655 * Makefile.in (TIMESTAMP): New variable.
3656 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
3657 command.
3658 (check-single-racy): Likewise.
3659 (check/%.exp): Likewise.
3660 (check-racy/%.exp): Likewise.
3661 (workers/%.worker): Likewise.
3662 (build-perf): Likewise.
3663 (check-perf): Likewise.
3664 * README: Describe new "TS" and "TS_FORMAT" variables.
3665 * print-ts.py: New file.
3666
3667 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
3668
3669 PR python/23714
3670 * gdb.python/python.exp: Test command repetition after
3671 gdb.execute.
3672
3673 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
3674
3675 * gdb.opt/inline-break.exp: Add test that info breakpoint output
3676 is correctly aligned.
3677
3678 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3679
3680 * gdb.ada/info_auto_lang.exp: New testcase.
3681 * gdb.ada/info_auto_lang/global_pack.ads: New file.
3682 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
3683 * gdb.ada/info_auto_lang/some_c.c: New file.
3684
3685 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3686
3687 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
3688 FUNC_lang language syntax.
3689
3690 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3691
3692 * gdb.base/info_minsym.c: New file.
3693 * gdb.base/info_minsym.exp: New file.
3694
3695 2018-11-19 Tom Tromey <tom@tromey.com>
3696
3697 PR rust/23625:
3698 * gdb.rust/simple.exp: Add ptype test. Update expected output.
3699 * gdb.rust/expr.exp: Update expected output. Change one test.
3700
3701 2018-11-19 Tom Tromey <tom@tromey.com>
3702
3703 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
3704
3705 2018-11-19 Pedro Alves <palves@redhat.com>
3706
3707 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
3708 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
3709 see the expected warning.
3710
3711 2018-11-16 Alan Hayward <alan.hayward@arm.com>
3712
3713 PR gdb/22736:
3714 * gdb.cp/infcall-nodebug-lib.c: New test.
3715 * gdb.cp/infcall-nodebug-main.c: New test.
3716 * gdb.cp/infcall-nodebug.exp: New file.
3717
3718 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
3719
3720 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
3721 completer tests.
3722
3723 2018-11-09 Tom de Vries <tdevries@suse.de>
3724
3725 * gdb.base/msym-lang.c: New test.
3726 * gdb.base/msym-lang.exp: New file.
3727 * gdb.base/msym-lang-main.c: New test.
3728
3729 2018-11-08 Tom Tromey <tom@tromey.com>
3730
3731 PR gdb/23555:
3732 PR gdb/23838:
3733 * gdb.base/warning.exp: New file.
3734
3735 2018-11-08 Jan Beulich <jbeulich@suse.com>
3736
3737 * testsuite/gdb.arch/i386-avx512.c,
3738 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
3739
3740 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
3741
3742 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
3743 point hardware.
3744
3745 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
3746
3747 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
3748 * gdb.dwarf2/missing-type-name.exp: New file.
3749
3750 2018-11-06 Tom de Vries <tdevries@suse.de>
3751
3752 * gdb.base/many-headers.c: New test.
3753 * gdb.base/many-headers.exp: New file.
3754
3755 2018-11-06 Jim Wilson <jimw@sifive.com>
3756
3757 * gdb.base/code_elim.exp: For riscv, set additional_flags
3758 to include -msmall-data-limit=0.
3759
3760 2018-11-01 Joel Brobecker <brobecker@adacore.com>
3761
3762 * gdb.ada/watch_minus_l: New testcase.
3763
3764 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
3765
3766 * gdb.arch/aix-sighandle.c: New file.
3767 * gdb.arch/aix-sighandle.exp: New file.
3768
3769 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3770
3771 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
3772 registers being unions.
3773
3774 2018-10-31 Tom de Vries <tdevries@suse.de>
3775
3776 * lib/valgrind.exp: New file.
3777 (vgdb_start, vgdb_stop): New procs, factored out of ...
3778 * gdb.base/valgrind-bt.exp: ... here, ...
3779 * gdb.base/valgrind-disp-step.exp: ... here and ...
3780 * gdb.base/valgrind-infcall.exp: ... here.
3781
3782 2018-10-31 Tom de Vries <tdevries@suse.de>
3783
3784 * lib/gdb.exp (get_valueof): Don't output read value in test name.
3785
3786 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3787
3788 * gdb.dwarf2/void-type.c: New file.
3789 * gdb.dwarf2/void-type.exp: New file.
3790
3791 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3792
3793 * gdb.base/info_qt.c: New file.
3794 * gdb.base/info_qt.exp: New file.
3795
3796 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3797
3798 * gdb.arch/powerpc-htm-regs.c: New file.
3799 * gdb.arch/powerpc-htm-regs.exp: New file.
3800
3801 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3802
3803 * gdb.arch/powerpc-tar.c: New file.
3804 * gdb.arch/powerpc-tar.exp: New file.
3805
3806 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3807
3808 * gdb.arch/powerpc-ppr-dscr.c: New file.
3809 * gdb.arch/powerpc-ppr-dscr.exp: New file.
3810
3811 2018-10-25 Tom de Vries <tdevries@suse.de>
3812
3813 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
3814
3815 2018-10-24 Tom de Vries <tdevries@suse.de>
3816
3817 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
3818 longer exists error.
3819
3820 2018-10-24 Tom de Vries <tdevries@suse.de>
3821
3822 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
3823
3824 2018-10-24 Tom de Vries <tdevries@suse.de>
3825
3826 * gdb.base/valgrind-db-attach.exp: Handle removed support for
3827 --db-attach in valgrind.
3828
3829 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
3830
3831 * gdb.arch/riscv-reg-aliases.c: New file.
3832 * gdb.arch/riscv-reg-aliases.exp: New file.
3833
3834 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3835
3836 * gdb.python/py-cmd.exp: Check for gdb_prompt.
3837
3838 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3839
3840 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
3841
3842 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3843
3844 * gdb.cp/ovldbreak.exp: Fix regexps.
3845
3846 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3847
3848 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
3849
3850 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
3851
3852 PR cli/23785
3853 * gdb.base/restore.exp: New test to check if "restore" with an
3854 invalid file doesn't segfault.
3855
3856 2018-10-18 Tom de Vries <tdevries@suse.de>
3857
3858 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
3859 * gdb.ada/excep_handle.exp: Same.
3860 * gdb.ada/mi_string_access.exp: Same.
3861 * gdb.ada/mi_var_union.exp: Same.
3862 * gdb.arch/arc-analyze-prologue.exp: Same.
3863 * gdb.arch/arc-decode-insn.exp: Same.
3864 * gdb.base/readnever.exp: Same.
3865 * gdb.fortran/printing-types.exp: Same.
3866 * gdb.guile/scm-lazy-string.exp: Same.
3867
3868 2018-10-16 Tom de Vries <tdevries@suse.de>
3869
3870 PR gdb/23730
3871 * gdb.base/catch-follow-exec.c: Add copyright notice.
3872 * gdb.base/catch-follow-exec.exp: Rewrite to use
3873 gdb_spawn_with_cmdline_opts. Require gdb-native.
3874
3875 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
3876
3877 * gdb.trace/actions-changed.exp: Check for arch support.
3878 * gdb.trace/actions.exp: Likewise.
3879 * gdb.trace/ax.exp: Likewise.
3880 * gdb.trace/backtrace.exp: Likewise.
3881 * gdb.trace/change-loc.exp: Likewise.
3882 * gdb.trace/deltrace.exp: Likewise.
3883 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
3884 * gdb.trace/ftrace.exp: Likewise.
3885 * gdb.trace/infotrace.exp: Check for arch support.
3886 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
3887 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
3888 * gdb.trace/mi-tsv-changed.exp: Likewise.
3889 * gdb.trace/packetlen.exp: Likewise.
3890 * gdb.trace/passc-dyn.exp: Likewise.
3891 * gdb.trace/passcount.exp: Likewise.
3892 * gdb.trace/pending.exp: Likewise.
3893 * gdb.trace/range-stepping.exp: Check for shlib support.
3894 * gdb.trace/report.exp: Check for arch support.
3895 * gdb.trace/save-trace.exp: Likewise.
3896 * gdb.trace/signal.exp: Check for signal support.
3897 * gdb.trace/tfind.exp: Check for arch support.
3898 * gdb.trace/trace-break.exp: Check for arch and shlib support.
3899 * gdb.trace/trace-common.h: Add comment.
3900 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
3901 * gdb.trace/trace-enable-disable.exp: Likewise.
3902 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
3903 * gdb.trace/tracecmd.exp: Check for arch support.
3904 * gdb.trace/tspeed.exp: Check for shlib and target support.
3905 * gdb.trace/tstatus.exp: Check for arch support.
3906 * gdb.trace/tsv.exp: Likewise.
3907 * gdb.trace/while-dyn.exp: Likewise.
3908 * gdb.trace/while-stepping.exp: Likewise.
3909 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
3910
3911 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
3912
3913 * gdb.trace/tspeed.exp: Remove nowarnings.
3914 (prepare_for_trace_test): Declare "global ipalib".
3915 * gdb.trace/tspeed.c: Include unistd.h.
3916 (main): Remove superfluous printf argument.
3917
3918 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
3919
3920 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
3921 directory prefix on the filename.
3922
3923 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
3924
3925 * gdb.gdb/unittest.exp: Update expected message informing that
3926 selftests have been disabled.
3927 * gdb.server/unittest.exp: Likewise.
3928
3929 2018-10-09 Tom de Vries <tdevries@suse.de>
3930
3931 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
3932 with runto_main.
3933
3934 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
3935
3936 PR c++/16841
3937 * gdb.cp/virtbase2.cc: New file.
3938 * gdb.cp/virtbase2.exp: New file.
3939
3940 2018-10-06 Tom Tromey <tom@tromey.com>
3941
3942 PR python/19399:
3943 * gdb.python/py-inferior.exp: Add architecture test.
3944
3945 2018-10-06 Tom Tromey <tom@tromey.com>
3946
3947 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
3948 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
3949
3950 2018-10-06 Tom Tromey <tom@tromey.com>
3951
3952 * gdb.python/py-breakpoint.exp (check_last_event): Check location
3953 of a "throw" catchpoint.
3954
3955 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
3956
3957 * gdb.base/info-proc.exp: Update string expected from "help info
3958 proc".
3959
3960 2018-10-04 Tom Tromey <tom@tromey.com>
3961
3962 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
3963 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
3964 (test_initial_complaints, test_empty_complaints): Update.
3965 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3966
3967 2018-10-04 Tom Tromey <tom@tromey.com>
3968
3969 PR cli/19551:
3970 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
3971 * lib/gdb.exp (gdb_file_cmd): Update.
3972 * gdb.stabs/weird.exp (print_weird_var): Update.
3973 * gdb.server/solib-list.exp: Update.
3974 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
3975 * gdb.mi/mi-cli.exp: Update.
3976 * gdb.linespec/linespec.exp: Update.
3977 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3978 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
3979 * gdb.cp/cp-relocate.exp: Update.
3980 * gdb.base/sym-file.exp: Update.
3981 * gdb.base/relocate.exp: Update.
3982 * gdb.base/readnever.exp: Update.
3983 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
3984 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
3985 * gdb.base/dbx.exp (gdb_file_cmd): Update.
3986 * gdb.base/code_elim.exp: Update.
3987 * gdb.base/break-unload-file.exp (test_break): Update.
3988 * gdb.base/break-interp.exp (test_attach_gdb): Update.
3989 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
3990 Update.
3991 * gdb.base/attach.exp (do_attach_tests): Update.
3992 * gdb.base/sepdebug.exp: Update.
3993 * gdb.python/py-section-script.exp: Update.
3994
3995 2018-10-04 Tom Tromey <tom@tromey.com>
3996
3997 PR cli/22234:
3998 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
3999 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
4000 output.
4001
4002 2018-10-04 Tom Tromey <tom@tromey.com>
4003
4004 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
4005 set width and height to 0.
4006 (test_command_line_attach_run): Use -quiet.
4007
4008 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
4009
4010 * lib/gdb.exp (skip_ifunc_tests): New.
4011 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
4012 other compile failures.
4013 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
4014
4015 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
4016
4017 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
4018 is_amd64_regs_target.
4019
4020 2018-10-01 Alan Hayward <alan.hayward@arm.com>
4021
4022 * gdb.arch/aarch64-sighandler-regs.c: New test.
4023 * gdb.arch/aarch64-sighandler-regs.exp: New file.
4024 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
4025
4026 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
4027
4028 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
4029 assembly.
4030
4031 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
4032
4033 * gdb.base/frame-selection.exp: New file.
4034 * gdb.base/frame-selection.c: New file.
4035
4036 2018-09-27 Alan Hayward <alan.hayward@arm.com>
4037
4038 * gdb.threads/check-libthread-db.c (thread_routine): Use a
4039 pthread barrier.
4040 (main): Likewise.
4041
4042 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
4043
4044 * gdb.base/large-frame-1.c: New file.
4045 * gdb.base/large-frame-2.c: New file.
4046 * gdb.base/large-frame.exp: New file.
4047 * gdb.base/large-frame.h: New file.
4048
4049 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
4050
4051 PR gdb/20948
4052 * gdb.base/write_mem.exp: New test.
4053 * gdb.base/write_mem.c: Likewise.
4054
4055 2018-09-23 Tom Tromey <tom@tromey.com>
4056
4057 PR python/18852:
4058 * gdb.python/py-parameter.exp: Add test for parameter that throws
4059 on "set".
4060
4061 2018-09-23 Tom Tromey <tom@tromey.com>
4062
4063 PR python/17284:
4064 * gdb.python/py-template.exp (test_template_arg): Add test for
4065 negative template argument number.
4066
4067 2018-09-23 Tom Tromey <tom@tromey.com>
4068
4069 PR python/14062:
4070 * gdb.python/python.exp: Add test for post_event error.
4071
4072 2018-09-23 Tom Tromey <tom@tromey.com>
4073
4074 PR python/18170:
4075 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
4076 convert pointers to int and long.
4077
4078 2018-09-23 Tom Tromey <tom@tromey.com>
4079
4080 PR python/20126:
4081 * gdb.python/py-value.exp (test_value_numeric_ops): Add
4082 signed-ness conversion tests.
4083
4084 2018-09-23 Tom Tromey <tom@tromey.com>
4085
4086 PR python/18352;
4087 * gdb.python/py-value.exp (test_float_conversion): New proc.
4088 Use it.
4089
4090 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
4091
4092 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
4093
4094 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
4095
4096 * gdb.base/complete-empty.exp: Skip tab-completion tests if
4097 no readline.
4098 * gdb.base/utf8-identifiers.exp: Likewise.
4099 * gdb.cp/cpcompletion.exp: Likewise.
4100 * gdb.linespec/cpcompletion.exp: Likewise.
4101 * gdb.linespec/cpls-abi-tag.exp: Likewise.
4102 * gdb.linespec/cpls-ops.exp: Likewise.
4103
4104 2018-09-19 Richard Bunt <richard.bunt@arm.com>
4105 Chris January <chris.january@arm.com>
4106
4107 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
4108 * gdb.fortran/short-circuit-argument-list.exp: New file.
4109 * gdb.fortran/short-circuit-argument-list.f90: New test.
4110
4111 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4112
4113 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
4114 "arch=" keyword when executing "-stack-list-frames".
4115
4116 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4117
4118 * gdb.arch/amd64-invalid-stack-middle.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.ada/complete.exp: Expect for "@" when doing "complete
4124 break ada".
4125
4126 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
4127
4128 PR python/23669
4129 * gdb.python/python.exp: Test gdb.execute("show commands").
4130
4131 2018-09-16 Tom Tromey <tom@tromey.com>
4132
4133 * gdb.base/new-ui.exp (do_execution_tests): Update.
4134 * gdb.base/dbx.exp (test_breakpoints): Update.
4135
4136 2018-09-14 Alan Hayward <alan.hayward@arm.com>
4137
4138 * lib/gdb.exp (gdb_simple_compile): Add proc.
4139 (is_elf_target): Use gdb_simple_compile.
4140 (skip_altivec_tests): Likewise.
4141 (skip_vsx_tests): Likewise.
4142 (skip_tsx_tests): Likewise.
4143 (skip_btrace_tests): Likewise.
4144 (skip_btrace_pt_tests): Likewise.
4145 (gdb_can_simple_compile): Likewise.
4146 (gdb_has_argv0): Likewise.
4147 (gdb_target_symbol_prefix): Likewise.
4148 (target_supports_scheduler_locking): Likewise.
4149
4150 2018-09-13 Tom Tromey <tom@tromey.com>
4151
4152 * Makefile.in (TAGS): Recognize proc_with_prefix and
4153 gdb_caching_proc.
4154
4155 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4156
4157 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
4158 method.
4159
4160 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4161
4162 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
4163 and a few other Inferior properties when the Inferior is no
4164 longer valid.
4165
4166 2018-09-13 Tom Tromey <tom@tromey.com>
4167
4168 PR rust/23650:
4169 * gdb.rust/simple.exp: Add test for enum field access error.
4170
4171 2018-09-13 Tom Tromey <tom@tromey.com>
4172
4173 PR rust/23626:
4174 * gdb.rust/simple.rs (EmptyEnum): New type.
4175 (main): Use it.
4176 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
4177
4178 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4179
4180 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
4181 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
4182 * gdb.python/py-symtab.exp: Update test printing an objfile.
4183
4184 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
4185
4186 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
4187 object.
4188
4189 2018-09-12 Alan Hayward <alan.hayward@arm.com>
4190
4191 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
4192 (support_complex_tests): Use gdb_can_simple_compile.
4193 (is_ilp32_target): Likewise.
4194 (is_lp64_target): Likewise.
4195 (is_64_target): Likewise.
4196 (is_amd64_regs_target): Likewise.
4197 (is_aarch32_target): Likewise.
4198 (gdb_int128_helper): Likewise.
4199
4200 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4201
4202 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
4203
4204 2018-09-10 Jerome Guitton <guitton@adacore.com>
4205
4206 * gdb.ada/same_component_name: Add test for case of tagged record
4207 with variable-length fields.
4208
4209 2018-09-10 Xavier Roirand <roirand@adacore.com>
4210
4211 * gdb.ada/access_to_unbounded_array.exp: New testcase.
4212 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
4213 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
4214 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
4215
4216 2018-09-10 Xavier Roirand <roirand@adacore.com>
4217
4218 * gdb.ada/mi_string_access.exp: New testcase.
4219 * gdb.ada/mi_string_access/bar.adb: New file.
4220 * gdb.ada/mi_string_access/pck.adb: New file.
4221 * gdb.ada/mi_string_access/pck.asd: New file.
4222
4223 2018-09-10 Xavier Roirand <roirand@adacore.com>
4224
4225 * gdb.ada/mi_var_union.exp: New testcase.
4226 * gdb.ada/mi_var_union/bar.adb: New file.
4227 * gdb.ada/mi_var_union/pck.adb: New file.
4228 * gdb.ada/mi_var_union/pck.asd: New file.
4229
4230 2018-09-08 Tom Tromey <tom@tromey.com>
4231
4232 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
4233
4234 2018-09-08 Tom Tromey <tom@tromey.com>
4235
4236 PR python/16047:
4237 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
4238 (register_pretty_printers): Register new printer.
4239 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
4240 test.
4241 * gdb.python/py-prettyprint.c (int_type3): New typedef.
4242 (an_int_type3): New global.
4243
4244 2018-09-08 Joel Brobecker <brobecker@adacore.com>
4245
4246 * gdb.ada/expr_with_funcall: New testcase.
4247
4248 2018-09-08 Joel Brobecker <brobecker@adacore.com>
4249
4250 * gdb.ada/packed_array_assign: New testcase.
4251
4252 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
4253
4254 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
4255 names, and add test prefixes to make test names unique.
4256
4257 2018-09-05 Tom de Vries <tdevries@suse.de>
4258
4259 * gdb.dwarf2/varval.exp: Add test.
4260
4261 2018-09-04 Gary Benson <gbenson@redhat.com>
4262
4263 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
4264 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
4265
4266 2018-08-31 Tom Tromey <tom@tromey.com>
4267
4268 * gdb.rust/simple.rs: Rename second variable "v".
4269
4270 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
4271
4272 * gdb.base/funcargs.c (use_a): New function.
4273 (recurse): Call use_a.
4274
4275 2018-08-29 Keith Seitz <keiths@redhat.com>
4276
4277 * gdb.compile/compile-cplus-anonymous.cc: New file.
4278 * gdb.compile/compile-cplus-anonymous.exp: New file.
4279 * gdb.compile/compile-cplus-array-decay.cc: New file.
4280 * gdb.compile/compile-cplus-array-decay.exp: New file.
4281 * gdb.compile/compile-cplus-inherit.cc: New file.
4282 * gdb.compile/compile-cplus-inherit.exp: New file.
4283 * gdb.compile/compile-cplus-member.cc: New file.
4284 * gdb.compile/compile-cplus-member.exp: New file.
4285 * gdb.compile/compile-cplus-method.cc: New file.
4286 * gdb.compile/compile-cplus-method.exp: New file.
4287 * gdb.compile/compile-cplus-mod.c: "New" file.
4288 * gdb.compile/compile-cplus-namespace.cc: New file.
4289 * gdb.compile/compile-cplus-namespace.exp: New file.
4290 * gdb.compile/compile-cplus-nested.cc: New file.
4291 * gdb.compile/compile-cplus-nested.exp: New file.
4292 * gdb.compile/compile-cplus-print.c: "New" file.
4293 * gdb.compile/compile-cplus-print.exp: "New" file.
4294 * gdb.compile/compile-cplus-virtual.cc: New file.
4295 * gdb.compile/compile-cplus-virtual.exp: New file.
4296 * gdb.compile/compile-cplus.c: "New" file.
4297 * gdb.compile/compile-cplus.exp: "New" file.
4298 * lib/compile-support.exp: New file.
4299
4300 2018-08-16 Gary Benson <gbenson@redhat.com>
4301
4302 PR gdb/13000:
4303 * gdb.base/batch-exit-status.exp: New file.
4304 * gdb.base/batch-exit-status.good-commands: Likewise.
4305 * gdb.base/batch-exit-status.bad-commands: Likewise.
4306
4307 2018-08-29 Alan Hayward <alan.hayward@arm.com>
4308
4309 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
4310 (struct struct02): Likewise.
4311 (struct struct03): Likewise.
4312 (struct struct04): Likewise.
4313 (struct struct_01_01): New struct.
4314 (struct struct_01_02): Likewise.
4315 (struct struct_01_03): Likewise.
4316 (struct struct_01_04): Likewise.
4317 (struct struct_02_01): Likewise.
4318 (struct struct_02_02): Likewise.
4319 (struct struct_02_03): Likewise.
4320 (struct struct_02_04): Likewise.
4321 (struct struct_04_01): Likewise.
4322 (struct struct_04_02): Likewise.
4323 (struct struct_04_03): Likewise.
4324 (struct struct_04_04): Likewise.
4325 (struct struct_05_01): Likewise.
4326 (struct struct_05_02): Likewise.
4327 (struct struct_05_03): Likewise.
4328 (struct struct_05_04): Likewise.
4329 (cmp_struct01): Remove function.
4330 (cmp_struct02): Likewise.
4331 (cmp_struct03): Likewise.
4332 (cmp_struct04): Likewise.
4333 (cmp_struct_01_01): Add Function.
4334 (cmp_struct_01_02): Likewise.
4335 (cmp_struct_01_03): Likewise.
4336 (cmp_struct_01_04): Likewise.
4337 (cmp_struct_02_01): Likewise.
4338 (cmp_struct_02_02): Likewise.
4339 (cmp_struct_02_03): Likewise.
4340 (cmp_struct_02_04): Likewise.
4341 (cmp_struct_04_01): Likewise.
4342 (cmp_struct_04_02): Likewise.
4343 (cmp_struct_04_03): Likewise.
4344 (cmp_struct_04_04): Likewise.
4345 (cmp_struct_05_01): Likewise.
4346 (cmp_struct_05_02): Likewise.
4347 (cmp_struct_05_03): Likewise.
4348 (cmp_struct_05_04): Likewise.
4349 (call_all): Add new structs.
4350 * gdb.base/infcall-nested-structs.exp: Likewise.
4351
4352 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
4353
4354 * gdb.python/py-framefilter-mi.exp: Update regexp to
4355 check for "arch" field in frame output.
4356
4357 2018-08-23 Kevin Buettner <kevinb@redhat.com>
4358
4359 * gdb.dwarf2/dw2-ranges-func.c: New file.
4360 * gdb.dwarf2/dw2-ranges-func.exp: New file.
4361
4362 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
4363
4364 * gdb.base/term.exp: Compare terminal settings with values from
4365 the inferior.
4366 * gdb.base/term.c: Get and set terminal settings.
4367
4368 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
4369
4370 * lib/mi-support.exp (mi_expect_stop): Update regexp to
4371 accommodate new "arch" field in frame output.
4372 * gdb.mi/mi-return.exp: Likewise.
4373 * gdb.mi/mi-stack.exp: Likewise.
4374 * gdb.mi/mi-syn-frame.exp: Likewise.
4375 * gdb.mi/user-selected-context-sync.exp: Likewise.
4376
4377 2018-08-19 Michael Spang <spang@google.com>
4378
4379 PR gdb/11786
4380 * gdb.base/gcore-tls-pie.c: New file.
4381 * gdb.base/gcore-tls-pie.exp: New file.
4382
4383 2018-08-18 Kevin Buettner <kevinb@redhat.com>
4384
4385 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
4386 * gdb.dwarf2/varval.c: New file.
4387 * gdb.dwarf2/varval.exp: New file.
4388
4389 2018-08-17 Alan Hayward <alan.hayward@arm.com>
4390
4391 PR gdb/18931
4392 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
4393
4394 2018-08-16 Keith Seitz <keiths@redhat.com>
4395
4396 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
4397 tests expected to pass.
4398
4399 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
4400
4401 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
4402 -data-disassemble -a.
4403 (test_disassembly_bogus_args): Likewise.
4404
4405 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
4406
4407 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
4408
4409 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
4410
4411 * gdb.base/vla-optimized-out.exp: Add new test.
4412
4413 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
4414
4415 * gdb.base/vla-optimized-out-o3.exp: Delete.
4416 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
4417 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
4418 deleted tests.
4419
4420 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
4421
4422 PR gdb/18050:
4423 * gdb.server/extended-remote-restart.c: New file.
4424 * gdb.server/extended-remote-restart.exp: New file.
4425
4426 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
4427
4428 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
4429 "set variable index = 42".
4430
4431 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
4432
4433 * boards/index-cache-gdb.exp: New file.
4434 * gdb.dwarf2/index-cache.exp: New file.
4435 * gdb.dwarf2/index-cache.c: New file.
4436 * gdb.base/maint.exp: Check if we are using the index cache.
4437
4438 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4439
4440 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
4441 MAKEFLAGS.
4442
4443 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4444
4445 * dg-extract-results.sh: Move to toplevel contrib.
4446 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
4447 * Makefile.in (check-parallel-racy): Likewise.
4448
4449 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
4450
4451 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
4452 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
4453 tests if the target supports scheduler locking.
4454
4455 2018-08-04 Tom de Vries <tdevries@suse.de>
4456
4457 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
4458
4459 2018-08-02 Tom Tromey <tom@tromey.com>
4460
4461 PR symtab/16842.
4462 * gdb.cp/temargs.exp: Test "info address" of a template
4463 parameter.
4464
4465 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
4466
4467 * gdb.python/py-mi-var-info-path-expression.c: New file.
4468 * gdb.python/py-mi-var-info-path-expression.py: New file.
4469 * gdb.python/py-mi-var-info-path-expression.exp: New file.
4470
4471 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
4472
4473 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
4474 error after "cannot resolve name" string.
4475
4476 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
4477
4478 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
4479 started.
4480 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
4481
4482 2018-07-28 Tom de Vries <tdevries@suse.de>
4483
4484 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
4485
4486 2018-07-26 Tom de Vries <tdevries@suse.de>
4487
4488 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
4489
4490 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
4491
4492 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
4493 is visible.
4494
4495 2018-07-26 Tom de Vries <tdevries@suse.de>
4496
4497 PR breakpoints/23366
4498 * gdb.base/catch-follow-exec.c: New test.
4499 * gdb.base/catch-follow-exec.exp: New file.
4500
4501 2018-07-25 Tom de Vries <tdevries@suse.de>
4502
4503 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
4504 vla-optimized-out.c.
4505
4506 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
4507
4508 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
4509 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
4510
4511 2018-07-20 Tom de Vries <tdevries@suse.de>
4512
4513 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
4514 NOCLONE macro.
4515 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
4516
4517 2018-07-19 Tom de Vries <tdevries@suse.de>
4518
4519 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
4520 regular expression.
4521
4522 2018-07-18 Tom de Vries <tdevries@suse.de>
4523
4524 * gdb.base/vla-optimized-out.c: New test.
4525 * gdb.base/vla-optimized-out.exp: New file.
4526
4527 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
4528
4529 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
4530 message "No address associated with hostname" when gdbserver
4531 cannot resolve the hostname.
4532
4533 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4534
4535 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
4536 Add some test prefixes to make tests unique.
4537
4538 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4539
4540 * gdb.base/frameapply.c: New file.
4541 * gdb.base/frameapply.exp: New file.
4542
4543 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4544
4545 * gdb.base/skip.exp: Update expected error message.
4546
4547 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
4548 Jan Kratochvil <jan.kratochvil@redhat.com>
4549 Paul Fertser <fercerpav@gmail.com>
4550 Tsutomu Seki <sekiriki@gmail.com>
4551
4552 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
4553 parameter.
4554 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
4555 by default.
4556 * boards/native-gdbserver.exp: Likewise.
4557 * gdb.server/run-without-local-binary.exp: Improve regexp used
4558 for detecting when a remote debugging connection succeeds.
4559 * gdb.server/server-connect.exp: New file.
4560 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
4561 Do not prefix the port number with ":".
4562 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
4563 support for detecting and using it. Add '$debughost_gdbserver'
4564 to the list of arguments used to start gdbserver. Handle case
4565 when gdbserver cannot resolve a network name.
4566
4567 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
4568
4569 PR c++/23373
4570 * gdb.base/ptype-offsets.cc (struct static_member): New
4571 struct.
4572 (main) <stmember>: New variable.
4573 * gdb.base/ptype-offsets.exp: Add test for printing a struct
4574 with a static member in it.
4575
4576 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
4577
4578 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
4579 watchpoints enabled and disabled.
4580
4581 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4582
4583 * gdb.base/examine-backward.exp: Still run tests around address
4584 0x0, even if address 0x0 is not readable. Update the pattern for
4585 matching address 0x0 in expected output.
4586
4587 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
4588
4589 * gdb.base/share-env-with-gdbserver.c (main): Add call to
4590 malloc/free.
4591
4592 2018-07-04 Tom de Vries <tdevries@suse.de>
4593
4594 * gdb.dwarf2/dw2-error.exp: Update expected error message.
4595
4596 2018-07-02 Maciej W. Rozycki <macro@mips.com>
4597
4598 PR tdep/8282
4599 * gdb.arch/mips-disassembler-options.exp: New test.
4600 * gdb.arch/mips-disassembler-options.s: New test source.
4601
4602 2018-06-29 Pedro Alves <palves@redhat.com>
4603
4604 * gdb.threads/names.exp: Adjust expected "info threads" output.
4605
4606 2018-06-29 Pedro Alves <palves@redhat.com>
4607
4608 * gdb.opt/inline-break.exp (line number, address): Add "info
4609 break" tests.
4610
4611 2018-06-29 Pedro Alves <palves@redhat.com>
4612
4613 * gdb.opt/inline-break.c (func1): Add "break here" marker.
4614 * gdb.opt/inline-break.exp: Test setting breakpoints by line
4615 number and address and running to them.
4616
4617 2018-06-29 Richard Bunt <richard.bunt@arm.com>
4618
4619 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
4620
4621 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4622
4623 * lib/compiler.c: Remove executable permission flag.
4624
4625 2018-06-28 Richard Bunt <richard.bunt@arm.com>
4626
4627 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
4628 code.
4629 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
4630
4631 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
4632
4633 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
4634
4635 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
4636
4637 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
4638 address argument is omitted.
4639
4640 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
4641
4642 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
4643
4644 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
4645
4646 PR gdb/21695
4647 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
4648 * gdb.base/infoline-reloc-main-from-zero.c: New file.
4649
4650 2018-06-26 Tom Tromey <tom@tromey.com>
4651
4652 PR rust/22574:
4653 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
4654 * gdb.rust/simple.rs (struct SimpleLayout): New.
4655
4656 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
4657
4658 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
4659 "info registers" output.
4660
4661 2018-06-21 Richard Bunt <richard.bunt@arm.com>
4662
4663 * gdb.base/watchpoint-hw-attach.c: New test.
4664 * gdb.base/watchpoint-hw-attach.exp: New file.
4665
4666 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
4667
4668 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
4669 through /bin/sh.
4670 * boards/dwarf4-gdb-index.exp: Likewise.
4671 * boards/fission-dwp.exp: Likewise.
4672
4673 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
4674
4675 * gdb.base/float128.exp: Add comment and improved fail message
4676 to the failure case of "print large128" test.
4677
4678 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
4679
4680 * configure.ac: Remove AC_PREREQ.
4681 * configure: Re-generate.
4682
4683 2018-06-19 Pedro Alves <palves@redhat.com>
4684
4685 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
4686 (func_extern_caller): New.
4687 (main): Call func_extern_caller.
4688 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
4689 logic change.
4690
4691 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
4692
4693 PR gdb/16841
4694 * gdb.cp/typedef-base.cc: New file.
4695 * gdb.cp/typedef-base.exp: New file.
4696
4697 2018-06-18 Tom de Vries <tdevries@suse.de>
4698
4699 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
4700
4701 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
4702 Richard Bunt <Richard.Bunt@arm.com>
4703
4704 * gdb.threads/attach-slow-waitpid.c: New file.
4705 * gdb.threads/attach-slow-waitpid.exp: New file.
4706 * gdb.threads/slow-waitpid.c: New file.
4707
4708 2018-06-14 Pedro Alves <palves@redhat.com>
4709
4710 * gdb.base/fork-running-state.c: Include <errno.h>.
4711 (exit_if_relative_exits): New.
4712 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
4713 exits.
4714 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
4715 child exits.
4716
4717 2018-06-14 Tom de Vries <tdevries@suse.de>
4718
4719 PR cli/22573
4720 * gdb.base/finish-pretty.c: New test.
4721 * gdb.base/finish-pretty.exp: New file.
4722
4723 2018-06-14 Pedro Alves <palves@redhat.com>
4724
4725 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
4726 gdb's expected startup output.
4727
4728 2018-06-14 Pedro Alves <palves@redhat.com>
4729
4730 * lib/selftest-support.exp (selftest_setup): Remove inlined
4731 function handling.
4732
4733 2018-06-14 Tom de Vries <tdevries@suse.de>
4734
4735 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
4736 matching of breakpoint printing.
4737
4738 2018-06-13 Tom de Vries <tdevries@suse.de>
4739
4740 PR testsuite/23269
4741 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
4742 (fork_child): ... here, and ...
4743 (fork_parent): ... here.
4744
4745 2018-06-12 Tom de Vries <tdevries@suse.de>
4746
4747 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
4748
4749 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
4750 Stephen Roberts <stephen.roberts@arm.com>
4751
4752 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
4753 rewrite test to describe action performed, rather than possible
4754 failure.
4755
4756 2018-06-08 Gary Benson <gbenson@redhat.com>
4757
4758 * gdb.threads/check-libthread-db.exp: New file.
4759 * gdb.threads/check-libthread-db.c: Likewise.
4760
4761 2018-06-05 Tom Tromey <tom@tromey.com>
4762
4763 * gdb.base/default.exp: Update expected "show version" output.
4764
4765 2018-06-05 Tom Tromey <tom@tromey.com>
4766
4767 PR cli/12326:
4768 * gdb.cp/static-print-quit.exp: Update.
4769 * lib/gdb.exp (pagination_prompt): Update.
4770 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
4771 * gdb.python/python.exp: Update.
4772
4773 2018-06-04 Joel Brobecker <brobecker@adacore.com>
4774
4775 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
4776
4777 2018-06-01 Joel Brobecker <brobecker@adacore.com>
4778
4779 * gdb.ada/bp_fun_addr: New testcase.
4780
4781 2018-06-01 Tom Tromey <tom@tromey.com>
4782
4783 * gdb.xml/tdesc-regs.exp (load_description): Update expected
4784 results.
4785 * gdb.dwarf2/method-ptr.exp: Set language to C++.
4786 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
4787 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
4788 * gdb.base/maint.exp (maint_pass_if): Update.
4789
4790 2018-05-31 Maciej W. Rozycki <macro@mips.com>
4791
4792 * gdb.base/endian.exp: New test.
4793 * gdb.base/endian.c: New test source.
4794
4795 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
4796
4797 PR gdb/23203
4798 * gdb.base/bt-selected-frame.c: New file.
4799 * gdb.base/bt-selected-frame.exp: New file.
4800 * lib/gdb.exp (get_current_frame_number): New function.
4801
4802 2018-05-24 Maciej W. Rozycki <macro@mips.com>
4803 Pedro Alves <palves@redhat.com>
4804
4805 * gdb.threads/tls-core.c: Include <stdlib.h>
4806 (thread_proc): Call `abort'.
4807 * gdb.threads/tls-core.exp: Generate a core with core_find too.
4808 (tls_core_test): New procedure, bits factored out from ...
4809 (top level): ... here. Test both native cores and gcore cores.
4810
4811 2018-05-23 Tom Tromey <tom@tromey.com>
4812
4813 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
4814
4815 2018-05-23 Tom Tromey <tom@tromey.com>
4816
4817 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
4818 symfile_complaints.
4819 (test_short_complaints): Likewise.
4820 (test_empty_complaints): Likewise.
4821 (test_initial_complaints): Update.
4822
4823 2018-05-23 Tom Tromey <tom@tromey.com>
4824
4825 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
4826
4827 2018-05-23 Tom Tromey <tom@tromey.com>
4828
4829 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
4830 (test_short_complaints): Update.
4831
4832 2018-05-22 Pedro Alves <palves@redhat.com>
4833
4834 * gdb.base/remote.exp: Only gdb_start after compiling the
4835 testcase. Issue "disconnect" before testing "set remote" command
4836 defaults. Issue clean_restart before running to main.
4837
4838 2018-05-22 Pedro Alves <palves@redhat.com>
4839
4840 * gdb.base/remote.exp: Adjust expected output of "show remote
4841 memory-write-packet-size". Add tests for "set remote
4842 memory-write-packet-size 0" and "set remote
4843 memory-write-packet-size fixed/limit".
4844
4845 2018-05-22 Pedro Alves <palves@redhat.com>
4846
4847 PR gdb/22973
4848 * gdb.base/utf8-identifiers.c: New file.
4849 * gdb.base/utf8-identifiers.exp: New file.
4850
4851 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
4852
4853 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
4854
4855 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
4856
4857 * gdb.arch/powerpc-vsx-gcore.exp: New file.
4858
4859 2018-05-18 Tom Tromey <tom@tromey.com>
4860
4861 * gdb.base/ptype-offsets.exp: Update.
4862
4863 2018-05-17 Keith Seitz <keiths@redhat.com>
4864
4865 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
4866 in expected breakpoint stop locations.
4867 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
4868 move to proper scope to test variable values.
4869 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
4870 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
4871 New functions.
4872 (main): Call not_inline_func3.
4873 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
4874 inline_func1, inline_func2, and inline_func3. Test that when each
4875 breakpoint is hit, GDB properly reports both the stop location
4876 and the backtrace. Repeat tests for temporary breakpoints.
4877
4878 2018-05-15 Maciej W. Rozycki <macro@mips.com>
4879
4880 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
4881 rather then trying to access it in determining whether the PID
4882 of `gdbserver' could have been retrieved.
4883
4884 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
4885
4886 * gdb.arch/amd64-init-x87-values.S: New file.
4887 * gdb.arch/amd64-init-x87-values.exp: New file.
4888
4889 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4890
4891 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
4892
4893 2018-05-04 Tom Tromey <tom@tromey.com>
4894
4895 PR python/22730:
4896 * gdb.python/python.exp: Test multi-line execute.
4897
4898 2018-05-04 Tom Tromey <tom@tromey.com>
4899
4900 PR python/22731:
4901 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
4902
4903 2018-05-04 Tom Tromey <tom@tromey.com>
4904
4905 PR gdb/11750:
4906 * gdb.base/define.exp: Test defining a user command inside a user
4907 command.
4908 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
4909
4910 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4911 Pedro Alves <palves@redhat.com>
4912
4913 PR breakpoints/19806 and support for PR external/20207.
4914 * gdb.base/watchpoint-unaligned.c: New file.
4915 * gdb.base/watchpoint-unaligned.exp: New file.
4916
4917 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4918
4919 * gdb.base/maint.exp: Make test names unique, use
4920 test_prefix_command_help to test 'help maint info', and remove
4921 repeated test of 'help maint'.
4922
4923 2018-05-04 Tom Tromey <tom@tromey.com>
4924
4925 PR gdb/22619:
4926 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
4927 behavior.
4928
4929 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4930
4931 * gdb.base/maint.exp: Process output from 'maint print registers'
4932 line at a time.
4933
4934 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4935
4936 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
4937 timeout.
4938
4939 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
4940
4941 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
4942 filter pattern.
4943
4944 2018-05-02 Pedro Alves <palves@redhat.com>
4945
4946 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
4947 to_log_command renames.
4948 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
4949
4950 2018-05-02 Tom Tromey <tom@tromey.com>
4951
4952 * gdb.python/py-parameter.exp: Set test message.
4953
4954 2018-05-02 Tom Tromey <tom@tromey.com>
4955
4956 PR python/20084:
4957 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
4958 PARAM_ZUINTEGER_UNLIMITED tests.
4959
4960 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
4961
4962 PR rust/23124
4963 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
4964 when casting.
4965
4966 2018-04-30 Tom Tromey <tom@tromey.com>
4967
4968 * gdb.python/py-type.exp: Check align attribute.
4969 * gdb.python/py-type.c: New "aligncheck" global.
4970
4971 2018-04-30 Tom Tromey <tom@tromey.com>
4972
4973 PR exp/17095:
4974 * gdb.dwarf2/dw2-align.exp: New file.
4975 * gdb.cp/align.exp: New file.
4976 * gdb.base/align.exp: New file.
4977 * lib/gdb.exp (gdb_int128_helper): New proc.
4978 (has_int128_c, has_int128_cxx): New caching procs.
4979
4980 2018-04-27 Tom Tromey <tom@tromey.com>
4981
4982 PR rust/22545:
4983 * gdb.rust/simple.exp: Add inclusive range tests.
4984
4985 2018-04-26 Pedro Alves <palves@redhat.com>
4986
4987 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
4988 ifunc breakpoint locations correctly of ifunc breakpoints set
4989 while the program resolves the ifunc.
4990
4991 2018-04-26 Pedro Alves <palves@redhat.com>
4992
4993 * gdb.base/gnu-ifunc-final.c: New file.
4994 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
4995 * gdb.base/gnu-ifunc.exp (executable): Delete.
4996 (staticexecutable): Adjust.
4997 (lib_opts, exec_opts): Delete.
4998 (make_binsuffix, build, set-break): New procedures.
4999 (misc_tests): New, with tests factored out from the top level.
5000 (top level): Test different combinations of ifunc resolver name,
5001 resolver with and with debug info, and ifunc target with and
5002 without debug info. Wrap static tests with with_target_prefix.
5003
5004 2018-04-26 Pedro Alves <palves@redhat.com>
5005
5006 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
5007 return type" warnings.
5008
5009 2018-04-25 Pedro Alves <palves@redhat.com>
5010
5011 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
5012 killed".
5013 * gdb.base/kill-after-signal.exp: Likewise.
5014 * gdb.threads/kill.exp: Likewise.
5015
5016 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5017 Sergio Durigan Junior <sergiodj@redhat.com>
5018 Pedro Alves <palves@redhat.com>
5019
5020 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
5021 regexps to expect for '[Inferior ... detached]' as well.
5022 * gdb.base/attach.exp: Likewise.
5023 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
5024 "gdb_continue_to_end".
5025 (test_catch_syscall_with_wrong_args): Likewise.
5026 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
5027 ']'. Don't set 'verbose' on.
5028 * gdb.base/foll-vfork.exp: Likewise.
5029 * gdb.base/fork-print-inferior-events.c: New file.
5030 * gdb.base/fork-print-inferior-events.exp: New file.
5031 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
5032 '[Inferior ... has been killed]' message.
5033 * gdb.base/kill-after-signal.exp: Likewise.
5034 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
5035 detach message.
5036 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
5037 message.
5038 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
5039 regexps to expect for '[Inferior ... detached]' as well.
5040 * gdb.threads/process-dies-while-detaching.exp: Likewise.
5041
5042 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
5043
5044 PR gdb/23104
5045 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
5046
5047 2018-04-22 Rajendra SY <rajendra.sy@gmail.com>
5048
5049 PR gdb/23095
5050 * gdb.base/break-probes.exp: Pass shlib_load to
5051 prepare_for_testing. Set normal_bp to r_debug_state if target is
5052 bsd.
5053
5054 2018-04-19 Richard Bunt <richard.bunt@arm.com>
5055
5056 * gdb.threads/multiple-successive-infcall.c: New test.
5057 * gdb.threads/multiple-successive-infcall.exp: New file.
5058
5059 2018-04-17 Tom Tromey <tom@tromey.com>
5060
5061 * gdb.rust/simple.rs (Union): New type.
5062 (main): New local "u".
5063 * gdb.rust/simple.exp (test_one_slice): Add new test case.
5064
5065 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5066
5067 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
5068 number information in output of "whereis" command.
5069 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
5070
5071 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5072
5073 * gdb.ada/info_types.exp: Adjust expected output to the line
5074 numbers now printed by "info var/func/type".
5075 * gdb.base/completion.exp: Likewise.
5076 * gdb.base/included.exp: Likewise.
5077 * gdb.cp/cp-relocate.exp: Likewise.
5078 * gdb.cp/cplusfuncs.exp: Likewise.
5079 * gdb.cp/namespace.exp: Likewise.
5080 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
5081
5082 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
5083
5084 * gdb.btrace/cpu.exp: New.
5085
5086 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
5087
5088 * gdb.base/step-indirect-call-thunk.exp: New.
5089 * gdb.base/step-indirect-call-thunk.c: New.
5090 * gdb.reverse/step-indirect-call-thunk.exp: New.
5091 * gdb.reverse/step-indirect-call-thunk.c: New.
5092
5093 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
5094
5095 * gdb.base/pie-fork.c: New file.
5096 * gdb.base/pie-fork.exp: New file.
5097
5098 2018-04-11 Tom Tromey <tom@tromey.com>
5099
5100 * gdb.rust/simple.exp: Add test for ".." struct initializer.
5101
5102 2018-04-10 Pedro Alves <palves@redhat.com>
5103
5104 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
5105 exits. Instead loop running forever.
5106 (fork_parent): Run forever too.
5107
5108 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
5109
5110 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
5111 mi_continue_to_line.
5112 * gdb.mi/mi-stack.c (callee4): Add comment.
5113
5114 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
5115
5116 * gdb.mi/mi-stack.exp: Fix indentation.
5117
5118 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
5119
5120 PR gdb/22979
5121 * gdb.arch/amd64-osabi.exp: New file.
5122
5123 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
5124
5125 PR gdb/22980
5126 * gdb.base/osabi.exp: New file.
5127
5128 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
5129
5130 * gdb.cp/static-typedef-print.exp: New file.
5131 * gdb.cp/static-typedef-print.cc: New file.
5132
5133 2018-03-27 Joel Brobecker <brobecker@adacore.com>
5134
5135 * gdb.ada/varsize_limit: New testcase.
5136
5137 2018-03-27 Joel Brobecker <brobecker@adacore.com>
5138
5139 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
5140
5141 * gdb.ada/notcplusplus: New testcase.
5142
5143 * gdb.base/c-linkage-name.c: New file.
5144 * gdb.base/c-linkage-name.exp: New testcase.
5145
5146 2018-03-26 Tom Tromey <tom@tromey.com>
5147
5148 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
5149 * gdb.python/py-framefilter.py (name_error): New global.
5150 (ErrorInName.function): Use name_error.
5151
5152 2018-03-26 Tom Tromey <tom@tromey.com>
5153
5154 PR backtrace/15582:
5155 * gdb.python/py-framefilter.exp: Add "bt hide" test.
5156
5157 2018-03-23 Keith Seitz <keiths@redhat.com>
5158
5159 PR c++/22968
5160 * gdb.cp/subtypes.exp: New file.
5161 * gdb.cp/subtypes.h: New file.
5162 * gdb.cp/subtypes.cc: New file.
5163 * gdb.cp/subtypes-2.cc: New file.
5164
5165 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
5166
5167 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
5168 (done): Call '_exit' not 'exit' to avoid atexit handlers.
5169 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
5170 -nostartfiles when compiling the test. Confirm that all registers
5171 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
5172
5173 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
5174
5175 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
5176 option, syntax was wrong anyway.
5177 * gdb.arch/arm-disp-step.exp: Likewise.
5178 * gdb.arch/sparc64-regs.exp: Likewise.
5179 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
5180 option, syntax was wrong anyway, switch to use
5181 prepare_for_testing.
5182 * gdb.arch/i386-disp-step.exp: Likewise.
5183
5184 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
5185
5186 * gdb.ada/exec_changed.exp: Replace "target_info exists
5187 use_gdb_stub" by "use_gdb_stub".
5188 * gdb.ada/start.exp: Likewise.
5189 * gdb.base/async-shell.exp: Likewise.
5190 * gdb.base/attach-pie-misread.exp: Likewise.
5191 * gdb.base/attach-wait-input.exp: Likewise.
5192 * gdb.base/break-entry.exp: Likewise.
5193 * gdb.base/break-interp.exp: Likewise.
5194 * gdb.base/dprintf-detach.exp: Likewise.
5195 * gdb.base/nostdlib.exp: Likewise.
5196 * gdb.base/solib-nodir.exp: Likewise.
5197 * gdb.base/statistics.exp: Likewise.
5198 * gdb.base/testenv.exp: Likewise.
5199 * gdb.mi/mi-exec-run.exp: Likewise.
5200 * gdb.mi/mi-start.exp: Likewise.
5201 * gdb.multi/dummy-frame-restore.exp: Likewise.
5202 * gdb.multi/multi-arch-exec.exp: Likewise.
5203 * gdb.multi/multi-arch.exp: Likewise.
5204 * gdb.multi/tids.exp: Likewise.
5205 * gdb.multi/watchpoint-multi.exp: Likewise.
5206 * gdb.python/py-events.exp: Likewise.
5207 * gdb.threads/attach-into-signal.exp: Likewise.
5208 * gdb.threads/attach-stopped.exp: Likewise.
5209 * gdb.threads/threadapply.exp: Likewise.
5210 * lib/selftest-support.exp: Likewise.
5211
5212 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
5213
5214 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
5215
5216 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
5217
5218 * gdb.perf/template-breakpoints.cc: New file.
5219 * gdb.perf/template-breakpoints.exp: New file.
5220 * gdb.perf/template-breakpoints.py: New file.
5221
5222 2018-03-19 Tom Tromey <tom@tromey.com>
5223
5224 * gdb.rust/simple.rs (main): Add local variables field1, field2,
5225 y0.
5226 * gdb.rust/simple.exp: Test bare identifier form of struct
5227 initializer.
5228
5229 2018-03-19 Tom Tromey <tom@tromey.com>
5230
5231 * gdb.gdb/observer.exp: Remove.
5232
5233 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5234
5235 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
5236 "qualified" option when setting breakpoints.
5237 * gdb.trace/backtrace.exp: Likewise.
5238 * gdb.trace/circ.exp: Likewise.
5239 * gdb.trace/collection.exp: Likewise.
5240 * gdb.trace/disconnected-tracing.exp: Likewise.
5241 * gdb.trace/ftrace-lock.exp: Likewise.
5242 * gdb.trace/ftrace.exp: Likewise.
5243 * gdb.trace/infotrace.exp: Likewise.
5244 * gdb.trace/packetlen.exp: Likewise.
5245 * gdb.trace/passc-dyn.exp: Likewise.
5246 * gdb.trace/qtro.exp: Likewise.
5247 * gdb.trace/read-memory.exp: Likewise.
5248 * gdb.trace/report.exp: Likewise.
5249 * gdb.trace/signal.exp: Likewise.
5250 * gdb.trace/status-stop.exp: Likewise.
5251 * gdb.trace/strace.exp: Likewise.
5252 * gdb.trace/tfind.exp: Likewise.
5253 * gdb.trace/trace-break.exp: Likewise.
5254 * gdb.trace/trace-condition.exp: Likewise.
5255 * gdb.trace/trace-mt.exp: Likewise.
5256 * gdb.trace/tstatus.exp: Likewise.
5257 * gdb.trace/tsv.exp: Likewise.
5258 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
5259 * gdb.trace/unavailable.exp: Likewise.
5260 * gdb.trace/while-dyn.exp: Likewise.
5261
5262 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5263
5264 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
5265 that libinproctrace is copied to the target.
5266
5267 2018-03-14 Tom Tromey <tom@tromey.com>
5268
5269 PR cli/14977:
5270 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
5271 a null pointer.
5272 * gdb.base/wchar.exp: Likewise.
5273
5274 2018-03-14 Tom Tromey <tom@tromey.com>
5275
5276 PR cli/19918:
5277 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
5278 flag.
5279
5280 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
5281
5282 PR gdb/22841
5283 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
5284 "target" to remote_exec.
5285
5286 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
5287
5288 PR gdb/22841
5289 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
5290 ${board}_upload): Remove.
5291
5292 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
5293
5294 * gdb.cp/watch-cp.cc: New test.
5295 * gdb.cp/watch-cp.exp: New file.
5296
5297 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5298
5299 * gdb.base/infcall-nested-structs.exp: New file.
5300 * gdb.base/infcall-nested-structs.c: New file.
5301 * gdb.base/float.exp: Add riscv support.
5302
5303 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
5304
5305 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
5306 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
5307
5308 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
5309
5310 * gdb.server/abspath.exp: New file.
5311 * lib/gdb.exp (with_cwd): New procedure.
5312
5313 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
5314
5315 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
5316 use it.
5317 (gdb_is_target_remote_prompt): New proc.
5318 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
5319 (gdb_is_target_native): Pass prompt parameter to
5320 gdb_is_target_1.
5321
5322 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
5323
5324 * gdb.base/load-command.c: New file.
5325 * gdb.base/load-command.exp: New file.
5326 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
5327 (gdb_is_target_1): ...this, and generalize for other targets
5328 than just remote.
5329 (gdb_is_target_remote): Use gdb_is_target_1.
5330 (gdb_is_target_native): use gdb_is_target_1.
5331
5332 2018-02-26 Tom Tromey <tom@tromey.com>
5333
5334 PR python/16497:
5335 * gdb.python/py-framefilter.exp: Update test.
5336
5337 2018-02-26 Tom Tromey <tom@tromey.com>
5338
5339 * gdb.dwarf2/variant.c: New file.
5340 * gdb.dwarf2/variant.exp: New file.
5341
5342 2018-02-26 Tom Tromey <tom@tromey.com>
5343
5344 * gdb.rust/simple.exp: Accept more possible results in enum test.
5345
5346 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
5347
5348 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
5349 parentheses.
5350
5351 2018-02-23 Maciej W. Rozycki <macro@mips.com>
5352
5353 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
5354 name of a variable: $actual_linejj -> $actual_line.
5355
5356 2018-02-21 John Baldwin <jhb@FreeBSD.org>
5357
5358 * gdb.arch/amd64-i386-address.exp: Fix a typo.
5359
5360 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
5361
5362 * gdb.btrace/buffer-size.exp: Do not force BTS.
5363
5364 2018-02-14 Pedro Alves <palves@redhat.com>
5365
5366 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
5367 getting a "Quit".
5368
5369 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
5370
5371 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
5372 Fix test name.
5373
5374 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
5375
5376 * gdb.cp/m-static.exp: Check type of optimized out static
5377 member.
5378
5379 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
5380
5381 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
5382 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
5383
5384 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
5385 Leszek Swirski <leszeks@google.com>
5386
5387 * gdb.python/py-prettyprint.c
5388 (struct to_string_returns_value_inner,
5389 struct to_string_returns_value_wrapper): New.
5390 (main): Add tsrvw variable.
5391 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
5392 ToStringReturnsValueWrapper): New classes.
5393 (register_pretty_printers): Register new pretty-printers.
5394 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
5395 recursive pretty printer.
5396 * gdb.python/py-mi.exp: Likewise.
5397
5398 2018-02-01 Leszek Swirski <leszeks@google.com>
5399
5400 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
5401 functions with the same name as an include file are parsed
5402 correctly.
5403
5404 2018-02-01 Yao Qi <yao.qi@linaro.org>
5405
5406 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
5407 "\[^\r\n\]*".
5408
5409 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
5410
5411 * gdb.arch/powerpc-prologue-frame.s: New file.
5412 * gdb.arch/powerpc-prologue-frame.c: Likewise.
5413 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
5414
5415 2018-01-31 Joel Brobecker <brobecker@adacore.com>
5416
5417 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
5418
5419 2018-01-30 Pedro Alves <palves@redhat.com>
5420
5421 PR gdb/13211
5422 * gdb.base/interrupt-daemon.c: New.
5423 * gdb.base/interrupt-daemon.exp: New.
5424 * gdb.multi/multi-term-settings.c: New.
5425 * gdb.multi/multi-term-settings.exp: New.
5426
5427 2018-01-30 Joel Brobecker <brobecker@adacore.com>
5428
5429 * gdb.base/break.exp: Save the location where the breakpoint
5430 on break.c:47 was actually inserted when debugging the version
5431 compiled at -O2 and use it in the expected output of the "info
5432 break" test performed soon after.
5433
5434 2018-01-22 Pedro Alves <palves@redhat.com>
5435 Sergio Durigan Junior <sergiodj@redhat.com>
5436
5437 * gdb.base/whatis.exp: Add tests for 'set print object on' +
5438 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
5439
5440 2018-01-22 Joel Brobecker <brobecker@adacore.com>
5441
5442 * gdb.base/break-include.c, gdb.base/break-include.inc,
5443 gdb.base/break-include.exp: New files.
5444 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
5445 line number now being the actual line number where the breakpoint
5446 was inserted.
5447 * gdb.mi/mi-break.exp: Likewise.
5448 * gdb.mi/mi-reverse.exp: Likewise.
5449 * gdb.mi/mi-simplerun.exp: Ditto.
5450
5451 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
5452
5453 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
5454 varobj.
5455 * gdb.mi/mi-var-create-rtti.exp: Likewise.
5456
5457 2018-01-21 Don Breazeal <donb@codesourcery.com>
5458 Andrew Burgess <andrew.burgess@embecosm.com>
5459
5460 * gdb.mi/basics.c: Add new global.
5461 * gdb.mi/mi-frame-regs.exp: New file.
5462 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
5463 case.
5464
5465 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
5466
5467 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
5468 non-parameter, and on an unknown symbol.
5469
5470 2018-01-19 Tom Tromey <tom@tromey.com>
5471
5472 * gdb.rust/modules.rs (TWENTY_THREE): New global.
5473 * gdb.rust/modules.exp: Add ::-qualified lookup test.
5474
5475 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5476
5477 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
5478 setrlimit and chdir to int.
5479
5480 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5481
5482 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
5483 function.
5484 (my_tend): Likewise.
5485 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
5486 rationale of avoiding FP- and vector instructions.
5487
5488 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
5489
5490 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
5491 "info reg" with "\[ \t\]*".
5492 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
5493 "\[ \t\]+".
5494 * gdb.arch/s390-multiarch.exp: Ditto.
5495 * gdb.base/pc-fp.exp: Ditto.
5496 * gdb.reverse/i386-precsave.exp: Ditto.
5497 * gdb.reverse/i386-reverse.exp: Ditto.
5498 * gdb.reverse/i387-env-reverse.exp: Ditto.
5499 * gdb.reverse/i387-stack-reverse.exp: Ditto.
5500
5501 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
5502
5503 * lib/gdb.exp (gdb_compile): Re-enable use of
5504 universal_compile_options for languages other than Rust.
5505
5506 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
5507
5508 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
5509
5510 2018-01-17 Mike Gulick <mgulick@mathworks.com>
5511
5512 PR gdb/16577
5513 * gdb.base/solib-vanish.exp: New.
5514 * gdb.base/solib-vanish-main.c: New.
5515 * gdb.base/solib-vanish-lib1.c: New.
5516 * gdb.base/solib-vanish-lib2.c: New.
5517
5518 2018-01-17 Yao Qi <yao.qi@linaro.org>
5519
5520 * gdb.compile/compile.exp: Match the address printed for
5521 frame in the output of command "bt".
5522
5523 2018-01-15 Tom Tromey <tom@tromey.com>
5524
5525 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
5526 compute sp_reg.
5527
5528 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
5529
5530 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
5531 to prepare.
5532 (prepare): Return 0 on error, 1 on success.
5533
5534 2018-01-12 Pedro Alves <palves@redhat.com>
5535
5536 * gdb.base/continue-after-aborted-step-over.c: New.
5537 * gdb.base/continue-after-aborted-step-over.exp: New.
5538
5539 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
5540
5541 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
5542 options when not creating an executable.
5543
5544 2018-01-11 Pedro Alves <palves@redhat.com>
5545
5546 PR remote/22597
5547 * gdb.server/stop-reply-no-thread.c: New file.
5548 * gdb.server/stop-reply-no-thread.exp: New file.
5549
5550 2018-01-10 Pedro Alves <palves@redhat.com>
5551
5552 PR gdb/22670
5553 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
5554 functions too. Test setting breakpoints and printing C functions
5555 with no debug info too.
5556 * gdb.ada/bp_c_mixed_case/qux.c: New file.
5557
5558 2018-01-10 Pedro Alves <palves@redhat.com>
5559
5560 PR gdb/22670
5561 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
5562 a fail.
5563
5564 2018-01-10 Pedro Alves <palves@redhat.com>
5565
5566 PR gdb/22670
5567 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
5568
5569 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
5570
5571 * gdb.server/unittest.exp: Match the output in non-development
5572 mode.
5573
5574 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
5575
5576 * gdb.gdb/unittest.exp: Match output in non-development mode.
5577
5578 2018-01-08 Joel Brobecker <brobecker@adacore.com>
5579
5580 * gdb.ada/access_tagged_param.exp: Relax expected output
5581 for value of "ObjL" in "continue" to pck.inspect breakpoint
5582 test.
5583
5584 2018-01-08 Joel Brobecker <brobecker@adacore.com>
5585
5586 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
5587 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
5588
5589 2018-01-05 Pedro Alves <palves@redhat.com>
5590
5591 PR gdb/18653
5592 * gdb.base/libsegfault.exp: New.
5593
5594 2018-01-05 Joel Brobecker <brobecker@adacore.com>
5595
5596 PR gdb/22670
5597 * gdb.ada/access_tagged_param.exp: New file.
5598 * gdb.ada/access_tagged_param/foo.adb: New file.
5599
5600 2018-01-05 Pedro Alves <palves@redhat.com>
5601
5602 PR gdb/22670
5603 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
5604 exercise lower case too, and to exercise both full matching and
5605 wild matching.
5606
5607 2018-01-05 Joel Brobecker <brobecker@adacore.com>
5608
5609 * gdb.ada/rename_subscript_param: New testcase.
5610
5611 2018-01-05 Jerome Guitton <guitton@adacore.com>
5612
5613 * gdb.ada/arr_acc_idx_w_gap: New testcase.
5614
5615 2018-01-05 Joel Brobecker <brobecker@adacore.com>
5616
5617 * gdb.ada/convvar_comp: New testcase.
5618
5619 2018-01-05 Xavier Roirand <roirand@adacore.com>
5620
5621 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
5622 (My_Table): New global variable.
5623 * testsuite/gdb.ada/array_char_idx.exp: Add test.
5624
5625 2018-01-04 Joel Brobecker <brobecker@adacore.com>
5626
5627 PR gdb/22670
5628 * gdb.ada/maint_with_ada: New testcase.
5629
5630 2018-01-04 Joel Brobecker <brobecker@adacore.com>
5631
5632 PR gdb/22670
5633 * gdb.ada/bp_c_mixed_case: New testcase.
5634
5635 2018-01-04 Joel Brobecker <brobecker@adacore.com>
5636
5637 PR gdb/22670
5638 * gdb.ada/complete.exp: Add "complete break ada" test.
5639
5640 2018-01-04 Joel Brobecker <brobecker@adacore.com>
5641
5642 PR gdb/22670
5643 * gdb.ada/info_addr_mixed_case: New testcase.
5644
5645 2018-01-03 Xavier Roirand <roirand@adacore.com>
5646
5647 * gdb.ada/excep_handle.exp: New testcase.
5648 * gdb.ada/excep_handle/foo.adb: New file.
5649 * gdb.ada/excep_handle/pck.ads: New file.
5650
5651 2018-01-03 Joel Brobecker <brobecker@adacore.com>
5652
5653 * gdb.base/step-line.c: Add extra empty line in copyright header.
5654 * gdb.base/step-line.inp: Likewise.
5655
5656 2018-01-02 Joel Brobecker <brobecker@adacore.com>
5657
5658 * gdb.ada/dyn_stride.exp: Add slice test.
5659
5660 2018-01-02 Joel Brobecker <brobecker@adacore.com>
5661
5662 * gdb.ada/dyn_stride: New testcase.
5663
5664 2017-12-27 Stafford Horne <shorne@gmail.com>
5665
5666 * gdb.xml/extra-regs.xml: Add example foo reggroup.
5667 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
5668
5669 2017-12-27 Stafford Horne <shorne@gmail.com>
5670
5671 * gdb.base/reggroups.c: New file.
5672 * gdb.base/reggroups.exp: New file.
5673
5674 2017-12-18 Joel Brobecker <brobecker@adacore.com>
5675
5676 * gdb.dwarf2/ada-valprint-error.c: New file.
5677 * gdb.dwarf2/ada-valprint-error.exp: New file.
5678
5679 2017-12-18 Joel Brobecker <brobecker@adacore.com>
5680
5681 * gdb.ada/assign_arr: New testcase.
5682
5683 2017-12-18 Xavier Roirand <roirand@adacore.com>
5684
5685 * gdb.ada/funcall_ptr: New testcase.
5686
5687 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5688
5689 PR cli/16224
5690 * gdb.base/ptype-offsets.cc: New file.
5691 * gdb.base/ptype-offsets.exp: New file.
5692
5693 2017-12-15 Yao Qi <yao.qi@linaro.org>
5694
5695 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
5696 if XML is disabled.
5697
5698 2017-12-15 Xavier Roirand <roirand@adacore.com>
5699
5700 * gdb.ada/same_component_name: New testcase.
5701
5702 2017-12-14 Joel Brobecker <brobecker@adacore.com>
5703
5704 * gdb.ada/str_binop_equal: New testcase.
5705
5706 2017-12-14 Joel Brobecker <brobecker@adacore.com>
5707
5708 * gdb.ada/task_switch_in_core: New testcase.
5709
5710 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
5711
5712 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
5713 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
5714 call test_bkpt_qualified.
5715 (test_bkpt_qualified): New proc.
5716
5717 2017-12-13 Pedro Alves <palves@redhat.com>
5718
5719 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
5720 Tighten regexp by matching with an anchor.
5721
5722 2017-12-13 Pedro Alves <palves@redhat.com>
5723
5724 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
5725 ("expression with namespace"): New set of tests.
5726 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
5727 (Nested::Test_NS::qux): New.
5728 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
5729 defaults to 'start_quote_char' and 'end_quote_char' parameters.
5730
5731 2017-12-13 Joel Brobecker <brobecker@adacore.com>
5732
5733 * gdb.base/server-del-break.c: New file.
5734 * gdb.base/server-del-break.exp: New file.
5735
5736 2017-12-12 Stafford Horne <shorne@gmail.com>
5737
5738 * gdb.xml/tdesc-regs.exp: Add or1k support.
5739
5740 2017-12-12 Stafford Horne <shorne@gmail.com>
5741
5742 * gdb.base/bp-permanent.c: Define nop of or1k.
5743
5744 2017-12-11 Joel Brobecker <brobecker@adacore.com>
5745
5746 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
5747 output with components being reordered.
5748
5749 2017-12-11 Joel Brobecker <brobecker@adacore.com>
5750
5751 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
5752 output with components being reordered.
5753
5754 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5755 Pedro Alves <palves@redhat.com>
5756
5757 * gdb.base/maint.exp (check for .gdb_index): Check also for
5758 .debug_names.
5759 * gdb.dlang/watch-loc.c (.debug_aranges): New.
5760 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
5761 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
5762 (.gdb_index used after symbol reloading): Support also .debug_names.
5763 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
5764
5765 2017-12-08 Yao Qi <yao.qi@linaro.org>
5766
5767 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
5768 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
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 test for breakpoint.
5774
5775 2017-12-08 Yao Qi <yao.qi@linaro.org>
5776
5777 * gdb.arch/aarch64-tagged-pointer.c: New file.
5778 * gdb.arch/aarch64-tagged-pointer.exp: New file.
5779
5780 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
5781
5782 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
5783 "int".
5784
5785 2017-12-07 Keith Seitz <keiths@redhat.com>
5786
5787 PR breakpoints/22569
5788 * gdb.linespec/ls-errs.exp: Change expected result of "break
5789 -source this file has spaces.c -line 3".
5790 Check that an explicit source file followed by whitespace is
5791 identified as an invalid explicit location.
5792
5793 2017-12-07 Keith Seitz <keiths@redhat.com>
5794
5795 * gdb.cp/nested-types.cc: New file.
5796 * gdb.cp/nested-types.exp: New file.
5797 * lib/cp-support.exp: Load data-structures.exp library.
5798 (debug_cp_test_ptype_class): New global.
5799 (cp_ptype_class_verbose, next_line): New procedures.
5800 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
5801 Add and document new return value.
5802 Switch the list of lines to a queue.
5803 Add support for new `type' key for nested type definitions.
5804 Add debugging/troubleshooting messages.
5805 * lib/data-structures.exp: New file.
5806
5807 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
5808
5809 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
5810 with proc_with_prefix, don't use with_test_prefix.
5811
5812 2017-12-07 Tom Tromey <tom@tromey.com>
5813
5814 * gdb.base/break.exp: Add test for empty "commands".
5815
5816 2017-12-07 Yao Qi <yao.qi@linaro.org>
5817
5818 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
5819 malloc and catch syscall.
5820
5821 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
5822
5823 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
5824 tests for explicit locations.
5825
5826 2017-12-06 Pedro Alves <palves@redhat.com>
5827
5828 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
5829 force-disabling XML descriptions.
5830
5831 2017-12-04 Pedro Alves <palves@redhat.com>
5832
5833 PR gdb/22499
5834 * gdb.arch/amd64-disp-step-avx.S: New file.
5835 * gdb.arch/amd64-disp-step-avx.exp: New file.
5836
5837 2017-12-03 Pedro Alves <palves@redhat.com>
5838
5839 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
5840 and <string.h>.
5841 (parent_function): Print distinct messages when waitpid fails, or
5842 the child exits with a signal, or the child exits for an unhandled
5843 reason.
5844 * gdb.threads/process-dies-while-detaching.exp
5845 (detach_and_expect_exit): New 'inf_output_re' parameter and use
5846 it. Wait for both inferior output and GDB's prompt. Use an
5847 indirect spawn id list.
5848 (do_detach): New parameter 'child_exit'. Use it to compute
5849 expected inferior output.
5850 (test_detach, test_detach_watch, test_detach_killed_outside):
5851 Adjust to pass down the expected child exit kind.
5852
5853 2017-12-01 Joel Brobecker <brobecker@adacore.com>
5854 Sergio Durigan Junior <sergiodj@redhat.com>
5855 Pedro Alves <palves@redhat.com>
5856
5857 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
5858
5859 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
5860
5861 * gdb.base/relocate.exp: Add tests to guarantee that arguments
5862 to 'symbol-file' and 'add-symbol-file' can be
5863 position-independent.
5864
5865 2017-12-01 Yao Qi <yao.qi@linaro.org>
5866
5867 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
5868 the URL in copyright header.
5869 * gdb.arch/aarch64-fp.exp: Likewise.
5870 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
5871 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
5872 * gdb.base/expand-psymtabs.exp: Likewise.
5873 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
5874 * gdb.fortran/common-block.exp: Likewise.
5875 * gdb.fortran/common-block.f90: Likewise.
5876 * gdb.fortran/logical.exp: Likewise.
5877 * gdb.fortran/vla-datatypes.f90: Likewise.
5878 * gdb.fortran/vla-sub.f90: Likewise.
5879
5880 2017-11-30 Joel Brobecker <brobecker@adacore.com>
5881
5882 * gdb.ada/repeat_dyn: New testcase.
5883
5884 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
5885
5886 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
5887 Update for changed thread numbering.
5888 * gdb.cell/bt.exp: Update for changed GDB output.
5889
5890 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
5891
5892 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
5893 setting isremote by hand.
5894 * boards/dwarf4-gdb-index.exp: Likewise.
5895 * boards/fission.exp: Likewise.
5896 * boards/stabs.exp: Likewise.
5897
5898 2017-11-30 Pedro Alves <palves@redhat.com>
5899
5900 * gdb.linespec/cpls-ops.exp
5901 (check_explicit_skips_function_argument): Extract the underlying
5902 type of size_t instead of hardcoding it.
5903
5904 2017-11-29 Pedro Alves <palves@redhat.com>
5905
5906 PR c++/19436
5907 * gdb.linespec/cpls-abi-tag.cc: New file.
5908 * gdb.linespec/cpls-abi-tag.exp: New file.
5909
5910 2017-11-29 Pedro Alves <palves@redhat.com>
5911
5912 * gdb.base/langs.exp: Use -qualified.
5913 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
5914 it.
5915 * gdb.cp/namespace.exp: Use -qualified.
5916 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
5917 (overload-3, template-overload, template-ret-type, const-overload)
5918 (const-overload-quoted, anon-ns, ambiguous-prefix): New
5919 procedures.
5920 (test_driver): Call them.
5921 * gdb.cp/save-bp-qualified.cc: New.
5922 * gdb.cp/save-bp-qualified.exp: New.
5923 * gdb.linespec/explicit.exp: Test -qualified.
5924 * lib/completion-support.exp (completion::explicit_opts_list): Add
5925 "-qualified".
5926 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
5927
5928 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
5929
5930 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
5931
5932 2017-11-29 Tom Tromey <tom@tromey.com>
5933
5934 * gdb.base/relocate.exp: Update invalid argument test.
5935 Add new tests for invalid arguments.
5936
5937 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5938
5939 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
5940 Return 0 as a long.
5941 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
5942
5943 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5944
5945 * gdb.cp/breakpoint.cc (bar): Set return type to void.
5946 * gdb.cp/psymtab-parameter.cc (func): Likewise.
5947 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
5948 func ().
5949 * gdb.cp/shadow.cc (B.func): Return 0.
5950
5951 2017-11-27 Joel Brobecker <brobecker@adacore.com>
5952
5953 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
5954 expected output in gdb_expect call to allow the exception
5955 message to be present as well. Fix syntax confusion to avoid
5956 TCL thinking that exception_name is an array.
5957
5958 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
5959
5960 * gdb.arch/spu-info.c: Include <unistd.h>.
5961 (do_signal_test): Fix broken calls to write.
5962 * gdb.arch/spu-info.exp: Use prepare_for_testing.
5963 Fix checks for empty mailboxes. Update signal tests for corrected
5964 do_signal_test routine. Allow nonzero event status.
5965 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
5966 * gdb.cell/arch.exp: Use standard_output_file.
5967 * gdb.cell/break.exp: Likewise.
5968 * gdb.cell/bt.exp: Likewise.
5969 * gdb.cell/core.exp: Likewise.
5970 * gdb.cell/dwarfaddr.exp: Likewise.
5971 * gdb.cell/ea-cache.exp: Likewise.
5972 * gdb.cell/ea-standalone.exp: Likewise.
5973 * gdb.cell/f-regs.exp: Likewise.
5974 * gdb.cell/fork.exp: Likewise.
5975 * gdb.cell/gcore.exp: Likewise.
5976 * gdb.cell/mem-access.exp: Likewise.
5977 * gdb.cell/ptype.exp: Likewise.
5978 * gdb.cell/registers.exp: Likewise.
5979 * gdb.cell/sizeof.exp: Likewise.
5980 * gdb.cell/solib-symbol.exp: Likewise.
5981 * gdb.cell/solib.exp: Likewise.
5982
5983 2017-11-25 Pedro Alves <palves@redhat.com>
5984
5985 * gdb.base/complete-empty.exp: New file.
5986 * gdb.base/completion.exp: Adjust.
5987
5988 2017-11-25 Pedro Alves <palves@redhat.com>
5989
5990 * gdb.linespec/cpls-ops.cc: New file.
5991 * gdb.linespec/cpls-ops.exp: New file.
5992 * lib/completion-support.exp (test_complete_prefix_range_re): New,
5993 factored out from ...
5994 (test_complete_prefix_range): ... this.
5995
5996 2017-11-24 Pedro Alves <palves@redhat.com>
5997
5998 * gdb.linespec/cpcompletion.exp: New file.
5999 * gdb.linespec/cpls-hyphen.cc: New file.
6000 * gdb.linespec/cpls.cc: New file.
6001 * gdb.linespec/cpls2.cc: New file.
6002 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
6003 test to use test_gdb_complete_unique. Add label completion,
6004 keyword completion and explicit location completion tests.
6005 * lib/completion-support.exp: New file.
6006
6007 2017-11-24 Joel Brobecker <brobecker@adacore.com>
6008
6009 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
6010 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
6011 when hitting an exception catchpoint.
6012
6013 2017-11-22 Yao Qi <yao.qi@linaro.org>
6014
6015 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
6016
6017 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
6018
6019 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
6020 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
6021 * gdb.dwarf2/info-locals-optimized-out.c: New file.
6022
6023 2017-11-22 Yao Qi <yao.qi@linaro.org>
6024
6025 * gdb.base/info-os.exp: Pass pthreads.
6026 * gdb.multi/multi-attach.exp: Likewise.
6027
6028 2017-11-22 Yao Qi <yao.qi@linaro.org>
6029
6030 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
6031 compiler.
6032
6033 2017-11-22 Yao Qi <yao.qi@linaro.org>
6034
6035 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
6036 * gdb.base/break-interp.exp: Likewise.
6037 * gdb.base/jit-attach-pie.exp: Likewise.
6038
6039 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
6040
6041 * gdb.base/float128.c (large128): New variable.
6042 * gdb.base/float128.exp: Add test to print largest __float128 value.
6043
6044 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
6045
6046 * gdb.arch/vsx-regs.exp: Update register content checks.
6047
6048 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
6049
6050 * gdb.arch/ppc-longdouble.exp: New file.
6051 * gdb.arch/ppc-longdouble.c: Likewise.
6052
6053 2017-11-21 Pedro Alves <palves@redhat.com>
6054
6055 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
6056
6057 2017-11-20 Pedro Alves <palves@redhat.com>
6058
6059 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
6060 (long_double_typedef): New typedefs.
6061 Use DEF on double and long double.
6062 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
6063 cases.
6064 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
6065 and 'long_double_ptr_same_size' locals. Use them to decide
6066 whether cast from array/function to float is valid/invalid.
6067
6068 2017-11-17 Tom Tromey <tom@tromey.com>
6069
6070 * gdb.rust/traits.rs: New file.
6071 * gdb.rust/traits.exp: New file.
6072
6073 2017-11-17 Joel Brobecker <brobecker@adacore.com>
6074
6075 * gdb.ada/minsyms: New testcase.
6076
6077 2017-11-16 Pedro Alves <palves@redhat.com>
6078
6079 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
6080 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
6081
6082 2017-11-16 Pedro Alves <palves@redhat.com>
6083
6084 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
6085 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
6086
6087 2017-11-16 Pedro Alves <palves@redhat.com>
6088
6089 * gdb.server/reconnect-ctrl-c.c: New file.
6090 * gdb.server/reconnect-ctrl-c.exp: New file.
6091
6092 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
6093
6094 * gdb.python/py-rbreak.exp: New file.
6095 * gdb.python/py-rbreak.c: New file.
6096 * gdb.python/py-rbreak-func2.c: New file.
6097
6098 2017-11-16 Pedro Alves <palves@redhat.com>
6099
6100 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
6101 pattern.
6102 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
6103 GDB.
6104
6105 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
6106
6107 * gdb.tui/completionn.exp (test_tab_completion): Add space in
6108 regex.
6109
6110 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
6111
6112 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
6113 test names.
6114
6115 2017-11-09 Pedro Alves <palves@redhat.com>
6116
6117 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
6118 factored out from ...
6119 (top level): ... here, and adjusted to avoid expecting beyond the
6120 prompt in a single gdb_test_multiple.
6121
6122 2017-11-09 Pedro Alves <palves@redhat.com>
6123
6124 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
6125 output.
6126 * gdb.server/ext-attach.exp ("kill" test): Likewise.
6127 * gdb.server/ext-restart.exp ("kill" test): Likewise.
6128 * gdb.server/ext-run.exp ("kill" test): Likewise.
6129 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
6130
6131 2017-11-09 Pedro Alves <palves@redhat.com>
6132
6133 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
6134 match till end of line.
6135
6136 2017-11-09 Pedro Alves <palves@redhat.com>
6137
6138 * gdb.base/memattr.exp: Tighten regexes to match the end line.
6139
6140 2017-11-09 Pedro Alves <palves@redhat.com>
6141
6142 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
6143 New procedures, factored out from ...
6144 (top level): ... here, and adjusted to avoid expecting beyond the
6145 prompt in one go.
6146
6147 2017-11-09 Pedro Alves <palves@redhat.com>
6148
6149 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
6150 output. Fix '?' match.
6151
6152 2017-11-08 Joel Brobecker <brobecker@adacore.com>
6153
6154 * gdb.ada/scoped_watch: New testcase.
6155 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
6156 which is actually correct.
6157 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
6158 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
6159
6160 2017-11-08 Pedro Alves <palves@redhat.com>
6161
6162 * gdb.gdb/complaints.exp (test_initial_complaints)
6163 (test_serial_complaints, test_short_complaints): Call
6164 complaint_internal instead of complaint.
6165
6166 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
6167
6168 * gdb.threads/tls-core.c: New file.
6169 * gdb.threads/tls-core.exp: Likewise.
6170
6171 2017-11-08 Pedro Alves <palves@redhat.com>
6172
6173 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
6174 (p Exported_Capitalized): New test.
6175 (p exported_capitalized): New test.
6176
6177 2017-11-07 Pedro Alves <palves@redhat.com>
6178
6179 * gdb.cp/ena-dis-br-range.exp: Add more tests.
6180
6181 2017-11-07 Pedro Alves <palves@redhat.com>
6182
6183 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
6184 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
6185 (disable_invalid, disable_inverted, disable_negative): New
6186 procedures.
6187 ("bad numbers"): New set of tests.
6188
6189 2017-11-07 Pedro Alves <palves@redhat.com>
6190
6191 * gdb.cp/ena-dis-br-range.exp: Add tests.
6192
6193 2017-11-07 Pedro Alves <palves@redhat.com>
6194
6195 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
6196
6197 2017-11-07 Xavier Roirand <roirand@adacore.com>
6198 Pedro Alves <palves@redhat.com>
6199
6200 * gdb.base/ena-dis-br.exp: Add reference to
6201 gdb.cp/ena-dis-br-range.exp.
6202 * gdb.cp/ena-dis-br-range.exp: New file.
6203 * gdb.cp/ena-dis-br-range.cc: New file.
6204
6205 2017-11-06 Pedro Alves <palves@redhat.com>
6206
6207 * gdb.base/attach-non-pgrp-leader.c: New.
6208 * gdb.base/attach-non-pgrp-leader.exp: New.
6209
6210 2017-11-06 Pedro Alves <palves@redhat.com>
6211
6212 * configure.ac: No longer check for termio.h and sgtty.h.
6213 * configure: Regenerate.
6214 * remote-utils.c: Include termios.h instead of gdb_termios.h.
6215 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
6216 Remove termio and sgtty code.
6217
6218 2017-11-03 Yao Qi <yao.qi@linaro.org>
6219
6220 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
6221 in GDB is disabled.
6222
6223 2017-11-03 Yao Qi <yao.qi@linaro.org>
6224
6225 * gdb.python/py-thrhandle.exp: Skip it if python is not
6226 enabled.
6227
6228 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
6229
6230 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
6231 as a breakpoint command.
6232
6233 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
6234
6235 PR python/21213
6236 * gdb.python/py-infthread.exp: Test calling
6237 InferiorThread.inferior () multiple times in a row.
6238
6239 2017-10-27 Keith Seitz <keiths@redhat.com>
6240
6241 * gdb.opt/inline-break.exp (break_info_1): New procedure.
6242 Test "info break" for every inlined function breakpoint.
6243
6244 2017-10-27 Yao Qi <yao.qi@linaro.org>
6245
6246 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
6247
6248 2017-10-26 Patrick Frants <osscontribute@gmail.com>
6249
6250 * gdb.cp/classes.exp (test_static_members): Test printing
6251 Outer::instance.
6252 * gdb.cp/classes.c (struct Inner, struct Outer): New.
6253 (Inner::instance, Outer::instance): New.
6254
6255 2017-10-24 Pedro Alves <palves@redhat.com>
6256
6257 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
6258 extra console" test in two stages.
6259
6260 2017-10-24 Pedro Alves <palves@redhat.com>
6261
6262 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
6263
6264 2017-10-24 Pedro Alves <palves@redhat.com>
6265
6266 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
6267 loop.
6268
6269 2017-10-24 Pedro Alves <palves@redhat.com>
6270
6271 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
6272 $attempt" and "stoppedtry $stoppedtry" test prefixes.
6273
6274 2017-10-24 Pedro Alves <palves@redhat.com>
6275
6276 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
6277 parameter and handle it. Don't output read value in test name.
6278
6279 2017-10-24 Pedro Alves <palves@redhat.com>
6280
6281 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
6282 custom test name.
6283
6284 2017-10-24 Pedro Alves <palves@redhat.com>
6285
6286 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
6287 include the unstable output directory name in the test's name.
6288 (initial_setup_simple) <'set args'>: Use custom test name.
6289
6290 2017-10-24 Pedro Alves <palves@redhat.com>
6291
6292 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
6293 with explicit test name.
6294
6295 2017-10-20 Pedro Alves <palves@redhat.com>
6296
6297 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
6298 'wait -i'. Use gdb_assert and remote_close.
6299
6300 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
6301
6302 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
6303 number from variable rather than hard-coded.
6304
6305 2017-10-19 Pedro Alves <palves@redhat.com>
6306
6307 * gdb.base/long-inferior-output.c: New file.
6308 * gdb.base/long-inferior-output.exp: New file.
6309
6310 2017-11-18 Keith Seitz <keiths@redhat.com>
6311
6312 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
6313 method.
6314 (main): Call it.
6315 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
6316 Add additional user-defined conversion operator tests.
6317
6318 2017-10-17 Pedro Alves <palves@redhat.com>
6319
6320 * boards/native-stdio-gdbserver.exp: Load "local-board".
6321
6322 2017-10-17 Pedro Alves <palves@redhat.com>
6323
6324 * gdb.base/quit-live.c: New file.
6325 * gdb.base/quit-live.exp: New file.
6326
6327 2017-10-16 Keith Seitz <keiths@redhat.com>
6328
6329 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
6330 (class_with_protected_typedef, class_with_private_typedef)
6331 (struct_with_public_typedef, struct_with_protected_typedef)
6332 (struct_with_private_typedef): New classes/structs.
6333 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
6334 typedefs and access specifiers.
6335
6336 2017-10-16 Pedro Alves <palves@redhat.com>
6337 Simon Marchi <simon.marchi@polymtl.ca>
6338
6339 * README (Local vs Remote vs Native): New section.
6340 * boards/local-board.exp: New file, with bits factored out from
6341 ...
6342 * boards/native-extended-gdbserver.exp: ... here. Load
6343 "local-board".
6344 * boards/native-gdbserver.exp: Load "local-board".
6345 (${board}_spawn, ${board}_exec): Delete.
6346 * boards/native-stdio-gdbserver.exp: Most contents factored out to
6347 ...
6348 * boards/stdio-gdbserver-base.exp: ... this new file.
6349 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
6350 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
6351 procedure.
6352 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
6353 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
6354 stdio_gdbserver_command.
6355 (${board}_get_remote_address, ${board}_get_comm_port)
6356 (${board}_download, ${board}_upload): Delete.
6357 (get_target_remote_pipe_cmd): New.
6358
6359 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
6360
6361 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
6362 test_bkpt_deletion, test_bkpt_cond_and_cmds,
6363 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
6364 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
6365 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
6366 remove with_test_prefix.
6367
6368 2017-10-13 Pedro Alves <palves@redhat.com>
6369
6370 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
6371 * gdb.base/annota1.exp: Use it instead of is_remote.
6372 * gdb.base/annota3.exp: Use it instead of is_remote.
6373 * gdb.cp/annota2.exp: Use it instead of is_remote.
6374 * gdb.cp/annota3.exp: Use it instead of is_remote.
6375 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
6376
6377 2017-10-13 Pedro Alves <palves@redhat.com>
6378
6379 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
6380 (test_num_test_vars, run_and_count_vars, find_env)
6381 (test_set_unset_env, test_inherit_env_var): New procedures.
6382 (top level): Use them.
6383
6384 2017-10-13 Pedro Alves <palves@redhat.com>
6385
6386 * lib/selftest-support.exp (selftest_setup): Extend comments, and
6387 also skip on stub-like targets.
6388
6389 2017-10-13 Pedro Alves <palves@redhat.com>
6390
6391 PR gdb/22293
6392 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
6393 (top level): Move some tests to ...
6394 (test_not_found): ... this new procedure.
6395 (top level): Call it.
6396
6397 2017-10-13 Pedro Alves <palves@redhat.com>
6398
6399 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
6400 expect different "info terminal" output if testing with a
6401 non-native target.
6402
6403 2017-10-13 Pedro Alves <palves@redhat.com>
6404 Simon Marchi <simon.marchi@polymtl.ca>
6405
6406 PR python/12966
6407 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
6408
6409 2017-10-13 Pedro Alves <palves@redhat.com>
6410
6411 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
6412 already.
6413
6414 2017-10-13 Pedro Alves <palves@redhat.com>
6415
6416 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
6417 is_remote.
6418
6419 2017-10-13 Pedro Alves <palves@redhat.com>
6420
6421 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
6422 is_remote.
6423
6424 2017-10-13 Pedro Alves <palves@redhat.com>
6425
6426 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
6427 is set.
6428 (corefile_test_attach): Likewise. Check can_spawn_for_attach
6429 instead of is_remote.
6430
6431 2017-10-13 Pedro Alves <palves@redhat.com>
6432
6433 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
6434 (top level): Add comment.
6435
6436 2017-10-13 Pedro Alves <palves@redhat.com>
6437
6438 * gdb.base/remote.exp (top level): Fix comment typo and add
6439 missing return.
6440
6441 2017-10-13 Pedro Alves <palves@redhat.com>
6442 Simon Marchi <simon.marchi@polymtl.ca>
6443
6444 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
6445 calls and add comments. Skip test if use_gdb_stub is set.
6446 (top level): Use "set cwd" command instead of "cd" command.
6447
6448 2017-10-13 Pedro Alves <palves@redhat.com>
6449
6450 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
6451 is_remote target check.
6452
6453 2017-10-13 Pedro Alves <palves@redhat.com>
6454
6455 * gdb.base/scope.exp: Use build_executable + clean_restart +
6456 gdb_file_cmd instead of prepare_for_testing and no longer skip
6457 "before run" tests on is_remote target boards. Update comments.
6458 * boards/native-extended-gdbserver.exp
6459 (extended_gdbserver_load_last_file): New, factored out from ...
6460 (gdb_load): ... this. Move further below and add comment.
6461 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
6462
6463 2017-10-12 Pedro Alves <palves@redhat.com>
6464
6465 * gdb.base/attach.exp: Remove references to gdb64.
6466 * gdb.base/dbx.exp: Remove references to gdb64.
6467
6468 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
6469 Pedro Alves <palves@redhat.com>
6470
6471 * gdb.base/label.exp: Remove is_remote target check.
6472
6473 2017-10-12 Pedro Alves <palves@redhat.com>
6474
6475 * gdb.base/auvx.exp (coredir): Update comment.
6476 (top level) <core_works>: Use "set cwd" command instead of "cd"
6477 command.
6478
6479 2017-10-12 Pedro Alves <palves@redhat.com>
6480 Simon Marchi <simon.marchi@polymtl.ca>
6481
6482 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
6483 target boards.
6484
6485 2017-10-12 Pedro Alves <palves@redhat.com>
6486 Simon Marchi <simon.marchi@polymtl.ca>
6487
6488 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
6489 Instead skip if there's any gdb_protocol set.
6490
6491 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
6492 Pedro Alves <palves@redhat.com>
6493
6494 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
6495
6496 2017-10-12 Pedro Alves <palves@redhat.com>
6497 Simon Marchi <simon.marchi@polymtl.ca>
6498
6499 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
6500 instead of on dejagnu remote boards.
6501
6502 2017-10-12 Pedro Alves <palves@redhat.com>
6503 Simon Marchi <simon.marchi@polymtl.ca>
6504
6505 * gdb.base/inferior-died.exp: Remove is_remote and isnative
6506 checks. Use build_executable + clean_restart instead of
6507 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
6508 of enabling non-stop after starting gdb.
6509
6510 2017-10-12 Pedro Alves <palves@redhat.com>
6511
6512 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
6513 * gdb.threads/non-ldr-exc-2.exp: Ditto.
6514 * gdb.threads/non-ldr-exc-3.exp: Ditto.
6515 * gdb.threads/non-ldr-exc-4.exp: Ditto.
6516
6517 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
6518
6519 * gdb.arch/arc-tdesc-cpu.exp: New file.
6520 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
6521
6522 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
6523
6524 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
6525
6526 2017-10-10 Pedro Alves <palves@redhat.com>
6527
6528 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
6529 expect CLI output.
6530
6531 2017-10-10 Pedro Alves <palves@redhat.com>
6532
6533 * lib/selftest-support.exp (selftest_setup): Update for
6534 captured_command_loop's prototype change.
6535
6536 2017-10-09 Pedro Alves <palves@redhat.com>
6537
6538 Test both arch1=>arch2 and arch2=>arch1.
6539
6540 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
6541 (srcfile2, binfile2, march1, march2): Remove globals. Largely
6542 factored out to...
6543 (append_arch1_options, append_arch2_options, append_arch_options)
6544 (build_executables): New procedures.
6545 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
6546 local.
6547 (top level): Add new 'first_arch' testing axis.
6548
6549 2017-10-09 Pedro Alves <palves@redhat.com>
6550
6551 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
6552 (barrier): New.
6553 (thread_start, all_started): New functions.
6554 (main): Spawn new thread and wait until it is scheduled.
6555 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
6556 option.
6557 (do_test): Add 'selected_thread' parameter. Run to all_started
6558 instead of main. Explicitly set the breakpoint at main. Switch
6559 to the SELECTED_THREAD thread.
6560 (top level): Test handling the exec event with either the main
6561 thread or the second thread selected.
6562
6563 2017-10-09 Pedro Alves <palves@redhat.com>
6564
6565 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
6566 logic. Move STOP marker after the value checks.
6567 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
6568 regexp.
6569
6570 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
6571
6572 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
6573
6574 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
6575
6576 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
6577 integer-to-dfp conversion.
6578 * gdb.base/dfp-test.exp: Likewise.
6579
6580 2017-10-04 Pedro Alves <palves@redhat.com>
6581
6582 * gdb.multi/hangout.c: Include <unistd.h>.
6583 (hangout_loop): New function.
6584 (main): Call alarm. Call hangout_loop in a loop.
6585 * gdb.multi/hello.c: Include <unistd.h>.
6586 (hello_loop): New function.
6587 (main): Call alarm. Call hangout_loop in a loop.
6588 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
6589 inferior with the other selected.
6590
6591 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
6592
6593 * gdb.mi/list-thread-groups-available.exp: New file.
6594 * gdb.mi/list-thread-groups-available.c: New file.
6595
6596 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
6597
6598 * gdb.base/set-cwd.exp: Make it available on
6599 native-extended-gdbserver.
6600
6601 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
6602
6603 * gdb.base/set-cwd.c: New file.
6604 * gdb.base/set-cwd.exp: Likewise.
6605
6606 2017-10-02 Tom Tromey <tom@tromey.com>
6607
6608 PR rust/22236:
6609 * gdb.rust/simple.rs (main): New variable "fslice".
6610 * gdb.rust/simple.exp: Add slice tests. Update string tests.
6611
6612 2017-10-02 Tom Tromey <tom@tromey.com>
6613
6614 * gdb.rust/simple.exp: Test ptype of a slice.
6615
6616 2017-10-02 Tom Tromey <tom@tromey.com>
6617
6618 * gdb.rust/simple.exp: Test index of slice.
6619
6620 2017-09-27 Tom Tromey <tom@tromey.com>
6621
6622 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
6623
6624 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
6625 Pedro Alves <palves@redhat.com>
6626
6627 * gdb.base/compare-sections.exp (get value of read-only section): Read
6628 as unsigned value.
6629 (corrupt read-only section): Likewise and don't set written if patching
6630 failed.
6631
6632 2017-09-21 Kevin Buettner <kevinb@redhat.com>
6633
6634 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
6635 files.
6636
6637 2017-09-20 Pedro Alves <palves@redhat.com>
6638
6639 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
6640 symbol names in gdb's output.
6641 * gdb.cp/overload.exp ("list all overloads"): Likewise.
6642
6643 2017-09-20 Pedro Alves <palves@redhat.com>
6644
6645 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
6646 Rename to ...
6647 (test_list_ambiguous_symbol): ... this and add a symbol name
6648 parameter. Adjust.
6649 (test_list_ambiguous_function): Reimplement on top of
6650 test_list_ambiguous_symbol and also test listing ambiguous
6651 variables.
6652 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
6653 (ambiguous_fun): ... this.
6654 (ambiguous_var): New.
6655 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
6656 (ambiguous_fun): ... this.
6657 (ambiguous_var): New.
6658
6659 2017-09-19 John Baldwin <jhb@FreeBSD.org>
6660
6661 * gdb.base/starti.c: New file.
6662 * gdb.base/starti.exp: New file.
6663 * lib/gdb.exp (gdb_starti_cmd): New procedure.
6664
6665 2017-09-14 Pedro Alves <palves@redhat.com>
6666
6667 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
6668 (top level): Use it instead of runto.
6669
6670 2017-09-11 Tom Tromey <tom@tromey.com>
6671
6672 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
6673
6674 2017-09-11 Tom Tromey <tom@tromey.com>
6675
6676 * gdb.python/py-infthread.exp: Add tests for new_thread event.
6677 * gdb.python/py-inferior.exp: Add tests for new inferior events.
6678
6679 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
6680
6681 * gdb.fortran/printing-types.exp: New file.
6682 * gdb.fortran/printing-types.exp: New file.
6683
6684 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
6685
6686 * gdb.fortran/vla-ptype.exp: Fix typos.
6687 * gdb.fortran/vla-value.exp: Same.
6688
6689 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
6690
6691 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
6692 * gdb.mi/mi-var-child-f.exp: Likewise.
6693 * gdb.mi/mi-vla-fortran.exp: Likewise.
6694
6695 2017-09-08 Frank Penczek <frank.penczek@intel.com>
6696 Christoph Weinmann <christoph.t.weinmann@intel.com>
6697 Bernhard Heckel <bernhard.heckel@intel.com>
6698
6699 * gdb.fortran/ptr-indentation.f90: New file.
6700 * gdb.fortran/ptr-indentation.exp: New file.
6701
6702 2017-09-05 Tom Tromey <tom@tromey.com>
6703
6704 PR gdb/22010:
6705 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
6706
6707 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
6708
6709 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
6710
6711 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6712
6713 * gdb.threads/tls-nodebug-pie.c: New file.
6714 * gdb.threads/tls-nodebug-pie.exp: New file.
6715
6716 2017-09-05 Tom Tromey <tom@tromey.com>
6717
6718 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
6719 for rust.
6720
6721 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
6722
6723 * gdb.multi/multi-arch-exec.exp: Test with different
6724 "follow-exec-mode" settings.
6725 (do_test): New procedure.
6726
6727 2017-09-04 Pedro Alves <palves@redhat.com>
6728
6729 * gdb.base/func-static.c (S::method const, S::method volatile)
6730 (S::method volatile const): New methods.
6731 (c_s, v_s, cv_s): New instances.
6732 (main): Call method() on them.
6733 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
6734 (cannot_resolve): New procedure.
6735 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
6736 print-quote-unquoted columns.
6737 (do_test): Test printing each scope too.
6738
6739 2017-09-04 Pedro Alves <palves@redhat.com>
6740
6741 * gdb.base/local-static.exp: Also test with
6742 class::method::variable wholly quoted.
6743 * gdb.cp/m-static.exp (class::method::variable): Remove test.
6744
6745 2017-09-04 Pedro Alves <palves@redhat.com>
6746
6747 * gdb.base/local-static.c: New.
6748 * gdb.base/local-static.cc: New.
6749 * gdb.base/local-static.exp: New.
6750
6751 2017-09-04 Pedro Alves <palves@redhat.com>
6752
6753 * gdb.asm/asm-source.exp: Add casts to int.
6754 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
6755 (dataglobal64_1, dataglobal64_2): New globals.
6756 * gdb.base/nodebug.exp: Test different expressions involving the
6757 new globals, with print, whatis and ptype. Add casts to int.
6758 * gdb.base/solib-display.exp: Add casts to int.
6759 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
6760 * gdb.cp/m-static.exp: Add cast to int.
6761 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
6762 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
6763 tls variable with no debug info without a cast. Test with a cast
6764 to int too.
6765 * gdb.trace/entry-values.exp: Add casts.
6766
6767 2017-09-04 Pedro Alves <palves@redhat.com>
6768
6769 * gdb.base/nodebug.exp: Test that ptype's error about functions
6770 with unknown return type includes the function name too.
6771
6772 2017-09-04 Pedro Alves <palves@redhat.com>
6773
6774 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
6775 return type of munmap in infcall.
6776 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
6777 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
6778 type of ftell in infcall.
6779 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
6780 type of getpid in infcall.
6781 * gdb.base/infcall-exec.exp: Cast return type of execlp in
6782 infcall.
6783 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
6784 Bail on failure to extract the pid.
6785 * gdb.base/nodebug.c: #include <stdint.h>.
6786 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
6787 New functions.
6788 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
6789 Change expected output of print/whatis/ptype with functions with
6790 no debug info. Test all supported languages. Call
6791 test_call_promotion.
6792 * gdb.compile/compile.exp: Adjust expected output to expect
6793 warning.
6794 * gdb.threads/siginfo-threads.exp: Likewise.
6795
6796 2017-09-04 Pedro Alves <palves@redhat.com>
6797
6798 * gdb.base/callfuncs.exp (do_function_calls): New parameter
6799 "prototypes". Test calling float functions via prototyped and
6800 unprototyped function pointers.
6801 (perform_all_tests): New parameter "prototypes". Pass it down.
6802 (top level): Pass down "prototypes" parameter to
6803 perform_all_tests.
6804
6805 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6806
6807 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
6808 Test with nested loops.
6809
6810 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6811
6812 * gdb.base/commands.exp: Call the new procedures.
6813 (loop_break_test, loop_continue_test): New procedures.
6814
6815 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6816
6817 * gdb.base/commands.exp: Call new procedure.
6818 (define_if_without_arg_test): New procedure.
6819
6820 2017-09-04 Pedro Alves <palves@redhat.com>
6821
6822 * gdb.base/list-ambiguous.exp: New file.
6823 * gdb.base/list-ambiguous0.c: New file.
6824 * gdb.base/list-ambiguous1.c: New file.
6825 * gdb.base/list.exp (test_list_range): Adjust expected output.
6826
6827 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
6828
6829 * gdb.base/share-env-with-gdbserver.c: New file.
6830 * gdb.base/share-env-with-gdbserver.exp: Likewise.
6831
6832 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
6833
6834 * gdb.base/commands.exp (gdbvar_simple_if_test,
6835 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
6836 progvar_simple_if_test, progvar_simple_while_test,
6837 progvar_complex_if_while_test, user_defined_command_test,
6838 user_defined_command_args_eval,
6839 user_defined_command_args_stack_test,
6840 user_defined_command_manyargs_test, bp_deleted_in_command_test,
6841 temporary_breakpoint_commands,
6842 gdb_test_no_prompt, redefine_hook_test,
6843 redefine_backtrace_test): Remove "global gdb_prompt".
6844
6845 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
6846
6847 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
6848 New proc, call it from toplevel.
6849
6850 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
6851
6852 PR remote/21852
6853 * gdb.server/normal.c: New file, copied from gdb.base.
6854 * gdb.server/run-without-local-binary.exp: New file.
6855
6856 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
6857
6858 * gdb.arch/sparc64-adi.exp: New file.
6859 * gdb.arch/sparc64-adi.c: New file.
6860
6861 2017-08-22 Pedro Alves <palves@redhat.com>
6862
6863 * gdb.cp/overload.exp (line_range_pattern): New procedure.
6864 (top level): Add "list all overloads" tests.
6865
6866 2017-08-22 Tom Tromey <tom@tromey.com>
6867
6868 * gdb.gdb/xfullpath.exp: Remove.
6869
6870 2017-08-21 Pedro Alves <palves@redhat.com>
6871
6872 PR gdb/19487
6873 * gdb.base/symbol-alias.c: New.
6874 * gdb.base/symbol-alias2.c: New.
6875 * gdb.base/symbol-alias.exp: New.
6876
6877 2017-08-21 Pedro Alves <palves@redhat.com>
6878
6879 * gdb.base/dfp-test.c
6880 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
6881 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
6882 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
6883 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
6884 * gdb.base/whatis-ptype-typedefs.c: New.
6885 * gdb.base/whatis-ptype-typedefs.exp: New.
6886 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
6887 (an_int, an_int_type, an_int_type2): New globals.
6888 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
6889 involving typedefs and cast expressions.
6890 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
6891 (lookup_typedefs_function): New.
6892 (typedefs_pretty_printers_dict): New.
6893 (top level): Register lookup_typedefs_function in
6894 gdb.pretty_printers.
6895
6896 2017-08-18 Yao Qi <yao.qi@linaro.org>
6897
6898 * gdb.server/unittest.exp: New.
6899
6900 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
6901
6902 PR gdb/21954
6903 * gdb.base/environ.exp: Add test to check if 'unset environment'
6904 works.
6905
6906 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6907
6908 * lib/gdb.exp (universal_compile_options): New caching proc.
6909 (gdb_compile): Suppress GCC's coloring of messages.
6910
6911 2017-08-14 Tom Tromey <tom@tromey.com>
6912
6913 PR gdb/21675:
6914 * gdb.base/printcmds.exp (test_radices): New function.
6915 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
6916 * gdb.base/sizeof.exp (check_valueof): Use p/d.
6917 * lib/gdb.exp (get_integer_valueof): Use p/d.
6918
6919 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
6920
6921 * lib/gdb.exp (get_valueof): Don't capture end-of-line
6922 characters.
6923
6924 2017-08-05 Tom Tromey <tom@tromey.com>
6925
6926 * gdb.rust/simple.exp: Allow String to appear in a different
6927 namespace.
6928
6929 2017-07-26 Yao Qi <yao.qi@linaro.org>
6930
6931 * gdb.gdb/unittest.exp: Invoke command
6932 "maintenance check xml-descriptions".
6933
6934 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
6935
6936 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
6937 calling context.
6938 (hex128): Drop erroneous calculation of parameters.
6939
6940 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
6941
6942 * gdb.python/py-unwind.exp: Disable stack protection when
6943 building test file.
6944
6945 2017-07-20 Pedro Alves <palves@redhat.com>
6946
6947 * gdb.base/default.exp (set language): Adjust expected output.
6948
6949 2017-07-20 Pedro Alves <palves@redhat.com>
6950
6951 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
6952 (test_minsym): ... this, and make static.
6953 (get_pck__foo__bar__minsym): Rename to ...
6954 (get_test_minsym): ... this.
6955 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
6956 symbol names and comments.
6957 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
6958 (get_test_minsym): ... this.
6959 (pck__foo__bar__minsym__2): Rename to ...
6960 (test_minsym): ... this.
6961 (main): Adjust.
6962
6963 2017-07-17 Pedro Alves <palves@redhat.com>
6964
6965 * gdb.base/completion.exp: Adjust expected output.
6966 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
6967 the completer works.
6968
6969 2017-07-17 Pedro Alves <palves@redhat.com>
6970
6971 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
6972
6973 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
6974
6975 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
6976
6977 2017-07-14 Tom Tromey <tom@tromey.com>
6978
6979 PR rust/21764:
6980 * gdb.rust/simple.exp: Add tests.
6981
6982 2017-07-14 Tom Tromey <tom@tromey.com>
6983
6984 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
6985
6986 2017-07-14 Pedro Alves <palves@redhat.com>
6987
6988 * gdb.linespec/base/one/thefile.cc (z1): New function.
6989 * gdb.linespec/base/two/thefile.cc (z2): New function.
6990 * gdb.linespec/linespec.exp: Add tests.
6991
6992 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
6993
6994 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
6995 to mi_create_breakpoint.
6996
6997 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
6998
6999 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
7000 mi_create_breakpoint.
7001
7002 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
7003
7004 * gdb.dlang/demangle.exp: Update for demangling changes.
7005
7006 2017-07-09 Tom Tromey <tom@tromey.com>
7007
7008 * gdb.dwarf2/shortpiece.exp: New file.
7009
7010 2017-07-06 David Blaikie <dblaikie@gmail.com>
7011
7012 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
7013 built from fissiont-multi-cu{1,2}.c.
7014 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
7015 except putting 'main' and 'func' in separate CUs in the same DWO file.
7016 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
7017 test.
7018 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
7019 test.
7020
7021 2017-07-06 Pedro Alves <palves@redhat.com>
7022
7023 * gdb.python/py-unwind.exp: Test flushregs.
7024
7025 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
7026
7027 PR cli/21688
7028 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
7029 tests for alias commands and trailing whitespace.
7030
7031 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
7032
7033 PR cli/21688
7034 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
7035 procedure. Call it.
7036
7037 2017-06-29 Pedro Alves <palves@redhat.com>
7038
7039 * gdb.base/printcmds.exp: Add tests.
7040
7041 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
7042
7043 PR gdb/21337
7044 * gdb.base/reread-readsym.exp: New file.
7045 * gdb.base/reread-readsym.c: New file.
7046
7047 2017-06-21 Kevin Buettner <kevinb@redhat.com>
7048
7049 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
7050 subpattern.
7051
7052 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
7053
7054 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
7055 extended mnemonic.
7056 * gdb.arch/powerpc-power9.s: Likewise.
7057
7058 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7059
7060 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
7061 on 32-bit x86 targets. Exploit is_*_target macros where
7062 appropriate.
7063
7064 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7065
7066 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
7067 register pieces.
7068
7069 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7070
7071 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
7072 located in one or more DWARF pieces.
7073
7074 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7075
7076 * lib/gdb.exp (get_endianness): New proc.
7077 * gdb.arch/aarch64-fp.exp: Use it.
7078 * gdb.arch/altivec-regs.exp: Likewise.
7079 * gdb.arch/e500-regs.exp: Likewise.
7080 * gdb.arch/vsx-regs.exp: Likewise.
7081 * gdb.base/dump.exp: Likewise.
7082 * gdb.base/funcargs.exp: Likewise.
7083 * gdb.base/gnu_vector.exp: Likewise.
7084 * gdb.dwarf2/formdata16.exp: Likewise.
7085 * gdb.dwarf2/implptrpiece.exp: Likewise.
7086 * gdb.dwarf2/nonvar-access.exp: Likewise.
7087 * gdb.python/py-inferior.exp: Likewise.
7088 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
7089
7090 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7091
7092 PR gdb/21226
7093 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
7094 stack value pieces are taken from the LSB end.
7095
7096 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7097
7098 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
7099 variable at nonzero offset.
7100
7101 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7102
7103 * gdb.dwarf2/var-access.c: New file.
7104 * gdb.dwarf2/var-access.exp: New test.
7105 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
7106
7107 2017-06-12 Tom Tromey <tom@tromey.com>
7108
7109 * gdb.dwarf2/formdata16.exp: Add tests.
7110
7111 2017-06-12 Tom Tromey <tom@tromey.com>
7112
7113 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
7114
7115 2017-06-12 Tom Tromey <tom@tromey.com>
7116
7117 PR exp/16225:
7118 * gdb.reverse/i386-sse-reverse.exp: Update tests.
7119 * gdb.arch/vsx-regs.exp: Update tests.
7120 * gdb.arch/s390-vregs.exp (hex128): New proc.
7121 Update test.
7122 * gdb.arch/altivec-regs.exp: Update tests.
7123
7124 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
7125
7126 * gdb.base/startup-with-shell.c: New file.
7127 * gdb.base/startup-with-shell.exp: Likewise.
7128
7129 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
7130
7131 * gdb.server/non-existing-program.exp: Update regex in order to
7132 reflect the fact that gdbserver is now using fork_inferior (with a
7133 shell) to startup the inferior.
7134
7135 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
7136
7137 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
7138 support function calls from GDB.
7139
7140 2017-05-21 Tom Tromey <tom@tromey.com>
7141
7142 PR rust/21466:
7143 * gdb.rust/unsized.exp: New file.
7144 * gdb.rust/unsized.rs: New file.
7145
7146 2017-05-19 Tom Tromey <tom@tromey.com>
7147
7148 PR rust/21484:
7149 * gdb.rust/watch.exp: New file.
7150 * gdb.rust/watch.rs: New file.
7151
7152 2017-05-18 Tom Tromey <tom@tromey.com>
7153
7154 * gdb.rust/simple.exp: Allow Box to be qualified.
7155
7156 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
7157
7158 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
7159
7160 2017-05-18 Pedro Alves <palves@redhat.com>
7161
7162 * gdb.base/fileio.c (test_write, test_read, test_close)
7163 (test_fstat): Don't print 'ret' in the fail path.
7164
7165 2017-05-18 Pedro Alves <palves@redhat.com>
7166
7167 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
7168 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
7169 (test_system, test_rename, test_unlink, test_time): Change
7170 prototypes.
7171 * gdb.base/fileio.exp (stop_msg): Adjust.
7172
7173 2017-05-18 Pedro Alves <palves@redhat.com>
7174
7175 * gdb.base/fileio.c (null_str): New global.
7176 (test_stat): Use it.
7177 * gdb.base/fileio.exp: Remove nowarnings.
7178
7179 2017-05-17 Yao Qi <yao.qi@linaro.org>
7180
7181 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
7182
7183 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
7184
7185 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
7186 argument command.
7187 (top-level): Invoke test_set_inferior_tty.
7188
7189 2017-05-04 Pedro Alves <palves@redhat.com>
7190
7191 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
7192 Add parens to print call for Python 3.
7193
7194 2017-05-03 Keith Seitz <keiths@redhat.com>
7195
7196 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
7197 (main): Call it.
7198
7199 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7200
7201 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
7202 to prev and next.
7203
7204 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7205
7206 * gdb.python/py-record-btrace.exp: Remove test for
7207 gdb.BtraceInstruction.error.
7208
7209 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7210
7211 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
7212
7213 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7214
7215 * gdb.python/py-record-btrace-threads.c: New file.
7216 * gdb.python/py-record-btrace-threads.exp: New file.
7217
7218 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
7219
7220 PR testsuite/8595
7221 * gdb.base/environ.exp: Make test available in all architectures.
7222 Move bits related to "info program" testing to
7223 gdb.base/info-program.exp. Rewrite tests to use the two new
7224 procedures mentione below.
7225 (test_set_show_env_var) New procedure.
7226 (test_set_show_env_var_equal): Likewise.
7227 * gdb.base/info-program.exp: New file.
7228
7229 2017-04-27 Keith Seitz <keiths@redhat.com>
7230
7231 * gdb.cp/oranking.cc (test15): New function.
7232 (main): Call test15 and declare additional variables for testing.
7233 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
7234 "p foo101('abc')" tests.
7235 Add tests for cv qualifier overloads.
7236 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
7237 "lvalue reference overload" test.
7238 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
7239 "print value of f1 on Child&& in f2" test.
7240
7241 2017-04-19 Pedro Alves <palves@redhat.com>
7242
7243 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
7244 procedure.
7245 (top level): Call it.
7246 * lib/gdb.exp (gdb_define_cmd): New procedure.
7247
7248 2017-04-12 Pedro Alves <palves@redhat.com>
7249
7250 PR gdb/21323
7251 * gdb.cp/wide_char_types.c: Include <wchar.h>.
7252 (wchar): New global.
7253 * gdb.cp/wide_char_types.exp (wide_char_types_program)
7254 (do_test_wide_char, wide_char_types_no_program, top level): Add
7255 wchar_t testing.
7256
7257 2017-04-12 Pedro Alves <palves@redhat.com>
7258
7259 PR c++/21323
7260 * gdb.cp/wide_char_types.c: New file.
7261 * gdb.cp/wide_char_types.exp: New file.
7262
7263 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
7264
7265 PR gdb/21352
7266 * gdb.trace/tsv.exp: Add test for "tsave -r".
7267
7268 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
7269
7270 * gdb.dlang/watch-loc.c: New file.
7271 * gdb.dlang/watch-loc.exp: New file.
7272
7273 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7274
7275 * gdb.python/py-section-script.exp (sepdebug): New testcases.
7276
7277 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
7278
7279 * gdb.arch/arc-analyze-prologue.S: New file.
7280 * gdb.arch/arc-analyze-prologue.exp: Likewise.
7281
7282 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
7283
7284 * gdb.arch/arc-decode-insn.S: New file.
7285 * gdb.arch/arc-decode-insn.exp: Likewise.
7286
7287 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
7288
7289 PR tdep/20928
7290 * gdb.arch/sparc64-regs.exp: New file.
7291 * gdb.arch/sparc64-regs.S: Likewise.
7292
7293 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
7294
7295 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
7296 and memory view on Python 3.
7297
7298 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
7299 Keith Seitz <keiths@redhat.com>
7300
7301 PR gdb/14441
7302 * gdb.cp/demangle.exp: Add rvalue reference tests.
7303 * gdb.cp/rvalue-ref-casts.cc: New file.
7304 * gdb.cp/rvalue-ref-casts.exp: New file.
7305 * gdb.cp/rvalue-ref-overload.cc: New file.
7306 * gdb.cp/rvalue-ref-overload.exp: New file.
7307 * gdb.cp/rvalue-ref-params.cc: New file.
7308 * gdb.cp/rvalue-ref-params.exp: New file.
7309 * gdb.cp/rvalue-ref-sizeof.cc: New file.
7310 * gdb.cp/rvalue-ref-sizeof.exp: New file.
7311 * gdb.cp/rvalue-ref-types.cc: New file.
7312 * gdb.cp/rvalue-ref-types.exp: New file.
7313 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
7314 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
7315
7316 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
7317
7318 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
7319 New procedure.
7320
7321 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
7322
7323 * lib/mi-support.exp (mi_gdb_test): Add additional message
7324 for unexpected output.
7325
7326 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
7327
7328 * gdb.base/examine-backward.c (Barrier): New character array
7329 constant, to ensure that TestStrings is preceded by a string
7330 terminator.
7331
7332 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7333
7334 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
7335 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
7336 and implicit pointer into such a location.
7337
7338 2017-03-16 Doug Evans <dje@google.com>
7339
7340 * gdb.python/py-lazy-string (pointer): Really add new typedef.
7341
7342 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
7343
7344 * gdb.cp/m-static.exp: Fix expectation for prototype of
7345 test5.single_constructor and single_constructor::single_constructor.
7346
7347 2017-03-16 Doug Evans <dje@google.com>
7348
7349 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
7350 * gdb.guile/scm-lazy-string.c: New file.
7351 * gdb.guile/scm-value.exp: Move lazy string tests to ...
7352 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
7353 for pointer, array, typedef lazy strings.
7354
7355 2017-03-16 Doug Evans <dje@google.com>
7356
7357 PR python/17728, python/18439, python/18779
7358 * gdb.python/py-value.c (main) Delete locals sptr, sn.
7359 * gdb.python/py-lazy-string.c (pointer): New typedef.
7360 (main): New locals ptr, array, typedef_ptr.
7361 * gdb.python/py-value.exp: Move lazy string tests to ...
7362 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
7363 array, typedef lazy strings.
7364
7365 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
7366
7367 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
7368 Add optional 'test' parameter.
7369
7370 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
7371
7372 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
7373 Skip for versions of DejaGnu < 1.5.
7374
7375 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
7376
7377 * lib/gdb.exp (dejagnu_version): New proc.
7378 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
7379 Use dejagnu_version.
7380
7381 2017-03-10 Keith Seitz <keiths@redhat.com>
7382
7383 PR c++/8128
7384 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
7385 type from destructor regexps.
7386 Add a branch which actually passes the test.
7387 Adjust "ptype t5i" test names.
7388
7389 2017-03-08 Pedro Alves <palves@redhat.com>
7390
7391 * gdb.base/step-over-exit.exp: Add explicit test message.
7392
7393 2017-03-08 Pedro Alves <palves@redhat.com>
7394
7395 PR gdb/18360
7396 * gdb.threads/interrupt-while-step-over.c: New file.
7397 * gdb.threads/interrupt-while-step-over.exp: New file.
7398
7399 2017-03-08 Pedro Alves <palves@redhat.com>
7400
7401 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
7402 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
7403
7404 2017-03-08 Pedro Alves <palves@redhat.com>
7405
7406 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
7407 PKRU as not supported as a PASS.
7408
7409 2017-03-08 Pedro Alves <palves@redhat.com>
7410
7411 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
7412 prefix instead of $binfile1/$binfile2.
7413 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
7414 in test message.
7415 * gdb.python/py-completion.exp: Use "load python file" as test
7416 messages instead of unstable path names.
7417
7418 2017-03-08 Pedro Alves <palves@redhat.com>
7419 Jan Kratochvil <jan.kratochvil@redhat.com>
7420
7421 PR cli/21218
7422 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
7423 New proc.
7424 (top level): Call it.
7425
7426 2017-03-08 Pedro Alves <palves@redhat.com>
7427
7428 PR tui/21216
7429 * gdb.tui/tui-nl-filtered-output.exp: New file.
7430
7431 2017-03-08 Pedro Alves <palves@redhat.com>
7432
7433 * gdb.base/completion.exp: Move TUI completion tests to ...
7434 * gdb.tui/completion.exp: ... this new file.
7435
7436 2017-03-08 Pedro Alves <palves@redhat.com>
7437
7438 * gdb.base/tui-disasm-long-lines.c,
7439 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
7440 gdb.base/tui-layout.exp: Move to ...
7441 * gdb.tui/: ... this new directory.
7442
7443 2017-03-07 Pedro Alves <palves@redhat.com>
7444
7445 * gdb.base/tui-layout.c: New file.
7446 * gdb.base/tui-layout.exp: New file.
7447
7448 2017-03-07 Pedro Alves <palves@redhat.com>
7449
7450 * gdb.base/tui-layout.c: Rename to ...
7451 * gdb.base/tui-disasm-long-lines.c: ... this.
7452 * gdb.base/tui-layout.exp: Rename to ...
7453 * gdb.base/tui-disasm-long-lines.exp: ... this.
7454
7455 2017-03-07 Pedro Alves <palves@redhat.com>
7456
7457 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
7458
7459 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
7460
7461 * i386-mpx-call.c: New file.
7462 * i386-mpx-call.exp: New file.
7463
7464 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
7465
7466 * gdb.arch/powerpc-power.exp: Delete test.
7467 * gdb.arch/powerpc-power.s: Likewise.
7468 * gdb.disasm/disassembler-options.exp: New test.
7469 * gdb.arch/powerpc-altivec.exp: Likewise.
7470 * gdb.arch/powerpc-altivec.s: Likewise.
7471 * gdb.arch/powerpc-altivec2.exp: Likewise.
7472 * gdb.arch/powerpc-altivec2.s: Likewise.
7473 * gdb.arch/powerpc-altivec3.exp: Likewise.
7474 * gdb.arch/powerpc-altivec3.s: Likewise.
7475 * gdb.arch/powerpc-power7.exp: Likewise.
7476 * gdb.arch/powerpc-power7.s: Likewise.
7477 * gdb.arch/powerpc-power8.exp: Likewise.
7478 * gdb.arch/powerpc-power8.s: Likewise.
7479 * gdb.arch/powerpc-power9.exp: Likewise.
7480 * gdb.arch/powerpc-power9.s: Likewise.
7481 * gdb.arch/powerpc-vsx.exp: Likewise.
7482 * gdb.arch/powerpc-vsx.s: Likewise.
7483 * gdb.arch/powerpc-vsx2.exp: Likewise.
7484 * gdb.arch/powerpc-vsx2.s: Likewise.
7485 * gdb.arch/powerpc-vsx3.exp: Likewise.
7486 * gdb.arch/powerpc-vsx3.s: Likewise.
7487 * gdb.arch/arm-disassembler-options.exp: Likewise.
7488 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
7489 * gdb.arch/s390-disassembler-options.exp: Likewise.
7490
7491 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
7492
7493 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
7494 (check_supported_features): ... this. Changed return type to void.
7495 (supports_rdseed): New static global.
7496 (rdseed): Check supports_rdseed.
7497 (initialize): Call check_supported_features.
7498
7499 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7500
7501 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
7502 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
7503 and lqarx/stqcx.
7504 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
7505 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
7506
7507 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7508
7509 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
7510 uppercase.
7511
7512 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7513
7514 * gdb.dwarf2/formdata16.c: New file.
7515 * gdb.dwarf2/formdata16.exp: New file.
7516 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
7517
7518 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7519
7520 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
7521 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
7522 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
7523 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
7524 DW_AT_GNU_*.
7525
7526 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7527
7528 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
7529
7530 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
7531
7532 PR gdb/21164
7533 * gdb.base/maint.exp: Add testcases for when the commands do
7534 not have arguments.
7535
7536 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
7537
7538 * gdb.cp/chained-calls.exp: Use p instead of P.
7539
7540 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
7541
7542 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
7543 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
7544
7545 2017-02-14 Tom Tromey <tom@tromey.com>
7546
7547 PR python/13598:
7548 * gdb.python/py-events.exp: Add before_prompt event tests.
7549
7550 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7551
7552 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
7553
7554 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
7555
7556 * gdb.linespec/explicit.c (my_unique_function_name): New function.
7557 (main): Call my_unique_function_name.
7558 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
7559 completion of patterns with a single match.
7560 Add missing -re switches to gdb_test_multiple calls.
7561
7562 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
7563
7564 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
7565 return if core file is not recognized.
7566
7567 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
7568
7569 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
7570 and extra UIs.
7571
7572 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
7573
7574 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
7575 proc_with_prefix.
7576
7577 2017-02-10 Tom Tromey <tom@tromey.com>
7578
7579 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
7580
7581 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
7582
7583 PR gdb/21122
7584 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
7585
7586 2017-02-08 Jerome Guitton <guitton@adacore.com>
7587
7588 * gdb.base/define.exp: Add test for command abbreviations
7589 in define.
7590
7591 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
7592
7593 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
7594 * gdb.reverse/insn-reverse-x86.c: New file.
7595
7596 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
7597
7598 PR tdep/20936
7599 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
7600
7601 2017-02-03 Tom Tromey <tom@tromey.com>
7602
7603 PR rust/21097:
7604 * gdb.rust/simple.exp: Add new tests.
7605
7606 2017-02-02 Pedro Alves <palves@redhat.com>
7607
7608 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
7609 tests.
7610
7611 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
7612
7613 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
7614 taking a 2-byte value out of a 4-byte DWARF implicit value on
7615 big-endian targets.
7616 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
7617 logic. Add test cases for DW_OP_implicit.
7618
7619 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7620
7621 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
7622
7623 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7624
7625 * gdb.btrace/enable.exp: Call gdb_exit before
7626 skip_gdbserver_tests.
7627
7628 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7629
7630 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
7631 GDBFLAGS.
7632
7633 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7634
7635 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
7636 the test is skipped.
7637 * gdb.btrace/data.exp: Likewise.
7638 * gdb.btrace/delta.exp: Likewise.
7639 * gdb.btrace/dlopen.exp: Likewise.
7640 * gdb.btrace/enable-running.exp: Likewise.
7641 * gdb.btrace/enable.exp: Likewise.
7642 * gdb.btrace/exception.exp: Likewise.
7643 * gdb.btrace/function_call_history.exp: Likewise.
7644 * gdb.btrace/gcore.exp: Likewise.
7645 * gdb.btrace/instruction_history.exp: Likewise.
7646 * gdb.btrace/multi-thread-step.exp: Likewise.
7647 * gdb.btrace/nohist.exp: Likewise.
7648 * gdb.btrace/non-stop.exp: Likewise.
7649 * gdb.btrace/reconnect.exp: Likewise.
7650 * gdb.btrace/record_goto-step.exp: Likewise.
7651 * gdb.btrace/record_goto.exp: Likewise.
7652 * gdb.btrace/rn-dl-bind.exp: Likewise.
7653 * gdb.btrace/segv.exp: Likewise.
7654 * gdb.btrace/step.exp: Likewise.
7655 * gdb.btrace/stepi.exp: Likewise.
7656 * gdb.btrace/tailcall-only.exp: Likewise.
7657 * gdb.btrace/tailcall.exp: Likewise.
7658 * gdb.btrace/tsx.exp: Likewise.
7659 * gdb.btrace/unknown_functions.exp: Likewise.
7660 * gdb.btrace/vdso.exp: Likewise.
7661
7662 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7663
7664 * gdb.btrace/enable-running.c: New.
7665 * gdb.btrace/enable-running.exp: New.
7666
7667 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
7668
7669 * gdb.arch/amd64-gs_base.c: New file.
7670 * gdb.arch/amd64-gs_base.exp: New file.
7671
7672 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
7673
7674 * lib/memory.exp: Remove spurious empty newlines.
7675
7676 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
7677
7678 * gdb.python/py-bad-printers.exp: Load python file using "source".
7679 * gdb.python/py-events.exp: Likewise.
7680 * gdb.python/py-evsignal.exp: Likewise.
7681 * gdb.python/py-evthreads.exp: Likewise.
7682 * gdb.python/py-frame-args.exp: Likewise.
7683 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
7684 * gdb.python/py-framefilter-mi.exp: Likewise.
7685 * gdb.python/py-framefilter.exp: Likewise.
7686 * gdb.python/py-mi.exp: Likewise.
7687 * gdb.python/py-pp-maint.exp: Likewise.
7688 * gdb.python/py-pp-registration.exp: Likewise.
7689 * gdb.python/py-prettyprint.exp: Likewise.
7690 (run_lang_tests): Likewise.
7691 * gdb.python/py-typeprint.exp: Likewise.
7692
7693 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
7694
7695 * lib/memory.exp: New file.
7696 * lib/gdb.exp: Load memory.exp.
7697 * gdb.base/memattr.exp (delete_memory): Move proc to
7698 lib/memory.exp and rename to delete_memory_regions.
7699 Replace delete_memory with delete_memory_regions.
7700 Cleanup memory regions before tests.
7701 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
7702 before tests.
7703
7704 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
7705
7706 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
7707 files.
7708 (initialize): New function conditionally defined.
7709 (testcases): Move within conditional block.
7710 (main): Call initialize.
7711 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
7712 of gdb.reverse/insn-reverse.c.
7713 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
7714 gdb.reverse/insn-reverse.c.
7715
7716 2017-01-26 Yao Qi <yao.qi@linaro.org>
7717
7718 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
7719 disassemble on address 0.
7720
7721 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
7722 Yao Qi <yao.qi@linaro.org>
7723
7724 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
7725 * gdb.dwarf2/implptr-64bit.S: Remove.
7726 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
7727 variables in caller's context. Add DW_OP_implicit_value.
7728
7729 2017-01-25 Yao Qi <yao.qi@linaro.org>
7730
7731 * lib/dwarf.exp (Dwarf::_location): Handle
7732 DW_OP_GNU_implicit_pointer with proper size.
7733
7734 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
7735
7736 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
7737 and add untested calls.
7738
7739 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
7740
7741 * gdb.python/python.exp: Check line number against what GDB thinks
7742 the line number is for func1.
7743
7744 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
7745
7746 * gdb.dlang/debug-expr.exp: New file.
7747
7748 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
7749
7750 Fix test names for the following files:
7751
7752 * gdb.ada/exec_changed.exp
7753 * gdb.ada/info_types.exp
7754 * gdb.arch/aarch64-atomic-inst.exp
7755 * gdb.arch/aarch64-fp.exp
7756 * gdb.arch/altivec-abi.exp
7757 * gdb.arch/altivec-regs.exp
7758 * gdb.arch/amd64-byte.exp
7759 * gdb.arch/amd64-disp-step.exp
7760 * gdb.arch/amd64-dword.exp
7761 * gdb.arch/amd64-entry-value-inline.exp
7762 * gdb.arch/amd64-entry-value-param.exp
7763 * gdb.arch/amd64-entry-value-paramref.exp
7764 * gdb.arch/amd64-entry-value.exp
7765 * gdb.arch/amd64-i386-address.exp
7766 * gdb.arch/amd64-invalid-stack-middle.exp
7767 * gdb.arch/amd64-invalid-stack-top.exp
7768 * gdb.arch/amd64-optimout-repeat.exp
7769 * gdb.arch/amd64-prologue-skip.exp
7770 * gdb.arch/amd64-prologue-xmm.exp
7771 * gdb.arch/amd64-stap-special-operands.exp
7772 * gdb.arch/amd64-stap-wrong-subexp.exp
7773 * gdb.arch/amd64-tailcall-cxx.exp
7774 * gdb.arch/amd64-tailcall-noret.exp
7775 * gdb.arch/amd64-tailcall-ret.exp
7776 * gdb.arch/amd64-tailcall-self.exp
7777 * gdb.arch/amd64-word.exp
7778 * gdb.arch/arm-bl-branch-dest.exp
7779 * gdb.arch/arm-disp-step.exp
7780 * gdb.arch/arm-neon.exp
7781 * gdb.arch/arm-single-step-kernel-helper.exp
7782 * gdb.arch/avr-flash-qualifier.exp
7783 * gdb.arch/disp-step-insn-reloc.exp
7784 * gdb.arch/e500-abi.exp
7785 * gdb.arch/e500-regs.exp
7786 * gdb.arch/ftrace-insn-reloc.exp
7787 * gdb.arch/i386-avx512.exp
7788 * gdb.arch/i386-bp_permanent.exp
7789 * gdb.arch/i386-byte.exp
7790 * gdb.arch/i386-cfi-notcurrent.exp
7791 * gdb.arch/i386-disp-step.exp
7792 * gdb.arch/i386-dr3-watch.exp
7793 * gdb.arch/i386-float.exp
7794 * gdb.arch/i386-gnu-cfi.exp
7795 * gdb.arch/i386-mpx-map.exp
7796 * gdb.arch/i386-mpx-sigsegv.exp
7797 * gdb.arch/i386-mpx-simple_segv.exp
7798 * gdb.arch/i386-mpx.exp
7799 * gdb.arch/i386-permbkpt.exp
7800 * gdb.arch/i386-prologue.exp
7801 * gdb.arch/i386-signal.exp
7802 * gdb.arch/i386-size-overlap.exp
7803 * gdb.arch/i386-unwind.exp
7804 * gdb.arch/i386-word.exp
7805 * gdb.arch/mips-fcr.exp
7806 * gdb.arch/powerpc-d128-regs.exp
7807 * gdb.arch/powerpc-stackless.exp
7808 * gdb.arch/ppc64-atomic-inst.exp
7809 * gdb.arch/s390-stackless.exp
7810 * gdb.arch/s390-tdbregs.exp
7811 * gdb.arch/s390-vregs.exp
7812 * gdb.arch/sparc-sysstep.exp
7813 * gdb.arch/thumb-bx-pc.exp
7814 * gdb.arch/thumb-singlestep.exp
7815 * gdb.arch/thumb2-it.exp
7816 * gdb.arch/vsx-regs.exp
7817 * gdb.asm/asm-source.exp
7818 * gdb.base/a2-run.exp
7819 * gdb.base/advance.exp
7820 * gdb.base/all-bin.exp
7821 * gdb.base/anon.exp
7822 * gdb.base/args.exp
7823 * gdb.base/arithmet.exp
7824 * gdb.base/async-shell.exp
7825 * gdb.base/async.exp
7826 * gdb.base/attach-pie-noexec.exp
7827 * gdb.base/attach-twice.exp
7828 * gdb.base/auto-load.exp
7829 * gdb.base/bang.exp
7830 * gdb.base/bitfields.exp
7831 * gdb.base/break-always.exp
7832 * gdb.base/break-caller-line.exp
7833 * gdb.base/break-entry.exp
7834 * gdb.base/break-inline.exp
7835 * gdb.base/break-on-linker-gcd-function.exp
7836 * gdb.base/break-probes.exp
7837 * gdb.base/break.exp
7838 * gdb.base/breakpoint-shadow.exp
7839 * gdb.base/call-ar-st.exp
7840 * gdb.base/call-sc.exp
7841 * gdb.base/call-signal-resume.exp
7842 * gdb.base/call-strs.exp
7843 * gdb.base/callfuncs.exp
7844 * gdb.base/catch-fork-static.exp
7845 * gdb.base/catch-gdb-caused-signals.exp
7846 * gdb.base/catch-load.exp
7847 * gdb.base/catch-signal-fork.exp
7848 * gdb.base/catch-signal.exp
7849 * gdb.base/catch-syscall.exp
7850 * gdb.base/charset.exp
7851 * gdb.base/checkpoint.exp
7852 * gdb.base/chng-syms.exp
7853 * gdb.base/code-expr.exp
7854 * gdb.base/code_elim.exp
7855 * gdb.base/commands.exp
7856 * gdb.base/completion.exp
7857 * gdb.base/complex.exp
7858 * gdb.base/cond-expr.exp
7859 * gdb.base/condbreak.exp
7860 * gdb.base/consecutive.exp
7861 * gdb.base/continue-all-already-running.exp
7862 * gdb.base/coredump-filter.exp
7863 * gdb.base/corefile.exp
7864 * gdb.base/dbx.exp
7865 * gdb.base/debug-expr.exp
7866 * gdb.base/define.exp
7867 * gdb.base/del.exp
7868 * gdb.base/disabled-location.exp
7869 * gdb.base/disasm-end-cu.exp
7870 * gdb.base/disasm-optim.exp
7871 * gdb.base/display.exp
7872 * gdb.base/duplicate-bp.exp
7873 * gdb.base/ena-dis-br.exp
7874 * gdb.base/ending-run.exp
7875 * gdb.base/enumval.exp
7876 * gdb.base/environ.exp
7877 * gdb.base/eu-strip-infcall.exp
7878 * gdb.base/eval-avoid-side-effects.exp
7879 * gdb.base/eval-skip.exp
7880 * gdb.base/exitsignal.exp
7881 * gdb.base/expand-psymtabs.exp
7882 * gdb.base/filesym.exp
7883 * gdb.base/find-unmapped.exp
7884 * gdb.base/finish.exp
7885 * gdb.base/float.exp
7886 * gdb.base/foll-exec-mode.exp
7887 * gdb.base/foll-exec.exp
7888 * gdb.base/foll-fork.exp
7889 * gdb.base/fortran-sym-case.exp
7890 * gdb.base/freebpcmd.exp
7891 * gdb.base/func-ptr.exp
7892 * gdb.base/func-ptrs.exp
7893 * gdb.base/funcargs.exp
7894 * gdb.base/gcore-buffer-overflow.exp
7895 * gdb.base/gcore-relro-pie.exp
7896 * gdb.base/gcore-relro.exp
7897 * gdb.base/gcore.exp
7898 * gdb.base/gdb1090.exp
7899 * gdb.base/gdb11530.exp
7900 * gdb.base/gdb11531.exp
7901 * gdb.base/gdb1821.exp
7902 * gdb.base/gdbindex-stabs.exp
7903 * gdb.base/gdbvars.exp
7904 * gdb.base/hbreak.exp
7905 * gdb.base/hbreak2.exp
7906 * gdb.base/included.exp
7907 * gdb.base/infcall-input.exp
7908 * gdb.base/inferior-died.exp
7909 * gdb.base/infnan.exp
7910 * gdb.base/info-macros.exp
7911 * gdb.base/info-os.exp
7912 * gdb.base/info-proc.exp
7913 * gdb.base/info-shared.exp
7914 * gdb.base/info-target.exp
7915 * gdb.base/infoline.exp
7916 * gdb.base/interp.exp
7917 * gdb.base/interrupt.exp
7918 * gdb.base/jit-reader.exp
7919 * gdb.base/jit-simple.exp
7920 * gdb.base/kill-after-signal.exp
7921 * gdb.base/kill-detach-inferiors-cmd.exp
7922 * gdb.base/label.exp
7923 * gdb.base/langs.exp
7924 * gdb.base/ldbl_e308.exp
7925 * gdb.base/line-symtabs.exp
7926 * gdb.base/linespecs.exp
7927 * gdb.base/list.exp
7928 * gdb.base/long_long.exp
7929 * gdb.base/longest-types.exp
7930 * gdb.base/maint.exp
7931 * gdb.base/max-value-size.exp
7932 * gdb.base/memattr.exp
7933 * gdb.base/mips_pro.exp
7934 * gdb.base/morestack.exp
7935 * gdb.base/moribund-step.exp
7936 * gdb.base/multi-forks.exp
7937 * gdb.base/nested-addr.exp
7938 * gdb.base/nextoverexit.exp
7939 * gdb.base/noreturn-finish.exp
7940 * gdb.base/noreturn-return.exp
7941 * gdb.base/nostdlib.exp
7942 * gdb.base/offsets.exp
7943 * gdb.base/opaque.exp
7944 * gdb.base/pc-fp.exp
7945 * gdb.base/permissions.exp
7946 * gdb.base/print-symbol-loading.exp
7947 * gdb.base/prologue-include.exp
7948 * gdb.base/psymtab.exp
7949 * gdb.base/ptype.exp
7950 * gdb.base/random-signal.exp
7951 * gdb.base/randomize.exp
7952 * gdb.base/range-stepping.exp
7953 * gdb.base/readline-ask.exp
7954 * gdb.base/recpar.exp
7955 * gdb.base/recurse.exp
7956 * gdb.base/relational.exp
7957 * gdb.base/restore.exp
7958 * gdb.base/return-nodebug.exp
7959 * gdb.base/return.exp
7960 * gdb.base/run-after-attach.exp
7961 * gdb.base/save-bp.exp
7962 * gdb.base/scope.exp
7963 * gdb.base/sect-cmd.exp
7964 * gdb.base/set-lang-auto.exp
7965 * gdb.base/set-noassign.exp
7966 * gdb.base/setvar.exp
7967 * gdb.base/sigall.exp
7968 * gdb.base/sigbpt.exp
7969 * gdb.base/siginfo-addr.exp
7970 * gdb.base/siginfo-infcall.exp
7971 * gdb.base/siginfo-obj.exp
7972 * gdb.base/siginfo.exp
7973 * gdb.base/signals-state-child.exp
7974 * gdb.base/signest.exp
7975 * gdb.base/sigstep.exp
7976 * gdb.base/sizeof.exp
7977 * gdb.base/skip.exp
7978 * gdb.base/solib-corrupted.exp
7979 * gdb.base/solib-nodir.exp
7980 * gdb.base/solib-search.exp
7981 * gdb.base/stack-checking.exp
7982 * gdb.base/stale-infcall.exp
7983 * gdb.base/stap-probe.exp
7984 * gdb.base/start.exp
7985 * gdb.base/step-break.exp
7986 * gdb.base/step-bt.exp
7987 * gdb.base/step-line.exp
7988 * gdb.base/step-over-exit.exp
7989 * gdb.base/step-over-syscall.exp
7990 * gdb.base/step-resume-infcall.exp
7991 * gdb.base/step-test.exp
7992 * gdb.base/store.exp
7993 * gdb.base/structs3.exp
7994 * gdb.base/sym-file.exp
7995 * gdb.base/symbol-without-target_section.exp
7996 * gdb.base/term.exp
7997 * gdb.base/testenv.exp
7998 * gdb.base/ui-redirect.exp
7999 * gdb.base/until.exp
8000 * gdb.base/unwindonsignal.exp
8001 * gdb.base/value-double-free.exp
8002 * gdb.base/vla-datatypes.exp
8003 * gdb.base/vla-ptr.exp
8004 * gdb.base/vla-sideeffect.exp
8005 * gdb.base/volatile.exp
8006 * gdb.base/watch-cond-infcall.exp
8007 * gdb.base/watch-cond.exp
8008 * gdb.base/watch-non-mem.exp
8009 * gdb.base/watch-read.exp
8010 * gdb.base/watch-vfork.exp
8011 * gdb.base/watchpoint-cond-gone.exp
8012 * gdb.base/watchpoint-delete.exp
8013 * gdb.base/watchpoint-hw-hit-once.exp
8014 * gdb.base/watchpoint-hw.exp
8015 * gdb.base/watchpoint-stops-at-right-insn.exp
8016 * gdb.base/watchpoints.exp
8017 * gdb.base/wchar.exp
8018 * gdb.base/whatis-exp.exp
8019 * gdb.btrace/buffer-size.exp
8020 * gdb.btrace/data.exp
8021 * gdb.btrace/delta.exp
8022 * gdb.btrace/dlopen.exp
8023 * gdb.btrace/enable.exp
8024 * gdb.btrace/exception.exp
8025 * gdb.btrace/function_call_history.exp
8026 * gdb.btrace/gcore.exp
8027 * gdb.btrace/instruction_history.exp
8028 * gdb.btrace/nohist.exp
8029 * gdb.btrace/reconnect.exp
8030 * gdb.btrace/record_goto-step.exp
8031 * gdb.btrace/record_goto.exp
8032 * gdb.btrace/rn-dl-bind.exp
8033 * gdb.btrace/segv.exp
8034 * gdb.btrace/step.exp
8035 * gdb.btrace/stepi.exp
8036 * gdb.btrace/tailcall-only.exp
8037 * gdb.btrace/tailcall.exp
8038 * gdb.btrace/tsx.exp
8039 * gdb.btrace/unknown_functions.exp
8040 * gdb.btrace/vdso.exp
8041 * gdb.compile/compile-ifunc.exp
8042 * gdb.compile/compile-ops.exp
8043 * gdb.compile/compile-print.exp
8044 * gdb.compile/compile-setjmp.exp
8045 * gdb.cp/abstract-origin.exp
8046 * gdb.cp/ambiguous.exp
8047 * gdb.cp/annota2.exp
8048 * gdb.cp/annota3.exp
8049 * gdb.cp/anon-ns.exp
8050 * gdb.cp/anon-struct.exp
8051 * gdb.cp/anon-union.exp
8052 * gdb.cp/arg-reference.exp
8053 * gdb.cp/baseenum.exp
8054 * gdb.cp/bool.exp
8055 * gdb.cp/breakpoint.exp
8056 * gdb.cp/bs15503.exp
8057 * gdb.cp/call-c.exp
8058 * gdb.cp/casts.exp
8059 * gdb.cp/chained-calls.exp
8060 * gdb.cp/class2.exp
8061 * gdb.cp/classes.exp
8062 * gdb.cp/cmpd-minsyms.exp
8063 * gdb.cp/converts.exp
8064 * gdb.cp/cp-relocate.exp
8065 * gdb.cp/cpcompletion.exp
8066 * gdb.cp/cpexprs.exp
8067 * gdb.cp/cplabel.exp
8068 * gdb.cp/cplusfuncs.exp
8069 * gdb.cp/cpsizeof.exp
8070 * gdb.cp/ctti.exp
8071 * gdb.cp/derivation.exp
8072 * gdb.cp/destrprint.exp
8073 * gdb.cp/dispcxx.exp
8074 * gdb.cp/enum-class.exp
8075 * gdb.cp/exception.exp
8076 * gdb.cp/exceptprint.exp
8077 * gdb.cp/expand-psymtabs-cxx.exp
8078 * gdb.cp/expand-sals.exp
8079 * gdb.cp/extern-c.exp
8080 * gdb.cp/filename.exp
8081 * gdb.cp/formatted-ref.exp
8082 * gdb.cp/fpointer.exp
8083 * gdb.cp/gdb1355.exp
8084 * gdb.cp/gdb2495.exp
8085 * gdb.cp/hang.exp
8086 * gdb.cp/impl-this.exp
8087 * gdb.cp/infcall-dlopen.exp
8088 * gdb.cp/inherit.exp
8089 * gdb.cp/iostream.exp
8090 * gdb.cp/koenig.exp
8091 * gdb.cp/local.exp
8092 * gdb.cp/m-data.exp
8093 * gdb.cp/m-static.exp
8094 * gdb.cp/mb-ctor.exp
8095 * gdb.cp/mb-inline.exp
8096 * gdb.cp/mb-templates.exp
8097 * gdb.cp/member-name.exp
8098 * gdb.cp/member-ptr.exp
8099 * gdb.cp/meth-typedefs.exp
8100 * gdb.cp/method.exp
8101 * gdb.cp/method2.exp
8102 * gdb.cp/minsym-fallback.exp
8103 * gdb.cp/misc.exp
8104 * gdb.cp/namelessclass.exp
8105 * gdb.cp/namespace-enum.exp
8106 * gdb.cp/namespace-nested-import.exp
8107 * gdb.cp/namespace.exp
8108 * gdb.cp/nextoverthrow.exp
8109 * gdb.cp/no-dmgl-verbose.exp
8110 * gdb.cp/non-trivial-retval.exp
8111 * gdb.cp/noparam.exp
8112 * gdb.cp/nsdecl.exp
8113 * gdb.cp/nsimport.exp
8114 * gdb.cp/nsnested.exp
8115 * gdb.cp/nsnoimports.exp
8116 * gdb.cp/nsrecurs.exp
8117 * gdb.cp/nsstress.exp
8118 * gdb.cp/nsusing.exp
8119 * gdb.cp/operator.exp
8120 * gdb.cp/oranking.exp
8121 * gdb.cp/overload-const.exp
8122 * gdb.cp/overload.exp
8123 * gdb.cp/ovldbreak.exp
8124 * gdb.cp/ovsrch.exp
8125 * gdb.cp/paren-type.exp
8126 * gdb.cp/parse-lang.exp
8127 * gdb.cp/pass-by-ref.exp
8128 * gdb.cp/pr-1023.exp
8129 * gdb.cp/pr-1210.exp
8130 * gdb.cp/pr-574.exp
8131 * gdb.cp/pr10687.exp
8132 * gdb.cp/pr12028.exp
8133 * gdb.cp/pr17132.exp
8134 * gdb.cp/pr17494.exp
8135 * gdb.cp/pr9067.exp
8136 * gdb.cp/pr9167.exp
8137 * gdb.cp/pr9631.exp
8138 * gdb.cp/printmethod.exp
8139 * gdb.cp/psmang.exp
8140 * gdb.cp/psymtab-parameter.exp
8141 * gdb.cp/ptype-cv-cp.exp
8142 * gdb.cp/ptype-flags.exp
8143 * gdb.cp/re-set-overloaded.exp
8144 * gdb.cp/ref-types.exp
8145 * gdb.cp/rtti.exp
8146 * gdb.cp/scope-err.exp
8147 * gdb.cp/shadow.exp
8148 * gdb.cp/smartp.exp
8149 * gdb.cp/static-method.exp
8150 * gdb.cp/static-print-quit.exp
8151 * gdb.cp/temargs.exp
8152 * gdb.cp/templates.exp
8153 * gdb.cp/try_catch.exp
8154 * gdb.cp/typedef-operator.exp
8155 * gdb.cp/typeid.exp
8156 * gdb.cp/userdef.exp
8157 * gdb.cp/using-crash.exp
8158 * gdb.cp/var-tag.exp
8159 * gdb.cp/virtbase.exp
8160 * gdb.cp/virtfunc.exp
8161 * gdb.cp/virtfunc2.exp
8162 * gdb.cp/vla-cxx.exp
8163 * gdb.disasm/t01_mov.exp
8164 * gdb.disasm/t02_mova.exp
8165 * gdb.disasm/t03_add.exp
8166 * gdb.disasm/t04_sub.exp
8167 * gdb.disasm/t05_cmp.exp
8168 * gdb.disasm/t06_ari2.exp
8169 * gdb.disasm/t07_ari3.exp
8170 * gdb.disasm/t08_or.exp
8171 * gdb.disasm/t09_xor.exp
8172 * gdb.disasm/t10_and.exp
8173 * gdb.disasm/t11_logs.exp
8174 * gdb.disasm/t12_bit.exp
8175 * gdb.disasm/t13_otr.exp
8176 * gdb.dlang/circular.exp
8177 * gdb.dwarf2/arr-stride.exp
8178 * gdb.dwarf2/arr-subrange.exp
8179 * gdb.dwarf2/atomic-type.exp
8180 * gdb.dwarf2/bad-regnum.exp
8181 * gdb.dwarf2/bitfield-parent-optimized-out.exp
8182 * gdb.dwarf2/callframecfa.exp
8183 * gdb.dwarf2/clztest.exp
8184 * gdb.dwarf2/corrupt.exp
8185 * gdb.dwarf2/data-loc.exp
8186 * gdb.dwarf2/dup-psym.exp
8187 * gdb.dwarf2/dw2-anon-mptr.exp
8188 * gdb.dwarf2/dw2-anonymous-func.exp
8189 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
8190 * gdb.dwarf2/dw2-bad-unresolved.exp
8191 * gdb.dwarf2/dw2-basic.exp
8192 * gdb.dwarf2/dw2-canonicalize-type.exp
8193 * gdb.dwarf2/dw2-case-insensitive.exp
8194 * gdb.dwarf2/dw2-common-block.exp
8195 * gdb.dwarf2/dw2-compdir-oldgcc.exp
8196 * gdb.dwarf2/dw2-compressed.exp
8197 * gdb.dwarf2/dw2-const.exp
8198 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
8199 * gdb.dwarf2/dw2-cu-size.exp
8200 * gdb.dwarf2/dw2-dup-frame.exp
8201 * gdb.dwarf2/dw2-entry-value.exp
8202 * gdb.dwarf2/dw2-icycle.exp
8203 * gdb.dwarf2/dw2-ifort-parameter.exp
8204 * gdb.dwarf2/dw2-inline-break.exp
8205 * gdb.dwarf2/dw2-inline-param.exp
8206 * gdb.dwarf2/dw2-intercu.exp
8207 * gdb.dwarf2/dw2-intermix.exp
8208 * gdb.dwarf2/dw2-lexical-block-bare.exp
8209 * gdb.dwarf2/dw2-linkage-name-trust.exp
8210 * gdb.dwarf2/dw2-minsym-in-cu.exp
8211 * gdb.dwarf2/dw2-noloc.exp
8212 * gdb.dwarf2/dw2-op-call.exp
8213 * gdb.dwarf2/dw2-op-out-param.exp
8214 * gdb.dwarf2/dw2-opt-structptr.exp
8215 * gdb.dwarf2/dw2-param-error.exp
8216 * gdb.dwarf2/dw2-producer.exp
8217 * gdb.dwarf2/dw2-ranges-base.exp
8218 * gdb.dwarf2/dw2-ref-missing-frame.exp
8219 * gdb.dwarf2/dw2-reg-undefined.exp
8220 * gdb.dwarf2/dw2-regno-invalid.exp
8221 * gdb.dwarf2/dw2-restore.exp
8222 * gdb.dwarf2/dw2-restrict.exp
8223 * gdb.dwarf2/dw2-single-line-discriminators.exp
8224 * gdb.dwarf2/dw2-strp.exp
8225 * gdb.dwarf2/dw2-undefined-ret-addr.exp
8226 * gdb.dwarf2/dw2-unresolved.exp
8227 * gdb.dwarf2/dw2-var-zero-addr.exp
8228 * gdb.dwarf2/dw4-sig-types.exp
8229 * gdb.dwarf2/dwz.exp
8230 * gdb.dwarf2/dynarr-ptr.exp
8231 * gdb.dwarf2/enum-type.exp
8232 * gdb.dwarf2/gdb-index.exp
8233 * gdb.dwarf2/implptr-64bit.exp
8234 * gdb.dwarf2/implptr-optimized-out.exp
8235 * gdb.dwarf2/implptr.exp
8236 * gdb.dwarf2/implref-array.exp
8237 * gdb.dwarf2/implref-const.exp
8238 * gdb.dwarf2/implref-global.exp
8239 * gdb.dwarf2/implref-struct.exp
8240 * gdb.dwarf2/mac-fileno.exp
8241 * gdb.dwarf2/main-subprogram.exp
8242 * gdb.dwarf2/member-ptr-forwardref.exp
8243 * gdb.dwarf2/method-ptr.exp
8244 * gdb.dwarf2/missing-sig-type.exp
8245 * gdb.dwarf2/nonvar-access.exp
8246 * gdb.dwarf2/opaque-type-lookup.exp
8247 * gdb.dwarf2/pieces-optimized-out.exp
8248 * gdb.dwarf2/pieces.exp
8249 * gdb.dwarf2/pr10770.exp
8250 * gdb.dwarf2/pr13961.exp
8251 * gdb.dwarf2/staticvirtual.exp
8252 * gdb.dwarf2/subrange.exp
8253 * gdb.dwarf2/symtab-producer.exp
8254 * gdb.dwarf2/trace-crash.exp
8255 * gdb.dwarf2/typeddwarf.exp
8256 * gdb.dwarf2/valop.exp
8257 * gdb.dwarf2/watch-notconst.exp
8258 * gdb.fortran/array-element.exp
8259 * gdb.fortran/charset.exp
8260 * gdb.fortran/common-block.exp
8261 * gdb.fortran/complex.exp
8262 * gdb.fortran/derived-type-function.exp
8263 * gdb.fortran/derived-type.exp
8264 * gdb.fortran/logical.exp
8265 * gdb.fortran/module.exp
8266 * gdb.fortran/multi-dim.exp
8267 * gdb.fortran/nested-funcs.exp
8268 * gdb.fortran/print-formatted.exp
8269 * gdb.fortran/subarray.exp
8270 * gdb.fortran/vla-alloc-assoc.exp
8271 * gdb.fortran/vla-datatypes.exp
8272 * gdb.fortran/vla-history.exp
8273 * gdb.fortran/vla-ptr-info.exp
8274 * gdb.fortran/vla-ptype-sub.exp
8275 * gdb.fortran/vla-ptype.exp
8276 * gdb.fortran/vla-sizeof.exp
8277 * gdb.fortran/vla-type.exp
8278 * gdb.fortran/vla-value-sub-arbitrary.exp
8279 * gdb.fortran/vla-value-sub-finish.exp
8280 * gdb.fortran/vla-value-sub.exp
8281 * gdb.fortran/vla-value.exp
8282 * gdb.fortran/whatis_type.exp
8283 * gdb.go/chan.exp
8284 * gdb.go/handcall.exp
8285 * gdb.go/hello.exp
8286 * gdb.go/integers.exp
8287 * gdb.go/methods.exp
8288 * gdb.go/package.exp
8289 * gdb.go/strings.exp
8290 * gdb.go/types.exp
8291 * gdb.go/unsafe.exp
8292 * gdb.guile/scm-arch.exp
8293 * gdb.guile/scm-block.exp
8294 * gdb.guile/scm-breakpoint.exp
8295 * gdb.guile/scm-cmd.exp
8296 * gdb.guile/scm-disasm.exp
8297 * gdb.guile/scm-equal.exp
8298 * gdb.guile/scm-frame-args.exp
8299 * gdb.guile/scm-frame-inline.exp
8300 * gdb.guile/scm-frame.exp
8301 * gdb.guile/scm-iterator.exp
8302 * gdb.guile/scm-math.exp
8303 * gdb.guile/scm-objfile.exp
8304 * gdb.guile/scm-ports.exp
8305 * gdb.guile/scm-symbol.exp
8306 * gdb.guile/scm-symtab.exp
8307 * gdb.guile/scm-value-cc.exp
8308 * gdb.guile/types-module.exp
8309 * gdb.linespec/break-ask.exp
8310 * gdb.linespec/cpexplicit.exp
8311 * gdb.linespec/explicit.exp
8312 * gdb.linespec/keywords.exp
8313 * gdb.linespec/linespec.exp
8314 * gdb.linespec/ls-dollar.exp
8315 * gdb.linespec/ls-errs.exp
8316 * gdb.linespec/skip-two.exp
8317 * gdb.linespec/thread.exp
8318 * gdb.mi/mi-async.exp
8319 * gdb.mi/mi-basics.exp
8320 * gdb.mi/mi-break.exp
8321 * gdb.mi/mi-catch-load.exp
8322 * gdb.mi/mi-cli.exp
8323 * gdb.mi/mi-cmd-param-changed.exp
8324 * gdb.mi/mi-console.exp
8325 * gdb.mi/mi-detach.exp
8326 * gdb.mi/mi-disassemble.exp
8327 * gdb.mi/mi-eval.exp
8328 * gdb.mi/mi-file-transfer.exp
8329 * gdb.mi/mi-file.exp
8330 * gdb.mi/mi-fill-memory.exp
8331 * gdb.mi/mi-inheritance-syntax-error.exp
8332 * gdb.mi/mi-linespec-err-cp.exp
8333 * gdb.mi/mi-logging.exp
8334 * gdb.mi/mi-memory-changed.exp
8335 * gdb.mi/mi-read-memory.exp
8336 * gdb.mi/mi-record-changed.exp
8337 * gdb.mi/mi-reg-undefined.exp
8338 * gdb.mi/mi-regs.exp
8339 * gdb.mi/mi-return.exp
8340 * gdb.mi/mi-reverse.exp
8341 * gdb.mi/mi-simplerun.exp
8342 * gdb.mi/mi-solib.exp
8343 * gdb.mi/mi-stack.exp
8344 * gdb.mi/mi-stepi.exp
8345 * gdb.mi/mi-syn-frame.exp
8346 * gdb.mi/mi-until.exp
8347 * gdb.mi/mi-var-block.exp
8348 * gdb.mi/mi-var-child.exp
8349 * gdb.mi/mi-var-cmd.exp
8350 * gdb.mi/mi-var-cp.exp
8351 * gdb.mi/mi-var-display.exp
8352 * gdb.mi/mi-var-invalidate.exp
8353 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
8354 * gdb.mi/mi-vla-fortran.exp
8355 * gdb.mi/mi-watch.exp
8356 * gdb.mi/mi2-var-child.exp
8357 * gdb.mi/user-selected-context-sync.exp
8358 * gdb.modula2/unbounded-array.exp
8359 * gdb.multi/dummy-frame-restore.exp
8360 * gdb.multi/multi-arch-exec.exp
8361 * gdb.multi/multi-arch.exp
8362 * gdb.multi/tids.exp
8363 * gdb.multi/watchpoint-multi.exp
8364 * gdb.opencl/callfuncs.exp
8365 * gdb.opencl/convs_casts.exp
8366 * gdb.opencl/datatypes.exp
8367 * gdb.opencl/operators.exp
8368 * gdb.opencl/vec_comps.exp
8369 * gdb.opt/clobbered-registers-O2.exp
8370 * gdb.opt/inline-break.exp
8371 * gdb.opt/inline-bt.exp
8372 * gdb.opt/inline-cmds.exp
8373 * gdb.opt/inline-locals.exp
8374 * gdb.pascal/case-insensitive-symbols.exp
8375 * gdb.pascal/floats.exp
8376 * gdb.pascal/gdb11492.exp
8377 * gdb.python/lib-types.exp
8378 * gdb.python/py-arch.exp
8379 * gdb.python/py-as-string.exp
8380 * gdb.python/py-bad-printers.exp
8381 * gdb.python/py-block.exp
8382 * gdb.python/py-breakpoint-create-fail.exp
8383 * gdb.python/py-breakpoint.exp
8384 * gdb.python/py-caller-is.exp
8385 * gdb.python/py-cmd.exp
8386 * gdb.python/py-explore-cc.exp
8387 * gdb.python/py-explore.exp
8388 * gdb.python/py-finish-breakpoint.exp
8389 * gdb.python/py-finish-breakpoint2.exp
8390 * gdb.python/py-frame-args.exp
8391 * gdb.python/py-frame-inline.exp
8392 * gdb.python/py-frame.exp
8393 * gdb.python/py-framefilter-mi.exp
8394 * gdb.python/py-infthread.exp
8395 * gdb.python/py-lazy-string.exp
8396 * gdb.python/py-linetable.exp
8397 * gdb.python/py-mi-events.exp
8398 * gdb.python/py-mi-objfile.exp
8399 * gdb.python/py-mi.exp
8400 * gdb.python/py-objfile.exp
8401 * gdb.python/py-pp-integral.exp
8402 * gdb.python/py-pp-maint.exp
8403 * gdb.python/py-pp-re-notag.exp
8404 * gdb.python/py-pp-registration.exp
8405 * gdb.python/py-recurse-unwind.exp
8406 * gdb.python/py-strfns.exp
8407 * gdb.python/py-symbol.exp
8408 * gdb.python/py-symtab.exp
8409 * gdb.python/py-sync-interp.exp
8410 * gdb.python/py-typeprint.exp
8411 * gdb.python/py-unwind-maint.exp
8412 * gdb.python/py-unwind.exp
8413 * gdb.python/py-value-cc.exp
8414 * gdb.python/py-xmethods.exp
8415 * gdb.reverse/amd64-tailcall-reverse.exp
8416 * gdb.reverse/break-precsave.exp
8417 * gdb.reverse/break-reverse.exp
8418 * gdb.reverse/consecutive-precsave.exp
8419 * gdb.reverse/consecutive-reverse.exp
8420 * gdb.reverse/finish-precsave.exp
8421 * gdb.reverse/finish-reverse-bkpt.exp
8422 * gdb.reverse/finish-reverse.exp
8423 * gdb.reverse/fstatat-reverse.exp
8424 * gdb.reverse/getresuid-reverse.exp
8425 * gdb.reverse/i386-precsave.exp
8426 * gdb.reverse/i386-reverse.exp
8427 * gdb.reverse/i386-sse-reverse.exp
8428 * gdb.reverse/i387-env-reverse.exp
8429 * gdb.reverse/i387-stack-reverse.exp
8430 * gdb.reverse/insn-reverse.exp
8431 * gdb.reverse/machinestate-precsave.exp
8432 * gdb.reverse/machinestate.exp
8433 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8434 * gdb.reverse/pipe-reverse.exp
8435 * gdb.reverse/readv-reverse.exp
8436 * gdb.reverse/recvmsg-reverse.exp
8437 * gdb.reverse/rerun-prec.exp
8438 * gdb.reverse/s390-mvcle.exp
8439 * gdb.reverse/step-precsave.exp
8440 * gdb.reverse/step-reverse.exp
8441 * gdb.reverse/time-reverse.exp
8442 * gdb.reverse/until-precsave.exp
8443 * gdb.reverse/until-reverse.exp
8444 * gdb.reverse/waitpid-reverse.exp
8445 * gdb.reverse/watch-precsave.exp
8446 * gdb.reverse/watch-reverse.exp
8447 * gdb.rust/generics.exp
8448 * gdb.rust/methods.exp
8449 * gdb.rust/modules.exp
8450 * gdb.rust/simple.exp
8451 * gdb.server/connect-with-no-symbol-file.exp
8452 * gdb.server/ext-attach.exp
8453 * gdb.server/ext-restart.exp
8454 * gdb.server/ext-wrapper.exp
8455 * gdb.server/file-transfer.exp
8456 * gdb.server/server-exec-info.exp
8457 * gdb.server/server-kill.exp
8458 * gdb.server/server-mon.exp
8459 * gdb.server/wrapper.exp
8460 * gdb.stabs/exclfwd.exp
8461 * gdb.stabs/gdb11479.exp
8462 * gdb.threads/clone-new-thread-event.exp
8463 * gdb.threads/corethreads.exp
8464 * gdb.threads/current-lwp-dead.exp
8465 * gdb.threads/dlopen-libpthread.exp
8466 * gdb.threads/gcore-thread.exp
8467 * gdb.threads/sigstep-threads.exp
8468 * gdb.threads/watchpoint-fork.exp
8469 * gdb.trace/actions-changed.exp
8470 * gdb.trace/backtrace.exp
8471 * gdb.trace/change-loc.exp
8472 * gdb.trace/circ.exp
8473 * gdb.trace/collection.exp
8474 * gdb.trace/disconnected-tracing.exp
8475 * gdb.trace/ftrace.exp
8476 * gdb.trace/mi-trace-frame-collected.exp
8477 * gdb.trace/mi-trace-unavailable.exp
8478 * gdb.trace/mi-traceframe-changed.exp
8479 * gdb.trace/mi-tsv-changed.exp
8480 * gdb.trace/no-attach-trace.exp
8481 * gdb.trace/passc-dyn.exp
8482 * gdb.trace/qtro.exp
8483 * gdb.trace/range-stepping.exp
8484 * gdb.trace/read-memory.exp
8485 * gdb.trace/save-trace.exp
8486 * gdb.trace/signal.exp
8487 * gdb.trace/status-stop.exp
8488 * gdb.trace/tfile.exp
8489 * gdb.trace/trace-break.exp
8490 * gdb.trace/trace-buffer-size.exp
8491 * gdb.trace/trace-condition.exp
8492 * gdb.trace/tracefile-pseudo-reg.exp
8493 * gdb.trace/tstatus.exp
8494 * gdb.trace/unavailable.exp
8495 * gdb.trace/while-dyn.exp
8496 * gdb.trace/while-stepping.exp
8497
8498 2016-12-22 Doug Evans <xdje42@gmail.com>
8499
8500 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
8501 and msymbols.
8502
8503 2016-12-19 Yao Qi <yao.qi@linaro.org>
8504
8505 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
8506 (test_with_self): Don't call do_steps_and_nexts, and remove
8507 code about stepping into xmalloc.
8508
8509 2016-12-09 Yao Qi <yao.qi@linaro.org>
8510
8511 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
8512
8513 2016-12-09 Yao Qi <yao.qi@linaro.org>
8514
8515 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
8516
8517 2016-12-09 Pedro Alves <palves@redhat.com>
8518
8519 * gdb.base/all-architectures-0.exp: New file.
8520 * gdb.base/all-architectures-1.exp: New file.
8521 * gdb.base/all-architectures-2.exp: New file.
8522 * gdb.base/all-architectures-3.exp: New file.
8523 * gdb.base/all-architectures-4.exp: New file.
8524 * gdb.base/all-architectures-5.exp: New file.
8525 * gdb.base/all-architectures-6.exp: New file.
8526 * gdb.base/all-architectures-7.exp: New file.
8527 * gdb.base/all-architectures.exp.in: New file.
8528
8529 2016-12-09 Yao Qi <yao.qi@linaro.org>
8530
8531 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
8532
8533 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
8534
8535 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
8536 possible.
8537 Remove useless pattern-matching code.
8538
8539 2016-12-02 Pedro Alves <palves@redhat.com>
8540
8541 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
8542 procedure.
8543 (top level): Call it.
8544
8545 2016-12-02 Pedro Alves <palves@redhat.com>
8546
8547 * gdb.base/commands.exp (user_defined_command_args_stack_test):
8548 New procedure.
8549 (top level): Call it.
8550
8551 2016-12-02 Pedro Alves <palves@redhat.com>
8552
8553 PR cli/20559
8554 * gdb.base/commands.exp (user_defined_command_args_eval): New
8555 procedure.
8556 (top level): Call it.
8557
8558 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
8559
8560 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
8561 timeout handling.
8562
8563 2016-12-02 Tom Tromey <tom@tromey.com>
8564
8565 * gdb.dwarf2/main-subprogram.c: New file.
8566 * gdb.dwarf2/main-subprogram.exp: New file.
8567
8568 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8569
8570 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
8571 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
8572 gdb_test_no_output for a couple of cases.
8573 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
8574
8575 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8576
8577 Fix test names and standardize compilation error messages throughout
8578 the following files:
8579
8580 * gdb.ada/start.exp
8581 * gdb.arch/alpha-step.exp
8582 * gdb.arch/e500-prologue.exp
8583 * gdb.arch/ftrace-insn-reloc.exp
8584 * gdb.arch/gdb1291.exp
8585 * gdb.arch/gdb1431.exp
8586 * gdb.arch/gdb1558.exp
8587 * gdb.arch/i386-dr3-watch.exp
8588 * gdb.arch/i386-sse-stack-align.exp
8589 * gdb.arch/ia64-breakpoint-shadow.exp
8590 * gdb.arch/pa-nullify.exp
8591 * gdb.arch/powerpc-aix-prologue.exp
8592 * gdb.arch/thumb-bx-pc.exp
8593 * gdb.base/annota1.exp
8594 * gdb.base/annota3.exp
8595 * gdb.base/arrayidx.exp
8596 * gdb.base/assign.exp
8597 * gdb.base/attach.exp
8598 * gdb.base/auxv.exp
8599 * gdb.base/bang.exp
8600 * gdb.base/bfp-test.exp
8601 * gdb.base/bigcore.exp
8602 * gdb.base/bitfields2.exp
8603 * gdb.base/break-fun-addr.exp
8604 * gdb.base/break-probes.exp
8605 * gdb.base/call-rt-st.exp
8606 * gdb.base/callexit.exp
8607 * gdb.base/catch-fork-kill.exp
8608 * gdb.base/charset.exp
8609 * gdb.base/checkpoint.exp
8610 * gdb.base/comprdebug.exp
8611 * gdb.base/constvars.exp
8612 * gdb.base/coredump-filter.exp
8613 * gdb.base/cursal.exp
8614 * gdb.base/cvexpr.exp
8615 * gdb.base/detach.exp
8616 * gdb.base/display.exp
8617 * gdb.base/dmsym.exp
8618 * gdb.base/dprintf-pending.exp
8619 * gdb.base/dso2dso.exp
8620 * gdb.base/dtrace-probe.exp
8621 * gdb.base/dump.exp
8622 * gdb.base/enum_cond.exp
8623 * gdb.base/exe-lock.exp
8624 * gdb.base/exec-invalid-sysroot.exp
8625 * gdb.base/execl-update-breakpoints.exp
8626 * gdb.base/exprs.exp
8627 * gdb.base/fileio.exp
8628 * gdb.base/find.exp
8629 * gdb.base/finish.exp
8630 * gdb.base/fixsection.exp
8631 * gdb.base/foll-vfork.exp
8632 * gdb.base/frame-args.exp
8633 * gdb.base/gcore.exp
8634 * gdb.base/gdb1250.exp
8635 * gdb.base/global-var-nested-by-dso.exp
8636 * gdb.base/gnu-ifunc.exp
8637 * gdb.base/hashline1.exp
8638 * gdb.base/hashline2.exp
8639 * gdb.base/hashline3.exp
8640 * gdb.base/hbreak-in-shr-unsupported.exp
8641 * gdb.base/huge.exp
8642 * gdb.base/infcall-input.exp
8643 * gdb.base/info-fun.exp
8644 * gdb.base/info-shared.exp
8645 * gdb.base/jit-simple.exp
8646 * gdb.base/jit-so.exp
8647 * gdb.base/jit.exp
8648 * gdb.base/jump.exp
8649 * gdb.base/label.exp
8650 * gdb.base/lineinc.exp
8651 * gdb.base/logical.exp
8652 * gdb.base/longjmp.exp
8653 * gdb.base/macscp.exp
8654 * gdb.base/miscexprs.exp
8655 * gdb.base/new-ui-echo.exp
8656 * gdb.base/new-ui-pending-input.exp
8657 * gdb.base/new-ui.exp
8658 * gdb.base/nodebug.exp
8659 * gdb.base/nofield.exp
8660 * gdb.base/offsets.exp
8661 * gdb.base/overlays.exp
8662 * gdb.base/pending.exp
8663 * gdb.base/pointers.exp
8664 * gdb.base/pr11022.exp
8665 * gdb.base/printcmds.exp
8666 * gdb.base/prologue.exp
8667 * gdb.base/ptr-typedef.exp
8668 * gdb.base/realname-expand.exp
8669 * gdb.base/relativedebug.exp
8670 * gdb.base/relocate.exp
8671 * gdb.base/remote.exp
8672 * gdb.base/reread.exp
8673 * gdb.base/return2.exp
8674 * gdb.base/savedregs.exp
8675 * gdb.base/sep.exp
8676 * gdb.base/sepdebug.exp
8677 * gdb.base/sepsymtab.exp
8678 * gdb.base/set-inferior-tty.exp
8679 * gdb.base/setshow.exp
8680 * gdb.base/shlib-call.exp
8681 * gdb.base/sigaltstack.exp
8682 * gdb.base/siginfo-addr.exp
8683 * gdb.base/signals.exp
8684 * gdb.base/signull.exp
8685 * gdb.base/sigrepeat.exp
8686 * gdb.base/so-impl-ld.exp
8687 * gdb.base/solib-display.exp
8688 * gdb.base/solib-overlap.exp
8689 * gdb.base/solib-search.exp
8690 * gdb.base/solib-symbol.exp
8691 * gdb.base/structs.exp
8692 * gdb.base/structs2.exp
8693 * gdb.base/symtab-search-order.exp
8694 * gdb.base/twice.exp
8695 * gdb.base/unload.exp
8696 * gdb.base/varargs.exp
8697 * gdb.base/watchpoint-solib.exp
8698 * gdb.base/watchpoint.exp
8699 * gdb.base/whatis.exp
8700 * gdb.base/wrong_frame_bt_full.exp
8701 * gdb.btrace/dlopen.exp
8702 * gdb.cell/ea-standalone.exp
8703 * gdb.cell/ea-test.exp
8704 * gdb.cp/dispcxx.exp
8705 * gdb.cp/gdb2384.exp
8706 * gdb.cp/method2.exp
8707 * gdb.cp/nextoverthrow.exp
8708 * gdb.cp/pr10728.exp
8709 * gdb.disasm/am33.exp
8710 * gdb.disasm/h8300s.exp
8711 * gdb.disasm/mn10300.exp
8712 * gdb.disasm/sh3.exp
8713 * gdb.dwarf2/dw2-dir-file-name.exp
8714 * gdb.fortran/complex.exp
8715 * gdb.fortran/library-module.exp
8716 * gdb.guile/scm-pretty-print.exp
8717 * gdb.guile/scm-symbol.exp
8718 * gdb.guile/scm-type.exp
8719 * gdb.guile/scm-value.exp
8720 * gdb.linespec/linespec.exp
8721 * gdb.mi/gdb701.exp
8722 * gdb.mi/gdb792.exp
8723 * gdb.mi/mi-breakpoint-changed.exp
8724 * gdb.mi/mi-dprintf-pending.exp
8725 * gdb.mi/mi-dprintf.exp
8726 * gdb.mi/mi-exit-code.exp
8727 * gdb.mi/mi-pending.exp
8728 * gdb.mi/mi-solib.exp
8729 * gdb.mi/new-ui-mi-sync.exp
8730 * gdb.mi/pr11022.exp
8731 * gdb.mi/user-selected-context-sync.exp
8732 * gdb.opt/solib-intra-step.exp
8733 * gdb.python/py-events.exp
8734 * gdb.python/py-finish-breakpoint.exp
8735 * gdb.python/py-mi.exp
8736 * gdb.python/py-prettyprint.exp
8737 * gdb.python/py-shared.exp
8738 * gdb.python/py-symbol.exp
8739 * gdb.python/py-template.exp
8740 * gdb.python/py-type.exp
8741 * gdb.python/py-value.exp
8742 * gdb.reverse/solib-precsave.exp
8743 * gdb.reverse/solib-reverse.exp
8744 * gdb.server/solib-list.exp
8745 * gdb.stabs/weird.exp
8746 * gdb.threads/reconnect-signal.exp
8747 * gdb.threads/stepi-random-signal.exp
8748 * gdb.trace/actions.exp
8749 * gdb.trace/ax.exp
8750 * gdb.trace/backtrace.exp
8751 * gdb.trace/change-loc.exp
8752 * gdb.trace/deltrace.exp
8753 * gdb.trace/ftrace-lock.exp
8754 * gdb.trace/ftrace.exp
8755 * gdb.trace/infotrace.exp
8756 * gdb.trace/mi-tracepoint-changed.exp
8757 * gdb.trace/packetlen.exp
8758 * gdb.trace/passcount.exp
8759 * gdb.trace/pending.exp
8760 * gdb.trace/range-stepping.exp
8761 * gdb.trace/report.exp
8762 * gdb.trace/stap-trace.exp
8763 * gdb.trace/tfind.exp
8764 * gdb.trace/trace-break.exp
8765 * gdb.trace/trace-condition.exp
8766 * gdb.trace/trace-enable-disable.exp
8767 * gdb.trace/trace-mt.exp
8768 * gdb.trace/tracecmd.exp
8769 * gdb.trace/tspeed.exp
8770 * gdb.trace/tsv.exp
8771 * lib/perftest.exp
8772
8773 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8774
8775 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
8776 with gdb_test_no_output.
8777 Use command as test name.
8778
8779 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8780
8781 Fix test names starting with uppercase throughout the files.
8782
8783 * gdb.ada/assign_1.exp
8784 * gdb.ada/boolean_expr.exp
8785 * gdb.base/arrayidx.exp
8786 * gdb.base/del.exp
8787 * gdb.base/gcore-buffer-overflow.exp
8788 * gdb.base/testenv.exp
8789 * gdb.compile/compile.exp
8790 * gdb.python/py-framefilter-invalidarg.exp
8791 * gdb.python/py-framefilter.exp
8792
8793 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8794
8795 Fix test names starting with uppercase throughout the files.
8796
8797 * gdb.ada/array_return.exp
8798 * gdb.ada/expr_delims.exp
8799 * gdb.ada/mi_dyn_arr.exp
8800 * gdb.ada/mi_interface.exp
8801 * gdb.ada/mi_var_array.exp
8802 * gdb.ada/watch_arg.exp
8803 * gdb.arch/alpha-step.exp
8804 * gdb.arch/altivec-regs.exp
8805 * gdb.arch/e500-regs.exp
8806 * gdb.arch/powerpc-d128-regs.exp
8807 * gdb.base/arrayidx.exp
8808 * gdb.base/break.exp
8809 * gdb.base/checkpoint.exp
8810 * gdb.base/debug-expr.exp
8811 * gdb.base/dmsym.exp
8812 * gdb.base/radix.exp
8813 * gdb.base/sepdebug.exp
8814 * gdb.base/testenv.exp
8815 * gdb.base/watch_thread_num.exp
8816 * gdb.base/watchpoint-cond-gone.exp
8817 * gdb.cell/break.exp
8818 * gdb.cell/ea-cache.exp
8819 * gdb.compile/compile.exp
8820 * gdb.cp/gdb2495.exp
8821 * gdb.gdb/selftest.exp
8822 * gdb.gdb/xfullpath.exp
8823 * gdb.go/hello.exp
8824 * gdb.go/integers.exp
8825 * gdb.objc/basicclass.exp
8826 * gdb.pascal/hello.exp
8827 * gdb.pascal/integers.exp
8828 * gdb.python/py-breakpoint.exp
8829 * gdb.python/py-cmd.exp
8830 * gdb.python/py-linetable.exp
8831 * gdb.python/py-xmethods.exp
8832 * gdb.python/python.exp
8833 * gdb.reverse/consecutive-precsave.exp
8834 * gdb.reverse/finish-precsave.exp
8835 * gdb.reverse/i386-precsave.exp
8836 * gdb.reverse/machinestate-precsave.exp
8837 * gdb.reverse/sigall-precsave.exp
8838 * gdb.reverse/solib-precsave.exp
8839 * gdb.reverse/step-precsave.exp
8840 * gdb.reverse/until-precsave.exp
8841 * gdb.reverse/watch-precsave.exp
8842 * gdb.threads/leader-exit.exp
8843 * gdb.threads/pthreads.exp
8844 * gdb.threads/wp-replication.exp
8845 * gdb.trace/actions.exp
8846 * gdb.trace/mi-tsv-changed.exp
8847 * gdb.trace/tsv.exp
8848
8849 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8850
8851 Fix test names starting with uppercase throughout the files.
8852
8853 * gdb.arch/i386-bp_permanent.exp
8854 * gdb.arch/i386-gnu-cfi.exp
8855 * gdb.base/disasm-end-cu.exp
8856 * gdb.base/macscp.exp
8857 * gdb.base/pending.exp
8858 * gdb.base/watch_thread_num.exp
8859 * gdb.cp/exception.exp
8860 * gdb.cp/gdb2495.exp
8861 * gdb.cp/local.exp
8862 * gdb.python/py-evsignal.exp
8863 * gdb.python/python.exp
8864 * gdb.trace/tracecmd.exp
8865
8866 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8867
8868 Fix test names starting with uppercase throughout the files.
8869
8870 * gdb.base/charset.exp
8871 * gdb.base/eval.exp
8872 * gdb.base/multi-forks.exp
8873 * gdb.guile/scm-progspace.exp
8874 * gdb.opencl/datatypes.exp
8875 * gdb.python/py-block.exp
8876 * gdb.python/py-function.exp
8877 * gdb.python/py-symbol.exp
8878 * gdb.python/py-symtab.exp
8879 * gdb.python/py-xmethods.exp
8880 * gdb.reverse/break-precsave.exp
8881 * gdb.reverse/break-reverse.exp
8882 * gdb.reverse/consecutive-precsave.exp
8883 * gdb.reverse/consecutive-reverse.exp
8884 * gdb.reverse/finish-precsave.exp
8885 * gdb.reverse/finish-reverse-bkpt.exp
8886 * gdb.reverse/finish-reverse.exp
8887 * gdb.reverse/fstatat-reverse.exp
8888 * gdb.reverse/getresuid-reverse.exp
8889 * gdb.reverse/i386-precsave.exp
8890 * gdb.reverse/i386-reverse.exp
8891 * gdb.reverse/i386-sse-reverse.exp
8892 * gdb.reverse/i387-stack-reverse.exp
8893 * gdb.reverse/insn-reverse.exp
8894 * gdb.reverse/machinestate-precsave.exp
8895 * gdb.reverse/machinestate.exp
8896 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8897 * gdb.reverse/pipe-reverse.exp
8898 * gdb.reverse/readv-reverse.exp
8899 * gdb.reverse/recvmsg-reverse.exp
8900 * gdb.reverse/rerun-prec.exp
8901 * gdb.reverse/s390-mvcle.exp
8902 * gdb.reverse/sigall-precsave.exp
8903 * gdb.reverse/sigall-reverse.exp
8904 * gdb.reverse/solib-precsave.exp
8905 * gdb.reverse/solib-reverse.exp
8906 * gdb.reverse/step-precsave.exp
8907 * gdb.reverse/step-reverse.exp
8908 * gdb.reverse/time-reverse.exp
8909 * gdb.reverse/until-precsave.exp
8910 * gdb.reverse/until-reverse.exp
8911 * gdb.reverse/waitpid-reverse.exp
8912 * gdb.reverse/watch-precsave.exp
8913 * gdb.reverse/watch-reverse.exp
8914
8915 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8916
8917 Fix test names starting with uppercase throughout the files.
8918
8919 * gdb.arch/i386-mpx-simple_segv.exp
8920 * gdb.arch/i386-mpx.exp
8921 * gdb.arch/i386-permbkpt.exp
8922 * gdb.arch/pa-nullify.exp
8923 * gdb.arch/powerpc-d128-regs.exp
8924 * gdb.arch/vsx-regs.exp
8925 * gdb.base/bfp-test.exp
8926 * gdb.base/break.exp
8927 * gdb.base/breakpoint-shadow.exp
8928 * gdb.base/callfuncs.exp
8929 * gdb.base/charset.exp
8930 * gdb.base/commands.exp
8931 * gdb.base/completion.exp
8932 * gdb.base/dfp-test.exp
8933 * gdb.base/echo.exp
8934 * gdb.base/ending-run.exp
8935 * gdb.base/eval.exp
8936 * gdb.base/expand-psymtabs.exp
8937 * gdb.base/float128.exp
8938 * gdb.base/floatn.exp
8939 * gdb.base/foll-exec-mode.exp
8940 * gdb.base/gdb1056.exp
8941 * gdb.base/gdb11531.exp
8942 * gdb.base/kill-after-signal.exp
8943 * gdb.base/multi-forks.exp
8944 * gdb.base/overlays.exp
8945 * gdb.base/pending.exp
8946 * gdb.base/sepdebug.exp
8947 * gdb.base/testenv.exp
8948 * gdb.base/valgrind-db-attach.exp
8949 * gdb.base/watch_thread_num.exp
8950 * gdb.base/watchpoint-cond-gone.exp
8951 * gdb.base/watchpoint.exp
8952 * gdb.base/watchpoints.exp
8953 * gdb.cp/arg-reference.exp
8954 * gdb.cp/baseenum.exp
8955 * gdb.cp/operator.exp
8956 * gdb.cp/shadow.exp
8957 * gdb.dwarf2/dw2-op-out-param.exp
8958 * gdb.dwarf2/dw2-reg-undefined.exp
8959 * gdb.go/chan.exp
8960 * gdb.go/hello.exp
8961 * gdb.go/integers.exp
8962 * gdb.go/methods.exp
8963 * gdb.go/package.exp
8964 * gdb.guile/scm-parameter.exp
8965 * gdb.guile/scm-progspace.exp
8966 * gdb.guile/scm-value.exp
8967 * gdb.mi/mi-pending.exp
8968 * gdb.mi/user-selected-context-sync.exp
8969 * gdb.multi/multi-attach.exp
8970 * gdb.multi/tids.exp
8971 * gdb.opt/clobbered-registers-O2.exp
8972 * gdb.pascal/floats.exp
8973 * gdb.pascal/integers.exp
8974 * gdb.python/py-block.exp
8975 * gdb.python/py-events.exp
8976 * gdb.python/py-parameter.exp
8977 * gdb.python/py-symbol.exp
8978 * gdb.python/py-symtab.exp
8979 * gdb.python/py-type.exp
8980 * gdb.python/py-value.exp
8981 * gdb.python/py-xmethods.exp
8982 * gdb.python/python.exp
8983 * gdb.reverse/break-precsave.exp
8984 * gdb.reverse/consecutive-precsave.exp
8985 * gdb.reverse/finish-precsave.exp
8986 * gdb.reverse/i386-precsave.exp
8987 * gdb.reverse/machinestate-precsave.exp
8988 * gdb.reverse/sigall-precsave.exp
8989 * gdb.reverse/solib-precsave.exp
8990 * gdb.reverse/step-precsave.exp
8991 * gdb.reverse/until-precsave.exp
8992 * gdb.reverse/watch-precsave.exp
8993 * gdb.server/ext-attach.exp
8994 * gdb.server/ext-restart.exp
8995 * gdb.server/ext-run.exp
8996 * gdb.server/ext-wrapper.exp
8997 * gdb.stabs/gdb11479.exp
8998 * gdb.stabs/weird.exp
8999 * gdb.threads/attach-many-short-lived-threads.exp
9000 * gdb.threads/kill.exp
9001 * gdb.threads/watchpoint-fork.exp
9002
9003 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9004
9005 Fix test names starting with uppercase throughout all the files below.
9006
9007 * gdb.ada/array_return.exp
9008 * gdb.ada/catch_ex.exp
9009 * gdb.ada/info_exc.exp
9010 * gdb.ada/mi_catch_ex.exp
9011 * gdb.ada/mi_dyn_arr.exp
9012 * gdb.ada/mi_ex_cond.exp
9013 * gdb.ada/mi_exc_info.exp
9014 * gdb.ada/mi_interface.exp
9015 * gdb.ada/mi_task_arg.exp
9016 * gdb.ada/mi_task_info.exp
9017 * gdb.ada/mi_var_array.exp
9018 * gdb.arch/alpha-step.exp
9019 * gdb.arch/amd64-disp-step.exp
9020 * gdb.arch/arm-disp-step.exp
9021 * gdb.arch/disp-step-insn-reloc.exp
9022 * gdb.arch/e500-prologue.exp
9023 * gdb.arch/ftrace-insn-reloc.exp
9024 * gdb.arch/gdb1558.exp
9025 * gdb.arch/i386-bp_permanent.exp
9026 * gdb.arch/i386-disp-step.exp
9027 * gdb.arch/i386-float.exp
9028 * gdb.arch/i386-gnu-cfi.exp
9029 * gdb.arch/ia64-breakpoint-shadow.exp
9030 * gdb.arch/mips16-thunks.exp
9031 * gdb.arch/pa-nullify.exp
9032 * gdb.arch/powerpc-aix-prologue.exp
9033 * gdb.arch/powerpc-power.exp
9034 * gdb.arch/ppc-dfp.exp
9035 * gdb.arch/s390-tdbregs.exp
9036 * gdb.arch/spu-info.exp
9037 * gdb.arch/spu-ls.exp
9038 * gdb.arch/thumb-bx-pc.exp
9039 * gdb.base/advance.exp
9040 * gdb.base/annota-input-while-running.exp
9041 * gdb.base/arrayidx.exp
9042 * gdb.base/asmlabel.exp
9043 * gdb.base/async.exp
9044 * gdb.base/attach-wait-input.exp
9045 * gdb.base/auto-connect-native-target.exp
9046 * gdb.base/batch-preserve-term-settings.exp
9047 * gdb.base/bfp-test.exp
9048 * gdb.base/bigcore.exp
9049 * gdb.base/bp-permanent.exp
9050 * gdb.base/break-always.exp
9051 * gdb.base/break-fun-addr.exp
9052 * gdb.base/break-idempotent.exp
9053 * gdb.base/break-main-file-remove-fail.exp
9054 * gdb.base/break-probes.exp
9055 * gdb.base/break-unload-file.exp
9056 * gdb.base/break.exp
9057 * gdb.base/call-ar-st.exp
9058 * gdb.base/call-rt-st.exp
9059 * gdb.base/call-sc.exp
9060 * gdb.base/call-signal-resume.exp
9061 * gdb.base/call-strs.exp
9062 * gdb.base/callexit.exp
9063 * gdb.base/callfuncs.exp
9064 * gdb.base/catch-gdb-caused-signals.exp
9065 * gdb.base/catch-signal-siginfo-cond.exp
9066 * gdb.base/catch-syscall.exp
9067 * gdb.base/compare-sections.exp
9068 * gdb.base/cond-eval-mode.exp
9069 * gdb.base/condbreak-call-false.exp
9070 * gdb.base/consecutive-step-over.exp
9071 * gdb.base/cursal.exp
9072 * gdb.base/disabled-location.exp
9073 * gdb.base/disasm-end-cu.exp
9074 * gdb.base/display.exp
9075 * gdb.base/double-prompt-target-event-error.exp
9076 * gdb.base/dprintf-bp-same-addr.exp
9077 * gdb.base/dprintf-detach.exp
9078 * gdb.base/dprintf-next.exp
9079 * gdb.base/dprintf-non-stop.exp
9080 * gdb.base/dprintf-pending.exp
9081 * gdb.base/dso2dso.exp
9082 * gdb.base/ending-run.exp
9083 * gdb.base/enum_cond.exp
9084 * gdb.base/examine-backward.exp
9085 * gdb.base/exe-lock.exp
9086 * gdb.base/exec-invalid-sysroot.exp
9087 * gdb.base/execl-update-breakpoints.exp
9088 * gdb.base/execution-termios.exp
9089 * gdb.base/fileio.exp
9090 * gdb.base/fixsection.exp
9091 * gdb.base/foll-exec-mode.exp
9092 * gdb.base/foll-exec.exp
9093 * gdb.base/fork-running-state.exp
9094 * gdb.base/frame-args.exp
9095 * gdb.base/fullpath-expand.exp
9096 * gdb.base/func-ptr.exp
9097 * gdb.base/gcore-relro-pie.exp
9098 * gdb.base/gdb1090.exp
9099 * gdb.base/gdb1555.exp
9100 * gdb.base/global-var-nested-by-dso.exp
9101 * gdb.base/gnu-ifunc.exp
9102 * gdb.base/hbreak-in-shr-unsupported.exp
9103 * gdb.base/hbreak-unmapped.exp
9104 * gdb.base/hook-stop.exp
9105 * gdb.base/infcall-input.exp
9106 * gdb.base/info-fun.exp
9107 * gdb.base/info-shared.exp
9108 * gdb.base/interrupt-noterm.exp
9109 * gdb.base/jit-so.exp
9110 * gdb.base/jit.exp
9111 * gdb.base/line-symtabs.exp
9112 * gdb.base/list.exp
9113 * gdb.base/longjmp.exp
9114 * gdb.base/macscp.exp
9115 * gdb.base/max-value-size.exp
9116 * gdb.base/nodebug.exp
9117 * gdb.base/nofield.exp
9118 * gdb.base/overlays.exp
9119 * gdb.base/paginate-after-ctrl-c-running.exp
9120 * gdb.base/paginate-bg-execution.exp
9121 * gdb.base/paginate-inferior-exit.exp
9122 * gdb.base/pending.exp
9123 * gdb.base/pr11022.exp
9124 * gdb.base/printcmds.exp
9125 * gdb.base/ptr-typedef.exp
9126 * gdb.base/ptype.exp
9127 * gdb.base/randomize.exp
9128 * gdb.base/range-stepping.exp
9129 * gdb.base/realname-expand.exp
9130 * gdb.base/relativedebug.exp
9131 * gdb.base/remote.exp
9132 * gdb.base/savedregs.exp
9133 * gdb.base/sepdebug.exp
9134 * gdb.base/set-noassign.exp
9135 * gdb.base/shlib-call.exp
9136 * gdb.base/shreloc.exp
9137 * gdb.base/sigaltstack.exp
9138 * gdb.base/sigbpt.exp
9139 * gdb.base/siginfo-addr.exp
9140 * gdb.base/siginfo-obj.exp
9141 * gdb.base/siginfo-thread.exp
9142 * gdb.base/signest.exp
9143 * gdb.base/signull.exp
9144 * gdb.base/sigrepeat.exp
9145 * gdb.base/skip.exp
9146 * gdb.base/so-impl-ld.exp
9147 * gdb.base/solib-corrupted.exp
9148 * gdb.base/solib-disc.exp
9149 * gdb.base/solib-display.exp
9150 * gdb.base/solib-overlap.exp
9151 * gdb.base/solib-search.exp
9152 * gdb.base/solib-symbol.exp
9153 * gdb.base/source-execution.exp
9154 * gdb.base/sss-bp-on-user-bp-2.exp
9155 * gdb.base/sss-bp-on-user-bp.exp
9156 * gdb.base/stack-checking.exp
9157 * gdb.base/stale-infcall.exp
9158 * gdb.base/step-break.exp
9159 * gdb.base/step-line.exp
9160 * gdb.base/step-over-exit.exp
9161 * gdb.base/step-test.exp
9162 * gdb.base/structs.exp
9163 * gdb.base/sym-file.exp
9164 * gdb.base/symtab-search-order.exp
9165 * gdb.base/term.exp
9166 * gdb.base/type-opaque.exp
9167 * gdb.base/unload.exp
9168 * gdb.base/until-nodebug.exp
9169 * gdb.base/until.exp
9170 * gdb.base/unwindonsignal.exp
9171 * gdb.base/watch-cond.exp
9172 * gdb.base/watch-non-mem.exp
9173 * gdb.base/watch_thread_num.exp
9174 * gdb.base/watchpoint-reuse-slot.exp
9175 * gdb.base/watchpoint-solib.exp
9176 * gdb.base/watchpoint.exp
9177 * gdb.btrace/dlopen.exp
9178 * gdb.cell/arch.exp
9179 * gdb.cell/break.exp
9180 * gdb.cell/bt.exp
9181 * gdb.cell/core.exp
9182 * gdb.cell/data.exp
9183 * gdb.cell/dwarfaddr.exp
9184 * gdb.cell/ea-cache.exp
9185 * gdb.cell/ea-standalone.exp
9186 * gdb.cell/ea-test.exp
9187 * gdb.cell/f-regs.exp
9188 * gdb.cell/fork.exp
9189 * gdb.cell/gcore.exp
9190 * gdb.cell/mem-access.exp
9191 * gdb.cell/ptype.exp
9192 * gdb.cell/registers.exp
9193 * gdb.cell/sizeof.exp
9194 * gdb.cell/solib-symbol.exp
9195 * gdb.cell/solib.exp
9196 * gdb.compile/compile-tls.exp
9197 * gdb.cp/exception.exp
9198 * gdb.cp/gdb2495.exp
9199 * gdb.cp/local.exp
9200 * gdb.cp/mb-inline.exp
9201 * gdb.cp/mb-templates.exp
9202 * gdb.cp/pr10687.exp
9203 * gdb.cp/pr9167.exp
9204 * gdb.cp/scope-err.exp
9205 * gdb.cp/templates.exp
9206 * gdb.cp/virtfunc.exp
9207 * gdb.dwarf2/dw2-dir-file-name.exp
9208 * gdb.dwarf2/dw2-single-line-discriminators.exp
9209 * gdb.fortran/complex.exp
9210 * gdb.fortran/library-module.exp
9211 * gdb.guile/guile.exp
9212 * gdb.guile/scm-cmd.exp
9213 * gdb.guile/scm-frame-inline.exp
9214 * gdb.guile/scm-objfile.exp
9215 * gdb.guile/scm-pretty-print.exp
9216 * gdb.guile/scm-symbol.exp
9217 * gdb.guile/scm-type.exp
9218 * gdb.guile/scm-value.exp
9219 * gdb.linespec/keywords.exp
9220 * gdb.linespec/ls-errs.exp
9221 * gdb.linespec/macro-relative.exp
9222 * gdb.linespec/thread.exp
9223 * gdb.mi/mi-breakpoint-changed.exp
9224 * gdb.mi/mi-dprintf-pending.exp
9225 * gdb.mi/mi-fullname-deleted.exp
9226 * gdb.mi/mi-logging.exp
9227 * gdb.mi/mi-pending.exp
9228 * gdb.mi/mi-solib.exp
9229 * gdb.mi/new-ui-mi-sync.exp
9230 * gdb.mi/user-selected-context-sync.exp
9231 * gdb.multi/dummy-frame-restore.exp
9232 * gdb.multi/multi-arch-exec.exp
9233 * gdb.multi/remove-inferiors.exp
9234 * gdb.multi/watchpoint-multi-exit.exp
9235 * gdb.opt/solib-intra-step.exp
9236 * gdb.perf/backtrace.exp
9237 * gdb.perf/single-step.exp
9238 * gdb.perf/skip-command.exp
9239 * gdb.perf/skip-prologue.exp
9240 * gdb.perf/solib.exp
9241 * gdb.python/lib-types.exp
9242 * gdb.python/py-as-string.exp
9243 * gdb.python/py-bad-printers.exp
9244 * gdb.python/py-block.exp
9245 * gdb.python/py-breakpoint.exp
9246 * gdb.python/py-cmd.exp
9247 * gdb.python/py-events.exp
9248 * gdb.python/py-evthreads.exp
9249 * gdb.python/py-finish-breakpoint.exp
9250 * gdb.python/py-finish-breakpoint2.exp
9251 * gdb.python/py-frame-inline.exp
9252 * gdb.python/py-frame.exp
9253 * gdb.python/py-inferior.exp
9254 * gdb.python/py-infthread.exp
9255 * gdb.python/py-mi.exp
9256 * gdb.python/py-objfile.exp
9257 * gdb.python/py-pp-maint.exp
9258 * gdb.python/py-pp-registration.exp
9259 * gdb.python/py-prettyprint.exp
9260 * gdb.python/py-recurse-unwind.exp
9261 * gdb.python/py-shared.exp
9262 * gdb.python/py-symbol.exp
9263 * gdb.python/py-symtab.exp
9264 * gdb.python/py-template.exp
9265 * gdb.python/py-type.exp
9266 * gdb.python/py-unwind-maint.exp
9267 * gdb.python/py-unwind.exp
9268 * gdb.python/py-value.exp
9269 * gdb.python/python.exp
9270 * gdb.reverse/finish-reverse-bkpt.exp
9271 * gdb.reverse/insn-reverse.exp
9272 * gdb.reverse/next-reverse-bkpt-over-sr.exp
9273 * gdb.reverse/solib-precsave.exp
9274 * gdb.reverse/solib-reverse.exp
9275 * gdb.stabs/gdb11479.exp
9276 * gdb.stabs/weird.exp
9277 * gdb.threads/fork-child-threads.exp
9278 * gdb.threads/fork-plus-threads.exp
9279 * gdb.threads/fork-thread-pending.exp
9280 * gdb.threads/forking-threads-plus-breakpoint.exp
9281 * gdb.threads/hand-call-in-threads.exp
9282 * gdb.threads/interrupted-hand-call.exp
9283 * gdb.threads/linux-dp.exp
9284 * gdb.threads/local-watch-wrong-thread.exp
9285 * gdb.threads/next-while-other-thread-longjmps.exp
9286 * gdb.threads/non-ldr-exit.exp
9287 * gdb.threads/pending-step.exp
9288 * gdb.threads/print-threads.exp
9289 * gdb.threads/process-dies-while-detaching.exp
9290 * gdb.threads/process-dies-while-handling-bp.exp
9291 * gdb.threads/pthreads.exp
9292 * gdb.threads/queue-signal.exp
9293 * gdb.threads/reconnect-signal.exp
9294 * gdb.threads/signal-command-handle-nopass.exp
9295 * gdb.threads/signal-command-multiple-signals-pending.exp
9296 * gdb.threads/signal-delivered-right-thread.exp
9297 * gdb.threads/signal-sigtrap.exp
9298 * gdb.threads/sigthread.exp
9299 * gdb.threads/staticthreads.exp
9300 * gdb.threads/stepi-random-signal.exp
9301 * gdb.threads/thread-unwindonsignal.exp
9302 * gdb.threads/thread_check.exp
9303 * gdb.threads/thread_events.exp
9304 * gdb.threads/tid-reuse.exp
9305 * gdb.threads/tls-nodebug.exp
9306 * gdb.threads/tls-shared.exp
9307 * gdb.threads/tls-so_extern.exp
9308 * gdb.threads/tls.exp
9309 * gdb.threads/wp-replication.exp
9310 * gdb.trace/actions-changed.exp
9311 * gdb.trace/actions.exp
9312 * gdb.trace/backtrace.exp
9313 * gdb.trace/change-loc.exp
9314 * gdb.trace/collection.exp
9315 * gdb.trace/deltrace.exp
9316 * gdb.trace/disconnected-tracing.exp
9317 * gdb.trace/entry-values.exp
9318 * gdb.trace/ftrace-lock.exp
9319 * gdb.trace/ftrace.exp
9320 * gdb.trace/infotrace.exp
9321 * gdb.trace/mi-trace-frame-collected.exp
9322 * gdb.trace/mi-trace-unavailable.exp
9323 * gdb.trace/mi-traceframe-changed.exp
9324 * gdb.trace/mi-tracepoint-changed.exp
9325 * gdb.trace/mi-tsv-changed.exp
9326 * gdb.trace/no-attach-trace.exp
9327 * gdb.trace/packetlen.exp
9328 * gdb.trace/passc-dyn.exp
9329 * gdb.trace/passcount.exp
9330 * gdb.trace/pending.exp
9331 * gdb.trace/pr16508.exp
9332 * gdb.trace/qtro.exp
9333 * gdb.trace/range-stepping.exp
9334 * gdb.trace/read-memory.exp
9335 * gdb.trace/report.exp
9336 * gdb.trace/save-trace.exp
9337 * gdb.trace/signal.exp
9338 * gdb.trace/stap-trace.exp
9339 * gdb.trace/status-stop.exp
9340 * gdb.trace/strace.exp
9341 * gdb.trace/tfile.exp
9342 * gdb.trace/tfind.exp
9343 * gdb.trace/trace-break.exp
9344 * gdb.trace/trace-condition.exp
9345 * gdb.trace/trace-enable-disable.exp
9346 * gdb.trace/trace-mt.exp
9347 * gdb.trace/tracecmd.exp
9348 * gdb.trace/tracefile-pseudo-reg.exp
9349 * gdb.trace/tspeed.exp
9350 * gdb.trace/tstatus.exp
9351 * gdb.trace/tsv.exp
9352 * gdb.trace/unavailable.exp
9353 * gdb.trace/while-dyn.exp
9354 * gdb.trace/while-stepping.exp
9355 * lib/gdb-guile.exp
9356 * lib/gdb.exp
9357 * lib/mi-support.exp
9358 * lib/pascal.exp
9359 * lib/perftest.exp
9360 * lib/prelink-support.exp
9361 * lib/selftest-support.exp
9362
9363 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
9364
9365 * Makefile.in: Include disable-implicit-rules.mk.
9366
9367 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9368
9369 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
9370 non-byte-aligned bit fields.
9371
9372 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9373
9374 PR gdb/12616
9375 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
9376 respects the DW_AT_data_bit_offset attribute.
9377
9378 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
9379
9380 * gdb.base/default.exp: Fix output of "set language".
9381
9382 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
9383
9384 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
9385 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
9386 make.
9387 * configure.ac: Remove checks for the make program.
9388 * configure: Re-generate.
9389
9390 2016-11-16 Kevin Buettner <kevinb@redhat.com>
9391
9392 * gdb.python/py-recurse-unwind.c (main): Add loop.
9393 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
9394 to read_register() and gdb.parse_and_eval(). Make each code
9395 call a separate case that can be individually tested.
9396 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
9397 proc. Call cont_and_backtrace for each of the code paths that
9398 we want to test in the unwinder.
9399
9400 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
9401
9402 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
9403 the definition of struct S.
9404
9405 2016-11-11 Catherine Moore <clm@codesourcery.com>
9406
9407 * gdb.base/dump.exp: Identify verilog format dump tests as such.
9408
9409 2016-11-09 Pedro Alves <palves@redhat.com>
9410
9411 * gdb.base/commands.exp (runto_or_return): New procedure.
9412 (gdbvar_simple_if_test, gdbvar_simple_while_test)
9413 (gdbvar_complex_if_while_test, progvar_simple_if_test)
9414 (progvar_simple_while_test, progvar_complex_if_while_test)
9415 (if_while_breakpoint_command_test)
9416 (infrun_breakpoint_command_test, breakpoint_command_test)
9417 (user_defined_command_test, watchpoint_command_test)
9418 (test_command_prompt_position, redefine_hook_test)
9419 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
9420 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
9421 multi_line_input and multi_line. Remove gdb_expect and
9422 gdb_stop_suppressing_tests uses.
9423 * lib/gdb.exp (valnum_re): New global.
9424 (multi_line_input): New procedure.
9425
9426 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
9427
9428 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
9429 Remove.
9430 (test_setup): Define with proc_with_prefix.
9431 (test_cli_inferior): Likewise.
9432 (test_cli_thread): Likewise.
9433 (test_cli_frame): Likewise.
9434 (test_cli_select_frame): Likewise.
9435 (test_cli_up_down): Likewise.
9436 (test_mi_thread_select): Likewise.
9437 (test_mi_stack_select_frame): Likewise.
9438 (test_cli_in_mi_inferior): Likewise.
9439 (test_cli_in_mi_thread): Likewise.
9440 (test_cli_in_mi_frame): Likewise.
9441 (top level): Do not use with_test_prefix_procname.
9442
9443 2016-11-09 Pedro Alves <palves@redhat.com>
9444
9445 * gdb.base/commands.exp (gdbvar_simple_if_test)
9446 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
9447 (progvar_simple_if_test, progvar_simple_while_test)
9448 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
9449 (infrun_breakpoint_command_test, breakpoint_command_test)
9450 (user_defined_command_test, watchpoint_command_test)
9451 (test_command_prompt_position, deprecated_command_test)
9452 (bp_deleted_in_command, temporary_breakpoint_commands)
9453 (stray_arg0_test, source_file_with_indented_comment)
9454 (recursive_source_test, if_commands_test)
9455 (error_clears_commands_left, redefine_hook_test)
9456 (redefine_backtrace_test): Use proc_with_prefix.
9457 * lib/gdb.exp (proc_with_prefix): New proc.
9458
9459 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
9460
9461 * gdb.base/tui-layout.c: New file.
9462 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
9463 disassembly window contains very long lines.
9464
9465 2016-11-08 Tom Tromey <tom@tromey.com>
9466
9467 * gdb.python/py-value.exp (test_value_creation): Make "long" test
9468 depend on Python 2.
9469
9470 2016-11-08 Tom Tromey <tom@tromey.com>
9471
9472 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
9473 New method.
9474
9475 2016-10-29 Manish Goregaokar <manish@mozilla.com>
9476
9477 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
9478
9479 2016-10-27 Manish Goregaokar <manish@mozilla.com>
9480
9481 * gdb.rust/simple.rs: Add test for univariant enums without
9482 discriminants and for encoded struct-like enums.
9483
9484 2016-10-28 Pedro Alves <palves@redhat.com>
9485
9486 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
9487 gdb_test_multiple, tighten regexps and match symtabs and line
9488 tables incrementally.
9489
9490 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
9491
9492 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
9493 general.
9494
9495 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
9496
9497 * gdb.base/exec-invalid-sysroot.exp: New file.
9498
9499 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9500
9501 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
9502
9503 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9504
9505 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
9506
9507 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
9508
9509 * gdb.base/killed-outside.exp: Remove $options from a call to
9510 `prepare_for_testing'.
9511
9512 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9513
9514 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
9515 Change test message.
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 Update comment.
9521
9522 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9523
9524 * gdb.trace/mi-trace-save.exp: New file.
9525
9526 2016-10-13 Yao Qi <yao.qi@linaro.org>
9527
9528 * gdb.base/code_elim.exp (get_var_address): Remove.
9529 * gdb.base/relocate.exp: Likewise.
9530 * gdb.base/shreloc.exp: Likewise.
9531 * lib/gdb.exp (get_var_address): New.
9532
9533 2016-10-13 Yao Qi <yao.qi@linaro.org>
9534
9535 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
9536 floating point tests if $skip_float_test is false.
9537
9538 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
9539
9540 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
9541 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
9542 argc values.
9543 Add 1 to argc so we guarantee distinct initial/modified argc values.
9544
9545 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9546
9547 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
9548
9549 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9550
9551 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
9552 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
9553 * gdb.arch/vsx-regs.exp: Likewise.
9554
9555 2016-10-07 Yao Qi <yao.qi@linaro.org>
9556
9557 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
9558
9559 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
9560
9561 * gdb.python/python.exp: Test decode_line("*0").
9562
9563 2016-10-06 Doug Evans <dje@google.com>
9564
9565 * gdb.python/py-value.exp (test_value_creation): Add test for large
9566 unsigned 64-bit value.
9567
9568 2016-10-06 Tom Tromey <tom@tromey.com>
9569
9570 * gdb.compile/compile.exp: Change java tests to rust.
9571 * gdb.base/setshow.exp: Change java tests to rust.
9572 * gdb.base/default.exp: Remove java from language list.
9573 * README (Examples): Update language example.
9574 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
9575 test.
9576 * lib/gdb.exp (skip_java_tests): Remove.
9577 * lib/java.exp: Remove.
9578 * gdb.java: Remove.
9579
9580 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
9581
9582 * gdb.arch/mips-fcr.exp: New test.
9583 * gdb.arch/mips-fcr.c: Source for the new test.
9584
9585 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
9586
9587 * gdb.base/solib-disc.exp: Use `standard_output_file'
9588 throughout.
9589
9590 2016-10-06 Pedro Alves <palves@redhat.com>
9591
9592 * gdb.base/jit-simple-dl.c: New file.
9593 * gdb.base/jit-simple-jit.c: New file, factored out from ...
9594 * gdb.base/jit-simple.c: ... this.
9595 * gdb.base/jit-simple.exp (jit_run): Delete.
9596 (build_jit): New proc.
9597 (jit_test_reread): Recompile either the main program or the shared
9598 library, depending on what is being tested. Skip changing address
9599 if caller wants to. Compare before/after addresses. If testing
9600 standalone, explicitly load the binary. Test "maint info
9601 breakpoints".
9602 (top level): Add "standalone vs shared lib" and "change address"
9603 vs "same address" axes.
9604
9605 2016-10-06 Pedro Alves <palves@redhat.com>
9606
9607 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
9608 call.
9609 (jit_run): Delete.
9610 (jit_test_reread): Use with_test_prefix. Reload the main binary
9611 explicitly. Compare the before/after addresses of the JIT
9612 descriptor.
9613
9614 2016-08-15 Doug Evans <dje@google.com>
9615
9616 * gdb.xml/extra-regs.xml: Update, end field now required, default type
9617 for single bitfields is bool.
9618 * gdb.xml/tdesc-regs.exp: Ditto.
9619
9620 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9621
9622 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
9623
9624 2016-10-05 Yao Qi <yao.qi@linaro.org>
9625
9626 * lib/gdb.exp (support_complex_tests): Return zero if
9627 gdb_skip_float_test return true.
9628
9629 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
9630 Simon Marchi <simon.marchi@ericsson.com>
9631
9632 PR gdb/20487
9633 * gdb.mi/user-selected-context-sync.exp: New file.
9634 * gdb.mi/user-selected-context-sync.c: New file.
9635
9636 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
9637 Simon Marchi <simon.marchi@ericsson.com>
9638
9639 PR gdb/20487
9640 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
9641 =thread-select-event check.
9642
9643 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
9644
9645 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
9646 the compulsory L operand changes.
9647 * gdb.arch/powerpc-power.s: Likewise.
9648
9649 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9650
9651 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
9652 * gdb.base/jit-attach-pie.c: New file.
9653 * gdb.base/jit-attach-pie.exp: New file.
9654
9655 2016-09-28 Pedro Alves <palves@redhat.com>
9656
9657 * gdb.base/infcall-input.c: New file.
9658 * gdb.base/infcall-input.exp: New file.
9659
9660 2016-09-22 Yao Qi <yao.qi@linaro.org>
9661
9662 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
9663 (gdb_exit): Rename it to ...
9664 (gdbserver_gdb_exit): ... Close GDBserver.
9665 (gdb_exit): New proc, call gdbserver_gdb_exit.
9666 (mi_gdb_exit): Likewise.
9667
9668 2016-09-22 Yao Qi <yao.qi@linaro.org>
9669
9670 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
9671 path.
9672 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
9673 Remove duplication.
9674
9675 2016-09-22 Yao Qi <yao.qi@linaro.org>
9676
9677 * lib/gdbserver-support.exp: Check the existence of
9678 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
9679
9680 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
9681
9682 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
9683
9684 2016-09-21 Tom Tromey <tom@tromey.com>
9685
9686 PR gdb/20604:
9687 * gdb.base/quit.exp: New file.
9688
9689 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
9690
9691 * .gitignore: New file.
9692
9693 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
9694
9695 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
9696 throughout.
9697
9698 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9699
9700 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
9701
9702 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9703
9704 * gdb.cp/casts.cc (decltype): Move it ...
9705 (main): ... with its call to ...
9706 * gdb.cp/casts03.cc: ... a new file.
9707 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
9708
9709 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9710
9711 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
9712
9713 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
9714
9715 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
9716 and sync up the test with tests in gas/testsuite/gas/ppc.
9717 * gdb.arch/powerpc-power.exp: Likewise.
9718
9719 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9720
9721 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
9722
9723 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
9724 Jan Kratochvil <jan.kratochvil@redhat.com>
9725
9726 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
9727 make m1's definition to be different from m2's. Use 'dummy' as an
9728 argument for probe 'two'.
9729
9730 2016-09-10 Jon Beniston <jon@beniston.com>
9731
9732 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
9733 for sim target.
9734
9735 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
9736
9737 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
9738 variable declaration.
9739 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
9740 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
9741 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
9742 received HWCAP as its argument.
9743
9744 2016-09-06 Pedro Alves <palves@redhat.com>
9745
9746 * gdb.base/new-ui-pending-input.c: New file.
9747 * gdb.base/new-ui-pending-input.exp: New file.
9748 * gdb.exp (clear_gdb_spawn_id): New procedure.
9749 (with_spawn_id): Check whether gdb_spawn_id exists before
9750 referencing it. If gdb_spawn_id didn't exist on entry, clear it
9751 on exit.
9752
9753 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
9754
9755 * gdb.base/float128.c: New file.
9756 * gdb.base/float128.exp: Likewise.
9757 * gdb.base/floatn.c: Likewise.
9758 * gdb.base/floatn.exp: Likewise.
9759
9760 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
9761
9762 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
9763
9764 2016-09-05 Pedro Alves <palves@redhat.com>
9765
9766 PR backtrace/19927
9767 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
9768 unwinders are immediately called as side effect of "source" or
9769 "disable unwinder" commands.
9770 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
9771
9772 2016-09-02 Yao Qi <yao.qi@linaro.org>
9773
9774 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
9775 is true and $type is "float" or "double".
9776
9777 2016-09-02 Yao Qi <yao.qi@linaro.org>
9778
9779 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
9780 true.
9781 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
9782 * gdb.base/call-rt-st.exp: Likewise.
9783 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
9784 return value instead of gdb,skip_float_test.
9785 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
9786 (do_function_calls): Use its return value instead of
9787 gdb,skip_float_test.
9788 * gdb.base/finish.exp: Likewise.
9789 * gdb.base/funcargs.exp: Likewise.
9790 * gdb.base/return.exp: Likewise.
9791 * gdb.base/return2.exp: Likewise.
9792 * gdb.base/varargs.exp: Likewise.
9793 * lib/gdb.exp (gdb_skip_float_test): Change it to
9794 gdb_caching_proc. Detect the broken ptrace on arm-linux.
9795
9796 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
9797
9798 * gdb.multi/tids.exp: Test "thread apply all".
9799
9800 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9801
9802 * gdb.base/default.exp (tty): Remove.
9803
9804 2016-08-24 Kevin Buettner <kevinb@redhat.com>
9805
9806 * gdb.python/py-recurse-unwind.c: New file.
9807 * gdb.python/py-recurse-unwind.py: New file.
9808 * gdb.python/py-recurse-unwind.exp: New file.
9809
9810 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
9811
9812 * gdb.base/set-inferior-tty.exp: New file.
9813 * gdb.base/set-inferior-tty.c: New file.
9814
9815 2016-08-23 Pedro Alves <palves@redhat.com>
9816
9817 PR gdb/20494
9818 * gdb.base/new-ui-echo.c: New file.
9819 * gdb.base/new-ui-echo.exp: New file.
9820
9821 2016-08-23 Yao Qi <yao.qi@linaro.org>
9822
9823 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
9824 gdbserver_spawn.
9825 * gdb.server/connect-without-multi-process.exp (do_test):
9826 Likewise.
9827
9828 2016-08-23 Yao Qi <yao.qi@linaro.org>
9829
9830 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
9831 standalone_txt. Delete gdb_txt and standalone_txt on host
9832 and target. Spawn the binary on target. Copy files from
9833 target to host.
9834
9835 2016-08-22 Pedro Alves <palves@redhat.com>
9836
9837 PR gdb/20505
9838 * gdb.base/vdso-warning.exp: Test core dumps too. Use
9839 with_test_prefix. Factor out bits to ...
9840 (test_no_vdso): ... this new procedure.
9841
9842 2016-08-19 Carl Love <cel@us.ibm.com>
9843
9844 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
9845 maintaining separate logic for constructing the output path.
9846 * gdb.arch/powerpc-d128-regs.exp: Likewise.
9847 * gdb.arch/ppc-dfp.exp: Likewise.
9848 * gdb.arch/ppc-fp.exp: Likewise.
9849 * gdb.arch/vsx-regs.exp: Likewise.
9850 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
9851 binprefix for generating the additional binary files.
9852
9853 2016-08-19 Pedro Alves <palves@redhat.com>
9854
9855 * gdb.trace/mi-trace-frame-collected.exp
9856 (test_trace_frame_collected): On x32, expect two registers.
9857
9858 2016-08-18 Carl Love <cel@us.ibm.com>
9859
9860 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
9861 and sync up the test with tests in gas/testsuite/gas/ppc.
9862 * gdb.arch/powerpc-power.exp: Likewise.
9863
9864 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
9865
9866 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
9867 expected error message.
9868
9869 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
9870
9871 * gdb.multi/remove-inferiors.exp: New file.
9872 * gdb.multi/remove-inferiors.c: New file.
9873
9874 2016-08-12 Yao Qi <yao.qi@linaro.org>
9875
9876 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
9877 argument list.
9878
9879 2016-08-10 Pedro Alves <palves@redhat.com>
9880
9881 PR gdb/19187
9882 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
9883 setup_kfails.
9884
9885 2016-08-09 Pedro Alves <palves@redhat.com>
9886 Simon Marchi <simon.marchi@ericsson.com>
9887
9888 PR gdb/20418
9889 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
9890 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
9891
9892 2016-08-09 Pedro Alves <palves@redhat.com>
9893
9894 PR mi/20431
9895 * gdb.mi/mi-cmd-error.exp: New file.
9896
9897 2016-08-09 Pedro Alves <palves@redhat.com>
9898
9899 PR gdb/18653
9900 * gdb.base/signals-state-child.c: New file.
9901 * gdb.base/signals-state-child.exp: New file.
9902 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
9903
9904 2016-08-09 Pedro Alves <palves@redhat.com>
9905
9906 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
9907
9908 2016-08-03 Tom Tromey <tom@tromey.com>
9909
9910 PR python/18565:
9911 * gdb.python/py-frame-inline.exp: Add Frame.function test.
9912
9913 2016-08-01 Yao Qi <yao.qi@linaro.org>
9914
9915 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
9916 variable mode to "multi-process" if $multi_process is 1, otherwise
9917 set it to "single-process".
9918
9919 2016-08-01 Yao Qi <yao.qi@linaro.org>
9920
9921 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
9922 * gdb.cp/cpexprs.exp: Likewise.
9923 * gdb.cp/m-static.exp: Likewise.
9924
9925 2016-07-26 Tom Tromey <tom@tromey.com>
9926
9927 PR python/20190:
9928 * gdb.threads/tls.exp (check_thread_local): Add python symbol
9929 test.
9930
9931 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
9932
9933 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
9934 selecting assembly source files.
9935 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
9936 assembly source files.
9937 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
9938 assembly source files.
9939 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
9940 selecting assembly source files.
9941
9942 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
9943
9944 * gdb.base/new-ui.exp (do_test_invalid_args): New
9945 procedure.
9946
9947 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
9948
9949 * gdb.btrace/reconnect.c: New file.
9950 * gdb.btrace/reconnect.exp: New file.
9951
9952 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
9953
9954 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
9955 to test_catch_syscall_group.
9956 (test_catch_syscall_group): New.
9957
9958 2016-07-21 Tom Tromey <tom@tromey.com>
9959
9960 * gdb.rust/simple.rs (main): Use empty struct expression.
9961 * gdb.rust/simple.exp: Add tests for empty struct expression.
9962
9963 2016-07-21 Yao Qi <yao.qi@linaro.org>
9964
9965 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
9966 if gdb_skip_xml_test is true on some targets.
9967
9968 2016-07-21 Yao Qi <yao.qi@linaro.org>
9969
9970 * gdb.server/solib-list.exp: Unset last_loaded_file.
9971
9972 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9973
9974 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
9975 "step into captured_main (args)".
9976
9977 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9978
9979 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
9980
9981 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9982
9983 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
9984
9985 2016-07-19 Pedro Alves <palves@redhat.com>
9986
9987 * gdb.opt/inline-break.exp: Remove optimize=-O2.
9988 * gdb.opt/inline-bt.exp: Likewise.
9989 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
9990 additional_flags=-Winline.
9991 * gdb.opt/inline-locals.exp: Likewise.
9992 * gdb.opt/inline-markers.c (ATTR): Define.
9993 (inlined_fn): Use it.
9994
9995 2016-07-19 Yao Qi <yao.qi@linaro.org>
9996
9997 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
9998 (test_with_self): Remove some code. Remove argument executable.
9999 (top-level): Use do_self_tests.
10000
10001 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
10002 Don Breazeal <donb@codesourcery.com>
10003
10004 * gdb.base/maint.exp: Escape paths used in regular expressions.
10005 * gdb.stabs/weird.exp: Likewise.
10006
10007 2016-07-13 Tom Tromey <tom@tromey.com>
10008
10009 PR python/15620, PR python/18620:
10010 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
10011 (test_bkpt_events): New procs.
10012
10013 2016-07-13 Tom Tromey <tom@tromey.com>
10014
10015 PR python/17698:
10016 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
10017 test.
10018 (test_watchpoints): Likewise.
10019 (test_bkpt_pending): New proc.
10020
10021 2016-07-13 Tom Tromey <tom@tromey.com>
10022
10023 PR cli/18053:
10024 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
10025 completion test.
10026
10027 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10028
10029 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
10030 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
10031 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
10032 f_label.
10033 (g): Rename g_end_lbl to g_label.
10034 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
10035 low_pc and high_pc.
10036 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
10037
10038 2016-07-12 Tom Tromey <tom@tromey.com>
10039
10040 PR python/19293:
10041 * gdb.python/py-unwind-maint.exp: Update tests.
10042
10043 2016-07-12 Yao Qi <yao.qi@linaro.org>
10044
10045 * lib/selftest-support.exp (selftest_setup): Match the output
10046 when captured_main is inlined.
10047
10048 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
10049
10050 * gdb.fortran/derived-types.exp (result_line, result_line_2):
10051 New variables.
10052 (print this%a, print this%b, print this): New tests.
10053 * gdb.fortran/derived-types.f90 (this): New object and
10054 initialization.
10055
10056 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
10057
10058 * gdb.ada/arraydim.exp: Remove extra directory level in build
10059 directory.
10060
10061 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
10062
10063 * lib/ada.exp: Remove extra directory level in build directory.
10064 * gdb.ada/cond_lang.exp: Likewise.
10065 * gdb.ada/exec_changed.exp: Likewise.
10066 * gdb.ada/lang_switch.exp: Likewise.
10067
10068 2016-07-06 Manish Goregaokar <manish@mozilla.com>
10069
10070 * simple.rs: Add test for raw pointer subscripting.
10071 * simple.exp: Add test expectations.
10072
10073 2016-07-05 Yao Qi <yao.qi@linaro.org>
10074
10075 * gdb.mi/mi-reverse.exp: Match =record-started output.
10076
10077 2016-07-01 Pedro Alves <palves@redhat.com>
10078
10079 * gdb.base/jit-reader.exp (info_registers_current_frame): New
10080 procedure.
10081 (jit_reader_test): Test the jit reader's unwinder.
10082 * gdb.base/jithost.c (jit_function_00_code): New global.
10083 (main): Use memcpy to fill in the mmapped code, instead of poking
10084 bytes manually here.
10085 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
10086 value.
10087 (read_debug_info): Save the function's range.
10088 (read_sp): New function.
10089 (unwind_frame): Use it. Also unwind RBP.
10090 (get_frame_id): Use read_sp.
10091 (gdb_init_reader): Use calloc instead of malloc.
10092 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
10093 parameter. Use gdb_test_multiple.
10094
10095 2016-07-01 Pedro Alves <palves@redhat.com>
10096 Antoine Tremblay <antoine.tremblay@ericsson.com>
10097
10098 * gdb.threads/process-dies-while-detaching.c: New file.
10099 * gdb.threads/process-dies-while-detaching.exp: New file.
10100
10101 2016-07-01 Pedro Alves <palves@redhat.com>
10102
10103 * gdb.multi/watchpoint-multi-exit.c: New file.
10104 * gdb.multi/watchpoint-multi-exit.exp: New file.
10105
10106 2016-06-30 Pedro Alves <palves@redhat.com>
10107
10108 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
10109 unset inferior_spawn_id.
10110
10111 2016-06-30 Pedro Alves <palves@redhat.com>
10112
10113 * lib/mi-support.exp (default_mi_gdb_start): Declare global
10114 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
10115
10116 2016-06-29 Yao Qi <yao.qi@linaro.org>
10117
10118 * gdb.base/return.c: Add copyright header.
10119
10120 2016-06-29 Tom Tromey <tom@tromey.com>
10121
10122 PR python/20129:
10123 * gdb.python/py-framefilter.exp: Add tests for setting priority
10124 and disabling of non-existent frame filter.
10125
10126 2016-06-29 Yao Qi <yao.qi@linaro.org>
10127
10128 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
10129 0x0f07ff.
10130
10131 2016-06-28 Yao Qi <yao.qi@linaro.org>
10132
10133 * gdb.base/catch-syscall.exp: Remove check on isnative and target
10134 triplets. Start gdb, execute catch syscall, and continue. Check
10135 gdb's output to determine catch syscall is supported.
10136
10137 2016-06-27 Manish Goregaokar <manish@mozilla.com>
10138
10139 * gdb.rust/simple.rs: Add test for returning unit in a function.
10140 * gdb.rust/simple.exp: Add expectation for functions returning
10141 unit.
10142
10143 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
10144
10145 * gdb.python/py-breakpoint-create-fail.c,
10146 gdb.python/py-breakpoint-create-fail.exp,
10147 gdb.python/py-breakpoint-create-fail.py: New testcase.
10148
10149 2016-06-25 Manish Goregaokar <manish@mozilla.com>
10150
10151 PR gdb/20239
10152 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
10153 * gdb.rust/simple.exp: Add test expectations for new NonZero
10154 tests.
10155
10156 2016-06-24 David Taylor <dtaylor@emc.com>
10157
10158 * gdb.base/offsets.exp: New file.
10159 * gdb.base/offsets.c: New file.
10160
10161 2016-06-23 Tom Tromey <tom@tromey.com>
10162
10163 PR gdb/16483:
10164 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
10165 before any filters are loaded.
10166
10167 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
10168
10169 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
10170 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
10171 structs.
10172 * gdb.fortran/derived-type-function.exp: New file.
10173 * gdb.fortran/derived-type-function.f90: New file.
10174
10175
10176 2016-06-21 Pedro Alves <palves@redhat.com>
10177
10178 * gdb.base/new-ui.exp: New file.
10179 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
10180 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
10181 (with_spawn_id): New procedure.
10182
10183 2016-06-21 Pedro Alves <palves@redhat.com>
10184
10185 * gdb.mi/mi-exec-run.exp: New file.
10186
10187 2016-06-21 Pedro Alves <palves@redhat.com>
10188
10189 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
10190 breakpoint command's output on the main UI.
10191 (test_break): New procedure, factored out from calls in the top
10192 level.
10193 (top level): Use foreach_with_prefix to test MI as main UI and as
10194 separate UI.
10195
10196 2016-06-21 Pedro Alves <palves@redhat.com>
10197
10198 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
10199 (test_awatch_creation_and_listing)
10200 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
10201 Remove 'type' parameter.
10202 (test_watchpoint_all): New parameter mi_mode. Remove
10203 with_test_prefix.
10204 (top level): Use foreach_with_prefix, and add main/separate UI MI
10205 testing axis.
10206
10207 2016-06-21 Pedro Alves <palves@redhat.com>
10208
10209 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
10210 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
10211 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
10212 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
10213 (gdb_main_spawn_id, mi_spawn_id): Declare and
10214 comment.
10215 (mi_create_inferior_pty): New procedure,
10216 factored out from default_mi_gdb_start.
10217 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
10218 procedures.
10219 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
10220 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
10221 Use mi_create_inferior_pty.
10222 (mi_gdb_start): Use eval to pass down args list.
10223
10224 2016-06-21 Pedro Alves <palves@redhat.com>
10225
10226 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
10227 * gdb.opt/inline-cmds.exp: Add MI tests.
10228
10229 2016-06-21 Pedro Alves <palves@redhat.com>
10230
10231 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
10232
10233 2016-06-21 Pedro Alves <palves@redhat.com>
10234
10235 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
10236 (top level): Use it instead of mi_execute_to.
10237
10238 2016-06-21 Pedro Alves <palves@redhat.com>
10239
10240 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
10241 (cont_handler_str): New.
10242 (signal_stop_handler): Set stop_handler_str instead of printing to
10243 stdout.
10244 (continue_handler): Set cont_handler_str instead of printing to
10245 stdout.
10246 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
10247 mi_send_resuming_command. Print stop_handler_str and
10248 cont_handler_str instead of expecting the python events print
10249 directly.
10250
10251 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
10252
10253 * gdb.base/jit-reader.exp: New file.
10254 * gdb.base/jithost.c: New file.
10255 * gdb.base/jithost.h: New file.
10256 * gdb.base/jitreader.c : New file.
10257 * gdb.base/jit-protocol.h: New file.
10258
10259 2016-06-17 Yao Qi <yao.qi@linaro.org>
10260
10261 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
10262 parameters follow_fork and detach_on_fork. Set follow-fork-mode
10263 and detach-on-fork. Adjust tests.
10264 (top level): Invoke break_cond_on_syscall with combinations of
10265 syscall, follow-fork-mode and detach-on-fork.
10266
10267 2016-06-17 Yao Qi <yao.qi@linaro.org>
10268
10269 * gdb.base/step-over-exit.c: New.
10270 * gdb.base/step-over-exit.exp: New.
10271
10272 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
10273
10274 * gdb.base/float.exp: Add target check for nds32*-*-*.
10275 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
10276
10277 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
10278
10279 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
10280 for unsupported target features.
10281 * gdb.base/call-rt-st.exp: Likewise.
10282 * gdb.base/call-sc.exp: Likewise.
10283 * gdb.base/call-signal-resume.exp: Likewise.
10284 * gdb.base/call-strs.exp: Likewise.
10285 * gdb.base/callexit.exp: Likewise.
10286 * gdb.base/callfuncs.exp: Likewise.
10287 * gdb.base/nodebug.exp: Likewise.
10288 * gdb.base/printcmds.exp: Likewise.
10289 * gdb.base/ptype.exp: Likewise.
10290 * gdb.base/structs.exp: Likewise.
10291 * gdb.base/unwindonsignal.exp: Likewise.
10292 * gdb.cp/gdb2495.exp: Likewise.
10293 * gdb.cp/templates.exp: Likewise.
10294 * gdb.cp/virtfunc.exp: Likewise.
10295 * gdb.threads/hand-call-in-threads.exp: Likewise.
10296 * gdb.threads/interrupted-hand-call.exp: Likewise.
10297 * gdb.threads/thread-unwindonsignal.exp: Likewise.
10298
10299 2016-06-10 Tom Tromey <tom@tromey.com>
10300
10301 PR rust/20110:
10302 * gdb.rust/expr.exp: Add test for integer constant larger than
10303 i32.
10304
10305 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
10306
10307 * gdb.fortran/nested-funcs.exp: New.
10308 * gdb.fortran/nested-funcs.f90: New.
10309
10310 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
10311
10312 * gdb.base/examine-backward.c: New file.
10313 * gdb.base/examine-backward.exp: New file.
10314
10315 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
10316
10317 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
10318 matching.
10319
10320 2016-06-02 Tom Tromey <tom@tromey.com>
10321
10322 PR python/18984:
10323 * gdb.python/py-shared.exp: Add solib_name test.
10324
10325 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
10326
10327 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
10328
10329 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
10330
10331 PR c++/19893
10332 * gdb.dwarf2/implref.exp: Rename to...
10333 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
10334 * gdb.dwarf2/implref-array.c: New file.
10335 * gdb.dwarf2/implref-array.exp: Likewise.
10336 * gdb.dwarf2/implref-global.c: Likewise.
10337 * gdb.dwarf2/implref-global.exp: Likewise.
10338 * gdb.dwarf2/implref-struct.c: Likewise.
10339 * gdb.dwarf2/implref-struct.exp: Likewise.
10340
10341 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10342
10343 * gdb.trace/trace-condition.exp: Add 64bit tests.
10344
10345 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10346
10347 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
10348 bits types.
10349 (main): Adapt to 8 to 64 bits types.
10350 * gdb.trace/trace-condition.exp: Add new tests.
10351
10352 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10353
10354 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
10355
10356 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10357
10358 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
10359 Move condition tests...
10360 * gdb.trace/trace-condition.exp: Here.
10361
10362 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10363
10364 * gdb.trace/trace-condition.exp: Add counter-case tests.
10365
10366 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10367
10368 PR c++/15231
10369 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
10370 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
10371
10372 2016-05-27 Pedro Alves <palves@redhat.com>
10373
10374 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
10375 New procedure.
10376 (top level): Call it, and bail out of DejaGnu is known to be bad.
10377
10378 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
10379
10380 * gdb.base/whatis.c: Extend the test case.
10381 * gdb.base/whatis.exp: Add additional tests.
10382
10383 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10384
10385 * gdb.fortran/type.f90: Add pointer variable.
10386 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
10387
10388 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10389
10390 * gdb.fortran/vla-type.exp: Fix testcase name.
10391
10392 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10393
10394 * gdb.fortran/vla-type.exp: Access elements in nested structs.
10395
10396 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10397
10398 * gdb.fortran/type.f90: Add nested structures.
10399 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
10400 * gdb.fortran/derived-type.exp: Adapt expected output.
10401 * gdb.fortran/vla-type.exp: Adapt expected output.
10402
10403 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10404
10405 * gdb.fortran/whatis_type.exp: Adapt expected output.
10406
10407 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10408
10409 * gdb.fortran/print_type.exp: Fix expected output.
10410 * gdb.fortran/whatis_type.exp: Fix expected output.
10411
10412 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10413
10414 * gdb.fortran/whatis_type.exp: Use multi_line.
10415
10416 2016-05-24 Tom Tromey <tom@tromey.com>
10417
10418 PR python/17386:
10419 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
10420 use value as an index.
10421
10422 2016-05-23 Tom Tromey <tom@tromey.com>
10423
10424 PR python/17981:
10425 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
10426 no-breakpoint case.
10427
10428 2016-05-24 Pedro Alves <palves@redhat.com>
10429
10430 PR gdb/19828
10431 * gdb.threads/clone-attach-detach.c: New file.
10432 * gdb.threads/clone-attach-detach.exp: New file.
10433
10434 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
10435
10436 * gdb.base/annota-input-while-running.exp: Fix syntax error.
10437
10438 2016-05-23 Tom Tromey <tom@tromey.com>
10439
10440 PR python/19438, PR python/18393:
10441 * gdb.python/py-progspace.exp: Add "dir" test.
10442 * gdb.python/py-objfile.exp: Add "dir" test.
10443
10444 2016-05-23 Yao Qi <yao.qi@linaro.org>
10445
10446 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
10447 * gdb.arch/thumb2-it.exp: Likewise.
10448
10449 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
10450
10451 * gdb.mi/mi-threads-interrupt.c: New file.
10452 * gdb.mi/mi-threads-interrupt.exp: New file.
10453
10454 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
10455
10456 PR gdb/18077
10457 * gdb.mi/mi-async-run.exp: New file.
10458 * gdb.mi/mi-async-run.c: New file.
10459
10460 2016-05-17 Tom Tromey <tom@tromey.com>
10461 Manish Goregaokar <manishsmail@gmail.com>
10462
10463 * lib/rust-support.exp: New file.
10464 * lib/gdb.exp (skip_rust_tests): New proc.
10465 (build_executable_from_specs): Handle rust.
10466 * lib/future.exp (gdb_find_rustc): New proc.
10467 (gdb_default_target_compile): Handle rust.
10468 * gdb.rust/expr.exp: New file.
10469 * gdb.rust/generics.exp: New file.
10470 * gdb.rust/generics.rs: New file.
10471 * gdb.rust/methods.exp: New file.
10472 * gdb.rust/methods.rs: New file.
10473 * gdb.rust/modules.exp: New file.
10474 * gdb.rust/modules.rs: New file.
10475 * gdb.rust/simple.exp: New file.
10476 * gdb.rust/simple.rs: New file.
10477
10478 2016-05-17 Tom Tromey <tom@tromey.com>
10479
10480 * gdb.base/default.exp (set language): Add rust.
10481
10482 2016-05-17 Tom Tromey <tom@tromey.com>
10483
10484 * gdb.gdb/unittest.exp: New file.
10485
10486 2016-05-16 Yao Qi <yao.qi@linaro.org>
10487
10488 * gdb.base/batch-preserve-term-settings.exp: Remove variable
10489 shell_prompt. Update shell_prompt_re.
10490
10491 2016-05-12 Doug Evans <dje@google.com>
10492
10493 PR symtab/19999
10494 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
10495 $options when building executable.
10496 * gdb.dwarf2/fission-loclists-pie.S: New file.
10497 * gdb.dwarf2/fission-loclists-pie.exp: New file.
10498
10499 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
10500
10501 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
10502 of [is_remote target],
10503
10504 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
10505
10506 * lib/gdb.exp (use_gdb_stub): New procedure.
10507
10508 2016-05-03 Yunlian Jiang <yunlian@google.com>
10509 Doug Evans <dje@google.com>
10510
10511 PR symtab/19914
10512 * gdb.dwarf2/dwp-sepdebug.c: New file.
10513 * gdb.dwarf2/dwp-sepdebug.exp: New file.
10514
10515 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
10516
10517 * gdb.base/detach.exp: Remove is_remote check.
10518
10519 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
10520
10521 * gdb.base/annota-input-while-running.exp: Don't check for
10522 [is_remote target]. Enable annotations after running to main.
10523 Remove unused "set test..." line.
10524
10525 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
10526
10527 * gdb.trace/trace-enable-disable.exp: New file.
10528 * gdb.trace/trace-enable-disable.c: New file.
10529
10530 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
10531
10532 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
10533 use it in info sharedlibrary test.
10534 * gdb.trace/ftrace-lock.exp: Likewise.
10535 * gdb.trace/ftrace.exp: Likewise.
10536 * gdb.trace/range-stepping.exp: Likewise.
10537 * gdb.trace/trace-break.exp: Likewise.
10538 * gdb.trace/trace-condition.exp: Likewise.
10539 * gdb.trace/trace-mt.exp: Likewise.
10540
10541 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
10542
10543 * lib/gdb.exp (gdb_load_shlibs): Rename to...
10544 (gdb_load_shlib): ... this.
10545 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
10546 gdb_load_shlib.
10547 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
10548 * gdb.base/ctxobj.exp: Likewise.
10549 * gdb.base/dprintf-pending.exp: Likewise.
10550 * gdb.base/dso2dso.exp: Likewise.
10551 * gdb.base/fixsection.exp: Likewise.
10552 * gdb.base/gcore-relro.exp: Likewise.
10553 * gdb.base/gdb1555.exp: Likewise.
10554 * gdb.base/global-var-nested-by-dso.exp: Likewise.
10555 * gdb.base/gnu-ifunc.exp: Likewise.
10556 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
10557 * gdb.base/jit-so.exp (one_jit_test): Likewise.
10558 * gdb.base/pending.exp: Likewise.
10559 * gdb.base/print-file-var.exp: Likewise.
10560 * gdb.base/print-symbol-loading.exp: Likewise.
10561 * gdb.base/shlib-call.exp: Likewise.
10562 * gdb.base/shreloc.exp: Likewise.
10563 * gdb.base/so-impl-ld.exp: Likewise.
10564 * gdb.base/solib-disc.exp: Likewise.
10565 * gdb.base/solib-nodir.exp: Likewise.
10566 * gdb.base/solib-overlap.exp: Likewise.
10567 * gdb.base/solib-symbol.exp: Likewise.
10568 * gdb.base/solib-weak.exp (do_test): Likewise.
10569 * gdb.base/sym-file.exp: Likewise.
10570 * gdb.base/symtab-search-order.exp: Likewise.
10571 * gdb.base/type-opaque.exp: Likewise.
10572 * gdb.base/unload.exp: Likewise.
10573 * gdb.base/watchpoint-solib.exp: Likewise.
10574 * gdb.compile/compile.exp: Likewise.
10575 * gdb.cp/gdb2384.exp: Likewise.
10576 * gdb.cp/infcall-dlopen.exp: Likewise.
10577 * gdb.cp/re-set-overloaded.exp: Likewise.
10578 * gdb.fortran/library-module.exp: Likewise.
10579 * gdb.opt/solib-intra-step.exp: Likewise.
10580 * gdb.python/py-finish-breakpoint.exp: Likewise.
10581 * gdb.python/py-shared.exp: Likewise.
10582 * gdb.reverse/solib-precsave.exp: Likewise.
10583 * gdb.reverse/solib-reverse.exp: Likewise.
10584 * gdb.server/solib-list.exp: Likewise.
10585 * gdb.threads/dlopen-libpthread.exp: Likewise.
10586 * gdb.threads/tls-shared.exp: Likewise.
10587 * gdb.threads/tls-so_extern.exp: Likewise.
10588 * gdb.trace/change-loc.exp: Likewise.
10589 * gdb.trace/ftrace-lock.exp: Likewise.
10590 * gdb.trace/ftrace.exp: Likewise.
10591 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
10592 * gdb.trace/pending.exp: Likewise.
10593 * gdb.trace/range-stepping.exp: Likewise.
10594 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
10595 (strace_info_marker): Likewise.
10596 (strace_probe_marker): Likewise.
10597 (strace_trace_on_same_addr): Likewise.
10598 (strace_trace_on_diff_addr): Likewise.
10599 * gdb.trace/trace-break.exp: Likewise.
10600 * gdb.trace/trace-condition.exp: Likewise.
10601 * gdb.trace/trace-mt.exp: Likewise.
10602
10603 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
10604
10605 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
10606 result of gdb_remote_download.
10607 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
10608 * gdb.base/dso2dso.exp: Likewise.
10609 * gdb.base/global-var-nested-by-dso.exp: Likewise.
10610 * gdb.base/print-file-var.exp: Likewise.
10611 * gdb.base/shlib-call.exp: Likewise.
10612 * gdb.base/shreloc.exp: Likewise.
10613 * gdb.base/solib-overlap.exp: Likewise.
10614 * gdb.base/solib-weak.exp (do_test): Likewise.
10615 * gdb.base/unload.exp: Likewise.
10616
10617 2016-04-27 Yao Qi <yao.qi@linaro.org>
10618
10619 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
10620 exists.
10621
10622 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10623
10624 * vla-type.exp: Print structure from toplevel.
10625
10626 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10627
10628 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
10629 of dynamic types.
10630 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
10631 of dynamic types.
10632
10633 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10634
10635 * gdb.fortran/vla-type.f90: New file.
10636 * gdb.fortran/vla-type.exp: New file.
10637
10638 2016-04-25 Yao Qi <yao.qi@linaro.org>
10639
10640 * gdb.base/branch-to-self.c: New file.
10641 * gdb.base/branch-to-self.exp: New file.
10642
10643 2016-04-22 Yao Qi <yao.qi@linaro.org>
10644
10645 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
10646 more after $hex.
10647
10648 2016-04-22 Yao Qi <yao.qi@linaro.org>
10649
10650 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
10651 * gdb.base/annota3.exp: Likewise.
10652
10653 2016-04-22 Yao Qi <yao.qi@linaro.org>
10654
10655 * gdb.reverse/step-precsave.exp: Do one step and test program
10656 stops in "callee" and do multiple steps until program goes out
10657 of "callee".
10658 * gdb.reverse/step-reverse.exp: Likewise.
10659
10660 2016-04-22 Yao Qi <yao.qi@linaro.org>
10661
10662 * gdb.trace/signal.exp: Also pass if
10663 $tracepoint_hits($i) > $iterations.
10664
10665 2016-04-22 Yao Qi <yao.qi@linaro.org>
10666
10667 * gdb.trace/signal.c: New file.
10668 * gdb.trace/signal.exp: New file.
10669
10670 2016-04-19 Doug Evans <xdje42@gmail.com>
10671
10672 * gdb.base/bad-file.exp: New file.
10673
10674 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
10675
10676 * gdb.dwarf2/implref.exp: New file.
10677
10678 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
10679
10680 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
10681 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
10682 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
10683 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
10684 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
10685 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
10686 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
10687 * lib/fortran.exp (fortran_int4): New procedure.
10688 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
10689 (fortran_logical4): Likewise.
10690
10691 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
10692
10693 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
10694
10695 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
10696
10697 * lib/compiler.c: Add Intel specific preprocessor macros.
10698 * lib/compiler.cc: Likewise.
10699
10700 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
10701
10702 * gdb.server/connect-with-no-symbol-file.c: New file.
10703 * gdb.server/connect-with-no-symbol-file.exp: New file.
10704
10705 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
10706
10707 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
10708
10709 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
10710
10711 * boards/gdbserver-base.exp (${board}_download): Copy source file to
10712 standard output directory.
10713
10714 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
10715
10716 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
10717
10718 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
10719
10720 * gdb.btrace/instruction_history.c (loop): Add declaration.
10721
10722 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
10723
10724 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
10725
10726 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
10727
10728 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
10729 parentheses to print.
10730 (continue_handler): Likewise.
10731
10732 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
10733
10734 * gdb.server/solib-list.exp: Remove is_remote check.
10735 Pass shlib= to gdb_compile. Don't link shared library with
10736 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
10737 Run binary filename through "readlink -f" on the target.
10738
10739 2016-04-08 Pedro Alves <palves@redhat.com>
10740
10741 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
10742 interpreter filename as argument to gdbserver_spawn.
10743 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
10744 Return empty if $last_loaded_file does not exist.
10745
10746 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10747
10748 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
10749 * gdb.base/jit-main.c: Use exit after usage.
10750
10751 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10752
10753 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
10754 GDBHISTSIZE prior to the tests.
10755 * gdb.base/gdbinit-history.exp: Likewise.
10756
10757 2016-04-07 Pedro Alves <palves@redhat.com>
10758
10759 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
10760 instead of build_executable. Use gdb_load_shlibs.
10761
10762 2016-04-07 Yao Qi <yao.qi@linaro.org>
10763
10764 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
10765 Execute "si" command.
10766
10767 2016-04-07 Yao Qi <yao.qi@linaro.org>
10768
10769 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
10770 number instead of the comments on some line.
10771
10772 2016-04-06 Don Breazeal <donb@codesourcery.com>
10773
10774 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
10775 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
10776
10777 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
10778
10779 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
10780 standard_output_file. Remove unused binfile variable.
10781
10782 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
10783
10784 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
10785 * gdb.python/py-mi-objfile.exp: Match "list main" output
10786 in console format.
10787
10788 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
10789
10790 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
10791 absolute.
10792
10793 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
10794
10795 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
10796 absolute.
10797 * gdb.trace/ftrace.exp: Likewise.
10798 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
10799 targets as well.
10800 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
10801 (gdb_load_shlibs): Copy libraries to test directory when testing
10802 natively. Only set solib-search-path if testing remotely.
10803 * lib/mi-support.exp (mi_load_shlibs): Likewise.
10804
10805 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
10806
10807 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
10808 gdb_download. Use it even if the target is not remote.
10809 * gdb.base/jit.exp (compile_jit_test): Likewise.
10810 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
10811 output directory if the destination board is local, otherwise use
10812 the standard remote_download from DejaGnu.
10813 (gdb_download): Remove.
10814 (gdb_load_shlibs): Use gdb_remote_download instead of
10815 gdb_download.
10816 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
10817 Use gdb_remote_download instead of gdb_download. Use it even if
10818 the target is not remote.
10819 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
10820 instead of gdb_download.
10821
10822 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
10823
10824 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
10825 (test_insert_delete_modify): Call mi_load_shlibs before trying to
10826 run.
10827
10828 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
10829
10830 PR gdb/19820
10831 * gdb.base/printcmds.exp: Add artificial arrays tests.
10832
10833 2016-03-31 Pedro Alves <palves@redhat.com>
10834
10835 PR gdb/19858
10836 * gdb.base/jit-main.c: Include unistd.h.
10837 (ATTACH): Define to 0 if not already defined.
10838 (wait_for_gdb, mypid): New globals.
10839 (WAIT_FOR_GDB): New macro.
10840 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
10841 some breakpoint locations.
10842 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
10843 New procedures.
10844 (one_jit_test): Add REATTACH parameter, and handle it. Use
10845 continue_to_test_location.
10846 (top level): Test attach, and adjusts calls to one_jit_test.
10847
10848 2016-03-31 Pedro Alves <palves@redhat.com>
10849
10850 PR gdb/19858
10851 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
10852 BINSUFFIX parameter, and handle it.
10853 (top level): Adjust calls compile_jit_test.
10854
10855 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
10856
10857 PR python/19743
10858 * gdb.python/py-mi-events-gdb.py: New file.
10859 * gdb.python/py-mi-events.c: New file.
10860 * gdb.python/py-mi-events.exp: New file.
10861
10862 2016-03-30 Yao Qi <yao.qi@linaro.org>
10863
10864 * gdb.reverse/until-precsave.exp: Match function name only.
10865 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
10866 Move malloc to a condition block.
10867 * gdb.reverse/until-reverse.exp: Match function name only.
10868
10869 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
10870
10871 * gdb.trace/ftrace.exp: Set arg0exp for s390.
10872 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
10873 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
10874 variable for GPR 0 instead of assuming it is register 0.
10875 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
10876 * lib/trace-support.exp: Add s390 registers.
10877
10878 2016-03-29 Yao Qi <yao.qi@linaro.org>
10879
10880 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
10881
10882 2016-03-24 Yao Qi <yao.qi@linaro.org>
10883
10884 * gdb.reverse/break-reverse.exp: Add quotation mark in the
10885 test message.
10886
10887 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10888
10889 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
10890 maintaining separate logic for constructing the output path.
10891
10892 2016-03-16 Don Breazeal <donb@codesourcery.com>
10893
10894 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
10895 Retry fork and waitpid on interrupted system call errors.
10896 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10897 Use with_timeout_factor to increase timeout by factor of 10.
10898
10899 2016-03-15 Don Breazeal <donb@codesourcery.com>
10900
10901 * gdb.cp/scope-err.cc: New test program.
10902 * gdb.cp/scope-err.exp: New test script.
10903 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
10904 lines and "set breakpoint here" comment.
10905 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
10906 Fixed some whitespace and format issues.
10907 * gdb.mi/mi-linespec-err-cp.cc: New test program.
10908 * gdb.mi/mi-linespec-err-cp.exp: New test script.
10909
10910 2016-03-15 Doug Evans <dje@google.com>
10911
10912 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
10913 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
10914 All callers updated. Add tests for enums, mixed flags register.
10915
10916 2016-03-15 Doug Evans <dje@google.com>
10917
10918 * gdb.base/skip.c (main): Call test_skip_file_and_function.
10919 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
10920
10921 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
10922
10923 * gdb.base/default.exp: Add $_as_string to the list of expected
10924 convenience functions.
10925
10926 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
10927
10928 * gdb.base/maint.exp: New tests for 'maint info line-table'.
10929
10930 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
10931
10932 * gdb.python/py-as-string.exp: New file.
10933 * gdb.python/py-as-string.c: New file.
10934
10935 2016-03-09 Pedro Alves <palves@redhat.com>
10936
10937 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
10938 signal" -> "Thread NN received signal" output change.
10939 * gdb.threads/ia64-sigill.exp: Likewise.
10940 * gdb.threads/linux-dp.exp: Likewise.
10941 * gdb.threads/manythreads.exp: Likewise.
10942 * gdb.threads/pending-step.exp: Likewise.
10943 * gdb.threads/print-threads.exp: Likewise.
10944 * gdb.threads/sigstep-threads.exp: Likewise.
10945 * gdb.threads/staticthreads.exp: Likewise.
10946 * gdb.threads/tls.exp: Likewise.
10947
10948 2016-03-09 Pedro Alves <palves@redhat.com>
10949
10950 * gdb.base/command-line-input.exp: New file.
10951
10952 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10953
10954 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
10955 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
10956 * gdb.trace/pending.exp: Accept leading dot before function name.
10957 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
10958 * lib/trace-support.exp: Set registers for ppc.
10959
10960 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10961
10962 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
10963 use it for disassembly; accept .main in addition to main in backtrace.
10964
10965 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
10966 Marcin Kościelnicki <koriakin@0x04.net>
10967
10968 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
10969 (gdb_recursion_test_ptr): New global variable.
10970 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
10971 gdb_recursion_test.
10972 (gdb_c_test): Ditto.
10973
10974 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10975
10976 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
10977 ordering.
10978
10979 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10980
10981 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
10982 (bar): Add bar_start_lbl label.
10983 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
10984 of foo/bar for emitting DWARF and tracing.
10985
10986 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
10987
10988 * analyze-racy-logs.py: Set executable bit.
10989
10990 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
10991
10992 * Makefile.in (DEFAULT_RACY_ITER): New variable.
10993 (CHECK_TARGET_TMP): Likewise.
10994 (check-single-racy): New rule.
10995 (check-parallel-racy): Likewise.
10996 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
10997 (do-check-parallel-racy): New rule.
10998 (check-racy/%.exp): Likewise.
10999 * README (Racy testcases): New section.
11000 * analyze-racy-logs.py: New file.
11001
11002 2016-03-03 Doug Evans <dje@google.com>
11003
11004 * gdb.base/skip.exp: Use with_test_prefix.
11005
11006 2016-03-03 Yao Qi <yao.qi@linaro.org>
11007
11008 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
11009 Invoke step_over_syscall "clone" and break_cond_on_syscall
11010 "clone".
11011 * gdb.base/step-over-clone.c: New file.
11012
11013 2016-03-03 Yao Qi <yao.qi@linaro.org>
11014
11015 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
11016 code format.
11017
11018 2016-03-03 Yao Qi <yao.qi@linaro.org>
11019
11020 * gdb.base/disp-step-fork.c: Rename to ...
11021 * gdb.base/step-over-fork.c: ... it. New file.
11022 * gdb.base/disp-step-vfork.c: Rename to ...
11023 * gdb.base/step-over-vfork.c: ... it. New file.
11024 * gdb.base/disp-step-syscall.exp: Rename to ...
11025 * gdb.base/step-over-syscall.exp: ... it. New file.
11026 (disp_step_cross_syscall): Rename to ...
11027 (step_over_syscall): ... it.
11028
11029 2016-03-03 Yao Qi <yao.qi@linaro.org>
11030
11031 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
11032 If target supports condition evaluation on target, invoke
11033 break_cond_on_syscall for fork and vfork.
11034
11035 2016-03-03 Yao Qi <yao.qi@linaro.org>
11036
11037 * gdb.base/disp-step-syscall.exp: Don't invoke
11038 support_displaced_stepping.
11039 (disp_step_cross_syscall): Test with displaced stepping off and
11040 on if supported.
11041
11042 2016-03-03 Yao Qi <yao.qi@linaro.org>
11043
11044 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
11045 proc.
11046 (setup): New proc.
11047 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
11048 and setup.
11049
11050 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11051
11052 * gdb.fortran/vla-history.exp: Remove breakpoint.
11053
11054 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11055
11056 * gdb.fortran/vla-history.exp: Lookup array elements and printing
11057 exceeds timeout.
11058
11059 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11060
11061 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
11062 breakpoint.
11063
11064 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11065
11066 * gdb.mi/vla.f90: Nullify pointer after declaration.
11067
11068 2016-03-01 Pedro Alves <palves@redhat.com>
11069
11070 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
11071
11072 2016-03-01 Pedro Alves <palves@redhat.com>
11073
11074 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
11075 before anything else.
11076 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
11077 _GNU_SOURCE here.
11078 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
11079 before anything else.
11080 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
11081
11082 2016-03-01 Pedro Alves <palves@redhat.com>
11083
11084 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
11085
11086 2016-03-01 Yao Qi <yao.qi@linaro.org>
11087
11088 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
11089 prepare_for_testing.
11090
11091 2016-03-01 Yao Qi <yao.qi@linaro.org>
11092
11093 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
11094
11095 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
11096
11097 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
11098 manually constructing the output path.
11099
11100 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
11101
11102 * gdb.arch/s390-stackless.S: New.
11103 * gdb.arch/s390-stackless.exp: New.
11104
11105 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
11106
11107 * gdb.dlang/circular.c: New file.
11108 * gdb.dlang/circular.exp: New file.
11109
11110 2016-02-26 Yao Qi <yao.qi@linaro.org>
11111
11112 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
11113 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
11114 (testcases): Update.
11115
11116 2016-02-26 Yao Qi <yao.qi@linaro.org>
11117
11118 * gdb.reverse/aarch64.c: Rename to ...
11119 * gdb.reverse/insn-reverse.c: ... it.
11120 * gdb.reverse/aarch64.exp: Rename to ...
11121 * gdb.reverse/insn-reverse.exp: ... it.
11122
11123 2016-02-26 Yao Qi <yao.qi@linaro.org>
11124
11125 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
11126 (testcase_ftype): New.
11127 (testcases): New array.
11128 (n_testcases): New.
11129 (main): Call each element in testcases.
11130 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
11131 (read_testcase): New.
11132 Do the tests in a loop.
11133
11134 2016-02-25 Yao Qi <yao.qi@linaro.org>
11135
11136 * gdb.base/branches.c: Remove.
11137
11138 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11139
11140 PR gdb/13808
11141 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
11142
11143 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11144
11145 * gdb.trace/ftrace.exp: Remove unnecessary target check.
11146
11147 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11148
11149 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
11150 change x86_64 call_insn to 'callq'.
11151
11152 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
11153
11154 * gdb.trace/tfile-avx.c: Move to...
11155 * gdb.trace/tracefile-pseudo-reg.c: Here.
11156 * gdb.trace/tfile-avx.exp: Move to...
11157 * gdb.trace/tracefile-pseudo-reg.exp: Here.
11158
11159 2016-02-24 Gary Benson <gbenson@redhat.com>
11160
11161 * gdb.base/attach-pie-noexec.exp: Do not expect an error
11162 message on attach.
11163
11164 2016-02-23 Doug Evans <dje@google.com>
11165
11166 * gdb.base/skip.c (test_skip): New function.
11167 (end_test_skip_file_and_function): New function.
11168 (test_skip_file_and_function): New function.
11169 * gdb.base/skip1.c (test_skip): New function.
11170 (skip1_test_skip_file_and_function): New function.
11171 * gdb.base/skip.exp: Add tests for new skip options.
11172 * gdb.base/skip-solib.exp: Update expected output.
11173 * gdb.perf/skip-command.cc: New file.
11174 * gdb.perf/skip-command.exp: New file.
11175 * gdb.perf/skip-command.py: New file.
11176
11177 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
11178
11179 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
11180 info registers pattern.
11181
11182 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
11183
11184 * lib/future.exp: Add D support.
11185 (gdb_find_gdc): New proc.
11186 (gdb_default_target_compile): Add D support.
11187
11188 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
11189
11190 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
11191 user+system time.
11192 (trace_speed_test): Determine the iteration count for a time
11193 between 15..30 seconds.
11194
11195 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
11196
11197 * gdb.arch/i386-mpx-sigsegv.c: New file.
11198 * gdb.arch/i386-mpx-sigsegv.exp: New file.
11199 * gdb.arch/i386-mpx-simple_segv.c: New file.
11200 * gdb.arch/i386-mpx-simple_segv.exp: New file.
11201
11202 2016-02-18 Yao Qi <yao.qi@linaro.org>
11203
11204 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
11205 Don't call setup_kfail.
11206
11207 2016-02-18 Yao Qi <yao.qi@linaro.org>
11208
11209 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
11210 Set "set breakpoint condition-evaluation" per $cond_bp_target.
11211
11212 2016-02-16 Doug Evans <dje@google.com>
11213
11214 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
11215 * gdb.base/skip1.c: Ditto.
11216 * gdb.base/skip.exp: Whitespace cleanup.
11217
11218 2016-02-16 Don Breazeal <donb@codesourcery.com>
11219
11220 PR remote/19496
11221 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
11222 Remove kfail for PR remote/19496.
11223
11224 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
11225
11226 * lib/gdb.exp (standard_temp_file): Return a path specific to
11227 the runtest invocation.
11228
11229 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
11230
11231 * gdb.trace/save-trace.exp: Change relative path to be in the
11232 standard output directory.
11233
11234 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11235
11236 * gdb.arch/i386-prologue.c: Add missing prototypes.
11237
11238 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11239
11240 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
11241 * gdb.arch/i386-prologue.exp: Likewise.
11242 * gdb.arch/i386-size.exp: Likewise.
11243
11244 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
11245
11246 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
11247 define object file path.
11248 * gdb.btrace/gcore.exp: Use standard_output_file to define core
11249 file path.
11250 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
11251 standard_output_file to define binfile.
11252
11253 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11254
11255 Fix compatibility with recent gfortran-5.3.1.
11256 * gdb.fortran/vla-history.exp (print vla1 allocated)
11257 (print vla2 allocated, print $2, print $3): Remove
11258 (print $4): Rename to ...
11259 (print $2): ... here.
11260 (print $9): Rename to ...
11261 (print $5): ... here.
11262 (print $10): Rename to ...
11263 (print $6): ... here.
11264 * gdb.fortran/vla.f90: Add pvla initialization.
11265
11266 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11267
11268 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
11269 New test.
11270 * gdb.fortran/vla-value-sub.exp: Likewise.
11271
11272 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
11273
11274 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
11275
11276 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
11277
11278 * i386-biarch-core.exp: Define corefile using
11279 standard_output_file.
11280
11281 2016-02-12 Yao Qi <yao.qi@linaro.org>
11282
11283 * gdb.arch/arm-single-step-kernel-helper.c: New.
11284 * gdb.arch/arm-single-step-kernel-helper.exp: New.
11285
11286 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
11287
11288 * gdb.btrace/tailcall-only.exp: New.
11289 * gdb.btrace/tailcall-only.c: New.
11290 * gdb.btrace/x86_64-tailcall-only.S: New.
11291 * gdb.btrace/i686-tailcall-only.S: New.
11292
11293 2016-02-11 Pedro Alves <palves@redhat.com>
11294
11295 * README (Parallel testing): Add missing double quotes.
11296
11297 2016-02-11 Pedro Alves <palves@redhat.com>
11298
11299 * README (Parallel testing): New section.
11300 (GDB_PARALLEL): Rewrite.
11301 (FORCE_PARALLEL): Document.
11302
11303 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
11304
11305 * gdb.trace/tfile-avx.c: New test.
11306 * gdb.trace/tfile-avx.exp: New test.
11307
11308 2016-02-09 Keith Seitz <keiths@redhat.com>
11309
11310 PR breakpoints/19546
11311 * gdb.base/infcall-exec.c: New file.
11312 * gdb.base/infcall-exec2.c: New file.
11313 * gdb.base/infcall-exec.exp: New file.
11314
11315 2016-02-09 Keith Seitz <keiths@redhat.com>
11316
11317 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
11318 (toplevel): Call test_bkpt_address.
11319
11320 2016-02-09 Keith Seitz <keiths@redhat.com>
11321
11322 PR python/19506
11323 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
11324 (toplevel): Call test_bkpt_address.
11325
11326 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
11327
11328 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
11329 to AC_OUTPUT.
11330 * configure: Regenerate.
11331
11332 2016-02-09 Pedro Alves <palves@redhat.com>
11333
11334 PR breakpoints/19548
11335 * gdb.base/execl-update-breakpoints.c (some_function): New
11336 function.
11337 (main): Call it.
11338 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
11339 Tighten expected GDB output.
11340
11341 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
11342
11343 * Makefile.in (ALL_SUBDIRS): Remove.
11344 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
11345 (distclean maintainer-clean realclean): Likewise.
11346 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
11347 * configure: Regenerate.
11348 * gdb.ada/Makefile.in: Delete.
11349 * gdb.arch/Makefile.in: Likewise.
11350 * gdb.asm/Makefile.in: Likewise.
11351 * gdb.base/Makefile.in: Likewise.
11352 * gdb.btrace/Makefile.in: Likewise.
11353 * gdb.cell/Makefile.in: Likewise.
11354 * gdb.compile/Makefile.in: Likewise.
11355 * gdb.cp/Makefile.in: Likewise.
11356 * gdb.disasm/Makefile.in: Likewise.
11357 * gdb.dlang/Makefile.in: Likewise.
11358 * gdb.dwarf2/Makefile.in: Likewise.
11359 * gdb.fortran/Makefile.in: Likewise.
11360 * gdb.gdb/Makefile.in: Likewise.
11361 * gdb.go/Makefile.in: Likewise.
11362 * gdb.guile/Makefile.in: Likewise.
11363 * gdb.java/Makefile.in: Likewise.
11364 * gdb.linespec/Makefile.in: Likewise.
11365 * gdb.mi/Makefile.in: Likewise.
11366 * gdb.modula2/Makefile.in: Likewise.
11367 * gdb.multi/Makefile.in: Likewise.
11368 * gdb.objc/Makefile.in: Likewise.
11369 * gdb.opencl/Makefile.in: Likewise.
11370 * gdb.opt/Makefile.in: Likewise.
11371 * gdb.pascal/Makefile.in: Likewise.
11372 * gdb.perf/Makefile.in: Likewise.
11373 * gdb.python/Makefile.in: Likewise.
11374 * gdb.reverse/Makefile.in: Likewise.
11375 * gdb.server/Makefile.in: Likewise.
11376 * gdb.stabs/Makefile.in: Likewise.
11377 * gdb.threads/Makefile.in: Likewise.
11378 * gdb.trace/Makefile.in: Likewise.
11379 * gdb.xml/Makefile.in: Likewise.
11380 * lib/gdb.exp (make_gdb_parallel_path): Add check for
11381 GDB_PARALLEL.
11382 (standard_output_file): Remove check for GDB_PARALLEL, always
11383 return path in outputs/$subdir/$testname.
11384
11385 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
11386
11387 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
11388 (site.exp): Assign abs_srcdir to tcl's srcdir.
11389
11390 2016-02-04 Yao Qi <yao.qi@linaro.org>
11391
11392 * gdb.base/foll-exec-mode.c: Include limits.h.
11393 (main): Add parameters argc and argv. Get directory from
11394 argv[0].
11395 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
11396 compilation.
11397 * gdb.base/foll-exec.c: Include limits.h.
11398 (main): Add parameters argc and argv.
11399 Get directory from argv[0].
11400 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
11401 Adjust tests on the number of lines as source code changed.
11402 * gdb.base/foll-vfork-exit.c: Include limits.h.
11403 (main): Add one line of statement before vfork.
11404 * gdb.base/foll-vfork.c: Include limits.h and string.h.
11405 (main): Add parameters argc and argv. Get directory from
11406 argv[0].
11407 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
11408 (setup_gdb): Set tbreak to skip some source lines.
11409 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
11410 (main): Add parameters argc and argv. Get directory from
11411 argv[0].
11412 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
11413 compilation.
11414 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
11415 (main): Add parameters argc and argv. Get directory from
11416 argv[0].
11417 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
11418 compilation.
11419
11420 2016-02-01 Doug Evans <dje@google.com>
11421
11422 * gdb.base/skip.exp: Clean up multiple references to same test name.
11423
11424 2016-02-01 Pedro Alves <palves@redhat.com>
11425
11426 PR remote/19496
11427 * gdb.threads/forking-threads-plus-breakpoint.exp
11428 (displaced_stepping_supported): New global.
11429 (probe_displaced_stepping_support): New procedure.
11430 (do_test): Add 'displaced' parameter, and use it.
11431 (top level): Check for displaced stepping support. Add displaced
11432 stepping on/off testing axis.
11433
11434 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
11435
11436 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
11437 pointer. Don't perform further tests on the unassociated pointer
11438 if the first test fails.
11439
11440 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
11441
11442 * gdb.base/max-value-size.c: New file.
11443 * gdb.base/max-value-size.exp: New file.
11444 * gdb.base/huge.exp: Disable max-value-size for this test.
11445
11446 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
11447
11448 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
11449
11450 2016-01-28 Yao Qi <yao.qi@linaro.org>
11451
11452 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
11453
11454 2016-01-25 Pedro Alves <palves@redhat.com>
11455
11456 PR threads/19461
11457 * gdb.base/fork-running-state.c: New file.
11458 * gdb.base/fork-running-state.exp: New file.
11459
11460 2016-01-25 Pedro Alves <palves@redhat.com>
11461
11462 PR gdb/19494
11463 * gdb.base/catch-fork-kill.c: New file.
11464 * gdb.base/catch-fork-kill.exp: New file.
11465
11466 2016-01-25 Pedro Alves <palves@redhat.com>
11467
11468 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
11469 Delete, moved to lib/gdb.exp.
11470 * gdb.threads/forking-threads-plus-breakpoint.exp
11471 (foreach_with_prefix): Likewise.
11472 * gdb.threads/process-dies-while-handling-bp.exp
11473 (foreach_with_prefix): Likewise.
11474 * lib/gdb.exp (foreach_with_prefix): New procedure.
11475
11476 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
11477
11478 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
11479 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
11480
11481 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
11482
11483 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
11484 endian targets.
11485
11486 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11487 Pedro Alves <palves@redhat.com>
11488
11489 Fix testsuite compatibility with Guile.
11490 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
11491 number.
11492
11493 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11494
11495 Fix testsuite compatibility with Guile.
11496 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
11497 (thread 1): New test for backtrace through signal handler.
11498
11499 2016-01-22 Yao Qi <yao.qi@linaro.org>
11500
11501 PR testsuite/19491
11502 * gdb.base/multi-forks.c: Include
11503 ../lib/unbuffer_output.c
11504 (main): Call gdb_unbuffer_output.
11505
11506 2016-01-21 Doug Evans <dje@google.com>
11507
11508 * lib/ada.exp (gdb_compile_ada): Fix typo.
11509
11510 2016-01-21 Joel Brobecker <brobecker@adacore.com>
11511
11512 * gdb.base/break-fun-addr.exp: New file.
11513 * gdb.base/break-fun-addr1.c: New file.
11514 * gdb.base/break-fun-addr2.c: New file.
11515
11516 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
11517
11518 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
11519 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
11520 enum flag values.
11521
11522 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11523
11524 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
11525 when GDB can not set the vector return value. Add more comments
11526 for clarification.
11527
11528 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
11529
11530 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
11531 command.
11532
11533 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11534
11535 * Makefile.in (DO_RUNTEST): Add --status and update usages.
11536
11537 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11538
11539 * Makefile.in (check-single): Pass --status to runtest.
11540 (check/%.exp): Likewise.
11541
11542 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11543
11544 * Makefile.in (check-parallel): Propagate return code from make
11545 do-check-parallel.
11546
11547 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
11548
11549 * gdb.trace/ftrace.exp: Fix expected message on continue.
11550 * gdb.trace/pending.exp: Fix expected message on continue.
11551 * gdb.trace/trace-break.exp: Fix expected message on continue.
11552
11553 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
11554
11555 * lib/gdb.exp (gdb_test): Remove unused global references.
11556
11557 2016-01-18 Pedro Alves <palves@redhat.com>
11558
11559 * gdb.base/async-shell.exp: Adjust expected output.
11560 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
11561 * gdb.base/siginfo-thread.exp: Adjust expected output.
11562 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
11563 * gdb.java/jnpe.exp: Adjust expected output.
11564 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
11565 * gdb.threads/continue-pending-status.exp: Adjust expected output.
11566 * gdb.threads/leader-exit.exp: Adjust expected output.
11567 * gdb.threads/manythreads.exp: Adjust expected output.
11568 * gdb.threads/pthreads.exp: Adjust expected output.
11569 * gdb.threads/schedlock.exp: Adjust expected output.
11570 * gdb.threads/siginfo-threads.exp: Adjust expected output.
11571 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
11572 expected output.
11573 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
11574 output.
11575 * gdb.threads/sigthread.exp: Adjust expected output.
11576 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
11577
11578 2016-01-18 Yao Qi <yao.qi@linaro.org>
11579
11580 * gdb.guile/scm-section-script.c: Replace @progbits with
11581 %progbits.
11582 * gdb.python/py-section-script.c: Likewise.
11583
11584 2016-01-15 Pedro Alves <palves@redhat.com>
11585
11586 * gdb.multi/tids.exp: Test star wildcard ranges.
11587
11588 2016-01-15 Pedro Alves <palves@redhat.com>
11589
11590 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
11591 command from "thread apply" invocation.
11592 (thr_apply_info_thr_invalid): Default the expected output to the
11593 input tid list.
11594 (top level): Add tests that use convenience variables. Add tests
11595 for "thread apply" with a valid TID list, but missing the command.
11596
11597 2016-01-13 Pedro Alves <palves@redhat.com>
11598
11599 * gdb.base/default.exp: Expect $_gthread as well.
11600 * gdb.multi/tids.exp: Test $_gthread.
11601 * gdb.threads/thread-specific.exp: Test $_gthread.
11602
11603 2016-01-13 Pedro Alves <palves@redhat.com>
11604
11605 * gdb.multi/tids.exp: Test "info threads -gid".
11606
11607 2016-01-13 Pedro Alves <palves@redhat.com>
11608
11609 * gdb.multi/tids.exp: Test InferiorThread.global_num and
11610 Breakpoint.thread.
11611 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
11612
11613 2016-01-07 Pedro Alves <palves@redhat.com>
11614
11615 * gdb.base/break.exp: Adjust to output changes.
11616 * gdb.base/hbreak2.exp: Likewise.
11617 * gdb.base/sepdebug.exp: Likewise.
11618 * gdb.base/watch_thread_num.exp: Likewise.
11619 * gdb.linespec/keywords.exp: Likewise.
11620 * gdb.multi/info-threads.exp: Likewise.
11621 * gdb.threads/thread-find.exp: Likewise.
11622 * gdb.multi/tids.c: New file.
11623 * gdb.multi/tids.exp: New file.
11624
11625 2016-01-13 Pedro Alves <palves@redhat.com>
11626
11627 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
11628
11629 2016-01-13 Pedro Alves <palves@redhat.com>
11630
11631 * gdb.base/default.exp: Expect $_inferior as well.
11632 * gdb.multi/base.exp: Test $_inferior.
11633
11634 2016-01-13 Pedro Alves <palves@redhat.com>
11635
11636 PR breakpoints/19388
11637 * gdb.base/catch-signal-siginfo-cond.c: New file.
11638 * gdb.base/catch-signal-siginfo-cond.exp: New file.
11639
11640 2016-01-12 Josh Stone <jistone@redhat.com>
11641 Philippe Waroquiers <philippe.waroquiers@skynet.be>
11642
11643 * gdb.base/catch-syscall.c (do_execve): New variable.
11644 (main): Conditionally trigger an execve.
11645 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
11646 (test_catch_syscall_execve): New, check entry/return across execve.
11647 (do_syscall_tests): Call test_catch_syscall_execve.
11648
11649 2016-01-12 Pedro Alves <palves@redhat.com>
11650
11651 * gdb.base/random-signal.exp (do_test): New procedure, with body
11652 of testcase moved in.
11653
11654 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11655 Pedro Alves <palves@redhat.com>
11656
11657 * gdb.base/funcargs.exp (finish from indirectly called function):
11658 Reintroduce the case for 'First'.
11659
11660 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11661 Pedro Alves <palves@redhat.com>
11662
11663 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
11664 (tcatch_vfork_then_child_follow_exec)
11665 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
11666 identification.
11667
11668 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11669
11670 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
11671 and repeats to unlimited.
11672 * gdb.python/py-value.exp: Likewise.
11673 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
11674 and repeats to unlimited.
11675
11676 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11677
11678 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
11679 and reordering the functions.
11680 * gdb.multi/hangout.c: Likewise.
11681 * gdb.multi/hello.c: Likewise.
11682
11683 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
11684
11685 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
11686 absolute.
11687 (SingleStatisticTestResult.report): Use dict.keys instead of
11688 dict.iterkeys.
11689
11690 2016-01-06 Pedro Alves <palves@redhat.com>
11691
11692 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
11693
11694 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
11695
11696 * gdb.btrace/dlopen.exp: New.
11697 * gdb.btrace/dlopen.c: New.
11698 * gdb.btrace/dlopen-dso.c: New.
11699
11700 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
11701
11702 * lib/gdb.exp (gdb_test): Update comments to clarify that the
11703 PATTERN argument is optional.
11704
11705 2015-12-24 Joel Brobecker <brobecker@adacore.com>
11706
11707 * lib/ada.exp (target_compile_ada_from_dir): New function.
11708 (gdb_compile_ada): Reimplement avoiding the use of project files.
11709 * gdb.ada/gnat_ada.gpr: Delete.
11710 * gdb.ada/cond_lang.exp: Adjust test to make path before
11711 filename optional.
11712 * gdb.ada/small_reg_param.exp: Likewise.
11713
11714 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
11715
11716 * gdb.base/foll-vork.exp: Remove HP-UX special case.
11717
11718 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
11719
11720 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
11721 case.
11722
11723 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
11724
11725 * gdb.base/break.exp: Remove dead code.
11726 * gdb.base/sepdebug.exp: Likewise.
11727
11728 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
11729
11730 * gdb.asm/asm-source.exp: Remove HP-UX references.
11731 * gdb.base/annota1.exp: Likewise.
11732 * gdb.base/annota3.exp: Likewise.
11733 * gdb.base/attach.exp: Likewise.
11734 * gdb.base/bigcore.exp: Likewise.
11735 * gdb.base/break.exp: Likewise.
11736 * gdb.base/call-ar-st.exp: Likewise.
11737 * gdb.base/callfuncs.exp: Likewise.
11738 * gdb.base/catch-fork-static.exp: Likewise.
11739 * gdb.base/display.exp: Likewise.
11740 * gdb.base/foll-exec-mode.exp: Likewise.
11741 * gdb.base/foll-exec.exp: Likewise.
11742 * gdb.base/foll-fork.exp: Likewise.
11743 * gdb.base/foll-vfork.exp: Likewise.
11744 * gdb.base/funcargs.exp: Likewise.
11745 * gdb.base/hbreak2.exp: Likewise.
11746 * gdb.base/inferior-died.exp: Likewise.
11747 * gdb.base/interrupt.exp: Likewise.
11748 * gdb.base/multi-forks.exp: Likewise.
11749 * gdb.base/nodebug.exp: Likewise.
11750 * gdb.base/sepdebug.exp: Likewise.
11751 * gdb.base/solib1.c: Likewise.
11752 * gdb.base/step-test.exp: Likewise.
11753 * gdb.mi/non-stop.c: Likewise.
11754 * gdb.mi/pthreads.c: Likewise.
11755 * gdb.multi/bkpt-multi-exec.ex: Likewise.
11756 * gdb.threads/pthreads.c: Likewise.
11757 * gdb.threads/staticthreads.exp: Likewise.
11758 * lib/future.exp: Likewise.
11759 * lib/gdb.exp: Likewise.
11760 * gdb.base/so-indr-cl.c: Remove.
11761 * gdb.base/so-indr-cl.exp: Likewise.
11762 * gdb.base/solib.c: Likewise.
11763 * gdb.base/solib.exp: Likewise.
11764 * gdb.base/solib2.c: Likewise.
11765
11766 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
11767
11768 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
11769 * gdb.base/call-ar-st.exp: Likewise.
11770 * gdb.base/callfuncs.exp: Likewise.
11771 * gdb.base/condbreak.exp: Likewise.
11772 * gdb.base/constvars.exp: Likewise.
11773 * gdb.base/hbreak2.exp: Likewise.
11774 * gdb.base/langs.exp: Likewise.
11775 * gdb.base/list.exp: Likewise.
11776 * gdb.base/long_long.exp: Likewise.
11777 * gdb.base/ptype.exp: Likewise.
11778 * gdb.base/scope.exp: Likewise.
11779 * gdb.base/signals.exp: Likewise.
11780 * gdb.base/so-impl-ld.exp: Likewise.
11781 * gdb.base/varargs.exp: Likewise.
11782 * gdb.base/volatile.exp: Likewise.
11783 * gdb.base/whatis.exp: Likewise.
11784 * gdb.cp/cplusfuncs.exp: Likewise.
11785 * gdb.cp/inherit.exp: Likewise.
11786 * gdb.cp/local.exp: Likewise.
11787 * gdb.cp/member-ptr.exp: Likewise.
11788 * gdb.cp/method.exp: Likewise.
11789 * gdb.cp/overload.exp: Likewise.
11790 * gdb.cp/templates.exp: Likewise.
11791 * gdb.stabs/weird.exp: Likewise.
11792 * lib/compiler.c: Likewise.
11793 * lib/compiler.cc: Likewise.
11794 * lib/cp-support.exp: Likewise.
11795 * lib/gdb.exp: Likewise.
11796
11797 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
11798
11799 * configure.ac: Remove HP-UX case.
11800 * configure: Regenerate.
11801
11802 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
11803
11804 * lib/gdb.exp (gdb_compile): Add function doc.
11805
11806 2015-12-17 Pedro Alves <palves@redhat.com>
11807
11808 PR threads/19354
11809 * gdb.multi/info-threads.exp: New file.
11810
11811 2015-12-15 Yao Qi <yao.qi@linaro.org>
11812
11813 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
11814 is aarch64*-*-*.
11815
11816 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11817
11818 * gdb.base/history-duplicates.exp: Skip if no readline support.
11819
11820 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11821
11822 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
11823
11824 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11825
11826 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
11827
11828 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11829
11830 * gdb.base/completion.exp: Skip tests that interrupt GDB with
11831 ctrl-C if nointerrupts target property is set.
11832 * gdb.base/double-prompt-target-event-error.exp: Likewise.
11833 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
11834 * gdb.base/paginate-bg-execution.exp: Likewise.
11835 * gdb.base/paginate-execution-startup.exp: Likewise.
11836 * gdb.base/random-signal.exp: Likewise.
11837 * gdb.base/range-stepping.exp: Likewise.
11838 * gdb.cp/annota2.exp: Likewise.
11839 * gdb.cp/annota3.exp: Likewise.
11840 * gdb.gdb/selftest.exp: Likewise.
11841 * gdb.threads/continue-pending-status.exp: Likewise.
11842 * gdb.threads/leader-exit.exp: Likewise.
11843 * gdb.threads/manythreads.exp: Likewise.
11844 * gdb.threads/pthreads.exp: Likewise.
11845 * gdb.threads/schedlock.exp: Likewise.
11846 * gdb.threads/sigthread.exp: Likewise.
11847
11848 2015-12-11 Don Breazeal <donb@codesourcery.com>
11849
11850 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
11851 remote.
11852 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
11853 * gdb.base/foll-exec.exp (main): Enable for target remote.
11854 * gdb.base/foll-fork.exp (main): Likewise.
11855 * gdb.base/foll-vfork.exp (main): Likewise.
11856 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
11857 (proc continue_to_exit_bp_loc): Use clean_restart.
11858 * gdb.base/pie-execl.exp (main): Disable for target remote.
11859 * gdb.base/watch-vfork.exp (main): Enable for target remote.
11860 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
11861 * gdb.threads/execl.exp (main): Likewise.
11862 * gdb.threads/fork-child-threads.exp (main): Likewise.
11863 * gdb.threads/fork-plus-threads.exp (main): Disable for target
11864 remote.
11865 * gdb.threads/fork-thread-pending.exp (main): Enable for target
11866 remote.
11867 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
11868 pid.tid style ptids, instead of just tid.
11869 * gdb.threads/thread-execl.exp (main): Enable for target remote.
11870 * gdb.threads/watchpoint-fork.exp (main): Likewise.
11871 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
11872 ptids, instead of just tid.
11873
11874 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11875
11876 * gdb.base/list.exp (test_list_forward): Add end of file error
11877 test.
11878 (test_repeat_list_command): Add end of file error test.
11879 (test_list_backwards): Add beginning of file error test.
11880
11881 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11882
11883 * gdb.base/list.exp (test_list_invalid_args): New function,
11884 defined, and called.
11885
11886 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11887
11888 * gdb.base/list.exp (test_list): Make test names unique.
11889
11890 2015-12-11 Yao Qi <yao.qi@linaro.org>
11891
11892 * gdb.base/coremaker2.c: Remove.
11893
11894 2015-12-10 Pedro Alves <palves@redhat.com>
11895
11896 * gdb.multi/base.exp: Remove stale "spaces" references.
11897
11898 2015-12-10 Pedro Alves <palves@redhat.com>
11899
11900 * gdb.multi/base.exp: Don't use nowarnings.
11901 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
11902 * gdb.multi/hangout.c: Include stdio.h.
11903 * gdb.multi/hello.c: Include stdlib.h.
11904 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
11905 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
11906 * gdb.multi/multi-arch.exp: Don't use nowarnings.
11907
11908 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
11909
11910 * gdb.dwarf2/dw2-ranges-base.c: New file.
11911 * gdb.dwarf2/dw2-ranges-base.exp: New file.
11912 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
11913 support additional line table, and debug ranges generation.
11914 (Dwarf::ranges): New function, generate .debug_ranges.
11915 (Dwarf::lines): Support generating simple line table programs.
11916 (Dwarf::assemble): Initialise new namespace variables.
11917
11918 2015-12-09 Kevin Buettner <kevinb@redhat.com>
11919
11920 * gdb.base/async.exp (proc test_background): Add case for
11921 asynchronous execution not supported.
11922
11923 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
11924
11925 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
11926 format and change test names to make them unique.
11927
11928 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
11929 Pedro Alves <pedro@redhat.com>
11930
11931 PR gdb/18702
11932 Add checking of floatformats setup on x86_64 hosts.
11933 * gdb.arch/i386-float.S (main): Load bigval and smallval.
11934 (smallval, bigval): New labels/constants.
11935 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
11936 float" after loading bigval and smallval.
11937
11938 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
11939
11940 * gdb.ada/fun_overload_menu.exp: New testcase.
11941 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
11942
11943 2015-12-04 Josh Stone <jistone@redhat.com>
11944
11945 * gdb.base/catch-fork-static.exp: New.
11946
11947 2015-12-03 Yao Qi <yao.qi@linaro.org>
11948
11949 * gdb.base/sizeof.c: Don't include stdio.h and
11950 ../lib/unbuffer_output.c.
11951 (main): New variable 'size' and 'value'. Remove printf and
11952 gdb_unbuffer_output. Assign return value to size and value.
11953 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
11954 at the beginning.
11955 (check_sizeof): Check the result by printing variable 'size'.
11956 (check_valueof): Check the result by printing variable 'value'.
11957
11958 2015-12-01 Yao Qi <yao.qi@linaro.org>
11959
11960 * gdb.base/disp-step-syscall.exp: Define syscall instruction
11961 for aarch64*-*-linux* target.
11962
11963 2015-11-30 Pedro Alves <palves@redhat.com>
11964
11965 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
11966
11967 2015-11-30 Pedro Alves <palves@redhat.com>
11968
11969 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
11970 Handle non-stop mode vCont replies.
11971
11972 2015-11-30 Pedro Alves <palves@redhat.com>
11973
11974 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
11975 prepare_for_testing. Start gdb with "set non-stop on" appended to
11976 GDBFLAGS. Lax expected stop output.
11977
11978 2015-11-27 Yao Qi <yao.qi@linaro.org>
11979
11980 * gdb.arch/arm-neon.exp: New.
11981 * gdb.arch/arm-neon.c: New.
11982
11983 2015-11-27 Yao Qi <yao.qi@linaro.org>
11984
11985 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
11986
11987 2015-11-27 Yao Qi <yao.qi@linaro.org>
11988
11989 * gdb.cp/annota2.exp: Allow multiple occurrences of the
11990 frames-invalid annotation.
11991
11992 2015-11-27 Yao Qi <yao.qi@linaro.org>
11993
11994 * gdb.cp/annota2.exp: Use ${frames_invalid}.
11995
11996 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
11997
11998 * gdb.threads/names.exp: New file.
11999 * gdb.threads/names.c: New file.
12000 * README: Mention gdb,no_thread_names.
12001
12002 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
12003
12004 PR 19297
12005 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
12006 support" error.
12007
12008 2015-11-24 Pedro Alves <palves@redhat.com>
12009
12010 PR 17539
12011 * gdb.base/display.exp: Expect displays to be sorted in ascending
12012 order. Use multi_line.
12013 * gdb.base/solib-display.exp: Likewise.
12014
12015 2015-11-24 Pedro Alves <palves@redhat.com>
12016
12017 PR 17539
12018 * gdb.base/display.exp: Expect displays to be sorted in ascending
12019 order. Use multi_line.
12020 * gdb.base/solib-display.exp: Likewise.
12021
12022 2015-11-24 Pedro Alves <palves@redhat.com>
12023
12024 PR 17539
12025 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
12026 threads in ascending order.
12027 * gdb.base/foll-fork.exp: Likewise.
12028 * gdb.base/foll-vfork.exp: Likewise.
12029 * gdb.base/multi-forks.exp: Likewise.
12030 * gdb.mi/mi-nonstop.exp: Likewise.
12031 * gdb.mi/mi-nsintrall.exp: Likewise.
12032 * gdb.multi/base.exp: Likewise.
12033 * gdb.multi/multi-arch.exp: Likewise.
12034 * gdb.python/py-inferior.exp: Likewise.
12035 * gdb.threads/break-while-running.exp: Likewise.
12036 * gdb.threads/execl.exp: Likewise.
12037 * gdb.threads/gcore-thread.exp: Likewise.
12038 * gdb.threads/info-threads-cur-sal.exp: Likewise.
12039 * gdb.threads/kill.exp: Likewise.
12040 * gdb.threads/linux-dp.exp: Likewise.
12041 * gdb.threads/multiple-step-overs.exp: Likewise.
12042 * gdb.threads/next-bp-other-thread.exp: Likewise.
12043 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
12044 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
12045 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
12046 * gdb.threads/thread-find.exp: Likewise.
12047 * gdb.threads/tls.exp: Likewise.
12048 * lib/mi-support.exp (mi_reverse_list): Delete.
12049 (mi_check_thread_states): No longer reverse list.
12050
12051 2015-11-24 Pedro Alves <palves@redhat.com>
12052
12053 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
12054 use lowercase.
12055
12056 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
12057
12058 * gdb.trace/actions.c: Include trace-common.h.
12059 (main): Add a location for a fast tracepoint.
12060 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
12061 the normal tracepoints.
12062 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
12063
12064 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
12065
12066 * save-trace.exp: Factor out code to these...
12067 (gdb_save_tracepoints): New.
12068 (gdb_load_tracepoints): New.
12069 (do_save_load_test): New.
12070
12071 2015-11-23 Kevin Buettner <kevinb@redhat.com>
12072
12073 * gdb.base/asmlabel.exp: New test.
12074 * gdb.base/asmlabel.c: New test case.
12075
12076 2015-11-23 Joel Brobecker <brobecker@adacore.com>
12077
12078 * gdb.base/wrong_frame_bt_full-main.c: New file.
12079 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
12080 * gdb.base/wrong_frame_bt_full.exp: New file.
12081
12082 2015-11-23 Joel Brobecker <brobecker@adacore.com>
12083
12084 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
12085
12086 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
12087
12088 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
12089 pstate register when comparing registers values in
12090 sparc64-*-linux-gnu targets to avoid spurious differences.
12091
12092 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
12093
12094 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
12095
12096 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
12097
12098 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
12099 as type argument to gdb_compile.
12100 * gdb.base/nested-subp2.exp: Likewise.
12101 * gdb.base/nested-subp3.exp: Likewise.
12102
12103 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
12104
12105 * lib/dwarf.exp (_note): Fix left shift of negative value.
12106 * gdb.trace/trace-condition.exp: Likewise.
12107
12108 2015-11-13 Yao Qi <yao.qi@linaro.org>
12109
12110 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
12111 comments about d10v.
12112 (test_scalar_returns): Likewise.
12113 * gdb.base/d10v.ld: Remove.
12114 * gdb.base/overlays.exp: Remove the target triplet checking for
12115 d10v-*-*.
12116 * gdb.base/structs.exp (test_struct_returns): Remove the
12117 comments about d10v.
12118 (test_struct_calls): Likewise.
12119
12120 2015-11-13 Yao Qi <yao.qi@linaro.org>
12121
12122 * gdb.base/gnu_vector.exp: Check the return value by "p res".
12123 * gdb.base/gnu_vector.c: Don't include stdio.h.
12124 (main): Don't print res and call add_some_intvecs.
12125
12126 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
12127
12128 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
12129 macro.
12130 (func5): Removed.
12131 (func4): Use FAST_TRACEPOINT_LABEL.
12132 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
12133 macro.
12134 (func): Removed.
12135 (thread_function): Use FAST_TRACEPOINT_LABEL.
12136 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
12137 (func): Remove.
12138 (marker): Use FAST_TRACEPOINT_LABEL.
12139 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
12140 (pendfunc1): Remove.
12141 (pendfunc): Use FAST_TRACEPOINT_LABEL.
12142 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
12143 (foo): Remove.
12144 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
12145 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
12146 macro.
12147 (func): Remove.
12148 (marker): Use FAST_TRACEPOINT_LABEL.
12149 * gdb.trace/trace-common.h: New header.
12150 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
12151 macro.
12152 (func): Remove.
12153 (marker): Use FAST_TRACEPOINT_LABEL.
12154 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
12155 (func): Remove.
12156 (thread_function): Use FAST_TRACEPOINT_LABEL.
12157
12158 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
12159
12160 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
12161 in front.
12162 * gdb.trace/change-loc.exp: Use global pcreg definition.
12163 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
12164 * gdb.trace/entry-values.exp: Use global spreg definition, add $
12165 in front.
12166 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
12167 * gdb.trace/pending.exp: Likewise.
12168 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
12169 * gdb.trace/trace-break.exp: Likewise.
12170 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
12171 in front.
12172 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
12173 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
12174 in front.
12175 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
12176
12177 2015-11-09 Joel Brobecker <brobecker@adacore.com>
12178
12179 * gdb.ada/fin_fun_out: New testcase.
12180
12181 2015-11-07 Kevin Buettner <kevinb@redhat.com>
12182
12183 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
12184 value associated with DW_AT_byte_size.
12185 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
12186 constants for DW_AT_byte_size, DW_AT_lower_bound, and
12187 DW_AT_upper_bound.
12188
12189 2015-11-07 Kevin Buettner <kevinb@redhat.com>
12190
12191 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
12192 (gdb_target_symbol_prefix_flags): Define in terms of _asm
12193 version.
12194 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
12195 gdb.dwarf2/dw2-canonicalize-type.exp,
12196 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
12197 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
12198 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
12199 provided by gdb_target_symbol_prefix_flags_asm.
12200 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
12201 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
12202 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
12203 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
12204 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
12205 macros where needed). Use this macro for symbols which require
12206 the prefix provided by SYMBOL_PREFIX.
12207
12208 2015-11-05 Kevin Buettner <kevinb@redhat.com>
12209
12210 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
12211 New procs.
12212 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
12213 representing expressions, of more than one list element.
12214 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
12215 to prepend linker symbol prefix to f.
12216 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
12217 table_1 and table_2.
12218 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
12219 Likewise, for f and g.
12220 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
12221 for ptr.
12222 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
12223 for main.
12224 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
12225 table_1_ptr and table_2_ptr.
12226
12227 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12228 Joel Brobecker <brobecker@adacore.com>
12229
12230 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
12231
12232 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
12233
12234 * gdb.reverse/s390-mvcle.c: New test.
12235 * gdb.reverse/s390-mvcle.exp: New file.
12236 * lib/gdb.exp: Enable reverse tests on s390*-linux.
12237
12238 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
12239
12240 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
12241
12242 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
12243
12244 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
12245 reaching marker2.
12246 * gdb.reverse/getresuid-reverse.exp: Likewise.
12247 * gdb.reverse/pipe-reverse.exp: Likewise.
12248 * gdb.reverse/readv-reverse.exp: Likewise.
12249 * gdb.reverse/recvmsg-reverse.exp: Likewise.
12250 * gdb.reverse/time-reverse.exp: Likewise.
12251 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
12252
12253 2015-10-30 Yao Qi <yao.qi@linaro.org>
12254
12255 * gdb.threads/wp-replication.c (watch_count_done): Remove.
12256 (empty_cycle): Remove.
12257 (main): Don't call empty_cycle. Don't use watch_count_done.
12258 * gdb.threads/wp-replication.exp: Don't set breakpoint on
12259 empty_cycle. Rewrite the code counting HW watchpoints.
12260
12261 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
12262
12263 * gdb.reverse/fstatat-reverse.c: New test.
12264 * gdb.reverse/fstatat-reverse.exp: New file.
12265 * gdb.reverse/getresuid-reverse.c: New test.
12266 * gdb.reverse/getresuid-reverse.exp: New file.
12267 * gdb.reverse/pipe-reverse.c: New test.
12268 * gdb.reverse/pipe-reverse.exp: New file.
12269 * gdb.reverse/readv-reverse.c: New test.
12270 * gdb.reverse/readv-reverse.exp: New file.
12271 * gdb.reverse/recvmsg-reverse.c: New test.
12272 * gdb.reverse/recvmsg-reverse.exp: New file.
12273 * gdb.reverse/time-reverse.c: New test.
12274 * gdb.reverse/time-reverse.exp: New file.
12275 * gdb.reverse/waitpid-reverse.c: New test.
12276 * gdb.reverse/waitpid-reverse.exp: New file.
12277
12278 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
12279
12280 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
12281
12282 2015-10-26 Doug Evans <dje@google.com>
12283
12284 PR symtab/17391
12285 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
12286 * gdb.dwarf2/bad-regnum.c: New file.
12287 * gdb.dwarf2/bad-regnum.exp: New file.
12288
12289 2015-10-26 Doug Evans <dje@google.com>
12290
12291 PR python/18938
12292 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
12293 file.
12294
12295 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12296
12297 * gdb.compile/compile.exp (compile code globalvar): Update expectation
12298 for a change by "Mention language in compile error message".
12299
12300 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
12301
12302 PR python/18073
12303 * gdb.python/py-type.c (C::a_method): New.
12304 (C::a_const_method): New.
12305 (C::a_static_method): New.
12306 (a_function): New.
12307 * gdb.python/py-type.exp (test_fields): Test getting fields
12308 from function and method.
12309
12310 2015-10-21 Keven Boell <keven.boell@intel.com>
12311
12312 * gdb.fortran/vla-alloc-assoc.exp: New file.
12313 * gdb.fortran/vla-datatypes.exp: New file.
12314 * gdb.fortran/vla-datatypes.f90: New file.
12315 * gdb.fortran/vla-history.exp: New file.
12316 * gdb.fortran/vla-ptype-sub.exp: New file.
12317 * gdb.fortran/vla-ptype.exp: New file.
12318 * gdb.fortran/vla-sizeof.exp: New file.
12319 * gdb.fortran/vla-sub.f90: New file.
12320 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
12321 * gdb.fortran/vla-value-sub-finish.exp: New file.
12322 * gdb.fortran/vla-value-sub.exp: New file.
12323 * gdb.fortran/vla-value.exp: New file.
12324 * gdb.fortran/vla-ptr-info.exp: New file.
12325 * gdb.mi/mi-vla-fortran.exp: New file.
12326 * gdb.mi/vla.f90: New file.
12327
12328 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
12329
12330 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
12331 of hardwired timeout value.
12332
12333 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12334 Pedro Alves <palves@redhat.com>
12335
12336 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
12337 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
12338
12339 2015-10-19 Josh Stone <jistone@redhat.com>
12340
12341 * gdb.base/catch-syscall.c: Include <sched.h>.
12342 (unknown_syscall): New variable.
12343 (main): Trigger a vfork and an unknown syscall.
12344 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
12345 (unknown_syscall_number): Likewise.
12346 (check_call_to_syscall): Accept an optional syscall pattern.
12347 (check_return_from_syscall): Likewise.
12348 (check_continue): Likewise.
12349 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
12350 (test_catch_syscall_skipping_return): New test toggling off 'catch
12351 syscall' to step over the syscall return, then toggling back on.
12352 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
12353 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
12354 (do_syscall_tests): Call test_catch_syscall_without_args and
12355 test_catch_syscall_mid_vfork.
12356 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
12357 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
12358
12359 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
12360
12361 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
12362 print g_vE): Add new pass patterns.
12363 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
12364 print various symbol names for vptr fields.
12365
12366 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
12367
12368 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
12369 results.
12370
12371 2015-10-12 Yao Qi <yao.qi@linaro.org>
12372
12373 * gdb.arch/disp-step-insn-reloc.exp: New test case.
12374
12375 2015-10-12 Yao Qi <yao.qi@linaro.org>
12376
12377 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
12378 is aarch64*-*-linux*.
12379
12380 2015-10-12 Yao Qi <yao.qi@linaro.org>
12381
12382 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
12383 (can_relocate_bcond_true): ... it.
12384 (can_relocate_bcond_false): New function.
12385 (foo): Likewise.
12386 (can_relocate_bl): Likewise.
12387 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
12388 can_relocate_bl.
12389
12390 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
12391
12392 * gdb.base/nested-addr.c: New file.
12393 * gdb.base/nested-addr.exp: New testcase.
12394
12395 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
12396
12397 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
12398 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
12399 its output. Ignore the output of "record goto begin" and instead
12400 check that GDB is replaying.
12401
12402 2015-10-09 Pedro Alves <palves@redhat.com>
12403
12404 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
12405 (top level): Use it in the run with no args test.
12406
12407 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
12408
12409 * gdb.dlang/properties.exp: New file.
12410
12411 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
12412
12413 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
12414 whether or not address 0x1000 is mapped on the target.
12415
12416 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
12417
12418 * gdb.python/py-type.exp: Do not run tests if binaries fail to
12419 build.
12420
12421 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
12422
12423 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
12424 instruction-history test.
12425
12426 2015-09-28 Doug Evans <dje@google.com>
12427
12428 * gdb.base/gcore.c (array_func): Add reference to static_array.
12429
12430 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
12431
12432 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
12433 source line.
12434
12435 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
12436
12437 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
12438 short or char as base type.
12439
12440 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
12441
12442 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
12443 to allow any size enum.
12444
12445 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
12446
12447 * gdb.ada/array_ptr_renaming.exp: New testcase.
12448 * gdb.ada/array_ptr_renaming/foo.adb: New file.
12449 * gdb.ada/array_ptr_renaming/pack.ads: New file.
12450
12451 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12452
12453 * gdb.trace/ftrace-lock.c: New file.
12454 * gdb.trace/ftrace-lock.exp: New file.
12455
12456 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12457
12458 * gdb.arch/insn-reloc.c: New file.
12459 * gdb.arch/ftrace-insn-reloc.exp: New file.
12460
12461 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12462
12463 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
12464 instruction.
12465 * gdb.trace/pendshr1.c (pendfunc): Likewise.
12466 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
12467 * gdb.trace/range-stepping.c: Likewise.
12468 * gdb.trace/trace-break.c: Likewise.
12469 * gdb.trace/trace-mt.c (thread_function): Likewise.
12470 * gdb.trace/ftrace.c (marker): Likewise.
12471 * gdb.trace/trace-condition.c (marker): Likewise.
12472 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
12473 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
12474 is_aarch64_target.
12475
12476 2015-09-18 Doug Evans <xdje42@gmail.com>
12477
12478 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
12479 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
12480
12481 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12482
12483 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
12484 the breakpoint.
12485
12486 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12487
12488 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
12489 the pending breakpoint. Remove timeout override for "Run till
12490 MI pending breakpoint on pendfunc3 on thread 2" test.
12491
12492 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12493
12494 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
12495 filename pattern.
12496
12497 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12498
12499 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
12500 in breakpoint filename pattern.
12501
12502 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12503
12504 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
12505
12506 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12507
12508 * gdb.linespec/explicit.exp: Check for readline support for
12509 tab-completion tests. Fix obvious typo.
12510
12511 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
12512
12513 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
12514 and replay.
12515
12516 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
12517
12518 * gdb.btrace/non-stop.c: New.
12519 * gdb.btrace/non-stop.exp: New.
12520
12521 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
12522 Yao Qi <yao.qi@linaro.org>
12523
12524 * gdb.trace/trace-condition.c: New file.
12525 * gdb.trace/trace-condition.exp: New file.
12526
12527 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
12528
12529 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
12530 for testing bytecode compilation.
12531
12532 2015-09-16 Pedro Alves <palves@redhat.com>
12533 Sandra Loosemore <sandra@codesourcery.com>
12534
12535 * gdb.threads/non-stop-fair-events.c (timeout): New global.
12536 (SECONDS): Redefine.
12537 (main): Call pthread_kill and alarm early.
12538 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
12539 support.
12540 (test): If the target can't hardware step and doesn't support
12541 displaced stepping, increase the timeout.
12542
12543 2015-09-16 Pedro Alves <palves@redhat.com>
12544
12545 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
12546 (enable_debug): New procedures.
12547 (test): Use them. Bail out if waiting for threads fails.
12548 (top level): Bail out if a test fails.
12549
12550 2015-09-16 Yao Qi <yao.qi@linaro.org>
12551
12552 * gdb.asm/asm-source.exp: Set asm-arch for
12553 aarch64*-*-* target.
12554 * gdb.asm/aarch64.inc: New file.
12555
12556 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
12557
12558 * gdb.ada/array_of_variable_length.exp: New testcase.
12559 * gdb.ada/array_of_variable_length/foo.adb: New file.
12560 * gdb.ada/array_of_variable_length/pck.adb: New file.
12561 * gdb.ada/array_of_variable_length/pck.ads: New file.
12562
12563 2015-09-15 Doug Evans <dje@google.com>
12564
12565 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
12566 of function static local variable.
12567
12568 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
12569
12570 * gdb.threads/tls-so_extern.exp: New test file.
12571 * gdb.threads/tls-so_extern.c: New test file.
12572 * gdb.threads/tls-so_extern_main.c: New test file.
12573
12574 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12575
12576 * gdb.opt/solib-intra-step-lib.c: New file.
12577 * gdb.opt/solib-intra-step-main.c: New file.
12578 * gdb.opt/solib-intra-step.exp: New file.
12579
12580 2015-09-15 Pedro Alves <palves@redhat.com>
12581
12582 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
12583 gdb_continue_to_breakpoint instead of gdb_test_multiple.
12584
12585 2015-09-14 Pedro Alves <palves@redhat.com>
12586
12587 * gdb.base/hook-stop-continue.c: Delete.
12588 * gdb.base/hook-stop-continue.exp: Delete.
12589 * gdb.base/hook-stop-frame.c: Delete.
12590 * gdb.base/hook-stop-frame.exp: Delete.
12591 * gdb.base/hook-stop.c: New file.
12592 * gdb.base/hook-stop.exp: New file.
12593
12594 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
12595
12596 * gdb.ada/access_to_packed_array.exp: New testcase.
12597 * gdb.ada/access_to_packed_array/foo.adb: New file.
12598 * gdb.ada/access_to_packed_array/pack.adb: New file.
12599 * gdb.ada/access_to_packed_array/pack.ads: New file.
12600
12601 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
12602
12603 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
12604 buffer size test.
12605
12606 2015-09-11 Don Breazeal <donb@codesourcery.com>
12607
12608 * gdb.base/foll-exec.c: Add copyright header. Fix
12609 formatting issues.
12610 * gdb.base/foll-exec.exp (zap_session): Delete proc.
12611 (do_exec_tests): Use clean_restart in place of zap_session,
12612 and for test initialization. Fix formatting issues. Use
12613 fail in place of perror.
12614 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
12615 an expect statement to match an expression with output from
12616 the program under debug.
12617 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
12618 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
12619 * gdb.threads/non-ldr-exc-2.exp: Likewise.
12620 * gdb.threads/non-ldr-exc-3.exp: Likewise.
12621 * gdb.threads/non-ldr-exc-4.exp: Likewise.
12622
12623 2015-09-09 Doug Evans <dje@google.com>
12624
12625 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
12626
12627 2015-09-09 Doug Evans <dje@google.com>
12628
12629 * gdb.base/pie-execl.exp: Fix result test of build_executable.
12630
12631 2015-09-09 Doug Evans <dje@google.com>
12632
12633 * gdb.base/savedregs.exp: Fix typo.
12634
12635 2015-09-09 Pedro Alves <palves@redhat.com>
12636
12637 * gdb.mi/mi-cli.exp: Add CLI finish tests.
12638
12639 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
12640
12641 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
12642 command actually switches threads. Give up on remaining
12643 tests if target fails to stop at breakpoint.
12644
12645 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
12646
12647 * gdb.ada/funcall_char.exp: New testcase.
12648 * gdb.ada/funcall_char/foo.adb: New file.
12649
12650 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
12651
12652 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
12653 expected outputs. Add two testcases for completing ambiguous
12654 functions.
12655 * gdb.ada/complete/aux_pck.adb: New file.
12656 * gdb.ada/complete/aux_pck.ads: New file.
12657 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
12658 Ambiguous_Func functions.
12659 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
12660 * gdb.ada/complete/pck.adb: Likewise.
12661
12662 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
12663
12664 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
12665 failures to run the test program under GDB.
12666
12667 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
12668
12669 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
12670 to C.
12671
12672 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
12673
12674 * gdb.base/run-after-attach.exp: New test file.
12675 * gdb.base/run-after-attach.c: New test file.
12676
12677 2015-08-26 Don Breazeal <donb@codesourcery.com>
12678
12679 * gdb.base/foll-exec-2.c: New test program.
12680 * gdb.base/foll-exec-2.exp: New test.
12681
12682 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
12683
12684 * gdb.base/nested-subp1.exp: New file.
12685 * gdb.base/nested-subp1.c: New file.
12686 * gdb.base/nested-subp2.exp: New file.
12687 * gdb.base/nested-subp2.c: New file.
12688 * gdb.base/nested-subp3.exp: New file.
12689 * gdb.base/nested-subp3.c: New file.
12690
12691 2015-08-24 Pedro Alves <palves@redhat.com>
12692
12693 * gdb.server/connect-without-multi-process.c: New file.
12694 * gdb.server/connect-without-multi-process.exp: New file.
12695
12696 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
12697
12698 * gdb.opt/inline-markers.c: Make z int.
12699
12700 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
12701
12702 * gdb.opt/inline-markers.c: Make z volatile.
12703
12704 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
12705
12706 * gdb.opt/inline-bt.c: New volatile global z.
12707 * gdb.opt/inline-cmds.c: Likewise.
12708 * gdb.opt/inline-locals.c: Likewise.
12709 * gdb.opt/inline-markers.c: New extern global z.
12710 (marker): Use z.
12711 (inline_fn): Likewise.
12712
12713 2015-08-24 Pedro Alves <palves@redhat.com>
12714
12715 * config/m32r-stub.exp: Remove file.
12716 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
12717 * gdb.base/call-rt-st.exp: Likewise.
12718 * gdb.base/call-strs.exp: Likewise.
12719 * gdb.base/default.exp: Remove references to h8300-*-hms and
12720 *-*-udi*.
12721 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
12722
12723 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12724
12725 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
12726 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
12727 and "return" use KFAIL when GDB can not read/write the vector
12728 return value.
12729
12730 2015-08-21 Gary Benson <gbenson@redhat.com>
12731
12732 * gdb.trace/pending.exp: Cope with remote transfer warnings.
12733
12734 2015-08-20 Pedro Alves <palves@redhat.com>
12735
12736 * gdb.server/solib-list.exp: No longer expect an interior stop in
12737 non-stop mode.
12738
12739 2015-08-20 Pedro Alves <palves@redhat.com>
12740
12741 * gdb.server/connect-stopped-target.c: New file.
12742 * gdb.server/connect-stopped-target.exp: New file.
12743
12744 2015-08-20 Pedro Alves <palves@redhat.com>
12745
12746 * gdb.dwarf2/comp-unit-lang.exp: New file.
12747 * gdb.dwarf2/comp-unit-lang.c: New file.
12748
12749 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
12750
12751 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
12752 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
12753
12754 2015-08-19 Kevin Buettner <kevinb@redhat.com>
12755
12756 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
12757 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
12758
12759 2015-08-18 Doug Evans <dje@google.com>
12760 Adrian Sendroiu <adrian.sendroiu@freescale.com>
12761
12762 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
12763 skip_python_tests. New arg prompt_regexp.
12764 (skip_python_tests): New function.
12765 * lib/mi-support.exp (mi_skip_python_tests): New function.
12766 * gdb.python/py-mi-objfile-gdb.py: New file.
12767 * gdb.python/py-mi-objfile.c: New file.
12768 * gdb.python/py-mi-objfile.exp: New file.
12769
12770 2015-08-17 Keith Seitz <keiths@redhat.com>
12771
12772 * gdb.linespec/explicit.exp: Move strace test from here ...
12773 * gdb.trace/strace.exp: ... to here.
12774
12775 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
12776
12777 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
12778 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
12779
12780 2015-08-14 Doug Evans <xdje42@gmail.com>
12781
12782 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
12783 inferior before selecting a new file.
12784
12785 2015-08-14 Doug Evans <xdje42@gmail.com>
12786
12787 * gdb.mi/mi-disassemble.exp: Update.
12788 * gdb.base/disasm-optim.S: New file.
12789 * gdb.base/disasm-optim.c: New file.
12790 * gdb.base/disasm-optim.h: New file.
12791 * gdb.base/disasm-optim.exp: New file.
12792
12793 2015-08-14 Keith Seitz <keiths@redhat.com>
12794
12795 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
12796 "evaluated-by".
12797
12798 2015-08-13 Joel Brobecker <brobecker@adacore.com>
12799
12800 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
12801
12802 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
12803
12804 * gdb.ada/fun_renaming.exp: New testcase.
12805 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
12806 * gdb.ada/fun_renaming/pack.adb: New file.
12807 * gdb.ada/fun_renaming/pack.ads: New file.
12808
12809 2015-08-12 Keith Seitz <keiths@redhat.com>
12810
12811 * gdb.base/dso2dso.exp: Pass basename of source file in call to
12812 gdb_get_line_number.
12813
12814 2015-08-12 Joel Brobecker <brobecker@adacore.com>
12815
12816 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
12817 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
12818 gdb.base/dso2dso.exp: New files.
12819
12820 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
12821 Pedro Alves <palves@redhat.com>
12822 Keith Seitz <keiths@redhat.com>
12823
12824 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
12825 GDBFLAGS.
12826
12827 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
12828
12829 * gdb.base/gdbhistsize-history.exp
12830 (test_histsize_history_setting): Use save_vars.
12831 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12832 Use save_vars.
12833 (test_no_truncation_of_unlimited_history_file): Use save_vars.
12834 * gdb.base/readline.exp: Use save_vars.
12835
12836 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
12837
12838 * lib/gdb.exp (save_vars): New proc.
12839
12840 2015-08-11 Keith Seitz <keiths@redhat.com>
12841
12842 * gdb.base/help.exp: Update help_breakpoint_text.
12843
12844 2015-08-11 Keith Seitz <keiths@redhat.com>
12845
12846 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
12847 (at toplevel): Call test_explicit_breakpoints.
12848 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
12849 breakpoints.
12850 * lib/mi-support.exp (mi_make_breakpoint): Add support for
12851 breakpoint conditions, "-cond".
12852
12853 2015-08-11 Keith Seitz <keiths@redhat.com>
12854
12855 * gdb.linespec/3explicit.c: New file.
12856 * gdb.linespec/cpexplicit.cc: New file.
12857 * gdb.linespec/cpexplicit.exp: New file.
12858 * gdb.linespec/explicit.c: New file.
12859 * gdb.linespec/explicit.exp: New file.
12860 * gdb.linespec/explicit2.c: New file.
12861 * gdb.linespec/ls-errs.exp: Add explicit location tests.
12862 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
12863 before using in the matching pattern.
12864 Clarify that `prefix' is a regular expression.
12865
12866 2015-08-11 Keith Seitz <keiths@redhat.com>
12867
12868 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
12869 test.
12870 Add tests for missing ",FMT" and ",".
12871
12872 2015-08-10 Doug Evans <dje@google.com>
12873 Keith Seitz <keiths@redhat.com>
12874
12875 PR gdb/17960
12876 * gdb.base/completion.exp: Add location completer tests.
12877
12878 2015-08-07 Pedro Alves <palves@redhat.com>
12879
12880 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
12881 tests here.
12882 (top level): Run do_test with and without displaced stepping.
12883
12884 2015-08-07 Pedro Alves <palves@redhat.com>
12885
12886 * gdb.base/valgrind-disp-step.c: New file.
12887 * gdb.base/valgrind-disp-step.exp: New file.
12888
12889 2015-08-07 Pedro Alves <palves@redhat.com>
12890
12891 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
12892 Delete function.
12893 (main): Add alarm. Run an infinite loop instead of calling
12894 wait_threads.
12895 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
12896 comment.
12897 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
12898 Delete function.
12899 (main): Add alarm. Run an infinite loop instead of calling
12900 wait_threads.
12901 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
12902 comment.
12903
12904 2015-08-07 Pedro Alves <palves@redhat.com>
12905
12906 * gdb.base/checkpoint-ns.exp: New file.
12907 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
12908 standard_testfile.
12909
12910 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
12911
12912 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
12913 * gdb.btrace/instruction_history.exp: Update.
12914 * gdb.btrace/tsx.exp: New.
12915 * gdb.btrace/tsx.c: New.
12916
12917 2015-08-06 Pedro Alves <palves@redhat.com>
12918
12919 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
12920 increase timeout.
12921 * gdb.reverse/until-precsave.exp: Bump timeouts.
12922
12923 2015-08-06 Pedro Alves <palves@redhat.com>
12924
12925 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
12926
12927 2015-08-06 Pedro Alves <palves@redhat.com>
12928
12929 PR gdb/18749
12930 * gdb.threads/process-dies-while-handling-bp.c: New file.
12931 * gdb.threads/process-dies-while-handling-bp.exp: New file.
12932
12933 2015-08-06 Pedro Alves <palves@redhat.com>
12934
12935 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
12936 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
12937
12938 2015-08-05 Pedro Alves <palves@redhat.com>
12939
12940 * gdb.threads/next-while-other-thread-longjmps.c: New file.
12941 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
12942
12943 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
12944
12945 * gdb.base/bp-permanent.exp: Report test as unsupported if
12946 the target cannot stop at the permanent breakpoint.
12947
12948 2015-08-03 Doug Evans <dje@google.com>
12949
12950 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
12951 10000.
12952
12953 2015-08-03 Doug Evans <dje@google.com>
12954
12955 * Makefile.in (workers/%.worker, build-perf): New rule.
12956 (GDB_PERFTEST_MODE): New variable.
12957 (check-perf): Use it.
12958 (clean): Clean up gdb.perf parallel build subdirs.
12959 * lib/build-piece.exp: New file.
12960 * lib/gdb.exp (make_gdb_parallel_path): New function
12961 (standard_output_file, standard_temp_file): Call it.
12962 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12963 of $GDB_PARALLEL.
12964 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
12965
12966 2015-08-03 Doug Evans <dje@google.com>
12967
12968 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
12969 (LOG_FILE_NAME): New global.
12970 (TextReporter.__init__): Initialize self.txt_sum.
12971 (TextReporter.report): Add support for multiple data-points.
12972 Move report to perftest.sum, put raw data in perftest.log.
12973 (TextReporter.start): Open sum and log files.
12974 (TextReporter.end): Close sum and log files.
12975 * gdb.perf/lib/perftest/testresult.py
12976 (SingleStatisticTestResult.record): Handle multiple data-points.
12977
12978 2015-07-31 Pedro Alves <palves@redhat.com>
12979
12980 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
12981 Use spawn_id_get_pid. Wait for spawn id after eof. Use
12982 kill_wait_spawned_process instead of explicit "kill -9".
12983 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
12984 returning a spawn id instead of a pid. Use spawn_id_get_pid and
12985 kill_wait_spawned_process.
12986 * gdb.base/attach-twice.exp: Likewise.
12987 * gdb.base/attach.exp: Likewise.
12988 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
12989 gdb_test_multiple.
12990 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
12991 returning a spawn id instead of a pid. Use spawn_id_get_pid and
12992 kill_wait_spawned_process.
12993 * gdb.base/valgrind-infcall.exp: Likewise.
12994 * gdb.multi/multi-attach.exp: Likewise.
12995 * gdb.python/py-prompt.exp: Likewise.
12996 * gdb.python/py-sync-interp.exp: Likewise.
12997 * gdb.server/ext-attach.exp: Likewise.
12998 * gdb.threads/attach-into-signal.exp (corefunc): Use
12999 spawn_wait_for_attach, spawn_id_get_pid and
13000 kill_wait_spawned_process.
13001 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
13002 spawn_wait_for_attach returning a spawn id instead of a pid. Use
13003 spawn_id_get_pid and kill_wait_spawned_process.
13004 * gdb.threads/attach-stopped.exp (corefunc): Use
13005 spawn_wait_for_attach, spawn_id_get_pid and
13006 kill_wait_spawned_process.
13007 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
13008 Use spawn_id_get_pid. Wait for spawn id after eof. Use
13009 kill_wait_spawned_process instead of explicit "kill -9".
13010 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
13011 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
13012 (spawn_wait_for_attach): Use spawn instead of exec to spawn
13013 processes. Don't map cygwin/windows pids here. Now returns a
13014 spawn id list.
13015
13016 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
13017
13018 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
13019 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
13020 correct patch.
13021
13022 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
13023
13024 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
13025
13026 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
13027
13028 Reapply:
13029 2014-05-21 Mark Wielaard <mjw@redhat.com>
13030
13031 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
13032
13033 2015-07-30 Pedro Alves <palves@redhat.com>
13034
13035 * linux-low.c (handle_extended_wait): Set the child's last
13036 reported status to TARGET_WAITKIND_STOPPED.
13037
13038 2015-07-30 Pedro Alves <palves@redhat.com>
13039
13040 PR threads/18600
13041 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
13042 only shows inferior 1.
13043
13044 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
13045 Pedro Alves <palves@redhat.com>
13046
13047 PR threads/18600
13048 * gdb.threads/fork-plus-threads.c: New file.
13049 * gdb.threads/fork-plus-threads.exp: New file.
13050
13051 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13052
13053 * gdb.base/batch-preserve-term-settings.exp
13054 (test_terminal_settings_preserved_after_cli_exit): Use
13055 send_quit_command.
13056
13057 2015-07-29 Pedro Alves <palves@redhat.com>
13058 Don Breazeal <donb@codesourcery.com>
13059
13060 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
13061 output from both inferior_spawn_id and gdb_spawn_id.
13062
13063 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
13064
13065 * gdb.threads/attach-into-signal.exp (corefunc): Use
13066 with_test_prefix on nested loops, uniquefying the test messages.
13067
13068 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
13069
13070 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
13071 commit.
13072
13073 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13074
13075 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
13076 New proc.
13077 (test_terminal_settings_preserved_after_sigterm): New test.
13078
13079 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13080
13081 * gdb.base/batch-preserve-term-settings.exp
13082 (test_terminal_settings_preserved_after_cli_exit): New test.
13083
13084 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13085
13086 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
13087 manipulation of saved_gdbflags.
13088 (test_terminal_settings_preserved): Remove global declaration of
13089 the unused variable pagination_prompt. Remove manipulation of
13090 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
13091 GDBFLAGS.
13092
13093 2015-07-29 Pedro Alves <palves@redhat.com>
13094
13095 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
13096
13097 2015-07-29 Pedro Alves <palves@redhat.com>
13098
13099 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
13100 at the top.
13101
13102 2015-07-29 Pedro Alves <palves@redhat.com>
13103
13104 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
13105 (main): Call gdb_unbuffer_output.
13106 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
13107 (main): Call gdb_unbuffer_output.
13108 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
13109 (main): Call gdb_unbuffer_output.
13110 * gdb.base/call-strs.exp: Adjust to step over the
13111 gdb_unbuffer_output call.
13112 * gdb.base/catch-gdb-caused-signals.c: Include
13113 "../lib/unbuffer_output.c".
13114 (main): Call gdb_unbuffer_output.
13115 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
13116 (main): Call gdb_unbuffer_output.
13117 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
13118 (main): Call gdb_unbuffer_output.
13119 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
13120 (main): Call gdb_unbuffer_output.
13121 * gdb.base/shlib-call.exp: Adjust to step over the
13122 gdb_unbuffer_output call.
13123 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
13124 (main): Call gdb_unbuffer_output.
13125 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
13126 (main): Call gdb_unbuffer_output.
13127 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
13128 (main): Rename to ...
13129 (test): ... this.
13130 (main): Reimplement.
13131 * gdb.base/varargs.exp: Run to test instead of to main.
13132 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
13133 (main): Call gdb_unbuffer_output.
13134
13135 2015-07-29 Pedro Alves <palves@redhat.com>
13136
13137 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
13138 factore out from mi_continue_dprintf. For call-style dprintfs,
13139 expect dprintf output out of $inferior_spawn_id.
13140 (mi_continue_dprintf): Use mi_expect_dprintf.
13141 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
13142 (main): Call gdb_unbuffer_output.
13143
13144 2015-07-29 Pedro Alves <palves@redhat.com>
13145
13146 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
13147 (default_mi_gdb_start): Set inferior_spawn_id instead of
13148 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
13149 gdb_spawn_id.
13150 (mi_gdb_test): Always expect inferior output from both
13151 $inferior_spawn_id and $gdb_spawn_id.
13152
13153 2015-07-29 Pedro Alves <palves@redhat.com>
13154
13155 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
13156 send_inferior and $inferior_spawn_id.
13157
13158 2015-07-29 Pedro Alves <palves@redhat.com>
13159
13160 * gdb.gdb/complaints.exp (test_initial_complaints)
13161 (test_serial_complaints, test_short_complaints): Use
13162 gdb_test_stdio.
13163 (test_empty_complaint): Handle $inferior_spawn_id !=
13164 $gdb_spawn_id.
13165
13166 2015-07-29 Pedro Alves <palves@redhat.com>
13167
13168 * gdb.base/varargs.exp: Use gdb_test_stdio.
13169
13170 2015-07-29 Pedro Alves <palves@redhat.com>
13171
13172 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
13173
13174 2015-07-29 Pedro Alves <palves@redhat.com>
13175
13176 * gdb.base/ending-run.exp: Use gdb_test_stdio.
13177
13178 2015-07-29 Pedro Alves <palves@redhat.com>
13179
13180 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
13181 parameter into two new parameters, "inf_result" and "gdb_result".
13182 Expect inferior output and gdb output from $inferior_spawn_id and
13183 $gdb_spawn_id, respectively. Adjust all callers.
13184
13185 2015-07-29 Pedro Alves <palves@redhat.com>
13186
13187 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
13188 of gdb_test_sequence.
13189
13190 2015-07-29 Pedro Alves <palves@redhat.com>
13191
13192 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
13193 (saw_spurious_output): Expect inferior output from
13194 $inferior_spawn_id. Use gdb_test_stdio.
13195
13196 2015-07-29 Pedro Alves <palves@redhat.com>
13197
13198 * gdb.base/dprintf.exp: Use standard_testfile. Change
13199 prepare_for_testing call.
13200 (srcfile): Don't set.
13201 (restart): New procedure.
13202 (test_dprintf): New procecure, use to continue over dprintfs.
13203 (test_call, test_agent): New procedures, tests moved here.
13204 Restart gdb and recreate dprintfs. Adjust expected output.
13205
13206 2015-07-29 Pedro Alves <palves@redhat.com>
13207
13208 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
13209
13210 2015-07-29 Pedro Alves <palves@redhat.com>
13211
13212 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
13213
13214 2015-07-29 Pedro Alves <palves@redhat.com>
13215
13216 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
13217 gdb_test_stdio.
13218
13219 2015-07-29 Pedro Alves <palves@redhat.com>
13220
13221 * lib/gdb.exp (gdb_test_stdio): New procedure.
13222
13223 2015-07-29 Pedro Alves <palves@redhat.com>
13224
13225 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
13226
13227 2015-07-29 Pedro Alves <palves@redhat.com>
13228
13229 * gdb.base/call-signal-resume.exp: Remove check for
13230 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
13231 * gdb.base/unwindonsignal.exp: Likewise.
13232 * gdb.base/call-signals.c (gen_signal): Remove printf call.
13233 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
13234
13235 2015-07-29 Pedro Alves <palves@redhat.com>
13236
13237 * gdb.base/siginfo-addr.c (pass): New function.
13238 (handler): Call it iff si_addr is correct.
13239 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
13240 Set a breakpoint at "pass" and continue to it.
13241
13242 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
13243
13244 * gdb.python/py-objfile.exp: Make some tests have unique names.
13245 * gdb.python/py-pp-registration.exp: Likewise.
13246
13247 2015-07-28 Pedro Alves <palves@redhat.com>
13248
13249 * gdb.server/server-exec-info.exp: Issue a "disconnect".
13250
13251 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
13252
13253 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
13254
13255 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
13256
13257 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
13258
13259 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
13260
13261 * gdb.base/gdb-sigterm-2.exp: New test.
13262
13263 2015-07-25 Doug Evans <xdje42@gmail.com>
13264
13265 Revert:
13266 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
13267 (workers/%.worker, build-perf): New rule.
13268 (GDB_PERFTEST_MODE): New variable.
13269 (check-perf): Use it.
13270 (clean): Clean up gdb.perf parallel build subdirs.
13271 * lib/build-piece.exp: New file.
13272 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
13273 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
13274 name.
13275 (standard_temp_file): Ditto.
13276 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13277 of $GDB_PARALLEL.
13278
13279 2015-07-24 Doug Evans <dje@google.com>
13280
13281 * gdb.perf/lib/perftest/utils.py: New file.
13282 * gdb.perf/gm-hello.cc: New file.
13283 * gdb.perf/gm-pervasive-typedef.cc: New file.
13284 * gdb.perf/gm-pervasive-typedef.h: New file.
13285 * gdb.perf/gm-std.cc: New file.
13286 * gdb.perf/gm-std.h: New file.
13287 * gdb.perf/gm-use-cerr.cc: New file.
13288 * gdb.perf/gm-utils.h: New file.
13289 * gdb.perf/gmonster-null-lookup.py: New file.
13290 * gdb.perf/gmonster-pervasive-typedef.py: New file.
13291 * gdb.perf/gmonster-print-cerr.py: New file.
13292 * gdb.perf/gmonster-ptype-string.py: New file.
13293 * gdb.perf/gmonster-runto-main.py: New file.
13294 * gdb.perf/gmonster-select-file.py: New file.
13295 * gdb.perf/gmonster1-null-lookup.exp: New file.
13296 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
13297 * gdb.perf/gmonster1-print-cerr.exp: New file.
13298 * gdb.perf/gmonster1-ptype-string.exp: New file.
13299 * gdb.perf/gmonster1-runto-main.exp: New file.
13300 * gdb.perf/gmonster1-select-file.exp: New file.
13301 * gdb.perf/gmonster1.cc: New file.
13302 * gdb.perf/gmonster1.exp: New file.
13303 * gdb.perf/gmonster2-null-lookup.exp: New file.
13304 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
13305 * gdb.perf/gmonster2-print-cerr.exp: New file.
13306 * gdb.perf/gmonster2-ptype-string.exp: New file.
13307 * gdb.perf/gmonster2-runto-main.exp: New file.
13308 * gdb.perf/gmonster2-select-file.exp: New file.
13309 * gdb.perf/gmonster2.cc: New file.
13310 * gdb.perf/gmonster2.exp: New file.
13311
13312 2015-07-24 Doug Evans <dje@google.com>
13313
13314 * gdb.perf/README: New file.
13315 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
13316 * lib/gen-perf-test.exp: New file.
13317
13318 2015-07-24 Doug Evans <dje@google.com>
13319
13320 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
13321 (PerfTest::startup): New function.
13322 (PerfTest::run): Return result of calling body.
13323 (PerfTest::assemble): Rewrite.
13324 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
13325 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
13326 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
13327 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
13328 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
13329
13330 2015-07-24 Doug Evans <dje@google.com>
13331
13332 * lib/gdb.exp (clean_restart): Make executable optional.
13333
13334 2015-07-24 Doug Evans <dje@google.com>
13335
13336 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
13337 compiler_info references.
13338 * gdb.cp/temargs.exp: Ditto.
13339 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
13340 (get_compiler_info): Early exit if already computed. Set compiler_info
13341 to "unknown" if there was a problem.
13342 (test_compiler_info): Add function comment. Call get_compiler_info.
13343
13344 2015-07-24 Doug Evans <dje@google.com>
13345
13346 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
13347 (workers/%.worker, build-perf): New rule.
13348 (GDB_PERFTEST_MODE): New variable.
13349 (check-perf): Use it.
13350 (clean): Clean up gdb.perf parallel build subdirs.
13351 * lib/build-piece.exp: New file.
13352 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
13353 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
13354 name.
13355 (standard_temp_file): Ditto.
13356 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13357 of $GDB_PARALLEL.
13358
13359 2015-07-24 Doug Evans <dje@google.com>
13360
13361 * lib/future.exp (gdb_default_target_compile): New option
13362 "early_flags".
13363 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
13364 --as-needed.
13365
13366 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
13367
13368 * gdb.base/catch-syscall.exp: Call gdb_exit before
13369 gdb_skip_xml_test.
13370
13371 2015-07-24 Pedro Alves <palves@redhat.com>
13372
13373 * gdb.python/py-events.exp: Accept output between the stop event
13374 and the prompt.
13375 * gdb.python/py-evsignal.exp: Likewise.
13376 * gdb.python/py-evthreads.exp: Likewise.
13377
13378 2015-07-24 Pedro Alves <palves@redhat.com>
13379
13380 PR gdb/18717
13381 * gdb.threads/non-ldr-exit.c: New file.
13382 * gdb.threads/non-ldr-exit.exp: New file.
13383
13384 2015-07-24 Yao Qi <yao.qi@linaro.org>
13385
13386 * gdb.server/ext-wrapper.exp: Test --wrapper option when
13387 restarting process.
13388
13389 2015-07-24 Yao Qi <yao.qi@linaro.org>
13390
13391 * gdb.server/ext-restart.exp: New file.
13392
13393 2015-07-24 Yao Qi <yao.qi@linaro.org>
13394
13395 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
13396 argument options.
13397 * gdb.server/ext-wrapper.exp: New file.
13398
13399 2015-07-23 Doug Evans <dje@google.com>
13400
13401 * gdb.dwarf2/dw2-dummy-cu.S: New file.
13402 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
13403
13404 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
13405
13406 * gdb.ada/var_arr_typedef.exp: New testcase.
13407 * gdb.ada/var_arr_typedef/pack.adb: New file.
13408 * gdb.ada/var_arr_typedef/pack.ads: New file.
13409 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
13410
13411 2015-07-20 Joel Brobecker <brobecker@adacore.com>
13412
13413 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
13414
13415 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13416
13417 * gdb.arch/i386-biarch-core.exp: Replace istarget
13418 by "complete set gnutarget". Remove expectation for the "core-file"
13419 command.
13420
13421 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13422
13423 Revert the previous commit:
13424 Tests for validate symbol file using build-id.
13425
13426 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
13427
13428 Tests for validate symbol file using build-id.
13429 * gdb.base/solib-mismatch-lib.c: New file.
13430 * gdb.base/solib-mismatch-libmod.c: New file.
13431 * gdb.base/solib-mismatch.c: New file.
13432 * gdb.base/solib-mismatch.exp: New file.
13433
13434 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
13435
13436 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
13437 nios2-*-linux*.
13438 * gdb.base/sigbpt.exp (stepi_out): Likewise.
13439 * gdb.base/siginfo.exp: Likewise.
13440 * gdb.base/sigstep.exp (advance, advancei): Likewise.
13441
13442 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
13443
13444 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
13445 Move it to ...
13446 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
13447 ... here.
13448 * gdb.trace/range-stepping.exp: Check that the target supports
13449 range stepping.
13450
13451 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13452
13453 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
13454
13455 2015-07-14 Pedro Alves <palves@redhat.com>
13456
13457 * gdb.base/killed-outside.exp: New file.
13458 * gdb.base/killed-outside.c: New file.
13459
13460 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
13461
13462 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
13463 (n at main): New.
13464 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
13465
13466 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
13467
13468 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
13469 infcall tests instead of setting up for KFAIL.
13470
13471 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
13472
13473 * gdb.btrace/record_goto-step.exp: New.
13474
13475 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13476
13477 PR compile/18484
13478 * gdb.compile/compile.c (struct struct_type): Add volatile to
13479 selffield's type.
13480 * gdb.compile/compile.exp
13481 (compile code struct_object.selffield = &struct_object): Skip further
13482 struct_object tests if this one xfails.
13483
13484 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
13485
13486 PR exp/18617
13487 * gdb.trace/ax.exp: Add test.
13488
13489 2015-07-07 Yao Qi <yao.qi@linaro.org>
13490
13491 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
13492 instead of istarget "aarch64*-*-*".
13493 * gdb.arch/aarch64-fp.exp: Likewise.
13494 * gdb.base/float.exp: Likewise.
13495 * gdb.reverse/aarch64.exp: Likewise.
13496 * lib/gdb.exp (is_aarch64_target): New proc.
13497
13498 2015-07-07 Yao Qi <yao.qi@linaro.org>
13499
13500 * lib/gdb.exp (is_aarch32_target): New proc.
13501 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
13502 instead of "istarget "arm*-*-*"".
13503 * gdb.arch/arm-disp-step.exp: Likewise.
13504 * gdb.arch/thumb-bx-pc.exp: Likewise.
13505 * gdb.arch/thumb-prologue.exp: Likewise.
13506 * gdb.arch/thumb-singlestep.exp: Likewise.
13507 * gdb.base/disp-step-syscall.exp: Likewise.
13508 * gdb.base/float.exp: Likewise.
13509
13510 2015-07-07 Yao Qi <yao.qi@linaro.org>
13511
13512 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
13513 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
13514
13515 2015-07-07 Yao Qi <yao.qi@linaro.org>
13516
13517 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
13518 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
13519 if it exists.
13520 * gdb.multi/multi-arch.exp: Likewise.
13521
13522 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
13523
13524 * gdb.python/py-lazy-string.exp: Add missing parentheses to
13525 print.
13526
13527 2015-07-07 Yao Qi <yao.qi@linaro.org>
13528
13529 * gdb.arch/thumb-singlestep.exp: Do one more single step.
13530
13531 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
13532
13533 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
13534 '[' and ']' characters.
13535
13536 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
13537
13538 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
13539
13540 2015-06-29 Pedro Alves <palves@redhat.com>
13541
13542 PR threads/18127
13543 * gdb.threads/hand-call-new-thread.c: New file.
13544 * gdb.threads/hand-call-new-thread.c: New file.
13545
13546 2015-06-26 Keith Seitz <keiths@redhat.com>
13547 Doug Evans <dje@google.com>
13548
13549 PR 16253
13550 * gdb.cp/var-tag-2.cc: New file.
13551 * gdb.cp/var-tag-3.cc: New file.
13552 * gdb.cp/var-tag-4.cc: New file.
13553 * gdb.cp/var-tag.cc: New file.
13554 * gdb.cp/var-tag.exp: New file.
13555
13556 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
13557
13558 * gdb.base/history-duplicates.exp: New test.
13559
13560 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
13561
13562 * gdb.base/completion.exp: Test the completion of the "focus"
13563 command.
13564
13565 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13566
13567 * gdb.arch/amd64-prologue-skip.S: New file.
13568 * gdb.arch/amd64-prologue-skip.exp: New file.
13569
13570 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
13571
13572 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
13573 is_address_zero_readable check.
13574
13575 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
13576
13577 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
13578 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
13579
13580 2015-06-24 Yao Qi <yao.qi@linaro.org>
13581
13582 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
13583 linux targets.
13584
13585 2015-06-24 Yao Qi <yao.qi@linaro.org>
13586
13587 * lib/gdb.exp (supports_get_siginfo_type): New proc.
13588 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
13589 * gdb.base/siginfo-thread.exp: Likewise.
13590
13591 2015-06-22 Yao Qi <yao.qi@linaro.org>
13592
13593 * boards/remote-gdbserver-on-localhost.exp: Add comments.
13594
13595 2015-06-22 Yao Qi <yao.qi@linaro.org>
13596
13597 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
13598 aarch64*-*-*.
13599 (skip_hw_watchpoint_tests): Likewise.
13600
13601 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
13602
13603 * gdb.base/gdbinit-history.exp: Test the interaction between
13604 setting GDBHISTSIZE and setting the history size via .gdbinit.
13605
13606 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13607
13608 PR gdb/16999
13609 * gdb.base/gdbhistsize-history.exp: New test.
13610
13611 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13612
13613 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
13614 with GDBHISTSIZE.
13615 * gdb.base/readline.exp: Likewise.
13616
13617 2015-06-17 Yao Qi <yao.qi@linaro.org>
13618
13619 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
13620 line.
13621
13622 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13623
13624 * gdb.base/gdbinit-history.exp: Add test case to check that
13625 an unlimited history file does not get truncated on exit.
13626
13627 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13628
13629 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
13630 (VECTOR): New macro. Use it...
13631 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
13632 ...for these typedefs.
13633 (int8, char1, int1, double1): New typedefs.
13634 (struct just_int2, struct two_int2): New structures.
13635 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
13636 (add_structvecs, add_singlevecs): New functions.
13637 (main): Call add_some_intvecs twice.
13638 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
13639 the compile and exit upon failure. Try compiling for the "native"
13640 architecture. Test inferior function calls with vector arguments
13641 and vector return value handling with "finish" and "return".
13642
13643 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
13644
13645 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
13646 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
13647 PE file.
13648 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
13649
13650 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
13651
13652 PR breakpoints/16465
13653 * gdb.mi/mi-dprintf-pending.c: New file.
13654 * gdb.mi/mi-dprintf-pending.exp: New test.
13655 * gdb.mi/mi-dprintf-pendshr.c: New file.
13656
13657 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13658 Mircea Gherzan <mircea.gherzan@intel.com>
13659
13660 * gdb.arch/i386-mpx-map.c: New file.
13661 * gdb.arch/i386-mpx-map.exp: New File.
13662
13663 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13664
13665 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
13666 * gdb.arch/i386-mpx.exp: Indentation fixed.
13667
13668 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13669
13670 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
13671 function and improved indentation.
13672 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
13673 gdb_test_multiple. Added additional tests to skip the test.
13674
13675 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13676
13677 * gdb.arch/i386-avx512.c: Change path in include file.
13678 * gdb.arch/i386-avx512.exp: Change include dir path
13679 compilation flag.
13680 * gdb.arch/i386-mpx.c: Change path in include file.
13681 * gdb.arch/i386-mpx.exp: Change include dir path compilation
13682 flag.
13683
13684 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
13685
13686 * gdb.compile/compile-print.exp (compile print *vararray@3)
13687 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
13688
13689 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13690
13691 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
13692 (do not keep jit in memory): ... this.
13693 (expect 5): Change it to ...
13694 (expect no 5): ... this.
13695
13696 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
13697
13698 PR gdb/15564
13699 * gdb.mi/mi-detach.exp: New file.
13700
13701 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13702
13703 PR symtab/18392
13704 * gdb.arch/amd64-tailcall-self.S: New file.
13705 * gdb.arch/amd64-tailcall-self.c: New file.
13706 * gdb.arch/amd64-tailcall-self.exp: New file.
13707
13708 2015-05-28 Don Breazeal <donb@codesourcery.com>
13709
13710 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
13711 tests for remote targets by checking is_target_gdbserver.
13712
13713 2015-05-27 Doug Evans <dje@google.com>
13714
13715 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
13716 * gdb.dwarf2/opaque-type-lookup.c: New file.
13717 * gdb.dwarf2/opaque-type-lookup.exp: New file.
13718
13719 2015-05-26 Doug Evans <dje@google.com>
13720
13721 * gdb.cp/iostream.cc: New file.
13722 * gdb.cp/iostream.exp: New file.
13723
13724 2015-05-26 Doug Evans <dje@google.com>
13725
13726 * gdb.dwarf2/dw2-op-call.exp: Update.
13727 * gdb.dwarf2/dw4-sig-types.exp: Update.
13728 * gdb.dwarf2/implptr.exp: Update.
13729 * gdb.mi/mi-cmd-param-changed.exp: Update.
13730
13731 2015-05-26 Doug Evans <dje@google.com>
13732
13733 * gdb.python/py-lazy-string.c: New file.
13734 * gdb.python/py-lazy-string.exp: New file.
13735 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
13736 (main): Update. Add estring3.
13737 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
13738 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
13739
13740 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
13741 Yao Qi <yao.qi@linaro.org>
13742
13743 * gdb.reverse/aarch64.c: New.
13744 * gdb.reverse/aarch64.exp: New.
13745
13746 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
13747
13748 * lib/gdb.exp (supports_process_record): Return true for
13749 aarch64*-linux*.
13750 (supports_reverse): Likewise.
13751
13752 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
13753
13754 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13755 Use with_test_prefix.
13756
13757 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
13758
13759 * gdb.base/completion.exp: Add test for completion of layout
13760 names.
13761
13762 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
13763
13764 * lib/gdb.exp (skip_tui_tests): New proc.
13765 * gdb.base/tui-layout.exp: Check skip_tui_tests.
13766
13767 2015-05-19 Pedro Alves <palves@redhat.com>
13768
13769 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13770 Save the whole env array instead of just HOME. Unset HISTSIZE in
13771 the environment while testing. Restore whole environment
13772 afterwards.
13773
13774 2015-05-16 Doug Evans <xdje42@gmail.com>
13775
13776 * gdb.guile/scm-ports.c: New file.
13777 * gdb.guile/scm-ports.exp: Add memory port tests.
13778
13779 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13780
13781 * gdb.compile/compile-print.c: New file.
13782 * gdb.compile/compile-print.exp: New file.
13783
13784 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13785
13786 * gdb.compile/compile-ops.exp: Cast param to void.
13787 * gdb.compile/compile.exp: Complete type for _gdb_expr.
13788 (compile code struct_object.selffield = &struct_object): Add xfail.
13789
13790 2015-05-15 Joel Brobecker <brobecker@adacore.com>
13791
13792 * gdb.ada/arr_enum_with_gap: New testcase.
13793
13794 2015-05-15 Joel Brobecker <brobecker@adacore.com>
13795
13796 * gdb.ada/byte_packed_arr: New testcase.
13797
13798 2015-05-15 Joel Brobecker <brobecker@adacore.com>
13799
13800 * gdb.ada/pckd_neg: New testcase.
13801
13802 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
13803
13804 PR gdb/17820
13805 * gdb.base/gdbinit-history.exp: New test.
13806 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
13807 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
13808
13809 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
13810
13811 * gdb.python/py-xmethods.cc: Enhance test case.
13812 * gdb.python/py-xmethods.exp: New tests.
13813 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
13814 function.
13815 (B_indexoper): Likewise.
13816 (global_dm_list) : Add new xmethod worker functions.
13817
13818 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
13819
13820 * gdb.base/coredump-filter.exp: Correctly unset
13821 "coredump_var_addr" array.
13822
13823 2015-05-08 Pedro Alves <palves@redhat.com>
13824
13825 * gdb.server/non-existing-program.exp: Unset spawn_id.
13826
13827 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
13828
13829 PR python/18291
13830 * gdb.python/py-xmethods.exp: Add tests.
13831
13832 2015-05-08 Yao Qi <yao.qi@linaro.org>
13833
13834 PR gdb/18208
13835 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
13836 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
13837 function set_coredump_filter, and remove remote_exec call.
13838 Remove argument ipid. Callers update.
13839 (top level): Don't get inferior's PID.
13840
13841 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
13842
13843 * gdb.base/watch_thread_num.exp: Skip test on targets without
13844 access watchpoints.
13845
13846 2015-05-06 Pedro Alves <palves@redhat.com>
13847
13848 PR server/18081
13849 * gdb.server/non-existing-program.exp: New file.
13850
13851 2015-05-05 Joel Brobecker <brobecker@adacore.com>
13852
13853 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
13854
13855 2015-05-05 Joel Brobecker <brobecker@adacore.com>
13856
13857 * gdb.ada/out_of_line_in_inlined: New testcase.
13858
13859 2015-05-05 Joel Brobecker <brobecker@adacore.com>
13860
13861 * gdb.ada/var_rec_arr: New testcase.
13862
13863 2015-04-30 Yao Qi <yao.qi@linaro.org>
13864
13865 * gdb.base/break-idempotent.exp: If
13866 skip_hw_watchpoint_multi_tests returns true, skip the tests
13867 on "rwatch" and "awatch".
13868
13869 2015-04-30 Yao Qi <yao.qi@linaro.org>
13870
13871 * gdb.base/relativedebug.exp: Invoke gdb command
13872 "info sharedlibrary", and if libc.so doesn't have debug info,
13873 skip the test.
13874
13875 2015-04-29 Doug Evans <dje@google.com>
13876
13877 * gdb.python/py-xmethods.exp: Add ptype tests.
13878 * gdb.python/py-xmethods.py (E_method_char_worker): Add
13879 get_result_type method.
13880
13881 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
13882
13883 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
13884 the target does not support hardware watchpoints.
13885
13886 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
13887
13888 * gdb.base/break-always.exp: Abort testing if writing to memory
13889 causes an error.
13890
13891 2015-04-28 Doug Evans <dje@google.com>
13892
13893 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
13894 * gdb.python/py-pp-registration.exp: ... here. New file.
13895 * gdb.python/py-pp-registration.c: New file.
13896 * gdb.python/py-pp-registration.py: New file.
13897
13898 2015-04-28 Doug Evans <dje@google.com>
13899
13900 * gdb.python/py-bad-printers.c: New file.
13901 * gdb.python/py-bad-printers.py: New file.
13902 * gdb.python/py-bad-printers.exp: New file.
13903
13904 2015-04-28 Sasha Smundak <asmundak@google.com>
13905
13906 * gdb.python/py-type.exp: New test.
13907
13908 2015-04-28 Andy Wingo <wingo@igalia.com>
13909
13910 * gdb.python/py-parameter.exp:
13911 * gdb.guile/scm-parameter.exp: Escape the path that we are
13912 matching against, as it might contain characters that are special
13913 to regular expressions.
13914
13915 2015-04-27 Joel Brobecker <brobecker@adacore.com>
13916
13917 * gdb.ada/rec_comp: New testcase.
13918
13919 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
13920
13921 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
13922 before using it.
13923
13924 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
13925
13926 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
13927 new tests for verilog output.
13928
13929 2015-04-24 Yao Qi <yao.qi@linaro.org>
13930
13931 * boards/remote-gdbserver-on-localhost.exp: New file.
13932
13933 2015-04-23 Pedro Alves <palves@redhat.com>
13934
13935 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
13936 $inferior_spawn_id instead of $inferior_spawn_id directly. On
13937 "end of file", remove $inferior_spawn_id from the indirect list.
13938
13939 2015-04-23 Pedro Alves <palves@redhat.com>
13940
13941 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
13942
13943 2015-04-23 Pedro Alves <palves@redhat.com>
13944
13945 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
13946 on $any_spawn_id instead of only on $gdb_spawn_id.
13947
13948 2015-04-21 Pierre Muller <muller@sourceware.org>
13949
13950 PR pascal/17815
13951 * lib/pascal.exp (gpc_compile): Add new option "class".
13952 (fpc_compile): Likewise.
13953 * gdb.pascal/case-insensitive-symbols.pas: New file.
13954 * gdb.pascal/case-insensitive-symbols.exp: New file.
13955
13956 2015-04-20 Gary Benson <gbenson@redhat.com>
13957
13958 * gdb.base/attach.exp: Fix three extended remote failures.
13959
13960 2015-04-17 Gary Benson <gbenson@redhat.com>
13961
13962 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
13963 the main executable over the remote protocol.
13964
13965 2015-04-16 Pedro Alves <palves@redhat.com>
13966
13967 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
13968 a new gdbserver if gdbserver_reconnect_p is set.
13969
13970 2015-04-16 Pedro Alves <palves@redhat.com>
13971
13972 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
13973 is set, don't exit gdbserver.
13974
13975 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13976
13977 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
13978 appropriate .insn, such that an older assembler can be used.
13979 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
13980 the z/Architecture instruction set on 31-bit targets as well.
13981
13982 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13983
13984 * gdb.go/handcall.exp: Remove all logic related to the first
13985 breakpoint and rely on go_runto_main instead.
13986 * gdb.go/strings.exp: Likewise.
13987 * gdb.go/unsafe.exp: Likewise.
13988 * gdb.go/hello.exp: Likewise. Also rename the remaining
13989 breakpoint marker to "breakpoint 1".
13990 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
13991 * gdb.go/strings.go: Likewise.
13992 * gdb.go/unsafe.go: Likewise.
13993 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
13994 "set breakpoint 2 here" and rename the remaining breakpoint marker
13995 to "breakpoint 1".
13996
13997 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
13998
13999 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
14000 if itertools.imap is not present.
14001 * gdb.python/py-objfile.exp: Add parentheses.
14002 * gdb.python/py-type.exp: Same.
14003 * gdb.python/py-unwind-maint.py: Same.
14004
14005 2015-04-15 Yao Qi <yao.qi@linaro.org>
14006
14007 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
14008 of ":$ptr_size" and set its form explicitly.
14009
14010 2015-04-15 Pedro Alves <palves@redhat.com>
14011 Yao Qi <yao.qi@linaro.org>
14012
14013 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
14014 timeout by factor of 4.
14015 (test_regular_watch): Likewise.
14016 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
14017 * gdb.reverse/sigall-reverse.exp: Likewise.
14018 * gdb.reverse/until-precsave.exp: Likewise.
14019 * lib/gdb.exp (with_timeout_factor): New proc.
14020 (gdb_expect): Move some code to ...
14021 (get_largest_timeout): ... here. New procedure.
14022
14023 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
14024
14025 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
14026
14027 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
14028
14029 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
14030 to write to the .text section.
14031
14032 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
14033
14034 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
14035 Handle the case of targets that do not provide PID information.
14036
14037 2015-04-13 Yao Qi <yao.qi@linaro.org>
14038
14039 * lib/gdbserver-support.exp (gdb_exit): Catch exception
14040 and use expect instead of gdb_expect.
14041
14042 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
14043
14044 * gdb.base/coredump-filter.exp: Rename variable "addr" to
14045 "coredump_var_addr" to avoid naming conflict with other testcases.
14046
14047 2015-04-10 Pedro Alves <palves@redhat.com>
14048
14049 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
14050 gdb_test_sequence and gdb_assert.
14051
14052 2015-04-10 Pedro Alves <palves@redhat.com>
14053
14054 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
14055 test messages that don't include the breakpoint address.
14056
14057 2015-04-10 Yao Qi <yao.qi@linaro.org>
14058
14059 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
14060 false for some offset and width combinations which aren't
14061 supported by linux kernel.
14062
14063 2015-04-10 Pedro Alves <palves@redhat.com>
14064
14065 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
14066 procedure, factored out from ...
14067 (top level): ... here. Add "set displaced-stepping" testing axis.
14068 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
14069 parameter "displaced". Use it.
14070 (top level): Use foreach and add "set displaced-stepping" testing
14071 axis.
14072
14073 2015-04-10 Pedro Alves <palves@redhat.com>
14074
14075 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
14076 Remove comment.
14077 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
14078 both the address of the instruction that triggers the watchpoint
14079 and the address of the instruction immediately after, and use
14080 those addresses for the test. Fix comment.
14081
14082 2015-04-10 Pedro Alves <palves@redhat.com>
14083
14084 * gdb.base/sigstep.exp (breakpoint_to_handler)
14085 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
14086 Test "backtrace" in handler.
14087 (breakpoint_over_handler): New parameter 'displaced'. Use it.
14088 (top level): Add new "displaced" test axis to
14089 breakpoint_to_handler, breakpoint_to_handler_entry and
14090 breakpoint_over_handler.
14091
14092 2015-04-10 Pedro Alves <palves@redhat.com>
14093
14094 PR gdb/18216
14095 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
14096
14097 2015-04-10 Yao Qi <yao.qi@linaro.org>
14098
14099 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
14100 (test_add_rn_pc): New function.
14101 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
14102 (top level): Invoke test_add_rn_pc.
14103
14104 2015-04-10 Pedro Alves <palves@redhat.com>
14105
14106 PR gdb/13858
14107 * gdb.base/step-over-no-symbols.exp: New file.
14108
14109 2015-04-09 Andy Wingo <wingo@igalia.com>
14110
14111 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
14112 after the Python tests.
14113
14114 2015-04-08 Keith Seitz <keiths@redhat.com>
14115
14116 PR python/16699
14117 * gdb.python/py-completion.exp: New tests for completion.
14118 * gdb.python/py-completion.py (CompleteLimit1): New class.
14119 (CompleteLimit2): Likewise.
14120 (CompleteLimit3): Likewise.
14121 (CompleteLimit4): Likewise.
14122 (CompleteLimit5): Likewise.
14123 (CompleteLimit6): Likewise.
14124 (CompleteLimit7): Likewise.
14125
14126 2015-04-08 Pedro Alves <palves@redhat.com>
14127
14128 PR gdb/18214
14129 PR gdb/18216
14130 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
14131 function.
14132 (main): Install it as SIGUSR1 handler.
14133 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
14134 parameter. Always use "setup" as prefix. Toggle "set
14135 displaced-stepping" off/on depending on global. Don't switch to
14136 thread 1 here.
14137 (top level): Add displaced stepping "off/on" test axis. Update
14138 "setup" calls. Wrap each subtest with with_test_prefix. Test
14139 continuing with a queued signal in each thread.
14140
14141 2015-04-08 Pedro Alves <palves@redhat.com>
14142
14143 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
14144 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
14145 gdb_breakpoint instead of gdb_test that doesn't expect anything.
14146 Return early if running to main fails.
14147 * gdb.trace/while-stepping.exp: Likewise.
14148
14149 2015-04-07 Pedro Alves <palves@redhat.com>
14150
14151 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
14152 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
14153 interact with inferior program.
14154
14155 2015-04-07 Pedro Alves <palves@redhat.com>
14156
14157 * lib/gdb.exp (inferior_spawn_id): New global.
14158 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
14159 spawn id after processing the user code.
14160 (default_gdb_start): Set inferior_spawn_id.
14161 (send_inferior): New procedure.
14162 * lib/gdbserver-support.exp (gdbserver_start): Set
14163 inferior_spawn_id.
14164 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
14165
14166 2015-04-07 Pedro Alves <palves@redhat.com>
14167
14168 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
14169 * lib/gdbserver-support.exp (gdbserver_start): Make
14170 $server_spawn_id global.
14171 (gdbserver_start): Don't wait for gdbserver's spawn id with
14172 expect_background.
14173 (close_gdbserver): New procedure.
14174 (gdb_exit): Rename the default version and reimplement.
14175
14176 2015-04-07 Pedro Alves <palves@redhat.com>
14177
14178 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
14179 append the substituted item, not the original item.
14180
14181 2015-04-07 Pedro Alves <palves@redhat.com>
14182
14183 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
14184 gdb_expect.
14185
14186 2015-04-07 Pedro Alves <palves@redhat.com>
14187
14188 * gdb.base/interrupt.exp: Don't handle the case of the inferior
14189 output appearing once only.
14190
14191 2015-04-07 Pedro Alves <palves@redhat.com>
14192
14193 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
14194 that doesn't expect anything. Return early if running to main
14195 fails.
14196
14197 2015-04-07 Yao Qi <yao.qi@linaro.org>
14198
14199 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
14200 (child_function): Call alarm.
14201 (main): Move call to alarm into the loop.
14202 * gdb.threads/non-stop-fair-events.exp: Build program with
14203 -DTIMEOUT=$timeout.
14204
14205 2015-04-06 Doug Evans <xdje42@gmail.com>
14206
14207 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
14208 Fix dest parameter to board_info.
14209 (fpc_compile): Ditto.
14210 (gdb_compile_pascal): Rename dest arg to destfile.
14211
14212 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
14213
14214 * gdb.ada/funcall_ref.exp: New file.
14215 * gdb.ada/funcall_ref/foo.adb: New file.
14216
14217 2015-04-02 Yao Qi <yao.qi@linaro.org>
14218
14219 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
14220 is remote.
14221
14222 2015-04-02 Gary Benson <gbenson@redhat.com>
14223
14224 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
14225
14226 2015-04-01 Sasha Smundak <asmundak@google.com>
14227
14228 * gdb.python/py-unwind-maint.c: New file.
14229 * gdb.python/py-unwind-maint.exp: New test.
14230 * gdb.python/py-unwind-maint.py: New file.
14231 * gdb.python/py-unwind.c: New file.
14232 * gdb.python/py-unwind.exp: New test.
14233 * gdb.python/py-unwind.py: New test.
14234
14235 2015-04-01 Pedro Alves <palves@redhat.com>
14236
14237 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
14238 to fail instead of non-existent $test.
14239
14240 2015-04-01 Pedro Alves <palves@redhat.com>
14241
14242 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
14243 GDBFLAGS if not empty.
14244
14245 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
14246
14247 * gdb.ada/complete.exp: Remove "multi_line".
14248 * gdb.ada/info_exc.exp: Remove "multi_line".
14249 * gdb.ada/packed_tagged.exp: Remove "multi_line".
14250 * gdb.ada/ptype_field.exp: Remove "multi_line".
14251 * gdb.ada/sym_print_name.exp: Remove "multi_line".
14252 * gdb.ada/tagged.exp: Remove "multi_line".
14253 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
14254 [multi_line ...]
14255 * gdb.btrace/delta.exp: Likewise.
14256 * gdb.btrace/exception.exp: Likewise.
14257 * gdb.btrace/function_call_history.exp: Likewise.
14258 * gdb.btrace/instruction_history.exp: Likewise.
14259 * gdb.btrace/nohist.exp: Likewise.
14260 * gdb.btrace/record_goto.exp: Likewise.
14261 * gdb.btrace/segv.exp: Likewise.
14262 * gdb.btrace/stepi.exp: Likewise.
14263 * gdb.btrace/tailcall.exp: Likewise.
14264 * gdb.btrace/unknown_functions.exp: Likewise.
14265 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
14266 * lib/gdb.exp: Add the "multi_line" helper.
14267
14268 2015-04-01 Pedro Alves <palves@redhat.com>
14269
14270 * gdb.threads/tid-reuse.c: New file.
14271 * gdb.threads/tid-reuse.exp: New file.
14272
14273 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
14274
14275 PR corefiles/16092
14276 * gdb.base/coredump-filter.c: New file.
14277 * gdb.base/coredump-filter.exp: Likewise.
14278
14279 2015-03-27 Petr Machata <pmachata@redhat.com>
14280
14281 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
14282 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
14283 (Dwarf::assemble): Initialize them.
14284 (Dwarf::lines): New function.
14285
14286 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
14287
14288 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
14289 SYMBOL_PREFIX for x86_64-*-cygwin.
14290
14291 2015-03-26 Andy Wingo <wingo@igalia.com>
14292
14293 PR symtab/18148
14294 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
14295 const_value but not a location.
14296 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
14297 location defined in non-main CUs are visible.
14298
14299 2015-03-26 Yao Qi <yao.qi@linaro.org>
14300
14301 PR testsuite/18139
14302 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
14303 Add a line number entry for the same line.
14304 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
14305 Add a line number entry for the same line.
14306
14307 2015-03-26 Yao Qi <yao.qi@linaro.org>
14308
14309 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
14310 .int 0.
14311 (func): Likewise. Add .Lfunc_1 label.
14312 Use .Lfunc_1 label.
14313 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
14314 .int 0.
14315 (func): Likewise.
14316 Use .Lfunc_1 label.
14317
14318 2015-03-26 Yao Qi <yao.qi@linaro.org>
14319
14320 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
14321 Call gdb_compile instead to compile each .s files without debug
14322 information.
14323
14324 2015-03-26 Yao Qi <yao.qi@linaro.org>
14325
14326 * gdb.base/savedregs.exp (process_saved_regs): Make
14327 "Saved registers:" optional in the pattern.
14328
14329 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
14330
14331 * gdb.btrace/next.exp: Merged into step.exp.
14332 * gdb.btrace/finish.exp: Merged into step.exp.
14333 * gdb.btrace/nexti.exp: Merged into stepi.exp.
14334 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
14335 "record goto" and checking the exact replay position.
14336 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
14337 check for "Recording format" in "info record" output.
14338 * gdb.btrace/record_goto.exp: Choose test file based on target.
14339 * gdb.btrace/x86-record_goto.S: Renamed into ...
14340 * gdb.btrace/x86_64-record_goto.S: ... this.
14341 * gdb.btrace/i686-record_goto.S: New.
14342 * gdb.btrace/x86-tailcall.S: Renamed into ...
14343 * gdb.btrace/x86_64-tailcall.S: ... this.
14344 * gdb.btrace/i686-tailcall.S: New.
14345 * gdb.btrace/x86-tailcall.c: Renamed into ...
14346 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
14347 separate statements. Update test.
14348 * gdb.btrace/delta.exp: Use record_goto.c as test file.
14349 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
14350 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
14351 * gdb.btrace/tailcall.exp: Choose test file based on target.
14352 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
14353
14354 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
14355
14356 * gdb.btrace/exception.exp: Increase BTS buffer size.
14357
14358 2015-03-24 Pedro Alves <palves@redhat.com>
14359
14360 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
14361
14362 2015-03-24 Pedro Alves <palves@redhat.com>
14363
14364 * gdb.threads/schedlock.exp (test_step): No longer expect that
14365 "set scheduler-locking step" with "next" over a function call runs
14366 threads unlocked.
14367
14368 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
14369
14370 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
14371
14372 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
14373
14374 PR breakpoints/16466
14375 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
14376 * gdb.mi/mi-pending.c (thread_func): New function.
14377 (int main): Add threading support required.
14378 * gdb.mi/mi-pending.exp: Add tests for this issue.
14379 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
14380 (pendfunc2): Remove stdio dependency.
14381 * gdb.mi/mi-pendshr2.c: New file.
14382
14383 2015-03-23 Keith Seitz <keiths@redhat.com>
14384
14385 * gdb.linespec/keywords.c: New file.
14386 * gdb.linespec/keywords.exp: New file.
14387
14388 2015-03-23 Keith Seitz <keiths@redhat.com>
14389
14390 PR gdb/18021
14391 * gdb.dwarf2/staticvirtual.exp: New test.
14392
14393 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14394
14395 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
14396 * README: Remove HP-UX and gdb.hp.
14397 (configuration):
14398 * configure: Regenerate.
14399 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
14400 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
14401 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
14402 gdb.hp/gdb.defects/Makefile.
14403 * gdb.hp/Makefile.in: File deleted.
14404 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
14405 * gdb.hp/gdb.aCC/optimize.c: File deleted.
14406 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
14407 * gdb.hp/gdb.aCC/run.c: File deleted.
14408 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
14409 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
14410 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
14411 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
14412 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
14413 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
14414 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
14415 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
14416 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
14417 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
14418 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
14419 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
14420 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
14421 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
14422 * gdb.hp/gdb.base-hp/reg.s: File deleted.
14423 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
14424 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
14425 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
14426 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
14427 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
14428 * gdb.hp/gdb.compat/Makefile.in: File deleted.
14429 * gdb.hp/gdb.compat/average.c: File deleted.
14430 * gdb.hp/gdb.compat/sum.c: File deleted.
14431 * gdb.hp/gdb.compat/xdb.c: File deleted.
14432 * gdb.hp/gdb.compat/xdb0.c: File deleted.
14433 * gdb.hp/gdb.compat/xdb0.h: File deleted.
14434 * gdb.hp/gdb.compat/xdb1.c: File deleted.
14435 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
14436 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
14437 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
14438 * gdb.hp/gdb.defects/Makefile.in: File deleted.
14439 * gdb.hp/gdb.defects/bs14602.c: File deleted.
14440 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
14441 * gdb.hp/gdb.defects/solib-d.c: File deleted.
14442 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
14443 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
14444 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
14445 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
14446 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
14447 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
14448 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
14449 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
14450 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
14451 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
14452 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
14453 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
14454 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
14455 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
14456 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
14457 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
14458 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
14459 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
14460 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
14461 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
14462 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
14463 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
14464 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
14465 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
14466 * gdb.hp/tools/odump: File deleted.
14467
14468 2015-03-19 Pedro Alves <palves@redhat.com>
14469
14470 * gdb.threads/continue-pending-status.exp (saw_thread_2)
14471 (saw_thread_3): New globals.
14472 (top level): Increment them when an event for the corresponding
14473 thread is seen.
14474 (no thread starvation): New test.
14475
14476 2015-03-19 Pedro Alves <palves@redhat.com>
14477
14478 * gdb.threads/continue-pending-status.c: New file.
14479 * gdb.threads/continue-pending-status.exp: New file.
14480
14481 2015-03-18 Pedro Alves <palves@redhat.com>
14482
14483 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
14484 Use gdb_is_target_remote instead of is_remote. Use
14485 gdb_test_multiple instead of gdb_expect. Exit early if
14486 gdb_test_multiple hits its internal matches. Tighten stepi tests
14487 expected output. Fail on exit with any signal, instead of just
14488 SIGILL.
14489
14490 2015-03-18 Yao Qi <yao.qi@linaro.org>
14491
14492 PR tdep/18107
14493 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
14494 variable.
14495 * gdb.base/catch-syscall.exp: Don't skip it on
14496 aarch64*-*-linux* target. Remove elements in all_syscalls.
14497 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
14498 target.
14499 (setup_all_syscalls): New proc.
14500
14501 2015-03-16 Yao Qi <yao.qi@linaro.org>
14502
14503 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
14504 (top level): Skip tests if valid_addr_p returns false for
14505 $cmd1 or $cmd2.
14506
14507 2015-03-11 Andy Wingo <wingo@igalia.com>
14508
14509 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
14510
14511 2015-03-11 Yao Qi <yao.qi@linaro.org>
14512
14513 * gdb.base/catch-syscall.exp: Fix typo in comments.
14514
14515 2015-03-11 Yao Qi <yao.qi@linaro.org>
14516
14517 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
14518
14519 2015-03-09 Pedro Alves <palves@redhat.com>
14520
14521 * dg-extract-results.py: Delete.
14522
14523 2015-03-09 Pedro Alves <palves@redhat.com>
14524
14525 Merge dg-extract-results.sh from GCC upstream (r218843).
14526
14527 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
14528 * dg-extract-results.sh: Use --text with grep to avoid issues with
14529 binary files. Fall back to cat -v, if that doesn't work.
14530
14531 2015-03-05 Pedro Alves <palves@redhat.com>
14532
14533 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
14534
14535 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
14536
14537 * lib/mi-support.exp (mi_expect_interrupt): Accept
14538 alternative event for when in all-stop mode.
14539
14540 2015-03-04 Pedro Alves <palves@redhat.com>
14541
14542 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
14543
14544 2015-03-04 Mark Kettenis <kettenis@gnu.org>
14545
14546 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
14547
14548 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
14549
14550 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
14551 regexps for GDB's current line display, accept a hex address
14552 preceding the line number.
14553
14554 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
14555
14556 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
14557 the 'arch1' variable for "s390*-linux*" targets.
14558
14559 2015-03-04 Pedro Alves <palves@redhat.com>
14560
14561 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
14562 (main): Pass missing retval argument to pthread_join call.
14563
14564 2015-03-02 Pedro Alves <palves@redhat.com>
14565
14566 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
14567 (top level): Call do_test with non-stop as well.
14568
14569 2015-03-02 Pedro Alves <palves@redhat.com>
14570
14571 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
14572 -1.
14573
14574 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
14575
14576 * gdb.arch/s390-vregs.exp: New test.
14577 * gdb.arch/s390-vregs.S: New file.
14578
14579 2015-02-27 Pedro Alves <palves@redhat.com>
14580
14581 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
14582 call to catch_command_errors.
14583 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
14584 catch_command_errors.
14585
14586 2015-02-27 Pedro Alves <palves@redhat.com>
14587
14588 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
14589 "true" for boolean result.
14590 * gdb.gdb/selftest.exp (test_with_self): Also accept full
14591 prototype of main.
14592
14593 2015-02-27 Pedro Alves <palves@redhat.com>
14594
14595 * lib/unbuffer_output.c: New file.
14596 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
14597 (main): Call gdb_unbuffer_output.
14598
14599 2015-02-27 Yao Qi <yao.qi@linaro.org>
14600
14601 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
14602 target.
14603
14604 2015-02-26 Doug Evans <dje@google.com>
14605
14606 * gdb.cp/class2.cc (Dbase, D): New classes.
14607 (main): New local delta.
14608 * gdb.cp/class2.exp: Test printing delta.
14609 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
14610 (dynbar): New global.
14611 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
14612
14613 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14614
14615 * gdb.compile/compile-ifunc.c: New file.
14616 * gdb.compile/compile-ifunc.exp: New file.
14617
14618 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
14619
14620 * gdb.base/structs.exp: Check for correct struct on finish.
14621
14622 2015-02-26 Yao Qi <yao.qi@linaro.org>
14623
14624 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
14625 is zero.
14626
14627 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14628
14629 * gdb.arch/cordic.ko.bz2: New file.
14630 * gdb.arch/cordic.ko.debug.bz2: New file.
14631 * gdb.arch/ppc64-symtab-cordic.exp: New file.
14632
14633 2015-02-25 Yao Qi <yao.qi@linaro.org>
14634
14635 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
14636 aarch64*-*-* target.
14637
14638 2015-02-23 Pedro Alves <palves@redhat.com>
14639
14640 * lib/gdb.exp (delete_breakpoints): Rewrite using
14641 gdb_test_multiple.
14642
14643 2015-02-23 Pedro Alves <palves@redhat.com>
14644
14645 * gdb.base/info-os.c: Include stdlib.h.
14646
14647 2015-02-22 Doug Evans <xdje42@gmail.com>
14648
14649 PR symtab/17855
14650 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
14651 is read after symbols have been re-read.
14652 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
14653 * gdb.ada/exec_changed/second.adb (Second): Ditto.
14654
14655 2015-02-21 Doug Evans <dje@google.com>
14656
14657 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
14658
14659 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14660
14661 PR corefiles/17808
14662 * gdb.arch/i386-biarch-core.core.bz2: New file.
14663 * gdb.arch/i386-biarch-core.exp: New file.
14664
14665 2015-02-21 Pedro Alves <palves@redhat.com>
14666
14667 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
14668 runto_main fails.
14669
14670 2015-02-20 Pedro Alves <palves@redhat.com>
14671
14672 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
14673 info probes.
14674
14675 2015-02-20 Pedro Alves <palves@redhat.com>
14676
14677 * gdb.threads/multi-create-ns-info-thr.exp: New file.
14678
14679 2015-02-20 Pedro Alves <palves@redhat.com>
14680
14681 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
14682 clean_restart before gdb_target_supports_trace.
14683
14684 2015-02-20 Pedro Alves <palves@redhat.com>
14685
14686 PR threads/18006
14687 * gdb.threads/clone-thread_db.c: New file.
14688 * gdb.threads/clone-thread_db.exp: New file.
14689
14690 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
14691
14692 PR breakpoints/16812
14693 * gdb.base/catch-gdb-caused-signals.c: New file.
14694 * gdb.base/catch-gdb-caused-signals.exp: New file.
14695
14696 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
14697
14698 * configure: Regenerated.
14699 * configure.ac: Use GDB_AC_TRANSFORM.
14700 * aclocal.m4: sinclude ../transform.m4.
14701
14702 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
14703
14704 * lib/dtrace.exp: New file.
14705 * gdb.base/dtrace-probe.exp: Likewise.
14706 * gdb.base/dtrace-probe.d: Likewise.
14707 * gdb.base/dtrace-probe.c: Likewise.
14708 * lib/pdtrace.in: Likewise.
14709 * configure.ac: Output variables with the transformed names of
14710 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
14711 * configure: Regenerated.
14712
14713 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
14714
14715 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
14716 expected message when trying to access $_probe_* convenience
14717 variables while not on a probe.
14718
14719 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14720
14721 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
14722
14723 2015-02-11 Pedro Alves <pedro@codesourcery.com>
14724
14725 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
14726 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
14727
14728 2015-02-10 Doug Evans <xdje42@gmail.com>
14729
14730 * lib/gdb.exp (gdb_load): Always return a result.
14731
14732 2015-02-10 Pedro Alves <palves@redhat.com>
14733
14734 * gdb.threads/signal-sigtrap.c: New file.
14735 * gdb.threads/signal-sigtrap.exp: New file.
14736
14737 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
14738
14739 * gdb.trace/no-attach-trace.c: New file.
14740 * gdb.trace/no-attach-trace.exp: New file.
14741
14742 2015-02-09 Mark Wielaard <mjw@redhat.com>
14743
14744 * gdb.dwarf2/atomic.c: New file.
14745 * gdb.dwarf2/atomic-type.exp: Likewise.
14746
14747 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14748
14749 * gdb.btrace/buffer-size.exp: Update "info record" output.
14750 * gdb.btrace/delta.exp: Update "info record" output.
14751 * gdb.btrace/enable.exp: Update "info record" output.
14752 * gdb.btrace/finish.exp: Update "info record" output.
14753 * gdb.btrace/instruction_history.exp: Update "info record" output.
14754 * gdb.btrace/next.exp: Update "info record" output.
14755 * gdb.btrace/nexti.exp: Update "info record" output.
14756 * gdb.btrace/step.exp: Update "info record" output.
14757 * gdb.btrace/stepi.exp: Update "info record" output.
14758 * gdb.btrace/nohist.exp: Update "info record" output.
14759
14760 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14761
14762 * gdb.btrace/buffer-size: New.
14763
14764 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14765
14766 * gdb.btrace/delta.exp: Update "info record" output.
14767 * gdb.btrace/enable.exp: Update "info record" output.
14768 * gdb.btrace/finish.exp: Update "info record" output.
14769 * gdb.btrace/instruction_history.exp: Update "info record" output.
14770 * gdb.btrace/next.exp: Update "info record" output.
14771 * gdb.btrace/nexti.exp: Update "info record" output.
14772 * gdb.btrace/step.exp: Update "info record" output.
14773 * gdb.btrace/stepi.exp: Update "info record" output.
14774 * gdb.btrace/nohist.exp: Update "info record" output.
14775
14776 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
14777
14778 PR gdb/15678
14779 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
14780
14781 2015-02-06 Pedro Alves <palves@redhat.com>
14782
14783 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
14784 macro.
14785 (seconds_left, again): New globals.
14786 (main): Wait seconds_left in a 1-second sleep loop instead of
14787 sleeping 180 seconds. If 'again' is set, reset the seconds
14788 counter.
14789 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
14790 'again' in the inferior before detaching. Print the seconds left.
14791 (options): New global.
14792 (top level): Build program with -DTIMEOUT=$timeout.
14793
14794 2015-02-06 Pedro Alves <palves@redhat.com>
14795
14796 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
14797 determine how many seconds to pass to 'alarm'.
14798 * gdb.base/gdb-sigterm.exp (top level): Build program with
14799 -DTIMEOUT=$timeout.
14800 (do_test): Return success/failure indication. Add more verbose
14801 logging. Don't fail if 200 single steps are seen. Instead, fail
14802 when the test times out.
14803 (passes): New global.
14804 (top level): Break the testing loop if testing fails on any
14805 iteration. Use gdb_assert.
14806
14807 2015-02-04 Don Breazeal <donb@codesourcery.com>
14808
14809 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
14810 and initialize them.
14811 (ipc_cleanup): New function.
14812 (main): Don't declare shmid, semid, and msqid. Add a call to
14813 atexit so that we call ipc_cleanup on exit.
14814
14815 2015-02-04 Pedro Alves <palves@redhat.com>
14816
14817 * boards/native-extended-gdbserver.exp: Remove any target variant
14818 specifications from the board name before clearing the isremote
14819 flag from board_info.
14820
14821 2015-01-31 Doug Evans <xdje42@gmail.com>
14822
14823 * gdb.base/maint.exp <maint print type argc>: Update expected output.
14824
14825 2015-01-31 Gary Benson <gbenson@redhat.com>
14826
14827 * gdb.base/completion.exp: Disable completion limiting for
14828 existing tests. Add new tests to check completion limiting.
14829 * gdb.linespec/ls-errs.exp: Disable completion limiting.
14830
14831 2015-01-31 Doug Evans <xdje42@gmail.com>
14832
14833 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
14834
14835 2015-01-31 Doug Evans <xdje42@gmail.com>
14836
14837 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
14838 entries. Duplicate file section script entries.
14839 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
14840 inlined entries. Add test for safe-path rejection.
14841 * gdb.python/py-section-script.c: Add duplicate inlined section script
14842 entries. Duplicate file section script entries.
14843 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
14844 inlined entries. Add test for safe-path rejection.
14845
14846 2015-01-29 Joel Brobecker <brobecker@adacore.com>
14847
14848 * gdb.ada/disc_arr_bound: New testcase.
14849
14850 2015-01-29 Joel Brobecker <brobecker@adacore.com>
14851
14852 * gdb.ada/mi_var_array: New testcase.
14853
14854 2015-01-27 Doug Evans <dje@google.com>
14855
14856 * gdb.python/py-objfile.exp: Add tests for objfile.username.
14857 Add test for objfile.filename, objfile.username after objfile
14858 has been unloaded.
14859
14860 2015-01-26 Joel Brobecker <brobecker@adacore.com>
14861
14862 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
14863 the second test to print the name attribute of value
14864 returned by the call to gdb.lookup_type, and adjust
14865 the expected output accordingly.
14866
14867 2015-01-25 Mark Wielaard <mjw@redhat.com>
14868
14869 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
14870 * gdb.base/disp-step-fork.c: Include unistd.h.
14871 * gdb.base/siginfo-obj.c: Include stdio.h.
14872 * gdb.base/siginfo-thread.c: Likewise.
14873 * gdb.mi/non-stop.c: Include unistd.h.
14874 * gdb.mi/nsthrexec.c: Include stdio.h.
14875 * gdb.mi/pthreads.c: Include unistd.h.
14876 * gdb.modula2/unbounded1.c (main): Declare returns int.
14877 * gdb.reverse/consecutive-reverse.c: Likewise.
14878 * gdb.threads/create-fail.c: Include unistd.h.
14879 * gdb.threads/killed.c: Likewise.
14880 * gdb.threads/linux-dp.c: Likewise.
14881 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
14882 * gdb.threads/non-ldr-exc-2.c: Likewise.
14883 * gdb.threads/non-ldr-exc-3.c: Likewise.
14884 * gdb.threads/non-ldr-exc-4.c: Likewise.
14885 * gdb.threads/pthreads.c: Include unistd.h.
14886 (main): Declare returns int.
14887 * gdb.threads/tls-main.c (foo): New declaration.
14888 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
14889
14890 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
14891
14892 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
14893 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
14894
14895 2015-01-15 Mark Wielaard <mjw@redhat.com>
14896
14897 * gdb.base/noreturn-return.c: New file.
14898 * gdb.base/noreturn-return.exp: New file.
14899 * gdb.base/noreturn-finish.c: New file.
14900 * gdb.base/noreturn-finish.exp: New file.
14901
14902 2015-01-23 Pedro Alves <palves@redhat.com>
14903
14904 * gdb.threads/continue-pending-after-query.c: New file.
14905 * gdb.threads/continue-pending-after-query.exp: New file.
14906
14907 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
14908 Simon Marchi <simon.marchi@ericsson.com>
14909
14910 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
14911 * gdb.base/valgrind-db-attach.exp: Same.
14912 * gdb.base/valgrind-infcall.exp: Same.
14913 * lib/mi-support.exp (default_mi_gdb_start): Same.
14914 * lib/prompt.exp (default_prompt_gdb_start): Same.
14915 * lib/gdb.exp (default_gdb_spawn): Same.
14916 (gdb_interact): New.
14917
14918
14919 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14920
14921 * gdb.compile/compile.exp (pointer to jit function): New test.
14922
14923 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
14924
14925 * lib/gdb.exp (supports_process_record): Return true for
14926 powerpc*-*-linux*.
14927 (supports_reverse): Likewise.
14928
14929 2015-01-15 Don Breazeal <donb@codesourcery.com>
14930
14931 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
14932 instead of checking whether the target board is remote and
14933 use spawn_wait_for_attach instead of exec/sleep.
14934 * gdb.base/attach-twice.exp: Likewise.
14935
14936 2015-01-15 Joel Brobecker <brobecker@adacore.com>
14937
14938 * gdb.ada/var_arr_attrs: New testcase.
14939
14940 2015-01-14 Pedro Alves <palves@redhat.com>
14941 Joel Brobecker <brobecker@adacore.com>
14942
14943 PR gdb/17525
14944 * gdb.base/bp-cmds-execution-x-script.c: New file.
14945 * gdb.base/bp-cmds-execution-x-script.exp: New file.
14946 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
14947
14948 2015-01-14 Pedro Alves <palves@redhat.com>
14949
14950 PR cli/17828
14951 * gdb.base/batch-preserve-term-settings.c: New file.
14952 * gdb.base/batch-preserve-term-settings.exp: New file.
14953
14954 2015-01-13 Doug Evans <dje@google.com>
14955
14956 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
14957 binary.
14958
14959 2015-01-13 Joel Brobecker <brobecker@adacore.com>
14960
14961 * Makefile.in (clean mostlyclean): Do not delete *.py.
14962
14963 2015-01-13 Joel Brobecker <brobecker@adacore.com>
14964
14965 * gdb.python/py-lookup-type.exp: New file.
14966
14967 2015-01-12 Pedro Alves <palves@redhat.com>
14968
14969 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
14970 restore GDBFLAGS before returning.
14971
14972 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14973
14974 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
14975 is_amd64_regs_target and is_x86_like_target.
14976
14977 2015-01-11 Doug Evans <xdje42@gmail.com>
14978
14979 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
14980 is given without an explicit form.
14981 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
14982 attributes.
14983 * gdb.dwarf/corrupt.exp: Ditto.
14984 * gdb.dwarf2/enum-type.exp: Ditto.
14985 * gdb.trace/entry-values.exp: Ditto.
14986 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
14987
14988 2015-01-11 Doug Evans <xdje42@gmail.com>
14989
14990 PR gdb/15830
14991 * gdb.base/maint.exp: Remove references to "maint demangle".
14992 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
14993 Add tests for explicitly specifying language to demangle.
14994 * gdb.dlang/demangle.exp: Ditto.
14995
14996 2015-01-09 Pedro Alves <palves@redhat.com>
14997
14998 * gdb.threads/non-stop-fair-events.c: New file.
14999 * gdb.threads/non-stop-fair-events.exp: New file.
15000
15001 2015-01-09 Pedro Alves <palves@redhat.com>
15002
15003 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
15004 the global scope. Set a breakpoint after all threads are started
15005 rather than stepping over two source lines. Expect the prompt.
15006 * gdb.base/watch_thread_num.c (threads_started_barrier): New
15007 global.
15008 (NUM): Now 15.
15009 (main): Use threads_started_barrier to wait for all threads to
15010 start. Main thread no longer calls thread_function. Exit after
15011 180 seconds.
15012 (loop): New function.
15013 (thread_function): Wait on threads_started_barrier barrier. Call
15014 'loop' at each iteration.
15015 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
15016 threads have started, instead of hardcoding number of "next"
15017 steps. Use an access watchpoint instead of a write watchpoint.
15018
15019 2015-01-09 Pedro Alves <palves@redhat.com>
15020
15021 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
15022 (thread_func): Wait on barrier.
15023 (main): Wait for all threads to start before stopping GDB.
15024 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
15025 global.
15026 (thread1_func, thread2_func): Wait on barrier.
15027 (main): Wait for all threads to start before stopping GDB.
15028 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
15029 New global.
15030 (thread1_func, thread2_func): Wait on barrier.
15031 (main): Wait for all threads to start before stopping GDB.
15032
15033 2015-01-09 Pedro Alves <palves@redhat.com>
15034
15035 * gdb.threads/attach-many-short-lived-threads.c: New file.
15036 * gdb.threads/attach-many-short-lived-threads.exp: New file.
15037
15038 2014-01-09 Pedro Alves <palves@redhat.com>
15039
15040 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
15041 instead of to thread 2.
15042 * gdb.threads/signal-command-multiple-signals-pending.c (main):
15043 Add barrier around each pthread_create call instead of around all
15044 calls.
15045 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
15046 Set a break on thread_function and have the child threads hit it
15047 one at at a time.
15048
15049 2015-01-09 Pedro Alves <palves@redhat.com>
15050
15051 * lib/gdb.exp (can_spawn_for_attach): New procedure.
15052 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
15053 false.
15054 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
15055 checking whether the target board is remote.
15056 * gdb.multi/multi-attach.exp: Likewise.
15057 * gdb.python/py-sync-interp.exp: Likewise.
15058 * gdb.server/ext-attach.exp: Likewise.
15059 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
15060 tests that need to attach, instead of checking whether the target
15061 board is remote at the top of the file.
15062
15063 2015-01-08 Yao Qi <yao@codesourcery.com>
15064
15065 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
15066
15067 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15068
15069 Fix testcase compilation.
15070 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
15071
15072 2015-01-06 Joel Brobecker <brobecker@adacore.com>
15073
15074 * gdb.python/py-type.exp: Add a couple test about empty
15075 array creation, and negative-length array creation.
15076
15077 2015-01-02 Doug Evans <xdje42@gmail.com>
15078
15079 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
15080
15081 2015-01-02 Doug Evans <dje@google.com>
15082
15083 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
15084
15085 2014-12-29 Yao Qi <yao@codesourcery.com>
15086
15087 * gdb.trace/entry-values.exp: Update comments. Rename variable
15088 bar_call_foo to returned_from_foo.
15089
15090 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
15091
15092 PR gdb/17394
15093 * gdb.linespec/break-asm-file.c: New file.
15094 * gdb.linespec/break-asm-file.exp: New file.
15095 * gdb.linespec/break-asm-file0.s: New file.
15096 * gdb.linespec/break-asm-file1.s: New file.
15097
15098 2014-12-18 Nigel Stephens <nigel@mips.com>
15099 Maciej W. Rozycki <macro@codesourcery.com>
15100
15101 * gdb.base/float.exp: Handle the new output from "info float" on
15102 MIPS targets.
15103
15104 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
15105
15106 Fix MinGW compilation.
15107 * gdb.compile/compile-ops.exp: Update untested message if
15108 !skip_compile_feature_tests.
15109 * gdb.compile/compile-setjmp.exp: Likewise.
15110 * gdb.compile/compile-tls.exp: Likewise.
15111 * gdb.compile/compile.exp: Likewise.
15112 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
15113 supported on this host".
15114
15115 2014-12-16 Doug Evans <xdje42@gmail.com>
15116
15117 * boards/stabs.exp: New file.
15118
15119 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
15120
15121 * gdb.base/completion.exp: Adjust to format changes of "maint
15122 print user-registers".
15123
15124 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
15125
15126 PR server/17457
15127 * gdb.arch/aarch64-fp.c: New file.
15128 * gdb.arch/aarch64-fp.exp: New file.
15129
15130 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
15131
15132 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
15133 r210637, r210913, r211666, r215400, r215817).
15134
15135 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
15136 * dg-extract-results.py: New file.
15137 * dg-extract-results.sh: Use it if the environment seems
15138 suitable.
15139
15140 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
15141
15142 * dg-extract-results.py (parse_run): Handle warnings that
15143 are printed before a test harness is run.
15144
15145 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
15146
15147 * dg-extract-results.py (Named): Remove __cmp__ method.
15148 (output_variation): Use a key to sort variation.harnesses.
15149
15150 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
15151
15152 * dg-extract-results.py: For Python 3, force sys.stdout to
15153 handle surrogate escape sequences.
15154 (safe_open): New function.
15155 (output_segment, main): Use it.
15156
15157 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
15158
15159 * dg-extract-results.py (Prog.result_re): Include options
15160 in test name.
15161
15162 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
15163
15164 * dg-extract-results.py (output_variation): Always sort if
15165 do_sum.
15166
15167 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
15168
15169 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
15170 as long as we get pagination notifications.
15171
15172 2014-12-15 Jason Merrill <jason@redhat.com>
15173
15174 * Makefile.in (check-gdb.%): Restore.
15175 * README: Mention it.
15176
15177 2014-12-13 Joel Brobecker <brobecker@adacore.com>
15178
15179 * gdb.ada/str_uninit: New testcase.
15180
15181 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15182
15183 PR symtab/17642
15184 * gdb.base/vla-stub-define.c: New file.
15185 * gdb.base/vla-stub.c: New file.
15186 * gdb.base/vla-stub.exp: New file.
15187
15188 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
15189 Jan Kratochvil <jan.kratochvil@redhat.com>
15190 Tom Tromey <tromey@redhat.com>
15191
15192 * configure.ac: Add gdb.compile/.
15193 * configure: Regenerate.
15194 * gdb.compile/Makefile.in: New file.
15195 * gdb.compile/compile-ops.exp: New file.
15196 * gdb.compile/compile-ops.c: New file.
15197 * gdb.compile/compile-tls.c: New file.
15198 * gdb.compile/compile-tls.exp: New file.
15199 * gdb.compile/compile-constvar.S: New file.
15200 * gdb.compile/compile-constvar.c: New file.
15201 * gdb.compile/compile-mod.c: New file.
15202 * gdb.compile/compile-nodebug.c: New file.
15203 * gdb.compile/compile-setjmp-mod.c: New file.
15204 * gdb.compile/compile-setjmp.c: New file.
15205 * gdb.compile/compile-setjmp.exp: New file.
15206 * gdb.compile/compile-shlib.c: New file.
15207 * gdb.compile/compile.c: New file.
15208 * gdb.compile/compile.exp: New file.
15209 * lib/gdb.exp (skip_compile_feature_tests): New proc.
15210
15211 2014-12-12 Tom Tromey <tromey@redhat.com>
15212
15213 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
15214 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
15215
15216 2014-12-12 Doug Evans <dje@google.com>
15217
15218 * lib/gdb-python.exp (get_python_valueof): New function.
15219 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
15220
15221 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
15222
15223 * gdb.base/completion.exp: Add test for completion of "info
15224 registers ".
15225
15226 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
15227
15228 * gdb.base/func-ptrs.c: New file.
15229 * gdb.base/func-ptrs.exp: New file.
15230
15231 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
15232
15233 PR breakpoints/17012
15234 * gdb.base/dprintf-detach.c: New file.
15235 * gdb.base/dprintf-detach.exp: New file.
15236
15237 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
15238
15239 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
15240 * lib/gdb.exp (target_is_gdbserver): New procedure.
15241
15242 2014-12-08 Doug Evans <dje@google.com>
15243
15244 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
15245
15246 2014-12-05 Yao Qi <yao@codesourcery.com>
15247
15248 * gdb.guile/scm-error.exp: Remove the third argument to
15249 gdb_remote_download.
15250 * gdb.guile/scm-frame-args.exp: Likewise.
15251 * gdb.guile/scm-section-script.exp: Likewise.
15252
15253 2014-12-05 Yao Qi <yao@codesourcery.com>
15254
15255 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
15256
15257 2014-12-04 Doug Evans <dje@google.com>
15258
15259 * gdb.python/py-objfile.exp: Add tests for
15260 objfile.add_separate_debug_file.
15261
15262 2014-12-04 Doug Evans <dje@google.com>
15263
15264 * lib/gdb.exp (get_build_id): New function.
15265 (build_id_debug_filename_get): Rewrite to use it.
15266 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
15267
15268 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
15269
15270 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
15271 `method(long)', not just 0x0.
15272 * gdb.cp/nsalias.exp: Align code labels to 4.
15273 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
15274 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
15275 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
15276 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
15277 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
15278 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
15279
15280 2014-12-02 Doug Evans <dje@google.com>
15281
15282 PR symtab/17602
15283 * gdb.cp/anon-ns.cc: Move guts of this file to ...
15284 * gdb.cp/anon-ns2.cc: ... here. New file.
15285 * gdb.cp/anon-ns.exp: Update.
15286
15287 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
15288
15289 * gdb.python/py-events.py (inferior_call_handler): New.
15290 (register_changed_handler, memory_changed_handler): New.
15291 (test_events.invoke): Register new handlers.
15292 * gdb.python/py-events.exp: Add tests for inferior call,
15293 memory_changed and register_changed events.
15294
15295 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
15296
15297 * gdb.base/execl-update-breakpoints.exp: Specify the link address
15298 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
15299 if the linker doesn't understand this.
15300
15301 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
15302
15303 * gdb.python/python.exp: Change expected reply to help().
15304
15305 2014-12-01 Yao Qi <yao@codesourcery.com>
15306
15307 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
15308 AC_CONFIG_SUBDIRS(gdb.gdbtk).
15309 * configure: Re-generated.
15310
15311 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
15312
15313 * gdb.cp/chained-calls.cc: New file.
15314 * gdb.cp/chained-calls.exp: New file.
15315 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
15316
15317 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
15318
15319 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
15320 * gdb.dwarf2/symtab-producer.exp: Same.
15321 * gdb.gdb/python-interrupts.exp: Same.
15322 * gdb.gdb/python-selftest.exp: Same.
15323 * gdb.python/py-linetable.exp: Same.
15324 * gdb.python/py-type.exp: Same.
15325 * gdb.python/py-value-cc.exp: Same.
15326 * gdb.python/py-value.exp: Same.
15327
15328 2014-11-28 Yao Qi <yao@codesourcery.com>
15329
15330 * gdb.base/break-probes.exp: Match library name prefixed with
15331 sysroot.
15332
15333 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
15334
15335 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
15336 test expected output. Add parentheses for the call to print.
15337 Remove L suffix from integers.
15338
15339 2014-11-26 Doug Evans <dje@google.com>
15340
15341 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
15342
15343 2014-11-22 Yao Qi <yao@codesourcery.com>
15344
15345 * gdb.trace/entry-values.c: Remove asms.
15346 (foo): Add foo_label.
15347 (bar): Add bar_label.
15348 * gdb.trace/entry-values.exp: Remove code computing foo's
15349 length and bar's length.
15350 (Dwarf::assemble): Invoke function_range for bar and use
15351 MACRO_AT_func for foo.
15352
15353 2014-11-22 Yao Qi <yao@codesourcery.com>
15354
15355 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
15356 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
15357 Use .Lgcc43_procstart instead of gcc43.
15358
15359 2014-11-21 Joel Brobecker <brobecker@adacore.com>
15360
15361 * gdb.ada/n_arr_bound: New testcase.
15362
15363 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
15364
15365 PR breakpoints/10737
15366 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
15367 test_catch_syscall_multi_arch.
15368 (test_catch_syscall_multi_arch): New function.
15369
15370 2014-11-20 Doug Evans <xdje42@gmail.com>
15371
15372 * gdb.base/maint.exp: Update expected output.
15373
15374 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
15375
15376 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
15377 4-byte instruction on S390.
15378
15379 2014-11-19 Joel Brobecker <brobecker@adacore.com>
15380
15381 * gdb.ada/arr_arr: New testcase.
15382
15383 2014-11-19 Joel Brobecker <brobecker@adacore.com>
15384
15385 * gdb.ada/pkd_arr_elem: New Testcase.
15386
15387 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
15388
15389 * gdb.reverse/break-precsave: Expect completion message for
15390 core file reads.
15391 * gdb.reverse/consecutive-precsave.exp: Likewise.
15392 * gdb.reverse/finish-precsave.exp: Likewise.
15393 * gdb.reverse/i386-precsave.exp: Likewise.
15394 * gdb.reverse/machinestate-precsave.exp: Likewise.
15395 * gdb.reverse/sigall-precsave.exp: Likewise.
15396 * gdb.reverse/solib-precsave.exp: Likewise.
15397 * gdb.reverse/step-precsave.exp: Likewise.
15398 * gdb.reverse/until-precsave.exp: Likewise.
15399 * gdb.reverse/watch-precsave.exp: Likewise.
15400
15401 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15402
15403 * gdb.base/bp-permanent.c: Include unistd.h.
15404 * gdb.python/py-framefilter-mi.c (main): Add return type.
15405 * gdb.python/py-framefilter.c (main): Likewise.
15406 * gdb.trace/actions-changed.c (main): Likewise.
15407
15408 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15409
15410 * gdb.mi/until.c: Add eye-catchers.
15411 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
15412 line numbers.
15413
15414 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15415
15416 * gdb.base/condbreak.exp: Drop references to removed non-prototype
15417 function header variants in break1.c.
15418 * gdb.base/ena-dis-br.exp: Likewise.
15419 * gdb.base/hbreak2.exp: Likewise.
15420 * gdb.reverse/until-precsave.exp: Drop references to removed
15421 non-prototype function header variants in ur1.c.
15422 * gdb.reverse/until-reverse.exp: Likewise.
15423
15424 2014-11-17 Petr Machata <pmachata@redhat.com>
15425
15426 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
15427 ${_cu_offset_size} bytes abbrev offset.
15428
15429 2014-11-15 Doug Evans <xdje42@gmail.com>
15430
15431 PR symtab/17559
15432 * gdb.base/line-symtabs.exp: New file.
15433 * gdb.base/line-symtabs.c: New file.
15434 * gdb.base/line-symtabs.h: New file.
15435
15436 2014-11-14 Yao Qi <yao@codesourcery.com>
15437
15438 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
15439 (func): Add label func_label.
15440 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
15441 Replace low_pc and high_pc with MACRO_AT_range.
15442 Replace name, low_pc and high_pc with MACRO_AT_func.
15443
15444 2014-11-14 Yao Qi <yao@codesourcery.com>
15445
15446 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
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: Use Dwarf::assemble to
15452 produce debug information.
15453 * gdb.dwarf2/implptr-optimized-out.S: Removed.
15454
15455 2014-11-14 Yao Qi <yao@codesourcery.com>
15456
15457 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
15458 object and get function length.
15459 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
15460 with MACRO_AT_func.
15461 (top-level): Replace gdb_compile and clean_restart with
15462 prepare_for_testing.
15463 * gdb.dwarf2/main.c (main): Add label main_label.
15464
15465 2014-11-14 Yao Qi <yao@codesourcery.com>
15466
15467 * lib/dwarf.exp (function_range): New procedure.
15468 (Dwarf::_handle_macro_at_func): New procedure.
15469 (Dwarf::_handle_macro_at_range): New procedure.
15470 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
15471
15472 2014-11-14 Yao Qi <yao@codesourcery.com>
15473
15474 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
15475 (_handle_attribute): New procedure.
15476
15477 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15478
15479 * gdb.ada/cond_lang/foo.c (callme): Add return type.
15480 * gdb.base/call-sc.c (zed): Likewise.
15481 * gdb.base/checkpoint.c (main): Likewise.
15482 * gdb.base/dump.c (main): Likewise.
15483 * gdb.base/gcore.c (main): Likewise.
15484 * gdb.base/huge.c (main): Likewise.
15485 * gdb.base/multi-forks.c (main): Likewise.
15486 * gdb.base/pr10179-a.c (main): Likewise.
15487 * gdb.base/savedregs.c (main): Likewise.
15488 * gdb.base/sigaltstack.c (main): Likewise.
15489 * gdb.base/siginfo.c (main): Likewise.
15490 * gdb.base/structs.c (zed): Likewise.
15491 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
15492 * gdb.mi/mi-syn-frame.c (main): Likewise.
15493 * gdb.mi/until.c (foo, main): Likewise.
15494 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
15495 * gdb.base/solib-weak.c (foo): Declare.
15496 * gdb.base/attach-twice.c: Include stdio.h.
15497 * gdb.base/weaklib1.c: Likewise.
15498 * gdb.base/weaklib2.c: Likewise.
15499 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
15500 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
15501 unistd.h.
15502 * gdb.base/attach-pie-misread.c: Include stdlib.h.
15503 * gdb.mi/mi-exit-code.c: Likewise.
15504 * gdb.base/break-interp-lib.c: Include string.h.
15505 * gdb.base/coremaker.c: Likewise.
15506 * gdb.base/testenv.c: Likewise.
15507 * gdb.python/py-finish-breakpoint.c: Likewise.
15508 * gdb.base/inferior-died.c: Include sys/wait.h.
15509 * gdb.base/fileio.c: Include time.h.
15510 * gdb.base/async-shell.c: Include unistd.h.
15511 * gdb.base/dprintf-non-stop.c: Likewise.
15512 * gdb.base/info-os.c: Likewise.
15513 * gdb.mi/mi-console.c: Likewise.
15514 * gdb.mi/watch-nonstop.c: Likewise.
15515 * gdb.python/py-events.c: Likewise.
15516 * gdb.base/async.c (baz): Move up before its invocation.
15517 * gdb.base/code_elim2.c (my_global_func): Likewise.
15518 * gdb.base/skip-solib-lib.c (multiply): Likewise.
15519 * gdb.base/advance.c (func2): Likewise.
15520
15521 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15522
15523 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
15524 variant.
15525 * gdb.base/annota3.c: Likewise.
15526 * gdb.base/async.c: Likewise.
15527 * gdb.base/average.c: Likewise.
15528 * gdb.base/call-ar-st.c: Likewise.
15529 * gdb.base/call-rt-st.c: Likewise.
15530 * gdb.base/call-sc.c: Likewise.
15531 * gdb.base/call-strs.c: Likewise.
15532 * gdb.base/ending-run.c: Likewise.
15533 * gdb.base/execd-prog.c: Likewise.
15534 * gdb.base/exprs.c: Likewise.
15535 * gdb.base/foll-exec.c: Likewise.
15536 * gdb.base/foll-fork.c: Likewise.
15537 * gdb.base/foll-vfork.c: Likewise.
15538 * gdb.base/funcargs.c: Likewise.
15539 * gdb.base/gcore.c: Likewise.
15540 * gdb.base/jump.c: Likewise.
15541 * gdb.base/langs0.c: Likewise.
15542 * gdb.base/langs1.c: Likewise.
15543 * gdb.base/langs2.c: Likewise.
15544 * gdb.base/mips_pro.c: Likewise.
15545 * gdb.base/nodebug.c: Likewise.
15546 * gdb.base/opaque0.c: Likewise.
15547 * gdb.base/opaque1.c: Likewise.
15548 * gdb.base/recurse.c: Likewise.
15549 * gdb.base/run.c: Likewise.
15550 * gdb.base/scope0.c: Likewise.
15551 * gdb.base/scope1.c: Likewise.
15552 * gdb.base/setshow.c: Likewise.
15553 * gdb.base/setvar.c: Likewise.
15554 * gdb.base/shmain.c: Likewise.
15555 * gdb.base/shr1.c: Likewise.
15556 * gdb.base/shr2.c: Likewise.
15557 * gdb.base/sigall.c: Likewise.
15558 * gdb.base/signals.c: Likewise.
15559 * gdb.base/so-indr-cl.c: Likewise.
15560 * gdb.base/solib2.c: Likewise.
15561 * gdb.base/structs.c: Likewise.
15562 * gdb.base/sum.c: Likewise.
15563 * gdb.base/vforked-prog.c: Likewise.
15564 * gdb.base/watchpoint.c: Likewise.
15565 * gdb.reverse/shr2.c: Likewise.
15566 * gdb.reverse/until-reverse.c: Likewise.
15567 * gdb.reverse/ur1.c: Likewise.
15568 * gdb.reverse/watch-reverse.c: Likewise.
15569
15570 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15571
15572 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
15573 variant.
15574 * gdb.base/sepdebug.exp: Drop references to removed code.
15575
15576 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15577
15578 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
15579 variant. Preserve original line numbering.
15580 * gdb.base/list1.c: Likewise.
15581
15582 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15583
15584 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
15585 variant.
15586 * gdb.base/break1.c: Likewise.
15587 * gdb.base/break.exp: Drop references to removed code.
15588
15589 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15590
15591 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
15592 variant.
15593
15594 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15595
15596 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
15597
15598 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15599
15600 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
15601 logic into perform_all_tests() and invoke it with and without
15602 function header prototypes.
15603 (do_function_calls): Remove conditional XFAIL for PR 5318.
15604 (rerun_and_prepare): Remove duplicate code.
15605 (perform_all_tests): New. Main logic moved here.
15606
15607 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15608
15609 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
15610 code guarded by #ifdef NO_PROTOTYPES.
15611 (t_double_many_args): Likewise.
15612 (DEF_FUNC_MANY_ARGS_1): Likewise.
15613 (DEF_FUNC_VALUES_1): Likewise.
15614 (t_structs_ldc): Renamed from t_structs_fc in conditional code
15615 guarded by #ifdef PROTOTYPES.
15616
15617 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15618
15619 * gdb.mi/mi-console.c: Add eye-catcher.
15620 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
15621 instead of literal line number.
15622
15623 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15624
15625 * gdb.base/shr2.c: Add eye-catcher.
15626 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
15627 line number.
15628
15629 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15630
15631 * gdb.base/jump.c: Add eye-catchers.
15632 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
15633 numbers.
15634
15635 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15636
15637 * gdb.base/execd-prog.c: Add eye-catchers.
15638 * gdb.base/foll-exec.c: Likewise.
15639 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
15640 line numbers.
15641
15642 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15643
15644 * gdb.base/ending-run.c: Add eye-catchers.
15645 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
15646 literal line numbers.
15647
15648 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15649
15650 * gdb.base/call-rt-st.c: Add eye-catchers.
15651 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
15652 literal line numbers.
15653
15654 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15655
15656 * gdb.base/call-ar-st.c: Add eye-catchers.
15657 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
15658 literal line numbers.
15659
15660 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15661
15662 * gdb.base/average.c: Add eye-catchers.
15663 * gdb.base/sum.c: Likewise.
15664 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
15665 regexps dynamically.
15666
15667 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15668
15669 * gdb.base/solib1.c: Add eye-catchers.
15670 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
15671 literal line numbers.
15672
15673 2014-11-12 Pedro Alves <palves@redhat.com>
15674
15675 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
15676 leader has exited.
15677
15678 2014-11-12 Pedro Alves <palves@redhat.com>
15679
15680 * gdb.arch/i386-bp_permanent.c: New file.
15681 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
15682 (srcfile): Set to i386-bp_permanent.c.
15683 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
15684 that stepi does not execute the 'leave' instruction, instead of
15685 testing it does execute.
15686 * gdb.base/bp-permanent.c: New file.
15687 * gdb.base/bp-permanent.exp: New file.
15688
15689 2014-11-10 Doug Evans <xdje42@gmail.com>
15690
15691 PR symtab/17564
15692 * gdb.base/symtab-search-order.exp: New file.
15693 * gdb.base/symtab-search-order.c: New file.
15694 * gdb.base/symtab-search-order-1.c: New file.
15695 * gdb.base/symtab-search-order-shlib-1.c: New file.
15696
15697 2014-11-07 Pedro Alves <palves@redhat.com>
15698
15699 PR gdb/17511
15700 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
15701 i?86-*-linux*.
15702
15703 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
15704
15705 PR c++/17494
15706 * gdb.cp/pr17494.cc: New file.
15707 * gdb.cp/pr17494.exp: New file.
15708
15709 2014-11-02 Yao Qi <yao@codesourcery.com>
15710
15711 * gdb.python/python.exp: Get working directory and match the
15712 output of "set extended-prompt \\w " with it.
15713
15714 2014-10-30 Doug Evans <dje@google.com>
15715
15716 * gdb.python/py-objfile.exp: Add tests for setting random attributes
15717 in objfiles.
15718 * gdb.python/py-progspace.exp: Add tests for setting random attributes
15719 in progspaces.
15720
15721 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
15722
15723 * gdb.base/fullpath-expand.exp: Skip for a remote host.
15724 * gdb.base/realname-expand.exp: Likewise.
15725 * gdb.linespec/macro-relative.exp: Likewise.
15726
15727 2014-10-29 Pedro Alves <palves@redhat.com>
15728
15729 PR gdb/17408
15730 * gdb.threads/schedlock.c (some_function): New function.
15731 (call_function): New global.
15732 (MAYBE_CALL_SOME_FUNCTION): New macro.
15733 (thread_function): Call it.
15734 * gdb.threads/schedlock.exp (get_args): Add description parameter,
15735 and use it instead of a global counter. Adjust all callers.
15736 (get_current_thread): Use "find current thread" for test message
15737 here rather than having all callers pass down the same string.
15738 (goto_loop): New procedure, factored out from ...
15739 (my_continue): ... this.
15740 (step_ten_loops): Change parameter from test message to command to
15741 use. Adjust.
15742 (list_count): Delete global.
15743 (check_result): New procedure, factored out from duplicate top
15744 level code.
15745 (continue tests): Wrap in with_test_prefix.
15746 (test_step): New procedure, factored out from duplicate top level
15747 code.
15748 (top level): Test "step" in combination with all scheduler-locking
15749 modes. Test "next" in combination with all scheduler-locking
15750 modes, and in combination with stepping over a function call or
15751 not.
15752 * gdb.threads/next-bp-other-thread.c: New file.
15753 * gdb.threads/next-bp-other-thread.exp: New file.
15754
15755 2014-10-29 Pedro Alves <palves@redhat.com>
15756
15757 PR python/17372
15758 * gdb.python/python.exp: Test a multi-line command that spawns
15759 interactive Python.
15760 * gdb.base/multi-line-starts-subshell.exp: New file.
15761
15762 2014-10-29 Yao Qi <yao@codesourcery.com>
15763
15764 * gdb.base/fileio.exp: Make directories on host.
15765
15766 2014-10-29 Yao Qi <yao@codesourcery.com>
15767
15768 * gdb.base/fileio.c (test_write): Close the file.
15769
15770 2014-10-28 Pedro Alves <palves@redhat.com>
15771
15772 PR gdb/12623
15773 * gdb.base/sigstep.c (no_handler): New global.
15774 (main): If 'no_handler is true, set the signal handlers to
15775 SIG_IGN.
15776 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
15777 with_sw_watch and no_handler parameters. Handle them.
15778 (top level) <stepping over handler when stopped at a breakpoint
15779 test>: Add a test axis for testing with a software watchpoint, and
15780 another for testing with the signal handler set to SIG_IGN.
15781 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
15782 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
15783
15784 2014-10-28 Pedro Alves <palves@redhat.com>
15785
15786 PR gdb/17511
15787 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
15788 * gdb.base/sigstep.exp (other_handler_location): New global.
15789 (advance): Support stepping into the signal handler, and running
15790 commands while in the handler.
15791 (in_handler_map): New global.
15792 (top level): In the advance test, add combinations for getting
15793 into the handler with stepping commands, and for running commands
15794 in the handler. Add comment descripting the advancei tests.
15795
15796 2014-10-28 Pedro Alves <palves@redhat.com>
15797
15798 * gdb.base/sigstep.exp: Use build_executable instead of
15799 prepare_for_testing.
15800 (top level): Move code that starts GDB, runs to main and creates a
15801 display to ...
15802 (restart): ... this new procedure.
15803 (top level): Move backtrace from signal handler test to ...
15804 (validate_backtrace): ... this new procedure.
15805 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
15806 with_test_prefix. Always restart GDB.
15807 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
15808 with_test_prefix. Always restart GDB. No need to delete
15809 breakpoints after the test.
15810 (test_skip_handler): Remove prefix parameter.
15811 (skip_over_handler, breakpoint_to_handler)
15812 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
15813 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
15814 restart GDB. No need to delete breakpoints after the test.
15815 (top level): Use foreach to call the test procedures with
15816 different commands.
15817
15818 2014-10-28 Pedro Alves <palves@redhat.com>
15819
15820 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
15821 instead of GNATS numbers.
15822 * gdb.base/sigbpt.exp: Likewise.
15823 * gdb.base/siginfo.exp: Likewise.
15824 * gdb.base/sigstep.exp: Likewise.
15825
15826 2014-10-27 Pedro Alves <palves@redhat.com>
15827
15828 * gdb.base/sigstep.c (dummy): New global.
15829 (main): Issue a couple writes to the new global.
15830 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
15831 procedures.
15832 (skip_over_handler): Use test_skip_handler.
15833 (top level): Call skip_over_handler for stepi and nexti too.
15834 (breakpoint_over_handler): Use test_skip_handler.
15835 (top level): Call breakpoint_over_handler for stepi and nexti too.
15836
15837 2014-10-27 Yao Qi <yao@codesourcery.com>
15838
15839 * gdb.trace/tfile.c (adjust_function_address)
15840 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
15841 function descriptor.
15842
15843 2014-10-24 Don Breazeal <donb@codesourcery.com>
15844
15845 * gdb.base/foll-fork.exp (test_follow_fork,
15846 catch_fork_child_follow): Check for updated fork messages emitted
15847 from infrun.c.
15848 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
15849 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
15850 vfork_and_exec_child_follow_through_step): Check for updated vfork
15851 messages emitted from infrun.c.
15852
15853 2014-10-24 Pedro Alves <palves@redhat.com>
15854
15855 * gdb.base/corefile.exp: Remove references to ultrix.
15856 * gdb.base/interrupt.exp: Likewise.
15857 * gdb.base/whatis.exp: Likewise.
15858 * gdb.gdb/selftest.exp: Likewise.
15859 * gdb.threads/manythreads.exp: Likewise.
15860 * gdb.threads/print-threads.exp: Likewise.
15861 * gdb.threads/pthreads.exp:: Likewise.
15862 * gdb.threads/schedlock.exp: Likewise.
15863
15864 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
15865
15866 * gdb.cp/non-trivial-retval.cc: Add a test case.
15867 * gdb.cp/non-trivial-retval.exp: Add a test.
15868
15869 2014-10-20 Yao Qi <yao@codesourcery.com>
15870
15871 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
15872 * gdb.python/py-objfile-script-gdb.py: New file.
15873 * gdb.python/py-objfile-script.exp: Update reference to
15874 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
15875 of remote_download. Remove the dest file.
15876
15877 2014-10-20 Yao Qi <yao@codesourcery.com>
15878
15879 * gdb.base/checkpoint.exp: Don't remove file copied on host.
15880 * gdb.base/step-line.exp: Likewise.
15881 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
15882 * gdb.dwarf2/dw2-basic.exp: Likewise.
15883 * gdb.dwarf2/dw2-compressed.exp: Likewise.
15884 * gdb.dwarf2/dw2-filename.exp: Likewise.
15885 * gdb.dwarf2/dw2-intercu.exp: Likewise.
15886 * gdb.dwarf2/dw2-intermix.exp: Likewise.
15887 * gdb.dwarf2/dw2-producer.exp: Likewise.
15888 * gdb.dwarf2/mac-fileno.exp: Likewise.
15889 * gdb.python/py-frame-args.exp: Likewise.
15890 * gdb.python/py-framefilter.exp: Likewise.
15891 * gdb.python/py-mi.exp: Likewise.
15892 * gdb.python/py-objfile-script.exp: Likewise
15893 * gdb.python/py-pp-integral.exp: Likewise.
15894 * gdb.python/py-pp-re-notag.exp: Likewise.
15895 * gdb.python/py-prettyprint.exp: Likewise.
15896 * gdb.python/py-section-script.exp: Likewise.
15897 * gdb.python/py-typeprint.exp: Likewise.
15898 * gdb.python/py-xmethods.exp: Likewise.
15899 * gdb.stabs/weird.exp: Likewise.
15900 * gdb.xml/tdesc-regs.exp: Likewise.
15901
15902 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
15903
15904 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
15905 (out_cu): Use addr_len for the size of addresses.
15906 (out_line): Likewise. Size DW_LNE_set_address instruction
15907 according to addr_len.
15908 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
15909 (FUNC): Add START_INSNS to definition.
15910
15911 2014-10-18 Yao Qi <yao@codesourcery.com>
15912
15913 * gdb.base/argv0-symlink.exp: Check argv[0] value if
15914 gdb_has_argv0 return true.
15915 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
15916 check [target_info exists noargs], check [gdb_has_argv0]
15917 instead.
15918 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
15919 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
15920 procedures.
15921
15922 2014-10-17 Doug Evans <dje@google.com>
15923
15924 * gdb.python/py-events.exp: Update expected output for clear_objfiles
15925 event.
15926 * gdb.python/py-events.py: Add clear_objfiles event.
15927
15928 2014-10-17 Doug Evans <dje@google.com>
15929
15930 * gdb.python/py-objfile.exp: Test progspace attribute.
15931
15932 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
15933
15934 * gdb.guile/scm-breakpoint.exp: Do not assume any
15935 directory separators when matching source file paths.
15936 * gdb.python/py-breakpoint.exp: Likewise.
15937 * gdb.reverse/break-precsave.exp: Likewise.
15938 * gdb.reverse/break-reverse.exp: Likewise.
15939 * gdb.reverse/consecutive-precsave.exp: Likewise.
15940 * gdb.reverse/finish-precsave.exp: Likewise.
15941 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
15942 * gdb.reverse/finish-reverse.exp: Likewise.
15943 * gdb.reverse/i386-precsave.exp: Likewise.
15944 * gdb.reverse/i387-env-reverse.exp: Likewise.
15945 * gdb.reverse/i387-stack-reverse.exp: Likewise.
15946 * gdb.reverse/machinestate-precsave.exp: Likewise.
15947 * gdb.reverse/machinestate.exp: Likewise.
15948 * gdb.reverse/sigall-precsave.exp: Likewise.
15949 * gdb.reverse/solib-precsave.exp: Likewise.
15950 * gdb.reverse/step-precsave.exp: Likewise.
15951 * gdb.reverse/until-precsave.exp: Likewise.
15952 * gdb.reverse/watch-precsave.exp: Likewise.
15953 * gdb.reverse/watch-reverse.exp: Likewise.
15954
15955 2014-10-17 Yao Qi <yao@codesourcery.com>
15956
15957 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
15958 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
15959
15960 2014-10-17 Pedro Alves <palves@redhat.com>
15961
15962 PR gdb/17471
15963 * gdb.base/bg-execution-repeat.c: New file.
15964 * gdb.base/bg-execution-repeat.exp: New file.
15965
15966 2014-10-17 Pedro Alves <palves@redhat.com>
15967
15968 PR gdb/17300
15969 * gdb.base/continue-all-already-running.c: New file.
15970 * gdb.base/continue-all-already-running.exp: New file.
15971
15972 2014-10-17 Pedro Alves <palves@redhat.com>
15973
15974 PR gdb/17472
15975 * gdb.base/annota-input-while-running.c: New file.
15976 * gdb.base/annota-input-while-running.exp: New file.
15977
15978 2014-10-17 Pedro Alves <palves@redhat.com>
15979
15980 * gdb.base/callfuncs.exp: emove references to osf.
15981 * gdb.base/sigall.exp: Likewise.
15982 * gdb.gdb/selftest.exp: Likewise.
15983 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
15984 * gdb.mi/non-stop.c: Likewise.
15985 * gdb.mi/pthreads.c: Likewise.
15986 * gdb.reverse/sigall-precsave.exp: Likewise.
15987 * gdb.reverse/sigall-reverse.exp: Likewise.
15988 * gdb.threads/pthreads.c: Likewise.
15989 * gdb.threads/pthreads.exp: Likewise.
15990
15991 2014-10-17 Yao Qi <yao@codesourcery.com>
15992
15993 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
15994 check 'target_info exists noargs'.
15995 (test_command_prompt_position): Likewise.
15996 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
15997 Remove "set args".
15998 (progvar_simple_while_test): Likewise.
15999 (progvar_complex_if_while_test): Likewise.
16000 (if_while_breakpoint_command_test): Likewise.
16001 (infrun_breakpoint_command_test): Likewise.
16002 (breakpoint_command_test): Likewise.
16003 (watchpoint_command_test): Likewise.
16004 (bp_deleted_in_command_test): Likewise.
16005 (temporary_breakpoint_commands): Likewise.
16006
16007 2014-10-16 Yao Qi <yao@codesourcery.com>
16008
16009 * gdb.base/remotetimeout.exp: Remove noargs checking.
16010
16011 2014-10-15 Pedro Alves <palves@redhat.com>
16012
16013 PR breakpoints/9649
16014 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
16015 * gdb.base/breakpoint-in-ro-region.exp
16016 (probe_target_hardware_step): New procedure.
16017 (top level): Probe hardware stepping and hardware breakpoint
16018 support. Test stepping through a read-only region, with both
16019 "breakpoint auto-hw" on and off and both "always-inserted" on and
16020 off.
16021
16022 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
16023
16024 * gdb.dlang/demangle.exp: Update for demangling changes.
16025
16026 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
16027
16028 * gdb.cp/non-trivial-retval.cc: Add new test cases.
16029 * gdb.cp/non-trivial-retval.exp: Add new tests.
16030
16031 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
16032
16033 PR c++/13403
16034 PR c++/15154
16035 * gdb.cp/non-trivial-retval.cc: New file.
16036 * gdb.cp/non-trivial-retval.exp: New file.
16037
16038 2014-10-15 Yao Qi <yao@codesourcery.com>
16039
16040 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
16041 remote host.
16042
16043 2014-10-15 Yao Qi <yao@codesourcery.com>
16044
16045 * gdb.python/py-symbol.exp: Match file base name if host is
16046 remote, otherwise match file name with dir name.
16047 * gdb.python/py-symtab.exp: Likewise.
16048 * gdb.python/python.exp: Likewise.
16049
16050 2014-10-15 Yao Qi <yao@codesourcery.com>
16051
16052 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
16053 pattern.
16054 * gdb.python/py-symtab.exp: Likewise.
16055 * gdb.python/python.exp: Remove trailing ".*". Fix typo
16056 locationn.
16057
16058 2014-10-14 Joel Brobecker <brobecker@adacore.com>
16059
16060 * gdb.ada/addr_arith: New testcase.
16061
16062 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
16063
16064 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
16065 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
16066 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
16067 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
16068
16069 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
16070
16071 * gdb.arch/stap-eval-lang-ada.S: Likewise.
16072 * gdb.arch/stap-eval-lang-ada.c: Likewise.
16073 * gdb.arch/stap-eval-lang-ada.exp: New file.
16074
16075 2014-10-14 Yao Qi <yao@codesourcery.com>
16076
16077 * gdb.mi/mi-var-child.c (nothing1): New function.
16078 (nothing2): New function.
16079 (do_children_tests): Set function pointers by nothing1 and
16080 nothing2.
16081 * gdb.mi/mi-var-child.exp: Step over new added statements.
16082 Update test to match the new output.
16083 * gdb.mi/var-cmd.c (nothing1): New function.
16084 (nothing2): New function.
16085 (do_children_tests): Set function pointers by nothing1 and
16086 nothing2.
16087 * gdb.mi/mi-var-display.exp: Update test to match output.
16088 Step to the line specified by $line_dct_nothing.
16089 Increase the number of lines to step.
16090
16091 2014-10-14 Yao Qi <yao@codesourcery.com>
16092
16093 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
16094 tests.
16095 * gdb.mi/mi2-var-child.exp: Likewise.
16096
16097 2014-10-13 Doug Evans <dje@google.com>
16098
16099 * gdb.python/py-objfile.exp: Change name of file name test.
16100
16101 2014-10-13 Doug Evans <dje@google.com>
16102
16103 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
16104 from the start of the CU.
16105
16106 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
16107 Yao Qi <yao@codesourcery.com>
16108
16109 Fix "save breakpoints" for "catch" command.
16110 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
16111 Remove -nonewline. Match also the added "main" line.
16112
16113 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16114
16115 Fix "save breakpoints" for "disable $bpnum" command.
16116 * gdb.base/save-bp.c (main): Add label.
16117 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
16118
16119 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16120
16121 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
16122
16123 2014-10-11 Yao Qi <yao@codesourcery.com>
16124
16125 * gdb.server/server-kill.exp: Execute command
16126 "set remote trace-status-packet on" before "tstatus".
16127
16128 2014-10-11 Yao Qi <yao@codesourcery.com>
16129
16130 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
16131 (main): Call getppid.
16132 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
16133 and continue to it. Read variable "server_pid".
16134
16135 2014-10-11 Yao Qi <yao@codesourcery.com>
16136
16137 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
16138
16139 2014-10-11 Yao Qi <yao@codesourcery.com>
16140
16141 * gdb.threads/thread-find.exp: Don't execute command
16142 "info threads".
16143 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
16144 * gdb.threads/linux-dp.exp: Don't check the condition
16145 $threads_created equals to zero.
16146
16147 2014-10-10 Pedro Alves <palves@redhat.com>
16148
16149 * gdb.base/bigcore.exp: Remove references to IRIX.
16150 * gdb.base/funcargs.exp: Likewise.
16151 * gdb.base/interrupt.exp: Likewise.
16152 * gdb.base/mips_pro.exp: Likewise.
16153 * gdb.base/nodebug.exp: Likewise.
16154 * gdb.base/setvar.exp: Likewise.
16155 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
16156
16157 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
16158 Pedro Alves <palves@redhat.com>
16159
16160 PR symtab/14466
16161 * gdb.base/vdso-warning.c: New file.
16162 * gdb.base/vdso-warning.exp: New file.
16163
16164 2014-10-02 Doug Evans <dje@google.com>
16165
16166 * gdb.base/structs.c (main): Don't run forever.
16167
16168 2014-10-02 Pedro Alves <palves@redhat.com>
16169
16170 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
16171 (top level) <stop threads 1, stop threads 2>: Use it.
16172
16173 2014-10-02 Pedro Alves <palves@redhat.com>
16174
16175 * gdb.threads/break-while-running.exp (test): Add new
16176 'update_thread_list' argument. Skip "info threads" if false.
16177 (top level): Add new 'update_thread_list' axis.
16178
16179 2014-10-02 Pedro Alves <palves@redhat.com>
16180
16181 PR breakpoints/17431
16182 * gdb.base/execl-update-breakpoints.c: New file.
16183 * gdb.base/execl-update-breakpoints.exp: New file.
16184
16185 2014-10-01 Pedro Alves <palves@redhat.com>
16186
16187 * gdb.base/breakpoint-in-ro-region.c: New file.
16188 * gdb.base/breakpoint-in-ro-region.exp: New file.
16189
16190 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
16191
16192 * gdb.mi/mi-exit-code.exp: New file.
16193 * gdb.mi/mi-exit-code.c: New file.
16194
16195 2014-09-30 Yao Qi <yao@codesourcery.com>
16196
16197 * lib/prelink-support.exp (build_executable_own_libs): Error if
16198 the target isn't native.
16199
16200 2014-09-30 Yao Qi <yao@codesourcery.com>
16201
16202 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
16203 false.
16204
16205 2014-09-22 Pedro Alves <palves@redhat.com>
16206
16207 * gdb.threads/break-while-running.exp: New file.
16208 * gdb.threads/break-while-running.c: New file.
16209
16210 2014-09-19 Yao Qi <yao@codesourcery.com>
16211
16212 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
16213 Invoke test. Restart GDB with --readnow and invoke test again.
16214
16215 2014-09-19 Yao Qi <yao@codesourcery.com>
16216
16217 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
16218 proc set_breakpoint_on_gcd_function. Invoke
16219 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
16220 invoke set_breakpoint_on_gcd_function again.
16221
16222 2014-09-18 Doug Evans <dje@google.com>
16223
16224 * gdb.dwarf2/symtab-producer.exp: New file.
16225
16226 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
16227
16228 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
16229 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
16230 * gdb.base/global-var-nested-by-dso.c: Likewise.
16231 * gdb.base/global-var-nested-by-dso.exp: Likewise.
16232
16233 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
16234 Pedro Alves <palves@redhat.com>
16235
16236 * gdb.base/watch-bitfields.exp: Pass string other than test file
16237 name to prepare_for_testing.
16238 (watch): New procedure.
16239 (expect_watchpoint): Use with_test_prefix.
16240 (top level): Factor out tests to ...
16241 (test_watch_location, test_regular_watch): ... these new
16242 procedures, and use with_test_prefix and gdb_continue_to_end.
16243
16244 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
16245
16246 PR breakpoints/12526
16247 * gdb.base/watch-bitfields.exp: New file.
16248 * gdb.base/watch-bitfields.c: New file.
16249
16250 2014-09-16 Pedro Alves <palves@redhat.com>
16251
16252 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
16253 software and hardware addresses, not software address against
16254 itself.
16255
16256 2014-09-16 Pedro Alves <palves@redhat.com>
16257
16258 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
16259 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
16260
16261 2014-09-16 Pedro Alves <palves@redhat.com>
16262
16263 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
16264 files.
16265 * gdb.base/a2-run.exp: Remove all code guarded by istarget
16266 "*-*-vxworks*" throughout.
16267 * gdb.base/break.exp: Likewise.
16268 * gdb.base/default.exp: Likewise.
16269 * gdb.base/scope.exp: Likewise.
16270 * gdb.base/sepdebug.exp: Likewise.
16271 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
16272 throughout.
16273 * gdb.base/run.c: Likewise.
16274 * gdb.base/sepdebug.c: Likewise.
16275 * gdb.hp/gdb.aCC/run.c: Likewise.
16276 * gdb.reverse/until-reverse.c: Likewise.
16277 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
16278
16279 2014-09-16 Yao Qi <yao@codesourcery.com>
16280
16281 * boards/local-remote-host-native.exp: New file.
16282
16283 2014-09-14 Doug Evans <xdje42@gmail.com>
16284
16285 * gdb.threads/queue-signal.c (thread_count): New variable.
16286 (thread_count_mutex, thread_count_condvar): New variables.
16287 (incr_thread_count, wait_all_threads_running): New functions.
16288 (main): Wait for all threads to be in their thread functions.
16289
16290 2014-09-13 Doug Evans <xdje42@gmail.com>
16291
16292 * gdb.threads/queue-signal.c: New file.
16293 * gdb.threads/queue-signal.exp: New file.
16294
16295 2014-09-13 Doug Evans <xdje42@gmail.com>
16296
16297 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
16298 be consistent with what default_gdb_init uses.
16299 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
16300 the plain text of the prompt. Add some logging printfs.
16301 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
16302
16303 2014-09-12 Pedro Alves <palves@redhat.com>
16304
16305 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
16306 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
16307 * gdb.arch/i386-size-overlap.exp: Likewise.
16308 * gdb.arch/i386-size.exp: Likewise.
16309 * gdb.arch/i386-unwind.exp: Likewise.
16310 * gdb.base/a2-run.exp: Likewise.
16311 * gdb.base/break.exp: Likewise.
16312 * gdb.base/charset.exp: Likewise.
16313 * gdb.base/chng-syms.exp: Likewise.
16314 * gdb.base/commands.exp: Likewise.
16315 * gdb.base/dbx.exp: Likewise.
16316 * gdb.base/find.exp: Likewise.
16317 * gdb.base/funcargs.exp: Likewise.
16318 * gdb.base/jit-simple.exp: Likewise.
16319 * gdb.base/reread.exp: Likewise.
16320 * gdb.base/sepdebug.exp: Likewise.
16321 * gdb.base/step-bt.exp: Likewise.
16322 * gdb.cp/mb-inline.exp: Likewise.
16323 * gdb.cp/mb-templates.exp: Likewise.
16324 * gdb.objc/basicclass.exp: Likewise.
16325 * gdb.threads/killed.exp: Likewise.
16326
16327 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16328
16329 PR tdep/17379
16330 * gdb.arch/powerpc-stackless.S: New file.
16331 * gdb.arch/powerpc-stackless.exp: New file.
16332
16333 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16334
16335 * gdb.base/attach.c: Include unistd.h.
16336 (main): Call alarm. Add label postloop.
16337 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
16338 gdb_breakpoint, gdb_continue_to_breakpoint.
16339 (test_command_line_attach_run): Kill ${testpid} in one exit path.
16340
16341 2014-09-11 Pedro Alves <palves@redhat.com>
16342
16343 PR gdb/17347
16344 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
16345 * gdb.base/attach.exp (test_command_line_attach_run): New
16346 procedure.
16347 (top level): Call it.
16348
16349 2014-09-11 Pedro Alves <palves@redhat.com>
16350
16351 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
16352 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
16353 (do_command_attach_tests): Use spawn_wait_for_attach.
16354 * gdb.base/solib-overlap.exp: Likewise.
16355 * gdb.multi/multi-attach.exp: Likewise.
16356 * gdb.python/py-prompt.exp: Likewise.
16357 * gdb.python/py-sync-interp.exp: Likewise.
16358 * gdb.server/ext-attach.exp: Likewise.
16359
16360 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
16361
16362 * gdb.fortran/array-element.exp: Remove unexpected "continue"
16363 command in testcase. Simplify testcase.
16364
16365 2014-09-10 Joel Brobecker <brobecker@adacore.com>
16366
16367 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
16368
16369 2014-09-10 Joel Brobecker <brobecker@adacore.com>
16370
16371 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
16372
16373 2014-09-10 Joel Brobecker <brobecker@adacore.com>
16374
16375 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
16376
16377 2014-09-10 Joel Brobecker <brobecker@adacore.com>
16378
16379 * gdb.dwarf2/dynarr-ptr.c: New file.
16380 * gdb.dwarf2/dynarr-ptr.exp: New file.
16381
16382 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16383
16384 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
16385 of 30 rather than hardcoding 120 for a slow test case. Take the
16386 `gdb,timeout' target setting into account for this calculation.
16387 Don't extend the timeout for the test cases that don't need it.
16388
16389 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16390
16391 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
16392 a factor of 2 for a slow test case. Take the `gdb,timeout'
16393 target setting into account for this calculation.
16394 * gdb.reverse/until-precsave.exp: Increase the timeout by
16395 a factor of 15 and 3 respectively rather than adding 120
16396 for a pair of slow test cases. Take the `gdb,timeout'
16397 target setting into account for this calculation.
16398
16399 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16400
16401 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
16402 timeout, don't pass one down to gdb_expect.
16403 (gdb_expect): Rework timeout selection.
16404
16405 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16406
16407 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
16408 exception on timeout.
16409 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
16410 (gdbserver_start_extended): Catch any `gdbserver_start' error
16411 exceptions.
16412 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
16413 * lib/mi-support.exp (mi_gdb_target_load): Catch any
16414 `gdbserver_gdb_load' error exceptions.
16415
16416 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16417
16418 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
16419 120 on waiting for the TCP socket to open.
16420
16421 2014-09-09 Doug Evans <xdje42@gmail.com>
16422
16423 * gdb.base/default.exp (show_conv_list): Add _caller_is,
16424 _caller_matches, _any_caller_is, _any_caller_matches.
16425
16426 2014-09-09 Doug Evans <xdje42@gmail.com>
16427
16428 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
16429
16430 2014-09-09 Yao Qi <yao@codesourcery.com>
16431
16432 * gdb.mi/mi-var-display.exp: Set print symbol off.
16433
16434 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
16435
16436 PR gdb/17035
16437 * gdb.base/commands.exp: Add tests to verify user-defined
16438 commands with empty bodies.
16439 * gdb.python/py-cmd.exp: Test that we don't show user-defined
16440 python commands in `show user command`.
16441 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
16442 scheme commands in `show user command`.
16443
16444 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16445
16446 PR python/17355
16447 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
16448 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
16449 * gdb.python/py-framefilter-invalidarg.exp: New file.
16450 * gdb.python/py-framefilter-invalidarg.py: New file.
16451
16452 2014-09-06 Doug Evans <xdje42@gmail.com>
16453
16454 PR 15276
16455 * gdb.python/py-caller-is.c: New file.
16456 * gdb.python/py-caller-is.exp: New file.
16457
16458 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
16459
16460 PR gdb/17235
16461 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
16462 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
16463
16464 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
16465
16466 PR fortran/17237
16467 * gdb.fortran/print-formatted.exp: New file.
16468 * gdb.fortran/print-formatted.f90: Likewise.
16469
16470 2014-09-03 Sasha Smundak <asmundak@google.com>
16471
16472 * gdb.python/py-frame.exp: Test Frame.read_register.
16473
16474 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
16475
16476 PR python/16699
16477 * gdb.python/py-completion.exp: New file.
16478 * gdb.python/py-completion.py: Likewise.
16479
16480 2014-08-28 Doug Evans <dje@google.com>
16481
16482 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
16483 eax,etc. are live with values set by gdb and thus the compiler can't
16484 use them.
16485 * gdb.arch/i386-pseudo.c (main): Ditto.
16486
16487 2014-08-27 Doug Evans <dje@google.com>
16488
16489 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
16490
16491 2014-08-25 Doug Evans <dje@google.com>
16492
16493 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
16494 (main): Ditto.
16495
16496 2014-08-25 Doug Evans <dje@google.com>
16497
16498 * gdb.threads/thread-execl.exp: #include <stdio.h>.
16499
16500 2014-08-24 Yao Qi <yao@codesourcery.com>
16501
16502 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
16503 symbol off.
16504 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
16505
16506 2014-08-22 Doug Evans <dje@google.com>
16507
16508 PR 17276
16509 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
16510 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
16511 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
16512
16513 2014-08-22 Yao Qi <yao@codesourcery.com>
16514
16515 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
16516 * gdb.python/py-finish-breakpoint2.exp: Likewise.
16517 * gdb.python/python.exp: Likewise. Use .py file on the host
16518 instead of the build.
16519
16520 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16521
16522 * gdb.threads/gcore-stale-thread.c: New file.
16523 * gdb.threads/gcore-stale-thread.exp: New file.
16524
16525 2014-08-21 Pedro Alves <palves@redhat.com>
16526
16527 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
16528 * gdb.base/gcore-relro-pie.exp: Likewise.
16529 * gdb.base/gcore-relro.exp: Likewise.
16530 * gdb.base/gcore.exp: Likewise.
16531 * gdb.base/print-symbol-loading.exp: Likewise.
16532 * gdb.threads/gcore-thread.exp: Likewise.
16533 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
16534
16535 2014-08-20 Pedro Alves <palves@redhat.com>
16536 Jan Kratochvil <jan.kratochvil@redhat.com>
16537
16538 * Makefile.in (EXTRA_RULES, CC): New variables, get from
16539 configure.
16540 (EXPECT): Handle READ1 being set.
16541 (all): Depend on EXTRA_RULES.
16542 (check-read1, expect-read1, read1.so, read1): New rules.
16543 * README (Testsuite Parameters): Document the READ1 make variable.
16544 (Race detection): New section.
16545 * configure: Regenerate.
16546 * configure.ac: If build==host==target, and running under a
16547 GNU/glibc system, add read1 to the extra Makefile rules.
16548 (EXTRA_RULES): AC_SUBST it.
16549 * lib/read1.c: New file.
16550
16551 2014-08-20 Joel Brobecker <brobecker@adacore.com>
16552
16553 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
16554 the handling of variables declared as a typedef to an array
16555 which a DW_AT_data_location attribute.
16556
16557 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
16558 Pedro Alves <palves@redhat.com>
16559
16560 PR symtab/14604
16561 PR symtab/14605
16562 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
16563 gdb_test.
16564
16565 2014-08-19 Pedro Alves <palves@redhat.com>
16566
16567 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
16568
16569 2014-08-19 Yao Qi <yao@codesourcery.com>
16570
16571 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
16572 right line.
16573
16574 2014-08-18 David Blaikie <dblaikie@gmail.com>
16575
16576 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
16577
16578 2014-08-18 Joel Brobecker <brobecker@adacore.com>
16579
16580 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
16581 attribute in array range.
16582
16583 2014-08-18 Joel Brobecker <brobecker@adacore.com>
16584
16585 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
16586
16587 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
16588
16589 PR c++/17132
16590 * gdb.cp/pr17132.cc: New file.
16591 * gdb.cp/pr17132.exp: New file.
16592
16593 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
16594
16595 * gdb.python/py-xmethods.py (A_getarrayind)
16596 (E_method_char_worker.__call__, E_method_int_worker.__call__):
16597 Use 'print' with function call syntax.
16598 (E_method_matcher.match): Fix tab vs space indentation mixup.
16599
16600 2014-08-15 Yao Qi <yao@codesourcery.com>
16601
16602 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
16603 false.
16604
16605 2014-08-15 Yao Qi <yao@codesourcery.com>
16606
16607 * gdb.cp/casts.exp: Set print symbol off.
16608 * gdb.cp/class2.exp: Likewise.
16609 * gdb.cp/overload.exp: Likewise.
16610 * gdb.cp/templates.exp: Likewise.
16611
16612 2014-08-11 Doug Evans <dje@google.com>
16613
16614 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
16615 (test_load_shlib): Update.
16616
16617 2014-08-09 Yao Qi <yao@codesourcery.com>
16618
16619 * gdb.base/display.exp: Invoke is_address_zero_readable.
16620 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
16621 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
16622 * gdb.base/hbreak-unmapped.exp: Return if
16623 is_address_zero_readable returns true.
16624 * gdb.base/signest.exp: Likewise.
16625 * gdb.base/signull.exp: Likewise.
16626 * gdb.base/sigbpt.exp: Likewise.
16627 * gdb.guile/scm-disasm.exp: Do the test if
16628 is_address_zero_readable returns false.
16629 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
16630 * gdb.python/py-arch.exp: Likewise.
16631 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
16632 * lib/gdb.exp (is_address_zero_readable): New proc.
16633
16634 2014-08-09 Yao Qi <yao@codesourcery.com>
16635
16636 PR testsuite/13443
16637 * gdb.mi/mi-var-display.exp: Make test messages unique.
16638
16639 2014-08-04 Tom Tromey <tromey@redhat.com>
16640
16641 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
16642 target 0".
16643
16644 2014-08-04 Tom Tromey <tromey@redhat.com>
16645
16646 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
16647 "target_resume".
16648
16649 2014-08-01 Joel Brobecker <brobecker@adacore.com>
16650
16651 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
16652 inner_vla_struct_object_size.
16653 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
16654 as xfail.
16655
16656 2014-07-30 Pedro Alves <palves@redhat.com>
16657
16658 * gdb.threads/signal-command-handle-nopass.exp (test): Add
16659 comment.
16660
16661 2014-07-29 Yao Qi <yao@codesourcery.com>
16662
16663 PR gdb/17206
16664 * gdb.base/until-nodebug.exp: New.
16665
16666 2014-07-28 Doug Evans <xdje42@gmail.com>
16667
16668 PR guile/17203
16669 * gdb.guile/scm-parameter.exp: Add tests for trying to create
16670 previously existing parameter, and previously ambiguously spelled
16671 parameter.
16672
16673 2014-07-28 Will Newton <will.newton@linaro.org>
16674
16675 * gdb.base/varargs.exp: Remove KFAILs for ARM.
16676
16677 2014-07-26 Ludovic Courtès <ludo@gnu.org>
16678 Doug Evans <xdje42@gmail.com>
16679
16680 PR guile/17146
16681 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
16682
16683 2014-07-25 Pedro Alves <palves@redhat.com>
16684
16685 * gdb.threads/signal-command-handle-nopass.c: New file.
16686 * gdb.threads/signal-command-handle-nopass.exp: New file.
16687 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
16688 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
16689 * gdb.threads/signal-delivered-right-thread.c: New file.
16690 * gdb.threads/signal-delivered-right-thread.exp: New file.
16691
16692 2014-07-25 Pedro Alves <palves@redhat.com>
16693
16694 * gdb.base/double-prompt-target-event-error.exp
16695 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
16696 match.
16697 (cancel_pagination_in_target_event): Rework double prompt
16698 detection.
16699 * gdb.base/paginate-after-ctrl-c-running.exp
16700 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
16701 <return>' match.
16702 * gdb.base/paginate-bg-execution.exp
16703 (test_bg_execution_pagination_return)
16704 (test_bg_execution_pagination_cancel): Remove '-notransfer
16705 <return>' matches.
16706 * gdb.base/paginate-execution-startup.exp
16707 (test_fg_execution_pagination_return)
16708 (test_fg_execution_pagination_cancel): Remove '-notransfer
16709 <return>' matches.
16710 * gdb.base/paginate-inferior-exit.exp
16711 (test_paginate_inferior_exited): Remove '-notransfer <return>'
16712 match.
16713 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
16714 * lib/gdb.exp (pagination_prompt): Run text through
16715 string_to_regexp.
16716 (gdb_test_multiple): Match $pagination_prompt instead of
16717 "<return>".
16718 (string_to_regexp): Move to lib/gdb-utils.exp.
16719
16720 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16721
16722 * gdb.arch/amd64-entry-value-paramref.S: New file.
16723 * gdb.arch/amd64-entry-value-paramref.cc: New file.
16724 * gdb.arch/amd64-entry-value-paramref.exp: New file.
16725 * gdb.arch/amd64-optimout-repeat.S: New file.
16726 * gdb.arch/amd64-optimout-repeat.c: New file.
16727 * gdb.arch/amd64-optimout-repeat.exp: New file.
16728
16729 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
16730
16731 PR gdb/17170
16732 * gdb.base/statistics.exp: New file.
16733
16734 2014-07-17 Doug Evans <dje@google.com>
16735
16736 PR gdb/17170
16737 * gdb.base/maint.exp: Update testing of per-command stats.
16738
16739 2014-07-16 Pedro Alves <palves@redhat.com>
16740
16741 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
16742 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
16743 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
16744 (tfile_write_buf): New functions.
16745 (add_memory_block): Rewrite using the above.
16746 (adjust_function_address): New function.
16747 (FUNCTION_ADDRESS): New macro.
16748 (write_basic_trace_file): Remove short_x local, and use
16749 tfile_write_16. Change type of func_addr local to unsigned long
16750 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
16751 here. Cast argument of add_memory_block to char pointer.
16752 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
16753 (main): Remove parameters.
16754 * gdb.trace/tfile.exp: Remove nowarnings.
16755
16756 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
16757
16758 * gdb.base/debug-expr.exp: Test string evaluation with
16759 "debug expression" on.
16760
16761 2014-07-15 Pedro Alves <palves@redhat.com>
16762
16763 * gdb.base/reread.exp: Use clean_restart.
16764
16765 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
16766
16767 * gdb.arch/avr-flash-qualifer.c: New.
16768 * gdb.arch/avr-flash-qualifer.exp: New.
16769
16770 2014-07-14 Pedro Alves <palves@redhat.com>
16771
16772 * gdb.base/paginate-after-ctrl-c-running.c: New file.
16773 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
16774
16775 2014-07-14 Pedro Alves <palves@redhat.com>
16776
16777 * gdb.base/double-prompt-target-event-error.c: New file.
16778 * gdb.base/double-prompt-target-event-error.exp: New file.
16779
16780 2014-07-14 Pedro Alves <palves@redhat.com>
16781
16782 PR gdb/17072
16783 * gdb.base/paginate-inferior-exit.c: New file.
16784 * gdb.base/paginate-inferior-exit.exp: New file.
16785
16786 2014-07-14 Pedro Alves <palves@redhat.com>
16787
16788 PR gdb/17072
16789 * gdb.base/paginate-bg-execution.c: New file.
16790 * gdb.base/paginate-bg-execution.exp: New file.
16791
16792 2014-07-14 Pedro Alves <palves@redhat.com>
16793
16794 PR gdb/17072
16795 * gdb.base/paginate-execution-startup.c: New file.
16796 * gdb.base/paginate-execution-startup.exp: New file.
16797 * lib/gdb.exp (pagination_prompt): New global.
16798 (default_gdb_spawn): New procedure, factored out from
16799 default_gdb_spawn.
16800 (default_gdb_start): Adjust to call default_gdb_spawn.
16801 (gdb_spawn): New procedure.
16802
16803 2014-07-14 Pedro Alves <palves@redhat.com>
16804
16805 * lib/gdb.exp (gdb_assert): New procedure.
16806 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
16807
16808 2014-07-14 Pedro Alves <palves@redhat.com>
16809
16810 * gdb.base/execution-termios.c: New file.
16811 * gdb.base/execution-termios.exp: New file.
16812
16813 2014-07-14 Tom Tromey <tromey@redhat.com>
16814
16815 * gdb.cp/vla-cxx.cc: New file.
16816 * gdb.cp/vla-cxx.exp: New file.
16817
16818 2014-07-14 Tom Tromey <tromey@redhat.com>
16819
16820 * gdb.reverse/rerun-prec.c: New file.
16821 * gdb.reverse/rerun-prec.exp: New file.
16822
16823 2014-07-12 Maciej W. Rozycki <macro@mips.com>
16824 Maciej W. Rozycki <macro@codesourcery.com>
16825
16826 * lib/gdb-utils.exp: New file.
16827 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
16828 inline `gdb_init_command' processing.
16829 (gdb_start_cmd): Likewise.
16830 * lib/mi-support.exp (mi_run_cmd): Likewise.
16831 * README: Document `gdb_init_command' and `gdb_init_commands'.
16832
16833 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16834
16835 Fix false FAIL running under a very long directory name.
16836 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
16837 and "set print elements 10000". Twice.
16838
16839 2014-07-11 Yao Qi <yao@codesourcery.com>
16840
16841 * gdb.base/exprs.exp: "set print symbol off".
16842
16843 2014-07-11 Pedro Alves <palves@redhat.com>
16844
16845 * gdb.threads/kill.c: New file.
16846 * gdb.threads/kill.exp: New file.
16847
16848 2014-07-10 Yao Qi <yao@codesourcery.com>
16849
16850 * gdb.trace/tfile.c (write_basic_trace_file)
16851 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
16852 address written to trace file.
16853
16854 2014-07-09 Pedro Alves <palves@redhat.com>
16855
16856 * gdb.base/attach-wait-input.exp: New file.
16857 * gdb.base/attach-wait-input.c: New file.
16858
16859 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
16860
16861 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
16862 setting up test structures.
16863 (main): Call new test function.
16864 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
16865 test function, continue into test function and walk test
16866 structures.
16867
16868 2014-07-02 Yao Qi <yao@codesourcery.com>
16869
16870 * gdb.trace/entry-values.c: Define labels 'foo_start' and
16871 'bar_start' at the beginning of functions 'foo' and 'bar'
16872 respectively.
16873 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
16874 instead of 'foo' and 'bar'.
16875
16876 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
16877
16878 * gdb.btrace/segv.exp: New.
16879 * gdb.btrace/segv.c: New.
16880
16881 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
16882
16883 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
16884 instruction.
16885
16886 2014-06-30 Mark Wielaard <mjw@redhat.com>
16887
16888 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
16889 vulture, vilify, villar): New volatile array constants.
16890 (vindictive, vegetation): New const volatile array constants.
16891 * gdb.base/volatile.exp: Test volatile and const volatile array
16892 types.
16893
16894 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
16895
16896 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
16897 target lacks support for awatch, rwatch, or hbreak.
16898
16899 2014-06-27 Yao Qi <yao@codesourcery.com>
16900
16901 * gdb.multi/dummy-frame-restore.exp: New.
16902 * gdb.multi/dummy-frame-restore.c: New.
16903
16904 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
16905
16906 * gdb.btrace/gcore.exp: New.
16907
16908 2014-06-23 Pedro Alves <palves@redhat.com>
16909
16910 * gdb.base/watchpoint-reuse-slot.c: New file.
16911 * gdb.base/watchpoint-reuse-slot.exp: New file.
16912
16913 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
16914
16915 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
16916 progspace's filename in 'info', 'enable' and 'disable' command
16917 tests.
16918
16919 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
16920
16921 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
16922 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
16923 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
16924
16925 2014-06-20 Gary Benson <gbenson@redhat.com>
16926
16927 * gdb.arch/i386-avx.exp: Fix include file location.
16928 * gdb.arch/i386-sse.exp: Likewise.
16929
16930 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
16931
16932 * gdb.dlang/expression.exp: New file.
16933
16934 2014-06-19 Pedro Alves <palves@redhat.com>
16935
16936 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
16937 out from ...
16938 (top level): ... here. Iterate running tests under different
16939 scheduler-locking settings.
16940
16941 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
16942
16943 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
16944 to DW_FORM_addr and use non-zero addresses.
16945
16946 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
16947
16948 PR gdb/17017
16949 * gdb.python/py-xmethods.cc: Add global function call counters and
16950 increment them in their respective functions. Remove "cout"
16951 statements.
16952 * gdb.python/py-xmethods.exp: Make tests check the global function
16953 call counters instead of depending on inferior IO.
16954
16955 2014-06-18 Don Breazeal <donb@codesourcery.com>
16956
16957 * gdb.base/foll-fork.exp (default_fork_parent_follow):
16958 Deleted procedure.
16959 (explicit_fork_parent_follow): Deleted procedure.
16960 (explicit_fork_child_follow): Deleted procedure.
16961 (test_follow_fork): New procedure.
16962 (do_fork_tests): Replace calls to deleted procedures with
16963 calls to test_follow_fork and reset GDB for subsequent
16964 procedure calls.
16965
16966 2014-06-17 Yao Qi <yao@codesourcery.com>
16967
16968 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
16969 CP1252.
16970
16971 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
16972
16973 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
16974 Initialize ptr and S explicitly.
16975 (skip_type_update_when_not_use_rtti_test): Likewise.
16976
16977 2014-06-16 Keith Seitz <keiths@redhat.com>
16978
16979 PR mi/15863
16980 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
16981 the inferior is started.
16982
16983 2014-06-16 Pedro Alves <palves@redhat.com>
16984
16985 * gdb.base/break-main-file-remove-fail.c: New file.
16986 * gdb.base/break-main-file-remove-fail.exp: New file.
16987 * gdb.base/break-unload-file.exp: Use build_executable instead of
16988 prepare_for_testing.
16989 (test_break): New parameter "initial_load". Handle it.
16990 (top level): Add initial_load cmdline/file axis.
16991
16992 2014-06-12 Tom Tromey <tromey@redhat.com>
16993
16994 * gdb.base/completion.exp: Don't use directory name in test.
16995
16996 2014-06-09 Gary Benson <gbenson@redhat.com>
16997
16998 * gdb.base/sigall.c [Functions to send signals]: Reorder to
16999 separate the always-available ANSI-standard signals from the
17000 signals that require checking.
17001 (main): Likewise.
17002 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
17003 Likewise.
17004 (main): Likewise.
17005
17006 2014-06-07 Keith Seitz <keiths@redhat.com>
17007
17008 Revert:
17009 PR c++/16253
17010 * gdb.cp/var-tag.cc: New file.
17011 * gdb.cp/var-tag.exp: New file.
17012 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
17013 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
17014 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
17015 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
17016
17017 2014-06-06 Doug Evans <xdje42@gmail.com>
17018
17019 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
17020
17021 2014-06-06 Pedro Alves <palves@redhat.com>
17022
17023 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
17024 in target debug output instead of looking at RSP packets,
17025 disabling the test on any target that uses hardware stepping.
17026 Update comments.
17027
17028 2014-06-06 Pedro Alves <palves@redhat.com>
17029
17030 * gdb.base/break-unload-file.exp: Fix typo.
17031
17032 2014-06-06 Yao Qi <yao@codesourcery.com>
17033
17034 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
17035 from "jit_function" to "^jit_function".
17036
17037 2014-06-06 Yao Qi <yao@codesourcery.com>
17038
17039 * gdb.base/async.c (foo): Add one statement.
17040 * gdb.base/async.exp: Get the next instruction address and
17041 match the output of "nexti" by instruction address. Match
17042 the hex address in the output of "finish".
17043
17044 2014-06-06 Gary Benson <gbenson@redhat.com>
17045
17046 * gdb.base/call-signals.c: Remove preprocessor conditionals
17047 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
17048 SIGSEGV and SIGTERM.
17049 * gdb.base/sigall.c: Likewise.
17050 * gdb.base/unwindonsignal.c: Likewise.
17051 * gdb.reverse/sigall-reverse.c: Likewise.
17052
17053 2014-06-06 Yao Qi <yao@codesourcery.com>
17054
17055 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
17056 readable, skip the test.
17057
17058 2014-06-06 Yao Qi <yao@codesourcery.com>
17059
17060 * gdb.threads/staticthreads.c (thread_function): Move the line
17061 setting breakpoint on forward.
17062 * gdb.threads/staticthreads.exp: Update comments.
17063
17064 2014-06-05 Ludovic Courtès <ludo@gnu.org>
17065
17066 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
17067 "history-append! type error".
17068
17069 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
17070
17071 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
17072 erroneous dprintf expected input.
17073
17074 2014-06-04 Doug Evans <xdje42@gmail.com>
17075
17076 * gdb.guile/scm-generics.exp: Delete.
17077
17078 2014-06-04 Doug Evans <xdje42@gmail.com>
17079
17080 * gdb.guile/scm-breakpoint.exp: Update.
17081 Add tests for breakpoint registration.
17082
17083 2014-06-04 Tom Tromey <tromey@redhat.com>
17084
17085 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
17086 VLA-in-union.
17087 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
17088 inner_vla_struct, vla_union types. Initialize objects of those
17089 types and compute their sizes.
17090
17091 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
17092 Hui Zhu <hui@codesourcery.com>
17093
17094 * gdb.base/fileio.exp: Add test for shell not available as well as
17095 available.
17096 * gdb.base/fileio.c (test_system): Check for shell twice.
17097
17098 2014-06-04 Yao Qi <yao@codesourcery.com>
17099
17100 * gdb.base/auto-connect-native-target.exp: Remove redundant
17101 space from the regexp pattern.
17102
17103 2014-06-04 Yao Qi <yao@codesourcery.com>
17104
17105 * gdb.base/default.exp: Replace "child" with "native" in
17106 regexp pattern.
17107
17108 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
17109
17110 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
17111 * gdb.python/py-xmethods.exp: New tests to test xmethods.
17112 * gdb.python/py-xmethods.py: Python script supporting the
17113 new testcase and tests.
17114
17115 2014-06-03 Joel Brobecker <brobecker@adacore.com>
17116 Pedro Alves <palves@redhat.com>
17117
17118 PR breakpoints/17000
17119 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
17120 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
17121
17122 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
17123
17124 * gdb.base/subst.exp: Add tests to verify partial path matching
17125 output.
17126
17127 2014-06-03 Pedro Alves <palves@redhat.com>
17128
17129 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
17130 target that doesn't use software single-stepping.
17131
17132 2014-06-03 Pedro Alves <palves@redhat.com>
17133
17134 PR breakpoints/17000
17135 * gdb.base/sss-bp-on-user-bp-2.c: New file.
17136 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
17137
17138 2014-06-02 Doug Evans <xdje42@gmail.com>
17139
17140 * gdb.guile/scm-parameter.exp: New file.
17141
17142 2014-06-02 Doug Evans <xdje42@gmail.com>
17143
17144 * gdb.guile/scm-cmd.c: New file.
17145 * gdb.guile/scm-cmd.exp: New file.
17146
17147 2014-06-02 Doug Evans <xdje42@gmail.com>
17148
17149 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
17150 pretty-printer lookup.
17151 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
17152 (make-pp_s-printer): Call it.
17153 (make-pretty-printer-from-dict): New function.
17154 (lookup-pretty-printer-maker-from-dict): New function.
17155 (*pretty-printer*): Simplify.
17156 (make-objfile-pp_s-printer): New function.
17157 (install-objfile-pretty-printers!): New function.
17158 (make-progspace-pp_s-printer): New function.
17159 (install-progspace-pretty-printers!): New function.
17160 * gdb.guile/scm-progspace.c: New file.
17161 * gdb.guile/scm-progspace.exp: New file.
17162
17163 2014-06-02 Pedro Alves <palves@redhat.com>
17164
17165 * gdb.base/dprintf-bp-same-addr.c: New file.
17166 * gdb.base/dprintf-bp-same-addr.exp: New file.
17167
17168 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17169
17170 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
17171 * gdb.arch/powerpc-power.s: Likewise.
17172
17173 2014-06-02 Joel Brobecker <brobecker@adacore.com>
17174
17175 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
17176
17177 2014-06-01 Yao Qi <yao@codesourcery.com>
17178
17179 * gdb.base/watchpoint.exp (test_watch_location): Check null
17180 pointer can be dereferenced. If not, do the test, otherwise
17181 skip it.
17182
17183 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
17184
17185 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
17186 results.
17187 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
17188
17189 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
17190
17191 * gdb.arch/amd64-invalid-stack-middle.S: New file.
17192 * gdb.arch/amd64-invalid-stack-middle.c: New file.
17193 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
17194 * gdb.arch/amd64-invalid-stack-top.c: New file.
17195 * gdb.arch/amd64-invalid-stack-top.exp: New file.
17196
17197 2014-05-30 Pedro Alves <palves@redhat.com>
17198
17199 PR breakpoints/17000
17200 * gdb.base/sss-bp-on-user-bp.c: New file.
17201 * gdb.base/sss-bp-on-user-bp.exp: New file.
17202
17203 2014-05-30 David Blaikie <dblaikie@gmail.com>
17204
17205 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
17206 gnu_inline semantics via attribute.
17207 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
17208 source explicitly specifies the required semantics.
17209
17210 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
17211
17212 * gdb.reverse/sigall-reverse.exp: Fix a typo.
17213
17214 2014-05-29 Pedro Alves <palves@redhat.com>
17215 Tom Tromey <tromey@redhat.com>
17216
17217 * gdb.base/async-shell.exp: Don't enable target-async.
17218 * gdb.base/async.exp
17219 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
17220 parameter. Adjust.
17221 (top level): Don't test with "target-async".
17222 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
17223 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
17224 * gdb.base/inferior-died.exp: Don't enable target-async.
17225 * gdb.base/interrupt-noterm.exp: Likewise.
17226 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
17227 * gdb.mi/mi-nonstop-exit.exp: Likewise.
17228 * gdb.mi/mi-nonstop.exp: Likewise.
17229 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
17230 * gdb.mi/mi-nsintrall.exp: Likewise.
17231 * gdb.mi/mi-nsmoribund.exp: Likewise.
17232 * gdb.mi/mi-nsthrexec.exp: Likewise.
17233 * gdb.mi/mi-watch-nonstop.exp: Likewise.
17234 * gdb.multi/watchpoint-multi.exp: Adjust comment.
17235 * gdb.python/py-evsignal.exp: Don't enable target-async.
17236 * gdb.python/py-evthreads.exp: Likewise.
17237 * gdb.python/py-prompt.exp: Likewise.
17238 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
17239 * gdb.server/solib-list.exp: Don't enable target-async.
17240 * gdb.threads/thread-specific-bp.exp: Likewise.
17241 * lib/mi-support.exp: Adjust to use mi-async.
17242
17243 2014-05-29 Pedro Alves <palves@redhat.com>
17244
17245 PR gdb/13860
17246 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
17247 reason, even in sync mode.
17248
17249 2014-05-29 Pedro Alves <palves@redhat.com>
17250 Hui Zhu <hui@codesourcery.com>
17251
17252 PR PR15693
17253 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
17254 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
17255 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
17256 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
17257
17258 2014-05-28 Joel Brobecker <brobecker@adacore.com>
17259
17260 * config/monitor.exp (gdb_target_monitor): Replace use of
17261 "set remotebaud" by "set serial baud".
17262
17263 2014-05-26 Andy Wingo <wingo@igalia.com>
17264
17265 * gdb.guile/scm-breakpoint.exp:
17266 * gdb.guile/scm-gsmob.exp: Update to use plain old object
17267 properties instead of gdb-object-properties.
17268
17269 2014-05-26 Yao Qi <yao@codesourcery.com>
17270
17271 * gdb.server/no-thread-db.exp: Specify source file name
17272 explicitly when setting a breakpoint.
17273
17274 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17275
17276 * gdb.btrace/vdso.c: New.
17277 * gdb.btrace/vdso.exp: New.
17278
17279 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17280
17281 * gdb.base/gcore.exp (capture_command_output): Move ...
17282 * lib/gdb.exp (capture_command_output): ... here.
17283
17284 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17285
17286 * gdb.btrace/data.exp: Test memory access during btrace replay.
17287
17288 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
17289
17290 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
17291
17292 2014-05-21 Pedro Alves <palves@redhat.com>
17293
17294 PR gdb/13860
17295 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
17296 (top level): Test that output related to execution commands is
17297 sent to the console with CLI commands, but not with MI commands.
17298 Test that breakpoint events are always mirrored to the console.
17299 Also expect the new source line to be output after a "next" in
17300 async mode too. Make it a pass/fail test.
17301 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
17302 output.
17303 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
17304
17305 2014-05-21 Pedro Alves <palves@redhat.com>
17306
17307 * gdb.base/list.exp (build_pattern, test_list): New procedures.
17308 Use them to test variations of "list" after reaching a breakpoint.
17309 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
17310 Test "list" with listsize 10 after reaching a breakpoint.
17311 * gdb.python/python.exp (decode_line current location line
17312 number): Adjust expected line number.
17313
17314 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
17315
17316 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
17317 behavior for $args, pass it directly to "run".
17318
17319 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
17320
17321 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
17322 30000 to 65536.
17323
17324 2014-05-21 Pedro Alves <palves@redhat.com>
17325
17326 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
17327 auto-connect-native-target off".
17328 * gdb.base/auto-connect-native-target.c: New file.
17329 * gdb.base/auto-connect-native-target.exp: New file.
17330
17331 2014-05-21 Pedro Alves <palves@redhat.com>
17332
17333 * gdb.base/default.exp: Test "target native" instead of "target
17334 child".
17335
17336 2014-05-21 Mark Wielaard <mjw@redhat.com>
17337
17338 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
17339
17340 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17341
17342 Fix TLS access for -static -pthread.
17343 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
17344 <HAVE_TLS> (thread_function, main): Initialize it.
17345 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
17346 Add clean_restart.
17347 <$have_tls != "">: Check TLSVAR.
17348
17349 2014-05-21 Pedro Alves <palves@redhat.com>
17350
17351 * gdb.base/dcache-line-read-error.c: New.
17352 * gdb.base/dcache-line-read-error.exp: New.
17353
17354 2014-05-20 Pedro Alves <palves@redhat.com>
17355
17356 * gdb.base/compare-sections.c: New file.
17357 * gdb.base/compare-sections.exp: New file.
17358
17359 2014-05-20 Pedro Alves <palves@redhat.com>
17360
17361 * gdb.base/break-idempotent.c: New file.
17362 * gdb.base/break-idempotent.exp: New file.
17363
17364 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
17365
17366 * gdb.btrace/nohist.exp: New.
17367
17368 2014-05-20 Yao Qi <yao@codesourcery.com>
17369
17370 * lib/gdb.exp (gdb_init): Set timeout if test file is under
17371 gdb.reverse directory and gdb_reverse_timeout exists in board
17372 setting.
17373 * README: Document gdb_reverse_timeout.
17374
17375 2014-05-20 Yao Qi <yao@codesourcery.com>
17376
17377 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
17378 'test_file_name'. Treat args as a string instead of a list.
17379 (gdb_init): Rename argument 'args' by 'test_file_name'.
17380
17381 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
17382
17383 * gdb.arch/powerpc-power.exp: New file.
17384 * gdb.arch/powerpc-power.s: New file.
17385
17386 2014-05-16 Doug Evans <dje@google.com>
17387
17388 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
17389 * gdb.base/completion.exp: Check that all expected files exist
17390 before doing file completion.
17391
17392 2014-05-16 Doug Evans <dje@google.com>
17393
17394 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
17395 Update.
17396 (do_syscall_tests_without_xml): Update.
17397
17398 2014-05-16 Pedro Alves <palves@redhat.com>
17399
17400 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
17401 instead of "unknown output after running".
17402
17403 2014-05-16 Yao Qi <yao@codesourcery.com>
17404
17405 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
17406 file1.txt from host at the end.
17407 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
17408
17409 2014-05-15 Doug Evans <dje@google.com>
17410
17411 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
17412 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
17413 loading file. Add test for TU lookup.
17414
17415 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
17416
17417 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
17418 calling "-exec-arguments" or "set args" before running the
17419 inferior.
17420
17421 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
17422
17423 * lib/mi-support.exp (mi_expect_stop): Expect message for
17424 inferiors that exit with non-zero exit code.
17425
17426 2014-05-14 Yao Qi <yao@codesourcery.com>
17427
17428 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
17429 match absolute path on remote host.
17430 (test_file_list_exec_source_files): Remove "/" from the
17431 pattern.
17432
17433 2014-05-14 Yao Qi <yao@codesourcery.com>
17434
17435 * boards/local-remote-host-notty.exp (${board}_file): New
17436 proc.
17437
17438 2014-05-07 Kyle McMartin <kyle@redhat.com>
17439
17440 Pushed by Joel Brobecker <brobecker@adacore.com>.
17441 * gdb.arch/aarch64-atomic-inst.c: New file.
17442 * gdb.arch/aarch64-atomic-inst.exp: New file.
17443
17444 2014-05-07 Yao Qi <yao@codesourcery.com>
17445
17446 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
17447 in current context" too.
17448
17449 2014-05-05 Keith Seitz <keiths@redhat.com>
17450
17451 * gdb.linespec/ls-dollar.exp: Add test for linespec
17452 file:convenience_variable.
17453
17454 2014-05-05 Yao Qi <yao@codesourcery.com>
17455
17456 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
17457 traceframes into tfile and ctf trace files. Read data from
17458 trace file and test collected data.
17459 (gdb_collect_locals_test): Likewise.
17460 (gdb_unavailable_registers_test): Likewise.
17461 (gdb_unavailable_floats): Likewise.
17462 (gdb_collect_globals_test): Likewise.
17463 (top-level): Append "ctf" to trace_file_targets if GDB
17464 supports.
17465
17466 2014-05-05 Yao Qi <yao@codesourcery.com>
17467
17468 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
17469 code to ...
17470 (gdb_collect_args_test_1): ... it. New proc.
17471 (gdb_collect_locals_test): Move some code to ...
17472 (gdb_collect_locals_test_1): ... it. New proc.
17473 (gdb_unavailable_registers_test): Move some code to ...
17474 (gdb_unavailable_registers_test_1): ... it. New proc.
17475 (gdb_unavailable_floats): Move some code to ...
17476 (gdb_unavailable_floats_1): ... it. New proc.
17477
17478 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
17479
17480 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
17481 probes to test for bitness recognition.
17482 * gdb.arch/amd64-stap-optional-prefix.exp
17483 (test_probe_value_without_reg): New procedure.
17484 Add code to test for different kinds of bitness.
17485
17486 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
17487
17488 PR breakpoints/16889
17489 * gdb.arch/amd64-stap-optional-prefix.S: New file.
17490 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
17491
17492 2014-05-01 Pedro Alves <palves@redhat.com>
17493
17494 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
17495 gdb_file_cmd if no file is specified.
17496 * boards/native-extended-gdbserver.exp (gdb_load): Use the
17497 last_loaded_file to set the remote exec-file.
17498
17499 2014-05-01 Pedro Alves <palves@redhat.com>
17500
17501 * boards/local-remote-host.exp: New file.
17502
17503 2014-05-01 Pedro Alves <palves@redhat.com>
17504
17505 * boards/local-remote-host.exp: Rename to ...
17506 * boards/local-remote-host-notty.exp: ... this.
17507
17508 2014-04-28 Joel Brobecker <brobecker@adacore.com>
17509
17510 * gdb.ada/dyn_arrayidx: New testcase.
17511
17512 2014-04-26 Yao Qi <yao@codesourcery.com>
17513
17514 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
17515 and compute the length of function main. Save it in
17516 $main_length.
17517 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
17518 (top-level): Use gdb_compile to compile objects into
17519 executable and restart GDB. Remove invocation to
17520 prepare_for_testing.
17521
17522 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
17523 Pedro Alves <palves@redhat.com>
17524
17525 PR server/16255
17526 * gdb.multi/multi-attach.c: New file.
17527 * gdb.multi/multi-attach.exp: New file.
17528
17529 2014-04-25 Pedro Alves <palves@redhat.com>
17530
17531 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
17532 user.
17533 (top level): Test that "set remote conditional-breakpoints-packet
17534 off" works as intended.
17535 * gdb.base/dprintf.exp: Test that "set remote
17536 breakpoint-commands-packet off" works as intended.
17537 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
17538 New function.
17539 (top level): Call it.
17540 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
17541 remote fast-tracepoints-packet off" works as intended.
17542 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
17543 * lib/gdb.exp (gdb_is_target_remote): ... here.
17544
17545 2014-04-24 David Blaikie <dblaikie@gmail.com>
17546
17547 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
17548 ensure clang would not discard them.
17549 * gdb.base/gdbvars.c: Ditto.
17550 * gdb.base/memattr.c: Ditto.
17551 * gdb.base/whatis.c: Ditto.
17552 * gdb.python/py-prettyprint.c: Ditto.
17553 * gdb.trace/actions.c: Ditto.
17554 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
17555 ensure clang would not discard it.
17556
17557 2014-04-24 David Blaikie <dblaikie@gmail.com>
17558
17559 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
17560 clang to emit the full definition of type required by the test
17561 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
17562
17563 2014-04-24 David Blaikie <dblaikie@gmail.com>
17564
17565 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
17566 coax Clang into emitting the definition of the type.
17567 * gdb.cp/pr10728-x.h (y): Ditto.
17568 * gdb.cp/pr10728-y.cc (y): Ditto.
17569
17570 2014-04-24 David Blaikie <dblaikie@gmail.com>
17571
17572 * gdb.base/label.exp: XFAIL label related tests under Clang.
17573 * gdb.cp/cplabel.exp: Ditto.
17574 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
17575 under Clang those using labels.
17576
17577 2014-04-25 Yao Qi <yao@codesourcery.com>
17578
17579 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
17580 double_label.
17581 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
17582 partial_label and double_label.
17583
17584 2014-04-24 David Blaikie <dblaikie@gmail.com>
17585
17586 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
17587
17588 2014-04-24 David Blaikie <dblaikie@gmail.com>
17589
17590 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
17591 of the function to work across GCC and Clang.
17592 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
17593 pointer types (const void ** const V void **).
17594
17595 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
17596 Walfred Tedeschi <walfred.tedeschi@intel.com>
17597
17598 * Makefile.in (EXECUTABLES): Added i386-avx512.
17599 * gdb.arch/i386-avx512.c: New file.
17600 * gdb.arch/i386-avx512.exp: Likewise.
17601
17602 2014-04-23 Keith Seitz <keiths@redhat.com>
17603
17604 * lib/mi-support.exp (mi_list_breakpoints): Delete.
17605 (mi_make_breakpoint_table): New procedure.
17606 (mi_create_breakpoint): Use mi_make_breakpoint
17607 and return the result.
17608 (mi_make_breakpoint): New procedure.
17609 (mi_build_kv_pairs): New procedure.
17610
17611 * gdb.mi/mi-break.exp: Remove unused globals,
17612 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
17613 All callers updated.
17614 * gdb.mi/mi-dprintf.exp: Use variable to track command
17615 number.
17616 Update all callers of mi_create_breakpoint and use
17617 mi_make_breakpoint_table.
17618 Remove any unused global variables.
17619 * gdb.mi/mi-nonstop.exp: Likewise.
17620 * gdb.mi/mi-nsintrall.exp: Likewise.
17621 * gdb.mi/mi-nsmoribund.exp: Likewise.
17622 * gdb.mi/mi-nsthrexec.exp: Likewise.
17623 * gdb.mi/mi-reverse.exp: Likewise.
17624 * gdb.mi/mi-simplerun.exp: Likewise.
17625 * gdb.mi/mi-stepn.exp: Likewise.
17626 * gdb.mi/mi-syn-frame.exp: Likewise.
17627 * gdb.mi/mi-until.exp: Likewise.
17628 * gdb.mi/mi-var-cp.exp: Likewise.
17629 * gdb.mi/mi-var-display.exp: Likewise.
17630 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
17631 * gdb.mi/mi2-var-child.exp: Likewise.
17632 * gdb.mi/mi-vla-c99.exp: Likewise.
17633 * lib/mi-support.exp: Likewise.
17634
17635 From Ian Lance Taylor <iant@cygnus.com>:
17636 * lib/gdb.exp (parse_args): New procedure.
17637
17638 2014-04-23 Pedro Alves <palves@redhat.com>
17639
17640 * gdb.base/break-unload-file.c: New file.
17641 * gdb.base/break-unload-file.exp: New file.
17642 * gdb.base/sym-file-lib.c (baz): New function.
17643 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
17644 field.
17645 (load): Store the segment's mapped size.
17646 (unload): New function.
17647 (unload_shlib): New function.
17648 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
17649 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
17650 set a breakpoint at baz, and call it.
17651 * gdb.base/sym-file.exp: New tests for stale breakpoint
17652 instructions.
17653
17654 2014-04-23 Pedro Alves <palves@redhat.com>
17655
17656 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
17657 * gdb.base/hbreak-in-shr-unsupported.c: New file.
17658 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
17659 * gdb.base/hbreak-unmapped.c: New file.
17660 * gdb.base/hbreak-unmapped.exp: New file.
17661 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
17662 * lib/gdb.exp (gdb_is_target_remote): ... here.
17663
17664 2014-04-22 Pedro Alves <palves@redhat.com>
17665
17666 * gdb.base/consecutive-step-over.c: New file.
17667 * gdb.base/consecutive-step-over.exp: New file.
17668
17669 2014-04-22 Pedro Alves <palves@redhat.com>
17670
17671 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
17672 instead of send_gdb/gdb_expect.
17673
17674 2014-04-22 Yao Qi <yao@codesourcery.com>
17675
17676 * lib/trace-support.exp (generate_tracefile): New procedure.
17677 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
17678 return 0.
17679 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
17680 if generate_tracefile returns 1.
17681
17682 2014-04-18 Tom Tromey <palves@redhat.com>
17683 Pedro alves <tromey@redhat.com>
17684
17685 PR backtrace/15558
17686 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
17687 with a backtrace limit.
17688 * gdb.python/py-frame-inline.exp: Test running to an inline
17689 function with a backtrace limit, and printing the newest frame.
17690 * gdb.python/py-frame-inline.c (main): Call f.
17691
17692 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
17693
17694 * gdb.java/jnpe.exp: Drop srcdir from untested path.
17695
17696 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
17697
17698 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
17699 Drop prefix from unsupported source file path.
17700
17701 2014-04-17 Yao Qi <yao@codesourcery.com>
17702
17703 * lib/gdb.exp (with_target_charset): New proc.
17704 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
17705 with_target_charset.
17706 (test_print_strings): Likewise.
17707 (test_repeat_bytes): Likewise.
17708 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
17709 for some tests.
17710
17711 2014-04-16 Keith Seitz <keiths@redhat.com>
17712
17713 PR gdb/15827
17714 * gdb.dwarf2/corrupt.c: New file.
17715 * gdb.dwarf2/corrupt.exp: New file.
17716
17717 2014-04-16 Keith Seitz <keiths@redhat.com>
17718
17719 PR c++/16597
17720 * gdb.cp/namelessclass.cc: New file.
17721 * gdb.cp/namelessclass.exp: New file.
17722 * gdb.cp/namelessclass.S: New file.
17723
17724 2014-04-16 Doug Evans <dje@google.com>
17725
17726 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
17727 Add comment.
17728 (gdbserver_default_get_comm_port): New function.
17729 (gdbserver_start): Check if board file provided
17730 "gdbserver,get_comm_port" and use it if so.
17731 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
17732 (gdb,socketport): Set to "stdio".
17733 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
17734 (stdio_gdbserver_template): Delete.
17735 (${board}_get_remote_address): Update.
17736 (${board}_build_remote_cmd): Delete.
17737 (${board}_get_comm_port): New function.
17738 (${board}_spawn): Update.
17739 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
17740 Delete.
17741 (${board}_get_remote_address): Update.
17742 (${board}_get_comm_port): New function.
17743
17744 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
17745
17746 * gdb.base/memattr.exp: Improve regexps to handle memory regions
17747 appearing in any order.
17748
17749 2014-04-15 Doug Evans <dje@google.com>
17750
17751 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
17752 uninitialized value of "description".
17753
17754 2014-04-15 Keith Seitz <keiths@redhat.com>
17755
17756 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
17757 Remove unused globals.
17758 (test_running_the_program): Likewise.
17759 (test_controlled_execution): Likewise.
17760 (test_controlling_breakpoints): Likewise.
17761 (test_program_termination): Likewise.
17762
17763 2014-04-15 Keith Seitz <keiths@redhat.com>
17764
17765 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
17766 unused globals.
17767 (test_rbreak_creation_and_listing): Likewise.
17768 (test_ignore_count): Likewise.
17769 (test_error): Likewise.
17770
17771 2014-04-15 Pedro Alves <palves@redhat.com>
17772
17773 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
17774 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
17775 sym-file-loader.c.
17776 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
17777 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
17778 to sym-file-loader.c.
17779 (struct library): Forward declare.
17780 (load_shlib, lookup_function): Change prototypes.
17781 (find_shstrtab, find_strtab, find_shdr, find_symtab)
17782 (translate_offset): Remove declarations.
17783 (get_text_addr): New declaration.
17784 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
17785 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
17786 sym-file-loader.h.
17787 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
17788 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
17789 here from sym-file-loader.h.
17790 (struct library): New structure.
17791 (load_shlib, lookup_function): Change prototypes and adjust to
17792 work with a struct library.
17793 (find_shstrtab, find_strtab, find_shdr, find_symtab)
17794 (translate_offset): Make static.
17795 (get_text_addr): New function.
17796 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
17797
17798 2014-04-15 Pedro Alves <palves@redhat.com>
17799
17800 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
17801
17802 2014-04-15 Pedro Alves <palves@redhat.com>
17803
17804 * gdb.base/sym-file-loader.c: Include <limits.h>.
17805 (SELF_LINK): New define.
17806 (get_origin): New function.
17807 (load_shlib): Use it.
17808 * gdb.base/sym-file.exp: Don't early return if the target is
17809 remote. Use runto_main, and issue fail is that fails. Use
17810 gdb_load_shlibs.
17811 (shlib_name): Delete.
17812 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
17813
17814 2014-04-15 Pedro Alves <palves@redhat.com>
17815
17816 * gdb.base/sym-file.exp: Remove regex characters from test
17817 message. Don't refer to breakpoint numbers in test messages.
17818
17819 2014-04-14 Keith Seitz <keiths@redhat.com>
17820
17821 PR c++/16253
17822 * gdb.cp/var-tag.cc: New file.
17823 * gdb.cp/var-tag.exp: New file.
17824 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
17825 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
17826 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
17827 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
17828
17829 2014-04-14 Tom Tromey <tromey@redhat.com>
17830
17831 * gdb.cp/classes.exp (test_enums): Handle underlying type.
17832 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
17833 type.
17834 * gdb.cp/enum-class.exp: New file.
17835 * gdb.cp/enum-class.cc: New file.
17836
17837 2014-04-14 Tom Tromey <tromey@redhat.com>
17838
17839 * gdb.dwarf2/enum-type.exp: New file.
17840
17841 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17842
17843 * gdb.mi/mi-vla-c99.exp: New file.
17844 * gdb.mi/vla.c: New file.
17845
17846 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17847
17848 * gdb.base/vla-datatypes.c: New file.
17849 * gdb.base/vla-datatypes.exp: New file.
17850
17851 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17852
17853 * gdb.base/vla-ptr.c: New file.
17854 * gdb.base/vla-ptr.exp: New file.
17855
17856 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17857
17858 * gdb.dwarf2/count.exp: New file.
17859
17860 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17861
17862 * gdb.base/vla-sideeffect.c: New file.
17863 * gdb.base/vla-sideeffect.exp: New file.
17864
17865 2014-04-14 David Blaikie <dblaikie@gmail.com>
17866
17867 * gdb.mi/non-stop.c: Add return value for non-void function return
17868 statement.
17869 * gdb.threads/staticthreads.c: Ditto.
17870
17871 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
17872 Doug Evans <xdje42@gmail.com>
17873
17874 * gdb.guile/scm-value.c: Improve test case.
17875 * gdb.guile/scm-value.exp: Add new test.
17876
17877 2014-04-11 David Blaikie <dblaikie@gmail.com>
17878
17879 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
17880 override Clang's default.
17881
17882 2014-04-11 Joel Brobecker <brobecker@adacore.com>
17883
17884 Revert the following changes (regressions):
17885
17886 * gdb.base/vla-sideeffect.c: New file.
17887 * gdb.base/vla-sideeffect.exp: New file.
17888
17889 * gdb.dwarf2/count.exp: New file.
17890
17891 * gdb.base/vla-multi.c: New file.
17892 * gdb.base/vla-multi.exp: New file.
17893
17894 * gdb.base/vla-ptr.c: New file.
17895 * gdb.base/vla-ptr.exp: New file.
17896
17897 * gdb.base/vla-datatypes.c: New file.
17898 * gdb.base/vla-datatypes.exp: New file.
17899
17900 * gdb.mi/mi-vla-c99.exp: New file.
17901 * gdb.mi/vla.c: New file.
17902
17903 2014-04-11 Keith Seitz <keiths@redhat.com>
17904
17905 PR c++/16675
17906 * gdb.cp/cpsizeof.exp: New file.
17907 * gdb.cp/cpsizeof.cc: New file.
17908
17909 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17910
17911 * gdb.mi/mi-vla-c99.exp: New file.
17912 * gdb.mi/vla.c: New file.
17913
17914 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17915
17916 * gdb.base/vla-datatypes.c: New file.
17917 * gdb.base/vla-datatypes.exp: New file.
17918
17919 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17920
17921 * gdb.base/vla-ptr.c: New file.
17922 * gdb.base/vla-ptr.exp: New file.
17923
17924 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17925
17926 * gdb.base/vla-multi.c: New file.
17927 * gdb.base/vla-multi.exp: New file.
17928
17929 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17930
17931 * gdb.dwarf2/count.exp: New file.
17932
17933 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17934
17935 * gdb.base/vla-sideeffect.c: New file.
17936 * gdb.base/vla-sideeffect.exp: New file.
17937
17938 2014-04-11 Yao Qi <yao@codesourcery.com>
17939
17940 * gdb.base/completion.exp: Check file exists before running tests
17941 on file completion.
17942
17943 2014-04-10 Pedro Alves <palves@redhat.com>
17944
17945 * gdb.base/cond-eval-mode.c: New file.
17946 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
17947 prepare_for_testing to build the new file. Check result of
17948 runto_main.
17949 (test_break, test_watch): New procedures.
17950 (top level): Use them.
17951
17952 2014-04-08 Pierre Muller <muller@sourceware.org>
17953
17954 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
17955 Ctrl-V use for mingw hosts.
17956
17957 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
17958
17959 * gdb.python/py-value.c: Improve test case.
17960 * gdb.python/py-value.exp: Add new test.
17961
17962 2014-04-07 David Blaikie <dblaikie@gmail.com>
17963
17964 * lib/compiler.c: Identify the clang compiler.
17965 * lib/compiler.cc: Ditto.
17966
17967 2014-04-03 Yao Qi <yao@codesourcery.com>
17968
17969 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
17970
17971 2014-04-01 Anton Blanchard <anton@samba.org>
17972
17973 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
17974 messages unique.
17975
17976 2014-04-01 Anton Blanchard <anton@samba.org>
17977
17978 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
17979 prepare_for_testing.
17980
17981 2014-04-01 Anton Blanchard <anton@samba.org>
17982
17983 * gdb.arch/ppc64-atomic-inst.c: Remove.
17984 * gdb.arch/ppc64-atomic-inst.S: New file.
17985 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
17986
17987 2014-03-31 Doug Evans <dje@google.com>
17988
17989 * gdb.base/print-symbol-loading-lib.c: New file.
17990 * gdb.base/print-symbol-loading-main.c: New file.
17991 * gdb.base/print-symbol-loading.exp: New file.
17992
17993 2014-03-31 Yao Qi <yao@codesourcery.com>
17994
17995 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
17996
17997 2014-03-28 Joel Brobecker <brobecker@adacore.com>
17998
17999 * gdb.ada/mi_dyn_arr: New testcase.
18000
18001 2014-03-27 Doug Evans <dje@google.com>
18002
18003 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
18004
18005 2014-03-27 Yao Qi <yao@codesourcery.com>
18006
18007 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
18008 if target is nios2-*-*.
18009
18010 2014-03-26 Yao Qi <yao@codesourcery.com>
18011
18012 * lib/gdb.exp (readline_is_used): New proc.
18013 * gdb.base/completion.exp: Move tests on command complete up.
18014 Skip the rest of tests if readline is not used.
18015 * gdb.ada/complete.exp: Skp the test if readline is not
18016 used.
18017 * gdb.base/filesym.exp: Likewise.
18018 * gdb.base/macscp.exp: Likewise.
18019 * gdb.base/readline-ask.exp: Likewise.
18020 * gdb.base/readline.exp: Likewise.
18021 * gdb.python/py-cmd.exp: Likewise.
18022 * gdb.trace/tfile.exp: Likewise.
18023
18024 2014-03-26 Yao Qi <yao@codesourcery.com>
18025
18026 * gdb.base/macscp.exp: Fix code format issues.
18027
18028 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
18029
18030 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
18031 * gdb.asm/powerpc64le.inc: New file.
18032
18033 2014-03-25 Pedro Alves <palves@redhat.com>
18034 Doug Evans <dje@google.com>
18035
18036 * gdb.base/source-execution.c: New file.
18037 * gdb.base/source-execution.exp: New file.
18038 * gdb.base/source-execution.gdb: New file.
18039
18040 2014-03-24 Doug Evans <dje@google.com>
18041
18042 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
18043 using fission.
18044
18045 2014-03-24 Hui Zhu <hui@codesourcery.com>
18046 Pedro Alves <palves@redhat.com>
18047
18048 PR breakpoints/16101
18049 * gdb.base/dprintf.exp: Use unsupported rather than changing the
18050 test pass/fail messages. Detect missing support for dprintf when
18051 breakpoints are actually inserted.
18052 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
18053 breakpoints are actually inserted.
18054 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
18055 fails.
18056
18057 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
18058
18059 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
18060
18061 2014-03-22 Doug Evans <xdje42@gmail.com>
18062
18063 * gdb.python/python.exp (python not supported): Verify multi-line
18064 python command issues an error.
18065 * gdb.guile/guile.exp (guile not supported): Verify multi-line
18066 guile command issues an error.
18067
18068 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
18069
18070 * gdb.threads/thread-specific.exp: Handle the lack of usable
18071 $this_breakpoint and $this_thread.
18072
18073 2014-03-21 Hui Zhu <hui@codesourcery.com>
18074
18075 * gdb.base/attach.exp (do_command_attach_tests): New.
18076
18077 2014-03-20 Tom Tromey <tromey@redhat.com>
18078 Pedro Alves <palves@redhat.com>
18079
18080 PR cli/15718
18081 * gdb.base/condbreak-call-false.c: New file.
18082 * gdb.base/condbreak-call-false.exp: New file.
18083
18084 2014-03-20 Pedro Alves <palves@redhat.com>
18085
18086 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
18087 Delete.
18088 (block_signals, unblock_signals): Delete.
18089 (child_function_2, main): Remove references to deleted variable
18090 and functions.
18091
18092 2014-03-20 Pedro Alves <palves@redhat.com>
18093
18094 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
18095 Use pthread_kill to signal thread 2.
18096 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18097 Adjust to make the test send itself a signal rather than using the
18098 host's "kill" command.
18099
18100 2014-03-20 Pedro Alves <palves@redhat.com>
18101
18102 * gdb.threads/multiple-step-overs.c: New file.
18103 * gdb.threads/multiple-step-overs.exp: New file.
18104 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18105 Adjust expected infrun debug output.
18106
18107 2014-03-20 Pedro Alves <palves@redhat.com>
18108
18109 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
18110 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
18111
18112 2014-03-20 Pedro Alves <palves@redhat.com>
18113
18114 PR breakpoints/7143
18115 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
18116 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
18117 of gdb_test_multiple.
18118 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
18119 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
18120
18121 2014-03-20 Pedro Alves <palves@redhat.com>
18122
18123 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
18124 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
18125
18126 2014-03-19 Pedro Alves <palves@redhat.com>
18127
18128 * gdb.base/async.exp: Remove early return.
18129
18130 2014-03-19 Pedro Alves <palves@redhat.com>
18131
18132 * gdb.base/async.exp (step& tests): Pass explicit test messages.
18133
18134 2014-03-19 Pedro Alves <palves@redhat.com>
18135
18136 * gdb.base/async.exp (test_background): Expect \r\n after
18137 "completed." in the fail pattern.
18138
18139 2014-03-19 Pedro Alves <palves@redhat.com>
18140
18141 * gdb.base/async.exp (test_background): New procedure.
18142 Use it for all background execution command tests.
18143
18144 2014-03-19 Pedro Alves <palves@redhat.com>
18145
18146 * gdb.base/async.exp: Use prepare_for_testing.
18147
18148 2014-03-19 Pedro Alves <palves@redhat.com>
18149
18150 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
18151 the same line.
18152
18153 2014-03-19 Pedro Alves <palves@redhat.com>
18154
18155 * gdb.base/async.c (main): Add "jump here" and "until here" line
18156 marker comments.
18157 * gdb.base/async.exp (jump_here): New global.
18158 (jump& test): Use it.
18159 (until_here): New global.
18160 (until& test): Use it.
18161
18162 2014-03-19 Pedro Alves <palves@redhat.com>
18163
18164 * gdb.base/async.exp: Don't frob gdb_protocol.
18165
18166 2014-03-18 Doug Evans <xdje42@gmail.com>
18167
18168 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
18169 Fix spelling of exec-done-display.
18170
18171 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
18172
18173 PR gdb/15358
18174 * gdb.base/gdb-sigterm.c: New file.
18175 * gdb.base/gdb-sigterm.exp: New file.
18176
18177 2014-03-18 Pedro Alves <palves@redhat.com>
18178
18179 PR gdb/13860
18180 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
18181 * lib/mi-support.exp (mi_expect_stop): Add special handling for
18182 solib-event.
18183
18184 2014-03-17 Joel Brobecker <brobecker@adacore.com>
18185
18186 * gdb.ada/pckd_arr_ren: New testcase.
18187
18188 2014-03-13 Doug Evans <xdje42@gmail.com>
18189
18190 PR guile/16612
18191 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
18192 collect after discarding symbols.
18193
18194 2014-03-13 Ludovic Courtès <ludo@gnu.org>
18195 Doug Evans <xdje42@gmail.com>
18196
18197 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
18198 to history survives a gc.
18199
18200 2014-03-13 Pedro Alves <palves@redhat.com>
18201
18202 * gdb.base/default.exp: Don't test "target procfs".
18203
18204 2014-03-13 Pedro Alves <palves@redhat.com>
18205
18206 * gdb.base/default.exp: Update "target child" and "target procfs"
18207 tests to not expect "Unix".
18208
18209 2014-03-12 Tom Tromey <tromey@redhat.com>
18210
18211 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
18212 New procs. Add target-async tests.
18213 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
18214 Add target-async tests.
18215
18216 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18217
18218 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
18219 'func_start' and 'func_end' for the beginning and end of the
18220 function code, respectively.
18221 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
18222 'func_end' instead of 'func' and 'main'.
18223
18224 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18225
18226 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
18227 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
18228 generate the debug info assembler source.
18229
18230 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18231
18232 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
18233 * gdb.dwarf2/arr-subrange.exp: Likewise.
18234 * gdb.dwarf2/dwz.exp: Likewise.
18235 * gdb.dwarf2/method-ptr.exp: Likewise.
18236 * gdb.dwarf2/missing-sig-type.exp: Likewise.
18237 * gdb.dwarf2/subrange.exp: Likewise.
18238 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
18239 * gdb.dwarf2/implptrpiece.exp: Likewise.
18240 * gdb.dwarf2/nostaticblock.exp: Likewise.
18241
18242 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18243
18244 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
18245 directory to absolute path name arguments.
18246
18247 2014-03-10 Joel Brobecker <brobecker@adacore.com>
18248
18249 * gdb.ada/tagged_access: New testcase.
18250
18251 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
18252
18253 * gdb.btrace/data.exp: Update expected output.
18254
18255 2014-03-06 Yao Qi <yao@codesourcery.com>
18256
18257 * gdb.trace/pr16508.exp: New file.
18258
18259 2014-03-05 Pedro Alves <palves@redhat.com>
18260
18261 PR gdb/16575
18262 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
18263 procedure.
18264 (top level): Adjust to use it. Add tests that exercise breakpoint
18265 interaction with the code-cache.
18266
18267 2014-02-26 Ludovic Courtès <ludo@gnu.org>
18268
18269 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
18270 test for 'history-append!'.
18271
18272 2014-02-26 Joel Brobecker <brobecker@adacore.com>
18273
18274 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
18275 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
18276 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
18277 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
18278 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
18279 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
18280
18281 2014-02-26 Joel Brobecker <brobecker@adacore.com>
18282
18283 * testsuite/gdb.python/py-pp-re-notag.c: New file.
18284 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
18285 * testsuite/gdb.python/py-pp-re-notag.p: New file.
18286
18287 2014-02-26 Joel Brobecker <brobecker@adacore.com>
18288
18289 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
18290
18291 2014-02-26 Joel Brobecker <brobecker@adacore.com>
18292
18293 * gdb.dwarf2/arr-stride.c: New file.
18294 * gdb.dwarf2/arr-stride.exp: New file.
18295
18296 2014-02-26 Pedro Alves <palves@redhat.com>
18297
18298 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
18299 that won't ever trigger. Make sure that GDB reports the correct
18300 breakpoint that caused the stop.
18301
18302 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18303
18304 PR gdb/16626
18305 * gdb.base/auto-load-script: New file.
18306 * gdb.base/auto-load.c: New file.
18307 * gdb.base/auto-load.exp: New file.
18308
18309 PR gdb/16626
18310 * gdb.base/auto-load.exp: Fix out-of-srctree run.
18311
18312 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18313
18314 Fix dw2-icycle.exp -fsanitize=address GDB crash.
18315 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
18316
18317 2014-02-24 Doug Evans <dje@google.com>
18318
18319 * lib/gdb.exp (run_on_host): Log error output if program fails.
18320
18321 2014-02-21 Pedro Alves <palves@redhat.com>
18322
18323 * gdb.threads/step-after-sr-lock.c: Rename to ...
18324 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
18325 * gdb.threads/step-after-sr-lock.exp: Rename to ...
18326 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18327 ... this.
18328
18329 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
18330
18331 PR tdep/16397
18332 * gdb.arch/amd64-stap-special-operands.exp: New file.
18333 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
18334 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
18335 * gdb.arch/amd64-stap-triplet.S: Likewise.
18336 * gdb.arch/amd64-stap-triplet.c: Likewise.
18337
18338 2014-02-20 Joel Brobecker <brobecker@adacore.com>
18339
18340 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
18341 in .section pseudo-op.
18342
18343 2014-02-20 lin zuojian <manjian2006@gmail.com>
18344 Joel Brobecker <brobecker@adacore.com>
18345 Doug Evans <xdje42@gmail.com>
18346
18347 PR symtab/16581
18348 * gdb.dwarf2/dw2-icycle.S: New file.
18349 * gdb.dwarf2/dw2-icycle.c: New file.
18350 * gdb.dwarf2/dw2-icycle.exp: New file.
18351
18352 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
18353
18354 * gdb.python/py-value-cc.cc: Improve test case to enable testing
18355 operations on gdb.Value objects.
18356 * gdb.python/py-value-cc.exp: Add new test to test operations on
18357 gdb.Value objects.
18358
18359 2014-02-18 Doug Evans <dje@google.com>
18360
18361 * Makefile.in (TESTS): New variable.
18362 (expanded_tests, expanded_tests_or_none): New variables
18363 (check-single): Pass $(expanded_tests_or_none) to runtest.
18364 (check-parallel): Only run tests in $(TESTS) if non-empty.
18365 (check/no-matching-tests-found): New rule.
18366 * README: Document TESTS makefile variable.
18367
18368 2014-02-18 Doug Evans <dje@google.com>
18369
18370 * Makefile.in (check-parallel): rm -rf outputs temp.
18371
18372 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18373
18374 Fix "ERROR: no fileid for" in the testsuite.
18375 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
18376
18377 2014-02-12 Doug Evans <dje@google.com>
18378
18379 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
18380 (MISCELLANEOUS): New variable.
18381 (clean): rm -rf $(MISCELLANEOUS).
18382 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
18383 dwp live in the same directory as symlinks, with each symlink pointed
18384 to a differently named file in a different directory.
18385
18386 2014-02-11 Doug Evans <dje@google.com>
18387
18388 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
18389 of Tcl file commands.
18390
18391 2014-02-10 Mark Kettenis <kettenis@gnu.org>
18392
18393 * gdb.threads/step-after-sr-lock.exp: Avoid executing
18394 "kill -SIGUSR1 -1".
18395
18396 2014-02-10 Joel Brobecker <brobecker@adacore.com>
18397
18398 * gdb.ada/tick_length_array_enum_idx: New testcase.
18399
18400 2014-02-10 Doug Evans <xdje42@gmail.com>
18401
18402 * configure.ac (AC_OUTPUT): Add gdb.guile.
18403 * configure: Regenerate.
18404 * lib/gdb-guile.exp: New file.
18405 * lib/gdb.exp (get_target_charset): New function.
18406 * gdb.base/help.exp: Update expected output from "apropos apropos".
18407 * gdb.guile/Makefile.in: New file.
18408 * gdb.guile/guile.exp: New file.
18409 * gdb.guile/scm-arch.c: New file.
18410 * gdb.guile/scm-arch.exp: New file.
18411 * gdb.guile/scm-block.c: New file.
18412 * gdb.guile/scm-block.exp: New file.
18413 * gdb.guile/scm-breakpoint.c: New file.
18414 * gdb.guile/scm-breakpoint.exp: New file.
18415 * gdb.guile/scm-disasm.c: New file.
18416 * gdb.guile/scm-disasm.exp: New file.
18417 * gdb.guile/scm-equal.c: New file.
18418 * gdb.guile/scm-equal.exp: New file.
18419 * gdb.guile/scm-error.exp: New file.
18420 * gdb.guile/scm-error.scm: New file.
18421 * gdb.guile/scm-frame-args.c: New file.
18422 * gdb.guile/scm-frame-args.exp: New file.
18423 * gdb.guile/scm-frame-args.scm: New file.
18424 * gdb.guile/scm-frame-inline.c: New file.
18425 * gdb.guile/scm-frame-inline.exp: New file.
18426 * gdb.guile/scm-frame.c: New file.
18427 * gdb.guile/scm-frame.exp: New file.
18428 * gdb.guile/scm-generics.exp: New file.
18429 * gdb.guile/scm-gsmob.exp: New file.
18430 * gdb.guile/scm-iterator.c: New file.
18431 * gdb.guile/scm-iterator.exp: New file.
18432 * gdb.guile/scm-math.c: New file.
18433 * gdb.guile/scm-math.exp: New file.
18434 * gdb.guile/scm-objfile-script-gdb.in: New file.
18435 * gdb.guile/scm-objfile-script.c: New file.
18436 * gdb.guile/scm-objfile-script.exp: New file.
18437 * gdb.guile/scm-objfile.c: New file.
18438 * gdb.guile/scm-objfile.exp: New file.
18439 * gdb.guile/scm-ports.exp: New file.
18440 * gdb.guile/scm-pretty-print.c: New file.
18441 * gdb.guile/scm-pretty-print.exp: New file.
18442 * gdb.guile/scm-pretty-print.scm: New file.
18443 * gdb.guile/scm-section-script.c: New file.
18444 * gdb.guile/scm-section-script.exp: New file.
18445 * gdb.guile/scm-section-script.scm: New file.
18446 * gdb.guile/scm-symbol.c: New file.
18447 * gdb.guile/scm-symbol.exp: New file.
18448 * gdb.guile/scm-symtab-2.c: New file.
18449 * gdb.guile/scm-symtab.c: New file.
18450 * gdb.guile/scm-symtab.exp: New file.
18451 * gdb.guile/scm-type.c: New file.
18452 * gdb.guile/scm-type.exp: New file.
18453 * gdb.guile/scm-value-cc.cc: New file.
18454 * gdb.guile/scm-value-cc.exp: New file.
18455 * gdb.guile/scm-value.c: New file.
18456 * gdb.guile/scm-value.exp: New file.
18457 * gdb.guile/source2.scm: New file.
18458 * gdb.guile/types-module.cc: New file.
18459 * gdb.guile/types-module.exp: New file.
18460
18461 2014-02-10 Yao Qi <yao@codesourcery.com>
18462
18463 PR testsuite/16543
18464 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
18465 * configure: Regenerated.
18466 * Makefile.in: New file.
18467
18468 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
18469
18470 * gdb.python/py-framefilter.exp: Fix typo.
18471
18472 2014-02-08 Yao Qi <yao@codesourcery.com>
18473
18474 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
18475 that no =breakpoint-modified is emitted when breakpoints are
18476 modified through MI commands.
18477
18478 2014-02-07 Pedro Alves <pedro@codesourcery.com>
18479 Pedro Alves <palves@redhat.com>
18480
18481 * gdb.threads/step-after-sr-lock.c: New file.
18482 * gdb.threads/step-after-sr-lock.exp: New file.
18483
18484 2014-02-07 Pedro Alves <palves@redhat.com>
18485
18486 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
18487
18488 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
18489
18490 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
18491 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
18492
18493 2014-02-06 Doug Evans <xdje42@gmail.com>
18494
18495 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
18496 output.
18497
18498 * gdb.gdb/python-interrupts.exp: New file.
18499
18500 2014-02-05 Yao Qi <yao@codesourcery.com>
18501
18502 * gdb.trace/report.exp (use_collected_data): Test the output
18503 of "info threads" and "info inferiors".
18504
18505 2014-02-05 Yao Qi <yao@codesourcery.com>
18506
18507 Revert this patch:
18508
18509 2013-05-24 Yao Qi <yao@codesourcery.com>
18510
18511 * gdb.trace/tfile.exp: Test inferior and thread.
18512
18513 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18514
18515 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
18516 on a function.
18517 * gdb.base/step-bt.c: Call hello via function pointer to make
18518 sure its first instruction is executed on powerpc64le-linux.
18519
18520 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18521
18522 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
18523
18524 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18525
18526 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
18527 of the test patterns for use on little-endian systems.
18528
18529 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18530
18531 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
18532 (decimal_vector): Fix for little-endian.
18533
18534 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
18535
18536 * gdb.arch/sparc-sysstep.exp: New file.
18537 * gdb.arch/sparc-sysstep.c: Likewise.
18538
18539 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
18540
18541 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18542
18543 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
18544
18545 2014-01-23 Tom Tromey <tromey@redhat.com>
18546
18547 * gdb.ada/array_char_idx: New testcase.
18548
18549 2014-01-23 Tom Tromey <tromey@redhat.com>
18550
18551 PR python/16487:
18552 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
18553 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
18554 classes.
18555
18556 2014-01-23 Tom Tromey <tromey@redhat.com>
18557
18558 PR python/16491:
18559 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
18560 string from an inferior frame.
18561 * gdb.python/py-framefilter-mi.exp: Update.
18562
18563 2014-01-22 Doug Evans <dje@google.com>
18564
18565 * gdb.server/server-mon.exp: Add tests for "set debug-format".
18566
18567 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18568
18569 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
18570
18571 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18572
18573 * gdb.trace/entry-values.exp: Remove excess space character from
18574 regex patterns. Handle s390 call instruction.
18575
18576 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18577
18578 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
18579 define "*_start" label. Make "name" static.
18580 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
18581 ${name} by references to ${name}_start.
18582
18583 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18584
18585 * gdb.base/info-macros.exp: Remove "debug" from the compile
18586 options.
18587
18588 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18589
18590 * gdb.dlang/demangle.exp: New file.
18591
18592 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18593
18594 * gdb.dlang/primitive-types.exp: New file.
18595
18596 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18597
18598 * configure.ac: Create gdb.dlang/Makefile.
18599 * configure: Regenerate.
18600 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
18601 * gdb.dlang/Makefile.in: New file.
18602 * lib/d-support.exp: New file.
18603 * lib/gdb.exp (skip_d_tests): New proc.
18604
18605 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18606
18607 * gdb.btrace/delta.exp: Check reverse stepi.
18608 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
18609 * gdb.btrace/finish.exp: New.
18610 * gdb.btrace/next.exp: New.
18611 * gdb.btrace/nexti.exp: New.
18612 * gdb.btrace/record_goto.c: Add comments.
18613 * gdb.btrace/step.exp: New.
18614 * gdb.btrace/stepi.exp: New.
18615 * gdb.btrace/multi-thread-step.c: New.
18616 * gdb.btrace/multi-thread-step.exp: New.
18617 * gdb.btrace/rn-dl-bind.c: New.
18618 * gdb.btrace/rn-dl-bind.exp: New.
18619 * gdb.btrace/data.c: New.
18620 * gdb.btrace/data.exp: New.
18621 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
18622
18623 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18624
18625 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
18626 * gdb.btrace/exception.exp: Update.
18627 * gdb.btrace/instruction_history.exp: Update.
18628 * gdb.btrace/record_goto.exp: Update.
18629 * gdb.btrace/tailcall.exp: Update.
18630 * gdb.btrace/unknown_functions.exp: Update.
18631 * gdb.btrace/delta.exp: New.
18632
18633 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18634
18635 * gdb.btrace/record_goto.exp: Add backtrace test.
18636 * gdb.btrace/tailcall.exp: Add backtrace test.
18637
18638 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18639
18640 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
18641 * gdb.btrace/record_goto.c: New.
18642 * gdb.btrace/record_goto.exp: New.
18643 * gdb.btrace/x86-record_goto.S: New.
18644
18645 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18646
18647 * gdb.btrace/function_call_history.exp: Update tests.
18648 * gdb.btrace/instruction_history.exp: Update tests.
18649
18650 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18651
18652 * gdb.btrace/function_call_history.exp: Fix expected field
18653 order for "record function-call-history".
18654 Add new tests for "record function-call-history /c".
18655 * gdb.btrace/exception.cc: New.
18656 * gdb.btrace/exception.exp: New.
18657 * gdb.btrace/tailcall.exp: New.
18658 * gdb.btrace/x86-tailcall.S: New.
18659 * gdb.btrace/x86-tailcall.c: New.
18660 * gdb.btrace/unknown_functions.c: New.
18661 * gdb.btrace/unknown_functions.exp: New.
18662 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
18663
18664 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18665
18666 * gdb.btrace/instruction_history.exp: Update.
18667 * gdb.btrace/function_call_history.exp: Update.
18668
18669 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18670
18671 * gdb.btrace/function_call_history.exp: Fix expected function
18672 trace.
18673 * gdb.btrace/instruction_history.exp: Initialize traced.
18674 Remove traced_functions.
18675
18676 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18677
18678 * gdb.btrace/function_call_history.exp: Update
18679 * gdb.btrace/instruction_history.exp: Update.
18680
18681 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18682
18683 * gdb.btrace/enable.exp: Update expected text.
18684
18685 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
18686
18687 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
18688 bytes.
18689
18690 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
18691
18692 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
18693
18694 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
18695
18696 * lib/gdb.exp (supports_process_record): Return true for
18697 arm*-linux*. (supports_reverse): Likewise.
18698
18699 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
18700
18701 PR python/15464
18702 PR python/16113
18703 * gdb.python/py-type.c: Enhance test case.
18704 * gdb.python/py-value-cc.cc: Likewise
18705 * gdb.python/py-type.exp: Add new tests.
18706 * gdb.python/py-value-cc.exp: Likewise
18707
18708 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
18709 Pedro Alves <palves@redhat.com>
18710
18711 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
18712 Make "name" extern.
18713 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
18714 references to ${name}_start by references to ${name}.
18715
18716 2014-01-10 Joel Brobecker <brobecker@adacore.com>
18717
18718 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
18719
18720 2014-01-10 Joel Brobecker <brobecker@adacore.com>
18721
18722 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
18723
18724 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
18725 Pedro Alves <palves@redhat.com>
18726
18727 * gdb.mi/mi-info-os.exp: Connect to the target with
18728 mi_gdb_target_load.
18729
18730 2014-01-08 Pedro Alves <palves@redhat.com>
18731
18732 * gdb.threads/reconnect-signal.c: New file.
18733 * gdb.threads/reconnect-signal.exp: New file.
18734
18735 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
18736
18737 * gdb.base/source-dir.exp: New file.
18738
18739 2014-01-07 Joel Brobecker <brobecker@adacore.com>
18740
18741 * gdb.ada/mi_interface: New testcase.
18742
18743 2014-01-07 Joel Brobecker <brobecker@adacore.com>
18744
18745 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
18746 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
18747 gdb.ada/pp-rec-component/pck.ads: New files.
18748
18749 2014-01-07 Joel Brobecker <brobecker@adacore.com>
18750
18751 * gdb.python/py-pp-integral.c: New file.
18752 * gdb.python/py-pp-integral.py: New file.
18753 * gdb.python/py-pp-integral.exp: New file.
18754
18755 For older changes see ChangeLog-1993-2013.
18756 \f
18757 ;; Local Variables:
18758 ;; mode: change-log
18759 ;; left-margin: 8
18760 ;; fill-column: 74
18761 ;; version-control: never
18762 ;; End:
18763
18764 Copyright 2014-2020 Free Software Foundation, Inc.
18765 Copying and distribution of this file, with or without modification,
18766 are permitted provided the copyright notice and this notice are preserved.
This page took 0.457516 seconds and 5 git commands to generate.