Disable nested function tests for clang
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
... / ...
CommitLineData
12020-04-20 Gary Benson <gbenson@redhat.com>
2
3 * gdb.base/nested-subp1.exp: Disable test when using clang.
4 * gdb.base/nested-subp2.exp: Likewise.
5 * gdb.base/nested-subp3.exp: Likewise.
6
72020-04-20 Gary Benson <gbenson@redhat.com>
8
9 * gdb.cp/exception.cc: Fix compilation error with clang.
10
112020-04-20 Gary Benson <gbenson@redhat.com>
12
13 * gdb.trace/tspeed.c: Fix compilation error with clang.
14
152020-04-20 Gary Benson <gbenson@redhat.com>
16
17 * gdb.base/jit-main.c: Fix compilation error with clang.
18
192020-04-17 Kamil Rytarowski <n54@gmx.com>
20
21 * gdb.base/attach-twice.c: Include "sys/types.h".
22 (PTRACE_ATTACH): Add fallback definition.
23 (main): Pass `0' to the 4th argument of `ptrace'.
24
252020-04-17 Kamil Rytarowski <n54@gmx.com>
26
27 * gdb.base/fork-running-state.c: Include "signal.h".
28
292020-04-17 Tom Tromey <tromey@adacore.com>
30
31 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
32 Update tests.
33 * gdb.btrace/cpu.exp: Update tests.
34 * gdb.base/maint.exp: Update tests.
35 * gdb.base/default.exp: Update tests.
36 * gdb.base/completion.exp: Update tests.
37
382020-04-16 Tom de Vries <tdevries@suse.de>
39
40 PR symtab/25791
41 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
42 (ensure_gdb_index): and factor out and move ...
43 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
44 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
45
462020-04-16 Tom de Vries <tdevries@suse.de>
47
48 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
49 loading exec.
50
512020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
52
53 * gdb.base/many-completions.exp: New file.
54
552020-04-14 Tom de Vries <tdevries@suse.de>
56
57 PR symtab/25718
58 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
59
602020-04-14 Tom de Vries <tdevries@suse.de>
61
62 PR symtab/25720
63 * gdb.base/maint-expand-symbols-header-file.c: New test.
64 * gdb.base/maint-expand-symbols-header-file.exp: New file.
65 * gdb.base/maint-expand-symbols-header-file.h: New test.
66
672020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
68
69 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
70 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
71 get_func_info.
72 (get_func_info): Delete.
73 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
74 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
75 * lib/dwarf.exp (get_func_info): New function.
76
772020-04-13 Tom de Vries <tdevries@suse.de>
78
79 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
80 to what find_gnatmake does.
81
822020-04-10 Tom de Vries <tdevries@suse.de>
83
84 * gdb.base/style.exp: Expect "Expanding full symbols" message for
85 -readnow.
86
872020-04-10 Tom de Vries <tdevries@suse.de>
88
89 PR cli/25808
90 * gdb.base/style.c: Add leading newlines.
91 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
92 Check listing of main's one-line body.
93
942020-04-08 Tom de Vries <tdevries@suse.de>
95
96 * lib/gdb.exp (psymtabs_p): New proc.
97 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
98 importing unit" unsupported if there are no partial symbols.
99
1002020-04-08 Tom de Vries <tdevries@suse.de>
101
102 PR testsuite/25760
103 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
104
1052020-04-07 Tom de Vries <tdevries@suse.de>
106
107 PR symtab/25796
108 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
109
1102020-04-07 Tom de Vries <tdevries@suse.de>
111
112 * gdb.base/check-psymtab.c: New test.
113 * gdb.base/check-psymtab.exp: New file.
114
1152020-04-06 Tom Tromey <tromey@adacore.com>
116
117 * gdb.ada/variant-record/proc.adb: New file.
118 * gdb.ada/variant-record/value.adb: New file.
119 * gdb.ada/variant-record/value.s: New file.
120 * gdb.ada/variant-record.exp: New file.
121
1222020-04-03 Hannes Domani <ssbssa@yahoo.de>
123
124 PR gdb/25325
125 * gdb.cp/typed-enum.cc: New test.
126 * gdb.cp/typed-enum.exp: New file.
127
1282020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
129
130 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
131 * gdb.dwarf2/dw2-inline-small-func.c: New file.
132 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
133 * gdb.dwarf2/dw2-inline-small-func.h: New file.
134 * gdb.opt/inline-small-func.c: New file.
135 * gdb.opt/inline-small-func.exp: New file.
136 * gdb.opt/inline-small-func.h: New file.
137
1382020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
139
140 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
141 function.
142
1432020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
144
145 * lib/dwarf.exp (function_range): Allow compiler options to be
146 specified.
147
1482020-04-02 Tom de Vries <tdevries@suse.de>
149
150 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
151 __attribute__((always_inline)).
152 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
153
1542020-04-02 Tom de Vries <tdevries@suse.de>
155
156 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
157 (gdbserver_gdb_exit): ... here. Add timeout warning.
158 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
159 (connect_target_extended_remote): Append new server_spawn_id to
160 server_spawn_ids.
161 (cleanup): New proc.
162 (setup, <toplevel>): Call cleanup.
163
1642020-04-02 Tom de Vries <tdevries@suse.de>
165
166 * gdb.base/main-psymtab.exp: New file.
167
1682020-04-02 Tom de Vries <tdevries@suse.de>
169
170 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
171
1722020-04-01 Tom Tromey <tom@tromey.com>
173
174 * gdb.base/complex-parts.exp: Add type tests.
175
1762020-04-01 Tom Tromey <tom@tromey.com>
177
178 * gdb.base/complex-parts.exp: Add arithmetic tests.
179
1802020-04-01 Tom Tromey <tom@tromey.com>
181
182 * gdb.compile/compile.exp: Update.
183 * gdb.compile/compile-cplus.exp: Update.
184 * gdb.base/varargs.exp: Update.
185 * gdb.base/floatn.exp: Update.
186 * gdb.base/endianity.exp: Update.
187 * gdb.base/callfuncs.exp (do_function_calls): Update.
188 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
189 (complex_float_integral_args): Update.
190 * gdb.base/complex.exp: Update.
191 * gdb.base/complex-parts.exp: Update.
192
1932020-04-01 Tom Tromey <tromey@adacore.com>
194
195 * gdb.rust/union.rs: New file.
196 * gdb.rust/union.exp: New file.
197 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
198 (main): Update.
199 * gdb.rust/simple.exp: Move union tests to union.exp.
200
2012020-04-01 Tom Tromey <tromey@adacore.com>
202
203 * gdb.rust/simple.rs (main): Remove "y0".
204
2052020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
206
207 * gdb.multi/stop-all-on-exit.c: New test.
208 * gdb.multi/stop-all-on-exit.exp: New file.
209
2102020-04-01 Hannes Domani <ssbssa@yahoo.de>
211
212 PR gdb/24789
213 * gdb.cp/misc.cc: Add integer reference variable.
214 * gdb.cp/misc.exp: Add test.
215
2162020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
217
218 * gdb.server/stop-reply-no-thread.exp: Enhance the test
219 scenario to cover execution until the end and also the case
220
2212020-03-31 Tom de Vries <tdevries@suse.de>
222
223 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
224 c. Use "maint info symtabs" to check symtab expansion.
225
2262020-03-30 Tom de Vries <tdevries@suse.de>
227
228 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
229 unsupported.
230 (verify_psymtab_expanded): Move ...
231 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
232 test.
233 (readnow): New proc.
234
2352020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
236
237 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
238 with $hex.
239
2402020-03-20 Tom Tromey <tromey@adacore.com>
241
242 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
243
2442020-03-20 Tom Tromey <tromey@adacore.com>
245
246 * gdb.ada/sub_variant/subv.adb: New file.
247 * gdb.ada/sub_variant.exp: New file.
248
2492020-03-20 Tom de Vries <tdevries@suse.de>
250
251 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
252 first break fails.
253 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
254
2552020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
256
257 * gdb.server/exit-multiple-threads.c: New file.
258 * gdb.server/exit-multiple-threads.exp: New file.
259
2602020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
261
262 * gdb.fortran/mixed-lang-stack.c: New file.
263 * gdb.fortran/mixed-lang-stack.cpp: New file.
264 * gdb.fortran/mixed-lang-stack.exp: New file.
265 * gdb.fortran/mixed-lang-stack.f90: New file.
266
2672020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
268
269 * gdb.linespec/cp-completion-aliases.cc: New file.
270 * gdb.linespec/cp-completion-aliases.exp: New file.
271
2722020-03-19 Tom de Vries <tdevries@suse.de>
273
274 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
275 more precise.
276
2772020-03-18 Tom de Vries <tdevries@suse.de>
278
279 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
280 * gdb.dwarf2/break-inline-psymtab.c: New test.
281 * gdb.dwarf2/break-inline-psymtab.exp: New file.
282
2832020-03-16 Tom de Vries <tdevries@suse.de>
284
285 * lib/cache.exp (gdb_do_cache): Add and handle local variables
286 cache_verify and cache_verify_proc.
287
2882020-03-15 Tom de Vries <tdevries@suse.de>
289
290 * gdb.server/solib-list.exp: Handle
291 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
292
2932020-03-15 Tom de Vries <tdevries@suse.de>
294
295 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
296 objfiles".
297
2982020-03-14 Tom Tromey <tom@tromey.com>
299
300 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
301
3022020-03-14 Tom de Vries <tdevries@suse.de>
303
304 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
305
3062020-03-14 Tom de Vries <tdevries@suse.de>
307
308 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
309 result in line-by-line fashion.
310
3112020-03-14 Tom de Vries <tdevries@suse.de>
312
313 * lib/gdb.exp (supports_statement_frontiers): New proc.
314 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
315
3162020-03-14 Tom de Vries <tdevries@suse.de>
317
318 * gdb.base/printcmds.exp: Add missing quoting for "print
319 teststring2".
320
3212020-03-13 Tom Tromey <tom@tromey.com>
322
323 * gdb.base/printcmds.exp (test_print_strings): Add regression
324 test.
325 * gdb.base/printcmds.c (charptr): New typedef.
326 (teststring2): New global.
327
3282020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
329
330 * gdb.base/break-interp.exp: Use the tail of the filename, not the
331 full path in the test name.
332 (test_ld): Add some with_test_prefix blocks to make test names
333 unique.
334
3352020-03-13 Tom de Vries <tdevries@suse.de>
336
337 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
338
3392020-03-13 Tom de Vries <tdevries@suse.de>
340
341 * gdb.mi/mi-sym-info.exp: Make matching more precise.
342
3432020-03-13 Tom de Vries <tdevries@suse.de>
344
345 PR symtab/25646
346 * gdb.dwarf2/imported-unit.exp: Add test.
347
3482020-03-13 Tom de Vries <tdevries@suse.de>
349
350 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
351 (var1, var2): New variable.
352 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
353 matching symbols.
354
3552020-03-13 Tom de Vries <tdevries@suse.de>
356
357 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
358 (Term::command): Use prompt prefix.
359 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
360 * gdb.tui/tui-layout-asm-short-prog.exp: Use
361 command_no_prompt_prefix instead of prefix.
362 * gdb.tui/tui-layout-asm.exp: Same.
363
3642020-03-12 Simon Marchi <simon.marchi@efficios.com>
365
366 * gdb.base/break-interp.exp: Use foreach_with_prefix.
367
3682020-03-12 Simon Marchi <simon.marchi@efficios.com>
369
370 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
371 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
372 on" while stepping over the test instruction, match printed
373 message.
374
3752020-03-12 Tom de Vries <tdevries@suse.de>
376
377 * gdb.base/info-types.exp: Use exp_continue during matching of output
378 of "info types".
379
3802020-03-12 Tom de Vries <tdevries@suse.de>
381
382 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
383
3842020-03-12 Tom de Vries <tdevries@suse.de>
385
386 * gdb.fortran/module.exp: Use exp_continue during matching of output
387 of "info variable -n".
388
3892020-03-12 Tom de Vries <tdevries@suse.de>
390
391 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
392 gdb.dwarf2/dw2-ranges-base.c.
393
3942020-03-12 Tom de Vries <tdevries@suse.de>
395
396 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
397 in presence of GLIBC debuginfo.
398
3992020-03-12 Tom de Vries <tdevries@suse.de>
400
401 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
402 $core.
403
4042020-03-12 Tom de Vries <tdevries@suse.de>
405
406 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
407 more precise.
408
4092020-03-11 Simon Marchi <simon.marchi@efficios.com>
410
411 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
412 from Unix to Windows path.
413
4142020-03-11 Tom de Vries <tdevries@suse.de>
415
416 * gdb.ada/minsyms.exp: Set language to ada.
417
4182020-03-11 Tom de Vries <tdevries@suse.de>
419
420 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
421
4222020-03-11 Tom de Vries <tdevries@suse.de>
423
424 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
425
4262020-03-11 Tom Tromey <tromey@adacore.com>
427
428 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
429
4302020-03-11 Tom de Vries <tdevries@suse.de>
431
432 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
433
4342020-03-11 Tom de Vries <tdevries@suse.de>
435
436 * gdb.base/break-interp.exp: Limit verbose scope.
437
4382020-03-11 Tom de Vries <tdevries@suse.de>
439
440 * gdb.fortran/logical.f90: Define variable with character type.
441 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
442
4432020-03-11 Tom de Vries <tdevries@suse.de>
444
445 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
446
4472020-03-11 Tom de Vries <tdevries@suse.de>
448
449 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
450 symtabs.
451
4522020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
453 Bernd Edlinger <bernd.edlinger@hotmail.de>
454
455 * gdb.cp/step-and-next-inline.cc: New file.
456 * gdb.cp/step-and-next-inline.exp: New file.
457 * gdb.cp/step-and-next-inline.h: New file.
458 * gdb.dwarf2/dw2-is-stmt.c: New file.
459 * gdb.dwarf2/dw2-is-stmt.exp: New file.
460 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
461 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
462 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
463
4642020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
465
466 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
467 is-stmt flag in the line table.
468
4692020-03-09 Tom de Vries <tdevries@suse.de>
470
471 * lib/gdb.exp (cached_file): Create cache dir.
472
4732020-03-07 Tom de Vries <tdevries@suse.de>
474
475 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
476 * gdb.cp/rvalue-ref-params.exp: Same.
477
4782020-03-06 Tom de Vries <tdevries@suse.de>
479
480 * lib/gdb.exp (tentative_rename, cached_file): New proc.
481 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
482
4832020-03-06 Tom de Vries <tdevries@suse.de>
484
485 * README: Fix "the the".
486 * gdb.base/dprintf.exp: Same.
487
4882020-03-05 Tom de Vries <tdevries@suse.de>
489
490 * gdb.base/maint.exp: Update "main print statistics" expected output.
491
4922020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
493
494 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
495 (fortran_int8): Likewise.
496 (fortran_real4): Likewise.
497 (fortran_real8): Likewise.
498 (fortran_complex4): Likewise.
499 (fortran_logical4): Likewise.
500 (fortran_character1): Likewise.
501
5022020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
503
504 * gdb.fortran/logical.exp: Add tests that any non-zero value is
505 printed as true.
506
5072020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
508
509 * gdb.base/printcmds.exp: Add test to verify printf of a
510 variable holding an address.
511
5122020-03-03 Tom de Vries <tdevries@suse.de>
513
514 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
515
5162020-03-03 Tom de Vries <tdevries@suse.de>
517
518 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
519 gdb_test_multiple call.
520
5212020-03-03 Tom de Vries <tdevries@suse.de>
522
523 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
524 gdb_test_multiple calls.
525
5262020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
527
528 * gdb.base/default.exp: Remove test of 'set history filename'.
529 * gdb.base/gdbinit-history.exp: Add tests for setting the history
530 filename to the empty string.
531 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
532 and GDBHISTSIZE.
533
5342020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
535
536 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
537 disabled.
538
5392020-03-02 Pedro Alves <palves@redhat.com>
540 Tom de Vries <tdevries@suse.de>
541
542 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
543 -prompt prefix, before user_code argument. Add -lbl option likewise.
544 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
545 (gdb_is_target_1): Add -prompt prefix and move to before user_code
546 argument.
547 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
548 have "\r\n" at start-of-line, instead of at end-of-line.
549
5502020-02-28 Simon Marchi <simon.marchi@efficios.com>
551
552 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
553 libinproctrace.so.
554
5552020-02-28 Luis Machado <luis.machado@linaro.org>
556
557 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
558 to "p/x".
559
5602020-02-28 Luis Machado <luis.machado@linaro.org>
561
562 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
563 asm/ptrace.h and error.h.
564
5652020-02-28 Tom de Vries <tdevries@suse.de>
566
567 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
568 (struct wrapper, do_something, mundane/symada__cS): Move ...
569 * gdb.base/c-linkage-name-2.c: ... here. New source file.
570 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
571 Update "print symada__cS before partial symtab expansion" regexp.
572 Update breakpoint location. Flush symbol cache after expansion.
573
5742020-02-28 Luis Machado <luis.machado@linaro.org>
575
576 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
577
5782020-02-27 Tom de Vries <tdevries@suse.de>
579
580 * config/sid.exp: Remove unused globals.
581 * gdb.base/attach.exp: Same.
582 * gdb.base/catch-load.exp: Same.
583 * gdb.base/dbx.exp: Same.
584 * lib/gdb.exp: Same.
585 * lib/mi-support.exp: Same.
586 * lib/prompt.exp: Same.
587
5882020-02-27 Tom de Vries <tdevries@suse.de>
589
590 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
591 not set.
592
5932020-02-26 Aaron Merey <amerey@redhat.com>
594
595 * gdb.debuginfod: New directory for debuginfod tests.
596 * gdb.debuginfod/main.c: New test file.
597 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
598
5992020-02-26 Tom de Vries <tdevries@suse.de>
600
601 PR gdb/25603
602 * gdb.base/persistent-lang.cc: New test.
603 * gdb.base/persistent-lang.exp: New file.
604
6052020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
606
607 * gdb.fortran/derived-type-striding.exp: Add a new test.
608 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
609 new test.
610
6112020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
612
613 * gdb.base/cached-source-file.exp: Avoid source file paths in test
614 names.
615
6162020-02-25 Tom de Vries <tdevries@suse.de>
617
618 PR go/18926
619 * gdb.go/methods.exp: Remove gcc/93866 xfail.
620
6212020-02-24 Tom de Vries <tdevries@suse.de>
622
623 PR gdb/25592
624 * gdb.base/info-locals-unused-static-var.c: New test.
625 * gdb.base/info-locals-unused-static-var.exp: New file.
626
6272020-02-22 Tom Tromey <tom@tromey.com>
628
629 * gdb.python/tui-window.exp: New file.
630 * gdb.python/tui-window.py: New file.
631
6322020-02-22 Tom Tromey <tom@tromey.com>
633
634 PR tui/17850:
635 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
636 tests.
637
6382020-02-22 Tom Tromey <tom@tromey.com>
639
640 * gdb.tui/new-layout.exp: Add sub-layout tests.
641
6422020-02-22 Tom Tromey <tom@tromey.com>
643
644 * gdb.tui/new-layout.exp: New file.
645
6462020-02-22 Tom Tromey <tom@tromey.com>
647
648 * gdb.rust/rust-style.rs: New file.
649 * gdb.rust/rust-style.exp: New file.
650 * gdb.base/style.exp: Test structure printing.
651 * gdb.base/style.c (struct some_struct): New type.
652 (enum etype): New type.
653 (struct_value): New global.
654
6552020-02-21 Tom de Vries <tdevries@suse.de>
656
657 PR go/18926
658 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
659 Remove blanket xfails. Use message argument for gdb_breakpoint.
660 Make continuing to breakpoint test conditional on setting breakpoint.
661 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
662 DW_AT_name attribute. Add xfail for GCC PR93866.
663
6642020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
665
666 * gdb.dwarf2/cpp-linkage-name.c: New file.
667 * gdb.dwarf2/cpp-linkage-name.exp: New file.
668
6692020-02-21 Shahab Vahedi <shahab@synopsys.com>
670
671 * lib/gdb.exp (gdb_wrapper_init): Reset
672 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
673 not exist.
674
6752020-02-20 Tom de Vries <tdevries@suse.de>
676
677 PR go/17018
678 * gdb.go/hello.exp: Copy ...
679 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
680 print of st to print value of global definition. Add xfail for GCC
681 PR93844.
682 * gdb.go/hello.exp: Remove printing of st before definition.
683 * gdb.go/hello.go: Copy ...
684 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
685 to st.
686 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
687
6882020-02-20 Tom de Vries <tdevries@suse.de>
689
690 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
691 (gdb_simple_compile): Handle compile_flags go by using .go extension
692 for source file.
693 * gdb.go/chan.exp: Use support_go_compile.
694 * gdb.go/handcall.exp: Same.
695 * gdb.go/hello.exp: Same.
696 * gdb.go/integers.exp: Same.
697 * gdb.go/max-depth.exp: Same.
698 * gdb.go/methods.exp: Same.
699 * gdb.go/package.exp: Same.
700 * gdb.go/strings.exp: Same.
701 * gdb.go/types.exp: Same.
702 * gdb.go/unsafe.exp: Same.
703
7042020-02-19 Tom de Vries <tdevries@suse.de>
705
706 * gdb.python/lib-types.exp: Make xfail more strict.
707
7082020-02-19 Tom de Vries <tdevries@suse.de>
709
710 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
711
7122020-02-19 Doug Evans <dje@google.com>
713
714 PR rust/25535
715 * gdb.rust/simple.exp: Add test.
716 * gdb.rust/simple.rs: Add test.
717
7182020-02-19 Tom de Vries <tdevries@suse.de>
719
720 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
721 output line-by-line.
722
7232020-02-19 Tom de Vries <tdevries@suse.de>
724
725 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
726
7272020-02-19 Tom de Vries <tdevries@suse.de>
728
729 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
730 prelink.
731
7322020-02-19 Tom de Vries <tdevries@suse.de>
733
734 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
735 (gdb_do_cache): Use gdb_do_cache_wrap.
736 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
737
7382020-02-19 Tom de Vries <tdevries@suse.de>
739
740 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
741 gdb_compile option.
742
7432020-02-18 Simon Marchi <simon.marchi@efficios.com>
744
745 * gdb.base/printcmds.exp (test_print_enums): Update expected
746 output.
747
7482020-02-18 Simon Marchi <simon.marchi@efficios.com>
749
750 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
751 for "unknown".
752
7532020-02-18 Simon Marchi <simon.marchi@efficios.com>
754
755 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
756 enumerator.
757
7582020-02-18 Simon Marchi <simon.marchi@efficios.com>
759
760 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
761 FE_, add FE_NONE.
762 (three): Update.
763 (enum flag_enum_without_zero): New enum.
764 (flag_enum_without_zero): New variable.
765 (enum not_flag_enum): New enum.
766 (three_not_flag): New variable.
767 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
768 (test_print_enums): Add more tests for printing flag enums.
769
7702020-02-18 Tom de Vries <tdevries@suse.de>
771
772 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
773 (gdb_compile_ada): ... here.
774 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
775 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
776
7772020-02-14 Tom Tromey <tom@tromey.com>
778
779 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
780 build directory.
781 * boards/gdbserver-base.exp: Update path to gdbserver.
782
7832020-02-13 Tom de Vries <tdevries@suse.de>
784
785 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
786
7872020-02-13 Tom de Vries <tdevries@suse.de>
788
789 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
790 are missing.
791
7922020-02-13 Tom de Vries <tdevries@suse.de>
793
794 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
795 call.
796
7972020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
798
799 PR tui/25126
800 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
801 * gdb.base/cached-source-file.c: New file.
802 * gdb.base/cached-source-file.exp: New file.
803
8042020-02-11 Tom de Vries <tdevries@suse.de>
805
806 PR testsuite/25488
807 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
808
8092020-02-10 Tom de Vries <tdevries@suse.de>
810
811 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
812
8132020-02-10 Maciej W. Rozycki <macro@wdc.com>
814
815 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
816 and $after_addr are both integers before making a comparison.
817
8182020-02-09 Tom de Vries <tdevries@suse.de>
819
820 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
821 command output and paste it into gdb.log. If any, paste catch message
822 to gdb.log.
823
8242020-02-07 Tom Tromey <tromey@adacore.com>
825
826 PR breakpoints/24915:
827 * gdb.base/annotate-symlink.exp: Use setup_xfail.
828
8292020-02-06 Shahab Vahedi <shahab@synopsys.com>
830
831 * gdb.tui/tui-missing-src.exp: Add the "missing source
832 file" test for the TUI.
833
8342020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
835
836 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
837 including a port number in the output.
838
8392020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
840
841 * lib/fortran.exp (fortran_int4): Handle clang.
842 (fortran_int8): Likewise.
843 (fortran_real4): Likewise.
844 (fortran_real8): Likewise.
845 (fortran_complex4): Likewise.
846 (fortran_logical4): Likewise.
847 (fortran_character1): Likewise.
848
8492020-02-04 Tom de Vries <tdevries@suse.de>
850
851 * README (Race detection): Add note.
852
8532020-02-04 Tom de Vries <tdevries@suse.de>
854
855 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
856
8572020-02-04 Tom de Vries <tdevries@suse.de>
858
859 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
860
8612020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
862
863 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
864 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
865 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
866 blttar, bnetarl.
867 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
868 binary for blttar, bnetarl.
869 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
870 wait instruction. Delete ldmx test.
871 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
872
8732020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
874
875 * gdb.fortran/array-bounds-high.exp: New file.
876 * gdb.fortran/array-bounds-high.f90: New file.
877
8782020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
879
880 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
881 Replace #include of <sys/fcntl.h> by <fcntl.h>.
882
8832020-02-01 Tom de Vries <tdevries@suse.de>
884
885 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
886
8872020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
888
889 PR tui/9765
890 * gdb.tui/tui-layout-asm-short-prog.S: New file.
891 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
892
8932020-01-29 Luis Machado <luis.machado@linaro.org>
894
895 * gdb.arch/aarch64-brk-patterns.c: New source file.
896 * gdb.arch/aarch64-brk-patterns.exp: New test.
897
8982020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
899
900 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
901 GCC/Clang version.
902 * gdb.cp/pass-by-ref.exp: Ditto.
903
9042020-01-29 Tom de Vries <tdevries@suse.de>
905
906 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
907 * gdb.threads/watchpoint-fork-mt.c: Same.
908 * gdb.threads/watchpoint-fork-parent.c: Same.
909 * gdb.threads/watchpoint-fork-st.c: Same.
910 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
911
9122020-01-27 Luis Machado <luis.machado@linaro.org>
913
914 * gdb.base/step-over-syscall.exp (setup): Check if we're already
915 sitting at a syscall instruction when we hit the syscall function's
916 breakpoint.
917 Check PC against one obtained with the x command.
918 Validate syscall number.
919 (step_over_syscall): Don't continue to the syscall instruction if
920 we're already there.
921
9222020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
923
924 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
925
9262020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
927
928 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
929 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
930
9312020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
932
933 * gdb.dwarf2/dw2-inline-stepping.c: New file.
934 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
935
9362020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
937
938 * gdb.base/maint.exp: Update line table parsing test.
939 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
940
9412020-01-24 Pedro Alves <palves@redhat.com>
942
943 PR gdb/25410
944 * gdb.multi/multi-re-run-1.c: New.
945 * gdb.multi/multi-re-run-2.c: New.
946 * gdb.multi/multi-re-run.exp: New.
947
9482020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
949
950 PR gdb/23718
951 * gdb.server/server-kill-python.exp: New file.
952
9532020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
954
955 * gdb.server/multi-ui-errors.c: New file.
956 * gdb.server/multi-ui-errors.exp: New file.
957
9582020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
959
960 PR tui/9765
961 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
962
9632020-01-19 Tom Tromey <tom@tromey.com>
964
965 * gdb.tui/main.exp: Add check for plain "file".
966
9672020-01-16 Christian Biesinger <cbiesinger@google.com>
968
969 * lib/gdb.exp: Fix spelling error (seperatelly).
970
9712020-01-14 Tom Tromey <tom@tromey.com>
972
973 PR symtab/12535:
974 * gdb.python/python.exp: Test decode_line with empty string
975 argument.
976
9772020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
978
979 * gdb.base/skip-inline.exp: Extend test.
980
9812020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
982
983 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
984 * gdb.dwarf2/dw2-bad-elf.c: New file.
985 * gdb.dwarf2/dw2-bad-elf.exp: New file.
986
9872020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
988
989 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
990 _line_saw_file.
991
9922020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
993
994 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
995 border.
996
9972020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
998
999 * gdb.multi/multi-target.exp (setup): Factor out "info
1000 connections" and "info inferiors" tests to ...
1001 (test_info_inferiors): ... this new procedure.
1002 (top level): Run new "info-inferiors" tests.
1003
10042020-01-10 Pedro Alves <palves@redhat.com>
1005
1006 * gdb.server/bkpt-other-inferior.exp: New file.
1007
10082020-01-10 Pedro Alves <palves@redhat.com>
1009
1010 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
1011 of "add-inferior".
1012 * gdb.base/quit-live.exp: Likewise.
1013 * gdb.base/remote-exec-file.exp: Likewise.
1014 * gdb.guile/scm-progspace.exp: Likewise.
1015 * gdb.linespec/linespec.exp: Likewise.
1016 * gdb.mi/new-ui-mi-sync.exp: Likewise.
1017 * gdb.mi/user-selected-context-sync.exp: Likewise.
1018 * gdb.multi/multi-target.exp (setup): Add "info connection" and
1019 "info inferiors" tests.
1020 * gdb.multi/remove-inferiors.exp: Adjust expected output of
1021 "add-inferior".
1022 * gdb.multi/watchpoint-multi.exp: Likewise.
1023 * gdb.python/py-inferior.exp: Likewise.
1024 * gdb.server/extended-remote-restart.exp: Likewise.
1025 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
1026 "info inferiors".
1027 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
1028 * gdb.trace/report.exp: Likewise.
1029
10302020-01-10 Pedro Alves <palves@redhat.com>
1031
1032 * gdb.multi/multi-target.c: New file.
1033 * gdb.multi/multi-target.exp: New file.
1034 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
1035 mode requested, but remote does not support non-stop".
1036
10372020-01-10 Pedro Alves <palves@redhat.com>
1038
1039 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
1040 disconnect before reconnecting.
1041
10422020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1043 Pedro Alves <palves@redhat.com>
1044
1045 * gdb.server/connect-without-multi-process.exp: Also test
1046 continuing to end.
1047
10482020-01-10 Pedro Alves <palves@redhat.com>
1049
1050 * gdb.base/remote-exec-file.exp: New file.
1051
10522020-01-10 Pedro Alves <palves@redhat.com>
1053
1054 * gdb.base/fork-running-state.exp (do_test): Adjust expected
1055 output.
1056 * gdb.threads/async.c: New.
1057 * gdb.threads/async.exp: New.
1058 * gdb.multi/tids-gid-reset.c: New.
1059 * gdb.multi/tids-gid-reset.exp: New.
1060
10612020-01-10 George Barrett <bob@bob131.so>
1062
1063 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
1064 to help in finding the image relocation offset.
1065 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
1066 options in arguments.
1067 (stap_test_no_debuginfo): Likewise.
1068 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
1069 test variants.
1070 (stap_test): Add null semaphore relocation test.
1071
10722020-01-10 George Barrett <bob@bob131.so>
1073
1074 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
1075 * gdb.base/stap-probe.exp: Likewise.
1076 (stap_test): Pass argument as an additional flag.
1077 (stap_test_no_debuginfo): Likewise.
1078 (stap_test): Check `info probes stap' output for semaphore
1079 addresses if the test binary is supposed to have them.
1080
10812020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1082
1083 * gdb.tui/basic.exp: Add more scrolling tests.
1084
10852020-01-09 Tom Tromey <tom@tromey.com>
1086
1087 PR tui/18932:
1088 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
1089 meangingful value.
1090 (Term::command, Term::resize): Update.
1091 * gdb.tui/basic.exp: Add scrolling test.
1092
10932020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1094
1095 * gdb.tui/tui-layout-asm.exp: New file.
1096
10972020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1098
1099 * lib/tuiterm.exp (Term::check_box_contents): New proc.
1100
11012020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1102
1103 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
1104 (Term::enter_tui): Use Term::prepare_for_tui.
1105
11062020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1107
1108 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
1109 called.
1110
11112020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1112
1113 * gdb.base/skip.exp: Fix race condition in test.
1114
11152020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
1116
1117 * gdb.base/backtrace.c: New file.
1118 * gdb.base/backtrace.exp: New file.
1119
11202020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
1121
1122 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
1123
11242020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1125
1126 * gdb.base/style.exp: Test that warnings are styled.
1127
11282019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
1129
1130 * gdb.base/line65535.exp: New file.
1131 * gdb.base/line65535.c: New file.
1132
11332019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
1134
1135 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
1136 * lib/gnat_debug_info_test.adb: New file.
1137 * gdb.ada/ptype_tagged_param.exp: Use
1138 gnat_runtime_has_debug_info, expect a different output if
1139 runtime does not have debug info.
1140
11412019-12-20 Simon Marchi <simon.marchi@efficios.com>
1142
1143 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
1144 (another) quote in test name.
1145
11462019-12-20 Simon Marchi <simon.marchi@efficios.com>
1147
1148 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
1149 Add quote in test name.
1150
11512019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1152
1153 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
1154 directory instead.
1155 * gdb.cp/pass-by-ref.exp: Extend with more cases.
1156 * gdb.cp/pass-by-ref-2.cc: New file.
1157 * gdb.cp/pass-by-ref-2.exp: New file.
1158
11592019-12-20 Tom Tromey <tom@tromey.com>
1160
1161 * gdb.tui/list-before.exp: New file.
1162
11632019-12-20 Tom Tromey <tom@tromey.com>
1164
1165 * gdb.tui/list.exp: Check for source on initial listing.
1166
11672019-12-11 Tom Tromey <tromey@adacore.com>
1168
1169 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
1170 Add crlf test.
1171
11722019-12-18 Simon Marchi <simon.marchi@efficios.com>
1173
1174 * gdb.base/default.exp: Update value of $_gdb_major.
1175
11762019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
1177
1178 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
1179
11802019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
1181
1182 * gdb.base/skip.exp: Whitespace fix.
1183
11842019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
1185
1186 * gdb.base/skip-inline.c: New file.
1187 * gdb.base/skip-inline.exp: New file.
1188
11892019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
1190
1191 * gdb.base/jit-reader.exp (jit_reader_test): Rename
1192 jit_function_00 to jit_function_stack_mangle.
1193 * gdb.base/jithost.c (jit_function_t): Rename to...
1194 (jit_function_stack_mangle_t): ... this.
1195 (jit_function_add_t): New typedef.
1196 (jit_function_00_code): Rename to...
1197 (jit_function_stack_mangle_code): ... this, make static.
1198 (jit_function_add_code): New.
1199 (main): Generate "add" function and call it. Adjust to changes
1200 in jithost_abi.
1201 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
1202 (struct jithost_abi) <begin, end>: Remove fields.
1203 <object, function_stack_mangle, function_add>: New fields.
1204 * gdb.base/jitreader.c (struct reader_state) <code_begin,
1205 code_end>: Remove fields.
1206 <func_stack_mangle>: New field.
1207 (read_debug_info): Adjust to renaming, create block for "add"
1208 function.
1209 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
1210
12112019-12-11 Tom Tromey <tom@tromey.com>
1212
1213 * gdb.tui/resize.exp: Fix regexp.
1214 * gdb.tui/regs.exp: Fix regexps.
1215 * gdb.tui/main.exp: Fix regexp.
1216
12172019-12-11 Tom Tromey <tom@tromey.com>
1218
1219 * gdb.tui/resize.exp: Update.
1220 * gdb.tui/empty.exp (layouts): Update.
1221
12222019-12-11 Tom Tromey <tom@tromey.com>
1223
1224 * gdb.tui/regs.exp: Update.
1225 * gdb.tui/empty.exp (layouts): Update.
1226 * gdb.tui/basic.exp: Update.
1227 * lib/tuiterm.exp (_check_box): Don't check bottom border.
1228
12292019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1230
1231 * gdb.base/options.exp: Add -raw-values in the print completion list.
1232 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
1233
12342019-12-10 Kevin Buettner <kevinb@redhat.com>
1235
1236 * gdb.threads/omp-par-scope.c: New file.
1237 * gdb/threads/omp-par-scope.exp: New file.
1238
12392019-12-10 Kevin Buettner <kevinb@redhat.com>
1240
1241 * lib/gdb.exp (support_nested_function_tests): New proc.
1242
12432019-12-10 Kevin Buettner <kevinb@redhat.com>
1244
1245 * lib/gdb.exp (gdb_compile_openmp): New proc.
1246 (build_executable_from_specs): Add an "openmp" option.
1247 (gdb_compile_pthreads): Add non-executable case.
1248
12492019-12-10 Tom Tromey <tromey@adacore.com>
1250
1251 * gdb.ada/unchecked_union.exp: New file.
1252 * gdb.ada/unchecked_union/pck.adb: New file.
1253 * gdb.ada/unchecked_union/pck.ads: New file.
1254 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
1255 * gdb-utils.exp (string_to_regexp): Also quote "?".
1256
12572019-12-10 George Barrett <bob@bob131.so>
1258
1259 Test scripted probe breakpoints.
1260 * gdb.guile/scm-breakpoint.c (main): Add probe point.
1261 * gdb.python/py-breakpoint.c (main): Likewise.
1262 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
1263 specifier test.
1264 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
1265
12662019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1267
1268 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
1269 an rvalue parameter.
1270 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
1271 parameter.
1272
12732019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
1274
1275 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
1276 modules.
1277
12782019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
1279
1280 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
1281 broken version of GCC.
1282
12832019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
1284
1285 * gdb.fortran/info-modules.exp: Rewrite to make use of new
1286 sym-info-cmds library.
1287 * gdb.fortran/info-types.exp: Likewise.
1288 * lib/sym-info-cmds.exp: New file.
1289
12902019-12-08 Tom de Vries <tdevries@suse.de>
1291
1292 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
1293
12942019-12-07 Keith Seitz <keiths@redhat.com>
1295
1296 * gdb.base/corefile-buildid-shlib-shr.c: New file.
1297 * gdb.base/corefile-buildid-shlib.c: New file.
1298 * gdb.base/corefile-buildid.c: New file.
1299 * gdb.base/corefile-buildid.exp: New file.
1300
13012019-12-06 Tom de Vries <tdevries@suse.de>
1302
1303 * gdb.dwarf2/varval.exp: Add decl before def test.
1304
13052019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1306
1307 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
1308
13092019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1310
1311 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
1312 CV and reference conversion for overload resolution.
1313 * gdb.cp/rvalue-ref-overload.exp: Test it.
1314
13152019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1316
1317 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
1318 * gdb.base/frameapply.exp: Test faas without command.
1319
13202019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1321
1322 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
1323 Fortran tests.
1324 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
1325 order.
1326
13272019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1328
1329 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
1330 casting to type with no kind specified.
1331 (test_basic_parsing_of_type_kinds): Additional tests for types
1332 with no kind specified, and add tests for single/double
1333 precision/complex types.
1334
13352019-12-04 Tom Tromey <tromey@adacore.com>
1336
1337 * gdb.base/endianity.c (struct other) <x>: New field.
1338 (main): Initialize it.
1339 * gdb.base/endianity.exp: Update.
1340
13412019-12-04 Tom Tromey <tromey@adacore.com>
1342
1343 * gdb.ada/scalar_storage/storage.adb: New file.
1344 * gdb.ada/scalar_storage/pck.adb: New file.
1345 * gdb.ada/scalar_storage/pck.ads: New file.
1346 * gdb.ada/scalar_storage.exp: New file.
1347
13482019-12-04 Tom Tromey <tromey@adacore.com>
1349
1350 * gdb.base/endianity.c (struct otherendian) <f>: New field.
1351 (main): Initialize it.
1352 * gdb.base/endianity.exp: Update.
1353
13542019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1355
1356 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
1357
13582019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1359
1360 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
1361 -symbol-info-module-functions and -symbol-info-module-variables.
1362
13632019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
1364
1365 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
1366
13672019-12-01 Richard Bunt <richard.bunt@arm.com>
1368 Andrew Burgess <andrew.burgess@embecosm.com>
1369
1370 * gdb.fortran/derived-type-striding.exp: New file.
1371 * gdb.fortran/derived-type-striding.f90: New file.
1372 * gdb.fortran/array-slices.exp: New file.
1373 * gdb.fortran/array-slices.f90: New file.
1374
13752019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1376
1377 * gdb.base/define.exp: Test . in command names.
1378 * gdb.base/setshow.exp: Update test, as . is now part of
1379 command name.
1380
13812019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1382
1383 * gdb.base/define-prefix.exp: New file.
1384
13852019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
1386
1387 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
1388 compile.
1389 (skip_btrace_pt_tests): Likewise.
1390
13912019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
1392
1393 * gdb.fortran/info-modules.exp: Compile source files in correct
1394 order.
1395
13962019-11-27 Kevin Buettner <kevinb@redhat.com>
1397
1398 * gdb.dwarf2/imported-unit.exp: New file.
1399 * gdb.dwarf2/imported-unit.c: New file.
1400
14012019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
1402
1403 * gdb.mi/mi-fortran-modules-2.f90: New file.
1404 * gdb.mi/mi-fortran-modules.exp: New file.
1405 * gdb.mi/mi-fortran-modules.f90: New file.
1406
14072019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
1408
1409 * gdb.mi/mi-sym-info-1.c: New file.
1410 * gdb.mi/mi-sym-info-2.c: New file.
1411 * gdb.mi/mi-sym-info.exp: New file.
1412
14132019-11-22 Tom Tromey <tromey@adacore.com>
1414
1415 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
1416 * gdb.ada/tasks/foo.adb: Add another stopping location.
1417
14182019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
1419
1420 * gdb.base/endianity.c: New test.
1421 * gdb.base/endianity.exp: New file.
1422
14232019-11-21 Lukas Durfina <ldurfina@tachyum.com>
1424
1425 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
1426
14272019-11-21 Tom de Vries <tdevries@suse.de>
1428
1429 PR gdb/24956
1430 * gdb.base/ui-redirect.exp: Test output of user-defined command.
1431
14322019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
1433
1434 * gdb.python/py-progspace.exp: Add missing parentheses on some
1435 'print' commands.
1436
14372019-11-19 Tom Tromey <tom@tromey.com>
1438
1439 * gdb.tui/winheight.exp: New file.
1440
14412019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1442
1443 * gdb.base/ctf-whatis.c: Delete.
1444 * gdb.base/ctf-whatis.exp: Delete.
1445 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
1446
14472019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1448
1449 * gdb.base/ctf-cvexpr.exp: Delete.
1450 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
1451
14522019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1453
1454 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
1455 the compiler. Clean up header comment a little.
1456 * gdb.base/ctf-ptype.exp: Likewise.
1457 * gdb.base/ctf-whatis.exp: Likewise.
1458 * lib/gdb.exp (skip_ctf_tests): New proc.
1459
14602019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
1461
1462 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
1463 * gdb.tui/corefile-run.exp: New file.
1464
14652019-11-14 Tom Tromey <tromey@adacore.com>
1466
1467 * gdb.base/gdbvars.exp (test_convenience_variables): Add
1468 regression tests.
1469
14702019-11-12 Tom Tromey <tom@tromey.com>
1471
1472 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
1473 after any command. Expect prompt after WAIT_FOR is seen.
1474 (enter_tui): Enable resize messages.
1475 (command): Expect command in output.
1476 (get_line): Avoid error when cursor appears to be off-screen.
1477 (dump_screen): Include screen size in title.
1478 (_do_resize): New proc, from "resize".
1479 (resize): Rewrite. Do resize in two steps.
1480 * gdb.tui/empty.exp (layouts): Fix entries.
1481 (check_boxes): Remove xfail.
1482 (check_text): Dump screen on failure.
1483
14842019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
1485
1486 * gdb.python/py-symbol.exp: Add test for
1487 gdb.lookup_static_symbols.
1488
14892019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
1490
1491 * gdb.python/py-symbol.c: Declare and call function from new
1492 py-symbol-2.c file.
1493 * gdb.python/py-symbol.exp: Compile both source files, and add new
1494 tests for gdb.lookup_static_symbol.
1495 * gdb.python/py-symbol-2.c: New file.
1496
14972019-11-02 Tom de Vries <tdevries@suse.de>
1498
1499 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
1500 * gdb.base/anon.exp: Same.
1501 * gdb.base/auto-connect-native-target.exp: Same.
1502 * gdb.base/call-ar-st.exp: Same.
1503 * gdb.base/catch-syscall.exp: Same.
1504 * gdb.base/commands.exp: Same.
1505 * gdb.base/default.exp: Same.
1506 * gdb.base/display.exp: Same.
1507 * gdb.base/float.exp: Same.
1508 * gdb.base/foll-fork.exp: Same.
1509 * gdb.base/help.exp: Same.
1510 * gdb.base/info-macros.exp: Same.
1511 * gdb.base/info-proc.exp: Same.
1512 * gdb.base/info-target.exp: Same.
1513 * gdb.base/long_long.exp: Same.
1514 * gdb.base/macscp.exp: Same.
1515 * gdb.base/memattr.exp: Same.
1516 * gdb.base/nofield.exp: Same.
1517 * gdb.base/pointers.exp: Same.
1518 * gdb.base/printcmds.exp: Same.
1519 * gdb.base/ptype.exp: Same.
1520 * gdb.base/restore.exp: Same.
1521 * gdb.base/return.exp: Same.
1522 * gdb.base/scope.exp: Same.
1523 * gdb.base/set-noassign.exp: Same.
1524 * gdb.base/setshow.exp: Same.
1525 * gdb.base/shlib-call.exp: Same.
1526 * gdb.base/signals.exp: Same.
1527 * gdb.base/sigstep.exp: Same.
1528 * gdb.base/skip.exp: Same.
1529 * gdb.base/solib-symbol.exp: Same.
1530 * gdb.base/stap-probe.exp: Same.
1531 * gdb.base/step-line.exp: Same.
1532 * gdb.base/step-test.exp: Same.
1533 * gdb.base/style.exp: Same.
1534 * gdb.base/varargs.exp: Same.
1535 * gdb.base/vla-datatypes.exp: Same.
1536 * gdb.base/vla-ptr.exp: Same.
1537 * gdb.base/vla-sideeffect.exp: Same.
1538 * gdb.base/volatile.exp: Same.
1539 * gdb.base/watch-cond-infcall.exp: Same.
1540 * gdb.base/watchpoint.exp: Same.
1541
15422019-11-02 Tom de Vries <tdevries@suse.de>
1543
1544 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
1545 * gdb.cp/cpexprs.exp: Same.
1546 * gdb.cp/except-multi-location.exp: Same.
1547 * gdb.cp/exceptprint.exp: Same.
1548 * gdb.cp/gdb2384.exp: Same.
1549 * gdb.cp/inherit.exp: Same.
1550 * gdb.cp/m-static.exp: Same.
1551 * gdb.cp/meth-typedefs.exp: Same.
1552 * gdb.cp/misc.exp: Same.
1553 * gdb.cp/namespace.exp: Same.
1554 * gdb.cp/non-trivial-retval.exp: Same.
1555 * gdb.cp/overload.exp: Same.
1556 * gdb.cp/pr17132.exp: Same.
1557 * gdb.cp/re-set-overloaded.exp: Same.
1558 * gdb.cp/rvalue-ref-types.exp: Same.
1559 * gdb.cp/templates.exp: Same.
1560
15612019-11-01 Luis Machado <luis.machado@linaro.org>
1562
1563 PR gdb/25124
1564
1565 * gdb.arch/pr25124.S: New file.
1566 * gdb.arch/pr25124.exp: New file.
1567
15682019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1569
1570 * gdb.fortran/info-modules.exp: Update expected results, and add
1571 additional tests for 'info module functinos', and 'info module
1572 variables'.
1573 * gdb.fortran/info-types.exp: Update expected results.
1574 * gdb.fortran/info-types.f90: Extend testcase with additional
1575 module variables and functions.
1576
15772019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1578
1579 * gdb.fortran/info-modules.exp: New file.
1580 * gdb.fortran/info-types.exp: Build with new file.
1581 * gdb.fortran/info-types.f90: Include and use new module.
1582 * gdb.fortran/info-types-2.f90: New file.
1583
15842019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1585
1586 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
1587 * gdb.base/settings.exp: Test all settings types using
1588 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
1589 that now verifies that the value of "maint show" is the same as
1590 returned by the settings functions. Test the type of the
1591 maintenance settings.
1592 * gdb.base/default.exp: Update show_conv_list.
1593
15942019-10-31 Tom de Vries <tdevries@suse.de>
1595
1596 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
1597 gdb_test.
1598 * gdb.arch/amd64-disp-step.exp: Same.
1599 * gdb.asm/asm-source.exp: Same.
1600 * gdb.btrace/buffer-size.exp: Same.
1601 * gdb.btrace/cpu.exp: Same.
1602 * gdb.btrace/enable.exp: Same.
1603 * gdb.dwarf2/count.exp: Same.
1604 * gdb.dwarf2/dw2-ranges-func.exp: Same.
1605 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
1606 * gdb.fortran/vla-datatypes.exp: Same.
1607 * gdb.fortran/vla-history.exp: Same.
1608 * gdb.fortran/vla-ptype.exp: Same.
1609 * gdb.fortran/vla-value.exp: Same.
1610 * gdb.fortran/whatis_type.exp: Same.
1611 * gdb.guile/guile.exp: Same.
1612 * gdb.multi/tids.exp: Same.
1613 * gdb.python/py-finish-breakpoint.exp: Same.
1614 * gdb.python/py-framefilter.exp: Same.
1615 * gdb.python/py-pp-registration.exp: Same.
1616 * gdb.python/py-xmethods.exp: Same.
1617 * gdb.python/python.exp: Same.
1618 * gdb.server/connect-with-no-symbol-file.exp: Same.
1619 * gdb.server/no-thread-db.exp: Same.
1620 * gdb.server/run-without-local-binary.exp: Same.
1621 * gdb.stabs/weird.exp: Same.
1622 * gdb.threads/attach-many-short-lived-threads.exp: Same.
1623 * gdb.threads/thread-find.exp: Same.
1624 * gdb.threads/tls-shared.exp: Same.
1625 * gdb.threads/tls.exp: Same.
1626 * gdb.threads/wp-replication.exp: Same.
1627 * gdb.trace/ax.exp: Same.
1628 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
1629
16302019-10-31 Tom de Vries <tdevries@suse.de>
1631
1632 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
1633 * gdb.ada/array_subscript_addr.exp: Same.
1634 * gdb.ada/arrayidx.exp: Same.
1635 * gdb.ada/arrayparam.exp: Same.
1636 * gdb.ada/arrayptr.exp: Same.
1637 * gdb.ada/boolean_expr.exp: Same.
1638 * gdb.ada/call_pn.exp: Same.
1639 * gdb.ada/complete.exp: Same.
1640 * gdb.ada/fixed_cmp.exp: Same.
1641 * gdb.ada/fun_addr.exp: Same.
1642 * gdb.ada/funcall_param.exp: Same.
1643 * gdb.ada/interface.exp: Same.
1644 * gdb.ada/mod_from_name.exp: Same.
1645 * gdb.ada/null_array.exp: Same.
1646 * gdb.ada/packed_array.exp: Same.
1647 * gdb.ada/packed_tagged.exp: Same.
1648 * gdb.ada/print_chars.exp: Same.
1649 * gdb.ada/print_pc.exp: Same.
1650 * gdb.ada/ptype_arith_binop.exp: Same.
1651 * gdb.ada/ptype_field.exp: Same.
1652 * gdb.ada/ptype_tagged_param.exp: Same.
1653 * gdb.ada/rec_return.exp: Same.
1654 * gdb.ada/ref_tick_size.exp: Same.
1655 * gdb.ada/str_ref_cmp.exp: Same.
1656 * gdb.ada/taft_type.exp: Same.
1657 * gdb.ada/tagged.exp: Same.
1658 * gdb.ada/type_coercion.exp: Same.
1659 * gdb.ada/uninitialized_vars.exp: Same.
1660
16612019-10-30 Tom de Vries <tdevries@suse.de>
1662
1663 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
1664
16652019-10-26 Tom de Vries <tdevries@suse.de>
1666
1667 * gdb.base/bigcore.c: Fix typos in comments.
1668 * gdb.base/ctf-ptype.c: Same.
1669 * gdb.base/long_long.c: Same.
1670 * gdb.dwarf2/dw2-op-out-param.S: Same.
1671 * gdb.python/py-evthreads.c: Same.
1672 * gdb.reverse/i387-stack-reverse.c: Same.
1673 * gdb.trace/tfile.c: Same.
1674 * lib/compiler.c: Same.
1675 * lib/compiler.cc: Same.
1676
16772019-10-25 Tom de Vries <tdevries@suse.de>
1678
1679 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
1680 gdb_test_multiple calls.
1681 * gdb.reverse/sigall-reverse.exp: Same.
1682 * gdb.reverse/solib-precsave.exp: Same.
1683 * gdb.reverse/solib-reverse.exp: Same.
1684 * gdb.reverse/until-precsave.exp: Same.
1685 * gdb.reverse/until-reverse.exp: Same.
1686
16872019-10-24 Tom de Vries <tdevries@suse.de>
1688
1689 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
1690 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
1691 kfail using -wrap pattern flag and convenience variable
1692 gdb_test_name.
1693
16942019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
1695
1696 * gdb.python/py-progspace.exp: Add tests for the
1697 Progspace.block_for_pc method.
1698
16992019-10-23 Tom Tromey <tom@tromey.com>
1700
1701 * configure: Rebuild.
1702 * aclocal.m4: Use m4_include, not sinclude.
1703
17042019-10-21 Tom de Vries <tdevries@suse.de>
1705
1706 * gdb.base/infcall-nested-structs.c: Add
1707 __attribute__((noinline,noclone)) to all functions.
1708 (call_all): Add missing variable initialization. Simplify return value.
1709 (breakpt): Increment volatile variable, to prevent call from being
1710 optimized out.
1711 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
1712
17132019-10-17 Tom de Vries <tdevries@suse.de>
1714
1715 * gdb.fortran/module.exp: Allow info variables to print info for files
1716 other than module.f90.
1717
17182019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
1719
1720 * gdb.fortran/module.exp: Extend with 'info variables' test.
1721
17222019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
1723
1724 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
1725 F77_FOR_TARGET.
1726
17272019-10-16 Tom de Vries <tdevries@suse.de>
1728
1729 PR tdep/25096
1730 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
1731
17322019-10-16 Tom de Vries <tdevries@suse.de>
1733
1734 PR tdep/24104
1735 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
1736 Add KFAIL for PR tdep/25096.
1737
17382019-10-16 Tom de Vries <tdevries@suse.de>
1739
1740 PR testsuite/25059
1741 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
1742
17432019-10-16 Tom de Vries <tdevries@suse.de>
1744
1745 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
1746 as signed.
1747
17482019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
1749
1750 * gdb.mi/list-thread-groups-available.exp: Read entries one by
1751 one instead of increasing timeout.
1752
17532019-10-13 Tom de Vries <tdevries@suse.de>
1754
1755 PR record/25038
1756 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
1757 * gdb.reverse/sigall-reverse.exp: Same.
1758 * gdb.reverse/solib-precsave.exp: Same.
1759 * gdb.reverse/solib-reverse.exp: Same.
1760 * gdb.reverse/step-precsave.exp: Same.
1761 * gdb.reverse/until-precsave.exp: Same.
1762 * gdb.reverse/until-reverse.exp: Same.
1763 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
1764
17652019-10-10 Andreas Arnez <arnez@linux.ibm.com>
1766
1767 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
1768 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
1769 (cmp_struct_05_01, cmp_struct_static_02_01)
1770 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
1771 comparisons.
1772
17732019-10-10 Tom de Vries <tdevries@suse.de>
1774
1775 PR testsuite/24888
1776 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
1777 gnatlink.
1778
17792019-10-09 Tom de Vries <tdevries@suse.de>
1780
1781 PR testsuite/25048
1782 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
1783
17842019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
1785
1786 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
1787 exceptions due to missing debug information.
1788
17892019-10-07 Tom de Vries <tdevries@suse.de>
1790
1791 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
1792
17932019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
1794
1795 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
1796 * gdb.base/annota1.exp: Update to use gdb_test_name.
1797
17982019-10-07 Weimin Pan <weimin.pan@oracle.com>
1799
1800 * gdb.base/ctf-whatis.exp: New file.
1801 * gdb.base/ctf-whatis.c: New file.
1802 * gdb.base/ctf-ptype.exp: New file.
1803 * gdb.base/ctf-ptype.c: New file.
1804 * gdb.base/ctf-constvars.exp: New file.
1805 * gdb.base/ctf-constvars.c: New file.
1806 * gdb.base/ctf-cvexpr.exp: New file.
1807
18082019-10-04 Tom de Vries <tdevries@suse.de>
1809
1810 * gdb.cp/local-static.c (main): Move declaration of int i out of the
1811 for loop.
1812
18132019-10-03 Tom Tromey <tom@tromey.com>
1814
1815 PR rust/24976:
1816 * gdb.rust/simple.rs (Union2): New type.
1817 (main): Use Union2.
1818 * gdb.rust/simple.exp: Add test.
1819
18202019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1821
1822 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
1823 nested function prefix.
1824
18252019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
1826 Richard Bunt <richard.bunt@arm.com>
1827 Andrew Burgess <andrew.burgess@embecosm.com>
1828
1829 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
1830 nested functions.
1831 * gdb.fortran/nested-funcs.f90: Update expected results.
1832 * gdb.fortran/nested-funcs-2.exp: New file.
1833 * gdb.fortran/nested-funcs-2.f90: New file.
1834
18352019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1836
1837 * gdb.python/py-parameter.exp: Make test names unique.
1838 * gdb.python/py-template.exp: Likewise.
1839 * gdb.python/py-value.exp: Likewise.
1840
18412019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1842
1843 * gdb.base/break-interp.exp: Reduce test name duplication.
1844 * gdb.base/call-sc.exp: Likewise.
1845 * gdb.base/callfuncs.exp: Likewise.
1846 * gdb.base/charset.exp: Likewise.
1847 * gdb.base/dump.exp: Likewise.
1848 * gdb.base/ena-dis-br.exp: Likewise.
1849 * gdb.base/relational.exp: Likewise.
1850 * gdb.base/step-over-syscall.exp: Likewise.
1851 * gdb.base/structs.exp: Likewise.
1852
18532019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1854
1855 * gdb.linespec/explicit.exp: Make test names unique.
1856 * gdb.linespec/ls-errs.exp: Likewise.
1857
18582019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1859
1860 * gdb.reverse/break-precsave.exp: Make test names unique.
1861 * gdb.reverse/break-reverse.exp: Likewise.
1862 * gdb.reverse/finish-precsave.exp: Likewise.
1863 * gdb.reverse/finish-reverse.exp: Likewise.
1864 * gdb.reverse/machinestate-precsave.exp: Likewise.
1865 * gdb.reverse/machinestate.exp: Likewise.
1866 * gdb.reverse/readv-reverse.exp: Likewise.
1867 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1868 * gdb.reverse/sigall-precsave.exp: Likewise.
1869 * gdb.reverse/sigall-reverse.exp: Likewise.
1870 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
1871 * gdb.reverse/watch-precsave.exp: Likewise.
1872 * gdb.reverse/watch-reverse.exp: Likewise.
1873
18742019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1875
1876 * gdb.threads/stop-with-handle.c: New file.
1877 * gdb.threads/stop-with-handle.exp: New file.
1878
18792019-10-03 Tom de Vries <tdevries@suse.de>
1880
1881 PR testsuite/25059
1882 * gdb.base/list-missing-source.exp: Allowing the "Compilation
1883 directory" line to be missing.
1884
18852019-10-03 Tom de Vries <tdevries@suse.de>
1886
1887 PR testsuite/25059
1888 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
1889 type optional.
1890
18912019-10-02 Andreas Arnez <arnez@linux.ibm.com>
1892
1893 * gdb.python/py-format-string.c (string.h): New include.
1894 (main): Fill a_struct_with_union.the_union.an_int with bytes of
1895 the same value, for endianness-independence.
1896 * gdb.python/py-format-string.exp (default_regexp_dict)
1897 (test_pretty_structs, test_format): Adjust expected output to the
1898 changed initialization.
1899
19002019-10-02 Tom Tromey <tromey@adacore.com>
1901
1902 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
1903
19042019-10-02 Pedro Alves <palves@redhat.com>
1905 Andrew Burgess <andrew.burgess@embecosm.com>
1906
1907 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
1908 "print-file-var.h".
1909 (this_version_id) Use ATTRIBUTE_VISIBILITY.
1910 (get_version_1): Print this_version_id and its address.
1911 Add extern "C" wrappers around interface functions.
1912 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
1913 "print-file-var.h".
1914 (this_version_id) Use ATTRIBUTE_VISIBILITY.
1915 (get_version_2): Print this_version_id and its address.
1916 Add extern "C" wrappers around interface functions.
1917 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
1918 <stddef.h> and "print-file-var.h".
1919 Add extern "C" wrappers around interface functions.
1920 [VERSION_ID_MAIN] (this_version_id): Define.
1921 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
1922 * gdb.base/print-file-var.h: Add some #defines to simplify setting
1923 up extern "C" blocks.
1924 * gdb.base/print-file-var.exp (test): New, factored out from top
1925 level.
1926 (top level): Test all combinations of attribute hidden or not,
1927 dlopen or not, and this_version_id symbol in main file or not.
1928 Compile tests as both C++ and C, make test names unique.
1929
19302019-10-01 Tom Tromey <tom@tromey.com>
1931
1932 * gdb.base/style.exp: Test "show logging filename".
1933
19342019-10-01 Tom Tromey <tom@tromey.com>
1935
1936 * lib/gdb-utils.exp (style): Handle "metadata" argument.
1937 * gdb.base/style.exp: Add metadata style test.
1938
19392019-10-01 Tom Tromey <tom@tromey.com>
1940
1941 * gdb.base/style.exp: Test "pwd".
1942
19432019-10-01 Tom Tromey <tom@tromey.com>
1944
1945 * gdb.base/style.exp: Update tests.
1946
19472019-10-01 Andreas Arnez <arnez@linux.ibm.com>
1948
1949 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
1950 'six' to unsigned.
1951 (s1): Initialize fields 'four' and 'six' instead of 'three' and
1952 'five'. Use an all-ones bit pattern for each.
1953 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
1954 to its changed values.
1955
19562019-09-30 Tom Tromey <tromey@adacore.com>
1957
1958 * gdb.rust/traits.rs: Disable all warnings.
1959
19602019-09-29 Tom de Vries <tdevries@suse.de>
1961
1962 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
1963
19642019-09-29 Tom de Vries <tdevries@suse.de>
1965
1966 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
1967
19682019-09-27 Tom de Vries <tdevries@suse.de>
1969
1970 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
1971
19722019-09-27 Tom de Vries <tdevries@suse.de>
1973
1974 PR record/23188
1975 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
1976
19772019-09-26 Tom Tromey <tromey@adacore.com>
1978
1979 * gdb.ada/py_taft.exp: New file.
1980 * gdb.ada/py_taft/main.adb: New file.
1981 * gdb.ada/py_taft/pkg.adb: New file.
1982 * gdb.ada/py_taft/pkg.ads: New file.
1983
19842019-09-24 Tom de Vries <tdevries@suse.de>
1985
1986 PR gdb/24598
1987 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
1988
19892019-09-22 Tom de Vries <tdevries@suse.de>
1990
1991 * gdb.base/restore.exp: Allow register variables to be optimized out at
1992 -O0.
1993
19942019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
1995
1996 * gdb.arch/spu-info.exp: Remove file.
1997 * gdb.arch/spu-info.c: Remove file.
1998 * gdb.arch/spu-ls.exp: Remove file.
1999 * gdb.arch/spu-ls.c: Remove file.
2000
2001 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
2002 * gdb.asm/spu.inc: Remove file.
2003
2004 * gdb.base/dump.exp: Remove support for spu*-*-*.
2005 * gdb.base/stack-checking.exp: Likewise.
2006 * gdb.base/overlays.exp: Likewise.
2007 * gdb.base/ovlymgr.c: Likewise.
2008 * gdb.base/spu.ld: Remove file.
2009
2010 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
2011 * gdb.cp/cpexprs.exp: Likewise.
2012 * gdb.cp/exception.exp: Likewise.
2013 * gdb.cp/gdb2495.exp: Likewise.
2014 * gdb.cp/mb-templates.exp: Likewise.
2015 * gdb.cp/pr9167.exp: Likewise.
2016 * gdb.cp/userdef.exp: Likewise.
2017
2018 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
2019
2020 * gdb.cell: Remove directory.
2021 * lib/cell.exp: Remove file.
2022
20232019-09-19 Tom de Vries <tdevries@suse.de>
2024
2025 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
2026
20272019-09-19 Tom de Vries <tdevries@suse.de>
2028
2029 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
2030
20312019-09-19 Tom de Vries <tdevries@suse.de>
2032
2033 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
2034 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
2035 (gdb_target_cmd): ... here.
2036 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
2037 value 2.
2038
20392019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
2040
2041 * gdb.base/source-dir.exp: Avoid having directory names in test
2042 names.
2043
20442019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
2045
2046 * gdb.base/source-dir.exp: Add extra test for mapped compilation
2047 directory.
2048
20492019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
2050
2051 * gdb.base/list-missing-source.exp: New file.
2052
20532019-09-14 Tom de Vries <tdevries@suse.de>
2054
2055 PR teststuite/24599
2056 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
2057 * lib/ada.exp (gnatmake_version_at_least): New proc.
2058
20592019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
2060
2061 * gdb.base/maint.exp: Use exec_has_index_section.
2062
20632019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
2064
2065 * gdb.base/maint.exp: Add test for 'maint info sections'.
2066
20672019-09-12 Tom de Vries <tdevries@suse.de>
2068
2069 * gdb.base/store.exp: Allow register variables to be optimized out at
2070 -O0.
2071
20722019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2073
2074 * gdb.ada/rdv_wait.exp: Update to new task names.
2075 * gdb.base/task_switch_in_core.exp: Likewise.
2076 * gdb.base/info_sources_base.c: Likewise.
2077
20782019-09-10 Tom Tromey <tromey@adacore.com>
2079
2080 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
2081
20822019-09-10 Tom Tromey <tromey@adacore.com>
2083
2084 * gdb.ada/dgopt.exp: New file.
2085 * gdb.ada/dgopt/x.adb: New file.
2086
20872019-09-08 Tom Tromey <tom@tromey.com>
2088
2089 * gdb.tui/resize.exp: Remove setup_xfail.
2090 * gdb.tui/regs.exp: Remove setup_xfail.
2091 * gdb.tui/basic.exp: Remove setup_xfail.
2092
20932019-09-06 David Blaikie <dblaikie@gmail.com>
2094
2095 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
2096 * gdb.cp/cplabel.exp: Ditto.
2097 * gdb.linespec/ls-errs.exp: Ditto.
2098
20992019-09-05 Tom de Vries <tdevries@suse.de>
2100
2101 * lib/gdb.exp (cmp_file_string): New proc.
2102 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
2103 runto_main. Verify save breakpoints output.
2104
21052019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2106
2107 * gdb.base/info-var.exp: Test info variables without running
2108 to main, to avoid expect's buffer overflow.
2109
21102019-09-03 Tom Tromey <tromey@adacore.com>
2111
2112 * gdb.ada/bias.exp: New file.
2113 * gdb.ada/bias/bias.adb: New file.
2114 * gdb.ada/print_chars.exp: Add regression test.
2115 * gdb.ada/print_chars/foo.adb (My_Character): New type.
2116 (MC): New variable.
2117
21182019-08-29 Sandra Loosemore <sandra@codesourcery.com>
2119
2120 * gdb.base/argv0-symlink.exp: Run only on native target
2121 and local host.
2122
21232019-08-29 Tom de Vries <tdevries@suse.de>
2124
2125 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
2126 diverse debug info.
2127 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
2128
21292019-08-28 Tom de Vries <tdevries@suse.de>
2130
2131 * gdb.base/info-var.exp: Allow info variables to print info for files
2132 other than info-var-f1.c and info-var-f2.c.
2133
21342019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
2135
2136 * gdb.fortran/info-types.exp: Add module.
2137 * gdb.fortran/info-types.f90: Update expected results.
2138
21392019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
2140
2141 * gdb.fortran/info-types.exp: New file.
2142 * gdb.fortran/info-types.f90: New file.
2143 * lib/fortran.exp (fortran_character1): New proc.
2144
21452019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
2146
2147 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
2148 functions'. Reindent as needed.
2149 * gdb.base/info-var-f1.c: New file.
2150 * gdb.base/info-var-f2.c: New file.
2151 * gdb.base/info-var.exp: New file.
2152 * gdb.base/info-var.h: New file.
2153
21542019-08-26 Tom de Vries <tdevries@suse.de>
2155
2156 PR c++/24852
2157 * gdb.cp/no-libstdcxx-probe.exp: New test.
2158
21592019-08-26 Tom de Vries <tdevries@suse.de>
2160
2161 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
2162 * tests need to be skipped.
2163 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
2164 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
2165 mi_skip_libstdcxx_probe_tests.
2166
21672019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
2168
2169 * gdb.python/py-xmethods.exp: Use raw strings when passing
2170 arguments to SimpleXMethodMatcher.
2171
21722019-08-22 Tom de Vries <tdevries@suse.de>
2173
2174 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
2175 more informative.
2176
21772019-08-21 Pedro Alves <palves@redhat.com>
2178
2179 * gdb.base/with.exp: Test "with" with no arguments.
2180
21812019-08-21 Tom de Vries <tdevries@suse.de>
2182
2183 * gdb.base/gdb-caching-proc.exp: Sort files.
2184
21852019-08-20 Tom de Vries <tdevries@suse.de>
2186
2187 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
2188 compilation.
2189
21902019-08-16 Tom de Vries <tdevries@suse.de>
2191
2192 * gdb.base/compare-sections.exp ("after run to main"): Allow
2193 mismatched read-only sections for PIE executables.
2194
21952019-08-16 Tom Tromey <tom@tromey.com>
2196
2197 * lib/tuiterm.exp (_csi_Z): New proc.
2198 * gdb.tui/basic.exp: Update window positions.
2199 * gdb.tui/empty.exp: Update window positions.
2200
22012019-08-15 Sandra Loosemore <sandra@codesourcery.com>
2202
2203 * gdb.base/examine-backward.exp: Correct regexp for
2204 "examine 3 bytes backward from ${address_zero}".
2205
22062019-08-15 Tom Tromey <tom@tromey.com>
2207
2208 * gdb.tui/empty.exp: Enable resizing tests.
2209
22102019-08-15 Tom Tromey <tromey@adacore.com>
2211
2212 * gdb.ada/char_enum.exp: Add regression tests.
2213 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
2214 and '0'.
2215 (Char, Gchar): Update.
2216 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
2217
22182019-08-15 Christian Biesinger <cbiesinger@google.com>
2219
2220 * gdb.python/python.exp: Expect a leading underscore on
2221 GdbOutput{,Error}File.
2222
22232019-08-15 Sandra Loosemore <sandra@codesourcery.com>
2224
2225 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
2226 Windows host.
2227
22282019-08-15 Sandra Loosemore <sandra@codesourcery.com>
2229
2230 * gdb.base/batch-preserve-term-settings.exp
2231 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
2232
22332019-08-15 Christian Biesinger <cbiesinger@google.com>
2234
2235 * lib/gdb.exp: When running on a mingw target, replace
2236 /x/ with x:/.
2237
22382019-08-14 Alan Hayward <alan.hayward@arm.com>
2239
2240 * gdb.arch/aarch64-prologue.c: New test.
2241 * gdb.arch/aarch64-prologue.exp: New file.
2242
22432019-08-13 Tom de Vries <tdevries@suse.de>
2244
2245 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
2246 Thread.
2247
22482019-08-13 Sandra Loosemore <sandra@codesourcery.com>
2249
2250 * gdb.python/py-completion.exp: Download the .py file to the host
2251 and use its host pathname. Conditionalize tests that use
2252 tab completion and manipulate files on the build machine.
2253 * gdb.python/py-events.exp: Download the .py file to the host
2254 and use its host pathname.
2255 * gdb.python/py-evsignal.exp: Likewise.
2256 * gdb.python/py-evthreads.exp: Likewise.
2257 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
2258 pathname syntax.
2259 * gdb.python/py-framefilter.exp: Download the .py file to the right
2260 place on the host. Match Windows pathname syntax.
2261 * gdb.python/py-mi-var-info-path-expression.exp: Download the
2262 .py file to the host and use its host pathname.
2263 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
2264 * gdb.python/py-objfile.exp: Expect a host pathname, not a
2265 build pathname. Skip symlink test on Windows host. Add missing
2266 newline at end of file.
2267 * gdb.python/py-pp-maint.exp: Download the .py file to the host
2268 and use its host pathname.
2269 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
2270 * gdb.python/py-section-script.exp: Use host location of binfile
2271 on safe-path. Use correct path separator on Windows host.
2272 Reorder alternatives in gdb_test_multiple to prevent matching
2273 the wrong alternative on success.
2274 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
2275
22762019-08-12 Patrick Palka <patrick@parcs.ath.cx>
2277
2278 * gdb.gdb/selftest.exp (test_with_self): Update test to now
2279 expect the GDB inferior to no longer immediately stop after
2280 being resumed with "signal SIGINT".
2281
22822019-08-09 Sandra Loosemore <sandra@codesourcery.com>
2283
2284 * gdb.linespec/break-ask.exp: Generalize regexps to match
2285 Windows pathnames too.
2286
22872019-08-08 Tom de Vries <tdevries@suse.de>
2288
2289 PR testsuite/24862
2290 * lib/tuiterm.exp (_accept): Fix CSI regexp.
2291
22922019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2293
2294 * gdb.base/style.exp: Update tests for help doc new invariants.
2295 * gdb.base/help.exp: Likewise.
2296
22972019-08-06 Tom Tromey <tom@tromey.com>
2298
2299 * gdb.base/style.exp: Add disassemble test.
2300 * gdb.base/style.c (some_called_function): New function.
2301 (main): Use it.
2302
23032019-08-05 Christian Biesinger <cbiesinger@google.com>
2304
2305 * gdb.python/py-block.exp: Test dictionary access on blocks.
2306
23072019-08-05 Simon Marchi <simon.marchi@efficios.com>
2308
2309 PR gdb/24863
2310 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
2311 -list-thread-groups --available test when running under
2312 check-read1.
2313
23142019-08-05 Tom de Vries <tdevries@suse.de>
2315
2316 PR testsuite/24863
2317 * lib/gdb.exp (with_read1_timeout_factor): New proc.
2318 * gdb.base/help.exp: Use with_read1_timeout_factor.
2319 * gdb.base/info-macros.exp: Same.
2320 * gdb.cp/nested-types.exp: Same.
2321
23222019-08-05 Tom de Vries <tdevries@suse.de>
2323
2324 * lib/gdb.exp (version_at_least): Factor out of ...
2325 (tcl_version_at_least): ... here.
2326 (gdb_compile): Fail if pie results in non-PIE executable.
2327 (readelf_version, readelf_prints_pie): New proc.
2328 (exec_is_pie): Return -1 if unknown.
2329
23302019-08-05 Tom de Vries <tdevries@suse.de>
2331
2332 * lib/gdb.exp (tcl_version_at_least): Fix typo.
2333
23342019-08-04 Sandra Loosemore <sandra@codesourcery.com>
2335
2336 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
2337
23382019-08-04 Sandra Loosemore <sandra@codesourcery.com>
2339
2340 * lib/completion-support.exp (test_gdb_complete_none): Skip
2341 tab completion tests if no readline support.
2342 (test_gdb_complete_unique_re): Likewise.
2343 (test_gdb_complete_multiple): Likewise.
2344
23452019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2346
2347 * gdb.base/info_sources.exp: New file.
2348 * gdb.base/info_sources.c: New file.
2349 * gdb.base/info_sources_base.c: New file.
2350
23512019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2352
2353 * gdb.base/batch-exit-status.exp: Call test_exit_status with
2354 prefix argument.
2355 (test_exit_status): Add prefix argument.
2356
23572019-08-01 Tom de Vries <tdevries@suse.de>
2358
2359 PR testsuite/24863
2360 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
2361 calling exp_continue for new thread and thread exited messages.
2362
23632019-08-01 Tom de Vries <tdevries@suse.de>
2364
2365 PR testsuite/24863
2366 * gdb.base/structs.exp: Fix check-read1 timeout using
2367 gdb_test_sequence.
2368 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
2369
23702019-08-01 Tom de Vries <tdevries@suse.de>
2371
2372 PR testsuite/24863
2373 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
2374 line.
2375
23762019-08-01 Tom de Vries <tdevries@suse.de>
2377
2378 PR testsuite/24863
2379 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
2380
23812019-07-30 Tom Tromey <tromey@adacore.com>
2382
2383 * gdb.ada/display_nested.exp: New file.
2384 * gdb.ada/display_nested/foo.adb: New file.
2385 * gdb.ada/display_nested/pack.adb: New file.
2386 * gdb.ada/display_nested/pack.ads: New file.
2387
23882019-07-30 Christian Biesinger <cbiesinger@google.com>
2389
2390 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
2391 namespace.
2392 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
2393
23942019-07-30 Tom de Vries <tdevries@suse.de>
2395
2396 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
2397 instead.
2398
23992019-07-30 Tom de Vries <tdevries@suse.de>
2400
2401 PR testsuite/24834
2402 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
2403 (exec_is_pie): New proc.
2404
24052019-07-29 Christian Biesinger <cbiesinger@google.com>
2406
2407 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
2408
24092019-07-29 Christian Biesinger <cbiesinger@google.com>
2410
2411 * gdb.python/py-objfile.c: Add global and static vars.
2412 * gdb.python/py-objfile.exp: Test new functions Objfile.
2413 lookup_global_symbol and lookup_static_symbol.
2414
24152019-07-29 Tom Tromey <tom@tromey.com>
2416
2417 * lib/tuiterm.exp (Term::_csi_@): New proc.
2418 (Term::_csi_X): Don't move cursor.
2419
24202019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2421
2422 * gdb.base/options.exp: Update backtrace - completion to
2423 new option -frame-info.
2424 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
2425 Test new 'set print frame-info'. Test backtrace -frame-info
2426 overriding 'set print frame-info'.
2427 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
2428 Test new 'set print frame-info'.
2429 Verify consistency of backtrace with and without filters, with and
2430 without -no-filters.
2431 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
2432 default.
2433
24342019-07-29 Tom de Vries <tdevries@suse.de>
2435
2436 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
2437 no arguments".
2438
24392019-07-29 Tom de Vries <tdevries@suse.de>
2440
2441 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
2442 is a substring of the first for "complete non-unique file name".
2443
24442019-07-29 Tom de Vries <tdevries@suse.de>
2445
2446 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
2447 with ".*".
2448
24492019-07-29 Tom de Vries <tdevries@suse.de>
2450
2451 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
2452 Pass prompt_regexp parameter to gdb_test_multiple calls.
2453
24542019-07-29 Tom de Vries <tdevries@suse.de>
2455
2456 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
2457 print registers" regexps.
2458
24592019-07-29 Tom de Vries <tdevries@suse.de>
2460
2461 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
2462
24632019-07-29 Tom de Vries <tdevries@suse.de>
2464
2465 PR gdb/24855
2466 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
2467 (skip_python_tests_prompt): Add prompt_regexp argument to
2468 gdb_test_multiple calls.
2469
24702019-07-27 Tom Tromey <tom@tromey.com>
2471
2472 * gdb.tui/main.exp: New file.
2473
24742019-07-27 Tom Tromey <tom@tromey.com>
2475
2476 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
2477 optional.
2478 * gdb.tui/empty.exp: New file.
2479
24802019-07-27 Tom Tromey <tom@tromey.com>
2481
2482 * lib/tuiterm.exp (spawn): New proc.
2483 (Term::resize): New proc.
2484 * gdb.tui/resize.exp: New file.
2485
24862019-07-27 Tom Tromey <tom@tromey.com>
2487
2488 * gdb.tui/list.exp: New file.
2489
24902019-07-27 Tom Tromey <tom@tromey.com>
2491
2492 * gdb.tui/regs.exp: New file.
2493
24942019-07-27 Tom Tromey <tom@tromey.com>
2495
2496 * gdb.tui/basic.exp: Add "layout split" test.
2497
24982019-07-27 Tom Tromey <tom@tromey.com>
2499
2500 * gdb.tui/basic.exp: Add "layout asm" test.
2501
25022019-07-27 Tom Tromey <tom@tromey.com>
2503
2504 * lib/tuiterm.exp: New file.
2505 * gdb.tui/basic.exp: New file.
2506
25072019-07-27 Kevin Buettner <kevinb@redhat.com>
2508
2509 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
2510 Enable tests associated with this flag. Adjust regex
2511 referencing "foo_low" to now refer to "foo_cold" instead.
2512
25132019-07-27 Kevin Buettner <kevinb@redhat.com>
2514
2515 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
2516 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
2517 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
2518 foo_cold. Revise comments to match.
2519 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
2520 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
2521 were wrapped into this proc; Call do_test in loop from outermost
2522 level.
2523 (foo_low): Rename all occurrences to "foo_cold".
2524 (backtrace from baz): New test.
2525 (x2/i foo_cold): New test.
2526 (info line *foo_cold): New test.
2527
25282019-07-26 Tom de Vries <tdevries@suse.de>
2529
2530 * gdb.arch/i386-pkru.exp: Fix unterminated string.
2531
25322019-07-25 Tom de Vries <tdevries@suse.de>
2533
2534 PR testsuite/24830
2535 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
2536 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
2537 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
2538 (skip_libstdcxx_probe_tests): ... here.
2539 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
2540
25412019-07-24 Tom de Vries <tdevries@suse.de>
2542
2543 PR testsuite/24807
2544 * gdb.objc/basicclass.m: Include stdio.h.
2545 * gdb.objc/nondebug.m: Same.
2546 * gdb.objc/objcdecode.m: Same.
2547
25482019-07-24 Tom de Vries <tdevries@suse.de>
2549
2550 PR testsuite/24612
2551 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
2552 additional_flags.
2553
25542019-07-24 Tom de Vries <tdevries@suse.de>
2555
2556 PR testsuite/24831
2557 * gdb.multi/tids.exp: Update error messages for info threads.
2558
25592019-07-24 Tom de Vries <tdevries@suse.de>
2560
2561 * gdb.base/info-types.exp: Allow info types to print info for more than
2562 one file.
2563
25642019-07-23 Tom de Vries <tdevries@suse.de>
2565
2566 PR testsuite/24842
2567 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
2568 gdb_spawn_with_cmdline_opts.
2569
25702019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
2571
2572 * gdb.arch/arm-cmse-sgstubs.c: New test.
2573 * gdb.arch/arm-cmse-sgstubs.exp: New file.
2574
25752019-07-23 Tom de Vries <tdevries@suse.de>
2576
2577 PR testsuite/24711
2578 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
2579 issuing next command.
2580
25812019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
2582
2583 * gdb.ada/info_auto_lang.exp: Update expected results.
2584 * gdb.base/info-types.c: Add additional types to check.
2585 * gdb.base/info-types.exp: Update expected results.
2586
25872019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
2588
2589 * gdb.base/info-types.c: New file.
2590 * gdb.base/info-types.exp: New file.
2591
25922019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
2593
2594 * gdb.arch/riscv-bp-infcall.c: New file.
2595 * gdb.arch/riscv-bp-infcall.exp: New file.
2596
25972019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
2598
2599 PR breakpoints/24541
2600 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
2601
26022019-07-14 Tom de Vries <tdevries@suse.de>
2603
2604 PR testsuite/24760
2605 * gdb.objc/basicclass.exp: Fix unterminated string.
2606
26072019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
2608 Andrew Burgess <andrew.burgess@embecosm.com>
2609
2610 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
2611 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
2612 negative bounds.
2613 * gdb.fortran/vla-value.exp: Print elements of an array with
2614 negative bounds.
2615 * gdb.fortran/vla.f90: Setup an array with negative bounds for
2616 testing.
2617
26182019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
2619
2620 * gdb.base/options.exp (expect_string): Dequote strings in
2621 results.
2622 (test-string): Test strings with different quoting and reindent.
2623
26242019-07-10 Tom Tromey <tromey@adacore.com>
2625
2626 * gdb.ada/mi_ex_cond.exp: Update expected results.
2627 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
2628 * gdb.ada/mi_catch_ex.exp: Update expected results.
2629 * gdb.ada/mi_catch_assert.exp: Update expected results.
2630 * gdb.ada/catch_ex.exp (catch_exception_info)
2631 (catch_exception_entry, catch_assert_entry)
2632 (catch_unhandled_entry): Update.
2633 * gdb.ada/catch_assert_if.exp: Update expected results.
2634
26352019-07-10 Richard Bunt <richard.bunt@arm.com>
2636 Stephen Roberts <stephen.roberts@arm.com>
2637
2638 * gdb.base/define.exp: Restore original prompt.
2639
26402019-07-09 Pedro Alves <palves@redhat.com>
2641
2642 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
2643 breakpoints" output.
2644 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
2645 * gdb.python/py-breakpoint.exp: No longer expect that "catch
2646 throw" creates breakpoint.
2647 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
2648 'type="catchpoint"'.
2649
26502019-07-09 Pedro Alves <palves@redhat.com>
2651
2652 PR c++/15468
2653 * gdb.cp/except-multi-location-lib.cc: New.
2654 * gdb.cp/except-multi-location-main.cc: New.
2655 * gdb.cp/except-multi-location.exp: New.
2656
26572019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
2658
2659 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
2660 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
2661 argument and update callers.
2662
26632019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2664
2665 * gdb.arch/amd64-break-on-asm-line.S: New file.
2666 * gdb.arch/amd64-break-on-asm-line.exp: New file.
2667
26682019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2669
2670 * gdb.base/printcmds.exp: Test printing C string and
2671 C wide string convenience vars without transiting via the inferior.
2672 Also make test names unique.
2673
26742019-07-08 Alan Hayward <alan.hayward@arm.com>
2675
2676 PR breakpoints/25011
2677 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
2678
26792019-07-04 Pedro Alves <palves@redhat.com>
2680
2681 * lib/gdb.exp (foreach_with_prefix): Don't return early if
2682 body returned ok(0), break(3) or continue(4).
2683 * gdb.testsuite/foreach_with_prefix.exp: New file.
2684
26852019-07-04 Alan Hayward <alan.hayward@arm.com>
2686
2687 * gdb.server/unittest.exp: Allow 0 unit tests to run.
2688
26892019-07-03 Pedro Alves <palves@redhat.com>
2690
2691 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
2692 "return -code".
2693
26942019-07-03 Pedro Alves <palves@redhat.com>
2695
2696 PR cli/24732
2697 * gdb.base/shell.exp: Load completion-support.exp.
2698 Adjust expected error output. Add completion tests.
2699
27002019-07-03 Pedro Alves <palves@redhat.com>
2701
2702 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
2703 string_to_regexp.
2704
27052019-07-03 Pedro Alves <palves@redhat.com>
2706
2707 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
2708 (expect_integer): Adjust to expect "-string".
2709 (expect_string): New.
2710 (all_options): Expect "-string".
2711 (test-flag, test-boolean): Adjust to expect "-string".
2712 (test-string): New proc.
2713 (top level): Call it.
2714
27152019-07-03 Pedro Alves <palves@redhat.com>
2716
2717 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
2718 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
2719 the expected output in the success.
2720
27212019-07-03 Pedro Alves <palves@redhat.com>
2722
2723 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
2724 Split one gdb_test_multiple call in two to avoid a race.
2725
27262019-07-03 Pedro Alves <palves@redhat.com>
2727
2728 * gdb.base/with.c: New file.
2729 * gdb.base/with.exp: New file.
2730
27312019-07-03 Pedro Alves <palves@redhat.com>
2732
2733 * gdb.base/settings.exp: Replace all references to "maint
2734 test-settings set" with references to "maint set test-settings",
2735 and all references to "maint test-settings show" with references
2736 to "maint show test-settings".
2737
27382019-07-03 Pedro Alves <palves@redhat.com>
2739
2740 * gdb.base/settings.exp (test-string): Adjust expected out when
2741 testing "maint test-settings show filename"
2742
27432019-07-02 Pedro Alves <palves@redhat.com>
2744
2745 * gdb.base/options.exp (test-info-threads): New procedure.
2746 (top level): Call it.
2747
27482019-06-28 Tom Tromey <tromey@adacore.com>
2749
2750 * gdb.dwarf2/ada-linkage-name.c: New file.
2751 * gdb.dwarf2/ada-linkage-name.exp: New file.
2752
27532019-06-27 Tom Tromey <tromey@adacore.com>
2754
2755 PR c++/20020:
2756 * gdb.cp/constexpr-field.exp: Use setup_xfail.
2757
27582019-06-26 Tom de Vries <tdevries@suse.de>
2759
2760 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
2761
27622019-06-26 Tom de Vries <tdevries@suse.de>
2763
2764 * gdb.base/index-cache.exp: Add back missing debug option.
2765
27662019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2767
2768 * gdb.base/alias.exp: Test non matching/non existing prefixes.
2769
27702019-06-25 Tom de Vries <tdevries@suse.de>
2771
2772 PR testsuite/24727
2773 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
2774
27752019-06-24 Tom de Vries <tdevries@suse.de>
2776
2777 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
2778
27792019-06-24 Tom de Vries <tdevries@suse.de>
2780
2781 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
2782 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
2783 * gdb.trace/unavailable-dwarf-piece.exp: Same.
2784
27852019-06-24 Tom de Vries <tdevries@suse.de>
2786
2787 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
2788
27892019-06-21 Tom de Vries <tdevries@suse.de>
2790
2791 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
2792
27932019-06-21 Tom de Vries <tdevries@suse.de>
2794
2795 PR testsuite/24518
2796 PR ada/24713
2797 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
2798 index.
2799
28002019-06-19 Tom Tromey <tromey@adacore.com>
2801
2802 * gdb.ada/length_cond.exp: Add intro comment.
2803
28042019-06-19 Tom Tromey <tromey@adacore.com>
2805
2806 * gdb.ada/length_cond.exp: New file.
2807 * gdb.ada/length_cond/length_cond.adb: New file.
2808 * gdb.ada/length_cond/pck.adb: New file.
2809 * gdb.ada/length_cond/pck.ads: New file.
2810
28112019-06-18 Tom de Vries <tdevries@suse.de>
2812
2813 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
2814
28152019-06-18 Tom Tromey <tromey@adacore.com>
2816
2817 * gdb.base/list0.h: Add comment explaining control character.
2818
28192019-06-18 Tom de Vries <tdevries@suse.de>
2820
2821 * boards/fission.exp: Break up long debug_flags line.
2822
28232019-06-16 Tom de Vries <tdevries@suse.de>
2824
2825 PR gdb/24445
2826 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
2827 generated index.
2828
28292019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
2830
2831 PR gdb/24686
2832 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
2833 improve detection of bug gdb/24541.
2834
28352019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
2836
2837 PR gdb/24669
2838 * gdb.base/index-cache.exp (uses_readnow,
2839 expecting_index_cache_use): Define global variable.
2840 (test_cache_enabled_miss, test_cache_enabled_hit): Use
2841 expecting_index_cache_use.
2842
28432019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
2844 Andrew Burgess <andrew.burgess@embecosm.com>
2845
2846 * gdb.fortran/pointers.f90: New file.
2847 * gdb.fortran/print_type.exp: New file.
2848 * gdb.fortran/vla-ptype.exp: Adapt expected results.
2849 * gdb.fortran/vla-type.exp: Likewise.
2850 * gdb.fortran/vla-value.exp: Likewise.
2851 * gdb.mi/mi-vla-fortran.exp: Likewise.
2852
28532019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2854
2855 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
2856 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
2857 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
2858 as a stop reason.
2859
28602019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2861
2862 * gdb.base/annota1.exp: Update expected results.
2863 * gdb.cp/annota2.exp: Likewise.
2864 * gdb.cp/annota3.exp: Likewise.
2865
28662019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2867
2868 * gdb.base/style-logging.exp: Remove path from test name.
2869
28702019-06-14 Tom Tromey <tromey@adacore.com>
2871
2872 PR gdb/24502:
2873 * gdb.base/style-logging.exp: New file.
2874
28752019-06-14 Tom Tromey <tromey@adacore.com>
2876
2877 * gdb.base/symfile-warn.exp: New file.
2878 * gdb.base/symfile-warn.c: New file.
2879
28802019-06-14 Tom Tromey <tromey@adacore.com>
2881
2882 * gdb.base/annotate-symlink.exp: New file.
2883
28842019-06-14 Tom Tromey <tromey@adacore.com>
2885
2886 * gdb.ada/set_wstr.exp: Add reassignment test.
2887
28882019-06-14 Tom Tromey <tromey@adacore.com>
2889
2890 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
2891 'unchecked_access and 'unrestricted_access as well.
2892
28932019-06-14 Tom Tromey <tromey@adacore.com>
2894
2895 PR ada/24539:
2896 * gdb.ada/vla.exp: Update tests.
2897 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
2898 pragma.
2899
29002019-06-13 Pedro Alves <palves@redhat.com>
2901
2902 * gdb.base/settings.exp (test-integer): Test junk after
2903 "unlimited".
2904
29052019-06-13 Pedro Alves <palves@redhat.com>
2906
2907 * gdb.base/options.exp (test-thread-apply): New.
2908 (top level): Call it.
2909
29102019-06-13 Pedro Alves <palves@redhat.com>
2911
2912 * gdb.base/options.exp (test-frame-apply): New.
2913 (top level): Test print commands with different "frame apply"
2914 prefixes.
2915
29162019-06-13 Pedro Alves <palves@redhat.com>
2917
2918 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
2919 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
2920 'max_completions' parameter and handle it.
2921 (test_gdb_completion_offers_commands): New.
2922
29232019-06-13 Pedro Alves <palves@redhat.com>
2924
2925 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
2926
29272019-06-13 Pedro Alves <palves@redhat.com>
2928
2929 * gdb.base/options.exp (test-backtrace): New.
2930 (top level): Call it.
2931
29322019-06-13 Pedro Alves <palves@redhat.com>
2933
2934 * gdb.guile/scm-frame-args.exp: Use "set print
2935 raw-frame-arguments" instead of "set print raw frame-arguments".
2936 * gdb.python/py-frame-args.exp: Likewise.
2937
29382019-06-13 Pedro Alves <palves@redhat.com>
2939
2940 * gdb.compile/compile.exp: Adjust expected output to option
2941 processing changes.
2942
29432019-06-13 Pedro Alves <palves@redhat.com>
2944
2945 * gdb.base/options.exp: Build executable.
2946 (test-print): New procedure.
2947 (top level): Call it, once for "print" and another for "compile
2948 print".
2949
29502019-06-13 Pedro Alves <palves@redhat.com>
2951
2952 * gdb.base/options.c: New file.
2953 * gdb.base/options.exp: New file.
2954
29552019-06-13 Pedro Alves <palves@redhat.com>
2956
2957 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
2958 that "o" is ambiguous.
2959
29602019-06-13 Pedro Alves <palves@redhat.com>
2961
2962 * gdb.base/settings.c: New file.
2963 * gdb.base/settings.exp: New file.
2964
29652019-06-13 Pedro Alves <palves@redhat.com>
2966
2967 * gdb.base/completion.exp: Fix comment typo.
2968
29692019-06-13 Pedro Alves <palves@redhat.com>
2970
2971 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
2972 foo --1" test.
2973
29742019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
2975
2976 * gdb.fortran/block-data.f: New.
2977 * gdb.fortran/block-data.exp: New.
2978
29792019-06-11 Tom de Vries <tdevries@suse.de>
2980
2981 PR testsuite/24521
2982 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
2983 message.
2984
29852019-06-11 Tom de Vries <tdevries@suse.de>
2986
2987 PR testsuite/24521
2988 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
2989
29902019-06-11 Tom de Vries <tdevries@suse.de>
2991
2992 * boards/readnow.exp: New file.
2993
29942019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
2995
2996 * gdb.fortran/vla-sizeof.exp: Update expected results.
2997
29982019-06-06 Amos Bird <amosbird@gmail.com>
2999
3000 * gdb.base/annota1.exp (thread_switch): Add test for
3001 thread-exited annotation.
3002
30032019-06-06 Tom Tromey <tromey@adacore.com>
3004
3005 * gdb.base/maint.exp: Expect command started/finished output.
3006
30072019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
3008
3009 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
3010 comment.
3011 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
3012
30132019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
3014
3015 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
3016 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
3017 * gdb.arch/riscv-unwind-long-insn.c: New file.
3018 * gdb.arch/riscv-unwind-long-insn.exp: New file.
3019
30202019-06-04 Christian Biesinger <cbiesinger@google.com>
3021
3022 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
3023
30242019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3025
3026 * lib/gdb.exp (help_list_trailer): New regexp variable
3027 factorizing the help trailer message.
3028 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
3029 arg to allow to better factorize various tests.
3030 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
3031 (test_prefix_command_help): Use help_list_trailer.
3032 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
3033 * gdb.guile/scm-cmd.exp: Likewise.
3034 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
3035 * gdb.base/help.exp: Use test_user_defined_class_help.
3036 * gdb.base/style.exp: Add tests for styling of help and apropos.
3037 * lib/gdb-utils.exp (style): Add title and highlight styles.
3038
30392019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3040
3041 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
3042 $_shell_exitsignal.
3043 * gdb.base/default.exp: Update for new convenience variables.
3044
30452019-05-29 Tom Tromey <tromey@adacore.com>
3046
3047 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
3048 to "break complete ada" test case's regexp.
3049
30502019-05-29 Tom Tromey <tromey@adacore.com>
3051
3052 PR c++/20020:
3053 * gdb.cp/constexpr-field.exp: New file.
3054 * gdb.cp/constexpr-field.cc: New file.
3055
30562019-05-29 Tom Tromey <tromey@adacore.com>
3057
3058 * gdb.base/finish.exp (finish_no_print): New proc.
3059 (finish_tests): Call it.
3060
30612019-05-24 Tom de Vries <tdevries@suse.de>
3062
3063 * gdb.dwarf2/gdb-add-index.exp: New file.
3064
30652019-05-22 Tom Tromey <tromey@adacore.com>
3066
3067 * gdb.base/info-shared.exp (check_info_shared): Use "style".
3068 * gdb.base/style.exp: Use "style".
3069 * lib/gdb-utils.exp (style): New proc.
3070
30712019-05-22 Tom de Vries <tdevries@suse.de>
3072
3073 * gdb.base/align.exp: Require c++11.
3074
30752019-05-22 Tom de Vries <tdevries@suse.de>
3076
3077 PR testsuite/24586
3078 * gdb.python/py-mi-var-info-path-expression.exp: Call
3079 mi_skip_python_tests to check if python is supported.
3080
30812019-05-22 Alan Hayward <alan.hayward@arm.com>
3082
3083 * gdb.arch/aarch64-pauth.c: New test.
3084 * gdb.arch/aarch64-pauth.exp: New file.
3085
30862019-05-22 Alan Hayward <alan.hayward@arm.com>
3087
3088 * README (Re-running Tests Outside The Testsuite): New section.
3089
30902019-05-21 Tom de Vries <tdevries@suse.de>
3091
3092 * gdb.arch/amd64-eval.exp: Require c++11.
3093 * gdb.base/max-depth.exp: Same.
3094 * gdb.compile/compile-cplus-array-decay.exp: Same.
3095 * gdb.cp/meth-typedefs.exp: Same.
3096 * gdb.cp/subtypes.exp: Same.
3097 * gdb.cp/temargs.exp: Same.
3098
30992019-05-21 Alan Hayward <alan.hayward@arm.com>
3100
3101 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
3102
31032019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
3104
3105 PR gdb/18644
3106 * gdb.fortran/complex.exp: Remove setup_kfail calls.
3107 * gdb.fortran/printing-types.exp: Add new test.
3108 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
3109 testing.
3110 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
3111 setup_kfail call.
3112
31132019-05-17 Alan Hayward <alan.hayward@arm.com>
3114
3115 * README (Running the Testsuite): Change example.
3116 (Testsuite Parameters): Remove TRANSCRIPT.
3117 * lib/gdb.exp: Remove TRANSCRIPT check.
3118
31192019-05-17 Alan Hayward <alan.hayward@arm.com>
3120
3121 * README (Testsuite Parameters): Add replay logging to
3122 GDBSERVER_DEBUG.
3123 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
3124 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
3125 as a comma separated list.
3126 (gdb_debug_init): Override procedure.
3127
31282019-05-17 Alan Hayward <alan.hayward@arm.com>
3129
3130 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
3131 (gdb_write_cmd_file): New procedure.
3132 * lib/gdbserver-support.exp (gdbserver_start): Call
3133 gdbserver_write_cmd_file.
3134 (gdbserver_write_cmd_file): New procedure.
3135
31362019-05-17 Alan Hayward <alan.hayward@arm.com>
3137
3138 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
3139 (delete_breakpoints): Likewise.
3140 (gdb_run_cmd): Likewise.
3141 (gdb_start_cmd): Likewise.
3142 (gdb_starti_cmd): Likewise.
3143 (gdb_internal_error_resync): Likewise.
3144 (gdb_test_multiple): Likewise.
3145 (gdb_reinitialize_dir): Likewise.
3146 (default_gdb_exit): Likewise.
3147 (gdb_file_cmd): Mark kill as optional.
3148 (default_gdb_start): Call gdb_stdin_log_init.
3149 (send_gdb): Call gdb_stdin_log_write.
3150 (rerun_to_main): Mark Y as an answer.
3151 (gdb_stdin_log_init): New function.
3152 (gdb_stdin_log_write): Likewise.
3153
31542019-05-17 Alan Hayward <alan.hayward@arm.com>
3155
3156 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
3157 * gdb.base/debug-expr.exp: Likewise.
3158 * gdb.base/foll-fork.exp: Likewise.
3159 * gdb.base/foll-vfork.exp: Likewise.
3160 * gdb.base/fork-print-inferior-events.exp: Likewise.
3161 * gdb.base/gdb-sigterm.exp: Likewise.
3162 * gdb.base/gdbinit-history.exp: Likewise.
3163 * gdb.base/osabi.exp: Likewise.
3164 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
3165 * gdb.base/ui-redirect.exp: Likewise.
3166 * gdb.gdb/unittest.exp: Likewise.
3167 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
3168 * gdb.mi/mi-watch.exp: Likewise.
3169 * gdb.mi/new-ui-mi-sync.exp: Likewise.
3170 * gdb.mi/user-selected-context-sync.exp: Likewise.
3171 * gdb.python/python.exp: Disable debug test when debugging.
3172 * gdb.threads/check-libthread-db.exp: Disable when debugging.
3173 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3174 Likewise.
3175 * gdb.threads/stepi-random-signal.exp: Likewise.
3176
31772019-05-17 Alan Hayward <alan.hayward@arm.com>
3178
3179 * Makefile.in: Pass through GDB_DEBUG.
3180 * README (Testsuite Parameters): Add GDB_DEBUG.
3181 (gdb,debug): Add board setting.
3182 * lib/gdb.exp (default_gdb_start): Start debugging.
3183 (gdb_debug_enabled): New procedure.
3184 (gdb_debug_init): Likewise.
3185
31862019-05-17 Alan Hayward <alan.hayward@arm.com>
3187
3188 * Makefile.in: Pass through GDB_DEBUG.
3189 * README (Testsuite Parameters): Add GDB_DEBUG.
3190 (gdb,debug): Add board setting.
3191 * lib/gdb.exp (default_gdb_start): Start debugging.
3192 (gdb_debug_enabled): New procedure.
3193 (gdb_debug_init): Likewise.
3194
31952019-05-17 Alan Hayward <alan.hayward@arm.com>
3196
3197 * gdb.base/ui-redirect.exp: Add debug redirect tests.
3198
31992019-05-17 Alan Hayward <alan.hayward@arm.com>
3200
3201 * gdb.base/ui-redirect.exp: Test redirection.
3202
32032019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
3204
3205 * gdb.mi/mi-complete.exp: New file.
3206 * gdb.mi/mi-complete.cc: Likewise.
3207
32082019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
3209
3210 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
3211 indexed and sliced arrays, and pointers to arrays.
3212
32132019-05-14 Tom Tromey <tromey@adacore.com>
3214
3215 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
3216 styling test.
3217
32182019-05-14 Tom de Vries <tdevries@suse.de>
3219
3220 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
3221 selection entry encoding.
3222
32232019-05-10 Tom Tromey <tromey@adacore.com>
3224
3225 * gdb.ada/info_exc.exp: Add "complete" test.
3226
32272019-05-09 Tom de Vries <tdevries@suse.de>
3228
3229 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
3230 CU-relative.
3231
32322019-05-09 Tom de Vries <tdevries@suse.de>
3233
3234 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
3235 CU-relative.
3236
32372019-05-08 Joel Brobecker <brobecker@adacore.com>
3238
3239 * gdb.ada/frame_arg_lang.exp: New testcase.
3240 * gdb.ada/frame_arg_lang/bla.adb: New file.
3241 * gdb.ada/frame_arg_lang/pck.ads: New file.
3242 * gdb.ada/frame_arg_lang/pck.adb: New file.
3243 * gdb.ada/frame_arg_lang/foo.c: New file.
3244
32452019-05-08 Tom Tromey <tromey@adacore.com>
3246
3247 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
3248
32492019-05-08 Tom Tromey <tromey@adacore.com>
3250
3251 * gdb.base/ptype-offsets.exp: Update tests.
3252
32532019-05-08 Tom Tromey <tromey@adacore.com>
3254
3255 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
3256 cases.
3257 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
3258 "short".
3259
32602019-05-08 Tom Tromey <tromey@adacore.com>
3261
3262 * gdb.ada/vla.exp: New file.
3263 * gdb.ada/vla/vla.adb: New file.
3264
32652019-05-07 Tom de Vries <tdevries@suse.de>
3266
3267 * gdb.base/index-cache.exp (ls_host): Fix return statement.
3268
32692019-05-07 Tom de Vries <tdevries@suse.de>
3270
3271 PR testsuite/24522
3272 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
3273 section.
3274
32752019-05-07 Tom de Vries <tdevries@suse.de>
3276
3277 PR testsuite/24522
3278 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
3279 .debug_aranges section.
3280
32812019-05-07 Tom de Vries <tdevries@suse.de>
3282
3283 PR testsuite/24159
3284 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
3285
32862019-05-06 Tom de Vries <tdevries@suse.de>
3287
3288 * lib/gdb.exp (exec_has_index_section): New proc.
3289 * gdb.base/index-cache.exp: Handle case that binfile contains an index
3290 section.
3291
32922019-05-04 Tom de Vries <tdevries@suse.de>
3293
3294 * boards/cc-with-debug-names.exp: New file.
3295
32962019-05-03 Tom Tromey <tromey@adacore.com>
3297
3298 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
3299 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
3300 * gdb.ada/char_enum.exp: Add test.
3301
33022019-05-03 Tom de Vries <tdevries@suse.de>
3303
3304 * boards/cc-with-gdb-index.exp: New file.
3305
33062019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
3307
3308 * gdb.rust/simple.exp: Add new test case.
3309 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
3310 (main): Initialise an instance of the new struct.
3311
33122019-05-01 Tom Tromey <tromey@adacore.com>
3313
3314 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
3315 record.
3316 (NPR): New variable.
3317 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
3318 test.
3319
33202019-05-01 Tom Tromey <tromey@adacore.com>
3321
3322 * gdb.ada/packed_array_assign.exp: Add packed assignment
3323 regression test.
3324
33252019-05-01 Tom de Vries <tdevries@suse.de>
3326
3327 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
3328
33292019-05-01 Tom de Vries <tdevries@suse.de>
3330
3331 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
3332
33332019-04-30 Ali Tamur <tamur@google.com>
3334
3335 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
3336
33372019-04-30 Tom Tromey <tromey@adacore.com>
3338
3339 * lib/ada.exp (find_ada_tool): New proc.
3340 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
3341 * gdb.ada/catch_ex_std.exp: New file.
3342 * gdb.ada/catch_ex_std/foo.adb: New file.
3343 * gdb.ada/catch_ex_std/some_package.adb: New file.
3344 * gdb.ada/catch_ex_std/some_package.ads: New file.
3345
33462019-04-30 Tom Tromey <tromey@adacore.com>
3347
3348 PR c++/24470:
3349 * gdb.cp/temargs.cc: Add test code from PR.
3350
33512019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3352
3353 * gdb.fortran/vla-datatypes.exp: Update expected results.
3354 * gdb.fortran/vla-ptype.exp: Likewise.
3355 * gdb.fortran/vla-type.exp: Likewise.
3356 * gdb.fortran/vla-value.exp: Likewise.
3357
33582019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3359
3360 * gdb.fortran/ptr-indentation.exp: Update expected results.
3361 * gdb.fortran/ptype-on-functions.exp: Likewise.
3362 * gdb.fortran/vla-ptr-info.exp: Likewise.
3363 * gdb.fortran/vla-value.exp: Likewise.
3364
33652019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3366
3367 * gdb.fortran/ptype-on-functions.exp: New file.
3368 * gdb.fortran/ptype-on-functions.f90: New file.
3369
33702019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3371
3372 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
3373 case void string.
3374
33752019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3376
3377 * gdb.fortran/complex.exp: Expand.
3378 * gdb.fortran/complex.f: Renamed to...
3379 * gdb.fortran/complex.f90: ...this, and extended to add more
3380 complex values.
3381
33822019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3383
3384 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
3385 MODULO, CMPLX.
3386
33872019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
3388 Richard Bunt <richard.bunt@arm.com>
3389
3390 * gdb.base/max-depth.c: New file.
3391 * gdb.base/max-depth.exp: New file.
3392 * gdb.python/py-nested-maps.c: New file.
3393 * gdb.python/py-nested-maps.exp: New file.
3394 * gdb.python/py-nested-maps.py: New file.
3395 * gdb.python/py-format-string.exp (test_max_depth): New proc.
3396 (test_all_common): Call test_max_depth.
3397 * gdb.fortran/max-depth.exp: New file.
3398 * gdb.fortran/max-depth.f90: New file.
3399 * gdb.go/max-depth.exp: New file.
3400 * gdb.go/max-depth.go: New file.
3401 * gdb.modula2/max-depth.exp: New file.
3402 * gdb.modula2/max-depth.c: New file.
3403 * lib/gdb.exp (get_print_expr_at_depths): New proc.
3404
34052019-04-29 Tom de Vries <tdevries@suse.de>
3406
3407 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
3408
34092019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3410
3411 * gdb.base/callexit.exp: Test may-call-functions off.
3412
34132019-04-25 Keith Seitz <keiths@redhat.com>
3414
3415 PR c++/24367
3416 * gdb.cp/meth-typedefs.cc (incomplete_struct)
3417 (another_incomplete_struct, test_incomplete): New definitions.
3418 (main): Use new definitions.
3419 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
3420 functions.
3421
34222019-04-25 Ali Tamur <tamur@google.com>
3423
3424 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
3425
34262019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
3427
3428 PR corefiles/11608
3429 PR corefiles/18187
3430 * gdb.base/coredump-filter-build-id.exp: New file.
3431
34322019-04-25 Alan Hayward <alan.hayward@arm.com>
3433
3434 * Makefile.in: Pass through GDBSERVER_DEBUG.
3435 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
3436 (gdbserver,debug): Add board setting.
3437 * gdb.trace/tspeed.exp: Skip when debugging.
3438 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
3439 * lib/gdbserver-support.exp: Likewise
3440
34412019-04-24 Tom Tromey <tromey@adacore.com>
3442
3443 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
3444 Rust.
3445
34462019-04-24 Tom Tromey <tromey@adacore.com>
3447
3448 * gdb.arch/amd64-eval.exp: Test bitfield return.
3449 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
3450 (class Foo) <return_bitfields>: New method.
3451 (main): Call it.
3452
34532019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
3454
3455 * gdb.cp/many-args.cc: New file.
3456 * gdb.cp/many-args.exp: New file.
3457
34582019-04-23 Tom de Vries <tdevries@suse.de>
3459
3460 PR gdb/24433
3461 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
3462
34632019-04-23 Alan Hayward <alan.hayward@arm.com>
3464
3465 * gdb.trace/backtrace.exp: Use nopie flag.
3466 * gdb.trace/circ.exp: Likewise.
3467 * gdb.trace/collection.exp: Likewise.
3468 * gdb.trace/ftrace.exp: Likewise.
3469 * gdb.trace/mi-trace-unavailable.exp: Likewise.
3470 * gdb.trace/mi-traceframe-changed.exp: Likewise.
3471 * gdb.trace/qtro.exp: Likewise.
3472 * gdb.trace/read-memory.exp: Likewise.
3473 * gdb.trace/report.exp: Likewise.
3474 * gdb.trace/tfile.exp: Likewise.
3475 * gdb.trace/tfind.exp: Likewise.
3476 * gdb.trace/unavailable.exp: Likewise.
3477
34782019-04-22 Pedro Alves <palves@redhat.com>
3479
3480 * gdb.base/solib-probes-nosharedlibrary.c,
3481 gdb.base/solib-probes-nosharedlibrary.exp: New files.
3482
34832019-04-19 Tom Tromey <tromey@adacore.com>
3484
3485 * gdb.ada/ptype_union.c: New file.
3486 * gdb.ada/ptype_union.exp: New file.
3487
34882019-04-19 Tom Tromey <tromey@adacore.com>
3489
3490 PR symtab/24423:
3491 * gdb.base/list0.h (foo): Add a control-l character.
3492
34932019-04-18 Tom de Vries <tdevries@suse.de>
3494
3495 PR gdb/24433
3496 * boards/local-board.exp: Set sysroot to "".
3497
34982019-04-18 Tom de Vries <tdevries@suse.de>
3499 Pedro Alves <palves@redhat.com>
3500
3501 PR gdb/24454
3502 * gdb.threads/vfork-follow-child-exec.c: New file.
3503 * gdb.threads/vfork-follow-child-exec.exp: New file.
3504 * gdb.threads/vfork-follow-child-exit.c: New file.
3505 * gdb.threads/vfork-follow-child-exit.exp: New file.
3506
35072019-04-15 Leszek Swirski <leszeks@google.com>
3508
3509 * gdb.arch/amd64-eval.cc: New file.
3510 * gdb.arch/amd64-eval.exp: New file.
3511
35122019-04-11 Alan Hayward <alan.hayward@arm.com>
3513
3514 * gdb.server/sysroot.c: New test.
3515 * gdb.server/sysroot.exp: New file.
3516 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
3517 matching param.
3518
35192019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
3520
3521 * gdb.base/align.exp: Extend test to cover structures containing
3522 only static fields.
3523
35242019-04-11 Tom de Vries <tdevries@suse.de>
3525
3526 * boards/cc-with-dwz-m.exp: New file.
3527 * boards/cc-with-dwz.exp: New file.
3528 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
3529
35302019-04-09 Simon Marchi <simon.marchi@efficios.com>
3531
3532 * gdb.base/start-cpp.exp: New file.
3533 * gdb.base/start-cpp.cc: New file.
3534
35352019-04-08 Kevin Buettner <kevinb@redhat.com>
3536
3537 * gdb.python/py-thrhandle.exp: Adjust tests to call
3538 thread_from_handle instead of thread_from_thread_handle.
3539
35402019-04-08 Kevin Buettner <kevinb@redhat.com>
3541
3542 * gdb.python/py-thrhandle.exp: Add tests for
3543 gdb.InferiorThread.handle.
3544
35452019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
3546
3547 * gdb.python/py-function.exp: Check calling helper function from
3548 all languages.
3549 * lib/gdb.exp (gdb_supported_languages): New proc.
3550
35512019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
3552
3553 * gdb.base/complex-parts.c: New file.
3554 * gdb.base/complex-parts.exp: New file.
3555
35562019-04-01 Tom Tromey <tromey@adacore.com>
3557
3558 PR symtab/23331:
3559 * gdb.dwarf2/dw2-ranges-main.c: New file.
3560 * gdb.dwarf2/dw2-ranges-psym.c: New file.
3561 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
3562
35632019-03-30 Simon Marchi <simark@simark.ca>
3564
3565 * gdb.base/default.exp: Add values for $_gdb_major and
3566 $_gdb_minor.
3567
35682019-03-29 Tom Tromey <tromey@adacore.com>
3569
3570 * gdb.base/help.exp: Tighten apropos regexp.
3571
35722019-03-29 Keith Seitz <keiths@redhat.com>
3573
3574 * gdb.fortran/array-bounds.exp: New file.
3575 * gdb.fortran/array-bounds.f90: New file.
3576
35772019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3578
3579 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
3580
35812019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3582
3583 * gdb.multi/hello.c (main): Increase alarm timer.
3584
35852019-03-28 Sandra Loosemore <sandra@codesourcery.com>
3586
3587 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
3588 factor when no hardware watchpoint support.
3589
35902019-03-28 Alan Hayward <alan.hayward@arm.com>
3591 Pedro Alves <palves@redhat.com>
3592
3593 * boards/local-board.exp: set sysroot to /.
3594
35952019-03-27 Alan Hayward <alan.hayward@arm.com>
3596
3597 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
3598 in child.
3599
36002019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
3601
3602 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
3603 field.
3604 (make_container): Initialise new field.
3605 * gdb.python/py-prettyprint.exp: Add new tests.
3606 * gdb.python/py-prettyprint.py (class ContainerPrinter)
3607 <display_hint>: New method.
3608
36092019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
3610
3611 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
3612 gdb_continue_to_breakpoint more throughout this test.
3613 (run_lang_tests) Supply unique test names, and use
3614 gdb_test_no_output.
3615
36162019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
3617
3618 * gdb.base/finish-pretty.exp: Update expected results.
3619 * gdb.base/pretty-print.c: New file.
3620 * gdb.base/pretty-print.exp: New file.
3621
36222019-03-25 Pedro Alves <palves@redhat.com>
3623
3624 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
3625 move comments outside list. Append '-i "" eof' section.
3626
36272019-03-22 Alan Hayward <alan.hayward@arm.com>
3628
3629 PR testsuite/25016
3630 * README: Add pie options.
3631 * gdb.base/break-interp.exp: Ensure pie is disabled.
3632 * gdb.base/dump.exp: Likewise.
3633 * lib/gdb.exp (gdb_compile): Add pie option.
3634
36352019-03-19 Tom Tromey <tromey@adacore.com>
3636
3637 * gdb.mi/mi2-cli-display.c: New file.
3638 * gdb.mi/mi2-cli-display.exp: New file.
3639
36402019-03-18 Joel Brobecker <brobecker@adacore.com>
3641 Tom Tromey <tromey@adacore.com>
3642
3643 * gdb.ada/ptype_array/pck.adb: New file.
3644 * gdb.ada/ptype_array/pck.ads: New file.
3645 * gdb.ada/ptype_array/foo.adb: New file.
3646 * gdb.ada/ptype_array.exp: New file.
3647
36482019-03-14 Tom Tromey <tromey@adacore.com>
3649
3650 * gdb.base/style.exp: Add "set style sources" test.
3651
36522019-03-13 Simon Marchi <simon.marchi@ericsson.com>
3653
3654 * mi-breakpoint-location-ena-dis.exp: Rename to ...
3655 * mi-breakpoint-multiple-locations.exp: ... this.
3656 (make_breakpoints_pattern): New proc.
3657 (do_test): Add mi_version parameter, test -break-insert,
3658 -break-info and =breakpoint-created.
3659
36602019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
3661
3662 * config/default.exp: Remove 'load_lib gdb.exp'.
3663 * config/monitor.exp: Likewise.
3664 * config/sid.exp: Likewise.
3665 * config/sim.exp: Likewise.
3666 * config/slite.exp: Likewise.
3667 * config/unix.exp: Likewise.
3668 * gdb.base/default.exp: Remove unhelpful comment.
3669
36702019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3671
3672 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
3673
36742019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3675
3676 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
3677
36782019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3679
3680 * gdb.fortran/type-kinds.exp: Update expected results.
3681
36822019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3683
3684 * gdb.fortran/type-kinds.exp: Test new integer type kind.
3685
36862019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3687
3688 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
3689 function.
3690 (test_basic_parsing_of_type_kinds): Expand types tested.
3691 (test_parsing_invalid_type_kinds): New function.
3692
36932019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3694
3695 * gdb.fortran/intrinsics.exp: New file.
3696 * gdb.fortran/intrinsics.f90: New file.
3697 * gdb.fortran/type-kinds.exp: New file.
3698
36992019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3700
3701 * gdb.fortran/dot-ops.exp: New file.
3702
37032019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3704
3705 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
3706 Check upper and lower case logical literals.
3707
37082019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3709
3710 * gdb.fortran/types.exp (test_float_literal_types_accepted):
3711 Remove duplicate tests.
3712
37132019-03-06 Alan Hayward <alan.hayward@arm.com>
3714
3715 * lib/gdb.exp (builtin_cd): rename of cd.
3716 (cd): Override builtin.
3717
37182019-03-06 Richard Bunt <richard.bunt@arm.com>
3719
3720 * gdb.fortran/function-calls.exp: New file.
3721 * gdb.fortran/function-calls.f90: New test.
3722
37232019-03-04 Richard Bunt <richard.bunt@arm.com>
3724
3725 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
3726 on user program standard output.
3727 * gdb.fortran/short-circuit-argument-list.f90: Record function
3728 calls.
3729
37302019-02-28 Alan Hayward <alan.hayward@arm.com>
3731
3732 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
3733 failure.
3734
37352019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3736
3737 PR gdb/8527
3738 * gdb.base/interrupt-daemon-attach.c,
3739 gdb.base/interrupt-daemon-attach.exp: New test.
3740
37412019-02-27 Pedro Alves <palves@redhat.com>
3742
3743 * gdb.base/page.exp: Add tests for "set width/height -1".
3744
37452019-02-27 Pedro Alves <palves@redhat.com>
3746
3747 * gdb.base/page.exp: Add tests for "set/show width/height" with
3748 "infinite" values.
3749
37502019-02-27 Tom Tromey <tromey@adacore.com>
3751
3752 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
3753 2.4.
3754 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
3755 workaround.
3756
37572019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
3758
3759 * gdb.base/align.exp: Extend to compile in both C and C++, and add
3760 tests for structs with static members.
3761
37622019-02-26 Tom Tromey <tromey@adacore.com>
3763
3764 * gdb.python/py-value.exp (test_value_from_buffer): Check for
3765 ValueError, not TypeError.
3766
37672019-02-26 Kevin Buettner <kevinb@redhat.com>
3768
3769 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
3770 call from main program.
3771
37722019-02-23 Joel Brobecker <brobecker@adacore.com>
3773
3774 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
3775 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
3776 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
3777 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
3778 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
3779
37802019-02-22 Keith Seitz <keiths@redhat.com>
3781
3782 PR symtab/23853
3783 * gdb.base/symlink-sourcefile.c: New file.
3784 * gdb.base/symlink-sourcefile.exp: New file.
3785
37862019-02-20 Tom Tromey <tom@tromey.com>
3787
3788 * gdb.base/info_qt.exp: Update.
3789
37902019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
3791
3792 * gdb.base/source.exp: Move "error in sourced script" code to
3793 the end.
3794 * gdb.base/source-error.gdb: Move contents to
3795 source-error-1.gdb. Add new code to source source-error-1.gdb.
3796 * gdb.base/source-error-1.gdb: New file, from previous
3797 source-error.gdb.
3798
37992019-02-17 Tom Tromey <tom@tromey.com>
3800
3801 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
3802 for macro styling.
3803 * gdb.base/style.c (SOME_MACRO): New macro.
3804
38052019-02-17 Tom Tromey <tom@tromey.com>
3806
3807 * gdb.base/style.exp: Add line-wrapping tests.
3808 * gdb.base/page.exp: Add test for quitting during pagination.
3809
38102019-02-17 Joel Brobecker <brobecker@adacore.com>
3811
3812 * gdb.ada/big_packed_array: New testcase.
3813 * gdb.ada/homonym.exp: Fix incorrect expected output for
3814 "break <homonym__get_value>" test.
3815
38162019-02-13 Weimin Pan <weimin.pan@oracle.com>
3817
3818 PR breakpoints/21870
3819 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
3820 and prepare_for_testing. Add comment.
3821 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
3822 redundant cleanup call. Clean up comment.
3823
38242019-02-12 Weimin Pan <weimin.pan@oracle.com>
3825
3826 PR breakpoints/21870
3827 * gdb.arch/aarch64-dbreg-contents.exp: New file.
3828 * gdb.arch/aarch64-dbreg-contents.c: New file.
3829
38302019-02-10 Joel Brobecker <brobecker@adacore.com>
3831
3832 * gdb.ada/mi_ref_changeable: New testcase.
3833
38342019-02-07 Alan Hayward <alan.hayward@arm.com>
3835
3836 * gdb.base/attach.exp: Add double attach test.
3837
38382019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
3839
3840 * lib/gdb.exp (default_gdb_start): Don't match pagination
3841 prompt.
3842 (gdb_init): Set stty_init.
3843
38442019-01-27 Tom Tromey <tom@tromey.com>
3845
3846 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
3847 skip_python_tests.
3848
38492019-01-24 Alan Hayward <alan.hayward@arm.com>
3850
3851 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
3852 New structure.
3853 (struct struct_static_02_02): Likewise.
3854 (struct struct_static_02_03): Likewise.
3855 (struct struct_static_02_04): Likewise.
3856 (struct struct_static_04_01): Likewise.
3857 (struct struct_static_04_02): Likewise.
3858 (struct struct_static_04_03): Likewise.
3859 (struct struct_static_04_04): Likewise.
3860 (struct struct_static_06_01): Likewise.
3861 (struct struct_static_06_02): Likewise.
3862 (struct struct_static_06_03): Likewise.
3863 (struct struct_static_06_04): Likewise.
3864 (cmp_struct_static_02_01): Likewise.
3865 (cmp_struct_static_02_02): Likewise.
3866 (cmp_struct_static_02_03): Likewise.
3867 (cmp_struct_static_02_04): Likewise.
3868 (cmp_struct_static_04_01): Likewise.
3869 (cmp_struct_static_04_02): Likewise.
3870 (cmp_struct_static_04_03): Likewise.
3871 (cmp_struct_static_04_04): Likewise.
3872 (cmp_struct_static_06_01): Likewise.
3873 (cmp_struct_static_06_02): Likewise.
3874 (cmp_struct_static_06_03): Likewise.
3875 (cmp_struct_static_06_04): Likewise.
3876 (call_all): Test new structs.
3877 * gdb.base/infcall-nested-structs.exp: Likewise.
3878
38792019-01-21 Alan Hayward <alan.hayward@arm.com>
3880 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
3881
38822019-01-21 Alan Hayward <alan.hayward@arm.com>
3883 * gdb.base/stack-protector.c: New test.
3884 * gdb.base/stack-protector.exp: New file.
3885 * gdb.cp/ovldbreak.exp: Only allow a single break line.
3886 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
3887 option.
3888 (gdb_compile): Remove stack protector for GCC and prevent
3889 recursion.
3890
38912019-01-16 Keith Seitz <keiths@redhat.com>
3892
3893 PR gdb/23773
3894 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
3895
38962019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3897
3898 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
3899 aliases.
3900 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
3901 tests.
3902 * gdb.arch/powerpc-vector-regs.c: New file.
3903 * gdb.arch/powerpc-vector-regs.exp: New file.
3904
39052019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3906
3907 * gdb.arch/altivec-regs.exp: Fix the list passed to
3908 gdb_expect_list when testing "info vector".
3909
39102019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
3911
3912 * gdb.base/style.exp: Don't include path in testname.
3913
39142019-01-10 Keith Seitz <keiths@redhat.com>
3915
3916 PR gdb/23712
3917 PR symtab/23010
3918 * gdb.dwarf2/multidictionary.exp: New file.
3919
39202019-01-09 Simon Marchi <simon.marchi@ericsson.com>
3921
3922 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
3923 (test_gnuv3_style_demangling): ... this.
3924 (test_lucid_style_demangling): Remove.
3925 (test_arm_style_demangling): Remove.
3926 (test_hp_style_demangling): Remove.
3927 (do_tests): Remove calls to the above.
3928
39292019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3930
3931 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
3932 case.
3933
39342019-01-06 Tom Tromey <tom@tromey.com>
3935
3936 PR gdb/28155:
3937 * gdb.dwarf2/typedef-void-finish.exp: New file.
3938
39392018-12-28 Tom Tromey <tom@tromey.com>
3940 Simon Marchi <simark@simark.ca>
3941
3942 * gdb.base/jit-exec.exp: New file.
3943 * gdb.base/jit-exec.c: New file.
3944 * gdb.base/jit-execd.c: New file.
3945
39462018-12-28 Tom Tromey <tom@tromey.com>
3947
3948 * gdb.base/style.exp: Update test to check for address styling.
3949
39502018-12-28 Tom Tromey <tom@tromey.com>
3951
3952 * gdb.base/style.exp: Add test for styling of "Reading symbols"
3953 message.
3954
39552018-12-28 Tom Tromey <tom@tromey.com>
3956
3957 * gdb.base/style.exp: Add test for version number styling.
3958
39592018-12-28 Tom Tromey <tom@tromey.com>
3960
3961 * gdb.base/style.exp: Add test for print_address_symbolic.
3962
39632018-12-28 Tom Tromey <tom@tromey.com>
3964
3965 * gdb.base/style.exp: Add test for breakpoint setting.
3966
39672018-12-28 Tom Tromey <tom@tromey.com>
3968
3969 * gdb.base/style.exp: Add test for variable names.
3970
39712018-12-28 Tom Tromey <tom@tromey.com>
3972
3973 * gdb.base/style.exp: New file.
3974 * gdb.base/style.c: New file.
3975
39762018-12-28 Tom Tromey <tom@tromey.com>
3977
3978 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
3979 "dumb".
3980 * gdb.base/readline.exp (operate_and_get_next): Save and restore
3981 the TERM environment variable.
3982
39832018-12-27 Tom Tromey <tom@tromey.com>
3984
3985 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
3986 pagination test.
3987
39882018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
3989
3990 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
3991 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
3992
39932018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3994
3995 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
3996 Filename a.adb changed to bp_fun_addr.adb.
3997 gdb.ada/bp_fun_addr.exp: Update test accordingly.
3998
39992018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
4000
4001 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
4002 non-PIE executables.
4003 * README: Mention the gdb,nopie_flag board setting.
4004 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
4005 non-PIE executable.
4006 * gdb.arch/amd64-entry-value.exp: Likewise.
4007 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
4008 * gdb.arch/i386-float.exp: Likewise.
4009 * gdb.arch/i386-signal.exp: Likewise.
4010 * gdb.mi/mi-reg-undefined.exp: Likewise.
4011
40122018-12-21 Paul Marechal <paul.marechal@ericsson.com>
4013
4014 PR gdb/23974
4015 * gdb.base/info-os.exp: Check return for unknown "info os" type.
4016
40172018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4018
4019 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
4020 Update order of results accordingly.
4021
40222018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
4023
4024 * gdb.base/annota1.exp: Update a test regexp.
4025
40262018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4027
4028 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
4029
40302018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4031
4032 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
4033 (reuse_time): Initialize to REUSE_TIME_CAP.
4034 (check_rc): New function.
4035 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
4036 Check pthread_create rc.
4037 (spawner_thread_func): Check pthread_create and pthread_join rc.
4038
40392018-12-08 Pedro Alves <palves@redhat.com>
4040
4041 * gdb.base/list.exp (test_forward_search): Rename to ...
4042 (test_forward_reverse_search): ... this. Also test reverse-search
4043 and the forward-search alias.
4044
40452018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
4046
4047 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
4048 local timeout variable before return, and remove all local timeout
4049 variable entirely.
4050 (gdb_load): Likewise.
4051
40522018-12-01 Tom de Vries <tdevries@suse.de>
4053
4054 * gdb.base/gdb-caching-proc.exp: New file.
4055
40562018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
4057
4058 * Makefile.in (TIMESTAMP): New variable.
4059 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
4060 command.
4061 (check-single-racy): Likewise.
4062 (check/%.exp): Likewise.
4063 (check-racy/%.exp): Likewise.
4064 (workers/%.worker): Likewise.
4065 (build-perf): Likewise.
4066 (check-perf): Likewise.
4067 * README: Describe new "TS" and "TS_FORMAT" variables.
4068 * print-ts.py: New file.
4069
40702018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
4071
4072 PR python/23714
4073 * gdb.python/python.exp: Test command repetition after
4074 gdb.execute.
4075
40762018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
4077
4078 * gdb.opt/inline-break.exp: Add test that info breakpoint output
4079 is correctly aligned.
4080
40812018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4082
4083 * gdb.ada/info_auto_lang.exp: New testcase.
4084 * gdb.ada/info_auto_lang/global_pack.ads: New file.
4085 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
4086 * gdb.ada/info_auto_lang/some_c.c: New file.
4087
40882018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4089
4090 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
4091 FUNC_lang language syntax.
4092
40932018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4094
4095 * gdb.base/info_minsym.c: New file.
4096 * gdb.base/info_minsym.exp: New file.
4097
40982018-11-19 Tom Tromey <tom@tromey.com>
4099
4100 PR rust/23625:
4101 * gdb.rust/simple.exp: Add ptype test. Update expected output.
4102 * gdb.rust/expr.exp: Update expected output. Change one test.
4103
41042018-11-19 Tom Tromey <tom@tromey.com>
4105
4106 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
4107
41082018-11-19 Pedro Alves <palves@redhat.com>
4109
4110 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
4111 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
4112 see the expected warning.
4113
41142018-11-16 Alan Hayward <alan.hayward@arm.com>
4115
4116 PR gdb/22736:
4117 * gdb.cp/infcall-nodebug-lib.c: New test.
4118 * gdb.cp/infcall-nodebug-main.c: New test.
4119 * gdb.cp/infcall-nodebug.exp: New file.
4120
41212018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
4122
4123 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
4124 completer tests.
4125
41262018-11-09 Tom de Vries <tdevries@suse.de>
4127
4128 * gdb.base/msym-lang.c: New test.
4129 * gdb.base/msym-lang.exp: New file.
4130 * gdb.base/msym-lang-main.c: New test.
4131
41322018-11-08 Tom Tromey <tom@tromey.com>
4133
4134 PR gdb/23555:
4135 PR gdb/23838:
4136 * gdb.base/warning.exp: New file.
4137
41382018-11-08 Jan Beulich <jbeulich@suse.com>
4139
4140 * testsuite/gdb.arch/i386-avx512.c,
4141 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
4142
41432018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
4144
4145 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
4146 point hardware.
4147
41482018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
4149
4150 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
4151 * gdb.dwarf2/missing-type-name.exp: New file.
4152
41532018-11-06 Tom de Vries <tdevries@suse.de>
4154
4155 * gdb.base/many-headers.c: New test.
4156 * gdb.base/many-headers.exp: New file.
4157
41582018-11-06 Jim Wilson <jimw@sifive.com>
4159
4160 * gdb.base/code_elim.exp: For riscv, set additional_flags
4161 to include -msmall-data-limit=0.
4162
41632018-11-01 Joel Brobecker <brobecker@adacore.com>
4164
4165 * gdb.ada/watch_minus_l: New testcase.
4166
41672018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
4168
4169 * gdb.arch/aix-sighandle.c: New file.
4170 * gdb.arch/aix-sighandle.exp: New file.
4171
41722018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
4173
4174 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
4175 registers being unions.
4176
41772018-10-31 Tom de Vries <tdevries@suse.de>
4178
4179 * lib/valgrind.exp: New file.
4180 (vgdb_start, vgdb_stop): New procs, factored out of ...
4181 * gdb.base/valgrind-bt.exp: ... here, ...
4182 * gdb.base/valgrind-disp-step.exp: ... here and ...
4183 * gdb.base/valgrind-infcall.exp: ... here.
4184
41852018-10-31 Tom de Vries <tdevries@suse.de>
4186
4187 * lib/gdb.exp (get_valueof): Don't output read value in test name.
4188
41892018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
4190
4191 * gdb.dwarf2/void-type.c: New file.
4192 * gdb.dwarf2/void-type.exp: New file.
4193
41942018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4195
4196 * gdb.base/info_qt.c: New file.
4197 * gdb.base/info_qt.exp: New file.
4198
41992018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4200
4201 * gdb.arch/powerpc-htm-regs.c: New file.
4202 * gdb.arch/powerpc-htm-regs.exp: New file.
4203
42042018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4205
4206 * gdb.arch/powerpc-tar.c: New file.
4207 * gdb.arch/powerpc-tar.exp: New file.
4208
42092018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4210
4211 * gdb.arch/powerpc-ppr-dscr.c: New file.
4212 * gdb.arch/powerpc-ppr-dscr.exp: New file.
4213
42142018-10-25 Tom de Vries <tdevries@suse.de>
4215
4216 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
4217
42182018-10-24 Tom de Vries <tdevries@suse.de>
4219
4220 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
4221 longer exists error.
4222
42232018-10-24 Tom de Vries <tdevries@suse.de>
4224
4225 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
4226
42272018-10-24 Tom de Vries <tdevries@suse.de>
4228
4229 * gdb.base/valgrind-db-attach.exp: Handle removed support for
4230 --db-attach in valgrind.
4231
42322018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
4233
4234 * gdb.arch/riscv-reg-aliases.c: New file.
4235 * gdb.arch/riscv-reg-aliases.exp: New file.
4236
42372018-10-19 Alan Hayward <alan.hayward@arm.com>
4238
4239 * gdb.python/py-cmd.exp: Check for gdb_prompt.
4240
42412018-10-19 Alan Hayward <alan.hayward@arm.com>
4242
4243 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
4244
42452018-10-19 Alan Hayward <alan.hayward@arm.com>
4246
4247 * gdb.cp/ovldbreak.exp: Fix regexps.
4248
42492018-10-19 Alan Hayward <alan.hayward@arm.com>
4250
4251 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
4252
42532018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
4254
4255 PR cli/23785
4256 * gdb.base/restore.exp: New test to check if "restore" with an
4257 invalid file doesn't segfault.
4258
42592018-10-18 Tom de Vries <tdevries@suse.de>
4260
4261 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
4262 * gdb.ada/excep_handle.exp: Same.
4263 * gdb.ada/mi_string_access.exp: Same.
4264 * gdb.ada/mi_var_union.exp: Same.
4265 * gdb.arch/arc-analyze-prologue.exp: Same.
4266 * gdb.arch/arc-decode-insn.exp: Same.
4267 * gdb.base/readnever.exp: Same.
4268 * gdb.fortran/printing-types.exp: Same.
4269 * gdb.guile/scm-lazy-string.exp: Same.
4270
42712018-10-16 Tom de Vries <tdevries@suse.de>
4272
4273 PR gdb/23730
4274 * gdb.base/catch-follow-exec.c: Add copyright notice.
4275 * gdb.base/catch-follow-exec.exp: Rewrite to use
4276 gdb_spawn_with_cmdline_opts. Require gdb-native.
4277
42782018-10-12 Sandra Loosemore <sandra@codesourcery.com>
4279
4280 * gdb.trace/actions-changed.exp: Check for arch support.
4281 * gdb.trace/actions.exp: Likewise.
4282 * gdb.trace/ax.exp: Likewise.
4283 * gdb.trace/backtrace.exp: Likewise.
4284 * gdb.trace/change-loc.exp: Likewise.
4285 * gdb.trace/deltrace.exp: Likewise.
4286 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
4287 * gdb.trace/ftrace.exp: Likewise.
4288 * gdb.trace/infotrace.exp: Check for arch support.
4289 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
4290 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
4291 * gdb.trace/mi-tsv-changed.exp: Likewise.
4292 * gdb.trace/packetlen.exp: Likewise.
4293 * gdb.trace/passc-dyn.exp: Likewise.
4294 * gdb.trace/passcount.exp: Likewise.
4295 * gdb.trace/pending.exp: Likewise.
4296 * gdb.trace/range-stepping.exp: Check for shlib support.
4297 * gdb.trace/report.exp: Check for arch support.
4298 * gdb.trace/save-trace.exp: Likewise.
4299 * gdb.trace/signal.exp: Check for signal support.
4300 * gdb.trace/tfind.exp: Check for arch support.
4301 * gdb.trace/trace-break.exp: Check for arch and shlib support.
4302 * gdb.trace/trace-common.h: Add comment.
4303 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
4304 * gdb.trace/trace-enable-disable.exp: Likewise.
4305 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
4306 * gdb.trace/tracecmd.exp: Check for arch support.
4307 * gdb.trace/tspeed.exp: Check for shlib and target support.
4308 * gdb.trace/tstatus.exp: Check for arch support.
4309 * gdb.trace/tsv.exp: Likewise.
4310 * gdb.trace/while-dyn.exp: Likewise.
4311 * gdb.trace/while-stepping.exp: Likewise.
4312 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
4313
43142018-10-12 Simon Marchi <simon.marchi@ericsson.com>
4315
4316 * gdb.trace/tspeed.exp: Remove nowarnings.
4317 (prepare_for_trace_test): Declare "global ipalib".
4318 * gdb.trace/tspeed.c: Include unistd.h.
4319 (main): Remove superfluous printf argument.
4320
43212018-10-11 Sandra Loosemore <sandra@codesourcery.com>
4322
4323 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
4324 directory prefix on the filename.
4325
43262018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
4327
4328 * gdb.gdb/unittest.exp: Update expected message informing that
4329 selftests have been disabled.
4330 * gdb.server/unittest.exp: Likewise.
4331
43322018-10-09 Tom de Vries <tdevries@suse.de>
4333
4334 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
4335 with runto_main.
4336
43372018-10-08 Weimin Pan <weimin.pan@oracle.com>
4338
4339 PR c++/16841
4340 * gdb.cp/virtbase2.cc: New file.
4341 * gdb.cp/virtbase2.exp: New file.
4342
43432018-10-06 Tom Tromey <tom@tromey.com>
4344
4345 PR python/19399:
4346 * gdb.python/py-inferior.exp: Add architecture test.
4347
43482018-10-06 Tom Tromey <tom@tromey.com>
4349
4350 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
4351 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
4352
43532018-10-06 Tom Tromey <tom@tromey.com>
4354
4355 * gdb.python/py-breakpoint.exp (check_last_event): Check location
4356 of a "throw" catchpoint.
4357
43582018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
4359
4360 * gdb.base/info-proc.exp: Update string expected from "help info
4361 proc".
4362
43632018-10-04 Tom Tromey <tom@tromey.com>
4364
4365 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
4366 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
4367 (test_initial_complaints, test_empty_complaints): Update.
4368 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
4369
43702018-10-04 Tom Tromey <tom@tromey.com>
4371
4372 PR cli/19551:
4373 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
4374 * lib/gdb.exp (gdb_file_cmd): Update.
4375 * gdb.stabs/weird.exp (print_weird_var): Update.
4376 * gdb.server/solib-list.exp: Update.
4377 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
4378 * gdb.mi/mi-cli.exp: Update.
4379 * gdb.linespec/linespec.exp: Update.
4380 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
4381 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
4382 * gdb.cp/cp-relocate.exp: Update.
4383 * gdb.base/sym-file.exp: Update.
4384 * gdb.base/relocate.exp: Update.
4385 * gdb.base/readnever.exp: Update.
4386 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
4387 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
4388 * gdb.base/dbx.exp (gdb_file_cmd): Update.
4389 * gdb.base/code_elim.exp: Update.
4390 * gdb.base/break-unload-file.exp (test_break): Update.
4391 * gdb.base/break-interp.exp (test_attach_gdb): Update.
4392 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
4393 Update.
4394 * gdb.base/attach.exp (do_attach_tests): Update.
4395 * gdb.base/sepdebug.exp: Update.
4396 * gdb.python/py-section-script.exp: Update.
4397
43982018-10-04 Tom Tromey <tom@tromey.com>
4399
4400 PR cli/22234:
4401 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
4402 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
4403 output.
4404
44052018-10-04 Tom Tromey <tom@tromey.com>
4406
4407 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
4408 set width and height to 0.
4409 (test_command_line_attach_run): Use -quiet.
4410
44112018-10-03 Sandra Loosemore <sandra@codesourcery.com>
4412
4413 * lib/gdb.exp (skip_ifunc_tests): New.
4414 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
4415 other compile failures.
4416 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
4417
44182018-10-01 Simon Marchi <simon.marchi@ericsson.com>
4419
4420 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
4421 is_amd64_regs_target.
4422
44232018-10-01 Alan Hayward <alan.hayward@arm.com>
4424
4425 * gdb.arch/aarch64-sighandler-regs.c: New test.
4426 * gdb.arch/aarch64-sighandler-regs.exp: New file.
4427 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
4428
44292018-10-01 Markus Metzger <markus.t.metzger@intel.com>
4430
4431 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
4432 assembly.
4433
44342018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
4435
4436 * gdb.base/frame-selection.exp: New file.
4437 * gdb.base/frame-selection.c: New file.
4438
44392018-09-27 Alan Hayward <alan.hayward@arm.com>
4440
4441 * gdb.threads/check-libthread-db.c (thread_routine): Use a
4442 pthread barrier.
4443 (main): Likewise.
4444
44452018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
4446
4447 * gdb.base/large-frame-1.c: New file.
4448 * gdb.base/large-frame-2.c: New file.
4449 * gdb.base/large-frame.exp: New file.
4450 * gdb.base/large-frame.h: New file.
4451
44522018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
4453
4454 PR gdb/20948
4455 * gdb.base/write_mem.exp: New test.
4456 * gdb.base/write_mem.c: Likewise.
4457
44582018-09-23 Tom Tromey <tom@tromey.com>
4459
4460 PR python/18852:
4461 * gdb.python/py-parameter.exp: Add test for parameter that throws
4462 on "set".
4463
44642018-09-23 Tom Tromey <tom@tromey.com>
4465
4466 PR python/17284:
4467 * gdb.python/py-template.exp (test_template_arg): Add test for
4468 negative template argument number.
4469
44702018-09-23 Tom Tromey <tom@tromey.com>
4471
4472 PR python/14062:
4473 * gdb.python/python.exp: Add test for post_event error.
4474
44752018-09-23 Tom Tromey <tom@tromey.com>
4476
4477 PR python/18170:
4478 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
4479 convert pointers to int and long.
4480
44812018-09-23 Tom Tromey <tom@tromey.com>
4482
4483 PR python/20126:
4484 * gdb.python/py-value.exp (test_value_numeric_ops): Add
4485 signed-ness conversion tests.
4486
44872018-09-23 Tom Tromey <tom@tromey.com>
4488
4489 PR python/18352;
4490 * gdb.python/py-value.exp (test_float_conversion): New proc.
4491 Use it.
4492
44932018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
4494
4495 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
4496
44972018-09-18 Sandra Loosemore <sandra@codesourcery.com>
4498
4499 * gdb.base/complete-empty.exp: Skip tab-completion tests if
4500 no readline.
4501 * gdb.base/utf8-identifiers.exp: Likewise.
4502 * gdb.cp/cpcompletion.exp: Likewise.
4503 * gdb.linespec/cpcompletion.exp: Likewise.
4504 * gdb.linespec/cpls-abi-tag.exp: Likewise.
4505 * gdb.linespec/cpls-ops.exp: Likewise.
4506
45072018-09-19 Richard Bunt <richard.bunt@arm.com>
4508 Chris January <chris.january@arm.com>
4509
4510 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
4511 * gdb.fortran/short-circuit-argument-list.exp: New file.
4512 * gdb.fortran/short-circuit-argument-list.f90: New test.
4513
45142018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4515
4516 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
4517 "arch=" keyword when executing "-stack-list-frames".
4518
45192018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4520
4521 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
4522 "arch=" keyword when executing "-stack-list-frames".
4523
45242018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4525
4526 * gdb.ada/complete.exp: Expect for "@" when doing "complete
4527 break ada".
4528
45292018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
4530
4531 PR python/23669
4532 * gdb.python/python.exp: Test gdb.execute("show commands").
4533
45342018-09-16 Tom Tromey <tom@tromey.com>
4535
4536 * gdb.base/new-ui.exp (do_execution_tests): Update.
4537 * gdb.base/dbx.exp (test_breakpoints): Update.
4538
45392018-09-14 Alan Hayward <alan.hayward@arm.com>
4540
4541 * lib/gdb.exp (gdb_simple_compile): Add proc.
4542 (is_elf_target): Use gdb_simple_compile.
4543 (skip_altivec_tests): Likewise.
4544 (skip_vsx_tests): Likewise.
4545 (skip_tsx_tests): Likewise.
4546 (skip_btrace_tests): Likewise.
4547 (skip_btrace_pt_tests): Likewise.
4548 (gdb_can_simple_compile): Likewise.
4549 (gdb_has_argv0): Likewise.
4550 (gdb_target_symbol_prefix): Likewise.
4551 (target_supports_scheduler_locking): Likewise.
4552
45532018-09-13 Tom Tromey <tom@tromey.com>
4554
4555 * Makefile.in (TAGS): Recognize proc_with_prefix and
4556 gdb_caching_proc.
4557
45582018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4559
4560 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
4561 method.
4562
45632018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4564
4565 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
4566 and a few other Inferior properties when the Inferior is no
4567 longer valid.
4568
45692018-09-13 Tom Tromey <tom@tromey.com>
4570
4571 PR rust/23650:
4572 * gdb.rust/simple.exp: Add test for enum field access error.
4573
45742018-09-13 Tom Tromey <tom@tromey.com>
4575
4576 PR rust/23626:
4577 * gdb.rust/simple.rs (EmptyEnum): New type.
4578 (main): Use it.
4579 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
4580
45812018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4582
4583 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
4584 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
4585 * gdb.python/py-symtab.exp: Update test printing an objfile.
4586
45872018-09-12 Simon Marchi <simon.marchi@ericsson.com>
4588
4589 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
4590 object.
4591
45922018-09-12 Alan Hayward <alan.hayward@arm.com>
4593
4594 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
4595 (support_complex_tests): Use gdb_can_simple_compile.
4596 (is_ilp32_target): Likewise.
4597 (is_lp64_target): Likewise.
4598 (is_64_target): Likewise.
4599 (is_amd64_regs_target): Likewise.
4600 (is_aarch32_target): Likewise.
4601 (gdb_int128_helper): Likewise.
4602
46032018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4604
4605 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
4606
46072018-09-10 Jerome Guitton <guitton@adacore.com>
4608
4609 * gdb.ada/same_component_name: Add test for case of tagged record
4610 with variable-length fields.
4611
46122018-09-10 Xavier Roirand <roirand@adacore.com>
4613
4614 * gdb.ada/access_to_unbounded_array.exp: New testcase.
4615 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
4616 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
4617 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
4618
46192018-09-10 Xavier Roirand <roirand@adacore.com>
4620
4621 * gdb.ada/mi_string_access.exp: New testcase.
4622 * gdb.ada/mi_string_access/bar.adb: New file.
4623 * gdb.ada/mi_string_access/pck.adb: New file.
4624 * gdb.ada/mi_string_access/pck.asd: New file.
4625
46262018-09-10 Xavier Roirand <roirand@adacore.com>
4627
4628 * gdb.ada/mi_var_union.exp: New testcase.
4629 * gdb.ada/mi_var_union/bar.adb: New file.
4630 * gdb.ada/mi_var_union/pck.adb: New file.
4631 * gdb.ada/mi_var_union/pck.asd: New file.
4632
46332018-09-08 Tom Tromey <tom@tromey.com>
4634
4635 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
4636
46372018-09-08 Tom Tromey <tom@tromey.com>
4638
4639 PR python/16047:
4640 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
4641 (register_pretty_printers): Register new printer.
4642 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
4643 test.
4644 * gdb.python/py-prettyprint.c (int_type3): New typedef.
4645 (an_int_type3): New global.
4646
46472018-09-08 Joel Brobecker <brobecker@adacore.com>
4648
4649 * gdb.ada/expr_with_funcall: New testcase.
4650
46512018-09-08 Joel Brobecker <brobecker@adacore.com>
4652
4653 * gdb.ada/packed_array_assign: New testcase.
4654
46552018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
4656
4657 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
4658 names, and add test prefixes to make test names unique.
4659
46602018-09-05 Tom de Vries <tdevries@suse.de>
4661
4662 * gdb.dwarf2/varval.exp: Add test.
4663
46642018-09-04 Gary Benson <gbenson@redhat.com>
4665
4666 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
4667 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
4668
46692018-08-31 Tom Tromey <tom@tromey.com>
4670
4671 * gdb.rust/simple.rs: Rename second variable "v".
4672
46732018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
4674
4675 * gdb.base/funcargs.c (use_a): New function.
4676 (recurse): Call use_a.
4677
46782018-08-29 Keith Seitz <keiths@redhat.com>
4679
4680 * gdb.compile/compile-cplus-anonymous.cc: New file.
4681 * gdb.compile/compile-cplus-anonymous.exp: New file.
4682 * gdb.compile/compile-cplus-array-decay.cc: New file.
4683 * gdb.compile/compile-cplus-array-decay.exp: New file.
4684 * gdb.compile/compile-cplus-inherit.cc: New file.
4685 * gdb.compile/compile-cplus-inherit.exp: New file.
4686 * gdb.compile/compile-cplus-member.cc: New file.
4687 * gdb.compile/compile-cplus-member.exp: New file.
4688 * gdb.compile/compile-cplus-method.cc: New file.
4689 * gdb.compile/compile-cplus-method.exp: New file.
4690 * gdb.compile/compile-cplus-mod.c: "New" file.
4691 * gdb.compile/compile-cplus-namespace.cc: New file.
4692 * gdb.compile/compile-cplus-namespace.exp: New file.
4693 * gdb.compile/compile-cplus-nested.cc: New file.
4694 * gdb.compile/compile-cplus-nested.exp: New file.
4695 * gdb.compile/compile-cplus-print.c: "New" file.
4696 * gdb.compile/compile-cplus-print.exp: "New" file.
4697 * gdb.compile/compile-cplus-virtual.cc: New file.
4698 * gdb.compile/compile-cplus-virtual.exp: New file.
4699 * gdb.compile/compile-cplus.c: "New" file.
4700 * gdb.compile/compile-cplus.exp: "New" file.
4701 * lib/compile-support.exp: New file.
4702
47032018-08-16 Gary Benson <gbenson@redhat.com>
4704
4705 PR gdb/13000:
4706 * gdb.base/batch-exit-status.exp: New file.
4707 * gdb.base/batch-exit-status.good-commands: Likewise.
4708 * gdb.base/batch-exit-status.bad-commands: Likewise.
4709
47102018-08-29 Alan Hayward <alan.hayward@arm.com>
4711
4712 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
4713 (struct struct02): Likewise.
4714 (struct struct03): Likewise.
4715 (struct struct04): Likewise.
4716 (struct struct_01_01): New struct.
4717 (struct struct_01_02): Likewise.
4718 (struct struct_01_03): Likewise.
4719 (struct struct_01_04): Likewise.
4720 (struct struct_02_01): Likewise.
4721 (struct struct_02_02): Likewise.
4722 (struct struct_02_03): Likewise.
4723 (struct struct_02_04): Likewise.
4724 (struct struct_04_01): Likewise.
4725 (struct struct_04_02): Likewise.
4726 (struct struct_04_03): Likewise.
4727 (struct struct_04_04): Likewise.
4728 (struct struct_05_01): Likewise.
4729 (struct struct_05_02): Likewise.
4730 (struct struct_05_03): Likewise.
4731 (struct struct_05_04): Likewise.
4732 (cmp_struct01): Remove function.
4733 (cmp_struct02): Likewise.
4734 (cmp_struct03): Likewise.
4735 (cmp_struct04): Likewise.
4736 (cmp_struct_01_01): Add Function.
4737 (cmp_struct_01_02): Likewise.
4738 (cmp_struct_01_03): Likewise.
4739 (cmp_struct_01_04): Likewise.
4740 (cmp_struct_02_01): Likewise.
4741 (cmp_struct_02_02): Likewise.
4742 (cmp_struct_02_03): Likewise.
4743 (cmp_struct_02_04): Likewise.
4744 (cmp_struct_04_01): Likewise.
4745 (cmp_struct_04_02): Likewise.
4746 (cmp_struct_04_03): Likewise.
4747 (cmp_struct_04_04): Likewise.
4748 (cmp_struct_05_01): Likewise.
4749 (cmp_struct_05_02): Likewise.
4750 (cmp_struct_05_03): Likewise.
4751 (cmp_struct_05_04): Likewise.
4752 (call_all): Add new structs.
4753 * gdb.base/infcall-nested-structs.exp: Likewise.
4754
47552018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
4756
4757 * gdb.python/py-framefilter-mi.exp: Update regexp to
4758 check for "arch" field in frame output.
4759
47602018-08-23 Kevin Buettner <kevinb@redhat.com>
4761
4762 * gdb.dwarf2/dw2-ranges-func.c: New file.
4763 * gdb.dwarf2/dw2-ranges-func.exp: New file.
4764
47652018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
4766
4767 * gdb.base/term.exp: Compare terminal settings with values from
4768 the inferior.
4769 * gdb.base/term.c: Get and set terminal settings.
4770
47712018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
4772
4773 * lib/mi-support.exp (mi_expect_stop): Update regexp to
4774 accommodate new "arch" field in frame output.
4775 * gdb.mi/mi-return.exp: Likewise.
4776 * gdb.mi/mi-stack.exp: Likewise.
4777 * gdb.mi/mi-syn-frame.exp: Likewise.
4778 * gdb.mi/user-selected-context-sync.exp: Likewise.
4779
47802018-08-19 Michael Spang <spang@google.com>
4781
4782 PR gdb/11786
4783 * gdb.base/gcore-tls-pie.c: New file.
4784 * gdb.base/gcore-tls-pie.exp: New file.
4785
47862018-08-18 Kevin Buettner <kevinb@redhat.com>
4787
4788 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
4789 * gdb.dwarf2/varval.c: New file.
4790 * gdb.dwarf2/varval.exp: New file.
4791
47922018-08-17 Alan Hayward <alan.hayward@arm.com>
4793
4794 PR gdb/18931
4795 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
4796
47972018-08-16 Keith Seitz <keiths@redhat.com>
4798
4799 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
4800 tests expected to pass.
4801
48022018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
4803
4804 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
4805 -data-disassemble -a.
4806 (test_disassembly_bogus_args): Likewise.
4807
48082018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
4809
4810 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
4811
48122018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
4813
4814 * gdb.base/vla-optimized-out.exp: Add new test.
4815
48162018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
4817
4818 * gdb.base/vla-optimized-out-o3.exp: Delete.
4819 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
4820 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
4821 deleted tests.
4822
48232018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
4824
4825 PR gdb/18050:
4826 * gdb.server/extended-remote-restart.c: New file.
4827 * gdb.server/extended-remote-restart.exp: New file.
4828
48292018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
4830
4831 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
4832 "set variable index = 42".
4833
48342018-08-07 Simon Marchi <simon.marchi@ericsson.com>
4835
4836 * boards/index-cache-gdb.exp: New file.
4837 * gdb.dwarf2/index-cache.exp: New file.
4838 * gdb.dwarf2/index-cache.c: New file.
4839 * gdb.base/maint.exp: Check if we are using the index cache.
4840
48412018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4842
4843 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
4844 MAKEFLAGS.
4845
48462018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4847
4848 * dg-extract-results.sh: Move to toplevel contrib.
4849 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
4850 * Makefile.in (check-parallel-racy): Likewise.
4851
48522018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
4853
4854 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
4855 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
4856 tests if the target supports scheduler locking.
4857
48582018-08-04 Tom de Vries <tdevries@suse.de>
4859
4860 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
4861
48622018-08-02 Tom Tromey <tom@tromey.com>
4863
4864 PR symtab/16842.
4865 * gdb.cp/temargs.exp: Test "info address" of a template
4866 parameter.
4867
48682018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
4869
4870 * gdb.python/py-mi-var-info-path-expression.c: New file.
4871 * gdb.python/py-mi-var-info-path-expression.py: New file.
4872 * gdb.python/py-mi-var-info-path-expression.exp: New file.
4873
48742018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
4875
4876 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
4877 error after "cannot resolve name" string.
4878
48792018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
4880
4881 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
4882 started.
4883 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
4884
48852018-07-28 Tom de Vries <tdevries@suse.de>
4886
4887 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
4888
48892018-07-26 Tom de Vries <tdevries@suse.de>
4890
4891 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
4892
48932018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
4894
4895 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
4896 is visible.
4897
48982018-07-26 Tom de Vries <tdevries@suse.de>
4899
4900 PR breakpoints/23366
4901 * gdb.base/catch-follow-exec.c: New test.
4902 * gdb.base/catch-follow-exec.exp: New file.
4903
49042018-07-25 Tom de Vries <tdevries@suse.de>
4905
4906 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
4907 vla-optimized-out.c.
4908
49092018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
4910
4911 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
4912 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
4913
49142018-07-20 Tom de Vries <tdevries@suse.de>
4915
4916 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
4917 NOCLONE macro.
4918 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
4919
49202018-07-19 Tom de Vries <tdevries@suse.de>
4921
4922 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
4923 regular expression.
4924
49252018-07-18 Tom de Vries <tdevries@suse.de>
4926
4927 * gdb.base/vla-optimized-out.c: New test.
4928 * gdb.base/vla-optimized-out.exp: New file.
4929
49302018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
4931
4932 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
4933 message "No address associated with hostname" when gdbserver
4934 cannot resolve the hostname.
4935
49362018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4937
4938 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
4939 Add some test prefixes to make tests unique.
4940
49412018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4942
4943 * gdb.base/frameapply.c: New file.
4944 * gdb.base/frameapply.exp: New file.
4945
49462018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4947
4948 * gdb.base/skip.exp: Update expected error message.
4949
49502018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
4951 Jan Kratochvil <jan.kratochvil@redhat.com>
4952 Paul Fertser <fercerpav@gmail.com>
4953 Tsutomu Seki <sekiriki@gmail.com>
4954
4955 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
4956 parameter.
4957 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
4958 by default.
4959 * boards/native-gdbserver.exp: Likewise.
4960 * gdb.server/run-without-local-binary.exp: Improve regexp used
4961 for detecting when a remote debugging connection succeeds.
4962 * gdb.server/server-connect.exp: New file.
4963 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
4964 Do not prefix the port number with ":".
4965 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
4966 support for detecting and using it. Add '$debughost_gdbserver'
4967 to the list of arguments used to start gdbserver. Handle case
4968 when gdbserver cannot resolve a network name.
4969
49702018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
4971
4972 PR c++/23373
4973 * gdb.base/ptype-offsets.cc (struct static_member): New
4974 struct.
4975 (main) <stmember>: New variable.
4976 * gdb.base/ptype-offsets.exp: Add test for printing a struct
4977 with a static member in it.
4978
49792018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
4980
4981 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
4982 watchpoints enabled and disabled.
4983
49842018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4985
4986 * gdb.base/examine-backward.exp: Still run tests around address
4987 0x0, even if address 0x0 is not readable. Update the pattern for
4988 matching address 0x0 in expected output.
4989
49902018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
4991
4992 * gdb.base/share-env-with-gdbserver.c (main): Add call to
4993 malloc/free.
4994
49952018-07-04 Tom de Vries <tdevries@suse.de>
4996
4997 * gdb.dwarf2/dw2-error.exp: Update expected error message.
4998
49992018-07-02 Maciej W. Rozycki <macro@mips.com>
5000
5001 PR tdep/8282
5002 * gdb.arch/mips-disassembler-options.exp: New test.
5003 * gdb.arch/mips-disassembler-options.s: New test source.
5004
50052018-06-29 Pedro Alves <palves@redhat.com>
5006
5007 * gdb.threads/names.exp: Adjust expected "info threads" output.
5008
50092018-06-29 Pedro Alves <palves@redhat.com>
5010
5011 * gdb.opt/inline-break.exp (line number, address): Add "info
5012 break" tests.
5013
50142018-06-29 Pedro Alves <palves@redhat.com>
5015
5016 * gdb.opt/inline-break.c (func1): Add "break here" marker.
5017 * gdb.opt/inline-break.exp: Test setting breakpoints by line
5018 number and address and running to them.
5019
50202018-06-29 Richard Bunt <richard.bunt@arm.com>
5021
5022 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
5023
50242018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5025
5026 * lib/compiler.c: Remove executable permission flag.
5027
50282018-06-28 Richard Bunt <richard.bunt@arm.com>
5029
5030 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
5031 code.
5032 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
5033
50342018-06-28 Petr Tesarik <ptesarik@suse.cz>
5035
5036 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
5037
50382018-06-28 Petr Tesarik <ptesarik@suse.cz>
5039
5040 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
5041 address argument is omitted.
5042
50432018-06-28 Petr Tesarik <ptesarik@suse.cz>
5044
5045 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
5046
50472018-06-27 Omair Javaid <omair.javaid@linaro.org>
5048
5049 PR gdb/21695
5050 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
5051 * gdb.base/infoline-reloc-main-from-zero.c: New file.
5052
50532018-06-26 Tom Tromey <tom@tromey.com>
5054
5055 PR rust/22574:
5056 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
5057 * gdb.rust/simple.rs (struct SimpleLayout): New.
5058
50592018-06-22 Simon Marchi <simon.marchi@ericsson.com>
5060
5061 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
5062 "info registers" output.
5063
50642018-06-21 Richard Bunt <richard.bunt@arm.com>
5065
5066 * gdb.base/watchpoint-hw-attach.c: New test.
5067 * gdb.base/watchpoint-hw-attach.exp: New file.
5068
50692018-06-20 Simon Marchi <simon.marchi@ericsson.com>
5070
5071 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
5072 through /bin/sh.
5073 * boards/dwarf4-gdb-index.exp: Likewise.
5074 * boards/fission-dwp.exp: Likewise.
5075
50762018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
5077
5078 * gdb.base/float128.exp: Add comment and improved fail message
5079 to the failure case of "print large128" test.
5080
50812018-06-19 Simon Marchi <simon.marchi@ericsson.com>
5082
5083 * configure.ac: Remove AC_PREREQ.
5084 * configure: Re-generate.
5085
50862018-06-19 Pedro Alves <palves@redhat.com>
5087
5088 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
5089 (func_extern_caller): New.
5090 (main): Call func_extern_caller.
5091 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
5092 logic change.
5093
50942018-06-18 Weimin Pan <weimin.pan@oracle.com>
5095
5096 PR gdb/16841
5097 * gdb.cp/typedef-base.cc: New file.
5098 * gdb.cp/typedef-base.exp: New file.
5099
51002018-06-18 Tom de Vries <tdevries@suse.de>
5101
5102 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
5103
51042018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
5105 Richard Bunt <Richard.Bunt@arm.com>
5106
5107 * gdb.threads/attach-slow-waitpid.c: New file.
5108 * gdb.threads/attach-slow-waitpid.exp: New file.
5109 * gdb.threads/slow-waitpid.c: New file.
5110
51112018-06-14 Pedro Alves <palves@redhat.com>
5112
5113 * gdb.base/fork-running-state.c: Include <errno.h>.
5114 (exit_if_relative_exits): New.
5115 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
5116 exits.
5117 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
5118 child exits.
5119
51202018-06-14 Tom de Vries <tdevries@suse.de>
5121
5122 PR cli/22573
5123 * gdb.base/finish-pretty.c: New test.
5124 * gdb.base/finish-pretty.exp: New file.
5125
51262018-06-14 Pedro Alves <palves@redhat.com>
5127
5128 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
5129 gdb's expected startup output.
5130
51312018-06-14 Pedro Alves <palves@redhat.com>
5132
5133 * lib/selftest-support.exp (selftest_setup): Remove inlined
5134 function handling.
5135
51362018-06-14 Tom de Vries <tdevries@suse.de>
5137
5138 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
5139 matching of breakpoint printing.
5140
51412018-06-13 Tom de Vries <tdevries@suse.de>
5142
5143 PR testsuite/23269
5144 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
5145 (fork_child): ... here, and ...
5146 (fork_parent): ... here.
5147
51482018-06-12 Tom de Vries <tdevries@suse.de>
5149
5150 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
5151
51522018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
5153 Stephen Roberts <stephen.roberts@arm.com>
5154
5155 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
5156 rewrite test to describe action performed, rather than possible
5157 failure.
5158
51592018-06-08 Gary Benson <gbenson@redhat.com>
5160
5161 * gdb.threads/check-libthread-db.exp: New file.
5162 * gdb.threads/check-libthread-db.c: Likewise.
5163
51642018-06-05 Tom Tromey <tom@tromey.com>
5165
5166 * gdb.base/default.exp: Update expected "show version" output.
5167
51682018-06-05 Tom Tromey <tom@tromey.com>
5169
5170 PR cli/12326:
5171 * gdb.cp/static-print-quit.exp: Update.
5172 * lib/gdb.exp (pagination_prompt): Update.
5173 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
5174 * gdb.python/python.exp: Update.
5175
51762018-06-04 Joel Brobecker <brobecker@adacore.com>
5177
5178 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
5179
51802018-06-01 Joel Brobecker <brobecker@adacore.com>
5181
5182 * gdb.ada/bp_fun_addr: New testcase.
5183
51842018-06-01 Tom Tromey <tom@tromey.com>
5185
5186 * gdb.xml/tdesc-regs.exp (load_description): Update expected
5187 results.
5188 * gdb.dwarf2/method-ptr.exp: Set language to C++.
5189 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
5190 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
5191 * gdb.base/maint.exp (maint_pass_if): Update.
5192
51932018-05-31 Maciej W. Rozycki <macro@mips.com>
5194
5195 * gdb.base/endian.exp: New test.
5196 * gdb.base/endian.c: New test source.
5197
51982018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
5199
5200 PR gdb/23203
5201 * gdb.base/bt-selected-frame.c: New file.
5202 * gdb.base/bt-selected-frame.exp: New file.
5203 * lib/gdb.exp (get_current_frame_number): New function.
5204
52052018-05-24 Maciej W. Rozycki <macro@mips.com>
5206 Pedro Alves <palves@redhat.com>
5207
5208 * gdb.threads/tls-core.c: Include <stdlib.h>
5209 (thread_proc): Call `abort'.
5210 * gdb.threads/tls-core.exp: Generate a core with core_find too.
5211 (tls_core_test): New procedure, bits factored out from ...
5212 (top level): ... here. Test both native cores and gcore cores.
5213
52142018-05-23 Tom Tromey <tom@tromey.com>
5215
5216 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
5217
52182018-05-23 Tom Tromey <tom@tromey.com>
5219
5220 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
5221 symfile_complaints.
5222 (test_short_complaints): Likewise.
5223 (test_empty_complaints): Likewise.
5224 (test_initial_complaints): Update.
5225
52262018-05-23 Tom Tromey <tom@tromey.com>
5227
5228 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
5229
52302018-05-23 Tom Tromey <tom@tromey.com>
5231
5232 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
5233 (test_short_complaints): Update.
5234
52352018-05-22 Pedro Alves <palves@redhat.com>
5236
5237 * gdb.base/remote.exp: Only gdb_start after compiling the
5238 testcase. Issue "disconnect" before testing "set remote" command
5239 defaults. Issue clean_restart before running to main.
5240
52412018-05-22 Pedro Alves <palves@redhat.com>
5242
5243 * gdb.base/remote.exp: Adjust expected output of "show remote
5244 memory-write-packet-size". Add tests for "set remote
5245 memory-write-packet-size 0" and "set remote
5246 memory-write-packet-size fixed/limit".
5247
52482018-05-22 Pedro Alves <palves@redhat.com>
5249
5250 PR gdb/22973
5251 * gdb.base/utf8-identifiers.c: New file.
5252 * gdb.base/utf8-identifiers.exp: New file.
5253
52542018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
5255
5256 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
5257
52582018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
5259
5260 * gdb.arch/powerpc-vsx-gcore.exp: New file.
5261
52622018-05-18 Tom Tromey <tom@tromey.com>
5263
5264 * gdb.base/ptype-offsets.exp: Update.
5265
52662018-05-17 Keith Seitz <keiths@redhat.com>
5267
5268 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
5269 in expected breakpoint stop locations.
5270 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
5271 move to proper scope to test variable values.
5272 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
5273 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
5274 New functions.
5275 (main): Call not_inline_func3.
5276 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
5277 inline_func1, inline_func2, and inline_func3. Test that when each
5278 breakpoint is hit, GDB properly reports both the stop location
5279 and the backtrace. Repeat tests for temporary breakpoints.
5280
52812018-05-15 Maciej W. Rozycki <macro@mips.com>
5282
5283 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
5284 rather then trying to access it in determining whether the PID
5285 of `gdbserver' could have been retrieved.
5286
52872018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
5288
5289 * gdb.arch/amd64-init-x87-values.S: New file.
5290 * gdb.arch/amd64-init-x87-values.exp: New file.
5291
52922018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5293
5294 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
5295
52962018-05-04 Tom Tromey <tom@tromey.com>
5297
5298 PR python/22730:
5299 * gdb.python/python.exp: Test multi-line execute.
5300
53012018-05-04 Tom Tromey <tom@tromey.com>
5302
5303 PR python/22731:
5304 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
5305
53062018-05-04 Tom Tromey <tom@tromey.com>
5307
5308 PR gdb/11750:
5309 * gdb.base/define.exp: Test defining a user command inside a user
5310 command.
5311 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
5312
53132018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
5314 Pedro Alves <palves@redhat.com>
5315
5316 PR breakpoints/19806 and support for PR external/20207.
5317 * gdb.base/watchpoint-unaligned.c: New file.
5318 * gdb.base/watchpoint-unaligned.exp: New file.
5319
53202018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
5321
5322 * gdb.base/maint.exp: Make test names unique, use
5323 test_prefix_command_help to test 'help maint info', and remove
5324 repeated test of 'help maint'.
5325
53262018-05-04 Tom Tromey <tom@tromey.com>
5327
5328 PR gdb/22619:
5329 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
5330 behavior.
5331
53322018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
5333
5334 * gdb.base/maint.exp: Process output from 'maint print registers'
5335 line at a time.
5336
53372018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
5338
5339 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
5340 timeout.
5341
53422018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
5343
5344 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
5345 filter pattern.
5346
53472018-05-02 Pedro Alves <palves@redhat.com>
5348
5349 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
5350 to_log_command renames.
5351 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
5352
53532018-05-02 Tom Tromey <tom@tromey.com>
5354
5355 * gdb.python/py-parameter.exp: Set test message.
5356
53572018-05-02 Tom Tromey <tom@tromey.com>
5358
5359 PR python/20084:
5360 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
5361 PARAM_ZUINTEGER_UNLIMITED tests.
5362
53632018-04-28 Dan Robertson <danlrobertson89@gmail.com>
5364
5365 PR rust/23124
5366 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
5367 when casting.
5368
53692018-04-30 Tom Tromey <tom@tromey.com>
5370
5371 * gdb.python/py-type.exp: Check align attribute.
5372 * gdb.python/py-type.c: New "aligncheck" global.
5373
53742018-04-30 Tom Tromey <tom@tromey.com>
5375
5376 PR exp/17095:
5377 * gdb.dwarf2/dw2-align.exp: New file.
5378 * gdb.cp/align.exp: New file.
5379 * gdb.base/align.exp: New file.
5380 * lib/gdb.exp (gdb_int128_helper): New proc.
5381 (has_int128_c, has_int128_cxx): New caching procs.
5382
53832018-04-27 Tom Tromey <tom@tromey.com>
5384
5385 PR rust/22545:
5386 * gdb.rust/simple.exp: Add inclusive range tests.
5387
53882018-04-26 Pedro Alves <palves@redhat.com>
5389
5390 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
5391 ifunc breakpoint locations correctly of ifunc breakpoints set
5392 while the program resolves the ifunc.
5393
53942018-04-26 Pedro Alves <palves@redhat.com>
5395
5396 * gdb.base/gnu-ifunc-final.c: New file.
5397 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
5398 * gdb.base/gnu-ifunc.exp (executable): Delete.
5399 (staticexecutable): Adjust.
5400 (lib_opts, exec_opts): Delete.
5401 (make_binsuffix, build, set-break): New procedures.
5402 (misc_tests): New, with tests factored out from the top level.
5403 (top level): Test different combinations of ifunc resolver name,
5404 resolver with and with debug info, and ifunc target with and
5405 without debug info. Wrap static tests with with_target_prefix.
5406
54072018-04-26 Pedro Alves <palves@redhat.com>
5408
5409 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
5410 return type" warnings.
5411
54122018-04-25 Pedro Alves <palves@redhat.com>
5413
5414 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
5415 killed".
5416 * gdb.base/kill-after-signal.exp: Likewise.
5417 * gdb.threads/kill.exp: Likewise.
5418
54192018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5420 Sergio Durigan Junior <sergiodj@redhat.com>
5421 Pedro Alves <palves@redhat.com>
5422
5423 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
5424 regexps to expect for '[Inferior ... detached]' as well.
5425 * gdb.base/attach.exp: Likewise.
5426 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
5427 "gdb_continue_to_end".
5428 (test_catch_syscall_with_wrong_args): Likewise.
5429 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
5430 ']'. Don't set 'verbose' on.
5431 * gdb.base/foll-vfork.exp: Likewise.
5432 * gdb.base/fork-print-inferior-events.c: New file.
5433 * gdb.base/fork-print-inferior-events.exp: New file.
5434 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
5435 '[Inferior ... has been killed]' message.
5436 * gdb.base/kill-after-signal.exp: Likewise.
5437 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
5438 detach message.
5439 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
5440 message.
5441 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
5442 regexps to expect for '[Inferior ... detached]' as well.
5443 * gdb.threads/process-dies-while-detaching.exp: Likewise.
5444
54452018-04-24 Simon Marchi <simon.marchi@ericsson.com>
5446
5447 PR gdb/23104
5448 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
5449
54502018-04-22 Rajendra SY <rajendra.sy@gmail.com>
5451
5452 PR gdb/23095
5453 * gdb.base/break-probes.exp: Pass shlib_load to
5454 prepare_for_testing. Set normal_bp to r_debug_state if target is
5455 bsd.
5456
54572018-04-19 Richard Bunt <richard.bunt@arm.com>
5458
5459 * gdb.threads/multiple-successive-infcall.c: New test.
5460 * gdb.threads/multiple-successive-infcall.exp: New file.
5461
54622018-04-17 Tom Tromey <tom@tromey.com>
5463
5464 * gdb.rust/simple.rs (Union): New type.
5465 (main): New local "u".
5466 * gdb.rust/simple.exp (test_one_slice): Add new test case.
5467
54682018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5469
5470 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
5471 number information in output of "whereis" command.
5472 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
5473
54742018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5475
5476 * gdb.ada/info_types.exp: Adjust expected output to the line
5477 numbers now printed by "info var/func/type".
5478 * gdb.base/completion.exp: Likewise.
5479 * gdb.base/included.exp: Likewise.
5480 * gdb.cp/cp-relocate.exp: Likewise.
5481 * gdb.cp/cplusfuncs.exp: Likewise.
5482 * gdb.cp/namespace.exp: Likewise.
5483 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
5484
54852018-04-13 Markus Metzger <markus.t.metzger@intel.com>
5486
5487 * gdb.btrace/cpu.exp: New.
5488
54892018-04-13 Markus Metzger <markus.t.metzger@intel.com>
5490
5491 * gdb.base/step-indirect-call-thunk.exp: New.
5492 * gdb.base/step-indirect-call-thunk.c: New.
5493 * gdb.reverse/step-indirect-call-thunk.exp: New.
5494 * gdb.reverse/step-indirect-call-thunk.c: New.
5495
54962018-04-11 Simon Marchi <simon.marchi@ericsson.com>
5497
5498 * gdb.base/pie-fork.c: New file.
5499 * gdb.base/pie-fork.exp: New file.
5500
55012018-04-11 Tom Tromey <tom@tromey.com>
5502
5503 * gdb.rust/simple.exp: Add test for ".." struct initializer.
5504
55052018-04-10 Pedro Alves <palves@redhat.com>
5506
5507 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
5508 exits. Instead loop running forever.
5509 (fork_parent): Run forever too.
5510
55112018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
5512
5513 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
5514 mi_continue_to_line.
5515 * gdb.mi/mi-stack.c (callee4): Add comment.
5516
55172018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
5518
5519 * gdb.mi/mi-stack.exp: Fix indentation.
5520
55212018-04-07 Simon Marchi <simon.marchi@ericsson.com>
5522
5523 PR gdb/22979
5524 * gdb.arch/amd64-osabi.exp: New file.
5525
55262018-04-07 Simon Marchi <simon.marchi@ericsson.com>
5527
5528 PR gdb/22980
5529 * gdb.base/osabi.exp: New file.
5530
55312018-04-02 Weimin Pan <weimin.pan@oracle.com>
5532
5533 * gdb.cp/static-typedef-print.exp: New file.
5534 * gdb.cp/static-typedef-print.cc: New file.
5535
55362018-03-27 Joel Brobecker <brobecker@adacore.com>
5537
5538 * gdb.ada/varsize_limit: New testcase.
5539
55402018-03-27 Joel Brobecker <brobecker@adacore.com>
5541
5542 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
5543
5544 * gdb.ada/notcplusplus: New testcase.
5545
5546 * gdb.base/c-linkage-name.c: New file.
5547 * gdb.base/c-linkage-name.exp: New testcase.
5548
55492018-03-26 Tom Tromey <tom@tromey.com>
5550
5551 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
5552 * gdb.python/py-framefilter.py (name_error): New global.
5553 (ErrorInName.function): Use name_error.
5554
55552018-03-26 Tom Tromey <tom@tromey.com>
5556
5557 PR backtrace/15582:
5558 * gdb.python/py-framefilter.exp: Add "bt hide" test.
5559
55602018-03-23 Keith Seitz <keiths@redhat.com>
5561
5562 PR c++/22968
5563 * gdb.cp/subtypes.exp: New file.
5564 * gdb.cp/subtypes.h: New file.
5565 * gdb.cp/subtypes.cc: New file.
5566 * gdb.cp/subtypes-2.cc: New file.
5567
55682018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
5569
5570 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
5571 (done): Call '_exit' not 'exit' to avoid atexit handlers.
5572 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
5573 -nostartfiles when compiling the test. Confirm that all registers
5574 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
5575
55762018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
5577
5578 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
5579 option, syntax was wrong anyway.
5580 * gdb.arch/arm-disp-step.exp: Likewise.
5581 * gdb.arch/sparc64-regs.exp: Likewise.
5582 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
5583 option, syntax was wrong anyway, switch to use
5584 prepare_for_testing.
5585 * gdb.arch/i386-disp-step.exp: Likewise.
5586
55872018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
5588
5589 * gdb.ada/exec_changed.exp: Replace "target_info exists
5590 use_gdb_stub" by "use_gdb_stub".
5591 * gdb.ada/start.exp: Likewise.
5592 * gdb.base/async-shell.exp: Likewise.
5593 * gdb.base/attach-pie-misread.exp: Likewise.
5594 * gdb.base/attach-wait-input.exp: Likewise.
5595 * gdb.base/break-entry.exp: Likewise.
5596 * gdb.base/break-interp.exp: Likewise.
5597 * gdb.base/dprintf-detach.exp: Likewise.
5598 * gdb.base/nostdlib.exp: Likewise.
5599 * gdb.base/solib-nodir.exp: Likewise.
5600 * gdb.base/statistics.exp: Likewise.
5601 * gdb.base/testenv.exp: Likewise.
5602 * gdb.mi/mi-exec-run.exp: Likewise.
5603 * gdb.mi/mi-start.exp: Likewise.
5604 * gdb.multi/dummy-frame-restore.exp: Likewise.
5605 * gdb.multi/multi-arch-exec.exp: Likewise.
5606 * gdb.multi/multi-arch.exp: Likewise.
5607 * gdb.multi/tids.exp: Likewise.
5608 * gdb.multi/watchpoint-multi.exp: Likewise.
5609 * gdb.python/py-events.exp: Likewise.
5610 * gdb.threads/attach-into-signal.exp: Likewise.
5611 * gdb.threads/attach-stopped.exp: Likewise.
5612 * gdb.threads/threadapply.exp: Likewise.
5613 * lib/selftest-support.exp: Likewise.
5614
56152018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
5616
5617 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
5618
56192018-03-20 Stephen Roberts <stephen.roberts@arm.com>
5620
5621 * gdb.perf/template-breakpoints.cc: New file.
5622 * gdb.perf/template-breakpoints.exp: New file.
5623 * gdb.perf/template-breakpoints.py: New file.
5624
56252018-03-19 Tom Tromey <tom@tromey.com>
5626
5627 * gdb.rust/simple.rs (main): Add local variables field1, field2,
5628 y0.
5629 * gdb.rust/simple.exp: Test bare identifier form of struct
5630 initializer.
5631
56322018-03-19 Tom Tromey <tom@tromey.com>
5633
5634 * gdb.gdb/observer.exp: Remove.
5635
56362018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5637
5638 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
5639 "qualified" option when setting breakpoints.
5640 * gdb.trace/backtrace.exp: Likewise.
5641 * gdb.trace/circ.exp: Likewise.
5642 * gdb.trace/collection.exp: Likewise.
5643 * gdb.trace/disconnected-tracing.exp: Likewise.
5644 * gdb.trace/ftrace-lock.exp: Likewise.
5645 * gdb.trace/ftrace.exp: Likewise.
5646 * gdb.trace/infotrace.exp: Likewise.
5647 * gdb.trace/packetlen.exp: Likewise.
5648 * gdb.trace/passc-dyn.exp: Likewise.
5649 * gdb.trace/qtro.exp: Likewise.
5650 * gdb.trace/read-memory.exp: Likewise.
5651 * gdb.trace/report.exp: Likewise.
5652 * gdb.trace/signal.exp: Likewise.
5653 * gdb.trace/status-stop.exp: Likewise.
5654 * gdb.trace/strace.exp: Likewise.
5655 * gdb.trace/tfind.exp: Likewise.
5656 * gdb.trace/trace-break.exp: Likewise.
5657 * gdb.trace/trace-condition.exp: Likewise.
5658 * gdb.trace/trace-mt.exp: Likewise.
5659 * gdb.trace/tstatus.exp: Likewise.
5660 * gdb.trace/tsv.exp: Likewise.
5661 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
5662 * gdb.trace/unavailable.exp: Likewise.
5663 * gdb.trace/while-dyn.exp: Likewise.
5664
56652018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5666
5667 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
5668 that libinproctrace is copied to the target.
5669
56702018-03-14 Tom Tromey <tom@tromey.com>
5671
5672 PR cli/14977:
5673 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
5674 a null pointer.
5675 * gdb.base/wchar.exp: Likewise.
5676
56772018-03-14 Tom Tromey <tom@tromey.com>
5678
5679 PR cli/19918:
5680 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
5681 flag.
5682
56832018-03-08 Simon Marchi <simon.marchi@ericsson.com>
5684
5685 PR gdb/22841
5686 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
5687 "target" to remote_exec.
5688
56892018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
5690
5691 PR gdb/22841
5692 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
5693 ${board}_upload): Remove.
5694
56952018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
5696
5697 * gdb.cp/watch-cp.cc: New test.
5698 * gdb.cp/watch-cp.exp: New file.
5699
57002018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5701
5702 * gdb.base/infcall-nested-structs.exp: New file.
5703 * gdb.base/infcall-nested-structs.c: New file.
5704 * gdb.base/float.exp: Add riscv support.
5705
57062018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
5707
5708 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
5709 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
5710
57112018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
5712
5713 * gdb.server/abspath.exp: New file.
5714 * lib/gdb.exp (with_cwd): New procedure.
5715
57162018-02-28 Simon Marchi <simon.marchi@ericsson.com>
5717
5718 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
5719 use it.
5720 (gdb_is_target_remote_prompt): New proc.
5721 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
5722 (gdb_is_target_native): Pass prompt parameter to
5723 gdb_is_target_1.
5724
57252018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
5726
5727 * gdb.base/load-command.c: New file.
5728 * gdb.base/load-command.exp: New file.
5729 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
5730 (gdb_is_target_1): ...this, and generalize for other targets
5731 than just remote.
5732 (gdb_is_target_remote): Use gdb_is_target_1.
5733 (gdb_is_target_native): use gdb_is_target_1.
5734
57352018-02-26 Tom Tromey <tom@tromey.com>
5736
5737 PR python/16497:
5738 * gdb.python/py-framefilter.exp: Update test.
5739
57402018-02-26 Tom Tromey <tom@tromey.com>
5741
5742 * gdb.dwarf2/variant.c: New file.
5743 * gdb.dwarf2/variant.exp: New file.
5744
57452018-02-26 Tom Tromey <tom@tromey.com>
5746
5747 * gdb.rust/simple.exp: Accept more possible results in enum test.
5748
57492018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
5750
5751 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
5752 parentheses.
5753
57542018-02-23 Maciej W. Rozycki <macro@mips.com>
5755
5756 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
5757 name of a variable: $actual_linejj -> $actual_line.
5758
57592018-02-21 John Baldwin <jhb@FreeBSD.org>
5760
5761 * gdb.arch/amd64-i386-address.exp: Fix a typo.
5762
57632018-02-20 Markus Metzger <markus.t.metzger@intel.com>
5764
5765 * gdb.btrace/buffer-size.exp: Do not force BTS.
5766
57672018-02-14 Pedro Alves <palves@redhat.com>
5768
5769 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
5770 getting a "Quit".
5771
57722018-02-09 Markus Metzger <markus.t.metzger@intel.com>
5773
5774 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
5775 Fix test name.
5776
57772018-02-07 Simon Marchi <simon.marchi@ericsson.com>
5778
5779 * gdb.cp/m-static.exp: Check type of optimized out static
5780 member.
5781
57822018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
5783
5784 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
5785 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
5786
57872018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
5788 Leszek Swirski <leszeks@google.com>
5789
5790 * gdb.python/py-prettyprint.c
5791 (struct to_string_returns_value_inner,
5792 struct to_string_returns_value_wrapper): New.
5793 (main): Add tsrvw variable.
5794 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
5795 ToStringReturnsValueWrapper): New classes.
5796 (register_pretty_printers): Register new pretty-printers.
5797 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
5798 recursive pretty printer.
5799 * gdb.python/py-mi.exp: Likewise.
5800
58012018-02-01 Leszek Swirski <leszeks@google.com>
5802
5803 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
5804 functions with the same name as an include file are parsed
5805 correctly.
5806
58072018-02-01 Yao Qi <yao.qi@linaro.org>
5808
5809 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
5810 "\[^\r\n\]*".
5811
58122018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
5813
5814 * gdb.arch/powerpc-prologue-frame.s: New file.
5815 * gdb.arch/powerpc-prologue-frame.c: Likewise.
5816 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
5817
58182018-01-31 Joel Brobecker <brobecker@adacore.com>
5819
5820 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
5821
58222018-01-30 Pedro Alves <palves@redhat.com>
5823
5824 PR gdb/13211
5825 * gdb.base/interrupt-daemon.c: New.
5826 * gdb.base/interrupt-daemon.exp: New.
5827 * gdb.multi/multi-term-settings.c: New.
5828 * gdb.multi/multi-term-settings.exp: New.
5829
58302018-01-30 Joel Brobecker <brobecker@adacore.com>
5831
5832 * gdb.base/break.exp: Save the location where the breakpoint
5833 on break.c:47 was actually inserted when debugging the version
5834 compiled at -O2 and use it in the expected output of the "info
5835 break" test performed soon after.
5836
58372018-01-22 Pedro Alves <palves@redhat.com>
5838 Sergio Durigan Junior <sergiodj@redhat.com>
5839
5840 * gdb.base/whatis.exp: Add tests for 'set print object on' +
5841 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
5842
58432018-01-22 Joel Brobecker <brobecker@adacore.com>
5844
5845 * gdb.base/break-include.c, gdb.base/break-include.inc,
5846 gdb.base/break-include.exp: New files.
5847 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
5848 line number now being the actual line number where the breakpoint
5849 was inserted.
5850 * gdb.mi/mi-break.exp: Likewise.
5851 * gdb.mi/mi-reverse.exp: Likewise.
5852 * gdb.mi/mi-simplerun.exp: Ditto.
5853
58542018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
5855
5856 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
5857 varobj.
5858 * gdb.mi/mi-var-create-rtti.exp: Likewise.
5859
58602018-01-21 Don Breazeal <donb@codesourcery.com>
5861 Andrew Burgess <andrew.burgess@embecosm.com>
5862
5863 * gdb.mi/basics.c: Add new global.
5864 * gdb.mi/mi-frame-regs.exp: New file.
5865 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
5866 case.
5867
58682018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
5869
5870 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
5871 non-parameter, and on an unknown symbol.
5872
58732018-01-19 Tom Tromey <tom@tromey.com>
5874
5875 * gdb.rust/modules.rs (TWENTY_THREE): New global.
5876 * gdb.rust/modules.exp: Add ::-qualified lookup test.
5877
58782018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5879
5880 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
5881 setrlimit and chdir to int.
5882
58832018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5884
5885 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
5886 function.
5887 (my_tend): Likewise.
5888 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
5889 rationale of avoiding FP- and vector instructions.
5890
58912018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
5892
5893 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
5894 "info reg" with "\[ \t\]*".
5895 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
5896 "\[ \t\]+".
5897 * gdb.arch/s390-multiarch.exp: Ditto.
5898 * gdb.base/pc-fp.exp: Ditto.
5899 * gdb.reverse/i386-precsave.exp: Ditto.
5900 * gdb.reverse/i386-reverse.exp: Ditto.
5901 * gdb.reverse/i387-env-reverse.exp: Ditto.
5902 * gdb.reverse/i387-stack-reverse.exp: Ditto.
5903
59042018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
5905
5906 * lib/gdb.exp (gdb_compile): Re-enable use of
5907 universal_compile_options for languages other than Rust.
5908
59092018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
5910
5911 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
5912
59132018-01-17 Mike Gulick <mgulick@mathworks.com>
5914
5915 PR gdb/16577
5916 * gdb.base/solib-vanish.exp: New.
5917 * gdb.base/solib-vanish-main.c: New.
5918 * gdb.base/solib-vanish-lib1.c: New.
5919 * gdb.base/solib-vanish-lib2.c: New.
5920
59212018-01-17 Yao Qi <yao.qi@linaro.org>
5922
5923 * gdb.compile/compile.exp: Match the address printed for
5924 frame in the output of command "bt".
5925
59262018-01-15 Tom Tromey <tom@tromey.com>
5927
5928 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
5929 compute sp_reg.
5930
59312018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
5932
5933 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
5934 to prepare.
5935 (prepare): Return 0 on error, 1 on success.
5936
59372018-01-12 Pedro Alves <palves@redhat.com>
5938
5939 * gdb.base/continue-after-aborted-step-over.c: New.
5940 * gdb.base/continue-after-aborted-step-over.exp: New.
5941
59422018-01-11 Simon Marchi <simon.marchi@ericsson.com>
5943
5944 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
5945 options when not creating an executable.
5946
59472018-01-11 Pedro Alves <palves@redhat.com>
5948
5949 PR remote/22597
5950 * gdb.server/stop-reply-no-thread.c: New file.
5951 * gdb.server/stop-reply-no-thread.exp: New file.
5952
59532018-01-10 Pedro Alves <palves@redhat.com>
5954
5955 PR gdb/22670
5956 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
5957 functions too. Test setting breakpoints and printing C functions
5958 with no debug info too.
5959 * gdb.ada/bp_c_mixed_case/qux.c: New file.
5960
59612018-01-10 Pedro Alves <palves@redhat.com>
5962
5963 PR gdb/22670
5964 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
5965 a fail.
5966
59672018-01-10 Pedro Alves <palves@redhat.com>
5968
5969 PR gdb/22670
5970 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
5971
59722018-01-08 Simon Marchi <simon.marchi@ericsson.com>
5973
5974 * gdb.server/unittest.exp: Match the output in non-development
5975 mode.
5976
59772018-01-08 Simon Marchi <simon.marchi@ericsson.com>
5978
5979 * gdb.gdb/unittest.exp: Match output in non-development mode.
5980
59812018-01-08 Joel Brobecker <brobecker@adacore.com>
5982
5983 * gdb.ada/access_tagged_param.exp: Relax expected output
5984 for value of "ObjL" in "continue" to pck.inspect breakpoint
5985 test.
5986
59872018-01-08 Joel Brobecker <brobecker@adacore.com>
5988
5989 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
5990 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
5991
59922018-01-05 Pedro Alves <palves@redhat.com>
5993
5994 PR gdb/18653
5995 * gdb.base/libsegfault.exp: New.
5996
59972018-01-05 Joel Brobecker <brobecker@adacore.com>
5998
5999 PR gdb/22670
6000 * gdb.ada/access_tagged_param.exp: New file.
6001 * gdb.ada/access_tagged_param/foo.adb: New file.
6002
60032018-01-05 Pedro Alves <palves@redhat.com>
6004
6005 PR gdb/22670
6006 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
6007 exercise lower case too, and to exercise both full matching and
6008 wild matching.
6009
60102018-01-05 Joel Brobecker <brobecker@adacore.com>
6011
6012 * gdb.ada/rename_subscript_param: New testcase.
6013
60142018-01-05 Jerome Guitton <guitton@adacore.com>
6015
6016 * gdb.ada/arr_acc_idx_w_gap: New testcase.
6017
60182018-01-05 Joel Brobecker <brobecker@adacore.com>
6019
6020 * gdb.ada/convvar_comp: New testcase.
6021
60222018-01-05 Xavier Roirand <roirand@adacore.com>
6023
6024 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
6025 (My_Table): New global variable.
6026 * testsuite/gdb.ada/array_char_idx.exp: Add test.
6027
60282018-01-04 Joel Brobecker <brobecker@adacore.com>
6029
6030 PR gdb/22670
6031 * gdb.ada/maint_with_ada: New testcase.
6032
60332018-01-04 Joel Brobecker <brobecker@adacore.com>
6034
6035 PR gdb/22670
6036 * gdb.ada/bp_c_mixed_case: New testcase.
6037
60382018-01-04 Joel Brobecker <brobecker@adacore.com>
6039
6040 PR gdb/22670
6041 * gdb.ada/complete.exp: Add "complete break ada" test.
6042
60432018-01-04 Joel Brobecker <brobecker@adacore.com>
6044
6045 PR gdb/22670
6046 * gdb.ada/info_addr_mixed_case: New testcase.
6047
60482018-01-03 Xavier Roirand <roirand@adacore.com>
6049
6050 * gdb.ada/excep_handle.exp: New testcase.
6051 * gdb.ada/excep_handle/foo.adb: New file.
6052 * gdb.ada/excep_handle/pck.ads: New file.
6053
60542018-01-03 Joel Brobecker <brobecker@adacore.com>
6055
6056 * gdb.base/step-line.c: Add extra empty line in copyright header.
6057 * gdb.base/step-line.inp: Likewise.
6058
60592018-01-02 Joel Brobecker <brobecker@adacore.com>
6060
6061 * gdb.ada/dyn_stride.exp: Add slice test.
6062
60632018-01-02 Joel Brobecker <brobecker@adacore.com>
6064
6065 * gdb.ada/dyn_stride: New testcase.
6066
60672017-12-27 Stafford Horne <shorne@gmail.com>
6068
6069 * gdb.xml/extra-regs.xml: Add example foo reggroup.
6070 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
6071
60722017-12-27 Stafford Horne <shorne@gmail.com>
6073
6074 * gdb.base/reggroups.c: New file.
6075 * gdb.base/reggroups.exp: New file.
6076
60772017-12-18 Joel Brobecker <brobecker@adacore.com>
6078
6079 * gdb.dwarf2/ada-valprint-error.c: New file.
6080 * gdb.dwarf2/ada-valprint-error.exp: New file.
6081
60822017-12-18 Joel Brobecker <brobecker@adacore.com>
6083
6084 * gdb.ada/assign_arr: New testcase.
6085
60862017-12-18 Xavier Roirand <roirand@adacore.com>
6087
6088 * gdb.ada/funcall_ptr: New testcase.
6089
60902017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
6091
6092 PR cli/16224
6093 * gdb.base/ptype-offsets.cc: New file.
6094 * gdb.base/ptype-offsets.exp: New file.
6095
60962017-12-15 Yao Qi <yao.qi@linaro.org>
6097
6098 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
6099 if XML is disabled.
6100
61012017-12-15 Xavier Roirand <roirand@adacore.com>
6102
6103 * gdb.ada/same_component_name: New testcase.
6104
61052017-12-14 Joel Brobecker <brobecker@adacore.com>
6106
6107 * gdb.ada/str_binop_equal: New testcase.
6108
61092017-12-14 Joel Brobecker <brobecker@adacore.com>
6110
6111 * gdb.ada/task_switch_in_core: New testcase.
6112
61132017-12-13 Simon Marchi <simon.marchi@ericsson.com>
6114
6115 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
6116 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
6117 call test_bkpt_qualified.
6118 (test_bkpt_qualified): New proc.
6119
61202017-12-13 Pedro Alves <palves@redhat.com>
6121
6122 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
6123 Tighten regexp by matching with an anchor.
6124
61252017-12-13 Pedro Alves <palves@redhat.com>
6126
6127 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
6128 ("expression with namespace"): New set of tests.
6129 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
6130 (Nested::Test_NS::qux): New.
6131 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
6132 defaults to 'start_quote_char' and 'end_quote_char' parameters.
6133
61342017-12-13 Joel Brobecker <brobecker@adacore.com>
6135
6136 * gdb.base/server-del-break.c: New file.
6137 * gdb.base/server-del-break.exp: New file.
6138
61392017-12-12 Stafford Horne <shorne@gmail.com>
6140
6141 * gdb.xml/tdesc-regs.exp: Add or1k support.
6142
61432017-12-12 Stafford Horne <shorne@gmail.com>
6144
6145 * gdb.base/bp-permanent.c: Define nop of or1k.
6146
61472017-12-11 Joel Brobecker <brobecker@adacore.com>
6148
6149 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
6150 output with components being reordered.
6151
61522017-12-11 Joel Brobecker <brobecker@adacore.com>
6153
6154 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
6155 output with components being reordered.
6156
61572017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6158 Pedro Alves <palves@redhat.com>
6159
6160 * gdb.base/maint.exp (check for .gdb_index): Check also for
6161 .debug_names.
6162 * gdb.dlang/watch-loc.c (.debug_aranges): New.
6163 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
6164 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
6165 (.gdb_index used after symbol reloading): Support also .debug_names.
6166 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
6167
61682017-12-08 Yao Qi <yao.qi@linaro.org>
6169
6170 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
6171 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
6172
61732017-12-08 Yao Qi <yao.qi@linaro.org>
6174
6175 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
6176 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
6177
61782017-12-08 Yao Qi <yao.qi@linaro.org>
6179
6180 * gdb.arch/aarch64-tagged-pointer.c: New file.
6181 * gdb.arch/aarch64-tagged-pointer.exp: New file.
6182
61832017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
6184
6185 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
6186 "int".
6187
61882017-12-07 Keith Seitz <keiths@redhat.com>
6189
6190 PR breakpoints/22569
6191 * gdb.linespec/ls-errs.exp: Change expected result of "break
6192 -source this file has spaces.c -line 3".
6193 Check that an explicit source file followed by whitespace is
6194 identified as an invalid explicit location.
6195
61962017-12-07 Keith Seitz <keiths@redhat.com>
6197
6198 * gdb.cp/nested-types.cc: New file.
6199 * gdb.cp/nested-types.exp: New file.
6200 * lib/cp-support.exp: Load data-structures.exp library.
6201 (debug_cp_test_ptype_class): New global.
6202 (cp_ptype_class_verbose, next_line): New procedures.
6203 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
6204 Add and document new return value.
6205 Switch the list of lines to a queue.
6206 Add support for new `type' key for nested type definitions.
6207 Add debugging/troubleshooting messages.
6208 * lib/data-structures.exp: New file.
6209
62102017-12-07 Simon Marchi <simon.marchi@ericsson.com>
6211
6212 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
6213 with proc_with_prefix, don't use with_test_prefix.
6214
62152017-12-07 Tom Tromey <tom@tromey.com>
6216
6217 * gdb.base/break.exp: Add test for empty "commands".
6218
62192017-12-07 Yao Qi <yao.qi@linaro.org>
6220
6221 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
6222 malloc and catch syscall.
6223
62242017-12-07 Phil Muldoon <pmuldoon@redhat.com>
6225
6226 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
6227 tests for explicit locations.
6228
62292017-12-06 Pedro Alves <palves@redhat.com>
6230
6231 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
6232 force-disabling XML descriptions.
6233
62342017-12-04 Pedro Alves <palves@redhat.com>
6235
6236 PR gdb/22499
6237 * gdb.arch/amd64-disp-step-avx.S: New file.
6238 * gdb.arch/amd64-disp-step-avx.exp: New file.
6239
62402017-12-03 Pedro Alves <palves@redhat.com>
6241
6242 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
6243 and <string.h>.
6244 (parent_function): Print distinct messages when waitpid fails, or
6245 the child exits with a signal, or the child exits for an unhandled
6246 reason.
6247 * gdb.threads/process-dies-while-detaching.exp
6248 (detach_and_expect_exit): New 'inf_output_re' parameter and use
6249 it. Wait for both inferior output and GDB's prompt. Use an
6250 indirect spawn id list.
6251 (do_detach): New parameter 'child_exit'. Use it to compute
6252 expected inferior output.
6253 (test_detach, test_detach_watch, test_detach_killed_outside):
6254 Adjust to pass down the expected child exit kind.
6255
62562017-12-01 Joel Brobecker <brobecker@adacore.com>
6257 Sergio Durigan Junior <sergiodj@redhat.com>
6258 Pedro Alves <palves@redhat.com>
6259
6260 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
6261
62622017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
6263
6264 * gdb.base/relocate.exp: Add tests to guarantee that arguments
6265 to 'symbol-file' and 'add-symbol-file' can be
6266 position-independent.
6267
62682017-12-01 Yao Qi <yao.qi@linaro.org>
6269
6270 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
6271 the URL in copyright header.
6272 * gdb.arch/aarch64-fp.exp: Likewise.
6273 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
6274 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
6275 * gdb.base/expand-psymtabs.exp: Likewise.
6276 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
6277 * gdb.fortran/common-block.exp: Likewise.
6278 * gdb.fortran/common-block.f90: Likewise.
6279 * gdb.fortran/logical.exp: Likewise.
6280 * gdb.fortran/vla-datatypes.f90: Likewise.
6281 * gdb.fortran/vla-sub.f90: Likewise.
6282
62832017-11-30 Joel Brobecker <brobecker@adacore.com>
6284
6285 * gdb.ada/repeat_dyn: New testcase.
6286
62872017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
6288
6289 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
6290 Update for changed thread numbering.
6291 * gdb.cell/bt.exp: Update for changed GDB output.
6292
62932017-11-30 Simon Marchi <simon.marchi@ericsson.com>
6294
6295 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
6296 setting isremote by hand.
6297 * boards/dwarf4-gdb-index.exp: Likewise.
6298 * boards/fission.exp: Likewise.
6299 * boards/stabs.exp: Likewise.
6300
63012017-11-30 Pedro Alves <palves@redhat.com>
6302
6303 * gdb.linespec/cpls-ops.exp
6304 (check_explicit_skips_function_argument): Extract the underlying
6305 type of size_t instead of hardcoding it.
6306
63072017-11-29 Pedro Alves <palves@redhat.com>
6308
6309 PR c++/19436
6310 * gdb.linespec/cpls-abi-tag.cc: New file.
6311 * gdb.linespec/cpls-abi-tag.exp: New file.
6312
63132017-11-29 Pedro Alves <palves@redhat.com>
6314
6315 * gdb.base/langs.exp: Use -qualified.
6316 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
6317 it.
6318 * gdb.cp/namespace.exp: Use -qualified.
6319 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
6320 (overload-3, template-overload, template-ret-type, const-overload)
6321 (const-overload-quoted, anon-ns, ambiguous-prefix): New
6322 procedures.
6323 (test_driver): Call them.
6324 * gdb.cp/save-bp-qualified.cc: New.
6325 * gdb.cp/save-bp-qualified.exp: New.
6326 * gdb.linespec/explicit.exp: Test -qualified.
6327 * lib/completion-support.exp (completion::explicit_opts_list): Add
6328 "-qualified".
6329 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
6330
63312017-11-29 Phil Muldoon <pmuldoon@redhat.com>
6332
6333 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
6334
63352017-11-29 Tom Tromey <tom@tromey.com>
6336
6337 * gdb.base/relocate.exp: Update invalid argument test.
6338 Add new tests for invalid arguments.
6339
63402017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
6341
6342 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
6343 Return 0 as a long.
6344 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
6345
63462017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
6347
6348 * gdb.cp/breakpoint.cc (bar): Set return type to void.
6349 * gdb.cp/psymtab-parameter.cc (func): Likewise.
6350 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
6351 func ().
6352 * gdb.cp/shadow.cc (B.func): Return 0.
6353
63542017-11-27 Joel Brobecker <brobecker@adacore.com>
6355
6356 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
6357 expected output in gdb_expect call to allow the exception
6358 message to be present as well. Fix syntax confusion to avoid
6359 TCL thinking that exception_name is an array.
6360
63612017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
6362
6363 * gdb.arch/spu-info.c: Include <unistd.h>.
6364 (do_signal_test): Fix broken calls to write.
6365 * gdb.arch/spu-info.exp: Use prepare_for_testing.
6366 Fix checks for empty mailboxes. Update signal tests for corrected
6367 do_signal_test routine. Allow nonzero event status.
6368 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
6369 * gdb.cell/arch.exp: Use standard_output_file.
6370 * gdb.cell/break.exp: Likewise.
6371 * gdb.cell/bt.exp: Likewise.
6372 * gdb.cell/core.exp: Likewise.
6373 * gdb.cell/dwarfaddr.exp: Likewise.
6374 * gdb.cell/ea-cache.exp: Likewise.
6375 * gdb.cell/ea-standalone.exp: Likewise.
6376 * gdb.cell/f-regs.exp: Likewise.
6377 * gdb.cell/fork.exp: Likewise.
6378 * gdb.cell/gcore.exp: Likewise.
6379 * gdb.cell/mem-access.exp: Likewise.
6380 * gdb.cell/ptype.exp: Likewise.
6381 * gdb.cell/registers.exp: Likewise.
6382 * gdb.cell/sizeof.exp: Likewise.
6383 * gdb.cell/solib-symbol.exp: Likewise.
6384 * gdb.cell/solib.exp: Likewise.
6385
63862017-11-25 Pedro Alves <palves@redhat.com>
6387
6388 * gdb.base/complete-empty.exp: New file.
6389 * gdb.base/completion.exp: Adjust.
6390
63912017-11-25 Pedro Alves <palves@redhat.com>
6392
6393 * gdb.linespec/cpls-ops.cc: New file.
6394 * gdb.linespec/cpls-ops.exp: New file.
6395 * lib/completion-support.exp (test_complete_prefix_range_re): New,
6396 factored out from ...
6397 (test_complete_prefix_range): ... this.
6398
63992017-11-24 Pedro Alves <palves@redhat.com>
6400
6401 * gdb.linespec/cpcompletion.exp: New file.
6402 * gdb.linespec/cpls-hyphen.cc: New file.
6403 * gdb.linespec/cpls.cc: New file.
6404 * gdb.linespec/cpls2.cc: New file.
6405 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
6406 test to use test_gdb_complete_unique. Add label completion,
6407 keyword completion and explicit location completion tests.
6408 * lib/completion-support.exp: New file.
6409
64102017-11-24 Joel Brobecker <brobecker@adacore.com>
6411
6412 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
6413 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
6414 when hitting an exception catchpoint.
6415
64162017-11-22 Yao Qi <yao.qi@linaro.org>
6417
6418 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
6419
64202017-11-22 Simon Marchi <simon.marchi@ericsson.com>
6421
6422 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
6423 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
6424 * gdb.dwarf2/info-locals-optimized-out.c: New file.
6425
64262017-11-22 Yao Qi <yao.qi@linaro.org>
6427
6428 * gdb.base/info-os.exp: Pass pthreads.
6429 * gdb.multi/multi-attach.exp: Likewise.
6430
64312017-11-22 Yao Qi <yao.qi@linaro.org>
6432
6433 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
6434 compiler.
6435
64362017-11-22 Yao Qi <yao.qi@linaro.org>
6437
6438 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
6439 * gdb.base/break-interp.exp: Likewise.
6440 * gdb.base/jit-attach-pie.exp: Likewise.
6441
64422017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
6443
6444 * gdb.base/float128.c (large128): New variable.
6445 * gdb.base/float128.exp: Add test to print largest __float128 value.
6446
64472017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
6448
6449 * gdb.arch/vsx-regs.exp: Update register content checks.
6450
64512017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
6452
6453 * gdb.arch/ppc-longdouble.exp: New file.
6454 * gdb.arch/ppc-longdouble.c: Likewise.
6455
64562017-11-21 Pedro Alves <palves@redhat.com>
6457
6458 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
6459
64602017-11-20 Pedro Alves <palves@redhat.com>
6461
6462 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
6463 (long_double_typedef): New typedefs.
6464 Use DEF on double and long double.
6465 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
6466 cases.
6467 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
6468 and 'long_double_ptr_same_size' locals. Use them to decide
6469 whether cast from array/function to float is valid/invalid.
6470
64712017-11-17 Tom Tromey <tom@tromey.com>
6472
6473 * gdb.rust/traits.rs: New file.
6474 * gdb.rust/traits.exp: New file.
6475
64762017-11-17 Joel Brobecker <brobecker@adacore.com>
6477
6478 * gdb.ada/minsyms: New testcase.
6479
64802017-11-16 Pedro Alves <palves@redhat.com>
6481
6482 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
6483 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
6484
64852017-11-16 Pedro Alves <palves@redhat.com>
6486
6487 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
6488 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
6489
64902017-11-16 Pedro Alves <palves@redhat.com>
6491
6492 * gdb.server/reconnect-ctrl-c.c: New file.
6493 * gdb.server/reconnect-ctrl-c.exp: New file.
6494
64952017-11-16 Phil Muldoon <pmuldoon@redhat.com>
6496
6497 * gdb.python/py-rbreak.exp: New file.
6498 * gdb.python/py-rbreak.c: New file.
6499 * gdb.python/py-rbreak-func2.c: New file.
6500
65012017-11-16 Pedro Alves <palves@redhat.com>
6502
6503 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
6504 pattern.
6505 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
6506 GDB.
6507
65082017-11-15 Simon Marchi <simon.marchi@ericsson.com>
6509
6510 * gdb.tui/completionn.exp (test_tab_completion): Add space in
6511 regex.
6512
65132017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
6514
6515 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
6516 test names.
6517
65182017-11-09 Pedro Alves <palves@redhat.com>
6519
6520 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
6521 factored out from ...
6522 (top level): ... here, and adjusted to avoid expecting beyond the
6523 prompt in a single gdb_test_multiple.
6524
65252017-11-09 Pedro Alves <palves@redhat.com>
6526
6527 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
6528 output.
6529 * gdb.server/ext-attach.exp ("kill" test): Likewise.
6530 * gdb.server/ext-restart.exp ("kill" test): Likewise.
6531 * gdb.server/ext-run.exp ("kill" test): Likewise.
6532 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
6533
65342017-11-09 Pedro Alves <palves@redhat.com>
6535
6536 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
6537 match till end of line.
6538
65392017-11-09 Pedro Alves <palves@redhat.com>
6540
6541 * gdb.base/memattr.exp: Tighten regexes to match the end line.
6542
65432017-11-09 Pedro Alves <palves@redhat.com>
6544
6545 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
6546 New procedures, factored out from ...
6547 (top level): ... here, and adjusted to avoid expecting beyond the
6548 prompt in one go.
6549
65502017-11-09 Pedro Alves <palves@redhat.com>
6551
6552 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
6553 output. Fix '?' match.
6554
65552017-11-08 Joel Brobecker <brobecker@adacore.com>
6556
6557 * gdb.ada/scoped_watch: New testcase.
6558 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
6559 which is actually correct.
6560 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
6561 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
6562
65632017-11-08 Pedro Alves <palves@redhat.com>
6564
6565 * gdb.gdb/complaints.exp (test_initial_complaints)
6566 (test_serial_complaints, test_short_complaints): Call
6567 complaint_internal instead of complaint.
6568
65692017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
6570
6571 * gdb.threads/tls-core.c: New file.
6572 * gdb.threads/tls-core.exp: Likewise.
6573
65742017-11-08 Pedro Alves <palves@redhat.com>
6575
6576 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
6577 (p Exported_Capitalized): New test.
6578 (p exported_capitalized): New test.
6579
65802017-11-07 Pedro Alves <palves@redhat.com>
6581
6582 * gdb.cp/ena-dis-br-range.exp: Add more tests.
6583
65842017-11-07 Pedro Alves <palves@redhat.com>
6585
6586 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
6587 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
6588 (disable_invalid, disable_inverted, disable_negative): New
6589 procedures.
6590 ("bad numbers"): New set of tests.
6591
65922017-11-07 Pedro Alves <palves@redhat.com>
6593
6594 * gdb.cp/ena-dis-br-range.exp: Add tests.
6595
65962017-11-07 Pedro Alves <palves@redhat.com>
6597
6598 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
6599
66002017-11-07 Xavier Roirand <roirand@adacore.com>
6601 Pedro Alves <palves@redhat.com>
6602
6603 * gdb.base/ena-dis-br.exp: Add reference to
6604 gdb.cp/ena-dis-br-range.exp.
6605 * gdb.cp/ena-dis-br-range.exp: New file.
6606 * gdb.cp/ena-dis-br-range.cc: New file.
6607
66082017-11-06 Pedro Alves <palves@redhat.com>
6609
6610 * gdb.base/attach-non-pgrp-leader.c: New.
6611 * gdb.base/attach-non-pgrp-leader.exp: New.
6612
66132017-11-06 Pedro Alves <palves@redhat.com>
6614
6615 * configure.ac: No longer check for termio.h and sgtty.h.
6616 * configure: Regenerate.
6617 * remote-utils.c: Include termios.h instead of gdb_termios.h.
6618 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
6619 Remove termio and sgtty code.
6620
66212017-11-03 Yao Qi <yao.qi@linaro.org>
6622
6623 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
6624 in GDB is disabled.
6625
66262017-11-03 Yao Qi <yao.qi@linaro.org>
6627
6628 * gdb.python/py-thrhandle.exp: Skip it if python is not
6629 enabled.
6630
66312017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
6632
6633 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
6634 as a breakpoint command.
6635
66362017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
6637
6638 PR python/21213
6639 * gdb.python/py-infthread.exp: Test calling
6640 InferiorThread.inferior () multiple times in a row.
6641
66422017-10-27 Keith Seitz <keiths@redhat.com>
6643
6644 * gdb.opt/inline-break.exp (break_info_1): New procedure.
6645 Test "info break" for every inlined function breakpoint.
6646
66472017-10-27 Yao Qi <yao.qi@linaro.org>
6648
6649 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
6650
66512017-10-26 Patrick Frants <osscontribute@gmail.com>
6652
6653 * gdb.cp/classes.exp (test_static_members): Test printing
6654 Outer::instance.
6655 * gdb.cp/classes.c (struct Inner, struct Outer): New.
6656 (Inner::instance, Outer::instance): New.
6657
66582017-10-24 Pedro Alves <palves@redhat.com>
6659
6660 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
6661 extra console" test in two stages.
6662
66632017-10-24 Pedro Alves <palves@redhat.com>
6664
6665 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
6666
66672017-10-24 Pedro Alves <palves@redhat.com>
6668
6669 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
6670 loop.
6671
66722017-10-24 Pedro Alves <palves@redhat.com>
6673
6674 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
6675 $attempt" and "stoppedtry $stoppedtry" test prefixes.
6676
66772017-10-24 Pedro Alves <palves@redhat.com>
6678
6679 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
6680 parameter and handle it. Don't output read value in test name.
6681
66822017-10-24 Pedro Alves <palves@redhat.com>
6683
6684 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
6685 custom test name.
6686
66872017-10-24 Pedro Alves <palves@redhat.com>
6688
6689 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
6690 include the unstable output directory name in the test's name.
6691 (initial_setup_simple) <'set args'>: Use custom test name.
6692
66932017-10-24 Pedro Alves <palves@redhat.com>
6694
6695 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
6696 with explicit test name.
6697
66982017-10-20 Pedro Alves <palves@redhat.com>
6699
6700 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
6701 'wait -i'. Use gdb_assert and remote_close.
6702
67032017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
6704
6705 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
6706 number from variable rather than hard-coded.
6707
67082017-10-19 Pedro Alves <palves@redhat.com>
6709
6710 * gdb.base/long-inferior-output.c: New file.
6711 * gdb.base/long-inferior-output.exp: New file.
6712
67132017-11-18 Keith Seitz <keiths@redhat.com>
6714
6715 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
6716 method.
6717 (main): Call it.
6718 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
6719 Add additional user-defined conversion operator tests.
6720
67212017-10-17 Pedro Alves <palves@redhat.com>
6722
6723 * boards/native-stdio-gdbserver.exp: Load "local-board".
6724
67252017-10-17 Pedro Alves <palves@redhat.com>
6726
6727 * gdb.base/quit-live.c: New file.
6728 * gdb.base/quit-live.exp: New file.
6729
67302017-10-16 Keith Seitz <keiths@redhat.com>
6731
6732 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
6733 (class_with_protected_typedef, class_with_private_typedef)
6734 (struct_with_public_typedef, struct_with_protected_typedef)
6735 (struct_with_private_typedef): New classes/structs.
6736 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
6737 typedefs and access specifiers.
6738
67392017-10-16 Pedro Alves <palves@redhat.com>
6740 Simon Marchi <simon.marchi@polymtl.ca>
6741
6742 * README (Local vs Remote vs Native): New section.
6743 * boards/local-board.exp: New file, with bits factored out from
6744 ...
6745 * boards/native-extended-gdbserver.exp: ... here. Load
6746 "local-board".
6747 * boards/native-gdbserver.exp: Load "local-board".
6748 (${board}_spawn, ${board}_exec): Delete.
6749 * boards/native-stdio-gdbserver.exp: Most contents factored out to
6750 ...
6751 * boards/stdio-gdbserver-base.exp: ... this new file.
6752 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
6753 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
6754 procedure.
6755 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
6756 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
6757 stdio_gdbserver_command.
6758 (${board}_get_remote_address, ${board}_get_comm_port)
6759 (${board}_download, ${board}_upload): Delete.
6760 (get_target_remote_pipe_cmd): New.
6761
67622017-10-16 Simon Marchi <simon.marchi@ericsson.com>
6763
6764 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
6765 test_bkpt_deletion, test_bkpt_cond_and_cmds,
6766 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
6767 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
6768 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
6769 remove with_test_prefix.
6770
67712017-10-13 Pedro Alves <palves@redhat.com>
6772
6773 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
6774 * gdb.base/annota1.exp: Use it instead of is_remote.
6775 * gdb.base/annota3.exp: Use it instead of is_remote.
6776 * gdb.cp/annota2.exp: Use it instead of is_remote.
6777 * gdb.cp/annota3.exp: Use it instead of is_remote.
6778 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
6779
67802017-10-13 Pedro Alves <palves@redhat.com>
6781
6782 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
6783 (test_num_test_vars, run_and_count_vars, find_env)
6784 (test_set_unset_env, test_inherit_env_var): New procedures.
6785 (top level): Use them.
6786
67872017-10-13 Pedro Alves <palves@redhat.com>
6788
6789 * lib/selftest-support.exp (selftest_setup): Extend comments, and
6790 also skip on stub-like targets.
6791
67922017-10-13 Pedro Alves <palves@redhat.com>
6793
6794 PR gdb/22293
6795 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
6796 (top level): Move some tests to ...
6797 (test_not_found): ... this new procedure.
6798 (top level): Call it.
6799
68002017-10-13 Pedro Alves <palves@redhat.com>
6801
6802 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
6803 expect different "info terminal" output if testing with a
6804 non-native target.
6805
68062017-10-13 Pedro Alves <palves@redhat.com>
6807 Simon Marchi <simon.marchi@polymtl.ca>
6808
6809 PR python/12966
6810 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
6811
68122017-10-13 Pedro Alves <palves@redhat.com>
6813
6814 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
6815 already.
6816
68172017-10-13 Pedro Alves <palves@redhat.com>
6818
6819 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
6820 is_remote.
6821
68222017-10-13 Pedro Alves <palves@redhat.com>
6823
6824 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
6825 is_remote.
6826
68272017-10-13 Pedro Alves <palves@redhat.com>
6828
6829 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
6830 is set.
6831 (corefile_test_attach): Likewise. Check can_spawn_for_attach
6832 instead of is_remote.
6833
68342017-10-13 Pedro Alves <palves@redhat.com>
6835
6836 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
6837 (top level): Add comment.
6838
68392017-10-13 Pedro Alves <palves@redhat.com>
6840
6841 * gdb.base/remote.exp (top level): Fix comment typo and add
6842 missing return.
6843
68442017-10-13 Pedro Alves <palves@redhat.com>
6845 Simon Marchi <simon.marchi@polymtl.ca>
6846
6847 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
6848 calls and add comments. Skip test if use_gdb_stub is set.
6849 (top level): Use "set cwd" command instead of "cd" command.
6850
68512017-10-13 Pedro Alves <palves@redhat.com>
6852
6853 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
6854 is_remote target check.
6855
68562017-10-13 Pedro Alves <palves@redhat.com>
6857
6858 * gdb.base/scope.exp: Use build_executable + clean_restart +
6859 gdb_file_cmd instead of prepare_for_testing and no longer skip
6860 "before run" tests on is_remote target boards. Update comments.
6861 * boards/native-extended-gdbserver.exp
6862 (extended_gdbserver_load_last_file): New, factored out from ...
6863 (gdb_load): ... this. Move further below and add comment.
6864 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
6865
68662017-10-12 Pedro Alves <palves@redhat.com>
6867
6868 * gdb.base/attach.exp: Remove references to gdb64.
6869 * gdb.base/dbx.exp: Remove references to gdb64.
6870
68712017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
6872 Pedro Alves <palves@redhat.com>
6873
6874 * gdb.base/label.exp: Remove is_remote target check.
6875
68762017-10-12 Pedro Alves <palves@redhat.com>
6877
6878 * gdb.base/auvx.exp (coredir): Update comment.
6879 (top level) <core_works>: Use "set cwd" command instead of "cd"
6880 command.
6881
68822017-10-12 Pedro Alves <palves@redhat.com>
6883 Simon Marchi <simon.marchi@polymtl.ca>
6884
6885 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
6886 target boards.
6887
68882017-10-12 Pedro Alves <palves@redhat.com>
6889 Simon Marchi <simon.marchi@polymtl.ca>
6890
6891 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
6892 Instead skip if there's any gdb_protocol set.
6893
68942017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
6895 Pedro Alves <palves@redhat.com>
6896
6897 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
6898
68992017-10-12 Pedro Alves <palves@redhat.com>
6900 Simon Marchi <simon.marchi@polymtl.ca>
6901
6902 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
6903 instead of on dejagnu remote boards.
6904
69052017-10-12 Pedro Alves <palves@redhat.com>
6906 Simon Marchi <simon.marchi@polymtl.ca>
6907
6908 * gdb.base/inferior-died.exp: Remove is_remote and isnative
6909 checks. Use build_executable + clean_restart instead of
6910 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
6911 of enabling non-stop after starting gdb.
6912
69132017-10-12 Pedro Alves <palves@redhat.com>
6914
6915 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
6916 * gdb.threads/non-ldr-exc-2.exp: Ditto.
6917 * gdb.threads/non-ldr-exc-3.exp: Ditto.
6918 * gdb.threads/non-ldr-exc-4.exp: Ditto.
6919
69202017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
6921
6922 * gdb.arch/arc-tdesc-cpu.exp: New file.
6923 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
6924
69252017-10-10 Simon Marchi <simon.marchi@ericsson.com>
6926
6927 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
6928
69292017-10-10 Pedro Alves <palves@redhat.com>
6930
6931 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
6932 expect CLI output.
6933
69342017-10-10 Pedro Alves <palves@redhat.com>
6935
6936 * lib/selftest-support.exp (selftest_setup): Update for
6937 captured_command_loop's prototype change.
6938
69392017-10-09 Pedro Alves <palves@redhat.com>
6940
6941 Test both arch1=>arch2 and arch2=>arch1.
6942
6943 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
6944 (srcfile2, binfile2, march1, march2): Remove globals. Largely
6945 factored out to...
6946 (append_arch1_options, append_arch2_options, append_arch_options)
6947 (build_executables): New procedures.
6948 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
6949 local.
6950 (top level): Add new 'first_arch' testing axis.
6951
69522017-10-09 Pedro Alves <palves@redhat.com>
6953
6954 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
6955 (barrier): New.
6956 (thread_start, all_started): New functions.
6957 (main): Spawn new thread and wait until it is scheduled.
6958 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
6959 option.
6960 (do_test): Add 'selected_thread' parameter. Run to all_started
6961 instead of main. Explicitly set the breakpoint at main. Switch
6962 to the SELECTED_THREAD thread.
6963 (top level): Test handling the exec event with either the main
6964 thread or the second thread selected.
6965
69662017-10-09 Pedro Alves <palves@redhat.com>
6967
6968 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
6969 logic. Move STOP marker after the value checks.
6970 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
6971 regexp.
6972
69732017-10-06 Sandra Loosemore <sandra@codesourcery.com>
6974
6975 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
6976
69772017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
6978
6979 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
6980 integer-to-dfp conversion.
6981 * gdb.base/dfp-test.exp: Likewise.
6982
69832017-10-04 Pedro Alves <palves@redhat.com>
6984
6985 * gdb.multi/hangout.c: Include <unistd.h>.
6986 (hangout_loop): New function.
6987 (main): Call alarm. Call hangout_loop in a loop.
6988 * gdb.multi/hello.c: Include <unistd.h>.
6989 (hello_loop): New function.
6990 (main): Call alarm. Call hangout_loop in a loop.
6991 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
6992 inferior with the other selected.
6993
69942017-10-04 Simon Marchi <simon.marchi@ericsson.com>
6995
6996 * gdb.mi/list-thread-groups-available.exp: New file.
6997 * gdb.mi/list-thread-groups-available.c: New file.
6998
69992017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
7000
7001 * gdb.base/set-cwd.exp: Make it available on
7002 native-extended-gdbserver.
7003
70042017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
7005
7006 * gdb.base/set-cwd.c: New file.
7007 * gdb.base/set-cwd.exp: Likewise.
7008
70092017-10-02 Tom Tromey <tom@tromey.com>
7010
7011 PR rust/22236:
7012 * gdb.rust/simple.rs (main): New variable "fslice".
7013 * gdb.rust/simple.exp: Add slice tests. Update string tests.
7014
70152017-10-02 Tom Tromey <tom@tromey.com>
7016
7017 * gdb.rust/simple.exp: Test ptype of a slice.
7018
70192017-10-02 Tom Tromey <tom@tromey.com>
7020
7021 * gdb.rust/simple.exp: Test index of slice.
7022
70232017-09-27 Tom Tromey <tom@tromey.com>
7024
7025 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
7026
70272017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
7028 Pedro Alves <palves@redhat.com>
7029
7030 * gdb.base/compare-sections.exp (get value of read-only section): Read
7031 as unsigned value.
7032 (corrupt read-only section): Likewise and don't set written if patching
7033 failed.
7034
70352017-09-21 Kevin Buettner <kevinb@redhat.com>
7036
7037 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
7038 files.
7039
70402017-09-20 Pedro Alves <palves@redhat.com>
7041
7042 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
7043 symbol names in gdb's output.
7044 * gdb.cp/overload.exp ("list all overloads"): Likewise.
7045
70462017-09-20 Pedro Alves <palves@redhat.com>
7047
7048 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
7049 Rename to ...
7050 (test_list_ambiguous_symbol): ... this and add a symbol name
7051 parameter. Adjust.
7052 (test_list_ambiguous_function): Reimplement on top of
7053 test_list_ambiguous_symbol and also test listing ambiguous
7054 variables.
7055 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
7056 (ambiguous_fun): ... this.
7057 (ambiguous_var): New.
7058 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
7059 (ambiguous_fun): ... this.
7060 (ambiguous_var): New.
7061
70622017-09-19 John Baldwin <jhb@FreeBSD.org>
7063
7064 * gdb.base/starti.c: New file.
7065 * gdb.base/starti.exp: New file.
7066 * lib/gdb.exp (gdb_starti_cmd): New procedure.
7067
70682017-09-14 Pedro Alves <palves@redhat.com>
7069
7070 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
7071 (top level): Use it instead of runto.
7072
70732017-09-11 Tom Tromey <tom@tromey.com>
7074
7075 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
7076
70772017-09-11 Tom Tromey <tom@tromey.com>
7078
7079 * gdb.python/py-infthread.exp: Add tests for new_thread event.
7080 * gdb.python/py-inferior.exp: Add tests for new inferior events.
7081
70822017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
7083
7084 * gdb.fortran/printing-types.exp: New file.
7085 * gdb.fortran/printing-types.exp: New file.
7086
70872017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
7088
7089 * gdb.fortran/vla-ptype.exp: Fix typos.
7090 * gdb.fortran/vla-value.exp: Same.
7091
70922017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
7093
7094 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
7095 * gdb.mi/mi-var-child-f.exp: Likewise.
7096 * gdb.mi/mi-vla-fortran.exp: Likewise.
7097
70982017-09-08 Frank Penczek <frank.penczek@intel.com>
7099 Christoph Weinmann <christoph.t.weinmann@intel.com>
7100 Bernhard Heckel <bernhard.heckel@intel.com>
7101
7102 * gdb.fortran/ptr-indentation.f90: New file.
7103 * gdb.fortran/ptr-indentation.exp: New file.
7104
71052017-09-05 Tom Tromey <tom@tromey.com>
7106
7107 PR gdb/22010:
7108 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
7109
71102017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
7111
7112 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
7113
71142017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7115
7116 * gdb.threads/tls-nodebug-pie.c: New file.
7117 * gdb.threads/tls-nodebug-pie.exp: New file.
7118
71192017-09-05 Tom Tromey <tom@tromey.com>
7120
7121 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
7122 for rust.
7123
71242017-09-05 Simon Marchi <simon.marchi@ericsson.com>
7125
7126 * gdb.multi/multi-arch-exec.exp: Test with different
7127 "follow-exec-mode" settings.
7128 (do_test): New procedure.
7129
71302017-09-04 Pedro Alves <palves@redhat.com>
7131
7132 * gdb.base/func-static.c (S::method const, S::method volatile)
7133 (S::method volatile const): New methods.
7134 (c_s, v_s, cv_s): New instances.
7135 (main): Call method() on them.
7136 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
7137 (cannot_resolve): New procedure.
7138 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
7139 print-quote-unquoted columns.
7140 (do_test): Test printing each scope too.
7141
71422017-09-04 Pedro Alves <palves@redhat.com>
7143
7144 * gdb.base/local-static.exp: Also test with
7145 class::method::variable wholly quoted.
7146 * gdb.cp/m-static.exp (class::method::variable): Remove test.
7147
71482017-09-04 Pedro Alves <palves@redhat.com>
7149
7150 * gdb.base/local-static.c: New.
7151 * gdb.base/local-static.cc: New.
7152 * gdb.base/local-static.exp: New.
7153
71542017-09-04 Pedro Alves <palves@redhat.com>
7155
7156 * gdb.asm/asm-source.exp: Add casts to int.
7157 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
7158 (dataglobal64_1, dataglobal64_2): New globals.
7159 * gdb.base/nodebug.exp: Test different expressions involving the
7160 new globals, with print, whatis and ptype. Add casts to int.
7161 * gdb.base/solib-display.exp: Add casts to int.
7162 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
7163 * gdb.cp/m-static.exp: Add cast to int.
7164 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
7165 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
7166 tls variable with no debug info without a cast. Test with a cast
7167 to int too.
7168 * gdb.trace/entry-values.exp: Add casts.
7169
71702017-09-04 Pedro Alves <palves@redhat.com>
7171
7172 * gdb.base/nodebug.exp: Test that ptype's error about functions
7173 with unknown return type includes the function name too.
7174
71752017-09-04 Pedro Alves <palves@redhat.com>
7176
7177 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
7178 return type of munmap in infcall.
7179 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
7180 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
7181 type of ftell in infcall.
7182 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
7183 type of getpid in infcall.
7184 * gdb.base/infcall-exec.exp: Cast return type of execlp in
7185 infcall.
7186 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
7187 Bail on failure to extract the pid.
7188 * gdb.base/nodebug.c: #include <stdint.h>.
7189 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
7190 New functions.
7191 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
7192 Change expected output of print/whatis/ptype with functions with
7193 no debug info. Test all supported languages. Call
7194 test_call_promotion.
7195 * gdb.compile/compile.exp: Adjust expected output to expect
7196 warning.
7197 * gdb.threads/siginfo-threads.exp: Likewise.
7198
71992017-09-04 Pedro Alves <palves@redhat.com>
7200
7201 * gdb.base/callfuncs.exp (do_function_calls): New parameter
7202 "prototypes". Test calling float functions via prototyped and
7203 unprototyped function pointers.
7204 (perform_all_tests): New parameter "prototypes". Pass it down.
7205 (top level): Pass down "prototypes" parameter to
7206 perform_all_tests.
7207
72082017-09-04 Simon Marchi <simon.marchi@ericsson.com>
7209
7210 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
7211 Test with nested loops.
7212
72132017-09-04 Simon Marchi <simon.marchi@ericsson.com>
7214
7215 * gdb.base/commands.exp: Call the new procedures.
7216 (loop_break_test, loop_continue_test): New procedures.
7217
72182017-09-04 Simon Marchi <simon.marchi@ericsson.com>
7219
7220 * gdb.base/commands.exp: Call new procedure.
7221 (define_if_without_arg_test): New procedure.
7222
72232017-09-04 Pedro Alves <palves@redhat.com>
7224
7225 * gdb.base/list-ambiguous.exp: New file.
7226 * gdb.base/list-ambiguous0.c: New file.
7227 * gdb.base/list-ambiguous1.c: New file.
7228 * gdb.base/list.exp (test_list_range): Adjust expected output.
7229
72302017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
7231
7232 * gdb.base/share-env-with-gdbserver.c: New file.
7233 * gdb.base/share-env-with-gdbserver.exp: Likewise.
7234
72352017-08-28 Simon Marchi <simon.marchi@ericsson.com>
7236
7237 * gdb.base/commands.exp (gdbvar_simple_if_test,
7238 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
7239 progvar_simple_if_test, progvar_simple_while_test,
7240 progvar_complex_if_while_test, user_defined_command_test,
7241 user_defined_command_args_eval,
7242 user_defined_command_args_stack_test,
7243 user_defined_command_manyargs_test, bp_deleted_in_command_test,
7244 temporary_breakpoint_commands,
7245 gdb_test_no_prompt, redefine_hook_test,
7246 redefine_backtrace_test): Remove "global gdb_prompt".
7247
72482017-08-28 Simon Marchi <simon.marchi@ericsson.com>
7249
7250 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
7251 New proc, call it from toplevel.
7252
72532017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
7254
7255 PR remote/21852
7256 * gdb.server/normal.c: New file, copied from gdb.base.
7257 * gdb.server/run-without-local-binary.exp: New file.
7258
72592017-08-07 Weimin Pan <weimin.pan@oracle.com>
7260
7261 * gdb.arch/sparc64-adi.exp: New file.
7262 * gdb.arch/sparc64-adi.c: New file.
7263
72642017-08-22 Pedro Alves <palves@redhat.com>
7265
7266 * gdb.cp/overload.exp (line_range_pattern): New procedure.
7267 (top level): Add "list all overloads" tests.
7268
72692017-08-22 Tom Tromey <tom@tromey.com>
7270
7271 * gdb.gdb/xfullpath.exp: Remove.
7272
72732017-08-21 Pedro Alves <palves@redhat.com>
7274
7275 PR gdb/19487
7276 * gdb.base/symbol-alias.c: New.
7277 * gdb.base/symbol-alias2.c: New.
7278 * gdb.base/symbol-alias.exp: New.
7279
72802017-08-21 Pedro Alves <palves@redhat.com>
7281
7282 * gdb.base/dfp-test.c
7283 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
7284 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
7285 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
7286 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
7287 * gdb.base/whatis-ptype-typedefs.c: New.
7288 * gdb.base/whatis-ptype-typedefs.exp: New.
7289 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
7290 (an_int, an_int_type, an_int_type2): New globals.
7291 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
7292 involving typedefs and cast expressions.
7293 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
7294 (lookup_typedefs_function): New.
7295 (typedefs_pretty_printers_dict): New.
7296 (top level): Register lookup_typedefs_function in
7297 gdb.pretty_printers.
7298
72992017-08-18 Yao Qi <yao.qi@linaro.org>
7300
7301 * gdb.server/unittest.exp: New.
7302
73032017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
7304
7305 PR gdb/21954
7306 * gdb.base/environ.exp: Add test to check if 'unset environment'
7307 works.
7308
73092017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7310
7311 * lib/gdb.exp (universal_compile_options): New caching proc.
7312 (gdb_compile): Suppress GCC's coloring of messages.
7313
73142017-08-14 Tom Tromey <tom@tromey.com>
7315
7316 PR gdb/21675:
7317 * gdb.base/printcmds.exp (test_radices): New function.
7318 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
7319 * gdb.base/sizeof.exp (check_valueof): Use p/d.
7320 * lib/gdb.exp (get_integer_valueof): Use p/d.
7321
73222017-08-12 Simon Marchi <simon.marchi@ericsson.com>
7323
7324 * lib/gdb.exp (get_valueof): Don't capture end-of-line
7325 characters.
7326
73272017-08-05 Tom Tromey <tom@tromey.com>
7328
7329 * gdb.rust/simple.exp: Allow String to appear in a different
7330 namespace.
7331
73322017-07-26 Yao Qi <yao.qi@linaro.org>
7333
7334 * gdb.gdb/unittest.exp: Invoke command
7335 "maintenance check xml-descriptions".
7336
73372017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
7338
7339 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
7340 calling context.
7341 (hex128): Drop erroneous calculation of parameters.
7342
73432017-07-22 Simon Marchi <simon.marchi@ericsson.com>
7344
7345 * gdb.python/py-unwind.exp: Disable stack protection when
7346 building test file.
7347
73482017-07-20 Pedro Alves <palves@redhat.com>
7349
7350 * gdb.base/default.exp (set language): Adjust expected output.
7351
73522017-07-20 Pedro Alves <palves@redhat.com>
7353
7354 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
7355 (test_minsym): ... this, and make static.
7356 (get_pck__foo__bar__minsym): Rename to ...
7357 (get_test_minsym): ... this.
7358 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
7359 symbol names and comments.
7360 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
7361 (get_test_minsym): ... this.
7362 (pck__foo__bar__minsym__2): Rename to ...
7363 (test_minsym): ... this.
7364 (main): Adjust.
7365
73662017-07-17 Pedro Alves <palves@redhat.com>
7367
7368 * gdb.base/completion.exp: Adjust expected output.
7369 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
7370 the completer works.
7371
73722017-07-17 Pedro Alves <palves@redhat.com>
7373
7374 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
7375
73762017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
7377
7378 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
7379
73802017-07-14 Tom Tromey <tom@tromey.com>
7381
7382 PR rust/21764:
7383 * gdb.rust/simple.exp: Add tests.
7384
73852017-07-14 Tom Tromey <tom@tromey.com>
7386
7387 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
7388
73892017-07-14 Pedro Alves <palves@redhat.com>
7390
7391 * gdb.linespec/base/one/thefile.cc (z1): New function.
7392 * gdb.linespec/base/two/thefile.cc (z2): New function.
7393 * gdb.linespec/linespec.exp: Add tests.
7394
73952017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
7396
7397 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
7398 to mi_create_breakpoint.
7399
74002017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
7401
7402 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
7403 mi_create_breakpoint.
7404
74052017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
7406
7407 * gdb.dlang/demangle.exp: Update for demangling changes.
7408
74092017-07-09 Tom Tromey <tom@tromey.com>
7410
7411 * gdb.dwarf2/shortpiece.exp: New file.
7412
74132017-07-06 David Blaikie <dblaikie@gmail.com>
7414
7415 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
7416 built from fissiont-multi-cu{1,2}.c.
7417 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
7418 except putting 'main' and 'func' in separate CUs in the same DWO file.
7419 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
7420 test.
7421 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
7422 test.
7423
74242017-07-06 Pedro Alves <palves@redhat.com>
7425
7426 * gdb.python/py-unwind.exp: Test flushregs.
7427
74282017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
7429
7430 PR cli/21688
7431 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
7432 tests for alias commands and trailing whitespace.
7433
74342017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
7435
7436 PR cli/21688
7437 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
7438 procedure. Call it.
7439
74402017-06-29 Pedro Alves <palves@redhat.com>
7441
7442 * gdb.base/printcmds.exp: Add tests.
7443
74442017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
7445
7446 PR gdb/21337
7447 * gdb.base/reread-readsym.exp: New file.
7448 * gdb.base/reread-readsym.c: New file.
7449
74502017-06-21 Kevin Buettner <kevinb@redhat.com>
7451
7452 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
7453 subpattern.
7454
74552017-06-19 Peter Bergner <bergner@vnet.ibm.com>
7456
7457 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
7458 extended mnemonic.
7459 * gdb.arch/powerpc-power9.s: Likewise.
7460
74612017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7462
7463 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
7464 on 32-bit x86 targets. Exploit is_*_target macros where
7465 appropriate.
7466
74672017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7468
7469 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
7470 register pieces.
7471
74722017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7473
7474 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
7475 located in one or more DWARF pieces.
7476
74772017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7478
7479 * lib/gdb.exp (get_endianness): New proc.
7480 * gdb.arch/aarch64-fp.exp: Use it.
7481 * gdb.arch/altivec-regs.exp: Likewise.
7482 * gdb.arch/e500-regs.exp: Likewise.
7483 * gdb.arch/vsx-regs.exp: Likewise.
7484 * gdb.base/dump.exp: Likewise.
7485 * gdb.base/funcargs.exp: Likewise.
7486 * gdb.base/gnu_vector.exp: Likewise.
7487 * gdb.dwarf2/formdata16.exp: Likewise.
7488 * gdb.dwarf2/implptrpiece.exp: Likewise.
7489 * gdb.dwarf2/nonvar-access.exp: Likewise.
7490 * gdb.python/py-inferior.exp: Likewise.
7491 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
7492
74932017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7494
7495 PR gdb/21226
7496 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
7497 stack value pieces are taken from the LSB end.
7498
74992017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7500
7501 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
7502 variable at nonzero offset.
7503
75042017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7505
7506 * gdb.dwarf2/var-access.c: New file.
7507 * gdb.dwarf2/var-access.exp: New test.
7508 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
7509
75102017-06-12 Tom Tromey <tom@tromey.com>
7511
7512 * gdb.dwarf2/formdata16.exp: Add tests.
7513
75142017-06-12 Tom Tromey <tom@tromey.com>
7515
7516 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
7517
75182017-06-12 Tom Tromey <tom@tromey.com>
7519
7520 PR exp/16225:
7521 * gdb.reverse/i386-sse-reverse.exp: Update tests.
7522 * gdb.arch/vsx-regs.exp: Update tests.
7523 * gdb.arch/s390-vregs.exp (hex128): New proc.
7524 Update test.
7525 * gdb.arch/altivec-regs.exp: Update tests.
7526
75272017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
7528
7529 * gdb.base/startup-with-shell.c: New file.
7530 * gdb.base/startup-with-shell.exp: Likewise.
7531
75322017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
7533
7534 * gdb.server/non-existing-program.exp: Update regex in order to
7535 reflect the fact that gdbserver is now using fork_inferior (with a
7536 shell) to startup the inferior.
7537
75382017-05-30 Simon Marchi <simon.marchi@ericsson.com>
7539
7540 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
7541 support function calls from GDB.
7542
75432017-05-21 Tom Tromey <tom@tromey.com>
7544
7545 PR rust/21466:
7546 * gdb.rust/unsized.exp: New file.
7547 * gdb.rust/unsized.rs: New file.
7548
75492017-05-19 Tom Tromey <tom@tromey.com>
7550
7551 PR rust/21484:
7552 * gdb.rust/watch.exp: New file.
7553 * gdb.rust/watch.rs: New file.
7554
75552017-05-18 Tom Tromey <tom@tromey.com>
7556
7557 * gdb.rust/simple.exp: Allow Box to be qualified.
7558
75592017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
7560
7561 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
7562
75632017-05-18 Pedro Alves <palves@redhat.com>
7564
7565 * gdb.base/fileio.c (test_write, test_read, test_close)
7566 (test_fstat): Don't print 'ret' in the fail path.
7567
75682017-05-18 Pedro Alves <palves@redhat.com>
7569
7570 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
7571 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
7572 (test_system, test_rename, test_unlink, test_time): Change
7573 prototypes.
7574 * gdb.base/fileio.exp (stop_msg): Adjust.
7575
75762017-05-18 Pedro Alves <palves@redhat.com>
7577
7578 * gdb.base/fileio.c (null_str): New global.
7579 (test_stat): Use it.
7580 * gdb.base/fileio.exp: Remove nowarnings.
7581
75822017-05-17 Yao Qi <yao.qi@linaro.org>
7583
7584 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
7585
75862017-05-17 Simon Marchi <simon.marchi@ericsson.com>
7587
7588 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
7589 argument command.
7590 (top-level): Invoke test_set_inferior_tty.
7591
75922017-05-04 Pedro Alves <palves@redhat.com>
7593
7594 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
7595 Add parens to print call for Python 3.
7596
75972017-05-03 Keith Seitz <keiths@redhat.com>
7598
7599 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
7600 (main): Call it.
7601
76022017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7603
7604 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
7605 to prev and next.
7606
76072017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7608
7609 * gdb.python/py-record-btrace.exp: Remove test for
7610 gdb.BtraceInstruction.error.
7611
76122017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7613
7614 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
7615
76162017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7617
7618 * gdb.python/py-record-btrace-threads.c: New file.
7619 * gdb.python/py-record-btrace-threads.exp: New file.
7620
76212017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
7622
7623 PR testsuite/8595
7624 * gdb.base/environ.exp: Make test available in all architectures.
7625 Move bits related to "info program" testing to
7626 gdb.base/info-program.exp. Rewrite tests to use the two new
7627 procedures mentione below.
7628 (test_set_show_env_var) New procedure.
7629 (test_set_show_env_var_equal): Likewise.
7630 * gdb.base/info-program.exp: New file.
7631
76322017-04-27 Keith Seitz <keiths@redhat.com>
7633
7634 * gdb.cp/oranking.cc (test15): New function.
7635 (main): Call test15 and declare additional variables for testing.
7636 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
7637 "p foo101('abc')" tests.
7638 Add tests for cv qualifier overloads.
7639 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
7640 "lvalue reference overload" test.
7641 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
7642 "print value of f1 on Child&& in f2" test.
7643
76442017-04-19 Pedro Alves <palves@redhat.com>
7645
7646 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
7647 procedure.
7648 (top level): Call it.
7649 * lib/gdb.exp (gdb_define_cmd): New procedure.
7650
76512017-04-12 Pedro Alves <palves@redhat.com>
7652
7653 PR gdb/21323
7654 * gdb.cp/wide_char_types.c: Include <wchar.h>.
7655 (wchar): New global.
7656 * gdb.cp/wide_char_types.exp (wide_char_types_program)
7657 (do_test_wide_char, wide_char_types_no_program, top level): Add
7658 wchar_t testing.
7659
76602017-04-12 Pedro Alves <palves@redhat.com>
7661
7662 PR c++/21323
7663 * gdb.cp/wide_char_types.c: New file.
7664 * gdb.cp/wide_char_types.exp: New file.
7665
76662017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
7667
7668 PR gdb/21352
7669 * gdb.trace/tsv.exp: Add test for "tsave -r".
7670
76712017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
7672
7673 * gdb.dlang/watch-loc.c: New file.
7674 * gdb.dlang/watch-loc.exp: New file.
7675
76762017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7677
7678 * gdb.python/py-section-script.exp (sepdebug): New testcases.
7679
76802017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
7681
7682 * gdb.arch/arc-analyze-prologue.S: New file.
7683 * gdb.arch/arc-analyze-prologue.exp: Likewise.
7684
76852017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
7686
7687 * gdb.arch/arc-decode-insn.S: New file.
7688 * gdb.arch/arc-decode-insn.exp: Likewise.
7689
76902017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
7691
7692 PR tdep/20928
7693 * gdb.arch/sparc64-regs.exp: New file.
7694 * gdb.arch/sparc64-regs.S: Likewise.
7695
76962017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
7697
7698 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
7699 and memory view on Python 3.
7700
77012017-03-20 Artemiy Volkov <artemiyv@acm.org>
7702 Keith Seitz <keiths@redhat.com>
7703
7704 PR gdb/14441
7705 * gdb.cp/demangle.exp: Add rvalue reference tests.
7706 * gdb.cp/rvalue-ref-casts.cc: New file.
7707 * gdb.cp/rvalue-ref-casts.exp: New file.
7708 * gdb.cp/rvalue-ref-overload.cc: New file.
7709 * gdb.cp/rvalue-ref-overload.exp: New file.
7710 * gdb.cp/rvalue-ref-params.cc: New file.
7711 * gdb.cp/rvalue-ref-params.exp: New file.
7712 * gdb.cp/rvalue-ref-sizeof.cc: New file.
7713 * gdb.cp/rvalue-ref-sizeof.exp: New file.
7714 * gdb.cp/rvalue-ref-types.cc: New file.
7715 * gdb.cp/rvalue-ref-types.exp: New file.
7716 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
7717 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
7718
77192017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
7720
7721 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
7722 New procedure.
7723
77242017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
7725
7726 * lib/mi-support.exp (mi_gdb_test): Add additional message
7727 for unexpected output.
7728
77292017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
7730
7731 * gdb.base/examine-backward.c (Barrier): New character array
7732 constant, to ensure that TestStrings is preceded by a string
7733 terminator.
7734
77352017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7736
7737 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
7738 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
7739 and implicit pointer into such a location.
7740
77412017-03-16 Doug Evans <dje@google.com>
7742
7743 * gdb.python/py-lazy-string (pointer): Really add new typedef.
7744
77452017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
7746
7747 * gdb.cp/m-static.exp: Fix expectation for prototype of
7748 test5.single_constructor and single_constructor::single_constructor.
7749
77502017-03-16 Doug Evans <dje@google.com>
7751
7752 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
7753 * gdb.guile/scm-lazy-string.c: New file.
7754 * gdb.guile/scm-value.exp: Move lazy string tests to ...
7755 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
7756 for pointer, array, typedef lazy strings.
7757
77582017-03-16 Doug Evans <dje@google.com>
7759
7760 PR python/17728, python/18439, python/18779
7761 * gdb.python/py-value.c (main) Delete locals sptr, sn.
7762 * gdb.python/py-lazy-string.c (pointer): New typedef.
7763 (main): New locals ptr, array, typedef_ptr.
7764 * gdb.python/py-value.exp: Move lazy string tests to ...
7765 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
7766 array, typedef lazy strings.
7767
77682017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
7769
7770 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
7771 Add optional 'test' parameter.
7772
77732017-03-13 Simon Marchi <simon.marchi@ericsson.com>
7774
7775 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
7776 Skip for versions of DejaGnu < 1.5.
7777
77782017-03-13 Simon Marchi <simon.marchi@ericsson.com>
7779
7780 * lib/gdb.exp (dejagnu_version): New proc.
7781 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
7782 Use dejagnu_version.
7783
77842017-03-10 Keith Seitz <keiths@redhat.com>
7785
7786 PR c++/8128
7787 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
7788 type from destructor regexps.
7789 Add a branch which actually passes the test.
7790 Adjust "ptype t5i" test names.
7791
77922017-03-08 Pedro Alves <palves@redhat.com>
7793
7794 * gdb.base/step-over-exit.exp: Add explicit test message.
7795
77962017-03-08 Pedro Alves <palves@redhat.com>
7797
7798 PR gdb/18360
7799 * gdb.threads/interrupt-while-step-over.c: New file.
7800 * gdb.threads/interrupt-while-step-over.exp: New file.
7801
78022017-03-08 Pedro Alves <palves@redhat.com>
7803
7804 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
7805 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
7806
78072017-03-08 Pedro Alves <palves@redhat.com>
7808
7809 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
7810 PKRU as not supported as a PASS.
7811
78122017-03-08 Pedro Alves <palves@redhat.com>
7813
7814 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
7815 prefix instead of $binfile1/$binfile2.
7816 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
7817 in test message.
7818 * gdb.python/py-completion.exp: Use "load python file" as test
7819 messages instead of unstable path names.
7820
78212017-03-08 Pedro Alves <palves@redhat.com>
7822 Jan Kratochvil <jan.kratochvil@redhat.com>
7823
7824 PR cli/21218
7825 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
7826 New proc.
7827 (top level): Call it.
7828
78292017-03-08 Pedro Alves <palves@redhat.com>
7830
7831 PR tui/21216
7832 * gdb.tui/tui-nl-filtered-output.exp: New file.
7833
78342017-03-08 Pedro Alves <palves@redhat.com>
7835
7836 * gdb.base/completion.exp: Move TUI completion tests to ...
7837 * gdb.tui/completion.exp: ... this new file.
7838
78392017-03-08 Pedro Alves <palves@redhat.com>
7840
7841 * gdb.base/tui-disasm-long-lines.c,
7842 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
7843 gdb.base/tui-layout.exp: Move to ...
7844 * gdb.tui/: ... this new directory.
7845
78462017-03-07 Pedro Alves <palves@redhat.com>
7847
7848 * gdb.base/tui-layout.c: New file.
7849 * gdb.base/tui-layout.exp: New file.
7850
78512017-03-07 Pedro Alves <palves@redhat.com>
7852
7853 * gdb.base/tui-layout.c: Rename to ...
7854 * gdb.base/tui-disasm-long-lines.c: ... this.
7855 * gdb.base/tui-layout.exp: Rename to ...
7856 * gdb.base/tui-disasm-long-lines.exp: ... this.
7857
78582017-03-07 Pedro Alves <palves@redhat.com>
7859
7860 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
7861
78622017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
7863
7864 * i386-mpx-call.c: New file.
7865 * i386-mpx-call.exp: New file.
7866
78672017-02-28 Peter Bergner <bergner@vnet.ibm.com>
7868
7869 * gdb.arch/powerpc-power.exp: Delete test.
7870 * gdb.arch/powerpc-power.s: Likewise.
7871 * gdb.disasm/disassembler-options.exp: New test.
7872 * gdb.arch/powerpc-altivec.exp: Likewise.
7873 * gdb.arch/powerpc-altivec.s: Likewise.
7874 * gdb.arch/powerpc-altivec2.exp: Likewise.
7875 * gdb.arch/powerpc-altivec2.s: Likewise.
7876 * gdb.arch/powerpc-altivec3.exp: Likewise.
7877 * gdb.arch/powerpc-altivec3.s: Likewise.
7878 * gdb.arch/powerpc-power7.exp: Likewise.
7879 * gdb.arch/powerpc-power7.s: Likewise.
7880 * gdb.arch/powerpc-power8.exp: Likewise.
7881 * gdb.arch/powerpc-power8.s: Likewise.
7882 * gdb.arch/powerpc-power9.exp: Likewise.
7883 * gdb.arch/powerpc-power9.s: Likewise.
7884 * gdb.arch/powerpc-vsx.exp: Likewise.
7885 * gdb.arch/powerpc-vsx.s: Likewise.
7886 * gdb.arch/powerpc-vsx2.exp: Likewise.
7887 * gdb.arch/powerpc-vsx2.s: Likewise.
7888 * gdb.arch/powerpc-vsx3.exp: Likewise.
7889 * gdb.arch/powerpc-vsx3.s: Likewise.
7890 * gdb.arch/arm-disassembler-options.exp: Likewise.
7891 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
7892 * gdb.arch/s390-disassembler-options.exp: Likewise.
7893
78942017-02-23 Luis Machado <lgustavo@codesourcery.com>
7895
7896 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
7897 (check_supported_features): ... this. Changed return type to void.
7898 (supports_rdseed): New static global.
7899 (rdseed): Check supports_rdseed.
7900 (initialize): Call check_supported_features.
7901
79022017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7903
7904 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
7905 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
7906 and lqarx/stqcx.
7907 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
7908 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
7909
79102017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7911
7912 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
7913 uppercase.
7914
79152017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7916
7917 * gdb.dwarf2/formdata16.c: New file.
7918 * gdb.dwarf2/formdata16.exp: New file.
7919 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
7920
79212017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7922
7923 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
7924 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
7925 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
7926 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
7927 DW_AT_GNU_*.
7928
79292017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7930
7931 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
7932
79332017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
7934
7935 PR gdb/21164
7936 * gdb.base/maint.exp: Add testcases for when the commands do
7937 not have arguments.
7938
79392017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
7940
7941 * gdb.cp/chained-calls.exp: Use p instead of P.
7942
79432017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
7944
7945 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
7946 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
7947
79482017-02-14 Tom Tromey <tom@tromey.com>
7949
7950 PR python/13598:
7951 * gdb.python/py-events.exp: Add before_prompt event tests.
7952
79532017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7954
7955 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
7956
79572017-02-13 Luis Machado <lgustavo@codesourcery.com>
7958
7959 * gdb.linespec/explicit.c (my_unique_function_name): New function.
7960 (main): Call my_unique_function_name.
7961 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
7962 completion of patterns with a single match.
7963 Add missing -re switches to gdb_test_multiple calls.
7964
79652017-02-13 Luis Machado <lgustavo@codesourcery.com>
7966
7967 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
7968 return if core file is not recognized.
7969
79702017-02-10 Simon Marchi <simon.marchi@ericsson.com>
7971
7972 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
7973 and extra UIs.
7974
79752017-02-10 Simon Marchi <simon.marchi@ericsson.com>
7976
7977 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
7978 proc_with_prefix.
7979
79802017-02-10 Tom Tromey <tom@tromey.com>
7981
7982 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
7983
79842017-02-10 Martin Galvan <martingalvan@sourceware.org>
7985
7986 PR gdb/21122
7987 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
7988
79892017-02-08 Jerome Guitton <guitton@adacore.com>
7990
7991 * gdb.base/define.exp: Add test for command abbreviations
7992 in define.
7993
79942017-02-06 Luis Machado <lgustavo@codesourcery.com>
7995
7996 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
7997 * gdb.reverse/insn-reverse-x86.c: New file.
7998
79992017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
8000
8001 PR tdep/20936
8002 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
8003
80042017-02-03 Tom Tromey <tom@tromey.com>
8005
8006 PR rust/21097:
8007 * gdb.rust/simple.exp: Add new tests.
8008
80092017-02-02 Pedro Alves <palves@redhat.com>
8010
8011 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
8012 tests.
8013
80142017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
8015
8016 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
8017 taking a 2-byte value out of a 4-byte DWARF implicit value on
8018 big-endian targets.
8019 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
8020 logic. Add test cases for DW_OP_implicit.
8021
80222017-02-01 Markus Metzger <markus.t.metzger@intel.com>
8023
8024 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
8025
80262017-02-01 Markus Metzger <markus.t.metzger@intel.com>
8027
8028 * gdb.btrace/enable.exp: Call gdb_exit before
8029 skip_gdbserver_tests.
8030
80312017-02-01 Markus Metzger <markus.t.metzger@intel.com>
8032
8033 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
8034 GDBFLAGS.
8035
80362017-02-01 Markus Metzger <markus.t.metzger@intel.com>
8037
8038 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
8039 the test is skipped.
8040 * gdb.btrace/data.exp: Likewise.
8041 * gdb.btrace/delta.exp: Likewise.
8042 * gdb.btrace/dlopen.exp: Likewise.
8043 * gdb.btrace/enable-running.exp: Likewise.
8044 * gdb.btrace/enable.exp: Likewise.
8045 * gdb.btrace/exception.exp: Likewise.
8046 * gdb.btrace/function_call_history.exp: Likewise.
8047 * gdb.btrace/gcore.exp: Likewise.
8048 * gdb.btrace/instruction_history.exp: Likewise.
8049 * gdb.btrace/multi-thread-step.exp: Likewise.
8050 * gdb.btrace/nohist.exp: Likewise.
8051 * gdb.btrace/non-stop.exp: Likewise.
8052 * gdb.btrace/reconnect.exp: Likewise.
8053 * gdb.btrace/record_goto-step.exp: Likewise.
8054 * gdb.btrace/record_goto.exp: Likewise.
8055 * gdb.btrace/rn-dl-bind.exp: Likewise.
8056 * gdb.btrace/segv.exp: Likewise.
8057 * gdb.btrace/step.exp: Likewise.
8058 * gdb.btrace/stepi.exp: Likewise.
8059 * gdb.btrace/tailcall-only.exp: Likewise.
8060 * gdb.btrace/tailcall.exp: Likewise.
8061 * gdb.btrace/tsx.exp: Likewise.
8062 * gdb.btrace/unknown_functions.exp: Likewise.
8063 * gdb.btrace/vdso.exp: Likewise.
8064
80652017-02-01 Markus Metzger <markus.t.metzger@intel.com>
8066
8067 * gdb.btrace/enable-running.c: New.
8068 * gdb.btrace/enable-running.exp: New.
8069
80702017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
8071
8072 * gdb.arch/amd64-gs_base.c: New file.
8073 * gdb.arch/amd64-gs_base.exp: New file.
8074
80752017-01-26 Luis Machado <lgustavo@codesourcery.com>
8076
8077 * lib/memory.exp: Remove spurious empty newlines.
8078
80792017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
8080
8081 * gdb.python/py-bad-printers.exp: Load python file using "source".
8082 * gdb.python/py-events.exp: Likewise.
8083 * gdb.python/py-evsignal.exp: Likewise.
8084 * gdb.python/py-evthreads.exp: Likewise.
8085 * gdb.python/py-frame-args.exp: Likewise.
8086 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
8087 * gdb.python/py-framefilter-mi.exp: Likewise.
8088 * gdb.python/py-framefilter.exp: Likewise.
8089 * gdb.python/py-mi.exp: Likewise.
8090 * gdb.python/py-pp-maint.exp: Likewise.
8091 * gdb.python/py-pp-registration.exp: Likewise.
8092 * gdb.python/py-prettyprint.exp: Likewise.
8093 (run_lang_tests): Likewise.
8094 * gdb.python/py-typeprint.exp: Likewise.
8095
80962017-01-26 Luis Machado <lgustavo@codesourcery.com>
8097
8098 * lib/memory.exp: New file.
8099 * lib/gdb.exp: Load memory.exp.
8100 * gdb.base/memattr.exp (delete_memory): Move proc to
8101 lib/memory.exp and rename to delete_memory_regions.
8102 Replace delete_memory with delete_memory_regions.
8103 Cleanup memory regions before tests.
8104 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
8105 before tests.
8106
81072017-01-26 Luis Machado <lgustavo@codesourcery.com>
8108
8109 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
8110 files.
8111 (initialize): New function conditionally defined.
8112 (testcases): Move within conditional block.
8113 (main): Call initialize.
8114 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
8115 of gdb.reverse/insn-reverse.c.
8116 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
8117 gdb.reverse/insn-reverse.c.
8118
81192017-01-26 Yao Qi <yao.qi@linaro.org>
8120
8121 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
8122 disassemble on address 0.
8123
81242017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
8125 Yao Qi <yao.qi@linaro.org>
8126
8127 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
8128 * gdb.dwarf2/implptr-64bit.S: Remove.
8129 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
8130 variables in caller's context. Add DW_OP_implicit_value.
8131
81322017-01-25 Yao Qi <yao.qi@linaro.org>
8133
8134 * lib/dwarf.exp (Dwarf::_location): Handle
8135 DW_OP_GNU_implicit_pointer with proper size.
8136
81372017-01-20 Luis Machado <lgustavo@codesourcery.com>
8138
8139 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
8140 and add untested calls.
8141
81422017-01-20 Luis Machado <lgustavo@codesourcery.com>
8143
8144 * gdb.python/python.exp: Check line number against what GDB thinks
8145 the line number is for func1.
8146
81472017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
8148
8149 * gdb.dlang/debug-expr.exp: New file.
8150
81512016-12-23 Luis Machado <lgustavo@codesourcery.com>
8152
8153 Fix test names for the following files:
8154
8155 * gdb.ada/exec_changed.exp
8156 * gdb.ada/info_types.exp
8157 * gdb.arch/aarch64-atomic-inst.exp
8158 * gdb.arch/aarch64-fp.exp
8159 * gdb.arch/altivec-abi.exp
8160 * gdb.arch/altivec-regs.exp
8161 * gdb.arch/amd64-byte.exp
8162 * gdb.arch/amd64-disp-step.exp
8163 * gdb.arch/amd64-dword.exp
8164 * gdb.arch/amd64-entry-value-inline.exp
8165 * gdb.arch/amd64-entry-value-param.exp
8166 * gdb.arch/amd64-entry-value-paramref.exp
8167 * gdb.arch/amd64-entry-value.exp
8168 * gdb.arch/amd64-i386-address.exp
8169 * gdb.arch/amd64-invalid-stack-middle.exp
8170 * gdb.arch/amd64-invalid-stack-top.exp
8171 * gdb.arch/amd64-optimout-repeat.exp
8172 * gdb.arch/amd64-prologue-skip.exp
8173 * gdb.arch/amd64-prologue-xmm.exp
8174 * gdb.arch/amd64-stap-special-operands.exp
8175 * gdb.arch/amd64-stap-wrong-subexp.exp
8176 * gdb.arch/amd64-tailcall-cxx.exp
8177 * gdb.arch/amd64-tailcall-noret.exp
8178 * gdb.arch/amd64-tailcall-ret.exp
8179 * gdb.arch/amd64-tailcall-self.exp
8180 * gdb.arch/amd64-word.exp
8181 * gdb.arch/arm-bl-branch-dest.exp
8182 * gdb.arch/arm-disp-step.exp
8183 * gdb.arch/arm-neon.exp
8184 * gdb.arch/arm-single-step-kernel-helper.exp
8185 * gdb.arch/avr-flash-qualifier.exp
8186 * gdb.arch/disp-step-insn-reloc.exp
8187 * gdb.arch/e500-abi.exp
8188 * gdb.arch/e500-regs.exp
8189 * gdb.arch/ftrace-insn-reloc.exp
8190 * gdb.arch/i386-avx512.exp
8191 * gdb.arch/i386-bp_permanent.exp
8192 * gdb.arch/i386-byte.exp
8193 * gdb.arch/i386-cfi-notcurrent.exp
8194 * gdb.arch/i386-disp-step.exp
8195 * gdb.arch/i386-dr3-watch.exp
8196 * gdb.arch/i386-float.exp
8197 * gdb.arch/i386-gnu-cfi.exp
8198 * gdb.arch/i386-mpx-map.exp
8199 * gdb.arch/i386-mpx-sigsegv.exp
8200 * gdb.arch/i386-mpx-simple_segv.exp
8201 * gdb.arch/i386-mpx.exp
8202 * gdb.arch/i386-permbkpt.exp
8203 * gdb.arch/i386-prologue.exp
8204 * gdb.arch/i386-signal.exp
8205 * gdb.arch/i386-size-overlap.exp
8206 * gdb.arch/i386-unwind.exp
8207 * gdb.arch/i386-word.exp
8208 * gdb.arch/mips-fcr.exp
8209 * gdb.arch/powerpc-d128-regs.exp
8210 * gdb.arch/powerpc-stackless.exp
8211 * gdb.arch/ppc64-atomic-inst.exp
8212 * gdb.arch/s390-stackless.exp
8213 * gdb.arch/s390-tdbregs.exp
8214 * gdb.arch/s390-vregs.exp
8215 * gdb.arch/sparc-sysstep.exp
8216 * gdb.arch/thumb-bx-pc.exp
8217 * gdb.arch/thumb-singlestep.exp
8218 * gdb.arch/thumb2-it.exp
8219 * gdb.arch/vsx-regs.exp
8220 * gdb.asm/asm-source.exp
8221 * gdb.base/a2-run.exp
8222 * gdb.base/advance.exp
8223 * gdb.base/all-bin.exp
8224 * gdb.base/anon.exp
8225 * gdb.base/args.exp
8226 * gdb.base/arithmet.exp
8227 * gdb.base/async-shell.exp
8228 * gdb.base/async.exp
8229 * gdb.base/attach-pie-noexec.exp
8230 * gdb.base/attach-twice.exp
8231 * gdb.base/auto-load.exp
8232 * gdb.base/bang.exp
8233 * gdb.base/bitfields.exp
8234 * gdb.base/break-always.exp
8235 * gdb.base/break-caller-line.exp
8236 * gdb.base/break-entry.exp
8237 * gdb.base/break-inline.exp
8238 * gdb.base/break-on-linker-gcd-function.exp
8239 * gdb.base/break-probes.exp
8240 * gdb.base/break.exp
8241 * gdb.base/breakpoint-shadow.exp
8242 * gdb.base/call-ar-st.exp
8243 * gdb.base/call-sc.exp
8244 * gdb.base/call-signal-resume.exp
8245 * gdb.base/call-strs.exp
8246 * gdb.base/callfuncs.exp
8247 * gdb.base/catch-fork-static.exp
8248 * gdb.base/catch-gdb-caused-signals.exp
8249 * gdb.base/catch-load.exp
8250 * gdb.base/catch-signal-fork.exp
8251 * gdb.base/catch-signal.exp
8252 * gdb.base/catch-syscall.exp
8253 * gdb.base/charset.exp
8254 * gdb.base/checkpoint.exp
8255 * gdb.base/chng-syms.exp
8256 * gdb.base/code-expr.exp
8257 * gdb.base/code_elim.exp
8258 * gdb.base/commands.exp
8259 * gdb.base/completion.exp
8260 * gdb.base/complex.exp
8261 * gdb.base/cond-expr.exp
8262 * gdb.base/condbreak.exp
8263 * gdb.base/consecutive.exp
8264 * gdb.base/continue-all-already-running.exp
8265 * gdb.base/coredump-filter.exp
8266 * gdb.base/corefile.exp
8267 * gdb.base/dbx.exp
8268 * gdb.base/debug-expr.exp
8269 * gdb.base/define.exp
8270 * gdb.base/del.exp
8271 * gdb.base/disabled-location.exp
8272 * gdb.base/disasm-end-cu.exp
8273 * gdb.base/disasm-optim.exp
8274 * gdb.base/display.exp
8275 * gdb.base/duplicate-bp.exp
8276 * gdb.base/ena-dis-br.exp
8277 * gdb.base/ending-run.exp
8278 * gdb.base/enumval.exp
8279 * gdb.base/environ.exp
8280 * gdb.base/eu-strip-infcall.exp
8281 * gdb.base/eval-avoid-side-effects.exp
8282 * gdb.base/eval-skip.exp
8283 * gdb.base/exitsignal.exp
8284 * gdb.base/expand-psymtabs.exp
8285 * gdb.base/filesym.exp
8286 * gdb.base/find-unmapped.exp
8287 * gdb.base/finish.exp
8288 * gdb.base/float.exp
8289 * gdb.base/foll-exec-mode.exp
8290 * gdb.base/foll-exec.exp
8291 * gdb.base/foll-fork.exp
8292 * gdb.base/fortran-sym-case.exp
8293 * gdb.base/freebpcmd.exp
8294 * gdb.base/func-ptr.exp
8295 * gdb.base/func-ptrs.exp
8296 * gdb.base/funcargs.exp
8297 * gdb.base/gcore-buffer-overflow.exp
8298 * gdb.base/gcore-relro-pie.exp
8299 * gdb.base/gcore-relro.exp
8300 * gdb.base/gcore.exp
8301 * gdb.base/gdb1090.exp
8302 * gdb.base/gdb11530.exp
8303 * gdb.base/gdb11531.exp
8304 * gdb.base/gdb1821.exp
8305 * gdb.base/gdbindex-stabs.exp
8306 * gdb.base/gdbvars.exp
8307 * gdb.base/hbreak.exp
8308 * gdb.base/hbreak2.exp
8309 * gdb.base/included.exp
8310 * gdb.base/infcall-input.exp
8311 * gdb.base/inferior-died.exp
8312 * gdb.base/infnan.exp
8313 * gdb.base/info-macros.exp
8314 * gdb.base/info-os.exp
8315 * gdb.base/info-proc.exp
8316 * gdb.base/info-shared.exp
8317 * gdb.base/info-target.exp
8318 * gdb.base/infoline.exp
8319 * gdb.base/interp.exp
8320 * gdb.base/interrupt.exp
8321 * gdb.base/jit-reader.exp
8322 * gdb.base/jit-simple.exp
8323 * gdb.base/kill-after-signal.exp
8324 * gdb.base/kill-detach-inferiors-cmd.exp
8325 * gdb.base/label.exp
8326 * gdb.base/langs.exp
8327 * gdb.base/ldbl_e308.exp
8328 * gdb.base/line-symtabs.exp
8329 * gdb.base/linespecs.exp
8330 * gdb.base/list.exp
8331 * gdb.base/long_long.exp
8332 * gdb.base/longest-types.exp
8333 * gdb.base/maint.exp
8334 * gdb.base/max-value-size.exp
8335 * gdb.base/memattr.exp
8336 * gdb.base/mips_pro.exp
8337 * gdb.base/morestack.exp
8338 * gdb.base/moribund-step.exp
8339 * gdb.base/multi-forks.exp
8340 * gdb.base/nested-addr.exp
8341 * gdb.base/nextoverexit.exp
8342 * gdb.base/noreturn-finish.exp
8343 * gdb.base/noreturn-return.exp
8344 * gdb.base/nostdlib.exp
8345 * gdb.base/offsets.exp
8346 * gdb.base/opaque.exp
8347 * gdb.base/pc-fp.exp
8348 * gdb.base/permissions.exp
8349 * gdb.base/print-symbol-loading.exp
8350 * gdb.base/prologue-include.exp
8351 * gdb.base/psymtab.exp
8352 * gdb.base/ptype.exp
8353 * gdb.base/random-signal.exp
8354 * gdb.base/randomize.exp
8355 * gdb.base/range-stepping.exp
8356 * gdb.base/readline-ask.exp
8357 * gdb.base/recpar.exp
8358 * gdb.base/recurse.exp
8359 * gdb.base/relational.exp
8360 * gdb.base/restore.exp
8361 * gdb.base/return-nodebug.exp
8362 * gdb.base/return.exp
8363 * gdb.base/run-after-attach.exp
8364 * gdb.base/save-bp.exp
8365 * gdb.base/scope.exp
8366 * gdb.base/sect-cmd.exp
8367 * gdb.base/set-lang-auto.exp
8368 * gdb.base/set-noassign.exp
8369 * gdb.base/setvar.exp
8370 * gdb.base/sigall.exp
8371 * gdb.base/sigbpt.exp
8372 * gdb.base/siginfo-addr.exp
8373 * gdb.base/siginfo-infcall.exp
8374 * gdb.base/siginfo-obj.exp
8375 * gdb.base/siginfo.exp
8376 * gdb.base/signals-state-child.exp
8377 * gdb.base/signest.exp
8378 * gdb.base/sigstep.exp
8379 * gdb.base/sizeof.exp
8380 * gdb.base/skip.exp
8381 * gdb.base/solib-corrupted.exp
8382 * gdb.base/solib-nodir.exp
8383 * gdb.base/solib-search.exp
8384 * gdb.base/stack-checking.exp
8385 * gdb.base/stale-infcall.exp
8386 * gdb.base/stap-probe.exp
8387 * gdb.base/start.exp
8388 * gdb.base/step-break.exp
8389 * gdb.base/step-bt.exp
8390 * gdb.base/step-line.exp
8391 * gdb.base/step-over-exit.exp
8392 * gdb.base/step-over-syscall.exp
8393 * gdb.base/step-resume-infcall.exp
8394 * gdb.base/step-test.exp
8395 * gdb.base/store.exp
8396 * gdb.base/structs3.exp
8397 * gdb.base/sym-file.exp
8398 * gdb.base/symbol-without-target_section.exp
8399 * gdb.base/term.exp
8400 * gdb.base/testenv.exp
8401 * gdb.base/ui-redirect.exp
8402 * gdb.base/until.exp
8403 * gdb.base/unwindonsignal.exp
8404 * gdb.base/value-double-free.exp
8405 * gdb.base/vla-datatypes.exp
8406 * gdb.base/vla-ptr.exp
8407 * gdb.base/vla-sideeffect.exp
8408 * gdb.base/volatile.exp
8409 * gdb.base/watch-cond-infcall.exp
8410 * gdb.base/watch-cond.exp
8411 * gdb.base/watch-non-mem.exp
8412 * gdb.base/watch-read.exp
8413 * gdb.base/watch-vfork.exp
8414 * gdb.base/watchpoint-cond-gone.exp
8415 * gdb.base/watchpoint-delete.exp
8416 * gdb.base/watchpoint-hw-hit-once.exp
8417 * gdb.base/watchpoint-hw.exp
8418 * gdb.base/watchpoint-stops-at-right-insn.exp
8419 * gdb.base/watchpoints.exp
8420 * gdb.base/wchar.exp
8421 * gdb.base/whatis-exp.exp
8422 * gdb.btrace/buffer-size.exp
8423 * gdb.btrace/data.exp
8424 * gdb.btrace/delta.exp
8425 * gdb.btrace/dlopen.exp
8426 * gdb.btrace/enable.exp
8427 * gdb.btrace/exception.exp
8428 * gdb.btrace/function_call_history.exp
8429 * gdb.btrace/gcore.exp
8430 * gdb.btrace/instruction_history.exp
8431 * gdb.btrace/nohist.exp
8432 * gdb.btrace/reconnect.exp
8433 * gdb.btrace/record_goto-step.exp
8434 * gdb.btrace/record_goto.exp
8435 * gdb.btrace/rn-dl-bind.exp
8436 * gdb.btrace/segv.exp
8437 * gdb.btrace/step.exp
8438 * gdb.btrace/stepi.exp
8439 * gdb.btrace/tailcall-only.exp
8440 * gdb.btrace/tailcall.exp
8441 * gdb.btrace/tsx.exp
8442 * gdb.btrace/unknown_functions.exp
8443 * gdb.btrace/vdso.exp
8444 * gdb.compile/compile-ifunc.exp
8445 * gdb.compile/compile-ops.exp
8446 * gdb.compile/compile-print.exp
8447 * gdb.compile/compile-setjmp.exp
8448 * gdb.cp/abstract-origin.exp
8449 * gdb.cp/ambiguous.exp
8450 * gdb.cp/annota2.exp
8451 * gdb.cp/annota3.exp
8452 * gdb.cp/anon-ns.exp
8453 * gdb.cp/anon-struct.exp
8454 * gdb.cp/anon-union.exp
8455 * gdb.cp/arg-reference.exp
8456 * gdb.cp/baseenum.exp
8457 * gdb.cp/bool.exp
8458 * gdb.cp/breakpoint.exp
8459 * gdb.cp/bs15503.exp
8460 * gdb.cp/call-c.exp
8461 * gdb.cp/casts.exp
8462 * gdb.cp/chained-calls.exp
8463 * gdb.cp/class2.exp
8464 * gdb.cp/classes.exp
8465 * gdb.cp/cmpd-minsyms.exp
8466 * gdb.cp/converts.exp
8467 * gdb.cp/cp-relocate.exp
8468 * gdb.cp/cpcompletion.exp
8469 * gdb.cp/cpexprs.exp
8470 * gdb.cp/cplabel.exp
8471 * gdb.cp/cplusfuncs.exp
8472 * gdb.cp/cpsizeof.exp
8473 * gdb.cp/ctti.exp
8474 * gdb.cp/derivation.exp
8475 * gdb.cp/destrprint.exp
8476 * gdb.cp/dispcxx.exp
8477 * gdb.cp/enum-class.exp
8478 * gdb.cp/exception.exp
8479 * gdb.cp/exceptprint.exp
8480 * gdb.cp/expand-psymtabs-cxx.exp
8481 * gdb.cp/expand-sals.exp
8482 * gdb.cp/extern-c.exp
8483 * gdb.cp/filename.exp
8484 * gdb.cp/formatted-ref.exp
8485 * gdb.cp/fpointer.exp
8486 * gdb.cp/gdb1355.exp
8487 * gdb.cp/gdb2495.exp
8488 * gdb.cp/hang.exp
8489 * gdb.cp/impl-this.exp
8490 * gdb.cp/infcall-dlopen.exp
8491 * gdb.cp/inherit.exp
8492 * gdb.cp/iostream.exp
8493 * gdb.cp/koenig.exp
8494 * gdb.cp/local.exp
8495 * gdb.cp/m-data.exp
8496 * gdb.cp/m-static.exp
8497 * gdb.cp/mb-ctor.exp
8498 * gdb.cp/mb-inline.exp
8499 * gdb.cp/mb-templates.exp
8500 * gdb.cp/member-name.exp
8501 * gdb.cp/member-ptr.exp
8502 * gdb.cp/meth-typedefs.exp
8503 * gdb.cp/method.exp
8504 * gdb.cp/method2.exp
8505 * gdb.cp/minsym-fallback.exp
8506 * gdb.cp/misc.exp
8507 * gdb.cp/namelessclass.exp
8508 * gdb.cp/namespace-enum.exp
8509 * gdb.cp/namespace-nested-import.exp
8510 * gdb.cp/namespace.exp
8511 * gdb.cp/nextoverthrow.exp
8512 * gdb.cp/no-dmgl-verbose.exp
8513 * gdb.cp/non-trivial-retval.exp
8514 * gdb.cp/noparam.exp
8515 * gdb.cp/nsdecl.exp
8516 * gdb.cp/nsimport.exp
8517 * gdb.cp/nsnested.exp
8518 * gdb.cp/nsnoimports.exp
8519 * gdb.cp/nsrecurs.exp
8520 * gdb.cp/nsstress.exp
8521 * gdb.cp/nsusing.exp
8522 * gdb.cp/operator.exp
8523 * gdb.cp/oranking.exp
8524 * gdb.cp/overload-const.exp
8525 * gdb.cp/overload.exp
8526 * gdb.cp/ovldbreak.exp
8527 * gdb.cp/ovsrch.exp
8528 * gdb.cp/paren-type.exp
8529 * gdb.cp/parse-lang.exp
8530 * gdb.cp/pass-by-ref.exp
8531 * gdb.cp/pr-1023.exp
8532 * gdb.cp/pr-1210.exp
8533 * gdb.cp/pr-574.exp
8534 * gdb.cp/pr10687.exp
8535 * gdb.cp/pr12028.exp
8536 * gdb.cp/pr17132.exp
8537 * gdb.cp/pr17494.exp
8538 * gdb.cp/pr9067.exp
8539 * gdb.cp/pr9167.exp
8540 * gdb.cp/pr9631.exp
8541 * gdb.cp/printmethod.exp
8542 * gdb.cp/psmang.exp
8543 * gdb.cp/psymtab-parameter.exp
8544 * gdb.cp/ptype-cv-cp.exp
8545 * gdb.cp/ptype-flags.exp
8546 * gdb.cp/re-set-overloaded.exp
8547 * gdb.cp/ref-types.exp
8548 * gdb.cp/rtti.exp
8549 * gdb.cp/scope-err.exp
8550 * gdb.cp/shadow.exp
8551 * gdb.cp/smartp.exp
8552 * gdb.cp/static-method.exp
8553 * gdb.cp/static-print-quit.exp
8554 * gdb.cp/temargs.exp
8555 * gdb.cp/templates.exp
8556 * gdb.cp/try_catch.exp
8557 * gdb.cp/typedef-operator.exp
8558 * gdb.cp/typeid.exp
8559 * gdb.cp/userdef.exp
8560 * gdb.cp/using-crash.exp
8561 * gdb.cp/var-tag.exp
8562 * gdb.cp/virtbase.exp
8563 * gdb.cp/virtfunc.exp
8564 * gdb.cp/virtfunc2.exp
8565 * gdb.cp/vla-cxx.exp
8566 * gdb.disasm/t01_mov.exp
8567 * gdb.disasm/t02_mova.exp
8568 * gdb.disasm/t03_add.exp
8569 * gdb.disasm/t04_sub.exp
8570 * gdb.disasm/t05_cmp.exp
8571 * gdb.disasm/t06_ari2.exp
8572 * gdb.disasm/t07_ari3.exp
8573 * gdb.disasm/t08_or.exp
8574 * gdb.disasm/t09_xor.exp
8575 * gdb.disasm/t10_and.exp
8576 * gdb.disasm/t11_logs.exp
8577 * gdb.disasm/t12_bit.exp
8578 * gdb.disasm/t13_otr.exp
8579 * gdb.dlang/circular.exp
8580 * gdb.dwarf2/arr-stride.exp
8581 * gdb.dwarf2/arr-subrange.exp
8582 * gdb.dwarf2/atomic-type.exp
8583 * gdb.dwarf2/bad-regnum.exp
8584 * gdb.dwarf2/bitfield-parent-optimized-out.exp
8585 * gdb.dwarf2/callframecfa.exp
8586 * gdb.dwarf2/clztest.exp
8587 * gdb.dwarf2/corrupt.exp
8588 * gdb.dwarf2/data-loc.exp
8589 * gdb.dwarf2/dup-psym.exp
8590 * gdb.dwarf2/dw2-anon-mptr.exp
8591 * gdb.dwarf2/dw2-anonymous-func.exp
8592 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
8593 * gdb.dwarf2/dw2-bad-unresolved.exp
8594 * gdb.dwarf2/dw2-basic.exp
8595 * gdb.dwarf2/dw2-canonicalize-type.exp
8596 * gdb.dwarf2/dw2-case-insensitive.exp
8597 * gdb.dwarf2/dw2-common-block.exp
8598 * gdb.dwarf2/dw2-compdir-oldgcc.exp
8599 * gdb.dwarf2/dw2-compressed.exp
8600 * gdb.dwarf2/dw2-const.exp
8601 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
8602 * gdb.dwarf2/dw2-cu-size.exp
8603 * gdb.dwarf2/dw2-dup-frame.exp
8604 * gdb.dwarf2/dw2-entry-value.exp
8605 * gdb.dwarf2/dw2-icycle.exp
8606 * gdb.dwarf2/dw2-ifort-parameter.exp
8607 * gdb.dwarf2/dw2-inline-break.exp
8608 * gdb.dwarf2/dw2-inline-param.exp
8609 * gdb.dwarf2/dw2-intercu.exp
8610 * gdb.dwarf2/dw2-intermix.exp
8611 * gdb.dwarf2/dw2-lexical-block-bare.exp
8612 * gdb.dwarf2/dw2-linkage-name-trust.exp
8613 * gdb.dwarf2/dw2-minsym-in-cu.exp
8614 * gdb.dwarf2/dw2-noloc.exp
8615 * gdb.dwarf2/dw2-op-call.exp
8616 * gdb.dwarf2/dw2-op-out-param.exp
8617 * gdb.dwarf2/dw2-opt-structptr.exp
8618 * gdb.dwarf2/dw2-param-error.exp
8619 * gdb.dwarf2/dw2-producer.exp
8620 * gdb.dwarf2/dw2-ranges-base.exp
8621 * gdb.dwarf2/dw2-ref-missing-frame.exp
8622 * gdb.dwarf2/dw2-reg-undefined.exp
8623 * gdb.dwarf2/dw2-regno-invalid.exp
8624 * gdb.dwarf2/dw2-restore.exp
8625 * gdb.dwarf2/dw2-restrict.exp
8626 * gdb.dwarf2/dw2-single-line-discriminators.exp
8627 * gdb.dwarf2/dw2-strp.exp
8628 * gdb.dwarf2/dw2-undefined-ret-addr.exp
8629 * gdb.dwarf2/dw2-unresolved.exp
8630 * gdb.dwarf2/dw2-var-zero-addr.exp
8631 * gdb.dwarf2/dw4-sig-types.exp
8632 * gdb.dwarf2/dwz.exp
8633 * gdb.dwarf2/dynarr-ptr.exp
8634 * gdb.dwarf2/enum-type.exp
8635 * gdb.dwarf2/gdb-index.exp
8636 * gdb.dwarf2/implptr-64bit.exp
8637 * gdb.dwarf2/implptr-optimized-out.exp
8638 * gdb.dwarf2/implptr.exp
8639 * gdb.dwarf2/implref-array.exp
8640 * gdb.dwarf2/implref-const.exp
8641 * gdb.dwarf2/implref-global.exp
8642 * gdb.dwarf2/implref-struct.exp
8643 * gdb.dwarf2/mac-fileno.exp
8644 * gdb.dwarf2/main-subprogram.exp
8645 * gdb.dwarf2/member-ptr-forwardref.exp
8646 * gdb.dwarf2/method-ptr.exp
8647 * gdb.dwarf2/missing-sig-type.exp
8648 * gdb.dwarf2/nonvar-access.exp
8649 * gdb.dwarf2/opaque-type-lookup.exp
8650 * gdb.dwarf2/pieces-optimized-out.exp
8651 * gdb.dwarf2/pieces.exp
8652 * gdb.dwarf2/pr10770.exp
8653 * gdb.dwarf2/pr13961.exp
8654 * gdb.dwarf2/staticvirtual.exp
8655 * gdb.dwarf2/subrange.exp
8656 * gdb.dwarf2/symtab-producer.exp
8657 * gdb.dwarf2/trace-crash.exp
8658 * gdb.dwarf2/typeddwarf.exp
8659 * gdb.dwarf2/valop.exp
8660 * gdb.dwarf2/watch-notconst.exp
8661 * gdb.fortran/array-element.exp
8662 * gdb.fortran/charset.exp
8663 * gdb.fortran/common-block.exp
8664 * gdb.fortran/complex.exp
8665 * gdb.fortran/derived-type-function.exp
8666 * gdb.fortran/derived-type.exp
8667 * gdb.fortran/logical.exp
8668 * gdb.fortran/module.exp
8669 * gdb.fortran/multi-dim.exp
8670 * gdb.fortran/nested-funcs.exp
8671 * gdb.fortran/print-formatted.exp
8672 * gdb.fortran/subarray.exp
8673 * gdb.fortran/vla-alloc-assoc.exp
8674 * gdb.fortran/vla-datatypes.exp
8675 * gdb.fortran/vla-history.exp
8676 * gdb.fortran/vla-ptr-info.exp
8677 * gdb.fortran/vla-ptype-sub.exp
8678 * gdb.fortran/vla-ptype.exp
8679 * gdb.fortran/vla-sizeof.exp
8680 * gdb.fortran/vla-type.exp
8681 * gdb.fortran/vla-value-sub-arbitrary.exp
8682 * gdb.fortran/vla-value-sub-finish.exp
8683 * gdb.fortran/vla-value-sub.exp
8684 * gdb.fortran/vla-value.exp
8685 * gdb.fortran/whatis_type.exp
8686 * gdb.go/chan.exp
8687 * gdb.go/handcall.exp
8688 * gdb.go/hello.exp
8689 * gdb.go/integers.exp
8690 * gdb.go/methods.exp
8691 * gdb.go/package.exp
8692 * gdb.go/strings.exp
8693 * gdb.go/types.exp
8694 * gdb.go/unsafe.exp
8695 * gdb.guile/scm-arch.exp
8696 * gdb.guile/scm-block.exp
8697 * gdb.guile/scm-breakpoint.exp
8698 * gdb.guile/scm-cmd.exp
8699 * gdb.guile/scm-disasm.exp
8700 * gdb.guile/scm-equal.exp
8701 * gdb.guile/scm-frame-args.exp
8702 * gdb.guile/scm-frame-inline.exp
8703 * gdb.guile/scm-frame.exp
8704 * gdb.guile/scm-iterator.exp
8705 * gdb.guile/scm-math.exp
8706 * gdb.guile/scm-objfile.exp
8707 * gdb.guile/scm-ports.exp
8708 * gdb.guile/scm-symbol.exp
8709 * gdb.guile/scm-symtab.exp
8710 * gdb.guile/scm-value-cc.exp
8711 * gdb.guile/types-module.exp
8712 * gdb.linespec/break-ask.exp
8713 * gdb.linespec/cpexplicit.exp
8714 * gdb.linespec/explicit.exp
8715 * gdb.linespec/keywords.exp
8716 * gdb.linespec/linespec.exp
8717 * gdb.linespec/ls-dollar.exp
8718 * gdb.linespec/ls-errs.exp
8719 * gdb.linespec/skip-two.exp
8720 * gdb.linespec/thread.exp
8721 * gdb.mi/mi-async.exp
8722 * gdb.mi/mi-basics.exp
8723 * gdb.mi/mi-break.exp
8724 * gdb.mi/mi-catch-load.exp
8725 * gdb.mi/mi-cli.exp
8726 * gdb.mi/mi-cmd-param-changed.exp
8727 * gdb.mi/mi-console.exp
8728 * gdb.mi/mi-detach.exp
8729 * gdb.mi/mi-disassemble.exp
8730 * gdb.mi/mi-eval.exp
8731 * gdb.mi/mi-file-transfer.exp
8732 * gdb.mi/mi-file.exp
8733 * gdb.mi/mi-fill-memory.exp
8734 * gdb.mi/mi-inheritance-syntax-error.exp
8735 * gdb.mi/mi-linespec-err-cp.exp
8736 * gdb.mi/mi-logging.exp
8737 * gdb.mi/mi-memory-changed.exp
8738 * gdb.mi/mi-read-memory.exp
8739 * gdb.mi/mi-record-changed.exp
8740 * gdb.mi/mi-reg-undefined.exp
8741 * gdb.mi/mi-regs.exp
8742 * gdb.mi/mi-return.exp
8743 * gdb.mi/mi-reverse.exp
8744 * gdb.mi/mi-simplerun.exp
8745 * gdb.mi/mi-solib.exp
8746 * gdb.mi/mi-stack.exp
8747 * gdb.mi/mi-stepi.exp
8748 * gdb.mi/mi-syn-frame.exp
8749 * gdb.mi/mi-until.exp
8750 * gdb.mi/mi-var-block.exp
8751 * gdb.mi/mi-var-child.exp
8752 * gdb.mi/mi-var-cmd.exp
8753 * gdb.mi/mi-var-cp.exp
8754 * gdb.mi/mi-var-display.exp
8755 * gdb.mi/mi-var-invalidate.exp
8756 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
8757 * gdb.mi/mi-vla-fortran.exp
8758 * gdb.mi/mi-watch.exp
8759 * gdb.mi/mi2-var-child.exp
8760 * gdb.mi/user-selected-context-sync.exp
8761 * gdb.modula2/unbounded-array.exp
8762 * gdb.multi/dummy-frame-restore.exp
8763 * gdb.multi/multi-arch-exec.exp
8764 * gdb.multi/multi-arch.exp
8765 * gdb.multi/tids.exp
8766 * gdb.multi/watchpoint-multi.exp
8767 * gdb.opencl/callfuncs.exp
8768 * gdb.opencl/convs_casts.exp
8769 * gdb.opencl/datatypes.exp
8770 * gdb.opencl/operators.exp
8771 * gdb.opencl/vec_comps.exp
8772 * gdb.opt/clobbered-registers-O2.exp
8773 * gdb.opt/inline-break.exp
8774 * gdb.opt/inline-bt.exp
8775 * gdb.opt/inline-cmds.exp
8776 * gdb.opt/inline-locals.exp
8777 * gdb.pascal/case-insensitive-symbols.exp
8778 * gdb.pascal/floats.exp
8779 * gdb.pascal/gdb11492.exp
8780 * gdb.python/lib-types.exp
8781 * gdb.python/py-arch.exp
8782 * gdb.python/py-as-string.exp
8783 * gdb.python/py-bad-printers.exp
8784 * gdb.python/py-block.exp
8785 * gdb.python/py-breakpoint-create-fail.exp
8786 * gdb.python/py-breakpoint.exp
8787 * gdb.python/py-caller-is.exp
8788 * gdb.python/py-cmd.exp
8789 * gdb.python/py-explore-cc.exp
8790 * gdb.python/py-explore.exp
8791 * gdb.python/py-finish-breakpoint.exp
8792 * gdb.python/py-finish-breakpoint2.exp
8793 * gdb.python/py-frame-args.exp
8794 * gdb.python/py-frame-inline.exp
8795 * gdb.python/py-frame.exp
8796 * gdb.python/py-framefilter-mi.exp
8797 * gdb.python/py-infthread.exp
8798 * gdb.python/py-lazy-string.exp
8799 * gdb.python/py-linetable.exp
8800 * gdb.python/py-mi-events.exp
8801 * gdb.python/py-mi-objfile.exp
8802 * gdb.python/py-mi.exp
8803 * gdb.python/py-objfile.exp
8804 * gdb.python/py-pp-integral.exp
8805 * gdb.python/py-pp-maint.exp
8806 * gdb.python/py-pp-re-notag.exp
8807 * gdb.python/py-pp-registration.exp
8808 * gdb.python/py-recurse-unwind.exp
8809 * gdb.python/py-strfns.exp
8810 * gdb.python/py-symbol.exp
8811 * gdb.python/py-symtab.exp
8812 * gdb.python/py-sync-interp.exp
8813 * gdb.python/py-typeprint.exp
8814 * gdb.python/py-unwind-maint.exp
8815 * gdb.python/py-unwind.exp
8816 * gdb.python/py-value-cc.exp
8817 * gdb.python/py-xmethods.exp
8818 * gdb.reverse/amd64-tailcall-reverse.exp
8819 * gdb.reverse/break-precsave.exp
8820 * gdb.reverse/break-reverse.exp
8821 * gdb.reverse/consecutive-precsave.exp
8822 * gdb.reverse/consecutive-reverse.exp
8823 * gdb.reverse/finish-precsave.exp
8824 * gdb.reverse/finish-reverse-bkpt.exp
8825 * gdb.reverse/finish-reverse.exp
8826 * gdb.reverse/fstatat-reverse.exp
8827 * gdb.reverse/getresuid-reverse.exp
8828 * gdb.reverse/i386-precsave.exp
8829 * gdb.reverse/i386-reverse.exp
8830 * gdb.reverse/i386-sse-reverse.exp
8831 * gdb.reverse/i387-env-reverse.exp
8832 * gdb.reverse/i387-stack-reverse.exp
8833 * gdb.reverse/insn-reverse.exp
8834 * gdb.reverse/machinestate-precsave.exp
8835 * gdb.reverse/machinestate.exp
8836 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8837 * gdb.reverse/pipe-reverse.exp
8838 * gdb.reverse/readv-reverse.exp
8839 * gdb.reverse/recvmsg-reverse.exp
8840 * gdb.reverse/rerun-prec.exp
8841 * gdb.reverse/s390-mvcle.exp
8842 * gdb.reverse/step-precsave.exp
8843 * gdb.reverse/step-reverse.exp
8844 * gdb.reverse/time-reverse.exp
8845 * gdb.reverse/until-precsave.exp
8846 * gdb.reverse/until-reverse.exp
8847 * gdb.reverse/waitpid-reverse.exp
8848 * gdb.reverse/watch-precsave.exp
8849 * gdb.reverse/watch-reverse.exp
8850 * gdb.rust/generics.exp
8851 * gdb.rust/methods.exp
8852 * gdb.rust/modules.exp
8853 * gdb.rust/simple.exp
8854 * gdb.server/connect-with-no-symbol-file.exp
8855 * gdb.server/ext-attach.exp
8856 * gdb.server/ext-restart.exp
8857 * gdb.server/ext-wrapper.exp
8858 * gdb.server/file-transfer.exp
8859 * gdb.server/server-exec-info.exp
8860 * gdb.server/server-kill.exp
8861 * gdb.server/server-mon.exp
8862 * gdb.server/wrapper.exp
8863 * gdb.stabs/exclfwd.exp
8864 * gdb.stabs/gdb11479.exp
8865 * gdb.threads/clone-new-thread-event.exp
8866 * gdb.threads/corethreads.exp
8867 * gdb.threads/current-lwp-dead.exp
8868 * gdb.threads/dlopen-libpthread.exp
8869 * gdb.threads/gcore-thread.exp
8870 * gdb.threads/sigstep-threads.exp
8871 * gdb.threads/watchpoint-fork.exp
8872 * gdb.trace/actions-changed.exp
8873 * gdb.trace/backtrace.exp
8874 * gdb.trace/change-loc.exp
8875 * gdb.trace/circ.exp
8876 * gdb.trace/collection.exp
8877 * gdb.trace/disconnected-tracing.exp
8878 * gdb.trace/ftrace.exp
8879 * gdb.trace/mi-trace-frame-collected.exp
8880 * gdb.trace/mi-trace-unavailable.exp
8881 * gdb.trace/mi-traceframe-changed.exp
8882 * gdb.trace/mi-tsv-changed.exp
8883 * gdb.trace/no-attach-trace.exp
8884 * gdb.trace/passc-dyn.exp
8885 * gdb.trace/qtro.exp
8886 * gdb.trace/range-stepping.exp
8887 * gdb.trace/read-memory.exp
8888 * gdb.trace/save-trace.exp
8889 * gdb.trace/signal.exp
8890 * gdb.trace/status-stop.exp
8891 * gdb.trace/tfile.exp
8892 * gdb.trace/trace-break.exp
8893 * gdb.trace/trace-buffer-size.exp
8894 * gdb.trace/trace-condition.exp
8895 * gdb.trace/tracefile-pseudo-reg.exp
8896 * gdb.trace/tstatus.exp
8897 * gdb.trace/unavailable.exp
8898 * gdb.trace/while-dyn.exp
8899 * gdb.trace/while-stepping.exp
8900
89012016-12-22 Doug Evans <xdje42@gmail.com>
8902
8903 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
8904 and msymbols.
8905
89062016-12-19 Yao Qi <yao.qi@linaro.org>
8907
8908 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
8909 (test_with_self): Don't call do_steps_and_nexts, and remove
8910 code about stepping into xmalloc.
8911
89122016-12-09 Yao Qi <yao.qi@linaro.org>
8913
8914 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
8915
89162016-12-09 Yao Qi <yao.qi@linaro.org>
8917
8918 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
8919
89202016-12-09 Pedro Alves <palves@redhat.com>
8921
8922 * gdb.base/all-architectures-0.exp: New file.
8923 * gdb.base/all-architectures-1.exp: New file.
8924 * gdb.base/all-architectures-2.exp: New file.
8925 * gdb.base/all-architectures-3.exp: New file.
8926 * gdb.base/all-architectures-4.exp: New file.
8927 * gdb.base/all-architectures-5.exp: New file.
8928 * gdb.base/all-architectures-6.exp: New file.
8929 * gdb.base/all-architectures-7.exp: New file.
8930 * gdb.base/all-architectures.exp.in: New file.
8931
89322016-12-09 Yao Qi <yao.qi@linaro.org>
8933
8934 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
8935
89362016-12-02 Luis Machado <lgustavo@codesourcery.com>
8937
8938 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
8939 possible.
8940 Remove useless pattern-matching code.
8941
89422016-12-02 Pedro Alves <palves@redhat.com>
8943
8944 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
8945 procedure.
8946 (top level): Call it.
8947
89482016-12-02 Pedro Alves <palves@redhat.com>
8949
8950 * gdb.base/commands.exp (user_defined_command_args_stack_test):
8951 New procedure.
8952 (top level): Call it.
8953
89542016-12-02 Pedro Alves <palves@redhat.com>
8955
8956 PR cli/20559
8957 * gdb.base/commands.exp (user_defined_command_args_eval): New
8958 procedure.
8959 (top level): Call it.
8960
89612016-12-02 Luis Machado <lgustavo@codesourcery.com>
8962
8963 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
8964 timeout handling.
8965
89662016-12-02 Tom Tromey <tom@tromey.com>
8967
8968 * gdb.dwarf2/main-subprogram.c: New file.
8969 * gdb.dwarf2/main-subprogram.exp: New file.
8970
89712016-12-01 Luis Machado <lgustavo@codesourcery.com>
8972
8973 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
8974 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
8975 gdb_test_no_output for a couple of cases.
8976 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
8977
89782016-12-01 Luis Machado <lgustavo@codesourcery.com>
8979
8980 Fix test names and standardize compilation error messages throughout
8981 the following files:
8982
8983 * gdb.ada/start.exp
8984 * gdb.arch/alpha-step.exp
8985 * gdb.arch/e500-prologue.exp
8986 * gdb.arch/ftrace-insn-reloc.exp
8987 * gdb.arch/gdb1291.exp
8988 * gdb.arch/gdb1431.exp
8989 * gdb.arch/gdb1558.exp
8990 * gdb.arch/i386-dr3-watch.exp
8991 * gdb.arch/i386-sse-stack-align.exp
8992 * gdb.arch/ia64-breakpoint-shadow.exp
8993 * gdb.arch/pa-nullify.exp
8994 * gdb.arch/powerpc-aix-prologue.exp
8995 * gdb.arch/thumb-bx-pc.exp
8996 * gdb.base/annota1.exp
8997 * gdb.base/annota3.exp
8998 * gdb.base/arrayidx.exp
8999 * gdb.base/assign.exp
9000 * gdb.base/attach.exp
9001 * gdb.base/auxv.exp
9002 * gdb.base/bang.exp
9003 * gdb.base/bfp-test.exp
9004 * gdb.base/bigcore.exp
9005 * gdb.base/bitfields2.exp
9006 * gdb.base/break-fun-addr.exp
9007 * gdb.base/break-probes.exp
9008 * gdb.base/call-rt-st.exp
9009 * gdb.base/callexit.exp
9010 * gdb.base/catch-fork-kill.exp
9011 * gdb.base/charset.exp
9012 * gdb.base/checkpoint.exp
9013 * gdb.base/comprdebug.exp
9014 * gdb.base/constvars.exp
9015 * gdb.base/coredump-filter.exp
9016 * gdb.base/cursal.exp
9017 * gdb.base/cvexpr.exp
9018 * gdb.base/detach.exp
9019 * gdb.base/display.exp
9020 * gdb.base/dmsym.exp
9021 * gdb.base/dprintf-pending.exp
9022 * gdb.base/dso2dso.exp
9023 * gdb.base/dtrace-probe.exp
9024 * gdb.base/dump.exp
9025 * gdb.base/enum_cond.exp
9026 * gdb.base/exe-lock.exp
9027 * gdb.base/exec-invalid-sysroot.exp
9028 * gdb.base/execl-update-breakpoints.exp
9029 * gdb.base/exprs.exp
9030 * gdb.base/fileio.exp
9031 * gdb.base/find.exp
9032 * gdb.base/finish.exp
9033 * gdb.base/fixsection.exp
9034 * gdb.base/foll-vfork.exp
9035 * gdb.base/frame-args.exp
9036 * gdb.base/gcore.exp
9037 * gdb.base/gdb1250.exp
9038 * gdb.base/global-var-nested-by-dso.exp
9039 * gdb.base/gnu-ifunc.exp
9040 * gdb.base/hashline1.exp
9041 * gdb.base/hashline2.exp
9042 * gdb.base/hashline3.exp
9043 * gdb.base/hbreak-in-shr-unsupported.exp
9044 * gdb.base/huge.exp
9045 * gdb.base/infcall-input.exp
9046 * gdb.base/info-fun.exp
9047 * gdb.base/info-shared.exp
9048 * gdb.base/jit-simple.exp
9049 * gdb.base/jit-so.exp
9050 * gdb.base/jit.exp
9051 * gdb.base/jump.exp
9052 * gdb.base/label.exp
9053 * gdb.base/lineinc.exp
9054 * gdb.base/logical.exp
9055 * gdb.base/longjmp.exp
9056 * gdb.base/macscp.exp
9057 * gdb.base/miscexprs.exp
9058 * gdb.base/new-ui-echo.exp
9059 * gdb.base/new-ui-pending-input.exp
9060 * gdb.base/new-ui.exp
9061 * gdb.base/nodebug.exp
9062 * gdb.base/nofield.exp
9063 * gdb.base/offsets.exp
9064 * gdb.base/overlays.exp
9065 * gdb.base/pending.exp
9066 * gdb.base/pointers.exp
9067 * gdb.base/pr11022.exp
9068 * gdb.base/printcmds.exp
9069 * gdb.base/prologue.exp
9070 * gdb.base/ptr-typedef.exp
9071 * gdb.base/realname-expand.exp
9072 * gdb.base/relativedebug.exp
9073 * gdb.base/relocate.exp
9074 * gdb.base/remote.exp
9075 * gdb.base/reread.exp
9076 * gdb.base/return2.exp
9077 * gdb.base/savedregs.exp
9078 * gdb.base/sep.exp
9079 * gdb.base/sepdebug.exp
9080 * gdb.base/sepsymtab.exp
9081 * gdb.base/set-inferior-tty.exp
9082 * gdb.base/setshow.exp
9083 * gdb.base/shlib-call.exp
9084 * gdb.base/sigaltstack.exp
9085 * gdb.base/siginfo-addr.exp
9086 * gdb.base/signals.exp
9087 * gdb.base/signull.exp
9088 * gdb.base/sigrepeat.exp
9089 * gdb.base/so-impl-ld.exp
9090 * gdb.base/solib-display.exp
9091 * gdb.base/solib-overlap.exp
9092 * gdb.base/solib-search.exp
9093 * gdb.base/solib-symbol.exp
9094 * gdb.base/structs.exp
9095 * gdb.base/structs2.exp
9096 * gdb.base/symtab-search-order.exp
9097 * gdb.base/twice.exp
9098 * gdb.base/unload.exp
9099 * gdb.base/varargs.exp
9100 * gdb.base/watchpoint-solib.exp
9101 * gdb.base/watchpoint.exp
9102 * gdb.base/whatis.exp
9103 * gdb.base/wrong_frame_bt_full.exp
9104 * gdb.btrace/dlopen.exp
9105 * gdb.cell/ea-standalone.exp
9106 * gdb.cell/ea-test.exp
9107 * gdb.cp/dispcxx.exp
9108 * gdb.cp/gdb2384.exp
9109 * gdb.cp/method2.exp
9110 * gdb.cp/nextoverthrow.exp
9111 * gdb.cp/pr10728.exp
9112 * gdb.disasm/am33.exp
9113 * gdb.disasm/h8300s.exp
9114 * gdb.disasm/mn10300.exp
9115 * gdb.disasm/sh3.exp
9116 * gdb.dwarf2/dw2-dir-file-name.exp
9117 * gdb.fortran/complex.exp
9118 * gdb.fortran/library-module.exp
9119 * gdb.guile/scm-pretty-print.exp
9120 * gdb.guile/scm-symbol.exp
9121 * gdb.guile/scm-type.exp
9122 * gdb.guile/scm-value.exp
9123 * gdb.linespec/linespec.exp
9124 * gdb.mi/gdb701.exp
9125 * gdb.mi/gdb792.exp
9126 * gdb.mi/mi-breakpoint-changed.exp
9127 * gdb.mi/mi-dprintf-pending.exp
9128 * gdb.mi/mi-dprintf.exp
9129 * gdb.mi/mi-exit-code.exp
9130 * gdb.mi/mi-pending.exp
9131 * gdb.mi/mi-solib.exp
9132 * gdb.mi/new-ui-mi-sync.exp
9133 * gdb.mi/pr11022.exp
9134 * gdb.mi/user-selected-context-sync.exp
9135 * gdb.opt/solib-intra-step.exp
9136 * gdb.python/py-events.exp
9137 * gdb.python/py-finish-breakpoint.exp
9138 * gdb.python/py-mi.exp
9139 * gdb.python/py-prettyprint.exp
9140 * gdb.python/py-shared.exp
9141 * gdb.python/py-symbol.exp
9142 * gdb.python/py-template.exp
9143 * gdb.python/py-type.exp
9144 * gdb.python/py-value.exp
9145 * gdb.reverse/solib-precsave.exp
9146 * gdb.reverse/solib-reverse.exp
9147 * gdb.server/solib-list.exp
9148 * gdb.stabs/weird.exp
9149 * gdb.threads/reconnect-signal.exp
9150 * gdb.threads/stepi-random-signal.exp
9151 * gdb.trace/actions.exp
9152 * gdb.trace/ax.exp
9153 * gdb.trace/backtrace.exp
9154 * gdb.trace/change-loc.exp
9155 * gdb.trace/deltrace.exp
9156 * gdb.trace/ftrace-lock.exp
9157 * gdb.trace/ftrace.exp
9158 * gdb.trace/infotrace.exp
9159 * gdb.trace/mi-tracepoint-changed.exp
9160 * gdb.trace/packetlen.exp
9161 * gdb.trace/passcount.exp
9162 * gdb.trace/pending.exp
9163 * gdb.trace/range-stepping.exp
9164 * gdb.trace/report.exp
9165 * gdb.trace/stap-trace.exp
9166 * gdb.trace/tfind.exp
9167 * gdb.trace/trace-break.exp
9168 * gdb.trace/trace-condition.exp
9169 * gdb.trace/trace-enable-disable.exp
9170 * gdb.trace/trace-mt.exp
9171 * gdb.trace/tracecmd.exp
9172 * gdb.trace/tspeed.exp
9173 * gdb.trace/tsv.exp
9174 * lib/perftest.exp
9175
91762016-12-01 Luis Machado <lgustavo@codesourcery.com>
9177
9178 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
9179 with gdb_test_no_output.
9180 Use command as test name.
9181
91822016-12-01 Luis Machado <lgustavo@codesourcery.com>
9183
9184 Fix test names starting with uppercase throughout the files.
9185
9186 * gdb.ada/assign_1.exp
9187 * gdb.ada/boolean_expr.exp
9188 * gdb.base/arrayidx.exp
9189 * gdb.base/del.exp
9190 * gdb.base/gcore-buffer-overflow.exp
9191 * gdb.base/testenv.exp
9192 * gdb.compile/compile.exp
9193 * gdb.python/py-framefilter-invalidarg.exp
9194 * gdb.python/py-framefilter.exp
9195
91962016-12-01 Luis Machado <lgustavo@codesourcery.com>
9197
9198 Fix test names starting with uppercase throughout the files.
9199
9200 * gdb.ada/array_return.exp
9201 * gdb.ada/expr_delims.exp
9202 * gdb.ada/mi_dyn_arr.exp
9203 * gdb.ada/mi_interface.exp
9204 * gdb.ada/mi_var_array.exp
9205 * gdb.ada/watch_arg.exp
9206 * gdb.arch/alpha-step.exp
9207 * gdb.arch/altivec-regs.exp
9208 * gdb.arch/e500-regs.exp
9209 * gdb.arch/powerpc-d128-regs.exp
9210 * gdb.base/arrayidx.exp
9211 * gdb.base/break.exp
9212 * gdb.base/checkpoint.exp
9213 * gdb.base/debug-expr.exp
9214 * gdb.base/dmsym.exp
9215 * gdb.base/radix.exp
9216 * gdb.base/sepdebug.exp
9217 * gdb.base/testenv.exp
9218 * gdb.base/watch_thread_num.exp
9219 * gdb.base/watchpoint-cond-gone.exp
9220 * gdb.cell/break.exp
9221 * gdb.cell/ea-cache.exp
9222 * gdb.compile/compile.exp
9223 * gdb.cp/gdb2495.exp
9224 * gdb.gdb/selftest.exp
9225 * gdb.gdb/xfullpath.exp
9226 * gdb.go/hello.exp
9227 * gdb.go/integers.exp
9228 * gdb.objc/basicclass.exp
9229 * gdb.pascal/hello.exp
9230 * gdb.pascal/integers.exp
9231 * gdb.python/py-breakpoint.exp
9232 * gdb.python/py-cmd.exp
9233 * gdb.python/py-linetable.exp
9234 * gdb.python/py-xmethods.exp
9235 * gdb.python/python.exp
9236 * gdb.reverse/consecutive-precsave.exp
9237 * gdb.reverse/finish-precsave.exp
9238 * gdb.reverse/i386-precsave.exp
9239 * gdb.reverse/machinestate-precsave.exp
9240 * gdb.reverse/sigall-precsave.exp
9241 * gdb.reverse/solib-precsave.exp
9242 * gdb.reverse/step-precsave.exp
9243 * gdb.reverse/until-precsave.exp
9244 * gdb.reverse/watch-precsave.exp
9245 * gdb.threads/leader-exit.exp
9246 * gdb.threads/pthreads.exp
9247 * gdb.threads/wp-replication.exp
9248 * gdb.trace/actions.exp
9249 * gdb.trace/mi-tsv-changed.exp
9250 * gdb.trace/tsv.exp
9251
92522016-12-01 Luis Machado <lgustavo@codesourcery.com>
9253
9254 Fix test names starting with uppercase throughout the files.
9255
9256 * gdb.arch/i386-bp_permanent.exp
9257 * gdb.arch/i386-gnu-cfi.exp
9258 * gdb.base/disasm-end-cu.exp
9259 * gdb.base/macscp.exp
9260 * gdb.base/pending.exp
9261 * gdb.base/watch_thread_num.exp
9262 * gdb.cp/exception.exp
9263 * gdb.cp/gdb2495.exp
9264 * gdb.cp/local.exp
9265 * gdb.python/py-evsignal.exp
9266 * gdb.python/python.exp
9267 * gdb.trace/tracecmd.exp
9268
92692016-12-01 Luis Machado <lgustavo@codesourcery.com>
9270
9271 Fix test names starting with uppercase throughout the files.
9272
9273 * gdb.base/charset.exp
9274 * gdb.base/eval.exp
9275 * gdb.base/multi-forks.exp
9276 * gdb.guile/scm-progspace.exp
9277 * gdb.opencl/datatypes.exp
9278 * gdb.python/py-block.exp
9279 * gdb.python/py-function.exp
9280 * gdb.python/py-symbol.exp
9281 * gdb.python/py-symtab.exp
9282 * gdb.python/py-xmethods.exp
9283 * gdb.reverse/break-precsave.exp
9284 * gdb.reverse/break-reverse.exp
9285 * gdb.reverse/consecutive-precsave.exp
9286 * gdb.reverse/consecutive-reverse.exp
9287 * gdb.reverse/finish-precsave.exp
9288 * gdb.reverse/finish-reverse-bkpt.exp
9289 * gdb.reverse/finish-reverse.exp
9290 * gdb.reverse/fstatat-reverse.exp
9291 * gdb.reverse/getresuid-reverse.exp
9292 * gdb.reverse/i386-precsave.exp
9293 * gdb.reverse/i386-reverse.exp
9294 * gdb.reverse/i386-sse-reverse.exp
9295 * gdb.reverse/i387-stack-reverse.exp
9296 * gdb.reverse/insn-reverse.exp
9297 * gdb.reverse/machinestate-precsave.exp
9298 * gdb.reverse/machinestate.exp
9299 * gdb.reverse/next-reverse-bkpt-over-sr.exp
9300 * gdb.reverse/pipe-reverse.exp
9301 * gdb.reverse/readv-reverse.exp
9302 * gdb.reverse/recvmsg-reverse.exp
9303 * gdb.reverse/rerun-prec.exp
9304 * gdb.reverse/s390-mvcle.exp
9305 * gdb.reverse/sigall-precsave.exp
9306 * gdb.reverse/sigall-reverse.exp
9307 * gdb.reverse/solib-precsave.exp
9308 * gdb.reverse/solib-reverse.exp
9309 * gdb.reverse/step-precsave.exp
9310 * gdb.reverse/step-reverse.exp
9311 * gdb.reverse/time-reverse.exp
9312 * gdb.reverse/until-precsave.exp
9313 * gdb.reverse/until-reverse.exp
9314 * gdb.reverse/waitpid-reverse.exp
9315 * gdb.reverse/watch-precsave.exp
9316 * gdb.reverse/watch-reverse.exp
9317
93182016-12-01 Luis Machado <lgustavo@codesourcery.com>
9319
9320 Fix test names starting with uppercase throughout the files.
9321
9322 * gdb.arch/i386-mpx-simple_segv.exp
9323 * gdb.arch/i386-mpx.exp
9324 * gdb.arch/i386-permbkpt.exp
9325 * gdb.arch/pa-nullify.exp
9326 * gdb.arch/powerpc-d128-regs.exp
9327 * gdb.arch/vsx-regs.exp
9328 * gdb.base/bfp-test.exp
9329 * gdb.base/break.exp
9330 * gdb.base/breakpoint-shadow.exp
9331 * gdb.base/callfuncs.exp
9332 * gdb.base/charset.exp
9333 * gdb.base/commands.exp
9334 * gdb.base/completion.exp
9335 * gdb.base/dfp-test.exp
9336 * gdb.base/echo.exp
9337 * gdb.base/ending-run.exp
9338 * gdb.base/eval.exp
9339 * gdb.base/expand-psymtabs.exp
9340 * gdb.base/float128.exp
9341 * gdb.base/floatn.exp
9342 * gdb.base/foll-exec-mode.exp
9343 * gdb.base/gdb1056.exp
9344 * gdb.base/gdb11531.exp
9345 * gdb.base/kill-after-signal.exp
9346 * gdb.base/multi-forks.exp
9347 * gdb.base/overlays.exp
9348 * gdb.base/pending.exp
9349 * gdb.base/sepdebug.exp
9350 * gdb.base/testenv.exp
9351 * gdb.base/valgrind-db-attach.exp
9352 * gdb.base/watch_thread_num.exp
9353 * gdb.base/watchpoint-cond-gone.exp
9354 * gdb.base/watchpoint.exp
9355 * gdb.base/watchpoints.exp
9356 * gdb.cp/arg-reference.exp
9357 * gdb.cp/baseenum.exp
9358 * gdb.cp/operator.exp
9359 * gdb.cp/shadow.exp
9360 * gdb.dwarf2/dw2-op-out-param.exp
9361 * gdb.dwarf2/dw2-reg-undefined.exp
9362 * gdb.go/chan.exp
9363 * gdb.go/hello.exp
9364 * gdb.go/integers.exp
9365 * gdb.go/methods.exp
9366 * gdb.go/package.exp
9367 * gdb.guile/scm-parameter.exp
9368 * gdb.guile/scm-progspace.exp
9369 * gdb.guile/scm-value.exp
9370 * gdb.mi/mi-pending.exp
9371 * gdb.mi/user-selected-context-sync.exp
9372 * gdb.multi/multi-attach.exp
9373 * gdb.multi/tids.exp
9374 * gdb.opt/clobbered-registers-O2.exp
9375 * gdb.pascal/floats.exp
9376 * gdb.pascal/integers.exp
9377 * gdb.python/py-block.exp
9378 * gdb.python/py-events.exp
9379 * gdb.python/py-parameter.exp
9380 * gdb.python/py-symbol.exp
9381 * gdb.python/py-symtab.exp
9382 * gdb.python/py-type.exp
9383 * gdb.python/py-value.exp
9384 * gdb.python/py-xmethods.exp
9385 * gdb.python/python.exp
9386 * gdb.reverse/break-precsave.exp
9387 * gdb.reverse/consecutive-precsave.exp
9388 * gdb.reverse/finish-precsave.exp
9389 * gdb.reverse/i386-precsave.exp
9390 * gdb.reverse/machinestate-precsave.exp
9391 * gdb.reverse/sigall-precsave.exp
9392 * gdb.reverse/solib-precsave.exp
9393 * gdb.reverse/step-precsave.exp
9394 * gdb.reverse/until-precsave.exp
9395 * gdb.reverse/watch-precsave.exp
9396 * gdb.server/ext-attach.exp
9397 * gdb.server/ext-restart.exp
9398 * gdb.server/ext-run.exp
9399 * gdb.server/ext-wrapper.exp
9400 * gdb.stabs/gdb11479.exp
9401 * gdb.stabs/weird.exp
9402 * gdb.threads/attach-many-short-lived-threads.exp
9403 * gdb.threads/kill.exp
9404 * gdb.threads/watchpoint-fork.exp
9405
94062016-12-01 Luis Machado <lgustavo@codesourcery.com>
9407
9408 Fix test names starting with uppercase throughout all the files below.
9409
9410 * gdb.ada/array_return.exp
9411 * gdb.ada/catch_ex.exp
9412 * gdb.ada/info_exc.exp
9413 * gdb.ada/mi_catch_ex.exp
9414 * gdb.ada/mi_dyn_arr.exp
9415 * gdb.ada/mi_ex_cond.exp
9416 * gdb.ada/mi_exc_info.exp
9417 * gdb.ada/mi_interface.exp
9418 * gdb.ada/mi_task_arg.exp
9419 * gdb.ada/mi_task_info.exp
9420 * gdb.ada/mi_var_array.exp
9421 * gdb.arch/alpha-step.exp
9422 * gdb.arch/amd64-disp-step.exp
9423 * gdb.arch/arm-disp-step.exp
9424 * gdb.arch/disp-step-insn-reloc.exp
9425 * gdb.arch/e500-prologue.exp
9426 * gdb.arch/ftrace-insn-reloc.exp
9427 * gdb.arch/gdb1558.exp
9428 * gdb.arch/i386-bp_permanent.exp
9429 * gdb.arch/i386-disp-step.exp
9430 * gdb.arch/i386-float.exp
9431 * gdb.arch/i386-gnu-cfi.exp
9432 * gdb.arch/ia64-breakpoint-shadow.exp
9433 * gdb.arch/mips16-thunks.exp
9434 * gdb.arch/pa-nullify.exp
9435 * gdb.arch/powerpc-aix-prologue.exp
9436 * gdb.arch/powerpc-power.exp
9437 * gdb.arch/ppc-dfp.exp
9438 * gdb.arch/s390-tdbregs.exp
9439 * gdb.arch/spu-info.exp
9440 * gdb.arch/spu-ls.exp
9441 * gdb.arch/thumb-bx-pc.exp
9442 * gdb.base/advance.exp
9443 * gdb.base/annota-input-while-running.exp
9444 * gdb.base/arrayidx.exp
9445 * gdb.base/asmlabel.exp
9446 * gdb.base/async.exp
9447 * gdb.base/attach-wait-input.exp
9448 * gdb.base/auto-connect-native-target.exp
9449 * gdb.base/batch-preserve-term-settings.exp
9450 * gdb.base/bfp-test.exp
9451 * gdb.base/bigcore.exp
9452 * gdb.base/bp-permanent.exp
9453 * gdb.base/break-always.exp
9454 * gdb.base/break-fun-addr.exp
9455 * gdb.base/break-idempotent.exp
9456 * gdb.base/break-main-file-remove-fail.exp
9457 * gdb.base/break-probes.exp
9458 * gdb.base/break-unload-file.exp
9459 * gdb.base/break.exp
9460 * gdb.base/call-ar-st.exp
9461 * gdb.base/call-rt-st.exp
9462 * gdb.base/call-sc.exp
9463 * gdb.base/call-signal-resume.exp
9464 * gdb.base/call-strs.exp
9465 * gdb.base/callexit.exp
9466 * gdb.base/callfuncs.exp
9467 * gdb.base/catch-gdb-caused-signals.exp
9468 * gdb.base/catch-signal-siginfo-cond.exp
9469 * gdb.base/catch-syscall.exp
9470 * gdb.base/compare-sections.exp
9471 * gdb.base/cond-eval-mode.exp
9472 * gdb.base/condbreak-call-false.exp
9473 * gdb.base/consecutive-step-over.exp
9474 * gdb.base/cursal.exp
9475 * gdb.base/disabled-location.exp
9476 * gdb.base/disasm-end-cu.exp
9477 * gdb.base/display.exp
9478 * gdb.base/double-prompt-target-event-error.exp
9479 * gdb.base/dprintf-bp-same-addr.exp
9480 * gdb.base/dprintf-detach.exp
9481 * gdb.base/dprintf-next.exp
9482 * gdb.base/dprintf-non-stop.exp
9483 * gdb.base/dprintf-pending.exp
9484 * gdb.base/dso2dso.exp
9485 * gdb.base/ending-run.exp
9486 * gdb.base/enum_cond.exp
9487 * gdb.base/examine-backward.exp
9488 * gdb.base/exe-lock.exp
9489 * gdb.base/exec-invalid-sysroot.exp
9490 * gdb.base/execl-update-breakpoints.exp
9491 * gdb.base/execution-termios.exp
9492 * gdb.base/fileio.exp
9493 * gdb.base/fixsection.exp
9494 * gdb.base/foll-exec-mode.exp
9495 * gdb.base/foll-exec.exp
9496 * gdb.base/fork-running-state.exp
9497 * gdb.base/frame-args.exp
9498 * gdb.base/fullpath-expand.exp
9499 * gdb.base/func-ptr.exp
9500 * gdb.base/gcore-relro-pie.exp
9501 * gdb.base/gdb1090.exp
9502 * gdb.base/gdb1555.exp
9503 * gdb.base/global-var-nested-by-dso.exp
9504 * gdb.base/gnu-ifunc.exp
9505 * gdb.base/hbreak-in-shr-unsupported.exp
9506 * gdb.base/hbreak-unmapped.exp
9507 * gdb.base/hook-stop.exp
9508 * gdb.base/infcall-input.exp
9509 * gdb.base/info-fun.exp
9510 * gdb.base/info-shared.exp
9511 * gdb.base/interrupt-noterm.exp
9512 * gdb.base/jit-so.exp
9513 * gdb.base/jit.exp
9514 * gdb.base/line-symtabs.exp
9515 * gdb.base/list.exp
9516 * gdb.base/longjmp.exp
9517 * gdb.base/macscp.exp
9518 * gdb.base/max-value-size.exp
9519 * gdb.base/nodebug.exp
9520 * gdb.base/nofield.exp
9521 * gdb.base/overlays.exp
9522 * gdb.base/paginate-after-ctrl-c-running.exp
9523 * gdb.base/paginate-bg-execution.exp
9524 * gdb.base/paginate-inferior-exit.exp
9525 * gdb.base/pending.exp
9526 * gdb.base/pr11022.exp
9527 * gdb.base/printcmds.exp
9528 * gdb.base/ptr-typedef.exp
9529 * gdb.base/ptype.exp
9530 * gdb.base/randomize.exp
9531 * gdb.base/range-stepping.exp
9532 * gdb.base/realname-expand.exp
9533 * gdb.base/relativedebug.exp
9534 * gdb.base/remote.exp
9535 * gdb.base/savedregs.exp
9536 * gdb.base/sepdebug.exp
9537 * gdb.base/set-noassign.exp
9538 * gdb.base/shlib-call.exp
9539 * gdb.base/shreloc.exp
9540 * gdb.base/sigaltstack.exp
9541 * gdb.base/sigbpt.exp
9542 * gdb.base/siginfo-addr.exp
9543 * gdb.base/siginfo-obj.exp
9544 * gdb.base/siginfo-thread.exp
9545 * gdb.base/signest.exp
9546 * gdb.base/signull.exp
9547 * gdb.base/sigrepeat.exp
9548 * gdb.base/skip.exp
9549 * gdb.base/so-impl-ld.exp
9550 * gdb.base/solib-corrupted.exp
9551 * gdb.base/solib-disc.exp
9552 * gdb.base/solib-display.exp
9553 * gdb.base/solib-overlap.exp
9554 * gdb.base/solib-search.exp
9555 * gdb.base/solib-symbol.exp
9556 * gdb.base/source-execution.exp
9557 * gdb.base/sss-bp-on-user-bp-2.exp
9558 * gdb.base/sss-bp-on-user-bp.exp
9559 * gdb.base/stack-checking.exp
9560 * gdb.base/stale-infcall.exp
9561 * gdb.base/step-break.exp
9562 * gdb.base/step-line.exp
9563 * gdb.base/step-over-exit.exp
9564 * gdb.base/step-test.exp
9565 * gdb.base/structs.exp
9566 * gdb.base/sym-file.exp
9567 * gdb.base/symtab-search-order.exp
9568 * gdb.base/term.exp
9569 * gdb.base/type-opaque.exp
9570 * gdb.base/unload.exp
9571 * gdb.base/until-nodebug.exp
9572 * gdb.base/until.exp
9573 * gdb.base/unwindonsignal.exp
9574 * gdb.base/watch-cond.exp
9575 * gdb.base/watch-non-mem.exp
9576 * gdb.base/watch_thread_num.exp
9577 * gdb.base/watchpoint-reuse-slot.exp
9578 * gdb.base/watchpoint-solib.exp
9579 * gdb.base/watchpoint.exp
9580 * gdb.btrace/dlopen.exp
9581 * gdb.cell/arch.exp
9582 * gdb.cell/break.exp
9583 * gdb.cell/bt.exp
9584 * gdb.cell/core.exp
9585 * gdb.cell/data.exp
9586 * gdb.cell/dwarfaddr.exp
9587 * gdb.cell/ea-cache.exp
9588 * gdb.cell/ea-standalone.exp
9589 * gdb.cell/ea-test.exp
9590 * gdb.cell/f-regs.exp
9591 * gdb.cell/fork.exp
9592 * gdb.cell/gcore.exp
9593 * gdb.cell/mem-access.exp
9594 * gdb.cell/ptype.exp
9595 * gdb.cell/registers.exp
9596 * gdb.cell/sizeof.exp
9597 * gdb.cell/solib-symbol.exp
9598 * gdb.cell/solib.exp
9599 * gdb.compile/compile-tls.exp
9600 * gdb.cp/exception.exp
9601 * gdb.cp/gdb2495.exp
9602 * gdb.cp/local.exp
9603 * gdb.cp/mb-inline.exp
9604 * gdb.cp/mb-templates.exp
9605 * gdb.cp/pr10687.exp
9606 * gdb.cp/pr9167.exp
9607 * gdb.cp/scope-err.exp
9608 * gdb.cp/templates.exp
9609 * gdb.cp/virtfunc.exp
9610 * gdb.dwarf2/dw2-dir-file-name.exp
9611 * gdb.dwarf2/dw2-single-line-discriminators.exp
9612 * gdb.fortran/complex.exp
9613 * gdb.fortran/library-module.exp
9614 * gdb.guile/guile.exp
9615 * gdb.guile/scm-cmd.exp
9616 * gdb.guile/scm-frame-inline.exp
9617 * gdb.guile/scm-objfile.exp
9618 * gdb.guile/scm-pretty-print.exp
9619 * gdb.guile/scm-symbol.exp
9620 * gdb.guile/scm-type.exp
9621 * gdb.guile/scm-value.exp
9622 * gdb.linespec/keywords.exp
9623 * gdb.linespec/ls-errs.exp
9624 * gdb.linespec/macro-relative.exp
9625 * gdb.linespec/thread.exp
9626 * gdb.mi/mi-breakpoint-changed.exp
9627 * gdb.mi/mi-dprintf-pending.exp
9628 * gdb.mi/mi-fullname-deleted.exp
9629 * gdb.mi/mi-logging.exp
9630 * gdb.mi/mi-pending.exp
9631 * gdb.mi/mi-solib.exp
9632 * gdb.mi/new-ui-mi-sync.exp
9633 * gdb.mi/user-selected-context-sync.exp
9634 * gdb.multi/dummy-frame-restore.exp
9635 * gdb.multi/multi-arch-exec.exp
9636 * gdb.multi/remove-inferiors.exp
9637 * gdb.multi/watchpoint-multi-exit.exp
9638 * gdb.opt/solib-intra-step.exp
9639 * gdb.perf/backtrace.exp
9640 * gdb.perf/single-step.exp
9641 * gdb.perf/skip-command.exp
9642 * gdb.perf/skip-prologue.exp
9643 * gdb.perf/solib.exp
9644 * gdb.python/lib-types.exp
9645 * gdb.python/py-as-string.exp
9646 * gdb.python/py-bad-printers.exp
9647 * gdb.python/py-block.exp
9648 * gdb.python/py-breakpoint.exp
9649 * gdb.python/py-cmd.exp
9650 * gdb.python/py-events.exp
9651 * gdb.python/py-evthreads.exp
9652 * gdb.python/py-finish-breakpoint.exp
9653 * gdb.python/py-finish-breakpoint2.exp
9654 * gdb.python/py-frame-inline.exp
9655 * gdb.python/py-frame.exp
9656 * gdb.python/py-inferior.exp
9657 * gdb.python/py-infthread.exp
9658 * gdb.python/py-mi.exp
9659 * gdb.python/py-objfile.exp
9660 * gdb.python/py-pp-maint.exp
9661 * gdb.python/py-pp-registration.exp
9662 * gdb.python/py-prettyprint.exp
9663 * gdb.python/py-recurse-unwind.exp
9664 * gdb.python/py-shared.exp
9665 * gdb.python/py-symbol.exp
9666 * gdb.python/py-symtab.exp
9667 * gdb.python/py-template.exp
9668 * gdb.python/py-type.exp
9669 * gdb.python/py-unwind-maint.exp
9670 * gdb.python/py-unwind.exp
9671 * gdb.python/py-value.exp
9672 * gdb.python/python.exp
9673 * gdb.reverse/finish-reverse-bkpt.exp
9674 * gdb.reverse/insn-reverse.exp
9675 * gdb.reverse/next-reverse-bkpt-over-sr.exp
9676 * gdb.reverse/solib-precsave.exp
9677 * gdb.reverse/solib-reverse.exp
9678 * gdb.stabs/gdb11479.exp
9679 * gdb.stabs/weird.exp
9680 * gdb.threads/fork-child-threads.exp
9681 * gdb.threads/fork-plus-threads.exp
9682 * gdb.threads/fork-thread-pending.exp
9683 * gdb.threads/forking-threads-plus-breakpoint.exp
9684 * gdb.threads/hand-call-in-threads.exp
9685 * gdb.threads/interrupted-hand-call.exp
9686 * gdb.threads/linux-dp.exp
9687 * gdb.threads/local-watch-wrong-thread.exp
9688 * gdb.threads/next-while-other-thread-longjmps.exp
9689 * gdb.threads/non-ldr-exit.exp
9690 * gdb.threads/pending-step.exp
9691 * gdb.threads/print-threads.exp
9692 * gdb.threads/process-dies-while-detaching.exp
9693 * gdb.threads/process-dies-while-handling-bp.exp
9694 * gdb.threads/pthreads.exp
9695 * gdb.threads/queue-signal.exp
9696 * gdb.threads/reconnect-signal.exp
9697 * gdb.threads/signal-command-handle-nopass.exp
9698 * gdb.threads/signal-command-multiple-signals-pending.exp
9699 * gdb.threads/signal-delivered-right-thread.exp
9700 * gdb.threads/signal-sigtrap.exp
9701 * gdb.threads/sigthread.exp
9702 * gdb.threads/staticthreads.exp
9703 * gdb.threads/stepi-random-signal.exp
9704 * gdb.threads/thread-unwindonsignal.exp
9705 * gdb.threads/thread_check.exp
9706 * gdb.threads/thread_events.exp
9707 * gdb.threads/tid-reuse.exp
9708 * gdb.threads/tls-nodebug.exp
9709 * gdb.threads/tls-shared.exp
9710 * gdb.threads/tls-so_extern.exp
9711 * gdb.threads/tls.exp
9712 * gdb.threads/wp-replication.exp
9713 * gdb.trace/actions-changed.exp
9714 * gdb.trace/actions.exp
9715 * gdb.trace/backtrace.exp
9716 * gdb.trace/change-loc.exp
9717 * gdb.trace/collection.exp
9718 * gdb.trace/deltrace.exp
9719 * gdb.trace/disconnected-tracing.exp
9720 * gdb.trace/entry-values.exp
9721 * gdb.trace/ftrace-lock.exp
9722 * gdb.trace/ftrace.exp
9723 * gdb.trace/infotrace.exp
9724 * gdb.trace/mi-trace-frame-collected.exp
9725 * gdb.trace/mi-trace-unavailable.exp
9726 * gdb.trace/mi-traceframe-changed.exp
9727 * gdb.trace/mi-tracepoint-changed.exp
9728 * gdb.trace/mi-tsv-changed.exp
9729 * gdb.trace/no-attach-trace.exp
9730 * gdb.trace/packetlen.exp
9731 * gdb.trace/passc-dyn.exp
9732 * gdb.trace/passcount.exp
9733 * gdb.trace/pending.exp
9734 * gdb.trace/pr16508.exp
9735 * gdb.trace/qtro.exp
9736 * gdb.trace/range-stepping.exp
9737 * gdb.trace/read-memory.exp
9738 * gdb.trace/report.exp
9739 * gdb.trace/save-trace.exp
9740 * gdb.trace/signal.exp
9741 * gdb.trace/stap-trace.exp
9742 * gdb.trace/status-stop.exp
9743 * gdb.trace/strace.exp
9744 * gdb.trace/tfile.exp
9745 * gdb.trace/tfind.exp
9746 * gdb.trace/trace-break.exp
9747 * gdb.trace/trace-condition.exp
9748 * gdb.trace/trace-enable-disable.exp
9749 * gdb.trace/trace-mt.exp
9750 * gdb.trace/tracecmd.exp
9751 * gdb.trace/tracefile-pseudo-reg.exp
9752 * gdb.trace/tspeed.exp
9753 * gdb.trace/tstatus.exp
9754 * gdb.trace/tsv.exp
9755 * gdb.trace/unavailable.exp
9756 * gdb.trace/while-dyn.exp
9757 * gdb.trace/while-stepping.exp
9758 * lib/gdb-guile.exp
9759 * lib/gdb.exp
9760 * lib/mi-support.exp
9761 * lib/pascal.exp
9762 * lib/perftest.exp
9763 * lib/prelink-support.exp
9764 * lib/selftest-support.exp
9765
97662016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
9767
9768 * Makefile.in: Include disable-implicit-rules.mk.
9769
97702016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9771
9772 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
9773 non-byte-aligned bit fields.
9774
97752016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9776
9777 PR gdb/12616
9778 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
9779 respects the DW_AT_data_bit_offset attribute.
9780
97812016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
9782
9783 * gdb.base/default.exp: Fix output of "set language".
9784
97852016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
9786
9787 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
9788 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
9789 make.
9790 * configure.ac: Remove checks for the make program.
9791 * configure: Re-generate.
9792
97932016-11-16 Kevin Buettner <kevinb@redhat.com>
9794
9795 * gdb.python/py-recurse-unwind.c (main): Add loop.
9796 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
9797 to read_register() and gdb.parse_and_eval(). Make each code
9798 call a separate case that can be individually tested.
9799 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
9800 proc. Call cont_and_backtrace for each of the code paths that
9801 we want to test in the unwinder.
9802
98032016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
9804
9805 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
9806 the definition of struct S.
9807
98082016-11-11 Catherine Moore <clm@codesourcery.com>
9809
9810 * gdb.base/dump.exp: Identify verilog format dump tests as such.
9811
98122016-11-09 Pedro Alves <palves@redhat.com>
9813
9814 * gdb.base/commands.exp (runto_or_return): New procedure.
9815 (gdbvar_simple_if_test, gdbvar_simple_while_test)
9816 (gdbvar_complex_if_while_test, progvar_simple_if_test)
9817 (progvar_simple_while_test, progvar_complex_if_while_test)
9818 (if_while_breakpoint_command_test)
9819 (infrun_breakpoint_command_test, breakpoint_command_test)
9820 (user_defined_command_test, watchpoint_command_test)
9821 (test_command_prompt_position, redefine_hook_test)
9822 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
9823 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
9824 multi_line_input and multi_line. Remove gdb_expect and
9825 gdb_stop_suppressing_tests uses.
9826 * lib/gdb.exp (valnum_re): New global.
9827 (multi_line_input): New procedure.
9828
98292016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
9830
9831 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
9832 Remove.
9833 (test_setup): Define with proc_with_prefix.
9834 (test_cli_inferior): Likewise.
9835 (test_cli_thread): Likewise.
9836 (test_cli_frame): Likewise.
9837 (test_cli_select_frame): Likewise.
9838 (test_cli_up_down): Likewise.
9839 (test_mi_thread_select): Likewise.
9840 (test_mi_stack_select_frame): Likewise.
9841 (test_cli_in_mi_inferior): Likewise.
9842 (test_cli_in_mi_thread): Likewise.
9843 (test_cli_in_mi_frame): Likewise.
9844 (top level): Do not use with_test_prefix_procname.
9845
98462016-11-09 Pedro Alves <palves@redhat.com>
9847
9848 * gdb.base/commands.exp (gdbvar_simple_if_test)
9849 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
9850 (progvar_simple_if_test, progvar_simple_while_test)
9851 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
9852 (infrun_breakpoint_command_test, breakpoint_command_test)
9853 (user_defined_command_test, watchpoint_command_test)
9854 (test_command_prompt_position, deprecated_command_test)
9855 (bp_deleted_in_command, temporary_breakpoint_commands)
9856 (stray_arg0_test, source_file_with_indented_comment)
9857 (recursive_source_test, if_commands_test)
9858 (error_clears_commands_left, redefine_hook_test)
9859 (redefine_backtrace_test): Use proc_with_prefix.
9860 * lib/gdb.exp (proc_with_prefix): New proc.
9861
98622016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
9863
9864 * gdb.base/tui-layout.c: New file.
9865 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
9866 disassembly window contains very long lines.
9867
98682016-11-08 Tom Tromey <tom@tromey.com>
9869
9870 * gdb.python/py-value.exp (test_value_creation): Make "long" test
9871 depend on Python 2.
9872
98732016-11-08 Tom Tromey <tom@tromey.com>
9874
9875 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
9876 New method.
9877
98782016-10-29 Manish Goregaokar <manish@mozilla.com>
9879
9880 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
9881
98822016-10-27 Manish Goregaokar <manish@mozilla.com>
9883
9884 * gdb.rust/simple.rs: Add test for univariant enums without
9885 discriminants and for encoded struct-like enums.
9886
98872016-10-28 Pedro Alves <palves@redhat.com>
9888
9889 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
9890 gdb_test_multiple, tighten regexps and match symtabs and line
9891 tables incrementally.
9892
98932016-10-28 Luis Machado <lgustavo@codesourcery.com>
9894
9895 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
9896 general.
9897
98982016-10-25 Luis Machado <lgustavo@codesourcery.com>
9899
9900 * gdb.base/exec-invalid-sysroot.exp: New file.
9901
99022016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9903
9904 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
9905
99062016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9907
9908 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
9909
99102016-10-19 Maciej W. Rozycki <macro@imgtec.com>
9911
9912 * gdb.base/killed-outside.exp: Remove $options from a call to
9913 `prepare_for_testing'.
9914
99152016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9916
9917 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
9918 Change test message.
9919
99202016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9921
9922 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
9923 Update comment.
9924
99252016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9926
9927 * gdb.trace/mi-trace-save.exp: New file.
9928
99292016-10-13 Yao Qi <yao.qi@linaro.org>
9930
9931 * gdb.base/code_elim.exp (get_var_address): Remove.
9932 * gdb.base/relocate.exp: Likewise.
9933 * gdb.base/shreloc.exp: Likewise.
9934 * lib/gdb.exp (get_var_address): New.
9935
99362016-10-13 Yao Qi <yao.qi@linaro.org>
9937
9938 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
9939 floating point tests if $skip_float_test is false.
9940
99412016-10-12 Luis Machado <lgustavo@codesourcery.com>
9942
9943 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
9944 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
9945 argc values.
9946 Add 1 to argc so we guarantee distinct initial/modified argc values.
9947
99482016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9949
9950 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
9951
99522016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9953
9954 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
9955 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
9956 * gdb.arch/vsx-regs.exp: Likewise.
9957
99582016-10-07 Yao Qi <yao.qi@linaro.org>
9959
9960 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
9961
99622016-10-07 Markus Metzger <markus.t.metzger@intel.com>
9963
9964 * gdb.python/python.exp: Test decode_line("*0").
9965
99662016-10-06 Doug Evans <dje@google.com>
9967
9968 * gdb.python/py-value.exp (test_value_creation): Add test for large
9969 unsigned 64-bit value.
9970
99712016-10-06 Tom Tromey <tom@tromey.com>
9972
9973 * gdb.compile/compile.exp: Change java tests to rust.
9974 * gdb.base/setshow.exp: Change java tests to rust.
9975 * gdb.base/default.exp: Remove java from language list.
9976 * README (Examples): Update language example.
9977 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
9978 test.
9979 * lib/gdb.exp (skip_java_tests): Remove.
9980 * lib/java.exp: Remove.
9981 * gdb.java: Remove.
9982
99832016-10-06 Maciej W. Rozycki <macro@imgtec.com>
9984
9985 * gdb.arch/mips-fcr.exp: New test.
9986 * gdb.arch/mips-fcr.c: Source for the new test.
9987
99882016-10-06 Maciej W. Rozycki <macro@imgtec.com>
9989
9990 * gdb.base/solib-disc.exp: Use `standard_output_file'
9991 throughout.
9992
99932016-10-06 Pedro Alves <palves@redhat.com>
9994
9995 * gdb.base/jit-simple-dl.c: New file.
9996 * gdb.base/jit-simple-jit.c: New file, factored out from ...
9997 * gdb.base/jit-simple.c: ... this.
9998 * gdb.base/jit-simple.exp (jit_run): Delete.
9999 (build_jit): New proc.
10000 (jit_test_reread): Recompile either the main program or the shared
10001 library, depending on what is being tested. Skip changing address
10002 if caller wants to. Compare before/after addresses. If testing
10003 standalone, explicitly load the binary. Test "maint info
10004 breakpoints".
10005 (top level): Add "standalone vs shared lib" and "change address"
10006 vs "same address" axes.
10007
100082016-10-06 Pedro Alves <palves@redhat.com>
10009
10010 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
10011 call.
10012 (jit_run): Delete.
10013 (jit_test_reread): Use with_test_prefix. Reload the main binary
10014 explicitly. Compare the before/after addresses of the JIT
10015 descriptor.
10016
100172016-08-15 Doug Evans <dje@google.com>
10018
10019 * gdb.xml/extra-regs.xml: Update, end field now required, default type
10020 for single bitfields is bool.
10021 * gdb.xml/tdesc-regs.exp: Ditto.
10022
100232016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10024
10025 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
10026
100272016-10-05 Yao Qi <yao.qi@linaro.org>
10028
10029 * lib/gdb.exp (support_complex_tests): Return zero if
10030 gdb_skip_float_test return true.
10031
100322016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
10033 Simon Marchi <simon.marchi@ericsson.com>
10034
10035 PR gdb/20487
10036 * gdb.mi/user-selected-context-sync.exp: New file.
10037 * gdb.mi/user-selected-context-sync.c: New file.
10038
100392016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
10040 Simon Marchi <simon.marchi@ericsson.com>
10041
10042 PR gdb/20487
10043 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
10044 =thread-select-event check.
10045
100462016-09-29 Peter Bergner <bergner@vnet.ibm.com>
10047
10048 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
10049 the compulsory L operand changes.
10050 * gdb.arch/powerpc-power.s: Likewise.
10051
100522016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10053
10054 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
10055 * gdb.base/jit-attach-pie.c: New file.
10056 * gdb.base/jit-attach-pie.exp: New file.
10057
100582016-09-28 Pedro Alves <palves@redhat.com>
10059
10060 * gdb.base/infcall-input.c: New file.
10061 * gdb.base/infcall-input.exp: New file.
10062
100632016-09-22 Yao Qi <yao.qi@linaro.org>
10064
10065 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
10066 (gdb_exit): Rename it to ...
10067 (gdbserver_gdb_exit): ... Close GDBserver.
10068 (gdb_exit): New proc, call gdbserver_gdb_exit.
10069 (mi_gdb_exit): Likewise.
10070
100712016-09-22 Yao Qi <yao.qi@linaro.org>
10072
10073 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
10074 path.
10075 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
10076 Remove duplication.
10077
100782016-09-22 Yao Qi <yao.qi@linaro.org>
10079
10080 * lib/gdbserver-support.exp: Check the existence of
10081 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
10082
100832016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
10084
10085 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
10086
100872016-09-21 Tom Tromey <tom@tromey.com>
10088
10089 PR gdb/20604:
10090 * gdb.base/quit.exp: New file.
10091
100922016-09-21 Simon Marchi <simon.marchi@ericsson.com>
10093
10094 * .gitignore: New file.
10095
100962016-09-21 Maciej W. Rozycki <macro@imgtec.com>
10097
10098 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
10099 throughout.
10100
101012016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10102
10103 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
10104
101052016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10106
10107 * gdb.cp/casts.cc (decltype): Move it ...
10108 (main): ... with its call to ...
10109 * gdb.cp/casts03.cc: ... a new file.
10110 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
10111
101122016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10113
10114 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
10115
101162016-09-15 Peter Bergner <bergner@vnet.ibm.com>
10117
10118 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
10119 and sync up the test with tests in gas/testsuite/gas/ppc.
10120 * gdb.arch/powerpc-power.exp: Likewise.
10121
101222016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10123
10124 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
10125
101262016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
10127 Jan Kratochvil <jan.kratochvil@redhat.com>
10128
10129 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
10130 make m1's definition to be different from m2's. Use 'dummy' as an
10131 argument for probe 'two'.
10132
101332016-09-10 Jon Beniston <jon@beniston.com>
10134
10135 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
10136 for sim target.
10137
101382016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
10139
10140 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
10141 variable declaration.
10142 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
10143 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
10144 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
10145 received HWCAP as its argument.
10146
101472016-09-06 Pedro Alves <palves@redhat.com>
10148
10149 * gdb.base/new-ui-pending-input.c: New file.
10150 * gdb.base/new-ui-pending-input.exp: New file.
10151 * gdb.exp (clear_gdb_spawn_id): New procedure.
10152 (with_spawn_id): Check whether gdb_spawn_id exists before
10153 referencing it. If gdb_spawn_id didn't exist on entry, clear it
10154 on exit.
10155
101562016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
10157
10158 * gdb.base/float128.c: New file.
10159 * gdb.base/float128.exp: Likewise.
10160 * gdb.base/floatn.c: Likewise.
10161 * gdb.base/floatn.exp: Likewise.
10162
101632016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
10164
10165 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
10166
101672016-09-05 Pedro Alves <palves@redhat.com>
10168
10169 PR backtrace/19927
10170 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
10171 unwinders are immediately called as side effect of "source" or
10172 "disable unwinder" commands.
10173 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
10174
101752016-09-02 Yao Qi <yao.qi@linaro.org>
10176
10177 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
10178 is true and $type is "float" or "double".
10179
101802016-09-02 Yao Qi <yao.qi@linaro.org>
10181
10182 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
10183 true.
10184 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
10185 * gdb.base/call-rt-st.exp: Likewise.
10186 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
10187 return value instead of gdb,skip_float_test.
10188 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
10189 (do_function_calls): Use its return value instead of
10190 gdb,skip_float_test.
10191 * gdb.base/finish.exp: Likewise.
10192 * gdb.base/funcargs.exp: Likewise.
10193 * gdb.base/return.exp: Likewise.
10194 * gdb.base/return2.exp: Likewise.
10195 * gdb.base/varargs.exp: Likewise.
10196 * lib/gdb.exp (gdb_skip_float_test): Change it to
10197 gdb_caching_proc. Detect the broken ptrace on arm-linux.
10198
101992016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
10200
10201 * gdb.multi/tids.exp: Test "thread apply all".
10202
102032016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10204
10205 * gdb.base/default.exp (tty): Remove.
10206
102072016-08-24 Kevin Buettner <kevinb@redhat.com>
10208
10209 * gdb.python/py-recurse-unwind.c: New file.
10210 * gdb.python/py-recurse-unwind.py: New file.
10211 * gdb.python/py-recurse-unwind.exp: New file.
10212
102132016-08-24 Simon Marchi <simon.marchi@ericsson.com>
10214
10215 * gdb.base/set-inferior-tty.exp: New file.
10216 * gdb.base/set-inferior-tty.c: New file.
10217
102182016-08-23 Pedro Alves <palves@redhat.com>
10219
10220 PR gdb/20494
10221 * gdb.base/new-ui-echo.c: New file.
10222 * gdb.base/new-ui-echo.exp: New file.
10223
102242016-08-23 Yao Qi <yao.qi@linaro.org>
10225
10226 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
10227 gdbserver_spawn.
10228 * gdb.server/connect-without-multi-process.exp (do_test):
10229 Likewise.
10230
102312016-08-23 Yao Qi <yao.qi@linaro.org>
10232
10233 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
10234 standalone_txt. Delete gdb_txt and standalone_txt on host
10235 and target. Spawn the binary on target. Copy files from
10236 target to host.
10237
102382016-08-22 Pedro Alves <palves@redhat.com>
10239
10240 PR gdb/20505
10241 * gdb.base/vdso-warning.exp: Test core dumps too. Use
10242 with_test_prefix. Factor out bits to ...
10243 (test_no_vdso): ... this new procedure.
10244
102452016-08-19 Carl Love <cel@us.ibm.com>
10246
10247 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
10248 maintaining separate logic for constructing the output path.
10249 * gdb.arch/powerpc-d128-regs.exp: Likewise.
10250 * gdb.arch/ppc-dfp.exp: Likewise.
10251 * gdb.arch/ppc-fp.exp: Likewise.
10252 * gdb.arch/vsx-regs.exp: Likewise.
10253 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
10254 binprefix for generating the additional binary files.
10255
102562016-08-19 Pedro Alves <palves@redhat.com>
10257
10258 * gdb.trace/mi-trace-frame-collected.exp
10259 (test_trace_frame_collected): On x32, expect two registers.
10260
102612016-08-18 Carl Love <cel@us.ibm.com>
10262
10263 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
10264 and sync up the test with tests in gas/testsuite/gas/ppc.
10265 * gdb.arch/powerpc-power.exp: Likewise.
10266
102672016-08-17 Simon Marchi <simon.marchi@ericsson.com>
10268
10269 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
10270 expected error message.
10271
102722016-08-17 Simon Marchi <simon.marchi@ericsson.com>
10273
10274 * gdb.multi/remove-inferiors.exp: New file.
10275 * gdb.multi/remove-inferiors.c: New file.
10276
102772016-08-12 Yao Qi <yao.qi@linaro.org>
10278
10279 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
10280 argument list.
10281
102822016-08-10 Pedro Alves <palves@redhat.com>
10283
10284 PR gdb/19187
10285 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
10286 setup_kfails.
10287
102882016-08-09 Pedro Alves <palves@redhat.com>
10289 Simon Marchi <simon.marchi@ericsson.com>
10290
10291 PR gdb/20418
10292 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
10293 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
10294
102952016-08-09 Pedro Alves <palves@redhat.com>
10296
10297 PR mi/20431
10298 * gdb.mi/mi-cmd-error.exp: New file.
10299
103002016-08-09 Pedro Alves <palves@redhat.com>
10301
10302 PR gdb/18653
10303 * gdb.base/signals-state-child.c: New file.
10304 * gdb.base/signals-state-child.exp: New file.
10305 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
10306
103072016-08-09 Pedro Alves <palves@redhat.com>
10308
10309 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
10310
103112016-08-03 Tom Tromey <tom@tromey.com>
10312
10313 PR python/18565:
10314 * gdb.python/py-frame-inline.exp: Add Frame.function test.
10315
103162016-08-01 Yao Qi <yao.qi@linaro.org>
10317
10318 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
10319 variable mode to "multi-process" if $multi_process is 1, otherwise
10320 set it to "single-process".
10321
103222016-08-01 Yao Qi <yao.qi@linaro.org>
10323
10324 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
10325 * gdb.cp/cpexprs.exp: Likewise.
10326 * gdb.cp/m-static.exp: Likewise.
10327
103282016-07-26 Tom Tromey <tom@tromey.com>
10329
10330 PR python/20190:
10331 * gdb.threads/tls.exp (check_thread_local): Add python symbol
10332 test.
10333
103342016-07-26 Markus Metzger <markus.t.metzger@intel.com>
10335
10336 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
10337 selecting assembly source files.
10338 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
10339 assembly source files.
10340 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
10341 assembly source files.
10342 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
10343 selecting assembly source files.
10344
103452016-07-25 Simon Marchi <simon.marchi@ericsson.com>
10346
10347 * gdb.base/new-ui.exp (do_test_invalid_args): New
10348 procedure.
10349
103502016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
10351
10352 * gdb.btrace/reconnect.c: New file.
10353 * gdb.btrace/reconnect.exp: New file.
10354
103552016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
10356
10357 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
10358 to test_catch_syscall_group.
10359 (test_catch_syscall_group): New.
10360
103612016-07-21 Tom Tromey <tom@tromey.com>
10362
10363 * gdb.rust/simple.rs (main): Use empty struct expression.
10364 * gdb.rust/simple.exp: Add tests for empty struct expression.
10365
103662016-07-21 Yao Qi <yao.qi@linaro.org>
10367
10368 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
10369 if gdb_skip_xml_test is true on some targets.
10370
103712016-07-21 Yao Qi <yao.qi@linaro.org>
10372
10373 * gdb.server/solib-list.exp: Unset last_loaded_file.
10374
103752016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10376
10377 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
10378 "step into captured_main (args)".
10379
103802016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10381
10382 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
10383
103842016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10385
10386 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
10387
103882016-07-19 Pedro Alves <palves@redhat.com>
10389
10390 * gdb.opt/inline-break.exp: Remove optimize=-O2.
10391 * gdb.opt/inline-bt.exp: Likewise.
10392 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
10393 additional_flags=-Winline.
10394 * gdb.opt/inline-locals.exp: Likewise.
10395 * gdb.opt/inline-markers.c (ATTR): Define.
10396 (inlined_fn): Use it.
10397
103982016-07-19 Yao Qi <yao.qi@linaro.org>
10399
10400 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
10401 (test_with_self): Remove some code. Remove argument executable.
10402 (top-level): Use do_self_tests.
10403
104042016-07-15 Zachary Welch <zwelch@codesourcery.com>
10405 Don Breazeal <donb@codesourcery.com>
10406
10407 * gdb.base/maint.exp: Escape paths used in regular expressions.
10408 * gdb.stabs/weird.exp: Likewise.
10409
104102016-07-13 Tom Tromey <tom@tromey.com>
10411
10412 PR python/15620, PR python/18620:
10413 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
10414 (test_bkpt_events): New procs.
10415
104162016-07-13 Tom Tromey <tom@tromey.com>
10417
10418 PR python/17698:
10419 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
10420 test.
10421 (test_watchpoints): Likewise.
10422 (test_bkpt_pending): New proc.
10423
104242016-07-13 Tom Tromey <tom@tromey.com>
10425
10426 PR cli/18053:
10427 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
10428 completion test.
10429
104302016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10431
10432 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
10433 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
10434 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
10435 f_label.
10436 (g): Rename g_end_lbl to g_label.
10437 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
10438 low_pc and high_pc.
10439 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
10440
104412016-07-12 Tom Tromey <tom@tromey.com>
10442
10443 PR python/19293:
10444 * gdb.python/py-unwind-maint.exp: Update tests.
10445
104462016-07-12 Yao Qi <yao.qi@linaro.org>
10447
10448 * lib/selftest-support.exp (selftest_setup): Match the output
10449 when captured_main is inlined.
10450
104512016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
10452
10453 * gdb.fortran/derived-types.exp (result_line, result_line_2):
10454 New variables.
10455 (print this%a, print this%b, print this): New tests.
10456 * gdb.fortran/derived-types.f90 (this): New object and
10457 initialization.
10458
104592016-07-06 Simon Marchi <simon.marchi@ericsson.com>
10460
10461 * gdb.ada/arraydim.exp: Remove extra directory level in build
10462 directory.
10463
104642016-07-06 Simon Marchi <simon.marchi@ericsson.com>
10465
10466 * lib/ada.exp: Remove extra directory level in build directory.
10467 * gdb.ada/cond_lang.exp: Likewise.
10468 * gdb.ada/exec_changed.exp: Likewise.
10469 * gdb.ada/lang_switch.exp: Likewise.
10470
104712016-07-06 Manish Goregaokar <manish@mozilla.com>
10472
10473 * simple.rs: Add test for raw pointer subscripting.
10474 * simple.exp: Add test expectations.
10475
104762016-07-05 Yao Qi <yao.qi@linaro.org>
10477
10478 * gdb.mi/mi-reverse.exp: Match =record-started output.
10479
104802016-07-01 Pedro Alves <palves@redhat.com>
10481
10482 * gdb.base/jit-reader.exp (info_registers_current_frame): New
10483 procedure.
10484 (jit_reader_test): Test the jit reader's unwinder.
10485 * gdb.base/jithost.c (jit_function_00_code): New global.
10486 (main): Use memcpy to fill in the mmapped code, instead of poking
10487 bytes manually here.
10488 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
10489 value.
10490 (read_debug_info): Save the function's range.
10491 (read_sp): New function.
10492 (unwind_frame): Use it. Also unwind RBP.
10493 (get_frame_id): Use read_sp.
10494 (gdb_init_reader): Use calloc instead of malloc.
10495 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
10496 parameter. Use gdb_test_multiple.
10497
104982016-07-01 Pedro Alves <palves@redhat.com>
10499 Antoine Tremblay <antoine.tremblay@ericsson.com>
10500
10501 * gdb.threads/process-dies-while-detaching.c: New file.
10502 * gdb.threads/process-dies-while-detaching.exp: New file.
10503
105042016-07-01 Pedro Alves <palves@redhat.com>
10505
10506 * gdb.multi/watchpoint-multi-exit.c: New file.
10507 * gdb.multi/watchpoint-multi-exit.exp: New file.
10508
105092016-06-30 Pedro Alves <palves@redhat.com>
10510
10511 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
10512 unset inferior_spawn_id.
10513
105142016-06-30 Pedro Alves <palves@redhat.com>
10515
10516 * lib/mi-support.exp (default_mi_gdb_start): Declare global
10517 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
10518
105192016-06-29 Yao Qi <yao.qi@linaro.org>
10520
10521 * gdb.base/return.c: Add copyright header.
10522
105232016-06-29 Tom Tromey <tom@tromey.com>
10524
10525 PR python/20129:
10526 * gdb.python/py-framefilter.exp: Add tests for setting priority
10527 and disabling of non-existent frame filter.
10528
105292016-06-29 Yao Qi <yao.qi@linaro.org>
10530
10531 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
10532 0x0f07ff.
10533
105342016-06-28 Yao Qi <yao.qi@linaro.org>
10535
10536 * gdb.base/catch-syscall.exp: Remove check on isnative and target
10537 triplets. Start gdb, execute catch syscall, and continue. Check
10538 gdb's output to determine catch syscall is supported.
10539
105402016-06-27 Manish Goregaokar <manish@mozilla.com>
10541
10542 * gdb.rust/simple.rs: Add test for returning unit in a function.
10543 * gdb.rust/simple.exp: Add expectation for functions returning
10544 unit.
10545
105462016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
10547
10548 * gdb.python/py-breakpoint-create-fail.c,
10549 gdb.python/py-breakpoint-create-fail.exp,
10550 gdb.python/py-breakpoint-create-fail.py: New testcase.
10551
105522016-06-25 Manish Goregaokar <manish@mozilla.com>
10553
10554 PR gdb/20239
10555 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
10556 * gdb.rust/simple.exp: Add test expectations for new NonZero
10557 tests.
10558
105592016-06-24 David Taylor <dtaylor@emc.com>
10560
10561 * gdb.base/offsets.exp: New file.
10562 * gdb.base/offsets.c: New file.
10563
105642016-06-23 Tom Tromey <tom@tromey.com>
10565
10566 PR gdb/16483:
10567 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
10568 before any filters are loaded.
10569
105702016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
10571
10572 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
10573 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
10574 structs.
10575 * gdb.fortran/derived-type-function.exp: New file.
10576 * gdb.fortran/derived-type-function.f90: New file.
10577
10578
105792016-06-21 Pedro Alves <palves@redhat.com>
10580
10581 * gdb.base/new-ui.exp: New file.
10582 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
10583 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
10584 (with_spawn_id): New procedure.
10585
105862016-06-21 Pedro Alves <palves@redhat.com>
10587
10588 * gdb.mi/mi-exec-run.exp: New file.
10589
105902016-06-21 Pedro Alves <palves@redhat.com>
10591
10592 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
10593 breakpoint command's output on the main UI.
10594 (test_break): New procedure, factored out from calls in the top
10595 level.
10596 (top level): Use foreach_with_prefix to test MI as main UI and as
10597 separate UI.
10598
105992016-06-21 Pedro Alves <palves@redhat.com>
10600
10601 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
10602 (test_awatch_creation_and_listing)
10603 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
10604 Remove 'type' parameter.
10605 (test_watchpoint_all): New parameter mi_mode. Remove
10606 with_test_prefix.
10607 (top level): Use foreach_with_prefix, and add main/separate UI MI
10608 testing axis.
10609
106102016-06-21 Pedro Alves <palves@redhat.com>
10611
10612 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
10613 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
10614 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
10615 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
10616 (gdb_main_spawn_id, mi_spawn_id): Declare and
10617 comment.
10618 (mi_create_inferior_pty): New procedure,
10619 factored out from default_mi_gdb_start.
10620 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
10621 procedures.
10622 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
10623 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
10624 Use mi_create_inferior_pty.
10625 (mi_gdb_start): Use eval to pass down args list.
10626
106272016-06-21 Pedro Alves <palves@redhat.com>
10628
10629 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
10630 * gdb.opt/inline-cmds.exp: Add MI tests.
10631
106322016-06-21 Pedro Alves <palves@redhat.com>
10633
10634 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
10635
106362016-06-21 Pedro Alves <palves@redhat.com>
10637
10638 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
10639 (top level): Use it instead of mi_execute_to.
10640
106412016-06-21 Pedro Alves <palves@redhat.com>
10642
10643 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
10644 (cont_handler_str): New.
10645 (signal_stop_handler): Set stop_handler_str instead of printing to
10646 stdout.
10647 (continue_handler): Set cont_handler_str instead of printing to
10648 stdout.
10649 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
10650 mi_send_resuming_command. Print stop_handler_str and
10651 cont_handler_str instead of expecting the python events print
10652 directly.
10653
106542016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
10655
10656 * gdb.base/jit-reader.exp: New file.
10657 * gdb.base/jithost.c: New file.
10658 * gdb.base/jithost.h: New file.
10659 * gdb.base/jitreader.c : New file.
10660 * gdb.base/jit-protocol.h: New file.
10661
106622016-06-17 Yao Qi <yao.qi@linaro.org>
10663
10664 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
10665 parameters follow_fork and detach_on_fork. Set follow-fork-mode
10666 and detach-on-fork. Adjust tests.
10667 (top level): Invoke break_cond_on_syscall with combinations of
10668 syscall, follow-fork-mode and detach-on-fork.
10669
106702016-06-17 Yao Qi <yao.qi@linaro.org>
10671
10672 * gdb.base/step-over-exit.c: New.
10673 * gdb.base/step-over-exit.exp: New.
10674
106752016-06-17 Yan-Ting Lin <currygt52@gmail.com>
10676
10677 * gdb.base/float.exp: Add target check for nds32*-*-*.
10678 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
10679
106802016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
10681
10682 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
10683 for unsupported target features.
10684 * gdb.base/call-rt-st.exp: Likewise.
10685 * gdb.base/call-sc.exp: Likewise.
10686 * gdb.base/call-signal-resume.exp: Likewise.
10687 * gdb.base/call-strs.exp: Likewise.
10688 * gdb.base/callexit.exp: Likewise.
10689 * gdb.base/callfuncs.exp: Likewise.
10690 * gdb.base/nodebug.exp: Likewise.
10691 * gdb.base/printcmds.exp: Likewise.
10692 * gdb.base/ptype.exp: Likewise.
10693 * gdb.base/structs.exp: Likewise.
10694 * gdb.base/unwindonsignal.exp: Likewise.
10695 * gdb.cp/gdb2495.exp: Likewise.
10696 * gdb.cp/templates.exp: Likewise.
10697 * gdb.cp/virtfunc.exp: Likewise.
10698 * gdb.threads/hand-call-in-threads.exp: Likewise.
10699 * gdb.threads/interrupted-hand-call.exp: Likewise.
10700 * gdb.threads/thread-unwindonsignal.exp: Likewise.
10701
107022016-06-10 Tom Tromey <tom@tromey.com>
10703
10704 PR rust/20110:
10705 * gdb.rust/expr.exp: Add test for integer constant larger than
10706 i32.
10707
107082016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
10709
10710 * gdb.fortran/nested-funcs.exp: New.
10711 * gdb.fortran/nested-funcs.f90: New.
10712
107132016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
10714
10715 * gdb.base/examine-backward.c: New file.
10716 * gdb.base/examine-backward.exp: New file.
10717
107182016-06-06 Simon Marchi <simon.marchi@ericsson.com>
10719
10720 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
10721 matching.
10722
107232016-06-02 Tom Tromey <tom@tromey.com>
10724
10725 PR python/18984:
10726 * gdb.python/py-shared.exp: Add solib_name test.
10727
107282016-06-02 Simon Marchi <simon.marchi@ericsson.com>
10729
10730 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
10731
107322016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
10733
10734 PR c++/19893
10735 * gdb.dwarf2/implref.exp: Rename to...
10736 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
10737 * gdb.dwarf2/implref-array.c: New file.
10738 * gdb.dwarf2/implref-array.exp: Likewise.
10739 * gdb.dwarf2/implref-global.c: Likewise.
10740 * gdb.dwarf2/implref-global.exp: Likewise.
10741 * gdb.dwarf2/implref-struct.c: Likewise.
10742 * gdb.dwarf2/implref-struct.exp: Likewise.
10743
107442016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10745
10746 * gdb.trace/trace-condition.exp: Add 64bit tests.
10747
107482016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10749
10750 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
10751 bits types.
10752 (main): Adapt to 8 to 64 bits types.
10753 * gdb.trace/trace-condition.exp: Add new tests.
10754
107552016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10756
10757 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
10758
107592016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10760
10761 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
10762 Move condition tests...
10763 * gdb.trace/trace-condition.exp: Here.
10764
107652016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10766
10767 * gdb.trace/trace-condition.exp: Add counter-case tests.
10768
107692016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10770
10771 PR c++/15231
10772 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
10773 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
10774
107752016-05-27 Pedro Alves <palves@redhat.com>
10776
10777 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
10778 New procedure.
10779 (top level): Call it, and bail out of DejaGnu is known to be bad.
10780
107812016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
10782
10783 * gdb.base/whatis.c: Extend the test case.
10784 * gdb.base/whatis.exp: Add additional tests.
10785
107862016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10787
10788* gdb.fortran/type.f90: Add pointer variable.
10789* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
10790
107912016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10792
10793 * gdb.fortran/vla-type.exp: Fix testcase name.
10794
107952016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10796
10797 * gdb.fortran/vla-type.exp: Access elements in nested structs.
10798
107992016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10800
10801 * gdb.fortran/type.f90: Add nested structures.
10802 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
10803 * gdb.fortran/derived-type.exp: Adapt expected output.
10804 * gdb.fortran/vla-type.exp: Adapt expected output.
10805
108062016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10807
10808 * gdb.fortran/whatis_type.exp: Adapt expected output.
10809
108102016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10811
10812 * gdb.fortran/print_type.exp: Fix expected output.
10813 * gdb.fortran/whatis_type.exp: Fix expected output.
10814
108152016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10816
10817 * gdb.fortran/whatis_type.exp: Use multi_line.
10818
108192016-05-24 Tom Tromey <tom@tromey.com>
10820
10821 PR python/17386:
10822 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
10823 use value as an index.
10824
108252016-05-23 Tom Tromey <tom@tromey.com>
10826
10827 PR python/17981:
10828 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
10829 no-breakpoint case.
10830
108312016-05-24 Pedro Alves <palves@redhat.com>
10832
10833 PR gdb/19828
10834 * gdb.threads/clone-attach-detach.c: New file.
10835 * gdb.threads/clone-attach-detach.exp: New file.
10836
108372016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
10838
10839 * gdb.base/annota-input-while-running.exp: Fix syntax error.
10840
108412016-05-23 Tom Tromey <tom@tromey.com>
10842
10843 PR python/19438, PR python/18393:
10844 * gdb.python/py-progspace.exp: Add "dir" test.
10845 * gdb.python/py-objfile.exp: Add "dir" test.
10846
108472016-05-23 Yao Qi <yao.qi@linaro.org>
10848
10849 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
10850 * gdb.arch/thumb2-it.exp: Likewise.
10851
108522016-05-18 Simon Marchi <simon.marchi@ericsson.com>
10853
10854 * gdb.mi/mi-threads-interrupt.c: New file.
10855 * gdb.mi/mi-threads-interrupt.exp: New file.
10856
108572016-05-17 Simon Marchi <simon.marchi@ericsson.com>
10858
10859 PR gdb/18077
10860 * gdb.mi/mi-async-run.exp: New file.
10861 * gdb.mi/mi-async-run.c: New file.
10862
108632016-05-17 Tom Tromey <tom@tromey.com>
10864 Manish Goregaokar <manishsmail@gmail.com>
10865
10866 * lib/rust-support.exp: New file.
10867 * lib/gdb.exp (skip_rust_tests): New proc.
10868 (build_executable_from_specs): Handle rust.
10869 * lib/future.exp (gdb_find_rustc): New proc.
10870 (gdb_default_target_compile): Handle rust.
10871 * gdb.rust/expr.exp: New file.
10872 * gdb.rust/generics.exp: New file.
10873 * gdb.rust/generics.rs: New file.
10874 * gdb.rust/methods.exp: New file.
10875 * gdb.rust/methods.rs: New file.
10876 * gdb.rust/modules.exp: New file.
10877 * gdb.rust/modules.rs: New file.
10878 * gdb.rust/simple.exp: New file.
10879 * gdb.rust/simple.rs: New file.
10880
108812016-05-17 Tom Tromey <tom@tromey.com>
10882
10883 * gdb.base/default.exp (set language): Add rust.
10884
108852016-05-17 Tom Tromey <tom@tromey.com>
10886
10887 * gdb.gdb/unittest.exp: New file.
10888
108892016-05-16 Yao Qi <yao.qi@linaro.org>
10890
10891 * gdb.base/batch-preserve-term-settings.exp: Remove variable
10892 shell_prompt. Update shell_prompt_re.
10893
108942016-05-12 Doug Evans <dje@google.com>
10895
10896 PR symtab/19999
10897 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
10898 $options when building executable.
10899 * gdb.dwarf2/fission-loclists-pie.S: New file.
10900 * gdb.dwarf2/fission-loclists-pie.exp: New file.
10901
109022016-05-04 Simon Marchi <simon.marchi@ericsson.com>
10903
10904 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
10905 of [is_remote target],
10906
109072016-05-04 Simon Marchi <simon.marchi@ericsson.com>
10908
10909 * lib/gdb.exp (use_gdb_stub): New procedure.
10910
109112016-05-03 Yunlian Jiang <yunlian@google.com>
10912 Doug Evans <dje@google.com>
10913
10914 PR symtab/19914
10915 * gdb.dwarf2/dwp-sepdebug.c: New file.
10916 * gdb.dwarf2/dwp-sepdebug.exp: New file.
10917
109182016-05-02 Simon Marchi <simon.marchi@ericsson.com>
10919
10920 * gdb.base/detach.exp: Remove is_remote check.
10921
109222016-05-02 Simon Marchi <simon.marchi@ericsson.com>
10923
10924 * gdb.base/annota-input-while-running.exp: Don't check for
10925 [is_remote target]. Enable annotations after running to main.
10926 Remove unused "set test..." line.
10927
109282016-04-28 Simon Marchi <simon.marchi@ericsson.com>
10929
10930 * gdb.trace/trace-enable-disable.exp: New file.
10931 * gdb.trace/trace-enable-disable.c: New file.
10932
109332016-04-28 Simon Marchi <simon.marchi@ericsson.com>
10934
10935 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
10936 use it in info sharedlibrary test.
10937 * gdb.trace/ftrace-lock.exp: Likewise.
10938 * gdb.trace/ftrace.exp: Likewise.
10939 * gdb.trace/range-stepping.exp: Likewise.
10940 * gdb.trace/trace-break.exp: Likewise.
10941 * gdb.trace/trace-condition.exp: Likewise.
10942 * gdb.trace/trace-mt.exp: Likewise.
10943
109442016-04-27 Simon Marchi <simon.marchi@ericsson.com>
10945
10946 * lib/gdb.exp (gdb_load_shlibs): Rename to...
10947 (gdb_load_shlib): ... this.
10948 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
10949 gdb_load_shlib.
10950 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
10951 * gdb.base/ctxobj.exp: Likewise.
10952 * gdb.base/dprintf-pending.exp: Likewise.
10953 * gdb.base/dso2dso.exp: Likewise.
10954 * gdb.base/fixsection.exp: Likewise.
10955 * gdb.base/gcore-relro.exp: Likewise.
10956 * gdb.base/gdb1555.exp: Likewise.
10957 * gdb.base/global-var-nested-by-dso.exp: Likewise.
10958 * gdb.base/gnu-ifunc.exp: Likewise.
10959 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
10960 * gdb.base/jit-so.exp (one_jit_test): Likewise.
10961 * gdb.base/pending.exp: Likewise.
10962 * gdb.base/print-file-var.exp: Likewise.
10963 * gdb.base/print-symbol-loading.exp: Likewise.
10964 * gdb.base/shlib-call.exp: Likewise.
10965 * gdb.base/shreloc.exp: Likewise.
10966 * gdb.base/so-impl-ld.exp: Likewise.
10967 * gdb.base/solib-disc.exp: Likewise.
10968 * gdb.base/solib-nodir.exp: Likewise.
10969 * gdb.base/solib-overlap.exp: Likewise.
10970 * gdb.base/solib-symbol.exp: Likewise.
10971 * gdb.base/solib-weak.exp (do_test): Likewise.
10972 * gdb.base/sym-file.exp: Likewise.
10973 * gdb.base/symtab-search-order.exp: Likewise.
10974 * gdb.base/type-opaque.exp: Likewise.
10975 * gdb.base/unload.exp: Likewise.
10976 * gdb.base/watchpoint-solib.exp: Likewise.
10977 * gdb.compile/compile.exp: Likewise.
10978 * gdb.cp/gdb2384.exp: Likewise.
10979 * gdb.cp/infcall-dlopen.exp: Likewise.
10980 * gdb.cp/re-set-overloaded.exp: Likewise.
10981 * gdb.fortran/library-module.exp: Likewise.
10982 * gdb.opt/solib-intra-step.exp: Likewise.
10983 * gdb.python/py-finish-breakpoint.exp: Likewise.
10984 * gdb.python/py-shared.exp: Likewise.
10985 * gdb.reverse/solib-precsave.exp: Likewise.
10986 * gdb.reverse/solib-reverse.exp: Likewise.
10987 * gdb.server/solib-list.exp: Likewise.
10988 * gdb.threads/dlopen-libpthread.exp: Likewise.
10989 * gdb.threads/tls-shared.exp: Likewise.
10990 * gdb.threads/tls-so_extern.exp: Likewise.
10991 * gdb.trace/change-loc.exp: Likewise.
10992 * gdb.trace/ftrace-lock.exp: Likewise.
10993 * gdb.trace/ftrace.exp: Likewise.
10994 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
10995 * gdb.trace/pending.exp: Likewise.
10996 * gdb.trace/range-stepping.exp: Likewise.
10997 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
10998 (strace_info_marker): Likewise.
10999 (strace_probe_marker): Likewise.
11000 (strace_trace_on_same_addr): Likewise.
11001 (strace_trace_on_diff_addr): Likewise.
11002 * gdb.trace/trace-break.exp: Likewise.
11003 * gdb.trace/trace-condition.exp: Likewise.
11004 * gdb.trace/trace-mt.exp: Likewise.
11005
110062016-04-27 Simon Marchi <simon.marchi@ericsson.com>
11007
11008 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
11009 result of gdb_remote_download.
11010 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
11011 * gdb.base/dso2dso.exp: Likewise.
11012 * gdb.base/global-var-nested-by-dso.exp: Likewise.
11013 * gdb.base/print-file-var.exp: Likewise.
11014 * gdb.base/shlib-call.exp: Likewise.
11015 * gdb.base/shreloc.exp: Likewise.
11016 * gdb.base/solib-overlap.exp: Likewise.
11017 * gdb.base/solib-weak.exp (do_test): Likewise.
11018 * gdb.base/unload.exp: Likewise.
11019
110202016-04-27 Yao Qi <yao.qi@linaro.org>
11021
11022 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
11023 exists.
11024
110252016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
11026
11027 * vla-type.exp: Print structure from toplevel.
11028
110292016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
11030
11031 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
11032 of dynamic types.
11033 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
11034 of dynamic types.
11035
110362016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
11037
11038 * gdb.fortran/vla-type.f90: New file.
11039 * gdb.fortran/vla-type.exp: New file.
11040
110412016-04-25 Yao Qi <yao.qi@linaro.org>
11042
11043 * gdb.base/branch-to-self.c: New file.
11044 * gdb.base/branch-to-self.exp: New file.
11045
110462016-04-22 Yao Qi <yao.qi@linaro.org>
11047
11048 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
11049 more after $hex.
11050
110512016-04-22 Yao Qi <yao.qi@linaro.org>
11052
11053 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
11054 * gdb.base/annota3.exp: Likewise.
11055
110562016-04-22 Yao Qi <yao.qi@linaro.org>
11057
11058 * gdb.reverse/step-precsave.exp: Do one step and test program
11059 stops in "callee" and do multiple steps until program goes out
11060 of "callee".
11061 * gdb.reverse/step-reverse.exp: Likewise.
11062
110632016-04-22 Yao Qi <yao.qi@linaro.org>
11064
11065 * gdb.trace/signal.exp: Also pass if
11066 $tracepoint_hits($i) > $iterations.
11067
110682016-04-22 Yao Qi <yao.qi@linaro.org>
11069
11070 * gdb.trace/signal.c: New file.
11071 * gdb.trace/signal.exp: New file.
11072
110732016-04-19 Doug Evans <xdje42@gmail.com>
11074
11075 * gdb.base/bad-file.exp: New file.
11076
110772016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
11078
11079 * gdb.dwarf2/implref.exp: New file.
11080
110812016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
11082
11083 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
11084 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
11085 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
11086 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
11087 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
11088 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
11089 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
11090 * lib/fortran.exp (fortran_int4): New procedure.
11091 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
11092 (fortran_logical4): Likewise.
11093
110942016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
11095
11096 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
11097
110982016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
11099
11100 * lib/compiler.c: Add Intel specific preprocessor macros.
11101 * lib/compiler.cc: Likewise.
11102
111032016-04-13 Luis Machado <lgustavo@codesourcery.com>
11104
11105 * gdb.server/connect-with-no-symbol-file.c: New file.
11106 * gdb.server/connect-with-no-symbol-file.exp: New file.
11107
111082016-04-13 Simon Marchi <simon.marchi@ericsson.com>
11109
11110 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
11111
111122016-04-13 Simon Marchi <simon.marchi@ericsson.com>
11113
11114 * boards/gdbserver-base.exp (${board}_download): Copy source file to
11115 standard output directory.
11116
111172016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
11118
11119 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
11120
111212016-04-13 Markus Metzger <markus.t.metzger@intel.com>
11122
11123 * gdb.btrace/instruction_history.c (loop): Add declaration.
11124
111252016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
11126
11127 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
11128
111292016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
11130
11131 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
11132 parentheses to print.
11133 (continue_handler): Likewise.
11134
111352016-04-08 Simon Marchi <simon.marchi@ericsson.com>
11136
11137 * gdb.server/solib-list.exp: Remove is_remote check.
11138 Pass shlib= to gdb_compile. Don't link shared library with
11139 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
11140 Run binary filename through "readlink -f" on the target.
11141
111422016-04-08 Pedro Alves <palves@redhat.com>
11143
11144 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
11145 interpreter filename as argument to gdbserver_spawn.
11146 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
11147 Return empty if $last_loaded_file does not exist.
11148
111492016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11150
11151 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
11152 * gdb.base/jit-main.c: Use exit after usage.
11153
111542016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11155
11156 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
11157 GDBHISTSIZE prior to the tests.
11158 * gdb.base/gdbinit-history.exp: Likewise.
11159
111602016-04-07 Pedro Alves <palves@redhat.com>
11161
11162 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
11163 instead of build_executable. Use gdb_load_shlibs.
11164
111652016-04-07 Yao Qi <yao.qi@linaro.org>
11166
11167 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
11168 Execute "si" command.
11169
111702016-04-07 Yao Qi <yao.qi@linaro.org>
11171
11172 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
11173 number instead of the comments on some line.
11174
111752016-04-06 Don Breazeal <donb@codesourcery.com>
11176
11177 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
11178 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
11179
111802016-04-06 Simon Marchi <simon.marchi@ericsson.com>
11181
11182 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
11183 standard_output_file. Remove unused binfile variable.
11184
111852016-04-05 Catalin Udma <catalin.udma@freescale.com>
11186
11187 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
11188 * gdb.python/py-mi-objfile.exp: Match "list main" output
11189 in console format.
11190
111912016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
11192
11193 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
11194 absolute.
11195
111962016-04-05 Simon Marchi <simon.marchi@ericsson.com>
11197
11198 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
11199 absolute.
11200 * gdb.trace/ftrace.exp: Likewise.
11201 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
11202 targets as well.
11203 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
11204 (gdb_load_shlibs): Copy libraries to test directory when testing
11205 natively. Only set solib-search-path if testing remotely.
11206 * lib/mi-support.exp (mi_load_shlibs): Likewise.
11207
112082016-04-05 Simon Marchi <simon.marchi@ericsson.com>
11209
11210 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
11211 gdb_download. Use it even if the target is not remote.
11212 * gdb.base/jit.exp (compile_jit_test): Likewise.
11213 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
11214 output directory if the destination board is local, otherwise use
11215 the standard remote_download from DejaGnu.
11216 (gdb_download): Remove.
11217 (gdb_load_shlibs): Use gdb_remote_download instead of
11218 gdb_download.
11219 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
11220 Use gdb_remote_download instead of gdb_download. Use it even if
11221 the target is not remote.
11222 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
11223 instead of gdb_download.
11224
112252016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
11226
11227 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
11228 (test_insert_delete_modify): Call mi_load_shlibs before trying to
11229 run.
11230
112312016-04-01 Artemiy Volkov <artemiyv@acm.org>
11232
11233 PR gdb/19820
11234 * gdb.base/printcmds.exp: Add artificial arrays tests.
11235
112362016-03-31 Pedro Alves <palves@redhat.com>
11237
11238 PR gdb/19858
11239 * gdb.base/jit-main.c: Include unistd.h.
11240 (ATTACH): Define to 0 if not already defined.
11241 (wait_for_gdb, mypid): New globals.
11242 (WAIT_FOR_GDB): New macro.
11243 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
11244 some breakpoint locations.
11245 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
11246 New procedures.
11247 (one_jit_test): Add REATTACH parameter, and handle it. Use
11248 continue_to_test_location.
11249 (top level): Test attach, and adjusts calls to one_jit_test.
11250
112512016-03-31 Pedro Alves <palves@redhat.com>
11252
11253 PR gdb/19858
11254 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
11255 BINSUFFIX parameter, and handle it.
11256 (top level): Adjust calls compile_jit_test.
11257
112582016-03-31 Catalin Udma <catalin.udma@freescale.com>
11259
11260 PR python/19743
11261 * gdb.python/py-mi-events-gdb.py: New file.
11262 * gdb.python/py-mi-events.c: New file.
11263 * gdb.python/py-mi-events.exp: New file.
11264
112652016-03-30 Yao Qi <yao.qi@linaro.org>
11266
11267 * gdb.reverse/until-precsave.exp: Match function name only.
11268 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
11269 Move malloc to a condition block.
11270 * gdb.reverse/until-reverse.exp: Match function name only.
11271
112722016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
11273
11274 * gdb.trace/ftrace.exp: Set arg0exp for s390.
11275 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
11276 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
11277 variable for GPR 0 instead of assuming it is register 0.
11278 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
11279 * lib/trace-support.exp: Add s390 registers.
11280
112812016-03-29 Yao Qi <yao.qi@linaro.org>
11282
11283 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
11284
112852016-03-24 Yao Qi <yao.qi@linaro.org>
11286
11287 * gdb.reverse/break-reverse.exp: Add quotation mark in the
11288 test message.
11289
112902016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11291
11292 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
11293 maintaining separate logic for constructing the output path.
11294
112952016-03-16 Don Breazeal <donb@codesourcery.com>
11296
11297 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
11298 Retry fork and waitpid on interrupted system call errors.
11299 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
11300 Use with_timeout_factor to increase timeout by factor of 10.
11301
113022016-03-15 Don Breazeal <donb@codesourcery.com>
11303
11304 * gdb.cp/scope-err.cc: New test program.
11305 * gdb.cp/scope-err.exp: New test script.
11306 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
11307 lines and "set breakpoint here" comment.
11308 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
11309 Fixed some whitespace and format issues.
11310 * gdb.mi/mi-linespec-err-cp.cc: New test program.
11311 * gdb.mi/mi-linespec-err-cp.exp: New test script.
11312
113132016-03-15 Doug Evans <dje@google.com>
11314
11315 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
11316 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
11317 All callers updated. Add tests for enums, mixed flags register.
11318
113192016-03-15 Doug Evans <dje@google.com>
11320
11321 * gdb.base/skip.c (main): Call test_skip_file_and_function.
11322 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
11323
113242016-03-14 Simon Marchi <simon.marchi@ericsson.com>
11325
11326 * gdb.base/default.exp: Add $_as_string to the list of expected
11327 convenience functions.
11328
113292016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
11330
11331 * gdb.base/maint.exp: New tests for 'maint info line-table'.
11332
113332016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
11334
11335 * gdb.python/py-as-string.exp: New file.
11336 * gdb.python/py-as-string.c: New file.
11337
113382016-03-09 Pedro Alves <palves@redhat.com>
11339
11340 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
11341 signal" -> "Thread NN received signal" output change.
11342 * gdb.threads/ia64-sigill.exp: Likewise.
11343 * gdb.threads/linux-dp.exp: Likewise.
11344 * gdb.threads/manythreads.exp: Likewise.
11345 * gdb.threads/pending-step.exp: Likewise.
11346 * gdb.threads/print-threads.exp: Likewise.
11347 * gdb.threads/sigstep-threads.exp: Likewise.
11348 * gdb.threads/staticthreads.exp: Likewise.
11349 * gdb.threads/tls.exp: Likewise.
11350
113512016-03-09 Pedro Alves <palves@redhat.com>
11352
11353 * gdb.base/command-line-input.exp: New file.
11354
113552016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11356
11357 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
11358 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
11359 * gdb.trace/pending.exp: Accept leading dot before function name.
11360 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
11361 * lib/trace-support.exp: Set registers for ppc.
11362
113632016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11364
11365 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
11366 use it for disassembly; accept .main in addition to main in backtrace.
11367
113682016-03-09 Wei-cheng Wang <cole945@gmail.com>
11369 Marcin Kościelnicki <koriakin@0x04.net>
11370
11371 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
11372 (gdb_recursion_test_ptr): New global variable.
11373 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
11374 gdb_recursion_test.
11375 (gdb_c_test): Ditto.
11376
113772016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11378
11379 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
11380 ordering.
11381
113822016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11383
11384 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
11385 (bar): Add bar_start_lbl label.
11386 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
11387 of foo/bar for emitting DWARF and tracing.
11388
113892016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
11390
11391 * analyze-racy-logs.py: Set executable bit.
11392
113932016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
11394
11395 * Makefile.in (DEFAULT_RACY_ITER): New variable.
11396 (CHECK_TARGET_TMP): Likewise.
11397 (check-single-racy): New rule.
11398 (check-parallel-racy): Likewise.
11399 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
11400 (do-check-parallel-racy): New rule.
11401 (check-racy/%.exp): Likewise.
11402 * README (Racy testcases): New section.
11403 * analyze-racy-logs.py: New file.
11404
114052016-03-03 Doug Evans <dje@google.com>
11406
11407 * gdb.base/skip.exp: Use with_test_prefix.
11408
114092016-03-03 Yao Qi <yao.qi@linaro.org>
11410
11411 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
11412 Invoke step_over_syscall "clone" and break_cond_on_syscall
11413 "clone".
11414 * gdb.base/step-over-clone.c: New file.
11415
114162016-03-03 Yao Qi <yao.qi@linaro.org>
11417
11418 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
11419 code format.
11420
114212016-03-03 Yao Qi <yao.qi@linaro.org>
11422
11423 * gdb.base/disp-step-fork.c: Rename to ...
11424 * gdb.base/step-over-fork.c: ... it. New file.
11425 * gdb.base/disp-step-vfork.c: Rename to ...
11426 * gdb.base/step-over-vfork.c: ... it. New file.
11427 * gdb.base/disp-step-syscall.exp: Rename to ...
11428 * gdb.base/step-over-syscall.exp: ... it. New file.
11429 (disp_step_cross_syscall): Rename to ...
11430 (step_over_syscall): ... it.
11431
114322016-03-03 Yao Qi <yao.qi@linaro.org>
11433
11434 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
11435 If target supports condition evaluation on target, invoke
11436 break_cond_on_syscall for fork and vfork.
11437
114382016-03-03 Yao Qi <yao.qi@linaro.org>
11439
11440 * gdb.base/disp-step-syscall.exp: Don't invoke
11441 support_displaced_stepping.
11442 (disp_step_cross_syscall): Test with displaced stepping off and
11443 on if supported.
11444
114452016-03-03 Yao Qi <yao.qi@linaro.org>
11446
11447 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
11448 proc.
11449 (setup): New proc.
11450 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
11451 and setup.
11452
114532016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11454
11455 * gdb.fortran/vla-history.exp: Remove breakpoint.
11456
114572016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11458
11459 * gdb.fortran/vla-history.exp: Lookup array elements and printing
11460 exceeds timeout.
11461
114622016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11463
11464 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
11465 breakpoint.
11466
114672016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11468
11469 * gdb.mi/vla.f90: Nullify pointer after declaration.
11470
114712016-03-01 Pedro Alves <palves@redhat.com>
11472
11473 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
11474
114752016-03-01 Pedro Alves <palves@redhat.com>
11476
11477 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
11478 before anything else.
11479 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
11480 _GNU_SOURCE here.
11481 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
11482 before anything else.
11483 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
11484
114852016-03-01 Pedro Alves <palves@redhat.com>
11486
11487 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
11488
114892016-03-01 Yao Qi <yao.qi@linaro.org>
11490
11491 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
11492 prepare_for_testing.
11493
114942016-03-01 Yao Qi <yao.qi@linaro.org>
11495
11496 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
11497
114982016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
11499
11500 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
11501 manually constructing the output path.
11502
115032016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
11504
11505 * gdb.arch/s390-stackless.S: New.
11506 * gdb.arch/s390-stackless.exp: New.
11507
115082016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
11509
11510 * gdb.dlang/circular.c: New file.
11511 * gdb.dlang/circular.exp: New file.
11512
115132016-02-26 Yao Qi <yao.qi@linaro.org>
11514
11515 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
11516 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
11517 (testcases): Update.
11518
115192016-02-26 Yao Qi <yao.qi@linaro.org>
11520
11521 * gdb.reverse/aarch64.c: Rename to ...
11522 * gdb.reverse/insn-reverse.c: ... it.
11523 * gdb.reverse/aarch64.exp: Rename to ...
11524 * gdb.reverse/insn-reverse.exp: ... it.
11525
115262016-02-26 Yao Qi <yao.qi@linaro.org>
11527
11528 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
11529 (testcase_ftype): New.
11530 (testcases): New array.
11531 (n_testcases): New.
11532 (main): Call each element in testcases.
11533 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
11534 (read_testcase): New.
11535 Do the tests in a loop.
11536
115372016-02-25 Yao Qi <yao.qi@linaro.org>
11538
11539 * gdb.base/branches.c: Remove.
11540
115412016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11542
11543 PR gdb/13808
11544 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
11545
115462016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11547
11548 * gdb.trace/ftrace.exp: Remove unnecessary target check.
11549
115502016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11551
11552 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
11553 change x86_64 call_insn to 'callq'.
11554
115552016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
11556
11557 * gdb.trace/tfile-avx.c: Move to...
11558 * gdb.trace/tracefile-pseudo-reg.c: Here.
11559 * gdb.trace/tfile-avx.exp: Move to...
11560 * gdb.trace/tracefile-pseudo-reg.exp: Here.
11561
115622016-02-24 Gary Benson <gbenson@redhat.com>
11563
11564 * gdb.base/attach-pie-noexec.exp: Do not expect an error
11565 message on attach.
11566
115672016-02-23 Doug Evans <dje@google.com>
11568
11569 * gdb.base/skip.c (test_skip): New function.
11570 (end_test_skip_file_and_function): New function.
11571 (test_skip_file_and_function): New function.
11572 * gdb.base/skip1.c (test_skip): New function.
11573 (skip1_test_skip_file_and_function): New function.
11574 * gdb.base/skip.exp: Add tests for new skip options.
11575 * gdb.base/skip-solib.exp: Update expected output.
11576 * gdb.perf/skip-command.cc: New file.
11577 * gdb.perf/skip-command.exp: New file.
11578 * gdb.perf/skip-command.py: New file.
11579
115802016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
11581
11582 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
11583 info registers pattern.
11584
115852016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
11586
11587 * lib/future.exp: Add D support.
11588 (gdb_find_gdc): New proc.
11589 (gdb_default_target_compile): Add D support.
11590
115912016-02-18 Wei-cheng Wang <cole945@gmail.com>
11592
11593 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
11594 user+system time.
11595 (trace_speed_test): Determine the iteration count for a time
11596 between 15..30 seconds.
11597
115982016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
11599
11600 * gdb.arch/i386-mpx-sigsegv.c: New file.
11601 * gdb.arch/i386-mpx-sigsegv.exp: New file.
11602 * gdb.arch/i386-mpx-simple_segv.c: New file.
11603 * gdb.arch/i386-mpx-simple_segv.exp: New file.
11604
116052016-02-18 Yao Qi <yao.qi@linaro.org>
11606
11607 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
11608 Don't call setup_kfail.
11609
116102016-02-18 Yao Qi <yao.qi@linaro.org>
11611
11612 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
11613 Set "set breakpoint condition-evaluation" per $cond_bp_target.
11614
116152016-02-16 Doug Evans <dje@google.com>
11616
11617 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
11618 * gdb.base/skip1.c: Ditto.
11619 * gdb.base/skip.exp: Whitespace cleanup.
11620
116212016-02-16 Don Breazeal <donb@codesourcery.com>
11622
11623 PR remote/19496
11624 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
11625 Remove kfail for PR remote/19496.
11626
116272016-02-16 Simon Marchi <simon.marchi@ericsson.com>
11628
11629 * lib/gdb.exp (standard_temp_file): Return a path specific to
11630 the runtest invocation.
11631
116322016-02-16 Simon Marchi <simon.marchi@ericsson.com>
11633
11634 * gdb.trace/save-trace.exp: Change relative path to be in the
11635 standard output directory.
11636
116372016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11638
11639 * gdb.arch/i386-prologue.c: Add missing prototypes.
11640
116412016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11642
11643 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
11644 * gdb.arch/i386-prologue.exp: Likewise.
11645 * gdb.arch/i386-size.exp: Likewise.
11646
116472016-02-15 Simon Marchi <simon.marchi@ericsson.com>
11648
11649 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
11650 define object file path.
11651 * gdb.btrace/gcore.exp: Use standard_output_file to define core
11652 file path.
11653 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
11654 standard_output_file to define binfile.
11655
116562016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11657
11658 Fix compatibility with recent gfortran-5.3.1.
11659 * gdb.fortran/vla-history.exp (print vla1 allocated)
11660 (print vla2 allocated, print $2, print $3): Remove
11661 (print $4): Rename to ...
11662 (print $2): ... here.
11663 (print $9): Rename to ...
11664 (print $5): ... here.
11665 (print $10): Rename to ...
11666 (print $6): ... here.
11667 * gdb.fortran/vla.f90: Add pvla initialization.
11668
116692016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11670
11671 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
11672 New test.
11673 * gdb.fortran/vla-value-sub.exp: Likewise.
11674
116752016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
11676
11677 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
11678
116792016-02-12 Simon Marchi <simon.marchi@ericsson.com>
11680
11681 * i386-biarch-core.exp: Define corefile using
11682 standard_output_file.
11683
116842016-02-12 Yao Qi <yao.qi@linaro.org>
11685
11686 * gdb.arch/arm-single-step-kernel-helper.c: New.
11687 * gdb.arch/arm-single-step-kernel-helper.exp: New.
11688
116892016-02-12 Markus Metzger <markus.t.metzger@intel.com>
11690
11691 * gdb.btrace/tailcall-only.exp: New.
11692 * gdb.btrace/tailcall-only.c: New.
11693 * gdb.btrace/x86_64-tailcall-only.S: New.
11694 * gdb.btrace/i686-tailcall-only.S: New.
11695
116962016-02-11 Pedro Alves <palves@redhat.com>
11697
11698 * README (Parallel testing): Add missing double quotes.
11699
117002016-02-11 Pedro Alves <palves@redhat.com>
11701
11702 * README (Parallel testing): New section.
11703 (GDB_PARALLEL): Rewrite.
11704 (FORCE_PARALLEL): Document.
11705
117062016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
11707
11708 * gdb.trace/tfile-avx.c: New test.
11709 * gdb.trace/tfile-avx.exp: New test.
11710
117112016-02-09 Keith Seitz <keiths@redhat.com>
11712
11713 PR breakpoints/19546
11714 * gdb.base/infcall-exec.c: New file.
11715 * gdb.base/infcall-exec2.c: New file.
11716 * gdb.base/infcall-exec.exp: New file.
11717
117182016-02-09 Keith Seitz <keiths@redhat.com>
11719
11720 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
11721 (toplevel): Call test_bkpt_address.
11722
117232016-02-09 Keith Seitz <keiths@redhat.com>
11724
11725 PR python/19506
11726 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
11727 (toplevel): Call test_bkpt_address.
11728
117292016-02-09 Simon Marchi <simon.marchi@ericsson.com>
11730
11731 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
11732 to AC_OUTPUT.
11733 * configure: Regenerate.
11734
117352016-02-09 Pedro Alves <palves@redhat.com>
11736
11737 PR breakpoints/19548
11738 * gdb.base/execl-update-breakpoints.c (some_function): New
11739 function.
11740 (main): Call it.
11741 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
11742 Tighten expected GDB output.
11743
117442016-02-08 Simon Marchi <simon.marchi@ericsson.com>
11745
11746 * Makefile.in (ALL_SUBDIRS): Remove.
11747 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
11748 (distclean maintainer-clean realclean): Likewise.
11749 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
11750 * configure: Regenerate.
11751 * gdb.ada/Makefile.in: Delete.
11752 * gdb.arch/Makefile.in: Likewise.
11753 * gdb.asm/Makefile.in: Likewise.
11754 * gdb.base/Makefile.in: Likewise.
11755 * gdb.btrace/Makefile.in: Likewise.
11756 * gdb.cell/Makefile.in: Likewise.
11757 * gdb.compile/Makefile.in: Likewise.
11758 * gdb.cp/Makefile.in: Likewise.
11759 * gdb.disasm/Makefile.in: Likewise.
11760 * gdb.dlang/Makefile.in: Likewise.
11761 * gdb.dwarf2/Makefile.in: Likewise.
11762 * gdb.fortran/Makefile.in: Likewise.
11763 * gdb.gdb/Makefile.in: Likewise.
11764 * gdb.go/Makefile.in: Likewise.
11765 * gdb.guile/Makefile.in: Likewise.
11766 * gdb.java/Makefile.in: Likewise.
11767 * gdb.linespec/Makefile.in: Likewise.
11768 * gdb.mi/Makefile.in: Likewise.
11769 * gdb.modula2/Makefile.in: Likewise.
11770 * gdb.multi/Makefile.in: Likewise.
11771 * gdb.objc/Makefile.in: Likewise.
11772 * gdb.opencl/Makefile.in: Likewise.
11773 * gdb.opt/Makefile.in: Likewise.
11774 * gdb.pascal/Makefile.in: Likewise.
11775 * gdb.perf/Makefile.in: Likewise.
11776 * gdb.python/Makefile.in: Likewise.
11777 * gdb.reverse/Makefile.in: Likewise.
11778 * gdb.server/Makefile.in: Likewise.
11779 * gdb.stabs/Makefile.in: Likewise.
11780 * gdb.threads/Makefile.in: Likewise.
11781 * gdb.trace/Makefile.in: Likewise.
11782 * gdb.xml/Makefile.in: Likewise.
11783 * lib/gdb.exp (make_gdb_parallel_path): Add check for
11784 GDB_PARALLEL.
11785 (standard_output_file): Remove check for GDB_PARALLEL, always
11786 return path in outputs/$subdir/$testname.
11787
117882016-02-08 Simon Marchi <simon.marchi@ericsson.com>
11789
11790 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
11791 (site.exp): Assign abs_srcdir to tcl's srcdir.
11792
117932016-02-04 Yao Qi <yao.qi@linaro.org>
11794
11795 * gdb.base/foll-exec-mode.c: Include limits.h.
11796 (main): Add parameters argc and argv. Get directory from
11797 argv[0].
11798 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
11799 compilation.
11800 * gdb.base/foll-exec.c: Include limits.h.
11801 (main): Add parameters argc and argv.
11802 Get directory from argv[0].
11803 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
11804 Adjust tests on the number of lines as source code changed.
11805 * gdb.base/foll-vfork-exit.c: Include limits.h.
11806 (main): Add one line of statement before vfork.
11807 * gdb.base/foll-vfork.c: Include limits.h and string.h.
11808 (main): Add parameters argc and argv. Get directory from
11809 argv[0].
11810 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
11811 (setup_gdb): Set tbreak to skip some source lines.
11812 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
11813 (main): Add parameters argc and argv. Get directory from
11814 argv[0].
11815 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
11816 compilation.
11817 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
11818 (main): Add parameters argc and argv. Get directory from
11819 argv[0].
11820 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
11821 compilation.
11822
118232016-02-01 Doug Evans <dje@google.com>
11824
11825 * gdb.base/skip.exp: Clean up multiple references to same test name.
11826
118272016-02-01 Pedro Alves <palves@redhat.com>
11828
11829 PR remote/19496
11830 * gdb.threads/forking-threads-plus-breakpoint.exp
11831 (displaced_stepping_supported): New global.
11832 (probe_displaced_stepping_support): New procedure.
11833 (do_test): Add 'displaced' parameter, and use it.
11834 (top level): Check for displaced stepping support. Add displaced
11835 stepping on/off testing axis.
11836
118372016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
11838
11839 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
11840 pointer. Don't perform further tests on the unassociated pointer
11841 if the first test fails.
11842
118432016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
11844
11845 * gdb.base/max-value-size.c: New file.
11846 * gdb.base/max-value-size.exp: New file.
11847 * gdb.base/huge.exp: Disable max-value-size for this test.
11848
118492016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
11850
11851 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
11852
118532016-01-28 Yao Qi <yao.qi@linaro.org>
11854
11855 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
11856
118572016-01-25 Pedro Alves <palves@redhat.com>
11858
11859 PR threads/19461
11860 * gdb.base/fork-running-state.c: New file.
11861 * gdb.base/fork-running-state.exp: New file.
11862
118632016-01-25 Pedro Alves <palves@redhat.com>
11864
11865 PR gdb/19494
11866 * gdb.base/catch-fork-kill.c: New file.
11867 * gdb.base/catch-fork-kill.exp: New file.
11868
118692016-01-25 Pedro Alves <palves@redhat.com>
11870
11871 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
11872 Delete, moved to lib/gdb.exp.
11873 * gdb.threads/forking-threads-plus-breakpoint.exp
11874 (foreach_with_prefix): Likewise.
11875 * gdb.threads/process-dies-while-handling-bp.exp
11876 (foreach_with_prefix): Likewise.
11877 * lib/gdb.exp (foreach_with_prefix): New procedure.
11878
118792016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
11880
11881 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
11882 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
11883
118842016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
11885
11886 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
11887 endian targets.
11888
118892016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11890 Pedro Alves <palves@redhat.com>
11891
11892 Fix testsuite compatibility with Guile.
11893 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
11894 number.
11895
118962016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11897
11898 Fix testsuite compatibility with Guile.
11899 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
11900 (thread 1): New test for backtrace through signal handler.
11901
119022016-01-22 Yao Qi <yao.qi@linaro.org>
11903
11904 PR testsuite/19491
11905 * gdb.base/multi-forks.c: Include
11906 ../lib/unbuffer_output.c
11907 (main): Call gdb_unbuffer_output.
11908
119092016-01-21 Doug Evans <dje@google.com>
11910
11911 * lib/ada.exp (gdb_compile_ada): Fix typo.
11912
119132016-01-21 Joel Brobecker <brobecker@adacore.com>
11914
11915 * gdb.base/break-fun-addr.exp: New file.
11916 * gdb.base/break-fun-addr1.c: New file.
11917 * gdb.base/break-fun-addr2.c: New file.
11918
119192016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
11920
11921 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
11922 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
11923 enum flag values.
11924
119252016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11926
11927 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
11928 when GDB can not set the vector return value. Add more comments
11929 for clarification.
11930
119312016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
11932
11933 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
11934 command.
11935
119362016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11937
11938 * Makefile.in (DO_RUNTEST): Add --status and update usages.
11939
119402016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11941
11942 * Makefile.in (check-single): Pass --status to runtest.
11943 (check/%.exp): Likewise.
11944
119452016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11946
11947 * Makefile.in (check-parallel): Propagate return code from make
11948 do-check-parallel.
11949
119502016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
11951
11952 * gdb.trace/ftrace.exp: Fix expected message on continue.
11953 * gdb.trace/pending.exp: Fix expected message on continue.
11954 * gdb.trace/trace-break.exp: Fix expected message on continue.
11955
119562016-01-18 Simon Marchi <simon.marchi@ericsson.com>
11957
11958 * lib/gdb.exp (gdb_test): Remove unused global references.
11959
119602016-01-18 Pedro Alves <palves@redhat.com>
11961
11962 * gdb.base/async-shell.exp: Adjust expected output.
11963 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
11964 * gdb.base/siginfo-thread.exp: Adjust expected output.
11965 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
11966 * gdb.java/jnpe.exp: Adjust expected output.
11967 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
11968 * gdb.threads/continue-pending-status.exp: Adjust expected output.
11969 * gdb.threads/leader-exit.exp: Adjust expected output.
11970 * gdb.threads/manythreads.exp: Adjust expected output.
11971 * gdb.threads/pthreads.exp: Adjust expected output.
11972 * gdb.threads/schedlock.exp: Adjust expected output.
11973 * gdb.threads/siginfo-threads.exp: Adjust expected output.
11974 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
11975 expected output.
11976 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
11977 output.
11978 * gdb.threads/sigthread.exp: Adjust expected output.
11979 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
11980
119812016-01-18 Yao Qi <yao.qi@linaro.org>
11982
11983 * gdb.guile/scm-section-script.c: Replace @progbits with
11984 %progbits.
11985 * gdb.python/py-section-script.c: Likewise.
11986
119872016-01-15 Pedro Alves <palves@redhat.com>
11988
11989 * gdb.multi/tids.exp: Test star wildcard ranges.
11990
119912016-01-15 Pedro Alves <palves@redhat.com>
11992
11993 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
11994 command from "thread apply" invocation.
11995 (thr_apply_info_thr_invalid): Default the expected output to the
11996 input tid list.
11997 (top level): Add tests that use convenience variables. Add tests
11998 for "thread apply" with a valid TID list, but missing the command.
11999
120002016-01-13 Pedro Alves <palves@redhat.com>
12001
12002 * gdb.base/default.exp: Expect $_gthread as well.
12003 * gdb.multi/tids.exp: Test $_gthread.
12004 * gdb.threads/thread-specific.exp: Test $_gthread.
12005
120062016-01-13 Pedro Alves <palves@redhat.com>
12007
12008 * gdb.multi/tids.exp: Test "info threads -gid".
12009
120102016-01-13 Pedro Alves <palves@redhat.com>
12011
12012 * gdb.multi/tids.exp: Test InferiorThread.global_num and
12013 Breakpoint.thread.
12014 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
12015
120162016-01-07 Pedro Alves <palves@redhat.com>
12017
12018 * gdb.base/break.exp: Adjust to output changes.
12019 * gdb.base/hbreak2.exp: Likewise.
12020 * gdb.base/sepdebug.exp: Likewise.
12021 * gdb.base/watch_thread_num.exp: Likewise.
12022 * gdb.linespec/keywords.exp: Likewise.
12023 * gdb.multi/info-threads.exp: Likewise.
12024 * gdb.threads/thread-find.exp: Likewise.
12025 * gdb.multi/tids.c: New file.
12026 * gdb.multi/tids.exp: New file.
12027
120282016-01-13 Pedro Alves <palves@redhat.com>
12029
12030 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
12031
120322016-01-13 Pedro Alves <palves@redhat.com>
12033
12034 * gdb.base/default.exp: Expect $_inferior as well.
12035 * gdb.multi/base.exp: Test $_inferior.
12036
120372016-01-13 Pedro Alves <palves@redhat.com>
12038
12039 PR breakpoints/19388
12040 * gdb.base/catch-signal-siginfo-cond.c: New file.
12041 * gdb.base/catch-signal-siginfo-cond.exp: New file.
12042
120432016-01-12 Josh Stone <jistone@redhat.com>
12044 Philippe Waroquiers <philippe.waroquiers@skynet.be>
12045
12046 * gdb.base/catch-syscall.c (do_execve): New variable.
12047 (main): Conditionally trigger an execve.
12048 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
12049 (test_catch_syscall_execve): New, check entry/return across execve.
12050 (do_syscall_tests): Call test_catch_syscall_execve.
12051
120522016-01-12 Pedro Alves <palves@redhat.com>
12053
12054 * gdb.base/random-signal.exp (do_test): New procedure, with body
12055 of testcase moved in.
12056
120572016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12058 Pedro Alves <palves@redhat.com>
12059
12060 * gdb.base/funcargs.exp (finish from indirectly called function):
12061 Reintroduce the case for 'First'.
12062
120632016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12064 Pedro Alves <palves@redhat.com>
12065
12066 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
12067 (tcatch_vfork_then_child_follow_exec)
12068 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
12069 identification.
12070
120712016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12072
12073 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
12074 and repeats to unlimited.
12075 * gdb.python/py-value.exp: Likewise.
12076 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
12077 and repeats to unlimited.
12078
120792016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12080
12081 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
12082 and reordering the functions.
12083 * gdb.multi/hangout.c: Likewise.
12084 * gdb.multi/hello.c: Likewise.
12085
120862016-01-08 Simon Marchi <simon.marchi@ericsson.com>
12087
12088 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
12089 absolute.
12090 (SingleStatisticTestResult.report): Use dict.keys instead of
12091 dict.iterkeys.
12092
120932016-01-06 Pedro Alves <palves@redhat.com>
12094
12095 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
12096
120972016-01-04 Markus Metzger <markus.t.metzger@intel.com>
12098
12099 * gdb.btrace/dlopen.exp: New.
12100 * gdb.btrace/dlopen.c: New.
12101 * gdb.btrace/dlopen-dso.c: New.
12102
121032015-12-25 Sandra Loosemore <sandra@codesourcery.com>
12104
12105 * lib/gdb.exp (gdb_test): Update comments to clarify that the
12106 PATTERN argument is optional.
12107
121082015-12-24 Joel Brobecker <brobecker@adacore.com>
12109
12110 * lib/ada.exp (target_compile_ada_from_dir): New function.
12111 (gdb_compile_ada): Reimplement avoiding the use of project files.
12112 * gdb.ada/gnat_ada.gpr: Delete.
12113 * gdb.ada/cond_lang.exp: Adjust test to make path before
12114 filename optional.
12115 * gdb.ada/small_reg_param.exp: Likewise.
12116
121172015-12-22 Simon Marchi <simon.marchi@ericsson.com>
12118
12119 * gdb.base/foll-vork.exp: Remove HP-UX special case.
12120
121212015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
12122
12123 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
12124 case.
12125
121262015-12-21 Simon Marchi <simon.marchi@ericsson.com>
12127
12128 * gdb.base/break.exp: Remove dead code.
12129 * gdb.base/sepdebug.exp: Likewise.
12130
121312015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
12132
12133 * gdb.asm/asm-source.exp: Remove HP-UX references.
12134 * gdb.base/annota1.exp: Likewise.
12135 * gdb.base/annota3.exp: Likewise.
12136 * gdb.base/attach.exp: Likewise.
12137 * gdb.base/bigcore.exp: Likewise.
12138 * gdb.base/break.exp: Likewise.
12139 * gdb.base/call-ar-st.exp: Likewise.
12140 * gdb.base/callfuncs.exp: Likewise.
12141 * gdb.base/catch-fork-static.exp: Likewise.
12142 * gdb.base/display.exp: Likewise.
12143 * gdb.base/foll-exec-mode.exp: Likewise.
12144 * gdb.base/foll-exec.exp: Likewise.
12145 * gdb.base/foll-fork.exp: Likewise.
12146 * gdb.base/foll-vfork.exp: Likewise.
12147 * gdb.base/funcargs.exp: Likewise.
12148 * gdb.base/hbreak2.exp: Likewise.
12149 * gdb.base/inferior-died.exp: Likewise.
12150 * gdb.base/interrupt.exp: Likewise.
12151 * gdb.base/multi-forks.exp: Likewise.
12152 * gdb.base/nodebug.exp: Likewise.
12153 * gdb.base/sepdebug.exp: Likewise.
12154 * gdb.base/solib1.c: Likewise.
12155 * gdb.base/step-test.exp: Likewise.
12156 * gdb.mi/non-stop.c: Likewise.
12157 * gdb.mi/pthreads.c: Likewise.
12158 * gdb.multi/bkpt-multi-exec.ex: Likewise.
12159 * gdb.threads/pthreads.c: Likewise.
12160 * gdb.threads/staticthreads.exp: Likewise.
12161 * lib/future.exp: Likewise.
12162 * lib/gdb.exp: Likewise.
12163 * gdb.base/so-indr-cl.c: Remove.
12164 * gdb.base/so-indr-cl.exp: Likewise.
12165 * gdb.base/solib.c: Likewise.
12166 * gdb.base/solib.exp: Likewise.
12167 * gdb.base/solib2.c: Likewise.
12168
121692015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
12170
12171 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
12172 * gdb.base/call-ar-st.exp: Likewise.
12173 * gdb.base/callfuncs.exp: Likewise.
12174 * gdb.base/condbreak.exp: Likewise.
12175 * gdb.base/constvars.exp: Likewise.
12176 * gdb.base/hbreak2.exp: Likewise.
12177 * gdb.base/langs.exp: Likewise.
12178 * gdb.base/list.exp: Likewise.
12179 * gdb.base/long_long.exp: Likewise.
12180 * gdb.base/ptype.exp: Likewise.
12181 * gdb.base/scope.exp: Likewise.
12182 * gdb.base/signals.exp: Likewise.
12183 * gdb.base/so-impl-ld.exp: Likewise.
12184 * gdb.base/varargs.exp: Likewise.
12185 * gdb.base/volatile.exp: Likewise.
12186 * gdb.base/whatis.exp: Likewise.
12187 * gdb.cp/cplusfuncs.exp: Likewise.
12188 * gdb.cp/inherit.exp: Likewise.
12189 * gdb.cp/local.exp: Likewise.
12190 * gdb.cp/member-ptr.exp: Likewise.
12191 * gdb.cp/method.exp: Likewise.
12192 * gdb.cp/overload.exp: Likewise.
12193 * gdb.cp/templates.exp: Likewise.
12194 * gdb.stabs/weird.exp: Likewise.
12195 * lib/compiler.c: Likewise.
12196 * lib/compiler.cc: Likewise.
12197 * lib/cp-support.exp: Likewise.
12198 * lib/gdb.exp: Likewise.
12199
122002015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
12201
12202 * configure.ac: Remove HP-UX case.
12203 * configure: Regenerate.
12204
122052015-12-18 Simon Marchi <simon.marchi@ericsson.com>
12206
12207 * lib/gdb.exp (gdb_compile): Add function doc.
12208
122092015-12-17 Pedro Alves <palves@redhat.com>
12210
12211 PR threads/19354
12212 * gdb.multi/info-threads.exp: New file.
12213
122142015-12-15 Yao Qi <yao.qi@linaro.org>
12215
12216 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
12217 is aarch64*-*-*.
12218
122192015-12-14 Sandra Loosemore <sandra@codesourcery.com>
12220
12221 * gdb.base/history-duplicates.exp: Skip if no readline support.
12222
122232015-12-14 Sandra Loosemore <sandra@codesourcery.com>
12224
12225 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
12226
122272015-12-14 Sandra Loosemore <sandra@codesourcery.com>
12228
12229 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
12230
122312015-12-14 Sandra Loosemore <sandra@codesourcery.com>
12232
12233 * gdb.base/completion.exp: Skip tests that interrupt GDB with
12234 ctrl-C if nointerrupts target property is set.
12235 * gdb.base/double-prompt-target-event-error.exp: Likewise.
12236 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
12237 * gdb.base/paginate-bg-execution.exp: Likewise.
12238 * gdb.base/paginate-execution-startup.exp: Likewise.
12239 * gdb.base/random-signal.exp: Likewise.
12240 * gdb.base/range-stepping.exp: Likewise.
12241 * gdb.cp/annota2.exp: Likewise.
12242 * gdb.cp/annota3.exp: Likewise.
12243 * gdb.gdb/selftest.exp: Likewise.
12244 * gdb.threads/continue-pending-status.exp: Likewise.
12245 * gdb.threads/leader-exit.exp: Likewise.
12246 * gdb.threads/manythreads.exp: Likewise.
12247 * gdb.threads/pthreads.exp: Likewise.
12248 * gdb.threads/schedlock.exp: Likewise.
12249 * gdb.threads/sigthread.exp: Likewise.
12250
122512015-12-11 Don Breazeal <donb@codesourcery.com>
12252
12253 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
12254 remote.
12255 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
12256 * gdb.base/foll-exec.exp (main): Enable for target remote.
12257 * gdb.base/foll-fork.exp (main): Likewise.
12258 * gdb.base/foll-vfork.exp (main): Likewise.
12259 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
12260 (proc continue_to_exit_bp_loc): Use clean_restart.
12261 * gdb.base/pie-execl.exp (main): Disable for target remote.
12262 * gdb.base/watch-vfork.exp (main): Enable for target remote.
12263 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
12264 * gdb.threads/execl.exp (main): Likewise.
12265 * gdb.threads/fork-child-threads.exp (main): Likewise.
12266 * gdb.threads/fork-plus-threads.exp (main): Disable for target
12267 remote.
12268 * gdb.threads/fork-thread-pending.exp (main): Enable for target
12269 remote.
12270 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
12271 pid.tid style ptids, instead of just tid.
12272 * gdb.threads/thread-execl.exp (main): Enable for target remote.
12273 * gdb.threads/watchpoint-fork.exp (main): Likewise.
12274 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
12275 ptids, instead of just tid.
12276
122772015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
12278
12279 * gdb.base/list.exp (test_list_forward): Add end of file error
12280 test.
12281 (test_repeat_list_command): Add end of file error test.
12282 (test_list_backwards): Add beginning of file error test.
12283
122842015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
12285
12286 * gdb.base/list.exp (test_list_invalid_args): New function,
12287 defined, and called.
12288
122892015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
12290
12291 * gdb.base/list.exp (test_list): Make test names unique.
12292
122932015-12-11 Yao Qi <yao.qi@linaro.org>
12294
12295 * gdb.base/coremaker2.c: Remove.
12296
122972015-12-10 Pedro Alves <palves@redhat.com>
12298
12299 * gdb.multi/base.exp: Remove stale "spaces" references.
12300
123012015-12-10 Pedro Alves <palves@redhat.com>
12302
12303 * gdb.multi/base.exp: Don't use nowarnings.
12304 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
12305 * gdb.multi/hangout.c: Include stdio.h.
12306 * gdb.multi/hello.c: Include stdlib.h.
12307 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
12308 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
12309 * gdb.multi/multi-arch.exp: Don't use nowarnings.
12310
123112015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
12312
12313 * gdb.dwarf2/dw2-ranges-base.c: New file.
12314 * gdb.dwarf2/dw2-ranges-base.exp: New file.
12315 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
12316 support additional line table, and debug ranges generation.
12317 (Dwarf::ranges): New function, generate .debug_ranges.
12318 (Dwarf::lines): Support generating simple line table programs.
12319 (Dwarf::assemble): Initialise new namespace variables.
12320
123212015-12-09 Kevin Buettner <kevinb@redhat.com>
12322
12323 * gdb.base/async.exp (proc test_background): Add case for
12324 asynchronous execution not supported.
12325
123262015-12-09 Luis Machado <lgustavo@codesourcery.com>
12327
12328 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
12329 format and change test names to make them unique.
12330
123312015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
12332 Pedro Alves <pedro@redhat.com>
12333
12334 PR gdb/18702
12335 Add checking of floatformats setup on x86_64 hosts.
12336 * gdb.arch/i386-float.S (main): Load bigval and smallval.
12337 (smallval, bigval): New labels/constants.
12338 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
12339 float" after loading bigval and smallval.
12340
123412015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
12342
12343 * gdb.ada/fun_overload_menu.exp: New testcase.
12344 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
12345
123462015-12-04 Josh Stone <jistone@redhat.com>
12347
12348 * gdb.base/catch-fork-static.exp: New.
12349
123502015-12-03 Yao Qi <yao.qi@linaro.org>
12351
12352 * gdb.base/sizeof.c: Don't include stdio.h and
12353 ../lib/unbuffer_output.c.
12354 (main): New variable 'size' and 'value'. Remove printf and
12355 gdb_unbuffer_output. Assign return value to size and value.
12356 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
12357 at the beginning.
12358 (check_sizeof): Check the result by printing variable 'size'.
12359 (check_valueof): Check the result by printing variable 'value'.
12360
123612015-12-01 Yao Qi <yao.qi@linaro.org>
12362
12363 * gdb.base/disp-step-syscall.exp: Define syscall instruction
12364 for aarch64*-*-linux* target.
12365
123662015-11-30 Pedro Alves <palves@redhat.com>
12367
12368 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
12369
123702015-11-30 Pedro Alves <palves@redhat.com>
12371
12372 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
12373 Handle non-stop mode vCont replies.
12374
123752015-11-30 Pedro Alves <palves@redhat.com>
12376
12377 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
12378 prepare_for_testing. Start gdb with "set non-stop on" appended to
12379 GDBFLAGS. Lax expected stop output.
12380
123812015-11-27 Yao Qi <yao.qi@linaro.org>
12382
12383 * gdb.arch/arm-neon.exp: New.
12384 * gdb.arch/arm-neon.c: New.
12385
123862015-11-27 Yao Qi <yao.qi@linaro.org>
12387
12388 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
12389
123902015-11-27 Yao Qi <yao.qi@linaro.org>
12391
12392 * gdb.cp/annota2.exp: Allow multiple occurrences of the
12393 frames-invalid annotation.
12394
123952015-11-27 Yao Qi <yao.qi@linaro.org>
12396
12397 * gdb.cp/annota2.exp: Use ${frames_invalid}.
12398
123992015-11-26 Simon Marchi <simon.marchi@ericsson.com>
12400
12401 * gdb.threads/names.exp: New file.
12402 * gdb.threads/names.c: New file.
12403 * README: Mention gdb,no_thread_names.
12404
124052015-11-26 Markus Metzger <markus.t.metzger@intel.com>
12406
12407 PR 19297
12408 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
12409 support" error.
12410
124112015-11-24 Pedro Alves <palves@redhat.com>
12412
12413 PR 17539
12414 * gdb.base/display.exp: Expect displays to be sorted in ascending
12415 order. Use multi_line.
12416 * gdb.base/solib-display.exp: Likewise.
12417
124182015-11-24 Pedro Alves <palves@redhat.com>
12419
12420 PR 17539
12421 * gdb.base/display.exp: Expect displays to be sorted in ascending
12422 order. Use multi_line.
12423 * gdb.base/solib-display.exp: Likewise.
12424
124252015-11-24 Pedro Alves <palves@redhat.com>
12426
12427 PR 17539
12428 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
12429 threads in ascending order.
12430 * gdb.base/foll-fork.exp: Likewise.
12431 * gdb.base/foll-vfork.exp: Likewise.
12432 * gdb.base/multi-forks.exp: Likewise.
12433 * gdb.mi/mi-nonstop.exp: Likewise.
12434 * gdb.mi/mi-nsintrall.exp: Likewise.
12435 * gdb.multi/base.exp: Likewise.
12436 * gdb.multi/multi-arch.exp: Likewise.
12437 * gdb.python/py-inferior.exp: Likewise.
12438 * gdb.threads/break-while-running.exp: Likewise.
12439 * gdb.threads/execl.exp: Likewise.
12440 * gdb.threads/gcore-thread.exp: Likewise.
12441 * gdb.threads/info-threads-cur-sal.exp: Likewise.
12442 * gdb.threads/kill.exp: Likewise.
12443 * gdb.threads/linux-dp.exp: Likewise.
12444 * gdb.threads/multiple-step-overs.exp: Likewise.
12445 * gdb.threads/next-bp-other-thread.exp: Likewise.
12446 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
12447 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
12448 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
12449 * gdb.threads/thread-find.exp: Likewise.
12450 * gdb.threads/tls.exp: Likewise.
12451 * lib/mi-support.exp (mi_reverse_list): Delete.
12452 (mi_check_thread_states): No longer reverse list.
12453
124542015-11-24 Pedro Alves <palves@redhat.com>
12455
12456 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
12457 use lowercase.
12458
124592015-11-23 Simon Marchi <simon.marchi@ericsson.com>
12460
12461 * gdb.trace/actions.c: Include trace-common.h.
12462 (main): Add a location for a fast tracepoint.
12463 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
12464 the normal tracepoints.
12465 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
12466
124672015-11-23 Simon Marchi <simon.marchi@ericsson.com>
12468
12469 * save-trace.exp: Factor out code to these...
12470 (gdb_save_tracepoints): New.
12471 (gdb_load_tracepoints): New.
12472 (do_save_load_test): New.
12473
124742015-11-23 Kevin Buettner <kevinb@redhat.com>
12475
12476 * gdb.base/asmlabel.exp: New test.
12477 * gdb.base/asmlabel.c: New test case.
12478
124792015-11-23 Joel Brobecker <brobecker@adacore.com>
12480
12481 * gdb.base/wrong_frame_bt_full-main.c: New file.
12482 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
12483 * gdb.base/wrong_frame_bt_full.exp: New file.
12484
124852015-11-23 Joel Brobecker <brobecker@adacore.com>
12486
12487 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
12488
124892015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
12490
12491 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
12492 pstate register when comparing registers values in
12493 sparc64-*-linux-gnu targets to avoid spurious differences.
12494
124952015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
12496
12497 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
12498
124992015-11-19 Sandra Loosemore <sandra@codesourcery.com>
12500
12501 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
12502 as type argument to gdb_compile.
12503 * gdb.base/nested-subp2.exp: Likewise.
12504 * gdb.base/nested-subp3.exp: Likewise.
12505
125062015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
12507
12508 * lib/dwarf.exp (_note): Fix left shift of negative value.
12509 * gdb.trace/trace-condition.exp: Likewise.
12510
125112015-11-13 Yao Qi <yao.qi@linaro.org>
12512
12513 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
12514 comments about d10v.
12515 (test_scalar_returns): Likewise.
12516 * gdb.base/d10v.ld: Remove.
12517 * gdb.base/overlays.exp: Remove the target triplet checking for
12518 d10v-*-*.
12519 * gdb.base/structs.exp (test_struct_returns): Remove the
12520 comments about d10v.
12521 (test_struct_calls): Likewise.
12522
125232015-11-13 Yao Qi <yao.qi@linaro.org>
12524
12525 * gdb.base/gnu_vector.exp: Check the return value by "p res".
12526 * gdb.base/gnu_vector.c: Don't include stdio.h.
12527 (main): Don't print res and call add_some_intvecs.
12528
125292015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
12530
12531 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
12532 macro.
12533 (func5): Removed.
12534 (func4): Use FAST_TRACEPOINT_LABEL.
12535 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
12536 macro.
12537 (func): Removed.
12538 (thread_function): Use FAST_TRACEPOINT_LABEL.
12539 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
12540 (func): Remove.
12541 (marker): Use FAST_TRACEPOINT_LABEL.
12542 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
12543 (pendfunc1): Remove.
12544 (pendfunc): Use FAST_TRACEPOINT_LABEL.
12545 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
12546 (foo): Remove.
12547 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
12548 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
12549 macro.
12550 (func): Remove.
12551 (marker): Use FAST_TRACEPOINT_LABEL.
12552 * gdb.trace/trace-common.h: New header.
12553 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
12554 macro.
12555 (func): Remove.
12556 (marker): Use FAST_TRACEPOINT_LABEL.
12557 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
12558 (func): Remove.
12559 (thread_function): Use FAST_TRACEPOINT_LABEL.
12560
125612015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
12562
12563 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
12564 in front.
12565 * gdb.trace/change-loc.exp: Use global pcreg definition.
12566 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
12567 * gdb.trace/entry-values.exp: Use global spreg definition, add $
12568 in front.
12569 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
12570 * gdb.trace/pending.exp: Likewise.
12571 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
12572 * gdb.trace/trace-break.exp: Likewise.
12573 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
12574 in front.
12575 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
12576 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
12577 in front.
12578 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
12579
125802015-11-09 Joel Brobecker <brobecker@adacore.com>
12581
12582 * gdb.ada/fin_fun_out: New testcase.
12583
125842015-11-07 Kevin Buettner <kevinb@redhat.com>
12585
12586 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
12587 value associated with DW_AT_byte_size.
12588 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
12589 constants for DW_AT_byte_size, DW_AT_lower_bound, and
12590 DW_AT_upper_bound.
12591
125922015-11-07 Kevin Buettner <kevinb@redhat.com>
12593
12594 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
12595 (gdb_target_symbol_prefix_flags): Define in terms of _asm
12596 version.
12597 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
12598 gdb.dwarf2/dw2-canonicalize-type.exp,
12599 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
12600 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
12601 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
12602 provided by gdb_target_symbol_prefix_flags_asm.
12603 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
12604 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
12605 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
12606 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
12607 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
12608 macros where needed). Use this macro for symbols which require
12609 the prefix provided by SYMBOL_PREFIX.
12610
126112015-11-05 Kevin Buettner <kevinb@redhat.com>
12612
12613 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
12614 New procs.
12615 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
12616 representing expressions, of more than one list element.
12617 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
12618 to prepend linker symbol prefix to f.
12619 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
12620 table_1 and table_2.
12621 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
12622 Likewise, for f and g.
12623 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
12624 for ptr.
12625 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
12626 for main.
12627 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
12628 table_1_ptr and table_2_ptr.
12629
126302015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12631 Joel Brobecker <brobecker@adacore.com>
12632
12633 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
12634
126352015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
12636
12637 * gdb.reverse/s390-mvcle.c: New test.
12638 * gdb.reverse/s390-mvcle.exp: New file.
12639 * lib/gdb.exp: Enable reverse tests on s390*-linux.
12640
126412015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
12642
12643 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
12644
126452015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
12646
12647 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
12648 reaching marker2.
12649 * gdb.reverse/getresuid-reverse.exp: Likewise.
12650 * gdb.reverse/pipe-reverse.exp: Likewise.
12651 * gdb.reverse/readv-reverse.exp: Likewise.
12652 * gdb.reverse/recvmsg-reverse.exp: Likewise.
12653 * gdb.reverse/time-reverse.exp: Likewise.
12654 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
12655
126562015-10-30 Yao Qi <yao.qi@linaro.org>
12657
12658 * gdb.threads/wp-replication.c (watch_count_done): Remove.
12659 (empty_cycle): Remove.
12660 (main): Don't call empty_cycle. Don't use watch_count_done.
12661 * gdb.threads/wp-replication.exp: Don't set breakpoint on
12662 empty_cycle. Rewrite the code counting HW watchpoints.
12663
126642015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
12665
12666 * gdb.reverse/fstatat-reverse.c: New test.
12667 * gdb.reverse/fstatat-reverse.exp: New file.
12668 * gdb.reverse/getresuid-reverse.c: New test.
12669 * gdb.reverse/getresuid-reverse.exp: New file.
12670 * gdb.reverse/pipe-reverse.c: New test.
12671 * gdb.reverse/pipe-reverse.exp: New file.
12672 * gdb.reverse/readv-reverse.c: New test.
12673 * gdb.reverse/readv-reverse.exp: New file.
12674 * gdb.reverse/recvmsg-reverse.c: New test.
12675 * gdb.reverse/recvmsg-reverse.exp: New file.
12676 * gdb.reverse/time-reverse.c: New test.
12677 * gdb.reverse/time-reverse.exp: New file.
12678 * gdb.reverse/waitpid-reverse.c: New test.
12679 * gdb.reverse/waitpid-reverse.exp: New file.
12680
126812015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
12682
12683 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
12684
126852015-10-26 Doug Evans <dje@google.com>
12686
12687 PR symtab/17391
12688 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
12689 * gdb.dwarf2/bad-regnum.c: New file.
12690 * gdb.dwarf2/bad-regnum.exp: New file.
12691
126922015-10-26 Doug Evans <dje@google.com>
12693
12694 PR python/18938
12695 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
12696 file.
12697
126982015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12699
12700 * gdb.compile/compile.exp (compile code globalvar): Update expectation
12701 for a change by "Mention language in compile error message".
12702
127032015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
12704
12705 PR python/18073
12706 * gdb.python/py-type.c (C::a_method): New.
12707 (C::a_const_method): New.
12708 (C::a_static_method): New.
12709 (a_function): New.
12710 * gdb.python/py-type.exp (test_fields): Test getting fields
12711 from function and method.
12712
127132015-10-21 Keven Boell <keven.boell@intel.com>
12714
12715 * gdb.fortran/vla-alloc-assoc.exp: New file.
12716 * gdb.fortran/vla-datatypes.exp: New file.
12717 * gdb.fortran/vla-datatypes.f90: New file.
12718 * gdb.fortran/vla-history.exp: New file.
12719 * gdb.fortran/vla-ptype-sub.exp: New file.
12720 * gdb.fortran/vla-ptype.exp: New file.
12721 * gdb.fortran/vla-sizeof.exp: New file.
12722 * gdb.fortran/vla-sub.f90: New file.
12723 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
12724 * gdb.fortran/vla-value-sub-finish.exp: New file.
12725 * gdb.fortran/vla-value-sub.exp: New file.
12726 * gdb.fortran/vla-value.exp: New file.
12727 * gdb.fortran/vla-ptr-info.exp: New file.
12728 * gdb.mi/mi-vla-fortran.exp: New file.
12729 * gdb.mi/vla.f90: New file.
12730
127312015-10-21 Sandra Loosemore <sandra@codesourcery.com>
12732
12733 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
12734 of hardwired timeout value.
12735
127362015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12737 Pedro Alves <palves@redhat.com>
12738
12739 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
12740 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
12741
127422015-10-19 Josh Stone <jistone@redhat.com>
12743
12744 * gdb.base/catch-syscall.c: Include <sched.h>.
12745 (unknown_syscall): New variable.
12746 (main): Trigger a vfork and an unknown syscall.
12747 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
12748 (unknown_syscall_number): Likewise.
12749 (check_call_to_syscall): Accept an optional syscall pattern.
12750 (check_return_from_syscall): Likewise.
12751 (check_continue): Likewise.
12752 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
12753 (test_catch_syscall_skipping_return): New test toggling off 'catch
12754 syscall' to step over the syscall return, then toggling back on.
12755 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
12756 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
12757 (do_syscall_tests): Call test_catch_syscall_without_args and
12758 test_catch_syscall_mid_vfork.
12759 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
12760 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
12761
127622015-10-19 Andrew Stubbs <ams@codesourcery.com>
12763
12764 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
12765 print g_vE): Add new pass patterns.
12766 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
12767 print various symbol names for vptr fields.
12768
127692015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
12770
12771 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
12772 results.
12773
127742015-10-12 Yao Qi <yao.qi@linaro.org>
12775
12776 * gdb.arch/disp-step-insn-reloc.exp: New test case.
12777
127782015-10-12 Yao Qi <yao.qi@linaro.org>
12779
12780 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
12781 is aarch64*-*-linux*.
12782
127832015-10-12 Yao Qi <yao.qi@linaro.org>
12784
12785 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
12786 (can_relocate_bcond_true): ... it.
12787 (can_relocate_bcond_false): New function.
12788 (foo): Likewise.
12789 (can_relocate_bl): Likewise.
12790 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
12791 can_relocate_bl.
12792
127932015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
12794
12795 * gdb.base/nested-addr.c: New file.
12796 * gdb.base/nested-addr.exp: New testcase.
12797
127982015-10-09 Markus Metzger <markus.t.metzger@intel.com>
12799
12800 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
12801 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
12802 its output. Ignore the output of "record goto begin" and instead
12803 check that GDB is replaying.
12804
128052015-10-09 Pedro Alves <palves@redhat.com>
12806
12807 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
12808 (top level): Use it in the run with no args test.
12809
128102015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
12811
12812 * gdb.dlang/properties.exp: New file.
12813
128142015-10-02 Sandra Loosemore <sandra@codesourcery.com>
12815
12816 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
12817 whether or not address 0x1000 is mapped on the target.
12818
128192015-09-30 Simon Marchi <simon.marchi@ericsson.com>
12820
12821 * gdb.python/py-type.exp: Do not run tests if binaries fail to
12822 build.
12823
128242015-09-30 Markus Metzger <markus.t.metzger@intel.com>
12825
12826 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
12827 instruction-history test.
12828
128292015-09-28 Doug Evans <dje@google.com>
12830
12831 * gdb.base/gcore.c (array_func): Add reference to static_array.
12832
128332015-09-25 Simon Marchi <simon.marchi@ericsson.com>
12834
12835 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
12836 source line.
12837
128382015-09-24 Sandra Loosemore <sandra@codesourcery.com>
12839
12840 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
12841 short or char as base type.
12842
128432015-09-23 Sandra Loosemore <sandra@codesourcery.com>
12844
12845 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
12846 to allow any size enum.
12847
128482015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
12849
12850 * gdb.ada/array_ptr_renaming.exp: New testcase.
12851 * gdb.ada/array_ptr_renaming/foo.adb: New file.
12852 * gdb.ada/array_ptr_renaming/pack.ads: New file.
12853
128542015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12855
12856 * gdb.trace/ftrace-lock.c: New file.
12857 * gdb.trace/ftrace-lock.exp: New file.
12858
128592015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12860
12861 * gdb.arch/insn-reloc.c: New file.
12862 * gdb.arch/ftrace-insn-reloc.exp: New file.
12863
128642015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12865
12866 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
12867 instruction.
12868 * gdb.trace/pendshr1.c (pendfunc): Likewise.
12869 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
12870 * gdb.trace/range-stepping.c: Likewise.
12871 * gdb.trace/trace-break.c: Likewise.
12872 * gdb.trace/trace-mt.c (thread_function): Likewise.
12873 * gdb.trace/ftrace.c (marker): Likewise.
12874 * gdb.trace/trace-condition.c (marker): Likewise.
12875 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
12876 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
12877 is_aarch64_target.
12878
128792015-09-18 Doug Evans <xdje42@gmail.com>
12880
12881 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
12882 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
12883
128842015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12885
12886 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
12887 the breakpoint.
12888
128892015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12890
12891 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
12892 the pending breakpoint. Remove timeout override for "Run till
12893 MI pending breakpoint on pendfunc3 on thread 2" test.
12894
128952015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12896
12897 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
12898 filename pattern.
12899
129002015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12901
12902 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
12903 in breakpoint filename pattern.
12904
129052015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12906
12907 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
12908
129092015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12910
12911 * gdb.linespec/explicit.exp: Check for readline support for
12912 tab-completion tests. Fix obvious typo.
12913
129142015-09-18 Markus Metzger <markus.t.metzger@intel.com>
12915
12916 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
12917 and replay.
12918
129192015-09-18 Markus Metzger <markus.t.metzger@intel.com>
12920
12921 * gdb.btrace/non-stop.c: New.
12922 * gdb.btrace/non-stop.exp: New.
12923
129242015-09-17 Pierre Langlois <pierre.langlois@arm.com>
12925 Yao Qi <yao.qi@linaro.org>
12926
12927 * gdb.trace/trace-condition.c: New file.
12928 * gdb.trace/trace-condition.exp: New file.
12929
129302015-09-16 Wei-cheng Wang <cole945@gmail.com>
12931
12932 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
12933 for testing bytecode compilation.
12934
129352015-09-16 Pedro Alves <palves@redhat.com>
12936 Sandra Loosemore <sandra@codesourcery.com>
12937
12938 * gdb.threads/non-stop-fair-events.c (timeout): New global.
12939 (SECONDS): Redefine.
12940 (main): Call pthread_kill and alarm early.
12941 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
12942 support.
12943 (test): If the target can't hardware step and doesn't support
12944 displaced stepping, increase the timeout.
12945
129462015-09-16 Pedro Alves <palves@redhat.com>
12947
12948 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
12949 (enable_debug): New procedures.
12950 (test): Use them. Bail out if waiting for threads fails.
12951 (top level): Bail out if a test fails.
12952
129532015-09-16 Yao Qi <yao.qi@linaro.org>
12954
12955 * gdb.asm/asm-source.exp: Set asm-arch for
12956 aarch64*-*-* target.
12957 * gdb.asm/aarch64.inc: New file.
12958
129592015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
12960
12961 * gdb.ada/array_of_variable_length.exp: New testcase.
12962 * gdb.ada/array_of_variable_length/foo.adb: New file.
12963 * gdb.ada/array_of_variable_length/pck.adb: New file.
12964 * gdb.ada/array_of_variable_length/pck.ads: New file.
12965
129662015-09-15 Doug Evans <dje@google.com>
12967
12968 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
12969 of function static local variable.
12970
129712015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
12972
12973 * gdb.threads/tls-so_extern.exp: New test file.
12974 * gdb.threads/tls-so_extern.c: New test file.
12975 * gdb.threads/tls-so_extern_main.c: New test file.
12976
129772015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12978
12979 * gdb.opt/solib-intra-step-lib.c: New file.
12980 * gdb.opt/solib-intra-step-main.c: New file.
12981 * gdb.opt/solib-intra-step.exp: New file.
12982
129832015-09-15 Pedro Alves <palves@redhat.com>
12984
12985 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
12986 gdb_continue_to_breakpoint instead of gdb_test_multiple.
12987
129882015-09-14 Pedro Alves <palves@redhat.com>
12989
12990 * gdb.base/hook-stop-continue.c: Delete.
12991 * gdb.base/hook-stop-continue.exp: Delete.
12992 * gdb.base/hook-stop-frame.c: Delete.
12993 * gdb.base/hook-stop-frame.exp: Delete.
12994 * gdb.base/hook-stop.c: New file.
12995 * gdb.base/hook-stop.exp: New file.
12996
129972015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
12998
12999 * gdb.ada/access_to_packed_array.exp: New testcase.
13000 * gdb.ada/access_to_packed_array/foo.adb: New file.
13001 * gdb.ada/access_to_packed_array/pack.adb: New file.
13002 * gdb.ada/access_to_packed_array/pack.ads: New file.
13003
130042015-09-14 Markus Metzger <markus.t.metzger@intel.com>
13005
13006 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
13007 buffer size test.
13008
130092015-09-11 Don Breazeal <donb@codesourcery.com>
13010
13011 * gdb.base/foll-exec.c: Add copyright header. Fix
13012 formatting issues.
13013 * gdb.base/foll-exec.exp (zap_session): Delete proc.
13014 (do_exec_tests): Use clean_restart in place of zap_session,
13015 and for test initialization. Fix formatting issues. Use
13016 fail in place of perror.
13017 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
13018 an expect statement to match an expression with output from
13019 the program under debug.
13020 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
13021 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
13022 * gdb.threads/non-ldr-exc-2.exp: Likewise.
13023 * gdb.threads/non-ldr-exc-3.exp: Likewise.
13024 * gdb.threads/non-ldr-exc-4.exp: Likewise.
13025
130262015-09-09 Doug Evans <dje@google.com>
13027
13028 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
13029
130302015-09-09 Doug Evans <dje@google.com>
13031
13032 * gdb.base/pie-execl.exp: Fix result test of build_executable.
13033
130342015-09-09 Doug Evans <dje@google.com>
13035
13036 * gdb.base/savedregs.exp: Fix typo.
13037
130382015-09-09 Pedro Alves <palves@redhat.com>
13039
13040 * gdb.mi/mi-cli.exp: Add CLI finish tests.
13041
130422015-09-08 Sandra Loosemore <sandra@codesourcery.com>
13043
13044 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
13045 command actually switches threads. Give up on remaining
13046 tests if target fails to stop at breakpoint.
13047
130482015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
13049
13050 * gdb.ada/funcall_char.exp: New testcase.
13051 * gdb.ada/funcall_char/foo.adb: New file.
13052
130532015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
13054
13055 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
13056 expected outputs. Add two testcases for completing ambiguous
13057 functions.
13058 * gdb.ada/complete/aux_pck.adb: New file.
13059 * gdb.ada/complete/aux_pck.ads: New file.
13060 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
13061 Ambiguous_Func functions.
13062 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
13063 * gdb.ada/complete/pck.adb: Likewise.
13064
130652015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
13066
13067 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
13068 failures to run the test program under GDB.
13069
130702015-08-26 Luis Machado <lgustavo@codesourcery.com>
13071
13072 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
13073 to C.
13074
130752015-08-26 Patrick Palka <patrick@parcs.ath.cx>
13076
13077 * gdb.base/run-after-attach.exp: New test file.
13078 * gdb.base/run-after-attach.c: New test file.
13079
130802015-08-26 Don Breazeal <donb@codesourcery.com>
13081
13082 * gdb.base/foll-exec-2.c: New test program.
13083 * gdb.base/foll-exec-2.exp: New test.
13084
130852015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
13086
13087 * gdb.base/nested-subp1.exp: New file.
13088 * gdb.base/nested-subp1.c: New file.
13089 * gdb.base/nested-subp2.exp: New file.
13090 * gdb.base/nested-subp2.c: New file.
13091 * gdb.base/nested-subp3.exp: New file.
13092 * gdb.base/nested-subp3.c: New file.
13093
130942015-08-24 Pedro Alves <palves@redhat.com>
13095
13096 * gdb.server/connect-without-multi-process.c: New file.
13097 * gdb.server/connect-without-multi-process.exp: New file.
13098
130992015-08-24 Luis Machado <lgustavo@codesourcery.com>
13100
13101 * gdb.opt/inline-markers.c: Make z int.
13102
131032015-08-24 Luis Machado <lgustavo@codesourcery.com>
13104
13105 * gdb.opt/inline-markers.c: Make z volatile.
13106
131072015-08-24 Luis Machado <lgustavo@codesourcery.com>
13108
13109 * gdb.opt/inline-bt.c: New volatile global z.
13110 * gdb.opt/inline-cmds.c: Likewise.
13111 * gdb.opt/inline-locals.c: Likewise.
13112 * gdb.opt/inline-markers.c: New extern global z.
13113 (marker): Use z.
13114 (inline_fn): Likewise.
13115
131162015-08-24 Pedro Alves <palves@redhat.com>
13117
13118 * config/m32r-stub.exp: Remove file.
13119 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
13120 * gdb.base/call-rt-st.exp: Likewise.
13121 * gdb.base/call-strs.exp: Likewise.
13122 * gdb.base/default.exp: Remove references to h8300-*-hms and
13123 *-*-udi*.
13124 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
13125
131262015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
13127
13128 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
13129 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
13130 and "return" use KFAIL when GDB can not read/write the vector
13131 return value.
13132
131332015-08-21 Gary Benson <gbenson@redhat.com>
13134
13135 * gdb.trace/pending.exp: Cope with remote transfer warnings.
13136
131372015-08-20 Pedro Alves <palves@redhat.com>
13138
13139 * gdb.server/solib-list.exp: No longer expect an interior stop in
13140 non-stop mode.
13141
131422015-08-20 Pedro Alves <palves@redhat.com>
13143
13144 * gdb.server/connect-stopped-target.c: New file.
13145 * gdb.server/connect-stopped-target.exp: New file.
13146
131472015-08-20 Pedro Alves <palves@redhat.com>
13148
13149 * gdb.dwarf2/comp-unit-lang.exp: New file.
13150 * gdb.dwarf2/comp-unit-lang.c: New file.
13151
131522015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
13153
13154 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
13155 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
13156
131572015-08-19 Kevin Buettner <kevinb@redhat.com>
13158
13159 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
13160 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
13161
131622015-08-18 Doug Evans <dje@google.com>
13163 Adrian Sendroiu <adrian.sendroiu@freescale.com>
13164
13165 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
13166 skip_python_tests. New arg prompt_regexp.
13167 (skip_python_tests): New function.
13168 * lib/mi-support.exp (mi_skip_python_tests): New function.
13169 * gdb.python/py-mi-objfile-gdb.py: New file.
13170 * gdb.python/py-mi-objfile.c: New file.
13171 * gdb.python/py-mi-objfile.exp: New file.
13172
131732015-08-17 Keith Seitz <keiths@redhat.com>
13174
13175 * gdb.linespec/explicit.exp: Move strace test from here ...
13176 * gdb.trace/strace.exp: ... to here.
13177
131782015-08-15 Patrick Palka <patrick@parcs.ath.cx>
13179
13180 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
13181 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
13182
131832015-08-14 Doug Evans <xdje42@gmail.com>
13184
13185 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
13186 inferior before selecting a new file.
13187
131882015-08-14 Doug Evans <xdje42@gmail.com>
13189
13190 * gdb.mi/mi-disassemble.exp: Update.
13191 * gdb.base/disasm-optim.S: New file.
13192 * gdb.base/disasm-optim.c: New file.
13193 * gdb.base/disasm-optim.h: New file.
13194 * gdb.base/disasm-optim.exp: New file.
13195
131962015-08-14 Keith Seitz <keiths@redhat.com>
13197
13198 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
13199 "evaluated-by".
13200
132012015-08-13 Joel Brobecker <brobecker@adacore.com>
13202
13203 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
13204
132052015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
13206
13207 * gdb.ada/fun_renaming.exp: New testcase.
13208 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
13209 * gdb.ada/fun_renaming/pack.adb: New file.
13210 * gdb.ada/fun_renaming/pack.ads: New file.
13211
132122015-08-12 Keith Seitz <keiths@redhat.com>
13213
13214 * gdb.base/dso2dso.exp: Pass basename of source file in call to
13215 gdb_get_line_number.
13216
132172015-08-12 Joel Brobecker <brobecker@adacore.com>
13218
13219 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
13220 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
13221 gdb.base/dso2dso.exp: New files.
13222
132232015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
13224 Pedro Alves <palves@redhat.com>
13225 Keith Seitz <keiths@redhat.com>
13226
13227 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
13228 GDBFLAGS.
13229
132302015-08-12 Patrick Palka <patrick@parcs.ath.cx>
13231
13232 * gdb.base/gdbhistsize-history.exp
13233 (test_histsize_history_setting): Use save_vars.
13234 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13235 Use save_vars.
13236 (test_no_truncation_of_unlimited_history_file): Use save_vars.
13237 * gdb.base/readline.exp: Use save_vars.
13238
132392015-08-12 Patrick Palka <patrick@parcs.ath.cx>
13240
13241 * lib/gdb.exp (save_vars): New proc.
13242
132432015-08-11 Keith Seitz <keiths@redhat.com>
13244
13245 * gdb.base/help.exp: Update help_breakpoint_text.
13246
132472015-08-11 Keith Seitz <keiths@redhat.com>
13248
13249 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
13250 (at toplevel): Call test_explicit_breakpoints.
13251 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
13252 breakpoints.
13253 * lib/mi-support.exp (mi_make_breakpoint): Add support for
13254 breakpoint conditions, "-cond".
13255
132562015-08-11 Keith Seitz <keiths@redhat.com>
13257
13258 * gdb.linespec/3explicit.c: New file.
13259 * gdb.linespec/cpexplicit.cc: New file.
13260 * gdb.linespec/cpexplicit.exp: New file.
13261 * gdb.linespec/explicit.c: New file.
13262 * gdb.linespec/explicit.exp: New file.
13263 * gdb.linespec/explicit2.c: New file.
13264 * gdb.linespec/ls-errs.exp: Add explicit location tests.
13265 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
13266 before using in the matching pattern.
13267 Clarify that `prefix' is a regular expression.
13268
132692015-08-11 Keith Seitz <keiths@redhat.com>
13270
13271 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
13272 test.
13273 Add tests for missing ",FMT" and ",".
13274
132752015-08-10 Doug Evans <dje@google.com>
13276 Keith Seitz <keiths@redhat.com>
13277
13278 PR gdb/17960
13279 * gdb.base/completion.exp: Add location completer tests.
13280
132812015-08-07 Pedro Alves <palves@redhat.com>
13282
13283 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
13284 tests here.
13285 (top level): Run do_test with and without displaced stepping.
13286
132872015-08-07 Pedro Alves <palves@redhat.com>
13288
13289 * gdb.base/valgrind-disp-step.c: New file.
13290 * gdb.base/valgrind-disp-step.exp: New file.
13291
132922015-08-07 Pedro Alves <palves@redhat.com>
13293
13294 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
13295 Delete function.
13296 (main): Add alarm. Run an infinite loop instead of calling
13297 wait_threads.
13298 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
13299 comment.
13300 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
13301 Delete function.
13302 (main): Add alarm. Run an infinite loop instead of calling
13303 wait_threads.
13304 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
13305 comment.
13306
133072015-08-07 Pedro Alves <palves@redhat.com>
13308
13309 * gdb.base/checkpoint-ns.exp: New file.
13310 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
13311 standard_testfile.
13312
133132015-08-07 Markus Metzger <markus.t.metzger@intel.com>
13314
13315 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
13316 * gdb.btrace/instruction_history.exp: Update.
13317 * gdb.btrace/tsx.exp: New.
13318 * gdb.btrace/tsx.c: New.
13319
133202015-08-06 Pedro Alves <palves@redhat.com>
13321
13322 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
13323 increase timeout.
13324 * gdb.reverse/until-precsave.exp: Bump timeouts.
13325
133262015-08-06 Pedro Alves <palves@redhat.com>
13327
13328 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
13329
133302015-08-06 Pedro Alves <palves@redhat.com>
13331
13332 PR gdb/18749
13333 * gdb.threads/process-dies-while-handling-bp.c: New file.
13334 * gdb.threads/process-dies-while-handling-bp.exp: New file.
13335
133362015-08-06 Pedro Alves <palves@redhat.com>
13337
13338 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
13339 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
13340
133412015-08-05 Pedro Alves <palves@redhat.com>
13342
13343 * gdb.threads/next-while-other-thread-longjmps.c: New file.
13344 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
13345
133462015-08-03 Sandra Loosemore <sandra@codesourcery.com>
13347
13348 * gdb.base/bp-permanent.exp: Report test as unsupported if
13349 the target cannot stop at the permanent breakpoint.
13350
133512015-08-03 Doug Evans <dje@google.com>
13352
13353 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
13354 10000.
13355
133562015-08-03 Doug Evans <dje@google.com>
13357
13358 * Makefile.in (workers/%.worker, build-perf): New rule.
13359 (GDB_PERFTEST_MODE): New variable.
13360 (check-perf): Use it.
13361 (clean): Clean up gdb.perf parallel build subdirs.
13362 * lib/build-piece.exp: New file.
13363 * lib/gdb.exp (make_gdb_parallel_path): New function
13364 (standard_output_file, standard_temp_file): Call it.
13365 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13366 of $GDB_PARALLEL.
13367 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
13368
133692015-08-03 Doug Evans <dje@google.com>
13370
13371 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
13372 (LOG_FILE_NAME): New global.
13373 (TextReporter.__init__): Initialize self.txt_sum.
13374 (TextReporter.report): Add support for multiple data-points.
13375 Move report to perftest.sum, put raw data in perftest.log.
13376 (TextReporter.start): Open sum and log files.
13377 (TextReporter.end): Close sum and log files.
13378 * gdb.perf/lib/perftest/testresult.py
13379 (SingleStatisticTestResult.record): Handle multiple data-points.
13380
133812015-07-31 Pedro Alves <palves@redhat.com>
13382
13383 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
13384 Use spawn_id_get_pid. Wait for spawn id after eof. Use
13385 kill_wait_spawned_process instead of explicit "kill -9".
13386 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
13387 returning a spawn id instead of a pid. Use spawn_id_get_pid and
13388 kill_wait_spawned_process.
13389 * gdb.base/attach-twice.exp: Likewise.
13390 * gdb.base/attach.exp: Likewise.
13391 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
13392 gdb_test_multiple.
13393 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
13394 returning a spawn id instead of a pid. Use spawn_id_get_pid and
13395 kill_wait_spawned_process.
13396 * gdb.base/valgrind-infcall.exp: Likewise.
13397 * gdb.multi/multi-attach.exp: Likewise.
13398 * gdb.python/py-prompt.exp: Likewise.
13399 * gdb.python/py-sync-interp.exp: Likewise.
13400 * gdb.server/ext-attach.exp: Likewise.
13401 * gdb.threads/attach-into-signal.exp (corefunc): Use
13402 spawn_wait_for_attach, spawn_id_get_pid and
13403 kill_wait_spawned_process.
13404 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
13405 spawn_wait_for_attach returning a spawn id instead of a pid. Use
13406 spawn_id_get_pid and kill_wait_spawned_process.
13407 * gdb.threads/attach-stopped.exp (corefunc): Use
13408 spawn_wait_for_attach, spawn_id_get_pid and
13409 kill_wait_spawned_process.
13410 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
13411 Use spawn_id_get_pid. Wait for spawn id after eof. Use
13412 kill_wait_spawned_process instead of explicit "kill -9".
13413 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
13414 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
13415 (spawn_wait_for_attach): Use spawn instead of exec to spawn
13416 processes. Don't map cygwin/windows pids here. Now returns a
13417 spawn id list.
13418
134192015-07-30 Sandra Loosemore <sandra@codesourcery.com>
13420
13421 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
13422 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
13423 correct patch.
13424
134252015-07-30 Sandra Loosemore <sandra@codesourcery.com>
13426
13427 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
13428
134292015-07-30 Sandra Loosemore <sandra@codesourcery.com>
13430
13431 Reapply:
13432 2014-05-21 Mark Wielaard <mjw@redhat.com>
13433
13434 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
13435
134362015-07-30 Pedro Alves <palves@redhat.com>
13437
13438 * linux-low.c (handle_extended_wait): Set the child's last
13439 reported status to TARGET_WAITKIND_STOPPED.
13440
134412015-07-30 Pedro Alves <palves@redhat.com>
13442
13443 PR threads/18600
13444 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
13445 only shows inferior 1.
13446
134472015-07-30 Simon Marchi <simon.marchi@ericsson.com>
13448 Pedro Alves <palves@redhat.com>
13449
13450 PR threads/18600
13451 * gdb.threads/fork-plus-threads.c: New file.
13452 * gdb.threads/fork-plus-threads.exp: New file.
13453
134542015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13455
13456 * gdb.base/batch-preserve-term-settings.exp
13457 (test_terminal_settings_preserved_after_cli_exit): Use
13458 send_quit_command.
13459
134602015-07-29 Pedro Alves <palves@redhat.com>
13461 Don Breazeal <donb@codesourcery.com>
13462
13463 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
13464 output from both inferior_spawn_id and gdb_spawn_id.
13465
134662015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
13467
13468 * gdb.threads/attach-into-signal.exp (corefunc): Use
13469 with_test_prefix on nested loops, uniquefying the test messages.
13470
134712015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
13472
13473 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
13474 commit.
13475
134762015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13477
13478 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
13479 New proc.
13480 (test_terminal_settings_preserved_after_sigterm): New test.
13481
134822015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13483
13484 * gdb.base/batch-preserve-term-settings.exp
13485 (test_terminal_settings_preserved_after_cli_exit): New test.
13486
134872015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13488
13489 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
13490 manipulation of saved_gdbflags.
13491 (test_terminal_settings_preserved): Remove global declaration of
13492 the unused variable pagination_prompt. Remove manipulation of
13493 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
13494 GDBFLAGS.
13495
134962015-07-29 Pedro Alves <palves@redhat.com>
13497
13498 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
13499
135002015-07-29 Pedro Alves <palves@redhat.com>
13501
13502 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
13503 at the top.
13504
135052015-07-29 Pedro Alves <palves@redhat.com>
13506
13507 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
13508 (main): Call gdb_unbuffer_output.
13509 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
13510 (main): Call gdb_unbuffer_output.
13511 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
13512 (main): Call gdb_unbuffer_output.
13513 * gdb.base/call-strs.exp: Adjust to step over the
13514 gdb_unbuffer_output call.
13515 * gdb.base/catch-gdb-caused-signals.c: Include
13516 "../lib/unbuffer_output.c".
13517 (main): Call gdb_unbuffer_output.
13518 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
13519 (main): Call gdb_unbuffer_output.
13520 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
13521 (main): Call gdb_unbuffer_output.
13522 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
13523 (main): Call gdb_unbuffer_output.
13524 * gdb.base/shlib-call.exp: Adjust to step over the
13525 gdb_unbuffer_output call.
13526 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
13527 (main): Call gdb_unbuffer_output.
13528 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
13529 (main): Call gdb_unbuffer_output.
13530 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
13531 (main): Rename to ...
13532 (test): ... this.
13533 (main): Reimplement.
13534 * gdb.base/varargs.exp: Run to test instead of to main.
13535 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
13536 (main): Call gdb_unbuffer_output.
13537
135382015-07-29 Pedro Alves <palves@redhat.com>
13539
13540 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
13541 factore out from mi_continue_dprintf. For call-style dprintfs,
13542 expect dprintf output out of $inferior_spawn_id.
13543 (mi_continue_dprintf): Use mi_expect_dprintf.
13544 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
13545 (main): Call gdb_unbuffer_output.
13546
135472015-07-29 Pedro Alves <palves@redhat.com>
13548
13549 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
13550 (default_mi_gdb_start): Set inferior_spawn_id instead of
13551 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
13552 gdb_spawn_id.
13553 (mi_gdb_test): Always expect inferior output from both
13554 $inferior_spawn_id and $gdb_spawn_id.
13555
135562015-07-29 Pedro Alves <palves@redhat.com>
13557
13558 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
13559 send_inferior and $inferior_spawn_id.
13560
135612015-07-29 Pedro Alves <palves@redhat.com>
13562
13563 * gdb.gdb/complaints.exp (test_initial_complaints)
13564 (test_serial_complaints, test_short_complaints): Use
13565 gdb_test_stdio.
13566 (test_empty_complaint): Handle $inferior_spawn_id !=
13567 $gdb_spawn_id.
13568
135692015-07-29 Pedro Alves <palves@redhat.com>
13570
13571 * gdb.base/varargs.exp: Use gdb_test_stdio.
13572
135732015-07-29 Pedro Alves <palves@redhat.com>
13574
13575 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
13576
135772015-07-29 Pedro Alves <palves@redhat.com>
13578
13579 * gdb.base/ending-run.exp: Use gdb_test_stdio.
13580
135812015-07-29 Pedro Alves <palves@redhat.com>
13582
13583 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
13584 parameter into two new parameters, "inf_result" and "gdb_result".
13585 Expect inferior output and gdb output from $inferior_spawn_id and
13586 $gdb_spawn_id, respectively. Adjust all callers.
13587
135882015-07-29 Pedro Alves <palves@redhat.com>
13589
13590 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
13591 of gdb_test_sequence.
13592
135932015-07-29 Pedro Alves <palves@redhat.com>
13594
13595 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
13596 (saw_spurious_output): Expect inferior output from
13597 $inferior_spawn_id. Use gdb_test_stdio.
13598
135992015-07-29 Pedro Alves <palves@redhat.com>
13600
13601 * gdb.base/dprintf.exp: Use standard_testfile. Change
13602 prepare_for_testing call.
13603 (srcfile): Don't set.
13604 (restart): New procedure.
13605 (test_dprintf): New procecure, use to continue over dprintfs.
13606 (test_call, test_agent): New procedures, tests moved here.
13607 Restart gdb and recreate dprintfs. Adjust expected output.
13608
136092015-07-29 Pedro Alves <palves@redhat.com>
13610
13611 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
13612
136132015-07-29 Pedro Alves <palves@redhat.com>
13614
13615 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
13616
136172015-07-29 Pedro Alves <palves@redhat.com>
13618
13619 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
13620 gdb_test_stdio.
13621
136222015-07-29 Pedro Alves <palves@redhat.com>
13623
13624 * lib/gdb.exp (gdb_test_stdio): New procedure.
13625
136262015-07-29 Pedro Alves <palves@redhat.com>
13627
13628 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
13629
136302015-07-29 Pedro Alves <palves@redhat.com>
13631
13632 * gdb.base/call-signal-resume.exp: Remove check for
13633 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
13634 * gdb.base/unwindonsignal.exp: Likewise.
13635 * gdb.base/call-signals.c (gen_signal): Remove printf call.
13636 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
13637
136382015-07-29 Pedro Alves <palves@redhat.com>
13639
13640 * gdb.base/siginfo-addr.c (pass): New function.
13641 (handler): Call it iff si_addr is correct.
13642 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
13643 Set a breakpoint at "pass" and continue to it.
13644
136452015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
13646
13647 * gdb.python/py-objfile.exp: Make some tests have unique names.
13648 * gdb.python/py-pp-registration.exp: Likewise.
13649
136502015-07-28 Pedro Alves <palves@redhat.com>
13651
13652 * gdb.server/server-exec-info.exp: Issue a "disconnect".
13653
136542015-07-27 Simon Marchi <simon.marchi@ericsson.com>
13655
13656 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
13657
136582015-07-27 Simon Marchi <simon.marchi@ericsson.com>
13659
13660 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
13661
136622015-07-27 Patrick Palka <patrick@parcs.ath.cx>
13663
13664 * gdb.base/gdb-sigterm-2.exp: New test.
13665
136662015-07-25 Doug Evans <xdje42@gmail.com>
13667
13668 Revert:
13669 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
13670 (workers/%.worker, build-perf): New rule.
13671 (GDB_PERFTEST_MODE): New variable.
13672 (check-perf): Use it.
13673 (clean): Clean up gdb.perf parallel build subdirs.
13674 * lib/build-piece.exp: New file.
13675 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
13676 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
13677 name.
13678 (standard_temp_file): Ditto.
13679 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13680 of $GDB_PARALLEL.
13681
136822015-07-24 Doug Evans <dje@google.com>
13683
13684 * gdb.perf/lib/perftest/utils.py: New file.
13685 * gdb.perf/gm-hello.cc: New file.
13686 * gdb.perf/gm-pervasive-typedef.cc: New file.
13687 * gdb.perf/gm-pervasive-typedef.h: New file.
13688 * gdb.perf/gm-std.cc: New file.
13689 * gdb.perf/gm-std.h: New file.
13690 * gdb.perf/gm-use-cerr.cc: New file.
13691 * gdb.perf/gm-utils.h: New file.
13692 * gdb.perf/gmonster-null-lookup.py: New file.
13693 * gdb.perf/gmonster-pervasive-typedef.py: New file.
13694 * gdb.perf/gmonster-print-cerr.py: New file.
13695 * gdb.perf/gmonster-ptype-string.py: New file.
13696 * gdb.perf/gmonster-runto-main.py: New file.
13697 * gdb.perf/gmonster-select-file.py: New file.
13698 * gdb.perf/gmonster1-null-lookup.exp: New file.
13699 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
13700 * gdb.perf/gmonster1-print-cerr.exp: New file.
13701 * gdb.perf/gmonster1-ptype-string.exp: New file.
13702 * gdb.perf/gmonster1-runto-main.exp: New file.
13703 * gdb.perf/gmonster1-select-file.exp: New file.
13704 * gdb.perf/gmonster1.cc: New file.
13705 * gdb.perf/gmonster1.exp: New file.
13706 * gdb.perf/gmonster2-null-lookup.exp: New file.
13707 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
13708 * gdb.perf/gmonster2-print-cerr.exp: New file.
13709 * gdb.perf/gmonster2-ptype-string.exp: New file.
13710 * gdb.perf/gmonster2-runto-main.exp: New file.
13711 * gdb.perf/gmonster2-select-file.exp: New file.
13712 * gdb.perf/gmonster2.cc: New file.
13713 * gdb.perf/gmonster2.exp: New file.
13714
137152015-07-24 Doug Evans <dje@google.com>
13716
13717 * gdb.perf/README: New file.
13718 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
13719 * lib/gen-perf-test.exp: New file.
13720
137212015-07-24 Doug Evans <dje@google.com>
13722
13723 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
13724 (PerfTest::startup): New function.
13725 (PerfTest::run): Return result of calling body.
13726 (PerfTest::assemble): Rewrite.
13727 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
13728 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
13729 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
13730 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
13731 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
13732
137332015-07-24 Doug Evans <dje@google.com>
13734
13735 * lib/gdb.exp (clean_restart): Make executable optional.
13736
137372015-07-24 Doug Evans <dje@google.com>
13738
13739 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
13740 compiler_info references.
13741 * gdb.cp/temargs.exp: Ditto.
13742 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
13743 (get_compiler_info): Early exit if already computed. Set compiler_info
13744 to "unknown" if there was a problem.
13745 (test_compiler_info): Add function comment. Call get_compiler_info.
13746
137472015-07-24 Doug Evans <dje@google.com>
13748
13749 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
13750 (workers/%.worker, build-perf): New rule.
13751 (GDB_PERFTEST_MODE): New variable.
13752 (check-perf): Use it.
13753 (clean): Clean up gdb.perf parallel build subdirs.
13754 * lib/build-piece.exp: New file.
13755 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
13756 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
13757 name.
13758 (standard_temp_file): Ditto.
13759 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13760 of $GDB_PARALLEL.
13761
137622015-07-24 Doug Evans <dje@google.com>
13763
13764 * lib/future.exp (gdb_default_target_compile): New option
13765 "early_flags".
13766 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
13767 --as-needed.
13768
137692015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
13770
13771 * gdb.base/catch-syscall.exp: Call gdb_exit before
13772 gdb_skip_xml_test.
13773
137742015-07-24 Pedro Alves <palves@redhat.com>
13775
13776 * gdb.python/py-events.exp: Accept output between the stop event
13777 and the prompt.
13778 * gdb.python/py-evsignal.exp: Likewise.
13779 * gdb.python/py-evthreads.exp: Likewise.
13780
137812015-07-24 Pedro Alves <palves@redhat.com>
13782
13783 PR gdb/18717
13784 * gdb.threads/non-ldr-exit.c: New file.
13785 * gdb.threads/non-ldr-exit.exp: New file.
13786
137872015-07-24 Yao Qi <yao.qi@linaro.org>
13788
13789 * gdb.server/ext-wrapper.exp: Test --wrapper option when
13790 restarting process.
13791
137922015-07-24 Yao Qi <yao.qi@linaro.org>
13793
13794 * gdb.server/ext-restart.exp: New file.
13795
137962015-07-24 Yao Qi <yao.qi@linaro.org>
13797
13798 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
13799 argument options.
13800 * gdb.server/ext-wrapper.exp: New file.
13801
138022015-07-23 Doug Evans <dje@google.com>
13803
13804 * gdb.dwarf2/dw2-dummy-cu.S: New file.
13805 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
13806
138072015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
13808
13809 * gdb.ada/var_arr_typedef.exp: New testcase.
13810 * gdb.ada/var_arr_typedef/pack.adb: New file.
13811 * gdb.ada/var_arr_typedef/pack.ads: New file.
13812 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
13813
138142015-07-20 Joel Brobecker <brobecker@adacore.com>
13815
13816 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
13817
138182015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13819
13820 * gdb.arch/i386-biarch-core.exp: Replace istarget
13821 by "complete set gnutarget". Remove expectation for the "core-file"
13822 command.
13823
138242015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13825
13826 Revert the previous commit:
13827 Tests for validate symbol file using build-id.
13828
138292015-07-15 Aleksandar Ristovski <aristovski@qnx.com
13830
13831 Tests for validate symbol file using build-id.
13832 * gdb.base/solib-mismatch-lib.c: New file.
13833 * gdb.base/solib-mismatch-libmod.c: New file.
13834 * gdb.base/solib-mismatch.c: New file.
13835 * gdb.base/solib-mismatch.exp: New file.
13836
138372015-07-15 Sandra Loosemore <sandra@codesourcery.com>
13838
13839 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
13840 nios2-*-linux*.
13841 * gdb.base/sigbpt.exp (stepi_out): Likewise.
13842 * gdb.base/siginfo.exp: Likewise.
13843 * gdb.base/sigstep.exp (advance, advancei): Likewise.
13844
138452015-07-15 Pierre Langlois <pierre.langlois@arm.com>
13846
13847 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
13848 Move it to ...
13849 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
13850 ... here.
13851 * gdb.trace/range-stepping.exp: Check that the target supports
13852 range stepping.
13853
138542015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13855
13856 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
13857
138582015-07-14 Pedro Alves <palves@redhat.com>
13859
13860 * gdb.base/killed-outside.exp: New file.
13861 * gdb.base/killed-outside.c: New file.
13862
138632015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
13864
13865 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
13866 (n at main): New.
13867 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
13868
138692015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
13870
13871 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
13872 infcall tests instead of setting up for KFAIL.
13873
138742015-07-10 Markus Metzger <markus.t.metzger@intel.com>
13875
13876 * gdb.btrace/record_goto-step.exp: New.
13877
138782015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13879
13880 PR compile/18484
13881 * gdb.compile/compile.c (struct struct_type): Add volatile to
13882 selffield's type.
13883 * gdb.compile/compile.exp
13884 (compile code struct_object.selffield = &struct_object): Skip further
13885 struct_object tests if this one xfails.
13886
138872015-07-08 Robert O'Callahan <robert@ocallahan.org>
13888
13889 PR exp/18617
13890 * gdb.trace/ax.exp: Add test.
13891
138922015-07-07 Yao Qi <yao.qi@linaro.org>
13893
13894 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
13895 instead of istarget "aarch64*-*-*".
13896 * gdb.arch/aarch64-fp.exp: Likewise.
13897 * gdb.base/float.exp: Likewise.
13898 * gdb.reverse/aarch64.exp: Likewise.
13899 * lib/gdb.exp (is_aarch64_target): New proc.
13900
139012015-07-07 Yao Qi <yao.qi@linaro.org>
13902
13903 * lib/gdb.exp (is_aarch32_target): New proc.
13904 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
13905 instead of "istarget "arm*-*-*"".
13906 * gdb.arch/arm-disp-step.exp: Likewise.
13907 * gdb.arch/thumb-bx-pc.exp: Likewise.
13908 * gdb.arch/thumb-prologue.exp: Likewise.
13909 * gdb.arch/thumb-singlestep.exp: Likewise.
13910 * gdb.base/disp-step-syscall.exp: Likewise.
13911 * gdb.base/float.exp: Likewise.
13912
139132015-07-07 Yao Qi <yao.qi@linaro.org>
13914
13915 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
13916 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
13917
139182015-07-07 Yao Qi <yao.qi@linaro.org>
13919
13920 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
13921 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
13922 if it exists.
13923 * gdb.multi/multi-arch.exp: Likewise.
13924
139252015-07-07 Simon Marchi <simon.marchi@ericsson.com>
13926
13927 * gdb.python/py-lazy-string.exp: Add missing parentheses to
13928 print.
13929
139302015-07-07 Yao Qi <yao.qi@linaro.org>
13931
13932 * gdb.arch/thumb-singlestep.exp: Do one more single step.
13933
139342015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
13935
13936 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
13937 '[' and ']' characters.
13938
139392015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
13940
13941 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
13942
139432015-06-29 Pedro Alves <palves@redhat.com>
13944
13945 PR threads/18127
13946 * gdb.threads/hand-call-new-thread.c: New file.
13947 * gdb.threads/hand-call-new-thread.c: New file.
13948
139492015-06-26 Keith Seitz <keiths@redhat.com>
13950 Doug Evans <dje@google.com>
13951
13952 PR 16253
13953 * gdb.cp/var-tag-2.cc: New file.
13954 * gdb.cp/var-tag-3.cc: New file.
13955 * gdb.cp/var-tag-4.cc: New file.
13956 * gdb.cp/var-tag.cc: New file.
13957 * gdb.cp/var-tag.exp: New file.
13958
139592015-06-26 Patrick Palka <patrick@parcs.ath.cx>
13960
13961 * gdb.base/history-duplicates.exp: New test.
13962
139632015-06-26 Patrick Palka <patrick@parcs.ath.cx>
13964
13965 * gdb.base/completion.exp: Test the completion of the "focus"
13966 command.
13967
139682015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13969
13970 * gdb.arch/amd64-prologue-skip.S: New file.
13971 * gdb.arch/amd64-prologue-skip.exp: New file.
13972
139732015-06-25 Simon Marchi <simon.marchi@ericsson.com>
13974
13975 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
13976 is_address_zero_readable check.
13977
139782015-06-24 Peter Bergner <bergner@vnet.ibm.com>
13979
13980 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
13981 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
13982
139832015-06-24 Yao Qi <yao.qi@linaro.org>
13984
13985 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
13986 linux targets.
13987
139882015-06-24 Yao Qi <yao.qi@linaro.org>
13989
13990 * lib/gdb.exp (supports_get_siginfo_type): New proc.
13991 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
13992 * gdb.base/siginfo-thread.exp: Likewise.
13993
139942015-06-22 Yao Qi <yao.qi@linaro.org>
13995
13996 * boards/remote-gdbserver-on-localhost.exp: Add comments.
13997
139982015-06-22 Yao Qi <yao.qi@linaro.org>
13999
14000 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
14001 aarch64*-*-*.
14002 (skip_hw_watchpoint_tests): Likewise.
14003
140042015-06-18 Patrick Palka <patrick@parcs.ath.cx>
14005
14006 * gdb.base/gdbinit-history.exp: Test the interaction between
14007 setting GDBHISTSIZE and setting the history size via .gdbinit.
14008
140092015-06-17 Patrick Palka <patrick@parcs.ath.cx>
14010
14011 PR gdb/16999
14012 * gdb.base/gdbhistsize-history.exp: New test.
14013
140142015-06-17 Patrick Palka <patrick@parcs.ath.cx>
14015
14016 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
14017 with GDBHISTSIZE.
14018 * gdb.base/readline.exp: Likewise.
14019
140202015-06-17 Yao Qi <yao.qi@linaro.org>
14021
14022 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
14023 line.
14024
140252015-06-17 Patrick Palka <patrick@parcs.ath.cx>
14026
14027 * gdb.base/gdbinit-history.exp: Add test case to check that
14028 an unlimited history file does not get truncated on exit.
14029
140302015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14031
14032 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
14033 (VECTOR): New macro. Use it...
14034 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
14035 ...for these typedefs.
14036 (int8, char1, int1, double1): New typedefs.
14037 (struct just_int2, struct two_int2): New structures.
14038 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
14039 (add_structvecs, add_singlevecs): New functions.
14040 (main): Call add_some_intvecs twice.
14041 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
14042 the compile and exit upon failure. Try compiling for the "native"
14043 architecture. Test inferior function calls with vector arguments
14044 and vector return value handling with "finish" and "return".
14045
140462015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
14047
14048 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
14049 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
14050 PE file.
14051 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
14052
140532015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
14054
14055 PR breakpoints/16465
14056 * gdb.mi/mi-dprintf-pending.c: New file.
14057 * gdb.mi/mi-dprintf-pending.exp: New test.
14058 * gdb.mi/mi-dprintf-pendshr.c: New file.
14059
140602015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
14061 Mircea Gherzan <mircea.gherzan@intel.com>
14062
14063 * gdb.arch/i386-mpx-map.c: New file.
14064 * gdb.arch/i386-mpx-map.exp: New File.
14065
140662015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
14067
14068 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
14069 * gdb.arch/i386-mpx.exp: Indentation fixed.
14070
140712015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
14072
14073 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
14074 function and improved indentation.
14075 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
14076 gdb_test_multiple. Added additional tests to skip the test.
14077
140782015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
14079
14080 * gdb.arch/i386-avx512.c: Change path in include file.
14081 * gdb.arch/i386-avx512.exp: Change include dir path
14082 compilation flag.
14083 * gdb.arch/i386-mpx.c: Change path in include file.
14084 * gdb.arch/i386-mpx.exp: Change include dir path compilation
14085 flag.
14086
140872015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
14088
14089 * gdb.compile/compile-print.exp (compile print *vararray@3)
14090 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
14091
140922015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
14093
14094 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
14095 (do not keep jit in memory): ... this.
14096 (expect 5): Change it to ...
14097 (expect no 5): ... this.
14098
140992015-06-02 Simon Marchi <simon.marchi@ericsson.com>
14100
14101 PR gdb/15564
14102 * gdb.mi/mi-detach.exp: New file.
14103
141042015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
14105
14106 PR symtab/18392
14107 * gdb.arch/amd64-tailcall-self.S: New file.
14108 * gdb.arch/amd64-tailcall-self.c: New file.
14109 * gdb.arch/amd64-tailcall-self.exp: New file.
14110
141112015-05-28 Don Breazeal <donb@codesourcery.com>
14112
14113 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
14114 tests for remote targets by checking is_target_gdbserver.
14115
141162015-05-27 Doug Evans <dje@google.com>
14117
14118 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
14119 * gdb.dwarf2/opaque-type-lookup.c: New file.
14120 * gdb.dwarf2/opaque-type-lookup.exp: New file.
14121
141222015-05-26 Doug Evans <dje@google.com>
14123
14124 * gdb.cp/iostream.cc: New file.
14125 * gdb.cp/iostream.exp: New file.
14126
141272015-05-26 Doug Evans <dje@google.com>
14128
14129 * gdb.dwarf2/dw2-op-call.exp: Update.
14130 * gdb.dwarf2/dw4-sig-types.exp: Update.
14131 * gdb.dwarf2/implptr.exp: Update.
14132 * gdb.mi/mi-cmd-param-changed.exp: Update.
14133
141342015-05-26 Doug Evans <dje@google.com>
14135
14136 * gdb.python/py-lazy-string.c: New file.
14137 * gdb.python/py-lazy-string.exp: New file.
14138 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
14139 (main): Update. Add estring3.
14140 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
14141 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
14142
141432015-05-26 Omair Javaid <omair.javaid@linaro.org>
14144 Yao Qi <yao.qi@linaro.org>
14145
14146 * gdb.reverse/aarch64.c: New.
14147 * gdb.reverse/aarch64.exp: New.
14148
141492015-05-26 Omair Javaid <omair.javaid@linaro.org>
14150
14151 * lib/gdb.exp (supports_process_record): Return true for
14152 aarch64*-linux*.
14153 (supports_reverse): Likewise.
14154
141552015-05-22 Patrick Palka <patrick@parcs.ath.cx>
14156
14157 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
14158 Use with_test_prefix.
14159
141602015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
14161
14162 * gdb.base/completion.exp: Add test for completion of layout
14163 names.
14164
141652015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
14166
14167 * lib/gdb.exp (skip_tui_tests): New proc.
14168 * gdb.base/tui-layout.exp: Check skip_tui_tests.
14169
141702015-05-19 Pedro Alves <palves@redhat.com>
14171
14172 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
14173 Save the whole env array instead of just HOME. Unset HISTSIZE in
14174 the environment while testing. Restore whole environment
14175 afterwards.
14176
141772015-05-16 Doug Evans <xdje42@gmail.com>
14178
14179 * gdb.guile/scm-ports.c: New file.
14180 * gdb.guile/scm-ports.exp: Add memory port tests.
14181
141822015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14183
14184 * gdb.compile/compile-print.c: New file.
14185 * gdb.compile/compile-print.exp: New file.
14186
141872015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14188
14189 * gdb.compile/compile-ops.exp: Cast param to void.
14190 * gdb.compile/compile.exp: Complete type for _gdb_expr.
14191 (compile code struct_object.selffield = &struct_object): Add xfail.
14192
141932015-05-15 Joel Brobecker <brobecker@adacore.com>
14194
14195 * gdb.ada/arr_enum_with_gap: New testcase.
14196
141972015-05-15 Joel Brobecker <brobecker@adacore.com>
14198
14199 * gdb.ada/byte_packed_arr: New testcase.
14200
142012015-05-15 Joel Brobecker <brobecker@adacore.com>
14202
14203 * gdb.ada/pckd_neg: New testcase.
14204
142052015-05-13 Patrick Palka <patrick@parcs.ath.cx>
14206
14207 PR gdb/17820
14208 * gdb.base/gdbinit-history.exp: New test.
14209 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
14210 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
14211
142122015-05-09 Siva Chandra Reddy <sivachandra@google.com>
14213
14214 * gdb.python/py-xmethods.cc: Enhance test case.
14215 * gdb.python/py-xmethods.exp: New tests.
14216 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
14217 function.
14218 (B_indexoper): Likewise.
14219 (global_dm_list) : Add new xmethod worker functions.
14220
142212015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
14222
14223 * gdb.base/coredump-filter.exp: Correctly unset
14224 "coredump_var_addr" array.
14225
142262015-05-08 Pedro Alves <palves@redhat.com>
14227
14228 * gdb.server/non-existing-program.exp: Unset spawn_id.
14229
142302015-05-08 Siva Chandra Reddy <sivachandra@google.com>
14231
14232 PR python/18291
14233 * gdb.python/py-xmethods.exp: Add tests.
14234
142352015-05-08 Yao Qi <yao.qi@linaro.org>
14236
14237 PR gdb/18208
14238 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
14239 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
14240 function set_coredump_filter, and remove remote_exec call.
14241 Remove argument ipid. Callers update.
14242 (top level): Don't get inferior's PID.
14243
142442015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
14245
14246 * gdb.base/watch_thread_num.exp: Skip test on targets without
14247 access watchpoints.
14248
142492015-05-06 Pedro Alves <palves@redhat.com>
14250
14251 PR server/18081
14252 * gdb.server/non-existing-program.exp: New file.
14253
142542015-05-05 Joel Brobecker <brobecker@adacore.com>
14255
14256 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
14257
142582015-05-05 Joel Brobecker <brobecker@adacore.com>
14259
14260 * gdb.ada/out_of_line_in_inlined: New testcase.
14261
142622015-05-05 Joel Brobecker <brobecker@adacore.com>
14263
14264 * gdb.ada/var_rec_arr: New testcase.
14265
142662015-04-30 Yao Qi <yao.qi@linaro.org>
14267
14268 * gdb.base/break-idempotent.exp: If
14269 skip_hw_watchpoint_multi_tests returns true, skip the tests
14270 on "rwatch" and "awatch".
14271
142722015-04-30 Yao Qi <yao.qi@linaro.org>
14273
14274 * gdb.base/relativedebug.exp: Invoke gdb command
14275 "info sharedlibrary", and if libc.so doesn't have debug info,
14276 skip the test.
14277
142782015-04-29 Doug Evans <dje@google.com>
14279
14280 * gdb.python/py-xmethods.exp: Add ptype tests.
14281 * gdb.python/py-xmethods.py (E_method_char_worker): Add
14282 get_result_type method.
14283
142842015-04-29 Luis Machado <lgustavo@codesourcery.com>
14285
14286 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
14287 the target does not support hardware watchpoints.
14288
142892015-04-29 Luis Machado <lgustavo@codesourcery.com>
14290
14291 * gdb.base/break-always.exp: Abort testing if writing to memory
14292 causes an error.
14293
142942015-04-28 Doug Evans <dje@google.com>
14295
14296 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
14297 * gdb.python/py-pp-registration.exp: ... here. New file.
14298 * gdb.python/py-pp-registration.c: New file.
14299 * gdb.python/py-pp-registration.py: New file.
14300
143012015-04-28 Doug Evans <dje@google.com>
14302
14303 * gdb.python/py-bad-printers.c: New file.
14304 * gdb.python/py-bad-printers.py: New file.
14305 * gdb.python/py-bad-printers.exp: New file.
14306
143072015-04-28 Sasha Smundak <asmundak@google.com>
14308
14309 * gdb.python/py-type.exp: New test.
14310
143112015-04-28 Andy Wingo <wingo@igalia.com>
14312
14313 * gdb.python/py-parameter.exp:
14314 * gdb.guile/scm-parameter.exp: Escape the path that we are
14315 matching against, as it might contain characters that are special
14316 to regular expressions.
14317
143182015-04-27 Joel Brobecker <brobecker@adacore.com>
14319
14320 * gdb.ada/rec_comp: New testcase.
14321
143222015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
14323
14324 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
14325 before using it.
14326
143272015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
14328
14329 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
14330 new tests for verilog output.
14331
143322015-04-24 Yao Qi <yao.qi@linaro.org>
14333
14334 * boards/remote-gdbserver-on-localhost.exp: New file.
14335
143362015-04-23 Pedro Alves <palves@redhat.com>
14337
14338 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
14339 $inferior_spawn_id instead of $inferior_spawn_id directly. On
14340 "end of file", remove $inferior_spawn_id from the indirect list.
14341
143422015-04-23 Pedro Alves <palves@redhat.com>
14343
14344 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
14345
143462015-04-23 Pedro Alves <palves@redhat.com>
14347
14348 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
14349 on $any_spawn_id instead of only on $gdb_spawn_id.
14350
143512015-04-21 Pierre Muller <muller@sourceware.org>
14352
14353 PR pascal/17815
14354 * lib/pascal.exp (gpc_compile): Add new option "class".
14355 (fpc_compile): Likewise.
14356 * gdb.pascal/case-insensitive-symbols.pas: New file.
14357 * gdb.pascal/case-insensitive-symbols.exp: New file.
14358
143592015-04-20 Gary Benson <gbenson@redhat.com>
14360
14361 * gdb.base/attach.exp: Fix three extended remote failures.
14362
143632015-04-17 Gary Benson <gbenson@redhat.com>
14364
14365 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
14366 the main executable over the remote protocol.
14367
143682015-04-16 Pedro Alves <palves@redhat.com>
14369
14370 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
14371 a new gdbserver if gdbserver_reconnect_p is set.
14372
143732015-04-16 Pedro Alves <palves@redhat.com>
14374
14375 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
14376 is set, don't exit gdbserver.
14377
143782015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
14379
14380 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
14381 appropriate .insn, such that an older assembler can be used.
14382 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
14383 the z/Architecture instruction set on 31-bit targets as well.
14384
143852015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
14386
14387 * gdb.go/handcall.exp: Remove all logic related to the first
14388 breakpoint and rely on go_runto_main instead.
14389 * gdb.go/strings.exp: Likewise.
14390 * gdb.go/unsafe.exp: Likewise.
14391 * gdb.go/hello.exp: Likewise. Also rename the remaining
14392 breakpoint marker to "breakpoint 1".
14393 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
14394 * gdb.go/strings.go: Likewise.
14395 * gdb.go/unsafe.go: Likewise.
14396 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
14397 "set breakpoint 2 here" and rename the remaining breakpoint marker
14398 to "breakpoint 1".
14399
144002015-04-15 Simon Marchi <simon.marchi@ericsson.com>
14401
14402 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
14403 if itertools.imap is not present.
14404 * gdb.python/py-objfile.exp: Add parentheses.
14405 * gdb.python/py-type.exp: Same.
14406 * gdb.python/py-unwind-maint.py: Same.
14407
144082015-04-15 Yao Qi <yao.qi@linaro.org>
14409
14410 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
14411 of ":$ptr_size" and set its form explicitly.
14412
144132015-04-15 Pedro Alves <palves@redhat.com>
14414 Yao Qi <yao.qi@linaro.org>
14415
14416 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
14417 timeout by factor of 4.
14418 (test_regular_watch): Likewise.
14419 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
14420 * gdb.reverse/sigall-reverse.exp: Likewise.
14421 * gdb.reverse/until-precsave.exp: Likewise.
14422 * lib/gdb.exp (with_timeout_factor): New proc.
14423 (gdb_expect): Move some code to ...
14424 (get_largest_timeout): ... here. New procedure.
14425
144262015-04-14 Luis Machado <lgustavo@codesourcery.com>
14427
14428 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
14429
144302015-04-13 Luis Machado <lgustavo@codesourcery.com>
14431
14432 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
14433 to write to the .text section.
14434
144352015-04-13 Luis Machado <lgustavo@codesourcery.com>
14436
14437 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
14438 Handle the case of targets that do not provide PID information.
14439
144402015-04-13 Yao Qi <yao.qi@linaro.org>
14441
14442 * lib/gdbserver-support.exp (gdb_exit): Catch exception
14443 and use expect instead of gdb_expect.
14444
144452015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
14446
14447 * gdb.base/coredump-filter.exp: Rename variable "addr" to
14448 "coredump_var_addr" to avoid naming conflict with other testcases.
14449
144502015-04-10 Pedro Alves <palves@redhat.com>
14451
14452 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
14453 gdb_test_sequence and gdb_assert.
14454
144552015-04-10 Pedro Alves <palves@redhat.com>
14456
14457 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
14458 test messages that don't include the breakpoint address.
14459
144602015-04-10 Yao Qi <yao.qi@linaro.org>
14461
14462 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
14463 false for some offset and width combinations which aren't
14464 supported by linux kernel.
14465
144662015-04-10 Pedro Alves <palves@redhat.com>
14467
14468 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
14469 procedure, factored out from ...
14470 (top level): ... here. Add "set displaced-stepping" testing axis.
14471 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
14472 parameter "displaced". Use it.
14473 (top level): Use foreach and add "set displaced-stepping" testing
14474 axis.
14475
144762015-04-10 Pedro Alves <palves@redhat.com>
14477
14478 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
14479 Remove comment.
14480 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
14481 both the address of the instruction that triggers the watchpoint
14482 and the address of the instruction immediately after, and use
14483 those addresses for the test. Fix comment.
14484
144852015-04-10 Pedro Alves <palves@redhat.com>
14486
14487 * gdb.base/sigstep.exp (breakpoint_to_handler)
14488 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
14489 Test "backtrace" in handler.
14490 (breakpoint_over_handler): New parameter 'displaced'. Use it.
14491 (top level): Add new "displaced" test axis to
14492 breakpoint_to_handler, breakpoint_to_handler_entry and
14493 breakpoint_over_handler.
14494
144952015-04-10 Pedro Alves <palves@redhat.com>
14496
14497 PR gdb/18216
14498 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
14499
145002015-04-10 Yao Qi <yao.qi@linaro.org>
14501
14502 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
14503 (test_add_rn_pc): New function.
14504 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
14505 (top level): Invoke test_add_rn_pc.
14506
145072015-04-10 Pedro Alves <palves@redhat.com>
14508
14509 PR gdb/13858
14510 * gdb.base/step-over-no-symbols.exp: New file.
14511
145122015-04-09 Andy Wingo <wingo@igalia.com>
14513
14514 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
14515 after the Python tests.
14516
145172015-04-08 Keith Seitz <keiths@redhat.com>
14518
14519 PR python/16699
14520 * gdb.python/py-completion.exp: New tests for completion.
14521 * gdb.python/py-completion.py (CompleteLimit1): New class.
14522 (CompleteLimit2): Likewise.
14523 (CompleteLimit3): Likewise.
14524 (CompleteLimit4): Likewise.
14525 (CompleteLimit5): Likewise.
14526 (CompleteLimit6): Likewise.
14527 (CompleteLimit7): Likewise.
14528
145292015-04-08 Pedro Alves <palves@redhat.com>
14530
14531 PR gdb/18214
14532 PR gdb/18216
14533 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
14534 function.
14535 (main): Install it as SIGUSR1 handler.
14536 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
14537 parameter. Always use "setup" as prefix. Toggle "set
14538 displaced-stepping" off/on depending on global. Don't switch to
14539 thread 1 here.
14540 (top level): Add displaced stepping "off/on" test axis. Update
14541 "setup" calls. Wrap each subtest with with_test_prefix. Test
14542 continuing with a queued signal in each thread.
14543
145442015-04-08 Pedro Alves <palves@redhat.com>
14545
14546 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
14547 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
14548 gdb_breakpoint instead of gdb_test that doesn't expect anything.
14549 Return early if running to main fails.
14550 * gdb.trace/while-stepping.exp: Likewise.
14551
145522015-04-07 Pedro Alves <palves@redhat.com>
14553
14554 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
14555 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
14556 interact with inferior program.
14557
145582015-04-07 Pedro Alves <palves@redhat.com>
14559
14560 * lib/gdb.exp (inferior_spawn_id): New global.
14561 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
14562 spawn id after processing the user code.
14563 (default_gdb_start): Set inferior_spawn_id.
14564 (send_inferior): New procedure.
14565 * lib/gdbserver-support.exp (gdbserver_start): Set
14566 inferior_spawn_id.
14567 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
14568
145692015-04-07 Pedro Alves <palves@redhat.com>
14570
14571 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
14572 * lib/gdbserver-support.exp (gdbserver_start): Make
14573 $server_spawn_id global.
14574 (gdbserver_start): Don't wait for gdbserver's spawn id with
14575 expect_background.
14576 (close_gdbserver): New procedure.
14577 (gdb_exit): Rename the default version and reimplement.
14578
145792015-04-07 Pedro Alves <palves@redhat.com>
14580
14581 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
14582 append the substituted item, not the original item.
14583
145842015-04-07 Pedro Alves <palves@redhat.com>
14585
14586 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
14587 gdb_expect.
14588
145892015-04-07 Pedro Alves <palves@redhat.com>
14590
14591 * gdb.base/interrupt.exp: Don't handle the case of the inferior
14592 output appearing once only.
14593
145942015-04-07 Pedro Alves <palves@redhat.com>
14595
14596 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
14597 that doesn't expect anything. Return early if running to main
14598 fails.
14599
146002015-04-07 Yao Qi <yao.qi@linaro.org>
14601
14602 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
14603 (child_function): Call alarm.
14604 (main): Move call to alarm into the loop.
14605 * gdb.threads/non-stop-fair-events.exp: Build program with
14606 -DTIMEOUT=$timeout.
14607
146082015-04-06 Doug Evans <xdje42@gmail.com>
14609
14610 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
14611 Fix dest parameter to board_info.
14612 (fpc_compile): Ditto.
14613 (gdb_compile_pascal): Rename dest arg to destfile.
14614
146152015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
14616
14617 * gdb.ada/funcall_ref.exp: New file.
14618 * gdb.ada/funcall_ref/foo.adb: New file.
14619
146202015-04-02 Yao Qi <yao.qi@linaro.org>
14621
14622 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
14623 is remote.
14624
146252015-04-02 Gary Benson <gbenson@redhat.com>
14626
14627 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
14628
146292015-04-01 Sasha Smundak <asmundak@google.com>
14630
14631 * gdb.python/py-unwind-maint.c: New file.
14632 * gdb.python/py-unwind-maint.exp: New test.
14633 * gdb.python/py-unwind-maint.py: New file.
14634 * gdb.python/py-unwind.c: New file.
14635 * gdb.python/py-unwind.exp: New test.
14636 * gdb.python/py-unwind.py: New test.
14637
146382015-04-01 Pedro Alves <palves@redhat.com>
14639
14640 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
14641 to fail instead of non-existent $test.
14642
146432015-04-01 Pedro Alves <palves@redhat.com>
14644
14645 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
14646 GDBFLAGS if not empty.
14647
146482015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
14649
14650 * gdb.ada/complete.exp: Remove "multi_line".
14651 * gdb.ada/info_exc.exp: Remove "multi_line".
14652 * gdb.ada/packed_tagged.exp: Remove "multi_line".
14653 * gdb.ada/ptype_field.exp: Remove "multi_line".
14654 * gdb.ada/sym_print_name.exp: Remove "multi_line".
14655 * gdb.ada/tagged.exp: Remove "multi_line".
14656 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
14657 [multi_line ...]
14658 * gdb.btrace/delta.exp: Likewise.
14659 * gdb.btrace/exception.exp: Likewise.
14660 * gdb.btrace/function_call_history.exp: Likewise.
14661 * gdb.btrace/instruction_history.exp: Likewise.
14662 * gdb.btrace/nohist.exp: Likewise.
14663 * gdb.btrace/record_goto.exp: Likewise.
14664 * gdb.btrace/segv.exp: Likewise.
14665 * gdb.btrace/stepi.exp: Likewise.
14666 * gdb.btrace/tailcall.exp: Likewise.
14667 * gdb.btrace/unknown_functions.exp: Likewise.
14668 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
14669 * lib/gdb.exp: Add the "multi_line" helper.
14670
146712015-04-01 Pedro Alves <palves@redhat.com>
14672
14673 * gdb.threads/tid-reuse.c: New file.
14674 * gdb.threads/tid-reuse.exp: New file.
14675
146762015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
14677
14678 PR corefiles/16092
14679 * gdb.base/coredump-filter.c: New file.
14680 * gdb.base/coredump-filter.exp: Likewise.
14681
146822015-03-27 Petr Machata <pmachata@redhat.com>
14683
14684 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
14685 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
14686 (Dwarf::assemble): Initialize them.
14687 (Dwarf::lines): New function.
14688
146892015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
14690
14691 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
14692 SYMBOL_PREFIX for x86_64-*-cygwin.
14693
146942015-03-26 Andy Wingo <wingo@igalia.com>
14695
14696 PR symtab/18148
14697 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
14698 const_value but not a location.
14699 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
14700 location defined in non-main CUs are visible.
14701
147022015-03-26 Yao Qi <yao.qi@linaro.org>
14703
14704 PR testsuite/18139
14705 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
14706 Add a line number entry for the same line.
14707 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
14708 Add a line number entry for the same line.
14709
147102015-03-26 Yao Qi <yao.qi@linaro.org>
14711
14712 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
14713 .int 0.
14714 (func): Likewise. Add .Lfunc_1 label.
14715 Use .Lfunc_1 label.
14716 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
14717 .int 0.
14718 (func): Likewise.
14719 Use .Lfunc_1 label.
14720
147212015-03-26 Yao Qi <yao.qi@linaro.org>
14722
14723 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
14724 Call gdb_compile instead to compile each .s files without debug
14725 information.
14726
147272015-03-26 Yao Qi <yao.qi@linaro.org>
14728
14729 * gdb.base/savedregs.exp (process_saved_regs): Make
14730 "Saved registers:" optional in the pattern.
14731
147322015-03-25 Markus Metzger <markus.t.metzger@intel.com>
14733
14734 * gdb.btrace/next.exp: Merged into step.exp.
14735 * gdb.btrace/finish.exp: Merged into step.exp.
14736 * gdb.btrace/nexti.exp: Merged into stepi.exp.
14737 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
14738 "record goto" and checking the exact replay position.
14739 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
14740 check for "Recording format" in "info record" output.
14741 * gdb.btrace/record_goto.exp: Choose test file based on target.
14742 * gdb.btrace/x86-record_goto.S: Renamed into ...
14743 * gdb.btrace/x86_64-record_goto.S: ... this.
14744 * gdb.btrace/i686-record_goto.S: New.
14745 * gdb.btrace/x86-tailcall.S: Renamed into ...
14746 * gdb.btrace/x86_64-tailcall.S: ... this.
14747 * gdb.btrace/i686-tailcall.S: New.
14748 * gdb.btrace/x86-tailcall.c: Renamed into ...
14749 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
14750 separate statements. Update test.
14751 * gdb.btrace/delta.exp: Use record_goto.c as test file.
14752 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
14753 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
14754 * gdb.btrace/tailcall.exp: Choose test file based on target.
14755 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
14756
147572015-03-25 Markus Metzger <markus.t.metzger@intel.com>
14758
14759 * gdb.btrace/exception.exp: Increase BTS buffer size.
14760
147612015-03-24 Pedro Alves <palves@redhat.com>
14762
14763 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
14764
147652015-03-24 Pedro Alves <palves@redhat.com>
14766
14767 * gdb.threads/schedlock.exp (test_step): No longer expect that
14768 "set scheduler-locking step" with "next" over a function call runs
14769 threads unlocked.
14770
147712015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
14772
14773 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
14774
147752015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
14776
14777 PR breakpoints/16466
14778 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
14779 * gdb.mi/mi-pending.c (thread_func): New function.
14780 (int main): Add threading support required.
14781 * gdb.mi/mi-pending.exp: Add tests for this issue.
14782 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
14783 (pendfunc2): Remove stdio dependency.
14784 * gdb.mi/mi-pendshr2.c: New file.
14785
147862015-03-23 Keith Seitz <keiths@redhat.com>
14787
14788 * gdb.linespec/keywords.c: New file.
14789 * gdb.linespec/keywords.exp: New file.
14790
147912015-03-23 Keith Seitz <keiths@redhat.com>
14792
14793 PR gdb/18021
14794 * gdb.dwarf2/staticvirtual.exp: New test.
14795
147962015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14797
14798 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
14799 * README: Remove HP-UX and gdb.hp.
14800 (configuration):
14801 * configure: Regenerate.
14802 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
14803 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
14804 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
14805 gdb.hp/gdb.defects/Makefile.
14806 * gdb.hp/Makefile.in: File deleted.
14807 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
14808 * gdb.hp/gdb.aCC/optimize.c: File deleted.
14809 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
14810 * gdb.hp/gdb.aCC/run.c: File deleted.
14811 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
14812 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
14813 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
14814 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
14815 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
14816 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
14817 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
14818 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
14819 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
14820 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
14821 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
14822 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
14823 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
14824 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
14825 * gdb.hp/gdb.base-hp/reg.s: File deleted.
14826 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
14827 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
14828 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
14829 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
14830 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
14831 * gdb.hp/gdb.compat/Makefile.in: File deleted.
14832 * gdb.hp/gdb.compat/average.c: File deleted.
14833 * gdb.hp/gdb.compat/sum.c: File deleted.
14834 * gdb.hp/gdb.compat/xdb.c: File deleted.
14835 * gdb.hp/gdb.compat/xdb0.c: File deleted.
14836 * gdb.hp/gdb.compat/xdb0.h: File deleted.
14837 * gdb.hp/gdb.compat/xdb1.c: File deleted.
14838 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
14839 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
14840 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
14841 * gdb.hp/gdb.defects/Makefile.in: File deleted.
14842 * gdb.hp/gdb.defects/bs14602.c: File deleted.
14843 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
14844 * gdb.hp/gdb.defects/solib-d.c: File deleted.
14845 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
14846 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
14847 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
14848 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
14849 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
14850 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
14851 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
14852 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
14853 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
14854 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
14855 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
14856 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
14857 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
14858 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
14859 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
14860 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
14861 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
14862 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
14863 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
14864 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
14865 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
14866 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
14867 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
14868 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
14869 * gdb.hp/tools/odump: File deleted.
14870
148712015-03-19 Pedro Alves <palves@redhat.com>
14872
14873 * gdb.threads/continue-pending-status.exp (saw_thread_2)
14874 (saw_thread_3): New globals.
14875 (top level): Increment them when an event for the corresponding
14876 thread is seen.
14877 (no thread starvation): New test.
14878
148792015-03-19 Pedro Alves <palves@redhat.com>
14880
14881 * gdb.threads/continue-pending-status.c: New file.
14882 * gdb.threads/continue-pending-status.exp: New file.
14883
148842015-03-18 Pedro Alves <palves@redhat.com>
14885
14886 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
14887 Use gdb_is_target_remote instead of is_remote. Use
14888 gdb_test_multiple instead of gdb_expect. Exit early if
14889 gdb_test_multiple hits its internal matches. Tighten stepi tests
14890 expected output. Fail on exit with any signal, instead of just
14891 SIGILL.
14892
148932015-03-18 Yao Qi <yao.qi@linaro.org>
14894
14895 PR tdep/18107
14896 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
14897 variable.
14898 * gdb.base/catch-syscall.exp: Don't skip it on
14899 aarch64*-*-linux* target. Remove elements in all_syscalls.
14900 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
14901 target.
14902 (setup_all_syscalls): New proc.
14903
149042015-03-16 Yao Qi <yao.qi@linaro.org>
14905
14906 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
14907 (top level): Skip tests if valid_addr_p returns false for
14908 $cmd1 or $cmd2.
14909
149102015-03-11 Andy Wingo <wingo@igalia.com>
14911
14912 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
14913
149142015-03-11 Yao Qi <yao.qi@linaro.org>
14915
14916 * gdb.base/catch-syscall.exp: Fix typo in comments.
14917
149182015-03-11 Yao Qi <yao.qi@linaro.org>
14919
14920 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
14921
149222015-03-09 Pedro Alves <palves@redhat.com>
14923
14924 * dg-extract-results.py: Delete.
14925
149262015-03-09 Pedro Alves <palves@redhat.com>
14927
14928 Merge dg-extract-results.sh from GCC upstream (r218843).
14929
14930 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
14931 * dg-extract-results.sh: Use --text with grep to avoid issues with
14932 binary files. Fall back to cat -v, if that doesn't work.
14933
149342015-03-05 Pedro Alves <palves@redhat.com>
14935
14936 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
14937
149382015-03-04 Simon Marchi <simon.marchi@ericsson.com>
14939
14940 * lib/mi-support.exp (mi_expect_interrupt): Accept
14941 alternative event for when in all-stop mode.
14942
149432015-03-04 Pedro Alves <palves@redhat.com>
14944
14945 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
14946
149472015-03-04 Mark Kettenis <kettenis@gnu.org>
14948
14949 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
14950
149512015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
14952
14953 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
14954 regexps for GDB's current line display, accept a hex address
14955 preceding the line number.
14956
149572015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
14958
14959 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
14960 the 'arch1' variable for "s390*-linux*" targets.
14961
149622015-03-04 Pedro Alves <palves@redhat.com>
14963
14964 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
14965 (main): Pass missing retval argument to pthread_join call.
14966
149672015-03-02 Pedro Alves <palves@redhat.com>
14968
14969 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
14970 (top level): Call do_test with non-stop as well.
14971
149722015-03-02 Pedro Alves <palves@redhat.com>
14973
14974 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
14975 -1.
14976
149772015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
14978
14979 * gdb.arch/s390-vregs.exp: New test.
14980 * gdb.arch/s390-vregs.S: New file.
14981
149822015-02-27 Pedro Alves <palves@redhat.com>
14983
14984 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
14985 call to catch_command_errors.
14986 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
14987 catch_command_errors.
14988
149892015-02-27 Pedro Alves <palves@redhat.com>
14990
14991 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
14992 "true" for boolean result.
14993 * gdb.gdb/selftest.exp (test_with_self): Also accept full
14994 prototype of main.
14995
149962015-02-27 Pedro Alves <palves@redhat.com>
14997
14998 * lib/unbuffer_output.c: New file.
14999 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
15000 (main): Call gdb_unbuffer_output.
15001
150022015-02-27 Yao Qi <yao.qi@linaro.org>
15003
15004 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
15005 target.
15006
150072015-02-26 Doug Evans <dje@google.com>
15008
15009 * gdb.cp/class2.cc (Dbase, D): New classes.
15010 (main): New local delta.
15011 * gdb.cp/class2.exp: Test printing delta.
15012 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
15013 (dynbar): New global.
15014 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
15015
150162015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
15017
15018 * gdb.compile/compile-ifunc.c: New file.
15019 * gdb.compile/compile-ifunc.exp: New file.
15020
150212015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
15022
15023 * gdb.base/structs.exp: Check for correct struct on finish.
15024
150252015-02-26 Yao Qi <yao.qi@linaro.org>
15026
15027 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
15028 is zero.
15029
150302015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
15031
15032 * gdb.arch/cordic.ko.bz2: New file.
15033 * gdb.arch/cordic.ko.debug.bz2: New file.
15034 * gdb.arch/ppc64-symtab-cordic.exp: New file.
15035
150362015-02-25 Yao Qi <yao.qi@linaro.org>
15037
15038 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
15039 aarch64*-*-* target.
15040
150412015-02-23 Pedro Alves <palves@redhat.com>
15042
15043 * lib/gdb.exp (delete_breakpoints): Rewrite using
15044 gdb_test_multiple.
15045
150462015-02-23 Pedro Alves <palves@redhat.com>
15047
15048 * gdb.base/info-os.c: Include stdlib.h.
15049
150502015-02-22 Doug Evans <xdje42@gmail.com>
15051
15052 PR symtab/17855
15053 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
15054 is read after symbols have been re-read.
15055 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
15056 * gdb.ada/exec_changed/second.adb (Second): Ditto.
15057
150582015-02-21 Doug Evans <dje@google.com>
15059
15060 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
15061
150622015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15063
15064 PR corefiles/17808
15065 * gdb.arch/i386-biarch-core.core.bz2: New file.
15066 * gdb.arch/i386-biarch-core.exp: New file.
15067
150682015-02-21 Pedro Alves <palves@redhat.com>
15069
15070 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
15071 runto_main fails.
15072
150732015-02-20 Pedro Alves <palves@redhat.com>
15074
15075 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
15076 info probes.
15077
150782015-02-20 Pedro Alves <palves@redhat.com>
15079
15080 * gdb.threads/multi-create-ns-info-thr.exp: New file.
15081
150822015-02-20 Pedro Alves <palves@redhat.com>
15083
15084 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
15085 clean_restart before gdb_target_supports_trace.
15086
150872015-02-20 Pedro Alves <palves@redhat.com>
15088
15089 PR threads/18006
15090 * gdb.threads/clone-thread_db.c: New file.
15091 * gdb.threads/clone-thread_db.exp: New file.
15092
150932015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
15094
15095 PR breakpoints/16812
15096 * gdb.base/catch-gdb-caused-signals.c: New file.
15097 * gdb.base/catch-gdb-caused-signals.exp: New file.
15098
150992015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
15100
15101 * configure: Regenerated.
15102 * configure.ac: Use GDB_AC_TRANSFORM.
15103 * aclocal.m4: sinclude ../transform.m4.
15104
151052015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
15106
15107 * lib/dtrace.exp: New file.
15108 * gdb.base/dtrace-probe.exp: Likewise.
15109 * gdb.base/dtrace-probe.d: Likewise.
15110 * gdb.base/dtrace-probe.c: Likewise.
15111 * lib/pdtrace.in: Likewise.
15112 * configure.ac: Output variables with the transformed names of
15113 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
15114 * configure: Regenerated.
15115
151162015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
15117
15118 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
15119 expected message when trying to access $_probe_* convenience
15120 variables while not on a probe.
15121
151222015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15123
15124 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
15125
151262015-02-11 Pedro Alves <pedro@codesourcery.com>
15127
15128 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
15129 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
15130
151312015-02-10 Doug Evans <xdje42@gmail.com>
15132
15133 * lib/gdb.exp (gdb_load): Always return a result.
15134
151352015-02-10 Pedro Alves <palves@redhat.com>
15136
15137 * gdb.threads/signal-sigtrap.c: New file.
15138 * gdb.threads/signal-sigtrap.exp: New file.
15139
151402015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
15141
15142 * gdb.trace/no-attach-trace.c: New file.
15143 * gdb.trace/no-attach-trace.exp: New file.
15144
151452015-02-09 Mark Wielaard <mjw@redhat.com>
15146
15147 * gdb.dwarf2/atomic.c: New file.
15148 * gdb.dwarf2/atomic-type.exp: Likewise.
15149
151502015-02-09 Markus Metzger <markus.t.metzger@intel.com>
15151
15152 * gdb.btrace/buffer-size.exp: Update "info record" output.
15153 * gdb.btrace/delta.exp: Update "info record" output.
15154 * gdb.btrace/enable.exp: Update "info record" output.
15155 * gdb.btrace/finish.exp: Update "info record" output.
15156 * gdb.btrace/instruction_history.exp: Update "info record" output.
15157 * gdb.btrace/next.exp: Update "info record" output.
15158 * gdb.btrace/nexti.exp: Update "info record" output.
15159 * gdb.btrace/step.exp: Update "info record" output.
15160 * gdb.btrace/stepi.exp: Update "info record" output.
15161 * gdb.btrace/nohist.exp: Update "info record" output.
15162
151632015-02-09 Markus Metzger <markus.t.metzger@intel.com>
15164
15165 * gdb.btrace/buffer-size: New.
15166
151672015-02-09 Markus Metzger <markus.t.metzger@intel.com>
15168
15169 * gdb.btrace/delta.exp: Update "info record" output.
15170 * gdb.btrace/enable.exp: Update "info record" output.
15171 * gdb.btrace/finish.exp: Update "info record" output.
15172 * gdb.btrace/instruction_history.exp: Update "info record" output.
15173 * gdb.btrace/next.exp: Update "info record" output.
15174 * gdb.btrace/nexti.exp: Update "info record" output.
15175 * gdb.btrace/step.exp: Update "info record" output.
15176 * gdb.btrace/stepi.exp: Update "info record" output.
15177 * gdb.btrace/nohist.exp: Update "info record" output.
15178
151792015-02-06 Simon Marchi <simon.marchi@ericsson.com>
15180
15181 PR gdb/15678
15182 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
15183
151842015-02-06 Pedro Alves <palves@redhat.com>
15185
15186 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
15187 macro.
15188 (seconds_left, again): New globals.
15189 (main): Wait seconds_left in a 1-second sleep loop instead of
15190 sleeping 180 seconds. If 'again' is set, reset the seconds
15191 counter.
15192 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
15193 'again' in the inferior before detaching. Print the seconds left.
15194 (options): New global.
15195 (top level): Build program with -DTIMEOUT=$timeout.
15196
151972015-02-06 Pedro Alves <palves@redhat.com>
15198
15199 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
15200 determine how many seconds to pass to 'alarm'.
15201 * gdb.base/gdb-sigterm.exp (top level): Build program with
15202 -DTIMEOUT=$timeout.
15203 (do_test): Return success/failure indication. Add more verbose
15204 logging. Don't fail if 200 single steps are seen. Instead, fail
15205 when the test times out.
15206 (passes): New global.
15207 (top level): Break the testing loop if testing fails on any
15208 iteration. Use gdb_assert.
15209
152102015-02-04 Don Breazeal <donb@codesourcery.com>
15211
15212 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
15213 and initialize them.
15214 (ipc_cleanup): New function.
15215 (main): Don't declare shmid, semid, and msqid. Add a call to
15216 atexit so that we call ipc_cleanup on exit.
15217
152182015-02-04 Pedro Alves <palves@redhat.com>
15219
15220 * boards/native-extended-gdbserver.exp: Remove any target variant
15221 specifications from the board name before clearing the isremote
15222 flag from board_info.
15223
152242015-01-31 Doug Evans <xdje42@gmail.com>
15225
15226 * gdb.base/maint.exp <maint print type argc>: Update expected output.
15227
152282015-01-31 Gary Benson <gbenson@redhat.com>
15229
15230 * gdb.base/completion.exp: Disable completion limiting for
15231 existing tests. Add new tests to check completion limiting.
15232 * gdb.linespec/ls-errs.exp: Disable completion limiting.
15233
152342015-01-31 Doug Evans <xdje42@gmail.com>
15235
15236 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
15237
152382015-01-31 Doug Evans <xdje42@gmail.com>
15239
15240 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
15241 entries. Duplicate file section script entries.
15242 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
15243 inlined entries. Add test for safe-path rejection.
15244 * gdb.python/py-section-script.c: Add duplicate inlined section script
15245 entries. Duplicate file section script entries.
15246 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
15247 inlined entries. Add test for safe-path rejection.
15248
152492015-01-29 Joel Brobecker <brobecker@adacore.com>
15250
15251 * gdb.ada/disc_arr_bound: New testcase.
15252
152532015-01-29 Joel Brobecker <brobecker@adacore.com>
15254
15255 * gdb.ada/mi_var_array: New testcase.
15256
152572015-01-27 Doug Evans <dje@google.com>
15258
15259 * gdb.python/py-objfile.exp: Add tests for objfile.username.
15260 Add test for objfile.filename, objfile.username after objfile
15261 has been unloaded.
15262
152632015-01-26 Joel Brobecker <brobecker@adacore.com>
15264
15265 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
15266 the second test to print the name attribute of value
15267 returned by the call to gdb.lookup_type, and adjust
15268 the expected output accordingly.
15269
152702015-01-25 Mark Wielaard <mjw@redhat.com>
15271
15272 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
15273 * gdb.base/disp-step-fork.c: Include unistd.h.
15274 * gdb.base/siginfo-obj.c: Include stdio.h.
15275 * gdb.base/siginfo-thread.c: Likewise.
15276 * gdb.mi/non-stop.c: Include unistd.h.
15277 * gdb.mi/nsthrexec.c: Include stdio.h.
15278 * gdb.mi/pthreads.c: Include unistd.h.
15279 * gdb.modula2/unbounded1.c (main): Declare returns int.
15280 * gdb.reverse/consecutive-reverse.c: Likewise.
15281 * gdb.threads/create-fail.c: Include unistd.h.
15282 * gdb.threads/killed.c: Likewise.
15283 * gdb.threads/linux-dp.c: Likewise.
15284 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
15285 * gdb.threads/non-ldr-exc-2.c: Likewise.
15286 * gdb.threads/non-ldr-exc-3.c: Likewise.
15287 * gdb.threads/non-ldr-exc-4.c: Likewise.
15288 * gdb.threads/pthreads.c: Include unistd.h.
15289 (main): Declare returns int.
15290 * gdb.threads/tls-main.c (foo): New declaration.
15291 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
15292
152932015-01-23 Simon Marchi <simon.marchi@ericsson.com>
15294
15295 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
15296 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
15297
152982015-01-15 Mark Wielaard <mjw@redhat.com>
15299
15300 * gdb.base/noreturn-return.c: New file.
15301 * gdb.base/noreturn-return.exp: New file.
15302 * gdb.base/noreturn-finish.c: New file.
15303 * gdb.base/noreturn-finish.exp: New file.
15304
153052015-01-23 Pedro Alves <palves@redhat.com>
15306
15307 * gdb.threads/continue-pending-after-query.c: New file.
15308 * gdb.threads/continue-pending-after-query.exp: New file.
15309
153102015-01-22 Anders Granlund <anders.granlund@ericsson.com>
15311 Simon Marchi <simon.marchi@ericsson.com>
15312
15313 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
15314 * gdb.base/valgrind-db-attach.exp: Same.
15315 * gdb.base/valgrind-infcall.exp: Same.
15316 * lib/mi-support.exp (default_mi_gdb_start): Same.
15317 * lib/prompt.exp (default_prompt_gdb_start): Same.
15318 * lib/gdb.exp (default_gdb_spawn): Same.
15319 (gdb_interact): New.
15320
15321
153222015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15323
15324 * gdb.compile/compile.exp (pointer to jit function): New test.
15325
153262015-01-17 Wei-cheng Wang <cole945@gmail.com>
15327
15328 * lib/gdb.exp (supports_process_record): Return true for
15329 powerpc*-*-linux*.
15330 (supports_reverse): Likewise.
15331
153322015-01-15 Don Breazeal <donb@codesourcery.com>
15333
15334 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
15335 instead of checking whether the target board is remote and
15336 use spawn_wait_for_attach instead of exec/sleep.
15337 * gdb.base/attach-twice.exp: Likewise.
15338
153392015-01-15 Joel Brobecker <brobecker@adacore.com>
15340
15341 * gdb.ada/var_arr_attrs: New testcase.
15342
153432015-01-14 Pedro Alves <palves@redhat.com>
15344 Joel Brobecker <brobecker@adacore.com>
15345
15346 PR gdb/17525
15347 * gdb.base/bp-cmds-execution-x-script.c: New file.
15348 * gdb.base/bp-cmds-execution-x-script.exp: New file.
15349 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
15350
153512015-01-14 Pedro Alves <palves@redhat.com>
15352
15353 PR cli/17828
15354 * gdb.base/batch-preserve-term-settings.c: New file.
15355 * gdb.base/batch-preserve-term-settings.exp: New file.
15356
153572015-01-13 Doug Evans <dje@google.com>
15358
15359 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
15360 binary.
15361
153622015-01-13 Joel Brobecker <brobecker@adacore.com>
15363
15364 * Makefile.in (clean mostlyclean): Do not delete *.py.
15365
153662015-01-13 Joel Brobecker <brobecker@adacore.com>
15367
15368 * gdb.python/py-lookup-type.exp: New file.
15369
153702015-01-12 Pedro Alves <palves@redhat.com>
15371
15372 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
15373 restore GDBFLAGS before returning.
15374
153752015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15376
15377 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
15378 is_amd64_regs_target and is_x86_like_target.
15379
153802015-01-11 Doug Evans <xdje42@gmail.com>
15381
15382 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
15383 is given without an explicit form.
15384 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
15385 attributes.
15386 * gdb.dwarf/corrupt.exp: Ditto.
15387 * gdb.dwarf2/enum-type.exp: Ditto.
15388 * gdb.trace/entry-values.exp: Ditto.
15389 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
15390
153912015-01-11 Doug Evans <xdje42@gmail.com>
15392
15393 PR gdb/15830
15394 * gdb.base/maint.exp: Remove references to "maint demangle".
15395 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
15396 Add tests for explicitly specifying language to demangle.
15397 * gdb.dlang/demangle.exp: Ditto.
15398
153992015-01-09 Pedro Alves <palves@redhat.com>
15400
15401 * gdb.threads/non-stop-fair-events.c: New file.
15402 * gdb.threads/non-stop-fair-events.exp: New file.
15403
154042015-01-09 Pedro Alves <palves@redhat.com>
15405
15406 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
15407 the global scope. Set a breakpoint after all threads are started
15408 rather than stepping over two source lines. Expect the prompt.
15409 * gdb.base/watch_thread_num.c (threads_started_barrier): New
15410 global.
15411 (NUM): Now 15.
15412 (main): Use threads_started_barrier to wait for all threads to
15413 start. Main thread no longer calls thread_function. Exit after
15414 180 seconds.
15415 (loop): New function.
15416 (thread_function): Wait on threads_started_barrier barrier. Call
15417 'loop' at each iteration.
15418 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
15419 threads have started, instead of hardcoding number of "next"
15420 steps. Use an access watchpoint instead of a write watchpoint.
15421
154222015-01-09 Pedro Alves <palves@redhat.com>
15423
15424 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
15425 (thread_func): Wait on barrier.
15426 (main): Wait for all threads to start before stopping GDB.
15427 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
15428 global.
15429 (thread1_func, thread2_func): Wait on barrier.
15430 (main): Wait for all threads to start before stopping GDB.
15431 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
15432 New global.
15433 (thread1_func, thread2_func): Wait on barrier.
15434 (main): Wait for all threads to start before stopping GDB.
15435
154362015-01-09 Pedro Alves <palves@redhat.com>
15437
15438 * gdb.threads/attach-many-short-lived-threads.c: New file.
15439 * gdb.threads/attach-many-short-lived-threads.exp: New file.
15440
154412014-01-09 Pedro Alves <palves@redhat.com>
15442
15443 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
15444 instead of to thread 2.
15445 * gdb.threads/signal-command-multiple-signals-pending.c (main):
15446 Add barrier around each pthread_create call instead of around all
15447 calls.
15448 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
15449 Set a break on thread_function and have the child threads hit it
15450 one at at a time.
15451
154522015-01-09 Pedro Alves <palves@redhat.com>
15453
15454 * lib/gdb.exp (can_spawn_for_attach): New procedure.
15455 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
15456 false.
15457 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
15458 checking whether the target board is remote.
15459 * gdb.multi/multi-attach.exp: Likewise.
15460 * gdb.python/py-sync-interp.exp: Likewise.
15461 * gdb.server/ext-attach.exp: Likewise.
15462 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
15463 tests that need to attach, instead of checking whether the target
15464 board is remote at the top of the file.
15465
154662015-01-08 Yao Qi <yao@codesourcery.com>
15467
15468 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
15469
154702015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15471
15472 Fix testcase compilation.
15473 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
15474
154752015-01-06 Joel Brobecker <brobecker@adacore.com>
15476
15477 * gdb.python/py-type.exp: Add a couple test about empty
15478 array creation, and negative-length array creation.
15479
154802015-01-02 Doug Evans <xdje42@gmail.com>
15481
15482 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
15483
154842015-01-02 Doug Evans <dje@google.com>
15485
15486 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
15487
154882014-12-29 Yao Qi <yao@codesourcery.com>
15489
15490 * gdb.trace/entry-values.exp: Update comments. Rename variable
15491 bar_call_foo to returned_from_foo.
15492
154932014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
15494
15495 PR gdb/17394
15496 * gdb.linespec/break-asm-file.c: New file.
15497 * gdb.linespec/break-asm-file.exp: New file.
15498 * gdb.linespec/break-asm-file0.s: New file.
15499 * gdb.linespec/break-asm-file1.s: New file.
15500
155012014-12-18 Nigel Stephens <nigel@mips.com>
15502 Maciej W. Rozycki <macro@codesourcery.com>
15503
15504 * gdb.base/float.exp: Handle the new output from "info float" on
15505 MIPS targets.
15506
155072014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
15508
15509 Fix MinGW compilation.
15510 * gdb.compile/compile-ops.exp: Update untested message if
15511 !skip_compile_feature_tests.
15512 * gdb.compile/compile-setjmp.exp: Likewise.
15513 * gdb.compile/compile-tls.exp: Likewise.
15514 * gdb.compile/compile.exp: Likewise.
15515 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
15516 supported on this host".
15517
155182014-12-16 Doug Evans <xdje42@gmail.com>
15519
15520 * boards/stabs.exp: New file.
15521
155222014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
15523
15524 * gdb.base/completion.exp: Adjust to format changes of "maint
15525 print user-registers".
15526
155272014-12-16 Catalin Udma <catalin.udma@freescale.com>
15528
15529 PR server/17457
15530 * gdb.arch/aarch64-fp.c: New file.
15531 * gdb.arch/aarch64-fp.exp: New file.
15532
155332014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
15534
15535 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
15536 r210637, r210913, r211666, r215400, r215817).
15537
15538 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
15539 * dg-extract-results.py: New file.
15540 * dg-extract-results.sh: Use it if the environment seems
15541 suitable.
15542
15543 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
15544
15545 * dg-extract-results.py (parse_run): Handle warnings that
15546 are printed before a test harness is run.
15547
15548 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
15549
15550 * dg-extract-results.py (Named): Remove __cmp__ method.
15551 (output_variation): Use a key to sort variation.harnesses.
15552
15553 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
15554
15555 * dg-extract-results.py: For Python 3, force sys.stdout to
15556 handle surrogate escape sequences.
15557 (safe_open): New function.
15558 (output_segment, main): Use it.
15559
15560 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
15561
15562 * dg-extract-results.py (Prog.result_re): Include options
15563 in test name.
15564
15565 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
15566
15567 * dg-extract-results.py (output_variation): Always sort if
15568 do_sum.
15569
155702014-12-15 Simon Marchi <simon.marchi@ericsson.com>
15571
15572 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
15573 as long as we get pagination notifications.
15574
155752014-12-15 Jason Merrill <jason@redhat.com>
15576
15577 * Makefile.in (check-gdb.%): Restore.
15578 * README: Mention it.
15579
155802014-12-13 Joel Brobecker <brobecker@adacore.com>
15581
15582 * gdb.ada/str_uninit: New testcase.
15583
155842014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15585
15586 PR symtab/17642
15587 * gdb.base/vla-stub-define.c: New file.
15588 * gdb.base/vla-stub.c: New file.
15589 * gdb.base/vla-stub.exp: New file.
15590
155912014-12-12 Phil Muldoon <pmuldoon@redhat.com>
15592 Jan Kratochvil <jan.kratochvil@redhat.com>
15593 Tom Tromey <tromey@redhat.com>
15594
15595 * configure.ac: Add gdb.compile/.
15596 * configure: Regenerate.
15597 * gdb.compile/Makefile.in: New file.
15598 * gdb.compile/compile-ops.exp: New file.
15599 * gdb.compile/compile-ops.c: New file.
15600 * gdb.compile/compile-tls.c: New file.
15601 * gdb.compile/compile-tls.exp: New file.
15602 * gdb.compile/compile-constvar.S: New file.
15603 * gdb.compile/compile-constvar.c: New file.
15604 * gdb.compile/compile-mod.c: New file.
15605 * gdb.compile/compile-nodebug.c: New file.
15606 * gdb.compile/compile-setjmp-mod.c: New file.
15607 * gdb.compile/compile-setjmp.c: New file.
15608 * gdb.compile/compile-setjmp.exp: New file.
15609 * gdb.compile/compile-shlib.c: New file.
15610 * gdb.compile/compile.c: New file.
15611 * gdb.compile/compile.exp: New file.
15612 * lib/gdb.exp (skip_compile_feature_tests): New proc.
15613
156142014-12-12 Tom Tromey <tromey@redhat.com>
15615
15616 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
15617 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
15618
156192014-12-12 Doug Evans <dje@google.com>
15620
15621 * lib/gdb-python.exp (get_python_valueof): New function.
15622 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
15623
156242014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
15625
15626 * gdb.base/completion.exp: Add test for completion of "info
15627 registers ".
15628
156292014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
15630
15631 * gdb.base/func-ptrs.c: New file.
15632 * gdb.base/func-ptrs.exp: New file.
15633
156342014-12-10 Simon Marchi <simon.marchi@ericsson.com>
15635
15636 PR breakpoints/17012
15637 * gdb.base/dprintf-detach.c: New file.
15638 * gdb.base/dprintf-detach.exp: New file.
15639
156402014-12-10 Simon Marchi <simon.marchi@ericsson.com>
15641
15642 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
15643 * lib/gdb.exp (target_is_gdbserver): New procedure.
15644
156452014-12-08 Doug Evans <dje@google.com>
15646
15647 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
15648
156492014-12-05 Yao Qi <yao@codesourcery.com>
15650
15651 * gdb.guile/scm-error.exp: Remove the third argument to
15652 gdb_remote_download.
15653 * gdb.guile/scm-frame-args.exp: Likewise.
15654 * gdb.guile/scm-section-script.exp: Likewise.
15655
156562014-12-05 Yao Qi <yao@codesourcery.com>
15657
15658 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
15659
156602014-12-04 Doug Evans <dje@google.com>
15661
15662 * gdb.python/py-objfile.exp: Add tests for
15663 objfile.add_separate_debug_file.
15664
156652014-12-04 Doug Evans <dje@google.com>
15666
15667 * lib/gdb.exp (get_build_id): New function.
15668 (build_id_debug_filename_get): Rewrite to use it.
15669 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
15670
156712014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
15672
15673 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
15674 `method(long)', not just 0x0.
15675 * gdb.cp/nsalias.exp: Align code labels to 4.
15676 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
15677 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
15678 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
15679 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
15680 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
15681 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
15682
156832014-12-02 Doug Evans <dje@google.com>
15684
15685 PR symtab/17602
15686 * gdb.cp/anon-ns.cc: Move guts of this file to ...
15687 * gdb.cp/anon-ns2.cc: ... here. New file.
15688 * gdb.cp/anon-ns.exp: Update.
15689
156902014-12-02 Nick Bull <nicholaspbull@gmail.com>
15691
15692 * gdb.python/py-events.py (inferior_call_handler): New.
15693 (register_changed_handler, memory_changed_handler): New.
15694 (test_events.invoke): Register new handlers.
15695 * gdb.python/py-events.exp: Add tests for inferior call,
15696 memory_changed and register_changed events.
15697
156982014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
15699
15700 * gdb.base/execl-update-breakpoints.exp: Specify the link address
15701 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
15702 if the linker doesn't understand this.
15703
157042014-12-01 Simon Marchi <simon.marchi@ericsson.com>
15705
15706 * gdb.python/python.exp: Change expected reply to help().
15707
157082014-12-01 Yao Qi <yao@codesourcery.com>
15709
15710 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
15711 AC_CONFIG_SUBDIRS(gdb.gdbtk).
15712 * configure: Re-generated.
15713
157142014-11-28 Siva Chandra Reddy <sivachandra@google.com>
15715
15716 * gdb.cp/chained-calls.cc: New file.
15717 * gdb.cp/chained-calls.exp: New file.
15718 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
15719
157202014-11-28 Simon Marchi <simon.marchi@ericsson.com>
15721
15722 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
15723 * gdb.dwarf2/symtab-producer.exp: Same.
15724 * gdb.gdb/python-interrupts.exp: Same.
15725 * gdb.gdb/python-selftest.exp: Same.
15726 * gdb.python/py-linetable.exp: Same.
15727 * gdb.python/py-type.exp: Same.
15728 * gdb.python/py-value-cc.exp: Same.
15729 * gdb.python/py-value.exp: Same.
15730
157312014-11-28 Yao Qi <yao@codesourcery.com>
15732
15733 * gdb.base/break-probes.exp: Match library name prefixed with
15734 sysroot.
15735
157362014-11-27 Simon Marchi <simon.marchi@ericsson.com>
15737
15738 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
15739 test expected output. Add parentheses for the call to print.
15740 Remove L suffix from integers.
15741
157422014-11-26 Doug Evans <dje@google.com>
15743
15744 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
15745
157462014-11-22 Yao Qi <yao@codesourcery.com>
15747
15748 * gdb.trace/entry-values.c: Remove asms.
15749 (foo): Add foo_label.
15750 (bar): Add bar_label.
15751 * gdb.trace/entry-values.exp: Remove code computing foo's
15752 length and bar's length.
15753 (Dwarf::assemble): Invoke function_range for bar and use
15754 MACRO_AT_func for foo.
15755
157562014-11-22 Yao Qi <yao@codesourcery.com>
15757
15758 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
15759 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
15760 Use .Lgcc43_procstart instead of gcc43.
15761
157622014-11-21 Joel Brobecker <brobecker@adacore.com>
15763
15764 * gdb.ada/n_arr_bound: New testcase.
15765
157662014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
15767
15768 PR breakpoints/10737
15769 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
15770 test_catch_syscall_multi_arch.
15771 (test_catch_syscall_multi_arch): New function.
15772
157732014-11-20 Doug Evans <xdje42@gmail.com>
15774
15775 * gdb.base/maint.exp: Update expected output.
15776
157772014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
15778
15779 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
15780 4-byte instruction on S390.
15781
157822014-11-19 Joel Brobecker <brobecker@adacore.com>
15783
15784 * gdb.ada/arr_arr: New testcase.
15785
157862014-11-19 Joel Brobecker <brobecker@adacore.com>
15787
15788 * gdb.ada/pkd_arr_elem: New Testcase.
15789
157902014-11-18 Luis Machado <lgustavo@codesourcery.com>
15791
15792 * gdb.reverse/break-precsave: Expect completion message for
15793 core file reads.
15794 * gdb.reverse/consecutive-precsave.exp: Likewise.
15795 * gdb.reverse/finish-precsave.exp: Likewise.
15796 * gdb.reverse/i386-precsave.exp: Likewise.
15797 * gdb.reverse/machinestate-precsave.exp: Likewise.
15798 * gdb.reverse/sigall-precsave.exp: Likewise.
15799 * gdb.reverse/solib-precsave.exp: Likewise.
15800 * gdb.reverse/step-precsave.exp: Likewise.
15801 * gdb.reverse/until-precsave.exp: Likewise.
15802 * gdb.reverse/watch-precsave.exp: Likewise.
15803
158042014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15805
15806 * gdb.base/bp-permanent.c: Include unistd.h.
15807 * gdb.python/py-framefilter-mi.c (main): Add return type.
15808 * gdb.python/py-framefilter.c (main): Likewise.
15809 * gdb.trace/actions-changed.c (main): Likewise.
15810
158112014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15812
15813 * gdb.mi/until.c: Add eye-catchers.
15814 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
15815 line numbers.
15816
158172014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15818
15819 * gdb.base/condbreak.exp: Drop references to removed non-prototype
15820 function header variants in break1.c.
15821 * gdb.base/ena-dis-br.exp: Likewise.
15822 * gdb.base/hbreak2.exp: Likewise.
15823 * gdb.reverse/until-precsave.exp: Drop references to removed
15824 non-prototype function header variants in ur1.c.
15825 * gdb.reverse/until-reverse.exp: Likewise.
15826
158272014-11-17 Petr Machata <pmachata@redhat.com>
15828
15829 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
15830 ${_cu_offset_size} bytes abbrev offset.
15831
158322014-11-15 Doug Evans <xdje42@gmail.com>
15833
15834 PR symtab/17559
15835 * gdb.base/line-symtabs.exp: New file.
15836 * gdb.base/line-symtabs.c: New file.
15837 * gdb.base/line-symtabs.h: New file.
15838
158392014-11-14 Yao Qi <yao@codesourcery.com>
15840
15841 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
15842 (func): Add label func_label.
15843 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
15844 Replace low_pc and high_pc with MACRO_AT_range.
15845 Replace name, low_pc and high_pc with MACRO_AT_func.
15846
158472014-11-14 Yao Qi <yao@codesourcery.com>
15848
15849 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
15850 Replace name, low_pc and high_pc with MACRO_AT_func.
15851
158522014-11-14 Yao Qi <yao@codesourcery.com>
15853
15854 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
15855 produce debug information.
15856 * gdb.dwarf2/implptr-optimized-out.S: Removed.
15857
158582014-11-14 Yao Qi <yao@codesourcery.com>
15859
15860 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
15861 object and get function length.
15862 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
15863 with MACRO_AT_func.
15864 (top-level): Replace gdb_compile and clean_restart with
15865 prepare_for_testing.
15866 * gdb.dwarf2/main.c (main): Add label main_label.
15867
158682014-11-14 Yao Qi <yao@codesourcery.com>
15869
15870 * lib/dwarf.exp (function_range): New procedure.
15871 (Dwarf::_handle_macro_at_func): New procedure.
15872 (Dwarf::_handle_macro_at_range): New procedure.
15873 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
15874
158752014-11-14 Yao Qi <yao@codesourcery.com>
15876
15877 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
15878 (_handle_attribute): New procedure.
15879
158802014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15881
15882 * gdb.ada/cond_lang/foo.c (callme): Add return type.
15883 * gdb.base/call-sc.c (zed): Likewise.
15884 * gdb.base/checkpoint.c (main): Likewise.
15885 * gdb.base/dump.c (main): Likewise.
15886 * gdb.base/gcore.c (main): Likewise.
15887 * gdb.base/huge.c (main): Likewise.
15888 * gdb.base/multi-forks.c (main): Likewise.
15889 * gdb.base/pr10179-a.c (main): Likewise.
15890 * gdb.base/savedregs.c (main): Likewise.
15891 * gdb.base/sigaltstack.c (main): Likewise.
15892 * gdb.base/siginfo.c (main): Likewise.
15893 * gdb.base/structs.c (zed): Likewise.
15894 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
15895 * gdb.mi/mi-syn-frame.c (main): Likewise.
15896 * gdb.mi/until.c (foo, main): Likewise.
15897 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
15898 * gdb.base/solib-weak.c (foo): Declare.
15899 * gdb.base/attach-twice.c: Include stdio.h.
15900 * gdb.base/weaklib1.c: Likewise.
15901 * gdb.base/weaklib2.c: Likewise.
15902 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
15903 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
15904 unistd.h.
15905 * gdb.base/attach-pie-misread.c: Include stdlib.h.
15906 * gdb.mi/mi-exit-code.c: Likewise.
15907 * gdb.base/break-interp-lib.c: Include string.h.
15908 * gdb.base/coremaker.c: Likewise.
15909 * gdb.base/testenv.c: Likewise.
15910 * gdb.python/py-finish-breakpoint.c: Likewise.
15911 * gdb.base/inferior-died.c: Include sys/wait.h.
15912 * gdb.base/fileio.c: Include time.h.
15913 * gdb.base/async-shell.c: Include unistd.h.
15914 * gdb.base/dprintf-non-stop.c: Likewise.
15915 * gdb.base/info-os.c: Likewise.
15916 * gdb.mi/mi-console.c: Likewise.
15917 * gdb.mi/watch-nonstop.c: Likewise.
15918 * gdb.python/py-events.c: Likewise.
15919 * gdb.base/async.c (baz): Move up before its invocation.
15920 * gdb.base/code_elim2.c (my_global_func): Likewise.
15921 * gdb.base/skip-solib-lib.c (multiply): Likewise.
15922 * gdb.base/advance.c (func2): Likewise.
15923
159242014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15925
15926 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
15927 variant.
15928 * gdb.base/annota3.c: Likewise.
15929 * gdb.base/async.c: Likewise.
15930 * gdb.base/average.c: Likewise.
15931 * gdb.base/call-ar-st.c: Likewise.
15932 * gdb.base/call-rt-st.c: Likewise.
15933 * gdb.base/call-sc.c: Likewise.
15934 * gdb.base/call-strs.c: Likewise.
15935 * gdb.base/ending-run.c: Likewise.
15936 * gdb.base/execd-prog.c: Likewise.
15937 * gdb.base/exprs.c: Likewise.
15938 * gdb.base/foll-exec.c: Likewise.
15939 * gdb.base/foll-fork.c: Likewise.
15940 * gdb.base/foll-vfork.c: Likewise.
15941 * gdb.base/funcargs.c: Likewise.
15942 * gdb.base/gcore.c: Likewise.
15943 * gdb.base/jump.c: Likewise.
15944 * gdb.base/langs0.c: Likewise.
15945 * gdb.base/langs1.c: Likewise.
15946 * gdb.base/langs2.c: Likewise.
15947 * gdb.base/mips_pro.c: Likewise.
15948 * gdb.base/nodebug.c: Likewise.
15949 * gdb.base/opaque0.c: Likewise.
15950 * gdb.base/opaque1.c: Likewise.
15951 * gdb.base/recurse.c: Likewise.
15952 * gdb.base/run.c: Likewise.
15953 * gdb.base/scope0.c: Likewise.
15954 * gdb.base/scope1.c: Likewise.
15955 * gdb.base/setshow.c: Likewise.
15956 * gdb.base/setvar.c: Likewise.
15957 * gdb.base/shmain.c: Likewise.
15958 * gdb.base/shr1.c: Likewise.
15959 * gdb.base/shr2.c: Likewise.
15960 * gdb.base/sigall.c: Likewise.
15961 * gdb.base/signals.c: Likewise.
15962 * gdb.base/so-indr-cl.c: Likewise.
15963 * gdb.base/solib2.c: Likewise.
15964 * gdb.base/structs.c: Likewise.
15965 * gdb.base/sum.c: Likewise.
15966 * gdb.base/vforked-prog.c: Likewise.
15967 * gdb.base/watchpoint.c: Likewise.
15968 * gdb.reverse/shr2.c: Likewise.
15969 * gdb.reverse/until-reverse.c: Likewise.
15970 * gdb.reverse/ur1.c: Likewise.
15971 * gdb.reverse/watch-reverse.c: Likewise.
15972
159732014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15974
15975 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
15976 variant.
15977 * gdb.base/sepdebug.exp: Drop references to removed code.
15978
159792014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15980
15981 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
15982 variant. Preserve original line numbering.
15983 * gdb.base/list1.c: Likewise.
15984
159852014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15986
15987 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
15988 variant.
15989 * gdb.base/break1.c: Likewise.
15990 * gdb.base/break.exp: Drop references to removed code.
15991
159922014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15993
15994 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
15995 variant.
15996
159972014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15998
15999 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
16000
160012014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16002
16003 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
16004 logic into perform_all_tests() and invoke it with and without
16005 function header prototypes.
16006 (do_function_calls): Remove conditional XFAIL for PR 5318.
16007 (rerun_and_prepare): Remove duplicate code.
16008 (perform_all_tests): New. Main logic moved here.
16009
160102014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16011
16012 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
16013 code guarded by #ifdef NO_PROTOTYPES.
16014 (t_double_many_args): Likewise.
16015 (DEF_FUNC_MANY_ARGS_1): Likewise.
16016 (DEF_FUNC_VALUES_1): Likewise.
16017 (t_structs_ldc): Renamed from t_structs_fc in conditional code
16018 guarded by #ifdef PROTOTYPES.
16019
160202014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16021
16022 * gdb.mi/mi-console.c: Add eye-catcher.
16023 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
16024 instead of literal line number.
16025
160262014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16027
16028 * gdb.base/shr2.c: Add eye-catcher.
16029 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
16030 line number.
16031
160322014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16033
16034 * gdb.base/jump.c: Add eye-catchers.
16035 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
16036 numbers.
16037
160382014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16039
16040 * gdb.base/execd-prog.c: Add eye-catchers.
16041 * gdb.base/foll-exec.c: Likewise.
16042 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
16043 line numbers.
16044
160452014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16046
16047 * gdb.base/ending-run.c: Add eye-catchers.
16048 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
16049 literal line numbers.
16050
160512014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16052
16053 * gdb.base/call-rt-st.c: Add eye-catchers.
16054 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
16055 literal line numbers.
16056
160572014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16058
16059 * gdb.base/call-ar-st.c: Add eye-catchers.
16060 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
16061 literal line numbers.
16062
160632014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16064
16065 * gdb.base/average.c: Add eye-catchers.
16066 * gdb.base/sum.c: Likewise.
16067 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
16068 regexps dynamically.
16069
160702014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16071
16072 * gdb.base/solib1.c: Add eye-catchers.
16073 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
16074 literal line numbers.
16075
160762014-11-12 Pedro Alves <palves@redhat.com>
16077
16078 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
16079 leader has exited.
16080
160812014-11-12 Pedro Alves <palves@redhat.com>
16082
16083 * gdb.arch/i386-bp_permanent.c: New file.
16084 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
16085 (srcfile): Set to i386-bp_permanent.c.
16086 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
16087 that stepi does not execute the 'leave' instruction, instead of
16088 testing it does execute.
16089 * gdb.base/bp-permanent.c: New file.
16090 * gdb.base/bp-permanent.exp: New file.
16091
160922014-11-10 Doug Evans <xdje42@gmail.com>
16093
16094 PR symtab/17564
16095 * gdb.base/symtab-search-order.exp: New file.
16096 * gdb.base/symtab-search-order.c: New file.
16097 * gdb.base/symtab-search-order-1.c: New file.
16098 * gdb.base/symtab-search-order-shlib-1.c: New file.
16099
161002014-11-07 Pedro Alves <palves@redhat.com>
16101
16102 PR gdb/17511
16103 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
16104 i?86-*-linux*.
16105
161062014-11-03 Siva Chandra Reddy <sivachandra@google.com>
16107
16108 PR c++/17494
16109 * gdb.cp/pr17494.cc: New file.
16110 * gdb.cp/pr17494.exp: New file.
16111
161122014-11-02 Yao Qi <yao@codesourcery.com>
16113
16114 * gdb.python/python.exp: Get working directory and match the
16115 output of "set extended-prompt \\w " with it.
16116
161172014-10-30 Doug Evans <dje@google.com>
16118
16119 * gdb.python/py-objfile.exp: Add tests for setting random attributes
16120 in objfiles.
16121 * gdb.python/py-progspace.exp: Add tests for setting random attributes
16122 in progspaces.
16123
161242014-10-30 Janis Johnson <janisjo@codesourcery.com>
16125
16126 * gdb.base/fullpath-expand.exp: Skip for a remote host.
16127 * gdb.base/realname-expand.exp: Likewise.
16128 * gdb.linespec/macro-relative.exp: Likewise.
16129
161302014-10-29 Pedro Alves <palves@redhat.com>
16131
16132 PR gdb/17408
16133 * gdb.threads/schedlock.c (some_function): New function.
16134 (call_function): New global.
16135 (MAYBE_CALL_SOME_FUNCTION): New macro.
16136 (thread_function): Call it.
16137 * gdb.threads/schedlock.exp (get_args): Add description parameter,
16138 and use it instead of a global counter. Adjust all callers.
16139 (get_current_thread): Use "find current thread" for test message
16140 here rather than having all callers pass down the same string.
16141 (goto_loop): New procedure, factored out from ...
16142 (my_continue): ... this.
16143 (step_ten_loops): Change parameter from test message to command to
16144 use. Adjust.
16145 (list_count): Delete global.
16146 (check_result): New procedure, factored out from duplicate top
16147 level code.
16148 (continue tests): Wrap in with_test_prefix.
16149 (test_step): New procedure, factored out from duplicate top level
16150 code.
16151 (top level): Test "step" in combination with all scheduler-locking
16152 modes. Test "next" in combination with all scheduler-locking
16153 modes, and in combination with stepping over a function call or
16154 not.
16155 * gdb.threads/next-bp-other-thread.c: New file.
16156 * gdb.threads/next-bp-other-thread.exp: New file.
16157
161582014-10-29 Pedro Alves <palves@redhat.com>
16159
16160 PR python/17372
16161 * gdb.python/python.exp: Test a multi-line command that spawns
16162 interactive Python.
16163 * gdb.base/multi-line-starts-subshell.exp: New file.
16164
161652014-10-29 Yao Qi <yao@codesourcery.com>
16166
16167 * gdb.base/fileio.exp: Make directories on host.
16168
161692014-10-29 Yao Qi <yao@codesourcery.com>
16170
16171 * gdb.base/fileio.c (test_write): Close the file.
16172
161732014-10-28 Pedro Alves <palves@redhat.com>
16174
16175 PR gdb/12623
16176 * gdb.base/sigstep.c (no_handler): New global.
16177 (main): If 'no_handler is true, set the signal handlers to
16178 SIG_IGN.
16179 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
16180 with_sw_watch and no_handler parameters. Handle them.
16181 (top level) <stepping over handler when stopped at a breakpoint
16182 test>: Add a test axis for testing with a software watchpoint, and
16183 another for testing with the signal handler set to SIG_IGN.
16184 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
16185 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
16186
161872014-10-28 Pedro Alves <palves@redhat.com>
16188
16189 PR gdb/17511
16190 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
16191 * gdb.base/sigstep.exp (other_handler_location): New global.
16192 (advance): Support stepping into the signal handler, and running
16193 commands while in the handler.
16194 (in_handler_map): New global.
16195 (top level): In the advance test, add combinations for getting
16196 into the handler with stepping commands, and for running commands
16197 in the handler. Add comment descripting the advancei tests.
16198
161992014-10-28 Pedro Alves <palves@redhat.com>
16200
16201 * gdb.base/sigstep.exp: Use build_executable instead of
16202 prepare_for_testing.
16203 (top level): Move code that starts GDB, runs to main and creates a
16204 display to ...
16205 (restart): ... this new procedure.
16206 (top level): Move backtrace from signal handler test to ...
16207 (validate_backtrace): ... this new procedure.
16208 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
16209 with_test_prefix. Always restart GDB.
16210 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
16211 with_test_prefix. Always restart GDB. No need to delete
16212 breakpoints after the test.
16213 (test_skip_handler): Remove prefix parameter.
16214 (skip_over_handler, breakpoint_to_handler)
16215 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
16216 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
16217 restart GDB. No need to delete breakpoints after the test.
16218 (top level): Use foreach to call the test procedures with
16219 different commands.
16220
162212014-10-28 Pedro Alves <palves@redhat.com>
16222
16223 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
16224 instead of GNATS numbers.
16225 * gdb.base/sigbpt.exp: Likewise.
16226 * gdb.base/siginfo.exp: Likewise.
16227 * gdb.base/sigstep.exp: Likewise.
16228
162292014-10-27 Pedro Alves <palves@redhat.com>
16230
16231 * gdb.base/sigstep.c (dummy): New global.
16232 (main): Issue a couple writes to the new global.
16233 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
16234 procedures.
16235 (skip_over_handler): Use test_skip_handler.
16236 (top level): Call skip_over_handler for stepi and nexti too.
16237 (breakpoint_over_handler): Use test_skip_handler.
16238 (top level): Call breakpoint_over_handler for stepi and nexti too.
16239
162402014-10-27 Yao Qi <yao@codesourcery.com>
16241
16242 * gdb.trace/tfile.c (adjust_function_address)
16243 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
16244 function descriptor.
16245
162462014-10-24 Don Breazeal <donb@codesourcery.com>
16247
16248 * gdb.base/foll-fork.exp (test_follow_fork,
16249 catch_fork_child_follow): Check for updated fork messages emitted
16250 from infrun.c.
16251 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
16252 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
16253 vfork_and_exec_child_follow_through_step): Check for updated vfork
16254 messages emitted from infrun.c.
16255
162562014-10-24 Pedro Alves <palves@redhat.com>
16257
16258 * gdb.base/corefile.exp: Remove references to ultrix.
16259 * gdb.base/interrupt.exp: Likewise.
16260 * gdb.base/whatis.exp: Likewise.
16261 * gdb.gdb/selftest.exp: Likewise.
16262 * gdb.threads/manythreads.exp: Likewise.
16263 * gdb.threads/print-threads.exp: Likewise.
16264 * gdb.threads/pthreads.exp:: Likewise.
16265 * gdb.threads/schedlock.exp: Likewise.
16266
162672014-10-24 Siva Chandra Reddy <sivachandra@google.com>
16268
16269 * gdb.cp/non-trivial-retval.cc: Add a test case.
16270 * gdb.cp/non-trivial-retval.exp: Add a test.
16271
162722014-10-20 Yao Qi <yao@codesourcery.com>
16273
16274 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
16275 * gdb.python/py-objfile-script-gdb.py: New file.
16276 * gdb.python/py-objfile-script.exp: Update reference to
16277 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
16278 of remote_download. Remove the dest file.
16279
162802014-10-20 Yao Qi <yao@codesourcery.com>
16281
16282 * gdb.base/checkpoint.exp: Don't remove file copied on host.
16283 * gdb.base/step-line.exp: Likewise.
16284 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
16285 * gdb.dwarf2/dw2-basic.exp: Likewise.
16286 * gdb.dwarf2/dw2-compressed.exp: Likewise.
16287 * gdb.dwarf2/dw2-filename.exp: Likewise.
16288 * gdb.dwarf2/dw2-intercu.exp: Likewise.
16289 * gdb.dwarf2/dw2-intermix.exp: Likewise.
16290 * gdb.dwarf2/dw2-producer.exp: Likewise.
16291 * gdb.dwarf2/mac-fileno.exp: Likewise.
16292 * gdb.python/py-frame-args.exp: Likewise.
16293 * gdb.python/py-framefilter.exp: Likewise.
16294 * gdb.python/py-mi.exp: Likewise.
16295 * gdb.python/py-objfile-script.exp: Likewise
16296 * gdb.python/py-pp-integral.exp: Likewise.
16297 * gdb.python/py-pp-re-notag.exp: Likewise.
16298 * gdb.python/py-prettyprint.exp: Likewise.
16299 * gdb.python/py-section-script.exp: Likewise.
16300 * gdb.python/py-typeprint.exp: Likewise.
16301 * gdb.python/py-xmethods.exp: Likewise.
16302 * gdb.stabs/weird.exp: Likewise.
16303 * gdb.xml/tdesc-regs.exp: Likewise.
16304
163052014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
16306
16307 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
16308 (out_cu): Use addr_len for the size of addresses.
16309 (out_line): Likewise. Size DW_LNE_set_address instruction
16310 according to addr_len.
16311 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
16312 (FUNC): Add START_INSNS to definition.
16313
163142014-10-18 Yao Qi <yao@codesourcery.com>
16315
16316 * gdb.base/argv0-symlink.exp: Check argv[0] value if
16317 gdb_has_argv0 return true.
16318 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
16319 check [target_info exists noargs], check [gdb_has_argv0]
16320 instead.
16321 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
16322 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
16323 procedures.
16324
163252014-10-17 Doug Evans <dje@google.com>
16326
16327 * gdb.python/py-events.exp: Update expected output for clear_objfiles
16328 event.
16329 * gdb.python/py-events.py: Add clear_objfiles event.
16330
163312014-10-17 Doug Evans <dje@google.com>
16332
16333 * gdb.python/py-objfile.exp: Test progspace attribute.
16334
163352014-10-17 Luis Machado <lgustavo@codesourcery.com>
16336
16337 * gdb.guile/scm-breakpoint.exp: Do not assume any
16338 directory separators when matching source file paths.
16339 * gdb.python/py-breakpoint.exp: Likewise.
16340 * gdb.reverse/break-precsave.exp: Likewise.
16341 * gdb.reverse/break-reverse.exp: Likewise.
16342 * gdb.reverse/consecutive-precsave.exp: Likewise.
16343 * gdb.reverse/finish-precsave.exp: Likewise.
16344 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
16345 * gdb.reverse/finish-reverse.exp: Likewise.
16346 * gdb.reverse/i386-precsave.exp: Likewise.
16347 * gdb.reverse/i387-env-reverse.exp: Likewise.
16348 * gdb.reverse/i387-stack-reverse.exp: Likewise.
16349 * gdb.reverse/machinestate-precsave.exp: Likewise.
16350 * gdb.reverse/machinestate.exp: Likewise.
16351 * gdb.reverse/sigall-precsave.exp: Likewise.
16352 * gdb.reverse/solib-precsave.exp: Likewise.
16353 * gdb.reverse/step-precsave.exp: Likewise.
16354 * gdb.reverse/until-precsave.exp: Likewise.
16355 * gdb.reverse/watch-precsave.exp: Likewise.
16356 * gdb.reverse/watch-reverse.exp: Likewise.
16357
163582014-10-17 Yao Qi <yao@codesourcery.com>
16359
16360 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
16361 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
16362
163632014-10-17 Pedro Alves <palves@redhat.com>
16364
16365 PR gdb/17471
16366 * gdb.base/bg-execution-repeat.c: New file.
16367 * gdb.base/bg-execution-repeat.exp: New file.
16368
163692014-10-17 Pedro Alves <palves@redhat.com>
16370
16371 PR gdb/17300
16372 * gdb.base/continue-all-already-running.c: New file.
16373 * gdb.base/continue-all-already-running.exp: New file.
16374
163752014-10-17 Pedro Alves <palves@redhat.com>
16376
16377 PR gdb/17472
16378 * gdb.base/annota-input-while-running.c: New file.
16379 * gdb.base/annota-input-while-running.exp: New file.
16380
163812014-10-17 Pedro Alves <palves@redhat.com>
16382
16383 * gdb.base/callfuncs.exp: emove references to osf.
16384 * gdb.base/sigall.exp: Likewise.
16385 * gdb.gdb/selftest.exp: Likewise.
16386 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
16387 * gdb.mi/non-stop.c: Likewise.
16388 * gdb.mi/pthreads.c: Likewise.
16389 * gdb.reverse/sigall-precsave.exp: Likewise.
16390 * gdb.reverse/sigall-reverse.exp: Likewise.
16391 * gdb.threads/pthreads.c: Likewise.
16392 * gdb.threads/pthreads.exp: Likewise.
16393
163942014-10-17 Yao Qi <yao@codesourcery.com>
16395
16396 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
16397 check 'target_info exists noargs'.
16398 (test_command_prompt_position): Likewise.
16399 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
16400 Remove "set args".
16401 (progvar_simple_while_test): Likewise.
16402 (progvar_complex_if_while_test): Likewise.
16403 (if_while_breakpoint_command_test): Likewise.
16404 (infrun_breakpoint_command_test): Likewise.
16405 (breakpoint_command_test): Likewise.
16406 (watchpoint_command_test): Likewise.
16407 (bp_deleted_in_command_test): Likewise.
16408 (temporary_breakpoint_commands): Likewise.
16409
164102014-10-16 Yao Qi <yao@codesourcery.com>
16411
16412 * gdb.base/remotetimeout.exp: Remove noargs checking.
16413
164142014-10-15 Pedro Alves <palves@redhat.com>
16415
16416 PR breakpoints/9649
16417 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
16418 * gdb.base/breakpoint-in-ro-region.exp
16419 (probe_target_hardware_step): New procedure.
16420 (top level): Probe hardware stepping and hardware breakpoint
16421 support. Test stepping through a read-only region, with both
16422 "breakpoint auto-hw" on and off and both "always-inserted" on and
16423 off.
16424
164252014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
16426
16427 * gdb.dlang/demangle.exp: Update for demangling changes.
16428
164292014-10-15 Siva Chandra Reddy <sivachandra@google.com>
16430
16431 * gdb.cp/non-trivial-retval.cc: Add new test cases.
16432 * gdb.cp/non-trivial-retval.exp: Add new tests.
16433
164342014-10-15 Siva Chandra Reddy <sivachandra@google.com>
16435
16436 PR c++/13403
16437 PR c++/15154
16438 * gdb.cp/non-trivial-retval.cc: New file.
16439 * gdb.cp/non-trivial-retval.exp: New file.
16440
164412014-10-15 Yao Qi <yao@codesourcery.com>
16442
16443 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
16444 remote host.
16445
164462014-10-15 Yao Qi <yao@codesourcery.com>
16447
16448 * gdb.python/py-symbol.exp: Match file base name if host is
16449 remote, otherwise match file name with dir name.
16450 * gdb.python/py-symtab.exp: Likewise.
16451 * gdb.python/python.exp: Likewise.
16452
164532014-10-15 Yao Qi <yao@codesourcery.com>
16454
16455 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
16456 pattern.
16457 * gdb.python/py-symtab.exp: Likewise.
16458 * gdb.python/python.exp: Remove trailing ".*". Fix typo
16459 locationn.
16460
164612014-10-14 Joel Brobecker <brobecker@adacore.com>
16462
16463 * gdb.ada/addr_arith: New testcase.
16464
164652014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
16466
16467 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
16468 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
16469 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
16470 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
16471
164722014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
16473
16474 * gdb.arch/stap-eval-lang-ada.S: Likewise.
16475 * gdb.arch/stap-eval-lang-ada.c: Likewise.
16476 * gdb.arch/stap-eval-lang-ada.exp: New file.
16477
164782014-10-14 Yao Qi <yao@codesourcery.com>
16479
16480 * gdb.mi/mi-var-child.c (nothing1): New function.
16481 (nothing2): New function.
16482 (do_children_tests): Set function pointers by nothing1 and
16483 nothing2.
16484 * gdb.mi/mi-var-child.exp: Step over new added statements.
16485 Update test to match the new output.
16486 * gdb.mi/var-cmd.c (nothing1): New function.
16487 (nothing2): New function.
16488 (do_children_tests): Set function pointers by nothing1 and
16489 nothing2.
16490 * gdb.mi/mi-var-display.exp: Update test to match output.
16491 Step to the line specified by $line_dct_nothing.
16492 Increase the number of lines to step.
16493
164942014-10-14 Yao Qi <yao@codesourcery.com>
16495
16496 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
16497 tests.
16498 * gdb.mi/mi2-var-child.exp: Likewise.
16499
165002014-10-13 Doug Evans <dje@google.com>
16501
16502 * gdb.python/py-objfile.exp: Change name of file name test.
16503
165042014-10-13 Doug Evans <dje@google.com>
16505
16506 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
16507 from the start of the CU.
16508
165092014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
16510 Yao Qi <yao@codesourcery.com>
16511
16512 Fix "save breakpoints" for "catch" command.
16513 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
16514 Remove -nonewline. Match also the added "main" line.
16515
165162014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16517
16518 Fix "save breakpoints" for "disable $bpnum" command.
16519 * gdb.base/save-bp.c (main): Add label.
16520 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
16521
165222014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16523
16524 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
16525
165262014-10-11 Yao Qi <yao@codesourcery.com>
16527
16528 * gdb.server/server-kill.exp: Execute command
16529 "set remote trace-status-packet on" before "tstatus".
16530
165312014-10-11 Yao Qi <yao@codesourcery.com>
16532
16533 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
16534 (main): Call getppid.
16535 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
16536 and continue to it. Read variable "server_pid".
16537
165382014-10-11 Yao Qi <yao@codesourcery.com>
16539
16540 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
16541
165422014-10-11 Yao Qi <yao@codesourcery.com>
16543
16544 * gdb.threads/thread-find.exp: Don't execute command
16545 "info threads".
16546 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
16547 * gdb.threads/linux-dp.exp: Don't check the condition
16548 $threads_created equals to zero.
16549
165502014-10-10 Pedro Alves <palves@redhat.com>
16551
16552 * gdb.base/bigcore.exp: Remove references to IRIX.
16553 * gdb.base/funcargs.exp: Likewise.
16554 * gdb.base/interrupt.exp: Likewise.
16555 * gdb.base/mips_pro.exp: Likewise.
16556 * gdb.base/nodebug.exp: Likewise.
16557 * gdb.base/setvar.exp: Likewise.
16558 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
16559
165602014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
16561 Pedro Alves <palves@redhat.com>
16562
16563 PR symtab/14466
16564 * gdb.base/vdso-warning.c: New file.
16565 * gdb.base/vdso-warning.exp: New file.
16566
165672014-10-02 Doug Evans <dje@google.com>
16568
16569 * gdb.base/structs.c (main): Don't run forever.
16570
165712014-10-02 Pedro Alves <palves@redhat.com>
16572
16573 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
16574 (top level) <stop threads 1, stop threads 2>: Use it.
16575
165762014-10-02 Pedro Alves <palves@redhat.com>
16577
16578 * gdb.threads/break-while-running.exp (test): Add new
16579 'update_thread_list' argument. Skip "info threads" if false.
16580 (top level): Add new 'update_thread_list' axis.
16581
165822014-10-02 Pedro Alves <palves@redhat.com>
16583
16584 PR breakpoints/17431
16585 * gdb.base/execl-update-breakpoints.c: New file.
16586 * gdb.base/execl-update-breakpoints.exp: New file.
16587
165882014-10-01 Pedro Alves <palves@redhat.com>
16589
16590 * gdb.base/breakpoint-in-ro-region.c: New file.
16591 * gdb.base/breakpoint-in-ro-region.exp: New file.
16592
165932014-10-01 Simon Marchi <simon.marchi@ericsson.com>
16594
16595 * gdb.mi/mi-exit-code.exp: New file.
16596 * gdb.mi/mi-exit-code.c: New file.
16597
165982014-09-30 Yao Qi <yao@codesourcery.com>
16599
16600 * lib/prelink-support.exp (build_executable_own_libs): Error if
16601 the target isn't native.
16602
166032014-09-30 Yao Qi <yao@codesourcery.com>
16604
16605 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
16606 false.
16607
166082014-09-22 Pedro Alves <palves@redhat.com>
16609
16610 * gdb.threads/break-while-running.exp: New file.
16611 * gdb.threads/break-while-running.c: New file.
16612
166132014-09-19 Yao Qi <yao@codesourcery.com>
16614
16615 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
16616 Invoke test. Restart GDB with --readnow and invoke test again.
16617
166182014-09-19 Yao Qi <yao@codesourcery.com>
16619
16620 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
16621 proc set_breakpoint_on_gcd_function. Invoke
16622 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
16623 invoke set_breakpoint_on_gcd_function again.
16624
166252014-09-18 Doug Evans <dje@google.com>
16626
16627 * gdb.dwarf2/symtab-producer.exp: New file.
16628
166292014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
16630
16631 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
16632 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
16633 * gdb.base/global-var-nested-by-dso.c: Likewise.
16634 * gdb.base/global-var-nested-by-dso.exp: Likewise.
16635
166362014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
16637 Pedro Alves <palves@redhat.com>
16638
16639 * gdb.base/watch-bitfields.exp: Pass string other than test file
16640 name to prepare_for_testing.
16641 (watch): New procedure.
16642 (expect_watchpoint): Use with_test_prefix.
16643 (top level): Factor out tests to ...
16644 (test_watch_location, test_regular_watch): ... these new
16645 procedures, and use with_test_prefix and gdb_continue_to_end.
16646
166472014-09-16 Patrick Palka <patrick@parcs.ath.cx>
16648
16649 PR breakpoints/12526
16650 * gdb.base/watch-bitfields.exp: New file.
16651 * gdb.base/watch-bitfields.c: New file.
16652
166532014-09-16 Pedro Alves <palves@redhat.com>
16654
16655 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
16656 software and hardware addresses, not software address against
16657 itself.
16658
166592014-09-16 Pedro Alves <palves@redhat.com>
16660
16661 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
16662 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
16663
166642014-09-16 Pedro Alves <palves@redhat.com>
16665
16666 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
16667 files.
16668 * gdb.base/a2-run.exp: Remove all code guarded by istarget
16669 "*-*-vxworks*" throughout.
16670 * gdb.base/break.exp: Likewise.
16671 * gdb.base/default.exp: Likewise.
16672 * gdb.base/scope.exp: Likewise.
16673 * gdb.base/sepdebug.exp: Likewise.
16674 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
16675 throughout.
16676 * gdb.base/run.c: Likewise.
16677 * gdb.base/sepdebug.c: Likewise.
16678 * gdb.hp/gdb.aCC/run.c: Likewise.
16679 * gdb.reverse/until-reverse.c: Likewise.
16680 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
16681
166822014-09-16 Yao Qi <yao@codesourcery.com>
16683
16684 * boards/local-remote-host-native.exp: New file.
16685
166862014-09-14 Doug Evans <xdje42@gmail.com>
16687
16688 * gdb.threads/queue-signal.c (thread_count): New variable.
16689 (thread_count_mutex, thread_count_condvar): New variables.
16690 (incr_thread_count, wait_all_threads_running): New functions.
16691 (main): Wait for all threads to be in their thread functions.
16692
166932014-09-13 Doug Evans <xdje42@gmail.com>
16694
16695 * gdb.threads/queue-signal.c: New file.
16696 * gdb.threads/queue-signal.exp: New file.
16697
166982014-09-13 Doug Evans <xdje42@gmail.com>
16699
16700 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
16701 be consistent with what default_gdb_init uses.
16702 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
16703 the plain text of the prompt. Add some logging printfs.
16704 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
16705
167062014-09-12 Pedro Alves <palves@redhat.com>
16707
16708 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
16709 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
16710 * gdb.arch/i386-size-overlap.exp: Likewise.
16711 * gdb.arch/i386-size.exp: Likewise.
16712 * gdb.arch/i386-unwind.exp: Likewise.
16713 * gdb.base/a2-run.exp: Likewise.
16714 * gdb.base/break.exp: Likewise.
16715 * gdb.base/charset.exp: Likewise.
16716 * gdb.base/chng-syms.exp: Likewise.
16717 * gdb.base/commands.exp: Likewise.
16718 * gdb.base/dbx.exp: Likewise.
16719 * gdb.base/find.exp: Likewise.
16720 * gdb.base/funcargs.exp: Likewise.
16721 * gdb.base/jit-simple.exp: Likewise.
16722 * gdb.base/reread.exp: Likewise.
16723 * gdb.base/sepdebug.exp: Likewise.
16724 * gdb.base/step-bt.exp: Likewise.
16725 * gdb.cp/mb-inline.exp: Likewise.
16726 * gdb.cp/mb-templates.exp: Likewise.
16727 * gdb.objc/basicclass.exp: Likewise.
16728 * gdb.threads/killed.exp: Likewise.
16729
167302014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16731
16732 PR tdep/17379
16733 * gdb.arch/powerpc-stackless.S: New file.
16734 * gdb.arch/powerpc-stackless.exp: New file.
16735
167362014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16737
16738 * gdb.base/attach.c: Include unistd.h.
16739 (main): Call alarm. Add label postloop.
16740 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
16741 gdb_breakpoint, gdb_continue_to_breakpoint.
16742 (test_command_line_attach_run): Kill ${testpid} in one exit path.
16743
167442014-09-11 Pedro Alves <palves@redhat.com>
16745
16746 PR gdb/17347
16747 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
16748 * gdb.base/attach.exp (test_command_line_attach_run): New
16749 procedure.
16750 (top level): Call it.
16751
167522014-09-11 Pedro Alves <palves@redhat.com>
16753
16754 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
16755 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
16756 (do_command_attach_tests): Use spawn_wait_for_attach.
16757 * gdb.base/solib-overlap.exp: Likewise.
16758 * gdb.multi/multi-attach.exp: Likewise.
16759 * gdb.python/py-prompt.exp: Likewise.
16760 * gdb.python/py-sync-interp.exp: Likewise.
16761 * gdb.server/ext-attach.exp: Likewise.
16762
167632014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
16764
16765 * gdb.fortran/array-element.exp: Remove unexpected "continue"
16766 command in testcase. Simplify testcase.
16767
167682014-09-10 Joel Brobecker <brobecker@adacore.com>
16769
16770 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
16771
167722014-09-10 Joel Brobecker <brobecker@adacore.com>
16773
16774 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
16775
167762014-09-10 Joel Brobecker <brobecker@adacore.com>
16777
16778 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
16779
167802014-09-10 Joel Brobecker <brobecker@adacore.com>
16781
16782 * gdb.dwarf2/dynarr-ptr.c: New file.
16783 * gdb.dwarf2/dynarr-ptr.exp: New file.
16784
167852014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16786
16787 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
16788 of 30 rather than hardcoding 120 for a slow test case. Take the
16789 `gdb,timeout' target setting into account for this calculation.
16790 Don't extend the timeout for the test cases that don't need it.
16791
167922014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16793
16794 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
16795 a factor of 2 for a slow test case. Take the `gdb,timeout'
16796 target setting into account for this calculation.
16797 * gdb.reverse/until-precsave.exp: Increase the timeout by
16798 a factor of 15 and 3 respectively rather than adding 120
16799 for a pair of slow test cases. Take the `gdb,timeout'
16800 target setting into account for this calculation.
16801
168022014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16803
16804 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
16805 timeout, don't pass one down to gdb_expect.
16806 (gdb_expect): Rework timeout selection.
16807
168082014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16809
16810 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
16811 exception on timeout.
16812 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
16813 (gdbserver_start_extended): Catch any `gdbserver_start' error
16814 exceptions.
16815 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
16816 * lib/mi-support.exp (mi_gdb_target_load): Catch any
16817 `gdbserver_gdb_load' error exceptions.
16818
168192014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16820
16821 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
16822 120 on waiting for the TCP socket to open.
16823
168242014-09-09 Doug Evans <xdje42@gmail.com>
16825
16826 * gdb.base/default.exp (show_conv_list): Add _caller_is,
16827 _caller_matches, _any_caller_is, _any_caller_matches.
16828
168292014-09-09 Doug Evans <xdje42@gmail.com>
16830
16831 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
16832
168332014-09-09 Yao Qi <yao@codesourcery.com>
16834
16835 * gdb.mi/mi-var-display.exp: Set print symbol off.
16836
168372014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
16838
16839 PR gdb/17035
16840 * gdb.base/commands.exp: Add tests to verify user-defined
16841 commands with empty bodies.
16842 * gdb.python/py-cmd.exp: Test that we don't show user-defined
16843 python commands in `show user command`.
16844 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
16845 scheme commands in `show user command`.
16846
168472014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16848
16849 PR python/17355
16850 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
16851 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
16852 * gdb.python/py-framefilter-invalidarg.exp: New file.
16853 * gdb.python/py-framefilter-invalidarg.py: New file.
16854
168552014-09-06 Doug Evans <xdje42@gmail.com>
16856
16857 PR 15276
16858 * gdb.python/py-caller-is.c: New file.
16859 * gdb.python/py-caller-is.exp: New file.
16860
168612014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
16862
16863 PR gdb/17235
16864 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
16865 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
16866
168672014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
16868
16869 PR fortran/17237
16870 * gdb.fortran/print-formatted.exp: New file.
16871 * gdb.fortran/print-formatted.f90: Likewise.
16872
168732014-09-03 Sasha Smundak <asmundak@google.com>
16874
16875 * gdb.python/py-frame.exp: Test Frame.read_register.
16876
168772014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
16878
16879 PR python/16699
16880 * gdb.python/py-completion.exp: New file.
16881 * gdb.python/py-completion.py: Likewise.
16882
168832014-08-28 Doug Evans <dje@google.com>
16884
16885 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
16886 eax,etc. are live with values set by gdb and thus the compiler can't
16887 use them.
16888 * gdb.arch/i386-pseudo.c (main): Ditto.
16889
168902014-08-27 Doug Evans <dje@google.com>
16891
16892 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
16893
168942014-08-25 Doug Evans <dje@google.com>
16895
16896 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
16897 (main): Ditto.
16898
168992014-08-25 Doug Evans <dje@google.com>
16900
16901 * gdb.threads/thread-execl.exp: #include <stdio.h>.
16902
169032014-08-24 Yao Qi <yao@codesourcery.com>
16904
16905 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
16906 symbol off.
16907 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
16908
169092014-08-22 Doug Evans <dje@google.com>
16910
16911 PR 17276
16912 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
16913 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
16914 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
16915
169162014-08-22 Yao Qi <yao@codesourcery.com>
16917
16918 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
16919 * gdb.python/py-finish-breakpoint2.exp: Likewise.
16920 * gdb.python/python.exp: Likewise. Use .py file on the host
16921 instead of the build.
16922
169232014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16924
16925 * gdb.threads/gcore-stale-thread.c: New file.
16926 * gdb.threads/gcore-stale-thread.exp: New file.
16927
169282014-08-21 Pedro Alves <palves@redhat.com>
16929
16930 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
16931 * gdb.base/gcore-relro-pie.exp: Likewise.
16932 * gdb.base/gcore-relro.exp: Likewise.
16933 * gdb.base/gcore.exp: Likewise.
16934 * gdb.base/print-symbol-loading.exp: Likewise.
16935 * gdb.threads/gcore-thread.exp: Likewise.
16936 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
16937
169382014-08-20 Pedro Alves <palves@redhat.com>
16939 Jan Kratochvil <jan.kratochvil@redhat.com>
16940
16941 * Makefile.in (EXTRA_RULES, CC): New variables, get from
16942 configure.
16943 (EXPECT): Handle READ1 being set.
16944 (all): Depend on EXTRA_RULES.
16945 (check-read1, expect-read1, read1.so, read1): New rules.
16946 * README (Testsuite Parameters): Document the READ1 make variable.
16947 (Race detection): New section.
16948 * configure: Regenerate.
16949 * configure.ac: If build==host==target, and running under a
16950 GNU/glibc system, add read1 to the extra Makefile rules.
16951 (EXTRA_RULES): AC_SUBST it.
16952 * lib/read1.c: New file.
16953
169542014-08-20 Joel Brobecker <brobecker@adacore.com>
16955
16956 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
16957 the handling of variables declared as a typedef to an array
16958 which a DW_AT_data_location attribute.
16959
169602014-08-19 Andrew Burgess <aburgess@broadcom.com>
16961 Pedro Alves <palves@redhat.com>
16962
16963 PR symtab/14604
16964 PR symtab/14605
16965 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
16966 gdb_test.
16967
169682014-08-19 Pedro Alves <palves@redhat.com>
16969
16970 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
16971
169722014-08-19 Yao Qi <yao@codesourcery.com>
16973
16974 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
16975 right line.
16976
169772014-08-18 David Blaikie <dblaikie@gmail.com>
16978
16979 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
16980
169812014-08-18 Joel Brobecker <brobecker@adacore.com>
16982
16983 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
16984 attribute in array range.
16985
169862014-08-18 Joel Brobecker <brobecker@adacore.com>
16987
16988 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
16989
169902014-08-15 Siva Chandra Reddy <sivachandra@google.com>
16991
16992 PR c++/17132
16993 * gdb.cp/pr17132.cc: New file.
16994 * gdb.cp/pr17132.exp: New file.
16995
169962014-08-15 Siva Chandra Reddy <sivachandra@google.com>
16997
16998 * gdb.python/py-xmethods.py (A_getarrayind)
16999 (E_method_char_worker.__call__, E_method_int_worker.__call__):
17000 Use 'print' with function call syntax.
17001 (E_method_matcher.match): Fix tab vs space indentation mixup.
17002
170032014-08-15 Yao Qi <yao@codesourcery.com>
17004
17005 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
17006 false.
17007
170082014-08-15 Yao Qi <yao@codesourcery.com>
17009
17010 * gdb.cp/casts.exp: Set print symbol off.
17011 * gdb.cp/class2.exp: Likewise.
17012 * gdb.cp/overload.exp: Likewise.
17013 * gdb.cp/templates.exp: Likewise.
17014
170152014-08-11 Doug Evans <dje@google.com>
17016
17017 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
17018 (test_load_shlib): Update.
17019
170202014-08-09 Yao Qi <yao@codesourcery.com>
17021
17022 * gdb.base/display.exp: Invoke is_address_zero_readable.
17023 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
17024 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
17025 * gdb.base/hbreak-unmapped.exp: Return if
17026 is_address_zero_readable returns true.
17027 * gdb.base/signest.exp: Likewise.
17028 * gdb.base/signull.exp: Likewise.
17029 * gdb.base/sigbpt.exp: Likewise.
17030 * gdb.guile/scm-disasm.exp: Do the test if
17031 is_address_zero_readable returns false.
17032 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
17033 * gdb.python/py-arch.exp: Likewise.
17034 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
17035 * lib/gdb.exp (is_address_zero_readable): New proc.
17036
170372014-08-09 Yao Qi <yao@codesourcery.com>
17038
17039 PR testsuite/13443
17040 * gdb.mi/mi-var-display.exp: Make test messages unique.
17041
170422014-08-04 Tom Tromey <tromey@redhat.com>
17043
17044 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
17045 target 0".
17046
170472014-08-04 Tom Tromey <tromey@redhat.com>
17048
17049 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
17050 "target_resume".
17051
170522014-08-01 Joel Brobecker <brobecker@adacore.com>
17053
17054 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
17055 inner_vla_struct_object_size.
17056 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
17057 as xfail.
17058
170592014-07-30 Pedro Alves <palves@redhat.com>
17060
17061 * gdb.threads/signal-command-handle-nopass.exp (test): Add
17062 comment.
17063
170642014-07-29 Yao Qi <yao@codesourcery.com>
17065
17066 PR gdb/17206
17067 * gdb.base/until-nodebug.exp: New.
17068
170692014-07-28 Doug Evans <xdje42@gmail.com>
17070
17071 PR guile/17203
17072 * gdb.guile/scm-parameter.exp: Add tests for trying to create
17073 previously existing parameter, and previously ambiguously spelled
17074 parameter.
17075
170762014-07-28 Will Newton <will.newton@linaro.org>
17077
17078 * gdb.base/varargs.exp: Remove KFAILs for ARM.
17079
170802014-07-26 Ludovic Courtès <ludo@gnu.org>
17081 Doug Evans <xdje42@gmail.com>
17082
17083 PR guile/17146
17084 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
17085
170862014-07-25 Pedro Alves <palves@redhat.com>
17087
17088 * gdb.threads/signal-command-handle-nopass.c: New file.
17089 * gdb.threads/signal-command-handle-nopass.exp: New file.
17090 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
17091 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
17092 * gdb.threads/signal-delivered-right-thread.c: New file.
17093 * gdb.threads/signal-delivered-right-thread.exp: New file.
17094
170952014-07-25 Pedro Alves <palves@redhat.com>
17096
17097 * gdb.base/double-prompt-target-event-error.exp
17098 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
17099 match.
17100 (cancel_pagination_in_target_event): Rework double prompt
17101 detection.
17102 * gdb.base/paginate-after-ctrl-c-running.exp
17103 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
17104 <return>' match.
17105 * gdb.base/paginate-bg-execution.exp
17106 (test_bg_execution_pagination_return)
17107 (test_bg_execution_pagination_cancel): Remove '-notransfer
17108 <return>' matches.
17109 * gdb.base/paginate-execution-startup.exp
17110 (test_fg_execution_pagination_return)
17111 (test_fg_execution_pagination_cancel): Remove '-notransfer
17112 <return>' matches.
17113 * gdb.base/paginate-inferior-exit.exp
17114 (test_paginate_inferior_exited): Remove '-notransfer <return>'
17115 match.
17116 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
17117 * lib/gdb.exp (pagination_prompt): Run text through
17118 string_to_regexp.
17119 (gdb_test_multiple): Match $pagination_prompt instead of
17120 "<return>".
17121 (string_to_regexp): Move to lib/gdb-utils.exp.
17122
171232014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
17124
17125 * gdb.arch/amd64-entry-value-paramref.S: New file.
17126 * gdb.arch/amd64-entry-value-paramref.cc: New file.
17127 * gdb.arch/amd64-entry-value-paramref.exp: New file.
17128 * gdb.arch/amd64-optimout-repeat.S: New file.
17129 * gdb.arch/amd64-optimout-repeat.c: New file.
17130 * gdb.arch/amd64-optimout-repeat.exp: New file.
17131
171322014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
17133
17134 PR gdb/17170
17135 * gdb.base/statistics.exp: New file.
17136
171372014-07-17 Doug Evans <dje@google.com>
17138
17139 PR gdb/17170
17140 * gdb.base/maint.exp: Update testing of per-command stats.
17141
171422014-07-16 Pedro Alves <palves@redhat.com>
17143
17144 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
17145 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
17146 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
17147 (tfile_write_buf): New functions.
17148 (add_memory_block): Rewrite using the above.
17149 (adjust_function_address): New function.
17150 (FUNCTION_ADDRESS): New macro.
17151 (write_basic_trace_file): Remove short_x local, and use
17152 tfile_write_16. Change type of func_addr local to unsigned long
17153 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
17154 here. Cast argument of add_memory_block to char pointer.
17155 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
17156 (main): Remove parameters.
17157 * gdb.trace/tfile.exp: Remove nowarnings.
17158
171592014-07-15 Simon Marchi <simon.marchi@ericsson.com>
17160
17161 * gdb.base/debug-expr.exp: Test string evaluation with
17162 "debug expression" on.
17163
171642014-07-15 Pedro Alves <palves@redhat.com>
17165
17166 * gdb.base/reread.exp: Use clean_restart.
17167
171682014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
17169
17170 * gdb.arch/avr-flash-qualifer.c: New.
17171 * gdb.arch/avr-flash-qualifer.exp: New.
17172
171732014-07-14 Pedro Alves <palves@redhat.com>
17174
17175 * gdb.base/paginate-after-ctrl-c-running.c: New file.
17176 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
17177
171782014-07-14 Pedro Alves <palves@redhat.com>
17179
17180 * gdb.base/double-prompt-target-event-error.c: New file.
17181 * gdb.base/double-prompt-target-event-error.exp: New file.
17182
171832014-07-14 Pedro Alves <palves@redhat.com>
17184
17185 PR gdb/17072
17186 * gdb.base/paginate-inferior-exit.c: New file.
17187 * gdb.base/paginate-inferior-exit.exp: New file.
17188
171892014-07-14 Pedro Alves <palves@redhat.com>
17190
17191 PR gdb/17072
17192 * gdb.base/paginate-bg-execution.c: New file.
17193 * gdb.base/paginate-bg-execution.exp: New file.
17194
171952014-07-14 Pedro Alves <palves@redhat.com>
17196
17197 PR gdb/17072
17198 * gdb.base/paginate-execution-startup.c: New file.
17199 * gdb.base/paginate-execution-startup.exp: New file.
17200 * lib/gdb.exp (pagination_prompt): New global.
17201 (default_gdb_spawn): New procedure, factored out from
17202 default_gdb_spawn.
17203 (default_gdb_start): Adjust to call default_gdb_spawn.
17204 (gdb_spawn): New procedure.
17205
172062014-07-14 Pedro Alves <palves@redhat.com>
17207
17208 * lib/gdb.exp (gdb_assert): New procedure.
17209 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
17210
172112014-07-14 Pedro Alves <palves@redhat.com>
17212
17213 * gdb.base/execution-termios.c: New file.
17214 * gdb.base/execution-termios.exp: New file.
17215
172162014-07-14 Tom Tromey <tromey@redhat.com>
17217
17218 * gdb.cp/vla-cxx.cc: New file.
17219 * gdb.cp/vla-cxx.exp: New file.
17220
172212014-07-14 Tom Tromey <tromey@redhat.com>
17222
17223 * gdb.reverse/rerun-prec.c: New file.
17224 * gdb.reverse/rerun-prec.exp: New file.
17225
172262014-07-12 Maciej W. Rozycki <macro@mips.com>
17227 Maciej W. Rozycki <macro@codesourcery.com>
17228
17229 * lib/gdb-utils.exp: New file.
17230 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
17231 inline `gdb_init_command' processing.
17232 (gdb_start_cmd): Likewise.
17233 * lib/mi-support.exp (mi_run_cmd): Likewise.
17234 * README: Document `gdb_init_command' and `gdb_init_commands'.
17235
172362014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17237
17238 Fix false FAIL running under a very long directory name.
17239 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
17240 and "set print elements 10000". Twice.
17241
172422014-07-11 Yao Qi <yao@codesourcery.com>
17243
17244 * gdb.base/exprs.exp: "set print symbol off".
17245
172462014-07-11 Pedro Alves <palves@redhat.com>
17247
17248 * gdb.threads/kill.c: New file.
17249 * gdb.threads/kill.exp: New file.
17250
172512014-07-10 Yao Qi <yao@codesourcery.com>
17252
17253 * gdb.trace/tfile.c (write_basic_trace_file)
17254 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
17255 address written to trace file.
17256
172572014-07-09 Pedro Alves <palves@redhat.com>
17258
17259 * gdb.base/attach-wait-input.exp: New file.
17260 * gdb.base/attach-wait-input.c: New file.
17261
172622014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
17263
17264 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
17265 setting up test structures.
17266 (main): Call new test function.
17267 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
17268 test function, continue into test function and walk test
17269 structures.
17270
172712014-07-02 Yao Qi <yao@codesourcery.com>
17272
17273 * gdb.trace/entry-values.c: Define labels 'foo_start' and
17274 'bar_start' at the beginning of functions 'foo' and 'bar'
17275 respectively.
17276 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
17277 instead of 'foo' and 'bar'.
17278
172792014-07-08 Markus Metzger <markus.t.metzger@intel.com>
17280
17281 * gdb.btrace/segv.exp: New.
17282 * gdb.btrace/segv.c: New.
17283
172842014-07-02 Luis Machado <lgustavo@codesourcery.com>
17285
17286 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
17287 instruction.
17288
172892014-06-30 Mark Wielaard <mjw@redhat.com>
17290
17291 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
17292 vulture, vilify, villar): New volatile array constants.
17293 (vindictive, vegetation): New const volatile array constants.
17294 * gdb.base/volatile.exp: Test volatile and const volatile array
17295 types.
17296
172972014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
17298
17299 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
17300 target lacks support for awatch, rwatch, or hbreak.
17301
173022014-06-27 Yao Qi <yao@codesourcery.com>
17303
17304 * gdb.multi/dummy-frame-restore.exp: New.
17305 * gdb.multi/dummy-frame-restore.c: New.
17306
173072014-06-25 Markus Metzger <markus.t.metzger@intel.com>
17308
17309 * gdb.btrace/gcore.exp: New.
17310
173112014-06-23 Pedro Alves <palves@redhat.com>
17312
17313 * gdb.base/watchpoint-reuse-slot.c: New file.
17314 * gdb.base/watchpoint-reuse-slot.exp: New file.
17315
173162014-06-23 Siva Chandra Reddy <sivachandra@google.com>
17317
17318 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
17319 progspace's filename in 'info', 'enable' and 'disable' command
17320 tests.
17321
173222014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
17323
17324 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
17325 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
17326 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
17327
173282014-06-20 Gary Benson <gbenson@redhat.com>
17329
17330 * gdb.arch/i386-avx.exp: Fix include file location.
17331 * gdb.arch/i386-sse.exp: Likewise.
17332
173332014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
17334
17335 * gdb.dlang/expression.exp: New file.
17336
173372014-06-19 Pedro Alves <palves@redhat.com>
17338
17339 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
17340 out from ...
17341 (top level): ... here. Iterate running tests under different
17342 scheduler-locking settings.
17343
173442014-06-18 Luis Machado <lgustavo@codesourcery.com>
17345
17346 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
17347 to DW_FORM_addr and use non-zero addresses.
17348
173492014-06-18 Siva Chandra Reddy <sivachandra@google.com>
17350
17351 PR gdb/17017
17352 * gdb.python/py-xmethods.cc: Add global function call counters and
17353 increment them in their respective functions. Remove "cout"
17354 statements.
17355 * gdb.python/py-xmethods.exp: Make tests check the global function
17356 call counters instead of depending on inferior IO.
17357
173582014-06-18 Don Breazeal <donb@codesourcery.com>
17359
17360 * gdb.base/foll-fork.exp (default_fork_parent_follow):
17361 Deleted procedure.
17362 (explicit_fork_parent_follow): Deleted procedure.
17363 (explicit_fork_child_follow): Deleted procedure.
17364 (test_follow_fork): New procedure.
17365 (do_fork_tests): Replace calls to deleted procedures with
17366 calls to test_follow_fork and reset GDB for subsequent
17367 procedure calls.
17368
173692014-06-17 Yao Qi <yao@codesourcery.com>
17370
17371 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
17372 CP1252.
17373
173742014-06-17 Luis Machado <lgustavo@codesourcery.com>
17375
17376 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
17377 Initialize ptr and S explicitly.
17378 (skip_type_update_when_not_use_rtti_test): Likewise.
17379
173802014-06-16 Keith Seitz <keiths@redhat.com>
17381
17382 PR mi/15863
17383 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
17384 the inferior is started.
17385
173862014-06-16 Pedro Alves <palves@redhat.com>
17387
17388 * gdb.base/break-main-file-remove-fail.c: New file.
17389 * gdb.base/break-main-file-remove-fail.exp: New file.
17390 * gdb.base/break-unload-file.exp: Use build_executable instead of
17391 prepare_for_testing.
17392 (test_break): New parameter "initial_load". Handle it.
17393 (top level): Add initial_load cmdline/file axis.
17394
173952014-06-12 Tom Tromey <tromey@redhat.com>
17396
17397 * gdb.base/completion.exp: Don't use directory name in test.
17398
173992014-06-09 Gary Benson <gbenson@redhat.com>
17400
17401 * gdb.base/sigall.c [Functions to send signals]: Reorder to
17402 separate the always-available ANSI-standard signals from the
17403 signals that require checking.
17404 (main): Likewise.
17405 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
17406 Likewise.
17407 (main): Likewise.
17408
174092014-06-07 Keith Seitz <keiths@redhat.com>
17410
17411 Revert:
17412 PR c++/16253
17413 * gdb.cp/var-tag.cc: New file.
17414 * gdb.cp/var-tag.exp: New file.
17415 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
17416 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
17417 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
17418 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
17419
174202014-06-06 Doug Evans <xdje42@gmail.com>
17421
17422 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
17423
174242014-06-06 Pedro Alves <palves@redhat.com>
17425
17426 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
17427 in target debug output instead of looking at RSP packets,
17428 disabling the test on any target that uses hardware stepping.
17429 Update comments.
17430
174312014-06-06 Pedro Alves <palves@redhat.com>
17432
17433 * gdb.base/break-unload-file.exp: Fix typo.
17434
174352014-06-06 Yao Qi <yao@codesourcery.com>
17436
17437 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
17438 from "jit_function" to "^jit_function".
17439
174402014-06-06 Yao Qi <yao@codesourcery.com>
17441
17442 * gdb.base/async.c (foo): Add one statement.
17443 * gdb.base/async.exp: Get the next instruction address and
17444 match the output of "nexti" by instruction address. Match
17445 the hex address in the output of "finish".
17446
174472014-06-06 Gary Benson <gbenson@redhat.com>
17448
17449 * gdb.base/call-signals.c: Remove preprocessor conditionals
17450 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
17451 SIGSEGV and SIGTERM.
17452 * gdb.base/sigall.c: Likewise.
17453 * gdb.base/unwindonsignal.c: Likewise.
17454 * gdb.reverse/sigall-reverse.c: Likewise.
17455
174562014-06-06 Yao Qi <yao@codesourcery.com>
17457
17458 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
17459 readable, skip the test.
17460
174612014-06-06 Yao Qi <yao@codesourcery.com>
17462
17463 * gdb.threads/staticthreads.c (thread_function): Move the line
17464 setting breakpoint on forward.
17465 * gdb.threads/staticthreads.exp: Update comments.
17466
174672014-06-05 Ludovic Courtès <ludo@gnu.org>
17468
17469 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
17470 "history-append! type error".
17471
174722014-06-05 Simon Marchi <simon.marchi@ericsson.com>
17473
17474 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
17475 erroneous dprintf expected input.
17476
174772014-06-04 Doug Evans <xdje42@gmail.com>
17478
17479 * gdb.guile/scm-generics.exp: Delete.
17480
174812014-06-04 Doug Evans <xdje42@gmail.com>
17482
17483 * gdb.guile/scm-breakpoint.exp: Update.
17484 Add tests for breakpoint registration.
17485
174862014-06-04 Tom Tromey <tromey@redhat.com>
17487
17488 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
17489 VLA-in-union.
17490 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
17491 inner_vla_struct, vla_union types. Initialize objects of those
17492 types and compute their sizes.
17493
174942014-06-04 Nathan Sidwell <nathan@codesourcery.com>
17495 Hui Zhu <hui@codesourcery.com>
17496
17497 * gdb.base/fileio.exp: Add test for shell not available as well as
17498 available.
17499 * gdb.base/fileio.c (test_system): Check for shell twice.
17500
175012014-06-04 Yao Qi <yao@codesourcery.com>
17502
17503 * gdb.base/auto-connect-native-target.exp: Remove redundant
17504 space from the regexp pattern.
17505
175062014-06-04 Yao Qi <yao@codesourcery.com>
17507
17508 * gdb.base/default.exp: Replace "child" with "native" in
17509 regexp pattern.
17510
175112014-06-03 Siva Chandra Reddy <sivachandra@google.com>
17512
17513 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
17514 * gdb.python/py-xmethods.exp: New tests to test xmethods.
17515 * gdb.python/py-xmethods.py: Python script supporting the
17516 new testcase and tests.
17517
175182014-06-03 Joel Brobecker <brobecker@adacore.com>
17519 Pedro Alves <palves@redhat.com>
17520
17521 PR breakpoints/17000
17522 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
17523 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
17524
175252014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
17526
17527 * gdb.base/subst.exp: Add tests to verify partial path matching
17528 output.
17529
175302014-06-03 Pedro Alves <palves@redhat.com>
17531
17532 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
17533 target that doesn't use software single-stepping.
17534
175352014-06-03 Pedro Alves <palves@redhat.com>
17536
17537 PR breakpoints/17000
17538 * gdb.base/sss-bp-on-user-bp-2.c: New file.
17539 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
17540
175412014-06-02 Doug Evans <xdje42@gmail.com>
17542
17543 * gdb.guile/scm-parameter.exp: New file.
17544
175452014-06-02 Doug Evans <xdje42@gmail.com>
17546
17547 * gdb.guile/scm-cmd.c: New file.
17548 * gdb.guile/scm-cmd.exp: New file.
17549
175502014-06-02 Doug Evans <xdje42@gmail.com>
17551
17552 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
17553 pretty-printer lookup.
17554 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
17555 (make-pp_s-printer): Call it.
17556 (make-pretty-printer-from-dict): New function.
17557 (lookup-pretty-printer-maker-from-dict): New function.
17558 (*pretty-printer*): Simplify.
17559 (make-objfile-pp_s-printer): New function.
17560 (install-objfile-pretty-printers!): New function.
17561 (make-progspace-pp_s-printer): New function.
17562 (install-progspace-pretty-printers!): New function.
17563 * gdb.guile/scm-progspace.c: New file.
17564 * gdb.guile/scm-progspace.exp: New file.
17565
175662014-06-02 Pedro Alves <palves@redhat.com>
17567
17568 * gdb.base/dprintf-bp-same-addr.c: New file.
17569 * gdb.base/dprintf-bp-same-addr.exp: New file.
17570
175712014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17572
17573 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
17574 * gdb.arch/powerpc-power.s: Likewise.
17575
175762014-06-02 Joel Brobecker <brobecker@adacore.com>
17577
17578 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
17579
175802014-06-01 Yao Qi <yao@codesourcery.com>
17581
17582 * gdb.base/watchpoint.exp (test_watch_location): Check null
17583 pointer can be dereferenced. If not, do the test, otherwise
17584 skip it.
17585
175862014-05-30 Andrew Burgess <aburgess@broadcom.com>
17587
17588 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
17589 results.
17590 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
17591
175922014-05-30 Andrew Burgess <aburgess@broadcom.com>
17593
17594 * gdb.arch/amd64-invalid-stack-middle.S: New file.
17595 * gdb.arch/amd64-invalid-stack-middle.c: New file.
17596 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
17597 * gdb.arch/amd64-invalid-stack-top.c: New file.
17598 * gdb.arch/amd64-invalid-stack-top.exp: New file.
17599
176002014-05-30 Pedro Alves <palves@redhat.com>
17601
17602 PR breakpoints/17000
17603 * gdb.base/sss-bp-on-user-bp.c: New file.
17604 * gdb.base/sss-bp-on-user-bp.exp: New file.
17605
176062014-05-30 David Blaikie <dblaikie@gmail.com>
17607
17608 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
17609 gnu_inline semantics via attribute.
17610 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
17611 source explicitly specifies the required semantics.
17612
176132014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
17614
17615 * gdb.reverse/sigall-reverse.exp: Fix a typo.
17616
176172014-05-29 Pedro Alves <palves@redhat.com>
17618 Tom Tromey <tromey@redhat.com>
17619
17620 * gdb.base/async-shell.exp: Don't enable target-async.
17621 * gdb.base/async.exp
17622 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
17623 parameter. Adjust.
17624 (top level): Don't test with "target-async".
17625 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
17626 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
17627 * gdb.base/inferior-died.exp: Don't enable target-async.
17628 * gdb.base/interrupt-noterm.exp: Likewise.
17629 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
17630 * gdb.mi/mi-nonstop-exit.exp: Likewise.
17631 * gdb.mi/mi-nonstop.exp: Likewise.
17632 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
17633 * gdb.mi/mi-nsintrall.exp: Likewise.
17634 * gdb.mi/mi-nsmoribund.exp: Likewise.
17635 * gdb.mi/mi-nsthrexec.exp: Likewise.
17636 * gdb.mi/mi-watch-nonstop.exp: Likewise.
17637 * gdb.multi/watchpoint-multi.exp: Adjust comment.
17638 * gdb.python/py-evsignal.exp: Don't enable target-async.
17639 * gdb.python/py-evthreads.exp: Likewise.
17640 * gdb.python/py-prompt.exp: Likewise.
17641 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
17642 * gdb.server/solib-list.exp: Don't enable target-async.
17643 * gdb.threads/thread-specific-bp.exp: Likewise.
17644 * lib/mi-support.exp: Adjust to use mi-async.
17645
176462014-05-29 Pedro Alves <palves@redhat.com>
17647
17648 PR gdb/13860
17649 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
17650 reason, even in sync mode.
17651
176522014-05-29 Pedro Alves <palves@redhat.com>
17653 Hui Zhu <hui@codesourcery.com>
17654
17655 PR PR15693
17656 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
17657 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
17658 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
17659 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
17660
176612014-05-28 Joel Brobecker <brobecker@adacore.com>
17662
17663 * config/monitor.exp (gdb_target_monitor): Replace use of
17664 "set remotebaud" by "set serial baud".
17665
176662014-05-26 Andy Wingo <wingo@igalia.com>
17667
17668 * gdb.guile/scm-breakpoint.exp:
17669 * gdb.guile/scm-gsmob.exp: Update to use plain old object
17670 properties instead of gdb-object-properties.
17671
176722014-05-26 Yao Qi <yao@codesourcery.com>
17673
17674 * gdb.server/no-thread-db.exp: Specify source file name
17675 explicitly when setting a breakpoint.
17676
176772014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17678
17679 * gdb.btrace/vdso.c: New.
17680 * gdb.btrace/vdso.exp: New.
17681
176822014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17683
17684 * gdb.base/gcore.exp (capture_command_output): Move ...
17685 * lib/gdb.exp (capture_command_output): ... here.
17686
176872014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17688
17689 * gdb.btrace/data.exp: Test memory access during btrace replay.
17690
176912014-05-22 Simon Marchi <simon.marchi@ericsson.com>
17692
17693 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
17694
176952014-05-21 Pedro Alves <palves@redhat.com>
17696
17697 PR gdb/13860
17698 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
17699 (top level): Test that output related to execution commands is
17700 sent to the console with CLI commands, but not with MI commands.
17701 Test that breakpoint events are always mirrored to the console.
17702 Also expect the new source line to be output after a "next" in
17703 async mode too. Make it a pass/fail test.
17704 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
17705 output.
17706 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
17707
177082014-05-21 Pedro Alves <palves@redhat.com>
17709
17710 * gdb.base/list.exp (build_pattern, test_list): New procedures.
17711 Use them to test variations of "list" after reaching a breakpoint.
17712 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
17713 Test "list" with listsize 10 after reaching a breakpoint.
17714 * gdb.python/python.exp (decode_line current location line
17715 number): Adjust expected line number.
17716
177172014-05-21 Simon Marchi <simon.marchi@ericsson.com>
17718
17719 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
17720 behavior for $args, pass it directly to "run".
17721
177222014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
17723
17724 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
17725 30000 to 65536.
17726
177272014-05-21 Pedro Alves <palves@redhat.com>
17728
17729 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
17730 auto-connect-native-target off".
17731 * gdb.base/auto-connect-native-target.c: New file.
17732 * gdb.base/auto-connect-native-target.exp: New file.
17733
177342014-05-21 Pedro Alves <palves@redhat.com>
17735
17736 * gdb.base/default.exp: Test "target native" instead of "target
17737 child".
17738
177392014-05-21 Mark Wielaard <mjw@redhat.com>
17740
17741 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
17742
177432014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17744
17745 Fix TLS access for -static -pthread.
17746 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
17747 <HAVE_TLS> (thread_function, main): Initialize it.
17748 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
17749 Add clean_restart.
17750 <$have_tls != "">: Check TLSVAR.
17751
177522014-05-21 Pedro Alves <palves@redhat.com>
17753
17754 * gdb.base/dcache-line-read-error.c: New.
17755 * gdb.base/dcache-line-read-error.exp: New.
17756
177572014-05-20 Pedro Alves <palves@redhat.com>
17758
17759 * gdb.base/compare-sections.c: New file.
17760 * gdb.base/compare-sections.exp: New file.
17761
177622014-05-20 Pedro Alves <palves@redhat.com>
17763
17764 * gdb.base/break-idempotent.c: New file.
17765 * gdb.base/break-idempotent.exp: New file.
17766
177672014-05-20 Markus Metzger <markus.t.metzger@intel.com>
17768
17769 * gdb.btrace/nohist.exp: New.
17770
177712014-05-20 Yao Qi <yao@codesourcery.com>
17772
17773 * lib/gdb.exp (gdb_init): Set timeout if test file is under
17774 gdb.reverse directory and gdb_reverse_timeout exists in board
17775 setting.
17776 * README: Document gdb_reverse_timeout.
17777
177782014-05-20 Yao Qi <yao@codesourcery.com>
17779
17780 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
17781 'test_file_name'. Treat args as a string instead of a list.
17782 (gdb_init): Rename argument 'args' by 'test_file_name'.
17783
177842014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
17785
17786 * gdb.arch/powerpc-power.exp: New file.
17787 * gdb.arch/powerpc-power.s: New file.
17788
177892014-05-16 Doug Evans <dje@google.com>
17790
17791 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
17792 * gdb.base/completion.exp: Check that all expected files exist
17793 before doing file completion.
17794
177952014-05-16 Doug Evans <dje@google.com>
17796
17797 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
17798 Update.
17799 (do_syscall_tests_without_xml): Update.
17800
178012014-05-16 Pedro Alves <palves@redhat.com>
17802
17803 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
17804 instead of "unknown output after running".
17805
178062014-05-16 Yao Qi <yao@codesourcery.com>
17807
17808 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
17809 file1.txt from host at the end.
17810 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
17811
178122014-05-15 Doug Evans <dje@google.com>
17813
17814 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
17815 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
17816 loading file. Add test for TU lookup.
17817
178182014-05-15 Simon Marchi <simon.marchi@ericsson.com>
17819
17820 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
17821 calling "-exec-arguments" or "set args" before running the
17822 inferior.
17823
178242014-05-15 Simon Marchi <simon.marchi@ericsson.com>
17825
17826 * lib/mi-support.exp (mi_expect_stop): Expect message for
17827 inferiors that exit with non-zero exit code.
17828
178292014-05-14 Yao Qi <yao@codesourcery.com>
17830
17831 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
17832 match absolute path on remote host.
17833 (test_file_list_exec_source_files): Remove "/" from the
17834 pattern.
17835
178362014-05-14 Yao Qi <yao@codesourcery.com>
17837
17838 * boards/local-remote-host-notty.exp (${board}_file): New
17839 proc.
17840
178412014-05-07 Kyle McMartin <kyle@redhat.com>
17842
17843 Pushed by Joel Brobecker <brobecker@adacore.com>.
17844 * gdb.arch/aarch64-atomic-inst.c: New file.
17845 * gdb.arch/aarch64-atomic-inst.exp: New file.
17846
178472014-05-07 Yao Qi <yao@codesourcery.com>
17848
17849 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
17850 in current context" too.
17851
178522014-05-05 Keith Seitz <keiths@redhat.com>
17853
17854 * gdb.linespec/ls-dollar.exp: Add test for linespec
17855 file:convenience_variable.
17856
178572014-05-05 Yao Qi <yao@codesourcery.com>
17858
17859 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
17860 traceframes into tfile and ctf trace files. Read data from
17861 trace file and test collected data.
17862 (gdb_collect_locals_test): Likewise.
17863 (gdb_unavailable_registers_test): Likewise.
17864 (gdb_unavailable_floats): Likewise.
17865 (gdb_collect_globals_test): Likewise.
17866 (top-level): Append "ctf" to trace_file_targets if GDB
17867 supports.
17868
178692014-05-05 Yao Qi <yao@codesourcery.com>
17870
17871 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
17872 code to ...
17873 (gdb_collect_args_test_1): ... it. New proc.
17874 (gdb_collect_locals_test): Move some code to ...
17875 (gdb_collect_locals_test_1): ... it. New proc.
17876 (gdb_unavailable_registers_test): Move some code to ...
17877 (gdb_unavailable_registers_test_1): ... it. New proc.
17878 (gdb_unavailable_floats): Move some code to ...
17879 (gdb_unavailable_floats_1): ... it. New proc.
17880
178812014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
17882
17883 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
17884 probes to test for bitness recognition.
17885 * gdb.arch/amd64-stap-optional-prefix.exp
17886 (test_probe_value_without_reg): New procedure.
17887 Add code to test for different kinds of bitness.
17888
178892014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
17890
17891 PR breakpoints/16889
17892 * gdb.arch/amd64-stap-optional-prefix.S: New file.
17893 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
17894
178952014-05-01 Pedro Alves <palves@redhat.com>
17896
17897 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
17898 gdb_file_cmd if no file is specified.
17899 * boards/native-extended-gdbserver.exp (gdb_load): Use the
17900 last_loaded_file to set the remote exec-file.
17901
179022014-05-01 Pedro Alves <palves@redhat.com>
17903
17904 * boards/local-remote-host.exp: New file.
17905
179062014-05-01 Pedro Alves <palves@redhat.com>
17907
17908 * boards/local-remote-host.exp: Rename to ...
17909 * boards/local-remote-host-notty.exp: ... this.
17910
179112014-04-28 Joel Brobecker <brobecker@adacore.com>
17912
17913 * gdb.ada/dyn_arrayidx: New testcase.
17914
179152014-04-26 Yao Qi <yao@codesourcery.com>
17916
17917 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
17918 and compute the length of function main. Save it in
17919 $main_length.
17920 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
17921 (top-level): Use gdb_compile to compile objects into
17922 executable and restart GDB. Remove invocation to
17923 prepare_for_testing.
17924
179252014-04-25 Simon Marchi <simon.marchi@ericsson.com>
17926 Pedro Alves <palves@redhat.com>
17927
17928 PR server/16255
17929 * gdb.multi/multi-attach.c: New file.
17930 * gdb.multi/multi-attach.exp: New file.
17931
179322014-04-25 Pedro Alves <palves@redhat.com>
17933
17934 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
17935 user.
17936 (top level): Test that "set remote conditional-breakpoints-packet
17937 off" works as intended.
17938 * gdb.base/dprintf.exp: Test that "set remote
17939 breakpoint-commands-packet off" works as intended.
17940 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
17941 New function.
17942 (top level): Call it.
17943 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
17944 remote fast-tracepoints-packet off" works as intended.
17945 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
17946 * lib/gdb.exp (gdb_is_target_remote): ... here.
17947
179482014-04-24 David Blaikie <dblaikie@gmail.com>
17949
17950 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
17951 ensure clang would not discard them.
17952 * gdb.base/gdbvars.c: Ditto.
17953 * gdb.base/memattr.c: Ditto.
17954 * gdb.base/whatis.c: Ditto.
17955 * gdb.python/py-prettyprint.c: Ditto.
17956 * gdb.trace/actions.c: Ditto.
17957 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
17958 ensure clang would not discard it.
17959
179602014-04-24 David Blaikie <dblaikie@gmail.com>
17961
17962 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
17963 clang to emit the full definition of type required by the test
17964 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
17965
179662014-04-24 David Blaikie <dblaikie@gmail.com>
17967
17968 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
17969 coax Clang into emitting the definition of the type.
17970 * gdb.cp/pr10728-x.h (y): Ditto.
17971 * gdb.cp/pr10728-y.cc (y): Ditto.
17972
179732014-04-24 David Blaikie <dblaikie@gmail.com>
17974
17975 * gdb.base/label.exp: XFAIL label related tests under Clang.
17976 * gdb.cp/cplabel.exp: Ditto.
17977 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
17978 under Clang those using labels.
17979
179802014-04-25 Yao Qi <yao@codesourcery.com>
17981
17982 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
17983 double_label.
17984 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
17985 partial_label and double_label.
17986
179872014-04-24 David Blaikie <dblaikie@gmail.com>
17988
17989 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
17990
179912014-04-24 David Blaikie <dblaikie@gmail.com>
17992
17993 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
17994 of the function to work across GCC and Clang.
17995 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
17996 pointer types (const void ** const V void **).
17997
179982014-04-24 Michael Sturm <michael.sturm@mintel.com>
17999 Walfred Tedeschi <walfred.tedeschi@intel.com>
18000
18001 * Makefile.in (EXECUTABLES): Added i386-avx512.
18002 * gdb.arch/i386-avx512.c: New file.
18003 * gdb.arch/i386-avx512.exp: Likewise.
18004
180052014-04-23 Keith Seitz <keiths@redhat.com>
18006
18007 * lib/mi-support.exp (mi_list_breakpoints): Delete.
18008 (mi_make_breakpoint_table): New procedure.
18009 (mi_create_breakpoint): Use mi_make_breakpoint
18010 and return the result.
18011 (mi_make_breakpoint): New procedure.
18012 (mi_build_kv_pairs): New procedure.
18013
18014 * gdb.mi/mi-break.exp: Remove unused globals,
18015 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
18016 All callers updated.
18017 * gdb.mi/mi-dprintf.exp: Use variable to track command
18018 number.
18019 Update all callers of mi_create_breakpoint and use
18020 mi_make_breakpoint_table.
18021 Remove any unused global variables.
18022 * gdb.mi/mi-nonstop.exp: Likewise.
18023 * gdb.mi/mi-nsintrall.exp: Likewise.
18024 * gdb.mi/mi-nsmoribund.exp: Likewise.
18025 * gdb.mi/mi-nsthrexec.exp: Likewise.
18026 * gdb.mi/mi-reverse.exp: Likewise.
18027 * gdb.mi/mi-simplerun.exp: Likewise.
18028 * gdb.mi/mi-stepn.exp: Likewise.
18029 * gdb.mi/mi-syn-frame.exp: Likewise.
18030 * gdb.mi/mi-until.exp: Likewise.
18031 * gdb.mi/mi-var-cp.exp: Likewise.
18032 * gdb.mi/mi-var-display.exp: Likewise.
18033 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
18034 * gdb.mi/mi2-var-child.exp: Likewise.
18035 * gdb.mi/mi-vla-c99.exp: Likewise.
18036 * lib/mi-support.exp: Likewise.
18037
18038 From Ian Lance Taylor <iant@cygnus.com>:
18039 * lib/gdb.exp (parse_args): New procedure.
18040
180412014-04-23 Pedro Alves <palves@redhat.com>
18042
18043 * gdb.base/break-unload-file.c: New file.
18044 * gdb.base/break-unload-file.exp: New file.
18045 * gdb.base/sym-file-lib.c (baz): New function.
18046 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
18047 field.
18048 (load): Store the segment's mapped size.
18049 (unload): New function.
18050 (unload_shlib): New function.
18051 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
18052 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
18053 set a breakpoint at baz, and call it.
18054 * gdb.base/sym-file.exp: New tests for stale breakpoint
18055 instructions.
18056
180572014-04-23 Pedro Alves <palves@redhat.com>
18058
18059 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
18060 * gdb.base/hbreak-in-shr-unsupported.c: New file.
18061 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
18062 * gdb.base/hbreak-unmapped.c: New file.
18063 * gdb.base/hbreak-unmapped.exp: New file.
18064 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
18065 * lib/gdb.exp (gdb_is_target_remote): ... here.
18066
180672014-04-22 Pedro Alves <palves@redhat.com>
18068
18069 * gdb.base/consecutive-step-over.c: New file.
18070 * gdb.base/consecutive-step-over.exp: New file.
18071
180722014-04-22 Pedro Alves <palves@redhat.com>
18073
18074 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
18075 instead of send_gdb/gdb_expect.
18076
180772014-04-22 Yao Qi <yao@codesourcery.com>
18078
18079 * lib/trace-support.exp (generate_tracefile): New procedure.
18080 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
18081 return 0.
18082 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
18083 if generate_tracefile returns 1.
18084
180852014-04-18 Tom Tromey <palves@redhat.com>
18086 Pedro alves <tromey@redhat.com>
18087
18088 PR backtrace/15558
18089 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
18090 with a backtrace limit.
18091 * gdb.python/py-frame-inline.exp: Test running to an inline
18092 function with a backtrace limit, and printing the newest frame.
18093 * gdb.python/py-frame-inline.c (main): Call f.
18094
180952014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
18096
18097 * gdb.java/jnpe.exp: Drop srcdir from untested path.
18098
180992014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
18100
18101 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
18102 Drop prefix from unsupported source file path.
18103
181042014-04-17 Yao Qi <yao@codesourcery.com>
18105
18106 * lib/gdb.exp (with_target_charset): New proc.
18107 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
18108 with_target_charset.
18109 (test_print_strings): Likewise.
18110 (test_repeat_bytes): Likewise.
18111 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
18112 for some tests.
18113
181142014-04-16 Keith Seitz <keiths@redhat.com>
18115
18116 PR gdb/15827
18117 * gdb.dwarf2/corrupt.c: New file.
18118 * gdb.dwarf2/corrupt.exp: New file.
18119
181202014-04-16 Keith Seitz <keiths@redhat.com>
18121
18122 PR c++/16597
18123 * gdb.cp/namelessclass.cc: New file.
18124 * gdb.cp/namelessclass.exp: New file.
18125 * gdb.cp/namelessclass.S: New file.
18126
181272014-04-16 Doug Evans <dje@google.com>
18128
18129 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
18130 Add comment.
18131 (gdbserver_default_get_comm_port): New function.
18132 (gdbserver_start): Check if board file provided
18133 "gdbserver,get_comm_port" and use it if so.
18134 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
18135 (gdb,socketport): Set to "stdio".
18136 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
18137 (stdio_gdbserver_template): Delete.
18138 (${board}_get_remote_address): Update.
18139 (${board}_build_remote_cmd): Delete.
18140 (${board}_get_comm_port): New function.
18141 (${board}_spawn): Update.
18142 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
18143 Delete.
18144 (${board}_get_remote_address): Update.
18145 (${board}_get_comm_port): New function.
18146
181472014-04-16 Andrew Burgess <aburgess@broadcom.com>
18148
18149 * gdb.base/memattr.exp: Improve regexps to handle memory regions
18150 appearing in any order.
18151
181522014-04-15 Doug Evans <dje@google.com>
18153
18154 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
18155 uninitialized value of "description".
18156
181572014-04-15 Keith Seitz <keiths@redhat.com>
18158
18159 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
18160 Remove unused globals.
18161 (test_running_the_program): Likewise.
18162 (test_controlled_execution): Likewise.
18163 (test_controlling_breakpoints): Likewise.
18164 (test_program_termination): Likewise.
18165
181662014-04-15 Keith Seitz <keiths@redhat.com>
18167
18168 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
18169 unused globals.
18170 (test_rbreak_creation_and_listing): Likewise.
18171 (test_ignore_count): Likewise.
18172 (test_error): Likewise.
18173
181742014-04-15 Pedro Alves <palves@redhat.com>
18175
18176 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
18177 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
18178 sym-file-loader.c.
18179 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
18180 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
18181 to sym-file-loader.c.
18182 (struct library): Forward declare.
18183 (load_shlib, lookup_function): Change prototypes.
18184 (find_shstrtab, find_strtab, find_shdr, find_symtab)
18185 (translate_offset): Remove declarations.
18186 (get_text_addr): New declaration.
18187 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
18188 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
18189 sym-file-loader.h.
18190 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
18191 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
18192 here from sym-file-loader.h.
18193 (struct library): New structure.
18194 (load_shlib, lookup_function): Change prototypes and adjust to
18195 work with a struct library.
18196 (find_shstrtab, find_strtab, find_shdr, find_symtab)
18197 (translate_offset): Make static.
18198 (get_text_addr): New function.
18199 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
18200
182012014-04-15 Pedro Alves <palves@redhat.com>
18202
18203 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
18204
182052014-04-15 Pedro Alves <palves@redhat.com>
18206
18207 * gdb.base/sym-file-loader.c: Include <limits.h>.
18208 (SELF_LINK): New define.
18209 (get_origin): New function.
18210 (load_shlib): Use it.
18211 * gdb.base/sym-file.exp: Don't early return if the target is
18212 remote. Use runto_main, and issue fail is that fails. Use
18213 gdb_load_shlibs.
18214 (shlib_name): Delete.
18215 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
18216
182172014-04-15 Pedro Alves <palves@redhat.com>
18218
18219 * gdb.base/sym-file.exp: Remove regex characters from test
18220 message. Don't refer to breakpoint numbers in test messages.
18221
182222014-04-14 Keith Seitz <keiths@redhat.com>
18223
18224 PR c++/16253
18225 * gdb.cp/var-tag.cc: New file.
18226 * gdb.cp/var-tag.exp: New file.
18227 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
18228 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
18229 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
18230 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
18231
182322014-04-14 Tom Tromey <tromey@redhat.com>
18233
18234 * gdb.cp/classes.exp (test_enums): Handle underlying type.
18235 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
18236 type.
18237 * gdb.cp/enum-class.exp: New file.
18238 * gdb.cp/enum-class.cc: New file.
18239
182402014-04-14 Tom Tromey <tromey@redhat.com>
18241
18242 * gdb.dwarf2/enum-type.exp: New file.
18243
182442014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18245
18246 * gdb.mi/mi-vla-c99.exp: New file.
18247 * gdb.mi/vla.c: New file.
18248
182492014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18250
18251 * gdb.base/vla-datatypes.c: New file.
18252 * gdb.base/vla-datatypes.exp: New file.
18253
182542014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18255
18256 * gdb.base/vla-ptr.c: New file.
18257 * gdb.base/vla-ptr.exp: New file.
18258
182592014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18260
18261 * gdb.dwarf2/count.exp: New file.
18262
182632014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18264
18265 * gdb.base/vla-sideeffect.c: New file.
18266 * gdb.base/vla-sideeffect.exp: New file.
18267
182682014-04-14 David Blaikie <dblaikie@gmail.com>
18269
18270 * gdb.mi/non-stop.c: Add return value for non-void function return
18271 statement.
18272 * gdb.threads/staticthreads.c: Ditto.
18273
182742014-04-12 Siva Chandra Reddy <sivachandra@google.com>
18275 Doug Evans <xdje42@gmail.com>
18276
18277 * gdb.guile/scm-value.c: Improve test case.
18278 * gdb.guile/scm-value.exp: Add new test.
18279
182802014-04-11 David Blaikie <dblaikie@gmail.com>
18281
18282 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
18283 override Clang's default.
18284
182852014-04-11 Joel Brobecker <brobecker@adacore.com>
18286
18287 Revert the following changes (regressions):
18288
18289 * gdb.base/vla-sideeffect.c: New file.
18290 * gdb.base/vla-sideeffect.exp: New file.
18291
18292 * gdb.dwarf2/count.exp: New file.
18293
18294 * gdb.base/vla-multi.c: New file.
18295 * gdb.base/vla-multi.exp: New file.
18296
18297 * gdb.base/vla-ptr.c: New file.
18298 * gdb.base/vla-ptr.exp: New file.
18299
18300 * gdb.base/vla-datatypes.c: New file.
18301 * gdb.base/vla-datatypes.exp: New file.
18302
18303 * gdb.mi/mi-vla-c99.exp: New file.
18304 * gdb.mi/vla.c: New file.
18305
183062014-04-11 Keith Seitz <keiths@redhat.com>
18307
18308 PR c++/16675
18309 * gdb.cp/cpsizeof.exp: New file.
18310 * gdb.cp/cpsizeof.cc: New file.
18311
183122014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18313
18314 * gdb.mi/mi-vla-c99.exp: New file.
18315 * gdb.mi/vla.c: New file.
18316
183172014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18318
18319 * gdb.base/vla-datatypes.c: New file.
18320 * gdb.base/vla-datatypes.exp: New file.
18321
183222014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18323
18324 * gdb.base/vla-ptr.c: New file.
18325 * gdb.base/vla-ptr.exp: New file.
18326
183272014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18328
18329 * gdb.base/vla-multi.c: New file.
18330 * gdb.base/vla-multi.exp: New file.
18331
183322014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18333
18334 * gdb.dwarf2/count.exp: New file.
18335
183362014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18337
18338 * gdb.base/vla-sideeffect.c: New file.
18339 * gdb.base/vla-sideeffect.exp: New file.
18340
183412014-04-11 Yao Qi <yao@codesourcery.com>
18342
18343 * gdb.base/completion.exp: Check file exists before running tests
18344 on file completion.
18345
183462014-04-10 Pedro Alves <palves@redhat.com>
18347
18348 * gdb.base/cond-eval-mode.c: New file.
18349 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
18350 prepare_for_testing to build the new file. Check result of
18351 runto_main.
18352 (test_break, test_watch): New procedures.
18353 (top level): Use them.
18354
183552014-04-08 Pierre Muller <muller@sourceware.org>
18356
18357 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
18358 Ctrl-V use for mingw hosts.
18359
183602014-04-07 Siva Chandra Reddy <sivachandra@google.com>
18361
18362 * gdb.python/py-value.c: Improve test case.
18363 * gdb.python/py-value.exp: Add new test.
18364
183652014-04-07 David Blaikie <dblaikie@gmail.com>
18366
18367 * lib/compiler.c: Identify the clang compiler.
18368 * lib/compiler.cc: Ditto.
18369
183702014-04-03 Yao Qi <yao@codesourcery.com>
18371
18372 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
18373
183742014-04-01 Anton Blanchard <anton@samba.org>
18375
18376 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
18377 messages unique.
18378
183792014-04-01 Anton Blanchard <anton@samba.org>
18380
18381 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
18382 prepare_for_testing.
18383
183842014-04-01 Anton Blanchard <anton@samba.org>
18385
18386 * gdb.arch/ppc64-atomic-inst.c: Remove.
18387 * gdb.arch/ppc64-atomic-inst.S: New file.
18388 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
18389
183902014-03-31 Doug Evans <dje@google.com>
18391
18392 * gdb.base/print-symbol-loading-lib.c: New file.
18393 * gdb.base/print-symbol-loading-main.c: New file.
18394 * gdb.base/print-symbol-loading.exp: New file.
18395
183962014-03-31 Yao Qi <yao@codesourcery.com>
18397
18398 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
18399
184002014-03-28 Joel Brobecker <brobecker@adacore.com>
18401
18402 * gdb.ada/mi_dyn_arr: New testcase.
18403
184042014-03-27 Doug Evans <dje@google.com>
18405
18406 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
18407
184082014-03-27 Yao Qi <yao@codesourcery.com>
18409
18410 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
18411 if target is nios2-*-*.
18412
184132014-03-26 Yao Qi <yao@codesourcery.com>
18414
18415 * lib/gdb.exp (readline_is_used): New proc.
18416 * gdb.base/completion.exp: Move tests on command complete up.
18417 Skip the rest of tests if readline is not used.
18418 * gdb.ada/complete.exp: Skp the test if readline is not
18419 used.
18420 * gdb.base/filesym.exp: Likewise.
18421 * gdb.base/macscp.exp: Likewise.
18422 * gdb.base/readline-ask.exp: Likewise.
18423 * gdb.base/readline.exp: Likewise.
18424 * gdb.python/py-cmd.exp: Likewise.
18425 * gdb.trace/tfile.exp: Likewise.
18426
184272014-03-26 Yao Qi <yao@codesourcery.com>
18428
18429 * gdb.base/macscp.exp: Fix code format issues.
18430
184312014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
18432
18433 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
18434 * gdb.asm/powerpc64le.inc: New file.
18435
184362014-03-25 Pedro Alves <palves@redhat.com>
18437 Doug Evans <dje@google.com>
18438
18439 * gdb.base/source-execution.c: New file.
18440 * gdb.base/source-execution.exp: New file.
18441 * gdb.base/source-execution.gdb: New file.
18442
184432014-03-24 Doug Evans <dje@google.com>
18444
18445 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
18446 using fission.
18447
184482014-03-24 Hui Zhu <hui@codesourcery.com>
18449 Pedro Alves <palves@redhat.com>
18450
18451 PR breakpoints/16101
18452 * gdb.base/dprintf.exp: Use unsupported rather than changing the
18453 test pass/fail messages. Detect missing support for dprintf when
18454 breakpoints are actually inserted.
18455 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
18456 breakpoints are actually inserted.
18457 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
18458 fails.
18459
184602014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
18461
18462 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
18463
184642014-03-22 Doug Evans <xdje42@gmail.com>
18465
18466 * gdb.python/python.exp (python not supported): Verify multi-line
18467 python command issues an error.
18468 * gdb.guile/guile.exp (guile not supported): Verify multi-line
18469 guile command issues an error.
18470
184712014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
18472
18473 * gdb.threads/thread-specific.exp: Handle the lack of usable
18474 $this_breakpoint and $this_thread.
18475
184762014-03-21 Hui Zhu <hui@codesourcery.com>
18477
18478 * gdb.base/attach.exp (do_command_attach_tests): New.
18479
184802014-03-20 Tom Tromey <tromey@redhat.com>
18481 Pedro Alves <palves@redhat.com>
18482
18483 PR cli/15718
18484 * gdb.base/condbreak-call-false.c: New file.
18485 * gdb.base/condbreak-call-false.exp: New file.
18486
184872014-03-20 Pedro Alves <palves@redhat.com>
18488
18489 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
18490 Delete.
18491 (block_signals, unblock_signals): Delete.
18492 (child_function_2, main): Remove references to deleted variable
18493 and functions.
18494
184952014-03-20 Pedro Alves <palves@redhat.com>
18496
18497 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
18498 Use pthread_kill to signal thread 2.
18499 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18500 Adjust to make the test send itself a signal rather than using the
18501 host's "kill" command.
18502
185032014-03-20 Pedro Alves <palves@redhat.com>
18504
18505 * gdb.threads/multiple-step-overs.c: New file.
18506 * gdb.threads/multiple-step-overs.exp: New file.
18507 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18508 Adjust expected infrun debug output.
18509
185102014-03-20 Pedro Alves <palves@redhat.com>
18511
18512 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
18513 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
18514
185152014-03-20 Pedro Alves <palves@redhat.com>
18516
18517 PR breakpoints/7143
18518 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
18519 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
18520 of gdb_test_multiple.
18521 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
18522 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
18523
185242014-03-20 Pedro Alves <palves@redhat.com>
18525
18526 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
18527 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
18528
185292014-03-19 Pedro Alves <palves@redhat.com>
18530
18531 * gdb.base/async.exp: Remove early return.
18532
185332014-03-19 Pedro Alves <palves@redhat.com>
18534
18535 * gdb.base/async.exp (step& tests): Pass explicit test messages.
18536
185372014-03-19 Pedro Alves <palves@redhat.com>
18538
18539 * gdb.base/async.exp (test_background): Expect \r\n after
18540 "completed." in the fail pattern.
18541
185422014-03-19 Pedro Alves <palves@redhat.com>
18543
18544 * gdb.base/async.exp (test_background): New procedure.
18545 Use it for all background execution command tests.
18546
185472014-03-19 Pedro Alves <palves@redhat.com>
18548
18549 * gdb.base/async.exp: Use prepare_for_testing.
18550
185512014-03-19 Pedro Alves <palves@redhat.com>
18552
18553 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
18554 the same line.
18555
185562014-03-19 Pedro Alves <palves@redhat.com>
18557
18558 * gdb.base/async.c (main): Add "jump here" and "until here" line
18559 marker comments.
18560 * gdb.base/async.exp (jump_here): New global.
18561 (jump& test): Use it.
18562 (until_here): New global.
18563 (until& test): Use it.
18564
185652014-03-19 Pedro Alves <palves@redhat.com>
18566
18567 * gdb.base/async.exp: Don't frob gdb_protocol.
18568
185692014-03-18 Doug Evans <xdje42@gmail.com>
18570
18571 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
18572 Fix spelling of exec-done-display.
18573
185742014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
18575
18576 PR gdb/15358
18577 * gdb.base/gdb-sigterm.c: New file.
18578 * gdb.base/gdb-sigterm.exp: New file.
18579
185802014-03-18 Pedro Alves <palves@redhat.com>
18581
18582 PR gdb/13860
18583 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
18584 * lib/mi-support.exp (mi_expect_stop): Add special handling for
18585 solib-event.
18586
185872014-03-17 Joel Brobecker <brobecker@adacore.com>
18588
18589 * gdb.ada/pckd_arr_ren: New testcase.
18590
185912014-03-13 Doug Evans <xdje42@gmail.com>
18592
18593 PR guile/16612
18594 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
18595 collect after discarding symbols.
18596
185972014-03-13 Ludovic Courtès <ludo@gnu.org>
18598 Doug Evans <xdje42@gmail.com>
18599
18600 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
18601 to history survives a gc.
18602
186032014-03-13 Pedro Alves <palves@redhat.com>
18604
18605 * gdb.base/default.exp: Don't test "target procfs".
18606
186072014-03-13 Pedro Alves <palves@redhat.com>
18608
18609 * gdb.base/default.exp: Update "target child" and "target procfs"
18610 tests to not expect "Unix".
18611
186122014-03-12 Tom Tromey <tromey@redhat.com>
18613
18614 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
18615 New procs. Add target-async tests.
18616 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
18617 Add target-async tests.
18618
186192014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18620
18621 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
18622 'func_start' and 'func_end' for the beginning and end of the
18623 function code, respectively.
18624 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
18625 'func_end' instead of 'func' and 'main'.
18626
186272014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18628
18629 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
18630 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
18631 generate the debug info assembler source.
18632
186332014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18634
18635 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
18636 * gdb.dwarf2/arr-subrange.exp: Likewise.
18637 * gdb.dwarf2/dwz.exp: Likewise.
18638 * gdb.dwarf2/method-ptr.exp: Likewise.
18639 * gdb.dwarf2/missing-sig-type.exp: Likewise.
18640 * gdb.dwarf2/subrange.exp: Likewise.
18641 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
18642 * gdb.dwarf2/implptrpiece.exp: Likewise.
18643 * gdb.dwarf2/nostaticblock.exp: Likewise.
18644
186452014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18646
18647 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
18648 directory to absolute path name arguments.
18649
186502014-03-10 Joel Brobecker <brobecker@adacore.com>
18651
18652 * gdb.ada/tagged_access: New testcase.
18653
186542014-03-07 Markus Metzger <markus.t.metzger@intel.com>
18655
18656 * gdb.btrace/data.exp: Update expected output.
18657
186582014-03-06 Yao Qi <yao@codesourcery.com>
18659
18660 * gdb.trace/pr16508.exp: New file.
18661
186622014-03-05 Pedro Alves <palves@redhat.com>
18663
18664 PR gdb/16575
18665 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
18666 procedure.
18667 (top level): Adjust to use it. Add tests that exercise breakpoint
18668 interaction with the code-cache.
18669
186702014-02-26 Ludovic Courtès <ludo@gnu.org>
18671
18672 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
18673 test for 'history-append!'.
18674
186752014-02-26 Joel Brobecker <brobecker@adacore.com>
18676
18677 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
18678 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
18679 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
18680 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
18681 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
18682 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
18683
186842014-02-26 Joel Brobecker <brobecker@adacore.com>
18685
18686 * testsuite/gdb.python/py-pp-re-notag.c: New file.
18687 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
18688 * testsuite/gdb.python/py-pp-re-notag.p: New file.
18689
186902014-02-26 Joel Brobecker <brobecker@adacore.com>
18691
18692 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
18693
186942014-02-26 Joel Brobecker <brobecker@adacore.com>
18695
18696 * gdb.dwarf2/arr-stride.c: New file.
18697 * gdb.dwarf2/arr-stride.exp: New file.
18698
186992014-02-26 Pedro Alves <palves@redhat.com>
18700
18701 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
18702 that won't ever trigger. Make sure that GDB reports the correct
18703 breakpoint that caused the stop.
18704
187052014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18706
18707 PR gdb/16626
18708 * gdb.base/auto-load-script: New file.
18709 * gdb.base/auto-load.c: New file.
18710 * gdb.base/auto-load.exp: New file.
18711
18712 PR gdb/16626
18713 * gdb.base/auto-load.exp: Fix out-of-srctree run.
18714
187152014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18716
18717 Fix dw2-icycle.exp -fsanitize=address GDB crash.
18718 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
18719
187202014-02-24 Doug Evans <dje@google.com>
18721
18722 * lib/gdb.exp (run_on_host): Log error output if program fails.
18723
187242014-02-21 Pedro Alves <palves@redhat.com>
18725
18726 * gdb.threads/step-after-sr-lock.c: Rename to ...
18727 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
18728 * gdb.threads/step-after-sr-lock.exp: Rename to ...
18729 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18730 ... this.
18731
187322014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
18733
18734 PR tdep/16397
18735 * gdb.arch/amd64-stap-special-operands.exp: New file.
18736 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
18737 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
18738 * gdb.arch/amd64-stap-triplet.S: Likewise.
18739 * gdb.arch/amd64-stap-triplet.c: Likewise.
18740
187412014-02-20 Joel Brobecker <brobecker@adacore.com>
18742
18743 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
18744 in .section pseudo-op.
18745
187462014-02-20 lin zuojian <manjian2006@gmail.com>
18747 Joel Brobecker <brobecker@adacore.com>
18748 Doug Evans <xdje42@gmail.com>
18749
18750 PR symtab/16581
18751 * gdb.dwarf2/dw2-icycle.S: New file.
18752 * gdb.dwarf2/dw2-icycle.c: New file.
18753 * gdb.dwarf2/dw2-icycle.exp: New file.
18754
187552014-02-19 Siva Chandra Reddy <sivachandra@google.com>
18756
18757 * gdb.python/py-value-cc.cc: Improve test case to enable testing
18758 operations on gdb.Value objects.
18759 * gdb.python/py-value-cc.exp: Add new test to test operations on
18760 gdb.Value objects.
18761
187622014-02-18 Doug Evans <dje@google.com>
18763
18764 * Makefile.in (TESTS): New variable.
18765 (expanded_tests, expanded_tests_or_none): New variables
18766 (check-single): Pass $(expanded_tests_or_none) to runtest.
18767 (check-parallel): Only run tests in $(TESTS) if non-empty.
18768 (check/no-matching-tests-found): New rule.
18769 * README: Document TESTS makefile variable.
18770
187712014-02-18 Doug Evans <dje@google.com>
18772
18773 * Makefile.in (check-parallel): rm -rf outputs temp.
18774
187752014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18776
18777 Fix "ERROR: no fileid for" in the testsuite.
18778 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
18779
187802014-02-12 Doug Evans <dje@google.com>
18781
18782 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
18783 (MISCELLANEOUS): New variable.
18784 (clean): rm -rf $(MISCELLANEOUS).
18785 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
18786 dwp live in the same directory as symlinks, with each symlink pointed
18787 to a differently named file in a different directory.
18788
187892014-02-11 Doug Evans <dje@google.com>
18790
18791 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
18792 of Tcl file commands.
18793
187942014-02-10 Mark Kettenis <kettenis@gnu.org>
18795
18796 * gdb.threads/step-after-sr-lock.exp: Avoid executing
18797 "kill -SIGUSR1 -1".
18798
187992014-02-10 Joel Brobecker <brobecker@adacore.com>
18800
18801 * gdb.ada/tick_length_array_enum_idx: New testcase.
18802
188032014-02-10 Doug Evans <xdje42@gmail.com>
18804
18805 * configure.ac (AC_OUTPUT): Add gdb.guile.
18806 * configure: Regenerate.
18807 * lib/gdb-guile.exp: New file.
18808 * lib/gdb.exp (get_target_charset): New function.
18809 * gdb.base/help.exp: Update expected output from "apropos apropos".
18810 * gdb.guile/Makefile.in: New file.
18811 * gdb.guile/guile.exp: New file.
18812 * gdb.guile/scm-arch.c: New file.
18813 * gdb.guile/scm-arch.exp: New file.
18814 * gdb.guile/scm-block.c: New file.
18815 * gdb.guile/scm-block.exp: New file.
18816 * gdb.guile/scm-breakpoint.c: New file.
18817 * gdb.guile/scm-breakpoint.exp: New file.
18818 * gdb.guile/scm-disasm.c: New file.
18819 * gdb.guile/scm-disasm.exp: New file.
18820 * gdb.guile/scm-equal.c: New file.
18821 * gdb.guile/scm-equal.exp: New file.
18822 * gdb.guile/scm-error.exp: New file.
18823 * gdb.guile/scm-error.scm: New file.
18824 * gdb.guile/scm-frame-args.c: New file.
18825 * gdb.guile/scm-frame-args.exp: New file.
18826 * gdb.guile/scm-frame-args.scm: New file.
18827 * gdb.guile/scm-frame-inline.c: New file.
18828 * gdb.guile/scm-frame-inline.exp: New file.
18829 * gdb.guile/scm-frame.c: New file.
18830 * gdb.guile/scm-frame.exp: New file.
18831 * gdb.guile/scm-generics.exp: New file.
18832 * gdb.guile/scm-gsmob.exp: New file.
18833 * gdb.guile/scm-iterator.c: New file.
18834 * gdb.guile/scm-iterator.exp: New file.
18835 * gdb.guile/scm-math.c: New file.
18836 * gdb.guile/scm-math.exp: New file.
18837 * gdb.guile/scm-objfile-script-gdb.in: New file.
18838 * gdb.guile/scm-objfile-script.c: New file.
18839 * gdb.guile/scm-objfile-script.exp: New file.
18840 * gdb.guile/scm-objfile.c: New file.
18841 * gdb.guile/scm-objfile.exp: New file.
18842 * gdb.guile/scm-ports.exp: New file.
18843 * gdb.guile/scm-pretty-print.c: New file.
18844 * gdb.guile/scm-pretty-print.exp: New file.
18845 * gdb.guile/scm-pretty-print.scm: New file.
18846 * gdb.guile/scm-section-script.c: New file.
18847 * gdb.guile/scm-section-script.exp: New file.
18848 * gdb.guile/scm-section-script.scm: New file.
18849 * gdb.guile/scm-symbol.c: New file.
18850 * gdb.guile/scm-symbol.exp: New file.
18851 * gdb.guile/scm-symtab-2.c: New file.
18852 * gdb.guile/scm-symtab.c: New file.
18853 * gdb.guile/scm-symtab.exp: New file.
18854 * gdb.guile/scm-type.c: New file.
18855 * gdb.guile/scm-type.exp: New file.
18856 * gdb.guile/scm-value-cc.cc: New file.
18857 * gdb.guile/scm-value-cc.exp: New file.
18858 * gdb.guile/scm-value.c: New file.
18859 * gdb.guile/scm-value.exp: New file.
18860 * gdb.guile/source2.scm: New file.
18861 * gdb.guile/types-module.cc: New file.
18862 * gdb.guile/types-module.exp: New file.
18863
188642014-02-10 Yao Qi <yao@codesourcery.com>
18865
18866 PR testsuite/16543
18867 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
18868 * configure: Regenerated.
18869 * Makefile.in: New file.
18870
188712014-02-08 Andreas Schwab <schwab@linux-m68k.org>
18872
18873 * gdb.python/py-framefilter.exp: Fix typo.
18874
188752014-02-08 Yao Qi <yao@codesourcery.com>
18876
18877 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
18878 that no =breakpoint-modified is emitted when breakpoints are
18879 modified through MI commands.
18880
188812014-02-07 Pedro Alves <pedro@codesourcery.com>
18882 Pedro Alves <palves@redhat.com>
18883
18884 * gdb.threads/step-after-sr-lock.c: New file.
18885 * gdb.threads/step-after-sr-lock.exp: New file.
18886
188872014-02-07 Pedro Alves <palves@redhat.com>
18888
18889 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
18890
188912014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
18892
18893 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
18894 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
18895
188962014-02-06 Doug Evans <xdje42@gmail.com>
18897
18898 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
18899 output.
18900
18901 * gdb.gdb/python-interrupts.exp: New file.
18902
189032014-02-05 Yao Qi <yao@codesourcery.com>
18904
18905 * gdb.trace/report.exp (use_collected_data): Test the output
18906 of "info threads" and "info inferiors".
18907
189082014-02-05 Yao Qi <yao@codesourcery.com>
18909
18910 Revert this patch:
18911
18912 2013-05-24 Yao Qi <yao@codesourcery.com>
18913
18914 * gdb.trace/tfile.exp: Test inferior and thread.
18915
189162014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18917
18918 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
18919 on a function.
18920 * gdb.base/step-bt.c: Call hello via function pointer to make
18921 sure its first instruction is executed on powerpc64le-linux.
18922
189232014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18924
18925 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
18926
189272014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18928
18929 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
18930 of the test patterns for use on little-endian systems.
18931
189322014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18933
18934 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
18935 (decimal_vector): Fix for little-endian.
18936
189372014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
18938
18939 * gdb.arch/sparc-sysstep.exp: New file.
18940 * gdb.arch/sparc-sysstep.c: Likewise.
18941
18942 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
18943
189442014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18945
18946 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
18947
189482014-01-23 Tom Tromey <tromey@redhat.com>
18949
18950 * gdb.ada/array_char_idx: New testcase.
18951
189522014-01-23 Tom Tromey <tromey@redhat.com>
18953
18954 PR python/16487:
18955 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
18956 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
18957 classes.
18958
189592014-01-23 Tom Tromey <tromey@redhat.com>
18960
18961 PR python/16491:
18962 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
18963 string from an inferior frame.
18964 * gdb.python/py-framefilter-mi.exp: Update.
18965
189662014-01-22 Doug Evans <dje@google.com>
18967
18968 * gdb.server/server-mon.exp: Add tests for "set debug-format".
18969
189702014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18971
18972 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
18973
189742014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18975
18976 * gdb.trace/entry-values.exp: Remove excess space character from
18977 regex patterns. Handle s390 call instruction.
18978
189792014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18980
18981 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
18982 define "*_start" label. Make "name" static.
18983 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
18984 ${name} by references to ${name}_start.
18985
189862014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18987
18988 * gdb.base/info-macros.exp: Remove "debug" from the compile
18989 options.
18990
189912014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18992
18993 * gdb.dlang/demangle.exp: New file.
18994
189952014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18996
18997 * gdb.dlang/primitive-types.exp: New file.
18998
189992014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
19000
19001 * configure.ac: Create gdb.dlang/Makefile.
19002 * configure: Regenerate.
19003 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
19004 * gdb.dlang/Makefile.in: New file.
19005 * lib/d-support.exp: New file.
19006 * lib/gdb.exp (skip_d_tests): New proc.
19007
190082014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19009
19010 * gdb.btrace/delta.exp: Check reverse stepi.
19011 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
19012 * gdb.btrace/finish.exp: New.
19013 * gdb.btrace/next.exp: New.
19014 * gdb.btrace/nexti.exp: New.
19015 * gdb.btrace/record_goto.c: Add comments.
19016 * gdb.btrace/step.exp: New.
19017 * gdb.btrace/stepi.exp: New.
19018 * gdb.btrace/multi-thread-step.c: New.
19019 * gdb.btrace/multi-thread-step.exp: New.
19020 * gdb.btrace/rn-dl-bind.c: New.
19021 * gdb.btrace/rn-dl-bind.exp: New.
19022 * gdb.btrace/data.c: New.
19023 * gdb.btrace/data.exp: New.
19024 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
19025
190262014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19027
19028 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
19029 * gdb.btrace/exception.exp: Update.
19030 * gdb.btrace/instruction_history.exp: Update.
19031 * gdb.btrace/record_goto.exp: Update.
19032 * gdb.btrace/tailcall.exp: Update.
19033 * gdb.btrace/unknown_functions.exp: Update.
19034 * gdb.btrace/delta.exp: New.
19035
190362014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19037
19038 * gdb.btrace/record_goto.exp: Add backtrace test.
19039 * gdb.btrace/tailcall.exp: Add backtrace test.
19040
190412014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19042
19043 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
19044 * gdb.btrace/record_goto.c: New.
19045 * gdb.btrace/record_goto.exp: New.
19046 * gdb.btrace/x86-record_goto.S: New.
19047
190482014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19049
19050 * gdb.btrace/function_call_history.exp: Update tests.
19051 * gdb.btrace/instruction_history.exp: Update tests.
19052
190532014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19054
19055 * gdb.btrace/function_call_history.exp: Fix expected field
19056 order for "record function-call-history".
19057 Add new tests for "record function-call-history /c".
19058 * gdb.btrace/exception.cc: New.
19059 * gdb.btrace/exception.exp: New.
19060 * gdb.btrace/tailcall.exp: New.
19061 * gdb.btrace/x86-tailcall.S: New.
19062 * gdb.btrace/x86-tailcall.c: New.
19063 * gdb.btrace/unknown_functions.c: New.
19064 * gdb.btrace/unknown_functions.exp: New.
19065 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
19066
190672014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19068
19069 * gdb.btrace/instruction_history.exp: Update.
19070 * gdb.btrace/function_call_history.exp: Update.
19071
190722014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19073
19074 * gdb.btrace/function_call_history.exp: Fix expected function
19075 trace.
19076 * gdb.btrace/instruction_history.exp: Initialize traced.
19077 Remove traced_functions.
19078
190792014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19080
19081 * gdb.btrace/function_call_history.exp: Update
19082 * gdb.btrace/instruction_history.exp: Update.
19083
190842014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19085
19086 * gdb.btrace/enable.exp: Update expected text.
19087
190882014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
19089
19090 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
19091 bytes.
19092
190932014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
19094
19095 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
19096
190972014-01-15 Omair Javaid <omair.javaid@linaro.org>
19098
19099 * lib/gdb.exp (supports_process_record): Return true for
19100 arm*-linux*. (supports_reverse): Likewise.
19101
191022014-01-13 Siva Chandra Reddy <sivachandra@google.com>
19103
19104 PR python/15464
19105 PR python/16113
19106 * gdb.python/py-type.c: Enhance test case.
19107 * gdb.python/py-value-cc.cc: Likewise
19108 * gdb.python/py-type.exp: Add new tests.
19109 * gdb.python/py-value-cc.exp: Likewise
19110
191112014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
19112 Pedro Alves <palves@redhat.com>
19113
19114 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
19115 Make "name" extern.
19116 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
19117 references to ${name}_start by references to ${name}.
19118
191192014-01-10 Joel Brobecker <brobecker@adacore.com>
19120
19121 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
19122
191232014-01-10 Joel Brobecker <brobecker@adacore.com>
19124
19125 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
19126
191272014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
19128 Pedro Alves <palves@redhat.com>
19129
19130 * gdb.mi/mi-info-os.exp: Connect to the target with
19131 mi_gdb_target_load.
19132
191332014-01-08 Pedro Alves <palves@redhat.com>
19134
19135 * gdb.threads/reconnect-signal.c: New file.
19136 * gdb.threads/reconnect-signal.exp: New file.
19137
191382014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
19139
19140 * gdb.base/source-dir.exp: New file.
19141
191422014-01-07 Joel Brobecker <brobecker@adacore.com>
19143
19144 * gdb.ada/mi_interface: New testcase.
19145
191462014-01-07 Joel Brobecker <brobecker@adacore.com>
19147
19148 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
19149 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
19150 gdb.ada/pp-rec-component/pck.ads: New files.
19151
191522014-01-07 Joel Brobecker <brobecker@adacore.com>
19153
19154 * gdb.python/py-pp-integral.c: New file.
19155 * gdb.python/py-pp-integral.py: New file.
19156 * gdb.python/py-pp-integral.exp: New file.
19157
19158For older changes see ChangeLog-1993-2013.
19159\f
19160;; Local Variables:
19161;; mode: change-log
19162;; left-margin: 8
19163;; fill-column: 74
19164;; version-control: never
19165;; End:
19166
19167 Copyright 2014-2020 Free Software Foundation, Inc.
19168 Copying and distribution of this file, with or without modification,
19169 are permitted provided the copyright notice and this notice are preserved.
This page took 0.095022 seconds and 4 git commands to generate.