]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gdb/testsuite/ChangeLog
Fix DWARF disassembly of DW_OP_const_type
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
2
3 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
4 * gdb.dwarf2/dw2-inline-small-func.c: New file.
5 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
6 * gdb.dwarf2/dw2-inline-small-func.h: New file.
7 * gdb.opt/inline-small-func.c: New file.
8 * gdb.opt/inline-small-func.exp: New file.
9 * gdb.opt/inline-small-func.h: New file.
10
11 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
12
13 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
14 function.
15
16 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
17
18 * lib/dwarf.exp (function_range): Allow compiler options to be
19 specified.
20
21 2020-04-02 Tom de Vries <tdevries@suse.de>
22
23 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
24 __attribute__((always_inline)).
25 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
26
27 2020-04-02 Tom de Vries <tdevries@suse.de>
28
29 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
30 (gdbserver_gdb_exit): ... here. Add timeout warning.
31 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
32 (connect_target_extended_remote): Append new server_spawn_id to
33 server_spawn_ids.
34 (cleanup): New proc.
35 (setup, <toplevel>): Call cleanup.
36
37 2020-04-02 Tom de Vries <tdevries@suse.de>
38
39 * gdb.base/main-psymtab.exp: New file.
40
41 2020-04-02 Tom de Vries <tdevries@suse.de>
42
43 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
44
45 2020-04-01 Tom Tromey <tom@tromey.com>
46
47 * gdb.base/complex-parts.exp: Add type tests.
48
49 2020-04-01 Tom Tromey <tom@tromey.com>
50
51 * gdb.base/complex-parts.exp: Add arithmetic tests.
52
53 2020-04-01 Tom Tromey <tom@tromey.com>
54
55 * gdb.compile/compile.exp: Update.
56 * gdb.compile/compile-cplus.exp: Update.
57 * gdb.base/varargs.exp: Update.
58 * gdb.base/floatn.exp: Update.
59 * gdb.base/endianity.exp: Update.
60 * gdb.base/callfuncs.exp (do_function_calls): Update.
61 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
62 (complex_float_integral_args): Update.
63 * gdb.base/complex.exp: Update.
64 * gdb.base/complex-parts.exp: Update.
65
66 2020-04-01 Tom Tromey <tromey@adacore.com>
67
68 * gdb.rust/union.rs: New file.
69 * gdb.rust/union.exp: New file.
70 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
71 (main): Update.
72 * gdb.rust/simple.exp: Move union tests to union.exp.
73
74 2020-04-01 Tom Tromey <tromey@adacore.com>
75
76 * gdb.rust/simple.rs (main): Remove "y0".
77
78 2020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
79
80 * gdb.multi/stop-all-on-exit.c: New test.
81 * gdb.multi/stop-all-on-exit.exp: New file.
82
83 2020-04-01 Hannes Domani <ssbssa@yahoo.de>
84
85 PR gdb/24789
86 * gdb.cp/misc.cc: Add integer reference variable.
87 * gdb.cp/misc.exp: Add test.
88
89 2020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
90
91 * gdb.server/stop-reply-no-thread.exp: Enhance the test
92 scenario to cover execution until the end and also the case
93
94 2020-03-31 Tom de Vries <tdevries@suse.de>
95
96 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
97 c. Use "maint info symtabs" to check symtab expansion.
98
99 2020-03-30 Tom de Vries <tdevries@suse.de>
100
101 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
102 unsupported.
103 (verify_psymtab_expanded): Move ...
104 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
105 test.
106 (readnow): New proc.
107
108 2020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
109
110 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
111 with $hex.
112
113 2020-03-20 Tom Tromey <tromey@adacore.com>
114
115 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
116
117 2020-03-20 Tom Tromey <tromey@adacore.com>
118
119 * gdb.ada/sub_variant/subv.adb: New file.
120 * gdb.ada/sub_variant.exp: New file.
121
122 2020-03-20 Tom de Vries <tdevries@suse.de>
123
124 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
125 first break fails.
126 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
127
128 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
129
130 * gdb.server/exit-multiple-threads.c: New file.
131 * gdb.server/exit-multiple-threads.exp: New file.
132
133 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
134
135 * gdb.fortran/mixed-lang-stack.c: New file.
136 * gdb.fortran/mixed-lang-stack.cpp: New file.
137 * gdb.fortran/mixed-lang-stack.exp: New file.
138 * gdb.fortran/mixed-lang-stack.f90: New file.
139
140 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
141
142 * gdb.linespec/cp-completion-aliases.cc: New file.
143 * gdb.linespec/cp-completion-aliases.exp: New file.
144
145 2020-03-19 Tom de Vries <tdevries@suse.de>
146
147 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
148 more precise.
149
150 2020-03-18 Tom de Vries <tdevries@suse.de>
151
152 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
153 * gdb.dwarf2/break-inline-psymtab.c: New test.
154 * gdb.dwarf2/break-inline-psymtab.exp: New file.
155
156 2020-03-16 Tom de Vries <tdevries@suse.de>
157
158 * lib/cache.exp (gdb_do_cache): Add and handle local variables
159 cache_verify and cache_verify_proc.
160
161 2020-03-15 Tom de Vries <tdevries@suse.de>
162
163 * gdb.server/solib-list.exp: Handle
164 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
165
166 2020-03-15 Tom de Vries <tdevries@suse.de>
167
168 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
169 objfiles".
170
171 2020-03-14 Tom Tromey <tom@tromey.com>
172
173 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
174
175 2020-03-14 Tom de Vries <tdevries@suse.de>
176
177 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
178
179 2020-03-14 Tom de Vries <tdevries@suse.de>
180
181 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
182 result in line-by-line fashion.
183
184 2020-03-14 Tom de Vries <tdevries@suse.de>
185
186 * lib/gdb.exp (supports_statement_frontiers): New proc.
187 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
188
189 2020-03-14 Tom de Vries <tdevries@suse.de>
190
191 * gdb.base/printcmds.exp: Add missing quoting for "print
192 teststring2".
193
194 2020-03-13 Tom Tromey <tom@tromey.com>
195
196 * gdb.base/printcmds.exp (test_print_strings): Add regression
197 test.
198 * gdb.base/printcmds.c (charptr): New typedef.
199 (teststring2): New global.
200
201 2020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
202
203 * gdb.base/break-interp.exp: Use the tail of the filename, not the
204 full path in the test name.
205 (test_ld): Add some with_test_prefix blocks to make test names
206 unique.
207
208 2020-03-13 Tom de Vries <tdevries@suse.de>
209
210 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
211
212 2020-03-13 Tom de Vries <tdevries@suse.de>
213
214 * gdb.mi/mi-sym-info.exp: Make matching more precise.
215
216 2020-03-13 Tom de Vries <tdevries@suse.de>
217
218 PR symtab/25646
219 * gdb.dwarf2/imported-unit.exp: Add test.
220
221 2020-03-13 Tom de Vries <tdevries@suse.de>
222
223 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
224 (var1, var2): New variable.
225 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
226 matching symbols.
227
228 2020-03-13 Tom de Vries <tdevries@suse.de>
229
230 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
231 (Term::command): Use prompt prefix.
232 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
233 * gdb.tui/tui-layout-asm-short-prog.exp: Use
234 command_no_prompt_prefix instead of prefix.
235 * gdb.tui/tui-layout-asm.exp: Same.
236
237 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
238
239 * gdb.base/break-interp.exp: Use foreach_with_prefix.
240
241 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
242
243 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
244 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
245 on" while stepping over the test instruction, match printed
246 message.
247
248 2020-03-12 Tom de Vries <tdevries@suse.de>
249
250 * gdb.base/info-types.exp: Use exp_continue during matching of output
251 of "info types".
252
253 2020-03-12 Tom de Vries <tdevries@suse.de>
254
255 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
256
257 2020-03-12 Tom de Vries <tdevries@suse.de>
258
259 * gdb.fortran/module.exp: Use exp_continue during matching of output
260 of "info variable -n".
261
262 2020-03-12 Tom de Vries <tdevries@suse.de>
263
264 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
265 gdb.dwarf2/dw2-ranges-base.c.
266
267 2020-03-12 Tom de Vries <tdevries@suse.de>
268
269 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
270 in presence of GLIBC debuginfo.
271
272 2020-03-12 Tom de Vries <tdevries@suse.de>
273
274 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
275 $core.
276
277 2020-03-12 Tom de Vries <tdevries@suse.de>
278
279 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
280 more precise.
281
282 2020-03-11 Simon Marchi <simon.marchi@efficios.com>
283
284 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
285 from Unix to Windows path.
286
287 2020-03-11 Tom de Vries <tdevries@suse.de>
288
289 * gdb.ada/minsyms.exp: Set language to ada.
290
291 2020-03-11 Tom de Vries <tdevries@suse.de>
292
293 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
294
295 2020-03-11 Tom de Vries <tdevries@suse.de>
296
297 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
298
299 2020-03-11 Tom Tromey <tromey@adacore.com>
300
301 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
302
303 2020-03-11 Tom de Vries <tdevries@suse.de>
304
305 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
306
307 2020-03-11 Tom de Vries <tdevries@suse.de>
308
309 * gdb.base/break-interp.exp: Limit verbose scope.
310
311 2020-03-11 Tom de Vries <tdevries@suse.de>
312
313 * gdb.fortran/logical.f90: Define variable with character type.
314 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
315
316 2020-03-11 Tom de Vries <tdevries@suse.de>
317
318 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
319
320 2020-03-11 Tom de Vries <tdevries@suse.de>
321
322 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
323 symtabs.
324
325 2020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
326 Bernd Edlinger <bernd.edlinger@hotmail.de>
327
328 * gdb.cp/step-and-next-inline.cc: New file.
329 * gdb.cp/step-and-next-inline.exp: New file.
330 * gdb.cp/step-and-next-inline.h: New file.
331 * gdb.dwarf2/dw2-is-stmt.c: New file.
332 * gdb.dwarf2/dw2-is-stmt.exp: New file.
333 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
334 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
335 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
336
337 2020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
338
339 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
340 is-stmt flag in the line table.
341
342 2020-03-09 Tom de Vries <tdevries@suse.de>
343
344 * lib/gdb.exp (cached_file): Create cache dir.
345
346 2020-03-07 Tom de Vries <tdevries@suse.de>
347
348 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
349 * gdb.cp/rvalue-ref-params.exp: Same.
350
351 2020-03-06 Tom de Vries <tdevries@suse.de>
352
353 * lib/gdb.exp (tentative_rename, cached_file): New proc.
354 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
355
356 2020-03-06 Tom de Vries <tdevries@suse.de>
357
358 * README: Fix "the the".
359 * gdb.base/dprintf.exp: Same.
360
361 2020-03-05 Tom de Vries <tdevries@suse.de>
362
363 * gdb.base/maint.exp: Update "main print statistics" expected output.
364
365 2020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
366
367 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
368 (fortran_int8): Likewise.
369 (fortran_real4): Likewise.
370 (fortran_real8): Likewise.
371 (fortran_complex4): Likewise.
372 (fortran_logical4): Likewise.
373 (fortran_character1): Likewise.
374
375 2020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
376
377 * gdb.fortran/logical.exp: Add tests that any non-zero value is
378 printed as true.
379
380 2020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
381
382 * gdb.base/printcmds.exp: Add test to verify printf of a
383 variable holding an address.
384
385 2020-03-03 Tom de Vries <tdevries@suse.de>
386
387 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
388
389 2020-03-03 Tom de Vries <tdevries@suse.de>
390
391 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
392 gdb_test_multiple call.
393
394 2020-03-03 Tom de Vries <tdevries@suse.de>
395
396 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
397 gdb_test_multiple calls.
398
399 2020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
400
401 * gdb.base/default.exp: Remove test of 'set history filename'.
402 * gdb.base/gdbinit-history.exp: Add tests for setting the history
403 filename to the empty string.
404 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
405 and GDBHISTSIZE.
406
407 2020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
408
409 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
410 disabled.
411
412 2020-03-02 Pedro Alves <palves@redhat.com>
413 Tom de Vries <tdevries@suse.de>
414
415 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
416 -prompt prefix, before user_code argument. Add -lbl option likewise.
417 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
418 (gdb_is_target_1): Add -prompt prefix and move to before user_code
419 argument.
420 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
421 have "\r\n" at start-of-line, instead of at end-of-line.
422
423 2020-02-28 Simon Marchi <simon.marchi@efficios.com>
424
425 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
426 libinproctrace.so.
427
428 2020-02-28 Luis Machado <luis.machado@linaro.org>
429
430 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
431 to "p/x".
432
433 2020-02-28 Luis Machado <luis.machado@linaro.org>
434
435 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
436 asm/ptrace.h and error.h.
437
438 2020-02-28 Tom de Vries <tdevries@suse.de>
439
440 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
441 (struct wrapper, do_something, mundane/symada__cS): Move ...
442 * gdb.base/c-linkage-name-2.c: ... here. New source file.
443 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
444 Update "print symada__cS before partial symtab expansion" regexp.
445 Update breakpoint location. Flush symbol cache after expansion.
446
447 2020-02-28 Luis Machado <luis.machado@linaro.org>
448
449 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
450
451 2020-02-27 Tom de Vries <tdevries@suse.de>
452
453 * config/sid.exp: Remove unused globals.
454 * gdb.base/attach.exp: Same.
455 * gdb.base/catch-load.exp: Same.
456 * gdb.base/dbx.exp: Same.
457 * lib/gdb.exp: Same.
458 * lib/mi-support.exp: Same.
459 * lib/prompt.exp: Same.
460
461 2020-02-27 Tom de Vries <tdevries@suse.de>
462
463 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
464 not set.
465
466 2020-02-26 Aaron Merey <amerey@redhat.com>
467
468 * gdb.debuginfod: New directory for debuginfod tests.
469 * gdb.debuginfod/main.c: New test file.
470 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
471
472 2020-02-26 Tom de Vries <tdevries@suse.de>
473
474 PR gdb/25603
475 * gdb.base/persistent-lang.cc: New test.
476 * gdb.base/persistent-lang.exp: New file.
477
478 2020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
479
480 * gdb.fortran/derived-type-striding.exp: Add a new test.
481 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
482 new test.
483
484 2020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
485
486 * gdb.base/cached-source-file.exp: Avoid source file paths in test
487 names.
488
489 2020-02-25 Tom de Vries <tdevries@suse.de>
490
491 PR go/18926
492 * gdb.go/methods.exp: Remove gcc/93866 xfail.
493
494 2020-02-24 Tom de Vries <tdevries@suse.de>
495
496 PR gdb/25592
497 * gdb.base/info-locals-unused-static-var.c: New test.
498 * gdb.base/info-locals-unused-static-var.exp: New file.
499
500 2020-02-22 Tom Tromey <tom@tromey.com>
501
502 * gdb.python/tui-window.exp: New file.
503 * gdb.python/tui-window.py: New file.
504
505 2020-02-22 Tom Tromey <tom@tromey.com>
506
507 PR tui/17850:
508 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
509 tests.
510
511 2020-02-22 Tom Tromey <tom@tromey.com>
512
513 * gdb.tui/new-layout.exp: Add sub-layout tests.
514
515 2020-02-22 Tom Tromey <tom@tromey.com>
516
517 * gdb.tui/new-layout.exp: New file.
518
519 2020-02-22 Tom Tromey <tom@tromey.com>
520
521 * gdb.rust/rust-style.rs: New file.
522 * gdb.rust/rust-style.exp: New file.
523 * gdb.base/style.exp: Test structure printing.
524 * gdb.base/style.c (struct some_struct): New type.
525 (enum etype): New type.
526 (struct_value): New global.
527
528 2020-02-21 Tom de Vries <tdevries@suse.de>
529
530 PR go/18926
531 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
532 Remove blanket xfails. Use message argument for gdb_breakpoint.
533 Make continuing to breakpoint test conditional on setting breakpoint.
534 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
535 DW_AT_name attribute. Add xfail for GCC PR93866.
536
537 2020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
538
539 * gdb.dwarf2/cpp-linkage-name.c: New file.
540 * gdb.dwarf2/cpp-linkage-name.exp: New file.
541
542 2020-02-21 Shahab Vahedi <shahab@synopsys.com>
543
544 * lib/gdb.exp (gdb_wrapper_init): Reset
545 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
546 not exist.
547
548 2020-02-20 Tom de Vries <tdevries@suse.de>
549
550 PR go/17018
551 * gdb.go/hello.exp: Copy ...
552 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
553 print of st to print value of global definition. Add xfail for GCC
554 PR93844.
555 * gdb.go/hello.exp: Remove printing of st before definition.
556 * gdb.go/hello.go: Copy ...
557 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
558 to st.
559 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
560
561 2020-02-20 Tom de Vries <tdevries@suse.de>
562
563 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
564 (gdb_simple_compile): Handle compile_flags go by using .go extension
565 for source file.
566 * gdb.go/chan.exp: Use support_go_compile.
567 * gdb.go/handcall.exp: Same.
568 * gdb.go/hello.exp: Same.
569 * gdb.go/integers.exp: Same.
570 * gdb.go/max-depth.exp: Same.
571 * gdb.go/methods.exp: Same.
572 * gdb.go/package.exp: Same.
573 * gdb.go/strings.exp: Same.
574 * gdb.go/types.exp: Same.
575 * gdb.go/unsafe.exp: Same.
576
577 2020-02-19 Tom de Vries <tdevries@suse.de>
578
579 * gdb.python/lib-types.exp: Make xfail more strict.
580
581 2020-02-19 Tom de Vries <tdevries@suse.de>
582
583 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
584
585 2020-02-19 Doug Evans <dje@google.com>
586
587 PR rust/25535
588 * gdb.rust/simple.exp: Add test.
589 * gdb.rust/simple.rs: Add test.
590
591 2020-02-19 Tom de Vries <tdevries@suse.de>
592
593 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
594 output line-by-line.
595
596 2020-02-19 Tom de Vries <tdevries@suse.de>
597
598 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
599
600 2020-02-19 Tom de Vries <tdevries@suse.de>
601
602 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
603 prelink.
604
605 2020-02-19 Tom de Vries <tdevries@suse.de>
606
607 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
608 (gdb_do_cache): Use gdb_do_cache_wrap.
609 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
610
611 2020-02-19 Tom de Vries <tdevries@suse.de>
612
613 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
614 gdb_compile option.
615
616 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
617
618 * gdb.base/printcmds.exp (test_print_enums): Update expected
619 output.
620
621 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
622
623 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
624 for "unknown".
625
626 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
627
628 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
629 enumerator.
630
631 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
632
633 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
634 FE_, add FE_NONE.
635 (three): Update.
636 (enum flag_enum_without_zero): New enum.
637 (flag_enum_without_zero): New variable.
638 (enum not_flag_enum): New enum.
639 (three_not_flag): New variable.
640 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
641 (test_print_enums): Add more tests for printing flag enums.
642
643 2020-02-18 Tom de Vries <tdevries@suse.de>
644
645 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
646 (gdb_compile_ada): ... here.
647 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
648 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
649
650 2020-02-14 Tom Tromey <tom@tromey.com>
651
652 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
653 build directory.
654 * boards/gdbserver-base.exp: Update path to gdbserver.
655
656 2020-02-13 Tom de Vries <tdevries@suse.de>
657
658 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
659
660 2020-02-13 Tom de Vries <tdevries@suse.de>
661
662 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
663 are missing.
664
665 2020-02-13 Tom de Vries <tdevries@suse.de>
666
667 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
668 call.
669
670 2020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
671
672 PR tui/25126
673 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
674 * gdb.base/cached-source-file.c: New file.
675 * gdb.base/cached-source-file.exp: New file.
676
677 2020-02-11 Tom de Vries <tdevries@suse.de>
678
679 PR testsuite/25488
680 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
681
682 2020-02-10 Tom de Vries <tdevries@suse.de>
683
684 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
685
686 2020-02-10 Maciej W. Rozycki <macro@wdc.com>
687
688 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
689 and $after_addr are both integers before making a comparison.
690
691 2020-02-09 Tom de Vries <tdevries@suse.de>
692
693 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
694 command output and paste it into gdb.log. If any, paste catch message
695 to gdb.log.
696
697 2020-02-07 Tom Tromey <tromey@adacore.com>
698
699 PR breakpoints/24915:
700 * gdb.base/annotate-symlink.exp: Use setup_xfail.
701
702 2020-02-06 Shahab Vahedi <shahab@synopsys.com>
703
704 * gdb.tui/tui-missing-src.exp: Add the "missing source
705 file" test for the TUI.
706
707 2020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
708
709 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
710 including a port number in the output.
711
712 2020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
713
714 * lib/fortran.exp (fortran_int4): Handle clang.
715 (fortran_int8): Likewise.
716 (fortran_real4): Likewise.
717 (fortran_real8): Likewise.
718 (fortran_complex4): Likewise.
719 (fortran_logical4): Likewise.
720 (fortran_character1): Likewise.
721
722 2020-02-04 Tom de Vries <tdevries@suse.de>
723
724 * README (Race detection): Add note.
725
726 2020-02-04 Tom de Vries <tdevries@suse.de>
727
728 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
729
730 2020-02-04 Tom de Vries <tdevries@suse.de>
731
732 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
733
734 2020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
735
736 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
737 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
738 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
739 blttar, bnetarl.
740 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
741 binary for blttar, bnetarl.
742 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
743 wait instruction. Delete ldmx test.
744 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
745
746 2020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
747
748 * gdb.fortran/array-bounds-high.exp: New file.
749 * gdb.fortran/array-bounds-high.f90: New file.
750
751 2020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
752
753 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
754 Replace #include of <sys/fcntl.h> by <fcntl.h>.
755
756 2020-02-01 Tom de Vries <tdevries@suse.de>
757
758 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
759
760 2020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
761
762 PR tui/9765
763 * gdb.tui/tui-layout-asm-short-prog.S: New file.
764 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
765
766 2020-01-29 Luis Machado <luis.machado@linaro.org>
767
768 * gdb.arch/aarch64-brk-patterns.c: New source file.
769 * gdb.arch/aarch64-brk-patterns.exp: New test.
770
771 2020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
772
773 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
774 GCC/Clang version.
775 * gdb.cp/pass-by-ref.exp: Ditto.
776
777 2020-01-29 Tom de Vries <tdevries@suse.de>
778
779 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
780 * gdb.threads/watchpoint-fork-mt.c: Same.
781 * gdb.threads/watchpoint-fork-parent.c: Same.
782 * gdb.threads/watchpoint-fork-st.c: Same.
783 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
784
785 2020-01-27 Luis Machado <luis.machado@linaro.org>
786
787 * gdb.base/step-over-syscall.exp (setup): Check if we're already
788 sitting at a syscall instruction when we hit the syscall function's
789 breakpoint.
790 Check PC against one obtained with the x command.
791 Validate syscall number.
792 (step_over_syscall): Don't continue to the syscall instruction if
793 we're already there.
794
795 2020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
796
797 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
798
799 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
800
801 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
802 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
803
804 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
805
806 * gdb.dwarf2/dw2-inline-stepping.c: New file.
807 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
808
809 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
810
811 * gdb.base/maint.exp: Update line table parsing test.
812 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
813
814 2020-01-24 Pedro Alves <palves@redhat.com>
815
816 PR gdb/25410
817 * gdb.multi/multi-re-run-1.c: New.
818 * gdb.multi/multi-re-run-2.c: New.
819 * gdb.multi/multi-re-run.exp: New.
820
821 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
822
823 PR gdb/23718
824 * gdb.server/server-kill-python.exp: New file.
825
826 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
827
828 * gdb.server/multi-ui-errors.c: New file.
829 * gdb.server/multi-ui-errors.exp: New file.
830
831 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
832
833 PR tui/9765
834 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
835
836 2020-01-19 Tom Tromey <tom@tromey.com>
837
838 * gdb.tui/main.exp: Add check for plain "file".
839
840 2020-01-16 Christian Biesinger <cbiesinger@google.com>
841
842 * lib/gdb.exp: Fix spelling error (seperatelly).
843
844 2020-01-14 Tom Tromey <tom@tromey.com>
845
846 PR symtab/12535:
847 * gdb.python/python.exp: Test decode_line with empty string
848 argument.
849
850 2020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
851
852 * gdb.base/skip-inline.exp: Extend test.
853
854 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
855
856 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
857 * gdb.dwarf2/dw2-bad-elf.c: New file.
858 * gdb.dwarf2/dw2-bad-elf.exp: New file.
859
860 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
861
862 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
863 _line_saw_file.
864
865 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
866
867 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
868 border.
869
870 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
871
872 * gdb.multi/multi-target.exp (setup): Factor out "info
873 connections" and "info inferiors" tests to ...
874 (test_info_inferiors): ... this new procedure.
875 (top level): Run new "info-inferiors" tests.
876
877 2020-01-10 Pedro Alves <palves@redhat.com>
878
879 * gdb.server/bkpt-other-inferior.exp: New file.
880
881 2020-01-10 Pedro Alves <palves@redhat.com>
882
883 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
884 of "add-inferior".
885 * gdb.base/quit-live.exp: Likewise.
886 * gdb.base/remote-exec-file.exp: Likewise.
887 * gdb.guile/scm-progspace.exp: Likewise.
888 * gdb.linespec/linespec.exp: Likewise.
889 * gdb.mi/new-ui-mi-sync.exp: Likewise.
890 * gdb.mi/user-selected-context-sync.exp: Likewise.
891 * gdb.multi/multi-target.exp (setup): Add "info connection" and
892 "info inferiors" tests.
893 * gdb.multi/remove-inferiors.exp: Adjust expected output of
894 "add-inferior".
895 * gdb.multi/watchpoint-multi.exp: Likewise.
896 * gdb.python/py-inferior.exp: Likewise.
897 * gdb.server/extended-remote-restart.exp: Likewise.
898 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
899 "info inferiors".
900 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
901 * gdb.trace/report.exp: Likewise.
902
903 2020-01-10 Pedro Alves <palves@redhat.com>
904
905 * gdb.multi/multi-target.c: New file.
906 * gdb.multi/multi-target.exp: New file.
907 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
908 mode requested, but remote does not support non-stop".
909
910 2020-01-10 Pedro Alves <palves@redhat.com>
911
912 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
913 disconnect before reconnecting.
914
915 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
916 Pedro Alves <palves@redhat.com>
917
918 * gdb.server/connect-without-multi-process.exp: Also test
919 continuing to end.
920
921 2020-01-10 Pedro Alves <palves@redhat.com>
922
923 * gdb.base/remote-exec-file.exp: New file.
924
925 2020-01-10 Pedro Alves <palves@redhat.com>
926
927 * gdb.base/fork-running-state.exp (do_test): Adjust expected
928 output.
929 * gdb.threads/async.c: New.
930 * gdb.threads/async.exp: New.
931 * gdb.multi/tids-gid-reset.c: New.
932 * gdb.multi/tids-gid-reset.exp: New.
933
934 2020-01-10 George Barrett <bob@bob131.so>
935
936 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
937 to help in finding the image relocation offset.
938 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
939 options in arguments.
940 (stap_test_no_debuginfo): Likewise.
941 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
942 test variants.
943 (stap_test): Add null semaphore relocation test.
944
945 2020-01-10 George Barrett <bob@bob131.so>
946
947 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
948 * gdb.base/stap-probe.exp: Likewise.
949 (stap_test): Pass argument as an additional flag.
950 (stap_test_no_debuginfo): Likewise.
951 (stap_test): Check `info probes stap' output for semaphore
952 addresses if the test binary is supposed to have them.
953
954 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
955
956 * gdb.tui/basic.exp: Add more scrolling tests.
957
958 2020-01-09 Tom Tromey <tom@tromey.com>
959
960 PR tui/18932:
961 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
962 meangingful value.
963 (Term::command, Term::resize): Update.
964 * gdb.tui/basic.exp: Add scrolling test.
965
966 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
967
968 * gdb.tui/tui-layout-asm.exp: New file.
969
970 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
971
972 * lib/tuiterm.exp (Term::check_box_contents): New proc.
973
974 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
975
976 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
977 (Term::enter_tui): Use Term::prepare_for_tui.
978
979 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
980
981 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
982 called.
983
984 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
985
986 * gdb.base/skip.exp: Fix race condition in test.
987
988 2020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
989
990 * gdb.base/backtrace.c: New file.
991 * gdb.base/backtrace.exp: New file.
992
993 2020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
994
995 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
996
997 2020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
998
999 * gdb.base/style.exp: Test that warnings are styled.
1000
1001 2019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
1002
1003 * gdb.base/line65535.exp: New file.
1004 * gdb.base/line65535.c: New file.
1005
1006 2019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
1007
1008 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
1009 * lib/gnat_debug_info_test.adb: New file.
1010 * gdb.ada/ptype_tagged_param.exp: Use
1011 gnat_runtime_has_debug_info, expect a different output if
1012 runtime does not have debug info.
1013
1014 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
1015
1016 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
1017 (another) quote in test name.
1018
1019 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
1020
1021 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
1022 Add quote in test name.
1023
1024 2019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1025
1026 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
1027 directory instead.
1028 * gdb.cp/pass-by-ref.exp: Extend with more cases.
1029 * gdb.cp/pass-by-ref-2.cc: New file.
1030 * gdb.cp/pass-by-ref-2.exp: New file.
1031
1032 2019-12-20 Tom Tromey <tom@tromey.com>
1033
1034 * gdb.tui/list-before.exp: New file.
1035
1036 2019-12-20 Tom Tromey <tom@tromey.com>
1037
1038 * gdb.tui/list.exp: Check for source on initial listing.
1039
1040 2019-12-11 Tom Tromey <tromey@adacore.com>
1041
1042 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
1043 Add crlf test.
1044
1045 2019-12-18 Simon Marchi <simon.marchi@efficios.com>
1046
1047 * gdb.base/default.exp: Update value of $_gdb_major.
1048
1049 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
1050
1051 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
1052
1053 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
1054
1055 * gdb.base/skip.exp: Whitespace fix.
1056
1057 2019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
1058
1059 * gdb.base/skip-inline.c: New file.
1060 * gdb.base/skip-inline.exp: New file.
1061
1062 2019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
1063
1064 * gdb.base/jit-reader.exp (jit_reader_test): Rename
1065 jit_function_00 to jit_function_stack_mangle.
1066 * gdb.base/jithost.c (jit_function_t): Rename to...
1067 (jit_function_stack_mangle_t): ... this.
1068 (jit_function_add_t): New typedef.
1069 (jit_function_00_code): Rename to...
1070 (jit_function_stack_mangle_code): ... this, make static.
1071 (jit_function_add_code): New.
1072 (main): Generate "add" function and call it. Adjust to changes
1073 in jithost_abi.
1074 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
1075 (struct jithost_abi) <begin, end>: Remove fields.
1076 <object, function_stack_mangle, function_add>: New fields.
1077 * gdb.base/jitreader.c (struct reader_state) <code_begin,
1078 code_end>: Remove fields.
1079 <func_stack_mangle>: New field.
1080 (read_debug_info): Adjust to renaming, create block for "add"
1081 function.
1082 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
1083
1084 2019-12-11 Tom Tromey <tom@tromey.com>
1085
1086 * gdb.tui/resize.exp: Fix regexp.
1087 * gdb.tui/regs.exp: Fix regexps.
1088 * gdb.tui/main.exp: Fix regexp.
1089
1090 2019-12-11 Tom Tromey <tom@tromey.com>
1091
1092 * gdb.tui/resize.exp: Update.
1093 * gdb.tui/empty.exp (layouts): Update.
1094
1095 2019-12-11 Tom Tromey <tom@tromey.com>
1096
1097 * gdb.tui/regs.exp: Update.
1098 * gdb.tui/empty.exp (layouts): Update.
1099 * gdb.tui/basic.exp: Update.
1100 * lib/tuiterm.exp (_check_box): Don't check bottom border.
1101
1102 2019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1103
1104 * gdb.base/options.exp: Add -raw-values in the print completion list.
1105 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
1106
1107 2019-12-10 Kevin Buettner <kevinb@redhat.com>
1108
1109 * gdb.threads/omp-par-scope.c: New file.
1110 * gdb/threads/omp-par-scope.exp: New file.
1111
1112 2019-12-10 Kevin Buettner <kevinb@redhat.com>
1113
1114 * lib/gdb.exp (support_nested_function_tests): New proc.
1115
1116 2019-12-10 Kevin Buettner <kevinb@redhat.com>
1117
1118 * lib/gdb.exp (gdb_compile_openmp): New proc.
1119 (build_executable_from_specs): Add an "openmp" option.
1120 (gdb_compile_pthreads): Add non-executable case.
1121
1122 2019-12-10 Tom Tromey <tromey@adacore.com>
1123
1124 * gdb.ada/unchecked_union.exp: New file.
1125 * gdb.ada/unchecked_union/pck.adb: New file.
1126 * gdb.ada/unchecked_union/pck.ads: New file.
1127 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
1128 * gdb-utils.exp (string_to_regexp): Also quote "?".
1129
1130 2019-12-10 George Barrett <bob@bob131.so>
1131
1132 Test scripted probe breakpoints.
1133 * gdb.guile/scm-breakpoint.c (main): Add probe point.
1134 * gdb.python/py-breakpoint.c (main): Likewise.
1135 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
1136 specifier test.
1137 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
1138
1139 2019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1140
1141 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
1142 an rvalue parameter.
1143 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
1144 parameter.
1145
1146 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
1147
1148 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
1149 modules.
1150
1151 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
1152
1153 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
1154 broken version of GCC.
1155
1156 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
1157
1158 * gdb.fortran/info-modules.exp: Rewrite to make use of new
1159 sym-info-cmds library.
1160 * gdb.fortran/info-types.exp: Likewise.
1161 * lib/sym-info-cmds.exp: New file.
1162
1163 2019-12-08 Tom de Vries <tdevries@suse.de>
1164
1165 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
1166
1167 2019-12-07 Keith Seitz <keiths@redhat.com>
1168
1169 * gdb.base/corefile-buildid-shlib-shr.c: New file.
1170 * gdb.base/corefile-buildid-shlib.c: New file.
1171 * gdb.base/corefile-buildid.c: New file.
1172 * gdb.base/corefile-buildid.exp: New file.
1173
1174 2019-12-06 Tom de Vries <tdevries@suse.de>
1175
1176 * gdb.dwarf2/varval.exp: Add decl before def test.
1177
1178 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1179
1180 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
1181
1182 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1183
1184 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
1185 CV and reference conversion for overload resolution.
1186 * gdb.cp/rvalue-ref-overload.exp: Test it.
1187
1188 2019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1189
1190 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
1191 * gdb.base/frameapply.exp: Test faas without command.
1192
1193 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1194
1195 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
1196 Fortran tests.
1197 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
1198 order.
1199
1200 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1201
1202 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
1203 casting to type with no kind specified.
1204 (test_basic_parsing_of_type_kinds): Additional tests for types
1205 with no kind specified, and add tests for single/double
1206 precision/complex types.
1207
1208 2019-12-04 Tom Tromey <tromey@adacore.com>
1209
1210 * gdb.base/endianity.c (struct other) <x>: New field.
1211 (main): Initialize it.
1212 * gdb.base/endianity.exp: Update.
1213
1214 2019-12-04 Tom Tromey <tromey@adacore.com>
1215
1216 * gdb.ada/scalar_storage/storage.adb: New file.
1217 * gdb.ada/scalar_storage/pck.adb: New file.
1218 * gdb.ada/scalar_storage/pck.ads: New file.
1219 * gdb.ada/scalar_storage.exp: New file.
1220
1221 2019-12-04 Tom Tromey <tromey@adacore.com>
1222
1223 * gdb.base/endianity.c (struct otherendian) <f>: New field.
1224 (main): Initialize it.
1225 * gdb.base/endianity.exp: Update.
1226
1227 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1228
1229 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
1230
1231 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1232
1233 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
1234 -symbol-info-module-functions and -symbol-info-module-variables.
1235
1236 2019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
1237
1238 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
1239
1240 2019-12-01 Richard Bunt <richard.bunt@arm.com>
1241 Andrew Burgess <andrew.burgess@embecosm.com>
1242
1243 * gdb.fortran/derived-type-striding.exp: New file.
1244 * gdb.fortran/derived-type-striding.f90: New file.
1245 * gdb.fortran/array-slices.exp: New file.
1246 * gdb.fortran/array-slices.f90: New file.
1247
1248 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1249
1250 * gdb.base/define.exp: Test . in command names.
1251 * gdb.base/setshow.exp: Update test, as . is now part of
1252 command name.
1253
1254 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1255
1256 * gdb.base/define-prefix.exp: New file.
1257
1258 2019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
1259
1260 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
1261 compile.
1262 (skip_btrace_pt_tests): Likewise.
1263
1264 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
1265
1266 * gdb.fortran/info-modules.exp: Compile source files in correct
1267 order.
1268
1269 2019-11-27 Kevin Buettner <kevinb@redhat.com>
1270
1271 * gdb.dwarf2/imported-unit.exp: New file.
1272 * gdb.dwarf2/imported-unit.c: New file.
1273
1274 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
1275
1276 * gdb.mi/mi-fortran-modules-2.f90: New file.
1277 * gdb.mi/mi-fortran-modules.exp: New file.
1278 * gdb.mi/mi-fortran-modules.f90: New file.
1279
1280 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
1281
1282 * gdb.mi/mi-sym-info-1.c: New file.
1283 * gdb.mi/mi-sym-info-2.c: New file.
1284 * gdb.mi/mi-sym-info.exp: New file.
1285
1286 2019-11-22 Tom Tromey <tromey@adacore.com>
1287
1288 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
1289 * gdb.ada/tasks/foo.adb: Add another stopping location.
1290
1291 2019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
1292
1293 * gdb.base/endianity.c: New test.
1294 * gdb.base/endianity.exp: New file.
1295
1296 2019-11-21 Lukas Durfina <ldurfina@tachyum.com>
1297
1298 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
1299
1300 2019-11-21 Tom de Vries <tdevries@suse.de>
1301
1302 PR gdb/24956
1303 * gdb.base/ui-redirect.exp: Test output of user-defined command.
1304
1305 2019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
1306
1307 * gdb.python/py-progspace.exp: Add missing parentheses on some
1308 'print' commands.
1309
1310 2019-11-19 Tom Tromey <tom@tromey.com>
1311
1312 * gdb.tui/winheight.exp: New file.
1313
1314 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1315
1316 * gdb.base/ctf-whatis.c: Delete.
1317 * gdb.base/ctf-whatis.exp: Delete.
1318 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
1319
1320 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1321
1322 * gdb.base/ctf-cvexpr.exp: Delete.
1323 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
1324
1325 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1326
1327 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
1328 the compiler. Clean up header comment a little.
1329 * gdb.base/ctf-ptype.exp: Likewise.
1330 * gdb.base/ctf-whatis.exp: Likewise.
1331 * lib/gdb.exp (skip_ctf_tests): New proc.
1332
1333 2019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
1334
1335 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
1336 * gdb.tui/corefile-run.exp: New file.
1337
1338 2019-11-14 Tom Tromey <tromey@adacore.com>
1339
1340 * gdb.base/gdbvars.exp (test_convenience_variables): Add
1341 regression tests.
1342
1343 2019-11-12 Tom Tromey <tom@tromey.com>
1344
1345 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
1346 after any command. Expect prompt after WAIT_FOR is seen.
1347 (enter_tui): Enable resize messages.
1348 (command): Expect command in output.
1349 (get_line): Avoid error when cursor appears to be off-screen.
1350 (dump_screen): Include screen size in title.
1351 (_do_resize): New proc, from "resize".
1352 (resize): Rewrite. Do resize in two steps.
1353 * gdb.tui/empty.exp (layouts): Fix entries.
1354 (check_boxes): Remove xfail.
1355 (check_text): Dump screen on failure.
1356
1357 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
1358
1359 * gdb.python/py-symbol.exp: Add test for
1360 gdb.lookup_static_symbols.
1361
1362 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
1363
1364 * gdb.python/py-symbol.c: Declare and call function from new
1365 py-symbol-2.c file.
1366 * gdb.python/py-symbol.exp: Compile both source files, and add new
1367 tests for gdb.lookup_static_symbol.
1368 * gdb.python/py-symbol-2.c: New file.
1369
1370 2019-11-02 Tom de Vries <tdevries@suse.de>
1371
1372 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
1373 * gdb.base/anon.exp: Same.
1374 * gdb.base/auto-connect-native-target.exp: Same.
1375 * gdb.base/call-ar-st.exp: Same.
1376 * gdb.base/catch-syscall.exp: Same.
1377 * gdb.base/commands.exp: Same.
1378 * gdb.base/default.exp: Same.
1379 * gdb.base/display.exp: Same.
1380 * gdb.base/float.exp: Same.
1381 * gdb.base/foll-fork.exp: Same.
1382 * gdb.base/help.exp: Same.
1383 * gdb.base/info-macros.exp: Same.
1384 * gdb.base/info-proc.exp: Same.
1385 * gdb.base/info-target.exp: Same.
1386 * gdb.base/long_long.exp: Same.
1387 * gdb.base/macscp.exp: Same.
1388 * gdb.base/memattr.exp: Same.
1389 * gdb.base/nofield.exp: Same.
1390 * gdb.base/pointers.exp: Same.
1391 * gdb.base/printcmds.exp: Same.
1392 * gdb.base/ptype.exp: Same.
1393 * gdb.base/restore.exp: Same.
1394 * gdb.base/return.exp: Same.
1395 * gdb.base/scope.exp: Same.
1396 * gdb.base/set-noassign.exp: Same.
1397 * gdb.base/setshow.exp: Same.
1398 * gdb.base/shlib-call.exp: Same.
1399 * gdb.base/signals.exp: Same.
1400 * gdb.base/sigstep.exp: Same.
1401 * gdb.base/skip.exp: Same.
1402 * gdb.base/solib-symbol.exp: Same.
1403 * gdb.base/stap-probe.exp: Same.
1404 * gdb.base/step-line.exp: Same.
1405 * gdb.base/step-test.exp: Same.
1406 * gdb.base/style.exp: Same.
1407 * gdb.base/varargs.exp: Same.
1408 * gdb.base/vla-datatypes.exp: Same.
1409 * gdb.base/vla-ptr.exp: Same.
1410 * gdb.base/vla-sideeffect.exp: Same.
1411 * gdb.base/volatile.exp: Same.
1412 * gdb.base/watch-cond-infcall.exp: Same.
1413 * gdb.base/watchpoint.exp: Same.
1414
1415 2019-11-02 Tom de Vries <tdevries@suse.de>
1416
1417 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
1418 * gdb.cp/cpexprs.exp: Same.
1419 * gdb.cp/except-multi-location.exp: Same.
1420 * gdb.cp/exceptprint.exp: Same.
1421 * gdb.cp/gdb2384.exp: Same.
1422 * gdb.cp/inherit.exp: Same.
1423 * gdb.cp/m-static.exp: Same.
1424 * gdb.cp/meth-typedefs.exp: Same.
1425 * gdb.cp/misc.exp: Same.
1426 * gdb.cp/namespace.exp: Same.
1427 * gdb.cp/non-trivial-retval.exp: Same.
1428 * gdb.cp/overload.exp: Same.
1429 * gdb.cp/pr17132.exp: Same.
1430 * gdb.cp/re-set-overloaded.exp: Same.
1431 * gdb.cp/rvalue-ref-types.exp: Same.
1432 * gdb.cp/templates.exp: Same.
1433
1434 2019-11-01 Luis Machado <luis.machado@linaro.org>
1435
1436 PR gdb/25124
1437
1438 * gdb.arch/pr25124.S: New file.
1439 * gdb.arch/pr25124.exp: New file.
1440
1441 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1442
1443 * gdb.fortran/info-modules.exp: Update expected results, and add
1444 additional tests for 'info module functinos', and 'info module
1445 variables'.
1446 * gdb.fortran/info-types.exp: Update expected results.
1447 * gdb.fortran/info-types.f90: Extend testcase with additional
1448 module variables and functions.
1449
1450 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1451
1452 * gdb.fortran/info-modules.exp: New file.
1453 * gdb.fortran/info-types.exp: Build with new file.
1454 * gdb.fortran/info-types.f90: Include and use new module.
1455 * gdb.fortran/info-types-2.f90: New file.
1456
1457 2019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1458
1459 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
1460 * gdb.base/settings.exp: Test all settings types using
1461 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
1462 that now verifies that the value of "maint show" is the same as
1463 returned by the settings functions. Test the type of the
1464 maintenance settings.
1465 * gdb.base/default.exp: Update show_conv_list.
1466
1467 2019-10-31 Tom de Vries <tdevries@suse.de>
1468
1469 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
1470 gdb_test.
1471 * gdb.arch/amd64-disp-step.exp: Same.
1472 * gdb.asm/asm-source.exp: Same.
1473 * gdb.btrace/buffer-size.exp: Same.
1474 * gdb.btrace/cpu.exp: Same.
1475 * gdb.btrace/enable.exp: Same.
1476 * gdb.dwarf2/count.exp: Same.
1477 * gdb.dwarf2/dw2-ranges-func.exp: Same.
1478 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
1479 * gdb.fortran/vla-datatypes.exp: Same.
1480 * gdb.fortran/vla-history.exp: Same.
1481 * gdb.fortran/vla-ptype.exp: Same.
1482 * gdb.fortran/vla-value.exp: Same.
1483 * gdb.fortran/whatis_type.exp: Same.
1484 * gdb.guile/guile.exp: Same.
1485 * gdb.multi/tids.exp: Same.
1486 * gdb.python/py-finish-breakpoint.exp: Same.
1487 * gdb.python/py-framefilter.exp: Same.
1488 * gdb.python/py-pp-registration.exp: Same.
1489 * gdb.python/py-xmethods.exp: Same.
1490 * gdb.python/python.exp: Same.
1491 * gdb.server/connect-with-no-symbol-file.exp: Same.
1492 * gdb.server/no-thread-db.exp: Same.
1493 * gdb.server/run-without-local-binary.exp: Same.
1494 * gdb.stabs/weird.exp: Same.
1495 * gdb.threads/attach-many-short-lived-threads.exp: Same.
1496 * gdb.threads/thread-find.exp: Same.
1497 * gdb.threads/tls-shared.exp: Same.
1498 * gdb.threads/tls.exp: Same.
1499 * gdb.threads/wp-replication.exp: Same.
1500 * gdb.trace/ax.exp: Same.
1501 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
1502
1503 2019-10-31 Tom de Vries <tdevries@suse.de>
1504
1505 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
1506 * gdb.ada/array_subscript_addr.exp: Same.
1507 * gdb.ada/arrayidx.exp: Same.
1508 * gdb.ada/arrayparam.exp: Same.
1509 * gdb.ada/arrayptr.exp: Same.
1510 * gdb.ada/boolean_expr.exp: Same.
1511 * gdb.ada/call_pn.exp: Same.
1512 * gdb.ada/complete.exp: Same.
1513 * gdb.ada/fixed_cmp.exp: Same.
1514 * gdb.ada/fun_addr.exp: Same.
1515 * gdb.ada/funcall_param.exp: Same.
1516 * gdb.ada/interface.exp: Same.
1517 * gdb.ada/mod_from_name.exp: Same.
1518 * gdb.ada/null_array.exp: Same.
1519 * gdb.ada/packed_array.exp: Same.
1520 * gdb.ada/packed_tagged.exp: Same.
1521 * gdb.ada/print_chars.exp: Same.
1522 * gdb.ada/print_pc.exp: Same.
1523 * gdb.ada/ptype_arith_binop.exp: Same.
1524 * gdb.ada/ptype_field.exp: Same.
1525 * gdb.ada/ptype_tagged_param.exp: Same.
1526 * gdb.ada/rec_return.exp: Same.
1527 * gdb.ada/ref_tick_size.exp: Same.
1528 * gdb.ada/str_ref_cmp.exp: Same.
1529 * gdb.ada/taft_type.exp: Same.
1530 * gdb.ada/tagged.exp: Same.
1531 * gdb.ada/type_coercion.exp: Same.
1532 * gdb.ada/uninitialized_vars.exp: Same.
1533
1534 2019-10-30 Tom de Vries <tdevries@suse.de>
1535
1536 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
1537
1538 2019-10-26 Tom de Vries <tdevries@suse.de>
1539
1540 * gdb.base/bigcore.c: Fix typos in comments.
1541 * gdb.base/ctf-ptype.c: Same.
1542 * gdb.base/long_long.c: Same.
1543 * gdb.dwarf2/dw2-op-out-param.S: Same.
1544 * gdb.python/py-evthreads.c: Same.
1545 * gdb.reverse/i387-stack-reverse.c: Same.
1546 * gdb.trace/tfile.c: Same.
1547 * lib/compiler.c: Same.
1548 * lib/compiler.cc: Same.
1549
1550 2019-10-25 Tom de Vries <tdevries@suse.de>
1551
1552 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
1553 gdb_test_multiple calls.
1554 * gdb.reverse/sigall-reverse.exp: Same.
1555 * gdb.reverse/solib-precsave.exp: Same.
1556 * gdb.reverse/solib-reverse.exp: Same.
1557 * gdb.reverse/until-precsave.exp: Same.
1558 * gdb.reverse/until-reverse.exp: Same.
1559
1560 2019-10-24 Tom de Vries <tdevries@suse.de>
1561
1562 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
1563 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
1564 kfail using -wrap pattern flag and convenience variable
1565 gdb_test_name.
1566
1567 2019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
1568
1569 * gdb.python/py-progspace.exp: Add tests for the
1570 Progspace.block_for_pc method.
1571
1572 2019-10-23 Tom Tromey <tom@tromey.com>
1573
1574 * configure: Rebuild.
1575 * aclocal.m4: Use m4_include, not sinclude.
1576
1577 2019-10-21 Tom de Vries <tdevries@suse.de>
1578
1579 * gdb.base/infcall-nested-structs.c: Add
1580 __attribute__((noinline,noclone)) to all functions.
1581 (call_all): Add missing variable initialization. Simplify return value.
1582 (breakpt): Increment volatile variable, to prevent call from being
1583 optimized out.
1584 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
1585
1586 2019-10-17 Tom de Vries <tdevries@suse.de>
1587
1588 * gdb.fortran/module.exp: Allow info variables to print info for files
1589 other than module.f90.
1590
1591 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
1592
1593 * gdb.fortran/module.exp: Extend with 'info variables' test.
1594
1595 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
1596
1597 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
1598 F77_FOR_TARGET.
1599
1600 2019-10-16 Tom de Vries <tdevries@suse.de>
1601
1602 PR tdep/25096
1603 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
1604
1605 2019-10-16 Tom de Vries <tdevries@suse.de>
1606
1607 PR tdep/24104
1608 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
1609 Add KFAIL for PR tdep/25096.
1610
1611 2019-10-16 Tom de Vries <tdevries@suse.de>
1612
1613 PR testsuite/25059
1614 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
1615
1616 2019-10-16 Tom de Vries <tdevries@suse.de>
1617
1618 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
1619 as signed.
1620
1621 2019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
1622
1623 * gdb.mi/list-thread-groups-available.exp: Read entries one by
1624 one instead of increasing timeout.
1625
1626 2019-10-13 Tom de Vries <tdevries@suse.de>
1627
1628 PR record/25038
1629 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
1630 * gdb.reverse/sigall-reverse.exp: Same.
1631 * gdb.reverse/solib-precsave.exp: Same.
1632 * gdb.reverse/solib-reverse.exp: Same.
1633 * gdb.reverse/step-precsave.exp: Same.
1634 * gdb.reverse/until-precsave.exp: Same.
1635 * gdb.reverse/until-reverse.exp: Same.
1636 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
1637
1638 2019-10-10 Andreas Arnez <arnez@linux.ibm.com>
1639
1640 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
1641 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
1642 (cmp_struct_05_01, cmp_struct_static_02_01)
1643 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
1644 comparisons.
1645
1646 2019-10-10 Tom de Vries <tdevries@suse.de>
1647
1648 PR testsuite/24888
1649 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
1650 gnatlink.
1651
1652 2019-10-09 Tom de Vries <tdevries@suse.de>
1653
1654 PR testsuite/25048
1655 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
1656
1657 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
1658
1659 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
1660 exceptions due to missing debug information.
1661
1662 2019-10-07 Tom de Vries <tdevries@suse.de>
1663
1664 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
1665
1666 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
1667
1668 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
1669 * gdb.base/annota1.exp: Update to use gdb_test_name.
1670
1671 2019-10-07 Weimin Pan <weimin.pan@oracle.com>
1672
1673 * gdb.base/ctf-whatis.exp: New file.
1674 * gdb.base/ctf-whatis.c: New file.
1675 * gdb.base/ctf-ptype.exp: New file.
1676 * gdb.base/ctf-ptype.c: New file.
1677 * gdb.base/ctf-constvars.exp: New file.
1678 * gdb.base/ctf-constvars.c: New file.
1679 * gdb.base/ctf-cvexpr.exp: New file.
1680
1681 2019-10-04 Tom de Vries <tdevries@suse.de>
1682
1683 * gdb.cp/local-static.c (main): Move declaration of int i out of the
1684 for loop.
1685
1686 2019-10-03 Tom Tromey <tom@tromey.com>
1687
1688 PR rust/24976:
1689 * gdb.rust/simple.rs (Union2): New type.
1690 (main): Use Union2.
1691 * gdb.rust/simple.exp: Add test.
1692
1693 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1694
1695 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
1696 nested function prefix.
1697
1698 2019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
1699 Richard Bunt <richard.bunt@arm.com>
1700 Andrew Burgess <andrew.burgess@embecosm.com>
1701
1702 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
1703 nested functions.
1704 * gdb.fortran/nested-funcs.f90: Update expected results.
1705 * gdb.fortran/nested-funcs-2.exp: New file.
1706 * gdb.fortran/nested-funcs-2.f90: New file.
1707
1708 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1709
1710 * gdb.python/py-parameter.exp: Make test names unique.
1711 * gdb.python/py-template.exp: Likewise.
1712 * gdb.python/py-value.exp: Likewise.
1713
1714 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1715
1716 * gdb.base/break-interp.exp: Reduce test name duplication.
1717 * gdb.base/call-sc.exp: Likewise.
1718 * gdb.base/callfuncs.exp: Likewise.
1719 * gdb.base/charset.exp: Likewise.
1720 * gdb.base/dump.exp: Likewise.
1721 * gdb.base/ena-dis-br.exp: Likewise.
1722 * gdb.base/relational.exp: Likewise.
1723 * gdb.base/step-over-syscall.exp: Likewise.
1724 * gdb.base/structs.exp: Likewise.
1725
1726 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1727
1728 * gdb.linespec/explicit.exp: Make test names unique.
1729 * gdb.linespec/ls-errs.exp: Likewise.
1730
1731 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1732
1733 * gdb.reverse/break-precsave.exp: Make test names unique.
1734 * gdb.reverse/break-reverse.exp: Likewise.
1735 * gdb.reverse/finish-precsave.exp: Likewise.
1736 * gdb.reverse/finish-reverse.exp: Likewise.
1737 * gdb.reverse/machinestate-precsave.exp: Likewise.
1738 * gdb.reverse/machinestate.exp: Likewise.
1739 * gdb.reverse/readv-reverse.exp: Likewise.
1740 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1741 * gdb.reverse/sigall-precsave.exp: Likewise.
1742 * gdb.reverse/sigall-reverse.exp: Likewise.
1743 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
1744 * gdb.reverse/watch-precsave.exp: Likewise.
1745 * gdb.reverse/watch-reverse.exp: Likewise.
1746
1747 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1748
1749 * gdb.threads/stop-with-handle.c: New file.
1750 * gdb.threads/stop-with-handle.exp: New file.
1751
1752 2019-10-03 Tom de Vries <tdevries@suse.de>
1753
1754 PR testsuite/25059
1755 * gdb.base/list-missing-source.exp: Allowing the "Compilation
1756 directory" line to be missing.
1757
1758 2019-10-03 Tom de Vries <tdevries@suse.de>
1759
1760 PR testsuite/25059
1761 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
1762 type optional.
1763
1764 2019-10-02 Andreas Arnez <arnez@linux.ibm.com>
1765
1766 * gdb.python/py-format-string.c (string.h): New include.
1767 (main): Fill a_struct_with_union.the_union.an_int with bytes of
1768 the same value, for endianness-independence.
1769 * gdb.python/py-format-string.exp (default_regexp_dict)
1770 (test_pretty_structs, test_format): Adjust expected output to the
1771 changed initialization.
1772
1773 2019-10-02 Tom Tromey <tromey@adacore.com>
1774
1775 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
1776
1777 2019-10-02 Pedro Alves <palves@redhat.com>
1778 Andrew Burgess <andrew.burgess@embecosm.com>
1779
1780 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
1781 "print-file-var.h".
1782 (this_version_id) Use ATTRIBUTE_VISIBILITY.
1783 (get_version_1): Print this_version_id and its address.
1784 Add extern "C" wrappers around interface functions.
1785 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
1786 "print-file-var.h".
1787 (this_version_id) Use ATTRIBUTE_VISIBILITY.
1788 (get_version_2): Print this_version_id and its address.
1789 Add extern "C" wrappers around interface functions.
1790 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
1791 <stddef.h> and "print-file-var.h".
1792 Add extern "C" wrappers around interface functions.
1793 [VERSION_ID_MAIN] (this_version_id): Define.
1794 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
1795 * gdb.base/print-file-var.h: Add some #defines to simplify setting
1796 up extern "C" blocks.
1797 * gdb.base/print-file-var.exp (test): New, factored out from top
1798 level.
1799 (top level): Test all combinations of attribute hidden or not,
1800 dlopen or not, and this_version_id symbol in main file or not.
1801 Compile tests as both C++ and C, make test names unique.
1802
1803 2019-10-01 Tom Tromey <tom@tromey.com>
1804
1805 * gdb.base/style.exp: Test "show logging filename".
1806
1807 2019-10-01 Tom Tromey <tom@tromey.com>
1808
1809 * lib/gdb-utils.exp (style): Handle "metadata" argument.
1810 * gdb.base/style.exp: Add metadata style test.
1811
1812 2019-10-01 Tom Tromey <tom@tromey.com>
1813
1814 * gdb.base/style.exp: Test "pwd".
1815
1816 2019-10-01 Tom Tromey <tom@tromey.com>
1817
1818 * gdb.base/style.exp: Update tests.
1819
1820 2019-10-01 Andreas Arnez <arnez@linux.ibm.com>
1821
1822 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
1823 'six' to unsigned.
1824 (s1): Initialize fields 'four' and 'six' instead of 'three' and
1825 'five'. Use an all-ones bit pattern for each.
1826 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
1827 to its changed values.
1828
1829 2019-09-30 Tom Tromey <tromey@adacore.com>
1830
1831 * gdb.rust/traits.rs: Disable all warnings.
1832
1833 2019-09-29 Tom de Vries <tdevries@suse.de>
1834
1835 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
1836
1837 2019-09-29 Tom de Vries <tdevries@suse.de>
1838
1839 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
1840
1841 2019-09-27 Tom de Vries <tdevries@suse.de>
1842
1843 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
1844
1845 2019-09-27 Tom de Vries <tdevries@suse.de>
1846
1847 PR record/23188
1848 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
1849
1850 2019-09-26 Tom Tromey <tromey@adacore.com>
1851
1852 * gdb.ada/py_taft.exp: New file.
1853 * gdb.ada/py_taft/main.adb: New file.
1854 * gdb.ada/py_taft/pkg.adb: New file.
1855 * gdb.ada/py_taft/pkg.ads: New file.
1856
1857 2019-09-24 Tom de Vries <tdevries@suse.de>
1858
1859 PR gdb/24598
1860 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
1861
1862 2019-09-22 Tom de Vries <tdevries@suse.de>
1863
1864 * gdb.base/restore.exp: Allow register variables to be optimized out at
1865 -O0.
1866
1867 2019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
1868
1869 * gdb.arch/spu-info.exp: Remove file.
1870 * gdb.arch/spu-info.c: Remove file.
1871 * gdb.arch/spu-ls.exp: Remove file.
1872 * gdb.arch/spu-ls.c: Remove file.
1873
1874 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
1875 * gdb.asm/spu.inc: Remove file.
1876
1877 * gdb.base/dump.exp: Remove support for spu*-*-*.
1878 * gdb.base/stack-checking.exp: Likewise.
1879 * gdb.base/overlays.exp: Likewise.
1880 * gdb.base/ovlymgr.c: Likewise.
1881 * gdb.base/spu.ld: Remove file.
1882
1883 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
1884 * gdb.cp/cpexprs.exp: Likewise.
1885 * gdb.cp/exception.exp: Likewise.
1886 * gdb.cp/gdb2495.exp: Likewise.
1887 * gdb.cp/mb-templates.exp: Likewise.
1888 * gdb.cp/pr9167.exp: Likewise.
1889 * gdb.cp/userdef.exp: Likewise.
1890
1891 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
1892
1893 * gdb.cell: Remove directory.
1894 * lib/cell.exp: Remove file.
1895
1896 2019-09-19 Tom de Vries <tdevries@suse.de>
1897
1898 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
1899
1900 2019-09-19 Tom de Vries <tdevries@suse.de>
1901
1902 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
1903
1904 2019-09-19 Tom de Vries <tdevries@suse.de>
1905
1906 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
1907 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
1908 (gdb_target_cmd): ... here.
1909 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
1910 value 2.
1911
1912 2019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
1913
1914 * gdb.base/source-dir.exp: Avoid having directory names in test
1915 names.
1916
1917 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
1918
1919 * gdb.base/source-dir.exp: Add extra test for mapped compilation
1920 directory.
1921
1922 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
1923
1924 * gdb.base/list-missing-source.exp: New file.
1925
1926 2019-09-14 Tom de Vries <tdevries@suse.de>
1927
1928 PR teststuite/24599
1929 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
1930 * lib/ada.exp (gnatmake_version_at_least): New proc.
1931
1932 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
1933
1934 * gdb.base/maint.exp: Use exec_has_index_section.
1935
1936 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
1937
1938 * gdb.base/maint.exp: Add test for 'maint info sections'.
1939
1940 2019-09-12 Tom de Vries <tdevries@suse.de>
1941
1942 * gdb.base/store.exp: Allow register variables to be optimized out at
1943 -O0.
1944
1945 2019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1946
1947 * gdb.ada/rdv_wait.exp: Update to new task names.
1948 * gdb.base/task_switch_in_core.exp: Likewise.
1949 * gdb.base/info_sources_base.c: Likewise.
1950
1951 2019-09-10 Tom Tromey <tromey@adacore.com>
1952
1953 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
1954
1955 2019-09-10 Tom Tromey <tromey@adacore.com>
1956
1957 * gdb.ada/dgopt.exp: New file.
1958 * gdb.ada/dgopt/x.adb: New file.
1959
1960 2019-09-08 Tom Tromey <tom@tromey.com>
1961
1962 * gdb.tui/resize.exp: Remove setup_xfail.
1963 * gdb.tui/regs.exp: Remove setup_xfail.
1964 * gdb.tui/basic.exp: Remove setup_xfail.
1965
1966 2019-09-06 David Blaikie <dblaikie@gmail.com>
1967
1968 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
1969 * gdb.cp/cplabel.exp: Ditto.
1970 * gdb.linespec/ls-errs.exp: Ditto.
1971
1972 2019-09-05 Tom de Vries <tdevries@suse.de>
1973
1974 * lib/gdb.exp (cmp_file_string): New proc.
1975 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
1976 runto_main. Verify save breakpoints output.
1977
1978 2019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1979
1980 * gdb.base/info-var.exp: Test info variables without running
1981 to main, to avoid expect's buffer overflow.
1982
1983 2019-09-03 Tom Tromey <tromey@adacore.com>
1984
1985 * gdb.ada/bias.exp: New file.
1986 * gdb.ada/bias/bias.adb: New file.
1987 * gdb.ada/print_chars.exp: Add regression test.
1988 * gdb.ada/print_chars/foo.adb (My_Character): New type.
1989 (MC): New variable.
1990
1991 2019-08-29 Sandra Loosemore <sandra@codesourcery.com>
1992
1993 * gdb.base/argv0-symlink.exp: Run only on native target
1994 and local host.
1995
1996 2019-08-29 Tom de Vries <tdevries@suse.de>
1997
1998 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
1999 diverse debug info.
2000 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
2001
2002 2019-08-28 Tom de Vries <tdevries@suse.de>
2003
2004 * gdb.base/info-var.exp: Allow info variables to print info for files
2005 other than info-var-f1.c and info-var-f2.c.
2006
2007 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
2008
2009 * gdb.fortran/info-types.exp: Add module.
2010 * gdb.fortran/info-types.f90: Update expected results.
2011
2012 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
2013
2014 * gdb.fortran/info-types.exp: New file.
2015 * gdb.fortran/info-types.f90: New file.
2016 * lib/fortran.exp (fortran_character1): New proc.
2017
2018 2019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
2019
2020 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
2021 functions'. Reindent as needed.
2022 * gdb.base/info-var-f1.c: New file.
2023 * gdb.base/info-var-f2.c: New file.
2024 * gdb.base/info-var.exp: New file.
2025 * gdb.base/info-var.h: New file.
2026
2027 2019-08-26 Tom de Vries <tdevries@suse.de>
2028
2029 PR c++/24852
2030 * gdb.cp/no-libstdcxx-probe.exp: New test.
2031
2032 2019-08-26 Tom de Vries <tdevries@suse.de>
2033
2034 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
2035 * tests need to be skipped.
2036 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
2037 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
2038 mi_skip_libstdcxx_probe_tests.
2039
2040 2019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
2041
2042 * gdb.python/py-xmethods.exp: Use raw strings when passing
2043 arguments to SimpleXMethodMatcher.
2044
2045 2019-08-22 Tom de Vries <tdevries@suse.de>
2046
2047 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
2048 more informative.
2049
2050 2019-08-21 Pedro Alves <palves@redhat.com>
2051
2052 * gdb.base/with.exp: Test "with" with no arguments.
2053
2054 2019-08-21 Tom de Vries <tdevries@suse.de>
2055
2056 * gdb.base/gdb-caching-proc.exp: Sort files.
2057
2058 2019-08-20 Tom de Vries <tdevries@suse.de>
2059
2060 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
2061 compilation.
2062
2063 2019-08-16 Tom de Vries <tdevries@suse.de>
2064
2065 * gdb.base/compare-sections.exp ("after run to main"): Allow
2066 mismatched read-only sections for PIE executables.
2067
2068 2019-08-16 Tom Tromey <tom@tromey.com>
2069
2070 * lib/tuiterm.exp (_csi_Z): New proc.
2071 * gdb.tui/basic.exp: Update window positions.
2072 * gdb.tui/empty.exp: Update window positions.
2073
2074 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
2075
2076 * gdb.base/examine-backward.exp: Correct regexp for
2077 "examine 3 bytes backward from ${address_zero}".
2078
2079 2019-08-15 Tom Tromey <tom@tromey.com>
2080
2081 * gdb.tui/empty.exp: Enable resizing tests.
2082
2083 2019-08-15 Tom Tromey <tromey@adacore.com>
2084
2085 * gdb.ada/char_enum.exp: Add regression tests.
2086 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
2087 and '0'.
2088 (Char, Gchar): Update.
2089 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
2090
2091 2019-08-15 Christian Biesinger <cbiesinger@google.com>
2092
2093 * gdb.python/python.exp: Expect a leading underscore on
2094 GdbOutput{,Error}File.
2095
2096 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
2097
2098 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
2099 Windows host.
2100
2101 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
2102
2103 * gdb.base/batch-preserve-term-settings.exp
2104 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
2105
2106 2019-08-15 Christian Biesinger <cbiesinger@google.com>
2107
2108 * lib/gdb.exp: When running on a mingw target, replace
2109 /x/ with x:/.
2110
2111 2019-08-14 Alan Hayward <alan.hayward@arm.com>
2112
2113 * gdb.arch/aarch64-prologue.c: New test.
2114 * gdb.arch/aarch64-prologue.exp: New file.
2115
2116 2019-08-13 Tom de Vries <tdevries@suse.de>
2117
2118 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
2119 Thread.
2120
2121 2019-08-13 Sandra Loosemore <sandra@codesourcery.com>
2122
2123 * gdb.python/py-completion.exp: Download the .py file to the host
2124 and use its host pathname. Conditionalize tests that use
2125 tab completion and manipulate files on the build machine.
2126 * gdb.python/py-events.exp: Download the .py file to the host
2127 and use its host pathname.
2128 * gdb.python/py-evsignal.exp: Likewise.
2129 * gdb.python/py-evthreads.exp: Likewise.
2130 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
2131 pathname syntax.
2132 * gdb.python/py-framefilter.exp: Download the .py file to the right
2133 place on the host. Match Windows pathname syntax.
2134 * gdb.python/py-mi-var-info-path-expression.exp: Download the
2135 .py file to the host and use its host pathname.
2136 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
2137 * gdb.python/py-objfile.exp: Expect a host pathname, not a
2138 build pathname. Skip symlink test on Windows host. Add missing
2139 newline at end of file.
2140 * gdb.python/py-pp-maint.exp: Download the .py file to the host
2141 and use its host pathname.
2142 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
2143 * gdb.python/py-section-script.exp: Use host location of binfile
2144 on safe-path. Use correct path separator on Windows host.
2145 Reorder alternatives in gdb_test_multiple to prevent matching
2146 the wrong alternative on success.
2147 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
2148
2149 2019-08-12 Patrick Palka <patrick@parcs.ath.cx>
2150
2151 * gdb.gdb/selftest.exp (test_with_self): Update test to now
2152 expect the GDB inferior to no longer immediately stop after
2153 being resumed with "signal SIGINT".
2154
2155 2019-08-09 Sandra Loosemore <sandra@codesourcery.com>
2156
2157 * gdb.linespec/break-ask.exp: Generalize regexps to match
2158 Windows pathnames too.
2159
2160 2019-08-08 Tom de Vries <tdevries@suse.de>
2161
2162 PR testsuite/24862
2163 * lib/tuiterm.exp (_accept): Fix CSI regexp.
2164
2165 2019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2166
2167 * gdb.base/style.exp: Update tests for help doc new invariants.
2168 * gdb.base/help.exp: Likewise.
2169
2170 2019-08-06 Tom Tromey <tom@tromey.com>
2171
2172 * gdb.base/style.exp: Add disassemble test.
2173 * gdb.base/style.c (some_called_function): New function.
2174 (main): Use it.
2175
2176 2019-08-05 Christian Biesinger <cbiesinger@google.com>
2177
2178 * gdb.python/py-block.exp: Test dictionary access on blocks.
2179
2180 2019-08-05 Simon Marchi <simon.marchi@efficios.com>
2181
2182 PR gdb/24863
2183 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
2184 -list-thread-groups --available test when running under
2185 check-read1.
2186
2187 2019-08-05 Tom de Vries <tdevries@suse.de>
2188
2189 PR testsuite/24863
2190 * lib/gdb.exp (with_read1_timeout_factor): New proc.
2191 * gdb.base/help.exp: Use with_read1_timeout_factor.
2192 * gdb.base/info-macros.exp: Same.
2193 * gdb.cp/nested-types.exp: Same.
2194
2195 2019-08-05 Tom de Vries <tdevries@suse.de>
2196
2197 * lib/gdb.exp (version_at_least): Factor out of ...
2198 (tcl_version_at_least): ... here.
2199 (gdb_compile): Fail if pie results in non-PIE executable.
2200 (readelf_version, readelf_prints_pie): New proc.
2201 (exec_is_pie): Return -1 if unknown.
2202
2203 2019-08-05 Tom de Vries <tdevries@suse.de>
2204
2205 * lib/gdb.exp (tcl_version_at_least): Fix typo.
2206
2207 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
2208
2209 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
2210
2211 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
2212
2213 * lib/completion-support.exp (test_gdb_complete_none): Skip
2214 tab completion tests if no readline support.
2215 (test_gdb_complete_unique_re): Likewise.
2216 (test_gdb_complete_multiple): Likewise.
2217
2218 2019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2219
2220 * gdb.base/info_sources.exp: New file.
2221 * gdb.base/info_sources.c: New file.
2222 * gdb.base/info_sources_base.c: New file.
2223
2224 2019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2225
2226 * gdb.base/batch-exit-status.exp: Call test_exit_status with
2227 prefix argument.
2228 (test_exit_status): Add prefix argument.
2229
2230 2019-08-01 Tom de Vries <tdevries@suse.de>
2231
2232 PR testsuite/24863
2233 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
2234 calling exp_continue for new thread and thread exited messages.
2235
2236 2019-08-01 Tom de Vries <tdevries@suse.de>
2237
2238 PR testsuite/24863
2239 * gdb.base/structs.exp: Fix check-read1 timeout using
2240 gdb_test_sequence.
2241 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
2242
2243 2019-08-01 Tom de Vries <tdevries@suse.de>
2244
2245 PR testsuite/24863
2246 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
2247 line.
2248
2249 2019-08-01 Tom de Vries <tdevries@suse.de>
2250
2251 PR testsuite/24863
2252 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
2253
2254 2019-07-30 Tom Tromey <tromey@adacore.com>
2255
2256 * gdb.ada/display_nested.exp: New file.
2257 * gdb.ada/display_nested/foo.adb: New file.
2258 * gdb.ada/display_nested/pack.adb: New file.
2259 * gdb.ada/display_nested/pack.ads: New file.
2260
2261 2019-07-30 Christian Biesinger <cbiesinger@google.com>
2262
2263 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
2264 namespace.
2265 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
2266
2267 2019-07-30 Tom de Vries <tdevries@suse.de>
2268
2269 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
2270 instead.
2271
2272 2019-07-30 Tom de Vries <tdevries@suse.de>
2273
2274 PR testsuite/24834
2275 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
2276 (exec_is_pie): New proc.
2277
2278 2019-07-29 Christian Biesinger <cbiesinger@google.com>
2279
2280 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
2281
2282 2019-07-29 Christian Biesinger <cbiesinger@google.com>
2283
2284 * gdb.python/py-objfile.c: Add global and static vars.
2285 * gdb.python/py-objfile.exp: Test new functions Objfile.
2286 lookup_global_symbol and lookup_static_symbol.
2287
2288 2019-07-29 Tom Tromey <tom@tromey.com>
2289
2290 * lib/tuiterm.exp (Term::_csi_@): New proc.
2291 (Term::_csi_X): Don't move cursor.
2292
2293 2019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2294
2295 * gdb.base/options.exp: Update backtrace - completion to
2296 new option -frame-info.
2297 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
2298 Test new 'set print frame-info'. Test backtrace -frame-info
2299 overriding 'set print frame-info'.
2300 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
2301 Test new 'set print frame-info'.
2302 Verify consistency of backtrace with and without filters, with and
2303 without -no-filters.
2304 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
2305 default.
2306
2307 2019-07-29 Tom de Vries <tdevries@suse.de>
2308
2309 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
2310 no arguments".
2311
2312 2019-07-29 Tom de Vries <tdevries@suse.de>
2313
2314 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
2315 is a substring of the first for "complete non-unique file name".
2316
2317 2019-07-29 Tom de Vries <tdevries@suse.de>
2318
2319 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
2320 with ".*".
2321
2322 2019-07-29 Tom de Vries <tdevries@suse.de>
2323
2324 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
2325 Pass prompt_regexp parameter to gdb_test_multiple calls.
2326
2327 2019-07-29 Tom de Vries <tdevries@suse.de>
2328
2329 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
2330 print registers" regexps.
2331
2332 2019-07-29 Tom de Vries <tdevries@suse.de>
2333
2334 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
2335
2336 2019-07-29 Tom de Vries <tdevries@suse.de>
2337
2338 PR gdb/24855
2339 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
2340 (skip_python_tests_prompt): Add prompt_regexp argument to
2341 gdb_test_multiple calls.
2342
2343 2019-07-27 Tom Tromey <tom@tromey.com>
2344
2345 * gdb.tui/main.exp: New file.
2346
2347 2019-07-27 Tom Tromey <tom@tromey.com>
2348
2349 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
2350 optional.
2351 * gdb.tui/empty.exp: New file.
2352
2353 2019-07-27 Tom Tromey <tom@tromey.com>
2354
2355 * lib/tuiterm.exp (spawn): New proc.
2356 (Term::resize): New proc.
2357 * gdb.tui/resize.exp: New file.
2358
2359 2019-07-27 Tom Tromey <tom@tromey.com>
2360
2361 * gdb.tui/list.exp: New file.
2362
2363 2019-07-27 Tom Tromey <tom@tromey.com>
2364
2365 * gdb.tui/regs.exp: New file.
2366
2367 2019-07-27 Tom Tromey <tom@tromey.com>
2368
2369 * gdb.tui/basic.exp: Add "layout split" test.
2370
2371 2019-07-27 Tom Tromey <tom@tromey.com>
2372
2373 * gdb.tui/basic.exp: Add "layout asm" test.
2374
2375 2019-07-27 Tom Tromey <tom@tromey.com>
2376
2377 * lib/tuiterm.exp: New file.
2378 * gdb.tui/basic.exp: New file.
2379
2380 2019-07-27 Kevin Buettner <kevinb@redhat.com>
2381
2382 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
2383 Enable tests associated with this flag. Adjust regex
2384 referencing "foo_low" to now refer to "foo_cold" instead.
2385
2386 2019-07-27 Kevin Buettner <kevinb@redhat.com>
2387
2388 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
2389 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
2390 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
2391 foo_cold. Revise comments to match.
2392 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
2393 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
2394 were wrapped into this proc; Call do_test in loop from outermost
2395 level.
2396 (foo_low): Rename all occurrences to "foo_cold".
2397 (backtrace from baz): New test.
2398 (x2/i foo_cold): New test.
2399 (info line *foo_cold): New test.
2400
2401 2019-07-26 Tom de Vries <tdevries@suse.de>
2402
2403 * gdb.arch/i386-pkru.exp: Fix unterminated string.
2404
2405 2019-07-25 Tom de Vries <tdevries@suse.de>
2406
2407 PR testsuite/24830
2408 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
2409 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
2410 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
2411 (skip_libstdcxx_probe_tests): ... here.
2412 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
2413
2414 2019-07-24 Tom de Vries <tdevries@suse.de>
2415
2416 PR testsuite/24807
2417 * gdb.objc/basicclass.m: Include stdio.h.
2418 * gdb.objc/nondebug.m: Same.
2419 * gdb.objc/objcdecode.m: Same.
2420
2421 2019-07-24 Tom de Vries <tdevries@suse.de>
2422
2423 PR testsuite/24612
2424 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
2425 additional_flags.
2426
2427 2019-07-24 Tom de Vries <tdevries@suse.de>
2428
2429 PR testsuite/24831
2430 * gdb.multi/tids.exp: Update error messages for info threads.
2431
2432 2019-07-24 Tom de Vries <tdevries@suse.de>
2433
2434 * gdb.base/info-types.exp: Allow info types to print info for more than
2435 one file.
2436
2437 2019-07-23 Tom de Vries <tdevries@suse.de>
2438
2439 PR testsuite/24842
2440 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
2441 gdb_spawn_with_cmdline_opts.
2442
2443 2019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
2444
2445 * gdb.arch/arm-cmse-sgstubs.c: New test.
2446 * gdb.arch/arm-cmse-sgstubs.exp: New file.
2447
2448 2019-07-23 Tom de Vries <tdevries@suse.de>
2449
2450 PR testsuite/24711
2451 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
2452 issuing next command.
2453
2454 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
2455
2456 * gdb.ada/info_auto_lang.exp: Update expected results.
2457 * gdb.base/info-types.c: Add additional types to check.
2458 * gdb.base/info-types.exp: Update expected results.
2459
2460 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
2461
2462 * gdb.base/info-types.c: New file.
2463 * gdb.base/info-types.exp: New file.
2464
2465 2019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
2466
2467 * gdb.arch/riscv-bp-infcall.c: New file.
2468 * gdb.arch/riscv-bp-infcall.exp: New file.
2469
2470 2019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
2471
2472 PR breakpoints/24541
2473 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
2474
2475 2019-07-14 Tom de Vries <tdevries@suse.de>
2476
2477 PR testsuite/24760
2478 * gdb.objc/basicclass.exp: Fix unterminated string.
2479
2480 2019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
2481 Andrew Burgess <andrew.burgess@embecosm.com>
2482
2483 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
2484 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
2485 negative bounds.
2486 * gdb.fortran/vla-value.exp: Print elements of an array with
2487 negative bounds.
2488 * gdb.fortran/vla.f90: Setup an array with negative bounds for
2489 testing.
2490
2491 2019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
2492
2493 * gdb.base/options.exp (expect_string): Dequote strings in
2494 results.
2495 (test-string): Test strings with different quoting and reindent.
2496
2497 2019-07-10 Tom Tromey <tromey@adacore.com>
2498
2499 * gdb.ada/mi_ex_cond.exp: Update expected results.
2500 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
2501 * gdb.ada/mi_catch_ex.exp: Update expected results.
2502 * gdb.ada/mi_catch_assert.exp: Update expected results.
2503 * gdb.ada/catch_ex.exp (catch_exception_info)
2504 (catch_exception_entry, catch_assert_entry)
2505 (catch_unhandled_entry): Update.
2506 * gdb.ada/catch_assert_if.exp: Update expected results.
2507
2508 2019-07-10 Richard Bunt <richard.bunt@arm.com>
2509 Stephen Roberts <stephen.roberts@arm.com>
2510
2511 * gdb.base/define.exp: Restore original prompt.
2512
2513 2019-07-09 Pedro Alves <palves@redhat.com>
2514
2515 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
2516 breakpoints" output.
2517 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
2518 * gdb.python/py-breakpoint.exp: No longer expect that "catch
2519 throw" creates breakpoint.
2520 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
2521 'type="catchpoint"'.
2522
2523 2019-07-09 Pedro Alves <palves@redhat.com>
2524
2525 PR c++/15468
2526 * gdb.cp/except-multi-location-lib.cc: New.
2527 * gdb.cp/except-multi-location-main.cc: New.
2528 * gdb.cp/except-multi-location.exp: New.
2529
2530 2019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
2531
2532 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
2533 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
2534 argument and update callers.
2535
2536 2019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2537
2538 * gdb.arch/amd64-break-on-asm-line.S: New file.
2539 * gdb.arch/amd64-break-on-asm-line.exp: New file.
2540
2541 2019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2542
2543 * gdb.base/printcmds.exp: Test printing C string and
2544 C wide string convenience vars without transiting via the inferior.
2545 Also make test names unique.
2546
2547 2019-07-08 Alan Hayward <alan.hayward@arm.com>
2548
2549 PR breakpoints/25011
2550 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
2551
2552 2019-07-04 Pedro Alves <palves@redhat.com>
2553
2554 * lib/gdb.exp (foreach_with_prefix): Don't return early if
2555 body returned ok(0), break(3) or continue(4).
2556 * gdb.testsuite/foreach_with_prefix.exp: New file.
2557
2558 2019-07-04 Alan Hayward <alan.hayward@arm.com>
2559
2560 * gdb.server/unittest.exp: Allow 0 unit tests to run.
2561
2562 2019-07-03 Pedro Alves <palves@redhat.com>
2563
2564 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
2565 "return -code".
2566
2567 2019-07-03 Pedro Alves <palves@redhat.com>
2568
2569 PR cli/24732
2570 * gdb.base/shell.exp: Load completion-support.exp.
2571 Adjust expected error output. Add completion tests.
2572
2573 2019-07-03 Pedro Alves <palves@redhat.com>
2574
2575 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
2576 string_to_regexp.
2577
2578 2019-07-03 Pedro Alves <palves@redhat.com>
2579
2580 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
2581 (expect_integer): Adjust to expect "-string".
2582 (expect_string): New.
2583 (all_options): Expect "-string".
2584 (test-flag, test-boolean): Adjust to expect "-string".
2585 (test-string): New proc.
2586 (top level): Call it.
2587
2588 2019-07-03 Pedro Alves <palves@redhat.com>
2589
2590 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
2591 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
2592 the expected output in the success.
2593
2594 2019-07-03 Pedro Alves <palves@redhat.com>
2595
2596 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
2597 Split one gdb_test_multiple call in two to avoid a race.
2598
2599 2019-07-03 Pedro Alves <palves@redhat.com>
2600
2601 * gdb.base/with.c: New file.
2602 * gdb.base/with.exp: New file.
2603
2604 2019-07-03 Pedro Alves <palves@redhat.com>
2605
2606 * gdb.base/settings.exp: Replace all references to "maint
2607 test-settings set" with references to "maint set test-settings",
2608 and all references to "maint test-settings show" with references
2609 to "maint show test-settings".
2610
2611 2019-07-03 Pedro Alves <palves@redhat.com>
2612
2613 * gdb.base/settings.exp (test-string): Adjust expected out when
2614 testing "maint test-settings show filename"
2615
2616 2019-07-02 Pedro Alves <palves@redhat.com>
2617
2618 * gdb.base/options.exp (test-info-threads): New procedure.
2619 (top level): Call it.
2620
2621 2019-06-28 Tom Tromey <tromey@adacore.com>
2622
2623 * gdb.dwarf2/ada-linkage-name.c: New file.
2624 * gdb.dwarf2/ada-linkage-name.exp: New file.
2625
2626 2019-06-27 Tom Tromey <tromey@adacore.com>
2627
2628 PR c++/20020:
2629 * gdb.cp/constexpr-field.exp: Use setup_xfail.
2630
2631 2019-06-26 Tom de Vries <tdevries@suse.de>
2632
2633 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
2634
2635 2019-06-26 Tom de Vries <tdevries@suse.de>
2636
2637 * gdb.base/index-cache.exp: Add back missing debug option.
2638
2639 2019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2640
2641 * gdb.base/alias.exp: Test non matching/non existing prefixes.
2642
2643 2019-06-25 Tom de Vries <tdevries@suse.de>
2644
2645 PR testsuite/24727
2646 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
2647
2648 2019-06-24 Tom de Vries <tdevries@suse.de>
2649
2650 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
2651
2652 2019-06-24 Tom de Vries <tdevries@suse.de>
2653
2654 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
2655 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
2656 * gdb.trace/unavailable-dwarf-piece.exp: Same.
2657
2658 2019-06-24 Tom de Vries <tdevries@suse.de>
2659
2660 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
2661
2662 2019-06-21 Tom de Vries <tdevries@suse.de>
2663
2664 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
2665
2666 2019-06-21 Tom de Vries <tdevries@suse.de>
2667
2668 PR testsuite/24518
2669 PR ada/24713
2670 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
2671 index.
2672
2673 2019-06-19 Tom Tromey <tromey@adacore.com>
2674
2675 * gdb.ada/length_cond.exp: Add intro comment.
2676
2677 2019-06-19 Tom Tromey <tromey@adacore.com>
2678
2679 * gdb.ada/length_cond.exp: New file.
2680 * gdb.ada/length_cond/length_cond.adb: New file.
2681 * gdb.ada/length_cond/pck.adb: New file.
2682 * gdb.ada/length_cond/pck.ads: New file.
2683
2684 2019-06-18 Tom de Vries <tdevries@suse.de>
2685
2686 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
2687
2688 2019-06-18 Tom Tromey <tromey@adacore.com>
2689
2690 * gdb.base/list0.h: Add comment explaining control character.
2691
2692 2019-06-18 Tom de Vries <tdevries@suse.de>
2693
2694 * boards/fission.exp: Break up long debug_flags line.
2695
2696 2019-06-16 Tom de Vries <tdevries@suse.de>
2697
2698 PR gdb/24445
2699 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
2700 generated index.
2701
2702 2019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
2703
2704 PR gdb/24686
2705 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
2706 improve detection of bug gdb/24541.
2707
2708 2019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
2709
2710 PR gdb/24669
2711 * gdb.base/index-cache.exp (uses_readnow,
2712 expecting_index_cache_use): Define global variable.
2713 (test_cache_enabled_miss, test_cache_enabled_hit): Use
2714 expecting_index_cache_use.
2715
2716 2019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
2717 Andrew Burgess <andrew.burgess@embecosm.com>
2718
2719 * gdb.fortran/pointers.f90: New file.
2720 * gdb.fortran/print_type.exp: New file.
2721 * gdb.fortran/vla-ptype.exp: Adapt expected results.
2722 * gdb.fortran/vla-type.exp: Likewise.
2723 * gdb.fortran/vla-value.exp: Likewise.
2724 * gdb.mi/mi-vla-fortran.exp: Likewise.
2725
2726 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2727
2728 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
2729 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
2730 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
2731 as a stop reason.
2732
2733 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2734
2735 * gdb.base/annota1.exp: Update expected results.
2736 * gdb.cp/annota2.exp: Likewise.
2737 * gdb.cp/annota3.exp: Likewise.
2738
2739 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2740
2741 * gdb.base/style-logging.exp: Remove path from test name.
2742
2743 2019-06-14 Tom Tromey <tromey@adacore.com>
2744
2745 PR gdb/24502:
2746 * gdb.base/style-logging.exp: New file.
2747
2748 2019-06-14 Tom Tromey <tromey@adacore.com>
2749
2750 * gdb.base/symfile-warn.exp: New file.
2751 * gdb.base/symfile-warn.c: New file.
2752
2753 2019-06-14 Tom Tromey <tromey@adacore.com>
2754
2755 * gdb.base/annotate-symlink.exp: New file.
2756
2757 2019-06-14 Tom Tromey <tromey@adacore.com>
2758
2759 * gdb.ada/set_wstr.exp: Add reassignment test.
2760
2761 2019-06-14 Tom Tromey <tromey@adacore.com>
2762
2763 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
2764 'unchecked_access and 'unrestricted_access as well.
2765
2766 2019-06-14 Tom Tromey <tromey@adacore.com>
2767
2768 PR ada/24539:
2769 * gdb.ada/vla.exp: Update tests.
2770 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
2771 pragma.
2772
2773 2019-06-13 Pedro Alves <palves@redhat.com>
2774
2775 * gdb.base/settings.exp (test-integer): Test junk after
2776 "unlimited".
2777
2778 2019-06-13 Pedro Alves <palves@redhat.com>
2779
2780 * gdb.base/options.exp (test-thread-apply): New.
2781 (top level): Call it.
2782
2783 2019-06-13 Pedro Alves <palves@redhat.com>
2784
2785 * gdb.base/options.exp (test-frame-apply): New.
2786 (top level): Test print commands with different "frame apply"
2787 prefixes.
2788
2789 2019-06-13 Pedro Alves <palves@redhat.com>
2790
2791 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
2792 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
2793 'max_completions' parameter and handle it.
2794 (test_gdb_completion_offers_commands): New.
2795
2796 2019-06-13 Pedro Alves <palves@redhat.com>
2797
2798 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
2799
2800 2019-06-13 Pedro Alves <palves@redhat.com>
2801
2802 * gdb.base/options.exp (test-backtrace): New.
2803 (top level): Call it.
2804
2805 2019-06-13 Pedro Alves <palves@redhat.com>
2806
2807 * gdb.guile/scm-frame-args.exp: Use "set print
2808 raw-frame-arguments" instead of "set print raw frame-arguments".
2809 * gdb.python/py-frame-args.exp: Likewise.
2810
2811 2019-06-13 Pedro Alves <palves@redhat.com>
2812
2813 * gdb.compile/compile.exp: Adjust expected output to option
2814 processing changes.
2815
2816 2019-06-13 Pedro Alves <palves@redhat.com>
2817
2818 * gdb.base/options.exp: Build executable.
2819 (test-print): New procedure.
2820 (top level): Call it, once for "print" and another for "compile
2821 print".
2822
2823 2019-06-13 Pedro Alves <palves@redhat.com>
2824
2825 * gdb.base/options.c: New file.
2826 * gdb.base/options.exp: New file.
2827
2828 2019-06-13 Pedro Alves <palves@redhat.com>
2829
2830 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
2831 that "o" is ambiguous.
2832
2833 2019-06-13 Pedro Alves <palves@redhat.com>
2834
2835 * gdb.base/settings.c: New file.
2836 * gdb.base/settings.exp: New file.
2837
2838 2019-06-13 Pedro Alves <palves@redhat.com>
2839
2840 * gdb.base/completion.exp: Fix comment typo.
2841
2842 2019-06-13 Pedro Alves <palves@redhat.com>
2843
2844 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
2845 foo --1" test.
2846
2847 2019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
2848
2849 * gdb.fortran/block-data.f: New.
2850 * gdb.fortran/block-data.exp: New.
2851
2852 2019-06-11 Tom de Vries <tdevries@suse.de>
2853
2854 PR testsuite/24521
2855 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
2856 message.
2857
2858 2019-06-11 Tom de Vries <tdevries@suse.de>
2859
2860 PR testsuite/24521
2861 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
2862
2863 2019-06-11 Tom de Vries <tdevries@suse.de>
2864
2865 * boards/readnow.exp: New file.
2866
2867 2019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
2868
2869 * gdb.fortran/vla-sizeof.exp: Update expected results.
2870
2871 2019-06-06 Amos Bird <amosbird@gmail.com>
2872
2873 * gdb.base/annota1.exp (thread_switch): Add test for
2874 thread-exited annotation.
2875
2876 2019-06-06 Tom Tromey <tromey@adacore.com>
2877
2878 * gdb.base/maint.exp: Expect command started/finished output.
2879
2880 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
2881
2882 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
2883 comment.
2884 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
2885
2886 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
2887
2888 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
2889 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
2890 * gdb.arch/riscv-unwind-long-insn.c: New file.
2891 * gdb.arch/riscv-unwind-long-insn.exp: New file.
2892
2893 2019-06-04 Christian Biesinger <cbiesinger@google.com>
2894
2895 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
2896
2897 2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2898
2899 * lib/gdb.exp (help_list_trailer): New regexp variable
2900 factorizing the help trailer message.
2901 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
2902 arg to allow to better factorize various tests.
2903 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
2904 (test_prefix_command_help): Use help_list_trailer.
2905 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
2906 * gdb.guile/scm-cmd.exp: Likewise.
2907 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
2908 * gdb.base/help.exp: Use test_user_defined_class_help.
2909 * gdb.base/style.exp: Add tests for styling of help and apropos.
2910 * lib/gdb-utils.exp (style): Add title and highlight styles.
2911
2912 2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2913
2914 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
2915 $_shell_exitsignal.
2916 * gdb.base/default.exp: Update for new convenience variables.
2917
2918 2019-05-29 Tom Tromey <tromey@adacore.com>
2919
2920 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
2921 to "break complete ada" test case's regexp.
2922
2923 2019-05-29 Tom Tromey <tromey@adacore.com>
2924
2925 PR c++/20020:
2926 * gdb.cp/constexpr-field.exp: New file.
2927 * gdb.cp/constexpr-field.cc: New file.
2928
2929 2019-05-29 Tom Tromey <tromey@adacore.com>
2930
2931 * gdb.base/finish.exp (finish_no_print): New proc.
2932 (finish_tests): Call it.
2933
2934 2019-05-24 Tom de Vries <tdevries@suse.de>
2935
2936 * gdb.dwarf2/gdb-add-index.exp: New file.
2937
2938 2019-05-22 Tom Tromey <tromey@adacore.com>
2939
2940 * gdb.base/info-shared.exp (check_info_shared): Use "style".
2941 * gdb.base/style.exp: Use "style".
2942 * lib/gdb-utils.exp (style): New proc.
2943
2944 2019-05-22 Tom de Vries <tdevries@suse.de>
2945
2946 * gdb.base/align.exp: Require c++11.
2947
2948 2019-05-22 Tom de Vries <tdevries@suse.de>
2949
2950 PR testsuite/24586
2951 * gdb.python/py-mi-var-info-path-expression.exp: Call
2952 mi_skip_python_tests to check if python is supported.
2953
2954 2019-05-22 Alan Hayward <alan.hayward@arm.com>
2955
2956 * gdb.arch/aarch64-pauth.c: New test.
2957 * gdb.arch/aarch64-pauth.exp: New file.
2958
2959 2019-05-22 Alan Hayward <alan.hayward@arm.com>
2960
2961 * README (Re-running Tests Outside The Testsuite): New section.
2962
2963 2019-05-21 Tom de Vries <tdevries@suse.de>
2964
2965 * gdb.arch/amd64-eval.exp: Require c++11.
2966 * gdb.base/max-depth.exp: Same.
2967 * gdb.compile/compile-cplus-array-decay.exp: Same.
2968 * gdb.cp/meth-typedefs.exp: Same.
2969 * gdb.cp/subtypes.exp: Same.
2970 * gdb.cp/temargs.exp: Same.
2971
2972 2019-05-21 Alan Hayward <alan.hayward@arm.com>
2973
2974 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
2975
2976 2019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2977
2978 PR gdb/18644
2979 * gdb.fortran/complex.exp: Remove setup_kfail calls.
2980 * gdb.fortran/printing-types.exp: Add new test.
2981 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
2982 testing.
2983 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
2984 setup_kfail call.
2985
2986 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2987
2988 * README (Running the Testsuite): Change example.
2989 (Testsuite Parameters): Remove TRANSCRIPT.
2990 * lib/gdb.exp: Remove TRANSCRIPT check.
2991
2992 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2993
2994 * README (Testsuite Parameters): Add replay logging to
2995 GDBSERVER_DEBUG.
2996 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
2997 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
2998 as a comma separated list.
2999 (gdb_debug_init): Override procedure.
3000
3001 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3002
3003 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
3004 (gdb_write_cmd_file): New procedure.
3005 * lib/gdbserver-support.exp (gdbserver_start): Call
3006 gdbserver_write_cmd_file.
3007 (gdbserver_write_cmd_file): New procedure.
3008
3009 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3010
3011 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
3012 (delete_breakpoints): Likewise.
3013 (gdb_run_cmd): Likewise.
3014 (gdb_start_cmd): Likewise.
3015 (gdb_starti_cmd): Likewise.
3016 (gdb_internal_error_resync): Likewise.
3017 (gdb_test_multiple): Likewise.
3018 (gdb_reinitialize_dir): Likewise.
3019 (default_gdb_exit): Likewise.
3020 (gdb_file_cmd): Mark kill as optional.
3021 (default_gdb_start): Call gdb_stdin_log_init.
3022 (send_gdb): Call gdb_stdin_log_write.
3023 (rerun_to_main): Mark Y as an answer.
3024 (gdb_stdin_log_init): New function.
3025 (gdb_stdin_log_write): Likewise.
3026
3027 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3028
3029 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
3030 * gdb.base/debug-expr.exp: Likewise.
3031 * gdb.base/foll-fork.exp: Likewise.
3032 * gdb.base/foll-vfork.exp: Likewise.
3033 * gdb.base/fork-print-inferior-events.exp: Likewise.
3034 * gdb.base/gdb-sigterm.exp: Likewise.
3035 * gdb.base/gdbinit-history.exp: Likewise.
3036 * gdb.base/osabi.exp: Likewise.
3037 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
3038 * gdb.base/ui-redirect.exp: Likewise.
3039 * gdb.gdb/unittest.exp: Likewise.
3040 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
3041 * gdb.mi/mi-watch.exp: Likewise.
3042 * gdb.mi/new-ui-mi-sync.exp: Likewise.
3043 * gdb.mi/user-selected-context-sync.exp: Likewise.
3044 * gdb.python/python.exp: Disable debug test when debugging.
3045 * gdb.threads/check-libthread-db.exp: Disable when debugging.
3046 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3047 Likewise.
3048 * gdb.threads/stepi-random-signal.exp: Likewise.
3049
3050 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3051
3052 * Makefile.in: Pass through GDB_DEBUG.
3053 * README (Testsuite Parameters): Add GDB_DEBUG.
3054 (gdb,debug): Add board setting.
3055 * lib/gdb.exp (default_gdb_start): Start debugging.
3056 (gdb_debug_enabled): New procedure.
3057 (gdb_debug_init): Likewise.
3058
3059 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3060
3061 * Makefile.in: Pass through GDB_DEBUG.
3062 * README (Testsuite Parameters): Add GDB_DEBUG.
3063 (gdb,debug): Add board setting.
3064 * lib/gdb.exp (default_gdb_start): Start debugging.
3065 (gdb_debug_enabled): New procedure.
3066 (gdb_debug_init): Likewise.
3067
3068 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3069
3070 * gdb.base/ui-redirect.exp: Add debug redirect tests.
3071
3072 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3073
3074 * gdb.base/ui-redirect.exp: Test redirection.
3075
3076 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
3077
3078 * gdb.mi/mi-complete.exp: New file.
3079 * gdb.mi/mi-complete.cc: Likewise.
3080
3081 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
3082
3083 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
3084 indexed and sliced arrays, and pointers to arrays.
3085
3086 2019-05-14 Tom Tromey <tromey@adacore.com>
3087
3088 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
3089 styling test.
3090
3091 2019-05-14 Tom de Vries <tdevries@suse.de>
3092
3093 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
3094 selection entry encoding.
3095
3096 2019-05-10 Tom Tromey <tromey@adacore.com>
3097
3098 * gdb.ada/info_exc.exp: Add "complete" test.
3099
3100 2019-05-09 Tom de Vries <tdevries@suse.de>
3101
3102 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
3103 CU-relative.
3104
3105 2019-05-09 Tom de Vries <tdevries@suse.de>
3106
3107 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
3108 CU-relative.
3109
3110 2019-05-08 Joel Brobecker <brobecker@adacore.com>
3111
3112 * gdb.ada/frame_arg_lang.exp: New testcase.
3113 * gdb.ada/frame_arg_lang/bla.adb: New file.
3114 * gdb.ada/frame_arg_lang/pck.ads: New file.
3115 * gdb.ada/frame_arg_lang/pck.adb: New file.
3116 * gdb.ada/frame_arg_lang/foo.c: New file.
3117
3118 2019-05-08 Tom Tromey <tromey@adacore.com>
3119
3120 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
3121
3122 2019-05-08 Tom Tromey <tromey@adacore.com>
3123
3124 * gdb.base/ptype-offsets.exp: Update tests.
3125
3126 2019-05-08 Tom Tromey <tromey@adacore.com>
3127
3128 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
3129 cases.
3130 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
3131 "short".
3132
3133 2019-05-08 Tom Tromey <tromey@adacore.com>
3134
3135 * gdb.ada/vla.exp: New file.
3136 * gdb.ada/vla/vla.adb: New file.
3137
3138 2019-05-07 Tom de Vries <tdevries@suse.de>
3139
3140 * gdb.base/index-cache.exp (ls_host): Fix return statement.
3141
3142 2019-05-07 Tom de Vries <tdevries@suse.de>
3143
3144 PR testsuite/24522
3145 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
3146 section.
3147
3148 2019-05-07 Tom de Vries <tdevries@suse.de>
3149
3150 PR testsuite/24522
3151 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
3152 .debug_aranges section.
3153
3154 2019-05-07 Tom de Vries <tdevries@suse.de>
3155
3156 PR testsuite/24159
3157 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
3158
3159 2019-05-06 Tom de Vries <tdevries@suse.de>
3160
3161 * lib/gdb.exp (exec_has_index_section): New proc.
3162 * gdb.base/index-cache.exp: Handle case that binfile contains an index
3163 section.
3164
3165 2019-05-04 Tom de Vries <tdevries@suse.de>
3166
3167 * boards/cc-with-debug-names.exp: New file.
3168
3169 2019-05-03 Tom Tromey <tromey@adacore.com>
3170
3171 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
3172 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
3173 * gdb.ada/char_enum.exp: Add test.
3174
3175 2019-05-03 Tom de Vries <tdevries@suse.de>
3176
3177 * boards/cc-with-gdb-index.exp: New file.
3178
3179 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
3180
3181 * gdb.rust/simple.exp: Add new test case.
3182 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
3183 (main): Initialise an instance of the new struct.
3184
3185 2019-05-01 Tom Tromey <tromey@adacore.com>
3186
3187 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
3188 record.
3189 (NPR): New variable.
3190 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
3191 test.
3192
3193 2019-05-01 Tom Tromey <tromey@adacore.com>
3194
3195 * gdb.ada/packed_array_assign.exp: Add packed assignment
3196 regression test.
3197
3198 2019-05-01 Tom de Vries <tdevries@suse.de>
3199
3200 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
3201
3202 2019-05-01 Tom de Vries <tdevries@suse.de>
3203
3204 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
3205
3206 2019-04-30 Ali Tamur <tamur@google.com>
3207
3208 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
3209
3210 2019-04-30 Tom Tromey <tromey@adacore.com>
3211
3212 * lib/ada.exp (find_ada_tool): New proc.
3213 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
3214 * gdb.ada/catch_ex_std.exp: New file.
3215 * gdb.ada/catch_ex_std/foo.adb: New file.
3216 * gdb.ada/catch_ex_std/some_package.adb: New file.
3217 * gdb.ada/catch_ex_std/some_package.ads: New file.
3218
3219 2019-04-30 Tom Tromey <tromey@adacore.com>
3220
3221 PR c++/24470:
3222 * gdb.cp/temargs.cc: Add test code from PR.
3223
3224 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3225
3226 * gdb.fortran/vla-datatypes.exp: Update expected results.
3227 * gdb.fortran/vla-ptype.exp: Likewise.
3228 * gdb.fortran/vla-type.exp: Likewise.
3229 * gdb.fortran/vla-value.exp: Likewise.
3230
3231 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3232
3233 * gdb.fortran/ptr-indentation.exp: Update expected results.
3234 * gdb.fortran/ptype-on-functions.exp: Likewise.
3235 * gdb.fortran/vla-ptr-info.exp: Likewise.
3236 * gdb.fortran/vla-value.exp: Likewise.
3237
3238 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3239
3240 * gdb.fortran/ptype-on-functions.exp: New file.
3241 * gdb.fortran/ptype-on-functions.f90: New file.
3242
3243 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3244
3245 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
3246 case void string.
3247
3248 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3249
3250 * gdb.fortran/complex.exp: Expand.
3251 * gdb.fortran/complex.f: Renamed to...
3252 * gdb.fortran/complex.f90: ...this, and extended to add more
3253 complex values.
3254
3255 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3256
3257 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
3258 MODULO, CMPLX.
3259
3260 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
3261 Richard Bunt <richard.bunt@arm.com>
3262
3263 * gdb.base/max-depth.c: New file.
3264 * gdb.base/max-depth.exp: New file.
3265 * gdb.python/py-nested-maps.c: New file.
3266 * gdb.python/py-nested-maps.exp: New file.
3267 * gdb.python/py-nested-maps.py: New file.
3268 * gdb.python/py-format-string.exp (test_max_depth): New proc.
3269 (test_all_common): Call test_max_depth.
3270 * gdb.fortran/max-depth.exp: New file.
3271 * gdb.fortran/max-depth.f90: New file.
3272 * gdb.go/max-depth.exp: New file.
3273 * gdb.go/max-depth.go: New file.
3274 * gdb.modula2/max-depth.exp: New file.
3275 * gdb.modula2/max-depth.c: New file.
3276 * lib/gdb.exp (get_print_expr_at_depths): New proc.
3277
3278 2019-04-29 Tom de Vries <tdevries@suse.de>
3279
3280 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
3281
3282 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3283
3284 * gdb.base/callexit.exp: Test may-call-functions off.
3285
3286 2019-04-25 Keith Seitz <keiths@redhat.com>
3287
3288 PR c++/24367
3289 * gdb.cp/meth-typedefs.cc (incomplete_struct)
3290 (another_incomplete_struct, test_incomplete): New definitions.
3291 (main): Use new definitions.
3292 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
3293 functions.
3294
3295 2019-04-25 Ali Tamur <tamur@google.com>
3296
3297 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
3298
3299 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
3300
3301 PR corefiles/11608
3302 PR corefiles/18187
3303 * gdb.base/coredump-filter-build-id.exp: New file.
3304
3305 2019-04-25 Alan Hayward <alan.hayward@arm.com>
3306
3307 * Makefile.in: Pass through GDBSERVER_DEBUG.
3308 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
3309 (gdbserver,debug): Add board setting.
3310 * gdb.trace/tspeed.exp: Skip when debugging.
3311 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
3312 * lib/gdbserver-support.exp: Likewise
3313
3314 2019-04-24 Tom Tromey <tromey@adacore.com>
3315
3316 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
3317 Rust.
3318
3319 2019-04-24 Tom Tromey <tromey@adacore.com>
3320
3321 * gdb.arch/amd64-eval.exp: Test bitfield return.
3322 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
3323 (class Foo) <return_bitfields>: New method.
3324 (main): Call it.
3325
3326 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
3327
3328 * gdb.cp/many-args.cc: New file.
3329 * gdb.cp/many-args.exp: New file.
3330
3331 2019-04-23 Tom de Vries <tdevries@suse.de>
3332
3333 PR gdb/24433
3334 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
3335
3336 2019-04-23 Alan Hayward <alan.hayward@arm.com>
3337
3338 * gdb.trace/backtrace.exp: Use nopie flag.
3339 * gdb.trace/circ.exp: Likewise.
3340 * gdb.trace/collection.exp: Likewise.
3341 * gdb.trace/ftrace.exp: Likewise.
3342 * gdb.trace/mi-trace-unavailable.exp: Likewise.
3343 * gdb.trace/mi-traceframe-changed.exp: Likewise.
3344 * gdb.trace/qtro.exp: Likewise.
3345 * gdb.trace/read-memory.exp: Likewise.
3346 * gdb.trace/report.exp: Likewise.
3347 * gdb.trace/tfile.exp: Likewise.
3348 * gdb.trace/tfind.exp: Likewise.
3349 * gdb.trace/unavailable.exp: Likewise.
3350
3351 2019-04-22 Pedro Alves <palves@redhat.com>
3352
3353 * gdb.base/solib-probes-nosharedlibrary.c,
3354 gdb.base/solib-probes-nosharedlibrary.exp: New files.
3355
3356 2019-04-19 Tom Tromey <tromey@adacore.com>
3357
3358 * gdb.ada/ptype_union.c: New file.
3359 * gdb.ada/ptype_union.exp: New file.
3360
3361 2019-04-19 Tom Tromey <tromey@adacore.com>
3362
3363 PR symtab/24423:
3364 * gdb.base/list0.h (foo): Add a control-l character.
3365
3366 2019-04-18 Tom de Vries <tdevries@suse.de>
3367
3368 PR gdb/24433
3369 * boards/local-board.exp: Set sysroot to "".
3370
3371 2019-04-18 Tom de Vries <tdevries@suse.de>
3372 Pedro Alves <palves@redhat.com>
3373
3374 PR gdb/24454
3375 * gdb.threads/vfork-follow-child-exec.c: New file.
3376 * gdb.threads/vfork-follow-child-exec.exp: New file.
3377 * gdb.threads/vfork-follow-child-exit.c: New file.
3378 * gdb.threads/vfork-follow-child-exit.exp: New file.
3379
3380 2019-04-15 Leszek Swirski <leszeks@google.com>
3381
3382 * gdb.arch/amd64-eval.cc: New file.
3383 * gdb.arch/amd64-eval.exp: New file.
3384
3385 2019-04-11 Alan Hayward <alan.hayward@arm.com>
3386
3387 * gdb.server/sysroot.c: New test.
3388 * gdb.server/sysroot.exp: New file.
3389 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
3390 matching param.
3391
3392 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
3393
3394 * gdb.base/align.exp: Extend test to cover structures containing
3395 only static fields.
3396
3397 2019-04-11 Tom de Vries <tdevries@suse.de>
3398
3399 * boards/cc-with-dwz-m.exp: New file.
3400 * boards/cc-with-dwz.exp: New file.
3401 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
3402
3403 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
3404
3405 * gdb.base/start-cpp.exp: New file.
3406 * gdb.base/start-cpp.cc: New file.
3407
3408 2019-04-08 Kevin Buettner <kevinb@redhat.com>
3409
3410 * gdb.python/py-thrhandle.exp: Adjust tests to call
3411 thread_from_handle instead of thread_from_thread_handle.
3412
3413 2019-04-08 Kevin Buettner <kevinb@redhat.com>
3414
3415 * gdb.python/py-thrhandle.exp: Add tests for
3416 gdb.InferiorThread.handle.
3417
3418 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
3419
3420 * gdb.python/py-function.exp: Check calling helper function from
3421 all languages.
3422 * lib/gdb.exp (gdb_supported_languages): New proc.
3423
3424 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
3425
3426 * gdb.base/complex-parts.c: New file.
3427 * gdb.base/complex-parts.exp: New file.
3428
3429 2019-04-01 Tom Tromey <tromey@adacore.com>
3430
3431 PR symtab/23331:
3432 * gdb.dwarf2/dw2-ranges-main.c: New file.
3433 * gdb.dwarf2/dw2-ranges-psym.c: New file.
3434 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
3435
3436 2019-03-30 Simon Marchi <simark@simark.ca>
3437
3438 * gdb.base/default.exp: Add values for $_gdb_major and
3439 $_gdb_minor.
3440
3441 2019-03-29 Tom Tromey <tromey@adacore.com>
3442
3443 * gdb.base/help.exp: Tighten apropos regexp.
3444
3445 2019-03-29 Keith Seitz <keiths@redhat.com>
3446
3447 * gdb.fortran/array-bounds.exp: New file.
3448 * gdb.fortran/array-bounds.f90: New file.
3449
3450 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3451
3452 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
3453
3454 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3455
3456 * gdb.multi/hello.c (main): Increase alarm timer.
3457
3458 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
3459
3460 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
3461 factor when no hardware watchpoint support.
3462
3463 2019-03-28 Alan Hayward <alan.hayward@arm.com>
3464 Pedro Alves <palves@redhat.com>
3465
3466 * boards/local-board.exp: set sysroot to /.
3467
3468 2019-03-27 Alan Hayward <alan.hayward@arm.com>
3469
3470 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
3471 in child.
3472
3473 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
3474
3475 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
3476 field.
3477 (make_container): Initialise new field.
3478 * gdb.python/py-prettyprint.exp: Add new tests.
3479 * gdb.python/py-prettyprint.py (class ContainerPrinter)
3480 <display_hint>: New method.
3481
3482 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
3483
3484 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
3485 gdb_continue_to_breakpoint more throughout this test.
3486 (run_lang_tests) Supply unique test names, and use
3487 gdb_test_no_output.
3488
3489 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
3490
3491 * gdb.base/finish-pretty.exp: Update expected results.
3492 * gdb.base/pretty-print.c: New file.
3493 * gdb.base/pretty-print.exp: New file.
3494
3495 2019-03-25 Pedro Alves <palves@redhat.com>
3496
3497 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
3498 move comments outside list. Append '-i "" eof' section.
3499
3500 2019-03-22 Alan Hayward <alan.hayward@arm.com>
3501
3502 PR testsuite/25016
3503 * README: Add pie options.
3504 * gdb.base/break-interp.exp: Ensure pie is disabled.
3505 * gdb.base/dump.exp: Likewise.
3506 * lib/gdb.exp (gdb_compile): Add pie option.
3507
3508 2019-03-19 Tom Tromey <tromey@adacore.com>
3509
3510 * gdb.mi/mi2-cli-display.c: New file.
3511 * gdb.mi/mi2-cli-display.exp: New file.
3512
3513 2019-03-18 Joel Brobecker <brobecker@adacore.com>
3514 Tom Tromey <tromey@adacore.com>
3515
3516 * gdb.ada/ptype_array/pck.adb: New file.
3517 * gdb.ada/ptype_array/pck.ads: New file.
3518 * gdb.ada/ptype_array/foo.adb: New file.
3519 * gdb.ada/ptype_array.exp: New file.
3520
3521 2019-03-14 Tom Tromey <tromey@adacore.com>
3522
3523 * gdb.base/style.exp: Add "set style sources" test.
3524
3525 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
3526
3527 * mi-breakpoint-location-ena-dis.exp: Rename to ...
3528 * mi-breakpoint-multiple-locations.exp: ... this.
3529 (make_breakpoints_pattern): New proc.
3530 (do_test): Add mi_version parameter, test -break-insert,
3531 -break-info and =breakpoint-created.
3532
3533 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
3534
3535 * config/default.exp: Remove 'load_lib gdb.exp'.
3536 * config/monitor.exp: Likewise.
3537 * config/sid.exp: Likewise.
3538 * config/sim.exp: Likewise.
3539 * config/slite.exp: Likewise.
3540 * config/unix.exp: Likewise.
3541 * gdb.base/default.exp: Remove unhelpful comment.
3542
3543 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3544
3545 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
3546
3547 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3548
3549 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
3550
3551 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3552
3553 * gdb.fortran/type-kinds.exp: Update expected results.
3554
3555 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3556
3557 * gdb.fortran/type-kinds.exp: Test new integer type kind.
3558
3559 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3560
3561 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
3562 function.
3563 (test_basic_parsing_of_type_kinds): Expand types tested.
3564 (test_parsing_invalid_type_kinds): New function.
3565
3566 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3567
3568 * gdb.fortran/intrinsics.exp: New file.
3569 * gdb.fortran/intrinsics.f90: New file.
3570 * gdb.fortran/type-kinds.exp: New file.
3571
3572 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3573
3574 * gdb.fortran/dot-ops.exp: New file.
3575
3576 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3577
3578 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
3579 Check upper and lower case logical literals.
3580
3581 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3582
3583 * gdb.fortran/types.exp (test_float_literal_types_accepted):
3584 Remove duplicate tests.
3585
3586 2019-03-06 Alan Hayward <alan.hayward@arm.com>
3587
3588 * lib/gdb.exp (builtin_cd): rename of cd.
3589 (cd): Override builtin.
3590
3591 2019-03-06 Richard Bunt <richard.bunt@arm.com>
3592
3593 * gdb.fortran/function-calls.exp: New file.
3594 * gdb.fortran/function-calls.f90: New test.
3595
3596 2019-03-04 Richard Bunt <richard.bunt@arm.com>
3597
3598 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
3599 on user program standard output.
3600 * gdb.fortran/short-circuit-argument-list.f90: Record function
3601 calls.
3602
3603 2019-02-28 Alan Hayward <alan.hayward@arm.com>
3604
3605 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
3606 failure.
3607
3608 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3609
3610 PR gdb/8527
3611 * gdb.base/interrupt-daemon-attach.c,
3612 gdb.base/interrupt-daemon-attach.exp: New test.
3613
3614 2019-02-27 Pedro Alves <palves@redhat.com>
3615
3616 * gdb.base/page.exp: Add tests for "set width/height -1".
3617
3618 2019-02-27 Pedro Alves <palves@redhat.com>
3619
3620 * gdb.base/page.exp: Add tests for "set/show width/height" with
3621 "infinite" values.
3622
3623 2019-02-27 Tom Tromey <tromey@adacore.com>
3624
3625 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
3626 2.4.
3627 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
3628 workaround.
3629
3630 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
3631
3632 * gdb.base/align.exp: Extend to compile in both C and C++, and add
3633 tests for structs with static members.
3634
3635 2019-02-26 Tom Tromey <tromey@adacore.com>
3636
3637 * gdb.python/py-value.exp (test_value_from_buffer): Check for
3638 ValueError, not TypeError.
3639
3640 2019-02-26 Kevin Buettner <kevinb@redhat.com>
3641
3642 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
3643 call from main program.
3644
3645 2019-02-23 Joel Brobecker <brobecker@adacore.com>
3646
3647 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
3648 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
3649 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
3650 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
3651 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
3652
3653 2019-02-22 Keith Seitz <keiths@redhat.com>
3654
3655 PR symtab/23853
3656 * gdb.base/symlink-sourcefile.c: New file.
3657 * gdb.base/symlink-sourcefile.exp: New file.
3658
3659 2019-02-20 Tom Tromey <tom@tromey.com>
3660
3661 * gdb.base/info_qt.exp: Update.
3662
3663 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
3664
3665 * gdb.base/source.exp: Move "error in sourced script" code to
3666 the end.
3667 * gdb.base/source-error.gdb: Move contents to
3668 source-error-1.gdb. Add new code to source source-error-1.gdb.
3669 * gdb.base/source-error-1.gdb: New file, from previous
3670 source-error.gdb.
3671
3672 2019-02-17 Tom Tromey <tom@tromey.com>
3673
3674 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
3675 for macro styling.
3676 * gdb.base/style.c (SOME_MACRO): New macro.
3677
3678 2019-02-17 Tom Tromey <tom@tromey.com>
3679
3680 * gdb.base/style.exp: Add line-wrapping tests.
3681 * gdb.base/page.exp: Add test for quitting during pagination.
3682
3683 2019-02-17 Joel Brobecker <brobecker@adacore.com>
3684
3685 * gdb.ada/big_packed_array: New testcase.
3686 * gdb.ada/homonym.exp: Fix incorrect expected output for
3687 "break <homonym__get_value>" test.
3688
3689 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
3690
3691 PR breakpoints/21870
3692 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
3693 and prepare_for_testing. Add comment.
3694 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
3695 redundant cleanup call. Clean up comment.
3696
3697 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
3698
3699 PR breakpoints/21870
3700 * gdb.arch/aarch64-dbreg-contents.exp: New file.
3701 * gdb.arch/aarch64-dbreg-contents.c: New file.
3702
3703 2019-02-10 Joel Brobecker <brobecker@adacore.com>
3704
3705 * gdb.ada/mi_ref_changeable: New testcase.
3706
3707 2019-02-07 Alan Hayward <alan.hayward@arm.com>
3708
3709 * gdb.base/attach.exp: Add double attach test.
3710
3711 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
3712
3713 * lib/gdb.exp (default_gdb_start): Don't match pagination
3714 prompt.
3715 (gdb_init): Set stty_init.
3716
3717 2019-01-27 Tom Tromey <tom@tromey.com>
3718
3719 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
3720 skip_python_tests.
3721
3722 2019-01-24 Alan Hayward <alan.hayward@arm.com>
3723
3724 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
3725 New structure.
3726 (struct struct_static_02_02): Likewise.
3727 (struct struct_static_02_03): Likewise.
3728 (struct struct_static_02_04): Likewise.
3729 (struct struct_static_04_01): Likewise.
3730 (struct struct_static_04_02): Likewise.
3731 (struct struct_static_04_03): Likewise.
3732 (struct struct_static_04_04): Likewise.
3733 (struct struct_static_06_01): Likewise.
3734 (struct struct_static_06_02): Likewise.
3735 (struct struct_static_06_03): Likewise.
3736 (struct struct_static_06_04): Likewise.
3737 (cmp_struct_static_02_01): Likewise.
3738 (cmp_struct_static_02_02): Likewise.
3739 (cmp_struct_static_02_03): Likewise.
3740 (cmp_struct_static_02_04): Likewise.
3741 (cmp_struct_static_04_01): Likewise.
3742 (cmp_struct_static_04_02): Likewise.
3743 (cmp_struct_static_04_03): Likewise.
3744 (cmp_struct_static_04_04): Likewise.
3745 (cmp_struct_static_06_01): Likewise.
3746 (cmp_struct_static_06_02): Likewise.
3747 (cmp_struct_static_06_03): Likewise.
3748 (cmp_struct_static_06_04): Likewise.
3749 (call_all): Test new structs.
3750 * gdb.base/infcall-nested-structs.exp: Likewise.
3751
3752 2019-01-21 Alan Hayward <alan.hayward@arm.com>
3753 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
3754
3755 2019-01-21 Alan Hayward <alan.hayward@arm.com>
3756 * gdb.base/stack-protector.c: New test.
3757 * gdb.base/stack-protector.exp: New file.
3758 * gdb.cp/ovldbreak.exp: Only allow a single break line.
3759 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
3760 option.
3761 (gdb_compile): Remove stack protector for GCC and prevent
3762 recursion.
3763
3764 2019-01-16 Keith Seitz <keiths@redhat.com>
3765
3766 PR gdb/23773
3767 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
3768
3769 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3770
3771 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
3772 aliases.
3773 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
3774 tests.
3775 * gdb.arch/powerpc-vector-regs.c: New file.
3776 * gdb.arch/powerpc-vector-regs.exp: New file.
3777
3778 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3779
3780 * gdb.arch/altivec-regs.exp: Fix the list passed to
3781 gdb_expect_list when testing "info vector".
3782
3783 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
3784
3785 * gdb.base/style.exp: Don't include path in testname.
3786
3787 2019-01-10 Keith Seitz <keiths@redhat.com>
3788
3789 PR gdb/23712
3790 PR symtab/23010
3791 * gdb.dwarf2/multidictionary.exp: New file.
3792
3793 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
3794
3795 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
3796 (test_gnuv3_style_demangling): ... this.
3797 (test_lucid_style_demangling): Remove.
3798 (test_arm_style_demangling): Remove.
3799 (test_hp_style_demangling): Remove.
3800 (do_tests): Remove calls to the above.
3801
3802 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3803
3804 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
3805 case.
3806
3807 2019-01-06 Tom Tromey <tom@tromey.com>
3808
3809 PR gdb/28155:
3810 * gdb.dwarf2/typedef-void-finish.exp: New file.
3811
3812 2018-12-28 Tom Tromey <tom@tromey.com>
3813 Simon Marchi <simark@simark.ca>
3814
3815 * gdb.base/jit-exec.exp: New file.
3816 * gdb.base/jit-exec.c: New file.
3817 * gdb.base/jit-execd.c: New file.
3818
3819 2018-12-28 Tom Tromey <tom@tromey.com>
3820
3821 * gdb.base/style.exp: Update test to check for address styling.
3822
3823 2018-12-28 Tom Tromey <tom@tromey.com>
3824
3825 * gdb.base/style.exp: Add test for styling of "Reading symbols"
3826 message.
3827
3828 2018-12-28 Tom Tromey <tom@tromey.com>
3829
3830 * gdb.base/style.exp: Add test for version number styling.
3831
3832 2018-12-28 Tom Tromey <tom@tromey.com>
3833
3834 * gdb.base/style.exp: Add test for print_address_symbolic.
3835
3836 2018-12-28 Tom Tromey <tom@tromey.com>
3837
3838 * gdb.base/style.exp: Add test for breakpoint setting.
3839
3840 2018-12-28 Tom Tromey <tom@tromey.com>
3841
3842 * gdb.base/style.exp: Add test for variable names.
3843
3844 2018-12-28 Tom Tromey <tom@tromey.com>
3845
3846 * gdb.base/style.exp: New file.
3847 * gdb.base/style.c: New file.
3848
3849 2018-12-28 Tom Tromey <tom@tromey.com>
3850
3851 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
3852 "dumb".
3853 * gdb.base/readline.exp (operate_and_get_next): Save and restore
3854 the TERM environment variable.
3855
3856 2018-12-27 Tom Tromey <tom@tromey.com>
3857
3858 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
3859 pagination test.
3860
3861 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
3862
3863 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
3864 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
3865
3866 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3867
3868 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
3869 Filename a.adb changed to bp_fun_addr.adb.
3870 gdb.ada/bp_fun_addr.exp: Update test accordingly.
3871
3872 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
3873
3874 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
3875 non-PIE executables.
3876 * README: Mention the gdb,nopie_flag board setting.
3877 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
3878 non-PIE executable.
3879 * gdb.arch/amd64-entry-value.exp: Likewise.
3880 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
3881 * gdb.arch/i386-float.exp: Likewise.
3882 * gdb.arch/i386-signal.exp: Likewise.
3883 * gdb.mi/mi-reg-undefined.exp: Likewise.
3884
3885 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
3886
3887 PR gdb/23974
3888 * gdb.base/info-os.exp: Check return for unknown "info os" type.
3889
3890 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3891
3892 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
3893 Update order of results accordingly.
3894
3895 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
3896
3897 * gdb.base/annota1.exp: Update a test regexp.
3898
3899 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
3900
3901 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
3902
3903 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3904
3905 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
3906 (reuse_time): Initialize to REUSE_TIME_CAP.
3907 (check_rc): New function.
3908 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
3909 Check pthread_create rc.
3910 (spawner_thread_func): Check pthread_create and pthread_join rc.
3911
3912 2018-12-08 Pedro Alves <palves@redhat.com>
3913
3914 * gdb.base/list.exp (test_forward_search): Rename to ...
3915 (test_forward_reverse_search): ... this. Also test reverse-search
3916 and the forward-search alias.
3917
3918 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
3919
3920 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
3921 local timeout variable before return, and remove all local timeout
3922 variable entirely.
3923 (gdb_load): Likewise.
3924
3925 2018-12-01 Tom de Vries <tdevries@suse.de>
3926
3927 * gdb.base/gdb-caching-proc.exp: New file.
3928
3929 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
3930
3931 * Makefile.in (TIMESTAMP): New variable.
3932 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
3933 command.
3934 (check-single-racy): Likewise.
3935 (check/%.exp): Likewise.
3936 (check-racy/%.exp): Likewise.
3937 (workers/%.worker): Likewise.
3938 (build-perf): Likewise.
3939 (check-perf): Likewise.
3940 * README: Describe new "TS" and "TS_FORMAT" variables.
3941 * print-ts.py: New file.
3942
3943 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
3944
3945 PR python/23714
3946 * gdb.python/python.exp: Test command repetition after
3947 gdb.execute.
3948
3949 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
3950
3951 * gdb.opt/inline-break.exp: Add test that info breakpoint output
3952 is correctly aligned.
3953
3954 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3955
3956 * gdb.ada/info_auto_lang.exp: New testcase.
3957 * gdb.ada/info_auto_lang/global_pack.ads: New file.
3958 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
3959 * gdb.ada/info_auto_lang/some_c.c: New file.
3960
3961 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3962
3963 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
3964 FUNC_lang language syntax.
3965
3966 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3967
3968 * gdb.base/info_minsym.c: New file.
3969 * gdb.base/info_minsym.exp: New file.
3970
3971 2018-11-19 Tom Tromey <tom@tromey.com>
3972
3973 PR rust/23625:
3974 * gdb.rust/simple.exp: Add ptype test. Update expected output.
3975 * gdb.rust/expr.exp: Update expected output. Change one test.
3976
3977 2018-11-19 Tom Tromey <tom@tromey.com>
3978
3979 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
3980
3981 2018-11-19 Pedro Alves <palves@redhat.com>
3982
3983 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
3984 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
3985 see the expected warning.
3986
3987 2018-11-16 Alan Hayward <alan.hayward@arm.com>
3988
3989 PR gdb/22736:
3990 * gdb.cp/infcall-nodebug-lib.c: New test.
3991 * gdb.cp/infcall-nodebug-main.c: New test.
3992 * gdb.cp/infcall-nodebug.exp: New file.
3993
3994 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
3995
3996 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
3997 completer tests.
3998
3999 2018-11-09 Tom de Vries <tdevries@suse.de>
4000
4001 * gdb.base/msym-lang.c: New test.
4002 * gdb.base/msym-lang.exp: New file.
4003 * gdb.base/msym-lang-main.c: New test.
4004
4005 2018-11-08 Tom Tromey <tom@tromey.com>
4006
4007 PR gdb/23555:
4008 PR gdb/23838:
4009 * gdb.base/warning.exp: New file.
4010
4011 2018-11-08 Jan Beulich <jbeulich@suse.com>
4012
4013 * testsuite/gdb.arch/i386-avx512.c,
4014 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
4015
4016 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
4017
4018 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
4019 point hardware.
4020
4021 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
4022
4023 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
4024 * gdb.dwarf2/missing-type-name.exp: New file.
4025
4026 2018-11-06 Tom de Vries <tdevries@suse.de>
4027
4028 * gdb.base/many-headers.c: New test.
4029 * gdb.base/many-headers.exp: New file.
4030
4031 2018-11-06 Jim Wilson <jimw@sifive.com>
4032
4033 * gdb.base/code_elim.exp: For riscv, set additional_flags
4034 to include -msmall-data-limit=0.
4035
4036 2018-11-01 Joel Brobecker <brobecker@adacore.com>
4037
4038 * gdb.ada/watch_minus_l: New testcase.
4039
4040 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
4041
4042 * gdb.arch/aix-sighandle.c: New file.
4043 * gdb.arch/aix-sighandle.exp: New file.
4044
4045 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
4046
4047 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
4048 registers being unions.
4049
4050 2018-10-31 Tom de Vries <tdevries@suse.de>
4051
4052 * lib/valgrind.exp: New file.
4053 (vgdb_start, vgdb_stop): New procs, factored out of ...
4054 * gdb.base/valgrind-bt.exp: ... here, ...
4055 * gdb.base/valgrind-disp-step.exp: ... here and ...
4056 * gdb.base/valgrind-infcall.exp: ... here.
4057
4058 2018-10-31 Tom de Vries <tdevries@suse.de>
4059
4060 * lib/gdb.exp (get_valueof): Don't output read value in test name.
4061
4062 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
4063
4064 * gdb.dwarf2/void-type.c: New file.
4065 * gdb.dwarf2/void-type.exp: New file.
4066
4067 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4068
4069 * gdb.base/info_qt.c: New file.
4070 * gdb.base/info_qt.exp: New file.
4071
4072 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4073
4074 * gdb.arch/powerpc-htm-regs.c: New file.
4075 * gdb.arch/powerpc-htm-regs.exp: New file.
4076
4077 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4078
4079 * gdb.arch/powerpc-tar.c: New file.
4080 * gdb.arch/powerpc-tar.exp: New file.
4081
4082 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4083
4084 * gdb.arch/powerpc-ppr-dscr.c: New file.
4085 * gdb.arch/powerpc-ppr-dscr.exp: New file.
4086
4087 2018-10-25 Tom de Vries <tdevries@suse.de>
4088
4089 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
4090
4091 2018-10-24 Tom de Vries <tdevries@suse.de>
4092
4093 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
4094 longer exists error.
4095
4096 2018-10-24 Tom de Vries <tdevries@suse.de>
4097
4098 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
4099
4100 2018-10-24 Tom de Vries <tdevries@suse.de>
4101
4102 * gdb.base/valgrind-db-attach.exp: Handle removed support for
4103 --db-attach in valgrind.
4104
4105 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
4106
4107 * gdb.arch/riscv-reg-aliases.c: New file.
4108 * gdb.arch/riscv-reg-aliases.exp: New file.
4109
4110 2018-10-19 Alan Hayward <alan.hayward@arm.com>
4111
4112 * gdb.python/py-cmd.exp: Check for gdb_prompt.
4113
4114 2018-10-19 Alan Hayward <alan.hayward@arm.com>
4115
4116 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
4117
4118 2018-10-19 Alan Hayward <alan.hayward@arm.com>
4119
4120 * gdb.cp/ovldbreak.exp: Fix regexps.
4121
4122 2018-10-19 Alan Hayward <alan.hayward@arm.com>
4123
4124 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
4125
4126 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
4127
4128 PR cli/23785
4129 * gdb.base/restore.exp: New test to check if "restore" with an
4130 invalid file doesn't segfault.
4131
4132 2018-10-18 Tom de Vries <tdevries@suse.de>
4133
4134 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
4135 * gdb.ada/excep_handle.exp: Same.
4136 * gdb.ada/mi_string_access.exp: Same.
4137 * gdb.ada/mi_var_union.exp: Same.
4138 * gdb.arch/arc-analyze-prologue.exp: Same.
4139 * gdb.arch/arc-decode-insn.exp: Same.
4140 * gdb.base/readnever.exp: Same.
4141 * gdb.fortran/printing-types.exp: Same.
4142 * gdb.guile/scm-lazy-string.exp: Same.
4143
4144 2018-10-16 Tom de Vries <tdevries@suse.de>
4145
4146 PR gdb/23730
4147 * gdb.base/catch-follow-exec.c: Add copyright notice.
4148 * gdb.base/catch-follow-exec.exp: Rewrite to use
4149 gdb_spawn_with_cmdline_opts. Require gdb-native.
4150
4151 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
4152
4153 * gdb.trace/actions-changed.exp: Check for arch support.
4154 * gdb.trace/actions.exp: Likewise.
4155 * gdb.trace/ax.exp: Likewise.
4156 * gdb.trace/backtrace.exp: Likewise.
4157 * gdb.trace/change-loc.exp: Likewise.
4158 * gdb.trace/deltrace.exp: Likewise.
4159 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
4160 * gdb.trace/ftrace.exp: Likewise.
4161 * gdb.trace/infotrace.exp: Check for arch support.
4162 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
4163 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
4164 * gdb.trace/mi-tsv-changed.exp: Likewise.
4165 * gdb.trace/packetlen.exp: Likewise.
4166 * gdb.trace/passc-dyn.exp: Likewise.
4167 * gdb.trace/passcount.exp: Likewise.
4168 * gdb.trace/pending.exp: Likewise.
4169 * gdb.trace/range-stepping.exp: Check for shlib support.
4170 * gdb.trace/report.exp: Check for arch support.
4171 * gdb.trace/save-trace.exp: Likewise.
4172 * gdb.trace/signal.exp: Check for signal support.
4173 * gdb.trace/tfind.exp: Check for arch support.
4174 * gdb.trace/trace-break.exp: Check for arch and shlib support.
4175 * gdb.trace/trace-common.h: Add comment.
4176 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
4177 * gdb.trace/trace-enable-disable.exp: Likewise.
4178 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
4179 * gdb.trace/tracecmd.exp: Check for arch support.
4180 * gdb.trace/tspeed.exp: Check for shlib and target support.
4181 * gdb.trace/tstatus.exp: Check for arch support.
4182 * gdb.trace/tsv.exp: Likewise.
4183 * gdb.trace/while-dyn.exp: Likewise.
4184 * gdb.trace/while-stepping.exp: Likewise.
4185 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
4186
4187 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
4188
4189 * gdb.trace/tspeed.exp: Remove nowarnings.
4190 (prepare_for_trace_test): Declare "global ipalib".
4191 * gdb.trace/tspeed.c: Include unistd.h.
4192 (main): Remove superfluous printf argument.
4193
4194 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
4195
4196 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
4197 directory prefix on the filename.
4198
4199 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
4200
4201 * gdb.gdb/unittest.exp: Update expected message informing that
4202 selftests have been disabled.
4203 * gdb.server/unittest.exp: Likewise.
4204
4205 2018-10-09 Tom de Vries <tdevries@suse.de>
4206
4207 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
4208 with runto_main.
4209
4210 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
4211
4212 PR c++/16841
4213 * gdb.cp/virtbase2.cc: New file.
4214 * gdb.cp/virtbase2.exp: New file.
4215
4216 2018-10-06 Tom Tromey <tom@tromey.com>
4217
4218 PR python/19399:
4219 * gdb.python/py-inferior.exp: Add architecture test.
4220
4221 2018-10-06 Tom Tromey <tom@tromey.com>
4222
4223 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
4224 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
4225
4226 2018-10-06 Tom Tromey <tom@tromey.com>
4227
4228 * gdb.python/py-breakpoint.exp (check_last_event): Check location
4229 of a "throw" catchpoint.
4230
4231 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
4232
4233 * gdb.base/info-proc.exp: Update string expected from "help info
4234 proc".
4235
4236 2018-10-04 Tom Tromey <tom@tromey.com>
4237
4238 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
4239 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
4240 (test_initial_complaints, test_empty_complaints): Update.
4241 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
4242
4243 2018-10-04 Tom Tromey <tom@tromey.com>
4244
4245 PR cli/19551:
4246 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
4247 * lib/gdb.exp (gdb_file_cmd): Update.
4248 * gdb.stabs/weird.exp (print_weird_var): Update.
4249 * gdb.server/solib-list.exp: Update.
4250 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
4251 * gdb.mi/mi-cli.exp: Update.
4252 * gdb.linespec/linespec.exp: Update.
4253 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
4254 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
4255 * gdb.cp/cp-relocate.exp: Update.
4256 * gdb.base/sym-file.exp: Update.
4257 * gdb.base/relocate.exp: Update.
4258 * gdb.base/readnever.exp: Update.
4259 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
4260 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
4261 * gdb.base/dbx.exp (gdb_file_cmd): Update.
4262 * gdb.base/code_elim.exp: Update.
4263 * gdb.base/break-unload-file.exp (test_break): Update.
4264 * gdb.base/break-interp.exp (test_attach_gdb): Update.
4265 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
4266 Update.
4267 * gdb.base/attach.exp (do_attach_tests): Update.
4268 * gdb.base/sepdebug.exp: Update.
4269 * gdb.python/py-section-script.exp: Update.
4270
4271 2018-10-04 Tom Tromey <tom@tromey.com>
4272
4273 PR cli/22234:
4274 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
4275 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
4276 output.
4277
4278 2018-10-04 Tom Tromey <tom@tromey.com>
4279
4280 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
4281 set width and height to 0.
4282 (test_command_line_attach_run): Use -quiet.
4283
4284 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
4285
4286 * lib/gdb.exp (skip_ifunc_tests): New.
4287 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
4288 other compile failures.
4289 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
4290
4291 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
4292
4293 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
4294 is_amd64_regs_target.
4295
4296 2018-10-01 Alan Hayward <alan.hayward@arm.com>
4297
4298 * gdb.arch/aarch64-sighandler-regs.c: New test.
4299 * gdb.arch/aarch64-sighandler-regs.exp: New file.
4300 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
4301
4302 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
4303
4304 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
4305 assembly.
4306
4307 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
4308
4309 * gdb.base/frame-selection.exp: New file.
4310 * gdb.base/frame-selection.c: New file.
4311
4312 2018-09-27 Alan Hayward <alan.hayward@arm.com>
4313
4314 * gdb.threads/check-libthread-db.c (thread_routine): Use a
4315 pthread barrier.
4316 (main): Likewise.
4317
4318 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
4319
4320 * gdb.base/large-frame-1.c: New file.
4321 * gdb.base/large-frame-2.c: New file.
4322 * gdb.base/large-frame.exp: New file.
4323 * gdb.base/large-frame.h: New file.
4324
4325 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
4326
4327 PR gdb/20948
4328 * gdb.base/write_mem.exp: New test.
4329 * gdb.base/write_mem.c: Likewise.
4330
4331 2018-09-23 Tom Tromey <tom@tromey.com>
4332
4333 PR python/18852:
4334 * gdb.python/py-parameter.exp: Add test for parameter that throws
4335 on "set".
4336
4337 2018-09-23 Tom Tromey <tom@tromey.com>
4338
4339 PR python/17284:
4340 * gdb.python/py-template.exp (test_template_arg): Add test for
4341 negative template argument number.
4342
4343 2018-09-23 Tom Tromey <tom@tromey.com>
4344
4345 PR python/14062:
4346 * gdb.python/python.exp: Add test for post_event error.
4347
4348 2018-09-23 Tom Tromey <tom@tromey.com>
4349
4350 PR python/18170:
4351 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
4352 convert pointers to int and long.
4353
4354 2018-09-23 Tom Tromey <tom@tromey.com>
4355
4356 PR python/20126:
4357 * gdb.python/py-value.exp (test_value_numeric_ops): Add
4358 signed-ness conversion tests.
4359
4360 2018-09-23 Tom Tromey <tom@tromey.com>
4361
4362 PR python/18352;
4363 * gdb.python/py-value.exp (test_float_conversion): New proc.
4364 Use it.
4365
4366 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
4367
4368 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
4369
4370 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
4371
4372 * gdb.base/complete-empty.exp: Skip tab-completion tests if
4373 no readline.
4374 * gdb.base/utf8-identifiers.exp: Likewise.
4375 * gdb.cp/cpcompletion.exp: Likewise.
4376 * gdb.linespec/cpcompletion.exp: Likewise.
4377 * gdb.linespec/cpls-abi-tag.exp: Likewise.
4378 * gdb.linespec/cpls-ops.exp: Likewise.
4379
4380 2018-09-19 Richard Bunt <richard.bunt@arm.com>
4381 Chris January <chris.january@arm.com>
4382
4383 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
4384 * gdb.fortran/short-circuit-argument-list.exp: New file.
4385 * gdb.fortran/short-circuit-argument-list.f90: New test.
4386
4387 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4388
4389 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
4390 "arch=" keyword when executing "-stack-list-frames".
4391
4392 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4393
4394 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
4395 "arch=" keyword when executing "-stack-list-frames".
4396
4397 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4398
4399 * gdb.ada/complete.exp: Expect for "@" when doing "complete
4400 break ada".
4401
4402 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
4403
4404 PR python/23669
4405 * gdb.python/python.exp: Test gdb.execute("show commands").
4406
4407 2018-09-16 Tom Tromey <tom@tromey.com>
4408
4409 * gdb.base/new-ui.exp (do_execution_tests): Update.
4410 * gdb.base/dbx.exp (test_breakpoints): Update.
4411
4412 2018-09-14 Alan Hayward <alan.hayward@arm.com>
4413
4414 * lib/gdb.exp (gdb_simple_compile): Add proc.
4415 (is_elf_target): Use gdb_simple_compile.
4416 (skip_altivec_tests): Likewise.
4417 (skip_vsx_tests): Likewise.
4418 (skip_tsx_tests): Likewise.
4419 (skip_btrace_tests): Likewise.
4420 (skip_btrace_pt_tests): Likewise.
4421 (gdb_can_simple_compile): Likewise.
4422 (gdb_has_argv0): Likewise.
4423 (gdb_target_symbol_prefix): Likewise.
4424 (target_supports_scheduler_locking): Likewise.
4425
4426 2018-09-13 Tom Tromey <tom@tromey.com>
4427
4428 * Makefile.in (TAGS): Recognize proc_with_prefix and
4429 gdb_caching_proc.
4430
4431 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4432
4433 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
4434 method.
4435
4436 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4437
4438 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
4439 and a few other Inferior properties when the Inferior is no
4440 longer valid.
4441
4442 2018-09-13 Tom Tromey <tom@tromey.com>
4443
4444 PR rust/23650:
4445 * gdb.rust/simple.exp: Add test for enum field access error.
4446
4447 2018-09-13 Tom Tromey <tom@tromey.com>
4448
4449 PR rust/23626:
4450 * gdb.rust/simple.rs (EmptyEnum): New type.
4451 (main): Use it.
4452 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
4453
4454 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4455
4456 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
4457 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
4458 * gdb.python/py-symtab.exp: Update test printing an objfile.
4459
4460 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
4461
4462 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
4463 object.
4464
4465 2018-09-12 Alan Hayward <alan.hayward@arm.com>
4466
4467 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
4468 (support_complex_tests): Use gdb_can_simple_compile.
4469 (is_ilp32_target): Likewise.
4470 (is_lp64_target): Likewise.
4471 (is_64_target): Likewise.
4472 (is_amd64_regs_target): Likewise.
4473 (is_aarch32_target): Likewise.
4474 (gdb_int128_helper): Likewise.
4475
4476 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4477
4478 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
4479
4480 2018-09-10 Jerome Guitton <guitton@adacore.com>
4481
4482 * gdb.ada/same_component_name: Add test for case of tagged record
4483 with variable-length fields.
4484
4485 2018-09-10 Xavier Roirand <roirand@adacore.com>
4486
4487 * gdb.ada/access_to_unbounded_array.exp: New testcase.
4488 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
4489 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
4490 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
4491
4492 2018-09-10 Xavier Roirand <roirand@adacore.com>
4493
4494 * gdb.ada/mi_string_access.exp: New testcase.
4495 * gdb.ada/mi_string_access/bar.adb: New file.
4496 * gdb.ada/mi_string_access/pck.adb: New file.
4497 * gdb.ada/mi_string_access/pck.asd: New file.
4498
4499 2018-09-10 Xavier Roirand <roirand@adacore.com>
4500
4501 * gdb.ada/mi_var_union.exp: New testcase.
4502 * gdb.ada/mi_var_union/bar.adb: New file.
4503 * gdb.ada/mi_var_union/pck.adb: New file.
4504 * gdb.ada/mi_var_union/pck.asd: New file.
4505
4506 2018-09-08 Tom Tromey <tom@tromey.com>
4507
4508 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
4509
4510 2018-09-08 Tom Tromey <tom@tromey.com>
4511
4512 PR python/16047:
4513 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
4514 (register_pretty_printers): Register new printer.
4515 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
4516 test.
4517 * gdb.python/py-prettyprint.c (int_type3): New typedef.
4518 (an_int_type3): New global.
4519
4520 2018-09-08 Joel Brobecker <brobecker@adacore.com>
4521
4522 * gdb.ada/expr_with_funcall: New testcase.
4523
4524 2018-09-08 Joel Brobecker <brobecker@adacore.com>
4525
4526 * gdb.ada/packed_array_assign: New testcase.
4527
4528 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
4529
4530 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
4531 names, and add test prefixes to make test names unique.
4532
4533 2018-09-05 Tom de Vries <tdevries@suse.de>
4534
4535 * gdb.dwarf2/varval.exp: Add test.
4536
4537 2018-09-04 Gary Benson <gbenson@redhat.com>
4538
4539 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
4540 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
4541
4542 2018-08-31 Tom Tromey <tom@tromey.com>
4543
4544 * gdb.rust/simple.rs: Rename second variable "v".
4545
4546 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
4547
4548 * gdb.base/funcargs.c (use_a): New function.
4549 (recurse): Call use_a.
4550
4551 2018-08-29 Keith Seitz <keiths@redhat.com>
4552
4553 * gdb.compile/compile-cplus-anonymous.cc: New file.
4554 * gdb.compile/compile-cplus-anonymous.exp: New file.
4555 * gdb.compile/compile-cplus-array-decay.cc: New file.
4556 * gdb.compile/compile-cplus-array-decay.exp: New file.
4557 * gdb.compile/compile-cplus-inherit.cc: New file.
4558 * gdb.compile/compile-cplus-inherit.exp: New file.
4559 * gdb.compile/compile-cplus-member.cc: New file.
4560 * gdb.compile/compile-cplus-member.exp: New file.
4561 * gdb.compile/compile-cplus-method.cc: New file.
4562 * gdb.compile/compile-cplus-method.exp: New file.
4563 * gdb.compile/compile-cplus-mod.c: "New" file.
4564 * gdb.compile/compile-cplus-namespace.cc: New file.
4565 * gdb.compile/compile-cplus-namespace.exp: New file.
4566 * gdb.compile/compile-cplus-nested.cc: New file.
4567 * gdb.compile/compile-cplus-nested.exp: New file.
4568 * gdb.compile/compile-cplus-print.c: "New" file.
4569 * gdb.compile/compile-cplus-print.exp: "New" file.
4570 * gdb.compile/compile-cplus-virtual.cc: New file.
4571 * gdb.compile/compile-cplus-virtual.exp: New file.
4572 * gdb.compile/compile-cplus.c: "New" file.
4573 * gdb.compile/compile-cplus.exp: "New" file.
4574 * lib/compile-support.exp: New file.
4575
4576 2018-08-16 Gary Benson <gbenson@redhat.com>
4577
4578 PR gdb/13000:
4579 * gdb.base/batch-exit-status.exp: New file.
4580 * gdb.base/batch-exit-status.good-commands: Likewise.
4581 * gdb.base/batch-exit-status.bad-commands: Likewise.
4582
4583 2018-08-29 Alan Hayward <alan.hayward@arm.com>
4584
4585 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
4586 (struct struct02): Likewise.
4587 (struct struct03): Likewise.
4588 (struct struct04): Likewise.
4589 (struct struct_01_01): New struct.
4590 (struct struct_01_02): Likewise.
4591 (struct struct_01_03): Likewise.
4592 (struct struct_01_04): Likewise.
4593 (struct struct_02_01): Likewise.
4594 (struct struct_02_02): Likewise.
4595 (struct struct_02_03): Likewise.
4596 (struct struct_02_04): Likewise.
4597 (struct struct_04_01): Likewise.
4598 (struct struct_04_02): Likewise.
4599 (struct struct_04_03): Likewise.
4600 (struct struct_04_04): Likewise.
4601 (struct struct_05_01): Likewise.
4602 (struct struct_05_02): Likewise.
4603 (struct struct_05_03): Likewise.
4604 (struct struct_05_04): Likewise.
4605 (cmp_struct01): Remove function.
4606 (cmp_struct02): Likewise.
4607 (cmp_struct03): Likewise.
4608 (cmp_struct04): Likewise.
4609 (cmp_struct_01_01): Add Function.
4610 (cmp_struct_01_02): Likewise.
4611 (cmp_struct_01_03): Likewise.
4612 (cmp_struct_01_04): Likewise.
4613 (cmp_struct_02_01): Likewise.
4614 (cmp_struct_02_02): Likewise.
4615 (cmp_struct_02_03): Likewise.
4616 (cmp_struct_02_04): Likewise.
4617 (cmp_struct_04_01): Likewise.
4618 (cmp_struct_04_02): Likewise.
4619 (cmp_struct_04_03): Likewise.
4620 (cmp_struct_04_04): Likewise.
4621 (cmp_struct_05_01): Likewise.
4622 (cmp_struct_05_02): Likewise.
4623 (cmp_struct_05_03): Likewise.
4624 (cmp_struct_05_04): Likewise.
4625 (call_all): Add new structs.
4626 * gdb.base/infcall-nested-structs.exp: Likewise.
4627
4628 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
4629
4630 * gdb.python/py-framefilter-mi.exp: Update regexp to
4631 check for "arch" field in frame output.
4632
4633 2018-08-23 Kevin Buettner <kevinb@redhat.com>
4634
4635 * gdb.dwarf2/dw2-ranges-func.c: New file.
4636 * gdb.dwarf2/dw2-ranges-func.exp: New file.
4637
4638 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
4639
4640 * gdb.base/term.exp: Compare terminal settings with values from
4641 the inferior.
4642 * gdb.base/term.c: Get and set terminal settings.
4643
4644 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
4645
4646 * lib/mi-support.exp (mi_expect_stop): Update regexp to
4647 accommodate new "arch" field in frame output.
4648 * gdb.mi/mi-return.exp: Likewise.
4649 * gdb.mi/mi-stack.exp: Likewise.
4650 * gdb.mi/mi-syn-frame.exp: Likewise.
4651 * gdb.mi/user-selected-context-sync.exp: Likewise.
4652
4653 2018-08-19 Michael Spang <spang@google.com>
4654
4655 PR gdb/11786
4656 * gdb.base/gcore-tls-pie.c: New file.
4657 * gdb.base/gcore-tls-pie.exp: New file.
4658
4659 2018-08-18 Kevin Buettner <kevinb@redhat.com>
4660
4661 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
4662 * gdb.dwarf2/varval.c: New file.
4663 * gdb.dwarf2/varval.exp: New file.
4664
4665 2018-08-17 Alan Hayward <alan.hayward@arm.com>
4666
4667 PR gdb/18931
4668 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
4669
4670 2018-08-16 Keith Seitz <keiths@redhat.com>
4671
4672 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
4673 tests expected to pass.
4674
4675 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
4676
4677 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
4678 -data-disassemble -a.
4679 (test_disassembly_bogus_args): Likewise.
4680
4681 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
4682
4683 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
4684
4685 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
4686
4687 * gdb.base/vla-optimized-out.exp: Add new test.
4688
4689 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
4690
4691 * gdb.base/vla-optimized-out-o3.exp: Delete.
4692 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
4693 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
4694 deleted tests.
4695
4696 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
4697
4698 PR gdb/18050:
4699 * gdb.server/extended-remote-restart.c: New file.
4700 * gdb.server/extended-remote-restart.exp: New file.
4701
4702 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
4703
4704 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
4705 "set variable index = 42".
4706
4707 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
4708
4709 * boards/index-cache-gdb.exp: New file.
4710 * gdb.dwarf2/index-cache.exp: New file.
4711 * gdb.dwarf2/index-cache.c: New file.
4712 * gdb.base/maint.exp: Check if we are using the index cache.
4713
4714 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4715
4716 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
4717 MAKEFLAGS.
4718
4719 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4720
4721 * dg-extract-results.sh: Move to toplevel contrib.
4722 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
4723 * Makefile.in (check-parallel-racy): Likewise.
4724
4725 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
4726
4727 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
4728 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
4729 tests if the target supports scheduler locking.
4730
4731 2018-08-04 Tom de Vries <tdevries@suse.de>
4732
4733 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
4734
4735 2018-08-02 Tom Tromey <tom@tromey.com>
4736
4737 PR symtab/16842.
4738 * gdb.cp/temargs.exp: Test "info address" of a template
4739 parameter.
4740
4741 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
4742
4743 * gdb.python/py-mi-var-info-path-expression.c: New file.
4744 * gdb.python/py-mi-var-info-path-expression.py: New file.
4745 * gdb.python/py-mi-var-info-path-expression.exp: New file.
4746
4747 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
4748
4749 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
4750 error after "cannot resolve name" string.
4751
4752 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
4753
4754 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
4755 started.
4756 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
4757
4758 2018-07-28 Tom de Vries <tdevries@suse.de>
4759
4760 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
4761
4762 2018-07-26 Tom de Vries <tdevries@suse.de>
4763
4764 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
4765
4766 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
4767
4768 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
4769 is visible.
4770
4771 2018-07-26 Tom de Vries <tdevries@suse.de>
4772
4773 PR breakpoints/23366
4774 * gdb.base/catch-follow-exec.c: New test.
4775 * gdb.base/catch-follow-exec.exp: New file.
4776
4777 2018-07-25 Tom de Vries <tdevries@suse.de>
4778
4779 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
4780 vla-optimized-out.c.
4781
4782 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
4783
4784 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
4785 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
4786
4787 2018-07-20 Tom de Vries <tdevries@suse.de>
4788
4789 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
4790 NOCLONE macro.
4791 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
4792
4793 2018-07-19 Tom de Vries <tdevries@suse.de>
4794
4795 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
4796 regular expression.
4797
4798 2018-07-18 Tom de Vries <tdevries@suse.de>
4799
4800 * gdb.base/vla-optimized-out.c: New test.
4801 * gdb.base/vla-optimized-out.exp: New file.
4802
4803 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
4804
4805 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
4806 message "No address associated with hostname" when gdbserver
4807 cannot resolve the hostname.
4808
4809 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4810
4811 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
4812 Add some test prefixes to make tests unique.
4813
4814 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4815
4816 * gdb.base/frameapply.c: New file.
4817 * gdb.base/frameapply.exp: New file.
4818
4819 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4820
4821 * gdb.base/skip.exp: Update expected error message.
4822
4823 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
4824 Jan Kratochvil <jan.kratochvil@redhat.com>
4825 Paul Fertser <fercerpav@gmail.com>
4826 Tsutomu Seki <sekiriki@gmail.com>
4827
4828 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
4829 parameter.
4830 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
4831 by default.
4832 * boards/native-gdbserver.exp: Likewise.
4833 * gdb.server/run-without-local-binary.exp: Improve regexp used
4834 for detecting when a remote debugging connection succeeds.
4835 * gdb.server/server-connect.exp: New file.
4836 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
4837 Do not prefix the port number with ":".
4838 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
4839 support for detecting and using it. Add '$debughost_gdbserver'
4840 to the list of arguments used to start gdbserver. Handle case
4841 when gdbserver cannot resolve a network name.
4842
4843 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
4844
4845 PR c++/23373
4846 * gdb.base/ptype-offsets.cc (struct static_member): New
4847 struct.
4848 (main) <stmember>: New variable.
4849 * gdb.base/ptype-offsets.exp: Add test for printing a struct
4850 with a static member in it.
4851
4852 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
4853
4854 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
4855 watchpoints enabled and disabled.
4856
4857 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4858
4859 * gdb.base/examine-backward.exp: Still run tests around address
4860 0x0, even if address 0x0 is not readable. Update the pattern for
4861 matching address 0x0 in expected output.
4862
4863 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
4864
4865 * gdb.base/share-env-with-gdbserver.c (main): Add call to
4866 malloc/free.
4867
4868 2018-07-04 Tom de Vries <tdevries@suse.de>
4869
4870 * gdb.dwarf2/dw2-error.exp: Update expected error message.
4871
4872 2018-07-02 Maciej W. Rozycki <macro@mips.com>
4873
4874 PR tdep/8282
4875 * gdb.arch/mips-disassembler-options.exp: New test.
4876 * gdb.arch/mips-disassembler-options.s: New test source.
4877
4878 2018-06-29 Pedro Alves <palves@redhat.com>
4879
4880 * gdb.threads/names.exp: Adjust expected "info threads" output.
4881
4882 2018-06-29 Pedro Alves <palves@redhat.com>
4883
4884 * gdb.opt/inline-break.exp (line number, address): Add "info
4885 break" tests.
4886
4887 2018-06-29 Pedro Alves <palves@redhat.com>
4888
4889 * gdb.opt/inline-break.c (func1): Add "break here" marker.
4890 * gdb.opt/inline-break.exp: Test setting breakpoints by line
4891 number and address and running to them.
4892
4893 2018-06-29 Richard Bunt <richard.bunt@arm.com>
4894
4895 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
4896
4897 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4898
4899 * lib/compiler.c: Remove executable permission flag.
4900
4901 2018-06-28 Richard Bunt <richard.bunt@arm.com>
4902
4903 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
4904 code.
4905 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
4906
4907 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
4908
4909 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
4910
4911 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
4912
4913 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
4914 address argument is omitted.
4915
4916 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
4917
4918 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
4919
4920 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
4921
4922 PR gdb/21695
4923 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
4924 * gdb.base/infoline-reloc-main-from-zero.c: New file.
4925
4926 2018-06-26 Tom Tromey <tom@tromey.com>
4927
4928 PR rust/22574:
4929 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
4930 * gdb.rust/simple.rs (struct SimpleLayout): New.
4931
4932 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
4933
4934 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
4935 "info registers" output.
4936
4937 2018-06-21 Richard Bunt <richard.bunt@arm.com>
4938
4939 * gdb.base/watchpoint-hw-attach.c: New test.
4940 * gdb.base/watchpoint-hw-attach.exp: New file.
4941
4942 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
4943
4944 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
4945 through /bin/sh.
4946 * boards/dwarf4-gdb-index.exp: Likewise.
4947 * boards/fission-dwp.exp: Likewise.
4948
4949 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
4950
4951 * gdb.base/float128.exp: Add comment and improved fail message
4952 to the failure case of "print large128" test.
4953
4954 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
4955
4956 * configure.ac: Remove AC_PREREQ.
4957 * configure: Re-generate.
4958
4959 2018-06-19 Pedro Alves <palves@redhat.com>
4960
4961 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
4962 (func_extern_caller): New.
4963 (main): Call func_extern_caller.
4964 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
4965 logic change.
4966
4967 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
4968
4969 PR gdb/16841
4970 * gdb.cp/typedef-base.cc: New file.
4971 * gdb.cp/typedef-base.exp: New file.
4972
4973 2018-06-18 Tom de Vries <tdevries@suse.de>
4974
4975 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
4976
4977 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
4978 Richard Bunt <Richard.Bunt@arm.com>
4979
4980 * gdb.threads/attach-slow-waitpid.c: New file.
4981 * gdb.threads/attach-slow-waitpid.exp: New file.
4982 * gdb.threads/slow-waitpid.c: New file.
4983
4984 2018-06-14 Pedro Alves <palves@redhat.com>
4985
4986 * gdb.base/fork-running-state.c: Include <errno.h>.
4987 (exit_if_relative_exits): New.
4988 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
4989 exits.
4990 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
4991 child exits.
4992
4993 2018-06-14 Tom de Vries <tdevries@suse.de>
4994
4995 PR cli/22573
4996 * gdb.base/finish-pretty.c: New test.
4997 * gdb.base/finish-pretty.exp: New file.
4998
4999 2018-06-14 Pedro Alves <palves@redhat.com>
5000
5001 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
5002 gdb's expected startup output.
5003
5004 2018-06-14 Pedro Alves <palves@redhat.com>
5005
5006 * lib/selftest-support.exp (selftest_setup): Remove inlined
5007 function handling.
5008
5009 2018-06-14 Tom de Vries <tdevries@suse.de>
5010
5011 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
5012 matching of breakpoint printing.
5013
5014 2018-06-13 Tom de Vries <tdevries@suse.de>
5015
5016 PR testsuite/23269
5017 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
5018 (fork_child): ... here, and ...
5019 (fork_parent): ... here.
5020
5021 2018-06-12 Tom de Vries <tdevries@suse.de>
5022
5023 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
5024
5025 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
5026 Stephen Roberts <stephen.roberts@arm.com>
5027
5028 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
5029 rewrite test to describe action performed, rather than possible
5030 failure.
5031
5032 2018-06-08 Gary Benson <gbenson@redhat.com>
5033
5034 * gdb.threads/check-libthread-db.exp: New file.
5035 * gdb.threads/check-libthread-db.c: Likewise.
5036
5037 2018-06-05 Tom Tromey <tom@tromey.com>
5038
5039 * gdb.base/default.exp: Update expected "show version" output.
5040
5041 2018-06-05 Tom Tromey <tom@tromey.com>
5042
5043 PR cli/12326:
5044 * gdb.cp/static-print-quit.exp: Update.
5045 * lib/gdb.exp (pagination_prompt): Update.
5046 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
5047 * gdb.python/python.exp: Update.
5048
5049 2018-06-04 Joel Brobecker <brobecker@adacore.com>
5050
5051 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
5052
5053 2018-06-01 Joel Brobecker <brobecker@adacore.com>
5054
5055 * gdb.ada/bp_fun_addr: New testcase.
5056
5057 2018-06-01 Tom Tromey <tom@tromey.com>
5058
5059 * gdb.xml/tdesc-regs.exp (load_description): Update expected
5060 results.
5061 * gdb.dwarf2/method-ptr.exp: Set language to C++.
5062 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
5063 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
5064 * gdb.base/maint.exp (maint_pass_if): Update.
5065
5066 2018-05-31 Maciej W. Rozycki <macro@mips.com>
5067
5068 * gdb.base/endian.exp: New test.
5069 * gdb.base/endian.c: New test source.
5070
5071 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
5072
5073 PR gdb/23203
5074 * gdb.base/bt-selected-frame.c: New file.
5075 * gdb.base/bt-selected-frame.exp: New file.
5076 * lib/gdb.exp (get_current_frame_number): New function.
5077
5078 2018-05-24 Maciej W. Rozycki <macro@mips.com>
5079 Pedro Alves <palves@redhat.com>
5080
5081 * gdb.threads/tls-core.c: Include <stdlib.h>
5082 (thread_proc): Call `abort'.
5083 * gdb.threads/tls-core.exp: Generate a core with core_find too.
5084 (tls_core_test): New procedure, bits factored out from ...
5085 (top level): ... here. Test both native cores and gcore cores.
5086
5087 2018-05-23 Tom Tromey <tom@tromey.com>
5088
5089 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
5090
5091 2018-05-23 Tom Tromey <tom@tromey.com>
5092
5093 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
5094 symfile_complaints.
5095 (test_short_complaints): Likewise.
5096 (test_empty_complaints): Likewise.
5097 (test_initial_complaints): Update.
5098
5099 2018-05-23 Tom Tromey <tom@tromey.com>
5100
5101 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
5102
5103 2018-05-23 Tom Tromey <tom@tromey.com>
5104
5105 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
5106 (test_short_complaints): Update.
5107
5108 2018-05-22 Pedro Alves <palves@redhat.com>
5109
5110 * gdb.base/remote.exp: Only gdb_start after compiling the
5111 testcase. Issue "disconnect" before testing "set remote" command
5112 defaults. Issue clean_restart before running to main.
5113
5114 2018-05-22 Pedro Alves <palves@redhat.com>
5115
5116 * gdb.base/remote.exp: Adjust expected output of "show remote
5117 memory-write-packet-size". Add tests for "set remote
5118 memory-write-packet-size 0" and "set remote
5119 memory-write-packet-size fixed/limit".
5120
5121 2018-05-22 Pedro Alves <palves@redhat.com>
5122
5123 PR gdb/22973
5124 * gdb.base/utf8-identifiers.c: New file.
5125 * gdb.base/utf8-identifiers.exp: New file.
5126
5127 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
5128
5129 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
5130
5131 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
5132
5133 * gdb.arch/powerpc-vsx-gcore.exp: New file.
5134
5135 2018-05-18 Tom Tromey <tom@tromey.com>
5136
5137 * gdb.base/ptype-offsets.exp: Update.
5138
5139 2018-05-17 Keith Seitz <keiths@redhat.com>
5140
5141 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
5142 in expected breakpoint stop locations.
5143 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
5144 move to proper scope to test variable values.
5145 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
5146 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
5147 New functions.
5148 (main): Call not_inline_func3.
5149 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
5150 inline_func1, inline_func2, and inline_func3. Test that when each
5151 breakpoint is hit, GDB properly reports both the stop location
5152 and the backtrace. Repeat tests for temporary breakpoints.
5153
5154 2018-05-15 Maciej W. Rozycki <macro@mips.com>
5155
5156 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
5157 rather then trying to access it in determining whether the PID
5158 of `gdbserver' could have been retrieved.
5159
5160 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
5161
5162 * gdb.arch/amd64-init-x87-values.S: New file.
5163 * gdb.arch/amd64-init-x87-values.exp: New file.
5164
5165 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5166
5167 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
5168
5169 2018-05-04 Tom Tromey <tom@tromey.com>
5170
5171 PR python/22730:
5172 * gdb.python/python.exp: Test multi-line execute.
5173
5174 2018-05-04 Tom Tromey <tom@tromey.com>
5175
5176 PR python/22731:
5177 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
5178
5179 2018-05-04 Tom Tromey <tom@tromey.com>
5180
5181 PR gdb/11750:
5182 * gdb.base/define.exp: Test defining a user command inside a user
5183 command.
5184 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
5185
5186 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
5187 Pedro Alves <palves@redhat.com>
5188
5189 PR breakpoints/19806 and support for PR external/20207.
5190 * gdb.base/watchpoint-unaligned.c: New file.
5191 * gdb.base/watchpoint-unaligned.exp: New file.
5192
5193 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
5194
5195 * gdb.base/maint.exp: Make test names unique, use
5196 test_prefix_command_help to test 'help maint info', and remove
5197 repeated test of 'help maint'.
5198
5199 2018-05-04 Tom Tromey <tom@tromey.com>
5200
5201 PR gdb/22619:
5202 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
5203 behavior.
5204
5205 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
5206
5207 * gdb.base/maint.exp: Process output from 'maint print registers'
5208 line at a time.
5209
5210 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
5211
5212 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
5213 timeout.
5214
5215 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
5216
5217 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
5218 filter pattern.
5219
5220 2018-05-02 Pedro Alves <palves@redhat.com>
5221
5222 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
5223 to_log_command renames.
5224 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
5225
5226 2018-05-02 Tom Tromey <tom@tromey.com>
5227
5228 * gdb.python/py-parameter.exp: Set test message.
5229
5230 2018-05-02 Tom Tromey <tom@tromey.com>
5231
5232 PR python/20084:
5233 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
5234 PARAM_ZUINTEGER_UNLIMITED tests.
5235
5236 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
5237
5238 PR rust/23124
5239 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
5240 when casting.
5241
5242 2018-04-30 Tom Tromey <tom@tromey.com>
5243
5244 * gdb.python/py-type.exp: Check align attribute.
5245 * gdb.python/py-type.c: New "aligncheck" global.
5246
5247 2018-04-30 Tom Tromey <tom@tromey.com>
5248
5249 PR exp/17095:
5250 * gdb.dwarf2/dw2-align.exp: New file.
5251 * gdb.cp/align.exp: New file.
5252 * gdb.base/align.exp: New file.
5253 * lib/gdb.exp (gdb_int128_helper): New proc.
5254 (has_int128_c, has_int128_cxx): New caching procs.
5255
5256 2018-04-27 Tom Tromey <tom@tromey.com>
5257
5258 PR rust/22545:
5259 * gdb.rust/simple.exp: Add inclusive range tests.
5260
5261 2018-04-26 Pedro Alves <palves@redhat.com>
5262
5263 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
5264 ifunc breakpoint locations correctly of ifunc breakpoints set
5265 while the program resolves the ifunc.
5266
5267 2018-04-26 Pedro Alves <palves@redhat.com>
5268
5269 * gdb.base/gnu-ifunc-final.c: New file.
5270 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
5271 * gdb.base/gnu-ifunc.exp (executable): Delete.
5272 (staticexecutable): Adjust.
5273 (lib_opts, exec_opts): Delete.
5274 (make_binsuffix, build, set-break): New procedures.
5275 (misc_tests): New, with tests factored out from the top level.
5276 (top level): Test different combinations of ifunc resolver name,
5277 resolver with and with debug info, and ifunc target with and
5278 without debug info. Wrap static tests with with_target_prefix.
5279
5280 2018-04-26 Pedro Alves <palves@redhat.com>
5281
5282 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
5283 return type" warnings.
5284
5285 2018-04-25 Pedro Alves <palves@redhat.com>
5286
5287 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
5288 killed".
5289 * gdb.base/kill-after-signal.exp: Likewise.
5290 * gdb.threads/kill.exp: Likewise.
5291
5292 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5293 Sergio Durigan Junior <sergiodj@redhat.com>
5294 Pedro Alves <palves@redhat.com>
5295
5296 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
5297 regexps to expect for '[Inferior ... detached]' as well.
5298 * gdb.base/attach.exp: Likewise.
5299 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
5300 "gdb_continue_to_end".
5301 (test_catch_syscall_with_wrong_args): Likewise.
5302 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
5303 ']'. Don't set 'verbose' on.
5304 * gdb.base/foll-vfork.exp: Likewise.
5305 * gdb.base/fork-print-inferior-events.c: New file.
5306 * gdb.base/fork-print-inferior-events.exp: New file.
5307 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
5308 '[Inferior ... has been killed]' message.
5309 * gdb.base/kill-after-signal.exp: Likewise.
5310 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
5311 detach message.
5312 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
5313 message.
5314 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
5315 regexps to expect for '[Inferior ... detached]' as well.
5316 * gdb.threads/process-dies-while-detaching.exp: Likewise.
5317
5318 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
5319
5320 PR gdb/23104
5321 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
5322
5323 2018-04-22 Rajendra SY <rajendra.sy@gmail.com>
5324
5325 PR gdb/23095
5326 * gdb.base/break-probes.exp: Pass shlib_load to
5327 prepare_for_testing. Set normal_bp to r_debug_state if target is
5328 bsd.
5329
5330 2018-04-19 Richard Bunt <richard.bunt@arm.com>
5331
5332 * gdb.threads/multiple-successive-infcall.c: New test.
5333 * gdb.threads/multiple-successive-infcall.exp: New file.
5334
5335 2018-04-17 Tom Tromey <tom@tromey.com>
5336
5337 * gdb.rust/simple.rs (Union): New type.
5338 (main): New local "u".
5339 * gdb.rust/simple.exp (test_one_slice): Add new test case.
5340
5341 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5342
5343 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
5344 number information in output of "whereis" command.
5345 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
5346
5347 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5348
5349 * gdb.ada/info_types.exp: Adjust expected output to the line
5350 numbers now printed by "info var/func/type".
5351 * gdb.base/completion.exp: Likewise.
5352 * gdb.base/included.exp: Likewise.
5353 * gdb.cp/cp-relocate.exp: Likewise.
5354 * gdb.cp/cplusfuncs.exp: Likewise.
5355 * gdb.cp/namespace.exp: Likewise.
5356 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
5357
5358 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
5359
5360 * gdb.btrace/cpu.exp: New.
5361
5362 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
5363
5364 * gdb.base/step-indirect-call-thunk.exp: New.
5365 * gdb.base/step-indirect-call-thunk.c: New.
5366 * gdb.reverse/step-indirect-call-thunk.exp: New.
5367 * gdb.reverse/step-indirect-call-thunk.c: New.
5368
5369 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
5370
5371 * gdb.base/pie-fork.c: New file.
5372 * gdb.base/pie-fork.exp: New file.
5373
5374 2018-04-11 Tom Tromey <tom@tromey.com>
5375
5376 * gdb.rust/simple.exp: Add test for ".." struct initializer.
5377
5378 2018-04-10 Pedro Alves <palves@redhat.com>
5379
5380 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
5381 exits. Instead loop running forever.
5382 (fork_parent): Run forever too.
5383
5384 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
5385
5386 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
5387 mi_continue_to_line.
5388 * gdb.mi/mi-stack.c (callee4): Add comment.
5389
5390 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
5391
5392 * gdb.mi/mi-stack.exp: Fix indentation.
5393
5394 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
5395
5396 PR gdb/22979
5397 * gdb.arch/amd64-osabi.exp: New file.
5398
5399 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
5400
5401 PR gdb/22980
5402 * gdb.base/osabi.exp: New file.
5403
5404 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
5405
5406 * gdb.cp/static-typedef-print.exp: New file.
5407 * gdb.cp/static-typedef-print.cc: New file.
5408
5409 2018-03-27 Joel Brobecker <brobecker@adacore.com>
5410
5411 * gdb.ada/varsize_limit: New testcase.
5412
5413 2018-03-27 Joel Brobecker <brobecker@adacore.com>
5414
5415 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
5416
5417 * gdb.ada/notcplusplus: New testcase.
5418
5419 * gdb.base/c-linkage-name.c: New file.
5420 * gdb.base/c-linkage-name.exp: New testcase.
5421
5422 2018-03-26 Tom Tromey <tom@tromey.com>
5423
5424 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
5425 * gdb.python/py-framefilter.py (name_error): New global.
5426 (ErrorInName.function): Use name_error.
5427
5428 2018-03-26 Tom Tromey <tom@tromey.com>
5429
5430 PR backtrace/15582:
5431 * gdb.python/py-framefilter.exp: Add "bt hide" test.
5432
5433 2018-03-23 Keith Seitz <keiths@redhat.com>
5434
5435 PR c++/22968
5436 * gdb.cp/subtypes.exp: New file.
5437 * gdb.cp/subtypes.h: New file.
5438 * gdb.cp/subtypes.cc: New file.
5439 * gdb.cp/subtypes-2.cc: New file.
5440
5441 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
5442
5443 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
5444 (done): Call '_exit' not 'exit' to avoid atexit handlers.
5445 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
5446 -nostartfiles when compiling the test. Confirm that all registers
5447 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
5448
5449 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
5450
5451 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
5452 option, syntax was wrong anyway.
5453 * gdb.arch/arm-disp-step.exp: Likewise.
5454 * gdb.arch/sparc64-regs.exp: Likewise.
5455 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
5456 option, syntax was wrong anyway, switch to use
5457 prepare_for_testing.
5458 * gdb.arch/i386-disp-step.exp: Likewise.
5459
5460 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
5461
5462 * gdb.ada/exec_changed.exp: Replace "target_info exists
5463 use_gdb_stub" by "use_gdb_stub".
5464 * gdb.ada/start.exp: Likewise.
5465 * gdb.base/async-shell.exp: Likewise.
5466 * gdb.base/attach-pie-misread.exp: Likewise.
5467 * gdb.base/attach-wait-input.exp: Likewise.
5468 * gdb.base/break-entry.exp: Likewise.
5469 * gdb.base/break-interp.exp: Likewise.
5470 * gdb.base/dprintf-detach.exp: Likewise.
5471 * gdb.base/nostdlib.exp: Likewise.
5472 * gdb.base/solib-nodir.exp: Likewise.
5473 * gdb.base/statistics.exp: Likewise.
5474 * gdb.base/testenv.exp: Likewise.
5475 * gdb.mi/mi-exec-run.exp: Likewise.
5476 * gdb.mi/mi-start.exp: Likewise.
5477 * gdb.multi/dummy-frame-restore.exp: Likewise.
5478 * gdb.multi/multi-arch-exec.exp: Likewise.
5479 * gdb.multi/multi-arch.exp: Likewise.
5480 * gdb.multi/tids.exp: Likewise.
5481 * gdb.multi/watchpoint-multi.exp: Likewise.
5482 * gdb.python/py-events.exp: Likewise.
5483 * gdb.threads/attach-into-signal.exp: Likewise.
5484 * gdb.threads/attach-stopped.exp: Likewise.
5485 * gdb.threads/threadapply.exp: Likewise.
5486 * lib/selftest-support.exp: Likewise.
5487
5488 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
5489
5490 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
5491
5492 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
5493
5494 * gdb.perf/template-breakpoints.cc: New file.
5495 * gdb.perf/template-breakpoints.exp: New file.
5496 * gdb.perf/template-breakpoints.py: New file.
5497
5498 2018-03-19 Tom Tromey <tom@tromey.com>
5499
5500 * gdb.rust/simple.rs (main): Add local variables field1, field2,
5501 y0.
5502 * gdb.rust/simple.exp: Test bare identifier form of struct
5503 initializer.
5504
5505 2018-03-19 Tom Tromey <tom@tromey.com>
5506
5507 * gdb.gdb/observer.exp: Remove.
5508
5509 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5510
5511 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
5512 "qualified" option when setting breakpoints.
5513 * gdb.trace/backtrace.exp: Likewise.
5514 * gdb.trace/circ.exp: Likewise.
5515 * gdb.trace/collection.exp: Likewise.
5516 * gdb.trace/disconnected-tracing.exp: Likewise.
5517 * gdb.trace/ftrace-lock.exp: Likewise.
5518 * gdb.trace/ftrace.exp: Likewise.
5519 * gdb.trace/infotrace.exp: Likewise.
5520 * gdb.trace/packetlen.exp: Likewise.
5521 * gdb.trace/passc-dyn.exp: Likewise.
5522 * gdb.trace/qtro.exp: Likewise.
5523 * gdb.trace/read-memory.exp: Likewise.
5524 * gdb.trace/report.exp: Likewise.
5525 * gdb.trace/signal.exp: Likewise.
5526 * gdb.trace/status-stop.exp: Likewise.
5527 * gdb.trace/strace.exp: Likewise.
5528 * gdb.trace/tfind.exp: Likewise.
5529 * gdb.trace/trace-break.exp: Likewise.
5530 * gdb.trace/trace-condition.exp: Likewise.
5531 * gdb.trace/trace-mt.exp: Likewise.
5532 * gdb.trace/tstatus.exp: Likewise.
5533 * gdb.trace/tsv.exp: Likewise.
5534 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
5535 * gdb.trace/unavailable.exp: Likewise.
5536 * gdb.trace/while-dyn.exp: Likewise.
5537
5538 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5539
5540 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
5541 that libinproctrace is copied to the target.
5542
5543 2018-03-14 Tom Tromey <tom@tromey.com>
5544
5545 PR cli/14977:
5546 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
5547 a null pointer.
5548 * gdb.base/wchar.exp: Likewise.
5549
5550 2018-03-14 Tom Tromey <tom@tromey.com>
5551
5552 PR cli/19918:
5553 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
5554 flag.
5555
5556 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
5557
5558 PR gdb/22841
5559 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
5560 "target" to remote_exec.
5561
5562 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
5563
5564 PR gdb/22841
5565 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
5566 ${board}_upload): Remove.
5567
5568 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
5569
5570 * gdb.cp/watch-cp.cc: New test.
5571 * gdb.cp/watch-cp.exp: New file.
5572
5573 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5574
5575 * gdb.base/infcall-nested-structs.exp: New file.
5576 * gdb.base/infcall-nested-structs.c: New file.
5577 * gdb.base/float.exp: Add riscv support.
5578
5579 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
5580
5581 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
5582 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
5583
5584 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
5585
5586 * gdb.server/abspath.exp: New file.
5587 * lib/gdb.exp (with_cwd): New procedure.
5588
5589 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
5590
5591 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
5592 use it.
5593 (gdb_is_target_remote_prompt): New proc.
5594 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
5595 (gdb_is_target_native): Pass prompt parameter to
5596 gdb_is_target_1.
5597
5598 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
5599
5600 * gdb.base/load-command.c: New file.
5601 * gdb.base/load-command.exp: New file.
5602 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
5603 (gdb_is_target_1): ...this, and generalize for other targets
5604 than just remote.
5605 (gdb_is_target_remote): Use gdb_is_target_1.
5606 (gdb_is_target_native): use gdb_is_target_1.
5607
5608 2018-02-26 Tom Tromey <tom@tromey.com>
5609
5610 PR python/16497:
5611 * gdb.python/py-framefilter.exp: Update test.
5612
5613 2018-02-26 Tom Tromey <tom@tromey.com>
5614
5615 * gdb.dwarf2/variant.c: New file.
5616 * gdb.dwarf2/variant.exp: New file.
5617
5618 2018-02-26 Tom Tromey <tom@tromey.com>
5619
5620 * gdb.rust/simple.exp: Accept more possible results in enum test.
5621
5622 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
5623
5624 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
5625 parentheses.
5626
5627 2018-02-23 Maciej W. Rozycki <macro@mips.com>
5628
5629 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
5630 name of a variable: $actual_linejj -> $actual_line.
5631
5632 2018-02-21 John Baldwin <jhb@FreeBSD.org>
5633
5634 * gdb.arch/amd64-i386-address.exp: Fix a typo.
5635
5636 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
5637
5638 * gdb.btrace/buffer-size.exp: Do not force BTS.
5639
5640 2018-02-14 Pedro Alves <palves@redhat.com>
5641
5642 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
5643 getting a "Quit".
5644
5645 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
5646
5647 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
5648 Fix test name.
5649
5650 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
5651
5652 * gdb.cp/m-static.exp: Check type of optimized out static
5653 member.
5654
5655 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
5656
5657 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
5658 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
5659
5660 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
5661 Leszek Swirski <leszeks@google.com>
5662
5663 * gdb.python/py-prettyprint.c
5664 (struct to_string_returns_value_inner,
5665 struct to_string_returns_value_wrapper): New.
5666 (main): Add tsrvw variable.
5667 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
5668 ToStringReturnsValueWrapper): New classes.
5669 (register_pretty_printers): Register new pretty-printers.
5670 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
5671 recursive pretty printer.
5672 * gdb.python/py-mi.exp: Likewise.
5673
5674 2018-02-01 Leszek Swirski <leszeks@google.com>
5675
5676 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
5677 functions with the same name as an include file are parsed
5678 correctly.
5679
5680 2018-02-01 Yao Qi <yao.qi@linaro.org>
5681
5682 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
5683 "\[^\r\n\]*".
5684
5685 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
5686
5687 * gdb.arch/powerpc-prologue-frame.s: New file.
5688 * gdb.arch/powerpc-prologue-frame.c: Likewise.
5689 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
5690
5691 2018-01-31 Joel Brobecker <brobecker@adacore.com>
5692
5693 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
5694
5695 2018-01-30 Pedro Alves <palves@redhat.com>
5696
5697 PR gdb/13211
5698 * gdb.base/interrupt-daemon.c: New.
5699 * gdb.base/interrupt-daemon.exp: New.
5700 * gdb.multi/multi-term-settings.c: New.
5701 * gdb.multi/multi-term-settings.exp: New.
5702
5703 2018-01-30 Joel Brobecker <brobecker@adacore.com>
5704
5705 * gdb.base/break.exp: Save the location where the breakpoint
5706 on break.c:47 was actually inserted when debugging the version
5707 compiled at -O2 and use it in the expected output of the "info
5708 break" test performed soon after.
5709
5710 2018-01-22 Pedro Alves <palves@redhat.com>
5711 Sergio Durigan Junior <sergiodj@redhat.com>
5712
5713 * gdb.base/whatis.exp: Add tests for 'set print object on' +
5714 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
5715
5716 2018-01-22 Joel Brobecker <brobecker@adacore.com>
5717
5718 * gdb.base/break-include.c, gdb.base/break-include.inc,
5719 gdb.base/break-include.exp: New files.
5720 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
5721 line number now being the actual line number where the breakpoint
5722 was inserted.
5723 * gdb.mi/mi-break.exp: Likewise.
5724 * gdb.mi/mi-reverse.exp: Likewise.
5725 * gdb.mi/mi-simplerun.exp: Ditto.
5726
5727 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
5728
5729 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
5730 varobj.
5731 * gdb.mi/mi-var-create-rtti.exp: Likewise.
5732
5733 2018-01-21 Don Breazeal <donb@codesourcery.com>
5734 Andrew Burgess <andrew.burgess@embecosm.com>
5735
5736 * gdb.mi/basics.c: Add new global.
5737 * gdb.mi/mi-frame-regs.exp: New file.
5738 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
5739 case.
5740
5741 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
5742
5743 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
5744 non-parameter, and on an unknown symbol.
5745
5746 2018-01-19 Tom Tromey <tom@tromey.com>
5747
5748 * gdb.rust/modules.rs (TWENTY_THREE): New global.
5749 * gdb.rust/modules.exp: Add ::-qualified lookup test.
5750
5751 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5752
5753 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
5754 setrlimit and chdir to int.
5755
5756 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5757
5758 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
5759 function.
5760 (my_tend): Likewise.
5761 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
5762 rationale of avoiding FP- and vector instructions.
5763
5764 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
5765
5766 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
5767 "info reg" with "\[ \t\]*".
5768 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
5769 "\[ \t\]+".
5770 * gdb.arch/s390-multiarch.exp: Ditto.
5771 * gdb.base/pc-fp.exp: Ditto.
5772 * gdb.reverse/i386-precsave.exp: Ditto.
5773 * gdb.reverse/i386-reverse.exp: Ditto.
5774 * gdb.reverse/i387-env-reverse.exp: Ditto.
5775 * gdb.reverse/i387-stack-reverse.exp: Ditto.
5776
5777 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
5778
5779 * lib/gdb.exp (gdb_compile): Re-enable use of
5780 universal_compile_options for languages other than Rust.
5781
5782 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
5783
5784 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
5785
5786 2018-01-17 Mike Gulick <mgulick@mathworks.com>
5787
5788 PR gdb/16577
5789 * gdb.base/solib-vanish.exp: New.
5790 * gdb.base/solib-vanish-main.c: New.
5791 * gdb.base/solib-vanish-lib1.c: New.
5792 * gdb.base/solib-vanish-lib2.c: New.
5793
5794 2018-01-17 Yao Qi <yao.qi@linaro.org>
5795
5796 * gdb.compile/compile.exp: Match the address printed for
5797 frame in the output of command "bt".
5798
5799 2018-01-15 Tom Tromey <tom@tromey.com>
5800
5801 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
5802 compute sp_reg.
5803
5804 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
5805
5806 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
5807 to prepare.
5808 (prepare): Return 0 on error, 1 on success.
5809
5810 2018-01-12 Pedro Alves <palves@redhat.com>
5811
5812 * gdb.base/continue-after-aborted-step-over.c: New.
5813 * gdb.base/continue-after-aborted-step-over.exp: New.
5814
5815 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
5816
5817 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
5818 options when not creating an executable.
5819
5820 2018-01-11 Pedro Alves <palves@redhat.com>
5821
5822 PR remote/22597
5823 * gdb.server/stop-reply-no-thread.c: New file.
5824 * gdb.server/stop-reply-no-thread.exp: New file.
5825
5826 2018-01-10 Pedro Alves <palves@redhat.com>
5827
5828 PR gdb/22670
5829 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
5830 functions too. Test setting breakpoints and printing C functions
5831 with no debug info too.
5832 * gdb.ada/bp_c_mixed_case/qux.c: New file.
5833
5834 2018-01-10 Pedro Alves <palves@redhat.com>
5835
5836 PR gdb/22670
5837 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
5838 a fail.
5839
5840 2018-01-10 Pedro Alves <palves@redhat.com>
5841
5842 PR gdb/22670
5843 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
5844
5845 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
5846
5847 * gdb.server/unittest.exp: Match the output in non-development
5848 mode.
5849
5850 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
5851
5852 * gdb.gdb/unittest.exp: Match output in non-development mode.
5853
5854 2018-01-08 Joel Brobecker <brobecker@adacore.com>
5855
5856 * gdb.ada/access_tagged_param.exp: Relax expected output
5857 for value of "ObjL" in "continue" to pck.inspect breakpoint
5858 test.
5859
5860 2018-01-08 Joel Brobecker <brobecker@adacore.com>
5861
5862 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
5863 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
5864
5865 2018-01-05 Pedro Alves <palves@redhat.com>
5866
5867 PR gdb/18653
5868 * gdb.base/libsegfault.exp: New.
5869
5870 2018-01-05 Joel Brobecker <brobecker@adacore.com>
5871
5872 PR gdb/22670
5873 * gdb.ada/access_tagged_param.exp: New file.
5874 * gdb.ada/access_tagged_param/foo.adb: New file.
5875
5876 2018-01-05 Pedro Alves <palves@redhat.com>
5877
5878 PR gdb/22670
5879 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
5880 exercise lower case too, and to exercise both full matching and
5881 wild matching.
5882
5883 2018-01-05 Joel Brobecker <brobecker@adacore.com>
5884
5885 * gdb.ada/rename_subscript_param: New testcase.
5886
5887 2018-01-05 Jerome Guitton <guitton@adacore.com>
5888
5889 * gdb.ada/arr_acc_idx_w_gap: New testcase.
5890
5891 2018-01-05 Joel Brobecker <brobecker@adacore.com>
5892
5893 * gdb.ada/convvar_comp: New testcase.
5894
5895 2018-01-05 Xavier Roirand <roirand@adacore.com>
5896
5897 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
5898 (My_Table): New global variable.
5899 * testsuite/gdb.ada/array_char_idx.exp: Add test.
5900
5901 2018-01-04 Joel Brobecker <brobecker@adacore.com>
5902
5903 PR gdb/22670
5904 * gdb.ada/maint_with_ada: New testcase.
5905
5906 2018-01-04 Joel Brobecker <brobecker@adacore.com>
5907
5908 PR gdb/22670
5909 * gdb.ada/bp_c_mixed_case: New testcase.
5910
5911 2018-01-04 Joel Brobecker <brobecker@adacore.com>
5912
5913 PR gdb/22670
5914 * gdb.ada/complete.exp: Add "complete break ada" test.
5915
5916 2018-01-04 Joel Brobecker <brobecker@adacore.com>
5917
5918 PR gdb/22670
5919 * gdb.ada/info_addr_mixed_case: New testcase.
5920
5921 2018-01-03 Xavier Roirand <roirand@adacore.com>
5922
5923 * gdb.ada/excep_handle.exp: New testcase.
5924 * gdb.ada/excep_handle/foo.adb: New file.
5925 * gdb.ada/excep_handle/pck.ads: New file.
5926
5927 2018-01-03 Joel Brobecker <brobecker@adacore.com>
5928
5929 * gdb.base/step-line.c: Add extra empty line in copyright header.
5930 * gdb.base/step-line.inp: Likewise.
5931
5932 2018-01-02 Joel Brobecker <brobecker@adacore.com>
5933
5934 * gdb.ada/dyn_stride.exp: Add slice test.
5935
5936 2018-01-02 Joel Brobecker <brobecker@adacore.com>
5937
5938 * gdb.ada/dyn_stride: New testcase.
5939
5940 2017-12-27 Stafford Horne <shorne@gmail.com>
5941
5942 * gdb.xml/extra-regs.xml: Add example foo reggroup.
5943 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
5944
5945 2017-12-27 Stafford Horne <shorne@gmail.com>
5946
5947 * gdb.base/reggroups.c: New file.
5948 * gdb.base/reggroups.exp: New file.
5949
5950 2017-12-18 Joel Brobecker <brobecker@adacore.com>
5951
5952 * gdb.dwarf2/ada-valprint-error.c: New file.
5953 * gdb.dwarf2/ada-valprint-error.exp: New file.
5954
5955 2017-12-18 Joel Brobecker <brobecker@adacore.com>
5956
5957 * gdb.ada/assign_arr: New testcase.
5958
5959 2017-12-18 Xavier Roirand <roirand@adacore.com>
5960
5961 * gdb.ada/funcall_ptr: New testcase.
5962
5963 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5964
5965 PR cli/16224
5966 * gdb.base/ptype-offsets.cc: New file.
5967 * gdb.base/ptype-offsets.exp: New file.
5968
5969 2017-12-15 Yao Qi <yao.qi@linaro.org>
5970
5971 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
5972 if XML is disabled.
5973
5974 2017-12-15 Xavier Roirand <roirand@adacore.com>
5975
5976 * gdb.ada/same_component_name: New testcase.
5977
5978 2017-12-14 Joel Brobecker <brobecker@adacore.com>
5979
5980 * gdb.ada/str_binop_equal: New testcase.
5981
5982 2017-12-14 Joel Brobecker <brobecker@adacore.com>
5983
5984 * gdb.ada/task_switch_in_core: New testcase.
5985
5986 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
5987
5988 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
5989 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
5990 call test_bkpt_qualified.
5991 (test_bkpt_qualified): New proc.
5992
5993 2017-12-13 Pedro Alves <palves@redhat.com>
5994
5995 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
5996 Tighten regexp by matching with an anchor.
5997
5998 2017-12-13 Pedro Alves <palves@redhat.com>
5999
6000 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
6001 ("expression with namespace"): New set of tests.
6002 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
6003 (Nested::Test_NS::qux): New.
6004 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
6005 defaults to 'start_quote_char' and 'end_quote_char' parameters.
6006
6007 2017-12-13 Joel Brobecker <brobecker@adacore.com>
6008
6009 * gdb.base/server-del-break.c: New file.
6010 * gdb.base/server-del-break.exp: New file.
6011
6012 2017-12-12 Stafford Horne <shorne@gmail.com>
6013
6014 * gdb.xml/tdesc-regs.exp: Add or1k support.
6015
6016 2017-12-12 Stafford Horne <shorne@gmail.com>
6017
6018 * gdb.base/bp-permanent.c: Define nop of or1k.
6019
6020 2017-12-11 Joel Brobecker <brobecker@adacore.com>
6021
6022 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
6023 output with components being reordered.
6024
6025 2017-12-11 Joel Brobecker <brobecker@adacore.com>
6026
6027 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
6028 output with components being reordered.
6029
6030 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6031 Pedro Alves <palves@redhat.com>
6032
6033 * gdb.base/maint.exp (check for .gdb_index): Check also for
6034 .debug_names.
6035 * gdb.dlang/watch-loc.c (.debug_aranges): New.
6036 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
6037 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
6038 (.gdb_index used after symbol reloading): Support also .debug_names.
6039 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
6040
6041 2017-12-08 Yao Qi <yao.qi@linaro.org>
6042
6043 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
6044 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
6045
6046 2017-12-08 Yao Qi <yao.qi@linaro.org>
6047
6048 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
6049 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
6050
6051 2017-12-08 Yao Qi <yao.qi@linaro.org>
6052
6053 * gdb.arch/aarch64-tagged-pointer.c: New file.
6054 * gdb.arch/aarch64-tagged-pointer.exp: New file.
6055
6056 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
6057
6058 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
6059 "int".
6060
6061 2017-12-07 Keith Seitz <keiths@redhat.com>
6062
6063 PR breakpoints/22569
6064 * gdb.linespec/ls-errs.exp: Change expected result of "break
6065 -source this file has spaces.c -line 3".
6066 Check that an explicit source file followed by whitespace is
6067 identified as an invalid explicit location.
6068
6069 2017-12-07 Keith Seitz <keiths@redhat.com>
6070
6071 * gdb.cp/nested-types.cc: New file.
6072 * gdb.cp/nested-types.exp: New file.
6073 * lib/cp-support.exp: Load data-structures.exp library.
6074 (debug_cp_test_ptype_class): New global.
6075 (cp_ptype_class_verbose, next_line): New procedures.
6076 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
6077 Add and document new return value.
6078 Switch the list of lines to a queue.
6079 Add support for new `type' key for nested type definitions.
6080 Add debugging/troubleshooting messages.
6081 * lib/data-structures.exp: New file.
6082
6083 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
6084
6085 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
6086 with proc_with_prefix, don't use with_test_prefix.
6087
6088 2017-12-07 Tom Tromey <tom@tromey.com>
6089
6090 * gdb.base/break.exp: Add test for empty "commands".
6091
6092 2017-12-07 Yao Qi <yao.qi@linaro.org>
6093
6094 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
6095 malloc and catch syscall.
6096
6097 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
6098
6099 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
6100 tests for explicit locations.
6101
6102 2017-12-06 Pedro Alves <palves@redhat.com>
6103
6104 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
6105 force-disabling XML descriptions.
6106
6107 2017-12-04 Pedro Alves <palves@redhat.com>
6108
6109 PR gdb/22499
6110 * gdb.arch/amd64-disp-step-avx.S: New file.
6111 * gdb.arch/amd64-disp-step-avx.exp: New file.
6112
6113 2017-12-03 Pedro Alves <palves@redhat.com>
6114
6115 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
6116 and <string.h>.
6117 (parent_function): Print distinct messages when waitpid fails, or
6118 the child exits with a signal, or the child exits for an unhandled
6119 reason.
6120 * gdb.threads/process-dies-while-detaching.exp
6121 (detach_and_expect_exit): New 'inf_output_re' parameter and use
6122 it. Wait for both inferior output and GDB's prompt. Use an
6123 indirect spawn id list.
6124 (do_detach): New parameter 'child_exit'. Use it to compute
6125 expected inferior output.
6126 (test_detach, test_detach_watch, test_detach_killed_outside):
6127 Adjust to pass down the expected child exit kind.
6128
6129 2017-12-01 Joel Brobecker <brobecker@adacore.com>
6130 Sergio Durigan Junior <sergiodj@redhat.com>
6131 Pedro Alves <palves@redhat.com>
6132
6133 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
6134
6135 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
6136
6137 * gdb.base/relocate.exp: Add tests to guarantee that arguments
6138 to 'symbol-file' and 'add-symbol-file' can be
6139 position-independent.
6140
6141 2017-12-01 Yao Qi <yao.qi@linaro.org>
6142
6143 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
6144 the URL in copyright header.
6145 * gdb.arch/aarch64-fp.exp: Likewise.
6146 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
6147 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
6148 * gdb.base/expand-psymtabs.exp: Likewise.
6149 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
6150 * gdb.fortran/common-block.exp: Likewise.
6151 * gdb.fortran/common-block.f90: Likewise.
6152 * gdb.fortran/logical.exp: Likewise.
6153 * gdb.fortran/vla-datatypes.f90: Likewise.
6154 * gdb.fortran/vla-sub.f90: Likewise.
6155
6156 2017-11-30 Joel Brobecker <brobecker@adacore.com>
6157
6158 * gdb.ada/repeat_dyn: New testcase.
6159
6160 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
6161
6162 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
6163 Update for changed thread numbering.
6164 * gdb.cell/bt.exp: Update for changed GDB output.
6165
6166 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
6167
6168 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
6169 setting isremote by hand.
6170 * boards/dwarf4-gdb-index.exp: Likewise.
6171 * boards/fission.exp: Likewise.
6172 * boards/stabs.exp: Likewise.
6173
6174 2017-11-30 Pedro Alves <palves@redhat.com>
6175
6176 * gdb.linespec/cpls-ops.exp
6177 (check_explicit_skips_function_argument): Extract the underlying
6178 type of size_t instead of hardcoding it.
6179
6180 2017-11-29 Pedro Alves <palves@redhat.com>
6181
6182 PR c++/19436
6183 * gdb.linespec/cpls-abi-tag.cc: New file.
6184 * gdb.linespec/cpls-abi-tag.exp: New file.
6185
6186 2017-11-29 Pedro Alves <palves@redhat.com>
6187
6188 * gdb.base/langs.exp: Use -qualified.
6189 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
6190 it.
6191 * gdb.cp/namespace.exp: Use -qualified.
6192 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
6193 (overload-3, template-overload, template-ret-type, const-overload)
6194 (const-overload-quoted, anon-ns, ambiguous-prefix): New
6195 procedures.
6196 (test_driver): Call them.
6197 * gdb.cp/save-bp-qualified.cc: New.
6198 * gdb.cp/save-bp-qualified.exp: New.
6199 * gdb.linespec/explicit.exp: Test -qualified.
6200 * lib/completion-support.exp (completion::explicit_opts_list): Add
6201 "-qualified".
6202 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
6203
6204 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
6205
6206 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
6207
6208 2017-11-29 Tom Tromey <tom@tromey.com>
6209
6210 * gdb.base/relocate.exp: Update invalid argument test.
6211 Add new tests for invalid arguments.
6212
6213 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
6214
6215 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
6216 Return 0 as a long.
6217 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
6218
6219 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
6220
6221 * gdb.cp/breakpoint.cc (bar): Set return type to void.
6222 * gdb.cp/psymtab-parameter.cc (func): Likewise.
6223 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
6224 func ().
6225 * gdb.cp/shadow.cc (B.func): Return 0.
6226
6227 2017-11-27 Joel Brobecker <brobecker@adacore.com>
6228
6229 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
6230 expected output in gdb_expect call to allow the exception
6231 message to be present as well. Fix syntax confusion to avoid
6232 TCL thinking that exception_name is an array.
6233
6234 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
6235
6236 * gdb.arch/spu-info.c: Include <unistd.h>.
6237 (do_signal_test): Fix broken calls to write.
6238 * gdb.arch/spu-info.exp: Use prepare_for_testing.
6239 Fix checks for empty mailboxes. Update signal tests for corrected
6240 do_signal_test routine. Allow nonzero event status.
6241 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
6242 * gdb.cell/arch.exp: Use standard_output_file.
6243 * gdb.cell/break.exp: Likewise.
6244 * gdb.cell/bt.exp: Likewise.
6245 * gdb.cell/core.exp: Likewise.
6246 * gdb.cell/dwarfaddr.exp: Likewise.
6247 * gdb.cell/ea-cache.exp: Likewise.
6248 * gdb.cell/ea-standalone.exp: Likewise.
6249 * gdb.cell/f-regs.exp: Likewise.
6250 * gdb.cell/fork.exp: Likewise.
6251 * gdb.cell/gcore.exp: Likewise.
6252 * gdb.cell/mem-access.exp: Likewise.
6253 * gdb.cell/ptype.exp: Likewise.
6254 * gdb.cell/registers.exp: Likewise.
6255 * gdb.cell/sizeof.exp: Likewise.
6256 * gdb.cell/solib-symbol.exp: Likewise.
6257 * gdb.cell/solib.exp: Likewise.
6258
6259 2017-11-25 Pedro Alves <palves@redhat.com>
6260
6261 * gdb.base/complete-empty.exp: New file.
6262 * gdb.base/completion.exp: Adjust.
6263
6264 2017-11-25 Pedro Alves <palves@redhat.com>
6265
6266 * gdb.linespec/cpls-ops.cc: New file.
6267 * gdb.linespec/cpls-ops.exp: New file.
6268 * lib/completion-support.exp (test_complete_prefix_range_re): New,
6269 factored out from ...
6270 (test_complete_prefix_range): ... this.
6271
6272 2017-11-24 Pedro Alves <palves@redhat.com>
6273
6274 * gdb.linespec/cpcompletion.exp: New file.
6275 * gdb.linespec/cpls-hyphen.cc: New file.
6276 * gdb.linespec/cpls.cc: New file.
6277 * gdb.linespec/cpls2.cc: New file.
6278 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
6279 test to use test_gdb_complete_unique. Add label completion,
6280 keyword completion and explicit location completion tests.
6281 * lib/completion-support.exp: New file.
6282
6283 2017-11-24 Joel Brobecker <brobecker@adacore.com>
6284
6285 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
6286 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
6287 when hitting an exception catchpoint.
6288
6289 2017-11-22 Yao Qi <yao.qi@linaro.org>
6290
6291 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
6292
6293 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
6294
6295 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
6296 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
6297 * gdb.dwarf2/info-locals-optimized-out.c: New file.
6298
6299 2017-11-22 Yao Qi <yao.qi@linaro.org>
6300
6301 * gdb.base/info-os.exp: Pass pthreads.
6302 * gdb.multi/multi-attach.exp: Likewise.
6303
6304 2017-11-22 Yao Qi <yao.qi@linaro.org>
6305
6306 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
6307 compiler.
6308
6309 2017-11-22 Yao Qi <yao.qi@linaro.org>
6310
6311 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
6312 * gdb.base/break-interp.exp: Likewise.
6313 * gdb.base/jit-attach-pie.exp: Likewise.
6314
6315 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
6316
6317 * gdb.base/float128.c (large128): New variable.
6318 * gdb.base/float128.exp: Add test to print largest __float128 value.
6319
6320 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
6321
6322 * gdb.arch/vsx-regs.exp: Update register content checks.
6323
6324 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
6325
6326 * gdb.arch/ppc-longdouble.exp: New file.
6327 * gdb.arch/ppc-longdouble.c: Likewise.
6328
6329 2017-11-21 Pedro Alves <palves@redhat.com>
6330
6331 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
6332
6333 2017-11-20 Pedro Alves <palves@redhat.com>
6334
6335 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
6336 (long_double_typedef): New typedefs.
6337 Use DEF on double and long double.
6338 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
6339 cases.
6340 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
6341 and 'long_double_ptr_same_size' locals. Use them to decide
6342 whether cast from array/function to float is valid/invalid.
6343
6344 2017-11-17 Tom Tromey <tom@tromey.com>
6345
6346 * gdb.rust/traits.rs: New file.
6347 * gdb.rust/traits.exp: New file.
6348
6349 2017-11-17 Joel Brobecker <brobecker@adacore.com>
6350
6351 * gdb.ada/minsyms: New testcase.
6352
6353 2017-11-16 Pedro Alves <palves@redhat.com>
6354
6355 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
6356 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
6357
6358 2017-11-16 Pedro Alves <palves@redhat.com>
6359
6360 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
6361 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
6362
6363 2017-11-16 Pedro Alves <palves@redhat.com>
6364
6365 * gdb.server/reconnect-ctrl-c.c: New file.
6366 * gdb.server/reconnect-ctrl-c.exp: New file.
6367
6368 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
6369
6370 * gdb.python/py-rbreak.exp: New file.
6371 * gdb.python/py-rbreak.c: New file.
6372 * gdb.python/py-rbreak-func2.c: New file.
6373
6374 2017-11-16 Pedro Alves <palves@redhat.com>
6375
6376 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
6377 pattern.
6378 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
6379 GDB.
6380
6381 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
6382
6383 * gdb.tui/completionn.exp (test_tab_completion): Add space in
6384 regex.
6385
6386 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
6387
6388 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
6389 test names.
6390
6391 2017-11-09 Pedro Alves <palves@redhat.com>
6392
6393 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
6394 factored out from ...
6395 (top level): ... here, and adjusted to avoid expecting beyond the
6396 prompt in a single gdb_test_multiple.
6397
6398 2017-11-09 Pedro Alves <palves@redhat.com>
6399
6400 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
6401 output.
6402 * gdb.server/ext-attach.exp ("kill" test): Likewise.
6403 * gdb.server/ext-restart.exp ("kill" test): Likewise.
6404 * gdb.server/ext-run.exp ("kill" test): Likewise.
6405 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
6406
6407 2017-11-09 Pedro Alves <palves@redhat.com>
6408
6409 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
6410 match till end of line.
6411
6412 2017-11-09 Pedro Alves <palves@redhat.com>
6413
6414 * gdb.base/memattr.exp: Tighten regexes to match the end line.
6415
6416 2017-11-09 Pedro Alves <palves@redhat.com>
6417
6418 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
6419 New procedures, factored out from ...
6420 (top level): ... here, and adjusted to avoid expecting beyond the
6421 prompt in one go.
6422
6423 2017-11-09 Pedro Alves <palves@redhat.com>
6424
6425 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
6426 output. Fix '?' match.
6427
6428 2017-11-08 Joel Brobecker <brobecker@adacore.com>
6429
6430 * gdb.ada/scoped_watch: New testcase.
6431 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
6432 which is actually correct.
6433 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
6434 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
6435
6436 2017-11-08 Pedro Alves <palves@redhat.com>
6437
6438 * gdb.gdb/complaints.exp (test_initial_complaints)
6439 (test_serial_complaints, test_short_complaints): Call
6440 complaint_internal instead of complaint.
6441
6442 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
6443
6444 * gdb.threads/tls-core.c: New file.
6445 * gdb.threads/tls-core.exp: Likewise.
6446
6447 2017-11-08 Pedro Alves <palves@redhat.com>
6448
6449 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
6450 (p Exported_Capitalized): New test.
6451 (p exported_capitalized): New test.
6452
6453 2017-11-07 Pedro Alves <palves@redhat.com>
6454
6455 * gdb.cp/ena-dis-br-range.exp: Add more tests.
6456
6457 2017-11-07 Pedro Alves <palves@redhat.com>
6458
6459 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
6460 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
6461 (disable_invalid, disable_inverted, disable_negative): New
6462 procedures.
6463 ("bad numbers"): New set of tests.
6464
6465 2017-11-07 Pedro Alves <palves@redhat.com>
6466
6467 * gdb.cp/ena-dis-br-range.exp: Add tests.
6468
6469 2017-11-07 Pedro Alves <palves@redhat.com>
6470
6471 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
6472
6473 2017-11-07 Xavier Roirand <roirand@adacore.com>
6474 Pedro Alves <palves@redhat.com>
6475
6476 * gdb.base/ena-dis-br.exp: Add reference to
6477 gdb.cp/ena-dis-br-range.exp.
6478 * gdb.cp/ena-dis-br-range.exp: New file.
6479 * gdb.cp/ena-dis-br-range.cc: New file.
6480
6481 2017-11-06 Pedro Alves <palves@redhat.com>
6482
6483 * gdb.base/attach-non-pgrp-leader.c: New.
6484 * gdb.base/attach-non-pgrp-leader.exp: New.
6485
6486 2017-11-06 Pedro Alves <palves@redhat.com>
6487
6488 * configure.ac: No longer check for termio.h and sgtty.h.
6489 * configure: Regenerate.
6490 * remote-utils.c: Include termios.h instead of gdb_termios.h.
6491 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
6492 Remove termio and sgtty code.
6493
6494 2017-11-03 Yao Qi <yao.qi@linaro.org>
6495
6496 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
6497 in GDB is disabled.
6498
6499 2017-11-03 Yao Qi <yao.qi@linaro.org>
6500
6501 * gdb.python/py-thrhandle.exp: Skip it if python is not
6502 enabled.
6503
6504 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
6505
6506 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
6507 as a breakpoint command.
6508
6509 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
6510
6511 PR python/21213
6512 * gdb.python/py-infthread.exp: Test calling
6513 InferiorThread.inferior () multiple times in a row.
6514
6515 2017-10-27 Keith Seitz <keiths@redhat.com>
6516
6517 * gdb.opt/inline-break.exp (break_info_1): New procedure.
6518 Test "info break" for every inlined function breakpoint.
6519
6520 2017-10-27 Yao Qi <yao.qi@linaro.org>
6521
6522 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
6523
6524 2017-10-26 Patrick Frants <osscontribute@gmail.com>
6525
6526 * gdb.cp/classes.exp (test_static_members): Test printing
6527 Outer::instance.
6528 * gdb.cp/classes.c (struct Inner, struct Outer): New.
6529 (Inner::instance, Outer::instance): New.
6530
6531 2017-10-24 Pedro Alves <palves@redhat.com>
6532
6533 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
6534 extra console" test in two stages.
6535
6536 2017-10-24 Pedro Alves <palves@redhat.com>
6537
6538 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
6539
6540 2017-10-24 Pedro Alves <palves@redhat.com>
6541
6542 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
6543 loop.
6544
6545 2017-10-24 Pedro Alves <palves@redhat.com>
6546
6547 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
6548 $attempt" and "stoppedtry $stoppedtry" test prefixes.
6549
6550 2017-10-24 Pedro Alves <palves@redhat.com>
6551
6552 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
6553 parameter and handle it. Don't output read value in test name.
6554
6555 2017-10-24 Pedro Alves <palves@redhat.com>
6556
6557 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
6558 custom test name.
6559
6560 2017-10-24 Pedro Alves <palves@redhat.com>
6561
6562 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
6563 include the unstable output directory name in the test's name.
6564 (initial_setup_simple) <'set args'>: Use custom test name.
6565
6566 2017-10-24 Pedro Alves <palves@redhat.com>
6567
6568 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
6569 with explicit test name.
6570
6571 2017-10-20 Pedro Alves <palves@redhat.com>
6572
6573 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
6574 'wait -i'. Use gdb_assert and remote_close.
6575
6576 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
6577
6578 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
6579 number from variable rather than hard-coded.
6580
6581 2017-10-19 Pedro Alves <palves@redhat.com>
6582
6583 * gdb.base/long-inferior-output.c: New file.
6584 * gdb.base/long-inferior-output.exp: New file.
6585
6586 2017-11-18 Keith Seitz <keiths@redhat.com>
6587
6588 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
6589 method.
6590 (main): Call it.
6591 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
6592 Add additional user-defined conversion operator tests.
6593
6594 2017-10-17 Pedro Alves <palves@redhat.com>
6595
6596 * boards/native-stdio-gdbserver.exp: Load "local-board".
6597
6598 2017-10-17 Pedro Alves <palves@redhat.com>
6599
6600 * gdb.base/quit-live.c: New file.
6601 * gdb.base/quit-live.exp: New file.
6602
6603 2017-10-16 Keith Seitz <keiths@redhat.com>
6604
6605 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
6606 (class_with_protected_typedef, class_with_private_typedef)
6607 (struct_with_public_typedef, struct_with_protected_typedef)
6608 (struct_with_private_typedef): New classes/structs.
6609 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
6610 typedefs and access specifiers.
6611
6612 2017-10-16 Pedro Alves <palves@redhat.com>
6613 Simon Marchi <simon.marchi@polymtl.ca>
6614
6615 * README (Local vs Remote vs Native): New section.
6616 * boards/local-board.exp: New file, with bits factored out from
6617 ...
6618 * boards/native-extended-gdbserver.exp: ... here. Load
6619 "local-board".
6620 * boards/native-gdbserver.exp: Load "local-board".
6621 (${board}_spawn, ${board}_exec): Delete.
6622 * boards/native-stdio-gdbserver.exp: Most contents factored out to
6623 ...
6624 * boards/stdio-gdbserver-base.exp: ... this new file.
6625 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
6626 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
6627 procedure.
6628 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
6629 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
6630 stdio_gdbserver_command.
6631 (${board}_get_remote_address, ${board}_get_comm_port)
6632 (${board}_download, ${board}_upload): Delete.
6633 (get_target_remote_pipe_cmd): New.
6634
6635 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
6636
6637 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
6638 test_bkpt_deletion, test_bkpt_cond_and_cmds,
6639 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
6640 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
6641 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
6642 remove with_test_prefix.
6643
6644 2017-10-13 Pedro Alves <palves@redhat.com>
6645
6646 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
6647 * gdb.base/annota1.exp: Use it instead of is_remote.
6648 * gdb.base/annota3.exp: Use it instead of is_remote.
6649 * gdb.cp/annota2.exp: Use it instead of is_remote.
6650 * gdb.cp/annota3.exp: Use it instead of is_remote.
6651 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
6652
6653 2017-10-13 Pedro Alves <palves@redhat.com>
6654
6655 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
6656 (test_num_test_vars, run_and_count_vars, find_env)
6657 (test_set_unset_env, test_inherit_env_var): New procedures.
6658 (top level): Use them.
6659
6660 2017-10-13 Pedro Alves <palves@redhat.com>
6661
6662 * lib/selftest-support.exp (selftest_setup): Extend comments, and
6663 also skip on stub-like targets.
6664
6665 2017-10-13 Pedro Alves <palves@redhat.com>
6666
6667 PR gdb/22293
6668 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
6669 (top level): Move some tests to ...
6670 (test_not_found): ... this new procedure.
6671 (top level): Call it.
6672
6673 2017-10-13 Pedro Alves <palves@redhat.com>
6674
6675 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
6676 expect different "info terminal" output if testing with a
6677 non-native target.
6678
6679 2017-10-13 Pedro Alves <palves@redhat.com>
6680 Simon Marchi <simon.marchi@polymtl.ca>
6681
6682 PR python/12966
6683 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
6684
6685 2017-10-13 Pedro Alves <palves@redhat.com>
6686
6687 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
6688 already.
6689
6690 2017-10-13 Pedro Alves <palves@redhat.com>
6691
6692 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
6693 is_remote.
6694
6695 2017-10-13 Pedro Alves <palves@redhat.com>
6696
6697 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
6698 is_remote.
6699
6700 2017-10-13 Pedro Alves <palves@redhat.com>
6701
6702 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
6703 is set.
6704 (corefile_test_attach): Likewise. Check can_spawn_for_attach
6705 instead of is_remote.
6706
6707 2017-10-13 Pedro Alves <palves@redhat.com>
6708
6709 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
6710 (top level): Add comment.
6711
6712 2017-10-13 Pedro Alves <palves@redhat.com>
6713
6714 * gdb.base/remote.exp (top level): Fix comment typo and add
6715 missing return.
6716
6717 2017-10-13 Pedro Alves <palves@redhat.com>
6718 Simon Marchi <simon.marchi@polymtl.ca>
6719
6720 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
6721 calls and add comments. Skip test if use_gdb_stub is set.
6722 (top level): Use "set cwd" command instead of "cd" command.
6723
6724 2017-10-13 Pedro Alves <palves@redhat.com>
6725
6726 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
6727 is_remote target check.
6728
6729 2017-10-13 Pedro Alves <palves@redhat.com>
6730
6731 * gdb.base/scope.exp: Use build_executable + clean_restart +
6732 gdb_file_cmd instead of prepare_for_testing and no longer skip
6733 "before run" tests on is_remote target boards. Update comments.
6734 * boards/native-extended-gdbserver.exp
6735 (extended_gdbserver_load_last_file): New, factored out from ...
6736 (gdb_load): ... this. Move further below and add comment.
6737 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
6738
6739 2017-10-12 Pedro Alves <palves@redhat.com>
6740
6741 * gdb.base/attach.exp: Remove references to gdb64.
6742 * gdb.base/dbx.exp: Remove references to gdb64.
6743
6744 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
6745 Pedro Alves <palves@redhat.com>
6746
6747 * gdb.base/label.exp: Remove is_remote target check.
6748
6749 2017-10-12 Pedro Alves <palves@redhat.com>
6750
6751 * gdb.base/auvx.exp (coredir): Update comment.
6752 (top level) <core_works>: Use "set cwd" command instead of "cd"
6753 command.
6754
6755 2017-10-12 Pedro Alves <palves@redhat.com>
6756 Simon Marchi <simon.marchi@polymtl.ca>
6757
6758 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
6759 target boards.
6760
6761 2017-10-12 Pedro Alves <palves@redhat.com>
6762 Simon Marchi <simon.marchi@polymtl.ca>
6763
6764 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
6765 Instead skip if there's any gdb_protocol set.
6766
6767 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
6768 Pedro Alves <palves@redhat.com>
6769
6770 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
6771
6772 2017-10-12 Pedro Alves <palves@redhat.com>
6773 Simon Marchi <simon.marchi@polymtl.ca>
6774
6775 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
6776 instead of on dejagnu remote boards.
6777
6778 2017-10-12 Pedro Alves <palves@redhat.com>
6779 Simon Marchi <simon.marchi@polymtl.ca>
6780
6781 * gdb.base/inferior-died.exp: Remove is_remote and isnative
6782 checks. Use build_executable + clean_restart instead of
6783 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
6784 of enabling non-stop after starting gdb.
6785
6786 2017-10-12 Pedro Alves <palves@redhat.com>
6787
6788 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
6789 * gdb.threads/non-ldr-exc-2.exp: Ditto.
6790 * gdb.threads/non-ldr-exc-3.exp: Ditto.
6791 * gdb.threads/non-ldr-exc-4.exp: Ditto.
6792
6793 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
6794
6795 * gdb.arch/arc-tdesc-cpu.exp: New file.
6796 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
6797
6798 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
6799
6800 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
6801
6802 2017-10-10 Pedro Alves <palves@redhat.com>
6803
6804 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
6805 expect CLI output.
6806
6807 2017-10-10 Pedro Alves <palves@redhat.com>
6808
6809 * lib/selftest-support.exp (selftest_setup): Update for
6810 captured_command_loop's prototype change.
6811
6812 2017-10-09 Pedro Alves <palves@redhat.com>
6813
6814 Test both arch1=>arch2 and arch2=>arch1.
6815
6816 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
6817 (srcfile2, binfile2, march1, march2): Remove globals. Largely
6818 factored out to...
6819 (append_arch1_options, append_arch2_options, append_arch_options)
6820 (build_executables): New procedures.
6821 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
6822 local.
6823 (top level): Add new 'first_arch' testing axis.
6824
6825 2017-10-09 Pedro Alves <palves@redhat.com>
6826
6827 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
6828 (barrier): New.
6829 (thread_start, all_started): New functions.
6830 (main): Spawn new thread and wait until it is scheduled.
6831 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
6832 option.
6833 (do_test): Add 'selected_thread' parameter. Run to all_started
6834 instead of main. Explicitly set the breakpoint at main. Switch
6835 to the SELECTED_THREAD thread.
6836 (top level): Test handling the exec event with either the main
6837 thread or the second thread selected.
6838
6839 2017-10-09 Pedro Alves <palves@redhat.com>
6840
6841 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
6842 logic. Move STOP marker after the value checks.
6843 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
6844 regexp.
6845
6846 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
6847
6848 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
6849
6850 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
6851
6852 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
6853 integer-to-dfp conversion.
6854 * gdb.base/dfp-test.exp: Likewise.
6855
6856 2017-10-04 Pedro Alves <palves@redhat.com>
6857
6858 * gdb.multi/hangout.c: Include <unistd.h>.
6859 (hangout_loop): New function.
6860 (main): Call alarm. Call hangout_loop in a loop.
6861 * gdb.multi/hello.c: Include <unistd.h>.
6862 (hello_loop): New function.
6863 (main): Call alarm. Call hangout_loop in a loop.
6864 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
6865 inferior with the other selected.
6866
6867 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
6868
6869 * gdb.mi/list-thread-groups-available.exp: New file.
6870 * gdb.mi/list-thread-groups-available.c: New file.
6871
6872 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
6873
6874 * gdb.base/set-cwd.exp: Make it available on
6875 native-extended-gdbserver.
6876
6877 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
6878
6879 * gdb.base/set-cwd.c: New file.
6880 * gdb.base/set-cwd.exp: Likewise.
6881
6882 2017-10-02 Tom Tromey <tom@tromey.com>
6883
6884 PR rust/22236:
6885 * gdb.rust/simple.rs (main): New variable "fslice".
6886 * gdb.rust/simple.exp: Add slice tests. Update string tests.
6887
6888 2017-10-02 Tom Tromey <tom@tromey.com>
6889
6890 * gdb.rust/simple.exp: Test ptype of a slice.
6891
6892 2017-10-02 Tom Tromey <tom@tromey.com>
6893
6894 * gdb.rust/simple.exp: Test index of slice.
6895
6896 2017-09-27 Tom Tromey <tom@tromey.com>
6897
6898 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
6899
6900 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
6901 Pedro Alves <palves@redhat.com>
6902
6903 * gdb.base/compare-sections.exp (get value of read-only section): Read
6904 as unsigned value.
6905 (corrupt read-only section): Likewise and don't set written if patching
6906 failed.
6907
6908 2017-09-21 Kevin Buettner <kevinb@redhat.com>
6909
6910 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
6911 files.
6912
6913 2017-09-20 Pedro Alves <palves@redhat.com>
6914
6915 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
6916 symbol names in gdb's output.
6917 * gdb.cp/overload.exp ("list all overloads"): Likewise.
6918
6919 2017-09-20 Pedro Alves <palves@redhat.com>
6920
6921 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
6922 Rename to ...
6923 (test_list_ambiguous_symbol): ... this and add a symbol name
6924 parameter. Adjust.
6925 (test_list_ambiguous_function): Reimplement on top of
6926 test_list_ambiguous_symbol and also test listing ambiguous
6927 variables.
6928 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
6929 (ambiguous_fun): ... this.
6930 (ambiguous_var): New.
6931 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
6932 (ambiguous_fun): ... this.
6933 (ambiguous_var): New.
6934
6935 2017-09-19 John Baldwin <jhb@FreeBSD.org>
6936
6937 * gdb.base/starti.c: New file.
6938 * gdb.base/starti.exp: New file.
6939 * lib/gdb.exp (gdb_starti_cmd): New procedure.
6940
6941 2017-09-14 Pedro Alves <palves@redhat.com>
6942
6943 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
6944 (top level): Use it instead of runto.
6945
6946 2017-09-11 Tom Tromey <tom@tromey.com>
6947
6948 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
6949
6950 2017-09-11 Tom Tromey <tom@tromey.com>
6951
6952 * gdb.python/py-infthread.exp: Add tests for new_thread event.
6953 * gdb.python/py-inferior.exp: Add tests for new inferior events.
6954
6955 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
6956
6957 * gdb.fortran/printing-types.exp: New file.
6958 * gdb.fortran/printing-types.exp: New file.
6959
6960 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
6961
6962 * gdb.fortran/vla-ptype.exp: Fix typos.
6963 * gdb.fortran/vla-value.exp: Same.
6964
6965 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
6966
6967 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
6968 * gdb.mi/mi-var-child-f.exp: Likewise.
6969 * gdb.mi/mi-vla-fortran.exp: Likewise.
6970
6971 2017-09-08 Frank Penczek <frank.penczek@intel.com>
6972 Christoph Weinmann <christoph.t.weinmann@intel.com>
6973 Bernhard Heckel <bernhard.heckel@intel.com>
6974
6975 * gdb.fortran/ptr-indentation.f90: New file.
6976 * gdb.fortran/ptr-indentation.exp: New file.
6977
6978 2017-09-05 Tom Tromey <tom@tromey.com>
6979
6980 PR gdb/22010:
6981 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
6982
6983 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
6984
6985 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
6986
6987 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6988
6989 * gdb.threads/tls-nodebug-pie.c: New file.
6990 * gdb.threads/tls-nodebug-pie.exp: New file.
6991
6992 2017-09-05 Tom Tromey <tom@tromey.com>
6993
6994 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
6995 for rust.
6996
6997 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
6998
6999 * gdb.multi/multi-arch-exec.exp: Test with different
7000 "follow-exec-mode" settings.
7001 (do_test): New procedure.
7002
7003 2017-09-04 Pedro Alves <palves@redhat.com>
7004
7005 * gdb.base/func-static.c (S::method const, S::method volatile)
7006 (S::method volatile const): New methods.
7007 (c_s, v_s, cv_s): New instances.
7008 (main): Call method() on them.
7009 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
7010 (cannot_resolve): New procedure.
7011 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
7012 print-quote-unquoted columns.
7013 (do_test): Test printing each scope too.
7014
7015 2017-09-04 Pedro Alves <palves@redhat.com>
7016
7017 * gdb.base/local-static.exp: Also test with
7018 class::method::variable wholly quoted.
7019 * gdb.cp/m-static.exp (class::method::variable): Remove test.
7020
7021 2017-09-04 Pedro Alves <palves@redhat.com>
7022
7023 * gdb.base/local-static.c: New.
7024 * gdb.base/local-static.cc: New.
7025 * gdb.base/local-static.exp: New.
7026
7027 2017-09-04 Pedro Alves <palves@redhat.com>
7028
7029 * gdb.asm/asm-source.exp: Add casts to int.
7030 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
7031 (dataglobal64_1, dataglobal64_2): New globals.
7032 * gdb.base/nodebug.exp: Test different expressions involving the
7033 new globals, with print, whatis and ptype. Add casts to int.
7034 * gdb.base/solib-display.exp: Add casts to int.
7035 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
7036 * gdb.cp/m-static.exp: Add cast to int.
7037 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
7038 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
7039 tls variable with no debug info without a cast. Test with a cast
7040 to int too.
7041 * gdb.trace/entry-values.exp: Add casts.
7042
7043 2017-09-04 Pedro Alves <palves@redhat.com>
7044
7045 * gdb.base/nodebug.exp: Test that ptype's error about functions
7046 with unknown return type includes the function name too.
7047
7048 2017-09-04 Pedro Alves <palves@redhat.com>
7049
7050 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
7051 return type of munmap in infcall.
7052 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
7053 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
7054 type of ftell in infcall.
7055 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
7056 type of getpid in infcall.
7057 * gdb.base/infcall-exec.exp: Cast return type of execlp in
7058 infcall.
7059 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
7060 Bail on failure to extract the pid.
7061 * gdb.base/nodebug.c: #include <stdint.h>.
7062 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
7063 New functions.
7064 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
7065 Change expected output of print/whatis/ptype with functions with
7066 no debug info. Test all supported languages. Call
7067 test_call_promotion.
7068 * gdb.compile/compile.exp: Adjust expected output to expect
7069 warning.
7070 * gdb.threads/siginfo-threads.exp: Likewise.
7071
7072 2017-09-04 Pedro Alves <palves@redhat.com>
7073
7074 * gdb.base/callfuncs.exp (do_function_calls): New parameter
7075 "prototypes". Test calling float functions via prototyped and
7076 unprototyped function pointers.
7077 (perform_all_tests): New parameter "prototypes". Pass it down.
7078 (top level): Pass down "prototypes" parameter to
7079 perform_all_tests.
7080
7081 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
7082
7083 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
7084 Test with nested loops.
7085
7086 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
7087
7088 * gdb.base/commands.exp: Call the new procedures.
7089 (loop_break_test, loop_continue_test): New procedures.
7090
7091 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
7092
7093 * gdb.base/commands.exp: Call new procedure.
7094 (define_if_without_arg_test): New procedure.
7095
7096 2017-09-04 Pedro Alves <palves@redhat.com>
7097
7098 * gdb.base/list-ambiguous.exp: New file.
7099 * gdb.base/list-ambiguous0.c: New file.
7100 * gdb.base/list-ambiguous1.c: New file.
7101 * gdb.base/list.exp (test_list_range): Adjust expected output.
7102
7103 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
7104
7105 * gdb.base/share-env-with-gdbserver.c: New file.
7106 * gdb.base/share-env-with-gdbserver.exp: Likewise.
7107
7108 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
7109
7110 * gdb.base/commands.exp (gdbvar_simple_if_test,
7111 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
7112 progvar_simple_if_test, progvar_simple_while_test,
7113 progvar_complex_if_while_test, user_defined_command_test,
7114 user_defined_command_args_eval,
7115 user_defined_command_args_stack_test,
7116 user_defined_command_manyargs_test, bp_deleted_in_command_test,
7117 temporary_breakpoint_commands,
7118 gdb_test_no_prompt, redefine_hook_test,
7119 redefine_backtrace_test): Remove "global gdb_prompt".
7120
7121 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
7122
7123 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
7124 New proc, call it from toplevel.
7125
7126 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
7127
7128 PR remote/21852
7129 * gdb.server/normal.c: New file, copied from gdb.base.
7130 * gdb.server/run-without-local-binary.exp: New file.
7131
7132 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
7133
7134 * gdb.arch/sparc64-adi.exp: New file.
7135 * gdb.arch/sparc64-adi.c: New file.
7136
7137 2017-08-22 Pedro Alves <palves@redhat.com>
7138
7139 * gdb.cp/overload.exp (line_range_pattern): New procedure.
7140 (top level): Add "list all overloads" tests.
7141
7142 2017-08-22 Tom Tromey <tom@tromey.com>
7143
7144 * gdb.gdb/xfullpath.exp: Remove.
7145
7146 2017-08-21 Pedro Alves <palves@redhat.com>
7147
7148 PR gdb/19487
7149 * gdb.base/symbol-alias.c: New.
7150 * gdb.base/symbol-alias2.c: New.
7151 * gdb.base/symbol-alias.exp: New.
7152
7153 2017-08-21 Pedro Alves <palves@redhat.com>
7154
7155 * gdb.base/dfp-test.c
7156 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
7157 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
7158 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
7159 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
7160 * gdb.base/whatis-ptype-typedefs.c: New.
7161 * gdb.base/whatis-ptype-typedefs.exp: New.
7162 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
7163 (an_int, an_int_type, an_int_type2): New globals.
7164 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
7165 involving typedefs and cast expressions.
7166 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
7167 (lookup_typedefs_function): New.
7168 (typedefs_pretty_printers_dict): New.
7169 (top level): Register lookup_typedefs_function in
7170 gdb.pretty_printers.
7171
7172 2017-08-18 Yao Qi <yao.qi@linaro.org>
7173
7174 * gdb.server/unittest.exp: New.
7175
7176 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
7177
7178 PR gdb/21954
7179 * gdb.base/environ.exp: Add test to check if 'unset environment'
7180 works.
7181
7182 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7183
7184 * lib/gdb.exp (universal_compile_options): New caching proc.
7185 (gdb_compile): Suppress GCC's coloring of messages.
7186
7187 2017-08-14 Tom Tromey <tom@tromey.com>
7188
7189 PR gdb/21675:
7190 * gdb.base/printcmds.exp (test_radices): New function.
7191 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
7192 * gdb.base/sizeof.exp (check_valueof): Use p/d.
7193 * lib/gdb.exp (get_integer_valueof): Use p/d.
7194
7195 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
7196
7197 * lib/gdb.exp (get_valueof): Don't capture end-of-line
7198 characters.
7199
7200 2017-08-05 Tom Tromey <tom@tromey.com>
7201
7202 * gdb.rust/simple.exp: Allow String to appear in a different
7203 namespace.
7204
7205 2017-07-26 Yao Qi <yao.qi@linaro.org>
7206
7207 * gdb.gdb/unittest.exp: Invoke command
7208 "maintenance check xml-descriptions".
7209
7210 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
7211
7212 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
7213 calling context.
7214 (hex128): Drop erroneous calculation of parameters.
7215
7216 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
7217
7218 * gdb.python/py-unwind.exp: Disable stack protection when
7219 building test file.
7220
7221 2017-07-20 Pedro Alves <palves@redhat.com>
7222
7223 * gdb.base/default.exp (set language): Adjust expected output.
7224
7225 2017-07-20 Pedro Alves <palves@redhat.com>
7226
7227 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
7228 (test_minsym): ... this, and make static.
7229 (get_pck__foo__bar__minsym): Rename to ...
7230 (get_test_minsym): ... this.
7231 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
7232 symbol names and comments.
7233 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
7234 (get_test_minsym): ... this.
7235 (pck__foo__bar__minsym__2): Rename to ...
7236 (test_minsym): ... this.
7237 (main): Adjust.
7238
7239 2017-07-17 Pedro Alves <palves@redhat.com>
7240
7241 * gdb.base/completion.exp: Adjust expected output.
7242 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
7243 the completer works.
7244
7245 2017-07-17 Pedro Alves <palves@redhat.com>
7246
7247 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
7248
7249 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
7250
7251 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
7252
7253 2017-07-14 Tom Tromey <tom@tromey.com>
7254
7255 PR rust/21764:
7256 * gdb.rust/simple.exp: Add tests.
7257
7258 2017-07-14 Tom Tromey <tom@tromey.com>
7259
7260 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
7261
7262 2017-07-14 Pedro Alves <palves@redhat.com>
7263
7264 * gdb.linespec/base/one/thefile.cc (z1): New function.
7265 * gdb.linespec/base/two/thefile.cc (z2): New function.
7266 * gdb.linespec/linespec.exp: Add tests.
7267
7268 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
7269
7270 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
7271 to mi_create_breakpoint.
7272
7273 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
7274
7275 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
7276 mi_create_breakpoint.
7277
7278 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
7279
7280 * gdb.dlang/demangle.exp: Update for demangling changes.
7281
7282 2017-07-09 Tom Tromey <tom@tromey.com>
7283
7284 * gdb.dwarf2/shortpiece.exp: New file.
7285
7286 2017-07-06 David Blaikie <dblaikie@gmail.com>
7287
7288 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
7289 built from fissiont-multi-cu{1,2}.c.
7290 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
7291 except putting 'main' and 'func' in separate CUs in the same DWO file.
7292 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
7293 test.
7294 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
7295 test.
7296
7297 2017-07-06 Pedro Alves <palves@redhat.com>
7298
7299 * gdb.python/py-unwind.exp: Test flushregs.
7300
7301 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
7302
7303 PR cli/21688
7304 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
7305 tests for alias commands and trailing whitespace.
7306
7307 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
7308
7309 PR cli/21688
7310 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
7311 procedure. Call it.
7312
7313 2017-06-29 Pedro Alves <palves@redhat.com>
7314
7315 * gdb.base/printcmds.exp: Add tests.
7316
7317 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
7318
7319 PR gdb/21337
7320 * gdb.base/reread-readsym.exp: New file.
7321 * gdb.base/reread-readsym.c: New file.
7322
7323 2017-06-21 Kevin Buettner <kevinb@redhat.com>
7324
7325 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
7326 subpattern.
7327
7328 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
7329
7330 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
7331 extended mnemonic.
7332 * gdb.arch/powerpc-power9.s: Likewise.
7333
7334 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7335
7336 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
7337 on 32-bit x86 targets. Exploit is_*_target macros where
7338 appropriate.
7339
7340 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7341
7342 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
7343 register pieces.
7344
7345 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7346
7347 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
7348 located in one or more DWARF pieces.
7349
7350 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7351
7352 * lib/gdb.exp (get_endianness): New proc.
7353 * gdb.arch/aarch64-fp.exp: Use it.
7354 * gdb.arch/altivec-regs.exp: Likewise.
7355 * gdb.arch/e500-regs.exp: Likewise.
7356 * gdb.arch/vsx-regs.exp: Likewise.
7357 * gdb.base/dump.exp: Likewise.
7358 * gdb.base/funcargs.exp: Likewise.
7359 * gdb.base/gnu_vector.exp: Likewise.
7360 * gdb.dwarf2/formdata16.exp: Likewise.
7361 * gdb.dwarf2/implptrpiece.exp: Likewise.
7362 * gdb.dwarf2/nonvar-access.exp: Likewise.
7363 * gdb.python/py-inferior.exp: Likewise.
7364 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
7365
7366 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7367
7368 PR gdb/21226
7369 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
7370 stack value pieces are taken from the LSB end.
7371
7372 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7373
7374 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
7375 variable at nonzero offset.
7376
7377 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7378
7379 * gdb.dwarf2/var-access.c: New file.
7380 * gdb.dwarf2/var-access.exp: New test.
7381 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
7382
7383 2017-06-12 Tom Tromey <tom@tromey.com>
7384
7385 * gdb.dwarf2/formdata16.exp: Add tests.
7386
7387 2017-06-12 Tom Tromey <tom@tromey.com>
7388
7389 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
7390
7391 2017-06-12 Tom Tromey <tom@tromey.com>
7392
7393 PR exp/16225:
7394 * gdb.reverse/i386-sse-reverse.exp: Update tests.
7395 * gdb.arch/vsx-regs.exp: Update tests.
7396 * gdb.arch/s390-vregs.exp (hex128): New proc.
7397 Update test.
7398 * gdb.arch/altivec-regs.exp: Update tests.
7399
7400 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
7401
7402 * gdb.base/startup-with-shell.c: New file.
7403 * gdb.base/startup-with-shell.exp: Likewise.
7404
7405 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
7406
7407 * gdb.server/non-existing-program.exp: Update regex in order to
7408 reflect the fact that gdbserver is now using fork_inferior (with a
7409 shell) to startup the inferior.
7410
7411 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
7412
7413 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
7414 support function calls from GDB.
7415
7416 2017-05-21 Tom Tromey <tom@tromey.com>
7417
7418 PR rust/21466:
7419 * gdb.rust/unsized.exp: New file.
7420 * gdb.rust/unsized.rs: New file.
7421
7422 2017-05-19 Tom Tromey <tom@tromey.com>
7423
7424 PR rust/21484:
7425 * gdb.rust/watch.exp: New file.
7426 * gdb.rust/watch.rs: New file.
7427
7428 2017-05-18 Tom Tromey <tom@tromey.com>
7429
7430 * gdb.rust/simple.exp: Allow Box to be qualified.
7431
7432 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
7433
7434 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
7435
7436 2017-05-18 Pedro Alves <palves@redhat.com>
7437
7438 * gdb.base/fileio.c (test_write, test_read, test_close)
7439 (test_fstat): Don't print 'ret' in the fail path.
7440
7441 2017-05-18 Pedro Alves <palves@redhat.com>
7442
7443 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
7444 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
7445 (test_system, test_rename, test_unlink, test_time): Change
7446 prototypes.
7447 * gdb.base/fileio.exp (stop_msg): Adjust.
7448
7449 2017-05-18 Pedro Alves <palves@redhat.com>
7450
7451 * gdb.base/fileio.c (null_str): New global.
7452 (test_stat): Use it.
7453 * gdb.base/fileio.exp: Remove nowarnings.
7454
7455 2017-05-17 Yao Qi <yao.qi@linaro.org>
7456
7457 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
7458
7459 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
7460
7461 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
7462 argument command.
7463 (top-level): Invoke test_set_inferior_tty.
7464
7465 2017-05-04 Pedro Alves <palves@redhat.com>
7466
7467 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
7468 Add parens to print call for Python 3.
7469
7470 2017-05-03 Keith Seitz <keiths@redhat.com>
7471
7472 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
7473 (main): Call it.
7474
7475 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7476
7477 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
7478 to prev and next.
7479
7480 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7481
7482 * gdb.python/py-record-btrace.exp: Remove test for
7483 gdb.BtraceInstruction.error.
7484
7485 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7486
7487 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
7488
7489 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7490
7491 * gdb.python/py-record-btrace-threads.c: New file.
7492 * gdb.python/py-record-btrace-threads.exp: New file.
7493
7494 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
7495
7496 PR testsuite/8595
7497 * gdb.base/environ.exp: Make test available in all architectures.
7498 Move bits related to "info program" testing to
7499 gdb.base/info-program.exp. Rewrite tests to use the two new
7500 procedures mentione below.
7501 (test_set_show_env_var) New procedure.
7502 (test_set_show_env_var_equal): Likewise.
7503 * gdb.base/info-program.exp: New file.
7504
7505 2017-04-27 Keith Seitz <keiths@redhat.com>
7506
7507 * gdb.cp/oranking.cc (test15): New function.
7508 (main): Call test15 and declare additional variables for testing.
7509 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
7510 "p foo101('abc')" tests.
7511 Add tests for cv qualifier overloads.
7512 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
7513 "lvalue reference overload" test.
7514 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
7515 "print value of f1 on Child&& in f2" test.
7516
7517 2017-04-19 Pedro Alves <palves@redhat.com>
7518
7519 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
7520 procedure.
7521 (top level): Call it.
7522 * lib/gdb.exp (gdb_define_cmd): New procedure.
7523
7524 2017-04-12 Pedro Alves <palves@redhat.com>
7525
7526 PR gdb/21323
7527 * gdb.cp/wide_char_types.c: Include <wchar.h>.
7528 (wchar): New global.
7529 * gdb.cp/wide_char_types.exp (wide_char_types_program)
7530 (do_test_wide_char, wide_char_types_no_program, top level): Add
7531 wchar_t testing.
7532
7533 2017-04-12 Pedro Alves <palves@redhat.com>
7534
7535 PR c++/21323
7536 * gdb.cp/wide_char_types.c: New file.
7537 * gdb.cp/wide_char_types.exp: New file.
7538
7539 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
7540
7541 PR gdb/21352
7542 * gdb.trace/tsv.exp: Add test for "tsave -r".
7543
7544 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
7545
7546 * gdb.dlang/watch-loc.c: New file.
7547 * gdb.dlang/watch-loc.exp: New file.
7548
7549 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7550
7551 * gdb.python/py-section-script.exp (sepdebug): New testcases.
7552
7553 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
7554
7555 * gdb.arch/arc-analyze-prologue.S: New file.
7556 * gdb.arch/arc-analyze-prologue.exp: Likewise.
7557
7558 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
7559
7560 * gdb.arch/arc-decode-insn.S: New file.
7561 * gdb.arch/arc-decode-insn.exp: Likewise.
7562
7563 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
7564
7565 PR tdep/20928
7566 * gdb.arch/sparc64-regs.exp: New file.
7567 * gdb.arch/sparc64-regs.S: Likewise.
7568
7569 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
7570
7571 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
7572 and memory view on Python 3.
7573
7574 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
7575 Keith Seitz <keiths@redhat.com>
7576
7577 PR gdb/14441
7578 * gdb.cp/demangle.exp: Add rvalue reference tests.
7579 * gdb.cp/rvalue-ref-casts.cc: New file.
7580 * gdb.cp/rvalue-ref-casts.exp: New file.
7581 * gdb.cp/rvalue-ref-overload.cc: New file.
7582 * gdb.cp/rvalue-ref-overload.exp: New file.
7583 * gdb.cp/rvalue-ref-params.cc: New file.
7584 * gdb.cp/rvalue-ref-params.exp: New file.
7585 * gdb.cp/rvalue-ref-sizeof.cc: New file.
7586 * gdb.cp/rvalue-ref-sizeof.exp: New file.
7587 * gdb.cp/rvalue-ref-types.cc: New file.
7588 * gdb.cp/rvalue-ref-types.exp: New file.
7589 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
7590 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
7591
7592 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
7593
7594 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
7595 New procedure.
7596
7597 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
7598
7599 * lib/mi-support.exp (mi_gdb_test): Add additional message
7600 for unexpected output.
7601
7602 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
7603
7604 * gdb.base/examine-backward.c (Barrier): New character array
7605 constant, to ensure that TestStrings is preceded by a string
7606 terminator.
7607
7608 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7609
7610 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
7611 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
7612 and implicit pointer into such a location.
7613
7614 2017-03-16 Doug Evans <dje@google.com>
7615
7616 * gdb.python/py-lazy-string (pointer): Really add new typedef.
7617
7618 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
7619
7620 * gdb.cp/m-static.exp: Fix expectation for prototype of
7621 test5.single_constructor and single_constructor::single_constructor.
7622
7623 2017-03-16 Doug Evans <dje@google.com>
7624
7625 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
7626 * gdb.guile/scm-lazy-string.c: New file.
7627 * gdb.guile/scm-value.exp: Move lazy string tests to ...
7628 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
7629 for pointer, array, typedef lazy strings.
7630
7631 2017-03-16 Doug Evans <dje@google.com>
7632
7633 PR python/17728, python/18439, python/18779
7634 * gdb.python/py-value.c (main) Delete locals sptr, sn.
7635 * gdb.python/py-lazy-string.c (pointer): New typedef.
7636 (main): New locals ptr, array, typedef_ptr.
7637 * gdb.python/py-value.exp: Move lazy string tests to ...
7638 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
7639 array, typedef lazy strings.
7640
7641 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
7642
7643 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
7644 Add optional 'test' parameter.
7645
7646 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
7647
7648 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
7649 Skip for versions of DejaGnu < 1.5.
7650
7651 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
7652
7653 * lib/gdb.exp (dejagnu_version): New proc.
7654 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
7655 Use dejagnu_version.
7656
7657 2017-03-10 Keith Seitz <keiths@redhat.com>
7658
7659 PR c++/8128
7660 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
7661 type from destructor regexps.
7662 Add a branch which actually passes the test.
7663 Adjust "ptype t5i" test names.
7664
7665 2017-03-08 Pedro Alves <palves@redhat.com>
7666
7667 * gdb.base/step-over-exit.exp: Add explicit test message.
7668
7669 2017-03-08 Pedro Alves <palves@redhat.com>
7670
7671 PR gdb/18360
7672 * gdb.threads/interrupt-while-step-over.c: New file.
7673 * gdb.threads/interrupt-while-step-over.exp: New file.
7674
7675 2017-03-08 Pedro Alves <palves@redhat.com>
7676
7677 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
7678 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
7679
7680 2017-03-08 Pedro Alves <palves@redhat.com>
7681
7682 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
7683 PKRU as not supported as a PASS.
7684
7685 2017-03-08 Pedro Alves <palves@redhat.com>
7686
7687 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
7688 prefix instead of $binfile1/$binfile2.
7689 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
7690 in test message.
7691 * gdb.python/py-completion.exp: Use "load python file" as test
7692 messages instead of unstable path names.
7693
7694 2017-03-08 Pedro Alves <palves@redhat.com>
7695 Jan Kratochvil <jan.kratochvil@redhat.com>
7696
7697 PR cli/21218
7698 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
7699 New proc.
7700 (top level): Call it.
7701
7702 2017-03-08 Pedro Alves <palves@redhat.com>
7703
7704 PR tui/21216
7705 * gdb.tui/tui-nl-filtered-output.exp: New file.
7706
7707 2017-03-08 Pedro Alves <palves@redhat.com>
7708
7709 * gdb.base/completion.exp: Move TUI completion tests to ...
7710 * gdb.tui/completion.exp: ... this new file.
7711
7712 2017-03-08 Pedro Alves <palves@redhat.com>
7713
7714 * gdb.base/tui-disasm-long-lines.c,
7715 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
7716 gdb.base/tui-layout.exp: Move to ...
7717 * gdb.tui/: ... this new directory.
7718
7719 2017-03-07 Pedro Alves <palves@redhat.com>
7720
7721 * gdb.base/tui-layout.c: New file.
7722 * gdb.base/tui-layout.exp: New file.
7723
7724 2017-03-07 Pedro Alves <palves@redhat.com>
7725
7726 * gdb.base/tui-layout.c: Rename to ...
7727 * gdb.base/tui-disasm-long-lines.c: ... this.
7728 * gdb.base/tui-layout.exp: Rename to ...
7729 * gdb.base/tui-disasm-long-lines.exp: ... this.
7730
7731 2017-03-07 Pedro Alves <palves@redhat.com>
7732
7733 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
7734
7735 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
7736
7737 * i386-mpx-call.c: New file.
7738 * i386-mpx-call.exp: New file.
7739
7740 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
7741
7742 * gdb.arch/powerpc-power.exp: Delete test.
7743 * gdb.arch/powerpc-power.s: Likewise.
7744 * gdb.disasm/disassembler-options.exp: New test.
7745 * gdb.arch/powerpc-altivec.exp: Likewise.
7746 * gdb.arch/powerpc-altivec.s: Likewise.
7747 * gdb.arch/powerpc-altivec2.exp: Likewise.
7748 * gdb.arch/powerpc-altivec2.s: Likewise.
7749 * gdb.arch/powerpc-altivec3.exp: Likewise.
7750 * gdb.arch/powerpc-altivec3.s: Likewise.
7751 * gdb.arch/powerpc-power7.exp: Likewise.
7752 * gdb.arch/powerpc-power7.s: Likewise.
7753 * gdb.arch/powerpc-power8.exp: Likewise.
7754 * gdb.arch/powerpc-power8.s: Likewise.
7755 * gdb.arch/powerpc-power9.exp: Likewise.
7756 * gdb.arch/powerpc-power9.s: Likewise.
7757 * gdb.arch/powerpc-vsx.exp: Likewise.
7758 * gdb.arch/powerpc-vsx.s: Likewise.
7759 * gdb.arch/powerpc-vsx2.exp: Likewise.
7760 * gdb.arch/powerpc-vsx2.s: Likewise.
7761 * gdb.arch/powerpc-vsx3.exp: Likewise.
7762 * gdb.arch/powerpc-vsx3.s: Likewise.
7763 * gdb.arch/arm-disassembler-options.exp: Likewise.
7764 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
7765 * gdb.arch/s390-disassembler-options.exp: Likewise.
7766
7767 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
7768
7769 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
7770 (check_supported_features): ... this. Changed return type to void.
7771 (supports_rdseed): New static global.
7772 (rdseed): Check supports_rdseed.
7773 (initialize): Call check_supported_features.
7774
7775 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7776
7777 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
7778 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
7779 and lqarx/stqcx.
7780 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
7781 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
7782
7783 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7784
7785 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
7786 uppercase.
7787
7788 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7789
7790 * gdb.dwarf2/formdata16.c: New file.
7791 * gdb.dwarf2/formdata16.exp: New file.
7792 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
7793
7794 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7795
7796 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
7797 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
7798 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
7799 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
7800 DW_AT_GNU_*.
7801
7802 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7803
7804 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
7805
7806 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
7807
7808 PR gdb/21164
7809 * gdb.base/maint.exp: Add testcases for when the commands do
7810 not have arguments.
7811
7812 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
7813
7814 * gdb.cp/chained-calls.exp: Use p instead of P.
7815
7816 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
7817
7818 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
7819 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
7820
7821 2017-02-14 Tom Tromey <tom@tromey.com>
7822
7823 PR python/13598:
7824 * gdb.python/py-events.exp: Add before_prompt event tests.
7825
7826 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7827
7828 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
7829
7830 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
7831
7832 * gdb.linespec/explicit.c (my_unique_function_name): New function.
7833 (main): Call my_unique_function_name.
7834 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
7835 completion of patterns with a single match.
7836 Add missing -re switches to gdb_test_multiple calls.
7837
7838 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
7839
7840 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
7841 return if core file is not recognized.
7842
7843 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
7844
7845 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
7846 and extra UIs.
7847
7848 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
7849
7850 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
7851 proc_with_prefix.
7852
7853 2017-02-10 Tom Tromey <tom@tromey.com>
7854
7855 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
7856
7857 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
7858
7859 PR gdb/21122
7860 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
7861
7862 2017-02-08 Jerome Guitton <guitton@adacore.com>
7863
7864 * gdb.base/define.exp: Add test for command abbreviations
7865 in define.
7866
7867 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
7868
7869 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
7870 * gdb.reverse/insn-reverse-x86.c: New file.
7871
7872 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
7873
7874 PR tdep/20936
7875 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
7876
7877 2017-02-03 Tom Tromey <tom@tromey.com>
7878
7879 PR rust/21097:
7880 * gdb.rust/simple.exp: Add new tests.
7881
7882 2017-02-02 Pedro Alves <palves@redhat.com>
7883
7884 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
7885 tests.
7886
7887 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
7888
7889 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
7890 taking a 2-byte value out of a 4-byte DWARF implicit value on
7891 big-endian targets.
7892 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
7893 logic. Add test cases for DW_OP_implicit.
7894
7895 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7896
7897 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
7898
7899 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7900
7901 * gdb.btrace/enable.exp: Call gdb_exit before
7902 skip_gdbserver_tests.
7903
7904 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7905
7906 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
7907 GDBFLAGS.
7908
7909 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7910
7911 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
7912 the test is skipped.
7913 * gdb.btrace/data.exp: Likewise.
7914 * gdb.btrace/delta.exp: Likewise.
7915 * gdb.btrace/dlopen.exp: Likewise.
7916 * gdb.btrace/enable-running.exp: Likewise.
7917 * gdb.btrace/enable.exp: Likewise.
7918 * gdb.btrace/exception.exp: Likewise.
7919 * gdb.btrace/function_call_history.exp: Likewise.
7920 * gdb.btrace/gcore.exp: Likewise.
7921 * gdb.btrace/instruction_history.exp: Likewise.
7922 * gdb.btrace/multi-thread-step.exp: Likewise.
7923 * gdb.btrace/nohist.exp: Likewise.
7924 * gdb.btrace/non-stop.exp: Likewise.
7925 * gdb.btrace/reconnect.exp: Likewise.
7926 * gdb.btrace/record_goto-step.exp: Likewise.
7927 * gdb.btrace/record_goto.exp: Likewise.
7928 * gdb.btrace/rn-dl-bind.exp: Likewise.
7929 * gdb.btrace/segv.exp: Likewise.
7930 * gdb.btrace/step.exp: Likewise.
7931 * gdb.btrace/stepi.exp: Likewise.
7932 * gdb.btrace/tailcall-only.exp: Likewise.
7933 * gdb.btrace/tailcall.exp: Likewise.
7934 * gdb.btrace/tsx.exp: Likewise.
7935 * gdb.btrace/unknown_functions.exp: Likewise.
7936 * gdb.btrace/vdso.exp: Likewise.
7937
7938 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7939
7940 * gdb.btrace/enable-running.c: New.
7941 * gdb.btrace/enable-running.exp: New.
7942
7943 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
7944
7945 * gdb.arch/amd64-gs_base.c: New file.
7946 * gdb.arch/amd64-gs_base.exp: New file.
7947
7948 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
7949
7950 * lib/memory.exp: Remove spurious empty newlines.
7951
7952 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
7953
7954 * gdb.python/py-bad-printers.exp: Load python file using "source".
7955 * gdb.python/py-events.exp: Likewise.
7956 * gdb.python/py-evsignal.exp: Likewise.
7957 * gdb.python/py-evthreads.exp: Likewise.
7958 * gdb.python/py-frame-args.exp: Likewise.
7959 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
7960 * gdb.python/py-framefilter-mi.exp: Likewise.
7961 * gdb.python/py-framefilter.exp: Likewise.
7962 * gdb.python/py-mi.exp: Likewise.
7963 * gdb.python/py-pp-maint.exp: Likewise.
7964 * gdb.python/py-pp-registration.exp: Likewise.
7965 * gdb.python/py-prettyprint.exp: Likewise.
7966 (run_lang_tests): Likewise.
7967 * gdb.python/py-typeprint.exp: Likewise.
7968
7969 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
7970
7971 * lib/memory.exp: New file.
7972 * lib/gdb.exp: Load memory.exp.
7973 * gdb.base/memattr.exp (delete_memory): Move proc to
7974 lib/memory.exp and rename to delete_memory_regions.
7975 Replace delete_memory with delete_memory_regions.
7976 Cleanup memory regions before tests.
7977 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
7978 before tests.
7979
7980 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
7981
7982 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
7983 files.
7984 (initialize): New function conditionally defined.
7985 (testcases): Move within conditional block.
7986 (main): Call initialize.
7987 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
7988 of gdb.reverse/insn-reverse.c.
7989 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
7990 gdb.reverse/insn-reverse.c.
7991
7992 2017-01-26 Yao Qi <yao.qi@linaro.org>
7993
7994 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
7995 disassemble on address 0.
7996
7997 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
7998 Yao Qi <yao.qi@linaro.org>
7999
8000 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
8001 * gdb.dwarf2/implptr-64bit.S: Remove.
8002 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
8003 variables in caller's context. Add DW_OP_implicit_value.
8004
8005 2017-01-25 Yao Qi <yao.qi@linaro.org>
8006
8007 * lib/dwarf.exp (Dwarf::_location): Handle
8008 DW_OP_GNU_implicit_pointer with proper size.
8009
8010 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
8011
8012 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
8013 and add untested calls.
8014
8015 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
8016
8017 * gdb.python/python.exp: Check line number against what GDB thinks
8018 the line number is for func1.
8019
8020 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
8021
8022 * gdb.dlang/debug-expr.exp: New file.
8023
8024 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
8025
8026 Fix test names for the following files:
8027
8028 * gdb.ada/exec_changed.exp
8029 * gdb.ada/info_types.exp
8030 * gdb.arch/aarch64-atomic-inst.exp
8031 * gdb.arch/aarch64-fp.exp
8032 * gdb.arch/altivec-abi.exp
8033 * gdb.arch/altivec-regs.exp
8034 * gdb.arch/amd64-byte.exp
8035 * gdb.arch/amd64-disp-step.exp
8036 * gdb.arch/amd64-dword.exp
8037 * gdb.arch/amd64-entry-value-inline.exp
8038 * gdb.arch/amd64-entry-value-param.exp
8039 * gdb.arch/amd64-entry-value-paramref.exp
8040 * gdb.arch/amd64-entry-value.exp
8041 * gdb.arch/amd64-i386-address.exp
8042 * gdb.arch/amd64-invalid-stack-middle.exp
8043 * gdb.arch/amd64-invalid-stack-top.exp
8044 * gdb.arch/amd64-optimout-repeat.exp
8045 * gdb.arch/amd64-prologue-skip.exp
8046 * gdb.arch/amd64-prologue-xmm.exp
8047 * gdb.arch/amd64-stap-special-operands.exp
8048 * gdb.arch/amd64-stap-wrong-subexp.exp
8049 * gdb.arch/amd64-tailcall-cxx.exp
8050 * gdb.arch/amd64-tailcall-noret.exp
8051 * gdb.arch/amd64-tailcall-ret.exp
8052 * gdb.arch/amd64-tailcall-self.exp
8053 * gdb.arch/amd64-word.exp
8054 * gdb.arch/arm-bl-branch-dest.exp
8055 * gdb.arch/arm-disp-step.exp
8056 * gdb.arch/arm-neon.exp
8057 * gdb.arch/arm-single-step-kernel-helper.exp
8058 * gdb.arch/avr-flash-qualifier.exp
8059 * gdb.arch/disp-step-insn-reloc.exp
8060 * gdb.arch/e500-abi.exp
8061 * gdb.arch/e500-regs.exp
8062 * gdb.arch/ftrace-insn-reloc.exp
8063 * gdb.arch/i386-avx512.exp
8064 * gdb.arch/i386-bp_permanent.exp
8065 * gdb.arch/i386-byte.exp
8066 * gdb.arch/i386-cfi-notcurrent.exp
8067 * gdb.arch/i386-disp-step.exp
8068 * gdb.arch/i386-dr3-watch.exp
8069 * gdb.arch/i386-float.exp
8070 * gdb.arch/i386-gnu-cfi.exp
8071 * gdb.arch/i386-mpx-map.exp
8072 * gdb.arch/i386-mpx-sigsegv.exp
8073 * gdb.arch/i386-mpx-simple_segv.exp
8074 * gdb.arch/i386-mpx.exp
8075 * gdb.arch/i386-permbkpt.exp
8076 * gdb.arch/i386-prologue.exp
8077 * gdb.arch/i386-signal.exp
8078 * gdb.arch/i386-size-overlap.exp
8079 * gdb.arch/i386-unwind.exp
8080 * gdb.arch/i386-word.exp
8081 * gdb.arch/mips-fcr.exp
8082 * gdb.arch/powerpc-d128-regs.exp
8083 * gdb.arch/powerpc-stackless.exp
8084 * gdb.arch/ppc64-atomic-inst.exp
8085 * gdb.arch/s390-stackless.exp
8086 * gdb.arch/s390-tdbregs.exp
8087 * gdb.arch/s390-vregs.exp
8088 * gdb.arch/sparc-sysstep.exp
8089 * gdb.arch/thumb-bx-pc.exp
8090 * gdb.arch/thumb-singlestep.exp
8091 * gdb.arch/thumb2-it.exp
8092 * gdb.arch/vsx-regs.exp
8093 * gdb.asm/asm-source.exp
8094 * gdb.base/a2-run.exp
8095 * gdb.base/advance.exp
8096 * gdb.base/all-bin.exp
8097 * gdb.base/anon.exp
8098 * gdb.base/args.exp
8099 * gdb.base/arithmet.exp
8100 * gdb.base/async-shell.exp
8101 * gdb.base/async.exp
8102 * gdb.base/attach-pie-noexec.exp
8103 * gdb.base/attach-twice.exp
8104 * gdb.base/auto-load.exp
8105 * gdb.base/bang.exp
8106 * gdb.base/bitfields.exp
8107 * gdb.base/break-always.exp
8108 * gdb.base/break-caller-line.exp
8109 * gdb.base/break-entry.exp
8110 * gdb.base/break-inline.exp
8111 * gdb.base/break-on-linker-gcd-function.exp
8112 * gdb.base/break-probes.exp
8113 * gdb.base/break.exp
8114 * gdb.base/breakpoint-shadow.exp
8115 * gdb.base/call-ar-st.exp
8116 * gdb.base/call-sc.exp
8117 * gdb.base/call-signal-resume.exp
8118 * gdb.base/call-strs.exp
8119 * gdb.base/callfuncs.exp
8120 * gdb.base/catch-fork-static.exp
8121 * gdb.base/catch-gdb-caused-signals.exp
8122 * gdb.base/catch-load.exp
8123 * gdb.base/catch-signal-fork.exp
8124 * gdb.base/catch-signal.exp
8125 * gdb.base/catch-syscall.exp
8126 * gdb.base/charset.exp
8127 * gdb.base/checkpoint.exp
8128 * gdb.base/chng-syms.exp
8129 * gdb.base/code-expr.exp
8130 * gdb.base/code_elim.exp
8131 * gdb.base/commands.exp
8132 * gdb.base/completion.exp
8133 * gdb.base/complex.exp
8134 * gdb.base/cond-expr.exp
8135 * gdb.base/condbreak.exp
8136 * gdb.base/consecutive.exp
8137 * gdb.base/continue-all-already-running.exp
8138 * gdb.base/coredump-filter.exp
8139 * gdb.base/corefile.exp
8140 * gdb.base/dbx.exp
8141 * gdb.base/debug-expr.exp
8142 * gdb.base/define.exp
8143 * gdb.base/del.exp
8144 * gdb.base/disabled-location.exp
8145 * gdb.base/disasm-end-cu.exp
8146 * gdb.base/disasm-optim.exp
8147 * gdb.base/display.exp
8148 * gdb.base/duplicate-bp.exp
8149 * gdb.base/ena-dis-br.exp
8150 * gdb.base/ending-run.exp
8151 * gdb.base/enumval.exp
8152 * gdb.base/environ.exp
8153 * gdb.base/eu-strip-infcall.exp
8154 * gdb.base/eval-avoid-side-effects.exp
8155 * gdb.base/eval-skip.exp
8156 * gdb.base/exitsignal.exp
8157 * gdb.base/expand-psymtabs.exp
8158 * gdb.base/filesym.exp
8159 * gdb.base/find-unmapped.exp
8160 * gdb.base/finish.exp
8161 * gdb.base/float.exp
8162 * gdb.base/foll-exec-mode.exp
8163 * gdb.base/foll-exec.exp
8164 * gdb.base/foll-fork.exp
8165 * gdb.base/fortran-sym-case.exp
8166 * gdb.base/freebpcmd.exp
8167 * gdb.base/func-ptr.exp
8168 * gdb.base/func-ptrs.exp
8169 * gdb.base/funcargs.exp
8170 * gdb.base/gcore-buffer-overflow.exp
8171 * gdb.base/gcore-relro-pie.exp
8172 * gdb.base/gcore-relro.exp
8173 * gdb.base/gcore.exp
8174 * gdb.base/gdb1090.exp
8175 * gdb.base/gdb11530.exp
8176 * gdb.base/gdb11531.exp
8177 * gdb.base/gdb1821.exp
8178 * gdb.base/gdbindex-stabs.exp
8179 * gdb.base/gdbvars.exp
8180 * gdb.base/hbreak.exp
8181 * gdb.base/hbreak2.exp
8182 * gdb.base/included.exp
8183 * gdb.base/infcall-input.exp
8184 * gdb.base/inferior-died.exp
8185 * gdb.base/infnan.exp
8186 * gdb.base/info-macros.exp
8187 * gdb.base/info-os.exp
8188 * gdb.base/info-proc.exp
8189 * gdb.base/info-shared.exp
8190 * gdb.base/info-target.exp
8191 * gdb.base/infoline.exp
8192 * gdb.base/interp.exp
8193 * gdb.base/interrupt.exp
8194 * gdb.base/jit-reader.exp
8195 * gdb.base/jit-simple.exp
8196 * gdb.base/kill-after-signal.exp
8197 * gdb.base/kill-detach-inferiors-cmd.exp
8198 * gdb.base/label.exp
8199 * gdb.base/langs.exp
8200 * gdb.base/ldbl_e308.exp
8201 * gdb.base/line-symtabs.exp
8202 * gdb.base/linespecs.exp
8203 * gdb.base/list.exp
8204 * gdb.base/long_long.exp
8205 * gdb.base/longest-types.exp
8206 * gdb.base/maint.exp
8207 * gdb.base/max-value-size.exp
8208 * gdb.base/memattr.exp
8209 * gdb.base/mips_pro.exp
8210 * gdb.base/morestack.exp
8211 * gdb.base/moribund-step.exp
8212 * gdb.base/multi-forks.exp
8213 * gdb.base/nested-addr.exp
8214 * gdb.base/nextoverexit.exp
8215 * gdb.base/noreturn-finish.exp
8216 * gdb.base/noreturn-return.exp
8217 * gdb.base/nostdlib.exp
8218 * gdb.base/offsets.exp
8219 * gdb.base/opaque.exp
8220 * gdb.base/pc-fp.exp
8221 * gdb.base/permissions.exp
8222 * gdb.base/print-symbol-loading.exp
8223 * gdb.base/prologue-include.exp
8224 * gdb.base/psymtab.exp
8225 * gdb.base/ptype.exp
8226 * gdb.base/random-signal.exp
8227 * gdb.base/randomize.exp
8228 * gdb.base/range-stepping.exp
8229 * gdb.base/readline-ask.exp
8230 * gdb.base/recpar.exp
8231 * gdb.base/recurse.exp
8232 * gdb.base/relational.exp
8233 * gdb.base/restore.exp
8234 * gdb.base/return-nodebug.exp
8235 * gdb.base/return.exp
8236 * gdb.base/run-after-attach.exp
8237 * gdb.base/save-bp.exp
8238 * gdb.base/scope.exp
8239 * gdb.base/sect-cmd.exp
8240 * gdb.base/set-lang-auto.exp
8241 * gdb.base/set-noassign.exp
8242 * gdb.base/setvar.exp
8243 * gdb.base/sigall.exp
8244 * gdb.base/sigbpt.exp
8245 * gdb.base/siginfo-addr.exp
8246 * gdb.base/siginfo-infcall.exp
8247 * gdb.base/siginfo-obj.exp
8248 * gdb.base/siginfo.exp
8249 * gdb.base/signals-state-child.exp
8250 * gdb.base/signest.exp
8251 * gdb.base/sigstep.exp
8252 * gdb.base/sizeof.exp
8253 * gdb.base/skip.exp
8254 * gdb.base/solib-corrupted.exp
8255 * gdb.base/solib-nodir.exp
8256 * gdb.base/solib-search.exp
8257 * gdb.base/stack-checking.exp
8258 * gdb.base/stale-infcall.exp
8259 * gdb.base/stap-probe.exp
8260 * gdb.base/start.exp
8261 * gdb.base/step-break.exp
8262 * gdb.base/step-bt.exp
8263 * gdb.base/step-line.exp
8264 * gdb.base/step-over-exit.exp
8265 * gdb.base/step-over-syscall.exp
8266 * gdb.base/step-resume-infcall.exp
8267 * gdb.base/step-test.exp
8268 * gdb.base/store.exp
8269 * gdb.base/structs3.exp
8270 * gdb.base/sym-file.exp
8271 * gdb.base/symbol-without-target_section.exp
8272 * gdb.base/term.exp
8273 * gdb.base/testenv.exp
8274 * gdb.base/ui-redirect.exp
8275 * gdb.base/until.exp
8276 * gdb.base/unwindonsignal.exp
8277 * gdb.base/value-double-free.exp
8278 * gdb.base/vla-datatypes.exp
8279 * gdb.base/vla-ptr.exp
8280 * gdb.base/vla-sideeffect.exp
8281 * gdb.base/volatile.exp
8282 * gdb.base/watch-cond-infcall.exp
8283 * gdb.base/watch-cond.exp
8284 * gdb.base/watch-non-mem.exp
8285 * gdb.base/watch-read.exp
8286 * gdb.base/watch-vfork.exp
8287 * gdb.base/watchpoint-cond-gone.exp
8288 * gdb.base/watchpoint-delete.exp
8289 * gdb.base/watchpoint-hw-hit-once.exp
8290 * gdb.base/watchpoint-hw.exp
8291 * gdb.base/watchpoint-stops-at-right-insn.exp
8292 * gdb.base/watchpoints.exp
8293 * gdb.base/wchar.exp
8294 * gdb.base/whatis-exp.exp
8295 * gdb.btrace/buffer-size.exp
8296 * gdb.btrace/data.exp
8297 * gdb.btrace/delta.exp
8298 * gdb.btrace/dlopen.exp
8299 * gdb.btrace/enable.exp
8300 * gdb.btrace/exception.exp
8301 * gdb.btrace/function_call_history.exp
8302 * gdb.btrace/gcore.exp
8303 * gdb.btrace/instruction_history.exp
8304 * gdb.btrace/nohist.exp
8305 * gdb.btrace/reconnect.exp
8306 * gdb.btrace/record_goto-step.exp
8307 * gdb.btrace/record_goto.exp
8308 * gdb.btrace/rn-dl-bind.exp
8309 * gdb.btrace/segv.exp
8310 * gdb.btrace/step.exp
8311 * gdb.btrace/stepi.exp
8312 * gdb.btrace/tailcall-only.exp
8313 * gdb.btrace/tailcall.exp
8314 * gdb.btrace/tsx.exp
8315 * gdb.btrace/unknown_functions.exp
8316 * gdb.btrace/vdso.exp
8317 * gdb.compile/compile-ifunc.exp
8318 * gdb.compile/compile-ops.exp
8319 * gdb.compile/compile-print.exp
8320 * gdb.compile/compile-setjmp.exp
8321 * gdb.cp/abstract-origin.exp
8322 * gdb.cp/ambiguous.exp
8323 * gdb.cp/annota2.exp
8324 * gdb.cp/annota3.exp
8325 * gdb.cp/anon-ns.exp
8326 * gdb.cp/anon-struct.exp
8327 * gdb.cp/anon-union.exp
8328 * gdb.cp/arg-reference.exp
8329 * gdb.cp/baseenum.exp
8330 * gdb.cp/bool.exp
8331 * gdb.cp/breakpoint.exp
8332 * gdb.cp/bs15503.exp
8333 * gdb.cp/call-c.exp
8334 * gdb.cp/casts.exp
8335 * gdb.cp/chained-calls.exp
8336 * gdb.cp/class2.exp
8337 * gdb.cp/classes.exp
8338 * gdb.cp/cmpd-minsyms.exp
8339 * gdb.cp/converts.exp
8340 * gdb.cp/cp-relocate.exp
8341 * gdb.cp/cpcompletion.exp
8342 * gdb.cp/cpexprs.exp
8343 * gdb.cp/cplabel.exp
8344 * gdb.cp/cplusfuncs.exp
8345 * gdb.cp/cpsizeof.exp
8346 * gdb.cp/ctti.exp
8347 * gdb.cp/derivation.exp
8348 * gdb.cp/destrprint.exp
8349 * gdb.cp/dispcxx.exp
8350 * gdb.cp/enum-class.exp
8351 * gdb.cp/exception.exp
8352 * gdb.cp/exceptprint.exp
8353 * gdb.cp/expand-psymtabs-cxx.exp
8354 * gdb.cp/expand-sals.exp
8355 * gdb.cp/extern-c.exp
8356 * gdb.cp/filename.exp
8357 * gdb.cp/formatted-ref.exp
8358 * gdb.cp/fpointer.exp
8359 * gdb.cp/gdb1355.exp
8360 * gdb.cp/gdb2495.exp
8361 * gdb.cp/hang.exp
8362 * gdb.cp/impl-this.exp
8363 * gdb.cp/infcall-dlopen.exp
8364 * gdb.cp/inherit.exp
8365 * gdb.cp/iostream.exp
8366 * gdb.cp/koenig.exp
8367 * gdb.cp/local.exp
8368 * gdb.cp/m-data.exp
8369 * gdb.cp/m-static.exp
8370 * gdb.cp/mb-ctor.exp
8371 * gdb.cp/mb-inline.exp
8372 * gdb.cp/mb-templates.exp
8373 * gdb.cp/member-name.exp
8374 * gdb.cp/member-ptr.exp
8375 * gdb.cp/meth-typedefs.exp
8376 * gdb.cp/method.exp
8377 * gdb.cp/method2.exp
8378 * gdb.cp/minsym-fallback.exp
8379 * gdb.cp/misc.exp
8380 * gdb.cp/namelessclass.exp
8381 * gdb.cp/namespace-enum.exp
8382 * gdb.cp/namespace-nested-import.exp
8383 * gdb.cp/namespace.exp
8384 * gdb.cp/nextoverthrow.exp
8385 * gdb.cp/no-dmgl-verbose.exp
8386 * gdb.cp/non-trivial-retval.exp
8387 * gdb.cp/noparam.exp
8388 * gdb.cp/nsdecl.exp
8389 * gdb.cp/nsimport.exp
8390 * gdb.cp/nsnested.exp
8391 * gdb.cp/nsnoimports.exp
8392 * gdb.cp/nsrecurs.exp
8393 * gdb.cp/nsstress.exp
8394 * gdb.cp/nsusing.exp
8395 * gdb.cp/operator.exp
8396 * gdb.cp/oranking.exp
8397 * gdb.cp/overload-const.exp
8398 * gdb.cp/overload.exp
8399 * gdb.cp/ovldbreak.exp
8400 * gdb.cp/ovsrch.exp
8401 * gdb.cp/paren-type.exp
8402 * gdb.cp/parse-lang.exp
8403 * gdb.cp/pass-by-ref.exp
8404 * gdb.cp/pr-1023.exp
8405 * gdb.cp/pr-1210.exp
8406 * gdb.cp/pr-574.exp
8407 * gdb.cp/pr10687.exp
8408 * gdb.cp/pr12028.exp
8409 * gdb.cp/pr17132.exp
8410 * gdb.cp/pr17494.exp
8411 * gdb.cp/pr9067.exp
8412 * gdb.cp/pr9167.exp
8413 * gdb.cp/pr9631.exp
8414 * gdb.cp/printmethod.exp
8415 * gdb.cp/psmang.exp
8416 * gdb.cp/psymtab-parameter.exp
8417 * gdb.cp/ptype-cv-cp.exp
8418 * gdb.cp/ptype-flags.exp
8419 * gdb.cp/re-set-overloaded.exp
8420 * gdb.cp/ref-types.exp
8421 * gdb.cp/rtti.exp
8422 * gdb.cp/scope-err.exp
8423 * gdb.cp/shadow.exp
8424 * gdb.cp/smartp.exp
8425 * gdb.cp/static-method.exp
8426 * gdb.cp/static-print-quit.exp
8427 * gdb.cp/temargs.exp
8428 * gdb.cp/templates.exp
8429 * gdb.cp/try_catch.exp
8430 * gdb.cp/typedef-operator.exp
8431 * gdb.cp/typeid.exp
8432 * gdb.cp/userdef.exp
8433 * gdb.cp/using-crash.exp
8434 * gdb.cp/var-tag.exp
8435 * gdb.cp/virtbase.exp
8436 * gdb.cp/virtfunc.exp
8437 * gdb.cp/virtfunc2.exp
8438 * gdb.cp/vla-cxx.exp
8439 * gdb.disasm/t01_mov.exp
8440 * gdb.disasm/t02_mova.exp
8441 * gdb.disasm/t03_add.exp
8442 * gdb.disasm/t04_sub.exp
8443 * gdb.disasm/t05_cmp.exp
8444 * gdb.disasm/t06_ari2.exp
8445 * gdb.disasm/t07_ari3.exp
8446 * gdb.disasm/t08_or.exp
8447 * gdb.disasm/t09_xor.exp
8448 * gdb.disasm/t10_and.exp
8449 * gdb.disasm/t11_logs.exp
8450 * gdb.disasm/t12_bit.exp
8451 * gdb.disasm/t13_otr.exp
8452 * gdb.dlang/circular.exp
8453 * gdb.dwarf2/arr-stride.exp
8454 * gdb.dwarf2/arr-subrange.exp
8455 * gdb.dwarf2/atomic-type.exp
8456 * gdb.dwarf2/bad-regnum.exp
8457 * gdb.dwarf2/bitfield-parent-optimized-out.exp
8458 * gdb.dwarf2/callframecfa.exp
8459 * gdb.dwarf2/clztest.exp
8460 * gdb.dwarf2/corrupt.exp
8461 * gdb.dwarf2/data-loc.exp
8462 * gdb.dwarf2/dup-psym.exp
8463 * gdb.dwarf2/dw2-anon-mptr.exp
8464 * gdb.dwarf2/dw2-anonymous-func.exp
8465 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
8466 * gdb.dwarf2/dw2-bad-unresolved.exp
8467 * gdb.dwarf2/dw2-basic.exp
8468 * gdb.dwarf2/dw2-canonicalize-type.exp
8469 * gdb.dwarf2/dw2-case-insensitive.exp
8470 * gdb.dwarf2/dw2-common-block.exp
8471 * gdb.dwarf2/dw2-compdir-oldgcc.exp
8472 * gdb.dwarf2/dw2-compressed.exp
8473 * gdb.dwarf2/dw2-const.exp
8474 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
8475 * gdb.dwarf2/dw2-cu-size.exp
8476 * gdb.dwarf2/dw2-dup-frame.exp
8477 * gdb.dwarf2/dw2-entry-value.exp
8478 * gdb.dwarf2/dw2-icycle.exp
8479 * gdb.dwarf2/dw2-ifort-parameter.exp
8480 * gdb.dwarf2/dw2-inline-break.exp
8481 * gdb.dwarf2/dw2-inline-param.exp
8482 * gdb.dwarf2/dw2-intercu.exp
8483 * gdb.dwarf2/dw2-intermix.exp
8484 * gdb.dwarf2/dw2-lexical-block-bare.exp
8485 * gdb.dwarf2/dw2-linkage-name-trust.exp
8486 * gdb.dwarf2/dw2-minsym-in-cu.exp
8487 * gdb.dwarf2/dw2-noloc.exp
8488 * gdb.dwarf2/dw2-op-call.exp
8489 * gdb.dwarf2/dw2-op-out-param.exp
8490 * gdb.dwarf2/dw2-opt-structptr.exp
8491 * gdb.dwarf2/dw2-param-error.exp
8492 * gdb.dwarf2/dw2-producer.exp
8493 * gdb.dwarf2/dw2-ranges-base.exp
8494 * gdb.dwarf2/dw2-ref-missing-frame.exp
8495 * gdb.dwarf2/dw2-reg-undefined.exp
8496 * gdb.dwarf2/dw2-regno-invalid.exp
8497 * gdb.dwarf2/dw2-restore.exp
8498 * gdb.dwarf2/dw2-restrict.exp
8499 * gdb.dwarf2/dw2-single-line-discriminators.exp
8500 * gdb.dwarf2/dw2-strp.exp
8501 * gdb.dwarf2/dw2-undefined-ret-addr.exp
8502 * gdb.dwarf2/dw2-unresolved.exp
8503 * gdb.dwarf2/dw2-var-zero-addr.exp
8504 * gdb.dwarf2/dw4-sig-types.exp
8505 * gdb.dwarf2/dwz.exp
8506 * gdb.dwarf2/dynarr-ptr.exp
8507 * gdb.dwarf2/enum-type.exp
8508 * gdb.dwarf2/gdb-index.exp
8509 * gdb.dwarf2/implptr-64bit.exp
8510 * gdb.dwarf2/implptr-optimized-out.exp
8511 * gdb.dwarf2/implptr.exp
8512 * gdb.dwarf2/implref-array.exp
8513 * gdb.dwarf2/implref-const.exp
8514 * gdb.dwarf2/implref-global.exp
8515 * gdb.dwarf2/implref-struct.exp
8516 * gdb.dwarf2/mac-fileno.exp
8517 * gdb.dwarf2/main-subprogram.exp
8518 * gdb.dwarf2/member-ptr-forwardref.exp
8519 * gdb.dwarf2/method-ptr.exp
8520 * gdb.dwarf2/missing-sig-type.exp
8521 * gdb.dwarf2/nonvar-access.exp
8522 * gdb.dwarf2/opaque-type-lookup.exp
8523 * gdb.dwarf2/pieces-optimized-out.exp
8524 * gdb.dwarf2/pieces.exp
8525 * gdb.dwarf2/pr10770.exp
8526 * gdb.dwarf2/pr13961.exp
8527 * gdb.dwarf2/staticvirtual.exp
8528 * gdb.dwarf2/subrange.exp
8529 * gdb.dwarf2/symtab-producer.exp
8530 * gdb.dwarf2/trace-crash.exp
8531 * gdb.dwarf2/typeddwarf.exp
8532 * gdb.dwarf2/valop.exp
8533 * gdb.dwarf2/watch-notconst.exp
8534 * gdb.fortran/array-element.exp
8535 * gdb.fortran/charset.exp
8536 * gdb.fortran/common-block.exp
8537 * gdb.fortran/complex.exp
8538 * gdb.fortran/derived-type-function.exp
8539 * gdb.fortran/derived-type.exp
8540 * gdb.fortran/logical.exp
8541 * gdb.fortran/module.exp
8542 * gdb.fortran/multi-dim.exp
8543 * gdb.fortran/nested-funcs.exp
8544 * gdb.fortran/print-formatted.exp
8545 * gdb.fortran/subarray.exp
8546 * gdb.fortran/vla-alloc-assoc.exp
8547 * gdb.fortran/vla-datatypes.exp
8548 * gdb.fortran/vla-history.exp
8549 * gdb.fortran/vla-ptr-info.exp
8550 * gdb.fortran/vla-ptype-sub.exp
8551 * gdb.fortran/vla-ptype.exp
8552 * gdb.fortran/vla-sizeof.exp
8553 * gdb.fortran/vla-type.exp
8554 * gdb.fortran/vla-value-sub-arbitrary.exp
8555 * gdb.fortran/vla-value-sub-finish.exp
8556 * gdb.fortran/vla-value-sub.exp
8557 * gdb.fortran/vla-value.exp
8558 * gdb.fortran/whatis_type.exp
8559 * gdb.go/chan.exp
8560 * gdb.go/handcall.exp
8561 * gdb.go/hello.exp
8562 * gdb.go/integers.exp
8563 * gdb.go/methods.exp
8564 * gdb.go/package.exp
8565 * gdb.go/strings.exp
8566 * gdb.go/types.exp
8567 * gdb.go/unsafe.exp
8568 * gdb.guile/scm-arch.exp
8569 * gdb.guile/scm-block.exp
8570 * gdb.guile/scm-breakpoint.exp
8571 * gdb.guile/scm-cmd.exp
8572 * gdb.guile/scm-disasm.exp
8573 * gdb.guile/scm-equal.exp
8574 * gdb.guile/scm-frame-args.exp
8575 * gdb.guile/scm-frame-inline.exp
8576 * gdb.guile/scm-frame.exp
8577 * gdb.guile/scm-iterator.exp
8578 * gdb.guile/scm-math.exp
8579 * gdb.guile/scm-objfile.exp
8580 * gdb.guile/scm-ports.exp
8581 * gdb.guile/scm-symbol.exp
8582 * gdb.guile/scm-symtab.exp
8583 * gdb.guile/scm-value-cc.exp
8584 * gdb.guile/types-module.exp
8585 * gdb.linespec/break-ask.exp
8586 * gdb.linespec/cpexplicit.exp
8587 * gdb.linespec/explicit.exp
8588 * gdb.linespec/keywords.exp
8589 * gdb.linespec/linespec.exp
8590 * gdb.linespec/ls-dollar.exp
8591 * gdb.linespec/ls-errs.exp
8592 * gdb.linespec/skip-two.exp
8593 * gdb.linespec/thread.exp
8594 * gdb.mi/mi-async.exp
8595 * gdb.mi/mi-basics.exp
8596 * gdb.mi/mi-break.exp
8597 * gdb.mi/mi-catch-load.exp
8598 * gdb.mi/mi-cli.exp
8599 * gdb.mi/mi-cmd-param-changed.exp
8600 * gdb.mi/mi-console.exp
8601 * gdb.mi/mi-detach.exp
8602 * gdb.mi/mi-disassemble.exp
8603 * gdb.mi/mi-eval.exp
8604 * gdb.mi/mi-file-transfer.exp
8605 * gdb.mi/mi-file.exp
8606 * gdb.mi/mi-fill-memory.exp
8607 * gdb.mi/mi-inheritance-syntax-error.exp
8608 * gdb.mi/mi-linespec-err-cp.exp
8609 * gdb.mi/mi-logging.exp
8610 * gdb.mi/mi-memory-changed.exp
8611 * gdb.mi/mi-read-memory.exp
8612 * gdb.mi/mi-record-changed.exp
8613 * gdb.mi/mi-reg-undefined.exp
8614 * gdb.mi/mi-regs.exp
8615 * gdb.mi/mi-return.exp
8616 * gdb.mi/mi-reverse.exp
8617 * gdb.mi/mi-simplerun.exp
8618 * gdb.mi/mi-solib.exp
8619 * gdb.mi/mi-stack.exp
8620 * gdb.mi/mi-stepi.exp
8621 * gdb.mi/mi-syn-frame.exp
8622 * gdb.mi/mi-until.exp
8623 * gdb.mi/mi-var-block.exp
8624 * gdb.mi/mi-var-child.exp
8625 * gdb.mi/mi-var-cmd.exp
8626 * gdb.mi/mi-var-cp.exp
8627 * gdb.mi/mi-var-display.exp
8628 * gdb.mi/mi-var-invalidate.exp
8629 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
8630 * gdb.mi/mi-vla-fortran.exp
8631 * gdb.mi/mi-watch.exp
8632 * gdb.mi/mi2-var-child.exp
8633 * gdb.mi/user-selected-context-sync.exp
8634 * gdb.modula2/unbounded-array.exp
8635 * gdb.multi/dummy-frame-restore.exp
8636 * gdb.multi/multi-arch-exec.exp
8637 * gdb.multi/multi-arch.exp
8638 * gdb.multi/tids.exp
8639 * gdb.multi/watchpoint-multi.exp
8640 * gdb.opencl/callfuncs.exp
8641 * gdb.opencl/convs_casts.exp
8642 * gdb.opencl/datatypes.exp
8643 * gdb.opencl/operators.exp
8644 * gdb.opencl/vec_comps.exp
8645 * gdb.opt/clobbered-registers-O2.exp
8646 * gdb.opt/inline-break.exp
8647 * gdb.opt/inline-bt.exp
8648 * gdb.opt/inline-cmds.exp
8649 * gdb.opt/inline-locals.exp
8650 * gdb.pascal/case-insensitive-symbols.exp
8651 * gdb.pascal/floats.exp
8652 * gdb.pascal/gdb11492.exp
8653 * gdb.python/lib-types.exp
8654 * gdb.python/py-arch.exp
8655 * gdb.python/py-as-string.exp
8656 * gdb.python/py-bad-printers.exp
8657 * gdb.python/py-block.exp
8658 * gdb.python/py-breakpoint-create-fail.exp
8659 * gdb.python/py-breakpoint.exp
8660 * gdb.python/py-caller-is.exp
8661 * gdb.python/py-cmd.exp
8662 * gdb.python/py-explore-cc.exp
8663 * gdb.python/py-explore.exp
8664 * gdb.python/py-finish-breakpoint.exp
8665 * gdb.python/py-finish-breakpoint2.exp
8666 * gdb.python/py-frame-args.exp
8667 * gdb.python/py-frame-inline.exp
8668 * gdb.python/py-frame.exp
8669 * gdb.python/py-framefilter-mi.exp
8670 * gdb.python/py-infthread.exp
8671 * gdb.python/py-lazy-string.exp
8672 * gdb.python/py-linetable.exp
8673 * gdb.python/py-mi-events.exp
8674 * gdb.python/py-mi-objfile.exp
8675 * gdb.python/py-mi.exp
8676 * gdb.python/py-objfile.exp
8677 * gdb.python/py-pp-integral.exp
8678 * gdb.python/py-pp-maint.exp
8679 * gdb.python/py-pp-re-notag.exp
8680 * gdb.python/py-pp-registration.exp
8681 * gdb.python/py-recurse-unwind.exp
8682 * gdb.python/py-strfns.exp
8683 * gdb.python/py-symbol.exp
8684 * gdb.python/py-symtab.exp
8685 * gdb.python/py-sync-interp.exp
8686 * gdb.python/py-typeprint.exp
8687 * gdb.python/py-unwind-maint.exp
8688 * gdb.python/py-unwind.exp
8689 * gdb.python/py-value-cc.exp
8690 * gdb.python/py-xmethods.exp
8691 * gdb.reverse/amd64-tailcall-reverse.exp
8692 * gdb.reverse/break-precsave.exp
8693 * gdb.reverse/break-reverse.exp
8694 * gdb.reverse/consecutive-precsave.exp
8695 * gdb.reverse/consecutive-reverse.exp
8696 * gdb.reverse/finish-precsave.exp
8697 * gdb.reverse/finish-reverse-bkpt.exp
8698 * gdb.reverse/finish-reverse.exp
8699 * gdb.reverse/fstatat-reverse.exp
8700 * gdb.reverse/getresuid-reverse.exp
8701 * gdb.reverse/i386-precsave.exp
8702 * gdb.reverse/i386-reverse.exp
8703 * gdb.reverse/i386-sse-reverse.exp
8704 * gdb.reverse/i387-env-reverse.exp
8705 * gdb.reverse/i387-stack-reverse.exp
8706 * gdb.reverse/insn-reverse.exp
8707 * gdb.reverse/machinestate-precsave.exp
8708 * gdb.reverse/machinestate.exp
8709 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8710 * gdb.reverse/pipe-reverse.exp
8711 * gdb.reverse/readv-reverse.exp
8712 * gdb.reverse/recvmsg-reverse.exp
8713 * gdb.reverse/rerun-prec.exp
8714 * gdb.reverse/s390-mvcle.exp
8715 * gdb.reverse/step-precsave.exp
8716 * gdb.reverse/step-reverse.exp
8717 * gdb.reverse/time-reverse.exp
8718 * gdb.reverse/until-precsave.exp
8719 * gdb.reverse/until-reverse.exp
8720 * gdb.reverse/waitpid-reverse.exp
8721 * gdb.reverse/watch-precsave.exp
8722 * gdb.reverse/watch-reverse.exp
8723 * gdb.rust/generics.exp
8724 * gdb.rust/methods.exp
8725 * gdb.rust/modules.exp
8726 * gdb.rust/simple.exp
8727 * gdb.server/connect-with-no-symbol-file.exp
8728 * gdb.server/ext-attach.exp
8729 * gdb.server/ext-restart.exp
8730 * gdb.server/ext-wrapper.exp
8731 * gdb.server/file-transfer.exp
8732 * gdb.server/server-exec-info.exp
8733 * gdb.server/server-kill.exp
8734 * gdb.server/server-mon.exp
8735 * gdb.server/wrapper.exp
8736 * gdb.stabs/exclfwd.exp
8737 * gdb.stabs/gdb11479.exp
8738 * gdb.threads/clone-new-thread-event.exp
8739 * gdb.threads/corethreads.exp
8740 * gdb.threads/current-lwp-dead.exp
8741 * gdb.threads/dlopen-libpthread.exp
8742 * gdb.threads/gcore-thread.exp
8743 * gdb.threads/sigstep-threads.exp
8744 * gdb.threads/watchpoint-fork.exp
8745 * gdb.trace/actions-changed.exp
8746 * gdb.trace/backtrace.exp
8747 * gdb.trace/change-loc.exp
8748 * gdb.trace/circ.exp
8749 * gdb.trace/collection.exp
8750 * gdb.trace/disconnected-tracing.exp
8751 * gdb.trace/ftrace.exp
8752 * gdb.trace/mi-trace-frame-collected.exp
8753 * gdb.trace/mi-trace-unavailable.exp
8754 * gdb.trace/mi-traceframe-changed.exp
8755 * gdb.trace/mi-tsv-changed.exp
8756 * gdb.trace/no-attach-trace.exp
8757 * gdb.trace/passc-dyn.exp
8758 * gdb.trace/qtro.exp
8759 * gdb.trace/range-stepping.exp
8760 * gdb.trace/read-memory.exp
8761 * gdb.trace/save-trace.exp
8762 * gdb.trace/signal.exp
8763 * gdb.trace/status-stop.exp
8764 * gdb.trace/tfile.exp
8765 * gdb.trace/trace-break.exp
8766 * gdb.trace/trace-buffer-size.exp
8767 * gdb.trace/trace-condition.exp
8768 * gdb.trace/tracefile-pseudo-reg.exp
8769 * gdb.trace/tstatus.exp
8770 * gdb.trace/unavailable.exp
8771 * gdb.trace/while-dyn.exp
8772 * gdb.trace/while-stepping.exp
8773
8774 2016-12-22 Doug Evans <xdje42@gmail.com>
8775
8776 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
8777 and msymbols.
8778
8779 2016-12-19 Yao Qi <yao.qi@linaro.org>
8780
8781 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
8782 (test_with_self): Don't call do_steps_and_nexts, and remove
8783 code about stepping into xmalloc.
8784
8785 2016-12-09 Yao Qi <yao.qi@linaro.org>
8786
8787 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
8788
8789 2016-12-09 Yao Qi <yao.qi@linaro.org>
8790
8791 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
8792
8793 2016-12-09 Pedro Alves <palves@redhat.com>
8794
8795 * gdb.base/all-architectures-0.exp: New file.
8796 * gdb.base/all-architectures-1.exp: New file.
8797 * gdb.base/all-architectures-2.exp: New file.
8798 * gdb.base/all-architectures-3.exp: New file.
8799 * gdb.base/all-architectures-4.exp: New file.
8800 * gdb.base/all-architectures-5.exp: New file.
8801 * gdb.base/all-architectures-6.exp: New file.
8802 * gdb.base/all-architectures-7.exp: New file.
8803 * gdb.base/all-architectures.exp.in: New file.
8804
8805 2016-12-09 Yao Qi <yao.qi@linaro.org>
8806
8807 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
8808
8809 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
8810
8811 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
8812 possible.
8813 Remove useless pattern-matching code.
8814
8815 2016-12-02 Pedro Alves <palves@redhat.com>
8816
8817 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
8818 procedure.
8819 (top level): Call it.
8820
8821 2016-12-02 Pedro Alves <palves@redhat.com>
8822
8823 * gdb.base/commands.exp (user_defined_command_args_stack_test):
8824 New procedure.
8825 (top level): Call it.
8826
8827 2016-12-02 Pedro Alves <palves@redhat.com>
8828
8829 PR cli/20559
8830 * gdb.base/commands.exp (user_defined_command_args_eval): New
8831 procedure.
8832 (top level): Call it.
8833
8834 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
8835
8836 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
8837 timeout handling.
8838
8839 2016-12-02 Tom Tromey <tom@tromey.com>
8840
8841 * gdb.dwarf2/main-subprogram.c: New file.
8842 * gdb.dwarf2/main-subprogram.exp: New file.
8843
8844 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8845
8846 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
8847 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
8848 gdb_test_no_output for a couple of cases.
8849 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
8850
8851 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8852
8853 Fix test names and standardize compilation error messages throughout
8854 the following files:
8855
8856 * gdb.ada/start.exp
8857 * gdb.arch/alpha-step.exp
8858 * gdb.arch/e500-prologue.exp
8859 * gdb.arch/ftrace-insn-reloc.exp
8860 * gdb.arch/gdb1291.exp
8861 * gdb.arch/gdb1431.exp
8862 * gdb.arch/gdb1558.exp
8863 * gdb.arch/i386-dr3-watch.exp
8864 * gdb.arch/i386-sse-stack-align.exp
8865 * gdb.arch/ia64-breakpoint-shadow.exp
8866 * gdb.arch/pa-nullify.exp
8867 * gdb.arch/powerpc-aix-prologue.exp
8868 * gdb.arch/thumb-bx-pc.exp
8869 * gdb.base/annota1.exp
8870 * gdb.base/annota3.exp
8871 * gdb.base/arrayidx.exp
8872 * gdb.base/assign.exp
8873 * gdb.base/attach.exp
8874 * gdb.base/auxv.exp
8875 * gdb.base/bang.exp
8876 * gdb.base/bfp-test.exp
8877 * gdb.base/bigcore.exp
8878 * gdb.base/bitfields2.exp
8879 * gdb.base/break-fun-addr.exp
8880 * gdb.base/break-probes.exp
8881 * gdb.base/call-rt-st.exp
8882 * gdb.base/callexit.exp
8883 * gdb.base/catch-fork-kill.exp
8884 * gdb.base/charset.exp
8885 * gdb.base/checkpoint.exp
8886 * gdb.base/comprdebug.exp
8887 * gdb.base/constvars.exp
8888 * gdb.base/coredump-filter.exp
8889 * gdb.base/cursal.exp
8890 * gdb.base/cvexpr.exp
8891 * gdb.base/detach.exp
8892 * gdb.base/display.exp
8893 * gdb.base/dmsym.exp
8894 * gdb.base/dprintf-pending.exp
8895 * gdb.base/dso2dso.exp
8896 * gdb.base/dtrace-probe.exp
8897 * gdb.base/dump.exp
8898 * gdb.base/enum_cond.exp
8899 * gdb.base/exe-lock.exp
8900 * gdb.base/exec-invalid-sysroot.exp
8901 * gdb.base/execl-update-breakpoints.exp
8902 * gdb.base/exprs.exp
8903 * gdb.base/fileio.exp
8904 * gdb.base/find.exp
8905 * gdb.base/finish.exp
8906 * gdb.base/fixsection.exp
8907 * gdb.base/foll-vfork.exp
8908 * gdb.base/frame-args.exp
8909 * gdb.base/gcore.exp
8910 * gdb.base/gdb1250.exp
8911 * gdb.base/global-var-nested-by-dso.exp
8912 * gdb.base/gnu-ifunc.exp
8913 * gdb.base/hashline1.exp
8914 * gdb.base/hashline2.exp
8915 * gdb.base/hashline3.exp
8916 * gdb.base/hbreak-in-shr-unsupported.exp
8917 * gdb.base/huge.exp
8918 * gdb.base/infcall-input.exp
8919 * gdb.base/info-fun.exp
8920 * gdb.base/info-shared.exp
8921 * gdb.base/jit-simple.exp
8922 * gdb.base/jit-so.exp
8923 * gdb.base/jit.exp
8924 * gdb.base/jump.exp
8925 * gdb.base/label.exp
8926 * gdb.base/lineinc.exp
8927 * gdb.base/logical.exp
8928 * gdb.base/longjmp.exp
8929 * gdb.base/macscp.exp
8930 * gdb.base/miscexprs.exp
8931 * gdb.base/new-ui-echo.exp
8932 * gdb.base/new-ui-pending-input.exp
8933 * gdb.base/new-ui.exp
8934 * gdb.base/nodebug.exp
8935 * gdb.base/nofield.exp
8936 * gdb.base/offsets.exp
8937 * gdb.base/overlays.exp
8938 * gdb.base/pending.exp
8939 * gdb.base/pointers.exp
8940 * gdb.base/pr11022.exp
8941 * gdb.base/printcmds.exp
8942 * gdb.base/prologue.exp
8943 * gdb.base/ptr-typedef.exp
8944 * gdb.base/realname-expand.exp
8945 * gdb.base/relativedebug.exp
8946 * gdb.base/relocate.exp
8947 * gdb.base/remote.exp
8948 * gdb.base/reread.exp
8949 * gdb.base/return2.exp
8950 * gdb.base/savedregs.exp
8951 * gdb.base/sep.exp
8952 * gdb.base/sepdebug.exp
8953 * gdb.base/sepsymtab.exp
8954 * gdb.base/set-inferior-tty.exp
8955 * gdb.base/setshow.exp
8956 * gdb.base/shlib-call.exp
8957 * gdb.base/sigaltstack.exp
8958 * gdb.base/siginfo-addr.exp
8959 * gdb.base/signals.exp
8960 * gdb.base/signull.exp
8961 * gdb.base/sigrepeat.exp
8962 * gdb.base/so-impl-ld.exp
8963 * gdb.base/solib-display.exp
8964 * gdb.base/solib-overlap.exp
8965 * gdb.base/solib-search.exp
8966 * gdb.base/solib-symbol.exp
8967 * gdb.base/structs.exp
8968 * gdb.base/structs2.exp
8969 * gdb.base/symtab-search-order.exp
8970 * gdb.base/twice.exp
8971 * gdb.base/unload.exp
8972 * gdb.base/varargs.exp
8973 * gdb.base/watchpoint-solib.exp
8974 * gdb.base/watchpoint.exp
8975 * gdb.base/whatis.exp
8976 * gdb.base/wrong_frame_bt_full.exp
8977 * gdb.btrace/dlopen.exp
8978 * gdb.cell/ea-standalone.exp
8979 * gdb.cell/ea-test.exp
8980 * gdb.cp/dispcxx.exp
8981 * gdb.cp/gdb2384.exp
8982 * gdb.cp/method2.exp
8983 * gdb.cp/nextoverthrow.exp
8984 * gdb.cp/pr10728.exp
8985 * gdb.disasm/am33.exp
8986 * gdb.disasm/h8300s.exp
8987 * gdb.disasm/mn10300.exp
8988 * gdb.disasm/sh3.exp
8989 * gdb.dwarf2/dw2-dir-file-name.exp
8990 * gdb.fortran/complex.exp
8991 * gdb.fortran/library-module.exp
8992 * gdb.guile/scm-pretty-print.exp
8993 * gdb.guile/scm-symbol.exp
8994 * gdb.guile/scm-type.exp
8995 * gdb.guile/scm-value.exp
8996 * gdb.linespec/linespec.exp
8997 * gdb.mi/gdb701.exp
8998 * gdb.mi/gdb792.exp
8999 * gdb.mi/mi-breakpoint-changed.exp
9000 * gdb.mi/mi-dprintf-pending.exp
9001 * gdb.mi/mi-dprintf.exp
9002 * gdb.mi/mi-exit-code.exp
9003 * gdb.mi/mi-pending.exp
9004 * gdb.mi/mi-solib.exp
9005 * gdb.mi/new-ui-mi-sync.exp
9006 * gdb.mi/pr11022.exp
9007 * gdb.mi/user-selected-context-sync.exp
9008 * gdb.opt/solib-intra-step.exp
9009 * gdb.python/py-events.exp
9010 * gdb.python/py-finish-breakpoint.exp
9011 * gdb.python/py-mi.exp
9012 * gdb.python/py-prettyprint.exp
9013 * gdb.python/py-shared.exp
9014 * gdb.python/py-symbol.exp
9015 * gdb.python/py-template.exp
9016 * gdb.python/py-type.exp
9017 * gdb.python/py-value.exp
9018 * gdb.reverse/solib-precsave.exp
9019 * gdb.reverse/solib-reverse.exp
9020 * gdb.server/solib-list.exp
9021 * gdb.stabs/weird.exp
9022 * gdb.threads/reconnect-signal.exp
9023 * gdb.threads/stepi-random-signal.exp
9024 * gdb.trace/actions.exp
9025 * gdb.trace/ax.exp
9026 * gdb.trace/backtrace.exp
9027 * gdb.trace/change-loc.exp
9028 * gdb.trace/deltrace.exp
9029 * gdb.trace/ftrace-lock.exp
9030 * gdb.trace/ftrace.exp
9031 * gdb.trace/infotrace.exp
9032 * gdb.trace/mi-tracepoint-changed.exp
9033 * gdb.trace/packetlen.exp
9034 * gdb.trace/passcount.exp
9035 * gdb.trace/pending.exp
9036 * gdb.trace/range-stepping.exp
9037 * gdb.trace/report.exp
9038 * gdb.trace/stap-trace.exp
9039 * gdb.trace/tfind.exp
9040 * gdb.trace/trace-break.exp
9041 * gdb.trace/trace-condition.exp
9042 * gdb.trace/trace-enable-disable.exp
9043 * gdb.trace/trace-mt.exp
9044 * gdb.trace/tracecmd.exp
9045 * gdb.trace/tspeed.exp
9046 * gdb.trace/tsv.exp
9047 * lib/perftest.exp
9048
9049 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9050
9051 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
9052 with gdb_test_no_output.
9053 Use command as test name.
9054
9055 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9056
9057 Fix test names starting with uppercase throughout the files.
9058
9059 * gdb.ada/assign_1.exp
9060 * gdb.ada/boolean_expr.exp
9061 * gdb.base/arrayidx.exp
9062 * gdb.base/del.exp
9063 * gdb.base/gcore-buffer-overflow.exp
9064 * gdb.base/testenv.exp
9065 * gdb.compile/compile.exp
9066 * gdb.python/py-framefilter-invalidarg.exp
9067 * gdb.python/py-framefilter.exp
9068
9069 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9070
9071 Fix test names starting with uppercase throughout the files.
9072
9073 * gdb.ada/array_return.exp
9074 * gdb.ada/expr_delims.exp
9075 * gdb.ada/mi_dyn_arr.exp
9076 * gdb.ada/mi_interface.exp
9077 * gdb.ada/mi_var_array.exp
9078 * gdb.ada/watch_arg.exp
9079 * gdb.arch/alpha-step.exp
9080 * gdb.arch/altivec-regs.exp
9081 * gdb.arch/e500-regs.exp
9082 * gdb.arch/powerpc-d128-regs.exp
9083 * gdb.base/arrayidx.exp
9084 * gdb.base/break.exp
9085 * gdb.base/checkpoint.exp
9086 * gdb.base/debug-expr.exp
9087 * gdb.base/dmsym.exp
9088 * gdb.base/radix.exp
9089 * gdb.base/sepdebug.exp
9090 * gdb.base/testenv.exp
9091 * gdb.base/watch_thread_num.exp
9092 * gdb.base/watchpoint-cond-gone.exp
9093 * gdb.cell/break.exp
9094 * gdb.cell/ea-cache.exp
9095 * gdb.compile/compile.exp
9096 * gdb.cp/gdb2495.exp
9097 * gdb.gdb/selftest.exp
9098 * gdb.gdb/xfullpath.exp
9099 * gdb.go/hello.exp
9100 * gdb.go/integers.exp
9101 * gdb.objc/basicclass.exp
9102 * gdb.pascal/hello.exp
9103 * gdb.pascal/integers.exp
9104 * gdb.python/py-breakpoint.exp
9105 * gdb.python/py-cmd.exp
9106 * gdb.python/py-linetable.exp
9107 * gdb.python/py-xmethods.exp
9108 * gdb.python/python.exp
9109 * gdb.reverse/consecutive-precsave.exp
9110 * gdb.reverse/finish-precsave.exp
9111 * gdb.reverse/i386-precsave.exp
9112 * gdb.reverse/machinestate-precsave.exp
9113 * gdb.reverse/sigall-precsave.exp
9114 * gdb.reverse/solib-precsave.exp
9115 * gdb.reverse/step-precsave.exp
9116 * gdb.reverse/until-precsave.exp
9117 * gdb.reverse/watch-precsave.exp
9118 * gdb.threads/leader-exit.exp
9119 * gdb.threads/pthreads.exp
9120 * gdb.threads/wp-replication.exp
9121 * gdb.trace/actions.exp
9122 * gdb.trace/mi-tsv-changed.exp
9123 * gdb.trace/tsv.exp
9124
9125 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9126
9127 Fix test names starting with uppercase throughout the files.
9128
9129 * gdb.arch/i386-bp_permanent.exp
9130 * gdb.arch/i386-gnu-cfi.exp
9131 * gdb.base/disasm-end-cu.exp
9132 * gdb.base/macscp.exp
9133 * gdb.base/pending.exp
9134 * gdb.base/watch_thread_num.exp
9135 * gdb.cp/exception.exp
9136 * gdb.cp/gdb2495.exp
9137 * gdb.cp/local.exp
9138 * gdb.python/py-evsignal.exp
9139 * gdb.python/python.exp
9140 * gdb.trace/tracecmd.exp
9141
9142 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9143
9144 Fix test names starting with uppercase throughout the files.
9145
9146 * gdb.base/charset.exp
9147 * gdb.base/eval.exp
9148 * gdb.base/multi-forks.exp
9149 * gdb.guile/scm-progspace.exp
9150 * gdb.opencl/datatypes.exp
9151 * gdb.python/py-block.exp
9152 * gdb.python/py-function.exp
9153 * gdb.python/py-symbol.exp
9154 * gdb.python/py-symtab.exp
9155 * gdb.python/py-xmethods.exp
9156 * gdb.reverse/break-precsave.exp
9157 * gdb.reverse/break-reverse.exp
9158 * gdb.reverse/consecutive-precsave.exp
9159 * gdb.reverse/consecutive-reverse.exp
9160 * gdb.reverse/finish-precsave.exp
9161 * gdb.reverse/finish-reverse-bkpt.exp
9162 * gdb.reverse/finish-reverse.exp
9163 * gdb.reverse/fstatat-reverse.exp
9164 * gdb.reverse/getresuid-reverse.exp
9165 * gdb.reverse/i386-precsave.exp
9166 * gdb.reverse/i386-reverse.exp
9167 * gdb.reverse/i386-sse-reverse.exp
9168 * gdb.reverse/i387-stack-reverse.exp
9169 * gdb.reverse/insn-reverse.exp
9170 * gdb.reverse/machinestate-precsave.exp
9171 * gdb.reverse/machinestate.exp
9172 * gdb.reverse/next-reverse-bkpt-over-sr.exp
9173 * gdb.reverse/pipe-reverse.exp
9174 * gdb.reverse/readv-reverse.exp
9175 * gdb.reverse/recvmsg-reverse.exp
9176 * gdb.reverse/rerun-prec.exp
9177 * gdb.reverse/s390-mvcle.exp
9178 * gdb.reverse/sigall-precsave.exp
9179 * gdb.reverse/sigall-reverse.exp
9180 * gdb.reverse/solib-precsave.exp
9181 * gdb.reverse/solib-reverse.exp
9182 * gdb.reverse/step-precsave.exp
9183 * gdb.reverse/step-reverse.exp
9184 * gdb.reverse/time-reverse.exp
9185 * gdb.reverse/until-precsave.exp
9186 * gdb.reverse/until-reverse.exp
9187 * gdb.reverse/waitpid-reverse.exp
9188 * gdb.reverse/watch-precsave.exp
9189 * gdb.reverse/watch-reverse.exp
9190
9191 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9192
9193 Fix test names starting with uppercase throughout the files.
9194
9195 * gdb.arch/i386-mpx-simple_segv.exp
9196 * gdb.arch/i386-mpx.exp
9197 * gdb.arch/i386-permbkpt.exp
9198 * gdb.arch/pa-nullify.exp
9199 * gdb.arch/powerpc-d128-regs.exp
9200 * gdb.arch/vsx-regs.exp
9201 * gdb.base/bfp-test.exp
9202 * gdb.base/break.exp
9203 * gdb.base/breakpoint-shadow.exp
9204 * gdb.base/callfuncs.exp
9205 * gdb.base/charset.exp
9206 * gdb.base/commands.exp
9207 * gdb.base/completion.exp
9208 * gdb.base/dfp-test.exp
9209 * gdb.base/echo.exp
9210 * gdb.base/ending-run.exp
9211 * gdb.base/eval.exp
9212 * gdb.base/expand-psymtabs.exp
9213 * gdb.base/float128.exp
9214 * gdb.base/floatn.exp
9215 * gdb.base/foll-exec-mode.exp
9216 * gdb.base/gdb1056.exp
9217 * gdb.base/gdb11531.exp
9218 * gdb.base/kill-after-signal.exp
9219 * gdb.base/multi-forks.exp
9220 * gdb.base/overlays.exp
9221 * gdb.base/pending.exp
9222 * gdb.base/sepdebug.exp
9223 * gdb.base/testenv.exp
9224 * gdb.base/valgrind-db-attach.exp
9225 * gdb.base/watch_thread_num.exp
9226 * gdb.base/watchpoint-cond-gone.exp
9227 * gdb.base/watchpoint.exp
9228 * gdb.base/watchpoints.exp
9229 * gdb.cp/arg-reference.exp
9230 * gdb.cp/baseenum.exp
9231 * gdb.cp/operator.exp
9232 * gdb.cp/shadow.exp
9233 * gdb.dwarf2/dw2-op-out-param.exp
9234 * gdb.dwarf2/dw2-reg-undefined.exp
9235 * gdb.go/chan.exp
9236 * gdb.go/hello.exp
9237 * gdb.go/integers.exp
9238 * gdb.go/methods.exp
9239 * gdb.go/package.exp
9240 * gdb.guile/scm-parameter.exp
9241 * gdb.guile/scm-progspace.exp
9242 * gdb.guile/scm-value.exp
9243 * gdb.mi/mi-pending.exp
9244 * gdb.mi/user-selected-context-sync.exp
9245 * gdb.multi/multi-attach.exp
9246 * gdb.multi/tids.exp
9247 * gdb.opt/clobbered-registers-O2.exp
9248 * gdb.pascal/floats.exp
9249 * gdb.pascal/integers.exp
9250 * gdb.python/py-block.exp
9251 * gdb.python/py-events.exp
9252 * gdb.python/py-parameter.exp
9253 * gdb.python/py-symbol.exp
9254 * gdb.python/py-symtab.exp
9255 * gdb.python/py-type.exp
9256 * gdb.python/py-value.exp
9257 * gdb.python/py-xmethods.exp
9258 * gdb.python/python.exp
9259 * gdb.reverse/break-precsave.exp
9260 * gdb.reverse/consecutive-precsave.exp
9261 * gdb.reverse/finish-precsave.exp
9262 * gdb.reverse/i386-precsave.exp
9263 * gdb.reverse/machinestate-precsave.exp
9264 * gdb.reverse/sigall-precsave.exp
9265 * gdb.reverse/solib-precsave.exp
9266 * gdb.reverse/step-precsave.exp
9267 * gdb.reverse/until-precsave.exp
9268 * gdb.reverse/watch-precsave.exp
9269 * gdb.server/ext-attach.exp
9270 * gdb.server/ext-restart.exp
9271 * gdb.server/ext-run.exp
9272 * gdb.server/ext-wrapper.exp
9273 * gdb.stabs/gdb11479.exp
9274 * gdb.stabs/weird.exp
9275 * gdb.threads/attach-many-short-lived-threads.exp
9276 * gdb.threads/kill.exp
9277 * gdb.threads/watchpoint-fork.exp
9278
9279 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9280
9281 Fix test names starting with uppercase throughout all the files below.
9282
9283 * gdb.ada/array_return.exp
9284 * gdb.ada/catch_ex.exp
9285 * gdb.ada/info_exc.exp
9286 * gdb.ada/mi_catch_ex.exp
9287 * gdb.ada/mi_dyn_arr.exp
9288 * gdb.ada/mi_ex_cond.exp
9289 * gdb.ada/mi_exc_info.exp
9290 * gdb.ada/mi_interface.exp
9291 * gdb.ada/mi_task_arg.exp
9292 * gdb.ada/mi_task_info.exp
9293 * gdb.ada/mi_var_array.exp
9294 * gdb.arch/alpha-step.exp
9295 * gdb.arch/amd64-disp-step.exp
9296 * gdb.arch/arm-disp-step.exp
9297 * gdb.arch/disp-step-insn-reloc.exp
9298 * gdb.arch/e500-prologue.exp
9299 * gdb.arch/ftrace-insn-reloc.exp
9300 * gdb.arch/gdb1558.exp
9301 * gdb.arch/i386-bp_permanent.exp
9302 * gdb.arch/i386-disp-step.exp
9303 * gdb.arch/i386-float.exp
9304 * gdb.arch/i386-gnu-cfi.exp
9305 * gdb.arch/ia64-breakpoint-shadow.exp
9306 * gdb.arch/mips16-thunks.exp
9307 * gdb.arch/pa-nullify.exp
9308 * gdb.arch/powerpc-aix-prologue.exp
9309 * gdb.arch/powerpc-power.exp
9310 * gdb.arch/ppc-dfp.exp
9311 * gdb.arch/s390-tdbregs.exp
9312 * gdb.arch/spu-info.exp
9313 * gdb.arch/spu-ls.exp
9314 * gdb.arch/thumb-bx-pc.exp
9315 * gdb.base/advance.exp
9316 * gdb.base/annota-input-while-running.exp
9317 * gdb.base/arrayidx.exp
9318 * gdb.base/asmlabel.exp
9319 * gdb.base/async.exp
9320 * gdb.base/attach-wait-input.exp
9321 * gdb.base/auto-connect-native-target.exp
9322 * gdb.base/batch-preserve-term-settings.exp
9323 * gdb.base/bfp-test.exp
9324 * gdb.base/bigcore.exp
9325 * gdb.base/bp-permanent.exp
9326 * gdb.base/break-always.exp
9327 * gdb.base/break-fun-addr.exp
9328 * gdb.base/break-idempotent.exp
9329 * gdb.base/break-main-file-remove-fail.exp
9330 * gdb.base/break-probes.exp
9331 * gdb.base/break-unload-file.exp
9332 * gdb.base/break.exp
9333 * gdb.base/call-ar-st.exp
9334 * gdb.base/call-rt-st.exp
9335 * gdb.base/call-sc.exp
9336 * gdb.base/call-signal-resume.exp
9337 * gdb.base/call-strs.exp
9338 * gdb.base/callexit.exp
9339 * gdb.base/callfuncs.exp
9340 * gdb.base/catch-gdb-caused-signals.exp
9341 * gdb.base/catch-signal-siginfo-cond.exp
9342 * gdb.base/catch-syscall.exp
9343 * gdb.base/compare-sections.exp
9344 * gdb.base/cond-eval-mode.exp
9345 * gdb.base/condbreak-call-false.exp
9346 * gdb.base/consecutive-step-over.exp
9347 * gdb.base/cursal.exp
9348 * gdb.base/disabled-location.exp
9349 * gdb.base/disasm-end-cu.exp
9350 * gdb.base/display.exp
9351 * gdb.base/double-prompt-target-event-error.exp
9352 * gdb.base/dprintf-bp-same-addr.exp
9353 * gdb.base/dprintf-detach.exp
9354 * gdb.base/dprintf-next.exp
9355 * gdb.base/dprintf-non-stop.exp
9356 * gdb.base/dprintf-pending.exp
9357 * gdb.base/dso2dso.exp
9358 * gdb.base/ending-run.exp
9359 * gdb.base/enum_cond.exp
9360 * gdb.base/examine-backward.exp
9361 * gdb.base/exe-lock.exp
9362 * gdb.base/exec-invalid-sysroot.exp
9363 * gdb.base/execl-update-breakpoints.exp
9364 * gdb.base/execution-termios.exp
9365 * gdb.base/fileio.exp
9366 * gdb.base/fixsection.exp
9367 * gdb.base/foll-exec-mode.exp
9368 * gdb.base/foll-exec.exp
9369 * gdb.base/fork-running-state.exp
9370 * gdb.base/frame-args.exp
9371 * gdb.base/fullpath-expand.exp
9372 * gdb.base/func-ptr.exp
9373 * gdb.base/gcore-relro-pie.exp
9374 * gdb.base/gdb1090.exp
9375 * gdb.base/gdb1555.exp
9376 * gdb.base/global-var-nested-by-dso.exp
9377 * gdb.base/gnu-ifunc.exp
9378 * gdb.base/hbreak-in-shr-unsupported.exp
9379 * gdb.base/hbreak-unmapped.exp
9380 * gdb.base/hook-stop.exp
9381 * gdb.base/infcall-input.exp
9382 * gdb.base/info-fun.exp
9383 * gdb.base/info-shared.exp
9384 * gdb.base/interrupt-noterm.exp
9385 * gdb.base/jit-so.exp
9386 * gdb.base/jit.exp
9387 * gdb.base/line-symtabs.exp
9388 * gdb.base/list.exp
9389 * gdb.base/longjmp.exp
9390 * gdb.base/macscp.exp
9391 * gdb.base/max-value-size.exp
9392 * gdb.base/nodebug.exp
9393 * gdb.base/nofield.exp
9394 * gdb.base/overlays.exp
9395 * gdb.base/paginate-after-ctrl-c-running.exp
9396 * gdb.base/paginate-bg-execution.exp
9397 * gdb.base/paginate-inferior-exit.exp
9398 * gdb.base/pending.exp
9399 * gdb.base/pr11022.exp
9400 * gdb.base/printcmds.exp
9401 * gdb.base/ptr-typedef.exp
9402 * gdb.base/ptype.exp
9403 * gdb.base/randomize.exp
9404 * gdb.base/range-stepping.exp
9405 * gdb.base/realname-expand.exp
9406 * gdb.base/relativedebug.exp
9407 * gdb.base/remote.exp
9408 * gdb.base/savedregs.exp
9409 * gdb.base/sepdebug.exp
9410 * gdb.base/set-noassign.exp
9411 * gdb.base/shlib-call.exp
9412 * gdb.base/shreloc.exp
9413 * gdb.base/sigaltstack.exp
9414 * gdb.base/sigbpt.exp
9415 * gdb.base/siginfo-addr.exp
9416 * gdb.base/siginfo-obj.exp
9417 * gdb.base/siginfo-thread.exp
9418 * gdb.base/signest.exp
9419 * gdb.base/signull.exp
9420 * gdb.base/sigrepeat.exp
9421 * gdb.base/skip.exp
9422 * gdb.base/so-impl-ld.exp
9423 * gdb.base/solib-corrupted.exp
9424 * gdb.base/solib-disc.exp
9425 * gdb.base/solib-display.exp
9426 * gdb.base/solib-overlap.exp
9427 * gdb.base/solib-search.exp
9428 * gdb.base/solib-symbol.exp
9429 * gdb.base/source-execution.exp
9430 * gdb.base/sss-bp-on-user-bp-2.exp
9431 * gdb.base/sss-bp-on-user-bp.exp
9432 * gdb.base/stack-checking.exp
9433 * gdb.base/stale-infcall.exp
9434 * gdb.base/step-break.exp
9435 * gdb.base/step-line.exp
9436 * gdb.base/step-over-exit.exp
9437 * gdb.base/step-test.exp
9438 * gdb.base/structs.exp
9439 * gdb.base/sym-file.exp
9440 * gdb.base/symtab-search-order.exp
9441 * gdb.base/term.exp
9442 * gdb.base/type-opaque.exp
9443 * gdb.base/unload.exp
9444 * gdb.base/until-nodebug.exp
9445 * gdb.base/until.exp
9446 * gdb.base/unwindonsignal.exp
9447 * gdb.base/watch-cond.exp
9448 * gdb.base/watch-non-mem.exp
9449 * gdb.base/watch_thread_num.exp
9450 * gdb.base/watchpoint-reuse-slot.exp
9451 * gdb.base/watchpoint-solib.exp
9452 * gdb.base/watchpoint.exp
9453 * gdb.btrace/dlopen.exp
9454 * gdb.cell/arch.exp
9455 * gdb.cell/break.exp
9456 * gdb.cell/bt.exp
9457 * gdb.cell/core.exp
9458 * gdb.cell/data.exp
9459 * gdb.cell/dwarfaddr.exp
9460 * gdb.cell/ea-cache.exp
9461 * gdb.cell/ea-standalone.exp
9462 * gdb.cell/ea-test.exp
9463 * gdb.cell/f-regs.exp
9464 * gdb.cell/fork.exp
9465 * gdb.cell/gcore.exp
9466 * gdb.cell/mem-access.exp
9467 * gdb.cell/ptype.exp
9468 * gdb.cell/registers.exp
9469 * gdb.cell/sizeof.exp
9470 * gdb.cell/solib-symbol.exp
9471 * gdb.cell/solib.exp
9472 * gdb.compile/compile-tls.exp
9473 * gdb.cp/exception.exp
9474 * gdb.cp/gdb2495.exp
9475 * gdb.cp/local.exp
9476 * gdb.cp/mb-inline.exp
9477 * gdb.cp/mb-templates.exp
9478 * gdb.cp/pr10687.exp
9479 * gdb.cp/pr9167.exp
9480 * gdb.cp/scope-err.exp
9481 * gdb.cp/templates.exp
9482 * gdb.cp/virtfunc.exp
9483 * gdb.dwarf2/dw2-dir-file-name.exp
9484 * gdb.dwarf2/dw2-single-line-discriminators.exp
9485 * gdb.fortran/complex.exp
9486 * gdb.fortran/library-module.exp
9487 * gdb.guile/guile.exp
9488 * gdb.guile/scm-cmd.exp
9489 * gdb.guile/scm-frame-inline.exp
9490 * gdb.guile/scm-objfile.exp
9491 * gdb.guile/scm-pretty-print.exp
9492 * gdb.guile/scm-symbol.exp
9493 * gdb.guile/scm-type.exp
9494 * gdb.guile/scm-value.exp
9495 * gdb.linespec/keywords.exp
9496 * gdb.linespec/ls-errs.exp
9497 * gdb.linespec/macro-relative.exp
9498 * gdb.linespec/thread.exp
9499 * gdb.mi/mi-breakpoint-changed.exp
9500 * gdb.mi/mi-dprintf-pending.exp
9501 * gdb.mi/mi-fullname-deleted.exp
9502 * gdb.mi/mi-logging.exp
9503 * gdb.mi/mi-pending.exp
9504 * gdb.mi/mi-solib.exp
9505 * gdb.mi/new-ui-mi-sync.exp
9506 * gdb.mi/user-selected-context-sync.exp
9507 * gdb.multi/dummy-frame-restore.exp
9508 * gdb.multi/multi-arch-exec.exp
9509 * gdb.multi/remove-inferiors.exp
9510 * gdb.multi/watchpoint-multi-exit.exp
9511 * gdb.opt/solib-intra-step.exp
9512 * gdb.perf/backtrace.exp
9513 * gdb.perf/single-step.exp
9514 * gdb.perf/skip-command.exp
9515 * gdb.perf/skip-prologue.exp
9516 * gdb.perf/solib.exp
9517 * gdb.python/lib-types.exp
9518 * gdb.python/py-as-string.exp
9519 * gdb.python/py-bad-printers.exp
9520 * gdb.python/py-block.exp
9521 * gdb.python/py-breakpoint.exp
9522 * gdb.python/py-cmd.exp
9523 * gdb.python/py-events.exp
9524 * gdb.python/py-evthreads.exp
9525 * gdb.python/py-finish-breakpoint.exp
9526 * gdb.python/py-finish-breakpoint2.exp
9527 * gdb.python/py-frame-inline.exp
9528 * gdb.python/py-frame.exp
9529 * gdb.python/py-inferior.exp
9530 * gdb.python/py-infthread.exp
9531 * gdb.python/py-mi.exp
9532 * gdb.python/py-objfile.exp
9533 * gdb.python/py-pp-maint.exp
9534 * gdb.python/py-pp-registration.exp
9535 * gdb.python/py-prettyprint.exp
9536 * gdb.python/py-recurse-unwind.exp
9537 * gdb.python/py-shared.exp
9538 * gdb.python/py-symbol.exp
9539 * gdb.python/py-symtab.exp
9540 * gdb.python/py-template.exp
9541 * gdb.python/py-type.exp
9542 * gdb.python/py-unwind-maint.exp
9543 * gdb.python/py-unwind.exp
9544 * gdb.python/py-value.exp
9545 * gdb.python/python.exp
9546 * gdb.reverse/finish-reverse-bkpt.exp
9547 * gdb.reverse/insn-reverse.exp
9548 * gdb.reverse/next-reverse-bkpt-over-sr.exp
9549 * gdb.reverse/solib-precsave.exp
9550 * gdb.reverse/solib-reverse.exp
9551 * gdb.stabs/gdb11479.exp
9552 * gdb.stabs/weird.exp
9553 * gdb.threads/fork-child-threads.exp
9554 * gdb.threads/fork-plus-threads.exp
9555 * gdb.threads/fork-thread-pending.exp
9556 * gdb.threads/forking-threads-plus-breakpoint.exp
9557 * gdb.threads/hand-call-in-threads.exp
9558 * gdb.threads/interrupted-hand-call.exp
9559 * gdb.threads/linux-dp.exp
9560 * gdb.threads/local-watch-wrong-thread.exp
9561 * gdb.threads/next-while-other-thread-longjmps.exp
9562 * gdb.threads/non-ldr-exit.exp
9563 * gdb.threads/pending-step.exp
9564 * gdb.threads/print-threads.exp
9565 * gdb.threads/process-dies-while-detaching.exp
9566 * gdb.threads/process-dies-while-handling-bp.exp
9567 * gdb.threads/pthreads.exp
9568 * gdb.threads/queue-signal.exp
9569 * gdb.threads/reconnect-signal.exp
9570 * gdb.threads/signal-command-handle-nopass.exp
9571 * gdb.threads/signal-command-multiple-signals-pending.exp
9572 * gdb.threads/signal-delivered-right-thread.exp
9573 * gdb.threads/signal-sigtrap.exp
9574 * gdb.threads/sigthread.exp
9575 * gdb.threads/staticthreads.exp
9576 * gdb.threads/stepi-random-signal.exp
9577 * gdb.threads/thread-unwindonsignal.exp
9578 * gdb.threads/thread_check.exp
9579 * gdb.threads/thread_events.exp
9580 * gdb.threads/tid-reuse.exp
9581 * gdb.threads/tls-nodebug.exp
9582 * gdb.threads/tls-shared.exp
9583 * gdb.threads/tls-so_extern.exp
9584 * gdb.threads/tls.exp
9585 * gdb.threads/wp-replication.exp
9586 * gdb.trace/actions-changed.exp
9587 * gdb.trace/actions.exp
9588 * gdb.trace/backtrace.exp
9589 * gdb.trace/change-loc.exp
9590 * gdb.trace/collection.exp
9591 * gdb.trace/deltrace.exp
9592 * gdb.trace/disconnected-tracing.exp
9593 * gdb.trace/entry-values.exp
9594 * gdb.trace/ftrace-lock.exp
9595 * gdb.trace/ftrace.exp
9596 * gdb.trace/infotrace.exp
9597 * gdb.trace/mi-trace-frame-collected.exp
9598 * gdb.trace/mi-trace-unavailable.exp
9599 * gdb.trace/mi-traceframe-changed.exp
9600 * gdb.trace/mi-tracepoint-changed.exp
9601 * gdb.trace/mi-tsv-changed.exp
9602 * gdb.trace/no-attach-trace.exp
9603 * gdb.trace/packetlen.exp
9604 * gdb.trace/passc-dyn.exp
9605 * gdb.trace/passcount.exp
9606 * gdb.trace/pending.exp
9607 * gdb.trace/pr16508.exp
9608 * gdb.trace/qtro.exp
9609 * gdb.trace/range-stepping.exp
9610 * gdb.trace/read-memory.exp
9611 * gdb.trace/report.exp
9612 * gdb.trace/save-trace.exp
9613 * gdb.trace/signal.exp
9614 * gdb.trace/stap-trace.exp
9615 * gdb.trace/status-stop.exp
9616 * gdb.trace/strace.exp
9617 * gdb.trace/tfile.exp
9618 * gdb.trace/tfind.exp
9619 * gdb.trace/trace-break.exp
9620 * gdb.trace/trace-condition.exp
9621 * gdb.trace/trace-enable-disable.exp
9622 * gdb.trace/trace-mt.exp
9623 * gdb.trace/tracecmd.exp
9624 * gdb.trace/tracefile-pseudo-reg.exp
9625 * gdb.trace/tspeed.exp
9626 * gdb.trace/tstatus.exp
9627 * gdb.trace/tsv.exp
9628 * gdb.trace/unavailable.exp
9629 * gdb.trace/while-dyn.exp
9630 * gdb.trace/while-stepping.exp
9631 * lib/gdb-guile.exp
9632 * lib/gdb.exp
9633 * lib/mi-support.exp
9634 * lib/pascal.exp
9635 * lib/perftest.exp
9636 * lib/prelink-support.exp
9637 * lib/selftest-support.exp
9638
9639 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
9640
9641 * Makefile.in: Include disable-implicit-rules.mk.
9642
9643 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9644
9645 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
9646 non-byte-aligned bit fields.
9647
9648 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9649
9650 PR gdb/12616
9651 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
9652 respects the DW_AT_data_bit_offset attribute.
9653
9654 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
9655
9656 * gdb.base/default.exp: Fix output of "set language".
9657
9658 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
9659
9660 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
9661 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
9662 make.
9663 * configure.ac: Remove checks for the make program.
9664 * configure: Re-generate.
9665
9666 2016-11-16 Kevin Buettner <kevinb@redhat.com>
9667
9668 * gdb.python/py-recurse-unwind.c (main): Add loop.
9669 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
9670 to read_register() and gdb.parse_and_eval(). Make each code
9671 call a separate case that can be individually tested.
9672 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
9673 proc. Call cont_and_backtrace for each of the code paths that
9674 we want to test in the unwinder.
9675
9676 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
9677
9678 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
9679 the definition of struct S.
9680
9681 2016-11-11 Catherine Moore <clm@codesourcery.com>
9682
9683 * gdb.base/dump.exp: Identify verilog format dump tests as such.
9684
9685 2016-11-09 Pedro Alves <palves@redhat.com>
9686
9687 * gdb.base/commands.exp (runto_or_return): New procedure.
9688 (gdbvar_simple_if_test, gdbvar_simple_while_test)
9689 (gdbvar_complex_if_while_test, progvar_simple_if_test)
9690 (progvar_simple_while_test, progvar_complex_if_while_test)
9691 (if_while_breakpoint_command_test)
9692 (infrun_breakpoint_command_test, breakpoint_command_test)
9693 (user_defined_command_test, watchpoint_command_test)
9694 (test_command_prompt_position, redefine_hook_test)
9695 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
9696 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
9697 multi_line_input and multi_line. Remove gdb_expect and
9698 gdb_stop_suppressing_tests uses.
9699 * lib/gdb.exp (valnum_re): New global.
9700 (multi_line_input): New procedure.
9701
9702 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
9703
9704 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
9705 Remove.
9706 (test_setup): Define with proc_with_prefix.
9707 (test_cli_inferior): Likewise.
9708 (test_cli_thread): Likewise.
9709 (test_cli_frame): Likewise.
9710 (test_cli_select_frame): Likewise.
9711 (test_cli_up_down): Likewise.
9712 (test_mi_thread_select): Likewise.
9713 (test_mi_stack_select_frame): Likewise.
9714 (test_cli_in_mi_inferior): Likewise.
9715 (test_cli_in_mi_thread): Likewise.
9716 (test_cli_in_mi_frame): Likewise.
9717 (top level): Do not use with_test_prefix_procname.
9718
9719 2016-11-09 Pedro Alves <palves@redhat.com>
9720
9721 * gdb.base/commands.exp (gdbvar_simple_if_test)
9722 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
9723 (progvar_simple_if_test, progvar_simple_while_test)
9724 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
9725 (infrun_breakpoint_command_test, breakpoint_command_test)
9726 (user_defined_command_test, watchpoint_command_test)
9727 (test_command_prompt_position, deprecated_command_test)
9728 (bp_deleted_in_command, temporary_breakpoint_commands)
9729 (stray_arg0_test, source_file_with_indented_comment)
9730 (recursive_source_test, if_commands_test)
9731 (error_clears_commands_left, redefine_hook_test)
9732 (redefine_backtrace_test): Use proc_with_prefix.
9733 * lib/gdb.exp (proc_with_prefix): New proc.
9734
9735 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
9736
9737 * gdb.base/tui-layout.c: New file.
9738 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
9739 disassembly window contains very long lines.
9740
9741 2016-11-08 Tom Tromey <tom@tromey.com>
9742
9743 * gdb.python/py-value.exp (test_value_creation): Make "long" test
9744 depend on Python 2.
9745
9746 2016-11-08 Tom Tromey <tom@tromey.com>
9747
9748 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
9749 New method.
9750
9751 2016-10-29 Manish Goregaokar <manish@mozilla.com>
9752
9753 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
9754
9755 2016-10-27 Manish Goregaokar <manish@mozilla.com>
9756
9757 * gdb.rust/simple.rs: Add test for univariant enums without
9758 discriminants and for encoded struct-like enums.
9759
9760 2016-10-28 Pedro Alves <palves@redhat.com>
9761
9762 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
9763 gdb_test_multiple, tighten regexps and match symtabs and line
9764 tables incrementally.
9765
9766 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
9767
9768 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
9769 general.
9770
9771 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
9772
9773 * gdb.base/exec-invalid-sysroot.exp: New file.
9774
9775 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9776
9777 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
9778
9779 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9780
9781 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
9782
9783 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
9784
9785 * gdb.base/killed-outside.exp: Remove $options from a call to
9786 `prepare_for_testing'.
9787
9788 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9789
9790 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
9791 Change test message.
9792
9793 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9794
9795 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
9796 Update comment.
9797
9798 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9799
9800 * gdb.trace/mi-trace-save.exp: New file.
9801
9802 2016-10-13 Yao Qi <yao.qi@linaro.org>
9803
9804 * gdb.base/code_elim.exp (get_var_address): Remove.
9805 * gdb.base/relocate.exp: Likewise.
9806 * gdb.base/shreloc.exp: Likewise.
9807 * lib/gdb.exp (get_var_address): New.
9808
9809 2016-10-13 Yao Qi <yao.qi@linaro.org>
9810
9811 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
9812 floating point tests if $skip_float_test is false.
9813
9814 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
9815
9816 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
9817 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
9818 argc values.
9819 Add 1 to argc so we guarantee distinct initial/modified argc values.
9820
9821 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9822
9823 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
9824
9825 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9826
9827 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
9828 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
9829 * gdb.arch/vsx-regs.exp: Likewise.
9830
9831 2016-10-07 Yao Qi <yao.qi@linaro.org>
9832
9833 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
9834
9835 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
9836
9837 * gdb.python/python.exp: Test decode_line("*0").
9838
9839 2016-10-06 Doug Evans <dje@google.com>
9840
9841 * gdb.python/py-value.exp (test_value_creation): Add test for large
9842 unsigned 64-bit value.
9843
9844 2016-10-06 Tom Tromey <tom@tromey.com>
9845
9846 * gdb.compile/compile.exp: Change java tests to rust.
9847 * gdb.base/setshow.exp: Change java tests to rust.
9848 * gdb.base/default.exp: Remove java from language list.
9849 * README (Examples): Update language example.
9850 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
9851 test.
9852 * lib/gdb.exp (skip_java_tests): Remove.
9853 * lib/java.exp: Remove.
9854 * gdb.java: Remove.
9855
9856 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
9857
9858 * gdb.arch/mips-fcr.exp: New test.
9859 * gdb.arch/mips-fcr.c: Source for the new test.
9860
9861 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
9862
9863 * gdb.base/solib-disc.exp: Use `standard_output_file'
9864 throughout.
9865
9866 2016-10-06 Pedro Alves <palves@redhat.com>
9867
9868 * gdb.base/jit-simple-dl.c: New file.
9869 * gdb.base/jit-simple-jit.c: New file, factored out from ...
9870 * gdb.base/jit-simple.c: ... this.
9871 * gdb.base/jit-simple.exp (jit_run): Delete.
9872 (build_jit): New proc.
9873 (jit_test_reread): Recompile either the main program or the shared
9874 library, depending on what is being tested. Skip changing address
9875 if caller wants to. Compare before/after addresses. If testing
9876 standalone, explicitly load the binary. Test "maint info
9877 breakpoints".
9878 (top level): Add "standalone vs shared lib" and "change address"
9879 vs "same address" axes.
9880
9881 2016-10-06 Pedro Alves <palves@redhat.com>
9882
9883 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
9884 call.
9885 (jit_run): Delete.
9886 (jit_test_reread): Use with_test_prefix. Reload the main binary
9887 explicitly. Compare the before/after addresses of the JIT
9888 descriptor.
9889
9890 2016-08-15 Doug Evans <dje@google.com>
9891
9892 * gdb.xml/extra-regs.xml: Update, end field now required, default type
9893 for single bitfields is bool.
9894 * gdb.xml/tdesc-regs.exp: Ditto.
9895
9896 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9897
9898 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
9899
9900 2016-10-05 Yao Qi <yao.qi@linaro.org>
9901
9902 * lib/gdb.exp (support_complex_tests): Return zero if
9903 gdb_skip_float_test return true.
9904
9905 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
9906 Simon Marchi <simon.marchi@ericsson.com>
9907
9908 PR gdb/20487
9909 * gdb.mi/user-selected-context-sync.exp: New file.
9910 * gdb.mi/user-selected-context-sync.c: New file.
9911
9912 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
9913 Simon Marchi <simon.marchi@ericsson.com>
9914
9915 PR gdb/20487
9916 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
9917 =thread-select-event check.
9918
9919 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
9920
9921 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
9922 the compulsory L operand changes.
9923 * gdb.arch/powerpc-power.s: Likewise.
9924
9925 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9926
9927 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
9928 * gdb.base/jit-attach-pie.c: New file.
9929 * gdb.base/jit-attach-pie.exp: New file.
9930
9931 2016-09-28 Pedro Alves <palves@redhat.com>
9932
9933 * gdb.base/infcall-input.c: New file.
9934 * gdb.base/infcall-input.exp: New file.
9935
9936 2016-09-22 Yao Qi <yao.qi@linaro.org>
9937
9938 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
9939 (gdb_exit): Rename it to ...
9940 (gdbserver_gdb_exit): ... Close GDBserver.
9941 (gdb_exit): New proc, call gdbserver_gdb_exit.
9942 (mi_gdb_exit): Likewise.
9943
9944 2016-09-22 Yao Qi <yao.qi@linaro.org>
9945
9946 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
9947 path.
9948 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
9949 Remove duplication.
9950
9951 2016-09-22 Yao Qi <yao.qi@linaro.org>
9952
9953 * lib/gdbserver-support.exp: Check the existence of
9954 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
9955
9956 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
9957
9958 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
9959
9960 2016-09-21 Tom Tromey <tom@tromey.com>
9961
9962 PR gdb/20604:
9963 * gdb.base/quit.exp: New file.
9964
9965 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
9966
9967 * .gitignore: New file.
9968
9969 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
9970
9971 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
9972 throughout.
9973
9974 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9975
9976 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
9977
9978 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9979
9980 * gdb.cp/casts.cc (decltype): Move it ...
9981 (main): ... with its call to ...
9982 * gdb.cp/casts03.cc: ... a new file.
9983 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
9984
9985 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9986
9987 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
9988
9989 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
9990
9991 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
9992 and sync up the test with tests in gas/testsuite/gas/ppc.
9993 * gdb.arch/powerpc-power.exp: Likewise.
9994
9995 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9996
9997 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
9998
9999 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
10000 Jan Kratochvil <jan.kratochvil@redhat.com>
10001
10002 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
10003 make m1's definition to be different from m2's. Use 'dummy' as an
10004 argument for probe 'two'.
10005
10006 2016-09-10 Jon Beniston <jon@beniston.com>
10007
10008 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
10009 for sim target.
10010
10011 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
10012
10013 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
10014 variable declaration.
10015 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
10016 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
10017 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
10018 received HWCAP as its argument.
10019
10020 2016-09-06 Pedro Alves <palves@redhat.com>
10021
10022 * gdb.base/new-ui-pending-input.c: New file.
10023 * gdb.base/new-ui-pending-input.exp: New file.
10024 * gdb.exp (clear_gdb_spawn_id): New procedure.
10025 (with_spawn_id): Check whether gdb_spawn_id exists before
10026 referencing it. If gdb_spawn_id didn't exist on entry, clear it
10027 on exit.
10028
10029 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
10030
10031 * gdb.base/float128.c: New file.
10032 * gdb.base/float128.exp: Likewise.
10033 * gdb.base/floatn.c: Likewise.
10034 * gdb.base/floatn.exp: Likewise.
10035
10036 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
10037
10038 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
10039
10040 2016-09-05 Pedro Alves <palves@redhat.com>
10041
10042 PR backtrace/19927
10043 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
10044 unwinders are immediately called as side effect of "source" or
10045 "disable unwinder" commands.
10046 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
10047
10048 2016-09-02 Yao Qi <yao.qi@linaro.org>
10049
10050 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
10051 is true and $type is "float" or "double".
10052
10053 2016-09-02 Yao Qi <yao.qi@linaro.org>
10054
10055 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
10056 true.
10057 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
10058 * gdb.base/call-rt-st.exp: Likewise.
10059 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
10060 return value instead of gdb,skip_float_test.
10061 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
10062 (do_function_calls): Use its return value instead of
10063 gdb,skip_float_test.
10064 * gdb.base/finish.exp: Likewise.
10065 * gdb.base/funcargs.exp: Likewise.
10066 * gdb.base/return.exp: Likewise.
10067 * gdb.base/return2.exp: Likewise.
10068 * gdb.base/varargs.exp: Likewise.
10069 * lib/gdb.exp (gdb_skip_float_test): Change it to
10070 gdb_caching_proc. Detect the broken ptrace on arm-linux.
10071
10072 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
10073
10074 * gdb.multi/tids.exp: Test "thread apply all".
10075
10076 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10077
10078 * gdb.base/default.exp (tty): Remove.
10079
10080 2016-08-24 Kevin Buettner <kevinb@redhat.com>
10081
10082 * gdb.python/py-recurse-unwind.c: New file.
10083 * gdb.python/py-recurse-unwind.py: New file.
10084 * gdb.python/py-recurse-unwind.exp: New file.
10085
10086 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
10087
10088 * gdb.base/set-inferior-tty.exp: New file.
10089 * gdb.base/set-inferior-tty.c: New file.
10090
10091 2016-08-23 Pedro Alves <palves@redhat.com>
10092
10093 PR gdb/20494
10094 * gdb.base/new-ui-echo.c: New file.
10095 * gdb.base/new-ui-echo.exp: New file.
10096
10097 2016-08-23 Yao Qi <yao.qi@linaro.org>
10098
10099 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
10100 gdbserver_spawn.
10101 * gdb.server/connect-without-multi-process.exp (do_test):
10102 Likewise.
10103
10104 2016-08-23 Yao Qi <yao.qi@linaro.org>
10105
10106 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
10107 standalone_txt. Delete gdb_txt and standalone_txt on host
10108 and target. Spawn the binary on target. Copy files from
10109 target to host.
10110
10111 2016-08-22 Pedro Alves <palves@redhat.com>
10112
10113 PR gdb/20505
10114 * gdb.base/vdso-warning.exp: Test core dumps too. Use
10115 with_test_prefix. Factor out bits to ...
10116 (test_no_vdso): ... this new procedure.
10117
10118 2016-08-19 Carl Love <cel@us.ibm.com>
10119
10120 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
10121 maintaining separate logic for constructing the output path.
10122 * gdb.arch/powerpc-d128-regs.exp: Likewise.
10123 * gdb.arch/ppc-dfp.exp: Likewise.
10124 * gdb.arch/ppc-fp.exp: Likewise.
10125 * gdb.arch/vsx-regs.exp: Likewise.
10126 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
10127 binprefix for generating the additional binary files.
10128
10129 2016-08-19 Pedro Alves <palves@redhat.com>
10130
10131 * gdb.trace/mi-trace-frame-collected.exp
10132 (test_trace_frame_collected): On x32, expect two registers.
10133
10134 2016-08-18 Carl Love <cel@us.ibm.com>
10135
10136 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
10137 and sync up the test with tests in gas/testsuite/gas/ppc.
10138 * gdb.arch/powerpc-power.exp: Likewise.
10139
10140 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
10141
10142 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
10143 expected error message.
10144
10145 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
10146
10147 * gdb.multi/remove-inferiors.exp: New file.
10148 * gdb.multi/remove-inferiors.c: New file.
10149
10150 2016-08-12 Yao Qi <yao.qi@linaro.org>
10151
10152 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
10153 argument list.
10154
10155 2016-08-10 Pedro Alves <palves@redhat.com>
10156
10157 PR gdb/19187
10158 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
10159 setup_kfails.
10160
10161 2016-08-09 Pedro Alves <palves@redhat.com>
10162 Simon Marchi <simon.marchi@ericsson.com>
10163
10164 PR gdb/20418
10165 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
10166 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
10167
10168 2016-08-09 Pedro Alves <palves@redhat.com>
10169
10170 PR mi/20431
10171 * gdb.mi/mi-cmd-error.exp: New file.
10172
10173 2016-08-09 Pedro Alves <palves@redhat.com>
10174
10175 PR gdb/18653
10176 * gdb.base/signals-state-child.c: New file.
10177 * gdb.base/signals-state-child.exp: New file.
10178 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
10179
10180 2016-08-09 Pedro Alves <palves@redhat.com>
10181
10182 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
10183
10184 2016-08-03 Tom Tromey <tom@tromey.com>
10185
10186 PR python/18565:
10187 * gdb.python/py-frame-inline.exp: Add Frame.function test.
10188
10189 2016-08-01 Yao Qi <yao.qi@linaro.org>
10190
10191 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
10192 variable mode to "multi-process" if $multi_process is 1, otherwise
10193 set it to "single-process".
10194
10195 2016-08-01 Yao Qi <yao.qi@linaro.org>
10196
10197 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
10198 * gdb.cp/cpexprs.exp: Likewise.
10199 * gdb.cp/m-static.exp: Likewise.
10200
10201 2016-07-26 Tom Tromey <tom@tromey.com>
10202
10203 PR python/20190:
10204 * gdb.threads/tls.exp (check_thread_local): Add python symbol
10205 test.
10206
10207 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
10208
10209 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
10210 selecting assembly source files.
10211 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
10212 assembly source files.
10213 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
10214 assembly source files.
10215 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
10216 selecting assembly source files.
10217
10218 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
10219
10220 * gdb.base/new-ui.exp (do_test_invalid_args): New
10221 procedure.
10222
10223 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
10224
10225 * gdb.btrace/reconnect.c: New file.
10226 * gdb.btrace/reconnect.exp: New file.
10227
10228 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
10229
10230 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
10231 to test_catch_syscall_group.
10232 (test_catch_syscall_group): New.
10233
10234 2016-07-21 Tom Tromey <tom@tromey.com>
10235
10236 * gdb.rust/simple.rs (main): Use empty struct expression.
10237 * gdb.rust/simple.exp: Add tests for empty struct expression.
10238
10239 2016-07-21 Yao Qi <yao.qi@linaro.org>
10240
10241 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
10242 if gdb_skip_xml_test is true on some targets.
10243
10244 2016-07-21 Yao Qi <yao.qi@linaro.org>
10245
10246 * gdb.server/solib-list.exp: Unset last_loaded_file.
10247
10248 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10249
10250 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
10251 "step into captured_main (args)".
10252
10253 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10254
10255 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
10256
10257 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10258
10259 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
10260
10261 2016-07-19 Pedro Alves <palves@redhat.com>
10262
10263 * gdb.opt/inline-break.exp: Remove optimize=-O2.
10264 * gdb.opt/inline-bt.exp: Likewise.
10265 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
10266 additional_flags=-Winline.
10267 * gdb.opt/inline-locals.exp: Likewise.
10268 * gdb.opt/inline-markers.c (ATTR): Define.
10269 (inlined_fn): Use it.
10270
10271 2016-07-19 Yao Qi <yao.qi@linaro.org>
10272
10273 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
10274 (test_with_self): Remove some code. Remove argument executable.
10275 (top-level): Use do_self_tests.
10276
10277 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
10278 Don Breazeal <donb@codesourcery.com>
10279
10280 * gdb.base/maint.exp: Escape paths used in regular expressions.
10281 * gdb.stabs/weird.exp: Likewise.
10282
10283 2016-07-13 Tom Tromey <tom@tromey.com>
10284
10285 PR python/15620, PR python/18620:
10286 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
10287 (test_bkpt_events): New procs.
10288
10289 2016-07-13 Tom Tromey <tom@tromey.com>
10290
10291 PR python/17698:
10292 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
10293 test.
10294 (test_watchpoints): Likewise.
10295 (test_bkpt_pending): New proc.
10296
10297 2016-07-13 Tom Tromey <tom@tromey.com>
10298
10299 PR cli/18053:
10300 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
10301 completion test.
10302
10303 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10304
10305 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
10306 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
10307 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
10308 f_label.
10309 (g): Rename g_end_lbl to g_label.
10310 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
10311 low_pc and high_pc.
10312 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
10313
10314 2016-07-12 Tom Tromey <tom@tromey.com>
10315
10316 PR python/19293:
10317 * gdb.python/py-unwind-maint.exp: Update tests.
10318
10319 2016-07-12 Yao Qi <yao.qi@linaro.org>
10320
10321 * lib/selftest-support.exp (selftest_setup): Match the output
10322 when captured_main is inlined.
10323
10324 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
10325
10326 * gdb.fortran/derived-types.exp (result_line, result_line_2):
10327 New variables.
10328 (print this%a, print this%b, print this): New tests.
10329 * gdb.fortran/derived-types.f90 (this): New object and
10330 initialization.
10331
10332 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
10333
10334 * gdb.ada/arraydim.exp: Remove extra directory level in build
10335 directory.
10336
10337 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
10338
10339 * lib/ada.exp: Remove extra directory level in build directory.
10340 * gdb.ada/cond_lang.exp: Likewise.
10341 * gdb.ada/exec_changed.exp: Likewise.
10342 * gdb.ada/lang_switch.exp: Likewise.
10343
10344 2016-07-06 Manish Goregaokar <manish@mozilla.com>
10345
10346 * simple.rs: Add test for raw pointer subscripting.
10347 * simple.exp: Add test expectations.
10348
10349 2016-07-05 Yao Qi <yao.qi@linaro.org>
10350
10351 * gdb.mi/mi-reverse.exp: Match =record-started output.
10352
10353 2016-07-01 Pedro Alves <palves@redhat.com>
10354
10355 * gdb.base/jit-reader.exp (info_registers_current_frame): New
10356 procedure.
10357 (jit_reader_test): Test the jit reader's unwinder.
10358 * gdb.base/jithost.c (jit_function_00_code): New global.
10359 (main): Use memcpy to fill in the mmapped code, instead of poking
10360 bytes manually here.
10361 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
10362 value.
10363 (read_debug_info): Save the function's range.
10364 (read_sp): New function.
10365 (unwind_frame): Use it. Also unwind RBP.
10366 (get_frame_id): Use read_sp.
10367 (gdb_init_reader): Use calloc instead of malloc.
10368 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
10369 parameter. Use gdb_test_multiple.
10370
10371 2016-07-01 Pedro Alves <palves@redhat.com>
10372 Antoine Tremblay <antoine.tremblay@ericsson.com>
10373
10374 * gdb.threads/process-dies-while-detaching.c: New file.
10375 * gdb.threads/process-dies-while-detaching.exp: New file.
10376
10377 2016-07-01 Pedro Alves <palves@redhat.com>
10378
10379 * gdb.multi/watchpoint-multi-exit.c: New file.
10380 * gdb.multi/watchpoint-multi-exit.exp: New file.
10381
10382 2016-06-30 Pedro Alves <palves@redhat.com>
10383
10384 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
10385 unset inferior_spawn_id.
10386
10387 2016-06-30 Pedro Alves <palves@redhat.com>
10388
10389 * lib/mi-support.exp (default_mi_gdb_start): Declare global
10390 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
10391
10392 2016-06-29 Yao Qi <yao.qi@linaro.org>
10393
10394 * gdb.base/return.c: Add copyright header.
10395
10396 2016-06-29 Tom Tromey <tom@tromey.com>
10397
10398 PR python/20129:
10399 * gdb.python/py-framefilter.exp: Add tests for setting priority
10400 and disabling of non-existent frame filter.
10401
10402 2016-06-29 Yao Qi <yao.qi@linaro.org>
10403
10404 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
10405 0x0f07ff.
10406
10407 2016-06-28 Yao Qi <yao.qi@linaro.org>
10408
10409 * gdb.base/catch-syscall.exp: Remove check on isnative and target
10410 triplets. Start gdb, execute catch syscall, and continue. Check
10411 gdb's output to determine catch syscall is supported.
10412
10413 2016-06-27 Manish Goregaokar <manish@mozilla.com>
10414
10415 * gdb.rust/simple.rs: Add test for returning unit in a function.
10416 * gdb.rust/simple.exp: Add expectation for functions returning
10417 unit.
10418
10419 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
10420
10421 * gdb.python/py-breakpoint-create-fail.c,
10422 gdb.python/py-breakpoint-create-fail.exp,
10423 gdb.python/py-breakpoint-create-fail.py: New testcase.
10424
10425 2016-06-25 Manish Goregaokar <manish@mozilla.com>
10426
10427 PR gdb/20239
10428 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
10429 * gdb.rust/simple.exp: Add test expectations for new NonZero
10430 tests.
10431
10432 2016-06-24 David Taylor <dtaylor@emc.com>
10433
10434 * gdb.base/offsets.exp: New file.
10435 * gdb.base/offsets.c: New file.
10436
10437 2016-06-23 Tom Tromey <tom@tromey.com>
10438
10439 PR gdb/16483:
10440 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
10441 before any filters are loaded.
10442
10443 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
10444
10445 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
10446 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
10447 structs.
10448 * gdb.fortran/derived-type-function.exp: New file.
10449 * gdb.fortran/derived-type-function.f90: New file.
10450
10451
10452 2016-06-21 Pedro Alves <palves@redhat.com>
10453
10454 * gdb.base/new-ui.exp: New file.
10455 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
10456 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
10457 (with_spawn_id): New procedure.
10458
10459 2016-06-21 Pedro Alves <palves@redhat.com>
10460
10461 * gdb.mi/mi-exec-run.exp: New file.
10462
10463 2016-06-21 Pedro Alves <palves@redhat.com>
10464
10465 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
10466 breakpoint command's output on the main UI.
10467 (test_break): New procedure, factored out from calls in the top
10468 level.
10469 (top level): Use foreach_with_prefix to test MI as main UI and as
10470 separate UI.
10471
10472 2016-06-21 Pedro Alves <palves@redhat.com>
10473
10474 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
10475 (test_awatch_creation_and_listing)
10476 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
10477 Remove 'type' parameter.
10478 (test_watchpoint_all): New parameter mi_mode. Remove
10479 with_test_prefix.
10480 (top level): Use foreach_with_prefix, and add main/separate UI MI
10481 testing axis.
10482
10483 2016-06-21 Pedro Alves <palves@redhat.com>
10484
10485 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
10486 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
10487 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
10488 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
10489 (gdb_main_spawn_id, mi_spawn_id): Declare and
10490 comment.
10491 (mi_create_inferior_pty): New procedure,
10492 factored out from default_mi_gdb_start.
10493 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
10494 procedures.
10495 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
10496 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
10497 Use mi_create_inferior_pty.
10498 (mi_gdb_start): Use eval to pass down args list.
10499
10500 2016-06-21 Pedro Alves <palves@redhat.com>
10501
10502 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
10503 * gdb.opt/inline-cmds.exp: Add MI tests.
10504
10505 2016-06-21 Pedro Alves <palves@redhat.com>
10506
10507 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
10508
10509 2016-06-21 Pedro Alves <palves@redhat.com>
10510
10511 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
10512 (top level): Use it instead of mi_execute_to.
10513
10514 2016-06-21 Pedro Alves <palves@redhat.com>
10515
10516 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
10517 (cont_handler_str): New.
10518 (signal_stop_handler): Set stop_handler_str instead of printing to
10519 stdout.
10520 (continue_handler): Set cont_handler_str instead of printing to
10521 stdout.
10522 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
10523 mi_send_resuming_command. Print stop_handler_str and
10524 cont_handler_str instead of expecting the python events print
10525 directly.
10526
10527 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
10528
10529 * gdb.base/jit-reader.exp: New file.
10530 * gdb.base/jithost.c: New file.
10531 * gdb.base/jithost.h: New file.
10532 * gdb.base/jitreader.c : New file.
10533 * gdb.base/jit-protocol.h: New file.
10534
10535 2016-06-17 Yao Qi <yao.qi@linaro.org>
10536
10537 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
10538 parameters follow_fork and detach_on_fork. Set follow-fork-mode
10539 and detach-on-fork. Adjust tests.
10540 (top level): Invoke break_cond_on_syscall with combinations of
10541 syscall, follow-fork-mode and detach-on-fork.
10542
10543 2016-06-17 Yao Qi <yao.qi@linaro.org>
10544
10545 * gdb.base/step-over-exit.c: New.
10546 * gdb.base/step-over-exit.exp: New.
10547
10548 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
10549
10550 * gdb.base/float.exp: Add target check for nds32*-*-*.
10551 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
10552
10553 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
10554
10555 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
10556 for unsupported target features.
10557 * gdb.base/call-rt-st.exp: Likewise.
10558 * gdb.base/call-sc.exp: Likewise.
10559 * gdb.base/call-signal-resume.exp: Likewise.
10560 * gdb.base/call-strs.exp: Likewise.
10561 * gdb.base/callexit.exp: Likewise.
10562 * gdb.base/callfuncs.exp: Likewise.
10563 * gdb.base/nodebug.exp: Likewise.
10564 * gdb.base/printcmds.exp: Likewise.
10565 * gdb.base/ptype.exp: Likewise.
10566 * gdb.base/structs.exp: Likewise.
10567 * gdb.base/unwindonsignal.exp: Likewise.
10568 * gdb.cp/gdb2495.exp: Likewise.
10569 * gdb.cp/templates.exp: Likewise.
10570 * gdb.cp/virtfunc.exp: Likewise.
10571 * gdb.threads/hand-call-in-threads.exp: Likewise.
10572 * gdb.threads/interrupted-hand-call.exp: Likewise.
10573 * gdb.threads/thread-unwindonsignal.exp: Likewise.
10574
10575 2016-06-10 Tom Tromey <tom@tromey.com>
10576
10577 PR rust/20110:
10578 * gdb.rust/expr.exp: Add test for integer constant larger than
10579 i32.
10580
10581 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
10582
10583 * gdb.fortran/nested-funcs.exp: New.
10584 * gdb.fortran/nested-funcs.f90: New.
10585
10586 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
10587
10588 * gdb.base/examine-backward.c: New file.
10589 * gdb.base/examine-backward.exp: New file.
10590
10591 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
10592
10593 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
10594 matching.
10595
10596 2016-06-02 Tom Tromey <tom@tromey.com>
10597
10598 PR python/18984:
10599 * gdb.python/py-shared.exp: Add solib_name test.
10600
10601 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
10602
10603 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
10604
10605 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
10606
10607 PR c++/19893
10608 * gdb.dwarf2/implref.exp: Rename to...
10609 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
10610 * gdb.dwarf2/implref-array.c: New file.
10611 * gdb.dwarf2/implref-array.exp: Likewise.
10612 * gdb.dwarf2/implref-global.c: Likewise.
10613 * gdb.dwarf2/implref-global.exp: Likewise.
10614 * gdb.dwarf2/implref-struct.c: Likewise.
10615 * gdb.dwarf2/implref-struct.exp: Likewise.
10616
10617 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10618
10619 * gdb.trace/trace-condition.exp: Add 64bit tests.
10620
10621 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10622
10623 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
10624 bits types.
10625 (main): Adapt to 8 to 64 bits types.
10626 * gdb.trace/trace-condition.exp: Add new tests.
10627
10628 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10629
10630 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
10631
10632 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10633
10634 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
10635 Move condition tests...
10636 * gdb.trace/trace-condition.exp: Here.
10637
10638 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10639
10640 * gdb.trace/trace-condition.exp: Add counter-case tests.
10641
10642 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10643
10644 PR c++/15231
10645 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
10646 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
10647
10648 2016-05-27 Pedro Alves <palves@redhat.com>
10649
10650 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
10651 New procedure.
10652 (top level): Call it, and bail out of DejaGnu is known to be bad.
10653
10654 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
10655
10656 * gdb.base/whatis.c: Extend the test case.
10657 * gdb.base/whatis.exp: Add additional tests.
10658
10659 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10660
10661 * gdb.fortran/type.f90: Add pointer variable.
10662 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
10663
10664 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10665
10666 * gdb.fortran/vla-type.exp: Fix testcase name.
10667
10668 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10669
10670 * gdb.fortran/vla-type.exp: Access elements in nested structs.
10671
10672 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10673
10674 * gdb.fortran/type.f90: Add nested structures.
10675 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
10676 * gdb.fortran/derived-type.exp: Adapt expected output.
10677 * gdb.fortran/vla-type.exp: Adapt expected output.
10678
10679 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10680
10681 * gdb.fortran/whatis_type.exp: Adapt expected output.
10682
10683 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10684
10685 * gdb.fortran/print_type.exp: Fix expected output.
10686 * gdb.fortran/whatis_type.exp: Fix expected output.
10687
10688 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10689
10690 * gdb.fortran/whatis_type.exp: Use multi_line.
10691
10692 2016-05-24 Tom Tromey <tom@tromey.com>
10693
10694 PR python/17386:
10695 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
10696 use value as an index.
10697
10698 2016-05-23 Tom Tromey <tom@tromey.com>
10699
10700 PR python/17981:
10701 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
10702 no-breakpoint case.
10703
10704 2016-05-24 Pedro Alves <palves@redhat.com>
10705
10706 PR gdb/19828
10707 * gdb.threads/clone-attach-detach.c: New file.
10708 * gdb.threads/clone-attach-detach.exp: New file.
10709
10710 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
10711
10712 * gdb.base/annota-input-while-running.exp: Fix syntax error.
10713
10714 2016-05-23 Tom Tromey <tom@tromey.com>
10715
10716 PR python/19438, PR python/18393:
10717 * gdb.python/py-progspace.exp: Add "dir" test.
10718 * gdb.python/py-objfile.exp: Add "dir" test.
10719
10720 2016-05-23 Yao Qi <yao.qi@linaro.org>
10721
10722 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
10723 * gdb.arch/thumb2-it.exp: Likewise.
10724
10725 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
10726
10727 * gdb.mi/mi-threads-interrupt.c: New file.
10728 * gdb.mi/mi-threads-interrupt.exp: New file.
10729
10730 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
10731
10732 PR gdb/18077
10733 * gdb.mi/mi-async-run.exp: New file.
10734 * gdb.mi/mi-async-run.c: New file.
10735
10736 2016-05-17 Tom Tromey <tom@tromey.com>
10737 Manish Goregaokar <manishsmail@gmail.com>
10738
10739 * lib/rust-support.exp: New file.
10740 * lib/gdb.exp (skip_rust_tests): New proc.
10741 (build_executable_from_specs): Handle rust.
10742 * lib/future.exp (gdb_find_rustc): New proc.
10743 (gdb_default_target_compile): Handle rust.
10744 * gdb.rust/expr.exp: New file.
10745 * gdb.rust/generics.exp: New file.
10746 * gdb.rust/generics.rs: New file.
10747 * gdb.rust/methods.exp: New file.
10748 * gdb.rust/methods.rs: New file.
10749 * gdb.rust/modules.exp: New file.
10750 * gdb.rust/modules.rs: New file.
10751 * gdb.rust/simple.exp: New file.
10752 * gdb.rust/simple.rs: New file.
10753
10754 2016-05-17 Tom Tromey <tom@tromey.com>
10755
10756 * gdb.base/default.exp (set language): Add rust.
10757
10758 2016-05-17 Tom Tromey <tom@tromey.com>
10759
10760 * gdb.gdb/unittest.exp: New file.
10761
10762 2016-05-16 Yao Qi <yao.qi@linaro.org>
10763
10764 * gdb.base/batch-preserve-term-settings.exp: Remove variable
10765 shell_prompt. Update shell_prompt_re.
10766
10767 2016-05-12 Doug Evans <dje@google.com>
10768
10769 PR symtab/19999
10770 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
10771 $options when building executable.
10772 * gdb.dwarf2/fission-loclists-pie.S: New file.
10773 * gdb.dwarf2/fission-loclists-pie.exp: New file.
10774
10775 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
10776
10777 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
10778 of [is_remote target],
10779
10780 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
10781
10782 * lib/gdb.exp (use_gdb_stub): New procedure.
10783
10784 2016-05-03 Yunlian Jiang <yunlian@google.com>
10785 Doug Evans <dje@google.com>
10786
10787 PR symtab/19914
10788 * gdb.dwarf2/dwp-sepdebug.c: New file.
10789 * gdb.dwarf2/dwp-sepdebug.exp: New file.
10790
10791 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
10792
10793 * gdb.base/detach.exp: Remove is_remote check.
10794
10795 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
10796
10797 * gdb.base/annota-input-while-running.exp: Don't check for
10798 [is_remote target]. Enable annotations after running to main.
10799 Remove unused "set test..." line.
10800
10801 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
10802
10803 * gdb.trace/trace-enable-disable.exp: New file.
10804 * gdb.trace/trace-enable-disable.c: New file.
10805
10806 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
10807
10808 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
10809 use it in info sharedlibrary test.
10810 * gdb.trace/ftrace-lock.exp: Likewise.
10811 * gdb.trace/ftrace.exp: Likewise.
10812 * gdb.trace/range-stepping.exp: Likewise.
10813 * gdb.trace/trace-break.exp: Likewise.
10814 * gdb.trace/trace-condition.exp: Likewise.
10815 * gdb.trace/trace-mt.exp: Likewise.
10816
10817 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
10818
10819 * lib/gdb.exp (gdb_load_shlibs): Rename to...
10820 (gdb_load_shlib): ... this.
10821 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
10822 gdb_load_shlib.
10823 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
10824 * gdb.base/ctxobj.exp: Likewise.
10825 * gdb.base/dprintf-pending.exp: Likewise.
10826 * gdb.base/dso2dso.exp: Likewise.
10827 * gdb.base/fixsection.exp: Likewise.
10828 * gdb.base/gcore-relro.exp: Likewise.
10829 * gdb.base/gdb1555.exp: Likewise.
10830 * gdb.base/global-var-nested-by-dso.exp: Likewise.
10831 * gdb.base/gnu-ifunc.exp: Likewise.
10832 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
10833 * gdb.base/jit-so.exp (one_jit_test): Likewise.
10834 * gdb.base/pending.exp: Likewise.
10835 * gdb.base/print-file-var.exp: Likewise.
10836 * gdb.base/print-symbol-loading.exp: Likewise.
10837 * gdb.base/shlib-call.exp: Likewise.
10838 * gdb.base/shreloc.exp: Likewise.
10839 * gdb.base/so-impl-ld.exp: Likewise.
10840 * gdb.base/solib-disc.exp: Likewise.
10841 * gdb.base/solib-nodir.exp: Likewise.
10842 * gdb.base/solib-overlap.exp: Likewise.
10843 * gdb.base/solib-symbol.exp: Likewise.
10844 * gdb.base/solib-weak.exp (do_test): Likewise.
10845 * gdb.base/sym-file.exp: Likewise.
10846 * gdb.base/symtab-search-order.exp: Likewise.
10847 * gdb.base/type-opaque.exp: Likewise.
10848 * gdb.base/unload.exp: Likewise.
10849 * gdb.base/watchpoint-solib.exp: Likewise.
10850 * gdb.compile/compile.exp: Likewise.
10851 * gdb.cp/gdb2384.exp: Likewise.
10852 * gdb.cp/infcall-dlopen.exp: Likewise.
10853 * gdb.cp/re-set-overloaded.exp: Likewise.
10854 * gdb.fortran/library-module.exp: Likewise.
10855 * gdb.opt/solib-intra-step.exp: Likewise.
10856 * gdb.python/py-finish-breakpoint.exp: Likewise.
10857 * gdb.python/py-shared.exp: Likewise.
10858 * gdb.reverse/solib-precsave.exp: Likewise.
10859 * gdb.reverse/solib-reverse.exp: Likewise.
10860 * gdb.server/solib-list.exp: Likewise.
10861 * gdb.threads/dlopen-libpthread.exp: Likewise.
10862 * gdb.threads/tls-shared.exp: Likewise.
10863 * gdb.threads/tls-so_extern.exp: Likewise.
10864 * gdb.trace/change-loc.exp: Likewise.
10865 * gdb.trace/ftrace-lock.exp: Likewise.
10866 * gdb.trace/ftrace.exp: Likewise.
10867 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
10868 * gdb.trace/pending.exp: Likewise.
10869 * gdb.trace/range-stepping.exp: Likewise.
10870 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
10871 (strace_info_marker): Likewise.
10872 (strace_probe_marker): Likewise.
10873 (strace_trace_on_same_addr): Likewise.
10874 (strace_trace_on_diff_addr): Likewise.
10875 * gdb.trace/trace-break.exp: Likewise.
10876 * gdb.trace/trace-condition.exp: Likewise.
10877 * gdb.trace/trace-mt.exp: Likewise.
10878
10879 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
10880
10881 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
10882 result of gdb_remote_download.
10883 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
10884 * gdb.base/dso2dso.exp: Likewise.
10885 * gdb.base/global-var-nested-by-dso.exp: Likewise.
10886 * gdb.base/print-file-var.exp: Likewise.
10887 * gdb.base/shlib-call.exp: Likewise.
10888 * gdb.base/shreloc.exp: Likewise.
10889 * gdb.base/solib-overlap.exp: Likewise.
10890 * gdb.base/solib-weak.exp (do_test): Likewise.
10891 * gdb.base/unload.exp: Likewise.
10892
10893 2016-04-27 Yao Qi <yao.qi@linaro.org>
10894
10895 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
10896 exists.
10897
10898 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10899
10900 * vla-type.exp: Print structure from toplevel.
10901
10902 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10903
10904 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
10905 of dynamic types.
10906 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
10907 of dynamic types.
10908
10909 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10910
10911 * gdb.fortran/vla-type.f90: New file.
10912 * gdb.fortran/vla-type.exp: New file.
10913
10914 2016-04-25 Yao Qi <yao.qi@linaro.org>
10915
10916 * gdb.base/branch-to-self.c: New file.
10917 * gdb.base/branch-to-self.exp: New file.
10918
10919 2016-04-22 Yao Qi <yao.qi@linaro.org>
10920
10921 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
10922 more after $hex.
10923
10924 2016-04-22 Yao Qi <yao.qi@linaro.org>
10925
10926 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
10927 * gdb.base/annota3.exp: Likewise.
10928
10929 2016-04-22 Yao Qi <yao.qi@linaro.org>
10930
10931 * gdb.reverse/step-precsave.exp: Do one step and test program
10932 stops in "callee" and do multiple steps until program goes out
10933 of "callee".
10934 * gdb.reverse/step-reverse.exp: Likewise.
10935
10936 2016-04-22 Yao Qi <yao.qi@linaro.org>
10937
10938 * gdb.trace/signal.exp: Also pass if
10939 $tracepoint_hits($i) > $iterations.
10940
10941 2016-04-22 Yao Qi <yao.qi@linaro.org>
10942
10943 * gdb.trace/signal.c: New file.
10944 * gdb.trace/signal.exp: New file.
10945
10946 2016-04-19 Doug Evans <xdje42@gmail.com>
10947
10948 * gdb.base/bad-file.exp: New file.
10949
10950 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
10951
10952 * gdb.dwarf2/implref.exp: New file.
10953
10954 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
10955
10956 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
10957 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
10958 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
10959 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
10960 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
10961 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
10962 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
10963 * lib/fortran.exp (fortran_int4): New procedure.
10964 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
10965 (fortran_logical4): Likewise.
10966
10967 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
10968
10969 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
10970
10971 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
10972
10973 * lib/compiler.c: Add Intel specific preprocessor macros.
10974 * lib/compiler.cc: Likewise.
10975
10976 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
10977
10978 * gdb.server/connect-with-no-symbol-file.c: New file.
10979 * gdb.server/connect-with-no-symbol-file.exp: New file.
10980
10981 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
10982
10983 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
10984
10985 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
10986
10987 * boards/gdbserver-base.exp (${board}_download): Copy source file to
10988 standard output directory.
10989
10990 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
10991
10992 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
10993
10994 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
10995
10996 * gdb.btrace/instruction_history.c (loop): Add declaration.
10997
10998 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
10999
11000 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
11001
11002 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
11003
11004 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
11005 parentheses to print.
11006 (continue_handler): Likewise.
11007
11008 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
11009
11010 * gdb.server/solib-list.exp: Remove is_remote check.
11011 Pass shlib= to gdb_compile. Don't link shared library with
11012 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
11013 Run binary filename through "readlink -f" on the target.
11014
11015 2016-04-08 Pedro Alves <palves@redhat.com>
11016
11017 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
11018 interpreter filename as argument to gdbserver_spawn.
11019 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
11020 Return empty if $last_loaded_file does not exist.
11021
11022 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11023
11024 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
11025 * gdb.base/jit-main.c: Use exit after usage.
11026
11027 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11028
11029 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
11030 GDBHISTSIZE prior to the tests.
11031 * gdb.base/gdbinit-history.exp: Likewise.
11032
11033 2016-04-07 Pedro Alves <palves@redhat.com>
11034
11035 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
11036 instead of build_executable. Use gdb_load_shlibs.
11037
11038 2016-04-07 Yao Qi <yao.qi@linaro.org>
11039
11040 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
11041 Execute "si" command.
11042
11043 2016-04-07 Yao Qi <yao.qi@linaro.org>
11044
11045 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
11046 number instead of the comments on some line.
11047
11048 2016-04-06 Don Breazeal <donb@codesourcery.com>
11049
11050 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
11051 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
11052
11053 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
11054
11055 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
11056 standard_output_file. Remove unused binfile variable.
11057
11058 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
11059
11060 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
11061 * gdb.python/py-mi-objfile.exp: Match "list main" output
11062 in console format.
11063
11064 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
11065
11066 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
11067 absolute.
11068
11069 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
11070
11071 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
11072 absolute.
11073 * gdb.trace/ftrace.exp: Likewise.
11074 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
11075 targets as well.
11076 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
11077 (gdb_load_shlibs): Copy libraries to test directory when testing
11078 natively. Only set solib-search-path if testing remotely.
11079 * lib/mi-support.exp (mi_load_shlibs): Likewise.
11080
11081 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
11082
11083 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
11084 gdb_download. Use it even if the target is not remote.
11085 * gdb.base/jit.exp (compile_jit_test): Likewise.
11086 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
11087 output directory if the destination board is local, otherwise use
11088 the standard remote_download from DejaGnu.
11089 (gdb_download): Remove.
11090 (gdb_load_shlibs): Use gdb_remote_download instead of
11091 gdb_download.
11092 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
11093 Use gdb_remote_download instead of gdb_download. Use it even if
11094 the target is not remote.
11095 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
11096 instead of gdb_download.
11097
11098 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
11099
11100 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
11101 (test_insert_delete_modify): Call mi_load_shlibs before trying to
11102 run.
11103
11104 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
11105
11106 PR gdb/19820
11107 * gdb.base/printcmds.exp: Add artificial arrays tests.
11108
11109 2016-03-31 Pedro Alves <palves@redhat.com>
11110
11111 PR gdb/19858
11112 * gdb.base/jit-main.c: Include unistd.h.
11113 (ATTACH): Define to 0 if not already defined.
11114 (wait_for_gdb, mypid): New globals.
11115 (WAIT_FOR_GDB): New macro.
11116 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
11117 some breakpoint locations.
11118 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
11119 New procedures.
11120 (one_jit_test): Add REATTACH parameter, and handle it. Use
11121 continue_to_test_location.
11122 (top level): Test attach, and adjusts calls to one_jit_test.
11123
11124 2016-03-31 Pedro Alves <palves@redhat.com>
11125
11126 PR gdb/19858
11127 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
11128 BINSUFFIX parameter, and handle it.
11129 (top level): Adjust calls compile_jit_test.
11130
11131 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
11132
11133 PR python/19743
11134 * gdb.python/py-mi-events-gdb.py: New file.
11135 * gdb.python/py-mi-events.c: New file.
11136 * gdb.python/py-mi-events.exp: New file.
11137
11138 2016-03-30 Yao Qi <yao.qi@linaro.org>
11139
11140 * gdb.reverse/until-precsave.exp: Match function name only.
11141 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
11142 Move malloc to a condition block.
11143 * gdb.reverse/until-reverse.exp: Match function name only.
11144
11145 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
11146
11147 * gdb.trace/ftrace.exp: Set arg0exp for s390.
11148 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
11149 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
11150 variable for GPR 0 instead of assuming it is register 0.
11151 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
11152 * lib/trace-support.exp: Add s390 registers.
11153
11154 2016-03-29 Yao Qi <yao.qi@linaro.org>
11155
11156 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
11157
11158 2016-03-24 Yao Qi <yao.qi@linaro.org>
11159
11160 * gdb.reverse/break-reverse.exp: Add quotation mark in the
11161 test message.
11162
11163 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11164
11165 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
11166 maintaining separate logic for constructing the output path.
11167
11168 2016-03-16 Don Breazeal <donb@codesourcery.com>
11169
11170 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
11171 Retry fork and waitpid on interrupted system call errors.
11172 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
11173 Use with_timeout_factor to increase timeout by factor of 10.
11174
11175 2016-03-15 Don Breazeal <donb@codesourcery.com>
11176
11177 * gdb.cp/scope-err.cc: New test program.
11178 * gdb.cp/scope-err.exp: New test script.
11179 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
11180 lines and "set breakpoint here" comment.
11181 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
11182 Fixed some whitespace and format issues.
11183 * gdb.mi/mi-linespec-err-cp.cc: New test program.
11184 * gdb.mi/mi-linespec-err-cp.exp: New test script.
11185
11186 2016-03-15 Doug Evans <dje@google.com>
11187
11188 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
11189 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
11190 All callers updated. Add tests for enums, mixed flags register.
11191
11192 2016-03-15 Doug Evans <dje@google.com>
11193
11194 * gdb.base/skip.c (main): Call test_skip_file_and_function.
11195 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
11196
11197 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
11198
11199 * gdb.base/default.exp: Add $_as_string to the list of expected
11200 convenience functions.
11201
11202 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
11203
11204 * gdb.base/maint.exp: New tests for 'maint info line-table'.
11205
11206 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
11207
11208 * gdb.python/py-as-string.exp: New file.
11209 * gdb.python/py-as-string.c: New file.
11210
11211 2016-03-09 Pedro Alves <palves@redhat.com>
11212
11213 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
11214 signal" -> "Thread NN received signal" output change.
11215 * gdb.threads/ia64-sigill.exp: Likewise.
11216 * gdb.threads/linux-dp.exp: Likewise.
11217 * gdb.threads/manythreads.exp: Likewise.
11218 * gdb.threads/pending-step.exp: Likewise.
11219 * gdb.threads/print-threads.exp: Likewise.
11220 * gdb.threads/sigstep-threads.exp: Likewise.
11221 * gdb.threads/staticthreads.exp: Likewise.
11222 * gdb.threads/tls.exp: Likewise.
11223
11224 2016-03-09 Pedro Alves <palves@redhat.com>
11225
11226 * gdb.base/command-line-input.exp: New file.
11227
11228 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11229
11230 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
11231 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
11232 * gdb.trace/pending.exp: Accept leading dot before function name.
11233 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
11234 * lib/trace-support.exp: Set registers for ppc.
11235
11236 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11237
11238 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
11239 use it for disassembly; accept .main in addition to main in backtrace.
11240
11241 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
11242 Marcin Kościelnicki <koriakin@0x04.net>
11243
11244 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
11245 (gdb_recursion_test_ptr): New global variable.
11246 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
11247 gdb_recursion_test.
11248 (gdb_c_test): Ditto.
11249
11250 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11251
11252 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
11253 ordering.
11254
11255 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11256
11257 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
11258 (bar): Add bar_start_lbl label.
11259 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
11260 of foo/bar for emitting DWARF and tracing.
11261
11262 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
11263
11264 * analyze-racy-logs.py: Set executable bit.
11265
11266 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
11267
11268 * Makefile.in (DEFAULT_RACY_ITER): New variable.
11269 (CHECK_TARGET_TMP): Likewise.
11270 (check-single-racy): New rule.
11271 (check-parallel-racy): Likewise.
11272 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
11273 (do-check-parallel-racy): New rule.
11274 (check-racy/%.exp): Likewise.
11275 * README (Racy testcases): New section.
11276 * analyze-racy-logs.py: New file.
11277
11278 2016-03-03 Doug Evans <dje@google.com>
11279
11280 * gdb.base/skip.exp: Use with_test_prefix.
11281
11282 2016-03-03 Yao Qi <yao.qi@linaro.org>
11283
11284 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
11285 Invoke step_over_syscall "clone" and break_cond_on_syscall
11286 "clone".
11287 * gdb.base/step-over-clone.c: New file.
11288
11289 2016-03-03 Yao Qi <yao.qi@linaro.org>
11290
11291 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
11292 code format.
11293
11294 2016-03-03 Yao Qi <yao.qi@linaro.org>
11295
11296 * gdb.base/disp-step-fork.c: Rename to ...
11297 * gdb.base/step-over-fork.c: ... it. New file.
11298 * gdb.base/disp-step-vfork.c: Rename to ...
11299 * gdb.base/step-over-vfork.c: ... it. New file.
11300 * gdb.base/disp-step-syscall.exp: Rename to ...
11301 * gdb.base/step-over-syscall.exp: ... it. New file.
11302 (disp_step_cross_syscall): Rename to ...
11303 (step_over_syscall): ... it.
11304
11305 2016-03-03 Yao Qi <yao.qi@linaro.org>
11306
11307 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
11308 If target supports condition evaluation on target, invoke
11309 break_cond_on_syscall for fork and vfork.
11310
11311 2016-03-03 Yao Qi <yao.qi@linaro.org>
11312
11313 * gdb.base/disp-step-syscall.exp: Don't invoke
11314 support_displaced_stepping.
11315 (disp_step_cross_syscall): Test with displaced stepping off and
11316 on if supported.
11317
11318 2016-03-03 Yao Qi <yao.qi@linaro.org>
11319
11320 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
11321 proc.
11322 (setup): New proc.
11323 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
11324 and setup.
11325
11326 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11327
11328 * gdb.fortran/vla-history.exp: Remove breakpoint.
11329
11330 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11331
11332 * gdb.fortran/vla-history.exp: Lookup array elements and printing
11333 exceeds timeout.
11334
11335 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11336
11337 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
11338 breakpoint.
11339
11340 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11341
11342 * gdb.mi/vla.f90: Nullify pointer after declaration.
11343
11344 2016-03-01 Pedro Alves <palves@redhat.com>
11345
11346 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
11347
11348 2016-03-01 Pedro Alves <palves@redhat.com>
11349
11350 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
11351 before anything else.
11352 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
11353 _GNU_SOURCE here.
11354 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
11355 before anything else.
11356 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
11357
11358 2016-03-01 Pedro Alves <palves@redhat.com>
11359
11360 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
11361
11362 2016-03-01 Yao Qi <yao.qi@linaro.org>
11363
11364 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
11365 prepare_for_testing.
11366
11367 2016-03-01 Yao Qi <yao.qi@linaro.org>
11368
11369 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
11370
11371 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
11372
11373 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
11374 manually constructing the output path.
11375
11376 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
11377
11378 * gdb.arch/s390-stackless.S: New.
11379 * gdb.arch/s390-stackless.exp: New.
11380
11381 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
11382
11383 * gdb.dlang/circular.c: New file.
11384 * gdb.dlang/circular.exp: New file.
11385
11386 2016-02-26 Yao Qi <yao.qi@linaro.org>
11387
11388 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
11389 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
11390 (testcases): Update.
11391
11392 2016-02-26 Yao Qi <yao.qi@linaro.org>
11393
11394 * gdb.reverse/aarch64.c: Rename to ...
11395 * gdb.reverse/insn-reverse.c: ... it.
11396 * gdb.reverse/aarch64.exp: Rename to ...
11397 * gdb.reverse/insn-reverse.exp: ... it.
11398
11399 2016-02-26 Yao Qi <yao.qi@linaro.org>
11400
11401 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
11402 (testcase_ftype): New.
11403 (testcases): New array.
11404 (n_testcases): New.
11405 (main): Call each element in testcases.
11406 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
11407 (read_testcase): New.
11408 Do the tests in a loop.
11409
11410 2016-02-25 Yao Qi <yao.qi@linaro.org>
11411
11412 * gdb.base/branches.c: Remove.
11413
11414 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11415
11416 PR gdb/13808
11417 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
11418
11419 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11420
11421 * gdb.trace/ftrace.exp: Remove unnecessary target check.
11422
11423 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11424
11425 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
11426 change x86_64 call_insn to 'callq'.
11427
11428 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
11429
11430 * gdb.trace/tfile-avx.c: Move to...
11431 * gdb.trace/tracefile-pseudo-reg.c: Here.
11432 * gdb.trace/tfile-avx.exp: Move to...
11433 * gdb.trace/tracefile-pseudo-reg.exp: Here.
11434
11435 2016-02-24 Gary Benson <gbenson@redhat.com>
11436
11437 * gdb.base/attach-pie-noexec.exp: Do not expect an error
11438 message on attach.
11439
11440 2016-02-23 Doug Evans <dje@google.com>
11441
11442 * gdb.base/skip.c (test_skip): New function.
11443 (end_test_skip_file_and_function): New function.
11444 (test_skip_file_and_function): New function.
11445 * gdb.base/skip1.c (test_skip): New function.
11446 (skip1_test_skip_file_and_function): New function.
11447 * gdb.base/skip.exp: Add tests for new skip options.
11448 * gdb.base/skip-solib.exp: Update expected output.
11449 * gdb.perf/skip-command.cc: New file.
11450 * gdb.perf/skip-command.exp: New file.
11451 * gdb.perf/skip-command.py: New file.
11452
11453 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
11454
11455 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
11456 info registers pattern.
11457
11458 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
11459
11460 * lib/future.exp: Add D support.
11461 (gdb_find_gdc): New proc.
11462 (gdb_default_target_compile): Add D support.
11463
11464 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
11465
11466 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
11467 user+system time.
11468 (trace_speed_test): Determine the iteration count for a time
11469 between 15..30 seconds.
11470
11471 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
11472
11473 * gdb.arch/i386-mpx-sigsegv.c: New file.
11474 * gdb.arch/i386-mpx-sigsegv.exp: New file.
11475 * gdb.arch/i386-mpx-simple_segv.c: New file.
11476 * gdb.arch/i386-mpx-simple_segv.exp: New file.
11477
11478 2016-02-18 Yao Qi <yao.qi@linaro.org>
11479
11480 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
11481 Don't call setup_kfail.
11482
11483 2016-02-18 Yao Qi <yao.qi@linaro.org>
11484
11485 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
11486 Set "set breakpoint condition-evaluation" per $cond_bp_target.
11487
11488 2016-02-16 Doug Evans <dje@google.com>
11489
11490 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
11491 * gdb.base/skip1.c: Ditto.
11492 * gdb.base/skip.exp: Whitespace cleanup.
11493
11494 2016-02-16 Don Breazeal <donb@codesourcery.com>
11495
11496 PR remote/19496
11497 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
11498 Remove kfail for PR remote/19496.
11499
11500 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
11501
11502 * lib/gdb.exp (standard_temp_file): Return a path specific to
11503 the runtest invocation.
11504
11505 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
11506
11507 * gdb.trace/save-trace.exp: Change relative path to be in the
11508 standard output directory.
11509
11510 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11511
11512 * gdb.arch/i386-prologue.c: Add missing prototypes.
11513
11514 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11515
11516 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
11517 * gdb.arch/i386-prologue.exp: Likewise.
11518 * gdb.arch/i386-size.exp: Likewise.
11519
11520 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
11521
11522 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
11523 define object file path.
11524 * gdb.btrace/gcore.exp: Use standard_output_file to define core
11525 file path.
11526 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
11527 standard_output_file to define binfile.
11528
11529 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11530
11531 Fix compatibility with recent gfortran-5.3.1.
11532 * gdb.fortran/vla-history.exp (print vla1 allocated)
11533 (print vla2 allocated, print $2, print $3): Remove
11534 (print $4): Rename to ...
11535 (print $2): ... here.
11536 (print $9): Rename to ...
11537 (print $5): ... here.
11538 (print $10): Rename to ...
11539 (print $6): ... here.
11540 * gdb.fortran/vla.f90: Add pvla initialization.
11541
11542 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11543
11544 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
11545 New test.
11546 * gdb.fortran/vla-value-sub.exp: Likewise.
11547
11548 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
11549
11550 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
11551
11552 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
11553
11554 * i386-biarch-core.exp: Define corefile using
11555 standard_output_file.
11556
11557 2016-02-12 Yao Qi <yao.qi@linaro.org>
11558
11559 * gdb.arch/arm-single-step-kernel-helper.c: New.
11560 * gdb.arch/arm-single-step-kernel-helper.exp: New.
11561
11562 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
11563
11564 * gdb.btrace/tailcall-only.exp: New.
11565 * gdb.btrace/tailcall-only.c: New.
11566 * gdb.btrace/x86_64-tailcall-only.S: New.
11567 * gdb.btrace/i686-tailcall-only.S: New.
11568
11569 2016-02-11 Pedro Alves <palves@redhat.com>
11570
11571 * README (Parallel testing): Add missing double quotes.
11572
11573 2016-02-11 Pedro Alves <palves@redhat.com>
11574
11575 * README (Parallel testing): New section.
11576 (GDB_PARALLEL): Rewrite.
11577 (FORCE_PARALLEL): Document.
11578
11579 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
11580
11581 * gdb.trace/tfile-avx.c: New test.
11582 * gdb.trace/tfile-avx.exp: New test.
11583
11584 2016-02-09 Keith Seitz <keiths@redhat.com>
11585
11586 PR breakpoints/19546
11587 * gdb.base/infcall-exec.c: New file.
11588 * gdb.base/infcall-exec2.c: New file.
11589 * gdb.base/infcall-exec.exp: New file.
11590
11591 2016-02-09 Keith Seitz <keiths@redhat.com>
11592
11593 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
11594 (toplevel): Call test_bkpt_address.
11595
11596 2016-02-09 Keith Seitz <keiths@redhat.com>
11597
11598 PR python/19506
11599 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
11600 (toplevel): Call test_bkpt_address.
11601
11602 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
11603
11604 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
11605 to AC_OUTPUT.
11606 * configure: Regenerate.
11607
11608 2016-02-09 Pedro Alves <palves@redhat.com>
11609
11610 PR breakpoints/19548
11611 * gdb.base/execl-update-breakpoints.c (some_function): New
11612 function.
11613 (main): Call it.
11614 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
11615 Tighten expected GDB output.
11616
11617 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
11618
11619 * Makefile.in (ALL_SUBDIRS): Remove.
11620 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
11621 (distclean maintainer-clean realclean): Likewise.
11622 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
11623 * configure: Regenerate.
11624 * gdb.ada/Makefile.in: Delete.
11625 * gdb.arch/Makefile.in: Likewise.
11626 * gdb.asm/Makefile.in: Likewise.
11627 * gdb.base/Makefile.in: Likewise.
11628 * gdb.btrace/Makefile.in: Likewise.
11629 * gdb.cell/Makefile.in: Likewise.
11630 * gdb.compile/Makefile.in: Likewise.
11631 * gdb.cp/Makefile.in: Likewise.
11632 * gdb.disasm/Makefile.in: Likewise.
11633 * gdb.dlang/Makefile.in: Likewise.
11634 * gdb.dwarf2/Makefile.in: Likewise.
11635 * gdb.fortran/Makefile.in: Likewise.
11636 * gdb.gdb/Makefile.in: Likewise.
11637 * gdb.go/Makefile.in: Likewise.
11638 * gdb.guile/Makefile.in: Likewise.
11639 * gdb.java/Makefile.in: Likewise.
11640 * gdb.linespec/Makefile.in: Likewise.
11641 * gdb.mi/Makefile.in: Likewise.
11642 * gdb.modula2/Makefile.in: Likewise.
11643 * gdb.multi/Makefile.in: Likewise.
11644 * gdb.objc/Makefile.in: Likewise.
11645 * gdb.opencl/Makefile.in: Likewise.
11646 * gdb.opt/Makefile.in: Likewise.
11647 * gdb.pascal/Makefile.in: Likewise.
11648 * gdb.perf/Makefile.in: Likewise.
11649 * gdb.python/Makefile.in: Likewise.
11650 * gdb.reverse/Makefile.in: Likewise.
11651 * gdb.server/Makefile.in: Likewise.
11652 * gdb.stabs/Makefile.in: Likewise.
11653 * gdb.threads/Makefile.in: Likewise.
11654 * gdb.trace/Makefile.in: Likewise.
11655 * gdb.xml/Makefile.in: Likewise.
11656 * lib/gdb.exp (make_gdb_parallel_path): Add check for
11657 GDB_PARALLEL.
11658 (standard_output_file): Remove check for GDB_PARALLEL, always
11659 return path in outputs/$subdir/$testname.
11660
11661 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
11662
11663 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
11664 (site.exp): Assign abs_srcdir to tcl's srcdir.
11665
11666 2016-02-04 Yao Qi <yao.qi@linaro.org>
11667
11668 * gdb.base/foll-exec-mode.c: Include limits.h.
11669 (main): Add parameters argc and argv. Get directory from
11670 argv[0].
11671 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
11672 compilation.
11673 * gdb.base/foll-exec.c: Include limits.h.
11674 (main): Add parameters argc and argv.
11675 Get directory from argv[0].
11676 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
11677 Adjust tests on the number of lines as source code changed.
11678 * gdb.base/foll-vfork-exit.c: Include limits.h.
11679 (main): Add one line of statement before vfork.
11680 * gdb.base/foll-vfork.c: Include limits.h and string.h.
11681 (main): Add parameters argc and argv. Get directory from
11682 argv[0].
11683 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
11684 (setup_gdb): Set tbreak to skip some source lines.
11685 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
11686 (main): Add parameters argc and argv. Get directory from
11687 argv[0].
11688 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
11689 compilation.
11690 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
11691 (main): Add parameters argc and argv. Get directory from
11692 argv[0].
11693 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
11694 compilation.
11695
11696 2016-02-01 Doug Evans <dje@google.com>
11697
11698 * gdb.base/skip.exp: Clean up multiple references to same test name.
11699
11700 2016-02-01 Pedro Alves <palves@redhat.com>
11701
11702 PR remote/19496
11703 * gdb.threads/forking-threads-plus-breakpoint.exp
11704 (displaced_stepping_supported): New global.
11705 (probe_displaced_stepping_support): New procedure.
11706 (do_test): Add 'displaced' parameter, and use it.
11707 (top level): Check for displaced stepping support. Add displaced
11708 stepping on/off testing axis.
11709
11710 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
11711
11712 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
11713 pointer. Don't perform further tests on the unassociated pointer
11714 if the first test fails.
11715
11716 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
11717
11718 * gdb.base/max-value-size.c: New file.
11719 * gdb.base/max-value-size.exp: New file.
11720 * gdb.base/huge.exp: Disable max-value-size for this test.
11721
11722 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
11723
11724 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
11725
11726 2016-01-28 Yao Qi <yao.qi@linaro.org>
11727
11728 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
11729
11730 2016-01-25 Pedro Alves <palves@redhat.com>
11731
11732 PR threads/19461
11733 * gdb.base/fork-running-state.c: New file.
11734 * gdb.base/fork-running-state.exp: New file.
11735
11736 2016-01-25 Pedro Alves <palves@redhat.com>
11737
11738 PR gdb/19494
11739 * gdb.base/catch-fork-kill.c: New file.
11740 * gdb.base/catch-fork-kill.exp: New file.
11741
11742 2016-01-25 Pedro Alves <palves@redhat.com>
11743
11744 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
11745 Delete, moved to lib/gdb.exp.
11746 * gdb.threads/forking-threads-plus-breakpoint.exp
11747 (foreach_with_prefix): Likewise.
11748 * gdb.threads/process-dies-while-handling-bp.exp
11749 (foreach_with_prefix): Likewise.
11750 * lib/gdb.exp (foreach_with_prefix): New procedure.
11751
11752 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
11753
11754 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
11755 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
11756
11757 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
11758
11759 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
11760 endian targets.
11761
11762 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11763 Pedro Alves <palves@redhat.com>
11764
11765 Fix testsuite compatibility with Guile.
11766 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
11767 number.
11768
11769 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11770
11771 Fix testsuite compatibility with Guile.
11772 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
11773 (thread 1): New test for backtrace through signal handler.
11774
11775 2016-01-22 Yao Qi <yao.qi@linaro.org>
11776
11777 PR testsuite/19491
11778 * gdb.base/multi-forks.c: Include
11779 ../lib/unbuffer_output.c
11780 (main): Call gdb_unbuffer_output.
11781
11782 2016-01-21 Doug Evans <dje@google.com>
11783
11784 * lib/ada.exp (gdb_compile_ada): Fix typo.
11785
11786 2016-01-21 Joel Brobecker <brobecker@adacore.com>
11787
11788 * gdb.base/break-fun-addr.exp: New file.
11789 * gdb.base/break-fun-addr1.c: New file.
11790 * gdb.base/break-fun-addr2.c: New file.
11791
11792 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
11793
11794 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
11795 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
11796 enum flag values.
11797
11798 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11799
11800 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
11801 when GDB can not set the vector return value. Add more comments
11802 for clarification.
11803
11804 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
11805
11806 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
11807 command.
11808
11809 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11810
11811 * Makefile.in (DO_RUNTEST): Add --status and update usages.
11812
11813 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11814
11815 * Makefile.in (check-single): Pass --status to runtest.
11816 (check/%.exp): Likewise.
11817
11818 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11819
11820 * Makefile.in (check-parallel): Propagate return code from make
11821 do-check-parallel.
11822
11823 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
11824
11825 * gdb.trace/ftrace.exp: Fix expected message on continue.
11826 * gdb.trace/pending.exp: Fix expected message on continue.
11827 * gdb.trace/trace-break.exp: Fix expected message on continue.
11828
11829 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
11830
11831 * lib/gdb.exp (gdb_test): Remove unused global references.
11832
11833 2016-01-18 Pedro Alves <palves@redhat.com>
11834
11835 * gdb.base/async-shell.exp: Adjust expected output.
11836 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
11837 * gdb.base/siginfo-thread.exp: Adjust expected output.
11838 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
11839 * gdb.java/jnpe.exp: Adjust expected output.
11840 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
11841 * gdb.threads/continue-pending-status.exp: Adjust expected output.
11842 * gdb.threads/leader-exit.exp: Adjust expected output.
11843 * gdb.threads/manythreads.exp: Adjust expected output.
11844 * gdb.threads/pthreads.exp: Adjust expected output.
11845 * gdb.threads/schedlock.exp: Adjust expected output.
11846 * gdb.threads/siginfo-threads.exp: Adjust expected output.
11847 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
11848 expected output.
11849 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
11850 output.
11851 * gdb.threads/sigthread.exp: Adjust expected output.
11852 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
11853
11854 2016-01-18 Yao Qi <yao.qi@linaro.org>
11855
11856 * gdb.guile/scm-section-script.c: Replace @progbits with
11857 %progbits.
11858 * gdb.python/py-section-script.c: Likewise.
11859
11860 2016-01-15 Pedro Alves <palves@redhat.com>
11861
11862 * gdb.multi/tids.exp: Test star wildcard ranges.
11863
11864 2016-01-15 Pedro Alves <palves@redhat.com>
11865
11866 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
11867 command from "thread apply" invocation.
11868 (thr_apply_info_thr_invalid): Default the expected output to the
11869 input tid list.
11870 (top level): Add tests that use convenience variables. Add tests
11871 for "thread apply" with a valid TID list, but missing the command.
11872
11873 2016-01-13 Pedro Alves <palves@redhat.com>
11874
11875 * gdb.base/default.exp: Expect $_gthread as well.
11876 * gdb.multi/tids.exp: Test $_gthread.
11877 * gdb.threads/thread-specific.exp: Test $_gthread.
11878
11879 2016-01-13 Pedro Alves <palves@redhat.com>
11880
11881 * gdb.multi/tids.exp: Test "info threads -gid".
11882
11883 2016-01-13 Pedro Alves <palves@redhat.com>
11884
11885 * gdb.multi/tids.exp: Test InferiorThread.global_num and
11886 Breakpoint.thread.
11887 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
11888
11889 2016-01-07 Pedro Alves <palves@redhat.com>
11890
11891 * gdb.base/break.exp: Adjust to output changes.
11892 * gdb.base/hbreak2.exp: Likewise.
11893 * gdb.base/sepdebug.exp: Likewise.
11894 * gdb.base/watch_thread_num.exp: Likewise.
11895 * gdb.linespec/keywords.exp: Likewise.
11896 * gdb.multi/info-threads.exp: Likewise.
11897 * gdb.threads/thread-find.exp: Likewise.
11898 * gdb.multi/tids.c: New file.
11899 * gdb.multi/tids.exp: New file.
11900
11901 2016-01-13 Pedro Alves <palves@redhat.com>
11902
11903 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
11904
11905 2016-01-13 Pedro Alves <palves@redhat.com>
11906
11907 * gdb.base/default.exp: Expect $_inferior as well.
11908 * gdb.multi/base.exp: Test $_inferior.
11909
11910 2016-01-13 Pedro Alves <palves@redhat.com>
11911
11912 PR breakpoints/19388
11913 * gdb.base/catch-signal-siginfo-cond.c: New file.
11914 * gdb.base/catch-signal-siginfo-cond.exp: New file.
11915
11916 2016-01-12 Josh Stone <jistone@redhat.com>
11917 Philippe Waroquiers <philippe.waroquiers@skynet.be>
11918
11919 * gdb.base/catch-syscall.c (do_execve): New variable.
11920 (main): Conditionally trigger an execve.
11921 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
11922 (test_catch_syscall_execve): New, check entry/return across execve.
11923 (do_syscall_tests): Call test_catch_syscall_execve.
11924
11925 2016-01-12 Pedro Alves <palves@redhat.com>
11926
11927 * gdb.base/random-signal.exp (do_test): New procedure, with body
11928 of testcase moved in.
11929
11930 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11931 Pedro Alves <palves@redhat.com>
11932
11933 * gdb.base/funcargs.exp (finish from indirectly called function):
11934 Reintroduce the case for 'First'.
11935
11936 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11937 Pedro Alves <palves@redhat.com>
11938
11939 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
11940 (tcatch_vfork_then_child_follow_exec)
11941 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
11942 identification.
11943
11944 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11945
11946 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
11947 and repeats to unlimited.
11948 * gdb.python/py-value.exp: Likewise.
11949 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
11950 and repeats to unlimited.
11951
11952 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11953
11954 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
11955 and reordering the functions.
11956 * gdb.multi/hangout.c: Likewise.
11957 * gdb.multi/hello.c: Likewise.
11958
11959 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
11960
11961 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
11962 absolute.
11963 (SingleStatisticTestResult.report): Use dict.keys instead of
11964 dict.iterkeys.
11965
11966 2016-01-06 Pedro Alves <palves@redhat.com>
11967
11968 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
11969
11970 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
11971
11972 * gdb.btrace/dlopen.exp: New.
11973 * gdb.btrace/dlopen.c: New.
11974 * gdb.btrace/dlopen-dso.c: New.
11975
11976 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
11977
11978 * lib/gdb.exp (gdb_test): Update comments to clarify that the
11979 PATTERN argument is optional.
11980
11981 2015-12-24 Joel Brobecker <brobecker@adacore.com>
11982
11983 * lib/ada.exp (target_compile_ada_from_dir): New function.
11984 (gdb_compile_ada): Reimplement avoiding the use of project files.
11985 * gdb.ada/gnat_ada.gpr: Delete.
11986 * gdb.ada/cond_lang.exp: Adjust test to make path before
11987 filename optional.
11988 * gdb.ada/small_reg_param.exp: Likewise.
11989
11990 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
11991
11992 * gdb.base/foll-vork.exp: Remove HP-UX special case.
11993
11994 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
11995
11996 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
11997 case.
11998
11999 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
12000
12001 * gdb.base/break.exp: Remove dead code.
12002 * gdb.base/sepdebug.exp: Likewise.
12003
12004 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
12005
12006 * gdb.asm/asm-source.exp: Remove HP-UX references.
12007 * gdb.base/annota1.exp: Likewise.
12008 * gdb.base/annota3.exp: Likewise.
12009 * gdb.base/attach.exp: Likewise.
12010 * gdb.base/bigcore.exp: Likewise.
12011 * gdb.base/break.exp: Likewise.
12012 * gdb.base/call-ar-st.exp: Likewise.
12013 * gdb.base/callfuncs.exp: Likewise.
12014 * gdb.base/catch-fork-static.exp: Likewise.
12015 * gdb.base/display.exp: Likewise.
12016 * gdb.base/foll-exec-mode.exp: Likewise.
12017 * gdb.base/foll-exec.exp: Likewise.
12018 * gdb.base/foll-fork.exp: Likewise.
12019 * gdb.base/foll-vfork.exp: Likewise.
12020 * gdb.base/funcargs.exp: Likewise.
12021 * gdb.base/hbreak2.exp: Likewise.
12022 * gdb.base/inferior-died.exp: Likewise.
12023 * gdb.base/interrupt.exp: Likewise.
12024 * gdb.base/multi-forks.exp: Likewise.
12025 * gdb.base/nodebug.exp: Likewise.
12026 * gdb.base/sepdebug.exp: Likewise.
12027 * gdb.base/solib1.c: Likewise.
12028 * gdb.base/step-test.exp: Likewise.
12029 * gdb.mi/non-stop.c: Likewise.
12030 * gdb.mi/pthreads.c: Likewise.
12031 * gdb.multi/bkpt-multi-exec.ex: Likewise.
12032 * gdb.threads/pthreads.c: Likewise.
12033 * gdb.threads/staticthreads.exp: Likewise.
12034 * lib/future.exp: Likewise.
12035 * lib/gdb.exp: Likewise.
12036 * gdb.base/so-indr-cl.c: Remove.
12037 * gdb.base/so-indr-cl.exp: Likewise.
12038 * gdb.base/solib.c: Likewise.
12039 * gdb.base/solib.exp: Likewise.
12040 * gdb.base/solib2.c: Likewise.
12041
12042 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
12043
12044 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
12045 * gdb.base/call-ar-st.exp: Likewise.
12046 * gdb.base/callfuncs.exp: Likewise.
12047 * gdb.base/condbreak.exp: Likewise.
12048 * gdb.base/constvars.exp: Likewise.
12049 * gdb.base/hbreak2.exp: Likewise.
12050 * gdb.base/langs.exp: Likewise.
12051 * gdb.base/list.exp: Likewise.
12052 * gdb.base/long_long.exp: Likewise.
12053 * gdb.base/ptype.exp: Likewise.
12054 * gdb.base/scope.exp: Likewise.
12055 * gdb.base/signals.exp: Likewise.
12056 * gdb.base/so-impl-ld.exp: Likewise.
12057 * gdb.base/varargs.exp: Likewise.
12058 * gdb.base/volatile.exp: Likewise.
12059 * gdb.base/whatis.exp: Likewise.
12060 * gdb.cp/cplusfuncs.exp: Likewise.
12061 * gdb.cp/inherit.exp: Likewise.
12062 * gdb.cp/local.exp: Likewise.
12063 * gdb.cp/member-ptr.exp: Likewise.
12064 * gdb.cp/method.exp: Likewise.
12065 * gdb.cp/overload.exp: Likewise.
12066 * gdb.cp/templates.exp: Likewise.
12067 * gdb.stabs/weird.exp: Likewise.
12068 * lib/compiler.c: Likewise.
12069 * lib/compiler.cc: Likewise.
12070 * lib/cp-support.exp: Likewise.
12071 * lib/gdb.exp: Likewise.
12072
12073 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
12074
12075 * configure.ac: Remove HP-UX case.
12076 * configure: Regenerate.
12077
12078 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
12079
12080 * lib/gdb.exp (gdb_compile): Add function doc.
12081
12082 2015-12-17 Pedro Alves <palves@redhat.com>
12083
12084 PR threads/19354
12085 * gdb.multi/info-threads.exp: New file.
12086
12087 2015-12-15 Yao Qi <yao.qi@linaro.org>
12088
12089 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
12090 is aarch64*-*-*.
12091
12092 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
12093
12094 * gdb.base/history-duplicates.exp: Skip if no readline support.
12095
12096 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
12097
12098 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
12099
12100 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
12101
12102 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
12103
12104 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
12105
12106 * gdb.base/completion.exp: Skip tests that interrupt GDB with
12107 ctrl-C if nointerrupts target property is set.
12108 * gdb.base/double-prompt-target-event-error.exp: Likewise.
12109 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
12110 * gdb.base/paginate-bg-execution.exp: Likewise.
12111 * gdb.base/paginate-execution-startup.exp: Likewise.
12112 * gdb.base/random-signal.exp: Likewise.
12113 * gdb.base/range-stepping.exp: Likewise.
12114 * gdb.cp/annota2.exp: Likewise.
12115 * gdb.cp/annota3.exp: Likewise.
12116 * gdb.gdb/selftest.exp: Likewise.
12117 * gdb.threads/continue-pending-status.exp: Likewise.
12118 * gdb.threads/leader-exit.exp: Likewise.
12119 * gdb.threads/manythreads.exp: Likewise.
12120 * gdb.threads/pthreads.exp: Likewise.
12121 * gdb.threads/schedlock.exp: Likewise.
12122 * gdb.threads/sigthread.exp: Likewise.
12123
12124 2015-12-11 Don Breazeal <donb@codesourcery.com>
12125
12126 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
12127 remote.
12128 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
12129 * gdb.base/foll-exec.exp (main): Enable for target remote.
12130 * gdb.base/foll-fork.exp (main): Likewise.
12131 * gdb.base/foll-vfork.exp (main): Likewise.
12132 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
12133 (proc continue_to_exit_bp_loc): Use clean_restart.
12134 * gdb.base/pie-execl.exp (main): Disable for target remote.
12135 * gdb.base/watch-vfork.exp (main): Enable for target remote.
12136 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
12137 * gdb.threads/execl.exp (main): Likewise.
12138 * gdb.threads/fork-child-threads.exp (main): Likewise.
12139 * gdb.threads/fork-plus-threads.exp (main): Disable for target
12140 remote.
12141 * gdb.threads/fork-thread-pending.exp (main): Enable for target
12142 remote.
12143 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
12144 pid.tid style ptids, instead of just tid.
12145 * gdb.threads/thread-execl.exp (main): Enable for target remote.
12146 * gdb.threads/watchpoint-fork.exp (main): Likewise.
12147 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
12148 ptids, instead of just tid.
12149
12150 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
12151
12152 * gdb.base/list.exp (test_list_forward): Add end of file error
12153 test.
12154 (test_repeat_list_command): Add end of file error test.
12155 (test_list_backwards): Add beginning of file error test.
12156
12157 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
12158
12159 * gdb.base/list.exp (test_list_invalid_args): New function,
12160 defined, and called.
12161
12162 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
12163
12164 * gdb.base/list.exp (test_list): Make test names unique.
12165
12166 2015-12-11 Yao Qi <yao.qi@linaro.org>
12167
12168 * gdb.base/coremaker2.c: Remove.
12169
12170 2015-12-10 Pedro Alves <palves@redhat.com>
12171
12172 * gdb.multi/base.exp: Remove stale "spaces" references.
12173
12174 2015-12-10 Pedro Alves <palves@redhat.com>
12175
12176 * gdb.multi/base.exp: Don't use nowarnings.
12177 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
12178 * gdb.multi/hangout.c: Include stdio.h.
12179 * gdb.multi/hello.c: Include stdlib.h.
12180 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
12181 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
12182 * gdb.multi/multi-arch.exp: Don't use nowarnings.
12183
12184 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
12185
12186 * gdb.dwarf2/dw2-ranges-base.c: New file.
12187 * gdb.dwarf2/dw2-ranges-base.exp: New file.
12188 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
12189 support additional line table, and debug ranges generation.
12190 (Dwarf::ranges): New function, generate .debug_ranges.
12191 (Dwarf::lines): Support generating simple line table programs.
12192 (Dwarf::assemble): Initialise new namespace variables.
12193
12194 2015-12-09 Kevin Buettner <kevinb@redhat.com>
12195
12196 * gdb.base/async.exp (proc test_background): Add case for
12197 asynchronous execution not supported.
12198
12199 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
12200
12201 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
12202 format and change test names to make them unique.
12203
12204 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
12205 Pedro Alves <pedro@redhat.com>
12206
12207 PR gdb/18702
12208 Add checking of floatformats setup on x86_64 hosts.
12209 * gdb.arch/i386-float.S (main): Load bigval and smallval.
12210 (smallval, bigval): New labels/constants.
12211 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
12212 float" after loading bigval and smallval.
12213
12214 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
12215
12216 * gdb.ada/fun_overload_menu.exp: New testcase.
12217 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
12218
12219 2015-12-04 Josh Stone <jistone@redhat.com>
12220
12221 * gdb.base/catch-fork-static.exp: New.
12222
12223 2015-12-03 Yao Qi <yao.qi@linaro.org>
12224
12225 * gdb.base/sizeof.c: Don't include stdio.h and
12226 ../lib/unbuffer_output.c.
12227 (main): New variable 'size' and 'value'. Remove printf and
12228 gdb_unbuffer_output. Assign return value to size and value.
12229 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
12230 at the beginning.
12231 (check_sizeof): Check the result by printing variable 'size'.
12232 (check_valueof): Check the result by printing variable 'value'.
12233
12234 2015-12-01 Yao Qi <yao.qi@linaro.org>
12235
12236 * gdb.base/disp-step-syscall.exp: Define syscall instruction
12237 for aarch64*-*-linux* target.
12238
12239 2015-11-30 Pedro Alves <palves@redhat.com>
12240
12241 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
12242
12243 2015-11-30 Pedro Alves <palves@redhat.com>
12244
12245 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
12246 Handle non-stop mode vCont replies.
12247
12248 2015-11-30 Pedro Alves <palves@redhat.com>
12249
12250 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
12251 prepare_for_testing. Start gdb with "set non-stop on" appended to
12252 GDBFLAGS. Lax expected stop output.
12253
12254 2015-11-27 Yao Qi <yao.qi@linaro.org>
12255
12256 * gdb.arch/arm-neon.exp: New.
12257 * gdb.arch/arm-neon.c: New.
12258
12259 2015-11-27 Yao Qi <yao.qi@linaro.org>
12260
12261 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
12262
12263 2015-11-27 Yao Qi <yao.qi@linaro.org>
12264
12265 * gdb.cp/annota2.exp: Allow multiple occurrences of the
12266 frames-invalid annotation.
12267
12268 2015-11-27 Yao Qi <yao.qi@linaro.org>
12269
12270 * gdb.cp/annota2.exp: Use ${frames_invalid}.
12271
12272 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
12273
12274 * gdb.threads/names.exp: New file.
12275 * gdb.threads/names.c: New file.
12276 * README: Mention gdb,no_thread_names.
12277
12278 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
12279
12280 PR 19297
12281 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
12282 support" error.
12283
12284 2015-11-24 Pedro Alves <palves@redhat.com>
12285
12286 PR 17539
12287 * gdb.base/display.exp: Expect displays to be sorted in ascending
12288 order. Use multi_line.
12289 * gdb.base/solib-display.exp: Likewise.
12290
12291 2015-11-24 Pedro Alves <palves@redhat.com>
12292
12293 PR 17539
12294 * gdb.base/display.exp: Expect displays to be sorted in ascending
12295 order. Use multi_line.
12296 * gdb.base/solib-display.exp: Likewise.
12297
12298 2015-11-24 Pedro Alves <palves@redhat.com>
12299
12300 PR 17539
12301 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
12302 threads in ascending order.
12303 * gdb.base/foll-fork.exp: Likewise.
12304 * gdb.base/foll-vfork.exp: Likewise.
12305 * gdb.base/multi-forks.exp: Likewise.
12306 * gdb.mi/mi-nonstop.exp: Likewise.
12307 * gdb.mi/mi-nsintrall.exp: Likewise.
12308 * gdb.multi/base.exp: Likewise.
12309 * gdb.multi/multi-arch.exp: Likewise.
12310 * gdb.python/py-inferior.exp: Likewise.
12311 * gdb.threads/break-while-running.exp: Likewise.
12312 * gdb.threads/execl.exp: Likewise.
12313 * gdb.threads/gcore-thread.exp: Likewise.
12314 * gdb.threads/info-threads-cur-sal.exp: Likewise.
12315 * gdb.threads/kill.exp: Likewise.
12316 * gdb.threads/linux-dp.exp: Likewise.
12317 * gdb.threads/multiple-step-overs.exp: Likewise.
12318 * gdb.threads/next-bp-other-thread.exp: Likewise.
12319 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
12320 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
12321 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
12322 * gdb.threads/thread-find.exp: Likewise.
12323 * gdb.threads/tls.exp: Likewise.
12324 * lib/mi-support.exp (mi_reverse_list): Delete.
12325 (mi_check_thread_states): No longer reverse list.
12326
12327 2015-11-24 Pedro Alves <palves@redhat.com>
12328
12329 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
12330 use lowercase.
12331
12332 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
12333
12334 * gdb.trace/actions.c: Include trace-common.h.
12335 (main): Add a location for a fast tracepoint.
12336 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
12337 the normal tracepoints.
12338 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
12339
12340 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
12341
12342 * save-trace.exp: Factor out code to these...
12343 (gdb_save_tracepoints): New.
12344 (gdb_load_tracepoints): New.
12345 (do_save_load_test): New.
12346
12347 2015-11-23 Kevin Buettner <kevinb@redhat.com>
12348
12349 * gdb.base/asmlabel.exp: New test.
12350 * gdb.base/asmlabel.c: New test case.
12351
12352 2015-11-23 Joel Brobecker <brobecker@adacore.com>
12353
12354 * gdb.base/wrong_frame_bt_full-main.c: New file.
12355 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
12356 * gdb.base/wrong_frame_bt_full.exp: New file.
12357
12358 2015-11-23 Joel Brobecker <brobecker@adacore.com>
12359
12360 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
12361
12362 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
12363
12364 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
12365 pstate register when comparing registers values in
12366 sparc64-*-linux-gnu targets to avoid spurious differences.
12367
12368 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
12369
12370 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
12371
12372 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
12373
12374 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
12375 as type argument to gdb_compile.
12376 * gdb.base/nested-subp2.exp: Likewise.
12377 * gdb.base/nested-subp3.exp: Likewise.
12378
12379 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
12380
12381 * lib/dwarf.exp (_note): Fix left shift of negative value.
12382 * gdb.trace/trace-condition.exp: Likewise.
12383
12384 2015-11-13 Yao Qi <yao.qi@linaro.org>
12385
12386 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
12387 comments about d10v.
12388 (test_scalar_returns): Likewise.
12389 * gdb.base/d10v.ld: Remove.
12390 * gdb.base/overlays.exp: Remove the target triplet checking for
12391 d10v-*-*.
12392 * gdb.base/structs.exp (test_struct_returns): Remove the
12393 comments about d10v.
12394 (test_struct_calls): Likewise.
12395
12396 2015-11-13 Yao Qi <yao.qi@linaro.org>
12397
12398 * gdb.base/gnu_vector.exp: Check the return value by "p res".
12399 * gdb.base/gnu_vector.c: Don't include stdio.h.
12400 (main): Don't print res and call add_some_intvecs.
12401
12402 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
12403
12404 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
12405 macro.
12406 (func5): Removed.
12407 (func4): Use FAST_TRACEPOINT_LABEL.
12408 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
12409 macro.
12410 (func): Removed.
12411 (thread_function): Use FAST_TRACEPOINT_LABEL.
12412 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
12413 (func): Remove.
12414 (marker): Use FAST_TRACEPOINT_LABEL.
12415 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
12416 (pendfunc1): Remove.
12417 (pendfunc): Use FAST_TRACEPOINT_LABEL.
12418 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
12419 (foo): Remove.
12420 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
12421 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
12422 macro.
12423 (func): Remove.
12424 (marker): Use FAST_TRACEPOINT_LABEL.
12425 * gdb.trace/trace-common.h: New header.
12426 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
12427 macro.
12428 (func): Remove.
12429 (marker): Use FAST_TRACEPOINT_LABEL.
12430 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
12431 (func): Remove.
12432 (thread_function): Use FAST_TRACEPOINT_LABEL.
12433
12434 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
12435
12436 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
12437 in front.
12438 * gdb.trace/change-loc.exp: Use global pcreg definition.
12439 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
12440 * gdb.trace/entry-values.exp: Use global spreg definition, add $
12441 in front.
12442 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
12443 * gdb.trace/pending.exp: Likewise.
12444 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
12445 * gdb.trace/trace-break.exp: Likewise.
12446 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
12447 in front.
12448 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
12449 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
12450 in front.
12451 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
12452
12453 2015-11-09 Joel Brobecker <brobecker@adacore.com>
12454
12455 * gdb.ada/fin_fun_out: New testcase.
12456
12457 2015-11-07 Kevin Buettner <kevinb@redhat.com>
12458
12459 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
12460 value associated with DW_AT_byte_size.
12461 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
12462 constants for DW_AT_byte_size, DW_AT_lower_bound, and
12463 DW_AT_upper_bound.
12464
12465 2015-11-07 Kevin Buettner <kevinb@redhat.com>
12466
12467 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
12468 (gdb_target_symbol_prefix_flags): Define in terms of _asm
12469 version.
12470 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
12471 gdb.dwarf2/dw2-canonicalize-type.exp,
12472 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
12473 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
12474 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
12475 provided by gdb_target_symbol_prefix_flags_asm.
12476 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
12477 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
12478 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
12479 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
12480 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
12481 macros where needed). Use this macro for symbols which require
12482 the prefix provided by SYMBOL_PREFIX.
12483
12484 2015-11-05 Kevin Buettner <kevinb@redhat.com>
12485
12486 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
12487 New procs.
12488 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
12489 representing expressions, of more than one list element.
12490 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
12491 to prepend linker symbol prefix to f.
12492 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
12493 table_1 and table_2.
12494 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
12495 Likewise, for f and g.
12496 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
12497 for ptr.
12498 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
12499 for main.
12500 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
12501 table_1_ptr and table_2_ptr.
12502
12503 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12504 Joel Brobecker <brobecker@adacore.com>
12505
12506 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
12507
12508 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
12509
12510 * gdb.reverse/s390-mvcle.c: New test.
12511 * gdb.reverse/s390-mvcle.exp: New file.
12512 * lib/gdb.exp: Enable reverse tests on s390*-linux.
12513
12514 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
12515
12516 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
12517
12518 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
12519
12520 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
12521 reaching marker2.
12522 * gdb.reverse/getresuid-reverse.exp: Likewise.
12523 * gdb.reverse/pipe-reverse.exp: Likewise.
12524 * gdb.reverse/readv-reverse.exp: Likewise.
12525 * gdb.reverse/recvmsg-reverse.exp: Likewise.
12526 * gdb.reverse/time-reverse.exp: Likewise.
12527 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
12528
12529 2015-10-30 Yao Qi <yao.qi@linaro.org>
12530
12531 * gdb.threads/wp-replication.c (watch_count_done): Remove.
12532 (empty_cycle): Remove.
12533 (main): Don't call empty_cycle. Don't use watch_count_done.
12534 * gdb.threads/wp-replication.exp: Don't set breakpoint on
12535 empty_cycle. Rewrite the code counting HW watchpoints.
12536
12537 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
12538
12539 * gdb.reverse/fstatat-reverse.c: New test.
12540 * gdb.reverse/fstatat-reverse.exp: New file.
12541 * gdb.reverse/getresuid-reverse.c: New test.
12542 * gdb.reverse/getresuid-reverse.exp: New file.
12543 * gdb.reverse/pipe-reverse.c: New test.
12544 * gdb.reverse/pipe-reverse.exp: New file.
12545 * gdb.reverse/readv-reverse.c: New test.
12546 * gdb.reverse/readv-reverse.exp: New file.
12547 * gdb.reverse/recvmsg-reverse.c: New test.
12548 * gdb.reverse/recvmsg-reverse.exp: New file.
12549 * gdb.reverse/time-reverse.c: New test.
12550 * gdb.reverse/time-reverse.exp: New file.
12551 * gdb.reverse/waitpid-reverse.c: New test.
12552 * gdb.reverse/waitpid-reverse.exp: New file.
12553
12554 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
12555
12556 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
12557
12558 2015-10-26 Doug Evans <dje@google.com>
12559
12560 PR symtab/17391
12561 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
12562 * gdb.dwarf2/bad-regnum.c: New file.
12563 * gdb.dwarf2/bad-regnum.exp: New file.
12564
12565 2015-10-26 Doug Evans <dje@google.com>
12566
12567 PR python/18938
12568 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
12569 file.
12570
12571 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12572
12573 * gdb.compile/compile.exp (compile code globalvar): Update expectation
12574 for a change by "Mention language in compile error message".
12575
12576 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
12577
12578 PR python/18073
12579 * gdb.python/py-type.c (C::a_method): New.
12580 (C::a_const_method): New.
12581 (C::a_static_method): New.
12582 (a_function): New.
12583 * gdb.python/py-type.exp (test_fields): Test getting fields
12584 from function and method.
12585
12586 2015-10-21 Keven Boell <keven.boell@intel.com>
12587
12588 * gdb.fortran/vla-alloc-assoc.exp: New file.
12589 * gdb.fortran/vla-datatypes.exp: New file.
12590 * gdb.fortran/vla-datatypes.f90: New file.
12591 * gdb.fortran/vla-history.exp: New file.
12592 * gdb.fortran/vla-ptype-sub.exp: New file.
12593 * gdb.fortran/vla-ptype.exp: New file.
12594 * gdb.fortran/vla-sizeof.exp: New file.
12595 * gdb.fortran/vla-sub.f90: New file.
12596 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
12597 * gdb.fortran/vla-value-sub-finish.exp: New file.
12598 * gdb.fortran/vla-value-sub.exp: New file.
12599 * gdb.fortran/vla-value.exp: New file.
12600 * gdb.fortran/vla-ptr-info.exp: New file.
12601 * gdb.mi/mi-vla-fortran.exp: New file.
12602 * gdb.mi/vla.f90: New file.
12603
12604 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
12605
12606 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
12607 of hardwired timeout value.
12608
12609 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12610 Pedro Alves <palves@redhat.com>
12611
12612 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
12613 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
12614
12615 2015-10-19 Josh Stone <jistone@redhat.com>
12616
12617 * gdb.base/catch-syscall.c: Include <sched.h>.
12618 (unknown_syscall): New variable.
12619 (main): Trigger a vfork and an unknown syscall.
12620 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
12621 (unknown_syscall_number): Likewise.
12622 (check_call_to_syscall): Accept an optional syscall pattern.
12623 (check_return_from_syscall): Likewise.
12624 (check_continue): Likewise.
12625 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
12626 (test_catch_syscall_skipping_return): New test toggling off 'catch
12627 syscall' to step over the syscall return, then toggling back on.
12628 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
12629 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
12630 (do_syscall_tests): Call test_catch_syscall_without_args and
12631 test_catch_syscall_mid_vfork.
12632 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
12633 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
12634
12635 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
12636
12637 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
12638 print g_vE): Add new pass patterns.
12639 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
12640 print various symbol names for vptr fields.
12641
12642 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
12643
12644 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
12645 results.
12646
12647 2015-10-12 Yao Qi <yao.qi@linaro.org>
12648
12649 * gdb.arch/disp-step-insn-reloc.exp: New test case.
12650
12651 2015-10-12 Yao Qi <yao.qi@linaro.org>
12652
12653 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
12654 is aarch64*-*-linux*.
12655
12656 2015-10-12 Yao Qi <yao.qi@linaro.org>
12657
12658 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
12659 (can_relocate_bcond_true): ... it.
12660 (can_relocate_bcond_false): New function.
12661 (foo): Likewise.
12662 (can_relocate_bl): Likewise.
12663 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
12664 can_relocate_bl.
12665
12666 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
12667
12668 * gdb.base/nested-addr.c: New file.
12669 * gdb.base/nested-addr.exp: New testcase.
12670
12671 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
12672
12673 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
12674 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
12675 its output. Ignore the output of "record goto begin" and instead
12676 check that GDB is replaying.
12677
12678 2015-10-09 Pedro Alves <palves@redhat.com>
12679
12680 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
12681 (top level): Use it in the run with no args test.
12682
12683 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
12684
12685 * gdb.dlang/properties.exp: New file.
12686
12687 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
12688
12689 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
12690 whether or not address 0x1000 is mapped on the target.
12691
12692 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
12693
12694 * gdb.python/py-type.exp: Do not run tests if binaries fail to
12695 build.
12696
12697 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
12698
12699 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
12700 instruction-history test.
12701
12702 2015-09-28 Doug Evans <dje@google.com>
12703
12704 * gdb.base/gcore.c (array_func): Add reference to static_array.
12705
12706 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
12707
12708 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
12709 source line.
12710
12711 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
12712
12713 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
12714 short or char as base type.
12715
12716 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
12717
12718 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
12719 to allow any size enum.
12720
12721 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
12722
12723 * gdb.ada/array_ptr_renaming.exp: New testcase.
12724 * gdb.ada/array_ptr_renaming/foo.adb: New file.
12725 * gdb.ada/array_ptr_renaming/pack.ads: New file.
12726
12727 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12728
12729 * gdb.trace/ftrace-lock.c: New file.
12730 * gdb.trace/ftrace-lock.exp: New file.
12731
12732 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12733
12734 * gdb.arch/insn-reloc.c: New file.
12735 * gdb.arch/ftrace-insn-reloc.exp: New file.
12736
12737 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12738
12739 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
12740 instruction.
12741 * gdb.trace/pendshr1.c (pendfunc): Likewise.
12742 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
12743 * gdb.trace/range-stepping.c: Likewise.
12744 * gdb.trace/trace-break.c: Likewise.
12745 * gdb.trace/trace-mt.c (thread_function): Likewise.
12746 * gdb.trace/ftrace.c (marker): Likewise.
12747 * gdb.trace/trace-condition.c (marker): Likewise.
12748 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
12749 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
12750 is_aarch64_target.
12751
12752 2015-09-18 Doug Evans <xdje42@gmail.com>
12753
12754 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
12755 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
12756
12757 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12758
12759 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
12760 the breakpoint.
12761
12762 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12763
12764 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
12765 the pending breakpoint. Remove timeout override for "Run till
12766 MI pending breakpoint on pendfunc3 on thread 2" test.
12767
12768 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12769
12770 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
12771 filename pattern.
12772
12773 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12774
12775 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
12776 in breakpoint filename pattern.
12777
12778 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12779
12780 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
12781
12782 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12783
12784 * gdb.linespec/explicit.exp: Check for readline support for
12785 tab-completion tests. Fix obvious typo.
12786
12787 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
12788
12789 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
12790 and replay.
12791
12792 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
12793
12794 * gdb.btrace/non-stop.c: New.
12795 * gdb.btrace/non-stop.exp: New.
12796
12797 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
12798 Yao Qi <yao.qi@linaro.org>
12799
12800 * gdb.trace/trace-condition.c: New file.
12801 * gdb.trace/trace-condition.exp: New file.
12802
12803 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
12804
12805 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
12806 for testing bytecode compilation.
12807
12808 2015-09-16 Pedro Alves <palves@redhat.com>
12809 Sandra Loosemore <sandra@codesourcery.com>
12810
12811 * gdb.threads/non-stop-fair-events.c (timeout): New global.
12812 (SECONDS): Redefine.
12813 (main): Call pthread_kill and alarm early.
12814 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
12815 support.
12816 (test): If the target can't hardware step and doesn't support
12817 displaced stepping, increase the timeout.
12818
12819 2015-09-16 Pedro Alves <palves@redhat.com>
12820
12821 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
12822 (enable_debug): New procedures.
12823 (test): Use them. Bail out if waiting for threads fails.
12824 (top level): Bail out if a test fails.
12825
12826 2015-09-16 Yao Qi <yao.qi@linaro.org>
12827
12828 * gdb.asm/asm-source.exp: Set asm-arch for
12829 aarch64*-*-* target.
12830 * gdb.asm/aarch64.inc: New file.
12831
12832 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
12833
12834 * gdb.ada/array_of_variable_length.exp: New testcase.
12835 * gdb.ada/array_of_variable_length/foo.adb: New file.
12836 * gdb.ada/array_of_variable_length/pck.adb: New file.
12837 * gdb.ada/array_of_variable_length/pck.ads: New file.
12838
12839 2015-09-15 Doug Evans <dje@google.com>
12840
12841 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
12842 of function static local variable.
12843
12844 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
12845
12846 * gdb.threads/tls-so_extern.exp: New test file.
12847 * gdb.threads/tls-so_extern.c: New test file.
12848 * gdb.threads/tls-so_extern_main.c: New test file.
12849
12850 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12851
12852 * gdb.opt/solib-intra-step-lib.c: New file.
12853 * gdb.opt/solib-intra-step-main.c: New file.
12854 * gdb.opt/solib-intra-step.exp: New file.
12855
12856 2015-09-15 Pedro Alves <palves@redhat.com>
12857
12858 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
12859 gdb_continue_to_breakpoint instead of gdb_test_multiple.
12860
12861 2015-09-14 Pedro Alves <palves@redhat.com>
12862
12863 * gdb.base/hook-stop-continue.c: Delete.
12864 * gdb.base/hook-stop-continue.exp: Delete.
12865 * gdb.base/hook-stop-frame.c: Delete.
12866 * gdb.base/hook-stop-frame.exp: Delete.
12867 * gdb.base/hook-stop.c: New file.
12868 * gdb.base/hook-stop.exp: New file.
12869
12870 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
12871
12872 * gdb.ada/access_to_packed_array.exp: New testcase.
12873 * gdb.ada/access_to_packed_array/foo.adb: New file.
12874 * gdb.ada/access_to_packed_array/pack.adb: New file.
12875 * gdb.ada/access_to_packed_array/pack.ads: New file.
12876
12877 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
12878
12879 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
12880 buffer size test.
12881
12882 2015-09-11 Don Breazeal <donb@codesourcery.com>
12883
12884 * gdb.base/foll-exec.c: Add copyright header. Fix
12885 formatting issues.
12886 * gdb.base/foll-exec.exp (zap_session): Delete proc.
12887 (do_exec_tests): Use clean_restart in place of zap_session,
12888 and for test initialization. Fix formatting issues. Use
12889 fail in place of perror.
12890 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
12891 an expect statement to match an expression with output from
12892 the program under debug.
12893 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
12894 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
12895 * gdb.threads/non-ldr-exc-2.exp: Likewise.
12896 * gdb.threads/non-ldr-exc-3.exp: Likewise.
12897 * gdb.threads/non-ldr-exc-4.exp: Likewise.
12898
12899 2015-09-09 Doug Evans <dje@google.com>
12900
12901 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
12902
12903 2015-09-09 Doug Evans <dje@google.com>
12904
12905 * gdb.base/pie-execl.exp: Fix result test of build_executable.
12906
12907 2015-09-09 Doug Evans <dje@google.com>
12908
12909 * gdb.base/savedregs.exp: Fix typo.
12910
12911 2015-09-09 Pedro Alves <palves@redhat.com>
12912
12913 * gdb.mi/mi-cli.exp: Add CLI finish tests.
12914
12915 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
12916
12917 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
12918 command actually switches threads. Give up on remaining
12919 tests if target fails to stop at breakpoint.
12920
12921 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
12922
12923 * gdb.ada/funcall_char.exp: New testcase.
12924 * gdb.ada/funcall_char/foo.adb: New file.
12925
12926 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
12927
12928 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
12929 expected outputs. Add two testcases for completing ambiguous
12930 functions.
12931 * gdb.ada/complete/aux_pck.adb: New file.
12932 * gdb.ada/complete/aux_pck.ads: New file.
12933 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
12934 Ambiguous_Func functions.
12935 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
12936 * gdb.ada/complete/pck.adb: Likewise.
12937
12938 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
12939
12940 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
12941 failures to run the test program under GDB.
12942
12943 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
12944
12945 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
12946 to C.
12947
12948 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
12949
12950 * gdb.base/run-after-attach.exp: New test file.
12951 * gdb.base/run-after-attach.c: New test file.
12952
12953 2015-08-26 Don Breazeal <donb@codesourcery.com>
12954
12955 * gdb.base/foll-exec-2.c: New test program.
12956 * gdb.base/foll-exec-2.exp: New test.
12957
12958 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
12959
12960 * gdb.base/nested-subp1.exp: New file.
12961 * gdb.base/nested-subp1.c: New file.
12962 * gdb.base/nested-subp2.exp: New file.
12963 * gdb.base/nested-subp2.c: New file.
12964 * gdb.base/nested-subp3.exp: New file.
12965 * gdb.base/nested-subp3.c: New file.
12966
12967 2015-08-24 Pedro Alves <palves@redhat.com>
12968
12969 * gdb.server/connect-without-multi-process.c: New file.
12970 * gdb.server/connect-without-multi-process.exp: New file.
12971
12972 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
12973
12974 * gdb.opt/inline-markers.c: Make z int.
12975
12976 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
12977
12978 * gdb.opt/inline-markers.c: Make z volatile.
12979
12980 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
12981
12982 * gdb.opt/inline-bt.c: New volatile global z.
12983 * gdb.opt/inline-cmds.c: Likewise.
12984 * gdb.opt/inline-locals.c: Likewise.
12985 * gdb.opt/inline-markers.c: New extern global z.
12986 (marker): Use z.
12987 (inline_fn): Likewise.
12988
12989 2015-08-24 Pedro Alves <palves@redhat.com>
12990
12991 * config/m32r-stub.exp: Remove file.
12992 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
12993 * gdb.base/call-rt-st.exp: Likewise.
12994 * gdb.base/call-strs.exp: Likewise.
12995 * gdb.base/default.exp: Remove references to h8300-*-hms and
12996 *-*-udi*.
12997 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
12998
12999 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
13000
13001 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
13002 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
13003 and "return" use KFAIL when GDB can not read/write the vector
13004 return value.
13005
13006 2015-08-21 Gary Benson <gbenson@redhat.com>
13007
13008 * gdb.trace/pending.exp: Cope with remote transfer warnings.
13009
13010 2015-08-20 Pedro Alves <palves@redhat.com>
13011
13012 * gdb.server/solib-list.exp: No longer expect an interior stop in
13013 non-stop mode.
13014
13015 2015-08-20 Pedro Alves <palves@redhat.com>
13016
13017 * gdb.server/connect-stopped-target.c: New file.
13018 * gdb.server/connect-stopped-target.exp: New file.
13019
13020 2015-08-20 Pedro Alves <palves@redhat.com>
13021
13022 * gdb.dwarf2/comp-unit-lang.exp: New file.
13023 * gdb.dwarf2/comp-unit-lang.c: New file.
13024
13025 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
13026
13027 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
13028 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
13029
13030 2015-08-19 Kevin Buettner <kevinb@redhat.com>
13031
13032 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
13033 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
13034
13035 2015-08-18 Doug Evans <dje@google.com>
13036 Adrian Sendroiu <adrian.sendroiu@freescale.com>
13037
13038 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
13039 skip_python_tests. New arg prompt_regexp.
13040 (skip_python_tests): New function.
13041 * lib/mi-support.exp (mi_skip_python_tests): New function.
13042 * gdb.python/py-mi-objfile-gdb.py: New file.
13043 * gdb.python/py-mi-objfile.c: New file.
13044 * gdb.python/py-mi-objfile.exp: New file.
13045
13046 2015-08-17 Keith Seitz <keiths@redhat.com>
13047
13048 * gdb.linespec/explicit.exp: Move strace test from here ...
13049 * gdb.trace/strace.exp: ... to here.
13050
13051 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
13052
13053 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
13054 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
13055
13056 2015-08-14 Doug Evans <xdje42@gmail.com>
13057
13058 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
13059 inferior before selecting a new file.
13060
13061 2015-08-14 Doug Evans <xdje42@gmail.com>
13062
13063 * gdb.mi/mi-disassemble.exp: Update.
13064 * gdb.base/disasm-optim.S: New file.
13065 * gdb.base/disasm-optim.c: New file.
13066 * gdb.base/disasm-optim.h: New file.
13067 * gdb.base/disasm-optim.exp: New file.
13068
13069 2015-08-14 Keith Seitz <keiths@redhat.com>
13070
13071 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
13072 "evaluated-by".
13073
13074 2015-08-13 Joel Brobecker <brobecker@adacore.com>
13075
13076 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
13077
13078 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
13079
13080 * gdb.ada/fun_renaming.exp: New testcase.
13081 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
13082 * gdb.ada/fun_renaming/pack.adb: New file.
13083 * gdb.ada/fun_renaming/pack.ads: New file.
13084
13085 2015-08-12 Keith Seitz <keiths@redhat.com>
13086
13087 * gdb.base/dso2dso.exp: Pass basename of source file in call to
13088 gdb_get_line_number.
13089
13090 2015-08-12 Joel Brobecker <brobecker@adacore.com>
13091
13092 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
13093 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
13094 gdb.base/dso2dso.exp: New files.
13095
13096 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
13097 Pedro Alves <palves@redhat.com>
13098 Keith Seitz <keiths@redhat.com>
13099
13100 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
13101 GDBFLAGS.
13102
13103 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
13104
13105 * gdb.base/gdbhistsize-history.exp
13106 (test_histsize_history_setting): Use save_vars.
13107 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13108 Use save_vars.
13109 (test_no_truncation_of_unlimited_history_file): Use save_vars.
13110 * gdb.base/readline.exp: Use save_vars.
13111
13112 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
13113
13114 * lib/gdb.exp (save_vars): New proc.
13115
13116 2015-08-11 Keith Seitz <keiths@redhat.com>
13117
13118 * gdb.base/help.exp: Update help_breakpoint_text.
13119
13120 2015-08-11 Keith Seitz <keiths@redhat.com>
13121
13122 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
13123 (at toplevel): Call test_explicit_breakpoints.
13124 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
13125 breakpoints.
13126 * lib/mi-support.exp (mi_make_breakpoint): Add support for
13127 breakpoint conditions, "-cond".
13128
13129 2015-08-11 Keith Seitz <keiths@redhat.com>
13130
13131 * gdb.linespec/3explicit.c: New file.
13132 * gdb.linespec/cpexplicit.cc: New file.
13133 * gdb.linespec/cpexplicit.exp: New file.
13134 * gdb.linespec/explicit.c: New file.
13135 * gdb.linespec/explicit.exp: New file.
13136 * gdb.linespec/explicit2.c: New file.
13137 * gdb.linespec/ls-errs.exp: Add explicit location tests.
13138 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
13139 before using in the matching pattern.
13140 Clarify that `prefix' is a regular expression.
13141
13142 2015-08-11 Keith Seitz <keiths@redhat.com>
13143
13144 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
13145 test.
13146 Add tests for missing ",FMT" and ",".
13147
13148 2015-08-10 Doug Evans <dje@google.com>
13149 Keith Seitz <keiths@redhat.com>
13150
13151 PR gdb/17960
13152 * gdb.base/completion.exp: Add location completer tests.
13153
13154 2015-08-07 Pedro Alves <palves@redhat.com>
13155
13156 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
13157 tests here.
13158 (top level): Run do_test with and without displaced stepping.
13159
13160 2015-08-07 Pedro Alves <palves@redhat.com>
13161
13162 * gdb.base/valgrind-disp-step.c: New file.
13163 * gdb.base/valgrind-disp-step.exp: New file.
13164
13165 2015-08-07 Pedro Alves <palves@redhat.com>
13166
13167 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
13168 Delete function.
13169 (main): Add alarm. Run an infinite loop instead of calling
13170 wait_threads.
13171 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
13172 comment.
13173 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
13174 Delete function.
13175 (main): Add alarm. Run an infinite loop instead of calling
13176 wait_threads.
13177 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
13178 comment.
13179
13180 2015-08-07 Pedro Alves <palves@redhat.com>
13181
13182 * gdb.base/checkpoint-ns.exp: New file.
13183 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
13184 standard_testfile.
13185
13186 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
13187
13188 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
13189 * gdb.btrace/instruction_history.exp: Update.
13190 * gdb.btrace/tsx.exp: New.
13191 * gdb.btrace/tsx.c: New.
13192
13193 2015-08-06 Pedro Alves <palves@redhat.com>
13194
13195 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
13196 increase timeout.
13197 * gdb.reverse/until-precsave.exp: Bump timeouts.
13198
13199 2015-08-06 Pedro Alves <palves@redhat.com>
13200
13201 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
13202
13203 2015-08-06 Pedro Alves <palves@redhat.com>
13204
13205 PR gdb/18749
13206 * gdb.threads/process-dies-while-handling-bp.c: New file.
13207 * gdb.threads/process-dies-while-handling-bp.exp: New file.
13208
13209 2015-08-06 Pedro Alves <palves@redhat.com>
13210
13211 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
13212 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
13213
13214 2015-08-05 Pedro Alves <palves@redhat.com>
13215
13216 * gdb.threads/next-while-other-thread-longjmps.c: New file.
13217 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
13218
13219 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
13220
13221 * gdb.base/bp-permanent.exp: Report test as unsupported if
13222 the target cannot stop at the permanent breakpoint.
13223
13224 2015-08-03 Doug Evans <dje@google.com>
13225
13226 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
13227 10000.
13228
13229 2015-08-03 Doug Evans <dje@google.com>
13230
13231 * Makefile.in (workers/%.worker, build-perf): New rule.
13232 (GDB_PERFTEST_MODE): New variable.
13233 (check-perf): Use it.
13234 (clean): Clean up gdb.perf parallel build subdirs.
13235 * lib/build-piece.exp: New file.
13236 * lib/gdb.exp (make_gdb_parallel_path): New function
13237 (standard_output_file, standard_temp_file): Call it.
13238 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13239 of $GDB_PARALLEL.
13240 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
13241
13242 2015-08-03 Doug Evans <dje@google.com>
13243
13244 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
13245 (LOG_FILE_NAME): New global.
13246 (TextReporter.__init__): Initialize self.txt_sum.
13247 (TextReporter.report): Add support for multiple data-points.
13248 Move report to perftest.sum, put raw data in perftest.log.
13249 (TextReporter.start): Open sum and log files.
13250 (TextReporter.end): Close sum and log files.
13251 * gdb.perf/lib/perftest/testresult.py
13252 (SingleStatisticTestResult.record): Handle multiple data-points.
13253
13254 2015-07-31 Pedro Alves <palves@redhat.com>
13255
13256 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
13257 Use spawn_id_get_pid. Wait for spawn id after eof. Use
13258 kill_wait_spawned_process instead of explicit "kill -9".
13259 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
13260 returning a spawn id instead of a pid. Use spawn_id_get_pid and
13261 kill_wait_spawned_process.
13262 * gdb.base/attach-twice.exp: Likewise.
13263 * gdb.base/attach.exp: Likewise.
13264 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
13265 gdb_test_multiple.
13266 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
13267 returning a spawn id instead of a pid. Use spawn_id_get_pid and
13268 kill_wait_spawned_process.
13269 * gdb.base/valgrind-infcall.exp: Likewise.
13270 * gdb.multi/multi-attach.exp: Likewise.
13271 * gdb.python/py-prompt.exp: Likewise.
13272 * gdb.python/py-sync-interp.exp: Likewise.
13273 * gdb.server/ext-attach.exp: Likewise.
13274 * gdb.threads/attach-into-signal.exp (corefunc): Use
13275 spawn_wait_for_attach, spawn_id_get_pid and
13276 kill_wait_spawned_process.
13277 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
13278 spawn_wait_for_attach returning a spawn id instead of a pid. Use
13279 spawn_id_get_pid and kill_wait_spawned_process.
13280 * gdb.threads/attach-stopped.exp (corefunc): Use
13281 spawn_wait_for_attach, spawn_id_get_pid and
13282 kill_wait_spawned_process.
13283 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
13284 Use spawn_id_get_pid. Wait for spawn id after eof. Use
13285 kill_wait_spawned_process instead of explicit "kill -9".
13286 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
13287 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
13288 (spawn_wait_for_attach): Use spawn instead of exec to spawn
13289 processes. Don't map cygwin/windows pids here. Now returns a
13290 spawn id list.
13291
13292 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
13293
13294 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
13295 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
13296 correct patch.
13297
13298 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
13299
13300 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
13301
13302 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
13303
13304 Reapply:
13305 2014-05-21 Mark Wielaard <mjw@redhat.com>
13306
13307 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
13308
13309 2015-07-30 Pedro Alves <palves@redhat.com>
13310
13311 * linux-low.c (handle_extended_wait): Set the child's last
13312 reported status to TARGET_WAITKIND_STOPPED.
13313
13314 2015-07-30 Pedro Alves <palves@redhat.com>
13315
13316 PR threads/18600
13317 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
13318 only shows inferior 1.
13319
13320 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
13321 Pedro Alves <palves@redhat.com>
13322
13323 PR threads/18600
13324 * gdb.threads/fork-plus-threads.c: New file.
13325 * gdb.threads/fork-plus-threads.exp: New file.
13326
13327 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13328
13329 * gdb.base/batch-preserve-term-settings.exp
13330 (test_terminal_settings_preserved_after_cli_exit): Use
13331 send_quit_command.
13332
13333 2015-07-29 Pedro Alves <palves@redhat.com>
13334 Don Breazeal <donb@codesourcery.com>
13335
13336 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
13337 output from both inferior_spawn_id and gdb_spawn_id.
13338
13339 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
13340
13341 * gdb.threads/attach-into-signal.exp (corefunc): Use
13342 with_test_prefix on nested loops, uniquefying the test messages.
13343
13344 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
13345
13346 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
13347 commit.
13348
13349 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13350
13351 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
13352 New proc.
13353 (test_terminal_settings_preserved_after_sigterm): New test.
13354
13355 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13356
13357 * gdb.base/batch-preserve-term-settings.exp
13358 (test_terminal_settings_preserved_after_cli_exit): New test.
13359
13360 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13361
13362 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
13363 manipulation of saved_gdbflags.
13364 (test_terminal_settings_preserved): Remove global declaration of
13365 the unused variable pagination_prompt. Remove manipulation of
13366 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
13367 GDBFLAGS.
13368
13369 2015-07-29 Pedro Alves <palves@redhat.com>
13370
13371 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
13372
13373 2015-07-29 Pedro Alves <palves@redhat.com>
13374
13375 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
13376 at the top.
13377
13378 2015-07-29 Pedro Alves <palves@redhat.com>
13379
13380 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
13381 (main): Call gdb_unbuffer_output.
13382 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
13383 (main): Call gdb_unbuffer_output.
13384 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
13385 (main): Call gdb_unbuffer_output.
13386 * gdb.base/call-strs.exp: Adjust to step over the
13387 gdb_unbuffer_output call.
13388 * gdb.base/catch-gdb-caused-signals.c: Include
13389 "../lib/unbuffer_output.c".
13390 (main): Call gdb_unbuffer_output.
13391 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
13392 (main): Call gdb_unbuffer_output.
13393 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
13394 (main): Call gdb_unbuffer_output.
13395 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
13396 (main): Call gdb_unbuffer_output.
13397 * gdb.base/shlib-call.exp: Adjust to step over the
13398 gdb_unbuffer_output call.
13399 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
13400 (main): Call gdb_unbuffer_output.
13401 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
13402 (main): Call gdb_unbuffer_output.
13403 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
13404 (main): Rename to ...
13405 (test): ... this.
13406 (main): Reimplement.
13407 * gdb.base/varargs.exp: Run to test instead of to main.
13408 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
13409 (main): Call gdb_unbuffer_output.
13410
13411 2015-07-29 Pedro Alves <palves@redhat.com>
13412
13413 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
13414 factore out from mi_continue_dprintf. For call-style dprintfs,
13415 expect dprintf output out of $inferior_spawn_id.
13416 (mi_continue_dprintf): Use mi_expect_dprintf.
13417 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
13418 (main): Call gdb_unbuffer_output.
13419
13420 2015-07-29 Pedro Alves <palves@redhat.com>
13421
13422 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
13423 (default_mi_gdb_start): Set inferior_spawn_id instead of
13424 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
13425 gdb_spawn_id.
13426 (mi_gdb_test): Always expect inferior output from both
13427 $inferior_spawn_id and $gdb_spawn_id.
13428
13429 2015-07-29 Pedro Alves <palves@redhat.com>
13430
13431 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
13432 send_inferior and $inferior_spawn_id.
13433
13434 2015-07-29 Pedro Alves <palves@redhat.com>
13435
13436 * gdb.gdb/complaints.exp (test_initial_complaints)
13437 (test_serial_complaints, test_short_complaints): Use
13438 gdb_test_stdio.
13439 (test_empty_complaint): Handle $inferior_spawn_id !=
13440 $gdb_spawn_id.
13441
13442 2015-07-29 Pedro Alves <palves@redhat.com>
13443
13444 * gdb.base/varargs.exp: Use gdb_test_stdio.
13445
13446 2015-07-29 Pedro Alves <palves@redhat.com>
13447
13448 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
13449
13450 2015-07-29 Pedro Alves <palves@redhat.com>
13451
13452 * gdb.base/ending-run.exp: Use gdb_test_stdio.
13453
13454 2015-07-29 Pedro Alves <palves@redhat.com>
13455
13456 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
13457 parameter into two new parameters, "inf_result" and "gdb_result".
13458 Expect inferior output and gdb output from $inferior_spawn_id and
13459 $gdb_spawn_id, respectively. Adjust all callers.
13460
13461 2015-07-29 Pedro Alves <palves@redhat.com>
13462
13463 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
13464 of gdb_test_sequence.
13465
13466 2015-07-29 Pedro Alves <palves@redhat.com>
13467
13468 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
13469 (saw_spurious_output): Expect inferior output from
13470 $inferior_spawn_id. Use gdb_test_stdio.
13471
13472 2015-07-29 Pedro Alves <palves@redhat.com>
13473
13474 * gdb.base/dprintf.exp: Use standard_testfile. Change
13475 prepare_for_testing call.
13476 (srcfile): Don't set.
13477 (restart): New procedure.
13478 (test_dprintf): New procecure, use to continue over dprintfs.
13479 (test_call, test_agent): New procedures, tests moved here.
13480 Restart gdb and recreate dprintfs. Adjust expected output.
13481
13482 2015-07-29 Pedro Alves <palves@redhat.com>
13483
13484 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
13485
13486 2015-07-29 Pedro Alves <palves@redhat.com>
13487
13488 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
13489
13490 2015-07-29 Pedro Alves <palves@redhat.com>
13491
13492 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
13493 gdb_test_stdio.
13494
13495 2015-07-29 Pedro Alves <palves@redhat.com>
13496
13497 * lib/gdb.exp (gdb_test_stdio): New procedure.
13498
13499 2015-07-29 Pedro Alves <palves@redhat.com>
13500
13501 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
13502
13503 2015-07-29 Pedro Alves <palves@redhat.com>
13504
13505 * gdb.base/call-signal-resume.exp: Remove check for
13506 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
13507 * gdb.base/unwindonsignal.exp: Likewise.
13508 * gdb.base/call-signals.c (gen_signal): Remove printf call.
13509 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
13510
13511 2015-07-29 Pedro Alves <palves@redhat.com>
13512
13513 * gdb.base/siginfo-addr.c (pass): New function.
13514 (handler): Call it iff si_addr is correct.
13515 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
13516 Set a breakpoint at "pass" and continue to it.
13517
13518 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
13519
13520 * gdb.python/py-objfile.exp: Make some tests have unique names.
13521 * gdb.python/py-pp-registration.exp: Likewise.
13522
13523 2015-07-28 Pedro Alves <palves@redhat.com>
13524
13525 * gdb.server/server-exec-info.exp: Issue a "disconnect".
13526
13527 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
13528
13529 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
13530
13531 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
13532
13533 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
13534
13535 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
13536
13537 * gdb.base/gdb-sigterm-2.exp: New test.
13538
13539 2015-07-25 Doug Evans <xdje42@gmail.com>
13540
13541 Revert:
13542 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
13543 (workers/%.worker, build-perf): New rule.
13544 (GDB_PERFTEST_MODE): New variable.
13545 (check-perf): Use it.
13546 (clean): Clean up gdb.perf parallel build subdirs.
13547 * lib/build-piece.exp: New file.
13548 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
13549 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
13550 name.
13551 (standard_temp_file): Ditto.
13552 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13553 of $GDB_PARALLEL.
13554
13555 2015-07-24 Doug Evans <dje@google.com>
13556
13557 * gdb.perf/lib/perftest/utils.py: New file.
13558 * gdb.perf/gm-hello.cc: New file.
13559 * gdb.perf/gm-pervasive-typedef.cc: New file.
13560 * gdb.perf/gm-pervasive-typedef.h: New file.
13561 * gdb.perf/gm-std.cc: New file.
13562 * gdb.perf/gm-std.h: New file.
13563 * gdb.perf/gm-use-cerr.cc: New file.
13564 * gdb.perf/gm-utils.h: New file.
13565 * gdb.perf/gmonster-null-lookup.py: New file.
13566 * gdb.perf/gmonster-pervasive-typedef.py: New file.
13567 * gdb.perf/gmonster-print-cerr.py: New file.
13568 * gdb.perf/gmonster-ptype-string.py: New file.
13569 * gdb.perf/gmonster-runto-main.py: New file.
13570 * gdb.perf/gmonster-select-file.py: New file.
13571 * gdb.perf/gmonster1-null-lookup.exp: New file.
13572 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
13573 * gdb.perf/gmonster1-print-cerr.exp: New file.
13574 * gdb.perf/gmonster1-ptype-string.exp: New file.
13575 * gdb.perf/gmonster1-runto-main.exp: New file.
13576 * gdb.perf/gmonster1-select-file.exp: New file.
13577 * gdb.perf/gmonster1.cc: New file.
13578 * gdb.perf/gmonster1.exp: New file.
13579 * gdb.perf/gmonster2-null-lookup.exp: New file.
13580 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
13581 * gdb.perf/gmonster2-print-cerr.exp: New file.
13582 * gdb.perf/gmonster2-ptype-string.exp: New file.
13583 * gdb.perf/gmonster2-runto-main.exp: New file.
13584 * gdb.perf/gmonster2-select-file.exp: New file.
13585 * gdb.perf/gmonster2.cc: New file.
13586 * gdb.perf/gmonster2.exp: New file.
13587
13588 2015-07-24 Doug Evans <dje@google.com>
13589
13590 * gdb.perf/README: New file.
13591 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
13592 * lib/gen-perf-test.exp: New file.
13593
13594 2015-07-24 Doug Evans <dje@google.com>
13595
13596 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
13597 (PerfTest::startup): New function.
13598 (PerfTest::run): Return result of calling body.
13599 (PerfTest::assemble): Rewrite.
13600 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
13601 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
13602 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
13603 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
13604 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
13605
13606 2015-07-24 Doug Evans <dje@google.com>
13607
13608 * lib/gdb.exp (clean_restart): Make executable optional.
13609
13610 2015-07-24 Doug Evans <dje@google.com>
13611
13612 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
13613 compiler_info references.
13614 * gdb.cp/temargs.exp: Ditto.
13615 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
13616 (get_compiler_info): Early exit if already computed. Set compiler_info
13617 to "unknown" if there was a problem.
13618 (test_compiler_info): Add function comment. Call get_compiler_info.
13619
13620 2015-07-24 Doug Evans <dje@google.com>
13621
13622 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
13623 (workers/%.worker, build-perf): New rule.
13624 (GDB_PERFTEST_MODE): New variable.
13625 (check-perf): Use it.
13626 (clean): Clean up gdb.perf parallel build subdirs.
13627 * lib/build-piece.exp: New file.
13628 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
13629 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
13630 name.
13631 (standard_temp_file): Ditto.
13632 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13633 of $GDB_PARALLEL.
13634
13635 2015-07-24 Doug Evans <dje@google.com>
13636
13637 * lib/future.exp (gdb_default_target_compile): New option
13638 "early_flags".
13639 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
13640 --as-needed.
13641
13642 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
13643
13644 * gdb.base/catch-syscall.exp: Call gdb_exit before
13645 gdb_skip_xml_test.
13646
13647 2015-07-24 Pedro Alves <palves@redhat.com>
13648
13649 * gdb.python/py-events.exp: Accept output between the stop event
13650 and the prompt.
13651 * gdb.python/py-evsignal.exp: Likewise.
13652 * gdb.python/py-evthreads.exp: Likewise.
13653
13654 2015-07-24 Pedro Alves <palves@redhat.com>
13655
13656 PR gdb/18717
13657 * gdb.threads/non-ldr-exit.c: New file.
13658 * gdb.threads/non-ldr-exit.exp: New file.
13659
13660 2015-07-24 Yao Qi <yao.qi@linaro.org>
13661
13662 * gdb.server/ext-wrapper.exp: Test --wrapper option when
13663 restarting process.
13664
13665 2015-07-24 Yao Qi <yao.qi@linaro.org>
13666
13667 * gdb.server/ext-restart.exp: New file.
13668
13669 2015-07-24 Yao Qi <yao.qi@linaro.org>
13670
13671 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
13672 argument options.
13673 * gdb.server/ext-wrapper.exp: New file.
13674
13675 2015-07-23 Doug Evans <dje@google.com>
13676
13677 * gdb.dwarf2/dw2-dummy-cu.S: New file.
13678 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
13679
13680 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
13681
13682 * gdb.ada/var_arr_typedef.exp: New testcase.
13683 * gdb.ada/var_arr_typedef/pack.adb: New file.
13684 * gdb.ada/var_arr_typedef/pack.ads: New file.
13685 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
13686
13687 2015-07-20 Joel Brobecker <brobecker@adacore.com>
13688
13689 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
13690
13691 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13692
13693 * gdb.arch/i386-biarch-core.exp: Replace istarget
13694 by "complete set gnutarget". Remove expectation for the "core-file"
13695 command.
13696
13697 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13698
13699 Revert the previous commit:
13700 Tests for validate symbol file using build-id.
13701
13702 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
13703
13704 Tests for validate symbol file using build-id.
13705 * gdb.base/solib-mismatch-lib.c: New file.
13706 * gdb.base/solib-mismatch-libmod.c: New file.
13707 * gdb.base/solib-mismatch.c: New file.
13708 * gdb.base/solib-mismatch.exp: New file.
13709
13710 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
13711
13712 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
13713 nios2-*-linux*.
13714 * gdb.base/sigbpt.exp (stepi_out): Likewise.
13715 * gdb.base/siginfo.exp: Likewise.
13716 * gdb.base/sigstep.exp (advance, advancei): Likewise.
13717
13718 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
13719
13720 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
13721 Move it to ...
13722 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
13723 ... here.
13724 * gdb.trace/range-stepping.exp: Check that the target supports
13725 range stepping.
13726
13727 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13728
13729 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
13730
13731 2015-07-14 Pedro Alves <palves@redhat.com>
13732
13733 * gdb.base/killed-outside.exp: New file.
13734 * gdb.base/killed-outside.c: New file.
13735
13736 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
13737
13738 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
13739 (n at main): New.
13740 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
13741
13742 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
13743
13744 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
13745 infcall tests instead of setting up for KFAIL.
13746
13747 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
13748
13749 * gdb.btrace/record_goto-step.exp: New.
13750
13751 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13752
13753 PR compile/18484
13754 * gdb.compile/compile.c (struct struct_type): Add volatile to
13755 selffield's type.
13756 * gdb.compile/compile.exp
13757 (compile code struct_object.selffield = &struct_object): Skip further
13758 struct_object tests if this one xfails.
13759
13760 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
13761
13762 PR exp/18617
13763 * gdb.trace/ax.exp: Add test.
13764
13765 2015-07-07 Yao Qi <yao.qi@linaro.org>
13766
13767 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
13768 instead of istarget "aarch64*-*-*".
13769 * gdb.arch/aarch64-fp.exp: Likewise.
13770 * gdb.base/float.exp: Likewise.
13771 * gdb.reverse/aarch64.exp: Likewise.
13772 * lib/gdb.exp (is_aarch64_target): New proc.
13773
13774 2015-07-07 Yao Qi <yao.qi@linaro.org>
13775
13776 * lib/gdb.exp (is_aarch32_target): New proc.
13777 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
13778 instead of "istarget "arm*-*-*"".
13779 * gdb.arch/arm-disp-step.exp: Likewise.
13780 * gdb.arch/thumb-bx-pc.exp: Likewise.
13781 * gdb.arch/thumb-prologue.exp: Likewise.
13782 * gdb.arch/thumb-singlestep.exp: Likewise.
13783 * gdb.base/disp-step-syscall.exp: Likewise.
13784 * gdb.base/float.exp: Likewise.
13785
13786 2015-07-07 Yao Qi <yao.qi@linaro.org>
13787
13788 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
13789 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
13790
13791 2015-07-07 Yao Qi <yao.qi@linaro.org>
13792
13793 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
13794 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
13795 if it exists.
13796 * gdb.multi/multi-arch.exp: Likewise.
13797
13798 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
13799
13800 * gdb.python/py-lazy-string.exp: Add missing parentheses to
13801 print.
13802
13803 2015-07-07 Yao Qi <yao.qi@linaro.org>
13804
13805 * gdb.arch/thumb-singlestep.exp: Do one more single step.
13806
13807 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
13808
13809 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
13810 '[' and ']' characters.
13811
13812 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
13813
13814 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
13815
13816 2015-06-29 Pedro Alves <palves@redhat.com>
13817
13818 PR threads/18127
13819 * gdb.threads/hand-call-new-thread.c: New file.
13820 * gdb.threads/hand-call-new-thread.c: New file.
13821
13822 2015-06-26 Keith Seitz <keiths@redhat.com>
13823 Doug Evans <dje@google.com>
13824
13825 PR 16253
13826 * gdb.cp/var-tag-2.cc: New file.
13827 * gdb.cp/var-tag-3.cc: New file.
13828 * gdb.cp/var-tag-4.cc: New file.
13829 * gdb.cp/var-tag.cc: New file.
13830 * gdb.cp/var-tag.exp: New file.
13831
13832 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
13833
13834 * gdb.base/history-duplicates.exp: New test.
13835
13836 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
13837
13838 * gdb.base/completion.exp: Test the completion of the "focus"
13839 command.
13840
13841 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13842
13843 * gdb.arch/amd64-prologue-skip.S: New file.
13844 * gdb.arch/amd64-prologue-skip.exp: New file.
13845
13846 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
13847
13848 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
13849 is_address_zero_readable check.
13850
13851 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
13852
13853 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
13854 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
13855
13856 2015-06-24 Yao Qi <yao.qi@linaro.org>
13857
13858 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
13859 linux targets.
13860
13861 2015-06-24 Yao Qi <yao.qi@linaro.org>
13862
13863 * lib/gdb.exp (supports_get_siginfo_type): New proc.
13864 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
13865 * gdb.base/siginfo-thread.exp: Likewise.
13866
13867 2015-06-22 Yao Qi <yao.qi@linaro.org>
13868
13869 * boards/remote-gdbserver-on-localhost.exp: Add comments.
13870
13871 2015-06-22 Yao Qi <yao.qi@linaro.org>
13872
13873 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
13874 aarch64*-*-*.
13875 (skip_hw_watchpoint_tests): Likewise.
13876
13877 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
13878
13879 * gdb.base/gdbinit-history.exp: Test the interaction between
13880 setting GDBHISTSIZE and setting the history size via .gdbinit.
13881
13882 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13883
13884 PR gdb/16999
13885 * gdb.base/gdbhistsize-history.exp: New test.
13886
13887 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13888
13889 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
13890 with GDBHISTSIZE.
13891 * gdb.base/readline.exp: Likewise.
13892
13893 2015-06-17 Yao Qi <yao.qi@linaro.org>
13894
13895 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
13896 line.
13897
13898 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13899
13900 * gdb.base/gdbinit-history.exp: Add test case to check that
13901 an unlimited history file does not get truncated on exit.
13902
13903 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13904
13905 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
13906 (VECTOR): New macro. Use it...
13907 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
13908 ...for these typedefs.
13909 (int8, char1, int1, double1): New typedefs.
13910 (struct just_int2, struct two_int2): New structures.
13911 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
13912 (add_structvecs, add_singlevecs): New functions.
13913 (main): Call add_some_intvecs twice.
13914 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
13915 the compile and exit upon failure. Try compiling for the "native"
13916 architecture. Test inferior function calls with vector arguments
13917 and vector return value handling with "finish" and "return".
13918
13919 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
13920
13921 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
13922 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
13923 PE file.
13924 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
13925
13926 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
13927
13928 PR breakpoints/16465
13929 * gdb.mi/mi-dprintf-pending.c: New file.
13930 * gdb.mi/mi-dprintf-pending.exp: New test.
13931 * gdb.mi/mi-dprintf-pendshr.c: New file.
13932
13933 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13934 Mircea Gherzan <mircea.gherzan@intel.com>
13935
13936 * gdb.arch/i386-mpx-map.c: New file.
13937 * gdb.arch/i386-mpx-map.exp: New File.
13938
13939 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13940
13941 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
13942 * gdb.arch/i386-mpx.exp: Indentation fixed.
13943
13944 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13945
13946 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
13947 function and improved indentation.
13948 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
13949 gdb_test_multiple. Added additional tests to skip the test.
13950
13951 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13952
13953 * gdb.arch/i386-avx512.c: Change path in include file.
13954 * gdb.arch/i386-avx512.exp: Change include dir path
13955 compilation flag.
13956 * gdb.arch/i386-mpx.c: Change path in include file.
13957 * gdb.arch/i386-mpx.exp: Change include dir path compilation
13958 flag.
13959
13960 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
13961
13962 * gdb.compile/compile-print.exp (compile print *vararray@3)
13963 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
13964
13965 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13966
13967 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
13968 (do not keep jit in memory): ... this.
13969 (expect 5): Change it to ...
13970 (expect no 5): ... this.
13971
13972 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
13973
13974 PR gdb/15564
13975 * gdb.mi/mi-detach.exp: New file.
13976
13977 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13978
13979 PR symtab/18392
13980 * gdb.arch/amd64-tailcall-self.S: New file.
13981 * gdb.arch/amd64-tailcall-self.c: New file.
13982 * gdb.arch/amd64-tailcall-self.exp: New file.
13983
13984 2015-05-28 Don Breazeal <donb@codesourcery.com>
13985
13986 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
13987 tests for remote targets by checking is_target_gdbserver.
13988
13989 2015-05-27 Doug Evans <dje@google.com>
13990
13991 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
13992 * gdb.dwarf2/opaque-type-lookup.c: New file.
13993 * gdb.dwarf2/opaque-type-lookup.exp: New file.
13994
13995 2015-05-26 Doug Evans <dje@google.com>
13996
13997 * gdb.cp/iostream.cc: New file.
13998 * gdb.cp/iostream.exp: New file.
13999
14000 2015-05-26 Doug Evans <dje@google.com>
14001
14002 * gdb.dwarf2/dw2-op-call.exp: Update.
14003 * gdb.dwarf2/dw4-sig-types.exp: Update.
14004 * gdb.dwarf2/implptr.exp: Update.
14005 * gdb.mi/mi-cmd-param-changed.exp: Update.
14006
14007 2015-05-26 Doug Evans <dje@google.com>
14008
14009 * gdb.python/py-lazy-string.c: New file.
14010 * gdb.python/py-lazy-string.exp: New file.
14011 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
14012 (main): Update. Add estring3.
14013 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
14014 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
14015
14016 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
14017 Yao Qi <yao.qi@linaro.org>
14018
14019 * gdb.reverse/aarch64.c: New.
14020 * gdb.reverse/aarch64.exp: New.
14021
14022 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
14023
14024 * lib/gdb.exp (supports_process_record): Return true for
14025 aarch64*-linux*.
14026 (supports_reverse): Likewise.
14027
14028 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
14029
14030 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
14031 Use with_test_prefix.
14032
14033 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
14034
14035 * gdb.base/completion.exp: Add test for completion of layout
14036 names.
14037
14038 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
14039
14040 * lib/gdb.exp (skip_tui_tests): New proc.
14041 * gdb.base/tui-layout.exp: Check skip_tui_tests.
14042
14043 2015-05-19 Pedro Alves <palves@redhat.com>
14044
14045 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
14046 Save the whole env array instead of just HOME. Unset HISTSIZE in
14047 the environment while testing. Restore whole environment
14048 afterwards.
14049
14050 2015-05-16 Doug Evans <xdje42@gmail.com>
14051
14052 * gdb.guile/scm-ports.c: New file.
14053 * gdb.guile/scm-ports.exp: Add memory port tests.
14054
14055 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14056
14057 * gdb.compile/compile-print.c: New file.
14058 * gdb.compile/compile-print.exp: New file.
14059
14060 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14061
14062 * gdb.compile/compile-ops.exp: Cast param to void.
14063 * gdb.compile/compile.exp: Complete type for _gdb_expr.
14064 (compile code struct_object.selffield = &struct_object): Add xfail.
14065
14066 2015-05-15 Joel Brobecker <brobecker@adacore.com>
14067
14068 * gdb.ada/arr_enum_with_gap: New testcase.
14069
14070 2015-05-15 Joel Brobecker <brobecker@adacore.com>
14071
14072 * gdb.ada/byte_packed_arr: New testcase.
14073
14074 2015-05-15 Joel Brobecker <brobecker@adacore.com>
14075
14076 * gdb.ada/pckd_neg: New testcase.
14077
14078 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
14079
14080 PR gdb/17820
14081 * gdb.base/gdbinit-history.exp: New test.
14082 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
14083 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
14084
14085 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
14086
14087 * gdb.python/py-xmethods.cc: Enhance test case.
14088 * gdb.python/py-xmethods.exp: New tests.
14089 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
14090 function.
14091 (B_indexoper): Likewise.
14092 (global_dm_list) : Add new xmethod worker functions.
14093
14094 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
14095
14096 * gdb.base/coredump-filter.exp: Correctly unset
14097 "coredump_var_addr" array.
14098
14099 2015-05-08 Pedro Alves <palves@redhat.com>
14100
14101 * gdb.server/non-existing-program.exp: Unset spawn_id.
14102
14103 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
14104
14105 PR python/18291
14106 * gdb.python/py-xmethods.exp: Add tests.
14107
14108 2015-05-08 Yao Qi <yao.qi@linaro.org>
14109
14110 PR gdb/18208
14111 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
14112 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
14113 function set_coredump_filter, and remove remote_exec call.
14114 Remove argument ipid. Callers update.
14115 (top level): Don't get inferior's PID.
14116
14117 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
14118
14119 * gdb.base/watch_thread_num.exp: Skip test on targets without
14120 access watchpoints.
14121
14122 2015-05-06 Pedro Alves <palves@redhat.com>
14123
14124 PR server/18081
14125 * gdb.server/non-existing-program.exp: New file.
14126
14127 2015-05-05 Joel Brobecker <brobecker@adacore.com>
14128
14129 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
14130
14131 2015-05-05 Joel Brobecker <brobecker@adacore.com>
14132
14133 * gdb.ada/out_of_line_in_inlined: New testcase.
14134
14135 2015-05-05 Joel Brobecker <brobecker@adacore.com>
14136
14137 * gdb.ada/var_rec_arr: New testcase.
14138
14139 2015-04-30 Yao Qi <yao.qi@linaro.org>
14140
14141 * gdb.base/break-idempotent.exp: If
14142 skip_hw_watchpoint_multi_tests returns true, skip the tests
14143 on "rwatch" and "awatch".
14144
14145 2015-04-30 Yao Qi <yao.qi@linaro.org>
14146
14147 * gdb.base/relativedebug.exp: Invoke gdb command
14148 "info sharedlibrary", and if libc.so doesn't have debug info,
14149 skip the test.
14150
14151 2015-04-29 Doug Evans <dje@google.com>
14152
14153 * gdb.python/py-xmethods.exp: Add ptype tests.
14154 * gdb.python/py-xmethods.py (E_method_char_worker): Add
14155 get_result_type method.
14156
14157 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
14158
14159 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
14160 the target does not support hardware watchpoints.
14161
14162 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
14163
14164 * gdb.base/break-always.exp: Abort testing if writing to memory
14165 causes an error.
14166
14167 2015-04-28 Doug Evans <dje@google.com>
14168
14169 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
14170 * gdb.python/py-pp-registration.exp: ... here. New file.
14171 * gdb.python/py-pp-registration.c: New file.
14172 * gdb.python/py-pp-registration.py: New file.
14173
14174 2015-04-28 Doug Evans <dje@google.com>
14175
14176 * gdb.python/py-bad-printers.c: New file.
14177 * gdb.python/py-bad-printers.py: New file.
14178 * gdb.python/py-bad-printers.exp: New file.
14179
14180 2015-04-28 Sasha Smundak <asmundak@google.com>
14181
14182 * gdb.python/py-type.exp: New test.
14183
14184 2015-04-28 Andy Wingo <wingo@igalia.com>
14185
14186 * gdb.python/py-parameter.exp:
14187 * gdb.guile/scm-parameter.exp: Escape the path that we are
14188 matching against, as it might contain characters that are special
14189 to regular expressions.
14190
14191 2015-04-27 Joel Brobecker <brobecker@adacore.com>
14192
14193 * gdb.ada/rec_comp: New testcase.
14194
14195 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
14196
14197 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
14198 before using it.
14199
14200 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
14201
14202 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
14203 new tests for verilog output.
14204
14205 2015-04-24 Yao Qi <yao.qi@linaro.org>
14206
14207 * boards/remote-gdbserver-on-localhost.exp: New file.
14208
14209 2015-04-23 Pedro Alves <palves@redhat.com>
14210
14211 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
14212 $inferior_spawn_id instead of $inferior_spawn_id directly. On
14213 "end of file", remove $inferior_spawn_id from the indirect list.
14214
14215 2015-04-23 Pedro Alves <palves@redhat.com>
14216
14217 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
14218
14219 2015-04-23 Pedro Alves <palves@redhat.com>
14220
14221 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
14222 on $any_spawn_id instead of only on $gdb_spawn_id.
14223
14224 2015-04-21 Pierre Muller <muller@sourceware.org>
14225
14226 PR pascal/17815
14227 * lib/pascal.exp (gpc_compile): Add new option "class".
14228 (fpc_compile): Likewise.
14229 * gdb.pascal/case-insensitive-symbols.pas: New file.
14230 * gdb.pascal/case-insensitive-symbols.exp: New file.
14231
14232 2015-04-20 Gary Benson <gbenson@redhat.com>
14233
14234 * gdb.base/attach.exp: Fix three extended remote failures.
14235
14236 2015-04-17 Gary Benson <gbenson@redhat.com>
14237
14238 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
14239 the main executable over the remote protocol.
14240
14241 2015-04-16 Pedro Alves <palves@redhat.com>
14242
14243 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
14244 a new gdbserver if gdbserver_reconnect_p is set.
14245
14246 2015-04-16 Pedro Alves <palves@redhat.com>
14247
14248 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
14249 is set, don't exit gdbserver.
14250
14251 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
14252
14253 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
14254 appropriate .insn, such that an older assembler can be used.
14255 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
14256 the z/Architecture instruction set on 31-bit targets as well.
14257
14258 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
14259
14260 * gdb.go/handcall.exp: Remove all logic related to the first
14261 breakpoint and rely on go_runto_main instead.
14262 * gdb.go/strings.exp: Likewise.
14263 * gdb.go/unsafe.exp: Likewise.
14264 * gdb.go/hello.exp: Likewise. Also rename the remaining
14265 breakpoint marker to "breakpoint 1".
14266 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
14267 * gdb.go/strings.go: Likewise.
14268 * gdb.go/unsafe.go: Likewise.
14269 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
14270 "set breakpoint 2 here" and rename the remaining breakpoint marker
14271 to "breakpoint 1".
14272
14273 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
14274
14275 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
14276 if itertools.imap is not present.
14277 * gdb.python/py-objfile.exp: Add parentheses.
14278 * gdb.python/py-type.exp: Same.
14279 * gdb.python/py-unwind-maint.py: Same.
14280
14281 2015-04-15 Yao Qi <yao.qi@linaro.org>
14282
14283 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
14284 of ":$ptr_size" and set its form explicitly.
14285
14286 2015-04-15 Pedro Alves <palves@redhat.com>
14287 Yao Qi <yao.qi@linaro.org>
14288
14289 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
14290 timeout by factor of 4.
14291 (test_regular_watch): Likewise.
14292 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
14293 * gdb.reverse/sigall-reverse.exp: Likewise.
14294 * gdb.reverse/until-precsave.exp: Likewise.
14295 * lib/gdb.exp (with_timeout_factor): New proc.
14296 (gdb_expect): Move some code to ...
14297 (get_largest_timeout): ... here. New procedure.
14298
14299 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
14300
14301 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
14302
14303 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
14304
14305 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
14306 to write to the .text section.
14307
14308 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
14309
14310 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
14311 Handle the case of targets that do not provide PID information.
14312
14313 2015-04-13 Yao Qi <yao.qi@linaro.org>
14314
14315 * lib/gdbserver-support.exp (gdb_exit): Catch exception
14316 and use expect instead of gdb_expect.
14317
14318 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
14319
14320 * gdb.base/coredump-filter.exp: Rename variable "addr" to
14321 "coredump_var_addr" to avoid naming conflict with other testcases.
14322
14323 2015-04-10 Pedro Alves <palves@redhat.com>
14324
14325 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
14326 gdb_test_sequence and gdb_assert.
14327
14328 2015-04-10 Pedro Alves <palves@redhat.com>
14329
14330 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
14331 test messages that don't include the breakpoint address.
14332
14333 2015-04-10 Yao Qi <yao.qi@linaro.org>
14334
14335 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
14336 false for some offset and width combinations which aren't
14337 supported by linux kernel.
14338
14339 2015-04-10 Pedro Alves <palves@redhat.com>
14340
14341 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
14342 procedure, factored out from ...
14343 (top level): ... here. Add "set displaced-stepping" testing axis.
14344 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
14345 parameter "displaced". Use it.
14346 (top level): Use foreach and add "set displaced-stepping" testing
14347 axis.
14348
14349 2015-04-10 Pedro Alves <palves@redhat.com>
14350
14351 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
14352 Remove comment.
14353 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
14354 both the address of the instruction that triggers the watchpoint
14355 and the address of the instruction immediately after, and use
14356 those addresses for the test. Fix comment.
14357
14358 2015-04-10 Pedro Alves <palves@redhat.com>
14359
14360 * gdb.base/sigstep.exp (breakpoint_to_handler)
14361 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
14362 Test "backtrace" in handler.
14363 (breakpoint_over_handler): New parameter 'displaced'. Use it.
14364 (top level): Add new "displaced" test axis to
14365 breakpoint_to_handler, breakpoint_to_handler_entry and
14366 breakpoint_over_handler.
14367
14368 2015-04-10 Pedro Alves <palves@redhat.com>
14369
14370 PR gdb/18216
14371 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
14372
14373 2015-04-10 Yao Qi <yao.qi@linaro.org>
14374
14375 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
14376 (test_add_rn_pc): New function.
14377 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
14378 (top level): Invoke test_add_rn_pc.
14379
14380 2015-04-10 Pedro Alves <palves@redhat.com>
14381
14382 PR gdb/13858
14383 * gdb.base/step-over-no-symbols.exp: New file.
14384
14385 2015-04-09 Andy Wingo <wingo@igalia.com>
14386
14387 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
14388 after the Python tests.
14389
14390 2015-04-08 Keith Seitz <keiths@redhat.com>
14391
14392 PR python/16699
14393 * gdb.python/py-completion.exp: New tests for completion.
14394 * gdb.python/py-completion.py (CompleteLimit1): New class.
14395 (CompleteLimit2): Likewise.
14396 (CompleteLimit3): Likewise.
14397 (CompleteLimit4): Likewise.
14398 (CompleteLimit5): Likewise.
14399 (CompleteLimit6): Likewise.
14400 (CompleteLimit7): Likewise.
14401
14402 2015-04-08 Pedro Alves <palves@redhat.com>
14403
14404 PR gdb/18214
14405 PR gdb/18216
14406 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
14407 function.
14408 (main): Install it as SIGUSR1 handler.
14409 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
14410 parameter. Always use "setup" as prefix. Toggle "set
14411 displaced-stepping" off/on depending on global. Don't switch to
14412 thread 1 here.
14413 (top level): Add displaced stepping "off/on" test axis. Update
14414 "setup" calls. Wrap each subtest with with_test_prefix. Test
14415 continuing with a queued signal in each thread.
14416
14417 2015-04-08 Pedro Alves <palves@redhat.com>
14418
14419 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
14420 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
14421 gdb_breakpoint instead of gdb_test that doesn't expect anything.
14422 Return early if running to main fails.
14423 * gdb.trace/while-stepping.exp: Likewise.
14424
14425 2015-04-07 Pedro Alves <palves@redhat.com>
14426
14427 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
14428 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
14429 interact with inferior program.
14430
14431 2015-04-07 Pedro Alves <palves@redhat.com>
14432
14433 * lib/gdb.exp (inferior_spawn_id): New global.
14434 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
14435 spawn id after processing the user code.
14436 (default_gdb_start): Set inferior_spawn_id.
14437 (send_inferior): New procedure.
14438 * lib/gdbserver-support.exp (gdbserver_start): Set
14439 inferior_spawn_id.
14440 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
14441
14442 2015-04-07 Pedro Alves <palves@redhat.com>
14443
14444 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
14445 * lib/gdbserver-support.exp (gdbserver_start): Make
14446 $server_spawn_id global.
14447 (gdbserver_start): Don't wait for gdbserver's spawn id with
14448 expect_background.
14449 (close_gdbserver): New procedure.
14450 (gdb_exit): Rename the default version and reimplement.
14451
14452 2015-04-07 Pedro Alves <palves@redhat.com>
14453
14454 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
14455 append the substituted item, not the original item.
14456
14457 2015-04-07 Pedro Alves <palves@redhat.com>
14458
14459 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
14460 gdb_expect.
14461
14462 2015-04-07 Pedro Alves <palves@redhat.com>
14463
14464 * gdb.base/interrupt.exp: Don't handle the case of the inferior
14465 output appearing once only.
14466
14467 2015-04-07 Pedro Alves <palves@redhat.com>
14468
14469 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
14470 that doesn't expect anything. Return early if running to main
14471 fails.
14472
14473 2015-04-07 Yao Qi <yao.qi@linaro.org>
14474
14475 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
14476 (child_function): Call alarm.
14477 (main): Move call to alarm into the loop.
14478 * gdb.threads/non-stop-fair-events.exp: Build program with
14479 -DTIMEOUT=$timeout.
14480
14481 2015-04-06 Doug Evans <xdje42@gmail.com>
14482
14483 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
14484 Fix dest parameter to board_info.
14485 (fpc_compile): Ditto.
14486 (gdb_compile_pascal): Rename dest arg to destfile.
14487
14488 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
14489
14490 * gdb.ada/funcall_ref.exp: New file.
14491 * gdb.ada/funcall_ref/foo.adb: New file.
14492
14493 2015-04-02 Yao Qi <yao.qi@linaro.org>
14494
14495 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
14496 is remote.
14497
14498 2015-04-02 Gary Benson <gbenson@redhat.com>
14499
14500 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
14501
14502 2015-04-01 Sasha Smundak <asmundak@google.com>
14503
14504 * gdb.python/py-unwind-maint.c: New file.
14505 * gdb.python/py-unwind-maint.exp: New test.
14506 * gdb.python/py-unwind-maint.py: New file.
14507 * gdb.python/py-unwind.c: New file.
14508 * gdb.python/py-unwind.exp: New test.
14509 * gdb.python/py-unwind.py: New test.
14510
14511 2015-04-01 Pedro Alves <palves@redhat.com>
14512
14513 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
14514 to fail instead of non-existent $test.
14515
14516 2015-04-01 Pedro Alves <palves@redhat.com>
14517
14518 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
14519 GDBFLAGS if not empty.
14520
14521 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
14522
14523 * gdb.ada/complete.exp: Remove "multi_line".
14524 * gdb.ada/info_exc.exp: Remove "multi_line".
14525 * gdb.ada/packed_tagged.exp: Remove "multi_line".
14526 * gdb.ada/ptype_field.exp: Remove "multi_line".
14527 * gdb.ada/sym_print_name.exp: Remove "multi_line".
14528 * gdb.ada/tagged.exp: Remove "multi_line".
14529 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
14530 [multi_line ...]
14531 * gdb.btrace/delta.exp: Likewise.
14532 * gdb.btrace/exception.exp: Likewise.
14533 * gdb.btrace/function_call_history.exp: Likewise.
14534 * gdb.btrace/instruction_history.exp: Likewise.
14535 * gdb.btrace/nohist.exp: Likewise.
14536 * gdb.btrace/record_goto.exp: Likewise.
14537 * gdb.btrace/segv.exp: Likewise.
14538 * gdb.btrace/stepi.exp: Likewise.
14539 * gdb.btrace/tailcall.exp: Likewise.
14540 * gdb.btrace/unknown_functions.exp: Likewise.
14541 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
14542 * lib/gdb.exp: Add the "multi_line" helper.
14543
14544 2015-04-01 Pedro Alves <palves@redhat.com>
14545
14546 * gdb.threads/tid-reuse.c: New file.
14547 * gdb.threads/tid-reuse.exp: New file.
14548
14549 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
14550
14551 PR corefiles/16092
14552 * gdb.base/coredump-filter.c: New file.
14553 * gdb.base/coredump-filter.exp: Likewise.
14554
14555 2015-03-27 Petr Machata <pmachata@redhat.com>
14556
14557 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
14558 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
14559 (Dwarf::assemble): Initialize them.
14560 (Dwarf::lines): New function.
14561
14562 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
14563
14564 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
14565 SYMBOL_PREFIX for x86_64-*-cygwin.
14566
14567 2015-03-26 Andy Wingo <wingo@igalia.com>
14568
14569 PR symtab/18148
14570 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
14571 const_value but not a location.
14572 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
14573 location defined in non-main CUs are visible.
14574
14575 2015-03-26 Yao Qi <yao.qi@linaro.org>
14576
14577 PR testsuite/18139
14578 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
14579 Add a line number entry for the same line.
14580 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
14581 Add a line number entry for the same line.
14582
14583 2015-03-26 Yao Qi <yao.qi@linaro.org>
14584
14585 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
14586 .int 0.
14587 (func): Likewise. Add .Lfunc_1 label.
14588 Use .Lfunc_1 label.
14589 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
14590 .int 0.
14591 (func): Likewise.
14592 Use .Lfunc_1 label.
14593
14594 2015-03-26 Yao Qi <yao.qi@linaro.org>
14595
14596 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
14597 Call gdb_compile instead to compile each .s files without debug
14598 information.
14599
14600 2015-03-26 Yao Qi <yao.qi@linaro.org>
14601
14602 * gdb.base/savedregs.exp (process_saved_regs): Make
14603 "Saved registers:" optional in the pattern.
14604
14605 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
14606
14607 * gdb.btrace/next.exp: Merged into step.exp.
14608 * gdb.btrace/finish.exp: Merged into step.exp.
14609 * gdb.btrace/nexti.exp: Merged into stepi.exp.
14610 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
14611 "record goto" and checking the exact replay position.
14612 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
14613 check for "Recording format" in "info record" output.
14614 * gdb.btrace/record_goto.exp: Choose test file based on target.
14615 * gdb.btrace/x86-record_goto.S: Renamed into ...
14616 * gdb.btrace/x86_64-record_goto.S: ... this.
14617 * gdb.btrace/i686-record_goto.S: New.
14618 * gdb.btrace/x86-tailcall.S: Renamed into ...
14619 * gdb.btrace/x86_64-tailcall.S: ... this.
14620 * gdb.btrace/i686-tailcall.S: New.
14621 * gdb.btrace/x86-tailcall.c: Renamed into ...
14622 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
14623 separate statements. Update test.
14624 * gdb.btrace/delta.exp: Use record_goto.c as test file.
14625 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
14626 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
14627 * gdb.btrace/tailcall.exp: Choose test file based on target.
14628 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
14629
14630 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
14631
14632 * gdb.btrace/exception.exp: Increase BTS buffer size.
14633
14634 2015-03-24 Pedro Alves <palves@redhat.com>
14635
14636 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
14637
14638 2015-03-24 Pedro Alves <palves@redhat.com>
14639
14640 * gdb.threads/schedlock.exp (test_step): No longer expect that
14641 "set scheduler-locking step" with "next" over a function call runs
14642 threads unlocked.
14643
14644 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
14645
14646 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
14647
14648 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
14649
14650 PR breakpoints/16466
14651 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
14652 * gdb.mi/mi-pending.c (thread_func): New function.
14653 (int main): Add threading support required.
14654 * gdb.mi/mi-pending.exp: Add tests for this issue.
14655 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
14656 (pendfunc2): Remove stdio dependency.
14657 * gdb.mi/mi-pendshr2.c: New file.
14658
14659 2015-03-23 Keith Seitz <keiths@redhat.com>
14660
14661 * gdb.linespec/keywords.c: New file.
14662 * gdb.linespec/keywords.exp: New file.
14663
14664 2015-03-23 Keith Seitz <keiths@redhat.com>
14665
14666 PR gdb/18021
14667 * gdb.dwarf2/staticvirtual.exp: New test.
14668
14669 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14670
14671 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
14672 * README: Remove HP-UX and gdb.hp.
14673 (configuration):
14674 * configure: Regenerate.
14675 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
14676 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
14677 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
14678 gdb.hp/gdb.defects/Makefile.
14679 * gdb.hp/Makefile.in: File deleted.
14680 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
14681 * gdb.hp/gdb.aCC/optimize.c: File deleted.
14682 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
14683 * gdb.hp/gdb.aCC/run.c: File deleted.
14684 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
14685 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
14686 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
14687 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
14688 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
14689 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
14690 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
14691 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
14692 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
14693 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
14694 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
14695 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
14696 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
14697 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
14698 * gdb.hp/gdb.base-hp/reg.s: File deleted.
14699 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
14700 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
14701 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
14702 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
14703 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
14704 * gdb.hp/gdb.compat/Makefile.in: File deleted.
14705 * gdb.hp/gdb.compat/average.c: File deleted.
14706 * gdb.hp/gdb.compat/sum.c: File deleted.
14707 * gdb.hp/gdb.compat/xdb.c: File deleted.
14708 * gdb.hp/gdb.compat/xdb0.c: File deleted.
14709 * gdb.hp/gdb.compat/xdb0.h: File deleted.
14710 * gdb.hp/gdb.compat/xdb1.c: File deleted.
14711 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
14712 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
14713 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
14714 * gdb.hp/gdb.defects/Makefile.in: File deleted.
14715 * gdb.hp/gdb.defects/bs14602.c: File deleted.
14716 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
14717 * gdb.hp/gdb.defects/solib-d.c: File deleted.
14718 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
14719 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
14720 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
14721 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
14722 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
14723 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
14724 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
14725 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
14726 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
14727 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
14728 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
14729 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
14730 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
14731 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
14732 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
14733 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
14734 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
14735 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
14736 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
14737 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
14738 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
14739 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
14740 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
14741 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
14742 * gdb.hp/tools/odump: File deleted.
14743
14744 2015-03-19 Pedro Alves <palves@redhat.com>
14745
14746 * gdb.threads/continue-pending-status.exp (saw_thread_2)
14747 (saw_thread_3): New globals.
14748 (top level): Increment them when an event for the corresponding
14749 thread is seen.
14750 (no thread starvation): New test.
14751
14752 2015-03-19 Pedro Alves <palves@redhat.com>
14753
14754 * gdb.threads/continue-pending-status.c: New file.
14755 * gdb.threads/continue-pending-status.exp: New file.
14756
14757 2015-03-18 Pedro Alves <palves@redhat.com>
14758
14759 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
14760 Use gdb_is_target_remote instead of is_remote. Use
14761 gdb_test_multiple instead of gdb_expect. Exit early if
14762 gdb_test_multiple hits its internal matches. Tighten stepi tests
14763 expected output. Fail on exit with any signal, instead of just
14764 SIGILL.
14765
14766 2015-03-18 Yao Qi <yao.qi@linaro.org>
14767
14768 PR tdep/18107
14769 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
14770 variable.
14771 * gdb.base/catch-syscall.exp: Don't skip it on
14772 aarch64*-*-linux* target. Remove elements in all_syscalls.
14773 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
14774 target.
14775 (setup_all_syscalls): New proc.
14776
14777 2015-03-16 Yao Qi <yao.qi@linaro.org>
14778
14779 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
14780 (top level): Skip tests if valid_addr_p returns false for
14781 $cmd1 or $cmd2.
14782
14783 2015-03-11 Andy Wingo <wingo@igalia.com>
14784
14785 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
14786
14787 2015-03-11 Yao Qi <yao.qi@linaro.org>
14788
14789 * gdb.base/catch-syscall.exp: Fix typo in comments.
14790
14791 2015-03-11 Yao Qi <yao.qi@linaro.org>
14792
14793 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
14794
14795 2015-03-09 Pedro Alves <palves@redhat.com>
14796
14797 * dg-extract-results.py: Delete.
14798
14799 2015-03-09 Pedro Alves <palves@redhat.com>
14800
14801 Merge dg-extract-results.sh from GCC upstream (r218843).
14802
14803 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
14804 * dg-extract-results.sh: Use --text with grep to avoid issues with
14805 binary files. Fall back to cat -v, if that doesn't work.
14806
14807 2015-03-05 Pedro Alves <palves@redhat.com>
14808
14809 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
14810
14811 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
14812
14813 * lib/mi-support.exp (mi_expect_interrupt): Accept
14814 alternative event for when in all-stop mode.
14815
14816 2015-03-04 Pedro Alves <palves@redhat.com>
14817
14818 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
14819
14820 2015-03-04 Mark Kettenis <kettenis@gnu.org>
14821
14822 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
14823
14824 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
14825
14826 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
14827 regexps for GDB's current line display, accept a hex address
14828 preceding the line number.
14829
14830 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
14831
14832 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
14833 the 'arch1' variable for "s390*-linux*" targets.
14834
14835 2015-03-04 Pedro Alves <palves@redhat.com>
14836
14837 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
14838 (main): Pass missing retval argument to pthread_join call.
14839
14840 2015-03-02 Pedro Alves <palves@redhat.com>
14841
14842 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
14843 (top level): Call do_test with non-stop as well.
14844
14845 2015-03-02 Pedro Alves <palves@redhat.com>
14846
14847 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
14848 -1.
14849
14850 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
14851
14852 * gdb.arch/s390-vregs.exp: New test.
14853 * gdb.arch/s390-vregs.S: New file.
14854
14855 2015-02-27 Pedro Alves <palves@redhat.com>
14856
14857 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
14858 call to catch_command_errors.
14859 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
14860 catch_command_errors.
14861
14862 2015-02-27 Pedro Alves <palves@redhat.com>
14863
14864 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
14865 "true" for boolean result.
14866 * gdb.gdb/selftest.exp (test_with_self): Also accept full
14867 prototype of main.
14868
14869 2015-02-27 Pedro Alves <palves@redhat.com>
14870
14871 * lib/unbuffer_output.c: New file.
14872 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
14873 (main): Call gdb_unbuffer_output.
14874
14875 2015-02-27 Yao Qi <yao.qi@linaro.org>
14876
14877 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
14878 target.
14879
14880 2015-02-26 Doug Evans <dje@google.com>
14881
14882 * gdb.cp/class2.cc (Dbase, D): New classes.
14883 (main): New local delta.
14884 * gdb.cp/class2.exp: Test printing delta.
14885 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
14886 (dynbar): New global.
14887 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
14888
14889 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14890
14891 * gdb.compile/compile-ifunc.c: New file.
14892 * gdb.compile/compile-ifunc.exp: New file.
14893
14894 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
14895
14896 * gdb.base/structs.exp: Check for correct struct on finish.
14897
14898 2015-02-26 Yao Qi <yao.qi@linaro.org>
14899
14900 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
14901 is zero.
14902
14903 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14904
14905 * gdb.arch/cordic.ko.bz2: New file.
14906 * gdb.arch/cordic.ko.debug.bz2: New file.
14907 * gdb.arch/ppc64-symtab-cordic.exp: New file.
14908
14909 2015-02-25 Yao Qi <yao.qi@linaro.org>
14910
14911 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
14912 aarch64*-*-* target.
14913
14914 2015-02-23 Pedro Alves <palves@redhat.com>
14915
14916 * lib/gdb.exp (delete_breakpoints): Rewrite using
14917 gdb_test_multiple.
14918
14919 2015-02-23 Pedro Alves <palves@redhat.com>
14920
14921 * gdb.base/info-os.c: Include stdlib.h.
14922
14923 2015-02-22 Doug Evans <xdje42@gmail.com>
14924
14925 PR symtab/17855
14926 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
14927 is read after symbols have been re-read.
14928 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
14929 * gdb.ada/exec_changed/second.adb (Second): Ditto.
14930
14931 2015-02-21 Doug Evans <dje@google.com>
14932
14933 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
14934
14935 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14936
14937 PR corefiles/17808
14938 * gdb.arch/i386-biarch-core.core.bz2: New file.
14939 * gdb.arch/i386-biarch-core.exp: New file.
14940
14941 2015-02-21 Pedro Alves <palves@redhat.com>
14942
14943 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
14944 runto_main fails.
14945
14946 2015-02-20 Pedro Alves <palves@redhat.com>
14947
14948 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
14949 info probes.
14950
14951 2015-02-20 Pedro Alves <palves@redhat.com>
14952
14953 * gdb.threads/multi-create-ns-info-thr.exp: New file.
14954
14955 2015-02-20 Pedro Alves <palves@redhat.com>
14956
14957 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
14958 clean_restart before gdb_target_supports_trace.
14959
14960 2015-02-20 Pedro Alves <palves@redhat.com>
14961
14962 PR threads/18006
14963 * gdb.threads/clone-thread_db.c: New file.
14964 * gdb.threads/clone-thread_db.exp: New file.
14965
14966 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
14967
14968 PR breakpoints/16812
14969 * gdb.base/catch-gdb-caused-signals.c: New file.
14970 * gdb.base/catch-gdb-caused-signals.exp: New file.
14971
14972 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
14973
14974 * configure: Regenerated.
14975 * configure.ac: Use GDB_AC_TRANSFORM.
14976 * aclocal.m4: sinclude ../transform.m4.
14977
14978 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
14979
14980 * lib/dtrace.exp: New file.
14981 * gdb.base/dtrace-probe.exp: Likewise.
14982 * gdb.base/dtrace-probe.d: Likewise.
14983 * gdb.base/dtrace-probe.c: Likewise.
14984 * lib/pdtrace.in: Likewise.
14985 * configure.ac: Output variables with the transformed names of
14986 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
14987 * configure: Regenerated.
14988
14989 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
14990
14991 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
14992 expected message when trying to access $_probe_* convenience
14993 variables while not on a probe.
14994
14995 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14996
14997 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
14998
14999 2015-02-11 Pedro Alves <pedro@codesourcery.com>
15000
15001 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
15002 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
15003
15004 2015-02-10 Doug Evans <xdje42@gmail.com>
15005
15006 * lib/gdb.exp (gdb_load): Always return a result.
15007
15008 2015-02-10 Pedro Alves <palves@redhat.com>
15009
15010 * gdb.threads/signal-sigtrap.c: New file.
15011 * gdb.threads/signal-sigtrap.exp: New file.
15012
15013 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
15014
15015 * gdb.trace/no-attach-trace.c: New file.
15016 * gdb.trace/no-attach-trace.exp: New file.
15017
15018 2015-02-09 Mark Wielaard <mjw@redhat.com>
15019
15020 * gdb.dwarf2/atomic.c: New file.
15021 * gdb.dwarf2/atomic-type.exp: Likewise.
15022
15023 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
15024
15025 * gdb.btrace/buffer-size.exp: Update "info record" output.
15026 * gdb.btrace/delta.exp: Update "info record" output.
15027 * gdb.btrace/enable.exp: Update "info record" output.
15028 * gdb.btrace/finish.exp: Update "info record" output.
15029 * gdb.btrace/instruction_history.exp: Update "info record" output.
15030 * gdb.btrace/next.exp: Update "info record" output.
15031 * gdb.btrace/nexti.exp: Update "info record" output.
15032 * gdb.btrace/step.exp: Update "info record" output.
15033 * gdb.btrace/stepi.exp: Update "info record" output.
15034 * gdb.btrace/nohist.exp: Update "info record" output.
15035
15036 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
15037
15038 * gdb.btrace/buffer-size: New.
15039
15040 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
15041
15042 * gdb.btrace/delta.exp: Update "info record" output.
15043 * gdb.btrace/enable.exp: Update "info record" output.
15044 * gdb.btrace/finish.exp: Update "info record" output.
15045 * gdb.btrace/instruction_history.exp: Update "info record" output.
15046 * gdb.btrace/next.exp: Update "info record" output.
15047 * gdb.btrace/nexti.exp: Update "info record" output.
15048 * gdb.btrace/step.exp: Update "info record" output.
15049 * gdb.btrace/stepi.exp: Update "info record" output.
15050 * gdb.btrace/nohist.exp: Update "info record" output.
15051
15052 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
15053
15054 PR gdb/15678
15055 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
15056
15057 2015-02-06 Pedro Alves <palves@redhat.com>
15058
15059 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
15060 macro.
15061 (seconds_left, again): New globals.
15062 (main): Wait seconds_left in a 1-second sleep loop instead of
15063 sleeping 180 seconds. If 'again' is set, reset the seconds
15064 counter.
15065 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
15066 'again' in the inferior before detaching. Print the seconds left.
15067 (options): New global.
15068 (top level): Build program with -DTIMEOUT=$timeout.
15069
15070 2015-02-06 Pedro Alves <palves@redhat.com>
15071
15072 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
15073 determine how many seconds to pass to 'alarm'.
15074 * gdb.base/gdb-sigterm.exp (top level): Build program with
15075 -DTIMEOUT=$timeout.
15076 (do_test): Return success/failure indication. Add more verbose
15077 logging. Don't fail if 200 single steps are seen. Instead, fail
15078 when the test times out.
15079 (passes): New global.
15080 (top level): Break the testing loop if testing fails on any
15081 iteration. Use gdb_assert.
15082
15083 2015-02-04 Don Breazeal <donb@codesourcery.com>
15084
15085 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
15086 and initialize them.
15087 (ipc_cleanup): New function.
15088 (main): Don't declare shmid, semid, and msqid. Add a call to
15089 atexit so that we call ipc_cleanup on exit.
15090
15091 2015-02-04 Pedro Alves <palves@redhat.com>
15092
15093 * boards/native-extended-gdbserver.exp: Remove any target variant
15094 specifications from the board name before clearing the isremote
15095 flag from board_info.
15096
15097 2015-01-31 Doug Evans <xdje42@gmail.com>
15098
15099 * gdb.base/maint.exp <maint print type argc>: Update expected output.
15100
15101 2015-01-31 Gary Benson <gbenson@redhat.com>
15102
15103 * gdb.base/completion.exp: Disable completion limiting for
15104 existing tests. Add new tests to check completion limiting.
15105 * gdb.linespec/ls-errs.exp: Disable completion limiting.
15106
15107 2015-01-31 Doug Evans <xdje42@gmail.com>
15108
15109 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
15110
15111 2015-01-31 Doug Evans <xdje42@gmail.com>
15112
15113 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
15114 entries. Duplicate file section script entries.
15115 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
15116 inlined entries. Add test for safe-path rejection.
15117 * gdb.python/py-section-script.c: Add duplicate inlined section script
15118 entries. Duplicate file section script entries.
15119 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
15120 inlined entries. Add test for safe-path rejection.
15121
15122 2015-01-29 Joel Brobecker <brobecker@adacore.com>
15123
15124 * gdb.ada/disc_arr_bound: New testcase.
15125
15126 2015-01-29 Joel Brobecker <brobecker@adacore.com>
15127
15128 * gdb.ada/mi_var_array: New testcase.
15129
15130 2015-01-27 Doug Evans <dje@google.com>
15131
15132 * gdb.python/py-objfile.exp: Add tests for objfile.username.
15133 Add test for objfile.filename, objfile.username after objfile
15134 has been unloaded.
15135
15136 2015-01-26 Joel Brobecker <brobecker@adacore.com>
15137
15138 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
15139 the second test to print the name attribute of value
15140 returned by the call to gdb.lookup_type, and adjust
15141 the expected output accordingly.
15142
15143 2015-01-25 Mark Wielaard <mjw@redhat.com>
15144
15145 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
15146 * gdb.base/disp-step-fork.c: Include unistd.h.
15147 * gdb.base/siginfo-obj.c: Include stdio.h.
15148 * gdb.base/siginfo-thread.c: Likewise.
15149 * gdb.mi/non-stop.c: Include unistd.h.
15150 * gdb.mi/nsthrexec.c: Include stdio.h.
15151 * gdb.mi/pthreads.c: Include unistd.h.
15152 * gdb.modula2/unbounded1.c (main): Declare returns int.
15153 * gdb.reverse/consecutive-reverse.c: Likewise.
15154 * gdb.threads/create-fail.c: Include unistd.h.
15155 * gdb.threads/killed.c: Likewise.
15156 * gdb.threads/linux-dp.c: Likewise.
15157 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
15158 * gdb.threads/non-ldr-exc-2.c: Likewise.
15159 * gdb.threads/non-ldr-exc-3.c: Likewise.
15160 * gdb.threads/non-ldr-exc-4.c: Likewise.
15161 * gdb.threads/pthreads.c: Include unistd.h.
15162 (main): Declare returns int.
15163 * gdb.threads/tls-main.c (foo): New declaration.
15164 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
15165
15166 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
15167
15168 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
15169 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
15170
15171 2015-01-15 Mark Wielaard <mjw@redhat.com>
15172
15173 * gdb.base/noreturn-return.c: New file.
15174 * gdb.base/noreturn-return.exp: New file.
15175 * gdb.base/noreturn-finish.c: New file.
15176 * gdb.base/noreturn-finish.exp: New file.
15177
15178 2015-01-23 Pedro Alves <palves@redhat.com>
15179
15180 * gdb.threads/continue-pending-after-query.c: New file.
15181 * gdb.threads/continue-pending-after-query.exp: New file.
15182
15183 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
15184 Simon Marchi <simon.marchi@ericsson.com>
15185
15186 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
15187 * gdb.base/valgrind-db-attach.exp: Same.
15188 * gdb.base/valgrind-infcall.exp: Same.
15189 * lib/mi-support.exp (default_mi_gdb_start): Same.
15190 * lib/prompt.exp (default_prompt_gdb_start): Same.
15191 * lib/gdb.exp (default_gdb_spawn): Same.
15192 (gdb_interact): New.
15193
15194
15195 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15196
15197 * gdb.compile/compile.exp (pointer to jit function): New test.
15198
15199 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
15200
15201 * lib/gdb.exp (supports_process_record): Return true for
15202 powerpc*-*-linux*.
15203 (supports_reverse): Likewise.
15204
15205 2015-01-15 Don Breazeal <donb@codesourcery.com>
15206
15207 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
15208 instead of checking whether the target board is remote and
15209 use spawn_wait_for_attach instead of exec/sleep.
15210 * gdb.base/attach-twice.exp: Likewise.
15211
15212 2015-01-15 Joel Brobecker <brobecker@adacore.com>
15213
15214 * gdb.ada/var_arr_attrs: New testcase.
15215
15216 2015-01-14 Pedro Alves <palves@redhat.com>
15217 Joel Brobecker <brobecker@adacore.com>
15218
15219 PR gdb/17525
15220 * gdb.base/bp-cmds-execution-x-script.c: New file.
15221 * gdb.base/bp-cmds-execution-x-script.exp: New file.
15222 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
15223
15224 2015-01-14 Pedro Alves <palves@redhat.com>
15225
15226 PR cli/17828
15227 * gdb.base/batch-preserve-term-settings.c: New file.
15228 * gdb.base/batch-preserve-term-settings.exp: New file.
15229
15230 2015-01-13 Doug Evans <dje@google.com>
15231
15232 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
15233 binary.
15234
15235 2015-01-13 Joel Brobecker <brobecker@adacore.com>
15236
15237 * Makefile.in (clean mostlyclean): Do not delete *.py.
15238
15239 2015-01-13 Joel Brobecker <brobecker@adacore.com>
15240
15241 * gdb.python/py-lookup-type.exp: New file.
15242
15243 2015-01-12 Pedro Alves <palves@redhat.com>
15244
15245 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
15246 restore GDBFLAGS before returning.
15247
15248 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15249
15250 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
15251 is_amd64_regs_target and is_x86_like_target.
15252
15253 2015-01-11 Doug Evans <xdje42@gmail.com>
15254
15255 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
15256 is given without an explicit form.
15257 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
15258 attributes.
15259 * gdb.dwarf/corrupt.exp: Ditto.
15260 * gdb.dwarf2/enum-type.exp: Ditto.
15261 * gdb.trace/entry-values.exp: Ditto.
15262 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
15263
15264 2015-01-11 Doug Evans <xdje42@gmail.com>
15265
15266 PR gdb/15830
15267 * gdb.base/maint.exp: Remove references to "maint demangle".
15268 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
15269 Add tests for explicitly specifying language to demangle.
15270 * gdb.dlang/demangle.exp: Ditto.
15271
15272 2015-01-09 Pedro Alves <palves@redhat.com>
15273
15274 * gdb.threads/non-stop-fair-events.c: New file.
15275 * gdb.threads/non-stop-fair-events.exp: New file.
15276
15277 2015-01-09 Pedro Alves <palves@redhat.com>
15278
15279 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
15280 the global scope. Set a breakpoint after all threads are started
15281 rather than stepping over two source lines. Expect the prompt.
15282 * gdb.base/watch_thread_num.c (threads_started_barrier): New
15283 global.
15284 (NUM): Now 15.
15285 (main): Use threads_started_barrier to wait for all threads to
15286 start. Main thread no longer calls thread_function. Exit after
15287 180 seconds.
15288 (loop): New function.
15289 (thread_function): Wait on threads_started_barrier barrier. Call
15290 'loop' at each iteration.
15291 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
15292 threads have started, instead of hardcoding number of "next"
15293 steps. Use an access watchpoint instead of a write watchpoint.
15294
15295 2015-01-09 Pedro Alves <palves@redhat.com>
15296
15297 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
15298 (thread_func): Wait on barrier.
15299 (main): Wait for all threads to start before stopping GDB.
15300 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
15301 global.
15302 (thread1_func, thread2_func): Wait on barrier.
15303 (main): Wait for all threads to start before stopping GDB.
15304 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
15305 New global.
15306 (thread1_func, thread2_func): Wait on barrier.
15307 (main): Wait for all threads to start before stopping GDB.
15308
15309 2015-01-09 Pedro Alves <palves@redhat.com>
15310
15311 * gdb.threads/attach-many-short-lived-threads.c: New file.
15312 * gdb.threads/attach-many-short-lived-threads.exp: New file.
15313
15314 2014-01-09 Pedro Alves <palves@redhat.com>
15315
15316 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
15317 instead of to thread 2.
15318 * gdb.threads/signal-command-multiple-signals-pending.c (main):
15319 Add barrier around each pthread_create call instead of around all
15320 calls.
15321 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
15322 Set a break on thread_function and have the child threads hit it
15323 one at at a time.
15324
15325 2015-01-09 Pedro Alves <palves@redhat.com>
15326
15327 * lib/gdb.exp (can_spawn_for_attach): New procedure.
15328 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
15329 false.
15330 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
15331 checking whether the target board is remote.
15332 * gdb.multi/multi-attach.exp: Likewise.
15333 * gdb.python/py-sync-interp.exp: Likewise.
15334 * gdb.server/ext-attach.exp: Likewise.
15335 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
15336 tests that need to attach, instead of checking whether the target
15337 board is remote at the top of the file.
15338
15339 2015-01-08 Yao Qi <yao@codesourcery.com>
15340
15341 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
15342
15343 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15344
15345 Fix testcase compilation.
15346 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
15347
15348 2015-01-06 Joel Brobecker <brobecker@adacore.com>
15349
15350 * gdb.python/py-type.exp: Add a couple test about empty
15351 array creation, and negative-length array creation.
15352
15353 2015-01-02 Doug Evans <xdje42@gmail.com>
15354
15355 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
15356
15357 2015-01-02 Doug Evans <dje@google.com>
15358
15359 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
15360
15361 2014-12-29 Yao Qi <yao@codesourcery.com>
15362
15363 * gdb.trace/entry-values.exp: Update comments. Rename variable
15364 bar_call_foo to returned_from_foo.
15365
15366 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
15367
15368 PR gdb/17394
15369 * gdb.linespec/break-asm-file.c: New file.
15370 * gdb.linespec/break-asm-file.exp: New file.
15371 * gdb.linespec/break-asm-file0.s: New file.
15372 * gdb.linespec/break-asm-file1.s: New file.
15373
15374 2014-12-18 Nigel Stephens <nigel@mips.com>
15375 Maciej W. Rozycki <macro@codesourcery.com>
15376
15377 * gdb.base/float.exp: Handle the new output from "info float" on
15378 MIPS targets.
15379
15380 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
15381
15382 Fix MinGW compilation.
15383 * gdb.compile/compile-ops.exp: Update untested message if
15384 !skip_compile_feature_tests.
15385 * gdb.compile/compile-setjmp.exp: Likewise.
15386 * gdb.compile/compile-tls.exp: Likewise.
15387 * gdb.compile/compile.exp: Likewise.
15388 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
15389 supported on this host".
15390
15391 2014-12-16 Doug Evans <xdje42@gmail.com>
15392
15393 * boards/stabs.exp: New file.
15394
15395 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
15396
15397 * gdb.base/completion.exp: Adjust to format changes of "maint
15398 print user-registers".
15399
15400 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
15401
15402 PR server/17457
15403 * gdb.arch/aarch64-fp.c: New file.
15404 * gdb.arch/aarch64-fp.exp: New file.
15405
15406 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
15407
15408 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
15409 r210637, r210913, r211666, r215400, r215817).
15410
15411 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
15412 * dg-extract-results.py: New file.
15413 * dg-extract-results.sh: Use it if the environment seems
15414 suitable.
15415
15416 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
15417
15418 * dg-extract-results.py (parse_run): Handle warnings that
15419 are printed before a test harness is run.
15420
15421 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
15422
15423 * dg-extract-results.py (Named): Remove __cmp__ method.
15424 (output_variation): Use a key to sort variation.harnesses.
15425
15426 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
15427
15428 * dg-extract-results.py: For Python 3, force sys.stdout to
15429 handle surrogate escape sequences.
15430 (safe_open): New function.
15431 (output_segment, main): Use it.
15432
15433 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
15434
15435 * dg-extract-results.py (Prog.result_re): Include options
15436 in test name.
15437
15438 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
15439
15440 * dg-extract-results.py (output_variation): Always sort if
15441 do_sum.
15442
15443 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
15444
15445 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
15446 as long as we get pagination notifications.
15447
15448 2014-12-15 Jason Merrill <jason@redhat.com>
15449
15450 * Makefile.in (check-gdb.%): Restore.
15451 * README: Mention it.
15452
15453 2014-12-13 Joel Brobecker <brobecker@adacore.com>
15454
15455 * gdb.ada/str_uninit: New testcase.
15456
15457 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15458
15459 PR symtab/17642
15460 * gdb.base/vla-stub-define.c: New file.
15461 * gdb.base/vla-stub.c: New file.
15462 * gdb.base/vla-stub.exp: New file.
15463
15464 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
15465 Jan Kratochvil <jan.kratochvil@redhat.com>
15466 Tom Tromey <tromey@redhat.com>
15467
15468 * configure.ac: Add gdb.compile/.
15469 * configure: Regenerate.
15470 * gdb.compile/Makefile.in: New file.
15471 * gdb.compile/compile-ops.exp: New file.
15472 * gdb.compile/compile-ops.c: New file.
15473 * gdb.compile/compile-tls.c: New file.
15474 * gdb.compile/compile-tls.exp: New file.
15475 * gdb.compile/compile-constvar.S: New file.
15476 * gdb.compile/compile-constvar.c: New file.
15477 * gdb.compile/compile-mod.c: New file.
15478 * gdb.compile/compile-nodebug.c: New file.
15479 * gdb.compile/compile-setjmp-mod.c: New file.
15480 * gdb.compile/compile-setjmp.c: New file.
15481 * gdb.compile/compile-setjmp.exp: New file.
15482 * gdb.compile/compile-shlib.c: New file.
15483 * gdb.compile/compile.c: New file.
15484 * gdb.compile/compile.exp: New file.
15485 * lib/gdb.exp (skip_compile_feature_tests): New proc.
15486
15487 2014-12-12 Tom Tromey <tromey@redhat.com>
15488
15489 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
15490 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
15491
15492 2014-12-12 Doug Evans <dje@google.com>
15493
15494 * lib/gdb-python.exp (get_python_valueof): New function.
15495 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
15496
15497 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
15498
15499 * gdb.base/completion.exp: Add test for completion of "info
15500 registers ".
15501
15502 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
15503
15504 * gdb.base/func-ptrs.c: New file.
15505 * gdb.base/func-ptrs.exp: New file.
15506
15507 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
15508
15509 PR breakpoints/17012
15510 * gdb.base/dprintf-detach.c: New file.
15511 * gdb.base/dprintf-detach.exp: New file.
15512
15513 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
15514
15515 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
15516 * lib/gdb.exp (target_is_gdbserver): New procedure.
15517
15518 2014-12-08 Doug Evans <dje@google.com>
15519
15520 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
15521
15522 2014-12-05 Yao Qi <yao@codesourcery.com>
15523
15524 * gdb.guile/scm-error.exp: Remove the third argument to
15525 gdb_remote_download.
15526 * gdb.guile/scm-frame-args.exp: Likewise.
15527 * gdb.guile/scm-section-script.exp: Likewise.
15528
15529 2014-12-05 Yao Qi <yao@codesourcery.com>
15530
15531 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
15532
15533 2014-12-04 Doug Evans <dje@google.com>
15534
15535 * gdb.python/py-objfile.exp: Add tests for
15536 objfile.add_separate_debug_file.
15537
15538 2014-12-04 Doug Evans <dje@google.com>
15539
15540 * lib/gdb.exp (get_build_id): New function.
15541 (build_id_debug_filename_get): Rewrite to use it.
15542 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
15543
15544 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
15545
15546 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
15547 `method(long)', not just 0x0.
15548 * gdb.cp/nsalias.exp: Align code labels to 4.
15549 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
15550 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
15551 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
15552 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
15553 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
15554 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
15555
15556 2014-12-02 Doug Evans <dje@google.com>
15557
15558 PR symtab/17602
15559 * gdb.cp/anon-ns.cc: Move guts of this file to ...
15560 * gdb.cp/anon-ns2.cc: ... here. New file.
15561 * gdb.cp/anon-ns.exp: Update.
15562
15563 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
15564
15565 * gdb.python/py-events.py (inferior_call_handler): New.
15566 (register_changed_handler, memory_changed_handler): New.
15567 (test_events.invoke): Register new handlers.
15568 * gdb.python/py-events.exp: Add tests for inferior call,
15569 memory_changed and register_changed events.
15570
15571 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
15572
15573 * gdb.base/execl-update-breakpoints.exp: Specify the link address
15574 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
15575 if the linker doesn't understand this.
15576
15577 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
15578
15579 * gdb.python/python.exp: Change expected reply to help().
15580
15581 2014-12-01 Yao Qi <yao@codesourcery.com>
15582
15583 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
15584 AC_CONFIG_SUBDIRS(gdb.gdbtk).
15585 * configure: Re-generated.
15586
15587 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
15588
15589 * gdb.cp/chained-calls.cc: New file.
15590 * gdb.cp/chained-calls.exp: New file.
15591 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
15592
15593 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
15594
15595 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
15596 * gdb.dwarf2/symtab-producer.exp: Same.
15597 * gdb.gdb/python-interrupts.exp: Same.
15598 * gdb.gdb/python-selftest.exp: Same.
15599 * gdb.python/py-linetable.exp: Same.
15600 * gdb.python/py-type.exp: Same.
15601 * gdb.python/py-value-cc.exp: Same.
15602 * gdb.python/py-value.exp: Same.
15603
15604 2014-11-28 Yao Qi <yao@codesourcery.com>
15605
15606 * gdb.base/break-probes.exp: Match library name prefixed with
15607 sysroot.
15608
15609 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
15610
15611 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
15612 test expected output. Add parentheses for the call to print.
15613 Remove L suffix from integers.
15614
15615 2014-11-26 Doug Evans <dje@google.com>
15616
15617 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
15618
15619 2014-11-22 Yao Qi <yao@codesourcery.com>
15620
15621 * gdb.trace/entry-values.c: Remove asms.
15622 (foo): Add foo_label.
15623 (bar): Add bar_label.
15624 * gdb.trace/entry-values.exp: Remove code computing foo's
15625 length and bar's length.
15626 (Dwarf::assemble): Invoke function_range for bar and use
15627 MACRO_AT_func for foo.
15628
15629 2014-11-22 Yao Qi <yao@codesourcery.com>
15630
15631 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
15632 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
15633 Use .Lgcc43_procstart instead of gcc43.
15634
15635 2014-11-21 Joel Brobecker <brobecker@adacore.com>
15636
15637 * gdb.ada/n_arr_bound: New testcase.
15638
15639 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
15640
15641 PR breakpoints/10737
15642 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
15643 test_catch_syscall_multi_arch.
15644 (test_catch_syscall_multi_arch): New function.
15645
15646 2014-11-20 Doug Evans <xdje42@gmail.com>
15647
15648 * gdb.base/maint.exp: Update expected output.
15649
15650 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
15651
15652 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
15653 4-byte instruction on S390.
15654
15655 2014-11-19 Joel Brobecker <brobecker@adacore.com>
15656
15657 * gdb.ada/arr_arr: New testcase.
15658
15659 2014-11-19 Joel Brobecker <brobecker@adacore.com>
15660
15661 * gdb.ada/pkd_arr_elem: New Testcase.
15662
15663 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
15664
15665 * gdb.reverse/break-precsave: Expect completion message for
15666 core file reads.
15667 * gdb.reverse/consecutive-precsave.exp: Likewise.
15668 * gdb.reverse/finish-precsave.exp: Likewise.
15669 * gdb.reverse/i386-precsave.exp: Likewise.
15670 * gdb.reverse/machinestate-precsave.exp: Likewise.
15671 * gdb.reverse/sigall-precsave.exp: Likewise.
15672 * gdb.reverse/solib-precsave.exp: Likewise.
15673 * gdb.reverse/step-precsave.exp: Likewise.
15674 * gdb.reverse/until-precsave.exp: Likewise.
15675 * gdb.reverse/watch-precsave.exp: Likewise.
15676
15677 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15678
15679 * gdb.base/bp-permanent.c: Include unistd.h.
15680 * gdb.python/py-framefilter-mi.c (main): Add return type.
15681 * gdb.python/py-framefilter.c (main): Likewise.
15682 * gdb.trace/actions-changed.c (main): Likewise.
15683
15684 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15685
15686 * gdb.mi/until.c: Add eye-catchers.
15687 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
15688 line numbers.
15689
15690 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15691
15692 * gdb.base/condbreak.exp: Drop references to removed non-prototype
15693 function header variants in break1.c.
15694 * gdb.base/ena-dis-br.exp: Likewise.
15695 * gdb.base/hbreak2.exp: Likewise.
15696 * gdb.reverse/until-precsave.exp: Drop references to removed
15697 non-prototype function header variants in ur1.c.
15698 * gdb.reverse/until-reverse.exp: Likewise.
15699
15700 2014-11-17 Petr Machata <pmachata@redhat.com>
15701
15702 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
15703 ${_cu_offset_size} bytes abbrev offset.
15704
15705 2014-11-15 Doug Evans <xdje42@gmail.com>
15706
15707 PR symtab/17559
15708 * gdb.base/line-symtabs.exp: New file.
15709 * gdb.base/line-symtabs.c: New file.
15710 * gdb.base/line-symtabs.h: New file.
15711
15712 2014-11-14 Yao Qi <yao@codesourcery.com>
15713
15714 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
15715 (func): Add label func_label.
15716 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
15717 Replace low_pc and high_pc with MACRO_AT_range.
15718 Replace name, low_pc and high_pc with MACRO_AT_func.
15719
15720 2014-11-14 Yao Qi <yao@codesourcery.com>
15721
15722 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
15723 Replace name, low_pc and high_pc with MACRO_AT_func.
15724
15725 2014-11-14 Yao Qi <yao@codesourcery.com>
15726
15727 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
15728 produce debug information.
15729 * gdb.dwarf2/implptr-optimized-out.S: Removed.
15730
15731 2014-11-14 Yao Qi <yao@codesourcery.com>
15732
15733 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
15734 object and get function length.
15735 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
15736 with MACRO_AT_func.
15737 (top-level): Replace gdb_compile and clean_restart with
15738 prepare_for_testing.
15739 * gdb.dwarf2/main.c (main): Add label main_label.
15740
15741 2014-11-14 Yao Qi <yao@codesourcery.com>
15742
15743 * lib/dwarf.exp (function_range): New procedure.
15744 (Dwarf::_handle_macro_at_func): New procedure.
15745 (Dwarf::_handle_macro_at_range): New procedure.
15746 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
15747
15748 2014-11-14 Yao Qi <yao@codesourcery.com>
15749
15750 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
15751 (_handle_attribute): New procedure.
15752
15753 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15754
15755 * gdb.ada/cond_lang/foo.c (callme): Add return type.
15756 * gdb.base/call-sc.c (zed): Likewise.
15757 * gdb.base/checkpoint.c (main): Likewise.
15758 * gdb.base/dump.c (main): Likewise.
15759 * gdb.base/gcore.c (main): Likewise.
15760 * gdb.base/huge.c (main): Likewise.
15761 * gdb.base/multi-forks.c (main): Likewise.
15762 * gdb.base/pr10179-a.c (main): Likewise.
15763 * gdb.base/savedregs.c (main): Likewise.
15764 * gdb.base/sigaltstack.c (main): Likewise.
15765 * gdb.base/siginfo.c (main): Likewise.
15766 * gdb.base/structs.c (zed): Likewise.
15767 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
15768 * gdb.mi/mi-syn-frame.c (main): Likewise.
15769 * gdb.mi/until.c (foo, main): Likewise.
15770 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
15771 * gdb.base/solib-weak.c (foo): Declare.
15772 * gdb.base/attach-twice.c: Include stdio.h.
15773 * gdb.base/weaklib1.c: Likewise.
15774 * gdb.base/weaklib2.c: Likewise.
15775 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
15776 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
15777 unistd.h.
15778 * gdb.base/attach-pie-misread.c: Include stdlib.h.
15779 * gdb.mi/mi-exit-code.c: Likewise.
15780 * gdb.base/break-interp-lib.c: Include string.h.
15781 * gdb.base/coremaker.c: Likewise.
15782 * gdb.base/testenv.c: Likewise.
15783 * gdb.python/py-finish-breakpoint.c: Likewise.
15784 * gdb.base/inferior-died.c: Include sys/wait.h.
15785 * gdb.base/fileio.c: Include time.h.
15786 * gdb.base/async-shell.c: Include unistd.h.
15787 * gdb.base/dprintf-non-stop.c: Likewise.
15788 * gdb.base/info-os.c: Likewise.
15789 * gdb.mi/mi-console.c: Likewise.
15790 * gdb.mi/watch-nonstop.c: Likewise.
15791 * gdb.python/py-events.c: Likewise.
15792 * gdb.base/async.c (baz): Move up before its invocation.
15793 * gdb.base/code_elim2.c (my_global_func): Likewise.
15794 * gdb.base/skip-solib-lib.c (multiply): Likewise.
15795 * gdb.base/advance.c (func2): Likewise.
15796
15797 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15798
15799 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
15800 variant.
15801 * gdb.base/annota3.c: Likewise.
15802 * gdb.base/async.c: Likewise.
15803 * gdb.base/average.c: Likewise.
15804 * gdb.base/call-ar-st.c: Likewise.
15805 * gdb.base/call-rt-st.c: Likewise.
15806 * gdb.base/call-sc.c: Likewise.
15807 * gdb.base/call-strs.c: Likewise.
15808 * gdb.base/ending-run.c: Likewise.
15809 * gdb.base/execd-prog.c: Likewise.
15810 * gdb.base/exprs.c: Likewise.
15811 * gdb.base/foll-exec.c: Likewise.
15812 * gdb.base/foll-fork.c: Likewise.
15813 * gdb.base/foll-vfork.c: Likewise.
15814 * gdb.base/funcargs.c: Likewise.
15815 * gdb.base/gcore.c: Likewise.
15816 * gdb.base/jump.c: Likewise.
15817 * gdb.base/langs0.c: Likewise.
15818 * gdb.base/langs1.c: Likewise.
15819 * gdb.base/langs2.c: Likewise.
15820 * gdb.base/mips_pro.c: Likewise.
15821 * gdb.base/nodebug.c: Likewise.
15822 * gdb.base/opaque0.c: Likewise.
15823 * gdb.base/opaque1.c: Likewise.
15824 * gdb.base/recurse.c: Likewise.
15825 * gdb.base/run.c: Likewise.
15826 * gdb.base/scope0.c: Likewise.
15827 * gdb.base/scope1.c: Likewise.
15828 * gdb.base/setshow.c: Likewise.
15829 * gdb.base/setvar.c: Likewise.
15830 * gdb.base/shmain.c: Likewise.
15831 * gdb.base/shr1.c: Likewise.
15832 * gdb.base/shr2.c: Likewise.
15833 * gdb.base/sigall.c: Likewise.
15834 * gdb.base/signals.c: Likewise.
15835 * gdb.base/so-indr-cl.c: Likewise.
15836 * gdb.base/solib2.c: Likewise.
15837 * gdb.base/structs.c: Likewise.
15838 * gdb.base/sum.c: Likewise.
15839 * gdb.base/vforked-prog.c: Likewise.
15840 * gdb.base/watchpoint.c: Likewise.
15841 * gdb.reverse/shr2.c: Likewise.
15842 * gdb.reverse/until-reverse.c: Likewise.
15843 * gdb.reverse/ur1.c: Likewise.
15844 * gdb.reverse/watch-reverse.c: Likewise.
15845
15846 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15847
15848 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
15849 variant.
15850 * gdb.base/sepdebug.exp: Drop references to removed code.
15851
15852 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15853
15854 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
15855 variant. Preserve original line numbering.
15856 * gdb.base/list1.c: Likewise.
15857
15858 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15859
15860 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
15861 variant.
15862 * gdb.base/break1.c: Likewise.
15863 * gdb.base/break.exp: Drop references to removed code.
15864
15865 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15866
15867 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
15868 variant.
15869
15870 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15871
15872 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
15873
15874 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15875
15876 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
15877 logic into perform_all_tests() and invoke it with and without
15878 function header prototypes.
15879 (do_function_calls): Remove conditional XFAIL for PR 5318.
15880 (rerun_and_prepare): Remove duplicate code.
15881 (perform_all_tests): New. Main logic moved here.
15882
15883 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15884
15885 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
15886 code guarded by #ifdef NO_PROTOTYPES.
15887 (t_double_many_args): Likewise.
15888 (DEF_FUNC_MANY_ARGS_1): Likewise.
15889 (DEF_FUNC_VALUES_1): Likewise.
15890 (t_structs_ldc): Renamed from t_structs_fc in conditional code
15891 guarded by #ifdef PROTOTYPES.
15892
15893 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15894
15895 * gdb.mi/mi-console.c: Add eye-catcher.
15896 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
15897 instead of literal line number.
15898
15899 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15900
15901 * gdb.base/shr2.c: Add eye-catcher.
15902 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
15903 line number.
15904
15905 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15906
15907 * gdb.base/jump.c: Add eye-catchers.
15908 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
15909 numbers.
15910
15911 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15912
15913 * gdb.base/execd-prog.c: Add eye-catchers.
15914 * gdb.base/foll-exec.c: Likewise.
15915 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
15916 line numbers.
15917
15918 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15919
15920 * gdb.base/ending-run.c: Add eye-catchers.
15921 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
15922 literal line numbers.
15923
15924 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15925
15926 * gdb.base/call-rt-st.c: Add eye-catchers.
15927 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
15928 literal line numbers.
15929
15930 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15931
15932 * gdb.base/call-ar-st.c: Add eye-catchers.
15933 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
15934 literal line numbers.
15935
15936 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15937
15938 * gdb.base/average.c: Add eye-catchers.
15939 * gdb.base/sum.c: Likewise.
15940 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
15941 regexps dynamically.
15942
15943 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15944
15945 * gdb.base/solib1.c: Add eye-catchers.
15946 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
15947 literal line numbers.
15948
15949 2014-11-12 Pedro Alves <palves@redhat.com>
15950
15951 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
15952 leader has exited.
15953
15954 2014-11-12 Pedro Alves <palves@redhat.com>
15955
15956 * gdb.arch/i386-bp_permanent.c: New file.
15957 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
15958 (srcfile): Set to i386-bp_permanent.c.
15959 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
15960 that stepi does not execute the 'leave' instruction, instead of
15961 testing it does execute.
15962 * gdb.base/bp-permanent.c: New file.
15963 * gdb.base/bp-permanent.exp: New file.
15964
15965 2014-11-10 Doug Evans <xdje42@gmail.com>
15966
15967 PR symtab/17564
15968 * gdb.base/symtab-search-order.exp: New file.
15969 * gdb.base/symtab-search-order.c: New file.
15970 * gdb.base/symtab-search-order-1.c: New file.
15971 * gdb.base/symtab-search-order-shlib-1.c: New file.
15972
15973 2014-11-07 Pedro Alves <palves@redhat.com>
15974
15975 PR gdb/17511
15976 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
15977 i?86-*-linux*.
15978
15979 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
15980
15981 PR c++/17494
15982 * gdb.cp/pr17494.cc: New file.
15983 * gdb.cp/pr17494.exp: New file.
15984
15985 2014-11-02 Yao Qi <yao@codesourcery.com>
15986
15987 * gdb.python/python.exp: Get working directory and match the
15988 output of "set extended-prompt \\w " with it.
15989
15990 2014-10-30 Doug Evans <dje@google.com>
15991
15992 * gdb.python/py-objfile.exp: Add tests for setting random attributes
15993 in objfiles.
15994 * gdb.python/py-progspace.exp: Add tests for setting random attributes
15995 in progspaces.
15996
15997 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
15998
15999 * gdb.base/fullpath-expand.exp: Skip for a remote host.
16000 * gdb.base/realname-expand.exp: Likewise.
16001 * gdb.linespec/macro-relative.exp: Likewise.
16002
16003 2014-10-29 Pedro Alves <palves@redhat.com>
16004
16005 PR gdb/17408
16006 * gdb.threads/schedlock.c (some_function): New function.
16007 (call_function): New global.
16008 (MAYBE_CALL_SOME_FUNCTION): New macro.
16009 (thread_function): Call it.
16010 * gdb.threads/schedlock.exp (get_args): Add description parameter,
16011 and use it instead of a global counter. Adjust all callers.
16012 (get_current_thread): Use "find current thread" for test message
16013 here rather than having all callers pass down the same string.
16014 (goto_loop): New procedure, factored out from ...
16015 (my_continue): ... this.
16016 (step_ten_loops): Change parameter from test message to command to
16017 use. Adjust.
16018 (list_count): Delete global.
16019 (check_result): New procedure, factored out from duplicate top
16020 level code.
16021 (continue tests): Wrap in with_test_prefix.
16022 (test_step): New procedure, factored out from duplicate top level
16023 code.
16024 (top level): Test "step" in combination with all scheduler-locking
16025 modes. Test "next" in combination with all scheduler-locking
16026 modes, and in combination with stepping over a function call or
16027 not.
16028 * gdb.threads/next-bp-other-thread.c: New file.
16029 * gdb.threads/next-bp-other-thread.exp: New file.
16030
16031 2014-10-29 Pedro Alves <palves@redhat.com>
16032
16033 PR python/17372
16034 * gdb.python/python.exp: Test a multi-line command that spawns
16035 interactive Python.
16036 * gdb.base/multi-line-starts-subshell.exp: New file.
16037
16038 2014-10-29 Yao Qi <yao@codesourcery.com>
16039
16040 * gdb.base/fileio.exp: Make directories on host.
16041
16042 2014-10-29 Yao Qi <yao@codesourcery.com>
16043
16044 * gdb.base/fileio.c (test_write): Close the file.
16045
16046 2014-10-28 Pedro Alves <palves@redhat.com>
16047
16048 PR gdb/12623
16049 * gdb.base/sigstep.c (no_handler): New global.
16050 (main): If 'no_handler is true, set the signal handlers to
16051 SIG_IGN.
16052 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
16053 with_sw_watch and no_handler parameters. Handle them.
16054 (top level) <stepping over handler when stopped at a breakpoint
16055 test>: Add a test axis for testing with a software watchpoint, and
16056 another for testing with the signal handler set to SIG_IGN.
16057 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
16058 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
16059
16060 2014-10-28 Pedro Alves <palves@redhat.com>
16061
16062 PR gdb/17511
16063 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
16064 * gdb.base/sigstep.exp (other_handler_location): New global.
16065 (advance): Support stepping into the signal handler, and running
16066 commands while in the handler.
16067 (in_handler_map): New global.
16068 (top level): In the advance test, add combinations for getting
16069 into the handler with stepping commands, and for running commands
16070 in the handler. Add comment descripting the advancei tests.
16071
16072 2014-10-28 Pedro Alves <palves@redhat.com>
16073
16074 * gdb.base/sigstep.exp: Use build_executable instead of
16075 prepare_for_testing.
16076 (top level): Move code that starts GDB, runs to main and creates a
16077 display to ...
16078 (restart): ... this new procedure.
16079 (top level): Move backtrace from signal handler test to ...
16080 (validate_backtrace): ... this new procedure.
16081 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
16082 with_test_prefix. Always restart GDB.
16083 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
16084 with_test_prefix. Always restart GDB. No need to delete
16085 breakpoints after the test.
16086 (test_skip_handler): Remove prefix parameter.
16087 (skip_over_handler, breakpoint_to_handler)
16088 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
16089 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
16090 restart GDB. No need to delete breakpoints after the test.
16091 (top level): Use foreach to call the test procedures with
16092 different commands.
16093
16094 2014-10-28 Pedro Alves <palves@redhat.com>
16095
16096 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
16097 instead of GNATS numbers.
16098 * gdb.base/sigbpt.exp: Likewise.
16099 * gdb.base/siginfo.exp: Likewise.
16100 * gdb.base/sigstep.exp: Likewise.
16101
16102 2014-10-27 Pedro Alves <palves@redhat.com>
16103
16104 * gdb.base/sigstep.c (dummy): New global.
16105 (main): Issue a couple writes to the new global.
16106 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
16107 procedures.
16108 (skip_over_handler): Use test_skip_handler.
16109 (top level): Call skip_over_handler for stepi and nexti too.
16110 (breakpoint_over_handler): Use test_skip_handler.
16111 (top level): Call breakpoint_over_handler for stepi and nexti too.
16112
16113 2014-10-27 Yao Qi <yao@codesourcery.com>
16114
16115 * gdb.trace/tfile.c (adjust_function_address)
16116 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
16117 function descriptor.
16118
16119 2014-10-24 Don Breazeal <donb@codesourcery.com>
16120
16121 * gdb.base/foll-fork.exp (test_follow_fork,
16122 catch_fork_child_follow): Check for updated fork messages emitted
16123 from infrun.c.
16124 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
16125 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
16126 vfork_and_exec_child_follow_through_step): Check for updated vfork
16127 messages emitted from infrun.c.
16128
16129 2014-10-24 Pedro Alves <palves@redhat.com>
16130
16131 * gdb.base/corefile.exp: Remove references to ultrix.
16132 * gdb.base/interrupt.exp: Likewise.
16133 * gdb.base/whatis.exp: Likewise.
16134 * gdb.gdb/selftest.exp: Likewise.
16135 * gdb.threads/manythreads.exp: Likewise.
16136 * gdb.threads/print-threads.exp: Likewise.
16137 * gdb.threads/pthreads.exp:: Likewise.
16138 * gdb.threads/schedlock.exp: Likewise.
16139
16140 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
16141
16142 * gdb.cp/non-trivial-retval.cc: Add a test case.
16143 * gdb.cp/non-trivial-retval.exp: Add a test.
16144
16145 2014-10-20 Yao Qi <yao@codesourcery.com>
16146
16147 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
16148 * gdb.python/py-objfile-script-gdb.py: New file.
16149 * gdb.python/py-objfile-script.exp: Update reference to
16150 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
16151 of remote_download. Remove the dest file.
16152
16153 2014-10-20 Yao Qi <yao@codesourcery.com>
16154
16155 * gdb.base/checkpoint.exp: Don't remove file copied on host.
16156 * gdb.base/step-line.exp: Likewise.
16157 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
16158 * gdb.dwarf2/dw2-basic.exp: Likewise.
16159 * gdb.dwarf2/dw2-compressed.exp: Likewise.
16160 * gdb.dwarf2/dw2-filename.exp: Likewise.
16161 * gdb.dwarf2/dw2-intercu.exp: Likewise.
16162 * gdb.dwarf2/dw2-intermix.exp: Likewise.
16163 * gdb.dwarf2/dw2-producer.exp: Likewise.
16164 * gdb.dwarf2/mac-fileno.exp: Likewise.
16165 * gdb.python/py-frame-args.exp: Likewise.
16166 * gdb.python/py-framefilter.exp: Likewise.
16167 * gdb.python/py-mi.exp: Likewise.
16168 * gdb.python/py-objfile-script.exp: Likewise
16169 * gdb.python/py-pp-integral.exp: Likewise.
16170 * gdb.python/py-pp-re-notag.exp: Likewise.
16171 * gdb.python/py-prettyprint.exp: Likewise.
16172 * gdb.python/py-section-script.exp: Likewise.
16173 * gdb.python/py-typeprint.exp: Likewise.
16174 * gdb.python/py-xmethods.exp: Likewise.
16175 * gdb.stabs/weird.exp: Likewise.
16176 * gdb.xml/tdesc-regs.exp: Likewise.
16177
16178 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
16179
16180 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
16181 (out_cu): Use addr_len for the size of addresses.
16182 (out_line): Likewise. Size DW_LNE_set_address instruction
16183 according to addr_len.
16184 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
16185 (FUNC): Add START_INSNS to definition.
16186
16187 2014-10-18 Yao Qi <yao@codesourcery.com>
16188
16189 * gdb.base/argv0-symlink.exp: Check argv[0] value if
16190 gdb_has_argv0 return true.
16191 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
16192 check [target_info exists noargs], check [gdb_has_argv0]
16193 instead.
16194 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
16195 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
16196 procedures.
16197
16198 2014-10-17 Doug Evans <dje@google.com>
16199
16200 * gdb.python/py-events.exp: Update expected output for clear_objfiles
16201 event.
16202 * gdb.python/py-events.py: Add clear_objfiles event.
16203
16204 2014-10-17 Doug Evans <dje@google.com>
16205
16206 * gdb.python/py-objfile.exp: Test progspace attribute.
16207
16208 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
16209
16210 * gdb.guile/scm-breakpoint.exp: Do not assume any
16211 directory separators when matching source file paths.
16212 * gdb.python/py-breakpoint.exp: Likewise.
16213 * gdb.reverse/break-precsave.exp: Likewise.
16214 * gdb.reverse/break-reverse.exp: Likewise.
16215 * gdb.reverse/consecutive-precsave.exp: Likewise.
16216 * gdb.reverse/finish-precsave.exp: Likewise.
16217 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
16218 * gdb.reverse/finish-reverse.exp: Likewise.
16219 * gdb.reverse/i386-precsave.exp: Likewise.
16220 * gdb.reverse/i387-env-reverse.exp: Likewise.
16221 * gdb.reverse/i387-stack-reverse.exp: Likewise.
16222 * gdb.reverse/machinestate-precsave.exp: Likewise.
16223 * gdb.reverse/machinestate.exp: Likewise.
16224 * gdb.reverse/sigall-precsave.exp: Likewise.
16225 * gdb.reverse/solib-precsave.exp: Likewise.
16226 * gdb.reverse/step-precsave.exp: Likewise.
16227 * gdb.reverse/until-precsave.exp: Likewise.
16228 * gdb.reverse/watch-precsave.exp: Likewise.
16229 * gdb.reverse/watch-reverse.exp: Likewise.
16230
16231 2014-10-17 Yao Qi <yao@codesourcery.com>
16232
16233 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
16234 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
16235
16236 2014-10-17 Pedro Alves <palves@redhat.com>
16237
16238 PR gdb/17471
16239 * gdb.base/bg-execution-repeat.c: New file.
16240 * gdb.base/bg-execution-repeat.exp: New file.
16241
16242 2014-10-17 Pedro Alves <palves@redhat.com>
16243
16244 PR gdb/17300
16245 * gdb.base/continue-all-already-running.c: New file.
16246 * gdb.base/continue-all-already-running.exp: New file.
16247
16248 2014-10-17 Pedro Alves <palves@redhat.com>
16249
16250 PR gdb/17472
16251 * gdb.base/annota-input-while-running.c: New file.
16252 * gdb.base/annota-input-while-running.exp: New file.
16253
16254 2014-10-17 Pedro Alves <palves@redhat.com>
16255
16256 * gdb.base/callfuncs.exp: emove references to osf.
16257 * gdb.base/sigall.exp: Likewise.
16258 * gdb.gdb/selftest.exp: Likewise.
16259 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
16260 * gdb.mi/non-stop.c: Likewise.
16261 * gdb.mi/pthreads.c: Likewise.
16262 * gdb.reverse/sigall-precsave.exp: Likewise.
16263 * gdb.reverse/sigall-reverse.exp: Likewise.
16264 * gdb.threads/pthreads.c: Likewise.
16265 * gdb.threads/pthreads.exp: Likewise.
16266
16267 2014-10-17 Yao Qi <yao@codesourcery.com>
16268
16269 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
16270 check 'target_info exists noargs'.
16271 (test_command_prompt_position): Likewise.
16272 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
16273 Remove "set args".
16274 (progvar_simple_while_test): Likewise.
16275 (progvar_complex_if_while_test): Likewise.
16276 (if_while_breakpoint_command_test): Likewise.
16277 (infrun_breakpoint_command_test): Likewise.
16278 (breakpoint_command_test): Likewise.
16279 (watchpoint_command_test): Likewise.
16280 (bp_deleted_in_command_test): Likewise.
16281 (temporary_breakpoint_commands): Likewise.
16282
16283 2014-10-16 Yao Qi <yao@codesourcery.com>
16284
16285 * gdb.base/remotetimeout.exp: Remove noargs checking.
16286
16287 2014-10-15 Pedro Alves <palves@redhat.com>
16288
16289 PR breakpoints/9649
16290 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
16291 * gdb.base/breakpoint-in-ro-region.exp
16292 (probe_target_hardware_step): New procedure.
16293 (top level): Probe hardware stepping and hardware breakpoint
16294 support. Test stepping through a read-only region, with both
16295 "breakpoint auto-hw" on and off and both "always-inserted" on and
16296 off.
16297
16298 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
16299
16300 * gdb.dlang/demangle.exp: Update for demangling changes.
16301
16302 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
16303
16304 * gdb.cp/non-trivial-retval.cc: Add new test cases.
16305 * gdb.cp/non-trivial-retval.exp: Add new tests.
16306
16307 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
16308
16309 PR c++/13403
16310 PR c++/15154
16311 * gdb.cp/non-trivial-retval.cc: New file.
16312 * gdb.cp/non-trivial-retval.exp: New file.
16313
16314 2014-10-15 Yao Qi <yao@codesourcery.com>
16315
16316 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
16317 remote host.
16318
16319 2014-10-15 Yao Qi <yao@codesourcery.com>
16320
16321 * gdb.python/py-symbol.exp: Match file base name if host is
16322 remote, otherwise match file name with dir name.
16323 * gdb.python/py-symtab.exp: Likewise.
16324 * gdb.python/python.exp: Likewise.
16325
16326 2014-10-15 Yao Qi <yao@codesourcery.com>
16327
16328 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
16329 pattern.
16330 * gdb.python/py-symtab.exp: Likewise.
16331 * gdb.python/python.exp: Remove trailing ".*". Fix typo
16332 locationn.
16333
16334 2014-10-14 Joel Brobecker <brobecker@adacore.com>
16335
16336 * gdb.ada/addr_arith: New testcase.
16337
16338 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
16339
16340 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
16341 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
16342 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
16343 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
16344
16345 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
16346
16347 * gdb.arch/stap-eval-lang-ada.S: Likewise.
16348 * gdb.arch/stap-eval-lang-ada.c: Likewise.
16349 * gdb.arch/stap-eval-lang-ada.exp: New file.
16350
16351 2014-10-14 Yao Qi <yao@codesourcery.com>
16352
16353 * gdb.mi/mi-var-child.c (nothing1): New function.
16354 (nothing2): New function.
16355 (do_children_tests): Set function pointers by nothing1 and
16356 nothing2.
16357 * gdb.mi/mi-var-child.exp: Step over new added statements.
16358 Update test to match the new output.
16359 * gdb.mi/var-cmd.c (nothing1): New function.
16360 (nothing2): New function.
16361 (do_children_tests): Set function pointers by nothing1 and
16362 nothing2.
16363 * gdb.mi/mi-var-display.exp: Update test to match output.
16364 Step to the line specified by $line_dct_nothing.
16365 Increase the number of lines to step.
16366
16367 2014-10-14 Yao Qi <yao@codesourcery.com>
16368
16369 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
16370 tests.
16371 * gdb.mi/mi2-var-child.exp: Likewise.
16372
16373 2014-10-13 Doug Evans <dje@google.com>
16374
16375 * gdb.python/py-objfile.exp: Change name of file name test.
16376
16377 2014-10-13 Doug Evans <dje@google.com>
16378
16379 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
16380 from the start of the CU.
16381
16382 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
16383 Yao Qi <yao@codesourcery.com>
16384
16385 Fix "save breakpoints" for "catch" command.
16386 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
16387 Remove -nonewline. Match also the added "main" line.
16388
16389 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16390
16391 Fix "save breakpoints" for "disable $bpnum" command.
16392 * gdb.base/save-bp.c (main): Add label.
16393 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
16394
16395 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16396
16397 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
16398
16399 2014-10-11 Yao Qi <yao@codesourcery.com>
16400
16401 * gdb.server/server-kill.exp: Execute command
16402 "set remote trace-status-packet on" before "tstatus".
16403
16404 2014-10-11 Yao Qi <yao@codesourcery.com>
16405
16406 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
16407 (main): Call getppid.
16408 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
16409 and continue to it. Read variable "server_pid".
16410
16411 2014-10-11 Yao Qi <yao@codesourcery.com>
16412
16413 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
16414
16415 2014-10-11 Yao Qi <yao@codesourcery.com>
16416
16417 * gdb.threads/thread-find.exp: Don't execute command
16418 "info threads".
16419 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
16420 * gdb.threads/linux-dp.exp: Don't check the condition
16421 $threads_created equals to zero.
16422
16423 2014-10-10 Pedro Alves <palves@redhat.com>
16424
16425 * gdb.base/bigcore.exp: Remove references to IRIX.
16426 * gdb.base/funcargs.exp: Likewise.
16427 * gdb.base/interrupt.exp: Likewise.
16428 * gdb.base/mips_pro.exp: Likewise.
16429 * gdb.base/nodebug.exp: Likewise.
16430 * gdb.base/setvar.exp: Likewise.
16431 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
16432
16433 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
16434 Pedro Alves <palves@redhat.com>
16435
16436 PR symtab/14466
16437 * gdb.base/vdso-warning.c: New file.
16438 * gdb.base/vdso-warning.exp: New file.
16439
16440 2014-10-02 Doug Evans <dje@google.com>
16441
16442 * gdb.base/structs.c (main): Don't run forever.
16443
16444 2014-10-02 Pedro Alves <palves@redhat.com>
16445
16446 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
16447 (top level) <stop threads 1, stop threads 2>: Use it.
16448
16449 2014-10-02 Pedro Alves <palves@redhat.com>
16450
16451 * gdb.threads/break-while-running.exp (test): Add new
16452 'update_thread_list' argument. Skip "info threads" if false.
16453 (top level): Add new 'update_thread_list' axis.
16454
16455 2014-10-02 Pedro Alves <palves@redhat.com>
16456
16457 PR breakpoints/17431
16458 * gdb.base/execl-update-breakpoints.c: New file.
16459 * gdb.base/execl-update-breakpoints.exp: New file.
16460
16461 2014-10-01 Pedro Alves <palves@redhat.com>
16462
16463 * gdb.base/breakpoint-in-ro-region.c: New file.
16464 * gdb.base/breakpoint-in-ro-region.exp: New file.
16465
16466 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
16467
16468 * gdb.mi/mi-exit-code.exp: New file.
16469 * gdb.mi/mi-exit-code.c: New file.
16470
16471 2014-09-30 Yao Qi <yao@codesourcery.com>
16472
16473 * lib/prelink-support.exp (build_executable_own_libs): Error if
16474 the target isn't native.
16475
16476 2014-09-30 Yao Qi <yao@codesourcery.com>
16477
16478 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
16479 false.
16480
16481 2014-09-22 Pedro Alves <palves@redhat.com>
16482
16483 * gdb.threads/break-while-running.exp: New file.
16484 * gdb.threads/break-while-running.c: New file.
16485
16486 2014-09-19 Yao Qi <yao@codesourcery.com>
16487
16488 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
16489 Invoke test. Restart GDB with --readnow and invoke test again.
16490
16491 2014-09-19 Yao Qi <yao@codesourcery.com>
16492
16493 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
16494 proc set_breakpoint_on_gcd_function. Invoke
16495 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
16496 invoke set_breakpoint_on_gcd_function again.
16497
16498 2014-09-18 Doug Evans <dje@google.com>
16499
16500 * gdb.dwarf2/symtab-producer.exp: New file.
16501
16502 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
16503
16504 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
16505 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
16506 * gdb.base/global-var-nested-by-dso.c: Likewise.
16507 * gdb.base/global-var-nested-by-dso.exp: Likewise.
16508
16509 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
16510 Pedro Alves <palves@redhat.com>
16511
16512 * gdb.base/watch-bitfields.exp: Pass string other than test file
16513 name to prepare_for_testing.
16514 (watch): New procedure.
16515 (expect_watchpoint): Use with_test_prefix.
16516 (top level): Factor out tests to ...
16517 (test_watch_location, test_regular_watch): ... these new
16518 procedures, and use with_test_prefix and gdb_continue_to_end.
16519
16520 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
16521
16522 PR breakpoints/12526
16523 * gdb.base/watch-bitfields.exp: New file.
16524 * gdb.base/watch-bitfields.c: New file.
16525
16526 2014-09-16 Pedro Alves <palves@redhat.com>
16527
16528 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
16529 software and hardware addresses, not software address against
16530 itself.
16531
16532 2014-09-16 Pedro Alves <palves@redhat.com>
16533
16534 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
16535 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
16536
16537 2014-09-16 Pedro Alves <palves@redhat.com>
16538
16539 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
16540 files.
16541 * gdb.base/a2-run.exp: Remove all code guarded by istarget
16542 "*-*-vxworks*" throughout.
16543 * gdb.base/break.exp: Likewise.
16544 * gdb.base/default.exp: Likewise.
16545 * gdb.base/scope.exp: Likewise.
16546 * gdb.base/sepdebug.exp: Likewise.
16547 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
16548 throughout.
16549 * gdb.base/run.c: Likewise.
16550 * gdb.base/sepdebug.c: Likewise.
16551 * gdb.hp/gdb.aCC/run.c: Likewise.
16552 * gdb.reverse/until-reverse.c: Likewise.
16553 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
16554
16555 2014-09-16 Yao Qi <yao@codesourcery.com>
16556
16557 * boards/local-remote-host-native.exp: New file.
16558
16559 2014-09-14 Doug Evans <xdje42@gmail.com>
16560
16561 * gdb.threads/queue-signal.c (thread_count): New variable.
16562 (thread_count_mutex, thread_count_condvar): New variables.
16563 (incr_thread_count, wait_all_threads_running): New functions.
16564 (main): Wait for all threads to be in their thread functions.
16565
16566 2014-09-13 Doug Evans <xdje42@gmail.com>
16567
16568 * gdb.threads/queue-signal.c: New file.
16569 * gdb.threads/queue-signal.exp: New file.
16570
16571 2014-09-13 Doug Evans <xdje42@gmail.com>
16572
16573 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
16574 be consistent with what default_gdb_init uses.
16575 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
16576 the plain text of the prompt. Add some logging printfs.
16577 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
16578
16579 2014-09-12 Pedro Alves <palves@redhat.com>
16580
16581 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
16582 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
16583 * gdb.arch/i386-size-overlap.exp: Likewise.
16584 * gdb.arch/i386-size.exp: Likewise.
16585 * gdb.arch/i386-unwind.exp: Likewise.
16586 * gdb.base/a2-run.exp: Likewise.
16587 * gdb.base/break.exp: Likewise.
16588 * gdb.base/charset.exp: Likewise.
16589 * gdb.base/chng-syms.exp: Likewise.
16590 * gdb.base/commands.exp: Likewise.
16591 * gdb.base/dbx.exp: Likewise.
16592 * gdb.base/find.exp: Likewise.
16593 * gdb.base/funcargs.exp: Likewise.
16594 * gdb.base/jit-simple.exp: Likewise.
16595 * gdb.base/reread.exp: Likewise.
16596 * gdb.base/sepdebug.exp: Likewise.
16597 * gdb.base/step-bt.exp: Likewise.
16598 * gdb.cp/mb-inline.exp: Likewise.
16599 * gdb.cp/mb-templates.exp: Likewise.
16600 * gdb.objc/basicclass.exp: Likewise.
16601 * gdb.threads/killed.exp: Likewise.
16602
16603 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16604
16605 PR tdep/17379
16606 * gdb.arch/powerpc-stackless.S: New file.
16607 * gdb.arch/powerpc-stackless.exp: New file.
16608
16609 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16610
16611 * gdb.base/attach.c: Include unistd.h.
16612 (main): Call alarm. Add label postloop.
16613 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
16614 gdb_breakpoint, gdb_continue_to_breakpoint.
16615 (test_command_line_attach_run): Kill ${testpid} in one exit path.
16616
16617 2014-09-11 Pedro Alves <palves@redhat.com>
16618
16619 PR gdb/17347
16620 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
16621 * gdb.base/attach.exp (test_command_line_attach_run): New
16622 procedure.
16623 (top level): Call it.
16624
16625 2014-09-11 Pedro Alves <palves@redhat.com>
16626
16627 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
16628 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
16629 (do_command_attach_tests): Use spawn_wait_for_attach.
16630 * gdb.base/solib-overlap.exp: Likewise.
16631 * gdb.multi/multi-attach.exp: Likewise.
16632 * gdb.python/py-prompt.exp: Likewise.
16633 * gdb.python/py-sync-interp.exp: Likewise.
16634 * gdb.server/ext-attach.exp: Likewise.
16635
16636 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
16637
16638 * gdb.fortran/array-element.exp: Remove unexpected "continue"
16639 command in testcase. Simplify testcase.
16640
16641 2014-09-10 Joel Brobecker <brobecker@adacore.com>
16642
16643 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
16644
16645 2014-09-10 Joel Brobecker <brobecker@adacore.com>
16646
16647 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
16648
16649 2014-09-10 Joel Brobecker <brobecker@adacore.com>
16650
16651 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
16652
16653 2014-09-10 Joel Brobecker <brobecker@adacore.com>
16654
16655 * gdb.dwarf2/dynarr-ptr.c: New file.
16656 * gdb.dwarf2/dynarr-ptr.exp: New file.
16657
16658 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16659
16660 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
16661 of 30 rather than hardcoding 120 for a slow test case. Take the
16662 `gdb,timeout' target setting into account for this calculation.
16663 Don't extend the timeout for the test cases that don't need it.
16664
16665 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16666
16667 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
16668 a factor of 2 for a slow test case. Take the `gdb,timeout'
16669 target setting into account for this calculation.
16670 * gdb.reverse/until-precsave.exp: Increase the timeout by
16671 a factor of 15 and 3 respectively rather than adding 120
16672 for a pair of slow test cases. Take the `gdb,timeout'
16673 target setting into account for this calculation.
16674
16675 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16676
16677 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
16678 timeout, don't pass one down to gdb_expect.
16679 (gdb_expect): Rework timeout selection.
16680
16681 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16682
16683 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
16684 exception on timeout.
16685 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
16686 (gdbserver_start_extended): Catch any `gdbserver_start' error
16687 exceptions.
16688 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
16689 * lib/mi-support.exp (mi_gdb_target_load): Catch any
16690 `gdbserver_gdb_load' error exceptions.
16691
16692 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16693
16694 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
16695 120 on waiting for the TCP socket to open.
16696
16697 2014-09-09 Doug Evans <xdje42@gmail.com>
16698
16699 * gdb.base/default.exp (show_conv_list): Add _caller_is,
16700 _caller_matches, _any_caller_is, _any_caller_matches.
16701
16702 2014-09-09 Doug Evans <xdje42@gmail.com>
16703
16704 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
16705
16706 2014-09-09 Yao Qi <yao@codesourcery.com>
16707
16708 * gdb.mi/mi-var-display.exp: Set print symbol off.
16709
16710 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
16711
16712 PR gdb/17035
16713 * gdb.base/commands.exp: Add tests to verify user-defined
16714 commands with empty bodies.
16715 * gdb.python/py-cmd.exp: Test that we don't show user-defined
16716 python commands in `show user command`.
16717 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
16718 scheme commands in `show user command`.
16719
16720 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16721
16722 PR python/17355
16723 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
16724 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
16725 * gdb.python/py-framefilter-invalidarg.exp: New file.
16726 * gdb.python/py-framefilter-invalidarg.py: New file.
16727
16728 2014-09-06 Doug Evans <xdje42@gmail.com>
16729
16730 PR 15276
16731 * gdb.python/py-caller-is.c: New file.
16732 * gdb.python/py-caller-is.exp: New file.
16733
16734 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
16735
16736 PR gdb/17235
16737 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
16738 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
16739
16740 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
16741
16742 PR fortran/17237
16743 * gdb.fortran/print-formatted.exp: New file.
16744 * gdb.fortran/print-formatted.f90: Likewise.
16745
16746 2014-09-03 Sasha Smundak <asmundak@google.com>
16747
16748 * gdb.python/py-frame.exp: Test Frame.read_register.
16749
16750 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
16751
16752 PR python/16699
16753 * gdb.python/py-completion.exp: New file.
16754 * gdb.python/py-completion.py: Likewise.
16755
16756 2014-08-28 Doug Evans <dje@google.com>
16757
16758 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
16759 eax,etc. are live with values set by gdb and thus the compiler can't
16760 use them.
16761 * gdb.arch/i386-pseudo.c (main): Ditto.
16762
16763 2014-08-27 Doug Evans <dje@google.com>
16764
16765 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
16766
16767 2014-08-25 Doug Evans <dje@google.com>
16768
16769 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
16770 (main): Ditto.
16771
16772 2014-08-25 Doug Evans <dje@google.com>
16773
16774 * gdb.threads/thread-execl.exp: #include <stdio.h>.
16775
16776 2014-08-24 Yao Qi <yao@codesourcery.com>
16777
16778 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
16779 symbol off.
16780 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
16781
16782 2014-08-22 Doug Evans <dje@google.com>
16783
16784 PR 17276
16785 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
16786 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
16787 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
16788
16789 2014-08-22 Yao Qi <yao@codesourcery.com>
16790
16791 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
16792 * gdb.python/py-finish-breakpoint2.exp: Likewise.
16793 * gdb.python/python.exp: Likewise. Use .py file on the host
16794 instead of the build.
16795
16796 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16797
16798 * gdb.threads/gcore-stale-thread.c: New file.
16799 * gdb.threads/gcore-stale-thread.exp: New file.
16800
16801 2014-08-21 Pedro Alves <palves@redhat.com>
16802
16803 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
16804 * gdb.base/gcore-relro-pie.exp: Likewise.
16805 * gdb.base/gcore-relro.exp: Likewise.
16806 * gdb.base/gcore.exp: Likewise.
16807 * gdb.base/print-symbol-loading.exp: Likewise.
16808 * gdb.threads/gcore-thread.exp: Likewise.
16809 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
16810
16811 2014-08-20 Pedro Alves <palves@redhat.com>
16812 Jan Kratochvil <jan.kratochvil@redhat.com>
16813
16814 * Makefile.in (EXTRA_RULES, CC): New variables, get from
16815 configure.
16816 (EXPECT): Handle READ1 being set.
16817 (all): Depend on EXTRA_RULES.
16818 (check-read1, expect-read1, read1.so, read1): New rules.
16819 * README (Testsuite Parameters): Document the READ1 make variable.
16820 (Race detection): New section.
16821 * configure: Regenerate.
16822 * configure.ac: If build==host==target, and running under a
16823 GNU/glibc system, add read1 to the extra Makefile rules.
16824 (EXTRA_RULES): AC_SUBST it.
16825 * lib/read1.c: New file.
16826
16827 2014-08-20 Joel Brobecker <brobecker@adacore.com>
16828
16829 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
16830 the handling of variables declared as a typedef to an array
16831 which a DW_AT_data_location attribute.
16832
16833 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
16834 Pedro Alves <palves@redhat.com>
16835
16836 PR symtab/14604
16837 PR symtab/14605
16838 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
16839 gdb_test.
16840
16841 2014-08-19 Pedro Alves <palves@redhat.com>
16842
16843 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
16844
16845 2014-08-19 Yao Qi <yao@codesourcery.com>
16846
16847 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
16848 right line.
16849
16850 2014-08-18 David Blaikie <dblaikie@gmail.com>
16851
16852 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
16853
16854 2014-08-18 Joel Brobecker <brobecker@adacore.com>
16855
16856 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
16857 attribute in array range.
16858
16859 2014-08-18 Joel Brobecker <brobecker@adacore.com>
16860
16861 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
16862
16863 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
16864
16865 PR c++/17132
16866 * gdb.cp/pr17132.cc: New file.
16867 * gdb.cp/pr17132.exp: New file.
16868
16869 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
16870
16871 * gdb.python/py-xmethods.py (A_getarrayind)
16872 (E_method_char_worker.__call__, E_method_int_worker.__call__):
16873 Use 'print' with function call syntax.
16874 (E_method_matcher.match): Fix tab vs space indentation mixup.
16875
16876 2014-08-15 Yao Qi <yao@codesourcery.com>
16877
16878 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
16879 false.
16880
16881 2014-08-15 Yao Qi <yao@codesourcery.com>
16882
16883 * gdb.cp/casts.exp: Set print symbol off.
16884 * gdb.cp/class2.exp: Likewise.
16885 * gdb.cp/overload.exp: Likewise.
16886 * gdb.cp/templates.exp: Likewise.
16887
16888 2014-08-11 Doug Evans <dje@google.com>
16889
16890 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
16891 (test_load_shlib): Update.
16892
16893 2014-08-09 Yao Qi <yao@codesourcery.com>
16894
16895 * gdb.base/display.exp: Invoke is_address_zero_readable.
16896 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
16897 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
16898 * gdb.base/hbreak-unmapped.exp: Return if
16899 is_address_zero_readable returns true.
16900 * gdb.base/signest.exp: Likewise.
16901 * gdb.base/signull.exp: Likewise.
16902 * gdb.base/sigbpt.exp: Likewise.
16903 * gdb.guile/scm-disasm.exp: Do the test if
16904 is_address_zero_readable returns false.
16905 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
16906 * gdb.python/py-arch.exp: Likewise.
16907 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
16908 * lib/gdb.exp (is_address_zero_readable): New proc.
16909
16910 2014-08-09 Yao Qi <yao@codesourcery.com>
16911
16912 PR testsuite/13443
16913 * gdb.mi/mi-var-display.exp: Make test messages unique.
16914
16915 2014-08-04 Tom Tromey <tromey@redhat.com>
16916
16917 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
16918 target 0".
16919
16920 2014-08-04 Tom Tromey <tromey@redhat.com>
16921
16922 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
16923 "target_resume".
16924
16925 2014-08-01 Joel Brobecker <brobecker@adacore.com>
16926
16927 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
16928 inner_vla_struct_object_size.
16929 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
16930 as xfail.
16931
16932 2014-07-30 Pedro Alves <palves@redhat.com>
16933
16934 * gdb.threads/signal-command-handle-nopass.exp (test): Add
16935 comment.
16936
16937 2014-07-29 Yao Qi <yao@codesourcery.com>
16938
16939 PR gdb/17206
16940 * gdb.base/until-nodebug.exp: New.
16941
16942 2014-07-28 Doug Evans <xdje42@gmail.com>
16943
16944 PR guile/17203
16945 * gdb.guile/scm-parameter.exp: Add tests for trying to create
16946 previously existing parameter, and previously ambiguously spelled
16947 parameter.
16948
16949 2014-07-28 Will Newton <will.newton@linaro.org>
16950
16951 * gdb.base/varargs.exp: Remove KFAILs for ARM.
16952
16953 2014-07-26 Ludovic Courtès <ludo@gnu.org>
16954 Doug Evans <xdje42@gmail.com>
16955
16956 PR guile/17146
16957 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
16958
16959 2014-07-25 Pedro Alves <palves@redhat.com>
16960
16961 * gdb.threads/signal-command-handle-nopass.c: New file.
16962 * gdb.threads/signal-command-handle-nopass.exp: New file.
16963 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
16964 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
16965 * gdb.threads/signal-delivered-right-thread.c: New file.
16966 * gdb.threads/signal-delivered-right-thread.exp: New file.
16967
16968 2014-07-25 Pedro Alves <palves@redhat.com>
16969
16970 * gdb.base/double-prompt-target-event-error.exp
16971 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
16972 match.
16973 (cancel_pagination_in_target_event): Rework double prompt
16974 detection.
16975 * gdb.base/paginate-after-ctrl-c-running.exp
16976 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
16977 <return>' match.
16978 * gdb.base/paginate-bg-execution.exp
16979 (test_bg_execution_pagination_return)
16980 (test_bg_execution_pagination_cancel): Remove '-notransfer
16981 <return>' matches.
16982 * gdb.base/paginate-execution-startup.exp
16983 (test_fg_execution_pagination_return)
16984 (test_fg_execution_pagination_cancel): Remove '-notransfer
16985 <return>' matches.
16986 * gdb.base/paginate-inferior-exit.exp
16987 (test_paginate_inferior_exited): Remove '-notransfer <return>'
16988 match.
16989 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
16990 * lib/gdb.exp (pagination_prompt): Run text through
16991 string_to_regexp.
16992 (gdb_test_multiple): Match $pagination_prompt instead of
16993 "<return>".
16994 (string_to_regexp): Move to lib/gdb-utils.exp.
16995
16996 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16997
16998 * gdb.arch/amd64-entry-value-paramref.S: New file.
16999 * gdb.arch/amd64-entry-value-paramref.cc: New file.
17000 * gdb.arch/amd64-entry-value-paramref.exp: New file.
17001 * gdb.arch/amd64-optimout-repeat.S: New file.
17002 * gdb.arch/amd64-optimout-repeat.c: New file.
17003 * gdb.arch/amd64-optimout-repeat.exp: New file.
17004
17005 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
17006
17007 PR gdb/17170
17008 * gdb.base/statistics.exp: New file.
17009
17010 2014-07-17 Doug Evans <dje@google.com>
17011
17012 PR gdb/17170
17013 * gdb.base/maint.exp: Update testing of per-command stats.
17014
17015 2014-07-16 Pedro Alves <palves@redhat.com>
17016
17017 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
17018 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
17019 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
17020 (tfile_write_buf): New functions.
17021 (add_memory_block): Rewrite using the above.
17022 (adjust_function_address): New function.
17023 (FUNCTION_ADDRESS): New macro.
17024 (write_basic_trace_file): Remove short_x local, and use
17025 tfile_write_16. Change type of func_addr local to unsigned long
17026 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
17027 here. Cast argument of add_memory_block to char pointer.
17028 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
17029 (main): Remove parameters.
17030 * gdb.trace/tfile.exp: Remove nowarnings.
17031
17032 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
17033
17034 * gdb.base/debug-expr.exp: Test string evaluation with
17035 "debug expression" on.
17036
17037 2014-07-15 Pedro Alves <palves@redhat.com>
17038
17039 * gdb.base/reread.exp: Use clean_restart.
17040
17041 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
17042
17043 * gdb.arch/avr-flash-qualifer.c: New.
17044 * gdb.arch/avr-flash-qualifer.exp: New.
17045
17046 2014-07-14 Pedro Alves <palves@redhat.com>
17047
17048 * gdb.base/paginate-after-ctrl-c-running.c: New file.
17049 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
17050
17051 2014-07-14 Pedro Alves <palves@redhat.com>
17052
17053 * gdb.base/double-prompt-target-event-error.c: New file.
17054 * gdb.base/double-prompt-target-event-error.exp: New file.
17055
17056 2014-07-14 Pedro Alves <palves@redhat.com>
17057
17058 PR gdb/17072
17059 * gdb.base/paginate-inferior-exit.c: New file.
17060 * gdb.base/paginate-inferior-exit.exp: New file.
17061
17062 2014-07-14 Pedro Alves <palves@redhat.com>
17063
17064 PR gdb/17072
17065 * gdb.base/paginate-bg-execution.c: New file.
17066 * gdb.base/paginate-bg-execution.exp: New file.
17067
17068 2014-07-14 Pedro Alves <palves@redhat.com>
17069
17070 PR gdb/17072
17071 * gdb.base/paginate-execution-startup.c: New file.
17072 * gdb.base/paginate-execution-startup.exp: New file.
17073 * lib/gdb.exp (pagination_prompt): New global.
17074 (default_gdb_spawn): New procedure, factored out from
17075 default_gdb_spawn.
17076 (default_gdb_start): Adjust to call default_gdb_spawn.
17077 (gdb_spawn): New procedure.
17078
17079 2014-07-14 Pedro Alves <palves@redhat.com>
17080
17081 * lib/gdb.exp (gdb_assert): New procedure.
17082 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
17083
17084 2014-07-14 Pedro Alves <palves@redhat.com>
17085
17086 * gdb.base/execution-termios.c: New file.
17087 * gdb.base/execution-termios.exp: New file.
17088
17089 2014-07-14 Tom Tromey <tromey@redhat.com>
17090
17091 * gdb.cp/vla-cxx.cc: New file.
17092 * gdb.cp/vla-cxx.exp: New file.
17093
17094 2014-07-14 Tom Tromey <tromey@redhat.com>
17095
17096 * gdb.reverse/rerun-prec.c: New file.
17097 * gdb.reverse/rerun-prec.exp: New file.
17098
17099 2014-07-12 Maciej W. Rozycki <macro@mips.com>
17100 Maciej W. Rozycki <macro@codesourcery.com>
17101
17102 * lib/gdb-utils.exp: New file.
17103 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
17104 inline `gdb_init_command' processing.
17105 (gdb_start_cmd): Likewise.
17106 * lib/mi-support.exp (mi_run_cmd): Likewise.
17107 * README: Document `gdb_init_command' and `gdb_init_commands'.
17108
17109 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17110
17111 Fix false FAIL running under a very long directory name.
17112 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
17113 and "set print elements 10000". Twice.
17114
17115 2014-07-11 Yao Qi <yao@codesourcery.com>
17116
17117 * gdb.base/exprs.exp: "set print symbol off".
17118
17119 2014-07-11 Pedro Alves <palves@redhat.com>
17120
17121 * gdb.threads/kill.c: New file.
17122 * gdb.threads/kill.exp: New file.
17123
17124 2014-07-10 Yao Qi <yao@codesourcery.com>
17125
17126 * gdb.trace/tfile.c (write_basic_trace_file)
17127 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
17128 address written to trace file.
17129
17130 2014-07-09 Pedro Alves <palves@redhat.com>
17131
17132 * gdb.base/attach-wait-input.exp: New file.
17133 * gdb.base/attach-wait-input.c: New file.
17134
17135 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
17136
17137 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
17138 setting up test structures.
17139 (main): Call new test function.
17140 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
17141 test function, continue into test function and walk test
17142 structures.
17143
17144 2014-07-02 Yao Qi <yao@codesourcery.com>
17145
17146 * gdb.trace/entry-values.c: Define labels 'foo_start' and
17147 'bar_start' at the beginning of functions 'foo' and 'bar'
17148 respectively.
17149 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
17150 instead of 'foo' and 'bar'.
17151
17152 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
17153
17154 * gdb.btrace/segv.exp: New.
17155 * gdb.btrace/segv.c: New.
17156
17157 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
17158
17159 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
17160 instruction.
17161
17162 2014-06-30 Mark Wielaard <mjw@redhat.com>
17163
17164 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
17165 vulture, vilify, villar): New volatile array constants.
17166 (vindictive, vegetation): New const volatile array constants.
17167 * gdb.base/volatile.exp: Test volatile and const volatile array
17168 types.
17169
17170 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
17171
17172 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
17173 target lacks support for awatch, rwatch, or hbreak.
17174
17175 2014-06-27 Yao Qi <yao@codesourcery.com>
17176
17177 * gdb.multi/dummy-frame-restore.exp: New.
17178 * gdb.multi/dummy-frame-restore.c: New.
17179
17180 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
17181
17182 * gdb.btrace/gcore.exp: New.
17183
17184 2014-06-23 Pedro Alves <palves@redhat.com>
17185
17186 * gdb.base/watchpoint-reuse-slot.c: New file.
17187 * gdb.base/watchpoint-reuse-slot.exp: New file.
17188
17189 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
17190
17191 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
17192 progspace's filename in 'info', 'enable' and 'disable' command
17193 tests.
17194
17195 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
17196
17197 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
17198 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
17199 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
17200
17201 2014-06-20 Gary Benson <gbenson@redhat.com>
17202
17203 * gdb.arch/i386-avx.exp: Fix include file location.
17204 * gdb.arch/i386-sse.exp: Likewise.
17205
17206 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
17207
17208 * gdb.dlang/expression.exp: New file.
17209
17210 2014-06-19 Pedro Alves <palves@redhat.com>
17211
17212 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
17213 out from ...
17214 (top level): ... here. Iterate running tests under different
17215 scheduler-locking settings.
17216
17217 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
17218
17219 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
17220 to DW_FORM_addr and use non-zero addresses.
17221
17222 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
17223
17224 PR gdb/17017
17225 * gdb.python/py-xmethods.cc: Add global function call counters and
17226 increment them in their respective functions. Remove "cout"
17227 statements.
17228 * gdb.python/py-xmethods.exp: Make tests check the global function
17229 call counters instead of depending on inferior IO.
17230
17231 2014-06-18 Don Breazeal <donb@codesourcery.com>
17232
17233 * gdb.base/foll-fork.exp (default_fork_parent_follow):
17234 Deleted procedure.
17235 (explicit_fork_parent_follow): Deleted procedure.
17236 (explicit_fork_child_follow): Deleted procedure.
17237 (test_follow_fork): New procedure.
17238 (do_fork_tests): Replace calls to deleted procedures with
17239 calls to test_follow_fork and reset GDB for subsequent
17240 procedure calls.
17241
17242 2014-06-17 Yao Qi <yao@codesourcery.com>
17243
17244 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
17245 CP1252.
17246
17247 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
17248
17249 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
17250 Initialize ptr and S explicitly.
17251 (skip_type_update_when_not_use_rtti_test): Likewise.
17252
17253 2014-06-16 Keith Seitz <keiths@redhat.com>
17254
17255 PR mi/15863
17256 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
17257 the inferior is started.
17258
17259 2014-06-16 Pedro Alves <palves@redhat.com>
17260
17261 * gdb.base/break-main-file-remove-fail.c: New file.
17262 * gdb.base/break-main-file-remove-fail.exp: New file.
17263 * gdb.base/break-unload-file.exp: Use build_executable instead of
17264 prepare_for_testing.
17265 (test_break): New parameter "initial_load". Handle it.
17266 (top level): Add initial_load cmdline/file axis.
17267
17268 2014-06-12 Tom Tromey <tromey@redhat.com>
17269
17270 * gdb.base/completion.exp: Don't use directory name in test.
17271
17272 2014-06-09 Gary Benson <gbenson@redhat.com>
17273
17274 * gdb.base/sigall.c [Functions to send signals]: Reorder to
17275 separate the always-available ANSI-standard signals from the
17276 signals that require checking.
17277 (main): Likewise.
17278 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
17279 Likewise.
17280 (main): Likewise.
17281
17282 2014-06-07 Keith Seitz <keiths@redhat.com>
17283
17284 Revert:
17285 PR c++/16253
17286 * gdb.cp/var-tag.cc: New file.
17287 * gdb.cp/var-tag.exp: New file.
17288 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
17289 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
17290 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
17291 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
17292
17293 2014-06-06 Doug Evans <xdje42@gmail.com>
17294
17295 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
17296
17297 2014-06-06 Pedro Alves <palves@redhat.com>
17298
17299 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
17300 in target debug output instead of looking at RSP packets,
17301 disabling the test on any target that uses hardware stepping.
17302 Update comments.
17303
17304 2014-06-06 Pedro Alves <palves@redhat.com>
17305
17306 * gdb.base/break-unload-file.exp: Fix typo.
17307
17308 2014-06-06 Yao Qi <yao@codesourcery.com>
17309
17310 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
17311 from "jit_function" to "^jit_function".
17312
17313 2014-06-06 Yao Qi <yao@codesourcery.com>
17314
17315 * gdb.base/async.c (foo): Add one statement.
17316 * gdb.base/async.exp: Get the next instruction address and
17317 match the output of "nexti" by instruction address. Match
17318 the hex address in the output of "finish".
17319
17320 2014-06-06 Gary Benson <gbenson@redhat.com>
17321
17322 * gdb.base/call-signals.c: Remove preprocessor conditionals
17323 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
17324 SIGSEGV and SIGTERM.
17325 * gdb.base/sigall.c: Likewise.
17326 * gdb.base/unwindonsignal.c: Likewise.
17327 * gdb.reverse/sigall-reverse.c: Likewise.
17328
17329 2014-06-06 Yao Qi <yao@codesourcery.com>
17330
17331 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
17332 readable, skip the test.
17333
17334 2014-06-06 Yao Qi <yao@codesourcery.com>
17335
17336 * gdb.threads/staticthreads.c (thread_function): Move the line
17337 setting breakpoint on forward.
17338 * gdb.threads/staticthreads.exp: Update comments.
17339
17340 2014-06-05 Ludovic Courtès <ludo@gnu.org>
17341
17342 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
17343 "history-append! type error".
17344
17345 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
17346
17347 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
17348 erroneous dprintf expected input.
17349
17350 2014-06-04 Doug Evans <xdje42@gmail.com>
17351
17352 * gdb.guile/scm-generics.exp: Delete.
17353
17354 2014-06-04 Doug Evans <xdje42@gmail.com>
17355
17356 * gdb.guile/scm-breakpoint.exp: Update.
17357 Add tests for breakpoint registration.
17358
17359 2014-06-04 Tom Tromey <tromey@redhat.com>
17360
17361 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
17362 VLA-in-union.
17363 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
17364 inner_vla_struct, vla_union types. Initialize objects of those
17365 types and compute their sizes.
17366
17367 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
17368 Hui Zhu <hui@codesourcery.com>
17369
17370 * gdb.base/fileio.exp: Add test for shell not available as well as
17371 available.
17372 * gdb.base/fileio.c (test_system): Check for shell twice.
17373
17374 2014-06-04 Yao Qi <yao@codesourcery.com>
17375
17376 * gdb.base/auto-connect-native-target.exp: Remove redundant
17377 space from the regexp pattern.
17378
17379 2014-06-04 Yao Qi <yao@codesourcery.com>
17380
17381 * gdb.base/default.exp: Replace "child" with "native" in
17382 regexp pattern.
17383
17384 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
17385
17386 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
17387 * gdb.python/py-xmethods.exp: New tests to test xmethods.
17388 * gdb.python/py-xmethods.py: Python script supporting the
17389 new testcase and tests.
17390
17391 2014-06-03 Joel Brobecker <brobecker@adacore.com>
17392 Pedro Alves <palves@redhat.com>
17393
17394 PR breakpoints/17000
17395 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
17396 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
17397
17398 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
17399
17400 * gdb.base/subst.exp: Add tests to verify partial path matching
17401 output.
17402
17403 2014-06-03 Pedro Alves <palves@redhat.com>
17404
17405 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
17406 target that doesn't use software single-stepping.
17407
17408 2014-06-03 Pedro Alves <palves@redhat.com>
17409
17410 PR breakpoints/17000
17411 * gdb.base/sss-bp-on-user-bp-2.c: New file.
17412 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
17413
17414 2014-06-02 Doug Evans <xdje42@gmail.com>
17415
17416 * gdb.guile/scm-parameter.exp: New file.
17417
17418 2014-06-02 Doug Evans <xdje42@gmail.com>
17419
17420 * gdb.guile/scm-cmd.c: New file.
17421 * gdb.guile/scm-cmd.exp: New file.
17422
17423 2014-06-02 Doug Evans <xdje42@gmail.com>
17424
17425 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
17426 pretty-printer lookup.
17427 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
17428 (make-pp_s-printer): Call it.
17429 (make-pretty-printer-from-dict): New function.
17430 (lookup-pretty-printer-maker-from-dict): New function.
17431 (*pretty-printer*): Simplify.
17432 (make-objfile-pp_s-printer): New function.
17433 (install-objfile-pretty-printers!): New function.
17434 (make-progspace-pp_s-printer): New function.
17435 (install-progspace-pretty-printers!): New function.
17436 * gdb.guile/scm-progspace.c: New file.
17437 * gdb.guile/scm-progspace.exp: New file.
17438
17439 2014-06-02 Pedro Alves <palves@redhat.com>
17440
17441 * gdb.base/dprintf-bp-same-addr.c: New file.
17442 * gdb.base/dprintf-bp-same-addr.exp: New file.
17443
17444 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17445
17446 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
17447 * gdb.arch/powerpc-power.s: Likewise.
17448
17449 2014-06-02 Joel Brobecker <brobecker@adacore.com>
17450
17451 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
17452
17453 2014-06-01 Yao Qi <yao@codesourcery.com>
17454
17455 * gdb.base/watchpoint.exp (test_watch_location): Check null
17456 pointer can be dereferenced. If not, do the test, otherwise
17457 skip it.
17458
17459 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
17460
17461 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
17462 results.
17463 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
17464
17465 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
17466
17467 * gdb.arch/amd64-invalid-stack-middle.S: New file.
17468 * gdb.arch/amd64-invalid-stack-middle.c: New file.
17469 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
17470 * gdb.arch/amd64-invalid-stack-top.c: New file.
17471 * gdb.arch/amd64-invalid-stack-top.exp: New file.
17472
17473 2014-05-30 Pedro Alves <palves@redhat.com>
17474
17475 PR breakpoints/17000
17476 * gdb.base/sss-bp-on-user-bp.c: New file.
17477 * gdb.base/sss-bp-on-user-bp.exp: New file.
17478
17479 2014-05-30 David Blaikie <dblaikie@gmail.com>
17480
17481 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
17482 gnu_inline semantics via attribute.
17483 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
17484 source explicitly specifies the required semantics.
17485
17486 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
17487
17488 * gdb.reverse/sigall-reverse.exp: Fix a typo.
17489
17490 2014-05-29 Pedro Alves <palves@redhat.com>
17491 Tom Tromey <tromey@redhat.com>
17492
17493 * gdb.base/async-shell.exp: Don't enable target-async.
17494 * gdb.base/async.exp
17495 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
17496 parameter. Adjust.
17497 (top level): Don't test with "target-async".
17498 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
17499 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
17500 * gdb.base/inferior-died.exp: Don't enable target-async.
17501 * gdb.base/interrupt-noterm.exp: Likewise.
17502 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
17503 * gdb.mi/mi-nonstop-exit.exp: Likewise.
17504 * gdb.mi/mi-nonstop.exp: Likewise.
17505 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
17506 * gdb.mi/mi-nsintrall.exp: Likewise.
17507 * gdb.mi/mi-nsmoribund.exp: Likewise.
17508 * gdb.mi/mi-nsthrexec.exp: Likewise.
17509 * gdb.mi/mi-watch-nonstop.exp: Likewise.
17510 * gdb.multi/watchpoint-multi.exp: Adjust comment.
17511 * gdb.python/py-evsignal.exp: Don't enable target-async.
17512 * gdb.python/py-evthreads.exp: Likewise.
17513 * gdb.python/py-prompt.exp: Likewise.
17514 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
17515 * gdb.server/solib-list.exp: Don't enable target-async.
17516 * gdb.threads/thread-specific-bp.exp: Likewise.
17517 * lib/mi-support.exp: Adjust to use mi-async.
17518
17519 2014-05-29 Pedro Alves <palves@redhat.com>
17520
17521 PR gdb/13860
17522 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
17523 reason, even in sync mode.
17524
17525 2014-05-29 Pedro Alves <palves@redhat.com>
17526 Hui Zhu <hui@codesourcery.com>
17527
17528 PR PR15693
17529 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
17530 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
17531 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
17532 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
17533
17534 2014-05-28 Joel Brobecker <brobecker@adacore.com>
17535
17536 * config/monitor.exp (gdb_target_monitor): Replace use of
17537 "set remotebaud" by "set serial baud".
17538
17539 2014-05-26 Andy Wingo <wingo@igalia.com>
17540
17541 * gdb.guile/scm-breakpoint.exp:
17542 * gdb.guile/scm-gsmob.exp: Update to use plain old object
17543 properties instead of gdb-object-properties.
17544
17545 2014-05-26 Yao Qi <yao@codesourcery.com>
17546
17547 * gdb.server/no-thread-db.exp: Specify source file name
17548 explicitly when setting a breakpoint.
17549
17550 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17551
17552 * gdb.btrace/vdso.c: New.
17553 * gdb.btrace/vdso.exp: New.
17554
17555 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17556
17557 * gdb.base/gcore.exp (capture_command_output): Move ...
17558 * lib/gdb.exp (capture_command_output): ... here.
17559
17560 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17561
17562 * gdb.btrace/data.exp: Test memory access during btrace replay.
17563
17564 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
17565
17566 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
17567
17568 2014-05-21 Pedro Alves <palves@redhat.com>
17569
17570 PR gdb/13860
17571 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
17572 (top level): Test that output related to execution commands is
17573 sent to the console with CLI commands, but not with MI commands.
17574 Test that breakpoint events are always mirrored to the console.
17575 Also expect the new source line to be output after a "next" in
17576 async mode too. Make it a pass/fail test.
17577 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
17578 output.
17579 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
17580
17581 2014-05-21 Pedro Alves <palves@redhat.com>
17582
17583 * gdb.base/list.exp (build_pattern, test_list): New procedures.
17584 Use them to test variations of "list" after reaching a breakpoint.
17585 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
17586 Test "list" with listsize 10 after reaching a breakpoint.
17587 * gdb.python/python.exp (decode_line current location line
17588 number): Adjust expected line number.
17589
17590 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
17591
17592 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
17593 behavior for $args, pass it directly to "run".
17594
17595 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
17596
17597 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
17598 30000 to 65536.
17599
17600 2014-05-21 Pedro Alves <palves@redhat.com>
17601
17602 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
17603 auto-connect-native-target off".
17604 * gdb.base/auto-connect-native-target.c: New file.
17605 * gdb.base/auto-connect-native-target.exp: New file.
17606
17607 2014-05-21 Pedro Alves <palves@redhat.com>
17608
17609 * gdb.base/default.exp: Test "target native" instead of "target
17610 child".
17611
17612 2014-05-21 Mark Wielaard <mjw@redhat.com>
17613
17614 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
17615
17616 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17617
17618 Fix TLS access for -static -pthread.
17619 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
17620 <HAVE_TLS> (thread_function, main): Initialize it.
17621 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
17622 Add clean_restart.
17623 <$have_tls != "">: Check TLSVAR.
17624
17625 2014-05-21 Pedro Alves <palves@redhat.com>
17626
17627 * gdb.base/dcache-line-read-error.c: New.
17628 * gdb.base/dcache-line-read-error.exp: New.
17629
17630 2014-05-20 Pedro Alves <palves@redhat.com>
17631
17632 * gdb.base/compare-sections.c: New file.
17633 * gdb.base/compare-sections.exp: New file.
17634
17635 2014-05-20 Pedro Alves <palves@redhat.com>
17636
17637 * gdb.base/break-idempotent.c: New file.
17638 * gdb.base/break-idempotent.exp: New file.
17639
17640 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
17641
17642 * gdb.btrace/nohist.exp: New.
17643
17644 2014-05-20 Yao Qi <yao@codesourcery.com>
17645
17646 * lib/gdb.exp (gdb_init): Set timeout if test file is under
17647 gdb.reverse directory and gdb_reverse_timeout exists in board
17648 setting.
17649 * README: Document gdb_reverse_timeout.
17650
17651 2014-05-20 Yao Qi <yao@codesourcery.com>
17652
17653 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
17654 'test_file_name'. Treat args as a string instead of a list.
17655 (gdb_init): Rename argument 'args' by 'test_file_name'.
17656
17657 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
17658
17659 * gdb.arch/powerpc-power.exp: New file.
17660 * gdb.arch/powerpc-power.s: New file.
17661
17662 2014-05-16 Doug Evans <dje@google.com>
17663
17664 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
17665 * gdb.base/completion.exp: Check that all expected files exist
17666 before doing file completion.
17667
17668 2014-05-16 Doug Evans <dje@google.com>
17669
17670 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
17671 Update.
17672 (do_syscall_tests_without_xml): Update.
17673
17674 2014-05-16 Pedro Alves <palves@redhat.com>
17675
17676 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
17677 instead of "unknown output after running".
17678
17679 2014-05-16 Yao Qi <yao@codesourcery.com>
17680
17681 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
17682 file1.txt from host at the end.
17683 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
17684
17685 2014-05-15 Doug Evans <dje@google.com>
17686
17687 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
17688 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
17689 loading file. Add test for TU lookup.
17690
17691 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
17692
17693 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
17694 calling "-exec-arguments" or "set args" before running the
17695 inferior.
17696
17697 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
17698
17699 * lib/mi-support.exp (mi_expect_stop): Expect message for
17700 inferiors that exit with non-zero exit code.
17701
17702 2014-05-14 Yao Qi <yao@codesourcery.com>
17703
17704 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
17705 match absolute path on remote host.
17706 (test_file_list_exec_source_files): Remove "/" from the
17707 pattern.
17708
17709 2014-05-14 Yao Qi <yao@codesourcery.com>
17710
17711 * boards/local-remote-host-notty.exp (${board}_file): New
17712 proc.
17713
17714 2014-05-07 Kyle McMartin <kyle@redhat.com>
17715
17716 Pushed by Joel Brobecker <brobecker@adacore.com>.
17717 * gdb.arch/aarch64-atomic-inst.c: New file.
17718 * gdb.arch/aarch64-atomic-inst.exp: New file.
17719
17720 2014-05-07 Yao Qi <yao@codesourcery.com>
17721
17722 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
17723 in current context" too.
17724
17725 2014-05-05 Keith Seitz <keiths@redhat.com>
17726
17727 * gdb.linespec/ls-dollar.exp: Add test for linespec
17728 file:convenience_variable.
17729
17730 2014-05-05 Yao Qi <yao@codesourcery.com>
17731
17732 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
17733 traceframes into tfile and ctf trace files. Read data from
17734 trace file and test collected data.
17735 (gdb_collect_locals_test): Likewise.
17736 (gdb_unavailable_registers_test): Likewise.
17737 (gdb_unavailable_floats): Likewise.
17738 (gdb_collect_globals_test): Likewise.
17739 (top-level): Append "ctf" to trace_file_targets if GDB
17740 supports.
17741
17742 2014-05-05 Yao Qi <yao@codesourcery.com>
17743
17744 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
17745 code to ...
17746 (gdb_collect_args_test_1): ... it. New proc.
17747 (gdb_collect_locals_test): Move some code to ...
17748 (gdb_collect_locals_test_1): ... it. New proc.
17749 (gdb_unavailable_registers_test): Move some code to ...
17750 (gdb_unavailable_registers_test_1): ... it. New proc.
17751 (gdb_unavailable_floats): Move some code to ...
17752 (gdb_unavailable_floats_1): ... it. New proc.
17753
17754 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
17755
17756 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
17757 probes to test for bitness recognition.
17758 * gdb.arch/amd64-stap-optional-prefix.exp
17759 (test_probe_value_without_reg): New procedure.
17760 Add code to test for different kinds of bitness.
17761
17762 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
17763
17764 PR breakpoints/16889
17765 * gdb.arch/amd64-stap-optional-prefix.S: New file.
17766 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
17767
17768 2014-05-01 Pedro Alves <palves@redhat.com>
17769
17770 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
17771 gdb_file_cmd if no file is specified.
17772 * boards/native-extended-gdbserver.exp (gdb_load): Use the
17773 last_loaded_file to set the remote exec-file.
17774
17775 2014-05-01 Pedro Alves <palves@redhat.com>
17776
17777 * boards/local-remote-host.exp: New file.
17778
17779 2014-05-01 Pedro Alves <palves@redhat.com>
17780
17781 * boards/local-remote-host.exp: Rename to ...
17782 * boards/local-remote-host-notty.exp: ... this.
17783
17784 2014-04-28 Joel Brobecker <brobecker@adacore.com>
17785
17786 * gdb.ada/dyn_arrayidx: New testcase.
17787
17788 2014-04-26 Yao Qi <yao@codesourcery.com>
17789
17790 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
17791 and compute the length of function main. Save it in
17792 $main_length.
17793 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
17794 (top-level): Use gdb_compile to compile objects into
17795 executable and restart GDB. Remove invocation to
17796 prepare_for_testing.
17797
17798 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
17799 Pedro Alves <palves@redhat.com>
17800
17801 PR server/16255
17802 * gdb.multi/multi-attach.c: New file.
17803 * gdb.multi/multi-attach.exp: New file.
17804
17805 2014-04-25 Pedro Alves <palves@redhat.com>
17806
17807 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
17808 user.
17809 (top level): Test that "set remote conditional-breakpoints-packet
17810 off" works as intended.
17811 * gdb.base/dprintf.exp: Test that "set remote
17812 breakpoint-commands-packet off" works as intended.
17813 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
17814 New function.
17815 (top level): Call it.
17816 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
17817 remote fast-tracepoints-packet off" works as intended.
17818 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
17819 * lib/gdb.exp (gdb_is_target_remote): ... here.
17820
17821 2014-04-24 David Blaikie <dblaikie@gmail.com>
17822
17823 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
17824 ensure clang would not discard them.
17825 * gdb.base/gdbvars.c: Ditto.
17826 * gdb.base/memattr.c: Ditto.
17827 * gdb.base/whatis.c: Ditto.
17828 * gdb.python/py-prettyprint.c: Ditto.
17829 * gdb.trace/actions.c: Ditto.
17830 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
17831 ensure clang would not discard it.
17832
17833 2014-04-24 David Blaikie <dblaikie@gmail.com>
17834
17835 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
17836 clang to emit the full definition of type required by the test
17837 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
17838
17839 2014-04-24 David Blaikie <dblaikie@gmail.com>
17840
17841 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
17842 coax Clang into emitting the definition of the type.
17843 * gdb.cp/pr10728-x.h (y): Ditto.
17844 * gdb.cp/pr10728-y.cc (y): Ditto.
17845
17846 2014-04-24 David Blaikie <dblaikie@gmail.com>
17847
17848 * gdb.base/label.exp: XFAIL label related tests under Clang.
17849 * gdb.cp/cplabel.exp: Ditto.
17850 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
17851 under Clang those using labels.
17852
17853 2014-04-25 Yao Qi <yao@codesourcery.com>
17854
17855 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
17856 double_label.
17857 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
17858 partial_label and double_label.
17859
17860 2014-04-24 David Blaikie <dblaikie@gmail.com>
17861
17862 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
17863
17864 2014-04-24 David Blaikie <dblaikie@gmail.com>
17865
17866 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
17867 of the function to work across GCC and Clang.
17868 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
17869 pointer types (const void ** const V void **).
17870
17871 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
17872 Walfred Tedeschi <walfred.tedeschi@intel.com>
17873
17874 * Makefile.in (EXECUTABLES): Added i386-avx512.
17875 * gdb.arch/i386-avx512.c: New file.
17876 * gdb.arch/i386-avx512.exp: Likewise.
17877
17878 2014-04-23 Keith Seitz <keiths@redhat.com>
17879
17880 * lib/mi-support.exp (mi_list_breakpoints): Delete.
17881 (mi_make_breakpoint_table): New procedure.
17882 (mi_create_breakpoint): Use mi_make_breakpoint
17883 and return the result.
17884 (mi_make_breakpoint): New procedure.
17885 (mi_build_kv_pairs): New procedure.
17886
17887 * gdb.mi/mi-break.exp: Remove unused globals,
17888 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
17889 All callers updated.
17890 * gdb.mi/mi-dprintf.exp: Use variable to track command
17891 number.
17892 Update all callers of mi_create_breakpoint and use
17893 mi_make_breakpoint_table.
17894 Remove any unused global variables.
17895 * gdb.mi/mi-nonstop.exp: Likewise.
17896 * gdb.mi/mi-nsintrall.exp: Likewise.
17897 * gdb.mi/mi-nsmoribund.exp: Likewise.
17898 * gdb.mi/mi-nsthrexec.exp: Likewise.
17899 * gdb.mi/mi-reverse.exp: Likewise.
17900 * gdb.mi/mi-simplerun.exp: Likewise.
17901 * gdb.mi/mi-stepn.exp: Likewise.
17902 * gdb.mi/mi-syn-frame.exp: Likewise.
17903 * gdb.mi/mi-until.exp: Likewise.
17904 * gdb.mi/mi-var-cp.exp: Likewise.
17905 * gdb.mi/mi-var-display.exp: Likewise.
17906 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
17907 * gdb.mi/mi2-var-child.exp: Likewise.
17908 * gdb.mi/mi-vla-c99.exp: Likewise.
17909 * lib/mi-support.exp: Likewise.
17910
17911 From Ian Lance Taylor <iant@cygnus.com>:
17912 * lib/gdb.exp (parse_args): New procedure.
17913
17914 2014-04-23 Pedro Alves <palves@redhat.com>
17915
17916 * gdb.base/break-unload-file.c: New file.
17917 * gdb.base/break-unload-file.exp: New file.
17918 * gdb.base/sym-file-lib.c (baz): New function.
17919 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
17920 field.
17921 (load): Store the segment's mapped size.
17922 (unload): New function.
17923 (unload_shlib): New function.
17924 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
17925 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
17926 set a breakpoint at baz, and call it.
17927 * gdb.base/sym-file.exp: New tests for stale breakpoint
17928 instructions.
17929
17930 2014-04-23 Pedro Alves <palves@redhat.com>
17931
17932 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
17933 * gdb.base/hbreak-in-shr-unsupported.c: New file.
17934 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
17935 * gdb.base/hbreak-unmapped.c: New file.
17936 * gdb.base/hbreak-unmapped.exp: New file.
17937 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
17938 * lib/gdb.exp (gdb_is_target_remote): ... here.
17939
17940 2014-04-22 Pedro Alves <palves@redhat.com>
17941
17942 * gdb.base/consecutive-step-over.c: New file.
17943 * gdb.base/consecutive-step-over.exp: New file.
17944
17945 2014-04-22 Pedro Alves <palves@redhat.com>
17946
17947 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
17948 instead of send_gdb/gdb_expect.
17949
17950 2014-04-22 Yao Qi <yao@codesourcery.com>
17951
17952 * lib/trace-support.exp (generate_tracefile): New procedure.
17953 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
17954 return 0.
17955 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
17956 if generate_tracefile returns 1.
17957
17958 2014-04-18 Tom Tromey <palves@redhat.com>
17959 Pedro alves <tromey@redhat.com>
17960
17961 PR backtrace/15558
17962 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
17963 with a backtrace limit.
17964 * gdb.python/py-frame-inline.exp: Test running to an inline
17965 function with a backtrace limit, and printing the newest frame.
17966 * gdb.python/py-frame-inline.c (main): Call f.
17967
17968 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
17969
17970 * gdb.java/jnpe.exp: Drop srcdir from untested path.
17971
17972 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
17973
17974 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
17975 Drop prefix from unsupported source file path.
17976
17977 2014-04-17 Yao Qi <yao@codesourcery.com>
17978
17979 * lib/gdb.exp (with_target_charset): New proc.
17980 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
17981 with_target_charset.
17982 (test_print_strings): Likewise.
17983 (test_repeat_bytes): Likewise.
17984 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
17985 for some tests.
17986
17987 2014-04-16 Keith Seitz <keiths@redhat.com>
17988
17989 PR gdb/15827
17990 * gdb.dwarf2/corrupt.c: New file.
17991 * gdb.dwarf2/corrupt.exp: New file.
17992
17993 2014-04-16 Keith Seitz <keiths@redhat.com>
17994
17995 PR c++/16597
17996 * gdb.cp/namelessclass.cc: New file.
17997 * gdb.cp/namelessclass.exp: New file.
17998 * gdb.cp/namelessclass.S: New file.
17999
18000 2014-04-16 Doug Evans <dje@google.com>
18001
18002 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
18003 Add comment.
18004 (gdbserver_default_get_comm_port): New function.
18005 (gdbserver_start): Check if board file provided
18006 "gdbserver,get_comm_port" and use it if so.
18007 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
18008 (gdb,socketport): Set to "stdio".
18009 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
18010 (stdio_gdbserver_template): Delete.
18011 (${board}_get_remote_address): Update.
18012 (${board}_build_remote_cmd): Delete.
18013 (${board}_get_comm_port): New function.
18014 (${board}_spawn): Update.
18015 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
18016 Delete.
18017 (${board}_get_remote_address): Update.
18018 (${board}_get_comm_port): New function.
18019
18020 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
18021
18022 * gdb.base/memattr.exp: Improve regexps to handle memory regions
18023 appearing in any order.
18024
18025 2014-04-15 Doug Evans <dje@google.com>
18026
18027 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
18028 uninitialized value of "description".
18029
18030 2014-04-15 Keith Seitz <keiths@redhat.com>
18031
18032 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
18033 Remove unused globals.
18034 (test_running_the_program): Likewise.
18035 (test_controlled_execution): Likewise.
18036 (test_controlling_breakpoints): Likewise.
18037 (test_program_termination): Likewise.
18038
18039 2014-04-15 Keith Seitz <keiths@redhat.com>
18040
18041 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
18042 unused globals.
18043 (test_rbreak_creation_and_listing): Likewise.
18044 (test_ignore_count): Likewise.
18045 (test_error): Likewise.
18046
18047 2014-04-15 Pedro Alves <palves@redhat.com>
18048
18049 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
18050 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
18051 sym-file-loader.c.
18052 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
18053 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
18054 to sym-file-loader.c.
18055 (struct library): Forward declare.
18056 (load_shlib, lookup_function): Change prototypes.
18057 (find_shstrtab, find_strtab, find_shdr, find_symtab)
18058 (translate_offset): Remove declarations.
18059 (get_text_addr): New declaration.
18060 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
18061 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
18062 sym-file-loader.h.
18063 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
18064 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
18065 here from sym-file-loader.h.
18066 (struct library): New structure.
18067 (load_shlib, lookup_function): Change prototypes and adjust to
18068 work with a struct library.
18069 (find_shstrtab, find_strtab, find_shdr, find_symtab)
18070 (translate_offset): Make static.
18071 (get_text_addr): New function.
18072 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
18073
18074 2014-04-15 Pedro Alves <palves@redhat.com>
18075
18076 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
18077
18078 2014-04-15 Pedro Alves <palves@redhat.com>
18079
18080 * gdb.base/sym-file-loader.c: Include <limits.h>.
18081 (SELF_LINK): New define.
18082 (get_origin): New function.
18083 (load_shlib): Use it.
18084 * gdb.base/sym-file.exp: Don't early return if the target is
18085 remote. Use runto_main, and issue fail is that fails. Use
18086 gdb_load_shlibs.
18087 (shlib_name): Delete.
18088 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
18089
18090 2014-04-15 Pedro Alves <palves@redhat.com>
18091
18092 * gdb.base/sym-file.exp: Remove regex characters from test
18093 message. Don't refer to breakpoint numbers in test messages.
18094
18095 2014-04-14 Keith Seitz <keiths@redhat.com>
18096
18097 PR c++/16253
18098 * gdb.cp/var-tag.cc: New file.
18099 * gdb.cp/var-tag.exp: New file.
18100 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
18101 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
18102 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
18103 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
18104
18105 2014-04-14 Tom Tromey <tromey@redhat.com>
18106
18107 * gdb.cp/classes.exp (test_enums): Handle underlying type.
18108 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
18109 type.
18110 * gdb.cp/enum-class.exp: New file.
18111 * gdb.cp/enum-class.cc: New file.
18112
18113 2014-04-14 Tom Tromey <tromey@redhat.com>
18114
18115 * gdb.dwarf2/enum-type.exp: New file.
18116
18117 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18118
18119 * gdb.mi/mi-vla-c99.exp: New file.
18120 * gdb.mi/vla.c: New file.
18121
18122 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18123
18124 * gdb.base/vla-datatypes.c: New file.
18125 * gdb.base/vla-datatypes.exp: New file.
18126
18127 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18128
18129 * gdb.base/vla-ptr.c: New file.
18130 * gdb.base/vla-ptr.exp: New file.
18131
18132 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18133
18134 * gdb.dwarf2/count.exp: New file.
18135
18136 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18137
18138 * gdb.base/vla-sideeffect.c: New file.
18139 * gdb.base/vla-sideeffect.exp: New file.
18140
18141 2014-04-14 David Blaikie <dblaikie@gmail.com>
18142
18143 * gdb.mi/non-stop.c: Add return value for non-void function return
18144 statement.
18145 * gdb.threads/staticthreads.c: Ditto.
18146
18147 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
18148 Doug Evans <xdje42@gmail.com>
18149
18150 * gdb.guile/scm-value.c: Improve test case.
18151 * gdb.guile/scm-value.exp: Add new test.
18152
18153 2014-04-11 David Blaikie <dblaikie@gmail.com>
18154
18155 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
18156 override Clang's default.
18157
18158 2014-04-11 Joel Brobecker <brobecker@adacore.com>
18159
18160 Revert the following changes (regressions):
18161
18162 * gdb.base/vla-sideeffect.c: New file.
18163 * gdb.base/vla-sideeffect.exp: New file.
18164
18165 * gdb.dwarf2/count.exp: New file.
18166
18167 * gdb.base/vla-multi.c: New file.
18168 * gdb.base/vla-multi.exp: New file.
18169
18170 * gdb.base/vla-ptr.c: New file.
18171 * gdb.base/vla-ptr.exp: New file.
18172
18173 * gdb.base/vla-datatypes.c: New file.
18174 * gdb.base/vla-datatypes.exp: New file.
18175
18176 * gdb.mi/mi-vla-c99.exp: New file.
18177 * gdb.mi/vla.c: New file.
18178
18179 2014-04-11 Keith Seitz <keiths@redhat.com>
18180
18181 PR c++/16675
18182 * gdb.cp/cpsizeof.exp: New file.
18183 * gdb.cp/cpsizeof.cc: New file.
18184
18185 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18186
18187 * gdb.mi/mi-vla-c99.exp: New file.
18188 * gdb.mi/vla.c: New file.
18189
18190 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18191
18192 * gdb.base/vla-datatypes.c: New file.
18193 * gdb.base/vla-datatypes.exp: New file.
18194
18195 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18196
18197 * gdb.base/vla-ptr.c: New file.
18198 * gdb.base/vla-ptr.exp: New file.
18199
18200 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18201
18202 * gdb.base/vla-multi.c: New file.
18203 * gdb.base/vla-multi.exp: New file.
18204
18205 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18206
18207 * gdb.dwarf2/count.exp: New file.
18208
18209 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18210
18211 * gdb.base/vla-sideeffect.c: New file.
18212 * gdb.base/vla-sideeffect.exp: New file.
18213
18214 2014-04-11 Yao Qi <yao@codesourcery.com>
18215
18216 * gdb.base/completion.exp: Check file exists before running tests
18217 on file completion.
18218
18219 2014-04-10 Pedro Alves <palves@redhat.com>
18220
18221 * gdb.base/cond-eval-mode.c: New file.
18222 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
18223 prepare_for_testing to build the new file. Check result of
18224 runto_main.
18225 (test_break, test_watch): New procedures.
18226 (top level): Use them.
18227
18228 2014-04-08 Pierre Muller <muller@sourceware.org>
18229
18230 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
18231 Ctrl-V use for mingw hosts.
18232
18233 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
18234
18235 * gdb.python/py-value.c: Improve test case.
18236 * gdb.python/py-value.exp: Add new test.
18237
18238 2014-04-07 David Blaikie <dblaikie@gmail.com>
18239
18240 * lib/compiler.c: Identify the clang compiler.
18241 * lib/compiler.cc: Ditto.
18242
18243 2014-04-03 Yao Qi <yao@codesourcery.com>
18244
18245 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
18246
18247 2014-04-01 Anton Blanchard <anton@samba.org>
18248
18249 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
18250 messages unique.
18251
18252 2014-04-01 Anton Blanchard <anton@samba.org>
18253
18254 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
18255 prepare_for_testing.
18256
18257 2014-04-01 Anton Blanchard <anton@samba.org>
18258
18259 * gdb.arch/ppc64-atomic-inst.c: Remove.
18260 * gdb.arch/ppc64-atomic-inst.S: New file.
18261 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
18262
18263 2014-03-31 Doug Evans <dje@google.com>
18264
18265 * gdb.base/print-symbol-loading-lib.c: New file.
18266 * gdb.base/print-symbol-loading-main.c: New file.
18267 * gdb.base/print-symbol-loading.exp: New file.
18268
18269 2014-03-31 Yao Qi <yao@codesourcery.com>
18270
18271 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
18272
18273 2014-03-28 Joel Brobecker <brobecker@adacore.com>
18274
18275 * gdb.ada/mi_dyn_arr: New testcase.
18276
18277 2014-03-27 Doug Evans <dje@google.com>
18278
18279 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
18280
18281 2014-03-27 Yao Qi <yao@codesourcery.com>
18282
18283 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
18284 if target is nios2-*-*.
18285
18286 2014-03-26 Yao Qi <yao@codesourcery.com>
18287
18288 * lib/gdb.exp (readline_is_used): New proc.
18289 * gdb.base/completion.exp: Move tests on command complete up.
18290 Skip the rest of tests if readline is not used.
18291 * gdb.ada/complete.exp: Skp the test if readline is not
18292 used.
18293 * gdb.base/filesym.exp: Likewise.
18294 * gdb.base/macscp.exp: Likewise.
18295 * gdb.base/readline-ask.exp: Likewise.
18296 * gdb.base/readline.exp: Likewise.
18297 * gdb.python/py-cmd.exp: Likewise.
18298 * gdb.trace/tfile.exp: Likewise.
18299
18300 2014-03-26 Yao Qi <yao@codesourcery.com>
18301
18302 * gdb.base/macscp.exp: Fix code format issues.
18303
18304 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
18305
18306 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
18307 * gdb.asm/powerpc64le.inc: New file.
18308
18309 2014-03-25 Pedro Alves <palves@redhat.com>
18310 Doug Evans <dje@google.com>
18311
18312 * gdb.base/source-execution.c: New file.
18313 * gdb.base/source-execution.exp: New file.
18314 * gdb.base/source-execution.gdb: New file.
18315
18316 2014-03-24 Doug Evans <dje@google.com>
18317
18318 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
18319 using fission.
18320
18321 2014-03-24 Hui Zhu <hui@codesourcery.com>
18322 Pedro Alves <palves@redhat.com>
18323
18324 PR breakpoints/16101
18325 * gdb.base/dprintf.exp: Use unsupported rather than changing the
18326 test pass/fail messages. Detect missing support for dprintf when
18327 breakpoints are actually inserted.
18328 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
18329 breakpoints are actually inserted.
18330 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
18331 fails.
18332
18333 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
18334
18335 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
18336
18337 2014-03-22 Doug Evans <xdje42@gmail.com>
18338
18339 * gdb.python/python.exp (python not supported): Verify multi-line
18340 python command issues an error.
18341 * gdb.guile/guile.exp (guile not supported): Verify multi-line
18342 guile command issues an error.
18343
18344 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
18345
18346 * gdb.threads/thread-specific.exp: Handle the lack of usable
18347 $this_breakpoint and $this_thread.
18348
18349 2014-03-21 Hui Zhu <hui@codesourcery.com>
18350
18351 * gdb.base/attach.exp (do_command_attach_tests): New.
18352
18353 2014-03-20 Tom Tromey <tromey@redhat.com>
18354 Pedro Alves <palves@redhat.com>
18355
18356 PR cli/15718
18357 * gdb.base/condbreak-call-false.c: New file.
18358 * gdb.base/condbreak-call-false.exp: New file.
18359
18360 2014-03-20 Pedro Alves <palves@redhat.com>
18361
18362 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
18363 Delete.
18364 (block_signals, unblock_signals): Delete.
18365 (child_function_2, main): Remove references to deleted variable
18366 and functions.
18367
18368 2014-03-20 Pedro Alves <palves@redhat.com>
18369
18370 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
18371 Use pthread_kill to signal thread 2.
18372 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18373 Adjust to make the test send itself a signal rather than using the
18374 host's "kill" command.
18375
18376 2014-03-20 Pedro Alves <palves@redhat.com>
18377
18378 * gdb.threads/multiple-step-overs.c: New file.
18379 * gdb.threads/multiple-step-overs.exp: New file.
18380 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18381 Adjust expected infrun debug output.
18382
18383 2014-03-20 Pedro Alves <palves@redhat.com>
18384
18385 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
18386 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
18387
18388 2014-03-20 Pedro Alves <palves@redhat.com>
18389
18390 PR breakpoints/7143
18391 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
18392 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
18393 of gdb_test_multiple.
18394 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
18395 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
18396
18397 2014-03-20 Pedro Alves <palves@redhat.com>
18398
18399 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
18400 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
18401
18402 2014-03-19 Pedro Alves <palves@redhat.com>
18403
18404 * gdb.base/async.exp: Remove early return.
18405
18406 2014-03-19 Pedro Alves <palves@redhat.com>
18407
18408 * gdb.base/async.exp (step& tests): Pass explicit test messages.
18409
18410 2014-03-19 Pedro Alves <palves@redhat.com>
18411
18412 * gdb.base/async.exp (test_background): Expect \r\n after
18413 "completed." in the fail pattern.
18414
18415 2014-03-19 Pedro Alves <palves@redhat.com>
18416
18417 * gdb.base/async.exp (test_background): New procedure.
18418 Use it for all background execution command tests.
18419
18420 2014-03-19 Pedro Alves <palves@redhat.com>
18421
18422 * gdb.base/async.exp: Use prepare_for_testing.
18423
18424 2014-03-19 Pedro Alves <palves@redhat.com>
18425
18426 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
18427 the same line.
18428
18429 2014-03-19 Pedro Alves <palves@redhat.com>
18430
18431 * gdb.base/async.c (main): Add "jump here" and "until here" line
18432 marker comments.
18433 * gdb.base/async.exp (jump_here): New global.
18434 (jump& test): Use it.
18435 (until_here): New global.
18436 (until& test): Use it.
18437
18438 2014-03-19 Pedro Alves <palves@redhat.com>
18439
18440 * gdb.base/async.exp: Don't frob gdb_protocol.
18441
18442 2014-03-18 Doug Evans <xdje42@gmail.com>
18443
18444 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
18445 Fix spelling of exec-done-display.
18446
18447 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
18448
18449 PR gdb/15358
18450 * gdb.base/gdb-sigterm.c: New file.
18451 * gdb.base/gdb-sigterm.exp: New file.
18452
18453 2014-03-18 Pedro Alves <palves@redhat.com>
18454
18455 PR gdb/13860
18456 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
18457 * lib/mi-support.exp (mi_expect_stop): Add special handling for
18458 solib-event.
18459
18460 2014-03-17 Joel Brobecker <brobecker@adacore.com>
18461
18462 * gdb.ada/pckd_arr_ren: New testcase.
18463
18464 2014-03-13 Doug Evans <xdje42@gmail.com>
18465
18466 PR guile/16612
18467 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
18468 collect after discarding symbols.
18469
18470 2014-03-13 Ludovic Courtès <ludo@gnu.org>
18471 Doug Evans <xdje42@gmail.com>
18472
18473 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
18474 to history survives a gc.
18475
18476 2014-03-13 Pedro Alves <palves@redhat.com>
18477
18478 * gdb.base/default.exp: Don't test "target procfs".
18479
18480 2014-03-13 Pedro Alves <palves@redhat.com>
18481
18482 * gdb.base/default.exp: Update "target child" and "target procfs"
18483 tests to not expect "Unix".
18484
18485 2014-03-12 Tom Tromey <tromey@redhat.com>
18486
18487 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
18488 New procs. Add target-async tests.
18489 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
18490 Add target-async tests.
18491
18492 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18493
18494 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
18495 'func_start' and 'func_end' for the beginning and end of the
18496 function code, respectively.
18497 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
18498 'func_end' instead of 'func' and 'main'.
18499
18500 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18501
18502 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
18503 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
18504 generate the debug info assembler source.
18505
18506 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18507
18508 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
18509 * gdb.dwarf2/arr-subrange.exp: Likewise.
18510 * gdb.dwarf2/dwz.exp: Likewise.
18511 * gdb.dwarf2/method-ptr.exp: Likewise.
18512 * gdb.dwarf2/missing-sig-type.exp: Likewise.
18513 * gdb.dwarf2/subrange.exp: Likewise.
18514 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
18515 * gdb.dwarf2/implptrpiece.exp: Likewise.
18516 * gdb.dwarf2/nostaticblock.exp: Likewise.
18517
18518 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18519
18520 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
18521 directory to absolute path name arguments.
18522
18523 2014-03-10 Joel Brobecker <brobecker@adacore.com>
18524
18525 * gdb.ada/tagged_access: New testcase.
18526
18527 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
18528
18529 * gdb.btrace/data.exp: Update expected output.
18530
18531 2014-03-06 Yao Qi <yao@codesourcery.com>
18532
18533 * gdb.trace/pr16508.exp: New file.
18534
18535 2014-03-05 Pedro Alves <palves@redhat.com>
18536
18537 PR gdb/16575
18538 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
18539 procedure.
18540 (top level): Adjust to use it. Add tests that exercise breakpoint
18541 interaction with the code-cache.
18542
18543 2014-02-26 Ludovic Courtès <ludo@gnu.org>
18544
18545 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
18546 test for 'history-append!'.
18547
18548 2014-02-26 Joel Brobecker <brobecker@adacore.com>
18549
18550 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
18551 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
18552 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
18553 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
18554 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
18555 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
18556
18557 2014-02-26 Joel Brobecker <brobecker@adacore.com>
18558
18559 * testsuite/gdb.python/py-pp-re-notag.c: New file.
18560 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
18561 * testsuite/gdb.python/py-pp-re-notag.p: New file.
18562
18563 2014-02-26 Joel Brobecker <brobecker@adacore.com>
18564
18565 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
18566
18567 2014-02-26 Joel Brobecker <brobecker@adacore.com>
18568
18569 * gdb.dwarf2/arr-stride.c: New file.
18570 * gdb.dwarf2/arr-stride.exp: New file.
18571
18572 2014-02-26 Pedro Alves <palves@redhat.com>
18573
18574 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
18575 that won't ever trigger. Make sure that GDB reports the correct
18576 breakpoint that caused the stop.
18577
18578 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18579
18580 PR gdb/16626
18581 * gdb.base/auto-load-script: New file.
18582 * gdb.base/auto-load.c: New file.
18583 * gdb.base/auto-load.exp: New file.
18584
18585 PR gdb/16626
18586 * gdb.base/auto-load.exp: Fix out-of-srctree run.
18587
18588 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18589
18590 Fix dw2-icycle.exp -fsanitize=address GDB crash.
18591 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
18592
18593 2014-02-24 Doug Evans <dje@google.com>
18594
18595 * lib/gdb.exp (run_on_host): Log error output if program fails.
18596
18597 2014-02-21 Pedro Alves <palves@redhat.com>
18598
18599 * gdb.threads/step-after-sr-lock.c: Rename to ...
18600 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
18601 * gdb.threads/step-after-sr-lock.exp: Rename to ...
18602 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18603 ... this.
18604
18605 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
18606
18607 PR tdep/16397
18608 * gdb.arch/amd64-stap-special-operands.exp: New file.
18609 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
18610 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
18611 * gdb.arch/amd64-stap-triplet.S: Likewise.
18612 * gdb.arch/amd64-stap-triplet.c: Likewise.
18613
18614 2014-02-20 Joel Brobecker <brobecker@adacore.com>
18615
18616 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
18617 in .section pseudo-op.
18618
18619 2014-02-20 lin zuojian <manjian2006@gmail.com>
18620 Joel Brobecker <brobecker@adacore.com>
18621 Doug Evans <xdje42@gmail.com>
18622
18623 PR symtab/16581
18624 * gdb.dwarf2/dw2-icycle.S: New file.
18625 * gdb.dwarf2/dw2-icycle.c: New file.
18626 * gdb.dwarf2/dw2-icycle.exp: New file.
18627
18628 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
18629
18630 * gdb.python/py-value-cc.cc: Improve test case to enable testing
18631 operations on gdb.Value objects.
18632 * gdb.python/py-value-cc.exp: Add new test to test operations on
18633 gdb.Value objects.
18634
18635 2014-02-18 Doug Evans <dje@google.com>
18636
18637 * Makefile.in (TESTS): New variable.
18638 (expanded_tests, expanded_tests_or_none): New variables
18639 (check-single): Pass $(expanded_tests_or_none) to runtest.
18640 (check-parallel): Only run tests in $(TESTS) if non-empty.
18641 (check/no-matching-tests-found): New rule.
18642 * README: Document TESTS makefile variable.
18643
18644 2014-02-18 Doug Evans <dje@google.com>
18645
18646 * Makefile.in (check-parallel): rm -rf outputs temp.
18647
18648 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18649
18650 Fix "ERROR: no fileid for" in the testsuite.
18651 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
18652
18653 2014-02-12 Doug Evans <dje@google.com>
18654
18655 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
18656 (MISCELLANEOUS): New variable.
18657 (clean): rm -rf $(MISCELLANEOUS).
18658 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
18659 dwp live in the same directory as symlinks, with each symlink pointed
18660 to a differently named file in a different directory.
18661
18662 2014-02-11 Doug Evans <dje@google.com>
18663
18664 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
18665 of Tcl file commands.
18666
18667 2014-02-10 Mark Kettenis <kettenis@gnu.org>
18668
18669 * gdb.threads/step-after-sr-lock.exp: Avoid executing
18670 "kill -SIGUSR1 -1".
18671
18672 2014-02-10 Joel Brobecker <brobecker@adacore.com>
18673
18674 * gdb.ada/tick_length_array_enum_idx: New testcase.
18675
18676 2014-02-10 Doug Evans <xdje42@gmail.com>
18677
18678 * configure.ac (AC_OUTPUT): Add gdb.guile.
18679 * configure: Regenerate.
18680 * lib/gdb-guile.exp: New file.
18681 * lib/gdb.exp (get_target_charset): New function.
18682 * gdb.base/help.exp: Update expected output from "apropos apropos".
18683 * gdb.guile/Makefile.in: New file.
18684 * gdb.guile/guile.exp: New file.
18685 * gdb.guile/scm-arch.c: New file.
18686 * gdb.guile/scm-arch.exp: New file.
18687 * gdb.guile/scm-block.c: New file.
18688 * gdb.guile/scm-block.exp: New file.
18689 * gdb.guile/scm-breakpoint.c: New file.
18690 * gdb.guile/scm-breakpoint.exp: New file.
18691 * gdb.guile/scm-disasm.c: New file.
18692 * gdb.guile/scm-disasm.exp: New file.
18693 * gdb.guile/scm-equal.c: New file.
18694 * gdb.guile/scm-equal.exp: New file.
18695 * gdb.guile/scm-error.exp: New file.
18696 * gdb.guile/scm-error.scm: New file.
18697 * gdb.guile/scm-frame-args.c: New file.
18698 * gdb.guile/scm-frame-args.exp: New file.
18699 * gdb.guile/scm-frame-args.scm: New file.
18700 * gdb.guile/scm-frame-inline.c: New file.
18701 * gdb.guile/scm-frame-inline.exp: New file.
18702 * gdb.guile/scm-frame.c: New file.
18703 * gdb.guile/scm-frame.exp: New file.
18704 * gdb.guile/scm-generics.exp: New file.
18705 * gdb.guile/scm-gsmob.exp: New file.
18706 * gdb.guile/scm-iterator.c: New file.
18707 * gdb.guile/scm-iterator.exp: New file.
18708 * gdb.guile/scm-math.c: New file.
18709 * gdb.guile/scm-math.exp: New file.
18710 * gdb.guile/scm-objfile-script-gdb.in: New file.
18711 * gdb.guile/scm-objfile-script.c: New file.
18712 * gdb.guile/scm-objfile-script.exp: New file.
18713 * gdb.guile/scm-objfile.c: New file.
18714 * gdb.guile/scm-objfile.exp: New file.
18715 * gdb.guile/scm-ports.exp: New file.
18716 * gdb.guile/scm-pretty-print.c: New file.
18717 * gdb.guile/scm-pretty-print.exp: New file.
18718 * gdb.guile/scm-pretty-print.scm: New file.
18719 * gdb.guile/scm-section-script.c: New file.
18720 * gdb.guile/scm-section-script.exp: New file.
18721 * gdb.guile/scm-section-script.scm: New file.
18722 * gdb.guile/scm-symbol.c: New file.
18723 * gdb.guile/scm-symbol.exp: New file.
18724 * gdb.guile/scm-symtab-2.c: New file.
18725 * gdb.guile/scm-symtab.c: New file.
18726 * gdb.guile/scm-symtab.exp: New file.
18727 * gdb.guile/scm-type.c: New file.
18728 * gdb.guile/scm-type.exp: New file.
18729 * gdb.guile/scm-value-cc.cc: New file.
18730 * gdb.guile/scm-value-cc.exp: New file.
18731 * gdb.guile/scm-value.c: New file.
18732 * gdb.guile/scm-value.exp: New file.
18733 * gdb.guile/source2.scm: New file.
18734 * gdb.guile/types-module.cc: New file.
18735 * gdb.guile/types-module.exp: New file.
18736
18737 2014-02-10 Yao Qi <yao@codesourcery.com>
18738
18739 PR testsuite/16543
18740 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
18741 * configure: Regenerated.
18742 * Makefile.in: New file.
18743
18744 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
18745
18746 * gdb.python/py-framefilter.exp: Fix typo.
18747
18748 2014-02-08 Yao Qi <yao@codesourcery.com>
18749
18750 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
18751 that no =breakpoint-modified is emitted when breakpoints are
18752 modified through MI commands.
18753
18754 2014-02-07 Pedro Alves <pedro@codesourcery.com>
18755 Pedro Alves <palves@redhat.com>
18756
18757 * gdb.threads/step-after-sr-lock.c: New file.
18758 * gdb.threads/step-after-sr-lock.exp: New file.
18759
18760 2014-02-07 Pedro Alves <palves@redhat.com>
18761
18762 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
18763
18764 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
18765
18766 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
18767 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
18768
18769 2014-02-06 Doug Evans <xdje42@gmail.com>
18770
18771 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
18772 output.
18773
18774 * gdb.gdb/python-interrupts.exp: New file.
18775
18776 2014-02-05 Yao Qi <yao@codesourcery.com>
18777
18778 * gdb.trace/report.exp (use_collected_data): Test the output
18779 of "info threads" and "info inferiors".
18780
18781 2014-02-05 Yao Qi <yao@codesourcery.com>
18782
18783 Revert this patch:
18784
18785 2013-05-24 Yao Qi <yao@codesourcery.com>
18786
18787 * gdb.trace/tfile.exp: Test inferior and thread.
18788
18789 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18790
18791 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
18792 on a function.
18793 * gdb.base/step-bt.c: Call hello via function pointer to make
18794 sure its first instruction is executed on powerpc64le-linux.
18795
18796 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18797
18798 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
18799
18800 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18801
18802 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
18803 of the test patterns for use on little-endian systems.
18804
18805 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18806
18807 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
18808 (decimal_vector): Fix for little-endian.
18809
18810 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
18811
18812 * gdb.arch/sparc-sysstep.exp: New file.
18813 * gdb.arch/sparc-sysstep.c: Likewise.
18814
18815 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
18816
18817 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18818
18819 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
18820
18821 2014-01-23 Tom Tromey <tromey@redhat.com>
18822
18823 * gdb.ada/array_char_idx: New testcase.
18824
18825 2014-01-23 Tom Tromey <tromey@redhat.com>
18826
18827 PR python/16487:
18828 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
18829 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
18830 classes.
18831
18832 2014-01-23 Tom Tromey <tromey@redhat.com>
18833
18834 PR python/16491:
18835 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
18836 string from an inferior frame.
18837 * gdb.python/py-framefilter-mi.exp: Update.
18838
18839 2014-01-22 Doug Evans <dje@google.com>
18840
18841 * gdb.server/server-mon.exp: Add tests for "set debug-format".
18842
18843 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18844
18845 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
18846
18847 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18848
18849 * gdb.trace/entry-values.exp: Remove excess space character from
18850 regex patterns. Handle s390 call instruction.
18851
18852 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18853
18854 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
18855 define "*_start" label. Make "name" static.
18856 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
18857 ${name} by references to ${name}_start.
18858
18859 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18860
18861 * gdb.base/info-macros.exp: Remove "debug" from the compile
18862 options.
18863
18864 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18865
18866 * gdb.dlang/demangle.exp: New file.
18867
18868 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18869
18870 * gdb.dlang/primitive-types.exp: New file.
18871
18872 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18873
18874 * configure.ac: Create gdb.dlang/Makefile.
18875 * configure: Regenerate.
18876 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
18877 * gdb.dlang/Makefile.in: New file.
18878 * lib/d-support.exp: New file.
18879 * lib/gdb.exp (skip_d_tests): New proc.
18880
18881 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18882
18883 * gdb.btrace/delta.exp: Check reverse stepi.
18884 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
18885 * gdb.btrace/finish.exp: New.
18886 * gdb.btrace/next.exp: New.
18887 * gdb.btrace/nexti.exp: New.
18888 * gdb.btrace/record_goto.c: Add comments.
18889 * gdb.btrace/step.exp: New.
18890 * gdb.btrace/stepi.exp: New.
18891 * gdb.btrace/multi-thread-step.c: New.
18892 * gdb.btrace/multi-thread-step.exp: New.
18893 * gdb.btrace/rn-dl-bind.c: New.
18894 * gdb.btrace/rn-dl-bind.exp: New.
18895 * gdb.btrace/data.c: New.
18896 * gdb.btrace/data.exp: New.
18897 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
18898
18899 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18900
18901 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
18902 * gdb.btrace/exception.exp: Update.
18903 * gdb.btrace/instruction_history.exp: Update.
18904 * gdb.btrace/record_goto.exp: Update.
18905 * gdb.btrace/tailcall.exp: Update.
18906 * gdb.btrace/unknown_functions.exp: Update.
18907 * gdb.btrace/delta.exp: New.
18908
18909 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18910
18911 * gdb.btrace/record_goto.exp: Add backtrace test.
18912 * gdb.btrace/tailcall.exp: Add backtrace test.
18913
18914 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18915
18916 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
18917 * gdb.btrace/record_goto.c: New.
18918 * gdb.btrace/record_goto.exp: New.
18919 * gdb.btrace/x86-record_goto.S: New.
18920
18921 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18922
18923 * gdb.btrace/function_call_history.exp: Update tests.
18924 * gdb.btrace/instruction_history.exp: Update tests.
18925
18926 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18927
18928 * gdb.btrace/function_call_history.exp: Fix expected field
18929 order for "record function-call-history".
18930 Add new tests for "record function-call-history /c".
18931 * gdb.btrace/exception.cc: New.
18932 * gdb.btrace/exception.exp: New.
18933 * gdb.btrace/tailcall.exp: New.
18934 * gdb.btrace/x86-tailcall.S: New.
18935 * gdb.btrace/x86-tailcall.c: New.
18936 * gdb.btrace/unknown_functions.c: New.
18937 * gdb.btrace/unknown_functions.exp: New.
18938 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
18939
18940 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18941
18942 * gdb.btrace/instruction_history.exp: Update.
18943 * gdb.btrace/function_call_history.exp: Update.
18944
18945 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18946
18947 * gdb.btrace/function_call_history.exp: Fix expected function
18948 trace.
18949 * gdb.btrace/instruction_history.exp: Initialize traced.
18950 Remove traced_functions.
18951
18952 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18953
18954 * gdb.btrace/function_call_history.exp: Update
18955 * gdb.btrace/instruction_history.exp: Update.
18956
18957 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18958
18959 * gdb.btrace/enable.exp: Update expected text.
18960
18961 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
18962
18963 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
18964 bytes.
18965
18966 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
18967
18968 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
18969
18970 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
18971
18972 * lib/gdb.exp (supports_process_record): Return true for
18973 arm*-linux*. (supports_reverse): Likewise.
18974
18975 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
18976
18977 PR python/15464
18978 PR python/16113
18979 * gdb.python/py-type.c: Enhance test case.
18980 * gdb.python/py-value-cc.cc: Likewise
18981 * gdb.python/py-type.exp: Add new tests.
18982 * gdb.python/py-value-cc.exp: Likewise
18983
18984 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
18985 Pedro Alves <palves@redhat.com>
18986
18987 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
18988 Make "name" extern.
18989 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
18990 references to ${name}_start by references to ${name}.
18991
18992 2014-01-10 Joel Brobecker <brobecker@adacore.com>
18993
18994 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
18995
18996 2014-01-10 Joel Brobecker <brobecker@adacore.com>
18997
18998 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
18999
19000 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
19001 Pedro Alves <palves@redhat.com>
19002
19003 * gdb.mi/mi-info-os.exp: Connect to the target with
19004 mi_gdb_target_load.
19005
19006 2014-01-08 Pedro Alves <palves@redhat.com>
19007
19008 * gdb.threads/reconnect-signal.c: New file.
19009 * gdb.threads/reconnect-signal.exp: New file.
19010
19011 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
19012
19013 * gdb.base/source-dir.exp: New file.
19014
19015 2014-01-07 Joel Brobecker <brobecker@adacore.com>
19016
19017 * gdb.ada/mi_interface: New testcase.
19018
19019 2014-01-07 Joel Brobecker <brobecker@adacore.com>
19020
19021 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
19022 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
19023 gdb.ada/pp-rec-component/pck.ads: New files.
19024
19025 2014-01-07 Joel Brobecker <brobecker@adacore.com>
19026
19027 * gdb.python/py-pp-integral.c: New file.
19028 * gdb.python/py-pp-integral.py: New file.
19029 * gdb.python/py-pp-integral.exp: New file.
19030
19031 For older changes see ChangeLog-1993-2013.
19032 \f
19033 ;; Local Variables:
19034 ;; mode: change-log
19035 ;; left-margin: 8
19036 ;; fill-column: 74
19037 ;; version-control: never
19038 ;; End:
19039
19040 Copyright 2014-2020 Free Software Foundation, Inc.
19041 Copying and distribution of this file, with or without modification,
19042 are permitted provided the copyright notice and this notice are preserved.